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