bkui-vue 0.0.2-beta.75 → 0.0.2-beta.78

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.
Files changed (144) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +8323 -8377
  3. package/dist/index.umd.js +48 -48
  4. package/lib/affix/index.js +5 -3
  5. package/lib/alert/index.js +2 -3
  6. package/lib/backtop/index.js +2 -2
  7. package/lib/badge/index.js +3 -4
  8. package/lib/breadcrumb/index.js +4 -4
  9. package/lib/button/index.js +6 -6
  10. package/lib/card/index.js +16 -5
  11. package/lib/cascader/index.js +70 -53
  12. package/lib/checkbox/index.js +4 -4
  13. package/lib/collapse/index.js +58 -6
  14. package/lib/color-picker/index.js +14 -11
  15. package/lib/config-provider/index.js +51 -3
  16. package/lib/container/index.js +55 -7
  17. package/lib/date-picker/index.js +202 -156
  18. package/lib/dialog/index.js +140 -431
  19. package/lib/directives/index.js +59 -19
  20. package/lib/dropdown/index.js +8 -8
  21. package/lib/exception/index.js +5 -5
  22. package/lib/form/index.js +22 -16
  23. package/lib/icon/angle-double-down-line.js +84 -374
  24. package/lib/icon/angle-double-left-line.js +84 -374
  25. package/lib/icon/angle-double-left.js +84 -374
  26. package/lib/icon/angle-double-right-line.js +84 -374
  27. package/lib/icon/angle-double-right.js +84 -374
  28. package/lib/icon/angle-double-up-line.js +84 -374
  29. package/lib/icon/angle-down-fill.js +84 -374
  30. package/lib/icon/angle-down-line.js +84 -374
  31. package/lib/icon/angle-down.js +84 -374
  32. package/lib/icon/angle-left.js +84 -374
  33. package/lib/icon/angle-right.js +84 -374
  34. package/lib/icon/angle-up-fill.js +84 -374
  35. package/lib/icon/angle-up.js +84 -374
  36. package/lib/icon/archive-fill.js +84 -374
  37. package/lib/icon/arrows-left.js +84 -374
  38. package/lib/icon/arrows-right.js +84 -374
  39. package/lib/icon/assistant.js +84 -374
  40. package/lib/icon/audio-fill.js +84 -374
  41. package/lib/icon/bk.js +84 -374
  42. package/lib/icon/circle.js +84 -374
  43. package/lib/icon/close-line.js +84 -374
  44. package/lib/icon/close.js +84 -374
  45. package/lib/icon/code.js +84 -374
  46. package/lib/icon/cog-shape.js +84 -374
  47. package/lib/icon/collapse-left.js +84 -374
  48. package/lib/icon/copy-shape.js +84 -374
  49. package/lib/icon/copy.js +84 -374
  50. package/lib/icon/data-shape.js +84 -374
  51. package/lib/icon/del.js +84 -374
  52. package/lib/icon/doc-fill.js +84 -374
  53. package/lib/icon/done.js +84 -374
  54. package/lib/icon/down-shape.js +84 -374
  55. package/lib/icon/down-small.js +84 -374
  56. package/lib/icon/edit-line.js +84 -374
  57. package/lib/icon/ellipsis.js +84 -374
  58. package/lib/icon/enlarge-line.js +84 -374
  59. package/lib/icon/error.js +84 -374
  60. package/lib/icon/excel-fill.js +84 -374
  61. package/lib/icon/exclamation-circle-shape.js +84 -374
  62. package/lib/icon/eye.js +84 -374
  63. package/lib/icon/filliscreen-line.js +84 -374
  64. package/lib/icon/fix-line.js +84 -374
  65. package/lib/icon/fix-shape.js +84 -374
  66. package/lib/icon/folder-open.js +84 -374
  67. package/lib/icon/folder-shape-open.js +84 -374
  68. package/lib/icon/folder-shape.js +84 -374
  69. package/lib/icon/folder.js +84 -374
  70. package/lib/icon/funnel.js +84 -374
  71. package/lib/icon/help-document-fill.js +84 -374
  72. package/lib/icon/help-fill.js +84 -374
  73. package/lib/icon/help.js +84 -374
  74. package/lib/icon/image-fill.js +131 -382
  75. package/lib/icon/img-error.js +131 -382
  76. package/lib/icon/img-placehoulder.js +131 -382
  77. package/lib/icon/index.js +563 -531
  78. package/lib/icon/info-line.js +131 -382
  79. package/lib/icon/info.js +131 -382
  80. package/lib/icon/left-shape.js +131 -382
  81. package/lib/icon/left-turn-line.js +131 -382
  82. package/lib/icon/narrow-line.js +131 -382
  83. package/lib/icon/original.js +131 -382
  84. package/lib/icon/pdf-fill.js +131 -382
  85. package/lib/icon/play-shape.js +131 -382
  86. package/lib/icon/plus.js +131 -382
  87. package/lib/icon/ppt-fill.js +131 -382
  88. package/lib/icon/qq.js +131 -382
  89. package/lib/icon/right-shape.js +131 -382
  90. package/lib/icon/right-turn-line.js +131 -382
  91. package/lib/icon/search.js +131 -382
  92. package/lib/icon/share.js +131 -382
  93. package/lib/icon/spinner.js +131 -382
  94. package/lib/icon/success.js +131 -382
  95. package/lib/icon/switcher-loading.js +131 -382
  96. package/lib/icon/text-file.js +131 -382
  97. package/lib/icon/text-fill.js +131 -382
  98. package/lib/icon/transfer.js +131 -382
  99. package/lib/icon/tree-application-shape.js +131 -382
  100. package/lib/icon/unfull-screen.js +131 -382
  101. package/lib/icon/unvisible.js +131 -382
  102. package/lib/icon/up-shape.js +131 -382
  103. package/lib/icon/upload.js +131 -382
  104. package/lib/icon/video-fill.js +131 -382
  105. package/lib/icon/warn.js +131 -382
  106. package/lib/icon/weixin-pro.js +131 -382
  107. package/lib/icon/weixin.js +131 -382
  108. package/lib/image/index.js +57 -9
  109. package/lib/info-box/index.js +145 -436
  110. package/lib/input/index.js +105 -415
  111. package/lib/link/index.js +2 -2
  112. package/lib/loading/index.js +18 -16
  113. package/lib/menu/index.js +22 -23
  114. package/lib/message/index.js +62 -57
  115. package/lib/modal/index.js +77 -18
  116. package/lib/navigation/index.js +11 -11
  117. package/lib/notify/index.js +51 -48
  118. package/lib/overflow-title/index.js +6 -5
  119. package/lib/plugin-popover/index.js +202 -364
  120. package/lib/popover/index.js +202 -364
  121. package/lib/process/index.js +55 -395
  122. package/lib/progress/index.js +51 -48
  123. package/lib/radio/index.js +4 -4
  124. package/lib/rate/index.js +2 -2
  125. package/lib/resize-layout/index.js +4 -5
  126. package/lib/search-select/index.js +179 -486
  127. package/lib/select/index.js +148 -479
  128. package/lib/shared/index.js +176 -352
  129. package/lib/sideslider/index.js +82 -373
  130. package/lib/slider/index.js +48 -386
  131. package/lib/steps/index.js +67 -405
  132. package/lib/swiper/index.js +10 -10
  133. package/lib/switcher/index.js +2 -2
  134. package/lib/tab/index.js +63 -8
  135. package/lib/table/index.js +262 -424
  136. package/lib/table-column/index.js +7 -6
  137. package/lib/tag/index.js +2 -2
  138. package/lib/tag-input/index.js +29 -21
  139. package/lib/timeline/index.js +6 -7
  140. package/lib/transfer/index.js +8 -8
  141. package/lib/tree/index.js +139 -319
  142. package/lib/upload/index.js +104 -423
  143. package/lib/virtual-render/index.js +60 -16
  144. package/package.json +2 -1
@@ -94,6 +94,8 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
94
94
  ;// CONCATENATED MODULE: ../../packages/loading/src/loading.tsx
95
95
 
96
96
 
97
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
98
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
97
99
  /*
98
100
  * Tencent is pleased to support the open source community by making
99
101
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -189,7 +191,7 @@ var loadingTypes = {
189
191
  };
190
192
  });
191
193
  var maskStyle = (0,external_vue_namespaceObject.computed)(function () {
192
- return Object.assign({
194
+ return _objectSpread({
193
195
  opacity: props.opacity,
194
196
  backgroundColor: props.color
195
197
  }, zIndexStyle.value);
@@ -216,10 +218,10 @@ var loadingTypes = {
216
218
  return isSpinMode ? spinIndicator : dotIndicator;
217
219
  });
218
220
  return function () {
219
- var _a, _b;
221
+ var _ctx$slots$default, _ctx$slots;
220
222
  return (0,external_vue_namespaceObject.createVNode)("div", {
221
223
  "class": loadingWrapperCls.value
222
- }, [(_b = (_a = ctx.slots)["default"]) === null || _b === void 0 ? void 0 : _b.call(_a), props.loading && [(ctx.slots["default"] || props.isDirective) && (0,external_vue_namespaceObject.createVNode)("div", {
224
+ }, [(_ctx$slots$default = (_ctx$slots = ctx.slots)["default"]) === null || _ctx$slots$default === void 0 ? void 0 : _ctx$slots$default.call(_ctx$slots), props.loading && [(ctx.slots["default"] || props.isDirective) && (0,external_vue_namespaceObject.createVNode)("div", {
223
225
  "class": "".concat(resolveClassName('loading-mask')),
224
226
  "style": maskStyle.value
225
227
  }, null), (0,external_vue_namespaceObject.createVNode)("div", {
@@ -261,21 +263,21 @@ var loadingTypes = {
261
263
 
262
264
  var INSTANCE_KEY = Symbol('vBkLoading');
263
265
  var createInstance = function createInstance(el, binding) {
264
- var _a, _b, _c, _d, _e;
266
+ var _getBindingProp, _getBindingProp2, _getBindingProp3, _getBindingProp4, _getBindingProp5;
265
267
  var getBindingProp = function getBindingProp(key) {
266
- var _a, _b;
267
- return (_b = (_a = binding.value) === null || _a === void 0 ? void 0 : _a[key]) !== null && _b !== void 0 ? _b : undefined;
268
+ var _binding$value$key, _binding$value;
269
+ return (_binding$value$key = (_binding$value = binding.value) === null || _binding$value === void 0 ? void 0 : _binding$value[key]) !== null && _binding$value$key !== void 0 ? _binding$value$key : undefined;
268
270
  };
269
271
  var options = (0,external_vue_namespaceObject.reactive)({
270
272
  indicator: getBindingProp('indicator'),
271
- loading: (_a = getBindingProp('loading')) !== null && _a !== void 0 ? _a : false,
272
- inline: (_b = getBindingProp('inline')) !== null && _b !== void 0 ? _b : false,
273
+ loading: (_getBindingProp = getBindingProp('loading')) !== null && _getBindingProp !== void 0 ? _getBindingProp : false,
274
+ inline: (_getBindingProp2 = getBindingProp('inline')) !== null && _getBindingProp2 !== void 0 ? _getBindingProp2 : false,
273
275
  theme: getBindingProp('theme'),
274
- title: (_c = getBindingProp('title')) !== null && _c !== void 0 ? _c : '',
275
- size: (_d = getBindingProp('size')) !== null && _d !== void 0 ? _d : '',
276
+ title: (_getBindingProp3 = getBindingProp('title')) !== null && _getBindingProp3 !== void 0 ? _getBindingProp3 : '',
277
+ size: (_getBindingProp4 = getBindingProp('size')) !== null && _getBindingProp4 !== void 0 ? _getBindingProp4 : '',
276
278
  mode: getBindingProp('mode'),
277
279
  opacity: getBindingProp('opacity'),
278
- color: (_e = getBindingProp('color')) !== null && _e !== void 0 ? _e : 'white',
280
+ color: (_getBindingProp5 = getBindingProp('color')) !== null && _getBindingProp5 !== void 0 ? _getBindingProp5 : 'white',
279
281
  zIndex: getBindingProp('zIndex'),
280
282
  isDirective: true
281
283
  });
@@ -316,19 +318,19 @@ var vBkloading = {
316
318
  }
317
319
  },
318
320
  updated: function updated(el, binding) {
319
- var _a, _b, _c;
321
+ var _instance$vm;
320
322
  var instance = el[INSTANCE_KEY];
321
323
  var value = binding.value;
322
324
  updateOptions(value, instance.options);
323
- if ((_c = (_b = (_a = instance === null || instance === void 0 ? void 0 : instance.vm) === null || _a === void 0 ? void 0 : _a.$el) === null || _b === void 0 ? void 0 : _b.parentNode) === null || _c === void 0 ? void 0 : _c.style) {
325
+ if (instance !== null && instance !== void 0 && (_instance$vm = instance.vm) !== null && _instance$vm !== void 0 && (_instance$vm = _instance$vm.$el) !== null && _instance$vm !== void 0 && (_instance$vm = _instance$vm.parentNode) !== null && _instance$vm !== void 0 && _instance$vm.style) {
324
326
  instance.vm.$el.parentNode.style.display = value.loading ? '' : 'none';
325
327
  }
326
328
  },
327
329
  unmounted: function unmounted(el) {
328
- var _a, _b, _c;
330
+ var _instance$vm2, _instance$instance;
329
331
  var instance = el[INSTANCE_KEY];
330
- el === null || el === void 0 ? void 0 : el.removeChild((_b = (_a = instance === null || instance === void 0 ? void 0 : instance.vm) === null || _a === void 0 ? void 0 : _a.$el) === null || _b === void 0 ? void 0 : _b.parentNode);
331
- (_c = instance === null || instance === void 0 ? void 0 : instance.instance) === null || _c === void 0 ? void 0 : _c.unmount();
332
+ el === null || el === void 0 ? void 0 : el.removeChild(instance === null || instance === void 0 || (_instance$vm2 = instance.vm) === null || _instance$vm2 === void 0 || (_instance$vm2 = _instance$vm2.$el) === null || _instance$vm2 === void 0 ? void 0 : _instance$vm2.parentNode);
333
+ instance === null || instance === void 0 || (_instance$instance = instance.instance) === null || _instance$instance === void 0 ? void 0 : _instance$instance.unmount();
332
334
  el[INSTANCE_KEY] = null;
333
335
  }
334
336
  };
package/lib/menu/index.js CHANGED
@@ -182,9 +182,9 @@ var useMenuInject = function useMenuInject() {
182
182
  return (0,external_vue_namespaceObject.inject)(MENU_PROVIDER_KEY);
183
183
  };
184
184
  var useMenuPathInject = function useMenuPathInject() {
185
- var _a;
185
+ var _instance$vnode$appCo;
186
186
  var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
187
- var provides = !instance.parent ? (_a = instance.vnode.appContext) === null || _a === void 0 ? void 0 : _a.provides : instance.parent.provides;
187
+ var provides = !instance.parent ? (_instance$vnode$appCo = instance.vnode.appContext) === null || _instance$vnode$appCo === void 0 ? void 0 : _instance$vnode$appCo.provides : instance.parent.provides;
188
188
  if (provides && MENU_PROVIDER_KEY_PATH in provides) {
189
189
  return (0,external_vue_namespaceObject.inject)(MENU_PROVIDER_KEY_PATH);
190
190
  }
@@ -282,6 +282,8 @@ var collapseMotion = function collapseMotion() {
282
282
 
283
283
 
284
284
 
285
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
286
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
285
287
  /*
286
288
  * Tencent is pleased to support the open source community by making
287
289
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -366,11 +368,11 @@ var menuProps = {
366
368
  immediate: true
367
369
  });
368
370
  var registerMenuInfo = function registerMenuInfo(key, info) {
369
- menuStore.value = Object.assign(Object.assign({}, menuStore.value), _defineProperty({}, key, info));
371
+ menuStore.value = _objectSpread(_objectSpread({}, menuStore.value), {}, _defineProperty({}, key, info));
370
372
  };
371
373
  var unregisterMenuInfo = function unregisterMenuInfo(key) {
372
374
  delete menuStore.value[key];
373
- menuStore.value = Object.assign({}, menuStore.value);
375
+ menuStore.value = _objectSpread({}, menuStore.value);
374
376
  };
375
377
  var handleOpenChange = function handleOpenChange(key, opened) {
376
378
  if (opened) {
@@ -409,11 +411,10 @@ var menuProps = {
409
411
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
410
412
  resolveClassName = _usePrefix.resolveClassName;
411
413
  return function () {
412
- var _ref2;
413
- var _a;
414
+ var _ref2, _slots$default;
414
415
  return (0,external_vue_namespaceObject.createVNode)("div", {
415
416
  "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('menu')), true), _defineProperty(_ref2, 'is-collapse', collapse.value), _ref2)
416
- }, [(_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)]);
417
+ }, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)]);
417
418
  };
418
419
  }
419
420
  }));
@@ -459,14 +460,14 @@ var menuProps = {
459
460
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
460
461
  resolveClassName = _usePrefix.resolveClassName;
461
462
  return function () {
462
- var _a;
463
+ var _slots$default;
463
464
  return (0,external_vue_namespaceObject.createVNode)("div", {
464
465
  "class": "".concat(resolveClassName('menu-group'))
465
466
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
466
467
  "class": "group-name"
467
468
  }, [props.name]), (0,external_vue_namespaceObject.createVNode)("ul", {
468
469
  "class": "group-wrap"
469
- }, [(_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)])]);
470
+ }, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)])]);
470
471
  };
471
472
  }
472
473
  }));
@@ -513,9 +514,9 @@ var menuProps = {
513
514
  // slots: ['icon'],
514
515
  slots: Object,
515
516
  setup: function setup(props, _ref) {
517
+ var _instance$vnode$key, _instance$vnode$key$t;
516
518
  var slots = _ref.slots,
517
519
  emit = _ref.emit;
518
- var _a, _b;
519
520
  var _useMenuInject = useMenuInject(),
520
521
  registerMenuInfo = _useMenuInject.registerMenuInfo,
521
522
  unregisterMenuInfo = _useMenuInject.unregisterMenuInfo,
@@ -524,7 +525,7 @@ var menuProps = {
524
525
  var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
525
526
  var _useMenuPathInject = useMenuPathInject(),
526
527
  parentInfo = _useMenuPathInject.parentInfo;
527
- var key = ((_b = (_a = instance.vnode.key) === null || _a === void 0 ? void 0 : _a.toString) === null || _b === void 0 ? void 0 : _b.call(_a)) || String(instance.uid);
528
+ var key = ((_instance$vnode$key = instance.vnode.key) === null || _instance$vnode$key === void 0 || (_instance$vnode$key$t = _instance$vnode$key.toString) === null || _instance$vnode$key$t === void 0 ? void 0 : _instance$vnode$key$t.call(_instance$vnode$key)) || String(instance.uid);
528
529
  var isActive = (0,external_vue_namespaceObject.computed)(function () {
529
530
  return activeKey.value === key;
530
531
  });
@@ -545,18 +546,17 @@ var menuProps = {
545
546
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
546
547
  resolveClassName = _usePrefix.resolveClassName;
547
548
  return function () {
548
- var _ref2;
549
- var _a, _b;
549
+ var _ref2, _slots$icon, _slots$default;
550
550
  return (0,external_vue_namespaceObject.createVNode)("li", {
551
551
  "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('menu-item')), true), _defineProperty(_ref2, 'is-active', isActive.value), _ref2),
552
552
  "onClick": handleClick
553
553
  }, [needIcon.value && (0,external_vue_namespaceObject.createVNode)("span", {
554
554
  "class": "item-icon"
555
- }, [((_a = slots === null || slots === void 0 ? void 0 : slots.icon) === null || _a === void 0 ? void 0 : _a.call(slots)) || (0,external_vue_namespaceObject.createVNode)("i", {
555
+ }, [(slots === null || slots === void 0 || (_slots$icon = slots.icon) === null || _slots$icon === void 0 ? void 0 : _slots$icon.call(slots)) || (0,external_vue_namespaceObject.createVNode)("i", {
556
556
  "class": "default-icon"
557
557
  }, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
558
558
  "class": "item-content"
559
- }, [(_b = slots["default"]) === null || _b === void 0 ? void 0 : _b.call(slots)])]);
559
+ }, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)])]);
560
560
  };
561
561
  }
562
562
  }));
@@ -609,9 +609,9 @@ var subMenuProps = {
609
609
  // slots: ['icon'],
610
610
  slots: Object,
611
611
  setup: function setup(props, _ref) {
612
+ var _instance$vnode$key, _instance$vnode$key$t;
612
613
  var slots = _ref.slots,
613
614
  emit = _ref.emit;
614
- var _a, _b;
615
615
  var _useMenuInject = useMenuInject(),
616
616
  registerMenuInfo = _useMenuInject.registerMenuInfo,
617
617
  unregisterMenuInfo = _useMenuInject.unregisterMenuInfo,
@@ -623,14 +623,14 @@ var subMenuProps = {
623
623
  var _useMenuPathInject = useMenuPathInject(),
624
624
  parentInfo = _useMenuPathInject.parentInfo;
625
625
  var instance = (0,external_vue_namespaceObject.getCurrentInstance)();
626
- var key = ((_b = (_a = instance.vnode.key) === null || _a === void 0 ? void 0 : _a.toString) === null || _b === void 0 ? void 0 : _b.call(_a)) || String(instance.uid);
626
+ var key = ((_instance$vnode$key = instance.vnode.key) === null || _instance$vnode$key === void 0 || (_instance$vnode$key$t = _instance$vnode$key.toString) === null || _instance$vnode$key$t === void 0 ? void 0 : _instance$vnode$key$t.call(_instance$vnode$key)) || String(instance.uid);
627
627
  var transition = (0,external_vue_namespaceObject.ref)(collapseMotion());
628
628
  var isShow = (0,external_vue_namespaceObject.computed)(function () {
629
629
  return openedKeys.value.includes(key);
630
630
  });
631
631
  var specialCollapse = (0,external_vue_namespaceObject.computed)(function () {
632
- var _a, _b;
633
- var activeParentKey = (_b = (_a = menuStore.value) === null || _a === void 0 ? void 0 : _a[activeKey.value]) === null || _b === void 0 ? void 0 : _b.parentKey;
632
+ var _menuStore$value;
633
+ var activeParentKey = (_menuStore$value = menuStore.value) === null || _menuStore$value === void 0 || (_menuStore$value = _menuStore$value[activeKey.value]) === null || _menuStore$value === void 0 ? void 0 : _menuStore$value.parentKey;
634
634
  return collapse.value && activeParentKey === key && isShow;
635
635
  });
636
636
  useMenuPathProvider(key);
@@ -648,8 +648,7 @@ var subMenuProps = {
648
648
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
649
649
  resolveClassName = _usePrefix.resolveClassName;
650
650
  return function () {
651
- var _ref2;
652
- var _a, _b;
651
+ var _ref2, _slots$icon, _slots$default;
653
652
  return (0,external_vue_namespaceObject.createVNode)("li", {
654
653
  "class": (_ref2 = {}, _defineProperty(_ref2, "".concat(resolveClassName('menu-submenu')), true), _defineProperty(_ref2, 'is-opened', isShow.value), _ref2)
655
654
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
@@ -660,7 +659,7 @@ var subMenuProps = {
660
659
  "onClick": handleCollapse
661
660
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
662
661
  "class": "submenu-header-icon"
663
- }, [((_a = slots.icon) === null || _a === void 0 ? void 0 : _a.call(slots)) || (0,external_vue_namespaceObject.createVNode)(_namespaceObject.TreeApplicationShape, {
662
+ }, [((_slots$icon = slots.icon) === null || _slots$icon === void 0 ? void 0 : _slots$icon.call(slots)) || (0,external_vue_namespaceObject.createVNode)(_namespaceObject.TreeApplicationShape, {
664
663
  "class": "menu-icon"
665
664
  }, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
666
665
  "class": "submenu-header-content"
@@ -673,7 +672,7 @@ var subMenuProps = {
673
672
  "default": function _default() {
674
673
  return [(0,external_vue_namespaceObject.withDirectives)((0,external_vue_namespaceObject.createVNode)("ul", {
675
674
  "class": "submenu-list"
676
- }, [(_b = slots["default"]) === null || _b === void 0 ? void 0 : _b.call(slots)]), [[external_vue_namespaceObject.vShow, isShow.value]])];
675
+ }, [(_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)]), [[external_vue_namespaceObject.vShow, isShow.value]])];
677
676
  }
678
677
  })]);
679
678
  };
@@ -970,6 +970,51 @@ __webpack_require__.d(__webpack_exports__, {
970
970
  Z: () => (/* binding */ src)
971
971
  });
972
972
 
973
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
974
+ function _typeof(obj) {
975
+ "@babel/helpers - typeof";
976
+
977
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
978
+ return typeof obj;
979
+ } : function (obj) {
980
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
981
+ }, _typeof(obj);
982
+ }
983
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
984
+
985
+ function _toPrimitive(input, hint) {
986
+ if (_typeof(input) !== "object" || input === null) return input;
987
+ var prim = input[Symbol.toPrimitive];
988
+ if (prim !== undefined) {
989
+ var res = prim.call(input, hint || "default");
990
+ if (_typeof(res) !== "object") return res;
991
+ throw new TypeError("@@toPrimitive must return a primitive value.");
992
+ }
993
+ return (hint === "string" ? String : Number)(input);
994
+ }
995
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
996
+
997
+
998
+ function _toPropertyKey(arg) {
999
+ var key = _toPrimitive(arg, "string");
1000
+ return _typeof(key) === "symbol" ? key : String(key);
1001
+ }
1002
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1003
+
1004
+ function _defineProperty(obj, key, value) {
1005
+ key = _toPropertyKey(key);
1006
+ if (key in obj) {
1007
+ Object.defineProperty(obj, key, {
1008
+ value: value,
1009
+ enumerable: true,
1010
+ configurable: true,
1011
+ writable: true
1012
+ });
1013
+ } else {
1014
+ obj[key] = value;
1015
+ }
1016
+ return obj;
1017
+ }
973
1018
  ;// CONCATENATED MODULE: external "vue"
974
1019
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
975
1020
  var y = x => () => x
@@ -979,6 +1024,9 @@ var external_shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x
979
1024
  var external_shared_y = x => () => x
980
1025
  const external_shared_namespaceObject = external_shared_x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkZIndexManager, ["isElement"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.isElement });
981
1026
  ;// CONCATENATED MODULE: ../../packages/hooks/use-message.ts
1027
+
1028
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1029
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
982
1030
  /*
983
1031
  * Tencent is pleased to support the open source community by making
984
1032
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1032,7 +1080,7 @@ var Message = function Message(constructor, options) {
1032
1080
  });
1033
1081
  seed += 1;
1034
1082
  var id = "message_".concat(seed);
1035
- opts = Object.assign(Object.assign({}, opts), {
1083
+ opts = _objectSpread(_objectSpread({}, opts), {}, {
1036
1084
  offsetX: horizontalOffset,
1037
1085
  offsetY: verticalOffset,
1038
1086
  id: id
@@ -1052,9 +1100,9 @@ var Message = function Message(constructor, options) {
1052
1100
  };
1053
1101
  vm.props.onDetail = function (_isShow, id) {
1054
1102
  instances[position].forEach(function (item) {
1055
- var _a, _b;
1056
1103
  if (item.props.id !== id) {
1057
- (_b = (_a = item.component) === null || _a === void 0 ? void 0 : _a.exposed) === null || _b === void 0 ? void 0 : _b.setDetailsShow(null, false);
1104
+ var _item$component;
1105
+ (_item$component = item.component) === null || _item$component === void 0 || (_item$component = _item$component.exposed) === null || _item$component === void 0 ? void 0 : _item$component.setDetailsShow(null, false);
1058
1106
  }
1059
1107
  });
1060
1108
  // setTimeout(() => {
@@ -1129,51 +1177,6 @@ function _nonIterableSpread() {
1129
1177
  function _toConsumableArray(arr) {
1130
1178
  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
1131
1179
  }
1132
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
1133
- function _typeof(obj) {
1134
- "@babel/helpers - typeof";
1135
-
1136
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
1137
- return typeof obj;
1138
- } : function (obj) {
1139
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
1140
- }, _typeof(obj);
1141
- }
1142
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
1143
-
1144
- function _toPrimitive(input, hint) {
1145
- if (_typeof(input) !== "object" || input === null) return input;
1146
- var prim = input[Symbol.toPrimitive];
1147
- if (prim !== undefined) {
1148
- var res = prim.call(input, hint || "default");
1149
- if (_typeof(res) !== "object") return res;
1150
- throw new TypeError("@@toPrimitive must return a primitive value.");
1151
- }
1152
- return (hint === "string" ? String : Number)(input);
1153
- }
1154
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
1155
-
1156
-
1157
- function _toPropertyKey(arg) {
1158
- var key = _toPrimitive(arg, "string");
1159
- return _typeof(key) === "symbol" ? key : String(key);
1160
- }
1161
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1162
-
1163
- function _defineProperty(obj, key, value) {
1164
- key = _toPropertyKey(key);
1165
- if (key in obj) {
1166
- Object.defineProperty(obj, key, {
1167
- value: value,
1168
- enumerable: true,
1169
- configurable: true,
1170
- writable: true
1171
- });
1172
- } else {
1173
- obj[key] = value;
1174
- }
1175
- return obj;
1176
- }
1177
1180
  // EXTERNAL MODULE: ../../node_modules/clipboard/dist/clipboard.js
1178
1181
  var clipboard = __webpack_require__(7647);
1179
1182
  var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard);
@@ -1197,6 +1200,8 @@ const external_icon_namespaceObject = external_icon_x({ ["AngleDoubleDownLine"]:
1197
1200
 
1198
1201
 
1199
1202
 
1203
+ function messageConstructor_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1204
+ function messageConstructor_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? messageConstructor_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : messageConstructor_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1200
1205
  /*
1201
1206
  * Tencent is pleased to support the open source community by making
1202
1207
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -1315,14 +1320,14 @@ var messageProps = {
1315
1320
  };
1316
1321
  var isAdvance = _typeof(props.message) === 'object' && !(0,external_vue_namespaceObject.isVNode)(props.message);
1317
1322
  if (/%$/.test("".concat(props.width)) || /auto/gi.test("".concat(props.width))) {
1318
- return Object.assign({
1323
+ return messageConstructor_objectSpread({
1319
1324
  width: props.width
1320
1325
  }, minMaxWidth);
1321
1326
  }
1322
1327
  if (/^\d+/.test("".concat(props.width))) {
1323
- return /^\d+\.?\d*$/.test("".concat(props.width)) ? Object.assign({
1328
+ return /^\d+\.?\d*$/.test("".concat(props.width)) ? messageConstructor_objectSpread({
1324
1329
  width: "".concat(props.width, "px")
1325
- }, minMaxWidth) : Object.assign({
1330
+ }, minMaxWidth) : messageConstructor_objectSpread({
1326
1331
  width: props.width
1327
1332
  }, minMaxWidth);
1328
1333
  }
@@ -1554,8 +1559,8 @@ var messageProps = {
1554
1559
  });
1555
1560
  var sortActionIdList = [IMessageActionType.ASSISTANT, IMessageActionType.DETAILS, IMessageActionType.FIX, IMessageActionType.CLOSE];
1556
1561
  var actionList = (0,external_vue_namespaceObject.computed)(function () {
1557
- var _a;
1558
- if (((_a = props.actions) === null || _a === void 0 ? void 0 : _a.length) > 0) {
1562
+ var _props$actions;
1563
+ if (((_props$actions = props.actions) === null || _props$actions === void 0 ? void 0 : _props$actions.length) > 0) {
1559
1564
  var resultList = props.actions.map(function (action) {
1560
1565
  var id = action.id.toLocaleLowerCase();
1561
1566
  var defAction = defActionList.value[id];
@@ -1597,7 +1602,7 @@ var messageProps = {
1597
1602
  });
1598
1603
  });
1599
1604
  var renderMessageActions = function renderMessageActions() {
1600
- var _a, _b;
1605
+ var _slots$action, _slots$action2;
1601
1606
  var renderIcon = function renderIcon(_ref3) {
1602
1607
  var icon = _ref3.icon;
1603
1608
  if (typeof icon === 'function') {
@@ -1648,7 +1653,7 @@ var messageProps = {
1648
1653
  }, [renderIcon(action), renderText(action)]);
1649
1654
  });
1650
1655
  };
1651
- return (_b = (_a = slots.action) === null || _a === void 0 ? void 0 : _a.call(slots)) !== null && _b !== void 0 ? _b : renderActionList();
1656
+ return (_slots$action = (_slots$action2 = slots.action) === null || _slots$action2 === void 0 ? void 0 : _slots$action2.call(slots)) !== null && _slots$action !== void 0 ? _slots$action : renderActionList();
1652
1657
  };
1653
1658
  expose({
1654
1659
  setDetailsShow: setDetailsShow
@@ -1700,8 +1705,8 @@ var messageProps = {
1700
1705
  }
1701
1706
  };
1702
1707
  var renderMessage = function renderMessage() {
1703
- var _a, _b, _c;
1704
1708
  if (_typeof(_this2.message) === 'object' && !(0,external_vue_namespaceObject.isVNode)(_this2.message)) {
1709
+ var _this2$$slots$title, _this2$$slots$title2, _this2$$slots;
1705
1710
  return (0,external_vue_namespaceObject.createVNode)("div", {
1706
1711
  "class": "".concat(_this2.resolveClassName('message-content'), " multi")
1707
1712
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
@@ -1712,7 +1717,7 @@ var messageProps = {
1712
1717
  "class": "".concat(_this2.resolveClassName('message-icon'))
1713
1718
  }, [renderIcon()]), (0,external_vue_namespaceObject.createVNode)("div", {
1714
1719
  "class": "describe"
1715
- }, [(_c = (_b = (_a = _this2.$slots).title) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : "\u3010".concat(_this2.message.code, "\u3011").concat(_this2.message.overview, " ").concat(_this2.message.suggestion)])]), (0,external_vue_namespaceObject.createVNode)("div", {
1720
+ }, [(_this2$$slots$title = (_this2$$slots$title2 = (_this2$$slots = _this2.$slots).title) === null || _this2$$slots$title2 === void 0 ? void 0 : _this2$$slots$title2.call(_this2$$slots)) !== null && _this2$$slots$title !== void 0 ? _this2$$slots$title : "\u3010".concat(_this2.message.code, "\u3011").concat(_this2.message.overview, " ").concat(_this2.message.suggestion)])]), (0,external_vue_namespaceObject.createVNode)("div", {
1716
1721
  "class": "tools"
1717
1722
  }, [_this2.renderMessageActions()])]), _this2.toolOperation.isDetailShow && (0,external_vue_namespaceObject.createVNode)("div", {
1718
1723
  "class": "message-detail"
@@ -37,6 +37,51 @@ __webpack_require__.d(__webpack_exports__, {
37
37
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
38
38
  var y = x => () => x
39
39
  const external_shared_namespaceObject = x({ ["BKPopIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.BKPopIndexManager, ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["dialogTypeUnion"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.dialogTypeUnion, ["renderDirectiveType"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.renderDirectiveType, ["withInstallProps"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.withInstallProps });
40
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
41
+ function _typeof(obj) {
42
+ "@babel/helpers - typeof";
43
+
44
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
45
+ return typeof obj;
46
+ } : function (obj) {
47
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
48
+ }, _typeof(obj);
49
+ }
50
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
51
+
52
+ function _toPrimitive(input, hint) {
53
+ if (_typeof(input) !== "object" || input === null) return input;
54
+ var prim = input[Symbol.toPrimitive];
55
+ if (prim !== undefined) {
56
+ var res = prim.call(input, hint || "default");
57
+ if (_typeof(res) !== "object") return res;
58
+ throw new TypeError("@@toPrimitive must return a primitive value.");
59
+ }
60
+ return (hint === "string" ? String : Number)(input);
61
+ }
62
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
63
+
64
+
65
+ function _toPropertyKey(arg) {
66
+ var key = _toPrimitive(arg, "string");
67
+ return _typeof(key) === "symbol" ? key : String(key);
68
+ }
69
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
70
+
71
+ function _defineProperty(obj, key, value) {
72
+ key = _toPropertyKey(key);
73
+ if (key in obj) {
74
+ Object.defineProperty(obj, key, {
75
+ value: value,
76
+ enumerable: true,
77
+ configurable: true,
78
+ writable: true
79
+ });
80
+ } else {
81
+ obj[key] = value;
82
+ }
83
+ return obj;
84
+ }
40
85
  ;// CONCATENATED MODULE: external "vue"
41
86
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
42
87
  var external_vue_y = x => () => x
@@ -134,6 +179,9 @@ var propsMixin = {
134
179
  };
135
180
  ;// CONCATENATED MODULE: ../../packages/modal/src/modal.tsx
136
181
 
182
+
183
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
184
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
137
185
  /*
138
186
  * Tencent is pleased to support the open source community by making
139
187
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -165,7 +213,7 @@ var propsMixin = {
165
213
 
166
214
  /* harmony default export */ const modal = ((0,external_vue_namespaceObject.defineComponent)({
167
215
  name: 'Modal',
168
- props: Object.assign({}, propsMixin),
216
+ props: _objectSpread({}, propsMixin),
169
217
  emits: ['quick-close', 'quickClose', 'hidden', 'shown', 'close'],
170
218
  data: function data() {
171
219
  return {
@@ -220,7 +268,6 @@ var propsMixin = {
220
268
  visible: {
221
269
  handler: function handler(val) {
222
270
  var _this2 = this;
223
- var _a, _b, _c;
224
271
  if (val) {
225
272
  this.$nextTick(function () {
226
273
  // isShow初始化为true的时候,放在nextTick才能获取$el
@@ -234,26 +281,27 @@ var propsMixin = {
234
281
  _this2.$emit('shown');
235
282
  });
236
283
  } else {
237
- (_a = this.bkPopIndexManager) === null || _a === void 0 ? void 0 : _a.removeLastEvent();
238
- (_b = this.bkPopIndexManager) === null || _b === void 0 ? void 0 : _b.hide(this.$el, !!this.transfer);
239
- (_c = this.bkPopIndexManager) === null || _c === void 0 ? void 0 : _c.destroy();
284
+ var _this$bkPopIndexManag, _this$bkPopIndexManag2, _this$bkPopIndexManag3;
285
+ (_this$bkPopIndexManag = this.bkPopIndexManager) === null || _this$bkPopIndexManag === void 0 ? void 0 : _this$bkPopIndexManag.removeLastEvent();
286
+ (_this$bkPopIndexManag2 = this.bkPopIndexManager) === null || _this$bkPopIndexManag2 === void 0 ? void 0 : _this$bkPopIndexManag2.hide(this.$el, !!this.transfer);
287
+ (_this$bkPopIndexManag3 = this.bkPopIndexManager) === null || _this$bkPopIndexManag3 === void 0 ? void 0 : _this$bkPopIndexManag3.destroy();
240
288
  }
241
289
  },
242
290
  immediate: true
243
291
  }
244
292
  },
245
293
  mounted: function mounted() {
246
- var _a;
247
- var popConfig = Object.assign(Object.assign({}, this.$props), {
248
- transfer: this.transfer === 'parent' ? (_a = this.$el) === null || _a === void 0 ? void 0 : _a.parentElement : this.transfer
294
+ var _this$$el;
295
+ var popConfig = _objectSpread(_objectSpread({}, this.$props), {
296
+ transfer: this.transfer === 'parent' ? (_this$$el = this.$el) === null || _this$$el === void 0 ? void 0 : _this$$el.parentElement : this.transfer
249
297
  });
250
298
  this.bkPopIndexManager = new external_shared_namespaceObject.BKPopIndexManager(popConfig);
251
299
  },
252
300
  beforeUnmount: function beforeUnmount() {
253
- var _a, _b;
254
301
  if (this.visible) {
255
- (_a = this.bkPopIndexManager) === null || _a === void 0 ? void 0 : _a.hide(this.$el);
256
- (_b = this.bkPopIndexManager) === null || _b === void 0 ? void 0 : _b.destroy();
302
+ var _this$bkPopIndexManag4, _this$bkPopIndexManag5;
303
+ (_this$bkPopIndexManag4 = this.bkPopIndexManager) === null || _this$bkPopIndexManag4 === void 0 ? void 0 : _this$bkPopIndexManag4.hide(this.$el);
304
+ (_this$bkPopIndexManag5 = this.bkPopIndexManager) === null || _this$bkPopIndexManag5 === void 0 ? void 0 : _this$bkPopIndexManag5.destroy();
257
305
  }
258
306
  },
259
307
  methods: {
@@ -266,8 +314,19 @@ var propsMixin = {
266
314
  }
267
315
  },
268
316
  render: function render() {
269
- var _this3 = this;
270
- var _a, _b, _c, _d, _f, _g, _h, _j, _k, _l, _m, _o;
317
+ var _this$$slots$header,
318
+ _this$$slots$header2,
319
+ _this$$slots,
320
+ _this$$slots$default,
321
+ _this$$slots$default2,
322
+ _this$$slots2,
323
+ _this$$slots$footer,
324
+ _this$$slots$footer2,
325
+ _this$$slots3,
326
+ _this$$slots$close,
327
+ _this$$slots$close2,
328
+ _this$$slots4,
329
+ _this3 = this;
271
330
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
272
331
  resolveClassName = _usePrefix.resolveClassName;
273
332
  var maxHeight = this.maxHeight ? {
@@ -285,14 +344,14 @@ var propsMixin = {
285
344
  "class": bodyClass
286
345
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
287
346
  "class": resolveClassName('modal-header')
288
- }, [(_c = (_b = (_a = _this3.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a)) !== null && _c !== void 0 ? _c : '']), (0,external_vue_namespaceObject.createVNode)("div", {
347
+ }, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots = _this3.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : '']), (0,external_vue_namespaceObject.createVNode)("div", {
289
348
  "class": resolveClassName('modal-content'),
290
- "style": [_this3.dialogType === 'show' ? 'padding-bottom: 20px' : '', Object.assign({}, maxHeight)]
291
- }, [(_g = (_f = (_d = _this3.$slots)["default"]) === null || _f === void 0 ? void 0 : _f.call(_d)) !== null && _g !== void 0 ? _g : '']), _this3.dialogType === 'show' ? '' : (0,external_vue_namespaceObject.createVNode)("div", {
349
+ "style": [_this3.dialogType === 'show' ? 'padding-bottom: 20px' : '', _objectSpread({}, maxHeight)]
350
+ }, [(_this$$slots$default = (_this$$slots$default2 = (_this$$slots2 = _this3.$slots)["default"]) === null || _this$$slots$default2 === void 0 ? void 0 : _this$$slots$default2.call(_this$$slots2)) !== null && _this$$slots$default !== void 0 ? _this$$slots$default : '']), _this3.dialogType === 'show' ? '' : (0,external_vue_namespaceObject.createVNode)("div", {
292
351
  "class": resolveClassName('modal-footer')
293
- }, [(_k = (_j = (_h = _this3.$slots).footer) === null || _j === void 0 ? void 0 : _j.call(_h)) !== null && _k !== void 0 ? _k : '']), _this3.closeIcon && (0,external_vue_namespaceObject.createVNode)("div", {
352
+ }, [(_this$$slots$footer = (_this$$slots$footer2 = (_this$$slots3 = _this3.$slots).footer) === null || _this$$slots$footer2 === void 0 ? void 0 : _this$$slots$footer2.call(_this$$slots3)) !== null && _this$$slots$footer !== void 0 ? _this$$slots$footer : '']), _this3.closeIcon && (0,external_vue_namespaceObject.createVNode)("div", {
294
353
  "class": resolveClassName('modal-close')
295
- }, [(_o = (_m = (_l = _this3.$slots).close) === null || _m === void 0 ? void 0 : _m.call(_l)) !== null && _o !== void 0 ? _o : ''])]) : ''];
354
+ }, [(_this$$slots$close = (_this$$slots$close2 = (_this$$slots4 = _this3.$slots).close) === null || _this$$slots$close2 === void 0 ? void 0 : _this$$slots$close2.call(_this$$slots4)) !== null && _this$$slots$close !== void 0 ? _this$$slots$close : ''])]) : ''];
296
355
  }
297
356
  })]);
298
357
  }