es-grid-template 0.1.0 → 0.1.2-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/grid-component/ColumnsChoose.d.ts +3 -4
- package/es/grid-component/ColumnsChoose.js +28 -15
- package/es/grid-component/Command.d.ts +8 -0
- package/es/grid-component/Command.js +81 -0
- package/es/grid-component/ContextMenu.d.ts +2 -2
- package/es/grid-component/ContextMenu.js +1 -0
- package/es/grid-component/EditableCell.js +300 -314
- package/es/grid-component/GridStyle.js +1 -1
- package/es/grid-component/InternalTable.js +52 -28
- package/es/grid-component/TableGrid.d.ts +2 -1
- package/es/grid-component/TableGrid.js +64 -18
- package/es/grid-component/async-select/index.d.ts +9 -0
- package/es/grid-component/async-select/index.js +35 -0
- package/es/grid-component/hooks/constant.d.ts +10 -0
- package/es/grid-component/hooks/constant.js +11 -1
- package/es/grid-component/hooks/useColumns/index.js +7 -4
- package/es/grid-component/hooks/utils.d.ts +2 -0
- package/es/grid-component/hooks/utils.js +11 -0
- package/es/grid-component/index.d.ts +3 -0
- package/es/grid-component/styles.scss +282 -214
- package/es/grid-component/table/Grid.js +46 -59
- package/es/grid-component/table/GridEdit.d.ts +4 -0
- package/es/grid-component/table/GridEdit.js +106 -19
- package/es/grid-component/type.d.ts +32 -14
- package/es/grid-component/useContext.d.ts +11 -7
- package/es/grid-component/useContext.js +3 -0
- package/es/index.d.ts +1 -0
- package/lib/grid-component/ColumnsChoose.d.ts +3 -4
- package/lib/grid-component/ColumnsChoose.js +27 -14
- package/lib/grid-component/Command.d.ts +8 -0
- package/lib/grid-component/Command.js +90 -0
- package/lib/grid-component/ContextMenu.d.ts +2 -2
- package/lib/grid-component/ContextMenu.js +2 -0
- package/lib/grid-component/EditableCell.js +297 -311
- package/lib/grid-component/GridStyle.js +1 -1
- package/lib/grid-component/InternalTable.js +51 -27
- package/lib/grid-component/TableGrid.d.ts +2 -1
- package/lib/grid-component/TableGrid.js +63 -17
- package/lib/grid-component/async-select/index.d.ts +9 -0
- package/lib/grid-component/async-select/index.js +44 -0
- package/lib/grid-component/hooks/constant.d.ts +10 -0
- package/lib/grid-component/hooks/constant.js +12 -2
- package/lib/grid-component/hooks/useColumns/index.js +7 -4
- package/lib/grid-component/hooks/utils.d.ts +2 -0
- package/lib/grid-component/hooks/utils.js +16 -3
- package/lib/grid-component/index.d.ts +3 -0
- package/lib/grid-component/styles.scss +282 -214
- package/lib/grid-component/table/Grid.js +46 -59
- package/lib/grid-component/table/GridEdit.d.ts +4 -0
- package/lib/grid-component/table/GridEdit.js +106 -19
- package/lib/grid-component/type.d.ts +32 -14
- package/lib/grid-component/useContext.d.ts +11 -7
- package/lib/grid-component/useContext.js +2 -0
- package/lib/index.d.ts +1 -0
- package/package.json +102 -112
- /package/es/{grid-component/Message → Message}/Message.d.ts +0 -0
- /package/es/{grid-component/Message → Message}/Message.js +0 -0
- /package/es/{grid-component/Message → Message}/index.d.ts +0 -0
- /package/es/{grid-component/Message → Message}/index.js +0 -0
- /package/lib/{grid-component/Message → Message}/Message.d.ts +0 -0
- /package/lib/{grid-component/Message → Message}/Message.js +0 -0
- /package/lib/{grid-component/Message → Message}/index.d.ts +0 -0
- /package/lib/{grid-component/Message → Message}/index.js +0 -0
|
@@ -5,12 +5,13 @@ $rowHoverBg: #FBDED6 !default;
|
|
|
5
5
|
$rowSelectedBg: #FEF2EF !default;
|
|
6
6
|
//$tableBorderColor: red !default;
|
|
7
7
|
$tableBorderColor: #e0e0e0 !default;
|
|
8
|
+
//$tableBorderColor: #f0f0f0 !default;
|
|
8
9
|
$border-radius: 6px !default;
|
|
9
10
|
$body-color: #ffffff !default;
|
|
10
11
|
$cell-selected-bg: #E6EFFD !default;
|
|
11
12
|
$cell-index-selected-bg: #0550C5 !default;
|
|
12
13
|
$cell-index-focus-bg: #CEDBEF !default;
|
|
13
|
-
|
|
14
|
+
$rowSelectedHoverBg: 'ui-rc' !default;
|
|
14
15
|
|
|
15
16
|
.react-hot-toast {
|
|
16
17
|
font-size: 1rem;
|
|
@@ -24,82 +25,188 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
24
25
|
min-width: 200px;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
|
-
.react-resizable {
|
|
28
|
-
position: relative;
|
|
29
|
-
background-clip: padding-box;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.react-resizable-handle {
|
|
33
|
-
position: absolute;
|
|
34
|
-
//right: 10px;
|
|
35
|
-
right: 0px;
|
|
36
|
-
bottom: 0;
|
|
37
|
-
z-index: 1;
|
|
38
|
-
width: 5px;
|
|
39
|
-
height: 100%;
|
|
40
|
-
cursor: col-resize;
|
|
41
|
-
//transform: translateY(-50%);
|
|
42
|
-
&.none {
|
|
43
|
-
cursor: auto;
|
|
44
|
-
display: none;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
28
|
// -------------- Table -------------
|
|
29
|
+
|
|
49
30
|
.#{$prefix}-table-wrapper {
|
|
50
|
-
|
|
31
|
+
|
|
32
|
+
.#{$prefix}-table-tbody-virtual {
|
|
51
33
|
.#{$prefix}-table-cell {
|
|
52
|
-
|
|
53
|
-
padding: 0 !important;
|
|
54
|
-
overflow: hidden !important;
|
|
55
|
-
border-inline-end: 0 !important;
|
|
56
|
-
//flex: 0 0 0 !important;
|
|
57
|
-
//width: 0 !important;
|
|
58
|
-
}
|
|
34
|
+
border-bottom: 1px solid $tableBorderColor;
|
|
59
35
|
}
|
|
60
36
|
}
|
|
61
37
|
|
|
38
|
+
.#{$prefix}-table-bordered {
|
|
39
|
+
|
|
40
|
+
.#{$prefix}-table-tbody-virtual {
|
|
41
|
+
.#{$prefix}-table-cell {
|
|
42
|
+
border-inline-end: 1px solid $tableBorderColor;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
}
|
|
62
47
|
|
|
63
48
|
.#{$prefix}-table-tbody {
|
|
64
49
|
.#{$prefix}-table-row {
|
|
65
50
|
&.#{$prefix}-table-row-selected {
|
|
66
|
-
|
|
51
|
+
> .#{$prefix}-table-cell {
|
|
67
52
|
background: #FEF2EF;
|
|
68
53
|
}
|
|
69
54
|
}
|
|
70
|
-
|
|
55
|
+
|
|
56
|
+
> .#{$prefix}-table-cell {
|
|
71
57
|
&.#{$prefix}-table-cell-row-hover {
|
|
72
58
|
background: #FBDED6;
|
|
73
59
|
}
|
|
60
|
+
|
|
61
|
+
&.ui-rc-cell-command {
|
|
62
|
+
padding: 3px 8px;
|
|
63
|
+
|
|
64
|
+
.ui-rc-cell-command__content {
|
|
65
|
+
display: flex;
|
|
66
|
+
gap: 5px;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.#{$prefix}-table-thead {
|
|
77
|
+
|
|
78
|
+
> tr {
|
|
79
|
+
> th,
|
|
80
|
+
> td {
|
|
81
|
+
border-bottom: 1px solid $tableBorderColor;
|
|
74
82
|
}
|
|
75
83
|
}
|
|
76
84
|
|
|
85
|
+
.ui-rc-table-cell {
|
|
86
|
+
&.ui-rc-table-cell-fix-left-last {
|
|
87
|
+
.ui-rc-table-cell-content {
|
|
88
|
+
//overflow: visible;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
77
92
|
}
|
|
78
93
|
|
|
79
|
-
.#{$prefix}-table-
|
|
94
|
+
.#{$prefix}-table-summary {
|
|
80
95
|
.#{$prefix}-table-cell {
|
|
96
|
+
background-color: #fafafa;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
> tr > td {
|
|
81
100
|
border-bottom: 1px solid $tableBorderColor;
|
|
82
101
|
}
|
|
83
102
|
}
|
|
84
103
|
|
|
85
|
-
.#{$prefix}-table-bordered {
|
|
104
|
+
.#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first:before {
|
|
105
|
+
border-inline-start: 1px solid $tableBorderColor;
|
|
106
|
+
}
|
|
86
107
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
108
|
+
.#{$prefix}-table {
|
|
109
|
+
|
|
110
|
+
&.#{$prefix}-table-bordered {
|
|
111
|
+
> .#{$prefix}-table-container {
|
|
112
|
+
border-inline-start: 1px solid $tableBorderColor;
|
|
113
|
+
border-top: 1px solid $tableBorderColor;
|
|
114
|
+
|
|
115
|
+
> .#{$prefix}-table-content,
|
|
116
|
+
> .#{$prefix}-table-header,
|
|
117
|
+
> .#{$prefix}-table-body,
|
|
118
|
+
> .#{$prefix}-table-summary {
|
|
119
|
+
> table {
|
|
120
|
+
> thead {
|
|
121
|
+
> tr:not(:last-child) {
|
|
122
|
+
> th {
|
|
123
|
+
border-bottom: 1px solid #eb4619;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
> .#{$prefix}-table-content,
|
|
132
|
+
> .#{$prefix}-table-header,
|
|
133
|
+
> .#{$prefix}-table-body,
|
|
134
|
+
> .#{$prefix}-table-summary {
|
|
135
|
+
> table {
|
|
136
|
+
> thead,
|
|
137
|
+
> tbody,
|
|
138
|
+
> tfoot {
|
|
139
|
+
> tr {
|
|
140
|
+
> th,
|
|
141
|
+
> td {
|
|
142
|
+
border-inline-end: 1px solid $tableBorderColor;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
> .#{$prefix}-table-title {
|
|
152
|
+
border: 1px solid $tableBorderColor;
|
|
153
|
+
border-bottom: 0;
|
|
90
154
|
}
|
|
91
155
|
}
|
|
92
156
|
|
|
157
|
+
&.#{$prefix}-table-ping-right:not(.#{$prefix}-table-has-fix-right) .#{$prefix}-table-container::after {
|
|
158
|
+
box-shadow: inset -10px 0 8px -8px rgba(5, 5, 5, 0.2);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.#{$prefix}-table-ping-left {
|
|
164
|
+
.#{$prefix}-table-cell-fix-left-first::after,
|
|
165
|
+
.#{$prefix}-table-cell-fix-left-last::after {
|
|
166
|
+
box-shadow: inset 10px 0 8px -8px rgba(5, 5, 5, 0.1);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.#{$prefix}-table-ping-right {
|
|
171
|
+
.#{$prefix}-table-cell-fix-right-first::after,
|
|
172
|
+
.#{$prefix}-table-cell-fix-right-last::after {
|
|
173
|
+
box-shadow: inset -10px 0 8px -8px rgba(5, 5, 5, 0.1);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
.#{$prefix}-table.#{$prefix}-table-bordered {
|
|
179
|
+
> .#{$prefix}-table-container {
|
|
180
|
+
> .#{$prefix}-table-header > table > thead > tr,
|
|
181
|
+
> .#{$prefix}-table-summary > table > tfoot > tr {
|
|
182
|
+
> .#{$prefix}-table-cell-fix-right-first::before {
|
|
183
|
+
border-inline-start: 1px solid red;
|
|
184
|
+
content: "";
|
|
185
|
+
position: absolute;
|
|
186
|
+
inset-block: 0;
|
|
187
|
+
inset-inline-start: -1px;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
93
191
|
}
|
|
94
192
|
|
|
95
|
-
|
|
193
|
+
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
// -------------- Table edit-------------
|
|
197
|
+
|
|
198
|
+
.#{$prefix}-table-wrapper {
|
|
96
199
|
|
|
97
200
|
&.grid-editable {
|
|
98
201
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
202
|
+
//.#{$prefix}-table.#{$prefix}-table-small .#{$prefix}-table-cell,
|
|
203
|
+
//.#{$prefix}-table.#{$prefix}-table-small .cell-editable,
|
|
204
|
+
//.#{$prefix}-table.#{$prefix}-table-small .#{$prefix}-table-tbody>tr>th,
|
|
205
|
+
//.#{$prefix}-table.#{$prefix}-table-small .#{$prefix}-table-tbody>tr>td {
|
|
206
|
+
// padding: 0;
|
|
207
|
+
//}
|
|
208
|
+
|
|
209
|
+
.#{$prefix}-table.#{$prefix}-table-small .rc-ui-cell-editable{
|
|
103
210
|
padding: 0;
|
|
104
211
|
}
|
|
105
212
|
|
|
@@ -174,193 +281,106 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
174
281
|
}
|
|
175
282
|
}
|
|
176
283
|
|
|
284
|
+
.ui-rc-checkbox-wrapper {
|
|
285
|
+
.ui-rc-checkbox {
|
|
286
|
+
background-color: red;
|
|
287
|
+
}
|
|
288
|
+
.ui-rc-checkbox-input {
|
|
289
|
+
&:focus-visible {
|
|
290
|
+
outline: none;
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
177
295
|
|
|
178
296
|
.ant-input, .ant-picker{
|
|
179
297
|
border-radius: 0;
|
|
180
298
|
}
|
|
181
|
-
}
|
|
182
|
-
&.cell-editable {
|
|
183
|
-
padding: 0;
|
|
184
|
-
&:focus-visible {
|
|
185
|
-
outline: none;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.ui-rc_cell-content,
|
|
190
|
-
.ui-rc-table-cell-content{
|
|
191
|
-
height: 100%;
|
|
192
|
-
}
|
|
193
|
-
.ui-rc_content {
|
|
194
|
-
padding: 5px 8px;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
}
|
|
200
299
|
|
|
201
|
-
|
|
300
|
+
// color picker
|
|
202
301
|
|
|
203
|
-
|
|
302
|
+
.ant-color-picker-trigger{
|
|
303
|
+
height: 100%;
|
|
304
|
+
border-radius: 0;
|
|
305
|
+
.ant-color-picker-color-block {
|
|
306
|
+
height: 100%;
|
|
307
|
+
width: 100%;
|
|
308
|
+
}
|
|
204
309
|
|
|
205
|
-
|
|
206
|
-
box-shadow: inset -10px 0 8px -8px rgba(5, 5, 5, 0.2);
|
|
207
|
-
}
|
|
310
|
+
}
|
|
208
311
|
|
|
209
|
-
&.#{$prefix}-table-bordered {
|
|
210
|
-
> .#{$prefix}-table-container {
|
|
211
|
-
border-inline-start: 1px solid $tableBorderColor;
|
|
212
|
-
//border-inline-end: 1px solid $tableBorderColor;
|
|
213
|
-
border-top: 1px solid $tableBorderColor;
|
|
214
312
|
|
|
215
|
-
|
|
216
|
-
> .#{$prefix}-table-header,
|
|
217
|
-
> .#{$prefix}-table-body,
|
|
218
|
-
> .#{$prefix}-table-summary {
|
|
219
|
-
> table {
|
|
220
|
-
> thead {
|
|
221
|
-
> tr:not(:last-child) {
|
|
222
|
-
> th {
|
|
223
|
-
border-bottom: 1px solid $tableBorderColor;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
313
|
+
// ------------ select ---------------
|
|
229
314
|
|
|
315
|
+
.ui-rc-table-select-single .ui-rc-table-select-selector,
|
|
316
|
+
.ui-rc-select-single .ui-rc-select-selector {
|
|
230
317
|
|
|
318
|
+
border-radius: 0;
|
|
231
319
|
|
|
320
|
+
}
|
|
232
321
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
> table {
|
|
238
|
-
> thead,
|
|
239
|
-
> tbody,
|
|
240
|
-
> tfoot {
|
|
241
|
-
> tr {
|
|
242
|
-
> th,
|
|
243
|
-
> td {
|
|
244
|
-
border-inline-end: 1px solid $tableBorderColor;
|
|
245
|
-
}
|
|
322
|
+
.ui-rc-table-select-single:not(.ui-rc-table-select-customize-input) {
|
|
323
|
+
.ui-rc-table-select-selector {
|
|
324
|
+
.ui-rc-table-select-selection-search-input {
|
|
325
|
+
height: auto;
|
|
246
326
|
}
|
|
247
327
|
}
|
|
248
328
|
}
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
}
|
|
252
329
|
|
|
253
|
-
|
|
254
|
-
border: 1px solid $tableBorderColor;
|
|
255
|
-
border-bottom: 0;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
.#{$prefix}-select-single .#{$prefix}-select-selector {
|
|
261
|
-
border-radius: 0;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
.#{$prefix}-table-thead >tr>th,
|
|
267
|
-
.#{$prefix}-table-thead >tr>td {
|
|
268
|
-
background-color: #ffffff;
|
|
269
|
-
}
|
|
330
|
+
// ------------ select ---------------
|
|
270
331
|
|
|
271
|
-
.#{$prefix}-table-thead {
|
|
272
332
|
|
|
273
|
-
> tr {
|
|
274
|
-
> th,
|
|
275
|
-
> td {
|
|
276
|
-
border-bottom: 1px solid $tableBorderColor;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
.ui-rc-table-cell {
|
|
280
|
-
&.ui-rc-table-cell-fix-left-last {
|
|
281
|
-
.ui-rc-table-cell-content {
|
|
282
|
-
overflow: visible;
|
|
283
333
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
.#{$prefix}-table-cell {
|
|
290
|
-
background-color: #fafafa;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
> tr > td {
|
|
294
|
-
border-bottom: 1px solid $tableBorderColor;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
.#{$prefix}-table-bordered .#{$prefix}-table-tbody-virtual .#{$prefix}-table-cell.#{$prefix}-table-cell-fix-right-first:before {
|
|
299
|
-
border-inline-start: 1px solid $tableBorderColor;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.#{$prefix}-table.#{$prefix}-table-bordered {
|
|
303
|
-
> .#{$prefix}-table-container {
|
|
304
|
-
> .#{$prefix}-table-header > table > thead > tr,
|
|
305
|
-
> .#{$prefix}-table-summary > table > tfoot > tr {
|
|
306
|
-
> .#{$prefix}-table-cell-fix-right-first::before {
|
|
307
|
-
border-inline-start: 1px solid $tableBorderColor;
|
|
308
|
-
content: "";
|
|
309
|
-
position: absolute;
|
|
310
|
-
inset-block: 0;
|
|
311
|
-
inset-inline-start: -1px;
|
|
334
|
+
&.cell-editable {
|
|
335
|
+
padding: 0;
|
|
336
|
+
&:focus-visible {
|
|
337
|
+
outline: none;
|
|
338
|
+
}
|
|
312
339
|
}
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
340
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
341
|
+
.ui-rc_cell-content,
|
|
342
|
+
.ui-rc-table-cell-content{
|
|
343
|
+
height: 100%;
|
|
344
|
+
}
|
|
345
|
+
.ui-rc_content {
|
|
346
|
+
padding: 5px 8px;
|
|
347
|
+
}
|
|
348
|
+
.ui-rc_content:has(.ant-color-picker-trigger) {
|
|
349
|
+
padding: 1px 8px;
|
|
324
350
|
}
|
|
325
351
|
}
|
|
326
352
|
}
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.#{$prefix}-table-ping-left {
|
|
330
|
-
.#{$prefix}-table-cell-fix-left-first::after,
|
|
331
|
-
.#{$prefix}-table-cell-fix-left-last::after {
|
|
332
|
-
box-shadow: inset 10px 0 8px -8px rgba(5, 5, 5, 0.2);
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
353
|
|
|
336
|
-
.#{$prefix}-table-ping-right {
|
|
337
|
-
.#{$prefix}-table-cell-fix-right-first::after,
|
|
338
|
-
.#{$prefix}-table-cell-fix-right-last::after {
|
|
339
|
-
box-shadow: inset -10px 0 8px -8px rgba(5, 5, 5, 0.2);
|
|
340
|
-
}
|
|
341
354
|
}
|
|
342
355
|
|
|
343
|
-
.#{$prefix}-spin-nested-loading >div>.#{$prefix}-spin {
|
|
344
|
-
max-height: 100%;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
348
356
|
}
|
|
357
|
+
// ---------------- Table edit end---------------
|
|
358
|
+
|
|
349
359
|
|
|
350
360
|
// -------------- Checkbox ----------
|
|
351
361
|
|
|
352
362
|
.#{$prefix}-checkbox-indeterminate {
|
|
353
363
|
&:hover {
|
|
354
364
|
.#{$prefix}-checkbox-inner {
|
|
355
|
-
border-color: $primary !important
|
|
365
|
+
border-color: $primary !important;;
|
|
356
366
|
}
|
|
357
367
|
}
|
|
368
|
+
|
|
358
369
|
.#{$prefix}-checkbox-inner {
|
|
359
370
|
&:after {
|
|
360
371
|
background-color: $primary;
|
|
361
372
|
}
|
|
362
373
|
}
|
|
363
374
|
}
|
|
375
|
+
//.ui-rc-checkbox-input {
|
|
376
|
+
// &:focus-visible {
|
|
377
|
+
// outline: none;
|
|
378
|
+
// }
|
|
379
|
+
//}
|
|
380
|
+
|
|
381
|
+
.ui-rc-checkbox .ui-rc-checkbox-input:focus-visible+.ui-rc-checkbox-inner {
|
|
382
|
+
outline: none;
|
|
383
|
+
}
|
|
364
384
|
|
|
365
385
|
.#{$prefix}-checkbox {
|
|
366
386
|
&.#{$prefix}-checkbox-checked {
|
|
@@ -370,6 +390,7 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
370
390
|
border-color: $primary;
|
|
371
391
|
}
|
|
372
392
|
}
|
|
393
|
+
|
|
373
394
|
.#{$prefix}-checkbox-inner {
|
|
374
395
|
background-color: $primary;
|
|
375
396
|
border-color: $primary;
|
|
@@ -387,6 +408,7 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
387
408
|
.#{$prefix}-checkbox-inner {
|
|
388
409
|
border-color: $primary;
|
|
389
410
|
}
|
|
411
|
+
|
|
390
412
|
.#{$prefix}-checkbox-checked:not(.#{$prefix}-checkbox-disabled) {
|
|
391
413
|
.#{$prefix}-checkbox-inner {
|
|
392
414
|
background-color: $primary;
|
|
@@ -462,6 +484,7 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
462
484
|
bottom: 0;
|
|
463
485
|
left: 0;
|
|
464
486
|
}
|
|
487
|
+
|
|
465
488
|
&::after {
|
|
466
489
|
content: "";
|
|
467
490
|
position: absolute;
|
|
@@ -471,19 +494,25 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
471
494
|
visibility: visible;
|
|
472
495
|
right: 0;
|
|
473
496
|
}
|
|
497
|
+
|
|
474
498
|
border-bottom: 1px solid $tableBorderColor;
|
|
499
|
+
|
|
475
500
|
.#{$prefix}-pagination-item-active {
|
|
476
501
|
border-color: $primary;
|
|
502
|
+
|
|
477
503
|
&:hover {
|
|
478
504
|
border-color: $primary;
|
|
505
|
+
|
|
479
506
|
a {
|
|
480
507
|
color: $primary;
|
|
481
508
|
}
|
|
482
509
|
}
|
|
510
|
+
|
|
483
511
|
a {
|
|
484
512
|
color: $primary;
|
|
485
513
|
}
|
|
486
514
|
}
|
|
515
|
+
|
|
487
516
|
.#{$prefix}-pagination-jump-prev, .#{$prefix}-pagination-jump-next {
|
|
488
517
|
.#{$prefix}-pagination-item-container {
|
|
489
518
|
.#{$prefix}-pagination-item-link-icon {
|
|
@@ -493,27 +522,27 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
493
522
|
}
|
|
494
523
|
}
|
|
495
524
|
|
|
496
|
-
.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
|
|
497
|
-
//border-inline-end: 1px solid $tableBorderColor;
|
|
498
|
-
border-inline-end: 1px solid $tableBorderColor;
|
|
499
|
-
}
|
|
500
525
|
|
|
501
|
-
.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
|
|
502
|
-
//border-inline-end: 1px solid $tableBorderColor;
|
|
503
|
-
border-inline-end: 0 solid $tableBorderColor;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
|
|
508
|
-
margin-top: 0;
|
|
509
|
-
margin-bottom: 0;
|
|
510
|
-
border-inline-end: 1px solid $tableBorderColor;
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
|
|
514
|
-
border-inline-end: 0 solid $tableBorderColor;
|
|
515
|
-
}
|
|
516
526
|
|
|
527
|
+
//.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
|
|
528
|
+
// border-inline-end: 1px solid $tableBorderColor;
|
|
529
|
+
//}
|
|
530
|
+
//
|
|
531
|
+
//.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered >.#{$prefix}-table-container >.#{$prefix}-table-content >table >tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
|
|
532
|
+
// //border-inline-end: 1px solid $tableBorderColor;
|
|
533
|
+
// border-inline-end: 0 solid $tableBorderColor;
|
|
534
|
+
//}
|
|
535
|
+
//
|
|
536
|
+
//
|
|
537
|
+
//.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed {
|
|
538
|
+
// margin-top: 0;
|
|
539
|
+
// margin-bottom: 0;
|
|
540
|
+
// border-inline-end: 1px solid $tableBorderColor;
|
|
541
|
+
//}
|
|
542
|
+
//
|
|
543
|
+
//.#{$prefix}-table-wrapper .#{$prefix}-table.#{$prefix}-table-bordered.#{$prefix}-table-small >.#{$prefix}-table-container >.#{$prefix}-table-body >table>tbody>tr>td >.#{$prefix}-table-expanded-row-fixed::after {
|
|
544
|
+
// border-inline-end: 0 solid $tableBorderColor;
|
|
545
|
+
//}
|
|
517
546
|
|
|
518
547
|
|
|
519
548
|
.#{$prefix}-table-wrapper {
|
|
@@ -539,13 +568,52 @@ $cell-index-focus-bg: #CEDBEF !default;
|
|
|
539
568
|
}
|
|
540
569
|
|
|
541
570
|
|
|
542
|
-
.ui-rc-table-wrapper
|
|
543
|
-
.ui-rc-table
|
|
544
|
-
.ui-rc-table-
|
|
545
|
-
.ui-rc-table-
|
|
546
|
-
.ui-rc-table-
|
|
547
|
-
.ui-rc-table-
|
|
548
|
-
.ui-rc-table-
|
|
549
|
-
.ui-rc-table-
|
|
550
|
-
|
|
571
|
+
.ui-rc-table-wrapper {
|
|
572
|
+
.ui-rc-table.ui-rc-table-small {
|
|
573
|
+
.ui-rc-table-title,
|
|
574
|
+
.ui-rc-table-footer,
|
|
575
|
+
.ui-rc-table-cell,
|
|
576
|
+
.ui-rc-table-thead > tr > th,
|
|
577
|
+
.ui-rc-table-tbody > tr > th,
|
|
578
|
+
.ui-rc-table-tbody > tr > td,
|
|
579
|
+
tfoot > tr > th,
|
|
580
|
+
tfoot > tr > td {
|
|
581
|
+
padding: 5px 8px;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
.ui-rc-table-wrapper {
|
|
586
|
+
.ui-rc-table.ui-rc-table-small {
|
|
587
|
+
.ui-rc-table-cell {
|
|
588
|
+
&:has(.ant-color-picker-trigger) {
|
|
589
|
+
padding: 1px 8px;
|
|
590
|
+
}
|
|
591
|
+
.ant-color-picker-trigger{
|
|
592
|
+
width: 100%;
|
|
593
|
+
min-height: 20px;
|
|
594
|
+
.ant-color-picker-clear {
|
|
595
|
+
height: 20px;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
//ui-rc-table-ping-right
|
|
605
|
+
|
|
606
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-content >table >thead>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
607
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-header >table >thead>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
608
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-body >table >thead>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
609
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-summary >table >thead>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
610
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-content >table >tbody>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
611
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-header >table >tbody>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
612
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-body >table >tbody>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
613
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-summary >table >tbody>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
614
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-content >table >tfoot>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
615
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-header >table >tfoot>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
616
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-body >table >tfoot>tr >.ui-rc-table-cell-fix-right-first::after,
|
|
617
|
+
.ui-rc-table-wrapper .ui-rc-table.ui-rc-table-bordered >.ui-rc-table-container >.ui-rc-table-summary >table >tfoot>tr >.ui-rc-table-cell-fix-right-first::after {
|
|
618
|
+
border-inline-end: 1px solid $tableBorderColor;
|
|
551
619
|
}
|