@steedos-widgets/amis-object 1.0.21 → 1.0.23
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/AmisInstanceDetail.d.ts +12 -3
- 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 +42 -12
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +42 -12
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +42 -12
- 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
|
@@ -10,7 +10,6 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
|
|
|
10
10
|
recordId: any;
|
|
11
11
|
id: string;
|
|
12
12
|
showRecordTitle: boolean;
|
|
13
|
-
recordLoaded: boolean;
|
|
14
13
|
className: string;
|
|
15
14
|
};
|
|
16
15
|
css: {
|
|
@@ -343,7 +342,7 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
|
|
|
343
342
|
minRows: number;
|
|
344
343
|
maxRows: number;
|
|
345
344
|
placeholder: string;
|
|
346
|
-
|
|
345
|
+
requiredOn: string;
|
|
347
346
|
})[];
|
|
348
347
|
onEvent: {
|
|
349
348
|
approve_judge_change: {
|
|
@@ -406,6 +405,10 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
|
|
|
406
405
|
url: string;
|
|
407
406
|
method: string;
|
|
408
407
|
dataType: string;
|
|
408
|
+
data: {
|
|
409
|
+
"&": string;
|
|
410
|
+
$scopeId: string;
|
|
411
|
+
};
|
|
409
412
|
headers: {
|
|
410
413
|
Authorization: string;
|
|
411
414
|
};
|
|
@@ -424,13 +427,19 @@ export declare const AmisInstanceDetail: (props: any) => Promise<{
|
|
|
424
427
|
componentId: string;
|
|
425
428
|
args: {
|
|
426
429
|
blank: boolean;
|
|
427
|
-
url:
|
|
430
|
+
url: any;
|
|
428
431
|
api?: undefined;
|
|
429
432
|
messages?: undefined;
|
|
430
433
|
};
|
|
431
434
|
actionType: string;
|
|
432
435
|
expression: string;
|
|
433
436
|
script?: undefined;
|
|
437
|
+
} | {
|
|
438
|
+
actionType: string;
|
|
439
|
+
expression: string;
|
|
440
|
+
componentId?: undefined;
|
|
441
|
+
args?: undefined;
|
|
442
|
+
script?: undefined;
|
|
434
443
|
})[];
|
|
435
444
|
};
|
|
436
445
|
};
|
|
@@ -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
|
}
|
|
@@ -332,6 +362,9 @@ body {
|
|
|
332
362
|
.h-5 {
|
|
333
363
|
height: 1.25rem
|
|
334
364
|
}
|
|
365
|
+
.h-6 {
|
|
366
|
+
height: 1.5rem
|
|
367
|
+
}
|
|
335
368
|
.h-4 {
|
|
336
369
|
height: 1rem
|
|
337
370
|
}
|
|
@@ -341,9 +374,6 @@ body {
|
|
|
341
374
|
.h-12 {
|
|
342
375
|
height: 3rem
|
|
343
376
|
}
|
|
344
|
-
.h-6 {
|
|
345
|
-
height: 1.5rem
|
|
346
|
-
}
|
|
347
377
|
.h-10 {
|
|
348
378
|
height: 2.5rem
|
|
349
379
|
}
|
|
@@ -368,6 +398,9 @@ body {
|
|
|
368
398
|
.w-14 {
|
|
369
399
|
width: 3.5rem
|
|
370
400
|
}
|
|
401
|
+
.w-6 {
|
|
402
|
+
width: 1.5rem
|
|
403
|
+
}
|
|
371
404
|
.w-4 {
|
|
372
405
|
width: 1rem
|
|
373
406
|
}
|
|
@@ -377,9 +410,6 @@ body {
|
|
|
377
410
|
.w-12 {
|
|
378
411
|
width: 3rem
|
|
379
412
|
}
|
|
380
|
-
.w-6 {
|
|
381
|
-
width: 1.5rem
|
|
382
|
-
}
|
|
383
413
|
.w-10 {
|
|
384
414
|
width: 2.5rem
|
|
385
415
|
}
|
|
@@ -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 {
|