bkui-vue 0.0.1-beta.3 → 0.0.1-beta.30
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/README_EN.md +93 -0
- package/dist/bkui-vue.cjs.js +18093 -2770
- package/dist/bkui-vue.esm.js +18049 -2775
- package/dist/bkui-vue.umd.js +18095 -2772
- package/dist/style.css +3958 -254
- package/lib/alert/alert.d.ts +24 -15
- package/lib/alert/alert.variable.css +32 -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 +32 -0
- package/lib/backtop/index.d.ts +166 -0
- package/lib/backtop/index.js +10 -1
- package/lib/badge/badge.d.ts +40 -19
- package/lib/badge/badge.variable.css +32 -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 +42 -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 +9 -0
- package/lib/button/button.d.ts +57 -28
- package/lib/button/button.less +23 -15
- package/lib/button/button.variable.css +41 -0
- package/lib/button/index.d.ts +226 -0
- package/lib/button/index.js +1 -1
- package/lib/card/card.d.ts +30 -15
- package/lib/card/card.variable.css +32 -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.d.ts +31 -22
- package/lib/checkbox/checkbox.variable.css +32 -0
- package/lib/checkbox/common.d.ts +1 -1
- package/lib/checkbox/index.d.ts +261 -0
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +7 -6
- package/lib/code-diff/code-diff.css +115 -0
- package/lib/code-diff/code-diff.d.ts +71 -0
- package/lib/code-diff/code-diff.less +145 -0
- package/lib/code-diff/code-diff.variable.css +208 -0
- package/lib/code-diff/index.d.ts +6 -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 +39 -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 +500 -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.d.ts +57 -27
- package/lib/dialog/index.d.ts +286 -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 +14 -14
- package/lib/directives/tooltips.d.ts +17 -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 +131 -0
- package/lib/divider/index.d.ts +142 -0
- package/lib/divider/index.js +1 -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 +61 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +136 -0
- package/lib/dropdown/index.d.ts +192 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.d.ts +11 -9
- package/lib/exception/exception.variable.css +32 -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 +32 -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/form-item.d.ts +145 -0
- package/lib/form/form.css +48 -0
- package/lib/form/form.d.ts +64 -0
- package/lib/form/form.less +63 -0
- package/lib/form/form.variable.css +48 -0
- package/lib/form/index.d.ts +246 -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 +15 -0
- package/lib/icon/angle-double-left-line.d.ts +4 -0
- package/lib/icon/angle-double-left-line.js +15 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-left.js +15 -0
- package/lib/icon/angle-double-right-line.d.ts +4 -0
- package/lib/icon/angle-double-right-line.js +15 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-double-right.js +15 -0
- package/lib/icon/angle-double-up-line.d.ts +4 -0
- package/lib/icon/angle-double-up-line.js +15 -0
- package/lib/icon/angle-down-fill.d.ts +4 -0
- package/lib/icon/angle-down-fill.js +15 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down-line.js +15 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-down.js +15 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-left.js +15 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/angle-right.js +15 -0
- package/lib/icon/angle-up-fill.d.ts +4 -0
- package/lib/icon/angle-up-fill.js +15 -0
- package/lib/icon/angle-up.d.ts +4 -0
- package/lib/icon/angle-up.js +15 -0
- package/lib/icon/arrows-left.d.ts +4 -0
- package/lib/icon/arrows-left.js +15 -0
- package/lib/icon/arrows-right.d.ts +4 -0
- package/lib/icon/arrows-right.js +15 -0
- package/lib/icon/bk.d.ts +4 -0
- package/lib/icon/bk.js +15 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/circle.js +15 -0
- package/lib/icon/close.d.ts +4 -0
- package/lib/icon/close.js +15 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/code.js +15 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/cog-shape.js +15 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/collapse-left.js +15 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/copy.js +15 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/done.js +15 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/down-shape.js +15 -0
- package/lib/icon/down-small.d.ts +4 -0
- package/lib/icon/down-small.js +15 -0
- package/lib/icon/ellipsis.d.ts +4 -0
- package/lib/icon/ellipsis.js +15 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/error.js +15 -0
- package/lib/icon/eye.d.ts +4 -0
- package/lib/icon/eye.js +15 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-open.js +15 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.js +15 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder-shape.js +15 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/folder.js +15 -0
- package/lib/icon/help-document-fill.d.ts +4 -0
- package/lib/icon/help-document-fill.js +15 -0
- package/lib/icon/help-fill.d.ts +4 -0
- package/lib/icon/help-fill.js +15 -0
- package/lib/icon/help.d.ts +4 -0
- package/lib/icon/help.js +15 -0
- package/lib/icon/icon.d.ts +12 -0
- package/lib/icon/icon.js +15 -0
- package/lib/icon/index.d.ts +53 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.d.ts +4 -0
- package/lib/icon/info-line.js +15 -0
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/info.js +15 -0
- package/lib/icon/left-shape.d.ts +4 -0
- package/lib/icon/left-shape.js +15 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/play-shape.js +15 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/plus.js +15 -0
- package/lib/icon/qq.d.ts +4 -0
- package/lib/icon/qq.js +15 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/right-shape.js +15 -0
- package/lib/icon/search.d.ts +4 -0
- package/lib/icon/search.js +15 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/share.js +15 -0
- package/lib/icon/spinner.d.ts +4 -0
- package/lib/icon/spinner.js +15 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/success.js +15 -0
- package/lib/icon/switcher-loading.d.ts +4 -0
- package/lib/icon/switcher-loading.js +15 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/text-file.js +15 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/tree-application-shape.js +15 -0
- package/lib/icon/unvisible.d.ts +4 -0
- package/lib/icon/unvisible.js +15 -0
- package/lib/icon/up-shape.d.ts +4 -0
- package/lib/icon/up-shape.js +15 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/icon/warn.js +15 -0
- package/lib/icon/weixin.d.ts +4 -0
- package/lib/icon/weixin.js +15 -0
- package/lib/index.d.ts +4 -0
- package/lib/input/index.d.ts +417 -0
- package/lib/input/index.js +2 -2
- package/lib/input/input.css +20 -2
- package/lib/input/input.d.ts +97 -45
- package/lib/input/input.less +28 -5
- package/lib/input/input.variable.css +52 -2
- 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 +32 -0
- package/lib/loading/index.d.ts +147 -0
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +100 -71
- package/lib/loading/loading.d.ts +48 -21
- package/lib/loading/loading.less +64 -49
- package/lib/loading/loading.variable.css +132 -71
- 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 +275 -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 +96 -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 +53 -0
- package/lib/message/message.less +61 -0
- package/lib/message/message.variable.css +146 -0
- package/lib/message/messageConstructor.d.ts +73 -0
- package/lib/modal/index.d.ts +214 -0
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.d.ts +33 -15
- package/lib/modal/props.mixin.d.ts +5 -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 +277 -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 +142 -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 +272 -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 +287 -0
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +23 -14
- package/lib/popover/popover.d.ts +75 -46
- package/lib/popover/popover.less +57 -46
- package/lib/popover/popover.variable.css +55 -14
- package/lib/popover/props.d.ts +77 -0
- package/lib/preset.d.ts +7 -0
- package/lib/process/index.d.ts +205 -0
- package/lib/process/index.js +15 -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 +231 -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 +32 -3
- package/lib/radio/common.d.ts +1 -1
- package/lib/radio/index.d.ts +277 -0
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +24 -16
- package/lib/radio/radio-group.d.ts +11 -10
- package/lib/radio/radio.css +8 -2
- package/lib/radio/radio.d.ts +23 -13
- package/lib/radio/radio.less +9 -2
- package/lib/radio/radio.variable.css +40 -2
- package/lib/radio/type.d.ts +1 -1
- 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 +282 -0
- package/lib/select/common.d.ts +23 -17
- package/lib/select/index.d.ts +1347 -0
- package/lib/select/index.js +15 -1
- package/lib/select/option.d.ts +12 -19
- package/lib/select/optionGroup.d.ts +54 -0
- package/lib/select/select.css +243 -17
- package/lib/select/select.d.ts +268 -155
- package/lib/select/select.less +245 -46
- package/lib/select/select.variable.css +275 -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 +51 -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 +206 -0
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.d.ts +39 -18
- package/lib/sideslider/sideslider.variable.css +32 -0
- package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
- package/lib/slider/index.js +15 -0
- package/lib/slider/slider-button.d.ts +75 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +189 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +242 -0
- package/lib/steps/index.d.ts +250 -0
- package/lib/steps/index.js +15 -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 +381 -0
- package/lib/styles/index.d.ts +46 -0
- package/lib/styles/index.js +1 -1
- 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 +52 -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 +210 -154
- package/lib/switcher/switcher.variable.css +181 -135
- package/lib/tab/index.d.ts +552 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/tab-nav.d.ts +190 -0
- package/lib/tab/tab-panel.d.ts +48 -0
- package/lib/tab/tab.css +147 -0
- package/lib/tab/tab.d.ts +163 -0
- package/lib/tab/tab.less +221 -0
- package/lib/tab/tab.variable.css +240 -0
- package/lib/table/const.d.ts +4 -0
- package/lib/table/index.d.ts +282 -0
- package/lib/table/index.js +10 -1
- package/lib/table/props.d.ts +118 -0
- package/lib/table/render.d.ts +74 -0
- package/lib/table/table.css +90 -0
- package/lib/table/table.d.ts +85 -37
- package/lib/table/table.less +116 -1
- package/lib/table/table.variable.css +122 -0
- package/lib/table/utils.d.ts +69 -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 +129 -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 +301 -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 +328 -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 +251 -0
- package/lib/tree/index.d.ts +279 -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 +121 -0
- package/lib/tree/tree.less +63 -0
- package/lib/tree/tree.variable.css +143 -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 +10 -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 +40 -0
- package/lib/virtual-render/virtual-render.d.ts +244 -0
- package/lib/virtual-render/virtual-render.less +51 -0
- package/lib/virtual-render/virtual-render.variable.css +40 -0
- package/package.json +71 -54
- 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/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,286 @@
|
|
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
|
+
isShow: boolean;
|
11
|
+
customClass: string | unknown[];
|
12
|
+
scrollable: boolean;
|
13
|
+
confirmText: string;
|
14
|
+
cancelText: string;
|
15
|
+
headerAlign: string;
|
16
|
+
footerAlign: string;
|
17
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
18
|
+
confirmText: {
|
19
|
+
type: StringConstructor;
|
20
|
+
default: string;
|
21
|
+
};
|
22
|
+
cancelText: {
|
23
|
+
type: StringConstructor;
|
24
|
+
default: string;
|
25
|
+
};
|
26
|
+
title: {
|
27
|
+
type: StringConstructor;
|
28
|
+
default: string;
|
29
|
+
};
|
30
|
+
headerAlign: {
|
31
|
+
type: StringConstructor;
|
32
|
+
default: string;
|
33
|
+
validator: (value: string) => boolean;
|
34
|
+
};
|
35
|
+
footerAlign: {
|
36
|
+
type: StringConstructor;
|
37
|
+
default: string;
|
38
|
+
validator: (value: string) => boolean;
|
39
|
+
};
|
40
|
+
isShow: {
|
41
|
+
type: BooleanConstructor;
|
42
|
+
default: boolean;
|
43
|
+
};
|
44
|
+
width: {
|
45
|
+
type: (NumberConstructor | StringConstructor)[];
|
46
|
+
default: string;
|
47
|
+
};
|
48
|
+
height: {
|
49
|
+
type: (NumberConstructor | StringConstructor)[];
|
50
|
+
default: string;
|
51
|
+
};
|
52
|
+
customClass: {
|
53
|
+
type: (ArrayConstructor | StringConstructor)[];
|
54
|
+
default: string;
|
55
|
+
};
|
56
|
+
scrollable: {
|
57
|
+
type: BooleanConstructor;
|
58
|
+
default: boolean;
|
59
|
+
};
|
60
|
+
showMask: {
|
61
|
+
type: BooleanConstructor;
|
62
|
+
default: boolean;
|
63
|
+
};
|
64
|
+
}>> & {
|
65
|
+
onClosed?: (...args: any[]) => any;
|
66
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
67
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "title" | "showMask" | "isShow" | "customClass" | "scrollable" | "confirmText" | "cancelText" | "headerAlign" | "footerAlign">;
|
68
|
+
$attrs: {
|
69
|
+
[x: string]: unknown;
|
70
|
+
};
|
71
|
+
$refs: {
|
72
|
+
[x: string]: unknown;
|
73
|
+
};
|
74
|
+
$slots: Readonly<{
|
75
|
+
[name: string]: import("vue").Slot;
|
76
|
+
}>;
|
77
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
78
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
|
79
|
+
$emit: (event: "closed" | "update:isShow", ...args: any[]) => void;
|
80
|
+
$el: any;
|
81
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
82
|
+
confirmText: {
|
83
|
+
type: StringConstructor;
|
84
|
+
default: string;
|
85
|
+
};
|
86
|
+
cancelText: {
|
87
|
+
type: StringConstructor;
|
88
|
+
default: string;
|
89
|
+
};
|
90
|
+
title: {
|
91
|
+
type: StringConstructor;
|
92
|
+
default: string;
|
93
|
+
};
|
94
|
+
headerAlign: {
|
95
|
+
type: StringConstructor;
|
96
|
+
default: string;
|
97
|
+
validator: (value: string) => boolean;
|
98
|
+
};
|
99
|
+
footerAlign: {
|
100
|
+
type: StringConstructor;
|
101
|
+
default: string;
|
102
|
+
validator: (value: string) => boolean;
|
103
|
+
};
|
104
|
+
isShow: {
|
105
|
+
type: BooleanConstructor;
|
106
|
+
default: boolean;
|
107
|
+
};
|
108
|
+
width: {
|
109
|
+
type: (NumberConstructor | StringConstructor)[];
|
110
|
+
default: string;
|
111
|
+
};
|
112
|
+
height: {
|
113
|
+
type: (NumberConstructor | StringConstructor)[];
|
114
|
+
default: string;
|
115
|
+
};
|
116
|
+
customClass: {
|
117
|
+
type: (ArrayConstructor | StringConstructor)[];
|
118
|
+
default: string;
|
119
|
+
};
|
120
|
+
scrollable: {
|
121
|
+
type: BooleanConstructor;
|
122
|
+
default: boolean;
|
123
|
+
};
|
124
|
+
showMask: {
|
125
|
+
type: BooleanConstructor;
|
126
|
+
default: boolean;
|
127
|
+
};
|
128
|
+
}>> & {
|
129
|
+
onClosed?: (...args: any[]) => any;
|
130
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
131
|
+
}, unknown, unknown, {}, {
|
132
|
+
handleClose(): void;
|
133
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], string, {
|
134
|
+
width: string | number;
|
135
|
+
height: string | number;
|
136
|
+
title: string;
|
137
|
+
showMask: boolean;
|
138
|
+
isShow: boolean;
|
139
|
+
customClass: string | unknown[];
|
140
|
+
scrollable: boolean;
|
141
|
+
confirmText: string;
|
142
|
+
cancelText: string;
|
143
|
+
headerAlign: string;
|
144
|
+
footerAlign: string;
|
145
|
+
}> & {
|
146
|
+
beforeCreate?: (() => void) | (() => void)[];
|
147
|
+
created?: (() => void) | (() => void)[];
|
148
|
+
beforeMount?: (() => void) | (() => void)[];
|
149
|
+
mounted?: (() => void) | (() => void)[];
|
150
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
151
|
+
updated?: (() => void) | (() => void)[];
|
152
|
+
activated?: (() => void) | (() => void)[];
|
153
|
+
deactivated?: (() => void) | (() => void)[];
|
154
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
155
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
156
|
+
destroyed?: (() => void) | (() => void)[];
|
157
|
+
unmounted?: (() => void) | (() => void)[];
|
158
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
159
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
160
|
+
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)[];
|
161
|
+
};
|
162
|
+
$forceUpdate: () => void;
|
163
|
+
$nextTick: typeof import("vue").nextTick;
|
164
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
|
165
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
166
|
+
confirmText: {
|
167
|
+
type: StringConstructor;
|
168
|
+
default: string;
|
169
|
+
};
|
170
|
+
cancelText: {
|
171
|
+
type: StringConstructor;
|
172
|
+
default: string;
|
173
|
+
};
|
174
|
+
title: {
|
175
|
+
type: StringConstructor;
|
176
|
+
default: string;
|
177
|
+
};
|
178
|
+
headerAlign: {
|
179
|
+
type: StringConstructor;
|
180
|
+
default: string;
|
181
|
+
validator: (value: string) => boolean;
|
182
|
+
};
|
183
|
+
footerAlign: {
|
184
|
+
type: StringConstructor;
|
185
|
+
default: string;
|
186
|
+
validator: (value: string) => boolean;
|
187
|
+
};
|
188
|
+
isShow: {
|
189
|
+
type: BooleanConstructor;
|
190
|
+
default: boolean;
|
191
|
+
};
|
192
|
+
width: {
|
193
|
+
type: (NumberConstructor | StringConstructor)[];
|
194
|
+
default: string;
|
195
|
+
};
|
196
|
+
height: {
|
197
|
+
type: (NumberConstructor | StringConstructor)[];
|
198
|
+
default: string;
|
199
|
+
};
|
200
|
+
customClass: {
|
201
|
+
type: (ArrayConstructor | StringConstructor)[];
|
202
|
+
default: string;
|
203
|
+
};
|
204
|
+
scrollable: {
|
205
|
+
type: BooleanConstructor;
|
206
|
+
default: boolean;
|
207
|
+
};
|
208
|
+
showMask: {
|
209
|
+
type: BooleanConstructor;
|
210
|
+
default: boolean;
|
211
|
+
};
|
212
|
+
}>> & {
|
213
|
+
onClosed?: (...args: any[]) => any;
|
214
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
215
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
|
216
|
+
handleClose(): void;
|
217
|
+
} & import("vue").ComponentCustomProperties;
|
218
|
+
__isFragment?: never;
|
219
|
+
__isTeleport?: never;
|
220
|
+
__isSuspense?: never;
|
221
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
222
|
+
confirmText: {
|
223
|
+
type: StringConstructor;
|
224
|
+
default: string;
|
225
|
+
};
|
226
|
+
cancelText: {
|
227
|
+
type: StringConstructor;
|
228
|
+
default: string;
|
229
|
+
};
|
230
|
+
title: {
|
231
|
+
type: StringConstructor;
|
232
|
+
default: string;
|
233
|
+
};
|
234
|
+
headerAlign: {
|
235
|
+
type: StringConstructor;
|
236
|
+
default: string;
|
237
|
+
validator: (value: string) => boolean;
|
238
|
+
};
|
239
|
+
footerAlign: {
|
240
|
+
type: StringConstructor;
|
241
|
+
default: string;
|
242
|
+
validator: (value: string) => boolean;
|
243
|
+
};
|
244
|
+
isShow: {
|
245
|
+
type: BooleanConstructor;
|
246
|
+
default: boolean;
|
247
|
+
};
|
248
|
+
width: {
|
249
|
+
type: (NumberConstructor | StringConstructor)[];
|
250
|
+
default: string;
|
251
|
+
};
|
252
|
+
height: {
|
253
|
+
type: (NumberConstructor | StringConstructor)[];
|
254
|
+
default: string;
|
255
|
+
};
|
256
|
+
customClass: {
|
257
|
+
type: (ArrayConstructor | StringConstructor)[];
|
258
|
+
default: string;
|
259
|
+
};
|
260
|
+
scrollable: {
|
261
|
+
type: BooleanConstructor;
|
262
|
+
default: boolean;
|
263
|
+
};
|
264
|
+
showMask: {
|
265
|
+
type: BooleanConstructor;
|
266
|
+
default: boolean;
|
267
|
+
};
|
268
|
+
}>> & {
|
269
|
+
onClosed?: (...args: any[]) => any;
|
270
|
+
"onUpdate:isShow"?: (...args: any[]) => any;
|
271
|
+
}, unknown, unknown, {}, {
|
272
|
+
handleClose(): void;
|
273
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:isShow")[], "closed" | "update:isShow", {
|
274
|
+
width: string | number;
|
275
|
+
height: string | number;
|
276
|
+
title: string;
|
277
|
+
showMask: boolean;
|
278
|
+
isShow: boolean;
|
279
|
+
customClass: string | unknown[];
|
280
|
+
scrollable: boolean;
|
281
|
+
confirmText: string;
|
282
|
+
cancelText: string;
|
283
|
+
headerAlign: string;
|
284
|
+
footerAlign: string;
|
285
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
|
286
|
+
export default BkDialog;
|
package/lib/dialog/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("../shared"),require("vue"),require("../button"),require("../modal")):"function"==typeof define&&define.amd?define(["exports","../shared","vue","../button","../modal"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue,e.Button,e.Modal)}(this,(function(e,t,o,l,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(l),i=r(n);var d=o.defineComponent({name:"Dialog",components:{BkModal:i.default,BkButton:a.default},props:Object.assign(Object.assign({},n.propsMixin),{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)}}}),emits:["closed","update:isShow"],methods:{handleClose:function(){this.$emit("update:isShow",!1),this.$emit("closed")}},render:function(){var e,t=this,l={header:function(){var e,l,n;return o.createVNode(o.Fragment,null,[o.createVNode("div",{class:"bk-dialog-tool"},[o.createVNode("span",{class:"bk-dialog-close",onClick:t.handleClose},[o.createTextVNode("+")])]),o.createVNode("div",{class:"bk-dialog-header"},[o.createVNode("span",{class:"bk-dialog-title",style:"text-align: ".concat(t.headerAlign)},[null!==(n=null===(l=(e=t.$slots).header)||void 0===l?void 0:l.call(e))&&void 0!==n?n:t.title])])])},default:function(){var e,o,l;return null!==(l=null===(o=(e=t.$slots).default)||void 0===o?void 0:o.call(e))&&void 0!==l?l:"default"},footer:function(){var e,l,n;return o.createVNode("div",{class:"bk-dialog-footer",style:"text-align: ".concat(t.footerAlign)},[null!==(n=null===(l=(e=t.$slots).footer)||void 0===l?void 0:l.call(e))&&void 0!==n?n:o.createVNode(o.Fragment,null,[o.createVNode(a.default,{onClick:t.handleClose,theme:"primary"},{default:function(){return[t.confirmText]}}),o.createVNode(a.default,{onClick:t.handleClose},{default:function(){return[t.cancelText]}})])])}},n="bk-dialog-wrapper ".concat(this.scrollable?"scroll-able":"");return o.createVNode(i.default,o.mergeProps(this.$props,{class:n}),"function"==typeof(e=l)||"[object Object]"===Object.prototype.toString.call(e)&&!o.isVNode(e)?l:{default:function(){return[l]}})}}),c=t.withInstall(d);e.default=c,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/lib/directives/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("../shared"),require("../styles/mixins/popper.less")):"function"==typeof define&&define.amd?define(["exports","../shared","../styles/mixins/popper.less"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared)}(this,(function(e,t){"use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var r,o,i,a,s,f,c,u,p,l,d,m,h,v,y,b=!1;function g(){if(!b){b=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(m=/\b(iPhone|iP[ao]d)/.exec(e),h=/\b(iP[ao]d)/.exec(e),l=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),y=/Mobile/i.exec(e),d=!!/Win64/.exec(e),t){(r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN)&&document&&document.documentMode&&(r=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);f=g?parseFloat(g[1])+4:r,o=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,(a=t[4]?parseFloat(t[4]):NaN)?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),s=t&&t[1]?parseFloat(t[1]):NaN):s=NaN}else r=o=i=s=a=NaN;if(n){if(n[1]){var x=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);c=!x||parseFloat(x[1].replace("_","."))}else c=!1;u=!!n[2],p=!!n[3]}else c=u=p=!1}}var x,w={ie:function(){return g()||r},ieCompatibilityMode:function(){return g()||f>r},ie64:function(){return w.ie()&&d},firefox:function(){return g()||o},opera:function(){return g()||i},webkit:function(){return g()||a},safari:function(){return w.webkit()},chrome:function(){return g()||s},windows:function(){return g()||u},osx:function(){return g()||c},linux:function(){return g()||p},iphone:function(){return g()||m},mobile:function(){return g()||m||h||l||y},nativeApp:function(){return g()||v},android:function(){return g()||l},ipad:function(){return g()||h}},O=w,E=!("undefined"==typeof window||!window.document||!window.document.createElement),A={canUseDOM:E,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:E&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:E&&!!window.screen,isInWorker:!E};A.canUseDOM&&(x=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
|
2
2
|
/**
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
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})}));
|
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 S=O,j=function(e,t){if(!A.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var o=document.createElement("div");o.setAttribute(n,"return;"),r="function"==typeof o[n]}return!r&&x&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r};function M(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}}M.getEventType=function(){return S.firefox()?"DOMMouseScroll":j("wheel")?"wheel":"mousewheel"};var D=M,k="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,N={beforeMount:function(e,t){var n,r;console.error(e,t),n=e,r=t.value,(null==n?void 0:n.addEventListener)&&n.addEventListener(k?"DOMMouseScroll":"mousewheel",(function(e){var t=D(e);null==r||r.apply(this,[e,t])}))}};function L(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(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,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function P(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 _,T=new Map;function I(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,s=null==o?void 0:o.target,f=!t||!t.instance,c=!a||!s,u=e.contains(a)||e.contains(s),p=e===a,l=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(s),d=i&&(i.contains(a)||i.contains(s));f||c||u||p||l||d||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return _=e})),document.addEventListener("mouseup",(function(e){var t,n=L(T.values());try{for(n.s();!(t=n.n()).done;){var r,o=L(t.value);try{for(o.s();!(r=o.n()).done;){(0,r.value.documentHandler)(e,_)}}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}));var q={beforeMount:function(e,t){T.has(e)||T.set(e,[]),T.get(e).push({documentHandler:I(e,t),bindingFn:t.value})},updated:function(e,t){T.has(e)||T.set(e,[]);var n=T.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:I(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){T.delete(e)}},W={exports:{}},H={exports:{}},V={exports:{}};!function(e){e.exports=function(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},e.exports.__esModule=!0,e.exports.default=e.exports}(V),function(e){var t=V.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(H);var C={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports}(C);var F={exports:{}};!function(e){var t=V.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports}(F);var B={exports:{}};!function(e){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports}(B),function(e){var t=H.exports,n=C.exports,r=F.exports,o=B.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports}(W);var R=n(W.exports),U={exports:{}};!function(e){function t(n){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(U);var X=n(U.exports),Y="top",z="bottom",G="right",Z="left",$="auto",J=[Y,z,G,Z],K="start",Q="end",ee="viewport",te="popper",ne=J.reduce((function(e,t){return e.concat([t+"-"+K,t+"-"+Q])}),[]),re=[].concat(J,[$]).reduce((function(e,t){return e.concat([t,t+"-"+K,t+"-"+Q])}),[]),oe=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ie(e){return e?(e.nodeName||"").toLowerCase():null}function ae(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function se(e){return e instanceof ae(e).Element||e instanceof Element}function fe(e){return e instanceof ae(e).HTMLElement||e instanceof HTMLElement}function ce(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ae(e).ShadowRoot||e instanceof ShadowRoot)}var ue={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];fe(o)&&ie(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});fe(r)&&ie(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function pe(e){return e.split("-")[0]}var le=Math.max,de=Math.min,me=Math.round;function he(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(fe(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=me(n.width)/a||1),i>0&&(o=me(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ve(e){var t=he(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ye(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ce(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function be(e){return ae(e).getComputedStyle(e)}function ge(e){return["table","td","th"].indexOf(ie(e))>=0}function xe(e){return((se(e)?e.ownerDocument:e.document)||window.document).documentElement}function we(e){return"html"===ie(e)?e:e.assignedSlot||e.parentNode||(ce(e)?e.host:null)||xe(e)}function Oe(e){return fe(e)&&"fixed"!==be(e).position?e.offsetParent:null}function Ee(e){for(var t=ae(e),n=Oe(e);n&&ge(n)&&"static"===be(n).position;)n=Oe(n);return n&&("html"===ie(n)||"body"===ie(n)&&"static"===be(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&fe(e)&&"fixed"===be(e).position)return null;var n=we(e);for(ce(n)&&(n=n.host);fe(n)&&["html","body"].indexOf(ie(n))<0;){var r=be(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ae(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Se(e,t,n){return le(e,de(t,n))}function je(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Me(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var De={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=pe(n.placement),f=Ae(s),c=[Z,G].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return je("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Me(e,J))}(o.padding,n),p=ve(i),l="y"===f?Y:Z,d="y"===f?z:G,m=n.rects.reference[c]+n.rects.reference[f]-a[f]-n.rects.popper[c],h=a[f]-n.rects.reference[f],v=Ee(i),y=v?"y"===f?v.clientHeight||0:v.clientWidth||0:0,b=m/2-h/2,g=u[l],x=y-p[c]-u[d],w=y/2-p[c]/2+b,O=Se(g,w,x),E=f;n.modifiersData[r]=((t={})[E]=O,t.centerOffset=O-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(fe(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),ye(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ke(e){return e.split("-")[1]}var Ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Le(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,f=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,p=e.isFixed,l=a.x,d=void 0===l?0:l,m=a.y,h=void 0===m?0:m,v="function"==typeof u?u({x:d,y:h}):{x:d,y:h};d=v.x,h=v.y;var y=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),g=Z,x=Y,w=window;if(c){var O=Ee(n),E="clientHeight",A="clientWidth";if(O===ae(n)&&"static"!==be(O=xe(n)).position&&"absolute"===s&&(E="scrollHeight",A="scrollWidth"),O=O,o===Y||(o===Z||o===G)&&i===Q)x=z,h-=(p&&O===w&&w.visualViewport?w.visualViewport.height:O[E])-r.height,h*=f?1:-1;if(o===Z||(o===Y||o===z)&&i===Q)g=G,d-=(p&&O===w&&w.visualViewport?w.visualViewport.width:O[A])-r.width,d*=f?1:-1}var S,j=Object.assign({position:s},c&&Ne),M=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:me(t*r)/r||0,y:me(n*r)/r||0}}({x:d,y:h}):{x:d,y:h};return d=M.x,h=M.y,f?Object.assign({},j,((S={})[x]=b?"0":"",S[g]=y?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",S)):Object.assign({},j,((t={})[x]=b?h+"px":"",t[g]=y?d+"px":"",t.transform="",t))}var Pe={passive:!0};var _e={left:"right",right:"left",bottom:"top",top:"bottom"};function Te(e){return e.replace(/left|right|bottom|top/g,(function(e){return _e[e]}))}var Ie={start:"end",end:"start"};function qe(e){return e.replace(/start|end/g,(function(e){return Ie[e]}))}function We(e){var t=ae(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function He(e){return he(xe(e)).left+We(e).scrollLeft}function Ve(e){var t=be(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Ce(e){return["html","body","#document"].indexOf(ie(e))>=0?e.ownerDocument.body:fe(e)&&Ve(e)?e:Ce(we(e))}function Fe(e,t){var n;void 0===t&&(t=[]);var r=Ce(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=ae(r),a=o?[i].concat(i.visualViewport||[],Ve(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(Fe(we(a)))}function Be(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Re(e,t){return t===ee?Be(function(e){var t=ae(e),n=xe(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+He(e),y:s}}(e)):se(t)?function(e){var t=he(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Be(function(e){var t,n=xe(e),r=We(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=le(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=le(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+He(e),f=-r.scrollTop;return"rtl"===be(o||n).direction&&(s+=le(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:f}}(xe(e)))}function Ue(e,t,n){var r="clippingParents"===t?function(e){var t=Fe(we(e)),n=["absolute","fixed"].indexOf(be(e).position)>=0&&fe(e)?Ee(e):e;return se(n)?t.filter((function(e){return se(e)&&ye(e,n)&&"body"!==ie(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Re(e,n);return t.top=le(r.top,t.top),t.right=de(r.right,t.right),t.bottom=de(r.bottom,t.bottom),t.left=le(r.left,t.left),t}),Re(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Xe(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?pe(o):null,a=o?ke(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case Y:t={x:s,y:n.y-r.height};break;case z:t={x:s,y:n.y+n.height};break;case G:t={x:n.x+n.width,y:f};break;case Z:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?Ae(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case K:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Q:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function Ye(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,f=void 0===s?ee:s,c=n.elementContext,u=void 0===c?te:c,p=n.altBoundary,l=void 0!==p&&p,d=n.padding,m=void 0===d?0:d,h=je("number"!=typeof m?m:Me(m,J)),v=u===te?"reference":te,y=e.rects.popper,b=e.elements[l?v:u],g=Ue(se(b)?b:b.contextElement||xe(e.elements.popper),a,f),x=he(e.elements.reference),w=Xe({reference:x,element:y,strategy:"absolute",placement:o}),O=Be(Object.assign({},y,w)),E=u===te?O:x,A={top:g.top-E.top+h.top,bottom:E.bottom-g.bottom+h.bottom,left:g.left-E.left+h.left,right:E.right-g.right+h.right},S=e.modifiersData.offset;if(u===te&&S){var j=S[o];Object.keys(A).forEach((function(e){var t=[G,z].indexOf(e)>=0?1:-1,n=[Y,z].indexOf(e)>=0?"y":"x";A[e]+=j[n]*t}))}return A}function ze(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?re:f,u=ke(r),p=u?s?ne:ne.filter((function(e){return ke(e)===u})):J,l=p.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=p,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=l.reduce((function(t,n){return t[n]=Ye(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[pe(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var Ge={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,f=n.fallbackPlacements,c=n.padding,u=n.boundary,p=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,m=void 0===d||d,h=n.allowedAutoPlacements,v=t.options.placement,y=pe(v),b=f||(y===v||!m?[Te(v)]:function(e){if(pe(e)===$)return[];var t=Te(e);return[qe(e),t,qe(t)]}(v)),g=[v].concat(b).reduce((function(e,n){return e.concat(pe(n)===$?ze(t,{placement:n,boundary:u,rootBoundary:p,padding:c,flipVariations:m,allowedAutoPlacements:h}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=new Map,E=!0,A=g[0],S=0;S<g.length;S++){var j=g[S],M=pe(j),D=ke(j)===K,k=[Y,z].indexOf(M)>=0,N=k?"width":"height",L=Ye(t,{placement:j,boundary:u,rootBoundary:p,altBoundary:l,padding:c}),P=k?D?G:Z:D?z:Y;x[N]>w[N]&&(P=Te(P));var _=Te(P),T=[];if(i&&T.push(L[M]<=0),s&&T.push(L[P]<=0,L[_]<=0),T.every((function(e){return e}))){A=j,E=!1;break}O.set(j,T)}if(E)for(var I=function(e){var t=g.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,"break"},q=m?3:1;q>0;q--){if("break"===I(q))break}t.placement!==A&&(t.modifiersData[r]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ze(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function $e(e){return[Y,G,z,Z].some((function(t){return e[t]>=0}))}var Je={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=re.reduce((function(e,n){return e[n]=function(e,t,n){var r=pe(e),o=[Z,Y].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[Z,G].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],f=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,f=n.boundary,c=n.rootBoundary,u=n.altBoundary,p=n.padding,l=n.tether,d=void 0===l||l,m=n.tetherOffset,h=void 0===m?0:m,v=Ye(t,{boundary:f,rootBoundary:c,padding:p,altBoundary:u}),y=pe(t.placement),b=ke(t.placement),g=!b,x=Ae(y),w="x"===x?"y":"x",O=t.modifiersData.popperOffsets,E=t.rects.reference,A=t.rects.popper,S="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,j="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(O){if(i){var k,N="y"===x?Y:Z,L="y"===x?z:G,P="y"===x?"height":"width",_=O[x],T=_+v[N],I=_-v[L],q=d?-A[P]/2:0,W=b===K?E[P]:A[P],H=b===K?-A[P]:-E[P],V=t.elements.arrow,C=d&&V?ve(V):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[N],R=F[L],U=Se(0,E[P],C[P]),X=g?E[P]/2-q-U-B-j.mainAxis:W-U-B-j.mainAxis,$=g?-E[P]/2+q+U+R+j.mainAxis:H+U+R+j.mainAxis,J=t.elements.arrow&&Ee(t.elements.arrow),Q=J?"y"===x?J.clientTop||0:J.clientLeft||0:0,ee=null!=(k=null==M?void 0:M[x])?k:0,te=_+$-ee,ne=Se(d?de(T,_+X-ee-Q):T,_,d?le(I,te):I);O[x]=ne,D[x]=ne-_}if(s){var re,oe="x"===x?Y:Z,ie="x"===x?z:G,ae=O[w],se="y"===w?"height":"width",fe=ae+v[oe],ce=ae-v[ie],ue=-1!==[Y,Z].indexOf(y),me=null!=(re=null==M?void 0:M[w])?re:0,he=ue?fe:ae-E[se]-A[se]-me+j.altAxis,ye=ue?ae+E[se]+A[se]-me-j.altAxis:ce,be=d&&ue?function(e,t,n){var r=Se(e,t,n);return r>n?n:r}(he,ae,ye):Se(d?he:fe,ae,d?ye:ce);O[w]=be,D[w]=be-ae}t.modifiersData[r]=D}},requiresIfExists:["offset"]};function Qe(e,t,n){void 0===n&&(n=!1);var r,o,i=fe(t),a=fe(t)&&function(e){var t=e.getBoundingClientRect(),n=me(t.width)/e.offsetWidth||1,r=me(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=xe(t),f=he(e,a),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==ie(t)||Ve(s))&&(c=(r=t)!==ae(r)&&fe(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:We(r)),fe(t)?((u=he(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=He(s))),{x:f.left+c.scrollLeft-u.x,y:f.top+c.scrollTop-u.y,width:f.width,height:f.height}}function et(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function tt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var nt='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',rt=["name","enabled","phase","fn","effect","requires","options"];var ot="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",it={placement:"bottom",modifiers:[],strategy:"absolute"};function at(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function st(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?it:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},it,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},f=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:se(e)?Fe(e):e.contextElement?Fe(e.contextElement):[],popper:Fe(t)};var a,c,l,d=function(e){var t=et(e);return oe.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),rt).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(tt(nt,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(tt(nt,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":oe.indexOf(t.phase)<0&&console.error(tt(nt,t.name,'"phase"',"either "+oe.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(tt(nt,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(tt(nt,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(tt(nt,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(tt(nt,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+rt.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(tt('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),c=function(e){return e.name},l=new Set,a.filter((function(e){var t=c(e);if(!l.has(t))return l.add(t),!0})))),pe(s.options.placement)===$)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var m=be(t);[m.marginTop,m.marginRight,m.marginBottom,m.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};f.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(at(t,n)){s.rects={reference:Qe(t,Ee(n),"fixed"===s.options.strategy),popper:ve(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,f=i.options,p=void 0===f?{}:f,l=i.name;"function"==typeof a&&(s=a({state:s,options:p,name:l,instance:u})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(ot)}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){p(),c=!0}};if(!at(e,t))return"production"!==process.env.NODE_ENV&&console.error(ot),u;function p(){f.forEach((function(e){return e()})),f=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var ft=st({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,f=ae(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Pe)})),s&&f.addEventListener("resize",n.update,Pe),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Pe)})),s&&f.removeEventListener("resize",n.update,Pe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Xe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s;if("production"!==process.env.NODE_ENV){var c=be(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var u={placement:pe(t.placement),variation:ke(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Le(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Le(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},ue,Je,Ge,Ke,De,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ye(t,{elementContext:"reference"}),s=Ye(t,{altBoundary:!0}),f=Ze(a,r),c=Ze(s,o,i),u=$e(f),p=$e(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}}]}),ct={mounted:function(e,n){var r={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,onShow:function(){},onHide:function(){}};"object"===X(n.value)?Object.assign(r,n.value):r.content=n.value;var o=r.disabled,i=r.arrow,a=r.theme;if(!o){var s=function(e,n,r){var o=t.bkZIndexManager.getPopperIndex(),i=document.createElement("div");if(i.className="bk-popper ".concat(r?"light":"dark"),i.innerText=e,i.style.zIndex=String(o),n){var a=function(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}();i.appendChild(a)}return document.body.appendChild(i),i}(r.content,i,"light"===a);!function(e,t,n){var r=n.placement,o=n.distance,i=n.trigger,a=n.showOnInit,s=n.onShow,f=n.onHide,c=ft(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});if("hover"===i){var u=["mouseleave","blur"];["mouseenter","focus"].forEach((function(t){e.addEventListener(t,p)})),u.forEach((function(t){e.addEventListener(t,l)}))}else"click"===i&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!t.hasAttribute("data-show")?p():t.hasAttribute("data-show")&&l()}));a&&p();function p(){t.setAttribute("data-show",""),s(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(R(e.modifiers),[{name:"eventListeners",enabled:!0}])})})),c.update()}function l(){t.removeAttribute("data-show"),f(),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat(R(e.modifiers),[{name:"eventListeners",enabled:!1}])})}))}}(e,s,r)}}};e.bkTooltips=ct,e.clickoutside=q,e.mousewheel=N,Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ObjectDirective } from 'vue';
|
2
|
+
import { Placement } from '@popperjs/core';
|
3
|
+
import '@bkui-vue/styles/mixins/popper.less';
|
4
|
+
export declare type IOptions = {
|
5
|
+
arrow: boolean;
|
6
|
+
disabled: boolean;
|
7
|
+
placement: Placement;
|
8
|
+
content: string;
|
9
|
+
showOnInit: boolean;
|
10
|
+
theme: string;
|
11
|
+
trigger: string;
|
12
|
+
distance: number;
|
13
|
+
onShow: () => void;
|
14
|
+
onHide: () => void;
|
15
|
+
};
|
16
|
+
declare const tooltips: ObjectDirective;
|
17
|
+
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;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
@import '../styles/themes/themes.less';
|
2
|
+
.@{bk-prefix}-divider {
|
3
|
+
position: relative;
|
4
|
+
background: @light-gray;
|
5
|
+
|
6
|
+
&-horizontal {
|
7
|
+
width: 100%;
|
8
|
+
height: 1px;
|
9
|
+
margin: 1em 0;
|
10
|
+
}
|
11
|
+
|
12
|
+
&-info {
|
13
|
+
position: absolute;
|
14
|
+
top: 50%;
|
15
|
+
padding: 0 1.4em;
|
16
|
+
color: @default-color;
|
17
|
+
background-color: @white-color;
|
18
|
+
transform: translateY(-50%);
|
19
|
+
|
20
|
+
&-center {
|
21
|
+
left: 50%;
|
22
|
+
transform: translateX(-50%) translateY(-50%)
|
23
|
+
}
|
24
|
+
|
25
|
+
.bk-divider-horizontal {
|
26
|
+
&-left {
|
27
|
+
left: 2em;
|
28
|
+
}
|
29
|
+
|
30
|
+
&-right {
|
31
|
+
right: 2em;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
.bk-divider-vertical & {
|
36
|
+
padding: 20px 0;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&-vertical {
|
41
|
+
display: inline-block;
|
42
|
+
width: 1px;
|
43
|
+
height: 100%;
|
44
|
+
min-height: 1em;
|
45
|
+
margin: 0 8px;
|
46
|
+
vertical-align: middle;
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
|