@zat-design/sisyphus-react 3.2.2 → 3.3.0-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/README.md +7 -0
- package/dist/index.esm.css +82 -37
- package/es/ProAction/index.less +3 -0
- package/es/ProDownload/index.js +9 -6
- package/es/ProDownload/style/index.less +5 -2
- package/es/ProDrawerForm/index.js +1 -15
- package/es/ProDrawerForm/style/index.less +76 -73
- package/es/ProEditLabel/style/index.less +12 -9
- package/es/ProEditTable/components/RenderField/index.js +6 -4
- package/es/ProEditTable/index.js +34 -20
- package/es/ProEditTable/style/index.less +57 -47
- package/es/ProEditTable/utils/config.d.ts +1 -1
- package/es/ProEditTable/utils/config.js +3 -3
- package/es/ProEnum/style/index.less +3 -0
- package/es/ProForm/components/base/DatePicker/index.d.ts +2 -2
- package/es/ProForm/components/base/DatePicker/index.js +5 -8
- package/es/ProForm/components/base/RangePicker/index.d.ts +3 -2
- package/es/ProForm/components/base/RangePicker/index.js +3 -5
- package/es/ProForm/components/base/SwitchCheckbox/style/index.less +3 -0
- package/es/ProForm/components/base/TextArea/index.less +4 -3
- package/es/ProForm/components/base/TimePicker/index.js +3 -3
- package/es/ProForm/components/base/TimePicker/style/index.less +4 -1
- package/es/ProForm/components/combination/Container/style/index.less +6 -3
- package/es/ProForm/components/combination/FormList/style/index.less +20 -24
- package/es/ProForm/components/combination/Group/style/index.less +18 -15
- package/es/ProForm/components/combination/ProAddressBar/style/index.less +6 -3
- package/es/ProForm/components/combination/ProCombination/style/index.less +5 -2
- package/es/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +6 -1
- package/es/ProForm/components/combination/ProModalSelect/index.js +22 -24
- package/es/ProForm/components/combination/ProModalSelect/style/index.less +32 -11
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +13 -10
- package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +2 -2
- package/es/ProForm/components/combination/ProRangeLimit/index.js +6 -6
- package/es/ProForm/components/combination/ProTimeLimit/hooks/useControlled.d.ts +2 -2
- package/es/ProForm/components/combination/ProTimeLimit/hooks/useControlled.js +2 -2
- package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +2 -2
- package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -4
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +9 -6
- package/es/ProForm/components/old/ProCertValidity/index.js +16 -16
- package/es/ProForm/components/old/ProCertValidity/propsType.d.ts +4 -4
- package/es/ProForm/components/render/RenderFields.js +4 -5
- package/es/ProForm/style/index.less +46 -44
- package/es/ProIcon/style/index.less +4 -1
- package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
- package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +10 -7
- package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +31 -28
- package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +14 -11
- package/es/ProLayout/components/Layout/Menu/style/index.less +2 -0
- package/es/ProLayout/components/Layout/Notice/style/index.less +3 -0
- package/es/ProLayout/components/ProCollapse/style/index.less +27 -24
- package/es/ProLayout/components/ProFooter/style/index.less +11 -7
- package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +4 -1
- package/es/ProLayout/components/ProHeader/index.js +4 -4
- package/es/ProLayout/components/ProHeader/style/index.less +12 -11
- package/es/ProLayout/style/index.less +10 -7
- package/es/ProSelect/index.less +3 -0
- package/es/ProStep/index.js +2 -2
- package/es/ProStep/style/index.less +3 -0
- package/es/ProTable/index.js +15 -7
- package/es/ProTable/style/index.less +76 -54
- package/es/ProTable/utils.d.ts +1 -1
- package/es/ProTable/utils.js +52 -33
- package/es/ProTabs/style/index.less +25 -23
- package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/es/ProThemeTools/component/PrdTools/index.js +7 -6
- package/es/ProThemeTools/component/PrdTools/style/index.less +6 -6
- package/es/ProThemeTools/index.d.ts +1 -1
- package/es/ProThemeTools/index.js +7 -2
- package/es/ProThemeTools/propsType.d.ts +4 -0
- package/es/ProThemeTools/style/index.less +6 -3
- package/es/ProThemeTools/utils/index.d.ts +1 -1
- package/es/ProThemeTools/utils/index.js +2 -1
- package/es/ProTooltip/style/index.less +3 -0
- package/es/ProTree/components/CloseIcon.js +2 -4
- package/es/ProTree/components/ProTree.js +27 -11
- package/es/ProTree/components/Tree.js +1 -1
- package/es/ProTree/propsType.d.ts +2 -2
- package/es/ProTree/style/index.less +29 -26
- package/es/ProTree/utils.d.ts +6 -0
- package/es/ProTree/utils.js +11 -0
- package/es/ProTreeModal/components/CloseIcon.js +2 -4
- package/es/ProTreeModal/components/Trigger.d.ts +3 -0
- package/es/ProTreeModal/components/Trigger.js +79 -19
- package/es/ProTreeModal/index.js +38 -6
- package/es/ProTreeModal/propsType.d.ts +5 -2
- package/es/ProTreeModal/style/index.less +11 -8
- package/es/ProTreeSelect/index.js +6 -4
- package/es/ProTreeSelect/propsType.d.ts +2 -0
- package/es/ProTreeSelect/style/index.less +25 -22
- package/es/ProUpload/components/DragRender.js +7 -4
- package/es/ProUpload/components/ImageRender.js +5 -1
- package/es/ProUpload/index.js +11 -7
- package/es/ProUpload/style/index.less +13 -4
- package/es/ProViewer/index.js +3 -1
- package/es/ProViewer/style/index.less +6 -3
- package/es/locale/en_US.d.ts +4 -0
- package/es/locale/en_US.js +5 -1
- package/es/locale/index.js +2 -2
- package/es/locale/zh_CN.d.ts +4 -0
- package/es/locale/zh_CN.js +6 -2
- package/es/old/ProCertValidity/index.js +16 -16
- package/es/old/ProCertValidity/propsType.d.ts +4 -4
- package/es/old/ProEditableTable/utils.d.ts +5 -5
- package/es/old/ProEditableTable/utils.js +5 -5
- package/es/style/core/compatible.less +6 -6
- package/es/style/theme/antd.less +272 -253
- package/lib/ProAction/index.less +3 -0
- package/lib/ProDownload/index.js +9 -6
- package/lib/ProDownload/style/index.less +5 -2
- package/lib/ProDrawerForm/index.js +0 -14
- package/lib/ProDrawerForm/style/index.less +76 -73
- package/lib/ProEditLabel/style/index.less +12 -9
- package/lib/ProEditTable/components/RenderField/index.js +6 -4
- package/lib/ProEditTable/index.js +32 -18
- package/lib/ProEditTable/style/index.less +57 -47
- package/lib/ProEditTable/utils/config.d.ts +1 -1
- package/lib/ProEditTable/utils/config.js +3 -3
- package/lib/ProEnum/style/index.less +3 -0
- package/lib/ProForm/components/base/DatePicker/index.d.ts +2 -2
- package/lib/ProForm/components/base/DatePicker/index.js +5 -8
- package/lib/ProForm/components/base/RangePicker/index.d.ts +3 -2
- package/lib/ProForm/components/base/RangePicker/index.js +4 -4
- package/lib/ProForm/components/base/SwitchCheckbox/style/index.less +3 -0
- package/lib/ProForm/components/base/TextArea/index.less +4 -3
- package/lib/ProForm/components/base/TimePicker/index.js +3 -3
- package/lib/ProForm/components/base/TimePicker/style/index.less +4 -1
- package/lib/ProForm/components/combination/Container/style/index.less +6 -3
- package/lib/ProForm/components/combination/FormList/style/index.less +20 -24
- package/lib/ProForm/components/combination/Group/style/index.less +18 -15
- package/lib/ProForm/components/combination/ProAddressBar/style/index.less +6 -3
- package/lib/ProForm/components/combination/ProCombination/style/index.less +5 -2
- package/lib/ProForm/components/combination/ProModalSelect/hooks/useRequestList.js +7 -1
- package/lib/ProForm/components/combination/ProModalSelect/index.js +22 -24
- package/lib/ProForm/components/combination/ProModalSelect/style/index.less +32 -11
- package/lib/ProForm/components/combination/ProNumberRange/style/index.less +13 -10
- package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +2 -2
- package/lib/ProForm/components/combination/ProRangeLimit/index.js +6 -6
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useControlled.d.ts +2 -2
- package/lib/ProForm/components/combination/ProTimeLimit/hooks/useControlled.js +2 -2
- package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +2 -2
- package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -4
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +9 -6
- package/lib/ProForm/components/old/ProCertValidity/index.js +16 -16
- package/lib/ProForm/components/old/ProCertValidity/propsType.d.ts +4 -4
- package/lib/ProForm/components/render/RenderFields.js +4 -5
- package/lib/ProForm/style/index.less +46 -44
- package/lib/ProIcon/style/index.less +4 -1
- package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
- package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +10 -7
- package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +31 -28
- package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +14 -11
- package/lib/ProLayout/components/Layout/Menu/style/index.less +2 -0
- package/lib/ProLayout/components/Layout/Notice/style/index.less +3 -0
- package/lib/ProLayout/components/ProCollapse/style/index.less +27 -24
- package/lib/ProLayout/components/ProFooter/style/index.less +11 -7
- package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +4 -1
- package/lib/ProLayout/components/ProHeader/index.js +4 -4
- package/lib/ProLayout/components/ProHeader/style/index.less +12 -11
- package/lib/ProLayout/style/index.less +10 -7
- package/lib/ProSelect/index.less +3 -0
- package/lib/ProStep/index.js +1 -1
- package/lib/ProStep/style/index.less +3 -0
- package/lib/ProTable/index.js +14 -6
- package/lib/ProTable/style/index.less +76 -54
- package/lib/ProTable/utils.d.ts +1 -1
- package/lib/ProTable/utils.js +52 -33
- package/lib/ProTabs/style/index.less +25 -23
- package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
- package/lib/ProThemeTools/component/PrdTools/index.js +7 -6
- package/lib/ProThemeTools/component/PrdTools/style/index.less +6 -6
- package/lib/ProThemeTools/index.d.ts +1 -1
- package/lib/ProThemeTools/index.js +7 -2
- package/lib/ProThemeTools/propsType.d.ts +4 -0
- package/lib/ProThemeTools/style/index.less +6 -3
- package/lib/ProThemeTools/utils/index.d.ts +1 -1
- package/lib/ProThemeTools/utils/index.js +2 -1
- package/lib/ProTooltip/style/index.less +3 -0
- package/lib/ProTree/components/CloseIcon.js +2 -4
- package/lib/ProTree/components/ProTree.js +26 -10
- package/lib/ProTree/components/Tree.js +1 -1
- package/lib/ProTree/propsType.d.ts +2 -2
- package/lib/ProTree/style/index.less +29 -26
- package/lib/ProTree/utils.d.ts +6 -0
- package/lib/ProTree/utils.js +12 -0
- package/lib/ProTreeModal/components/CloseIcon.js +2 -4
- package/lib/ProTreeModal/components/Trigger.d.ts +3 -0
- package/lib/ProTreeModal/components/Trigger.js +74 -18
- package/lib/ProTreeModal/index.js +38 -6
- package/lib/ProTreeModal/propsType.d.ts +5 -2
- package/lib/ProTreeModal/style/index.less +11 -8
- package/lib/ProTreeSelect/index.js +6 -4
- package/lib/ProTreeSelect/propsType.d.ts +2 -0
- package/lib/ProTreeSelect/style/index.less +25 -22
- package/lib/ProUpload/components/DragRender.js +7 -4
- package/lib/ProUpload/components/ImageRender.js +5 -1
- package/lib/ProUpload/index.js +11 -7
- package/lib/ProUpload/style/index.less +13 -4
- package/lib/ProViewer/index.js +4 -3
- package/lib/ProViewer/style/index.less +6 -3
- package/lib/locale/en_US.d.ts +4 -0
- package/lib/locale/en_US.js +5 -1
- package/lib/locale/index.js +2 -2
- package/lib/locale/zh_CN.d.ts +4 -0
- package/lib/locale/zh_CN.js +6 -2
- package/lib/old/ProCertValidity/index.js +16 -16
- package/lib/old/ProCertValidity/propsType.d.ts +4 -4
- package/lib/old/ProEditableTable/utils.d.ts +5 -5
- package/lib/old/ProEditableTable/utils.js +5 -5
- package/lib/style/core/compatible.less +6 -6
- package/lib/style/theme/antd.less +272 -253
- package/package.json +3 -2
- package/typings.d.ts +0 -6
|
@@ -1,38 +1,41 @@
|
|
|
1
|
+
@root-entry-name: 'default';
|
|
2
|
+
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
|
+
|
|
1
4
|
.pro-table {
|
|
2
5
|
&.pro-table-bordered {
|
|
3
|
-
|
|
6
|
+
.@{ant-prefix}-table .@{ant-prefix}-table-thead>tr>th {
|
|
4
7
|
border-bottom: 1px solid #f0f0f0
|
|
5
8
|
}
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table,
|
|
11
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table {
|
|
9
12
|
border-top: 1px solid rgba(0, 0, 0, 0.06);
|
|
10
13
|
}
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
15
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>thead>tr>th,
|
|
16
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>thead>tr>th,
|
|
17
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>thead>tr>th,
|
|
18
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>thead>tr>th,
|
|
19
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>tbody>tr>td,
|
|
20
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>tbody>tr>td,
|
|
21
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>tbody>tr>td,
|
|
22
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>tbody>tr>td,
|
|
23
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>tfoot>tr>th,
|
|
24
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>tfoot>tr>th,
|
|
25
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>tfoot>tr>th,
|
|
26
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>tfoot>tr>th,
|
|
27
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>tfoot>tr>td,
|
|
28
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>tfoot>tr>td,
|
|
29
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>tfoot>tr>td,
|
|
30
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>tfoot>tr>td {
|
|
28
31
|
border-right: 1px solid rgba(0, 0, 0, 0.06);
|
|
29
32
|
}
|
|
30
33
|
|
|
31
|
-
|
|
34
|
+
.@{ant-prefix}-table .@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
|
|
32
35
|
border-bottom: 1px solid #f0f0f0;
|
|
33
36
|
}
|
|
34
37
|
|
|
35
|
-
|
|
38
|
+
.@{ant-prefix}-table>.@{ant-prefix}-table-container {
|
|
36
39
|
border-left: 1px solid rgba(0, 0, 0, 0.06);
|
|
37
40
|
}
|
|
38
41
|
}
|
|
@@ -54,14 +57,22 @@
|
|
|
54
57
|
}
|
|
55
58
|
}
|
|
56
59
|
|
|
57
|
-
|
|
58
|
-
|
|
60
|
+
.@{ant-prefix}-table-tbody {
|
|
61
|
+
.@{ant-prefix}-table-cell-fix-left, .@{ant-prefix}-table-cell-fix-right {
|
|
59
62
|
background: unset !important;
|
|
60
63
|
}
|
|
61
64
|
}
|
|
62
65
|
|
|
63
|
-
|
|
64
|
-
|
|
66
|
+
.@{ant-prefix}-table-body {
|
|
67
|
+
// .@{ant-prefix}-table-tbody .@{ant-prefix}-table-row:nth-child(odd).new-cell {
|
|
68
|
+
// background: #00ae4d !important;
|
|
69
|
+
|
|
70
|
+
// td {
|
|
71
|
+
// background: #00ae4d !important;
|
|
72
|
+
// }
|
|
73
|
+
// }
|
|
74
|
+
|
|
75
|
+
.@{ant-prefix}-table-cell .varied-cell {
|
|
65
76
|
margin-left: -8px;
|
|
66
77
|
background: var(--zaui-contract-bg, #fffaa1);
|
|
67
78
|
padding: var(--zaui-space-size-xs, 4px) var(--zaui-space-size-sm, 8px);
|
|
@@ -76,7 +87,7 @@
|
|
|
76
87
|
.copyable-table-cell {
|
|
77
88
|
|
|
78
89
|
|
|
79
|
-
|
|
90
|
+
.@{ant-prefix}-typography {
|
|
80
91
|
margin-bottom: 0;
|
|
81
92
|
display : flex;
|
|
82
93
|
align-items : center;
|
|
@@ -89,7 +100,7 @@
|
|
|
89
100
|
}
|
|
90
101
|
}
|
|
91
102
|
|
|
92
|
-
|
|
103
|
+
.@{ant-prefix}-typography-copy-success {
|
|
93
104
|
svg {
|
|
94
105
|
fill: var(--zaui-success, #00ae4d);
|
|
95
106
|
}
|
|
@@ -104,14 +115,14 @@
|
|
|
104
115
|
}
|
|
105
116
|
|
|
106
117
|
&.pro-table-no-stripe {
|
|
107
|
-
|
|
118
|
+
.@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal .@{ant-prefix}-table-tbody .@{ant-prefix}-table-row:nth-child(n)>td {
|
|
108
119
|
background: var(--zaui-base-bg, #ffffff);
|
|
109
120
|
}
|
|
110
121
|
}
|
|
111
122
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
123
|
+
.@{ant-prefix}-table-thead {
|
|
124
|
+
.@{ant-prefix}-dropdown-trigger {
|
|
125
|
+
&.@{ant-prefix}-dropdown-open {
|
|
115
126
|
|
|
116
127
|
.anticon-down {
|
|
117
128
|
transition: transform 0.3s;
|
|
@@ -134,7 +145,7 @@
|
|
|
134
145
|
}
|
|
135
146
|
}
|
|
136
147
|
|
|
137
|
-
|
|
148
|
+
.@{ant-prefix}-table-thead {
|
|
138
149
|
tr th {
|
|
139
150
|
&:last-child {
|
|
140
151
|
.react-resizable-handle {
|
|
@@ -144,11 +155,11 @@
|
|
|
144
155
|
}
|
|
145
156
|
}
|
|
146
157
|
|
|
147
|
-
|
|
158
|
+
.@{ant-prefix}-space {
|
|
148
159
|
gap: var(--zaui-space-size-sm, 8px) !important;
|
|
149
160
|
}
|
|
150
161
|
|
|
151
|
-
|
|
162
|
+
.@{ant-prefix}-btn-link {
|
|
152
163
|
padding: 0 var(--zaui-space-size-xs, 4px);
|
|
153
164
|
|
|
154
165
|
&:first-child {
|
|
@@ -165,7 +176,7 @@
|
|
|
165
176
|
display : flex;
|
|
166
177
|
align-items: center;
|
|
167
178
|
|
|
168
|
-
|
|
179
|
+
>.@{ant-prefix}-btn {
|
|
169
180
|
|
|
170
181
|
&:hover,
|
|
171
182
|
&:visited,
|
|
@@ -182,11 +193,22 @@
|
|
|
182
193
|
}
|
|
183
194
|
}
|
|
184
195
|
|
|
185
|
-
.
|
|
186
|
-
|
|
196
|
+
.pro-table-empty {
|
|
197
|
+
margin: var(--zaui-space-size-lg, 32px) 0;
|
|
198
|
+
color: rgba(0, 0, 0, 0.25);
|
|
199
|
+
font-size: var(--zaui-font-size-md, 14px);
|
|
200
|
+
text-align: center;
|
|
201
|
+
|
|
202
|
+
.empty-image {
|
|
203
|
+
height: 80px;
|
|
204
|
+
|
|
205
|
+
img {
|
|
206
|
+
height: 100%;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
187
209
|
}
|
|
188
210
|
|
|
189
|
-
|
|
211
|
+
.@{ant-prefix}-table .@{ant-prefix}-table-thead>tr>th {
|
|
190
212
|
border-bottom: 0;
|
|
191
213
|
white-space : nowrap;
|
|
192
214
|
background : var(--zaui-table-header-bg, #f2f3f5);
|
|
@@ -229,29 +251,29 @@
|
|
|
229
251
|
}
|
|
230
252
|
}
|
|
231
253
|
|
|
232
|
-
|
|
233
|
-
|
|
254
|
+
.@{ant-prefix}-table.@{ant-prefix}-table-bordered {
|
|
255
|
+
.@{ant-prefix}-table-thead>tr>th {
|
|
234
256
|
border-bottom: 1px solid #f0f0f0;
|
|
235
257
|
}
|
|
236
258
|
|
|
237
|
-
|
|
259
|
+
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-placeholder)>td {
|
|
238
260
|
border-bottom: 1px solid #f0f0f0;
|
|
239
261
|
}
|
|
240
262
|
|
|
241
|
-
|
|
263
|
+
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
|
|
242
264
|
border-bottom: 1px solid #f0f0f0;
|
|
243
265
|
}
|
|
244
266
|
}
|
|
245
267
|
|
|
246
|
-
|
|
268
|
+
.@{ant-prefix}-table-tbody .@{ant-prefix}-table-placeholder {
|
|
247
269
|
background: var(--zaui-base-bg, #ffffff) !important;
|
|
248
270
|
}
|
|
249
271
|
|
|
250
|
-
|
|
272
|
+
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-placeholder)>td {
|
|
251
273
|
border-bottom: 0;
|
|
252
274
|
}
|
|
253
275
|
|
|
254
|
-
|
|
276
|
+
.@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
|
|
255
277
|
border-bottom: 0;
|
|
256
278
|
}
|
|
257
279
|
|
|
@@ -259,7 +281,7 @@
|
|
|
259
281
|
position : relative;
|
|
260
282
|
background-clip: padding-box;
|
|
261
283
|
|
|
262
|
-
|
|
284
|
+
.@{ant-prefix}-table-filter-trigger {
|
|
263
285
|
margin-right: 0;
|
|
264
286
|
}
|
|
265
287
|
}
|
|
@@ -295,20 +317,20 @@
|
|
|
295
317
|
}
|
|
296
318
|
}
|
|
297
319
|
|
|
298
|
-
|
|
320
|
+
.@{ant-prefix}-table-tbody tr td .@{ant-prefix}-checkbox-wrapper-checked.checkbox-disabled {
|
|
299
321
|
pointer-events: none;
|
|
300
322
|
cursor : not-allowed;
|
|
301
323
|
opacity : 0.5;
|
|
302
324
|
}
|
|
303
325
|
|
|
304
|
-
|
|
326
|
+
.@{ant-prefix}-pagination-options-quick-jumper input {
|
|
305
327
|
border : unset;
|
|
306
328
|
background: #FAFAFA;
|
|
307
329
|
min-width : 32px;
|
|
308
330
|
height : 32px;
|
|
309
331
|
}
|
|
310
332
|
|
|
311
|
-
|
|
333
|
+
.@{ant-prefix}-pagination .@{ant-prefix}-pagination-item-active a {
|
|
312
334
|
color : #ffffff;
|
|
313
335
|
background : var(--zaui-brand, #006aff) !important;
|
|
314
336
|
border-radius: var(--zaui-border-radius, 4px);
|
|
@@ -324,10 +346,10 @@
|
|
|
324
346
|
}
|
|
325
347
|
}
|
|
326
348
|
|
|
327
|
-
|
|
349
|
+
.@{ant-prefix}-table-summary {
|
|
328
350
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
|
329
351
|
|
|
330
|
-
|
|
352
|
+
.@{ant-prefix}-table-cell {
|
|
331
353
|
font-weight : 500;
|
|
332
354
|
background-color: var(--zaui-table-header-bg, #f2f3f5);
|
|
333
355
|
border : none;
|
|
@@ -335,10 +357,10 @@
|
|
|
335
357
|
}
|
|
336
358
|
}
|
|
337
359
|
|
|
338
|
-
|
|
339
|
-
|
|
360
|
+
.@{ant-prefix}-dropdown-placement-bottomLeft {
|
|
361
|
+
.@{ant-prefix}-dropdown-menu-vertical.@{ant-prefix}-dropdown-menu-light {
|
|
340
362
|
|
|
341
|
-
|
|
363
|
+
.@{ant-prefix}-dropdown-menu-item-only-child {
|
|
342
364
|
&:hover {
|
|
343
365
|
background: rgba(0, 106, 255, 0.08);
|
|
344
366
|
}
|
package/lib/ProTable/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ProTableColumn } from './propsType';
|
|
3
|
-
export declare const formatColumn: (column: ProTableColumn,
|
|
3
|
+
export declare const formatColumn: (column: ProTableColumn, originalObj: any, dataSourceObj: any, rowKey: any) => void;
|
|
4
4
|
export declare const getColumnDataIndex: (dataIndex: string | string[]) => string;
|
|
5
5
|
/**
|
|
6
6
|
* 查找最近的父级className
|
package/lib/ProTable/utils.js
CHANGED
|
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.isListResult = exports.getParentElement = exports.getColumnDataIndex = exports.formatColumn = void 0;
|
|
8
|
-
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
9
|
var _react = require("react");
|
|
11
|
-
var
|
|
10
|
+
var _dayjs15 = _interopRequireDefault(require("dayjs"));
|
|
12
11
|
var _antd = require("antd");
|
|
13
12
|
var _lodash = require("lodash");
|
|
14
13
|
var _utils = require("@zat-design/utils");
|
|
@@ -29,7 +28,27 @@ var getDecimalDigits = function getDecimalDigits() {
|
|
|
29
28
|
var match = Number(num).toString().match(/\.(\d+)/);
|
|
30
29
|
return match ? match[1].length : 0;
|
|
31
30
|
};
|
|
32
|
-
|
|
31
|
+
/**
|
|
32
|
+
* @description: 获取初始值
|
|
33
|
+
* @author: xiangchengli
|
|
34
|
+
* @param {any} rowKey
|
|
35
|
+
* @param any value
|
|
36
|
+
* @param any originalObj
|
|
37
|
+
* @param {any} dataIndex
|
|
38
|
+
* @return {any}
|
|
39
|
+
*/
|
|
40
|
+
var getOriginalValue = function getOriginalValue(value, record, originalObj, rowKey, dataIndex) {
|
|
41
|
+
if (!originalObj) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
var originalRecord = (0, _lodash.get)(originalObj, (0, _lodash.get)(record, rowKey));
|
|
45
|
+
var originalValue = (0, _lodash.get)(originalRecord, dataIndex);
|
|
46
|
+
if (!(0, _lodash.isEqual)(originalValue, value)) {
|
|
47
|
+
return originalValue;
|
|
48
|
+
}
|
|
49
|
+
return undefined;
|
|
50
|
+
};
|
|
51
|
+
var formatColumn = exports.formatColumn = function formatColumn(column, originalObj, dataSourceObj, rowKey) {
|
|
33
52
|
var title = column.title,
|
|
34
53
|
valueType = column.valueType,
|
|
35
54
|
_column$format = column.format,
|
|
@@ -93,7 +112,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
93
112
|
var multiple = valueType === 'percentage' ? 100 : 1000;
|
|
94
113
|
var realValue = _utils.tools.calc(Number(value), '*', multiple);
|
|
95
114
|
var renderValue = getDecimalDigits(value) > valueTypePrecision ? realValue : realValue.toFixed(valueTypePrecision);
|
|
96
|
-
var originalValue = (
|
|
115
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
97
116
|
var originalRealValue = _utils.tools.calc(Number(originalValue || null), '*', multiple);
|
|
98
117
|
var originalRenderValue = getDecimalDigits(originalValue) > valueTypePrecision ? originalRealValue : originalRealValue.toFixed(valueTypePrecision);
|
|
99
118
|
if (!originalValue && originalValue !== 0) {
|
|
@@ -104,7 +123,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
104
123
|
}
|
|
105
124
|
return (0, _jsxRuntime.jsx)(_RenderColumn.default, {
|
|
106
125
|
valueType: valueType,
|
|
107
|
-
originalValue:
|
|
126
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
108
127
|
ellipsis: ellipsis,
|
|
109
128
|
width: width,
|
|
110
129
|
node: renderValue,
|
|
@@ -118,7 +137,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
118
137
|
column.render = function (value, record, index) {
|
|
119
138
|
var valueStr = valueTypePrecision ? "".concat(Number(value).toFixed(valueTypePrecision)) : "".concat(value);
|
|
120
139
|
var renderValue = valueStr.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
121
|
-
var originalValue = (
|
|
140
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
122
141
|
var originalRealValue = valueTypePrecision ? "".concat(Number(originalValue).toFixed(valueTypePrecision)) : "".concat(originalValue);
|
|
123
142
|
var originalRenderValue = originalRealValue.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
124
143
|
if (!originalValue && originalValue !== 0) {
|
|
@@ -133,7 +152,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
133
152
|
}
|
|
134
153
|
return (0, _jsxRuntime.jsx)(_RenderColumn.default, {
|
|
135
154
|
valueType: valueType,
|
|
136
|
-
originalValue:
|
|
155
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
137
156
|
ellipsis: ellipsis,
|
|
138
157
|
width: width,
|
|
139
158
|
node: node,
|
|
@@ -144,30 +163,30 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
144
163
|
};
|
|
145
164
|
} else if (['datePicker', 'date', 'dateTime', 'dateStartTime', 'dateEndTime', 'dateStartEndTime'].includes(valueType)) {
|
|
146
165
|
column.render = function (value, record, index) {
|
|
147
|
-
var
|
|
148
|
-
var renderValue = (
|
|
149
|
-
var originalValue = (
|
|
150
|
-
var originalRenderValue = (
|
|
166
|
+
var _dayjs, _dayjs2, _dayjs3, _dayjs4, _dayjs5, _dayjs6, _dayjs7, _dayjs8, _dayjs9, _dayjs10, _dayjs11, _dayjs12, _dayjs13, _dayjs14;
|
|
167
|
+
var renderValue = (_dayjs = (0, _dayjs15.default)(value)) === null || _dayjs === void 0 ? void 0 : _dayjs.format(format);
|
|
168
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
169
|
+
var originalRenderValue = (_dayjs2 = (0, _dayjs15.default)(originalValue)) === null || _dayjs2 === void 0 ? void 0 : _dayjs2.format(format);
|
|
151
170
|
switch (valueType) {
|
|
152
171
|
case 'date':
|
|
153
|
-
renderValue = (
|
|
154
|
-
originalRenderValue = (
|
|
172
|
+
renderValue = (_dayjs3 = (0, _dayjs15.default)(value)) === null || _dayjs3 === void 0 ? void 0 : _dayjs3.format('YYYY-MM-DD');
|
|
173
|
+
originalRenderValue = (_dayjs4 = (0, _dayjs15.default)(originalValue)) === null || _dayjs4 === void 0 ? void 0 : _dayjs4.format('YYYY-MM-DD');
|
|
155
174
|
break;
|
|
156
175
|
case 'dateTime':
|
|
157
|
-
renderValue = (
|
|
158
|
-
originalRenderValue = (
|
|
176
|
+
renderValue = (_dayjs5 = (0, _dayjs15.default)(value)) === null || _dayjs5 === void 0 ? void 0 : _dayjs5.format('YYYY-MM-DD HH:mm:ss');
|
|
177
|
+
originalRenderValue = (_dayjs6 = (0, _dayjs15.default)(originalValue)) === null || _dayjs6 === void 0 ? void 0 : _dayjs6.format('YYYY-MM-DD HH:mm:ss');
|
|
159
178
|
break;
|
|
160
179
|
case 'dateStartTime':
|
|
161
|
-
renderValue = "".concat((
|
|
162
|
-
originalRenderValue = "".concat((
|
|
180
|
+
renderValue = "".concat((_dayjs7 = (0, _dayjs15.default)(value)) === null || _dayjs7 === void 0 ? void 0 : _dayjs7.format('YYYY-MM-DD'), " 00:00:00");
|
|
181
|
+
originalRenderValue = "".concat((_dayjs8 = (0, _dayjs15.default)(originalValue)) === null || _dayjs8 === void 0 ? void 0 : _dayjs8.format('YYYY-MM-DD'), " 00:00:00");
|
|
163
182
|
break;
|
|
164
183
|
case 'dateEndTime':
|
|
165
|
-
renderValue = "".concat((
|
|
166
|
-
originalRenderValue = "".concat((
|
|
184
|
+
renderValue = "".concat((_dayjs9 = (0, _dayjs15.default)(value)) === null || _dayjs9 === void 0 ? void 0 : _dayjs9.format('YYYY-MM-DD'), " 23:59:59");
|
|
185
|
+
originalRenderValue = "".concat((_dayjs10 = (0, _dayjs15.default)(originalValue)) === null || _dayjs10 === void 0 ? void 0 : _dayjs10.format('YYYY-MM-DD'), " 23:59:59");
|
|
167
186
|
break;
|
|
168
187
|
case 'dateStartEndTime':
|
|
169
|
-
renderValue = "".concat((
|
|
170
|
-
originalRenderValue = "".concat((
|
|
188
|
+
renderValue = "".concat((_dayjs11 = (0, _dayjs15.default)(value === null || value === void 0 ? void 0 : value[0])) === null || _dayjs11 === void 0 ? void 0 : _dayjs11.format('YYYY-MM-DD'), " 00:00:00~").concat((_dayjs12 = (0, _dayjs15.default)(value === null || value === void 0 ? void 0 : value[1])) === null || _dayjs12 === void 0 ? void 0 : _dayjs12.format('YYYY-MM-DD'), " 23:59:59");
|
|
189
|
+
originalRenderValue = "".concat((_dayjs13 = (0, _dayjs15.default)(originalValue === null || originalValue === void 0 ? void 0 : originalValue[0])) === null || _dayjs13 === void 0 ? void 0 : _dayjs13.format('YYYY-MM-DD'), " 00:00:00~").concat((_dayjs14 = (0, _dayjs15.default)(originalValue === null || originalValue === void 0 ? void 0 : originalValue[1])) === null || _dayjs14 === void 0 ? void 0 : _dayjs14.format('YYYY-MM-DD'), " 23:59:59");
|
|
171
190
|
break;
|
|
172
191
|
}
|
|
173
192
|
if (!value) {
|
|
@@ -185,7 +204,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
185
204
|
}
|
|
186
205
|
return (0, _jsxRuntime.jsx)(_RenderColumn.default, {
|
|
187
206
|
valueType: valueType,
|
|
188
|
-
originalValue:
|
|
207
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
189
208
|
ellipsis: ellipsis,
|
|
190
209
|
width: width,
|
|
191
210
|
node: node,
|
|
@@ -198,7 +217,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
198
217
|
column.render = function (value, record, index) {
|
|
199
218
|
var realCode = typeof code === 'function' ? code() : code;
|
|
200
219
|
var renderValue = (0, _getEnumLabel.default)(realCode, value, valueType === 'enumCodeName');
|
|
201
|
-
var originalValue = (
|
|
220
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
202
221
|
var originalRenderValue = (0, _getEnumLabel.default)(realCode, originalValue, valueType === 'enumCodeName');
|
|
203
222
|
var node = (0, _jsxRuntime.jsxs)(_antd.Space, {
|
|
204
223
|
size: 8,
|
|
@@ -206,7 +225,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
206
225
|
});
|
|
207
226
|
return (0, _jsxRuntime.jsx)(_RenderColumn.default, {
|
|
208
227
|
valueType: valueType,
|
|
209
|
-
originalValue:
|
|
228
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
210
229
|
ellipsis: ellipsis,
|
|
211
230
|
width: width,
|
|
212
231
|
node: node,
|
|
@@ -218,7 +237,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
218
237
|
} else if (precision || prefix || suffix) {
|
|
219
238
|
column.render = function (value, record, index) {
|
|
220
239
|
var renderValue = value === 'number' ? value.toFixed(precision) : value;
|
|
221
|
-
var originalValue = (
|
|
240
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
222
241
|
var originalRenderValue = originalValue === 'number' ? originalValue.toFixed(precision) : originalValue;
|
|
223
242
|
var node = (0, _jsxRuntime.jsxs)(_antd.Space, {
|
|
224
243
|
size: 8,
|
|
@@ -232,7 +251,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
232
251
|
}
|
|
233
252
|
return (0, _jsxRuntime.jsx)(_RenderColumn.default, {
|
|
234
253
|
valueType: valueType,
|
|
235
|
-
originalValue:
|
|
254
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
236
255
|
ellipsis: ellipsis,
|
|
237
256
|
width: width,
|
|
238
257
|
node: node,
|
|
@@ -245,7 +264,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
245
264
|
column.render = function (value, record, index) {
|
|
246
265
|
var _realValue$filter;
|
|
247
266
|
var realValue = transform ? transform(value, record) : value;
|
|
248
|
-
var originalValue = (
|
|
267
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
249
268
|
var originalRealValue = transform ? transform(originalValue, record) : originalValue;
|
|
250
269
|
var isEmpty = !realValue || Array.isArray(realValue) && (realValue === null || realValue === void 0 ? void 0 : (_realValue$filter = realValue.filter(function (item) {
|
|
251
270
|
return !!item;
|
|
@@ -254,7 +273,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
254
273
|
return '-';
|
|
255
274
|
}
|
|
256
275
|
var className = (0, _classnames.default)({
|
|
257
|
-
'varied-cell':
|
|
276
|
+
'varied-cell': originalValue !== undefined,
|
|
258
277
|
'empty-cell': isEmpty
|
|
259
278
|
});
|
|
260
279
|
var renderValue = (0, _jsxRuntime.jsx)(_ProForm.default.ProAddressBar, {
|
|
@@ -272,7 +291,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
272
291
|
isView: true,
|
|
273
292
|
code: code,
|
|
274
293
|
value: realValue,
|
|
275
|
-
tooltip:
|
|
294
|
+
tooltip: originalValue !== undefined ? (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
276
295
|
children: ["\u521D\u59CB\u503C\uFF1A", originalRenderValue, (0, _jsxRuntime.jsx)("br", {}), ellipsis ? (0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
277
296
|
children: ["\u5F53\u524D\u503C\uFF1A", renderValue]
|
|
278
297
|
}) : undefined]
|
|
@@ -296,7 +315,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
296
315
|
};
|
|
297
316
|
} else if (ellipsis) {
|
|
298
317
|
column.render = function (value, record, index) {
|
|
299
|
-
var originalValue = (
|
|
318
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
300
319
|
if (!value && value !== 0 && value === originalValue) {
|
|
301
320
|
return '-';
|
|
302
321
|
}
|
|
@@ -304,7 +323,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
304
323
|
size: 8,
|
|
305
324
|
children: [prefixNode(value, record, index), (0, _jsxRuntime.jsx)(_RenderColumn.default, {
|
|
306
325
|
valueType: valueType,
|
|
307
|
-
originalValue:
|
|
326
|
+
originalValue: originalValue === undefined ? undefined : originalValue || '-',
|
|
308
327
|
ellipsis: ellipsis,
|
|
309
328
|
width: width,
|
|
310
329
|
node: value,
|
|
@@ -316,7 +335,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
316
335
|
};
|
|
317
336
|
} else {
|
|
318
337
|
column.render = function (value, record, index) {
|
|
319
|
-
var originalValue = (
|
|
338
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
320
339
|
var node = (0, _jsxRuntime.jsxs)(_antd.Space, {
|
|
321
340
|
size: 8,
|
|
322
341
|
children: [prefixNode(value, record, index), value, suffixNode(value, record, index)]
|
|
@@ -326,7 +345,7 @@ var formatColumn = exports.formatColumn = function formatColumn(column, original
|
|
|
326
345
|
}
|
|
327
346
|
return (0, _jsxRuntime.jsx)(_RenderColumn.default, {
|
|
328
347
|
valueType: valueType,
|
|
329
|
-
originalValue:
|
|
348
|
+
originalValue: originalValue === undefined ? undefined : originalValue || '-',
|
|
330
349
|
ellipsis: ellipsis,
|
|
331
350
|
width: width,
|
|
332
351
|
node: node,
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
+
@root-entry-name: 'default';
|
|
2
|
+
@import (reference) '~antd/es/style/themes/index.less';
|
|
3
|
+
|
|
1
4
|
.pro-tabs {
|
|
2
|
-
|
|
5
|
+
.@{ant-prefix}-tabs .@{ant-prefix}-tabs-nav-list .@{ant-prefix}-tabs-tab {
|
|
3
6
|
padding: 0 !important;
|
|
4
7
|
}
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
.@{ant-prefix}-tabs-top > .@{ant-prefix}-tabs-nav::before,
|
|
10
|
+
.@{ant-prefix}-tabs-bottom > .@{ant-prefix}-tabs-nav::before,
|
|
11
|
+
.@{ant-prefix}-tabs-top > div > .@{ant-prefix}-tabs-nav::before,
|
|
12
|
+
.@{ant-prefix}-tabs-bottom > div > .@{ant-prefix}-tabs-nav::before {
|
|
10
13
|
border: none;
|
|
11
14
|
}
|
|
12
15
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
.ant-tabs-tab {
|
|
16
|
+
.@{ant-prefix}-tabs-nav-list {
|
|
17
|
+
.@{ant-prefix}-tabs-tab {
|
|
16
18
|
&:first-child {
|
|
17
19
|
.pro-tabs-card {
|
|
18
20
|
border-left: 1px solid var(--zaui-line, #dddddd);
|
|
@@ -21,37 +23,37 @@
|
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
.@{ant-prefix}-tabs-tab-active {
|
|
25
27
|
.pro-tabs-card {
|
|
26
28
|
background: var(--ant-primary-color-active-deprecated-f-30, rgba(230, 247, 255, 0.3));
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
|
|
30
|
-
|
|
31
|
-
top
|
|
32
|
+
.@{ant-prefix}-tabs-ink-bar {
|
|
33
|
+
top: 0;
|
|
32
34
|
height: 3px !important;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
.pro-tabs-card {
|
|
36
|
-
width
|
|
37
|
-
padding
|
|
38
|
-
border
|
|
38
|
+
width: 200px;
|
|
39
|
+
padding: calc(9px * var(--zaui-size; 1)) 16px calc(9px * var(--zaui-size; 1)) 24px;
|
|
40
|
+
border: 1px solid var(--zaui-line, #dddddd);
|
|
39
41
|
border-left: none;
|
|
40
42
|
|
|
41
43
|
.pro-tabs-card-left {
|
|
42
|
-
width
|
|
44
|
+
width: 104px;
|
|
43
45
|
text-shadow: none;
|
|
44
46
|
|
|
45
47
|
.pro-tabs-card-left-total {
|
|
46
|
-
|
|
48
|
+
color: var(--zaui-text, #343434);
|
|
47
49
|
font-weight: 600;
|
|
48
|
-
|
|
50
|
+
font-size: var(--zaui-font-size-lg-title, 24px);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
.pro-tabs-card-left-label {
|
|
52
|
-
|
|
54
|
+
color: var(--aui-text, #343434);
|
|
53
55
|
font-weight: 400;
|
|
54
|
-
|
|
56
|
+
font-size: var(--zaui-font-size, 14px);
|
|
55
57
|
}
|
|
56
58
|
}
|
|
57
59
|
|
|
@@ -67,13 +69,13 @@
|
|
|
67
69
|
|
|
68
70
|
.pro-tabs-tab {
|
|
69
71
|
.pro-tabs-card {
|
|
70
|
-
|
|
72
|
+
.@{ant-prefix}-tag {
|
|
73
|
+
margin-right: 0;
|
|
74
|
+
padding: 0 var(--zaui-space-size-xs, 4px);
|
|
71
75
|
border-radius: 10px;
|
|
72
|
-
padding : 0 var(--zaui-space-size-xs, 4px);
|
|
73
|
-
margin-right : 0;
|
|
74
76
|
}
|
|
75
77
|
|
|
76
|
-
|
|
78
|
+
.@{ant-prefix}-space-item {
|
|
77
79
|
display: flex;
|
|
78
80
|
}
|
|
79
81
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { DevToolsPropsType } from '../../propsType';
|
|
2
|
-
declare const PrdTools: ({ onReset, onClose, setState, visible, state, tableBorder, tableStripe, }: DevToolsPropsType) => JSX.Element;
|
|
2
|
+
declare const PrdTools: ({ onReset, onClose, setState, visible, state, tableBorder, tableStripe, prefixCls, }: DevToolsPropsType) => JSX.Element;
|
|
3
3
|
export default PrdTools;
|