bkui-vue 1.0.3-beta.28 → 1.0.3-beta.29
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 +1 -1
- package/dist/index.esm.js +2 -1
- package/dist/index.umd.js +1 -1
- package/lib/affix/index.js +15 -13
- package/lib/alert/index.js +24 -22
- package/lib/animate-number/index.js +6 -5
- package/lib/backtop/index.js +22 -20
- package/lib/badge/index.js +21 -19
- package/lib/breadcrumb/index.js +26 -24
- package/lib/button/index.js +37 -28
- package/lib/card/index.js +43 -35
- package/lib/cascader/index.js +100 -80
- package/lib/checkbox/index.js +34 -32
- package/lib/code-diff/index.js +14 -12
- package/lib/collapse/index.js +41 -39
- package/lib/collapse-transition/index.js +9 -8
- package/lib/color-picker/index.js +50 -48
- package/lib/components.js +60 -505
- package/lib/config-provider/index.js +9 -8
- package/lib/container/index.js +21 -19
- package/lib/date-picker/index.js +73 -65
- package/lib/dialog/index.js +63 -49
- package/lib/directives/index.js +13 -12
- package/lib/dist.index.js +5 -62
- package/lib/divider/index.js +15 -13
- package/lib/dropdown/index.js +32 -24
- package/lib/exception/index.js +13 -11
- package/lib/fixed-navbar/index.js +15 -13
- package/lib/form/index.js +50 -48
- package/lib/hooks.js +1 -48
- package/lib/icon/index.js +1 -0
- package/lib/image/index.js +39 -38
- package/lib/index.js +7 -72
- package/lib/info-box/index.js +21 -13
- package/lib/input/index.js +61 -59
- package/lib/link/index.js +15 -13
- package/lib/loading/index.js +19 -17
- package/lib/locale/index.js +1 -0
- package/lib/menu/index.js +15 -13
- package/lib/message/index.js +40 -38
- package/lib/modal/index.js +43 -41
- package/lib/navigation/index.js +16 -14
- package/lib/notify/index.js +33 -31
- package/lib/overflow-title/index.js +22 -14
- package/lib/pagination/index.js +67 -51
- package/lib/plugin-popover/index.js +54 -53
- package/lib/plugins/index.js +1 -0
- package/lib/pop-confirm/index.js +42 -28
- package/lib/popover/index.js +54 -52
- package/lib/popover2/index.js +4 -3
- package/lib/preset.js +18 -64
- package/lib/process/index.js +27 -26
- package/lib/progress/index.js +28 -26
- package/lib/radio/index.js +34 -32
- package/lib/rate/index.js +24 -22
- package/lib/resize-layout/index.js +27 -25
- package/lib/search-select/index.js +68 -49
- package/lib/select/index.js +168 -129
- package/lib/shared/index.js +1 -0
- package/lib/sideslider/index.js +22 -14
- package/lib/slider/index.js +36 -22
- package/lib/steps/index.js +30 -28
- package/lib/swiper/index.js +16 -14
- package/lib/switcher/index.js +31 -29
- package/lib/tab/index.js +46 -44
- package/lib/table/index.js +207 -148
- package/lib/table-column/index.js +43 -42
- package/lib/tag/index.js +21 -19
- package/lib/tag-input/index.js +80 -65
- package/lib/time-picker/index.js +9 -7
- package/lib/timeline/index.js +13 -12
- package/lib/transfer/index.js +51 -36
- package/lib/tree/index.js +92 -72
- package/lib/upload/index.js +63 -48
- package/lib/virtual-render/index.js +35 -33
- package/package.json +2 -2
@@ -1,6 +1,7 @@
|
|
1
|
+
import "../styles/reset.css";
|
1
2
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
2
|
-
import * as
|
3
|
-
import * as
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
4
5
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
5
6
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__ from "lodash/isElement";
|
6
7
|
/******/ // The require scope
|
@@ -82,9 +83,9 @@ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
|
82
83
|
var y = x => () => x
|
83
84
|
const external_vue_namespaceObject = x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Text"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Text, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
|
84
85
|
;// CONCATENATED MODULE: external "../shared"
|
85
|
-
var
|
86
|
-
var
|
87
|
-
const
|
86
|
+
var shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
87
|
+
var shared_y = x => () => x
|
88
|
+
const shared_namespaceObject = shared_x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PlacementEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["placementType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.placementType, ["renderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.renderType, ["triggerType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.triggerType });
|
88
89
|
;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
|
89
90
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
90
91
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
@@ -212,9 +213,9 @@ ClickOutside.install = function (app) {
|
|
212
213
|
};
|
213
214
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
214
215
|
;// CONCATENATED MODULE: external "../config-provider"
|
215
|
-
var
|
216
|
-
var
|
217
|
-
const
|
216
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
217
|
+
var config_provider_y = x => () => x
|
218
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
218
219
|
;// CONCATENATED MODULE: ../../packages/popover/src/arrow.tsx
|
219
220
|
|
220
221
|
/*
|
@@ -247,7 +248,7 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
|
|
247
248
|
/* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
|
248
249
|
name: 'PopArrow',
|
249
250
|
render: function render() {
|
250
|
-
var _usePrefix = (0,
|
251
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
251
252
|
resolveClassName = _usePrefix.resolveClassName;
|
252
253
|
var arrowClassName = resolveClassName('pop2-arrow');
|
253
254
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -335,13 +336,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
335
336
|
/* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
|
336
337
|
name: 'PopContent',
|
337
338
|
props: {
|
338
|
-
width:
|
339
|
-
height:
|
340
|
-
maxHeight:
|
341
|
-
maxWidth:
|
342
|
-
extCls:
|
343
|
-
visible:
|
344
|
-
eventDelay:
|
339
|
+
width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
340
|
+
height: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
341
|
+
maxHeight: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
342
|
+
maxWidth: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
343
|
+
extCls: shared_namespaceObject.PropTypes.string.def(''),
|
344
|
+
visible: shared_namespaceObject.PropTypes.bool.def(false),
|
345
|
+
eventDelay: shared_namespaceObject.PropTypes.number.def(0)
|
345
346
|
},
|
346
347
|
setup: function setup(props) {
|
347
348
|
var resolveValToPix = function resolveValToPix(val) {
|
@@ -377,7 +378,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
377
378
|
}
|
378
379
|
(_refContent$value = refContent.value) === null || _refContent$value === void 0 || _refContent$value.style.setProperty('pointer-events', val);
|
379
380
|
};
|
380
|
-
var _usePrefix = (0,
|
381
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
381
382
|
resolveClassName = _usePrefix.resolveClassName;
|
382
383
|
var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
|
383
384
|
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
@@ -430,91 +431,91 @@ var EventProps = {
|
|
430
431
|
onAfterShow: function onAfterShow() {}
|
431
432
|
};
|
432
433
|
var PopoverProps = {
|
433
|
-
isShow:
|
434
|
-
always:
|
435
|
-
disabled:
|
436
|
-
width:
|
437
|
-
height:
|
438
|
-
maxWidth:
|
439
|
-
maxHeight:
|
434
|
+
isShow: shared_namespaceObject.PropTypes.bool.def(false),
|
435
|
+
always: shared_namespaceObject.PropTypes.bool.def(false),
|
436
|
+
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
437
|
+
width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
438
|
+
height: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
439
|
+
maxWidth: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
440
|
+
maxHeight: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
440
441
|
content: (0,external_vue_types_namespaceObject.toType)('IContent', {}).def(''),
|
441
|
-
target:
|
442
|
-
allowHtml:
|
442
|
+
target: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.instanceOf(HTMLElement), shared_namespaceObject.PropTypes.instanceOf(PointerEvent)]),
|
443
|
+
allowHtml: shared_namespaceObject.PropTypes.bool.def(false),
|
443
444
|
/**
|
444
445
|
* 组件显示位置
|
445
446
|
*/
|
446
447
|
// placement: placementType().def(PlacementEnum.TOP),
|
447
|
-
placement: (0,
|
448
|
+
placement: (0,shared_namespaceObject.placementType)().def(shared_namespaceObject.PlacementEnum.TOP_START),
|
448
449
|
// 'dark', 'light'
|
449
|
-
theme:
|
450
|
+
theme: shared_namespaceObject.PropTypes.string.def('dark'),
|
450
451
|
/**
|
451
452
|
* 触发方式
|
452
453
|
* 支持 click hover manual
|
453
454
|
* manual: 通过isShow控制显示、隐藏
|
454
455
|
*/
|
455
456
|
// trigger: triggerType(),
|
456
|
-
trigger: (0,
|
457
|
+
trigger: (0,shared_namespaceObject.triggerType)(),
|
457
458
|
/**
|
458
459
|
* content 渲染方式
|
459
460
|
*/
|
460
|
-
renderType: (0,
|
461
|
+
renderType: (0,shared_namespaceObject.renderType)(),
|
461
462
|
// 是否显示箭头
|
462
|
-
arrow:
|
463
|
-
padding:
|
464
|
-
offset:
|
465
|
-
mainAxis:
|
466
|
-
crossAxis:
|
467
|
-
alignmentAxis:
|
463
|
+
arrow: shared_namespaceObject.PropTypes.bool.def(true),
|
464
|
+
padding: shared_namespaceObject.PropTypes.number.def(5),
|
465
|
+
offset: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.number, shared_namespaceObject.PropTypes.shape({
|
466
|
+
mainAxis: shared_namespaceObject.PropTypes.number,
|
467
|
+
crossAxis: shared_namespaceObject.PropTypes.number,
|
468
|
+
alignmentAxis: shared_namespaceObject.PropTypes.number
|
468
469
|
})]).def(6),
|
469
470
|
/**
|
470
471
|
* 弹出内容绑定元素
|
471
472
|
*/
|
472
|
-
boundary:
|
473
|
-
zIndex:
|
474
|
-
disableTeleport:
|
473
|
+
boundary: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string.def('parent'), shared_namespaceObject.PropTypes.instanceOf(HTMLElement)]),
|
474
|
+
zIndex: shared_namespaceObject.PropTypes.number.def(undefined),
|
475
|
+
disableTeleport: shared_namespaceObject.PropTypes.bool.def(false),
|
475
476
|
/**
|
476
477
|
* chooses the placement that has the most space available automatically
|
477
478
|
*/
|
478
|
-
autoPlacement:
|
479
|
+
autoPlacement: shared_namespaceObject.PropTypes.bool.def(false),
|
479
480
|
/**
|
480
481
|
* 当有滚动条,滚动出可是范围时自动隐藏pop
|
481
482
|
*/
|
482
|
-
autoVisibility:
|
483
|
+
autoVisibility: shared_namespaceObject.PropTypes.bool.def(true),
|
483
484
|
/**
|
484
485
|
* 是否禁用clickoutside
|
485
486
|
*/
|
486
|
-
disableOutsideClick:
|
487
|
+
disableOutsideClick: shared_namespaceObject.PropTypes.bool.def(false),
|
487
488
|
/**
|
488
489
|
* 是否禁用样式的transform更新位移
|
489
490
|
*/
|
490
|
-
disableTransform:
|
491
|
+
disableTransform: shared_namespaceObject.PropTypes.bool.def(false),
|
491
492
|
/**
|
492
493
|
* 自定义 reference
|
493
494
|
*/
|
494
|
-
reference:
|
495
|
+
reference: shared_namespaceObject.PropTypes.any,
|
495
496
|
/**
|
496
497
|
* 兼容v1版本遗留配置
|
497
498
|
* 不建议使用
|
498
499
|
*/
|
499
|
-
modifiers:
|
500
|
+
modifiers: shared_namespaceObject.PropTypes.array.def([]),
|
500
501
|
/**
|
501
502
|
* popover显示和隐藏的延时时间
|
502
503
|
*/
|
503
|
-
popoverDelay:
|
504
|
+
popoverDelay: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.number, shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.number)]).def(100),
|
504
505
|
/**
|
505
506
|
* 配置自定义样式类名,传入的类会被加在组件最外层的 DOM
|
506
507
|
*/
|
507
|
-
extCls:
|
508
|
+
extCls: shared_namespaceObject.PropTypes.string.def(''),
|
508
509
|
/**
|
509
510
|
* 自定义Content组件渲染,point-event延迟渲染时间
|
510
511
|
* 避免子组件point-event渲染时触发popover鼠标事件
|
511
512
|
* 如果设置为0,则不启用此设置
|
512
513
|
*/
|
513
|
-
componentEventDelay:
|
514
|
+
componentEventDelay: shared_namespaceObject.PropTypes.number.def(0),
|
514
515
|
/**
|
515
516
|
* 或略其他判定条件,强制监听clickoutside & 执行hide
|
516
517
|
*/
|
517
|
-
forceClickoutside:
|
518
|
+
forceClickoutside: shared_namespaceObject.PropTypes.bool.def(false)
|
518
519
|
};
|
519
520
|
;// CONCATENATED MODULE: ../../packages/popover/src/reference.tsx
|
520
521
|
/*
|
@@ -581,8 +582,8 @@ var PopoverProps = {
|
|
581
582
|
|
582
583
|
/* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
|
583
584
|
props: {
|
584
|
-
"class":
|
585
|
-
mode:
|
585
|
+
"class": shared_namespaceObject.PropTypes.string.def(''),
|
586
|
+
mode: shared_namespaceObject.PropTypes.string.def('')
|
586
587
|
},
|
587
588
|
render: function render() {
|
588
589
|
var _this$$slots$default, _this$$slots;
|
@@ -3105,7 +3106,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3105
3106
|
var _refContent$value2;
|
3106
3107
|
var elContent = resolveTargetElement((_refContent$value2 = refContent.value) === null || _refContent$value2 === void 0 ? void 0 : _refContent$value2.$el);
|
3107
3108
|
elContent.style.setProperty('display', 'block');
|
3108
|
-
elContent.style.setProperty('z-index', "".concat(props.zIndex ? props.zIndex :
|
3109
|
+
elContent.style.setProperty('z-index', "".concat(props.zIndex ? props.zIndex : shared_namespaceObject.bkZIndexManager.getPopperIndex()));
|
3109
3110
|
updatePopover();
|
3110
3111
|
ctx.emit(EMIT_EVENTS.CONTENT_AfterShow, {
|
3111
3112
|
isShow: true
|
@@ -3638,7 +3639,7 @@ function _isSlot(s) {
|
|
3638
3639
|
hideFn();
|
3639
3640
|
};
|
3640
3641
|
var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
|
3641
|
-
if (props.renderType ===
|
3642
|
+
if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
|
3642
3643
|
return true;
|
3643
3644
|
}
|
3644
3645
|
return localIsShow.value;
|
package/lib/plugins/index.js
CHANGED
package/lib/pop-confirm/index.js
CHANGED
@@ -1,8 +1,12 @@
|
|
1
|
-
import
|
1
|
+
import "../styles/reset.css";
|
2
|
+
import "./pop-confirm.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as
|
4
|
-
import
|
5
|
-
import * as
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__ from "../button";
|
6
|
+
import "../button/button.less";
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
8
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
|
9
|
+
import "../popover/popover.less";
|
6
10
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
7
11
|
/******/ // The require scope
|
8
12
|
/******/ var __webpack_require__ = {};
|
@@ -36,23 +40,31 @@ __webpack_require__.d(__webpack_exports__, {
|
|
36
40
|
;// CONCATENATED MODULE: external "../shared"
|
37
41
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
38
42
|
var y = x => () => x
|
39
|
-
const
|
43
|
+
const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PlacementEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["placementType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.placementType, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
40
44
|
;// CONCATENATED MODULE: external "vue"
|
41
45
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
42
46
|
var external_vue_y = x => () => x
|
43
47
|
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
44
48
|
;// CONCATENATED MODULE: external "../button"
|
45
|
-
var
|
46
|
-
var
|
47
|
-
const
|
49
|
+
var button_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
50
|
+
var button_y = x => () => x
|
51
|
+
const button_namespaceObject = button_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_button_a2ea7c9a__["default"] });
|
52
|
+
;// CONCATENATED MODULE: external "../button/button.less"
|
53
|
+
var button_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
54
|
+
var button_less_y = x => () => x
|
55
|
+
const button_less_namespaceObject = button_less_x({ });
|
48
56
|
;// CONCATENATED MODULE: external "../config-provider"
|
49
|
-
var
|
50
|
-
var
|
51
|
-
const
|
57
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
58
|
+
var config_provider_y = x => () => x
|
59
|
+
const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.useLocale, ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
52
60
|
;// CONCATENATED MODULE: external "../popover"
|
53
|
-
var
|
54
|
-
var
|
55
|
-
const
|
61
|
+
var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
62
|
+
var popover_y = x => () => x
|
63
|
+
const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__["default"] });
|
64
|
+
;// CONCATENATED MODULE: external "../popover/popover.less"
|
65
|
+
var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
66
|
+
var popover_less_y = x => () => x
|
67
|
+
const popover_less_namespaceObject = popover_less_x({ });
|
56
68
|
;// CONCATENATED MODULE: external "vue-types"
|
57
69
|
var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
58
70
|
var external_vue_types_y = x => () => x
|
@@ -115,17 +127,17 @@ var PopConfirmProps = {
|
|
115
127
|
* manual: 通过isShow控制显示、隐藏
|
116
128
|
*/
|
117
129
|
trigger: triggerType(),
|
118
|
-
title:
|
119
|
-
content:
|
120
|
-
confirmText:
|
121
|
-
cancelText:
|
122
|
-
placement:
|
123
|
-
theme:
|
130
|
+
title: shared_namespaceObject.PropTypes.string.def(''),
|
131
|
+
content: shared_namespaceObject.PropTypes.string.def(''),
|
132
|
+
confirmText: shared_namespaceObject.PropTypes.string.def(''),
|
133
|
+
cancelText: shared_namespaceObject.PropTypes.string.def(''),
|
134
|
+
placement: shared_namespaceObject.PropTypes.oneOfType([(0,shared_namespaceObject.placementType)().def(shared_namespaceObject.PlacementEnum.TOP), shared_namespaceObject.PropTypes.string]).def(shared_namespaceObject.PlacementEnum.TOP),
|
135
|
+
theme: shared_namespaceObject.PropTypes.string.def('light '),
|
124
136
|
/**
|
125
137
|
* 自定义icon:根据确认框中提示文字的语境来选择 icon的样式,当确认操作存在风险时,可选择带警示的icon来引起用户的注意。
|
126
138
|
*/
|
127
|
-
icon:
|
128
|
-
width:
|
139
|
+
icon: shared_namespaceObject.PropTypes.string.def(''),
|
140
|
+
width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto')
|
129
141
|
};
|
130
142
|
/* harmony default export */ const props = (PopConfirmProps);
|
131
143
|
;// CONCATENATED MODULE: ../../packages/pop-confirm/src/pop-confirm.tsx
|
@@ -160,6 +172,8 @@ var PopConfirmProps = {
|
|
160
172
|
|
161
173
|
|
162
174
|
|
175
|
+
|
176
|
+
|
163
177
|
/* harmony default export */ const pop_confirm = ((0,external_vue_namespaceObject.defineComponent)({
|
164
178
|
name: 'PopConfirm',
|
165
179
|
props: props,
|
@@ -168,7 +182,7 @@ var PopConfirmProps = {
|
|
168
182
|
var emit = _ref.emit,
|
169
183
|
slots = _ref.slots;
|
170
184
|
var visible = (0,external_vue_namespaceObject.ref)(false);
|
171
|
-
var t = (0,
|
185
|
+
var t = (0,config_provider_namespaceObject.useLocale)('popConfirm');
|
172
186
|
function ensure(e) {
|
173
187
|
visible.value = false;
|
174
188
|
emit('confirm');
|
@@ -186,7 +200,7 @@ var PopConfirmProps = {
|
|
186
200
|
return props.icon;
|
187
201
|
}
|
188
202
|
var icon = renderIcon();
|
189
|
-
var _usePrefix = (0,
|
203
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
190
204
|
resolveClassName = _usePrefix.resolveClassName;
|
191
205
|
var popoverRef = (0,external_vue_namespaceObject.ref)(null);
|
192
206
|
return {
|
@@ -201,7 +215,7 @@ var PopConfirmProps = {
|
|
201
215
|
},
|
202
216
|
render: function render() {
|
203
217
|
var _this = this;
|
204
|
-
return (0,external_vue_namespaceObject.createVNode)(
|
218
|
+
return (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
|
205
219
|
"ref": "popoverRef",
|
206
220
|
"isShow": this.visible,
|
207
221
|
"trigger": this.trigger,
|
@@ -226,7 +240,7 @@ var PopConfirmProps = {
|
|
226
240
|
"class": "".concat(_this.resolveClassName('pop-confirm-content'))
|
227
241
|
}, [!_this.title ? _this.icon : '', _this.content])]), (0,external_vue_namespaceObject.createVNode)("div", {
|
228
242
|
"class": "".concat(_this.resolveClassName('pop-confirm-footer'))
|
229
|
-
}, [(0,external_vue_namespaceObject.createVNode)(
|
243
|
+
}, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
230
244
|
"onClick": _this.ensure,
|
231
245
|
"size": "small",
|
232
246
|
"theme": "primary"
|
@@ -234,7 +248,7 @@ var PopConfirmProps = {
|
|
234
248
|
"default": function _default() {
|
235
249
|
return [_this.confirmText || _this.t.ok];
|
236
250
|
}
|
237
|
-
}), (0,external_vue_namespaceObject.createVNode)(
|
251
|
+
}), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
238
252
|
"onClick": _this.cancel,
|
239
253
|
"size": "small"
|
240
254
|
}, {
|
@@ -274,7 +288,7 @@ var PopConfirmProps = {
|
|
274
288
|
*/
|
275
289
|
|
276
290
|
|
277
|
-
var BKPopConfirm = (0,
|
291
|
+
var BKPopConfirm = (0,shared_namespaceObject.withInstall)(pop_confirm);
|
278
292
|
/* harmony default export */ const src = (BKPopConfirm);
|
279
293
|
var __webpack_exports__default = __webpack_exports__["default"];
|
280
294
|
export { __webpack_exports__default as default };
|
package/lib/popover/index.js
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
import
|
1
|
+
import "../styles/reset.css";
|
2
|
+
import "./popover.less";
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
|
2
4
|
import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
|
3
|
-
import * as
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
|
4
6
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
|
5
7
|
import * as __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__ from "lodash/isElement";
|
6
8
|
/******/ // The require scope
|
@@ -37,7 +39,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
37
39
|
;// CONCATENATED MODULE: external "../shared"
|
38
40
|
var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
39
41
|
var y = x => () => x
|
40
|
-
const
|
42
|
+
const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PlacementEnum, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.PropTypes, ["RenderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.RenderType, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.bkZIndexManager, ["placementType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.placementType, ["renderType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.renderType, ["triggerType"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.triggerType, ["withInstall"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__.withInstall });
|
41
43
|
;// CONCATENATED MODULE: external "vue"
|
42
44
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
43
45
|
var external_vue_y = x => () => x
|
@@ -169,9 +171,9 @@ ClickOutside.install = function (app) {
|
|
169
171
|
};
|
170
172
|
/* harmony default export */ const clickoutside = (ClickOutside);
|
171
173
|
;// CONCATENATED MODULE: external "../config-provider"
|
172
|
-
var
|
173
|
-
var
|
174
|
-
const
|
174
|
+
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
175
|
+
var config_provider_y = x => () => x
|
176
|
+
const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__.usePrefix });
|
175
177
|
;// CONCATENATED MODULE: ../../packages/popover/src/arrow.tsx
|
176
178
|
|
177
179
|
/*
|
@@ -204,7 +206,7 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
|
|
204
206
|
/* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
|
205
207
|
name: 'PopArrow',
|
206
208
|
render: function render() {
|
207
|
-
var _usePrefix = (0,
|
209
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
208
210
|
resolveClassName = _usePrefix.resolveClassName;
|
209
211
|
var arrowClassName = resolveClassName('pop2-arrow');
|
210
212
|
return (0,external_vue_namespaceObject.createVNode)("div", {
|
@@ -337,13 +339,13 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
337
339
|
/* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
|
338
340
|
name: 'PopContent',
|
339
341
|
props: {
|
340
|
-
width:
|
341
|
-
height:
|
342
|
-
maxHeight:
|
343
|
-
maxWidth:
|
344
|
-
extCls:
|
345
|
-
visible:
|
346
|
-
eventDelay:
|
342
|
+
width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
343
|
+
height: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
344
|
+
maxHeight: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
345
|
+
maxWidth: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
346
|
+
extCls: shared_namespaceObject.PropTypes.string.def(''),
|
347
|
+
visible: shared_namespaceObject.PropTypes.bool.def(false),
|
348
|
+
eventDelay: shared_namespaceObject.PropTypes.number.def(0)
|
347
349
|
},
|
348
350
|
setup: function setup(props) {
|
349
351
|
var resolveValToPix = function resolveValToPix(val) {
|
@@ -379,7 +381,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
|
|
379
381
|
}
|
380
382
|
(_refContent$value = refContent.value) === null || _refContent$value === void 0 || _refContent$value.style.setProperty('pointer-events', val);
|
381
383
|
};
|
382
|
-
var _usePrefix = (0,
|
384
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
383
385
|
resolveClassName = _usePrefix.resolveClassName;
|
384
386
|
var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
|
385
387
|
return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
|
@@ -432,91 +434,91 @@ var EventProps = {
|
|
432
434
|
onAfterShow: function onAfterShow() {}
|
433
435
|
};
|
434
436
|
var PopoverProps = {
|
435
|
-
isShow:
|
436
|
-
always:
|
437
|
-
disabled:
|
438
|
-
width:
|
439
|
-
height:
|
440
|
-
maxWidth:
|
441
|
-
maxHeight:
|
437
|
+
isShow: shared_namespaceObject.PropTypes.bool.def(false),
|
438
|
+
always: shared_namespaceObject.PropTypes.bool.def(false),
|
439
|
+
disabled: shared_namespaceObject.PropTypes.bool.def(false),
|
440
|
+
width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
441
|
+
height: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
442
|
+
maxWidth: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
443
|
+
maxHeight: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
|
442
444
|
content: (0,external_vue_types_namespaceObject.toType)('IContent', {}).def(''),
|
443
|
-
target:
|
444
|
-
allowHtml:
|
445
|
+
target: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.instanceOf(HTMLElement), shared_namespaceObject.PropTypes.instanceOf(PointerEvent)]),
|
446
|
+
allowHtml: shared_namespaceObject.PropTypes.bool.def(false),
|
445
447
|
/**
|
446
448
|
* 组件显示位置
|
447
449
|
*/
|
448
450
|
// placement: placementType().def(PlacementEnum.TOP),
|
449
|
-
placement: (0,
|
451
|
+
placement: (0,shared_namespaceObject.placementType)().def(shared_namespaceObject.PlacementEnum.TOP_START),
|
450
452
|
// 'dark', 'light'
|
451
|
-
theme:
|
453
|
+
theme: shared_namespaceObject.PropTypes.string.def('dark'),
|
452
454
|
/**
|
453
455
|
* 触发方式
|
454
456
|
* 支持 click hover manual
|
455
457
|
* manual: 通过isShow控制显示、隐藏
|
456
458
|
*/
|
457
459
|
// trigger: triggerType(),
|
458
|
-
trigger: (0,
|
460
|
+
trigger: (0,shared_namespaceObject.triggerType)(),
|
459
461
|
/**
|
460
462
|
* content 渲染方式
|
461
463
|
*/
|
462
|
-
renderType: (0,
|
464
|
+
renderType: (0,shared_namespaceObject.renderType)(),
|
463
465
|
// 是否显示箭头
|
464
|
-
arrow:
|
465
|
-
padding:
|
466
|
-
offset:
|
467
|
-
mainAxis:
|
468
|
-
crossAxis:
|
469
|
-
alignmentAxis:
|
466
|
+
arrow: shared_namespaceObject.PropTypes.bool.def(true),
|
467
|
+
padding: shared_namespaceObject.PropTypes.number.def(5),
|
468
|
+
offset: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.number, shared_namespaceObject.PropTypes.shape({
|
469
|
+
mainAxis: shared_namespaceObject.PropTypes.number,
|
470
|
+
crossAxis: shared_namespaceObject.PropTypes.number,
|
471
|
+
alignmentAxis: shared_namespaceObject.PropTypes.number
|
470
472
|
})]).def(6),
|
471
473
|
/**
|
472
474
|
* 弹出内容绑定元素
|
473
475
|
*/
|
474
|
-
boundary:
|
475
|
-
zIndex:
|
476
|
-
disableTeleport:
|
476
|
+
boundary: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string.def('parent'), shared_namespaceObject.PropTypes.instanceOf(HTMLElement)]),
|
477
|
+
zIndex: shared_namespaceObject.PropTypes.number.def(undefined),
|
478
|
+
disableTeleport: shared_namespaceObject.PropTypes.bool.def(false),
|
477
479
|
/**
|
478
480
|
* chooses the placement that has the most space available automatically
|
479
481
|
*/
|
480
|
-
autoPlacement:
|
482
|
+
autoPlacement: shared_namespaceObject.PropTypes.bool.def(false),
|
481
483
|
/**
|
482
484
|
* 当有滚动条,滚动出可是范围时自动隐藏pop
|
483
485
|
*/
|
484
|
-
autoVisibility:
|
486
|
+
autoVisibility: shared_namespaceObject.PropTypes.bool.def(true),
|
485
487
|
/**
|
486
488
|
* 是否禁用clickoutside
|
487
489
|
*/
|
488
|
-
disableOutsideClick:
|
490
|
+
disableOutsideClick: shared_namespaceObject.PropTypes.bool.def(false),
|
489
491
|
/**
|
490
492
|
* 是否禁用样式的transform更新位移
|
491
493
|
*/
|
492
|
-
disableTransform:
|
494
|
+
disableTransform: shared_namespaceObject.PropTypes.bool.def(false),
|
493
495
|
/**
|
494
496
|
* 自定义 reference
|
495
497
|
*/
|
496
|
-
reference:
|
498
|
+
reference: shared_namespaceObject.PropTypes.any,
|
497
499
|
/**
|
498
500
|
* 兼容v1版本遗留配置
|
499
501
|
* 不建议使用
|
500
502
|
*/
|
501
|
-
modifiers:
|
503
|
+
modifiers: shared_namespaceObject.PropTypes.array.def([]),
|
502
504
|
/**
|
503
505
|
* popover显示和隐藏的延时时间
|
504
506
|
*/
|
505
|
-
popoverDelay:
|
507
|
+
popoverDelay: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.number, shared_namespaceObject.PropTypes.arrayOf(shared_namespaceObject.PropTypes.number)]).def(100),
|
506
508
|
/**
|
507
509
|
* 配置自定义样式类名,传入的类会被加在组件最外层的 DOM
|
508
510
|
*/
|
509
|
-
extCls:
|
511
|
+
extCls: shared_namespaceObject.PropTypes.string.def(''),
|
510
512
|
/**
|
511
513
|
* 自定义Content组件渲染,point-event延迟渲染时间
|
512
514
|
* 避免子组件point-event渲染时触发popover鼠标事件
|
513
515
|
* 如果设置为0,则不启用此设置
|
514
516
|
*/
|
515
|
-
componentEventDelay:
|
517
|
+
componentEventDelay: shared_namespaceObject.PropTypes.number.def(0),
|
516
518
|
/**
|
517
519
|
* 或略其他判定条件,强制监听clickoutside & 执行hide
|
518
520
|
*/
|
519
|
-
forceClickoutside:
|
521
|
+
forceClickoutside: shared_namespaceObject.PropTypes.bool.def(false)
|
520
522
|
};
|
521
523
|
;// CONCATENATED MODULE: ../../packages/popover/src/reference.tsx
|
522
524
|
/*
|
@@ -583,8 +585,8 @@ var PopoverProps = {
|
|
583
585
|
|
584
586
|
/* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
|
585
587
|
props: {
|
586
|
-
"class":
|
587
|
-
mode:
|
588
|
+
"class": shared_namespaceObject.PropTypes.string.def(''),
|
589
|
+
mode: shared_namespaceObject.PropTypes.string.def('')
|
588
590
|
},
|
589
591
|
render: function render() {
|
590
592
|
var _this$$slots$default, _this$$slots;
|
@@ -3107,7 +3109,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
3107
3109
|
var _refContent$value2;
|
3108
3110
|
var elContent = resolveTargetElement((_refContent$value2 = refContent.value) === null || _refContent$value2 === void 0 ? void 0 : _refContent$value2.$el);
|
3109
3111
|
elContent.style.setProperty('display', 'block');
|
3110
|
-
elContent.style.setProperty('z-index', "".concat(props.zIndex ? props.zIndex :
|
3112
|
+
elContent.style.setProperty('z-index', "".concat(props.zIndex ? props.zIndex : shared_namespaceObject.bkZIndexManager.getPopperIndex()));
|
3111
3113
|
updatePopover();
|
3112
3114
|
ctx.emit(EMIT_EVENTS.CONTENT_AfterShow, {
|
3113
3115
|
isShow: true
|
@@ -3640,7 +3642,7 @@ function _isSlot(s) {
|
|
3640
3642
|
hideFn();
|
3641
3643
|
};
|
3642
3644
|
var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
|
3643
|
-
if (props.renderType ===
|
3645
|
+
if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
|
3644
3646
|
return true;
|
3645
3647
|
}
|
3646
3648
|
return localIsShow.value;
|
@@ -3949,7 +3951,7 @@ function createPopoverComponent(options) {
|
|
3949
3951
|
*/
|
3950
3952
|
|
3951
3953
|
|
3952
|
-
var BkPopover = (0,
|
3954
|
+
var BkPopover = (0,shared_namespaceObject.withInstall)(popover);
|
3953
3955
|
/* harmony default export */ const src = (BkPopover);
|
3954
3956
|
|
3955
3957
|
|