@zat-design/sisyphus-react 4.2.0-beta.3 → 4.2.0-beta.4

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 (76) hide show
  1. package/README.md +16 -5
  2. package/dist/index.esm.css +1 -1
  3. package/dist/less.esm.css +1 -1
  4. package/es/ProAction/index.less +0 -1
  5. package/es/ProDownload/style/index.less +0 -1
  6. package/es/ProDrawerForm/style/index.less +2 -1
  7. package/es/ProEditLabel/style/index.less +0 -1
  8. package/es/ProEditTable/components/Summary/index.d.ts +1 -1
  9. package/es/ProEditTable/style/index.less +150 -114
  10. package/es/ProEditTable/utils/config.d.ts +2 -2
  11. package/es/ProEditTable/utils/tools.d.ts +1 -1
  12. package/es/ProEditTable/utils/useEditTableError.d.ts +1 -1
  13. package/es/ProEnum/hooks/useEnum.js +22 -71
  14. package/es/ProEnum/hooks/useEnumRequest.js +9 -10
  15. package/es/ProEnum/hooks/useFrequentEnumRequest.js +2 -1
  16. package/es/ProEnum/index.d.ts +2 -0
  17. package/es/ProEnum/index.js +4 -2
  18. package/es/ProEnum/style/index.less +0 -1
  19. package/es/ProEnum/utils/frequentEnum.d.ts +1 -2
  20. package/es/ProEnum/utils/frequentEnum.js +2 -2
  21. package/es/ProEnum/utils/getEnum.d.ts +47 -0
  22. package/es/ProEnum/utils/getEnum.js +151 -0
  23. package/es/ProEnum/utils/index.d.ts +13 -3
  24. package/es/ProEnum/utils/index.js +44 -10
  25. package/es/ProForm/components/base/SwitchCheckbox/style/index.less +4 -5
  26. package/es/ProForm/components/base/TimePicker/style/index.less +0 -1
  27. package/es/ProForm/components/combination/Container/style/index.less +18 -19
  28. package/es/ProForm/components/combination/FormList/style/index.less +4 -4
  29. package/es/ProForm/components/combination/Group/style/index.less +43 -50
  30. package/es/ProForm/components/combination/Group/utils/index.d.ts +27 -27
  31. package/es/ProForm/components/combination/ProModalSelect/style/index.less +20 -16
  32. package/es/ProForm/components/combination/ProNumberRange/style/index.less +3 -3
  33. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +1 -1
  34. package/es/ProForm/style/index.less +39 -44
  35. package/es/ProLayout/components/Layout/Header/style/index.less +224 -222
  36. package/es/ProLayout/components/Layout/Icon/style/index.less +1 -1
  37. package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +4 -1
  38. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +9 -7
  39. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +3 -5
  40. package/es/ProLayout/components/Layout/Menu/style/index.less +9 -5
  41. package/es/ProLayout/components/Layout/index.less +4 -4
  42. package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +45 -45
  43. package/es/ProLayout/components/ProCollapse/style/index.less +30 -32
  44. package/es/ProLayout/components/ProFooter/style/index.less +0 -1
  45. package/es/ProLayout/components/ProHeader/PropTypes.d.ts +31 -31
  46. package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +7 -7
  47. package/es/ProLayout/components/ProHeader/style/index.less +8 -9
  48. package/es/ProLayout/components/TabsManager/style/index.less +9 -11
  49. package/es/ProLayout/style/index.less +197 -201
  50. package/es/ProLayout/utils/index.d.ts +1 -1
  51. package/es/ProSelect/style/index.less +0 -1
  52. package/es/ProSelect/utils/index.d.ts +1 -1
  53. package/es/ProStep/components/Item/index.js +1 -1
  54. package/es/ProStep/components/LazyLoad/index.d.ts +19 -0
  55. package/es/ProStep/components/LazyLoad/index.js +55 -0
  56. package/es/ProStep/components/Listener/index.js +1 -1
  57. package/es/ProStep/propsType.d.ts +1 -1
  58. package/es/ProStep/style/index.less +7 -9
  59. package/es/ProTable/components/RcTable/components/DraggableTable/components/DndWrapper/index.d.ts +1 -1
  60. package/es/ProTable/propsType.d.ts +1 -1
  61. package/es/ProTable/style/index.less +24 -22
  62. package/es/ProTooltip/style/index.less +0 -1
  63. package/es/ProTree/components/ProTreeSelect/style/index.less +102 -99
  64. package/es/ProTree/style/index.less +108 -109
  65. package/es/ProTreeModal/style/index.less +10 -9
  66. package/es/ProUpload/style/index.less +20 -22
  67. package/es/global.less +1 -1
  68. package/es/index.d.ts +2 -2
  69. package/es/style/core/normalize.less +11 -2
  70. package/es/style/index.less +2 -2
  71. package/es/style/less.less +2 -2
  72. package/es/style/theme/antd.less +19 -23
  73. package/es/style/theme/base.less +81 -81
  74. package/es/style/theme/tokens.less +13 -14
  75. package/es/style/variables.less +1 -1
  76. package/package.json +23 -20
@@ -1,4 +1,3 @@
1
-
2
1
  .pro-action-error-modal {
3
2
  .ant-modal-content {
4
3
  > div.ant-modal-body {
@@ -1,7 +1,6 @@
1
1
  @import '../../style/variables.less';
2
2
 
3
3
  .pro-download {
4
-
5
4
  &.@{ant-prefix}-btn-link,
6
5
  &.@{ant-prefix}-btn-text {
7
6
  padding: 0;
@@ -79,7 +79,8 @@
79
79
  left: 0;
80
80
  z-index: 101;
81
81
  width: 100%;
82
- padding: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1)) var(--zaui-space-size-lg, 32px);
82
+ padding: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1))
83
+ var(--zaui-space-size-lg, 32px);
83
84
  background-color: var(--zaui-global-bg, #fff);
84
85
  box-shadow: 8px 2px 8px 0 var(--zaui-shadow, rgba(56, 56, 56, 0.15));
85
86
 
@@ -68,7 +68,6 @@
68
68
 
69
69
  .pro-edit-label-popconfirm {
70
70
  z-index: 1001 !important;
71
-
72
71
 
73
72
  .@{ant-prefix}-popover-inner-content {
74
73
  width: 100%;
@@ -8,5 +8,5 @@ interface SummaryProps<T = any> {
8
8
  };
9
9
  rowSelection: any;
10
10
  }
11
- declare const Summary: ({ data, summary, rowSelection, }: SummaryProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const Summary: ({ data, summary, rowSelection }: SummaryProps) => import("react/jsx-runtime").JSX.Element;
12
12
  export default Summary;
@@ -1,19 +1,19 @@
1
1
  @import '../../style/variables.less';
2
2
 
3
3
  .pro-edit-table {
4
- .pro-edit-table-drag-wrapper-cell{
5
- .@{ant-prefix}-btn{
6
- &:hover{
4
+ .pro-edit-table-drag-wrapper-cell {
5
+ .@{ant-prefix}-btn {
6
+ &:hover {
7
7
  background: transparent;
8
8
  }
9
9
  }
10
10
  }
11
- td[rowspan]{
11
+ td[rowspan] {
12
12
  vertical-align: middle !important;
13
13
  }
14
- .@{ant-prefix}-table-content{
15
- .@{ant-prefix}-table-tbody{
16
- .pro-form-item-add .pro-form-view-container{
14
+ .@{ant-prefix}-table-content {
15
+ .@{ant-prefix}-table-tbody {
16
+ .pro-form-item-add .pro-form-view-container {
17
17
  padding: 0;
18
18
  border-radius: 0;
19
19
  }
@@ -30,24 +30,24 @@
30
30
  }
31
31
 
32
32
  .pro-edit-table-tooltip {
33
- display : inline-flex;
33
+ display: inline-flex;
34
34
  align-items: center;
35
35
 
36
36
  .icon-tip {
37
- height : 16px;
38
- margin-left : var(--zaui-space-size-xs, 4px);
37
+ height: 16px;
38
+ margin-left: var(--zaui-space-size-xs, 4px);
39
39
  > div {
40
- height : 16px;
40
+ height: 16px;
41
41
  svg {
42
- width : 16px;
43
- height : 16px;
44
- fill : var(--zaui-aide-text, #909090);
42
+ width: 16px;
43
+ height: 16px;
44
+ fill: var(--zaui-aide-text, #909090);
45
45
  }
46
46
  }
47
47
  svg {
48
- width : 16px;
49
- height : 16px;
50
- fill : var(--zaui-aide-text, #909090);
48
+ width: 16px;
49
+ height: 16px;
50
+ fill: var(--zaui-aide-text, #909090);
51
51
  }
52
52
  }
53
53
  }
@@ -56,7 +56,7 @@
56
56
  text-align: center;
57
57
 
58
58
  .img {
59
- width : 80px;
59
+ width: 80px;
60
60
  height: 80px;
61
61
  }
62
62
 
@@ -73,17 +73,20 @@
73
73
 
74
74
  .is-hidden {
75
75
  position: absolute;
76
- left : -9999px;
76
+ left: -9999px;
77
77
  }
78
78
 
79
-
80
- .is-cell .@{ant-prefix}-form-item .@{ant-prefix}-form-item-row .@{ant-prefix}-form-item-control .@{ant-prefix}-form-item-control-input {
79
+ .is-cell
80
+ .@{ant-prefix}-form-item
81
+ .@{ant-prefix}-form-item-row
82
+ .@{ant-prefix}-form-item-control
83
+ .@{ant-prefix}-form-item-control-input {
81
84
  border: 1px solid transparent;
82
85
 
83
86
  &:hover {
84
- border : 1px solid #DEE0E3;
87
+ border: 1px solid #dee0e3;
85
88
  border-radius: var(--zaui-border-radius, 8px);
86
- text-indent : 5px;
89
+ text-indent: 5px;
87
90
  }
88
91
  }
89
92
 
@@ -106,13 +109,13 @@
106
109
  }
107
110
 
108
111
  &.pro-table-no-stripe {
109
- .@{ant-prefix}-table-tbody tr:nth-child(n)>td {
112
+ .@{ant-prefix}-table-tbody tr:nth-child(n) > td {
110
113
  background-color: var(--zaui-base-bg, #fff);
111
114
  }
112
115
  }
113
116
 
114
- .pro-group{
115
- .@{ant-prefix}-space-compact{
117
+ .pro-group {
118
+ .@{ant-prefix}-space-compact {
116
119
  gap: 0;
117
120
  }
118
121
  }
@@ -129,18 +132,24 @@
129
132
  }
130
133
  }
131
134
 
132
- .@{ant-prefix}-table-header>table .@{ant-prefix}-table-thead>tr>th:not(.@{ant-prefix}-table-selection-column):not(.@{ant-prefix}-table-row-expand-icon-cell):not([colspan]).is-required {
135
+ .@{ant-prefix}-table-header
136
+ > table
137
+ .@{ant-prefix}-table-thead
138
+ > tr
139
+ > th:not(.@{ant-prefix}-table-selection-column):not(
140
+ .@{ant-prefix}-table-row-expand-icon-cell
141
+ ):not([colspan]).is-required {
133
142
  &.is-required-right {
134
143
  .pro-edit-table-title {
135
144
  &::before {
136
- position : static;
137
- top : 0;
138
- display : inline-block;
145
+ position: static;
146
+ top: 0;
147
+ display: inline-block;
139
148
  text-indent: -8px;
140
- color : #ff5050;
141
- font-size : var(--zaui-font-size-md, 14px);
149
+ color: #ff5050;
150
+ font-size: var(--zaui-font-size-md, 14px);
142
151
  line-height: 1;
143
- content : "*";
152
+ content: '*';
144
153
  }
145
154
  }
146
155
  }
@@ -148,14 +157,14 @@
148
157
  .pro-edit-table-title {
149
158
  &::after {
150
159
  width: auto;
151
- position : static;
152
- top : 0;
153
- display : inline-block;
160
+ position: static;
161
+ top: 0;
162
+ display: inline-block;
154
163
  margin-left: var(--zaui-space-size-xs, 4px);
155
- color : #ff5050;
156
- font-size : 14px;
164
+ color: #ff5050;
165
+ font-size: 14px;
157
166
  line-height: 1;
158
- content : "*";
167
+ content: '*';
159
168
  }
160
169
  }
161
170
  }
@@ -170,55 +179,57 @@
170
179
  }
171
180
 
172
181
  .@{ant-prefix}-table-content {
173
- >table {
182
+ > table {
174
183
  .@{ant-prefix}-table-summary {
175
184
  background-color: var(--zaui-table-header-bg, #f2f3f5);
176
- color : var(--zaui-text, #343434);
177
- font-weight : 600;
178
- td{
185
+ color: var(--zaui-text, #343434);
186
+ font-weight: 600;
187
+ td {
179
188
  padding: 8px 16px;
180
- &:first-child{
189
+ &:first-child {
181
190
  // 左下角圆角8px
182
191
  border-bottom-left-radius: 6px;
183
- }
184
- &:last-child{
192
+ }
193
+ &:last-child {
185
194
  // 右下角圆角8px
186
195
  border-bottom-right-radius: 6px;
187
- }
196
+ }
188
197
  }
189
198
  .@{ant-prefix}-table-cell-fix-left,
190
199
  .@{ant-prefix}-table-cell-fix-right {
191
200
  background-color: var(--zaui-table-header-bg, #f2f3f5);
192
-
193
201
  }
194
202
  }
195
203
 
196
204
  th.@{ant-prefix}-table-selection-column {
197
205
  width: 48px;
198
206
  }
199
- .@{ant-prefix}-table-cell-fix{
207
+ .@{ant-prefix}-table-cell-fix {
200
208
  background-color: var(--zaui-table-header-bg, #f2f3f5);
201
209
  }
202
210
 
203
211
  td {
204
-
205
212
  .pro-form-view-container_nowrap {
206
213
  white-space: normal;
207
214
  }
208
215
  }
209
216
 
210
- .@{ant-prefix}-table-thead>tr>th:not(.@{ant-prefix}-table-selection-column):not(.@{ant-prefix}-table-row-expand-icon-cell):not([colspan]).is-required {
217
+ .@{ant-prefix}-table-thead
218
+ > tr
219
+ > th:not(.@{ant-prefix}-table-selection-column):not(
220
+ .@{ant-prefix}-table-row-expand-icon-cell
221
+ ):not([colspan]).is-required {
211
222
  &.is-required-right {
212
223
  .pro-edit-table-title {
213
224
  &::before {
214
- position : static;
215
- top : 0;
216
- display : inline-block;
225
+ position: static;
226
+ top: 0;
227
+ display: inline-block;
217
228
  text-indent: -8px;
218
- color : #ff5050;
219
- font-size : var(--zaui-font-size-md, 14px);
229
+ color: #ff5050;
230
+ font-size: var(--zaui-font-size-md, 14px);
220
231
  line-height: 1;
221
- content : "*";
232
+ content: '*';
222
233
  }
223
234
  }
224
235
  }
@@ -226,14 +237,14 @@
226
237
  .pro-edit-table-title {
227
238
  &::after {
228
239
  width: auto;
229
- position : static;
230
- top : 0;
231
- display : inline-block;
240
+ position: static;
241
+ top: 0;
242
+ display: inline-block;
232
243
  margin-left: var(--zaui-space-size-xs, 4px);
233
- color : #ff5050;
234
- font-size : 14px;
244
+ color: #ff5050;
245
+ font-size: 14px;
235
246
  line-height: 1;
236
- content : "*";
247
+ content: '*';
237
248
  }
238
249
  }
239
250
  }
@@ -247,76 +258,78 @@
247
258
  }
248
259
  }
249
260
 
250
- .@{ant-prefix}-table.@{ant-prefix}-table-bordered>.@{ant-prefix}-table-container {
261
+ .@{ant-prefix}-table.@{ant-prefix}-table-bordered > .@{ant-prefix}-table-container {
251
262
  border: 0;
252
263
  }
253
264
 
254
- .@{ant-prefix}-table-thead>tr>th {
255
- border : 0;
265
+ .@{ant-prefix}-table-thead > tr > th {
266
+ border: 0;
256
267
  background-color: var(--zaui-table-header-bg, #f2f3f5);
257
268
  }
258
269
 
259
- .@{ant-prefix}-table-thead>tr>th:not(:last-child):not(.@{ant-prefix}-table-selection-column):not(.@{ant-prefix}-table-row-expand-icon-cell):not([colspan])::before {
270
+ .@{ant-prefix}-table-thead
271
+ > tr
272
+ > th:not(:last-child):not(.@{ant-prefix}-table-selection-column):not(
273
+ .@{ant-prefix}-table-row-expand-icon-cell
274
+ ):not([colspan])::before {
260
275
  height: 0;
261
276
  }
262
277
 
263
- .@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-placeholder)>td {
278
+ .@{ant-prefix}-table-tbody > tr:not(.@{ant-prefix}-table-placeholder) > td {
264
279
  border-bottom: 0;
265
- border-right : 0;
266
- border-top : 0;
280
+ border-right: 0;
281
+ border-top: 0;
267
282
  }
268
283
 
269
- .@{ant-prefix}-table-tbody>.is-editing:not(.@{ant-prefix}-table-measure-row)>td {
270
- border-bottom : 0;
284
+ .@{ant-prefix}-table-tbody > .is-editing:not(.@{ant-prefix}-table-measure-row) > td {
285
+ border-bottom: 0;
271
286
  // vertical-align: top;
272
287
  vertical-align: middle;
273
288
  }
274
289
 
275
- .@{ant-prefix}-table-tbody tr:nth-child(n)>td {
290
+ .@{ant-prefix}-table-tbody tr:nth-child(n) > td {
276
291
  background-color: var(--zaui-base-bg, #ffffff);
277
292
  }
278
293
 
279
- .@{ant-prefix}-table-tbody tr:nth-child(2n)>td {
280
- background-color: var(--zaui-table-strip-bg, #FAFAFA);
294
+ .@{ant-prefix}-table-tbody tr:nth-child(2n) > td {
295
+ background-color: var(--zaui-table-strip-bg, #fafafa);
281
296
  }
282
297
 
283
- .@{ant-prefix}-table-tbody>.@{ant-prefix}-table-placeholder>td {
298
+ .@{ant-prefix}-table-tbody > .@{ant-prefix}-table-placeholder > td {
284
299
  background-color: var(--zaui-base-bg, #ffffff);
285
300
  }
286
301
 
287
302
  .@{ant-prefix}-table-tbody {
288
-
289
- >tr:hover:not(.@{ant-prefix}-table-expanded-row)>td,
303
+ > tr:hover:not(.@{ant-prefix}-table-expanded-row) > td,
290
304
  .@{ant-prefix}-table-row-hover,
291
- .@{ant-prefix}-table-row-hover>td {
292
- background: #FAFAFA;
305
+ .@{ant-prefix}-table-row-hover > td {
306
+ background: #fafafa;
293
307
  }
294
- >tr:hover:not(.@{ant-prefix}-table-placeholder)>td,
308
+ > tr:hover:not(.@{ant-prefix}-table-placeholder) > td,
295
309
  .@{ant-prefix}-table-row-hover,
296
- .@{ant-prefix}-table-row-hover>td {
297
- background: #FAFAFA;
310
+ .@{ant-prefix}-table-row-hover > td {
311
+ background: #fafafa;
298
312
  }
299
313
  }
300
314
 
301
315
  .@{ant-prefix}-table-fixed {
302
-
303
316
  .@{ant-prefix}-table-row-hover,
304
- .@{ant-prefix}-table-row-hover>td {
305
- background: #FAFAFA;
317
+ .@{ant-prefix}-table-row-hover > td {
318
+ background: #fafafa;
306
319
  }
307
320
  }
308
321
 
309
322
  .@{ant-prefix}-table-fixed-header {
310
- .@{ant-prefix}-table-tbody tr:nth-child(n)>td {
311
- background-color: #FAFAFA;
323
+ .@{ant-prefix}-table-tbody tr:nth-child(n) > td {
324
+ background-color: #fafafa;
312
325
  }
313
326
 
314
- .@{ant-prefix}-table-tbody tr:nth-child(2n)>td {
327
+ .@{ant-prefix}-table-tbody tr:nth-child(2n) > td {
315
328
  background-color: var(--zaui-base-bg, #ffffff);
316
329
  }
317
330
  }
318
331
 
319
- .@{ant-prefix}-table-summary>tr>td {
332
+ .@{ant-prefix}-table-summary > tr > td {
320
333
  border-bottom: none;
321
334
  }
322
335
 
@@ -328,18 +341,42 @@
328
341
  }
329
342
  }
330
343
 
331
- .@{ant-prefix}-table table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row td,
332
- .@{ant-prefix}-table table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row td.@{ant-prefix}-table-cell-fix-left,
333
- .@{ant-prefix}-table table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row td.@{ant-prefix}-table-cell-fix-right,
334
- .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row td,
335
- .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row td.@{ant-prefix}-table-cell-fix-left,
336
- .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row td.@{ant-prefix}-table-cell-fix-right{
344
+ .@{ant-prefix}-table table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row td,
345
+ .@{ant-prefix}-table
346
+ table
347
+ .@{ant-prefix}-table-tbody
348
+ .is-new-row.@{ant-prefix}-table-row
349
+ td.@{ant-prefix}-table-cell-fix-left,
350
+ .@{ant-prefix}-table
351
+ table
352
+ .@{ant-prefix}-table-tbody
353
+ .is-new-row.@{ant-prefix}-table-row
354
+ td.@{ant-prefix}-table-cell-fix-right,
355
+ .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal
356
+ table
357
+ .@{ant-prefix}-table-tbody
358
+ .is-new-row.@{ant-prefix}-table-row
359
+ td,
360
+ .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal
361
+ table
362
+ .@{ant-prefix}-table-tbody
363
+ .is-new-row.@{ant-prefix}-table-row
364
+ td.@{ant-prefix}-table-cell-fix-left,
365
+ .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal
366
+ table
367
+ .@{ant-prefix}-table-tbody
368
+ .is-new-row.@{ant-prefix}-table-row
369
+ td.@{ant-prefix}-table-cell-fix-right {
337
370
  background-color: var(--zaui-contract-bg-add, #d2fff4) !important;
338
- border-bottom: 1px solid var(--zaui-form-control-line,#dcdcdc) ;
371
+ border-bottom: 1px solid var(--zaui-form-control-line, #dcdcdc);
339
372
  }
340
373
  .@{ant-prefix}-table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row:hover,
341
- .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal table .@{ant-prefix}-table-tbody .is-new-row.@{ant-prefix}-table-row:hover{
342
- td, .@{ant-prefix}-table-cell-row-hover {
374
+ .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal
375
+ table
376
+ .@{ant-prefix}-table-tbody
377
+ .is-new-row.@{ant-prefix}-table-row:hover {
378
+ td,
379
+ .@{ant-prefix}-table-cell-row-hover {
343
380
  background-color: var(--zaui-contract-bg-add, #d2fff4) !important;
344
381
  }
345
382
  }
@@ -349,7 +386,7 @@
349
386
  scrollbar-face-color: #d2d3d7;
350
387
  scrollbar-highlight-color: #979797;
351
388
  scrollbar-3dlight-color: #979797;
352
-
389
+
353
390
  // 悬浮轨道
354
391
  ::-webkit-scrollbar-thumb {
355
392
  background-color: #979797;
@@ -360,11 +397,11 @@
360
397
  border-radius: 10px;
361
398
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
362
399
  }
363
-
400
+
364
401
  ::-webkit-scrollbar-track {
365
402
  background: transparent;
366
403
  }
367
-
404
+
368
405
  ::-webkit-scrollbar-thumb {
369
406
  background-color: #d2d3d7;
370
407
  background-clip: padding-box;
@@ -374,19 +411,18 @@
374
411
  border-radius: 10px;
375
412
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
376
413
  }
377
-
414
+
378
415
  ::-webkit-scrollbar-thumb {
379
416
  background-color: #979797;
380
417
  }
381
-
418
+
382
419
  ::-webkit-scrollbar-track {
383
420
  background: transparent;
384
421
  }
385
422
  }
386
-
387
423
  }
388
424
 
389
- .pro-edit-table-footer{
425
+ .pro-edit-table-footer {
390
426
  margin-top: 12px;
391
427
  }
392
428
 
@@ -419,29 +455,29 @@
419
455
  }
420
456
 
421
457
  .pro-edit-table-drag {
422
- table tr th.@{ant-prefix}-table-selection-column.@{ant-prefix}-table-cell-fix-left{
458
+ table tr th.@{ant-prefix}-table-selection-column.@{ant-prefix}-table-cell-fix-left {
423
459
  text-align: right;
424
460
  }
425
- table tr th.@{ant-prefix}-table-selection-column.@{ant-prefix}-table-cell-fix-start{
461
+ table tr th.@{ant-prefix}-table-selection-column.@{ant-prefix}-table-cell-fix-start {
426
462
  text-align: right;
427
463
  }
428
- table .@{ant-prefix}-table-thead{
429
- th.@{ant-prefix}-table-selection-column.@{ant-prefix}-table-cell-fix-start{
464
+ table .@{ant-prefix}-table-thead {
465
+ th.@{ant-prefix}-table-selection-column.@{ant-prefix}-table-cell-fix-start {
430
466
  text-align: left;
431
- .@{ant-prefix}-table-selection{
467
+ .@{ant-prefix}-table-selection {
432
468
  padding-left: 27px;
433
469
  }
434
470
  }
435
471
  }
436
- table .@{ant-prefix}-table-tbody{
472
+ table .@{ant-prefix}-table-tbody {
437
473
  td.@{ant-prefix}-table-selection-column {
438
474
  padding-left: 38px;
439
475
  }
440
476
  }
441
477
  }
442
478
 
443
- .pro-edit-table{
444
- .pro-tree-modal .pro-tree-modal-isView .pro-enum-input-addonAfter{
479
+ .pro-edit-table {
480
+ .pro-tree-modal .pro-tree-modal-isView .pro-enum-input-addonAfter {
445
481
  border: none;
446
482
  padding-left: 0;
447
483
  }
@@ -16,9 +16,9 @@ export declare const defaultMultipleActionKeys: string[];
16
16
  export declare const defaultEditingActionKeys: string[];
17
17
  export declare const defaultToolbarKeys: string[];
18
18
  export declare const actions: {
19
- edit: ({ record, editingKeys, setState, form, virtualRowName, virtualKey, onlyOneLineMsg }: any) => boolean;
19
+ edit: ({ record, editingKeys, setState, form, virtualRowName, virtualKey, onlyOneLineMsg, }: any) => boolean;
20
20
  save: ({ record, editingKeys, setState, form, rowName, virtualRowName, result }: any) => Promise<void>;
21
- cancel: ({ name, record, editingKeys, setState, form, virtualRowName, virtualKey, rowName }: any) => void;
21
+ cancel: ({ name, record, editingKeys, setState, form, virtualRowName, virtualKey, rowName, }: any) => void;
22
22
  delete: ({ name, record, editingKeys, setState, form, virtualKey, onlyOneLineMsg }: any) => boolean;
23
23
  add: ({ result, insertType, editingKeys, setState, form, name, virtualName, virtualKey, onlyOneLineMsg, tableRef, prefixCls, page, handlePageChange, }: any) => Promise<boolean>;
24
24
  mulDelete: ({ form, name, virtualKey, setState, selectedRowKeys, editingKeys }: any) => void;
@@ -80,7 +80,7 @@ export declare function cloneDeepFilterNode<T>(value: T): T;
80
80
  /**
81
81
  * 分页校验
82
82
  */
83
- export declare const onPageCheck: ({ form, name, value, columns, setState, page, pagination, isView, disabled }: {
83
+ export declare const onPageCheck: ({ form, name, value, columns, setState, page, pagination, isView, disabled, }: {
84
84
  form: any;
85
85
  name: any;
86
86
  value: any;
@@ -3,5 +3,5 @@ interface UseEditTableErrorProps {
3
3
  className: string;
4
4
  isEnabled: boolean;
5
5
  }
6
- declare const useEditTableError: ({ containerNode, className, isEnabled }: UseEditTableErrorProps) => [number];
6
+ declare const useEditTableError: ({ containerNode, className, isEnabled, }: UseEditTableErrorProps) => [number];
7
7
  export default useEditTableError;