@steedos-widgets/amis-lib 6.10.1-beta.33 → 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 +157 -93
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +157 -93
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +54 -52
- package/dist/index.umd.js.map +1 -1
- package/dist/types/lib/converter/amis/header.d.ts +32 -0
- package/dist/types/lib/objectsRelated.d.ts +3 -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/approve.d.ts +1 -1
- package/dist/types/workflow/attachment.d.ts +1 -5
- package/dist/types/workflow/flow.d.ts +26 -27
- package/dist/types/workflow/instance.d.ts +1 -4
- package/dist/types/workflow/related.d.ts +1 -5
- 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: ({
|
|
@@ -10,7 +10,7 @@ export function getApprovalDrawerSchema(instance: any): Promise<{
|
|
|
10
10
|
headerClassName: string;
|
|
11
11
|
bodyClassName: string;
|
|
12
12
|
footerClassName: string;
|
|
13
|
-
drawerContainer: () =>
|
|
13
|
+
drawerContainer: () => HTMLElement;
|
|
14
14
|
body: {
|
|
15
15
|
type: string;
|
|
16
16
|
debug: boolean;
|
|
@@ -3,6 +3,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
3
3
|
name: string;
|
|
4
4
|
className: string;
|
|
5
5
|
bodyClassName: string;
|
|
6
|
+
headerClassName: string;
|
|
6
7
|
title: {
|
|
7
8
|
type: string;
|
|
8
9
|
label: string;
|
|
@@ -25,6 +26,25 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
25
26
|
"font-size": string;
|
|
26
27
|
"font-weight": string;
|
|
27
28
|
};
|
|
29
|
+
".steedos-object-record-detail-header .antd-Grid-col--mdAuto": {
|
|
30
|
+
padding: string;
|
|
31
|
+
};
|
|
32
|
+
".steedos-amis-instance-view .antd-Page-body": {
|
|
33
|
+
width: string;
|
|
34
|
+
};
|
|
35
|
+
".antd-List-placeholder": {
|
|
36
|
+
display: string;
|
|
37
|
+
};
|
|
38
|
+
".steedos-amis-instance-view .antd-Table-fixedTop:after": {
|
|
39
|
+
"box-shadow": string;
|
|
40
|
+
};
|
|
41
|
+
".antd-List-items": {
|
|
42
|
+
border: string;
|
|
43
|
+
};
|
|
44
|
+
".antd-ListItem": {
|
|
45
|
+
"border-top": string;
|
|
46
|
+
background: string;
|
|
47
|
+
};
|
|
28
48
|
};
|
|
29
49
|
body: ({
|
|
30
50
|
type: string;
|
|
@@ -125,11 +145,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
125
145
|
inline: boolean;
|
|
126
146
|
tpl: string;
|
|
127
147
|
}[];
|
|
128
|
-
actions:
|
|
129
|
-
icon: string;
|
|
130
|
-
type: string;
|
|
131
|
-
id: string;
|
|
132
|
-
}[];
|
|
148
|
+
actions: any[];
|
|
133
149
|
id: string;
|
|
134
150
|
};
|
|
135
151
|
id: string;
|
|
@@ -149,11 +165,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
149
165
|
inline: boolean;
|
|
150
166
|
tpl: string;
|
|
151
167
|
}[];
|
|
152
|
-
actions:
|
|
153
|
-
icon: string;
|
|
154
|
-
type: string;
|
|
155
|
-
id: string;
|
|
156
|
-
}[];
|
|
168
|
+
actions: any[];
|
|
157
169
|
id: string;
|
|
158
170
|
};
|
|
159
171
|
id: string;
|
|
@@ -207,7 +219,7 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
207
219
|
headerClassName: string;
|
|
208
220
|
bodyClassName: string;
|
|
209
221
|
footerClassName: string;
|
|
210
|
-
drawerContainer: () =>
|
|
222
|
+
drawerContainer: () => HTMLElement;
|
|
211
223
|
body: {
|
|
212
224
|
type: string;
|
|
213
225
|
debug: boolean;
|
|
@@ -559,31 +571,18 @@ export function getFlowFormSchema(instance: any, box: any): Promise<{
|
|
|
559
571
|
className: string;
|
|
560
572
|
trs: {
|
|
561
573
|
background: string;
|
|
562
|
-
tds:
|
|
574
|
+
tds: {
|
|
563
575
|
className: string;
|
|
564
576
|
background: string;
|
|
565
577
|
align: string;
|
|
566
578
|
width: string;
|
|
567
579
|
colspan: string;
|
|
568
|
-
body:
|
|
569
|
-
type: string;
|
|
570
|
-
tpl: string;
|
|
571
|
-
id: string;
|
|
572
|
-
}[];
|
|
580
|
+
body: any[];
|
|
573
581
|
id: string;
|
|
574
582
|
style: {
|
|
575
583
|
padding: string;
|
|
576
584
|
};
|
|
577
|
-
}
|
|
578
|
-
background: string;
|
|
579
|
-
colspan: number;
|
|
580
|
-
align: string;
|
|
581
|
-
className: string;
|
|
582
|
-
width: string;
|
|
583
|
-
body: any[];
|
|
584
|
-
id: string;
|
|
585
|
-
style?: undefined;
|
|
586
|
-
})[];
|
|
585
|
+
}[];
|
|
587
586
|
}[];
|
|
588
587
|
id: string;
|
|
589
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
|
}
|