bkui-vue 0.0.1-beta.46 → 0.0.1-beta.461
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/License.txt +14 -0
- package/dist/index.cjs.js +364 -36
- package/dist/index.esm.js +30127 -19370
- package/dist/index.umd.js +364 -36
- package/dist/locale/en.esm.js +2 -0
- package/dist/locale/en.esm.js.map +1 -0
- package/dist/locale/en.umd.js +2 -0
- package/dist/locale/en.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js +2 -0
- package/dist/locale/zh-cn.esm.js.map +1 -0
- package/dist/locale/zh-cn.umd.js +2 -0
- package/dist/locale/zh-cn.umd.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +125 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +9 -3
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.less +29 -20
- package/lib/alert/alert.variable.css +41 -7
- package/lib/alert/index.d.ts +11 -11
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +1 -1
- package/lib/animate-number/index.d.ts +4 -4
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +3 -3
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +40 -4
- package/lib/backtop/index.d.ts +10 -10
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +7 -10
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +9 -11
- package/lib/badge/badge.variable.css +39 -14
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +4 -2
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +88 -9
- package/lib/breadcrumb/index.d.ts +4 -2
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +2 -2
- package/lib/button/button.css +85 -50
- package/lib/button/button.d.ts +44 -24
- package/lib/button/button.less +72 -42
- package/lib/button/button.variable.css +117 -54
- package/lib/button/index.d.ts +74 -44
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +97 -2
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +133 -10
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +102 -0
- package/lib/cascader/cascader.css +316 -0
- package/lib/cascader/cascader.d.ts +354 -0
- package/lib/cascader/cascader.less +283 -0
- package/lib/cascader/cascader.variable.css +438 -0
- package/lib/cascader/index.d.ts +988 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +27 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +51 -11
- package/lib/checkbox/checkbox.d.ts +36 -24
- package/lib/checkbox/checkbox.less +85 -32
- package/lib/checkbox/checkbox.variable.css +83 -15
- package/lib/checkbox/common.d.ts +4 -3
- package/lib/checkbox/index.d.ts +70 -38
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +27 -7
- package/lib/code-diff/code-diff.d.ts +8 -8
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +59 -11
- package/lib/code-diff/index.d.ts +11 -11
- package/lib/code-diff/index.js +1 -1
- package/lib/collapse/collapse-panel.d.ts +103 -0
- package/lib/collapse/collapse.css +69 -14
- package/lib/collapse/collapse.d.ts +66 -52
- package/lib/collapse/collapse.less +112 -30
- package/lib/collapse/collapse.variable.css +191 -14
- package/lib/collapse/index.d.ts +266 -20
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +131 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/collapse-transition/collapse-transition.css +93 -0
- package/lib/collapse-transition/collapse-transition.d.ts +15 -0
- package/lib/collapse-transition/collapse-transition.less +111 -0
- package/lib/collapse-transition/collapse-transition.variable.css +215 -0
- package/lib/collapse-transition/index.d.ts +2 -0
- package/lib/collapse-transition/index.js +1 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +397 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +31 -8
- package/lib/components.js +1 -0
- package/lib/config-provider/config-provider.css +0 -0
- package/lib/config-provider/config-provider.d.ts +402 -0
- package/lib/config-provider/config-provider.less +1 -0
- package/lib/config-provider/config-provider.variable.css +122 -0
- package/lib/config-provider/index.d.ts +609 -0
- package/lib/config-provider/index.js +1 -0
- package/lib/config-provider/token.d.ts +128 -0
- package/lib/config-provider/use-global-config.d.ts +5 -0
- package/lib/config-provider/use-locale.d.ts +3 -0
- package/lib/config-provider/use-prefix.d.ts +9 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +213 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/interface.d.ts +7 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/month-table.d.ts +117 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +170 -0
- package/lib/date-picker/base/year-table.d.ts +117 -0
- package/lib/date-picker/date-picker.css +28 -1
- package/lib/date-picker/date-picker.d.ts +49 -20
- package/lib/date-picker/date-picker.less +106 -74
- package/lib/date-picker/date-picker.variable.css +60 -5
- package/lib/date-picker/index.d.ts +121 -54
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +11 -1
- package/lib/date-picker/panel/date-range.d.ts +328 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +489 -0
- package/lib/date-picker/panel/time.d.ts +448 -0
- package/lib/date-picker/props.d.ts +55 -5
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +135 -26
- package/lib/dialog/dialog.d.ts +218 -103
- package/lib/dialog/dialog.less +99 -41
- package/lib/dialog/dialog.variable.css +257 -26
- package/lib/dialog/index.d.ts +488 -224
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +122 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +2 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +15 -15
- package/lib/divider/divider.variable.css +32 -4
- package/lib/divider/index.d.ts +34 -34
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown.css +38 -7
- package/lib/dropdown/dropdown.d.ts +46 -14
- package/lib/dropdown/dropdown.less +48 -34
- package/lib/dropdown/dropdown.variable.css +70 -11
- package/lib/dropdown/index.d.ts +99 -35
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +31 -11
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +72 -18
- package/lib/exception/index.d.ts +43 -26
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +22 -7
- package/lib/form/form.css +103 -15
- package/lib/form/form.d.ts +48 -14
- package/lib/form/form.less +152 -46
- package/lib/form/form.variable.css +225 -15
- package/lib/form/index.d.ts +122 -35
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +11 -8
- package/lib/form/utils.d.ts +2 -0
- package/lib/form/validator.d.ts +1 -0
- package/lib/hooks.d.ts +1 -0
- package/lib/hooks.js +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.d.ts +4 -0
- package/lib/icon/copy-shape.js +1 -0
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/fix-line.d.ts +4 -0
- package/lib/icon/fix-line.js +1 -0
- package/lib/icon/fix-shape.d.ts +4 -0
- package/lib/icon/fix-shape.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +83 -54
- package/lib/icon/index.js +1 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.js +1 -0
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original.d.ts +4 -0
- package/lib/icon/original.js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.js +1 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.js +1 -0
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -0
- package/lib/icon/weixin-pro.d.ts +4 -0
- package/lib/icon/weixin-pro.js +1 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +7 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +29 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +159 -0
- package/lib/input/index.d.ts +175 -90
- package/lib/input/index.js +1 -0
- package/lib/input/input.css +183 -19
- package/lib/input/input.d.ts +119 -36
- package/lib/input/input.less +112 -18
- package/lib/input/input.variable.css +246 -55
- package/lib/link/index.d.ts +29 -21
- package/lib/link/index.js +1 -0
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +10 -8
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +44 -16
- package/lib/loading/directive.d.ts +14 -0
- package/lib/loading/index.d.ts +135 -19
- package/lib/loading/index.js +1 -0
- package/lib/loading/loading.css +86 -33
- package/lib/loading/loading.d.ts +94 -12
- package/lib/loading/loading.less +27 -23
- package/lib/loading/loading.variable.css +134 -53
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/index.js +1 -0
- package/lib/locale/lang/en.d.ts +126 -0
- package/lib/locale/lang/zh-cn.d.ts +3 -0
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +101 -22
- package/lib/menu/submenu.variable.css +32 -4
- package/lib/message/index.js +2 -0
- package/lib/message/index.js.LICENSE.txt +6 -0
- package/lib/message/message.css +170 -6
- package/lib/message/message.less +222 -7
- package/lib/message/message.variable.css +202 -10
- package/lib/message/messageConstructor.d.ts +134 -25
- package/lib/modal/index.d.ts +399 -162
- package/lib/modal/index.js +1 -0
- package/lib/modal/modal.css +52 -10
- package/lib/modal/modal.d.ts +151 -63
- package/lib/modal/modal.less +36 -25
- package/lib/modal/modal.variable.css +174 -10
- package/lib/modal/props.mixin.d.ts +63 -28
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +12 -3
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +33 -5
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +25 -5
- package/lib/notify/notify.less +29 -6
- package/lib/notify/notify.variable.css +57 -9
- package/lib/notify/notifyConstructor.d.ts +62 -21
- package/lib/overflow-title/components/overflow-title.d.ts +57 -0
- package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +170 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/overflow.css +11 -0
- package/lib/overflow-title/overflow.less +13 -0
- package/lib/overflow-title/overflow.variable.css +11 -0
- package/lib/overflow-title/props.d.ts +43 -0
- package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
- package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
- package/lib/pagination/index.d.ts +35 -20
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +18 -8
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +86 -32
- package/lib/pagination/use-limit.d.ts +3 -1
- package/lib/pagination/use-total.d.ts +3 -1
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/pop-confirm/index.d.ts +246 -0
- package/lib/pop-confirm/index.js +1 -0
- package/lib/pop-confirm/pop-confirm.css +28 -0
- package/lib/pop-confirm/pop-confirm.d.ts +95 -0
- package/lib/pop-confirm/pop-confirm.less +34 -0
- package/lib/pop-confirm/pop-confirm.variable.css +150 -0
- package/lib/pop-confirm/props.d.ts +67 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +43 -0
- package/lib/popover/index.d.ts +484 -108
- package/lib/popover/index.js +1 -0
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +10 -50
- package/lib/popover/popover.d.ts +213 -49
- package/lib/popover/popover.less +19 -66
- package/lib/popover/popover.variable.css +42 -54
- package/lib/popover/props.d.ts +103 -35
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +16 -0
- package/lib/popover/use-floating.d.ts +34 -0
- package/lib/popover/use-platform.d.ts +30 -0
- package/lib/popover/use-popover-init.d.ts +23 -0
- package/lib/popover/use-popper-id.d.ts +6 -0
- package/lib/popover/utils.d.ts +8 -0
- package/lib/popover2/index.d.ts +44 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.d.ts +264 -2
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +22 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +30 -2
- package/lib/process/process.variable.css +54 -4
- package/lib/progress/index.d.ts +34 -34
- package/lib/progress/index.js +1 -0
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +13 -13
- package/lib/progress/progress.variable.css +87 -8
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +36 -18
- package/lib/radio/index.js +1 -0
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +26 -0
- package/lib/radio/radio.css +137 -66
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +262 -173
- package/lib/radio/radio.variable.css +172 -73
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +28 -5
- package/lib/rate/index.js +1 -0
- package/lib/rate/rate.d.ts +13 -2
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +21 -21
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +6 -15
- package/lib/resize-layout/resize-layout.d.ts +8 -8
- package/lib/resize-layout/resize-layout.less +10 -19
- package/lib/resize-layout/resize-layout.variable.css +38 -19
- package/lib/search-select/index.d.ts +891 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +101 -0
- package/lib/search-select/menu.d.ts +77 -0
- package/lib/search-select/search-select.css +427 -0
- package/lib/search-select/search-select.d.ts +361 -0
- package/lib/search-select/search-select.less +384 -0
- package/lib/search-select/search-select.variable.css +549 -0
- package/lib/search-select/selected.d.ts +155 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +5 -12
- package/lib/select/index.d.ts +1831 -690
- package/lib/select/index.js +1 -0
- package/lib/select/option.d.ts +20 -4
- package/lib/select/optionGroup.d.ts +1 -1
- package/lib/select/select.css +209 -113
- package/lib/select/select.d.ts +722 -147
- package/lib/select/select.less +342 -197
- package/lib/select/select.variable.css +241 -117
- package/lib/select/selectTagInput.d.ts +94 -0
- package/lib/select/type.d.ts +23 -13
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +9 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +32 -7
- package/lib/shared/index.js +1 -0
- package/lib/shared/mask-manager.d.ts +19 -5
- package/lib/shared/pop-manager.d.ts +16 -5
- package/lib/shared/popover.d.ts +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +19 -0
- package/lib/shared/vue-types.d.ts +114 -7
- package/lib/sideslider/index.d.ts +290 -138
- package/lib/sideslider/index.js +1 -0
- package/lib/sideslider/sideslider.css +58 -11
- package/lib/sideslider/sideslider.d.ts +135 -64
- package/lib/sideslider/sideslider.less +75 -14
- package/lib/sideslider/sideslider.variable.css +90 -15
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +2 -1
- package/lib/slider/slider.d.ts +4 -4
- package/lib/slider/slider.variable.css +32 -4
- package/lib/steps/index.d.ts +55 -55
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +15 -3
- package/lib/steps/steps.d.ts +33 -33
- package/lib/steps/steps.less +24 -3
- package/lib/steps/steps.variable.css +47 -7
- package/lib/styles/index.d.ts +10 -1
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/popper.css +1 -1
- package/lib/styles/mixins/popper.less +12 -11
- package/lib/styles/mixins/popper.variable.css +123 -1
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +139 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -2
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +42 -4
- package/lib/swiper/index.js +1 -0
- package/lib/switcher/index.d.ts +42 -30
- package/lib/switcher/index.js +1 -0
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +19 -13
- package/lib/switcher/switcher.less +3 -26
- package/lib/switcher/switcher.variable.css +106 -27
- package/lib/tab/index.d.ts +122 -68
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +93 -41
- package/lib/tab/tab-nav.d.ts +50 -14
- package/lib/tab/tab-panel.d.ts +15 -8
- package/lib/tab/tab.css +151 -55
- package/lib/tab/tab.d.ts +42 -21
- package/lib/tab/tab.less +179 -86
- package/lib/tab/tab.variable.css +183 -59
- package/lib/table/cache.d.ts +6 -0
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +51 -0
- package/lib/table/components/table-column.d.ts +299 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +128 -1
- package/lib/table/index.d.ts +1405 -51
- package/lib/table/index.js +1 -0
- package/lib/table/plugins/body-empty.d.ts +36 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +30 -14
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +79 -52
- package/lib/table/plugins/head-filter.variable.css +62 -18
- package/lib/table/plugins/head-sort.css +7 -3
- package/lib/table/plugins/head-sort.d.ts +29 -0
- package/lib/table/plugins/head-sort.less +8 -4
- package/lib/table/plugins/head-sort.variable.css +39 -7
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +147 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +181 -0
- package/lib/table/plugins/settings.variable.css +269 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +26 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +359 -11
- package/lib/table/render.d.ts +46 -18
- package/lib/table/table.css +1251 -16
- package/lib/table/table.d.ts +270 -20
- package/lib/table/table.less +311 -18
- package/lib/table/table.variable.css +1293 -30
- package/lib/table/use-column.d.ts +12 -0
- package/lib/table/use-common.d.ts +113 -0
- package/lib/table/utils.d.ts +52 -12
- package/lib/table-column/index.d.ts +790 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +29 -29
- package/lib/tag/index.js +1 -0
- package/lib/tag/tag.css +46 -13
- package/lib/tag/tag.d.ts +12 -12
- package/lib/tag/tag.less +46 -10
- package/lib/tag/tag.variable.css +78 -17
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +1406 -1
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +0 -3
- package/lib/tag-input/tag-input.css +23 -26
- package/lib/tag-input/tag-input.d.ts +302 -43
- package/lib/tag-input/tag-input.less +102 -104
- package/lib/tag-input/tag-input.variable.css +55 -30
- package/lib/tag-input/tag-props.d.ts +141 -7
- package/lib/tag-input/tag-render.d.ts +30 -4
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +337 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +16 -9
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +22 -9
- package/lib/timeline/timeline.variable.css +48 -13
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +247 -150
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +59 -0
- package/lib/transfer/transfer.css +153 -92
- package/lib/transfer/transfer.d.ts +101 -95
- package/lib/transfer/transfer.less +142 -112
- package/lib/transfer/transfer.variable.css +191 -102
- package/lib/tree/constant.d.ts +62 -0
- package/lib/tree/index.d.ts +402 -60
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +135 -0
- package/lib/tree/tree.css +181 -9
- package/lib/tree/tree.d.ts +183 -19
- package/lib/tree/tree.less +54 -3
- package/lib/tree/tree.variable.css +213 -13
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +42 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +4 -6
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +427 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +466 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +549 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +73 -4
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +24 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.d.ts +34 -1
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +139 -17
- package/lib/volar.components.d.ts +102 -0
- package/package.json +38 -17
- package/LICENSE.txt +0 -22
- package/lib/form/common.d.ts +0 -3
- package/lib/use-form.d.ts +0 -3
@@ -5,10 +5,11 @@ declare const BkVirtualRender: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
width: string | number;
|
7
7
|
height: string | number;
|
8
|
-
list: unknown[];
|
9
8
|
enabled: boolean;
|
9
|
+
list: unknown[];
|
10
10
|
lineHeight: any;
|
11
11
|
minHeight: number;
|
12
|
+
scrollEvent: boolean;
|
12
13
|
className: string | {
|
13
14
|
[key: string]: any;
|
14
15
|
};
|
@@ -28,6 +29,8 @@ declare const BkVirtualRender: {
|
|
28
29
|
scrollPosition: string;
|
29
30
|
abosuteHeight: string | number;
|
30
31
|
throttleDelay: number;
|
32
|
+
rowKey: string;
|
33
|
+
keepAlive: boolean;
|
31
34
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
32
35
|
onContentScroll: FunctionConstructor;
|
33
36
|
list: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
@@ -40,6 +43,11 @@ declare const BkVirtualRender: {
|
|
40
43
|
} & {
|
41
44
|
default: boolean;
|
42
45
|
};
|
46
|
+
scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
|
47
|
+
default: boolean;
|
48
|
+
} & {
|
49
|
+
default: boolean;
|
50
|
+
};
|
43
51
|
lineHeight: import("vue-types").VueTypeDef<any> & {
|
44
52
|
default: any;
|
45
53
|
};
|
@@ -135,7 +143,17 @@ declare const BkVirtualRender: {
|
|
135
143
|
} & {
|
136
144
|
default: number;
|
137
145
|
};
|
138
|
-
|
146
|
+
rowKey: import("vue-types").VueTypeValidableDef<string> & {
|
147
|
+
default: string;
|
148
|
+
} & {
|
149
|
+
default: string;
|
150
|
+
};
|
151
|
+
keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
|
152
|
+
default: boolean;
|
153
|
+
} & {
|
154
|
+
default: boolean;
|
155
|
+
};
|
156
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "enabled" | "list" | "lineHeight" | "minHeight" | "scrollEvent" | "className" | "contentClassName" | "contentStyle" | "scrollXName" | "scrollYName" | "groupItemCount" | "preloadItemCount" | "renderAs" | "contentAs" | "scrollOffsetTop" | "scrollPosition" | "abosuteHeight" | "throttleDelay" | "rowKey" | "keepAlive">;
|
139
157
|
$attrs: {
|
140
158
|
[x: string]: unknown;
|
141
159
|
};
|
@@ -161,6 +179,11 @@ declare const BkVirtualRender: {
|
|
161
179
|
} & {
|
162
180
|
default: boolean;
|
163
181
|
};
|
182
|
+
scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
|
183
|
+
default: boolean;
|
184
|
+
} & {
|
185
|
+
default: boolean;
|
186
|
+
};
|
164
187
|
lineHeight: import("vue-types").VueTypeDef<any> & {
|
165
188
|
default: any;
|
166
189
|
};
|
@@ -256,15 +279,26 @@ declare const BkVirtualRender: {
|
|
256
279
|
} & {
|
257
280
|
default: number;
|
258
281
|
};
|
282
|
+
rowKey: import("vue-types").VueTypeValidableDef<string> & {
|
283
|
+
default: string;
|
284
|
+
} & {
|
285
|
+
default: string;
|
286
|
+
};
|
287
|
+
keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
|
288
|
+
default: boolean;
|
289
|
+
} & {
|
290
|
+
default: boolean;
|
291
|
+
};
|
259
292
|
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
260
293
|
[key: string]: any;
|
261
294
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, {
|
262
295
|
width: string | number;
|
263
296
|
height: string | number;
|
264
|
-
list: unknown[];
|
265
297
|
enabled: boolean;
|
298
|
+
list: unknown[];
|
266
299
|
lineHeight: any;
|
267
300
|
minHeight: number;
|
301
|
+
scrollEvent: boolean;
|
268
302
|
className: string | {
|
269
303
|
[key: string]: any;
|
270
304
|
};
|
@@ -284,6 +318,8 @@ declare const BkVirtualRender: {
|
|
284
318
|
scrollPosition: string;
|
285
319
|
abosuteHeight: string | number;
|
286
320
|
throttleDelay: number;
|
321
|
+
rowKey: string;
|
322
|
+
keepAlive: boolean;
|
287
323
|
}> & {
|
288
324
|
beforeCreate?: (() => void) | (() => void)[];
|
289
325
|
created?: (() => void) | (() => void)[];
|
@@ -316,6 +352,11 @@ declare const BkVirtualRender: {
|
|
316
352
|
} & {
|
317
353
|
default: boolean;
|
318
354
|
};
|
355
|
+
scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
|
356
|
+
default: boolean;
|
357
|
+
} & {
|
358
|
+
default: boolean;
|
359
|
+
};
|
319
360
|
lineHeight: import("vue-types").VueTypeDef<any> & {
|
320
361
|
default: any;
|
321
362
|
};
|
@@ -411,6 +452,16 @@ declare const BkVirtualRender: {
|
|
411
452
|
} & {
|
412
453
|
default: number;
|
413
454
|
};
|
455
|
+
rowKey: import("vue-types").VueTypeValidableDef<string> & {
|
456
|
+
default: string;
|
457
|
+
} & {
|
458
|
+
default: string;
|
459
|
+
};
|
460
|
+
keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
|
461
|
+
default: boolean;
|
462
|
+
} & {
|
463
|
+
default: boolean;
|
464
|
+
};
|
414
465
|
}>> & import("vue").ShallowUnwrapRef<() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
415
466
|
[key: string]: any;
|
416
467
|
}>> & {} & {} & import("vue").ComponentCustomProperties;
|
@@ -429,6 +480,11 @@ declare const BkVirtualRender: {
|
|
429
480
|
} & {
|
430
481
|
default: boolean;
|
431
482
|
};
|
483
|
+
scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
|
484
|
+
default: boolean;
|
485
|
+
} & {
|
486
|
+
default: boolean;
|
487
|
+
};
|
432
488
|
lineHeight: import("vue-types").VueTypeDef<any> & {
|
433
489
|
default: any;
|
434
490
|
};
|
@@ -524,15 +580,26 @@ declare const BkVirtualRender: {
|
|
524
580
|
} & {
|
525
581
|
default: number;
|
526
582
|
};
|
583
|
+
rowKey: import("vue-types").VueTypeValidableDef<string> & {
|
584
|
+
default: string;
|
585
|
+
} & {
|
586
|
+
default: string;
|
587
|
+
};
|
588
|
+
keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
|
589
|
+
default: boolean;
|
590
|
+
} & {
|
591
|
+
default: boolean;
|
592
|
+
};
|
527
593
|
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
528
594
|
[key: string]: any;
|
529
595
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "content-scroll", {
|
530
596
|
width: string | number;
|
531
597
|
height: string | number;
|
532
|
-
list: unknown[];
|
533
598
|
enabled: boolean;
|
599
|
+
list: unknown[];
|
534
600
|
lineHeight: any;
|
535
601
|
minHeight: number;
|
602
|
+
scrollEvent: boolean;
|
536
603
|
className: string | {
|
537
604
|
[key: string]: any;
|
538
605
|
};
|
@@ -552,5 +619,7 @@ declare const BkVirtualRender: {
|
|
552
619
|
scrollPosition: string;
|
553
620
|
abosuteHeight: string | number;
|
554
621
|
throttleDelay: number;
|
622
|
+
rowKey: string;
|
623
|
+
keepAlive: boolean;
|
555
624
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
556
625
|
export default BkVirtualRender;
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash")):t(e["../shared"],e.vue,e.lodash);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=t}},n={};function l(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,l),o.exports}l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{l.r(s),l.d(s,{default:()=>m});var e=l(4212);function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function o(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(e){if("string"==typeof e)return t(e,o);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,o):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var n=l(748),i={onContentScroll:Function},a=Object.assign({list:e.PropTypes.array.def([]),enabled:e.PropTypes.bool.def(!0),scrollEvent:e.PropTypes.bool.def(!1),lineHeight:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.func]).def(30),minHeight:e.PropTypes.number.def(30),height:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),width:e.PropTypes.oneOfType([e.PropTypes.string.def("100%"),e.PropTypes.number]).def("100%"),className:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentClassName:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.string),e.PropTypes.object,e.PropTypes.arrayOf(e.PropTypes.object),e.PropTypes.string]).def(""),contentStyle:e.PropTypes.object.def({}),scrollXName:e.PropTypes.string.def((0,e.resolveClassName)("F-scroll-x")),scrollYName:e.PropTypes.string.def((0,e.resolveClassName)("F-scroll-y")),groupItemCount:e.PropTypes.number.def(1),preloadItemCount:e.PropTypes.number.def(1),renderAs:e.PropTypes.string.def("div"),contentAs:e.PropTypes.string.def("div"),scrollOffsetTop:e.PropTypes.number.def(0),scrollPosition:e.PropTypes.string.def("content"),abosuteHeight:e.PropTypes.oneOfType([e.PropTypes.string.def("auto"),e.PropTypes.number]).def("auto"),throttleDelay:e.PropTypes.number.def(60),rowKey:e.PropTypes.string.def(void 0),keepAlive:e.PropTypes.bool.def(!1)},i),u=l(467),c=void 0;function p(e,t,o,r){for(var n=0,l=0,s=0,i=0;n<e;n++){if(l+(i=r(n,[n*o,(n+1)*o,"virtual"]))>t){s=t-l;break}l+=i}return{startIndex:n,height:l,diffHeight:s}}function f(e,t,o,r,n){if(r){var l=r.scrollTop,s=r.scrollLeft,i=o.scrollTop,a=o.count,u=o.groupItemCount,c=o.startIndex,f=o.endIndex,d=o.scrollLeft,v=r.offsetHeight,y=0,h=0,m=0;if("number"==typeof e&&(y=Math.floor(l/e),h=Math.ceil(v/e)+y,m=l%e),"function"==typeof e){var g=p(a,l,u,e);y=g.startIndex>0?g.startIndex:0,m=g.diffHeight,h=p(a,v,u,e).startIndex+y+1}if(l!==i||y!==c||h!==f||d!==s){var b=r.scrollHeight-r.offsetHeight-r.scrollTop;"function"==typeof t&&t(n,y,h,l,m,s,{bottom:b>=0?b:0})}}}function d(e,t,o){var r=o.value,n=r.lineHeight,l=void 0===n?30:n,s=r.handleScrollCallback,i=r.pagination,a=void 0===i?{}:i;if(r.onlyScroll){var u=t.scrollTop,c=t.scrollLeft,p=t.scrollHeight-t.offsetHeight-t.scrollTop;s(e,null,null,u,u,c,{bottom:p>=0?p:0})}else{var d=a.startIndex,v=a.endIndex,y=a.groupItemCount,h=a.count;f(l,s,{scrollTop:a.scrollTop,startIndex:d,endIndex:v,groupItemCount:y,count:h,scrollLeft:a.scrollLeft},t,e)}}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60;return(0,u.throttle)((function(e,t,o){return d(e,t,o)}),e)};const y={mounted:function(e,t){var o=e.parentNode,r=t.value.throttleDelay;o.addEventListener("scroll",(function(e){!function(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:60;Reflect.apply(v(r),c,[e,t,o])}(e,o,t,r)}))},unbind:function(e){if(e){var t=e.parentNode;if(!t)return;t.removeEventListener("scroll",v)}}},h=(0,n.defineComponent)({name:"VirtualRender",directives:{bkVirtualRender:y},props:a,emits:["content-scroll"],setup:function(t,l){var s=this,i=t.renderAs,a=t.contentAs,u=function(e){return"string"==typeof e?[e]:"object"!==r(e)||Array.isArray(e)?e:[e]};if(!t.enabled){var c=function(e,t){var o=e.renderAs,r=e.contentAs,l=(0,n.resolveDirective)("bkVirtualRender"),s={lineHeight:e.lineHeight,handleScrollCallback:function(e,o,r,n,l,s,i){t.emit("content-scroll",[e,{translateY:l,translateX:s,pos:i}])},pagination:{},throttleDelay:e.throttleDelay,onlyScroll:e.scrollEvent},i=(0,n.ref)(null);return t.expose({scrollTo:function(e){var t=e.left,o=void 0===t?0:t,r=e.top,n=void 0===r?0:r;i.value.scrollTo(o,n)}}),{rendAsTag:function(){var a,u,c,p,f,d,v,y,h,m,g,b;return(0,n.h)(o,{class:e.className,ref:i},[null!==(c=null===(u=(a=t.slots).beforeContent)||void 0===u?void 0:u.call(a))&&void 0!==c?c:"",(0,n.withDirectives)((0,n.h)(r,{class:e.contentClassName,style:e.contentStyle},[null!==(d=null===(f=(p=t.slots).default)||void 0===f?void 0:f.call(p,{data:e.list}))&&void 0!==d?d:""]),[[l,s]]),null!==(h=null===(y=(v=t.slots).afterContent)||void 0===y?void 0:y.call(v))&&void 0!==h?h:"",null!==(b=null===(g=(m=t.slots).afterSection)||void 0===g?void 0:g.call(m))&&void 0!==b?b:""])}}}(t,l);return c.rendAsTag}var p=(0,n.ref)(null),d=(0,n.reactive)({startIndex:0,endIndex:0,scrollTop:1,scrollLeft:0,translateY:0,translateX:0,count:0,pos:{},groupItemCount:t.groupItemCount}),v=function(e,t,o,r,n,s,i){d.startIndex=t,d.endIndex=o,d.scrollTop=r,d.translateY=n,d.translateX=s,d.scrollLeft=s,d.pos=i,l.emit("content-scroll",[e,d])};(0,n.onMounted)((function(){(0,n.nextTick)((function(){g(t.list),b()}))})),(0,n.watch)((function(){return t.list}),(function(){var e;e={left:d.scrollLeft,top:d.scrollTop},y(),b(),t.keepAlive&&A(e)}),{deep:!0}),(0,n.watch)((function(){return t.lineHeight}),(function(){y(),b()}));var y=function(){g(t.list)},h=(0,n.ref)(0),m=(0,n.ref)(0),g=function(e){if(h.value=Math.ceil((e||[]).length/t.groupItemCount),d.count=h.value,d.startIndex=0,d.endIndex=0,d.translateY=0,d.scrollTop=0,"string"==typeof t.abosuteHeight&&"auto"===t.abosuteHeight)if("function"==typeof t.lineHeight){m.value=0;for(var o=0,r=0;r<h.value;r++){var n=t.lineHeight.call(s,r,e.slice(r*t.groupItemCount,t.groupItemCount));o+="number"==typeof n?n:0}m.value=o}else m.value=t.lineHeight*h.value;else m.value=t.abosuteHeight},b=function(){var e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,top:0},r=null===(e=p.value)||void 0===e?void 0:e.parentNode;console.log("afterListDataReset pagination",d),f(t.lineHeight,v,d,r,null),o&&p.value&&A(o)},T=(0,n.computed)((function(){return void 0!==t.rowKey?t.list:(t.list||[]).map((function(e,t){return Object.assign(Object.assign({},e),{$index:t})}))})),P=(0,n.computed)((function(){return T.value.slice(d.startIndex*t.groupItemCount,(d.endIndex+t.preloadItemCount)*t.groupItemCount)})),x=(0,n.computed)((function(){return"content"===t.scrollPosition?{top:"".concat(d.scrollTop+t.scrollOffsetTop,"px"),transform:"translateY(-".concat(d.translateY,"px)")}:{}})),I=(0,n.computed)((function(){return Object.assign({height:"number"==typeof t.height?"".concat(t.height,"px"):t.height,width:"number"==typeof t.width?"".concat(t.width,"px"):t.width,display:"inline-block"},"container"===t.scrollPosition?x.value:{})})),C=(0,n.computed)((function(){var e="number"==typeof t.abosuteHeight&&0===t.abosuteHeight;return{height:"".concat(m.value<t.minHeight?t.minHeight:m.value,"px"),display:e?"none":"block"}})),H=(0,n.computed)((function(){return[(0,e.resolveClassName)("virtual-render"),t.scrollXName,t.scrollYName].concat(o(u(t.className)),["container"===t.scrollPosition?(0,e.resolveClassName)("virtual-content"):""])})),S=(0,n.computed)((function(){return["content"===t.scrollPosition?(0,e.resolveClassName)("virtual-content"):""].concat(o(u(t.contentClassName)))})),O=(0,n.resolveDirective)("bkVirtualRender"),j={lineHeight:t.lineHeight,handleScrollCallback:v,pagination:d,throttleDelay:t.throttleDelay},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{left:0,top:0},t=e.left,o=e.top;p.value.scrollTo(t,o)};return l.expose({reset:function(){y(),b()},scrollTo:A}),function(){var o,r,s,u,c,f,d,v,y,h,m,g;return(0,n.h)(i||"div",{ref:p,class:H.value,style:I.value},[null!==(s=null===(r=(o=l.slots).beforeContent)||void 0===r?void 0:r.call(o))&&void 0!==s?s:"",(0,n.withDirectives)((0,n.h)(a||"div",{class:S.value,style:Object.assign(Object.assign({},x.value),t.contentStyle)},[null!==(f=null===(c=(u=l.slots).default)||void 0===c?void 0:c.call(u,{data:P.value}))&&void 0!==f?f:""]),[[O,j]]),null!==(y=null===(v=(d=l.slots).afterContent)||void 0===v?void 0:v.call(d))&&void 0!==y?y:"",(0,n.h)("div",{class:[(0,e.resolveClassName)("virtual-section")],style:C.value}),null!==(g=null===(m=(h=l.slots).afterSection)||void 0===m?void 0:m.call(h))&&void 0!==g?g:""])}}}),m=(0,e.withInstall)(h)})(),s})()));
|
@@ -19,6 +19,16 @@ export declare const virtualRenderProps: {
|
|
19
19
|
} & {
|
20
20
|
default: boolean;
|
21
21
|
};
|
22
|
+
/**
|
23
|
+
* 是否启用内置的Scroll Listener
|
24
|
+
* 当启用虚拟滚动时(enabled = true),滚动监听为内置生效
|
25
|
+
* 只有当(enabled = false)时此配置项才生效
|
26
|
+
*/
|
27
|
+
scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
|
28
|
+
default: boolean;
|
29
|
+
} & {
|
30
|
+
default: boolean;
|
31
|
+
};
|
22
32
|
/**
|
23
33
|
* 每行数据高度
|
24
34
|
* 默认为数值类型,默认高度 30px
|
@@ -153,5 +163,19 @@ export declare const virtualRenderProps: {
|
|
153
163
|
} & {
|
154
164
|
default: number;
|
155
165
|
};
|
166
|
+
rowKey: import("vue-types").VueTypeValidableDef<string> & {
|
167
|
+
default: string;
|
168
|
+
} & {
|
169
|
+
default: string;
|
170
|
+
};
|
171
|
+
/**
|
172
|
+
* 数据改变时是否保持之前的状态
|
173
|
+
* 保持滚动条位置、当前渲染区间
|
174
|
+
*/
|
175
|
+
keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
|
176
|
+
default: boolean;
|
177
|
+
} & {
|
178
|
+
default: boolean;
|
179
|
+
};
|
156
180
|
};
|
157
181
|
export declare type VirtualRenderProps = Readonly<ExtractPropTypes<typeof virtualRenderProps>>;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { VirtualRenderProps } from './props';
|
2
|
+
declare const _default: (props: VirtualRenderProps, ctx: any) => {
|
3
|
+
rendAsTag: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
4
|
+
[key: string]: any;
|
5
|
+
}>;
|
6
|
+
};
|
7
|
+
export default _default;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
export declare function computedVirtualIndex(lineHeight: any, callback: any, pagination: any, el: any, event: any): void;
|
2
2
|
declare const _default: {
|
3
3
|
mounted(el: any, binding: any): void;
|
4
|
-
updated(el: any, binding: any): void;
|
5
4
|
unbind(el: any): void;
|
6
5
|
};
|
7
6
|
export default _default;
|
@@ -1,3 +1,20 @@
|
|
1
|
+
.bk-F-scroll-x {
|
2
|
+
overflow-x: auto;
|
3
|
+
scrollbar-color: #a0a0a0 transparent;
|
4
|
+
scrollbar-width: thin;
|
5
|
+
}
|
6
|
+
.bk-F-scroll-x::-webkit-scrollbar {
|
7
|
+
height: 6px;
|
8
|
+
}
|
9
|
+
.bk-F-scroll-y {
|
10
|
+
overflow-y: auto;
|
11
|
+
}
|
12
|
+
.bk-F-scroll-y::-webkit-scrollbar {
|
13
|
+
width: 4px;
|
14
|
+
}
|
15
|
+
.bk-F-scroll-y::-webkit-scrollbar-thumb {
|
16
|
+
border-radius: 4px;
|
17
|
+
}
|
1
18
|
.bk-virtual-render {
|
2
19
|
position: relative;
|
3
20
|
}
|
@@ -14,20 +31,3 @@
|
|
14
31
|
width: 1px;
|
15
32
|
background: transparent;
|
16
33
|
}
|
17
|
-
.bk-virtual-render.bk-scroll-x {
|
18
|
-
overflow-x: auto;
|
19
|
-
scrollbar-color: #a0a0a0 transparent;
|
20
|
-
scrollbar-width: thin;
|
21
|
-
}
|
22
|
-
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar {
|
23
|
-
height: 6px;
|
24
|
-
}
|
25
|
-
.bk-virtual-render.bk-scroll-y {
|
26
|
-
overflow-y: auto;
|
27
|
-
}
|
28
|
-
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar {
|
29
|
-
width: 4px;
|
30
|
-
}
|
31
|
-
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar-thumb {
|
32
|
-
border-radius: 4px;
|
33
|
-
}
|
@@ -10,6 +10,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
} & {
|
11
11
|
default: boolean;
|
12
12
|
};
|
13
|
+
scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
|
14
|
+
default: boolean;
|
15
|
+
} & {
|
16
|
+
default: boolean;
|
17
|
+
};
|
13
18
|
lineHeight: import("vue-types").VueTypeDef<any> & {
|
14
19
|
default: any;
|
15
20
|
};
|
@@ -105,6 +110,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
105
110
|
} & {
|
106
111
|
default: number;
|
107
112
|
};
|
113
|
+
rowKey: import("vue-types").VueTypeValidableDef<string> & {
|
114
|
+
default: string;
|
115
|
+
} & {
|
116
|
+
default: string;
|
117
|
+
};
|
118
|
+
keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
|
119
|
+
default: boolean;
|
120
|
+
} & {
|
121
|
+
default: boolean;
|
122
|
+
};
|
108
123
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
109
124
|
[key: string]: any;
|
110
125
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "content-scroll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
@@ -119,6 +134,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
119
134
|
} & {
|
120
135
|
default: boolean;
|
121
136
|
};
|
137
|
+
scrollEvent: import("vue-types").VueTypeValidableDef<boolean> & {
|
138
|
+
default: boolean;
|
139
|
+
} & {
|
140
|
+
default: boolean;
|
141
|
+
};
|
122
142
|
lineHeight: import("vue-types").VueTypeDef<any> & {
|
123
143
|
default: any;
|
124
144
|
};
|
@@ -214,13 +234,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
214
234
|
} & {
|
215
235
|
default: number;
|
216
236
|
};
|
237
|
+
rowKey: import("vue-types").VueTypeValidableDef<string> & {
|
238
|
+
default: string;
|
239
|
+
} & {
|
240
|
+
default: string;
|
241
|
+
};
|
242
|
+
keepAlive: import("vue-types").VueTypeValidableDef<boolean> & {
|
243
|
+
default: boolean;
|
244
|
+
} & {
|
245
|
+
default: boolean;
|
246
|
+
};
|
217
247
|
}>>, {
|
218
248
|
width: string | number;
|
219
249
|
height: string | number;
|
220
|
-
list: unknown[];
|
221
250
|
enabled: boolean;
|
251
|
+
list: unknown[];
|
222
252
|
lineHeight: any;
|
223
253
|
minHeight: number;
|
254
|
+
scrollEvent: boolean;
|
224
255
|
className: string | {
|
225
256
|
[key: string]: any;
|
226
257
|
};
|
@@ -240,5 +271,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
240
271
|
scrollPosition: string;
|
241
272
|
abosuteHeight: string | number;
|
242
273
|
throttleDelay: number;
|
274
|
+
rowKey: string;
|
275
|
+
keepAlive: boolean;
|
243
276
|
}>;
|
244
277
|
export default _default;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
@import '../styles/mixins/scroll.less';
|
1
3
|
|
2
4
|
.bk-virtual-render {
|
3
5
|
position: relative;
|
@@ -16,28 +18,5 @@
|
|
16
18
|
width: 1px;
|
17
19
|
background: transparent;
|
18
20
|
}
|
19
|
-
|
20
|
-
|
21
|
-
&.bk-scroll-x {
|
22
|
-
overflow-x: auto;
|
23
|
-
scrollbar-color: #a0a0a0 transparent;
|
24
|
-
scrollbar-width: thin;
|
25
|
-
|
26
|
-
&::-webkit-scrollbar {
|
27
|
-
height: 6px;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
&.bk-scroll-y {
|
32
|
-
overflow-y: auto;
|
33
|
-
|
34
|
-
&::-webkit-scrollbar {
|
35
|
-
width: 4px;
|
36
|
-
}
|
37
|
-
|
38
|
-
&::-webkit-scrollbar-thumb {
|
39
|
-
border-radius: 4px;
|
40
|
-
}
|
41
|
-
}
|
42
21
|
}
|
43
22
|
|
@@ -1,3 +1,142 @@
|
|
1
|
+
:root {
|
2
|
+
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
4
|
+
--primary-color: #3a84ff;
|
5
|
+
--success-color: #2dcb56;
|
6
|
+
--warning-color: #ff9c01;
|
7
|
+
--danger-color: #ea3636;
|
8
|
+
--default-color: #63656e;
|
9
|
+
--gray-color: #979ba5;
|
10
|
+
--light-gray: #c4c6cc;
|
11
|
+
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
13
|
+
--disable-color: #dcdee5;
|
14
|
+
--font-size-base: 12px;
|
15
|
+
--font-size-medium: 14px;
|
16
|
+
--font-size-large: 16px;
|
17
|
+
--line-height-base: 16px;
|
18
|
+
--line-height-medium: 16px;
|
19
|
+
--line-height-large: 18px;
|
20
|
+
--component-size-small: 26px;
|
21
|
+
--component-size-base: 32px;
|
22
|
+
--component-size-large: 40px;
|
23
|
+
--border-width-base: 1px;
|
24
|
+
--border-style-base: solid;
|
25
|
+
--border-radius-base: 2px;
|
26
|
+
--border-style-color: var(--light-gray);
|
27
|
+
--input-disabled-bg: #fafbfd;
|
28
|
+
--input-disabled-border: var(--disable-color);
|
29
|
+
--input-height-base: var(--component-size-base);
|
30
|
+
--input-color: var(--default-color);
|
31
|
+
--input-bg: white;
|
32
|
+
--input-border-color: var(--light-gray);
|
33
|
+
--input-broder-radius: 3px;
|
34
|
+
--input-shadow-color: #a3c5fd;
|
35
|
+
--input-horizontal-padding: 10px;
|
36
|
+
--input-block-color: #f5f7fa;
|
37
|
+
--input-block-hover-color: #eaebf0;
|
38
|
+
--input-icon-size: var(--font-size-medium);
|
39
|
+
--input-maxlength-color: #979ba5;
|
40
|
+
--button-primary-hover-color: #5594fa;
|
41
|
+
--button-danger-hover-color: #ff5656;
|
42
|
+
--button-success-hover-color: #45e35f;
|
43
|
+
--button-warning-hover-color: #ffb848;
|
44
|
+
--button-default-hover-border-color: #979ba5;
|
45
|
+
--button-primary-active-color: #2c77f4;
|
46
|
+
--button-danger-active-color: #db2626;
|
47
|
+
--button-success-active-color: #1ab943;
|
48
|
+
--button-warning-active-color: #eb9000;
|
49
|
+
--button-selected-bg-color: #e1ecff;
|
50
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
51
|
+
--radio-font-color: #63656e;
|
52
|
+
--radio-active-color: #5594fa;
|
53
|
+
--radio-hover-border-color: #979ba5;
|
54
|
+
--radio-disabled-border: #dcdee5;
|
55
|
+
--radio-disabled-font-color: #c4c6cc;
|
56
|
+
--radio-disabled-checked-bg: #a3c5fd;
|
57
|
+
--radio-button-checked-bg: #e1ecff;
|
58
|
+
--radio-button-disabled-checked-bg: #fafbfd;
|
59
|
+
--checkbox-disabled-checked-bg: #a3c5fd;
|
60
|
+
--fixed-navbar-background: #fff;
|
61
|
+
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
62
|
+
--switch-default-color: #fff;
|
63
|
+
--switch-grey-color: #c4c6cc;
|
64
|
+
--breadcrumb-black-color: #979ba5;
|
65
|
+
--breadcrumb-primary-hover-color: #0082ff;
|
66
|
+
--breadcrumb-fn-main-color: #63656e;
|
67
|
+
--link-default-hover-color: #979ba5;
|
68
|
+
--link-primary-hover-color: #699df4;
|
69
|
+
--link-success-hover-color: #45e35f;
|
70
|
+
--link-warning-hover-color: #ffb848;
|
71
|
+
--link-danger-hover-color: #ff5656;
|
72
|
+
--link-default-disabled-color: #dcdee5;
|
73
|
+
--link-primary-disabled-color: #a3c5fd;
|
74
|
+
--link-success-disabled-color: #94f5a4;
|
75
|
+
--link-warning-disabled-color: #ffd695;
|
76
|
+
--link-danger-disabled-color: #fd9c9c;
|
77
|
+
--message-color: var(--default-color);
|
78
|
+
--message-primary-bg-color: #f0f8ff;
|
79
|
+
--message-primary-border-color: #e1ecff;
|
80
|
+
--message-primary-shadow-color: #e1e8f4;
|
81
|
+
--message-warning-bg-color: #fff4e2;
|
82
|
+
--message-warning-border-color: #ffe8c3;
|
83
|
+
--message-warning-shadow-color: #ede6db;
|
84
|
+
--message-success-bg-color: #f2fff4;
|
85
|
+
--message-success-border-color: #dcffe2;
|
86
|
+
--message-success-shadow-color: #cef0d7;
|
87
|
+
--message-danger-bg-color: #ffeded;
|
88
|
+
--message-danger-border-color: #ffdddd;
|
89
|
+
--message-danger-shadow-color: #f6dada;
|
90
|
+
--slider-default-bg: #dcdee5;
|
91
|
+
--slider-disable-bar-bg: #979ba5;
|
92
|
+
--menu-bg-color: #182132;
|
93
|
+
--submenu-bg-color: #151d2c;
|
94
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
95
|
+
--menu-color: #96a2b9;
|
96
|
+
--menu-group-color: var(--default-color);
|
97
|
+
--menu-width: 260px;
|
98
|
+
--menu-collapse-width: 60px;
|
99
|
+
--menu-active-color: white;
|
100
|
+
--nav-header-bg-color: #182132;
|
101
|
+
--nav-bg-color: #182132;
|
102
|
+
--date-picker-disabled-bg: #fafbfd;
|
103
|
+
--date-picker-dropdown-mb: 4px;
|
104
|
+
--date-picker-dropdown-bg: #fff;
|
105
|
+
--table-bg-color: var(--white-color);
|
106
|
+
--table-border-color: #dcdee5;
|
107
|
+
--table-head-bg-color: #fafbfd;
|
108
|
+
--table-head-font-color: #313238;
|
109
|
+
--table-body-font-color: #63656E;
|
110
|
+
--table-row-hover-bg-color: #f5f7fa;
|
111
|
+
--table-row-active-bg-color: #f0f1f5;
|
112
|
+
--cascader-panel-border-color: #dcdee5;
|
113
|
+
--cascader-panel-hover: #f5f7fa;
|
114
|
+
--cascader-panel-active: #e1ecff;
|
115
|
+
--cascader-panel-disabled-bg: #fff;
|
116
|
+
--search-select-focus-border-color: var(--primary-color);
|
117
|
+
--search-select-focus-color: #3c96ff;
|
118
|
+
--search-select-font-color: var(--default-color);
|
119
|
+
--search-select-placeholder-color: var(--light-gray);
|
120
|
+
--search-select-message-color: var(--danger-color);
|
121
|
+
--search-select-menu-border-color: var(--disable-color);
|
122
|
+
}
|
123
|
+
.bk-F-scroll-x {
|
124
|
+
overflow-x: auto;
|
125
|
+
scrollbar-color: #a0a0a0 transparent;
|
126
|
+
scrollbar-width: thin;
|
127
|
+
}
|
128
|
+
.bk-F-scroll-x::-webkit-scrollbar {
|
129
|
+
height: 6px;
|
130
|
+
}
|
131
|
+
.bk-F-scroll-y {
|
132
|
+
overflow-y: auto;
|
133
|
+
}
|
134
|
+
.bk-F-scroll-y::-webkit-scrollbar {
|
135
|
+
width: 4px;
|
136
|
+
}
|
137
|
+
.bk-F-scroll-y::-webkit-scrollbar-thumb {
|
138
|
+
border-radius: 4px;
|
139
|
+
}
|
1
140
|
.bk-virtual-render {
|
2
141
|
position: relative;
|
3
142
|
}
|
@@ -14,20 +153,3 @@
|
|
14
153
|
width: 1px;
|
15
154
|
background: transparent;
|
16
155
|
}
|
17
|
-
.bk-virtual-render.bk-scroll-x {
|
18
|
-
overflow-x: auto;
|
19
|
-
scrollbar-color: #a0a0a0 transparent;
|
20
|
-
scrollbar-width: thin;
|
21
|
-
}
|
22
|
-
.bk-virtual-render.bk-scroll-x::-webkit-scrollbar {
|
23
|
-
height: 6px;
|
24
|
-
}
|
25
|
-
.bk-virtual-render.bk-scroll-y {
|
26
|
-
overflow-y: auto;
|
27
|
-
}
|
28
|
-
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar {
|
29
|
-
width: 4px;
|
30
|
-
}
|
31
|
-
.bk-virtual-render.bk-scroll-y::-webkit-scrollbar-thumb {
|
32
|
-
border-radius: 4px;
|
33
|
-
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
/*
|
2
|
+
* Tencent is pleased to support the open source community by making
|
3
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
|
+
*
|
5
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
6
|
+
*
|
7
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
|
+
*
|
9
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
10
|
+
*
|
11
|
+
* ---------------------------------------------------
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
13
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
14
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
15
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16
|
+
*
|
17
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
18
|
+
* the Software.
|
19
|
+
*
|
20
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
21
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
23
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
|
+
* IN THE SOFTWARE.
|
25
|
+
*/
|
26
|
+
declare module '@vue/runtime-core' {
|
27
|
+
interface GlobalComponents {
|
28
|
+
BkBreadcrumbItem: typeof import('./breadcrumb/breadcrumb-item').default;
|
29
|
+
BkButtonGroup: typeof import('./button/button-group').default;
|
30
|
+
BkCascaderPanel: typeof import('./cascader/cascader-panel').default;
|
31
|
+
BkCheckboxGroup: typeof import('./checkbox/checkbox-group').default;
|
32
|
+
BkRow: typeof import('./container/row').default;
|
33
|
+
BkCol: typeof import('./container/col').default;
|
34
|
+
BkDropdownMenu: typeof import('./dropdown/dropdown-menu').default;
|
35
|
+
BkDropdownItem: typeof import('./dropdown/dropdown-item').default;
|
36
|
+
BkFormItem: typeof import('./form/form-item').default;
|
37
|
+
BkComposeFormItem: typeof import('./form/compose-form-item').default;
|
38
|
+
BkMenuItem: typeof import('./menu/menu-item').default;
|
39
|
+
BkSubmenu: typeof import('./menu/submenu').default;
|
40
|
+
BkMenuGroup: typeof import('./menu/menu-group').default;
|
41
|
+
BkRadioGroup: typeof import('./radio/radio-group').default;
|
42
|
+
BkRadioButton: typeof import('./radio/radio-button').default;
|
43
|
+
BkOption: typeof import('./select/option').default;
|
44
|
+
BkOptionGroup: typeof import('./select/optionGroup').default;
|
45
|
+
BkTabPanel: typeof import('./tab/tab-panel').default;
|
46
|
+
BkAlert: typeof import('./alert/alert').default;
|
47
|
+
BkAnimateNumber: typeof import('./animate-number/animate-number').default;
|
48
|
+
BkAffix: typeof import('./affix/affix').default;
|
49
|
+
BkBacktop: typeof import('./backtop/backtop').default;
|
50
|
+
BkBadge: typeof import('./badge/badge').default;
|
51
|
+
BkBreadcrumb: typeof import('./breadcrumb/breadcrumb').default;
|
52
|
+
BkButton: typeof import('./button/button').default;
|
53
|
+
BkCard: typeof import('./card/card').default;
|
54
|
+
BkCheckbox: typeof import('./checkbox/checkbox').default;
|
55
|
+
BkCollapse: typeof import('./collapse/collapse').default;
|
56
|
+
BkDialog: typeof import('./dialog/dialog').default;
|
57
|
+
BkException: typeof import('./exception/exception').default;
|
58
|
+
BkFixedNavbar: typeof import('./fixed-navbar/fixed-navbar').default;
|
59
|
+
BkInput: typeof import('./input/input').default;
|
60
|
+
BkLink: typeof import('./link/link').default;
|
61
|
+
BkLoading: typeof import('./loading/loading').default;
|
62
|
+
BkModal: typeof import('./modal/modal').default;
|
63
|
+
BkPopover: typeof import('./popover/popover').default;
|
64
|
+
BkPopover2: typeof import('./popover/popover').default;
|
65
|
+
BkProgress: typeof import('./progress/progress').default;
|
66
|
+
BkRadio: typeof import('./radio/radio').default;
|
67
|
+
BkRate: typeof import('./rate/rate').default;
|
68
|
+
BkSwiper: typeof import('./swiper/swiper').default;
|
69
|
+
BkSelect: typeof import('./select/select').default;
|
70
|
+
BkSideslider: typeof import('./sideslider/sideslider').default;
|
71
|
+
BkSteps: typeof import('./steps/steps').default;
|
72
|
+
BkSwitcher: typeof import('./switcher/switcher').default;
|
73
|
+
BkTable: typeof import('./table/table').default;
|
74
|
+
BkTag: typeof import('./tag/tag').default;
|
75
|
+
BkTagInput: typeof import('./tag-input/tag-input').default;
|
76
|
+
BkDivider: typeof import('./divider/divider').default;
|
77
|
+
BkTab: typeof import('./tab/tab').default;
|
78
|
+
BkMessage: typeof import('./message/messageConstructor').default;
|
79
|
+
BkNotify: typeof import('./notify/notifyConstructor').default;
|
80
|
+
BkMenu: typeof import('./menu/menu').default;
|
81
|
+
BkNavigation: typeof import('./navigation/navigation').default;
|
82
|
+
BkDatePicker: typeof import('./date-picker/date-picker').default;
|
83
|
+
BkTransfer: typeof import('./transfer/transfer').default;
|
84
|
+
BkTree: typeof import('./tree/tree').default;
|
85
|
+
BkVirtualRender: typeof import('./virtual-render/virtual-render').default;
|
86
|
+
BkForm: typeof import('./form/form').default;
|
87
|
+
BkPagination: typeof import('./pagination/pagination').default;
|
88
|
+
BkContainer: typeof import('./container/container').default;
|
89
|
+
BkcontainerProps: typeof import('./container/container').default;
|
90
|
+
BkDropdown: typeof import('./dropdown/dropdown').default;
|
91
|
+
BkCascader: typeof import('./cascader/cascader').default;
|
92
|
+
BkSlider: typeof import('./slider/slider').default;
|
93
|
+
BkResizeLayout: typeof import('./resize-layout/resize-layout').default;
|
94
|
+
BkTimeLine: typeof import('./timeline/timeline').default;
|
95
|
+
BkProcess: typeof import('./process/process').default;
|
96
|
+
BkUpload: typeof import('./upload/upload').default;
|
97
|
+
BkCodeDiff: typeof import('./code-diff/code-diff').default;
|
98
|
+
BkSearchSelect: typeof import('./search-select/search-select').default;
|
99
|
+
BkConfigProvider: typeof import('./config-provider/config-provider').default;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
export {};
|