bkui-vue 0.0.1-beta.5 → 0.0.1-beta.52
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 +20860 -0
- package/dist/index.umd.js +57 -0
- 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.d.ts +40 -19
- package/lib/badge/badge.variable.css +33 -0
- package/lib/badge/index.d.ts +217 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
- package/lib/breadcrumb/breadcrumb.css +10 -1
- package/lib/breadcrumb/breadcrumb.d.ts +37 -9
- package/lib/breadcrumb/breadcrumb.less +13 -2
- package/lib/breadcrumb/breadcrumb.variable.css +43 -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 -29
- 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.d.ts +30 -15
- package/lib/card/card.variable.css +33 -0
- package/lib/card/index.d.ts +187 -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 +41 -0
- package/lib/components.js +1 -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 +34 -0
- package/lib/dialog/dialog.d.ts +132 -30
- package/lib/dialog/dialog.less +6 -0
- package/lib/dialog/dialog.variable.css +34 -0
- package/lib/dialog/index.d.ts +441 -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 +16 -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 +110 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.less +138 -0
- package/lib/form/form.variable.css +204 -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.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/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/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/funnel.js +1 -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.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 +54 -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 +66 -4
- package/lib/input/input.d.ts +122 -47
- package/lib/input/input.less +84 -8
- package/lib/input/input.variable.css +100 -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 +110 -73
- package/lib/loading/loading.d.ts +67 -20
- package/lib/loading/loading.less +75 -58
- package/lib/loading/loading.variable.css +143 -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 +182 -0
- package/lib/menu/menu.d.ts +64 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +276 -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 +362 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +20 -0
- package/lib/modal/modal.d.ts +91 -15
- package/lib/modal/modal.less +27 -0
- package/lib/modal/modal.variable.css +20 -0
- package/lib/modal/props.mixin.d.ts +31 -1
- 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 +0 -3
- package/lib/progress/progress.d.ts +88 -35
- package/lib/progress/progress.less +0 -4
- package/lib/progress/progress.variable.css +33 -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 +328 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +97 -18
- package/lib/sideslider/sideslider.variable.css +33 -0
- package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
- 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 +47 -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 +149 -135
- package/lib/switcher/switcher.d.ts +48 -32
- package/lib/switcher/switcher.less +211 -153
- package/lib/switcher/switcher.variable.css +182 -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 +306 -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/props.d.ts +143 -0
- package/lib/table/render.d.ts +110 -0
- package/lib/table/table.css +192 -0
- package/lib/table/table.d.ts +89 -36
- package/lib/table/table.less +131 -2
- package/lib/table/table.variable.css +225 -0
- package/lib/table/use-common.d.ts +17 -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 +287 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/props.d.ts +89 -0
- package/lib/tree/tree.css +50 -0
- package/lib/tree/tree.d.ts +111 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +144 -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 +100 -80
- 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/dist/style.css +0 -2009
- 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
@@ -0,0 +1,441 @@
|
|
1
|
+
declare const BkDialog: {
|
2
|
+
new (...args: any[]): {
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
4
|
+
$data: {};
|
5
|
+
$props: Partial<{
|
6
|
+
width: string | number;
|
7
|
+
height: string | number;
|
8
|
+
title: string;
|
9
|
+
showMask: boolean;
|
10
|
+
theme: string;
|
11
|
+
size: string;
|
12
|
+
isShow: boolean;
|
13
|
+
customClass: string | unknown[];
|
14
|
+
scrollable: boolean;
|
15
|
+
closeIcon: boolean;
|
16
|
+
escClose: boolean;
|
17
|
+
maskClose: boolean;
|
18
|
+
fullscreen: boolean;
|
19
|
+
renderDirective: string;
|
20
|
+
confirmText: string;
|
21
|
+
cancelText: string;
|
22
|
+
headerAlign: string;
|
23
|
+
footerAlign: string;
|
24
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
25
|
+
width: {
|
26
|
+
type: (NumberConstructor | StringConstructor)[];
|
27
|
+
default: any;
|
28
|
+
};
|
29
|
+
height: {
|
30
|
+
type: (NumberConstructor | StringConstructor)[];
|
31
|
+
default: any;
|
32
|
+
};
|
33
|
+
confirmText: {
|
34
|
+
type: StringConstructor;
|
35
|
+
default: string;
|
36
|
+
};
|
37
|
+
cancelText: {
|
38
|
+
type: StringConstructor;
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
title: {
|
42
|
+
type: StringConstructor;
|
43
|
+
default: string;
|
44
|
+
};
|
45
|
+
headerAlign: {
|
46
|
+
type: StringConstructor;
|
47
|
+
default: string;
|
48
|
+
validator: (value: string) => boolean;
|
49
|
+
};
|
50
|
+
footerAlign: {
|
51
|
+
type: StringConstructor;
|
52
|
+
default: string;
|
53
|
+
validator: (value: string) => boolean;
|
54
|
+
};
|
55
|
+
theme: {
|
56
|
+
type: StringConstructor;
|
57
|
+
default: string;
|
58
|
+
validator: (value: string) => boolean;
|
59
|
+
};
|
60
|
+
isShow: {
|
61
|
+
type: BooleanConstructor;
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
customClass: {
|
65
|
+
type: (ArrayConstructor | StringConstructor)[];
|
66
|
+
default: string;
|
67
|
+
};
|
68
|
+
scrollable: {
|
69
|
+
type: BooleanConstructor;
|
70
|
+
default: boolean;
|
71
|
+
};
|
72
|
+
showMask: {
|
73
|
+
type: BooleanConstructor;
|
74
|
+
default: boolean;
|
75
|
+
};
|
76
|
+
closeIcon: {
|
77
|
+
type: BooleanConstructor;
|
78
|
+
default: boolean;
|
79
|
+
};
|
80
|
+
escClose: {
|
81
|
+
type: BooleanConstructor;
|
82
|
+
default: boolean;
|
83
|
+
};
|
84
|
+
maskClose: {
|
85
|
+
type: BooleanConstructor;
|
86
|
+
default: boolean;
|
87
|
+
};
|
88
|
+
fullscreen: {
|
89
|
+
type: BooleanConstructor;
|
90
|
+
default: boolean;
|
91
|
+
};
|
92
|
+
size: {
|
93
|
+
type: StringConstructor;
|
94
|
+
default: string;
|
95
|
+
validator: (value: string) => boolean;
|
96
|
+
};
|
97
|
+
renderDirective: {
|
98
|
+
type: StringConstructor;
|
99
|
+
default: string;
|
100
|
+
validator: (value: string) => boolean;
|
101
|
+
};
|
102
|
+
}>> & {
|
103
|
+
onClosed?: (...args: any[]) => any;
|
104
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
105
|
+
onConfirm?: (...args: any[]) => any;
|
106
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "title" | "showMask" | "theme" | "size" | "isShow" | "customClass" | "scrollable" | "closeIcon" | "escClose" | "maskClose" | "fullscreen" | "renderDirective" | "confirmText" | "cancelText" | "headerAlign" | "footerAlign">;
|
107
|
+
$attrs: {
|
108
|
+
[x: string]: unknown;
|
109
|
+
};
|
110
|
+
$refs: {
|
111
|
+
[x: string]: unknown;
|
112
|
+
};
|
113
|
+
$slots: Readonly<{
|
114
|
+
[name: string]: import("vue").Slot;
|
115
|
+
}>;
|
116
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
117
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
118
|
+
$emit: (event: "closed" | "update:isShow" | "confirm", ...args: any[]) => void;
|
119
|
+
$el: any;
|
120
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
121
|
+
width: {
|
122
|
+
type: (NumberConstructor | StringConstructor)[];
|
123
|
+
default: any;
|
124
|
+
};
|
125
|
+
height: {
|
126
|
+
type: (NumberConstructor | StringConstructor)[];
|
127
|
+
default: any;
|
128
|
+
};
|
129
|
+
confirmText: {
|
130
|
+
type: StringConstructor;
|
131
|
+
default: string;
|
132
|
+
};
|
133
|
+
cancelText: {
|
134
|
+
type: StringConstructor;
|
135
|
+
default: string;
|
136
|
+
};
|
137
|
+
title: {
|
138
|
+
type: StringConstructor;
|
139
|
+
default: string;
|
140
|
+
};
|
141
|
+
headerAlign: {
|
142
|
+
type: StringConstructor;
|
143
|
+
default: string;
|
144
|
+
validator: (value: string) => boolean;
|
145
|
+
};
|
146
|
+
footerAlign: {
|
147
|
+
type: StringConstructor;
|
148
|
+
default: string;
|
149
|
+
validator: (value: string) => boolean;
|
150
|
+
};
|
151
|
+
theme: {
|
152
|
+
type: StringConstructor;
|
153
|
+
default: string;
|
154
|
+
validator: (value: string) => boolean;
|
155
|
+
};
|
156
|
+
isShow: {
|
157
|
+
type: BooleanConstructor;
|
158
|
+
default: boolean;
|
159
|
+
};
|
160
|
+
customClass: {
|
161
|
+
type: (ArrayConstructor | StringConstructor)[];
|
162
|
+
default: string;
|
163
|
+
};
|
164
|
+
scrollable: {
|
165
|
+
type: BooleanConstructor;
|
166
|
+
default: boolean;
|
167
|
+
};
|
168
|
+
showMask: {
|
169
|
+
type: BooleanConstructor;
|
170
|
+
default: boolean;
|
171
|
+
};
|
172
|
+
closeIcon: {
|
173
|
+
type: BooleanConstructor;
|
174
|
+
default: boolean;
|
175
|
+
};
|
176
|
+
escClose: {
|
177
|
+
type: BooleanConstructor;
|
178
|
+
default: boolean;
|
179
|
+
};
|
180
|
+
maskClose: {
|
181
|
+
type: BooleanConstructor;
|
182
|
+
default: boolean;
|
183
|
+
};
|
184
|
+
fullscreen: {
|
185
|
+
type: BooleanConstructor;
|
186
|
+
default: boolean;
|
187
|
+
};
|
188
|
+
size: {
|
189
|
+
type: StringConstructor;
|
190
|
+
default: string;
|
191
|
+
validator: (value: string) => boolean;
|
192
|
+
};
|
193
|
+
renderDirective: {
|
194
|
+
type: StringConstructor;
|
195
|
+
default: string;
|
196
|
+
validator: (value: string) => boolean;
|
197
|
+
};
|
198
|
+
}>> & {
|
199
|
+
onClosed?: (...args: any[]) => any;
|
200
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
201
|
+
onConfirm?: (...args: any[]) => any;
|
202
|
+
}, unknown, unknown, {}, {
|
203
|
+
handleClose(): void;
|
204
|
+
handleConfirm(): void;
|
205
|
+
escCloseHandler(e: any): void;
|
206
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow" | "confirm")[], string, {
|
207
|
+
width: string | number;
|
208
|
+
height: string | number;
|
209
|
+
title: string;
|
210
|
+
showMask: boolean;
|
211
|
+
theme: string;
|
212
|
+
size: string;
|
213
|
+
isShow: boolean;
|
214
|
+
customClass: string | unknown[];
|
215
|
+
scrollable: boolean;
|
216
|
+
closeIcon: boolean;
|
217
|
+
escClose: boolean;
|
218
|
+
maskClose: boolean;
|
219
|
+
fullscreen: boolean;
|
220
|
+
renderDirective: string;
|
221
|
+
confirmText: string;
|
222
|
+
cancelText: string;
|
223
|
+
headerAlign: string;
|
224
|
+
footerAlign: string;
|
225
|
+
}> & {
|
226
|
+
beforeCreate?: (() => void) | (() => void)[];
|
227
|
+
created?: (() => void) | (() => void)[];
|
228
|
+
beforeMount?: (() => void) | (() => void)[];
|
229
|
+
mounted?: (() => void) | (() => void)[];
|
230
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
231
|
+
updated?: (() => void) | (() => void)[];
|
232
|
+
activated?: (() => void) | (() => void)[];
|
233
|
+
deactivated?: (() => void) | (() => void)[];
|
234
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
235
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
236
|
+
destroyed?: (() => void) | (() => void)[];
|
237
|
+
unmounted?: (() => void) | (() => void)[];
|
238
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
239
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
240
|
+
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)[];
|
241
|
+
};
|
242
|
+
$forceUpdate: () => void;
|
243
|
+
$nextTick: typeof import("vue").nextTick;
|
244
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
245
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
246
|
+
width: {
|
247
|
+
type: (NumberConstructor | StringConstructor)[];
|
248
|
+
default: any;
|
249
|
+
};
|
250
|
+
height: {
|
251
|
+
type: (NumberConstructor | StringConstructor)[];
|
252
|
+
default: any;
|
253
|
+
};
|
254
|
+
confirmText: {
|
255
|
+
type: StringConstructor;
|
256
|
+
default: string;
|
257
|
+
};
|
258
|
+
cancelText: {
|
259
|
+
type: StringConstructor;
|
260
|
+
default: string;
|
261
|
+
};
|
262
|
+
title: {
|
263
|
+
type: StringConstructor;
|
264
|
+
default: string;
|
265
|
+
};
|
266
|
+
headerAlign: {
|
267
|
+
type: StringConstructor;
|
268
|
+
default: string;
|
269
|
+
validator: (value: string) => boolean;
|
270
|
+
};
|
271
|
+
footerAlign: {
|
272
|
+
type: StringConstructor;
|
273
|
+
default: string;
|
274
|
+
validator: (value: string) => boolean;
|
275
|
+
};
|
276
|
+
theme: {
|
277
|
+
type: StringConstructor;
|
278
|
+
default: string;
|
279
|
+
validator: (value: string) => boolean;
|
280
|
+
};
|
281
|
+
isShow: {
|
282
|
+
type: BooleanConstructor;
|
283
|
+
default: boolean;
|
284
|
+
};
|
285
|
+
customClass: {
|
286
|
+
type: (ArrayConstructor | StringConstructor)[];
|
287
|
+
default: string;
|
288
|
+
};
|
289
|
+
scrollable: {
|
290
|
+
type: BooleanConstructor;
|
291
|
+
default: boolean;
|
292
|
+
};
|
293
|
+
showMask: {
|
294
|
+
type: BooleanConstructor;
|
295
|
+
default: boolean;
|
296
|
+
};
|
297
|
+
closeIcon: {
|
298
|
+
type: BooleanConstructor;
|
299
|
+
default: boolean;
|
300
|
+
};
|
301
|
+
escClose: {
|
302
|
+
type: BooleanConstructor;
|
303
|
+
default: boolean;
|
304
|
+
};
|
305
|
+
maskClose: {
|
306
|
+
type: BooleanConstructor;
|
307
|
+
default: boolean;
|
308
|
+
};
|
309
|
+
fullscreen: {
|
310
|
+
type: BooleanConstructor;
|
311
|
+
default: boolean;
|
312
|
+
};
|
313
|
+
size: {
|
314
|
+
type: StringConstructor;
|
315
|
+
default: string;
|
316
|
+
validator: (value: string) => boolean;
|
317
|
+
};
|
318
|
+
renderDirective: {
|
319
|
+
type: StringConstructor;
|
320
|
+
default: string;
|
321
|
+
validator: (value: string) => boolean;
|
322
|
+
};
|
323
|
+
}>> & {
|
324
|
+
onClosed?: (...args: any[]) => any;
|
325
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
326
|
+
onConfirm?: (...args: any[]) => any;
|
327
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
|
328
|
+
handleClose(): void;
|
329
|
+
handleConfirm(): void;
|
330
|
+
escCloseHandler(e: any): void;
|
331
|
+
} & import("vue").ComponentCustomProperties;
|
332
|
+
__isFragment?: never;
|
333
|
+
__isTeleport?: never;
|
334
|
+
__isSuspense?: never;
|
335
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
336
|
+
width: {
|
337
|
+
type: (NumberConstructor | StringConstructor)[];
|
338
|
+
default: any;
|
339
|
+
};
|
340
|
+
height: {
|
341
|
+
type: (NumberConstructor | StringConstructor)[];
|
342
|
+
default: any;
|
343
|
+
};
|
344
|
+
confirmText: {
|
345
|
+
type: StringConstructor;
|
346
|
+
default: string;
|
347
|
+
};
|
348
|
+
cancelText: {
|
349
|
+
type: StringConstructor;
|
350
|
+
default: string;
|
351
|
+
};
|
352
|
+
title: {
|
353
|
+
type: StringConstructor;
|
354
|
+
default: string;
|
355
|
+
};
|
356
|
+
headerAlign: {
|
357
|
+
type: StringConstructor;
|
358
|
+
default: string;
|
359
|
+
validator: (value: string) => boolean;
|
360
|
+
};
|
361
|
+
footerAlign: {
|
362
|
+
type: StringConstructor;
|
363
|
+
default: string;
|
364
|
+
validator: (value: string) => boolean;
|
365
|
+
};
|
366
|
+
theme: {
|
367
|
+
type: StringConstructor;
|
368
|
+
default: string;
|
369
|
+
validator: (value: string) => boolean;
|
370
|
+
};
|
371
|
+
isShow: {
|
372
|
+
type: BooleanConstructor;
|
373
|
+
default: boolean;
|
374
|
+
};
|
375
|
+
customClass: {
|
376
|
+
type: (ArrayConstructor | StringConstructor)[];
|
377
|
+
default: string;
|
378
|
+
};
|
379
|
+
scrollable: {
|
380
|
+
type: BooleanConstructor;
|
381
|
+
default: boolean;
|
382
|
+
};
|
383
|
+
showMask: {
|
384
|
+
type: BooleanConstructor;
|
385
|
+
default: boolean;
|
386
|
+
};
|
387
|
+
closeIcon: {
|
388
|
+
type: BooleanConstructor;
|
389
|
+
default: boolean;
|
390
|
+
};
|
391
|
+
escClose: {
|
392
|
+
type: BooleanConstructor;
|
393
|
+
default: boolean;
|
394
|
+
};
|
395
|
+
maskClose: {
|
396
|
+
type: BooleanConstructor;
|
397
|
+
default: boolean;
|
398
|
+
};
|
399
|
+
fullscreen: {
|
400
|
+
type: BooleanConstructor;
|
401
|
+
default: boolean;
|
402
|
+
};
|
403
|
+
size: {
|
404
|
+
type: StringConstructor;
|
405
|
+
default: string;
|
406
|
+
validator: (value: string) => boolean;
|
407
|
+
};
|
408
|
+
renderDirective: {
|
409
|
+
type: StringConstructor;
|
410
|
+
default: string;
|
411
|
+
validator: (value: string) => boolean;
|
412
|
+
};
|
413
|
+
}>> & {
|
414
|
+
onClosed?: (...args: any[]) => any;
|
415
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
416
|
+
onConfirm?: (...args: any[]) => any;
|
417
|
+
}, unknown, unknown, {}, {
|
418
|
+
handleClose(): void;
|
419
|
+
handleConfirm(): void;
|
420
|
+
escCloseHandler(e: any): void;
|
421
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow" | "confirm")[], "closed" | "update:isShow" | "confirm", {
|
422
|
+
width: string | number;
|
423
|
+
height: string | number;
|
424
|
+
title: string;
|
425
|
+
showMask: boolean;
|
426
|
+
theme: string;
|
427
|
+
size: string;
|
428
|
+
isShow: boolean;
|
429
|
+
customClass: string | unknown[];
|
430
|
+
scrollable: boolean;
|
431
|
+
closeIcon: boolean;
|
432
|
+
escClose: boolean;
|
433
|
+
maskClose: boolean;
|
434
|
+
fullscreen: boolean;
|
435
|
+
renderDirective: string;
|
436
|
+
confirmText: string;
|
437
|
+
cancelText: string;
|
438
|
+
headerAlign: string;
|
439
|
+
footerAlign: string;
|
440
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
441
|
+
export default BkDialog;
|
package/lib/dialog/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 n={4976:e=>{e.exports=o},8014:e=>{e.exports=r},4212:t=>{t.exports=e},748:e=>{e.exports=t}},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return n[e](o,o.exports,l),o.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{l.r(a),l.d(a,{default:()=>d});var e=l(4212),t=l(748),o=l(4976),r=l.n(o),n=l(8014),i=l.n(n);const s=(0,t.defineComponent)({name:"Dialog",components:{BkModal:i(),BkButton:r()},props:Object.assign(Object.assign({},n.propsMixin),{width:{type:[Number,String],default:null},height:{type:[Number,String],default:null},confirmText:{type:String,default:"确定"},cancelText:{type:String,default:"取消"},title:{type:String,default:"Title"},headerAlign:{type:String,default:"left",validator:function(e){var t=["left","center","right"];return!(t.indexOf(e)<0&&(console.error("headerAlign property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}},footerAlign:{type:String,default:"right",validator:function(e){var t=["left","center","right"];return!(t.indexOf(e)<0&&(console.error("footerAlign property is not valid: '".concat(e,"',【").concat(t.join(" | "),"】")),1))}},theme:{type:String,default:"primary",validator:function(e){return!(["primary","warning","success","danger"].indexOf(e)<0&&(console.error("theme property is not valid: '".concat(e,"'")),1))}}}),emits:["closed","update:isShow","confirm"],mounted:function(){this.escClose&&addEventListener("keydown",this.escCloseHandler)},beforeDestory:function(){this.escClose&&removeEventListener("keydown",this.escCloseHandler)},methods:{handleClose:function(){this.$emit("update:isShow",!1),this.$emit("closed")},handleConfirm:function(){this.$emit("update:isShow",!1),this.$emit("confirm")},escCloseHandler:function(e){this.isShow&&this.closeIcon&&27===e.keyCode&&this.handleClose()}},render:function(){var e,o=this,n={header:function(){var e,r,n;return[(0,t.createVNode)("div",{class:"bk-dialog-tool"},[(0,t.createVNode)("span",{class:["bk-dialog-close",o.closeIcon?"":"close-icon"],onClick:o.handleClose},[(0,t.createTextVNode)("+")])]),(0,t.createVNode)("div",{class:"bk-dialog-header"},[(0,t.createVNode)("span",{class:"bk-dialog-title",style:"text-align: ".concat(o.headerAlign)},[null!==(n=null===(r=(e=o.$slots).header)||void 0===r?void 0:r.call(e))&&void 0!==n?n:o.title])])]},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:"default"},footer:function(){var e,n,i;return(0,t.createVNode)("div",{class:"bk-dialog-footer",style:"text-align: ".concat(o.footerAlign)},[null!==(i=null===(n=(e=o.$slots).footer)||void 0===n?void 0:n.call(e))&&void 0!==i?i:(0,t.createVNode)(t.Fragment,null,[(0,t.createVNode)(r(),{onClick:o.handleConfirm,theme:o.theme},{default:function(){return[o.confirmText]}}),(0,t.createVNode)(r(),{style:"margin-left: 8px;",onClick:o.handleClose},{default:function(){return[o.cancelText]}})])])}},l="bk-dialog-wrapper ".concat(this.scrollable?"scroll-able":"");return(0,t.createVNode)(i(),(0,t.mergeProps)(this.$props,{class:l}),"function"==typeof(e=n)||"[object Object]"===Object.prototype.toString.call(e)&&!(0,t.isVNode)(e)?n:{default:function(){return[n]}})}}),d=(0,e.withInstall)(s)})(),a})()));
|
package/lib/directives/index.js
CHANGED
@@ -1,15 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
* Checks if an event is supported in the current execution environment.
|
4
|
-
*
|
5
|
-
* NOTE: This will not work correctly for non-generic events such as `change`,
|
6
|
-
* `reset`, `load`, `error`, and `select`.
|
7
|
-
*
|
8
|
-
* Borrows from Modernizr.
|
9
|
-
*
|
10
|
-
* @param {string} eventNameSuffix Event name, e.g. "click".
|
11
|
-
* @param {?boolean} capture Check if the capture phase is supported.
|
12
|
-
* @return {boolean} True if the event is supported.
|
13
|
-
* @internal
|
14
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
15
|
-
*/;var y=N,O=function(e,n){if(!F.canUseDOM||n&&!("addEventListener"in document))return!1;var t="on"+e,i=t in document;if(!i){var o=document.createElement("div");o.setAttribute(t,"return;"),i="function"==typeof o[t]}return!i&&h&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i};function D(e){var n=0,t=0,i=0,o=0;return"detail"in e&&(t=e.detail),"wheelDelta"in e&&(t=-e.wheelDelta/120),"wheelDeltaY"in e&&(t=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(n=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(n=t,t=0),i=10*n,o=10*t,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||o)&&e.deltaMode&&(1==e.deltaMode?(i*=40,o*=40):(i*=800,o*=800)),i&&!n&&(n=i<1?-1:1),o&&!t&&(t=o<1?-1:1),{spinX:n,spinY:t,pixelX:i,pixelY:o}}D.getEventType=function(){return y.firefox()?"DOMMouseScroll":O("wheel")?"wheel":"mousewheel"};var E=D,A="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,X={beforeMount:function(e,n){var t,i;console.error(e,n),t=e,i=n.value,(null==t?void 0:t.addEventListener)&&t.addEventListener(A?"DOMMouseScroll":"mousewheel",(function(e){var n=E(e);null==i||i.apply(this,[e,n])}))}};e.mousewheel=X,Object.defineProperty(e,"__esModule",{value:!0})}));
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|
2
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("@popperjs/core"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core"],t);else{var n="object"==typeof exports?t(require("../shared"),require("@popperjs/core")):t(e["../shared"],e["@popperjs/core"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t)=>(()=>{var n={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,r,o,i,a,u,c,s,d,l,f,p,m,v,b=!1;function y(){if(!b){b=!0;var e=navigator.userAgent,y=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),h=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),m=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),l=!!/Win64/.exec(e),y){(t=y[1]?parseFloat(y[1]):y[5]?parseFloat(y[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,n=y[2]?parseFloat(y[2]):NaN,r=y[3]?parseFloat(y[3]):NaN,(o=y[4]?parseFloat(y[4]):NaN)?(y=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=y&&y[1]?parseFloat(y[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(h){if(h[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!g||parseFloat(g[1].replace("_","."))}else u=!1;c=!!h[2],s=!!h[3]}else u=c=s=!1}}var h={ie:function(){return y()||t},ieCompatibilityMode:function(){return y()||a>t},ie64:function(){return h.ie()&&l},firefox:function(){return y()||n},opera:function(){return y()||r},webkit:function(){return y()||o},safari:function(){return h.webkit()},chrome:function(){return y()||i},windows:function(){return y()||c},osx:function(){return y()||u},linux:function(){return y()||s},iphone:function(){return y()||f},mobile:function(){return y()||f||p||d||v},nativeApp:function(){return y()||m},android:function(){return y()||d},ipad:function(){return y()||p}};e.exports=h},3541:(e,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},4212:t=>{"use strict";t.exports=e},5798:e=>{"use strict";e.exports=t}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.r(i),o.d(i,{bkTooltips:()=>y,clickoutside:()=>l,mousewheel:()=>r});var e=o(2439),t=o.n(e),n="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const r={beforeMount:function(e,r){var o,i;console.error(e,r),o=e,i=r.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(n?"DOMMouseScroll":"mousewheel",(function(e){var n=t()(e);null==i||i.apply(this,[e,n])}))}};function a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c,s=new Map;function d(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,u=null==o?void 0:o.target,c=!t||!t.instance,s=!a||!u,d=e.contains(a)||e.contains(u),l=e===a,f=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(u),p=i&&(i.contains(a)||i.contains(u));c||s||d||l||f||p||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var t,n=a(s.values());try{for(n.s();!(t=n.n()).done;){var r,o=a(t.value);try{for(o.s();!(r=o.n()).done;)(0,r.value.documentHandler)(e,c)}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}));const l={beforeMount:function(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){s.has(e)||s.set(e,[]);var n=s.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:d(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){s.delete(e)}};function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var v=o(4212),b=o(5798);const y={mounted:function(e,t){var n={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,onShow:function(){},onHide:function(){}};"object"===m(t.value)?Object.assign(n,t.value):n.content=t.value;var r=n.disabled,o=n.arrow,i=n.theme;if(!r){var a=function(e,t,n){var r=v.bkZIndexManager.getPopperIndex(),o=document.createElement("div");if(o.className="bk-popper ".concat(n?"light":"dark"),o.innerText=e,o.style.zIndex=String(r),t){var i=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();o.appendChild(i)}return document.body.appendChild(o),o}(n.content,o,"light"===i);!function(e,t,n){var r=n.placement,o=n.distance,i=n.trigger,a=n.showOnInit,u=n.onShow,c=n.onHide,s=(0,b.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});if("hover"===i){["mouseenter","focus"].forEach((function(t){e.addEventListener(t,d)})),["mouseleave","blur"].forEach((function(t){e.addEventListener(t,l)}))}else"click"===i&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!t.hasAttribute("data-show")?d():t.hasAttribute("data-show")&&l()}));function d(){t.setAttribute("data-show",""),u(),s.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(p(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),s.update()}function l(){t.removeAttribute("data-show"),c(),s.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(p(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}a&&d()}(e,a,n)}}}})(),i})()));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* Checks if an event is supported in the current execution environment.
|
3
|
+
*
|
4
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
5
|
+
* `reset`, `load`, `error`, and `select`.
|
6
|
+
*
|
7
|
+
* Borrows from Modernizr.
|
8
|
+
*
|
9
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
10
|
+
* @param {?boolean} capture Check if the capture phase is supported.
|
11
|
+
* @return {boolean} True if the event is supported.
|
12
|
+
* @internal
|
13
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
14
|
+
*/
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
2
|
+
import { Placement } from '@popperjs/core';
|
3
|
+
export declare type IOptions = {
|
4
|
+
arrow: boolean;
|
5
|
+
disabled: boolean;
|
6
|
+
placement: Placement;
|
7
|
+
content: string;
|
8
|
+
showOnInit: boolean;
|
9
|
+
theme: string;
|
10
|
+
trigger: string;
|
11
|
+
distance: number;
|
12
|
+
onShow: () => void;
|
13
|
+
onHide: () => void;
|
14
|
+
};
|
15
|
+
declare const tooltips: ObjectDirective;
|
16
|
+
export default tooltips;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
.bk-divider {
|
2
|
+
position: relative;
|
3
|
+
background: #c4c6cc;
|
4
|
+
}
|
5
|
+
.bk-divider-horizontal {
|
6
|
+
width: 100%;
|
7
|
+
height: 1px;
|
8
|
+
margin: 1em 0;
|
9
|
+
}
|
10
|
+
.bk-divider-info {
|
11
|
+
position: absolute;
|
12
|
+
top: 50%;
|
13
|
+
padding: 0 1.4em;
|
14
|
+
color: #63656e;
|
15
|
+
background-color: white;
|
16
|
+
transform: translateY(-50%);
|
17
|
+
}
|
18
|
+
.bk-divider-info-center {
|
19
|
+
left: 50%;
|
20
|
+
transform: translateX(-50%) translateY(-50%);
|
21
|
+
}
|
22
|
+
.bk-divider-info .bk-divider-horizontal-left {
|
23
|
+
left: 2em;
|
24
|
+
}
|
25
|
+
.bk-divider-info .bk-divider-horizontal-right {
|
26
|
+
right: 2em;
|
27
|
+
}
|
28
|
+
.bk-divider-vertical .bk-divider-info {
|
29
|
+
padding: 20px 0;
|
30
|
+
}
|
31
|
+
.bk-divider-vertical {
|
32
|
+
display: inline-block;
|
33
|
+
width: 1px;
|
34
|
+
height: 100%;
|
35
|
+
min-height: 1em;
|
36
|
+
margin: 0 8px;
|
37
|
+
vertical-align: middle;
|
38
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
3
|
+
default: string;
|
4
|
+
};
|
5
|
+
align: import("vue-types").VueTypeDef<string> & {
|
6
|
+
default: string;
|
7
|
+
};
|
8
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
9
|
+
default: string;
|
10
|
+
} & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
14
|
+
default: number;
|
15
|
+
} & {
|
16
|
+
default: number;
|
17
|
+
};
|
18
|
+
type: import("vue-types").VueTypeDef<string> & {
|
19
|
+
default: string;
|
20
|
+
};
|
21
|
+
}, 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<{
|
22
|
+
direction: import("vue-types").VueTypeDef<string> & {
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
align: import("vue-types").VueTypeDef<string> & {
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
color: import("vue-types").VueTypeValidableDef<string> & {
|
29
|
+
default: string;
|
30
|
+
} & {
|
31
|
+
default: string;
|
32
|
+
};
|
33
|
+
width: import("vue-types").VueTypeValidableDef<number> & {
|
34
|
+
default: number;
|
35
|
+
} & {
|
36
|
+
default: number;
|
37
|
+
};
|
38
|
+
type: import("vue-types").VueTypeDef<string> & {
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
}>>, {
|
42
|
+
width: number;
|
43
|
+
type: string;
|
44
|
+
color: string;
|
45
|
+
direction: string;
|
46
|
+
align: string;
|
47
|
+
}>;
|
48
|
+
export default _default;
|