@zat-design/sisyphus-react 3.2.2 → 3.3.0
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/index.js +8 -4
- 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.js +0 -3
- 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/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/style/index.less +32 -11
- package/es/ProForm/components/combination/ProNumberRange/style/index.less +13 -10
- package/es/ProForm/components/combination/ProTimeLimit/style/index.less +9 -6
- 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/style/index.less +12 -11
- package/es/ProLayout/style/index.less +10 -7
- package/es/ProSelect/index.less +3 -0
- 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 +38 -19
- 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/zh_CN.d.ts +4 -0
- package/es/locale/zh_CN.js +6 -2
- 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/index.js +6 -2
- 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.js +0 -3
- 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/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/style/index.less +32 -11
- package/lib/ProForm/components/combination/ProNumberRange/style/index.less +13 -10
- package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +9 -6
- 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/style/index.less +12 -11
- package/lib/ProLayout/style/index.less +10 -7
- package/lib/ProSelect/index.less +3 -0
- 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 +38 -19
- 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/zh_CN.d.ts +4 -0
- package/lib/locale/zh_CN.js +6 -2
- package/lib/style/core/compatible.less +6 -6
- package/lib/style/theme/antd.less +272 -253
- package/package.json +1 -1
- 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/es/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/es/ProTable/utils.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import "antd/es/space/style";
|
|
2
2
|
import _Space from "antd/es/space";
|
|
3
|
-
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
4
3
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
5
4
|
/* eslint-disable react-hooks/rules-of-hooks */
|
|
6
5
|
import { isValidElement } from 'react';
|
|
@@ -22,7 +21,27 @@ var getDecimalDigits = function getDecimalDigits() {
|
|
|
22
21
|
var match = Number(num).toString().match(/\.(\d+)/);
|
|
23
22
|
return match ? match[1].length : 0;
|
|
24
23
|
};
|
|
25
|
-
|
|
24
|
+
/**
|
|
25
|
+
* @description: 获取初始值
|
|
26
|
+
* @author: xiangchengli
|
|
27
|
+
* @param {any} rowKey
|
|
28
|
+
* @param any value
|
|
29
|
+
* @param any originalObj
|
|
30
|
+
* @param {any} dataIndex
|
|
31
|
+
* @return {any}
|
|
32
|
+
*/
|
|
33
|
+
var getOriginalValue = function getOriginalValue(value, record, originalObj, rowKey, dataIndex) {
|
|
34
|
+
if (!originalObj) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
var originalRecord = get(originalObj, get(record, rowKey));
|
|
38
|
+
var originalValue = get(originalRecord, dataIndex);
|
|
39
|
+
if (!isEqual(originalValue, value)) {
|
|
40
|
+
return originalValue;
|
|
41
|
+
}
|
|
42
|
+
return undefined;
|
|
43
|
+
};
|
|
44
|
+
export var formatColumn = function formatColumn(column, originalObj, dataSourceObj, rowKey) {
|
|
26
45
|
var title = column.title,
|
|
27
46
|
valueType = column.valueType,
|
|
28
47
|
_column$format = column.format,
|
|
@@ -86,7 +105,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
86
105
|
var multiple = valueType === 'percentage' ? 100 : 1000;
|
|
87
106
|
var realValue = tools.calc(Number(value), '*', multiple);
|
|
88
107
|
var renderValue = getDecimalDigits(value) > valueTypePrecision ? realValue : realValue.toFixed(valueTypePrecision);
|
|
89
|
-
var originalValue =
|
|
108
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
90
109
|
var originalRealValue = tools.calc(Number(originalValue || null), '*', multiple);
|
|
91
110
|
var originalRenderValue = getDecimalDigits(originalValue) > valueTypePrecision ? originalRealValue : originalRealValue.toFixed(valueTypePrecision);
|
|
92
111
|
if (!originalValue && originalValue !== 0) {
|
|
@@ -97,7 +116,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
97
116
|
}
|
|
98
117
|
return _jsx(RenderColumn, {
|
|
99
118
|
valueType: valueType,
|
|
100
|
-
originalValue:
|
|
119
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
101
120
|
ellipsis: ellipsis,
|
|
102
121
|
width: width,
|
|
103
122
|
node: renderValue,
|
|
@@ -111,7 +130,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
111
130
|
column.render = function (value, record, index) {
|
|
112
131
|
var valueStr = valueTypePrecision ? "".concat(Number(value).toFixed(valueTypePrecision)) : "".concat(value);
|
|
113
132
|
var renderValue = valueStr.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
114
|
-
var originalValue =
|
|
133
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
115
134
|
var originalRealValue = valueTypePrecision ? "".concat(Number(originalValue).toFixed(valueTypePrecision)) : "".concat(originalValue);
|
|
116
135
|
var originalRenderValue = originalRealValue.replace(/\B(?=(\d{3})+(?!\d))/g, ',');
|
|
117
136
|
if (!originalValue && originalValue !== 0) {
|
|
@@ -126,7 +145,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
126
145
|
}
|
|
127
146
|
return _jsx(RenderColumn, {
|
|
128
147
|
valueType: valueType,
|
|
129
|
-
originalValue:
|
|
148
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
130
149
|
ellipsis: ellipsis,
|
|
131
150
|
width: width,
|
|
132
151
|
node: node,
|
|
@@ -139,7 +158,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
139
158
|
column.render = function (value, record, index) {
|
|
140
159
|
var _moment, _moment2, _moment3, _moment4, _moment5, _moment6, _moment7, _moment8, _moment9, _moment10, _moment11, _moment12, _moment13, _moment14;
|
|
141
160
|
var renderValue = (_moment = moment(value)) === null || _moment === void 0 ? void 0 : _moment.format(format);
|
|
142
|
-
var originalValue =
|
|
161
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
143
162
|
var originalRenderValue = (_moment2 = moment(originalValue)) === null || _moment2 === void 0 ? void 0 : _moment2.format(format);
|
|
144
163
|
switch (valueType) {
|
|
145
164
|
case 'date':
|
|
@@ -178,7 +197,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
178
197
|
}
|
|
179
198
|
return _jsx(RenderColumn, {
|
|
180
199
|
valueType: valueType,
|
|
181
|
-
originalValue:
|
|
200
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
182
201
|
ellipsis: ellipsis,
|
|
183
202
|
width: width,
|
|
184
203
|
node: node,
|
|
@@ -191,7 +210,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
191
210
|
column.render = function (value, record, index) {
|
|
192
211
|
var realCode = typeof code === 'function' ? code() : code;
|
|
193
212
|
var renderValue = getEnumLabel(realCode, value, valueType === 'enumCodeName');
|
|
194
|
-
var originalValue =
|
|
213
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
195
214
|
var originalRenderValue = getEnumLabel(realCode, originalValue, valueType === 'enumCodeName');
|
|
196
215
|
var node = _jsxs(_Space, {
|
|
197
216
|
size: 8,
|
|
@@ -199,7 +218,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
199
218
|
});
|
|
200
219
|
return _jsx(RenderColumn, {
|
|
201
220
|
valueType: valueType,
|
|
202
|
-
originalValue:
|
|
221
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
203
222
|
ellipsis: ellipsis,
|
|
204
223
|
width: width,
|
|
205
224
|
node: node,
|
|
@@ -211,7 +230,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
211
230
|
} else if (precision || prefix || suffix) {
|
|
212
231
|
column.render = function (value, record, index) {
|
|
213
232
|
var renderValue = value === 'number' ? value.toFixed(precision) : value;
|
|
214
|
-
var originalValue =
|
|
233
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
215
234
|
var originalRenderValue = originalValue === 'number' ? originalValue.toFixed(precision) : originalValue;
|
|
216
235
|
var node = _jsxs(_Space, {
|
|
217
236
|
size: 8,
|
|
@@ -225,7 +244,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
225
244
|
}
|
|
226
245
|
return _jsx(RenderColumn, {
|
|
227
246
|
valueType: valueType,
|
|
228
|
-
originalValue:
|
|
247
|
+
originalValue: originalValue === undefined ? undefined : originalRenderValue,
|
|
229
248
|
ellipsis: ellipsis,
|
|
230
249
|
width: width,
|
|
231
250
|
node: node,
|
|
@@ -238,7 +257,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
238
257
|
column.render = function (value, record, index) {
|
|
239
258
|
var _realValue$filter;
|
|
240
259
|
var realValue = transform ? transform(value, record) : value;
|
|
241
|
-
var originalValue =
|
|
260
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
242
261
|
var originalRealValue = transform ? transform(originalValue, record) : originalValue;
|
|
243
262
|
var isEmpty = !realValue || Array.isArray(realValue) && (realValue === null || realValue === void 0 ? void 0 : (_realValue$filter = realValue.filter(function (item) {
|
|
244
263
|
return !!item;
|
|
@@ -247,7 +266,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
247
266
|
return '-';
|
|
248
267
|
}
|
|
249
268
|
var className = classnames({
|
|
250
|
-
'varied-cell':
|
|
269
|
+
'varied-cell': originalValue !== undefined,
|
|
251
270
|
'empty-cell': isEmpty
|
|
252
271
|
});
|
|
253
272
|
var renderValue = _jsx(ProForm.ProAddressBar, {
|
|
@@ -265,7 +284,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
265
284
|
isView: true,
|
|
266
285
|
code: code,
|
|
267
286
|
value: realValue,
|
|
268
|
-
tooltip:
|
|
287
|
+
tooltip: originalValue !== undefined ? _jsxs(_Fragment, {
|
|
269
288
|
children: ["\u521D\u59CB\u503C\uFF1A", originalRenderValue, _jsx("br", {}), ellipsis ? _jsxs(_Fragment, {
|
|
270
289
|
children: ["\u5F53\u524D\u503C\uFF1A", renderValue]
|
|
271
290
|
}) : undefined]
|
|
@@ -289,7 +308,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
289
308
|
};
|
|
290
309
|
} else if (ellipsis) {
|
|
291
310
|
column.render = function (value, record, index) {
|
|
292
|
-
var originalValue =
|
|
311
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
293
312
|
if (!value && value !== 0 && value === originalValue) {
|
|
294
313
|
return '-';
|
|
295
314
|
}
|
|
@@ -297,7 +316,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
297
316
|
size: 8,
|
|
298
317
|
children: [prefixNode(value, record, index), _jsx(RenderColumn, {
|
|
299
318
|
valueType: valueType,
|
|
300
|
-
originalValue:
|
|
319
|
+
originalValue: originalValue === undefined ? undefined : originalValue || '-',
|
|
301
320
|
ellipsis: ellipsis,
|
|
302
321
|
width: width,
|
|
303
322
|
node: value,
|
|
@@ -309,7 +328,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
309
328
|
};
|
|
310
329
|
} else {
|
|
311
330
|
column.render = function (value, record, index) {
|
|
312
|
-
var originalValue =
|
|
331
|
+
var originalValue = getOriginalValue(value, record, originalObj, rowKey, dataIndex);
|
|
313
332
|
var node = _jsxs(_Space, {
|
|
314
333
|
size: 8,
|
|
315
334
|
children: [prefixNode(value, record, index), value, suffixNode(value, record, index)]
|
|
@@ -319,7 +338,7 @@ export var formatColumn = function formatColumn(column, originalDataSource) {
|
|
|
319
338
|
}
|
|
320
339
|
return _jsx(RenderColumn, {
|
|
321
340
|
valueType: valueType,
|
|
322
|
-
originalValue:
|
|
341
|
+
originalValue: originalValue === undefined ? undefined : originalValue || '-',
|
|
323
342
|
ellipsis: ellipsis,
|
|
324
343
|
width: width,
|
|
325
344
|
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;
|
|
@@ -27,7 +27,8 @@ var PrdTools = function PrdTools(_ref) {
|
|
|
27
27
|
visible = _ref.visible,
|
|
28
28
|
state = _ref.state,
|
|
29
29
|
tableBorder = _ref.tableBorder,
|
|
30
|
-
tableStripe = _ref.tableStripe
|
|
30
|
+
tableStripe = _ref.tableStripe,
|
|
31
|
+
prefixCls = _ref.prefixCls;
|
|
31
32
|
var _useState = useState([{
|
|
32
33
|
color: '#006AFF',
|
|
33
34
|
active: true
|
|
@@ -150,18 +151,18 @@ var PrdTools = function PrdTools(_ref) {
|
|
|
150
151
|
var after = e.target.value === 'left' ? 'inline' : 'none';
|
|
151
152
|
var before = e.target.value === 'right' ? 'inline' : 'none';
|
|
152
153
|
// 遍历添加className
|
|
153
|
-
var formItemLabels = document.querySelectorAll(
|
|
154
|
+
var formItemLabels = document.querySelectorAll(".".concat(prefixCls, "-form-item-label"));
|
|
154
155
|
// 遍历元素列表,为每个元素添加新的 class
|
|
155
156
|
formItemLabels.forEach(function (label) {
|
|
156
157
|
var _label$classList, _label$classList$valu, _label$classList2, _label$classList2$val;
|
|
157
158
|
if (!label) {
|
|
158
159
|
return false;
|
|
159
160
|
}
|
|
160
|
-
if (e.target.value === 'left' && !((_label$classList = label.classList) === null || _label$classList === void 0 ? void 0 : (_label$classList$valu = _label$classList.value) === null || _label$classList$valu === void 0 ? void 0 : _label$classList$valu.includes(
|
|
161
|
-
label.classList.add(
|
|
161
|
+
if (e.target.value === 'left' && !((_label$classList = label.classList) === null || _label$classList === void 0 ? void 0 : (_label$classList$valu = _label$classList.value) === null || _label$classList$valu === void 0 ? void 0 : _label$classList$valu.includes("".concat(prefixCls, "-form-item-label-left")))) {
|
|
162
|
+
label.classList.add("".concat(prefixCls, "-form-item-label-left"));
|
|
162
163
|
}
|
|
163
|
-
if (e.target.value === 'right' && ((_label$classList2 = label.classList) === null || _label$classList2 === void 0 ? void 0 : (_label$classList2$val = _label$classList2.value) === null || _label$classList2$val === void 0 ? void 0 : _label$classList2$val.includes(
|
|
164
|
-
label.classList.remove(
|
|
164
|
+
if (e.target.value === 'right' && ((_label$classList2 = label.classList) === null || _label$classList2 === void 0 ? void 0 : (_label$classList2$val = _label$classList2.value) === null || _label$classList2$val === void 0 ? void 0 : _label$classList2$val.includes("".concat(prefixCls, "-form-item-label-left")))) {
|
|
165
|
+
label.classList.remove("".concat(prefixCls, "-form-item-label-left"));
|
|
165
166
|
}
|
|
166
167
|
});
|
|
167
168
|
setState(_objectSpread(_objectSpread({}, state), {}, {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
.pro-theme-prd-tools-drawer {
|
|
2
|
-
|
|
2
|
+
.@{ant-prefix}-drawer-header {
|
|
3
3
|
border-bottom: none;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
.@{ant-prefix}-drawer-title {
|
|
7
7
|
font-size: var(--zaui-font-size-xl, 18px);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
.@{ant-prefix}-drawer-body {
|
|
11
11
|
padding: 0 32px 32px;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
.@{ant-prefix}-space-vertical {
|
|
15
15
|
gap: var(--zaui-space-size-sm, 8px) !important;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -118,12 +118,12 @@
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
|
|
121
|
+
.@{ant-prefix}-radio-button-wrapper {
|
|
122
122
|
padding: 0 28px;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
.pro-theme-tools-form {
|
|
126
|
-
|
|
126
|
+
.@{ant-prefix}-radio-button-wrapper {
|
|
127
127
|
padding: 0 42px;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ProThemeToolsProps } from './propsType';
|
|
2
2
|
declare const ProThemeTools: {
|
|
3
|
-
({ size, className, cacheTime, color, mode, iconFollowTheme, tableBorder, tableStripe, theme, ...props }: ProThemeToolsProps): JSX.Element;
|
|
3
|
+
({ size, className, cacheTime, color, mode, iconFollowTheme, prefixCls, tableBorder, tableStripe, theme, ...props }: ProThemeToolsProps): JSX.Element;
|
|
4
4
|
defaultProps: {
|
|
5
5
|
size: number;
|
|
6
6
|
mode: string;
|