@zat-design/sisyphus-react 3.2.1-beta.7 → 3.2.2-beta.1

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.
Files changed (32) hide show
  1. package/dist/index.esm.css +38 -32
  2. package/es/ProDrawerForm/style/index.less +59 -59
  3. package/es/ProForm/components/combination/FormList/style/index.less +15 -22
  4. package/es/ProForm/components/render/RenderFields.js +4 -3
  5. package/es/ProLayout/components/ProFooter/style/index.less +8 -7
  6. package/es/ProLayout/components/ProHeader/index.js +1 -0
  7. package/es/ProLayout/components/ProHeader/style/index.less +6 -0
  8. package/es/ProTabs/style/index.less +15 -16
  9. package/es/ProThemeTools/component/PrdTools/index.js +21 -20
  10. package/es/ProThemeTools/index.js +2 -1
  11. package/es/ProTree/components/Tree.js +42 -41
  12. package/es/locale/en_US.d.ts +14 -1
  13. package/es/locale/en_US.js +16 -3
  14. package/es/locale/zh_CN.d.ts +14 -1
  15. package/es/locale/zh_CN.js +14 -1
  16. package/es/style/theme/antd.less +122 -118
  17. package/lib/ProDrawerForm/style/index.less +59 -59
  18. package/lib/ProForm/components/combination/FormList/style/index.less +15 -22
  19. package/lib/ProForm/components/render/RenderFields.js +4 -3
  20. package/lib/ProLayout/components/ProFooter/style/index.less +8 -7
  21. package/lib/ProLayout/components/ProHeader/index.js +1 -0
  22. package/lib/ProLayout/components/ProHeader/style/index.less +6 -0
  23. package/lib/ProTabs/style/index.less +15 -16
  24. package/lib/ProThemeTools/component/PrdTools/index.js +21 -20
  25. package/lib/ProThemeTools/index.js +2 -1
  26. package/lib/ProTree/components/Tree.js +41 -40
  27. package/lib/locale/en_US.d.ts +14 -1
  28. package/lib/locale/en_US.js +16 -3
  29. package/lib/locale/zh_CN.d.ts +14 -1
  30. package/lib/locale/zh_CN.js +14 -1
  31. package/lib/style/theme/antd.less +122 -118
  32. package/package.json +1 -1
@@ -789,14 +789,14 @@
789
789
  }
790
790
  .pro-footer {
791
791
  position: fixed;
792
- bottom: 0;
793
792
  right: 0;
793
+ bottom: 0;
794
+ z-index: 101;
794
795
  width: 100%;
795
- padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
796
+ padding: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) var(--zaui-space-size-lg, 32px);
796
797
  background: var(--zaui-base-bg, #ffffff);
797
798
  -webkit-box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, 0.32);
798
799
  box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, 0.32);
799
- z-index: 101;
800
800
  }
801
801
  .back-button-container.ant-btn {
802
802
  color: var(--zaui-text);
@@ -819,6 +819,9 @@
819
819
  background-color: var(--zaui-base-bg, #ffffff);
820
820
  padding: 24px 0 0 0;
821
821
  }
822
+ .pro-header.pro-header-no-back.pro-header-has-describe .pro-header-top {
823
+ padding-left: var(--zaui-space-size-md, 16px);
824
+ }
822
825
  .pro-header.pro-header-no-back .pro-header-top {
823
826
  padding-left: 0;
824
827
  }
@@ -1533,7 +1536,7 @@
1533
1536
  }
1534
1537
  .pro-tabs .pro-tabs-card {
1535
1538
  width: 200px;
1536
- padding: 14px 16px 14px 24px;
1539
+ padding: calc(9px * var(--zaui-size, 1)) 16px calc(9px * var(--zaui-size, 1)) 24px;
1537
1540
  border: 1px solid var(--zaui-line, #dddddd);
1538
1541
  border-left: none;
1539
1542
  }
@@ -1542,14 +1545,14 @@
1542
1545
  text-shadow: none;
1543
1546
  }
1544
1547
  .pro-tabs .pro-tabs-card .pro-tabs-card-left .pro-tabs-card-left-total {
1545
- font-size: var(--zaui-font-size-lg-title, 24px);
1546
- font-weight: 600;
1547
1548
  color: var(--zaui-text, #343434);
1549
+ font-weight: 600;
1550
+ font-size: var(--zaui-font-size-lg-title, 24px);
1548
1551
  }
1549
1552
  .pro-tabs .pro-tabs-card .pro-tabs-card-left .pro-tabs-card-left-label {
1550
- font-size: var(--zaui-font-size, 14px);
1551
- font-weight: 400;
1552
1553
  color: var(--aui-text, #343434);
1554
+ font-weight: 400;
1555
+ font-size: var(--zaui-font-size, 14px);
1553
1556
  }
1554
1557
  .pro-tabs .pro-tabs-card .pro-tabs-card-right {
1555
1558
  display: -webkit-box;
@@ -1561,9 +1564,9 @@
1561
1564
  width: 48px;
1562
1565
  }
1563
1566
  .pro-tabs-tab .pro-tabs-card .ant-tag {
1564
- border-radius: 10px;
1565
- padding: 0 var(--zaui-space-size-xs, 4px);
1566
1567
  margin-right: 0;
1568
+ padding: 0 var(--zaui-space-size-xs, 4px);
1569
+ border-radius: 10px;
1567
1570
  }
1568
1571
  .pro-tabs-tab .pro-tabs-card .ant-space-item {
1569
1572
  display: -webkit-box;
@@ -1934,10 +1937,6 @@ div.pro-textarea-view::after {
1934
1937
  display: flex;
1935
1938
  padding-bottom: 0;
1936
1939
  }
1937
- .pro-form-list.pro-form-list-last .pro-form-list-drag-handle,
1938
- .pro-form-list.pro-form-list-last .ant-form-item {
1939
- margin-bottom: 0 !important;
1940
- }
1941
1940
  .pro-form-list .single-delete {
1942
1941
  width: 14px !important;
1943
1942
  height: 14px !important;
@@ -1975,6 +1974,7 @@ div.pro-textarea-view::after {
1975
1974
  }
1976
1975
  .pro-form-list-line {
1977
1976
  padding: var(--zaui-height-size-md, 16px);
1977
+ padding-bottom: 0;
1978
1978
  }
1979
1979
  .pro-form-list-line:hover {
1980
1980
  background: rgba(0, 0, 0, 0.018);
@@ -3796,7 +3796,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3796
3796
  fill: var(--zaui-aide-text, #909090);
3797
3797
  }
3798
3798
  .pro-drawer .pro-drawer-close .close-icon:hover {
3799
- fill: var(--zaui-brand-active, #005AD9);
3799
+ fill: var(--zaui-brand-active, #005ad9);
3800
3800
  }
3801
3801
  .pro-drawer .pro-drawer-close .close-icon > div {
3802
3802
  height: 20px;
@@ -3847,7 +3847,7 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3847
3847
  left: 0;
3848
3848
  z-index: 101;
3849
3849
  width: 100%;
3850
- padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
3850
+ padding: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) var(--zaui-space-size-lg, 32px);
3851
3851
  background-color: var(--zaui-global-bg, #fff);
3852
3852
  -webkit-box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3853
3853
  box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
@@ -3909,10 +3909,10 @@ span.ant-input-group-compact.pro-range-limit .forever-checkbox {
3909
3909
  z-index: 1;
3910
3910
  }
3911
3911
  .pro-modal-scrolling .ant-modal-header {
3912
- -webkit-box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3913
- box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3914
3912
  position: relative;
3915
3913
  z-index: 1;
3914
+ -webkit-box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3915
+ box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
3916
3916
  }
3917
3917
  .pro-modal-footer-shadow .ant-modal-footer {
3918
3918
  position: relative;
@@ -4912,11 +4912,11 @@ input[type='button'] {
4912
4912
  -webkit-flex: 0 0 var(--zaui-form-label-width, 130px);
4913
4913
  -ms-flex: 0 0 var(--zaui-form-label-width, 130px);
4914
4914
  flex: 0 0 var(--zaui-form-label-width, 130px);
4915
+ padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
4915
4916
  overflow: initial;
4916
4917
  line-height: 1;
4917
- text-align: var(--zaui-form-align, left);
4918
4918
  white-space: pre-wrap;
4919
- padding-right: calc(var(--zaui-space-size-sm, 8px) * var(--zaui-size, 1));
4919
+ text-align: var(--zaui-form-align, left);
4920
4920
  }
4921
4921
  .ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::after,
4922
4922
  .ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::after,
@@ -4931,8 +4931,8 @@ input[type='button'] {
4931
4931
  .ant-form .ant-form-item .ant-form-item-label > label::after,
4932
4932
  .ant-drawer .ant-form-item .ant-form-item-label > label::after,
4933
4933
  .ant-modal .ant-form-item .ant-form-item-label > label::after {
4934
- margin: 0;
4935
4934
  display: none;
4935
+ margin: 0;
4936
4936
  }
4937
4937
  .ant-form .ant-form-item .ant-form-item-label .ant-form-item-required::before,
4938
4938
  .ant-drawer .ant-form-item .ant-form-item-label .ant-form-item-required::before,
@@ -5065,6 +5065,12 @@ input[type='button'] {
5065
5065
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
5066
5066
  background: var(--zaui-table-strip-bg, #fafafa);
5067
5067
  }
5068
+ .ant-table table .ant-table-thead > tr > th,
5069
+ .ant-table table .ant-table-tbody > tr > td,
5070
+ .ant-table table .ant-table tfoot > tr > th,
5071
+ .ant-table table .ant-table tfoot > tr > td {
5072
+ padding: calc(5px + var(--zaui-size) * 8px) 16px;
5073
+ }
5068
5074
  .ant-table.ant-table-scroll-horizontal table .ant-table-thead > tr > th,
5069
5075
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody > tr > td,
5070
5076
  .ant-table.ant-table-scroll-horizontal table .ant-table tfoot > tr > th,
@@ -5096,31 +5102,31 @@ input[type='button'] {
5096
5102
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td,
5097
5103
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td.ant-table-cell-fix-right,
5098
5104
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td.ant-table-cell-fix-left {
5099
- background-color: #fff;
5105
+ background-color: #fff !important;
5100
5106
  }
5101
5107
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(even) td {
5102
5108
  background-color: #fff;
5103
5109
  }
5104
5110
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(odd) {
5105
- background-color: var(--zaui-table-strip-bg, #fafafa);
5111
+ background-color: var(--zaui-table-strip-bg, #fafafa) !important;
5106
5112
  }
5107
5113
  .ant-table.ant-table-scroll-horizontal table .ant-table-tbody .ant-table-row:nth-child(odd) td {
5108
- background-color: var(--zaui-table-strip-bg, #fafafa);
5114
+ background-color: var(--zaui-table-strip-bg, #fafafa) !important;
5109
5115
  }
5110
5116
  .ant-table .ant-table-cell .ant-btn-link {
5111
- padding: 0;
5112
5117
  height: auto;
5118
+ padding: 0;
5113
5119
  -webkit-user-select: text;
5114
5120
  -moz-user-select: text;
5115
5121
  -ms-user-select: text;
5116
5122
  user-select: text;
5117
5123
  }
5118
5124
  .ant-table .ant-table-cell a {
5125
+ color: var(--zaui-brand, #006aff);
5119
5126
  -webkit-user-select: text;
5120
5127
  -moz-user-select: text;
5121
5128
  -ms-user-select: text;
5122
5129
  user-select: text;
5123
- color: var(--zaui-brand, #006aFF);
5124
5130
  }
5125
5131
  .ant-table.ant-table-fixed-header .ant-table-tbody .ant-table-row:nth-child(even) td {
5126
5132
  background: #ffffff !important;
@@ -5136,13 +5142,13 @@ input[type='button'] {
5136
5142
  color: var(--zaui-text, #464646);
5137
5143
  }
5138
5144
  .ant-tabs .ant-tabs-nav-list.ant-tabs-card .ant-tabs-tab {
5139
- padding: 8px var(--zaui-space-size-md, 16px);
5140
5145
  margin-right: 10px;
5146
+ padding: 8px var(--zaui-space-size-md, 16px);
5141
5147
  }
5142
5148
  .ant-tabs .ant-tabs-nav-list .ant-tabs-tab {
5143
5149
  font-size: calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px));
5144
- padding: 12px var(--zaui-space-size-md, 16px);
5145
5150
  margin-left: 0;
5151
+ padding: 12px var(--zaui-space-size-md, 16px);
5146
5152
  }
5147
5153
  .ant-tabs .ant-tabs-nav {
5148
5154
  margin-bottom: calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1));
@@ -5151,8 +5157,8 @@ input[type='button'] {
5151
5157
  font-size: var(--zaui-font-size-lg, 16px);
5152
5158
  }
5153
5159
  .ant-tabs.ant-tabs-card .ant-tabs-tab {
5154
- padding: 8px calc(var(--zaui-space-size-md, 16px)*var(--zaui-size, 1)) !important;
5155
5160
  margin-right: 10px !important;
5161
+ padding: 8px calc(var(--zaui-space-size-md, 16px) * var(--zaui-size, 1)) !important;
5156
5162
  }
5157
5163
  .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-btn {
5158
5164
  font-size: var(--zaui-font-size, 14px);
@@ -5182,7 +5188,7 @@ input[type='button'] {
5182
5188
  .ant-btn.ant-btn-link[disabled]:hover,
5183
5189
  .ant-btn.ant-btn-link[disabled]:focus,
5184
5190
  .ant-btn.ant-btn-link[disabled]:active {
5185
- color: #BCBCBC;
5191
+ color: #bcbcbc;
5186
5192
  text-shadow: none;
5187
5193
  background: none;
5188
5194
  border-color: none;
@@ -5385,10 +5391,10 @@ input[type='button'] {
5385
5391
  position: absolute;
5386
5392
  right: 16px;
5387
5393
  bottom: 1px;
5388
- margin-bottom: 0;
5389
- background: #fff;
5390
5394
  width: calc(100% - 18px);
5395
+ margin-bottom: 0;
5391
5396
  text-align: right;
5397
+ background: #fff;
5392
5398
  }
5393
5399
  .ant-space.ant-space-vertical {
5394
5400
  display: -webkit-box;
@@ -1,82 +1,83 @@
1
1
  .pro-drawer {
2
2
  .pro-drawer-close {
3
- position : absolute;
4
- top : 6px;
5
- left : -34px;
6
- display : flex;
7
- align-items : center;
3
+ position: absolute;
4
+ top: 6px;
5
+ left: -34px;
6
+ display: flex;
7
+ align-items: center;
8
8
  justify-content: center;
9
- width : 32px;
10
- height : 38px;
11
- color : var(--zaui-global-bg, #fff);
12
- cursor : pointer;
9
+ width: 32px;
10
+ height: 38px;
11
+ color: var(--zaui-global-bg, #fff);
12
+ cursor: pointer;
13
13
 
14
14
  .close-icon {
15
- position : relative;
16
- left : 2px;
17
- z-index : 1;
15
+ position: relative;
16
+ left: 2px;
17
+ z-index: 1;
18
18
  font-size: var(--zaui-font-size-lg, 16px);
19
19
  transform: translateZ(100px);
20
- fill : var(--zaui-aide-text, #909090);
20
+ fill: var(--zaui-aide-text, #909090);
21
21
 
22
22
  &:hover {
23
- fill: var(--zaui-brand-active, #005AD9);
23
+ fill: var(--zaui-brand-active, #005ad9);
24
24
  }
25
25
 
26
- >div {
26
+ > div {
27
27
  height: 20px;
28
28
  }
29
29
  }
30
30
  }
31
31
 
32
32
  .pro-drawer-close::after {
33
- position : absolute;
34
- top : 0;
35
- right : 0;
36
- bottom : 0;
37
- left : 0;
33
+ position: absolute;
34
+ top: 0;
35
+ right: 0;
36
+ bottom: 0;
37
+ left: 0;
38
38
  background-color: var(--zaui-global-bg, #fff);
39
- border-radius : 4px 0px 0px 4px;
40
- transform : perspective(0.15em) rotateY(-2deg);
41
- content : '';
39
+ border-radius: 4px 0px 0px 4px;
40
+ transform: perspective(0.15em) rotateY(-2deg);
41
+ content: '';
42
42
  }
43
43
 
44
44
  .pro-drawer-title {
45
- position : absolute;
46
- top : 0;
47
- left : 0;
48
- width : 100%;
49
- height : 64px;
50
- padding : var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
51
- color : var(--zaui-text, #343434);
52
- font-weight : 600;
53
- font-size : var(--zaui-font-size-xxl, 20px);
45
+ position: absolute;
46
+ top: 0;
47
+ left: 0;
48
+ width: 100%;
49
+ height: 64px;
50
+ padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
51
+ color: var(--zaui-text, #343434);
52
+ font-weight: 600;
53
+ font-size: var(--zaui-font-size-xxl, 20px);
54
54
  background-color: var(--zaui-global-bg, #fff);
55
55
  }
56
56
 
57
57
  .pro-drawer-scrolling {
58
- z-index : 1;
58
+ z-index: 1;
59
59
  box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
60
60
  }
61
61
 
62
62
  .pro-drawer-content {
63
- flex : 1;
64
- width : 100%;
65
- padding : var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
63
+ flex: 1;
64
+ width: 100%;
65
+ padding: var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
66
66
  padding-top: 0;
67
- overflow-x : hidden;
68
- overflow-y : auto;
67
+ overflow-x: hidden;
68
+ overflow-y: auto;
69
69
  }
70
70
 
71
71
  .pro-drawer-footer {
72
- position : absolute;
73
- bottom : 0;
74
- left : 0;
75
- z-index : 101;
76
- width : 100%;
77
- padding : var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
72
+ position: absolute;
73
+ bottom: 0;
74
+ left: 0;
75
+ z-index: 101;
76
+ width: 100%;
77
+ padding: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
78
+ var(--zaui-space-size-lg, 32px);
78
79
  background-color: var(--zaui-global-bg, #fff);
79
- box-shadow : 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
80
+ box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
80
81
 
81
82
  button {
82
83
  margin-right: var(--zaui-space-size-sm, 8px);
@@ -88,8 +89,8 @@
88
89
  }
89
90
 
90
91
  .ant-drawer-body {
91
- height : 100vh;
92
- padding : 0;
92
+ height: 100vh;
93
+ padding: 0;
93
94
  overflow-y: hidden;
94
95
  }
95
96
 
@@ -116,7 +117,7 @@
116
117
  }
117
118
 
118
119
  .ant-modal-header {
119
- padding : var(--zaui-space-size-md, 16px);
120
+ padding: var(--zaui-space-size-md, 16px);
120
121
  border-bottom: none;
121
122
 
122
123
  .ant-modal-title {
@@ -125,30 +126,29 @@
125
126
  }
126
127
 
127
128
  .ant-modal-footer {
128
- padding : var(--zaui-space-size-md, 16px);
129
+ padding: var(--zaui-space-size-md, 16px);
129
130
  border-top: none;
130
131
 
131
132
  .pro-modal-footer {
132
- display : flex;
133
+ display: flex;
133
134
  justify-content: space-between;
134
135
  }
135
136
  }
136
137
 
137
138
  .ant-modal-content {
138
139
  .ant-modal-body {
139
- max-height : 450px;
140
- padding : 0 var(--zaui-space-size-md, 16px);
140
+ max-height: 450px;
141
+ padding: 0 var(--zaui-space-size-md, 16px);
141
142
  padding-top: 0;
142
- overflow : auto;
143
+ overflow: auto;
143
144
  }
144
145
  }
145
-
146
146
  }
147
147
 
148
148
  .pro-modal-no-footer {
149
149
  .ant-modal-content {
150
150
  .ant-modal-body {
151
- padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
151
+ padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
152
152
  }
153
153
  }
154
154
  }
@@ -157,16 +157,16 @@
157
157
  z-index: 1;
158
158
 
159
159
  .ant-modal-header {
160
+ position: relative;
161
+ z-index: 1;
160
162
  box-shadow: -12px 14px 14px -18px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
161
- position : relative;
162
- z-index : 1;
163
163
  }
164
164
  }
165
165
 
166
166
  .pro-modal-footer-shadow {
167
167
  .ant-modal-footer {
168
- position : relative;
169
- z-index : 1;
168
+ position: relative;
169
+ z-index: 1;
170
170
  box-shadow: 3px 2px 12px 0px var(--zaui-shadow, rgba(56, 56, 56, 0.15));
171
171
  }
172
172
  }
@@ -1,28 +1,20 @@
1
1
  .pro-form-list-block-title {
2
- height : 14px;
3
- margin : @zaui-space-size-xs 0;
2
+ height: 14px;
3
+ margin: @zaui-space-size-xs 0;
4
4
  padding-left: @zaui-space-size-sm;
5
- font-weight : 600;
6
- line-height : 14px;
7
- border-left : 4px solid @zaui-brand;
5
+ font-weight: 600;
6
+ line-height: 14px;
7
+ border-left: 4px solid @zaui-brand;
8
8
  }
9
9
 
10
10
  .pro-form-list {
11
- display : flex;
11
+ display: flex;
12
12
  padding-bottom: 0;
13
13
 
14
- &.pro-form-list-last {
15
-
16
- .pro-form-list-drag-handle,
17
- .ant-form-item {
18
- margin-bottom: 0 !important;
19
- }
20
- }
21
-
22
14
  .single-delete {
23
- width : 14px !important;
15
+ width: 14px !important;
24
16
  height: 14px !important;
25
- color : @zaui-placeholder;
17
+ color: @zaui-placeholder;
26
18
 
27
19
  &:hover {
28
20
  color: @zaui-aide-text;
@@ -36,24 +28,25 @@
36
28
  .pro-form-list-action {
37
29
  padding-bottom: var(--zaui-height-size-md, 16px);
38
30
 
39
- &>.ant-space-item:first-child>.ant-btn-link {
31
+ & > .ant-space-item:first-child > .ant-btn-link {
40
32
  margin-left: @zaui-space-size-sm;
41
33
  }
42
34
  }
43
35
 
44
36
  .pro-form-list-drag-handle {
45
- display : flex;
46
- align-items : center;
47
- height : 32px;
37
+ display: flex;
38
+ align-items: center;
39
+ height: 32px;
48
40
  margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
49
- padding : 0;
41
+ padding: 0;
50
42
  padding-right: @zaui-space-size-sm;
51
- border : none;
43
+ border: none;
52
44
  }
53
45
  }
54
46
 
55
47
  .pro-form-list-line {
56
48
  padding: var(--zaui-height-size-md, 16px);
49
+ padding-bottom: 0;
57
50
 
58
51
  &:hover {
59
52
  background: rgba(0, 0, 0, 0.018);
@@ -136,10 +136,11 @@ var RenderFields = function RenderFields(props) {
136
136
  if (isBoolean(formDisabled)) {
137
137
  _fieldProps.disabled = formDisabled;
138
138
  }
139
- var componentProps = _objectSpread(_objectSpread({}, _fieldProps), {}, {
140
- disabled: _disabled,
141
- placeholder: _placeholder,
139
+ var componentProps = _objectSpread(_objectSpread({
142
140
  disabledStrictly: true
141
+ }, _fieldProps), {}, {
142
+ disabled: _disabled,
143
+ placeholder: _placeholder
143
144
  });
144
145
  // switch与SwitchCheckbox单独添加valuePropName
145
146
  if (['Switch', 'SwitchCheckbox'].includes(_type)) {
@@ -1,10 +1,11 @@
1
1
  .pro-footer {
2
- position : fixed;
3
- bottom : 0;
4
- right : 0;
5
- width : 100%;
6
- padding : var(--zaui-space-size-md, 16px) var(--zaui-space-size-lg, 32px);
2
+ position: fixed;
3
+ right: 0;
4
+ bottom: 0;
5
+ z-index: 101;
6
+ width: 100%;
7
+ padding: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
8
+ var(--zaui-space-size-lg, 32px);
7
9
  background: var(--zaui-base-bg, #ffffff);
8
- box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, .32);
9
- z-index : 101;
10
+ box-shadow: 3px 2px 12px 0 hsla(0, 0%, 59.2%, 0.32);
10
11
  }
@@ -373,6 +373,7 @@ var ProHeader = function ProHeader(props) {
373
373
  'pro-header-fixed': fixedTop,
374
374
  'pro-header-shadow': showShadow,
375
375
  'pro-header-no-back': !backState,
376
+ 'pro-header-has-describe': !isEmpty(_subDescribeColumns) || !isEmpty(describeColumns) || !isEmpty(describeColumns),
376
377
  'pro-header-no-describe': isEmpty(_subDescribeColumns) && isEmpty(describeColumns) || isEmpty(describeColumns)
377
378
  }, "".concat(className), className));
378
379
  if (title && !isEmpty(_breadcrumbColumns)) {
@@ -4,6 +4,12 @@
4
4
  background-color: var(--zaui-base-bg, #ffffff);
5
5
  padding : 24px 0 0 0;
6
6
 
7
+ &.pro-header-no-back.pro-header-has-describe {
8
+ .pro-header-top {
9
+ padding-left: var(--zaui-space-size-md, 16px);
10
+ }
11
+ }
12
+
7
13
  &.pro-header-no-back {
8
14
  .pro-header-top {
9
15
  padding-left: 0;
@@ -3,14 +3,13 @@
3
3
  padding: 0 !important;
4
4
  }
5
5
 
6
- .ant-tabs-top>.ant-tabs-nav::before,
7
- .ant-tabs-bottom>.ant-tabs-nav::before,
8
- .ant-tabs-top>div>.ant-tabs-nav::before,
9
- .ant-tabs-bottom>div>.ant-tabs-nav::before {
6
+ .ant-tabs-top > .ant-tabs-nav::before,
7
+ .ant-tabs-bottom > .ant-tabs-nav::before,
8
+ .ant-tabs-top > div > .ant-tabs-nav::before,
9
+ .ant-tabs-bottom > div > .ant-tabs-nav::before {
10
10
  border: none;
11
11
  }
12
12
 
13
-
14
13
  .ant-tabs-nav-list {
15
14
  .ant-tabs-tab {
16
15
  &:first-child {
@@ -28,30 +27,30 @@
28
27
  }
29
28
 
30
29
  .ant-tabs-ink-bar {
31
- top : 0;
30
+ top: 0;
32
31
  height: 3px !important;
33
32
  }
34
33
 
35
34
  .pro-tabs-card {
36
- width : 200px;
37
- padding : 14px 16px 14px 24px;
38
- border : 1px solid var(--zaui-line, #dddddd);
35
+ width: 200px;
36
+ padding: calc(9px * var(--zaui-size; 1)) 16px calc(9px * var(--zaui-size; 1)) 24px;
37
+ border: 1px solid var(--zaui-line, #dddddd);
39
38
  border-left: none;
40
39
 
41
40
  .pro-tabs-card-left {
42
- width : 104px;
41
+ width: 104px;
43
42
  text-shadow: none;
44
43
 
45
44
  .pro-tabs-card-left-total {
46
- font-size : var(--zaui-font-size-lg-title, 24px);
45
+ color: var(--zaui-text, #343434);
47
46
  font-weight: 600;
48
- color : var(--zaui-text, #343434);
47
+ font-size: var(--zaui-font-size-lg-title, 24px);
49
48
  }
50
49
 
51
50
  .pro-tabs-card-left-label {
52
- font-size : var(--zaui-font-size, 14px);
51
+ color: var(--aui-text, #343434);
53
52
  font-weight: 400;
54
- color : var(--aui-text, #343434);
53
+ font-size: var(--zaui-font-size, 14px);
55
54
  }
56
55
  }
57
56
 
@@ -68,9 +67,9 @@
68
67
  .pro-tabs-tab {
69
68
  .pro-tabs-card {
70
69
  .ant-tag {
70
+ margin-right: 0;
71
+ padding: 0 var(--zaui-space-size-xs, 4px);
71
72
  border-radius: 10px;
72
- padding : 0 var(--zaui-space-size-xs, 4px);
73
- margin-right : 0;
74
73
  }
75
74
 
76
75
  .ant-space-item {