@steedos-widgets/amis-lib 6.10.52-beta.3 → 6.10.52-beta.31
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/editor.d.ts +2 -0
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +12 -0
- package/dist/types/lib/converter/amis/fields_filter.d.ts +39 -0
- package/dist/types/lib/converter/amis/header.d.ts +58 -10
- package/dist/types/lib/converter/amis/toolbar.d.ts +39 -0
- package/dist/types/lib/input_table.d.ts +0 -16
- package/dist/types/lib/objects.d.ts +1 -1
- package/dist/types/workflow/__tests__/formula-utils.test.d.ts +1 -0
- package/dist/types/workflow/approve.d.ts +584 -64
- package/dist/types/workflow/attachment.d.ts +56 -106
- package/dist/types/workflow/flow.d.ts +4 -0
- package/dist/types/workflow/formula-utils.d.ts +3 -0
- package/dist/types/workflow/history.d.ts +2 -31
- package/dist/types/workflow/nextSteps.d.ts +1 -1
- package/dist/types/workflow/related.d.ts +29 -11
- 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;
|
|
@@ -50,11 +50,13 @@ export function getHtmlFieldSchema(field: any, readonly: any, ctx: any): {
|
|
|
50
50
|
readonly: boolean;
|
|
51
51
|
toolbar: boolean;
|
|
52
52
|
menubar: boolean;
|
|
53
|
+
content_style?: undefined;
|
|
53
54
|
};
|
|
54
55
|
} | {
|
|
55
56
|
type: string;
|
|
56
57
|
receiver: string;
|
|
57
58
|
options: {
|
|
59
|
+
content_style: string;
|
|
58
60
|
statusbar: boolean;
|
|
59
61
|
menubar: boolean;
|
|
60
62
|
plugins?: undefined;
|
|
@@ -162,6 +162,18 @@ 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;
|
|
169
|
+
valueFormat: any;
|
|
170
|
+
clearable?: undefined;
|
|
171
|
+
} | {
|
|
172
|
+
type: string;
|
|
173
|
+
multiple: any;
|
|
174
|
+
name: any;
|
|
175
|
+
clearable: any;
|
|
176
|
+
valueFormat: any;
|
|
165
177
|
}>;
|
|
166
178
|
export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise<{
|
|
167
179
|
type: any;
|
|
@@ -64,6 +64,32 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
64
64
|
Authorization: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
} | {
|
|
68
|
+
type: string;
|
|
69
|
+
className: string;
|
|
70
|
+
body: ({
|
|
71
|
+
type: string;
|
|
72
|
+
tpl: string;
|
|
73
|
+
className: string;
|
|
74
|
+
icon?: undefined;
|
|
75
|
+
level?: undefined;
|
|
76
|
+
onEvent?: undefined;
|
|
77
|
+
} | {
|
|
78
|
+
type: string;
|
|
79
|
+
icon: string;
|
|
80
|
+
level: string;
|
|
81
|
+
className: string;
|
|
82
|
+
onEvent: {
|
|
83
|
+
click: {
|
|
84
|
+
actions: {
|
|
85
|
+
actionType: string;
|
|
86
|
+
script: string;
|
|
87
|
+
}[];
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
tpl?: undefined;
|
|
91
|
+
})[];
|
|
92
|
+
size: string;
|
|
67
93
|
} | {
|
|
68
94
|
type: string;
|
|
69
95
|
body: {
|
|
@@ -217,9 +243,22 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
217
243
|
})[];
|
|
218
244
|
size: string;
|
|
219
245
|
className: string;
|
|
246
|
+
style: {
|
|
247
|
+
zIndex: number;
|
|
248
|
+
overflowY: string;
|
|
249
|
+
height: string;
|
|
250
|
+
width: string;
|
|
251
|
+
maxWidth: string;
|
|
252
|
+
};
|
|
220
253
|
};
|
|
221
254
|
size: string;
|
|
222
255
|
className: string;
|
|
256
|
+
style: {
|
|
257
|
+
zIndex: number;
|
|
258
|
+
backgroundColor: string;
|
|
259
|
+
padding: string;
|
|
260
|
+
paddingTop: string;
|
|
261
|
+
};
|
|
223
262
|
visibleOn: string;
|
|
224
263
|
};
|
|
225
264
|
className: string;
|
|
@@ -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;
|
|
@@ -275,6 +278,32 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
275
278
|
Authorization: string;
|
|
276
279
|
};
|
|
277
280
|
};
|
|
281
|
+
} | {
|
|
282
|
+
type: string;
|
|
283
|
+
className: string;
|
|
284
|
+
body: ({
|
|
285
|
+
type: string;
|
|
286
|
+
tpl: string;
|
|
287
|
+
className: string;
|
|
288
|
+
icon?: undefined;
|
|
289
|
+
level?: undefined;
|
|
290
|
+
onEvent?: undefined;
|
|
291
|
+
} | {
|
|
292
|
+
type: string;
|
|
293
|
+
icon: string;
|
|
294
|
+
level: string;
|
|
295
|
+
className: string;
|
|
296
|
+
onEvent: {
|
|
297
|
+
click: {
|
|
298
|
+
actions: {
|
|
299
|
+
actionType: string;
|
|
300
|
+
script: string;
|
|
301
|
+
}[];
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
tpl?: undefined;
|
|
305
|
+
})[];
|
|
306
|
+
size: string;
|
|
278
307
|
} | {
|
|
279
308
|
type: string;
|
|
280
309
|
body: {
|
|
@@ -428,9 +457,22 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
428
457
|
})[];
|
|
429
458
|
size: string;
|
|
430
459
|
className: string;
|
|
460
|
+
style: {
|
|
461
|
+
zIndex: number;
|
|
462
|
+
overflowY: string;
|
|
463
|
+
height: string;
|
|
464
|
+
width: string;
|
|
465
|
+
maxWidth: string;
|
|
466
|
+
};
|
|
431
467
|
};
|
|
432
468
|
size: string;
|
|
433
469
|
className: string;
|
|
470
|
+
style: {
|
|
471
|
+
zIndex: number;
|
|
472
|
+
backgroundColor: string;
|
|
473
|
+
padding: string;
|
|
474
|
+
paddingTop: string;
|
|
475
|
+
};
|
|
434
476
|
visibleOn: string;
|
|
435
477
|
};
|
|
436
478
|
className: string;
|
|
@@ -516,7 +558,6 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
516
558
|
items: {
|
|
517
559
|
type: string;
|
|
518
560
|
icon: string;
|
|
519
|
-
size: string;
|
|
520
561
|
hideCaret: boolean;
|
|
521
562
|
className: string;
|
|
522
563
|
closeOnClick: boolean;
|
|
@@ -563,6 +604,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
563
604
|
padding: string;
|
|
564
605
|
"align-items": string;
|
|
565
606
|
display: string;
|
|
607
|
+
"font-weight": string;
|
|
566
608
|
color?: undefined;
|
|
567
609
|
};
|
|
568
610
|
label?: undefined;
|
|
@@ -578,6 +620,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
578
620
|
padding?: undefined;
|
|
579
621
|
"align-items"?: undefined;
|
|
580
622
|
display?: undefined;
|
|
623
|
+
"font-weight"?: undefined;
|
|
581
624
|
};
|
|
582
625
|
tpl?: undefined;
|
|
583
626
|
})[];
|
|
@@ -586,7 +629,8 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
586
629
|
"padding-bottom": string;
|
|
587
630
|
"border-bottom": string;
|
|
588
631
|
padding?: undefined;
|
|
589
|
-
overflow?: undefined;
|
|
632
|
+
"overflow-y"?: undefined;
|
|
633
|
+
"overflow-x"?: undefined;
|
|
590
634
|
"max-height"?: undefined;
|
|
591
635
|
};
|
|
592
636
|
body?: undefined;
|
|
@@ -604,7 +648,8 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
604
648
|
}[];
|
|
605
649
|
style: {
|
|
606
650
|
padding: string;
|
|
607
|
-
overflow: string;
|
|
651
|
+
"overflow-y": string;
|
|
652
|
+
"overflow-x": string;
|
|
608
653
|
"max-height": string;
|
|
609
654
|
"padding-top"?: undefined;
|
|
610
655
|
"padding-bottom"?: undefined;
|
|
@@ -652,6 +697,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
652
697
|
body: ({
|
|
653
698
|
type: string;
|
|
654
699
|
className: string;
|
|
700
|
+
visibleOn: string;
|
|
655
701
|
onEvent: {
|
|
656
702
|
"@history_paths.changed": {
|
|
657
703
|
actions: {
|
|
@@ -662,7 +708,6 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
662
708
|
};
|
|
663
709
|
body: {
|
|
664
710
|
type: string;
|
|
665
|
-
visibleOn: string;
|
|
666
711
|
className: string;
|
|
667
712
|
onEvent: {
|
|
668
713
|
click: {
|
|
@@ -788,7 +833,6 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
788
833
|
items: {
|
|
789
834
|
type: string;
|
|
790
835
|
icon: string;
|
|
791
|
-
size: string;
|
|
792
836
|
hideCaret: boolean;
|
|
793
837
|
className: string;
|
|
794
838
|
closeOnClick: boolean;
|
|
@@ -835,6 +879,7 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
835
879
|
padding: string;
|
|
836
880
|
"align-items": string;
|
|
837
881
|
display: string;
|
|
882
|
+
"font-weight": string;
|
|
838
883
|
color?: undefined;
|
|
839
884
|
};
|
|
840
885
|
label?: undefined;
|
|
@@ -850,6 +895,7 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
850
895
|
padding?: undefined;
|
|
851
896
|
"align-items"?: undefined;
|
|
852
897
|
display?: undefined;
|
|
898
|
+
"font-weight"?: undefined;
|
|
853
899
|
};
|
|
854
900
|
tpl?: undefined;
|
|
855
901
|
})[];
|
|
@@ -858,7 +904,8 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
858
904
|
"padding-bottom": string;
|
|
859
905
|
"border-bottom": string;
|
|
860
906
|
padding?: undefined;
|
|
861
|
-
overflow?: undefined;
|
|
907
|
+
"overflow-y"?: undefined;
|
|
908
|
+
"overflow-x"?: undefined;
|
|
862
909
|
"max-height"?: undefined;
|
|
863
910
|
};
|
|
864
911
|
body?: undefined;
|
|
@@ -876,7 +923,8 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
876
923
|
}[];
|
|
877
924
|
style: {
|
|
878
925
|
padding: string;
|
|
879
|
-
overflow: string;
|
|
926
|
+
"overflow-y": string;
|
|
927
|
+
"overflow-x": string;
|
|
880
928
|
"max-height": string;
|
|
881
929
|
"padding-top"?: undefined;
|
|
882
930
|
"padding-bottom"?: undefined;
|
|
@@ -57,6 +57,32 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
57
57
|
Authorization: string;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
|
+
} | {
|
|
61
|
+
type: string;
|
|
62
|
+
className: string;
|
|
63
|
+
body: ({
|
|
64
|
+
type: string;
|
|
65
|
+
tpl: string;
|
|
66
|
+
className: string;
|
|
67
|
+
icon?: undefined;
|
|
68
|
+
level?: undefined;
|
|
69
|
+
onEvent?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
type: string;
|
|
72
|
+
icon: string;
|
|
73
|
+
level: string;
|
|
74
|
+
className: string;
|
|
75
|
+
onEvent: {
|
|
76
|
+
click: {
|
|
77
|
+
actions: {
|
|
78
|
+
actionType: string;
|
|
79
|
+
script: string;
|
|
80
|
+
}[];
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
tpl?: undefined;
|
|
84
|
+
})[];
|
|
85
|
+
size: string;
|
|
60
86
|
} | {
|
|
61
87
|
type: string;
|
|
62
88
|
body: {
|
|
@@ -210,9 +236,22 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
210
236
|
})[];
|
|
211
237
|
size: string;
|
|
212
238
|
className: string;
|
|
239
|
+
style: {
|
|
240
|
+
zIndex: number;
|
|
241
|
+
overflowY: string;
|
|
242
|
+
height: string;
|
|
243
|
+
width: string;
|
|
244
|
+
maxWidth: string;
|
|
245
|
+
};
|
|
213
246
|
};
|
|
214
247
|
size: string;
|
|
215
248
|
className: string;
|
|
249
|
+
style: {
|
|
250
|
+
zIndex: number;
|
|
251
|
+
backgroundColor: string;
|
|
252
|
+
padding: string;
|
|
253
|
+
paddingTop: string;
|
|
254
|
+
};
|
|
216
255
|
visibleOn: string;
|
|
217
256
|
};
|
|
218
257
|
className: string;
|
|
@@ -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: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|