@squirrel-cloud/ui-vue 0.4.4 → 0.4.5

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,4 +1,4 @@
1
- import { createElementBlock as F, openBlock as m, createElementVNode as E, createStaticVNode as uu, defineComponent as O, computed as y, createBlock as L, unref as b, normalizeClass as J, withCtx as Z, createCommentVNode as U, createTextVNode as cu, resolveDynamicComponent as me, toDisplayString as re, h as Ju, ref as R, normalizeStyle as ee, onMounted as be, onBeforeUnmount as Ze, Transition as Te, withDirectives as de, renderSlot as W, vShow as Ve, useSlots as pu, createVNode as T, inject as _e, provide as tu, toRef as oe, mergeModels as se, useModel as ie, watch as fe, vModelCheckbox as Kt, toRaw as We, Fragment as xe, renderList as Ue, Teleport as Qt, mergeProps as Ge, shallowRef as le, withModifiers as Be, nextTick as Ku, vModelDynamic as u0, vModelText as t0, render as _t, cloneVNode as n0, Text as o0, Comment as r0, vModelRadio as en } from "vue";
1
+ import { createElementBlock as F, openBlock as m, createElementVNode as E, createStaticVNode as uu, defineComponent as O, computed as y, createBlock as L, unref as b, normalizeClass as K, withCtx as Z, createCommentVNode as U, createTextVNode as cu, resolveDynamicComponent as me, toDisplayString as re, h as Ju, ref as R, normalizeStyle as ee, onMounted as be, onBeforeUnmount as Ve, Transition as Te, withDirectives as de, renderSlot as W, vShow as Ue, useSlots as pu, createVNode as T, inject as _e, provide as tu, toRef as oe, mergeModels as se, useModel as ie, watch as fe, vModelCheckbox as Kt, toRaw as Ge, Fragment as xe, renderList as He, Teleport as Qt, mergeProps as Oe, shallowRef as le, withModifiers as Be, nextTick as Ku, vModelDynamic as u0, vModelText as t0, render as _t, cloneVNode as n0, Text as o0, Comment as r0, vModelRadio as en } from "vue";
2
2
  const X = (e, u) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [n, o] of u)
@@ -458,7 +458,7 @@ const er = /* @__PURE__ */ X(Jo, [["render", Qo]]), st = {
458
458
  return u.type && o.push(`is-${u.type}`), o;
459
459
  }), n = y(() => u.icon ? u.icon : u.showIcon && u.type ? st[u.type] : void 0);
460
460
  return (o, r) => (m(), L(b(Ie), {
461
- class: J(["sq-alert", t.value])
461
+ class: K(["sq-alert", t.value])
462
462
  }, {
463
463
  default: Z(() => [
464
464
  n.value ? (m(), L(me(n.value), { key: 0 })) : U("", !0),
@@ -1166,7 +1166,7 @@ const Zr = /[.?*+^$[\]\\(){}|-]/g;
1166
1166
  function Vr(e) {
1167
1167
  return e.replace(Zr, "\\$&");
1168
1168
  }
1169
- function K(e) {
1169
+ function J(e) {
1170
1170
  switch (e) {
1171
1171
  case 9:
1172
1172
  case 32:
@@ -1253,7 +1253,7 @@ const Ur = { mdurl: br, ucmicro: xr }, Hr = /* @__PURE__ */ Object.freeze(/* @__
1253
1253
  has: Br,
1254
1254
  isMdAsciiPunct: lu,
1255
1255
  isPunctChar: au,
1256
- isSpace: K,
1256
+ isSpace: J,
1257
1257
  isString: dt,
1258
1258
  isValidEntityCode: ft,
1259
1259
  isWhiteSpace: iu,
@@ -1792,7 +1792,7 @@ function Fe(e, u, t, n) {
1792
1792
  for (let r = 0, s = 0, c = 0, i = 0, a = o.length, l = !1; s < a; s++) {
1793
1793
  const d = o.charCodeAt(s);
1794
1794
  if (!l)
1795
- if (K(d)) {
1795
+ if (J(d)) {
1796
1796
  c++, d === 9 ? i += 4 - i % 4 : i++;
1797
1797
  continue;
1798
1798
  } else
@@ -1816,7 +1816,7 @@ Fe.prototype.skipEmptyLines = function(u) {
1816
1816
  Fe.prototype.skipSpaces = function(u) {
1817
1817
  for (let t = this.src.length; u < t; u++) {
1818
1818
  const n = this.src.charCodeAt(u);
1819
- if (!K(n))
1819
+ if (!J(n))
1820
1820
  break;
1821
1821
  }
1822
1822
  return u;
@@ -1825,7 +1825,7 @@ Fe.prototype.skipSpacesBack = function(u, t) {
1825
1825
  if (u <= t)
1826
1826
  return u;
1827
1827
  for (; u > t; )
1828
- if (!K(this.src.charCodeAt(--u)))
1828
+ if (!J(this.src.charCodeAt(--u)))
1829
1829
  return u + 1;
1830
1830
  return u;
1831
1831
  };
@@ -1852,7 +1852,7 @@ Fe.prototype.getLines = function(u, t, n, o) {
1852
1852
  let l = a, d;
1853
1853
  for (c + 1 < t || o ? d = this.eMarks[c] + 1 : d = this.eMarks[c]; l < d && i < n; ) {
1854
1854
  const h = this.src.charCodeAt(l);
1855
- if (K(h))
1855
+ if (J(h))
1856
1856
  h === 9 ? i += 4 - (i + this.bsCount[c]) % 4 : i++;
1857
1857
  else if (l - a < this.tShift[c])
1858
1858
  i++;
@@ -1890,11 +1890,11 @@ function ms(e, u, t, n) {
1890
1890
  if (s !== 124 && s !== 45 && s !== 58 || r >= e.eMarks[o])
1891
1891
  return !1;
1892
1892
  const c = e.src.charCodeAt(r++);
1893
- if (c !== 124 && c !== 45 && c !== 58 && !K(c) || s === 45 && K(c))
1893
+ if (c !== 124 && c !== 45 && c !== 58 && !J(c) || s === 45 && J(c))
1894
1894
  return !1;
1895
1895
  for (; r < e.eMarks[o]; ) {
1896
1896
  const k = e.src.charCodeAt(r);
1897
- if (k !== 124 && k !== 45 && k !== 58 && !K(k))
1897
+ if (k !== 124 && k !== 45 && k !== 58 && !J(k))
1898
1898
  return !1;
1899
1899
  r++;
1900
1900
  }
@@ -2027,7 +2027,7 @@ function vs(e, u, t, n) {
2027
2027
  let H = $;
2028
2028
  for (c.push(e.bMarks[f]), e.bMarks[f] = o; o < r; ) {
2029
2029
  const S = e.src.charCodeAt(o);
2030
- if (K(S))
2030
+ if (J(S))
2031
2031
  S === 9 ? H += 4 - (H + e.bsCount[f] + (V ? 1 : 0)) % 4 : H++;
2032
2032
  else
2033
2033
  break;
@@ -2073,7 +2073,7 @@ function _s(e, u, t, n) {
2073
2073
  let c = 1;
2074
2074
  for (; r < o; ) {
2075
2075
  const a = e.src.charCodeAt(r++);
2076
- if (a !== s && !K(a))
2076
+ if (a !== s && !J(a))
2077
2077
  return !1;
2078
2078
  a === s && c++;
2079
2079
  }
@@ -2093,7 +2093,7 @@ function zt(e, u) {
2093
2093
  return -1;
2094
2094
  if (n < t) {
2095
2095
  const r = e.src.charCodeAt(n);
2096
- if (!K(r))
2096
+ if (!J(r))
2097
2097
  return -1;
2098
2098
  }
2099
2099
  return n;
@@ -2118,7 +2118,7 @@ function Tt(e, u) {
2118
2118
  break;
2119
2119
  return -1;
2120
2120
  }
2121
- return o < n && (r = e.src.charCodeAt(o), !K(r)) ? -1 : o;
2121
+ return o < n && (r = e.src.charCodeAt(o), !J(r)) ? -1 : o;
2122
2122
  }
2123
2123
  function ks(e, u) {
2124
2124
  const t = e.level + 2;
@@ -2240,7 +2240,7 @@ function ws(e, u, t, n) {
2240
2240
  if (w === 10) {
2241
2241
  const C = c(s);
2242
2242
  C !== null && (i += C, r = i.length, s++);
2243
- } else if (!K(w)) break;
2243
+ } else if (!J(w)) break;
2244
2244
  }
2245
2245
  const l = e.md.helpers.parseLinkDestination(i, o, r);
2246
2246
  if (!l.ok)
@@ -2255,7 +2255,7 @@ function ws(e, u, t, n) {
2255
2255
  if (w === 10) {
2256
2256
  const C = c(s);
2257
2257
  C !== null && (i += C, r = i.length, s++);
2258
- } else if (!K(w)) break;
2258
+ } else if (!J(w)) break;
2259
2259
  }
2260
2260
  let g = e.md.helpers.parseLinkTitle(i, o, r);
2261
2261
  for (; g.can_continue; ) {
@@ -2266,14 +2266,14 @@ function ws(e, u, t, n) {
2266
2266
  let _;
2267
2267
  for (o < r && f !== o && g.ok ? (_ = g.str, o = g.pos) : (_ = "", o = h, s = p); o < r; ) {
2268
2268
  const w = i.charCodeAt(o);
2269
- if (!K(w))
2269
+ if (!J(w))
2270
2270
  break;
2271
2271
  o++;
2272
2272
  }
2273
2273
  if (o < r && i.charCodeAt(o) !== 10 && _)
2274
2274
  for (_ = "", o = h, s = p; o < r; ) {
2275
2275
  const w = i.charCodeAt(o);
2276
- if (!K(w))
2276
+ if (!J(w))
2277
2277
  break;
2278
2278
  o++;
2279
2279
  }
@@ -2345,7 +2345,7 @@ const Cs = [
2345
2345
  "tr",
2346
2346
  "track",
2347
2347
  "ul"
2348
- ], Ds = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Es = "[^\"'=<>`\\x00-\\x20]+", As = "'[^']*'", Fs = '"[^"]*"', Ss = "(?:" + Es + "|" + As + "|" + Fs + ")", qs = "(?:\\s+" + Ds + "(?:\\s*=\\s*" + Ss + ")?)", _n = "<[A-Za-z][A-Za-z0-9\\-]*" + qs + "*\\s*\\/?>", kn = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", $s = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Bs = "<[?][\\s\\S]*?[?]>", Ms = "<![A-Za-z][^>]*>", zs = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Ts = new RegExp("^(?:" + _n + "|" + kn + "|" + $s + "|" + Bs + "|" + Ms + "|" + zs + ")"), Rs = new RegExp("^(?:" + _n + "|" + kn + ")"), He = [
2348
+ ], Ds = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Es = "[^\"'=<>`\\x00-\\x20]+", As = "'[^']*'", Fs = '"[^"]*"', Ss = "(?:" + Es + "|" + As + "|" + Fs + ")", qs = "(?:\\s+" + Ds + "(?:\\s*=\\s*" + Ss + ")?)", _n = "<[A-Za-z][A-Za-z0-9\\-]*" + qs + "*\\s*\\/?>", kn = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", $s = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Bs = "<[?][\\s\\S]*?[?]>", Ms = "<![A-Za-z][^>]*>", zs = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Ts = new RegExp("^(?:" + _n + "|" + kn + "|" + $s + "|" + Bs + "|" + Ms + "|" + zs + ")"), Rs = new RegExp("^(?:" + _n + "|" + kn + ")"), je = [
2349
2349
  [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
2350
2350
  [/^<!--/, /-->/, !0],
2351
2351
  [/^<\?/, /\?>/, !0],
@@ -2359,16 +2359,16 @@ function Ls(e, u, t, n) {
2359
2359
  if (e.sCount[u] - e.blkIndent >= 4 || !e.md.options.html || e.src.charCodeAt(o) !== 60)
2360
2360
  return !1;
2361
2361
  let s = e.src.slice(o, r), c = 0;
2362
- for (; c < He.length && !He[c][0].test(s); c++)
2362
+ for (; c < je.length && !je[c][0].test(s); c++)
2363
2363
  ;
2364
- if (c === He.length)
2364
+ if (c === je.length)
2365
2365
  return !1;
2366
2366
  if (n)
2367
- return He[c][2];
2367
+ return je[c][2];
2368
2368
  let i = u + 1;
2369
- if (!He[c][1].test(s)) {
2369
+ if (!je[c][1].test(s)) {
2370
2370
  for (; i < t && !(e.sCount[i] < e.blkIndent); i++)
2371
- if (o = e.bMarks[i] + e.tShift[i], r = e.eMarks[i], s = e.src.slice(o, r), He[c][1].test(s)) {
2371
+ if (o = e.bMarks[i] + e.tShift[i], r = e.eMarks[i], s = e.src.slice(o, r), je[c][1].test(s)) {
2372
2372
  s.length !== 0 && i++;
2373
2373
  break;
2374
2374
  }
@@ -2387,13 +2387,13 @@ function Is(e, u, t, n) {
2387
2387
  let c = 1;
2388
2388
  for (s = e.src.charCodeAt(++o); s === 35 && o < r && c <= 6; )
2389
2389
  c++, s = e.src.charCodeAt(++o);
2390
- if (c > 6 || o < r && !K(s))
2390
+ if (c > 6 || o < r && !J(s))
2391
2391
  return !1;
2392
2392
  if (n)
2393
2393
  return !0;
2394
2394
  r = e.skipSpacesBack(r, o);
2395
2395
  const i = e.skipCharsBack(r, 35, o);
2396
- i > o && K(e.src.charCodeAt(i - 1)) && (r = i), e.line = u + 1;
2396
+ i > o && J(e.src.charCodeAt(i - 1)) && (r = i), e.line = u + 1;
2397
2397
  const a = e.push("heading_open", "h" + String(c), 1);
2398
2398
  a.markup = "########".slice(0, c), a.map = [u, e.line];
2399
2399
  const l = e.push("inline", "", 0);
@@ -2608,7 +2608,7 @@ function Hs(e, u) {
2608
2608
  e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0);
2609
2609
  else
2610
2610
  e.push("softbreak", "br", 0);
2611
- for (t++; t < o && K(e.src.charCodeAt(t)); )
2611
+ for (t++; t < o && J(e.src.charCodeAt(t)); )
2612
2612
  t++;
2613
2613
  return e.pos = t, !0;
2614
2614
  }
@@ -2624,7 +2624,7 @@ function js(e, u) {
2624
2624
  if (e.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
2625
2625
  let o = e.src.charCodeAt(t);
2626
2626
  if (o === 10) {
2627
- for (u || e.push("hardbreak", "br", 0), t++; t < n && (o = e.src.charCodeAt(t), !!K(o)); )
2627
+ for (u || e.push("hardbreak", "br", 0), t++; t < n && (o = e.src.charCodeAt(t), !!J(o)); )
2628
2628
  t++;
2629
2629
  return e.pos = t, !0;
2630
2630
  }
@@ -2782,15 +2782,15 @@ function Ks(e, u) {
2782
2782
  return !1;
2783
2783
  let f = p + 1;
2784
2784
  if (f < d && e.src.charCodeAt(f) === 40) {
2785
- for (a = !1, f++; f < d && (t = e.src.charCodeAt(f), !(!K(t) && t !== 10)); f++)
2785
+ for (a = !1, f++; f < d && (t = e.src.charCodeAt(f), !(!J(t) && t !== 10)); f++)
2786
2786
  ;
2787
2787
  if (f >= d)
2788
2788
  return !1;
2789
2789
  if (i = f, o = e.md.helpers.parseLinkDestination(e.src, f, e.posMax), o.ok) {
2790
- for (s = e.md.normalizeLink(o.str), e.md.validateLink(s) ? f = o.pos : s = "", i = f; f < d && (t = e.src.charCodeAt(f), !(!K(t) && t !== 10)); f++)
2790
+ for (s = e.md.normalizeLink(o.str), e.md.validateLink(s) ? f = o.pos : s = "", i = f; f < d && (t = e.src.charCodeAt(f), !(!J(t) && t !== 10)); f++)
2791
2791
  ;
2792
2792
  if (o = e.md.helpers.parseLinkTitle(e.src, f, e.posMax), f < d && i !== f && o.ok)
2793
- for (c = o.str, f = o.pos; f < d && (t = e.src.charCodeAt(f), !(!K(t) && t !== 10)); f++)
2793
+ for (c = o.str, f = o.pos; f < d && (t = e.src.charCodeAt(f), !(!J(t) && t !== 10)); f++)
2794
2794
  ;
2795
2795
  }
2796
2796
  (f >= d || e.src.charCodeAt(f) !== 41) && (a = !0), f++;
@@ -2818,14 +2818,14 @@ function Qs(e, u) {
2818
2818
  if (f < 0)
2819
2819
  return !1;
2820
2820
  if (r = f + 1, r < h && e.src.charCodeAt(r) === 40) {
2821
- for (r++; r < h && (t = e.src.charCodeAt(r), !(!K(t) && t !== 10)); r++)
2821
+ for (r++; r < h && (t = e.src.charCodeAt(r), !(!J(t) && t !== 10)); r++)
2822
2822
  ;
2823
2823
  if (r >= h)
2824
2824
  return !1;
2825
- for (a = r, c = e.md.helpers.parseLinkDestination(e.src, r, e.posMax), c.ok && (l = e.md.normalizeLink(c.str), e.md.validateLink(l) ? r = c.pos : l = ""), a = r; r < h && (t = e.src.charCodeAt(r), !(!K(t) && t !== 10)); r++)
2825
+ for (a = r, c = e.md.helpers.parseLinkDestination(e.src, r, e.posMax), c.ok && (l = e.md.normalizeLink(c.str), e.md.validateLink(l) ? r = c.pos : l = ""), a = r; r < h && (t = e.src.charCodeAt(r), !(!J(t) && t !== 10)); r++)
2826
2826
  ;
2827
2827
  if (c = e.md.helpers.parseLinkTitle(e.src, r, e.posMax), r < h && a !== r && c.ok)
2828
- for (i = c.str, r = c.pos; r < h && (t = e.src.charCodeAt(r), !(!K(t) && t !== 10)); r++)
2828
+ for (i = c.str, r = c.pos; r < h && (t = e.src.charCodeAt(r), !(!J(t) && t !== 10)); r++)
2829
2829
  ;
2830
2830
  else
2831
2831
  i = "";
@@ -3895,7 +3895,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3895
3895
  t.value = !1;
3896
3896
  }
3897
3897
  return (c, i) => (m(), F("div", {
3898
- class: J(["sq-avatar", n.value]),
3898
+ class: K(["sq-avatar", n.value]),
3899
3899
  style: ee(o.value)
3900
3900
  }, [
3901
3901
  u.img && t.value ? (m(), F("img", {
@@ -3927,7 +3927,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3927
3927
  a(), t(), window.addEventListener("scroll", t);
3928
3928
  const d = document.querySelector(o.target) ?? document.body;
3929
3929
  n.observe(d), (h = window.visualViewport) == null || h.addEventListener("resize", a);
3930
- }), Ze(() => {
3930
+ }), Ve(() => {
3931
3931
  var d;
3932
3932
  window.removeEventListener("scroll", t), n.disconnect(), (d = window.visualViewport) == null || d.removeEventListener("resize", a);
3933
3933
  });
@@ -3967,7 +3967,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3967
3967
  ])
3968
3968
  ])
3969
3969
  ], 512), [
3970
- [Ve, c.value]
3970
+ [Ue, c.value]
3971
3971
  ])
3972
3972
  ];
3973
3973
  }),
@@ -3995,7 +3995,7 @@ const { md2tokens: jc, tokens2vueh: Wc } = Uc(), Gc = "sq-article", Xc = O({
3995
3995
  default: Z(() => [
3996
3996
  b(u).default || r.value ? (m(), F("span", {
3997
3997
  key: 0,
3998
- class: J(["sq-badge", n.value]),
3998
+ class: K(["sq-badge", n.value]),
3999
3999
  style: ee({ "--badge-color": t.color })
4000
4000
  }, [
4001
4001
  W(c.$slots, "default"),
@@ -4241,7 +4241,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4241
4241
  return p !== "md" && h.push(`sq-button--${p}`), f && h.push(`is-${f}`), g && h.push("is-round"), _ && h.push("is-text"), _ && n.bg && h.push("has-bg"), h;
4242
4242
  }), l = y(() => n.loading ? Su : n.icon), d = y(() => n.loading || b(i));
4243
4243
  return (h, p) => (m(), F("button", {
4244
- class: J(["sq-button", a.value]),
4244
+ class: K(["sq-button", a.value]),
4245
4245
  disabled: d.value,
4246
4246
  form: n.form,
4247
4247
  type: n.nativeType,
@@ -4299,7 +4299,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4299
4299
  return (n, o) => (m(), F("section", bi, [
4300
4300
  t.title || b(u).title ? (m(), F("div", mi, [
4301
4301
  E("h2", {
4302
- class: J({ "has-decorative": t.decorative }),
4302
+ class: K({ "has-decorative": t.decorative }),
4303
4303
  textContent: re(t.title)
4304
4304
  }, null, 10, xi),
4305
4305
  W(n.$slots, "title")
@@ -4350,7 +4350,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4350
4350
  }), be(() => {
4351
4351
  l.value = h.value;
4352
4352
  }), (p, f) => (m(), F("label", {
4353
- class: J(["sq-selection sq-checkbox", d.value])
4353
+ class: K(["sq-selection sq-checkbox", d.value])
4354
4354
  }, [
4355
4355
  de(E("input", {
4356
4356
  type: "checkbox",
@@ -4366,7 +4366,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4366
4366
  ]),
4367
4367
  b(i) !== "solid" ? (m(), F("span", {
4368
4368
  key: 0,
4369
- class: J(["sq-checkbox-box", { "is-indeterminate": n.indeterminate && !h.value }])
4369
+ class: K(["sq-checkbox-box", { "is-indeterminate": n.indeterminate && !h.value }])
4370
4370
  }, [
4371
4371
  h.value ? (m(), L(b(w0), {
4372
4372
  key: 0,
@@ -4414,11 +4414,11 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4414
4414
  }
4415
4415
  );
4416
4416
  function c(i) {
4417
- r.value.includes(i) ? r.value = r.value.filter((a) => a !== i) : r.value.push(i), n("change", We(r.value)), n("update:value", We(r.value));
4417
+ r.value.includes(i) ? r.value = r.value.filter((a) => a !== i) : r.value.push(i), n("change", Ge(r.value)), n("update:value", Ge(r.value));
4418
4418
  }
4419
4419
  return (i, a) => (m(), F("div", wi, [
4420
4420
  W(i.$slots, "default", {}, () => [
4421
- (m(!0), F(xe, null, Ue(o.items, (l, d) => (m(), L(b(Rn), {
4421
+ (m(!0), F(xe, null, He(o.items, (l, d) => (m(), L(b(Rn), {
4422
4422
  key: d,
4423
4423
  label: l.toString(),
4424
4424
  value: l
@@ -4446,7 +4446,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4446
4446
  r.value = s.value, fe(s, (l) => {
4447
4447
  const d = document.scrollingElement;
4448
4448
  l ? (t = d.style.overflow, d.style.overflow = "hidden", o.value = u(), r.value = !0, document.addEventListener("keydown", c)) : (d.style.overflow = t, document.removeEventListener("keydown", c));
4449
- }), Ze(() => {
4449
+ }), Ve(() => {
4450
4450
  document.removeEventListener("keydown", c);
4451
4451
  });
4452
4452
  function c(l) {
@@ -4469,14 +4469,14 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4469
4469
  return (l, d) => (m(), L(Qt, { to: "body" }, [
4470
4470
  T(Te, { name: "sq-fade" }, {
4471
4471
  default: Z(() => [
4472
- r.value ? de((m(), F("div", Ge({
4472
+ r.value ? de((m(), F("div", Oe({
4473
4473
  key: 0,
4474
4474
  class: "sq-mask",
4475
4475
  style: { zIndex: o.value }
4476
4476
  }, l.$attrs, { onClick: i }), [
4477
4477
  W(l.$slots, "default")
4478
4478
  ], 16)), [
4479
- [Ve, s.value]
4479
+ [Ue, s.value]
4480
4480
  ]) : U("", !0)
4481
4481
  ]),
4482
4482
  _: 3
@@ -4491,6 +4491,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4491
4491
  class: "sq-dialog-footer"
4492
4492
  }, $i = "sq-dialog", w1 = /* @__PURE__ */ O({
4493
4493
  name: $i,
4494
+ inheritAttrs: !1,
4494
4495
  __name: "dialog",
4495
4496
  props: /* @__PURE__ */ se({
4496
4497
  type: {},
@@ -4534,9 +4535,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4534
4535
  onClose: p[1] || (p[1] = () => a(t.onClose))
4535
4536
  }, {
4536
4537
  default: Z(() => [
4537
- E("div", {
4538
- class: J(["sq-dialog", c.value])
4539
- }, [
4538
+ E("div", Oe({ class: "sq-dialog" }, h.$attrs, { class: c.value }), [
4540
4539
  s.value ? (m(), F("div", Ai, [
4541
4540
  i.value ? (m(), L(me(i.value), {
4542
4541
  key: 0,
@@ -4582,7 +4581,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4582
4581
  }, 8, ["type", "disabled", "loading"])
4583
4582
  ])
4584
4583
  ])) : U("", !0)
4585
- ], 2)
4584
+ ], 16)
4586
4585
  ]),
4587
4586
  _: 3
4588
4587
  }, 8, ["visible"]));
@@ -4603,7 +4602,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4603
4602
  return ["none", "solid", "dotted", "dashed"].includes(t.variant) && o.push("is-thin"), u.default && t.direction !== "vertical" && o.push(`text-${t.orientation}`), o.push(`sq-divider--${t.direction}`), o;
4604
4603
  });
4605
4604
  return (o, r) => (m(), F("div", {
4606
- class: J(["sq-divider", n.value]),
4605
+ class: K(["sq-divider", n.value]),
4607
4606
  style: ee({ "--divider-line-type": t.variant })
4608
4607
  }, [
4609
4608
  b(u).default && t.direction !== "vertical" ? (m(), L(b(Ie), {
@@ -4980,7 +4979,7 @@ const di = ["disabled", "form", "type"], fi = "sq-button", Q = /* @__PURE__ */ O
4980
4979
  );
4981
4980
  be(() => {
4982
4981
  document.addEventListener("selectionchange", $), document.addEventListener("click", M);
4983
- }), Ze(() => {
4982
+ }), Ve(() => {
4984
4983
  document.removeEventListener("selectionchange", $), document.removeEventListener("click", M);
4985
4984
  });
4986
4985
  function C(q) {
@@ -5081,7 +5080,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5081
5080
  }));
5082
5081
  }
5083
5082
  return (q, D) => (m(), F("div", {
5084
- class: J(["sq-editor", g.value]),
5083
+ class: K(["sq-editor", g.value]),
5085
5084
  onClick: D[2] || (D[2] = Be(() => {
5086
5085
  }, ["stop"]))
5087
5086
  }, [
@@ -5168,7 +5167,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5168
5167
  onKeydown: k
5169
5168
  }, null, 8, ["size", "round", "disabled", "placeholder", "maxlength", "minlength", "value"])
5170
5169
  ], 512), [
5171
- [Ve, o.value === "edit"]
5170
+ [Ue, o.value === "edit"]
5172
5171
  ]),
5173
5172
  o.value === "preview" ? (m(), L(b(Xc), {
5174
5173
  key: 0,
@@ -5223,7 +5222,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5223
5222
  }, [
5224
5223
  t.label || t.showLabel ? (m(), F("label", {
5225
5224
  key: 0,
5226
- class: J(["sq-form-item-label", r.value]),
5225
+ class: K(["sq-form-item-label", r.value]),
5227
5226
  textContent: re(t.label),
5228
5227
  for: t.type !== "custom" ? n.value : void 0
5229
5228
  }, null, 10, Ji)) : U("", !0),
@@ -5239,7 +5238,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5239
5238
  class: "sq-form-item-check",
5240
5239
  textContent: re(o.value)
5241
5240
  }, null, 8, Qi), [
5242
- [Ve, t.errorMsg]
5241
+ [Ue, t.errorMsg]
5243
5242
  ])
5244
5243
  ]),
5245
5244
  _: 1
@@ -5288,7 +5287,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5288
5287
  return S === void 0 ? r.items : r.items.filter((v) => v.step === void 0 ? v : Array.isArray(v.step) ? v.step.includes(S) : v.step === S);
5289
5288
  });
5290
5289
  be(() => {
5291
- n = structuredClone(We(r.formData));
5290
+ n = structuredClone(Ge(r.formData));
5292
5291
  });
5293
5292
  function h(S) {
5294
5293
  var v;
@@ -5311,7 +5310,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5311
5310
  const j = r.formData[S];
5312
5311
  let G = !1;
5313
5312
  const N = x.validateType ?? "string";
5314
- return x.validateFunc ? G = await _(S, j, x, v) : N === "string" ? G = A(S, j, x) : N === "boolean" ? G = w(S, j, x) : N === "list" && (G = C(S, j, x)), q && o("validate", S, G, We(c.value)), i.value[S].signal.aborted || M(S), G;
5313
+ return x.validateFunc ? G = await _(S, j, x, v) : N === "string" ? G = A(S, j, x) : N === "boolean" ? G = w(S, j, x) : N === "list" && (G = C(S, j, x)), q && o("validate", S, G, Ge(c.value)), i.value[S].signal.aborted || M(S), G;
5315
5314
  }
5316
5315
  function g(S) {
5317
5316
  if (s.value[S]) return r.invalidStatus;
@@ -5344,7 +5343,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5344
5343
  (v = i.value[S]) == null || v.abort(), delete i.value[S];
5345
5344
  }
5346
5345
  function V() {
5347
- o("update:formData", structuredClone(n)), s.value = {}, c.value = [], o("validate", "SQFORM", !1, We(c.value));
5346
+ o("update:formData", structuredClone(n)), s.value = {}, c.value = [], o("validate", "SQFORM", !1, Ge(c.value));
5348
5347
  }
5349
5348
  function H(S = !0) {
5350
5349
  const x = (S ? r.items : d.value).filter(
@@ -5353,16 +5352,16 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5353
5352
  const D = q;
5354
5353
  return f(D.binding, void 0, D.rule, !1);
5355
5354
  });
5356
- return Promise.all(x).then((q) => (o("validate", "SQFORM", !q.includes(!1), We(c.value)), q));
5355
+ return Promise.all(x).then((q) => (o("validate", "SQFORM", !q.includes(!1), Ge(c.value)), q));
5357
5356
  }
5358
5357
  return u({ resetFields: V, validate: H }), (S, v) => (m(), F("form", {
5359
- class: J(["sq-form", a.value]),
5358
+ class: K(["sq-form", a.value]),
5360
5359
  style: ee(l.value),
5361
5360
  onSubmit: v[0] || (v[0] = Be(() => {
5362
5361
  }, ["prevent"]))
5363
5362
  }, [
5364
- (m(!0), F(xe, null, Ue(d.value, (x, q) => (m(), L(ua, {
5365
- class: J(x.itemClass),
5363
+ (m(!0), F(xe, null, He(d.value, (x, q) => (m(), L(ua, {
5364
+ class: K(x.itemClass),
5366
5365
  type: x.type,
5367
5366
  key: q,
5368
5367
  "label-width": x.labelWidth,
@@ -5372,7 +5371,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5372
5371
  "error-msg": r.hasFeedback ? s.value[x.binding] : ""
5373
5372
  }, {
5374
5373
  default: Z(() => [
5375
- x.type === "input" ? (m(), L(b(On), Ge({
5374
+ x.type === "input" ? (m(), L(b(On), Oe({
5376
5375
  key: 0,
5377
5376
  ref_for: !0
5378
5377
  }, x.props, {
@@ -5384,7 +5383,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5384
5383
  onChange: (D) => f(x.binding, "change", x.rule),
5385
5384
  onInput: (D) => f(x.binding, "input", x.rule),
5386
5385
  onBlur: (D) => f(x.binding, "blur", x.rule)
5387
- }), null, 16, ["name", "status", "suffix-icon", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : x.type === "checkbox" ? (m(), L(b(Di), Ge({
5386
+ }), null, 16, ["name", "status", "suffix-icon", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : x.type === "checkbox" ? (m(), L(b(Di), Oe({
5388
5387
  key: 1,
5389
5388
  ref_for: !0
5390
5389
  }, x.props, {
@@ -5392,7 +5391,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5392
5391
  value: r.formData[x.binding],
5393
5392
  "onUpdate:value": (D) => r.formData[x.binding] = D,
5394
5393
  onChange: (D) => f(x.binding, "change", x.rule)
5395
- }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "radio" ? (m(), L(b(Hl), Ge({
5394
+ }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "radio" ? (m(), L(b(Hl), Oe({
5396
5395
  key: 2,
5397
5396
  ref_for: !0
5398
5397
  }, x.props, {
@@ -5400,7 +5399,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5400
5399
  value: r.formData[x.binding],
5401
5400
  "onUpdate:value": (D) => r.formData[x.binding] = D,
5402
5401
  onChange: (D) => f(x.binding, "change", x.rule)
5403
- }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "switch" ? (m(), L(b(u1), Ge({
5402
+ }), null, 16, ["name", "value", "onUpdate:value", "onChange"])) : x.type === "switch" ? (m(), L(b(u1), Oe({
5404
5403
  key: 3,
5405
5404
  ref_for: !0
5406
5405
  }, x.props, {
@@ -5446,7 +5445,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5446
5445
  }));
5447
5446
  be(() => {
5448
5447
  t.observe(l.value);
5449
- }), Ze(() => {
5448
+ }), Ve(() => {
5450
5449
  t.disconnect();
5451
5450
  });
5452
5451
  function p(A) {
@@ -5478,7 +5477,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5478
5477
  _: 1
5479
5478
  }),
5480
5479
  !c.value && i.value ? (m(), F("picture", oa, [
5481
- (m(!0), F(xe, null, Ue(o.source, (C, k) => (m(), F("source", {
5480
+ (m(!0), F(xe, null, He(o.source, (C, k) => (m(), F("source", {
5482
5481
  key: k,
5483
5482
  srcset: C.src,
5484
5483
  media: C.media,
@@ -5776,7 +5775,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5776
5775
  }));
5777
5776
  be(() => {
5778
5777
  document.addEventListener("mousemove", A), document.addEventListener("mouseup", _);
5779
- }), Ze(() => {
5778
+ }), Ve(() => {
5780
5779
  document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", _);
5781
5780
  });
5782
5781
  function p(v) {
@@ -5948,7 +5947,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
5948
5947
  h.value = !1, (N = f.value) == null || N.blur();
5949
5948
  }
5950
5949
  return u({ focus: j, blur: G }), (N, I) => (m(), F("div", {
5951
- class: J(["sq-input", g.value]),
5950
+ class: K(["sq-input", g.value]),
5952
5951
  onMousedown: q
5953
5952
  }, [
5954
5953
  w.value ? (m(), F("span", ba, [
@@ -6023,7 +6022,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
6023
6022
  M.value ? (m(), L(me(M.value), { key: 0 })) : U("", !0)
6024
6023
  ])
6025
6024
  ], 512), [
6026
- [Ve, V.value]
6025
+ [Ue, V.value]
6027
6026
  ])
6028
6027
  ], 34));
6029
6028
  }
@@ -6055,7 +6054,7 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
6055
6054
  }, {
6056
6055
  default: Z(() => [
6057
6056
  de(E("div", {
6058
- class: J(["sq-message", `is-${t.type}`]),
6057
+ class: K(["sq-message", `is-${t.type}`]),
6059
6058
  id: t.id,
6060
6059
  style: ee({ top: `${t.offsetTop}px` })
6061
6060
  }, [
@@ -6074,20 +6073,20 @@ ${Y}${P}`, V(q.target), x(r.value, gu, gu);
6074
6073
  }),
6075
6074
  c[0] || (c[0] = E("div", { class: "sq-message-progress" }, null, -1))
6076
6075
  ], 14, _a), [
6077
- [Ve, n.value]
6076
+ [Ue, n.value]
6078
6077
  ])
6079
6078
  ]),
6080
6079
  _: 1
6081
6080
  }, 8, ["onBeforeLeave", "onAfterLeave"]));
6082
6081
  }
6083
- }), { getCssVar: Ca } = an(), { nextZIndex: Da } = ct(), je = [], Ea = ["primary", "success", "info", "warn", "error"], Xu = parseInt(Ca("--sq-padding-md"));
6082
+ }), { getCssVar: Ca } = an(), { nextZIndex: Da } = ct(), We = [], Ea = ["primary", "success", "info", "warn", "error"], Xu = parseInt(Ca("--sq-padding-md"));
6084
6083
  let Aa = 0;
6085
6084
  const tt = (e = {}) => {
6086
6085
  const u = `sq-message-${Aa++}`;
6087
6086
  let t = document.querySelector(".sq-message-wrap");
6088
6087
  t || (t = document.createElement("div"), t.classList.add("sq-message-wrap"), document.body.appendChild(t)), t.style.zIndex = Da().toString();
6089
6088
  let n = Xu;
6090
- je.forEach((a) => {
6089
+ We.forEach((a) => {
6091
6090
  var l;
6092
6091
  n += (((l = a.vm.el) == null ? void 0 : l.offsetHeight) || 0) + Xu;
6093
6092
  });
@@ -6101,11 +6100,11 @@ const tt = (e = {}) => {
6101
6100
  }, r = document.createElement("div"), s = o.onClose;
6102
6101
  o.onClose = () => {
6103
6102
  s == null || s();
6104
- const a = je.findIndex(
6103
+ const a = We.findIndex(
6105
6104
  (p) => p.vm.component.props.id === i.component.props.id
6106
- ), d = je.splice(a, 1)[0].vm.el.offsetHeight;
6107
- if (!(je.length < 1))
6108
- for (const p of je) {
6105
+ ), d = We.splice(a, 1)[0].vm.el.offsetHeight;
6106
+ if (!(We.length < 1))
6107
+ for (const p of We) {
6109
6108
  let f = Number(parseInt(p.vm.el.style.top));
6110
6109
  f -= d, f -= Xu, p.vm.component.props.offsetTop = f;
6111
6110
  }
@@ -6115,7 +6114,7 @@ const tt = (e = {}) => {
6115
6114
  c == null || c(), _t(null, r);
6116
6115
  };
6117
6116
  const i = T(wa, o);
6118
- return _t(i, r), je.push({ vm: i }), t.appendChild(r.firstElementChild), {
6117
+ return _t(i, r), We.push({ vm: i }), t.appendChild(r.firstElementChild), {
6119
6118
  close: () => {
6120
6119
  var a, l;
6121
6120
  (l = (a = i.component) == null ? void 0 : a.exposed) == null || l.close();
@@ -6190,7 +6189,7 @@ const A1 = tt, Fa = "sq-pagination-prev", Sa = /* @__PURE__ */ O({
6190
6189
  t.value = o;
6191
6190
  };
6192
6191
  return (o, r) => (m(), F("div", Ba, [
6193
- (m(!0), F(xe, null, Ue(u.list, (s) => (m(), F(xe, { key: s }, [
6192
+ (m(!0), F(xe, null, He(u.list, (s) => (m(), F(xe, { key: s }, [
6194
6193
  s ? (m(), L(b(Q), {
6195
6194
  key: 0,
6196
6195
  type: t.value === s ? "primary" : void 0,
@@ -6252,7 +6251,7 @@ const A1 = tt, Fa = "sq-pagination-prev", Sa = /* @__PURE__ */ O({
6252
6251
  return i;
6253
6252
  });
6254
6253
  return (c, i) => (m(), F("div", Ta, [
6255
- (m(!0), F(xe, null, Ue(s.value, (a, l) => (m(), L(me(a), {
6254
+ (m(!0), F(xe, null, He(s.value, (a, l) => (m(), L(me(a), {
6256
6255
  key: l,
6257
6256
  size: u.size,
6258
6257
  disabled: u.disabled,
@@ -6299,7 +6298,7 @@ function Pn(e) {
6299
6298
  function Vt(e) {
6300
6299
  return T("span", null, [e]);
6301
6300
  }
6302
- const Du = Math.min, Oe = Math.max, Eu = Math.round, ku = Math.floor, De = (e) => ({
6301
+ const Du = Math.min, Pe = Math.max, Eu = Math.round, ku = Math.floor, De = (e) => ({
6303
6302
  x: e,
6304
6303
  y: e
6305
6304
  }), Oa = {
@@ -6312,12 +6311,12 @@ const Du = Math.min, Oe = Math.max, Eu = Math.round, ku = Math.floor, De = (e) =
6312
6311
  end: "start"
6313
6312
  };
6314
6313
  function Ut(e, u, t) {
6315
- return Oe(e, Du(u, t));
6314
+ return Pe(e, Du(u, t));
6316
6315
  }
6317
6316
  function Tu(e, u) {
6318
6317
  return typeof e == "function" ? e(u) : e;
6319
6318
  }
6320
- function Pe(e) {
6319
+ function Ne(e) {
6321
6320
  return e.split("-")[0];
6322
6321
  }
6323
6322
  function Ru(e) {
@@ -6331,7 +6330,7 @@ function Zn(e) {
6331
6330
  }
6332
6331
  const Na = /* @__PURE__ */ new Set(["top", "bottom"]);
6333
6332
  function ze(e) {
6334
- return Na.has(Pe(e)) ? "y" : "x";
6333
+ return Na.has(Ne(e)) ? "y" : "x";
6335
6334
  }
6336
6335
  function Vn(e) {
6337
6336
  return Nn(ze(e));
@@ -6364,7 +6363,7 @@ function ja(e, u, t) {
6364
6363
  }
6365
6364
  function Wa(e, u, t, n) {
6366
6365
  const o = Ru(e);
6367
- let r = ja(Pe(e), t === "start", n);
6366
+ let r = ja(Ne(e), t === "start", n);
6368
6367
  return o && (r = r.map((s) => s + "-" + o), u && (r = r.concat(r.map(nt)))), r;
6369
6368
  }
6370
6369
  function Au(e) {
@@ -6410,7 +6409,7 @@ function Wt(e, u, t) {
6410
6409
  reference: n,
6411
6410
  floating: o
6412
6411
  } = e;
6413
- const r = ze(u), s = Vn(u), c = Zn(s), i = Pe(u), a = r === "y", l = n.x + n.width / 2 - o.width / 2, d = n.y + n.height / 2 - o.height / 2, h = n[c] / 2 - o[c] / 2;
6412
+ const r = ze(u), s = Vn(u), c = Zn(s), i = Ne(u), a = r === "y", l = n.x + n.width / 2 - o.width / 2, d = n.y + n.height / 2 - o.height / 2, h = n[c] / 2 - o[c] / 2;
6414
6413
  let p;
6415
6414
  switch (i) {
6416
6415
  case "top":
@@ -6583,7 +6582,7 @@ const Ja = function(e) {
6583
6582
  } = Tu(e, u);
6584
6583
  if ((t = r.arrow) != null && t.alignmentOffset)
6585
6584
  return {};
6586
- const A = Pe(o), w = ze(c), C = Pe(c) === c, k = await (i.isRTL == null ? void 0 : i.isRTL(a.floating)), $ = h || (C || !g ? [Au(c)] : Va(c)), M = f !== "none";
6585
+ const A = Ne(o), w = ze(c), C = Ne(c) === c, k = await (i.isRTL == null ? void 0 : i.isRTL(a.floating)), $ = h || (C || !g ? [Au(c)] : Va(c)), M = f !== "none";
6587
6586
  !h && M && $.push(...Wa(c, g, f, k));
6588
6587
  const V = [c, ...$], H = await Un(u, _), S = [];
6589
6588
  let v = ((n = r.flip) == null ? void 0 : n.overflows) || [];
@@ -6646,7 +6645,7 @@ async function Qa(e, u) {
6646
6645
  placement: t,
6647
6646
  platform: n,
6648
6647
  elements: o
6649
- } = e, r = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), s = Pe(t), c = Ru(t), i = ze(t) === "y", a = Ka.has(s) ? -1 : 1, l = r && i ? -1 : 1, d = Tu(u, e);
6648
+ } = e, r = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), s = Ne(t), c = Ru(t), i = ze(t) === "y", a = Ka.has(s) ? -1 : 1, l = r && i ? -1 : 1, d = Tu(u, e);
6650
6649
  let {
6651
6650
  mainAxis: h,
6652
6651
  crossAxis: p,
@@ -6718,7 +6717,7 @@ const el = function(e) {
6718
6717
  } = Tu(e, u), a = {
6719
6718
  x: t,
6720
6719
  y: n
6721
- }, l = await Un(u, i), d = ze(Pe(o)), h = Nn(d);
6720
+ }, l = await Un(u, i), d = ze(Ne(o)), h = Nn(d);
6722
6721
  let p = a[h], f = a[d];
6723
6722
  if (r) {
6724
6723
  const _ = h === "y" ? "top" : "left", A = h === "y" ? "bottom" : "right", w = p + l[_], C = p - l[A];
@@ -6900,7 +6899,7 @@ function Gn(e) {
6900
6899
  function fl(e, u, t) {
6901
6900
  return u === void 0 && (u = !1), !t || u && t !== pe(e) ? !1 : u;
6902
6901
  }
6903
- function Ne(e, u, t, n) {
6902
+ function Ze(e, u, t, n) {
6904
6903
  u === void 0 && (u = !1), t === void 0 && (t = !1);
6905
6904
  const o = e.getBoundingClientRect(), r = vt(e);
6906
6905
  let s = De(1);
@@ -6924,7 +6923,7 @@ function Ne(e, u, t, n) {
6924
6923
  }
6925
6924
  function Pu(e, u) {
6926
6925
  const t = Ou(e).scrollLeft;
6927
- return u ? u.left + t : Ne(Se(e)).left + t;
6926
+ return u ? u.left + t : Ze(Se(e)).left + t;
6928
6927
  }
6929
6928
  function Xn(e, u) {
6930
6929
  const t = e.getBoundingClientRect(), n = t.left + u.scrollLeft - Pu(e, t), o = t.top + u.scrollTop;
@@ -6949,7 +6948,7 @@ function pl(e) {
6949
6948
  }, a = De(1);
6950
6949
  const l = De(0), d = Ee(n);
6951
6950
  if ((d || !d && !r) && ((su(n) !== "body" || xu(s)) && (i = Ou(n)), Ee(n))) {
6952
- const p = Ne(n);
6951
+ const p = Ze(n);
6953
6952
  a = Je(n), l.x = p.x + n.clientLeft, l.y = p.y + n.clientTop;
6954
6953
  }
6955
6954
  const h = s && !d && !r ? Xn(s, i) : De(0);
@@ -6964,10 +6963,10 @@ function hl(e) {
6964
6963
  return Array.from(e.getClientRects());
6965
6964
  }
6966
6965
  function bl(e) {
6967
- const u = Se(e), t = Ou(e), n = e.ownerDocument.body, o = Oe(u.scrollWidth, u.clientWidth, n.scrollWidth, n.clientWidth), r = Oe(u.scrollHeight, u.clientHeight, n.scrollHeight, n.clientHeight);
6966
+ const u = Se(e), t = Ou(e), n = e.ownerDocument.body, o = Pe(u.scrollWidth, u.clientWidth, n.scrollWidth, n.clientWidth), r = Pe(u.scrollHeight, u.clientHeight, n.scrollHeight, n.clientHeight);
6968
6967
  let s = -t.scrollLeft + Pu(e);
6969
6968
  const c = -t.scrollTop;
6970
- return ye(n).direction === "rtl" && (s += Oe(u.clientWidth, n.clientWidth) - o), {
6969
+ return ye(n).direction === "rtl" && (s += Pe(u.clientWidth, n.clientWidth) - o), {
6971
6970
  width: o,
6972
6971
  height: r,
6973
6972
  x: s,
@@ -6997,7 +6996,7 @@ function ml(e, u) {
6997
6996
  }
6998
6997
  const xl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
6999
6998
  function gl(e, u) {
7000
- const t = Ne(e, !0, u === "fixed"), n = t.top + e.clientTop, o = t.left + e.clientLeft, r = Ee(e) ? Je(e) : De(1), s = e.clientWidth * r.x, c = e.clientHeight * r.y, i = o * r.x, a = n * r.y;
6999
+ const t = Ze(e, !0, u === "fixed"), n = t.top + e.clientTop, o = t.left + e.clientLeft, r = Ee(e) ? Je(e) : De(1), s = e.clientWidth * r.x, c = e.clientHeight * r.y, i = o * r.x, a = n * r.y;
7001
7000
  return {
7002
7001
  width: s,
7003
7002
  height: c,
@@ -7050,7 +7049,7 @@ function _l(e) {
7050
7049
  } = e;
7051
7050
  const s = [...t === "clippingAncestors" ? Iu(u) ? [] : vl(u, this._c) : [].concat(t), n], c = s[0], i = s.reduce((a, l) => {
7052
7051
  const d = Yt(u, l, o);
7053
- return a.top = Oe(d.top, a.top), a.right = Du(d.right, a.right), a.bottom = Du(d.bottom, a.bottom), a.left = Oe(d.left, a.left), a;
7052
+ return a.top = Pe(d.top, a.top), a.right = Du(d.right, a.right), a.bottom = Du(d.bottom, a.bottom), a.left = Pe(d.left, a.left), a;
7054
7053
  }, Yt(u, c, o));
7055
7054
  return {
7056
7055
  width: i.right - i.left,
@@ -7070,7 +7069,7 @@ function kl(e) {
7070
7069
  };
7071
7070
  }
7072
7071
  function yl(e, u, t) {
7073
- const n = Ee(u), o = Se(u), r = t === "fixed", s = Ne(e, !0, r, u);
7072
+ const n = Ee(u), o = Se(u), r = t === "fixed", s = Ze(e, !0, r, u);
7074
7073
  let c = {
7075
7074
  scrollLeft: 0,
7076
7075
  scrollTop: 0
@@ -7081,7 +7080,7 @@ function yl(e, u, t) {
7081
7080
  }
7082
7081
  if (n || !n && !r)
7083
7082
  if ((su(u) !== "body" || xu(o)) && (c = Ou(u)), n) {
7084
- const p = Ne(u, !0, r, u);
7083
+ const p = Ze(u, !0, r, u);
7085
7084
  i.x = p.x + u.clientLeft, i.y = p.y + u.clientTop;
7086
7085
  } else o && a();
7087
7086
  r && !n && o && a();
@@ -7171,7 +7170,7 @@ function El(e, u) {
7171
7170
  return;
7172
7171
  const f = ku(d), g = ku(o.clientWidth - (l + h)), _ = ku(o.clientHeight - (d + p)), A = ku(l), C = {
7173
7172
  rootMargin: -f + "px " + -g + "px " + -_ + "px " + -A + "px",
7174
- threshold: Oe(0, Du(1, i)) || 1
7173
+ threshold: Pe(0, Du(1, i)) || 1
7175
7174
  };
7176
7175
  let k = !0;
7177
7176
  function $(M) {
@@ -7221,10 +7220,10 @@ function Al(e, u, t, n) {
7221
7220
  (C = p) == null || C.observe(u);
7222
7221
  })), t();
7223
7222
  }), a && !i && p.observe(a), p.observe(u));
7224
- let f, g = i ? Ne(e) : null;
7223
+ let f, g = i ? Ze(e) : null;
7225
7224
  i && _();
7226
7225
  function _() {
7227
- const A = Ne(e);
7226
+ const A = Ze(e);
7228
7227
  g && !Kn(g, A) && t(), g = A, f = requestAnimationFrame(_);
7229
7228
  }
7230
7229
  return t(), () => {
@@ -7276,7 +7275,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7276
7275
  )) : s == null || s();
7277
7276
  }), be(() => {
7278
7277
  w();
7279
- }), Ze(() => {
7278
+ }), Ve(() => {
7280
7279
  C(), document.removeEventListener("click", A);
7281
7280
  });
7282
7281
  function p() {
@@ -7320,7 +7319,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7320
7319
  }
7321
7320
  return (k, $) => (m(), F(xe, null, [
7322
7321
  T(b(Ia), {
7323
- class: J(["sq-popover-trigger", k.$attrs.class]),
7322
+ class: K(["sq-popover-trigger", k.$attrs.class]),
7324
7323
  style: ee(k.$attrs.style),
7325
7324
  ref_key: "triggerRef",
7326
7325
  ref: d,
@@ -7342,7 +7341,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7342
7341
  }, {
7343
7342
  default: Z(() => [
7344
7343
  de(E("div", {
7345
- class: J(["sq-popover", k.popoverClass]),
7344
+ class: K(["sq-popover", k.popoverClass]),
7346
7345
  style: ee({ ...l.value, zIndex: a.value }),
7347
7346
  ref_key: "popverRef",
7348
7347
  ref: h,
@@ -7351,7 +7350,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7351
7350
  }, [
7352
7351
  W(k.$slots, "default")
7353
7352
  ], 6), [
7354
- [Ve, i.value]
7353
+ [Ue, i.value]
7355
7354
  ])
7356
7355
  ]),
7357
7356
  _: 3
@@ -7398,14 +7397,14 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7398
7397
  });
7399
7398
  be(() => {
7400
7399
  u.observe(o.value);
7401
- }), Ze(() => {
7400
+ }), Ve(() => {
7402
7401
  u.disconnect();
7403
7402
  });
7404
7403
  function a() {
7405
7404
  n.value = o.value.getBoundingClientRect().width;
7406
7405
  }
7407
7406
  return (l, d) => (m(), F("div", {
7408
- class: J(["sq-progress", r.value]),
7407
+ class: K(["sq-progress", r.value]),
7409
7408
  ref_key: "progressRef",
7410
7409
  ref: o,
7411
7410
  style: ee(i.value)
@@ -7481,7 +7480,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7481
7480
  }), be(() => {
7482
7481
  d.value = p.value, l.value = d.value ? n.value ?? "on" : void 0;
7483
7482
  }), (f, g) => (m(), F("label", {
7484
- class: J(["sq-selection sq-radio", h.value])
7483
+ class: K(["sq-selection sq-radio", h.value])
7485
7484
  }, [
7486
7485
  de(E("input", {
7487
7486
  type: "radio",
@@ -7540,7 +7539,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7540
7539
  }
7541
7540
  return (i, a) => (m(), F("div", Vl, [
7542
7541
  W(i.$slots, "default", {}, () => [
7543
- (m(!0), F(xe, null, Ue(o.items, (l, d) => (m(), L(b(Zl), {
7542
+ (m(!0), F(xe, null, He(o.items, (l, d) => (m(), L(b(Zl), {
7544
7543
  key: d,
7545
7544
  label: l.toString(),
7546
7545
  value: l
@@ -7594,14 +7593,14 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7594
7593
  c.value = f == null ? void 0 : f.offsetLeft, s.value = f == null ? void 0 : f.clientWidth;
7595
7594
  }
7596
7595
  return (f, g) => (m(), F("div", {
7597
- class: J(["sq-segmented", a.value])
7596
+ class: K(["sq-segmented", a.value])
7598
7597
  }, [
7599
7598
  E("div", {
7600
7599
  class: "sq-segmented-thumb",
7601
7600
  style: ee(l.value)
7602
7601
  }, null, 4),
7603
7602
  W(f.$slots, "default", {}, () => [
7604
- (m(!0), F(xe, null, Ue(i.value, (_) => (m(), L(b(Yl), Ge({
7603
+ (m(!0), F(xe, null, He(i.value, (_) => (m(), L(b(Yl), Oe({
7605
7604
  key: _.text
7606
7605
  }, { ref_for: !0 }, _), null, 16))), 128))
7607
7606
  ])
@@ -7635,7 +7634,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7635
7634
  return (l, d) => {
7636
7635
  var h;
7637
7636
  return m(), F("label", {
7638
- class: J(["sq-segmented-item", s.value]),
7637
+ class: K(["sq-segmented-item", s.value]),
7639
7638
  ref_key: "itemRef",
7640
7639
  ref: r
7641
7640
  }, [
@@ -7685,7 +7684,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7685
7684
  return l !== "md" && a.push(`sq-switch--${l}`), c.value && a.push("is-checked"), (d || n.loading) && a.push("is-disabled"), n.variant && a.push(`is-${n.variant}`), a;
7686
7685
  });
7687
7686
  return (a, l) => (m(), F("label", {
7688
- class: J(["sq-switch", i.value])
7687
+ class: K(["sq-switch", i.value])
7689
7688
  }, [
7690
7689
  de(E("input", {
7691
7690
  type: "checkbox",
@@ -7722,7 +7721,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7722
7721
  return u.size !== "md" && o.push(`sq-tag--${u.size}`), u.variant && u.type && o.push(`is-${u.variant}`), u.type && o.push(`is-${u.type}`), u.round && o.push("is-round"), o;
7723
7722
  }), n = y(() => u.size === "lg" ? "md" : "sm");
7724
7723
  return (o, r) => (m(), L(b(Ie), {
7725
- class: J(["sq-tag", t.value]),
7724
+ class: K(["sq-tag", t.value]),
7726
7725
  size: n.value
7727
7726
  }, {
7728
7727
  default: Z(() => [
@@ -7747,7 +7746,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7747
7746
  return n.size !== "md" && s.push(`sq-tag--${n.size}`), n.type && s.push(`is-${n.type}`), n.round && s.push("is-round"), n.checked && s.push("is-checked"), s;
7748
7747
  }), r = y(() => n.size === "lg" ? "md" : "sm");
7749
7748
  return (s, c) => (m(), L(b(Ie), {
7750
- class: J(["sq-check-tag", o.value]),
7749
+ class: K(["sq-check-tag", o.value]),
7751
7750
  size: r.value,
7752
7751
  onClick: c[0] || (c[0] = (i) => t("change", !n.checked))
7753
7752
  }, {
@@ -7772,7 +7771,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7772
7771
  () => u.ellipsis ? `--row-num: ${n.value}` : ""
7773
7772
  );
7774
7773
  return (r, s) => (m(), F("span", {
7775
- class: J(["sq-text", t.value]),
7774
+ class: K(["sq-text", t.value]),
7776
7775
  style: ee(o.value)
7777
7776
  }, [
7778
7777
  W(r.$slots, "default")
@@ -7791,7 +7790,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7791
7790
  return u.variant && n.push(`is-${u.variant}`), n.push(`align-${u.align}`), n;
7792
7791
  });
7793
7792
  return (n, o) => (m(), F("div", {
7794
- class: J(["sq-timeline", t.value])
7793
+ class: K(["sq-timeline", t.value])
7795
7794
  }, [
7796
7795
  W(n.$slots, "default")
7797
7796
  ], 2));
@@ -7816,7 +7815,7 @@ const Fl = el, Sl = ul, ql = Ja, $l = (e, u, t) => {
7816
7815
  return u.color && (o["--timeline-dot-color"] = u.color), o;
7817
7816
  });
7818
7817
  return (o, r) => (m(), F("div", {
7819
- class: J(["sq-timeline-item", t.value]),
7818
+ class: K(["sq-timeline-item", t.value]),
7820
7819
  style: ee(n.value)
7821
7820
  }, [
7822
7821
  E("span", s1, [