@steedos-widgets/amis-lib 6.10.29 → 6.10.30
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 +43 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +43 -11
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +82 -79
- package/dist/index.umd.js.map +1 -1
- package/dist/types/workflow/approve.d.ts +9 -1
- package/dist/types/workflow/flow.d.ts +31 -6
- package/package.json +2 -2
|
@@ -10,7 +10,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
10
10
|
headerClassName: string;
|
|
11
11
|
bodyClassName: string;
|
|
12
12
|
footerClassName: string;
|
|
13
|
-
drawerContainer: () =>
|
|
13
|
+
drawerContainer: () => Element;
|
|
14
14
|
body: {
|
|
15
15
|
type: string;
|
|
16
16
|
initApi: {
|
|
@@ -261,6 +261,14 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
261
261
|
}[];
|
|
262
262
|
id: string;
|
|
263
263
|
position: string;
|
|
264
|
+
onEvent: {
|
|
265
|
+
cancel: {
|
|
266
|
+
actions: {
|
|
267
|
+
actionType: string;
|
|
268
|
+
script: (context: any, doAction: any, event: any) => void;
|
|
269
|
+
}[];
|
|
270
|
+
};
|
|
271
|
+
};
|
|
264
272
|
actions: ({
|
|
265
273
|
type: string;
|
|
266
274
|
label: string;
|
|
@@ -29,8 +29,8 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
29
29
|
"font-size": string;
|
|
30
30
|
"font-weight": string;
|
|
31
31
|
};
|
|
32
|
-
".steedos-
|
|
33
|
-
|
|
32
|
+
".steedos-amis-instance-view.steedos-instance-style-table .antd-Page-body": {
|
|
33
|
+
width: string;
|
|
34
34
|
};
|
|
35
35
|
".antd-List-placeholder": {
|
|
36
36
|
display: string;
|
|
@@ -206,9 +206,11 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
206
206
|
label: string;
|
|
207
207
|
onEvent: {
|
|
208
208
|
click: {
|
|
209
|
-
actions: {
|
|
209
|
+
actions: ({
|
|
210
210
|
componentId: string;
|
|
211
|
-
args: {
|
|
211
|
+
args: {
|
|
212
|
+
time?: undefined;
|
|
213
|
+
};
|
|
212
214
|
actionType: string;
|
|
213
215
|
drawer: {
|
|
214
216
|
type: string;
|
|
@@ -222,7 +224,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
222
224
|
headerClassName: string;
|
|
223
225
|
bodyClassName: string;
|
|
224
226
|
footerClassName: string;
|
|
225
|
-
drawerContainer: () =>
|
|
227
|
+
drawerContainer: () => Element;
|
|
226
228
|
body: {
|
|
227
229
|
type: string;
|
|
228
230
|
initApi: {
|
|
@@ -473,6 +475,14 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
473
475
|
}[];
|
|
474
476
|
id: string;
|
|
475
477
|
position: string;
|
|
478
|
+
onEvent: {
|
|
479
|
+
cancel: {
|
|
480
|
+
actions: {
|
|
481
|
+
actionType: string;
|
|
482
|
+
script: (context: any, doAction: any, event: any) => void;
|
|
483
|
+
}[];
|
|
484
|
+
};
|
|
485
|
+
};
|
|
476
486
|
actions: ({
|
|
477
487
|
type: string;
|
|
478
488
|
label: string;
|
|
@@ -499,7 +509,22 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
499
509
|
level?: undefined;
|
|
500
510
|
})[];
|
|
501
511
|
};
|
|
502
|
-
|
|
512
|
+
script?: undefined;
|
|
513
|
+
} | {
|
|
514
|
+
actionType: string;
|
|
515
|
+
args: {
|
|
516
|
+
time: number;
|
|
517
|
+
};
|
|
518
|
+
componentId?: undefined;
|
|
519
|
+
drawer?: undefined;
|
|
520
|
+
script?: undefined;
|
|
521
|
+
} | {
|
|
522
|
+
actionType: string;
|
|
523
|
+
script: (context: any, doAction: any, event: any) => void;
|
|
524
|
+
componentId?: undefined;
|
|
525
|
+
args?: undefined;
|
|
526
|
+
drawer?: undefined;
|
|
527
|
+
})[];
|
|
503
528
|
};
|
|
504
529
|
};
|
|
505
530
|
id: 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.
|
|
4
|
+
"version": "6.10.30",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"i18next": "24.2.2",
|
|
61
61
|
"lodash": "^4.17.21"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "1b086ce50e11195dff6ec565c2b8fc2e41596a9b"
|
|
64
64
|
}
|