@makebot.it/js 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Bot.d.ts +31 -0
- package/dist/components/Bot.d.ts.map +1 -0
- package/dist/components/Button.d.ts +13 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +9 -0
- package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ChatChunk.d.ts +23 -0
- package/dist/components/ConversationContainer/ChatChunk.d.ts.map +1 -0
- package/dist/components/ConversationContainer/ChatContainer.d.ts +20 -0
- package/dist/components/ConversationContainer/ChatContainer.d.ts.map +1 -0
- package/dist/components/ConversationContainer/LoadingChunk.d.ts +7 -0
- package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +1 -0
- package/dist/components/ErrorMessage.d.ts +6 -0
- package/dist/components/ErrorMessage.d.ts.map +1 -0
- package/dist/components/FixedInputFooter.d.ts +11 -0
- package/dist/components/FixedInputFooter.d.ts.map +1 -0
- package/dist/components/InputChatBlock.d.ts +16 -0
- package/dist/components/InputChatBlock.d.ts.map +1 -0
- package/dist/components/LiteBadge.d.ts +6 -0
- package/dist/components/LiteBadge.d.ts.map +1 -0
- package/dist/components/Modal.d.ts +9 -0
- package/dist/components/Modal.d.ts.map +1 -0
- package/dist/components/ProgressBar.d.ts +6 -0
- package/dist/components/ProgressBar.d.ts.map +1 -0
- package/dist/components/SendButton.d.ts +9 -0
- package/dist/components/SendButton.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts +3 -0
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/TextInputAddFileButton.d.ts +7 -0
- package/dist/components/TextInputAddFileButton.d.ts.map +1 -0
- package/dist/components/TypingBubble.d.ts +2 -0
- package/dist/components/TypingBubble.d.ts.map +1 -0
- package/dist/components/avatars/Avatar.d.ts +5 -0
- package/dist/components/avatars/Avatar.d.ts.map +1 -0
- package/dist/components/avatars/DefaultAvatar.d.ts +4 -0
- package/dist/components/avatars/DefaultAvatar.d.ts.map +1 -0
- package/dist/components/bubbles/GuestBubble.d.ts +9 -0
- package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
- package/dist/components/bubbles/HostBubble.d.ts +13 -0
- package/dist/components/bubbles/HostBubble.d.ts.map +1 -0
- package/dist/components/bubbles/LoadingBubble.d.ts +2 -0
- package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -0
- package/dist/components/bubbles/StreamingBubble.d.ts +7 -0
- package/dist/components/bubbles/StreamingBubble.d.ts.map +1 -0
- package/dist/components/carousel.d.ts +10 -0
- package/dist/components/carousel.d.ts.map +1 -0
- package/dist/components/icons/ArrowLeftIcon.d.ts +3 -0
- package/dist/components/icons/ArrowLeftIcon.d.ts.map +1 -0
- package/dist/components/icons/ArrowRightIcon.d.ts +3 -0
- package/dist/components/icons/ArrowRightIcon.d.ts.map +1 -0
- package/dist/components/icons/CameraIcon.d.ts +3 -0
- package/dist/components/icons/CameraIcon.d.ts.map +1 -0
- package/dist/components/icons/CheckIcon.d.ts +3 -0
- package/dist/components/icons/CheckIcon.d.ts.map +1 -0
- package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
- package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
- package/dist/components/icons/ChevronUpIcon.d.ts +3 -0
- package/dist/components/icons/ChevronUpIcon.d.ts.map +1 -0
- package/dist/components/icons/CloseIcon.d.ts +3 -0
- package/dist/components/icons/CloseIcon.d.ts.map +1 -0
- package/dist/components/icons/FileIcon.d.ts +3 -0
- package/dist/components/icons/FileIcon.d.ts.map +1 -0
- package/dist/components/icons/MakebotLogo.d.ts +2 -0
- package/dist/components/icons/MakebotLogo.d.ts.map +1 -0
- package/dist/components/icons/MicrophoneIcon.d.ts +3 -0
- package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -0
- package/dist/components/icons/PaperClipIcon.d.ts +3 -0
- package/dist/components/icons/PaperClipIcon.d.ts.map +1 -0
- package/dist/components/icons/PictureIcon.d.ts +3 -0
- package/dist/components/icons/PictureIcon.d.ts.map +1 -0
- package/dist/components/icons/PlusIcon.d.ts +3 -0
- package/dist/components/icons/PlusIcon.d.ts.map +1 -0
- package/dist/components/icons/SendIcon.d.ts +3 -0
- package/dist/components/icons/SendIcon.d.ts.map +1 -0
- package/dist/components/inputs/SearchInput.d.ts +9 -0
- package/dist/components/inputs/SearchInput.d.ts.map +1 -0
- package/dist/components/inputs/ShortTextInput.d.ts +9 -0
- package/dist/components/inputs/ShortTextInput.d.ts.map +1 -0
- package/dist/components/inputs/Textarea.d.ts +9 -0
- package/dist/components/inputs/Textarea.d.ts.map +1 -0
- package/dist/constants.d.ts +86 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/contexts/BotContainerContext.d.ts +4 -0
- package/dist/contexts/BotContainerContext.d.ts.map +1 -0
- package/dist/contexts/ChatContainerSizeContext.d.ts +9 -0
- package/dist/contexts/ChatContainerSizeContext.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +8 -0
- package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts +11 -0
- package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +11 -0
- package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +11 -0
- package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +10 -0
- package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts +11 -0
- package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts +11 -0
- package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +12 -0
- package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +9 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +9 -0
- package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +3 -0
- package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +1 -0
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +9 -0
- package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -0
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +11 -0
- package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -0
- package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +7 -0
- package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +1 -0
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +10 -0
- package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts +20 -0
- package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts.map +1 -0
- package/dist/features/blocks/inputs/date/components/DateForm.d.ts +10 -0
- package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +10 -0
- package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +8 -0
- package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +11 -0
- package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts +6 -0
- package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts +15 -0
- package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts +28 -0
- package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +1 -0
- package/dist/features/blocks/inputs/list/components/List.d.ts +9 -0
- package/dist/features/blocks/inputs/list/components/List.d.ts.map +1 -0
- package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +10 -0
- package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/number/numberInputHelper.d.ts +2 -0
- package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +12 -0
- package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +12 -0
- package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +5 -0
- package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +1 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +9 -0
- package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +10 -0
- package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +11 -0
- package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +1 -0
- package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +12 -0
- package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +1 -0
- package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts +2 -0
- package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +1 -0
- package/dist/features/blocks/inputs/time/components/TimeForm.d.ts +10 -0
- package/dist/features/blocks/inputs/time/components/TimeForm.d.ts.map +1 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +10 -0
- package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -0
- package/dist/features/blocks/integrations/chatwoot/constants.d.ts +2 -0
- package/dist/features/blocks/integrations/chatwoot/constants.d.ts.map +1 -0
- package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +7 -0
- package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -0
- package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts +2 -0
- package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts.map +1 -0
- package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +3 -0
- package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +1 -0
- package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts +3 -0
- package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts.map +1 -0
- package/dist/features/blocks/integrations/openai/streamChat.d.ts +19 -0
- package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +1 -0
- package/dist/features/blocks/integrations/pixel/executePixel.d.ts +3 -0
- package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -0
- package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +5 -0
- package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -0
- package/dist/features/blocks/logic/script/executeScript.d.ts +19 -0
- package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -0
- package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +7 -0
- package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +1 -0
- package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +6 -0
- package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +1 -0
- package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts +13 -0
- package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts.map +1 -0
- package/dist/features/bubble/components/Bubble.d.ts +15 -0
- package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
- package/dist/features/bubble/components/BubbleButton.d.ts +8 -0
- package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
- package/dist/features/bubble/components/PreviewMessage.d.ts +8 -0
- package/dist/features/bubble/components/PreviewMessage.d.ts.map +1 -0
- package/dist/features/bubble/types.d.ts +37 -0
- package/dist/features/bubble/types.d.ts.map +1 -0
- package/dist/features/commands/index.d.ts +12 -0
- package/dist/features/commands/index.d.ts.map +1 -0
- package/dist/features/commands/types.d.ts +26 -0
- package/dist/features/commands/types.d.ts.map +1 -0
- package/dist/features/commands/utils/close.d.ts +3 -0
- package/dist/features/commands/utils/close.d.ts.map +1 -0
- package/dist/features/commands/utils/hidePreviewMessage.d.ts +3 -0
- package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +1 -0
- package/dist/features/commands/utils/open.d.ts +3 -0
- package/dist/features/commands/utils/open.d.ts.map +1 -0
- package/dist/features/commands/utils/reload.d.ts +3 -0
- package/dist/features/commands/utils/reload.d.ts.map +1 -0
- package/dist/features/commands/utils/sendCommand.d.ts +3 -0
- package/dist/features/commands/utils/sendCommand.d.ts.map +1 -0
- package/dist/features/commands/utils/setInputValue.d.ts +3 -0
- package/dist/features/commands/utils/setInputValue.d.ts.map +1 -0
- package/dist/features/commands/utils/setPrefilledVariables.d.ts +3 -0
- package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +1 -0
- package/dist/features/commands/utils/showPreviewMessage.d.ts +3 -0
- package/dist/features/commands/utils/showPreviewMessage.d.ts.map +1 -0
- package/dist/features/commands/utils/toggle.d.ts +3 -0
- package/dist/features/commands/utils/toggle.d.ts.map +1 -0
- package/dist/features/commands/utils/unmount.d.ts +3 -0
- package/dist/features/commands/utils/unmount.d.ts.map +1 -0
- package/dist/features/popup/components/Popup.d.ts +11 -0
- package/dist/features/popup/components/Popup.d.ts.map +1 -0
- package/dist/features/popup/types.d.ts +9 -0
- package/dist/features/popup/types.d.ts.map +1 -0
- package/dist/features/standard/components/Standard.d.ts +5 -0
- package/dist/features/standard/components/Standard.d.ts.map +1 -0
- package/dist/index.d.ts +18 -143
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -0
- package/dist/lib/gtag.d.ts +4 -0
- package/dist/lib/gtag.d.ts.map +1 -0
- package/dist/lib/gtm.d.ts +3 -0
- package/dist/lib/gtm.d.ts.map +1 -0
- package/dist/lib/pixel.d.ts +4 -0
- package/dist/lib/pixel.d.ts.map +1 -0
- package/dist/queries/continueChatQuery.d.ts +722 -0
- package/dist/queries/continueChatQuery.d.ts.map +1 -0
- package/dist/queries/saveClientLogsQuery.d.ts +7 -0
- package/dist/queries/saveClientLogsQuery.d.ts.map +1 -0
- package/dist/queries/startChatQuery.d.ts +20 -0
- package/dist/queries/startChatQuery.d.ts.map +1 -0
- package/dist/register.d.ts +2 -0
- package/dist/register.d.ts.map +1 -0
- package/dist/types.d.ts +49 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/CorsError.d.ts +4 -0
- package/dist/utils/CorsError.d.ts.map +1 -0
- package/dist/utils/dynamicTheme.d.ts +4 -0
- package/dist/utils/dynamicTheme.d.ts.map +1 -0
- package/dist/utils/error.d.ts +2 -0
- package/dist/utils/error.d.ts.map +1 -0
- package/dist/utils/executeClientSideActions.d.ts +25 -0
- package/dist/utils/executeClientSideActions.d.ts.map +1 -0
- package/dist/utils/getAnswerContent.d.ts +3 -0
- package/dist/utils/getAnswerContent.d.ts.map +1 -0
- package/dist/utils/getPartyKitHost.d.ts +2 -0
- package/dist/utils/getPartyKitHost.d.ts.map +1 -0
- package/dist/utils/guessApiHost.d.ts +6 -0
- package/dist/utils/guessApiHost.d.ts.map +1 -0
- package/dist/utils/injectFont.d.ts +3 -0
- package/dist/utils/injectFont.d.ts.map +1 -0
- package/dist/utils/injectStartProps.d.ts +3 -0
- package/dist/utils/injectStartProps.d.ts.map +1 -0
- package/dist/utils/migrateLegacyChatChunks.d.ts +10 -0
- package/dist/utils/migrateLegacyChatChunks.d.ts.map +1 -0
- package/dist/utils/persist.d.ts +9 -0
- package/dist/utils/persist.d.ts.map +1 -0
- package/dist/utils/resolveBubbleButtonSize.d.ts +5 -0
- package/dist/utils/resolveBubbleButtonSize.d.ts.map +1 -0
- package/dist/utils/scrollContainer.d.ts +2 -0
- package/dist/utils/scrollContainer.d.ts.map +1 -0
- package/dist/utils/setCssVariablesValue.d.ts +16 -0
- package/dist/utils/setCssVariablesValue.d.ts.map +1 -0
- package/dist/utils/storage.d.ts +875 -0
- package/dist/utils/storage.d.ts.map +1 -0
- package/dist/utils/toaster.d.ts +2 -0
- package/dist/utils/toaster.d.ts.map +1 -0
- package/dist/web.d.ts +19 -0
- package/dist/web.d.ts.map +1 -0
- package/dist/web.js +59 -1252
- package/dist/window.d.ts +29 -0
- package/dist/window.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Props para registro do custom element - exclui "id" pois é um atributo
|
|
3
|
+
* refletido do HTMLElement. Definir this.id no construtor viola a especificação
|
|
4
|
+
* de Custom Elements e causa: NotSupportedError: The result must not have attributes
|
|
5
|
+
*/
|
|
6
|
+
export declare const customElementBotProps: {
|
|
7
|
+
makebot: undefined;
|
|
8
|
+
onNewInputBlock: undefined;
|
|
9
|
+
onAnswer: undefined;
|
|
10
|
+
onEnd: undefined;
|
|
11
|
+
onInit: undefined;
|
|
12
|
+
onNewLogs: undefined;
|
|
13
|
+
onChatStatePersisted: undefined;
|
|
14
|
+
onScriptExecutionSuccess: undefined;
|
|
15
|
+
font: undefined;
|
|
16
|
+
progressBarRef: undefined;
|
|
17
|
+
isPreview: undefined;
|
|
18
|
+
startFrom: undefined;
|
|
19
|
+
prefilledVariables: undefined;
|
|
20
|
+
apiHost: undefined;
|
|
21
|
+
wsHost: undefined;
|
|
22
|
+
resultId: undefined;
|
|
23
|
+
sessionId: undefined;
|
|
24
|
+
};
|
|
25
|
+
export declare const customElementPopupProps: {
|
|
26
|
+
onClose: undefined;
|
|
27
|
+
onOpen: undefined;
|
|
28
|
+
theme: undefined;
|
|
29
|
+
autoShowDelay: undefined;
|
|
30
|
+
isOpen: undefined;
|
|
31
|
+
defaultOpen: undefined;
|
|
32
|
+
makebot: undefined;
|
|
33
|
+
onNewInputBlock: undefined;
|
|
34
|
+
onAnswer: undefined;
|
|
35
|
+
onEnd: undefined;
|
|
36
|
+
onInit: undefined;
|
|
37
|
+
onNewLogs: undefined;
|
|
38
|
+
onChatStatePersisted: undefined;
|
|
39
|
+
onScriptExecutionSuccess: undefined;
|
|
40
|
+
font: undefined;
|
|
41
|
+
progressBarRef: undefined;
|
|
42
|
+
isPreview: undefined;
|
|
43
|
+
startFrom: undefined;
|
|
44
|
+
prefilledVariables: undefined;
|
|
45
|
+
apiHost: undefined;
|
|
46
|
+
wsHost: undefined;
|
|
47
|
+
resultId: undefined;
|
|
48
|
+
sessionId: undefined;
|
|
49
|
+
};
|
|
50
|
+
export declare const customElementBubbleProps: {
|
|
51
|
+
isOpen: undefined;
|
|
52
|
+
onClose: undefined;
|
|
53
|
+
onOpen: undefined;
|
|
54
|
+
theme: undefined;
|
|
55
|
+
previewMessage: undefined;
|
|
56
|
+
onPreviewMessageClick: undefined;
|
|
57
|
+
onPreviewMessageDismissed: undefined;
|
|
58
|
+
autoShowDelay: undefined;
|
|
59
|
+
inlineStyle: undefined;
|
|
60
|
+
makebot: undefined;
|
|
61
|
+
onNewInputBlock: undefined;
|
|
62
|
+
onAnswer: undefined;
|
|
63
|
+
onEnd: undefined;
|
|
64
|
+
onInit: undefined;
|
|
65
|
+
onNewLogs: undefined;
|
|
66
|
+
onChatStatePersisted: undefined;
|
|
67
|
+
onScriptExecutionSuccess: undefined;
|
|
68
|
+
font: undefined;
|
|
69
|
+
progressBarRef: undefined;
|
|
70
|
+
isPreview: undefined;
|
|
71
|
+
startFrom: undefined;
|
|
72
|
+
prefilledVariables: undefined;
|
|
73
|
+
apiHost: undefined;
|
|
74
|
+
wsHost: undefined;
|
|
75
|
+
resultId: undefined;
|
|
76
|
+
sessionId: undefined;
|
|
77
|
+
};
|
|
78
|
+
export declare const chatContainerBreakpoints: {
|
|
79
|
+
readonly xs: 440;
|
|
80
|
+
readonly sm: 640;
|
|
81
|
+
readonly md: 768;
|
|
82
|
+
readonly lg: 1024;
|
|
83
|
+
readonly xl: 1280;
|
|
84
|
+
};
|
|
85
|
+
export type ChatContainerSize = keyof typeof chatContainerBreakpoints;
|
|
86
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;CAkBF,CAAC;AAEjC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;CAQF,CAAC;AAEnC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWF,CAAC;AAEpC,eAAO,MAAM,wBAAwB;;;;;;CAM3B,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type Accessor } from "solid-js";
|
|
2
|
+
export declare const BotContainerContext: import("solid-js").Context<Accessor<HTMLDivElement | undefined>>;
|
|
3
|
+
export declare const useBotContainer: () => Accessor<HTMLDivElement | undefined>;
|
|
4
|
+
//# sourceMappingURL=BotContainerContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BotContainerContext.d.ts","sourceRoot":"","sources":["../../src/contexts/BotContainerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAA6B,MAAM,UAAU,CAAC;AAEpE,eAAO,MAAM,mBAAmB,kEAEd,CAAC;AAEnB,eAAO,MAAM,eAAe,4CAAwC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ChatContainerSize } from "@/constants";
|
|
2
|
+
import { type Accessor } from "solid-js";
|
|
3
|
+
export declare const ChatContainerSizeContext: import("solid-js").Context<Accessor<"sm" | "md" | "lg" | "xl" | "xs">>;
|
|
4
|
+
export declare const useChatContainerSize: () => Accessor<"sm" | "md" | "lg" | "xl" | "xs">;
|
|
5
|
+
/**
|
|
6
|
+
* Provider that manages bot container and its size with a single ResizeObserver
|
|
7
|
+
*/
|
|
8
|
+
export declare const createChatContainerProviderValue: (containerAccessor: Accessor<HTMLDivElement | undefined>) => Accessor<ChatContainerSize>;
|
|
9
|
+
//# sourceMappingURL=ChatContainerSizeContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatContainerSizeContext.d.ts","sourceRoot":"","sources":["../../src/contexts/ChatContainerSizeContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EACL,KAAK,QAAQ,EAMd,MAAM,UAAU,CAAC;AAIlB,eAAO,MAAM,wBAAwB,wEAEN,CAAC;AAEhC,eAAO,MAAM,oBAAoB,kDAA6C,CAAC;AAE/E;;GAEG;AACH,eAAO,MAAM,gCAAgC,GAC3C,mBAAmB,QAAQ,CAAC,cAAc,GAAG,SAAS,CAAC,KACtD,QAAQ,CAAC,iBAAiB,CA2B5B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AudioBubbleBlock } from "@makebot.it/blocks-bubbles/audio/schema";
|
|
2
|
+
type Props = {
|
|
3
|
+
content: AudioBubbleBlock["content"];
|
|
4
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const AudioBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=AudioBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudioBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/audio/components/AudioBubble.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAIhF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACrC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD,CAAC;AAOF,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCA6DvC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { ContactBubbleBlock } from "@makebot.it/blocks-bubbles/contact/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
content: ContactBubbleBlock["content"];
|
|
5
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
6
|
+
onCompleted?: (data?: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const showAnimationDuration = 400;
|
|
9
|
+
export declare const ContactBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ContactBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/contact/components/ContactBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAIpF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACvC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnD,CAAC;AAIF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AA8JzC,eAAO,MAAM,aAAa,GAAI,OAAO,KAAK,mCAsczC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { CustomEmbedBubble as CustomEmbedBubbleProps } from "@makebot.it/chat-api/schemas";
|
|
3
|
+
type Props = {
|
|
4
|
+
content: CustomEmbedBubbleProps["content"];
|
|
5
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
6
|
+
onCompleted: (reply?: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const showAnimationDuration = 400;
|
|
9
|
+
export declare const CustomEmbedBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=CustomEmbedBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomEmbedBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/embed/components/CustomEmbedBubble.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAIhG,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;IAC3C,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnD,CAAC;AAIF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,mCAsE7C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { EmbedBubbleBlock } from "@makebot.it/blocks-bubbles/embed/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
content: EmbedBubbleBlock["content"];
|
|
5
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
6
|
+
onCompleted?: (data?: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const showAnimationDuration = 400;
|
|
9
|
+
export declare const EmbedBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=EmbedBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmbedBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/embed/components/EmbedBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAKhF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACrC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnD,CAAC;AAIF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCAqFvC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ImageBubbleBlock } from "@makebot.it/blocks-bubbles/image/schema";
|
|
2
|
+
type Props = {
|
|
3
|
+
content: ImageBubbleBlock["content"];
|
|
4
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const showAnimationDuration = 400;
|
|
7
|
+
export declare const mediaLoadingFallbackTimeout = 5000;
|
|
8
|
+
export declare const ImageBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=ImageBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImageBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/image/components/ImageBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAIhF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACrC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAIhD,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCAyHvC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { LocationBubbleBlock } from "@makebot.it/blocks-bubbles/location/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
content: LocationBubbleBlock["content"];
|
|
5
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
6
|
+
onCompleted?: (data?: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const showAnimationDuration = 400;
|
|
9
|
+
export declare const LocationBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=LocationBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/location/components/LocationBubble.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AAMtF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAC;IACxC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnD,CAAC;AAIF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAwBzC,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,mCAkV1C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { PixBubbleBlock } from "@makebot.it/blocks-bubbles/pix/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
content: PixBubbleBlock["content"];
|
|
5
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
6
|
+
onCompleted?: (data?: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const showAnimationDuration = 400;
|
|
9
|
+
export declare const PixBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=PixBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PixBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/pix/components/PixBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AA4C5E,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACnC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnD,CAAC;AAIF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAwFzC,eAAO,MAAM,SAAS,GAAI,OAAO,KAAK,mCAidrC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { TextBubbleBlock } from "@makebot.it/blocks-bubbles/text/schema";
|
|
2
|
+
import type { Settings } from "@makebot.it/settings/schemas";
|
|
3
|
+
type Props = {
|
|
4
|
+
content: TextBubbleBlock["content"];
|
|
5
|
+
typingEmulation: Settings["typingEmulation"];
|
|
6
|
+
isTypingSkipped: boolean;
|
|
7
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const showAnimationDuration = 400;
|
|
10
|
+
export declare const TextBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=TextBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/textBubble/components/TextBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAE9E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAM7D,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IACpC,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAIzC,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCAmEtC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TElement, TText } from "@makebot.it/rich-text/types";
|
|
2
|
+
type Props = {
|
|
3
|
+
element: TElement | TText;
|
|
4
|
+
isUniqueChild?: boolean;
|
|
5
|
+
insideInlineVariable?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const PlateElement: (props: Props) => import("solid-js").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=PlateBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlateBlock.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/blocks/bubbles/textBubble/components/plate/PlateBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,QAAQ,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAIhF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,mCA6FxC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type PlateTextProps = {
|
|
2
|
+
text: string;
|
|
3
|
+
isUniqueChild: boolean;
|
|
4
|
+
bold?: boolean;
|
|
5
|
+
italic?: boolean;
|
|
6
|
+
underline?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const PlateText: (props: PlateTextProps) => import("solid-js").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=PlateText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlateText.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/blocks/bubbles/textBubble/components/plate/PlateText.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAcF,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,mCAO9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convertRichTextToPlainText.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE/D,eAAO,MAAM,gBAAgB,GAAI,UAAU,WAAW,EAAE,KAAG,MAM9C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { VideoBubbleBlock } from "@makebot.it/blocks-bubbles/video/schema";
|
|
2
|
+
type Props = {
|
|
3
|
+
content: VideoBubbleBlock["content"];
|
|
4
|
+
onTransitionEnd?: (ref?: HTMLDivElement) => void;
|
|
5
|
+
};
|
|
6
|
+
export declare const showAnimationDuration = 400;
|
|
7
|
+
export declare const VideoBubble: (props: Props) => import("solid-js").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=VideoBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoBubble.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/video/components/VideoBubble.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,yCAAyC,CAAC;AAIjD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACrC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAGzC,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCA2HvC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { ChoiceInputBlock } from "@makebot.it/blocks-inputs/choice/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
chunkIndex: number;
|
|
5
|
+
defaultItems: ChoiceInputBlock["items"];
|
|
6
|
+
options: ChoiceInputBlock["options"];
|
|
7
|
+
onSubmit: (value: InputSubmitContent) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const Buttons: (props: Props) => import("solid-js").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=Buttons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/buttons/components/Buttons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAUhF,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxC,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACrC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,OAAO,KAAK,mCAqKnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/buttons/components/Checkbox.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,KAAK,mCAcpC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { ChoiceInputBlock } from "@makebot.it/blocks-inputs/choice/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
defaultItems: ChoiceInputBlock["items"];
|
|
5
|
+
options: ChoiceInputBlock["options"];
|
|
6
|
+
onSubmit: (value: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const MultipleChoicesForm: (props: Props) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=MultipleChoicesForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultipleChoicesForm.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/buttons/components/MultipleChoicesForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAWhF,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxC,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACrC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,mCA8L/C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { CardsBlock } from "@makebot.it/blocks-inputs/cards/schema";
|
|
3
|
+
import { type JSX } from "solid-js";
|
|
4
|
+
type Props = {
|
|
5
|
+
block: CardsBlock;
|
|
6
|
+
onSubmit: (value: InputSubmitContent) => void;
|
|
7
|
+
onTransitionEnd: () => void;
|
|
8
|
+
onAction?: (action: {
|
|
9
|
+
type: string;
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
context?: {
|
|
14
|
+
sessionId: string;
|
|
15
|
+
apiHost?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const CardsCaroussel: (props: Props) => JSX.Element;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=CardsCaroussel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardsCaroussel.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/cards/CardsCaroussel.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AA4BlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wCAAwC,CAAC;AAGzE,OAAO,EAAc,KAAK,GAAG,EAAkC,MAAM,UAAU,CAAC;AAEhF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,UAAU,CAAC;IAClB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC9C,eAAe,EAAE,MAAM,IAAI,CAAC;IAE5B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAE5E,OAAO,CAAC,EAAE;QACR,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,gBAkgB1C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { DateInputBlock } from "@makebot.it/blocks-inputs/date/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
onSubmit: (inputValue: InputSubmitContent) => void;
|
|
5
|
+
options?: DateInputBlock["options"];
|
|
6
|
+
defaultValue?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const DateForm: (props: Props) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=DateForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateForm.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/date/components/DateForm.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAI5E,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,CAAC,UAAU,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,KAAK,mCAyGpC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { EmailInputBlock } from "@makebot.it/blocks-inputs/email/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
block: EmailInputBlock;
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
onSubmit: (value: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const EmailInput: (props: Props) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=EmailInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailInput.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/email/components/EmailInput.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAI9E,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,eAAe,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCA2DtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilePreview.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/fileUpload/components/FilePreview.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCA6BvC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BotContext, InputSubmitContent } from "@/types";
|
|
2
|
+
import type { FileInputBlock } from "@makebot.it/blocks-inputs/file/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
context: BotContext;
|
|
5
|
+
block: FileInputBlock;
|
|
6
|
+
onSubmit: (url: InputSubmitContent) => void;
|
|
7
|
+
onSkip: (label: string) => void;
|
|
8
|
+
};
|
|
9
|
+
export declare const FileUploadForm: (props: Props) => import("solid-js").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=FileUploadForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileUploadForm.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/fileUpload/components/FileUploadForm.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAI9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAQ5E,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,UAAU,CAAC;IACpB,KAAK,EAAE,cAAc,CAAC;IACtB,QAAQ,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC5C,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,mCAwR1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectedFile.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/fileUpload/components/SelectedFile.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,YAAY,GAAI,OAAO;IAClC,IAAI,EAAE,IAAI,CAAC;IACX,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,mCAiCA,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BotContext } from "@/types";
|
|
2
|
+
type Props = {
|
|
3
|
+
newFile: File;
|
|
4
|
+
existingFiles: File[];
|
|
5
|
+
params: {
|
|
6
|
+
sizeLimit?: number;
|
|
7
|
+
};
|
|
8
|
+
context: BotContext;
|
|
9
|
+
onError: (message: {
|
|
10
|
+
description: string;
|
|
11
|
+
}) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const sanitizeNewFile: ({ newFile, existingFiles, params, context, onError, }: Props) => File | undefined;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=sanitizeSelectedFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sanitizeSelectedFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI1C,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,IAAI,CAAC;IACd,aAAa,EAAE,IAAI,EAAE,CAAC;IACtB,MAAM,EAAE;QACN,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,CAAC,OAAO,EAAE;QAAE,WAAW,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CACrD,CAAC;AACF,eAAO,MAAM,eAAe,GAAI,uDAM7B,KAAK,KAAG,IAAI,GAAG,SA4BjB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
type UploadFileProps = {
|
|
2
|
+
apiHost: string;
|
|
3
|
+
files: {
|
|
4
|
+
file: File;
|
|
5
|
+
input: {
|
|
6
|
+
sessionId: string;
|
|
7
|
+
blockId: string;
|
|
8
|
+
fileName: string;
|
|
9
|
+
};
|
|
10
|
+
}[];
|
|
11
|
+
onUploadProgress?: (props: {
|
|
12
|
+
fileIndex: number;
|
|
13
|
+
progress: number;
|
|
14
|
+
}) => void;
|
|
15
|
+
};
|
|
16
|
+
type UrlList = ({
|
|
17
|
+
url: string;
|
|
18
|
+
type: string;
|
|
19
|
+
} | null)[];
|
|
20
|
+
export declare const uploadFiles: ({ apiHost, files, onUploadProgress, }: UploadFileProps) => Promise<{
|
|
21
|
+
type: "success";
|
|
22
|
+
urls: UrlList;
|
|
23
|
+
} | {
|
|
24
|
+
type: "error";
|
|
25
|
+
error: string;
|
|
26
|
+
}>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=uploadFiles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/fileUpload/helpers/uploadFiles.ts"],"names":[],"mappings":"AAEA,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE;QACL,IAAI,EAAE,IAAI,CAAC;QACX,KAAK,EAAE;YACL,SAAS,EAAE,MAAM,CAAC;YAClB,OAAO,EAAE,MAAM,CAAC;YAChB,QAAQ,EAAE,MAAM,CAAC;SAClB,CAAC;KACH,EAAE,CAAC;IACJ,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC7E,CAAC;AAEF,KAAK,OAAO,GAAG,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,IAAI,CAAC,EAAE,CAAC;AAEZ,eAAO,MAAM,WAAW,GAAU,uCAI/B,eAAe,KAAG,OAAO,CAC1B;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAiDtE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { ListInputBlock } from "@makebot.it/blocks-inputs/list/schema";
|
|
3
|
+
type Props = {
|
|
4
|
+
block: ListInputBlock;
|
|
5
|
+
onSubmit: (value: InputSubmitContent) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const List: (props: Props) => import("solid-js").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=List.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/list/components/List.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EACV,cAAc,EAEf,MAAM,uCAAuC,CAAC;AAK/C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,cAAc,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,OAAO,KAAK,mCAwIhC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { NumberInputBlock } from "@makebot.it/blocks-inputs/number/schema";
|
|
3
|
+
type NumberInputProps = {
|
|
4
|
+
block: NumberInputBlock;
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
onSubmit: (value: InputSubmitContent) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const NumberInput: (props: NumberInputProps) => import("solid-js").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/number/components/NumberInput.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAQlD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAKhF,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,gBAAgB,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,mCAiFlD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numberInputHelper.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/number/numberInputHelper.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,GAAI,OAAO,MAAM,GAAG,UA4BjD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BotContext } from "@/types";
|
|
2
|
+
import type { PaymentInputBlock } from "@makebot.it/blocks-inputs/payment/schema";
|
|
3
|
+
import type { RuntimeOptions } from "@makebot.it/chat-api/schemas";
|
|
4
|
+
type Props = {
|
|
5
|
+
context: BotContext;
|
|
6
|
+
options: PaymentInputBlock["options"] & RuntimeOptions;
|
|
7
|
+
onSuccess: () => void;
|
|
8
|
+
onTransitionEnd: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const PaymentForm: (props: Props) => import("solid-js").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=PaymentForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentForm.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/payment/components/PaymentForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAGnE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAAG,cAAc,CAAC;IACvD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCAOvC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { BotContext } from "@/types";
|
|
2
|
+
import type { PaymentInputBlock } from "@makebot.it/blocks-inputs/payment/schema";
|
|
3
|
+
import type { RuntimeOptions } from "@makebot.it/chat-api/schemas";
|
|
4
|
+
type Props = {
|
|
5
|
+
context: BotContext;
|
|
6
|
+
options: PaymentInputBlock["options"] & RuntimeOptions;
|
|
7
|
+
onSuccess: () => void;
|
|
8
|
+
onTransitionEnd: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const StripePaymentForm: (props: Props) => import("solid-js").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=StripePaymentForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StripePaymentForm.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/payment/components/StripePaymentForm.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AASnE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAAG,cAAc,CAAC;IACvD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAQF,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,mCAoG7C,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { StartChatResponse } from "@makebot.it/chat-api/schemas";
|
|
2
|
+
export declare const setPaymentInProgressInStorage: (state: Pick<StartChatResponse, "makebot" | "sessionId" | "resultId">) => void;
|
|
3
|
+
export declare const getPaymentInProgressInStorage: () => string | null;
|
|
4
|
+
export declare const removePaymentInProgressFromStorage: () => void;
|
|
5
|
+
//# sourceMappingURL=paymentInProgressStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paymentInProgressStorage.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/payment/helpers/paymentInProgressStorage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,eAAO,MAAM,6BAA6B,GACxC,OAAO,IAAI,CAAC,iBAAiB,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC,SAGrE,CAAC;AAEF,eAAO,MAAM,6BAA6B,qBACU,CAAC;AAErD,eAAO,MAAM,kCAAkC,YAE9C,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InputSubmitContent } from "@/types";
|
|
2
|
+
import type { PhoneNumberInputBlock } from "@makebot.it/blocks-inputs/phone/schema";
|
|
3
|
+
type PhoneInputProps = Pick<NonNullable<PhoneNumberInputBlock["options"]>, "labels" | "defaultCountryCode"> & {
|
|
4
|
+
defaultValue?: string;
|
|
5
|
+
onSubmit: (value: InputSubmitContent) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare const PhoneInput: (props: PhoneInputProps) => import("solid-js").JSX.Element;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=PhoneInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhoneInput.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/phone/components/PhoneInput.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAMpF,KAAK,eAAe,GAAG,IAAI,CACzB,WAAW,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,EAC7C,QAAQ,GAAG,oBAAoB,CAChC,GAAG;IACF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,mCA+JhD,CAAC"}
|