@steedos-widgets/amis-lib 6.10.1-beta.52 → 6.10.1-beta.54
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +105 -38
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +105 -38
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +25 -20
- package/dist/index.umd.js.map +1 -1
- package/dist/types/workflow/attachment.d.ts +4 -4
- package/dist/types/workflow/flow.d.ts +9 -2
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@ export function getAttachments(instance: any): Promise<{
|
|
|
5
5
|
bodyClassName: string;
|
|
6
6
|
title: ({
|
|
7
7
|
type: string;
|
|
8
|
-
tpl:
|
|
8
|
+
tpl: any;
|
|
9
9
|
title?: undefined;
|
|
10
10
|
body?: undefined;
|
|
11
11
|
id?: undefined;
|
|
@@ -64,7 +64,7 @@ export function getAttachments(instance: any): Promise<{
|
|
|
64
64
|
position: string;
|
|
65
65
|
closeButton: boolean;
|
|
66
66
|
showIcon: boolean;
|
|
67
|
-
msg:
|
|
67
|
+
msg: any;
|
|
68
68
|
};
|
|
69
69
|
actionType: string;
|
|
70
70
|
})[];
|
|
@@ -106,7 +106,7 @@ export function getAttachments(instance: any): Promise<{
|
|
|
106
106
|
}>;
|
|
107
107
|
export function getAttachmentUploadInput(instance: any): Promise<{
|
|
108
108
|
type: string;
|
|
109
|
-
tpl:
|
|
109
|
+
tpl: any;
|
|
110
110
|
title?: undefined;
|
|
111
111
|
body?: undefined;
|
|
112
112
|
id?: undefined;
|
|
@@ -165,7 +165,7 @@ export function getAttachmentUploadInput(instance: any): Promise<{
|
|
|
165
165
|
position: string;
|
|
166
166
|
closeButton: boolean;
|
|
167
167
|
showIcon: boolean;
|
|
168
|
-
msg:
|
|
168
|
+
msg: any;
|
|
169
169
|
};
|
|
170
170
|
actionType: string;
|
|
171
171
|
})[];
|
|
@@ -59,7 +59,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
59
59
|
bodyClassName: string;
|
|
60
60
|
title: ({
|
|
61
61
|
type: string;
|
|
62
|
-
tpl:
|
|
62
|
+
tpl: any;
|
|
63
63
|
title?: undefined;
|
|
64
64
|
body?: undefined;
|
|
65
65
|
id?: undefined;
|
|
@@ -118,7 +118,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
118
118
|
position: string;
|
|
119
119
|
closeButton: boolean;
|
|
120
120
|
showIcon: boolean;
|
|
121
|
-
msg:
|
|
121
|
+
msg: any;
|
|
122
122
|
};
|
|
123
123
|
actionType: string;
|
|
124
124
|
})[];
|
|
@@ -221,6 +221,12 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
221
221
|
closeOnOutside: boolean;
|
|
222
222
|
size: string;
|
|
223
223
|
title: string;
|
|
224
|
+
/**
|
|
225
|
+
* TODO 先将申请单上的字段转化为 steedos field 类型, 只读、编辑 使用 steedos field tpl
|
|
226
|
+
* @param {*} field
|
|
227
|
+
* @param {*} label
|
|
228
|
+
* @returns
|
|
229
|
+
*/
|
|
224
230
|
className: string;
|
|
225
231
|
headerClassName: string;
|
|
226
232
|
bodyClassName: string;
|
|
@@ -584,6 +590,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
584
590
|
} | {
|
|
585
591
|
type: string;
|
|
586
592
|
className: string;
|
|
593
|
+
mode: any;
|
|
587
594
|
steps: {
|
|
588
595
|
title: any;
|
|
589
596
|
body: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.10.1-beta.
|
|
4
|
+
"version": "6.10.1-beta.54",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"react-i18next": "12.3.1"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "9e7e366c50926041c13a8c9382fe9c7ab244bff6"
|
|
65
65
|
}
|