bkui-vue 0.0.1-beta.23 → 0.0.1-beta.230
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/dist/index.cjs.js +173 -0
- package/dist/index.esm.js +38108 -0
- package/dist/index.umd.js +173 -0
- package/dist/style.css +1 -5099
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.css +3 -0
- package/lib/affix/affix.d.ts +47 -0
- package/lib/affix/affix.less +5 -0
- package/lib/affix/affix.variable.css +122 -0
- package/lib/affix/index.d.ts +143 -0
- package/lib/affix/index.js +1 -0
- package/lib/alert/alert.css +5 -3
- package/lib/alert/alert.less +7 -3
- package/lib/alert/alert.variable.css +34 -6
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +1 -1
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +2 -2
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +37 -3
- package/lib/backtop/index.d.ts +7 -7
- package/lib/backtop/index.js +1 -10
- package/lib/badge/badge.css +5 -5
- package/lib/badge/badge.d.ts +28 -7
- package/lib/badge/badge.less +5 -6
- package/lib/badge/badge.variable.css +34 -8
- package/lib/badge/index.d.ts +68 -18
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.css +51 -0
- package/lib/breadcrumb/breadcrumb.variable.css +80 -3
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button.css +87 -49
- package/lib/button/button.d.ts +28 -7
- package/lib/button/button.less +74 -41
- package/lib/button/button.variable.css +116 -52
- package/lib/button/index.d.ts +45 -12
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +96 -1
- package/lib/card/card.d.ts +47 -6
- package/lib/card/card.less +50 -2
- package/lib/card/card.variable.css +125 -4
- package/lib/card/index.d.ts +113 -17
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +100 -0
- package/lib/cascader/cascader.css +173 -0
- package/lib/cascader/cascader.d.ts +303 -0
- package/lib/cascader/cascader.less +196 -0
- package/lib/cascader/cascader.variable.css +292 -0
- package/lib/cascader/index.d.ts +868 -0
- package/lib/cascader/index.js +1 -0
- package/lib/cascader/interface.d.ts +51 -0
- package/lib/cascader/node.d.ts +31 -0
- package/lib/cascader/store.d.ts +23 -0
- package/lib/checkbox/checkbox-group.d.ts +16 -0
- package/lib/checkbox/checkbox.css +38 -6
- package/lib/checkbox/checkbox.d.ts +16 -14
- package/lib/checkbox/checkbox.less +48 -6
- package/lib/checkbox/checkbox.variable.css +67 -9
- package/lib/checkbox/common.d.ts +3 -3
- package/lib/checkbox/index.d.ts +40 -23
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +2 -6
- package/lib/code-diff/code-diff.css +72 -1
- package/lib/code-diff/code-diff.d.ts +10 -1
- package/lib/code-diff/code-diff.less +94 -1
- package/lib/code-diff/code-diff.variable.css +101 -4
- package/lib/code-diff/index.d.ts +151 -3
- package/lib/code-diff/index.js +1 -0
- package/lib/collapse/collapse-panel.d.ts +72 -0
- package/lib/collapse/collapse.css +28 -12
- package/lib/collapse/collapse.d.ts +11 -52
- package/lib/collapse/collapse.less +54 -29
- package/lib/collapse/collapse.variable.css +147 -12
- package/lib/collapse/index.d.ts +113 -16
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +121 -0
- package/lib/collapse/utils.d.ts +11 -0
- package/lib/color-picker/color-picker.css +275 -0
- package/lib/color-picker/color-picker.d.ts +144 -0
- package/lib/color-picker/color-picker.less +325 -0
- package/lib/color-picker/color-picker.variable.css +394 -0
- package/lib/color-picker/components/color-input.d.ts +42 -0
- package/lib/color-picker/components/hue-slider.d.ts +41 -0
- package/lib/color-picker/components/input-container.d.ts +42 -0
- package/lib/color-picker/components/recommend-colors.d.ts +51 -0
- package/lib/color-picker/components/saturation-panel.d.ts +41 -0
- package/lib/color-picker/index.d.ts +254 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +28 -7
- package/lib/components.js +1 -0
- package/lib/container/col.d.ts +51 -0
- package/lib/container/container.css +91 -0
- package/lib/container/container.d.ts +83 -0
- package/lib/container/container.less +20 -0
- package/lib/container/container.variable.css +210 -0
- package/lib/container/index.d.ts +223 -0
- package/lib/container/index.js +1 -0
- package/lib/container/row.d.ts +4 -0
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +102 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +73 -0
- package/lib/date-picker/base/time-spinner.d.ts +153 -0
- package/lib/date-picker/date-picker.css +18 -2
- package/lib/date-picker/date-picker.d.ts +40 -13
- package/lib/date-picker/date-picker.less +23 -2
- package/lib/date-picker/date-picker.variable.css +47 -5
- package/lib/date-picker/index.d.ts +100 -39
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +9 -0
- package/lib/date-picker/panel/date-range.d.ts +452 -0
- package/lib/date-picker/panel/date.d.ts +550 -0
- package/lib/date-picker/panel/time.d.ts +450 -0
- package/lib/date-picker/props.d.ts +51 -1
- package/lib/date-picker/time-picker.d.ts +381 -0
- package/lib/date-picker/utils.d.ts +22 -1
- package/lib/dialog/dialog.css +144 -22
- package/lib/dialog/dialog.d.ts +275 -58
- package/lib/dialog/dialog.less +97 -23
- package/lib/dialog/dialog.variable.css +144 -22
- package/lib/dialog/index.d.ts +607 -130
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.d.ts +138 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +2 -15
- package/lib/directives/index.js.LICENSE.txt +14 -0
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +1 -0
- package/lib/divider/divider.d.ts +1 -1
- package/lib/divider/divider.variable.css +29 -3
- package/lib/divider/index.d.ts +4 -4
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +21 -0
- package/lib/dropdown/const.d.ts +4 -0
- package/lib/dropdown/dropdown.css +13 -7
- package/lib/dropdown/dropdown.d.ts +34 -3
- package/lib/dropdown/dropdown.less +47 -34
- package/lib/dropdown/dropdown.variable.css +42 -10
- package/lib/dropdown/index.d.ts +71 -10
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +10 -3
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +69 -17
- package/lib/exception/index.d.ts +23 -8
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +29 -3
- package/lib/fixed-navbar/index.d.ts +40 -5
- package/lib/fixed-navbar/index.js +1 -1
- package/lib/form/compose-form-item.d.ts +16 -0
- package/lib/form/form-item.d.ts +16 -5
- package/lib/form/form.css +96 -12
- package/lib/form/form.d.ts +28 -11
- package/lib/form/form.less +144 -45
- package/lib/form/form.variable.css +215 -12
- package/lib/form/index.d.ts +88 -30
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +8 -6
- package/lib/form/validator.d.ts +1 -0
- package/lib/icon/angle-double-down-line.js +1 -15
- package/lib/icon/angle-double-left-line.js +1 -15
- package/lib/icon/angle-double-left.js +1 -15
- package/lib/icon/angle-double-right-line.js +1 -15
- package/lib/icon/angle-double-right.js +1 -15
- package/lib/icon/angle-double-up-line.js +1 -15
- package/lib/icon/angle-down-fill.js +1 -15
- package/lib/icon/angle-down-line.js +1 -15
- package/lib/icon/angle-down.js +1 -15
- package/lib/icon/angle-left.js +1 -15
- package/lib/icon/angle-right.js +1 -15
- package/lib/icon/angle-up-fill.js +1 -15
- package/lib/icon/angle-up.js +1 -15
- package/lib/icon/archive-fill.d.ts +4 -0
- package/lib/icon/archive-fill.js +1 -0
- package/lib/icon/arrows-left.js +1 -15
- package/lib/icon/arrows-right.js +1 -15
- package/lib/icon/audio-fill.d.ts +4 -0
- package/lib/icon/audio-fill.js +1 -0
- package/lib/icon/bk.js +1 -15
- package/lib/icon/circle.js +1 -15
- package/lib/icon/close-line.d.ts +4 -0
- package/lib/icon/close-line.js +1 -0
- package/lib/icon/close.js +1 -15
- package/lib/icon/code.js +1 -15
- package/lib/icon/cog-shape.js +1 -15
- package/lib/icon/collapse-left.js +1 -15
- package/lib/icon/copy.js +1 -15
- package/lib/icon/data-shape.d.ts +4 -0
- package/lib/icon/data-shape.js +1 -0
- package/lib/icon/del.d.ts +4 -0
- package/lib/icon/del.js +1 -0
- package/lib/icon/doc-fill.d.ts +4 -0
- package/lib/icon/doc-fill.js +1 -0
- package/lib/icon/done.js +1 -15
- package/lib/icon/down-shape.js +1 -15
- package/lib/icon/down-small.js +1 -15
- package/lib/icon/edit-line.d.ts +4 -0
- package/lib/icon/edit-line.js +1 -0
- package/lib/icon/ellipsis.js +1 -15
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -15
- package/lib/icon/excel-fill.d.ts +4 -0
- package/lib/icon/excel-fill.js +1 -0
- package/lib/icon/exclamation-circle-shape.d.ts +4 -0
- package/lib/icon/exclamation-circle-shape.js +1 -0
- package/lib/icon/eye.js +1 -15
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/folder-open.js +1 -15
- package/lib/icon/folder-shape-open.js +1 -15
- package/lib/icon/folder-shape.js +1 -15
- package/lib/icon/folder.js +1 -15
- package/lib/icon/funnel.d.ts +4 -0
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -15
- package/lib/icon/help-fill.js +1 -15
- package/lib/icon/help.js +1 -15
- package/lib/icon/image-fill.d.ts +4 -0
- package/lib/icon/img-error.d.ts +4 -0
- package/lib/icon/img-error.js +1 -0
- package/lib/icon/img-placehoulder.d.ts +4 -0
- package/lib/icon/img-placehoulder.js +1 -0
- package/lib/icon/index.d.ts +27 -1
- package/lib/icon/index.js +1 -15
- package/lib/icon/info-line.js +1 -15
- package/lib/icon/info.js +1 -15
- package/lib/icon/left-shape.js +1 -15
- package/lib/icon/left-turn-line.d.ts +4 -0
- package/lib/icon/left-turn-line.js +1 -0
- package/lib/icon/narrow-line.d.ts +4 -0
- package/lib/icon/narrow-line.js +1 -0
- package/lib/icon/original .d.ts +4 -0
- package/lib/icon/original .js +1 -0
- package/lib/icon/pdf-fill.d.ts +4 -0
- package/lib/icon/pdf-fill.js +1 -0
- package/lib/icon/play-shape.js +1 -15
- package/lib/icon/plus.js +1 -15
- package/lib/icon/ppt-fill.d.ts +4 -0
- package/lib/icon/ppt-fill.js +1 -0
- package/lib/icon/qq.js +1 -15
- package/lib/icon/right-shape.js +1 -15
- package/lib/icon/right-turn-line.d.ts +4 -0
- package/lib/icon/right-turn-line.js +1 -0
- package/lib/icon/search.js +1 -15
- package/lib/icon/share.js +1 -15
- package/lib/icon/spinner.js +1 -15
- package/lib/icon/success.js +1 -15
- package/lib/icon/switcher-loading.js +1 -15
- package/lib/icon/text-file.js +1 -15
- package/lib/icon/text-fill.d.ts +4 -0
- package/lib/icon/text-fill.js +1 -0
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -15
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -15
- package/lib/icon/up-shape.js +1 -15
- package/lib/icon/upload.d.ts +4 -0
- package/lib/icon/upload.js +1 -0
- package/lib/icon/video-fill.d.ts +4 -0
- package/lib/icon/video-fill.js +1 -0
- package/lib/icon/warn.js +1 -15
- package/lib/icon/weixin.js +1 -15
- package/lib/image/image-viewer.css +142 -0
- package/lib/image/image-viewer.d.ts +73 -0
- package/lib/image/image-viewer.less +168 -0
- package/lib/image/image-viewer.variable.css +142 -0
- package/lib/image/image.css +37 -0
- package/lib/image/image.d.ts +93 -0
- package/lib/image/image.less +44 -0
- package/lib/image/image.variable.css +37 -0
- package/lib/image/index.d.ts +246 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -0
- package/lib/info-box/index.d.ts +6 -0
- package/lib/info-box/index.js +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +26 -0
- package/lib/info-box/info-box.less +50 -0
- package/lib/info-box/info-box.variable.css +37 -0
- package/lib/input/index.d.ts +171 -60
- package/lib/input/index.js +1 -15
- package/lib/input/input.css +216 -18
- package/lib/input/input.d.ts +116 -16
- package/lib/input/input.less +157 -17
- package/lib/input/input.variable.css +242 -17
- package/lib/link/index.d.ts +4 -4
- package/lib/link/index.js +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +1 -1
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +41 -15
- package/lib/loading/index.d.ts +107 -13
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +83 -31
- package/lib/loading/loading.d.ts +74 -5
- package/lib/loading/loading.less +28 -30
- package/lib/loading/loading.variable.css +112 -34
- package/lib/menu/index.d.ts +16 -24
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu.css +51 -0
- package/lib/menu/menu.d.ts +7 -16
- package/lib/menu/menu.variable.css +80 -3
- package/lib/menu/submenu.variable.css +29 -3
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +24 -3
- package/lib/message/message.less +27 -2
- package/lib/message/message.variable.css +53 -6
- package/lib/message/messageConstructor.d.ts +43 -7
- package/lib/modal/index.d.ts +508 -78
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +63 -1
- package/lib/modal/modal.d.ts +194 -30
- package/lib/modal/modal.less +36 -1
- package/lib/modal/modal.variable.css +63 -1
- package/lib/modal/props.mixin.d.ts +82 -13
- package/lib/navigation/index.d.ts +310 -1
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation.css +1 -1
- package/lib/navigation/navigation.d.ts +10 -1
- package/lib/navigation/navigation.less +1 -1
- package/lib/navigation/navigation.variable.css +30 -4
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +24 -4
- package/lib/notify/notify.less +27 -4
- package/lib/notify/notify.variable.css +53 -7
- package/lib/notify/notifyConstructor.d.ts +51 -7
- package/lib/pagination/index.d.ts +38 -23
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +17 -7
- package/lib/pagination/pagination.less +58 -31
- package/lib/pagination/pagination.variable.css +83 -31
- package/lib/pagination/type.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +27 -0
- package/lib/plugin-popover/index.js +1 -0
- package/lib/plugins/index.d.ts +1 -0
- package/lib/plugins/index.js +1 -0
- package/lib/popover/index.d.ts +146 -21
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +3 -0
- package/lib/popover/popover.d.ts +67 -8
- package/lib/popover/popover.less +2 -0
- package/lib/popover/popover.variable.css +32 -3
- package/lib/popover/props.d.ts +34 -2
- package/lib/popover2/arrow.d.ts +2 -0
- package/lib/popover2/const.d.ts +16 -0
- package/lib/popover2/content.d.ts +24 -0
- package/lib/popover2/index.d.ts +545 -0
- package/lib/popover2/index.js +1 -0
- package/lib/popover2/plugin-popover.d.ts +12 -0
- package/lib/popover2/popover2.css +25 -0
- package/lib/popover2/popover2.d.ts +228 -0
- package/lib/popover2/popover2.less +35 -0
- package/lib/popover2/popover2.variable.css +144 -0
- package/lib/popover2/props.d.ts +118 -0
- package/lib/popover2/reference.d.ts +2 -0
- package/lib/popover2/root.d.ts +16 -0
- package/lib/popover2/use-floating.d.ts +31 -0
- package/lib/popover2/use-platform.d.ts +30 -0
- package/lib/popover2/use-popover-init.d.ts +22 -0
- package/lib/popover2/use-popper-id.d.ts +6 -0
- package/lib/popover2/utils.d.ts +2 -0
- package/lib/preset.js +1 -0
- package/lib/process/index.d.ts +9 -9
- package/lib/process/index.js +1 -15
- package/lib/process/process.css +13 -0
- package/lib/process/process.d.ts +2 -2
- package/lib/process/process.less +17 -0
- package/lib/process/process.variable.css +42 -3
- package/lib/progress/index.d.ts +10 -10
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +51 -0
- package/lib/progress/progress.d.ts +3 -3
- package/lib/progress/progress.variable.css +80 -3
- package/lib/radio/common.d.ts +5 -5
- package/lib/radio/index.d.ts +29 -18
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +7 -8
- package/lib/radio/radio-group.d.ts +16 -0
- package/lib/radio/radio.css +61 -56
- package/lib/radio/radio.d.ts +4 -4
- package/lib/radio/radio.less +181 -172
- package/lib/radio/radio.variable.css +93 -62
- package/lib/radio/type.d.ts +9 -4
- package/lib/rate/index.d.ts +24 -1
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +11 -0
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +336 -0
- package/lib/resize-layout/index.js +1 -0
- package/lib/resize-layout/resize-layout.css +177 -0
- package/lib/resize-layout/resize-layout.d.ts +127 -0
- package/lib/resize-layout/resize-layout.less +217 -0
- package/lib/resize-layout/resize-layout.variable.css +296 -0
- package/lib/search-select/index.d.ts +681 -0
- package/lib/search-select/index.js +1 -0
- package/lib/search-select/input.d.ts +85 -0
- package/lib/search-select/menu.d.ts +83 -0
- package/lib/search-select/search-select.css +423 -0
- package/lib/search-select/search-select.d.ts +273 -0
- package/lib/search-select/search-select.less +375 -0
- package/lib/search-select/search-select.variable.css +542 -0
- package/lib/search-select/selected.d.ts +137 -0
- package/lib/search-select/utils.d.ts +79 -0
- package/lib/select/common.d.ts +20 -31
- package/lib/select/index.d.ts +1422 -451
- package/lib/select/index.js +1 -15
- package/lib/select/option.d.ts +16 -4
- package/lib/select/optionGroup.d.ts +1 -77
- package/lib/select/select.css +265 -80
- package/lib/select/select.d.ts +553 -126
- package/lib/select/select.less +366 -185
- package/lib/select/select.variable.css +295 -84
- package/lib/select/selectTagInput.d.ts +93 -0
- package/lib/select/type.d.ts +39 -0
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +0 -0
- package/lib/shared/hooks/use-form-item.d.ts +2 -0
- package/lib/shared/hooks/use-form.d.ts +2 -0
- package/lib/shared/index.d.ts +27 -4
- package/lib/shared/index.js +1 -1
- package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +6 -2
- package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -4
- package/lib/shared/{bk-popover.d.ts → popover.d.ts} +6 -2
- package/lib/shared/token.d.ts +4 -0
- package/lib/shared/utils.d.ts +13 -0
- package/lib/shared/vue-types.d.ts +4 -0
- package/lib/sideslider/index.d.ts +391 -76
- package/lib/sideslider/index.js +1 -1
- package/lib/sideslider/sideslider.css +55 -10
- package/lib/sideslider/sideslider.d.ts +181 -33
- package/lib/sideslider/sideslider.less +72 -13
- package/lib/sideslider/sideslider.variable.css +84 -13
- package/lib/slider/index.d.ts +414 -1
- package/lib/slider/index.js +1 -15
- package/lib/slider/slider-button.d.ts +5 -0
- package/lib/slider/slider.d.ts +14 -2
- package/lib/slider/slider.variable.css +29 -3
- package/lib/steps/index.d.ts +4 -4
- package/lib/steps/index.js +1 -15
- package/lib/steps/steps.css +14 -3
- package/lib/steps/steps.d.ts +1 -1
- package/lib/steps/steps.less +23 -3
- package/lib/steps/steps.variable.css +43 -6
- package/lib/styles/index.d.ts +12 -0
- package/lib/styles/mixins/clearfix.css +8 -0
- package/lib/styles/mixins/clearfix.less +10 -0
- package/lib/styles/mixins/clearfix.variable.css +8 -0
- package/lib/styles/mixins/mixins.css +51 -0
- package/lib/styles/mixins/mixins.less +2 -0
- package/lib/styles/mixins/mixins.variable.css +51 -0
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +136 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -0
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +38 -3
- package/lib/swiper/index.d.ts +181 -0
- package/lib/swiper/index.js +1 -0
- package/lib/swiper/swiper.css +91 -0
- package/lib/swiper/swiper.d.ts +65 -0
- package/lib/swiper/swiper.less +107 -0
- package/lib/swiper/swiper.variable.css +91 -0
- package/lib/switcher/index.d.ts +34 -11
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +57 -6
- package/lib/switcher/switcher.d.ts +15 -4
- package/lib/switcher/switcher.less +5 -26
- package/lib/switcher/switcher.variable.css +86 -9
- package/lib/tab/index.d.ts +107 -219
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +194 -0
- package/lib/tab/tab-nav.d.ts +66 -87
- package/lib/tab/tab-panel.d.ts +40 -15
- package/lib/tab/tab.css +25 -1
- package/lib/tab/tab.d.ts +17 -41
- package/lib/tab/tab.less +31 -19
- package/lib/tab/tab.variable.css +54 -4
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +38 -0
- package/lib/table/components/table-column.d.ts +142 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +108 -1
- package/lib/table/index.d.ts +781 -27
- package/lib/table/index.js +1 -10
- package/lib/table/plugins/body-empty.d.ts +40 -0
- package/lib/table/plugins/col-group.d.ts +38 -0
- package/lib/table/plugins/common.d.ts +6 -0
- package/lib/table/plugins/head-filter.css +71 -0
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +92 -0
- package/lib/table/plugins/head-filter.variable.css +190 -0
- package/lib/table/plugins/head-sort.css +25 -0
- package/lib/table/plugins/head-sort.d.ts +22 -0
- package/lib/table/plugins/head-sort.less +31 -0
- package/lib/table/plugins/head-sort.variable.css +144 -0
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +129 -0
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +157 -0
- package/lib/table/plugins/settings.variable.css +248 -0
- package/lib/table/plugins/use-active-columns.d.ts +16 -0
- package/lib/table/plugins/use-column-resize.d.ts +15 -0
- package/lib/table/plugins/use-fixed-column.d.ts +12 -0
- package/lib/table/plugins/use-pagination.d.ts +16 -0
- package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
- package/lib/table/props.d.ts +282 -7
- package/lib/table/render.d.ts +53 -6
- package/lib/table/table.css +1143 -17
- package/lib/table/table.d.ts +196 -13
- package/lib/table/table.less +237 -25
- package/lib/table/table.variable.css +1182 -30
- package/lib/table/use-column.d.ts +11 -0
- package/lib/table/use-common.d.ts +97 -0
- package/lib/table/utils.d.ts +65 -9
- package/lib/table-column/index.d.ts +336 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +7 -7
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +57 -18
- package/lib/tag/tag.d.ts +2 -2
- package/lib/tag/tag.less +58 -15
- package/lib/tag/tag.variable.css +86 -21
- package/lib/tag-input/common.d.ts +36 -0
- package/lib/tag-input/index.d.ts +1211 -0
- package/lib/tag-input/index.js +1 -0
- package/lib/tag-input/list-tag-render.d.ts +44 -0
- package/lib/tag-input/tag-input.css +209 -0
- package/lib/tag-input/tag-input.d.ts +536 -0
- package/lib/tag-input/tag-input.less +251 -0
- package/lib/tag-input/tag-input.variable.css +328 -0
- package/lib/tag-input/tag-props.d.ts +216 -0
- package/lib/tag-input/tag-render.d.ts +35 -0
- package/lib/time-picker/index.d.ts +904 -0
- package/lib/time-picker/index.js +1 -0
- package/lib/time-picker/time-picker.css +215 -0
- package/lib/time-picker/time-picker.less +260 -0
- package/lib/time-picker/time-picker.variable.css +334 -0
- package/lib/timeline/index.d.ts +6 -6
- package/lib/timeline/index.js +1 -1
- package/lib/timeline/timeline.css +5 -5
- package/lib/timeline/timeline.d.ts +1 -1
- package/lib/timeline/timeline.less +6 -5
- package/lib/timeline/timeline.variable.css +34 -8
- package/lib/transfer/const.d.ts +5 -0
- package/lib/transfer/index.d.ts +339 -1
- package/lib/transfer/index.js +1 -1
- package/lib/transfer/props.d.ts +54 -0
- package/lib/transfer/transfer.css +89 -86
- package/lib/transfer/transfer.d.ts +70 -95
- package/lib/transfer/transfer.less +93 -113
- package/lib/transfer/transfer.variable.css +123 -94
- package/lib/tree/constant.d.ts +57 -0
- package/lib/tree/index.d.ts +419 -48
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +124 -0
- package/lib/tree/tree.css +183 -11
- package/lib/tree/tree.d.ts +194 -23
- package/lib/tree/tree.less +72 -10
- package/lib/tree/tree.variable.css +302 -11
- package/lib/tree/use-empty.d.ts +6 -0
- package/lib/tree/use-node-action.d.ts +12 -0
- package/lib/tree/use-node-async.d.ts +5 -0
- package/lib/tree/use-node-attribute.d.ts +33 -0
- package/lib/tree/use-node-drag.d.ts +3 -0
- package/lib/tree/use-search.d.ts +11 -0
- package/lib/tree/use-tree-init.d.ts +15 -0
- package/lib/tree/util.d.ts +5 -7
- package/lib/upload/index.d.ts +566 -0
- package/lib/upload/index.js +1 -0
- package/lib/upload/props.d.ts +111 -0
- package/lib/upload/upload-list.d.ts +47 -0
- package/lib/upload/upload-trigger.d.ts +51 -0
- package/lib/upload/upload.css +425 -0
- package/lib/upload/upload.d.ts +246 -0
- package/lib/upload/upload.less +464 -0
- package/lib/upload/upload.type.d.ts +78 -0
- package/lib/upload/upload.variable.css +544 -0
- package/lib/upload/use-ajax-upload.d.ts +3 -0
- package/lib/upload/use-file-handler.d.ts +44 -0
- package/lib/virtual-render/index.d.ts +27 -4
- package/lib/virtual-render/index.js +1 -10
- package/lib/virtual-render/props.d.ts +10 -0
- package/lib/virtual-render/use-tag-render.d.ts +7 -0
- package/lib/virtual-render/v-virtual-render.d.ts +0 -1
- package/lib/virtual-render/virtual-render.css +17 -24
- package/lib/virtual-render/virtual-render.d.ts +14 -3
- package/lib/virtual-render/virtual-render.less +2 -31
- package/lib/virtual-render/virtual-render.variable.css +136 -24
- package/lib/volar.components.d.ts +101 -0
- package/package.json +59 -46
- package/README_EN.md +0 -93
- package/dist/bkui-vue.cjs.js +0 -18938
- package/dist/bkui-vue.esm.js +0 -18887
- package/dist/bkui-vue.umd.js +0 -18941
- package/lib/form/common.d.ts +0 -3
- package/lib/icon/icon.js +0 -15
- package/lib/styles/index.js +0 -1
- package/lib/use-form.d.ts +0 -3
package/lib/dialog/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"),require("../button"),require("../icon"),require("../modal"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../icon","../modal"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue"),require("../button"),require("../icon"),require("../modal")):o(e["../shared"],e.vue,e["../button"],e["../icon"],e["../modal"]);for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(self,((e,o,t,n,r)=>(()=>{"use strict";var i={4976:e=>{e.exports=t},6870:e=>{e.exports=n},8014:e=>{e.exports=r},4212:o=>{o.exports=e},748:e=>{e.exports=o}},l={};function a(e){var o=l[e];if(void 0!==o)return o.exports;var t=l[e]={exports:{}};return i[e](t,t.exports,a),t.exports}a.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return a.d(o,{a:o}),o},a.d=(e,o)=>{for(var t in o)a.o(o,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{a.r(c),a.d(c,{default:()=>u});var e=a(4212),o=a(748),t=a(4976),n=a.n(t),r=a(6870),i=a(8014),l=a.n(i);const s=Object.assign(Object.assign({},i.propsMixin),{width:e.PropTypes.oneOfType([String,Number]).def(""),height:e.PropTypes.oneOfType([String,Number]).def(""),confirmText:e.PropTypes.string.def("确定"),cancelText:e.PropTypes.string.def("取消"),prevText:e.PropTypes.string.def("上一步"),nextText:e.PropTypes.string.def("下一步"),current:e.PropTypes.number.def(1),totalStep:e.PropTypes.number,title:e.PropTypes.string.def("title"),headerAlign:e.PropTypes.commonType(["left","center","right"],"headerAlign").def("left"),footerAlign:e.PropTypes.commonType(["left","center","right"],"footerAlign").def("right"),theme:e.PropTypes.commonType(["primary","warning","success","danger"],"theme").def("primary"),dialogType:e.PropTypes.commonType(["show","operation","confirm","process"],"dialogType").def("operation"),isLoading:e.PropTypes.bool.def(!1)}),d=(0,o.defineComponent)({name:"Dialog",components:{BkModal:l(),BkButton:n()},props:s,emits:["closed","update:isShow","confirm","prev","next","value-change"],setup:function(e,t){var n=t.emit,r=(0,o.reactive)({positionX:0,positionY:0,moveStyle:{top:"",left:""}});(0,o.onMounted)((function(){e.escClose&&addEventListener("keydown",a)})),(0,o.onBeforeUnmount)((function(){e.escClose&&removeEventListener("keydown",a)})),(0,o.watch)((function(){return e.isShow}),(function(e){e||setTimeout((function(){r.moveStyle={top:"50%",left:"50%"},r.positionX=0,r.positionY=0}),250),n("value-change",e)}));var i=function(){n("update:isShow",!1),n("closed")},l=(0,o.computed)((function(){return["process","operation","confirm"].includes(e.dialogType)})),a=function(o){e.isShow&&e.closeIcon&&27===o.keyCode&&i()};return{data:r,handleClose:i,handleConfirm:function(){n("update:isShow",!1),n("confirm")},escCloseHandler:a,moveHandler:function(o){if(e.fullscreen)return!1;if(!e.draggable)return!1;var t,n,i=o.target,l=o.currentTarget.parentNode.parentNode.offsetHeight,a=o.currentTarget.parentNode.parentNode.offsetWidth;0!==r.positionX&&0!==r.positionY?(t=o.clientX-r.positionX,n=o.clientY-r.positionY):(t=o.clientX-i.offsetLeft,n=o.clientY-i.offsetTop),document.onmousemove=function(e){var o=window.innerWidth-a,i=window.innerHeight-l,c=e.clientX-t,s=e.clientY-n;o/2-c<=0?c=o/2:o/2+c<=0&&(c=-o/2),i/2-s<=0?s=i/2:i/2+s<=0&&(s=-i/2),r.positionX=c,r.positionY=s,r.moveStyle.left="calc(50% + ".concat(c,"px)"),r.moveStyle.top="calc(50% + ".concat(s,"px)")},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null}},handlePrevStep:function(){n("prev")},handleNextStep:function(){n("next")},hasFooter:l}},render:function(){var e,t=this,i={header:function(){var e,n,i,l,a,c;return[(0,o.createVNode)("div",{class:["bk-dialog-tool",t.fullscreen||!t.draggable?"":"move",t.draggable?"content-dragging":""],onMousedown:t.moveHandler},[null!==(i=null===(n=(e=t.$slots).tools)||void 0===n?void 0:n.call(e))&&void 0!==i?i:""]),(0,o.createVNode)("div",{class:"bk-dialog-header"},[(0,o.createVNode)("div",{class:"bk-header-icon"},[t.infoType?{loading:(0,o.createVNode)(r.Spinner,{class:"bk-info-icon primary"},null),warning:(0,o.createVNode)(r.Warn,{class:"bk-info-icon warning"},null),success:(0,o.createVNode)(r.Success,{class:"bk-info-icon success"},null),danger:(0,o.createVNode)(r.Close,{class:"bk-info-icon danger"},null)}[t.infoType]:(0,o.createVNode)("slot",{name:"info-icon"},null)]),(0,o.createVNode)("span",{class:"bk-dialog-title",style:"text-align: ".concat(t.headerAlign)},[null!==(c=null===(a=(l=t.$slots).header)||void 0===a?void 0:a.call(l))&&void 0!==c?c:t.title])])]},default:function(){var e,o,n;return null!==(n=null===(o=(e=t.$slots).default)||void 0===o?void 0:o.call(e))&&void 0!==n?n:"default"},footer:function(){var e,r,i,l,a,c,s,d,u;return(0,o.createVNode)("div",{class:"bk-dialog-footer",style:"text-align: ".concat(t.footerAlign)},["process"===t.dialogType?null!==(i=null===(r=(e=t.$slots).footer)||void 0===r?void 0:r.call(e))&&void 0!==i?i:(0,o.createVNode)(o.Fragment,null,[1===t.current?"":(0,o.createVNode)(n(),{class:"bk-dialog-perv",onClick:t.handlePrevStep},{default:function(){return[t.prevText]}}),t.current===t.totalStep?"":(0,o.createVNode)(n(),{class:"bk-dialog-next",onClick:t.handleNextStep},{default:function(){return[t.nextText]}}),t.current===t.totalStep?(0,o.createVNode)(n(),{onClick:t.handleConfirm,theme:t.theme,loading:t.isLoading},{default:function(){return[t.confirmText]}}):"",(0,o.createVNode)(n(),{class:"bk-dialog-cancel",onClick:t.handleClose,disabled:t.isLoading},{default:function(){return[t.cancelText]}})]):"","operation"===t.dialogType?null!==(c=null===(a=(l=t.$slots).footer)||void 0===a?void 0:a.call(l))&&void 0!==c?c:(0,o.createVNode)(o.Fragment,null,[(0,o.createVNode)(n(),{onClick:t.handleConfirm,theme:t.theme,loading:t.isLoading},{default:function(){return[t.confirmText]}}),(0,o.createVNode)(n(),{class:"bk-dialog-cancel",onClick:t.handleClose,disabled:t.isLoading},{default:function(){return[t.cancelText]}})]):"","confirm"===t.dialogType?null!==(u=null===(d=(s=t.$slots).footer)||void 0===d?void 0:d.call(s))&&void 0!==u?u:(0,o.createVNode)(o.Fragment,null,[(0,o.createVNode)(n(),{onClick:t.handleConfirm,theme:t.theme,loading:t.isLoading},{default:function(){return[t.confirmText]}})]):""])},close:function(){return(0,o.createVNode)("span",{class:"bk-dialog-close",onClick:t.handleClose},[(0,o.createTextVNode)("+")])}},a="bk-dialog-wrapper ".concat(this.scrollable?"scroll-able":""," ").concat(this.multiInstance?"multi-instance":""," ").concat(this.hasFooter?"has-footer":"no-footer");return(0,o.createVNode)(l(),(0,o.mergeProps)(this.$props,{class:a,onClose:this.handleClose,style:this.data.moveStyle}),"function"==typeof(e=i)||"[object Object]"===Object.prototype.toString.call(e)&&!(0,o.isVNode)(e)?i:{default:function(){return[i]}})}}),u=(0,e.withInstall)(d)})(),c})()));
|
@@ -0,0 +1,138 @@
|
|
1
|
+
declare const props: {
|
2
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
3
|
+
default: string | number;
|
4
|
+
};
|
5
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
6
|
+
default: string | number;
|
7
|
+
};
|
8
|
+
confirmText: import("vue-types").VueTypeValidableDef<string> & {
|
9
|
+
default: string;
|
10
|
+
} & {
|
11
|
+
default: string;
|
12
|
+
};
|
13
|
+
cancelText: import("vue-types").VueTypeValidableDef<string> & {
|
14
|
+
default: string;
|
15
|
+
} & {
|
16
|
+
default: string;
|
17
|
+
};
|
18
|
+
prevText: import("vue-types").VueTypeValidableDef<string> & {
|
19
|
+
default: string;
|
20
|
+
} & {
|
21
|
+
default: string;
|
22
|
+
};
|
23
|
+
nextText: import("vue-types").VueTypeValidableDef<string> & {
|
24
|
+
default: string;
|
25
|
+
} & {
|
26
|
+
default: string;
|
27
|
+
};
|
28
|
+
current: import("vue-types").VueTypeValidableDef<number> & {
|
29
|
+
default: number;
|
30
|
+
} & {
|
31
|
+
default: number;
|
32
|
+
};
|
33
|
+
totalStep: import("vue-types").VueTypeValidableDef<number> & {
|
34
|
+
default: number;
|
35
|
+
};
|
36
|
+
title: import("vue-types").VueTypeValidableDef<string> & {
|
37
|
+
default: string;
|
38
|
+
} & {
|
39
|
+
default: string;
|
40
|
+
};
|
41
|
+
headerAlign: import("vue-types").VueTypeDef<string> & {
|
42
|
+
default: string;
|
43
|
+
};
|
44
|
+
footerAlign: import("vue-types").VueTypeDef<string> & {
|
45
|
+
default: string;
|
46
|
+
};
|
47
|
+
theme: import("vue-types").VueTypeDef<string> & {
|
48
|
+
default: string;
|
49
|
+
};
|
50
|
+
dialogType: import("vue-types").VueTypeDef<string> & {
|
51
|
+
default: string;
|
52
|
+
};
|
53
|
+
isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
|
54
|
+
default: boolean;
|
55
|
+
} & {
|
56
|
+
default: boolean;
|
57
|
+
};
|
58
|
+
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
59
|
+
default: boolean;
|
60
|
+
} & {
|
61
|
+
default: boolean;
|
62
|
+
};
|
63
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
64
|
+
default: string;
|
65
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
66
|
+
default: () => unknown[];
|
67
|
+
});
|
68
|
+
scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
|
69
|
+
default: boolean;
|
70
|
+
} & {
|
71
|
+
default: boolean;
|
72
|
+
};
|
73
|
+
showMask: import("vue-types").VueTypeValidableDef<boolean> & {
|
74
|
+
default: boolean;
|
75
|
+
} & {
|
76
|
+
default: boolean;
|
77
|
+
};
|
78
|
+
closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
|
79
|
+
default: boolean;
|
80
|
+
} & {
|
81
|
+
default: boolean;
|
82
|
+
};
|
83
|
+
escClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
84
|
+
default: boolean;
|
85
|
+
} & {
|
86
|
+
default: boolean;
|
87
|
+
};
|
88
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
89
|
+
default: boolean;
|
90
|
+
} & {
|
91
|
+
default: boolean;
|
92
|
+
};
|
93
|
+
size: import("vue-types").VueTypeDef<string> & {
|
94
|
+
default: string;
|
95
|
+
};
|
96
|
+
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
97
|
+
default: boolean;
|
98
|
+
} & {
|
99
|
+
default: boolean;
|
100
|
+
};
|
101
|
+
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
102
|
+
default: boolean;
|
103
|
+
} & {
|
104
|
+
default: boolean;
|
105
|
+
};
|
106
|
+
transfer: import("vue-types").VueTypeValidableDef<boolean> & {
|
107
|
+
default: boolean;
|
108
|
+
} & {
|
109
|
+
default: boolean;
|
110
|
+
};
|
111
|
+
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
112
|
+
default: number;
|
113
|
+
};
|
114
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
115
|
+
default: string;
|
116
|
+
};
|
117
|
+
direction: import("vue-types").VueTypeValidableDef<string> & {
|
118
|
+
default: string;
|
119
|
+
};
|
120
|
+
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
121
|
+
default: string;
|
122
|
+
} & {
|
123
|
+
default: string;
|
124
|
+
};
|
125
|
+
renderDirective: import("vue-types").VueTypeDef<string> & {
|
126
|
+
default: string;
|
127
|
+
};
|
128
|
+
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
129
|
+
multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
|
130
|
+
default: boolean;
|
131
|
+
} & {
|
132
|
+
default: boolean;
|
133
|
+
};
|
134
|
+
infoType: import("vue-types").VueTypeDef<string> & {
|
135
|
+
default: string;
|
136
|
+
};
|
137
|
+
};
|
138
|
+
export default props;
|
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 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})}));
|
1
|
+
/*! For license information please see index.js.LICENSE.txt */
|
2
|
+
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n(require("../shared"),require("@popperjs/core"),require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["../shared","@popperjs/core","../plugin-popover"],n);else{var t="object"==typeof exports?n(require("../shared"),require("@popperjs/core"),require("../plugin-popover")):n(e["../shared"],e["@popperjs/core"],e["../plugin-popover"]);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,n,t)=>(()=>{var r={2439:(e,n,t)=>{e.exports=t(2527)},7430:e=>{"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),t={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=t},6377:e=>{var n,t,r,o,i,a,u,c,s,l,d,f,p,v,m,b=!1;function h(){if(!b){b=!0;var e=navigator.userAgent,h=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),l=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),h){(n=h[1]?parseFloat(h[1]):h[5]?parseFloat(h[5]):NaN)&&document&&document.documentMode&&(n=document.documentMode);var g=/(?:Trident\/(\d+.\d+))/.exec(e);a=g?parseFloat(g[1])+4:n,t=h[2]?parseFloat(h[2]):NaN,r=h[3]?parseFloat(h[3]):NaN,(o=h[4]?parseFloat(h[4]):NaN)?(h=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=h&&h[1]?parseFloat(h[1]):NaN):i=NaN}else n=t=r=i=o=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!w||parseFloat(w[1].replace("_","."))}else u=!1;c=!!y[2],s=!!y[3]}else u=c=s=!1}}var y={ie:function(){return h()||n},ieCompatibilityMode:function(){return h()||a>n},ie64:function(){return y.ie()&&d},firefox:function(){return h()||t},opera:function(){return h()||r},webkit:function(){return h()||o},safari:function(){return y.webkit()},chrome:function(){return h()||i},windows:function(){return h()||c},osx:function(){return h()||u},linux:function(){return h()||s},iphone:function(){return h()||f},mobile:function(){return h()||f||p||l||m},nativeApp:function(){return h()||v},android:function(){return h()||l},ipad:function(){return h()||p}};e.exports=y},3541:(e,n,t)=>{"use strict";var r,o=t(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,n){if(!o.canUseDOM||n&&!("addEventListener"in document))return!1;var t="on"+e,i=t in document;if(!i){var a=document.createElement("div");a.setAttribute(t,"return;"),i="function"==typeof a[t]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,n,t)=>{"use strict";var r=t(6377),o=t(3541);function i(e){var n=0,t=0,r=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),r=10*n,o=10*t,"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&&!n&&(n=r<1?-1:1),o&&!t&&(t=o<1?-1:1),{spinX:n,spinY:t,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},9706:e=>{"use strict";e.exports=t},4212:n=>{"use strict";n.exports=e},5798:e=>{"use strict";e.exports=n}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var t=o[e]={exports:{}};return r[e](t,t.exports,i),t.exports}i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";i.r(a),i.d(a,{bkEllipsis:()=>j,bkEllipsisInstance:()=>S,bkTooltips:()=>E,clickoutside:()=>f,mousewheel:()=>r});var e=i(2439),n=i.n(e),t="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(t?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function o(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return u(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);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(){t=t.call(e)},n:function(){var e=t.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==t.return||t.return()}finally{if(c)throw i}}}}function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var c,s=new Map;function l(e,n){var t,r=[];return Array.isArray(n.arg)?r=n.arg:(t=n.arg,"undefined"!=typeof Element&&t instanceof Element&&r.push(n.arg)),function(t,o){var i=n.instance.popperRef,a=t.target,u=null==o?void 0:o.target,c=!n||!n.instance,s=!a||!u,l=e.contains(a)||e.contains(u),d=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||l||d||f||p||n.value(t,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var n,t=o(s.values());try{for(t.s();!(n=t.n()).done;){var r,i=o(n.value);try{for(i.s();!(r=i.n()).done;)(0,r.value.documentHandler)(e,c)}catch(e){i.e(e)}finally{i.f()}}}catch(e){t.e(e)}finally{t.f()}}));var d={beforeMount:function(e,n){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:l(e,n),bindingFn:n.value})},updated:function(e,n){s.has(e)||s.set(e,[]);var t=s.get(e),r=t.findIndex((function(e){return e.bindingFn===n.oldValue})),o={documentHandler:l(e,n),bindingFn:n.value};r>=0?t.splice(r,1,o):t.push(o)},unmounted:function(e){s.delete(e)},install:function(e){e.directive("bkTooltips",d)}};const f=d;function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function v(e){return v="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},v(e)}var m=i(4212),b=i(5798),h=new Map;function y(e){var n={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",onShow:function(){},onHide:function(){}};return"object"===v(e.value)?Object.assign(n,e.value):n.content=e.value,n}function g(){var e=document.createElement("div");return e.className="bk-popper-arrow",e.setAttribute("data-popper-arrow",""),e}function w(e){var n=h.get(e),t=n.popper,r=n.opts,o=r.disabled,i=r.content,a=r.arrow,u=r.onShow;if(!o){if(t.innerText=i,a){var c=g();t.appendChild(c)}document.body.appendChild(t);var s=function(e,n){var t=h.get(e).opts,r=t.placement,o=t.distance,i=t.showOnInit,a=(0,b.createPopper)(e,n,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&w(e),a}(e,t);u(),t.setAttribute("data-show",""),s.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((n=e.modifiers,function(e){if(Array.isArray(e))return p(e)}(n)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||function(e,n){if(e){if("string"==typeof e)return p(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(e,n):void 0}}(n)||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.")}()),[{name:"eventListeners",enabled:!0}])});var n})),s.forceUpdate(),h.get(e).popperInstance=s}}function x(e){if(h.get(e)){var n=h.get(e),t=n.popper,r=n.popperInstance,o=n.opts.onHide;t&&document.body.contains(t)&&(t.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(t),o())}}const E={beforeMount:function(e,n){var t=y(n),r=t.trigger,o=function(e){var n=e.content,t=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=m.bkZIndexManager.getPopperIndex(),u=document.createElement("div");if(u.className="bk-popper ".concat(i?"light":"dark"," ").concat(o),u.innerText=n,u.style.zIndex=String(a),t){var c=g();u.appendChild(c)}return u}(t);if("hover"===r){var i=null;e.addEventListener("mouseenter",(function(){w(e),clearTimeout(i)})),o.addEventListener("mouseenter",(function(){clearTimeout(i)})),e.addEventListener("mouseleave",(function(){i=setTimeout((function(){x(e)}),100)})),e.addEventListener("click",(function(){x(e)})),o.addEventListener("mouseleave",(function(){i=setTimeout((function(){x(e)}),100)}))}else"click"===r&&document.body.addEventListener("click",(function(n){e.contains(n.target)&&!o.hasAttribute("data-show")?w(e):o.hasAttribute("data-show")&&x(e)}));h.set(e,{opts:t,popper:o,popperInstance:null})},updated:function(e,n){h.get(e).opts=y(n)},unmounted:function(e){x(e),h.delete(e)}};var M=i(9706),A=i.n(M),O=function(e,n){var t={content:"",target:e};return"object"===v(n.value)?Object.assign(t,n.value):t.content=n.value,t},S=function(e,n){var t=null,r=null,o=null;if(!O(e,n).disabled&&!t){var i=function(){o&&clearTimeout(o),o=null},a=function(){r&&clearTimeout(r),null==t||t.hide(),null==t||t.close(),t=null},u=function(){r&&clearTimeout(r),r=setTimeout((function(){var r=O(e,n);r.content=r.content||e.innerHTML,Object.assign(r,{onContentMouseenter:i,onContentMouseleave:a}),t=A()(r),setTimeout((function(){t.show()}))}),100)},c=function(){o=setTimeout((function(){r&&clearTimeout(r),null==t||t.hide(),null==t||t.close(),t=null}),120)};return e.addEventListener("mouseenter",u),e.addEventListener("mouseleave",c),Object.assign(n,{__cached:{handleMouseEnter:u,handleMouseLeave:c}}),{destroyInstance:function(n){var t,r;c(),null===(t=null!=n?n:e)||void 0===t||t.removeEventListener("mouseenter",u),null===(r=null!=n?n:e)||void 0===r||r.removeEventListener("mouseleave",c)},instance:t}}};const j={mounted:function(e,n){S(e,n)},beforeUnmount:function(e,n){if(n.__cached){var t=n.__cached,r=t.handleMouseEnter,o=t.handleMouseLeave;e.removeEventListener("mouseenter",r),e.removeEventListener("mouseleave",o),n.__cached=null}}}})(),a})()));
|
@@ -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
|
+
*/
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { ObjectDirective } from 'vue';
|
2
2
|
import { Placement } from '@popperjs/core';
|
3
|
-
import '@bkui-vue/styles/mixins/popper.less';
|
4
3
|
export declare type IOptions = {
|
5
4
|
arrow: boolean;
|
6
5
|
disabled: boolean;
|
@@ -10,6 +9,7 @@ export declare type IOptions = {
|
|
10
9
|
theme: string;
|
11
10
|
trigger: string;
|
12
11
|
distance: number;
|
12
|
+
extCls: string;
|
13
13
|
onShow: () => void;
|
14
14
|
onHide: () => void;
|
15
15
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("./styles"),require("./preset"),require("./components"),require("./directives"));else if("function"==typeof define&&define.amd)define(["./styles","./preset","./components","./directives"],r);else{var t="object"==typeof exports?r(require("./styles"),require("./preset"),require("./components"),require("./directives")):r(e["./styles"],e["./preset"],e["./components"],e["./directives"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o)=>(()=>{"use strict";var s={4689:e=>{e.exports=t},7257:e=>{e.exports=o},9887:e=>{e.exports=r},9243:r=>{r.exports=e}},n={};function i(e){var r=n[e];if(void 0!==r)return r.exports;var t=n[e]={exports:{}};return s[e](t,t.exports,i),t.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{i.r(p),i.d(p,{default:()=>r.a}),i(9243);var e=i(9887),r=i.n(e),t=i(4689),o={};for(const e in t)"default"!==e&&(o[e]=()=>t[e]);i.d(p,o);var s=i(7257);o={};for(const e in s)"default"!==e&&(o[e]=()=>s[e]);i.d(p,o)})(),p})()));
|
package/lib/divider/divider.d.ts
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
--gray-color: #979ba5;
|
10
10
|
--light-gray: #c4c6cc;
|
11
11
|
--white-color: white;
|
12
|
+
--whitesmoke-color: #fafbfd;
|
12
13
|
--disable-color: #dcdee5;
|
13
14
|
--font-size-base: 12px;
|
14
15
|
--font-size-medium: 14px;
|
@@ -18,10 +19,11 @@
|
|
18
19
|
--line-height-large: 18px;
|
19
20
|
--component-size-small: 26px;
|
20
21
|
--component-size-base: 32px;
|
21
|
-
--component-size-large:
|
22
|
+
--component-size-large: 40px;
|
22
23
|
--border-width-base: 1px;
|
23
24
|
--border-style-base: solid;
|
24
25
|
--border-radius-base: 2px;
|
26
|
+
--border-style-color: var(--light-gray);
|
25
27
|
--input-disabled-bg: #fafbfd;
|
26
28
|
--input-disabled-border: var(--disable-color);
|
27
29
|
--input-height-base: var(--component-size-base);
|
@@ -31,8 +33,9 @@
|
|
31
33
|
--input-broder-radius: 3px;
|
32
34
|
--input-shadow-color: #a3c5fd;
|
33
35
|
--input-horizontal-padding: 10px;
|
34
|
-
--input-block-color: #
|
35
|
-
--input-
|
36
|
+
--input-block-color: #f5f7fa;
|
37
|
+
--input-block-hover-color: #eaebf0;
|
38
|
+
--input-icon-size: var(--font-size-medium);
|
36
39
|
--input-maxlength-color: #979ba5;
|
37
40
|
--button-primary-hover-color: #5594fa;
|
38
41
|
--button-danger-hover-color: #ff5656;
|
@@ -43,6 +46,15 @@
|
|
43
46
|
--button-danger-active-color: #db2626;
|
44
47
|
--button-success-active-color: #1ab943;
|
45
48
|
--button-warning-active-color: #eb9000;
|
49
|
+
--button-selected-bg-color: #e1ecff;
|
50
|
+
--button-disabled-selected-bg-color: #f0f1f5;
|
51
|
+
--radio-font-color: #63656e;
|
52
|
+
--radio-active-color: #5594fa;
|
53
|
+
--radio-hover-border-color: #979ba5;
|
54
|
+
--radio-disabled-border: #dcdee5;
|
55
|
+
--radio-disabled-font-color: #c4c6cc;
|
56
|
+
--radio-distable-checked-bg: #fafbfd;
|
57
|
+
--radio-button-checked-bg: #e1ecff;
|
46
58
|
--fixed-navbar-background: #fff;
|
47
59
|
--fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
|
48
60
|
--switch-default-color: #fff;
|
@@ -63,12 +75,16 @@
|
|
63
75
|
--message-color: var(--default-color);
|
64
76
|
--message-primary-bg-color: #f0f8ff;
|
65
77
|
--message-primary-border-color: #e1ecff;
|
78
|
+
--message-primary-shadow-color: #e1e8f4;
|
66
79
|
--message-warning-bg-color: #fff4e2;
|
67
80
|
--message-warning-border-color: #ffe8c3;
|
81
|
+
--message-warning-shadow-color: #ede6db;
|
68
82
|
--message-success-bg-color: #f2fff4;
|
69
83
|
--message-success-border-color: #dcffe2;
|
84
|
+
--message-success-shadow-color: #cef0d7;
|
70
85
|
--message-danger-bg-color: #ffeded;
|
71
86
|
--message-danger-border-color: #ffdddd;
|
87
|
+
--message-danger-shadow-color: #f6dada;
|
72
88
|
--slider-default-bg: #dcdee5;
|
73
89
|
--slider-disable-bar-bg: #979ba5;
|
74
90
|
--menu-bg-color: #182132;
|
@@ -90,6 +106,16 @@
|
|
90
106
|
--table-head-font-color: #313238;
|
91
107
|
--table-body-font-color: #575961;
|
92
108
|
--table-row-hover-bg-color: #f5f7fa;
|
109
|
+
--table-row-active-bg-color: #f0f1f5;
|
110
|
+
--cascader-panel-border-color: #dcdee5;
|
111
|
+
--cascader-panel-hover: #f5f7fa;
|
112
|
+
--cascader-panel-active: #e1ecff;
|
113
|
+
--cascader-panel-disabled-bg: #fff;
|
114
|
+
--search-select-focus-border-color: var(--primary-color);
|
115
|
+
--search-select-focus-color: #3c96ff;
|
116
|
+
--search-select-font-color: var(--default-color);
|
117
|
+
--search-select-placeholder-color: var(--light-gray);
|
118
|
+
--search-select-message-color: var(--danger-color);
|
93
119
|
}
|
94
120
|
.bk-divider {
|
95
121
|
position: relative;
|
package/lib/divider/index.d.ts
CHANGED
@@ -3,8 +3,8 @@ declare const BkDivider: {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
4
4
|
$data: {};
|
5
5
|
$props: Partial<{
|
6
|
-
width: number;
|
7
6
|
type: string;
|
7
|
+
width: number;
|
8
8
|
color: string;
|
9
9
|
direction: string;
|
10
10
|
align: string;
|
@@ -28,7 +28,7 @@ declare const BkDivider: {
|
|
28
28
|
type: import("vue-types").VueTypeDef<string> & {
|
29
29
|
default: string;
|
30
30
|
};
|
31
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "
|
31
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "width" | "color" | "direction" | "align">;
|
32
32
|
$attrs: {
|
33
33
|
[x: string]: unknown;
|
34
34
|
};
|
@@ -63,8 +63,8 @@ declare const BkDivider: {
|
|
63
63
|
default: string;
|
64
64
|
};
|
65
65
|
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
66
|
-
width: number;
|
67
66
|
type: string;
|
67
|
+
width: number;
|
68
68
|
color: string;
|
69
69
|
direction: string;
|
70
70
|
align: string;
|
@@ -133,8 +133,8 @@ declare const BkDivider: {
|
|
133
133
|
default: string;
|
134
134
|
};
|
135
135
|
}>>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
136
|
-
width: number;
|
137
136
|
type: string;
|
137
|
+
width: number;
|
138
138
|
color: string;
|
139
139
|
direction: string;
|
140
140
|
align: string;
|
package/lib/divider/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,o){"object"==typeof exports&&"
|
1
|
+
!function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],o);else{var t="object"==typeof exports?o(require("../shared"),require("vue")):o(e["../shared"],e.vue);for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,((e,o)=>(()=>{"use strict";var t={4212:o=>{o.exports=e},748:e=>{e.exports=o}},r={};function i(e){var o=r[e];if(void 0!==o)return o.exports;var n=r[e]={exports:{}};return t[e](n,n.exports,i),n.exports}i.d=(e,o)=>{for(var t in o)i.o(o,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},i.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{i.r(n),i.d(n,{default:()=>d});var e=i(4212),o=i(748),t={direction:e.PropTypes.commonType(["horizontal","vertical"],"direction").def("horizontal"),align:e.PropTypes.commonType(["left","center","right"],"align").def("center"),color:e.PropTypes.string.def("#dde4eb"),width:e.PropTypes.number.def(1),type:e.PropTypes.commonType(["dashed","solid"],"lineType").def("dashed")};const r=(0,o.defineComponent)({name:"Divider",props:t,render:function(){var e,t=this;return this.$slots.default&&(e=(0,o.createVNode)("div",{class:["bk-divider-info","bk-divider-info-".concat(this.align)]},[this.$slots.default()])),(0,o.createVNode)("div",{class:["bk-divider","bk-divider-".concat(this.direction)],style:"vertical"===t.direction?{borderRight:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}:{borderBottom:"".concat(t.width,"px ").concat(t.type," ").concat(t.color)}},[e])}}),d=(0,e.withInstall)(r)})(),n})()));
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare const dividerProps: {
|
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
|
+
};
|
@@ -1,14 +1,21 @@
|
|
1
1
|
.bk-dropdown {
|
2
2
|
display: inline-block;
|
3
3
|
}
|
4
|
+
.bk-dropdown .bk-dropdown-reference {
|
5
|
+
z-index: 1;
|
6
|
+
}
|
4
7
|
.bk-dropdown .bk-dropdown-content {
|
8
|
+
z-index: 2;
|
5
9
|
display: none;
|
6
10
|
box-shadow: 0 2px 6px rgba(51, 60, 72, 0.1);
|
7
11
|
}
|
8
12
|
.bk-dropdown .bk-dropdown-content[data-show] {
|
9
13
|
display: block;
|
10
14
|
}
|
11
|
-
.bk-dropdown-
|
15
|
+
.bk-popover2.bk-pop2-content.bk-dropdown-popover {
|
16
|
+
padding: 0;
|
17
|
+
}
|
18
|
+
.bk-dropdown-popover .bk-dropdown-menu {
|
12
19
|
min-width: 100%;
|
13
20
|
padding: 5px 0;
|
14
21
|
margin: 0;
|
@@ -17,16 +24,16 @@
|
|
17
24
|
border-radius: 2px;
|
18
25
|
box-sizing: border-box;
|
19
26
|
}
|
20
|
-
.bk-dropdown-menu::-webkit-scrollbar {
|
27
|
+
.bk-dropdown-popover .bk-dropdown-menu::-webkit-scrollbar {
|
21
28
|
width: 4px;
|
22
29
|
height: 4px;
|
23
30
|
}
|
24
|
-
.bk-dropdown-menu::-webkit-scrollbar-thumb {
|
31
|
+
.bk-dropdown-popover .bk-dropdown-menu::-webkit-scrollbar-thumb {
|
25
32
|
background: #dde4eb;
|
26
33
|
border-radius: 20px;
|
27
34
|
box-shadow: inset 0 0 6px hsla(0, 0%, 80%, 0.3);
|
28
35
|
}
|
29
|
-
.bk-dropdown-item {
|
36
|
+
.bk-dropdown-popover .bk-dropdown-item {
|
30
37
|
display: block;
|
31
38
|
height: 32px;
|
32
39
|
padding: 0 16px;
|
@@ -37,7 +44,6 @@
|
|
37
44
|
list-style: none;
|
38
45
|
cursor: pointer;
|
39
46
|
}
|
40
|
-
.bk-dropdown-item:hover {
|
41
|
-
color: #
|
42
|
-
background-color: #eaf3ff;
|
47
|
+
.bk-dropdown-popover .bk-dropdown-item:hover {
|
48
|
+
background-color: #f5f7fa;
|
43
49
|
}
|