@steedos-widgets/amis-lib 3.6.2-beta.9 → 3.6.3-beta.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 +884 -268
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +884 -268
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +212 -127
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/api.d.ts +1 -0
- package/dist/types/lib/converter/amis/fields/editor.d.ts +1 -1
- package/dist/types/lib/converter/amis/fields/file.d.ts +52 -0
- package/dist/types/lib/converter/amis/fields/lookup.d.ts +3 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview/columns.d.ts +1 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview/copy.d.ts +21 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview/filters.d.ts +2 -1
- package/dist/types/lib/converter/amis/toolbars/setting_listview/new.d.ts +20 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview/rename.d.ts +1 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview/share.d.ts +15 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview/sort.d.ts +2 -0
- package/dist/types/lib/converter/amis/toolbars/setting_listview.d.ts +130 -0
- package/dist/types/lib/converter/amis/util.d.ts +5 -0
- package/dist/types/lib/input_table.d.ts +24 -15
- package/dist/types/lib/objectsRelated.d.ts +8 -17
- package/dist/types/lib/router.d.ts +2 -2
- package/dist/types/schema/standard_import_data.amis.d.ts +7 -0
- package/dist/types/standard/button.d.ts +7 -0
- package/package.json +2 -2
|
@@ -11,6 +11,7 @@ export function getReadonlyFormInitApi(object: any, recordId: any, fields: any,
|
|
|
11
11
|
Authorization: string;
|
|
12
12
|
};
|
|
13
13
|
}>;
|
|
14
|
+
export function getScriptForAddUrlPrefixForImgFields(fields: any): string;
|
|
14
15
|
export function getEditFormInitApi(object: any, recordId: any, fields: any, options: any): Promise<{
|
|
15
16
|
method: string;
|
|
16
17
|
url: string;
|
|
@@ -3,6 +3,31 @@ export function getAmisFileReadonlySchema(steedosField: any): {
|
|
|
3
3
|
defaultImage: string;
|
|
4
4
|
enlargeAble: boolean;
|
|
5
5
|
showToolbar: boolean;
|
|
6
|
+
body?: undefined;
|
|
7
|
+
tpl?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
type: string;
|
|
10
|
+
body: {
|
|
11
|
+
type: string;
|
|
12
|
+
name: string;
|
|
13
|
+
items: {
|
|
14
|
+
type: string;
|
|
15
|
+
tpl: string;
|
|
16
|
+
className: string;
|
|
17
|
+
onEvent: {
|
|
18
|
+
click: {
|
|
19
|
+
actions: {
|
|
20
|
+
script: string;
|
|
21
|
+
actionType: string;
|
|
22
|
+
}[];
|
|
23
|
+
weight: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
defaultImage?: undefined;
|
|
29
|
+
enlargeAble?: undefined;
|
|
30
|
+
showToolbar?: undefined;
|
|
6
31
|
tpl?: undefined;
|
|
7
32
|
} | {
|
|
8
33
|
type: any;
|
|
@@ -10,6 +35,7 @@ export function getAmisFileReadonlySchema(steedosField: any): {
|
|
|
10
35
|
defaultImage?: undefined;
|
|
11
36
|
enlargeAble?: undefined;
|
|
12
37
|
showToolbar?: undefined;
|
|
38
|
+
body?: undefined;
|
|
13
39
|
};
|
|
14
40
|
export function getAmisFileEditSchema(steedosField: any): {
|
|
15
41
|
type: any;
|
|
@@ -30,6 +56,31 @@ export function getAmisFileSchema(steedosField: any, readonly: any): {
|
|
|
30
56
|
defaultImage: string;
|
|
31
57
|
enlargeAble: boolean;
|
|
32
58
|
showToolbar: boolean;
|
|
59
|
+
body?: undefined;
|
|
60
|
+
tpl?: undefined;
|
|
61
|
+
} | {
|
|
62
|
+
type: string;
|
|
63
|
+
body: {
|
|
64
|
+
type: string;
|
|
65
|
+
name: string;
|
|
66
|
+
items: {
|
|
67
|
+
type: string;
|
|
68
|
+
tpl: string;
|
|
69
|
+
className: string;
|
|
70
|
+
onEvent: {
|
|
71
|
+
click: {
|
|
72
|
+
actions: {
|
|
73
|
+
script: string;
|
|
74
|
+
actionType: string;
|
|
75
|
+
}[];
|
|
76
|
+
weight: number;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
defaultImage?: undefined;
|
|
82
|
+
enlargeAble?: undefined;
|
|
83
|
+
showToolbar?: undefined;
|
|
33
84
|
tpl?: undefined;
|
|
34
85
|
} | {
|
|
35
86
|
type: any;
|
|
@@ -37,6 +88,7 @@ export function getAmisFileSchema(steedosField: any, readonly: any): {
|
|
|
37
88
|
defaultImage?: undefined;
|
|
38
89
|
enlargeAble?: undefined;
|
|
39
90
|
showToolbar?: undefined;
|
|
91
|
+
body?: undefined;
|
|
40
92
|
} | {
|
|
41
93
|
type: any;
|
|
42
94
|
useChunk: boolean;
|
|
@@ -30,6 +30,7 @@ export function getLookupSapceUserTreeSchema(isMobile: any): ({
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
label: string;
|
|
33
|
+
mode: string;
|
|
33
34
|
name: string;
|
|
34
35
|
multiple: boolean;
|
|
35
36
|
joinValues: boolean;
|
|
@@ -80,6 +81,7 @@ export function getLookupSapceUserTreeSchema(isMobile: any): ({
|
|
|
80
81
|
};
|
|
81
82
|
};
|
|
82
83
|
label: string;
|
|
84
|
+
mode: string;
|
|
83
85
|
name: string;
|
|
84
86
|
multiple: boolean;
|
|
85
87
|
joinValues: boolean;
|
|
@@ -135,6 +137,7 @@ export function getLookupSapceUserTreeSchema(isMobile: any): ({
|
|
|
135
137
|
})[];
|
|
136
138
|
export function lookupToAmisPicker(field: any, readonly: any, ctx: any): Promise<{
|
|
137
139
|
type: any;
|
|
140
|
+
className: any;
|
|
138
141
|
modalTitle: string;
|
|
139
142
|
labelField: any;
|
|
140
143
|
valueField: any;
|
|
@@ -22,15 +22,25 @@ export function getCopyListviewButtonSchema(): {
|
|
|
22
22
|
objectApiName: string;
|
|
23
23
|
recordId: string;
|
|
24
24
|
mode: string;
|
|
25
|
+
layout: string;
|
|
25
26
|
defaultData: {
|
|
26
27
|
"&": string;
|
|
27
28
|
name: string;
|
|
28
29
|
label: string;
|
|
29
30
|
shared: boolean;
|
|
30
31
|
object_name: string;
|
|
32
|
+
_id: string;
|
|
33
|
+
shared_to: any;
|
|
34
|
+
shared_to_organizations: any;
|
|
35
|
+
locked: boolean;
|
|
36
|
+
owner: any;
|
|
37
|
+
company_id: any;
|
|
38
|
+
company_ids: any;
|
|
39
|
+
is_system: boolean;
|
|
31
40
|
};
|
|
32
41
|
fieldsExtend: {
|
|
33
42
|
label: {
|
|
43
|
+
group: string;
|
|
34
44
|
is_wide: boolean;
|
|
35
45
|
};
|
|
36
46
|
name: {
|
|
@@ -80,10 +90,21 @@ export function getCopyListviewButtonSchema(): {
|
|
|
80
90
|
};
|
|
81
91
|
};
|
|
82
92
|
shared: {
|
|
93
|
+
group: string;
|
|
83
94
|
amis: {
|
|
84
95
|
visibleOn: string;
|
|
85
96
|
};
|
|
86
97
|
};
|
|
98
|
+
shared_to: {
|
|
99
|
+
group: string;
|
|
100
|
+
amis: {
|
|
101
|
+
type: string;
|
|
102
|
+
inline: boolean;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
shared_to_organizations: {
|
|
106
|
+
group: string;
|
|
107
|
+
};
|
|
87
108
|
filters: {
|
|
88
109
|
group: string;
|
|
89
110
|
amis: {
|
|
@@ -27,10 +27,11 @@ export function getSetListviewFiltersButtonSchema(): {
|
|
|
27
27
|
apiRequestAdaptor: string;
|
|
28
28
|
fieldsExtend: {
|
|
29
29
|
filters: {
|
|
30
|
+
label: string;
|
|
31
|
+
group: string;
|
|
30
32
|
visible_on: string;
|
|
31
33
|
amis: {
|
|
32
34
|
type: string;
|
|
33
|
-
label: string;
|
|
34
35
|
source: {
|
|
35
36
|
method: string;
|
|
36
37
|
url: string;
|
|
@@ -22,6 +22,7 @@ export function getNewListviewButtonSchema(): {
|
|
|
22
22
|
objectApiName: string;
|
|
23
23
|
recordId: string;
|
|
24
24
|
mode: string;
|
|
25
|
+
layout: string;
|
|
25
26
|
defaultData: {
|
|
26
27
|
"&": string;
|
|
27
28
|
name: string;
|
|
@@ -29,10 +30,19 @@ export function getNewListviewButtonSchema(): {
|
|
|
29
30
|
filters: string;
|
|
30
31
|
shared: boolean;
|
|
31
32
|
object_name: string;
|
|
33
|
+
_id: string;
|
|
34
|
+
shared_to: any;
|
|
35
|
+
shared_to_organizations: any;
|
|
36
|
+
locked: boolean;
|
|
37
|
+
owner: any;
|
|
38
|
+
company_id: any;
|
|
39
|
+
company_ids: any;
|
|
40
|
+
is_system: boolean;
|
|
32
41
|
};
|
|
33
42
|
fieldsExtend: {
|
|
34
43
|
group: string;
|
|
35
44
|
label: {
|
|
45
|
+
group: string;
|
|
36
46
|
is_wide: boolean;
|
|
37
47
|
};
|
|
38
48
|
name: {
|
|
@@ -117,6 +127,16 @@ export function getNewListviewButtonSchema(): {
|
|
|
117
127
|
visibleOn: string;
|
|
118
128
|
};
|
|
119
129
|
};
|
|
130
|
+
shared_to: {
|
|
131
|
+
group: string;
|
|
132
|
+
amis: {
|
|
133
|
+
type: string;
|
|
134
|
+
inline: boolean;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
shared_to_organizations: {
|
|
138
|
+
group: string;
|
|
139
|
+
};
|
|
120
140
|
filters: {
|
|
121
141
|
group: string;
|
|
122
142
|
amis: {
|
|
@@ -11,6 +11,8 @@ export function getSetListviewShareButtonSchema(): {
|
|
|
11
11
|
title: string;
|
|
12
12
|
data: {
|
|
13
13
|
recordId: string;
|
|
14
|
+
appId: string;
|
|
15
|
+
global: string;
|
|
14
16
|
context: string;
|
|
15
17
|
};
|
|
16
18
|
body: {
|
|
@@ -19,7 +21,20 @@ export function getSetListviewShareButtonSchema(): {
|
|
|
19
21
|
objectApiName: string;
|
|
20
22
|
recordId: string;
|
|
21
23
|
mode: string;
|
|
24
|
+
layout: string;
|
|
22
25
|
fields: string[];
|
|
26
|
+
fieldsExtend: {
|
|
27
|
+
shared_to: {
|
|
28
|
+
group: string;
|
|
29
|
+
amis: {
|
|
30
|
+
type: string;
|
|
31
|
+
inline: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
shared_to_organizations: {
|
|
35
|
+
group: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
23
38
|
}[];
|
|
24
39
|
showCloseButton: boolean;
|
|
25
40
|
showErrorMsg: boolean;
|
|
@@ -31,6 +31,7 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
31
31
|
objectApiName: string;
|
|
32
32
|
recordId: string;
|
|
33
33
|
mode: string;
|
|
34
|
+
layout: string;
|
|
34
35
|
defaultData: {
|
|
35
36
|
"&": string;
|
|
36
37
|
name: string;
|
|
@@ -38,10 +39,19 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
38
39
|
filters: string;
|
|
39
40
|
shared: boolean;
|
|
40
41
|
object_name: string;
|
|
42
|
+
_id: string;
|
|
43
|
+
shared_to: any;
|
|
44
|
+
shared_to_organizations: any;
|
|
45
|
+
locked: boolean;
|
|
46
|
+
owner: any;
|
|
47
|
+
company_id: any;
|
|
48
|
+
company_ids: any;
|
|
49
|
+
is_system: boolean;
|
|
41
50
|
};
|
|
42
51
|
fieldsExtend: {
|
|
43
52
|
group: string;
|
|
44
53
|
label: {
|
|
54
|
+
group: string;
|
|
45
55
|
is_wide: boolean;
|
|
46
56
|
};
|
|
47
57
|
name: {
|
|
@@ -126,6 +136,16 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
126
136
|
visibleOn: string;
|
|
127
137
|
};
|
|
128
138
|
};
|
|
139
|
+
shared_to: {
|
|
140
|
+
group: string;
|
|
141
|
+
amis: {
|
|
142
|
+
type: string;
|
|
143
|
+
inline: boolean;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
shared_to_organizations: {
|
|
147
|
+
group: string;
|
|
148
|
+
};
|
|
129
149
|
filters: {
|
|
130
150
|
group: string;
|
|
131
151
|
amis: {
|
|
@@ -186,15 +206,25 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
186
206
|
objectApiName: string;
|
|
187
207
|
recordId: string;
|
|
188
208
|
mode: string;
|
|
209
|
+
layout: string;
|
|
189
210
|
defaultData: {
|
|
190
211
|
"&": string;
|
|
191
212
|
name: string;
|
|
192
213
|
label: string;
|
|
193
214
|
shared: boolean;
|
|
194
215
|
object_name: string;
|
|
216
|
+
_id: string;
|
|
217
|
+
shared_to: any;
|
|
218
|
+
shared_to_organizations: any;
|
|
219
|
+
locked: boolean;
|
|
220
|
+
owner: any;
|
|
221
|
+
company_id: any;
|
|
222
|
+
company_ids: any;
|
|
223
|
+
is_system: boolean;
|
|
195
224
|
};
|
|
196
225
|
fieldsExtend: {
|
|
197
226
|
label: {
|
|
227
|
+
group: string;
|
|
198
228
|
is_wide: boolean;
|
|
199
229
|
};
|
|
200
230
|
name: {
|
|
@@ -244,10 +274,21 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
244
274
|
};
|
|
245
275
|
};
|
|
246
276
|
shared: {
|
|
277
|
+
group: string;
|
|
247
278
|
amis: {
|
|
248
279
|
visibleOn: string;
|
|
249
280
|
};
|
|
250
281
|
};
|
|
282
|
+
shared_to: {
|
|
283
|
+
group: string;
|
|
284
|
+
amis: {
|
|
285
|
+
type: string;
|
|
286
|
+
inline: boolean;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
shared_to_organizations: {
|
|
290
|
+
group: string;
|
|
291
|
+
};
|
|
251
292
|
filters: {
|
|
252
293
|
group: string;
|
|
253
294
|
amis: {
|
|
@@ -302,6 +343,7 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
302
343
|
label: string;
|
|
303
344
|
objectApiName: string;
|
|
304
345
|
recordId: string;
|
|
346
|
+
layout: string;
|
|
305
347
|
mode: string;
|
|
306
348
|
fields: string[];
|
|
307
349
|
fieldsExtend: string;
|
|
@@ -340,6 +382,8 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
340
382
|
title: string;
|
|
341
383
|
data: {
|
|
342
384
|
recordId: string;
|
|
385
|
+
appId: string;
|
|
386
|
+
global: string;
|
|
343
387
|
context: string;
|
|
344
388
|
};
|
|
345
389
|
body: {
|
|
@@ -348,7 +392,20 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
348
392
|
objectApiName: string;
|
|
349
393
|
recordId: string;
|
|
350
394
|
mode: string;
|
|
395
|
+
layout: string;
|
|
351
396
|
fields: string[];
|
|
397
|
+
fieldsExtend: {
|
|
398
|
+
shared_to: {
|
|
399
|
+
group: string;
|
|
400
|
+
amis: {
|
|
401
|
+
type: string;
|
|
402
|
+
inline: boolean;
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
shared_to_organizations: {
|
|
406
|
+
group: string;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
352
409
|
}[];
|
|
353
410
|
showCloseButton: boolean;
|
|
354
411
|
showErrorMsg: boolean;
|
|
@@ -361,6 +418,76 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
361
418
|
}[];
|
|
362
419
|
};
|
|
363
420
|
};
|
|
421
|
+
} | {
|
|
422
|
+
type: string;
|
|
423
|
+
label: string;
|
|
424
|
+
disabledOn: string;
|
|
425
|
+
onEvent: {
|
|
426
|
+
click: {
|
|
427
|
+
weight: number;
|
|
428
|
+
actions: {
|
|
429
|
+
dialog: {
|
|
430
|
+
type: string;
|
|
431
|
+
title: string;
|
|
432
|
+
data: {
|
|
433
|
+
targetObjectName: string;
|
|
434
|
+
recordId: string;
|
|
435
|
+
listName: string;
|
|
436
|
+
appId: string;
|
|
437
|
+
context: string;
|
|
438
|
+
};
|
|
439
|
+
body: {
|
|
440
|
+
type: string;
|
|
441
|
+
label: string;
|
|
442
|
+
objectApiName: string;
|
|
443
|
+
recordId: string;
|
|
444
|
+
mode: string;
|
|
445
|
+
fields: string[];
|
|
446
|
+
initApiAdaptor: string;
|
|
447
|
+
apiRequestAdaptor: string;
|
|
448
|
+
fieldsExtend: {
|
|
449
|
+
filters: {
|
|
450
|
+
label: string;
|
|
451
|
+
group: string;
|
|
452
|
+
visible_on: string;
|
|
453
|
+
amis: {
|
|
454
|
+
type: string;
|
|
455
|
+
source: {
|
|
456
|
+
method: string;
|
|
457
|
+
url: string;
|
|
458
|
+
dataType: string;
|
|
459
|
+
headers: {
|
|
460
|
+
Authorization: string;
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
};
|
|
466
|
+
onEvent: {
|
|
467
|
+
submitSucc: {
|
|
468
|
+
weight: number;
|
|
469
|
+
actions: {
|
|
470
|
+
args: {
|
|
471
|
+
url: string;
|
|
472
|
+
blank: boolean;
|
|
473
|
+
};
|
|
474
|
+
actionType: string;
|
|
475
|
+
}[];
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
}[];
|
|
479
|
+
className: string;
|
|
480
|
+
showCloseButton: boolean;
|
|
481
|
+
showErrorMsg: boolean;
|
|
482
|
+
showLoading: boolean;
|
|
483
|
+
closeOnEsc: boolean;
|
|
484
|
+
dataMapSwitch: boolean;
|
|
485
|
+
size: string;
|
|
486
|
+
};
|
|
487
|
+
actionType: string;
|
|
488
|
+
}[];
|
|
489
|
+
};
|
|
490
|
+
};
|
|
364
491
|
} | {
|
|
365
492
|
type: string;
|
|
366
493
|
label: string;
|
|
@@ -386,6 +513,7 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
386
513
|
objectApiName: string;
|
|
387
514
|
recordId: string;
|
|
388
515
|
mode: string;
|
|
516
|
+
layout: string;
|
|
389
517
|
fieldsExtend: {
|
|
390
518
|
columns: {
|
|
391
519
|
amis: {
|
|
@@ -483,6 +611,8 @@ export function getSettingListviewToolbarButtonSchema(): {
|
|
|
483
611
|
};
|
|
484
612
|
fieldsExtend: {
|
|
485
613
|
sort: {
|
|
614
|
+
label: string;
|
|
615
|
+
group: string;
|
|
486
616
|
amis: {
|
|
487
617
|
type: string;
|
|
488
618
|
sortable: boolean;
|
|
@@ -7,3 +7,8 @@ export function getLookupListView(refObjectConfig: any): null;
|
|
|
7
7
|
* @returns 只返回前两位版本,第三位忽略,比如3.6.3返回3.6
|
|
8
8
|
*/
|
|
9
9
|
export function getComparableAmisVersion(): number;
|
|
10
|
+
/**
|
|
11
|
+
* 判断浏览器类型
|
|
12
|
+
* @returns 按需返回浏览器类型;
|
|
13
|
+
*/
|
|
14
|
+
export function getBowserType(): "Chrome" | "Safari" | "Firefox" | "Edge" | "Unknown browser";
|
|
@@ -2,19 +2,28 @@ export function getAmisInputTableSchema(props: any): Promise<{
|
|
|
2
2
|
type: string;
|
|
3
3
|
body: {
|
|
4
4
|
type: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
body: {
|
|
6
|
+
type: string;
|
|
7
|
+
mode: string;
|
|
8
|
+
name: any;
|
|
9
|
+
draggable: any;
|
|
10
|
+
showIndex: any;
|
|
11
|
+
perPage: any;
|
|
12
|
+
id: any;
|
|
13
|
+
columns: any;
|
|
14
|
+
strictMode: any;
|
|
15
|
+
showTableAddBtn: boolean;
|
|
16
|
+
showFooterAddBtn: boolean;
|
|
17
|
+
className: any;
|
|
18
|
+
pipeIn: (value: any, data: any) => any;
|
|
19
|
+
pipeOut: (value: any, data: any) => any;
|
|
20
|
+
}[];
|
|
21
|
+
id: string;
|
|
22
|
+
};
|
|
23
|
+
label: any;
|
|
24
|
+
labelClassName: any;
|
|
25
|
+
labelRemark: any;
|
|
26
|
+
labelAlign: any;
|
|
27
|
+
mode: any;
|
|
28
|
+
className: string;
|
|
20
29
|
}>;
|
|
@@ -23,23 +23,10 @@ export function getRecordDetailRelatedListSchema(objectName: any, recordId: any,
|
|
|
23
23
|
uiSchema: {};
|
|
24
24
|
amisSchema: {
|
|
25
25
|
type?: undefined;
|
|
26
|
-
body?: undefined;
|
|
27
|
-
level?: undefined;
|
|
28
|
-
showIcon?: undefined;
|
|
29
|
-
className?: undefined;
|
|
30
|
-
id?: undefined;
|
|
31
|
-
data?: undefined;
|
|
32
|
-
};
|
|
33
|
-
} | {
|
|
34
|
-
uiSchema: any;
|
|
35
|
-
amisSchema: {
|
|
36
|
-
type: string;
|
|
37
|
-
body: string;
|
|
38
|
-
level: string;
|
|
39
|
-
showIcon: boolean;
|
|
40
|
-
className: string;
|
|
41
26
|
id?: undefined;
|
|
27
|
+
className?: undefined;
|
|
42
28
|
data?: undefined;
|
|
29
|
+
body?: undefined;
|
|
43
30
|
};
|
|
44
31
|
} | {
|
|
45
32
|
uiSchema: any;
|
|
@@ -64,9 +51,10 @@ export function getRecordDetailRelatedListSchema(objectName: any, recordId: any,
|
|
|
64
51
|
requestAdaptor: any;
|
|
65
52
|
adaptor: string;
|
|
66
53
|
ctx: any;
|
|
54
|
+
crud: any;
|
|
55
|
+
crudDataFilter: any;
|
|
56
|
+
onCrudDataFilter: any;
|
|
67
57
|
}[];
|
|
68
|
-
level?: undefined;
|
|
69
|
-
showIcon?: undefined;
|
|
70
58
|
};
|
|
71
59
|
}>;
|
|
72
60
|
export function getRelatedListSchema(objectName: any, listViewName: any, ctx: any): Promise<{
|
|
@@ -86,6 +74,9 @@ export function getRelatedListSchema(objectName: any, listViewName: any, ctx: an
|
|
|
86
74
|
requestAdaptor: any;
|
|
87
75
|
adaptor: string;
|
|
88
76
|
ctx: any;
|
|
77
|
+
crud: any;
|
|
78
|
+
crudDataFilter: any;
|
|
79
|
+
onCrudDataFilter: any;
|
|
89
80
|
};
|
|
90
81
|
}>;
|
|
91
82
|
export function getObjectRelatedListsMiniSchema(objectApiName: any): Promise<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export namespace Router {
|
|
2
|
-
function getTabDisplayAs(tab_id: any): string;
|
|
3
|
-
function getTabDisplayAs(tab_id: any): string;
|
|
2
|
+
function getTabDisplayAs(tab_id: any, defaultEnableSplit: any): string;
|
|
3
|
+
function getTabDisplayAs(tab_id: any, defaultEnableSplit: any): string;
|
|
4
4
|
function setTabDisplayAs(tab_id: any, displayAs: any): void;
|
|
5
5
|
function setTabDisplayAs(tab_id: any, displayAs: any): void;
|
|
6
6
|
function getAppPath({ formFactor, appId }: {
|
|
@@ -35,9 +35,16 @@ export function getSchema(uiSchema: any): {
|
|
|
35
35
|
form: {
|
|
36
36
|
debug: boolean;
|
|
37
37
|
resetAfterSubmit: boolean;
|
|
38
|
+
data: {
|
|
39
|
+
editFormInited: boolean;
|
|
40
|
+
};
|
|
38
41
|
initApi: {
|
|
42
|
+
method: string;
|
|
39
43
|
url: string;
|
|
40
44
|
sendOn: string;
|
|
45
|
+
data: any;
|
|
46
|
+
requestAdaptor: string;
|
|
47
|
+
adaptor: string;
|
|
41
48
|
responseData: {
|
|
42
49
|
importState: string;
|
|
43
50
|
};
|
|
@@ -277,9 +277,16 @@ export namespace StandardButtons {
|
|
|
277
277
|
form: {
|
|
278
278
|
debug: boolean;
|
|
279
279
|
resetAfterSubmit: boolean;
|
|
280
|
+
data: {
|
|
281
|
+
editFormInited: boolean;
|
|
282
|
+
};
|
|
280
283
|
initApi: {
|
|
284
|
+
method: string;
|
|
281
285
|
url: string;
|
|
282
286
|
sendOn: string;
|
|
287
|
+
data: any;
|
|
288
|
+
requestAdaptor: string;
|
|
289
|
+
adaptor: string;
|
|
283
290
|
responseData: {
|
|
284
291
|
importState: string;
|
|
285
292
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.3-beta.1",
|
|
5
5
|
"unpkg": "./dist/index.umd.js",
|
|
6
6
|
"main": "./dist/index.cjs.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"react-i18next": "12.3.1"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "2a0790dd89d739b01b679d1f1cab3ac89c1169e9"
|
|
65
65
|
}
|