@urbiport/js 0.0.19-alpha.9 → 1.0.0-beta

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 (352) hide show
  1. package/dist/api/createConversation.d.ts +10 -0
  2. package/dist/api/createConversation.d.ts.map +1 -0
  3. package/dist/api/createConversationPreview.d.ts +11 -0
  4. package/dist/api/createConversationPreview.d.ts.map +1 -0
  5. package/dist/api/saveClientLogs.d.ts +6 -0
  6. package/dist/api/saveClientLogs.d.ts.map +1 -0
  7. package/dist/api/sendMessage.d.ts +10 -0
  8. package/dist/api/sendMessage.d.ts.map +1 -0
  9. package/dist/api/utils/detectDevice.d.ts +2 -0
  10. package/dist/api/utils/detectDevice.d.ts.map +1 -0
  11. package/dist/api/utils/handlePaymentInProgress.d.ts +3 -0
  12. package/dist/api/utils/handlePaymentInProgress.d.ts.map +1 -0
  13. package/dist/components/Bot.d.ts +30 -0
  14. package/dist/components/Bot.d.ts.map +1 -0
  15. package/dist/components/Button.d.ts +9 -0
  16. package/dist/components/Button.d.ts.map +1 -0
  17. package/dist/components/ButtonSubmit.d.ts +9 -0
  18. package/dist/components/ButtonSubmit.d.ts.map +1 -0
  19. package/dist/components/ChatInputFooter.d.ts +5 -0
  20. package/dist/components/ChatInputFooter.d.ts.map +1 -0
  21. package/dist/components/ConversationContainer/ConversationContainer.d.ts +22 -0
  22. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -0
  23. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +14 -0
  24. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
  25. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +17 -0
  26. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
  27. package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts +17 -0
  28. package/dist/components/ConversationContainer/ConversationMessageChunk.d.ts.map +1 -0
  29. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts +7 -0
  30. package/dist/components/ConversationContainer/ConversationPopupBlockedToast.d.ts.map +1 -0
  31. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts +6 -0
  32. package/dist/components/ConversationContainer/ConversationProgressBar.d.ts.map +1 -0
  33. package/dist/components/ConversationContainer/HostAvatar.d.ts +8 -0
  34. package/dist/components/ConversationContainer/HostAvatar.d.ts.map +1 -0
  35. package/dist/components/ConversationContainer/InputAnswer.d.ts +7 -0
  36. package/dist/components/ConversationContainer/InputAnswer.d.ts.map +1 -0
  37. package/dist/components/ConversationContainer/helpers.d.ts +6 -0
  38. package/dist/components/ConversationContainer/helpers.d.ts.map +1 -0
  39. package/dist/components/ConversationContainer/index.d.ts +2 -0
  40. package/dist/components/ConversationContainer/index.d.ts.map +1 -0
  41. package/dist/components/ConversationContext.d.ts +42 -0
  42. package/dist/components/ConversationContext.d.ts.map +1 -0
  43. package/dist/components/ErrorMessage.d.ts +6 -0
  44. package/dist/components/ErrorMessage.d.ts.map +1 -0
  45. package/dist/components/FooterEndConversation.d.ts +2 -0
  46. package/dist/components/FooterEndConversation.d.ts.map +1 -0
  47. package/dist/components/FooterLiteBadge.d.ts +6 -0
  48. package/dist/components/FooterLiteBadge.d.ts.map +1 -0
  49. package/dist/components/FormLayout.d.ts +18 -0
  50. package/dist/components/FormLayout.d.ts.map +1 -0
  51. package/dist/components/InputAnswerContext.d.ts +46 -0
  52. package/dist/components/InputAnswerContext.d.ts.map +1 -0
  53. package/dist/components/InputBlockDispatcher.d.ts +5 -0
  54. package/dist/components/InputBlockDispatcher.d.ts.map +1 -0
  55. package/dist/components/InputErrorMessage.d.ts +8 -0
  56. package/dist/components/InputErrorMessage.d.ts.map +1 -0
  57. package/dist/components/InputFormLayout.d.ts +15 -0
  58. package/dist/components/InputFormLayout.d.ts.map +1 -0
  59. package/dist/components/Modal.d.ts +9 -0
  60. package/dist/components/Modal.d.ts.map +1 -0
  61. package/dist/components/Spinner.d.ts +3 -0
  62. package/dist/components/Spinner.d.ts.map +1 -0
  63. package/dist/components/TextInputAddFileButton.d.ts +7 -0
  64. package/dist/components/TextInputAddFileButton.d.ts.map +1 -0
  65. package/dist/components/TypingBubble.d.ts +2 -0
  66. package/dist/components/TypingBubble.d.ts.map +1 -0
  67. package/dist/components/avatars/Avatar.d.ts +4 -0
  68. package/dist/components/avatars/Avatar.d.ts.map +1 -0
  69. package/dist/components/avatars/AvatarPlaceholder.d.ts +7 -0
  70. package/dist/components/avatars/AvatarPlaceholder.d.ts.map +1 -0
  71. package/dist/components/bubbles/GuestBubble.d.ts +10 -0
  72. package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
  73. package/dist/components/bubbles/HostBubble.d.ts +12 -0
  74. package/dist/components/bubbles/HostBubble.d.ts.map +1 -0
  75. package/dist/components/bubbles/HostBubbleStreaming.d.ts +8 -0
  76. package/dist/components/bubbles/HostBubbleStreaming.d.ts.map +1 -0
  77. package/dist/components/icons/CheckIcon.d.ts +3 -0
  78. package/dist/components/icons/CheckIcon.d.ts.map +1 -0
  79. package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
  80. package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
  81. package/dist/components/icons/CloseIcon.d.ts +3 -0
  82. package/dist/components/icons/CloseIcon.d.ts.map +1 -0
  83. package/dist/components/icons/FileIcon.d.ts +3 -0
  84. package/dist/components/icons/FileIcon.d.ts.map +1 -0
  85. package/dist/components/icons/FileIconUpload.d.ts +3 -0
  86. package/dist/components/icons/FileIconUpload.d.ts.map +1 -0
  87. package/dist/components/icons/LogoIcon.d.ts +2 -0
  88. package/dist/components/icons/LogoIcon.d.ts.map +1 -0
  89. package/dist/components/icons/MicrophoneIcon.d.ts +3 -0
  90. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -0
  91. package/dist/components/icons/PaperClipIcon.d.ts +3 -0
  92. package/dist/components/icons/PaperClipIcon.d.ts.map +1 -0
  93. package/dist/components/icons/PictureIcon.d.ts +3 -0
  94. package/dist/components/icons/PictureIcon.d.ts.map +1 -0
  95. package/dist/components/icons/SendIcon.d.ts +3 -0
  96. package/dist/components/icons/SendIcon.d.ts.map +1 -0
  97. package/dist/components/icons/index.d.ts +2 -0
  98. package/dist/components/icons/index.d.ts.map +1 -0
  99. package/dist/components/inputs/FileAttached.d.ts +6 -0
  100. package/dist/components/inputs/FileAttached.d.ts.map +1 -0
  101. package/dist/components/inputs/Input.d.ts +8 -0
  102. package/dist/components/inputs/Input.d.ts.map +1 -0
  103. package/dist/components/inputs/Textarea.d.ts +9 -0
  104. package/dist/components/inputs/Textarea.d.ts.map +1 -0
  105. package/dist/components/primitives/Dialog.d.ts +35 -0
  106. package/dist/components/primitives/Dialog.d.ts.map +1 -0
  107. package/dist/components/primitives/Environment.d.ts +8 -0
  108. package/dist/components/primitives/Environment.d.ts.map +1 -0
  109. package/dist/components/primitives/Menu.d.ts +35 -0
  110. package/dist/components/primitives/Menu.d.ts.map +1 -0
  111. package/dist/components/primitives/Progress.d.ts +25 -0
  112. package/dist/components/primitives/Progress.d.ts.map +1 -0
  113. package/dist/components/primitives/Toast.d.ts +52 -0
  114. package/dist/components/primitives/Toast.d.ts.map +1 -0
  115. package/dist/components/primitives/index.d.ts +6 -0
  116. package/dist/components/primitives/index.d.ts.map +1 -0
  117. package/dist/constants.d.ts +7 -0
  118. package/dist/constants.d.ts.map +1 -0
  119. package/dist/context/ConversationContext.d.ts +42 -0
  120. package/dist/context/ConversationContext.d.ts.map +1 -0
  121. package/dist/features/blocks/bubbles/GuestBubble.d.ts +10 -0
  122. package/dist/features/blocks/bubbles/GuestBubble.d.ts.map +1 -0
  123. package/dist/features/blocks/bubbles/HostBubble.d.ts +12 -0
  124. package/dist/features/blocks/bubbles/HostBubble.d.ts.map +1 -0
  125. package/dist/features/blocks/bubbles/HostBubbleStreaming.d.ts +8 -0
  126. package/dist/features/blocks/bubbles/HostBubbleStreaming.d.ts.map +1 -0
  127. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +8 -0
  128. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -0
  129. package/dist/features/blocks/bubbles/audio/components/index.d.ts +2 -0
  130. package/dist/features/blocks/bubbles/audio/components/index.d.ts.map +1 -0
  131. package/dist/features/blocks/bubbles/audio/index.d.ts +2 -0
  132. package/dist/features/blocks/bubbles/audio/index.d.ts.map +1 -0
  133. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +10 -0
  134. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -0
  135. package/dist/features/blocks/bubbles/embed/components/index.d.ts +2 -0
  136. package/dist/features/blocks/bubbles/embed/components/index.d.ts.map +1 -0
  137. package/dist/features/blocks/bubbles/embed/index.d.ts +2 -0
  138. package/dist/features/blocks/bubbles/embed/index.d.ts.map +1 -0
  139. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +8 -0
  140. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -0
  141. package/dist/features/blocks/bubbles/image/index.d.ts +2 -0
  142. package/dist/features/blocks/bubbles/image/index.d.ts.map +1 -0
  143. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +10 -0
  144. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -0
  145. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +9 -0
  146. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +1 -0
  147. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +8 -0
  148. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +1 -0
  149. package/dist/features/blocks/bubbles/textBubble/index.d.ts +2 -0
  150. package/dist/features/blocks/bubbles/textBubble/index.d.ts.map +1 -0
  151. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +8 -0
  152. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -0
  153. package/dist/features/blocks/bubbles/video/index.d.ts +2 -0
  154. package/dist/features/blocks/bubbles/video/index.d.ts.map +1 -0
  155. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +13 -0
  156. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -0
  157. package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts +9 -0
  158. package/dist/features/blocks/inputs/buttons/components/ButtonsSearch.d.ts.map +1 -0
  159. package/dist/features/blocks/inputs/buttons/index.d.ts +2 -0
  160. package/dist/features/blocks/inputs/buttons/index.d.ts.map +1 -0
  161. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +10 -0
  162. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -0
  163. package/dist/features/blocks/inputs/date/index.d.ts +2 -0
  164. package/dist/features/blocks/inputs/date/index.d.ts.map +1 -0
  165. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +12 -0
  166. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -0
  167. package/dist/features/blocks/inputs/email/index.d.ts +2 -0
  168. package/dist/features/blocks/inputs/email/index.d.ts.map +1 -0
  169. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +8 -0
  170. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +1 -0
  171. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +11 -0
  172. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -0
  173. package/dist/features/blocks/inputs/fileUpload/index.d.ts +2 -0
  174. package/dist/features/blocks/inputs/fileUpload/index.d.ts.map +1 -0
  175. package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts +12 -0
  176. package/dist/features/blocks/inputs/fileUpload/utils/sanitizeSelectedFiles.d.ts.map +1 -0
  177. package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts +20 -0
  178. package/dist/features/blocks/inputs/fileUpload/utils/uploadFiles.d.ts.map +1 -0
  179. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +12 -0
  180. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -0
  181. package/dist/features/blocks/inputs/number/index.d.ts +2 -0
  182. package/dist/features/blocks/inputs/number/index.d.ts.map +1 -0
  183. package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts +2 -0
  184. package/dist/features/blocks/inputs/number/utils/numberInputHelper.d.ts.map +1 -0
  185. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +11 -0
  186. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -0
  187. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +11 -0
  188. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -0
  189. package/dist/features/blocks/inputs/payment/components/index.d.ts +2 -0
  190. package/dist/features/blocks/inputs/payment/components/index.d.ts.map +1 -0
  191. package/dist/features/blocks/inputs/payment/index.d.ts +2 -0
  192. package/dist/features/blocks/inputs/payment/index.d.ts.map +1 -0
  193. package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts +5 -0
  194. package/dist/features/blocks/inputs/payment/utils/paymentInProgressStorage.d.ts.map +1 -0
  195. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +11 -0
  196. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -0
  197. package/dist/features/blocks/inputs/phone/index.d.ts +2 -0
  198. package/dist/features/blocks/inputs/phone/index.d.ts.map +1 -0
  199. package/dist/features/blocks/inputs/phone/utils/phoneCountries.d.ts +1247 -0
  200. package/dist/features/blocks/inputs/phone/utils/phoneCountries.d.ts.map +1 -0
  201. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +10 -0
  202. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -0
  203. package/dist/features/blocks/inputs/rating/index.d.ts +2 -0
  204. package/dist/features/blocks/inputs/rating/index.d.ts.map +1 -0
  205. package/dist/features/blocks/inputs/text/components/TextInput.d.ts +13 -0
  206. package/dist/features/blocks/inputs/text/components/TextInput.d.ts.map +1 -0
  207. package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts +10 -0
  208. package/dist/features/blocks/inputs/text/components/VoiceRecorder.d.ts.map +1 -0
  209. package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts +2 -0
  210. package/dist/features/blocks/inputs/text/components/VolumeProcessor.d.ts.map +1 -0
  211. package/dist/features/blocks/inputs/text/index.d.ts +2 -0
  212. package/dist/features/blocks/inputs/text/index.d.ts.map +1 -0
  213. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +12 -0
  214. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -0
  215. package/dist/features/blocks/inputs/url/index.d.ts +2 -0
  216. package/dist/features/blocks/inputs/url/index.d.ts.map +1 -0
  217. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +3 -0
  218. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -0
  219. package/dist/features/blocks/logic/redirect/index.d.ts +2 -0
  220. package/dist/features/blocks/logic/redirect/index.d.ts.map +1 -0
  221. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +5 -0
  222. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -0
  223. package/dist/features/blocks/logic/redirect/utils/index.d.ts +2 -0
  224. package/dist/features/blocks/logic/redirect/utils/index.d.ts.map +1 -0
  225. package/dist/features/blocks/logic/script/executeScript.d.ts +9 -0
  226. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -0
  227. package/dist/features/blocks/logic/variable/executeVariable.d.ts +6 -0
  228. package/dist/features/blocks/logic/variable/executeVariable.d.ts.map +1 -0
  229. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +6 -0
  230. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +1 -0
  231. package/dist/features/bubble/components/Bubble.d.ts +10 -0
  232. package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
  233. package/dist/features/bubble/components/BubbleButton.d.ts +9 -0
  234. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
  235. package/dist/features/bubble/components/BubbleMessage.d.ts +9 -0
  236. package/dist/features/bubble/components/BubbleMessage.d.ts.map +1 -0
  237. package/dist/features/bubble/components/index.d.ts +2 -0
  238. package/dist/features/bubble/components/index.d.ts.map +1 -0
  239. package/dist/features/bubble/index.d.ts +2 -0
  240. package/dist/features/bubble/index.d.ts.map +1 -0
  241. package/dist/features/bubble/types.d.ts +35 -0
  242. package/dist/features/bubble/types.d.ts.map +1 -0
  243. package/dist/features/commands/index.d.ts +3 -0
  244. package/dist/features/commands/index.d.ts.map +1 -0
  245. package/dist/features/commands/types.d.ts +19 -0
  246. package/dist/features/commands/types.d.ts.map +1 -0
  247. package/dist/features/commands/utils/close.d.ts +2 -0
  248. package/dist/features/commands/utils/close.d.ts.map +1 -0
  249. package/dist/features/commands/utils/hidePreviewMessage.d.ts +2 -0
  250. package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +1 -0
  251. package/dist/features/commands/utils/index.d.ts +9 -0
  252. package/dist/features/commands/utils/index.d.ts.map +1 -0
  253. package/dist/features/commands/utils/open.d.ts +2 -0
  254. package/dist/features/commands/utils/open.d.ts.map +1 -0
  255. package/dist/features/commands/utils/setInputValue.d.ts +2 -0
  256. package/dist/features/commands/utils/setInputValue.d.ts.map +1 -0
  257. package/dist/features/commands/utils/setPrefilledVariables.d.ts +2 -0
  258. package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +1 -0
  259. package/dist/features/commands/utils/showPreviewMessage.d.ts +3 -0
  260. package/dist/features/commands/utils/showPreviewMessage.d.ts.map +1 -0
  261. package/dist/features/commands/utils/toggle.d.ts +2 -0
  262. package/dist/features/commands/utils/toggle.d.ts.map +1 -0
  263. package/dist/features/commands/utils/unmount.d.ts +2 -0
  264. package/dist/features/commands/utils/unmount.d.ts.map +1 -0
  265. package/dist/features/popup/components/Popup.d.ts +11 -0
  266. package/dist/features/popup/components/Popup.d.ts.map +1 -0
  267. package/dist/features/popup/components/index.d.ts +2 -0
  268. package/dist/features/popup/components/index.d.ts.map +1 -0
  269. package/dist/features/popup/index.d.ts +2 -0
  270. package/dist/features/popup/index.d.ts.map +1 -0
  271. package/dist/features/popup/types.d.ts +9 -0
  272. package/dist/features/popup/types.d.ts.map +1 -0
  273. package/dist/features/standard/components/Standard.d.ts +6 -0
  274. package/dist/features/standard/components/Standard.d.ts.map +1 -0
  275. package/dist/features/standard/components/index.d.ts +2 -0
  276. package/dist/features/standard/components/index.d.ts.map +1 -0
  277. package/dist/features/standard/index.d.ts +2 -0
  278. package/dist/features/standard/index.d.ts.map +1 -0
  279. package/dist/features/streaming/streamChat.d.ts +17 -0
  280. package/dist/features/streaming/streamChat.d.ts.map +1 -0
  281. package/dist/features/widget/components/Bubble.d.ts +10 -0
  282. package/dist/features/widget/components/Bubble.d.ts.map +1 -0
  283. package/dist/features/widget/components/BubbleButton.d.ts +9 -0
  284. package/dist/features/widget/components/BubbleButton.d.ts.map +1 -0
  285. package/dist/features/widget/components/BubbleMessage.d.ts +9 -0
  286. package/dist/features/widget/components/BubbleMessage.d.ts.map +1 -0
  287. package/dist/features/widget/components/index.d.ts +2 -0
  288. package/dist/features/widget/components/index.d.ts.map +1 -0
  289. package/dist/features/widget/index.d.ts +2 -0
  290. package/dist/features/widget/index.d.ts.map +1 -0
  291. package/dist/features/widget/types.d.ts +35 -0
  292. package/dist/features/widget/types.d.ts.map +1 -0
  293. package/dist/hooks/useMessageListener.d.ts +11 -0
  294. package/dist/hooks/useMessageListener.d.ts.map +1 -0
  295. package/dist/index.d.ts +7 -125
  296. package/dist/index.d.ts.map +1 -0
  297. package/dist/index.js +2 -127
  298. package/dist/lib/gtm.d.ts +2 -0
  299. package/dist/lib/gtm.d.ts.map +1 -0
  300. package/dist/lib/pixel.d.ts +4 -0
  301. package/dist/lib/pixel.d.ts.map +1 -0
  302. package/dist/lib/stripe.d.ts +3 -0
  303. package/dist/lib/stripe.d.ts.map +1 -0
  304. package/dist/queries/continueChatQuery.d.ts +403 -0
  305. package/dist/queries/continueChatQuery.d.ts.map +1 -0
  306. package/dist/queries/saveClientLogsQuery.d.ts +6 -0
  307. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -0
  308. package/dist/queries/startChatQuery.d.ts +583 -0
  309. package/dist/queries/startChatQuery.d.ts.map +1 -0
  310. package/dist/register.d.ts +2 -0
  311. package/dist/register.d.ts.map +1 -0
  312. package/dist/types.d.ts +51 -0
  313. package/dist/types.d.ts.map +1 -0
  314. package/dist/utils/CorsError.d.ts +4 -0
  315. package/dist/utils/CorsError.d.ts.map +1 -0
  316. package/dist/utils/botContainerHeightSignal.d.ts +2 -0
  317. package/dist/utils/botContainerHeightSignal.d.ts.map +1 -0
  318. package/dist/utils/botContainerSignal.d.ts +2 -0
  319. package/dist/utils/botContainerSignal.d.ts.map +1 -0
  320. package/dist/utils/executeClientSideActions.d.ts +20 -0
  321. package/dist/utils/executeClientSideActions.d.ts.map +1 -0
  322. package/dist/utils/formattedMessagesSignal.d.ts +8 -0
  323. package/dist/utils/formattedMessagesSignal.d.ts.map +1 -0
  324. package/dist/utils/getAnswerContent.d.ts +3 -0
  325. package/dist/utils/getAnswerContent.d.ts.map +1 -0
  326. package/dist/utils/getApiUrl.d.ts +2 -0
  327. package/dist/utils/getApiUrl.d.ts.map +1 -0
  328. package/dist/utils/injectFont.d.ts +3 -0
  329. package/dist/utils/injectFont.d.ts.map +1 -0
  330. package/dist/utils/injectStartProps.d.ts +3 -0
  331. package/dist/utils/injectStartProps.d.ts.map +1 -0
  332. package/dist/utils/isMobileSignal.d.ts +2 -0
  333. package/dist/utils/isMobileSignal.d.ts.map +1 -0
  334. package/dist/utils/markdown.d.ts +3 -0
  335. package/dist/utils/markdown.d.ts.map +1 -0
  336. package/dist/utils/persist.d.ts +9 -0
  337. package/dist/utils/persist.d.ts.map +1 -0
  338. package/dist/utils/setCssVariablesValue.d.ts +3 -0
  339. package/dist/utils/setCssVariablesValue.d.ts.map +1 -0
  340. package/dist/utils/storage.d.ts +535 -0
  341. package/dist/utils/storage.d.ts.map +1 -0
  342. package/dist/utils/streamingMessageSignal.d.ts +8 -0
  343. package/dist/utils/streamingMessageSignal.d.ts.map +1 -0
  344. package/dist/utils/toaster.d.ts +21 -0
  345. package/dist/utils/toaster.d.ts.map +1 -0
  346. package/dist/web.d.ts +2 -0
  347. package/dist/web.d.ts.map +1 -0
  348. package/dist/web.js +3 -265
  349. package/dist/window.d.ts +40 -0
  350. package/dist/window.d.ts.map +1 -0
  351. package/package.json +30 -27
  352. package/dist/web.css +0 -1
@@ -0,0 +1,10 @@
1
+ import { CreateConversationResponse } from '@quickbot.io/schemas';
2
+ type Props = {
3
+ publicId: string;
4
+ stripeRedirectStatus?: string;
5
+ prefilledVariables?: Record<string, unknown>;
6
+ resultId?: string;
7
+ };
8
+ export declare function createConversation({ publicId, prefilledVariables, resultId, stripeRedirectStatus, }: Props): Promise<CreateConversationResponse>;
9
+ export {};
10
+ //# sourceMappingURL=createConversation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createConversation.d.ts","sourceRoot":"","sources":["../../src/api/createConversation.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAM1F,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,MAAM,CAAA;IAChB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,wBAAsB,kBAAkB,CAAC,EACvC,QAAQ,EACR,kBAAkB,EAClB,QAAQ,EACR,oBAAoB,GACrB,EAAE,KAAK,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAuC7C"}
@@ -0,0 +1,11 @@
1
+ import { CreateConversationResponse, StartFrom } from '@quickbot.io/schemas';
2
+ type Props = {
3
+ bot: any;
4
+ stripeRedirectStatus?: string;
5
+ startFrom?: StartFrom;
6
+ prefilledVariables?: Record<string, unknown>;
7
+ sessionId?: string;
8
+ };
9
+ export declare function createConversationPreview({ bot, prefilledVariables, stripeRedirectStatus, startFrom, sessionId, }: Props): Promise<Omit<CreateConversationResponse, 'resultId'>>;
10
+ export {};
11
+ //# sourceMappingURL=createConversationPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createConversationPreview.d.ts","sourceRoot":"","sources":["../../src/api/createConversationPreview.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,SAAS,EAAkC,MAAM,sBAAsB,CAAA;AAK5G,KAAK,KAAK,GAAG;IAEX,GAAG,EAAE,GAAG,CAAA;IACR,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,wBAAsB,yBAAyB,CAAC,EAC9C,GAAG,EACH,kBAAkB,EAClB,oBAAoB,EACpB,SAAS,EACT,SAAS,GACV,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,UAAU,CAAC,CAAC,CA0B/D"}
@@ -0,0 +1,6 @@
1
+ import type { ConversationLog } from '@quickbot.io/schemas';
2
+ export declare const saveClientLogs: ({ sessionId, clientLogs, }: {
3
+ sessionId: string;
4
+ clientLogs: ConversationLog[];
5
+ }) => Promise<void>;
6
+ //# sourceMappingURL=saveClientLogs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"saveClientLogs.d.ts","sourceRoot":"","sources":["../../src/api/saveClientLogs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAI3D,eAAO,MAAM,cAAc,GAAU,4BAGlC;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,eAAe,EAAE,CAAA;CAC9B,kBAaA,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { SendMessageResponse, Message } from '@quickbot.io/schemas';
2
+ export declare function sendMessage({ message, sessionId, messageMetadata, }: {
3
+ message?: Message;
4
+ sessionId: string;
5
+ messageMetadata?: {
6
+ inputBlockId?: string;
7
+ inputType?: string;
8
+ };
9
+ }): Promise<SendMessageResponse>;
10
+ //# sourceMappingURL=sendMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendMessage.d.ts","sourceRoot":"","sources":["../../src/api/sendMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAInE,wBAAsB,WAAW,CAAC,EAChC,OAAO,EACP,SAAS,EACT,eAAe,GAChB,EAAE;IACD,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE;QAChB,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAY/B"}
@@ -0,0 +1,2 @@
1
+ export declare function detectDeviceFromUserAgent(ua: string): 'desktop' | 'tablet' | 'mobile' | 'unknown';
2
+ //# sourceMappingURL=detectDevice.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"detectDevice.d.ts","sourceRoot":"","sources":["../../../src/api/utils/detectDevice.ts"],"names":[],"mappings":"AAAA,wBAAgB,yBAAyB,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAajG"}
@@ -0,0 +1,3 @@
1
+ import { CreateConversationResponse } from '@quickbot.io/schemas';
2
+ export declare function handlePaymentInProgress<T extends CreateConversationResponse = CreateConversationResponse>(stripeRedirectStatus?: string): Promise<T | null>;
3
+ //# sourceMappingURL=handlePaymentInProgress.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handlePaymentInProgress.d.ts","sourceRoot":"","sources":["../../../src/api/utils/handlePaymentInProgress.ts"],"names":[],"mappings":"AAMA,OAAO,EAAuB,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAGtF,wBAAsB,uBAAuB,CAAC,CAAC,SAAS,0BAA0B,GAAG,0BAA0B,EAC7G,oBAAoB,CAAC,EAAE,MAAM,GAC5B,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CA8BnB"}
@@ -0,0 +1,30 @@
1
+ import { OutgoingLog } from '@/types';
2
+ import { ThemeFontProps, CreateConversationResponse, StartFrom } from '@quickbot.io/schemas';
3
+ export type BotProps = {
4
+ bot: string | any;
5
+ isPreview?: boolean;
6
+ resultId?: string;
7
+ prefilledVariables?: Record<string, unknown>;
8
+ font?: ThemeFontProps;
9
+ progressBarRef?: HTMLDivElement;
10
+ startFrom?: StartFrom;
11
+ sessionId?: string;
12
+ onNewBlock?: (block: {
13
+ id: string;
14
+ type: string;
15
+ }) => void;
16
+ onAnswer?: (answer: {
17
+ message: string;
18
+ blockId: string;
19
+ }) => void;
20
+ onThemeLoaded?: (theme: CreateConversationResponse['bot']['theme']) => void;
21
+ onInit?: () => void;
22
+ onEnd?: () => void;
23
+ onNewLogs?: (logs: OutgoingLog[]) => void;
24
+ onChatStatePersisted?: (isEnabled: boolean) => void;
25
+ onBubblesDisplayed?: () => void;
26
+ };
27
+ export declare const Bot: (props: BotProps & {
28
+ class?: string;
29
+ }) => import("solid-js").JSX.Element;
30
+ //# sourceMappingURL=Bot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/components/Bot.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAc,WAAW,EAAE,MAAM,SAAS,CAAA;AAWjD,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAoB5F,MAAM,MAAM,QAAQ,GAAG;IAErB,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;IAC3E,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IACnD,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,GAAG,GAAI,OAAO,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,mCA2NvD,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'solid-js';
2
+ type Props = {
3
+ children: JSX.Element;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
7
+ export declare const Button: (props: Props) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=Button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAoB,MAAM,UAAU,CAAA;AAI1D,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,gBAqBlC,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type SubmitButtonProps = {
3
+ isDisabled?: boolean;
4
+ isLoading?: boolean;
5
+ class?: string;
6
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
7
+ export declare const ButtonSubmit: (props: SubmitButtonProps) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=ButtonSubmit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonSubmit.d.ts","sourceRoot":"","sources":["../../src/components/ButtonSubmit.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAK1C,KAAK,iBAAiB,GAAG;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,gBAqBpD,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { InputBlockBaseProps } from '@/types';
2
+ type Props = InputBlockBaseProps;
3
+ export declare const ChatInputFooter: (props: Props) => import("solid-js").JSX.Element;
4
+ export {};
5
+ //# sourceMappingURL=ChatInputFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatInputFooter.d.ts","sourceRoot":"","sources":["../../src/components/ChatInputFooter.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAsBjE,KAAK,KAAK,GAAG,mBAAmB,CAAA;AAEhC,eAAO,MAAM,eAAe,UAAW,KAAK,mCAwL3C,CAAA"}
@@ -0,0 +1,22 @@
1
+ import { CreateConversationResponse } from '@quickbot.io/schemas';
2
+ import { BotContext, OutgoingLog } from '@/types';
3
+ type Props = {
4
+ botContainer: HTMLDivElement | undefined;
5
+ initialChatReply: CreateConversationResponse;
6
+ context: BotContext;
7
+ onNewBlock?: (block: {
8
+ id: string;
9
+ type: string;
10
+ }) => void;
11
+ onAnswer?: (answer: {
12
+ message: string;
13
+ blockId: string;
14
+ }) => void;
15
+ onEnd?: () => void;
16
+ onNewLogs?: (logs: OutgoingLog[]) => void;
17
+ onProgressUpdate?: (progress: number) => void;
18
+ onBubblesDisplayed?: () => void;
19
+ };
20
+ export declare const ConversationContainer: (props: Props) => import("solid-js").JSX.Element;
21
+ export {};
22
+ //# sourceMappingURL=ConversationContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAC,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKjD,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;IACxC,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,OAAO,KAAK,mCASjD,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { CreateConversationResponse } from '@quickbot.io/schemas';
2
+ import { BotContext } from '@/types';
3
+ type Props = {
4
+ initialChatReply: CreateConversationResponse;
5
+ context: BotContext;
6
+ onEnd?: () => void;
7
+ onNewBlock?: (block: {
8
+ id: string;
9
+ type: string;
10
+ }) => void;
11
+ };
12
+ export declare const ConversationContainerBody: (props: Props) => import("solid-js").JSX.Element;
13
+ export {};
14
+ //# sourceMappingURL=ConversationContainerBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationContainerBody.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAUpC,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;CAC3D,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,OAAO,KAAK,mCA+JrD,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { CreateConversationResponse } from '@quickbot.io/schemas';
2
+ import { BotContext, OutgoingLog } from '@/types';
3
+ type Props = {
4
+ botContainer: HTMLDivElement | undefined;
5
+ initialChatReply: CreateConversationResponse;
6
+ context: BotContext;
7
+ onAnswer?: (answer: {
8
+ message: string;
9
+ blockId: string;
10
+ }) => void;
11
+ onEnd?: () => void;
12
+ onNewLogs?: (logs: OutgoingLog[]) => void;
13
+ onProgressUpdate?: (progress: number) => void;
14
+ };
15
+ export declare const ConversationContainerFooter: (props: Props) => import("solid-js").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=ConversationContainerFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationContainerFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainerFooter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAA;AAEjE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKjD,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;IACxC,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,2BAA2B,GAAI,OAAO,KAAK,mCA2DvD,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { BotContext, ChatChunk as ChatChunkType } from '@/types';
2
+ import { SendMessageResponse, Settings, ThemeProps } from '@quickbot.io/schemas';
3
+ type Props = Pick<SendMessageResponse, 'messages' | 'input'> & {
4
+ theme: ThemeProps;
5
+ settings: Settings;
6
+ index: number;
7
+ context: BotContext;
8
+ hasError: boolean;
9
+ hideAvatar: boolean;
10
+ streamingMessageId: ChatChunkType['streamingMessageId'];
11
+ isTransitionDisabled?: boolean;
12
+ onNewBubbleDisplayed: (blockId: string) => Promise<void>;
13
+ onAllBubblesDisplayed: () => void;
14
+ };
15
+ export declare const ConversationMessageChunk: (props: Props) => import("solid-js").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=ConversationMessageChunk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationMessageChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationMessageChunk.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAChE,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAahF,KAAK,KAAK,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC7D,KAAK,EAAE,UAAU,CAAA;IACjB,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,UAAU,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAA;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD,qBAAqB,EAAE,MAAM,IAAI,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,OAAO,KAAK,mCA8GpD,CAAA"}
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ url: string;
3
+ onLinkClick: () => void;
4
+ };
5
+ export declare const ConversationPopupBlockedToast: (props: Props) => import("solid-js").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=ConversationPopupBlockedToast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationPopupBlockedToast.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationPopupBlockedToast.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,6BAA6B,GAAI,OAAO,KAAK,mCAmDzD,CAAA"}
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ value: number;
3
+ };
4
+ export declare const ConversationProgressBar: (props: Props) => import("solid-js").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=ConversationProgressBar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationProgressBar.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,uBAAuB,GAAI,OAAO,KAAK,mCASnD,CAAA"}
@@ -0,0 +1,8 @@
1
+ type Props = {
2
+ hostAvatarSrc?: string;
3
+ hideAvatar?: boolean;
4
+ isTransitionDisabled?: boolean;
5
+ };
6
+ export declare const HostAvatar: (props: Props) => import("solid-js").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=HostAvatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HostAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/HostAvatar.tsx"],"names":[],"mappings":"AAIA,KAAK,KAAK,GAAG;IACX,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCAqCtC,CAAA"}
@@ -0,0 +1,7 @@
1
+ import { InputBlockBaseProps } from '@/types';
2
+ type Props = InputBlockBaseProps & {
3
+ ref: HTMLDivElement | undefined;
4
+ };
5
+ export declare const InputAnswer: (props: Props) => import("solid-js").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=InputAnswer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputAnswer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/InputAnswer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKjE,KAAK,KAAK,GAAG,mBAAmB,GAAG;IACjC,GAAG,EAAE,cAAc,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,mCAiBvC,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import { SendMessageResponse, Message, ThemeProps } from '@quickbot.io/schemas';
3
+ export declare const convertSubmitContentToMessage: (answer: InputSubmitContent | undefined) => Message | undefined;
4
+ export declare const autoScrollToBottom: (containerElement: HTMLDivElement | undefined, shouldAutoScroll: boolean) => void;
5
+ export declare const parseDynamicTheme: (initialTheme: ThemeProps, dynamicTheme: SendMessageResponse["dynamicTheme"]) => ThemeProps;
6
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAE/E,eAAO,MAAM,6BAA6B,GACxC,QAAQ,kBAAkB,GAAG,SAAS,KACrC,OAAO,GAAG,SASZ,CAAA;AAED,eAAO,MAAM,kBAAkB,GAC7B,kBAAkB,cAAc,GAAG,SAAS,EAC5C,kBAAkB,OAAO,SAI1B,CAAA;AAED,eAAO,MAAM,iBAAiB,GAC5B,cAAc,UAAU,EACxB,cAAc,mBAAmB,CAAC,cAAc,CAAC,KAChD,UAmBD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './ConversationContainer';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA"}
@@ -0,0 +1,42 @@
1
+ import { Accessor, JSX } from 'solid-js';
2
+ import { SendMessageResponse, ThemeProps, CreateConversationResponse } from '@quickbot.io/schemas';
3
+ import { BotContext, ChatChunk as ChatChunkType, InputSubmitContent, OutgoingLog } from '@/types';
4
+ type ConversationContextType = {
5
+ chatChunks: Accessor<ChatChunkType[]>;
6
+ theme: Accessor<ThemeProps>;
7
+ hasError: Accessor<boolean>;
8
+ setHasError: (hasError: boolean) => void;
9
+ isSending: Accessor<boolean>;
10
+ blockedPopupUrl: Accessor<string | undefined>;
11
+ setBlockedPopupUrl: (url: string | undefined) => void;
12
+ currentBlock: () => ChatChunkType | undefined;
13
+ scrollToBottom: () => void;
14
+ registerScrollToBottom: (fn: () => void) => void;
15
+ displayedMessageIndexes: Accessor<Record<number, number>>;
16
+ setDisplayedMessageIndex: (chunkIndex: number, index: number) => void;
17
+ getDisplayedMessageIndex: (chunkIndex: number) => number;
18
+ sendMessage: (answer?: InputSubmitContent) => Promise<void>;
19
+ processClientSideActions: (actions: NonNullable<SendMessageResponse['clientSideActions']>) => Promise<void>;
20
+ onBubblesDisplayed: () => void;
21
+ };
22
+ type Props = {
23
+ children: JSX.Element;
24
+ initialChatReply: CreateConversationResponse;
25
+ context: BotContext;
26
+ onNewBlock?: (block: {
27
+ id: string;
28
+ type: string;
29
+ }) => void;
30
+ onAnswer?: (answer: {
31
+ message: string;
32
+ blockId: string;
33
+ }) => void;
34
+ onEnd?: () => void;
35
+ onNewLogs?: (logs: OutgoingLog[]) => void;
36
+ onProgressUpdate?: (progress: number) => void;
37
+ onBubblesDisplayed?: () => void;
38
+ };
39
+ export declare const ConversationProvider: (props: Props) => JSX.Element;
40
+ export declare const useConversation: () => ConversationContextType;
41
+ export {};
42
+ //# sourceMappingURL=ConversationContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationContext.d.ts","sourceRoot":"","sources":["../../src/components/ConversationContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,QAAQ,EACR,GAAG,EAEJ,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,mBAAmB,EACnB,UAAU,EAEV,0BAA0B,EAE3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAajG,KAAK,uBAAuB,GAAG;IAC7B,UAAU,EAAE,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;IAC3B,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC3B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;IACxC,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC5B,eAAe,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IACrD,YAAY,EAAE,MAAM,aAAa,GAAG,SAAS,CAAA;IAC7C,cAAc,EAAE,MAAM,IAAI,CAAA;IAC1B,sBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,KAAK,IAAI,CAAA;IAChD,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACzD,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrE,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D,wBAAwB,EAAE,CACxB,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,KAC3D,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAID,eAAO,MAAM,oBAAoB,UAAW,KAAK,gBAgShD,CAAA;AAED,eAAO,MAAM,eAAe,QAAO,uBAMlC,CAAA"}
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ error: Error;
3
+ };
4
+ export declare const ErrorMessage: (props: Props) => import("solid-js").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=ErrorMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../src/components/ErrorMessage.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAA;CACb,CAAA;AACD,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,mCAOxC,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const FooterEndConversation: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=FooterEndConversation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterEndConversation.d.ts","sourceRoot":"","sources":["../../src/components/FooterEndConversation.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,sCAQjC,CAAA"}
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ botContainer: HTMLDivElement | undefined;
3
+ };
4
+ export declare const FooterLiteBadge: (props: Props) => import("solid-js").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=FooterLiteBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterLiteBadge.d.ts","sourceRoot":"","sources":["../../src/components/FooterLiteBadge.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,mCAyC3C,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { JSX } from 'solid-js';
2
+ interface FormLayoutProps {
3
+ children: JSX.Element;
4
+ onSubmit: () => void;
5
+ buttonLabel?: string;
6
+ isDisabled?: boolean;
7
+ class?: string;
8
+ customButton?: JSX.Element;
9
+ isInputDisabled?: () => boolean;
10
+ hasError?: boolean;
11
+ }
12
+ /**
13
+ * Generic form layout component
14
+ * Provides base form structure and submit behavior without styling assumptions
15
+ */
16
+ export declare const FormLayout: (props: FormLayoutProps) => JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=FormLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormLayout.d.ts","sourceRoot":"","sources":["../../src/components/FormLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAA;AAGpC,UAAU,eAAe;IACvB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,UAAW,eAAe,gBA4ChD,CAAA"}
@@ -0,0 +1,46 @@
1
+ import { Accessor, JSX } from 'solid-js';
2
+ import { SendMessageResponse, ThemeProps, CreateConversationResponse } from '@quickbot.io/schemas';
3
+ import { BotContext, ChatChunk as ChatChunkType, InputSubmitContent, OutgoingLog } from '@/types';
4
+ type InputAnswerContextType = {
5
+ chatChunks: Accessor<ChatChunkType[]>;
6
+ theme: Accessor<ThemeProps>;
7
+ dynamicTheme: Accessor<SendMessageResponse['dynamicTheme']>;
8
+ setTheme: (theme: ThemeProps) => void;
9
+ hasError: Accessor<boolean>;
10
+ setHasError: (hasError: boolean) => void;
11
+ isSending: Accessor<boolean>;
12
+ blockedPopupUrl: Accessor<string | undefined>;
13
+ setBlockedPopupUrl: (url: string | undefined) => void;
14
+ blockRef: HTMLDivElement | undefined;
15
+ currentBlock: () => ChatChunkType | undefined;
16
+ answers: Accessor<Record<number, InputSubmitContent | undefined>>;
17
+ setAnswer: (chunkIndex: number, content: InputSubmitContent | undefined) => void;
18
+ getAnswer: (chunkIndex: number) => InputSubmitContent | undefined;
19
+ displayedMessageIndexes: Accessor<Record<number, number>>;
20
+ setDisplayedMessageIndex: (chunkIndex: number, index: number) => void;
21
+ getDisplayedMessageIndex: (chunkIndex: number) => number;
22
+ sendMessage: (answer?: InputSubmitContent) => Promise<void>;
23
+ processClientSideActions: (actions: NonNullable<SendMessageResponse['clientSideActions']>) => Promise<void>;
24
+ onBubblesDisplayed: () => void;
25
+ };
26
+ type Props = {
27
+ children: JSX.Element;
28
+ initialChatReply: CreateConversationResponse;
29
+ context: BotContext;
30
+ onNewBlock?: (block: {
31
+ id: string;
32
+ type: string;
33
+ }) => void;
34
+ onAnswer?: (answer: {
35
+ message: string;
36
+ blockId: string;
37
+ }) => void;
38
+ onEnd?: () => void;
39
+ onNewLogs?: (logs: OutgoingLog[]) => void;
40
+ onProgressUpdate?: (progress: number) => void;
41
+ onBubblesDisplayed?: () => void;
42
+ };
43
+ export declare const InputAnswerProvider: (props: Props) => JSX.Element;
44
+ export declare const useInputAnswer: () => InputAnswerContextType;
45
+ export {};
46
+ //# sourceMappingURL=InputAnswerContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputAnswerContext.d.ts","sourceRoot":"","sources":["../../src/components/InputAnswerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,QAAQ,EACR,GAAG,EAEJ,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,mBAAmB,EACnB,UAAU,EAEV,0BAA0B,EAE3B,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAejG,KAAK,sBAAsB,GAAG;IAC5B,UAAU,EAAE,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAA;IAC3B,YAAY,EAAE,QAAQ,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC3D,QAAQ,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAA;IACrC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC3B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;IACxC,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC5B,eAAe,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IACrD,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,YAAY,EAAE,MAAM,aAAa,GAAG,SAAS,CAAA;IAC7C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC,CAAC,CAAA;IACjE,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,SAAS,KAAK,IAAI,CAAA;IAChF,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAA;IACjE,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACzD,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrE,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D,wBAAwB,EAAE,CACxB,OAAO,EAAE,WAAW,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,KAC3D,OAAO,CAAC,IAAI,CAAC,CAAA;IAClB,kBAAkB,EAAE,MAAM,IAAI,CAAA;CAC/B,CAAA;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,gBAAgB,EAAE,0BAA0B,CAAA;IAC5C,OAAO,EAAE,UAAU,CAAA;IACnB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAA;CAChC,CAAA;AAID,eAAO,MAAM,mBAAmB,UAAW,KAAK,gBAwT/C,CAAA;AAED,eAAO,MAAM,cAAc,QAAO,sBAMjC,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { InputBlockBaseProps } from '@/types';
2
+ type Props = InputBlockBaseProps;
3
+ export declare const InputBlockDispatcher: (props: Props) => import("solid-js").JSX.Element;
4
+ export {};
5
+ //# sourceMappingURL=InputBlockDispatcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputBlockDispatcher.d.ts","sourceRoot":"","sources":["../../src/components/InputBlockDispatcher.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAsB,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAiBjE,KAAK,KAAK,GAAG,mBAAmB,CAAA;AAEhC,eAAO,MAAM,oBAAoB,GAAI,OAAO,KAAK,mCA+IhD,CAAA"}
@@ -0,0 +1,8 @@
1
+ import { JSX } from 'solid-js';
2
+ type Props = {
3
+ children: JSX.Element;
4
+ class?: string;
5
+ };
6
+ export declare const InputErrorMessage: (props: Props) => JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=InputErrorMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputErrorMessage.d.ts","sourceRoot":"","sources":["../../src/components/InputErrorMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAG9B,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,OAAO,KAAK,gBAW7C,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { JSX } from 'solid-js';
2
+ interface InputFormLayoutProps {
3
+ children: JSX.Element;
4
+ onSubmit: () => void;
5
+ buttonLabel?: string;
6
+ isDisabled?: boolean;
7
+ class?: string;
8
+ customButton?: JSX.Element;
9
+ isInputDisabled?: () => boolean;
10
+ hasError?: boolean;
11
+ variant?: 'field' | 'plain';
12
+ }
13
+ export declare const InputFormLayout: (props: InputFormLayoutProps) => JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=InputFormLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputFormLayout.d.ts","sourceRoot":"","sources":["../../src/components/InputFormLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAA;AAGpC,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,OAAO,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;CAC5B;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,oBAAoB,gBA8C1D,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'solid-js';
2
+ type Props = {
3
+ isOpen?: boolean;
4
+ onClose?: () => void;
5
+ children: JSX.Element;
6
+ };
7
+ export declare const Modal: (props: Props) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/components/Modal.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAG9B,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;CACtB,CAAA;AACD,eAAO,MAAM,KAAK,GAAI,OAAO,KAAK,gBAiBjC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js';
2
+ export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=Spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAG9B,eAAO,MAAM,OAAO,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAA"}
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ onNewFiles: (files: FileList) => void;
3
+ class?: string;
4
+ };
5
+ export declare const TextInputAddFileButton: (props: Props) => import("solid-js").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=TextInputAddFileButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInputAddFileButton.d.ts","sourceRoot":"","sources":["../../src/components/TextInputAddFileButton.tsx"],"names":[],"mappings":"AAMA,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AACD,eAAO,MAAM,sBAAsB,GAAI,OAAO,KAAK,mCAsFlD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const TypingBubble: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=TypingBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypingBubble.d.ts","sourceRoot":"","sources":["../../src/components/TypingBubble.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,sCAMxB,CAAA"}
@@ -0,0 +1,4 @@
1
+ export declare const Avatar: (props: {
2
+ initialAvatarSrc?: string;
3
+ }) => import("solid-js").JSX.Element;
4
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/Avatar.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,GAAI,OAAO;IAAE,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,mCA0B1D,CAAA"}
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ boxSize?: string;
3
+ width?: string;
4
+ };
5
+ export declare const AvatarPlaceholder: ({ boxSize, width }?: Props) => import("solid-js").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=AvatarPlaceholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AvatarPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/AvatarPlaceholder.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,qBAAoB,KAAU,mCAsB/D,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ type Props = {
3
+ answer?: InputSubmitContent;
4
+ showAvatar: boolean;
5
+ avatarSrc?: string;
6
+ hasHostAvatar: boolean;
7
+ };
8
+ export declare const GuestBubble: (props: Props) => import("solid-js").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=GuestBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuestBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/GuestBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAuD,MAAM,SAAS,CAAA;AAMjG,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,kBAAkB,CAAA;IAC3B,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,OAAO,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,WAAW,UAAW,KAAK,mCAsBvC,CAAA"}