@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 @@
1
+ {"version":3,"file":"DeleteIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/DeleteIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAiBpE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const DownloadFileIcon: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=DownloadFileIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DownloadFileIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/DownloadFileIcon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,sCAkB5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const FileIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=FileIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/FileIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,QAAQ,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAclE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const FolderIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ export declare const FolderOpenIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
4
+ //# sourceMappingURL=FolderIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FolderIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/FolderIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAapE,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAaxE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const GlobeIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=GlobeIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobeIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/GlobeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,SAAS,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAenE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const RecordIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=RecordIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecordIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/RecordIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBpE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const SendIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=SendIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SendIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/SendIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,QAAQ,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAIlE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const SparklesIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=SparklesIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SparklesIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/SparklesIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBtE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const SquareStopIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=SquareStopIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SquareStopIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/SquareStopIcon.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 ThumbsDownIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ThumbsDownIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThumbsDownIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ThumbsDownIcon.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 ThumbsUpIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=ThumbsUpIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThumbsUpIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/ThumbsUpIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,YAAY,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAgBtE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const TickIcon: () => import("solid-js").JSX.Element;
2
+ //# sourceMappingURL=TickIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TickIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/TickIcon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,sCAepB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const TracesIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=TracesIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TracesIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/TracesIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAqBpE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const TrashIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=TrashIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrashIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/TrashIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,SAAS,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBnE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const VolumeIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement>) => JSX.Element;
3
+ //# sourceMappingURL=VolumeIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VolumeIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/VolumeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,UAAU,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,gBAkBpE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ export declare const XIcon: (props: JSX.SvgSVGAttributes<SVGSVGElement> & {
3
+ isCurrentColor?: boolean;
4
+ }) => JSX.Element;
5
+ //# sourceMappingURL=XIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XIcon.d.ts","sourceRoot":"","sources":["../../../src/components/icons/XIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,eAAO,MAAM,KAAK,UAAW,IAAI,gBAAgB,CAAC,aAAa,CAAC,GAAG;IAAE,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE,gBAe9F,CAAC"}
@@ -0,0 +1,21 @@
1
+ export * from './ClipboardIcon';
2
+ export * from './ThumbsDownIcon';
3
+ export * from './ThumbsUpIcon';
4
+ export * from './AddImageIcon';
5
+ export * from './CircleDotIcon';
6
+ export * from './DeleteIcon';
7
+ export * from './RecordIcon';
8
+ export * from './SendIcon';
9
+ export * from './TrashIcon';
10
+ export * from './XIcon';
11
+ export * from './TickIcon';
12
+ export * from './AttachmentIcon';
13
+ export * from './SparklesIcon';
14
+ export * from './VolumeIcon';
15
+ export * from './SquareStopIcon';
16
+ export * from './ChevronDownIcon';
17
+ export * from './TracesIcon';
18
+ export * from './FileIcon';
19
+ export * from './GlobeIcon';
20
+ export * from './DownloadFileIcon';
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './buttons/SendButton';
2
+ export * from './TypingBubble';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,12 @@
1
+ type CardWithDeleteOverlayProps = {
2
+ item: {
3
+ name: string;
4
+ };
5
+ disabled?: boolean;
6
+ onDelete: (item: {
7
+ name: string;
8
+ }) => void;
9
+ };
10
+ export declare const FilePreview: (props: CardWithDeleteOverlayProps) => import("solid-js").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=FilePreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilePreview.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/FilePreview.tsx"],"names":[],"mappings":"AAGA,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,WAAW,UAAW,0BAA0B,mCAyC5D,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { JSX } from 'solid-js/jsx-runtime';
2
+ type ShortTextInputProps = {
3
+ ref: HTMLInputElement | HTMLTextAreaElement | undefined;
4
+ onInput: (value: string) => void;
5
+ fontSize?: number;
6
+ disabled?: boolean;
7
+ } & Omit<JSX.TextareaHTMLAttributes<HTMLTextAreaElement>, 'onInput'>;
8
+ export declare const ShortTextInput: (props: ShortTextInputProps) => JSX.Element;
9
+ export {};
10
+ //# sourceMappingURL=ShortTextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShortTextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/ShortTextInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,KAAK,mBAAmB,GAAG;IACzB,GAAG,EAAE,gBAAgB,GAAG,mBAAmB,GAAG,SAAS,CAAC;IACxD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,GAAG,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,SAAS,CAAC,CAAC;AAIrE,eAAO,MAAM,cAAc,UAAW,mBAAmB,gBA4CxD,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { Setter } from 'solid-js';
2
+ import { FileEvent, UploadsConfig } from '@/components/Bot';
3
+ type TextInputProps = {
4
+ placeholder?: string;
5
+ backgroundColor?: string;
6
+ textColor?: string;
7
+ sendButtonColor?: string;
8
+ inputValue: string;
9
+ fontSize?: number;
10
+ disabled?: boolean;
11
+ onSubmit: (value: string) => void;
12
+ onInputChange: (value: string) => void;
13
+ uploadsConfig?: Partial<UploadsConfig>;
14
+ isFullFileUpload?: boolean;
15
+ setPreviews: Setter<unknown[]>;
16
+ onMicrophoneClicked: () => void;
17
+ handleFileChange: (event: FileEvent<HTMLInputElement>) => void;
18
+ maxChars?: number;
19
+ maxCharsWarningMessage?: string;
20
+ autoFocus?: boolean;
21
+ sendMessageSound?: boolean;
22
+ sendSoundLocation?: string;
23
+ fullFileUploadAllowedTypes?: string;
24
+ enableInputHistory?: boolean;
25
+ maxHistorySize?: number;
26
+ isLoading?: boolean;
27
+ showAbortButton?: boolean;
28
+ isMessageStopping?: boolean;
29
+ onAbort?: () => void;
30
+ };
31
+ export declare const TextInput: (props: TextInputProps) => import("solid-js").JSX.Element;
32
+ export {};
33
+ //# sourceMappingURL=TextInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/inputs/textInput/components/TextInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA6C,MAAM,EAAE,MAAM,UAAU,CAAC;AAG7E,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAM5D,KAAK,cAAc,GAAG;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACvC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IAC/B,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,gBAAgB,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAOF,eAAO,MAAM,SAAS,UAAW,cAAc,mCAoP9C,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { TextInput } from './components/TextInput';
2
+ export { FilePreview } from './components/FilePreview';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/textInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { JSXElement } from 'solid-js';
2
+ type IconProps = {
3
+ size?: number;
4
+ color?: string;
5
+ };
6
+ export declare const MaximizeIcon: (props: IconProps) => import("solid-js").JSX.Element;
7
+ type AgentflowIconEntry = {
8
+ name: string;
9
+ icon: (props: IconProps) => JSXElement;
10
+ color: string;
11
+ };
12
+ export declare const AGENTFLOW_ICONS: AgentflowIconEntry[];
13
+ export declare function getAgentflowIcon(name: string): AgentflowIconEntry | null;
14
+ export {};
15
+ //# sourceMappingURL=AgentflowIcons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentflowIcons.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/AgentflowIcons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEtC,KAAK,SAAS,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAuSF,eAAO,MAAM,YAAY,UAAW,SAAS,mCAiB5C,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,UAAU,CAAC;IACvC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAAkB,EAgB/C,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI,CAExE"}
@@ -0,0 +1,7 @@
1
+ type DataTransformerProps = {
2
+ jsonData: string;
3
+ class?: string;
4
+ };
5
+ export declare const DataTransformer: (props: DataTransformerProps) => import("solid-js").JSX.Element;
6
+ export {};
7
+ //# sourceMappingURL=DataTransformer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataTransformer.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/DataTransformer.tsx"],"names":[],"mappings":"AAGA,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,oBAAoB,mCAoE1D,CAAC"}
@@ -0,0 +1,36 @@
1
+ export type NodeDetailsNode = {
2
+ label: string;
3
+ name: string;
4
+ status: string;
5
+ data: any;
6
+ };
7
+ type NodeDetailsContentProps = {
8
+ node: NodeDetailsNode;
9
+ backgroundColor?: string;
10
+ textColor?: string;
11
+ apiHost?: string;
12
+ chatflowid?: string;
13
+ chatId?: string;
14
+ };
15
+ export declare function syntaxHighlight(json: string): string;
16
+ export declare const CloseIcon: () => import("solid-js").JSX.Element;
17
+ export declare const ClockIcon: () => import("solid-js").JSX.Element;
18
+ export declare const CoinIcon: () => import("solid-js").JSX.Element;
19
+ export declare const TokenIcon: () => import("solid-js").JSX.Element;
20
+ export declare const NodeIcon: (props: {
21
+ name: string;
22
+ apiHost?: string;
23
+ size?: number;
24
+ borderRadius?: string;
25
+ bgColor?: string;
26
+ }) => import("solid-js").JSX.Element;
27
+ export declare const jsonBlockStyle: Record<string, string>;
28
+ export declare const nddStyles = "\n .ndd-json .string { color: #7ac35c; }\n .ndd-json .number { color: #e08331; }\n .ndd-json .boolean { color: #326dc3; }\n .ndd-json .null { color: #a951ad; }\n .ndd-json .key { color: #d73e3e; font-weight: bold; }\n @keyframes ndd-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }\n .ndd-spin { animation: ndd-spin 1.5s linear infinite; }\n .ndd-markdown p { margin: 0 0 0.5em 0; }\n .ndd-markdown p:last-child { margin-bottom: 0; }\n .ndd-markdown code { background: rgba(0,0,0,0.06); padding: 1px 4px; border-radius: 3px; font-size: 0.8em; font-family: 'SF Mono', 'Fira Code', Menlo, Consolas, monospace; }\n .ndd-markdown pre { background: rgba(0,0,0,0.04); padding: 10px 12px; border-radius: 6px; overflow-x: auto; margin: 0.5em 0; }\n .ndd-markdown pre code { background: none; padding: 0; font-size: 0.8em; }\n .ndd-markdown a { color: #1976d2; text-decoration: underline; }\n .ndd-markdown ul, .ndd-markdown ol { margin: 0.4em 0; padding-left: 1.5em; }\n .ndd-markdown li { margin: 0.2em 0; }\n .ndd-markdown h1, .ndd-markdown h2, .ndd-markdown h3 { margin: 0.6em 0 0.3em 0; font-weight: 600; }\n .ndd-markdown h1 { font-size: 1.2em; }\n .ndd-markdown h2 { font-size: 1.1em; }\n .ndd-markdown h3 { font-size: 1em; }\n .ndd-markdown blockquote { border-left: 3px solid rgba(0,0,0,0.15); margin: 0.5em 0; padding: 0.2em 0 0.2em 0.8em; opacity: 0.85; }\n .ndd-markdown table { border-collapse: collapse; margin: 0.5em 0; font-size: 0.85em; }\n .ndd-markdown th, .ndd-markdown td { border: 1px solid rgba(0,0,0,0.12); padding: 4px 8px; }\n .ndd-markdown th { background: rgba(0,0,0,0.04); font-weight: 600; }\n .ndd-markdown strong { font-weight: 600; }\n";
29
+ export declare const getMetrics: (data: any) => {
30
+ time?: string | undefined;
31
+ tokens?: string | undefined;
32
+ cost?: string | undefined;
33
+ } | null;
34
+ export declare const NodeDetailsContent: (props: NodeDetailsContentProps) => import("solid-js").JSX.Element;
35
+ export {};
36
+ //# sourceMappingURL=NodeDetailsContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeDetailsContent.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/NodeDetailsContent.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,GAAG,CAAC;CACX,CAAC;AAEF,KAAK,uBAAuB,GAAG;IAC7B,IAAI,EAAE,eAAe,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAIF,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAcpD;AAID,eAAO,MAAM,SAAS,sCAerB,CAAC;AAkBF,eAAO,MAAM,SAAS,sCAerB,CAAC;AAEF,eAAO,MAAM,QAAQ,sCAgBpB,CAAC;AAEF,eAAO,MAAM,SAAS,sCAiBrB,CAAC;AAyDF,eAAO,MAAM,QAAQ,UAAW;IAAE,MAAM,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,mCAmEzH,CAAC;AA2FF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAWjD,CAAC;AAsIF,eAAO,MAAM,SAAS,orDAyBrB,CAAC;AAIF,eAAO,MAAM,UAAU,SAAU,GAAG;;;;QAoBnC,CAAC;AAIF,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,mCAimBhE,CAAC"}
@@ -0,0 +1,20 @@
1
+ type NodeDetailsDialogProps = {
2
+ isOpen: boolean;
3
+ onClose: () => void;
4
+ node: {
5
+ label: string;
6
+ name: string;
7
+ status: string;
8
+ data: any;
9
+ } | null;
10
+ backgroundColor?: string;
11
+ textColor?: string;
12
+ apiHost?: string;
13
+ chatflowid?: string;
14
+ chatId?: string;
15
+ dialogContainer?: HTMLElement;
16
+ hasCustomHeader?: boolean;
17
+ };
18
+ export declare const NodeDetailsDialog: (props: NodeDetailsDialogProps) => import("solid-js").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=NodeDetailsDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NodeDetailsDialog.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/NodeDetailsDialog.tsx"],"names":[],"mappings":"AAKA,KAAK,sBAAsB,GAAG;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,GAAG,CAAC;KACX,GAAG,IAAI,CAAC;IACT,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,mCA0E9D,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { JSXElement } from 'solid-js';
2
+ type RichTreeViewProps = {
3
+ children: JSXElement;
4
+ defaultExpanded?: string[];
5
+ defaultSelected?: string;
6
+ onNodeSelect?: (itemId: string) => void;
7
+ highlightItems?: string[];
8
+ multiSelect?: boolean;
9
+ class?: string;
10
+ indentationLevel?: number;
11
+ };
12
+ export declare const RichTreeView: (props: RichTreeViewProps) => import("solid-js").JSX.Element;
13
+ type TreeItemProps = {
14
+ itemId: string;
15
+ label: string | JSXElement;
16
+ children?: JSXElement;
17
+ icon?: JSXElement;
18
+ expandedIcon?: JSXElement;
19
+ endIcon?: JSXElement;
20
+ isLeaf?: boolean;
21
+ borderColor?: string;
22
+ };
23
+ export declare const TreeItem: (props: TreeItemProps) => import("solid-js").JSX.Element;
24
+ export {};
25
+ //# sourceMappingURL=RichTreeView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichTreeView.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/RichTreeView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,UAAU,EAAuC,MAAM,UAAU,CAAC;AAoHtG,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,UAAU,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAUF,eAAO,MAAM,YAAY,UAAW,iBAAiB,mCA4HpD,CAAC;AAGF,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC;IAC3B,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAGF,eAAO,MAAM,QAAQ,UAAW,aAAa,mCA4D5C,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { WorkflowNode } from './workflowUtils';
2
+ type TracesDialogProps = {
3
+ isOpen: boolean;
4
+ onClose: () => void;
5
+ workflowData: WorkflowNode[];
6
+ backgroundColor?: string;
7
+ textColor?: string;
8
+ apiHost?: string;
9
+ chatflowid?: string;
10
+ chatId?: string;
11
+ hasCustomHeader?: boolean;
12
+ dialogContainer?: HTMLElement;
13
+ };
14
+ export declare const TracesDialog: (props: TracesDialogProps) => import("solid-js").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=TracesDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TracesDialog.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/TracesDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAoD,MAAM,iBAAiB,CAAC;AAIjG,KAAK,iBAAiB,GAAG;IACvB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,WAAW,CAAC;CAC/B,CAAC;AAqDF,eAAO,MAAM,YAAY,UAAW,iBAAiB,mCA2UpD,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { JSXElement } from 'solid-js';
2
+ type TreeViewProps = {
3
+ children: JSXElement;
4
+ defaultExpanded?: string[];
5
+ class?: string;
6
+ };
7
+ export declare const TreeView: (props: TreeViewProps) => import("solid-js").JSX.Element;
8
+ type TreeItemProps = {
9
+ itemId: string;
10
+ label: string | JSXElement;
11
+ children?: JSXElement;
12
+ icon?: JSXElement;
13
+ endIcon?: JSXElement;
14
+ };
15
+ export declare const TreeItem: (props: TreeItemProps) => import("solid-js").JSX.Element;
16
+ type RichTreeViewProps = TreeViewProps & {
17
+ highlightItems?: string[];
18
+ onNodeSelect?: (itemId: string) => void;
19
+ };
20
+ export declare const RichTreeView: (props: RichTreeViewProps) => import("solid-js").JSX.Element;
21
+ export {};
22
+ //# sourceMappingURL=TreeView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/TreeView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2C,UAAU,EAA2B,MAAM,UAAU,CAAC;AAuDxG,KAAK,aAAa,GAAG;IACnB,QAAQ,EAAE,UAAU,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAGF,eAAO,MAAM,QAAQ,UAAW,aAAa,mCA4B5C,CAAC;AAGF,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC;IAC3B,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC;AAGF,eAAO,MAAM,QAAQ,UAAW,aAAa,mCA8B5C,CAAC;AAGF,KAAK,iBAAiB,GAAG,aAAa,GAAG;IACvC,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,iBAAiB,mCA6BpD,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { WorkflowNode } from './workflowUtils';
2
+ export type { WorkflowNode };
3
+ type WorkflowTreeViewProps = {
4
+ workflowData: WorkflowNode[];
5
+ class?: string;
6
+ indentationLevel?: number;
7
+ initiallyExpanded?: boolean;
8
+ title?: string;
9
+ backgroundColor?: string;
10
+ textColor?: string;
11
+ fontSize?: number;
12
+ apiHost?: string;
13
+ chatflowid?: string;
14
+ chatId?: string;
15
+ hasCustomHeader?: boolean;
16
+ dialogContainer?: HTMLElement;
17
+ };
18
+ export declare const WorkflowTreeView: (props: WorkflowTreeViewProps) => import("solid-js").JSX.Element;
19
+ //# sourceMappingURL=WorkflowTreeView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowTreeView.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/WorkflowTreeView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAoD,MAAM,iBAAiB,CAAC;AAGjG,YAAY,EAAE,YAAY,EAAE,CAAC;AAG7B,KAAK,qBAAqB,GAAG;IAC3B,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,WAAW,CAAC;CAC/B,CAAC;AA2CF,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,mCAkI5D,CAAC"}
@@ -0,0 +1,25 @@
1
+ export type WorkflowNode = {
2
+ nodeId: string;
3
+ nodeLabel: string;
4
+ data: any;
5
+ previousNodeIds: string[];
6
+ status: 'FINISHED' | 'PENDING' | 'RUNNING' | 'ERROR' | 'INPROGRESS' | 'STOPPED';
7
+ };
8
+ export declare const FLOWISE_CREDENTIAL_ID = "FLOWISE_CREDENTIAL_ID";
9
+ export declare const FinishedIcon: () => import("solid-js").JSX.Element;
10
+ export declare const PendingIcon: () => import("solid-js").JSX.Element;
11
+ export declare const RunningIcon: () => import("solid-js").JSX.Element;
12
+ export declare const ErrorIcon: () => import("solid-js").JSX.Element;
13
+ export declare const StoppedIcon: () => import("solid-js").JSX.Element;
14
+ export declare const getStatusIcon: (status: string) => import("solid-js").JSX.Element;
15
+ export declare const removeFlowiseCredentialId: (data: any) => any;
16
+ export declare const getExecutionStatus: (executionTree: any[]) => string | null;
17
+ export declare const buildTreeData: (nodes: WorkflowNode[]) => {
18
+ id: any;
19
+ label: any;
20
+ name: any;
21
+ status: any;
22
+ data: any;
23
+ children: any;
24
+ }[];
25
+ //# sourceMappingURL=workflowUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflowUtils.d.ts","sourceRoot":"","sources":["../../../src/components/treeview/workflowUtils.tsx"],"names":[],"mappings":"AACA,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,GAAG,CAAC;IACV,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,MAAM,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,SAAS,CAAC;CACjF,CAAC;AAEF,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAG7D,eAAO,MAAM,YAAY,sCAKxB,CAAC;AAEF,eAAO,MAAM,WAAW,sCAKvB,CAAC;AAEF,eAAO,MAAM,WAAW,sCAKvB,CAAC;AAEF,eAAO,MAAM,SAAS,sCAMrB,CAAC;AAEF,eAAO,MAAM,WAAW,sCAKvB,CAAC;AAGF,eAAO,MAAM,aAAa,WAAY,MAAM,mCAuB3C,CAAC;AAGF,eAAO,MAAM,yBAAyB,SAAU,GAAG,KAAG,GAYrD,CAAC;AAGF,eAAO,MAAM,kBAAkB,kBAAmB,GAAG,EAAE,KAAG,MAAM,GAAG,IAkBlE,CAAC;AAGF,eAAO,MAAM,aAAa,UAAW,YAAY,EAAE;;;;;;;GAoQlD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { BubbleProps } from './features/bubble';
2
+ export declare const defaultBotProps: BubbleProps;
3
+ export declare const CHAT_HEADER_HEIGHT = 50;
4
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,eAAe,EAAE,WAQ7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,KAAK,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BubbleParams } from '../types';
2
+ import { BotProps } from '../../../components/Bot';
3
+ export type BubbleProps = BotProps & BubbleParams;
4
+ export declare const Bubble: (props: BubbleProps) => import("solid-js").JSX.Element;
5
+ //# sourceMappingURL=Bubble.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bubble.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/Bubble.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAO,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAQxD,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,YAAY,CAAC;AAElD,eAAO,MAAM,MAAM,UAAW,WAAW,mCA8MxC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { ButtonTheme } from '../types';
2
+ type Props = ButtonTheme & {
3
+ isBotOpened: boolean;
4
+ toggleBot: () => void;
5
+ setButtonPosition: (position: {
6
+ bottom: number;
7
+ right: number;
8
+ }) => void;
9
+ dragAndDrop: boolean;
10
+ autoOpen?: boolean;
11
+ openDelay?: number;
12
+ autoOpenOnMobile?: boolean;
13
+ };
14
+ export declare const BubbleButton: (props: Props) => import("solid-js").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=BubbleButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BubbleButton.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/BubbleButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEvC,KAAK,KAAK,GAAG,WAAW,GAAG;IACzB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,iBAAiB,EAAE,CAAC,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACzE,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAOF,eAAO,MAAM,YAAY,UAAW,KAAK,mCA8HxC,CAAC"}
@@ -0,0 +1,15 @@
1
+ type TooltipProps = {
2
+ showTooltip: boolean;
3
+ position: {
4
+ bottom: number;
5
+ right: number;
6
+ };
7
+ buttonSize: number;
8
+ tooltipMessage?: string;
9
+ tooltipBackgroundColor?: string;
10
+ tooltipTextColor?: string;
11
+ tooltipFontSize?: number;
12
+ };
13
+ declare const Tooltip: (props: TooltipProps) => import("solid-js").JSX.Element;
14
+ export default Tooltip;
15
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/Tooltip.tsx"],"names":[],"mappings":"AAOA,KAAK,YAAY,GAAG;IAClB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,YAAY,mCA2CnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Bubble';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './components';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/bubble/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}