@urbiport/js 0.0.11 → 0.0.12

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 (180) hide show
  1. package/README.md +39 -39
  2. package/dist/components/Bot.d.ts +3 -3
  3. package/dist/components/Bot.d.ts.map +1 -1
  4. package/dist/components/Button.d.ts +0 -1
  5. package/dist/components/Button.d.ts.map +1 -1
  6. package/dist/components/ConversationContainer/ChatChunk.d.ts +2 -1
  7. package/dist/components/ConversationContainer/ChatChunk.d.ts.map +1 -1
  8. package/dist/components/ConversationContainer/ChatChunkFooter.d.ts +20 -0
  9. package/dist/components/ConversationContainer/ChatChunkFooter.d.ts.map +1 -0
  10. package/dist/components/ConversationContainer/ConversationContainer.d.ts +3 -2
  11. package/dist/components/ConversationContainer/ConversationContainer.d.ts.map +1 -1
  12. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts +10 -0
  13. package/dist/components/ConversationContainer/ConversationContainerBody.d.ts.map +1 -0
  14. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts +18 -0
  15. package/dist/components/ConversationContainer/ConversationContainerFooter.d.ts.map +1 -0
  16. package/dist/components/ConversationContainer/InputAnswerContext.d.ts +13 -0
  17. package/dist/components/ConversationContainer/InputAnswerContext.d.ts.map +1 -0
  18. package/dist/components/ConversationContainer/LoadingChunk.d.ts +1 -1
  19. package/dist/components/ConversationContainer/LoadingChunk.d.ts.map +1 -1
  20. package/dist/components/ConversationContainer/PopupBlockedToast.d.ts.map +1 -1
  21. package/dist/components/ConversationContainer/helpers.d.ts +6 -0
  22. package/dist/components/ConversationContainer/helpers.d.ts.map +1 -0
  23. package/dist/components/FooterEndConversation.d.ts +2 -0
  24. package/dist/components/FooterEndConversation.d.ts.map +1 -0
  25. package/dist/components/FooterLiteBadge.d.ts +6 -0
  26. package/dist/components/FooterLiteBadge.d.ts.map +1 -0
  27. package/dist/components/InputAnswerContext.d.ts +41 -0
  28. package/dist/components/InputAnswerContext.d.ts.map +1 -0
  29. package/dist/components/InputChatBlock.d.ts +1 -1
  30. package/dist/components/InputChatBlock.d.ts.map +1 -1
  31. package/dist/components/InputChatBlockFooter copy.d.ts +17 -0
  32. package/dist/components/InputChatBlockFooter copy.d.ts.map +1 -0
  33. package/dist/components/InputChatBlockFooter.d.ts +17 -0
  34. package/dist/components/InputChatBlockFooter.d.ts.map +1 -0
  35. package/dist/components/InputChatBlockFooterShow.d.ts +13 -0
  36. package/dist/components/InputChatBlockFooterShow.d.ts.map +1 -0
  37. package/dist/components/InputFormLayout.d.ts +17 -0
  38. package/dist/components/InputFormLayout.d.ts.map +1 -0
  39. package/dist/components/SendButton.d.ts +0 -1
  40. package/dist/components/SendButton.d.ts.map +1 -1
  41. package/dist/components/Submit.d.ts +9 -0
  42. package/dist/components/Submit.d.ts.map +1 -0
  43. package/dist/components/SubmitButton.d.ts +9 -0
  44. package/dist/components/SubmitButton.d.ts.map +1 -0
  45. package/dist/components/avatars/AvatarPlaceholder.d.ts +7 -0
  46. package/dist/components/avatars/AvatarPlaceholder.d.ts.map +1 -0
  47. package/dist/components/bubbles/HostBubble.d.ts +1 -1
  48. package/dist/components/bubbles/HostBubble.d.ts.map +1 -1
  49. package/dist/components/icons/LogoIcon.d.ts +2 -0
  50. package/dist/components/icons/LogoIcon.d.ts.map +1 -0
  51. package/dist/components/icons/MicrophoneIcon.d.ts.map +1 -1
  52. package/dist/components/icons/SendIcon.d.ts.map +1 -1
  53. package/dist/components/index.d.ts +1 -1
  54. package/dist/components/index.d.ts.map +1 -1
  55. package/dist/components/inputs/Textarea.d.ts +2 -1
  56. package/dist/components/inputs/Textarea.d.ts.map +1 -1
  57. package/dist/constants/conversation.d.ts +4 -0
  58. package/dist/constants/conversation.d.ts.map +1 -0
  59. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts +1 -1
  60. package/dist/features/blocks/bubbles/audio/components/AudioBubble.d.ts.map +1 -1
  61. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts +1 -2
  62. package/dist/features/blocks/bubbles/embed/components/CustomEmbedBubble.d.ts.map +1 -1
  63. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts +1 -2
  64. package/dist/features/blocks/bubbles/embed/components/EmbedBubble.d.ts.map +1 -1
  65. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts +1 -3
  66. package/dist/features/blocks/bubbles/image/components/ImageBubble.d.ts.map +1 -1
  67. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts +1 -2
  68. package/dist/features/blocks/bubbles/textBubble/components/TextBubble.d.ts.map +1 -1
  69. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts +1 -2
  70. package/dist/features/blocks/bubbles/video/components/VideoBubble.d.ts.map +1 -1
  71. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts +2 -1
  72. package/dist/features/blocks/inputs/buttons/components/Buttons.d.ts.map +1 -1
  73. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts +2 -1
  74. package/dist/features/blocks/inputs/buttons/components/MultipleChoicesForm.d.ts.map +1 -1
  75. package/dist/features/blocks/inputs/date/components/DateForm.d.ts +1 -1
  76. package/dist/features/blocks/inputs/date/components/DateForm.d.ts.map +1 -1
  77. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts +1 -1
  78. package/dist/features/blocks/inputs/email/components/EmailInput.d.ts.map +1 -1
  79. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts +1 -1
  80. package/dist/features/blocks/inputs/fileUpload/components/FileUploadForm.d.ts.map +1 -1
  81. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts +1 -1
  82. package/dist/features/blocks/inputs/number/components/NumberInput.d.ts.map +1 -1
  83. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts +1 -1
  84. package/dist/features/blocks/inputs/payment/components/PaymentForm.d.ts.map +1 -1
  85. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts +1 -1
  86. package/dist/features/blocks/inputs/payment/components/StripePaymentForm.d.ts.map +1 -1
  87. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts +2 -2
  88. package/dist/features/blocks/inputs/payment/helpers/paymentInProgressStorage.d.ts.map +1 -1
  89. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts +1 -1
  90. package/dist/features/blocks/inputs/phone/components/PhoneInput.d.ts.map +1 -1
  91. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts +1 -1
  92. package/dist/features/blocks/inputs/pictureChoice/MultiplePictureChoice.d.ts.map +1 -1
  93. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts +1 -1
  94. package/dist/features/blocks/inputs/pictureChoice/SinglePictureChoice.d.ts.map +1 -1
  95. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts +1 -1
  96. package/dist/features/blocks/inputs/rating/components/RatingForm.d.ts.map +1 -1
  97. package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts +11 -0
  98. package/dist/features/blocks/inputs/textInput/components/TextInput copy.d.ts.map +1 -0
  99. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts +2 -2
  100. package/dist/features/blocks/inputs/textInput/components/TextInput.d.ts.map +1 -1
  101. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts +1 -1
  102. package/dist/features/blocks/inputs/textInput/components/VoiceRecorder.d.ts.map +1 -1
  103. package/dist/features/blocks/inputs/textInput/index.d.ts +1 -1
  104. package/dist/features/blocks/inputs/textInput/index.d.ts.map +1 -1
  105. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts +1 -1
  106. package/dist/features/blocks/inputs/url/components/UrlInput.d.ts.map +1 -1
  107. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts +1 -1
  108. package/dist/features/blocks/integrations/chatwoot/utils/executeChatwoot.d.ts.map +1 -1
  109. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts +1 -1
  110. package/dist/features/blocks/integrations/googleAnalytics/utils/executeGoogleAnalytics.d.ts.map +1 -1
  111. package/dist/features/blocks/integrations/pixel/executePixel.d.ts +1 -1
  112. package/dist/features/blocks/integrations/pixel/executePixel.d.ts.map +1 -1
  113. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts +1 -1
  114. package/dist/features/blocks/integrations/webhook/executeWebhook.d.ts.map +1 -1
  115. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts +1 -1
  116. package/dist/features/blocks/logic/redirect/utils/executeRedirect.d.ts.map +1 -1
  117. package/dist/features/blocks/logic/script/executeScript.d.ts +1 -1
  118. package/dist/features/blocks/logic/script/executeScript.d.ts.map +1 -1
  119. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts +1 -1
  120. package/dist/features/blocks/logic/setVariable/executeSetVariable.d.ts.map +1 -1
  121. package/dist/features/blocks/logic/variable/executeVariable.d.ts +6 -0
  122. package/dist/features/blocks/logic/variable/executeVariable.d.ts.map +1 -0
  123. package/dist/features/bubble/components/Bubble.d.ts +1 -0
  124. package/dist/features/bubble/components/Bubble.d.ts.map +1 -1
  125. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -1
  126. package/dist/features/commands/types.d.ts +1 -1
  127. package/dist/features/commands/types.d.ts.map +1 -1
  128. package/dist/features/popup/components/Popup.d.ts +1 -0
  129. package/dist/features/popup/components/Popup.d.ts.map +1 -1
  130. package/dist/features/standard/components/Standard.d.ts +1 -0
  131. package/dist/features/standard/components/Standard.d.ts.map +1 -1
  132. package/dist/features/streaming/streamChat.d.ts +17 -0
  133. package/dist/features/streaming/streamChat.d.ts.map +1 -0
  134. package/dist/hooks/useMessageListener.d.ts +11 -0
  135. package/dist/hooks/useMessageListener.d.ts.map +1 -0
  136. package/dist/index.js +1 -1
  137. package/dist/lib/gtag.d.ts +1 -1
  138. package/dist/lib/gtag.d.ts.map +1 -1
  139. package/dist/lib/gtm.d.ts +0 -1
  140. package/dist/lib/gtm.d.ts.map +1 -1
  141. package/dist/lib/pixel.d.ts +1 -1
  142. package/dist/lib/pixel.d.ts.map +1 -1
  143. package/dist/queries/continueChatQuery.d.ts +39 -128
  144. package/dist/queries/continueChatQuery.d.ts.map +1 -1
  145. package/dist/queries/saveClientLogsQuery.d.ts +1 -1
  146. package/dist/queries/saveClientLogsQuery.d.ts.map +1 -1
  147. package/dist/queries/startChatQuery.d.ts +54 -142
  148. package/dist/queries/startChatQuery.d.ts.map +1 -1
  149. package/dist/types.d.ts +6 -3
  150. package/dist/types.d.ts.map +1 -1
  151. package/dist/utils/botContainerSignal.d.ts +1 -1
  152. package/dist/utils/botContainerSignal.d.ts.map +1 -1
  153. package/dist/utils/executeClientSideActions.d.ts +1 -1
  154. package/dist/utils/executeClientSideActions.d.ts.map +1 -1
  155. package/dist/utils/guessApiHost.d.ts.map +1 -1
  156. package/dist/utils/injectFont.d.ts +1 -1
  157. package/dist/utils/injectFont.d.ts.map +1 -1
  158. package/dist/utils/injectStartProps.d.ts +1 -1
  159. package/dist/utils/injectStartProps.d.ts.map +1 -1
  160. package/dist/utils/setCssVariablesValue.d.ts +1 -1
  161. package/dist/utils/setCssVariablesValue.d.ts.map +1 -1
  162. package/dist/utils/storage.d.ts +58 -147
  163. package/dist/utils/storage.d.ts.map +1 -1
  164. package/dist/web.d.ts +1 -16
  165. package/dist/web.d.ts.map +1 -1
  166. package/dist/web.js +7 -6
  167. package/dist/window.d.ts +6 -6
  168. package/dist/window.d.ts.map +1 -1
  169. package/package.json +20 -20
  170. package/tsconfig.build.json +23 -0
  171. package/.turbo/turbo-build.log +0 -11
  172. package/LICENSE +0 -669
  173. package/dist/components/icons/CameraIcon.d.ts +0 -3
  174. package/dist/components/icons/CameraIcon.d.ts.map +0 -1
  175. package/dist/components/icons/PlusIcon.d.ts +0 -3
  176. package/dist/components/icons/PlusIcon.d.ts.map +0 -1
  177. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts +0 -2
  178. package/dist/features/blocks/integrations/googleAnalytics/index.d.ts.map +0 -1
  179. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts +0 -2
  180. package/dist/features/blocks/integrations/googleAnalytics/utils/index.d.ts.map +0 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Typebot JS library
1
+ # QuickBot JS library
2
2
 
3
- Frontend library to embed typebots from [Typebot](https://quick.bot/).
3
+ Frontend library to embed bots from [QuickBot](https://quick.bot/).
4
4
 
5
5
  ## Installation
6
6
 
@@ -16,50 +16,50 @@ npm install @urbiport/js
16
16
 
17
17
  ```
18
18
  <script type="module">
19
- import Typebot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
19
+ import QuickBot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
20
20
 
21
- Typebot.initStandard({
22
- typebot: 'my-typebot',
21
+ QuickBot.initStandard({
22
+ bot: 'my-bot',
23
23
  })
24
24
  </script>
25
25
 
26
- <typebot-standard style="width: 100%; height: 600px; "></typebot-standard>
26
+ <quickbot-standard style="width: 100%; height: 600px; "></quickbot-standard>
27
27
  ```
28
28
 
29
29
  ## Standard
30
30
 
31
- You can get the standard HTML and Javascript code by clicking on the "HTML & Javascript" button in
32
- the "Share" tab of your typebot.
31
+ You can get the standard HTML and Javascript code by clicking on the "Javascript" button in the
32
+ "Deploy" tab of your bot.
33
33
 
34
34
  There, you can change the container dimensions. Here is a code example:
35
35
 
36
36
  ```html
37
37
  <script type="module">
38
- import Typebot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
38
+ import QuickBot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
39
39
 
40
- Typebot.initStandard({
41
- typebot: 'my-typebot',
40
+ QuickBot.initStandard({
41
+ bot: 'my-bot',
42
42
  })
43
43
  </script>
44
44
 
45
- <typebot-standard style="width: 100%; height: 600px; "></typebot-standard>
45
+ <quickbot-standard style="width: 100%; height: 600px; "></quickbot-standard>
46
46
  ```
47
47
 
48
48
  This code is creating a container with a 100% width (will match parent width) and 600px height.
49
49
 
50
50
  ## Popup
51
51
 
52
- You can get the popup HTML and Javascript code by clicking on the "HTML & Javascript" button in the
53
- "Share" tab of your typebot.
52
+ You can get the popup HTML and Javascript code by clicking on the "Javascript" button in the
53
+ "Deploy" tab of your bot.
54
54
 
55
55
  Here is an example:
56
56
 
57
57
  ```html
58
58
  <script type="module">
59
- import Typebot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
59
+ import QuickBot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
60
60
 
61
- Typebot.initPopup({
62
- typebot: 'my-typebot',
61
+ QuickBot.initPopup({
62
+ bot: 'my-bot',
63
63
  apiHost: 'http://localhost:3001',
64
64
  autoShowDelay: 3000,
65
65
  })
@@ -73,43 +73,43 @@ This code will automatically trigger the popup window after 3 seconds.
73
73
  You can use these commands:
74
74
 
75
75
  ```js
76
- Typebot.open()
76
+ QuickBot.open()
77
77
  ```
78
78
 
79
79
  ```js
80
- Typebot.close()
80
+ QuickBot.close()
81
81
  ```
82
82
 
83
83
  ```js
84
- Typebot.toggle()
84
+ QuickBot.toggle()
85
85
  ```
86
86
 
87
87
  You can bind these commands on a button element, for example:
88
88
 
89
89
  ```html
90
- <button onclick="Typebot.open()">Contact us</button>
90
+ <button onclick="QuickBot.open()">Contact us</button>
91
91
  ```
92
92
 
93
93
  ## Bubble
94
94
 
95
- You can get the bubble HTML and Javascript code by clicking on the "HTML & Javascript" button in the
96
- "Share" tab of your typebot.
95
+ You can get the bubble HTML and Javascript code by clicking on the "Javascript" button in the
96
+ "Deploy" tab of your bot.
97
97
 
98
98
  Here is an example:
99
99
 
100
100
  ```html
101
101
  <script type="module">
102
- import Typebot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
102
+ import QuickBot from 'https://cdn.jsdelivr.net/npm/@urbiport/js@0.3/dist/web.js'
103
103
 
104
- Typebot.initBubble({
105
- typebot: 'my-typebot',
104
+ QuickBot.initBubble({
105
+ bot: 'my-bot',
106
106
  previewMessage: {
107
107
  message: 'I have a question for you!',
108
108
  autoShowDelay: 5000,
109
109
  avatarUrl: 'https://avatars.githubusercontent.com/u/6652831?v=4',
110
110
  },
111
111
  theme: {
112
- button: { backgroundColor: '#0042DA', iconColor: '#FFFFFF' },
112
+ button: { backgroundColor: '#01a952', iconColor: '#FFFFFF' },
113
113
  previewMessage: { backgroundColor: '#ffffff', textColor: 'black' },
114
114
  chatWindow: { backgroundColor: '#ffffff' },
115
115
  },
@@ -124,33 +124,33 @@ This code will show the bubble and let a preview message appear after 5 seconds.
124
124
  You can use these commands:
125
125
 
126
126
  ```js
127
- Typebot.showPreviewMessage()
127
+ QuickBot.showPreviewMessage()
128
128
  ```
129
129
 
130
130
  ```js
131
- Typebot.hidePreviewMessage()
131
+ QuickBot.hidePreviewMessage()
132
132
  ```
133
133
 
134
- ### Open or close the typebot
134
+ ### Open or close the bot
135
135
 
136
136
  You can use these commands:
137
137
 
138
138
  ```js
139
- Typebot.open()
139
+ QuickBot.open()
140
140
  ```
141
141
 
142
142
  ```js
143
- Typebot.close()
143
+ QuickBot.close()
144
144
  ```
145
145
 
146
146
  ```js
147
- Typebot.toggle()
147
+ QuickBot.toggle()
148
148
  ```
149
149
 
150
150
  You can bind these commands on a button element, for example:
151
151
 
152
152
  ```html
153
- <button onclick="Typebot.open()">Contact us</button>
153
+ <button onclick="QuickBot.open()">Contact us</button>
154
154
  ```
155
155
 
156
156
  ## Additional configuration
@@ -159,18 +159,18 @@ You can prefill the bot variable values in your embed code by adding the `prefil
159
159
  option. Here is an example:
160
160
 
161
161
  ```js
162
- Typebot.initStandard({
163
- typebot: 'my-typebot',
162
+ QuickBot.initStandard({
163
+ bot: 'my-bot',
164
164
  prefilledVariables: {
165
- 'Current URL': 'https://my-site/account',
165
+ 'Current URL': 'https://my-site.com/account',
166
166
  'User name': 'Francisco',
167
167
  },
168
168
  })
169
169
  ```
170
170
 
171
- It will prefill the `Current URL` variable with "https://my-site/account" and the `User name`
171
+ It will prefill the `Current URL` variable with "https://my-site.com/account" and the `User name`
172
172
  variable with "Francisco". More info about variables: [here](/editor/variables).
173
173
 
174
174
  Note that if your site URL contains query params (i.e. https://quick.bot?User%20name=John%20Doe),
175
- the variables will automatically be injected to the typebot. So you don't need to manually transfer
175
+ the variables will automatically be injected to the bot. So you don't need to manually transfer
176
176
  query params to the bot embed configuration.
@@ -1,7 +1,7 @@
1
1
  import { OutgoingLog } from '@/types';
2
- import { Font, InputBlock, StartFrom } from '@typebot.io/schemas';
2
+ import { Font, StartFrom, ChatInputBlock } from '@quickbot.io/schemas';
3
3
  export type BotProps = {
4
- typebot: string | any;
4
+ bot: string | any;
5
5
  isPreview?: boolean;
6
6
  resultId?: string;
7
7
  prefilledVariables?: Record<string, unknown>;
@@ -10,7 +10,7 @@ export type BotProps = {
10
10
  progressBarRef?: HTMLDivElement;
11
11
  startFrom?: StartFrom;
12
12
  sessionId?: string;
13
- onNewInputBlock?: (inputBlock: InputBlock) => void;
13
+ onNewInputBlock?: (inputBlock: ChatInputBlock) => void;
14
14
  onAnswer?: (answer: {
15
15
  message: string;
16
16
  blockId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/components/Bot.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAc,WAAW,EAAE,MAAM,SAAS,CAAA;AAWjD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAqB,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAoBpF,MAAM,MAAM,QAAQ,GAAG;IAErB,OAAO,EAAE,MAAM,GAAG,GAAG,CAAA;IACrB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;CACpD,CAAA;AAED,eAAO,MAAM,GAAG,UAAW,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,mCA8LvD,CAAA"}
1
+ {"version":3,"file":"Bot.d.ts","sourceRoot":"","sources":["../../src/components/Bot.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAc,WAAW,EAAE,MAAM,SAAS,CAAA;AAUjD,OAAO,EAAE,IAAI,EAAqB,SAAS,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAoBzF,MAAM,MAAM,QAAQ,GAAG;IAErB,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,cAAc,CAAC,EAAE,cAAc,CAAA;IAC/B,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAA;IACtD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;CACpD,CAAA;AAED,eAAO,MAAM,GAAG,UAAW,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,mCA2MvD,CAAA"}
@@ -1,6 +1,5 @@
1
1
  import { JSX } from 'solid-js';
2
2
  type Props = {
3
- variant?: 'primary' | 'secondary';
4
3
  children: JSX.Element;
5
4
  isDisabled?: boolean;
6
5
  isLoading?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAoB,MAAM,UAAU,CAAA;AAG1D,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,CAAA;IACjC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,MAAM,UAAW,KAAK,gBAoBlC,CAAA"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAoB,MAAM,UAAU,CAAA;AAI1D,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,MAAM,UAAW,KAAK,gBAoBlC,CAAA"}
@@ -1,6 +1,7 @@
1
1
  import { InputSubmitContent, BotContext, ChatChunk as ChatChunkType } from '@/types';
2
- import { ContinueChatResponse, Settings, Theme } from '@typebot.io/schemas';
2
+ import { ContinueChatResponse, Settings, Theme } from '@quickbot.io/schemas';
3
3
  type Props = Pick<ContinueChatResponse, 'messages' | 'input'> & {
4
+ blockRef: HTMLDivElement | undefined;
4
5
  theme: Theme;
5
6
  settings: Settings;
6
7
  index: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ChatChunk.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAEpF,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAY3E,KAAK,KAAK,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC9D,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,UAAU,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAA;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD,gBAAgB,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,qBAAqB,EAAE,MAAM,IAAI,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,SAAS,UAAW,KAAK,mCAwIrC,CAAA"}
1
+ {"version":3,"file":"ChatChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ChatChunk.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAEpF,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAa5E,KAAK,KAAK,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC9D,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,UAAU,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAA;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD,gBAAgB,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,qBAAqB,EAAE,MAAM,IAAI,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,SAAS,UAAW,KAAK,mCA2IrC,CAAA"}
@@ -0,0 +1,20 @@
1
+ import { InputSubmitContent, BotContext, ChatChunk as ChatChunkType } from '@/types';
2
+ import { ContinueChatResponse, Settings, Theme } from '@quickbot.io/schemas';
3
+ type Props = Pick<ContinueChatResponse, 'messages' | 'input'> & {
4
+ theme: Theme;
5
+ settings: Settings;
6
+ index: number;
7
+ context: BotContext;
8
+ hasError: boolean;
9
+ hideAvatar: boolean;
10
+ streamingMessageId: ChatChunkType['streamingMessageId'];
11
+ isTransitionDisabled?: boolean;
12
+ onNewBubbleDisplayed: (blockId: string) => Promise<void>;
13
+ onScrollToBottom: (ref?: HTMLDivElement, offset?: number) => void;
14
+ onSubmit: (answer?: InputSubmitContent) => void;
15
+ onSkip: () => void;
16
+ onAllBubblesDisplayed: () => void;
17
+ };
18
+ export declare const ChatChunkFooter: (props: Props) => import("solid-js").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=ChatChunkFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatChunkFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ChatChunkFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,SAAS,CAAA;AAEpF,OAAO,EAAE,oBAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAa5E,KAAK,KAAK,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;IAC9D,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,QAAQ,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,UAAU,CAAA;IACnB,QAAQ,EAAE,OAAO,CAAA;IACjB,UAAU,EAAE,OAAO,CAAA;IACnB,kBAAkB,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAA;IACvD,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,oBAAoB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACxD,gBAAgB,EAAE,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,qBAAqB,EAAE,MAAM,IAAI,CAAA;CAClC,CAAA;AAED,eAAO,MAAM,eAAe,UAAW,KAAK,mCA4I3C,CAAA"}
@@ -1,9 +1,10 @@
1
- import { InputBlock, StartChatResponse } from '@typebot.io/schemas';
1
+ import { StartChatResponse, ChatInputBlock } from '@quickbot.io/schemas';
2
2
  import { BotContext, OutgoingLog } from '@/types';
3
3
  type Props = {
4
+ botContainer: HTMLDivElement | undefined;
4
5
  initialChatReply: StartChatResponse;
5
6
  context: BotContext;
6
- onNewInputBlock?: (inputBlock: InputBlock) => void;
7
+ onNewInputBlock?: (inputBlock: ChatInputBlock) => void;
7
8
  onAnswer?: (answer: {
8
9
  message: string;
9
10
  blockId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ConversationContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAGV,iBAAiB,EAElB,MAAM,qBAAqB,CAAA;AAI5B,OAAO,EAAE,UAAU,EAAkD,WAAW,EAAE,MAAM,SAAS,CAAA;AAuCjG,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,iBAAiB,CAAA;IACnC,OAAO,EAAE,UAAU,CAAA;IACnB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,qBAAqB,UAAW,KAAK,mCAmRjD,CAAA"}
1
+ {"version":3,"file":"ConversationContainer.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACxE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAKjD,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;IACxC,gBAAgB,EAAE,iBAAiB,CAAA;IACnC,OAAO,EAAE,UAAU,CAAA;IACnB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAA;IACtD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,qBAAqB,UAAW,KAAK,mCAOjD,CAAA"}
@@ -0,0 +1,10 @@
1
+ import { StartChatResponse } from '@quickbot.io/schemas';
2
+ import { BotContext } from '@/types';
3
+ type Props = {
4
+ initialChatReply: StartChatResponse;
5
+ context: BotContext;
6
+ onEnd?: () => void;
7
+ };
8
+ export declare const ConversationContainerBody: (props: Props) => import("solid-js").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ConversationContainerBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationContainerBody.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAMpC,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,iBAAiB,CAAA;IACnC,OAAO,EAAE,UAAU,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,yBAAyB,UAAW,KAAK,mCA6FrD,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { InputBlock, StartChatResponse } from '@quickbot.io/schemas';
2
+ import { BotContext, OutgoingLog } from '@/types';
3
+ type Props = {
4
+ botContainer: HTMLDivElement | undefined;
5
+ initialChatReply: StartChatResponse;
6
+ context: BotContext;
7
+ onNewInputBlock?: (inputBlock: InputBlock) => void;
8
+ onAnswer?: (answer: {
9
+ message: string;
10
+ blockId: string;
11
+ }) => void;
12
+ onEnd?: () => void;
13
+ onNewLogs?: (logs: OutgoingLog[]) => void;
14
+ onProgressUpdate?: (progress: number) => void;
15
+ };
16
+ export declare const ConversationContainerFooter: (props: Props) => import("solid-js").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=ConversationContainerFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationContainerFooter.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/ConversationContainerFooter.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAwB,UAAU,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE1F,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAOjD,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;IACxC,gBAAgB,EAAE,iBAAiB,CAAA;IACnC,OAAO,EAAE,UAAU,CAAA;IACnB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,UAAU,KAAK,IAAI,CAAA;IAClD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C,CAAA;AAED,eAAO,MAAM,2BAA2B,UAAW,KAAK,mCAsDvD,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Accessor, JSX } from 'solid-js';
2
+ import { InputSubmitContent } from '@/types';
3
+ type ConversationContextType = {
4
+ answers: Accessor<Record<number, InputSubmitContent | undefined>>;
5
+ setAnswer: (chunkIndex: number, content: InputSubmitContent | undefined) => void;
6
+ getAnswer: (chunkIndex: number) => InputSubmitContent | undefined;
7
+ };
8
+ export declare const InputAnswerProvider: (props: {
9
+ children: JSX.Element;
10
+ }) => JSX.Element;
11
+ export declare const useInputAnswer: () => ConversationContextType;
12
+ export {};
13
+ //# sourceMappingURL=InputAnswerContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputAnswerContext.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/InputAnswerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,QAAQ,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAE5C,KAAK,uBAAuB,GAAG;IAC7B,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC,CAAC,CAAA;IACjE,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,SAAS,KAAK,IAAI,CAAA;IAChF,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAA;CAClE,CAAA;AAID,eAAO,MAAM,mBAAmB,UAAW;IAAE,QAAQ,EAAE,WAAW,CAAA;CAAE,gBAmBnE,CAAA;AAED,eAAO,MAAM,cAAc,+BAM1B,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Theme } from '@typebot.io/schemas';
1
+ import { Theme } from '@quickbot.io/schemas';
2
2
  type Props = {
3
3
  theme: Theme;
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/LoadingChunk.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAM3C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAA;CACb,CAAA;AAED,eAAO,MAAM,YAAY,UAAW,KAAK,mCAWxC,CAAA"}
1
+ {"version":3,"file":"LoadingChunk.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/LoadingChunk.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAM5C,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,KAAK,CAAA;CACb,CAAA;AAED,eAAO,MAAM,YAAY,UAAW,KAAK,mCAWxC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PopupBlockedToast.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/PopupBlockedToast.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,iBAAiB,UAAW,KAAK,mCAyB7C,CAAA"}
1
+ {"version":3,"file":"PopupBlockedToast.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/PopupBlockedToast.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,IAAI,CAAA;CACxB,CAAA;AAED,eAAO,MAAM,iBAAiB,UAAW,KAAK,mCAmD7C,CAAA"}
@@ -0,0 +1,6 @@
1
+ import { InputSubmitContent } from '@/types';
2
+ import { ContinueChatResponse, Message, Theme } from '@quickbot.io/schemas';
3
+ export declare const convertSubmitContentToMessage: (answer: InputSubmitContent | undefined) => Message | undefined;
4
+ export declare const autoScrollToBottom: (containerElement: HTMLDivElement | undefined, lastElement?: HTMLDivElement, offset?: number, autoScrollBottomToleranceScreenPercent?: number, bottomSpacerHeight?: number) => void;
5
+ export declare const parseDynamicTheme: (initialTheme: Theme, dynamicTheme: ContinueChatResponse['dynamicTheme']) => Theme;
6
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/components/ConversationContainer/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAE3E,eAAO,MAAM,6BAA6B,WAChC,kBAAkB,GAAG,SAAS,KACrC,OAAO,GAAG,SASZ,CAAA;AAED,eAAO,MAAM,kBAAkB,qBACX,cAAc,GAAG,SAAS,gBAC9B,cAAc,wGAsB7B,CAAA;AAED,eAAO,MAAM,iBAAiB,iBACd,KAAK,gBACL,oBAAoB,CAAC,cAAc,CAAC,KACjD,KAmBD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const FooterEndConversation: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=FooterEndConversation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterEndConversation.d.ts","sourceRoot":"","sources":["../../src/components/FooterEndConversation.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,sCAQjC,CAAA"}
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ botContainer: HTMLDivElement | undefined;
3
+ };
4
+ export declare const FooterLiteBadge: (props: Props) => import("solid-js").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=FooterLiteBadge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FooterLiteBadge.d.ts","sourceRoot":"","sources":["../../src/components/FooterLiteBadge.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,YAAY,EAAE,cAAc,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,eAAe,UAAW,KAAK,mCAyC3C,CAAA"}
@@ -0,0 +1,41 @@
1
+ import { Accessor, JSX } from 'solid-js';
2
+ import { ContinueChatResponse, Theme, StartChatResponse, ChatInputBlock } from '@quickbot.io/schemas';
3
+ import { BotContext, ChatChunk as ChatChunkType, InputSubmitContent, OutgoingLog } from '@/types';
4
+ type InputAnswerContextType = {
5
+ chatChunks: Accessor<ChatChunkType[]>;
6
+ theme: Accessor<Theme>;
7
+ dynamicTheme: Accessor<ContinueChatResponse['dynamicTheme']>;
8
+ setTheme: (theme: Theme) => void;
9
+ hasError: Accessor<boolean>;
10
+ setHasError: (hasError: boolean) => void;
11
+ isSending: Accessor<boolean>;
12
+ blockedPopupUrl: Accessor<string | undefined>;
13
+ setBlockedPopupUrl: (url: string | undefined) => void;
14
+ blockRef: HTMLDivElement | undefined;
15
+ currentBlock: () => ChatChunkType | undefined;
16
+ answers: Accessor<Record<number, InputSubmitContent | undefined>>;
17
+ setAnswer: (chunkIndex: number, content: InputSubmitContent | undefined) => void;
18
+ getAnswer: (chunkIndex: number) => InputSubmitContent | undefined;
19
+ displayedMessageIndexes: Accessor<Record<number, number>>;
20
+ setDisplayedMessageIndex: (chunkIndex: number, index: number) => void;
21
+ getDisplayedMessageIndex: (chunkIndex: number) => number;
22
+ sendMessage: (answer?: InputSubmitContent) => Promise<void>;
23
+ processClientSideActions: (actions: NonNullable<ContinueChatResponse['clientSideActions']>) => Promise<void>;
24
+ };
25
+ type Props = {
26
+ children: JSX.Element;
27
+ initialChatReply: StartChatResponse;
28
+ context: BotContext;
29
+ onNewInputBlock?: (inputBlock: ChatInputBlock) => void;
30
+ onAnswer?: (answer: {
31
+ message: string;
32
+ blockId: string;
33
+ }) => void;
34
+ onEnd?: () => void;
35
+ onNewLogs?: (logs: OutgoingLog[]) => void;
36
+ onProgressUpdate?: (progress: number) => void;
37
+ };
38
+ export declare const InputAnswerProvider: (props: Props) => JSX.Element;
39
+ export declare const useInputAnswer: () => InputAnswerContextType;
40
+ export {};
41
+ //# sourceMappingURL=InputAnswerContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputAnswerContext.d.ts","sourceRoot":"","sources":["../../src/components/InputAnswerContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,QAAQ,EACR,GAAG,EAEJ,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,oBAAoB,EACpB,KAAK,EAEL,iBAAiB,EACjB,cAAc,EACf,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,SAAS,IAAI,aAAa,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAYjG,KAAK,sBAAsB,GAAG;IAC5B,UAAU,EAAE,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAA;IACrC,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAA;IACtB,YAAY,EAAE,QAAQ,CAAC,oBAAoB,CAAC,cAAc,CAAC,CAAC,CAAA;IAC5D,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;IAChC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC3B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAA;IACxC,SAAS,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC5B,eAAe,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;IAC7C,kBAAkB,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IACrD,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,YAAY,EAAE,MAAM,aAAa,GAAG,SAAS,CAAA;IAC7C,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC,CAAC,CAAA;IACjE,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,SAAS,KAAK,IAAI,CAAA;IAChF,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,kBAAkB,GAAG,SAAS,CAAA;IACjE,uBAAuB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;IACzD,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrE,wBAAwB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,CAAA;IACxD,WAAW,EAAE,CAAC,MAAM,CAAC,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3D,wBAAwB,EAAE,CACxB,OAAO,EAAE,WAAW,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,CAAC,KAC5D,OAAO,CAAC,IAAI,CAAC,CAAA;CACnB,CAAA;AAED,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,gBAAgB,EAAE,iBAAiB,CAAA;IACnC,OAAO,EAAE,UAAU,CAAA;IACnB,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAA;IACtD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAA;IACjE,KAAK,CAAC,EAAE,MAAM,IAAI,CAAA;IAClB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACzC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C,CAAA;AAID,eAAO,MAAM,mBAAmB,UAAW,KAAK,gBAkR/C,CAAA;AAED,eAAO,MAAM,cAAc,8BAM1B,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { ContinueChatResponse, Theme } from '@typebot.io/schemas';
1
+ import type { ContinueChatResponse, Theme } from '@quickbot.io/schemas';
2
2
  import { BotContext, InputSubmitContent } from '@/types';
3
3
  type Props = {
4
4
  ref: HTMLDivElement | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"InputChatBlock.d.ts","sourceRoot":"","sources":["../../src/components/InputChatBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EASpB,KAAK,EAKN,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAuBxD,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,cAAc,GAAG,SAAS,CAAA;IAC/B,KAAK,EAAE,WAAW,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAA;IACjD,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAA;IACvD,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,UAAU,CAAA;IACnB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,OAAO,CAAA;IACjB,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,cAAc,UAAW,KAAK,mCA6D1C,CAAA"}
1
+ {"version":3,"file":"InputChatBlock.d.ts","sourceRoot":"","sources":["../../src/components/InputChatBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAEpB,KAAK,EACN,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAYxD,KAAK,KAAK,GAAG;IACX,GAAG,EAAE,cAAc,GAAG,SAAS,CAAA;IAC/B,KAAK,EAAE,WAAW,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAA;IACjD,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAA;IACvD,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,UAAU,CAAA;IACnB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,OAAO,CAAA;IACjB,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,cAAc,UAAW,KAAK,mCA2F1C,CAAA"}
@@ -0,0 +1,17 @@
1
+ import type { ContinueChatResponse, Theme } from '@quickbot.io/schemas';
2
+ import { BotContext, InputSubmitContent } from '@/types';
3
+ type Props = {
4
+ block: NonNullable<ContinueChatResponse['input']>;
5
+ hasHostAvatar: boolean;
6
+ guestAvatar?: NonNullable<Theme['chat']>['guestAvatar'];
7
+ chunkIndex: number;
8
+ context: BotContext;
9
+ isInputPrefillEnabled: boolean;
10
+ hasError: boolean;
11
+ onTransitionEnd: () => void;
12
+ onSubmit: (content: InputSubmitContent) => void;
13
+ onSkip: () => void;
14
+ };
15
+ export declare const InputChatBlockFooter: (props: Props) => import("solid-js").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=InputChatBlockFooter%20copy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputChatBlockFooter copy.d.ts","sourceRoot":"","sources":["../../src/components/InputChatBlockFooter copy.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EASpB,KAAK,EAIN,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAmBxD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAA;IACjD,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAA;IACvD,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,UAAU,CAAA;IACnB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,OAAO,CAAA;IACjB,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,oBAAoB,UAAW,KAAK,mCAiEhD,CAAA"}
@@ -0,0 +1,17 @@
1
+ import type { ContinueChatResponse, Theme } from '@quickbot.io/schemas';
2
+ import { BotContext, InputSubmitContent } from '@/types';
3
+ type Props = {
4
+ block: NonNullable<ContinueChatResponse['input']>;
5
+ hasHostAvatar: boolean;
6
+ guestAvatar?: NonNullable<Theme['chat']>['guestAvatar'];
7
+ chunkIndex: number;
8
+ context: BotContext;
9
+ isInputPrefillEnabled: boolean;
10
+ hasError: boolean;
11
+ onTransitionEnd: () => void;
12
+ onSubmit: (content: InputSubmitContent) => void;
13
+ onSkip: () => void;
14
+ };
15
+ export declare const InputChatBlockFooter: (props: Props) => import("solid-js").JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=InputChatBlockFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputChatBlockFooter.d.ts","sourceRoot":"","sources":["../../src/components/InputChatBlockFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAQpB,KAAK,EAIN,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAqBxD,KAAK,KAAK,GAAG;IACX,KAAK,EAAE,WAAW,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAA;IACjD,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,WAAW,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAA;IACvD,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,UAAU,CAAA;IACnB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,OAAO,CAAA;IACjB,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC/C,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,oBAAoB,UAAW,KAAK,mCAkFhD,CAAA"}
@@ -0,0 +1,13 @@
1
+ import type { ContinueChatResponse } from '@quickbot.io/schemas';
2
+ import { BotContext, InputSubmitContent } from '@/types';
3
+ export declare const InputChatBlockFooterShow: (props: {
4
+ context: BotContext;
5
+ block: NonNullable<ContinueChatResponse['input']>;
6
+ chunkIndex: number;
7
+ isInputPrefillEnabled: boolean;
8
+ existingAnswer?: string;
9
+ onTransitionEnd: () => void;
10
+ onSubmit: (answer: InputSubmitContent) => void;
11
+ onSkip: (label: string) => void;
12
+ }) => import("solid-js").JSX.Element;
13
+ //# sourceMappingURL=InputChatBlockFooterShow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputChatBlockFooterShow.d.ts","sourceRoot":"","sources":["../../src/components/InputChatBlockFooterShow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAarB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAiCxD,eAAO,MAAM,wBAAwB,UAAW;IAC9C,OAAO,EAAE,UAAU,CAAA;IACnB,KAAK,EAAE,YAAY,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAA;IACjD,UAAU,EAAE,MAAM,CAAA;IAClB,qBAAqB,EAAE,OAAO,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,IAAI,CAAA;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAA;IAC9C,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAChC,mCAuBA,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { JSX } from 'solid-js';
2
+ interface InputFormLayoutProps {
3
+ children: JSX.Element;
4
+ onSubmit: () => void;
5
+ buttonLabel?: string;
6
+ isDisabled?: boolean;
7
+ class?: string;
8
+ customButton?: JSX.Element;
9
+ }
10
+ /**
11
+ * Common layout component for input forms
12
+ * Provides consistent structure and styling for all input components
13
+ * Always uses a form element to normalize submit behavior
14
+ */
15
+ export declare const InputFormLayout: (props: InputFormLayoutProps) => JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=InputFormLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputFormLayout.d.ts","sourceRoot":"","sources":["../../src/components/InputFormLayout.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAA;AAGpC,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAA;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;CAC3B;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,UAAW,oBAAoB,gBAuC1D,CAAA"}
@@ -2,7 +2,6 @@ import { JSX } from 'solid-js/jsx-runtime';
2
2
  type SendButtonProps = {
3
3
  isDisabled?: boolean;
4
4
  isLoading?: boolean;
5
- disableIcon?: boolean;
6
5
  class?: string;
7
6
  } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
7
  export declare const SendButton: (props: SendButtonProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../src/components/SendButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAM1C,KAAK,eAAe,GAAG;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,UAAU,UAAW,eAAe,gBAqBhD,CAAA"}
1
+ {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../src/components/SendButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAI1C,KAAK,eAAe,GAAG;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,UAAU,UAAW,eAAe,gBAgBhD,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type SendButtonProps = {
3
+ isDisabled?: boolean;
4
+ isLoading?: boolean;
5
+ class?: string;
6
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
7
+ export declare const Submit: (props: SendButtonProps) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=Submit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Submit.d.ts","sourceRoot":"","sources":["../../src/components/Submit.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAI1C,KAAK,eAAe,GAAG;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,MAAM,UAAW,eAAe,gBAgB5C,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type SubmitButtonProps = {
3
+ isDisabled?: boolean;
4
+ isLoading?: boolean;
5
+ class?: string;
6
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
7
+ export declare const SubmitButton: (props: SubmitButtonProps) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=SubmitButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubmitButton.d.ts","sourceRoot":"","sources":["../../src/components/SubmitButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAM1C,KAAK,iBAAiB,GAAG;IACvB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAA;AAE/C,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAoBpD,CAAA"}
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ boxSize?: string;
3
+ width?: string;
4
+ };
5
+ export declare const AvatarPlaceholder: ({ boxSize, width }?: Props) => import("solid-js").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=AvatarPlaceholder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AvatarPlaceholder.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/AvatarPlaceholder.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,iBAAiB,wBAAwB,KAAK,mCAsB1D,CAAA"}