@steedos-widgets/amis-lib 6.10.52-beta.1 → 6.10.52-beta.10
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/buttons.d.ts +12 -108
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +4 -0
- package/dist/types/lib/converter/amis/header.d.ts +19 -10
- package/dist/types/lib/input_table.d.ts +0 -16
- package/dist/types/lib/objects.d.ts +1 -1
- package/dist/types/workflow/approve.d.ts +63 -55
- package/dist/types/workflow/flow.d.ts +3 -0
- package/dist/types/workflow/history.d.ts +1 -30
- package/package.json +2 -2
|
@@ -17,113 +17,10 @@ export function getObjectDetailButtonsSchemas(objectSchema: any, recordId: any,
|
|
|
17
17
|
name: any;
|
|
18
18
|
objectName: any;
|
|
19
19
|
visibleOn: any;
|
|
20
|
-
className: string;
|
|
21
|
-
}[] | {
|
|
22
|
-
type: string;
|
|
23
|
-
icon: string;
|
|
24
|
-
size: string;
|
|
25
|
-
hideCaret: boolean;
|
|
26
|
-
className: string;
|
|
27
|
-
closeOnClick: boolean;
|
|
28
|
-
menuClassName: string;
|
|
29
|
-
align: string;
|
|
30
|
-
body: ({
|
|
31
|
-
type: string;
|
|
32
|
-
style: {
|
|
33
|
-
"z-index": number;
|
|
34
|
-
background: string;
|
|
35
|
-
height: string;
|
|
36
|
-
width: string;
|
|
37
|
-
padding: string;
|
|
38
|
-
margin: string;
|
|
39
|
-
"border-radius": string;
|
|
40
|
-
position?: undefined;
|
|
41
|
-
bottom?: undefined;
|
|
42
|
-
left?: undefined;
|
|
43
|
-
"box-shadow"?: undefined;
|
|
44
|
-
};
|
|
45
|
-
body?: undefined;
|
|
46
|
-
} | {
|
|
47
|
-
type: string;
|
|
48
|
-
style: {
|
|
49
|
-
position: string;
|
|
50
|
-
bottom: number;
|
|
51
|
-
"z-index": number;
|
|
52
|
-
width: string;
|
|
53
|
-
left: string;
|
|
54
|
-
padding: string;
|
|
55
|
-
background: string;
|
|
56
|
-
"box-shadow": string;
|
|
57
|
-
height?: undefined;
|
|
58
|
-
margin?: undefined;
|
|
59
|
-
"border-radius"?: undefined;
|
|
60
|
-
};
|
|
61
|
-
body: ({
|
|
62
|
-
type: string;
|
|
63
|
-
justify: string;
|
|
64
|
-
items: ({
|
|
65
|
-
type: string;
|
|
66
|
-
tpl: string;
|
|
67
|
-
style: {
|
|
68
|
-
padding: string;
|
|
69
|
-
"align-items": string;
|
|
70
|
-
display: string;
|
|
71
|
-
color?: undefined;
|
|
72
|
-
};
|
|
73
|
-
label?: undefined;
|
|
74
|
-
icon?: undefined;
|
|
75
|
-
level?: undefined;
|
|
76
|
-
} | {
|
|
77
|
-
type: string;
|
|
78
|
-
label: string;
|
|
79
|
-
icon: string;
|
|
80
|
-
level: string;
|
|
81
|
-
style: {
|
|
82
|
-
color: string;
|
|
83
|
-
padding?: undefined;
|
|
84
|
-
"align-items"?: undefined;
|
|
85
|
-
display?: undefined;
|
|
86
|
-
};
|
|
87
|
-
tpl?: undefined;
|
|
88
|
-
})[];
|
|
89
|
-
style: {
|
|
90
|
-
"padding-top": string;
|
|
91
|
-
"padding-bottom": string;
|
|
92
|
-
"border-bottom": string;
|
|
93
|
-
padding?: undefined;
|
|
94
|
-
overflow?: undefined;
|
|
95
|
-
"max-height"?: undefined;
|
|
96
|
-
};
|
|
97
|
-
body?: undefined;
|
|
98
|
-
} | {
|
|
99
|
-
type: string;
|
|
100
|
-
body: {
|
|
101
|
-
type: string;
|
|
102
|
-
id: string;
|
|
103
|
-
vertical: boolean;
|
|
104
|
-
tiled: boolean;
|
|
105
|
-
buttons: any;
|
|
106
|
-
className: string;
|
|
107
|
-
btnClassName: string;
|
|
108
|
-
size: string;
|
|
109
|
-
}[];
|
|
110
|
-
style: {
|
|
111
|
-
padding: string;
|
|
112
|
-
overflow: string;
|
|
113
|
-
"max-height": string;
|
|
114
|
-
"padding-top"?: undefined;
|
|
115
|
-
"padding-bottom"?: undefined;
|
|
116
|
-
"border-bottom"?: undefined;
|
|
117
|
-
};
|
|
118
|
-
justify?: undefined;
|
|
119
|
-
items?: undefined;
|
|
120
|
-
})[];
|
|
121
|
-
})[];
|
|
122
20
|
}[];
|
|
123
21
|
export function getObjectListViewButtonsSchemas(objectSchema: any, ctx: any): {
|
|
124
22
|
type: string;
|
|
125
23
|
icon: string;
|
|
126
|
-
size: string;
|
|
127
24
|
hideCaret: boolean;
|
|
128
25
|
className: string;
|
|
129
26
|
closeOnClick: boolean;
|
|
@@ -170,6 +67,7 @@ export function getObjectListViewButtonsSchemas(objectSchema: any, ctx: any): {
|
|
|
170
67
|
padding: string;
|
|
171
68
|
"align-items": string;
|
|
172
69
|
display: string;
|
|
70
|
+
"font-weight": string;
|
|
173
71
|
color?: undefined;
|
|
174
72
|
};
|
|
175
73
|
label?: undefined;
|
|
@@ -185,6 +83,7 @@ export function getObjectListViewButtonsSchemas(objectSchema: any, ctx: any): {
|
|
|
185
83
|
padding?: undefined;
|
|
186
84
|
"align-items"?: undefined;
|
|
187
85
|
display?: undefined;
|
|
86
|
+
"font-weight"?: undefined;
|
|
188
87
|
};
|
|
189
88
|
tpl?: undefined;
|
|
190
89
|
})[];
|
|
@@ -193,7 +92,8 @@ export function getObjectListViewButtonsSchemas(objectSchema: any, ctx: any): {
|
|
|
193
92
|
"padding-bottom": string;
|
|
194
93
|
"border-bottom": string;
|
|
195
94
|
padding?: undefined;
|
|
196
|
-
overflow?: undefined;
|
|
95
|
+
"overflow-y"?: undefined;
|
|
96
|
+
"overflow-x"?: undefined;
|
|
197
97
|
"max-height"?: undefined;
|
|
198
98
|
};
|
|
199
99
|
body?: undefined;
|
|
@@ -211,7 +111,8 @@ export function getObjectListViewButtonsSchemas(objectSchema: any, ctx: any): {
|
|
|
211
111
|
}[];
|
|
212
112
|
style: {
|
|
213
113
|
padding: string;
|
|
214
|
-
overflow: string;
|
|
114
|
+
"overflow-y": string;
|
|
115
|
+
"overflow-x": string;
|
|
215
116
|
"max-height": string;
|
|
216
117
|
"padding-top"?: undefined;
|
|
217
118
|
"padding-bottom"?: undefined;
|
|
@@ -231,7 +132,6 @@ export function getObjectListViewButtonsSchemas(objectSchema: any, ctx: any): {
|
|
|
231
132
|
export function getObjectRecordDetailRelatedListButtonsSchemas(objectSchema: any, ctx: any): {
|
|
232
133
|
type: string;
|
|
233
134
|
icon: string;
|
|
234
|
-
size: string;
|
|
235
135
|
hideCaret: boolean;
|
|
236
136
|
className: string;
|
|
237
137
|
closeOnClick: boolean;
|
|
@@ -278,6 +178,7 @@ export function getObjectRecordDetailRelatedListButtonsSchemas(objectSchema: any
|
|
|
278
178
|
padding: string;
|
|
279
179
|
"align-items": string;
|
|
280
180
|
display: string;
|
|
181
|
+
"font-weight": string;
|
|
281
182
|
color?: undefined;
|
|
282
183
|
};
|
|
283
184
|
label?: undefined;
|
|
@@ -293,6 +194,7 @@ export function getObjectRecordDetailRelatedListButtonsSchemas(objectSchema: any
|
|
|
293
194
|
padding?: undefined;
|
|
294
195
|
"align-items"?: undefined;
|
|
295
196
|
display?: undefined;
|
|
197
|
+
"font-weight"?: undefined;
|
|
296
198
|
};
|
|
297
199
|
tpl?: undefined;
|
|
298
200
|
})[];
|
|
@@ -301,7 +203,8 @@ export function getObjectRecordDetailRelatedListButtonsSchemas(objectSchema: any
|
|
|
301
203
|
"padding-bottom": string;
|
|
302
204
|
"border-bottom": string;
|
|
303
205
|
padding?: undefined;
|
|
304
|
-
overflow?: undefined;
|
|
206
|
+
"overflow-y"?: undefined;
|
|
207
|
+
"overflow-x"?: undefined;
|
|
305
208
|
"max-height"?: undefined;
|
|
306
209
|
};
|
|
307
210
|
body?: undefined;
|
|
@@ -319,7 +222,8 @@ export function getObjectRecordDetailRelatedListButtonsSchemas(objectSchema: any
|
|
|
319
222
|
}[];
|
|
320
223
|
style: {
|
|
321
224
|
padding: string;
|
|
322
|
-
overflow: string;
|
|
225
|
+
"overflow-y": string;
|
|
226
|
+
"overflow-x": string;
|
|
323
227
|
"max-height": string;
|
|
324
228
|
"padding-top"?: undefined;
|
|
325
229
|
"padding-bottom"?: undefined;
|
|
@@ -162,6 +162,10 @@ export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise
|
|
|
162
162
|
pickerSchema: any;
|
|
163
163
|
joinValues: boolean;
|
|
164
164
|
extractValue: boolean;
|
|
165
|
+
} | {
|
|
166
|
+
type: string;
|
|
167
|
+
multiple: any;
|
|
168
|
+
name: any;
|
|
165
169
|
}>;
|
|
166
170
|
export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise<{
|
|
167
171
|
type: any;
|
|
@@ -77,7 +77,6 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
77
77
|
items: {
|
|
78
78
|
type: string;
|
|
79
79
|
icon: string;
|
|
80
|
-
size: string;
|
|
81
80
|
hideCaret: boolean;
|
|
82
81
|
className: string;
|
|
83
82
|
closeOnClick: boolean;
|
|
@@ -124,6 +123,7 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
124
123
|
padding: string;
|
|
125
124
|
"align-items": string;
|
|
126
125
|
display: string;
|
|
126
|
+
"font-weight": string;
|
|
127
127
|
color?: undefined;
|
|
128
128
|
};
|
|
129
129
|
label?: undefined;
|
|
@@ -139,6 +139,7 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
139
139
|
padding?: undefined;
|
|
140
140
|
"align-items"?: undefined;
|
|
141
141
|
display?: undefined;
|
|
142
|
+
"font-weight"?: undefined;
|
|
142
143
|
};
|
|
143
144
|
tpl?: undefined;
|
|
144
145
|
})[];
|
|
@@ -147,7 +148,8 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
147
148
|
"padding-bottom": string;
|
|
148
149
|
"border-bottom": string;
|
|
149
150
|
padding?: undefined;
|
|
150
|
-
overflow?: undefined;
|
|
151
|
+
"overflow-y"?: undefined;
|
|
152
|
+
"overflow-x"?: undefined;
|
|
151
153
|
"max-height"?: undefined;
|
|
152
154
|
};
|
|
153
155
|
body?: undefined;
|
|
@@ -165,7 +167,8 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
165
167
|
}[];
|
|
166
168
|
style: {
|
|
167
169
|
padding: string;
|
|
168
|
-
overflow: string;
|
|
170
|
+
"overflow-y": string;
|
|
171
|
+
"overflow-x": string;
|
|
169
172
|
"max-height": string;
|
|
170
173
|
"padding-top"?: undefined;
|
|
171
174
|
"padding-bottom"?: undefined;
|
|
@@ -516,7 +519,6 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
516
519
|
items: {
|
|
517
520
|
type: string;
|
|
518
521
|
icon: string;
|
|
519
|
-
size: string;
|
|
520
522
|
hideCaret: boolean;
|
|
521
523
|
className: string;
|
|
522
524
|
closeOnClick: boolean;
|
|
@@ -563,6 +565,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
563
565
|
padding: string;
|
|
564
566
|
"align-items": string;
|
|
565
567
|
display: string;
|
|
568
|
+
"font-weight": string;
|
|
566
569
|
color?: undefined;
|
|
567
570
|
};
|
|
568
571
|
label?: undefined;
|
|
@@ -578,6 +581,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
578
581
|
padding?: undefined;
|
|
579
582
|
"align-items"?: undefined;
|
|
580
583
|
display?: undefined;
|
|
584
|
+
"font-weight"?: undefined;
|
|
581
585
|
};
|
|
582
586
|
tpl?: undefined;
|
|
583
587
|
})[];
|
|
@@ -586,7 +590,8 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
586
590
|
"padding-bottom": string;
|
|
587
591
|
"border-bottom": string;
|
|
588
592
|
padding?: undefined;
|
|
589
|
-
overflow?: undefined;
|
|
593
|
+
"overflow-y"?: undefined;
|
|
594
|
+
"overflow-x"?: undefined;
|
|
590
595
|
"max-height"?: undefined;
|
|
591
596
|
};
|
|
592
597
|
body?: undefined;
|
|
@@ -604,7 +609,8 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
604
609
|
}[];
|
|
605
610
|
style: {
|
|
606
611
|
padding: string;
|
|
607
|
-
overflow: string;
|
|
612
|
+
"overflow-y": string;
|
|
613
|
+
"overflow-x": string;
|
|
608
614
|
"max-height": string;
|
|
609
615
|
"padding-top"?: undefined;
|
|
610
616
|
"padding-bottom"?: undefined;
|
|
@@ -652,6 +658,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
652
658
|
body: ({
|
|
653
659
|
type: string;
|
|
654
660
|
className: string;
|
|
661
|
+
visibleOn: string;
|
|
655
662
|
onEvent: {
|
|
656
663
|
"@history_paths.changed": {
|
|
657
664
|
actions: {
|
|
@@ -662,7 +669,6 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
662
669
|
};
|
|
663
670
|
body: {
|
|
664
671
|
type: string;
|
|
665
|
-
visibleOn: string;
|
|
666
672
|
className: string;
|
|
667
673
|
onEvent: {
|
|
668
674
|
click: {
|
|
@@ -788,7 +794,6 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
788
794
|
items: {
|
|
789
795
|
type: string;
|
|
790
796
|
icon: string;
|
|
791
|
-
size: string;
|
|
792
797
|
hideCaret: boolean;
|
|
793
798
|
className: string;
|
|
794
799
|
closeOnClick: boolean;
|
|
@@ -835,6 +840,7 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
835
840
|
padding: string;
|
|
836
841
|
"align-items": string;
|
|
837
842
|
display: string;
|
|
843
|
+
"font-weight": string;
|
|
838
844
|
color?: undefined;
|
|
839
845
|
};
|
|
840
846
|
label?: undefined;
|
|
@@ -850,6 +856,7 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
850
856
|
padding?: undefined;
|
|
851
857
|
"align-items"?: undefined;
|
|
852
858
|
display?: undefined;
|
|
859
|
+
"font-weight"?: undefined;
|
|
853
860
|
};
|
|
854
861
|
tpl?: undefined;
|
|
855
862
|
})[];
|
|
@@ -858,7 +865,8 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
858
865
|
"padding-bottom": string;
|
|
859
866
|
"border-bottom": string;
|
|
860
867
|
padding?: undefined;
|
|
861
|
-
overflow?: undefined;
|
|
868
|
+
"overflow-y"?: undefined;
|
|
869
|
+
"overflow-x"?: undefined;
|
|
862
870
|
"max-height"?: undefined;
|
|
863
871
|
};
|
|
864
872
|
body?: undefined;
|
|
@@ -876,7 +884,8 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
876
884
|
}[];
|
|
877
885
|
style: {
|
|
878
886
|
padding: string;
|
|
879
|
-
overflow: string;
|
|
887
|
+
"overflow-y": string;
|
|
888
|
+
"overflow-x": string;
|
|
880
889
|
"max-height": string;
|
|
881
890
|
"padding-top"?: undefined;
|
|
882
891
|
"padding-bottom"?: undefined;
|
|
@@ -19,25 +19,9 @@ export function getAmisInputTableSchema(props: any): Promise<{
|
|
|
19
19
|
pipeOut: (value: any, data: any) => any;
|
|
20
20
|
required: any;
|
|
21
21
|
description: any;
|
|
22
|
-
onEvent: {
|
|
23
|
-
change: {
|
|
24
|
-
actions: {
|
|
25
|
-
actionType: string;
|
|
26
|
-
script: (context: any, doAction: any, event: any) => void;
|
|
27
|
-
}[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
22
|
}[];
|
|
31
23
|
id: string;
|
|
32
24
|
className: string;
|
|
33
|
-
onEvent: {
|
|
34
|
-
init: {
|
|
35
|
-
actions: {
|
|
36
|
-
actionType: string;
|
|
37
|
-
script: (context: any, doAction: any, event: any) => void;
|
|
38
|
-
}[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
25
|
};
|
|
42
26
|
label: any;
|
|
43
27
|
labelClassName: any;
|
|
@@ -155,6 +155,7 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
|
|
|
155
155
|
body: ({
|
|
156
156
|
type: string;
|
|
157
157
|
className: string;
|
|
158
|
+
visibleOn: string;
|
|
158
159
|
onEvent: {
|
|
159
160
|
"@history_paths.changed": {
|
|
160
161
|
actions: {
|
|
@@ -165,7 +166,6 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
|
|
|
165
166
|
};
|
|
166
167
|
body: {
|
|
167
168
|
type: string;
|
|
168
|
-
visibleOn: string;
|
|
169
169
|
className: string;
|
|
170
170
|
onEvent: {
|
|
171
171
|
click: {
|
|
@@ -71,14 +71,16 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
71
71
|
id: string;
|
|
72
72
|
md: string;
|
|
73
73
|
valign: string;
|
|
74
|
+
columnClassName: string;
|
|
74
75
|
} | {
|
|
75
76
|
body: {
|
|
76
77
|
type: string;
|
|
77
|
-
label: string;
|
|
78
|
+
label: string | boolean;
|
|
78
79
|
name: string;
|
|
79
80
|
id: string;
|
|
80
81
|
multiple: boolean;
|
|
81
82
|
required: boolean;
|
|
83
|
+
className: string;
|
|
82
84
|
autoFill: {
|
|
83
85
|
new_next_step: string;
|
|
84
86
|
};
|
|
@@ -105,8 +107,9 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
105
107
|
};
|
|
106
108
|
}[];
|
|
107
109
|
id: string;
|
|
110
|
+
valign: string;
|
|
108
111
|
md?: undefined;
|
|
109
|
-
|
|
112
|
+
columnClassName?: undefined;
|
|
110
113
|
})[];
|
|
111
114
|
id: string;
|
|
112
115
|
className: string;
|
|
@@ -124,8 +127,9 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
124
127
|
id: string;
|
|
125
128
|
md: string;
|
|
126
129
|
valign: string;
|
|
130
|
+
columnClassName: string;
|
|
127
131
|
} | {
|
|
128
|
-
body:
|
|
132
|
+
body: {
|
|
129
133
|
type: string;
|
|
130
134
|
api: {
|
|
131
135
|
url: string;
|
|
@@ -137,11 +141,13 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
137
141
|
};
|
|
138
142
|
body: ({
|
|
139
143
|
type: string;
|
|
140
|
-
label: string;
|
|
144
|
+
label: string | boolean;
|
|
141
145
|
name: string;
|
|
142
146
|
id: string;
|
|
143
147
|
hiddenOn: string;
|
|
148
|
+
disabledOn: string;
|
|
144
149
|
required: boolean;
|
|
150
|
+
className: string;
|
|
145
151
|
onEvent: {
|
|
146
152
|
change: {
|
|
147
153
|
weight: number;
|
|
@@ -149,73 +155,75 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
149
155
|
};
|
|
150
156
|
};
|
|
151
157
|
multiple?: undefined;
|
|
158
|
+
source?: undefined;
|
|
159
|
+
labelField?: undefined;
|
|
160
|
+
valueField?: undefined;
|
|
161
|
+
value?: undefined;
|
|
162
|
+
joinValues?: undefined;
|
|
163
|
+
extractValue?: undefined;
|
|
152
164
|
} | {
|
|
153
165
|
type: string;
|
|
154
|
-
label: string;
|
|
166
|
+
label: string | boolean;
|
|
155
167
|
name: string;
|
|
156
168
|
id: string;
|
|
157
169
|
hiddenOn: string;
|
|
170
|
+
disabledOn: string;
|
|
158
171
|
required: boolean;
|
|
159
172
|
multiple: boolean;
|
|
173
|
+
className: string;
|
|
160
174
|
onEvent: {
|
|
161
175
|
change: {
|
|
162
176
|
weight: number;
|
|
163
177
|
actions: any[];
|
|
164
178
|
};
|
|
165
179
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
adaptor: string;
|
|
195
|
-
data: {
|
|
196
|
-
"&": string;
|
|
197
|
-
$scopeId: string;
|
|
198
|
-
context: string;
|
|
199
|
-
next_step: string;
|
|
180
|
+
source?: undefined;
|
|
181
|
+
labelField?: undefined;
|
|
182
|
+
valueField?: undefined;
|
|
183
|
+
value?: undefined;
|
|
184
|
+
joinValues?: undefined;
|
|
185
|
+
extractValue?: undefined;
|
|
186
|
+
} | {
|
|
187
|
+
type: string;
|
|
188
|
+
label: string | boolean;
|
|
189
|
+
name: string;
|
|
190
|
+
id: string;
|
|
191
|
+
required: boolean;
|
|
192
|
+
hiddenOn: string;
|
|
193
|
+
multiple: boolean;
|
|
194
|
+
className: string;
|
|
195
|
+
source: {
|
|
196
|
+
url: string;
|
|
197
|
+
method: string;
|
|
198
|
+
sendOn: string;
|
|
199
|
+
messages: {};
|
|
200
|
+
requestAdaptor: string;
|
|
201
|
+
adaptor: string;
|
|
202
|
+
data: {
|
|
203
|
+
"&": string;
|
|
204
|
+
$scopeId: string;
|
|
205
|
+
context: string;
|
|
206
|
+
next_step: string;
|
|
207
|
+
};
|
|
200
208
|
};
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
labelField: string;
|
|
210
|
+
valueField: string;
|
|
211
|
+
value: string;
|
|
212
|
+
joinValues: boolean;
|
|
213
|
+
extractValue: boolean;
|
|
214
|
+
onEvent: {
|
|
215
|
+
change: {
|
|
216
|
+
weight: number;
|
|
217
|
+
actions: any[];
|
|
218
|
+
};
|
|
211
219
|
};
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
})[];
|
|
220
|
+
disabledOn?: undefined;
|
|
221
|
+
})[];
|
|
222
|
+
}[];
|
|
216
223
|
id: string;
|
|
224
|
+
valign: string;
|
|
217
225
|
md?: undefined;
|
|
218
|
-
|
|
226
|
+
columnClassName?: undefined;
|
|
219
227
|
})[];
|
|
220
228
|
id: string;
|
|
221
229
|
className: string;
|
|
@@ -285,6 +293,7 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
285
293
|
} | {
|
|
286
294
|
type: string;
|
|
287
295
|
label: string;
|
|
296
|
+
className: string;
|
|
288
297
|
onEvent: {
|
|
289
298
|
click: {
|
|
290
299
|
actions: {
|
|
@@ -295,7 +304,6 @@ export function getApprovalDrawerSchema(instance: any, events: any): Promise<{
|
|
|
295
304
|
};
|
|
296
305
|
};
|
|
297
306
|
id: string;
|
|
298
|
-
className?: undefined;
|
|
299
307
|
level?: undefined;
|
|
300
308
|
})[];
|
|
301
309
|
}>;
|
|
@@ -32,6 +32,9 @@ export function getFlowFormSchema(instance: any, box: any, print: any): Promise<
|
|
|
32
32
|
".steedos-amis-instance-view.steedos-instance-style-table .antd-Page-body .steedos-amis-instance-view-content": {
|
|
33
33
|
"max-width": string;
|
|
34
34
|
};
|
|
35
|
+
".steedos-amis-instance-view.steedos-instance-style-table .antd-Page-body .steedos-amis-instance-view-content .steedos-input-table": {
|
|
36
|
+
"max-width": string;
|
|
37
|
+
};
|
|
35
38
|
".steedos-amis-instance-view .approval-drawer.antd-Drawer .antd-Drawer-content": {
|
|
36
39
|
"box-shadow": string;
|
|
37
40
|
"border-top": string;
|
|
@@ -1,36 +1,7 @@
|
|
|
1
1
|
export function getInstanceApprovalHistory(): Promise<{
|
|
2
2
|
type: string;
|
|
3
|
-
headerClassName: string;
|
|
4
|
-
title: string;
|
|
5
|
-
source: string;
|
|
6
3
|
className: string;
|
|
7
|
-
|
|
8
|
-
rowClassNameExpr: string;
|
|
9
|
-
footable: {
|
|
10
|
-
expand: string;
|
|
11
|
-
};
|
|
12
|
-
columns: ({
|
|
13
|
-
name: string;
|
|
14
|
-
label: string;
|
|
15
|
-
className: string;
|
|
16
|
-
type?: undefined;
|
|
17
|
-
tpl?: undefined;
|
|
18
|
-
classNameExpr?: undefined;
|
|
19
|
-
} | {
|
|
20
|
-
name: string;
|
|
21
|
-
label: string;
|
|
22
|
-
type: string;
|
|
23
|
-
tpl: string;
|
|
24
|
-
className: string;
|
|
25
|
-
classNameExpr?: undefined;
|
|
26
|
-
} | {
|
|
27
|
-
name: string;
|
|
28
|
-
label: string;
|
|
29
|
-
classNameExpr: string;
|
|
30
|
-
className?: undefined;
|
|
31
|
-
type?: undefined;
|
|
32
|
-
tpl?: undefined;
|
|
33
|
-
})[];
|
|
4
|
+
template: string;
|
|
34
5
|
}>;
|
|
35
6
|
export function getINstanceApproveHistory2(instance: any): Promise<{
|
|
36
7
|
type: 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.52-beta.
|
|
4
|
+
"version": "6.10.52-beta.10",
|
|
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": "02305b6c955cd75f6bfaa68be6255ab9c24e959f"
|
|
63
63
|
}
|