bkui-vue 1.0.3-beta.9 → 2.0.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +162 -164
- package/dist/index.esm.js +31999 -29678
- package/dist/index.umd.js +162 -164
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/affix.variable.css +3 -0
- package/lib/affix/index.js +7 -7
- package/lib/alert/alert.d.ts +5 -5
- package/lib/alert/alert.variable.css +3 -0
- package/lib/alert/index.d.ts +11 -11
- package/lib/backtop/backtop.d.ts +1 -1
- package/lib/backtop/backtop.variable.css +3 -0
- package/lib/backtop/index.d.ts +3 -3
- package/lib/backtop/index.js +6 -6
- package/lib/badge/badge.variable.css +3 -0
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/breadcrumb.variable.css +3 -0
- package/lib/button/button.d.ts +7 -7
- package/lib/button/button.variable.css +3 -0
- package/lib/button/index.d.ts +8 -8
- package/lib/button/index.js +6 -6
- package/lib/card/card.variable.css +3 -0
- package/lib/cascader/cascader-panel.d.ts +1 -1
- package/lib/cascader/cascader.css +3 -3
- package/lib/cascader/cascader.d.ts +1 -1
- package/lib/cascader/cascader.less +4 -4
- package/lib/cascader/cascader.variable.css +6 -3
- package/lib/cascader/index.js +35 -36
- package/lib/cascader/interface.d.ts +1 -1
- package/lib/checkbox/checkbox.variable.css +3 -0
- package/lib/checkbox/index.js +7 -7
- package/lib/checkbox/type.d.ts +1 -1
- package/lib/code-diff/code-diff.variable.css +3 -0
- package/lib/code-diff/index.js +8 -8
- package/lib/collapse/collapse.css +11 -0
- package/lib/collapse/collapse.d.ts +11 -0
- package/lib/collapse/collapse.less +15 -1
- package/lib/collapse/collapse.variable.css +14 -0
- package/lib/collapse/index.d.ts +23 -0
- package/lib/collapse/index.js +11 -3
- package/lib/collapse/props.d.ts +8 -0
- package/lib/collapse/utils.d.ts +2 -2
- package/lib/collapse-transition/collapse-transition.variable.css +3 -0
- package/lib/color-picker/color-picker.css +3 -3
- package/lib/color-picker/color-picker.less +3 -3
- package/lib/color-picker/color-picker.variable.css +6 -3
- package/lib/color-picker/index.js +45 -45
- package/lib/components.d.ts +32 -30
- package/lib/components.js +31 -29
- package/lib/config-provider/config-provider.d.ts +3 -0
- package/lib/config-provider/config-provider.variable.css +3 -0
- package/lib/config-provider/index.d.ts +5 -1
- package/lib/config-provider/token.d.ts +1 -0
- package/lib/container/container.variable.css +3 -0
- package/lib/container/index.js +6 -6
- package/lib/date-picker/base/date-table.d.ts +1 -1
- package/lib/date-picker/base/month-table.d.ts +3 -3
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/year-table.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +1 -0
- package/lib/date-picker/date-picker.variable.css +3 -0
- package/lib/date-picker/index.d.ts +3 -0
- package/lib/date-picker/index.js +340 -224
- package/lib/date-picker/interface.d.ts +9 -9
- package/lib/date-picker/panel/date-range.d.ts +2 -64
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +1 -1
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/props.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +1 -0
- package/lib/date-picker/utils.d.ts +9 -1
- package/lib/dialog/dialog.css +172 -150
- package/lib/dialog/dialog.d.ts +55 -124
- package/lib/dialog/dialog.less +51 -124
- package/lib/dialog/dialog.variable.css +175 -150
- package/lib/dialog/index.d.ts +132 -296
- package/lib/dialog/index.js +244 -246
- package/lib/dialog/props.d.ts +16 -41
- package/lib/directives/index.d.ts +3 -3
- package/lib/directives/index.js +166 -167
- package/lib/directives/tooltips.d.ts +1 -1
- package/lib/dist.index.js +2 -2
- package/lib/divider/divider.d.ts +5 -5
- package/lib/divider/divider.variable.css +3 -0
- package/lib/divider/index.d.ts +11 -11
- package/lib/divider/index.js +2 -2
- package/lib/divider/props.d.ts +2 -2
- package/lib/dropdown/dropdown.css +3 -1
- package/lib/dropdown/dropdown.d.ts +5 -5
- package/lib/dropdown/dropdown.variable.css +6 -1
- package/lib/dropdown/index.d.ts +11 -11
- package/lib/dropdown/index.js +7 -7
- package/lib/exception/exception.d.ts +9 -9
- package/lib/exception/exception.variable.css +3 -0
- package/lib/exception/index.d.ts +11 -11
- package/lib/exception/index.js +10 -10
- package/lib/exception/typings/index.d.ts +1 -1
- package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
- package/lib/fixed-navbar/index.js +2 -2
- package/lib/form/form.d.ts +2 -2
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.js +17 -15
- package/lib/form/type.d.ts +2 -2
- package/lib/icon/image-fill.js +82 -167
- package/lib/icon/img-error.js +82 -167
- package/lib/icon/img-placehoulder.js +82 -167
- package/lib/icon/index.d.ts +12 -11
- package/lib/icon/index.js +87 -2427
- package/lib/icon/info-line.js +82 -167
- package/lib/icon/info.js +82 -167
- package/lib/icon/left-shape.js +82 -167
- package/lib/icon/left-turn-line.js +82 -167
- package/lib/icon/loading.js +82 -167
- package/lib/icon/narrow-line.js +82 -167
- package/lib/icon/original.js +82 -167
- package/lib/icon/pdf-fill.js +82 -167
- package/lib/icon/play-shape.js +82 -167
- package/lib/icon/plus.js +82 -167
- package/lib/icon/ppt-fill.js +82 -167
- package/lib/icon/qq.js +82 -167
- package/lib/icon/right-shape.js +82 -167
- package/lib/icon/right-turn-line.js +82 -167
- package/lib/icon/search.js +82 -167
- package/lib/icon/share.js +82 -167
- package/lib/icon/spinner.js +82 -167
- package/lib/icon/success.js +82 -167
- package/lib/icon/switcher-loading.js +82 -167
- package/lib/icon/text-all.d.ts +4 -0
- package/lib/icon/text-all.js +191 -0
- package/lib/icon/text-file.js +82 -167
- package/lib/icon/text-fill.js +82 -167
- package/lib/icon/transfer.js +82 -167
- package/lib/icon/tree-application-shape.js +82 -167
- package/lib/icon/unfull-screen.js +82 -167
- package/lib/icon/unvisible.js +82 -167
- package/lib/icon/up-shape.js +82 -167
- package/lib/icon/upload.js +82 -167
- package/lib/icon/video-fill.js +82 -167
- package/lib/icon/warn.js +82 -167
- package/lib/icon/weixin-pro.js +82 -167
- package/lib/icon/weixin.js +82 -167
- package/lib/image/image-viewer.d.ts +1 -1
- package/lib/image/image-viewer.variable.css +3 -0
- package/lib/image/image.variable.css +3 -0
- package/lib/image/index.js +25 -22
- package/lib/index.d.ts +3 -3
- package/lib/index.js +3 -3
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +257 -516
- package/lib/info-box/info-box.css +58 -28
- package/lib/info-box/info-box.d.ts +25 -23
- package/lib/info-box/info-box.less +82 -51
- package/lib/info-box/info-box.variable.css +61 -28
- package/lib/info-box/render-component.d.ts +4 -0
- package/lib/input/index.d.ts +15 -15
- package/lib/input/index.js +23 -17
- package/lib/input/input.d.ts +15 -15
- package/lib/input/input.variable.css +3 -0
- package/lib/link/index.d.ts +11 -11
- package/lib/link/index.js +3 -3
- package/lib/link/link.d.ts +5 -5
- package/lib/link/link.variable.css +3 -0
- package/lib/loading/index.d.ts +4 -4
- package/lib/loading/index.js +6 -6
- package/lib/loading/loading.d.ts +6 -6
- package/lib/loading/loading.variable.css +3 -0
- package/lib/locale/index.d.ts +1 -1
- package/lib/locale/index.js +4 -2
- package/lib/locale/lang/en.d.ts +1 -0
- package/lib/menu/index.js +0 -1
- package/lib/menu/menu.variable.css +3 -0
- package/lib/menu/submenu.variable.css +3 -0
- package/lib/menu/utils.d.ts +3 -3
- package/lib/message/index.js +18 -18
- package/lib/message/message.variable.css +3 -0
- package/lib/message/messageConstructor.d.ts +11 -11
- package/lib/modal/hooks.d.ts +6 -0
- package/lib/modal/index.d.ts +44 -312
- package/lib/modal/index.js +286 -672
- package/lib/modal/mask.d.ts +6 -0
- package/lib/modal/modal.css +151 -76
- package/lib/modal/modal.d.ts +19 -117
- package/lib/modal/modal.less +103 -56
- package/lib/modal/modal.variable.css +154 -76
- package/lib/modal/props.mixin.d.ts +5 -41
- package/lib/navigation/index.js +20 -20
- package/lib/navigation/navigation.d.ts +1 -1
- package/lib/navigation/navigation.variable.css +3 -0
- package/lib/notify/index.js +4 -4
- package/lib/notify/notify.variable.css +3 -0
- package/lib/overflow-title/components/overflow-title.d.ts +9 -9
- package/lib/overflow-title/index.d.ts +19 -19
- package/lib/overflow-title/index.js +107 -63
- package/lib/overflow-title/props.d.ts +18 -18
- package/lib/pagination/index.js +16 -15
- package/lib/pagination/pagination.variable.css +3 -0
- package/lib/pagination/type.d.ts +1 -1
- package/lib/pagination/use-limit.d.ts +1 -1
- package/lib/pagination/use-total.d.ts +1 -1
- package/lib/plugin-popover/index.d.ts +1 -1
- package/lib/plugin-popover/index.js +62 -44
- package/lib/pop-confirm/index.js +17 -14
- package/lib/pop-confirm/pop-confirm.variable.css +3 -0
- package/lib/pop-confirm/props.d.ts +2 -2
- package/lib/popover/const.d.ts +3 -3
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +62 -44
- package/lib/popover/plugin-popover.d.ts +4 -1
- package/lib/popover/popover.css +3 -1
- package/lib/popover/popover.d.ts +7 -7
- package/lib/popover/popover.less +4 -1
- package/lib/popover/popover.variable.css +6 -1
- package/lib/popover/props.d.ts +4 -4
- package/lib/preset.d.ts +2 -0
- package/lib/process/index.js +3 -3
- package/lib/process/process.variable.css +3 -0
- package/lib/progress/index.d.ts +11 -11
- package/lib/progress/index.js +10 -10
- package/lib/progress/progress.d.ts +7 -7
- package/lib/progress/progress.variable.css +3 -0
- package/lib/radio/index.d.ts +29 -0
- package/lib/radio/index.js +49 -31
- package/lib/radio/radio-button.d.ts +10 -0
- package/lib/radio/radio-group.d.ts +10 -0
- package/lib/radio/radio.d.ts +10 -0
- package/lib/radio/radio.variable.css +3 -0
- package/lib/radio/type.d.ts +1 -1
- package/lib/rate/index.js +8 -8
- package/lib/rate/rate.css +27 -0
- package/lib/rate/rate.less +33 -0
- package/lib/rate/rate.variable.css +30 -0
- package/lib/resize-layout/index.d.ts +11 -11
- package/lib/resize-layout/index.js +8 -9
- package/lib/resize-layout/resize-layout.d.ts +5 -5
- package/lib/resize-layout/resize-layout.variable.css +3 -0
- package/lib/scrollbar/index.d.ts +15 -0
- package/lib/scrollbar/index.js +18762 -0
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
- package/lib/scrollbar/scrollbar.css +75 -0
- package/lib/scrollbar/scrollbar.less +94 -0
- package/lib/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
- package/lib/search-select/index.d.ts +375 -16
- package/lib/search-select/index.js +754 -419
- package/lib/search-select/input.d.ts +14 -5
- package/lib/search-select/menu.d.ts +1 -1
- package/lib/search-select/search-select.css +20 -6
- package/lib/search-select/search-select.d.ts +129 -7
- package/lib/search-select/search-select.less +16 -12
- package/lib/search-select/search-select.variable.css +23 -6
- package/lib/search-select/selected.d.ts +117 -7
- package/lib/search-select/utils.d.ts +22 -9
- package/lib/select/index.d.ts +185 -67
- package/lib/select/index.js +1396 -136
- package/lib/select/option.d.ts +3 -1
- package/lib/select/pinyin/core.d.ts +14 -0
- package/lib/select/pinyin/dict.d.ts +34 -0
- package/lib/select/pinyin/index.d.ts +2 -0
- package/lib/select/select.css +56 -14
- package/lib/select/select.d.ts +74 -26
- package/lib/select/select.less +70 -21
- package/lib/select/select.variable.css +59 -14
- package/lib/select/selectTagInput.d.ts +13 -6
- package/lib/select/type.d.ts +4 -5
- package/lib/shared/index.d.ts +1 -2
- package/lib/shared/index.js +108 -96
- package/lib/shared/popover.d.ts +3 -3
- package/lib/shared/token.d.ts +1 -1
- package/lib/shared/utils.d.ts +12 -0
- package/lib/shared/vue-types.d.ts +51 -46
- package/lib/shared/z-index-manager.d.ts +6 -6
- package/lib/sideslider/index.d.ts +58 -188
- package/lib/sideslider/index.js +83 -57
- package/lib/sideslider/sideslider.css +26 -90
- package/lib/sideslider/sideslider.d.ts +26 -88
- package/lib/sideslider/sideslider.less +56 -132
- package/lib/sideslider/sideslider.variable.css +29 -90
- package/lib/slider/index.d.ts +19 -0
- package/lib/slider/index.js +64 -26
- package/lib/slider/slider.css +14 -0
- package/lib/slider/slider.d.ts +9 -0
- package/lib/slider/slider.less +15 -0
- package/lib/slider/slider.variable.css +17 -0
- package/lib/steps/index.d.ts +11 -11
- package/lib/steps/index.js +3 -3
- package/lib/steps/steps.d.ts +7 -7
- package/lib/steps/steps.variable.css +3 -0
- package/lib/styles/index.d.ts +0 -1
- package/lib/styles/mixins/animate.variable.css +3 -0
- package/lib/styles/mixins/popper.variable.css +3 -0
- package/lib/styles/mixins/scroll.variable.css +3 -0
- package/lib/styles/reset.css +1 -3
- package/lib/styles/reset.less +3 -6
- package/lib/styles/reset.variable.css +4 -3
- package/lib/styles/themes/themes.less +5 -0
- package/lib/swiper/index.js +5 -5
- package/lib/swiper/swiper.variable.css +3 -0
- package/lib/switcher/index.js +2 -2
- package/lib/switcher/switcher.d.ts +2 -2
- package/lib/switcher/switcher.variable.css +3 -0
- package/lib/tab/index.d.ts +22 -22
- package/lib/tab/index.js +15 -15
- package/lib/tab/props.d.ts +15 -15
- package/lib/tab/tab-nav.d.ts +10 -10
- package/lib/tab/tab.d.ts +10 -10
- package/lib/tab/tab.variable.css +3 -0
- package/lib/table/cache.d.ts +11 -3
- package/lib/table/components/table-cell.d.ts +3 -2
- package/lib/table/components/table-column.d.ts +30 -100
- package/lib/table/const.d.ts +12 -12
- package/lib/table/events.d.ts +21 -21
- package/lib/table/index.d.ts +220 -305
- package/lib/table/index.js +18165 -688
- package/lib/table/plugins/head-filter.css +8 -4
- package/lib/table/plugins/head-filter.less +6 -3
- package/lib/table/plugins/head-filter.variable.css +11 -4
- package/lib/table/plugins/head-sort.variable.css +3 -0
- package/lib/table/plugins/settings.variable.css +3 -0
- package/lib/table/plugins/use-active-columns.d.ts +2 -2
- package/lib/table/plugins/use-column-template.d.ts +7 -0
- package/lib/table/plugins/use-draggable.d.ts +2 -2
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-observer-resize.d.ts +5 -0
- package/lib/table/plugins/use-pagination.d.ts +3 -1
- package/lib/table/plugins/use-shift-key.d.ts +13 -0
- package/lib/table/props.d.ts +49 -39
- package/lib/table/table.css +112 -58
- package/lib/table/table.d.ts +58 -47
- package/lib/table/table.less +46 -58
- package/lib/table/table.variable.css +115 -58
- package/lib/table/use-attributes.d.ts +9 -46
- package/lib/table/use-column.d.ts +18 -139
- package/lib/table/use-common.d.ts +5 -5
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table/utils.d.ts +6 -6
- package/lib/table-column/index.d.ts +127 -431
- package/lib/table-column/index.js +43 -117
- package/lib/tag/index.d.ts +11 -11
- package/lib/tag/index.js +2 -2
- package/lib/tag/tag.d.ts +5 -5
- package/lib/tag/tag.variable.css +3 -0
- package/lib/tag-input/common.d.ts +1 -1
- package/lib/tag-input/index.d.ts +12 -12
- package/lib/tag-input/index.js +30 -30
- package/lib/tag-input/tag-input.d.ts +6 -6
- package/lib/tag-input/tag-input.variable.css +3 -0
- package/lib/tag-input/tag-props.d.ts +3 -3
- package/lib/tag-input/tag-render.d.ts +1 -1
- package/lib/time-picker/index.d.ts +38 -35
- package/lib/time-picker/time-picker.variable.css +3 -0
- package/lib/timeline/index.d.ts +80 -44
- package/lib/timeline/index.js +56 -67
- package/lib/timeline/timeline.d.ts +46 -29
- package/lib/timeline/timeline.variable.css +3 -0
- package/lib/transfer/const.d.ts +2 -2
- package/lib/transfer/index.js +19 -19
- package/lib/transfer/transfer.css +9 -9
- package/lib/transfer/transfer.less +3 -3
- package/lib/transfer/transfer.variable.css +12 -9
- package/lib/tree/constant.d.ts +22 -20
- package/lib/tree/index.d.ts +64 -20
- package/lib/tree/index.js +17595 -72
- package/lib/tree/props.d.ts +24 -6
- package/lib/tree/tree.css +76 -2
- package/lib/tree/tree.d.ts +34 -8
- package/lib/tree/tree.less +1 -1
- package/lib/tree/tree.variable.css +79 -2
- package/lib/tree/use-empty.d.ts +1 -1
- package/lib/tree/use-intersection-observer.d.ts +27 -0
- package/lib/tree/use-node-action.d.ts +2 -2
- package/lib/tree/use-node-attribute.d.ts +9 -0
- package/lib/tree/use-search.d.ts +1 -1
- package/lib/tree/util.d.ts +1 -1
- package/lib/upload/index.d.ts +12 -0
- package/lib/upload/index.js +62 -65
- package/lib/upload/props.d.ts +4 -1
- package/lib/upload/upload-trigger.d.ts +6 -0
- package/lib/upload/upload.d.ts +6 -0
- package/lib/upload/upload.type.d.ts +7 -7
- package/lib/upload/upload.variable.css +3 -0
- package/lib/upload/use-file-handler.d.ts +1 -1
- package/lib/virtual-render/index.d.ts +36 -9
- package/lib/virtual-render/index.js +295 -80
- package/lib/virtual-render/props.d.ts +16 -0
- package/lib/virtual-render/use-fix-top.d.ts +2 -7
- package/lib/virtual-render/use-scrollbar.d.ts +24 -0
- package/lib/virtual-render/v-virtual-render.d.ts +2 -1
- package/lib/virtual-render/virtual-render.css +76 -2
- package/lib/virtual-render/virtual-render.d.ts +16 -3
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +79 -2
- package/package.json +13 -49
- package/lib/rate/star.css +0 -27
- package/lib/rate/star.less +0 -34
- package/lib/shared/mask.d.ts +0 -11
@@ -284,14 +284,13 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
284
284
|
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
285
285
|
* IN THE SOFTWARE.
|
286
286
|
*/
|
287
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
288
287
|
var EMIT_EVENTS;
|
289
288
|
(function (EMIT_EVENTS) {
|
290
289
|
EMIT_EVENTS["CLICK_OUTSIDE"] = "clickoutside";
|
291
|
-
EMIT_EVENTS["CONTENT_MOUSEENTER"] = "contentMouseenter";
|
292
|
-
EMIT_EVENTS["CONTENT_MOUSELEAVE"] = "contentMouseleave";
|
293
290
|
EMIT_EVENTS["CONTENT_AfterHidden"] = "afterHidden";
|
294
291
|
EMIT_EVENTS["CONTENT_AfterShow"] = "afterShow";
|
292
|
+
EMIT_EVENTS["CONTENT_MOUSEENTER"] = "contentMouseenter";
|
293
|
+
EMIT_EVENTS["CONTENT_MOUSELEAVE"] = "contentMouseleave";
|
295
294
|
})(EMIT_EVENTS || (EMIT_EVENTS = {}));
|
296
295
|
var EVENT_SHOW_HIDE_FN = function EVENT_SHOW_HIDE_FN(_args) {
|
297
296
|
return true;
|
@@ -380,10 +379,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
380
379
|
};
|
381
380
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
382
381
|
resolveClassName = _usePrefix.resolveClassName;
|
382
|
+
var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
|
383
|
+
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
384
|
+
});
|
383
385
|
return {
|
384
386
|
style: style,
|
385
387
|
refContent: refContent,
|
386
|
-
|
388
|
+
contentClassName: contentClassName,
|
387
389
|
resetPointerEvent: resetPointerEvent,
|
388
390
|
setContentPointerEvent: setContentPointerEvent
|
389
391
|
};
|
@@ -398,7 +400,6 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
398
400
|
_this$$slots$default2,
|
399
401
|
_this$$slots$default3,
|
400
402
|
_this$$slots3;
|
401
|
-
var className = [this.resolveClassName('popover'), this.resolveClassName('pop2-content'), this.extCls];
|
402
403
|
var resolveContentStyle = function resolveContentStyle(slot) {
|
403
404
|
var _slot$;
|
404
405
|
if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
|
@@ -411,9 +412,9 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
411
412
|
};
|
412
413
|
var style = resolveContentStyle((_this$$slots$default = (_this$$slots = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots));
|
413
414
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
414
|
-
"
|
415
|
+
"ref": "refContent",
|
415
416
|
"style": style,
|
416
|
-
"
|
417
|
+
"class": this.contentClassName
|
417
418
|
}, [(_this$$slots$arrow = (_this$$slots$arrow2 = (_this$$slots2 = this.$slots).arrow) === null || _this$$slots$arrow2 === void 0 ? void 0 : _this$$slots$arrow2.call(_this$$slots2)) !== null && _this$$slots$arrow !== void 0 ? _this$$slots$arrow : '', (_this$$slots$default2 = (_this$$slots$default3 = (_this$$slots3 = this.$slots)["default"]) === null || _this$$slots$default3 === void 0 ? void 0 : _this$$slots$default3.call(_this$$slots3)) !== null && _this$$slots$default2 !== void 0 ? _this$$slots$default2 : '']);
|
418
419
|
}
|
419
420
|
}));
|
@@ -648,10 +649,6 @@ function _nonIterableRest() {
|
|
648
649
|
function _slicedToArray(arr, i) {
|
649
650
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
650
651
|
}
|
651
|
-
;// CONCATENATED MODULE: external "lodash/isElement"
|
652
|
-
var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
653
|
-
var isElement_y = x => () => x
|
654
|
-
const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
|
655
652
|
;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
656
653
|
/**
|
657
654
|
* Custom positioning reference element.
|
@@ -2602,6 +2599,10 @@ const floating_ui_dom_computePosition = (reference, floating, options) => {
|
|
2602
2599
|
|
2603
2600
|
|
2604
2601
|
|
2602
|
+
;// CONCATENATED MODULE: external "lodash/isElement"
|
2603
|
+
var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
2604
|
+
var isElement_y = x => () => x
|
2605
|
+
const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
|
2605
2606
|
;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
|
2606
2607
|
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
2607
2608
|
/* harmony default export */ const esm_browser_native = ({
|
@@ -3085,9 +3086,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3085
3086
|
var delay = resolvePopoverDelay()[0];
|
3086
3087
|
// 设置settimeout避免hidePopover导致显示问题
|
3087
3088
|
popShowTimerId = setTimeout(function () {
|
3088
|
-
if (popHideTimerId) {
|
3089
|
-
|
3090
|
-
}
|
3089
|
+
// if (popHideTimerId) {
|
3090
|
+
// clearTimeout(popHideTimerId);
|
3091
|
+
// }
|
3091
3092
|
if (!props.disabled) {
|
3092
3093
|
localIsShow.value = true;
|
3093
3094
|
}
|
@@ -3628,7 +3629,7 @@ function _isSlot(s) {
|
|
3628
3629
|
(0,external_vue_namespaceObject.onMounted)(onMountedFn);
|
3629
3630
|
(0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
|
3630
3631
|
var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
|
3631
|
-
return !props.disableTeleport;
|
3632
|
+
return localIsShow.value && !props.disableTeleport;
|
3632
3633
|
});
|
3633
3634
|
var show = function show() {
|
3634
3635
|
showFn();
|
@@ -3697,20 +3698,20 @@ function _isSlot(s) {
|
|
3697
3698
|
return [_slot];
|
3698
3699
|
}
|
3699
3700
|
}), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
|
3700
|
-
"
|
3701
|
-
"
|
3701
|
+
"disabled": !_this.transBoundary,
|
3702
|
+
"to": _this.boundary
|
3702
3703
|
}, {
|
3703
3704
|
"default": function _default() {
|
3704
3705
|
return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)(content, {
|
3705
3706
|
"ref": "refContent",
|
3706
|
-
"visible": _this.localIsShow,
|
3707
|
-
"data-theme": _this.theme,
|
3708
|
-
"extCls": _this.extCls,
|
3709
3707
|
"width": _this.width,
|
3710
3708
|
"height": _this.height,
|
3711
|
-
"
|
3709
|
+
"extCls": _this.extCls,
|
3710
|
+
"data-theme": _this.theme,
|
3711
|
+
"eventDelay": _this.componentEventDelay,
|
3712
3712
|
"maxHeight": _this.maxHeight,
|
3713
|
-
"
|
3713
|
+
"maxWidth": _this.maxWidth,
|
3714
|
+
"visible": _this.localIsShow
|
3714
3715
|
}, {
|
3715
3716
|
"default": function _default() {
|
3716
3717
|
return [_this.contentIsShow ? (_this$$slots$content = (_this$$slots$content2 = (_this$$slots3 = _this.$slots).content) === null || _this$$slots$content2 === void 0 ? void 0 : _this$$slots$content2.call(_this$$slots3)) !== null && _this$$slots$content !== void 0 ? _this$$slots$content : _this.renderContent() : ''];
|
@@ -3767,9 +3768,11 @@ function plugin_popover_objectSpread(e) { for (var r = 1; r < arguments.length;
|
|
3767
3768
|
|
3768
3769
|
|
3769
3770
|
function createPopoverComponent(options) {
|
3771
|
+
var _options$immediate;
|
3770
3772
|
var $PopoverInstance = null;
|
3771
3773
|
var $PopoverInstanceVm = null;
|
3772
3774
|
var $PopoverInstanceEl = null;
|
3775
|
+
var immediate = (_options$immediate = options.immediate) !== null && _options$immediate !== void 0 ? _options$immediate : true;
|
3773
3776
|
var resolvedOptions = plugin_popover_objectSpread(plugin_popover_objectSpread({
|
3774
3777
|
boundary: 'body',
|
3775
3778
|
placement: 'top',
|
@@ -3839,10 +3842,10 @@ function createPopoverComponent(options) {
|
|
3839
3842
|
return function () {
|
3840
3843
|
return (0,external_vue_namespaceObject.createVNode)(popover, (0,external_vue_namespaceObject.mergeProps)(refProps, {
|
3841
3844
|
"ref": refReference,
|
3842
|
-
"onContentMouseenter": handleContentMouseenter,
|
3843
|
-
"onContentMouseleave": handleContentMouseleave,
|
3844
3845
|
"onAfterHidden": handlePopoverHidden,
|
3845
|
-
"onAfterShow": handlePopoverShow
|
3846
|
+
"onAfterShow": handlePopoverShow,
|
3847
|
+
"onContentMouseenter": handleContentMouseenter,
|
3848
|
+
"onContentMouseleave": handleContentMouseleave
|
3846
3849
|
}), null);
|
3847
3850
|
};
|
3848
3851
|
}
|
@@ -3862,37 +3865,52 @@ function createPopoverComponent(options) {
|
|
3862
3865
|
}
|
3863
3866
|
return document.body;
|
3864
3867
|
}
|
3865
|
-
|
3866
|
-
$
|
3867
|
-
|
3868
|
-
|
3869
|
-
|
3870
|
-
|
3871
|
-
|
3872
|
-
|
3873
|
-
|
3874
|
-
|
3875
|
-
|
3876
|
-
|
3868
|
+
var install = function install() {
|
3869
|
+
if ($PopoverInstance === null) {
|
3870
|
+
$PopoverInstanceEl = document.createElement('div');
|
3871
|
+
getBoundaryDom(resolvedOptions.boundary).append($PopoverInstanceEl);
|
3872
|
+
$PopoverInstance = (0,external_vue_namespaceObject.createApp)(popoverComponent);
|
3873
|
+
$PopoverInstanceVm = $PopoverInstance.mount($PopoverInstanceEl);
|
3874
|
+
}
|
3875
|
+
};
|
3876
|
+
var uninstall = function uninstall() {
|
3877
|
+
var _$PopoverInstanceEl;
|
3878
|
+
if (utils_isElement(options.content)) {
|
3879
|
+
options.content.remove();
|
3877
3880
|
}
|
3881
|
+
$PopoverInstance.unmount();
|
3882
|
+
$PopoverInstance = null;
|
3883
|
+
(_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
|
3884
|
+
};
|
3885
|
+
function close() {
|
3886
|
+
uninstall();
|
3887
|
+
$PopoverInstanceVm = null;
|
3878
3888
|
}
|
3879
|
-
function show() {
|
3880
|
-
var _$
|
3881
|
-
(
|
3889
|
+
function show(target) {
|
3890
|
+
var _$PopoverInstanceVm2;
|
3891
|
+
install();
|
3892
|
+
if (target) {
|
3893
|
+
var _$PopoverInstanceVm;
|
3894
|
+
(_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
|
3895
|
+
}
|
3896
|
+
(_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
|
3882
3897
|
}
|
3883
3898
|
function update(e) {
|
3884
|
-
var _$
|
3885
|
-
(_$
|
3899
|
+
var _$PopoverInstanceVm3;
|
3900
|
+
(_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
|
3886
3901
|
}
|
3887
3902
|
function hide() {
|
3888
|
-
var _$
|
3889
|
-
(_$
|
3903
|
+
var _$PopoverInstanceVm4;
|
3904
|
+
(_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
|
3890
3905
|
}
|
3906
|
+
immediate && install();
|
3891
3907
|
return {
|
3908
|
+
install: install,
|
3892
3909
|
close: close,
|
3893
3910
|
show: show,
|
3894
3911
|
hide: hide,
|
3895
3912
|
update: update,
|
3913
|
+
uninstall: uninstall,
|
3896
3914
|
get vm() {
|
3897
3915
|
return $PopoverInstanceVm;
|
3898
3916
|
},
|
package/lib/pop-confirm/index.js
CHANGED
@@ -99,8 +99,8 @@ const external_vue_types_namespaceObject = external_vue_types_x({ ["toType"]: ()
|
|
99
99
|
|
100
100
|
var TriggerEnum;
|
101
101
|
(function (TriggerEnum) {
|
102
|
-
TriggerEnum["HOVER"] = "hover";
|
103
102
|
TriggerEnum["CLICK"] = "click";
|
103
|
+
TriggerEnum["HOVER"] = "hover";
|
104
104
|
})(TriggerEnum || (TriggerEnum = {}));
|
105
105
|
function triggerType() {
|
106
106
|
return (0,external_vue_types_namespaceObject.toType)('trigger', {}).def(TriggerEnum.HOVER);
|
@@ -215,16 +215,23 @@ var PopConfirmProps = {
|
|
215
215
|
},
|
216
216
|
render: function render() {
|
217
217
|
var _this = this;
|
218
|
+
var titleRender = function titleRender() {
|
219
|
+
return _this.title ? (0,external_vue_namespaceObject.createVNode)("div", {
|
220
|
+
"class": "".concat(_this.resolveClassName('pop-confirm-title'))
|
221
|
+
}, [_this.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
|
222
|
+
"class": "".concat(_this.resolveClassName('pop-confirm-icon'))
|
223
|
+
}, [_this.icon]) : '', (0,external_vue_namespaceObject.createVNode)("span", null, [_this.title])]) : '';
|
224
|
+
};
|
218
225
|
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
219
226
|
"ref": "popoverRef",
|
227
|
+
"width": this.width,
|
228
|
+
"extCls": "".concat(this.resolveClassName('pop-confirm-box')),
|
220
229
|
"isShow": this.visible,
|
221
|
-
"trigger": this.trigger,
|
222
230
|
"theme": this.theme,
|
223
|
-
"
|
231
|
+
"trigger": this.trigger,
|
224
232
|
"onAfterShow": function onAfterShow() {
|
225
233
|
return _this.visible = true;
|
226
|
-
}
|
227
|
-
"extCls": "".concat(this.resolveClassName('pop-confirm-box'))
|
234
|
+
}
|
228
235
|
}, {
|
229
236
|
"default": function _default() {
|
230
237
|
return _this.$slots["default"]();
|
@@ -232,25 +239,21 @@ var PopConfirmProps = {
|
|
232
239
|
content: function content() {
|
233
240
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
234
241
|
"class": "".concat(_this.resolveClassName('pop-confirm'))
|
235
|
-
}, [typeof _this.$slots.content === 'function' ? _this.$slots.content() : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [
|
236
|
-
"class": "".concat(_this.resolveClassName('pop-confirm-title'))
|
237
|
-
}, [_this.icon ? (0,external_vue_namespaceObject.createVNode)("span", {
|
238
|
-
"class": "".concat(_this.resolveClassName('pop-confirm-icon'))
|
239
|
-
}, [_this.icon]) : '', (0,external_vue_namespaceObject.createVNode)("span", null, [_this.title])]) : '', (0,external_vue_namespaceObject.createVNode)("div", {
|
242
|
+
}, [typeof _this.$slots.content === 'function' ? (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [titleRender(), _this.$slots.content()]) : (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [titleRender(), (0,external_vue_namespaceObject.createVNode)("div", {
|
240
243
|
"class": "".concat(_this.resolveClassName('pop-confirm-content'))
|
241
244
|
}, [!_this.title ? _this.icon : '', _this.content])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
242
245
|
"class": "".concat(_this.resolveClassName('pop-confirm-footer'))
|
243
246
|
}, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
244
|
-
"onClick": _this.ensure,
|
245
247
|
"size": "small",
|
246
|
-
"theme": "primary"
|
248
|
+
"theme": "primary",
|
249
|
+
"onClick": _this.ensure
|
247
250
|
}, {
|
248
251
|
"default": function _default() {
|
249
252
|
return [_this.confirmText || _this.t.ok];
|
250
253
|
}
|
251
254
|
}), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
252
|
-
"
|
253
|
-
"
|
255
|
+
"size": "small",
|
256
|
+
"onClick": _this.cancel
|
254
257
|
}, {
|
255
258
|
"default": function _default() {
|
256
259
|
return [_this.cancelText || _this.t.cancel];
|
@@ -12,6 +12,7 @@
|
|
12
12
|
--whitesmoke-color: #fafbfd;
|
13
13
|
--disable-color: #dcdee5;
|
14
14
|
--disable-bg-color: #f9fafd;
|
15
|
+
--border-color: #dcdee5;
|
15
16
|
--font-size-base: 12px;
|
16
17
|
--font-size-medium: 14px;
|
17
18
|
--font-size-large: 16px;
|
@@ -123,6 +124,8 @@
|
|
123
124
|
--search-select-placeholder-color: var(--light-gray);
|
124
125
|
--search-select-message-color: var(--danger-color);
|
125
126
|
--search-select-menu-border-color: var(--disable-color);
|
127
|
+
--select-active-color: #e1ecff;
|
128
|
+
--select-hover-color: #f5f7fa;
|
126
129
|
}
|
127
130
|
.bk-popover.bk-pop-confirm-box {
|
128
131
|
padding: 16px;
|
package/lib/popover/const.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
export declare const enum EMIT_EVENTS {
|
2
2
|
CLICK_OUTSIDE = "clickoutside",
|
3
|
-
CONTENT_MOUSEENTER = "contentMouseenter",
|
4
|
-
CONTENT_MOUSELEAVE = "contentMouseleave",
|
5
3
|
CONTENT_AfterHidden = "afterHidden",
|
6
|
-
CONTENT_AfterShow = "afterShow"
|
4
|
+
CONTENT_AfterShow = "afterShow",
|
5
|
+
CONTENT_MOUSEENTER = "contentMouseenter",
|
6
|
+
CONTENT_MOUSELEAVE = "contentMouseleave"
|
7
7
|
}
|
8
8
|
export declare const EVENT_SHOW_HIDE_FN: (_args: {
|
9
9
|
isShow: boolean;
|
package/lib/popover/content.d.ts
CHANGED
@@ -34,7 +34,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
34
34
|
maxWidth: string | number;
|
35
35
|
}>;
|
36
36
|
refContent: import("vue").Ref<any>;
|
37
|
-
|
37
|
+
contentClassName: import("vue").ComputedRef<string[]>;
|
38
38
|
resetPointerEvent: () => void;
|
39
39
|
setContentPointerEvent: (val: string) => void;
|
40
40
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
package/lib/popover/index.d.ts
CHANGED
@@ -36,8 +36,8 @@ declare const BkPopover: {
|
|
36
36
|
} & {
|
37
37
|
default: boolean;
|
38
38
|
};
|
39
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
40
|
-
default: "auto" | "auto-
|
39
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
40
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
41
41
|
};
|
42
42
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
43
43
|
default: string;
|
@@ -131,14 +131,14 @@ declare const BkPopover: {
|
|
131
131
|
isShow: boolean;
|
132
132
|
event: MouseEvent;
|
133
133
|
}) => any;
|
134
|
-
onContentMouseenter?: (e: MouseEvent) => any;
|
135
|
-
onContentMouseleave?: (e: MouseEvent) => any;
|
136
134
|
onAfterHidden?: (_args: {
|
137
135
|
isShow: boolean;
|
138
136
|
}) => any;
|
139
137
|
onAfterShow?: (_args: {
|
140
138
|
isShow: boolean;
|
141
139
|
}) => any;
|
140
|
+
onContentMouseenter?: (e: MouseEvent) => any;
|
141
|
+
onContentMouseleave?: (e: MouseEvent) => any;
|
142
142
|
}, {
|
143
143
|
boundary: import("vue").Ref<any>;
|
144
144
|
arrow: boolean;
|
@@ -207,8 +207,8 @@ declare const BkPopover: {
|
|
207
207
|
} & {
|
208
208
|
default: boolean;
|
209
209
|
};
|
210
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
211
|
-
default: "auto" | "auto-
|
210
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
211
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
212
212
|
};
|
213
213
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
214
214
|
default: string;
|
@@ -302,14 +302,14 @@ declare const BkPopover: {
|
|
302
302
|
isShow: boolean;
|
303
303
|
event: MouseEvent;
|
304
304
|
}) => any;
|
305
|
-
onContentMouseenter?: (e: MouseEvent) => any;
|
306
|
-
onContentMouseleave?: (e: MouseEvent) => any;
|
307
305
|
onAfterHidden?: (_args: {
|
308
306
|
isShow: boolean;
|
309
307
|
}) => any;
|
310
308
|
onAfterShow?: (_args: {
|
311
309
|
isShow: boolean;
|
312
310
|
}) => any;
|
311
|
+
onContentMouseenter?: (e: MouseEvent) => any;
|
312
|
+
onContentMouseleave?: (e: MouseEvent) => any;
|
313
313
|
}, {
|
314
314
|
width: string | number;
|
315
315
|
height: string | number;
|
@@ -322,7 +322,7 @@ declare const BkPopover: {
|
|
322
322
|
disabled: boolean;
|
323
323
|
content: string | number | HTMLElement | JSX.Element;
|
324
324
|
allowHtml: boolean;
|
325
|
-
placement: "auto" | "auto-
|
325
|
+
placement: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
326
326
|
theme: string;
|
327
327
|
trigger: "click" | "hover" | "manual";
|
328
328
|
renderType: "auto" | "shown";
|
@@ -386,8 +386,8 @@ declare const BkPopover: {
|
|
386
386
|
} & {
|
387
387
|
default: boolean;
|
388
388
|
};
|
389
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
390
|
-
default: "auto" | "auto-
|
389
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
390
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
391
391
|
};
|
392
392
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
393
393
|
default: string;
|
@@ -481,14 +481,14 @@ declare const BkPopover: {
|
|
481
481
|
isShow: boolean;
|
482
482
|
event: MouseEvent;
|
483
483
|
}) => any;
|
484
|
-
onContentMouseenter?: (e: MouseEvent) => any;
|
485
|
-
onContentMouseleave?: (e: MouseEvent) => any;
|
486
484
|
onAfterHidden?: (_args: {
|
487
485
|
isShow: boolean;
|
488
486
|
}) => any;
|
489
487
|
onAfterShow?: (_args: {
|
490
488
|
isShow: boolean;
|
491
489
|
}) => any;
|
490
|
+
onContentMouseenter?: (e: MouseEvent) => any;
|
491
|
+
onContentMouseleave?: (e: MouseEvent) => any;
|
492
492
|
}, {
|
493
493
|
boundary: import("vue").Ref<any>;
|
494
494
|
arrow: boolean;
|
@@ -519,7 +519,7 @@ declare const BkPopover: {
|
|
519
519
|
disabled: boolean;
|
520
520
|
content: string | number | HTMLElement | JSX.Element;
|
521
521
|
allowHtml: boolean;
|
522
|
-
placement: "auto" | "auto-
|
522
|
+
placement: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
523
523
|
theme: string;
|
524
524
|
trigger: "click" | "hover" | "manual";
|
525
525
|
renderType: "auto" | "shown";
|
@@ -580,8 +580,8 @@ declare const BkPopover: {
|
|
580
580
|
} & {
|
581
581
|
default: boolean;
|
582
582
|
};
|
583
|
-
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-
|
584
|
-
default: "auto" | "auto-
|
583
|
+
placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
|
584
|
+
default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
585
585
|
};
|
586
586
|
theme: import("vue-types").VueTypeValidableDef<string> & {
|
587
587
|
default: string;
|
@@ -675,14 +675,14 @@ declare const BkPopover: {
|
|
675
675
|
isShow: boolean;
|
676
676
|
event: MouseEvent;
|
677
677
|
}) => any;
|
678
|
-
onContentMouseenter?: (e: MouseEvent) => any;
|
679
|
-
onContentMouseleave?: (e: MouseEvent) => any;
|
680
678
|
onAfterHidden?: (_args: {
|
681
679
|
isShow: boolean;
|
682
680
|
}) => any;
|
683
681
|
onAfterShow?: (_args: {
|
684
682
|
isShow: boolean;
|
685
683
|
}) => any;
|
684
|
+
onContentMouseenter?: (e: MouseEvent) => any;
|
685
|
+
onContentMouseleave?: (e: MouseEvent) => any;
|
686
686
|
}, {
|
687
687
|
boundary: import("vue").Ref<any>;
|
688
688
|
arrow: boolean;
|
@@ -726,7 +726,7 @@ declare const BkPopover: {
|
|
726
726
|
disabled: boolean;
|
727
727
|
content: string | number | HTMLElement | JSX.Element;
|
728
728
|
allowHtml: boolean;
|
729
|
-
placement: "auto" | "auto-
|
729
|
+
placement: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
|
730
730
|
theme: string;
|
731
731
|
trigger: "click" | "hover" | "manual";
|
732
732
|
renderType: "auto" | "shown";
|