bkui-vue 1.0.0 → 1.0.1

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