@steedos-widgets/amis-lib 6.10.52-beta.9 → 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/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 +47 -1
- package/dist/types/lib/converter/amis/toolbar.d.ts +47 -1
- package/dist/types/lib/objects.d.ts +2 -0
- package/dist/types/workflow/__tests__/formula-utils.test.d.ts +1 -0
- package/dist/types/workflow/approve.d.ts +587 -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 +1 -1
- package/dist/types/workflow/nextSteps.d.ts +1 -1
- package/dist/types/workflow/related.d.ts +29 -11
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -264,7 +264,11 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
264
264
|
visibleOn: string;
|
|
265
265
|
className: string;
|
|
266
266
|
style: {
|
|
267
|
-
|
|
267
|
+
flex: string;
|
|
268
|
+
minHeight: string;
|
|
269
|
+
} | {
|
|
270
|
+
flex?: undefined;
|
|
271
|
+
minHeight?: undefined;
|
|
268
272
|
};
|
|
269
273
|
schemaApi: {
|
|
270
274
|
method: string;
|
|
@@ -278,6 +282,32 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
278
282
|
Authorization: string;
|
|
279
283
|
};
|
|
280
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;
|
|
281
311
|
} | {
|
|
282
312
|
type: string;
|
|
283
313
|
body: {
|
|
@@ -431,9 +461,25 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
431
461
|
})[];
|
|
432
462
|
size: string;
|
|
433
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
|
+
};
|
|
434
474
|
};
|
|
435
475
|
size: string;
|
|
436
476
|
className: string;
|
|
477
|
+
style: {
|
|
478
|
+
zIndex: number;
|
|
479
|
+
backgroundColor: string;
|
|
480
|
+
padding: string;
|
|
481
|
+
paddingTop: string;
|
|
482
|
+
};
|
|
437
483
|
visibleOn: string;
|
|
438
484
|
};
|
|
439
485
|
className: string;
|
|
@@ -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;
|
|
@@ -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 {};
|