@huanban/rulego-editor-react 1.1.6 → 1.3.0
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/dist/components/WorkflowInfoPanel.d.ts +6 -2
- package/dist/components/WorkflowList.d.ts +4 -0
- package/dist/index.cjs.js +1030 -897
- package/dist/index.esm.js +20662 -19786
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
* 6. 事件回调: onSave / onError / onRefresh
|
|
12
12
|
*
|
|
13
13
|
* Tab 页:
|
|
14
|
-
* -
|
|
15
|
-
* -
|
|
14
|
+
* - 基础信息(ID/名称/根规则链/调试模式/分类/描述/状态)
|
|
15
|
+
* - 输入定义(可视化/JSON Schema 编辑)
|
|
16
|
+
* - 变量(变量与秘钥 key-value 编辑)
|
|
16
17
|
* - 应用集成(API/MCP 地址展示)
|
|
17
18
|
* - 自定义 Tab(通过 renderExtraTabs 扩展)
|
|
18
19
|
*
|
|
@@ -63,6 +64,9 @@ export interface WorkflowInfoPanelProps {
|
|
|
63
64
|
export interface WorkflowIntegrationUrls {
|
|
64
65
|
executeUrl: string;
|
|
65
66
|
notifyUrl: string;
|
|
67
|
+
openaiUrl: string;
|
|
68
|
+
mcpStreamableUrl: string;
|
|
69
|
+
mcpGroupUrl: string;
|
|
66
70
|
mcpSseUrl: string;
|
|
67
71
|
debugWsUrl: string;
|
|
68
72
|
runtimeWsUrl: string;
|
|
@@ -60,6 +60,10 @@ export interface WorkflowListProps {
|
|
|
60
60
|
showCreate?: boolean;
|
|
61
61
|
/** 是否显示刷新按钮,默认 true */
|
|
62
62
|
showRefresh?: boolean;
|
|
63
|
+
/** 禁用自动请求和列表操作。常用于后端返回 401/403 后等待宿主登录。 */
|
|
64
|
+
disabled?: boolean;
|
|
65
|
+
/** 禁用时内容区显示的提示文案。 */
|
|
66
|
+
disabledMessage?: string;
|
|
63
67
|
/** Current locale. Defaults to zh-CN. */
|
|
64
68
|
locale?: string;
|
|
65
69
|
/** Extra locale messages merged into the selected locale. */
|