@steedos-widgets/amis-object 1.2.9-beta.1 → 1.2.10
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/amis/AmisGlobalHeader.d.ts +32 -1
- package/dist/amis/AmisObjectTable.d.ts +1 -0
- package/dist/amis/AmisRecordDetailHeader.d.ts +35 -2
- package/dist/amis-object.cjs.css +6 -9
- package/dist/amis-object.cjs.js +1281 -790
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +6 -9
- package/dist/amis-object.esm.js +1282 -791
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +6 -9
- package/dist/amis-object.umd.js +1281 -790
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +11 -11
- package/package.json +3 -3
|
@@ -10,6 +10,13 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
|
|
|
10
10
|
body: ({
|
|
11
11
|
type: string;
|
|
12
12
|
className: string;
|
|
13
|
+
onEvent: {
|
|
14
|
+
"@history_paths.changed": {
|
|
15
|
+
actions: {
|
|
16
|
+
actionType: string;
|
|
17
|
+
}[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
13
20
|
body: ({
|
|
14
21
|
type: string;
|
|
15
22
|
className: string;
|
|
@@ -30,14 +37,37 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
|
|
|
30
37
|
id: string;
|
|
31
38
|
className: string;
|
|
32
39
|
}[];
|
|
40
|
+
visibleOn?: undefined;
|
|
41
|
+
tpl?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
type: string;
|
|
44
|
+
visibleOn: string;
|
|
45
|
+
className: string;
|
|
46
|
+
onEvent: {
|
|
47
|
+
click: {
|
|
48
|
+
actions: {
|
|
49
|
+
actionType: string;
|
|
50
|
+
script: string;
|
|
51
|
+
}[];
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
body: {
|
|
55
|
+
type: string;
|
|
56
|
+
category: string;
|
|
57
|
+
name: string;
|
|
58
|
+
colorVariant: string;
|
|
59
|
+
className: string;
|
|
60
|
+
}[];
|
|
61
|
+
hiddenOn?: undefined;
|
|
33
62
|
tpl?: undefined;
|
|
34
63
|
} | {
|
|
35
64
|
className: string;
|
|
36
65
|
type: string;
|
|
37
66
|
tpl: string;
|
|
38
|
-
hiddenOn
|
|
67
|
+
hiddenOn: string;
|
|
39
68
|
onEvent?: undefined;
|
|
40
69
|
body?: undefined;
|
|
70
|
+
visibleOn?: undefined;
|
|
41
71
|
})[];
|
|
42
72
|
label?: undefined;
|
|
43
73
|
logoutScript?: undefined;
|
|
@@ -78,6 +108,7 @@ export declare const AmisGlobalHeader: (props: any) => Promise<{
|
|
|
78
108
|
onEvent?: undefined;
|
|
79
109
|
body?: undefined;
|
|
80
110
|
})[];
|
|
111
|
+
onEvent?: undefined;
|
|
81
112
|
body?: undefined;
|
|
82
113
|
})[];
|
|
83
114
|
hiddenOn?: undefined;
|
|
@@ -18,11 +18,44 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
|
|
|
18
18
|
body: {
|
|
19
19
|
type: string;
|
|
20
20
|
columns: ({
|
|
21
|
-
body: {
|
|
21
|
+
body: ({
|
|
22
|
+
type: string;
|
|
23
|
+
onEvent: {
|
|
24
|
+
"@history_paths.changed": {
|
|
25
|
+
actions: {
|
|
26
|
+
actionType: string;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
body: {
|
|
31
|
+
type: string;
|
|
32
|
+
visibleOn: string;
|
|
33
|
+
className: string;
|
|
34
|
+
onEvent: {
|
|
35
|
+
click: {
|
|
36
|
+
actions: {
|
|
37
|
+
actionType: string;
|
|
38
|
+
script: string;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
body: {
|
|
43
|
+
type: string;
|
|
44
|
+
category: string;
|
|
45
|
+
name: string;
|
|
46
|
+
colorVariant: string;
|
|
47
|
+
className: string;
|
|
48
|
+
}[];
|
|
49
|
+
}[];
|
|
50
|
+
className?: undefined;
|
|
51
|
+
tpl?: undefined;
|
|
52
|
+
} | {
|
|
22
53
|
type: string;
|
|
23
54
|
className: string;
|
|
24
55
|
tpl: string;
|
|
25
|
-
|
|
56
|
+
onEvent?: undefined;
|
|
57
|
+
body?: undefined;
|
|
58
|
+
})[];
|
|
26
59
|
md: string;
|
|
27
60
|
className: string;
|
|
28
61
|
columnClassName: string;
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -393,6 +393,9 @@ body {
|
|
|
393
393
|
.-mb-4 {
|
|
394
394
|
margin-bottom: -1rem
|
|
395
395
|
}
|
|
396
|
+
.mr-4 {
|
|
397
|
+
margin-right: 1rem
|
|
398
|
+
}
|
|
396
399
|
.mr-2 {
|
|
397
400
|
margin-right: 0.5rem
|
|
398
401
|
}
|
|
@@ -408,9 +411,6 @@ body {
|
|
|
408
411
|
.ml-4 {
|
|
409
412
|
margin-left: 1rem
|
|
410
413
|
}
|
|
411
|
-
.mr-4 {
|
|
412
|
-
margin-right: 1rem
|
|
413
|
-
}
|
|
414
414
|
.-ml-px {
|
|
415
415
|
margin-left: -1px
|
|
416
416
|
}
|
|
@@ -510,12 +510,12 @@ body {
|
|
|
510
510
|
.w-14 {
|
|
511
511
|
width: 3.5rem
|
|
512
512
|
}
|
|
513
|
-
.w-6 {
|
|
514
|
-
width: 1.5rem
|
|
515
|
-
}
|
|
516
513
|
.w-4 {
|
|
517
514
|
width: 1rem
|
|
518
515
|
}
|
|
516
|
+
.w-6 {
|
|
517
|
+
width: 1.5rem
|
|
518
|
+
}
|
|
519
519
|
.w-20 {
|
|
520
520
|
width: 5rem
|
|
521
521
|
}
|
|
@@ -1133,9 +1133,6 @@ body {
|
|
|
1133
1133
|
right: 30px;
|
|
1134
1134
|
background: transparent;
|
|
1135
1135
|
}
|
|
1136
|
-
.antd-Table-toolbar .antd-Crud-loadMore .antd-Button.is-disabled {
|
|
1137
|
-
display: none;
|
|
1138
|
-
}
|
|
1139
1136
|
@media (max-width: 576px) {
|
|
1140
1137
|
.steedos-record-detail-related-lists .steedos-record-related-list .steedos-object-table .antd-Table-footToolbar {
|
|
1141
1138
|
display: none;
|