@steedos-widgets/amis-object 1.0.21 → 1.0.22
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/AmisRecordDetail.d.ts +17 -23
- package/dist/amis/AmisRecordDetailRelatedList.d.ts +2 -0
- package/dist/amis/AmisRecordDetailRelatedLists.d.ts +0 -1
- package/dist/amis-object.cjs.css +36 -6
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +36 -6
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +36 -6
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +10 -10
- package/dist/meta.js +2 -4
- package/package.json +3 -3
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
export declare const AmisRecordDetail: (props: any) => Promise<{
|
|
2
2
|
type: string;
|
|
3
3
|
body: ({
|
|
4
|
+
type: string;
|
|
5
|
+
className: string;
|
|
6
|
+
tabs: {
|
|
7
|
+
title: string;
|
|
8
|
+
className: string;
|
|
9
|
+
body: {
|
|
10
|
+
type: string;
|
|
11
|
+
label: string;
|
|
12
|
+
objectApiName: string;
|
|
13
|
+
recordId: string;
|
|
14
|
+
id: string;
|
|
15
|
+
appId: any;
|
|
16
|
+
}[];
|
|
17
|
+
id: string;
|
|
18
|
+
}[];
|
|
19
|
+
id: string;
|
|
20
|
+
} | {
|
|
4
21
|
type: string;
|
|
5
22
|
label: string;
|
|
6
23
|
objectApiName: string;
|
|
@@ -18,29 +35,6 @@ export declare const AmisRecordDetail: (props: any) => Promise<{
|
|
|
18
35
|
}[];
|
|
19
36
|
};
|
|
20
37
|
};
|
|
21
|
-
className?: undefined;
|
|
22
|
-
tabs?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
type: string;
|
|
25
|
-
className: string;
|
|
26
|
-
tabs: {
|
|
27
|
-
title: string;
|
|
28
|
-
className: string;
|
|
29
|
-
body: {
|
|
30
|
-
type: string;
|
|
31
|
-
label: string;
|
|
32
|
-
objectApiName: string;
|
|
33
|
-
recordId: string;
|
|
34
|
-
id: string;
|
|
35
|
-
appId: any;
|
|
36
|
-
}[];
|
|
37
|
-
id: string;
|
|
38
|
-
}[];
|
|
39
|
-
id: string;
|
|
40
|
-
label?: undefined;
|
|
41
|
-
objectApiName?: undefined;
|
|
42
|
-
recordId?: undefined;
|
|
43
|
-
onEvent?: undefined;
|
|
44
38
|
})[];
|
|
45
39
|
} & {
|
|
46
40
|
onEvent: any;
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -42,9 +42,10 @@
|
|
|
42
42
|
--Nav-item-onHover-bg: rgba(21,137,238,.1);
|
|
43
43
|
--Nav-item-onActive-bg: rgba(21,137,238,.1);
|
|
44
44
|
--Nav-item-onActive-color: #000;
|
|
45
|
+
--Nav-Item-maxWidth--tabs: 200px;
|
|
45
46
|
--Crud-toolbar-gap: 2px;
|
|
46
47
|
--DropDown-caret-marginLeft: 0;
|
|
47
|
-
--
|
|
48
|
+
--Layout-light-backgroundColor: transparent;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
fieldset.antd-Collapse {
|
|
@@ -119,7 +120,7 @@ body {
|
|
|
119
120
|
|
|
120
121
|
|
|
121
122
|
@media only screen and (min-width: 768px) {
|
|
122
|
-
.
|
|
123
|
+
.antd-Modal .antd-Modal-content{
|
|
123
124
|
max-height: calc(100vh - 100px);
|
|
124
125
|
}
|
|
125
126
|
}
|
|
@@ -145,6 +146,35 @@ body {
|
|
|
145
146
|
top: 0px;
|
|
146
147
|
}
|
|
147
148
|
|
|
149
|
+
/* start: amis 2.7.2, component Nav */
|
|
150
|
+
:root {
|
|
151
|
+
--Nav-Item-height--horizontal: 2.5rem;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.antd-Nav-Menu-submenu-arrow > svg {
|
|
155
|
+
display: initial;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.antd-Nav-Menu-horizontal .antd-Nav-Menu-item.antd-Nav-Menu-item-selected:after {
|
|
159
|
+
height: 3px;
|
|
160
|
+
top: 0;
|
|
161
|
+
bottom: unset;
|
|
162
|
+
background: rgb(14 165 233);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.antd-Nav-Menu-light .antd-Nav-Menu-item.antd-Nav-Menu-item-selected {
|
|
166
|
+
background: rgba(21,137,238,.1);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.antd-Nav-Menu-item-selected .antd-Nav-Menu-item-label {
|
|
170
|
+
color: black !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.antd-Nav-Menu-horizontal > .antd-Nav-Menu-item-tooltip-wrap > .antd-Nav-Menu-item {
|
|
174
|
+
padding: 0 15px;
|
|
175
|
+
}
|
|
176
|
+
/* end: amis 2.7.2, component Nav */
|
|
177
|
+
|
|
148
178
|
.ant-dropdown-menu {
|
|
149
179
|
border: 1px solid #e5e5e5;
|
|
150
180
|
border-radius: 0.25rem;
|
|
@@ -254,6 +284,9 @@ body {
|
|
|
254
284
|
margin-top: 0.5rem;
|
|
255
285
|
margin-bottom: 0.5rem
|
|
256
286
|
}
|
|
287
|
+
.mb-3 {
|
|
288
|
+
margin-bottom: 0.75rem
|
|
289
|
+
}
|
|
257
290
|
.mb-4 {
|
|
258
291
|
margin-bottom: 1rem
|
|
259
292
|
}
|
|
@@ -290,9 +323,6 @@ body {
|
|
|
290
323
|
.mt-1 {
|
|
291
324
|
margin-top: 0.25rem
|
|
292
325
|
}
|
|
293
|
-
.mb-3 {
|
|
294
|
-
margin-bottom: 0.75rem
|
|
295
|
-
}
|
|
296
326
|
.\!mb-6 {
|
|
297
327
|
margin-bottom: 1.5rem !important
|
|
298
328
|
}
|
|
@@ -944,7 +974,7 @@ body.sidebar #sidebar {
|
|
|
944
974
|
margin-top: 50px;
|
|
945
975
|
}
|
|
946
976
|
body.sidebar.sidebar-open #main {
|
|
947
|
-
|
|
977
|
+
margin-left: 220px;
|
|
948
978
|
}
|
|
949
979
|
@media (max-width: 768px) {
|
|
950
980
|
body.sidebar.sidebar-open #sidebar {
|