@coding-flow/flow-types 0.0.19 → 0.0.21
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.
|
@@ -6,6 +6,14 @@ export declare const dataTypeOptions: {
|
|
|
6
6
|
label: string;
|
|
7
7
|
value: string;
|
|
8
8
|
}[];
|
|
9
|
+
/**
|
|
10
|
+
* 表单类型附加属性,流程表单传递给form-engine的属性,主要用于一些复杂的表单控制界面,比如级联选择器的级联关系,或者一些特殊组件的属性配置
|
|
11
|
+
*/
|
|
12
|
+
export interface FormTypeAttribute {
|
|
13
|
+
key: string;
|
|
14
|
+
label: string;
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}
|
|
9
17
|
/**
|
|
10
18
|
* 表单类型
|
|
11
19
|
*/
|
|
@@ -13,6 +21,7 @@ export interface FormType {
|
|
|
13
21
|
name: string;
|
|
14
22
|
type: string;
|
|
15
23
|
dataType: DataType;
|
|
24
|
+
attributes?: FormTypeAttribute[];
|
|
16
25
|
}
|
|
17
26
|
/**
|
|
18
27
|
* 表单类型上下文对象
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coding-flow/flow-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"description": "flow-engine types",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"react-dom": ">=18"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@coding-flow/flow-core": "0.0.
|
|
35
|
+
"@coding-flow/flow-core": "0.0.21"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "rslib build",
|