@agentscope-ai/flow 0.0.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/README.zh-CN.md +67 -0
- package/dist/components/base-node/index.d.ts +27 -0
- package/dist/components/base-node/index.js +320 -0
- package/dist/components/base-node/index.less +258 -0
- package/dist/components/branch-title-header/index.d.ts +12 -0
- package/dist/components/branch-title-header/index.js +176 -0
- package/dist/components/branch-title-header/index.less +28 -0
- package/dist/components/check-list-btn/index.d.ts +4 -0
- package/dist/components/check-list-btn/index.js +144 -0
- package/dist/components/check-list-btn/index.less +113 -0
- package/dist/components/code-input/index.d.ts +24 -0
- package/dist/components/code-input/index.js +356 -0
- package/dist/components/code-input/index.less +87 -0
- package/dist/components/condition-item/index.d.ts +13 -0
- package/dist/components/condition-item/index.js +185 -0
- package/dist/components/condition-item/index.less +23 -0
- package/dist/components/custom-connection-line/index.d.ts +4 -0
- package/dist/components/custom-connection-line/index.js +28 -0
- package/dist/components/custom-handle/source-handle.d.ts +10 -0
- package/dist/components/custom-handle/source-handle.js +45 -0
- package/dist/components/custom-handle/target-handle.d.ts +6 -0
- package/dist/components/custom-handle/target-handle.js +21 -0
- package/dist/components/custom-inputs-control/index.d.ts +56 -0
- package/dist/components/custom-inputs-control/index.js +366 -0
- package/dist/components/custom-inputs-control/index.less +28 -0
- package/dist/components/custom-outputs-form/index.d.ts +24 -0
- package/dist/components/custom-outputs-form/index.js +346 -0
- package/dist/components/custom-outputs-form/index.less +51 -0
- package/dist/components/drag-panel/index.d.ts +10 -0
- package/dist/components/drag-panel/index.js +79 -0
- package/dist/components/drag-panel/index.less +23 -0
- package/dist/components/draggable-with-handle/index.d.ts +13 -0
- package/dist/components/draggable-with-handle/index.js +81 -0
- package/dist/components/draggable-with-handle/index.less +23 -0
- package/dist/components/flow-aside/index.d.ts +4 -0
- package/dist/components/flow-aside/index.js +62 -0
- package/dist/components/flow-aside/index.less +84 -0
- package/dist/components/flow-base-edge/index.d.ts +5 -0
- package/dist/components/flow-base-edge/index.js +226 -0
- package/dist/components/flow-base-edge/index.less +28 -0
- package/dist/components/flow-base-edge/linear-gradient-svg.d.ts +21 -0
- package/dist/components/flow-base-edge/linear-gradient-svg.js +32 -0
- package/dist/components/flow-icon/index.d.ts +9 -0
- package/dist/components/flow-icon/index.js +30 -0
- package/dist/components/flow-icon/index.less +20 -0
- package/dist/components/flow-mini-map/index.d.ts +4 -0
- package/dist/components/flow-mini-map/index.js +26 -0
- package/dist/components/flow-mini-map/index.less +22 -0
- package/dist/components/flow-panel/config-panel.d.ts +15 -0
- package/dist/components/flow-panel/config-panel.js +303 -0
- package/dist/components/flow-panel/index.d.ts +7 -0
- package/dist/components/flow-panel/index.js +7 -0
- package/dist/components/flow-panel/index.less +85 -0
- package/dist/components/flow-panel/panel-container.d.ts +12 -0
- package/dist/components/flow-panel/panel-container.js +25 -0
- package/dist/components/flow-tools/add-node-btn.d.ts +3 -0
- package/dist/components/flow-tools/add-node-btn.js +26 -0
- package/dist/components/flow-tools/history-btn.d.ts +3 -0
- package/dist/components/flow-tools/history-btn.js +59 -0
- package/dist/components/flow-tools/index.d.ts +4 -0
- package/dist/components/flow-tools/index.js +29 -0
- package/dist/components/flow-tools/index.less +82 -0
- package/dist/components/flow-tools/layout-btn.d.ts +3 -0
- package/dist/components/flow-tools/layout-btn.js +27 -0
- package/dist/components/flow-tools/mini-map-btn.d.ts +3 -0
- package/dist/components/flow-tools/mini-map-btn.js +32 -0
- package/dist/components/flow-tools/scale-btn.d.ts +3 -0
- package/dist/components/flow-tools/scale-btn.js +101 -0
- package/dist/components/flow-tools/short-key-btn.d.ts +3 -0
- package/dist/components/flow-tools/short-key-btn.js +38 -0
- package/dist/components/flow-tools/short-key-content.d.ts +4 -0
- package/dist/components/flow-tools/short-key-content.js +153 -0
- package/dist/components/flow-tools/short-key-content.less +38 -0
- package/dist/components/flow-tools/touch-mode-btn.d.ts +3 -0
- package/dist/components/flow-tools/touch-mode-btn.js +89 -0
- package/dist/components/input-text-area/index.d.ts +16 -0
- package/dist/components/input-text-area/index.js +74 -0
- package/dist/components/input-text-area/index.less +30 -0
- package/dist/components/judge-form/index.d.ts +13 -0
- package/dist/components/judge-form/index.js +182 -0
- package/dist/components/judge-form/index.less +11 -0
- package/dist/components/node-menu/index.d.ts +35 -0
- package/dist/components/node-menu/index.js +266 -0
- package/dist/components/node-menu/index.less +79 -0
- package/dist/components/node-resizer/index.d.ts +11 -0
- package/dist/components/node-resizer/index.js +46 -0
- package/dist/components/node-resizer/index.less +12 -0
- package/dist/components/node-result-panel/index.d.ts +9 -0
- package/dist/components/node-result-panel/index.js +155 -0
- package/dist/components/node-result-panel/index.less +132 -0
- package/dist/components/node-tree/index.d.ts +4 -0
- package/dist/components/node-tree/index.js +213 -0
- package/dist/components/node-tree/index.less +51 -0
- package/dist/components/output-params-tree/index.d.ts +10 -0
- package/dist/components/output-params-tree/index.js +34 -0
- package/dist/components/output-params-tree/index.less +27 -0
- package/dist/components/script-code-mirror/index.d.ts +14 -0
- package/dist/components/script-code-mirror/index.js +162 -0
- package/dist/components/script-code-mirror/index.less +11 -0
- package/dist/components/script-edit-modal/index.d.ts +30 -0
- package/dist/components/script-edit-modal/index.js +84 -0
- package/dist/components/script-edit-modal/index.less +24 -0
- package/dist/components/select-with-desc/index.d.ts +5 -0
- package/dist/components/select-with-desc/index.js +20 -0
- package/dist/components/select-with-desc/index.less +11 -0
- package/dist/components/task-status/index.d.ts +4 -0
- package/dist/components/task-status/index.js +209 -0
- package/dist/components/task-status/index.less +65 -0
- package/dist/components/var-input-text-area/index.d.ts +17 -0
- package/dist/components/var-input-text-area/index.js +211 -0
- package/dist/components/var-input-text-area/index.less +64 -0
- package/dist/components/var-type-prefix/index.d.ts +17 -0
- package/dist/components/var-type-prefix/index.js +21 -0
- package/dist/components/variable-input/index.d.ts +24 -0
- package/dist/components/variable-input/index.js +163 -0
- package/dist/components/variable-input/index.less +13 -0
- package/dist/components/variable-tree-select/index.d.ts +33 -0
- package/dist/components/variable-tree-select/index.js +160 -0
- package/dist/components/variable-tree-select/index.less +61 -0
- package/dist/constant/index.d.ts +61 -0
- package/dist/constant/index.js +515 -0
- package/dist/flow/animate.css +5 -0
- package/dist/flow/context.d.ts +12 -0
- package/dist/flow/context.js +44 -0
- package/dist/flow/index.d.ts +13 -0
- package/dist/flow/index.js +162 -0
- package/dist/flow/index.less +72 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/index.js +10 -0
- package/dist/hooks/use-edges-interaction.d.ts +11 -0
- package/dist/hooks/use-edges-interaction.js +125 -0
- package/dist/hooks/use-flow-debug-interaction.d.ts +5 -0
- package/dist/hooks/use-flow-debug-interaction.js +23 -0
- package/dist/hooks/use-flow-interaction.d.ts +12 -0
- package/dist/hooks/use-flow-interaction.js +173 -0
- package/dist/hooks/use-flow-key-press.d.ts +1 -0
- package/dist/hooks/use-flow-key-press.js +32 -0
- package/dist/hooks/use-flow-save.d.ts +5 -0
- package/dist/hooks/use-flow-save.js +47 -0
- package/dist/hooks/use-flow-view-port.d.ts +7 -0
- package/dist/hooks/use-flow-view-port.js +46 -0
- package/dist/hooks/use-history.d.ts +21 -0
- package/dist/hooks/use-history.js +80 -0
- package/dist/hooks/use-nodes-interaction.d.ts +34 -0
- package/dist/hooks/use-nodes-interaction.js +777 -0
- package/dist/hooks/use-nodes-output-params.d.ts +31 -0
- package/dist/hooks/use-nodes-output-params.js +300 -0
- package/dist/hooks/use-nodes-update.d.ts +9 -0
- package/dist/hooks/use-nodes-update.js +38 -0
- package/dist/hooks/use-work-flow.d.ts +4 -0
- package/dist/hooks/use-work-flow.js +21 -0
- package/dist/i18n/i18n.d.ts +62 -0
- package/dist/i18n/i18n.js +111 -0
- package/dist/i18n/index.d.ts +3 -0
- package/dist/i18n/index.js +12 -0
- package/dist/i18n/locales/en-us.json +327 -0
- package/dist/i18n/locales/ja-jp.json +300 -0
- package/dist/i18n/locales/zh-cn.json +327 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +47 -0
- package/dist/index.less +1 -0
- package/dist/store/index.d.ts +70 -0
- package/dist/store/index.js +146 -0
- package/dist/tailwind.css +28 -0
- package/dist/types/work-flow.d.ts +188 -0
- package/dist/types/work-flow.js +1 -0
- package/dist/utils/default-values.d.ts +2 -0
- package/dist/utils/default-values.js +16 -0
- package/dist/utils/index.d.ts +39 -0
- package/dist/utils/index.js +273 -0
- package/dist/utils/unique-id.d.ts +2 -0
- package/dist/utils/unique-id.js +39 -0
- package/dist/utils/work-flow.d.ts +17 -0
- package/dist/utils/work-flow.js +44 -0
- package/package.json +78 -0
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spark-flow.components.BaseNode.index.copySuccess": "复制成功",
|
|
3
|
+
"spark-flow.components.BaseNode.index.copy": "复制",
|
|
4
|
+
"spark-flow.components.BaseNode.index.delete": "删除",
|
|
5
|
+
"spark-flow.components.BaseNode.index.debug": "调试",
|
|
6
|
+
"spark-flow.components.BaseNode.index.whenError": "当异常时",
|
|
7
|
+
"spark-flow.components.BaseNode.index.errorBranch": "异常分支",
|
|
8
|
+
"spark-flow.components.CheckListBtn.index.checklistVar1": "检查清单 · {var1}",
|
|
9
|
+
"spark-flow.components.CheckListBtn.index.allResolved": "所有清单项已解决",
|
|
10
|
+
"spark-flow.components.CodeInput.index.arrayEmpty": "Array(空数组)",
|
|
11
|
+
"spark-flow.components.CodeInput.index.arrayMixed": "Array<混合类型>",
|
|
12
|
+
"spark-flow.components.CodeInput.index.fileObject": "File样式对象",
|
|
13
|
+
"spark-flow.components.CodeInput.index.expectArrayGotVar1": "期望类型为数组,但得到了{var1}",
|
|
14
|
+
"spark-flow.components.CodeInput.index.arrayItemNotObjectVar1Var2": "数组中第{var1}项不是对象类型,而是{var2}",
|
|
15
|
+
"spark-flow.components.CodeInput.index.arrayItemNotStringVar1Var2": "数组中第{var1}项不是字符串类型,而是{var2}",
|
|
16
|
+
"spark-flow.components.CodeInput.index.arrayItemNotNumberVar1Var2": "数组中第{var1}项不是数字类型,而是{var2}",
|
|
17
|
+
"spark-flow.components.CodeInput.index.arrayItemNotBooleanVar1Var2": "数组中第{var1}项不是布尔类型,而是{var2}",
|
|
18
|
+
"spark-flow.components.CodeInput.index.arrayItemNotFileVar1Var2": "数组中第{var1}项不是文件类型,而是{var2}",
|
|
19
|
+
"spark-flow.components.CodeInput.index.expectObjectGotVar1": "期望类型为对象,但得到了{var1}",
|
|
20
|
+
"spark-flow.components.CodeInput.index.expectStringGotVar1": "期望类型为字符串,但得到了{var1}",
|
|
21
|
+
"spark-flow.components.CodeInput.index.expectNumberGotVar1": "期望类型为数字,但得到了{var1}",
|
|
22
|
+
"spark-flow.components.CodeInput.index.expectBooleanGotVar1": "期望类型为布尔值,但得到了{var1}",
|
|
23
|
+
"spark-flow.components.CodeInput.index.expectFileGotVar1": "期望类型为文件,但得到了{var1}",
|
|
24
|
+
"spark-flow.components.CodeInput.index.jsonParseErrorVar1": "JSON解析错误:{var1}",
|
|
25
|
+
"spark-flow.components.CustomInputsControl.index.selectVariable": "请选择变量",
|
|
26
|
+
"spark-flow.components.CustomInputsControl.index.noInputNeeded": "不需要输入值",
|
|
27
|
+
"spark-flow.components.CustomInputsControl.index.reference": "引用",
|
|
28
|
+
"spark-flow.components.CustomInputsControl.index.input": "输入",
|
|
29
|
+
"spark-flow.components.CustomInputsControl.index.variableName": "变量名",
|
|
30
|
+
"spark-flow.components.CustomInputsControl.index.referenceType": "引用方式",
|
|
31
|
+
"spark-flow.components.CustomInputsControl.index.value": "值",
|
|
32
|
+
"spark-flow.components.CustomInputsControl.index.enterVariableName": "请输入变量名",
|
|
33
|
+
"spark-flow.components.CustomInputsControl.index.addVariable": "添加变量",
|
|
34
|
+
"spark-flow.components.CustomOutputsForm.index.selectVariableType": "请选择变量类型",
|
|
35
|
+
"spark-flow.components.CustomOutputsForm.index.enterVariableName": "请输入变量名",
|
|
36
|
+
"spark-flow.components.CustomOutputsForm.index.enterVariableDescription": "请输入变量描述",
|
|
37
|
+
"spark-flow.components.CustomOutputsForm.index.addVariable": "添加变量",
|
|
38
|
+
"spark-flow.components.CustomOutputsForm.index.addSubVariable": "添加子变量",
|
|
39
|
+
"spark-flow.components.CustomOutputsForm.index.variableName": "变量名",
|
|
40
|
+
"spark-flow.components.CustomOutputsForm.index.type": "类型",
|
|
41
|
+
"spark-flow.components.CustomOutputsForm.index.description": "描述",
|
|
42
|
+
"spark-flow.components.FlowAside.index.nodeManagement": "节点管理",
|
|
43
|
+
"spark-flow.components.FlowAside.index.nodeLibrary": "节点库",
|
|
44
|
+
"spark-flow.components.FlowAside.index.current": "当前",
|
|
45
|
+
"spark-flow.components.FlowPanel.ConfigPanel.copySuccess": "复制成功",
|
|
46
|
+
"spark-flow.components.FlowPanel.ConfigPanel.enterNodeName": "请输入节点名称",
|
|
47
|
+
"spark-flow.components.FlowPanel.ConfigPanel.nodeNameExists": "节点名称已存在",
|
|
48
|
+
"spark-flow.components.FlowPanel.ConfigPanel.enterDescription": "请输入描述...",
|
|
49
|
+
"spark-flow.components.FlowPanel.ConfigPanel.nodeNameConfig": "【节点名称】配置",
|
|
50
|
+
"spark-flow.components.FlowPanel.ConfigPanel.debug": "调试",
|
|
51
|
+
"spark-flow.components.FlowPanel.ConfigPanel.rename": "重命名",
|
|
52
|
+
"spark-flow.components.FlowPanel.ConfigPanel.copy": "复制",
|
|
53
|
+
"spark-flow.components.FlowPanel.ConfigPanel.delete": "删除",
|
|
54
|
+
"spark-flow.components.FlowPanel.ConfigPanel.pleaseConfigureFirst": "请先配置",
|
|
55
|
+
"spark-flow.components.FlowTools.AddNodeBtn.addNode": "添加节点",
|
|
56
|
+
"spark-flow.components.FlowTools.HistoryBtn.undo": "撤销",
|
|
57
|
+
"spark-flow.components.FlowTools.HistoryBtn.redo": "重做",
|
|
58
|
+
"spark-flow.components.FlowTools.LayoutBtn.optimizeLayout": "布局优化",
|
|
59
|
+
"spark-flow.components.FlowTools.MiniMapBtn.miniMap": "缩略图",
|
|
60
|
+
"spark-flow.components.FlowTools.ScaleBtn.autoView": "自适应视图",
|
|
61
|
+
"spark-flow.components.FlowTools.ScaleBtn.scale": "缩放",
|
|
62
|
+
"spark-flow.components.FlowTools.ShortKeyBtn.shortcutKeys": "快捷键",
|
|
63
|
+
"spark-flow.components.FlowTools.ShortKeyContent.command": "⌘",
|
|
64
|
+
"spark-flow.components.FlowTools.ShortKeyContent.shift": "⇧",
|
|
65
|
+
"spark-flow.components.FlowTools.ShortKeyContent.moveCanvas": "移动画布",
|
|
66
|
+
"spark-flow.components.FlowTools.ShortKeyContent.spacebar": "空格键",
|
|
67
|
+
"spark-flow.components.FlowTools.ShortKeyContent.drag": "拖拽",
|
|
68
|
+
"spark-flow.components.FlowTools.ShortKeyContent.zoomIn": "放大",
|
|
69
|
+
"spark-flow.components.FlowTools.ShortKeyContent.scroll": "滚动",
|
|
70
|
+
"spark-flow.components.FlowTools.ShortKeyContent.or": "或",
|
|
71
|
+
"spark-flow.components.FlowTools.ShortKeyContent.zoomOut": "缩小",
|
|
72
|
+
"spark-flow.components.FlowTools.ShortKeyContent.undo": "撤销",
|
|
73
|
+
"spark-flow.components.FlowTools.ShortKeyContent.redo": "恢复",
|
|
74
|
+
"spark-flow.components.FlowTools.ShortKeyContent.delete": "删除",
|
|
75
|
+
"spark-flow.components.FlowTools.ShortKeyContent.backspace": "退格",
|
|
76
|
+
"spark-flow.components.FlowTools.TouchModeBtn.mouseFriendlyMode": "鼠标友好模式",
|
|
77
|
+
"spark-flow.components.FlowTools.TouchModeBtn.mouseLeftDragCanvasZoom": "鼠标左键拖动画布,滚轮缩放",
|
|
78
|
+
"spark-flow.components.FlowTools.TouchModeBtn.touchpadFriendlyMode": "触控板友好模式",
|
|
79
|
+
"spark-flow.components.FlowTools.TouchModeBtn.twoFingersMoveDragTwoFingersOpenZoom": "双指同向移动进行拖动,双指开合进行缩放",
|
|
80
|
+
"spark-flow.components.NodeMenu.index.ungrouped": "未分组",
|
|
81
|
+
"spark-flow.components.NodeMenu.index.searchNodeName": "搜索节点名称",
|
|
82
|
+
"spark-flow.components.NodeResultPanel.index.success": "成功",
|
|
83
|
+
"spark-flow.components.NodeResultPanel.index.executing": "执行中",
|
|
84
|
+
"spark-flow.components.NodeResultPanel.index.skipped": "跳过",
|
|
85
|
+
"spark-flow.components.NodeResultPanel.index.failed": "失败",
|
|
86
|
+
"spark-flow.components.NodeResultPanel.index.stopped": "已停止",
|
|
87
|
+
"spark-flow.components.NodeResultPanel.index.paused": "暂停",
|
|
88
|
+
"spark-flow.components.NodeResultPanel.index.input": "输入",
|
|
89
|
+
"spark-flow.components.NodeResultPanel.index.output": "输出",
|
|
90
|
+
"spark-flow.components.NodeTree.index.searchNodeName": "搜索节点名称",
|
|
91
|
+
"spark-flow.components.ShortMemoryForm.index.nodeCache": "本节点缓存",
|
|
92
|
+
"spark-flow.components.ShortMemoryForm.index.customCache": "自定义缓存",
|
|
93
|
+
"spark-flow.components.ShortMemoryForm.index.memory": "记忆",
|
|
94
|
+
"spark-flow.components.TaskStatus.index.runSuccess": "运行成功",
|
|
95
|
+
"spark-flow.components.TaskStatus.index.running": "运行中",
|
|
96
|
+
"spark-flow.components.TaskStatus.index.skipped": "跳过",
|
|
97
|
+
"spark-flow.components.TaskStatus.index.runFailed": "运行失败",
|
|
98
|
+
"spark-flow.components.TaskStatus.index.stopped": "已停止",
|
|
99
|
+
"spark-flow.components.TaskStatus.index.paused": "已暂停",
|
|
100
|
+
"spark-flow.components.TaskStatus.index.requestIdCopied": "Request ID 已复制",
|
|
101
|
+
"spark-flow.components.TaskStatus.index.nodeId": "节点ID",
|
|
102
|
+
"spark-flow.components.TaskStatus.index.nodeType": "节点类型",
|
|
103
|
+
"spark-flow.components.TaskStatus.index.inputTokens": "输入Tokens",
|
|
104
|
+
"spark-flow.components.TaskStatus.index.outputTokens": "输出Tokens",
|
|
105
|
+
"spark-flow.components.TaskStatus.index.tokenDetails": "Token 详情",
|
|
106
|
+
"spark-flow.components.TaskStatus.index.hideTestResult": "隐藏测试结果",
|
|
107
|
+
"spark-flow.components.TaskStatus.index.showTestResult": "显示测试结果",
|
|
108
|
+
"spark-flow.components.VarInputTextArea.index.maxInputChars": "最多可输入{var1}字",
|
|
109
|
+
"spark-flow.components.VarInputTextArea.index.invalidVariable": "无效变量",
|
|
110
|
+
"spark-flow.components.VarInputTextArea.index.builtinVariable": "内置变量",
|
|
111
|
+
"spark-flow.components.VarInputTextArea.index.conversationVariable": "会话变量",
|
|
112
|
+
"spark-flow.components.VarInputTextArea.index.insertVariableWithSlash": "输入\"/\"插入变量",
|
|
113
|
+
"spark-flow.components.VariableInput.index.inputVariableValue": "输入变量值",
|
|
114
|
+
"spark-flow.components.VariableInput.index.select": "请选择",
|
|
115
|
+
"spark-flow.components.VariableInput.index.yes": "是",
|
|
116
|
+
"spark-flow.components.VariableInput.index.no": "否",
|
|
117
|
+
"spark-flow.demos.spark-flow-1.components.ErrorCatchForm.index.defaultValue": "默认值",
|
|
118
|
+
"spark-flow.demos.spark-flow-1.components.ErrorCatchForm.index.defaultOutputWhenExceptionOccurs": "当发生异常时,指定默认输出内容",
|
|
119
|
+
"spark-flow.demos.spark-flow-1.components.ErrorCatchForm.index.exceptionBranch": "异常分支",
|
|
120
|
+
"spark-flow.demos.spark-flow-1.components.ErrorCatchForm.index.executeExceptionBranchWhenExceptionOccurs": "当发生异常时,则执行异常分支",
|
|
121
|
+
"spark-flow.demos.spark-flow-1.components.ErrorCatchForm.index.exceptionHandling": "异常处理",
|
|
122
|
+
"spark-flow.demos.spark-flow-1.components.ErrorCatchForm.index.handlingMethod": "处理方式",
|
|
123
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.editParameter": "编辑参数",
|
|
124
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.addParameter": "新增参数",
|
|
125
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.name": "名称",
|
|
126
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.enterParameterName": "请输入参数名称",
|
|
127
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.mustContainLettersNumbersUnderscoresAndDollarAndCannotStartWithNumber": "只能包含字母、数字、下划线和$,且不能以数字开头",
|
|
128
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.parameterNameAlreadyExists": "参数名称已存在",
|
|
129
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.enter": "请输入",
|
|
130
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.type": "类型",
|
|
131
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.selectParameterType": "请选择参数类型",
|
|
132
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.selectType": "选择类型",
|
|
133
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.description": "描述",
|
|
134
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.enterParameterDescription": "请输入参数描述",
|
|
135
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.parameterDescription": "参数描述",
|
|
136
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.required": "必填",
|
|
137
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamEditModal.index.requiredIsForModelInferenceReferenceOnlyNotForMandatoryValidationOfParameterOutput": "必填仅作为模型推理的参考,不用于参数输出的强制验证。",
|
|
138
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamItem.index.required": "必填",
|
|
139
|
+
"spark-flow.demos.spark-flow-1.components.ExtractParamItem.index.notRequired": "非必填",
|
|
140
|
+
"spark-flow.demos.spark-flow-1.components.GroupVariableForm.index.reference": "引用",
|
|
141
|
+
"spark-flow.demos.spark-flow-1.components.GroupVariableForm.index.input": "输入",
|
|
142
|
+
"spark-flow.demos.spark-flow-1.components.GroupVariableForm.index.referenceMethod": "引用方式",
|
|
143
|
+
"spark-flow.demos.spark-flow-1.components.GroupVariableForm.index.variable": "变量",
|
|
144
|
+
"spark-flow.demos.spark-flow-1.components.ModelConfigForm.index.selectModelFirst": "请先选择模型",
|
|
145
|
+
"spark-flow.demos.spark-flow-1.components.ModelConfigForm.index.selectModel": "请选择模型",
|
|
146
|
+
"spark-flow.demos.spark-flow-1.components.ModelConfigForm.index.visual": "视觉",
|
|
147
|
+
"spark-flow.demos.spark-flow-1.components.ModelConfigForm.index.variable": "变量",
|
|
148
|
+
"spark-flow.demos.spark-flow-1.components.RetryForm.index.retryOnFailure": "失败时重试",
|
|
149
|
+
"spark-flow.demos.spark-flow-1.components.RetryForm.index.maxRetryTimes": "最大重试次数",
|
|
150
|
+
"spark-flow.demos.spark-flow-1.components.RetryForm.index.retryInterval": "重试间隔",
|
|
151
|
+
"spark-flow.demos.spark-flow-1.components.ShortMemoryForm.index.nodeCache": "本节点缓存",
|
|
152
|
+
"spark-flow.demos.spark-flow-1.components.ShortMemoryForm.index.customCache": "自定义缓存",
|
|
153
|
+
"spark-flow.demos.spark-flow-1.components.ShortMemoryForm.index.memory": "记忆",
|
|
154
|
+
"spark-flow.demos.spark-flow-1.components.SingleNodeDrawer.index.testRun": "测试运行",
|
|
155
|
+
"spark-flow.demos.spark-flow-1.components.SingleNodeDrawer.index.inputVariables": "输入变量",
|
|
156
|
+
"spark-flow.demos.spark-flow-1.components.SingleNodeDrawer.index.variableDescription": "变量描述",
|
|
157
|
+
"spark-flow.demos.spark-flow-1.components.SingleNodeDrawer.index.run": "运行",
|
|
158
|
+
"spark-flow.demos.spark-flow-1.components.SingleNodeDrawer.index.reset": "重置",
|
|
159
|
+
"spark-flow.demos.spark-flow-1.components.TestPanel.index.testPanel": "测试面板",
|
|
160
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.canvasConfiguration": "画布",
|
|
161
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.publishChannels": "发布",
|
|
162
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.end": "结束",
|
|
163
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.hello": "你好",
|
|
164
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.helloSysQueryUser": "{\"sys\":{\"query\":\"你好\"},\"user\":{}}",
|
|
165
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.start": "开始",
|
|
166
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.startInput": "{\"input\":{\"provider\":\"87a5a76e\",\"modelId\":\"qwen-max\",\"messages\":[{\"message_type\":\"SYSTEM\",\"metadata\":{\"messageType\":\"SYSTEM\"},\"text\":\"你是一个小助理\"},{\"message_type\":\"USER\",\"metadata\":{\"messageType\":\"USER\"},\"media\":[],\"text\":\"你好\"}],\"params\":{}}}",
|
|
167
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.startOutput": "{\"output\":\"你好!有什么我能帮助你的吗?\"}",
|
|
168
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.largeModel1": "大模型1",
|
|
169
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.helloWhatCanIHelpYou": "你好!有什么我能帮助你的吗?",
|
|
170
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.test": "测试",
|
|
171
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.displayTestResults": "展示测试结果",
|
|
172
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.publish": "发布",
|
|
173
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.start": "开始",
|
|
174
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.startNode": "开始节点",
|
|
175
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.basic": "基础",
|
|
176
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.end": "结束",
|
|
177
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.endNode": "结束节点",
|
|
178
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.largeModel": "大模型",
|
|
179
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.largeModelNode": "大模型节点",
|
|
180
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.interaction": "交互",
|
|
181
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.processOutput": "流程输出",
|
|
182
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.processOutputNode": "流程输出节点",
|
|
183
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.script": "脚本",
|
|
184
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.scriptNode": "脚本节点",
|
|
185
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.logic": "逻辑",
|
|
186
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.conditionJudgment": "条件判断",
|
|
187
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.judgmentNode": "判断节点",
|
|
188
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.defaultCondition": "默认条件",
|
|
189
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.intentionClassification": "意图分类",
|
|
190
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.intentionClassificationNode": "意图分类节点",
|
|
191
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.outputResult": "输出结果",
|
|
192
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.thinkingProcess": "思考过程",
|
|
193
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.hitTheme": "命中主题",
|
|
194
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.loop": "循环",
|
|
195
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.iterationNode": "迭代节点",
|
|
196
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.variableProcessing": "变量处理",
|
|
197
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.textTransformationNode": "文本转换节点",
|
|
198
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.variable": "变量",
|
|
199
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.variableAssignment": "变量赋值",
|
|
200
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.variableAssignmentNode": "变量赋值节点",
|
|
201
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.parameterExtraction": "参数提取",
|
|
202
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.parameterExtractionNode": "参数提取节点",
|
|
203
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.city": "城市",
|
|
204
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.date": "日期",
|
|
205
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.apiNode": "API节点",
|
|
206
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.tool": "工具",
|
|
207
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.iterationStart": "迭代开始",
|
|
208
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.iterationStartNode": "迭代开始节点",
|
|
209
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.iterationEnd": "迭代结束",
|
|
210
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.system": "系统",
|
|
211
|
+
"spark-flow.demos.spark-flow-1.constant.NodeSchema.systemNode": "系统节点",
|
|
212
|
+
"spark-flow.demos.spark-flow-1.constant.index.textOutput": "文本输出",
|
|
213
|
+
"spark-flow.demos.spark-flow-1.constant.index.listOutput": "列表输出",
|
|
214
|
+
"spark-flow.demos.spark-flow-1.constant.index.name": "名称",
|
|
215
|
+
"spark-flow.demos.spark-flow-1.constant.index.age": "年龄",
|
|
216
|
+
"spark-flow.demos.spark-flow-1.constant.mock.openAiProvider": "OpenAI提供商",
|
|
217
|
+
"spark-flow.demos.spark-flow-1.constant.mock.largeLanguageModel": "大语言模型",
|
|
218
|
+
"spark-flow.demos.spark-flow-1.constant.mock.temperature": "温度",
|
|
219
|
+
"spark-flow.demos.spark-flow-1.constant.mock.controlModelOutputRandomness": "控制模型输出的随机性",
|
|
220
|
+
"spark-flow.demos.spark-flow-1.constant.mock.maxTokens": "最大令牌数",
|
|
221
|
+
"spark-flow.demos.spark-flow-1.constant.mock.maximumLengthOfGeneratedText": "生成文本的最大长度",
|
|
222
|
+
"spark-flow.demos.spark-flow-1.index.start": "开始",
|
|
223
|
+
"spark-flow.demos.spark-flow-1.index.city": "城市",
|
|
224
|
+
"spark-flow.demos.spark-flow-1.index.date": "日期",
|
|
225
|
+
"spark-flow.demos.spark-flow-1.index.end": "结束",
|
|
226
|
+
"spark-flow.demos.spark-flow-1.index.largeModel1": "大模型1",
|
|
227
|
+
"spark-flow.demos.spark-flow-1.index.textOutput": "文本输出",
|
|
228
|
+
"spark-flow.demos.spark-flow-1.index.youAreAAssistant": "你是一个小助理",
|
|
229
|
+
"spark-flow.demos.spark-flow-1.index.addNode": "添加节点",
|
|
230
|
+
"spark-flow.demos.spark-flow-1.index.enterNodeName": "请输入节点名称",
|
|
231
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.apiUrl": "API地址",
|
|
232
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.authorization": "鉴权",
|
|
233
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.none": "(无)",
|
|
234
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.headerSettings": "Header设置",
|
|
235
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.bodySettings": "Body设置",
|
|
236
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.output": "输出",
|
|
237
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.rawData": "原始数据",
|
|
238
|
+
"spark-flow.demos.spark-flow-1.nodes.Api.panel.jsonData": "JSON数据",
|
|
239
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.node.default": "默认",
|
|
240
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.node.noIntentionConfigured": "暂未配置意图",
|
|
241
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.fastMode": "快速模式",
|
|
242
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.classificationModelAvoidsThinkingProcessToImproveSpeed适用于SimpleScenarios": "分类模型会避免输出思考过程,提升速度,适用于简单场景",
|
|
243
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.efficiencyMode": "效果模式",
|
|
244
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.classificationModelThinksStepByStepToMatchCorrespondingClassificationMoreAccurately": "分类模型会一步一步的思考,更精准的匹配对应的分类",
|
|
245
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.input": "输入",
|
|
246
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.intentionClassification": "意图分类",
|
|
247
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.addIntention(": "添加意图(",
|
|
248
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.otherIntention": "其他意图",
|
|
249
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.thinkingMode": "思考模式",
|
|
250
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.prompt": "提示词",
|
|
251
|
+
"spark-flow.demos.spark-flow-1.nodes.Classify.panel.output": "输出",
|
|
252
|
+
"spark-flow.demos.spark-flow-1.nodes.LLM.panel.modelSelection": "模型选择",
|
|
253
|
+
"spark-flow.demos.spark-flow-1.nodes.LLM.panel.prompt": "提示词",
|
|
254
|
+
"spark-flow.demos.spark-flow-1.nodes.LLM.panel.userPrompt": "用户提示词",
|
|
255
|
+
"spark-flow.demos.spark-flow-1.nodes.LLM.panel.output": "输出",
|
|
256
|
+
"spark-flow.demos.spark-flow-1.nodes.Output.panel.outputContent": "输出内容",
|
|
257
|
+
"spark-flow.demos.spark-flow-1.nodes.Output.panel.streamOutput": "流式输出",
|
|
258
|
+
"spark-flow.demos.spark-flow-1.nodes.ParameterExtractor.panel.input": "输入",
|
|
259
|
+
"spark-flow.demos.spark-flow-1.nodes.ParameterExtractor.panel.extractParameters": "提取参数",
|
|
260
|
+
"spark-flow.demos.spark-flow-1.nodes.ParameterExtractor.panel.addVariable": "添加变量",
|
|
261
|
+
"spark-flow.demos.spark-flow-1.nodes.ParameterExtractor.panel.prompt": "提示词",
|
|
262
|
+
"spark-flow.demos.spark-flow-1.nodes.ParameterExtractor.panel.output": "输出",
|
|
263
|
+
"spark-flow.demos.spark-flow-1.nodes.Script.panel.input": "输入",
|
|
264
|
+
"spark-flow.demos.spark-flow-1.nodes.Script.panel.code": "代码",
|
|
265
|
+
"spark-flow.demos.spark-flow-1.nodes.Script.panel.fullScreenEditing": "全屏编辑",
|
|
266
|
+
"spark-flow.demos.spark-flow-1.nodes.Script.panel.outputVariables": "输出变量",
|
|
267
|
+
"spark-flow.demos.spark-flow-1.nodes.Start.panel.input": "输入",
|
|
268
|
+
"spark-flow.demos.spark-flow-1.nodes.Start.panel.customVariables": "自定义变量",
|
|
269
|
+
"spark-flow.demos.spark-flow-1.nodes.Start.panel.variable": "内置变量",
|
|
270
|
+
"spark-flow.demos.spark-flow-1.nodes.Start.panel.userQuery": "用户的query",
|
|
271
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableAssign.panel.setVariable": "设置变量",
|
|
272
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableAssign.panel.variable": "变量",
|
|
273
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableAssign.panel.setValue": "设置值",
|
|
274
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableAssign.panel.addVariable": "添加变量",
|
|
275
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.aggregateGroup": "聚合分组",
|
|
276
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.textOutput": "文本输出",
|
|
277
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.jsonOutput": "JSON输出",
|
|
278
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.returnFirstNonEmptyValue": "返回每个分组中第一个非空的值",
|
|
279
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.returnLastNonEmptyValue": "返回每个分组中最后一个非空的值",
|
|
280
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.enterGroupName": "请输入分组名称",
|
|
281
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.groupNameExists": "分组名称已存在",
|
|
282
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.onlyLettersDigitsUnderscoreAndDollar": "只能包含字母、数字、下划线和$,且不能以数字开头",
|
|
283
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.outputMode": "输出模式",
|
|
284
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.groupingStrategy": "分组策略",
|
|
285
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.addGroup": "添加分组",
|
|
286
|
+
"spark-flow.demos.spark-flow-1.nodes.VariableHandle.panel.output": "输出",
|
|
287
|
+
"spark-flow.demos.spark-flow-1.nodes.configPanelsMap.unsupportedNode": "未支持的节点",
|
|
288
|
+
"spark-flow.flow.index.systemNodeCannotBeDeleted": "系统节点不允许删除",
|
|
289
|
+
"spark-flow.hooks.useNodesInteraction.sameSubCanvasOnly": "只能同一子画布中的节点相连",
|
|
290
|
+
"spark-flow.hooks.useNodesInteraction.cannotConnectToSelf": "不能与自身相连",
|
|
291
|
+
"spark-flow.hooks.useNodesInteraction.cannotFormLoop": "不能形成环路",
|
|
292
|
+
"spark-flow.hooks.useNodesInteraction.subCanvasCannotNest": "子画布不能互相嵌套",
|
|
293
|
+
"spark-flow.hooks.useNodesInteraction.nodeCannotBeAddedToGroup": "该节点不能添加到子画布中",
|
|
294
|
+
"spark-flow.hooks.useNodesInteraction.nodeCannotBeAddedToGroupWithNodeType": "该节点不能添加到该类型的子画布中",
|
|
295
|
+
"spark-flow.hooks.useNodesInteraction.copySuccess": "复制成功",
|
|
296
|
+
"spark-flow.hooks.useNodesOutputParams.builtinVariable": "内置变量",
|
|
297
|
+
"spark-flow.components.CodeInput.index.jsonEdit": "JSON编辑",
|
|
298
|
+
"spark-flow.demos.spark-flow-1.components.WorkFlowHeader.index.clear": "清除",
|
|
299
|
+
"spark-flow.ScriptEditModal.index.scriptConversionCodeEditor": "脚本转换:代码编辑",
|
|
300
|
+
"spark-flow.JudgeForm.index.newConditionGroup": "新条件组",
|
|
301
|
+
"spark-flow.JudgeForm.index.addCondition": "添加条件",
|
|
302
|
+
"spark-flow.JudgeForm.index.addConditionGroup": "添加条件组",
|
|
303
|
+
"spark-flow.BranchTitleHeader.index.conditionGroupNameEmpty": "条件组名称不能为空",
|
|
304
|
+
"spark-flow.BranchTitleHeader.index.conditionGroupNameExists": "条件组名称已存在",
|
|
305
|
+
"spark-flow.BranchTitleHeader.index.enterConditionGroupName": "请输入条件组名称",
|
|
306
|
+
"spark-flow.BranchTitleHeader.index.whenSatisfy": "当满足以下",
|
|
307
|
+
"spark-flow.BranchTitleHeader.index.all": "所有",
|
|
308
|
+
"spark-flow.BranchTitleHeader.index.any": "任意",
|
|
309
|
+
"spark-flow.BranchTitleHeader.index.conditions": "条件时",
|
|
310
|
+
"main.pages.App.Workflow.constant.equal": "等于",
|
|
311
|
+
"main.pages.App.Workflow.constant.notEqual": "不等于",
|
|
312
|
+
"main.pages.App.Workflow.constant.empty": "为空",
|
|
313
|
+
"main.pages.App.Workflow.constant.notEmpty": "不为空",
|
|
314
|
+
"main.pages.App.Workflow.constant.greaterThan": "大于",
|
|
315
|
+
"main.pages.App.Workflow.constant.greaterThanOrEqual": "大于等于",
|
|
316
|
+
"main.pages.App.Workflow.constant.lessThan": "小于",
|
|
317
|
+
"main.pages.App.Workflow.constant.lessThanOrEqual": "小于等于",
|
|
318
|
+
"main.pages.App.Workflow.constant.lengthEqual": "长度等于",
|
|
319
|
+
"main.pages.App.Workflow.constant.lengthGreaterThan": "长度大于",
|
|
320
|
+
"main.pages.App.Workflow.constant.lengthGreaterThanOrEqual": "长度大于等于",
|
|
321
|
+
"main.pages.App.Workflow.constant.lengthLessThan": "长度小于",
|
|
322
|
+
"main.pages.App.Workflow.constant.lengthLessThanOrEqual": "长度小于等于",
|
|
323
|
+
"main.pages.App.Workflow.constant.contains": "包含",
|
|
324
|
+
"main.pages.App.Workflow.constant.notContains": "不包含",
|
|
325
|
+
"main.pages.App.Workflow.constant.isTrue": "为true",
|
|
326
|
+
"main.pages.App.Workflow.constant.isFalse": "为false"
|
|
327
|
+
}
|
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.flex-justify-between{display:flex;justify-content:space-between;align-items:center}.flex-center,.full-center{display:flex;justify-content:center;align-items:center}.full-center{width:100%;height:100%}.absolute{position:absolute}.relative{position:relative}.bottom-\[16px\]{bottom:16px}.left-\[16px\]{left:16px}.m-0{margin:0}.mx-\[2px\]{margin-left:2px;margin-right:2px}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.size-\[16px\]{width:16px;height:16px}.size-\[24px\]{width:24px;height:24px}.size-\[32px\]{width:32px;height:32px}.size-\[36px\]{width:36px;height:36px}.h-9{height:2.25rem}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[32px\]{height:32px}.h-full{height:100%}.w-0{width:0}.w-1{width:.25rem}.w-\[1px\]{width:1px}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.gap-\[12px\]{gap:12px}.gap-\[16px\]{gap:16px}.gap-\[2px\]{gap:2px}.gap-\[4px\]{gap:4px}.gap-\[8px\]{gap:8px}.self-start{align-self:flex-start}.overflow-y-auto{overflow-y:auto}.rounded-\[6px\]{border-radius:6px}.bg-yellow-200{--tw-bg-opacity:1;background-color:rgb(254 240 138/var(--tw-bg-opacity,1))}.p-\[20px\]{padding:20px}.p-\[4px\]{padding:4px}.p-\[6px\]{padding:6px}.px-\[16px\]{padding-left:16px;padding-right:16px}.px-\[8px\]{padding-left:8px;padding-right:8px}.py-\[4px\]{padding-top:4px;padding-bottom:4px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.pb-\[16px\]{padding-bottom:16px}.pb-\[8px\]{padding-bottom:8px}.pl-3{padding-left:.75rem}.pl-\[16px\]{padding-left:16px}.pr-\[24px\]{padding-right:24px}.text-\[12px\]{font-size:12px}.text-\[14px\]{font-size:14px}.text-\[20px\]{font-size:20px}.text-\[24px\]{font-size:24px}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import '../tailwind.css';
|
|
2
|
+
export { ReactFlowProvider, useStore as useReactFlowStore, } from '@xyflow/react';
|
|
3
|
+
export type { Edge, Node, NodeProps } from '@xyflow/react';
|
|
4
|
+
export { default as BaseNode, GroupNode } from './components/base-node';
|
|
5
|
+
export { default as CheckListBtn } from './components/check-list-btn';
|
|
6
|
+
export { default as CodeInput } from './components/code-input';
|
|
7
|
+
export { operatorLabelRender } from './components/condition-item';
|
|
8
|
+
export { default as SourceHandle } from './components/custom-handle/source-handle';
|
|
9
|
+
export { default as TargetHandle } from './components/custom-handle/target-handle';
|
|
10
|
+
export { default as CustomInputsControl, VALUE_FROM_OPTIONS, VariableFormComp, VariableSelector, variableFromLabelRender, } from './components/custom-inputs-control';
|
|
11
|
+
export * from './components/custom-outputs-form';
|
|
12
|
+
export { default as DraggableWithHandle } from './components/draggable-with-handle';
|
|
13
|
+
export { default as DragPanel } from './components/drag-panel';
|
|
14
|
+
export { default as FlowAside } from './components/flow-aside';
|
|
15
|
+
export { default as FlowIcon } from './components/flow-icon';
|
|
16
|
+
export { default as FlowPanel } from './components/flow-panel';
|
|
17
|
+
export { default as ConfigPanel } from './components/flow-panel/config-panel';
|
|
18
|
+
export { default as PanelContainer } from './components/flow-panel/panel-container';
|
|
19
|
+
/**工具栏 */
|
|
20
|
+
export { default as FlowTools } from './components/flow-tools';
|
|
21
|
+
export { default as AddNodeBtn } from './components/flow-tools/add-node-btn';
|
|
22
|
+
export { default as HistoryBtn } from './components/flow-tools/history-btn';
|
|
23
|
+
export { default as LayoutBtn } from './components/flow-tools/layout-btn';
|
|
24
|
+
export { default as MiniMapBtn } from './components/flow-tools/mini-map-btn';
|
|
25
|
+
export { default as ScaleBtn } from './components/flow-tools/scale-btn';
|
|
26
|
+
export { default as ShortKeyBtn } from './components/flow-tools/short-key-btn';
|
|
27
|
+
export { default as TouchModeBtn } from './components/flow-tools/touch-mode-btn';
|
|
28
|
+
export * from 'use-bus';
|
|
29
|
+
export { default as InputTextArea } from './components/input-text-area';
|
|
30
|
+
export { default as JudgeForm } from './components/judge-form';
|
|
31
|
+
export { default as OutputParamsTree } from './components/output-params-tree';
|
|
32
|
+
export { default as ScriptCodeMirror } from './components/script-code-mirror';
|
|
33
|
+
export { CODE_DEMO_MAP, default as ScriptEditModal, } from './components/script-edit-modal';
|
|
34
|
+
export { default as SelectWithDesc } from './components/select-with-desc';
|
|
35
|
+
export { default as TaskStatus } from './components/task-status';
|
|
36
|
+
export { VariableBaseInput, default as VariableInput, } from './components/variable-input';
|
|
37
|
+
export { default as VariableTreeSelect } from './components/variable-tree-select';
|
|
38
|
+
export type { IVarItem, IVarTreeItem } from './components/variable-tree-select';
|
|
39
|
+
export { default as VarInputTextArea } from './components/var-input-text-area';
|
|
40
|
+
export * from './constant';
|
|
41
|
+
export { default as Flow } from './flow';
|
|
42
|
+
export * from './flow/context';
|
|
43
|
+
export * from './hooks';
|
|
44
|
+
export * from './types/work-flow';
|
|
45
|
+
export * from './utils';
|
|
46
|
+
export * from './utils/default-values';
|
|
47
|
+
export { default as uniqueId } from './utils/unique-id';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "./index.css";
|
|
2
|
+
export { ReactFlowProvider, useStore as useReactFlowStore } from '@xyflow/react';
|
|
3
|
+
export { default as BaseNode, GroupNode } from "./components/base-node";
|
|
4
|
+
export { default as CheckListBtn } from "./components/check-list-btn";
|
|
5
|
+
export { default as CodeInput } from "./components/code-input";
|
|
6
|
+
export { operatorLabelRender } from "./components/condition-item";
|
|
7
|
+
export { default as SourceHandle } from "./components/custom-handle/source-handle";
|
|
8
|
+
export { default as TargetHandle } from "./components/custom-handle/target-handle";
|
|
9
|
+
export { default as CustomInputsControl, VALUE_FROM_OPTIONS, VariableFormComp, VariableSelector, variableFromLabelRender } from "./components/custom-inputs-control";
|
|
10
|
+
export * from "./components/custom-outputs-form";
|
|
11
|
+
export { default as DraggableWithHandle } from "./components/draggable-with-handle";
|
|
12
|
+
export { default as DragPanel } from "./components/drag-panel";
|
|
13
|
+
export { default as FlowAside } from "./components/flow-aside";
|
|
14
|
+
export { default as FlowIcon } from "./components/flow-icon";
|
|
15
|
+
export { default as FlowPanel } from "./components/flow-panel";
|
|
16
|
+
export { default as ConfigPanel } from "./components/flow-panel/config-panel";
|
|
17
|
+
export { default as PanelContainer } from "./components/flow-panel/panel-container";
|
|
18
|
+
|
|
19
|
+
/**工具栏 */
|
|
20
|
+
export { default as FlowTools } from "./components/flow-tools";
|
|
21
|
+
// 原子工具
|
|
22
|
+
export { default as AddNodeBtn } from "./components/flow-tools/add-node-btn";
|
|
23
|
+
export { default as HistoryBtn } from "./components/flow-tools/history-btn";
|
|
24
|
+
export { default as LayoutBtn } from "./components/flow-tools/layout-btn";
|
|
25
|
+
export { default as MiniMapBtn } from "./components/flow-tools/mini-map-btn";
|
|
26
|
+
export { default as ScaleBtn } from "./components/flow-tools/scale-btn";
|
|
27
|
+
export { default as ShortKeyBtn } from "./components/flow-tools/short-key-btn";
|
|
28
|
+
export { default as TouchModeBtn } from "./components/flow-tools/touch-mode-btn";
|
|
29
|
+
export * from 'use-bus';
|
|
30
|
+
export { default as InputTextArea } from "./components/input-text-area";
|
|
31
|
+
export { default as JudgeForm } from "./components/judge-form";
|
|
32
|
+
export { default as OutputParamsTree } from "./components/output-params-tree";
|
|
33
|
+
export { default as ScriptCodeMirror } from "./components/script-code-mirror";
|
|
34
|
+
export { CODE_DEMO_MAP, default as ScriptEditModal } from "./components/script-edit-modal";
|
|
35
|
+
export { default as SelectWithDesc } from "./components/select-with-desc";
|
|
36
|
+
export { default as TaskStatus } from "./components/task-status";
|
|
37
|
+
export { VariableBaseInput, default as VariableInput } from "./components/variable-input";
|
|
38
|
+
export { default as VariableTreeSelect } from "./components/variable-tree-select";
|
|
39
|
+
export { default as VarInputTextArea } from "./components/var-input-text-area";
|
|
40
|
+
export * from "./constant";
|
|
41
|
+
export { default as Flow } from "./flow";
|
|
42
|
+
export * from "./flow/context";
|
|
43
|
+
export * from "./hooks";
|
|
44
|
+
export * from "./types/work-flow";
|
|
45
|
+
export * from "./utils";
|
|
46
|
+
export * from "./utils/default-values";
|
|
47
|
+
export { default as uniqueId } from "./utils/unique-id";
|
package/dist/index.less
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@ant-prefix: ag-ant;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { INodeMenuItemProps } from "../components/node-menu";
|
|
3
|
+
import { IVarTreeItem } from "../components/variable-tree-select";
|
|
4
|
+
import { Edge, Node } from '@xyflow/react';
|
|
5
|
+
import { ICheckListItem, INodeSchema, IWorkFlowNode, IWorkFlowTaskProcess } from '../types/work-flow';
|
|
6
|
+
export interface IWorkFlowStore {
|
|
7
|
+
showResults: boolean;
|
|
8
|
+
setShowResults: (val: boolean) => void;
|
|
9
|
+
taskStore?: IWorkFlowTaskProcess;
|
|
10
|
+
setTaskStore: (val: IWorkFlowTaskProcess | undefined) => void;
|
|
11
|
+
debounceSaveDraft: (fn: () => void) => void;
|
|
12
|
+
hiddenMenu: boolean;
|
|
13
|
+
setHiddenMenu: (val: boolean) => void;
|
|
14
|
+
selectedNode: IWorkFlowNode | null;
|
|
15
|
+
setSelectedNode: (val: IWorkFlowNode | null) => void;
|
|
16
|
+
variableTree: Array<IVarTreeItem>;
|
|
17
|
+
setVariableTree: (val: Array<IVarTreeItem>) => void;
|
|
18
|
+
checkList: Array<ICheckListItem>;
|
|
19
|
+
setCheckList: (val: Array<ICheckListItem>) => void;
|
|
20
|
+
nodeSchemaMap: Record<string, INodeSchema>;
|
|
21
|
+
setNodeSchema: (val: Record<string, INodeSchema>) => void;
|
|
22
|
+
slots: {
|
|
23
|
+
configPanelRenderer?: (val: IWorkFlowNode) => React.ReactElement | null;
|
|
24
|
+
nodeResultContentRenderer?: (props: {
|
|
25
|
+
input?: string;
|
|
26
|
+
output?: string;
|
|
27
|
+
}) => React.ReactElement | null;
|
|
28
|
+
};
|
|
29
|
+
onDebounceChange?: (data: {
|
|
30
|
+
nodes: IWorkFlowNode[];
|
|
31
|
+
edges: Edge[];
|
|
32
|
+
}) => void;
|
|
33
|
+
onChange: (data: {
|
|
34
|
+
nodes: Node[];
|
|
35
|
+
edges: Edge[];
|
|
36
|
+
}) => void;
|
|
37
|
+
readyOnly: boolean;
|
|
38
|
+
setReadyOnly: (val: boolean) => void;
|
|
39
|
+
showSingleTest: boolean;
|
|
40
|
+
setShowSingleTest: (val: boolean) => void;
|
|
41
|
+
onAddCustomNode: (data: IWorkFlowNode) => Promise<IWorkFlowNode | null>;
|
|
42
|
+
showMiniMap: boolean;
|
|
43
|
+
setShowMiniMap: (val: boolean) => void;
|
|
44
|
+
futureSteps: Array<{
|
|
45
|
+
edges: Edge[];
|
|
46
|
+
nodes: IWorkFlowNode[];
|
|
47
|
+
}>;
|
|
48
|
+
setFutureSteps: (val: Array<{
|
|
49
|
+
edges: Edge[];
|
|
50
|
+
nodes: IWorkFlowNode[];
|
|
51
|
+
}>) => void;
|
|
52
|
+
historySteps: Array<{
|
|
53
|
+
edges: Edge[];
|
|
54
|
+
nodes: IWorkFlowNode[];
|
|
55
|
+
}>;
|
|
56
|
+
setHistorySteps: (val: Array<{
|
|
57
|
+
edges: Edge[];
|
|
58
|
+
nodes: IWorkFlowNode[];
|
|
59
|
+
}>) => void;
|
|
60
|
+
minMaxZoom: [number, number];
|
|
61
|
+
interactiveMode: 'touch' | 'mouse';
|
|
62
|
+
setInteractiveMode: (val: 'touch' | 'mouse') => void;
|
|
63
|
+
isDragging: boolean;
|
|
64
|
+
setIsDragging: (val: boolean) => void;
|
|
65
|
+
showCheckList: boolean;
|
|
66
|
+
setShowCheckList: (val: boolean) => void;
|
|
67
|
+
NodeMenuItemRenderer?: (props: INodeMenuItemProps) => React.ReactNode;
|
|
68
|
+
debounceChangeTimeout: number;
|
|
69
|
+
}
|
|
70
|
+
export declare const createWorkflowStore: (initialState?: Partial<IWorkFlowStore>) => import("zustand/vanilla").StoreApi<IWorkFlowStore>;
|