bkui-vue 0.0.3-beta.2 → 0.0.3-beta.2-2

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 (249) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +10567 -10537
  3. package/dist/index.umd.js +48 -48
  4. package/dist/style.css +1 -1
  5. package/dist/style.variable.css +1 -1
  6. package/lib/affix/index.d.ts +57 -111
  7. package/lib/affix/index.js +19 -19
  8. package/lib/alert/alert.d.ts +1 -1
  9. package/lib/alert/index.d.ts +82 -132
  10. package/lib/alert/index.js +20 -20
  11. package/lib/animate-number/index.d.ts +33 -96
  12. package/lib/backtop/index.d.ts +69 -117
  13. package/lib/badge/badge.d.ts +1 -1
  14. package/lib/badge/index.d.ts +120 -153
  15. package/lib/badge/index.js +19 -19
  16. package/lib/breadcrumb/index.d.ts +67 -119
  17. package/lib/breadcrumb/index.js +17 -17
  18. package/lib/button/button.d.ts +2 -2
  19. package/lib/button/index.d.ts +119 -155
  20. package/lib/button/index.js +19 -20
  21. package/lib/card/card.d.ts +1 -1
  22. package/lib/card/index.d.ts +129 -158
  23. package/lib/card/index.js +20 -22
  24. package/lib/cascader/cascader.d.ts +3 -3
  25. package/lib/cascader/index.d.ts +393 -354
  26. package/lib/cascader/index.js +233 -234
  27. package/lib/checkbox/checkbox.d.ts +1 -1
  28. package/lib/checkbox/index.d.ts +119 -161
  29. package/lib/checkbox/index.js +39 -41
  30. package/lib/code-diff/index.d.ts +65 -82
  31. package/lib/code-diff/index.js +380 -437
  32. package/lib/collapse/index.d.ts +144 -168
  33. package/lib/collapse/index.js +21 -21
  34. package/lib/collapse-transition/index.d.ts +19 -94
  35. package/lib/color-picker/color-picker.d.ts +1 -1
  36. package/lib/color-picker/index.d.ts +128 -154
  37. package/lib/color-picker/index.js +25 -28
  38. package/lib/config-provider/index.d.ts +156 -223
  39. package/lib/config-provider/index.js +19 -19
  40. package/lib/container/container.d.ts +1 -1
  41. package/lib/container/index.d.ts +74 -85
  42. package/lib/container/index.js +19 -19
  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 +3 -3
  46. package/lib/date-picker/index.d.ts +384 -351
  47. package/lib/date-picker/index.js +92 -104
  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 +1 -1
  52. package/lib/date-picker/time-picker.d.ts +3 -3
  53. package/lib/dialog/index.d.ts +345 -302
  54. package/lib/dialog/index.js +227 -228
  55. package/lib/directives/index.js +27 -27
  56. package/lib/divider/index.d.ts +57 -111
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +94 -136
  59. package/lib/dropdown/index.js +17 -17
  60. package/lib/exception/index.d.ts +41 -102
  61. package/lib/exception/index.js +18 -19
  62. package/lib/fixed-navbar/index.d.ts +59 -113
  63. package/lib/form/form.d.ts +1 -1
  64. package/lib/form/index.d.ts +80 -132
  65. package/lib/form/index.js +25 -26
  66. package/lib/icon/angle-double-down-line.js +21 -21
  67. package/lib/icon/angle-double-left-line.js +21 -21
  68. package/lib/icon/angle-double-left.js +21 -21
  69. package/lib/icon/angle-double-right-line.js +21 -21
  70. package/lib/icon/angle-double-right.js +21 -21
  71. package/lib/icon/angle-double-up-line.js +21 -21
  72. package/lib/icon/angle-down-fill.js +21 -21
  73. package/lib/icon/angle-down-line.js +21 -21
  74. package/lib/icon/angle-down.js +21 -21
  75. package/lib/icon/angle-left.js +21 -21
  76. package/lib/icon/angle-right.js +21 -21
  77. package/lib/icon/angle-up-fill.js +21 -21
  78. package/lib/icon/angle-up.js +21 -21
  79. package/lib/icon/archive-fill.js +21 -21
  80. package/lib/icon/arrows-left.js +21 -21
  81. package/lib/icon/arrows-right.js +21 -21
  82. package/lib/icon/assistant.js +21 -21
  83. package/lib/icon/audio-fill.js +21 -21
  84. package/lib/icon/bk.js +21 -21
  85. package/lib/icon/circle.js +21 -21
  86. package/lib/icon/close-line.js +21 -21
  87. package/lib/icon/close.js +21 -21
  88. package/lib/icon/code.js +21 -21
  89. package/lib/icon/cog-shape.js +21 -21
  90. package/lib/icon/collapse-left.js +21 -21
  91. package/lib/icon/copy-shape.js +21 -21
  92. package/lib/icon/copy.js +21 -21
  93. package/lib/icon/data-shape.js +21 -21
  94. package/lib/icon/del.js +21 -21
  95. package/lib/icon/doc-fill.js +21 -21
  96. package/lib/icon/done.js +21 -21
  97. package/lib/icon/down-shape.js +21 -21
  98. package/lib/icon/down-small.js +21 -21
  99. package/lib/icon/edit-line.js +21 -21
  100. package/lib/icon/ellipsis.js +21 -21
  101. package/lib/icon/enlarge-line.js +21 -21
  102. package/lib/icon/error.js +21 -21
  103. package/lib/icon/excel-fill.js +21 -21
  104. package/lib/icon/exclamation-circle-shape.js +21 -21
  105. package/lib/icon/eye.js +21 -21
  106. package/lib/icon/filliscreen-line.js +21 -21
  107. package/lib/icon/fix-line.js +21 -21
  108. package/lib/icon/fix-shape.js +21 -21
  109. package/lib/icon/folder-open.js +21 -21
  110. package/lib/icon/folder-shape-open.js +21 -21
  111. package/lib/icon/folder-shape.js +21 -21
  112. package/lib/icon/folder.js +21 -21
  113. package/lib/icon/funnel.js +21 -21
  114. package/lib/icon/grag-fill.js +21 -21
  115. package/lib/icon/help-document-fill.js +21 -21
  116. package/lib/icon/help-fill.js +21 -21
  117. package/lib/icon/help.js +21 -21
  118. package/lib/icon/image-fill.js +22 -22
  119. package/lib/icon/img-error.js +22 -22
  120. package/lib/icon/img-placehoulder.js +22 -22
  121. package/lib/icon/index.js +192 -192
  122. package/lib/icon/info-line.js +22 -22
  123. package/lib/icon/info.js +22 -22
  124. package/lib/icon/left-shape.js +22 -22
  125. package/lib/icon/left-turn-line.js +22 -22
  126. package/lib/icon/loading.js +22 -22
  127. package/lib/icon/narrow-line.js +22 -22
  128. package/lib/icon/original.js +22 -22
  129. package/lib/icon/pdf-fill.js +22 -22
  130. package/lib/icon/play-shape.js +22 -22
  131. package/lib/icon/plus.js +22 -22
  132. package/lib/icon/ppt-fill.js +22 -22
  133. package/lib/icon/qq.js +22 -22
  134. package/lib/icon/right-shape.js +22 -22
  135. package/lib/icon/right-turn-line.js +22 -22
  136. package/lib/icon/search.js +22 -22
  137. package/lib/icon/share.js +22 -22
  138. package/lib/icon/spinner.js +22 -22
  139. package/lib/icon/success.js +22 -22
  140. package/lib/icon/switcher-loading.js +22 -22
  141. package/lib/icon/text-file.js +22 -22
  142. package/lib/icon/text-fill.js +22 -22
  143. package/lib/icon/transfer.js +22 -22
  144. package/lib/icon/tree-application-shape.js +22 -22
  145. package/lib/icon/unfull-screen.js +22 -22
  146. package/lib/icon/unvisible.js +22 -22
  147. package/lib/icon/up-shape.js +22 -22
  148. package/lib/icon/upload.js +22 -22
  149. package/lib/icon/video-fill.js +22 -22
  150. package/lib/icon/warn.js +22 -22
  151. package/lib/icon/weixin-pro.js +22 -22
  152. package/lib/icon/weixin.js +22 -22
  153. package/lib/image/index.d.ts +113 -149
  154. package/lib/image/index.js +19 -19
  155. package/lib/info-box/index.js +229 -230
  156. package/lib/input/index.d.ts +326 -293
  157. package/lib/input/index.js +256 -258
  158. package/lib/link/index.d.ts +73 -122
  159. package/lib/loading/index.d.ts +130 -156
  160. package/lib/loading/index.js +23 -25
  161. package/lib/loading/loading.d.ts +1 -1
  162. package/lib/locale/index.js +0 -4
  163. package/lib/menu/index.d.ts +51 -112
  164. package/lib/menu/index.js +25 -25
  165. package/lib/message/index.js +28 -30
  166. package/lib/message/messageConstructor.d.ts +5 -5
  167. package/lib/modal/index.d.ts +251 -246
  168. package/lib/modal/index.js +24 -24
  169. package/lib/navigation/index.d.ts +152 -188
  170. package/lib/notify/index.js +22 -24
  171. package/lib/notify/notifyConstructor.d.ts +1 -1
  172. package/lib/overflow-title/index.d.ts +314 -242
  173. package/lib/overflow-title/index.js +1 -1
  174. package/lib/pagination/index.d.ts +194 -205
  175. package/lib/pagination/index.js +49 -56
  176. package/lib/plugin-popover/index.js +192 -98
  177. package/lib/pop-confirm/index.d.ts +126 -159
  178. package/lib/pop-confirm/index.js +0 -1
  179. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  180. package/lib/popover/content.d.ts +1 -1
  181. package/lib/popover/index.d.ts +374 -330
  182. package/lib/popover/index.js +192 -98
  183. package/lib/popover2/index.d.ts +8 -83
  184. package/lib/process/index.d.ts +93 -137
  185. package/lib/process/index.js +225 -226
  186. package/lib/progress/index.d.ts +178 -187
  187. package/lib/progress/index.js +19 -19
  188. package/lib/progress/progress.d.ts +2 -2
  189. package/lib/radio/index.d.ts +83 -135
  190. package/lib/radio/index.js +41 -43
  191. package/lib/rate/index.d.ts +55 -112
  192. package/lib/rate/index.js +19 -20
  193. package/lib/resize-layout/index.d.ts +156 -185
  194. package/lib/resize-layout/index.js +20 -21
  195. package/lib/resize-layout/resize-layout.d.ts +2 -2
  196. package/lib/search-select/index.d.ts +292 -327
  197. package/lib/search-select/index.js +239 -240
  198. package/lib/search-select/input.d.ts +2 -2
  199. package/lib/search-select/search-select.d.ts +3 -3
  200. package/lib/search-select/selected.d.ts +2 -2
  201. package/lib/select/index.d.ts +1234 -1135
  202. package/lib/select/index.js +259 -262
  203. package/lib/select/select.d.ts +121 -161
  204. package/lib/select/selectTagInput.d.ts +2 -2
  205. package/lib/shared/index.js +62 -64
  206. package/lib/sideslider/index.d.ts +237 -226
  207. package/lib/sideslider/index.js +227 -227
  208. package/lib/slider/index.d.ts +204 -204
  209. package/lib/slider/index.js +208 -209
  210. package/lib/steps/index.d.ts +114 -150
  211. package/lib/steps/index.js +227 -228
  212. package/lib/swiper/index.d.ts +81 -127
  213. package/lib/swiper/index.js +18 -18
  214. package/lib/switcher/index.d.ts +152 -174
  215. package/lib/switcher/index.js +20 -22
  216. package/lib/tab/index.d.ts +199 -211
  217. package/lib/tab/index.js +23 -25
  218. package/lib/table/components/table-column.d.ts +2 -2
  219. package/lib/table/index.d.ts +605 -593
  220. package/lib/table/index.js +161 -132
  221. package/lib/table/plugins/use-pagination.d.ts +3 -2
  222. package/lib/table/table.css +12 -5
  223. package/lib/table/table.d.ts +1 -1
  224. package/lib/table/table.less +15 -5
  225. package/lib/table/table.variable.css +12 -5
  226. package/lib/table/use-attributes.d.ts +40 -1
  227. package/lib/table/use-common.d.ts +68 -34
  228. package/lib/table-column/index.d.ts +206 -242
  229. package/lib/table-column/index.js +18 -19
  230. package/lib/tag/index.d.ts +95 -142
  231. package/lib/tag/index.js +19 -19
  232. package/lib/tag-input/index.d.ts +690 -498
  233. package/lib/tag-input/index.js +54 -62
  234. package/lib/tag-input/tag-input.d.ts +5 -5
  235. package/lib/time-picker/index.d.ts +442 -385
  236. package/lib/timeline/index.d.ts +50 -109
  237. package/lib/timeline/index.js +6 -6
  238. package/lib/transfer/index.d.ts +191 -206
  239. package/lib/tree/index.d.ts +334 -293
  240. package/lib/tree/index.js +36 -39
  241. package/lib/tree/tree.d.ts +1 -1
  242. package/lib/tree/use-tree-init.d.ts +1 -1
  243. package/lib/upload/index.d.ts +281 -254
  244. package/lib/upload/index.js +254 -257
  245. package/lib/upload/upload.d.ts +2 -2
  246. package/lib/virtual-render/index.d.ts +337 -242
  247. package/lib/virtual-render/index.js +30 -30
  248. package/lib/virtual-render/virtual-render.d.ts +1 -1
  249. package/package.json +1 -1
@@ -213,38 +213,38 @@ const external_config_provider_namespaceObject = external_config_provider_x({ ["
213
213
  }
214
214
  }));
215
215
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
216
- function _typeof(obj) {
216
+ function _typeof(o) {
217
217
  "@babel/helpers - typeof";
218
218
 
219
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
220
- return typeof obj;
221
- } : function (obj) {
222
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
223
- }, _typeof(obj);
219
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
220
+ return typeof o;
221
+ } : function (o) {
222
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
223
+ }, _typeof(o);
224
224
  }
225
225
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
226
226
 
227
- function _toPrimitive(input, hint) {
228
- if (_typeof(input) !== "object" || input === null) return input;
229
- var prim = input[Symbol.toPrimitive];
230
- if (prim !== undefined) {
231
- var res = prim.call(input, hint || "default");
232
- if (_typeof(res) !== "object") return res;
227
+ function toPrimitive(t, r) {
228
+ if ("object" != _typeof(t) || !t) return t;
229
+ var e = t[Symbol.toPrimitive];
230
+ if (void 0 !== e) {
231
+ var i = e.call(t, r || "default");
232
+ if ("object" != _typeof(i)) return i;
233
233
  throw new TypeError("@@toPrimitive must return a primitive value.");
234
234
  }
235
- return (hint === "string" ? String : Number)(input);
235
+ return ("string" === r ? String : Number)(t);
236
236
  }
237
237
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
238
238
 
239
239
 
240
- function _toPropertyKey(arg) {
241
- var key = _toPrimitive(arg, "string");
242
- return _typeof(key) === "symbol" ? key : String(key);
240
+ function toPropertyKey(t) {
241
+ var i = toPrimitive(t, "string");
242
+ return "symbol" == _typeof(i) ? i : String(i);
243
243
  }
244
244
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
245
245
 
246
246
  function _defineProperty(obj, key, value) {
247
- key = _toPropertyKey(key);
247
+ key = toPropertyKey(key);
248
248
  if (key in obj) {
249
249
  Object.defineProperty(obj, key, {
250
250
  value: value,
@@ -259,7 +259,6 @@ function _defineProperty(obj, key, value) {
259
259
  }
260
260
  ;// CONCATENATED MODULE: ../../packages/popover/src/const.tsx
261
261
 
262
- var _EMIT_EVENT_TYPES;
263
262
  /* eslint-disable @typescript-eslint/naming-convention */
264
263
  /*
265
264
  * Tencent is pleased to support the open source community by making
@@ -304,7 +303,7 @@ var EVENT_COMMON_FN = function EVENT_COMMON_FN(e) {
304
303
  var EVENT_CLICK_OUTSIDE_FN = function EVENT_CLICK_OUTSIDE_FN(_args) {
305
304
  return true;
306
305
  };
307
- 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);
306
+ 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);
308
307
  ;// CONCATENATED MODULE: ../../packages/popover/src/content.tsx
309
308
 
310
309
  /*
@@ -378,7 +377,7 @@ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPE
378
377
  if (props.eventDelay === 0) {
379
378
  return;
380
379
  }
381
- (_refContent$value = refContent.value) === null || _refContent$value === void 0 ? void 0 : _refContent$value.style.setProperty('pointer-events', val);
380
+ (_refContent$value = refContent.value) === null || _refContent$value === void 0 || _refContent$value.style.setProperty('pointer-events', val);
382
381
  };
383
382
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
384
383
  resolveClassName = _usePrefix.resolveClassName;
@@ -595,31 +594,31 @@ function _arrayWithHoles(arr) {
595
594
  if (Array.isArray(arr)) return arr;
596
595
  }
597
596
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
598
- function _iterableToArrayLimit(arr, i) {
599
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
600
- if (null != _i) {
601
- var _s,
602
- _e,
603
- _x,
604
- _r,
605
- _arr = [],
606
- _n = !0,
607
- _d = !1;
597
+ function _iterableToArrayLimit(r, l) {
598
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
599
+ if (null != t) {
600
+ var e,
601
+ n,
602
+ i,
603
+ u,
604
+ a = [],
605
+ f = !0,
606
+ o = !1;
608
607
  try {
609
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
610
- if (Object(_i) !== _i) return;
611
- _n = !1;
612
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
613
- } catch (err) {
614
- _d = !0, _e = err;
608
+ if (i = (t = t.call(r)).next, 0 === l) {
609
+ if (Object(t) !== t) return;
610
+ f = !1;
611
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
612
+ } catch (r) {
613
+ o = !0, n = r;
615
614
  } finally {
616
615
  try {
617
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
616
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
618
617
  } finally {
619
- if (_d) throw _e;
618
+ if (o) throw n;
620
619
  }
621
620
  }
622
- return _arr;
621
+ return a;
623
622
  }
624
623
  }
625
624
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
@@ -655,6 +654,11 @@ var isElement_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
655
654
  var isElement_y = x => () => x
656
655
  const isElement_namespaceObject = isElement_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__["default"] });
657
656
  ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
657
+ /**
658
+ * Custom positioning reference element.
659
+ * @see https://floating-ui.com/docs/virtual-elements
660
+ */
661
+
658
662
  const sides = ['top', 'right', 'bottom', 'left'];
659
663
  const alignments = ['start', 'end'];
660
664
  const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -842,7 +846,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
842
846
 
843
847
  /**
844
848
  * Computes the `x` and `y` coordinates that will place the floating element
845
- * next to a reference element when it is given a certain positioning strategy.
849
+ * next to a given reference element.
846
850
  *
847
851
  * This export does not have any `platform` interface logic. You will need to
848
852
  * write one for the platform you are using Floating UI with.
@@ -920,7 +924,6 @@ const computePosition = async (reference, floating, config) => {
920
924
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
921
925
  }
922
926
  i = -1;
923
- continue;
924
927
  }
925
928
  }
926
929
  return {
@@ -983,6 +986,7 @@ async function detectOverflow(state, options) {
983
986
  y: 1
984
987
  };
985
988
  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
989
+ elements,
986
990
  rect,
987
991
  offsetParent,
988
992
  strategy
@@ -1010,7 +1014,8 @@ const arrow = options => ({
1010
1014
  placement,
1011
1015
  rects,
1012
1016
  platform,
1013
- elements
1017
+ elements,
1018
+ middlewareData
1014
1019
  } = state;
1015
1020
  // Since `element` is required, we don't Partial<> the type.
1016
1021
  const {
@@ -1058,16 +1063,20 @@ const arrow = options => ({
1058
1063
 
1059
1064
  // If the reference is small enough that the arrow's padding causes it to
1060
1065
  // to point to nothing for an aligned placement, adjust the offset of the
1061
- // floating element itself. This stops `shift()` from taking action, but can
1062
- // be worked around by calling it again after the `arrow()` if desired.
1063
- const shouldAddOffset = floating_ui_utils_getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
1064
- const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
1066
+ // floating element itself. To ensure `shift()` continues to take action,
1067
+ // a single reset is performed when this is true.
1068
+ 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;
1069
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
1065
1070
  return {
1066
- [axis]: coords[axis] - alignmentOffset,
1071
+ [axis]: coords[axis] + alignmentOffset,
1067
1072
  data: {
1068
1073
  [axis]: offset,
1069
- centerOffset: center - offset + alignmentOffset
1070
- }
1074
+ centerOffset: center - offset - alignmentOffset,
1075
+ ...(shouldAddOffset && {
1076
+ alignmentOffset
1077
+ })
1078
+ },
1079
+ reset: shouldAddOffset
1071
1080
  };
1072
1081
  }
1073
1082
  });
@@ -1189,7 +1198,7 @@ const flip = function (options) {
1189
1198
  name: 'flip',
1190
1199
  options,
1191
1200
  async fn(state) {
1192
- var _middlewareData$flip;
1201
+ var _middlewareData$arrow, _middlewareData$flip;
1193
1202
  const {
1194
1203
  placement,
1195
1204
  middlewareData,
@@ -1207,6 +1216,14 @@ const flip = function (options) {
1207
1216
  flipAlignment = true,
1208
1217
  ...detectOverflowOptions
1209
1218
  } = floating_ui_utils_evaluate(options, state);
1219
+
1220
+ // If a reset by the arrow was caused due to an alignment offset being
1221
+ // added, we should skip any logic now since `flip()` has already done its
1222
+ // work.
1223
+ // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
1224
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1225
+ return {};
1226
+ }
1210
1227
  const side = floating_ui_utils_getSide(placement);
1211
1228
  const isBasePlacement = floating_ui_utils_getSide(initialPlacement) === initialPlacement;
1212
1229
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
@@ -1484,6 +1501,7 @@ const inline = function (options) {
1484
1501
 
1485
1502
  // For type backwards-compatibility, the `OffsetOptions` type was also
1486
1503
  // Derivable.
1504
+
1487
1505
  async function convertValueToCoords(state, options) {
1488
1506
  const {
1489
1507
  placement,
@@ -1497,8 +1515,6 @@ async function convertValueToCoords(state, options) {
1497
1515
  const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
1498
1516
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
1499
1517
  const rawValue = floating_ui_utils_evaluate(options, state);
1500
-
1501
- // eslint-disable-next-line prefer-const
1502
1518
  let {
1503
1519
  mainAxis,
1504
1520
  crossAxis,
@@ -1540,15 +1556,27 @@ const offset = function (options) {
1540
1556
  name: 'offset',
1541
1557
  options,
1542
1558
  async fn(state) {
1559
+ var _middlewareData$offse, _middlewareData$arrow;
1543
1560
  const {
1544
1561
  x,
1545
- y
1562
+ y,
1563
+ placement,
1564
+ middlewareData
1546
1565
  } = state;
1547
1566
  const diffCoords = await convertValueToCoords(state, options);
1567
+
1568
+ // If the placement is the same and the arrow caused an alignment offset
1569
+ // then we don't need to change the positioning coordinates.
1570
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1571
+ return {};
1572
+ }
1548
1573
  return {
1549
1574
  x: x + diffCoords.x,
1550
1575
  y: y + diffCoords.y,
1551
- data: diffCoords
1576
+ data: {
1577
+ ...diffCoords,
1578
+ placement
1579
+ }
1552
1580
  };
1553
1581
  }
1554
1582
  };
@@ -1780,7 +1808,7 @@ const size = function (options) {
1780
1808
 
1781
1809
 
1782
1810
 
1783
- ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs
1811
+ ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
1784
1812
  function getNodeName(node) {
1785
1813
  if (isNode(node)) {
1786
1814
  return (node.nodeName || '').toLowerCase();
@@ -1792,7 +1820,7 @@ function getNodeName(node) {
1792
1820
  }
1793
1821
  function getWindow(node) {
1794
1822
  var _node$ownerDocument;
1795
- return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1823
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1796
1824
  }
1797
1825
  function getDocumentElement(node) {
1798
1826
  var _ref;
@@ -1833,6 +1861,17 @@ function isContainingBlock(element) {
1833
1861
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1834
1862
  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));
1835
1863
  }
1864
+ function getContainingBlock(element) {
1865
+ let currentNode = getParentNode(element);
1866
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1867
+ if (isContainingBlock(currentNode)) {
1868
+ return currentNode;
1869
+ } else {
1870
+ currentNode = getParentNode(currentNode);
1871
+ }
1872
+ }
1873
+ return null;
1874
+ }
1836
1875
  function isWebKit() {
1837
1876
  if (typeof CSS === 'undefined' || !CSS.supports) return false;
1838
1877
  return CSS.supports('-webkit-backdrop-filter', 'none');
@@ -1880,18 +1919,21 @@ function getNearestOverflowAncestor(node) {
1880
1919
  }
1881
1920
  return getNearestOverflowAncestor(parentNode);
1882
1921
  }
1883
- function getOverflowAncestors(node, list) {
1922
+ function getOverflowAncestors(node, list, traverseIframes) {
1884
1923
  var _node$ownerDocument2;
1885
1924
  if (list === void 0) {
1886
1925
  list = [];
1887
1926
  }
1927
+ if (traverseIframes === void 0) {
1928
+ traverseIframes = true;
1929
+ }
1888
1930
  const scrollableAncestor = getNearestOverflowAncestor(node);
1889
1931
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1890
1932
  const win = getWindow(scrollableAncestor);
1891
1933
  if (isBody) {
1892
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
1934
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
1893
1935
  }
1894
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
1936
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
1895
1937
  }
1896
1938
 
1897
1939
 
@@ -2171,7 +2213,7 @@ function getClippingElementAncestors(element, cache) {
2171
2213
  if (cachedResult) {
2172
2214
  return cachedResult;
2173
2215
  }
2174
- let result = getOverflowAncestors(element).filter(el => floating_ui_utils_dom_isElement(el) && getNodeName(el) !== 'body');
2216
+ let result = getOverflowAncestors(element, [], false).filter(el => floating_ui_utils_dom_isElement(el) && getNodeName(el) !== 'body');
2175
2217
  let currentContainingBlockComputedStyle = null;
2176
2218
  const elementIsFixed = getComputedStyle(element).position === 'fixed';
2177
2219
  let currentNode = elementIsFixed ? getParentNode(element) : element;
@@ -2226,7 +2268,14 @@ function getClippingRect(_ref) {
2226
2268
  }
2227
2269
 
2228
2270
  function getDimensions(element) {
2229
- return getCssDimensions(element);
2271
+ const {
2272
+ width,
2273
+ height
2274
+ } = getCssDimensions(element);
2275
+ return {
2276
+ width,
2277
+ height
2278
+ };
2230
2279
  }
2231
2280
 
2232
2281
  function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
@@ -2268,17 +2317,6 @@ function getTrueOffsetParent(element, polyfill) {
2268
2317
  }
2269
2318
  return element.offsetParent;
2270
2319
  }
2271
- function getContainingBlock(element) {
2272
- let currentNode = getParentNode(element);
2273
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
2274
- if (isContainingBlock(currentNode)) {
2275
- return currentNode;
2276
- } else {
2277
- currentNode = getParentNode(currentNode);
2278
- }
2279
- }
2280
- return null;
2281
- }
2282
2320
 
2283
2321
  // Gets the closest ancestor positioned element. Handles some edge cases,
2284
2322
  // such as table ancestors and cross browser bugs.
@@ -2483,10 +2521,66 @@ function autoUpdate(reference, floating, update, options) {
2483
2521
  };
2484
2522
  }
2485
2523
 
2524
+ /**
2525
+ * Optimizes the visibility of the floating element by choosing the placement
2526
+ * that has the most space available automatically, without needing to specify a
2527
+ * preferred placement. Alternative to `flip`.
2528
+ * @see https://floating-ui.com/docs/autoPlacement
2529
+ */
2530
+ const floating_ui_dom_autoPlacement = autoPlacement;
2531
+
2532
+ /**
2533
+ * Optimizes the visibility of the floating element by shifting it in order to
2534
+ * keep it in view when it will overflow the clipping boundary.
2535
+ * @see https://floating-ui.com/docs/shift
2536
+ */
2537
+ const floating_ui_dom_shift = shift;
2538
+
2539
+ /**
2540
+ * Optimizes the visibility of the floating element by flipping the `placement`
2541
+ * in order to keep it in view when the preferred placement(s) will overflow the
2542
+ * clipping boundary. Alternative to `autoPlacement`.
2543
+ * @see https://floating-ui.com/docs/flip
2544
+ */
2545
+ const floating_ui_dom_flip = flip;
2546
+
2547
+ /**
2548
+ * Provides data that allows you to change the size of the floating element —
2549
+ * for instance, prevent it from overflowing the clipping boundary or match the
2550
+ * width of the reference element.
2551
+ * @see https://floating-ui.com/docs/size
2552
+ */
2553
+ const floating_ui_dom_size = (/* unused pure expression or super */ null && (size$1));
2554
+
2555
+ /**
2556
+ * Provides data to hide the floating element in applicable situations, such as
2557
+ * when it is not in the same clipping context as the reference element.
2558
+ * @see https://floating-ui.com/docs/hide
2559
+ */
2560
+ const floating_ui_dom_hide = hide;
2561
+
2562
+ /**
2563
+ * Provides data to position an inner element of the floating element so that it
2564
+ * appears centered to the reference element.
2565
+ * @see https://floating-ui.com/docs/arrow
2566
+ */
2567
+ const floating_ui_dom_arrow = arrow;
2568
+
2569
+ /**
2570
+ * Provides improved positioning for inline reference elements that can span
2571
+ * over multiple lines, such as hyperlinks or range selections.
2572
+ * @see https://floating-ui.com/docs/inline
2573
+ */
2574
+ const floating_ui_dom_inline = inline;
2575
+
2576
+ /**
2577
+ * Built-in `limiter` that will stop `shift()` at a certain point.
2578
+ */
2579
+ const floating_ui_dom_limitShift = (/* unused pure expression or super */ null && (limitShift$1));
2580
+
2486
2581
  /**
2487
2582
  * Computes the `x` and `y` coordinates that will place the floating element
2488
- * next to a reference element when it is given a certain CSS positioning
2489
- * strategy.
2583
+ * next to a given reference element.
2490
2584
  */
2491
2585
  const floating_ui_dom_computePosition = (reference, floating, options) => {
2492
2586
  // This caches the expensive `getClippingElementAncestors` function so that
@@ -2664,8 +2758,8 @@ var contentAsHTMLElement = function contentAsHTMLElement(content) {
2664
2758
  ;// CONCATENATED MODULE: ../../packages/popover/src/use-floating.tsx
2665
2759
 
2666
2760
 
2667
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2668
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2761
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2762
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
2669
2763
  /*
2670
2764
  * Tencent is pleased to support the open source community by making
2671
2765
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -2818,7 +2912,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
2818
2912
  };
2819
2913
  var resolvePopOptions = function resolvePopOptions(elArrow, props) {
2820
2914
  var modifiers = resolveModifiers();
2821
- var middleware = [offset(modifiers.offset || props.offset), shift({
2915
+ var middleware = [offset(modifiers.offset || props.offset), floating_ui_dom_shift({
2822
2916
  padding: props.padding
2823
2917
  })];
2824
2918
  var options = {
@@ -2826,17 +2920,17 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
2826
2920
  middleware: middleware
2827
2921
  };
2828
2922
  if (props.arrow) {
2829
- middleware.push(arrow({
2923
+ middleware.push(floating_ui_dom_arrow({
2830
2924
  element: elArrow
2831
2925
  }));
2832
2926
  }
2833
2927
  if (isAutoPlacementAvailable()) {
2834
- middleware.push(autoPlacement());
2928
+ middleware.push(floating_ui_dom_autoPlacement());
2835
2929
  }
2836
- middleware.unshift(inline());
2837
- middleware.push(flip());
2930
+ middleware.unshift(floating_ui_dom_inline());
2931
+ middleware.push(floating_ui_dom_flip());
2838
2932
  if (isHideMiddlewareAvailable()) {
2839
- options.middleware.push(hide());
2933
+ options.middleware.push(floating_ui_dom_hide());
2840
2934
  }
2841
2935
  /**
2842
2936
  * 如果是全屏元素或者指定的虚拟元素
@@ -3271,7 +3365,7 @@ var parentNodeReferId = null;
3271
3365
  getFullscreenRoot = _useFloating.getFullscreenRoot,
3272
3366
  stopHide = _useFloating.stopHide;
3273
3367
  var resetPopover = function resetPopover() {
3274
- cleanup === null || cleanup === void 0 ? void 0 : cleanup();
3368
+ cleanup === null || cleanup === void 0 || cleanup();
3275
3369
  createPopInstance();
3276
3370
  };
3277
3371
  var showFn = function showFn() {
@@ -3347,13 +3441,13 @@ var parentNodeReferId = null;
3347
3441
  getPrefixId = _usePopperId.getPrefixId;
3348
3442
  var setFullscreenTag = function setFullscreenTag() {
3349
3443
  var _fullScreenTarget$val;
3350
- fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val = fullScreenTarget.value) === null || _fullScreenTarget$val === void 0 ? void 0 : _fullScreenTarget$val.setAttribute('data-fllsrn-id', fullscreenReferId);
3444
+ fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val = fullScreenTarget.value) === null || _fullScreenTarget$val === void 0 || _fullScreenTarget$val.setAttribute('data-fllsrn-id', fullscreenReferId);
3351
3445
  };
3352
3446
  var clearFullscreenTag = function clearFullscreenTag() {
3353
3447
  var _fullScreenTarget$val2, _fullScreenTarget$val3;
3354
3448
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
3355
3449
  ((_fullScreenTarget$val2 = fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val3 = fullScreenTarget.value) === null || _fullScreenTarget$val3 === void 0 ? void 0 : _fullScreenTarget$val3.querySelectorAll(query)) !== null && _fullScreenTarget$val2 !== void 0 ? _fullScreenTarget$val2 : []).forEach(function (element) {
3356
- element === null || element === void 0 ? void 0 : element.removeAttribute('data-fllsrn-id');
3450
+ element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
3357
3451
  });
3358
3452
  };
3359
3453
  var boundary = (0,external_vue_namespaceObject.ref)();
@@ -3637,8 +3731,8 @@ function _isSlot(s) {
3637
3731
  ;// CONCATENATED MODULE: ../../packages/popover/src/plugin-popover.tsx
3638
3732
 
3639
3733
 
3640
- function plugin_popover_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3641
- function plugin_popover_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? plugin_popover_ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : plugin_popover_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3734
+ function plugin_popover_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3735
+ function plugin_popover_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? plugin_popover_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : plugin_popover_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3642
3736
  /*
3643
3737
  * Tencent is pleased to support the open source community by making
3644
3738
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -3701,36 +3795,36 @@ function createPopoverComponent(options) {
3701
3795
  var refReference = (0,external_vue_namespaceObject.ref)();
3702
3796
  var show = function show() {
3703
3797
  var _refReference$value, _refReference$value$s;
3704
- (_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);
3798
+ (_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);
3705
3799
  };
3706
3800
  var hide = function hide() {
3707
3801
  var _refReference$value2, _refReference$value2$;
3708
- (_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);
3802
+ (_refReference$value2 = refReference.value) === null || _refReference$value2 === void 0 || (_refReference$value2$ = _refReference$value2.hide) === null || _refReference$value2$ === void 0 || _refReference$value2$.call(_refReference$value2);
3709
3803
  };
3710
3804
  var stopHide = function stopHide() {
3711
3805
  var _refReference$value3, _refReference$value3$;
3712
- (_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);
3806
+ (_refReference$value3 = refReference.value) === null || _refReference$value3 === void 0 || (_refReference$value3$ = _refReference$value3.stopHide) === null || _refReference$value3$ === void 0 || _refReference$value3$.call(_refReference$value3);
3713
3807
  };
3714
3808
  var updateTarget = function updateTarget(target) {
3715
3809
  var _refReference$value4, _refReference$value4$;
3716
3810
  refProps.target = target;
3717
- (_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);
3811
+ (_refReference$value4 = refReference.value) === null || _refReference$value4 === void 0 || (_refReference$value4$ = _refReference$value4.resetPopover) === null || _refReference$value4$ === void 0 || _refReference$value4$.call(_refReference$value4);
3718
3812
  };
3719
3813
  var handleContentMouseenter = function handleContentMouseenter() {
3720
3814
  var _resolvedOptions$onCo;
3721
- (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 ? void 0 : _resolvedOptions$onCo.call(resolvedOptions);
3815
+ (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 || _resolvedOptions$onCo.call(resolvedOptions);
3722
3816
  };
3723
3817
  var handleContentMouseleave = function handleContentMouseleave() {
3724
3818
  var _resolvedOptions$onCo2;
3725
- (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 ? void 0 : _resolvedOptions$onCo2.call(resolvedOptions);
3819
+ (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 || _resolvedOptions$onCo2.call(resolvedOptions);
3726
3820
  };
3727
3821
  var handlePopoverHidden = function handlePopoverHidden() {
3728
3822
  var _resolvedOptions$onHi;
3729
- (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 ? void 0 : _resolvedOptions$onHi.call(resolvedOptions);
3823
+ (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 || _resolvedOptions$onHi.call(resolvedOptions);
3730
3824
  };
3731
3825
  var handlePopoverShow = function handlePopoverShow() {
3732
3826
  var _resolvedOptions$onSh;
3733
- (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 ? void 0 : _resolvedOptions$onSh.call(resolvedOptions);
3827
+ (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 || _resolvedOptions$onSh.call(resolvedOptions);
3734
3828
  };
3735
3829
  expose({
3736
3830
  show: show,
@@ -3780,15 +3874,15 @@ function createPopoverComponent(options) {
3780
3874
  }
3781
3875
  function show() {
3782
3876
  var _$PopoverInstanceVm;
3783
- (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 ? void 0 : _$PopoverInstanceVm.show();
3877
+ (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.show();
3784
3878
  }
3785
3879
  function update(e) {
3786
3880
  var _$PopoverInstanceVm2;
3787
- (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 ? void 0 : _$PopoverInstanceVm2.updateTarget(e);
3881
+ (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.updateTarget(e);
3788
3882
  }
3789
3883
  function hide() {
3790
3884
  var _$PopoverInstanceVm3;
3791
- (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 ? void 0 : _$PopoverInstanceVm3.hide();
3885
+ (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.hide();
3792
3886
  }
3793
3887
  return {
3794
3888
  close: close,