@steedos-widgets/amis-lib 6.10.53-beta.1 → 6.10.53-beta.11
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/toolbar.d.ts +1 -1
- package/dist/types/workflow/approve.d.ts +29 -4
- package/dist/types/workflow/flow.d.ts +3 -1
- package/dist/types/workflow/history.d.ts +53 -1
- package/dist/types/workflow/instance.d.ts +1 -0
- package/dist/types/workflow/related.d.ts +7 -2
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor: any, { showDisplayAs, hiddenCount, headerToolbarItems, filterVisible, isLookup, keywordsSearchBoxName }?: {
|
|
1
|
+
export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor: any, { showDisplayAs, hiddenCount, headerToolbarItems, filterVisible, isLookup, keywordsSearchBoxName, displayAs }?: {
|
|
2
2
|
showDisplayAs?: boolean;
|
|
3
3
|
hiddenCount?: boolean;
|
|
4
4
|
filterVisible?: boolean;
|
|
@@ -17,6 +17,9 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
17
17
|
method: string;
|
|
18
18
|
url: string;
|
|
19
19
|
};
|
|
20
|
+
messages: {
|
|
21
|
+
validateFailed: string;
|
|
22
|
+
};
|
|
20
23
|
debug: boolean;
|
|
21
24
|
id: string;
|
|
22
25
|
resetAfterSubmit: boolean;
|
|
@@ -259,13 +262,14 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
259
262
|
valign: string;
|
|
260
263
|
columnClassName: string;
|
|
261
264
|
} | {
|
|
262
|
-
body: {
|
|
265
|
+
body: ({
|
|
263
266
|
type: string;
|
|
264
267
|
id: string;
|
|
265
268
|
api: {
|
|
266
269
|
url: string;
|
|
267
270
|
method: string;
|
|
268
271
|
sendOn: string;
|
|
272
|
+
trackExpression: string;
|
|
269
273
|
messages: {};
|
|
270
274
|
requestAdaptor: string;
|
|
271
275
|
adaptor: string;
|
|
@@ -309,6 +313,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
309
313
|
url: string;
|
|
310
314
|
method: string;
|
|
311
315
|
sendOn: string;
|
|
316
|
+
trackExpression: string;
|
|
312
317
|
messages: {};
|
|
313
318
|
requestAdaptor: string;
|
|
314
319
|
adaptor: string;
|
|
@@ -354,7 +359,16 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
354
359
|
joinValues?: undefined;
|
|
355
360
|
extractValue?: undefined;
|
|
356
361
|
})[];
|
|
357
|
-
|
|
362
|
+
tpl?: undefined;
|
|
363
|
+
visibleOn?: undefined;
|
|
364
|
+
} | {
|
|
365
|
+
type: string;
|
|
366
|
+
tpl: string;
|
|
367
|
+
visibleOn: string;
|
|
368
|
+
id?: undefined;
|
|
369
|
+
api?: undefined;
|
|
370
|
+
body?: undefined;
|
|
371
|
+
})[];
|
|
358
372
|
id: string;
|
|
359
373
|
valign: string;
|
|
360
374
|
md?: undefined;
|
|
@@ -642,13 +656,14 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
642
656
|
valign: string;
|
|
643
657
|
columnClassName: string;
|
|
644
658
|
} | {
|
|
645
|
-
body: {
|
|
659
|
+
body: ({
|
|
646
660
|
type: string;
|
|
647
661
|
id: string;
|
|
648
662
|
api: {
|
|
649
663
|
url: string;
|
|
650
664
|
method: string;
|
|
651
665
|
sendOn: string;
|
|
666
|
+
trackExpression: string;
|
|
652
667
|
messages: {};
|
|
653
668
|
requestAdaptor: string;
|
|
654
669
|
adaptor: string;
|
|
@@ -692,6 +707,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
692
707
|
url: string;
|
|
693
708
|
method: string;
|
|
694
709
|
sendOn: string;
|
|
710
|
+
trackExpression: string;
|
|
695
711
|
messages: {};
|
|
696
712
|
requestAdaptor: string;
|
|
697
713
|
adaptor: string;
|
|
@@ -737,7 +753,16 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
737
753
|
joinValues?: undefined;
|
|
738
754
|
extractValue?: undefined;
|
|
739
755
|
})[];
|
|
740
|
-
|
|
756
|
+
tpl?: undefined;
|
|
757
|
+
visibleOn?: undefined;
|
|
758
|
+
} | {
|
|
759
|
+
type: string;
|
|
760
|
+
tpl: string;
|
|
761
|
+
visibleOn: string;
|
|
762
|
+
id?: undefined;
|
|
763
|
+
api?: undefined;
|
|
764
|
+
body?: undefined;
|
|
765
|
+
})[];
|
|
741
766
|
id: string;
|
|
742
767
|
valign: string;
|
|
743
768
|
md?: undefined;
|
|
@@ -65,7 +65,9 @@ export function getFlowFormSchema(instance: any, box: any, print: any): Promise<
|
|
|
65
65
|
}[];
|
|
66
66
|
id: string;
|
|
67
67
|
messages: {};
|
|
68
|
-
pullRefresh: {
|
|
68
|
+
pullRefresh: {
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
};
|
|
69
71
|
regions: string[];
|
|
70
72
|
onEvent: {
|
|
71
73
|
"@data.@instanceDetail.changed": {
|
|
@@ -1,7 +1,59 @@
|
|
|
1
1
|
export function getInstanceApprovalHistory(box: any, isMobile: any): Promise<{
|
|
2
2
|
type: string;
|
|
3
|
+
id: string;
|
|
3
4
|
className: string;
|
|
4
|
-
|
|
5
|
+
onEvent: {
|
|
6
|
+
"approval.detail.show": {
|
|
7
|
+
weight: number;
|
|
8
|
+
actions: {
|
|
9
|
+
actionType: string;
|
|
10
|
+
data: {
|
|
11
|
+
stepName: string;
|
|
12
|
+
userName: string;
|
|
13
|
+
organizationName: string;
|
|
14
|
+
signatureUrl: string;
|
|
15
|
+
startDate: string;
|
|
16
|
+
finishDate: string;
|
|
17
|
+
finishDateDisplay: string;
|
|
18
|
+
judge: string;
|
|
19
|
+
judgeValue: string;
|
|
20
|
+
judgeDisplay: string;
|
|
21
|
+
isFinished: string;
|
|
22
|
+
isRead: string;
|
|
23
|
+
opinion: string;
|
|
24
|
+
autoSubmitted: string;
|
|
25
|
+
approveType: string;
|
|
26
|
+
};
|
|
27
|
+
dialog: {
|
|
28
|
+
type: string;
|
|
29
|
+
title: string;
|
|
30
|
+
size: string;
|
|
31
|
+
showCloseButton: boolean;
|
|
32
|
+
closeOnEsc: boolean;
|
|
33
|
+
actions: {
|
|
34
|
+
type: string;
|
|
35
|
+
label: string;
|
|
36
|
+
actionType: string;
|
|
37
|
+
level: string;
|
|
38
|
+
}[];
|
|
39
|
+
body: {
|
|
40
|
+
type: string;
|
|
41
|
+
className: string;
|
|
42
|
+
body: ({
|
|
43
|
+
type: string;
|
|
44
|
+
tpl: string;
|
|
45
|
+
visibleOn?: undefined;
|
|
46
|
+
} | {
|
|
47
|
+
type: string;
|
|
48
|
+
visibleOn: string;
|
|
49
|
+
tpl: string;
|
|
50
|
+
})[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
body: any[];
|
|
5
57
|
}>;
|
|
6
58
|
export function getINstanceApproveHistory2(instance: any): Promise<{
|
|
7
59
|
type: string;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export function getRelatedRecords(instance: any): Promise<{
|
|
2
2
|
type: string;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
size: string;
|
|
4
|
+
className: string;
|
|
5
|
+
body: {
|
|
6
|
+
type: string;
|
|
7
|
+
tpl: string;
|
|
8
|
+
}[];
|
|
9
|
+
}>;
|
|
5
10
|
export function getRelatedInstances(instance: any): Promise<{
|
|
6
11
|
type: string;
|
|
7
12
|
className: 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.53-beta.
|
|
4
|
+
"version": "6.10.53-beta.11",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"i18next": "24.2.2",
|
|
60
60
|
"lodash": "^4.17.21"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "5d64dee8b005dce3902dc78489f62b35a446fd78"
|
|
63
63
|
}
|