bkui-vue 0.0.1-beta.99 → 0.0.2-beta.1
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/License.txt +14 -0
- package/dist/index.cjs.js +360 -36
- package/dist/index.esm.js +30199 -24465
- package/dist/index.umd.js +360 -36
- package/dist/locale/en.esm.js +2 -0
- package/dist/locale/en.esm.js.map +1 -0
- package/dist/locale/en.umd.js +2 -0
- package/dist/locale/en.umd.js.map +1 -0
- package/dist/locale/zh-cn.esm.js +2 -0
- package/dist/locale/zh-cn.esm.js.map +1 -0
- package/dist/locale/zh-cn.umd.js +2 -0
- package/dist/locale/zh-cn.umd.js.map +1 -0
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -0
- package/lib/affix/affix.d.ts +2 -2
- package/lib/affix/affix.variable.css +29 -6
- package/lib/affix/index.d.ts +60 -36
- package/lib/alert/alert.css +4 -0
- package/lib/alert/alert.d.ts +11 -9
- package/lib/alert/alert.less +24 -19
- package/lib/alert/alert.variable.css +33 -6
- package/lib/alert/index.d.ts +82 -58
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/animate-number.d.ts +2 -2
- package/lib/animate-number/index.d.ts +58 -25
- package/lib/backtop/backtop.css +8 -0
- package/lib/backtop/backtop.d.ts +4 -4
- package/lib/backtop/backtop.less +8 -0
- package/lib/backtop/backtop.variable.css +37 -6
- package/lib/backtop/index.d.ts +65 -47
- package/lib/backtop/index.js +1 -1
- package/lib/badge/badge.css +2 -5
- package/lib/badge/badge.d.ts +3 -3
- package/lib/badge/badge.less +4 -5
- package/lib/badge/badge.variable.css +31 -11
- package/lib/badge/index.d.ts +67 -64
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb-item.d.ts +28 -3
- package/lib/breadcrumb/breadcrumb.css +43 -0
- package/lib/breadcrumb/breadcrumb.d.ts +27 -2
- package/lib/breadcrumb/breadcrumb.less +3 -4
- package/lib/breadcrumb/breadcrumb.variable.css +77 -11
- package/lib/breadcrumb/index.d.ts +67 -41
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/button-group.d.ts +4 -4
- package/lib/button/button.css +21 -3
- package/lib/button/button.d.ts +46 -33
- package/lib/button/button.less +25 -5
- package/lib/button/button.variable.css +50 -9
- package/lib/button/index.d.ts +121 -96
- package/lib/button/index.js +1 -1
- package/lib/card/card.css +45 -2
- package/lib/card/card.d.ts +2 -1
- package/lib/card/card.less +2 -2
- package/lib/card/card.variable.css +78 -12
- package/lib/card/index.d.ts +66 -64
- package/lib/card/index.js +1 -1
- package/lib/cascader/cascader-panel.d.ts +60 -6
- package/lib/cascader/cascader.css +197 -11
- package/lib/cascader/cascader.d.ts +131 -25
- package/lib/cascader/cascader.less +148 -11
- package/lib/cascader/cascader.variable.css +234 -25
- package/lib/cascader/index.d.ts +415 -174
- package/lib/cascader/index.js +2 -1
- package/lib/cascader/index.js.LICENSE.txt +1 -0
- package/lib/cascader/interface.d.ts +8 -1
- package/lib/cascader/node.d.ts +9 -2
- package/lib/cascader/store.d.ts +13 -1
- package/lib/checkbox/checkbox-group.d.ts +18 -2
- package/lib/checkbox/checkbox.css +38 -11
- package/lib/checkbox/checkbox.d.ts +40 -18
- package/lib/checkbox/checkbox.less +68 -33
- package/lib/checkbox/checkbox.variable.css +67 -17
- package/lib/checkbox/common.d.ts +1 -0
- package/lib/checkbox/index.d.ts +133 -72
- package/lib/checkbox/index.js +1 -1
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.css +27 -7
- package/lib/code-diff/code-diff.d.ts +7 -7
- package/lib/code-diff/code-diff.less +42 -7
- package/lib/code-diff/code-diff.variable.css +56 -13
- package/lib/code-diff/index.d.ts +30 -43
- package/lib/code-diff/index.js +1 -1
- package/lib/collapse/collapse-panel.d.ts +104 -0
- package/lib/collapse/collapse.css +58 -19
- package/lib/collapse/collapse.d.ts +59 -42
- package/lib/collapse/collapse.less +106 -46
- package/lib/collapse/collapse.variable.css +87 -25
- package/lib/collapse/index.d.ts +271 -46
- package/lib/collapse/index.js +1 -1
- package/lib/collapse/props.d.ts +131 -0
- package/lib/collapse-transition/collapse-transition.css +93 -0
- package/lib/collapse-transition/collapse-transition.d.ts +15 -0
- package/lib/collapse-transition/collapse-transition.less +111 -0
- package/lib/collapse-transition/collapse-transition.variable.css +215 -0
- package/lib/collapse-transition/index.d.ts +2 -0
- package/lib/collapse-transition/index.js +1 -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 +397 -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 +255 -0
- package/lib/color-picker/index.js +1 -0
- package/lib/color-picker/utils.d.ts +37 -0
- package/lib/components.d.ts +13 -0
- package/lib/components.js +1 -1
- package/lib/config-provider/config-provider.css +0 -0
- package/lib/config-provider/config-provider.d.ts +402 -0
- package/lib/config-provider/config-provider.less +1 -0
- package/lib/{popover2/popover2.variable.css → config-provider/config-provider.variable.css} +29 -31
- package/lib/config-provider/index.d.ts +646 -0
- package/lib/config-provider/index.js +1 -0
- package/lib/config-provider/token.d.ts +128 -0
- package/lib/config-provider/use-global-config.d.ts +5 -0
- package/lib/config-provider/use-locale.d.ts +3 -0
- package/lib/config-provider/use-prefix.d.ts +9 -0
- package/lib/container/col.d.ts +3 -3
- package/lib/container/container.css +43 -0
- package/lib/container/container.d.ts +2 -2
- package/lib/container/container.less +4 -4
- package/lib/container/container.variable.css +72 -6
- package/lib/container/index.d.ts +30 -49
- package/lib/container/index.js +1 -1
- package/lib/container/interface.d.ts +7 -0
- package/lib/container/row.d.ts +2 -2
- package/lib/date-picker/base/confirm.d.ts +74 -0
- package/lib/date-picker/base/date-table.d.ts +96 -0
- package/lib/date-picker/base/month-table.d.ts +117 -0
- package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
- package/lib/date-picker/base/time-spinner.d.ts +170 -0
- package/lib/date-picker/base/year-table.d.ts +117 -0
- package/lib/date-picker/date-picker.css +30 -1
- package/lib/date-picker/date-picker.d.ts +55 -35
- package/lib/date-picker/date-picker.less +109 -74
- package/lib/date-picker/date-picker.variable.css +59 -7
- package/lib/date-picker/index.d.ts +198 -218
- package/lib/date-picker/index.js +1 -1
- package/lib/date-picker/interface.d.ts +20 -10
- package/lib/date-picker/panel/date-range.d.ts +345 -0
- package/lib/date-picker/panel/date.d.ts +206 -0
- package/lib/date-picker/panel/time-range.d.ts +495 -0
- package/lib/date-picker/panel/time.d.ts +451 -0
- package/lib/date-picker/props.d.ts +48 -5
- package/lib/date-picker/time-picker.d.ts +390 -0
- package/lib/date-picker/utils.d.ts +22 -2
- package/lib/dialog/dialog.css +94 -34
- package/lib/dialog/dialog.d.ts +57 -93
- package/lib/dialog/dialog.less +85 -43
- package/lib/dialog/dialog.variable.css +216 -34
- package/lib/dialog/index.d.ts +194 -334
- package/lib/dialog/index.js +2 -1
- package/lib/dialog/index.js.LICENSE.txt +1 -0
- package/lib/dialog/props.d.ts +122 -0
- package/lib/directives/ellipsis.d.ts +7 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/index.js +1 -1
- package/lib/directives/tooltips.d.ts +2 -1
- package/lib/dist.index.js +1 -1
- package/lib/divider/divider.d.ts +17 -17
- package/lib/divider/divider.variable.css +29 -6
- package/lib/divider/index.d.ts +85 -61
- package/lib/divider/index.js +1 -1
- package/lib/divider/props.d.ts +6 -6
- package/lib/dropdown/dropdown-item.d.ts +1 -1
- package/lib/dropdown/dropdown-menu.d.ts +2 -2
- package/lib/dropdown/dropdown.css +34 -7
- package/lib/dropdown/dropdown.d.ts +46 -15
- package/lib/dropdown/dropdown.less +42 -36
- package/lib/dropdown/dropdown.variable.css +63 -13
- package/lib/dropdown/index.d.ts +136 -65
- package/lib/dropdown/index.js +1 -1
- package/lib/exception/exception.css +40 -14
- package/lib/exception/exception.d.ts +33 -13
- package/lib/exception/exception.less +59 -22
- package/lib/exception/exception.variable.css +69 -20
- package/lib/exception/index.d.ts +91 -43
- package/lib/exception/index.js +1 -1
- package/lib/exception/typings/index.d.ts +4 -0
- package/lib/fixed-navbar/fixed-navbar.d.ts +2 -2
- package/lib/fixed-navbar/fixed-navbar.variable.css +29 -6
- package/lib/fixed-navbar/index.d.ts +60 -36
- package/lib/form/compose-form-item.d.ts +4 -2
- package/lib/form/form-item.d.ts +15 -9
- package/lib/form/form.css +32 -8
- package/lib/form/form.d.ts +25 -7
- package/lib/form/form.less +85 -53
- package/lib/form/form.variable.css +61 -14
- package/lib/form/index.d.ts +109 -51
- package/lib/form/index.js +1 -1
- package/lib/form/type.d.ts +5 -4
- package/lib/form/utils.d.ts +2 -0
- package/lib/hooks.d.ts +1 -0
- package/lib/hooks.js +1 -0
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.d.ts +4 -0
- package/lib/icon/copy-shape.js +1 -0
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.d.ts +4 -0
- package/lib/icon/enlarge-line.js +1 -0
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.d.ts +4 -0
- package/lib/icon/filliscreen-line.js +1 -0
- package/lib/icon/fix-line.d.ts +4 -0
- package/lib/icon/fix-line.js +1 -0
- package/lib/icon/fix-shape.d.ts +4 -0
- package/lib/icon/fix-shape.js +1 -0
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -0
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- 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 +83 -69
- package/lib/icon/index.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- 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.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- 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 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.d.ts +4 -0
- package/lib/icon/transfer.js +1 -0
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.d.ts +4 -0
- package/lib/icon/unfull-screen.js +1 -0
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.d.ts +4 -0
- package/lib/icon/weixin-pro.js +1 -0
- package/lib/icon/weixin.js +1 -1
- 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 +252 -0
- package/lib/image/index.js +1 -0
- package/lib/image/props.d.ts +71 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +1 -1
- package/lib/info-box/index.d.ts +7 -0
- package/lib/info-box/index.js +2 -0
- package/lib/info-box/index.js.LICENSE.txt +1 -0
- package/lib/info-box/info-box.css +37 -0
- package/lib/info-box/info-box.d.ts +29 -0
- package/lib/info-box/info-box.less +51 -0
- package/lib/info-box/info-box.variable.css +159 -0
- package/lib/input/index.d.ts +178 -228
- package/lib/input/index.js +1 -1
- package/lib/input/input.css +168 -23
- package/lib/input/input.d.ts +59 -37
- package/lib/input/input.less +104 -22
- package/lib/input/input.variable.css +228 -61
- package/lib/link/index.d.ts +80 -53
- package/lib/link/index.js +1 -1
- package/lib/link/link.css +12 -12
- package/lib/link/link.d.ts +10 -8
- package/lib/link/link.less +16 -14
- package/lib/link/link.variable.css +41 -18
- package/lib/loading/directive.d.ts +14 -0
- package/lib/loading/index.d.ts +160 -56
- package/lib/loading/index.js +1 -1
- package/lib/loading/loading.css +72 -29
- package/lib/loading/loading.d.ts +91 -15
- package/lib/loading/loading.less +21 -19
- package/lib/loading/loading.variable.css +117 -51
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/index.js +1 -0
- package/lib/locale/lang/en.d.ts +126 -0
- package/lib/locale/lang/zh-cn.d.ts +3 -0
- package/lib/menu/index.d.ts +75 -34
- package/lib/menu/index.js +1 -1
- package/lib/menu/menu-group.d.ts +2 -2
- package/lib/menu/menu-item.d.ts +5 -1
- package/lib/menu/menu.css +43 -0
- package/lib/menu/menu.d.ts +2 -2
- package/lib/menu/menu.variable.css +90 -24
- package/lib/menu/submenu.d.ts +5 -1
- package/lib/menu/submenu.variable.css +29 -6
- package/lib/menu/utils.d.ts +1 -1
- package/lib/message/index.d.ts +1 -0
- package/lib/message/index.js +2 -1
- package/lib/message/index.js.LICENSE.txt +6 -0
- package/lib/message/message.css +166 -2
- package/lib/message/message.less +222 -7
- package/lib/message/message.variable.css +195 -8
- package/lib/message/messageConstructor.d.ts +136 -27
- package/lib/modal/index.d.ts +201 -246
- package/lib/modal/index.js +1 -1
- package/lib/modal/modal.css +39 -6
- package/lib/modal/modal.d.ts +54 -61
- package/lib/modal/modal.less +8 -10
- package/lib/modal/modal.variable.css +161 -6
- package/lib/modal/props.mixin.d.ts +16 -23
- package/lib/navigation/index.d.ts +90 -68
- package/lib/navigation/index.js +1 -1
- package/lib/navigation/navigation-title.d.ts +6 -3
- package/lib/navigation/navigation.d.ts +12 -4
- package/lib/navigation/navigation.variable.css +29 -6
- package/lib/notify/index.d.ts +1 -0
- package/lib/notify/index.js +1 -1
- package/lib/notify/notify.css +8 -4
- package/lib/notify/notify.less +18 -13
- package/lib/notify/notify.variable.css +37 -10
- package/lib/notify/notifyConstructor.d.ts +19 -21
- package/lib/overflow-title/components/overflow-title.d.ts +57 -0
- package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
- package/lib/overflow-title/index.d.ts +195 -0
- package/lib/overflow-title/index.js +1 -0
- package/lib/overflow-title/overflow.css +11 -0
- package/lib/overflow-title/overflow.less +13 -0
- package/lib/overflow-title/overflow.variable.css +11 -0
- package/lib/overflow-title/props.d.ts +43 -0
- package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
- package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
- package/lib/pagination/index.d.ts +89 -90
- package/lib/pagination/index.js +1 -1
- package/lib/pagination/pagination.css +54 -28
- package/lib/pagination/pagination.d.ts +17 -6
- package/lib/pagination/pagination.less +59 -30
- package/lib/pagination/pagination.variable.css +83 -34
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +3 -1
- package/lib/pagination/use-total.d.ts +3 -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/pop-confirm/index.d.ts +249 -0
- package/lib/pop-confirm/index.js +1 -0
- package/lib/pop-confirm/pop-confirm.css +28 -0
- package/lib/pop-confirm/pop-confirm.d.ts +95 -0
- package/lib/pop-confirm/pop-confirm.less +34 -0
- package/lib/pop-confirm/pop-confirm.variable.css +150 -0
- package/lib/pop-confirm/props.d.ts +67 -0
- package/lib/popover/arrow.d.ts +2 -0
- package/lib/popover/const.d.ts +16 -0
- package/lib/popover/content.d.ts +43 -0
- package/lib/popover/index.d.ts +409 -173
- package/lib/popover/index.js +1 -1
- package/lib/popover/plugin-popover.d.ts +12 -0
- package/lib/popover/popover.css +10 -53
- package/lib/popover/popover.d.ts +189 -58
- package/lib/popover/popover.less +19 -68
- package/lib/popover/popover.variable.css +40 -60
- package/lib/popover/props.d.ts +90 -37
- package/lib/popover/reference.d.ts +2 -0
- package/lib/popover/root.d.ts +27 -0
- package/lib/popover/use-floating.d.ts +34 -0
- package/lib/popover/use-platform.d.ts +30 -0
- package/lib/popover/use-popover-init.d.ts +23 -0
- package/lib/popover/use-popper-id.d.ts +6 -0
- package/lib/popover/utils.d.ts +8 -0
- package/lib/popover2/index.d.ts +54 -393
- package/lib/popover2/index.js +1 -1
- package/lib/popover2/popover.d.ts +2 -0
- package/lib/preset.d.ts +264 -2
- package/lib/preset.js +1 -1
- package/lib/process/index.d.ts +69 -52
- package/lib/process/index.js +2 -1
- package/lib/process/index.js.LICENSE.txt +1 -0
- package/lib/process/process.css +22 -0
- package/lib/process/process.d.ts +5 -4
- package/lib/process/process.less +36 -8
- package/lib/process/process.variable.css +51 -6
- package/lib/progress/index.d.ts +114 -153
- package/lib/progress/index.js +1 -1
- package/lib/progress/progress.css +43 -0
- package/lib/progress/progress.d.ts +90 -32
- package/lib/progress/progress.less +8 -8
- package/lib/progress/progress.variable.css +76 -10
- package/lib/radio/index.d.ts +116 -58
- package/lib/radio/index.js +1 -1
- package/lib/radio/radio-button.d.ts +12 -9
- package/lib/radio/radio-group.d.ts +36 -5
- package/lib/radio/radio.css +133 -62
- package/lib/radio/radio.d.ts +9 -5
- package/lib/radio/radio.less +262 -173
- package/lib/radio/radio.variable.css +166 -72
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.d.ts +78 -28
- package/lib/rate/index.js +1 -1
- package/lib/rate/rate.d.ts +14 -3
- package/lib/rate/star.d.ts +1 -1
- package/lib/resize-layout/index.d.ts +82 -80
- package/lib/resize-layout/index.js +1 -1
- package/lib/resize-layout/resize-layout.css +6 -15
- package/lib/resize-layout/resize-layout.d.ts +10 -9
- package/lib/resize-layout/resize-layout.less +32 -41
- package/lib/resize-layout/resize-layout.variable.css +35 -21
- package/lib/search-select/index.d.ts +892 -0
- package/lib/search-select/index.js +2 -0
- package/lib/search-select/index.js.LICENSE.txt +1 -0
- package/lib/search-select/input.d.ts +101 -0
- package/lib/search-select/menu.d.ts +77 -0
- package/lib/search-select/search-select.css +427 -0
- package/lib/search-select/search-select.d.ts +361 -0
- package/lib/search-select/search-select.less +384 -0
- package/lib/search-select/search-select.variable.css +549 -0
- package/lib/search-select/selected.d.ts +155 -0
- package/lib/search-select/utils.d.ts +88 -0
- package/lib/select/common.d.ts +4 -11
- package/lib/select/index.d.ts +1471 -918
- package/lib/select/index.js +2 -1
- package/lib/select/index.js.LICENSE.txt +1 -0
- package/lib/select/option.d.ts +17 -6
- package/lib/select/optionGroup.d.ts +2 -2
- package/lib/select/select.css +211 -140
- package/lib/select/select.d.ts +654 -205
- package/lib/select/select.less +331 -189
- package/lib/select/select.variable.css +240 -146
- package/lib/select/selectTagInput.d.ts +38 -15
- package/lib/select/type.d.ts +20 -14
- package/lib/shared/dom.d.ts +3 -0
- package/lib/shared/helper.d.ts +9 -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 +16 -12
- package/lib/shared/index.js +1 -1
- package/lib/shared/mask-manager.d.ts +18 -5
- package/lib/shared/pop-manager.d.ts +13 -3
- package/lib/shared/popover.d.ts +1 -1
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/utils.d.ts +19 -0
- package/lib/shared/vue-types.d.ts +139 -13
- package/lib/sideslider/index.d.ts +158 -252
- package/lib/sideslider/index.js +2 -1
- package/lib/sideslider/index.js.LICENSE.txt +1 -0
- package/lib/sideslider/sideslider.css +10 -8
- package/lib/sideslider/sideslider.d.ts +46 -71
- package/lib/sideslider/sideslider.less +19 -17
- package/lib/sideslider/sideslider.variable.css +39 -14
- package/lib/slider/index.d.ts +82 -112
- package/lib/slider/index.js +2 -1
- package/lib/slider/index.js.LICENSE.txt +1 -0
- package/lib/slider/slider-button.d.ts +3 -2
- package/lib/slider/slider.d.ts +6 -6
- package/lib/slider/slider.variable.css +29 -6
- package/lib/steps/index.d.ts +105 -96
- package/lib/steps/index.js +2 -1
- package/lib/steps/index.js.LICENSE.txt +1 -0
- package/lib/steps/steps.css +1 -0
- package/lib/steps/steps.d.ts +35 -34
- package/lib/steps/steps.less +63 -62
- package/lib/steps/steps.variable.css +30 -6
- package/lib/styles/index.d.ts +6 -2
- package/lib/styles/mixins/mixins.css +43 -0
- package/lib/styles/mixins/mixins.less +1 -0
- package/lib/styles/mixins/mixins.variable.css +43 -0
- package/lib/styles/mixins/popper.css +1 -1
- package/lib/styles/mixins/popper.less +12 -11
- package/lib/styles/mixins/popper.variable.css +123 -1
- package/lib/styles/mixins/scroll.css +17 -0
- package/lib/styles/mixins/scroll.less +22 -0
- package/lib/styles/mixins/scroll.variable.css +139 -0
- package/lib/styles/reset.css +36 -0
- package/lib/styles/reset.less +26 -2
- package/lib/styles/reset.variable.css +36 -0
- package/lib/styles/themes/themes.less +37 -6
- package/lib/swiper/index.d.ts +60 -44
- package/lib/swiper/index.js +1 -1
- package/lib/swiper/swiper.d.ts +1 -1
- package/lib/swiper/swiper.less +15 -13
- package/lib/swiper/swiper.variable.css +122 -0
- package/lib/switcher/index.d.ts +94 -87
- package/lib/switcher/index.js +1 -1
- package/lib/switcher/switcher.css +44 -1
- package/lib/switcher/switcher.d.ts +17 -11
- package/lib/switcher/switcher.less +29 -52
- package/lib/switcher/switcher.variable.css +90 -24
- package/lib/tab/index.d.ts +163 -124
- package/lib/tab/index.js +1 -1
- package/lib/tab/props.d.ts +92 -43
- package/lib/tab/tab-nav.d.ts +46 -14
- package/lib/tab/tab-panel.d.ts +16 -9
- package/lib/tab/tab.css +135 -58
- package/lib/tab/tab.d.ts +42 -20
- package/lib/tab/tab.less +164 -77
- package/lib/tab/tab.variable.css +164 -64
- package/lib/table/cache.d.ts +6 -0
- package/lib/table/components/index.d.ts +3 -0
- package/lib/table/components/table-cell.d.ts +51 -0
- package/lib/table/components/table-column.d.ts +305 -0
- package/lib/table/components/table-row.d.ts +2 -0
- package/lib/table/const.d.ts +94 -6
- package/lib/table/index.d.ts +698 -169
- package/lib/table/index.js +1 -1
- package/lib/table/plugins/body-empty.d.ts +36 -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 +30 -14
- package/lib/table/plugins/head-filter.d.ts +26 -0
- package/lib/table/plugins/head-filter.less +79 -52
- package/lib/table/plugins/head-filter.variable.css +59 -20
- package/lib/table/plugins/head-sort.css +7 -3
- package/lib/table/plugins/head-sort.d.ts +29 -0
- package/lib/table/plugins/head-sort.less +8 -4
- package/lib/table/plugins/head-sort.variable.css +36 -9
- package/lib/table/plugins/index.d.ts +5 -0
- package/lib/table/plugins/settings.css +43 -6
- package/lib/table/plugins/settings.d.ts +37 -0
- package/lib/table/plugins/settings.less +52 -7
- package/lib/table/plugins/settings.variable.css +72 -12
- 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 +26 -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 +271 -23
- package/lib/table/render.d.ts +32 -12
- package/lib/table/table.css +961 -69
- package/lib/table/table.d.ts +170 -27
- package/lib/table/table.less +195 -69
- package/lib/table/table.variable.css +990 -75
- package/lib/table/use-column.d.ts +12 -0
- package/lib/table/use-common.d.ts +71 -11
- package/lib/table/utils.d.ts +33 -7
- package/lib/table-column/index.d.ts +797 -0
- package/lib/table-column/index.js +1 -0
- package/lib/tag/index.d.ts +89 -68
- package/lib/tag/index.js +1 -1
- package/lib/tag/tag.css +46 -13
- package/lib/tag/tag.d.ts +17 -12
- package/lib/tag/tag.less +58 -21
- package/lib/tag/tag.variable.css +75 -19
- package/lib/tag-input/common.d.ts +13 -1
- package/lib/tag-input/index.d.ts +570 -269
- package/lib/tag-input/index.js +1 -1
- package/lib/tag-input/list-tag-render.d.ts +2 -5
- package/lib/tag-input/tag-input.css +23 -27
- package/lib/tag-input/tag-input.d.ts +304 -45
- package/lib/tag-input/tag-input.less +103 -106
- package/lib/tag-input/tag-input.variable.css +52 -33
- package/lib/tag-input/tag-props.d.ts +142 -8
- package/lib/tag-input/tag-render.d.ts +31 -5
- package/lib/time-picker/index.d.ts +833 -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 +337 -0
- package/lib/timeline/index.d.ts +64 -32
- package/lib/timeline/index.js +1 -1
- package/lib/timeline/timeline.css +11 -4
- package/lib/timeline/timeline.d.ts +4 -3
- package/lib/timeline/timeline.less +48 -36
- package/lib/timeline/timeline.variable.css +40 -10
- package/lib/transfer/index.d.ts +152 -81
- package/lib/transfer/index.js +1 -1
- package/lib/transfer/props.d.ts +5 -0
- package/lib/transfer/transfer.css +121 -41
- package/lib/transfer/transfer.d.ts +35 -3
- package/lib/transfer/transfer.less +103 -46
- package/lib/transfer/transfer.variable.css +155 -52
- package/lib/tree/constant.d.ts +22 -2
- package/lib/tree/index.d.ts +236 -141
- package/lib/tree/index.js +1 -1
- package/lib/tree/props.d.ts +68 -12
- package/lib/tree/tree.css +176 -7
- package/lib/tree/tree.d.ts +91 -20
- package/lib/tree/tree.less +49 -1
- package/lib/tree/tree.variable.css +205 -13
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-node-action.d.ts +3 -2
- package/lib/tree/use-node-attribute.d.ts +11 -0
- package/lib/tree/use-node-drag.d.ts +1 -1
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +2 -0
- package/lib/upload/index.d.ts +508 -1
- package/lib/upload/index.js +2 -1
- package/lib/upload/index.js.LICENSE.txt +1 -0
- package/lib/upload/props.d.ts +0 -2
- package/lib/upload/upload-list.d.ts +3 -2
- package/lib/upload/upload-trigger.d.ts +1 -4
- package/lib/upload/upload.css +58 -5
- package/lib/upload/upload.d.ts +10 -16
- package/lib/upload/upload.less +19 -8
- package/lib/upload/upload.type.d.ts +12 -12
- package/lib/upload/upload.variable.css +113 -37
- package/lib/upload/use-file-handler.d.ts +2 -25
- package/lib/virtual-render/index.d.ts +100 -150
- package/lib/virtual-render/index.js +1 -1
- package/lib/virtual-render/props.d.ts +15 -1
- package/lib/virtual-render/virtual-render.css +17 -17
- package/lib/virtual-render/virtual-render.d.ts +39 -4
- package/lib/virtual-render/virtual-render.less +2 -23
- package/lib/virtual-render/virtual-render.variable.css +139 -17
- package/lib/volar.components.d.ts +102 -0
- package/package.json +47 -41
- package/LICENSE.txt +0 -22
- package/lib/popover2/arrow.d.ts +0 -2
- package/lib/popover2/content.d.ts +0 -24
- package/lib/popover2/popover2.css +0 -25
- package/lib/popover2/popover2.d.ts +0 -180
- package/lib/popover2/popover2.less +0 -35
- package/lib/popover2/props.d.ts +0 -92
- package/lib/popover2/reference.d.ts +0 -2
- package/lib/popover2/use-floating.d.ts +0 -15
- package/lib/popover2/use-popper-id.d.ts +0 -5
package/lib/popover/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t)=>(()=>{"use strict";var o={4212:t=>{t.exports=e},748:e=>{e.exports=t}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return o[e](a,a.exports,n),a.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{n.r(a),n.d(a,{default:()=>s});var e=n(4212),t=n(748),o={onAfterHidden:Function,onAfterShow:Function},r=Object.assign({isShow:e.PropTypes.bool.def(!1),always:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),content:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),transition:e.PropTypes.string.def("fade-in"),placement:e.PropTypes.placement(["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]).def("top"),theme:e.PropTypes.string.def("dark"),handleFirstUpdate:{type:Function,default:function(){}},trigger:e.PropTypes.string.def("hover"),arrow:e.PropTypes.bool.def(!0),modifiers:e.PropTypes.array.def([{name:"offset",options:{offset:[0,8]}}]),boundary:e.PropTypes.oneOfType([e.PropTypes.string.def("parent"),e.PropTypes.instanceOf(HTMLElement)]),fixOnBoundary:e.PropTypes.bool.def(!1),zIndex:e.PropTypes.number.def(void 0),stopBehaviors:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.commonType(["stopPropagation","stopImmediatePropagation","preventDefault"],"stopBehaviors")),e.PropTypes.string]).def([])},o);const i=(0,t.defineComponent)({name:"Popover",props:r,emits:["afterHidden","afterShow","update:isShow"],setup:function(o,r){var n=!1,a=Object.create(null),i=(0,t.ref)(0),s=(0,t.toRefs)(o),p=s.width,u=s.height,d=s.theme,f=s.trigger,l=s.isShow,c=s.placement,v=s.modifiers,y=s.arrow,m=s.content,h=(0,t.ref)(),b=(0,t.ref)(),T=(0,t.computed)((function(){return{width:/^\d+$/.test(String(p.value))?"".concat(p.value,"px"):p.value,height:/^\d+$/.test(String(u.value))?"".concat(u.value,"px"):u.value,zIndex:i.value}})),g=["dark","light"],P=(0,t.computed)((function(){var e=d.value.split(/\s+/);return e.sort((function(e,t){return Number(g.includes(t))-Number(g.includes(e))})),{systemThemes:e,customThemes:e.filter((function(e){return!g.includes(e)}))}})),w=function(t){var r,s;if(n){if(t)return i.value="number"==typeof o.zIndex?o.zIndex:e.bkZIndexManager.getModalNextIndex(),void(null===(r=a.show)||void 0===r||r.call(a));null===(s=a.hide)||void 0===s||s.call(a)}};(0,t.watch)((function(){return o.isShow}),(function(e){w(e)}),{immediate:!0});var x=function(){r.emit("update:isShow",!1),r.emit("afterHidden",!1)},O=function(){r.emit("update:isShow",!0),r.emit("afterShow",!1)},S=function(){var e=a;e.constructor&&(e.isShow&&e.hide(),e.destroy(),a=Object.create(null))},j=function(){a=new e.BKPopover(h.value,b.value,{theme:P.value.systemThemes.join(" "),placement:c.value,trigger:f.value,modifiers:v.value,onFirstUpdate:o.handleFirstUpdate,afterShow:O,afterHidden:x,appendTo:o.boundary,always:o.always,disabled:o.disabled,fixOnBoundary:o.fixOnBoundary}),n=!0,l.value&&w(l.value)},B=function(){S(),(0,t.nextTick)(j)};r.expose({update:B}),(0,t.onMounted)(B),(0,t.onBeforeUnmount)(S);var k=function(){r.emit("after-enter")},I=function(){r.emit("after-leave")},N=P.value.customThemes.join(" "),A=P.value.customThemes.reduce((function(e,t){return Object.assign((o={},!0,(r="data-".concat(t,"-theme"))in o?Object.defineProperty(o,r,{value:true,enumerable:!0,configurable:!0,writable:!0}):o[r]=true,o),e);var o,r}),{}),F="bk-popover-content ".concat(N),M=function(e){var t=function(t){"function"==typeof e[t]&&e[t]()};Array.isArray(o.stopBehaviors)&&o.stopBehaviors.forEach(t),"string"==typeof o.stopBehaviors&&t(o.stopBehaviors)};return function(){var e,n,a,i,s;return(0,t.createVNode)("div",{class:"bk-popover","data-bk-pop-container":!0},[(0,t.createVNode)("div",{ref:h,class:"bk-popover-reference"},[null===(n=(e=r.slots).default)||void 0===n?void 0:n.call(e)]),(0,t.createVNode)(t.Transition,{name:o.transition,onAfterEnter:k,onAfterLeave:I},{default:function(){return[(0,t.createVNode)("div",(0,t.mergeProps)({ref:b,class:F,style:T.value},A,{onClick:M}),[null!==(s=null===(i=(a=r.slots).content)||void 0===i?void 0:i.call(a))&&void 0!==s?s:m.value,y.value&&(0,t.createVNode)("div",{class:"arrow","data-popper-arrow":!0},null)])]}})])}}}),s=(0,e.withInstall)(i)})(),a})()));
|
1
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t)=>(()=>{var n={8022:(e,t,n)=>{var o=n(4481),r=n(6426),i=r;i.v1=o,i.v4=r,e.exports=i},8725:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var o=n||0,r=t;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},9157:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},4481:(e,t,n)=>{var o,r,i=n(9157),l=n(8725),a=0,u=0;e.exports=function(e,t,n){var c=t&&n||0,s=t||[],f=(e=e||{}).node||o,d=void 0!==e.clockseq?e.clockseq:r;if(null==f||null==d){var p=i();null==f&&(f=o=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=r=16383&(p[6]<<8|p[7]))}var v=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:u+1,y=v-a+(m-u)/1e4;if(y<0&&void 0===e.clockseq&&(d=d+1&16383),(y<0||v>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=v,u=m,r=d;var h=(1e4*(268435455&(v+=122192928e5))+m)%4294967296;s[c++]=h>>>24&255,s[c++]=h>>>16&255,s[c++]=h>>>8&255,s[c++]=255&h;var g=v/4294967296*1e4&268435455;s[c++]=g>>>8&255,s[c++]=255&g,s[c++]=g>>>24&15|16,s[c++]=g>>>16&255,s[c++]=d>>>8|128,s[c++]=255&d;for(var b=0;b<6;++b)s[c+b]=f[b];return t||l(s)}},6426:(e,t,n)=>{var o=n(9157),r=n(8725);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var l=(e=e||{}).random||(e.rng||o)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t)for(var a=0;a<16;++a)t[i+a]=l[a];return t||r(l)}},4212:t=>{"use strict";t.exports=e},748:e=>{"use strict";e.exports=t}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return n[e](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.r(i),r.d(i,{$bkPopover:()=>$e,PopoverProps:()=>w,default:()=>Be});var e=r(4212),t=r(748);function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}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 l,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,l=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw l}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var l,a=new Map;function u(e,t){var n,o=[];return Array.isArray(t.arg)?o=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&o.push(t.arg)),function(n,r){var i=t.instance.popperRef,l=n.target,a=null==r?void 0:r.target,u=!t||!t.instance,c=!l||!a,s=e.contains(l)||e.contains(a),f=e===l,d=o.length&&o.some((function(e){return null==e?void 0:e.contains(l)}))||o.length&&o.includes(a),p=i&&(i.contains(l)||i.contains(a));u||c||s||f||d||p||t.value(n,r)}}document.addEventListener("mousedown",(function(e){return l=e})),document.addEventListener("mouseup",(function(e){var t,o=n(a.values());try{for(o.s();!(t=o.n()).done;){var r,i=n(t.value);try{for(i.s();!(r=i.n()).done;)(0,r.value.documentHandler)(e,l)}catch(e){i.e(e)}finally{i.f()}}}catch(e){o.e(e)}finally{o.f()}}));var c={beforeMount:function(e,t){a.has(e)||a.set(e,[]),a.get(e).push({documentHandler:u(e,t),bindingFn:t.value})},updated:function(e,t){a.has(e)||a.set(e,[]);var n=a.get(e),o=n.findIndex((function(e){return e.bindingFn===t.oldValue})),r={documentHandler:u(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted:function(e){a.delete(e)},install:function(e){e.directive("bkTooltips",c)}};const s=c,f=(0,t.defineComponent)({name:"PopArrow",render:function(){var n=(0,e.resolveClassName)("pop2-arrow");return(0,t.createVNode)("div",{class:n},null)}});function d(e){return d="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},d(e)}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===d(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v,m,y=function(){return!0};!function(e){e.SHOW="show",e.HIDE="hide",e.CLICK_OUTSIDE="clickoutside",e.CONTENT_MOUSEENTER="contentMouseenter",e.CONTENT_MOUSELEAVE="contentMouseleave",e.STOP_HIDE="stopHide"}(m||(m={}));var h=(p(v={},m.SHOW,y),p(v,m.HIDE,y),p(v,m.CLICK_OUTSIDE,y),p(v,m.CONTENT_MOUSEENTER,y),p(v,m.CONTENT_MOUSELEAVE,y),p(v,m.STOP_HIDE,y),v);const g=(0,t.defineComponent)({name:"PopContent",props:{width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),maxHeight:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),extCls:e.PropTypes.string.def("")},setup:function(e){var n=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,t.computed)((function(){return{width:n(e.width),height:n(e.height),maxHeight:n(e.maxHeight)}}))}},render:function(){var n,o,r,i,l,a,u=[(0,e.resolveClassName)("popover"),(0,e.resolveClassName)("pop2-content"),this.extCls];return(0,t.createVNode)("div",{class:u,tabindex:"-1",style:this.style},[null!==(r=null===(o=(n=this.$slots).arrow)||void 0===o?void 0:o.call(n))&&void 0!==r?r:"",null!==(a=null===(l=(i=this.$slots).default)||void 0===l?void 0:l.call(i))&&void 0!==a?a:""])}});var b={onAfterHidden:Function,onAfterShow:Function},w=Object.assign({isShow:e.PropTypes.bool.def(!1),always:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),maxHeight:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),content:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),allowHtml:e.PropTypes.bool.def(!1),placement:(0,e.placementType)().def(e.PlacementEnum.TOP_START),theme:e.PropTypes.string.def("dark"),trigger:(0,e.triggerType)(),renderType:(0,e.renderType)(),arrow:e.PropTypes.bool.def(!0),padding:e.PropTypes.number.def(5),offset:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({})]).def(6),boundary:e.PropTypes.oneOfType([e.PropTypes.string.def("parent"),e.PropTypes.instanceOf(HTMLElement)]),zIndex:e.PropTypes.number.def(void 0),disableTeleport:e.PropTypes.bool.def(!1),autoPlacement:e.PropTypes.bool.def(!1),autoVisibility:e.PropTypes.bool.def(!0),disableOutsideClick:e.PropTypes.bool.def(!1),disableTransform:e.PropTypes.bool.def(!1),reference:e.PropTypes.any.def(null),modifiers:e.PropTypes.array.def([]),popoverDelay:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.arrayOf(e.PropTypes.number)]).def(100),extCls:e.PropTypes.string.def("")},b);const x=(0,t.defineComponent)({name:"PopReference",render:function(){var e,t,n;return null!==(n=null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:""}}),T=(0,t.defineComponent)({props:{class:e.PropTypes.string.def(""),mode:e.PropTypes.string.def("")},render:function(){var e,n;return(0,t.createVNode)(t.Fragment,null,[null===(n=(e=this.$slots).default)||void 0===n?void 0:n.call(e)])}});function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,l,a=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);u=!0);}catch(e){c=!0,r=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?P(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const R=["top","right","bottom","left"],O=["start","end"],C=R.reduce(((e,t)=>e.concat(t,t+"-"+O[0],t+"-"+O[1])),[]),S=Math.min,A=Math.max,L=Math.round,N=Math.floor,H=e=>({x:e,y:e}),I={left:"right",right:"left",bottom:"top",top:"bottom"},j={start:"end",end:"start"};function D(e,t,n){return A(e,S(t,n))}function M(e,t){return"function"==typeof e?e(t):e}function k(e){return e.split("-")[0]}function F(e){return e.split("-")[1]}function V(e){return"x"===e?"y":"x"}function $(e){return"y"===e?"height":"width"}function B(e){return["top","bottom"].includes(k(e))?"y":"x"}function _(e){return V(B(e))}function U(e,t,n){void 0===n&&(n=!1);const o=F(e),r=_(e),i=$(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=W(l)),[l,W(l)]}function q(e){return e.replace(/start|end/g,(e=>j[e]))}function W(e){return e.replace(/left|right|bottom|top/g,(e=>I[e]))}function z(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function K(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function X(e,t,n){let{reference:o,floating:r}=e;const i=B(t),l=_(t),a=$(l),u=k(t),c="y"===i,s=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,d=o[a]/2-r[a]/2;let p;switch(u){case"top":p={x:s,y:o.y-r.height};break;case"bottom":p={x:s,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-r.width,y:f};break;default:p={x:o.x,y:o.y}}switch(F(t)){case"start":p[l]-=d*(n&&c?-1:1);break;case"end":p[l]+=d*(n&&c?-1:1)}return p}async function Y(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=M(t,e),v=z(p),m=a[d?"floating"===f?"reference":"floating":f],y=K(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:u})),h="floating"===f?{...l.floating,x:o,y:r}:l.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},w=K(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:h,offsetParent:g,strategy:u}):h);return{top:(y.top-w.top+v.top)/b.y,bottom:(w.bottom-y.bottom+v.bottom)/b.y,left:(y.left-w.left+v.left)/b.x,right:(w.right-y.right+v.right)/b.x}}function Z(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function G(e){return R.some((t=>e[t]>=0))}function J(e){const t=S(...e.map((e=>e.left))),n=S(...e.map((e=>e.top)));return{x:t,y:n,width:A(...e.map((e=>e.right)))-t,height:A(...e.map((e=>e.bottom)))-n}}const Q=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=k(n),a=F(n),u="y"===B(n),c=["left","top"].includes(l)?-1:1,s=i&&u?-1:1,f=M(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof v&&(p="end"===a?-1*v:v),u?{x:p*s,y:d*c}:{x:d*c,y:p*s}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}},ee=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=M(e,t),c={x:n,y:o},s=await Y(t,u),f=B(k(r)),d=V(f);let p=c[d],v=c[f];if(i){const e="y"===d?"bottom":"right";p=D(p+s["y"===d?"top":"left"],p,p-s[e])}if(l){const e="y"===f?"bottom":"right";v=D(v+s["y"===f?"top":"left"],v,v-s[e])}const m=a.fn({...t,[d]:p,[f]:v});return{...m,data:{x:m.x-n,y:m.y-o}}}}};function te(e){return re(e)?(e.nodeName||"").toLowerCase():"#document"}function ne(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function oe(e){var t;return null==(t=(re(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function re(e){return e instanceof Node||e instanceof ne(e).Node}function ie(e){return e instanceof Element||e instanceof ne(e).Element}function le(e){return e instanceof HTMLElement||e instanceof ne(e).HTMLElement}function ae(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ne(e).ShadowRoot)}function ue(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=pe(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function ce(e){return["table","td","th"].includes(te(e))}function se(e){const t=fe(),n=pe(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function fe(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function de(e){return["html","body","#document"].includes(te(e))}function pe(e){return ne(e).getComputedStyle(e)}function ve(e){return ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function me(e){if("html"===te(e))return e;const t=e.assignedSlot||e.parentNode||ae(e)&&e.host||oe(e);return ae(t)?t.host:t}function ye(e){const t=me(e);return de(t)?e.ownerDocument?e.ownerDocument.body:e.body:le(t)&&ue(t)?t:ye(t)}function he(e,t){var n;void 0===t&&(t=[]);const o=ye(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=ne(o);return r?t.concat(i,i.visualViewport||[],ue(o)?o:[]):t.concat(o,he(o))}function ge(e){const t=pe(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=le(e),i=r?e.offsetWidth:n,l=r?e.offsetHeight:o,a=L(n)!==i||L(o)!==l;return a&&(n=i,o=l),{width:n,height:o,$:a}}function be(e){return ie(e)?e:e.contextElement}function we(e){const t=be(e);if(!le(t))return H(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=ge(t);let l=(i?L(n.width):n.width)/o,a=(i?L(n.height):n.height)/r;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const xe=H(0);function Te(e){const t=ne(e);return fe()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:xe}function Pe(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=be(e);let l=H(1);t&&(o?ie(o)&&(l=we(o)):l=we(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==ne(e))&&t}(i,n,o)?Te(i):H(0);let u=(r.left+a.x)/l.x,c=(r.top+a.y)/l.y,s=r.width/l.x,f=r.height/l.y;if(i){const e=ne(i),t=o&&ie(o)?ne(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=we(n),t=n.getBoundingClientRect(),o=pe(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;u*=e.x,c*=e.y,s*=e.x,f*=e.y,u+=r,c+=i,n=ne(n).frameElement}}return K({width:s,height:f,x:u,y:c})}function Ee(e){return Pe(oe(e)).left+ve(e).scrollLeft}function Re(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=ne(e),o=oe(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,u=0;if(r){i=r.width,l=r.height;const e=fe();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)o=function(e){const t=oe(e),n=ve(e),o=e.ownerDocument.body,r=A(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=A(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Ee(e);const a=-n.scrollTop;return"rtl"===pe(o).direction&&(l+=A(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:a}}(oe(e));else if(ie(t))o=function(e,t){const n=Pe(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=le(e)?we(e):H(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n);else{const n=Te(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return K(o)}function Oe(e,t){const n=me(e);return!(n===t||!ie(n)||de(n))&&("fixed"===pe(n).position||Oe(n,t))}function Ce(e,t,n){const o=le(t),r=oe(t),i="fixed"===n,l=Pe(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=H(0);if(o||!o&&!i)if(("body"!==te(t)||ue(r))&&(a=ve(t)),o){const e=Pe(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else r&&(u.x=Ee(r));return{x:l.left+a.scrollLeft-u.x,y:l.top+a.scrollTop-u.y,width:l.width,height:l.height}}function Se(e,t){return le(e)&&"fixed"!==pe(e).position?t?t(e):e.offsetParent:null}function Ae(e,t){const n=ne(e);if(!le(e))return n;let o=Se(e,t);for(;o&&ce(o)&&"static"===pe(o).position;)o=Se(o,t);return o&&("html"===te(o)||"body"===te(o)&&"static"===pe(o).position&&!se(o))?n:o||function(e){let t=me(e);for(;le(t)&&!de(t);){if(se(t))return t;t=me(t)}return null}(e)||n}const Le={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=le(n),i=oe(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0},a=H(1);const u=H(0);if((r||!r&&"fixed"!==o)&&(("body"!==te(n)||ue(i))&&(l=ve(n)),le(n))){const e=Pe(n);a=we(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-l.scrollLeft*a.x+u.x,y:t.y*a.y-l.scrollTop*a.y+u.y}},getDocumentElement:oe,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let o=he(e).filter((e=>ie(e)&&"body"!==te(e))),r=null;const i="fixed"===pe(e).position;let l=i?me(e):e;for(;ie(l)&&!de(l);){const t=pe(l),n=se(l);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||ue(l)&&!n&&Oe(e,l))?o=o.filter((e=>e!==l)):r=t,l=me(l)}return t.set(e,o),o}(t,this._c):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=Re(t,n,r);return e.top=A(o.top,e.top),e.right=S(o.right,e.right),e.bottom=S(o.bottom,e.bottom),e.left=A(o.left,e.left),e}),Re(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Ae,getElementRects:async function(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||Ae,i=this.getDimensions;return{reference:Ce(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return ge(e)},getScale:we,isElement:ie,isRTL:function(e){return"rtl"===pe(e).direction}};var Ne=r(8022),He={},Ie=function(e){return document.querySelector(e)instanceof HTMLElement},je=function(e){return e instanceof Element||e instanceof HTMLDocument},De=function(e){if(je(e))return{isElement:!0,content:e,vNode:void 0};if(/^(#|\.)/.test(e)){var t=document.querySelector(e),n=je(t);return{isElement:n,content:n?t:e,vNode:n?void 0:e}}return{isElement:!1,content:e,vNode:e}};const Me=function(n,o,r){var i=r.refReference,l=r.refContent,a=r.refArrow,u=r.refRoot,c=(0,t.ref)(!1),s=(0,t.ref)(),f=function(){var e,t,n,o=x(null===(e=i.value)||void 0===e?void 0:e.$el);return(null===(t=document.fullscreenElement)||void 0===t?void 0:t.shadowRoot)?document.fullscreenElement.shadowRoot.contains(o):null===(n=document.fullscreenElement)||void 0===n?void 0:n.contains(o)},d=["dark","light"],v=(0,t.computed)((function(){var e,t,o=null!==(t=null===(e=n.theme)||void 0===e?void 0:e.split(/\s+/))&&void 0!==t?t:[];return o.sort((function(e,t){return Number(d.includes(t))-Number(d.includes(e))})),{systemThemes:o,customThemes:o.filter((function(e){return!d.includes(e)}))}})),y=function(){return n.autoVisibility},h=function(){return n.autoPlacement},g=function(){var e,t,o,r,c=x(null===(e=i.value)||void 0===e?void 0:e.$el),s=x(null===(t=l.value)||void 0===t?void 0:t.$el),f=n.arrow?x(null===(o=a.value)||void 0===o?void 0:o.$el):null,d=x(null===(r=u.value)||void 0===r?void 0:r.$el),p=De(n.content),v=p.isElement,m=p.content;return s&&v&&!(null==s?void 0:s.contains(m))&&s.append(m),{elReference:c,elContent:s,elArrow:f,root:d}},b=function(){var e={};return Array.isArray(n.modifiers)&&n.modifiers.forEach((function(t){var n,o,r,i,l;if("offset"===t.name){if("number"==typeof(null===(n=t.options)||void 0===n?void 0:n.offset)&&(l=null===(o=t.options)||void 0===o?void 0:o.offset),Array.isArray(null===(r=t.options)||void 0===r?void 0:r.offset)){var a=E(null===(i=t.options)||void 0===i?void 0:i.offset,2);l={mainAxis:a[0],crossAxis:a[1]}}Object.assign(e,{offset:l})}})),e},w=function(e,t){var n,o,r=b(),i=[Q(r.offset||t.offset),ee({padding:t.padding})],l={placement:t.placement,middleware:i};if(t.arrow&&i.push((e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:l,elements:a}=t,{element:u,padding:c=0}=M(e,t)||{};if(null==u)return{};const s=z(c),f={x:n,y:o},d=_(r),p=$(d),v=await l.getDimensions(u),m="y"===d,y=m?"top":"left",h=m?"bottom":"right",g=m?"clientHeight":"clientWidth",b=i.reference[p]+i.reference[d]-f[d]-i.floating[p],w=f[d]-i.reference[d],x=await(null==l.getOffsetParent?void 0:l.getOffsetParent(u));let T=x?x[g]:0;T&&await(null==l.isElement?void 0:l.isElement(x))||(T=a.floating[g]||i.floating[p]);const P=b/2-w/2,E=T/2-v[p]/2-1,R=S(s[y],E),O=S(s[h],E),C=R,A=T-v[p]-O,L=T/2-v[p]/2+P,N=D(C,L,A),H=null!=F(r)&&L!=N&&i.reference[p]/2-(L<C?R:O)-v[p]/2<0?L<C?C-L:A-L:0;return{[d]:f[d]-H,data:{[d]:N,centerOffset:L-N+H}}}}))({element:e})),h()?i.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r;const{rects:i,middlewareData:l,placement:a,platform:u,elements:c}=t,{crossAxis:s=!1,alignment:f,allowedPlacements:d=C,autoAlignment:p=!0,...v}=M(e,t),m=void 0!==f||d===C?function(e,t,n){return(e?[...n.filter((t=>F(t)===e)),...n.filter((t=>F(t)!==e))]:n.filter((e=>k(e)===e))).filter((n=>!e||F(n)===e||!!t&&q(n)!==n))}(f||null,p,d):d,y=await Y(t,v),h=(null==(n=l.autoPlacement)?void 0:n.index)||0,g=m[h];if(null==g)return{};const b=U(g,i,await(null==u.isRTL?void 0:u.isRTL(c.floating)));if(a!==g)return{reset:{placement:m[0]}};const w=[y[k(g)],y[b[0]],y[b[1]]],x=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:g,overflows:w}],T=m[h+1];if(T)return{data:{index:h+1,overflows:x},reset:{placement:T}};const P=x.map((e=>{const t=F(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),E=(null==(r=P.filter((e=>e[2].slice(0,F(e[0])?2:3).every((e=>e<=0))))[0])?void 0:r[0])||P[0][0];return E!==a?{data:{index:h+1,overflows:x},reset:{placement:E}}:{}}}}()):(i.unshift(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:r,platform:i,strategy:l}=t,{padding:a=2,x:u,y:c}=M(e,t),s=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),f=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let o=null;for(let e=0;e<t.length;e++){const r=t[e];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((e=>K(J(e))))}(s),d=K(J(s)),p=z(a),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===f.length&&f[0].left>f[1].right&&null!=u&&null!=c)return f.find((e=>u>e.left-p.left&&u<e.right+p.right&&c>e.top-p.top&&c<e.bottom+p.bottom))||d;if(f.length>=2){if("y"===B(n)){const e=f[0],t=f[f.length-1],o="top"===k(n),r=e.top,i=t.bottom,l=o?e.left:t.left,a=o?e.right:t.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const e="left"===k(n),t=A(...f.map((e=>e.right))),o=S(...f.map((e=>e.left))),r=f.filter((n=>e?n.left===o:n.right===t)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:o,right:t,width:t-o,height:l-i,x:o,y:i}}return d}},floating:o.floating,strategy:l});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}}()),i.push(function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:i,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:s=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...m}=M(e,t),y=k(o),h=k(l)===l,g=await(null==a.isRTL?void 0:a.isRTL(u.floating)),b=f||(h||!v?[W(l)]:function(e){const t=W(e);return[q(e),t,q(t)]}(l));f||"none"===p||b.push(...function(e,t,n,o){const r=F(e);let i=function(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:l;default:return[]}}(k(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(q)))),i}(l,v,p,g));const w=[l,...b],x=await Y(t,m),T=[];let P=(null==(n=r.flip)?void 0:n.overflows)||[];if(c&&T.push(x[y]),s){const e=U(o,i,g);T.push(x[e[0]],x[e[1]])}if(P=[...P,{placement:o,overflows:T}],!T.every((e=>e<=0))){var E,R;const e=((null==(E=r.flip)?void 0:E.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(R=P.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:R.placement;if(!n)switch(d){case"bestFit":{var O;const e=null==(O=P.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}}())),y()&&l.middleware.push(function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=M(e,t);switch(o){case"referenceHidden":{const e=Z(await Y(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:G(e)}}}case"escaped":{const e=Z(await Y(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:G(e)}}}default:return{}}}}}()),f()||t.isVirtualEl){var a=(o=s.value,{getElementRects:function(e){var t=e.reference,n=e.floating,o=t.getBoundingClientRect(),r=n.getBoundingClientRect();return{reference:{width:o.width,height:o.height,x:o.x,y:o.y},floating:{width:r.width,height:r.height,x:r.x,y:r.y}}},getDimensions:function(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height}},getClippingRect:function(e){var t;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var n=null!==(t=null==o?void 0:o.getBoundingClientRect())&&void 0!==t?t:{},r=n.width,i=void 0===r?0:r,l=n.height;return{width:i,height:void 0===l?0:l,x:0,y:0}}}),u=a.getElementRects,c=a.getDimensions,d=a.getClippingRect;Object.assign(l,{platform:Object.assign(Object.assign({},null!==(n=null==t?void 0:t.platform)&&void 0!==n?n:{}),{getElementRects:u,getDimensions:c,getClippingRect:d})})}return l},x=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):"function"==typeof(null==t?void 0:t.getBoundingClientRect)?t:null},T=v.value.customThemes.join(" "),P=v.value.customThemes.reduce((function(e,t){return Object.assign(p({},"data-".concat(t,"-theme"),!0),e)}),{}),R="".concat(T),O=null,L=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},H=function(e,t,o,r){var i;n.disableTransform?Object.assign(e.style,{left:"".concat(L(t),"px"),top:"".concat(L(o),"px")}):Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(L(t),"px,").concat(L(o),"px,0)")});var l=!!y()&&(null===(i=r.hide)||void 0===i?void 0:i.referenceHidden);Object.assign(e.style,{visibility:l?"hidden":"visible"})},I=function(e,t,o){var r;if(n.arrow){var i=null!==(r=o.arrow)&&void 0!==r?r:{},l=i.x,a=i.y;e.setAttribute("data-arrow",t),Object.assign(e.style,{left:"",top:"",bottom:"",right:""});var u={top:"bottom",right:"left",bottom:"top",left:"right"}[t];Object.assign(e.style,p({left:null!==l?"".concat(l,"px"):"",top:null!==a?"".concat(a,"px"):""},u,"-4px"))}},j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=g(),o=n.elReference,r=n.elContent,i=n.elArrow,l=e||o;if(l&&r){var a=w(i,t);((e,t,n)=>{const o=new Map,r={platform:Le,...n},i={...r.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:f}=X(c,o,u),d=o,p={},v=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:y,y:h,data:g,reset:b}=await m({x:s,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=y?y:s,f=null!=h?h:f,p={...p,[i]:{...p[i],...g}},b&&v<=50&&(v++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):b.rects),({x:s,y:f}=X(c,d,u))),n=-1)}return{x:s,y:f,placement:d,strategy:r,middlewareData:p}})(e,t,{...r,platform:i})})(l,r,a).then((function(e){var t=e.x,n=e.y,o=e.placement,l=e.middlewareData,a=r.className;r.className="".concat(a.replace(R,"")," ").concat(R).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(P).forEach((function(e){r.setAttribute(e,P[e])}));var u=o.split("-")[0],c=u;["left","right","top","bottom"].includes(u)||(c="top"),H(r,t,n,l),I(i,c,l)}))}},V=void 0,te=void 0,ne=!1,re=function(){return Array.isArray(n.popoverDelay)?[n.popoverDelay[0],n.popoverDelay.slice(-1)[0]]:[n.popoverDelay,n.popoverDelay]},ie=function(){var e=re()[0];te=setTimeout((function(){V&&clearTimeout(V),n.disabled||(c.value=!0)}),e)},le=function(){var e=re()[1];V=setTimeout((function(){te&&clearTimeout(te),c.value=!1}),e)},ae=function(){c.value?le():ie()},ue=function(){ae()},ce=function(){"hover"===n.trigger&&(V&&(ne=!0,clearTimeout(V),V=void 0),fe())},se=function(){ne&&(le(),ne=!1,de())},fe=function(){o.emit(m.CONTENT_MOUSEENTER)},de=function(){o.emit(m.CONTENT_MOUSELEAVE)};return(0,t.watch)((function(){return n.isShow}),(function(e){c.value=e})),(0,t.watch)(c,(function(t){var r,i;t?((i=x(null===(r=l.value)||void 0===r?void 0:r.$el)).style.setProperty("display","block"),i.style.setProperty("z-index","".concat(n.zIndex?n.zIndex:e.bkZIndexManager.getPopperIndex())),j(),o.emit("afterShow",{isShow:!0})):function(){var e;x(null===(e=l.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),o.emit("afterHidden",{isShow:!1})}()})),{showPopover:ie,hidePopover:le,resolveTriggerEvents:function(){var e;return null!==(e={hover:{content:[["mouseenter",ce],["mouseleave",se]],reference:[["mouseenter",ie],["mouseleave",le],["focus",ie],["blur",le]]},click:[["click",ue]],manual:{content:[["mouseenter",fe],["mouseleave",de]],reference:[[]]}}[n.trigger])&&void 0!==e?e:[]},updatePopover:j,triggerPopover:ae,resolvePopElements:g,isElementFullScreen:f,resolveTargetElement:x,createPopInstance:function(){var e=g(),t=e.elReference,o=e.elContent;O=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,c=be(e),s=r||i?[...c?he(c):[],...he(t)]:[];s.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const f=c&&a?function(e,t){let n,o=null;const r=oe(e);function i(){clearTimeout(n),o&&o.disconnect(),o=null}return function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();const{left:c,top:s,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const p={rootMargin:-N(s)+"px "+-N(r.clientWidth-(c+f))+"px "+-N(r.clientHeight-(s+d))+"px "+-N(c)+"px",threshold:A(0,S(1,u))||1};let v=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!v)return l();t?l(!1,t):n=setTimeout((()=>{l(!1,1e-7)}),100)}v=!1}try{o=new IntersectionObserver(m,{...p,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(m,p)}o.observe(e)}(!0),i}(c,n):null;let d,p=-1,v=null;l&&(v=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{v&&v.observe(t)}))),n()})),c&&!u&&v.observe(c),v.observe(t));let m=u?Pe(e):null;return u&&function t(){const o=Pe(e);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||n(),m=o,d=requestAnimationFrame(t)}(),n(),()=>{s.forEach((e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),f&&f(),v&&v.disconnect(),v=null,u&&cancelAnimationFrame(d)}}(t,o,(function(){c.value&&j(null,n)}))},updateFullscreenTarget:function(e){s.value=e},getFullscreenRoot:function(e){return f()?document.fullscreenElement.shadowRoot?document.fullscreenElement.shadowRoot.querySelector(e):document.fullscreenElement.querySelector(e):document.body},stopHide:function(){V&&(ne=!0,clearTimeout(V),V=void 0)},localIsShow:c,cleanup:O}};var ke=null,Fe=null;const Ve=(0,t.defineComponent)({name:"Popover",components:{Content:g,Arrow:f,Root:T},directives:{clickoutside:s},props:w,emits:h,setup:function(n,o){var r=n.content,i=n.theme,l=n.disableTeleport,a=(0,t.toRefs)(n).reference,u=(0,t.ref)(),c=(0,t.ref)(),s=(0,t.ref)(),f=(0,t.ref)(),d=(0,t.computed)((function(){return a.value||u.value})),p=function(e,n,o){var r=o.refReference,i=o.refContent,l=o.refArrow,a=o.refRoot,u=null,c=(0,t.ref)(!1),s=(He.fullscreenReferId||(He.fullscreenReferId="id_".concat((0,Ne.v4)())),He.fullscreenReferId),f=(0,t.ref)(),d=Me(e,n,{refReference:r,refContent:i,refArrow:l,refRoot:a}),p=d.localIsShow,v=d.showPopover,y=d.hidePopover,h=d.updatePopover,g=d.resolveTriggerEvents,b=d.resolvePopElements,w=d.isElementFullScreen,x=d.updateFullscreenTarget,T=d.createPopInstance,P=d.getFullscreenRoot,R=d.stopHide,O=function(){y()},C=function(){T(),e.always?v():S()},S=function(){var e=b(),t=e.elReference,n=e.elContent;if(u=g(),Array.isArray(u))A(t,u);else{var o=u,r=o.content,i=o.reference;A(t,i),A(n,r)}},A=function(e,t){t.forEach((function(t){var n=E(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.addEventListener(o,r)}))},L=function(){var e=b(),t=e.elReference,n=e.root;c.value?I.value=null==f?void 0:f.value:I.value=H(n||t)},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(n){var o=null,r=function(e){null===o&&e()};return r((function(){if(/^parent$/i.test(e.boundary)){o="".concat(t).concat(ke);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",Fe),o="[data-pnode-id=".concat(Fe,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)){if("string"==typeof e.boundary)return Ie(e.boundary)?void(o=e.boundary):(console.error("props.boundary is not available selector"),void(o="body"));if(je(e.boundary))return void(o=e.boundary)}})),r((function(){o="string"==typeof e.boundary?e.boundary:"".concat(t).concat(ke)})),o};if(null===ke||!Ie("#".concat(ke))){ke="id_".concat((0,Ne.v4)());var o=document.createElement("div");o.setAttribute("id",ke),o.setAttribute("data-popper-id",ke),document.body.append(o)}return null===Fe&&(Fe="id_".concat((0,Ne.v4)())),{popContainerId:ke,prefixId:n(),getPrefixId:n}}(e,"#"),H=N.getPrefixId,I=(0,t.ref)(),j=function(){!function(){if(null==u?void 0:u.length){var e=b().elReference;e&&u.forEach((function(t){var n=E(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.removeEventListener(o,r)})),u=null}}()},D=function(e){var t;f.value=e,x(e),c.value=w(),null===(t=null==f?void 0:f.value)||void 0===t||t.setAttribute("data-fllsrn-id",s)},M=function(t){var n,o,r;document.fullscreenElement||(r="[data-fllsrn-id=".concat(s,"]"),(null!==(o=null===(n=null==f?void 0:f.value)||void 0===n?void 0:n.querySelectorAll(r))&&void 0!==o?o:[]).forEach((function(e){null==e||e.removeAttribute("data-fllsrn-id")}))),D(t.target),L(),h(null,e)};return{onMountedFn:function(){if(!e.disabled){if(C(),w()){var t="[data-fllsrn-id=".concat(s,"]"),n=P(t);D(n)}L(),document.body.addEventListener("fullscreenchange",M)}},onUnmountedFn:function(){j(),document.body.removeEventListener("fullscreenchange",M)},handleClickOutside:function(t){n.emit(m.CLICK_OUTSIDE,{isShow:p.value,event:t}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||p.value&&O()},beforeInstanceUnmount:j,updateBoundary:L,initPopInstance:C,updatePopover:h,showPopover:v,hidePopover:y,showFn:function(){v()},hideFn:O,stopHide:R,isFullscreen:c,boundary:I,localIsShow:p}}(n,o,{refReference:d,refContent:c,refArrow:s,refRoot:f}),v=p.onMountedFn,y=p.onUnmountedFn,h=p.handleClickOutside,g=p.beforeInstanceUnmount,b=p.updateBoundary,w=p.initPopInstance,x=p.showFn,T=p.hideFn,P=p.showPopover,R=p.hidePopover,O=p.updatePopover,C=p.stopHide,S=p.localIsShow,A=p.boundary;n.always||n.disabled||(0,t.watch)((function(){return n.isShow}),(function(){n.isShow?P():R()}),{immediate:!0}),(0,t.watch)((function(){return[n.disabled]}),(function(e){e[0]?g():w()})),b(),(0,t.onMounted)(v),(0,t.onBeforeUnmount)(y);var L=(0,t.computed)((function(){return!l})),N=(0,t.computed)((function(){return n.renderType===e.RenderType.AUTO||S.value}));return{boundary:A,arrow:n.arrow,refDefaultReference:u,refContent:c,refArrow:s,content:r,theme:i,transBoundary:L,handleClickOutside:h,updatePopover:O,hide:function(){T()},show:function(){x()},stopHide:C,contentIsShow:N,renderContent:function(){return n.allowHtml?De(n.content).vNode:r}}},render:function(){var e,n,o,r,i,l,a=this;return(0,t.createVNode)(T,{ref:"refRoot"},{default:function(){return[(0,t.createVNode)(x,{ref:"refDefaultReference"},{default:function(){return[null!==(o=null===(n=(e=a.$slots).default)||void 0===n?void 0:n.call(e))&&void 0!==o?o:(0,t.createVNode)("span",null,null)]}}),(0,t.createVNode)(t.Teleport,{to:a.boundary,disabled:!a.transBoundary},{default:function(){return[(0,t.withDirectives)((0,t.createVNode)(g,{ref:"refContent","data-theme":a.theme,extCls:a.extCls,width:a.width,height:a.height,maxHeight:a.maxHeight},{default:function(){return[a.contentIsShow?null!==(l=null===(i=(r=a.$slots).content)||void 0===i?void 0:i.call(r))&&void 0!==l?l:a.renderContent():""]},arrow:function(){var e,n;return a.arrow?(0,t.createVNode)(f,{ref:"refArrow"},{default:function(){return[null===(n=(e=a.$slots).arrow)||void 0===n?void 0:n.call(e)]}}):""}}),[[(0,t.resolveDirective)("clickoutside"),a.handleClickOutside]])]}})]}})}});function $e(e){var n,o=null,r=null,i=null,l=Object.assign(Object.assign({boundary:"body",placement:"top",autoVisibility:!1},e),{trigger:"manual"}),a={name:"$popover",setup:function(e,n){var o=n.expose,r=(0,t.ref)(l),i=(0,t.ref)(),a=(0,t.ref)({position:"absolute",pointerEvents:"none",left:0,top:0,width:"auto",height:"auto",transform:""}),u=function(e){if(je(e)){var t=e.getBoundingClientRect(),n=t.x,o=t.y,r=t.width,i=t.height;Object.assign(a.value,{width:"".concat(r,"px"),height:"".concat(i,"px"),transform:"translate3d(".concat(n,"px,").concat(o,"px,0)")})}else{var l=e.clientX,u=e.clientY;Object.assign(a.value,{transform:"translate3d(".concat(l,"px,").concat(u,"px,0)"),width:"10px",height:"10px"})}};u(r.value.target);var c=(0,t.computed)((function(){var e=["target"];return Object.keys(r.value).filter((function(t){return!e.includes(t)})).reduce((function(e,t){return Object.assign(Object.assign({},e),p({},t,r.value[t]))}),{})})),s=function(){var e;null===(e=l.onContentMouseenter)||void 0===e||e.call(l)},f=function(){var e;null===(e=l.onContentMouseleave)||void 0===e||e.call(l)};return o({show:function(){var e,t;null===(t=null===(e=i.value)||void 0===e?void 0:e.show)||void 0===t||t.call(e)},hide:function(){var e,t;null===(t=null===(e=i.value)||void 0===e?void 0:e.hide)||void 0===t||t.call(e)},updateTarget:function(e){var n,o;r.value.target=e,u(e),null===(o=null===(n=i.value)||void 0===n?void 0:n.updatePopover)||void 0===o||o.call(n),(0,t.nextTick)((function(){var e,t;null===(t=null===(e=i.value)||void 0===e?void 0:e.updatePopover)||void 0===t||t.call(e)}))},stopHide:function(){var e,t;null===(t=null===(e=i.value)||void 0===e?void 0:e.stopHide)||void 0===t||t.call(e)}}),function(){return(0,t.createVNode)(Ve,(0,t.mergeProps)(c.value,{ref:i,onContentMouseenter:s,onContentMouseleave:f}),{default:function(){return[(0,t.createVNode)("span",{style:a.value},null)]}})}}};return null===o&&(i=document.createElement("div"),(n=l.boundary,/^body$/i.test(n)?document.body:/^parent$/i.test(n)?je(l.target)?l.target.parentNode:l.target.target.parentNode:"string"==typeof n&&Ie(n)?document.querySelector(n):document.body).append(i),o=(0,t.createApp)(a),r=o.mount(i)),{close:function(){o&&(o.unmount(),r=null,o=null,i.remove())},show:function(){null==r||r.show()},hide:function(){null==r||r.hide()},update:function(e){null==r||r.updateTarget(e)},get vm(){return r},get $el(){return r.$el}}}const Be=(0,e.withInstall)(Ve)})(),i})()));
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { PopoverPropTypes } from './props';
|
2
|
+
export type $Popover = PopoverPropTypes & {
|
3
|
+
target: HTMLElement | HTMLElement | MouseEvent;
|
4
|
+
};
|
5
|
+
export default function createPopoverComponent(options: $Popover): {
|
6
|
+
close: () => void;
|
7
|
+
show: () => void;
|
8
|
+
hide: () => void;
|
9
|
+
update: (e: MouseEvent) => void;
|
10
|
+
readonly vm: any;
|
11
|
+
readonly $el: HTMLElement;
|
12
|
+
};
|
package/lib/popover/popover.css
CHANGED
@@ -1,19 +1,5 @@
|
|
1
|
-
.bk-popover {
|
2
|
-
|
3
|
-
}
|
4
|
-
.bk-popover .bk-popover-reference {
|
5
|
-
display: inline-block;
|
6
|
-
}
|
7
|
-
.bk-popover .fade-in-enter-active,
|
8
|
-
.bk-popover .fade-in-linear-leave-active {
|
9
|
-
transition: opacity 200ms linear;
|
10
|
-
}
|
11
|
-
.bk-popover .fade-in-enter,
|
12
|
-
.bk-popover .fade-in-leave,
|
13
|
-
.bk-popover .fade-in-leave-active {
|
14
|
-
opacity: 0;
|
15
|
-
}
|
16
|
-
.bk-popover-content {
|
1
|
+
.bk-popover.bk-pop2-content {
|
2
|
+
position: absolute;
|
17
3
|
display: none;
|
18
4
|
padding: 7px 14px;
|
19
5
|
font-size: 12px;
|
@@ -22,47 +8,18 @@
|
|
22
8
|
border-radius: 4px;
|
23
9
|
box-sizing: border-box;
|
24
10
|
}
|
25
|
-
.bk-popover-content
|
26
|
-
color: #fff;
|
27
|
-
background: #26323d;
|
28
|
-
}
|
29
|
-
.bk-popover-content[data-theme^='light'] {
|
30
|
-
color: #26323d;
|
31
|
-
background-color: #fff;
|
32
|
-
box-shadow: 0 0 6px 0 #dcdee5;
|
33
|
-
}
|
34
|
-
.bk-popover-content[data-theme^='light'][data-show] {
|
35
|
-
box-shadow: 0 0 6px 0 #dcdee5;
|
36
|
-
}
|
37
|
-
.bk-popover-content[data-show] {
|
38
|
-
display: block;
|
39
|
-
}
|
40
|
-
.bk-popover-content .arrow {
|
41
|
-
position: absolute;
|
42
|
-
z-index: -1;
|
43
|
-
width: 8px;
|
44
|
-
height: 8px;
|
45
|
-
background: inherit;
|
46
|
-
visibility: hidden;
|
47
|
-
}
|
48
|
-
.bk-popover-content .arrow::before {
|
11
|
+
.bk-popover.bk-pop2-content .bk-pop2-arrow {
|
49
12
|
position: absolute;
|
50
13
|
width: 8px;
|
51
14
|
height: 8px;
|
52
|
-
background:
|
53
|
-
content: '';
|
54
|
-
visibility: visible;
|
15
|
+
background: #333;
|
55
16
|
transform: rotate(45deg);
|
56
17
|
}
|
57
|
-
.bk-popover-content[data-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
top: -4px;
|
62
|
-
}
|
63
|
-
.bk-popover-content[data-popper-placement^='left'] > .arrow {
|
64
|
-
right: -4px;
|
18
|
+
.bk-popover.bk-pop2-content[data-theme^='light'] {
|
19
|
+
color: #26323d;
|
20
|
+
background-color: #fff;
|
21
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
65
22
|
}
|
66
|
-
.bk-popover-content[data-
|
67
|
-
|
23
|
+
.bk-popover.bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
|
24
|
+
background-color: #fff;
|
68
25
|
}
|
package/lib/popover/popover.d.ts
CHANGED
@@ -22,56 +22,123 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
22
|
height: import("vue-types").VueTypeDef<string | number> & {
|
23
23
|
default: string | number;
|
24
24
|
};
|
25
|
+
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
26
|
+
default: string | number;
|
27
|
+
};
|
25
28
|
content: import("vue-types").VueTypeDef<string | number> & {
|
26
29
|
default: string | number;
|
27
30
|
};
|
28
|
-
|
29
|
-
default:
|
31
|
+
allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
|
32
|
+
default: boolean;
|
30
33
|
} & {
|
31
|
-
default:
|
34
|
+
default: boolean;
|
32
35
|
};
|
33
|
-
placement: import("vue-types").
|
34
|
-
default:
|
36
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
37
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
35
38
|
};
|
36
39
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
37
40
|
default: string;
|
38
41
|
} & {
|
39
42
|
default: string;
|
40
43
|
};
|
41
|
-
|
42
|
-
|
43
|
-
default: () => void;
|
44
|
+
trigger: import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
|
45
|
+
default: "click" | "hover" | "manual";
|
44
46
|
};
|
45
|
-
|
46
|
-
default:
|
47
|
-
} & {
|
48
|
-
default: string;
|
47
|
+
renderType: import("vue-types").VueTypeDef<"auto" | "shown"> & {
|
48
|
+
default: "auto" | "shown";
|
49
49
|
};
|
50
50
|
arrow: import("vue-types").VueTypeValidableDef<boolean> & {
|
51
51
|
default: boolean;
|
52
52
|
} & {
|
53
53
|
default: boolean;
|
54
54
|
};
|
55
|
-
|
56
|
-
default:
|
55
|
+
padding: import("vue-types").VueTypeValidableDef<number> & {
|
56
|
+
default: number;
|
57
57
|
} & {
|
58
|
-
default:
|
58
|
+
default: number;
|
59
|
+
};
|
60
|
+
offset: import("vue-types").VueTypeDef<number | {
|
61
|
+
mainAxis?: number;
|
62
|
+
crossAxis?: number;
|
63
|
+
alignmentAxis?: number;
|
64
|
+
}> & {
|
65
|
+
default: number | (() => {
|
66
|
+
mainAxis?: number;
|
67
|
+
crossAxis?: number;
|
68
|
+
alignmentAxis?: number;
|
69
|
+
});
|
59
70
|
};
|
60
71
|
boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
|
61
|
-
|
72
|
+
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
73
|
+
default: number;
|
74
|
+
} & {
|
75
|
+
default: number;
|
76
|
+
};
|
77
|
+
disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
|
62
78
|
default: boolean;
|
63
79
|
} & {
|
64
80
|
default: boolean;
|
65
81
|
};
|
66
|
-
|
67
|
-
default:
|
82
|
+
autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
|
83
|
+
default: boolean;
|
68
84
|
} & {
|
69
|
-
default:
|
85
|
+
default: boolean;
|
70
86
|
};
|
71
|
-
|
72
|
-
default:
|
87
|
+
autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
|
88
|
+
default: boolean;
|
89
|
+
} & {
|
90
|
+
default: boolean;
|
73
91
|
};
|
74
|
-
|
92
|
+
disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
|
93
|
+
default: boolean;
|
94
|
+
} & {
|
95
|
+
default: boolean;
|
96
|
+
};
|
97
|
+
disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
|
98
|
+
default: boolean;
|
99
|
+
} & {
|
100
|
+
default: boolean;
|
101
|
+
};
|
102
|
+
reference: import("vue-types").VueTypeValidableDef<any> & {
|
103
|
+
default: any;
|
104
|
+
};
|
105
|
+
modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
106
|
+
default: () => unknown[];
|
107
|
+
} & {
|
108
|
+
default: () => unknown[];
|
109
|
+
};
|
110
|
+
popoverDelay: import("vue-types").VueTypeDef<number | number[]> & {
|
111
|
+
default: number | (() => number[]);
|
112
|
+
};
|
113
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
114
|
+
default: string;
|
115
|
+
} & {
|
116
|
+
default: string;
|
117
|
+
};
|
118
|
+
}, {
|
119
|
+
boundary: import("vue").Ref<any>;
|
120
|
+
arrow: boolean;
|
121
|
+
refDefaultReference: import("vue").Ref<any>;
|
122
|
+
refContent: import("vue").Ref<any>;
|
123
|
+
refArrow: import("vue").Ref<any>;
|
124
|
+
content: string | number;
|
125
|
+
theme: string;
|
126
|
+
transBoundary: import("vue").ComputedRef<boolean>;
|
127
|
+
handleClickOutside: (_e: MouseEvent) => void;
|
128
|
+
updatePopover: (virtualEl?: any, props?: {}) => void;
|
129
|
+
hide: () => void;
|
130
|
+
show: () => void;
|
131
|
+
stopHide: () => void;
|
132
|
+
contentIsShow: import("vue").ComputedRef<boolean>;
|
133
|
+
renderContent: () => any;
|
134
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
135
|
+
show: (..._args: any[]) => boolean;
|
136
|
+
hide: (..._args: any[]) => boolean;
|
137
|
+
clickoutside: (..._args: any[]) => boolean;
|
138
|
+
contentMouseenter: (..._args: any[]) => boolean;
|
139
|
+
contentMouseleave: (..._args: any[]) => boolean;
|
140
|
+
stopHide: (..._args: any[]) => boolean;
|
141
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
75
142
|
onAfterHidden: FunctionConstructor;
|
76
143
|
onAfterShow: FunctionConstructor;
|
77
144
|
isShow: import("vue-types").VueTypeValidableDef<boolean> & {
|
@@ -95,71 +162,135 @@ declare const _default: import("vue").DefineComponent<{
|
|
95
162
|
height: import("vue-types").VueTypeDef<string | number> & {
|
96
163
|
default: string | number;
|
97
164
|
};
|
165
|
+
maxHeight: import("vue-types").VueTypeDef<string | number> & {
|
166
|
+
default: string | number;
|
167
|
+
};
|
98
168
|
content: import("vue-types").VueTypeDef<string | number> & {
|
99
169
|
default: string | number;
|
100
170
|
};
|
101
|
-
|
102
|
-
default:
|
171
|
+
allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
|
172
|
+
default: boolean;
|
103
173
|
} & {
|
104
|
-
default:
|
174
|
+
default: boolean;
|
105
175
|
};
|
106
|
-
placement: import("vue-types").
|
107
|
-
default:
|
176
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
|
177
|
+
default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
108
178
|
};
|
109
179
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
110
180
|
default: string;
|
111
181
|
} & {
|
112
182
|
default: string;
|
113
183
|
};
|
114
|
-
|
115
|
-
|
116
|
-
default: () => void;
|
184
|
+
trigger: import("vue-types").VueTypeValidableDef<"click" | "hover" | "manual"> & {
|
185
|
+
default: "click" | "hover" | "manual";
|
117
186
|
};
|
118
|
-
|
119
|
-
default:
|
120
|
-
} & {
|
121
|
-
default: string;
|
187
|
+
renderType: import("vue-types").VueTypeDef<"auto" | "shown"> & {
|
188
|
+
default: "auto" | "shown";
|
122
189
|
};
|
123
190
|
arrow: import("vue-types").VueTypeValidableDef<boolean> & {
|
124
191
|
default: boolean;
|
125
192
|
} & {
|
126
193
|
default: boolean;
|
127
194
|
};
|
128
|
-
|
129
|
-
default:
|
195
|
+
padding: import("vue-types").VueTypeValidableDef<number> & {
|
196
|
+
default: number;
|
130
197
|
} & {
|
131
|
-
default:
|
198
|
+
default: number;
|
199
|
+
};
|
200
|
+
offset: import("vue-types").VueTypeDef<number | {
|
201
|
+
mainAxis?: number;
|
202
|
+
crossAxis?: number;
|
203
|
+
alignmentAxis?: number;
|
204
|
+
}> & {
|
205
|
+
default: number | (() => {
|
206
|
+
mainAxis?: number;
|
207
|
+
crossAxis?: number;
|
208
|
+
alignmentAxis?: number;
|
209
|
+
});
|
132
210
|
};
|
133
211
|
boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
|
134
|
-
|
212
|
+
zIndex: import("vue-types").VueTypeValidableDef<number> & {
|
213
|
+
default: number;
|
214
|
+
} & {
|
215
|
+
default: number;
|
216
|
+
};
|
217
|
+
disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
|
135
218
|
default: boolean;
|
136
219
|
} & {
|
137
220
|
default: boolean;
|
138
221
|
};
|
139
|
-
|
140
|
-
default:
|
222
|
+
autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
|
223
|
+
default: boolean;
|
141
224
|
} & {
|
142
|
-
default:
|
225
|
+
default: boolean;
|
143
226
|
};
|
144
|
-
|
145
|
-
default:
|
227
|
+
autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
|
228
|
+
default: boolean;
|
229
|
+
} & {
|
230
|
+
default: boolean;
|
146
231
|
};
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
232
|
+
disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
|
233
|
+
default: boolean;
|
234
|
+
} & {
|
235
|
+
default: boolean;
|
236
|
+
};
|
237
|
+
disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
|
238
|
+
default: boolean;
|
239
|
+
} & {
|
240
|
+
default: boolean;
|
241
|
+
};
|
242
|
+
reference: import("vue-types").VueTypeValidableDef<any> & {
|
243
|
+
default: any;
|
244
|
+
};
|
245
|
+
modifiers: import("vue-types").VueTypeValidableDef<unknown[]> & {
|
246
|
+
default: () => unknown[];
|
247
|
+
} & {
|
248
|
+
default: () => unknown[];
|
249
|
+
};
|
250
|
+
popoverDelay: import("vue-types").VueTypeDef<number | number[]> & {
|
251
|
+
default: number | (() => number[]);
|
252
|
+
};
|
253
|
+
extCls: import("vue-types").VueTypeValidableDef<string> & {
|
254
|
+
default: string;
|
255
|
+
} & {
|
256
|
+
default: string;
|
257
|
+
};
|
258
|
+
}>> & {
|
259
|
+
onShow?: (...args: any[]) => any;
|
260
|
+
onHide?: (...args: any[]) => any;
|
261
|
+
onClickoutside?: (...args: any[]) => any;
|
262
|
+
onContentMouseenter?: (...args: any[]) => any;
|
263
|
+
onContentMouseleave?: (...args: any[]) => any;
|
264
|
+
onStopHide?: (...args: any[]) => any;
|
265
|
+
}, {
|
156
266
|
width: string | number;
|
157
267
|
height: string | number;
|
158
|
-
|
159
|
-
|
160
|
-
|
268
|
+
maxHeight: string | number;
|
269
|
+
extCls: string;
|
270
|
+
arrow: boolean;
|
161
271
|
isShow: boolean;
|
162
|
-
|
163
|
-
|
164
|
-
|
272
|
+
always: boolean;
|
273
|
+
disabled: boolean;
|
274
|
+
content: string | number;
|
275
|
+
allowHtml: boolean;
|
276
|
+
placement: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
|
277
|
+
theme: string;
|
278
|
+
trigger: "click" | "hover" | "manual";
|
279
|
+
renderType: "auto" | "shown";
|
280
|
+
padding: number;
|
281
|
+
offset: number | {
|
282
|
+
mainAxis?: number;
|
283
|
+
crossAxis?: number;
|
284
|
+
alignmentAxis?: number;
|
285
|
+
};
|
286
|
+
zIndex: number;
|
287
|
+
disableTeleport: boolean;
|
288
|
+
autoPlacement: boolean;
|
289
|
+
autoVisibility: boolean;
|
290
|
+
disableOutsideClick: boolean;
|
291
|
+
disableTransform: boolean;
|
292
|
+
reference: any;
|
293
|
+
modifiers: unknown[];
|
294
|
+
popoverDelay: number | number[];
|
295
|
+
}, {}>;
|
165
296
|
export default _default;
|
package/lib/popover/popover.less
CHANGED
@@ -1,84 +1,35 @@
|
|
1
1
|
@import '../styles/themes/themes.less';
|
2
2
|
|
3
|
-
.@{bk-prefix}-popover {
|
4
|
-
display: inline-block;
|
5
|
-
|
6
|
-
.bk-popover-reference {
|
7
|
-
display: inline-block;
|
8
|
-
}
|
9
|
-
|
10
|
-
.fade-in-enter-active,
|
11
|
-
.fade-in-linear-leave-active {
|
12
|
-
transition: opacity 200ms linear;
|
13
|
-
}
|
14
|
-
|
15
|
-
.fade-in-enter,
|
16
|
-
.fade-in-leave,
|
17
|
-
.fade-in-leave-active {
|
18
|
-
opacity: 0;
|
19
|
-
}
|
20
|
-
}
|
21
3
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
border-radius: 4px;
|
29
|
-
box-sizing: border-box;
|
4
|
+
.@{bk-prefix}-popover {
|
5
|
+
&.@{bk-prefix}-pop2-content {
|
6
|
+
position: absolute;
|
7
|
+
display: none;
|
8
|
+
|
9
|
+
padding: 7px 14px;
|
30
10
|
|
31
|
-
|
11
|
+
font-size: 12px;
|
32
12
|
color: #fff;
|
33
13
|
background: #26323d;
|
34
|
-
|
35
|
-
|
36
|
-
&[data-theme^='light'] {
|
37
|
-
color: #26323d;
|
38
|
-
background-color: #fff;
|
39
|
-
box-shadow: 0 0 6px 0 #dcdee5;
|
14
|
+
border-radius: 4px;
|
15
|
+
box-sizing: border-box;
|
40
16
|
|
41
|
-
|
42
|
-
box-shadow: 0 0 6px 0 #dcdee5;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
|
46
|
-
&[data-show] {
|
47
|
-
display: block;
|
48
|
-
}
|
49
|
-
|
50
|
-
.arrow {
|
51
|
-
position: absolute;
|
52
|
-
z-index: -1;
|
53
|
-
width: 8px;
|
54
|
-
height: 8px;
|
55
|
-
background: inherit;
|
56
|
-
visibility: hidden;
|
57
|
-
|
58
|
-
&::before {
|
17
|
+
.@{bk-prefix}-pop2-arrow {
|
59
18
|
position: absolute;
|
60
19
|
width: 8px;
|
61
20
|
height: 8px;
|
62
|
-
background:
|
63
|
-
content: '';
|
64
|
-
visibility: visible;
|
21
|
+
background: #333;
|
65
22
|
transform: rotate(45deg);
|
66
23
|
}
|
67
|
-
}
|
68
24
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
&[data-popper-placement^='bottom'] > .arrow {
|
74
|
-
top: -4px;
|
75
|
-
}
|
76
|
-
|
77
|
-
&[data-popper-placement^='left'] > .arrow {
|
78
|
-
right: -4px;
|
79
|
-
}
|
25
|
+
&[data-theme^='light'] {
|
26
|
+
color: #26323d;
|
27
|
+
background-color: #fff;
|
28
|
+
box-shadow: 0 0 6px 0 #dcdee5;
|
80
29
|
|
81
|
-
|
82
|
-
|
30
|
+
.@{bk-prefix}-pop2-arrow {
|
31
|
+
background-color: #fff;
|
32
|
+
}
|
33
|
+
}
|
83
34
|
}
|
84
35
|
}
|