♻️ Fix folder case issue
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
||||
|
@ -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']
|
||||
|
@ -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
|
||||
|
@ -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[]
|
||||
|
@ -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 = ({
|
@ -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'
|
@ -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
|
Reference in New Issue
Block a user