@opentiny/vue-runtime 3.24.0 → 3.25.0

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.
@@ -118,7 +118,7 @@ function yt(e, t) {
118
118
  }
119
119
  return r;
120
120
  }
121
- function Q(e) {
121
+ function ee(e) {
122
122
  for (var t = 1; t < arguments.length; t++) {
123
123
  var r = arguments[t] != null ? arguments[t] : {};
124
124
  t % 2 ? yt(Object(r), !0).forEach(function(n) {
@@ -205,15 +205,15 @@ var mn = {
205
205
  trimRight: function(t) {
206
206
  return String.prototype.trimRight ? t.trimRight() : t.replace(/(\s*$)/g, "");
207
207
  }
208
- }, re = mn;
208
+ }, ne = mn;
209
209
  function gn(e, t) {
210
- e = re.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
210
+ e = ne.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
211
211
  var r = e.length, n = !1, o = 0, i = 0, s = "";
212
212
  function a() {
213
213
  if (!n) {
214
- var c = re.trim(e.slice(o, i)), f = c.indexOf(":");
214
+ var c = ne.trim(e.slice(o, i)), f = c.indexOf(":");
215
215
  if (f !== -1) {
216
- var p = re.trim(c.slice(0, f)), v = re.trim(c.slice(f + 1));
216
+ var p = ne.trim(c.slice(0, f)), v = ne.trim(c.slice(f + 1));
217
217
  if (p) {
218
218
  var d = t(o, s.length, p, v, c);
219
219
  d && (s += d + "; ");
@@ -231,7 +231,7 @@ function gn(e, t) {
231
231
  } else l === "(" ? n = !0 : l === ")" ? n = !1 : l === ";" ? n || a() : l === `
232
232
  ` && a();
233
233
  }
234
- return re.trim(s);
234
+ return ne.trim(s);
235
235
  }
236
236
  var bn = gn, fe = X, yn = bn;
237
237
  function wt(e) {
@@ -780,10 +780,10 @@ var br = Object.prototype.toString, ut = Object.prototype.hasOwnProperty, no = O
780
780
  "[object Boolean]": "boolean"
781
781
  }, ft = function(t) {
782
782
  return t == null;
783
- }, ee = function(t) {
783
+ }, te = function(t) {
784
784
  return ft(t) ? String(t) : io[br.call(t)] || "object";
785
785
  }, $e = function(t) {
786
- return ee(t) === "object";
786
+ return te(t) === "object";
787
787
  }, J = function(t) {
788
788
  if (!t || br.call(t) !== "[object Object]")
789
789
  return !1;
@@ -843,7 +843,7 @@ var lo = /([:\-_]+(.))/g, uo = /^moz([A-Z])/, fo = function(t) {
843
843
  n && n.call(this, s), I(t, r, o);
844
844
  };
845
845
  E(t, r, o);
846
- }, ae = function(t) {
846
+ }, se = function(t) {
847
847
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
848
848
  if (t) {
849
849
  var n = r.split(" ").filter(function(o) {
@@ -853,7 +853,7 @@ var lo = /([:\-_]+(.))/g, uo = /^moz([A-Z])/, fo = function(t) {
853
853
  return t.classList.add(o);
854
854
  });
855
855
  }
856
- }, se = function(t, r) {
856
+ }, le = function(t, r) {
857
857
  if (!(!t || !r)) {
858
858
  var n = r.split(" ").filter(function(o) {
859
859
  return o;
@@ -1036,7 +1036,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1036
1036
  width: n,
1037
1037
  height: o
1038
1038
  };
1039
- }, te = function(t) {
1039
+ }, re = function(t) {
1040
1040
  var r = t && t.ownerDocument && t.ownerDocument.defaultView;
1041
1041
  return r || we;
1042
1042
  }, _r = Oe(0, 0, 0, 0), xe = function(t) {
@@ -1058,12 +1058,12 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1058
1058
  var r = t.getBBox();
1059
1059
  return Oe(0, 0, r.width, r.height);
1060
1060
  }, Oo = function(t) {
1061
- return t === te(t).document.documentElement;
1061
+ return t === re(t).document.documentElement;
1062
1062
  }, To = function(t) {
1063
1063
  var r = t.clientWidth, n = t.clientHeight;
1064
1064
  if (!n && !r)
1065
1065
  return _r;
1066
- var o = te(t).getComputedStyle(t), i = Eo(o), s = i.top + i.bottom, a = i.left + i.right, l = xe(o.width), u = xe(o.height);
1066
+ var o = re(t).getComputedStyle(t), i = Eo(o), s = i.top + i.bottom, a = i.left + i.right, l = xe(o.width), u = xe(o.height);
1067
1067
  if (o.boxSizing === "border-box" && (Math.round(u + s) !== n && (u -= Ot(o, "top", "bottom") + s), Math.round(l + a) !== r && (l -= Ot(o, "left", "right") + a)), !Oo(t)) {
1068
1068
  var c = Math.round(u + s) - n, f = Math.round(l + a) - r;
1069
1069
  Math.abs(c) !== 1 && (u -= c), Math.abs(f) !== 1 && (l -= f);
@@ -1071,9 +1071,9 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1071
1071
  return Oe(i.left, i.top, l, u);
1072
1072
  }, Ao = /* @__PURE__ */ function() {
1073
1073
  return typeof SVGGraphicsElement < "u" ? function(e) {
1074
- return e instanceof te(e).SVGGraphicsElement;
1074
+ return e instanceof re(e).SVGGraphicsElement;
1075
1075
  } : function(e) {
1076
- return e instanceof te(e).SVGElement && typeof e.getBBox == "function";
1076
+ return e instanceof re(e).SVGElement && typeof e.getBBox == "function";
1077
1077
  };
1078
1078
  }(), ko = function(t) {
1079
1079
  return w ? _r : Ao(t) ? So(t) : To(t);
@@ -1119,7 +1119,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1119
1119
  if (!arguments.length)
1120
1120
  throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
1121
1121
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1122
- if (!(t instanceof te(t).Element))
1122
+ if (!(t instanceof re(t).Element))
1123
1123
  throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
1124
1124
  var r = this.observations_;
1125
1125
  r.has(t) || (r.set(t, new Po(t)), this.controller_.addObserver(this), this.controller_.refresh());
@@ -1128,7 +1128,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1128
1128
  if (!arguments.length)
1129
1129
  throw new TypeError("[TINY-Resize]1 argument required, but only 0 present.");
1130
1130
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1131
- if (!(t instanceof te(t).Element))
1131
+ if (!(t instanceof re(t).Element))
1132
1132
  throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
1133
1133
  var r = this.observations_;
1134
1134
  r.has(t) && (r.delete(t), !r.size && this.controller_.removeObserver(this));
@@ -1244,7 +1244,7 @@ pt = function() {
1244
1244
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1245
1245
  r[n] = arguments[n];
1246
1246
  var o = r.length, i = r[0] || {}, s = 1, a = !1;
1247
- for (ee(i) === "boolean" && (a = i, i = r[s] || {}, s++), !$e(i) && ee(i) !== "function" && (i = {}); s < o; s++) {
1247
+ for (te(i) === "boolean" && (a = i, i = r[s] || {}, s++), !$e(i) && te(i) !== "function" && (i = {}); s < o; s++) {
1248
1248
  var l = r[s];
1249
1249
  if (l !== null && $e(l))
1250
1250
  for (var u = Object.keys(l), c = 0, f = u; c < f.length; c++) {
@@ -1255,7 +1255,7 @@ pt = function() {
1255
1255
  return i;
1256
1256
  };
1257
1257
  var _e, dt = function(t, r, n, o) {
1258
- if (ee(t) === ee(r)) {
1258
+ if (te(t) === te(r)) {
1259
1259
  if (n = n !== !1, Array.isArray(o)) {
1260
1260
  var i = We(t, o), s = We(r, o);
1261
1261
  return dt(i, s, n);
@@ -1303,7 +1303,7 @@ var Go = {
1303
1303
  }, Or = {
1304
1304
  fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
1305
1305
  fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1306
- }, vt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = vt[0], qo = vt[1], Jo = vt[2], ne = "[^\\s]+", Tt = function() {
1306
+ }, vt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = vt[0], qo = vt[1], Jo = vt[2], oe = "[^\\s]+", Tt = function() {
1307
1307
  }, Tr = function(t, r) {
1308
1308
  for (var n = [], o = 0, i = t.length; o < i; o++)
1309
1309
  n.push(t[o].substr(0, r));
@@ -1320,7 +1320,7 @@ var Z = {
1320
1320
  d: [j, function(e, t) {
1321
1321
  e.day = t;
1322
1322
  }],
1323
- Do: [j + ne, function(e, t) {
1323
+ Do: [j + oe, function(e, t) {
1324
1324
  e.day = parseInt(t, 10);
1325
1325
  }],
1326
1326
  M: [j, function(e, t) {
@@ -1352,10 +1352,10 @@ var Z = {
1352
1352
  e.millisecond = t;
1353
1353
  }],
1354
1354
  D: [j, Tt],
1355
- ddd: [ne, Tt],
1356
- MMM: [ne, At("monthNamesShort")],
1357
- MMMM: [ne, At("monthNames")],
1358
- a: [ne, function(e, t, r) {
1355
+ ddd: [oe, Tt],
1356
+ MMM: [oe, At("monthNamesShort")],
1357
+ MMMM: [oe, At("monthNames")],
1358
+ a: [oe, function(e, t, r) {
1359
1359
  var n = t.toLowerCase();
1360
1360
  n === r.amPm[0] ? e.isPm = !1 : n === r.amPm[1] && (e.isPm = !0);
1361
1361
  }],
@@ -1793,7 +1793,7 @@ if (w || !window.WebSocket) {
1793
1793
  typeof _i == "function" && (R[Re] = xi);
1794
1794
  }
1795
1795
  }
1796
- var de = {}, oe = {
1796
+ var de = {}, ie = {
1797
1797
  leave: "v-modal-leave",
1798
1798
  enter: "v-modal-enter",
1799
1799
  modal: "v-modal"
@@ -1850,14 +1850,14 @@ var de = {}, oe = {
1850
1850
  return;
1851
1851
  }
1852
1852
  var u = Je();
1853
- if (ae(u, oe.modal), this.modalFade && !P.hasModal && ae(u, oe.enter), o) {
1853
+ if (se(u, ie.modal), this.modalFade && !P.hasModal && se(u, ie.enter), o) {
1854
1854
  var c = o.trim().split(/\s+/);
1855
1855
  c.forEach(function(p) {
1856
- return ae(u, p);
1856
+ return se(u, p);
1857
1857
  });
1858
1858
  }
1859
1859
  setTimeout(function() {
1860
- se(u, oe.enter);
1860
+ le(u, ie.enter);
1861
1861
  }, 200), r && (u.style.zIndex = r.toString()), u.style.display = "", u.tabIndex = 0;
1862
1862
  var f;
1863
1863
  n && n.parentNode && n.parentNode.nodeType !== 11 ? f = n.parentNode : f = document.body, f.appendChild(u), this.modalStack.push({
@@ -1883,7 +1883,7 @@ var de = {}, oe = {
1883
1883
  if (o.modalClass) {
1884
1884
  var i = o.modalClass.trim().split(/\s+/);
1885
1885
  i.forEach(function(a) {
1886
- return se(n, a);
1886
+ return le(n, a);
1887
1887
  });
1888
1888
  }
1889
1889
  r.pop();
@@ -1892,8 +1892,8 @@ var de = {}, oe = {
1892
1892
  } else
1893
1893
  Ei(r, t);
1894
1894
  }
1895
- r.length === 0 && (this.modalFade && ae(n, oe.leave), se(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1896
- r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", P.modalDom = null), se(n, oe.leave);
1895
+ r.length === 0 && (this.modalFade && se(n, ie.leave), le(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1896
+ r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", P.modalDom = null), le(n, ie.leave);
1897
1897
  }, 200));
1898
1898
  }
1899
1899
  };
@@ -2039,8 +2039,8 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2039
2039
  return t.replace(/left|right|bottom|top/g, function(n) {
2040
2040
  return r[n];
2041
2041
  });
2042
- }, ie = function(t) {
2043
- var r = Q({}, t);
2042
+ }, ae = function(t) {
2043
+ var r = ee({}, t);
2044
2044
  return r.right = r.left + r.width, r.bottom = r.top + r.height, r;
2045
2045
  }, Hr = function(t) {
2046
2046
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = t.parentNode;
@@ -2064,7 +2064,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2064
2064
  }) : null, Ri = /* @__PURE__ */ function() {
2065
2065
  function e(t, r, n) {
2066
2066
  var o = this;
2067
- ot(this, e), $(this, "_reference", void 0), $(this, "_popper", void 0), $(this, "state", void 0), $(this, "_options", void 0), $(this, "modifiers", {}), $(this, "popperOuterSize", null), this._reference = t, this._popper = r, this.state = {}, this._options = Q(Q({}, Oi), n), this._options.modifierFns = Lr.map(function(i) {
2067
+ ot(this, e), $(this, "_reference", void 0), $(this, "_popper", void 0), $(this, "state", void 0), $(this, "_options", void 0), $(this, "modifiers", {}), $(this, "popperOuterSize", null), this._reference = t, this._popper = r, this.state = {}, this._options = ee(ee({}, Oi), n), this._options.modifierFns = Lr.map(function(i) {
2068
2068
  return o[i];
2069
2069
  }), w || (this._popper.setAttribute("x-placement", this._options.placement), this.state.position = this._getPopperPositionByRefernce(this._reference), me(this._popper, {
2070
2070
  position: this.state.position,
@@ -2104,7 +2104,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2104
2104
  return o !== void 0 && (s = this._options.modifierFns.slice(0, a.modifierFns.findIndex(function(l) {
2105
2105
  return l === o;
2106
2106
  }))), s.forEach(function(l) {
2107
- ee(l) === "function" && (r = l.call(i, r));
2107
+ te(l) === "function" && (r = l.call(i, r));
2108
2108
  }), r;
2109
2109
  }
2110
2110
  // 此时才把offsets.popper 赋值给popper dom, offsets.array赋值给array dom
@@ -2128,7 +2128,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2128
2128
  value: function(r) {
2129
2129
  var n = r.placement, o = n.split("-")[0], i = n.split("-")[1];
2130
2130
  if (i) {
2131
- var s = r.offsets.reference, a = s.top, l = s.left, u = s.height, c = s.width, f = ie(r.offsets.popper), p = {
2131
+ var s = r.offsets.reference, a = s.top, l = s.left, u = s.height, c = s.width, f = ae(r.offsets.popper), p = {
2132
2132
  y: {
2133
2133
  start: {
2134
2134
  top: a
@@ -2156,7 +2156,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2156
2156
  value: function(r) {
2157
2157
  if (this._options.ignoreBoundaries)
2158
2158
  return r;
2159
- var n = this._options.preventOverflowOrder, o = ie(r.offsets.popper), i = {
2159
+ var n = this._options.preventOverflowOrder, o = ae(r.offsets.popper), i = {
2160
2160
  top: function() {
2161
2161
  var a = o.top;
2162
2162
  return a < r.boundaries.top && (a = Math.max(a, r.boundaries.top)), {
@@ -2190,7 +2190,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2190
2190
  }, {
2191
2191
  key: "keepTogether",
2192
2192
  value: function(r) {
2193
- var n = ie(r.offsets.popper), o = r.offsets.reference;
2193
+ var n = ae(r.offsets.popper), o = r.offsets.reference;
2194
2194
  return n.right < Math.floor(o.left) && (r.offsets.popper.left = Math.floor(o.left) - n.width), n.left > Math.floor(o.right) && (r.offsets.popper.left = Math.floor(o.right)), n.bottom < Math.floor(o.top) && (r.offsets.popper.top = Math.floor(o.top) - n.height), n.top > Math.floor(o.bottom) && (r.offsets.popper.top = Math.floor(o.bottom)), r;
2195
2195
  }
2196
2196
  // 根据flip的策略,计算当前应该显示的位置。 空间不够要计算出flip的位置。 可能是担心preventOverflow 时,造成pop, reference会重叠。 重叠了就要flip一下
@@ -2204,7 +2204,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2204
2204
  return l.forEach(function(u, c) {
2205
2205
  if (!(i !== u || l.length === c + 1)) {
2206
2206
  i = r.placement.split("-")[0], s = Mt(i);
2207
- var f = ie(r.offsets.popper), p = ["right", "bottom"].includes(i), v = Math.floor(r.offsets.reference[i]), d = Math.floor(f[s]);
2207
+ var f = ae(r.offsets.popper), p = ["right", "bottom"].includes(i), v = Math.floor(r.offsets.reference[i]), d = Math.floor(f[s]);
2208
2208
  (p && v > d || !p && v < d) && (r.flipped = !0, r.placement = l[c + 1], a && (r.placement += "-".concat(a)), r.offsets.popper = n._getRefPopOffsets(n._popper, n._reference, r.placement).popper, r = n.runModifiers(r, n._options.modifierFns, n.flip));
2209
2209
  }
2210
2210
  }), r;
@@ -2223,7 +2223,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2223
2223
  var n = this._options.arrowElement, o = this._options.arrowOffset;
2224
2224
  if (typeof n == "string" && (n = this._popper.querySelector(n)), !n || !this._popper.contains(n))
2225
2225
  return r;
2226
- var i = {}, s = r.placement.split("-")[0], a = ie(r.offsets.popper), l = r.offsets.reference, u = ~["left", "right"].indexOf(s), c = u ? "height" : "width", f = u ? "bottom" : "right", p = u ? "left" : "top", v = u ? "top" : "left", d = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Fe(this._popper), h = Fe(n), m = h[c];
2226
+ var i = {}, s = r.placement.split("-")[0], a = ae(r.offsets.popper), l = r.offsets.reference, u = ~["left", "right"].indexOf(s), c = u ? "height" : "width", f = u ? "bottom" : "right", p = u ? "left" : "top", v = u ? "top" : "left", d = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Fe(this._popper), h = Fe(n), m = h[c];
2227
2227
  l[f] - m < a[v] && (r.offsets.popper[v] -= a[v] - (l[f] - m)), l[v] + m > a[f] && (r.offsets.popper[v] += l[v] + m - a[f]);
2228
2228
  var g = l[v] + (o || l[c] / 2 - m / 2), _ = g - a[v], S = 4;
2229
2229
  _ = Math.max(Math.min(a[c] - m - S, _), S), i[v] = _, i[p] = "";
@@ -2408,7 +2408,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2408
2408
  });
2409
2409
  }, $i = function(t) {
2410
2410
  return function(r) {
2411
- r ? ae(t.referenceElm, "focusing") : se(t.referenceElm, "focusing");
2411
+ r ? se(t.referenceElm, "focusing") : le(t.referenceElm, "focusing");
2412
2412
  };
2413
2413
  }, Wi = function(t) {
2414
2414
  var r = t.slots, n = t.api;
@@ -2536,7 +2536,7 @@ var Si = ["left", "right", "top", "bottom"], Lr = ["shift", "offset", "preventOv
2536
2536
  });
2537
2537
  }), s(function() {
2538
2538
  O(!0), (a.appendToBody || a.popperAppendToBody) && H("remove");
2539
- }), Q({
2539
+ }), ee({
2540
2540
  updatePopper: S,
2541
2541
  destroyPopper: H,
2542
2542
  doDestroy: O
@@ -3171,7 +3171,7 @@ const sa = /* @__PURE__ */ function() {
3171
3171
  var la = function(t) {
3172
3172
  var r, n = (typeof process > "u" ? "undefined" : be(process)) === "object" ? (r = process.env) === null || r === void 0 ? void 0 : r.TINY_MODE : null;
3173
3173
  return (n || t) === "pc" ? zt : (n || t) === "mobile-first" ? sa : zt;
3174
- }, ua = Q(Q({}, tt), {}, {
3174
+ }, ua = ee(ee({}, tt), {}, {
3175
3175
  visible: {
3176
3176
  type: String,
3177
3177
  default: function() {
@@ -3322,7 +3322,7 @@ const q = et({
3322
3322
  template: la
3323
3323
  });
3324
3324
  }
3325
- }), fa = "3.24.0";
3325
+ }), fa = "3.25.0";
3326
3326
  q.model = {
3327
3327
  prop: "modelValue",
3328
3328
  event: "update:modelValue"
@@ -3332,7 +3332,7 @@ q.install = function(e) {
3332
3332
  };
3333
3333
  q.version = fa;
3334
3334
  typeof window < "u" && window.Vue && q.install(window.Vue);
3335
- var ca = 2, le = {
3335
+ var ca = 2, Q = {
3336
3336
  value: null
3337
3337
  }, Me = De.ref(""), pa = function(t) {
3338
3338
  return (t == null ? void 0 : t.textContent) && (t.scrollWidth > t.clientWidth || t.scrollHeight - t.clientHeight > ca);
@@ -3349,9 +3349,9 @@ var ca = 2, le = {
3349
3349
  var r = t.currentTarget;
3350
3350
  if (r.boundingValue && (da(r) || pa(r))) {
3351
3351
  var n, o;
3352
- if (!le.value) {
3352
+ if (!Q.value) {
3353
3353
  var i;
3354
- Me.value = ((i = r.boundingValue) === null || i === void 0 ? void 0 : i.content) || r.textContent, le.value = rt({
3354
+ Me.value = ((i = r.boundingValue) === null || i === void 0 ? void 0 : i.content) || r.textContent, Q.value = rt({
3355
3355
  el: document.createElement("div"),
3356
3356
  propsData: {
3357
3357
  renderContent: function() {
@@ -3365,17 +3365,20 @@ var ca = 2, le = {
3365
3365
  component: q
3366
3366
  });
3367
3367
  }
3368
- var s = le.value, a = s.state.popperElm;
3368
+ var s = Q.value, a = s.state.popperElm;
3369
3369
  Me.value = ((n = r.boundingValue) === null || n === void 0 ? void 0 : n.content) || r.textContent, s.state.referenceElm = r, s.state.currentPlacement = Ne(r), a && a.classList.replace("is-".concat(Be(r) ? "light" : "dark"), "is-".concat(Be(r) ? "dark" : "light")), s.show(), (o = s.state.popperJS) !== null && o !== void 0 && o._options && (s.state.popperJS._options.placement = Ne(r)), s.updatePopper();
3370
3370
  }
3371
3371
  }, qr = function() {
3372
- le.value && le.value.hide();
3372
+ Q.value && Q.value.hide();
3373
3373
  }, ve = function(t, r) {
3374
3374
  var n, o = r.value, i = o === void 0 ? {} : o;
3375
3375
  t.boundingValue = i, i && !((n = t.boundingValue) !== null && n !== void 0 && n.listened) && (t.addEventListener("mouseenter", Gr), t.addEventListener("mouseleave", qr), t.boundingValue.listened = !0);
3376
3376
  }, $t = function(t) {
3377
3377
  var r;
3378
- (r = t.boundingValue) !== null && r !== void 0 && r.listened && (t.removeEventListener("mouseenter", Gr), t.removeEventListener("mouseleave", qr));
3378
+ if ((r = t.boundingValue) !== null && r !== void 0 && r.listened) {
3379
+ var n = Q.value;
3380
+ n && t === n.state.referenceElm && n.state.showPopper && n.hide(), t.removeEventListener("mouseenter", Gr), t.removeEventListener("mouseleave", qr);
3381
+ }
3379
3382
  };
3380
3383
  const Aa = {
3381
3384
  bind: ve,
@@ -3402,8 +3405,8 @@ w || (E(document, "mousedown", function(e) {
3402
3405
  }));
3403
3406
  var Wt = function(t, r, n) {
3404
3407
  return function() {
3405
- var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = n.context.popperElm || n.context.state && n.context.state.popperElm;
3406
- !(o != null && o.target) || !(i != null && i.target) || t.contains(o.target) || t.contains(i.target) || t === o.target || s && (s.contains(o.target) || s.contains(i.target)) || (r.expression && t[A].methodName && n.context[t[A].methodName] ? n.context[t[A].methodName]() : t[A].bindingFn && t[A].bindingFn());
3408
+ var o, i, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = n.context.popperElm || n.context.state && n.context.state.popperElm, u = (a == null || (o = a.composedPath) === null || o === void 0 ? void 0 : o.call(a)) || [a == null ? void 0 : a.target], c = (s == null || (i = s.composedPath) === null || i === void 0 ? void 0 : i.call(s)) || [s == null ? void 0 : s.target], f = u.includes(t) || c.includes(t), p = l && (u.includes(l) || c.includes(l));
3409
+ !(a != null && a.target) || !(s != null && s.target) || f || p || (r.expression && t[A].methodName && n.context[t[A].methodName] ? n.context[t[A].methodName]() : t[A].bindingFn && t[A].bindingFn());
3407
3410
  };
3408
3411
  };
3409
3412
  const ka = {
@@ -42861,7 +42861,7 @@ const mo = bw({
42861
42861
  this.$slots.default
42862
42862
  ]);
42863
42863
  }
42864
- }), UU = "3.24.0";
42864
+ }), UU = "3.25.0";
42865
42865
  mo.install = function(t) {
42866
42866
  t.component(mo.name, mo);
42867
42867
  };