bkui-vue 2.0.1-beta.15.table.5 → 2.0.1-beta.16
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/dist/index.cjs.js +64 -64
- package/dist/index.esm.js +20429 -20327
- package/dist/index.umd.js +64 -64
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +0 -129
- package/lib/affix/affix.variable.css +0 -258
- package/lib/alert/alert.css +3 -132
- package/lib/alert/alert.variable.css +0 -258
- package/lib/backtop/backtop.css +3 -132
- package/lib/backtop/backtop.variable.css +3 -390
- package/lib/badge/badge.css +26 -155
- package/lib/badge/badge.variable.css +0 -258
- package/lib/breadcrumb/breadcrumb.css +5 -134
- package/lib/breadcrumb/breadcrumb.variable.css +5 -392
- package/lib/button/button.css +143 -272
- package/lib/button/button.variable.css +0 -258
- package/lib/card/card.css +4 -133
- package/lib/card/card.variable.css +4 -391
- package/lib/cascader/cascader.css +23 -152
- package/lib/cascader/cascader.variable.css +23 -410
- package/lib/checkbox/checkbox.css +9 -138
- package/lib/checkbox/checkbox.variable.css +0 -258
- package/lib/code-diff/code-diff.css +0 -129
- package/lib/code-diff/code-diff.variable.css +0 -258
- package/lib/collapse/collapse.css +1 -130
- package/lib/collapse/collapse.variable.css +0 -258
- package/lib/collapse-transition/collapse-transition.css +0 -129
- package/lib/collapse-transition/collapse-transition.variable.css +0 -258
- package/lib/color-picker/color-picker.css +0 -129
- package/lib/color-picker/color-picker.variable.css +0 -258
- package/lib/config-provider/config-provider.css +0 -129
- package/lib/config-provider/config-provider.variable.css +0 -258
- package/lib/container/container.css +0 -129
- package/lib/container/container.variable.css +0 -387
- package/lib/date-picker/date-picker.css +17 -146
- package/lib/date-picker/date-picker.variable.css +0 -258
- package/lib/date-picker/index.js +2 -2
- package/lib/dialog/dialog.css +8 -137
- package/lib/dialog/dialog.variable.css +8 -395
- package/lib/divider/divider.css +3 -132
- package/lib/divider/divider.variable.css +0 -258
- package/lib/dropdown/dropdown.css +0 -129
- package/lib/dropdown/dropdown.variable.css +0 -387
- package/lib/exception/exception.css +0 -129
- package/lib/exception/exception.variable.css +0 -258
- package/lib/fixed-navbar/fixed-navbar.css +4 -133
- package/lib/fixed-navbar/fixed-navbar.variable.css +0 -258
- package/lib/form/form.css +0 -129
- package/lib/form/form.variable.css +0 -258
- package/lib/image/image-viewer.css +0 -129
- package/lib/image/image-viewer.variable.css +0 -258
- package/lib/image/image.css +0 -129
- package/lib/image/image.variable.css +0 -387
- package/lib/index.js +1 -1
- package/lib/info-box/info-box.css +4 -133
- package/lib/info-box/info-box.variable.css +0 -258
- package/lib/input/input.css +72 -201
- package/lib/input/input.variable.css +72 -459
- package/lib/link/link.css +16 -145
- package/lib/link/link.variable.css +0 -258
- package/lib/loading/loading.css +16 -145
- package/lib/loading/loading.variable.css +16 -403
- package/lib/menu/menu.css +18 -147
- package/lib/menu/menu.variable.css +18 -405
- package/lib/menu/submenu.css +0 -129
- package/lib/menu/submenu.variable.css +0 -258
- package/lib/message/message.css +21 -150
- package/lib/message/message.variable.css +0 -258
- package/lib/modal/modal.css +4 -133
- package/lib/modal/modal.variable.css +4 -391
- package/lib/navigation/navigation.css +2 -131
- package/lib/navigation/navigation.variable.css +0 -258
- package/lib/notify/notify.css +7 -136
- package/lib/notify/notify.variable.css +0 -258
- package/lib/pagination/pagination.css +1 -130
- package/lib/pagination/pagination.variable.css +0 -258
- package/lib/pop-confirm/pop-confirm.css +0 -129
- package/lib/pop-confirm/pop-confirm.variable.css +0 -258
- package/lib/popover/popover.css +0 -129
- package/lib/popover/popover.variable.css +0 -258
- package/lib/process/process.css +13 -142
- package/lib/process/process.variable.css +0 -258
- package/lib/progress/progress.css +4 -133
- package/lib/progress/progress.variable.css +4 -391
- package/lib/radio/radio.css +42 -171
- package/lib/radio/radio.variable.css +0 -258
- package/lib/rate/rate.css +0 -129
- package/lib/rate/rate.variable.css +0 -258
- package/lib/resize-layout/resize-layout.css +0 -129
- package/lib/resize-layout/resize-layout.variable.css +0 -258
- package/lib/scrollbar/index.js +17275 -14
- package/lib/scrollbar/scrollbar-core/index.d.ts +1 -2
- package/lib/scrollbar/scrollbar.css +0 -129
- package/lib/scrollbar/scrollbar.variable.css +0 -258
- package/lib/search-select/search-select.css +33 -162
- package/lib/search-select/search-select.variable.css +33 -420
- package/lib/select/select.css +39 -168
- package/lib/select/select.variable.css +39 -426
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +1 -72
- package/lib/sideslider/sideslider.css +1 -130
- package/lib/sideslider/sideslider.variable.css +0 -258
- package/lib/slider/slider.css +5 -134
- package/lib/slider/slider.variable.css +0 -258
- package/lib/steps/index.d.ts +3 -3
- package/lib/steps/steps.css +38 -167
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.variable.css +0 -258
- package/lib/styles/mixins/animate.css +0 -129
- package/lib/styles/mixins/animate.variable.css +0 -258
- package/lib/styles/mixins/mixins.css +0 -129
- package/lib/styles/mixins/mixins.variable.css +0 -129
- package/lib/styles/mixins/popper.css +0 -129
- package/lib/styles/mixins/popper.variable.css +0 -258
- package/lib/styles/mixins/scroll.css +0 -129
- package/lib/styles/mixins/scroll.variable.css +0 -258
- package/lib/styles/reset.css +0 -129
- package/lib/styles/reset.variable.css +0 -258
- package/lib/styles/themes/themes.less +127 -306
- package/lib/swiper/swiper.css +0 -129
- package/lib/swiper/swiper.variable.css +0 -258
- package/lib/switcher/switcher.css +17 -146
- package/lib/switcher/switcher.variable.css +17 -404
- package/lib/tab/tab.css +17 -146
- package/lib/tab/tab.variable.css +0 -258
- package/lib/table/components/table-column.d.ts +0 -1
- package/lib/table/const.d.ts +0 -12
- package/lib/table/events.d.ts +98 -2
- package/lib/table/index.d.ts +502 -28
- package/lib/table/index.js +3519 -3224
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/head-filter.css +0 -129
- package/lib/table/plugins/head-filter.d.ts +1 -2
- package/lib/table/plugins/head-filter.variable.css +0 -258
- package/lib/table/plugins/head-sort.css +0 -129
- package/lib/table/plugins/head-sort.variable.css +0 -258
- package/lib/table/plugins/settings.css +0 -130
- package/lib/table/plugins/settings.d.ts +16 -0
- package/lib/table/plugins/settings.less +0 -1
- package/lib/table/plugins/settings.variable.css +0 -259
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +35 -0
- package/lib/table/{hooks → plugins}/use-column-template.d.ts +2 -1
- package/lib/table/{hooks → plugins}/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +27 -0
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +23 -0
- package/lib/table/props.d.ts +9 -19
- package/lib/table/table.css +212 -329
- package/lib/table/table.d.ts +174 -18
- package/lib/table/table.less +47 -35
- package/lib/table/table.variable.css +212 -587
- package/lib/table/use-attributes.d.ts +62 -0
- package/lib/table/use-column.d.ts +155 -0
- package/lib/table/use-common.d.ts +1679 -0
- package/lib/table/use-render.d.ts +11 -0
- package/lib/table/utils.d.ts +3 -26
- package/lib/table-column/index.d.ts +0 -3
- package/lib/table-column/index.js +8 -26
- package/lib/tag/tag.css +5 -134
- package/lib/tag/tag.variable.css +0 -258
- package/lib/tag-input/tag-input.css +18 -147
- package/lib/tag-input/tag-input.variable.css +0 -258
- package/lib/time-picker/time-picker.css +0 -129
- package/lib/time-picker/time-picker.variable.css +0 -258
- package/lib/timeline/timeline.css +19 -148
- package/lib/timeline/timeline.variable.css +0 -258
- package/lib/transfer/transfer.css +19 -148
- package/lib/transfer/transfer.variable.css +0 -258
- package/lib/tree/tree.css +9 -138
- package/lib/tree/tree.variable.css +9 -396
- package/lib/upload/upload.css +27 -156
- package/lib/upload/upload.variable.css +27 -414
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/virtual-render.css +0 -129
- package/lib/virtual-render/virtual-render.variable.css +0 -387
- package/package.json +2 -1
- package/lib/shared/frame-throttle.d.ts +0 -15
- package/lib/styles/themes/themes.css +0 -129
- package/lib/styles/themes/themes.variable.css +0 -129
- package/lib/table/hooks/use-column-resize.d.ts +0 -7
- package/lib/table/hooks/use-columns.d.ts +0 -55
- package/lib/table/hooks/use-fixed-column.d.ts +0 -10
- package/lib/table/hooks/use-head.d.ts +0 -15
- package/lib/table/hooks/use-layout.d.ts +0 -20
- package/lib/table/hooks/use-pagination.d.ts +0 -16
- package/lib/table/hooks/use-render.d.ts +0 -23
- package/lib/table/hooks/use-rows.d.ts +0 -25
- package/lib/table/hooks/use-settings.d.ts +0 -23
- /package/lib/table/{components → plugins}/body-empty.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-scroll-loading.d.ts +0 -0
- /package/lib/table/{hooks → plugins}/use-shift-key.d.ts +0 -0
package/lib/table/table.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
|
+
import { Column } from './props';
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
2
3
|
data: import("vue-types").VueTypeDef<any[]> & {
|
3
4
|
default: () => any[];
|
4
5
|
};
|
5
|
-
columns: import("vue-types").VueTypeDef<
|
6
|
-
default: () =>
|
6
|
+
columns: import("vue-types").VueTypeDef<Column[]> & {
|
7
|
+
default: () => Column[];
|
7
8
|
};
|
8
9
|
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
9
10
|
columnPick: import("vue-types").VueTypeDef<"disabled" | "single" | "multi"> & {
|
@@ -161,17 +162,95 @@ declare const _default: import("vue").DefineComponent<{
|
|
161
162
|
} & {
|
162
163
|
default: boolean;
|
163
164
|
};
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
165
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
166
|
+
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
167
|
+
columnFilter: (_args: {
|
168
|
+
checked: string[];
|
169
|
+
column: Column;
|
170
|
+
index: number;
|
171
|
+
}) => boolean;
|
172
|
+
columnSort: (_args: {
|
173
|
+
column: Column;
|
174
|
+
index: number;
|
175
|
+
type: import("./const").SORT_OPTION;
|
176
|
+
}) => boolean;
|
177
|
+
colFilterSave: (_args: {
|
178
|
+
column: Column;
|
179
|
+
values: any[];
|
180
|
+
}) => boolean;
|
181
|
+
rowClick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
182
|
+
rowDblclick: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
183
|
+
rowExpand: (_args: {
|
184
|
+
row: any;
|
185
|
+
column: Column;
|
186
|
+
index: number;
|
187
|
+
rows: any[];
|
188
|
+
e: MouseEvent;
|
189
|
+
}) => boolean;
|
190
|
+
select: (_args: {
|
191
|
+
row: any;
|
192
|
+
index: number;
|
193
|
+
checked: string;
|
194
|
+
data: any[];
|
195
|
+
}) => boolean;
|
196
|
+
selectAll: (_args: {
|
197
|
+
checked: string;
|
198
|
+
data: any[];
|
199
|
+
}) => boolean;
|
200
|
+
selectionChange: (_args: {
|
201
|
+
row: any;
|
202
|
+
index: number;
|
203
|
+
checked: string;
|
204
|
+
data: any[];
|
205
|
+
isAll: boolean;
|
206
|
+
}) => boolean;
|
207
|
+
pageLimitChange: (_arg: number) => boolean;
|
208
|
+
pageValueChange: (_arg: number) => boolean;
|
209
|
+
settingChange: (_args: {
|
210
|
+
checked: string[];
|
211
|
+
size: string;
|
212
|
+
height: number;
|
213
|
+
fields: Record<string, any>[];
|
214
|
+
}) => boolean;
|
215
|
+
scrollBottom: (_args: {
|
216
|
+
translateX: number;
|
217
|
+
translateY: number;
|
218
|
+
scrollTop: number;
|
219
|
+
scrollLeft: number;
|
220
|
+
bottom: number;
|
221
|
+
}) => boolean;
|
222
|
+
cellClick: (_args: {
|
223
|
+
event: MouseEvent;
|
224
|
+
row: any;
|
225
|
+
column: Column;
|
226
|
+
cell: {
|
227
|
+
getValue: () => string;
|
228
|
+
};
|
229
|
+
rowIndex: number;
|
230
|
+
columnIndex: number;
|
231
|
+
}) => boolean;
|
232
|
+
cellDblclick: (_args: {
|
233
|
+
event: MouseEvent;
|
234
|
+
row: any;
|
235
|
+
column: Column;
|
236
|
+
cell: {
|
237
|
+
getValue: () => string;
|
238
|
+
};
|
239
|
+
rowIndex: number;
|
240
|
+
columnIndex: number;
|
241
|
+
}) => boolean;
|
242
|
+
rowMouseEnter: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
243
|
+
rowMouseLeave: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => boolean;
|
244
|
+
dragend: (_args: {
|
245
|
+
sourceEvent: DragEvent;
|
246
|
+
data: any[];
|
247
|
+
}) => boolean;
|
248
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
170
249
|
data: import("vue-types").VueTypeDef<any[]> & {
|
171
250
|
default: () => any[];
|
172
251
|
};
|
173
|
-
columns: import("vue-types").VueTypeDef<
|
174
|
-
default: () =>
|
252
|
+
columns: import("vue-types").VueTypeDef<Column[]> & {
|
253
|
+
default: () => Column[];
|
175
254
|
};
|
176
255
|
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
177
256
|
columnPick: import("vue-types").VueTypeDef<"disabled" | "single" | "multi"> & {
|
@@ -329,17 +408,94 @@ declare const _default: import("vue").DefineComponent<{
|
|
329
408
|
} & {
|
330
409
|
default: boolean;
|
331
410
|
};
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
};
|
337
|
-
|
411
|
+
}>> & {
|
412
|
+
onDragend?: (_args: {
|
413
|
+
sourceEvent: DragEvent;
|
414
|
+
data: any[];
|
415
|
+
}) => any;
|
416
|
+
onSelect?: (_args: {
|
417
|
+
row: any;
|
418
|
+
index: number;
|
419
|
+
checked: string;
|
420
|
+
data: any[];
|
421
|
+
}) => any;
|
422
|
+
onCellClick?: (_args: {
|
423
|
+
event: MouseEvent;
|
424
|
+
row: any;
|
425
|
+
column: Column;
|
426
|
+
cell: {
|
427
|
+
getValue: () => string;
|
428
|
+
};
|
429
|
+
rowIndex: number;
|
430
|
+
columnIndex: number;
|
431
|
+
}) => any;
|
432
|
+
onCellDblclick?: (_args: {
|
433
|
+
event: MouseEvent;
|
434
|
+
row: any;
|
435
|
+
column: Column;
|
436
|
+
cell: {
|
437
|
+
getValue: () => string;
|
438
|
+
};
|
439
|
+
rowIndex: number;
|
440
|
+
columnIndex: number;
|
441
|
+
}) => any;
|
442
|
+
onColumnFilter?: (_args: {
|
443
|
+
checked: string[];
|
444
|
+
column: Column;
|
445
|
+
index: number;
|
446
|
+
}) => any;
|
447
|
+
onColFilterSave?: (_args: {
|
448
|
+
column: Column;
|
449
|
+
values: any[];
|
450
|
+
}) => any;
|
451
|
+
onColumnPick?: (_cols: import("./props").IColumnActive[]) => any;
|
452
|
+
onColumnSort?: (_args: {
|
453
|
+
column: Column;
|
454
|
+
index: number;
|
455
|
+
type: import("./const").SORT_OPTION;
|
456
|
+
}) => any;
|
457
|
+
onPageLimitChange?: (_arg: number) => any;
|
458
|
+
onPageValueChange?: (_arg: number) => any;
|
459
|
+
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
460
|
+
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
461
|
+
onRowExpand?: (_args: {
|
462
|
+
row: any;
|
463
|
+
column: Column;
|
464
|
+
index: number;
|
465
|
+
rows: any[];
|
466
|
+
e: MouseEvent;
|
467
|
+
}) => any;
|
468
|
+
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
469
|
+
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
470
|
+
onSelectAll?: (_args: {
|
471
|
+
checked: string;
|
472
|
+
data: any[];
|
473
|
+
}) => any;
|
474
|
+
onSelectionChange?: (_args: {
|
475
|
+
row: any;
|
476
|
+
index: number;
|
477
|
+
checked: string;
|
478
|
+
data: any[];
|
479
|
+
isAll: boolean;
|
480
|
+
}) => any;
|
481
|
+
onScrollBottom?: (_args: {
|
482
|
+
translateX: number;
|
483
|
+
translateY: number;
|
484
|
+
scrollTop: number;
|
485
|
+
scrollLeft: number;
|
486
|
+
bottom: number;
|
487
|
+
}) => any;
|
488
|
+
onSettingChange?: (_args: {
|
489
|
+
checked: string[];
|
490
|
+
size: string;
|
491
|
+
height: number;
|
492
|
+
fields: Record<string, any>[];
|
493
|
+
}) => any;
|
494
|
+
}, {
|
338
495
|
data: any[];
|
339
496
|
thead: import("./props").Thead;
|
340
497
|
height: string | number;
|
341
498
|
maxHeight: string | number;
|
342
|
-
scrollbar: boolean;
|
343
499
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
344
500
|
pagination: boolean | {
|
345
501
|
[key: string]: any;
|
@@ -354,7 +510,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
354
510
|
[key: string]: any;
|
355
511
|
};
|
356
512
|
columnPick: "disabled" | "single" | "multi";
|
357
|
-
columns:
|
513
|
+
columns: Column[];
|
358
514
|
stripe: boolean;
|
359
515
|
rowHeight: import("./props").RowHeightFunctionNumber;
|
360
516
|
showHead: boolean;
|
package/lib/table/table.less
CHANGED
@@ -13,9 +13,8 @@
|
|
13
13
|
.@{bk-prefix}-table {
|
14
14
|
position: relative;
|
15
15
|
width: 100%;
|
16
|
-
height:
|
16
|
+
height: auto;
|
17
17
|
overflow: hidden;
|
18
|
-
border-spacing: 0;
|
19
18
|
|
20
19
|
&-flex {
|
21
20
|
display: flex;
|
@@ -36,6 +35,7 @@
|
|
36
35
|
.@{bk-prefix}-table-body {
|
37
36
|
position: relative;
|
38
37
|
overflow: hidden;
|
38
|
+
border-bottom: 1px solid @table-border-color;
|
39
39
|
|
40
40
|
.prepend-row {
|
41
41
|
transform: translateX(var(--prepend-left));
|
@@ -94,12 +94,12 @@
|
|
94
94
|
height: 100%;
|
95
95
|
padding-bottom: 20px;
|
96
96
|
}
|
97
|
+
|
97
98
|
}
|
98
99
|
|
99
100
|
table {
|
100
101
|
width: 100%;
|
101
|
-
border-collapse:
|
102
|
-
|
102
|
+
border-collapse: collapse;
|
103
103
|
transform: translateZ(0);
|
104
104
|
table-layout: fixed;
|
105
105
|
align-self: flex-start;
|
@@ -158,6 +158,7 @@
|
|
158
158
|
}
|
159
159
|
}
|
160
160
|
|
161
|
+
|
161
162
|
.expand-btn-action {
|
162
163
|
display: flex;
|
163
164
|
padding: 0 16px;
|
@@ -168,6 +169,14 @@
|
|
168
169
|
&.column_fixed {
|
169
170
|
position: sticky;
|
170
171
|
z-index: 1;
|
172
|
+
|
173
|
+
&.column_fixed_left {
|
174
|
+
left: 0;
|
175
|
+
}
|
176
|
+
|
177
|
+
&.column_fixed_right {
|
178
|
+
right: 0;
|
179
|
+
}
|
171
180
|
}
|
172
181
|
|
173
182
|
&.row_expend {
|
@@ -250,9 +259,9 @@
|
|
250
259
|
tr {
|
251
260
|
td {
|
252
261
|
background-color: #fff;
|
253
|
-
border-top: 1px solid
|
254
|
-
border-bottom: 1px solid
|
255
|
-
border-right: 1px solid
|
262
|
+
border-top: 1px solid transparent;
|
263
|
+
border-bottom: 1px solid transparent;
|
264
|
+
border-right: 1px solid transparent;
|
256
265
|
|
257
266
|
box-sizing: border-box;
|
258
267
|
|
@@ -278,7 +287,6 @@
|
|
278
287
|
td {
|
279
288
|
&:not(.empty-cell) {
|
280
289
|
background: @table-row-hover-bg-color;
|
281
|
-
border-right-color: @table-row-hover-bg-color;
|
282
290
|
}
|
283
291
|
}
|
284
292
|
}
|
@@ -286,7 +294,7 @@
|
|
286
294
|
|
287
295
|
&.--drag-start {
|
288
296
|
td {
|
289
|
-
background: #fff
|
297
|
+
background: #fff!important;
|
290
298
|
}
|
291
299
|
}
|
292
300
|
}
|
@@ -376,6 +384,7 @@
|
|
376
384
|
.@{bk-prefix}-table-footer {
|
377
385
|
border-bottom: 1px solid @table-border-color;
|
378
386
|
}
|
387
|
+
|
379
388
|
}
|
380
389
|
|
381
390
|
&.bordered-horizontal {
|
@@ -397,7 +406,7 @@
|
|
397
406
|
|
398
407
|
&.bordered-col {
|
399
408
|
th {
|
400
|
-
border-right: 1px solid
|
409
|
+
border-right: 1px solid @table-border-color;
|
401
410
|
|
402
411
|
&:last-child {
|
403
412
|
border-right: none;
|
@@ -409,22 +418,27 @@
|
|
409
418
|
tr {
|
410
419
|
td {
|
411
420
|
border-right-color: @table-border-color;
|
421
|
+
|
422
|
+
&:last-child {
|
423
|
+
border-right-color: transparent;
|
424
|
+
}
|
412
425
|
}
|
413
426
|
}
|
414
427
|
}
|
415
428
|
}
|
429
|
+
|
416
430
|
}
|
417
431
|
|
418
432
|
th,
|
419
433
|
td {
|
420
|
-
border-right: 1px solid
|
434
|
+
border-right: 1px solid transparent;
|
421
435
|
}
|
422
436
|
|
423
437
|
&.bordered-none {
|
424
438
|
th,
|
425
439
|
td {
|
426
440
|
border-top: none;
|
427
|
-
border-right: 1px solid
|
441
|
+
border-right: 1px solid transparent;
|
428
442
|
border-bottom: none;
|
429
443
|
border-left: none;
|
430
444
|
}
|
@@ -434,27 +448,32 @@
|
|
434
448
|
position: absolute;
|
435
449
|
top: 0;
|
436
450
|
right: 0;
|
437
|
-
bottom:
|
451
|
+
bottom: var(--footer-height);
|
438
452
|
left: 0;
|
439
453
|
pointer-events: none;
|
440
454
|
|
441
|
-
&.shadow-left {
|
442
|
-
.column_fixed_left {
|
443
|
-
box-shadow: 0 0 10px rgb(0 0 0 / 12%);
|
444
|
-
}
|
445
|
-
}
|
446
|
-
|
447
|
-
&.shadow-right {
|
448
|
-
.column_fixed_right {
|
449
|
-
box-shadow: 0 0 10px rgb(0 0 0 / 12%);
|
450
|
-
}
|
451
|
-
}
|
452
|
-
|
453
455
|
.column_fixed {
|
454
456
|
position: absolute;
|
455
457
|
z-index: 2;
|
456
|
-
|
457
|
-
|
458
|
+
|
459
|
+
&.column_fixed_left {
|
460
|
+
top: 0;
|
461
|
+
left: 0;
|
462
|
+
|
463
|
+
&.shadow {
|
464
|
+
box-shadow: 0 0 10px rgb(0 0 0 / 12%);
|
465
|
+
}
|
466
|
+
}
|
467
|
+
|
468
|
+
&.column_fixed_right {
|
469
|
+
top: 0;
|
470
|
+
right: 0;
|
471
|
+
|
472
|
+
|
473
|
+
&.shadow {
|
474
|
+
box-shadow: 0 0 10px rgb(0 0 0 / 12%);
|
475
|
+
}
|
476
|
+
}
|
458
477
|
}
|
459
478
|
|
460
479
|
.scroll-loading {
|
@@ -470,13 +489,6 @@
|
|
470
489
|
}
|
471
490
|
}
|
472
491
|
|
473
|
-
.@{bk-prefix}-table-fixed-bottom {
|
474
|
-
position: absolute;
|
475
|
-
right: 0;
|
476
|
-
bottom: 0;
|
477
|
-
left: 0;
|
478
|
-
text-align: center;
|
479
|
-
}
|
480
492
|
colgroup {
|
481
493
|
col {
|
482
494
|
background: @table-bg-color;
|
@@ -497,4 +509,4 @@
|
|
497
509
|
.stripe-row {
|
498
510
|
background: #fafbfd;
|
499
511
|
}
|
500
|
-
}
|
512
|
+
}
|