@steedos-widgets/amis-object 1.0.17 → 1.0.19
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/AmisRecordDetailHeader.d.ts +39 -42
- package/dist/amis-object.cjs.css +63 -12
- package/dist/amis-object.cjs.js +1 -1
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +63 -12
- package/dist/amis-object.esm.js +1 -1
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +63 -12
- package/dist/amis-object.umd.js +1 -1
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets-dev.json +11 -11
- package/dist/assets.json +10 -10
- package/dist/meta.js +46 -15
- package/package.json +3 -3
|
@@ -13,56 +13,53 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
|
|
|
13
13
|
type: string;
|
|
14
14
|
body: {
|
|
15
15
|
type: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
columns: ({
|
|
23
|
-
body: {
|
|
24
|
-
type: string;
|
|
25
|
-
className: string;
|
|
26
|
-
tpl: string;
|
|
27
|
-
};
|
|
28
|
-
md: string;
|
|
16
|
+
columns: ({
|
|
17
|
+
body: {
|
|
18
|
+
type: string;
|
|
19
|
+
columns: ({
|
|
20
|
+
body: {
|
|
21
|
+
type: string;
|
|
29
22
|
className: string;
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
type: string;
|
|
34
|
-
tpl: string;
|
|
35
|
-
inline: boolean;
|
|
36
|
-
wrapperComponent: string;
|
|
37
|
-
className: string;
|
|
38
|
-
}[];
|
|
39
|
-
columnClassName: string;
|
|
40
|
-
md?: undefined;
|
|
41
|
-
className?: undefined;
|
|
42
|
-
})[];
|
|
23
|
+
tpl: string;
|
|
24
|
+
};
|
|
25
|
+
md: string;
|
|
43
26
|
className: string;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
body: {
|
|
48
|
-
type: string;
|
|
49
|
-
items: {
|
|
27
|
+
columnClassName: string;
|
|
28
|
+
} | {
|
|
29
|
+
body: {
|
|
50
30
|
type: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
31
|
+
tpl: string;
|
|
32
|
+
inline: boolean;
|
|
33
|
+
wrapperComponent: string;
|
|
54
34
|
className: string;
|
|
55
35
|
}[];
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
36
|
+
columnClassName: string;
|
|
37
|
+
md?: undefined;
|
|
38
|
+
className?: undefined;
|
|
39
|
+
})[];
|
|
40
|
+
className: string;
|
|
41
|
+
}[];
|
|
42
|
+
md: string;
|
|
43
|
+
hiddenOn?: undefined;
|
|
44
|
+
} | {
|
|
45
|
+
body: {
|
|
46
|
+
type: string;
|
|
47
|
+
items: {
|
|
48
|
+
type: string;
|
|
49
|
+
name: any;
|
|
50
|
+
objectName: any;
|
|
51
|
+
visibleOn: any;
|
|
52
|
+
className: string;
|
|
53
|
+
}[];
|
|
54
|
+
};
|
|
55
|
+
md: string;
|
|
56
|
+
hiddenOn: string;
|
|
57
|
+
})[];
|
|
58
|
+
className: string;
|
|
62
59
|
}[];
|
|
63
60
|
messages: {};
|
|
64
|
-
hiddenOn: string;
|
|
65
61
|
}[];
|
|
62
|
+
className: string;
|
|
66
63
|
} & {
|
|
67
64
|
onEvent: any;
|
|
68
65
|
}>;
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
--Form-item-fontSize: 12px;
|
|
5
5
|
--Form-fontSize: 14px;
|
|
6
6
|
--Form-selectValue-fontSize: 14px;
|
|
7
|
+
--Form-item-gap: 0.75rem;
|
|
7
8
|
--Table-borderColor: #e5e7eb;
|
|
8
9
|
--Table-borderWidth: 1px;
|
|
9
10
|
--Table-fontSize: 13px;
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
--button-enhance-default-bg-color: white;
|
|
40
41
|
--Nav-item-borderRadius: 0px;
|
|
41
42
|
--Nav-item-onHover-bg: rgba(21,137,238,.1);
|
|
42
|
-
--Nav-item-onActive-bg: rgba(
|
|
43
|
+
--Nav-item-onActive-bg: rgba(21,137,238,.1);
|
|
43
44
|
--Nav-item-onActive-color: #000;
|
|
44
45
|
--Crud-toolbar-gap: 2px;
|
|
45
46
|
}
|
|
@@ -234,6 +235,10 @@ body {
|
|
|
234
235
|
.m-2 {
|
|
235
236
|
margin: 0.5rem
|
|
236
237
|
}
|
|
238
|
+
.my-2 {
|
|
239
|
+
margin-top: 0.5rem;
|
|
240
|
+
margin-bottom: 0.5rem
|
|
241
|
+
}
|
|
237
242
|
.mb-4 {
|
|
238
243
|
margin-bottom: 1rem
|
|
239
244
|
}
|
|
@@ -354,6 +359,9 @@ body {
|
|
|
354
359
|
.min-w-\[300px\] {
|
|
355
360
|
min-width: 300px
|
|
356
361
|
}
|
|
362
|
+
.max-w-md {
|
|
363
|
+
max-width: 28rem
|
|
364
|
+
}
|
|
357
365
|
.flex-none {
|
|
358
366
|
flex: none
|
|
359
367
|
}
|
|
@@ -523,9 +531,6 @@ body {
|
|
|
523
531
|
.text-base {
|
|
524
532
|
font-size: 14px
|
|
525
533
|
}
|
|
526
|
-
.text-sm {
|
|
527
|
-
font-size: 12px
|
|
528
|
-
}
|
|
529
534
|
.text-\[15px\] {
|
|
530
535
|
font-size: 15px
|
|
531
536
|
}
|
|
@@ -555,10 +560,6 @@ body {
|
|
|
555
560
|
--tw-text-opacity: 1;
|
|
556
561
|
color: rgb(0 0 0 / var(--tw-text-opacity))
|
|
557
562
|
}
|
|
558
|
-
.text-indigo-600 {
|
|
559
|
-
--tw-text-opacity: 1;
|
|
560
|
-
color: rgb(79 70 229 / var(--tw-text-opacity))
|
|
561
|
-
}
|
|
562
563
|
.text-blue-600 {
|
|
563
564
|
--tw-text-opacity: 1;
|
|
564
565
|
color: rgb(37 99 235 / var(--tw-text-opacity))
|
|
@@ -622,13 +623,13 @@ body {
|
|
|
622
623
|
.sm\:border {
|
|
623
624
|
border-width: 1px
|
|
624
625
|
}
|
|
626
|
+
.sm\:border-gray-300 {
|
|
627
|
+
--tw-border-opacity: 1;
|
|
628
|
+
border-color: rgb(209 213 219 / var(--tw-border-opacity))
|
|
629
|
+
}
|
|
625
630
|
.sm\:p-0 {
|
|
626
631
|
padding: 0px
|
|
627
632
|
}
|
|
628
|
-
.sm\:px-6 {
|
|
629
|
-
padding-left: 1.5rem;
|
|
630
|
-
padding-right: 1.5rem
|
|
631
|
-
}
|
|
632
633
|
.sm\:shadow {
|
|
633
634
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
634
635
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
@@ -701,6 +702,34 @@ body {
|
|
|
701
702
|
text-overflow: ellipsis;
|
|
702
703
|
}
|
|
703
704
|
@media (max-width: 576px) {
|
|
705
|
+
.steedos-listview .antd-Table-content table.antd-Table-table {
|
|
706
|
+
display: block;
|
|
707
|
+
}
|
|
708
|
+
.steedos-listview .antd-Table-content table.antd-Table-table thead,
|
|
709
|
+
.steedos-listview .antd-Table-content table.antd-Table-table tbody,
|
|
710
|
+
.steedos-listview .antd-Table-content table.antd-Table-table tr,
|
|
711
|
+
.steedos-listview .antd-Table-content table.antd-Table-table th,
|
|
712
|
+
.steedos-listview .antd-Table-content table.antd-Table-table td {
|
|
713
|
+
display: block;
|
|
714
|
+
}
|
|
715
|
+
.steedos-listview .antd-Table-content table.antd-Table-table thead {
|
|
716
|
+
display: none;
|
|
717
|
+
}
|
|
718
|
+
.steedos-listview .steedos-listview-item .steedos-listview-item-right {
|
|
719
|
+
max-width: 50%;
|
|
720
|
+
}
|
|
721
|
+
.steedos-listview .antd-Table-toolbar {
|
|
722
|
+
position: relative;
|
|
723
|
+
}
|
|
724
|
+
.steedos-listview .antd-Table-toolbar .antd-Crud-loadMore .antd-Button {
|
|
725
|
+
position: absolute;
|
|
726
|
+
bottom: -10px;
|
|
727
|
+
left: 30px;
|
|
728
|
+
right: 30px;
|
|
729
|
+
}
|
|
730
|
+
.steedos-listview .antd-Table-toolbar .antd-Crud-loadMore .antd-Button.is-disabled {
|
|
731
|
+
display: none;
|
|
732
|
+
}
|
|
704
733
|
.antd-Crud-toolbar {
|
|
705
734
|
flex-basis: 0;
|
|
706
735
|
flex-grow: 1;
|
|
@@ -746,6 +775,13 @@ body {
|
|
|
746
775
|
margin-bottom: 0;
|
|
747
776
|
}
|
|
748
777
|
}
|
|
778
|
+
.steedos-amis-form .antd-ComboControl .antd-Combo .antd-Form-row {
|
|
779
|
+
display: grid;
|
|
780
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
781
|
+
row-gap: 0rem;
|
|
782
|
+
-moz-column-gap: 1rem;
|
|
783
|
+
column-gap: 1rem;
|
|
784
|
+
}
|
|
749
785
|
|
|
750
786
|
.steedos-context-bar .antd-Nav-list {
|
|
751
787
|
border-bottom: 0px;
|
|
@@ -803,4 +839,19 @@ body.sidebar.sidebar-open #main {
|
|
|
803
839
|
body.sidebar.sidebar-open #main {
|
|
804
840
|
padding-left: 0;
|
|
805
841
|
}
|
|
842
|
+
.sidebar-overlay {
|
|
843
|
+
display: none;
|
|
844
|
+
}
|
|
845
|
+
body.sidebar.sidebar-open .sidebar-overlay {
|
|
846
|
+
display: block;
|
|
847
|
+
transition: ease-out opacity 0.2s;
|
|
848
|
+
position: fixed;
|
|
849
|
+
top: 50px;
|
|
850
|
+
right: 0;
|
|
851
|
+
bottom: 0;
|
|
852
|
+
left: 0;
|
|
853
|
+
z-index: 1;
|
|
854
|
+
background: rgba(0, 0, 0, 0.6);
|
|
855
|
+
opacity: 1;
|
|
856
|
+
}
|
|
806
857
|
}
|