bkui-vue 2.0.1-beta.60 → 2.0.1-beta.60.fix.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/README.md +0 -15
- package/dist/index.cjs.js +59 -59
- package/dist/index.esm.js +18048 -18492
- package/dist/index.umd.js +60 -60
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.css +0 -130
- package/lib/affix/affix.variable.css +1 -262
- package/lib/alert/alert.css +3 -133
- package/lib/alert/alert.d.ts +7 -0
- package/lib/alert/alert.variable.css +1 -262
- package/lib/alert/index.d.ts +15 -0
- package/lib/alert/index.js +6 -6
- package/lib/backtop/backtop.css +3 -133
- package/lib/backtop/backtop.variable.css +4 -395
- package/lib/badge/badge.css +26 -156
- package/lib/badge/badge.variable.css +1 -262
- package/lib/breadcrumb/breadcrumb.css +5 -135
- package/lib/breadcrumb/breadcrumb.variable.css +6 -397
- package/lib/button/button.css +143 -273
- package/lib/button/button.variable.css +1 -262
- package/lib/card/card.css +4 -134
- package/lib/card/card.variable.css +5 -396
- package/lib/cascader/cascader.css +23 -153
- package/lib/cascader/cascader.variable.css +24 -415
- package/lib/cascader/index.js +1 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +9 -147
- package/lib/checkbox/checkbox.d.ts +0 -32
- package/lib/checkbox/checkbox.less +0 -12
- package/lib/checkbox/checkbox.variable.css +1 -270
- package/lib/checkbox/index.d.ts +11 -46
- package/lib/checkbox/index.js +4 -9
- package/lib/code-diff/code-diff.css +0 -130
- package/lib/code-diff/code-diff.variable.css +1 -262
- package/lib/collapse/collapse.css +1 -131
- package/lib/collapse/collapse.variable.css +1 -262
- package/lib/collapse-transition/collapse-transition.css +0 -130
- package/lib/collapse-transition/collapse-transition.variable.css +1 -262
- package/lib/color-picker/color-picker.css +0 -130
- package/lib/color-picker/color-picker.variable.css +1 -262
- package/lib/config-provider/config-provider.css +0 -130
- package/lib/config-provider/config-provider.variable.css +1 -262
- package/lib/container/container.css +0 -130
- package/lib/container/container.variable.css +1 -392
- package/lib/date-picker/date-picker.css +17 -147
- package/lib/date-picker/date-picker.d.ts +9 -0
- package/lib/date-picker/date-picker.variable.css +1 -262
- package/lib/date-picker/index.d.ts +19 -0
- package/lib/date-picker/index.js +17 -29
- package/lib/date-picker/panel/time-range.d.ts +9 -0
- package/lib/date-picker/panel/time.d.ts +10 -1
- package/lib/date-picker/props.d.ts +4 -0
- package/lib/date-picker/time-picker.d.ts +9 -0
- package/lib/dialog/dialog.css +8 -138
- package/lib/dialog/dialog.d.ts +5 -16
- package/lib/dialog/dialog.variable.css +9 -400
- package/lib/dialog/index.d.ts +11 -34
- package/lib/dialog/props.d.ts +2 -7
- package/lib/directives/index.js +6 -12
- package/lib/divider/divider.css +3 -133
- package/lib/divider/divider.variable.css +1 -262
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +1 -1
- package/lib/dropdown/dropdown.css +0 -130
- package/lib/dropdown/dropdown.variable.css +1 -392
- package/lib/dropdown/index.d.ts +2 -2
- package/lib/exception/exception.css +0 -130
- package/lib/exception/exception.variable.css +1 -262
- package/lib/fixed-navbar/fixed-navbar.css +4 -134
- package/lib/fixed-navbar/fixed-navbar.variable.css +1 -262
- package/lib/form/form-item.d.ts +18 -6
- package/lib/form/form.css +0 -130
- package/lib/form/form.variable.css +1 -262
- package/lib/form/index.d.ts +13 -6
- package/lib/form/index.js +6 -8
- package/lib/image/image-viewer.css +0 -130
- package/lib/image/image-viewer.variable.css +1 -262
- package/lib/image/image.css +0 -130
- package/lib/image/image.variable.css +1 -392
- package/lib/index.js +1 -1
- package/lib/info-box/index.js +5 -3
- package/lib/info-box/info-box.css +4 -134
- package/lib/info-box/info-box.variable.css +1 -262
- package/lib/input/index.js +9 -36
- package/lib/input/input.css +72 -202
- package/lib/input/input.variable.css +73 -464
- package/lib/link/link.css +16 -146
- package/lib/link/link.variable.css +1 -262
- package/lib/loading/loading.css +16 -146
- package/lib/loading/loading.variable.css +17 -408
- package/lib/menu/menu.css +18 -148
- package/lib/menu/menu.variable.css +19 -410
- package/lib/menu/submenu.css +0 -130
- package/lib/menu/submenu.variable.css +1 -262
- package/lib/message/message.css +22 -153
- package/lib/message/message.less +2 -3
- package/lib/message/message.variable.css +2 -264
- package/lib/modal/index.d.ts +13 -41
- package/lib/modal/index.js +18 -33
- package/lib/modal/modal.css +4 -134
- package/lib/modal/modal.d.ts +5 -16
- package/lib/modal/modal.variable.css +5 -396
- package/lib/modal/props.mixin.d.ts +2 -7
- package/lib/navigation/navigation.css +2 -132
- package/lib/navigation/navigation.variable.css +1 -262
- package/lib/notify/notify.css +7 -137
- package/lib/notify/notify.variable.css +1 -262
- package/lib/overflow-title/components/overflow-title.d.ts +7 -0
- package/lib/overflow-title/index.d.ts +15 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/props.d.ts +3 -0
- package/lib/pagination/index.d.ts +19 -0
- package/lib/pagination/index.js +9 -47
- package/lib/pagination/pagination.css +9 -139
- package/lib/pagination/pagination.d.ts +13 -0
- package/lib/pagination/pagination.less +13 -14
- package/lib/pagination/pagination.variable.css +9 -270
- package/lib/pop-confirm/index.d.ts +32 -0
- package/lib/pop-confirm/index.js +18 -16
- package/lib/pop-confirm/pop-confirm.css +1 -133
- package/lib/pop-confirm/pop-confirm.d.ts +14 -0
- package/lib/pop-confirm/pop-confirm.less +1 -3
- package/lib/pop-confirm/pop-confirm.variable.css +2 -265
- package/lib/pop-confirm/props.d.ts +7 -1
- package/lib/popover/popover.css +0 -130
- package/lib/popover/popover.variable.css +1 -262
- package/lib/process/process.css +13 -143
- package/lib/process/process.variable.css +1 -262
- package/lib/progress/progress.css +4 -134
- package/lib/progress/progress.variable.css +5 -396
- package/lib/radio/index.d.ts +21 -21
- package/lib/radio/radio-button.d.ts +7 -7
- package/lib/radio/radio-group.d.ts +7 -7
- package/lib/radio/radio.css +42 -172
- package/lib/radio/radio.d.ts +7 -7
- package/lib/radio/radio.variable.css +1 -262
- package/lib/rate/rate.css +0 -130
- package/lib/rate/rate.variable.css +1 -262
- package/lib/resize-layout/resize-layout.css +0 -130
- package/lib/resize-layout/resize-layout.variable.css +1 -262
- package/lib/scrollbar/index.d.ts +13 -133
- package/lib/scrollbar/index.js +18444 -1343
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/{styles/themes/themes.css → scrollbar/scrollbar.variable.css} +76 -2
- package/lib/search-select/index.d.ts +72 -40
- package/lib/search-select/index.js +67 -85
- package/lib/search-select/input.d.ts +4 -5
- package/lib/search-select/search-select.css +33 -163
- package/lib/search-select/search-select.d.ts +39 -15
- package/lib/search-select/search-select.variable.css +34 -425
- package/lib/search-select/selected.d.ts +9 -11
- package/lib/search-select/utils.d.ts +3 -3
- package/lib/select/common.d.ts +2 -2
- package/lib/select/index.d.ts +4 -32
- package/lib/select/index.js +59 -119
- package/lib/select/option.d.ts +5 -4
- package/lib/select/select.css +43 -175
- package/lib/select/select.d.ts +0 -12
- package/lib/select/select.less +4 -7
- package/lib/select/select.variable.css +44 -437
- package/lib/select/type.d.ts +10 -9
- package/lib/shared/index.d.ts +0 -1
- package/lib/shared/index.js +1 -72
- package/lib/sideslider/index.d.ts +11 -34
- package/lib/sideslider/index.js +0 -1
- package/lib/sideslider/sideslider.css +9 -138
- package/lib/sideslider/sideslider.d.ts +5 -16
- package/lib/sideslider/sideslider.less +8 -7
- package/lib/sideslider/sideslider.variable.css +9 -269
- package/lib/slider/slider.css +5 -135
- package/lib/slider/slider.variable.css +1 -262
- package/lib/steps/index.d.ts +18 -3
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +38 -168
- package/lib/steps/steps.d.ts +11 -1
- package/lib/steps/steps.variable.css +1 -262
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.css +0 -130
- package/lib/styles/mixins/animate.variable.css +1 -262
- package/lib/styles/mixins/mixins.css +0 -130
- package/lib/styles/mixins/mixins.variable.css +0 -130
- package/lib/styles/mixins/popper.css +0 -130
- package/lib/styles/mixins/popper.variable.css +1 -262
- package/lib/styles/mixins/scroll.css +0 -130
- package/lib/styles/mixins/scroll.variable.css +1 -262
- package/lib/styles/reset.css +0 -130
- package/lib/styles/reset.variable.css +1 -262
- package/lib/styles/themes/themes.less +129 -299
- package/lib/swiper/swiper.css +0 -130
- package/lib/swiper/swiper.variable.css +1 -262
- package/lib/switcher/switcher.css +17 -147
- package/lib/switcher/switcher.variable.css +18 -409
- package/lib/tab/index.d.ts +92 -0
- package/lib/tab/index.js +14 -1
- package/lib/tab/props.d.ts +35 -0
- package/lib/tab/tab-nav.d.ts +45 -2
- package/lib/tab/tab.css +17 -147
- package/lib/tab/tab.d.ts +44 -0
- package/lib/tab/tab.variable.css +1 -262
- package/lib/table/components/table-cell.d.ts +0 -22
- package/lib/table/components/table-column.d.ts +44 -1
- package/lib/table/const.d.ts +2 -15
- package/lib/table/events.d.ts +98 -2
- package/lib/table/index.d.ts +561 -89
- package/lib/table/index.js +3333 -3812
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/head-filter.css +0 -131
- package/lib/table/plugins/head-filter.d.ts +1 -2
- package/lib/table/plugins/head-filter.less +0 -1
- package/lib/table/plugins/head-filter.variable.css +1 -263
- package/lib/table/plugins/head-sort.css +0 -130
- package/lib/table/plugins/head-sort.variable.css +1 -262
- package/lib/table/plugins/settings.css +0 -131
- package/lib/table/plugins/settings.d.ts +16 -0
- package/lib/table/plugins/settings.less +0 -1
- package/lib/table/plugins/settings.variable.css +1 -263
- 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/plugins/use-column-template.d.ts +7 -0
- 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/{hooks → plugins}/use-shift-key.d.ts +2 -4
- package/lib/table/props.d.ts +30 -92
- package/lib/table/table.css +327 -597
- package/lib/table/table.d.ts +181 -47
- package/lib/table/table.less +101 -228
- package/lib/table/table.variable.css +328 -859
- 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 +18 -45
- package/lib/table-column/index.d.ts +132 -3
- package/lib/table-column/index.js +28 -17367
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +6 -136
- package/lib/tag/tag.less +1 -1
- package/lib/tag/tag.variable.css +2 -263
- package/lib/tag-input/index.js +3 -3
- package/lib/tag-input/tag-input.css +18 -148
- package/lib/tag-input/tag-input.d.ts +14 -2
- package/lib/tag-input/tag-input.variable.css +1 -262
- package/lib/time-picker/index.d.ts +19 -0
- package/lib/time-picker/time-picker.css +0 -130
- package/lib/time-picker/time-picker.variable.css +1 -262
- package/lib/timeline/timeline.css +19 -149
- package/lib/timeline/timeline.variable.css +1 -262
- package/lib/transfer/transfer.css +19 -149
- package/lib/transfer/transfer.variable.css +1 -262
- package/lib/tree/constant.d.ts +1 -3
- package/lib/tree/index.d.ts +7 -21
- package/lib/tree/index.js +18 -61
- package/lib/tree/props.d.ts +5 -12
- package/lib/tree/tree.css +78 -242
- package/lib/tree/tree.d.ts +3 -9
- package/lib/tree/tree.variable.css +79 -504
- package/lib/tree/use-node-action.d.ts +9 -10
- package/lib/tree/use-node-async.d.ts +1 -2
- package/lib/tree/use-node-attribute.d.ts +34 -42
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +5 -8
- package/lib/tree/util.d.ts +21 -21
- package/lib/upload/index.d.ts +4 -27
- package/lib/upload/index.js +7 -30
- package/lib/upload/props.d.ts +2 -7
- package/lib/upload/upload.css +27 -157
- package/lib/upload/upload.d.ts +2 -13
- package/lib/upload/upload.type.d.ts +0 -6
- package/lib/upload/upload.variable.css +28 -419
- package/lib/virtual-render/index.d.ts +46 -12
- package/lib/virtual-render/index.js +148 -17469
- package/lib/virtual-render/props.d.ts +9 -2
- package/lib/virtual-render/use-fix-top.d.ts +1 -1
- package/lib/virtual-render/use-scrollbar.d.ts +17 -4
- package/lib/virtual-render/v-virtual-render.d.ts +1 -7
- package/lib/virtual-render/virtual-render.css +69 -225
- package/lib/virtual-render/virtual-render.d.ts +22 -6
- package/lib/virtual-render/virtual-render.less +11 -2
- package/lib/virtual-render/virtual-render.variable.css +70 -487
- package/lib/volar.components.d.ts +0 -2
- package/package.json +1 -1
- package/lib/scrollbar/css/scrollbar.css +0 -239
- package/lib/scrollbar/css/scrollbar.less +0 -139
- package/lib/scrollbar/css/scrollbar.variable.css +0 -499
- package/lib/scrollbar/handlers/click-rail.d.ts +0 -2
- package/lib/scrollbar/handlers/drag-thumb.d.ts +0 -1
- package/lib/scrollbar/handlers/keyboard.d.ts +0 -2
- package/lib/scrollbar/handlers/mouse-wheel.d.ts +0 -2
- package/lib/scrollbar/handlers/touch.d.ts +0 -4
- package/lib/scrollbar/helper/class-names.d.ts +0 -21
- package/lib/scrollbar/helper/css.d.ts +0 -3
- package/lib/scrollbar/helper/dom.d.ts +0 -4
- package/lib/scrollbar/helper/event-manager.d.ts +0 -20
- package/lib/scrollbar/helper/util.d.ts +0 -11
- package/lib/scrollbar/process-scroll-diff.d.ts +0 -1
- package/lib/scrollbar/update-geometry.d.ts +0 -8
- package/lib/shared/frame-throttle.d.ts +0 -15
- package/lib/styles/themes/themes.variable.css +0 -130
- package/lib/table/components/ghost-body.d.ts +0 -2
- package/lib/table/hooks/use-cell.d.ts +0 -20
- package/lib/table/hooks/use-column-resize.d.ts +0 -7
- package/lib/table/hooks/use-column-template.d.ts +0 -5
- package/lib/table/hooks/use-columns.d.ts +0 -69
- package/lib/table/hooks/use-fixed-column.d.ts +0 -10
- package/lib/table/hooks/use-head.d.ts +0 -16
- package/lib/table/hooks/use-layout.d.ts +0 -25
- package/lib/table/hooks/use-pagination.d.ts +0 -16
- package/lib/table/hooks/use-render.d.ts +0 -21
- package/lib/table/hooks/use-rows.d.ts +0 -30
- package/lib/table/hooks/use-settings.d.ts +0 -134
- /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/table.less
CHANGED
@@ -13,45 +13,32 @@
|
|
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
|
-
display: flex;
|
20
|
-
flex-direction: column;
|
21
|
-
max-height: fit-content;
|
22
18
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
height: 8px;
|
19
|
+
&-flex {
|
20
|
+
display: flex;
|
21
|
+
flex-direction: column;
|
22
|
+
max-height: fit-content;
|
23
|
+
.@{bk-prefix}-table-body {
|
24
|
+
flex: 1;
|
25
|
+
overflow: auto;
|
31
26
|
}
|
27
|
+
}
|
32
28
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
29
|
+
&.has-scroll-y {
|
30
|
+
.@{bk-prefix}-table-head {
|
31
|
+
padding-right: 4px;
|
37
32
|
}
|
33
|
+
}
|
38
34
|
|
39
|
-
|
40
|
-
|
41
|
-
|
35
|
+
.@{bk-prefix}-table-body {
|
36
|
+
position: relative;
|
37
|
+
overflow: hidden;
|
38
|
+
border-bottom: 1px solid @table-border-color;
|
42
39
|
|
43
40
|
.prepend-row {
|
44
|
-
transform:
|
45
|
-
}
|
46
|
-
|
47
|
-
.resize-column {
|
48
|
-
position: absolute;
|
49
|
-
top: 0;
|
50
|
-
bottom: 0;
|
51
|
-
left: 0;
|
52
|
-
width: 1px;
|
53
|
-
background-color: #3785ff;
|
54
|
-
transform: translate(var(--drag-offset-x), var(--translate-y));
|
41
|
+
transform: translateX(var(--prepend-left));
|
55
42
|
}
|
56
43
|
}
|
57
44
|
|
@@ -62,7 +49,7 @@
|
|
62
49
|
tr {
|
63
50
|
&:nth-child(even) {
|
64
51
|
td {
|
65
|
-
background-color:
|
52
|
+
background-color: #fafbfd;
|
66
53
|
}
|
67
54
|
}
|
68
55
|
|
@@ -75,6 +62,20 @@
|
|
75
62
|
}
|
76
63
|
}
|
77
64
|
|
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
|
+
|
78
79
|
.@{bk-prefix}-table-head,
|
79
80
|
.@{bk-prefix}-table-body {
|
80
81
|
background: @table-bg-color;
|
@@ -93,22 +94,16 @@
|
|
93
94
|
height: 100%;
|
94
95
|
padding-bottom: 20px;
|
95
96
|
}
|
97
|
+
|
96
98
|
}
|
97
99
|
|
98
100
|
table {
|
99
101
|
width: 100%;
|
100
|
-
border-collapse:
|
101
|
-
|
102
|
+
border-collapse: collapse;
|
102
103
|
transform: translateZ(0);
|
103
104
|
table-layout: fixed;
|
104
105
|
align-self: flex-start;
|
105
106
|
|
106
|
-
&.@{bk-prefix}-table-col-resizing {
|
107
|
-
th {
|
108
|
-
cursor: col-resize !important;
|
109
|
-
}
|
110
|
-
}
|
111
|
-
|
112
107
|
th,
|
113
108
|
td {
|
114
109
|
height: var(--row-height);
|
@@ -152,10 +147,6 @@
|
|
152
147
|
&.selection {
|
153
148
|
padding: 0;
|
154
149
|
text-align: center;
|
155
|
-
display: flex;
|
156
|
-
align-items: center;
|
157
|
-
justify-content: center;
|
158
|
-
height: 100%;
|
159
150
|
}
|
160
151
|
|
161
152
|
&.expand-cell {
|
@@ -167,6 +158,7 @@
|
|
167
158
|
}
|
168
159
|
}
|
169
160
|
|
161
|
+
|
170
162
|
.expand-btn-action {
|
171
163
|
display: flex;
|
172
164
|
padding: 0 16px;
|
@@ -177,6 +169,14 @@
|
|
177
169
|
&.column_fixed {
|
178
170
|
position: sticky;
|
179
171
|
z-index: 1;
|
172
|
+
|
173
|
+
&.column_fixed_left {
|
174
|
+
left: 0;
|
175
|
+
}
|
176
|
+
|
177
|
+
&.column_fixed_right {
|
178
|
+
right: 0;
|
179
|
+
}
|
180
180
|
}
|
181
181
|
|
182
182
|
&.row_expend {
|
@@ -221,64 +221,19 @@
|
|
221
221
|
font-weight: 400;
|
222
222
|
background-color: var(--background-color);
|
223
223
|
|
224
|
-
&.col-
|
225
|
-
|
226
|
-
&::after {
|
227
|
-
content: '';
|
228
|
-
position: absolute;
|
229
|
-
top: 0;
|
230
|
-
bottom: 0;
|
231
|
-
right: 0;
|
232
|
-
width: 3px;
|
233
|
-
background-color: #3785ff;
|
234
|
-
transform: translateX(1px);
|
235
|
-
pointer-events: none;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
&.poiner-left {
|
239
|
-
&::after {
|
240
|
-
content: '';
|
241
|
-
position: absolute;
|
242
|
-
top: 0;
|
243
|
-
bottom: 0;
|
244
|
-
left: 0;
|
245
|
-
width: 3px;
|
246
|
-
transform: translateX(-1px);
|
247
|
-
background-color: #3785ff;
|
248
|
-
pointer-events: none;
|
249
|
-
}
|
250
|
-
}
|
251
|
-
}
|
252
|
-
|
253
|
-
|
254
|
-
.across-page-cell {
|
255
|
-
position: relative;
|
256
|
-
|
257
|
-
.dropwn-icon {
|
258
|
-
display: block;
|
224
|
+
&.col-resize-hover {
|
225
|
+
&::after {
|
259
226
|
position: absolute;
|
260
|
-
|
261
|
-
height: 16px;
|
262
|
-
top: 50%;
|
227
|
+
top: 0;
|
263
228
|
right: 0;
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
width: 5px;
|
272
|
-
height: 5px;
|
273
|
-
border: 1px solid #63656e;
|
274
|
-
border-top: 0;
|
275
|
-
border-left: 0;
|
276
|
-
transform: translate(-50%, -100%) scaleY(1) rotate(45deg);
|
277
|
-
transform-origin: center;
|
278
|
-
content: '';
|
279
|
-
}
|
229
|
+
bottom: 0;
|
230
|
+
z-index: 1;
|
231
|
+
width: 6px;
|
232
|
+
pointer-events: none;
|
233
|
+
background-color: #3785ff;
|
234
|
+
content: '';
|
235
|
+
transform: translateX(50%);
|
280
236
|
}
|
281
|
-
|
282
237
|
}
|
283
238
|
|
284
239
|
.cell {
|
@@ -286,45 +241,27 @@
|
|
286
241
|
align-items: center;
|
287
242
|
height: calc(var(--row-height) - 2px);
|
288
243
|
color: @table-head-font-color;
|
289
|
-
|
290
|
-
&.cell-resize {
|
291
|
-
cursor: col-resize;
|
292
|
-
}
|
293
244
|
}
|
294
245
|
|
295
|
-
&.
|
296
|
-
|
246
|
+
&.active,
|
247
|
+
&:hover {
|
248
|
+
cursor: pointer;
|
249
|
+
background: @table-row-active-bg-color;
|
297
250
|
}
|
298
|
-
}
|
299
|
-
}
|
300
251
|
|
301
|
-
|
302
|
-
|
303
|
-
th {
|
304
|
-
&.active,
|
305
|
-
&:hover {
|
306
|
-
cursor: pointer;
|
307
|
-
background: @table-row-active-bg-color;
|
308
|
-
}
|
252
|
+
&.column_fixed {
|
253
|
+
transform: translateX(var(--scroll-left));
|
309
254
|
}
|
310
255
|
}
|
311
256
|
}
|
312
257
|
|
313
258
|
tbody {
|
314
259
|
tr {
|
315
|
-
|
316
|
-
&.stripe-row {
|
317
|
-
background: #fafbfd;
|
318
|
-
td {
|
319
|
-
background-color: #fafbfd;
|
320
|
-
}
|
321
|
-
}
|
322
|
-
|
323
260
|
td {
|
324
261
|
background-color: #fff;
|
325
|
-
border-top: 1px solid
|
326
|
-
border-bottom: 1px solid
|
327
|
-
border-right: 1px solid
|
262
|
+
border-top: 1px solid transparent;
|
263
|
+
border-bottom: 1px solid transparent;
|
264
|
+
border-right: 1px solid transparent;
|
328
265
|
|
329
266
|
box-sizing: border-box;
|
330
267
|
|
@@ -335,7 +272,7 @@
|
|
335
272
|
.cell {
|
336
273
|
display: block;
|
337
274
|
width: 100%;
|
338
|
-
line-height: calc(var(--row-height) -
|
275
|
+
line-height: calc(var(--row-height) - 2px);
|
339
276
|
box-sizing: border-box;
|
340
277
|
|
341
278
|
&.drag {
|
@@ -350,7 +287,6 @@
|
|
350
287
|
td {
|
351
288
|
&:not(.empty-cell) {
|
352
289
|
background: @table-row-hover-bg-color;
|
353
|
-
border-right-color: @table-row-hover-bg-color;
|
354
290
|
}
|
355
291
|
}
|
356
292
|
}
|
@@ -358,7 +294,7 @@
|
|
358
294
|
|
359
295
|
&.--drag-start {
|
360
296
|
td {
|
361
|
-
background: #fff
|
297
|
+
background: #fff!important;
|
362
298
|
}
|
363
299
|
}
|
364
300
|
}
|
@@ -371,41 +307,20 @@
|
|
371
307
|
z-index: 2;
|
372
308
|
overflow: hidden;
|
373
309
|
background-color: var(--background-color);
|
374
|
-
height: var(--row-height);
|
375
|
-
min-height: var(--row-height);
|
376
|
-
|
377
|
-
&.has-group {
|
378
|
-
.is-head-group {
|
379
|
-
border-bottom: 1px solid @table-border-color;
|
380
|
-
}
|
381
|
-
|
382
|
-
th {
|
383
|
-
border-right: 1px solid @table-border-color;
|
384
|
-
|
385
|
-
&.is-last-child {
|
386
|
-
border-right: none;
|
387
|
-
}
|
388
|
-
}
|
389
|
-
}
|
390
310
|
|
391
311
|
.col-resize-drag {
|
392
312
|
position: absolute;
|
393
313
|
top: 0;
|
394
|
-
|
314
|
+
right: 0;
|
395
315
|
bottom: 0;
|
396
316
|
z-index: 1;
|
397
317
|
width: 6px;
|
398
318
|
background-color: #3785ff;
|
399
|
-
transform:
|
400
|
-
pointer-events: none;
|
401
|
-
}
|
402
|
-
|
403
|
-
.@{bk-prefix}-table-fixed {
|
404
|
-
transform: translate(0, 0);
|
319
|
+
transform: translateX(-50%);
|
405
320
|
}
|
406
321
|
|
407
322
|
thead {
|
408
|
-
transform:
|
323
|
+
transform: translateX(var(--scroll-head-left));
|
409
324
|
}
|
410
325
|
|
411
326
|
.table-head-settings {
|
@@ -437,7 +352,6 @@
|
|
437
352
|
display: flex;
|
438
353
|
width: 100%;
|
439
354
|
height: var(--footer-height);
|
440
|
-
min-height: var(--footer-height);
|
441
355
|
align-items: center;
|
442
356
|
padding: 0 16px 0 22px;
|
443
357
|
|
@@ -470,11 +384,15 @@
|
|
470
384
|
.@{bk-prefix}-table-footer {
|
471
385
|
border-bottom: 1px solid @table-border-color;
|
472
386
|
}
|
387
|
+
|
473
388
|
}
|
474
389
|
|
475
390
|
&.bordered-horizontal {
|
476
391
|
border-top: 1px solid @table-border-color;
|
477
|
-
|
392
|
+
|
393
|
+
.@{bk-prefix}-table-footer {
|
394
|
+
border-bottom: 1px solid @table-border-color;
|
395
|
+
}
|
478
396
|
}
|
479
397
|
|
480
398
|
&.bordered-outer,
|
@@ -487,12 +405,6 @@
|
|
487
405
|
}
|
488
406
|
|
489
407
|
&.bordered-col {
|
490
|
-
.@{bk-prefix}-table-head {
|
491
|
-
border-right: 1px solid @table-border-color;
|
492
|
-
.is-head-group {
|
493
|
-
border-bottom: 1px solid @table-border-color;
|
494
|
-
}
|
495
|
-
}
|
496
408
|
th {
|
497
409
|
border-right: 1px solid @table-border-color;
|
498
410
|
|
@@ -501,42 +413,32 @@
|
|
501
413
|
}
|
502
414
|
}
|
503
415
|
|
504
|
-
|
505
|
-
border-right: 1px solid @table-border-color;
|
416
|
+
.bk-table-body {
|
506
417
|
tbody {
|
507
418
|
tr {
|
508
419
|
td {
|
509
420
|
border-right-color: @table-border-color;
|
510
421
|
|
511
422
|
&:last-child {
|
512
|
-
border-right:
|
513
|
-
}
|
514
|
-
}
|
515
|
-
|
516
|
-
&:hover {
|
517
|
-
&.hover-highlight {
|
518
|
-
td {
|
519
|
-
&:not(.empty-cell) {
|
520
|
-
border-right-color: @table-border-color;
|
521
|
-
}
|
522
|
-
}
|
423
|
+
border-right-color: transparent;
|
523
424
|
}
|
524
425
|
}
|
525
426
|
}
|
526
427
|
}
|
527
428
|
}
|
429
|
+
|
528
430
|
}
|
529
431
|
|
530
432
|
th,
|
531
433
|
td {
|
532
|
-
border-right: 1px solid
|
434
|
+
border-right: 1px solid transparent;
|
533
435
|
}
|
534
436
|
|
535
437
|
&.bordered-none {
|
536
438
|
th,
|
537
439
|
td {
|
538
440
|
border-top: none;
|
539
|
-
border-right: 1px solid
|
441
|
+
border-right: 1px solid transparent;
|
540
442
|
border-bottom: none;
|
541
443
|
border-left: none;
|
542
444
|
}
|
@@ -546,28 +448,32 @@
|
|
546
448
|
position: absolute;
|
547
449
|
top: 0;
|
548
450
|
right: 0;
|
549
|
-
bottom:
|
451
|
+
bottom: var(--footer-height);
|
550
452
|
left: 0;
|
551
453
|
pointer-events: none;
|
552
|
-
transform: translate(var(--translate-x), var(--translate-y));
|
553
|
-
|
554
|
-
&.has-virtual-scroll {
|
555
|
-
transform: translate(var(--translate-x), 0);
|
556
|
-
}
|
557
|
-
|
558
|
-
.column_fixed_right {
|
559
|
-
box-shadow: var(--shadow-right);
|
560
|
-
}
|
561
|
-
|
562
|
-
.column_fixed_left {
|
563
|
-
box-shadow: var(--shadow-left);
|
564
|
-
}
|
565
454
|
|
566
455
|
.column_fixed {
|
567
456
|
position: absolute;
|
568
457
|
z-index: 2;
|
569
|
-
|
570
|
-
|
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
|
+
}
|
571
477
|
}
|
572
478
|
|
573
479
|
.scroll-loading {
|
@@ -583,13 +489,6 @@
|
|
583
489
|
}
|
584
490
|
}
|
585
491
|
|
586
|
-
.@{bk-prefix}-table-fixed-bottom {
|
587
|
-
position: absolute;
|
588
|
-
right: 0;
|
589
|
-
bottom: 0;
|
590
|
-
left: 0;
|
591
|
-
text-align: center;
|
592
|
-
}
|
593
492
|
colgroup {
|
594
493
|
col {
|
595
494
|
background: @table-bg-color;
|
@@ -606,34 +505,8 @@
|
|
606
505
|
margin-left: auto;
|
607
506
|
}
|
608
507
|
}
|
609
|
-
}
|
610
|
-
|
611
|
-
.@{bk-prefix}-across-page-popover {
|
612
|
-
padding: 0!important;
|
613
|
-
|
614
|
-
.dropwn-content {
|
615
|
-
min-width: 100%;
|
616
|
-
padding: 5px 0;
|
617
|
-
margin: 0;
|
618
|
-
background: #fff;
|
619
|
-
border: 1px solid #dcdee5;
|
620
|
-
border-radius: 2px;
|
621
|
-
box-sizing: border-box;
|
622
|
-
|
623
|
-
> div {
|
624
|
-
display: block;
|
625
|
-
height: 32px;
|
626
|
-
padding: 0 16px;
|
627
|
-
font-size: 12px;
|
628
|
-
line-height: 33px;
|
629
|
-
color: #63656e;
|
630
|
-
white-space: nowrap;
|
631
|
-
list-style: none;
|
632
|
-
cursor: pointer;
|
633
508
|
|
634
|
-
|
635
|
-
|
636
|
-
}
|
637
|
-
}
|
509
|
+
.stripe-row {
|
510
|
+
background: #fafbfd;
|
638
511
|
}
|
639
|
-
}
|
512
|
+
}
|