@makebot.it/js 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/README.md +170 -0
  2. package/dist/index.d.ts +143 -18
  3. package/dist/index.js +0 -1
  4. package/dist/web.js +1239 -46
  5. package/package.json +4 -3
  6. package/dist/components/Bot.d.ts +0 -31
  7. package/dist/components/Bot.d.ts.map +0 -1
  8. package/dist/components/Button.d.ts +0 -13
  9. package/dist/components/Button.d.ts.map +0 -1
  10. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts +0 -9
  11. package/dist/components/ConversationContainer/AvatarSideContainer.d.ts.map +0 -1
  12. package/dist/components/ConversationContainer/ChatChunk.d.ts +0 -23
  13. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +0 -1
  14. package/dist/components/ConversationContainer/ChatContainer.d.ts +0 -20
  15. package/dist/components/ConversationContainer/ChatContainer.d.ts.map +0 -1
  16. package/dist/components/ConversationContainer/LoadingChunk.d.ts +0 -7
  17. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +0 -1
  18. package/dist/components/ErrorMessage.d.ts +0 -6
  19. package/dist/components/ErrorMessage.d.ts.map +0 -1
  20. package/dist/components/FixedInputFooter.d.ts +0 -11
  21. package/dist/components/FixedInputFooter.d.ts.map +0 -1
  22. package/dist/components/InputChatBlock.d.ts +0 -16
  23. package/dist/components/InputChatBlock.d.ts.map +0 -1
  24. package/dist/components/LiteBadge.d.ts +0 -6
  25. package/dist/components/LiteBadge.d.ts.map +0 -1
  26. package/dist/components/Modal.d.ts +0 -9
  27. package/dist/components/Modal.d.ts.map +0 -1
  28. package/dist/components/ProgressBar.d.ts +0 -6
  29. package/dist/components/ProgressBar.d.ts.map +0 -1
  30. package/dist/components/SendButton.d.ts +0 -9
  31. package/dist/components/SendButton.d.ts.map +0 -1
  32. package/dist/components/Spinner.d.ts +0 -3
  33. package/dist/components/Spinner.d.ts.map +0 -1
  34. package/dist/components/TextInputAddFileButton.d.ts +0 -7
  35. package/dist/components/TextInputAddFileButton.d.ts.map +0 -1
  36. package/dist/components/TypingBubble.d.ts +0 -2
  37. package/dist/components/TypingBubble.d.ts.map +0 -1
  38. package/dist/components/avatars/Avatar.d.ts +0 -5
  39. package/dist/components/avatars/Avatar.d.ts.map +0 -1
  40. package/dist/components/avatars/DefaultAvatar.d.ts +0 -4
  41. package/dist/components/avatars/DefaultAvatar.d.ts.map +0 -1
  42. package/dist/components/bubbles/GuestBubble.d.ts +0 -9
  43. package/dist/components/bubbles/GuestBubble.d.ts.map +0 -1
  44. package/dist/components/bubbles/HostBubble.d.ts +0 -13
  45. package/dist/components/bubbles/HostBubble.d.ts.map +0 -1
  46. package/dist/components/bubbles/LoadingBubble.d.ts +0 -2
  47. package/dist/components/bubbles/LoadingBubble.d.ts.map +0 -1
  48. package/dist/components/bubbles/StreamingBubble.d.ts +0 -7
  49. package/dist/components/bubbles/StreamingBubble.d.ts.map +0 -1
  50. package/dist/components/carousel.d.ts +0 -10
  51. package/dist/components/carousel.d.ts.map +0 -1
  52. package/dist/components/icons/ArrowLeftIcon.d.ts +0 -3
  53. package/dist/components/icons/ArrowLeftIcon.d.ts.map +0 -1
  54. package/dist/components/icons/ArrowRightIcon.d.ts +0 -3
  55. package/dist/components/icons/ArrowRightIcon.d.ts.map +0 -1
  56. package/dist/components/icons/CameraIcon.d.ts +0 -3
  57. package/dist/components/icons/CameraIcon.d.ts.map +0 -1
  58. package/dist/components/icons/CheckIcon.d.ts +0 -3
  59. package/dist/components/icons/CheckIcon.d.ts.map +0 -1
  60. package/dist/components/icons/ChevronDownIcon.d.ts +0 -3
  61. package/dist/components/icons/ChevronDownIcon.d.ts.map +0 -1
  62. package/dist/components/icons/ChevronUpIcon.d.ts +0 -3
  63. package/dist/components/icons/ChevronUpIcon.d.ts.map +0 -1
  64. package/dist/components/icons/CloseIcon.d.ts +0 -3
  65. package/dist/components/icons/CloseIcon.d.ts.map +0 -1
  66. package/dist/components/icons/FileIcon.d.ts +0 -3
  67. package/dist/components/icons/FileIcon.d.ts.map +0 -1
  68. package/dist/components/icons/MakebotLogo.d.ts +0 -2
  69. package/dist/components/icons/MakebotLogo.d.ts.map +0 -1
  70. package/dist/components/icons/MicrophoneIcon.d.ts +0 -3
  71. package/dist/components/icons/MicrophoneIcon.d.ts.map +0 -1
  72. package/dist/components/icons/PaperClipIcon.d.ts +0 -3
  73. package/dist/components/icons/PaperClipIcon.d.ts.map +0 -1
  74. package/dist/components/icons/PictureIcon.d.ts +0 -3
  75. package/dist/components/icons/PictureIcon.d.ts.map +0 -1
  76. package/dist/components/icons/PlusIcon.d.ts +0 -3
  77. package/dist/components/icons/PlusIcon.d.ts.map +0 -1
  78. package/dist/components/icons/SendIcon.d.ts +0 -3
  79. package/dist/components/icons/SendIcon.d.ts.map +0 -1
  80. package/dist/components/inputs/SearchInput.d.ts +0 -9
  81. package/dist/components/inputs/SearchInput.d.ts.map +0 -1
  82. package/dist/components/inputs/ShortTextInput.d.ts +0 -9
  83. package/dist/components/inputs/ShortTextInput.d.ts.map +0 -1
  84. package/dist/components/inputs/Textarea.d.ts +0 -9
  85. package/dist/components/inputs/Textarea.d.ts.map +0 -1
  86. package/dist/constants.d.ts +0 -86
  87. package/dist/constants.d.ts.map +0 -1
  88. package/dist/contexts/BotContainerContext.d.ts +0 -4
  89. package/dist/contexts/BotContainerContext.d.ts.map +0 -1
  90. package/dist/contexts/ChatContainerSizeContext.d.ts +0 -9
  91. package/dist/contexts/ChatContainerSizeContext.d.ts.map +0 -1
  92. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +0 -8
  93. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +0 -1
  94. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts +0 -11
  95. package/dist/features/blocks/bubbles/contact/components/ContactBubble.d.ts.map +0 -1
  96. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +0 -11
  97. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +0 -1
  98. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +0 -11
  99. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +0 -1
  100. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +0 -10
  101. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +0 -1
  102. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts +0 -11
  103. package/dist/features/blocks/bubbles/location/components/LocationBubble.d.ts.map +0 -1
  104. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts +0 -11
  105. package/dist/features/blocks/bubbles/pix/components/PixBubble.d.ts.map +0 -1
  106. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +0 -12
  107. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +0 -1
  108. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts +0 -9
  109. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateBlock.d.ts.map +0 -1
  110. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts +0 -9
  111. package/dist/features/blocks/bubbles/textBubble/components/plate/PlateText.d.ts.map +0 -1
  112. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts +0 -3
  113. package/dist/features/blocks/bubbles/textBubble/helpers/convertRichTextToPlainText.d.ts.map +0 -1
  114. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +0 -9
  115. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +0 -1
  116. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +0 -11
  117. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +0 -1
  118. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts +0 -7
  119. package/dist/features/blocks/inputs/buttons/components/Checkbox.d.ts.map +0 -1
  120. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +0 -10
  121. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +0 -1
  122. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts +0 -20
  123. package/dist/features/blocks/inputs/cards/CardsCaroussel.d.ts.map +0 -1
  124. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +0 -10
  125. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +0 -1
  126. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +0 -10
  127. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +0 -1
  128. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts +0 -8
  129. package/dist/features/blocks/inputs/fileUpload/components/FilePreview.d.ts.map +0 -1
  130. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +0 -11
  131. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +0 -1
  132. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts +0 -6
  133. package/dist/features/blocks/inputs/fileUpload/components/SelectedFile.d.ts.map +0 -1
  134. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts +0 -15
  135. package/dist/features/blocks/inputs/fileUpload/helpers/sanitizeSelectedFiles.d.ts.map +0 -1
  136. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts +0 -28
  137. package/dist/features/blocks/inputs/fileUpload/helpers/uploadFiles.d.ts.map +0 -1
  138. package/dist/features/blocks/inputs/list/components/List.d.ts +0 -9
  139. package/dist/features/blocks/inputs/list/components/List.d.ts.map +0 -1
  140. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +0 -10
  141. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +0 -1
  142. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts +0 -2
  143. package/dist/features/blocks/inputs/number/numberInputHelper.d.ts.map +0 -1
  144. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +0 -12
  145. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +0 -1
  146. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +0 -12
  147. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +0 -1
  148. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +0 -5
  149. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +0 -1
  150. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +0 -9
  151. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +0 -1
  152. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +0 -10
  153. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +0 -1
  154. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +0 -11
  155. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +0 -1
  156. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +0 -12
  157. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +0 -1
  158. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts +0 -2
  159. package/dist/features/blocks/inputs/textInput/components/VolumeProcessor.d.ts.map +0 -1
  160. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts +0 -10
  161. package/dist/features/blocks/inputs/time/components/TimeForm.d.ts.map +0 -1
  162. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +0 -10
  163. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +0 -1
  164. package/dist/features/blocks/integrations/chatwoot/constants.d.ts +0 -2
  165. package/dist/features/blocks/integrations/chatwoot/constants.d.ts.map +0 -1
  166. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +0 -7
  167. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +0 -1
  168. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts +0 -2
  169. package/dist/features/blocks/integrations/chatwoot/utils/index.d.ts.map +0 -1
  170. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +0 -3
  171. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +0 -1
  172. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts +0 -3
  173. package/dist/features/blocks/integrations/httpRequest/executeHttpRequest.d.ts.map +0 -1
  174. package/dist/features/blocks/integrations/openai/streamChat.d.ts +0 -19
  175. package/dist/features/blocks/integrations/openai/streamChat.d.ts.map +0 -1
  176. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +0 -3
  177. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +0 -1
  178. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +0 -5
  179. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +0 -1
  180. package/dist/features/blocks/logic/script/executeScript.d.ts +0 -19
  181. package/dist/features/blocks/logic/script/executeScript.d.ts.map +0 -1
  182. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +0 -7
  183. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +0 -1
  184. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts +0 -6
  185. package/dist/features/blocks/logic/wait/utils/executeWait.d.ts.map +0 -1
  186. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts +0 -13
  187. package/dist/features/blocks/logic/webhook/listenForWebhook.d.ts.map +0 -1
  188. package/dist/features/bubble/components/Bubble.d.ts +0 -15
  189. package/dist/features/bubble/components/Bubble.d.ts.map +0 -1
  190. package/dist/features/bubble/components/BubbleButton.d.ts +0 -8
  191. package/dist/features/bubble/components/BubbleButton.d.ts.map +0 -1
  192. package/dist/features/bubble/components/PreviewMessage.d.ts +0 -8
  193. package/dist/features/bubble/components/PreviewMessage.d.ts.map +0 -1
  194. package/dist/features/bubble/types.d.ts +0 -37
  195. package/dist/features/bubble/types.d.ts.map +0 -1
  196. package/dist/features/commands/index.d.ts +0 -12
  197. package/dist/features/commands/index.d.ts.map +0 -1
  198. package/dist/features/commands/types.d.ts +0 -26
  199. package/dist/features/commands/types.d.ts.map +0 -1
  200. package/dist/features/commands/utils/close.d.ts +0 -3
  201. package/dist/features/commands/utils/close.d.ts.map +0 -1
  202. package/dist/features/commands/utils/hidePreviewMessage.d.ts +0 -3
  203. package/dist/features/commands/utils/hidePreviewMessage.d.ts.map +0 -1
  204. package/dist/features/commands/utils/open.d.ts +0 -3
  205. package/dist/features/commands/utils/open.d.ts.map +0 -1
  206. package/dist/features/commands/utils/reload.d.ts +0 -3
  207. package/dist/features/commands/utils/reload.d.ts.map +0 -1
  208. package/dist/features/commands/utils/sendCommand.d.ts +0 -3
  209. package/dist/features/commands/utils/sendCommand.d.ts.map +0 -1
  210. package/dist/features/commands/utils/setInputValue.d.ts +0 -3
  211. package/dist/features/commands/utils/setInputValue.d.ts.map +0 -1
  212. package/dist/features/commands/utils/setPrefilledVariables.d.ts +0 -3
  213. package/dist/features/commands/utils/setPrefilledVariables.d.ts.map +0 -1
  214. package/dist/features/commands/utils/showPreviewMessage.d.ts +0 -3
  215. package/dist/features/commands/utils/showPreviewMessage.d.ts.map +0 -1
  216. package/dist/features/commands/utils/toggle.d.ts +0 -3
  217. package/dist/features/commands/utils/toggle.d.ts.map +0 -1
  218. package/dist/features/commands/utils/unmount.d.ts +0 -3
  219. package/dist/features/commands/utils/unmount.d.ts.map +0 -1
  220. package/dist/features/popup/components/Popup.d.ts +0 -11
  221. package/dist/features/popup/components/Popup.d.ts.map +0 -1
  222. package/dist/features/popup/types.d.ts +0 -9
  223. package/dist/features/popup/types.d.ts.map +0 -1
  224. package/dist/features/standard/components/Standard.d.ts +0 -5
  225. package/dist/features/standard/components/Standard.d.ts.map +0 -1
  226. package/dist/index.d.ts.map +0 -1
  227. package/dist/lib/gtag.d.ts +0 -4
  228. package/dist/lib/gtag.d.ts.map +0 -1
  229. package/dist/lib/gtm.d.ts +0 -3
  230. package/dist/lib/gtm.d.ts.map +0 -1
  231. package/dist/lib/pixel.d.ts +0 -4
  232. package/dist/lib/pixel.d.ts.map +0 -1
  233. package/dist/queries/continueChatQuery.d.ts +0 -722
  234. package/dist/queries/continueChatQuery.d.ts.map +0 -1
  235. package/dist/queries/saveClientLogsQuery.d.ts +0 -7
  236. package/dist/queries/saveClientLogsQuery.d.ts.map +0 -1
  237. package/dist/queries/startChatQuery.d.ts +0 -20
  238. package/dist/queries/startChatQuery.d.ts.map +0 -1
  239. package/dist/register.d.ts +0 -2
  240. package/dist/register.d.ts.map +0 -1
  241. package/dist/types.d.ts +0 -49
  242. package/dist/types.d.ts.map +0 -1
  243. package/dist/utils/CorsError.d.ts +0 -4
  244. package/dist/utils/CorsError.d.ts.map +0 -1
  245. package/dist/utils/dynamicTheme.d.ts +0 -4
  246. package/dist/utils/dynamicTheme.d.ts.map +0 -1
  247. package/dist/utils/error.d.ts +0 -2
  248. package/dist/utils/error.d.ts.map +0 -1
  249. package/dist/utils/executeClientSideActions.d.ts +0 -25
  250. package/dist/utils/executeClientSideActions.d.ts.map +0 -1
  251. package/dist/utils/getAnswerContent.d.ts +0 -3
  252. package/dist/utils/getAnswerContent.d.ts.map +0 -1
  253. package/dist/utils/getPartyKitHost.d.ts +0 -2
  254. package/dist/utils/getPartyKitHost.d.ts.map +0 -1
  255. package/dist/utils/guessApiHost.d.ts +0 -6
  256. package/dist/utils/guessApiHost.d.ts.map +0 -1
  257. package/dist/utils/injectFont.d.ts +0 -3
  258. package/dist/utils/injectFont.d.ts.map +0 -1
  259. package/dist/utils/injectStartProps.d.ts +0 -3
  260. package/dist/utils/injectStartProps.d.ts.map +0 -1
  261. package/dist/utils/migrateLegacyChatChunks.d.ts +0 -10
  262. package/dist/utils/migrateLegacyChatChunks.d.ts.map +0 -1
  263. package/dist/utils/persist.d.ts +0 -9
  264. package/dist/utils/persist.d.ts.map +0 -1
  265. package/dist/utils/resolveBubbleButtonSize.d.ts +0 -5
  266. package/dist/utils/resolveBubbleButtonSize.d.ts.map +0 -1
  267. package/dist/utils/scrollContainer.d.ts +0 -2
  268. package/dist/utils/scrollContainer.d.ts.map +0 -1
  269. package/dist/utils/setCssVariablesValue.d.ts +0 -16
  270. package/dist/utils/setCssVariablesValue.d.ts.map +0 -1
  271. package/dist/utils/storage.d.ts +0 -875
  272. package/dist/utils/storage.d.ts.map +0 -1
  273. package/dist/utils/toaster.d.ts +0 -2
  274. package/dist/utils/toaster.d.ts.map +0 -1
  275. package/dist/web.d.ts +0 -19
  276. package/dist/web.d.ts.map +0 -1
  277. package/dist/window.d.ts +0 -29
  278. package/dist/window.d.ts.map +0 -1
@@ -1,10 +0,0 @@
1
- import type { InputSubmitContent } from "@/types";
2
- import type { RatingInputBlock } from "@makebot.it/blocks-inputs/rating/schema";
3
- type Props = {
4
- block: RatingInputBlock;
5
- defaultValue?: string;
6
- onSubmit: (value: InputSubmitContent) => void;
7
- };
8
- export declare const RatingForm: (props: Props) => import("solid-js").JSX.Element;
9
- export {};
10
- //# sourceMappingURL=RatingForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RatingForm.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/rating/components/RatingForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAIhF,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,gBAAgB,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,mCA8EtC,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { BotContext, InputSubmitContent } from "@/types";
2
- import type { TextInputBlock } from "@makebot.it/blocks-inputs/text/schema";
3
- type Props = {
4
- block: TextInputBlock;
5
- defaultValue?: string;
6
- context: BotContext;
7
- onSubmit: (value: InputSubmitContent) => void;
8
- };
9
- export declare const TextInput: (props: Props) => import("solid-js").JSX.Element;
10
- export {};
11
- //# sourceMappingURL=TextInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/textInput/components/TextInput.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAc,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAK1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAmB5E,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,cAAc,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,UAAU,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,KAAK,mCA8VrC,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { BotContext } from "@/types";
2
- import type { Theme } from "@makebot.it/theme/schemas";
3
- type Props = {
4
- recordingStatus: "asking" | "started" | "stopped";
5
- buttonsTheme: NonNullable<Theme["chat"]>["buttons"];
6
- context: BotContext;
7
- onAbortRecording: () => void;
8
- onRecordingConfirmed: (stream: MediaStream) => void;
9
- };
10
- export declare const VoiceRecorder: (props: Props) => import("solid-js").JSX.Element;
11
- export {};
12
- //# sourceMappingURL=VoiceRecorder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VoiceRecorder.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/textInput/components/VoiceRecorder.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAI1C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAYvD,KAAK,KAAK,GAAG;IACX,eAAe,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IAClD,YAAY,EAAE,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACpD,OAAO,EAAE,UAAU,CAAC;IACpB,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,oBAAoB,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAO,KAAK,mCAgKzC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const volumeProcessorCode = "\nconst gainFactor = 3;\n\nclass VolumeProcessor extends AudioWorkletProcessor {\n constructor() {\n super();\n }\n\n process(inputs) {\n const input = inputs[0];\n if (input.length > 0) {\n const channelData = input[0];\n let sum = 0;\n for (let i = 0; i < channelData.length; i++) {\n sum += channelData[i] * channelData[i];\n }\n const rms = Math.sqrt(sum / channelData.length);\n this.port.postMessage(rms * 100 * gainFactor)\n }\n return true;\n }\n}\n\nregisterProcessor(\"volume-processor\", VolumeProcessor);\n\n";
2
- //# sourceMappingURL=VolumeProcessor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VolumeProcessor.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/textInput/components/VolumeProcessor.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,qkBAyB/B,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { InputSubmitContent } from "@/types";
2
- import type { TimeInputBlock } from "@makebot.it/blocks-inputs/time/schema";
3
- type Props = {
4
- options: TimeInputBlock["options"];
5
- defaultValue?: string;
6
- onSubmit: (value: InputSubmitContent) => void;
7
- };
8
- export declare const TimeForm: (props: Props) => import("solid-js").JSX.Element;
9
- export {};
10
- //# sourceMappingURL=TimeForm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TimeForm.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/time/components/TimeForm.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAI5E,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,KAAK,mCA4DpC,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { InputSubmitContent } from "@/types";
2
- import type { UrlInputBlock } from "@makebot.it/blocks-inputs/url/schema";
3
- type Props = {
4
- block: UrlInputBlock;
5
- defaultValue?: string;
6
- onSubmit: (value: InputSubmitContent) => void;
7
- };
8
- export declare const UrlInput: (props: Props) => import("solid-js").JSX.Element;
9
- export {};
10
- //# sourceMappingURL=UrlInput.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UrlInput.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/inputs/url/components/UrlInput.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAI1E,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,aAAa,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,kBAAkB,KAAK,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,OAAO,KAAK,mCAiEpC,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const chatwootWebWidgetOpenedMessage = "Chatwoot Web Widget Opened";
2
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/integrations/chatwoot/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,+BAA+B,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { ScriptToExecute } from "@makebot.it/chat-api/clientSideAction";
2
- export declare const executeChatwoot: (chatwoot: {
3
- scriptToExecute: ScriptToExecute;
4
- }) => {
5
- scriptCallbackMessage: string;
6
- };
7
- //# sourceMappingURL=executeChatwoot.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeChatwoot.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/integrations/chatwoot/utils/executeChatwoot.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAG7E,eAAO,MAAM,eAAe,GAAI,UAAU;IACxC,eAAe,EAAE,eAAe,CAAC;CAClC;;CAKA,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./executeChatwoot";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/integrations/chatwoot/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { GoogleAnalyticsBlock } from "@makebot.it/blocks-integrations/googleAnalytics/schema";
2
- export declare const executeGoogleAnalyticsBlock: (options: GoogleAnalyticsBlock["options"]) => Promise<void>;
3
- //# sourceMappingURL=executeGoogleAnalytics.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeGoogleAnalytics.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAEnG,eAAO,MAAM,2BAA2B,GACtC,SAAS,oBAAoB,CAAC,SAAS,CAAC,kBAIzC,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { ExecutableHttpRequest } from "@makebot.it/blocks-integrations/httpRequest/schema";
2
- export declare const executeHttpRequest: (httpRequestToExecute: ExecutableHttpRequest) => Promise<string>;
3
- //# sourceMappingURL=executeHttpRequest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeHttpRequest.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/integrations/httpRequest/executeHttpRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAEhG,eAAO,MAAM,kBAAkB,GAC7B,sBAAsB,qBAAqB,KAC1C,OAAO,CAAC,MAAM,CAkBhB,CAAC"}
@@ -1,19 +0,0 @@
1
- import type { ClientSideActionContext } from "@/types";
2
- import type { LogInSession } from "@makebot.it/logs/schemas";
3
- export declare const streamChat: (context: ClientSideActionContext & {
4
- retryAttempt?: number;
5
- }) => ({ messages, onMessageStream, onError, }: {
6
- messages?: {
7
- content?: string | undefined;
8
- role?: "system" | "user" | "assistant" | undefined;
9
- }[];
10
- onMessageStream?: (props: {
11
- id: string;
12
- message: string;
13
- }) => void;
14
- onError?: (error: LogInSession) => void;
15
- }) => Promise<{
16
- message?: string;
17
- error?: LogInSession;
18
- }>;
19
- //# sourceMappingURL=streamChat.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"streamChat.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/integrations/openai/streamChat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAKvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAO7D,eAAO,MAAM,UAAU,GACpB,SAAS,uBAAuB,GAAG;IAAE,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,MACtD,yCAIJ;IACD,QAAQ,CAAC,EAAE;QACT,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC7B,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,WAAW,GAAG,SAAS,CAAC;KACpD,EAAE,CAAC;IACJ,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;CACzC,KAAG,OAAO,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,YAAY,CAAA;CAAE,CAmFrD,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { PixelBlock } from "@makebot.it/blocks-integrations/pixel/schema";
2
- export declare const executePixel: (options: PixelBlock["options"]) => Promise<void>;
3
- //# sourceMappingURL=executePixel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executePixel.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/integrations/pixel/executePixel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAG/E,eAAO,MAAM,YAAY,GAAU,SAAS,UAAU,CAAC,SAAS,CAAC,kBAGhE,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { RedirectBlock } from "@makebot.it/blocks-logic/redirect/schema";
2
- export declare const executeRedirect: ({ url, isNewTab, }?: RedirectBlock["options"]) => {
3
- blockedPopupUrl: string;
4
- } | undefined;
5
- //# sourceMappingURL=executeRedirect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeRedirect.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/logic/redirect/utils/executeRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAE9E,eAAO,MAAM,eAAe,GAAI,qBAG7B,aAAa,CAAC,SAAS,CAAM,KAAG;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,GAAG,SAOhE,CAAC"}
@@ -1,19 +0,0 @@
1
- import type { ScriptToExecute } from "@makebot.it/chat-api/clientSideAction";
2
- export declare const executeScript: ({ content, args }: ScriptToExecute) => Promise<{
3
- scriptCallbackMessage: string;
4
- logs?: undefined;
5
- } | {
6
- logs: {
7
- context?: string;
8
- description: string;
9
- details?: string;
10
- }[];
11
- scriptCallbackMessage?: undefined;
12
- } | undefined>;
13
- export declare const executeCode: ({ args, content, }: {
14
- content: string;
15
- args: Record<string, unknown>;
16
- }) => Promise<{
17
- scriptCallbackMessage: string;
18
- } | undefined>;
19
- //# sourceMappingURL=executeScript.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeScript.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/logic/script/executeScript.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAK7E,eAAO,MAAM,aAAa,GAAU,mBAAmB,eAAe;;;;;;;;;;cAsBrE,CAAC;AASF,eAAO,MAAM,WAAW,GAAU,oBAG/B;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B;;cAWA,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { ScriptToExecute } from "@makebot.it/chat-api/clientSideAction";
2
- import type { LogInSession } from "@makebot.it/logs/schemas";
3
- export declare const executeSetVariable: ({ content, args, isCode, }: ScriptToExecute) => Promise<{
4
- replyToSend: string | undefined;
5
- logs?: LogInSession[];
6
- }>;
7
- //# sourceMappingURL=executeSetVariable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeSetVariable.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/logic/setVariable/executeSetVariable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAG7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,eAAO,MAAM,kBAAkB,GAAU,4BAItC,eAAe,KAAG,OAAO,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;CACvB,CA6BA,CAAC"}
@@ -1,6 +0,0 @@
1
- type Props = {
2
- secondsToWaitFor: number;
3
- };
4
- export declare const executeWait: ({ secondsToWaitFor }: Props) => Promise<void>;
5
- export {};
6
- //# sourceMappingURL=executeWait.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"executeWait.d.ts","sourceRoot":"","sources":["../../../../../../src/features/blocks/logic/wait/utils/executeWait.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,sBAAsB,KAAK,kBAE5D,CAAC"}
@@ -1,13 +0,0 @@
1
- import type { ClientSideActionContext } from "@/types";
2
- import type { LogInSession } from "@makebot.it/logs/schemas";
3
- type Props = {
4
- resultId?: string;
5
- sessionId: string;
6
- context: ClientSideActionContext;
7
- };
8
- export declare const listenForWebhook: ({ sessionId, resultId, context }: Props) => Promise<{
9
- replyToSend: string | undefined;
10
- logs?: LogInSession[];
11
- }>;
12
- export {};
13
- //# sourceMappingURL=listenForWebhook.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listenForWebhook.d.ts","sourceRoot":"","sources":["../../../../../src/features/blocks/logic/webhook/listenForWebhook.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,uBAAuB,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,kCAAkC,KAAK;iBAMvD,MAAM,GAAG,SAAS;WACxB,YAAY,EAAE;EAoBxB,CAAC"}
@@ -1,15 +0,0 @@
1
- import { type BotProps } from "@/components/Bot";
2
- import type { ComponentOptions } from "component-register";
3
- import type { BubbleParams } from "../types";
4
- export type BubbleProps = BotProps & BubbleParams & {
5
- inlineStyle?: {
6
- [key: string]: string;
7
- };
8
- isOpen?: boolean;
9
- onOpen?: () => void;
10
- onClose?: () => void;
11
- onPreviewMessageClick?: () => void;
12
- onPreviewMessageDismissed?: () => void;
13
- };
14
- export declare const Bubble: (props: BubbleProps, options: ComponentOptions) => import("solid-js").JSX.Element;
15
- //# sourceMappingURL=Bubble.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/Bubble.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AActD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAU3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAS7C,MAAM,MAAM,WAAW,GAAG,QAAQ,GAChC,YAAY,GAAG;IACb,WAAW,CAAC,EAAE;QACZ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACvB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;CACxC,CAAC;AAEJ,eAAO,MAAM,MAAM,GAAI,OAAO,WAAW,EAAE,SAAS,gBAAgB,mCAiRnE,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { BubbleTheme, ButtonTheme } from "../types";
2
- type Props = Pick<BubbleTheme, "placement"> & ButtonTheme & {
3
- isBotOpen: boolean;
4
- toggleBot: () => void;
5
- };
6
- export declare const BubbleButton: (props: Props) => import("solid-js").JSX.Element;
7
- export {};
8
- //# sourceMappingURL=BubbleButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BubbleButton.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleButton.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEzD,KAAK,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GACzC,WAAW,GAAG;IACZ,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAOJ,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,mCAqBxC,CAAC"}
@@ -1,8 +0,0 @@
1
- import type { BubbleTheme, PreviewMessageParams, PreviewMessageTheme } from "../types";
2
- export type PreviewMessageProps = Pick<BubbleTheme, "placement"> & Pick<PreviewMessageParams, "avatarUrl" | "message"> & {
3
- previewMessageTheme?: PreviewMessageTheme;
4
- onClick: () => void;
5
- onCloseClick: () => void;
6
- };
7
- export declare const PreviewMessage: (props: PreviewMessageProps) => import("solid-js").JSX.Element;
8
- //# sourceMappingURL=PreviewMessage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PreviewMessage.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/PreviewMessage.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,GAC9D,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG;IACpD,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B,CAAC;AAEJ,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,mCAoExD,CAAC"}
@@ -1,37 +0,0 @@
1
- export type BubbleParams = {
2
- theme?: BubbleTheme;
3
- previewMessage?: PreviewMessageParams;
4
- autoShowDelay?: number;
5
- };
6
- export type BubbleTheme = {
7
- chatWindow?: ChatWindowTheme;
8
- button?: ButtonTheme;
9
- previewMessage?: PreviewMessageTheme;
10
- placement?: "left" | "right";
11
- position?: "fixed" | "static";
12
- };
13
- export type ChatWindowTheme = {
14
- backgroundColor?: string;
15
- maxWidth?: string;
16
- maxHeight?: string;
17
- };
18
- export type ButtonTheme = {
19
- isHidden?: boolean;
20
- size?: "medium" | "large" | `${number}px`;
21
- backgroundColor?: string;
22
- iconColor?: string;
23
- customIconSrc?: string;
24
- customCloseIconSrc?: string;
25
- };
26
- export type PreviewMessageParams = {
27
- avatarUrl?: string;
28
- message: string;
29
- autoShowDelay?: number;
30
- };
31
- export type PreviewMessageTheme = {
32
- backgroundColor?: string;
33
- textColor?: string;
34
- closeButtonBackgroundColor?: string;
35
- closeButtonIconColor?: string;
36
- };
37
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/bubble/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,cAAc,CAAC,EAAE,oBAAoB,CAAC;IACtC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,cAAc,CAAC,EAAE,mBAAmB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,GAAG,MAAM,IAAI,CAAC;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC"}
@@ -1,12 +0,0 @@
1
- export * from "./utils/close";
2
- export * from "./utils/open";
3
- export * from "./utils/showPreviewMessage";
4
- export * from "./utils/toggle";
5
- export * from "./utils/setInputValue";
6
- export * from "./utils/unmount";
7
- export * from "./utils/setPrefilledVariables";
8
- export * from "./utils/hidePreviewMessage";
9
- export * from "./utils/sendCommand";
10
- export * from "./types";
11
- export * from "./utils/reload";
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -1,26 +0,0 @@
1
- import type { PreviewMessageParams } from "../bubble/types";
2
- export type CommandArgs = {
3
- id?: string;
4
- };
5
- export type CommandData = CommandArgs & {
6
- isFromMakebot: boolean;
7
- } & ({
8
- command: "open" | "toggle" | "close" | "hidePreviewMessage" | "unmount" | "reload";
9
- } | ShowMessageCommandData | SetPrefilledVariablesCommandData | SetInputValueCommandData | SendCommandCommandData);
10
- export type ShowMessageCommandData = {
11
- command: "showPreviewMessage";
12
- message?: Pick<PreviewMessageParams, "avatarUrl" | "message">;
13
- };
14
- export type SetPrefilledVariablesCommandData = {
15
- command: "setPrefilledVariables";
16
- variables: Record<string, string | number | boolean>;
17
- };
18
- export type SetInputValueCommandData = {
19
- command: "setInputValue";
20
- value: string;
21
- };
22
- export type SendCommandCommandData = {
23
- command: "sendCommand";
24
- text: string;
25
- };
26
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/commands/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG;IACtC,aAAa,EAAE,OAAO,CAAC;CACxB,GAAG,CACE;IACE,OAAO,EACH,MAAM,GACN,QAAQ,GACR,OAAO,GACP,oBAAoB,GACpB,SAAS,GACT,QAAQ,CAAC;CACd,GACD,sBAAsB,GACtB,gCAAgC,GAChC,wBAAwB,GACxB,sBAAsB,CACzB,CAAC;AAEJ,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,OAAO,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,WAAW,GAAG,SAAS,CAAC,CAAC;CAC/D,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,EAAE,uBAAuB,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC;CACtD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,aAAa,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const close: ({ id }?: CommandArgs) => void;
3
- //# sourceMappingURL=close.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"close.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/close.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,KAAK,GAAI,SAAQ,WAAgB,SAO7C,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const hidePreviewMessage: ({ id }?: CommandArgs) => void;
3
- //# sourceMappingURL=hidePreviewMessage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hidePreviewMessage.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/hidePreviewMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,kBAAkB,GAAI,SAAQ,WAAgB,SAO1D,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const open: ({ id }?: CommandArgs) => void;
3
- //# sourceMappingURL=open.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/open.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,IAAI,GAAI,SAAQ,WAAgB,SAO5C,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const reload: ({ id }?: CommandArgs) => void;
3
- //# sourceMappingURL=reload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reload.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/reload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,MAAM,GAAI,SAAQ,WAAgB,SAO9C,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const sendCommand: (text: string, { id }?: CommandArgs) => void;
3
- //# sourceMappingURL=sendCommand.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sendCommand.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/sendCommand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,SAAQ,WAAgB,SAQjE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const setInputValue: (value: string, { id }?: CommandArgs) => void;
3
- //# sourceMappingURL=setInputValue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setInputValue.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/setInputValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,EAAE,SAAQ,WAAgB,SAQpE,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const setPrefilledVariables: (variables: Record<string, string | number | boolean>, { id }?: CommandArgs) => void;
3
- //# sourceMappingURL=setPrefilledVariables.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setPrefilledVariables.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/setPrefilledVariables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,qBAAqB,GAChC,WAAW,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,EACpD,SAAQ,WAAgB,SASzB,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs, ShowMessageCommandData } from "../types";
2
- export declare const showPreviewMessage: (proactiveMessage: ShowMessageCommandData["message"] | undefined, { id }?: CommandArgs) => void;
3
- //# sourceMappingURL=showPreviewMessage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"showPreviewMessage.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/showPreviewMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EAEX,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,kBAAkB,GAC7B,kBAAkB,sBAAsB,CAAC,SAAS,CAAC,GAAG,SAAS,EAC/D,SAAQ,WAAgB,SASzB,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const toggle: ({ id }?: CommandArgs) => void;
3
- //# sourceMappingURL=toggle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"toggle.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/toggle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,MAAM,GAAI,SAAQ,WAAgB,SAO9C,CAAC"}
@@ -1,3 +0,0 @@
1
- import type { CommandArgs } from "../types";
2
- export declare const unmount: ({ id }?: CommandArgs) => void;
3
- //# sourceMappingURL=unmount.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unmount.d.ts","sourceRoot":"","sources":["../../../../src/features/commands/utils/unmount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAe,MAAM,UAAU,CAAC;AAEzD,eAAO,MAAM,OAAO,GAAI,SAAQ,WAAgB,SAO/C,CAAC"}
@@ -1,11 +0,0 @@
1
- import { type BotProps } from "@/components/Bot";
2
- import type { ComponentOptions } from "component-register";
3
- import type { PopupParams } from "../types";
4
- export type PopupProps = BotProps & PopupParams & {
5
- defaultOpen?: boolean;
6
- isOpen?: boolean;
7
- onOpen?: () => void;
8
- onClose?: () => void;
9
- };
10
- export declare const Popup: (props: PopupProps, options: ComponentOptions) => import("solid-js").JSX.Element;
11
- //# sourceMappingURL=Popup.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popup.d.ts","sourceRoot":"","sources":["../../../../src/features/popup/components/Popup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAWtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAW3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAC/B,WAAW,GAAG;IACZ,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,KAAK,GAAI,OAAO,UAAU,EAAE,SAAS,gBAAgB,mCAwKjE,CAAC"}
@@ -1,9 +0,0 @@
1
- export type PopupParams = {
2
- autoShowDelay?: number;
3
- theme?: {
4
- width?: string;
5
- backgroundColor?: string;
6
- zIndex?: number;
7
- };
8
- };
9
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/features/popup/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE;QACN,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC"}
@@ -1,5 +0,0 @@
1
- import { type BotProps } from "@/components/Bot";
2
- export declare const Standard: (props: BotProps, { element }: {
3
- element: any;
4
- }) => import("solid-js").JSX.Element;
5
- //# sourceMappingURL=Standard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Standard.d.ts","sourceRoot":"","sources":["../../../../src/features/standard/components/Standard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAgBtD,eAAO,MAAM,QAAQ,GAAI,OAAO,QAAQ,EAAE,aAAa;IAAE,OAAO,EAAE,GAAG,CAAA;CAAE,mCAqFtE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,uCAAuC,CAAC;AACtD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAE1C,YAAY,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AACpE,YAAY,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AACvE,mBAAmB,yBAAyB,CAAC;AAC7C,mBAAmB,wBAAwB,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { GoogleAnalyticsBlock } from "@makebot.it/blocks-integrations/googleAnalytics/schema";
2
- export declare const initGoogleAnalytics: (id: string) => Promise<void>;
3
- export declare const sendGaEvent: (options: GoogleAnalyticsBlock["options"]) => void;
4
- //# sourceMappingURL=gtag.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gtag.d.ts","sourceRoot":"","sources":["../../src/lib/gtag.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAgBnG,eAAO,MAAM,mBAAmB,GAAI,IAAI,MAAM,KAAG,OAAO,CAAC,IAAI,CAuB5D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,SAAS,oBAAoB,CAAC,SAAS,CAAC,SAYnE,CAAC"}
package/dist/lib/gtm.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export declare const gtmHeadSnippet: (googleTagManagerId: string) => string;
2
- export declare const gtmBodyElement: (googleTagManagerId: string) => HTMLElement | "";
3
- //# sourceMappingURL=gtm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"gtm.d.ts","sourceRoot":"","sources":["../../src/lib/gtm.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,GACzB,oBAAoB,MAAM,WAOI,CAAC;AAEjC,eAAO,MAAM,cAAc,GAAI,oBAAoB,MAAM,qBAYxD,CAAC"}
@@ -1,4 +0,0 @@
1
- import type { PixelBlock } from "@makebot.it/blocks-integrations/pixel/schema";
2
- export declare const initPixel: (pixelIds: string[]) => void;
3
- export declare const trackPixelEvent: (options: PixelBlock["options"]) => void;
4
- //# sourceMappingURL=pixel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pixel.d.ts","sourceRoot":"","sources":["../../src/lib/pixel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8CAA8C,CAAC;AAW/E,eAAO,MAAM,SAAS,GAAI,UAAU,MAAM,EAAE,SAa3C,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,SAAS,UAAU,CAAC,SAAS,CAAC,SAiB7D,CAAC"}