@steedos-widgets/amis-lib 6.10.52-beta.8 → 6.10.52
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 +8 -0
- package/dist/types/lib/converter/amis/fields_filter.d.ts +52 -2
- package/dist/types/lib/converter/amis/header.d.ts +66 -11
- package/dist/types/lib/converter/amis/toolbar.d.ts +47 -1
- package/dist/types/lib/objects.d.ts +3 -1
- package/dist/types/workflow/__tests__/formula-utils.test.d.ts +1 -0
- package/dist/types/workflow/approve.d.ts +596 -64
- package/dist/types/workflow/attachment.d.ts +56 -106
- package/dist/types/workflow/flow.d.ts +1 -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;
|
|
@@ -166,6 +166,14 @@ export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise
|
|
|
166
166
|
type: string;
|
|
167
167
|
multiple: any;
|
|
168
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;
|
|
169
177
|
}>;
|
|
170
178
|
export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise<{
|
|
171
179
|
type: any;
|
|
@@ -19,7 +19,11 @@ export function getObjectFieldsFilterFormSchema(ctx: any): Promise<{
|
|
|
19
19
|
visibleOn: string;
|
|
20
20
|
className: string;
|
|
21
21
|
style: {
|
|
22
|
-
|
|
22
|
+
flex: string;
|
|
23
|
+
minHeight: string;
|
|
24
|
+
} | {
|
|
25
|
+
flex?: undefined;
|
|
26
|
+
minHeight?: undefined;
|
|
23
27
|
};
|
|
24
28
|
schemaApi: {
|
|
25
29
|
method: string;
|
|
@@ -50,7 +54,11 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
50
54
|
visibleOn: string;
|
|
51
55
|
className: string;
|
|
52
56
|
style: {
|
|
53
|
-
|
|
57
|
+
flex: string;
|
|
58
|
+
minHeight: string;
|
|
59
|
+
} | {
|
|
60
|
+
flex?: undefined;
|
|
61
|
+
minHeight?: undefined;
|
|
54
62
|
};
|
|
55
63
|
schemaApi: {
|
|
56
64
|
method: string;
|
|
@@ -64,6 +72,32 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
64
72
|
Authorization: string;
|
|
65
73
|
};
|
|
66
74
|
};
|
|
75
|
+
} | {
|
|
76
|
+
type: string;
|
|
77
|
+
className: string;
|
|
78
|
+
body: ({
|
|
79
|
+
type: string;
|
|
80
|
+
tpl: string;
|
|
81
|
+
className: string;
|
|
82
|
+
icon?: undefined;
|
|
83
|
+
level?: undefined;
|
|
84
|
+
onEvent?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
type: string;
|
|
87
|
+
icon: string;
|
|
88
|
+
level: string;
|
|
89
|
+
className: string;
|
|
90
|
+
onEvent: {
|
|
91
|
+
click: {
|
|
92
|
+
actions: {
|
|
93
|
+
actionType: string;
|
|
94
|
+
script: string;
|
|
95
|
+
}[];
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
tpl?: undefined;
|
|
99
|
+
})[];
|
|
100
|
+
size: string;
|
|
67
101
|
} | {
|
|
68
102
|
type: string;
|
|
69
103
|
body: {
|
|
@@ -217,9 +251,25 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
217
251
|
})[];
|
|
218
252
|
size: string;
|
|
219
253
|
className: string;
|
|
254
|
+
style: {
|
|
255
|
+
zIndex: number;
|
|
256
|
+
display: string;
|
|
257
|
+
flexDirection: string;
|
|
258
|
+
overflowY: string;
|
|
259
|
+
height: string;
|
|
260
|
+
maxHeight: string;
|
|
261
|
+
width: string;
|
|
262
|
+
maxWidth: string;
|
|
263
|
+
};
|
|
220
264
|
};
|
|
221
265
|
size: string;
|
|
222
266
|
className: string;
|
|
267
|
+
style: {
|
|
268
|
+
zIndex: number;
|
|
269
|
+
backgroundColor: string;
|
|
270
|
+
padding: string;
|
|
271
|
+
paddingTop: string;
|
|
272
|
+
};
|
|
223
273
|
visibleOn: string;
|
|
224
274
|
};
|
|
225
275
|
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;
|
|
@@ -261,7 +264,11 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
261
264
|
visibleOn: string;
|
|
262
265
|
className: string;
|
|
263
266
|
style: {
|
|
264
|
-
|
|
267
|
+
flex: string;
|
|
268
|
+
minHeight: string;
|
|
269
|
+
} | {
|
|
270
|
+
flex?: undefined;
|
|
271
|
+
minHeight?: undefined;
|
|
265
272
|
};
|
|
266
273
|
schemaApi: {
|
|
267
274
|
method: string;
|
|
@@ -275,6 +282,32 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
275
282
|
Authorization: string;
|
|
276
283
|
};
|
|
277
284
|
};
|
|
285
|
+
} | {
|
|
286
|
+
type: string;
|
|
287
|
+
className: string;
|
|
288
|
+
body: ({
|
|
289
|
+
type: string;
|
|
290
|
+
tpl: string;
|
|
291
|
+
className: string;
|
|
292
|
+
icon?: undefined;
|
|
293
|
+
level?: undefined;
|
|
294
|
+
onEvent?: undefined;
|
|
295
|
+
} | {
|
|
296
|
+
type: string;
|
|
297
|
+
icon: string;
|
|
298
|
+
level: string;
|
|
299
|
+
className: string;
|
|
300
|
+
onEvent: {
|
|
301
|
+
click: {
|
|
302
|
+
actions: {
|
|
303
|
+
actionType: string;
|
|
304
|
+
script: string;
|
|
305
|
+
}[];
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
tpl?: undefined;
|
|
309
|
+
})[];
|
|
310
|
+
size: string;
|
|
278
311
|
} | {
|
|
279
312
|
type: string;
|
|
280
313
|
body: {
|
|
@@ -428,9 +461,25 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
428
461
|
})[];
|
|
429
462
|
size: string;
|
|
430
463
|
className: string;
|
|
464
|
+
style: {
|
|
465
|
+
zIndex: number;
|
|
466
|
+
display: string;
|
|
467
|
+
flexDirection: string;
|
|
468
|
+
overflowY: string;
|
|
469
|
+
height: string;
|
|
470
|
+
maxHeight: string;
|
|
471
|
+
width: string;
|
|
472
|
+
maxWidth: string;
|
|
473
|
+
};
|
|
431
474
|
};
|
|
432
475
|
size: string;
|
|
433
476
|
className: string;
|
|
477
|
+
style: {
|
|
478
|
+
zIndex: number;
|
|
479
|
+
backgroundColor: string;
|
|
480
|
+
padding: string;
|
|
481
|
+
paddingTop: string;
|
|
482
|
+
};
|
|
434
483
|
visibleOn: string;
|
|
435
484
|
};
|
|
436
485
|
className: string;
|
|
@@ -516,7 +565,6 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
516
565
|
items: {
|
|
517
566
|
type: string;
|
|
518
567
|
icon: string;
|
|
519
|
-
size: string;
|
|
520
568
|
hideCaret: boolean;
|
|
521
569
|
className: string;
|
|
522
570
|
closeOnClick: boolean;
|
|
@@ -563,6 +611,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
563
611
|
padding: string;
|
|
564
612
|
"align-items": string;
|
|
565
613
|
display: string;
|
|
614
|
+
"font-weight": string;
|
|
566
615
|
color?: undefined;
|
|
567
616
|
};
|
|
568
617
|
label?: undefined;
|
|
@@ -578,6 +627,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
578
627
|
padding?: undefined;
|
|
579
628
|
"align-items"?: undefined;
|
|
580
629
|
display?: undefined;
|
|
630
|
+
"font-weight"?: undefined;
|
|
581
631
|
};
|
|
582
632
|
tpl?: undefined;
|
|
583
633
|
})[];
|
|
@@ -586,7 +636,8 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
586
636
|
"padding-bottom": string;
|
|
587
637
|
"border-bottom": string;
|
|
588
638
|
padding?: undefined;
|
|
589
|
-
overflow?: undefined;
|
|
639
|
+
"overflow-y"?: undefined;
|
|
640
|
+
"overflow-x"?: undefined;
|
|
590
641
|
"max-height"?: undefined;
|
|
591
642
|
};
|
|
592
643
|
body?: undefined;
|
|
@@ -604,7 +655,8 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
604
655
|
}[];
|
|
605
656
|
style: {
|
|
606
657
|
padding: string;
|
|
607
|
-
overflow: string;
|
|
658
|
+
"overflow-y": string;
|
|
659
|
+
"overflow-x": string;
|
|
608
660
|
"max-height": string;
|
|
609
661
|
"padding-top"?: undefined;
|
|
610
662
|
"padding-bottom"?: undefined;
|
|
@@ -652,6 +704,7 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
652
704
|
body: ({
|
|
653
705
|
type: string;
|
|
654
706
|
className: string;
|
|
707
|
+
visibleOn: string;
|
|
655
708
|
onEvent: {
|
|
656
709
|
"@history_paths.changed": {
|
|
657
710
|
actions: {
|
|
@@ -662,7 +715,6 @@ export function getObjectRecordDetailHeader(objectSchema: any, recordId: any, op
|
|
|
662
715
|
};
|
|
663
716
|
body: {
|
|
664
717
|
type: string;
|
|
665
|
-
visibleOn: string;
|
|
666
718
|
className: string;
|
|
667
719
|
onEvent: {
|
|
668
720
|
click: {
|
|
@@ -788,7 +840,6 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
788
840
|
items: {
|
|
789
841
|
type: string;
|
|
790
842
|
icon: string;
|
|
791
|
-
size: string;
|
|
792
843
|
hideCaret: boolean;
|
|
793
844
|
className: string;
|
|
794
845
|
closeOnClick: boolean;
|
|
@@ -835,6 +886,7 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
835
886
|
padding: string;
|
|
836
887
|
"align-items": string;
|
|
837
888
|
display: string;
|
|
889
|
+
"font-weight": string;
|
|
838
890
|
color?: undefined;
|
|
839
891
|
};
|
|
840
892
|
label?: undefined;
|
|
@@ -850,6 +902,7 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
850
902
|
padding?: undefined;
|
|
851
903
|
"align-items"?: undefined;
|
|
852
904
|
display?: undefined;
|
|
905
|
+
"font-weight"?: undefined;
|
|
853
906
|
};
|
|
854
907
|
tpl?: undefined;
|
|
855
908
|
})[];
|
|
@@ -858,7 +911,8 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
858
911
|
"padding-bottom": string;
|
|
859
912
|
"border-bottom": string;
|
|
860
913
|
padding?: undefined;
|
|
861
|
-
overflow?: undefined;
|
|
914
|
+
"overflow-y"?: undefined;
|
|
915
|
+
"overflow-x"?: undefined;
|
|
862
916
|
"max-height"?: undefined;
|
|
863
917
|
};
|
|
864
918
|
body?: undefined;
|
|
@@ -876,7 +930,8 @@ export function getObjectRecordDetailRelatedListHeader(relatedObjectSchema: any,
|
|
|
876
930
|
}[];
|
|
877
931
|
style: {
|
|
878
932
|
padding: string;
|
|
879
|
-
overflow: string;
|
|
933
|
+
"overflow-y": string;
|
|
934
|
+
"overflow-x": string;
|
|
880
935
|
"max-height": string;
|
|
881
936
|
"padding-top"?: undefined;
|
|
882
937
|
"padding-bottom"?: undefined;
|
|
@@ -43,7 +43,11 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
43
43
|
visibleOn: string;
|
|
44
44
|
className: string;
|
|
45
45
|
style: {
|
|
46
|
-
|
|
46
|
+
flex: string;
|
|
47
|
+
minHeight: string;
|
|
48
|
+
} | {
|
|
49
|
+
flex?: undefined;
|
|
50
|
+
minHeight?: undefined;
|
|
47
51
|
};
|
|
48
52
|
schemaApi: {
|
|
49
53
|
method: string;
|
|
@@ -57,6 +61,32 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
57
61
|
Authorization: string;
|
|
58
62
|
};
|
|
59
63
|
};
|
|
64
|
+
} | {
|
|
65
|
+
type: string;
|
|
66
|
+
className: string;
|
|
67
|
+
body: ({
|
|
68
|
+
type: string;
|
|
69
|
+
tpl: string;
|
|
70
|
+
className: string;
|
|
71
|
+
icon?: undefined;
|
|
72
|
+
level?: undefined;
|
|
73
|
+
onEvent?: undefined;
|
|
74
|
+
} | {
|
|
75
|
+
type: string;
|
|
76
|
+
icon: string;
|
|
77
|
+
level: string;
|
|
78
|
+
className: string;
|
|
79
|
+
onEvent: {
|
|
80
|
+
click: {
|
|
81
|
+
actions: {
|
|
82
|
+
actionType: string;
|
|
83
|
+
script: string;
|
|
84
|
+
}[];
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
tpl?: undefined;
|
|
88
|
+
})[];
|
|
89
|
+
size: string;
|
|
60
90
|
} | {
|
|
61
91
|
type: string;
|
|
62
92
|
body: {
|
|
@@ -210,9 +240,25 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
210
240
|
})[];
|
|
211
241
|
size: string;
|
|
212
242
|
className: string;
|
|
243
|
+
style: {
|
|
244
|
+
zIndex: number;
|
|
245
|
+
display: string;
|
|
246
|
+
flexDirection: string;
|
|
247
|
+
overflowY: string;
|
|
248
|
+
height: string;
|
|
249
|
+
maxHeight: string;
|
|
250
|
+
width: string;
|
|
251
|
+
maxWidth: string;
|
|
252
|
+
};
|
|
213
253
|
};
|
|
214
254
|
size: string;
|
|
215
255
|
className: string;
|
|
256
|
+
style: {
|
|
257
|
+
zIndex: number;
|
|
258
|
+
backgroundColor: string;
|
|
259
|
+
padding: string;
|
|
260
|
+
paddingTop: string;
|
|
261
|
+
};
|
|
216
262
|
visibleOn: string;
|
|
217
263
|
};
|
|
218
264
|
className: string;
|
|
@@ -110,6 +110,7 @@ export function getListSchema(appName: any, objectName: any, listViewName: any,
|
|
|
110
110
|
crudDataFilter: any;
|
|
111
111
|
onCrudDataFilter: any;
|
|
112
112
|
searchable_default: any;
|
|
113
|
+
filter_required: any;
|
|
113
114
|
};
|
|
114
115
|
isCustomAmisSchema?: undefined;
|
|
115
116
|
isCalendar?: undefined;
|
|
@@ -155,6 +156,7 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
|
|
|
155
156
|
body: ({
|
|
156
157
|
type: string;
|
|
157
158
|
className: string;
|
|
159
|
+
visibleOn: string;
|
|
158
160
|
onEvent: {
|
|
159
161
|
"@history_paths.changed": {
|
|
160
162
|
actions: {
|
|
@@ -165,7 +167,6 @@ export function getRecordDetailHeaderSchema(objectName: any, recordId: any, opti
|
|
|
165
167
|
};
|
|
166
168
|
body: {
|
|
167
169
|
type: string;
|
|
168
|
-
visibleOn: string;
|
|
169
170
|
className: string;
|
|
170
171
|
onEvent: {
|
|
171
172
|
click: {
|
|
@@ -425,6 +426,7 @@ export function getObjectRelated({ appName, masterObjectName, objectName, relate
|
|
|
425
426
|
crudDataFilter: any;
|
|
426
427
|
onCrudDataFilter: any;
|
|
427
428
|
searchable_default: any;
|
|
429
|
+
filter_required: any;
|
|
428
430
|
};
|
|
429
431
|
isCustomAmisSchema?: undefined;
|
|
430
432
|
isCalendar?: undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|