@makebot.it/js 1.0.2 → 1.1.0

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.
Files changed (278) hide show
  1. package/README.md +170 -0
  2. package/dist/index.d.ts +143 -18
  3. package/dist/index.js +0 -1
  4. package/dist/web.js +1239 -46
  5. package/package.json +4 -3
  6. package/dist/components/Bot.d.ts +0 -31
  7. package/dist/components/Bot.d.ts.map +0 -1
  8. package/dist/components/Button.d.ts +0 -13
  9. package/dist/components/Button.d.ts.map +0 -1
  10. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -9
  11. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
  12. package/dist/components/ConversationContainer/ChatChunk.d.ts +0 -23
  13. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
  14. package/dist/components/ConversationContainer/ChatContainer.d.ts +0 -20
  15. package/dist/components/ConversationContainer/ChatContainer.d.ts.map +0 -1
  16. package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
  17. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
  18. package/dist/components/ErrorMessage.d.ts +0 -6
  19. package/dist/components/ErrorMessage.d.ts.map +0 -1
  20. package/dist/components/FixedInputFooter.d.ts +0 -11
  21. package/dist/components/FixedInputFooter.d.ts.map +0 -1
  22. package/dist/components/InputChatBlock.d.ts +0 -16
  23. package/dist/components/InputChatBlock.d.ts.map +0 -1
  24. package/dist/components/LiteBadge.d.ts +0 -6
  25. package/dist/components/LiteBadge.d.ts.map +0 -1
  26. package/dist/components/Modal.d.ts +0 -9
  27. package/dist/components/Modal.d.ts.map +0 -1
  28. package/dist/components/ProgressBar.d.ts +0 -6
  29. package/dist/components/ProgressBar.d.ts.map +0 -1
  30. package/dist/components/SendButton.d.ts +0 -9
  31. package/dist/components/SendButton.d.ts.map +0 -1
  32. package/dist/components/Spinner.d.ts +0 -3
  33. package/dist/components/Spinner.d.ts.map +0 -1
  34. package/dist/components/TextInputAddFileButton.d.ts +0 -7
  35. package/dist/components/TextInputAddFileButton.d.ts.map +0 -1
  36. package/dist/components/TypingBubble.d.ts +0 -2
  37. package/dist/components/TypingBubble.d.ts.map +0 -1
  38. package/dist/components/avatars/Avatar.d.ts +0 -5
  39. package/dist/components/avatars/Avatar.d.ts.map +0 -1
  40. package/dist/components/avatars/DefaultAvatar.d.ts +0 -4
  41. package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
  42. package/dist/components/bubbles/GuestBubble.d.ts +0 -9
  43. package/dist/components/bubbles/GuestBubble.d.ts.map +0 -1
  44. package/dist/components/bubbles/HostBubble.d.ts +0 -13
  45. package/dist/components/bubbles/HostBubble.d.ts.map +0 -1
  46. package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
  47. package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
  48. package/dist/components/bubbles/StreamingBubble.d.ts +0 -7
  49. package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
  50. package/dist/components/carousel.d.ts +0 -10
  51. package/dist/components/carousel.d.ts.map +0 -1
  52. package/dist/components/icons/ArrowLeftIcon.d.ts +0 -3
  53. package/dist/components/icons/ArrowLeftIcon.d.ts.map +0 -1
  54. package/dist/components/icons/ArrowRightIcon.d.ts +0 -3
  55. package/dist/components/icons/ArrowRightIcon.d.ts.map +0 -1
  56. package/dist/components/icons/CameraIcon.d.ts +0 -3
  57. package/dist/components/icons/CameraIcon.d.ts.map +0 -1
  58. package/dist/components/icons/CheckIcon.d.ts +0 -3
  59. package/dist/components/icons/CheckIcon.d.ts.map +0 -1
  60. package/dist/components/icons/ChevronDownIcon.d.ts +0 -3
  61. package/dist/components/icons/ChevronDownIcon.d.ts.map +0 -1
  62. package/dist/components/icons/ChevronUpIcon.d.ts +0 -3
  63. package/dist/components/icons/ChevronUpIcon.d.ts.map +0 -1
  64. package/dist/components/icons/CloseIcon.d.ts +0 -3
  65. package/dist/components/icons/CloseIcon.d.ts.map +0 -1
  66. package/dist/components/icons/FileIcon.d.ts +0 -3
  67. package/dist/components/icons/FileIcon.d.ts.map +0 -1
  68. package/dist/components/icons/MakebotLogo.d.ts +0 -2
  69. package/dist/components/icons/MakebotLogo.d.ts.map +0 -1
  70. package/dist/components/icons/MicrophoneIcon.d.ts +0 -3
  71. package/dist/components/icons/MicrophoneIcon.d.ts.map +0 -1
  72. package/dist/components/icons/PaperClipIcon.d.ts +0 -3
  73. package/dist/components/icons/PaperClipIcon.d.ts.map +0 -1
  74. package/dist/components/icons/PictureIcon.d.ts +0 -3
  75. package/dist/components/icons/PictureIcon.d.ts.map +0 -1
  76. package/dist/components/icons/PlusIcon.d.ts +0 -3
  77. package/dist/components/icons/PlusIcon.d.ts.map +0 -1
  78. package/dist/components/icons/SendIcon.d.ts +0 -3
  79. package/dist/components/icons/SendIcon.d.ts.map +0 -1
  80. package/dist/components/inputs/SearchInput.d.ts +0 -9
  81. package/dist/components/inputs/SearchInput.d.ts.map +0 -1
  82. package/dist/components/inputs/ShortTextInput.d.ts +0 -9
  83. package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
  84. package/dist/components/inputs/Textarea.d.ts +0 -9
  85. package/dist/components/inputs/Textarea.d.ts.map +0 -1
  86. package/dist/constants.d.ts +0 -86
  87. package/dist/constants.d.ts.map +0 -1
  88. package/dist/contexts/BotContainerContext.d.ts +0 -4
  89. package/dist/contexts/BotContainerContext.d.ts.map +0 -1
  90. package/dist/contexts/ChatContainerSizeContext.d.ts +0 -9
  91. package/dist/contexts/ChatContainerSizeContext.d.ts.map +0 -1
  92. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +0 -8
  93. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +0 -1
  94. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts +0 -11
  95. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts.map +0 -1
  96. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -11
  97. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
  98. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +0 -11
  99. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +0 -1
  100. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +0 -10
  101. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +0 -1
  102. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts +0 -11
  103. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts.map +0 -1
  104. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts +0 -11
  105. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts.map +0 -1
  106. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +0 -12
  107. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +0 -1
  108. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +0 -9
  109. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +0 -1
  110. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +0 -9
  111. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +0 -1
  112. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
  113. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
  114. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +0 -9
  115. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +0 -1
  116. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +0 -11
  117. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +0 -1
  118. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
  119. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
  120. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -10
  121. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
  122. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts +0 -20
  123. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts.map +0 -1
  124. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +0 -10
  125. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +0 -1
  126. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +0 -10
  127. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +0 -1
  128. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +0 -8
  129. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +0 -1
  130. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +0 -11
  131. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +0 -1
  132. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts +0 -6
  133. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
  134. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts +0 -15
  135. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
  136. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts +0 -28
  137. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
  138. package/dist/features/blocks/inputs/list/components/List.d.ts +0 -9
  139. package/dist/features/blocks/inputs/list/components/List.d.ts.map +0 -1
  140. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +0 -10
  141. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +0 -1
  142. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts +0 -2
  143. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
  144. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +0 -12
  145. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +0 -1
  146. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +0 -12
  147. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +0 -1
  148. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +0 -5
  149. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
  150. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +0 -9
  151. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +0 -1
  152. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +0 -10
  153. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +0 -1
  154. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +0 -11
  155. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
  156. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +0 -12
  157. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
  158. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts +0 -2
  159. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
  160. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts +0 -10
  161. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts.map +0 -1
  162. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +0 -10
  163. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +0 -1
  164. package/dist/features/blocks/integrations/chatwoot/constants.d.ts +0 -2
  165. package/dist/features/blocks/integrations/chatwoot/constants.d.ts.map +0 -1
  166. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +0 -7
  167. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +0 -1
  168. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts +0 -2
  169. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts.map +0 -1
  170. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
  171. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
  172. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts +0 -3
  173. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts.map +0 -1
  174. package/dist/features/blocks/integrations/openai/streamChat.d.ts +0 -19
  175. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
  176. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +0 -3
  177. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +0 -1
  178. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +0 -5
  179. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +0 -1
  180. package/dist/features/blocks/logic/script/executeScript.d.ts +0 -19
  181. package/dist/features/blocks/logic/script/executeScript.d.ts.map +0 -1
  182. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -7
  183. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
  184. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +0 -6
  185. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +0 -1
  186. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts +0 -13
  187. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts.map +0 -1
  188. package/dist/features/bubble/components/Bubble.d.ts +0 -15
  189. package/dist/features/bubble/components/Bubble.d.ts.map +0 -1
  190. package/dist/features/bubble/components/BubbleButton.d.ts +0 -8
  191. package/dist/features/bubble/components/BubbleButton.d.ts.map +0 -1
  192. package/dist/features/bubble/components/PreviewMessage.d.ts +0 -8
  193. package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
  194. package/dist/features/bubble/types.d.ts +0 -37
  195. package/dist/features/bubble/types.d.ts.map +0 -1
  196. package/dist/features/commands/index.d.ts +0 -12
  197. package/dist/features/commands/index.d.ts.map +0 -1
  198. package/dist/features/commands/types.d.ts +0 -26
  199. package/dist/features/commands/types.d.ts.map +0 -1
  200. package/dist/features/commands/utils/close.d.ts +0 -3
  201. package/dist/features/commands/utils/close.d.ts.map +0 -1
  202. package/dist/features/commands/utils/hidePreviewMessage.d.ts +0 -3
  203. package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +0 -1
  204. package/dist/features/commands/utils/open.d.ts +0 -3
  205. package/dist/features/commands/utils/open.d.ts.map +0 -1
  206. package/dist/features/commands/utils/reload.d.ts +0 -3
  207. package/dist/features/commands/utils/reload.d.ts.map +0 -1
  208. package/dist/features/commands/utils/sendCommand.d.ts +0 -3
  209. package/dist/features/commands/utils/sendCommand.d.ts.map +0 -1
  210. package/dist/features/commands/utils/setInputValue.d.ts +0 -3
  211. package/dist/features/commands/utils/setInputValue.d.ts.map +0 -1
  212. package/dist/features/commands/utils/setPrefilledVariables.d.ts +0 -3
  213. package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +0 -1
  214. package/dist/features/commands/utils/showPreviewMessage.d.ts +0 -3
  215. package/dist/features/commands/utils/showPreviewMessage.d.ts.map +0 -1
  216. package/dist/features/commands/utils/toggle.d.ts +0 -3
  217. package/dist/features/commands/utils/toggle.d.ts.map +0 -1
  218. package/dist/features/commands/utils/unmount.d.ts +0 -3
  219. package/dist/features/commands/utils/unmount.d.ts.map +0 -1
  220. package/dist/features/popup/components/Popup.d.ts +0 -11
  221. package/dist/features/popup/components/Popup.d.ts.map +0 -1
  222. package/dist/features/popup/types.d.ts +0 -9
  223. package/dist/features/popup/types.d.ts.map +0 -1
  224. package/dist/features/standard/components/Standard.d.ts +0 -5
  225. package/dist/features/standard/components/Standard.d.ts.map +0 -1
  226. package/dist/index.d.ts.map +0 -1
  227. package/dist/lib/gtag.d.ts +0 -4
  228. package/dist/lib/gtag.d.ts.map +0 -1
  229. package/dist/lib/gtm.d.ts +0 -3
  230. package/dist/lib/gtm.d.ts.map +0 -1
  231. package/dist/lib/pixel.d.ts +0 -4
  232. package/dist/lib/pixel.d.ts.map +0 -1
  233. package/dist/queries/continueChatQuery.d.ts +0 -722
  234. package/dist/queries/continueChatQuery.d.ts.map +0 -1
  235. package/dist/queries/saveClientLogsQuery.d.ts +0 -7
  236. package/dist/queries/saveClientLogsQuery.d.ts.map +0 -1
  237. package/dist/queries/startChatQuery.d.ts +0 -20
  238. package/dist/queries/startChatQuery.d.ts.map +0 -1
  239. package/dist/register.d.ts +0 -2
  240. package/dist/register.d.ts.map +0 -1
  241. package/dist/types.d.ts +0 -49
  242. package/dist/types.d.ts.map +0 -1
  243. package/dist/utils/CorsError.d.ts +0 -4
  244. package/dist/utils/CorsError.d.ts.map +0 -1
  245. package/dist/utils/dynamicTheme.d.ts +0 -4
  246. package/dist/utils/dynamicTheme.d.ts.map +0 -1
  247. package/dist/utils/error.d.ts +0 -2
  248. package/dist/utils/error.d.ts.map +0 -1
  249. package/dist/utils/executeClientSideActions.d.ts +0 -25
  250. package/dist/utils/executeClientSideActions.d.ts.map +0 -1
  251. package/dist/utils/getAnswerContent.d.ts +0 -3
  252. package/dist/utils/getAnswerContent.d.ts.map +0 -1
  253. package/dist/utils/getPartyKitHost.d.ts +0 -2
  254. package/dist/utils/getPartyKitHost.d.ts.map +0 -1
  255. package/dist/utils/guessApiHost.d.ts +0 -6
  256. package/dist/utils/guessApiHost.d.ts.map +0 -1
  257. package/dist/utils/injectFont.d.ts +0 -3
  258. package/dist/utils/injectFont.d.ts.map +0 -1
  259. package/dist/utils/injectStartProps.d.ts +0 -3
  260. package/dist/utils/injectStartProps.d.ts.map +0 -1
  261. package/dist/utils/migrateLegacyChatChunks.d.ts +0 -10
  262. package/dist/utils/migrateLegacyChatChunks.d.ts.map +0 -1
  263. package/dist/utils/persist.d.ts +0 -9
  264. package/dist/utils/persist.d.ts.map +0 -1
  265. package/dist/utils/resolveBubbleButtonSize.d.ts +0 -5
  266. package/dist/utils/resolveBubbleButtonSize.d.ts.map +0 -1
  267. package/dist/utils/scrollContainer.d.ts +0 -2
  268. package/dist/utils/scrollContainer.d.ts.map +0 -1
  269. package/dist/utils/setCssVariablesValue.d.ts +0 -16
  270. package/dist/utils/setCssVariablesValue.d.ts.map +0 -1
  271. package/dist/utils/storage.d.ts +0 -875
  272. package/dist/utils/storage.d.ts.map +0 -1
  273. package/dist/utils/toaster.d.ts +0 -2
  274. package/dist/utils/toaster.d.ts.map +0 -1
  275. package/dist/web.d.ts +0 -19
  276. package/dist/web.d.ts.map +0 -1
  277. package/dist/window.d.ts +0 -29
  278. package/dist/window.d.ts.map +0 -1
@@ -1,86 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,8 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- import type { TDescendant } from "@makebot.it/rich-text/types";
2
- export declare const computePlainText: (elements: TDescendant[]) => string;
3
- //# sourceMappingURL=convertRichTextToPlainText.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,7 +0,0 @@
1
- type Props = {
2
- isChecked: boolean;
3
- class?: string;
4
- };
5
- export declare const Checkbox: (props: Props) => import("solid-js").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,20 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,8 +0,0 @@
1
- type Props = {
2
- file: {
3
- name: string;
4
- };
5
- };
6
- export declare const FilePreview: (props: Props) => import("solid-js").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=FilePreview.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,6 +0,0 @@
1
- export declare const SelectedFile: (props: {
2
- file: File;
3
- uploadProgressPercent?: number;
4
- onRemoveClick: () => void;
5
- }) => import("solid-js").JSX.Element;
6
- //# sourceMappingURL=SelectedFile.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,28 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,2 +0,0 @@
1
- export declare const numberInputHelper: (value: () => any) => any[];
2
- //# sourceMappingURL=numberInputHelper.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,5 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}