bkui-vue 2.0.2-beta.45 → 2.0.2-beta.46

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