bkui-vue 0.0.1-beta.16 → 0.0.1-beta.160
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 +7 -3
- package/dist/index.cjs.js +171 -0
- package/dist/index.esm.js +34902 -0
- package/dist/index.umd.js +171 -0
- package/dist/style.css +1 -4328
- 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.css +8 -0
- package/lib/backtop/backtop.d.ts +28 -14
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +38 -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 +51 -0
- package/lib/breadcrumb/breadcrumb.d.ts +22 -14
- package/lib/breadcrumb/breadcrumb.variable.css +81 -3
- package/lib/breadcrumb/index.d.ts +100 -64
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +92 -45
- package/lib/button/button.d.ts +76 -26
- package/lib/button/button.less +88 -47
- package/lib/button/button.variable.css +122 -48
- 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 +50 -0
- package/lib/cascader/cascader.css +147 -0
- package/lib/cascader/cascader.d.ts +275 -0
- package/lib/cascader/cascader.less +167 -0
- package/lib/cascader/cascader.variable.css +260 -0
- package/lib/cascader/index.d.ts +746 -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 +19 -0
- package/lib/checkbox/checkbox-group.d.ts +29 -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 +161 -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-panel.d.ts +75 -0
- package/lib/collapse/collapse.css +28 -12
- package/lib/collapse/collapse.d.ts +34 -43
- package/lib/collapse/collapse.less +54 -29
- package/lib/collapse/collapse.variable.css +141 -12
- package/lib/collapse/index.d.ts +212 -76
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +123 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +388 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +28 -6
- 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 +101 -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 +528 -279
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +10 -1
- package/lib/date-picker/props.d.ts +161 -0
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -1
- package/lib/dialog/dialog.css +78 -21
- package/lib/dialog/dialog.d.ts +285 -52
- package/lib/dialog/dialog.less +56 -22
- package/lib/dialog/dialog.variable.css +78 -21
- package/lib/dialog/index.d.ts +665 -115
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +132 -0
- 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/const.d.ts +4 -0
- package/lib/dropdown/dropdown-item.d.ts +6 -5
- package/lib/dropdown/dropdown-menu.d.ts +6 -5
- package/lib/dropdown/dropdown.css +12 -5
- package/lib/dropdown/dropdown.d.ts +59 -16
- package/lib/dropdown/dropdown.less +48 -34
- package/lib/dropdown/dropdown.variable.css +42 -8
- package/lib/dropdown/index.d.ts +168 -75
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +20 -11
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +70 -17
- package/lib/exception/index.d.ts +62 -39
- 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 +60 -44
- package/lib/form/form.css +102 -10
- package/lib/form/form.d.ts +45 -40
- package/lib/form/form.less +145 -34
- package/lib/form/form.variable.css +215 -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 -15
- 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 -15
- 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.js +1 -15
- package/lib/icon/angle-down-line.js +1 -15
- package/lib/icon/angle-down.js +1 -15
- package/lib/icon/angle-left.js +1 -15
- package/lib/icon/angle-right.js +1 -15
- package/lib/icon/angle-up-fill.js +1 -15
- package/lib/icon/angle-up.js +1 -15
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -15
- 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 -15
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -15
- package/lib/icon/code.js +1 -15
- package/lib/icon/cog-shape.js +1 -15
- package/lib/icon/collapse-left.js +1 -15
- package/lib/icon/copy.js +1 -15
- 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 -15
- package/lib/icon/down-shape.js +1 -15
- package/lib/icon/down-small.js +1 -15
- 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 -15
- 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 -15
- package/lib/icon/folder-open.js +1 -15
- package/lib/icon/folder-shape-open.js +1 -15
- package/lib/icon/folder-shape.js +1 -15
- package/lib/icon/folder.js +1 -15
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -15
- package/lib/icon/help-fill.js +1 -15
- package/lib/icon/help.js +1 -15
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/image-fill.js +1 -0
- package/lib/icon/index.d.ts +27 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -15
- package/lib/icon/info.js +1 -15
- 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 -15
- package/lib/icon/plus.js +1 -15
- 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 -15
- package/lib/icon/search.js +1 -15
- package/lib/icon/share.js +1 -15
- package/lib/icon/spinner.js +1 -15
- package/lib/icon/success.js +1 -15
- package/lib/icon/switcher-loading.js +1 -15
- package/lib/icon/text-file.js +1 -15
- 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 -15
- package/lib/icon/unvisible.js +1 -15
- 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 -15
- 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/info-box/index.d.ts +23 -0
- package/lib/info-box/index.js +1 -0
- package/lib/input/index.d.ts +449 -204
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +232 -17
- package/lib/input/input.d.ts +202 -52
- package/lib/input/input.less +180 -18
- package/lib/input/input.variable.css +259 -16
- package/lib/link/index.d.ts +102 -54
- package/lib/link/index.js +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +42 -15
- 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.d.ts +6 -5
- package/lib/menu/submenu.variable.css +30 -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 +312 -182
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +4 -0
- package/lib/popover/popover.d.ts +102 -32
- package/lib/popover/popover.less +4 -0
- package/lib/popover/popover.variable.css +34 -3
- package/lib/popover/props.d.ts +28 -1
- 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 +482 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +202 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +138 -0
- package/lib/popover2/props.d.ts +104 -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 +126 -66
- package/lib/process/index.js +1 -15
- package/lib/process/process.css +2 -3
- package/lib/process/process.d.ts +32 -17
- package/lib/process/process.less +2 -3
- package/lib/process/process.variable.css +32 -6
- package/lib/progress/index.d.ts +299 -151
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +76 -39
- package/lib/progress/progress.variable.css +81 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +156 -96
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +30 -23
- package/lib/radio/radio-group.d.ts +27 -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 +76 -41
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +24 -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 -31
- package/lib/select/index.d.ts +1202 -633
- package/lib/select/index.js +1 -15
- package/lib/select/option.d.ts +23 -12
- package/lib/select/optionGroup.d.ts +22 -90
- package/lib/select/select.css +230 -81
- package/lib/select/select.d.ts +447 -173
- package/lib/select/select.less +326 -187
- package/lib/select/select.variable.css +261 -85
- package/lib/select/selectTagInput.d.ts +70 -0
- package/lib/select/type.d.ts +39 -0
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +0 -1
- package/lib/shared/index.d.ts +17 -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} +7 -3
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +12 -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 +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 +47 -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 +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 +224 -137
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +63 -36
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +87 -9
- 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 +484 -131
- 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 +174 -4
- package/lib/table/render.d.ts +76 -5
- package/lib/table/table.css +1125 -14
- package/lib/table/table.d.ts +197 -24
- package/lib/table/table.less +262 -25
- package/lib/table/table.variable.css +1156 -18
- package/lib/table/use-common.d.ts +72 -0
- package/lib/table/utils.d.ts +76 -2
- package/lib/tag/index.d.ts +165 -274
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +112 -0
- package/lib/tag/tag.d.ts +83 -53
- package/lib/tag/tag.less +127 -2
- package/lib/tag/tag.variable.css +142 -3
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +913 -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 +383 -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 +135 -0
- package/lib/tag-input/tag-render.d.ts +38 -0
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +328 -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 +467 -106
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +133 -1
- package/lib/tree/tree.css +170 -14
- package/lib/tree/tree.d.ts +193 -29
- package/lib/tree/tree.less +70 -26
- package/lib/tree/tree.variable.css +283 -14
- 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 +31 -13
- 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 +435 -266
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +11 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -24
- package/lib/virtual-render/virtual-render.d.ts +116 -44
- package/lib/virtual-render/virtual-render.less +2 -31
- package/lib/virtual-render/virtual-render.variable.css +130 -24
- package/lib/volar.components.d.ts +100 -0
- package/package.json +104 -84
- package/README_EN.md +0 -89
- package/dist/bkui-vue.cjs.js +0 -11401
- package/dist/bkui-vue.esm.js +0 -11354
- package/dist/bkui-vue.umd.js +0 -11404
- package/lib/form/common.d.ts +0 -3
- package/lib/icon/icon.js +0 -15
- package/lib/styles/index.js +0 -1
package/lib/tab/index.d.ts
CHANGED
@@ -1,42 +1,16 @@
|
|
1
|
-
|
1
|
+
import TabPanel from './tab-panel';
|
2
|
+
declare const BkTab: {
|
2
3
|
new (...args: any[]): {
|
3
4
|
$: import("vue").ComponentInternalInstance;
|
4
5
|
$data: {};
|
5
6
|
$props: Partial<{
|
6
|
-
closable: boolean;
|
7
|
-
extCls: string;
|
8
|
-
showHeader: boolean;
|
9
7
|
type: string;
|
10
|
-
sortType: string;
|
11
|
-
addable: boolean;
|
12
|
-
sortable: boolean;
|
13
|
-
labelHeight: number;
|
14
|
-
scrollStep: number;
|
15
|
-
validateActive: boolean;
|
16
|
-
changeOnHover: boolean;
|
17
|
-
changeOnHoverDelay: number;
|
18
|
-
tabPosition: string;
|
19
|
-
}> & Omit<Readonly<{
|
20
|
-
active?: unknown;
|
21
|
-
type?: unknown;
|
22
|
-
tabPosition?: unknown;
|
23
|
-
closable?: unknown;
|
24
|
-
addable?: unknown;
|
25
|
-
sortable?: unknown;
|
26
|
-
sortType?: unknown;
|
27
|
-
labelHeight?: unknown;
|
28
|
-
scrollStep?: unknown;
|
29
|
-
extCls?: unknown;
|
30
|
-
validateActive?: unknown;
|
31
|
-
showHeader?: unknown;
|
32
|
-
changeOnHover?: unknown;
|
33
|
-
changeOnHoverDelay?: unknown;
|
34
|
-
} & {
|
35
|
-
closable: boolean;
|
36
8
|
extCls: string;
|
9
|
+
closable: boolean;
|
10
|
+
active: string | number;
|
37
11
|
showHeader: boolean;
|
38
|
-
type: string;
|
39
12
|
sortType: string;
|
13
|
+
tabPosition: string;
|
40
14
|
addable: boolean;
|
41
15
|
sortable: boolean;
|
42
16
|
labelHeight: number;
|
@@ -44,22 +18,70 @@ export declare const BKTab: {
|
|
44
18
|
validateActive: boolean;
|
45
19
|
changeOnHover: boolean;
|
46
20
|
changeOnHoverDelay: number;
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
21
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
22
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
23
|
+
default: string | number;
|
24
|
+
};
|
25
|
+
type: import("vue-types").VueTypeDef<string> & {
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
29
|
+
default: string;
|
30
|
+
};
|
31
|
+
closable: BooleanConstructor;
|
32
|
+
addable: BooleanConstructor;
|
33
|
+
sortable: BooleanConstructor;
|
34
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
38
|
+
default: number;
|
39
|
+
} & {
|
40
|
+
default: number;
|
41
|
+
};
|
42
|
+
scrollStep: import("vue-types").VueTypeValidableDef<number> & {
|
43
|
+
default: number;
|
44
|
+
} & {
|
45
|
+
default: number;
|
46
|
+
};
|
47
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
48
|
+
default: string;
|
49
|
+
} & {
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
53
|
+
default: boolean;
|
54
|
+
} & {
|
55
|
+
default: boolean;
|
56
|
+
};
|
57
|
+
showHeader: import("vue-types").VueTypeValidableDef<boolean> & {
|
58
|
+
default: boolean;
|
59
|
+
} & {
|
60
|
+
default: boolean;
|
61
|
+
};
|
62
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
63
|
+
default: boolean;
|
64
|
+
} & {
|
65
|
+
default: boolean;
|
66
|
+
};
|
67
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
68
|
+
default: number;
|
69
|
+
} & {
|
70
|
+
default: number;
|
71
|
+
};
|
72
|
+
}>> & {
|
51
73
|
onDrag?: (...args: any[]) => any;
|
52
74
|
onChange?: (...args: any[]) => any;
|
75
|
+
onRemove?: (...args: any[]) => any;
|
53
76
|
onAdd?: (...args: any[]) => any;
|
54
77
|
"onAdd-panel"?: (...args: any[]) => any;
|
55
78
|
"onTab-change"?: (...args: any[]) => any;
|
56
|
-
"
|
79
|
+
"onRemove-panel"?: (...args: any[]) => any;
|
57
80
|
"onSort-change"?: (...args: any[]) => any;
|
58
81
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
59
|
-
onRemove?: (...args: any[]) => any;
|
60
82
|
"onUpdate:active"?: (...args: any[]) => any;
|
61
83
|
onSort?: (...args: any[]) => any;
|
62
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
84
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "extCls" | "closable" | "active" | "showHeader" | "sortType" | "tabPosition" | "addable" | "sortable" | "labelHeight" | "scrollStep" | "validateActive" | "changeOnHover" | "changeOnHoverDelay">;
|
63
85
|
$attrs: {
|
64
86
|
[x: string]: unknown;
|
65
87
|
};
|
@@ -71,66 +93,87 @@ export declare const BKTab: {
|
|
71
93
|
}>;
|
72
94
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
73
95
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
74
|
-
$emit: (event: "change" | "drag" | "add" | "add-panel" | "tab-change" | "
|
96
|
+
$emit: (event: "change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort", ...args: any[]) => void;
|
75
97
|
$el: any;
|
76
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
77
|
-
active
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
98
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
99
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
100
|
+
default: string | number;
|
101
|
+
};
|
102
|
+
type: import("vue-types").VueTypeDef<string> & {
|
103
|
+
default: string;
|
104
|
+
};
|
105
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
106
|
+
default: string;
|
107
|
+
};
|
108
|
+
closable: BooleanConstructor;
|
109
|
+
addable: BooleanConstructor;
|
110
|
+
sortable: BooleanConstructor;
|
111
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
112
|
+
default: string;
|
113
|
+
};
|
114
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
115
|
+
default: number;
|
116
|
+
} & {
|
117
|
+
default: number;
|
118
|
+
};
|
119
|
+
scrollStep: 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
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
130
|
+
default: boolean;
|
131
|
+
} & {
|
132
|
+
default: boolean;
|
133
|
+
};
|
134
|
+
showHeader: import("vue-types").VueTypeValidableDef<boolean> & {
|
135
|
+
default: boolean;
|
136
|
+
} & {
|
137
|
+
default: boolean;
|
138
|
+
};
|
139
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
140
|
+
default: boolean;
|
141
|
+
} & {
|
142
|
+
default: boolean;
|
143
|
+
};
|
144
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
145
|
+
default: number;
|
146
|
+
} & {
|
147
|
+
default: number;
|
148
|
+
};
|
149
|
+
}>> & {
|
108
150
|
onDrag?: (...args: any[]) => any;
|
109
151
|
onChange?: (...args: any[]) => any;
|
152
|
+
onRemove?: (...args: any[]) => any;
|
110
153
|
onAdd?: (...args: any[]) => any;
|
111
154
|
"onAdd-panel"?: (...args: any[]) => any;
|
112
155
|
"onTab-change"?: (...args: any[]) => any;
|
113
|
-
"
|
156
|
+
"onRemove-panel"?: (...args: any[]) => any;
|
114
157
|
"onSort-change"?: (...args: any[]) => any;
|
115
158
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
116
|
-
onRemove?: (...args: any[]) => any;
|
117
159
|
"onUpdate:active"?: (...args: any[]) => any;
|
118
160
|
onSort?: (...args: any[]) => any;
|
119
161
|
}, {
|
120
162
|
isMounted: import("vue").Ref<boolean>;
|
121
163
|
panels: import("vue").Ref<any[]>;
|
122
|
-
}, unknown, {}, {
|
123
164
|
tabAdd(e: MouseEvent): void;
|
124
165
|
tabChange(name: string): void;
|
125
166
|
tabRemove(index: number, panel: any): void;
|
126
|
-
tabSort(dragTabIndex: number, dropTabIndex: number):
|
167
|
+
tabSort(dragTabIndex: number, dropTabIndex: number, sortType: string): boolean;
|
127
168
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
128
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "add-panel" | "tab-change" | "
|
129
|
-
|
169
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort")[], string, {
|
170
|
+
type: string;
|
130
171
|
extCls: string;
|
172
|
+
closable: boolean;
|
173
|
+
active: string | number;
|
131
174
|
showHeader: boolean;
|
132
|
-
type: string;
|
133
175
|
sortType: string;
|
176
|
+
tabPosition: string;
|
134
177
|
addable: boolean;
|
135
178
|
sortable: boolean;
|
136
179
|
labelHeight: number;
|
@@ -138,7 +181,6 @@ export declare const BKTab: {
|
|
138
181
|
validateActive: boolean;
|
139
182
|
changeOnHover: boolean;
|
140
183
|
changeOnHoverDelay: number;
|
141
|
-
tabPosition: string;
|
142
184
|
}> & {
|
143
185
|
beforeCreate?: (() => void) | (() => void)[];
|
144
186
|
created?: (() => void) | (() => void)[];
|
@@ -159,120 +201,160 @@ export declare const BKTab: {
|
|
159
201
|
$forceUpdate: () => void;
|
160
202
|
$nextTick: typeof import("vue").nextTick;
|
161
203
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
162
|
-
} & Readonly<{
|
163
|
-
active
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
204
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
205
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
206
|
+
default: string | number;
|
207
|
+
};
|
208
|
+
type: import("vue-types").VueTypeDef<string> & {
|
209
|
+
default: string;
|
210
|
+
};
|
211
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
212
|
+
default: string;
|
213
|
+
};
|
214
|
+
closable: BooleanConstructor;
|
215
|
+
addable: BooleanConstructor;
|
216
|
+
sortable: BooleanConstructor;
|
217
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
218
|
+
default: string;
|
219
|
+
};
|
220
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
221
|
+
default: number;
|
222
|
+
} & {
|
223
|
+
default: number;
|
224
|
+
};
|
225
|
+
scrollStep: import("vue-types").VueTypeValidableDef<number> & {
|
226
|
+
default: number;
|
227
|
+
} & {
|
228
|
+
default: number;
|
229
|
+
};
|
230
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
231
|
+
default: string;
|
232
|
+
} & {
|
233
|
+
default: string;
|
234
|
+
};
|
235
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
236
|
+
default: boolean;
|
237
|
+
} & {
|
238
|
+
default: boolean;
|
239
|
+
};
|
240
|
+
showHeader: import("vue-types").VueTypeValidableDef<boolean> & {
|
241
|
+
default: boolean;
|
242
|
+
} & {
|
243
|
+
default: boolean;
|
244
|
+
};
|
245
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
246
|
+
default: boolean;
|
247
|
+
} & {
|
248
|
+
default: boolean;
|
249
|
+
};
|
250
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
251
|
+
default: number;
|
252
|
+
} & {
|
253
|
+
default: number;
|
254
|
+
};
|
255
|
+
}>> & {
|
194
256
|
onDrag?: (...args: any[]) => any;
|
195
257
|
onChange?: (...args: any[]) => any;
|
258
|
+
onRemove?: (...args: any[]) => any;
|
196
259
|
onAdd?: (...args: any[]) => any;
|
197
260
|
"onAdd-panel"?: (...args: any[]) => any;
|
198
261
|
"onTab-change"?: (...args: any[]) => any;
|
199
|
-
"
|
262
|
+
"onRemove-panel"?: (...args: any[]) => any;
|
200
263
|
"onSort-change"?: (...args: any[]) => any;
|
201
264
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
202
|
-
onRemove?: (...args: any[]) => any;
|
203
265
|
"onUpdate:active"?: (...args: any[]) => any;
|
204
266
|
onSort?: (...args: any[]) => any;
|
205
267
|
} & import("vue").ShallowUnwrapRef<{
|
206
268
|
isMounted: import("vue").Ref<boolean>;
|
207
269
|
panels: import("vue").Ref<any[]>;
|
208
|
-
}> & {} & {} & {
|
209
270
|
tabAdd(e: MouseEvent): void;
|
210
271
|
tabChange(name: string): void;
|
211
272
|
tabRemove(index: number, panel: any): void;
|
212
|
-
tabSort(dragTabIndex: number, dropTabIndex: number):
|
273
|
+
tabSort(dragTabIndex: number, dropTabIndex: number, sortType: string): boolean;
|
213
274
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
214
|
-
} & import("vue").ComponentCustomProperties;
|
275
|
+
}> & {} & {} & import("vue").ComponentCustomProperties;
|
215
276
|
__isFragment?: never;
|
216
277
|
__isTeleport?: never;
|
217
278
|
__isSuspense?: never;
|
218
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
219
|
-
active
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
}
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
279
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
280
|
+
active: import("vue-types").VueTypeDef<string | number> & {
|
281
|
+
default: string | number;
|
282
|
+
};
|
283
|
+
type: import("vue-types").VueTypeDef<string> & {
|
284
|
+
default: string;
|
285
|
+
};
|
286
|
+
tabPosition: import("vue-types").VueTypeDef<string> & {
|
287
|
+
default: string;
|
288
|
+
};
|
289
|
+
closable: BooleanConstructor;
|
290
|
+
addable: BooleanConstructor;
|
291
|
+
sortable: BooleanConstructor;
|
292
|
+
sortType: import("vue-types").VueTypeDef<string> & {
|
293
|
+
default: string;
|
294
|
+
};
|
295
|
+
labelHeight: import("vue-types").VueTypeValidableDef<number> & {
|
296
|
+
default: number;
|
297
|
+
} & {
|
298
|
+
default: number;
|
299
|
+
};
|
300
|
+
scrollStep: import("vue-types").VueTypeValidableDef<number> & {
|
301
|
+
default: number;
|
302
|
+
} & {
|
303
|
+
default: number;
|
304
|
+
};
|
305
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
306
|
+
default: string;
|
307
|
+
} & {
|
308
|
+
default: string;
|
309
|
+
};
|
310
|
+
validateActive: import("vue-types").VueTypeValidableDef<boolean> & {
|
311
|
+
default: boolean;
|
312
|
+
} & {
|
313
|
+
default: boolean;
|
314
|
+
};
|
315
|
+
showHeader: import("vue-types").VueTypeValidableDef<boolean> & {
|
316
|
+
default: boolean;
|
317
|
+
} & {
|
318
|
+
default: boolean;
|
319
|
+
};
|
320
|
+
changeOnHover: import("vue-types").VueTypeValidableDef<boolean> & {
|
321
|
+
default: boolean;
|
322
|
+
} & {
|
323
|
+
default: boolean;
|
324
|
+
};
|
325
|
+
changeOnHoverDelay: import("vue-types").VueTypeValidableDef<number> & {
|
326
|
+
default: number;
|
327
|
+
} & {
|
328
|
+
default: number;
|
329
|
+
};
|
330
|
+
}>> & {
|
250
331
|
onDrag?: (...args: any[]) => any;
|
251
332
|
onChange?: (...args: any[]) => any;
|
333
|
+
onRemove?: (...args: any[]) => any;
|
252
334
|
onAdd?: (...args: any[]) => any;
|
253
335
|
"onAdd-panel"?: (...args: any[]) => any;
|
254
336
|
"onTab-change"?: (...args: any[]) => any;
|
255
|
-
"
|
337
|
+
"onRemove-panel"?: (...args: any[]) => any;
|
256
338
|
"onSort-change"?: (...args: any[]) => any;
|
257
339
|
"onOn-drag-tab"?: (...args: any[]) => any;
|
258
|
-
onRemove?: (...args: any[]) => any;
|
259
340
|
"onUpdate:active"?: (...args: any[]) => any;
|
260
341
|
onSort?: (...args: any[]) => any;
|
261
342
|
}, {
|
262
343
|
isMounted: import("vue").Ref<boolean>;
|
263
344
|
panels: import("vue").Ref<any[]>;
|
264
|
-
}, unknown, {}, {
|
265
345
|
tabAdd(e: MouseEvent): void;
|
266
346
|
tabChange(name: string): void;
|
267
347
|
tabRemove(index: number, panel: any): void;
|
268
|
-
tabSort(dragTabIndex: number, dropTabIndex: number):
|
348
|
+
tabSort(dragTabIndex: number, dropTabIndex: number, sortType: string): boolean;
|
269
349
|
tabDrag(dragTabIndex: number, dragEvent: DragEvent): void;
|
270
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "add-panel" | "tab-change" | "
|
271
|
-
|
350
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "drag" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active" | "sort")[], "change" | "drag" | "sort" | "add" | "remove" | "add-panel" | "tab-change" | "remove-panel" | "sort-change" | "on-drag-tab" | "update:active", {
|
351
|
+
type: string;
|
272
352
|
extCls: string;
|
353
|
+
closable: boolean;
|
354
|
+
active: string | number;
|
273
355
|
showHeader: boolean;
|
274
|
-
type: string;
|
275
356
|
sortType: string;
|
357
|
+
tabPosition: string;
|
276
358
|
addable: boolean;
|
277
359
|
sortable: boolean;
|
278
360
|
labelHeight: number;
|
@@ -280,137 +362,79 @@ export declare const BKTab: {
|
|
280
362
|
validateActive: boolean;
|
281
363
|
changeOnHover: boolean;
|
282
364
|
changeOnHoverDelay: number;
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
$: import("vue").ComponentInternalInstance;
|
288
|
-
$data: {};
|
289
|
-
$props: Partial<{
|
290
|
-
visible: boolean;
|
291
|
-
disabled: boolean;
|
292
|
-
renderDirective: string;
|
293
|
-
}> & Omit<Readonly<{
|
294
|
-
name?: unknown;
|
295
|
-
label?: unknown;
|
296
|
-
closable?: unknown;
|
297
|
-
visible?: unknown;
|
298
|
-
disabled?: unknown;
|
299
|
-
sortable?: unknown;
|
300
|
-
renderDirective?: unknown;
|
301
|
-
panel?: unknown;
|
302
|
-
} & {
|
303
|
-
visible: boolean;
|
304
|
-
disabled: boolean;
|
305
|
-
renderDirective: string;
|
306
|
-
} & {
|
307
|
-
label?: string | Function;
|
308
|
-
name?: string | number;
|
309
|
-
closable?: boolean | Function;
|
310
|
-
panel?: string | Function;
|
311
|
-
sortable?: boolean | Function;
|
312
|
-
}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "visible" | "disabled" | "renderDirective">;
|
313
|
-
$attrs: {
|
314
|
-
[x: string]: unknown;
|
365
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
|
366
|
+
TabPanel: import("vue").DefineComponent<{
|
367
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
368
|
+
default: string | number;
|
315
369
|
};
|
316
|
-
|
317
|
-
|
370
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
371
|
+
default: string;
|
372
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
373
|
+
default: (...args: any[]) => any;
|
374
|
+
});
|
375
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
376
|
+
default: boolean;
|
318
377
|
};
|
319
|
-
|
320
|
-
|
321
|
-
}>;
|
322
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
323
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
324
|
-
$emit: (event: string, ...args: any[]) => void;
|
325
|
-
$el: any;
|
326
|
-
$options: import("vue").ComponentOptionsBase<Readonly<{
|
327
|
-
name?: unknown;
|
328
|
-
label?: unknown;
|
329
|
-
closable?: unknown;
|
330
|
-
visible?: unknown;
|
331
|
-
disabled?: unknown;
|
332
|
-
sortable?: unknown;
|
333
|
-
renderDirective?: unknown;
|
334
|
-
panel?: unknown;
|
378
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
379
|
+
default: boolean;
|
335
380
|
} & {
|
336
|
-
|
337
|
-
|
338
|
-
|
381
|
+
default: boolean;
|
382
|
+
};
|
383
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
384
|
+
default: boolean;
|
385
|
+
};
|
386
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
387
|
+
default: boolean;
|
388
|
+
};
|
389
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
390
|
+
default: string;
|
391
|
+
};
|
392
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
393
|
+
default: string;
|
394
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
395
|
+
default: (...args: any[]) => any;
|
396
|
+
});
|
397
|
+
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
398
|
+
name: import("vue-types").VueTypeDef<string | number> & {
|
399
|
+
default: string | number;
|
400
|
+
};
|
401
|
+
label: (import("vue-types").VueTypeValidableDef<string> & {
|
402
|
+
default: string;
|
403
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
404
|
+
default: (...args: any[]) => any;
|
405
|
+
});
|
406
|
+
closable: import("vue-types").VueTypeValidableDef<boolean> & {
|
407
|
+
default: boolean;
|
408
|
+
};
|
409
|
+
visible: import("vue-types").VueTypeValidableDef<boolean> & {
|
410
|
+
default: boolean;
|
339
411
|
} & {
|
340
|
-
|
341
|
-
name?: string | number;
|
342
|
-
closable?: boolean | Function;
|
343
|
-
panel?: string | Function;
|
344
|
-
sortable?: boolean | Function;
|
345
|
-
}> & {}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
346
|
-
visible: boolean;
|
347
|
-
disabled: boolean;
|
348
|
-
renderDirective: string;
|
349
|
-
}> & {
|
350
|
-
beforeCreate?: (() => void) | (() => void)[];
|
351
|
-
created?: (() => void) | (() => void)[];
|
352
|
-
beforeMount?: (() => void) | (() => void)[];
|
353
|
-
mounted?: (() => void) | (() => void)[];
|
354
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
355
|
-
updated?: (() => void) | (() => void)[];
|
356
|
-
activated?: (() => void) | (() => void)[];
|
357
|
-
deactivated?: (() => void) | (() => void)[];
|
358
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
359
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
360
|
-
destroyed?: (() => void) | (() => void)[];
|
361
|
-
unmounted?: (() => void) | (() => void)[];
|
362
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
363
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
364
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
|
412
|
+
default: boolean;
|
365
413
|
};
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
414
|
+
disabled: import("vue-types").VueTypeValidableDef<boolean> & {
|
415
|
+
default: boolean;
|
416
|
+
};
|
417
|
+
sortable: import("vue-types").VueTypeValidableDef<boolean> & {
|
418
|
+
default: boolean;
|
419
|
+
};
|
420
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
421
|
+
default: string;
|
422
|
+
};
|
423
|
+
panel: (import("vue-types").VueTypeValidableDef<string> & {
|
424
|
+
default: string;
|
425
|
+
}) | (import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
426
|
+
default: (...args: any[]) => any;
|
427
|
+
});
|
428
|
+
}>>, {
|
429
|
+
label: string | ((...args: any[]) => any);
|
430
|
+
name: string | number;
|
380
431
|
disabled: boolean;
|
432
|
+
closable: boolean;
|
433
|
+
visible: boolean;
|
381
434
|
renderDirective: string;
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
}> & {} & import("vue").ShallowUnwrapRef<{}> & {} & {} & import("vue").ComponentCustomProperties;
|
389
|
-
__isFragment?: never;
|
390
|
-
__isTeleport?: never;
|
391
|
-
__isSuspense?: never;
|
392
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
393
|
-
name?: unknown;
|
394
|
-
label?: unknown;
|
395
|
-
closable?: unknown;
|
396
|
-
visible?: unknown;
|
397
|
-
disabled?: unknown;
|
398
|
-
sortable?: unknown;
|
399
|
-
renderDirective?: unknown;
|
400
|
-
panel?: unknown;
|
401
|
-
} & {
|
402
|
-
visible: boolean;
|
403
|
-
disabled: boolean;
|
404
|
-
renderDirective: string;
|
405
|
-
} & {
|
406
|
-
label?: string | Function;
|
407
|
-
name?: string | number;
|
408
|
-
closable?: boolean | Function;
|
409
|
-
panel?: string | Function;
|
410
|
-
sortable?: boolean | Function;
|
411
|
-
}> & {}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
412
|
-
visible: boolean;
|
413
|
-
disabled: boolean;
|
414
|
-
renderDirective: string;
|
415
|
-
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
416
|
-
export default BKTab;
|
435
|
+
panel: string | ((...args: any[]) => any);
|
436
|
+
sortable: boolean;
|
437
|
+
}>;
|
438
|
+
}>;
|
439
|
+
export { BkTab, TabPanel as BkTabPanel, };
|
440
|
+
export default BkTab;
|