@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.
- package/.env.example +34 -0
- package/.eslintrc.cjs +14 -0
- package/.husky/pre-commit +18 -0
- package/.prettierignore +3 -0
- package/.prettierrc +8 -0
- package/README.md +443 -2
- package/base.json +21 -0
- package/dist/components/Badge.d.ts +10 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Bot.d.ts +140 -0
- package/dist/components/Bot.d.ts.map +1 -0
- package/dist/components/FeedbackContentDialog.d.ts +10 -0
- package/dist/components/FeedbackContentDialog.d.ts.map +1 -0
- package/dist/components/TypingBubble.d.ts +2 -0
- package/dist/components/TypingBubble.d.ts.map +1 -0
- package/dist/components/avatars/Avatar.d.ts +4 -0
- package/dist/components/avatars/Avatar.d.ts.map +1 -0
- package/dist/components/avatars/DefaultAvatar.d.ts +2 -0
- package/dist/components/avatars/DefaultAvatar.d.ts.map +1 -0
- package/dist/components/bubbles/AgentReasoningBubble.d.ts +16 -0
- package/dist/components/bubbles/AgentReasoningBubble.d.ts.map +1 -0
- package/dist/components/bubbles/BotBubble.d.ts +39 -0
- package/dist/components/bubbles/BotBubble.d.ts.map +1 -0
- package/dist/components/bubbles/FollowUpPromptBubble.d.ts +8 -0
- package/dist/components/bubbles/FollowUpPromptBubble.d.ts.map +1 -0
- package/dist/components/bubbles/GuestBubble.d.ts +16 -0
- package/dist/components/bubbles/GuestBubble.d.ts.map +1 -0
- package/dist/components/bubbles/LeadCaptureBubble.d.ts +20 -0
- package/dist/components/bubbles/LeadCaptureBubble.d.ts.map +1 -0
- package/dist/components/bubbles/LoadingBubble.d.ts +2 -0
- package/dist/components/bubbles/LoadingBubble.d.ts.map +1 -0
- package/dist/components/bubbles/SourceBubble.d.ts +12 -0
- package/dist/components/bubbles/SourceBubble.d.ts.map +1 -0
- package/dist/components/bubbles/StarterPromptBubble.d.ts +8 -0
- package/dist/components/bubbles/StarterPromptBubble.d.ts.map +1 -0
- package/dist/components/bubbles/ThinkingBubble.d.ts +10 -0
- package/dist/components/bubbles/ThinkingBubble.d.ts.map +1 -0
- package/dist/components/buttons/AttachmentUploadButton.d.ts +11 -0
- package/dist/components/buttons/AttachmentUploadButton.d.ts.map +1 -0
- package/dist/components/buttons/CancelButton.d.ts +10 -0
- package/dist/components/buttons/CancelButton.d.ts.map +1 -0
- package/dist/components/buttons/FeedbackButtons.d.ts +13 -0
- package/dist/components/buttons/FeedbackButtons.d.ts.map +1 -0
- package/dist/components/buttons/ImageUploadButton.d.ts +11 -0
- package/dist/components/buttons/ImageUploadButton.d.ts.map +1 -0
- package/dist/components/buttons/LeadCaptureButtons.d.ts +11 -0
- package/dist/components/buttons/LeadCaptureButtons.d.ts.map +1 -0
- package/dist/components/buttons/RecordAudioButton.d.ts +11 -0
- package/dist/components/buttons/RecordAudioButton.d.ts.map +1 -0
- package/dist/components/buttons/RegenerateResponseButton.d.ts +10 -0
- package/dist/components/buttons/RegenerateResponseButton.d.ts.map +1 -0
- package/dist/components/buttons/SendButton.d.ts +12 -0
- package/dist/components/buttons/SendButton.d.ts.map +1 -0
- package/dist/components/buttons/StopButton.d.ts +9 -0
- package/dist/components/buttons/StopButton.d.ts.map +1 -0
- package/dist/components/buttons/TTSButton.d.ts +10 -0
- package/dist/components/buttons/TTSButton.d.ts.map +1 -0
- package/dist/components/buttons/TracesButton.d.ts +10 -0
- package/dist/components/buttons/TracesButton.d.ts.map +1 -0
- package/dist/components/icons/AddImageIcon.d.ts +3 -0
- package/dist/components/icons/AddImageIcon.d.ts.map +1 -0
- package/dist/components/icons/AttachmentIcon.d.ts +3 -0
- package/dist/components/icons/AttachmentIcon.d.ts.map +1 -0
- package/dist/components/icons/ChevronDownIcon.d.ts +3 -0
- package/dist/components/icons/ChevronDownIcon.d.ts.map +1 -0
- package/dist/components/icons/ChevronRightIcon.d.ts +3 -0
- package/dist/components/icons/ChevronRightIcon.d.ts.map +1 -0
- package/dist/components/icons/CircleDotIcon.d.ts +3 -0
- package/dist/components/icons/CircleDotIcon.d.ts.map +1 -0
- package/dist/components/icons/ClipboardIcon.d.ts +3 -0
- package/dist/components/icons/ClipboardIcon.d.ts.map +1 -0
- package/dist/components/icons/DeleteIcon.d.ts +3 -0
- package/dist/components/icons/DeleteIcon.d.ts.map +1 -0
- package/dist/components/icons/DownloadFileIcon.d.ts +2 -0
- package/dist/components/icons/DownloadFileIcon.d.ts.map +1 -0
- package/dist/components/icons/FileIcon.d.ts +3 -0
- package/dist/components/icons/FileIcon.d.ts.map +1 -0
- package/dist/components/icons/FolderIcon.d.ts +4 -0
- package/dist/components/icons/FolderIcon.d.ts.map +1 -0
- package/dist/components/icons/GlobeIcon.d.ts +3 -0
- package/dist/components/icons/GlobeIcon.d.ts.map +1 -0
- package/dist/components/icons/RecordIcon.d.ts +3 -0
- package/dist/components/icons/RecordIcon.d.ts.map +1 -0
- package/dist/components/icons/SendIcon.d.ts +3 -0
- package/dist/components/icons/SendIcon.d.ts.map +1 -0
- package/dist/components/icons/SparklesIcon.d.ts +3 -0
- package/dist/components/icons/SparklesIcon.d.ts.map +1 -0
- package/dist/components/icons/SquareStopIcon.d.ts +3 -0
- package/dist/components/icons/SquareStopIcon.d.ts.map +1 -0
- package/dist/components/icons/ThumbsDownIcon.d.ts +3 -0
- package/dist/components/icons/ThumbsDownIcon.d.ts.map +1 -0
- package/dist/components/icons/ThumbsUpIcon.d.ts +3 -0
- package/dist/components/icons/ThumbsUpIcon.d.ts.map +1 -0
- package/dist/components/icons/TickIcon.d.ts +2 -0
- package/dist/components/icons/TickIcon.d.ts.map +1 -0
- package/dist/components/icons/TracesIcon.d.ts +3 -0
- package/dist/components/icons/TracesIcon.d.ts.map +1 -0
- package/dist/components/icons/TrashIcon.d.ts +3 -0
- package/dist/components/icons/TrashIcon.d.ts.map +1 -0
- package/dist/components/icons/VolumeIcon.d.ts +3 -0
- package/dist/components/icons/VolumeIcon.d.ts.map +1 -0
- package/dist/components/icons/XIcon.d.ts +5 -0
- package/dist/components/icons/XIcon.d.ts.map +1 -0
- package/dist/components/icons/index.d.ts +21 -0
- package/dist/components/icons/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/inputs/textInput/components/FilePreview.d.ts +12 -0
- package/dist/components/inputs/textInput/components/FilePreview.d.ts.map +1 -0
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts +10 -0
- package/dist/components/inputs/textInput/components/ShortTextInput.d.ts.map +1 -0
- package/dist/components/inputs/textInput/components/TextInput.d.ts +33 -0
- package/dist/components/inputs/textInput/components/TextInput.d.ts.map +1 -0
- package/dist/components/inputs/textInput/index.d.ts +3 -0
- package/dist/components/inputs/textInput/index.d.ts.map +1 -0
- package/dist/components/treeview/AgentflowIcons.d.ts +15 -0
- package/dist/components/treeview/AgentflowIcons.d.ts.map +1 -0
- package/dist/components/treeview/DataTransformer.d.ts +7 -0
- package/dist/components/treeview/DataTransformer.d.ts.map +1 -0
- package/dist/components/treeview/NodeDetailsContent.d.ts +36 -0
- package/dist/components/treeview/NodeDetailsContent.d.ts.map +1 -0
- package/dist/components/treeview/NodeDetailsDialog.d.ts +20 -0
- package/dist/components/treeview/NodeDetailsDialog.d.ts.map +1 -0
- package/dist/components/treeview/RichTreeView.d.ts +25 -0
- package/dist/components/treeview/RichTreeView.d.ts.map +1 -0
- package/dist/components/treeview/TracesDialog.d.ts +16 -0
- package/dist/components/treeview/TracesDialog.d.ts.map +1 -0
- package/dist/components/treeview/TreeView.d.ts +22 -0
- package/dist/components/treeview/TreeView.d.ts.map +1 -0
- package/dist/components/treeview/WorkflowTreeView.d.ts +19 -0
- package/dist/components/treeview/WorkflowTreeView.d.ts.map +1 -0
- package/dist/components/treeview/workflowUtils.d.ts +25 -0
- package/dist/components/treeview/workflowUtils.d.ts.map +1 -0
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/features/bubble/components/Bubble.d.ts +5 -0
- package/dist/features/bubble/components/Bubble.d.ts.map +1 -0
- package/dist/features/bubble/components/BubbleButton.d.ts +16 -0
- package/dist/features/bubble/components/BubbleButton.d.ts.map +1 -0
- package/dist/features/bubble/components/Tooltip.d.ts +15 -0
- package/dist/features/bubble/components/Tooltip.d.ts.map +1 -0
- package/dist/features/bubble/components/index.d.ts +2 -0
- package/dist/features/bubble/components/index.d.ts.map +1 -0
- package/dist/features/bubble/index.d.ts +2 -0
- package/dist/features/bubble/index.d.ts.map +1 -0
- package/dist/features/bubble/types.d.ts +118 -0
- package/dist/features/bubble/types.d.ts.map +1 -0
- package/dist/features/full/components/Full.d.ts +7 -0
- package/dist/features/full/components/Full.d.ts.map +1 -0
- package/dist/features/full/components/index.d.ts +2 -0
- package/dist/features/full/components/index.d.ts.map +1 -0
- package/dist/features/full/index.d.ts +2 -0
- package/dist/features/full/index.d.ts.map +1 -0
- package/dist/features/popup/components/DisclaimerPopup.d.ts +18 -0
- package/dist/features/popup/components/DisclaimerPopup.d.ts.map +1 -0
- package/dist/features/popup/components/Popup.d.ts +8 -0
- package/dist/features/popup/components/Popup.d.ts.map +1 -0
- package/dist/features/popup/components/index.d.ts +3 -0
- package/dist/features/popup/components/index.d.ts.map +1 -0
- package/dist/features/popup/index.d.ts +2 -0
- package/dist/features/popup/index.d.ts.map +1 -0
- package/dist/features/popup/types.d.ts +8 -0
- package/dist/features/popup/types.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/queries/sendMessageQuery.d.ts +118 -0
- package/dist/queries/sendMessageQuery.d.ts.map +1 -0
- package/dist/register.d.ts +2 -0
- package/dist/register.d.ts.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/audioRecording.d.ts +21 -0
- package/dist/utils/audioRecording.d.ts.map +1 -0
- package/dist/utils/chatInputHistory.d.ts +22 -0
- package/dist/utils/chatInputHistory.d.ts.map +1 -0
- package/dist/utils/index.d.ts +26 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/isMobileSignal.d.ts +2 -0
- package/dist/utils/isMobileSignal.d.ts.map +1 -0
- package/dist/web.d.ts +28 -0
- package/dist/web.d.ts.map +1 -0
- package/dist/web.js +1 -0
- package/dist/web.umd.js +1 -0
- package/dist/window.d.ts +46 -0
- package/dist/window.d.ts.map +1 -0
- package/images/ChatEmbed.gif +0 -0
- package/images/proxyserver.png +0 -0
- package/package.json +74 -4
- package/public/index.html +37 -0
- 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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/bubble/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/bubble/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|