bkui-vue 0.0.2-beta.13 → 0.0.2-beta.131
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 +143 -161
- package/dist/index.esm.js +19886 -21684
- package/dist/index.umd.js +143 -161
- 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.d.ts +1 -1
- package/lib/affix/affix.variable.css +6 -2
- package/lib/affix/index.d.ts +4 -4
- package/lib/affix/index.js +321 -1
- package/lib/alert/alert.css +7 -0
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +16 -6
- package/lib/alert/alert.variable.css +13 -2
- package/lib/alert/index.d.ts +10 -10
- package/lib/alert/index.js +214 -1
- package/lib/animate-number/index.d.ts +1 -1
- package/lib/animate-number/index.js +155 -1
- package/lib/backtop/backtop.css +8 -8
- package/lib/backtop/backtop.less +3 -1
- package/lib/backtop/backtop.variable.css +17 -13
- package/lib/backtop/index.d.ts +1 -1
- package/lib/backtop/index.js +188 -1
- package/lib/badge/badge.css +8 -2
- package/lib/badge/badge.d.ts +2 -2
- package/lib/badge/badge.less +8 -4
- package/lib/badge/badge.variable.css +14 -4
- package/lib/badge/index.d.ts +7 -7
- package/lib/badge/index.js +235 -1
- package/lib/breadcrumb/breadcrumb.css +4 -4
- package/lib/breadcrumb/breadcrumb.variable.css +10 -6
- package/lib/breadcrumb/index.d.ts +2 -2
- package/lib/breadcrumb/index.js +309 -1
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +30 -7
- package/lib/button/button.d.ts +1 -1
- package/lib/button/button.less +29 -13
- package/lib/button/button.variable.css +44 -17
- package/lib/button/index.d.ts +7 -7
- package/lib/button/index.js +321 -1
- package/lib/card/card.css +11 -11
- package/lib/card/card.d.ts +1 -1
- package/lib/card/card.less +7 -7
- package/lib/card/card.variable.css +17 -13
- package/lib/card/index.d.ts +4 -4
- package/lib/card/index.js +285 -1
- package/lib/cascader/cascader-panel.d.ts +1 -0
- package/lib/cascader/cascader.css +6 -6
- package/lib/cascader/cascader.less +3 -5
- package/lib/cascader/cascader.variable.css +12 -8
- package/lib/cascader/index.d.ts +3 -2
- package/lib/cascader/index.js +2045 -2
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox-group.d.ts +6 -3
- package/lib/checkbox/checkbox.css +13 -1
- package/lib/checkbox/checkbox.d.ts +15 -12
- package/lib/checkbox/checkbox.less +15 -1
- package/lib/checkbox/checkbox.variable.css +19 -3
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +43 -31
- package/lib/checkbox/index.js +569 -1
- package/lib/code-diff/code-diff.variable.css +6 -2
- package/lib/code-diff/index.d.ts +1 -1
- package/lib/code-diff/index.js +5501 -1
- package/lib/collapse/collapse.variable.css +6 -2
- package/lib/collapse/index.d.ts +2 -2
- package/lib/collapse/index.js +570 -1
- package/lib/collapse-transition/collapse-transition.variable.css +6 -2
- package/lib/collapse-transition/index.d.ts +128 -2
- package/lib/collapse-transition/index.js +177 -1
- package/lib/color-picker/color-picker.d.ts +16 -0
- package/lib/color-picker/color-picker.variable.css +6 -2
- package/lib/color-picker/components/recommend-colors.d.ts +16 -0
- package/lib/color-picker/index.d.ts +19 -1
- package/lib/color-picker/index.js +2665 -1
- package/lib/components.js +530 -1
- package/lib/config-provider/config-provider.d.ts +21 -0
- package/lib/config-provider/config-provider.variable.css +6 -2
- package/lib/config-provider/index.d.ts +29 -1
- package/lib/config-provider/index.js +365 -1
- package/lib/config-provider/token.d.ts +7 -0
- package/lib/config-provider/use-global-config.d.ts +2 -0
- package/lib/config-provider/use-prefix.d.ts +2 -0
- package/lib/container/container.css +4 -4
- package/lib/container/container.variable.css +10 -6
- package/lib/container/index.d.ts +2 -2
- package/lib/container/index.js +391 -1
- package/lib/date-picker/date-picker.d.ts +6 -2
- package/lib/date-picker/date-picker.variable.css +6 -2
- package/lib/date-picker/index.d.ts +21 -8
- package/lib/date-picker/index.js +5609 -1
- package/lib/date-picker/panel/date-range.d.ts +2 -1
- package/lib/date-picker/time-picker.d.ts +3 -1
- package/lib/dialog/dialog.css +9 -6
- package/lib/dialog/dialog.less +7 -6
- package/lib/dialog/dialog.variable.css +15 -8
- package/lib/dialog/index.d.ts +1 -1
- package/lib/dialog/index.js +975 -2
- package/lib/directives/index.js +1387 -2
- package/lib/directives/tooltips.d.ts +3 -2
- package/lib/dist.index.js +87 -1
- package/lib/divider/divider.variable.css +6 -2
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/index.js +169 -1
- package/lib/dropdown/dropdown.css +2 -1
- package/lib/dropdown/dropdown.variable.css +8 -3
- package/lib/dropdown/index.d.ts +2 -2
- package/lib/dropdown/index.js +369 -1
- package/lib/exception/exception.variable.css +6 -2
- package/lib/exception/index.d.ts +2 -2
- package/lib/exception/index.js +385 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +6 -2
- package/lib/fixed-navbar/index.d.ts +1 -1
- package/lib/fixed-navbar/index.js +154 -1
- package/lib/form/form.css +2 -1
- package/lib/form/form.less +3 -2
- package/lib/form/form.variable.css +8 -3
- package/lib/form/index.d.ts +3 -3
- package/lib/form/index.js +952 -1
- package/lib/hooks.d.ts +1 -1
- package/lib/hooks.js +73 -1
- package/lib/icon/angle-double-down-line.js +191 -1
- package/lib/icon/angle-double-left-line.js +191 -1
- package/lib/icon/angle-double-left.js +191 -1
- package/lib/icon/angle-double-right-line.js +191 -1
- package/lib/icon/angle-double-right.js +191 -1
- package/lib/icon/angle-double-up-line.js +191 -1
- package/lib/icon/angle-down-fill.js +191 -1
- package/lib/icon/angle-down-line.js +191 -1
- package/lib/icon/angle-down.js +191 -1
- package/lib/icon/angle-left.js +191 -1
- package/lib/icon/angle-right.js +191 -1
- package/lib/icon/angle-up-fill.js +191 -1
- package/lib/icon/angle-up.js +191 -1
- package/lib/icon/archive-fill.js +191 -1
- package/lib/icon/arrows-left.js +191 -1
- package/lib/icon/arrows-right.js +191 -1
- package/lib/icon/assistant.d.ts +4 -0
- package/lib/icon/assistant.js +191 -0
- package/lib/icon/audio-fill.js +191 -1
- package/lib/icon/bk.js +191 -1
- package/lib/icon/circle.js +191 -1
- package/lib/icon/close-line.js +191 -1
- package/lib/icon/close.js +191 -1
- package/lib/icon/code.js +191 -1
- package/lib/icon/cog-shape.js +191 -1
- package/lib/icon/collapse-left.js +191 -1
- package/lib/icon/copy-shape.js +191 -1
- package/lib/icon/copy.js +191 -1
- package/lib/icon/data-shape.js +191 -1
- package/lib/icon/del.js +191 -1
- package/lib/icon/doc-fill.js +191 -1
- package/lib/icon/done.js +191 -1
- package/lib/icon/down-shape.js +191 -1
- package/lib/icon/down-small.js +191 -1
- package/lib/icon/edit-line.js +191 -1
- package/lib/icon/ellipsis.js +191 -1
- package/lib/icon/enlarge-line.js +191 -1
- package/lib/icon/error.js +191 -1
- package/lib/icon/excel-fill.js +191 -1
- package/lib/icon/exclamation-circle-shape.js +191 -1
- package/lib/icon/eye.js +191 -1
- package/lib/icon/filliscreen-line.js +191 -1
- package/lib/icon/fix-line.js +191 -1
- package/lib/icon/fix-shape.js +191 -1
- package/lib/icon/folder-open.js +191 -1
- package/lib/icon/folder-shape-open.js +191 -1
- package/lib/icon/folder-shape.js +191 -1
- package/lib/icon/folder.js +191 -1
- package/lib/icon/funnel.js +191 -1
- package/lib/icon/help-document-fill.js +191 -1
- package/lib/icon/help-fill.js +191 -1
- package/lib/icon/help.js +191 -1
- package/lib/icon/image-fill.js +276 -1
- package/lib/icon/img-error.js +276 -1
- package/lib/icon/img-placehoulder.js +276 -1
- package/lib/icon/index.d.ts +2 -0
- package/lib/icon/index.js +2432 -1
- package/lib/icon/info-line.js +276 -1
- package/lib/icon/info.js +276 -1
- package/lib/icon/left-shape.js +276 -1
- package/lib/icon/left-turn-line.js +276 -1
- package/lib/icon/loading.d.ts +4 -0
- package/lib/icon/loading.js +276 -0
- package/lib/icon/narrow-line.js +276 -1
- package/lib/icon/original.js +276 -1
- package/lib/icon/pdf-fill.js +276 -1
- package/lib/icon/play-shape.js +276 -1
- package/lib/icon/plus.js +276 -1
- package/lib/icon/ppt-fill.js +276 -1
- package/lib/icon/qq.js +276 -1
- package/lib/icon/right-shape.js +276 -1
- package/lib/icon/right-turn-line.js +276 -1
- package/lib/icon/search.js +276 -1
- package/lib/icon/share.js +276 -1
- package/lib/icon/spinner.js +276 -1
- package/lib/icon/success.js +276 -1
- package/lib/icon/switcher-loading.js +276 -1
- package/lib/icon/text-file.js +276 -1
- package/lib/icon/text-fill.js +276 -1
- package/lib/icon/transfer.js +276 -1
- package/lib/icon/tree-application-shape.js +276 -1
- package/lib/icon/unfull-screen.js +276 -1
- package/lib/icon/unvisible.js +276 -1
- package/lib/icon/up-shape.js +276 -1
- package/lib/icon/upload.js +276 -1
- package/lib/icon/video-fill.js +276 -1
- package/lib/icon/warn.js +276 -1
- package/lib/icon/weixin-pro.js +276 -1
- package/lib/icon/weixin.js +276 -1
- package/lib/image/image-viewer.variable.css +6 -2
- package/lib/image/image.variable.css +6 -2
- package/lib/image/index.d.ts +1 -1
- package/lib/image/index.js +641 -1
- package/lib/index.js +97 -1
- package/lib/info-box/index.js +1165 -2
- package/lib/info-box/info-box.css +2 -0
- package/lib/info-box/info-box.d.ts +4 -0
- package/lib/info-box/info-box.less +2 -1
- package/lib/info-box/info-box.variable.css +8 -2
- package/lib/input/index.d.ts +150 -54
- package/lib/input/index.js +1233 -1
- package/lib/input/input.css +59 -15
- package/lib/input/input.d.ts +103 -14
- package/lib/input/input.less +71 -13
- package/lib/input/input.variable.css +65 -17
- package/lib/input/util.d.ts +6 -0
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +160 -1
- package/lib/link/link.d.ts +1 -1
- package/lib/link/link.variable.css +6 -2
- package/lib/loading/index.d.ts +5 -5
- package/lib/loading/index.js +381 -1
- package/lib/loading/loading.css +13 -13
- package/lib/loading/loading.d.ts +1 -1
- package/lib/loading/loading.less +14 -9
- package/lib/loading/loading.variable.css +19 -15
- package/lib/locale/index.js +477 -1
- package/lib/locale/lang/en.d.ts +7 -0
- package/lib/menu/index.d.ts +2 -2
- package/lib/menu/index.js +724 -1
- package/lib/menu/menu.css +4 -4
- package/lib/menu/menu.variable.css +10 -6
- package/lib/menu/submenu.variable.css +6 -2
- package/lib/message/index.js +1795 -2
- package/lib/message/message.css +33 -9
- package/lib/message/message.less +78 -54
- package/lib/message/message.variable.css +39 -11
- package/lib/message/messageConstructor.d.ts +25 -4
- package/lib/modal/index.d.ts +2 -2
- package/lib/modal/index.js +396 -1
- package/lib/modal/modal.css +2 -0
- package/lib/modal/modal.variable.css +8 -2
- package/lib/navigation/index.d.ts +4 -1
- package/lib/navigation/index.js +367 -1
- package/lib/navigation/navigation.d.ts +1 -0
- package/lib/navigation/navigation.variable.css +6 -2
- package/lib/notify/index.js +397 -1
- package/lib/notify/notify.css +6 -6
- package/lib/notify/notify.less +6 -6
- package/lib/notify/notify.variable.css +12 -8
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/components/overflow-title.d.ts +257 -1
- package/lib/overflow-title/index.d.ts +387 -2
- package/lib/overflow-title/index.js +461 -1
- package/lib/overflow-title/props.d.ts +129 -0
- package/lib/pagination/index.d.ts +6 -6
- package/lib/pagination/index.js +880 -1
- package/lib/pagination/pagination.css +1 -0
- package/lib/pagination/pagination.d.ts +3 -3
- package/lib/pagination/pagination.less +1 -0
- package/lib/pagination/pagination.variable.css +7 -2
- package/lib/plugin-popover/index.js +3833 -1
- package/lib/plugins/index.js +63 -1
- package/lib/pop-confirm/index.d.ts +43 -4
- package/lib/pop-confirm/index.js +285 -1
- package/lib/pop-confirm/pop-confirm.css +4 -4
- package/lib/pop-confirm/pop-confirm.d.ts +14 -1
- package/lib/pop-confirm/pop-confirm.less +4 -4
- package/lib/pop-confirm/pop-confirm.variable.css +10 -6
- package/lib/popover/content.d.ts +33 -0
- package/lib/popover/index.d.ts +74 -16
- package/lib/popover/index.js +3841 -1
- package/lib/popover/popover.css +2 -1
- package/lib/popover/popover.d.ts +40 -7
- package/lib/popover/popover.less +4 -3
- package/lib/popover/popover.variable.css +8 -3
- package/lib/popover/props.d.ts +25 -2
- package/lib/popover/use-floating.d.ts +1 -1
- package/lib/popover/use-popover-init.d.ts +2 -1
- package/lib/popover2/index.d.ts +1 -1
- package/lib/popover2/index.js +107 -1
- package/lib/preset.d.ts +14 -0
- package/lib/preset.js +93 -1
- package/lib/process/index.d.ts +1 -1
- package/lib/process/index.js +759 -2
- package/lib/process/process.variable.css +6 -2
- package/lib/progress/index.d.ts +5 -5
- package/lib/progress/index.js +431 -1
- package/lib/progress/progress.css +11 -7
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.less +8 -3
- package/lib/progress/progress.variable.css +17 -9
- package/lib/radio/common.d.ts +1 -0
- package/lib/radio/index.d.ts +31 -25
- package/lib/radio/index.js +635 -1
- package/lib/radio/radio-button.d.ts +8 -7
- package/lib/radio/radio-group.d.ts +7 -4
- package/lib/radio/radio.css +26 -12
- package/lib/radio/radio.d.ts +5 -4
- package/lib/radio/radio.less +42 -8
- package/lib/radio/radio.variable.css +26 -8
- package/lib/rate/index.d.ts +12 -8
- package/lib/rate/index.js +354 -1
- package/lib/rate/rate.d.ts +4 -3
- package/lib/rate/rate.variable.css +6 -2
- package/lib/rate/star.css +3 -0
- package/lib/rate/star.less +3 -0
- package/lib/rate/star.variable.css +9 -2
- package/lib/resize-layout/index.d.ts +4 -4
- package/lib/resize-layout/index.js +429 -1
- package/lib/resize-layout/resize-layout.css +14 -2
- package/lib/resize-layout/resize-layout.d.ts +1 -1
- package/lib/resize-layout/resize-layout.less +14 -2
- package/lib/resize-layout/resize-layout.variable.css +20 -4
- package/lib/search-select/index.d.ts +62 -29
- package/lib/search-select/index.js +2729 -2
- package/lib/search-select/input.d.ts +5 -1
- package/lib/search-select/menu.d.ts +33 -2
- package/lib/search-select/search-select.css +39 -21
- package/lib/search-select/search-select.d.ts +23 -20
- package/lib/search-select/search-select.less +44 -23
- package/lib/search-select/search-select.variable.css +45 -23
- package/lib/search-select/selected.d.ts +5 -1
- package/lib/search-select/utils.d.ts +13 -5
- package/lib/select/common.d.ts +4 -1
- package/lib/select/index.d.ts +287 -90
- package/lib/select/index.js +2380 -2
- package/lib/select/option.d.ts +12 -0
- package/lib/select/select.css +16 -5
- package/lib/select/select.d.ts +120 -39
- package/lib/select/select.less +14 -1
- package/lib/select/select.variable.css +46 -31
- package/lib/select/selectTagInput.d.ts +10 -5
- package/lib/select/type.d.ts +3 -0
- package/lib/shared/helper.d.ts +1 -1
- package/lib/shared/index.js +2690 -1
- package/lib/shared/mask-manager.d.ts +3 -4
- package/lib/shared/pop-manager.d.ts +6 -2
- package/lib/shared/popover.d.ts +2 -2
- package/lib/shared/vue-types.d.ts +4 -3
- package/lib/sideslider/index.d.ts +1 -1
- package/lib/sideslider/index.js +714 -2
- package/lib/sideslider/sideslider.variable.css +6 -2
- package/lib/slider/index.d.ts +1 -1
- package/lib/slider/index.js +1297 -2
- package/lib/slider/slider.css +2 -0
- package/lib/slider/slider.less +2 -0
- package/lib/slider/slider.variable.css +8 -2
- package/lib/steps/index.d.ts +5 -5
- package/lib/steps/index.js +825 -2
- package/lib/steps/steps.css +18 -6
- package/lib/steps/steps.d.ts +3 -3
- package/lib/steps/steps.less +26 -5
- package/lib/steps/steps.variable.css +24 -8
- package/lib/styles/mixins/animate.css +4 -4
- package/lib/styles/mixins/animate.less +10 -6
- package/lib/styles/mixins/animate.variable.css +130 -4
- package/lib/styles/mixins/mixins.css +4 -4
- package/lib/styles/mixins/mixins.variable.css +4 -4
- package/lib/styles/mixins/popper.less +6 -5
- package/lib/styles/mixins/popper.variable.css +6 -2
- package/lib/styles/mixins/scroll.variable.css +6 -2
- package/lib/styles/reset.variable.css +6 -2
- package/lib/styles/themes/themes.less +7 -3
- package/lib/swiper/index.d.ts +1 -1
- package/lib/swiper/index.js +336 -1
- package/lib/swiper/swiper.css +0 -6
- package/lib/swiper/swiper.less +0 -8
- package/lib/swiper/swiper.variable.css +6 -8
- package/lib/switcher/index.d.ts +34 -20
- package/lib/switcher/index.js +277 -1
- package/lib/switcher/switcher.css +4 -4
- package/lib/switcher/switcher.d.ts +76 -7
- package/lib/switcher/switcher.variable.css +10 -6
- package/lib/tab/index.d.ts +3 -3
- package/lib/tab/index.js +914 -1
- package/lib/tab/tab-nav.d.ts +12 -2
- package/lib/tab/tab-panel.d.ts +1 -1
- package/lib/tab/tab.variable.css +6 -2
- package/lib/table/components/table-cell.d.ts +22 -24
- package/lib/table/components/table-column.d.ts +129 -85
- package/lib/table/const.d.ts +24 -2
- package/lib/table/events.d.ts +26 -26
- package/lib/table/index.d.ts +332 -296
- package/lib/table/index.js +6510 -1
- package/lib/table/plugins/body-empty.d.ts +1 -1
- package/lib/table/plugins/head-filter.css +4 -28
- package/lib/table/plugins/head-filter.less +5 -34
- package/lib/table/plugins/head-filter.variable.css +10 -30
- package/lib/table/plugins/head-sort.variable.css +6 -2
- package/lib/table/plugins/settings.d.ts +2 -19
- package/lib/table/plugins/settings.variable.css +6 -2
- package/lib/table/plugins/use-column-resize.d.ts +30 -10
- package/lib/table/plugins/use-fixed-column.d.ts +9 -9
- package/lib/table/plugins/use-head-cell.d.ts +7 -0
- package/lib/table/plugins/use-pagination.d.ts +8 -4
- package/lib/table/props.d.ts +120 -59
- package/lib/table/table.css +117 -53
- package/lib/table/table.d.ts +96 -73
- package/lib/table/table.less +70 -26
- package/lib/table/table.variable.css +123 -55
- package/lib/table/use-attributes.d.ts +59 -0
- package/lib/table/use-column.d.ts +264 -49
- package/lib/table/use-common.d.ts +1607 -88
- package/lib/table/use-render.d.ts +11 -0
- package/lib/table/utils.d.ts +34 -31
- package/lib/table-column/index.d.ts +384 -401
- package/lib/table-column/index.js +775 -1
- package/lib/tag/index.d.ts +10 -10
- package/lib/tag/index.js +233 -1
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +6 -2
- package/lib/tag-input/index.d.ts +49 -7
- package/lib/tag-input/index.js +1664 -1
- package/lib/tag-input/list-tag-render.d.ts +11 -0
- package/lib/tag-input/tag-input.css +8 -0
- package/lib/tag-input/tag-input.d.ts +32 -4
- package/lib/tag-input/tag-input.less +9 -0
- package/lib/tag-input/tag-input.variable.css +14 -2
- package/lib/tag-input/tag-props.d.ts +16 -2
- package/lib/time-picker/index.d.ts +10 -4
- package/lib/time-picker/index.js +71 -1
- package/lib/time-picker/time-picker.css +3 -3
- package/lib/time-picker/time-picker.less +4 -9
- package/lib/time-picker/time-picker.variable.css +9 -5
- package/lib/timeline/index.d.ts +1 -1
- package/lib/timeline/index.js +241 -1
- package/lib/timeline/timeline.variable.css +6 -2
- package/lib/transfer/index.d.ts +1 -1
- package/lib/transfer/index.js +673 -1
- package/lib/transfer/transfer.css +2 -2
- package/lib/transfer/transfer.less +2 -2
- package/lib/transfer/transfer.variable.css +8 -4
- package/lib/tree/constant.d.ts +2 -2
- package/lib/tree/index.d.ts +70 -40
- package/lib/tree/index.js +2584 -1
- package/lib/tree/props.d.ts +20 -10
- package/lib/tree/tree.css +13 -1
- package/lib/tree/tree.d.ts +42 -21
- package/lib/tree/tree.variable.css +19 -3
- package/lib/tree/use-empty.d.ts +1 -3
- package/lib/tree/use-node-action.d.ts +5 -3
- package/lib/tree/use-node-attribute.d.ts +17 -8
- package/lib/tree/use-search.d.ts +2 -2
- package/lib/tree/use-tree-init.d.ts +1 -2
- package/lib/tree/util.d.ts +9 -3
- package/lib/upload/index.d.ts +1 -1
- package/lib/upload/index.js +2874 -2
- package/lib/upload/upload.css +4 -4
- package/lib/upload/upload.type.d.ts +1 -1
- package/lib/upload/upload.variable.css +10 -6
- package/lib/upload/use-file-handler.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +43 -1
- package/lib/virtual-render/index.js +901 -1
- package/lib/virtual-render/props.d.ts +15 -0
- package/lib/virtual-render/use-fix-top.d.ts +18 -0
- package/lib/virtual-render/v-virtual-render.d.ts +24 -1
- package/lib/virtual-render/virtual-render.d.ts +25 -0
- package/lib/virtual-render/virtual-render.variable.css +6 -2
- package/lib/volar.components.d.ts +24 -24
- package/package.json +33 -19
- package/dist/index.cjs.source.js +0 -45479
- package/dist/index.esm.source.js +0 -45479
- package/dist/index.umd.source.js +0 -45482
- package/lib/cascader/index.js.LICENSE.txt +0 -1
- package/lib/dialog/index.js.LICENSE.txt +0 -1
- package/lib/directives/index.js.LICENSE.txt +0 -14
- package/lib/info-box/index.js.LICENSE.txt +0 -1
- package/lib/message/index.js.LICENSE.txt +0 -6
- package/lib/process/index.js.LICENSE.txt +0 -1
- package/lib/search-select/index.js.LICENSE.txt +0 -1
- package/lib/select/index.js.LICENSE.txt +0 -1
- package/lib/sideslider/index.js.LICENSE.txt +0 -1
- package/lib/slider/index.js.LICENSE.txt +0 -1
- package/lib/steps/index.js.LICENSE.txt +0 -1
- package/lib/table/render.d.ts +0 -140
- package/lib/upload/index.js.LICENSE.txt +0 -1
package/lib/table/props.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ExtractPropTypes
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
2
2
|
import { IHeadColor, ROW_HOVER, SORT_OPTION } from './const';
|
3
3
|
export declare enum SortScope {
|
4
4
|
CURRENT = "current",
|
@@ -25,7 +25,7 @@ export declare enum TableAlignEnum {
|
|
25
25
|
CENTER = "center",
|
26
26
|
NONE = ""
|
27
27
|
}
|
28
|
-
export declare const columnType: import("vue-types").VueTypeDef<"none" | "
|
28
|
+
export declare const columnType: import("vue-types").VueTypeDef<"none" | "index" | "selection" | "expand">;
|
29
29
|
export declare const TableAlign: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
|
30
30
|
export declare enum FullEnum {
|
31
31
|
FULL = "full",
|
@@ -43,35 +43,20 @@ export declare enum FixedEnum {
|
|
43
43
|
RIGHT = "right"
|
44
44
|
}
|
45
45
|
export declare const fixedType: import("vue-types").VueTypeValidableDef<"right" | "left">;
|
46
|
-
export type IOverflowTooltip = {
|
47
|
-
content: string | Function;
|
48
|
-
disabled?: boolean;
|
49
|
-
watchCellResize?: boolean;
|
50
|
-
mode?: `${OverflowModeEnum}`;
|
51
|
-
};
|
52
46
|
export type IOverflowTooltipProp = {
|
53
47
|
content: string | Function;
|
54
|
-
disabled?: boolean;
|
48
|
+
disabled?: (col: Column, row: any) => boolean | boolean;
|
55
49
|
watchCellResize?: boolean;
|
56
50
|
mode?: `${OverflowModeEnum}`;
|
51
|
+
popoverOption?: any;
|
52
|
+
resizerWay?: ResizerWay;
|
57
53
|
} | boolean;
|
58
|
-
export
|
59
|
-
|
60
|
-
content: string | Function;
|
61
|
-
disabled?: boolean;
|
62
|
-
watchCellResize?: boolean;
|
63
|
-
mode?: `${OverflowModeEnum}`;
|
64
|
-
});
|
65
|
-
};
|
66
|
-
export declare const IOverflowTooltipType: import("vue-types").VueTypeDef<IOverflowTooltip> & {
|
67
|
-
default: () => IOverflowTooltip;
|
68
|
-
};
|
54
|
+
export type IOverflowTooltip = IOverflowTooltipProp;
|
55
|
+
export declare const IOverflowTooltipPropType: import("vue-types").VueTypeDef<IOverflowTooltipProp>;
|
69
56
|
export type ISortOption = {
|
70
57
|
[key: string]: SORT_OPTION;
|
71
58
|
};
|
72
|
-
export declare const ISortType: import("vue-types").VueTypeDef<ISortPropShape
|
73
|
-
default: string | boolean | (() => ISortShape);
|
74
|
-
};
|
59
|
+
export declare const ISortType: import("vue-types").VueTypeDef<ISortPropShape>;
|
75
60
|
export type ISortShape = {
|
76
61
|
sortFn?: Function;
|
77
62
|
sortScope?: SortScope;
|
@@ -86,11 +71,11 @@ export type IFilterShape = {
|
|
86
71
|
filterScope?: SortScope;
|
87
72
|
btnSave?: boolean | string;
|
88
73
|
btnReset?: boolean | string;
|
74
|
+
height?: number;
|
75
|
+
maxHeight?: number;
|
89
76
|
};
|
90
77
|
export type IFilterPropShape = IFilterShape | boolean | string;
|
91
|
-
export declare const IFilterType: import("vue-types").VueTypeDef<IFilterPropShape
|
92
|
-
default: string | boolean | (() => IFilterShape);
|
93
|
-
};
|
78
|
+
export declare const IFilterType: import("vue-types").VueTypeDef<IFilterPropShape>;
|
94
79
|
export declare enum ColumnPickEnum {
|
95
80
|
MULTI = "multi",
|
96
81
|
SINGLE = "single",
|
@@ -101,9 +86,7 @@ export declare enum ResizerWay {
|
|
101
86
|
THROTTLE = "throttle"
|
102
87
|
}
|
103
88
|
export declare const IColumnType: import("vue-types").VueTypeDef<Column>;
|
104
|
-
export declare const ITableSettings: import("vue-types").VueTypeDef<ISettingPropType
|
105
|
-
default: boolean | (() => Settings);
|
106
|
-
};
|
89
|
+
export declare const ITableSettings: import("vue-types").VueTypeDef<ISettingPropType>;
|
107
90
|
/**
|
108
91
|
* 配置自定义行高选项
|
109
92
|
*/
|
@@ -119,6 +102,7 @@ export type Settings = {
|
|
119
102
|
size?: string;
|
120
103
|
sizeList?: SizeItem[];
|
121
104
|
showLineHeight?: boolean;
|
105
|
+
trigger: 'manual';
|
122
106
|
};
|
123
107
|
export type ISettingPropType = Settings | boolean;
|
124
108
|
export type Field = {
|
@@ -128,10 +112,46 @@ export type Field = {
|
|
128
112
|
id?: string;
|
129
113
|
name?: string;
|
130
114
|
};
|
115
|
+
export type LabelFunctionString = ((_column: any, _index: any) => string | number | boolean | JSX.Element) | string | number | boolean;
|
116
|
+
export declare const LabelFunctionStringType: import("vue-types").VueTypeDef<LabelFunctionString>;
|
117
|
+
export type RenderFunctionString = ({ cell, data, row, column, index, rows, }: {
|
118
|
+
cell: any;
|
119
|
+
data: any;
|
120
|
+
row: any;
|
121
|
+
column: any;
|
122
|
+
index: any;
|
123
|
+
rows: any;
|
124
|
+
}) => string | number | boolean | JSX.Element;
|
125
|
+
export declare const RenderFunctionStringType: import("vue-types").VueTypeDef<RenderFunctionString>;
|
126
|
+
export type SpanFunctionString = (({ column, colIndex, row, rowIndex }: {
|
127
|
+
column: any;
|
128
|
+
colIndex: any;
|
129
|
+
row: any;
|
130
|
+
rowIndex: any;
|
131
|
+
}) => number) | Number;
|
132
|
+
export declare const SpanFunctionStringType: import("vue-types").VueTypeDef<SpanFunctionString>;
|
133
|
+
export type RowClassFunctionString = ((row: any) => string) | string;
|
134
|
+
export declare const RowClassFunctionStringType: import("vue-types").VueTypeDef<RowClassFunctionString>;
|
135
|
+
export type RowHeightFunctionNumber = ((_type: string, _row: any, _rowIndex: number, _size?: any) => number) | number;
|
136
|
+
export declare const RowHeightFunctionNumberType: import("vue-types").VueTypeDef<RowHeightFunctionNumber>;
|
137
|
+
type FunctionNumber = Function | number;
|
138
|
+
export declare const FunctionNumberType: import("vue-types").VueTypeDef<FunctionNumber>;
|
139
|
+
type StringNumber = string | number;
|
140
|
+
export declare const StringNumberType: (val: number | string) => import("vue-types").VueTypeDef<StringNumber> & {
|
141
|
+
default: StringNumber;
|
142
|
+
};
|
143
|
+
/**
|
144
|
+
* 表格字段解释说明
|
145
|
+
*/
|
146
|
+
export type IColumnExplain = {
|
147
|
+
content: LabelFunctionString;
|
148
|
+
head: LabelFunctionString | boolean;
|
149
|
+
} | boolean;
|
131
150
|
export type Column = {
|
132
|
-
label:
|
133
|
-
field?:
|
134
|
-
render?:
|
151
|
+
label: LabelFunctionString;
|
152
|
+
field?: LabelFunctionString;
|
153
|
+
render?: RenderFunctionString;
|
154
|
+
renderHead?: RenderFunctionString;
|
135
155
|
width?: number | string;
|
136
156
|
minWidth?: number | string;
|
137
157
|
columnKey?: string;
|
@@ -141,17 +161,16 @@ export type Column = {
|
|
141
161
|
resizable?: boolean;
|
142
162
|
sort?: ISortShape | boolean | string;
|
143
163
|
filter?: IFilterShape | boolean | string;
|
144
|
-
colspan?:
|
145
|
-
rowspan?:
|
146
|
-
textAlign?:
|
147
|
-
className?:
|
164
|
+
colspan?: SpanFunctionString;
|
165
|
+
rowspan?: SpanFunctionString;
|
166
|
+
textAlign?: string;
|
167
|
+
className?: RowClassFunctionString;
|
148
168
|
align?: string;
|
149
|
-
prop?:
|
169
|
+
prop?: LabelFunctionString;
|
150
170
|
index?: Number;
|
171
|
+
explain?: IColumnExplain;
|
151
172
|
};
|
152
|
-
export declare const IColumnProp: import("vue-types").VueTypeDef<Column
|
153
|
-
default: () => Column;
|
154
|
-
};
|
173
|
+
export declare const IColumnProp: import("vue-types").VueTypeDef<Column>;
|
155
174
|
export type Thead = {
|
156
175
|
height?: Number;
|
157
176
|
isShow?: boolean;
|
@@ -188,6 +207,16 @@ export type Colgroups = Column & {
|
|
188
207
|
resizeWidth: number;
|
189
208
|
listeners: Map<string, Function>;
|
190
209
|
};
|
210
|
+
export declare enum IColSortBehavior {
|
211
|
+
/**
|
212
|
+
* 列排序是相互依赖的
|
213
|
+
*/
|
214
|
+
interdependent = "interdependent",
|
215
|
+
/**
|
216
|
+
* 列与列之间的排序是独立的,互斥的
|
217
|
+
*/
|
218
|
+
independent = "independent"
|
219
|
+
}
|
191
220
|
export declare const tableProps: {
|
192
221
|
/**
|
193
222
|
* 渲染列表
|
@@ -219,8 +248,8 @@ export declare const tableProps: {
|
|
219
248
|
* 默认:auto 根据行数自动填充高度
|
220
249
|
* 100%,依赖初始化时父级容器高度
|
221
250
|
*/
|
222
|
-
height: import("vue-types").VueTypeDef<
|
223
|
-
default:
|
251
|
+
height: import("vue-types").VueTypeDef<StringNumber> & {
|
252
|
+
default: StringNumber;
|
224
253
|
};
|
225
254
|
/**
|
226
255
|
* 是否为斑马纹 Table
|
@@ -234,22 +263,22 @@ export declare const tableProps: {
|
|
234
263
|
* 设置表格最小高度
|
235
264
|
* 默认:300
|
236
265
|
*/
|
237
|
-
minHeight: import("vue-types").VueTypeDef<
|
238
|
-
default:
|
266
|
+
minHeight: import("vue-types").VueTypeDef<StringNumber> & {
|
267
|
+
default: StringNumber;
|
239
268
|
};
|
240
269
|
/**
|
241
270
|
* 设置表格最d大高度
|
242
271
|
* 默认:auto,依赖外层高度
|
243
272
|
*/
|
244
|
-
maxHeight: import("vue-types").VueTypeDef<
|
245
|
-
default:
|
273
|
+
maxHeight: import("vue-types").VueTypeDef<StringNumber> & {
|
274
|
+
default: StringNumber;
|
246
275
|
};
|
247
276
|
/**
|
248
277
|
* 行高,可以为固定数值类型
|
249
278
|
* 可以是函数,返回当前行的高度,返回值为数值类型
|
250
279
|
*/
|
251
|
-
rowHeight: import("vue-types").VueTypeDef<
|
252
|
-
default:
|
280
|
+
rowHeight: import("vue-types").VueTypeDef<RowHeightFunctionNumber> & {
|
281
|
+
default: RowHeightFunctionNumber;
|
253
282
|
};
|
254
283
|
/**
|
255
284
|
* Thead行高,可以为固定数值类型
|
@@ -320,6 +349,14 @@ export declare const tableProps: {
|
|
320
349
|
} & {
|
321
350
|
default: boolean;
|
322
351
|
};
|
352
|
+
/**
|
353
|
+
* 是否支持跨页全选
|
354
|
+
*/
|
355
|
+
acrossAll: import("vue-types").VueTypeValidableDef<boolean> & {
|
356
|
+
default: boolean;
|
357
|
+
} & {
|
358
|
+
default: boolean;
|
359
|
+
};
|
323
360
|
/**
|
324
361
|
* 空数据展示
|
325
362
|
*/
|
@@ -327,11 +364,15 @@ export declare const tableProps: {
|
|
327
364
|
default: string;
|
328
365
|
};
|
329
366
|
/**
|
330
|
-
*
|
367
|
+
* 单元格数据为空展示
|
331
368
|
*/
|
332
|
-
|
333
|
-
default:
|
369
|
+
emptyCellText: import("vue-types").VueTypeDef<any> & {
|
370
|
+
default: any;
|
334
371
|
};
|
372
|
+
/**
|
373
|
+
* bk-table-setting-content
|
374
|
+
*/
|
375
|
+
settings: import("vue-types").VueTypeDef<ISettingPropType>;
|
335
376
|
/**
|
336
377
|
* 行的 class 的回调方法,也可以使用一个固定的 Object 为所有行设置一样的 Style
|
337
378
|
*/
|
@@ -385,6 +426,17 @@ export declare const tableProps: {
|
|
385
426
|
} & {
|
386
427
|
default: string;
|
387
428
|
};
|
429
|
+
/**
|
430
|
+
* 默认选中行
|
431
|
+
* 仅对设置了selection的情况下生效
|
432
|
+
* 值可以为 [key1, key2, key3, ...] 或者 [row1, row2, row3, ...]
|
433
|
+
* 如果设置为key,则 selectionKey 必须设置,内部匹配逻辑为:row[selectionKey] === key
|
434
|
+
*/
|
435
|
+
checked: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
436
|
+
default: () => unknown[];
|
437
|
+
} & {
|
438
|
+
default: () => unknown[];
|
439
|
+
};
|
388
440
|
/**
|
389
441
|
* 提供自定义判定当前行是否选中
|
390
442
|
* 如果设置了此属性,其他判定均不生效
|
@@ -408,14 +460,7 @@ export declare const tableProps: {
|
|
408
460
|
* 当内容过长被隐藏时显示 tooltip, 此处为全局配置, 如果只配置此处,整个table都启用
|
409
461
|
* column内部可以单个配置覆盖此配置
|
410
462
|
*/
|
411
|
-
showOverflowTooltip: import("vue-types").VueTypeDef<IOverflowTooltipProp
|
412
|
-
default: boolean | (() => {
|
413
|
-
content: string | Function;
|
414
|
-
disabled?: boolean;
|
415
|
-
watchCellResize?: boolean;
|
416
|
-
mode?: `${OverflowModeEnum}`;
|
417
|
-
});
|
418
|
-
};
|
463
|
+
showOverflowTooltip: import("vue-types").VueTypeDef<IOverflowTooltipProp>;
|
419
464
|
/**
|
420
465
|
* 为避免不必要的数据修改导致的不可控组件更新
|
421
466
|
* 默认组件不会对传入组件的data进行任何修改
|
@@ -475,4 +520,20 @@ export declare const tableProps: {
|
|
475
520
|
prependStyle: import("vue-types").VueTypeDef<import("vue").CSSProperties> & {
|
476
521
|
default: () => import("vue").CSSProperties;
|
477
522
|
};
|
523
|
+
/**
|
524
|
+
* 列排序行为
|
525
|
+
* independent:列与列之间的排序是独立的,互斥的
|
526
|
+
* interdependent:列排序是相互影响、依赖的
|
527
|
+
*
|
528
|
+
*/
|
529
|
+
colSortBehavior: import("vue-types").VueTypeDef<IColSortBehavior>;
|
530
|
+
/**
|
531
|
+
* 是否采用flex布局表格
|
532
|
+
*/
|
533
|
+
isFlex: import("vue-types").VueTypeValidableDef<boolean> & {
|
534
|
+
default: boolean;
|
535
|
+
} & {
|
536
|
+
default: boolean;
|
537
|
+
};
|
478
538
|
};
|
539
|
+
export {};
|
package/lib/table/table.css
CHANGED
@@ -46,7 +46,7 @@
|
|
46
46
|
user-select: none;
|
47
47
|
}
|
48
48
|
.bk-checkbox ~ .bk-checkbox {
|
49
|
-
margin-left:
|
49
|
+
margin-left: 24px;
|
50
50
|
}
|
51
51
|
.bk-checkbox.is-checked .bk-checkbox-input {
|
52
52
|
background: #3a84ff;
|
@@ -109,6 +109,12 @@
|
|
109
109
|
.bk-checkbox.is-disabled.is-checked .bk-checkbox-input::after {
|
110
110
|
background: #a3c5fd;
|
111
111
|
}
|
112
|
+
.bk-checkbox.is-prechecking {
|
113
|
+
position: relative;
|
114
|
+
}
|
115
|
+
.bk-checkbox.is-prechecking .bk-checkbox-input {
|
116
|
+
visibility: hidden;
|
117
|
+
}
|
112
118
|
.bk-checkbox-input {
|
113
119
|
position: relative;
|
114
120
|
display: inline-block;
|
@@ -135,10 +141,16 @@
|
|
135
141
|
margin-left: 6px;
|
136
142
|
vertical-align: middle;
|
137
143
|
}
|
144
|
+
.bk-checkbox-checking {
|
145
|
+
position: absolute;
|
146
|
+
font-size: 16px;
|
147
|
+
color: #3a84ff;
|
148
|
+
animation: loading 1s linear infinite;
|
149
|
+
}
|
138
150
|
.bk-button {
|
139
151
|
display: inline-flex;
|
140
152
|
height: 32px;
|
141
|
-
padding:
|
153
|
+
padding: 0 14px;
|
142
154
|
font-size: 14px;
|
143
155
|
color: #63656e;
|
144
156
|
text-decoration: none;
|
@@ -178,6 +190,11 @@
|
|
178
190
|
border-color: #5594fa;
|
179
191
|
color: white;
|
180
192
|
}
|
193
|
+
.bk-button.bk-button-primary.is-outline:active {
|
194
|
+
background-color: #2c77f4;
|
195
|
+
border-color: #2c77f4;
|
196
|
+
color: white;
|
197
|
+
}
|
181
198
|
.bk-button.bk-button-primary.is-text {
|
182
199
|
color: #3a84ff;
|
183
200
|
background-color: transparent;
|
@@ -224,6 +241,11 @@
|
|
224
241
|
border-color: #ffb848;
|
225
242
|
color: white;
|
226
243
|
}
|
244
|
+
.bk-button.bk-button-warning.is-outline:active {
|
245
|
+
background-color: #eb9000;
|
246
|
+
border-color: #eb9000;
|
247
|
+
color: white;
|
248
|
+
}
|
227
249
|
.bk-button.bk-button-warning.is-text {
|
228
250
|
color: #ff9c01;
|
229
251
|
background-color: transparent;
|
@@ -270,6 +292,11 @@
|
|
270
292
|
border-color: #45e35f;
|
271
293
|
color: white;
|
272
294
|
}
|
295
|
+
.bk-button.bk-button-success.is-outline:active {
|
296
|
+
background-color: #1ab943;
|
297
|
+
border-color: #1ab943;
|
298
|
+
color: white;
|
299
|
+
}
|
273
300
|
.bk-button.bk-button-success.is-text {
|
274
301
|
color: #2dcb56;
|
275
302
|
background-color: transparent;
|
@@ -316,6 +343,11 @@
|
|
316
343
|
border-color: #ff5656;
|
317
344
|
color: white;
|
318
345
|
}
|
346
|
+
.bk-button.bk-button-danger.is-outline:active {
|
347
|
+
background-color: #db2626;
|
348
|
+
border-color: #db2626;
|
349
|
+
color: white;
|
350
|
+
}
|
319
351
|
.bk-button.bk-button-danger.is-text {
|
320
352
|
color: #ea3636;
|
321
353
|
background-color: transparent;
|
@@ -340,12 +372,12 @@
|
|
340
372
|
}
|
341
373
|
.bk-button.bk-button-small {
|
342
374
|
height: 26px;
|
343
|
-
padding:
|
375
|
+
padding: 0 12px;
|
344
376
|
font-size: 12px;
|
345
377
|
}
|
346
378
|
.bk-button.bk-button-large {
|
347
|
-
height:
|
348
|
-
padding:
|
379
|
+
height: 40px;
|
380
|
+
padding: 0 16px;
|
349
381
|
font-size: 16px;
|
350
382
|
}
|
351
383
|
.bk-button .bk-button-text {
|
@@ -385,18 +417,21 @@
|
|
385
417
|
cursor: not-allowed;
|
386
418
|
border-color: #dcdee5;
|
387
419
|
}
|
420
|
+
.bk-button.is-disabled:not(.is-text) {
|
421
|
+
background-color: #f9fafd;
|
422
|
+
}
|
388
423
|
.bk-button-group {
|
389
424
|
display: inline-block;
|
390
425
|
font-size: 0;
|
391
426
|
}
|
392
427
|
.bk-button-group.bk-button-group-small .bk-button {
|
393
428
|
height: 26px;
|
394
|
-
padding:
|
429
|
+
padding: 0 12px;
|
395
430
|
font-size: 12px;
|
396
431
|
}
|
397
432
|
.bk-button-group.bk-button-group-large .bk-button {
|
398
|
-
height:
|
399
|
-
padding:
|
433
|
+
height: 40px;
|
434
|
+
padding: 0 16px;
|
400
435
|
font-size: 16px;
|
401
436
|
}
|
402
437
|
.bk-button-group .bk-button {
|
@@ -531,6 +566,7 @@
|
|
531
566
|
}
|
532
567
|
.bk-pagination-list {
|
533
568
|
display: flex;
|
569
|
+
margin-right: 8px;
|
534
570
|
}
|
535
571
|
.bk-pagination-list-pre-batch,
|
536
572
|
.bk-pagination-list-next-batch,
|
@@ -701,7 +737,7 @@
|
|
701
737
|
.bk-popover.bk-pop2-content {
|
702
738
|
position: absolute;
|
703
739
|
display: none;
|
704
|
-
padding:
|
740
|
+
padding: 12px;
|
705
741
|
font-size: 12px;
|
706
742
|
color: #fff;
|
707
743
|
background: #26323d;
|
@@ -710,6 +746,7 @@
|
|
710
746
|
}
|
711
747
|
.bk-popover.bk-pop2-content .bk-pop2-arrow {
|
712
748
|
position: absolute;
|
749
|
+
z-index: -1;
|
713
750
|
width: 8px;
|
714
751
|
height: 8px;
|
715
752
|
background: #333;
|
@@ -732,6 +769,9 @@
|
|
732
769
|
cursor: pointer;
|
733
770
|
align-items: center;
|
734
771
|
}
|
772
|
+
.bk-table-head-action:last-of-type {
|
773
|
+
margin-right: -10px;
|
774
|
+
}
|
735
775
|
.bk-table-head-action.active {
|
736
776
|
color: #3a84ff;
|
737
777
|
}
|
@@ -776,37 +816,10 @@
|
|
776
816
|
}
|
777
817
|
.bk-popover.bk-pop2-content.bk-table-head-filter .content-footer {
|
778
818
|
display: flex;
|
779
|
-
|
780
|
-
padding: 0 10px;
|
819
|
+
padding: 12px;
|
781
820
|
border-top: solid 1px #dcdee5;
|
782
|
-
justify-content: center;
|
783
|
-
align-items: center;
|
784
|
-
}
|
785
|
-
.bk-popover.bk-pop2-content.bk-table-head-filter .content-footer span {
|
786
|
-
display: inline-flex;
|
787
|
-
height: 100%;
|
788
|
-
padding: 6px 12px;
|
789
|
-
font-size: 14px;
|
790
|
-
line-height: 22px;
|
791
|
-
color: #3a84ff;
|
792
|
-
cursor: pointer;
|
793
821
|
align-items: center;
|
794
822
|
}
|
795
|
-
.bk-popover.bk-pop2-content.bk-table-head-filter .content-footer span.disabled {
|
796
|
-
color: transparent;
|
797
|
-
cursor: auto;
|
798
|
-
}
|
799
|
-
.bk-popover.bk-pop2-content.bk-table-head-filter .content-footer span.btn-filter-split {
|
800
|
-
width: 1px;
|
801
|
-
height: calc(100% - 12px);
|
802
|
-
padding: 6px 0;
|
803
|
-
cursor: default;
|
804
|
-
background: #f0f1f5;
|
805
|
-
}
|
806
|
-
.bk-popover.bk-pop2-content.bk-table-head-filter .content-footer span.btn-filter-reset.disable {
|
807
|
-
color: #979ba5;
|
808
|
-
cursor: not-allowed;
|
809
|
-
}
|
810
823
|
.bk-head-cell-sort {
|
811
824
|
display: flex;
|
812
825
|
height: 100%;
|
@@ -985,15 +998,25 @@
|
|
985
998
|
height: auto;
|
986
999
|
overflow: hidden;
|
987
1000
|
}
|
1001
|
+
.bk-table-flex {
|
1002
|
+
display: flex;
|
1003
|
+
flex-direction: column;
|
1004
|
+
max-height: fit-content;
|
1005
|
+
}
|
1006
|
+
.bk-table-flex .bk-table-body {
|
1007
|
+
flex: 1;
|
1008
|
+
overflow: auto;
|
1009
|
+
}
|
988
1010
|
.bk-table.has-scroll-y .bk-table-head {
|
989
1011
|
padding-right: 4px;
|
990
1012
|
}
|
991
1013
|
.bk-table .bk-table-body {
|
992
1014
|
position: relative;
|
993
1015
|
overflow: auto;
|
1016
|
+
scrollbar-gutter: stable;
|
994
1017
|
}
|
995
1018
|
.bk-table .bk-table-body::-webkit-scrollbar {
|
996
|
-
width:
|
1019
|
+
width: 5px;
|
997
1020
|
height: 6px;
|
998
1021
|
}
|
999
1022
|
.bk-table .bk-table-body::-webkit-scrollbar-thumb {
|
@@ -1005,7 +1028,7 @@
|
|
1005
1028
|
transform: translateX(var(--prepend-left));
|
1006
1029
|
}
|
1007
1030
|
.bk-table .bk-table-body-content.bk-stripe table tbody tr:nth-child(even) td {
|
1008
|
-
background-color: #
|
1031
|
+
background-color: #fafbfd;
|
1009
1032
|
}
|
1010
1033
|
.bk-table .bk-table-body-content.bk-stripe table tbody tr td {
|
1011
1034
|
border-bottom: none;
|
@@ -1025,11 +1048,12 @@
|
|
1025
1048
|
.bk-table .bk-table-head,
|
1026
1049
|
.bk-table .bk-table-body {
|
1027
1050
|
background: white;
|
1051
|
+
transform: translateZ(0);
|
1028
1052
|
}
|
1029
1053
|
.bk-table .bk-table-head::-webkit-scrollbar,
|
1030
1054
|
.bk-table .bk-table-body::-webkit-scrollbar {
|
1031
|
-
width:
|
1032
|
-
height:
|
1055
|
+
width: 5px;
|
1056
|
+
height: 5px;
|
1033
1057
|
}
|
1034
1058
|
.bk-table .bk-table-head::-webkit-scrollbar-thumb,
|
1035
1059
|
.bk-table .bk-table-body::-webkit-scrollbar-thumb {
|
@@ -1046,16 +1070,17 @@
|
|
1046
1070
|
}
|
1047
1071
|
.bk-table .bk-table-head.__is-empty .bk-table-body-content,
|
1048
1072
|
.bk-table .bk-table-body.__is-empty .bk-table-body-content {
|
1073
|
+
position: relative;
|
1049
1074
|
display: flex;
|
1050
1075
|
width: 100%;
|
1051
1076
|
height: 100%;
|
1052
1077
|
padding-bottom: 20px;
|
1053
|
-
position: relative;
|
1054
1078
|
}
|
1055
1079
|
.bk-table .bk-table-head table,
|
1056
1080
|
.bk-table .bk-table-body table {
|
1057
1081
|
width: 100%;
|
1058
1082
|
border-collapse: collapse;
|
1083
|
+
transform: translateZ(0);
|
1059
1084
|
table-layout: fixed;
|
1060
1085
|
align-self: flex-start;
|
1061
1086
|
}
|
@@ -1066,7 +1091,6 @@
|
|
1066
1091
|
height: var(--row-height);
|
1067
1092
|
min-width: 30px;
|
1068
1093
|
clear: both;
|
1069
|
-
background-color: #fff;
|
1070
1094
|
}
|
1071
1095
|
.bk-table .bk-table-head table th.expand-row .expand-btn-action,
|
1072
1096
|
.bk-table .bk-table-body table th.expand-row .expand-btn-action,
|
@@ -1091,6 +1115,13 @@
|
|
1091
1115
|
.bk-table .bk-table-body table td .cell.has-sort {
|
1092
1116
|
cursor: pointer;
|
1093
1117
|
}
|
1118
|
+
.bk-table .bk-table-head table th .cell.explain,
|
1119
|
+
.bk-table .bk-table-body table th .cell.explain,
|
1120
|
+
.bk-table .bk-table-head table td .cell.explain,
|
1121
|
+
.bk-table .bk-table-body table td .cell.explain {
|
1122
|
+
text-decoration-style: dashed;
|
1123
|
+
text-decoration-line: underline;
|
1124
|
+
}
|
1094
1125
|
.bk-table .bk-table-head table th .cell .head-text,
|
1095
1126
|
.bk-table .bk-table-body table th .cell .head-text,
|
1096
1127
|
.bk-table .bk-table-head table td .cell .head-text,
|
@@ -1180,7 +1211,22 @@
|
|
1180
1211
|
}
|
1181
1212
|
.bk-table .bk-table-head table thead th,
|
1182
1213
|
.bk-table .bk-table-body table thead th {
|
1214
|
+
position: relative;
|
1183
1215
|
font-weight: 400;
|
1216
|
+
background-color: var(--background-color);
|
1217
|
+
}
|
1218
|
+
.bk-table .bk-table-head table thead th.col-resize-hover::after,
|
1219
|
+
.bk-table .bk-table-body table thead th.col-resize-hover::after {
|
1220
|
+
position: absolute;
|
1221
|
+
top: 0;
|
1222
|
+
right: 0;
|
1223
|
+
bottom: 0;
|
1224
|
+
z-index: 1;
|
1225
|
+
width: 6px;
|
1226
|
+
pointer-events: none;
|
1227
|
+
background-color: #3785ff;
|
1228
|
+
content: '';
|
1229
|
+
transform: translateX(50%);
|
1184
1230
|
}
|
1185
1231
|
.bk-table .bk-table-head table thead th .cell,
|
1186
1232
|
.bk-table .bk-table-body table thead th .cell {
|
@@ -1193,12 +1239,17 @@
|
|
1193
1239
|
.bk-table .bk-table-body table thead th.active,
|
1194
1240
|
.bk-table .bk-table-head table thead th:hover,
|
1195
1241
|
.bk-table .bk-table-body table thead th:hover {
|
1242
|
+
cursor: pointer;
|
1196
1243
|
background: #f0f1f5;
|
1197
1244
|
}
|
1198
1245
|
.bk-table .bk-table-head table thead th.column_fixed,
|
1199
1246
|
.bk-table .bk-table-body table thead th.column_fixed {
|
1200
1247
|
transform: translateX(var(--scroll-left));
|
1201
1248
|
}
|
1249
|
+
.bk-table .bk-table-head table tbody tr td,
|
1250
|
+
.bk-table .bk-table-body table tbody tr td {
|
1251
|
+
background-color: #fff;
|
1252
|
+
}
|
1202
1253
|
.bk-table .bk-table-head table tbody tr td.empty-cell,
|
1203
1254
|
.bk-table .bk-table-body table tbody tr td.empty-cell {
|
1204
1255
|
padding-bottom: 30px;
|
@@ -1222,6 +1273,21 @@
|
|
1222
1273
|
}
|
1223
1274
|
.bk-table .bk-table-head {
|
1224
1275
|
position: relative;
|
1276
|
+
z-index: 2;
|
1277
|
+
scrollbar-gutter: stable;
|
1278
|
+
overflow: hidden;
|
1279
|
+
}
|
1280
|
+
.bk-table .bk-table-head .col-resize-drag {
|
1281
|
+
position: absolute;
|
1282
|
+
top: 0;
|
1283
|
+
right: 0;
|
1284
|
+
bottom: 0;
|
1285
|
+
z-index: 1;
|
1286
|
+
width: 6px;
|
1287
|
+
background-color: #3785ff;
|
1288
|
+
transform: translateX(-50%);
|
1289
|
+
}
|
1290
|
+
.bk-table .bk-table-head thead {
|
1225
1291
|
transform: translateX(var(--scroll-head-left));
|
1226
1292
|
}
|
1227
1293
|
.bk-table .bk-table-head .table-head-settings {
|
@@ -1244,15 +1310,14 @@
|
|
1244
1310
|
}
|
1245
1311
|
.bk-table .bk-table-head .table-head-settings > span {
|
1246
1312
|
display: flex;
|
1247
|
-
width:
|
1248
|
-
height:
|
1249
|
-
}
|
1250
|
-
.bk-table .bk-table-head .bk-table-fixed .column_fixed.column_fixed_right.shadow {
|
1251
|
-
box-shadow: -2px 2px 10px 0px rgba(0, 0, 0, 0.12);
|
1313
|
+
width: 1em;
|
1314
|
+
height: 1em;
|
1252
1315
|
}
|
1253
1316
|
.bk-table .bk-table-footer {
|
1317
|
+
display: flex;
|
1318
|
+
width: 100%;
|
1254
1319
|
height: var(--footer-height);
|
1255
|
-
|
1320
|
+
align-items: center;
|
1256
1321
|
}
|
1257
1322
|
.bk-table .bk-table-footer.is-hidden {
|
1258
1323
|
display: none;
|
@@ -1301,13 +1366,13 @@
|
|
1301
1366
|
position: absolute;
|
1302
1367
|
top: 0;
|
1303
1368
|
right: 0;
|
1304
|
-
bottom:
|
1369
|
+
bottom: var(--footer-height);
|
1305
1370
|
left: 0;
|
1306
1371
|
pointer-events: none;
|
1307
1372
|
}
|
1308
1373
|
.bk-table .bk-table-fixed .column_fixed {
|
1309
1374
|
position: absolute;
|
1310
|
-
|
1375
|
+
z-index: 2;
|
1311
1376
|
}
|
1312
1377
|
.bk-table .bk-table-fixed .column_fixed.column_fixed_left {
|
1313
1378
|
top: 0;
|
@@ -1319,7 +1384,6 @@
|
|
1319
1384
|
.bk-table .bk-table-fixed .column_fixed.column_fixed_right {
|
1320
1385
|
top: 0;
|
1321
1386
|
right: 0;
|
1322
|
-
z-index: 1;
|
1323
1387
|
}
|
1324
1388
|
.bk-table .bk-table-fixed .column_fixed.column_fixed_right.shadow {
|
1325
1389
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
|
@@ -1343,5 +1407,5 @@
|
|
1343
1407
|
margin-left: auto;
|
1344
1408
|
}
|
1345
1409
|
.bk-table .stripe-row {
|
1346
|
-
background: #
|
1410
|
+
background: #fafbfd;
|
1347
1411
|
}
|