bkui-vue 0.0.1-beta.6 → 0.0.1-beta.60
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 +57 -0
- package/dist/index.esm.js +21606 -0
- package/dist/index.umd.js +57 -0
- package/dist/style.css +1 -2009
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +33 -0
- package/lib/alert/index.d.ts +180 -0
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +12 -7
- package/lib/animate-number/index.d.ts +97 -0
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.d.ts +27 -13
- package/lib/backtop/backtop.variable.css +33 -0
- package/lib/backtop/index.d.ts +166 -0
- 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 +38 -5
- package/lib/badge/index.d.ts +267 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +18 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +51 -1
- package/lib/breadcrumb/index.d.ts +194 -0
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +3 -5
- package/lib/button/button.css +41 -21
- package/lib/button/button.d.ts +66 -30
- package/lib/button/button.less +44 -28
- package/lib/button/button.variable.css +74 -21
- package/lib/button/index.d.ts +237 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +53 -1
- package/lib/card/card.d.ts +74 -18
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +86 -1
- package/lib/card/index.d.ts +283 -0
- package/lib/card/index.js +1 -1
- package/lib/checkbox/checkbox-group.d.ts +13 -9
- package/lib/checkbox/checkbox.css +12 -0
- package/lib/checkbox/checkbox.d.ts +33 -30
- package/lib/checkbox/checkbox.less +17 -0
- package/lib/checkbox/checkbox.variable.css +45 -0
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +253 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +9 -12
- 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 +280 -0
- package/lib/code-diff/index.d.ts +154 -0
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.d.ts +50 -18
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.d.ts +166 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +42 -0
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +48 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +142 -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 +407 -0
- package/lib/date-picker/date-picker.d.ts +294 -0
- package/lib/date-picker/date-picker.less +526 -0
- package/lib/date-picker/date-picker.variable.css +501 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +713 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +22 -0
- package/lib/date-picker/props.d.ts +111 -0
- package/lib/date-picker/utils.d.ts +97 -0
- package/lib/dialog/dialog.css +40 -0
- package/lib/dialog/dialog.d.ts +226 -51
- package/lib/dialog/dialog.less +16 -0
- package/lib/dialog/dialog.variable.css +40 -0
- package/lib/dialog/index.d.ts +608 -0
- package/lib/dialog/index.js +1 -1
- package/lib/directives/clickoutside.d.ts +3 -0
- package/lib/directives/index.d.ts +3 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +48 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +132 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -0
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/dropdown-item.d.ts +19 -0
- package/lib/dropdown/dropdown-menu.d.ts +16 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +63 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +137 -0
- package/lib/dropdown/index.d.ts +200 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +33 -0
- package/lib/exception/index.d.ts +96 -0
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
- package/lib/fixed-navbar/fixed-navbar.variable.css +33 -0
- package/lib/fixed-navbar/index.d.ts +112 -0
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/common.d.ts +3 -0
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +145 -0
- package/lib/form/form.css +113 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.less +141 -0
- package/lib/form/form.variable.css +207 -0
- package/lib/form/index.d.ts +262 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -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.d.ts +4 -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.d.ts +4 -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.d.ts +4 -0
- package/lib/icon/angle-down-line.js +1 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +1 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +1 -0
- package/lib/icon/angle-right.d.ts +4 -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.d.ts +4 -0
- package/lib/icon/angle-up.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/bk.d.ts +4 -0
- package/lib/icon/bk.js +1 -0
- package/lib/icon/circle.d.ts +4 -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.d.ts +4 -0
- package/lib/icon/close.js +1 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +1 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +1 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +1 -0
- package/lib/icon/copy.d.ts +4 -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/done.d.ts +4 -0
- package/lib/icon/done.js +1 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +1 -0
- package/lib/icon/down-small.d.ts +4 -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.d.ts +4 -0
- package/lib/icon/error.js +1 -0
- package/lib/icon/eye.d.ts +4 -0
- package/lib/icon/eye.js +1 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +1 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +1 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +1 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +1 -0
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +1 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +1 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +1 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/index.d.ts +57 -0
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +1 -0
- package/lib/icon/info.d.ts +4 -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/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +1 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +1 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +1 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +1 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +1 -0
- package/lib/icon/share.d.ts +4 -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.d.ts +4 -0
- package/lib/icon/success.js +1 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +1 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +1 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +1 -0
- package/lib/icon/unvisible.d.ts +4 -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/warn.d.ts +4 -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 +3 -0
- package/lib/index.js +1 -0
- package/lib/input/index.d.ts +451 -0
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +75 -4
- package/lib/input/input.d.ts +118 -43
- package/lib/input/input.less +86 -8
- package/lib/input/input.variable.css +109 -4
- package/lib/link/index.d.ts +164 -0
- package/lib/link/index.js +1 -1
- package/lib/link/link.d.ts +25 -13
- package/lib/link/link.variable.css +33 -0
- package/lib/loading/index.d.ts +172 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +118 -73
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +75 -58
- package/lib/loading/loading.variable.css +151 -73
- package/lib/menu/index.d.ts +188 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +14 -0
- package/lib/menu/menu-item.d.ts +16 -0
- package/lib/menu/menu.css +190 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +284 -0
- package/lib/menu/submenu.css +3 -0
- package/lib/menu/submenu.d.ts +22 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +97 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +2 -0
- package/lib/message/index.js +1 -0
- package/lib/message/message.css +62 -0
- package/lib/message/message.less +72 -0
- package/lib/message/message.variable.css +156 -0
- package/lib/message/messageConstructor.d.ts +106 -0
- package/lib/modal/index.d.ts +374 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +20 -0
- package/lib/modal/modal.d.ts +108 -27
- package/lib/modal/modal.less +27 -0
- package/lib/modal/modal.variable.css +20 -0
- package/lib/modal/props.mixin.d.ts +44 -11
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +25 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +111 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +278 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +143 -0
- package/lib/notify/notifyConstructor.d.ts +91 -0
- 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 +273 -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 +318 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +23 -14
- package/lib/popover/popover.d.ts +90 -46
- package/lib/popover/popover.less +57 -46
- package/lib/popover/popover.variable.css +56 -14
- package/lib/popover/props.d.ts +89 -0
- package/lib/preset.d.ts +7 -0
- 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 +232 -0
- package/lib/progress/index.d.ts +398 -0
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +8 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +41 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +278 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +29 -20
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +8 -2
- package/lib/radio/radio.d.ts +27 -17
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +41 -2
- package/lib/radio/type.d.ts +10 -5
- package/lib/rate/index.d.ts +113 -0
- 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 +283 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1377 -0
- package/lib/select/index.js +1 -1
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +248 -17
- package/lib/select/select.d.ts +282 -156
- package/lib/select/select.less +251 -46
- package/lib/select/select.variable.css +281 -17
- package/lib/select/type.d.ts +31 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
- package/lib/shared/index.d.ts +52 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
- package/lib/shared/utils.d.ts +6 -0
- package/lib/shared/vue-types.d.ts +8 -7
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/index.d.ts +337 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +114 -30
- package/lib/sideslider/sideslider.variable.css +33 -0
- package/lib/slider/index.d.ts +27 -0
- package/lib/slider/index.js +1 -0
- package/lib/slider/slider-button.d.ts +80 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +201 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +243 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +1 -0
- package/lib/steps/steps.css +288 -0
- package/lib/steps/steps.d.ts +161 -0
- package/lib/steps/steps.less +324 -0
- package/lib/steps/steps.variable.css +382 -0
- package/lib/styles/index.d.ts +48 -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 +8 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +8 -0
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +53 -2
- 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 +286 -0
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +157 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +190 -135
- package/lib/tab/index.d.ts +443 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/props.d.ts +191 -0
- package/lib/tab/tab-nav.d.ts +165 -0
- package/lib/tab/tab-panel.d.ts +73 -0
- package/lib/tab/tab.css +148 -0
- package/lib/tab/tab.d.ts +140 -0
- package/lib/tab/tab.less +222 -0
- package/lib/tab/tab.variable.css +242 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +359 -0
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/head-filter.css +68 -0
- package/lib/table/plugins/head-filter.less +83 -0
- package/lib/table/plugins/head-filter.variable.css +162 -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 +116 -0
- package/lib/table/plugins/settings.css +110 -0
- package/lib/table/plugins/settings.less +136 -0
- package/lib/table/plugins/settings.variable.css +204 -0
- package/lib/table/props.d.ts +184 -0
- package/lib/table/render.d.ts +120 -0
- package/lib/table/table.css +321 -0
- package/lib/table/table.d.ts +114 -36
- package/lib/table/table.less +160 -1
- package/lib/table/table.variable.css +354 -0
- package/lib/table/use-common.d.ts +20 -0
- package/lib/table/utils.d.ts +83 -0
- package/lib/tag/index.d.ts +229 -0
- 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 +130 -0
- package/lib/tag-input/common.d.ts +24 -0
- package/lib/tag-input/index.d.ts +2 -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 +208 -0
- package/lib/tag-input/tag-input.d.ts +374 -0
- package/lib/tag-input/tag-input.less +250 -0
- package/lib/tag-input/tag-input.variable.css +302 -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 +239 -0
- package/lib/timeline/timeline.variable.css +329 -0
- package/lib/transfer/index.d.ts +351 -0
- package/lib/transfer/index.js +1 -0
- package/lib/transfer/transfer.css +158 -0
- package/lib/transfer/transfer.d.ts +185 -0
- package/lib/transfer/transfer.less +171 -0
- package/lib/transfer/transfer.variable.css +252 -0
- package/lib/tree/index.d.ts +266 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +99 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +110 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +144 -0
- package/lib/tree/use-async.d.ts +5 -0
- package/lib/tree/use-node-action.d.ts +6 -0
- package/lib/tree/use-node-attribute.d.ts +13 -0
- package/lib/tree/util.d.ts +70 -0
- package/lib/use-form.d.ts +3 -0
- package/lib/use-message.d.ts +2 -0
- package/lib/virtual-render/index.d.ts +556 -0
- package/lib/virtual-render/index.js +1 -0
- package/lib/virtual-render/props.d.ts +157 -0
- package/lib/virtual-render/v-virtual-render.d.ts +7 -0
- package/lib/virtual-render/virtual-render.css +33 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.less +43 -0
- package/lib/virtual-render/virtual-render.variable.css +33 -0
- package/package.json +108 -79
- package/dist/bkui-vue.cjs.js +0 -4887
- package/dist/bkui-vue.esm.js +0 -4883
- package/dist/bkui-vue.umd.js +0 -4890
- package/lib/checkbox-group/index.js +0 -1
- package/lib/radio-button/index.js +0 -1
- package/lib/radio-group/index.js +0 -1
- package/lib/styles/index.js +0 -1
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
@@ -1,3 +1,15 @@
|
|
1
|
+
declare type BkMaskManagerConfig = {
|
2
|
+
multiInstance?: boolean;
|
3
|
+
maskAttrTag?: string;
|
4
|
+
parentNode?: HTMLElement | Document;
|
5
|
+
maskStyle?: any;
|
6
|
+
};
|
7
|
+
declare type MaskConfigStore = {
|
8
|
+
zIndex: number;
|
9
|
+
style: any;
|
10
|
+
uuid?: string;
|
11
|
+
preUID?: string;
|
12
|
+
};
|
1
13
|
export declare class BkMaskManager {
|
2
14
|
/** 遮罩容器 */
|
3
15
|
private readonly mask;
|
@@ -11,6 +23,10 @@ export declare class BkMaskManager {
|
|
11
23
|
private parentNode;
|
12
24
|
/** 遮罩当前显示组件实例 **/
|
13
25
|
private activeInstance;
|
26
|
+
/** 记录已在使用的z-index */
|
27
|
+
private zIndexStore;
|
28
|
+
/** 记录最后一个UUID */
|
29
|
+
private lastUUID;
|
14
30
|
/** 遮罩样式 **/
|
15
31
|
private readonly maskStyle;
|
16
32
|
/**
|
@@ -19,9 +35,21 @@ export declare class BkMaskManager {
|
|
19
35
|
* @param multiInstance 是否允许多实例
|
20
36
|
* @param maskAttrTag 遮罩DOM唯一标志,支持自定义和 auto
|
21
37
|
*/
|
22
|
-
constructor(config?:
|
23
|
-
|
24
|
-
|
38
|
+
constructor(config?: BkMaskManagerConfig);
|
39
|
+
/**
|
40
|
+
* 显示遮罩
|
41
|
+
* @param content 遮罩内容
|
42
|
+
* @param zIndex z-index
|
43
|
+
* @param showMask 是否显示遮罩
|
44
|
+
* @param appendStyle 追加样式
|
45
|
+
*/
|
46
|
+
show(content?: HTMLElement, zIndex?: number, showMask?: boolean, appendStyle?: {}, uuid?: string | null): void;
|
47
|
+
hide(content?: HTMLElement, uuid?: string): void;
|
48
|
+
storeMaskInsCfg(config: MaskConfigStore): MaskConfigStore;
|
49
|
+
/**
|
50
|
+
* 移除最后一次缓存数据
|
51
|
+
*/
|
52
|
+
popIndexStore(uuid: string): boolean;
|
25
53
|
backupActiveInstance(): void;
|
26
54
|
backupContentElement(content?: HTMLElement): void;
|
27
55
|
getActiveContentInstance(): HTMLElement;
|
@@ -45,3 +73,4 @@ export declare class BkMaskManager {
|
|
45
73
|
private appendContentToMask;
|
46
74
|
}
|
47
75
|
export declare const bKMaskManager: BkMaskManager;
|
76
|
+
export {};
|
@@ -3,7 +3,14 @@ declare class BKPopIndexManager {
|
|
3
3
|
private popInstanceList;
|
4
4
|
private readonly uuidAttrName;
|
5
5
|
constructor();
|
6
|
-
|
6
|
+
/**
|
7
|
+
* 展示弹窗
|
8
|
+
* @param content 弹窗内容
|
9
|
+
* @param showMask 是否显示遮罩
|
10
|
+
* @param appendStyle 追加样式
|
11
|
+
* @returns
|
12
|
+
*/
|
13
|
+
show(content?: HTMLElement, showMask?: boolean, appendStyle?: {}): void;
|
7
14
|
/**
|
8
15
|
* 关闭最后一个弹窗 如果当前还有父级弹窗,则激活父级弹窗
|
9
16
|
* @param removeLastContent 默认:true 是否自动关闭最后一个弹窗实例 某些场景下,已经主动关闭最后一个弹窗,此处只需要处理其他逻辑
|
@@ -1,16 +1,28 @@
|
|
1
|
-
import { Instance,
|
1
|
+
import { Instance, Modifier, Placement, PositioningStrategy, State } from '@popperjs/core';
|
2
|
+
export declare type OnFirstUpdateFnType = (instance: Partial<State>) => void;
|
2
3
|
export declare type IOptions = {
|
3
4
|
placement?: Placement;
|
4
5
|
modifiers?: Array<Partial<Modifier<any, any>>>;
|
5
6
|
strategy?: PositioningStrategy;
|
6
|
-
onFirstUpdate?:
|
7
|
+
onFirstUpdate?: OnFirstUpdateFnType;
|
7
8
|
isShow?: boolean;
|
8
9
|
theme?: string;
|
9
10
|
trigger?: string;
|
11
|
+
disabled?: boolean;
|
12
|
+
appendTo?: string | HTMLElement;
|
13
|
+
afterShow?: () => void;
|
14
|
+
afterHidden?: () => void;
|
15
|
+
/**
|
16
|
+
* 如果设置了appendTo为指定DOM,此配置项生效
|
17
|
+
* 是否将弹出内容固定到目标元素位置
|
18
|
+
* 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
|
19
|
+
*/
|
20
|
+
fixOnBoundary?: Boolean;
|
10
21
|
};
|
11
22
|
export declare type IBKPopover = Instance & {
|
12
23
|
show: () => void;
|
13
24
|
hide: () => void;
|
25
|
+
updateDisabled: (val: boolean) => void;
|
14
26
|
isShow: boolean;
|
15
27
|
};
|
16
28
|
export declare class BKPopover {
|
@@ -27,28 +39,67 @@ export declare class BKPopover {
|
|
27
39
|
/** Popover Content 外层容器,目标元素:实际弹出内容 */
|
28
40
|
private popperRefer?;
|
29
41
|
/** 默认初始化配置项 */
|
30
|
-
private
|
42
|
+
private instanceOptions;
|
43
|
+
/** hide延时 */
|
44
|
+
private delay;
|
45
|
+
/** 是否进入popperRefer */
|
46
|
+
private isInnerPopper;
|
47
|
+
/** 是否为禁用状态 */
|
48
|
+
private disabled;
|
49
|
+
/** 执行显示函数 */
|
50
|
+
private afterShow;
|
51
|
+
/** 执行隐藏函数 */
|
52
|
+
private afterHidden;
|
53
|
+
/** 弹出内容AppendTo */
|
54
|
+
private appendTo;
|
55
|
+
/** 父级容器 */
|
56
|
+
private container?;
|
57
|
+
/**
|
58
|
+
* 如果设置了appendTo为指定DOM,此配置项生效
|
59
|
+
* 是否将弹出内容固定到目标元素位置
|
60
|
+
* 例如:appendTo = document.body, fixOnBoundary = true,则弹出内容会一直固定到body
|
61
|
+
*/
|
62
|
+
private fixOnBoundary;
|
31
63
|
constructor(reference?: string | HTMLElement, popperRefer?: string | HTMLElement, options?: IOptions);
|
32
64
|
forceUpdate(): void;
|
33
65
|
update(): void;
|
66
|
+
updateOptions(options: IOptions): void;
|
34
67
|
setOptions(options: IOptions): void;
|
35
68
|
destroy(): void;
|
69
|
+
updateDisabled(disabled?: boolean): void;
|
36
70
|
/**
|
37
71
|
* 展示Pop
|
38
|
-
* @param
|
72
|
+
* @param _event 触发事件
|
39
73
|
*/
|
40
|
-
show(
|
74
|
+
show(_event: any): void;
|
41
75
|
/**
|
42
76
|
* 隐藏
|
43
77
|
* @param event 触发事件
|
44
78
|
*/
|
45
|
-
hide(
|
79
|
+
hide(): void;
|
80
|
+
/**
|
81
|
+
* 还原PopContent到初试位置
|
82
|
+
*/
|
83
|
+
private restorePopContent;
|
84
|
+
/**
|
85
|
+
* 挂载PopContent到目标位置
|
86
|
+
*/
|
87
|
+
private appendToTarget;
|
88
|
+
/**
|
89
|
+
* 获取目标位置元素
|
90
|
+
* @returns
|
91
|
+
*/
|
92
|
+
private getAppendToTarget;
|
46
93
|
/**
|
47
94
|
* 初始化默认配置
|
48
95
|
* @param opts
|
49
96
|
* @returns
|
50
97
|
*/
|
51
98
|
private initDefaultOptions;
|
99
|
+
/**
|
100
|
+
* 判定是否需要将PopContent挂载到目标元素
|
101
|
+
*/
|
102
|
+
private handleFirstUpdate;
|
52
103
|
/**
|
53
104
|
* 剔除 Pop 外层容器,获取目标元素
|
54
105
|
* @returns
|
@@ -1,12 +1,10 @@
|
|
1
|
-
import {
|
1
|
+
import { CSSProperties, VNodeChild } from 'vue';
|
2
2
|
import { VueTypeDef } from 'vue-types';
|
3
3
|
declare const propTypesNS: {
|
4
4
|
new (): {};
|
5
5
|
defaults: Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
6
6
|
sensibleDefaults: boolean | Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
7
|
-
config:
|
8
|
-
silent: boolean;
|
9
|
-
};
|
7
|
+
config: import("vue-types/dist/types").VueTypesConfig;
|
10
8
|
readonly any: import("vue-types").VueTypeValidableDef<any>;
|
11
9
|
readonly func: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
12
10
|
default: (...args: any[]) => any;
|
@@ -45,9 +43,7 @@ declare const propTypesNS: {
|
|
45
43
|
new (): {};
|
46
44
|
defaults: Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
47
45
|
sensibleDefaults: boolean | Partial<import("vue-types/dist/types").VueTypesDefaults>;
|
48
|
-
config:
|
49
|
-
silent: boolean;
|
50
|
-
};
|
46
|
+
config: import("vue-types/dist/types").VueTypesConfig;
|
51
47
|
readonly any: import("vue-types").VueTypeValidableDef<any>;
|
52
48
|
readonly func: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
|
53
49
|
default: (...args: any[]) => any;
|
@@ -94,6 +90,10 @@ declare const propTypesNS: {
|
|
94
90
|
};
|
95
91
|
};
|
96
92
|
export declare type VueNode = VNodeChild | JSX.Element;
|
93
|
+
export declare type ElementType<T extends ReadonlyArray<unknown>> = T extends ReadonlyArray<infer ElementType> ? ElementType : never;
|
94
|
+
export declare function stringEnum<T extends string>(o: Array<T>): {
|
95
|
+
[K in T]: K;
|
96
|
+
};
|
97
97
|
export declare enum Size {
|
98
98
|
Small = "small",
|
99
99
|
Large = "large"
|
@@ -110,5 +110,6 @@ export declare class PropTypes extends propTypesNS {
|
|
110
110
|
static placement(placements?: string[]): VueTypeDef<string>;
|
111
111
|
static commonType(types?: string[], name?: string): VueTypeDef<string>;
|
112
112
|
static style(): VueTypeDef<CSSProperties>;
|
113
|
+
static position(positions?: string[]): VueTypeDef<string>;
|
113
114
|
}
|
114
115
|
export {};
|
@@ -40,7 +40,9 @@ export declare enum BKLAYERTYPE {
|
|
40
40
|
/** 各类弹窗或抽屉(非模态弹窗不考虑) */
|
41
41
|
MODAL = "modal",
|
42
42
|
/** 各类消息提示 */
|
43
|
-
MESSAGE = "message"
|
43
|
+
MESSAGE = "message",
|
44
|
+
/** 各类popper提示 */
|
45
|
+
POPPER = "popper"
|
44
46
|
}
|
45
47
|
/** 定义不同分层默认值 */
|
46
48
|
export declare const BKLAYERD_INDEX_EFAULT_VALUE: {
|
@@ -51,6 +53,7 @@ export declare const BKLAYERD_INDEX_EFAULT_VALUE: {
|
|
51
53
|
modal: number;
|
52
54
|
plugins: number;
|
53
55
|
message: number;
|
56
|
+
popper: number;
|
54
57
|
};
|
55
58
|
declare class BKZIndexManager {
|
56
59
|
storageLayerIndexValue: any;
|
@@ -69,6 +72,8 @@ declare class BKZIndexManager {
|
|
69
72
|
getFullScreenNextIndex(): number;
|
70
73
|
/** 获取导航类型最新zIndex的值 */
|
71
74
|
getNaviNextIndex(): number;
|
75
|
+
/** 获取导航类型最新zIndex的值 */
|
76
|
+
getPopperIndex(): number;
|
72
77
|
/**
|
73
78
|
* 更新自定义默认zIndex配置
|
74
79
|
* @param config 配置项
|
@@ -0,0 +1,337 @@
|
|
1
|
+
declare const BkSideslider: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
draggable: boolean;
|
7
|
+
showMask: boolean;
|
8
|
+
size: string;
|
9
|
+
direction: string;
|
10
|
+
dialogType: string;
|
11
|
+
isShow: boolean;
|
12
|
+
customClass: string | unknown[];
|
13
|
+
scrollable: boolean;
|
14
|
+
closeIcon: boolean;
|
15
|
+
escClose: boolean;
|
16
|
+
maskClose: boolean;
|
17
|
+
fullscreen: boolean;
|
18
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
19
|
+
direction: {
|
20
|
+
type: StringConstructor;
|
21
|
+
default: string;
|
22
|
+
validator: (value: string) => boolean;
|
23
|
+
};
|
24
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
25
|
+
default: boolean;
|
26
|
+
} & {
|
27
|
+
default: boolean;
|
28
|
+
};
|
29
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
30
|
+
height: import("vue-types").VueTypeDef<string | number>;
|
31
|
+
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
32
|
+
default: string;
|
33
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
34
|
+
default: () => unknown[];
|
35
|
+
});
|
36
|
+
scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
|
37
|
+
default: boolean;
|
38
|
+
} & {
|
39
|
+
default: boolean;
|
40
|
+
};
|
41
|
+
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
42
|
+
default: boolean;
|
43
|
+
} & {
|
44
|
+
default: boolean;
|
45
|
+
};
|
46
|
+
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
47
|
+
default: boolean;
|
48
|
+
} & {
|
49
|
+
default: boolean;
|
50
|
+
};
|
51
|
+
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
52
|
+
default: boolean;
|
53
|
+
} & {
|
54
|
+
default: boolean;
|
55
|
+
};
|
56
|
+
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
57
|
+
default: boolean;
|
58
|
+
} & {
|
59
|
+
default: boolean;
|
60
|
+
};
|
61
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
62
|
+
default: boolean;
|
63
|
+
} & {
|
64
|
+
default: boolean;
|
65
|
+
};
|
66
|
+
size: import("vue-types").VueTypeDef<string> & {
|
67
|
+
default: string;
|
68
|
+
};
|
69
|
+
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
70
|
+
default: boolean;
|
71
|
+
} & {
|
72
|
+
default: boolean;
|
73
|
+
};
|
74
|
+
dialogType: import("vue-types").VueTypeDef<string> & {
|
75
|
+
default: string;
|
76
|
+
};
|
77
|
+
}>> & {
|
78
|
+
onClosed?: (...args: any[]) => any;
|
79
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
80
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "draggable" | "showMask" | "size" | "direction" | "dialogType" | "isShow" | "customClass" | "scrollable" | "closeIcon" | "escClose" | "maskClose" | "fullscreen">;
|
81
|
+
$attrs: {
|
82
|
+
[x: string]: unknown;
|
83
|
+
};
|
84
|
+
$refs: {
|
85
|
+
[x: string]: unknown;
|
86
|
+
};
|
87
|
+
$slots: Readonly<{
|
88
|
+
[name: string]: import("vue").Slot;
|
89
|
+
}>;
|
90
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
91
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
92
|
+
$emit: (event: "closed" | "update:isShow", ...args: any[]) => void;
|
93
|
+
$el: any;
|
94
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
95
|
+
direction: {
|
96
|
+
type: StringConstructor;
|
97
|
+
default: string;
|
98
|
+
validator: (value: string) => boolean;
|
99
|
+
};
|
100
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
101
|
+
default: boolean;
|
102
|
+
} & {
|
103
|
+
default: boolean;
|
104
|
+
};
|
105
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
106
|
+
height: import("vue-types").VueTypeDef<string | number>;
|
107
|
+
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
108
|
+
default: string;
|
109
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
110
|
+
default: () => unknown[];
|
111
|
+
});
|
112
|
+
scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
|
113
|
+
default: boolean;
|
114
|
+
} & {
|
115
|
+
default: boolean;
|
116
|
+
};
|
117
|
+
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
118
|
+
default: boolean;
|
119
|
+
} & {
|
120
|
+
default: boolean;
|
121
|
+
};
|
122
|
+
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
123
|
+
default: boolean;
|
124
|
+
} & {
|
125
|
+
default: boolean;
|
126
|
+
};
|
127
|
+
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
128
|
+
default: boolean;
|
129
|
+
} & {
|
130
|
+
default: boolean;
|
131
|
+
};
|
132
|
+
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
133
|
+
default: boolean;
|
134
|
+
} & {
|
135
|
+
default: boolean;
|
136
|
+
};
|
137
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
138
|
+
default: boolean;
|
139
|
+
} & {
|
140
|
+
default: boolean;
|
141
|
+
};
|
142
|
+
size: import("vue-types").VueTypeDef<string> & {
|
143
|
+
default: string;
|
144
|
+
};
|
145
|
+
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
146
|
+
default: boolean;
|
147
|
+
} & {
|
148
|
+
default: boolean;
|
149
|
+
};
|
150
|
+
dialogType: import("vue-types").VueTypeDef<string> & {
|
151
|
+
default: string;
|
152
|
+
};
|
153
|
+
}>> & {
|
154
|
+
onClosed?: (...args: any[]) => any;
|
155
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
156
|
+
}, unknown, unknown, {}, {
|
157
|
+
handleClose(): void;
|
158
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], string, {
|
159
|
+
draggable: boolean;
|
160
|
+
showMask: boolean;
|
161
|
+
size: string;
|
162
|
+
direction: string;
|
163
|
+
dialogType: string;
|
164
|
+
isShow: boolean;
|
165
|
+
customClass: string | unknown[];
|
166
|
+
scrollable: boolean;
|
167
|
+
closeIcon: boolean;
|
168
|
+
escClose: boolean;
|
169
|
+
maskClose: boolean;
|
170
|
+
fullscreen: boolean;
|
171
|
+
}> & {
|
172
|
+
beforeCreate?: (() => void) | (() => void)[];
|
173
|
+
created?: (() => void) | (() => void)[];
|
174
|
+
beforeMount?: (() => void) | (() => void)[];
|
175
|
+
mounted?: (() => void) | (() => void)[];
|
176
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
177
|
+
updated?: (() => void) | (() => void)[];
|
178
|
+
activated?: (() => void) | (() => void)[];
|
179
|
+
deactivated?: (() => void) | (() => void)[];
|
180
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
181
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
182
|
+
destroyed?: (() => void) | (() => void)[];
|
183
|
+
unmounted?: (() => void) | (() => void)[];
|
184
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
185
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
186
|
+
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)[];
|
187
|
+
};
|
188
|
+
$forceUpdate: () => void;
|
189
|
+
$nextTick: typeof import("vue").nextTick;
|
190
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
191
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
192
|
+
direction: {
|
193
|
+
type: StringConstructor;
|
194
|
+
default: string;
|
195
|
+
validator: (value: string) => boolean;
|
196
|
+
};
|
197
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
198
|
+
default: boolean;
|
199
|
+
} & {
|
200
|
+
default: boolean;
|
201
|
+
};
|
202
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
203
|
+
height: import("vue-types").VueTypeDef<string | number>;
|
204
|
+
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
205
|
+
default: string;
|
206
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
207
|
+
default: () => unknown[];
|
208
|
+
});
|
209
|
+
scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
|
210
|
+
default: boolean;
|
211
|
+
} & {
|
212
|
+
default: boolean;
|
213
|
+
};
|
214
|
+
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
215
|
+
default: boolean;
|
216
|
+
} & {
|
217
|
+
default: boolean;
|
218
|
+
};
|
219
|
+
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
220
|
+
default: boolean;
|
221
|
+
} & {
|
222
|
+
default: boolean;
|
223
|
+
};
|
224
|
+
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
225
|
+
default: boolean;
|
226
|
+
} & {
|
227
|
+
default: boolean;
|
228
|
+
};
|
229
|
+
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
230
|
+
default: boolean;
|
231
|
+
} & {
|
232
|
+
default: boolean;
|
233
|
+
};
|
234
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
235
|
+
default: boolean;
|
236
|
+
} & {
|
237
|
+
default: boolean;
|
238
|
+
};
|
239
|
+
size: import("vue-types").VueTypeDef<string> & {
|
240
|
+
default: string;
|
241
|
+
};
|
242
|
+
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
243
|
+
default: boolean;
|
244
|
+
} & {
|
245
|
+
default: boolean;
|
246
|
+
};
|
247
|
+
dialogType: import("vue-types").VueTypeDef<string> & {
|
248
|
+
default: string;
|
249
|
+
};
|
250
|
+
}>> & {
|
251
|
+
onClosed?: (...args: any[]) => any;
|
252
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
253
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
|
254
|
+
handleClose(): void;
|
255
|
+
} & import("vue").ComponentCustomProperties;
|
256
|
+
__isFragment?: never;
|
257
|
+
__isTeleport?: never;
|
258
|
+
__isSuspense?: never;
|
259
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
260
|
+
direction: {
|
261
|
+
type: StringConstructor;
|
262
|
+
default: string;
|
263
|
+
validator: (value: string) => boolean;
|
264
|
+
};
|
265
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
266
|
+
default: boolean;
|
267
|
+
} & {
|
268
|
+
default: boolean;
|
269
|
+
};
|
270
|
+
width: import("vue-types").VueTypeDef<string | number>;
|
271
|
+
height: import("vue-types").VueTypeDef<string | number>;
|
272
|
+
customClass: (import("vue-types").VueTypeValidableDef<string> & {
|
273
|
+
default: string;
|
274
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
275
|
+
default: () => unknown[];
|
276
|
+
});
|
277
|
+
scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
|
278
|
+
default: boolean;
|
279
|
+
} & {
|
280
|
+
default: boolean;
|
281
|
+
};
|
282
|
+
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
283
|
+
default: boolean;
|
284
|
+
} & {
|
285
|
+
default: boolean;
|
286
|
+
};
|
287
|
+
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
288
|
+
default: boolean;
|
289
|
+
} & {
|
290
|
+
default: boolean;
|
291
|
+
};
|
292
|
+
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
293
|
+
default: boolean;
|
294
|
+
} & {
|
295
|
+
default: boolean;
|
296
|
+
};
|
297
|
+
maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
298
|
+
default: boolean;
|
299
|
+
} & {
|
300
|
+
default: boolean;
|
301
|
+
};
|
302
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
303
|
+
default: boolean;
|
304
|
+
} & {
|
305
|
+
default: boolean;
|
306
|
+
};
|
307
|
+
size: import("vue-types").VueTypeDef<string> & {
|
308
|
+
default: string;
|
309
|
+
};
|
310
|
+
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
311
|
+
default: boolean;
|
312
|
+
} & {
|
313
|
+
default: boolean;
|
314
|
+
};
|
315
|
+
dialogType: import("vue-types").VueTypeDef<string> & {
|
316
|
+
default: string;
|
317
|
+
};
|
318
|
+
}>> & {
|
319
|
+
onClosed?: (...args: any[]) => any;
|
320
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
321
|
+
}, unknown, unknown, {}, {
|
322
|
+
handleClose(): void;
|
323
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], "closed" | "update:isShow", {
|
324
|
+
draggable: boolean;
|
325
|
+
showMask: boolean;
|
326
|
+
size: string;
|
327
|
+
direction: string;
|
328
|
+
dialogType: string;
|
329
|
+
isShow: boolean;
|
330
|
+
customClass: string | unknown[];
|
331
|
+
scrollable: boolean;
|
332
|
+
closeIcon: boolean;
|
333
|
+
escClose: boolean;
|
334
|
+
maskClose: boolean;
|
335
|
+
fullscreen: boolean;
|
336
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
337
|
+
export default BkSideslider;
|
package/lib/sideslider/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../button"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../modal"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("../button"),require("../modal")):t(e["../shared"],e.vue,e["../button"],e["../modal"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r)=>(()=>{"use strict";var i={4976:e=>{e.exports=o},8014:e=>{e.exports=r},4212:t=>{t.exports=e},748:e=>{e.exports=t}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return i[e](o,o.exports,s),o.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{s.r(d),s.d(d,{default:()=>u});var e=s(4212),t=s(748),o=s(4976),r=s.n(o),i=s(8014),n=s.n(i),l=n().propsMixin,a=Object.assign({},l);a.width.default="400",a.height.default="100%";const c=(0,t.defineComponent)({name:"Sideslider",components:{BkModal:n(),BkButton:r()},props:Object.assign(Object.assign({},a),{direction:{type:String,default:"right",validator:function(e){var t=["left","right"];return!(t.indexOf(e)<0&&(console.error("direction property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}}}),emits:["closed","update:isShow"],methods:{handleClose:function(){this.$emit("update:isShow",!1),this.$emit("closed")}},render:function(){var e,o=this,r={header:function(){var e,r,i;return[(0,t.createVNode)("div",{class:"bk-sideslider-header"},[(0,t.createVNode)("span",{class:"bk-sideslider-close ".concat(o.direction),onClick:o.handleClose},null),(0,t.createVNode)("span",{class:"bk-sideslider-title ".concat(o.direction)},[null!==(i=null===(r=(e=o.$slots).header)||void 0===r?void 0:r.call(e))&&void 0!==i?i:"Header"])])]},default:function(){var e,t,r;return null!==(r=null===(t=(e=o.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==r?r:"Content"},footer:function(){return(0,t.createVNode)("div",{class:"bk-sideslider-footer"},null)}},i="bk-sideslider-wrapper ".concat(this.scrollable?"scroll-able":"");return(0,t.createVNode)(n(),(0,t.mergeProps)(this.$props,{class:i,style:"".concat(this.direction,": 0")}),"function"==typeof(e=r)||"[object Object]"===Object.prototype.toString.call(e)&&!(0,t.isVNode)(e)?r:{default:function(){return[r]}})}}),u=(0,e.withInstall)(c)})(),d})()));
|