bkui-vue 1.0.3-beta.9 → 2.0.1-beta.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 +162 -164
- package/dist/index.esm.js +31999 -29678
- package/dist/index.umd.js +162 -164
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.variable.css +3 -0
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.variable.css +3 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +3 -0
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +6 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +7 -7
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +11 -3
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +6 -3
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -30
- package/lib/components.js +31 -29
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +5 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +3 -3
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +340 -224
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +2 -64
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +9 -1
- package/lib/dialog/dialog.css +172 -150
- package/lib/dialog/dialog.d.ts +55 -124
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +175 -150
- package/lib/dialog/index.d.ts +132 -296
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +16 -41
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -167
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +3 -0
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +3 -0
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +17 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +12 -11
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +25 -22
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +25 -23
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +23 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +3 -0
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.variable.css +3 -0
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +44 -312
- package/lib/modal/index.js +286 -672
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +151 -76
- package/lib/modal/modal.d.ts +19 -117
- package/lib/modal/modal.less +103 -56
- package/lib/modal/modal.variable.css +154 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +107 -63
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -15
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +62 -44
- package/lib/pop-confirm/index.js +17 -14
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/pop-confirm/props.d.ts +2 -2
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +62 -44
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.js +3 -3
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +49 -31
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +30 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -9
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18762 -0
- 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/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +754 -419
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +117 -7
- package/lib/search-select/utils.d.ts +22 -9
- package/lib/select/index.d.ts +185 -67
- package/lib/select/index.js +1396 -136
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +56 -14
- package/lib/select/select.d.ts +74 -26
- package/lib/select/select.less +70 -21
- package/lib/select/select.variable.css +59 -14
- package/lib/select/selectTagInput.d.ts +13 -6
- package/lib/select/type.d.ts +4 -5
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +108 -96
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +51 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +58 -188
- package/lib/sideslider/index.js +83 -57
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +26 -88
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +64 -26
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -0
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +30 -100
- package/lib/table/const.d.ts +12 -12
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +220 -305
- package/lib/table/index.js +18165 -688
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +13 -0
- package/lib/table/props.d.ts +49 -39
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +58 -47
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +9 -46
- package/lib/table/use-column.d.ts +18 -139
- package/lib/table/use-common.d.ts +5 -5
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -6
- package/lib/table-column/index.d.ts +127 -431
- package/lib/table-column/index.js +43 -117
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +12 -12
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +6 -6
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +3 -3
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +56 -67
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +12 -9
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +64 -20
- package/lib/tree/index.js +17595 -72
- package/lib/tree/props.d.ts +24 -6
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +34 -8
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +62 -65
- package/lib/upload/props.d.ts +4 -1
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +3 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +13 -49
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/shared/mask.d.ts +0 -11
package/lib/table/table.css
CHANGED
@@ -15,11 +15,85 @@
|
|
15
15
|
.bk-F-scroll-y::-webkit-scrollbar-thumb {
|
16
16
|
border-radius: 4px;
|
17
17
|
}
|
18
|
+
.bk-scrollbar-wrapper {
|
19
|
+
position: relative;
|
20
|
+
overflow: hidden;
|
21
|
+
}
|
22
|
+
.bk-scrollbar-wrapper .bk-scrollbar-content-el {
|
23
|
+
display: inline-flex;
|
24
|
+
flex-direction: column;
|
25
|
+
width: 100%;
|
26
|
+
}
|
27
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track {
|
28
|
+
z-index: 1;
|
29
|
+
position: absolute;
|
30
|
+
right: 0;
|
31
|
+
bottom: 0;
|
32
|
+
pointer-events: none;
|
33
|
+
overflow: hidden;
|
34
|
+
}
|
35
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover {
|
36
|
+
background-color: #F0F1F5;
|
37
|
+
cursor: pointer;
|
38
|
+
}
|
39
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-hover .bk-scrollbar::before {
|
40
|
+
background-color: #979BA5;
|
41
|
+
}
|
42
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-vertical {
|
43
|
+
top: 0;
|
44
|
+
width: 8px;
|
45
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
46
|
+
}
|
47
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal {
|
48
|
+
left: 0;
|
49
|
+
height: 8px;
|
50
|
+
transform: translate(var(--scroll-offset-x), var(--scroll-offset-y));
|
51
|
+
}
|
52
|
+
.bk-scrollbar-wrapper .bk-scrollbar-track.bk-scrollbar-horizontal.bk-scrollbar {
|
53
|
+
right: auto;
|
54
|
+
left: 0;
|
55
|
+
top: 0;
|
56
|
+
bottom: 0;
|
57
|
+
min-height: 0;
|
58
|
+
min-width: 8px;
|
59
|
+
width: auto;
|
60
|
+
}
|
61
|
+
.bk-scrollbar-wrapper .bk-scrollbar-dragging {
|
62
|
+
pointer-events: none;
|
63
|
+
-webkit-touch-callout: none;
|
64
|
+
-webkit-user-select: none;
|
65
|
+
-khtml-user-select: none;
|
66
|
+
-moz-user-select: none;
|
67
|
+
-ms-user-select: none;
|
68
|
+
user-select: none;
|
69
|
+
}
|
70
|
+
.bk-scrollbar-wrapper .bk-scrollbar {
|
71
|
+
position: absolute;
|
72
|
+
left: 0;
|
73
|
+
right: 0;
|
74
|
+
min-height: 8px;
|
75
|
+
}
|
76
|
+
.bk-scrollbar-wrapper .bk-scrollbar::before {
|
77
|
+
position: absolute;
|
78
|
+
content: '';
|
79
|
+
background: #DCDEE5;
|
80
|
+
border-radius: 6px;
|
81
|
+
left: 1px;
|
82
|
+
right: 1px;
|
83
|
+
top: 1px;
|
84
|
+
bottom: 1px;
|
85
|
+
opacity: 0;
|
86
|
+
transition: opacity 0.2s 0.9s linear;
|
87
|
+
}
|
88
|
+
.bk-scrollbar-wrapper .bk-scrollbar.bk-scrollbar-visible::before {
|
89
|
+
opacity: 0.9;
|
90
|
+
transition-delay: 0s;
|
91
|
+
transition-duration: 0s;
|
92
|
+
}
|
18
93
|
.bk-virtual-render {
|
19
94
|
position: relative;
|
20
95
|
}
|
21
|
-
.bk-virtual-render .bk-virtual-content
|
22
|
-
.bk-virtual-render.bk-virtual-content {
|
96
|
+
.bk-virtual-render .bk-virtual-content {
|
23
97
|
position: absolute;
|
24
98
|
top: 0;
|
25
99
|
bottom: 0;
|
@@ -736,7 +810,6 @@
|
|
736
810
|
}
|
737
811
|
.bk-popover.bk-pop2-content {
|
738
812
|
position: absolute;
|
739
|
-
display: none;
|
740
813
|
padding: 12px;
|
741
814
|
font-size: 12px;
|
742
815
|
color: #fff;
|
@@ -744,6 +817,9 @@
|
|
744
817
|
border-radius: 4px;
|
745
818
|
box-sizing: border-box;
|
746
819
|
}
|
820
|
+
.bk-popover.bk-pop2-content.hidden {
|
821
|
+
display: none;
|
822
|
+
}
|
747
823
|
.bk-popover.bk-pop2-content .bk-pop2-arrow {
|
748
824
|
position: absolute;
|
749
825
|
z-index: -1;
|
@@ -789,10 +865,6 @@
|
|
789
865
|
max-width: 300px;
|
790
866
|
min-width: 200px;
|
791
867
|
}
|
792
|
-
.bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items {
|
793
|
-
max-height: 200px;
|
794
|
-
min-height: 40px;
|
795
|
-
}
|
796
868
|
.bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item {
|
797
869
|
width: 100%;
|
798
870
|
height: 32px;
|
@@ -805,11 +877,19 @@
|
|
805
877
|
.bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item:hover {
|
806
878
|
background: #f0f1f5;
|
807
879
|
}
|
880
|
+
.bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label {
|
881
|
+
text-overflow: ellipsis;
|
882
|
+
white-space: nowrap;
|
883
|
+
overflow: hidden;
|
884
|
+
width: 100%;
|
885
|
+
}
|
808
886
|
.bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item label:hover {
|
809
887
|
background: #f0f1f5;
|
810
888
|
}
|
811
889
|
.bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox-label {
|
812
890
|
white-space: nowrap;
|
891
|
+
text-overflow: ellipsis;
|
892
|
+
overflow: hidden;
|
813
893
|
}
|
814
894
|
.bk-popover.bk-pop2-content.bk-table-head-filter .content-list .content-items .list-item .bk-checkbox {
|
815
895
|
margin-left: 0;
|
@@ -995,9 +1075,9 @@
|
|
995
1075
|
}
|
996
1076
|
.bk-table {
|
997
1077
|
position: relative;
|
1078
|
+
width: 100%;
|
998
1079
|
height: auto;
|
999
1080
|
overflow: hidden;
|
1000
|
-
width: 100%;
|
1001
1081
|
}
|
1002
1082
|
.bk-table-flex {
|
1003
1083
|
display: flex;
|
@@ -1013,19 +1093,9 @@
|
|
1013
1093
|
}
|
1014
1094
|
.bk-table .bk-table-body {
|
1015
1095
|
position: relative;
|
1016
|
-
overflow:
|
1017
|
-
scrollbar-gutter: stable;
|
1096
|
+
overflow: hidden;
|
1018
1097
|
border-bottom: 1px solid #dcdee5;
|
1019
1098
|
}
|
1020
|
-
.bk-table .bk-table-body::-webkit-scrollbar {
|
1021
|
-
width: 5px;
|
1022
|
-
height: 6px;
|
1023
|
-
}
|
1024
|
-
.bk-table .bk-table-body::-webkit-scrollbar-thumb {
|
1025
|
-
background: #dcdee5;
|
1026
|
-
border-radius: 10px;
|
1027
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
1028
|
-
}
|
1029
1099
|
.bk-table .bk-table-body .prepend-row {
|
1030
1100
|
transform: translateX(var(--prepend-left));
|
1031
1101
|
}
|
@@ -1052,17 +1122,6 @@
|
|
1052
1122
|
background: white;
|
1053
1123
|
transform: translateZ(0);
|
1054
1124
|
}
|
1055
|
-
.bk-table .bk-table-head::-webkit-scrollbar,
|
1056
|
-
.bk-table .bk-table-body::-webkit-scrollbar {
|
1057
|
-
width: 5px;
|
1058
|
-
height: 5px;
|
1059
|
-
}
|
1060
|
-
.bk-table .bk-table-head::-webkit-scrollbar-thumb,
|
1061
|
-
.bk-table .bk-table-body::-webkit-scrollbar-thumb {
|
1062
|
-
background: #ddd;
|
1063
|
-
border-radius: 20px;
|
1064
|
-
box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
|
1065
|
-
}
|
1066
1125
|
.bk-table .bk-table-head.__is-empty,
|
1067
1126
|
.bk-table .bk-table-body.__is-empty {
|
1068
1127
|
display: flex;
|
@@ -1115,8 +1174,8 @@
|
|
1115
1174
|
.bk-table .bk-table-body table th .cell .drag-cell,
|
1116
1175
|
.bk-table .bk-table-head table td .cell .drag-cell,
|
1117
1176
|
.bk-table .bk-table-body table td .cell .drag-cell {
|
1118
|
-
font-size: 14px;
|
1119
1177
|
height: 100%;
|
1178
|
+
font-size: 14px;
|
1120
1179
|
}
|
1121
1180
|
.bk-table .bk-table-head table th .cell.has-sort,
|
1122
1181
|
.bk-table .bk-table-body table th .cell.has-sort,
|
@@ -1241,7 +1300,7 @@
|
|
1241
1300
|
.bk-table .bk-table-body table thead th .cell {
|
1242
1301
|
display: flex;
|
1243
1302
|
align-items: center;
|
1244
|
-
height: calc(var(--row-height) -
|
1303
|
+
height: calc(var(--row-height) - 2px);
|
1245
1304
|
color: #313238;
|
1246
1305
|
}
|
1247
1306
|
.bk-table .bk-table-head table thead th.active,
|
@@ -1258,49 +1317,39 @@
|
|
1258
1317
|
.bk-table .bk-table-head table tbody tr td,
|
1259
1318
|
.bk-table .bk-table-body table tbody tr td {
|
1260
1319
|
background-color: #fff;
|
1320
|
+
border-top: 1px solid transparent;
|
1321
|
+
border-bottom: 1px solid transparent;
|
1322
|
+
border-right: 1px solid transparent;
|
1323
|
+
box-sizing: border-box;
|
1261
1324
|
}
|
1262
1325
|
.bk-table .bk-table-head table tbody tr td.empty-cell,
|
1263
1326
|
.bk-table .bk-table-body table tbody tr td.empty-cell {
|
1264
1327
|
padding-bottom: 30px;
|
1265
1328
|
}
|
1266
|
-
.bk-table .bk-table-head table tbody tr td.is-last,
|
1267
|
-
.bk-table .bk-table-body table tbody tr td.is-last {
|
1268
|
-
border-bottom: none;
|
1269
|
-
}
|
1270
1329
|
.bk-table .bk-table-head table tbody tr td .cell,
|
1271
1330
|
.bk-table .bk-table-body table tbody tr td .cell {
|
1272
1331
|
display: block;
|
1273
1332
|
width: 100%;
|
1274
|
-
height:
|
1275
|
-
line-height: calc(var(--row-height) - 1px);
|
1333
|
+
line-height: calc(var(--row-height) - 2px);
|
1276
1334
|
box-sizing: border-box;
|
1277
1335
|
align-items: center;
|
1278
1336
|
}
|
1279
1337
|
.bk-table .bk-table-head table tbody tr td .cell.drag,
|
1280
1338
|
.bk-table .bk-table-body table tbody tr td .cell.drag {
|
1281
|
-
cursor: move;
|
1282
1339
|
text-align: center;
|
1340
|
+
cursor: move;
|
1283
1341
|
}
|
1284
1342
|
.bk-table .bk-table-head table tbody tr:hover.hover-highlight td:not(.empty-cell),
|
1285
1343
|
.bk-table .bk-table-body table tbody tr:hover.hover-highlight td:not(.empty-cell) {
|
1286
1344
|
background: #f5f7fa;
|
1287
1345
|
}
|
1288
|
-
.bk-table .bk-table-head table tbody tr.--drag-
|
1289
|
-
.bk-table .bk-table-body table tbody tr.--drag-
|
1290
|
-
|
1291
|
-
}
|
1292
|
-
.bk-table .bk-table-head table tbody tr.--drag-enter.--top,
|
1293
|
-
.bk-table .bk-table-body table tbody tr.--drag-enter.--top {
|
1294
|
-
border-top: solid 1px #3785ff;
|
1295
|
-
}
|
1296
|
-
.bk-table .bk-table-head table tbody tr.--drag-start,
|
1297
|
-
.bk-table .bk-table-body table tbody tr.--drag-start {
|
1298
|
-
background: #fff;
|
1346
|
+
.bk-table .bk-table-head table tbody tr.--drag-start td,
|
1347
|
+
.bk-table .bk-table-body table tbody tr.--drag-start td {
|
1348
|
+
background: #fff !important;
|
1299
1349
|
}
|
1300
1350
|
.bk-table .bk-table-head {
|
1301
1351
|
position: relative;
|
1302
1352
|
z-index: 2;
|
1303
|
-
scrollbar-gutter: stable;
|
1304
1353
|
overflow: hidden;
|
1305
1354
|
background-color: var(--background-color);
|
1306
1355
|
}
|
@@ -1343,6 +1392,7 @@
|
|
1343
1392
|
width: 100%;
|
1344
1393
|
height: var(--footer-height);
|
1345
1394
|
align-items: center;
|
1395
|
+
padding: 0 16px 0 22px;
|
1346
1396
|
}
|
1347
1397
|
.bk-table .bk-table-footer.is-hidden {
|
1348
1398
|
display: none;
|
@@ -1350,10 +1400,10 @@
|
|
1350
1400
|
.bk-table.bordered-row .bk-table-head {
|
1351
1401
|
border-bottom: 1px solid #dcdee5;
|
1352
1402
|
}
|
1353
|
-
.bk-table.bordered-row td {
|
1354
|
-
border-bottom:
|
1403
|
+
.bk-table.bordered-row .bk-table-body tbody tr td {
|
1404
|
+
border-bottom-color: #dcdee5;
|
1355
1405
|
}
|
1356
|
-
.bk-table.bordered-row tr:last-child td {
|
1406
|
+
.bk-table.bordered-row .bk-table-body tbody tr:last-child td {
|
1357
1407
|
border-bottom: none;
|
1358
1408
|
}
|
1359
1409
|
.bk-table.bordered-outer {
|
@@ -1374,14 +1424,18 @@
|
|
1374
1424
|
.bk-table.bordered-horizontal .__is-empty .bk-table-body-content {
|
1375
1425
|
border-bottom: 1px solid #dcdee5;
|
1376
1426
|
}
|
1377
|
-
.bk-table.bordered-col th
|
1378
|
-
.bk-table.bordered-col td {
|
1427
|
+
.bk-table.bordered-col th {
|
1379
1428
|
border-right: 1px solid #dcdee5;
|
1380
1429
|
}
|
1381
|
-
.bk-table.bordered-col th:last-child
|
1382
|
-
.bk-table.bordered-col td:last-child {
|
1430
|
+
.bk-table.bordered-col th:last-child {
|
1383
1431
|
border-right: none;
|
1384
1432
|
}
|
1433
|
+
.bk-table.bordered-col .bk-table-body tbody tr td {
|
1434
|
+
border-right-color: #dcdee5;
|
1435
|
+
}
|
1436
|
+
.bk-table.bordered-col .bk-table-body tbody tr td:last-child {
|
1437
|
+
border-right-color: transparent;
|
1438
|
+
}
|
1385
1439
|
.bk-table th,
|
1386
1440
|
.bk-table td {
|
1387
1441
|
border-right: 1px solid transparent;
|
package/lib/table/table.d.ts
CHANGED
@@ -143,8 +143,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
143
143
|
} & {
|
144
144
|
default: boolean;
|
145
145
|
};
|
146
|
-
align: import("vue-types").VueTypeDef<"" | "
|
147
|
-
headerAlign: import("vue-types").VueTypeDef<"" | "
|
146
|
+
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
147
|
+
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
148
148
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
149
149
|
default: () => import("vue").CSSProperties;
|
150
150
|
};
|
@@ -157,6 +157,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
157
157
|
rowDraggable: import("vue-types").VueTypeDef<any> & {
|
158
158
|
default: any;
|
159
159
|
};
|
160
|
+
shiftMultiChecked: import("vue-types").VueTypeValidableDef<boolean> & {
|
161
|
+
default: boolean;
|
162
|
+
} & {
|
163
|
+
default: boolean;
|
164
|
+
};
|
160
165
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
161
166
|
columnPick: (_cols: import("./props").IColumnActive[]) => boolean;
|
162
167
|
columnFilter: (_args: {
|
@@ -178,13 +183,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
178
183
|
rowExpand: (_args: {
|
179
184
|
row: any;
|
180
185
|
column: Column;
|
181
|
-
index:
|
186
|
+
index: number;
|
182
187
|
rows: any[];
|
183
188
|
e: MouseEvent;
|
184
189
|
}) => boolean;
|
185
190
|
select: (_args: {
|
186
191
|
row: any;
|
187
|
-
index:
|
192
|
+
index: number;
|
188
193
|
checked: string;
|
189
194
|
data: any[];
|
190
195
|
}) => boolean;
|
@@ -194,7 +199,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
194
199
|
}) => boolean;
|
195
200
|
selectionChange: (_args: {
|
196
201
|
row: any;
|
197
|
-
index:
|
202
|
+
index: number;
|
198
203
|
checked: string;
|
199
204
|
data: any[];
|
200
205
|
isAll: boolean;
|
@@ -384,8 +389,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
384
389
|
} & {
|
385
390
|
default: boolean;
|
386
391
|
};
|
387
|
-
align: import("vue-types").VueTypeDef<"" | "
|
388
|
-
headerAlign: import("vue-types").VueTypeDef<"" | "
|
392
|
+
align: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
393
|
+
headerAlign: import("vue-types").VueTypeDef<"" | "left" | "right" | "center">;
|
389
394
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
390
395
|
default: () => import("vue").CSSProperties;
|
391
396
|
};
|
@@ -398,6 +403,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
398
403
|
rowDraggable: import("vue-types").VueTypeDef<any> & {
|
399
404
|
default: any;
|
400
405
|
};
|
406
|
+
shiftMultiChecked: import("vue-types").VueTypeValidableDef<boolean> & {
|
407
|
+
default: boolean;
|
408
|
+
} & {
|
409
|
+
default: boolean;
|
410
|
+
};
|
401
411
|
}>> & {
|
402
412
|
onDragend?: (_args: {
|
403
413
|
sourceEvent: DragEvent;
|
@@ -405,15 +415,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
405
415
|
}) => any;
|
406
416
|
onSelect?: (_args: {
|
407
417
|
row: any;
|
408
|
-
index:
|
418
|
+
index: number;
|
409
419
|
checked: string;
|
410
420
|
data: any[];
|
411
421
|
}) => any;
|
412
|
-
|
413
|
-
|
422
|
+
onCellClick?: (_args: {
|
423
|
+
event: MouseEvent;
|
424
|
+
row: any;
|
414
425
|
column: Column;
|
415
|
-
|
416
|
-
|
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;
|
417
441
|
}) => any;
|
418
442
|
onColumnFilter?: (_args: {
|
419
443
|
checked: string[];
|
@@ -424,62 +448,48 @@ declare const _default: import("vue").DefineComponent<{
|
|
424
448
|
column: Column;
|
425
449
|
values: any[];
|
426
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;
|
427
459
|
onRowClick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
428
460
|
onRowDblclick?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
429
461
|
onRowExpand?: (_args: {
|
430
462
|
row: any;
|
431
463
|
column: Column;
|
432
|
-
index:
|
464
|
+
index: number;
|
433
465
|
rows: any[];
|
434
466
|
e: MouseEvent;
|
435
467
|
}) => any;
|
436
468
|
onRowMouseEnter?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
437
469
|
onRowMouseLeave?: (_e: MouseEvent, _row: any, _index: number, _rows: any[], _this: any) => any;
|
438
|
-
onPageLimitChange?: (_arg: number) => any;
|
439
|
-
onPageValueChange?: (_arg: number) => any;
|
440
|
-
onSettingChange?: (_args: {
|
441
|
-
checked: string[];
|
442
|
-
size: string;
|
443
|
-
height: number;
|
444
|
-
fields: Record<string, any>[];
|
445
|
-
}) => any;
|
446
|
-
onScrollBottom?: (_args: {
|
447
|
-
translateX: number;
|
448
|
-
translateY: number;
|
449
|
-
scrollTop: number;
|
450
|
-
scrollLeft: number;
|
451
|
-
bottom: number;
|
452
|
-
}) => any;
|
453
470
|
onSelectAll?: (_args: {
|
454
471
|
checked: string;
|
455
472
|
data: any[];
|
456
473
|
}) => any;
|
457
474
|
onSelectionChange?: (_args: {
|
458
475
|
row: any;
|
459
|
-
index:
|
476
|
+
index: number;
|
460
477
|
checked: string;
|
461
478
|
data: any[];
|
462
479
|
isAll: boolean;
|
463
480
|
}) => any;
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
};
|
471
|
-
rowIndex: number;
|
472
|
-
columnIndex: number;
|
481
|
+
onScrollBottom?: (_args: {
|
482
|
+
translateX: number;
|
483
|
+
translateY: number;
|
484
|
+
scrollTop: number;
|
485
|
+
scrollLeft: number;
|
486
|
+
bottom: number;
|
473
487
|
}) => any;
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
getValue: () => string;
|
480
|
-
};
|
481
|
-
rowIndex: number;
|
482
|
-
columnIndex: number;
|
488
|
+
onSettingChange?: (_args: {
|
489
|
+
checked: string[];
|
490
|
+
size: string;
|
491
|
+
height: number;
|
492
|
+
fields: Record<string, any>[];
|
483
493
|
}) => any;
|
484
494
|
}, {
|
485
495
|
data: any[];
|
@@ -524,5 +534,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
524
534
|
prependStyle: import("vue").CSSProperties;
|
525
535
|
isFlex: boolean;
|
526
536
|
rowDraggable: any;
|
537
|
+
shiftMultiChecked: boolean;
|
527
538
|
}, {}>;
|
528
539
|
export default _default;
|