@urbiport/js 0.0.1

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 (316) hide show
  1. package/README.md +169 -0
  2. package/dist/components/Bot.d.ts +26 -0
  3. package/dist/components/Bot.d.ts.map +1 -0
  4. package/dist/components/Button.d.ts +10 -0
  5. package/dist/components/Button.d.ts.map +1 -0
  6. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +8 -0
  7. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +1 -0
  8. package/dist/components/ConversationContainer/ChatChunk.d.ts +20 -0
  9. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +1 -0
  10. package/dist/components/ConversationContainer/ConversationContainer.d.ts +17 -0
  11. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -0
  12. package/dist/components/ConversationContainer/LoadingChunk.d.ts +7 -0
  13. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +1 -0
  14. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts +7 -0
  15. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +1 -0
  16. package/dist/components/ConversationContainer/index.d.ts +2 -0
  17. package/dist/components/ConversationContainer/index.d.ts.map +1 -0
  18. package/dist/components/ErrorMessage.d.ts +6 -0
  19. package/dist/components/ErrorMessage.d.ts.map +1 -0
  20. package/dist/components/InputChatBlock.d.ts +18 -0
  21. package/dist/components/InputChatBlock.d.ts.map +1 -0
  22. package/dist/components/LiteBadge.d.ts +6 -0
  23. package/dist/components/LiteBadge.d.ts.map +1 -0
  24. package/dist/components/Modal.d.ts +9 -0
  25. package/dist/components/Modal.d.ts.map +1 -0
  26. package/dist/components/ProgressBar.d.ts +6 -0
  27. package/dist/components/ProgressBar.d.ts.map +1 -0
  28. package/dist/components/SendButton.d.ts +10 -0
  29. package/dist/components/SendButton.d.ts.map +1 -0
  30. package/dist/components/Spinner.d.ts +3 -0
  31. package/dist/components/Spinner.d.ts.map +1 -0
  32. package/dist/components/TextInputAddFileButton.d.ts +7 -0
  33. package/dist/components/TextInputAddFileButton.d.ts.map +1 -0
  34. package/dist/components/TypingBubble.d.ts +2 -0
  35. package/dist/components/TypingBubble.d.ts.map +1 -0
  36. package/dist/components/avatars/Avatar.d.ts +4 -0
  37. package/dist/components/avatars/Avatar.d.ts.map +1 -0
  38. package/dist/components/avatars/DefaultAvatar.d.ts +2 -0
  39. package/dist/components/avatars/DefaultAvatar.d.ts.map +1 -0
  40. package/dist/components/bubbles/GuestBubble.d.ts +10 -0
  41. package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
  42. package/dist/components/bubbles/HostBubble.d.ts +12 -0
  43. package/dist/components/bubbles/HostBubble.d.ts.map +1 -0
  44. package/dist/components/bubbles/LoadingBubble.d.ts +2 -0
  45. package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -0
  46. package/dist/components/bubbles/StreamingBubble.d.ts +8 -0
  47. package/dist/components/bubbles/StreamingBubble.d.ts.map +1 -0
  48. package/dist/components/icons/CameraIcon.d.ts +3 -0
  49. package/dist/components/icons/CameraIcon.d.ts.map +1 -0
  50. package/dist/components/icons/CheckIcon.d.ts +3 -0
  51. package/dist/components/icons/CheckIcon.d.ts.map +1 -0
  52. package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
  53. package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
  54. package/dist/components/icons/CloseIcon.d.ts +3 -0
  55. package/dist/components/icons/CloseIcon.d.ts.map +1 -0
  56. package/dist/components/icons/FileIcon.d.ts +3 -0
  57. package/dist/components/icons/FileIcon.d.ts.map +1 -0
  58. package/dist/components/icons/MicrophoneIcon.d.ts +3 -0
  59. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -0
  60. package/dist/components/icons/PaperClipIcon.d.ts +3 -0
  61. package/dist/components/icons/PaperClipIcon.d.ts.map +1 -0
  62. package/dist/components/icons/PictureIcon.d.ts +3 -0
  63. package/dist/components/icons/PictureIcon.d.ts.map +1 -0
  64. package/dist/components/icons/PlusIcon.d.ts +3 -0
  65. package/dist/components/icons/PlusIcon.d.ts.map +1 -0
  66. package/dist/components/icons/SendIcon.d.ts +3 -0
  67. package/dist/components/icons/SendIcon.d.ts.map +1 -0
  68. package/dist/components/icons/TypebotLogo.d.ts +2 -0
  69. package/dist/components/icons/TypebotLogo.d.ts.map +1 -0
  70. package/dist/components/icons/index.d.ts +2 -0
  71. package/dist/components/icons/index.d.ts.map +1 -0
  72. package/dist/components/index.d.ts +4 -0
  73. package/dist/components/index.d.ts.map +1 -0
  74. package/dist/components/inputs/SearchInput.d.ts +9 -0
  75. package/dist/components/inputs/SearchInput.d.ts.map +1 -0
  76. package/dist/components/inputs/ShortTextInput.d.ts +8 -0
  77. package/dist/components/inputs/ShortTextInput.d.ts.map +1 -0
  78. package/dist/components/inputs/Textarea.d.ts +8 -0
  79. package/dist/components/inputs/Textarea.d.ts.map +1 -0
  80. package/dist/components/inputs/index.d.ts +3 -0
  81. package/dist/components/inputs/index.d.ts.map +1 -0
  82. package/dist/constants.d.ts +7 -0
  83. package/dist/constants.d.ts.map +1 -0
  84. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +8 -0
  85. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -0
  86. package/dist/features/blocks/bubbles/audio/components/index.d.ts +2 -0
  87. package/dist/features/blocks/bubbles/audio/components/index.d.ts.map +1 -0
  88. package/dist/features/blocks/bubbles/audio/index.d.ts +2 -0
  89. package/dist/features/blocks/bubbles/audio/index.d.ts.map +1 -0
  90. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +11 -0
  91. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +1 -0
  92. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +11 -0
  93. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -0
  94. package/dist/features/blocks/bubbles/embed/components/index.d.ts +2 -0
  95. package/dist/features/blocks/bubbles/embed/components/index.d.ts.map +1 -0
  96. package/dist/features/blocks/bubbles/embed/index.d.ts +2 -0
  97. package/dist/features/blocks/bubbles/embed/index.d.ts.map +1 -0
  98. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +10 -0
  99. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -0
  100. package/dist/features/blocks/bubbles/image/index.d.ts +2 -0
  101. package/dist/features/blocks/bubbles/image/index.d.ts.map +1 -0
  102. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +11 -0
  103. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -0
  104. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +9 -0
  105. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +1 -0
  106. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +9 -0
  107. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +1 -0
  108. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +3 -0
  109. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +1 -0
  110. package/dist/features/blocks/bubbles/textBubble/index.d.ts +2 -0
  111. package/dist/features/blocks/bubbles/textBubble/index.d.ts.map +1 -0
  112. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +9 -0
  113. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -0
  114. package/dist/features/blocks/bubbles/video/index.d.ts +2 -0
  115. package/dist/features/blocks/bubbles/video/index.d.ts.map +1 -0
  116. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +11 -0
  117. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -0
  118. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +7 -0
  119. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +1 -0
  120. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +10 -0
  121. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +1 -0
  122. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +10 -0
  123. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -0
  124. package/dist/features/blocks/inputs/date/index.d.ts +2 -0
  125. package/dist/features/blocks/inputs/date/index.d.ts.map +1 -0
  126. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +10 -0
  127. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -0
  128. package/dist/features/blocks/inputs/email/index.d.ts +2 -0
  129. package/dist/features/blocks/inputs/email/index.d.ts.map +1 -0
  130. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +8 -0
  131. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +1 -0
  132. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +11 -0
  133. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -0
  134. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts +6 -0
  135. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +1 -0
  136. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts +14 -0
  137. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +1 -0
  138. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts +21 -0
  139. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +1 -0
  140. package/dist/features/blocks/inputs/fileUpload/index.d.ts +2 -0
  141. package/dist/features/blocks/inputs/fileUpload/index.d.ts.map +1 -0
  142. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +10 -0
  143. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -0
  144. package/dist/features/blocks/inputs/number/index.d.ts +2 -0
  145. package/dist/features/blocks/inputs/number/index.d.ts.map +1 -0
  146. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts +2 -0
  147. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +1 -0
  148. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +11 -0
  149. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -0
  150. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +11 -0
  151. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -0
  152. package/dist/features/blocks/inputs/payment/components/index.d.ts +2 -0
  153. package/dist/features/blocks/inputs/payment/components/index.d.ts.map +1 -0
  154. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +5 -0
  155. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +1 -0
  156. package/dist/features/blocks/inputs/payment/index.d.ts +2 -0
  157. package/dist/features/blocks/inputs/payment/index.d.ts.map +1 -0
  158. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +9 -0
  159. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -0
  160. package/dist/features/blocks/inputs/phone/index.d.ts +2 -0
  161. package/dist/features/blocks/inputs/phone/index.d.ts.map +1 -0
  162. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +11 -0
  163. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +1 -0
  164. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +11 -0
  165. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +1 -0
  166. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +10 -0
  167. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -0
  168. package/dist/features/blocks/inputs/rating/index.d.ts +2 -0
  169. package/dist/features/blocks/inputs/rating/index.d.ts.map +1 -0
  170. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +11 -0
  171. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +1 -0
  172. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +10 -0
  173. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +1 -0
  174. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts +2 -0
  175. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +1 -0
  176. package/dist/features/blocks/inputs/textInput/index.d.ts +2 -0
  177. package/dist/features/blocks/inputs/textInput/index.d.ts.map +1 -0
  178. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +10 -0
  179. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -0
  180. package/dist/features/blocks/inputs/url/index.d.ts +2 -0
  181. package/dist/features/blocks/inputs/url/index.d.ts.map +1 -0
  182. package/dist/features/blocks/integrations/chatwoot/index.d.ts +2 -0
  183. package/dist/features/blocks/integrations/chatwoot/index.d.ts.map +1 -0
  184. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +5 -0
  185. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -0
  186. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts +2 -0
  187. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts.map +1 -0
  188. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts +2 -0
  189. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts.map +1 -0
  190. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +3 -0
  191. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +1 -0
  192. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts +2 -0
  193. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +1 -0
  194. package/dist/features/blocks/integrations/openai/streamChat.d.ts +17 -0
  195. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +1 -0
  196. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +3 -0
  197. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -0
  198. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts +3 -0
  199. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts.map +1 -0
  200. package/dist/features/blocks/logic/redirect/index.d.ts +2 -0
  201. package/dist/features/blocks/logic/redirect/index.d.ts.map +1 -0
  202. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +5 -0
  203. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -0
  204. package/dist/features/blocks/logic/redirect/utils/index.d.ts +2 -0
  205. package/dist/features/blocks/logic/redirect/utils/index.d.ts.map +1 -0
  206. package/dist/features/blocks/logic/script/executeScript.d.ts +9 -0
  207. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -0
  208. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +6 -0
  209. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +1 -0
  210. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +6 -0
  211. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +1 -0
  212. package/dist/features/bubble/components/Bubble.d.ts +9 -0
  213. package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
  214. package/dist/features/bubble/components/BubbleButton.d.ts +9 -0
  215. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
  216. package/dist/features/bubble/components/PreviewMessage.d.ts +9 -0
  217. package/dist/features/bubble/components/PreviewMessage.d.ts.map +1 -0
  218. package/dist/features/bubble/components/index.d.ts +2 -0
  219. package/dist/features/bubble/components/index.d.ts.map +1 -0
  220. package/dist/features/bubble/index.d.ts +2 -0
  221. package/dist/features/bubble/index.d.ts.map +1 -0
  222. package/dist/features/bubble/types.d.ts +35 -0
  223. package/dist/features/bubble/types.d.ts.map +1 -0
  224. package/dist/features/commands/index.d.ts +3 -0
  225. package/dist/features/commands/index.d.ts.map +1 -0
  226. package/dist/features/commands/types.d.ts +19 -0
  227. package/dist/features/commands/types.d.ts.map +1 -0
  228. package/dist/features/commands/utils/close.d.ts +2 -0
  229. package/dist/features/commands/utils/close.d.ts.map +1 -0
  230. package/dist/features/commands/utils/hidePreviewMessage.d.ts +2 -0
  231. package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +1 -0
  232. package/dist/features/commands/utils/index.d.ts +9 -0
  233. package/dist/features/commands/utils/index.d.ts.map +1 -0
  234. package/dist/features/commands/utils/open.d.ts +2 -0
  235. package/dist/features/commands/utils/open.d.ts.map +1 -0
  236. package/dist/features/commands/utils/setInputValue.d.ts +2 -0
  237. package/dist/features/commands/utils/setInputValue.d.ts.map +1 -0
  238. package/dist/features/commands/utils/setPrefilledVariables.d.ts +2 -0
  239. package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +1 -0
  240. package/dist/features/commands/utils/showPreviewMessage.d.ts +3 -0
  241. package/dist/features/commands/utils/showPreviewMessage.d.ts.map +1 -0
  242. package/dist/features/commands/utils/toggle.d.ts +2 -0
  243. package/dist/features/commands/utils/toggle.d.ts.map +1 -0
  244. package/dist/features/commands/utils/unmount.d.ts +2 -0
  245. package/dist/features/commands/utils/unmount.d.ts.map +1 -0
  246. package/dist/features/popup/components/Popup.d.ts +10 -0
  247. package/dist/features/popup/components/Popup.d.ts.map +1 -0
  248. package/dist/features/popup/components/index.d.ts +2 -0
  249. package/dist/features/popup/components/index.d.ts.map +1 -0
  250. package/dist/features/popup/index.d.ts +2 -0
  251. package/dist/features/popup/index.d.ts.map +1 -0
  252. package/dist/features/popup/types.d.ts +9 -0
  253. package/dist/features/popup/types.d.ts.map +1 -0
  254. package/dist/features/standard/components/Standard.d.ts +5 -0
  255. package/dist/features/standard/components/Standard.d.ts.map +1 -0
  256. package/dist/features/standard/components/index.d.ts +2 -0
  257. package/dist/features/standard/components/index.d.ts.map +1 -0
  258. package/dist/features/standard/index.d.ts +2 -0
  259. package/dist/features/standard/index.d.ts.map +1 -0
  260. package/dist/index.d.ts +7 -0
  261. package/dist/index.d.ts.map +1 -0
  262. package/dist/index.js +2 -0
  263. package/dist/lib/gtag.d.ts +4 -0
  264. package/dist/lib/gtag.d.ts.map +1 -0
  265. package/dist/lib/gtm.d.ts +3 -0
  266. package/dist/lib/gtm.d.ts.map +1 -0
  267. package/dist/lib/pixel.d.ts +4 -0
  268. package/dist/lib/pixel.d.ts.map +1 -0
  269. package/dist/lib/stripe.d.ts +3 -0
  270. package/dist/lib/stripe.d.ts.map +1 -0
  271. package/dist/queries/continueChatQuery.d.ts +554 -0
  272. package/dist/queries/continueChatQuery.d.ts.map +1 -0
  273. package/dist/queries/saveClientLogsQuery.d.ts +7 -0
  274. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -0
  275. package/dist/queries/startChatQuery.d.ts +723 -0
  276. package/dist/queries/startChatQuery.d.ts.map +1 -0
  277. package/dist/register.d.ts +2 -0
  278. package/dist/register.d.ts.map +1 -0
  279. package/dist/types.d.ts +37 -0
  280. package/dist/types.d.ts.map +1 -0
  281. package/dist/utils/CorsError.d.ts +4 -0
  282. package/dist/utils/CorsError.d.ts.map +1 -0
  283. package/dist/utils/botContainerHeightSignal.d.ts +2 -0
  284. package/dist/utils/botContainerHeightSignal.d.ts.map +1 -0
  285. package/dist/utils/botContainerSignal.d.ts +2 -0
  286. package/dist/utils/botContainerSignal.d.ts.map +1 -0
  287. package/dist/utils/executeClientSideActions.d.ts +20 -0
  288. package/dist/utils/executeClientSideActions.d.ts.map +1 -0
  289. package/dist/utils/formattedMessagesSignal.d.ts +8 -0
  290. package/dist/utils/formattedMessagesSignal.d.ts.map +1 -0
  291. package/dist/utils/getAnswerContent.d.ts +3 -0
  292. package/dist/utils/getAnswerContent.d.ts.map +1 -0
  293. package/dist/utils/guessApiHost.d.ts +6 -0
  294. package/dist/utils/guessApiHost.d.ts.map +1 -0
  295. package/dist/utils/injectFont.d.ts +3 -0
  296. package/dist/utils/injectFont.d.ts.map +1 -0
  297. package/dist/utils/injectStartProps.d.ts +3 -0
  298. package/dist/utils/injectStartProps.d.ts.map +1 -0
  299. package/dist/utils/isMobileSignal.d.ts +2 -0
  300. package/dist/utils/isMobileSignal.d.ts.map +1 -0
  301. package/dist/utils/persist.d.ts +9 -0
  302. package/dist/utils/persist.d.ts.map +1 -0
  303. package/dist/utils/setCssVariablesValue.d.ts +3 -0
  304. package/dist/utils/setCssVariablesValue.d.ts.map +1 -0
  305. package/dist/utils/storage.d.ts +717 -0
  306. package/dist/utils/storage.d.ts.map +1 -0
  307. package/dist/utils/streamingMessageSignal.d.ts +8 -0
  308. package/dist/utils/streamingMessageSignal.d.ts.map +1 -0
  309. package/dist/utils/toaster.d.ts +2 -0
  310. package/dist/utils/toaster.d.ts.map +1 -0
  311. package/dist/web.d.ts +17 -0
  312. package/dist/web.d.ts.map +1 -0
  313. package/dist/web.js +14 -0
  314. package/dist/window.d.ts +40 -0
  315. package/dist/window.d.ts.map +1 -0
  316. package/package.json +57 -0
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type Props = {
3
+ ref: HTMLInputElement | undefined;
4
+ onInput: (value: string) => void;
5
+ onClear: () => void;
6
+ } & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, 'onInput'>;
7
+ export declare const SearchInput: (props: Props) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=SearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAG1C,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACjC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,OAAO,EAAE,MAAM,IAAI,CAAA;CACpB,GAAG,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,CAAA;AAE9D,eAAO,MAAM,WAAW,UAAW,KAAK,gBAgCvC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type ShortTextInputProps = {
3
+ ref: HTMLInputElement | undefined;
4
+ onInput: (value: string) => void;
5
+ } & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, 'onInput'>;
6
+ export declare const ShortTextInput: (props: ShortTextInputProps) => JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=ShortTextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShortTextInput.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/ShortTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACjC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,GAAG,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,CAAA;AAE9D,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBAaxD,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type TextareaProps = {
3
+ ref: HTMLTextAreaElement | undefined;
4
+ onInput: (value: string) => void;
5
+ } & Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onInput'>;
6
+ export declare const Textarea: (props: TextareaProps) => JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=Textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/Textarea.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAE1C,KAAK,aAAa,GAAG;IACnB,GAAG,EAAE,mBAAmB,GAAG,SAAS,CAAA;IACpC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,SAAS,CAAC,CAAA;AAEpE,eAAO,MAAM,QAAQ,UAAW,aAAa,gBAgB5C,CAAA"}
@@ -0,0 +1,3 @@
1
+ export * from './ShortTextInput';
2
+ export * from './Textarea';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA"}
@@ -0,0 +1,7 @@
1
+ import type { BubbleProps } from './features/bubble';
2
+ import type { PopupProps } from './features/popup';
3
+ import type { BotProps } from './components/Bot';
4
+ export declare const defaultBotProps: BotProps;
5
+ export declare const defaultPopupProps: PopupProps;
6
+ export declare const defaultBubbleProps: BubbleProps;
7
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEhD,eAAO,MAAM,eAAe,EAAE,QAa7B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,UAQ/B,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,WAQhC,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { AudioBubbleBlock } from '@typebot.io/schemas';
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,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAKtD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;CACjD,CAAA;AAOD,eAAO,MAAM,WAAW,UAAW,KAAK,mCAqDvC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './AudioBubble';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/audio/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/audio/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { CustomEmbedBubble as CustomEmbedBubbleProps } from '@typebot.io/schemas';
2
+ import { InputSubmitContent } from '@/types';
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":"AAIA,OAAO,EAAE,iBAAiB,IAAI,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAGjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAA;IAC1C,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;IAChD,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAClD,CAAA;AAID,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAExC,eAAO,MAAM,iBAAiB,UAAW,KAAK,mCAkE7C,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { EmbedBubbleBlock } from '@typebot.io/schemas';
2
+ import { InputSubmitContent } from '@/types';
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":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAGtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;IAChD,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAClD,CAAA;AAID,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAExC,eAAO,MAAM,WAAW,UAAW,KAAK,mCA0EvC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './EmbedBubble';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/bubbles/embed/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/embed/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { ImageBubbleBlock } from '@typebot.io/schemas';
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":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAGtD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;CACjD,CAAA;AAED,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAExC,eAAO,MAAM,2BAA2B,OAAO,CAAA;AAI/C,eAAO,MAAM,WAAW,UAAW,KAAK,mCAoFvC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { ImageBubble } from './components/ImageBubble';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/image/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA"}
@@ -0,0 +1,11 @@
1
+ import type { Settings, TextBubbleBlock } from '@typebot.io/schemas';
2
+ type Props = {
3
+ content: TextBubbleBlock['content'];
4
+ typingEmulation: Settings['typingEmulation'];
5
+ isTypingSkipped: boolean;
6
+ onTransitionEnd?: (ref?: HTMLDivElement) => void;
7
+ };
8
+ export declare const showAnimationDuration = 400;
9
+ export declare const TextBubble: (props: Props) => import("solid-js").JSX.Element;
10
+ export {};
11
+ //# 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,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAQpE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAA;IACnC,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAA;IAC5C,eAAe,EAAE,OAAO,CAAA;IACxB,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;CACjD,CAAA;AAED,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAIxC,eAAO,MAAM,UAAU,UAAW,KAAK,mCA+DtC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import type { TElement, TText } from '@udecode/plate-common';
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":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAe,MAAM,uBAAuB,CAAA;AAKzE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,QAAQ,GAAG,KAAK,CAAA;IACzB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,YAAY,UAAW,KAAK,mCA6ExC,CAAA"}
@@ -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,CAAA;IACZ,aAAa,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAcD,eAAO,MAAM,SAAS,UAAW,cAAc,mCAO9C,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { TDescendant } from '@udecode/plate-common';
2
+ export declare const computePlainText: (elements: TDescendant[]) => string;
3
+ //# sourceMappingURL=convertRichTextToPlainText.d.ts.map
@@ -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,uBAAuB,CAAA;AAExD,eAAO,MAAM,gBAAgB,aAAc,WAAW,EAAE,KAAG,MAG9C,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { TextBubble } from './components/TextBubble';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/textBubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { VideoBubbleBlock } from '@typebot.io/schemas';
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":"AAUA,OAAO,EAAoC,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAExF,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAA;CACjD,CAAA;AAED,eAAO,MAAM,qBAAqB,MAAM,CAAA;AAGxC,eAAO,MAAM,WAAW,UAAW,KAAK,mCAyGvC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { VideoBubble } from './components/VideoBubble';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/bubbles/video/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import type { ChoiceInputBlock } from '@typebot.io/schemas';
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,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAI3D,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACvC,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,OAAO,UAAW,KAAK,mCA8DnC,CAAA"}
@@ -0,0 +1,7 @@
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
@@ -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,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,QAAQ,UAAW,KAAK,mCAcpC,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import { ChoiceInputBlock } from '@typebot.io/schemas';
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":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAMtD,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAA;IACvC,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAA;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,mBAAmB,UAAW,KAAK,mCAgI/C,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import { DateInputBlock } from '@typebot.io/schemas';
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,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAKpD,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,CAAC,UAAU,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAClD,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAA;IACnC,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,QAAQ,UAAW,KAAK,mCAkFpC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { DateForm } from './components/DateForm';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/date/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import type { EmailInputBlock } from '@typebot.io/schemas';
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,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAI1D,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,eAAe,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,UAAU,UAAW,KAAK,mCAuDtC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { EmailInput } from './components/EmailInput';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/email/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA"}
@@ -0,0 +1,8 @@
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
@@ -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,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,mCA2BvC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { BotContext, InputSubmitContent } from '@/types';
2
+ import { FileInputBlock } from '@typebot.io/schemas';
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":"AACA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAYpD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,UAAU,CAAA;IACnB,KAAK,EAAE,cAAc,CAAA;IACrB,QAAQ,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC3C,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,cAAc,UAAW,KAAK,mCAoO1C,CAAA"}
@@ -0,0 +1,6 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectedFile.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/fileUpload/components/SelectedFile.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,UAAW;IAClC,IAAI,EAAE,IAAI,CAAA;IACV,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,aAAa,EAAE,MAAM,IAAI,CAAA;CAC1B,mCA4BA,CAAA"}
@@ -0,0 +1,14 @@
1
+ type Props = {
2
+ newFile: File;
3
+ existingFiles: File[];
4
+ params: {
5
+ sizeLimit?: number;
6
+ };
7
+ onError: (message: {
8
+ title?: string;
9
+ description: string;
10
+ }) => void;
11
+ };
12
+ export declare const sanitizeNewFile: ({ newFile, existingFiles, params, onError, }: Props) => File | undefined;
13
+ export {};
14
+ //# 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":"AAEA,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,IAAI,CAAA;IACb,aAAa,EAAE,IAAI,EAAE,CAAA;IACrB,MAAM,EAAE;QACN,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,OAAO,EAAE,CAAC,OAAO,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CACpE,CAAA;AACD,eAAO,MAAM,eAAe,iDAKzB,KAAK,KAAG,IAAI,GAAG,SAsBjB,CAAA"}
@@ -0,0 +1,21 @@
1
+ type UploadFileProps = {
2
+ apiHost: string;
3
+ files: {
4
+ file: File;
5
+ input: {
6
+ sessionId: string;
7
+ fileName: string;
8
+ };
9
+ }[];
10
+ onUploadProgress?: (props: {
11
+ fileIndex: number;
12
+ progress: number;
13
+ }) => void;
14
+ };
15
+ type UrlList = ({
16
+ url: string;
17
+ type: string;
18
+ } | null)[];
19
+ export declare const uploadFiles: ({ apiHost, files, onUploadProgress, }: UploadFileProps) => Promise<UrlList>;
20
+ export {};
21
+ //# 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,CAAA;IACf,KAAK,EAAE;QACL,IAAI,EAAE,IAAI,CAAA;QACV,KAAK,EAAE;YACL,SAAS,EAAE,MAAM,CAAA;YACjB,QAAQ,EAAE,MAAM,CAAA;SACjB,CAAA;KACF,EAAE,CAAA;IACH,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC5E,CAAA;AAED,KAAK,OAAO,GAAG,CAAC;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,IAAI,CAAC,EAAE,CAAA;AAEX,eAAO,MAAM,WAAW,0CAIrB,eAAe,KAAG,QAAQ,OAAO,CAwCnC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { FileUploadForm } from './components/FileUploadForm';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/fileUpload/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import type { NumberInputBlock } from '@typebot.io/schemas';
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":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAK3D,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,gBAAgB,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,gBAAgB,mCAkElD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { NumberInput } from './components/NumberInput';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/number/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const numberInputHelper: (value: () => any) => any[];
2
+ //# sourceMappingURL=numberInputHelper.d.ts.map
@@ -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,UAAoB,MAAM,GAAG,UA4B1D,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { BotContext } from '@/types';
2
+ import { PaymentInputBlock, RuntimeOptions } from '@typebot.io/schemas';
3
+ type Props = {
4
+ context: BotContext;
5
+ options: PaymentInputBlock['options'] & RuntimeOptions;
6
+ onSuccess: () => void;
7
+ onTransitionEnd: () => void;
8
+ };
9
+ export declare const PaymentForm: (props: Props) => import("solid-js").JSX.Element;
10
+ export {};
11
+ //# 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,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEpC,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEvE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,UAAU,CAAA;IACnB,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAAG,cAAc,CAAA;IACtD,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,EAAE,MAAM,IAAI,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,mCAOvC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { BotContext } from '@/types';
2
+ import type { PaymentInputBlock, RuntimeOptions } from '@typebot.io/schemas';
3
+ type Props = {
4
+ context: BotContext;
5
+ options: PaymentInputBlock['options'] & RuntimeOptions;
6
+ onSuccess: () => void;
7
+ onTransitionEnd: () => void;
8
+ };
9
+ export declare const StripePaymentForm: (props: Props) => import("solid-js").JSX.Element;
10
+ export {};
11
+ //# 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":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAQ5E,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,UAAU,CAAA;IACnB,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAAG,cAAc,CAAA;IACtD,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,eAAe,EAAE,MAAM,IAAI,CAAA;CAC5B,CAAA;AAQD,eAAO,MAAM,iBAAiB,UAAW,KAAK,mCA6F7C,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './PaymentForm';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/payment/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { StartChatResponse } from '@typebot.io/schemas';
2
+ export declare const setPaymentInProgressInStorage: (state: Pick<StartChatResponse, 'typebot' | '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,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEvD,eAAO,MAAM,6BAA6B,UACjC,KAAK,iBAAiB,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC,SAGrE,CAAA;AAED,eAAO,MAAM,6BAA6B,qBACU,CAAA;AAEpD,eAAO,MAAM,kCAAkC,YAE9C,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/payment/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import { PhoneNumberInputBlock } from '@typebot.io/schemas';
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":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAM5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAG3D,KAAK,eAAe,GAAG,IAAI,CACzB,WAAW,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,EAC7C,QAAQ,GAAG,oBAAoB,CAChC,GAAG;IACF,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,UAAU,UAAW,eAAe,mCAiHhD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { PhoneInput } from './components/PhoneInput';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/phone/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import { PictureChoiceBlock } from '@typebot.io/schemas/features/blocks/inputs/pictureChoice';
3
+ type Props = {
4
+ defaultItems: PictureChoiceBlock['items'];
5
+ options: PictureChoiceBlock['options'];
6
+ onSubmit: (value: InputSubmitContent) => void;
7
+ onTransitionEnd: () => void;
8
+ };
9
+ export declare const MultiplePictureChoice: (props: Props) => import("solid-js").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=MultiplePictureChoice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiplePictureChoice.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/inputs/pictureChoice/MultiplePictureChoice.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,kBAAkB,EAAE,MAAM,0DAA0D,CAAA;AAS7F,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;IACzC,OAAO,EAAE,kBAAkB,CAAC,SAAS,CAAC,CAAA;IACtC,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC7C,eAAe,EAAE,MAAM,IAAI,CAAA;CAC5B,CAAA;AAED,eAAO,MAAM,qBAAqB,UAAW,KAAK,mCA4LjD,CAAA"}