@makebot.it/js 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/README.md +170 -0
  2. package/dist/index.d.ts +143 -18
  3. package/dist/index.js +0 -1
  4. package/dist/web.js +1239 -46
  5. package/package.json +4 -3
  6. package/dist/components/Bot.d.ts +0 -31
  7. package/dist/components/Bot.d.ts.map +0 -1
  8. package/dist/components/Button.d.ts +0 -13
  9. package/dist/components/Button.d.ts.map +0 -1
  10. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -9
  11. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
  12. package/dist/components/ConversationContainer/ChatChunk.d.ts +0 -23
  13. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
  14. package/dist/components/ConversationContainer/ChatContainer.d.ts +0 -20
  15. package/dist/components/ConversationContainer/ChatContainer.d.ts.map +0 -1
  16. package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
  17. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
  18. package/dist/components/ErrorMessage.d.ts +0 -6
  19. package/dist/components/ErrorMessage.d.ts.map +0 -1
  20. package/dist/components/FixedInputFooter.d.ts +0 -11
  21. package/dist/components/FixedInputFooter.d.ts.map +0 -1
  22. package/dist/components/InputChatBlock.d.ts +0 -16
  23. package/dist/components/InputChatBlock.d.ts.map +0 -1
  24. package/dist/components/LiteBadge.d.ts +0 -6
  25. package/dist/components/LiteBadge.d.ts.map +0 -1
  26. package/dist/components/Modal.d.ts +0 -9
  27. package/dist/components/Modal.d.ts.map +0 -1
  28. package/dist/components/ProgressBar.d.ts +0 -6
  29. package/dist/components/ProgressBar.d.ts.map +0 -1
  30. package/dist/components/SendButton.d.ts +0 -9
  31. package/dist/components/SendButton.d.ts.map +0 -1
  32. package/dist/components/Spinner.d.ts +0 -3
  33. package/dist/components/Spinner.d.ts.map +0 -1
  34. package/dist/components/TextInputAddFileButton.d.ts +0 -7
  35. package/dist/components/TextInputAddFileButton.d.ts.map +0 -1
  36. package/dist/components/TypingBubble.d.ts +0 -2
  37. package/dist/components/TypingBubble.d.ts.map +0 -1
  38. package/dist/components/avatars/Avatar.d.ts +0 -5
  39. package/dist/components/avatars/Avatar.d.ts.map +0 -1
  40. package/dist/components/avatars/DefaultAvatar.d.ts +0 -4
  41. package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
  42. package/dist/components/bubbles/GuestBubble.d.ts +0 -9
  43. package/dist/components/bubbles/GuestBubble.d.ts.map +0 -1
  44. package/dist/components/bubbles/HostBubble.d.ts +0 -13
  45. package/dist/components/bubbles/HostBubble.d.ts.map +0 -1
  46. package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
  47. package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
  48. package/dist/components/bubbles/StreamingBubble.d.ts +0 -7
  49. package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
  50. package/dist/components/carousel.d.ts +0 -10
  51. package/dist/components/carousel.d.ts.map +0 -1
  52. package/dist/components/icons/ArrowLeftIcon.d.ts +0 -3
  53. package/dist/components/icons/ArrowLeftIcon.d.ts.map +0 -1
  54. package/dist/components/icons/ArrowRightIcon.d.ts +0 -3
  55. package/dist/components/icons/ArrowRightIcon.d.ts.map +0 -1
  56. package/dist/components/icons/CameraIcon.d.ts +0 -3
  57. package/dist/components/icons/CameraIcon.d.ts.map +0 -1
  58. package/dist/components/icons/CheckIcon.d.ts +0 -3
  59. package/dist/components/icons/CheckIcon.d.ts.map +0 -1
  60. package/dist/components/icons/ChevronDownIcon.d.ts +0 -3
  61. package/dist/components/icons/ChevronDownIcon.d.ts.map +0 -1
  62. package/dist/components/icons/ChevronUpIcon.d.ts +0 -3
  63. package/dist/components/icons/ChevronUpIcon.d.ts.map +0 -1
  64. package/dist/components/icons/CloseIcon.d.ts +0 -3
  65. package/dist/components/icons/CloseIcon.d.ts.map +0 -1
  66. package/dist/components/icons/FileIcon.d.ts +0 -3
  67. package/dist/components/icons/FileIcon.d.ts.map +0 -1
  68. package/dist/components/icons/MakebotLogo.d.ts +0 -2
  69. package/dist/components/icons/MakebotLogo.d.ts.map +0 -1
  70. package/dist/components/icons/MicrophoneIcon.d.ts +0 -3
  71. package/dist/components/icons/MicrophoneIcon.d.ts.map +0 -1
  72. package/dist/components/icons/PaperClipIcon.d.ts +0 -3
  73. package/dist/components/icons/PaperClipIcon.d.ts.map +0 -1
  74. package/dist/components/icons/PictureIcon.d.ts +0 -3
  75. package/dist/components/icons/PictureIcon.d.ts.map +0 -1
  76. package/dist/components/icons/PlusIcon.d.ts +0 -3
  77. package/dist/components/icons/PlusIcon.d.ts.map +0 -1
  78. package/dist/components/icons/SendIcon.d.ts +0 -3
  79. package/dist/components/icons/SendIcon.d.ts.map +0 -1
  80. package/dist/components/inputs/SearchInput.d.ts +0 -9
  81. package/dist/components/inputs/SearchInput.d.ts.map +0 -1
  82. package/dist/components/inputs/ShortTextInput.d.ts +0 -9
  83. package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
  84. package/dist/components/inputs/Textarea.d.ts +0 -9
  85. package/dist/components/inputs/Textarea.d.ts.map +0 -1
  86. package/dist/constants.d.ts +0 -86
  87. package/dist/constants.d.ts.map +0 -1
  88. package/dist/contexts/BotContainerContext.d.ts +0 -4
  89. package/dist/contexts/BotContainerContext.d.ts.map +0 -1
  90. package/dist/contexts/ChatContainerSizeContext.d.ts +0 -9
  91. package/dist/contexts/ChatContainerSizeContext.d.ts.map +0 -1
  92. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +0 -8
  93. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +0 -1
  94. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts +0 -11
  95. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts.map +0 -1
  96. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -11
  97. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
  98. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +0 -11
  99. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +0 -1
  100. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +0 -10
  101. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +0 -1
  102. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts +0 -11
  103. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts.map +0 -1
  104. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts +0 -11
  105. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts.map +0 -1
  106. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +0 -12
  107. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +0 -1
  108. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +0 -9
  109. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +0 -1
  110. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +0 -9
  111. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +0 -1
  112. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
  113. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
  114. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +0 -9
  115. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +0 -1
  116. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +0 -11
  117. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +0 -1
  118. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
  119. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
  120. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -10
  121. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
  122. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts +0 -20
  123. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts.map +0 -1
  124. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +0 -10
  125. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +0 -1
  126. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +0 -10
  127. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +0 -1
  128. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +0 -8
  129. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +0 -1
  130. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +0 -11
  131. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +0 -1
  132. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts +0 -6
  133. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
  134. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts +0 -15
  135. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
  136. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts +0 -28
  137. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
  138. package/dist/features/blocks/inputs/list/components/List.d.ts +0 -9
  139. package/dist/features/blocks/inputs/list/components/List.d.ts.map +0 -1
  140. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +0 -10
  141. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +0 -1
  142. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts +0 -2
  143. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
  144. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +0 -12
  145. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +0 -1
  146. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +0 -12
  147. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +0 -1
  148. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +0 -5
  149. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
  150. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +0 -9
  151. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +0 -1
  152. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +0 -10
  153. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +0 -1
  154. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +0 -11
  155. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
  156. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +0 -12
  157. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
  158. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts +0 -2
  159. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
  160. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts +0 -10
  161. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts.map +0 -1
  162. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +0 -10
  163. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +0 -1
  164. package/dist/features/blocks/integrations/chatwoot/constants.d.ts +0 -2
  165. package/dist/features/blocks/integrations/chatwoot/constants.d.ts.map +0 -1
  166. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +0 -7
  167. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +0 -1
  168. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts +0 -2
  169. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts.map +0 -1
  170. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
  171. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
  172. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts +0 -3
  173. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts.map +0 -1
  174. package/dist/features/blocks/integrations/openai/streamChat.d.ts +0 -19
  175. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
  176. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +0 -3
  177. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +0 -1
  178. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +0 -5
  179. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +0 -1
  180. package/dist/features/blocks/logic/script/executeScript.d.ts +0 -19
  181. package/dist/features/blocks/logic/script/executeScript.d.ts.map +0 -1
  182. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -7
  183. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
  184. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +0 -6
  185. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +0 -1
  186. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts +0 -13
  187. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts.map +0 -1
  188. package/dist/features/bubble/components/Bubble.d.ts +0 -15
  189. package/dist/features/bubble/components/Bubble.d.ts.map +0 -1
  190. package/dist/features/bubble/components/BubbleButton.d.ts +0 -8
  191. package/dist/features/bubble/components/BubbleButton.d.ts.map +0 -1
  192. package/dist/features/bubble/components/PreviewMessage.d.ts +0 -8
  193. package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
  194. package/dist/features/bubble/types.d.ts +0 -37
  195. package/dist/features/bubble/types.d.ts.map +0 -1
  196. package/dist/features/commands/index.d.ts +0 -12
  197. package/dist/features/commands/index.d.ts.map +0 -1
  198. package/dist/features/commands/types.d.ts +0 -26
  199. package/dist/features/commands/types.d.ts.map +0 -1
  200. package/dist/features/commands/utils/close.d.ts +0 -3
  201. package/dist/features/commands/utils/close.d.ts.map +0 -1
  202. package/dist/features/commands/utils/hidePreviewMessage.d.ts +0 -3
  203. package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +0 -1
  204. package/dist/features/commands/utils/open.d.ts +0 -3
  205. package/dist/features/commands/utils/open.d.ts.map +0 -1
  206. package/dist/features/commands/utils/reload.d.ts +0 -3
  207. package/dist/features/commands/utils/reload.d.ts.map +0 -1
  208. package/dist/features/commands/utils/sendCommand.d.ts +0 -3
  209. package/dist/features/commands/utils/sendCommand.d.ts.map +0 -1
  210. package/dist/features/commands/utils/setInputValue.d.ts +0 -3
  211. package/dist/features/commands/utils/setInputValue.d.ts.map +0 -1
  212. package/dist/features/commands/utils/setPrefilledVariables.d.ts +0 -3
  213. package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +0 -1
  214. package/dist/features/commands/utils/showPreviewMessage.d.ts +0 -3
  215. package/dist/features/commands/utils/showPreviewMessage.d.ts.map +0 -1
  216. package/dist/features/commands/utils/toggle.d.ts +0 -3
  217. package/dist/features/commands/utils/toggle.d.ts.map +0 -1
  218. package/dist/features/commands/utils/unmount.d.ts +0 -3
  219. package/dist/features/commands/utils/unmount.d.ts.map +0 -1
  220. package/dist/features/popup/components/Popup.d.ts +0 -11
  221. package/dist/features/popup/components/Popup.d.ts.map +0 -1
  222. package/dist/features/popup/types.d.ts +0 -9
  223. package/dist/features/popup/types.d.ts.map +0 -1
  224. package/dist/features/standard/components/Standard.d.ts +0 -5
  225. package/dist/features/standard/components/Standard.d.ts.map +0 -1
  226. package/dist/index.d.ts.map +0 -1
  227. package/dist/lib/gtag.d.ts +0 -4
  228. package/dist/lib/gtag.d.ts.map +0 -1
  229. package/dist/lib/gtm.d.ts +0 -3
  230. package/dist/lib/gtm.d.ts.map +0 -1
  231. package/dist/lib/pixel.d.ts +0 -4
  232. package/dist/lib/pixel.d.ts.map +0 -1
  233. package/dist/queries/continueChatQuery.d.ts +0 -722
  234. package/dist/queries/continueChatQuery.d.ts.map +0 -1
  235. package/dist/queries/saveClientLogsQuery.d.ts +0 -7
  236. package/dist/queries/saveClientLogsQuery.d.ts.map +0 -1
  237. package/dist/queries/startChatQuery.d.ts +0 -20
  238. package/dist/queries/startChatQuery.d.ts.map +0 -1
  239. package/dist/register.d.ts +0 -2
  240. package/dist/register.d.ts.map +0 -1
  241. package/dist/types.d.ts +0 -49
  242. package/dist/types.d.ts.map +0 -1
  243. package/dist/utils/CorsError.d.ts +0 -4
  244. package/dist/utils/CorsError.d.ts.map +0 -1
  245. package/dist/utils/dynamicTheme.d.ts +0 -4
  246. package/dist/utils/dynamicTheme.d.ts.map +0 -1
  247. package/dist/utils/error.d.ts +0 -2
  248. package/dist/utils/error.d.ts.map +0 -1
  249. package/dist/utils/executeClientSideActions.d.ts +0 -25
  250. package/dist/utils/executeClientSideActions.d.ts.map +0 -1
  251. package/dist/utils/getAnswerContent.d.ts +0 -3
  252. package/dist/utils/getAnswerContent.d.ts.map +0 -1
  253. package/dist/utils/getPartyKitHost.d.ts +0 -2
  254. package/dist/utils/getPartyKitHost.d.ts.map +0 -1
  255. package/dist/utils/guessApiHost.d.ts +0 -6
  256. package/dist/utils/guessApiHost.d.ts.map +0 -1
  257. package/dist/utils/injectFont.d.ts +0 -3
  258. package/dist/utils/injectFont.d.ts.map +0 -1
  259. package/dist/utils/injectStartProps.d.ts +0 -3
  260. package/dist/utils/injectStartProps.d.ts.map +0 -1
  261. package/dist/utils/migrateLegacyChatChunks.d.ts +0 -10
  262. package/dist/utils/migrateLegacyChatChunks.d.ts.map +0 -1
  263. package/dist/utils/persist.d.ts +0 -9
  264. package/dist/utils/persist.d.ts.map +0 -1
  265. package/dist/utils/resolveBubbleButtonSize.d.ts +0 -5
  266. package/dist/utils/resolveBubbleButtonSize.d.ts.map +0 -1
  267. package/dist/utils/scrollContainer.d.ts +0 -2
  268. package/dist/utils/scrollContainer.d.ts.map +0 -1
  269. package/dist/utils/setCssVariablesValue.d.ts +0 -16
  270. package/dist/utils/setCssVariablesValue.d.ts.map +0 -1
  271. package/dist/utils/storage.d.ts +0 -875
  272. package/dist/utils/storage.d.ts.map +0 -1
  273. package/dist/utils/toaster.d.ts +0 -2
  274. package/dist/utils/toaster.d.ts.map +0 -1
  275. package/dist/web.d.ts +0 -19
  276. package/dist/web.d.ts.map +0 -1
  277. package/dist/window.d.ts +0 -29
  278. package/dist/window.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "@makebot.it/js",
3
- "version": "1.0.2",
4
- "description": "Biblioteca Javascript para exibir makebots em seu site",
3
+ "version": "1.1.0",
5
4
  "type": "module",
6
5
  "main": "./dist/index.js",
7
6
  "types": "./dist/index.d.ts",
@@ -10,7 +9,9 @@
10
9
  "./web": "./dist/web.js"
11
10
  },
12
11
  "files": [
13
- "dist"
12
+ "dist",
13
+ "README.md",
14
+ "package.json"
14
15
  ],
15
16
  "publishConfig": {
16
17
  "access": "public"
@@ -1,31 +0,0 @@
1
- import type { InputBlock } from "@makebot.it/blocks-inputs/schema";
2
- import type { StartFrom, StartMakebot } from "@makebot.it/chat-api/schemas";
3
- import type { LogInSession } from "@makebot.it/logs/schemas";
4
- import type { Font } from "@makebot.it/theme/schemas";
5
- export type BotProps = {
6
- id?: string;
7
- makebot: string | StartMakebot | undefined;
8
- isPreview?: boolean;
9
- resultId?: string;
10
- prefilledVariables?: Record<string, unknown>;
11
- apiHost?: string;
12
- wsHost?: string;
13
- font?: Font;
14
- progressBarRef?: HTMLDivElement;
15
- startFrom?: StartFrom;
16
- sessionId?: string;
17
- onNewInputBlock?: (inputBlock: InputBlock) => void;
18
- onAnswer?: (answer: {
19
- message: string;
20
- blockId: string;
21
- }) => void;
22
- onInit?: () => void;
23
- onEnd?: () => void;
24
- onNewLogs?: (logs: LogInSession[]) => void;
25
- onChatStatePersisted?: (isEnabled: boolean) => void;
26
- onScriptExecutionSuccess?: (message: string) => void;
27
- };
28
- export declare const Bot: (props: BotProps & {
29
- class?: string;
30
- }) => import("solid-js").JSX.Element;
31
- //# sourceMappingURL=Bot.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/components/Bot.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAEV,SAAS,EACT,YAAY,EACb,MAAM,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAW7D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAatD,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAAC;IAC3C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAClE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC3C,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACpD,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,GAAG,GAAI,OAAO,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,mCA2NvD,CAAC"}
@@ -1,13 +0,0 @@
1
- import { type JSX } from "solid-js";
2
- export type ButtonProps = {
3
- size?: "sm" | "md";
4
- variant?: "primary" | "secondary";
5
- isDisabled?: boolean;
6
- isLoading?: boolean;
7
- } & Pick<JSX.ButtonHTMLAttributes<HTMLButtonElement>, "class" | "children" | "type" | "on:click">;
8
- export declare const buttonVariants: (props?: ({
9
- variant?: "primary" | "secondary" | null | undefined;
10
- size?: "icon" | "sm" | "md" | null | undefined;
11
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
- export declare const Button: (props: ButtonProps) => JSX.Element;
13
- //# sourceMappingURL=Button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,GAAG,EAA8B,MAAM,UAAU,CAAC;AAGhE,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,IAAI,CACN,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAC3C,OAAO,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAC3C,CAAC;AAEF,eAAO,MAAM,cAAc;;;8EAqB1B,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,gBAuBxC,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { Theme } from "@makebot.it/theme/schemas";
2
- type Props = {
3
- hideAvatar?: boolean;
4
- isTransitionDisabled?: boolean;
5
- theme: Theme;
6
- };
7
- export declare const AvatarSideContainer: (props: Props) => import("solid-js").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=AvatarSideContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AvatarSideContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/AvatarSideContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAKvD,KAAK,KAAK,GAAG;IACX,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,mCAiD/C,CAAC"}
@@ -1,23 +0,0 @@
1
- import type { BotContext, ChatChunk as ChatChunkType, InputSubmitContent } from "@/types";
2
- import type { Settings } from "@makebot.it/settings/schemas";
3
- import type { Theme } from "@makebot.it/theme/schemas";
4
- type Props = Pick<ChatChunkType, "messages" | "input" | "streamingMessage"> & {
5
- theme: Theme;
6
- settings: Settings;
7
- index: number;
8
- context: BotContext;
9
- hideAvatar: boolean;
10
- isTransitionDisabled?: boolean;
11
- isSessionFinalized?: boolean;
12
- onNewBubbleDisplayed: (blockId: string) => Promise<void>;
13
- onScrollToBottom: ({ lastElement, offset, }: {
14
- lastElement?: HTMLDivElement;
15
- offset?: number;
16
- }) => void;
17
- onSubmit: (answer?: InputSubmitContent) => void;
18
- onSkip: (label: string) => void;
19
- onAllBubblesDisplayed: () => void;
20
- };
21
- export declare const ChatChunk: (props: Props) => import("solid-js").JSX.Element;
22
- export {};
23
- //# sourceMappingURL=ChatChunk.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChatChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ChatChunk.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,SAAS,IAAI,aAAa,EAC1B,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAM7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AASvD,KAAK,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,UAAU,GAAG,OAAO,GAAG,kBAAkB,CAAC,GAAG;IAC5E,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,UAAU,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzD,gBAAgB,EAAE,CAAC,EACjB,WAAW,EACX,MAAM,GACP,EAAE;QACD,WAAW,CAAC,EAAE,cAAc,CAAC;QAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,KAAK,IAAI,CAAC;IACX,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAChD,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,qBAAqB,EAAE,MAAM,IAAI,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,KAAK,mCAoKrC,CAAC"}
@@ -1,20 +0,0 @@
1
- import type { BotContext } from "@/types";
2
- import type { InputBlock } from "@makebot.it/blocks-inputs/schema";
3
- import type { StartChatResponse } from "@makebot.it/chat-api/schemas";
4
- import type { LogInSession } from "@makebot.it/logs/schemas";
5
- type Props = {
6
- initialChatReply: StartChatResponse;
7
- context: BotContext;
8
- onNewInputBlock?: (inputBlock: InputBlock) => void;
9
- onAnswer?: (answer: {
10
- message: string;
11
- blockId: string;
12
- }) => void;
13
- onEnd?: () => void;
14
- onNewLogs?: (logs: LogInSession[]) => void;
15
- onProgressUpdate?: (progress: number) => void;
16
- onScriptExecutionSuccess?: (message: string) => void;
17
- };
18
- export declare const ChatContainer: (props: Props) => import("solid-js").JSX.Element;
19
- export {};
20
- //# sourceMappingURL=ChatContainer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChatContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ChatContainer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,UAAU,EAIX,MAAM,SAAS,CAAC;AAWjB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,KAAK,EAGV,iBAAiB,EAClB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAuB7D,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,iBAAiB,CAAC;IACpC,OAAO,EAAE,UAAU,CAAC;IACpB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,IAAI,CAAC;IAC3C,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,wBAAwB,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,KAAK,mCA4jBzC,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { Theme } from "@makebot.it/theme/schemas";
2
- type Props = {
3
- theme: Theme;
4
- };
5
- export declare const LoadingChunk: (props: Props) => import("solid-js").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=LoadingChunk.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoadingChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/LoadingChunk.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAKvD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,mCAgBxC,CAAC"}
@@ -1,6 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorMessage.d.ts","sourceRoot":"","sources":["../../src/components/ErrorMessage.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AACF,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,mCAOxC,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { InputSubmitContent } from "@/types";
2
- import type { ContinueChatResponse } from "@makebot.it/chat-api/schemas";
3
- type Props = {
4
- currentInputBlock?: NonNullable<ContinueChatResponse["input"]>;
5
- defaultValue?: string;
6
- onSubmit: (content: InputSubmitContent) => void;
7
- isDisabled?: boolean;
8
- };
9
- export declare const FixedInputFooter: (props: Props) => import("solid-js").JSX.Element;
10
- export {};
11
- //# sourceMappingURL=FixedInputFooter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FixedInputFooter.d.ts","sourceRoot":"","sources":["../../src/components/FixedInputFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAIzE,KAAK,KAAK,GAAG;IACX,iBAAiB,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAChD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,mCAiH5C,CAAC"}
@@ -1,16 +0,0 @@
1
- import type { BotContext, ChatChunk, InputSubmitContent } from "@/types";
2
- import type { Theme } from "@makebot.it/theme/schemas";
3
- type Props = {
4
- ref: HTMLDivElement | undefined;
5
- input: NonNullable<ChatChunk["input"]>;
6
- chunkIndex: number;
7
- context: BotContext;
8
- isInputPrefillEnabled: boolean;
9
- theme: Theme;
10
- onTransitionEnd: () => void;
11
- onSubmit: (content: InputSubmitContent) => void;
12
- onSkip: (label: string) => void;
13
- };
14
- export declare const InputChatBlock: (props: Props) => import("solid-js").JSX.Element;
15
- export {};
16
- //# sourceMappingURL=InputChatBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InputChatBlock.d.ts","sourceRoot":"","sources":["../../src/components/InputChatBlock.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAsBzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAIvD,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,cAAc,GAAG,SAAS,CAAC;IAChC,KAAK,EAAE,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IACvC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,UAAU,CAAC;IACpB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAChD,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,mCAiF1C,CAAC"}
@@ -1,6 +0,0 @@
1
- type Props = {
2
- botContainer: HTMLDivElement | undefined;
3
- };
4
- export declare const LiteBadge: (props: Props) => import("solid-js").JSX.Element;
5
- export {};
6
- //# sourceMappingURL=LiteBadge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LiteBadge.d.ts","sourceRoot":"","sources":["../../src/components/LiteBadge.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,KAAK,mCAmGrC,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { 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
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/components/Modal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAIpC,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;CACvB,CAAC;AACF,eAAO,MAAM,KAAK,GAAI,OAAO,KAAK,gBAoBjC,CAAC"}
@@ -1,6 +0,0 @@
1
- type Props = {
2
- value: number;
3
- };
4
- export declare const ProgressBar: (props: Props) => import("solid-js").JSX.Element;
5
- export {};
6
- //# sourceMappingURL=ProgressBar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../src/components/ProgressBar.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCASvC,CAAC"}
@@ -1,9 +0,0 @@
1
- import { type ButtonProps } from "./Button";
2
- type SendButtonProps = {
3
- isDisabled?: boolean;
4
- isLoading?: boolean;
5
- disableIcon?: boolean;
6
- } & ButtonProps;
7
- export declare const SendButton: (props: SendButtonProps) => import("solid-js").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=SendButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../src/components/SendButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAGpD,KAAK,eAAe,GAAG;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,WAAW,CAAC;AAEhB,eAAO,MAAM,UAAU,GAAI,OAAO,eAAe,mCA+BhD,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js";
2
- export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=Spinner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,OAAO,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAuBjE,CAAC"}
@@ -1,7 +0,0 @@
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
@@ -1 +0,0 @@
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,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,eAAO,MAAM,sBAAsB,GAAI,OAAO,KAAK,mCA8ElD,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const TypingBubble: () => import("solid-js").JSX.Element;
2
- //# sourceMappingURL=TypingBubble.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TypingBubble.d.ts","sourceRoot":"","sources":["../../src/components/TypingBubble.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,sCAMxB,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const Avatar: (props: {
2
- src: string | undefined;
3
- isChatContainerLight: boolean;
4
- }) => import("solid-js").JSX.Element;
5
- //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/Avatar.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM,GAAI,OAAO;IAC5B,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,oBAAoB,EAAE,OAAO,CAAC;CAC/B,mCAyCA,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const DefaultAvatar: ({ backgroundColor, }: {
2
- backgroundColor: string;
3
- }) => import("solid-js").JSX.Element;
4
- //# sourceMappingURL=DefaultAvatar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DefaultAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/DefaultAvatar.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,GAAI,sBAE3B;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,mCA+E7B,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { InputSubmitContent } from "@/types";
2
- import type { Theme } from "@makebot.it/theme/schemas";
3
- type Props = {
4
- answer?: InputSubmitContent;
5
- theme: Theme;
6
- };
7
- export declare const GuestBubble: (props: Props) => import("solid-js").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=GuestBubble.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GuestBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/GuestBubble.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,kBAAkB,EAGnB,MAAM,SAAS,CAAC;AAOjB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAMvD,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mCAqCvC,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { InputSubmitContent } from "@/types";
2
- import type { ChatBubble } from "@makebot.it/chat-api/schemas";
3
- import type { Settings } from "@makebot.it/settings/schemas";
4
- type Props = {
5
- message: ChatBubble;
6
- typingEmulation: Settings["typingEmulation"];
7
- isTypingSkipped: boolean;
8
- onTransitionEnd?: (ref?: HTMLDivElement) => void;
9
- onCompleted: (reply?: InputSubmitContent) => void;
10
- };
11
- export declare const HostBubble: (props: Props) => import("solid-js").JSX.Element;
12
- export {};
13
- //# sourceMappingURL=HostBubble.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HostBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/HostBubble.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAG7D,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,UAAU,CAAC;IACpB,eAAe,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IAC7C,eAAe,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,WAAW,EAAE,CAAC,KAAK,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCAyEtC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const LoadingBubble: () => import("solid-js").JSX.Element;
2
- //# sourceMappingURL=LoadingBubble.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoadingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/LoadingBubble.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,sCAsBzB,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { ChatChunk } from "@/types";
2
- type Props = {
3
- content: NonNullable<ChatChunk["streamingMessage"]>;
4
- };
5
- export declare const StreamingBubble: (props: Props) => import("solid-js").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=StreamingBubble.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StreamingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/StreamingBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAMzC,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,mCA+E3C,CAAC"}
@@ -1,10 +0,0 @@
1
- import { Carousel as ArkCarousel } from "@ark-ui/solid";
2
- export declare const Carousel: {
3
- Root: (props: ArkCarousel.RootProps) => import("solid-js").JSX.Element;
4
- Control: (props: ArkCarousel.ControlProps) => import("solid-js").JSX.Element;
5
- PrevTrigger: (props: ArkCarousel.PrevTriggerProps) => import("solid-js").JSX.Element;
6
- NextTrigger: (props: ArkCarousel.NextTriggerProps) => import("solid-js").JSX.Element;
7
- ItemGroup: (props: ArkCarousel.ItemGroupProps) => import("solid-js").JSX.Element;
8
- Item: (props: ArkCarousel.ItemProps) => import("solid-js").JSX.Element;
9
- };
10
- //# sourceMappingURL=carousel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"carousel.d.ts","sourceRoot":"","sources":["../../src/components/carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AA0BxD,eAAO,MAAM,QAAQ;kBAxBA,WAAW,CAAC,SAAS;qBAIlB,WAAW,CAAC,YAAY;yBAIpB,WAAW,CAAC,gBAAgB;yBAI5B,WAAW,CAAC,gBAAgB;uBAI9B,WAAW,CAAC,cAAc;kBAI/B,WAAW,CAAC,SAAS;CAWzC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const ArrowLeftIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ArrowLeftIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowLeftIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ArrowLeftIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAavE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const ArrowRightIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ArrowRightIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowRightIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ArrowRightIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAaxE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const CameraIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=CameraIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CameraIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CameraIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAcpE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const CheckIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=CheckIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CheckIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAanE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const ChevronDownIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ChevronDownIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronDownIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ChevronDownIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,eAAe,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAazE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const ChevronUpIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=ChevronUpIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronUpIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ChevronUpIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAavE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const CloseIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=CloseIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloseIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CloseIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAcnE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const FileIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=FileIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAclE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const MakebotLogo: () => import("solid-js").JSX.Element;
2
- //# sourceMappingURL=MakebotLogo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MakebotLogo.d.ts","sourceRoot":"","sources":["../../../src/components/icons/MakebotLogo.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,sCAgHvB,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const MicrophoneIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=MicrophoneIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MicrophoneIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/MicrophoneIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,cAAc,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBASxE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const PaperClipIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=PaperClipIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PaperClipIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/PaperClipIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAevE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const PictureIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=PictureIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PictureIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/PictureIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,WAAW,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAgBrE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const PlusIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=PlusIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PlusIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/PlusIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAclE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- export declare const SendIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
- //# sourceMappingURL=SendIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SendIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/SendIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,aAAa,CAAC,gBAelE,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { 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
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAGhD,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAClC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,CAAC;AAE/D,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,gBA+BvC,CAAC"}
@@ -1,9 +0,0 @@
1
- import type { JSX } from "solid-js/jsx-runtime";
2
- type ShortTextInputProps = {
3
- ref: HTMLInputElement | undefined;
4
- onInput: (value: string) => void;
5
- inputmode?: string;
6
- } & Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "onInput">;
7
- export declare const ShortTextInput: (props: ShortTextInputProps) => JSX.Element;
8
- export {};
9
- //# sourceMappingURL=ShortTextInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ShortTextInput.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/ShortTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAEhD,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,gBAAgB,GAAG,SAAS,CAAC;IAClC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,CAAC;AAE/D,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,gBAaxD,CAAC"}
@@ -1,9 +0,0 @@
1
- import { type JSX } from "solid-js";
2
- type TextareaProps = {
3
- ref: HTMLTextAreaElement | undefined;
4
- onInput: (value: string) => void;
5
- inputmode?: string;
6
- } & Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, "onInput">;
7
- export declare const Textarea: (props: TextareaProps) => JSX.Element;
8
- export {};
9
- //# sourceMappingURL=Textarea.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/inputs/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,GAAG,EAAc,MAAM,UAAU,CAAC;AAEhD,KAAK,aAAa,GAAG;IACnB,GAAG,EAAE,mBAAmB,GAAG,SAAS,CAAC;IACrC,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,SAAS,CAAC,CAAC;AAErE,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,gBAkB5C,CAAC"}