@steedos-widgets/reactflow 1.0.29 → 1.0.32

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.
@@ -3,8 +3,8 @@
3
3
  {
4
4
  "package": "@steedos-widgets/reactflow",
5
5
  "urls": [
6
- "http://127.0.0.1:8080/@steedos-widgets/reactflow/dist/reactflow.umd.js",
7
- "http://127.0.0.1:8080/@steedos-widgets/reactflow/dist/reactflow.umd.css"
6
+ "https://8080-lavender-jaguar-hd5ptctn.ws.vscode.steedos.cn/@steedos-widgets/reactflow/dist/reactflow.umd.js",
7
+ "https://8080-lavender-jaguar-hd5ptctn.ws.vscode.steedos.cn/@steedos-widgets/reactflow/dist/reactflow.umd.css"
8
8
  ],
9
9
  "library": "BuilderReactFlow"
10
10
  }
@@ -15,10 +15,10 @@
15
15
  "npm": {
16
16
  "package": "@steedos-widgets/reactflow"
17
17
  },
18
- "url": "http://127.0.0.1:8080/@steedos-widgets/reactflow/dist/meta.js",
18
+ "url": "https://8080-lavender-jaguar-hd5ptctn.ws.vscode.steedos.cn/@steedos-widgets/reactflow/dist/meta.js",
19
19
  "urls": {
20
- "default": "http://127.0.0.1:8080/@steedos-widgets/reactflow/dist/meta.js",
21
- "design": "http://127.0.0.1:8080/@steedos-widgets/reactflow/dist/meta.js"
20
+ "default": "https://8080-lavender-jaguar-hd5ptctn.ws.vscode.steedos.cn/@steedos-widgets/reactflow/dist/meta.js",
21
+ "design": "https://8080-lavender-jaguar-hd5ptctn.ws.vscode.steedos.cn/@steedos-widgets/reactflow/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
package/dist/assets.json CHANGED
@@ -3,8 +3,8 @@
3
3
  {
4
4
  "package": "@steedos-widgets/reactflow",
5
5
  "urls": [
6
- "https://unpkg.com/@steedos-widgets/reactflow@1.0.29/dist/reactflow.umd.js",
7
- "https://unpkg.com/@steedos-widgets/reactflow@1.0.29/dist/reactflow.umd.css"
6
+ "https://unpkg.com/@steedos-widgets/reactflow@1.0.32/dist/reactflow.umd.js",
7
+ "https://unpkg.com/@steedos-widgets/reactflow@1.0.32/dist/reactflow.umd.css"
8
8
  ],
9
9
  "library": "BuilderReactFlow"
10
10
  }
@@ -15,10 +15,10 @@
15
15
  "npm": {
16
16
  "package": "@steedos-widgets/reactflow"
17
17
  },
18
- "url": "https://unpkg.com/@steedos-widgets/reactflow@1.0.29/dist/meta.js",
18
+ "url": "https://unpkg.com/@steedos-widgets/reactflow@1.0.32/dist/meta.js",
19
19
  "urls": {
20
- "default": "https://unpkg.com/@steedos-widgets/reactflow@1.0.29/dist/meta.js",
21
- "design": "https://unpkg.com/@steedos-widgets/reactflow@1.0.29/dist/meta.js"
20
+ "default": "https://unpkg.com/@steedos-widgets/reactflow@1.0.32/dist/meta.js",
21
+ "design": "https://unpkg.com/@steedos-widgets/reactflow@1.0.32/dist/meta.js"
22
22
  }
23
23
  }
24
24
  ]
package/dist/meta.js CHANGED
@@ -31,7 +31,7 @@
31
31
  };
32
32
 
33
33
  var config = {
34
- group: "华炎魔方",
34
+ group: "华炎魔方-原子组件",
35
35
  componentName: "AmisReactFlow",
36
36
  title: "流程图",
37
37
  docUrl: "",
@@ -116,14 +116,22 @@
116
116
  type: "editor",
117
117
  "language": "json",
118
118
  name: "config",
119
- label: "React Flow 配置"
119
+ label: "ReactFlow 配置",
120
+ pipeOut: function (value) {
121
+ try {
122
+ return value ? JSON.parse(value) : null;
123
+ }
124
+ catch (e) {
125
+ }
126
+ return value;
127
+ }
120
128
  },
121
129
  {
122
130
  type: "editor",
123
131
  "language": "javascript",
124
132
  name: "dataFilter",
125
133
  label: "数据加工",
126
- description: "如果后端没有直接返回 Echart 配置,可以自己写一段函数来包装。\
134
+ description: "如果后端没有直接返回 ReactFlow 配置,可以自己写一段函数来包装。\
127
135
  签名:(config, ReactFlow, data) => config \
128
136
  "
129
137
  },