@steedos-widgets/amis-lib 6.10.1-beta.8 → 6.10.1
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 +3659 -401
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3659 -403
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +440 -305
- package/dist/index.umd.js.map +1 -1
- package/dist/types/config/index.d.ts +3 -3
- package/dist/types/i18n.d.ts +2 -1
- package/dist/types/i18n_amis.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lib/converter/amis/calendar.d.ts +4 -4
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +2 -5
- package/dist/types/lib/converter/amis/fields_filter.d.ts +6 -18
- package/dist/types/lib/converter/amis/header.d.ts +37 -16
- package/dist/types/lib/converter/amis/toolbar.d.ts +5 -18
- package/dist/types/lib/converter/amis/toolbars/setting_listview/columns.d.ts +1 -4
- package/dist/types/lib/converter/amis/toolbars/setting_listview/copy.d.ts +7 -2
- package/dist/types/lib/converter/amis/toolbars/setting_listview/delete.d.ts +7 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview/filters.d.ts +1 -5
- package/dist/types/lib/converter/amis/toolbars/setting_listview/new.d.ts +7 -2
- package/dist/types/lib/converter/amis/toolbars/setting_listview/rename.d.ts +7 -2
- package/dist/types/lib/converter/amis/toolbars/setting_listview/sort.d.ts +1 -4
- package/dist/types/lib/converter/amis/toolbars/setting_listview.d.ts +31 -19
- package/dist/types/lib/objects.d.ts +6 -2
- package/dist/types/lib/objectsRelated.d.ts +3 -0
- package/dist/types/lib/router.d.ts +0 -22
- package/dist/types/schema/standard_delete.amis.d.ts +23 -0
- package/dist/types/schema/standard_edit.amis.d.ts +1 -0
- package/dist/types/schema/standard_new.amis.d.ts +2 -1
- package/dist/types/standard/button.d.ts +26 -1
- package/dist/types/workflow/approve.d.ts +53 -30
- package/dist/types/workflow/attachment.d.ts +9 -13
- package/dist/types/workflow/flow.d.ts +141 -65
- package/dist/types/workflow/history.d.ts +1 -1
- package/dist/types/workflow/instance.d.ts +2 -16
- package/dist/types/workflow/related.d.ts +2 -6
- package/package.json +3 -3
package/dist/types/i18n.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function getAmisLocaleResource(): any;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export function getCalendarRecordSaveApi(object: any, calendarOptions: any): {
|
|
|
44
44
|
*/
|
|
45
45
|
export function getObjectCalendar(objectSchema: any, calendarOptions: any, options: any): Promise<any>;
|
|
46
46
|
export namespace DEFAULT_CALENDAR_OPTIONS {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
let startDateExpr: string;
|
|
48
|
+
let endDateExpr: string;
|
|
49
|
+
let allDayExpr: string;
|
|
50
|
+
let textExpr: string;
|
|
51
51
|
}
|
|
@@ -185,14 +185,11 @@ export function lookupToAmisSelect(field: any, readonly: any, ctx: any): Promise
|
|
|
185
185
|
};
|
|
186
186
|
} | {
|
|
187
187
|
method: string;
|
|
188
|
-
url: string;
|
|
189
188
|
data: {
|
|
190
|
-
query: string;
|
|
191
189
|
$: string;
|
|
190
|
+
query: string;
|
|
192
191
|
};
|
|
193
|
-
|
|
194
|
-
Authorization: string;
|
|
195
|
-
};
|
|
192
|
+
url: string;
|
|
196
193
|
};
|
|
197
194
|
searchable: boolean;
|
|
198
195
|
}>;
|
|
@@ -23,12 +23,11 @@ export function getObjectFieldsFilterFormSchema(ctx: any): Promise<{
|
|
|
23
23
|
};
|
|
24
24
|
schemaApi: {
|
|
25
25
|
method: string;
|
|
26
|
-
url: string;
|
|
27
26
|
data: {
|
|
28
27
|
$self: string;
|
|
29
28
|
query: string;
|
|
30
29
|
};
|
|
31
|
-
|
|
30
|
+
url: string;
|
|
32
31
|
adaptor: string;
|
|
33
32
|
headers: {
|
|
34
33
|
Authorization: string;
|
|
@@ -55,12 +54,11 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
55
54
|
};
|
|
56
55
|
schemaApi: {
|
|
57
56
|
method: string;
|
|
58
|
-
url: string;
|
|
59
57
|
data: {
|
|
60
58
|
$self: string;
|
|
61
59
|
query: string;
|
|
62
60
|
};
|
|
63
|
-
|
|
61
|
+
url: string;
|
|
64
62
|
adaptor: string;
|
|
65
63
|
headers: {
|
|
66
64
|
Authorization: string;
|
|
@@ -72,6 +70,7 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
72
70
|
type: string;
|
|
73
71
|
body: ({
|
|
74
72
|
type: string;
|
|
73
|
+
level: string;
|
|
75
74
|
id: string;
|
|
76
75
|
label: string;
|
|
77
76
|
icon: string;
|
|
@@ -84,7 +83,6 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
84
83
|
};
|
|
85
84
|
};
|
|
86
85
|
name?: undefined;
|
|
87
|
-
level?: undefined;
|
|
88
86
|
} | {
|
|
89
87
|
type: string;
|
|
90
88
|
label: string;
|
|
@@ -97,9 +95,9 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
97
95
|
}[];
|
|
98
96
|
};
|
|
99
97
|
};
|
|
98
|
+
level?: undefined;
|
|
100
99
|
id?: undefined;
|
|
101
100
|
icon?: undefined;
|
|
102
|
-
level?: undefined;
|
|
103
101
|
} | {
|
|
104
102
|
type: string;
|
|
105
103
|
label: string;
|
|
@@ -154,7 +152,6 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
154
152
|
bodyClassName: string;
|
|
155
153
|
className: string;
|
|
156
154
|
}[];
|
|
157
|
-
id: string;
|
|
158
155
|
actions: ({
|
|
159
156
|
type: string;
|
|
160
157
|
label: string;
|
|
@@ -179,18 +176,9 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
179
176
|
script: string;
|
|
180
177
|
componentId?: undefined;
|
|
181
178
|
args?: undefined;
|
|
182
|
-
} | {
|
|
183
|
-
actionType: string;
|
|
184
|
-
componentId: string;
|
|
185
|
-
args: {
|
|
186
|
-
__from_fields_filter_settings_confirm: boolean;
|
|
187
|
-
};
|
|
188
|
-
script?: undefined;
|
|
189
179
|
} | {
|
|
190
180
|
componentId: string;
|
|
191
|
-
args: {
|
|
192
|
-
__from_fields_filter_settings_confirm?: undefined;
|
|
193
|
-
};
|
|
181
|
+
args: {};
|
|
194
182
|
actionType: string;
|
|
195
183
|
script?: undefined;
|
|
196
184
|
})[];
|
|
@@ -216,8 +204,8 @@ export function getObjectFieldsFilterBarSchema(objectSchema: any, ctx: any): Pro
|
|
|
216
204
|
}[];
|
|
217
205
|
};
|
|
218
206
|
};
|
|
219
|
-
id: string;
|
|
220
207
|
level: string;
|
|
208
|
+
id?: undefined;
|
|
221
209
|
icon?: undefined;
|
|
222
210
|
name?: undefined;
|
|
223
211
|
})[];
|
|
@@ -30,6 +30,7 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
30
30
|
size?: undefined;
|
|
31
31
|
hideCaret?: undefined;
|
|
32
32
|
closeOnClick?: undefined;
|
|
33
|
+
visibleOn?: undefined;
|
|
33
34
|
btnClassName?: undefined;
|
|
34
35
|
buttons?: undefined;
|
|
35
36
|
} | {
|
|
@@ -40,11 +41,26 @@ export function getObjectListHeaderFirstLine(objectSchema: any, listViewName: an
|
|
|
40
41
|
size: string;
|
|
41
42
|
hideCaret: boolean;
|
|
42
43
|
closeOnClick: boolean;
|
|
44
|
+
visibleOn: string;
|
|
43
45
|
btnClassName: string;
|
|
44
46
|
buttons: any[];
|
|
45
47
|
tpl?: undefined;
|
|
46
48
|
inline?: undefined;
|
|
47
49
|
wrapperComponent?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
type: string;
|
|
52
|
+
className: string;
|
|
53
|
+
tpl: string;
|
|
54
|
+
visibleOn: string;
|
|
55
|
+
inline?: undefined;
|
|
56
|
+
wrapperComponent?: undefined;
|
|
57
|
+
label?: undefined;
|
|
58
|
+
rightIcon?: undefined;
|
|
59
|
+
size?: undefined;
|
|
60
|
+
hideCaret?: undefined;
|
|
61
|
+
closeOnClick?: undefined;
|
|
62
|
+
btnClassName?: undefined;
|
|
63
|
+
buttons?: undefined;
|
|
48
64
|
})[];
|
|
49
65
|
md: string;
|
|
50
66
|
columnClassName: string;
|
|
@@ -250,12 +266,11 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
250
266
|
};
|
|
251
267
|
schemaApi: {
|
|
252
268
|
method: string;
|
|
253
|
-
url: string;
|
|
254
269
|
data: {
|
|
255
270
|
$self: string;
|
|
256
271
|
query: string;
|
|
257
272
|
};
|
|
258
|
-
|
|
273
|
+
url: string;
|
|
259
274
|
adaptor: string;
|
|
260
275
|
headers: {
|
|
261
276
|
Authorization: string;
|
|
@@ -267,6 +282,7 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
267
282
|
type: string;
|
|
268
283
|
body: ({
|
|
269
284
|
type: string;
|
|
285
|
+
level: string;
|
|
270
286
|
id: string;
|
|
271
287
|
label: string;
|
|
272
288
|
icon: string;
|
|
@@ -279,7 +295,6 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
279
295
|
};
|
|
280
296
|
};
|
|
281
297
|
name?: undefined;
|
|
282
|
-
level?: undefined;
|
|
283
298
|
} | {
|
|
284
299
|
type: string;
|
|
285
300
|
label: string;
|
|
@@ -292,9 +307,9 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
292
307
|
}[];
|
|
293
308
|
};
|
|
294
309
|
};
|
|
310
|
+
level?: undefined;
|
|
295
311
|
id?: undefined;
|
|
296
312
|
icon?: undefined;
|
|
297
|
-
level?: undefined;
|
|
298
313
|
} | {
|
|
299
314
|
type: string;
|
|
300
315
|
label: string;
|
|
@@ -349,7 +364,6 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
349
364
|
bodyClassName: string;
|
|
350
365
|
className: string;
|
|
351
366
|
}[];
|
|
352
|
-
id: string;
|
|
353
367
|
actions: ({
|
|
354
368
|
type: string;
|
|
355
369
|
label: string;
|
|
@@ -375,17 +389,8 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
375
389
|
componentId?: undefined;
|
|
376
390
|
args?: undefined;
|
|
377
391
|
} | {
|
|
378
|
-
actionType: string;
|
|
379
392
|
componentId: string;
|
|
380
|
-
args: {
|
|
381
|
-
__from_fields_filter_settings_confirm: boolean;
|
|
382
|
-
};
|
|
383
|
-
script?: undefined;
|
|
384
|
-
} | {
|
|
385
|
-
componentId: string;
|
|
386
|
-
args: {
|
|
387
|
-
__from_fields_filter_settings_confirm?: undefined;
|
|
388
|
-
};
|
|
393
|
+
args: {};
|
|
389
394
|
actionType: string;
|
|
390
395
|
script?: undefined;
|
|
391
396
|
})[];
|
|
@@ -411,8 +416,8 @@ export function getObjectListHeaderFieldsFilterBar(objectSchema: any, listViewNa
|
|
|
411
416
|
}[];
|
|
412
417
|
};
|
|
413
418
|
};
|
|
414
|
-
id: string;
|
|
415
419
|
level: string;
|
|
420
|
+
id?: undefined;
|
|
416
421
|
icon?: undefined;
|
|
417
422
|
name?: undefined;
|
|
418
423
|
})[];
|
|
@@ -465,6 +470,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
465
470
|
size?: undefined;
|
|
466
471
|
hideCaret?: undefined;
|
|
467
472
|
closeOnClick?: undefined;
|
|
473
|
+
visibleOn?: undefined;
|
|
468
474
|
btnClassName?: undefined;
|
|
469
475
|
buttons?: undefined;
|
|
470
476
|
} | {
|
|
@@ -475,11 +481,26 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
475
481
|
size: string;
|
|
476
482
|
hideCaret: boolean;
|
|
477
483
|
closeOnClick: boolean;
|
|
484
|
+
visibleOn: string;
|
|
478
485
|
btnClassName: string;
|
|
479
486
|
buttons: any[];
|
|
480
487
|
tpl?: undefined;
|
|
481
488
|
inline?: undefined;
|
|
482
489
|
wrapperComponent?: undefined;
|
|
490
|
+
} | {
|
|
491
|
+
type: string;
|
|
492
|
+
className: string;
|
|
493
|
+
tpl: string;
|
|
494
|
+
visibleOn: string;
|
|
495
|
+
inline?: undefined;
|
|
496
|
+
wrapperComponent?: undefined;
|
|
497
|
+
label?: undefined;
|
|
498
|
+
rightIcon?: undefined;
|
|
499
|
+
size?: undefined;
|
|
500
|
+
hideCaret?: undefined;
|
|
501
|
+
closeOnClick?: undefined;
|
|
502
|
+
btnClassName?: undefined;
|
|
503
|
+
buttons?: undefined;
|
|
483
504
|
})[];
|
|
484
505
|
md: string;
|
|
485
506
|
columnClassName: string;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
export function getObjectHeaderToolbar(mainObject: any, fields: any, formFactor: any, { showDisplayAs, hiddenCount, headerToolbarItems, filterVisible, isLookup, keywordsSearchBoxName }?: {
|
|
2
2
|
showDisplayAs?: boolean;
|
|
3
3
|
hiddenCount?: boolean;
|
|
4
|
-
headerToolbarItems: any;
|
|
5
4
|
filterVisible?: boolean;
|
|
6
5
|
isLookup?: boolean;
|
|
7
|
-
keywordsSearchBoxName: any;
|
|
8
6
|
}): any[];
|
|
9
7
|
export function getObjectFooterToolbar(mainObject: any, formFactor: any, options: any): ({
|
|
10
8
|
type: string;
|
|
@@ -49,12 +47,11 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
49
47
|
};
|
|
50
48
|
schemaApi: {
|
|
51
49
|
method: string;
|
|
52
|
-
url: string;
|
|
53
50
|
data: {
|
|
54
51
|
$self: string;
|
|
55
52
|
query: string;
|
|
56
53
|
};
|
|
57
|
-
|
|
54
|
+
url: string;
|
|
58
55
|
adaptor: string;
|
|
59
56
|
headers: {
|
|
60
57
|
Authorization: string;
|
|
@@ -66,6 +63,7 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
66
63
|
type: string;
|
|
67
64
|
body: ({
|
|
68
65
|
type: string;
|
|
66
|
+
level: string;
|
|
69
67
|
id: string;
|
|
70
68
|
label: string;
|
|
71
69
|
icon: string;
|
|
@@ -78,7 +76,6 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
78
76
|
};
|
|
79
77
|
};
|
|
80
78
|
name?: undefined;
|
|
81
|
-
level?: undefined;
|
|
82
79
|
} | {
|
|
83
80
|
type: string;
|
|
84
81
|
label: string;
|
|
@@ -91,9 +88,9 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
91
88
|
}[];
|
|
92
89
|
};
|
|
93
90
|
};
|
|
91
|
+
level?: undefined;
|
|
94
92
|
id?: undefined;
|
|
95
93
|
icon?: undefined;
|
|
96
|
-
level?: undefined;
|
|
97
94
|
} | {
|
|
98
95
|
type: string;
|
|
99
96
|
label: string;
|
|
@@ -148,7 +145,6 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
148
145
|
bodyClassName: string;
|
|
149
146
|
className: string;
|
|
150
147
|
}[];
|
|
151
|
-
id: string;
|
|
152
148
|
actions: ({
|
|
153
149
|
type: string;
|
|
154
150
|
label: string;
|
|
@@ -174,17 +170,8 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
174
170
|
componentId?: undefined;
|
|
175
171
|
args?: undefined;
|
|
176
172
|
} | {
|
|
177
|
-
actionType: string;
|
|
178
173
|
componentId: string;
|
|
179
|
-
args: {
|
|
180
|
-
__from_fields_filter_settings_confirm: boolean;
|
|
181
|
-
};
|
|
182
|
-
script?: undefined;
|
|
183
|
-
} | {
|
|
184
|
-
componentId: string;
|
|
185
|
-
args: {
|
|
186
|
-
__from_fields_filter_settings_confirm?: undefined;
|
|
187
|
-
};
|
|
174
|
+
args: {};
|
|
188
175
|
actionType: string;
|
|
189
176
|
script?: undefined;
|
|
190
177
|
})[];
|
|
@@ -210,8 +197,8 @@ export function getObjectFilter(objectSchema: any, fields: any, options: any): P
|
|
|
210
197
|
}[];
|
|
211
198
|
};
|
|
212
199
|
};
|
|
213
|
-
id: string;
|
|
214
200
|
level: string;
|
|
201
|
+
id?: undefined;
|
|
215
202
|
icon?: undefined;
|
|
216
203
|
name?: undefined;
|
|
217
204
|
})[];
|
|
@@ -116,13 +116,18 @@ export function getCopyListviewButtonSchema(): {
|
|
|
116
116
|
onEvent: {
|
|
117
117
|
submitSucc: {
|
|
118
118
|
weight: number;
|
|
119
|
-
actions: {
|
|
119
|
+
actions: ({
|
|
120
120
|
args: {
|
|
121
121
|
url: string;
|
|
122
122
|
blank: boolean;
|
|
123
123
|
};
|
|
124
124
|
actionType: string;
|
|
125
|
-
|
|
125
|
+
script?: undefined;
|
|
126
|
+
} | {
|
|
127
|
+
actionType: string;
|
|
128
|
+
script: string;
|
|
129
|
+
args?: undefined;
|
|
130
|
+
})[];
|
|
126
131
|
};
|
|
127
132
|
};
|
|
128
133
|
}[];
|
|
@@ -29,6 +29,7 @@ export function getDeleteListviewButtonSchema(): {
|
|
|
29
29
|
blank?: undefined;
|
|
30
30
|
};
|
|
31
31
|
expression?: undefined;
|
|
32
|
+
script?: undefined;
|
|
32
33
|
} | {
|
|
33
34
|
actionType: string;
|
|
34
35
|
args: {
|
|
@@ -37,6 +38,12 @@ export function getDeleteListviewButtonSchema(): {
|
|
|
37
38
|
api?: undefined;
|
|
38
39
|
};
|
|
39
40
|
expression: string;
|
|
41
|
+
script?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
actionType: string;
|
|
44
|
+
script: string;
|
|
45
|
+
args?: undefined;
|
|
46
|
+
expression?: undefined;
|
|
40
47
|
})[];
|
|
41
48
|
};
|
|
42
49
|
};
|
|
@@ -47,16 +47,12 @@ export function getSetListviewFiltersButtonSchema(): {
|
|
|
47
47
|
submitSucc: {
|
|
48
48
|
weight: number;
|
|
49
49
|
actions: {
|
|
50
|
-
args: {
|
|
51
|
-
url: string;
|
|
52
|
-
blank: boolean;
|
|
53
|
-
};
|
|
54
50
|
actionType: string;
|
|
51
|
+
script: string;
|
|
55
52
|
}[];
|
|
56
53
|
};
|
|
57
54
|
};
|
|
58
55
|
}[];
|
|
59
|
-
className: string;
|
|
60
56
|
showCloseButton: boolean;
|
|
61
57
|
showErrorMsg: boolean;
|
|
62
58
|
showLoading: boolean;
|
|
@@ -149,13 +149,18 @@ export function getNewListviewButtonSchema(): {
|
|
|
149
149
|
onEvent: {
|
|
150
150
|
submitSucc: {
|
|
151
151
|
weight: number;
|
|
152
|
-
actions: {
|
|
152
|
+
actions: ({
|
|
153
153
|
args: {
|
|
154
154
|
url: string;
|
|
155
155
|
blank: boolean;
|
|
156
156
|
};
|
|
157
157
|
actionType: string;
|
|
158
|
-
|
|
158
|
+
script?: undefined;
|
|
159
|
+
} | {
|
|
160
|
+
actionType: string;
|
|
161
|
+
script: string;
|
|
162
|
+
args?: undefined;
|
|
163
|
+
})[];
|
|
159
164
|
};
|
|
160
165
|
};
|
|
161
166
|
messages: {
|
|
@@ -27,13 +27,18 @@ export function getRenameListviewButtonSchema(): {
|
|
|
27
27
|
onEvent: {
|
|
28
28
|
submitSucc: {
|
|
29
29
|
weight: number;
|
|
30
|
-
actions: {
|
|
30
|
+
actions: ({
|
|
31
31
|
args: {
|
|
32
32
|
url: string;
|
|
33
33
|
blank: boolean;
|
|
34
34
|
};
|
|
35
35
|
actionType: string;
|
|
36
|
-
|
|
36
|
+
script?: undefined;
|
|
37
|
+
} | {
|
|
38
|
+
actionType: string;
|
|
39
|
+
script: string;
|
|
40
|
+
args?: undefined;
|
|
41
|
+
})[];
|
|
37
42
|
};
|
|
38
43
|
};
|
|
39
44
|
}[];
|
|
@@ -158,13 +158,18 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
158
158
|
onEvent: {
|
|
159
159
|
submitSucc: {
|
|
160
160
|
weight: number;
|
|
161
|
-
actions: {
|
|
161
|
+
actions: ({
|
|
162
162
|
args: {
|
|
163
163
|
url: string;
|
|
164
164
|
blank: boolean;
|
|
165
165
|
};
|
|
166
166
|
actionType: string;
|
|
167
|
-
|
|
167
|
+
script?: undefined;
|
|
168
|
+
} | {
|
|
169
|
+
actionType: string;
|
|
170
|
+
script: string;
|
|
171
|
+
args?: undefined;
|
|
172
|
+
})[];
|
|
168
173
|
};
|
|
169
174
|
};
|
|
170
175
|
messages: {
|
|
@@ -301,13 +306,18 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
301
306
|
onEvent: {
|
|
302
307
|
submitSucc: {
|
|
303
308
|
weight: number;
|
|
304
|
-
actions: {
|
|
309
|
+
actions: ({
|
|
305
310
|
args: {
|
|
306
311
|
url: string;
|
|
307
312
|
blank: boolean;
|
|
308
313
|
};
|
|
309
314
|
actionType: string;
|
|
310
|
-
|
|
315
|
+
script?: undefined;
|
|
316
|
+
} | {
|
|
317
|
+
actionType: string;
|
|
318
|
+
script: string;
|
|
319
|
+
args?: undefined;
|
|
320
|
+
})[];
|
|
311
321
|
};
|
|
312
322
|
};
|
|
313
323
|
}[];
|
|
@@ -351,13 +361,18 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
351
361
|
onEvent: {
|
|
352
362
|
submitSucc: {
|
|
353
363
|
weight: number;
|
|
354
|
-
actions: {
|
|
364
|
+
actions: ({
|
|
355
365
|
args: {
|
|
356
366
|
url: string;
|
|
357
367
|
blank: boolean;
|
|
358
368
|
};
|
|
359
369
|
actionType: string;
|
|
360
|
-
|
|
370
|
+
script?: undefined;
|
|
371
|
+
} | {
|
|
372
|
+
actionType: string;
|
|
373
|
+
script: string;
|
|
374
|
+
args?: undefined;
|
|
375
|
+
})[];
|
|
361
376
|
};
|
|
362
377
|
};
|
|
363
378
|
}[];
|
|
@@ -468,16 +483,12 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
468
483
|
submitSucc: {
|
|
469
484
|
weight: number;
|
|
470
485
|
actions: {
|
|
471
|
-
args: {
|
|
472
|
-
url: string;
|
|
473
|
-
blank: boolean;
|
|
474
|
-
};
|
|
475
486
|
actionType: string;
|
|
487
|
+
script: string;
|
|
476
488
|
}[];
|
|
477
489
|
};
|
|
478
490
|
};
|
|
479
491
|
}[];
|
|
480
|
-
className: string;
|
|
481
492
|
showCloseButton: boolean;
|
|
482
493
|
showErrorMsg: boolean;
|
|
483
494
|
showLoading: boolean;
|
|
@@ -552,11 +563,8 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
552
563
|
submitSucc: {
|
|
553
564
|
weight: number;
|
|
554
565
|
actions: {
|
|
555
|
-
args: {
|
|
556
|
-
url: string;
|
|
557
|
-
blank: boolean;
|
|
558
|
-
};
|
|
559
566
|
actionType: string;
|
|
567
|
+
script: string;
|
|
560
568
|
}[];
|
|
561
569
|
};
|
|
562
570
|
};
|
|
@@ -602,11 +610,8 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
602
610
|
submitSucc: {
|
|
603
611
|
weight: number;
|
|
604
612
|
actions: {
|
|
605
|
-
args: {
|
|
606
|
-
url: string;
|
|
607
|
-
blank: boolean;
|
|
608
|
-
};
|
|
609
613
|
actionType: string;
|
|
614
|
+
script: string;
|
|
610
615
|
}[];
|
|
611
616
|
};
|
|
612
617
|
};
|
|
@@ -672,6 +677,7 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
672
677
|
blank?: undefined;
|
|
673
678
|
};
|
|
674
679
|
expression?: undefined;
|
|
680
|
+
script?: undefined;
|
|
675
681
|
} | {
|
|
676
682
|
actionType: string;
|
|
677
683
|
args: {
|
|
@@ -680,6 +686,12 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
680
686
|
api?: undefined;
|
|
681
687
|
};
|
|
682
688
|
expression: string;
|
|
689
|
+
script?: undefined;
|
|
690
|
+
} | {
|
|
691
|
+
actionType: string;
|
|
692
|
+
script: string;
|
|
693
|
+
args?: undefined;
|
|
694
|
+
expression?: undefined;
|
|
683
695
|
})[];
|
|
684
696
|
};
|
|
685
697
|
};
|