import { BlockIndices, BlockV6 } from '@typebot.io/schemas' import { WaitNodeContent } from '@/features/blocks/logic/wait/components/WaitNodeContent' import { ScriptNodeContent } from '@/features/blocks/logic/script/components/ScriptNodeContent' import { ButtonsBlockNode } from '@/features/blocks/inputs/buttons/components/ButtonsBlockNode' import { JumpNodeBody } from '@/features/blocks/logic/jump/components/JumpNodeBody' import { OpenAINodeBody } from '@/features/blocks/integrations/openai/components/OpenAINodeBody' import { AudioBubbleNode } from '@/features/blocks/bubbles/audio/components/AudioBubbleNode' import { EmbedBubbleContent } from '@/features/blocks/bubbles/embed/components/EmbedBubbleContent' import { ImageBubbleContent } from '@/features/blocks/bubbles/image/components/ImageBubbleContent' import { TextBubbleContent } from '@/features/blocks/bubbles/textBubble/components/TextBubbleContent' import { VideoBubbleContent } from '@/features/blocks/bubbles/video/components/VideoBubbleContent' import { DateNodeContent } from '@/features/blocks/inputs/date/components/DateNodeContent' import { EmailInputNodeContent } from '@/features/blocks/inputs/emailInput/components/EmailInputNodeContent' import { FileInputContent } from '@/features/blocks/inputs/fileUpload/components/FileInputContent' import { NumberNodeContent } from '@/features/blocks/inputs/number/components/NumberNodeContent' import { PaymentInputContent } from '@/features/blocks/inputs/payment/components/PaymentInputContent' import { PhoneNodeContent } from '@/features/blocks/inputs/phone/components/PhoneNodeContent' import { RatingInputContent } from '@/features/blocks/inputs/rating/components/RatingInputContent' import { TextInputNodeContent } from '@/features/blocks/inputs/textInput/components/TextInputNodeContent' import { UrlNodeContent } from '@/features/blocks/inputs/url/components/UrlNodeContent' import { GoogleSheetsNodeContent } from '@/features/blocks/integrations/googleSheets/components/GoogleSheetsNodeContent' import { MakeComContent } from '@/features/blocks/integrations/makeCom/components/MakeComContent' import { PabblyConnectContent } from '@/features/blocks/integrations/pabbly/components/PabblyConnectContent' import { SendEmailContent } from '@/features/blocks/integrations/sendEmail/components/SendEmailContent' import { WebhookContent } from '@/features/blocks/integrations/webhook/components/WebhookContent' import { ZapierContent } from '@/features/blocks/integrations/zapier/components/ZapierContent' import { RedirectNodeContent } from '@/features/blocks/logic/redirect/components/RedirectNodeContent' import { SetVariableContent } from '@/features/blocks/logic/setVariable/components/SetVariableContent' import { TypebotLinkNode } from '@/features/blocks/logic/typebotLink/components/TypebotLinkNode' import { ItemNodesList } from '../item/ItemNodesList' import { GoogleAnalyticsNodeBody } from '@/features/blocks/integrations/googleAnalytics/components/GoogleAnalyticsNodeBody' import { ChatwootNodeBody } from '@/features/blocks/integrations/chatwoot/components/ChatwootNodeBody' import { AbTestNodeBody } from '@/features/blocks/logic/abTest/components/AbTestNodeBody' import { PictureChoiceNode } from '@/features/blocks/inputs/pictureChoice/components/PictureChoiceNode' import { PixelNodeBody } from '@/features/blocks/integrations/pixel/components/PixelNodeBody' import { ZemanticAiNodeBody } from '@/features/blocks/integrations/zemanticAi/ZemanticAiNodeBody' import { BubbleBlockType } from '@typebot.io/schemas/features/blocks/bubbles/constants' import { InputBlockType } from '@typebot.io/schemas/features/blocks/inputs/constants' import { LogicBlockType } from '@typebot.io/schemas/features/blocks/logic/constants' import { IntegrationBlockType } from '@typebot.io/schemas/features/blocks/integrations/constants' type Props = { block: BlockV6 groupId: string indices: BlockIndices } export const BlockNodeContent = ({ block, indices, groupId, }: Props): JSX.Element => { switch (block.type) { case BubbleBlockType.TEXT: { return } case BubbleBlockType.IMAGE: { return } case BubbleBlockType.VIDEO: { return } case BubbleBlockType.EMBED: { return } case BubbleBlockType.AUDIO: { return } case InputBlockType.TEXT: { return } case InputBlockType.NUMBER: { return } case InputBlockType.EMAIL: { return } case InputBlockType.URL: { return } case InputBlockType.CHOICE: { return } case InputBlockType.PICTURE_CHOICE: { return } case InputBlockType.PHONE: { return } case InputBlockType.DATE: { return } case InputBlockType.PAYMENT: { return } case InputBlockType.RATING: { return } case InputBlockType.FILE: { return } case LogicBlockType.SET_VARIABLE: { return } case LogicBlockType.REDIRECT: { return } case LogicBlockType.SCRIPT: { return } case LogicBlockType.WAIT: { return } case LogicBlockType.JUMP: { return } case LogicBlockType.AB_TEST: { return } case LogicBlockType.TYPEBOT_LINK: return case LogicBlockType.CONDITION: return case IntegrationBlockType.GOOGLE_SHEETS: { return } case IntegrationBlockType.GOOGLE_ANALYTICS: { return } case IntegrationBlockType.WEBHOOK: { return } case IntegrationBlockType.ZAPIER: { return } case IntegrationBlockType.PABBLY_CONNECT: { return } case IntegrationBlockType.MAKE_COM: { return } case IntegrationBlockType.EMAIL: { return } case IntegrationBlockType.CHATWOOT: { return } case IntegrationBlockType.OPEN_AI: { return ( ) } case IntegrationBlockType.PIXEL: { return } case IntegrationBlockType.ZEMANTIC_AI: { return } } }