@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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as rt, $props as nt, createComponent as ot, h as U, deduplicateCssClass as Kr, stringifyCssClass as Qr, setup as er, $prefix as it, hooks as Ve, parseVnode as tr, isEmptyVnode as rr, mergeClass as wt, $setup as en } from "@opentiny/vue-common";
2
- import { withDirectives as nr, createVNode as ue, vShow as or } from "vue";
2
+ import { withDirectives as nr, createVNode as fe, vShow as or } from "vue";
3
3
  function je(e, t) {
4
4
  (t == null || t > e.length) && (t = e.length);
5
5
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
@@ -119,7 +119,7 @@ function xt(e, t) {
119
119
  }
120
120
  return r;
121
121
  }
122
- function ee(e) {
122
+ function te(e) {
123
123
  for (var t = 1; t < arguments.length; t++) {
124
124
  var r = arguments[t] != null ? arguments[t] : {};
125
125
  t % 2 ? xt(Object(r), !0).forEach(function(n) {
@@ -206,15 +206,15 @@ var mn = {
206
206
  trimRight: function(t) {
207
207
  return String.prototype.trimRight ? t.trimRight() : t.replace(/(\s*$)/g, "");
208
208
  }
209
- }, ne = mn;
209
+ }, oe = mn;
210
210
  function gn(e, t) {
211
- e = ne.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
211
+ e = oe.trimRight(e), e[e.length - 1] !== ";" && (e += ";");
212
212
  var r = e.length, n = !1, o = 0, i = 0, a = "";
213
213
  function s() {
214
214
  if (!n) {
215
- var c = ne.trim(e.slice(o, i)), f = c.indexOf(":");
215
+ var c = oe.trim(e.slice(o, i)), f = c.indexOf(":");
216
216
  if (f !== -1) {
217
- var p = ne.trim(c.slice(0, f)), v = ne.trim(c.slice(f + 1));
217
+ var p = oe.trim(c.slice(0, f)), v = oe.trim(c.slice(f + 1));
218
218
  if (p) {
219
219
  var d = t(o, a.length, p, v, c);
220
220
  d && (a += d + "; ");
@@ -232,7 +232,7 @@ function gn(e, t) {
232
232
  } else l === "(" ? n = !0 : l === ")" ? n = !1 : l === ";" ? n || s() : l === `
233
233
  ` && s();
234
234
  }
235
- return ne.trim(a);
235
+ return oe.trim(a);
236
236
  }
237
237
  var bn = gn, pe = X, yn = bn;
238
238
  function Et(e) {
@@ -781,10 +781,10 @@ var wr = Object.prototype.toString, ct = Object.prototype.hasOwnProperty, no = O
781
781
  "[object Boolean]": "boolean"
782
782
  }, pt = function(t) {
783
783
  return t == null;
784
- }, te = function(t) {
784
+ }, re = function(t) {
785
785
  return pt(t) ? String(t) : io[wr.call(t)] || "object";
786
786
  }, Ue = function(t) {
787
- return te(t) === "object";
787
+ return re(t) === "object";
788
788
  }, J = function(t) {
789
789
  if (!t || wr.call(t) !== "[object Object]")
790
790
  return !1;
@@ -844,7 +844,7 @@ var lo = /([:\-_]+(.))/g, uo = /^moz([A-Z])/, fo = function(t) {
844
844
  n && n.call(this, a), I(t, r, o);
845
845
  };
846
846
  S(t, r, o);
847
- }, se = function(t) {
847
+ }, le = function(t) {
848
848
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
849
849
  if (t) {
850
850
  var n = r.split(" ").filter(function(o) {
@@ -854,7 +854,7 @@ var lo = /([:\-_]+(.))/g, uo = /^moz([A-Z])/, fo = function(t) {
854
854
  return t.classList.add(o);
855
855
  });
856
856
  }
857
- }, le = function(t, r) {
857
+ }, ue = function(t, r) {
858
858
  if (!(!t || !r)) {
859
859
  var n = r.split(" ").filter(function(o) {
860
860
  return o;
@@ -1037,7 +1037,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1037
1037
  width: n,
1038
1038
  height: o
1039
1039
  };
1040
- }, re = function(t) {
1040
+ }, ne = function(t) {
1041
1041
  var r = t && t.ownerDocument && t.ownerDocument.defaultView;
1042
1042
  return r || Ee;
1043
1043
  }, _r = Ae(0, 0, 0, 0), Se = function(t) {
@@ -1059,12 +1059,12 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1059
1059
  var r = t.getBBox();
1060
1060
  return Ae(0, 0, r.width, r.height);
1061
1061
  }, Oo = function(t) {
1062
- return t === re(t).document.documentElement;
1062
+ return t === ne(t).document.documentElement;
1063
1063
  }, To = function(t) {
1064
1064
  var r = t.clientWidth, n = t.clientHeight;
1065
1065
  if (!n && !r)
1066
1066
  return _r;
1067
- var o = re(t).getComputedStyle(t), i = So(o), a = i.top + i.bottom, s = i.left + i.right, l = Se(o.width), u = Se(o.height);
1067
+ var o = ne(t).getComputedStyle(t), i = So(o), a = i.top + i.bottom, s = i.left + i.right, l = Se(o.width), u = Se(o.height);
1068
1068
  if (o.boxSizing === "border-box" && (Math.round(u + a) !== n && (u -= At(o, "top", "bottom") + a), Math.round(l + s) !== r && (l -= At(o, "left", "right") + s)), !Oo(t)) {
1069
1069
  var c = Math.round(u + a) - n, f = Math.round(l + s) - r;
1070
1070
  Math.abs(c) !== 1 && (u -= c), Math.abs(f) !== 1 && (l -= f);
@@ -1072,9 +1072,9 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1072
1072
  return Ae(i.left, i.top, l, u);
1073
1073
  }, Ao = /* @__PURE__ */ function() {
1074
1074
  return typeof SVGGraphicsElement < "u" ? function(e) {
1075
- return e instanceof re(e).SVGGraphicsElement;
1075
+ return e instanceof ne(e).SVGGraphicsElement;
1076
1076
  } : function(e) {
1077
- return e instanceof re(e).SVGElement && typeof e.getBBox == "function";
1077
+ return e instanceof ne(e).SVGElement && typeof e.getBBox == "function";
1078
1078
  };
1079
1079
  }(), ko = function(t) {
1080
1080
  return w ? _r : Ao(t) ? _o(t) : To(t);
@@ -1120,7 +1120,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1120
1120
  if (!arguments.length)
1121
1121
  throw new TypeError("[TINY-Resize] 1 argument required, but only 0 present.");
1122
1122
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1123
- if (!(t instanceof re(t).Element))
1123
+ if (!(t instanceof ne(t).Element))
1124
1124
  throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
1125
1125
  var r = this.observations_;
1126
1126
  r.has(t) || (r.set(t, new Po(t)), this.controller_.addObserver(this), this.controller_.refresh());
@@ -1129,7 +1129,7 @@ var yo = 20, wo = ["top", "right", "bottom", "left", "width", "height", "size",
1129
1129
  if (!arguments.length)
1130
1130
  throw new TypeError("[TINY-Resize]1 argument required, but only 0 present.");
1131
1131
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
1132
- if (!(t instanceof re(t).Element))
1132
+ if (!(t instanceof ne(t).Element))
1133
1133
  throw new TypeError('[TINY-Resize] parameter 1 is not of type "Element".');
1134
1134
  var r = this.observations_;
1135
1135
  r.has(t) && (r.delete(t), !r.size && this.controller_.removeObserver(this));
@@ -1245,7 +1245,7 @@ vt = function() {
1245
1245
  for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
1246
1246
  r[n] = arguments[n];
1247
1247
  var o = r.length, i = r[0] || {}, a = 1, s = !1;
1248
- for (te(i) === "boolean" && (s = i, i = r[a] || {}, a++), !Ue(i) && te(i) !== "function" && (i = {}); a < o; a++) {
1248
+ for (re(i) === "boolean" && (s = i, i = r[a] || {}, a++), !Ue(i) && re(i) !== "function" && (i = {}); a < o; a++) {
1249
1249
  var l = r[a];
1250
1250
  if (l !== null && Ue(l))
1251
1251
  for (var u = Object.keys(l), c = 0, f = u; c < f.length; c++) {
@@ -1256,7 +1256,7 @@ vt = function() {
1256
1256
  return i;
1257
1257
  };
1258
1258
  var _e, ht = function(t, r, n, o) {
1259
- if (te(t) === te(r)) {
1259
+ if (re(t) === re(r)) {
1260
1260
  if (n = n !== !1, Array.isArray(o)) {
1261
1261
  var i = Ge(t, o), a = Ge(r, o);
1262
1262
  return ht(i, a, n);
@@ -1304,7 +1304,7 @@ var Go = {
1304
1304
  }, Ar = {
1305
1305
  fullMonths: "January,February,March,April,May,June,July,August,September,October,November,December".split(","),
1306
1306
  fullWeeks: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1307
- }, mt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = mt[0], qo = mt[1], Jo = mt[2], oe = "[^\\s]+", kt = function() {
1307
+ }, mt = ["\\d\\d?", "\\d{3}", "\\d{4}"], j = mt[0], qo = mt[1], Jo = mt[2], ie = "[^\\s]+", kt = function() {
1308
1308
  }, kr = function(t, r) {
1309
1309
  for (var n = [], o = 0, i = t.length; o < i; o++)
1310
1310
  n.push(t[o].substr(0, r));
@@ -1321,7 +1321,7 @@ var Z = {
1321
1321
  d: [j, function(e, t) {
1322
1322
  e.day = t;
1323
1323
  }],
1324
- Do: [j + oe, function(e, t) {
1324
+ Do: [j + ie, function(e, t) {
1325
1325
  e.day = parseInt(t, 10);
1326
1326
  }],
1327
1327
  M: [j, function(e, t) {
@@ -1353,10 +1353,10 @@ var Z = {
1353
1353
  e.millisecond = t;
1354
1354
  }],
1355
1355
  D: [j, kt],
1356
- ddd: [oe, kt],
1357
- MMM: [oe, Ct("monthNamesShort")],
1358
- MMMM: [oe, Ct("monthNames")],
1359
- a: [oe, function(e, t, r) {
1356
+ ddd: [ie, kt],
1357
+ MMM: [ie, Ct("monthNamesShort")],
1358
+ MMMM: [ie, Ct("monthNames")],
1359
+ a: [ie, function(e, t, r) {
1360
1360
  var n = t.toLowerCase();
1361
1361
  n === r.amPm[0] ? e.isPm = !1 : n === r.amPm[1] && (e.isPm = !0);
1362
1362
  }],
@@ -1794,7 +1794,7 @@ if (w || !window.WebSocket) {
1794
1794
  typeof Ei == "function" && (R[Me] = xi);
1795
1795
  }
1796
1796
  }
1797
- var he = {}, ie = {
1797
+ var he = {}, ae = {
1798
1798
  leave: "v-modal-leave",
1799
1799
  enter: "v-modal-enter",
1800
1800
  modal: "v-modal"
@@ -1851,14 +1851,14 @@ var he = {}, ie = {
1851
1851
  return;
1852
1852
  }
1853
1853
  var u = Ye();
1854
- if (se(u, ie.modal), this.modalFade && !P.hasModal && se(u, ie.enter), o) {
1854
+ if (le(u, ae.modal), this.modalFade && !P.hasModal && le(u, ae.enter), o) {
1855
1855
  var c = o.trim().split(/\s+/);
1856
1856
  c.forEach(function(p) {
1857
- return se(u, p);
1857
+ return le(u, p);
1858
1858
  });
1859
1859
  }
1860
1860
  setTimeout(function() {
1861
- le(u, ie.enter);
1861
+ ue(u, ae.enter);
1862
1862
  }, 200), r && (u.style.zIndex = r.toString()), u.style.display = "", u.tabIndex = 0;
1863
1863
  var f;
1864
1864
  n && n.parentNode && n.parentNode.nodeType !== 11 ? f = n.parentNode : f = document.body, f.appendChild(u), this.modalStack.push({
@@ -1884,7 +1884,7 @@ var he = {}, ie = {
1884
1884
  if (o.modalClass) {
1885
1885
  var i = o.modalClass.trim().split(/\s+/);
1886
1886
  i.forEach(function(s) {
1887
- return le(n, s);
1887
+ return ue(n, s);
1888
1888
  });
1889
1889
  }
1890
1890
  r.pop();
@@ -1893,8 +1893,8 @@ var he = {}, ie = {
1893
1893
  } else
1894
1894
  Si(r, t);
1895
1895
  }
1896
- r.length === 0 && (this.modalFade && se(n, ie.leave), le(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1897
- r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", P.modalDom = null), le(n, ie.leave);
1896
+ r.length === 0 && (this.modalFade && le(n, ae.leave), ue(document.body, this.popLockClass), this.resetBodyBorder(), setTimeout(function() {
1897
+ r.length === 0 && (n.parentNode && n.parentNode.removeChild(n), n.style.display = "none", P.modalDom = null), ue(n, ae.leave);
1898
1898
  }, 200));
1899
1899
  }
1900
1900
  };
@@ -2040,8 +2040,8 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2040
2040
  return t.replace(/left|right|bottom|top/g, function(n) {
2041
2041
  return r[n];
2042
2042
  });
2043
- }, ae = function(t) {
2044
- var r = ee({}, t);
2043
+ }, se = function(t) {
2044
+ var r = te({}, t);
2045
2045
  return r.right = r.left + r.width, r.bottom = r.top + r.height, r;
2046
2046
  }, Wr = function(t) {
2047
2047
  var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = t.parentNode;
@@ -2065,7 +2065,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2065
2065
  }) : null, Ri = /* @__PURE__ */ function() {
2066
2066
  function e(t, r, n) {
2067
2067
  var o = this;
2068
- at(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 = jr.map(function(i) {
2068
+ at(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 = te(te({}, Oi), n), this._options.modifierFns = jr.map(function(i) {
2069
2069
  return o[i];
2070
2070
  }), w || (this._popper.setAttribute("x-placement", this._options.placement), this.state.position = this._getPopperPositionByRefernce(this._reference), be(this._popper, {
2071
2071
  position: this.state.position,
@@ -2105,7 +2105,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2105
2105
  return o !== void 0 && (a = this._options.modifierFns.slice(0, s.modifierFns.findIndex(function(l) {
2106
2106
  return l === o;
2107
2107
  }))), a.forEach(function(l) {
2108
- te(l) === "function" && (r = l.call(i, r));
2108
+ re(l) === "function" && (r = l.call(i, r));
2109
2109
  }), r;
2110
2110
  }
2111
2111
  // 此时才把offsets.popper 赋值给popper dom, offsets.array赋值给array dom
@@ -2129,7 +2129,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2129
2129
  value: function(r) {
2130
2130
  var n = r.placement, o = n.split("-")[0], i = n.split("-")[1];
2131
2131
  if (i) {
2132
- var a = r.offsets.reference, s = a.top, l = a.left, u = a.height, c = a.width, f = ae(r.offsets.popper), p = {
2132
+ var a = r.offsets.reference, s = a.top, l = a.left, u = a.height, c = a.width, f = se(r.offsets.popper), p = {
2133
2133
  y: {
2134
2134
  start: {
2135
2135
  top: s
@@ -2157,7 +2157,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2157
2157
  value: function(r) {
2158
2158
  if (this._options.ignoreBoundaries)
2159
2159
  return r;
2160
- var n = this._options.preventOverflowOrder, o = ae(r.offsets.popper), i = {
2160
+ var n = this._options.preventOverflowOrder, o = se(r.offsets.popper), i = {
2161
2161
  top: function() {
2162
2162
  var s = o.top;
2163
2163
  return s < r.boundaries.top && (s = Math.max(s, r.boundaries.top)), {
@@ -2191,7 +2191,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2191
2191
  }, {
2192
2192
  key: "keepTogether",
2193
2193
  value: function(r) {
2194
- var n = ae(r.offsets.popper), o = r.offsets.reference;
2194
+ var n = se(r.offsets.popper), o = r.offsets.reference;
2195
2195
  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;
2196
2196
  }
2197
2197
  // 根据flip的策略,计算当前应该显示的位置。 空间不够要计算出flip的位置。 可能是担心preventOverflow 时,造成pop, reference会重叠。 重叠了就要flip一下
@@ -2205,7 +2205,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2205
2205
  return l.forEach(function(u, c) {
2206
2206
  if (!(i !== u || l.length === c + 1)) {
2207
2207
  i = r.placement.split("-")[0], a = Nt(i);
2208
- var f = ae(r.offsets.popper), p = ["right", "bottom"].includes(i), v = Math.floor(r.offsets.reference[i]), d = Math.floor(f[a]);
2208
+ var f = se(r.offsets.popper), p = ["right", "bottom"].includes(i), v = Math.floor(r.offsets.reference[i]), d = Math.floor(f[a]);
2209
2209
  (p && v > d || !p && v < d) && (r.flipped = !0, r.placement = l[c + 1], s && (r.placement += "-".concat(s)), r.offsets.popper = n._getRefPopOffsets(n._popper, n._reference, r.placement).popper, r = n.runModifiers(r, n._options.modifierFns, n.flip));
2210
2210
  }
2211
2211
  }), r;
@@ -2224,7 +2224,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2224
2224
  var n = this._options.arrowElement, o = this._options.arrowOffset;
2225
2225
  if (typeof n == "string" && (n = this._popper.querySelector(n)), !n || !this._popper.contains(n))
2226
2226
  return r;
2227
- var i = {}, a = r.placement.split("-")[0], s = ae(r.offsets.popper), l = r.offsets.reference, u = ~["left", "right"].indexOf(a), c = u ? "height" : "width", f = u ? "bottom" : "right", p = u ? "left" : "top", v = u ? "top" : "left", d = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Be(this._popper), y = Be(n), h = y[c];
2227
+ var i = {}, a = r.placement.split("-")[0], s = se(r.offsets.popper), l = r.offsets.reference, u = ~["left", "right"].indexOf(a), c = u ? "height" : "width", f = u ? "bottom" : "right", p = u ? "left" : "top", v = u ? "top" : "left", d = this.popperOuterSize ? this.popperOuterSize : this.popperOuterSize = Be(this._popper), y = Be(n), h = y[c];
2228
2228
  l[f] - h < s[v] && (r.offsets.popper[v] -= s[v] - (l[f] - h)), l[v] + h > s[f] && (r.offsets.popper[v] += l[v] + h - s[f]);
2229
2229
  var m = l[v] + (o || l[c] / 2 - h / 2), E = m - s[v], _ = 4;
2230
2230
  E = Math.max(Math.min(s[c] - h - _, E), _), i[v] = E, i[p] = "";
@@ -2409,7 +2409,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2409
2409
  });
2410
2410
  }, $i = function(t) {
2411
2411
  return function(r) {
2412
- r ? se(t.referenceElm, "focusing") : le(t.referenceElm, "focusing");
2412
+ r ? le(t.referenceElm, "focusing") : ue(t.referenceElm, "focusing");
2413
2413
  };
2414
2414
  }, Wi = function(t) {
2415
2415
  var r = t.slots, n = t.api;
@@ -2537,7 +2537,7 @@ var _i = ["left", "right", "top", "bottom"], jr = ["shift", "offset", "preventOv
2537
2537
  });
2538
2538
  }), a(function() {
2539
2539
  O(!0), (s.appendToBody || s.popperAppendToBody) && H("remove");
2540
- }), ee({
2540
+ }), te({
2541
2541
  updatePopper: _,
2542
2542
  destroyPopper: H,
2543
2543
  doDestroy: O
@@ -2820,7 +2820,7 @@ const Ht = /* @__PURE__ */ rt({
2820
2820
  };
2821
2821
  return this.$nextTick(() => {
2822
2822
  !this.disabled && this.state.showPopper && i && this.updatePopper();
2823
- }), U("transition", s, [nr(ue("div", {
2823
+ }), U("transition", s, [nr(fe("div", {
2824
2824
  ref: "popper",
2825
2825
  id: this.state.tooltipId,
2826
2826
  class: ["tiny-tooltip", "tiny-tooltip__popper", l, this.popperClass, {
@@ -2831,7 +2831,7 @@ const Ht = /* @__PURE__ */ rt({
2831
2831
  "aria-hidden": this.disabled || !this.state.showPopper ? "true" : "false",
2832
2832
  onMouseenter: () => u(),
2833
2833
  onMouseleave: () => c()
2834
- }, [a ? ue("div", {
2834
+ }, [a ? fe("div", {
2835
2835
  class: "tiny-tooltip__content-wrapper",
2836
2836
  style: `max-height:${this.contentMaxHeight};`
2837
2837
  }, [i]) : i]), [[or, !this.disabled && this.state.showPopper && i]])]);
@@ -3046,7 +3046,7 @@ const Zi = /* @__PURE__ */ rt({
3046
3046
  this.setExpectedState(!1), this.debounceClose();
3047
3047
  };
3048
3048
  const p = this.state.xPlacement || "";
3049
- return U("transition", u, [nr(ue("div", {
3049
+ return U("transition", u, [nr(fe("div", {
3050
3050
  "data-tag": "tiny-tooltip",
3051
3051
  ref: "popper",
3052
3052
  id: this.state.tooltipId,
@@ -3056,9 +3056,9 @@ const Zi = /* @__PURE__ */ rt({
3056
3056
  "aria-hidden": this.disabled || !this.state.showPopper ? "true" : "false",
3057
3057
  onMouseenter: () => c(),
3058
3058
  onMouseleave: () => f()
3059
- }, [l ? ue("div", {
3059
+ }, [l ? fe("div", {
3060
3060
  style: `overflow:auto;max-height:${this.contentMaxHeight}`
3061
- }, [s]) : s, this.visibleArrow ? ue("div", {
3061
+ }, [s]) : s, this.visibleArrow ? fe("div", {
3062
3062
  "x-arrow": !0,
3063
3063
  class: wt([N.arrow, N["placement-" + p.split("-")[0]], !this.effect && !this.type && N["placement-" + p.split("-")[0] + "-sm"], this.effect === "light" ? N["placement-" + p.split("-")[0] + "-light"] : "", this.effect === "dark" ? N["placement-" + p.split("-")[0] + "-dark"] : "", this.type ? N[`arrow-${p.split("-")[0]}-${this.type}`] : ""])
3064
3064
  }, null) : ""]), [[or, !this.disabled && this.state.showPopper && s]])]);
@@ -3104,7 +3104,7 @@ const Zi = /* @__PURE__ */ rt({
3104
3104
  var Ki = function(t) {
3105
3105
  var r, n = (typeof process > "u" ? "undefined" : we(process)) === "object" ? (r = process.env) === null || r === void 0 ? void 0 : r.TINY_MODE : null;
3106
3106
  return (n || t) === "pc" ? Ht : (n || t) === "mobile-first" ? Zi : Ht;
3107
- }, Qi = ee(ee({}, nt), {}, {
3107
+ }, Qi = te(te({}, nt), {}, {
3108
3108
  visible: {
3109
3109
  type: String,
3110
3110
  default: function() {
@@ -3255,7 +3255,7 @@ const Q = rt({
3255
3255
  template: Ki
3256
3256
  });
3257
3257
  }
3258
- }), ea = "3.24.0";
3258
+ }), ea = "3.25.0";
3259
3259
  Q.model = {
3260
3260
  prop: "modelValue",
3261
3261
  event: "update:modelValue"
@@ -3264,7 +3264,7 @@ Q.install = function(e) {
3264
3264
  e.component(Q.name, Q);
3265
3265
  };
3266
3266
  Q.version = ea;
3267
- var ta = 2, fe = {
3267
+ var ta = 2, ee = {
3268
3268
  value: null
3269
3269
  }, Ne = Ve.ref(""), ra = function(t) {
3270
3270
  return (t == null ? void 0 : t.textContent) && (t.scrollWidth > t.clientWidth || t.scrollHeight - t.clientHeight > ta);
@@ -3281,9 +3281,9 @@ var ta = 2, fe = {
3281
3281
  var r = t.currentTarget;
3282
3282
  if (r.boundingValue && (na(r) || ra(r))) {
3283
3283
  var n, o;
3284
- if (!fe.value) {
3284
+ if (!ee.value) {
3285
3285
  var i;
3286
- Ne.value = ((i = r.boundingValue) === null || i === void 0 ? void 0 : i.content) || r.textContent, fe.value = ot({
3286
+ Ne.value = ((i = r.boundingValue) === null || i === void 0 ? void 0 : i.content) || r.textContent, ee.value = ot({
3287
3287
  el: document.createElement("div"),
3288
3288
  propsData: {
3289
3289
  renderContent: function() {
@@ -3297,17 +3297,20 @@ var ta = 2, fe = {
3297
3297
  component: Q
3298
3298
  });
3299
3299
  }
3300
- var a = fe.value, s = a.state.popperElm;
3300
+ var a = ee.value, s = a.state.popperElm;
3301
3301
  Ne.value = ((n = r.boundingValue) === null || n === void 0 ? void 0 : n.content) || r.textContent, a.state.referenceElm = r, a.state.currentPlacement = Le(r), s && s.classList.replace("is-".concat(De(r) ? "light" : "dark"), "is-".concat(De(r) ? "dark" : "light")), a.show(), (o = a.state.popperJS) !== null && o !== void 0 && o._options && (a.state.popperJS._options.placement = Le(r)), a.updatePopper();
3302
3302
  }
3303
3303
  }, Jr = function() {
3304
- fe.value && fe.value.hide();
3304
+ ee.value && ee.value.hide();
3305
3305
  }, me = function(t, r) {
3306
3306
  var n, o = r.value, i = o === void 0 ? {} : o;
3307
3307
  t.boundingValue = i, i && !((n = t.boundingValue) !== null && n !== void 0 && n.listened) && (t.addEventListener("mouseenter", qr), t.addEventListener("mouseleave", Jr), t.boundingValue.listened = !0);
3308
3308
  }, $t = function(t) {
3309
3309
  var r;
3310
- (r = t.boundingValue) !== null && r !== void 0 && r.listened && (t.removeEventListener("mouseenter", qr), t.removeEventListener("mouseleave", Jr));
3310
+ if ((r = t.boundingValue) !== null && r !== void 0 && r.listened) {
3311
+ var n = ee.value;
3312
+ n && t === n.state.referenceElm && n.state.showPopper && n.hide(), t.removeEventListener("mouseenter", qr), t.removeEventListener("mouseleave", Jr);
3313
+ }
3311
3314
  };
3312
3315
  const ba = {
3313
3316
  bind: me,
@@ -3334,8 +3337,8 @@ w || (S(document, "mousedown", function(e) {
3334
3337
  }));
3335
3338
  var Wt = function(t, r, n) {
3336
3339
  return function() {
3337
- var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.context.popperElm || n.context.state && n.context.state.popperElm;
3338
- !(o != null && o.target) || !(i != null && i.target) || t.contains(o.target) || t.contains(i.target) || t === o.target || a && (a.contains(o.target) || a.contains(i.target)) || (r.expression && t[A].methodName && n.context[t[A].methodName] ? n.context[t[A].methodName]() : t[A].bindingFn && t[A].bindingFn());
3340
+ var o, i, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = n.context.popperElm || n.context.state && n.context.state.popperElm, u = (s == null || (o = s.composedPath) === null || o === void 0 ? void 0 : o.call(s)) || [s == null ? void 0 : s.target], c = (a == null || (i = a.composedPath) === null || i === void 0 ? void 0 : i.call(a)) || [a == null ? void 0 : a.target], f = u.includes(t) || c.includes(t), p = l && (u.includes(l) || c.includes(l));
3341
+ !(s != null && s.target) || !(a != null && a.target) || f || p || (r.expression && t[A].methodName && n.context[t[A].methodName] ? n.context[t[A].methodName]() : t[A].bindingFn && t[A].bindingFn());
3339
3342
  };
3340
3343
  };
3341
3344
  const ya = {
@@ -42632,7 +42632,7 @@ const Cl = tw({
42632
42632
  this.$slots.default
42633
42633
  ]);
42634
42634
  }
42635
- }), RV = "3.24.0";
42635
+ }), RV = "3.25.0";
42636
42636
  Cl.install = function(t) {
42637
42637
  t.component(Cl.name, Cl);
42638
42638
  };