bkui-vue 0.0.1-beta.13 → 0.0.1-beta.130
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 +31715 -0
- package/dist/index.umd.js +171 -0
- package/dist/style.css +1 -4051
- 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 +105 -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 +24 -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 +19 -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 +24 -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 +80 -4
- package/lib/breadcrumb/index.d.ts +118 -46
- 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 +89 -47
- package/lib/button/button.variable.css +111 -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 +115 -4
- package/lib/card/index.d.ts +225 -69
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +48 -0
- package/lib/cascader/cascader.css +130 -0
- package/lib/cascader/cascader.d.ts +271 -0
- package/lib/cascader/cascader.less +146 -0
- package/lib/cascader/cascader.variable.css +232 -0
- package/lib/cascader/index.d.ts +721 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +44 -0
- package/lib/cascader/node.d.ts +24 -0
- package/lib/cascader/store.d.ts +15 -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 +52 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +151 -105
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +4 -8
- 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 +288 -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 +119 -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 +193 -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 +22 -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 +68 -16
- package/lib/dialog/dialog.d.ts +285 -52
- package/lib/dialog/dialog.less +43 -17
- package/lib/dialog/dialog.variable.css +68 -16
- 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 +19 -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 +29 -15
- package/lib/dropdown/dropdown.less +5 -0
- package/lib/dropdown/dropdown.variable.css +23 -3
- package/lib/dropdown/index.d.ts +112 -72
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +19 -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 +19 -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 +198 -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 +1 -1
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +462 -196
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +232 -16
- package/lib/input/input.d.ts +182 -52
- package/lib/input/input.less +182 -19
- package/lib/input/input.variable.css +248 -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 +19 -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 +196 -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 +70 -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 +22 -3
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +16 -2
- package/lib/message/message.less +18 -1
- package/lib/message/message.variable.css +35 -5
- package/lib/message/messageConstructor.d.ts +68 -20
- 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 +20 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +17 -1
- package/lib/notify/notify.less +19 -1
- package/lib/notify/notify.variable.css +36 -4
- package/lib/notify/notifyConstructor.d.ts +83 -23
- 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 +281 -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 +45 -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 +127 -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.d.ts +2 -3
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +1 -0
- package/lib/process/process.css +138 -0
- package/lib/process/process.d.ts +131 -0
- package/lib/process/process.less +178 -0
- package/lib/process/process.variable.css +240 -0
- 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 +70 -6
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +147 -98
- 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 +12 -13
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +13 -14
- package/lib/radio/radio.variable.css +32 -17
- 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 +291 -0
- package/lib/select/common.d.ts +20 -22
- package/lib/select/index.d.ts +1062 -706
- 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 +226 -71
- package/lib/select/select.d.ts +376 -192
- package/lib/select/select.less +270 -130
- package/lib/select/select.variable.css +245 -74
- 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 +424 -80
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +48 -3
- package/lib/sideslider/sideslider.d.ts +181 -30
- package/lib/sideslider/sideslider.less +65 -6
- package/lib/sideslider/sideslider.variable.css +67 -6
- 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 +19 -3
- package/lib/steps/index.d.ts +162 -110
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +17 -3
- package/lib/steps/steps.d.ts +41 -28
- package/lib/steps/steps.less +27 -3
- package/lib/steps/steps.variable.css +36 -6
- package/lib/styles/index.d.ts +14 -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 +119 -0
- package/lib/styles/themes/themes.less +27 -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 +211 -153
- package/lib/switcher/switcher.variable.css +219 -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 +44 -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 +170 -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 +124 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +231 -0
- package/lib/table/props.d.ts +210 -2
- package/lib/table/render.d.ts +76 -5
- package/lib/table/table.css +1089 -15
- package/lib/table/table.d.ts +221 -14
- package/lib/table/table.less +251 -24
- package/lib/table/table.variable.css +1109 -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 +116 -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 +311 -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 +337 -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 +241 -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 +278 -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 +2 -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 +519 -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 +135 -0
- package/lib/volar.components.d.ts +29 -0
- package/package.json +107 -84
- package/dist/bkui-vue.cjs.js +0 -9999
- package/dist/bkui-vue.esm.js +0 -9958
- package/dist/bkui-vue.umd.js +0 -10002
- package/lib/form/common.d.ts +0 -3
- package/lib/styles/index.js +0 -1
@@ -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,8 @@
|
|
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;
|
45
50
|
--fixed-navbar-background: #fff;
|
46
51
|
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
47
52
|
--switch-default-color: #fff;
|
@@ -83,18 +88,26 @@
|
|
83
88
|
--date-picker-disabled-bg: #fafbfd;
|
84
89
|
--date-picker-dropdown-mb: 4px;
|
85
90
|
--date-picker-dropdown-bg: #fff;
|
91
|
+
--table-bg-color: var(--white-color);
|
92
|
+
--table-border-color: #dcdee5;
|
93
|
+
--table-head-bg-color: #fafbfd;
|
94
|
+
--table-head-font-color: #313238;
|
95
|
+
--table-body-font-color: #575961;
|
96
|
+
--table-row-hover-bg-color: #f5f7fa;
|
97
|
+
--table-row-active-bg-color: #f0f1f5;
|
98
|
+
--cascader-panel-border-color: #dcdee5;
|
99
|
+
--cascader-panel-hover: #eaf3ff;
|
100
|
+
--cascader-panel-active: #f4f6fa;
|
101
|
+
--cascader-panel-disabled-bg: #fff;
|
86
102
|
}
|
87
103
|
.bk-button {
|
88
|
-
display: inline-
|
104
|
+
display: inline-flex;
|
89
105
|
height: 32px;
|
90
|
-
|
91
|
-
padding: 0 15px;
|
106
|
+
padding: 5px 12px;
|
92
107
|
font-size: var(--font-size-medium);
|
93
108
|
color: var(--default-color);
|
94
|
-
text-align: center;
|
95
109
|
text-decoration: none;
|
96
110
|
white-space: nowrap;
|
97
|
-
vertical-align: middle;
|
98
111
|
cursor: pointer;
|
99
112
|
background-color: var(--white-color);
|
100
113
|
border: 1px solid var(--light-gray);
|
@@ -103,6 +116,8 @@
|
|
103
116
|
box-sizing: border-box;
|
104
117
|
transition: background-color ease 0.3s;
|
105
118
|
appearance: none;
|
119
|
+
align-items: center;
|
120
|
+
justify-content: center;
|
106
121
|
}
|
107
122
|
.bk-button.bk-button-primary {
|
108
123
|
background-color: var(--primary-color);
|
@@ -116,10 +131,7 @@
|
|
116
131
|
.bk-button.bk-button-primary:active {
|
117
132
|
background-color: var(--button-primary-active-color);
|
118
133
|
border-color: var(--button-primary-active-color);
|
119
|
-
|
120
|
-
.bk-button.bk-button-primary.is-disabled {
|
121
|
-
background-color: var(--disable-color);
|
122
|
-
border-color: var(--disable-color);
|
134
|
+
color: var(--white-color);
|
123
135
|
}
|
124
136
|
.bk-button.bk-button-primary.is-outline {
|
125
137
|
color: var(--primary-color);
|
@@ -133,12 +145,21 @@
|
|
133
145
|
}
|
134
146
|
.bk-button.bk-button-primary.is-text {
|
135
147
|
color: var(--primary-color);
|
136
|
-
background:
|
148
|
+
background-color: transparent;
|
137
149
|
border: none;
|
138
150
|
}
|
139
|
-
.bk-button.bk-button-primary.is-text:hover {
|
151
|
+
.bk-button.bk-button-primary.is-text:not(.is-disabled):hover {
|
140
152
|
color: var(--button-primary-hover-color);
|
141
153
|
}
|
154
|
+
.bk-button.bk-button-primary.is-disabled {
|
155
|
+
color: var(--disable-color);
|
156
|
+
cursor: not-allowed;
|
157
|
+
}
|
158
|
+
.bk-button.bk-button-primary.is-disabled:not(.is-text) {
|
159
|
+
background-color: var(--disable-color);
|
160
|
+
color: var(--white-color);
|
161
|
+
border-color: var(--disable-color);
|
162
|
+
}
|
142
163
|
.bk-button.bk-button-hover-primary:hover {
|
143
164
|
background-color: var(--button-primary-hover-color);
|
144
165
|
border-color: var(--button-primary-hover-color);
|
@@ -156,10 +177,7 @@
|
|
156
177
|
.bk-button.bk-button-warning:active {
|
157
178
|
background-color: var(--button-warning-active-color);
|
158
179
|
border-color: var(--button-warning-active-color);
|
159
|
-
|
160
|
-
.bk-button.bk-button-warning.is-disabled {
|
161
|
-
background-color: var(--disable-color);
|
162
|
-
border-color: var(--disable-color);
|
180
|
+
color: var(--white-color);
|
163
181
|
}
|
164
182
|
.bk-button.bk-button-warning.is-outline {
|
165
183
|
color: var(--warning-color);
|
@@ -173,12 +191,21 @@
|
|
173
191
|
}
|
174
192
|
.bk-button.bk-button-warning.is-text {
|
175
193
|
color: var(--warning-color);
|
176
|
-
background:
|
194
|
+
background-color: transparent;
|
177
195
|
border: none;
|
178
196
|
}
|
179
|
-
.bk-button.bk-button-warning.is-text:hover {
|
197
|
+
.bk-button.bk-button-warning.is-text:not(.is-disabled):hover {
|
180
198
|
color: var(--button-warning-hover-color);
|
181
199
|
}
|
200
|
+
.bk-button.bk-button-warning.is-disabled {
|
201
|
+
color: var(--disable-color);
|
202
|
+
cursor: not-allowed;
|
203
|
+
}
|
204
|
+
.bk-button.bk-button-warning.is-disabled:not(.is-text) {
|
205
|
+
background-color: var(--disable-color);
|
206
|
+
color: var(--white-color);
|
207
|
+
border-color: var(--disable-color);
|
208
|
+
}
|
182
209
|
.bk-button.bk-button-hover-warning:hover {
|
183
210
|
background-color: var(--button-warning-hover-color);
|
184
211
|
border-color: var(--button-warning-hover-color);
|
@@ -196,10 +223,7 @@
|
|
196
223
|
.bk-button.bk-button-success:active {
|
197
224
|
background-color: var(--button-success-active-color);
|
198
225
|
border-color: var(--button-success-active-color);
|
199
|
-
|
200
|
-
.bk-button.bk-button-success.is-disabled {
|
201
|
-
background-color: var(--disable-color);
|
202
|
-
border-color: var(--disable-color);
|
226
|
+
color: var(--white-color);
|
203
227
|
}
|
204
228
|
.bk-button.bk-button-success.is-outline {
|
205
229
|
color: var(--success-color);
|
@@ -213,12 +237,21 @@
|
|
213
237
|
}
|
214
238
|
.bk-button.bk-button-success.is-text {
|
215
239
|
color: var(--success-color);
|
216
|
-
background:
|
240
|
+
background-color: transparent;
|
217
241
|
border: none;
|
218
242
|
}
|
219
|
-
.bk-button.bk-button-success.is-text:hover {
|
243
|
+
.bk-button.bk-button-success.is-text:not(.is-disabled):hover {
|
220
244
|
color: var(--button-success-hover-color);
|
221
245
|
}
|
246
|
+
.bk-button.bk-button-success.is-disabled {
|
247
|
+
color: var(--disable-color);
|
248
|
+
cursor: not-allowed;
|
249
|
+
}
|
250
|
+
.bk-button.bk-button-success.is-disabled:not(.is-text) {
|
251
|
+
background-color: var(--disable-color);
|
252
|
+
color: var(--white-color);
|
253
|
+
border-color: var(--disable-color);
|
254
|
+
}
|
222
255
|
.bk-button.bk-button-hover-success:hover {
|
223
256
|
background-color: var(--button-success-hover-color);
|
224
257
|
border-color: var(--button-success-hover-color);
|
@@ -236,10 +269,7 @@
|
|
236
269
|
.bk-button.bk-button-danger:active {
|
237
270
|
background-color: var(--button-danger-active-color);
|
238
271
|
border-color: var(--button-danger-active-color);
|
239
|
-
|
240
|
-
.bk-button.bk-button-danger.is-disabled {
|
241
|
-
background-color: var(--disable-color);
|
242
|
-
border-color: var(--disable-color);
|
272
|
+
color: var(--white-color);
|
243
273
|
}
|
244
274
|
.bk-button.bk-button-danger.is-outline {
|
245
275
|
color: var(--danger-color);
|
@@ -253,26 +283,49 @@
|
|
253
283
|
}
|
254
284
|
.bk-button.bk-button-danger.is-text {
|
255
285
|
color: var(--danger-color);
|
256
|
-
background:
|
286
|
+
background-color: transparent;
|
257
287
|
border: none;
|
258
288
|
}
|
259
|
-
.bk-button.bk-button-danger.is-text:hover {
|
289
|
+
.bk-button.bk-button-danger.is-text:not(.is-disabled):hover {
|
260
290
|
color: var(--button-danger-hover-color);
|
261
291
|
}
|
292
|
+
.bk-button.bk-button-danger.is-disabled {
|
293
|
+
color: var(--disable-color);
|
294
|
+
cursor: not-allowed;
|
295
|
+
}
|
296
|
+
.bk-button.bk-button-danger.is-disabled:not(.is-text) {
|
297
|
+
background-color: var(--disable-color);
|
298
|
+
color: var(--white-color);
|
299
|
+
border-color: var(--disable-color);
|
300
|
+
}
|
262
301
|
.bk-button.bk-button-hover-danger:hover {
|
263
302
|
background-color: var(--button-danger-hover-color);
|
264
303
|
border-color: var(--button-danger-hover-color);
|
265
304
|
color: var(--white-color);
|
266
305
|
}
|
267
306
|
.bk-button.bk-button-small {
|
268
|
-
min-width: 48px;
|
269
307
|
height: 26px;
|
270
|
-
padding:
|
308
|
+
padding: 3px 12px;
|
309
|
+
font-size: var(--font-size-base);
|
271
310
|
}
|
272
311
|
.bk-button.bk-button-large {
|
273
|
-
min-width: 74px;
|
274
312
|
height: 38px;
|
275
|
-
padding:
|
313
|
+
padding: 8px 20px;
|
314
|
+
font-size: var(--font-size-large);
|
315
|
+
}
|
316
|
+
.bk-button .bk-button-text {
|
317
|
+
display: inline-flex;
|
318
|
+
align-items: center;
|
319
|
+
line-height: 1;
|
320
|
+
}
|
321
|
+
.bk-button.is-loading {
|
322
|
+
position: relative;
|
323
|
+
}
|
324
|
+
.bk-button.is-loading .bk-button-loading:not(:last-child) {
|
325
|
+
position: absolute;
|
326
|
+
}
|
327
|
+
.bk-button.is-loading .bk-button-text {
|
328
|
+
visibility: hidden;
|
276
329
|
}
|
277
330
|
.bk-button:hover {
|
278
331
|
border-color: var(--button-default-hover-border-color);
|
@@ -281,37 +334,39 @@
|
|
281
334
|
color: var(--primary-color);
|
282
335
|
border-color: var(--primary-color);
|
283
336
|
}
|
284
|
-
.bk-button.is-disabled {
|
285
|
-
color: var(--disable-color);
|
286
|
-
cursor: auto;
|
287
|
-
border-color: var(--disable-color);
|
288
|
-
}
|
289
337
|
.bk-button.is-text {
|
338
|
+
height: auto;
|
339
|
+
padding: 0;
|
290
340
|
font-size: var(--font-size-medium);
|
341
|
+
font-size: inherit;
|
291
342
|
color: var(--default-color);
|
292
343
|
text-decoration: none;
|
293
344
|
cursor: pointer;
|
294
|
-
background:
|
345
|
+
background-color: transparent;
|
295
346
|
border: none;
|
296
347
|
outline: none;
|
297
348
|
}
|
349
|
+
.bk-button.is-disabled {
|
350
|
+
color: var(--disable-color);
|
351
|
+
cursor: not-allowed;
|
352
|
+
border-color: var(--disable-color);
|
353
|
+
}
|
298
354
|
.bk-button-group {
|
299
355
|
display: inline-block;
|
300
356
|
font-size: 0;
|
301
357
|
}
|
302
358
|
.bk-button-group.bk-button-group-small .bk-button {
|
303
|
-
min-width: 48px;
|
304
359
|
height: 26px;
|
305
|
-
padding:
|
360
|
+
padding: 3px 12px;
|
361
|
+
font-size: var(--font-size-base);
|
306
362
|
}
|
307
363
|
.bk-button-group.bk-button-group-large .bk-button {
|
308
|
-
min-width: 74px;
|
309
364
|
height: 38px;
|
310
|
-
padding:
|
365
|
+
padding: 8px 20px;
|
366
|
+
font-size: var(--font-size-large);
|
311
367
|
}
|
312
368
|
.bk-button-group .bk-button {
|
313
369
|
height: 32px;
|
314
|
-
min-width: 64px;
|
315
370
|
margin: 0 0 0 -1px;
|
316
371
|
border-radius: 0;
|
317
372
|
}
|
@@ -320,6 +375,9 @@
|
|
320
375
|
background-color: var(--white-color);
|
321
376
|
border-color: var(--light-gray);
|
322
377
|
}
|
378
|
+
.bk-button-group .bk-button.is-disabled {
|
379
|
+
color: var(--light-gray);
|
380
|
+
}
|
323
381
|
.bk-button-group .bk-button:first-child {
|
324
382
|
border-radius: 2px 0 0 2px;
|
325
383
|
}
|
@@ -337,3 +395,9 @@
|
|
337
395
|
background-color: var(--white-color);
|
338
396
|
border-color: var(--primary-color);
|
339
397
|
}
|
398
|
+
.bk-button-group .bk-button.is-selected:not(.is-disabled) {
|
399
|
+
background-color: var(--button-selected-bg-color);
|
400
|
+
}
|
401
|
+
.bk-button-group .bk-button.is-selected.is-disabled {
|
402
|
+
background-color: var(--button-disabled-selected-bg-color);
|
403
|
+
}
|
package/lib/button/index.d.ts
CHANGED
@@ -6,35 +6,59 @@ declare const BkButton: {
|
|
6
6
|
$props: Partial<{
|
7
7
|
title: string;
|
8
8
|
text: boolean;
|
9
|
-
theme: string;
|
10
9
|
disabled: boolean;
|
11
|
-
loading: boolean;
|
12
|
-
hoverTheme: string;
|
13
|
-
outline: boolean;
|
14
|
-
}> & Omit<Readonly<{
|
15
|
-
theme?: unknown;
|
16
|
-
hoverTheme?: unknown;
|
17
|
-
size?: unknown;
|
18
|
-
title?: unknown;
|
19
|
-
disabled?: unknown;
|
20
|
-
loading?: unknown;
|
21
|
-
outline?: unknown;
|
22
|
-
text?: unknown;
|
23
|
-
nativeType?: unknown;
|
24
|
-
} & {
|
25
|
-
title: string;
|
26
|
-
text: boolean;
|
27
10
|
theme: string;
|
28
|
-
|
11
|
+
size: string;
|
12
|
+
icon: string;
|
13
|
+
outline: boolean;
|
29
14
|
loading: boolean;
|
30
15
|
hoverTheme: string;
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
16
|
+
iconRight: string;
|
17
|
+
selected: boolean;
|
18
|
+
nativeType: "button" | "reset" | "submit";
|
19
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
hoverTheme: import("vue-types").VueTypeDef<string> & {
|
24
|
+
default: string;
|
25
|
+
};
|
26
|
+
size: import("vue-types").VueTypeDef<string> & {
|
27
|
+
default: string;
|
28
|
+
};
|
29
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
30
|
+
default: string;
|
31
|
+
};
|
32
|
+
icon: import("vue-types").VueTypeValidableDef<string> & {
|
33
|
+
default: string;
|
34
|
+
};
|
35
|
+
iconRight: import("vue-types").VueTypeValidableDef<string> & {
|
36
|
+
default: string;
|
37
|
+
};
|
38
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
39
|
+
default: boolean;
|
40
|
+
};
|
41
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
|
+
default: boolean;
|
43
|
+
};
|
44
|
+
loadingMode: import("vue-types").VueTypeDef<string>;
|
45
|
+
outline: import("vue-types").VueTypeValidableDef<boolean> & {
|
46
|
+
default: boolean;
|
47
|
+
};
|
48
|
+
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
49
|
+
default: boolean;
|
50
|
+
};
|
51
|
+
selected: import("vue-types").VueTypeValidableDef<boolean> & {
|
52
|
+
default: boolean;
|
53
|
+
};
|
54
|
+
nativeType: {
|
55
|
+
type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
|
56
|
+
default: string;
|
57
|
+
};
|
58
|
+
}>> & {
|
36
59
|
onClick?: (...args: any[]) => any;
|
37
|
-
|
60
|
+
onMouseover?: (...args: any[]) => any;
|
61
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "text" | "disabled" | "theme" | "size" | "icon" | "outline" | "loading" | "hoverTheme" | "iconRight" | "selected" | "nativeType">;
|
38
62
|
$attrs: {
|
39
63
|
[x: string]: unknown;
|
40
64
|
};
|
@@ -46,39 +70,63 @@ declare const BkButton: {
|
|
46
70
|
}>;
|
47
71
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
48
72
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
49
|
-
$emit: (event: "click", ...args: any[]) => void;
|
73
|
+
$emit: (event: "click" | "mouseover", ...args: any[]) => void;
|
50
74
|
$el: any;
|
51
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
52
|
-
theme
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
75
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
76
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
77
|
+
default: string;
|
78
|
+
};
|
79
|
+
hoverTheme: import("vue-types").VueTypeDef<string> & {
|
80
|
+
default: string;
|
81
|
+
};
|
82
|
+
size: import("vue-types").VueTypeDef<string> & {
|
83
|
+
default: string;
|
84
|
+
};
|
85
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
86
|
+
default: string;
|
87
|
+
};
|
88
|
+
icon: import("vue-types").VueTypeValidableDef<string> & {
|
89
|
+
default: string;
|
90
|
+
};
|
91
|
+
iconRight: import("vue-types").VueTypeValidableDef<string> & {
|
92
|
+
default: string;
|
93
|
+
};
|
94
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
95
|
+
default: boolean;
|
96
|
+
};
|
97
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
98
|
+
default: boolean;
|
99
|
+
};
|
100
|
+
loadingMode: import("vue-types").VueTypeDef<string>;
|
101
|
+
outline: import("vue-types").VueTypeValidableDef<boolean> & {
|
102
|
+
default: boolean;
|
103
|
+
};
|
104
|
+
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
105
|
+
default: boolean;
|
106
|
+
};
|
107
|
+
selected: import("vue-types").VueTypeValidableDef<boolean> & {
|
108
|
+
default: boolean;
|
109
|
+
};
|
110
|
+
nativeType: {
|
111
|
+
type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
|
112
|
+
default: string;
|
113
|
+
};
|
114
|
+
}>> & {
|
73
115
|
onClick?: (...args: any[]) => any;
|
74
|
-
|
116
|
+
onMouseover?: (...args: any[]) => any;
|
117
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], string, {
|
75
118
|
title: string;
|
76
119
|
text: boolean;
|
77
|
-
theme: string;
|
78
120
|
disabled: boolean;
|
121
|
+
theme: string;
|
122
|
+
size: string;
|
123
|
+
icon: string;
|
124
|
+
outline: boolean;
|
79
125
|
loading: boolean;
|
80
126
|
hoverTheme: string;
|
81
|
-
|
127
|
+
iconRight: string;
|
128
|
+
selected: boolean;
|
129
|
+
nativeType: "button" | "reset" | "submit";
|
82
130
|
}> & {
|
83
131
|
beforeCreate?: (() => void) | (() => void)[];
|
84
132
|
created?: (() => void) | (() => void)[];
|
@@ -99,72 +147,113 @@ declare const BkButton: {
|
|
99
147
|
$forceUpdate: () => void;
|
100
148
|
$nextTick: typeof import("vue").nextTick;
|
101
149
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
102
|
-
} & Readonly<{
|
103
|
-
theme
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
150
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
151
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
152
|
+
default: string;
|
153
|
+
};
|
154
|
+
hoverTheme: import("vue-types").VueTypeDef<string> & {
|
155
|
+
default: string;
|
156
|
+
};
|
157
|
+
size: import("vue-types").VueTypeDef<string> & {
|
158
|
+
default: string;
|
159
|
+
};
|
160
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
161
|
+
default: string;
|
162
|
+
};
|
163
|
+
icon: import("vue-types").VueTypeValidableDef<string> & {
|
164
|
+
default: string;
|
165
|
+
};
|
166
|
+
iconRight: import("vue-types").VueTypeValidableDef<string> & {
|
167
|
+
default: string;
|
168
|
+
};
|
169
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
173
|
+
default: boolean;
|
174
|
+
};
|
175
|
+
loadingMode: import("vue-types").VueTypeDef<string>;
|
176
|
+
outline: import("vue-types").VueTypeValidableDef<boolean> & {
|
177
|
+
default: boolean;
|
178
|
+
};
|
179
|
+
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
180
|
+
default: boolean;
|
181
|
+
};
|
182
|
+
selected: import("vue-types").VueTypeValidableDef<boolean> & {
|
183
|
+
default: boolean;
|
184
|
+
};
|
185
|
+
nativeType: {
|
186
|
+
type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
|
187
|
+
default: string;
|
188
|
+
};
|
189
|
+
}>> & {
|
124
190
|
onClick?: (...args: any[]) => any;
|
191
|
+
onMouseover?: (...args: any[]) => any;
|
125
192
|
} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
|
126
193
|
__isFragment?: never;
|
127
194
|
__isTeleport?: never;
|
128
195
|
__isSuspense?: never;
|
129
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
130
|
-
theme
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
}
|
148
|
-
|
149
|
-
|
150
|
-
}
|
196
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
197
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
198
|
+
default: string;
|
199
|
+
};
|
200
|
+
hoverTheme: import("vue-types").VueTypeDef<string> & {
|
201
|
+
default: string;
|
202
|
+
};
|
203
|
+
size: import("vue-types").VueTypeDef<string> & {
|
204
|
+
default: string;
|
205
|
+
};
|
206
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
207
|
+
default: string;
|
208
|
+
};
|
209
|
+
icon: import("vue-types").VueTypeValidableDef<string> & {
|
210
|
+
default: string;
|
211
|
+
};
|
212
|
+
iconRight: import("vue-types").VueTypeValidableDef<string> & {
|
213
|
+
default: string;
|
214
|
+
};
|
215
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
216
|
+
default: boolean;
|
217
|
+
};
|
218
|
+
loading: import("vue-types").VueTypeValidableDef<boolean> & {
|
219
|
+
default: boolean;
|
220
|
+
};
|
221
|
+
loadingMode: import("vue-types").VueTypeDef<string>;
|
222
|
+
outline: import("vue-types").VueTypeValidableDef<boolean> & {
|
223
|
+
default: boolean;
|
224
|
+
};
|
225
|
+
text: import("vue-types").VueTypeValidableDef<boolean> & {
|
226
|
+
default: boolean;
|
227
|
+
};
|
228
|
+
selected: import("vue-types").VueTypeValidableDef<boolean> & {
|
229
|
+
default: boolean;
|
230
|
+
};
|
231
|
+
nativeType: {
|
232
|
+
type: ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit")) | ((new (...args: any[]) => ("button" | "reset" | "submit") & {}) | (() => "button" | "reset" | "submit"))[];
|
233
|
+
default: string;
|
234
|
+
};
|
235
|
+
}>> & {
|
151
236
|
onClick?: (...args: any[]) => any;
|
152
|
-
|
237
|
+
onMouseover?: (...args: any[]) => any;
|
238
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "mouseover")[], "click" | "mouseover", {
|
153
239
|
title: string;
|
154
240
|
text: boolean;
|
155
|
-
theme: string;
|
156
241
|
disabled: boolean;
|
242
|
+
theme: string;
|
243
|
+
size: string;
|
244
|
+
icon: string;
|
245
|
+
outline: boolean;
|
157
246
|
loading: boolean;
|
158
247
|
hoverTheme: string;
|
159
|
-
|
248
|
+
iconRight: string;
|
249
|
+
selected: boolean;
|
250
|
+
nativeType: "button" | "reset" | "submit";
|
160
251
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
161
252
|
ButtonGroup: import("vue").DefineComponent<{
|
162
253
|
size: import("vue-types").VueTypeDef<string>;
|
163
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
164
|
-
size
|
165
|
-
}
|
166
|
-
size?: string;
|
167
|
-
}> & {}, {}>;
|
254
|
+
}, () => 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<{
|
255
|
+
size: import("vue-types").VueTypeDef<string>;
|
256
|
+
}>>, {}>;
|
168
257
|
}>;
|
169
258
|
export default BkButton;
|
170
259
|
export { ButtonGroup as BkButtonGroup, BkButton, };
|