@steedos-widgets/amis-lib 6.10.22 → 6.10.23
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 +2672 -2696
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2754 -2774
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +48 -48
- package/dist/index.umd.js.map +1 -1
- package/dist/types/i18n.d.ts +0 -2
- package/dist/types/workflow/approve.d.ts +4 -4
- package/dist/types/workflow/attachment.d.ts +8 -8
- package/dist/types/workflow/flow.d.ts +11 -11
- package/dist/types/workflow/history.d.ts +1 -1
- package/dist/types/workflow/instance.d.ts +1 -1
- package/dist/types/workflow/related.d.ts +1 -1
- package/package.json +6 -7
package/dist/types/i18n.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
28
28
|
name: string;
|
|
29
29
|
value: string;
|
|
30
30
|
options: {
|
|
31
|
-
label:
|
|
31
|
+
label: string;
|
|
32
32
|
value: string;
|
|
33
33
|
}[];
|
|
34
34
|
id: string;
|
|
@@ -63,7 +63,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
63
63
|
columns: ({
|
|
64
64
|
body: {
|
|
65
65
|
type: string;
|
|
66
|
-
tpl:
|
|
66
|
+
tpl: string;
|
|
67
67
|
inline: boolean;
|
|
68
68
|
wrapperComponent: string;
|
|
69
69
|
id: string;
|
|
@@ -117,7 +117,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
117
117
|
columns: ({
|
|
118
118
|
body: {
|
|
119
119
|
type: string;
|
|
120
|
-
tpl:
|
|
120
|
+
tpl: string;
|
|
121
121
|
inline: boolean;
|
|
122
122
|
wrapperComponent: string;
|
|
123
123
|
id: string;
|
|
@@ -228,7 +228,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
228
228
|
id: string;
|
|
229
229
|
minRows: number;
|
|
230
230
|
maxRows: number;
|
|
231
|
-
placeholder:
|
|
231
|
+
placeholder: string;
|
|
232
232
|
requiredOn: string;
|
|
233
233
|
value: any;
|
|
234
234
|
})[];
|
|
@@ -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: string;
|
|
9
9
|
title?: undefined;
|
|
10
10
|
body?: undefined;
|
|
11
11
|
id?: undefined;
|
|
@@ -17,11 +17,11 @@ export function getAttachments(instance: any): Promise<{
|
|
|
17
17
|
type: string;
|
|
18
18
|
labelClassName: string;
|
|
19
19
|
className: string;
|
|
20
|
-
label:
|
|
20
|
+
label: string;
|
|
21
21
|
mode: string;
|
|
22
22
|
name: string;
|
|
23
23
|
id: string;
|
|
24
|
-
btnLabel:
|
|
24
|
+
btnLabel: string;
|
|
25
25
|
btnClassName: string;
|
|
26
26
|
multiple: boolean;
|
|
27
27
|
maxLength: number;
|
|
@@ -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: string;
|
|
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: string;
|
|
110
110
|
title?: undefined;
|
|
111
111
|
body?: undefined;
|
|
112
112
|
id?: undefined;
|
|
@@ -118,11 +118,11 @@ export function getAttachmentUploadInput(instance: any): Promise<{
|
|
|
118
118
|
type: string;
|
|
119
119
|
labelClassName: string;
|
|
120
120
|
className: string;
|
|
121
|
-
label:
|
|
121
|
+
label: string;
|
|
122
122
|
mode: string;
|
|
123
123
|
name: string;
|
|
124
124
|
id: string;
|
|
125
|
-
btnLabel:
|
|
125
|
+
btnLabel: string;
|
|
126
126
|
btnClassName: string;
|
|
127
127
|
multiple: boolean;
|
|
128
128
|
maxLength: number;
|
|
@@ -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: string;
|
|
169
169
|
};
|
|
170
170
|
actionType: string;
|
|
171
171
|
})[];
|
|
@@ -56,7 +56,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
56
56
|
bodyClassName: string;
|
|
57
57
|
title: ({
|
|
58
58
|
type: string;
|
|
59
|
-
tpl:
|
|
59
|
+
tpl: string;
|
|
60
60
|
title?: undefined;
|
|
61
61
|
body?: undefined;
|
|
62
62
|
id?: undefined;
|
|
@@ -68,11 +68,11 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
68
68
|
type: string;
|
|
69
69
|
labelClassName: string;
|
|
70
70
|
className: string;
|
|
71
|
-
label:
|
|
71
|
+
label: string;
|
|
72
72
|
mode: string;
|
|
73
73
|
name: string;
|
|
74
74
|
id: string;
|
|
75
|
-
btnLabel:
|
|
75
|
+
btnLabel: string;
|
|
76
76
|
btnClassName: string;
|
|
77
77
|
multiple: boolean;
|
|
78
78
|
maxLength: number;
|
|
@@ -115,7 +115,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
115
115
|
position: string;
|
|
116
116
|
closeButton: boolean;
|
|
117
117
|
showIcon: boolean;
|
|
118
|
-
msg:
|
|
118
|
+
msg: string;
|
|
119
119
|
};
|
|
120
120
|
actionType: string;
|
|
121
121
|
})[];
|
|
@@ -161,7 +161,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
161
161
|
type: string;
|
|
162
162
|
name: string;
|
|
163
163
|
source: string;
|
|
164
|
-
title:
|
|
164
|
+
title: string;
|
|
165
165
|
listItem: {
|
|
166
166
|
body: {
|
|
167
167
|
type: string;
|
|
@@ -175,7 +175,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
175
175
|
} | {
|
|
176
176
|
type: string;
|
|
177
177
|
headerClassName: string;
|
|
178
|
-
title:
|
|
178
|
+
title: string;
|
|
179
179
|
source: string;
|
|
180
180
|
className: string;
|
|
181
181
|
columnsTogglable: boolean;
|
|
@@ -203,7 +203,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
203
203
|
})[];
|
|
204
204
|
} | {
|
|
205
205
|
type: string;
|
|
206
|
-
label:
|
|
206
|
+
label: string;
|
|
207
207
|
onEvent: {
|
|
208
208
|
click: {
|
|
209
209
|
actions: {
|
|
@@ -240,7 +240,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
240
240
|
name: string;
|
|
241
241
|
value: string;
|
|
242
242
|
options: {
|
|
243
|
-
label:
|
|
243
|
+
label: string;
|
|
244
244
|
value: string;
|
|
245
245
|
}[];
|
|
246
246
|
id: string;
|
|
@@ -275,7 +275,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
275
275
|
columns: ({
|
|
276
276
|
body: {
|
|
277
277
|
type: string;
|
|
278
|
-
tpl:
|
|
278
|
+
tpl: string;
|
|
279
279
|
inline: boolean;
|
|
280
280
|
wrapperComponent: string;
|
|
281
281
|
id: string;
|
|
@@ -329,7 +329,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
329
329
|
columns: ({
|
|
330
330
|
body: {
|
|
331
331
|
type: string;
|
|
332
|
-
tpl:
|
|
332
|
+
tpl: string;
|
|
333
333
|
inline: boolean;
|
|
334
334
|
wrapperComponent: string;
|
|
335
335
|
id: string;
|
|
@@ -440,7 +440,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
440
440
|
id: string;
|
|
441
441
|
minRows: number;
|
|
442
442
|
maxRows: number;
|
|
443
|
-
placeholder:
|
|
443
|
+
placeholder: string;
|
|
444
444
|
requiredOn: string;
|
|
445
445
|
value: any;
|
|
446
446
|
})[];
|
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.
|
|
4
|
+
"version": "6.10.23",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@babel/core": "^7.18.13",
|
|
27
27
|
"@rollup/plugin-babel": "^5.3.1",
|
|
28
|
-
"@rollup/plugin-commonjs": "^
|
|
28
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
29
29
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
30
30
|
"@rollup/plugin-typescript": "^8.4.0",
|
|
31
31
|
"@types/lodash": "^4.14.184",
|
|
32
32
|
"fast-glob": "^3.2.12",
|
|
33
33
|
"rimraf": "3.0.2",
|
|
34
|
-
"rollup": "^2.
|
|
34
|
+
"rollup": "^2.79.2",
|
|
35
35
|
"rollup-plugin-alias": "^2.2.0",
|
|
36
36
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
37
37
|
"rollup-plugin-external-globals": "^0.6.1",
|
|
@@ -57,9 +57,8 @@
|
|
|
57
57
|
"uglify-js": "^3.17.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"i18next": "
|
|
61
|
-
"lodash": "^4.17.21"
|
|
62
|
-
"react-i18next": "12.3.1"
|
|
60
|
+
"i18next": "24.2.2",
|
|
61
|
+
"lodash": "^4.17.21"
|
|
63
62
|
},
|
|
64
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "66f4c7f416b454914645d42ed3ac898a418eb973"
|
|
65
64
|
}
|