bkui-vue 0.0.1-beta.14 → 0.0.1-beta.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -19
- package/dist/index.cjs.js +171 -0
- package/dist/index.esm.js +31794 -0
- package/dist/index.umd.js +171 -0
- package/dist/style.css +1 -4190
- 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 +116 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +5 -3
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +35 -6
- package/lib/alert/index.d.ts +96 -60
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +48 -28
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +28 -14
- package/lib/backtop/backtop.variable.css +30 -3
- package/lib/backtop/index.d.ts +111 -55
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +64 -22
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +35 -8
- package/lib/badge/index.d.ts +202 -84
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +61 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +91 -4
- package/lib/breadcrumb/index.d.ts +117 -45
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +92 -44
- package/lib/button/button.d.ts +76 -26
- package/lib/button/button.less +88 -46
- package/lib/button/button.variable.css +122 -47
- package/lib/button/index.d.ts +191 -102
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +126 -4
- package/lib/card/index.d.ts +225 -69
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +49 -0
- package/lib/cascader/cascader.css +137 -0
- package/lib/cascader/cascader.d.ts +281 -0
- package/lib/cascader/cascader.less +154 -0
- package/lib/cascader/cascader.variable.css +250 -0
- package/lib/cascader/index.d.ts +755 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +47 -0
- package/lib/cascader/node.d.ts +25 -0
- package/lib/cascader/store.d.ts +18 -0
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +33 -6
- package/lib/checkbox/checkbox.d.ts +43 -32
- package/lib/checkbox/checkbox.less +44 -6
- package/lib/checkbox/checkbox.variable.css +63 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +150 -104
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +3 -7
- package/lib/code-diff/code-diff.css +186 -0
- package/lib/code-diff/code-diff.d.ts +80 -0
- package/lib/code-diff/code-diff.less +238 -0
- package/lib/code-diff/code-diff.variable.css +299 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +17 -1
- package/lib/collapse/collapse.d.ts +51 -22
- package/lib/collapse/collapse.less +24 -2
- package/lib/collapse/collapse.variable.css +130 -1
- package/lib/collapse/index.d.ts +127 -75
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/components.d.ts +26 -5
- package/lib/components.js +1 -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 +204 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/date-picker.css +3 -2
- package/lib/date-picker/date-picker.d.ts +92 -137
- package/lib/date-picker/date-picker.less +5 -2
- package/lib/date-picker/date-picker.variable.css +33 -5
- package/lib/date-picker/index.d.ts +504 -276
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +1 -1
- package/lib/date-picker/props.d.ts +118 -0
- package/lib/date-picker/utils.d.ts +1 -1
- package/lib/dialog/dialog.css +76 -20
- package/lib/dialog/dialog.d.ts +285 -52
- package/lib/dialog/dialog.less +54 -21
- package/lib/dialog/dialog.variable.css +76 -20
- package/lib/dialog/index.d.ts +665 -115
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -23
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +21 -13
- package/lib/divider/divider.variable.css +30 -3
- package/lib/divider/index.d.ts +84 -52
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.css +4 -0
- package/lib/dropdown/dropdown.d.ts +28 -14
- package/lib/dropdown/dropdown.less +5 -0
- package/lib/dropdown/dropdown.variable.css +34 -3
- package/lib/dropdown/index.d.ts +109 -69
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +30 -3
- package/lib/exception/index.d.ts +44 -36
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +30 -3
- package/lib/fixed-navbar/index.d.ts +96 -37
- 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 +61 -45
- package/lib/form/form.css +96 -10
- package/lib/form/form.d.ts +45 -40
- package/lib/form/form.less +136 -34
- package/lib/form/form.variable.css +209 -10
- package/lib/form/index.d.ts +303 -3
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +8 -6
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.d.ts +4 -0
- package/lib/icon/angle-double-down-line.js +1 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +1 -0
- package/lib/icon/angle-double-left.js +1 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +1 -0
- package/lib/icon/angle-double-right.js +1 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +1 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +1 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.js +1 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +1 -0
- package/lib/icon/angle-up.js +1 -0
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +1 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +1 -0
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.js +1 -0
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.js +1 -0
- 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 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.js +1 -0
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +1 -0
- package/lib/icon/error.js +1 -0
- 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 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +34 -3
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.js +1 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.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.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.js +1 -0
- package/lib/icon/spinner.d.ts +4 -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/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.js +1 -0
- package/lib/icon/up-shape.d.ts +4 -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.d.ts +4 -0
- package/lib/icon/weixin.js +1 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +406 -199
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +232 -16
- package/lib/input/input.d.ts +171 -51
- package/lib/input/input.less +182 -19
- package/lib/input/input.variable.css +259 -15
- package/lib/link/index.d.ts +102 -54
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +30 -3
- package/lib/loading/index.d.ts +187 -71
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +177 -98
- package/lib/loading/loading.d.ts +109 -25
- package/lib/loading/loading.less +84 -73
- package/lib/loading/loading.variable.css +207 -101
- package/lib/menu/index.d.ts +82 -71
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +6 -5
- package/lib/menu/menu-item.d.ts +6 -5
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +16 -21
- package/lib/menu/menu.variable.css +81 -3
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +6 -5
- package/lib/menu/submenu.less +1 -1
- package/lib/menu/submenu.variable.css +33 -3
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +24 -3
- package/lib/message/message.less +27 -2
- package/lib/message/message.variable.css +54 -6
- package/lib/message/messageConstructor.d.ts +69 -21
- package/lib/modal/index.d.ts +517 -68
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +25 -1
- package/lib/modal/modal.d.ts +191 -24
- package/lib/modal/modal.less +33 -1
- package/lib/modal/modal.variable.css +25 -1
- package/lib/modal/props.mixin.d.ts +77 -10
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +10 -7
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +50 -24
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +31 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +24 -4
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +54 -7
- package/lib/notify/notifyConstructor.d.ts +84 -24
- package/lib/pagination/index.d.ts +395 -0
- package/lib/pagination/index.js +1 -0
- package/lib/pagination/pagination.css +179 -0
- package/lib/pagination/pagination.d.ts +220 -0
- package/lib/pagination/pagination.less +201 -0
- package/lib/pagination/pagination.variable.css +292 -0
- package/lib/pagination/type.d.ts +6 -0
- package/lib/pagination/use-limit.d.ts +8 -0
- package/lib/pagination/use-list.d.ts +8 -0
- package/lib/pagination/use-small-list.d.ts +5 -0
- package/lib/pagination/use-total.d.ts +5 -0
- package/lib/popover/index.d.ts +322 -137
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +26 -13
- package/lib/popover/popover.d.ts +122 -45
- package/lib/popover/popover.less +59 -45
- package/lib/popover/popover.variable.css +56 -16
- package/lib/popover/props.d.ts +104 -0
- package/lib/popover2/arrow.d.ts +2 -0
- package/lib/popover2/const.d.ts +10 -0
- package/lib/popover2/content.d.ts +24 -0
- package/lib/popover2/index.d.ts +495 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +209 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +138 -0
- package/lib/popover2/props.d.ts +108 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/root.d.ts +16 -0
- package/lib/popover2/use-floating.d.ts +20 -0
- package/lib/popover2/use-platform.d.ts +30 -0
- package/lib/popover2/use-popper-id.d.ts +7 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +123 -63
- package/lib/process/index.js +1 -15
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +31 -16
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +32 -6
- package/lib/progress/index.d.ts +305 -135
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -3
- package/lib/progress/progress.d.ts +89 -36
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +81 -6
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +145 -96
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +30 -23
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +62 -57
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +181 -172
- package/lib/radio/radio.variable.css +94 -62
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +52 -40
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +13 -10
- package/lib/rate/star.d.ts +33 -16
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +189 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +233 -0
- package/lib/resize-layout/resize-layout.variable.css +302 -0
- package/lib/select/common.d.ts +20 -22
- package/lib/select/index.d.ts +1061 -705
- package/lib/select/index.js +1 -15
- package/lib/select/option.d.ts +23 -19
- package/lib/select/optionGroup.d.ts +36 -97
- package/lib/select/select.css +238 -70
- package/lib/select/select.d.ts +376 -192
- package/lib/select/select.less +284 -130
- package/lib/select/select.variable.css +268 -73
- package/lib/select/selectTagInput.d.ts +72 -0
- package/lib/select/type.d.ts +38 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +26 -4
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +50 -5
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +18 -0
- package/lib/shared/vue-types.d.ts +11 -7
- package/lib/sideslider/index.d.ts +432 -80
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +54 -10
- package/lib/sideslider/sideslider.d.ts +185 -30
- package/lib/sideslider/sideslider.less +71 -13
- package/lib/sideslider/sideslider.variable.css +84 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -15
- package/lib/slider/slider-button.d.ts +15 -7
- package/lib/slider/slider.d.ts +84 -42
- package/lib/slider/slider.variable.css +30 -3
- package/lib/steps/index.d.ts +160 -108
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +17 -3
- package/lib/steps/steps.d.ts +40 -27
- package/lib/steps/steps.less +27 -3
- package/lib/steps/steps.variable.css +47 -6
- package/lib/styles/index.d.ts +13 -0
- 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/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +130 -0
- package/lib/styles/themes/themes.less +40 -3
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +201 -137
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +200 -135
- package/lib/switcher/switcher.d.ts +52 -36
- package/lib/switcher/switcher.less +190 -155
- package/lib/switcher/switcher.variable.css +230 -138
- package/lib/tab/index.d.ts +306 -282
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +102 -87
- package/lib/tab/tab-panel.d.ts +53 -26
- package/lib/tab/tab.css +25 -1
- package/lib/tab/tab.d.ts +59 -51
- package/lib/tab/tab.less +31 -19
- package/lib/tab/tab.variable.css +55 -4
- package/lib/table/const.d.ts +67 -0
- package/lib/table/index.d.ts +498 -70
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +88 -0
- package/lib/table/plugins/head-filter.variable.css +181 -0
- package/lib/table/plugins/head-sort.css +22 -0
- package/lib/table/plugins/head-sort.less +28 -0
- package/lib/table/plugins/head-sort.variable.css +135 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +242 -0
- package/lib/table/props.d.ts +210 -2
- package/lib/table/render.d.ts +76 -5
- package/lib/table/table.css +1094 -15
- package/lib/table/table.d.ts +221 -14
- package/lib/table/table.less +253 -24
- package/lib/table/table.variable.css +1125 -19
- package/lib/table/use-common.d.ts +72 -0
- package/lib/table/utils.d.ts +84 -2
- package/lib/tag/index.d.ts +165 -274
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +97 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +110 -2
- package/lib/tag/tag.variable.css +127 -3
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +894 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +47 -0
- package/lib/tag-input/tag-input.css +209 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +322 -0
- package/lib/tag-input/tag-props.d.ts +131 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/timeline/index.d.ts +129 -0
- package/lib/timeline/index.js +1 -0
- package/lib/timeline/timeline.css +235 -0
- package/lib/timeline/timeline.d.ts +81 -0
- package/lib/timeline/timeline.less +240 -0
- package/lib/timeline/timeline.variable.css +348 -0
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +365 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +139 -0
- package/lib/transfer/transfer.d.ts +160 -0
- package/lib/transfer/transfer.less +144 -0
- package/lib/transfer/transfer.variable.css +252 -0
- package/lib/tree/constant.d.ts +45 -0
- package/lib/tree/index.d.ts +469 -94
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +184 -0
- package/lib/tree/tree.css +176 -15
- package/lib/tree/tree.d.ts +201 -31
- package/lib/tree/tree.less +75 -38
- package/lib/tree/tree.variable.css +289 -15
- 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 +33 -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 +34 -57
- package/lib/upload/index.d.ts +580 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +113 -0
- package/lib/upload/upload-list.d.ts +46 -0
- package/lib/upload/upload-trigger.d.ts +54 -0
- package/lib/upload/upload.css +417 -0
- package/lib/upload/upload.d.ts +252 -0
- package/lib/upload/upload.less +455 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +530 -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 +579 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +167 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +6 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +255 -0
- package/lib/virtual-render/virtual-render.less +22 -0
- package/lib/virtual-render/virtual-render.variable.css +146 -0
- package/lib/volar.components.d.ts +100 -0
- package/package.json +107 -86
- package/dist/bkui-vue.cjs.js +0 -10327
- package/dist/bkui-vue.esm.js +0 -10283
- package/dist/bkui-vue.umd.js +0 -10330
- package/lib/form/common.d.ts +0 -3
- package/lib/styles/index.js +0 -1
@@ -5,13 +5,18 @@ declare const BkAnimateNumber: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
value: number;
|
7
7
|
digits: number;
|
8
|
-
}> & Omit<Readonly<{
|
9
|
-
value
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
8
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
9
|
+
value: import("vue-types").VueTypeValidableDef<number> & {
|
10
|
+
default: number;
|
11
|
+
} & {
|
12
|
+
default: number;
|
13
|
+
};
|
14
|
+
digits: import("vue-types").VueTypeValidableDef<number> & {
|
15
|
+
default: number;
|
16
|
+
} & {
|
17
|
+
default: number;
|
18
|
+
};
|
19
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "value" | "digits">;
|
15
20
|
$attrs: {
|
16
21
|
[x: string]: unknown;
|
17
22
|
};
|
@@ -25,13 +30,18 @@ declare const BkAnimateNumber: {
|
|
25
30
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
26
31
|
$emit: (event: string, ...args: any[]) => void;
|
27
32
|
$el: any;
|
28
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
29
|
-
value
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
33
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
34
|
+
value: import("vue-types").VueTypeValidableDef<number> & {
|
35
|
+
default: number;
|
36
|
+
} & {
|
37
|
+
default: number;
|
38
|
+
};
|
39
|
+
digits: import("vue-types").VueTypeValidableDef<number> & {
|
40
|
+
default: number;
|
41
|
+
} & {
|
42
|
+
default: number;
|
43
|
+
};
|
44
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
35
45
|
value: number;
|
36
46
|
digits: number;
|
37
47
|
}> & {
|
@@ -54,23 +64,33 @@ declare const BkAnimateNumber: {
|
|
54
64
|
$forceUpdate: () => void;
|
55
65
|
$nextTick: typeof import("vue").nextTick;
|
56
66
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
57
|
-
} & Readonly<{
|
58
|
-
value
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
67
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
68
|
+
value: import("vue-types").VueTypeValidableDef<number> & {
|
69
|
+
default: number;
|
70
|
+
} & {
|
71
|
+
default: number;
|
72
|
+
};
|
73
|
+
digits: import("vue-types").VueTypeValidableDef<number> & {
|
74
|
+
default: number;
|
75
|
+
} & {
|
76
|
+
default: number;
|
77
|
+
};
|
78
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
64
79
|
__isFragment?: never;
|
65
80
|
__isTeleport?: never;
|
66
81
|
__isSuspense?: never;
|
67
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
68
|
-
value
|
69
|
-
|
70
|
-
} & {
|
71
|
-
|
72
|
-
|
73
|
-
|
82
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
83
|
+
value: import("vue-types").VueTypeValidableDef<number> & {
|
84
|
+
default: number;
|
85
|
+
} & {
|
86
|
+
default: number;
|
87
|
+
};
|
88
|
+
digits: import("vue-types").VueTypeValidableDef<number> & {
|
89
|
+
default: number;
|
90
|
+
} & {
|
91
|
+
default: number;
|
92
|
+
};
|
93
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
74
94
|
value: number;
|
75
95
|
digits: number;
|
76
96
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
@@ -1 +1 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},748:e=>{e.exports=t}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var u=o[e]={exports:{}};return r[e](u,u.exports,n),u.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{n.r(u),n.d(u,{default:()=>o});var e=n(4212),t=n(748);const r=(0,t.defineComponent)({name:"AnimateNumber",props:{value:e.PropTypes.number.def(0),digits:e.PropTypes.number.def(0)},setup:function(e){var r=-1,o=(0,t.ref)(0),n=(0,t.computed)((function(){return Number(o.value).toFixed(e.digits)})),u=function(t,n){if(Number.isNaN(+n))return 0;var u=Math.abs(n-t),i=n-t>0?1:-1,a=Math.ceil(u/30*Math.pow(10,e.digits))/Math.pow(10,e.digits),f=25/Math.ceil(u/a),s=1;!function e(){if(s<f)return r=requestAnimationFrame(e),void(s+=1);o.value+=a*i,(1===i?o.value<n:o.value>n)?(r=requestAnimationFrame(e),s=1):o.value=n}()};return(0,t.watch)((function(){return e.value}),(function(e,t){u(t,e)})),(0,t.onMounted)((function(){u(0,e.value)})),(0,t.onBeforeUnmount)((function(){cancelAnimationFrame(r)})),function(){return(0,t.createVNode)("span",null,[n.value])}}}),o=(0,e.withInstall)(r)})(),u})()));
|
package/lib/backtop/backtop.d.ts
CHANGED
@@ -24,23 +24,37 @@ declare const _default: import("vue").DefineComponent<{
|
|
24
24
|
} & {
|
25
25
|
default: string;
|
26
26
|
};
|
27
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
28
|
-
visibilityHeight
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
27
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
28
|
+
visibilityHeight: import("vue-types").VueTypeValidableDef<number> & {
|
29
|
+
default: number;
|
30
|
+
} & {
|
31
|
+
default: number;
|
32
|
+
};
|
33
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
34
|
+
default: string;
|
35
|
+
} & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
right: import("vue-types").VueTypeValidableDef<number> & {
|
39
|
+
default: number;
|
40
|
+
} & {
|
41
|
+
default: number;
|
42
|
+
};
|
43
|
+
bottom: import("vue-types").VueTypeValidableDef<number> & {
|
44
|
+
default: number;
|
45
|
+
} & {
|
46
|
+
default: number;
|
47
|
+
};
|
48
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
49
|
+
default: string;
|
50
|
+
} & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
}>>, {
|
34
54
|
bottom: number;
|
35
55
|
right: number;
|
36
|
-
visibilityHeight: number;
|
37
|
-
target: string;
|
38
56
|
extCls: string;
|
39
|
-
} & {}> & {}, {
|
40
|
-
bottom: number;
|
41
|
-
right: number;
|
42
|
-
visibilityHeight: number;
|
43
57
|
target: string;
|
44
|
-
|
58
|
+
visibilityHeight: number;
|
45
59
|
}>;
|
46
60
|
export default _default;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
:root {
|
2
2
|
--bk-prefix: bk;
|
3
|
+
--popover-max-height: 216px;
|
3
4
|
--primary-color: #3a84ff;
|
4
5
|
--success-color: #2dcb56;
|
5
6
|
--warning-color: #ff9c01;
|
@@ -8,6 +9,7 @@
|
|
8
9
|
--gray-color: #979ba5;
|
9
10
|
--light-gray: #c4c6cc;
|
10
11
|
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
11
13
|
--disable-color: #dcdee5;
|
12
14
|
--font-size-base: 12px;
|
13
15
|
--font-size-medium: 14px;
|
@@ -17,7 +19,7 @@
|
|
17
19
|
--line-height-large: 18px;
|
18
20
|
--component-size-small: 26px;
|
19
21
|
--component-size-base: 32px;
|
20
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
21
23
|
--border-width-base: 1px;
|
22
24
|
--border-style-base: solid;
|
23
25
|
--border-radius-base: 2px;
|
@@ -30,8 +32,9 @@
|
|
30
32
|
--input-broder-radius: 3px;
|
31
33
|
--input-shadow-color: #a3c5fd;
|
32
34
|
--input-horizontal-padding: 10px;
|
33
|
-
--input-block-color: #
|
34
|
-
--input-
|
35
|
+
--input-block-color: #f5f7fa;
|
36
|
+
--input-block-hover-color: #eaebf0;
|
37
|
+
--input-icon-size: var(--font-size-medium);
|
35
38
|
--input-maxlength-color: #979ba5;
|
36
39
|
--button-primary-hover-color: #5594fa;
|
37
40
|
--button-danger-hover-color: #ff5656;
|
@@ -42,6 +45,15 @@
|
|
42
45
|
--button-danger-active-color: #db2626;
|
43
46
|
--button-success-active-color: #1ab943;
|
44
47
|
--button-warning-active-color: #eb9000;
|
48
|
+
--button-selected-bg-color: #e1ecff;
|
49
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
50
|
+
--radio-font-color: #63656e;
|
51
|
+
--radio-active-color: #5594fa;
|
52
|
+
--radio-hover-border-color: #979ba5;
|
53
|
+
--radio-disabled-border: #dcdee5;
|
54
|
+
--radio-disabled-font-color: #c4c6c;
|
55
|
+
--radio-distable-checked-bg: #fafbfd;
|
56
|
+
--radio-button-checked-bg: #e1ecff;
|
45
57
|
--fixed-navbar-background: #fff;
|
46
58
|
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
47
59
|
--switch-default-color: #fff;
|
@@ -62,12 +74,16 @@
|
|
62
74
|
--message-color: var(--default-color);
|
63
75
|
--message-primary-bg-color: #f0f8ff;
|
64
76
|
--message-primary-border-color: #e1ecff;
|
77
|
+
--message-primary-shadow-color: #e1e8f4;
|
65
78
|
--message-warning-bg-color: #fff4e2;
|
66
79
|
--message-warning-border-color: #ffe8c3;
|
80
|
+
--message-warning-shadow-color: #ede6db;
|
67
81
|
--message-success-bg-color: #f2fff4;
|
68
82
|
--message-success-border-color: #dcffe2;
|
83
|
+
--message-success-shadow-color: #cef0d7;
|
69
84
|
--message-danger-bg-color: #ffeded;
|
70
85
|
--message-danger-border-color: #ffdddd;
|
86
|
+
--message-danger-shadow-color: #f6dada;
|
71
87
|
--slider-default-bg: #dcdee5;
|
72
88
|
--slider-disable-bar-bg: #979ba5;
|
73
89
|
--menu-bg-color: #182132;
|
@@ -83,6 +99,17 @@
|
|
83
99
|
--date-picker-disabled-bg: #fafbfd;
|
84
100
|
--date-picker-dropdown-mb: 4px;
|
85
101
|
--date-picker-dropdown-bg: #fff;
|
102
|
+
--table-bg-color: var(--white-color);
|
103
|
+
--table-border-color: #dcdee5;
|
104
|
+
--table-head-bg-color: #fafbfd;
|
105
|
+
--table-head-font-color: #313238;
|
106
|
+
--table-body-font-color: #575961;
|
107
|
+
--table-row-hover-bg-color: #f5f7fa;
|
108
|
+
--table-row-active-bg-color: #f0f1f5;
|
109
|
+
--cascader-panel-border-color: #dcdee5;
|
110
|
+
--cascader-panel-hover: #eaf3ff;
|
111
|
+
--cascader-panel-active: #f4f6fa;
|
112
|
+
--cascader-panel-disabled-bg: #fff;
|
86
113
|
}
|
87
114
|
@keyframes loading-scale-animate {
|
88
115
|
0% {
|
package/lib/backtop/index.d.ts
CHANGED
@@ -5,22 +5,36 @@ declare const BkBacktop: {
|
|
5
5
|
$props: Partial<{
|
6
6
|
bottom: number;
|
7
7
|
right: number;
|
8
|
-
visibilityHeight: number;
|
9
|
-
target: string;
|
10
8
|
extCls: string;
|
11
|
-
}> & Omit<Readonly<{
|
12
|
-
visibilityHeight?: unknown;
|
13
|
-
target?: unknown;
|
14
|
-
right?: unknown;
|
15
|
-
bottom?: unknown;
|
16
|
-
extCls?: unknown;
|
17
|
-
} & {
|
18
|
-
bottom: number;
|
19
|
-
right: number;
|
20
|
-
visibilityHeight: number;
|
21
9
|
target: string;
|
22
|
-
|
23
|
-
}
|
10
|
+
visibilityHeight: number;
|
11
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
12
|
+
visibilityHeight: import("vue-types").VueTypeValidableDef<number> & {
|
13
|
+
default: number;
|
14
|
+
} & {
|
15
|
+
default: number;
|
16
|
+
};
|
17
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
18
|
+
default: string;
|
19
|
+
} & {
|
20
|
+
default: string;
|
21
|
+
};
|
22
|
+
right: import("vue-types").VueTypeValidableDef<number> & {
|
23
|
+
default: number;
|
24
|
+
} & {
|
25
|
+
default: number;
|
26
|
+
};
|
27
|
+
bottom: import("vue-types").VueTypeValidableDef<number> & {
|
28
|
+
default: number;
|
29
|
+
} & {
|
30
|
+
default: number;
|
31
|
+
};
|
32
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
33
|
+
default: string;
|
34
|
+
} & {
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "bottom" | "right" | "extCls" | "target" | "visibilityHeight">;
|
24
38
|
$attrs: {
|
25
39
|
[x: string]: unknown;
|
26
40
|
};
|
@@ -34,24 +48,38 @@ declare const BkBacktop: {
|
|
34
48
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
35
49
|
$emit: (event: string, ...args: any[]) => void;
|
36
50
|
$el: any;
|
37
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
38
|
-
visibilityHeight
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
51
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
52
|
+
visibilityHeight: import("vue-types").VueTypeValidableDef<number> & {
|
53
|
+
default: number;
|
54
|
+
} & {
|
55
|
+
default: number;
|
56
|
+
};
|
57
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
58
|
+
default: string;
|
59
|
+
} & {
|
60
|
+
default: string;
|
61
|
+
};
|
62
|
+
right: import("vue-types").VueTypeValidableDef<number> & {
|
63
|
+
default: number;
|
64
|
+
} & {
|
65
|
+
default: number;
|
66
|
+
};
|
67
|
+
bottom: import("vue-types").VueTypeValidableDef<number> & {
|
68
|
+
default: number;
|
69
|
+
} & {
|
70
|
+
default: number;
|
71
|
+
};
|
72
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
73
|
+
default: string;
|
74
|
+
} & {
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
44
78
|
bottom: number;
|
45
79
|
right: number;
|
46
|
-
visibilityHeight: number;
|
47
|
-
target: string;
|
48
80
|
extCls: string;
|
49
|
-
} & {}> & {}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
50
|
-
bottom: number;
|
51
|
-
right: number;
|
52
|
-
visibilityHeight: number;
|
53
81
|
target: string;
|
54
|
-
|
82
|
+
visibilityHeight: number;
|
55
83
|
}> & {
|
56
84
|
beforeCreate?: (() => void) | (() => void)[];
|
57
85
|
created?: (() => void) | (() => void)[];
|
@@ -72,39 +100,67 @@ declare const BkBacktop: {
|
|
72
100
|
$forceUpdate: () => void;
|
73
101
|
$nextTick: typeof import("vue").nextTick;
|
74
102
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
75
|
-
} & Readonly<{
|
76
|
-
visibilityHeight
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
103
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
104
|
+
visibilityHeight: import("vue-types").VueTypeValidableDef<number> & {
|
105
|
+
default: number;
|
106
|
+
} & {
|
107
|
+
default: number;
|
108
|
+
};
|
109
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
110
|
+
default: string;
|
111
|
+
} & {
|
112
|
+
default: string;
|
113
|
+
};
|
114
|
+
right: import("vue-types").VueTypeValidableDef<number> & {
|
115
|
+
default: number;
|
116
|
+
} & {
|
117
|
+
default: number;
|
118
|
+
};
|
119
|
+
bottom: import("vue-types").VueTypeValidableDef<number> & {
|
120
|
+
default: number;
|
121
|
+
} & {
|
122
|
+
default: number;
|
123
|
+
};
|
124
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
125
|
+
default: string;
|
126
|
+
} & {
|
127
|
+
default: string;
|
128
|
+
};
|
129
|
+
}>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
88
130
|
__isFragment?: never;
|
89
131
|
__isTeleport?: never;
|
90
132
|
__isSuspense?: never;
|
91
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
92
|
-
visibilityHeight
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
133
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
134
|
+
visibilityHeight: import("vue-types").VueTypeValidableDef<number> & {
|
135
|
+
default: number;
|
136
|
+
} & {
|
137
|
+
default: number;
|
138
|
+
};
|
139
|
+
target: import("vue-types").VueTypeValidableDef<string> & {
|
140
|
+
default: string;
|
141
|
+
} & {
|
142
|
+
default: string;
|
143
|
+
};
|
144
|
+
right: import("vue-types").VueTypeValidableDef<number> & {
|
145
|
+
default: number;
|
146
|
+
} & {
|
147
|
+
default: number;
|
148
|
+
};
|
149
|
+
bottom: import("vue-types").VueTypeValidableDef<number> & {
|
150
|
+
default: number;
|
151
|
+
} & {
|
152
|
+
default: number;
|
153
|
+
};
|
154
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
155
|
+
default: string;
|
156
|
+
} & {
|
157
|
+
default: string;
|
158
|
+
};
|
159
|
+
}>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
98
160
|
bottom: number;
|
99
161
|
right: number;
|
100
|
-
visibilityHeight: number;
|
101
|
-
target: string;
|
102
162
|
extCls: string;
|
103
|
-
} & {}> & {}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
104
|
-
bottom: number;
|
105
|
-
right: number;
|
106
|
-
visibilityHeight: number;
|
107
163
|
target: string;
|
108
|
-
|
164
|
+
visibilityHeight: number;
|
109
165
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
110
166
|
export default BkBacktop;
|
package/lib/backtop/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("lodash"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","lodash","../icon"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("lodash"),require("../icon")):t(e["../shared"],e.vue,e.lodash,e["../icon"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r)=>(()=>{"use strict";var n={6870:e=>{e.exports=r},4212:t=>{t.exports=e},467:e=>{e.exports=o},748:e=>{e.exports=t}},l={};function u(e){var t=l[e];if(void 0!==t)return t.exports;var o=l[e]={exports:{}};return n[e](o,o.exports,u),o.exports}u.d=(e,t)=>{for(var o in t)u.o(t,o)&&!u.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{u.r(a),u.d(a,{default:()=>l});var e=u(4212),t=u(748),o=u(467),r=u(6870);const n=(0,t.defineComponent)({name:"Backtop",props:{visibilityHeight:e.PropTypes.number.def(200),target:e.PropTypes.string.def(""),right:e.PropTypes.number.def(40),bottom:e.PropTypes.number.def(40),extCls:e.PropTypes.string.def("")},setup:function(n,l){var u=l.slots,a=(0,t.ref)(null),i=(0,t.ref)(null),s=(0,t.ref)(!1),d=(0,t.ref)(e.bkZIndexManager.getModalNextIndex()),c="".concat(n.bottom,"px"),f="".concat(n.right,"px"),p=(0,o.throttle)((function(){s.value=i.value.scrollTop>=n.visibilityHeight}),30),v=function(){i.value.scrollTo({top:0,behavior:"smooth"})};return(0,t.watch)((function(){return s}),(function(){d.value=e.bkZIndexManager.getModalNextIndex()})),(0,t.onMounted)((function(){if(a.value=document,i.value=document.documentElement,n.target){if(i.value=document.querySelector(n.target),!i.value)throw new Error("target does not exist");a.value=i.value}a.value.addEventListener("scroll",p)})),(0,t.onBeforeUnmount)((function(){a.value.removeEventListener("scroll",p)})),function(){var e,o;return(0,t.createVNode)(t.Transition,{name:"bk-fade"},{default:function(){return[s.value?(0,t.createVNode)("div",{class:"bk-backtop ".concat(n.extCls),style:{right:f,bottom:c,zIndex:d.value},onClick:v},[null!==(o=null===(e=u.default)||void 0===e?void 0:e.call(u))&&void 0!==o?o:(0,t.createVNode)(r.AngleUp,{style:{fontSize:"14px"}},null)]):""]}})}}}),l=(0,e.withInstall)(n)})(),a})()));
|
package/lib/badge/badge.css
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
.bk-badge-main .bk-badge {
|
6
6
|
position: relative;
|
7
7
|
display: inline-block;
|
8
|
-
height:
|
8
|
+
height: 18px;
|
9
9
|
padding: 1px 5px;
|
10
10
|
font-size: 12px;
|
11
|
-
line-height:
|
11
|
+
line-height: 12px;
|
12
12
|
text-align: center;
|
13
13
|
background-color: white;
|
14
14
|
border-radius: 18px;
|
@@ -107,9 +107,9 @@
|
|
107
107
|
border-color: white;
|
108
108
|
}
|
109
109
|
.bk-badge-main .bk-badge.dot {
|
110
|
-
width:
|
111
|
-
height:
|
112
|
-
min-width:
|
110
|
+
width: 8px;
|
111
|
+
height: 8px;
|
112
|
+
min-width: 8px;
|
113
113
|
padding: 0;
|
114
114
|
border: 1px solid white;
|
115
115
|
}
|
package/lib/badge/badge.d.ts
CHANGED
@@ -6,8 +6,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
default: string;
|
7
7
|
};
|
8
8
|
/** Number to show in badge */
|
9
|
-
count: import("vue-types").
|
10
|
-
default: number;
|
9
|
+
count: import("vue-types").VueTypeDef<string | number> & {
|
10
|
+
default: string | number;
|
11
11
|
};
|
12
12
|
position: import("vue-types").VueTypeValidableDef<string> & {
|
13
13
|
default: string;
|
@@ -19,6 +19,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
19
19
|
};
|
20
20
|
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
21
21
|
default: number;
|
22
|
+
} & {
|
23
|
+
default: number;
|
22
24
|
};
|
23
25
|
/** Show capped numeric value */
|
24
26
|
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
@@ -37,32 +39,72 @@ declare const _default: import("vue").DefineComponent<{
|
|
37
39
|
} & {
|
38
40
|
default: boolean;
|
39
41
|
};
|
42
|
+
/** 外部设置的 class name */
|
43
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
44
|
+
default: string;
|
45
|
+
};
|
40
46
|
}, {
|
41
47
|
numberCount: import("vue").ComputedRef<string | number>;
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
} & {
|
48
|
+
handleHover: () => void;
|
49
|
+
handleLeave: () => void;
|
50
|
+
radiusStyle: import("vue").ComputedRef<{
|
51
|
+
borderRadius: string;
|
52
|
+
}>;
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hover" | "leave")[], "hover" | "leave", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
54
|
+
/** badge theme */
|
55
|
+
theme: import("vue-types").VueTypeValidableDef<string> & {
|
56
|
+
default: string;
|
57
|
+
} & {
|
58
|
+
default: string;
|
59
|
+
};
|
60
|
+
/** Number to show in badge */
|
61
|
+
count: import("vue-types").VueTypeDef<string | number> & {
|
62
|
+
default: string | number;
|
63
|
+
};
|
64
|
+
position: import("vue-types").VueTypeValidableDef<string> & {
|
65
|
+
default: string;
|
66
|
+
} & {
|
67
|
+
default: string;
|
68
|
+
};
|
69
|
+
radius: import("vue-types").VueTypeValidableDef<string> & {
|
70
|
+
default: string;
|
71
|
+
};
|
72
|
+
valLength: import("vue-types").VueTypeValidableDef<number> & {
|
73
|
+
default: number;
|
74
|
+
} & {
|
75
|
+
default: number;
|
76
|
+
};
|
77
|
+
/** Show capped numeric value */
|
78
|
+
overflowCount: import("vue-types").VueTypeValidableDef<number> & {
|
79
|
+
default: number;
|
80
|
+
} & {
|
81
|
+
default: number;
|
82
|
+
};
|
83
|
+
/** Whether to show red dots with no content */
|
84
|
+
dot: import("vue-types").VueTypeValidableDef<boolean> & {
|
85
|
+
default: boolean;
|
86
|
+
} & {
|
87
|
+
default: boolean;
|
88
|
+
};
|
89
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
90
|
+
default: boolean;
|
91
|
+
} & {
|
92
|
+
default: boolean;
|
93
|
+
};
|
94
|
+
/** 外部设置的 class name */
|
95
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
96
|
+
default: string;
|
97
|
+
};
|
98
|
+
}>> & {
|
99
|
+
onHover?: (...args: any[]) => any;
|
100
|
+
onLeave?: (...args: any[]) => any;
|
101
|
+
}, {
|
52
102
|
theme: string;
|
53
|
-
|
54
|
-
dot: boolean;
|
55
|
-
count: number;
|
103
|
+
extCls: string;
|
56
104
|
position: string;
|
57
|
-
radius: string;
|
58
|
-
valLength: number;
|
59
|
-
overflowCount: number;
|
60
|
-
} & {}> & {}, {
|
61
|
-
theme: string;
|
62
105
|
visible: boolean;
|
63
106
|
dot: boolean;
|
64
|
-
count: number;
|
65
|
-
position: string;
|
107
|
+
count: string | number;
|
66
108
|
radius: string;
|
67
109
|
valLength: number;
|
68
110
|
overflowCount: number;
|
package/lib/badge/badge.less
CHANGED
@@ -18,11 +18,10 @@
|
|
18
18
|
.@{bk-prefix}-badge {
|
19
19
|
position: relative;
|
20
20
|
display: inline-block;
|
21
|
-
|
22
|
-
height: 16px;
|
21
|
+
height: 18px;
|
23
22
|
padding: 1px 5px;
|
24
23
|
font-size: 12px;
|
25
|
-
line-height:
|
24
|
+
line-height: 12px;
|
26
25
|
text-align: center;
|
27
26
|
background-color: @white-color;
|
28
27
|
border-radius: 18px;
|
@@ -121,9 +120,9 @@
|
|
121
120
|
}
|
122
121
|
|
123
122
|
&.dot {
|
124
|
-
width:
|
125
|
-
height:
|
126
|
-
min-width:
|
123
|
+
width: 8px;
|
124
|
+
height: 8px;
|
125
|
+
min-width: 8px;
|
127
126
|
padding: 0;
|
128
127
|
border: 1px solid @white-color;
|
129
128
|
}
|