2
0

♻️ Fix folder case issue

This commit is contained in:
Baptiste Arnaud
2023-03-15 12:50:08 +01:00
parent 3d3670d740
commit 3a6c096461
36 changed files with 15 additions and 15 deletions

View File

@ -3,7 +3,7 @@ import React from 'react'
import { Stack, Tag, Text, Wrap } from '@chakra-ui/react'
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
import { SetVariableLabel } from '@/components/SetVariableLabel'
import { ItemNodesList } from '@/features/graph/components/nodes-tmp/item/ItemNodesList'
import { ItemNodesList } from '@/features/graph/components/nodes/item/ItemNodesList'
type Props = {
block: ChoiceInputBlock

View File

@ -1,6 +1,6 @@
import React from 'react'
import { Text } from '@chakra-ui/react'
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
type Props = {
variableId?: string

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Text } from '@chakra-ui/react'
import { EmailInputBlock } from '@typebot.io/schemas'
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
type Props = {
variableId?: string

View File

@ -1,4 +1,4 @@
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
import { Text } from '@chakra-ui/react'
import { FileInputOptions } from '@typebot.io/schemas'

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Text } from '@chakra-ui/react'
import { NumberInputBlock } from '@typebot.io/schemas'
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
type Props = {
variableId?: string

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Text } from '@chakra-ui/react'
import { PhoneNumberInputOptions } from '@typebot.io/schemas'
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
type Props = {
variableId?: string

View File

@ -1,4 +1,4 @@
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
import { Text } from '@chakra-ui/react'
import { RatingInputBlock } from '@typebot.io/schemas'

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Text } from '@chakra-ui/react'
import { TextInputOptions } from '@typebot.io/schemas'
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
type Props = {
placeholder: TextInputOptions['labels']['placeholder']

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Text } from '@chakra-ui/react'
import { UrlInputOptions } from '@typebot.io/schemas'
import { WithVariableContent } from '@/features/graph/components/nodes-tmp/block/WithVariableContent'
import { WithVariableContent } from '@/features/graph/components/nodes/block/WithVariableContent'
type Props = {
variableId?: string

View File

@ -2,8 +2,8 @@ import { AnswersCount } from '@/features/analytics/types'
import { Edge, Group } from '@typebot.io/schemas'
import React, { memo } from 'react'
import { EndpointsProvider } from '../providers/EndpointsProvider'
import { Edges } from './edges-tmp/Edges'
import { GroupNode } from './nodes-tmp/group'
import { Edges } from './edges/Edges'
import { GroupNode } from './nodes/group'
type Props = {
edges: Edge[]

View File

@ -21,7 +21,7 @@ import { isBubbleBlock, isDefined, isTextBubbleBlock } from '@typebot.io/lib'
import { BlockNodeContent } from './BlockNodeContent'
import { BlockSettings, SettingsPopoverContent } from './SettingsPopoverContent'
import { BlockNodeContextMenu } from './BlockNodeContextMenu'
import { SourceEndpoint } from '../../endpoints-tmp/SourceEndpoint'
import { SourceEndpoint } from '../../endpoints/SourceEndpoint'
import { useRouter } from 'next/router'
import { MediaBubblePopoverContent } from './MediaBubblePopoverContent'
import { ContextMenu } from '@/components/ContextMenu'
@ -37,7 +37,7 @@ import { useGraph } from '@/features/graph/providers/GraphProvider'
import { ParentModalProvider } from '@/features/graph/providers/ParentModalProvider'
import { hasDefaultConnector } from '@/features/typebot/helpers/hasDefaultConnector'
import { setMultipleRefs } from '@/helpers/setMultipleRefs'
import { TargetEndpoint } from '../../endpoints-tmp/TargetEndpoint'
import { TargetEndpoint } from '../../endpoints/TargetEndpoint'
import { SettingsModal } from './SettingsModal'
export const BlockNode = ({

View File

@ -2,7 +2,7 @@ import { Flex, useColorModeValue } from '@chakra-ui/react'
import { useTypebot } from '@/features/editor/providers/TypebotProvider'
import { ChoiceInputBlock, Item, ItemIndices } from '@typebot.io/schemas'
import React, { useRef, useState } from 'react'
import { SourceEndpoint } from '../../endpoints-tmp/SourceEndpoint'
import { SourceEndpoint } from '../../endpoints/SourceEndpoint'
import { ItemNodeContent } from './ItemNodeContent'
import { ItemNodeContextMenu } from './ItemNodeContextMenu'
import { ContextMenu } from '@/components/ContextMenu'

View File

@ -23,7 +23,7 @@ import {
} from '@/features/graph/providers/GraphDndProvider'
import { useGraph } from '@/features/graph/providers/GraphProvider'
import { Coordinates } from '@dnd-kit/utilities'
import { SourceEndpoint } from '../../endpoints-tmp/SourceEndpoint'
import { SourceEndpoint } from '../../endpoints/SourceEndpoint'
type Props = {
block: BlockWithItems