@ohos-ports/flowise-embed 0.0.0-stage → 3.1.6-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/.env.example +34 -0
  2. package/.eslintrc.cjs +14 -0
  3. package/.husky/pre-commit +18 -0
  4. package/.prettierignore +3 -0
  5. package/.prettierrc +8 -0
  6. package/README.md +443 -2
  7. package/base.json +21 -0
  8. package/dist/components/Badge.d.ts +10 -0
  9. package/dist/components/Badge.d.ts.map +1 -0
  10. package/dist/components/Bot.d.ts +140 -0
  11. package/dist/components/Bot.d.ts.map +1 -0
  12. package/dist/components/FeedbackContentDialog.d.ts +10 -0
  13. package/dist/components/FeedbackContentDialog.d.ts.map +1 -0
  14. package/dist/components/TypingBubble.d.ts +2 -0
  15. package/dist/components/TypingBubble.d.ts.map +1 -0
  16. package/dist/components/avatars/Avatar.d.ts +4 -0
  17. package/dist/components/avatars/Avatar.d.ts.map +1 -0
  18. package/dist/components/avatars/DefaultAvatar.d.ts +2 -0
  19. package/dist/components/avatars/DefaultAvatar.d.ts.map +1 -0
  20. package/dist/components/bubbles/AgentReasoningBubble.d.ts +16 -0
  21. package/dist/components/bubbles/AgentReasoningBubble.d.ts.map +1 -0
  22. package/dist/components/bubbles/BotBubble.d.ts +39 -0
  23. package/dist/components/bubbles/BotBubble.d.ts.map +1 -0
  24. package/dist/components/bubbles/FollowUpPromptBubble.d.ts +8 -0
  25. package/dist/components/bubbles/FollowUpPromptBubble.d.ts.map +1 -0
  26. package/dist/components/bubbles/GuestBubble.d.ts +16 -0
  27. package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
  28. package/dist/components/bubbles/LeadCaptureBubble.d.ts +20 -0
  29. package/dist/components/bubbles/LeadCaptureBubble.d.ts.map +1 -0
  30. package/dist/components/bubbles/LoadingBubble.d.ts +2 -0
  31. package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -0
  32. package/dist/components/bubbles/SourceBubble.d.ts +12 -0
  33. package/dist/components/bubbles/SourceBubble.d.ts.map +1 -0
  34. package/dist/components/bubbles/StarterPromptBubble.d.ts +8 -0
  35. package/dist/components/bubbles/StarterPromptBubble.d.ts.map +1 -0
  36. package/dist/components/bubbles/ThinkingBubble.d.ts +10 -0
  37. package/dist/components/bubbles/ThinkingBubble.d.ts.map +1 -0
  38. package/dist/components/buttons/AttachmentUploadButton.d.ts +11 -0
  39. package/dist/components/buttons/AttachmentUploadButton.d.ts.map +1 -0
  40. package/dist/components/buttons/CancelButton.d.ts +10 -0
  41. package/dist/components/buttons/CancelButton.d.ts.map +1 -0
  42. package/dist/components/buttons/FeedbackButtons.d.ts +13 -0
  43. package/dist/components/buttons/FeedbackButtons.d.ts.map +1 -0
  44. package/dist/components/buttons/ImageUploadButton.d.ts +11 -0
  45. package/dist/components/buttons/ImageUploadButton.d.ts.map +1 -0
  46. package/dist/components/buttons/LeadCaptureButtons.d.ts +11 -0
  47. package/dist/components/buttons/LeadCaptureButtons.d.ts.map +1 -0
  48. package/dist/components/buttons/RecordAudioButton.d.ts +11 -0
  49. package/dist/components/buttons/RecordAudioButton.d.ts.map +1 -0
  50. package/dist/components/buttons/RegenerateResponseButton.d.ts +10 -0
  51. package/dist/components/buttons/RegenerateResponseButton.d.ts.map +1 -0
  52. package/dist/components/buttons/SendButton.d.ts +12 -0
  53. package/dist/components/buttons/SendButton.d.ts.map +1 -0
  54. package/dist/components/buttons/StopButton.d.ts +9 -0
  55. package/dist/components/buttons/StopButton.d.ts.map +1 -0
  56. package/dist/components/buttons/TTSButton.d.ts +10 -0
  57. package/dist/components/buttons/TTSButton.d.ts.map +1 -0
  58. package/dist/components/buttons/TracesButton.d.ts +10 -0
  59. package/dist/components/buttons/TracesButton.d.ts.map +1 -0
  60. package/dist/components/icons/AddImageIcon.d.ts +3 -0
  61. package/dist/components/icons/AddImageIcon.d.ts.map +1 -0
  62. package/dist/components/icons/AttachmentIcon.d.ts +3 -0
  63. package/dist/components/icons/AttachmentIcon.d.ts.map +1 -0
  64. package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
  65. package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
  66. package/dist/components/icons/ChevronRightIcon.d.ts +3 -0
  67. package/dist/components/icons/ChevronRightIcon.d.ts.map +1 -0
  68. package/dist/components/icons/CircleDotIcon.d.ts +3 -0
  69. package/dist/components/icons/CircleDotIcon.d.ts.map +1 -0
  70. package/dist/components/icons/ClipboardIcon.d.ts +3 -0
  71. package/dist/components/icons/ClipboardIcon.d.ts.map +1 -0
  72. package/dist/components/icons/DeleteIcon.d.ts +3 -0
  73. package/dist/components/icons/DeleteIcon.d.ts.map +1 -0
  74. package/dist/components/icons/DownloadFileIcon.d.ts +2 -0
  75. package/dist/components/icons/DownloadFileIcon.d.ts.map +1 -0
  76. package/dist/components/icons/FileIcon.d.ts +3 -0
  77. package/dist/components/icons/FileIcon.d.ts.map +1 -0
  78. package/dist/components/icons/FolderIcon.d.ts +4 -0
  79. package/dist/components/icons/FolderIcon.d.ts.map +1 -0
  80. package/dist/components/icons/GlobeIcon.d.ts +3 -0
  81. package/dist/components/icons/GlobeIcon.d.ts.map +1 -0
  82. package/dist/components/icons/RecordIcon.d.ts +3 -0
  83. package/dist/components/icons/RecordIcon.d.ts.map +1 -0
  84. package/dist/components/icons/SendIcon.d.ts +3 -0
  85. package/dist/components/icons/SendIcon.d.ts.map +1 -0
  86. package/dist/components/icons/SparklesIcon.d.ts +3 -0
  87. package/dist/components/icons/SparklesIcon.d.ts.map +1 -0
  88. package/dist/components/icons/SquareStopIcon.d.ts +3 -0
  89. package/dist/components/icons/SquareStopIcon.d.ts.map +1 -0
  90. package/dist/components/icons/ThumbsDownIcon.d.ts +3 -0
  91. package/dist/components/icons/ThumbsDownIcon.d.ts.map +1 -0
  92. package/dist/components/icons/ThumbsUpIcon.d.ts +3 -0
  93. package/dist/components/icons/ThumbsUpIcon.d.ts.map +1 -0
  94. package/dist/components/icons/TickIcon.d.ts +2 -0
  95. package/dist/components/icons/TickIcon.d.ts.map +1 -0
  96. package/dist/components/icons/TracesIcon.d.ts +3 -0
  97. package/dist/components/icons/TracesIcon.d.ts.map +1 -0
  98. package/dist/components/icons/TrashIcon.d.ts +3 -0
  99. package/dist/components/icons/TrashIcon.d.ts.map +1 -0
  100. package/dist/components/icons/VolumeIcon.d.ts +3 -0
  101. package/dist/components/icons/VolumeIcon.d.ts.map +1 -0
  102. package/dist/components/icons/XIcon.d.ts +5 -0
  103. package/dist/components/icons/XIcon.d.ts.map +1 -0
  104. package/dist/components/icons/index.d.ts +21 -0
  105. package/dist/components/icons/index.d.ts.map +1 -0
  106. package/dist/components/index.d.ts +3 -0
  107. package/dist/components/index.d.ts.map +1 -0
  108. package/dist/components/inputs/textInput/components/FilePreview.d.ts +12 -0
  109. package/dist/components/inputs/textInput/components/FilePreview.d.ts.map +1 -0
  110. package/dist/components/inputs/textInput/components/ShortTextInput.d.ts +10 -0
  111. package/dist/components/inputs/textInput/components/ShortTextInput.d.ts.map +1 -0
  112. package/dist/components/inputs/textInput/components/TextInput.d.ts +33 -0
  113. package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -0
  114. package/dist/components/inputs/textInput/index.d.ts +3 -0
  115. package/dist/components/inputs/textInput/index.d.ts.map +1 -0
  116. package/dist/components/treeview/AgentflowIcons.d.ts +15 -0
  117. package/dist/components/treeview/AgentflowIcons.d.ts.map +1 -0
  118. package/dist/components/treeview/DataTransformer.d.ts +7 -0
  119. package/dist/components/treeview/DataTransformer.d.ts.map +1 -0
  120. package/dist/components/treeview/NodeDetailsContent.d.ts +36 -0
  121. package/dist/components/treeview/NodeDetailsContent.d.ts.map +1 -0
  122. package/dist/components/treeview/NodeDetailsDialog.d.ts +20 -0
  123. package/dist/components/treeview/NodeDetailsDialog.d.ts.map +1 -0
  124. package/dist/components/treeview/RichTreeView.d.ts +25 -0
  125. package/dist/components/treeview/RichTreeView.d.ts.map +1 -0
  126. package/dist/components/treeview/TracesDialog.d.ts +16 -0
  127. package/dist/components/treeview/TracesDialog.d.ts.map +1 -0
  128. package/dist/components/treeview/TreeView.d.ts +22 -0
  129. package/dist/components/treeview/TreeView.d.ts.map +1 -0
  130. package/dist/components/treeview/WorkflowTreeView.d.ts +19 -0
  131. package/dist/components/treeview/WorkflowTreeView.d.ts.map +1 -0
  132. package/dist/components/treeview/workflowUtils.d.ts +25 -0
  133. package/dist/components/treeview/workflowUtils.d.ts.map +1 -0
  134. package/dist/constants.d.ts +4 -0
  135. package/dist/constants.d.ts.map +1 -0
  136. package/dist/features/bubble/components/Bubble.d.ts +5 -0
  137. package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
  138. package/dist/features/bubble/components/BubbleButton.d.ts +16 -0
  139. package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
  140. package/dist/features/bubble/components/Tooltip.d.ts +15 -0
  141. package/dist/features/bubble/components/Tooltip.d.ts.map +1 -0
  142. package/dist/features/bubble/components/index.d.ts +2 -0
  143. package/dist/features/bubble/components/index.d.ts.map +1 -0
  144. package/dist/features/bubble/index.d.ts +2 -0
  145. package/dist/features/bubble/index.d.ts.map +1 -0
  146. package/dist/features/bubble/types.d.ts +118 -0
  147. package/dist/features/bubble/types.d.ts.map +1 -0
  148. package/dist/features/full/components/Full.d.ts +7 -0
  149. package/dist/features/full/components/Full.d.ts.map +1 -0
  150. package/dist/features/full/components/index.d.ts +2 -0
  151. package/dist/features/full/components/index.d.ts.map +1 -0
  152. package/dist/features/full/index.d.ts +2 -0
  153. package/dist/features/full/index.d.ts.map +1 -0
  154. package/dist/features/popup/components/DisclaimerPopup.d.ts +18 -0
  155. package/dist/features/popup/components/DisclaimerPopup.d.ts.map +1 -0
  156. package/dist/features/popup/components/Popup.d.ts +8 -0
  157. package/dist/features/popup/components/Popup.d.ts.map +1 -0
  158. package/dist/features/popup/components/index.d.ts +3 -0
  159. package/dist/features/popup/components/index.d.ts.map +1 -0
  160. package/dist/features/popup/index.d.ts +2 -0
  161. package/dist/features/popup/index.d.ts.map +1 -0
  162. package/dist/features/popup/types.d.ts +8 -0
  163. package/dist/features/popup/types.d.ts.map +1 -0
  164. package/dist/index.d.ts +5 -0
  165. package/dist/index.d.ts.map +1 -0
  166. package/dist/queries/sendMessageQuery.d.ts +118 -0
  167. package/dist/queries/sendMessageQuery.d.ts.map +1 -0
  168. package/dist/register.d.ts +2 -0
  169. package/dist/register.d.ts.map +1 -0
  170. package/dist/types.d.ts +1 -0
  171. package/dist/types.d.ts.map +1 -0
  172. package/dist/utils/audioRecording.d.ts +21 -0
  173. package/dist/utils/audioRecording.d.ts.map +1 -0
  174. package/dist/utils/chatInputHistory.d.ts +22 -0
  175. package/dist/utils/chatInputHistory.d.ts.map +1 -0
  176. package/dist/utils/index.d.ts +26 -0
  177. package/dist/utils/index.d.ts.map +1 -0
  178. package/dist/utils/isMobileSignal.d.ts +2 -0
  179. package/dist/utils/isMobileSignal.d.ts.map +1 -0
  180. package/dist/web.d.ts +28 -0
  181. package/dist/web.d.ts.map +1 -0
  182. package/dist/web.js +1 -0
  183. package/dist/web.umd.js +1 -0
  184. package/dist/window.d.ts +46 -0
  185. package/dist/window.d.ts.map +1 -0
  186. package/images/ChatEmbed.gif +0 -0
  187. package/images/proxyserver.png +0 -0
  188. package/package.json +74 -4
  189. package/public/index.html +37 -0
  190. package/server.js +394 -0
@@ -0,0 +1,140 @@
1
+ import { FeedbackRatingType } from '@/queries/sendMessageQuery';
2
+ import { BotMessageTheme, FooterTheme, TextInputTheme, UserMessageTheme, FeedbackTheme, DisclaimerPopUpTheme, DateTimeToggleTheme } from '@/features/bubble/types';
3
+ import { FilePreview } from '@/components/inputs/textInput/components/FilePreview';
4
+ export type FileEvent<T = EventTarget> = {
5
+ target: T;
6
+ };
7
+ export type FormEvent<T = EventTarget> = {
8
+ preventDefault: () => void;
9
+ currentTarget: T;
10
+ };
11
+ type IUploadConstraits = {
12
+ fileTypes: string[];
13
+ maxUploadSize: number;
14
+ };
15
+ export type UploadsConfig = {
16
+ imgUploadSizeAndTypes: IUploadConstraits[];
17
+ fileUploadSizeAndTypes: IUploadConstraits[];
18
+ isImageUploadAllowed: boolean;
19
+ isSpeechToTextEnabled: boolean;
20
+ isRAGFileUploadAllowed: boolean;
21
+ };
22
+ type FilePreviewData = string | ArrayBuffer;
23
+ type FilePreview = {
24
+ data: FilePreviewData;
25
+ mime: string;
26
+ name: string;
27
+ preview: string;
28
+ type: string;
29
+ };
30
+ type messageType = 'apiMessage' | 'userMessage' | 'usermessagewaiting' | 'leadCaptureMessage';
31
+ type ExecutionState = 'INPROGRESS' | 'FINISHED' | 'ERROR' | 'TERMINATED' | 'TIMEOUT' | 'STOPPED';
32
+ export type IAgentReasoning = {
33
+ agentName?: string;
34
+ messages?: string[];
35
+ usedTools?: any[];
36
+ artifacts?: FileUpload[];
37
+ sourceDocuments?: any[];
38
+ instructions?: string;
39
+ nextAgent?: string;
40
+ };
41
+ export type IAction = {
42
+ id?: string;
43
+ data?: any;
44
+ elements?: Array<{
45
+ type: string;
46
+ label: string;
47
+ }>;
48
+ mapping?: {
49
+ approve: string;
50
+ reject: string;
51
+ toolCalls: any[];
52
+ };
53
+ };
54
+ export type FileUpload = Omit<FilePreview, 'preview'>;
55
+ export type AgentFlowExecutedData = {
56
+ nodeLabel: string;
57
+ nodeId: string;
58
+ data: any;
59
+ previousNodeIds: string[];
60
+ status?: ExecutionState;
61
+ };
62
+ export type MessageType = {
63
+ messageId?: string;
64
+ message: string;
65
+ type: messageType;
66
+ sourceDocuments?: any;
67
+ fileAnnotations?: any;
68
+ fileUploads?: Partial<FileUpload>[];
69
+ artifacts?: Partial<FileUpload>[];
70
+ agentReasoning?: IAgentReasoning[];
71
+ execution?: any;
72
+ agentFlowEventStatus?: string;
73
+ agentFlowExecutedData?: any;
74
+ usedTools?: any[];
75
+ action?: IAction | null;
76
+ rating?: FeedbackRatingType;
77
+ id?: string;
78
+ followUpPrompts?: string;
79
+ dateTime?: string;
80
+ thinking?: string;
81
+ thinkingDuration?: number;
82
+ isThinking?: boolean;
83
+ };
84
+ type observerConfigType = (accessor: string | boolean | object | MessageType[]) => void;
85
+ export type observersConfigType = Record<'observeUserInput' | 'observeLoading' | 'observeMessages', observerConfigType>;
86
+ export type BotProps = {
87
+ chatflowid: string;
88
+ apiHost?: string;
89
+ pageTitle?: string;
90
+ onRequest?: (request: RequestInit) => Promise<void>;
91
+ chatflowConfig?: Record<string, unknown>;
92
+ backgroundColor?: string;
93
+ welcomeMessage?: string;
94
+ errorMessage?: string;
95
+ botMessage?: BotMessageTheme;
96
+ userMessage?: UserMessageTheme;
97
+ textInput?: TextInputTheme;
98
+ feedback?: FeedbackTheme;
99
+ poweredByTextColor?: string;
100
+ badgeBackgroundColor?: string;
101
+ bubbleBackgroundColor?: string;
102
+ bubbleTextColor?: string;
103
+ showTitle?: boolean;
104
+ showAgentMessages?: boolean;
105
+ title?: string;
106
+ titleAvatarSrc?: string;
107
+ titleTextColor?: string;
108
+ titleBackgroundColor?: string;
109
+ formBackgroundColor?: string;
110
+ formTextColor?: string;
111
+ fontSize?: number;
112
+ isFullPage?: boolean;
113
+ footer?: FooterTheme;
114
+ sourceDocsTitle?: string;
115
+ observersConfig?: observersConfigType;
116
+ starterPrompts?: string[] | Record<string, {
117
+ prompt: string;
118
+ }>;
119
+ starterPromptFontSize?: number;
120
+ clearChatOnReload?: boolean;
121
+ disclaimer?: DisclaimerPopUpTheme;
122
+ dateTimeToggle?: DateTimeToggleTheme;
123
+ renderHTML?: boolean;
124
+ closeBot?: () => void;
125
+ hasCustomHeader?: boolean;
126
+ dialogContainer?: HTMLElement;
127
+ };
128
+ export type LeadsConfig = {
129
+ status: boolean;
130
+ title?: string;
131
+ name?: boolean;
132
+ email?: boolean;
133
+ phone?: boolean;
134
+ successMessage?: string;
135
+ };
136
+ export declare const Bot: (botProps: BotProps & {
137
+ class?: string;
138
+ }) => import("solid-js").JSX.Element;
139
+ export {};
140
+ //# sourceMappingURL=Bot.d.ts.map
@@ -0,0 +1 @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WAAW,GAAG;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AA+QF,eAAO,MAAM,GAAG,aAAc,QAAQ,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,mCAo4E1D,CAAC"}
@@ -0,0 +1,10 @@
1
+ type FeedbackContentDialogProps = {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ onSubmit: (text: string) => void;
5
+ backgroundColor?: string;
6
+ textColor?: string;
7
+ };
8
+ declare const FeedbackContentDialog: (props: FeedbackContentDialogProps) => import("solid-js").JSX.Element;
9
+ export default FeedbackContentDialog;
10
+ //# sourceMappingURL=FeedbackContentDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedbackContentDialog.d.ts","sourceRoot":"","sources":["../../src/components/FeedbackContentDialog.tsx"],"names":[],"mappings":"AAEA,KAAK,0BAA0B,GAAG;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAKF,QAAA,MAAM,qBAAqB,UAAW,0BAA0B,mCAwF/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const TypingBubble: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=TypingBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypingBubble.d.ts","sourceRoot":"","sources":["../../src/components/TypingBubble.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,sCAMxB,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const Avatar: (props: {
2
+ initialAvatarSrc?: string;
3
+ }) => import("solid-js").JSX.Element;
4
+ //# sourceMappingURL=Avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/Avatar.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM,UAAW;IAAE,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAAE,mCAkB1D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const DefaultAvatar: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=DefaultAvatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatars/DefaultAvatar.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,sCAqCzB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { FileUpload } from '../Bot';
2
+ type Props = {
3
+ apiHost?: string;
4
+ chatflowid: string;
5
+ chatId: string;
6
+ agentName: string;
7
+ agentMessage: string;
8
+ agentArtifacts?: FileUpload[];
9
+ backgroundColor?: string;
10
+ textColor?: string;
11
+ fontSize?: number;
12
+ renderHTML?: boolean;
13
+ };
14
+ export declare const AgentReasoningBubble: (props: Props) => import("solid-js").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=AgentReasoningBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentReasoningBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/AgentReasoningBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGpC,KAAK,KAAK,GAAG;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,UAAU,EAAE,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,oBAAoB,UAAW,KAAK,mCAoFhD,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { FeedbackRatingType } from '@/queries/sendMessageQuery';
2
+ import { IAction, MessageType } from '../Bot';
3
+ import { DateTimeToggleTheme } from '@/features/bubble/types';
4
+ type Props = {
5
+ message: MessageType;
6
+ chatflowid: string;
7
+ chatId: string;
8
+ apiHost?: string;
9
+ onRequest?: (request: RequestInit) => Promise<void>;
10
+ fileAnnotations?: any;
11
+ showAvatar?: boolean;
12
+ avatarSrc?: string;
13
+ backgroundColor?: string;
14
+ textColor?: string;
15
+ chatFeedbackStatus?: boolean;
16
+ fontSize?: number;
17
+ feedbackColor?: string;
18
+ isLoading: boolean;
19
+ dateTimeToggle?: DateTimeToggleTheme;
20
+ showAgentMessages?: boolean;
21
+ sourceDocsTitle?: string;
22
+ renderHTML?: boolean;
23
+ handleActionClick: (elem: any, action: IAction | undefined | null) => void;
24
+ handleSourceDocumentsClick: (src: any) => void;
25
+ onRegenerateResponse?: () => void;
26
+ onMessageRendered?: () => void;
27
+ messageRatings?: Record<string, FeedbackRatingType>;
28
+ onMessageRatingChange?: (messageId: string, rating: FeedbackRatingType) => void;
29
+ isTTSEnabled?: boolean;
30
+ isTTSLoading?: Record<string, boolean>;
31
+ isTTSPlaying?: Record<string, boolean>;
32
+ handleTTSClick?: (messageId: string, messageText: string) => void;
33
+ handleTTSStop?: (messageId: string) => void;
34
+ hasCustomHeader?: boolean;
35
+ dialogContainer?: HTMLElement;
36
+ };
37
+ export declare const BotBubble: (props: Props) => import("solid-js").JSX.Element;
38
+ export {};
39
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;IAClC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IACpD,qBAAqB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAEhF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,WAAW,CAAC;CAC/B,CAAC;AAOF,eAAO,MAAM,SAAS,UAAW,KAAK,mCA2jBrC,CAAC"}
@@ -0,0 +1,8 @@
1
+ type Props = {
2
+ prompt: string;
3
+ onPromptClick?: () => void;
4
+ starterPromptFontSize?: number;
5
+ };
6
+ export declare const FollowUpPromptBubble: (props: Props) => import("solid-js").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=FollowUpPromptBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FollowUpPromptBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/FollowUpPromptBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,oBAAoB,UAAW,KAAK,mCAsBhD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { MessageType } from '../Bot';
2
+ type Props = {
3
+ message: MessageType;
4
+ apiHost?: string;
5
+ chatflowid: string;
6
+ chatId: string;
7
+ showAvatar?: boolean;
8
+ avatarSrc?: string;
9
+ backgroundColor?: string;
10
+ textColor?: string;
11
+ fontSize?: number;
12
+ renderHTML?: boolean;
13
+ };
14
+ export declare const GuestBubble: (props: Props) => import("solid-js").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=GuestBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuestBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/GuestBubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,WAAW,EAAE,MAAM,QAAQ,CAAC;AAGjD,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAMF,eAAO,MAAM,WAAW,UAAW,KAAK,mCAgGvC,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { LeadsConfig, MessageType } from '@/components/Bot';
2
+ type Props = {
3
+ message: MessageType;
4
+ chatflowid: string;
5
+ chatId: string;
6
+ leadsConfig?: LeadsConfig;
7
+ apiHost?: string;
8
+ showAvatar?: boolean;
9
+ avatarSrc?: string;
10
+ backgroundColor?: string;
11
+ textColor?: string;
12
+ sendButtonColor?: string;
13
+ fontSize?: number;
14
+ isLeadSaved: boolean;
15
+ setIsLeadSaved: (value: boolean) => void;
16
+ setLeadEmail: (value: string) => void;
17
+ };
18
+ export declare const LeadCaptureBubble: (props: Props) => import("solid-js").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=LeadCaptureBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeadCaptureBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/LeadCaptureBubble.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,WAAW,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAMvE,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,WAAW,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvC,CAAC;AAaF,eAAO,MAAM,iBAAiB,UAAW,KAAK,mCAgI7C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const LoadingBubble: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=LoadingBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/LoadingBubble.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,sCAMzB,CAAC"}
@@ -0,0 +1,12 @@
1
+ type Props = {
2
+ pageContent: string;
3
+ metadata: {
4
+ source?: string;
5
+ [key: string]: any;
6
+ };
7
+ onSourceClick?: () => void;
8
+ backgroundColor?: string;
9
+ };
10
+ export declare const SourceBubble: (props: Props) => import("solid-js").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=SourceBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/SourceBubble.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAClD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAuDF,eAAO,MAAM,YAAY,UAAW,KAAK,mCA8CxC,CAAC"}
@@ -0,0 +1,8 @@
1
+ type Props = {
2
+ prompt: string;
3
+ onPromptClick?: () => void;
4
+ starterPromptFontSize?: number;
5
+ };
6
+ export declare const StarterPromptBubble: (props: Props) => import("solid-js").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=StarterPromptBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StarterPromptBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/StarterPromptBubble.tsx"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AACF,eAAO,MAAM,mBAAmB,UAAW,KAAK,mCAsB/C,CAAC"}
@@ -0,0 +1,10 @@
1
+ type Props = {
2
+ thinking?: string;
3
+ thinkingDuration?: number;
4
+ isThinking?: boolean;
5
+ backgroundColor?: string;
6
+ textColor?: string;
7
+ };
8
+ export declare const ThinkingCard: (props: Props) => import("solid-js").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ThinkingBubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThinkingBubble.d.ts","sourceRoot":"","sources":["../../../src/components/bubbles/ThinkingBubble.tsx"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAmCF,eAAO,MAAM,YAAY,UAAW,KAAK,mCAgKxC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type FileUploadButtonProps = {
3
+ buttonColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const AttachmentUploadButton: (props: FileUploadButtonProps) => JSX.Element;
9
+ export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=AttachmentUploadButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/AttachmentUploadButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,qBAAqB,GAAG;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,sBAAsB,UAAW,qBAAqB,gBAiBlE,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type CancelButtonProps = {
3
+ buttonColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const CancelButton: (props: CancelButtonProps) => JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=CancelButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CancelButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/CancelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,iBAAiB,GAAG;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAepD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { JSX } from 'solid-js';
2
+ type RatingButtonProps = {
3
+ feedbackColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ rating?: string;
8
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
9
+ export declare const CopyToClipboardButton: (props: RatingButtonProps) => JSX.Element;
10
+ export declare const ThumbsUpButton: (props: RatingButtonProps) => JSX.Element;
11
+ export declare const ThumbsDownButton: (props: RatingButtonProps) => JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=FeedbackButtons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeedbackButtons.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/FeedbackButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAC;AAIrC,KAAK,iBAAiB,GAAG;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAIhD,eAAO,MAAM,qBAAqB,UAAW,iBAAiB,gBAiB7D,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,iBAAiB,gBAkBtD,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,iBAAiB,gBAkBxD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type ImageUploadButtonProps = {
3
+ buttonColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const ImageUploadButton: (props: ImageUploadButtonProps) => JSX.Element;
9
+ export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=ImageUploadButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImageUploadButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/ImageUploadButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,sBAAsB,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,gBAiB9D,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { JSX } from 'solid-js';
2
+ type LeadCaptureButtonProps = {
3
+ buttonColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const CancelLeadCaptureButton: (props: LeadCaptureButtonProps) => JSX.Element;
9
+ export declare const SaveLeadButton: (props: LeadCaptureButtonProps) => JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=LeadCaptureButtons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LeadCaptureButtons.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/LeadCaptureButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAC;AAIrC,KAAK,sBAAsB,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAGhD,eAAO,MAAM,uBAAuB,UAAW,sBAAsB,gBAepE,CAAC;AAWF,eAAO,MAAM,cAAc,UAAW,sBAAsB,gBAc3D,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type RecordAudioButtonProps = {
3
+ buttonColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const RecordAudioButton: (props: RecordAudioButtonProps) => JSX.Element;
9
+ export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=RecordAudioButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordAudioButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/RecordAudioButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,sBAAsB,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,gBAiB9D,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { JSX } from 'solid-js';
2
+ type RegenerateResponseButtonProps = {
3
+ feedbackColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const RegenerateResponseButton: (props: RegenerateResponseButtonProps) => JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=RegenerateResponseButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RegenerateResponseButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/RegenerateResponseButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAC;AAIrC,KAAK,6BAA6B,GAAG;IACnC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAIhD,eAAO,MAAM,wBAAwB,UAAW,6BAA6B,gBAkB5E,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type SendButtonProps = {
3
+ sendButtonColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const SendButton: (props: SendButtonProps) => JSX.Element;
9
+ export declare const DeleteButton: (props: SendButtonProps) => JSX.Element;
10
+ export declare const Spinner: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=SendButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/SendButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,eAAe,GAAG;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEhD,eAAO,MAAM,UAAU,UAAW,eAAe,gBAiBhD,CAAC;AACF,eAAO,MAAM,YAAY,UAAW,eAAe,gBAsBlD,CAAC;AAEF,eAAO,MAAM,OAAO,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBjE,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type StopButtonProps = {
3
+ sendButtonColor?: string;
4
+ isDisabled?: boolean;
5
+ isStopping?: boolean;
6
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
7
+ export declare const StopButton: (props: StopButtonProps) => JSX.Element;
8
+ export {};
9
+ //# sourceMappingURL=StopButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StopButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/StopButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,KAAK,eAAe,GAAG;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAShD,eAAO,MAAM,UAAU,UAAW,eAAe,gBAkBhD,CAAC"}
@@ -0,0 +1,10 @@
1
+ type Props = {
2
+ isLoading?: boolean;
3
+ isPlaying?: boolean;
4
+ feedbackColor?: string;
5
+ onClick: () => void;
6
+ class?: string;
7
+ };
8
+ export declare const TTSButton: (props: Props) => import("solid-js").JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=TTSButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TTSButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/TTSButton.tsx"],"names":[],"mappings":"AAGA,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAIF,eAAO,MAAM,SAAS,UAAW,KAAK,mCA6DrC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { JSX } from 'solid-js';
2
+ type TracesButtonProps = {
3
+ feedbackColor?: string;
4
+ isDisabled?: boolean;
5
+ isLoading?: boolean;
6
+ disableIcon?: boolean;
7
+ } & JSX.ButtonHTMLAttributes<HTMLButtonElement>;
8
+ export declare const TracesButton: (props: TracesButtonProps) => JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=TracesButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TracesButton.d.ts","sourceRoot":"","sources":["../../../src/components/buttons/TracesButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAQ,MAAM,UAAU,CAAC;AAIrC,KAAK,iBAAiB,GAAG;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,GAAG,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAIhD,eAAO,MAAM,YAAY,UAAW,iBAAiB,gBAqBpD,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const AddImageIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=AddImageIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AddImageIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/AddImageIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBtE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const AttachmentIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=AttachmentIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttachmentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/AttachmentIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,cAAc,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBxE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const ChevronDownIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ChevronDownIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChevronDownIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ChevronDownIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,eAAe,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAazE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const ChevronRightIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ChevronRightIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChevronRightIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ChevronRightIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,gBAAgB,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAa1E,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const CircleDotIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=CircleDotIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CircleDotIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/CircleDotIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,aAAa,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAevE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const ClipboardIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ClipboardIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClipboardIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ClipboardIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,aAAa,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBvE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const DeleteIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=DeleteIcon.d.ts.map