@steedos-widgets/amis-lib 6.10.1-beta.47 → 6.10.1-beta.49
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 +1047 -55
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1047 -57
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +230 -200
- package/dist/index.umd.js.map +1 -1
- package/dist/types/i18n.d.ts +2 -1
- package/dist/types/i18n_amis.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/workflow/approve.d.ts +2 -2
- package/dist/types/workflow/attachment.d.ts +4 -4
- package/dist/types/workflow/flow.d.ts +50 -7
- package/dist/types/workflow/history.d.ts +1 -1
- package/dist/types/workflow/related.d.ts +1 -1
- package/package.json +2 -2
package/dist/types/i18n.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getAmisLocaleResource(): any;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
|
|
|
24
24
|
name: string;
|
|
25
25
|
value: string;
|
|
26
26
|
options: {
|
|
27
|
-
label:
|
|
27
|
+
label: any;
|
|
28
28
|
value: string;
|
|
29
29
|
}[];
|
|
30
30
|
id: string;
|
|
@@ -59,7 +59,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
|
|
|
59
59
|
columns: ({
|
|
60
60
|
body: {
|
|
61
61
|
type: string;
|
|
62
|
-
tpl:
|
|
62
|
+
tpl: any;
|
|
63
63
|
inline: boolean;
|
|
64
64
|
wrapperComponent: string;
|
|
65
65
|
id: string;
|
|
@@ -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: any;
|
|
21
21
|
mode: string;
|
|
22
22
|
name: string;
|
|
23
23
|
id: string;
|
|
24
|
-
btnLabel:
|
|
24
|
+
btnLabel: any;
|
|
25
25
|
btnClassName: string;
|
|
26
26
|
multiple: boolean;
|
|
27
27
|
maxLength: number;
|
|
@@ -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: any;
|
|
122
122
|
mode: string;
|
|
123
123
|
name: string;
|
|
124
124
|
id: string;
|
|
125
|
-
btnLabel:
|
|
125
|
+
btnLabel: any;
|
|
126
126
|
btnClassName: string;
|
|
127
127
|
multiple: boolean;
|
|
128
128
|
maxLength: number;
|
|
@@ -71,11 +71,11 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
71
71
|
type: string;
|
|
72
72
|
labelClassName: string;
|
|
73
73
|
className: string;
|
|
74
|
-
label:
|
|
74
|
+
label: any;
|
|
75
75
|
mode: string;
|
|
76
76
|
name: string;
|
|
77
77
|
id: string;
|
|
78
|
-
btnLabel:
|
|
78
|
+
btnLabel: any;
|
|
79
79
|
btnClassName: string;
|
|
80
80
|
multiple: boolean;
|
|
81
81
|
maxLength: number;
|
|
@@ -164,7 +164,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
164
164
|
type: string;
|
|
165
165
|
name: string;
|
|
166
166
|
source: string;
|
|
167
|
-
title:
|
|
167
|
+
title: any;
|
|
168
168
|
listItem: {
|
|
169
169
|
body: {
|
|
170
170
|
type: string;
|
|
@@ -178,7 +178,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
178
178
|
} | {
|
|
179
179
|
type: string;
|
|
180
180
|
headerClassName: string;
|
|
181
|
-
title:
|
|
181
|
+
title: any;
|
|
182
182
|
source: string;
|
|
183
183
|
className: string;
|
|
184
184
|
columnsTogglable: boolean;
|
|
@@ -206,7 +206,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
206
206
|
})[];
|
|
207
207
|
} | {
|
|
208
208
|
type: string;
|
|
209
|
-
label:
|
|
209
|
+
label: any;
|
|
210
210
|
onEvent: {
|
|
211
211
|
click: {
|
|
212
212
|
actions: {
|
|
@@ -239,7 +239,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
239
239
|
name: string;
|
|
240
240
|
value: string;
|
|
241
241
|
options: {
|
|
242
|
-
label:
|
|
242
|
+
label: any;
|
|
243
243
|
value: string;
|
|
244
244
|
}[];
|
|
245
245
|
id: string;
|
|
@@ -274,7 +274,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
274
274
|
columns: ({
|
|
275
275
|
body: {
|
|
276
276
|
type: string;
|
|
277
|
-
tpl:
|
|
277
|
+
tpl: any;
|
|
278
278
|
inline: boolean;
|
|
279
279
|
wrapperComponent: string;
|
|
280
280
|
id: string;
|
|
@@ -581,6 +581,39 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
581
581
|
})[];
|
|
582
582
|
}[];
|
|
583
583
|
id: string;
|
|
584
|
+
} | {
|
|
585
|
+
type: string;
|
|
586
|
+
className: string;
|
|
587
|
+
steps: {
|
|
588
|
+
title: any;
|
|
589
|
+
mode: string;
|
|
590
|
+
body: {
|
|
591
|
+
label: any;
|
|
592
|
+
name: any;
|
|
593
|
+
mode: string;
|
|
594
|
+
className: string;
|
|
595
|
+
}[];
|
|
596
|
+
}[];
|
|
597
|
+
actionFinishLabel: string;
|
|
598
|
+
id: string;
|
|
599
|
+
target: string;
|
|
600
|
+
onEvent: {
|
|
601
|
+
change: {
|
|
602
|
+
actions: {
|
|
603
|
+
actionType: string;
|
|
604
|
+
componentId: string;
|
|
605
|
+
args: {
|
|
606
|
+
value: string;
|
|
607
|
+
};
|
|
608
|
+
}[];
|
|
609
|
+
};
|
|
610
|
+
finished: {
|
|
611
|
+
actions: {
|
|
612
|
+
actionType: string;
|
|
613
|
+
componentId: string;
|
|
614
|
+
}[];
|
|
615
|
+
};
|
|
616
|
+
};
|
|
584
617
|
} | {
|
|
585
618
|
type: string;
|
|
586
619
|
className: string;
|
|
@@ -655,6 +688,16 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
655
688
|
actionType: string;
|
|
656
689
|
}[];
|
|
657
690
|
};
|
|
691
|
+
inited: {
|
|
692
|
+
actions: {
|
|
693
|
+
actionType: string;
|
|
694
|
+
componentId: string;
|
|
695
|
+
args: {
|
|
696
|
+
value: string;
|
|
697
|
+
};
|
|
698
|
+
expression: string;
|
|
699
|
+
}[];
|
|
700
|
+
};
|
|
658
701
|
};
|
|
659
702
|
initApi: {
|
|
660
703
|
url: string;
|
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.49",
|
|
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": "6fbbb35dfe2a12de306966912b5256e597fabeca"
|
|
65
65
|
}
|