bkui-vue 2.0.1-beta.15 → 2.0.1-beta.15.table.10
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 +63 -63
- package/dist/index.esm.js +13562 -13632
- package/dist/index.umd.js +63 -63
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +129 -0
- package/lib/affix/affix.variable.css +258 -0
- package/lib/alert/alert.css +132 -3
- package/lib/alert/alert.variable.css +258 -0
- package/lib/backtop/backtop.css +132 -3
- package/lib/backtop/backtop.variable.css +390 -3
- package/lib/badge/badge.css +155 -26
- package/lib/badge/badge.variable.css +258 -0
- package/lib/breadcrumb/breadcrumb.css +134 -5
- package/lib/breadcrumb/breadcrumb.variable.css +392 -5
- package/lib/button/button.css +272 -143
- package/lib/button/button.variable.css +258 -0
- package/lib/button/index.js +0 -1
- package/lib/card/card.css +133 -4
- package/lib/card/card.variable.css +391 -4
- package/lib/cascader/cascader.css +152 -23
- package/lib/cascader/cascader.variable.css +410 -23
- package/lib/checkbox/checkbox.css +138 -9
- package/lib/checkbox/checkbox.variable.css +258 -0
- package/lib/code-diff/code-diff.css +129 -0
- package/lib/code-diff/code-diff.variable.css +258 -0
- package/lib/collapse/collapse.css +130 -1
- package/lib/collapse/collapse.variable.css +258 -0
- package/lib/collapse-transition/collapse-transition.css +129 -0
- package/lib/collapse-transition/collapse-transition.variable.css +258 -0
- package/lib/color-picker/color-picker.css +129 -0
- package/lib/color-picker/color-picker.variable.css +258 -0
- package/lib/config-provider/config-provider.css +129 -0
- package/lib/config-provider/config-provider.variable.css +258 -0
- package/lib/container/container.css +129 -0
- package/lib/container/container.variable.css +387 -0
- package/lib/container/index.js +0 -1
- package/lib/date-picker/date-picker.css +146 -17
- package/lib/date-picker/date-picker.variable.css +258 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/panel/date-range.d.ts +4 -4
- package/lib/dialog/dialog.css +137 -8
- package/lib/dialog/dialog.variable.css +395 -8
- package/lib/divider/divider.css +132 -3
- package/lib/divider/divider.variable.css +258 -0
- package/lib/dropdown/dropdown.css +129 -0
- package/lib/dropdown/dropdown.variable.css +387 -0
- package/lib/exception/exception.css +129 -0
- package/lib/exception/exception.variable.css +258 -0
- package/lib/fixed-navbar/fixed-navbar.css +133 -4
- package/lib/fixed-navbar/fixed-navbar.variable.css +258 -0
- package/lib/form/form.css +129 -0
- package/lib/form/form.variable.css +258 -0
- package/lib/form/index.js +0 -1
- package/lib/image/image-viewer.css +129 -0
- package/lib/image/image-viewer.variable.css +258 -0
- package/lib/image/image.css +129 -0
- package/lib/image/image.variable.css +387 -0
- package/lib/image/index.js +0 -1
- package/lib/index.js +1 -1
- package/lib/info-box/info-box.css +133 -4
- package/lib/info-box/info-box.variable.css +258 -0
- package/lib/input/index.js +0 -1
- package/lib/input/input.css +201 -72
- package/lib/input/input.variable.css +459 -72
- package/lib/link/link.css +145 -16
- package/lib/link/link.variable.css +258 -0
- package/lib/loading/loading.css +145 -16
- package/lib/loading/loading.variable.css +403 -16
- package/lib/menu/menu.css +147 -18
- package/lib/menu/menu.variable.css +405 -18
- package/lib/menu/submenu.css +129 -0
- package/lib/menu/submenu.variable.css +258 -0
- package/lib/message/message.css +150 -21
- package/lib/message/message.variable.css +258 -0
- package/lib/modal/modal.css +133 -4
- package/lib/modal/modal.variable.css +391 -4
- package/lib/navigation/navigation.css +131 -2
- package/lib/navigation/navigation.variable.css +258 -0
- package/lib/notify/notify.css +136 -7
- package/lib/notify/notify.variable.css +258 -0
- package/lib/pagination/pagination.css +130 -1
- package/lib/pagination/pagination.variable.css +258 -0
- package/lib/plugin-popover/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.css +129 -0
- package/lib/pop-confirm/pop-confirm.variable.css +258 -0
- package/lib/popover/index.js +0 -1
- package/lib/popover/popover.css +129 -0
- package/lib/popover/popover.variable.css +258 -0
- package/lib/process/process.css +142 -13
- package/lib/process/process.variable.css +258 -0
- package/lib/progress/index.js +0 -1
- package/lib/progress/progress.css +133 -4
- package/lib/progress/progress.variable.css +391 -4
- package/lib/radio/radio.css +171 -42
- package/lib/radio/radio.variable.css +258 -0
- package/lib/rate/rate.css +129 -0
- package/lib/rate/rate.variable.css +258 -0
- package/lib/resize-layout/resize-layout.css +129 -0
- package/lib/resize-layout/resize-layout.variable.css +258 -0
- package/lib/scrollbar/index.js +36 -13
- package/lib/scrollbar/scrollbar-core/index.d.ts +2 -1
- package/lib/scrollbar/scrollbar.css +129 -0
- package/lib/scrollbar/scrollbar.variable.css +258 -0
- package/lib/search-select/search-select.css +162 -33
- package/lib/search-select/search-select.variable.css +420 -33
- package/lib/select/index.js +0 -2
- package/lib/select/select.css +168 -39
- package/lib/select/select.variable.css +426 -39
- package/lib/shared/frame-throttle.d.ts +15 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +72 -1
- package/lib/sideslider/sideslider.css +130 -1
- package/lib/sideslider/sideslider.variable.css +258 -0
- package/lib/slider/slider.css +134 -5
- package/lib/slider/slider.variable.css +258 -0
- package/lib/steps/index.d.ts +3 -3
- package/lib/steps/steps.css +167 -38
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.variable.css +258 -0
- package/lib/styles/mixins/animate.css +129 -0
- package/lib/styles/mixins/animate.variable.css +258 -0
- package/lib/styles/mixins/mixins.css +129 -0
- package/lib/styles/mixins/mixins.variable.css +129 -0
- package/lib/styles/mixins/popper.css +129 -0
- package/lib/styles/mixins/popper.variable.css +258 -0
- package/lib/styles/mixins/scroll.css +129 -0
- package/lib/styles/mixins/scroll.variable.css +258 -0
- package/lib/styles/reset.css +129 -0
- package/lib/styles/reset.variable.css +258 -0
- package/lib/styles/themes/themes.css +129 -0
- package/lib/styles/themes/themes.less +306 -127
- package/lib/styles/themes/themes.variable.css +129 -0
- package/lib/swiper/swiper.css +129 -0
- package/lib/swiper/swiper.variable.css +258 -0
- package/lib/switcher/switcher.css +146 -17
- package/lib/switcher/switcher.variable.css +404 -17
- package/lib/tab/tab.css +146 -17
- package/lib/tab/tab.variable.css +258 -0
- package/lib/table/components/table-column.d.ts +1 -0
- package/lib/table/const.d.ts +12 -0
- package/lib/table/events.d.ts +2 -98
- package/lib/table/hooks/use-cell.d.ts +20 -0
- package/lib/table/hooks/use-column-resize.d.ts +7 -0
- package/lib/table/hooks/use-column-template.d.ts +6 -0
- package/lib/table/hooks/use-columns.d.ts +54 -0
- package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
- package/lib/table/hooks/use-fixed-column.d.ts +10 -0
- package/lib/table/hooks/use-head.d.ts +15 -0
- package/lib/table/hooks/use-layout.d.ts +22 -0
- package/lib/table/hooks/use-pagination.d.ts +16 -0
- package/lib/table/hooks/use-render.d.ts +23 -0
- package/lib/table/hooks/use-rows.d.ts +25 -0
- package/lib/table/hooks/use-settings.d.ts +23 -0
- package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
- package/lib/table/index.d.ts +43 -502
- package/lib/table/index.js +3331 -3529
- package/lib/table/plugins/head-filter.css +129 -0
- package/lib/table/plugins/head-filter.d.ts +2 -1
- package/lib/table/plugins/head-filter.variable.css +258 -0
- package/lib/table/plugins/head-sort.css +129 -0
- package/lib/table/plugins/head-sort.variable.css +258 -0
- package/lib/table/plugins/settings.css +130 -0
- package/lib/table/plugins/settings.less +1 -0
- package/lib/table/plugins/settings.variable.css +259 -0
- package/lib/table/props.d.ts +30 -9
- package/lib/table/table.css +349 -231
- package/lib/table/table.d.ts +25 -174
- package/lib/table/table.less +54 -72
- package/lib/table/table.variable.css +607 -231
- package/lib/table/utils.d.ts +26 -3
- package/lib/table-column/index.d.ts +3 -0
- package/lib/table-column/index.js +35 -8
- package/lib/tag/tag.css +134 -5
- package/lib/tag/tag.variable.css +258 -0
- package/lib/tag-input/tag-input.css +147 -18
- package/lib/tag-input/tag-input.variable.css +258 -0
- package/lib/time-picker/time-picker.css +129 -0
- package/lib/time-picker/time-picker.variable.css +258 -0
- package/lib/timeline/timeline.css +148 -19
- package/lib/timeline/timeline.variable.css +258 -0
- package/lib/transfer/transfer.css +148 -19
- package/lib/transfer/transfer.variable.css +258 -0
- package/lib/tree/tree.css +138 -9
- package/lib/tree/tree.variable.css +396 -9
- package/lib/upload/upload.css +156 -27
- package/lib/upload/upload.variable.css +414 -27
- package/lib/virtual-render/index.d.ts +4 -15
- package/lib/virtual-render/index.js +2 -2
- package/lib/virtual-render/props.d.ts +1 -3
- package/lib/virtual-render/virtual-render.css +129 -0
- package/lib/virtual-render/virtual-render.d.ts +2 -7
- package/lib/virtual-render/virtual-render.variable.css +387 -0
- package/package.json +1 -1
- package/lib/table/plugins/col-group.d.ts +0 -38
- package/lib/table/plugins/settings.d.ts +0 -16
- package/lib/table/plugins/use-active-columns.d.ts +0 -16
- package/lib/table/plugins/use-column-resize.d.ts +0 -35
- package/lib/table/plugins/use-column-template.d.ts +0 -7
- package/lib/table/plugins/use-fixed-column.d.ts +0 -27
- package/lib/table/plugins/use-head-cell.d.ts +0 -7
- package/lib/table/plugins/use-pagination.d.ts +0 -23
- package/lib/table/use-attributes.d.ts +0 -62
- package/lib/table/use-column.d.ts +0 -155
- package/lib/table/use-common.d.ts +0 -1679
- package/lib/table/use-render.d.ts +0 -11
- /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
- /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
package/lib/table/table.d.ts
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
import { Column } from './props';
|
2
1
|
declare const _default: import("vue").DefineComponent<{
|
3
2
|
data: import("vue-types").VueTypeDef<any[]> & {
|
4
3
|
default: () => any[];
|
5
4
|
};
|
6
|
-
columns: import("vue-types").VueTypeDef<Column[]> & {
|
7
|
-
default: () => Column[];
|
5
|
+
columns: import("vue-types").VueTypeDef<import("./props").Column[]> & {
|
6
|
+
default: () => import("./props").Column[];
|
8
7
|
};
|
9
8
|
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
10
9
|
columnPick: import("vue-types").VueTypeDef<"disabled" | "single" | "multi"> & {
|
@@ -162,95 +161,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
162
161
|
} & {
|
163
162
|
default: boolean;
|
164
163
|
};
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
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<{
|
164
|
+
scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
|
165
|
+
default: boolean;
|
166
|
+
} & {
|
167
|
+
default: boolean;
|
168
|
+
};
|
169
|
+
fixedBottom: import("vue-types").VueTypeDef<import("./props").FixedBottomOption> & {
|
170
|
+
default: () => import("./props").FixedBottomOption;
|
171
|
+
};
|
172
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, (...args: any[]) => boolean>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
249
173
|
data: import("vue-types").VueTypeDef<any[]> & {
|
250
174
|
default: () => any[];
|
251
175
|
};
|
252
|
-
columns: import("vue-types").VueTypeDef<Column[]> & {
|
253
|
-
default: () => Column[];
|
176
|
+
columns: import("vue-types").VueTypeDef<import("./props").Column[]> & {
|
177
|
+
default: () => import("./props").Column[];
|
254
178
|
};
|
255
179
|
activeColumn: import("vue-types").VueTypeDef<number | number[]>;
|
256
180
|
columnPick: import("vue-types").VueTypeDef<"disabled" | "single" | "multi"> & {
|
@@ -408,94 +332,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
408
332
|
} & {
|
409
333
|
default: boolean;
|
410
334
|
};
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
}
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
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
|
-
}, {
|
335
|
+
scrollbar: import("vue-types").VueTypeValidableDef<boolean> & {
|
336
|
+
default: boolean;
|
337
|
+
} & {
|
338
|
+
default: boolean;
|
339
|
+
};
|
340
|
+
fixedBottom: import("vue-types").VueTypeDef<import("./props").FixedBottomOption> & {
|
341
|
+
default: () => import("./props").FixedBottomOption;
|
342
|
+
};
|
343
|
+
}>>, {
|
495
344
|
data: any[];
|
496
345
|
thead: import("./props").Thead;
|
497
346
|
height: string | number;
|
498
347
|
maxHeight: string | number;
|
348
|
+
scrollbar: boolean;
|
499
349
|
border: string | ("col" | "none" | "row" | "horizontal" | "outer")[];
|
500
350
|
pagination: boolean | {
|
501
351
|
[key: string]: any;
|
@@ -510,7 +360,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
510
360
|
[key: string]: any;
|
511
361
|
};
|
512
362
|
columnPick: "disabled" | "single" | "multi";
|
513
|
-
columns: Column[];
|
363
|
+
columns: import("./props").Column[];
|
514
364
|
stripe: boolean;
|
515
365
|
rowHeight: import("./props").RowHeightFunctionNumber;
|
516
366
|
showHead: boolean;
|
@@ -535,5 +385,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
535
385
|
isFlex: boolean;
|
536
386
|
rowDraggable: any;
|
537
387
|
shiftMultiChecked: boolean;
|
388
|
+
fixedBottom: import("./props").FixedBottomOption;
|
538
389
|
}, {}>;
|
539
390
|
export default _default;
|
package/lib/table/table.less
CHANGED
@@ -13,8 +13,9 @@
|
|
13
13
|
.@{bk-prefix}-table {
|
14
14
|
position: relative;
|
15
15
|
width: 100%;
|
16
|
-
height:
|
16
|
+
height: 100%;
|
17
17
|
overflow: hidden;
|
18
|
+
border-spacing: 0;
|
18
19
|
|
19
20
|
&-flex {
|
20
21
|
display: flex;
|
@@ -26,19 +27,22 @@
|
|
26
27
|
}
|
27
28
|
}
|
28
29
|
|
29
|
-
&.has-scroll-y {
|
30
|
-
.@{bk-prefix}-table-head {
|
31
|
-
padding-right: 4px;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
30
|
.@{bk-prefix}-table-body {
|
36
31
|
position: relative;
|
37
32
|
overflow: hidden;
|
38
|
-
border-bottom: 1px solid @table-border-color;
|
39
33
|
|
40
34
|
.prepend-row {
|
41
|
-
transform:
|
35
|
+
transform: translate3d(var(--translate-x), 0, 0);
|
36
|
+
}
|
37
|
+
|
38
|
+
.resize-column {
|
39
|
+
position: absolute;
|
40
|
+
top: 0;
|
41
|
+
bottom: 0;
|
42
|
+
left: 0;
|
43
|
+
width: 1px;
|
44
|
+
background-color: #3785ff;
|
45
|
+
transform: translate3d(var(--drag-offset-x), var(--translate-y), 0);
|
42
46
|
}
|
43
47
|
}
|
44
48
|
|
@@ -62,20 +66,6 @@
|
|
62
66
|
}
|
63
67
|
}
|
64
68
|
|
65
|
-
.@{bk-prefix}-fixed-bottom-border {
|
66
|
-
position: sticky;
|
67
|
-
bottom: 0;
|
68
|
-
left: 0;
|
69
|
-
z-index: 1;
|
70
|
-
width: 100%;
|
71
|
-
border-top: 1px solid @table-border-color;
|
72
|
-
transform: translateX(var(--scroll-head-left));
|
73
|
-
|
74
|
-
&._is-empty {
|
75
|
-
display: none;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
69
|
.@{bk-prefix}-table-head,
|
80
70
|
.@{bk-prefix}-table-body {
|
81
71
|
background: @table-bg-color;
|
@@ -94,12 +84,12 @@
|
|
94
84
|
height: 100%;
|
95
85
|
padding-bottom: 20px;
|
96
86
|
}
|
97
|
-
|
98
87
|
}
|
99
88
|
|
100
89
|
table {
|
101
90
|
width: 100%;
|
102
|
-
border-collapse:
|
91
|
+
border-collapse: separate;
|
92
|
+
|
103
93
|
transform: translateZ(0);
|
104
94
|
table-layout: fixed;
|
105
95
|
align-self: flex-start;
|
@@ -158,7 +148,6 @@
|
|
158
148
|
}
|
159
149
|
}
|
160
150
|
|
161
|
-
|
162
151
|
.expand-btn-action {
|
163
152
|
display: flex;
|
164
153
|
padding: 0 16px;
|
@@ -169,14 +158,6 @@
|
|
169
158
|
&.column_fixed {
|
170
159
|
position: sticky;
|
171
160
|
z-index: 1;
|
172
|
-
|
173
|
-
&.column_fixed_left {
|
174
|
-
left: 0;
|
175
|
-
}
|
176
|
-
|
177
|
-
&.column_fixed_right {
|
178
|
-
right: 0;
|
179
|
-
}
|
180
161
|
}
|
181
162
|
|
182
163
|
&.row_expend {
|
@@ -250,7 +231,7 @@
|
|
250
231
|
}
|
251
232
|
|
252
233
|
&.column_fixed {
|
253
|
-
transform: translateX(var(--
|
234
|
+
transform: translateX(var(--translate-x));
|
254
235
|
}
|
255
236
|
}
|
256
237
|
}
|
@@ -259,9 +240,9 @@
|
|
259
240
|
tr {
|
260
241
|
td {
|
261
242
|
background-color: #fff;
|
262
|
-
border-top: 1px solid
|
263
|
-
border-bottom: 1px solid
|
264
|
-
border-right: 1px solid
|
243
|
+
border-top: 1px solid @table-bg-color;
|
244
|
+
border-bottom: 1px solid @table-bg-color;
|
245
|
+
border-right: 1px solid @table-bg-color;
|
265
246
|
|
266
247
|
box-sizing: border-box;
|
267
248
|
|
@@ -287,6 +268,7 @@
|
|
287
268
|
td {
|
288
269
|
&:not(.empty-cell) {
|
289
270
|
background: @table-row-hover-bg-color;
|
271
|
+
border-right-color: @table-row-hover-bg-color;
|
290
272
|
}
|
291
273
|
}
|
292
274
|
}
|
@@ -294,7 +276,7 @@
|
|
294
276
|
|
295
277
|
&.--drag-start {
|
296
278
|
td {
|
297
|
-
background: #fff!important;
|
279
|
+
background: #fff !important;
|
298
280
|
}
|
299
281
|
}
|
300
282
|
}
|
@@ -311,16 +293,23 @@
|
|
311
293
|
.col-resize-drag {
|
312
294
|
position: absolute;
|
313
295
|
top: 0;
|
314
|
-
|
296
|
+
left: 0;
|
315
297
|
bottom: 0;
|
316
298
|
z-index: 1;
|
317
299
|
width: 6px;
|
318
300
|
background-color: #3785ff;
|
319
|
-
transform:
|
301
|
+
transform: translate3d(var(--drag-offset-h-x), 0, 0);
|
302
|
+
&:hover {
|
303
|
+
cursor: ew-resize !important;
|
304
|
+
}
|
305
|
+
}
|
306
|
+
|
307
|
+
.@{bk-prefix}-table-fixed {
|
308
|
+
transform: translate3d(0, 0, 0);
|
320
309
|
}
|
321
310
|
|
322
311
|
thead {
|
323
|
-
transform:
|
312
|
+
transform: translate3d(var(--translate-x-1), 0, 0);
|
324
313
|
}
|
325
314
|
|
326
315
|
.table-head-settings {
|
@@ -384,7 +373,6 @@
|
|
384
373
|
.@{bk-prefix}-table-footer {
|
385
374
|
border-bottom: 1px solid @table-border-color;
|
386
375
|
}
|
387
|
-
|
388
376
|
}
|
389
377
|
|
390
378
|
&.bordered-horizontal {
|
@@ -406,7 +394,7 @@
|
|
406
394
|
|
407
395
|
&.bordered-col {
|
408
396
|
th {
|
409
|
-
border-right: 1px solid
|
397
|
+
border-right: 1px solid var(--background-color);
|
410
398
|
|
411
399
|
&:last-child {
|
412
400
|
border-right: none;
|
@@ -418,27 +406,22 @@
|
|
418
406
|
tr {
|
419
407
|
td {
|
420
408
|
border-right-color: @table-border-color;
|
421
|
-
|
422
|
-
&:last-child {
|
423
|
-
border-right-color: transparent;
|
424
|
-
}
|
425
409
|
}
|
426
410
|
}
|
427
411
|
}
|
428
412
|
}
|
429
|
-
|
430
413
|
}
|
431
414
|
|
432
415
|
th,
|
433
416
|
td {
|
434
|
-
border-right: 1px solid
|
417
|
+
border-right: 1px solid @table-bg-color;
|
435
418
|
}
|
436
419
|
|
437
420
|
&.bordered-none {
|
438
421
|
th,
|
439
422
|
td {
|
440
423
|
border-top: none;
|
441
|
-
border-right: 1px solid
|
424
|
+
border-right: 1px solid @table-bg-color;
|
442
425
|
border-bottom: none;
|
443
426
|
border-left: none;
|
444
427
|
}
|
@@ -448,32 +431,24 @@
|
|
448
431
|
position: absolute;
|
449
432
|
top: 0;
|
450
433
|
right: 0;
|
451
|
-
bottom:
|
434
|
+
bottom: 0;
|
452
435
|
left: 0;
|
453
436
|
pointer-events: none;
|
437
|
+
transform: translate3d(var(--translate-x), var(--translate-y), 0);
|
438
|
+
|
439
|
+
.column_fixed_right {
|
440
|
+
box-shadow: var(--shadow-right);
|
441
|
+
}
|
442
|
+
|
443
|
+
.column_fixed_left {
|
444
|
+
box-shadow: var(--shadow-left);
|
445
|
+
}
|
454
446
|
|
455
447
|
.column_fixed {
|
456
448
|
position: absolute;
|
457
449
|
z-index: 2;
|
458
|
-
|
459
|
-
|
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
|
-
}
|
450
|
+
bottom: 0;
|
451
|
+
top: 0;
|
477
452
|
}
|
478
453
|
|
479
454
|
.scroll-loading {
|
@@ -489,6 +464,13 @@
|
|
489
464
|
}
|
490
465
|
}
|
491
466
|
|
467
|
+
.@{bk-prefix}-table-fixed-bottom {
|
468
|
+
position: absolute;
|
469
|
+
right: 0;
|
470
|
+
bottom: 0;
|
471
|
+
left: 0;
|
472
|
+
text-align: center;
|
473
|
+
}
|
492
474
|
colgroup {
|
493
475
|
col {
|
494
476
|
background: @table-bg-color;
|
@@ -509,4 +491,4 @@
|
|
509
491
|
.stripe-row {
|
510
492
|
background: #fafbfd;
|
511
493
|
}
|
512
|
-
}
|
494
|
+
}
|