@steedos-widgets/amis-object 3.6.4-beta.1 → 3.6.4-beta.2
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/AmisInputTable.d.ts +4 -0
- package/dist/amis/AmisRecordDetailHeader.d.ts +24 -0
- package/dist/amis-object.cjs.css +63 -14
- package/dist/amis-object.cjs.js +273 -63
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +63 -14
- package/dist/amis-object.esm.js +274 -64
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +63 -14
- package/dist/amis-object.umd.js +106 -89
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/package.json +3 -3
|
@@ -42,10 +42,34 @@ export declare const AmisRecordDetailHeader: (props: any) => Promise<{
|
|
|
42
42
|
className: string;
|
|
43
43
|
}[];
|
|
44
44
|
}[];
|
|
45
|
+
} | {
|
|
46
|
+
type: string;
|
|
47
|
+
visibleOn: string;
|
|
48
|
+
className: string;
|
|
49
|
+
onEvent: {
|
|
50
|
+
click: {
|
|
51
|
+
actions: {
|
|
52
|
+
componentId: string;
|
|
53
|
+
args: {};
|
|
54
|
+
actionType: string;
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
body: {
|
|
59
|
+
type: string;
|
|
60
|
+
category: string;
|
|
61
|
+
name: string;
|
|
62
|
+
colorVariant: string;
|
|
63
|
+
className: string;
|
|
64
|
+
}[];
|
|
65
|
+
tpl?: undefined;
|
|
45
66
|
} | {
|
|
46
67
|
type: string;
|
|
47
68
|
className: string;
|
|
48
69
|
tpl: string;
|
|
70
|
+
visibleOn?: undefined;
|
|
71
|
+
onEvent?: undefined;
|
|
72
|
+
body?: undefined;
|
|
49
73
|
})[];
|
|
50
74
|
md: string;
|
|
51
75
|
className: string;
|
package/dist/amis-object.cjs.css
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--body-bg: #f9fafb;
|
|
3
|
+
--body-color: #181818;
|
|
4
|
+
--body-size: 14px;
|
|
3
5
|
--Page-main-bg: transparent;
|
|
4
6
|
--Form-mode-default-labelGap: 2px;
|
|
5
7
|
--Form-item-fontSize: 12px;
|
|
@@ -7,13 +9,15 @@
|
|
|
7
9
|
--Form-fontSize: 14px;
|
|
8
10
|
--Form-selectValue-fontSize: 14px;
|
|
9
11
|
--Form-item-gap: 0.75rem;
|
|
12
|
+
/* --Table-color: #303030; */
|
|
13
|
+
/* --Table-thead-color: #303030; */
|
|
10
14
|
--Table-borderColor: #e5e7eb;
|
|
11
15
|
--Table-borderWidth: 1px;
|
|
12
16
|
--Table-fontSize: 13px;
|
|
13
17
|
--Table-fixedRight-boxShadow: none;
|
|
14
18
|
--Table-thead-borderColor: rgb(209 213 219);
|
|
15
19
|
--Table-thead-fontSize: 13px;
|
|
16
|
-
--Table-thead-bg:
|
|
20
|
+
--Table-thead-bg: white;
|
|
17
21
|
--Table-thead-borderColor: var(--Table-borderColor);
|
|
18
22
|
--Table-toolbar-marginY: 0;
|
|
19
23
|
--Table-thead-borderWidth: 1px;
|
|
@@ -55,6 +59,30 @@
|
|
|
55
59
|
--Tabs-link-maxWidth: 180px;
|
|
56
60
|
--Tabs-content-bg: unset;
|
|
57
61
|
--drawer-content-paddingTop: 0;
|
|
62
|
+
--fieldSet-legend-fontWeight: 600;
|
|
63
|
+
--fieldSet-legend-marginTop: 1rem;
|
|
64
|
+
--fieldSet-legend-marginBottom: 1rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* 修正手机端字体小的问题 */
|
|
68
|
+
@media (max-width: 767px) {
|
|
69
|
+
|
|
70
|
+
:root {
|
|
71
|
+
--button-size-default-fontSize: var(--fontSizeLg);
|
|
72
|
+
--link-fontSize: var(--fontSizeLg);
|
|
73
|
+
--Table-fontSize: var(--fontSizeLg);
|
|
74
|
+
--Tabs--line-fontSize: var(--fontSizeLg);
|
|
75
|
+
--Tabs--line-active-fontSize: var(--fontSizeLg);
|
|
76
|
+
--Tabs--line-hover-fontSize: var(--fontSizeLg);
|
|
77
|
+
--fieldSet-legend-fontSize: var(--fontSizeLg);
|
|
78
|
+
--Pick-base-value-fontSize: var(--fontSizeLg);
|
|
79
|
+
--dialog-header-fontSize: var(--fontSizeLg);
|
|
80
|
+
--input-default-default-fontSize: var(--fontSizeLg);
|
|
81
|
+
}
|
|
82
|
+
.antd-Form .antd-Form-item input {
|
|
83
|
+
font-size: var(--fontSizeLg);
|
|
84
|
+
padding: 0 0.625rem 0 0.625rem;
|
|
85
|
+
}
|
|
58
86
|
}
|
|
59
87
|
|
|
60
88
|
.steedos-header-container .antd-Nav-Menu {
|
|
@@ -346,10 +374,6 @@ fieldset.antd-Collapse > legend{
|
|
|
346
374
|
}
|
|
347
375
|
/* === end === */
|
|
348
376
|
|
|
349
|
-
.steedos-record-related-crud {
|
|
350
|
-
--Table-thead-bg: white;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
377
|
.steedos-record-related-crud .antd-Table-table > thead > tr > th:not(:last-child) {
|
|
354
378
|
border-right: 0px;
|
|
355
379
|
}
|
|
@@ -358,6 +382,10 @@ fieldset.antd-Collapse > legend{
|
|
|
358
382
|
border-right: 0px;
|
|
359
383
|
}
|
|
360
384
|
|
|
385
|
+
.antd-Table-table > thead > tr > th {
|
|
386
|
+
font-weight: 600;
|
|
387
|
+
}
|
|
388
|
+
|
|
361
389
|
.antd-Table-footToolbar {
|
|
362
390
|
background: white;
|
|
363
391
|
}
|
|
@@ -379,6 +407,20 @@ fieldset.antd-Collapse > legend{
|
|
|
379
407
|
.antd-Tabs-linksWrapper {
|
|
380
408
|
border-right: var(--Table-borderWidth) solid var(--Table-borderColor)
|
|
381
409
|
}
|
|
410
|
+
|
|
411
|
+
.antd-Form-label {
|
|
412
|
+
font-weight: 600;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/* 修正lookup 字段显示没有上下居中的问题 */
|
|
416
|
+
.antd-Picker .antd-Picker-value {
|
|
417
|
+
margin-bottom: 0;
|
|
418
|
+
margin-top: 0;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.antd-Picker .antd-Picker-valueWrap {
|
|
422
|
+
margin-bottom: unset;
|
|
423
|
+
}
|
|
382
424
|
.ant-dropdown{
|
|
383
425
|
z-index: 1400;
|
|
384
426
|
}
|
|
@@ -716,6 +758,9 @@ fieldset.antd-Collapse > legend{
|
|
|
716
758
|
.max-h-\[80vh\] {
|
|
717
759
|
max-height: 80vh
|
|
718
760
|
}
|
|
761
|
+
.min-h-8 {
|
|
762
|
+
min-height: 2rem
|
|
763
|
+
}
|
|
719
764
|
.\!w-10 {
|
|
720
765
|
width: 2.5rem !important
|
|
721
766
|
}
|
|
@@ -918,9 +963,6 @@ fieldset.antd-Collapse > legend{
|
|
|
918
963
|
.border-r {
|
|
919
964
|
border-right-width: 1px
|
|
920
965
|
}
|
|
921
|
-
.border-t {
|
|
922
|
-
border-top-width: 1px
|
|
923
|
-
}
|
|
924
966
|
.border-solid {
|
|
925
967
|
border-style: solid
|
|
926
968
|
}
|
|
@@ -1123,6 +1165,10 @@ fieldset.antd-Collapse > legend{
|
|
|
1123
1165
|
--tw-text-opacity: 1;
|
|
1124
1166
|
color: rgb(37 99 235 / var(--tw-text-opacity))
|
|
1125
1167
|
}
|
|
1168
|
+
.text-gray-400 {
|
|
1169
|
+
--tw-text-opacity: 1;
|
|
1170
|
+
color: rgb(156 163 175 / var(--tw-text-opacity))
|
|
1171
|
+
}
|
|
1126
1172
|
.text-gray-500 {
|
|
1127
1173
|
--tw-text-opacity: 1;
|
|
1128
1174
|
color: rgb(107 114 128 / var(--tw-text-opacity))
|
|
@@ -1383,10 +1429,6 @@ fieldset.antd-Collapse > legend{
|
|
|
1383
1429
|
.ant-dropdown-menu-item .antd-Button--default:not(:disabled):not(.is-disabled):hover {
|
|
1384
1430
|
border-width: 0;
|
|
1385
1431
|
}
|
|
1386
|
-
.steedos-record-related-list .antd-Table-contentWrap {
|
|
1387
|
-
border-left-width: 1px;
|
|
1388
|
-
border-right-width: 1px;
|
|
1389
|
-
}
|
|
1390
1432
|
.steedos-record-related-list .antd-Table-headToolbar {
|
|
1391
1433
|
display: none;
|
|
1392
1434
|
}
|
|
@@ -1815,6 +1857,11 @@ body.steedos {
|
|
|
1815
1857
|
/*此样式可能造成ios17系统的iphone svg显示不出来,移除就好了*/
|
|
1816
1858
|
-webkit-overflow-scrolling: unset;
|
|
1817
1859
|
}
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
.steedos-record-detail-drawer .antd-Drawer-close{
|
|
1863
|
+
display: none !important;
|
|
1864
|
+
}
|
|
1818
1865
|
.steedos-listview .is-loading .antd-Table-contentWrap {
|
|
1819
1866
|
height: 50px;
|
|
1820
1867
|
}
|
|
@@ -1847,7 +1894,7 @@ body.steedos {
|
|
|
1847
1894
|
.steedos-amis-form .antd-Form--horizontal .antd-Tabs .antd-Tabs-content .antd-Tabs-pane .form-content {
|
|
1848
1895
|
display: grid;
|
|
1849
1896
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1850
|
-
row-gap: 0.
|
|
1897
|
+
row-gap: 0.75rem;
|
|
1851
1898
|
-moz-column-gap: 1rem;
|
|
1852
1899
|
column-gap: 1rem;
|
|
1853
1900
|
}
|
|
@@ -1867,7 +1914,7 @@ body.steedos {
|
|
|
1867
1914
|
.steedos-object-form .antd-Tabs-pane.is-active {
|
|
1868
1915
|
display: grid;
|
|
1869
1916
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1870
|
-
row-gap: 0.
|
|
1917
|
+
row-gap: 0.75rem;
|
|
1871
1918
|
-moz-column-gap: 1rem;
|
|
1872
1919
|
column-gap: 1rem;
|
|
1873
1920
|
}
|
|
@@ -1909,6 +1956,8 @@ body.steedos {
|
|
|
1909
1956
|
}
|
|
1910
1957
|
.steedos-amis-form.antd-Form .antd-Form-item > .antd-Form-label {
|
|
1911
1958
|
max-width: var(--Form-mode-default-width);
|
|
1959
|
+
/* 修正手机端字段label太长时会换行的问题 */
|
|
1960
|
+
width: auto;
|
|
1912
1961
|
}
|
|
1913
1962
|
.steedos-amis-form.antd-Form .antd-Select.is-mobile,
|
|
1914
1963
|
.steedos-amis-form.antd-Form .antd-DatePicker.is-mobile {
|