bkui-vue 2.0.1-beta.106 → 2.0.1-beta.108

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 (253) hide show
  1. package/dist/index.cjs.js +71 -71
  2. package/dist/index.esm.js +18609 -18772
  3. package/dist/index.umd.js +70 -70
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +111 -57
  6. package/lib/affix/index.js +17 -17
  7. package/lib/alert/index.d.ts +126 -73
  8. package/lib/alert/index.js +20 -20
  9. package/lib/animate-number/index.d.ts +96 -33
  10. package/lib/animate-number/index.js +7 -8
  11. package/lib/backtop/index.d.ts +117 -69
  12. package/lib/backtop/index.js +10 -11
  13. package/lib/badge/index.d.ts +152 -119
  14. package/lib/badge/index.js +19 -19
  15. package/lib/breadcrumb/index.d.ts +119 -67
  16. package/lib/breadcrumb/index.js +17 -17
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +155 -119
  19. package/lib/button/index.js +20 -19
  20. package/lib/card/index.d.ts +157 -128
  21. package/lib/card/index.js +22 -20
  22. package/lib/cascader/cascader.d.ts +3 -3
  23. package/lib/cascader/index.d.ts +354 -393
  24. package/lib/cascader/index.js +268 -270
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +175 -143
  27. package/lib/checkbox/index.js +45 -45
  28. package/lib/code-diff/index.d.ts +82 -65
  29. package/lib/code-diff/index.js +438 -381
  30. package/lib/collapse/index.d.ts +175 -156
  31. package/lib/collapse/index.js +27 -28
  32. package/lib/collapse-transition/index.d.ts +94 -19
  33. package/lib/collapse-transition/index.js +3 -4
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +165 -144
  36. package/lib/color-picker/index.js +41 -43
  37. package/lib/config-provider/index.d.ts +227 -160
  38. package/lib/config-provider/index.js +22 -25
  39. package/lib/config-provider/use-global-config.d.ts +0 -1
  40. package/lib/container/container.d.ts +1 -1
  41. package/lib/container/index.d.ts +85 -74
  42. package/lib/container/index.js +26 -28
  43. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  44. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  45. package/lib/date-picker/date-picker.d.ts +4 -4
  46. package/lib/date-picker/index.d.ts +351 -380
  47. package/lib/date-picker/index.js +79 -80
  48. package/lib/date-picker/panel/date-range.d.ts +1 -1
  49. package/lib/date-picker/panel/date.d.ts +1 -1
  50. package/lib/date-picker/panel/time-range.d.ts +2 -2
  51. package/lib/date-picker/panel/time.d.ts +2 -2
  52. package/lib/date-picker/time-picker.d.ts +4 -4
  53. package/lib/dialog/index.d.ts +269 -299
  54. package/lib/dialog/index.js +228 -227
  55. package/lib/directives/index.js +33 -41
  56. package/lib/divider/index.d.ts +111 -57
  57. package/lib/divider/index.js +2 -3
  58. package/lib/dropdown/dropdown.d.ts +1 -1
  59. package/lib/dropdown/index.d.ts +136 -94
  60. package/lib/dropdown/index.js +22 -24
  61. package/lib/exception/index.d.ts +102 -41
  62. package/lib/exception/index.js +21 -21
  63. package/lib/fixed-navbar/index.d.ts +113 -59
  64. package/lib/fixed-navbar/index.js +2 -3
  65. package/lib/form/form.d.ts +1 -1
  66. package/lib/form/index.d.ts +132 -80
  67. package/lib/form/index.js +22 -21
  68. package/lib/icon/angle-double-down-line.js +17 -17
  69. package/lib/icon/angle-double-left-line.js +17 -17
  70. package/lib/icon/angle-double-left.js +17 -17
  71. package/lib/icon/angle-double-right-line.js +17 -17
  72. package/lib/icon/angle-double-right.js +17 -17
  73. package/lib/icon/angle-double-up-line.js +17 -17
  74. package/lib/icon/angle-down-fill.js +17 -17
  75. package/lib/icon/angle-down-line.js +17 -17
  76. package/lib/icon/angle-down.js +17 -17
  77. package/lib/icon/angle-left.js +17 -17
  78. package/lib/icon/angle-right.js +17 -17
  79. package/lib/icon/angle-up-fill.js +17 -17
  80. package/lib/icon/angle-up.js +17 -17
  81. package/lib/icon/archive-fill.js +17 -17
  82. package/lib/icon/arrows-left.js +17 -17
  83. package/lib/icon/arrows-right.js +17 -17
  84. package/lib/icon/assistant.js +17 -17
  85. package/lib/icon/audio-fill.js +17 -17
  86. package/lib/icon/bk.js +17 -17
  87. package/lib/icon/circle.js +17 -17
  88. package/lib/icon/close-line.js +17 -17
  89. package/lib/icon/close.js +17 -17
  90. package/lib/icon/code.js +17 -17
  91. package/lib/icon/cog-shape.js +17 -17
  92. package/lib/icon/collapse-left.js +17 -17
  93. package/lib/icon/copy-shape.js +17 -17
  94. package/lib/icon/copy.js +17 -17
  95. package/lib/icon/data-shape.js +17 -17
  96. package/lib/icon/del.js +17 -17
  97. package/lib/icon/doc-fill.js +17 -17
  98. package/lib/icon/done.js +17 -17
  99. package/lib/icon/down-shape.js +17 -17
  100. package/lib/icon/down-small.js +17 -17
  101. package/lib/icon/edit-line.js +17 -17
  102. package/lib/icon/ellipsis.js +17 -17
  103. package/lib/icon/enlarge-line.js +17 -17
  104. package/lib/icon/error.js +17 -17
  105. package/lib/icon/excel-fill.js +17 -17
  106. package/lib/icon/exclamation-circle-shape.js +17 -17
  107. package/lib/icon/eye.js +17 -17
  108. package/lib/icon/filliscreen-line.js +17 -17
  109. package/lib/icon/fix-line.js +17 -17
  110. package/lib/icon/fix-shape.js +17 -17
  111. package/lib/icon/folder-open.js +17 -17
  112. package/lib/icon/folder-shape-open.js +17 -17
  113. package/lib/icon/folder-shape.js +17 -17
  114. package/lib/icon/folder.js +17 -17
  115. package/lib/icon/funnel.js +17 -17
  116. package/lib/icon/grag-fill.js +17 -17
  117. package/lib/icon/help-document-fill.js +17 -17
  118. package/lib/icon/help-fill.js +17 -17
  119. package/lib/icon/help.js +17 -17
  120. package/lib/icon/image-fill.js +17 -17
  121. package/lib/icon/img-error.js +17 -17
  122. package/lib/icon/img-placehoulder.js +17 -17
  123. package/lib/icon/info-line.js +17 -17
  124. package/lib/icon/info.js +17 -17
  125. package/lib/icon/left-shape.js +17 -17
  126. package/lib/icon/left-turn-line.js +17 -17
  127. package/lib/icon/loading.js +17 -17
  128. package/lib/icon/narrow-line.js +17 -17
  129. package/lib/icon/original.js +17 -17
  130. package/lib/icon/pdf-fill.js +17 -17
  131. package/lib/icon/play-shape.js +17 -17
  132. package/lib/icon/plus.js +17 -17
  133. package/lib/icon/ppt-fill.js +17 -17
  134. package/lib/icon/qq.js +17 -17
  135. package/lib/icon/right-shape.js +17 -17
  136. package/lib/icon/right-turn-line.js +17 -17
  137. package/lib/icon/search.js +17 -17
  138. package/lib/icon/share.js +17 -17
  139. package/lib/icon/spinner.js +17 -17
  140. package/lib/icon/success.js +17 -17
  141. package/lib/icon/switcher-loading.js +17 -17
  142. package/lib/icon/text-all.js +17 -17
  143. package/lib/icon/text-file.js +17 -17
  144. package/lib/icon/text-fill.js +17 -17
  145. package/lib/icon/transfer.js +17 -17
  146. package/lib/icon/tree-application-shape.js +17 -17
  147. package/lib/icon/unfull-screen.js +17 -17
  148. package/lib/icon/unvisible.js +17 -17
  149. package/lib/icon/up-shape.js +17 -17
  150. package/lib/icon/upload.js +17 -17
  151. package/lib/icon/video-fill.js +17 -17
  152. package/lib/icon/warn.js +17 -17
  153. package/lib/icon/weixin-pro.js +17 -17
  154. package/lib/icon/weixin.js +17 -17
  155. package/lib/image/index.d.ts +149 -113
  156. package/lib/image/index.js +26 -27
  157. package/lib/index.js +1 -1
  158. package/lib/info-box/index.js +233 -232
  159. package/lib/input/index.d.ts +293 -326
  160. package/lib/input/index.js +48 -46
  161. package/lib/link/index.d.ts +122 -73
  162. package/lib/link/index.js +2 -2
  163. package/lib/loading/index.d.ts +156 -130
  164. package/lib/loading/index.js +33 -32
  165. package/lib/loading/loading.d.ts +1 -1
  166. package/lib/menu/index.d.ts +116 -55
  167. package/lib/menu/index.js +25 -26
  168. package/lib/message/index.js +25 -24
  169. package/lib/message/messageConstructor.d.ts +5 -5
  170. package/lib/modal/index.d.ts +185 -171
  171. package/lib/modal/index.js +19 -19
  172. package/lib/navigation/index.d.ts +188 -152
  173. package/lib/navigation/index.js +7 -9
  174. package/lib/notify/index.js +21 -20
  175. package/lib/overflow-title/index.d.ts +256 -343
  176. package/lib/overflow-title/index.js +10 -11
  177. package/lib/pagination/index.d.ts +198 -184
  178. package/lib/pagination/index.js +56 -49
  179. package/lib/plugin-popover/index.js +135 -233
  180. package/lib/pop-confirm/index.d.ts +153 -115
  181. package/lib/pop-confirm/index.js +4 -5
  182. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  183. package/lib/popover/content.d.ts +1 -1
  184. package/lib/popover/index.d.ts +361 -423
  185. package/lib/popover/index.js +135 -233
  186. package/lib/popover/popover.d.ts +1 -1
  187. package/lib/popover/use-popover-init.d.ts +1 -2
  188. package/lib/popover2/index.d.ts +83 -8
  189. package/lib/popover2/index.js +2 -2
  190. package/lib/process/index.d.ts +137 -93
  191. package/lib/process/index.js +226 -226
  192. package/lib/progress/index.d.ts +187 -178
  193. package/lib/progress/index.js +21 -22
  194. package/lib/progress/progress.d.ts +2 -2
  195. package/lib/radio/index.d.ts +140 -91
  196. package/lib/radio/index.js +48 -46
  197. package/lib/rate/index.d.ts +112 -55
  198. package/lib/rate/index.js +20 -19
  199. package/lib/resize-layout/index.d.ts +192 -168
  200. package/lib/resize-layout/index.js +21 -20
  201. package/lib/resize-layout/resize-layout.d.ts +2 -2
  202. package/lib/scrollbar/index.js +38 -38
  203. package/lib/search-select/index.d.ts +901 -684
  204. package/lib/search-select/index.js +274 -274
  205. package/lib/search-select/input.d.ts +2 -2
  206. package/lib/search-select/search-select.d.ts +188 -133
  207. package/lib/search-select/selected.d.ts +188 -133
  208. package/lib/select/index.d.ts +1333 -1491
  209. package/lib/select/index.js +280 -279
  210. package/lib/select/select.d.ts +169 -132
  211. package/lib/select/selectTagInput.d.ts +2 -2
  212. package/lib/shared/index.js +56 -54
  213. package/lib/sideslider/index.d.ts +201 -197
  214. package/lib/sideslider/index.js +228 -227
  215. package/lib/slider/index.d.ts +210 -214
  216. package/lib/slider/index.js +225 -226
  217. package/lib/steps/index.d.ts +149 -110
  218. package/lib/steps/index.js +231 -230
  219. package/lib/swiper/index.d.ts +127 -81
  220. package/lib/swiper/index.js +18 -18
  221. package/lib/switcher/index.d.ts +174 -152
  222. package/lib/switcher/index.js +22 -20
  223. package/lib/tab/index.d.ts +183 -151
  224. package/lib/tab/index.js +19 -20
  225. package/lib/table/components/table-column.d.ts +1 -1
  226. package/lib/table/hooks/use-columns.d.ts +1 -1
  227. package/lib/table/hooks/use-layout.d.ts +2 -2
  228. package/lib/table/hooks/use-rows.d.ts +1 -1
  229. package/lib/table/index.d.ts +362 -457
  230. package/lib/table/index.js +350 -338
  231. package/lib/table/table.d.ts +1 -1
  232. package/lib/table-column/index.d.ts +150 -104
  233. package/lib/table-column/index.js +19 -18
  234. package/lib/tag/index.d.ts +142 -95
  235. package/lib/tag/index.js +19 -19
  236. package/lib/tag-input/index.d.ts +540 -755
  237. package/lib/tag-input/index.js +58 -52
  238. package/lib/tag-input/tag-input.d.ts +5 -5
  239. package/lib/time-picker/index.d.ts +386 -439
  240. package/lib/timeline/index.d.ts +131 -64
  241. package/lib/timeline/index.js +6 -6
  242. package/lib/transfer/index.d.ts +206 -191
  243. package/lib/tree/index.d.ts +308 -350
  244. package/lib/tree/index.js +74 -71
  245. package/lib/tree/tree.d.ts +1 -1
  246. package/lib/tree/use-tree-init.d.ts +1 -1
  247. package/lib/upload/index.d.ts +273 -311
  248. package/lib/upload/index.js +264 -261
  249. package/lib/upload/upload.d.ts +2 -2
  250. package/lib/virtual-render/index.d.ts +241 -333
  251. package/lib/virtual-render/index.js +29 -29
  252. package/lib/virtual-render/virtual-render.d.ts +1 -1
  253. package/package.json +1 -1
@@ -17315,11 +17315,11 @@ const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_M
17315
17315
  ;// CONCATENATED MODULE: external "vue"
17316
17316
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
17317
17317
  var external_vue_y = x => () => x
17318
- 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, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
17318
+ 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, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
17319
17319
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
17320
- 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; } } }; }
17321
- 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); }
17322
- 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; }
17320
+ 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; } } }; }
17321
+ 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; } }
17322
+ 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; }
17323
17323
  /*
17324
17324
  * Tencent is pleased to support the open source community by making
17325
17325
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -17474,8 +17474,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
17474
17474
  * IN THE SOFTWARE.
17475
17475
  */
17476
17476
 
17477
-
17478
- /* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
17477
+ /* harmony default export */ const src_arrow = (defineComponent({
17479
17478
  name: 'PopArrow',
17480
17479
  render: function render() {
17481
17480
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
@@ -17487,38 +17486,38 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
17487
17486
  }
17488
17487
  }));
17489
17488
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
17490
- function _typeof(o) {
17489
+ function _typeof(obj) {
17491
17490
  "@babel/helpers - typeof";
17492
17491
 
17493
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
17494
- return typeof o;
17495
- } : function (o) {
17496
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
17497
- }, _typeof(o);
17492
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
17493
+ return typeof obj;
17494
+ } : function (obj) {
17495
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
17496
+ }, _typeof(obj);
17498
17497
  }
17499
17498
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
17500
17499
 
17501
- function toPrimitive(t, r) {
17502
- if ("object" != _typeof(t) || !t) return t;
17503
- var e = t[Symbol.toPrimitive];
17504
- if (void 0 !== e) {
17505
- var i = e.call(t, r || "default");
17506
- if ("object" != _typeof(i)) return i;
17500
+ function _toPrimitive(input, hint) {
17501
+ if (_typeof(input) !== "object" || input === null) return input;
17502
+ var prim = input[Symbol.toPrimitive];
17503
+ if (prim !== undefined) {
17504
+ var res = prim.call(input, hint || "default");
17505
+ if (_typeof(res) !== "object") return res;
17507
17506
  throw new TypeError("@@toPrimitive must return a primitive value.");
17508
17507
  }
17509
- return ("string" === r ? String : Number)(t);
17508
+ return (hint === "string" ? String : Number)(input);
17510
17509
  }
17511
17510
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
17512
17511
 
17513
17512
 
17514
- function toPropertyKey(t) {
17515
- var i = toPrimitive(t, "string");
17516
- return "symbol" == _typeof(i) ? i : String(i);
17513
+ function _toPropertyKey(arg) {
17514
+ var key = _toPrimitive(arg, "string");
17515
+ return _typeof(key) === "symbol" ? key : String(key);
17517
17516
  }
17518
17517
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
17519
17518
 
17520
17519
  function _defineProperty(obj, key, value) {
17521
- key = toPropertyKey(key);
17520
+ key = _toPropertyKey(key);
17522
17521
  if (key in obj) {
17523
17522
  Object.defineProperty(obj, key, {
17524
17523
  value: value,
@@ -17533,6 +17532,7 @@ function _defineProperty(obj, key, value) {
17533
17532
  }
17534
17533
  ;// CONCATENATED MODULE: ../../packages/popover/src/const.tsx
17535
17534
 
17535
+ var _EMIT_EVENT_TYPES;
17536
17536
  /* eslint-disable @typescript-eslint/naming-convention */
17537
17537
  /*
17538
17538
  * Tencent is pleased to support the open source community by making
@@ -17576,7 +17576,7 @@ var EVENT_COMMON_FN = function EVENT_COMMON_FN(e) {
17576
17576
  var EVENT_CLICK_OUTSIDE_FN = function EVENT_CLICK_OUTSIDE_FN(_args) {
17577
17577
  return true;
17578
17578
  };
17579
- var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, EMIT_EVENTS.CLICK_OUTSIDE, EVENT_CLICK_OUTSIDE_FN), EMIT_EVENTS.CONTENT_MOUSEENTER, EVENT_COMMON_FN), EMIT_EVENTS.CONTENT_MOUSELEAVE, EVENT_COMMON_FN), EMIT_EVENTS.CONTENT_AfterHidden, EVENT_SHOW_HIDE_FN), EMIT_EVENTS.CONTENT_AfterShow, EVENT_SHOW_HIDE_FN);
17579
+ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CLICK_OUTSIDE, EVENT_CLICK_OUTSIDE_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_MOUSEENTER, EVENT_COMMON_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_MOUSELEAVE, EVENT_COMMON_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_AfterHidden, EVENT_SHOW_HIDE_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_AfterShow, EVENT_SHOW_HIDE_FN), _EMIT_EVENT_TYPES);
17580
17580
  ;// CONCATENATED MODULE: ../../packages/popover/src/content.tsx
17581
17581
 
17582
17582
  /*
@@ -17606,8 +17606,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
17606
17606
  */
17607
17607
 
17608
17608
 
17609
-
17610
- /* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
17609
+ /* harmony default export */ const content = (defineComponent({
17611
17610
  name: 'PopContent',
17612
17611
  props: {
17613
17612
  width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
@@ -17627,7 +17626,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
17627
17626
  }
17628
17627
  return val;
17629
17628
  };
17630
- var style = (0,external_vue_namespaceObject.computed)(function () {
17629
+ var style = computed(function () {
17631
17630
  return {
17632
17631
  width: resolveValToPix(props.width),
17633
17632
  height: resolveValToPix(props.height),
@@ -17635,8 +17634,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
17635
17634
  maxWidth: resolveValToPix(props.maxWidth)
17636
17635
  };
17637
17636
  });
17638
- var refContent = (0,external_vue_namespaceObject.ref)(null);
17639
- var refTimer = (0,external_vue_namespaceObject.ref)(null);
17637
+ var refContent = ref(null);
17638
+ var refTimer = ref(null);
17640
17639
  var handleClick = function handleClick(evt) {
17641
17640
  evt.stopPropagation();
17642
17641
  emit('click', evt);
@@ -17656,11 +17655,11 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
17656
17655
  if (props.eventDelay === 0) {
17657
17656
  return;
17658
17657
  }
17659
- (_refContent$value = refContent.value) === null || _refContent$value === void 0 || _refContent$value.style.setProperty('pointer-events', val);
17658
+ (_refContent$value = refContent.value) === null || _refContent$value === void 0 ? void 0 : _refContent$value.style.setProperty('pointer-events', val);
17660
17659
  };
17661
17660
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
17662
17661
  resolveClassName = _usePrefix.resolveClassName;
17663
- var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
17662
+ var contentClassName = computed(function () {
17664
17663
  return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
17665
17664
  });
17666
17665
  return {
@@ -17684,8 +17683,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
17684
17683
  _this$$slots3;
17685
17684
  var resolveContentStyle = function resolveContentStyle(slot) {
17686
17685
  var _slot$;
17687
- if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
17688
- (0,external_vue_namespaceObject.nextTick)(function () {
17686
+ if (Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
17687
+ nextTick(function () {
17689
17688
  _this.setContentPointerEvent('none');
17690
17689
  _this.resetPointerEvent();
17691
17690
  });
@@ -17870,8 +17869,7 @@ var PopoverProps = {
17870
17869
  * IN THE SOFTWARE.
17871
17870
  */
17872
17871
 
17873
-
17874
- /* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
17872
+ /* harmony default export */ const root = (defineComponent({
17875
17873
  props: {
17876
17874
  "class": shared_namespaceObject.PropTypes.string.def(''),
17877
17875
  mode: shared_namespaceObject.PropTypes.string.def('')
@@ -17886,31 +17884,31 @@ function _arrayWithHoles(arr) {
17886
17884
  if (Array.isArray(arr)) return arr;
17887
17885
  }
17888
17886
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
17889
- function _iterableToArrayLimit(r, l) {
17890
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
17891
- if (null != t) {
17892
- var e,
17893
- n,
17894
- i,
17895
- u,
17896
- a = [],
17897
- f = !0,
17898
- o = !1;
17887
+ function _iterableToArrayLimit(arr, i) {
17888
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
17889
+ if (null != _i) {
17890
+ var _s,
17891
+ _e,
17892
+ _x,
17893
+ _r,
17894
+ _arr = [],
17895
+ _n = !0,
17896
+ _d = !1;
17899
17897
  try {
17900
- if (i = (t = t.call(r)).next, 0 === l) {
17901
- if (Object(t) !== t) return;
17902
- f = !1;
17903
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
17904
- } catch (r) {
17905
- o = !0, n = r;
17898
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
17899
+ if (Object(_i) !== _i) return;
17900
+ _n = !1;
17901
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
17902
+ } catch (err) {
17903
+ _d = !0, _e = err;
17906
17904
  } finally {
17907
17905
  try {
17908
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
17906
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
17909
17907
  } finally {
17910
- if (o) throw n;
17908
+ if (_d) throw _e;
17911
17909
  }
17912
17910
  }
17913
- return a;
17911
+ return _arr;
17914
17912
  }
17915
17913
  }
17916
17914
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
@@ -17941,15 +17939,7 @@ function _nonIterableRest() {
17941
17939
  function _slicedToArray(arr, i) {
17942
17940
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
17943
17941
  }
17944
- // EXTERNAL MODULE: ../../node_modules/lodash/lodash.js
17945
- var lodash = __webpack_require__(6635);
17946
- var lodash_default = /*#__PURE__*/__webpack_require__.n(lodash);
17947
17942
  ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
17948
- /**
17949
- * Custom positioning reference element.
17950
- * @see https://floating-ui.com/docs/virtual-elements
17951
- */
17952
-
17953
17943
  const sides = ['top', 'right', 'bottom', 'left'];
17954
17944
  const alignments = ['start', 'end'];
17955
17945
  const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -18137,7 +18127,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
18137
18127
 
18138
18128
  /**
18139
18129
  * Computes the `x` and `y` coordinates that will place the floating element
18140
- * next to a given reference element.
18130
+ * next to a reference element when it is given a certain positioning strategy.
18141
18131
  *
18142
18132
  * This export does not have any `platform` interface logic. You will need to
18143
18133
  * write one for the platform you are using Floating UI with.
@@ -18215,6 +18205,7 @@ const computePosition = async (reference, floating, config) => {
18215
18205
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
18216
18206
  }
18217
18207
  i = -1;
18208
+ continue;
18218
18209
  }
18219
18210
  }
18220
18211
  return {
@@ -18277,7 +18268,6 @@ async function detectOverflow(state, options) {
18277
18268
  y: 1
18278
18269
  };
18279
18270
  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
18280
- elements,
18281
18271
  rect,
18282
18272
  offsetParent,
18283
18273
  strategy
@@ -18305,8 +18295,7 @@ const arrow = options => ({
18305
18295
  placement,
18306
18296
  rects,
18307
18297
  platform,
18308
- elements,
18309
- middlewareData
18298
+ elements
18310
18299
  } = state;
18311
18300
  // Since `element` is required, we don't Partial<> the type.
18312
18301
  const {
@@ -18354,20 +18343,16 @@ const arrow = options => ({
18354
18343
 
18355
18344
  // If the reference is small enough that the arrow's padding causes it to
18356
18345
  // to point to nothing for an aligned placement, adjust the offset of the
18357
- // floating element itself. To ensure `shift()` continues to take action,
18358
- // a single reset is performed when this is true.
18359
- const shouldAddOffset = !middlewareData.arrow && floating_ui_utils_getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
18360
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
18346
+ // floating element itself. This stops `shift()` from taking action, but can
18347
+ // be worked around by calling it again after the `arrow()` if desired.
18348
+ const shouldAddOffset = floating_ui_utils_getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
18349
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
18361
18350
  return {
18362
- [axis]: coords[axis] + alignmentOffset,
18351
+ [axis]: coords[axis] - alignmentOffset,
18363
18352
  data: {
18364
18353
  [axis]: offset,
18365
- centerOffset: center - offset - alignmentOffset,
18366
- ...(shouldAddOffset && {
18367
- alignmentOffset
18368
- })
18369
- },
18370
- reset: shouldAddOffset
18354
+ centerOffset: center - offset + alignmentOffset
18355
+ }
18371
18356
  };
18372
18357
  }
18373
18358
  });
@@ -18489,7 +18474,7 @@ const flip = function (options) {
18489
18474
  name: 'flip',
18490
18475
  options,
18491
18476
  async fn(state) {
18492
- var _middlewareData$arrow, _middlewareData$flip;
18477
+ var _middlewareData$flip;
18493
18478
  const {
18494
18479
  placement,
18495
18480
  middlewareData,
@@ -18507,14 +18492,6 @@ const flip = function (options) {
18507
18492
  flipAlignment = true,
18508
18493
  ...detectOverflowOptions
18509
18494
  } = floating_ui_utils_evaluate(options, state);
18510
-
18511
- // If a reset by the arrow was caused due to an alignment offset being
18512
- // added, we should skip any logic now since `flip()` has already done its
18513
- // work.
18514
- // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
18515
- if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
18516
- return {};
18517
- }
18518
18495
  const side = floating_ui_utils_getSide(placement);
18519
18496
  const isBasePlacement = floating_ui_utils_getSide(initialPlacement) === initialPlacement;
18520
18497
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
@@ -18792,7 +18769,6 @@ const inline = function (options) {
18792
18769
 
18793
18770
  // For type backwards-compatibility, the `OffsetOptions` type was also
18794
18771
  // Derivable.
18795
-
18796
18772
  async function convertValueToCoords(state, options) {
18797
18773
  const {
18798
18774
  placement,
@@ -18806,6 +18782,8 @@ async function convertValueToCoords(state, options) {
18806
18782
  const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
18807
18783
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
18808
18784
  const rawValue = floating_ui_utils_evaluate(options, state);
18785
+
18786
+ // eslint-disable-next-line prefer-const
18809
18787
  let {
18810
18788
  mainAxis,
18811
18789
  crossAxis,
@@ -18847,27 +18825,15 @@ const offset = function (options) {
18847
18825
  name: 'offset',
18848
18826
  options,
18849
18827
  async fn(state) {
18850
- var _middlewareData$offse, _middlewareData$arrow;
18851
18828
  const {
18852
18829
  x,
18853
- y,
18854
- placement,
18855
- middlewareData
18830
+ y
18856
18831
  } = state;
18857
18832
  const diffCoords = await convertValueToCoords(state, options);
18858
-
18859
- // If the placement is the same and the arrow caused an alignment offset
18860
- // then we don't need to change the positioning coordinates.
18861
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
18862
- return {};
18863
- }
18864
18833
  return {
18865
18834
  x: x + diffCoords.x,
18866
18835
  y: y + diffCoords.y,
18867
- data: {
18868
- ...diffCoords,
18869
- placement
18870
- }
18836
+ data: diffCoords
18871
18837
  };
18872
18838
  }
18873
18839
  };
@@ -19099,7 +19065,7 @@ const size = function (options) {
19099
19065
 
19100
19066
 
19101
19067
 
19102
- ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
19068
+ ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs
19103
19069
  function getNodeName(node) {
19104
19070
  if (isNode(node)) {
19105
19071
  return (node.nodeName || '').toLowerCase();
@@ -19111,7 +19077,7 @@ function getNodeName(node) {
19111
19077
  }
19112
19078
  function getWindow(node) {
19113
19079
  var _node$ownerDocument;
19114
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
19080
+ return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
19115
19081
  }
19116
19082
  function getDocumentElement(node) {
19117
19083
  var _ref;
@@ -19152,17 +19118,6 @@ function isContainingBlock(element) {
19152
19118
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
19153
19119
  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));
19154
19120
  }
19155
- function getContainingBlock(element) {
19156
- let currentNode = getParentNode(element);
19157
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
19158
- if (isContainingBlock(currentNode)) {
19159
- return currentNode;
19160
- } else {
19161
- currentNode = getParentNode(currentNode);
19162
- }
19163
- }
19164
- return null;
19165
- }
19166
19121
  function isWebKit() {
19167
19122
  if (typeof CSS === 'undefined' || !CSS.supports) return false;
19168
19123
  return CSS.supports('-webkit-backdrop-filter', 'none');
@@ -19210,21 +19165,18 @@ function getNearestOverflowAncestor(node) {
19210
19165
  }
19211
19166
  return getNearestOverflowAncestor(parentNode);
19212
19167
  }
19213
- function getOverflowAncestors(node, list, traverseIframes) {
19168
+ function getOverflowAncestors(node, list) {
19214
19169
  var _node$ownerDocument2;
19215
19170
  if (list === void 0) {
19216
19171
  list = [];
19217
19172
  }
19218
- if (traverseIframes === void 0) {
19219
- traverseIframes = true;
19220
- }
19221
19173
  const scrollableAncestor = getNearestOverflowAncestor(node);
19222
19174
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
19223
19175
  const win = getWindow(scrollableAncestor);
19224
19176
  if (isBody) {
19225
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
19177
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
19226
19178
  }
19227
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
19179
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
19228
19180
  }
19229
19181
 
19230
19182
 
@@ -19504,7 +19456,7 @@ function getClippingElementAncestors(element, cache) {
19504
19456
  if (cachedResult) {
19505
19457
  return cachedResult;
19506
19458
  }
19507
- let result = getOverflowAncestors(element, [], false).filter(el => floating_ui_utils_dom_isElement(el) && getNodeName(el) !== 'body');
19459
+ let result = getOverflowAncestors(element).filter(el => floating_ui_utils_dom_isElement(el) && getNodeName(el) !== 'body');
19508
19460
  let currentContainingBlockComputedStyle = null;
19509
19461
  const elementIsFixed = getComputedStyle(element).position === 'fixed';
19510
19462
  let currentNode = elementIsFixed ? getParentNode(element) : element;
@@ -19559,14 +19511,7 @@ function getClippingRect(_ref) {
19559
19511
  }
19560
19512
 
19561
19513
  function getDimensions(element) {
19562
- const {
19563
- width,
19564
- height
19565
- } = getCssDimensions(element);
19566
- return {
19567
- width,
19568
- height
19569
- };
19514
+ return getCssDimensions(element);
19570
19515
  }
19571
19516
 
19572
19517
  function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
@@ -19608,6 +19553,17 @@ function getTrueOffsetParent(element, polyfill) {
19608
19553
  }
19609
19554
  return element.offsetParent;
19610
19555
  }
19556
+ function getContainingBlock(element) {
19557
+ let currentNode = getParentNode(element);
19558
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
19559
+ if (isContainingBlock(currentNode)) {
19560
+ return currentNode;
19561
+ } else {
19562
+ currentNode = getParentNode(currentNode);
19563
+ }
19564
+ }
19565
+ return null;
19566
+ }
19611
19567
 
19612
19568
  // Gets the closest ancestor positioned element. Handles some edge cases,
19613
19569
  // such as table ancestors and cross browser bugs.
@@ -19812,66 +19768,10 @@ function autoUpdate(reference, floating, update, options) {
19812
19768
  };
19813
19769
  }
19814
19770
 
19815
- /**
19816
- * Optimizes the visibility of the floating element by choosing the placement
19817
- * that has the most space available automatically, without needing to specify a
19818
- * preferred placement. Alternative to `flip`.
19819
- * @see https://floating-ui.com/docs/autoPlacement
19820
- */
19821
- const floating_ui_dom_autoPlacement = autoPlacement;
19822
-
19823
- /**
19824
- * Optimizes the visibility of the floating element by shifting it in order to
19825
- * keep it in view when it will overflow the clipping boundary.
19826
- * @see https://floating-ui.com/docs/shift
19827
- */
19828
- const floating_ui_dom_shift = shift;
19829
-
19830
- /**
19831
- * Optimizes the visibility of the floating element by flipping the `placement`
19832
- * in order to keep it in view when the preferred placement(s) will overflow the
19833
- * clipping boundary. Alternative to `autoPlacement`.
19834
- * @see https://floating-ui.com/docs/flip
19835
- */
19836
- const floating_ui_dom_flip = flip;
19837
-
19838
- /**
19839
- * Provides data that allows you to change the size of the floating element —
19840
- * for instance, prevent it from overflowing the clipping boundary or match the
19841
- * width of the reference element.
19842
- * @see https://floating-ui.com/docs/size
19843
- */
19844
- const floating_ui_dom_size = (/* unused pure expression or super */ null && (size$1));
19845
-
19846
- /**
19847
- * Provides data to hide the floating element in applicable situations, such as
19848
- * when it is not in the same clipping context as the reference element.
19849
- * @see https://floating-ui.com/docs/hide
19850
- */
19851
- const floating_ui_dom_hide = hide;
19852
-
19853
- /**
19854
- * Provides data to position an inner element of the floating element so that it
19855
- * appears centered to the reference element.
19856
- * @see https://floating-ui.com/docs/arrow
19857
- */
19858
- const floating_ui_dom_arrow = arrow;
19859
-
19860
- /**
19861
- * Provides improved positioning for inline reference elements that can span
19862
- * over multiple lines, such as hyperlinks or range selections.
19863
- * @see https://floating-ui.com/docs/inline
19864
- */
19865
- const floating_ui_dom_inline = inline;
19866
-
19867
- /**
19868
- * Built-in `limiter` that will stop `shift()` at a certain point.
19869
- */
19870
- const floating_ui_dom_limitShift = (/* unused pure expression or super */ null && (limitShift$1));
19871
-
19872
19771
  /**
19873
19772
  * Computes the `x` and `y` coordinates that will place the floating element
19874
- * next to a given reference element.
19773
+ * next to a reference element when it is given a certain CSS positioning
19774
+ * strategy.
19875
19775
  */
19876
19776
  const floating_ui_dom_computePosition = (reference, floating, options) => {
19877
19777
  // This caches the expensive `getClippingElementAncestors` function so that
@@ -19898,6 +19798,9 @@ const floating_ui_dom_computePosition = (reference, floating, options) => {
19898
19798
  var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
19899
19799
  var isElement_y = x => () => x
19900
19800
  const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
19801
+ // EXTERNAL MODULE: ../../node_modules/lodash/lodash.js
19802
+ var lodash = __webpack_require__(6635);
19803
+ var lodash_default = /*#__PURE__*/__webpack_require__.n(lodash);
19901
19804
  ;// CONCATENATED MODULE: ../../node_modules/uuid/dist/esm-browser/native.js
19902
19805
  const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
19903
19806
  /* harmony default export */ const esm_browser_native = ({
@@ -20213,7 +20116,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
20213
20116
  };
20214
20117
  var resolvePopOptions = function resolvePopOptions(elArrow, props) {
20215
20118
  var modifiers = resolveModifiers();
20216
- var middleware = [offset(modifiers.offset || props.offset), floating_ui_dom_shift({
20119
+ var middleware = [offset(modifiers.offset || props.offset), shift({
20217
20120
  padding: props.padding
20218
20121
  })];
20219
20122
  var options = {
@@ -20221,17 +20124,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
20221
20124
  middleware: middleware
20222
20125
  };
20223
20126
  if (props.arrow) {
20224
- middleware.push(floating_ui_dom_arrow({
20127
+ middleware.push(arrow({
20225
20128
  element: elArrow
20226
20129
  }));
20227
20130
  }
20228
20131
  if (isAutoPlacementAvailable()) {
20229
- middleware.push(floating_ui_dom_autoPlacement());
20132
+ middleware.push(autoPlacement());
20230
20133
  }
20231
- middleware.unshift(floating_ui_dom_inline());
20232
- middleware.push(floating_ui_dom_flip());
20134
+ middleware.unshift(inline());
20135
+ middleware.push(flip());
20233
20136
  if (isHideMiddlewareAvailable()) {
20234
- options.middleware.push(floating_ui_dom_hide());
20137
+ options.middleware.push(hide());
20235
20138
  }
20236
20139
  /**
20237
20140
  * 如果是全屏元素或者指定的虚拟元素
@@ -20642,7 +20545,6 @@ var parentNodeReferId = null;
20642
20545
 
20643
20546
 
20644
20547
 
20645
-
20646
20548
  /* harmony default export */ const use_popover_init = (function (props, ctx, _ref) {
20647
20549
  var refReference = _ref.refReference,
20648
20550
  refContent = _ref.refContent,
@@ -20672,7 +20574,7 @@ var parentNodeReferId = null;
20672
20574
  getFullscreenRoot = _useFloating.getFullscreenRoot,
20673
20575
  stopHide = _useFloating.stopHide;
20674
20576
  var resetPopover = function resetPopover() {
20675
- cleanup === null || cleanup === void 0 || cleanup();
20577
+ cleanup === null || cleanup === void 0 ? void 0 : cleanup();
20676
20578
  createPopInstance();
20677
20579
  };
20678
20580
  var showFn = function showFn() {
@@ -20780,13 +20682,13 @@ var parentNodeReferId = null;
20780
20682
  getPrefixId = _usePopperId.getPrefixId;
20781
20683
  var setFullscreenTag = function setFullscreenTag() {
20782
20684
  var _fullScreenTarget$val2;
20783
- fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 || _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
20685
+ fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 ? void 0 : _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
20784
20686
  };
20785
20687
  var clearFullscreenTag = function clearFullscreenTag() {
20786
20688
  var _fullScreenTarget$val3, _fullScreenTarget$val4;
20787
20689
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
20788
20690
  ((_fullScreenTarget$val3 = fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val4 = fullScreenTarget.value) === null || _fullScreenTarget$val4 === void 0 ? void 0 : _fullScreenTarget$val4.querySelectorAll(query)) !== null && _fullScreenTarget$val3 !== void 0 ? _fullScreenTarget$val3 : []).forEach(function (element) {
20789
- element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
20691
+ element === null || element === void 0 ? void 0 : element.removeAttribute('data-fllsrn-id');
20790
20692
  });
20791
20693
  };
20792
20694
  var boundary = (0,external_vue_namespaceObject.ref)();
@@ -20824,11 +20726,12 @@ var parentNodeReferId = null;
20824
20726
  beforeInstanceUnmount();
20825
20727
  document.body.removeEventListener('fullscreenchange', handleFullscreenChange);
20826
20728
  };
20827
- var handleClickOutside = lodash_default().debounce(function (_e) {
20828
- if (ReferenceClickSharedState[uniqKey]) {
20829
- ReferenceClickSharedState[uniqKey] = false;
20830
- return;
20831
- }
20729
+ var handleClickOutside = function handleClickOutside(_e) {
20730
+ // TODO: 暂时去除这个特性,满足监控需求,晚点再优化
20731
+ // if (ReferenceClickSharedState[uniqKey]) {
20732
+ // ReferenceClickSharedState[uniqKey] = false;
20733
+ // return;
20734
+ // }
20832
20735
  ctx.emit(EMIT_EVENTS.CLICK_OUTSIDE, {
20833
20736
  isShow: localIsShow.value,
20834
20737
  event: _e
@@ -20840,7 +20743,7 @@ var parentNodeReferId = null;
20840
20743
  if (localIsShow.value) {
20841
20744
  hideFn();
20842
20745
  }
20843
- }, 10);
20746
+ };
20844
20747
  return {
20845
20748
  onMountedFn: onMountedFn,
20846
20749
  onUnmountedFn: onUnmountedFn,
@@ -20898,11 +20801,10 @@ var parentNodeReferId = null;
20898
20801
 
20899
20802
 
20900
20803
 
20901
-
20902
20804
  function _isSlot(s) {
20903
20805
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
20904
20806
  }
20905
- /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
20807
+ /* harmony default export */ const popover = (defineComponent({
20906
20808
  name: 'Popover',
20907
20809
  components: {
20908
20810
  Content: content,
@@ -20915,13 +20817,13 @@ function _isSlot(s) {
20915
20817
  props: PopoverProps,
20916
20818
  emits: EMIT_EVENT_TYPES,
20917
20819
  setup: function setup(props, ctx) {
20918
- var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
20820
+ var _toRefs = toRefs(props),
20919
20821
  reference = _toRefs.reference;
20920
- var refDefaultReference = (0,external_vue_namespaceObject.ref)();
20921
- var refContent = (0,external_vue_namespaceObject.ref)();
20922
- var refArrow = (0,external_vue_namespaceObject.ref)();
20923
- var refRoot = (0,external_vue_namespaceObject.ref)();
20924
- var refReference = (0,external_vue_namespaceObject.computed)(function () {
20822
+ var refDefaultReference = ref();
20823
+ var refContent = ref();
20824
+ var refArrow = ref();
20825
+ var refRoot = ref();
20826
+ var refReference = computed(function () {
20925
20827
  return reference.value || refDefaultReference.value;
20926
20828
  });
20927
20829
  var _usePopoverInit = use_popover_init(props, ctx, {
@@ -20947,7 +20849,7 @@ function _isSlot(s) {
20947
20849
  boundary = _usePopoverInit.boundary,
20948
20850
  uniqKey = _usePopoverInit.uniqKey;
20949
20851
  if (!props.always && !props.disabled) {
20950
- (0,external_vue_namespaceObject.watch)(function () {
20852
+ watch(function () {
20951
20853
  return props.isShow;
20952
20854
  }, function () {
20953
20855
  props.isShow ? showPopover() : hidePopover();
@@ -20955,7 +20857,7 @@ function _isSlot(s) {
20955
20857
  immediate: true
20956
20858
  });
20957
20859
  }
20958
- (0,external_vue_namespaceObject.watch)(function () {
20860
+ watch(function () {
20959
20861
  return [props.disabled];
20960
20862
  }, function (val) {
20961
20863
  if (val[0]) {
@@ -20965,15 +20867,15 @@ function _isSlot(s) {
20965
20867
  }
20966
20868
  });
20967
20869
  updateBoundary();
20968
- (0,external_vue_namespaceObject.onMounted)(onMountedFn);
20969
- (0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
20970
- var isRenderModeShow = (0,external_vue_namespaceObject.computed)(function () {
20870
+ onMounted(onMountedFn);
20871
+ onBeforeUnmount(onUnmountedFn);
20872
+ var isRenderModeShow = computed(function () {
20971
20873
  return props.renderDirective === 'show';
20972
20874
  });
20973
- var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
20875
+ var transBoundary = computed(function () {
20974
20876
  return isRenderModeShow.value || localIsShow.value && !props.disableTeleport;
20975
20877
  });
20976
- var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
20878
+ var contentIsShow = computed(function () {
20977
20879
  if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
20978
20880
  return true;
20979
20881
  }
@@ -21039,7 +20941,7 @@ function _isSlot(s) {
21039
20941
  _this$$slots4;
21040
20942
  var renderReferSlot = function renderReferSlot(slot) {
21041
20943
  var _slot$;
21042
- if (external_vue_namespaceObject.Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
20944
+ if (Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
21043
20945
  return (0,external_vue_namespaceObject.createVNode)("span", null, [slot]);
21044
20946
  }
21045
20947
  return slot;
@@ -21064,7 +20966,7 @@ function _isSlot(s) {
21064
20966
  "default": function _default() {
21065
20967
  return [_slot2];
21066
20968
  }
21067
- }), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
20969
+ }), (0,external_vue_namespaceObject.createVNode)(Teleport, {
21068
20970
  "disabled": !_this.transBoundary,
21069
20971
  "to": _this.boundary
21070
20972
  }, {
@@ -21170,36 +21072,36 @@ function createPopoverComponent(options) {
21170
21072
  var refReference = (0,external_vue_namespaceObject.ref)();
21171
21073
  var show = function show() {
21172
21074
  var _refReference$value, _refReference$value$s;
21173
- (_refReference$value = refReference.value) === null || _refReference$value === void 0 || (_refReference$value$s = _refReference$value.show) === null || _refReference$value$s === void 0 || _refReference$value$s.call(_refReference$value);
21075
+ (_refReference$value = refReference.value) === null || _refReference$value === void 0 || (_refReference$value$s = _refReference$value.show) === null || _refReference$value$s === void 0 ? void 0 : _refReference$value$s.call(_refReference$value);
21174
21076
  };
21175
21077
  var hide = function hide() {
21176
21078
  var _refReference$value2, _refReference$value2$;
21177
- (_refReference$value2 = refReference.value) === null || _refReference$value2 === void 0 || (_refReference$value2$ = _refReference$value2.hide) === null || _refReference$value2$ === void 0 || _refReference$value2$.call(_refReference$value2);
21079
+ (_refReference$value2 = refReference.value) === null || _refReference$value2 === void 0 || (_refReference$value2$ = _refReference$value2.hide) === null || _refReference$value2$ === void 0 ? void 0 : _refReference$value2$.call(_refReference$value2);
21178
21080
  };
21179
21081
  var stopHide = function stopHide() {
21180
21082
  var _refReference$value3, _refReference$value3$;
21181
- (_refReference$value3 = refReference.value) === null || _refReference$value3 === void 0 || (_refReference$value3$ = _refReference$value3.stopHide) === null || _refReference$value3$ === void 0 || _refReference$value3$.call(_refReference$value3);
21083
+ (_refReference$value3 = refReference.value) === null || _refReference$value3 === void 0 || (_refReference$value3$ = _refReference$value3.stopHide) === null || _refReference$value3$ === void 0 ? void 0 : _refReference$value3$.call(_refReference$value3);
21182
21084
  };
21183
21085
  var updateTarget = function updateTarget(target) {
21184
21086
  var _refReference$value4, _refReference$value4$;
21185
21087
  refProps.target = target;
21186
- (_refReference$value4 = refReference.value) === null || _refReference$value4 === void 0 || (_refReference$value4$ = _refReference$value4.resetPopover) === null || _refReference$value4$ === void 0 || _refReference$value4$.call(_refReference$value4);
21088
+ (_refReference$value4 = refReference.value) === null || _refReference$value4 === void 0 || (_refReference$value4$ = _refReference$value4.resetPopover) === null || _refReference$value4$ === void 0 ? void 0 : _refReference$value4$.call(_refReference$value4);
21187
21089
  };
21188
21090
  var handleContentMouseenter = function handleContentMouseenter() {
21189
21091
  var _resolvedOptions$onCo;
21190
- (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 || _resolvedOptions$onCo.call(resolvedOptions);
21092
+ (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 ? void 0 : _resolvedOptions$onCo.call(resolvedOptions);
21191
21093
  };
21192
21094
  var handleContentMouseleave = function handleContentMouseleave() {
21193
21095
  var _resolvedOptions$onCo2;
21194
- (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 || _resolvedOptions$onCo2.call(resolvedOptions);
21096
+ (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 ? void 0 : _resolvedOptions$onCo2.call(resolvedOptions);
21195
21097
  };
21196
21098
  var handlePopoverHidden = function handlePopoverHidden() {
21197
21099
  var _resolvedOptions$onHi;
21198
- (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 || _resolvedOptions$onHi.call(resolvedOptions);
21100
+ (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 ? void 0 : _resolvedOptions$onHi.call(resolvedOptions);
21199
21101
  };
21200
21102
  var handlePopoverShow = function handlePopoverShow() {
21201
21103
  var _resolvedOptions$onSh;
21202
- (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 || _resolvedOptions$onSh.call(resolvedOptions);
21104
+ (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 ? void 0 : _resolvedOptions$onSh.call(resolvedOptions);
21203
21105
  };
21204
21106
  expose({
21205
21107
  show: show,
@@ -21248,7 +21150,7 @@ function createPopoverComponent(options) {
21248
21150
  }
21249
21151
  $PopoverInstance.unmount();
21250
21152
  $PopoverInstance = null;
21251
- (_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
21153
+ (_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 ? void 0 : _$PopoverInstanceEl.remove();
21252
21154
  };
21253
21155
  function close() {
21254
21156
  uninstall();
@@ -21259,17 +21161,17 @@ function createPopoverComponent(options) {
21259
21161
  install();
21260
21162
  if (target) {
21261
21163
  var _$PopoverInstanceVm;
21262
- (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
21164
+ (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 ? void 0 : _$PopoverInstanceVm.updateTarget(target);
21263
21165
  }
21264
- (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
21166
+ (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 ? void 0 : _$PopoverInstanceVm2.show();
21265
21167
  }
21266
21168
  function update(e) {
21267
21169
  var _$PopoverInstanceVm3;
21268
- (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
21170
+ (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 ? void 0 : _$PopoverInstanceVm3.updateTarget(e);
21269
21171
  }
21270
21172
  function hide() {
21271
21173
  var _$PopoverInstanceVm4;
21272
- (_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
21174
+ (_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 ? void 0 : _$PopoverInstanceVm4.hide();
21273
21175
  }
21274
21176
  immediate && install();
21275
21177
  return {