bkui-vue 2.0.2-beta.47 → 2.0.2-beta.49

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 (154) hide show
  1. package/dist/index.cjs.js +42 -47
  2. package/dist/index.esm.js +7009 -7201
  3. package/dist/index.umd.js +45 -50
  4. package/lib/affix/index.js +14 -12
  5. package/lib/alert/index.js +14 -12
  6. package/lib/animate-number/index.js +12 -11
  7. package/lib/backtop/index.js +11 -10
  8. package/lib/badge/index.js +14 -12
  9. package/lib/breadcrumb/index.js +14 -12
  10. package/lib/button/index.js +14 -12
  11. package/lib/card/index.js +14 -12
  12. package/lib/cascader/index.js +101 -94
  13. package/lib/checkbox/index.js +35 -37
  14. package/lib/code-diff/index.js +674 -1170
  15. package/lib/collapse/index.js +42 -44
  16. package/lib/collapse-transition/index.js +4 -3
  17. package/lib/color-picker/index.js +60 -59
  18. package/lib/config-provider/index.js +14 -12
  19. package/lib/container/index.js +25 -21
  20. package/lib/date-picker/index.js +51 -58
  21. package/lib/dialog/index.js +441 -43
  22. package/lib/directives/index.js +34 -37
  23. package/lib/divider/index.js +3 -2
  24. package/lib/dropdown/index.js +21 -17
  25. package/lib/exception/index.js +17 -14
  26. package/lib/fixed-navbar/index.js +3 -2
  27. package/lib/form/index.js +34 -37
  28. package/lib/icon/angle-double-down-line.js +36 -29
  29. package/lib/icon/angle-double-left-line.js +36 -29
  30. package/lib/icon/angle-double-left.js +36 -29
  31. package/lib/icon/angle-double-right-line.js +36 -29
  32. package/lib/icon/angle-double-right.js +36 -29
  33. package/lib/icon/angle-double-up-line.js +36 -29
  34. package/lib/icon/angle-down-fill.js +36 -29
  35. package/lib/icon/angle-down-line.js +36 -29
  36. package/lib/icon/angle-down.js +36 -29
  37. package/lib/icon/angle-left.js +36 -29
  38. package/lib/icon/angle-right.js +36 -29
  39. package/lib/icon/angle-up-fill.js +36 -29
  40. package/lib/icon/angle-up.js +36 -29
  41. package/lib/icon/archive-fill.js +36 -29
  42. package/lib/icon/arrows-left.js +36 -29
  43. package/lib/icon/arrows-right.js +36 -29
  44. package/lib/icon/assistant.js +36 -29
  45. package/lib/icon/audio-fill.js +36 -29
  46. package/lib/icon/bk.js +36 -29
  47. package/lib/icon/circle.js +36 -29
  48. package/lib/icon/close-line.js +36 -29
  49. package/lib/icon/close.js +36 -29
  50. package/lib/icon/code.js +36 -29
  51. package/lib/icon/cog-shape.js +36 -29
  52. package/lib/icon/collapse-left.js +36 -29
  53. package/lib/icon/copy-shape.js +36 -29
  54. package/lib/icon/copy.js +36 -29
  55. package/lib/icon/data-shape.js +36 -29
  56. package/lib/icon/del.js +36 -29
  57. package/lib/icon/doc-fill.js +36 -29
  58. package/lib/icon/done.js +36 -29
  59. package/lib/icon/down-shape.js +36 -29
  60. package/lib/icon/down-small.js +36 -29
  61. package/lib/icon/edit-line.js +36 -29
  62. package/lib/icon/ellipsis.js +36 -29
  63. package/lib/icon/enlarge-line.js +36 -29
  64. package/lib/icon/error.js +36 -29
  65. package/lib/icon/excel-fill.js +36 -29
  66. package/lib/icon/exclamation-circle-shape.js +36 -29
  67. package/lib/icon/eye.js +36 -29
  68. package/lib/icon/filliscreen-line.js +36 -29
  69. package/lib/icon/fix-line.js +36 -29
  70. package/lib/icon/fix-shape.js +36 -29
  71. package/lib/icon/folder-open.js +36 -29
  72. package/lib/icon/folder-shape-open.js +36 -29
  73. package/lib/icon/folder-shape.js +36 -29
  74. package/lib/icon/folder.js +36 -29
  75. package/lib/icon/funnel.js +36 -29
  76. package/lib/icon/grag-fill.js +36 -29
  77. package/lib/icon/help-document-fill.js +36 -29
  78. package/lib/icon/help-fill.js +36 -29
  79. package/lib/icon/help.js +36 -29
  80. package/lib/icon/image-fill.js +36 -29
  81. package/lib/icon/img-error.js +36 -29
  82. package/lib/icon/img-placehoulder.js +36 -29
  83. package/lib/icon/info-line.js +36 -29
  84. package/lib/icon/info.js +36 -29
  85. package/lib/icon/left-shape.js +36 -29
  86. package/lib/icon/left-turn-line.js +36 -29
  87. package/lib/icon/loading.js +36 -29
  88. package/lib/icon/narrow-line.js +36 -29
  89. package/lib/icon/original.js +36 -29
  90. package/lib/icon/pdf-fill.js +36 -29
  91. package/lib/icon/play-shape.js +36 -29
  92. package/lib/icon/plus.js +36 -29
  93. package/lib/icon/ppt-fill.js +36 -29
  94. package/lib/icon/qq.js +36 -29
  95. package/lib/icon/right-shape.js +36 -29
  96. package/lib/icon/right-turn-line.js +36 -29
  97. package/lib/icon/search.js +36 -29
  98. package/lib/icon/share.js +36 -29
  99. package/lib/icon/spinner.js +36 -29
  100. package/lib/icon/success.js +36 -29
  101. package/lib/icon/switcher-loading.js +36 -29
  102. package/lib/icon/text-all.js +36 -29
  103. package/lib/icon/text-file.js +36 -29
  104. package/lib/icon/text-fill.js +36 -29
  105. package/lib/icon/transfer.js +36 -29
  106. package/lib/icon/tree-application-shape.js +36 -29
  107. package/lib/icon/unfull-screen.js +36 -29
  108. package/lib/icon/unvisible.js +36 -29
  109. package/lib/icon/up-shape.js +36 -29
  110. package/lib/icon/upload.js +36 -29
  111. package/lib/icon/video-fill.js +36 -29
  112. package/lib/icon/warn.js +36 -29
  113. package/lib/icon/weixin-pro.js +36 -29
  114. package/lib/icon/weixin.js +36 -29
  115. package/lib/image/index.js +47 -49
  116. package/lib/index.js +1 -1
  117. package/lib/info-box/index.js +461 -62
  118. package/lib/input/index.js +60 -62
  119. package/lib/link/index.js +2 -2
  120. package/lib/loading/index.js +25 -22
  121. package/lib/menu/index.js +34 -36
  122. package/lib/message/index.js +31 -34
  123. package/lib/modal/index.js +14 -12
  124. package/lib/navigation/index.js +9 -7
  125. package/lib/notify/index.js +14 -12
  126. package/lib/overflow-title/index.js +10 -9
  127. package/lib/pagination/index.js +29 -32
  128. package/lib/pop-confirm/index.js +5 -4
  129. package/lib/popover/index.js +136 -209
  130. package/lib/popover2/index.js +2 -2
  131. package/lib/process/index.js +452 -59
  132. package/lib/progress/index.js +19 -16
  133. package/lib/radio/index.js +34 -37
  134. package/lib/rate/index.js +14 -12
  135. package/lib/resize-layout/index.js +20 -18
  136. package/lib/scrollbar/index.js +58 -51
  137. package/lib/search-select/index.js +595 -222
  138. package/lib/select/index.js +463 -111
  139. package/lib/shared/index.js +95 -83
  140. package/lib/sideslider/index.js +441 -43
  141. package/lib/slider/index.js +446 -49
  142. package/lib/steps/index.js +458 -60
  143. package/lib/swiper/index.js +17 -15
  144. package/lib/switcher/index.js +14 -12
  145. package/lib/tab/index.js +40 -42
  146. package/lib/table/index.js +501 -152
  147. package/lib/tag/index.js +14 -12
  148. package/lib/tag-input/index.js +41 -47
  149. package/lib/timeline/index.js +0 -1
  150. package/lib/transfer/index.js +17 -22
  151. package/lib/tree/index.js +66 -73
  152. package/lib/upload/index.js +487 -136
  153. package/lib/virtual-render/index.js +51 -47
  154. package/package.json +1 -2
@@ -692,11 +692,11 @@ const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_M
692
692
  ;// CONCATENATED MODULE: external "vue"
693
693
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
694
694
  var external_vue_y = x => () => x
695
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
695
+ const external_vue_namespaceObject = external_vue_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, ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["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, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
696
696
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
697
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, 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 o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
698
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
699
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
697
+ 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; } } }; }
698
+ 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); }
699
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
700
700
  /*
701
701
  * Tencent is pleased to support the open source community by making
702
702
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -829,7 +829,6 @@ function _typeof(o) {
829
829
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
830
830
  }, _typeof(o);
831
831
  }
832
-
833
832
  ;// CONCATENATED MODULE: external "../popover"
834
833
  var popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
835
834
  var popover_y = x => () => x
@@ -1001,68 +1000,66 @@ function toPrimitive(t, r) {
1001
1000
  }
1002
1001
  return ("string" === r ? String : Number)(t);
1003
1002
  }
1004
-
1005
1003
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
1006
1004
 
1007
1005
 
1008
1006
  function toPropertyKey(t) {
1009
1007
  var i = toPrimitive(t, "string");
1010
- return "symbol" == _typeof(i) ? i : i + "";
1008
+ return "symbol" == _typeof(i) ? i : String(i);
1011
1009
  }
1012
-
1013
1010
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
1014
1011
 
1015
- function _defineProperty(e, r, t) {
1016
- return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
1017
- value: t,
1018
- enumerable: !0,
1019
- configurable: !0,
1020
- writable: !0
1021
- }) : e[r] = t, e;
1012
+ function _defineProperty(obj, key, value) {
1013
+ key = toPropertyKey(key);
1014
+ if (key in obj) {
1015
+ Object.defineProperty(obj, key, {
1016
+ value: value,
1017
+ enumerable: true,
1018
+ configurable: true,
1019
+ writable: true
1020
+ });
1021
+ } else {
1022
+ obj[key] = value;
1023
+ }
1024
+ return obj;
1022
1025
  }
1023
-
1024
1026
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
1025
- function arrayLikeToArray_arrayLikeToArray(r, a) {
1026
- (null == a || a > r.length) && (a = r.length);
1027
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
1028
- return n;
1027
+ function arrayLikeToArray_arrayLikeToArray(arr, len) {
1028
+ if (len == null || len > arr.length) len = arr.length;
1029
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
1030
+ return arr2;
1029
1031
  }
1030
-
1031
1032
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
1032
1033
 
1033
- function _arrayWithoutHoles(r) {
1034
- if (Array.isArray(r)) return arrayLikeToArray_arrayLikeToArray(r);
1034
+ function _arrayWithoutHoles(arr) {
1035
+ if (Array.isArray(arr)) return arrayLikeToArray_arrayLikeToArray(arr);
1035
1036
  }
1036
-
1037
1037
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
1038
- function _iterableToArray(r) {
1039
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
1038
+ function _iterableToArray(iter) {
1039
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
1040
1040
  }
1041
-
1042
1041
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
1043
1042
 
1044
- function unsupportedIterableToArray_unsupportedIterableToArray(r, a) {
1045
- if (r) {
1046
- if ("string" == typeof r) return arrayLikeToArray_arrayLikeToArray(r, a);
1047
- var t = {}.toString.call(r).slice(8, -1);
1048
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray_arrayLikeToArray(r, a) : void 0;
1049
- }
1043
+ function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
1044
+ if (!o) return;
1045
+ if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
1046
+ var n = Object.prototype.toString.call(o).slice(8, -1);
1047
+ if (n === "Object" && o.constructor) n = o.constructor.name;
1048
+ if (n === "Map" || n === "Set") return Array.from(o);
1049
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
1050
1050
  }
1051
-
1052
1051
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
1053
1052
  function _nonIterableSpread() {
1054
1053
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1055
1054
  }
1056
-
1057
1055
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
1058
1056
 
1059
1057
 
1060
1058
 
1061
1059
 
1062
- function _toConsumableArray(r) {
1063
- return _arrayWithoutHoles(r) || _iterableToArray(r) || unsupportedIterableToArray_unsupportedIterableToArray(r) || _nonIterableSpread();
1060
+ function _toConsumableArray(arr) {
1061
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || _nonIterableSpread();
1064
1062
  }
1065
-
1066
1063
  ;// CONCATENATED MODULE: external "@popperjs/core"
1067
1064
  var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1068
1065
  var core_y = x => () => x
@@ -1429,7 +1426,8 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
1429
1426
  * IN THE SOFTWARE.
1430
1427
  */
1431
1428
 
1432
- /* harmony default export */ const src_arrow = (defineComponent({
1429
+
1430
+ /* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
1433
1431
  name: 'PopArrow',
1434
1432
  render: function render() {
1435
1433
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
@@ -1515,7 +1513,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
1515
1513
  */
1516
1514
 
1517
1515
 
1518
- /* harmony default export */ const content = (defineComponent({
1516
+
1517
+ /* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
1519
1518
  name: 'PopContent',
1520
1519
  props: {
1521
1520
  width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
@@ -1535,7 +1534,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
1535
1534
  }
1536
1535
  return val;
1537
1536
  };
1538
- var style = computed(function () {
1537
+ var style = (0,external_vue_namespaceObject.computed)(function () {
1539
1538
  return {
1540
1539
  width: resolveValToPix(props.width),
1541
1540
  height: resolveValToPix(props.height),
@@ -1543,8 +1542,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
1543
1542
  maxWidth: resolveValToPix(props.maxWidth)
1544
1543
  };
1545
1544
  });
1546
- var refContent = ref(null);
1547
- var refTimer = ref(null);
1545
+ var refContent = (0,external_vue_namespaceObject.ref)(null);
1546
+ var refTimer = (0,external_vue_namespaceObject.ref)(null);
1548
1547
  var handleClick = function handleClick(evt) {
1549
1548
  evt.stopPropagation();
1550
1549
  emit('click', evt);
@@ -1568,7 +1567,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
1568
1567
  };
1569
1568
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1570
1569
  resolveClassName = _usePrefix.resolveClassName;
1571
- var contentClassName = computed(function () {
1570
+ var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
1572
1571
  return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
1573
1572
  });
1574
1573
  return {
@@ -1592,8 +1591,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
1592
1591
  _this$$slots3;
1593
1592
  var resolveContentStyle = function resolveContentStyle(slot) {
1594
1593
  var _slot$;
1595
- if (Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
1596
- nextTick(function () {
1594
+ if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
1595
+ (0,external_vue_namespaceObject.nextTick)(function () {
1597
1596
  _this.setContentPointerEvent('none');
1598
1597
  _this.resetPointerEvent();
1599
1598
  });
@@ -1778,7 +1777,8 @@ var PopoverProps = {
1778
1777
  * IN THE SOFTWARE.
1779
1778
  */
1780
1779
 
1781
- /* harmony default export */ const root = (defineComponent({
1780
+
1781
+ /* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
1782
1782
  props: {
1783
1783
  "class": shared_namespaceObject.PropTypes.string.def(''),
1784
1784
  mode: shared_namespaceObject.PropTypes.string.def('')
@@ -1789,10 +1789,9 @@ var PopoverProps = {
1789
1789
  }
1790
1790
  }));
1791
1791
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
1792
- function _arrayWithHoles(r) {
1793
- if (Array.isArray(r)) return r;
1792
+ function _arrayWithHoles(arr) {
1793
+ if (Array.isArray(arr)) return arr;
1794
1794
  }
1795
-
1796
1795
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
1797
1796
  function _iterableToArrayLimit(r, l) {
1798
1797
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
@@ -1821,21 +1820,18 @@ function _iterableToArrayLimit(r, l) {
1821
1820
  return a;
1822
1821
  }
1823
1822
  }
1824
-
1825
1823
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
1826
1824
  function _nonIterableRest() {
1827
1825
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1828
1826
  }
1829
-
1830
1827
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/slicedToArray.js
1831
1828
 
1832
1829
 
1833
1830
 
1834
1831
 
1835
- function _slicedToArray(r, e) {
1836
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || unsupportedIterableToArray_unsupportedIterableToArray(r, e) || _nonIterableRest();
1832
+ function _slicedToArray(arr, i) {
1833
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
1837
1834
  }
1838
-
1839
1835
  ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
1840
1836
  /**
1841
1837
  * Custom positioning reference element.
@@ -1881,9 +1877,8 @@ function floating_ui_utils_getOppositeAxis(axis) {
1881
1877
  function getAxisLength(axis) {
1882
1878
  return axis === 'y' ? 'height' : 'width';
1883
1879
  }
1884
- const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
1885
1880
  function floating_ui_utils_getSideAxis(placement) {
1886
- return yAxisSides.has(floating_ui_utils_getSide(placement)) ? 'y' : 'x';
1881
+ return ['top', 'bottom'].includes(floating_ui_utils_getSide(placement)) ? 'y' : 'x';
1887
1882
  }
1888
1883
  function getAlignmentAxis(placement) {
1889
1884
  return floating_ui_utils_getOppositeAxis(floating_ui_utils_getSideAxis(placement));
@@ -1908,19 +1903,19 @@ function getExpandedPlacements(placement) {
1908
1903
  function getOppositeAlignmentPlacement(placement) {
1909
1904
  return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
1910
1905
  }
1911
- const lrPlacement = ['left', 'right'];
1912
- const rlPlacement = ['right', 'left'];
1913
- const tbPlacement = ['top', 'bottom'];
1914
- const btPlacement = ['bottom', 'top'];
1915
1906
  function getSideList(side, isStart, rtl) {
1907
+ const lr = ['left', 'right'];
1908
+ const rl = ['right', 'left'];
1909
+ const tb = ['top', 'bottom'];
1910
+ const bt = ['bottom', 'top'];
1916
1911
  switch (side) {
1917
1912
  case 'top':
1918
1913
  case 'bottom':
1919
- if (rtl) return isStart ? rlPlacement : lrPlacement;
1920
- return isStart ? lrPlacement : rlPlacement;
1914
+ if (rtl) return isStart ? rl : lr;
1915
+ return isStart ? lr : rl;
1921
1916
  case 'left':
1922
1917
  case 'right':
1923
- return isStart ? tbPlacement : btPlacement;
1918
+ return isStart ? tb : bt;
1924
1919
  default:
1925
1920
  return [];
1926
1921
  }
@@ -1957,21 +1952,12 @@ function getPaddingObject(padding) {
1957
1952
  };
1958
1953
  }
1959
1954
  function rectToClientRect(rect) {
1960
- const {
1961
- x,
1962
- y,
1963
- width,
1964
- height
1965
- } = rect;
1966
1955
  return {
1967
- width,
1968
- height,
1969
- top: y,
1970
- left: x,
1971
- right: x + width,
1972
- bottom: y + height,
1973
- x,
1974
- y
1956
+ ...rect,
1957
+ top: rect.y,
1958
+ left: rect.x,
1959
+ right: rect.x + rect.width,
1960
+ bottom: rect.y + rect.height
1975
1961
  };
1976
1962
  }
1977
1963
 
@@ -2166,10 +2152,9 @@ async function detectOverflow(state, options) {
2166
2152
  strategy
2167
2153
  }));
2168
2154
  const rect = elementContext === 'floating' ? {
2155
+ ...rects.floating,
2169
2156
  x,
2170
- y,
2171
- width: rects.floating.width,
2172
- height: rects.floating.height
2157
+ y
2173
2158
  } : rects.reference;
2174
2159
  const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
2175
2160
  const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
@@ -2419,12 +2404,10 @@ const flip = function (options) {
2419
2404
  return {};
2420
2405
  }
2421
2406
  const side = floating_ui_utils_getSide(placement);
2422
- const initialSideAxis = floating_ui_utils_getSideAxis(initialPlacement);
2423
2407
  const isBasePlacement = floating_ui_utils_getSide(initialPlacement) === initialPlacement;
2424
2408
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
2425
2409
  const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
2426
- const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
2427
- if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
2410
+ if (!specifiedFallbackPlacements && fallbackAxisSideDirection !== 'none') {
2428
2411
  fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
2429
2412
  }
2430
2413
  const placements = [initialPlacement, ...fallbackPlacements];
@@ -2449,22 +2432,16 @@ const flip = function (options) {
2449
2432
  const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
2450
2433
  const nextPlacement = placements[nextIndex];
2451
2434
  if (nextPlacement) {
2452
- const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== floating_ui_utils_getSideAxis(nextPlacement) : false;
2453
- if (!ignoreCrossAxisOverflow ||
2454
- // We leave the current main axis only if every placement on that axis
2455
- // overflows the main axis.
2456
- overflowsData.every(d => d.overflows[0] > 0 && floating_ui_utils_getSideAxis(d.placement) === initialSideAxis)) {
2457
- // Try next placement and re-run the lifecycle.
2458
- return {
2459
- data: {
2460
- index: nextIndex,
2461
- overflows: overflowsData
2462
- },
2463
- reset: {
2464
- placement: nextPlacement
2465
- }
2466
- };
2467
- }
2435
+ // Try next placement and re-run the lifecycle.
2436
+ return {
2437
+ data: {
2438
+ index: nextIndex,
2439
+ overflows: overflowsData
2440
+ },
2441
+ reset: {
2442
+ placement: nextPlacement
2443
+ }
2444
+ };
2468
2445
  }
2469
2446
 
2470
2447
  // First, find the candidates that fit on the mainAxis side of overflow,
@@ -2476,17 +2453,8 @@ const flip = function (options) {
2476
2453
  switch (fallbackStrategy) {
2477
2454
  case 'bestFit':
2478
2455
  {
2479
- var _overflowsData$filter2;
2480
- const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
2481
- if (hasFallbackAxisSideDirection) {
2482
- const currentSideAxis = floating_ui_utils_getSideAxis(d.placement);
2483
- return currentSideAxis === initialSideAxis ||
2484
- // Create a bias to the `y` side axis due to horizontal
2485
- // reading directions favoring greater width.
2486
- currentSideAxis === 'y';
2487
- }
2488
- return true;
2489
- }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
2456
+ var _overflowsData$map$so;
2457
+ const placement = (_overflowsData$map$so = overflowsData.map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$map$so[0];
2490
2458
  if (placement) {
2491
2459
  resetPlacement = placement;
2492
2460
  }
@@ -2710,8 +2678,6 @@ const inline = function (options) {
2710
2678
  };
2711
2679
  };
2712
2680
 
2713
- const originSides = /*#__PURE__*/new Set(['left', 'top']);
2714
-
2715
2681
  // For type backwards-compatibility, the `OffsetOptions` type was also
2716
2682
  // Derivable.
2717
2683
 
@@ -2725,11 +2691,9 @@ async function convertValueToCoords(state, options) {
2725
2691
  const side = floating_ui_utils_getSide(placement);
2726
2692
  const alignment = floating_ui_utils_getAlignment(placement);
2727
2693
  const isVertical = floating_ui_utils_getSideAxis(placement) === 'y';
2728
- const mainAxisMulti = originSides.has(side) ? -1 : 1;
2694
+ const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
2729
2695
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
2730
2696
  const rawValue = floating_ui_utils_evaluate(options, state);
2731
-
2732
- // eslint-disable-next-line prefer-const
2733
2697
  let {
2734
2698
  mainAxis,
2735
2699
  crossAxis,
@@ -2739,9 +2703,10 @@ async function convertValueToCoords(state, options) {
2739
2703
  crossAxis: 0,
2740
2704
  alignmentAxis: null
2741
2705
  } : {
2742
- mainAxis: rawValue.mainAxis || 0,
2743
- crossAxis: rawValue.crossAxis || 0,
2744
- alignmentAxis: rawValue.alignmentAxis
2706
+ mainAxis: 0,
2707
+ crossAxis: 0,
2708
+ alignmentAxis: null,
2709
+ ...rawValue
2745
2710
  };
2746
2711
  if (alignment && typeof alignmentAxis === 'number') {
2747
2712
  crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
@@ -2863,11 +2828,7 @@ const shift = function (options) {
2863
2828
  ...limitedCoords,
2864
2829
  data: {
2865
2830
  x: limitedCoords.x - x,
2866
- y: limitedCoords.y - y,
2867
- enabled: {
2868
- [mainAxis]: checkMainAxis,
2869
- [crossAxis]: checkCrossAxis
2870
- }
2831
+ y: limitedCoords.y - y
2871
2832
  }
2872
2833
  };
2873
2834
  }
@@ -2925,7 +2886,7 @@ const limitShift = function (options) {
2925
2886
  if (checkCrossAxis) {
2926
2887
  var _middlewareData$offse, _middlewareData$offse2;
2927
2888
  const len = mainAxis === 'y' ? 'width' : 'height';
2928
- const isOriginSide = originSides.has(getSide(placement));
2889
+ const isOriginSide = ['top', 'left'].includes(getSide(placement));
2929
2890
  const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
2930
2891
  const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
2931
2892
  if (crossAxisCoord < limitMin) {
@@ -2956,7 +2917,6 @@ const size = function (options) {
2956
2917
  name: 'size',
2957
2918
  options,
2958
2919
  async fn(state) {
2959
- var _state$middlewareData, _state$middlewareData2;
2960
2920
  const {
2961
2921
  placement,
2962
2922
  rects,
@@ -2984,18 +2944,17 @@ const size = function (options) {
2984
2944
  widthSide = side;
2985
2945
  heightSide = alignment === 'end' ? 'top' : 'bottom';
2986
2946
  }
2987
- const maximumClippingHeight = height - overflow.top - overflow.bottom;
2988
- const maximumClippingWidth = width - overflow.left - overflow.right;
2989
- const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
2990
- const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
2947
+ const overflowAvailableHeight = height - overflow[heightSide];
2948
+ const overflowAvailableWidth = width - overflow[widthSide];
2991
2949
  const noShift = !state.middlewareData.shift;
2992
2950
  let availableHeight = overflowAvailableHeight;
2993
2951
  let availableWidth = overflowAvailableWidth;
2994
- if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
2995
- availableWidth = maximumClippingWidth;
2996
- }
2997
- if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
2998
- availableHeight = maximumClippingHeight;
2952
+ if (isYAxis) {
2953
+ const maximumClippingWidth = width - overflow.left - overflow.right;
2954
+ availableWidth = alignment || noShift ? min(overflowAvailableWidth, maximumClippingWidth) : maximumClippingWidth;
2955
+ } else {
2956
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
2957
+ availableHeight = alignment || noShift ? min(overflowAvailableHeight, maximumClippingHeight) : maximumClippingHeight;
2999
2958
  }
3000
2959
  if (noShift && !alignment) {
3001
2960
  const xMin = max(overflow.left, 0);
@@ -3029,9 +2988,6 @@ const size = function (options) {
3029
2988
 
3030
2989
 
3031
2990
  ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
3032
- function hasWindow() {
3033
- return typeof window !== 'undefined';
3034
- }
3035
2991
  function getNodeName(node) {
3036
2992
  if (isNode(node)) {
3037
2993
  return (node.nodeName || '').toLowerCase();
@@ -3050,30 +3006,21 @@ function getDocumentElement(node) {
3050
3006
  return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
3051
3007
  }
3052
3008
  function isNode(value) {
3053
- if (!hasWindow()) {
3054
- return false;
3055
- }
3056
3009
  return value instanceof Node || value instanceof getWindow(value).Node;
3057
3010
  }
3058
3011
  function floating_ui_utils_dom_isElement(value) {
3059
- if (!hasWindow()) {
3060
- return false;
3061
- }
3062
3012
  return value instanceof Element || value instanceof getWindow(value).Element;
3063
3013
  }
3064
3014
  function isHTMLElement(value) {
3065
- if (!hasWindow()) {
3066
- return false;
3067
- }
3068
3015
  return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
3069
3016
  }
3070
3017
  function isShadowRoot(value) {
3071
- if (!hasWindow() || typeof ShadowRoot === 'undefined') {
3018
+ // Browsers without `ShadowRoot` support.
3019
+ if (typeof ShadowRoot === 'undefined') {
3072
3020
  return false;
3073
3021
  }
3074
3022
  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
3075
3023
  }
3076
- const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
3077
3024
  function isOverflowElement(element) {
3078
3025
  const {
3079
3026
  overflow,
@@ -3081,42 +3028,26 @@ function isOverflowElement(element) {
3081
3028
  overflowY,
3082
3029
  display
3083
3030
  } = getComputedStyle(element);
3084
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
3031
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);
3085
3032
  }
3086
- const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
3087
3033
  function isTableElement(element) {
3088
- return tableElements.has(getNodeName(element));
3089
- }
3090
- const topLayerSelectors = [':popover-open', ':modal'];
3091
- function isTopLayer(element) {
3092
- return topLayerSelectors.some(selector => {
3093
- try {
3094
- return element.matches(selector);
3095
- } catch (_e) {
3096
- return false;
3097
- }
3098
- });
3034
+ return ['table', 'td', 'th'].includes(getNodeName(element));
3099
3035
  }
3100
- const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
3101
- const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
3102
- const containValues = ['paint', 'layout', 'strict', 'content'];
3103
- function isContainingBlock(elementOrCss) {
3036
+ function isContainingBlock(element) {
3104
3037
  const webkit = isWebKit();
3105
- const css = floating_ui_utils_dom_isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
3038
+ const css = getComputedStyle(element);
3106
3039
 
3107
3040
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
3108
- // https://drafts.csswg.org/css-transforms-2/#individual-transforms
3109
- return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
3041
+ return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
3110
3042
  }
3111
3043
  function getContainingBlock(element) {
3112
3044
  let currentNode = getParentNode(element);
3113
3045
  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
3114
3046
  if (isContainingBlock(currentNode)) {
3115
3047
  return currentNode;
3116
- } else if (isTopLayer(currentNode)) {
3117
- return null;
3048
+ } else {
3049
+ currentNode = getParentNode(currentNode);
3118
3050
  }
3119
- currentNode = getParentNode(currentNode);
3120
3051
  }
3121
3052
  return null;
3122
3053
  }
@@ -3124,9 +3055,8 @@ function isWebKit() {
3124
3055
  if (typeof CSS === 'undefined' || !CSS.supports) return false;
3125
3056
  return CSS.supports('-webkit-backdrop-filter', 'none');
3126
3057
  }
3127
- const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
3128
3058
  function isLastTraversableNode(node) {
3129
- return lastTraversableNodeNames.has(getNodeName(node));
3059
+ return ['html', 'body', '#document'].includes(getNodeName(node));
3130
3060
  }
3131
3061
  function getComputedStyle(element) {
3132
3062
  return getWindow(element).getComputedStyle(element);
@@ -3139,8 +3069,8 @@ function getNodeScroll(element) {
3139
3069
  };
3140
3070
  }
3141
3071
  return {
3142
- scrollLeft: element.scrollX,
3143
- scrollTop: element.scrollY
3072
+ scrollLeft: element.pageXOffset,
3073
+ scrollTop: element.pageYOffset
3144
3074
  };
3145
3075
  }
3146
3076
  function getParentNode(node) {
@@ -3180,14 +3110,10 @@ function getOverflowAncestors(node, list, traverseIframes) {
3180
3110
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
3181
3111
  const win = getWindow(scrollableAncestor);
3182
3112
  if (isBody) {
3183
- const frameElement = getFrameElement(win);
3184
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
3113
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
3185
3114
  }
3186
3115
  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
3187
3116
  }
3188
- function getFrameElement(win) {
3189
- return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
3190
- }
3191
3117
 
3192
3118
 
3193
3119
 
@@ -4127,9 +4053,9 @@ function use_floating_objectSpread(e) { for (var r = 1; r < arguments.length; r+
4127
4053
  var resolvePopElements = function resolvePopElements() {
4128
4054
  var _refContent$value, _refArrow$value, _refRoot$value;
4129
4055
  var elReference = resolveReferElement();
4130
- var elContent = _resolveTargetElement((_refContent$value = refContent.value) === null || _refContent$value === void 0 ? void 0 : _refContent$value.$el);
4131
- var elArrow = props.arrow ? _resolveTargetElement((_refArrow$value = refArrow.value) === null || _refArrow$value === void 0 ? void 0 : _refArrow$value.$el) : null;
4132
- var root = _resolveTargetElement((_refRoot$value = refRoot.value) === null || _refRoot$value === void 0 ? void 0 : _refRoot$value.$el);
4056
+ var elContent = resolveTargetElement((_refContent$value = refContent.value) === null || _refContent$value === void 0 ? void 0 : _refContent$value.$el);
4057
+ var elArrow = props.arrow ? resolveTargetElement((_refArrow$value = refArrow.value) === null || _refArrow$value === void 0 ? void 0 : _refArrow$value.$el) : null;
4058
+ var root = resolveTargetElement((_refRoot$value = refRoot.value) === null || _refRoot$value === void 0 ? void 0 : _refRoot$value.$el);
4133
4059
  var _contentAsHTMLElement = contentAsHTMLElement(props.content),
4134
4060
  isElement = _contentAsHTMLElement.isElement,
4135
4061
  content = _contentAsHTMLElement.content;
@@ -4145,7 +4071,7 @@ function use_floating_objectSpread(e) { for (var r = 1; r < arguments.length; r+
4145
4071
  };
4146
4072
  var resolveReferElement = function resolveReferElement() {
4147
4073
  var _refReference$value;
4148
- return _resolveTargetElement(props.target) || _resolveTargetElement((_refReference$value = refReference.value) === null || _refReference$value === void 0 ? void 0 : _refReference$value.$el);
4074
+ return resolveTargetElement(props.target) || resolveTargetElement((_refReference$value = refReference.value) === null || _refReference$value === void 0 ? void 0 : _refReference$value.$el);
4149
4075
  };
4150
4076
  var resolveModifiers = function resolveModifiers() {
4151
4077
  var resolveResult = {};
@@ -4218,12 +4144,12 @@ function use_floating_objectSpread(e) { for (var r = 1; r < arguments.length; r+
4218
4144
  // }
4219
4145
  return options;
4220
4146
  };
4221
- var _resolveTargetElement = function resolveTargetElement(target) {
4147
+ var resolveTargetElement = function resolveTargetElement(target) {
4222
4148
  if (target instanceof HTMLElement) {
4223
4149
  return target;
4224
4150
  }
4225
4151
  if (target instanceof Text) {
4226
- return _resolveTargetElement(target.nextElementSibling);
4152
+ return resolveTargetElement(target.nextElementSibling);
4227
4153
  }
4228
4154
  if (typeof (target === null || target === void 0 ? void 0 : target.getBoundingClientRect) === 'function') {
4229
4155
  return target;
@@ -4236,7 +4162,7 @@ function use_floating_objectSpread(e) { for (var r = 1; r < arguments.length; r+
4236
4162
  return null;
4237
4163
  }
4238
4164
  if (target instanceof PointerEvent) {
4239
- return _resolveTargetElement(target.target);
4165
+ return resolveTargetElement(target.target);
4240
4166
  }
4241
4167
  return null;
4242
4168
  };
@@ -4371,7 +4297,7 @@ function use_floating_objectSpread(e) { for (var r = 1; r < arguments.length; r+
4371
4297
  };
4372
4298
  var handlePopoverShow = function handlePopoverShow() {
4373
4299
  var _refContent$value2;
4374
- var elContent = _resolveTargetElement((_refContent$value2 = refContent.value) === null || _refContent$value2 === void 0 ? void 0 : _refContent$value2.$el);
4300
+ var elContent = resolveTargetElement((_refContent$value2 = refContent.value) === null || _refContent$value2 === void 0 ? void 0 : _refContent$value2.$el);
4375
4301
  elContent.style.setProperty('display', 'block');
4376
4302
  elContent.style.setProperty('z-index', "".concat(props.zIndex ? props.zIndex : shared_namespaceObject.bkZIndexManager.getPopperIndex()));
4377
4303
  updatePopover();
@@ -4381,7 +4307,7 @@ function use_floating_objectSpread(e) { for (var r = 1; r < arguments.length; r+
4381
4307
  };
4382
4308
  var handlePopoverHide = function handlePopoverHide() {
4383
4309
  var _refContent$value3;
4384
- var elContent = _resolveTargetElement((_refContent$value3 = refContent.value) === null || _refContent$value3 === void 0 ? void 0 : _refContent$value3.$el);
4310
+ var elContent = resolveTargetElement((_refContent$value3 = refContent.value) === null || _refContent$value3 === void 0 ? void 0 : _refContent$value3.$el);
4385
4311
  elContent.style.setProperty('display', 'none');
4386
4312
  ctx.emit(EMIT_EVENTS.CONTENT_AfterHidden, {
4387
4313
  isShow: false
@@ -4477,7 +4403,7 @@ function use_floating_objectSpread(e) { for (var r = 1; r < arguments.length; r+
4477
4403
  triggerPopover: triggerPopover,
4478
4404
  resolvePopElements: resolvePopElements,
4479
4405
  isElementFullScreen: isElementFullScreen,
4480
- resolveTargetElement: _resolveTargetElement,
4406
+ resolveTargetElement: resolveTargetElement,
4481
4407
  createPopInstance: createPopInstance,
4482
4408
  updateFullscreenTarget: updateFullscreenTarget,
4483
4409
  getFullscreenRoot: getFullscreenRoot,
@@ -4734,8 +4660,8 @@ var parentNodeReferId = null;
4734
4660
  root = _resolvePopElements3.root;
4735
4661
  if (isFullscreen.value) {
4736
4662
  var _fullScreenTarget$val;
4737
- var _ref0 = elReference || root || {},
4738
- parentNode = _ref0.parentNode;
4663
+ var _ref10 = elReference || root || {},
4664
+ parentNode = _ref10.parentNode;
4739
4665
  boundary.value = (_fullScreenTarget$val = fullScreenTarget === null || fullScreenTarget === void 0 ? void 0 : fullScreenTarget.value) !== null && _fullScreenTarget$val !== void 0 ? _fullScreenTarget$val : getClosestFullscreenElement(parentNode);
4740
4666
  return;
4741
4667
  }
@@ -4873,10 +4799,11 @@ var parentNodeReferId = null;
4873
4799
 
4874
4800
 
4875
4801
 
4802
+
4876
4803
  function _isSlot(s) {
4877
4804
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
4878
4805
  }
4879
- /* harmony default export */ const popover = (defineComponent({
4806
+ /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
4880
4807
  name: 'Popover',
4881
4808
  components: {
4882
4809
  Content: content,
@@ -4889,13 +4816,13 @@ function _isSlot(s) {
4889
4816
  props: PopoverProps,
4890
4817
  emits: EMIT_EVENT_TYPES,
4891
4818
  setup: function setup(props, ctx) {
4892
- var _toRefs = toRefs(props),
4819
+ var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
4893
4820
  reference = _toRefs.reference;
4894
- var refDefaultReference = ref();
4895
- var refContent = ref();
4896
- var refArrow = ref();
4897
- var refRoot = ref();
4898
- var refReference = computed(function () {
4821
+ var refDefaultReference = (0,external_vue_namespaceObject.ref)();
4822
+ var refContent = (0,external_vue_namespaceObject.ref)();
4823
+ var refArrow = (0,external_vue_namespaceObject.ref)();
4824
+ var refRoot = (0,external_vue_namespaceObject.ref)();
4825
+ var refReference = (0,external_vue_namespaceObject.computed)(function () {
4899
4826
  return reference.value || refDefaultReference.value;
4900
4827
  });
4901
4828
  var _usePopoverInit = use_popover_init(props, ctx, {
@@ -4921,7 +4848,7 @@ function _isSlot(s) {
4921
4848
  boundary = _usePopoverInit.boundary,
4922
4849
  uniqKey = _usePopoverInit.uniqKey;
4923
4850
  if (!props.always && !props.disabled) {
4924
- watch(function () {
4851
+ (0,external_vue_namespaceObject.watch)(function () {
4925
4852
  return props.isShow;
4926
4853
  }, function () {
4927
4854
  props.isShow ? showPopover() : hidePopover();
@@ -4929,7 +4856,7 @@ function _isSlot(s) {
4929
4856
  immediate: true
4930
4857
  });
4931
4858
  }
4932
- watch(function () {
4859
+ (0,external_vue_namespaceObject.watch)(function () {
4933
4860
  return [props.disabled];
4934
4861
  }, function (val) {
4935
4862
  if (val[0]) {
@@ -4939,15 +4866,15 @@ function _isSlot(s) {
4939
4866
  }
4940
4867
  });
4941
4868
  updateBoundary();
4942
- onMounted(onMountedFn);
4943
- onBeforeUnmount(onUnmountedFn);
4944
- var isRenderModeShow = computed(function () {
4869
+ (0,external_vue_namespaceObject.onMounted)(onMountedFn);
4870
+ (0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
4871
+ var isRenderModeShow = (0,external_vue_namespaceObject.computed)(function () {
4945
4872
  return props.renderDirective === 'show';
4946
4873
  });
4947
- var transBoundary = computed(function () {
4874
+ var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
4948
4875
  return isRenderModeShow.value || localIsShow.value && !props.disableTeleport;
4949
4876
  });
4950
- var contentIsShow = computed(function () {
4877
+ var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
4951
4878
  if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
4952
4879
  return true;
4953
4880
  }
@@ -5013,7 +4940,7 @@ function _isSlot(s) {
5013
4940
  _this$$slots4;
5014
4941
  var renderReferSlot = function renderReferSlot(slot) {
5015
4942
  var _slot$;
5016
- if (Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
4943
+ if (external_vue_namespaceObject.Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
5017
4944
  return (0,external_vue_namespaceObject.createVNode)("span", null, [slot]);
5018
4945
  }
5019
4946
  return slot;
@@ -5038,7 +4965,7 @@ function _isSlot(s) {
5038
4965
  "default": function _default() {
5039
4966
  return [_slot2];
5040
4967
  }
5041
- }), (0,external_vue_namespaceObject.createVNode)(Teleport, {
4968
+ }), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
5042
4969
  "disabled": !_this.transBoundary,
5043
4970
  "to": _this.boundary
5044
4971
  }, {