@steedos-widgets/amis-lib 6.10.1-beta.34 → 6.10.1-beta.35
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 +89 -62
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +89 -62
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +42 -39
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/header.d.ts +32 -0
- package/dist/types/schema/standard_edit.amis.d.ts +1 -0
- package/dist/types/schema/standard_new.amis.d.ts +1 -0
- package/dist/types/standard/button.d.ts +2 -0
- package/dist/types/workflow/flow.d.ts +3 -16
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -455,6 +471,7 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
455
471
|
size?: undefined;
|
|
456
472
|
hideCaret?: undefined;
|
|
457
473
|
closeOnClick?: undefined;
|
|
474
|
+
visibleOn?: undefined;
|
|
458
475
|
btnClassName?: undefined;
|
|
459
476
|
buttons?: undefined;
|
|
460
477
|
} | {
|
|
@@ -465,11 +482,26 @@ export function getObjectListHeader(objectSchema: any, listViewName: any, ctx: a
|
|
|
465
482
|
size: string;
|
|
466
483
|
hideCaret: boolean;
|
|
467
484
|
closeOnClick: boolean;
|
|
485
|
+
visibleOn: string;
|
|
468
486
|
btnClassName: string;
|
|
469
487
|
buttons: any[];
|
|
470
488
|
tpl?: undefined;
|
|
471
489
|
inline?: undefined;
|
|
472
490
|
wrapperComponent?: undefined;
|
|
491
|
+
} | {
|
|
492
|
+
type: string;
|
|
493
|
+
className: string;
|
|
494
|
+
tpl: string;
|
|
495
|
+
visibleOn: string;
|
|
496
|
+
inline?: undefined;
|
|
497
|
+
wrapperComponent?: undefined;
|
|
498
|
+
label?: undefined;
|
|
499
|
+
rightIcon?: undefined;
|
|
500
|
+
size?: undefined;
|
|
501
|
+
hideCaret?: undefined;
|
|
502
|
+
closeOnClick?: undefined;
|
|
503
|
+
btnClassName?: undefined;
|
|
504
|
+
buttons?: undefined;
|
|
473
505
|
})[];
|
|
474
506
|
md: string;
|
|
475
507
|
columnClassName: string;
|
|
@@ -49,6 +49,7 @@ export namespace StandardButtons {
|
|
|
49
49
|
isLookup: string;
|
|
50
50
|
listName: string;
|
|
51
51
|
selectedRowResponseResult: string;
|
|
52
|
+
_lookupObjectName: string;
|
|
52
53
|
};
|
|
53
54
|
title: string;
|
|
54
55
|
body: {
|
|
@@ -149,6 +150,7 @@ export namespace StandardButtons {
|
|
|
149
150
|
_master: string;
|
|
150
151
|
"_master._isRelated": string;
|
|
151
152
|
"_master.relatedKey": string;
|
|
153
|
+
_lookupObjectName: string;
|
|
152
154
|
};
|
|
153
155
|
size: string;
|
|
154
156
|
actions: ({
|
|
@@ -571,31 +571,18 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
571
571
|
className: string;
|
|
572
572
|
trs: {
|
|
573
573
|
background: string;
|
|
574
|
-
tds:
|
|
574
|
+
tds: {
|
|
575
575
|
className: string;
|
|
576
576
|
background: string;
|
|
577
577
|
align: string;
|
|
578
578
|
width: string;
|
|
579
579
|
colspan: string;
|
|
580
|
-
body:
|
|
581
|
-
type: string;
|
|
582
|
-
tpl: string;
|
|
583
|
-
id: string;
|
|
584
|
-
}[];
|
|
580
|
+
body: any[];
|
|
585
581
|
id: string;
|
|
586
582
|
style: {
|
|
587
583
|
padding: string;
|
|
588
584
|
};
|
|
589
|
-
}
|
|
590
|
-
background: string;
|
|
591
|
-
colspan: number;
|
|
592
|
-
align: string;
|
|
593
|
-
className: string;
|
|
594
|
-
width: string;
|
|
595
|
-
body: any[];
|
|
596
|
-
id: string;
|
|
597
|
-
style?: undefined;
|
|
598
|
-
})[];
|
|
585
|
+
}[];
|
|
599
586
|
}[];
|
|
600
587
|
id: string;
|
|
601
588
|
style: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos-widgets/amis-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.10.1-beta.
|
|
4
|
+
"version": "6.10.1-beta.35",
|
|
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": "871e9eb653699ec752e24b7e249ec7703cea46d8"
|
|
65
65
|
}
|