quail-ui 0.2.41 → 0.2.42

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.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock as n, createElementBlock as s, createElementVNode as o, createStaticVNode as a1, defineComponent as O, ref as S, watch as R, onMounted as d1, withDirectives as i1, vModelText as C1, computed as I, nextTick as V1, Fragment as m1, renderSlot as t1, createBlock as Z, Transition as f1, withCtx as g1, normalizeClass as D, normalizeStyle as w1, withModifiers as p1, createCommentVNode as F, toDisplayString as P, getCurrentInstance as b1, unref as r1, resolveDynamicComponent as c1, renderList as k1, vModelCheckbox as z1, useSlots as Q1, resolveComponent as v1, createVNode as l1 } from "vue";
1
+ import { openBlock as n, createElementBlock as s, createElementVNode as o, createStaticVNode as a1, defineComponent as A, ref as S, watch as N, onMounted as d1, withDirectives as i1, vModelText as C1, computed as I, nextTick as V1, Fragment as m1, renderSlot as t1, createBlock as Z, Transition as f1, withCtx as g1, normalizeClass as D, normalizeStyle as w1, withModifiers as p1, createCommentVNode as O, toDisplayString as P, getCurrentInstance as b1, unref as r1, resolveDynamicComponent as c1, renderList as k1, vModelCheckbox as z1, useSlots as Q1, resolveComponent as v1, createVNode as l1 } from "vue";
2
2
  const c = (e, t) => {
3
3
  const r = e.__vccOpts || e;
4
4
  for (const [C, h] of t)
@@ -1288,7 +1288,7 @@ var L1 = { exports: {} };
1288
1288
  (function(r, C) {
1289
1289
  e.exports = C();
1290
1290
  })(a9, function() {
1291
- var r = 1e3, C = 6e4, h = 36e5, d = "millisecond", u = "second", g = "minute", $ = "hour", k = "day", m = "week", _ = "month", x = "quarter", z = "year", j = "date", Y = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
1291
+ var r = 1e3, C = 6e4, h = 36e5, d = "millisecond", u = "second", g = "minute", $ = "hour", k = "day", m = "week", _ = "month", x = "quarter", z = "year", j = "date", F = "Invalid Date", L = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
1292
1292
  var a = ["th", "st", "nd", "rd"], i = w % 100;
1293
1293
  return "[" + w + (a[(i - 20) % 10] || a[i] || a[0]) + "]";
1294
1294
  } }, J = function(w, a, i) {
@@ -1308,8 +1308,8 @@ var L1 = { exports: {} };
1308
1308
  return { M: _, y: z, w: m, d: k, D: j, h: $, m: g, s: u, ms: d, Q: x }[w] || String(w || "").toLowerCase().replace(/s$/, "");
1309
1309
  }, u: function(w) {
1310
1310
  return w === void 0;
1311
- } }, X = "en", E = {};
1312
- E[X] = A;
1311
+ } }, X = "en", U = {};
1312
+ U[X] = R;
1313
1313
  var _1 = function(w) {
1314
1314
  return w instanceof o1;
1315
1315
  }, n1 = function w(a, i, f) {
@@ -1318,13 +1318,13 @@ var L1 = { exports: {} };
1318
1318
  return X;
1319
1319
  if (typeof a == "string") {
1320
1320
  var p = a.toLowerCase();
1321
- E[p] && (l = p), i && (E[p] = i, l = p);
1321
+ U[p] && (l = p), i && (U[p] = i, l = p);
1322
1322
  var v = a.split("-");
1323
1323
  if (!l && v.length > 1)
1324
1324
  return w(v[0]);
1325
1325
  } else {
1326
1326
  var y = a.name;
1327
- E[y] = a, l = y;
1327
+ U[y] = a, l = y;
1328
1328
  }
1329
1329
  return !f && l && (X = l), l || !f && X;
1330
1330
  }, V = function(w, a) {
@@ -1365,7 +1365,7 @@ var L1 = { exports: {} };
1365
1365
  }, a.$utils = function() {
1366
1366
  return M;
1367
1367
  }, a.isValid = function() {
1368
- return this.$d.toString() !== Y;
1368
+ return this.$d.toString() !== F;
1369
1369
  }, a.isSame = function(i, f) {
1370
1370
  var l = V(i);
1371
1371
  return this.startOf(f) <= l && l <= this.endOf(f);
@@ -1380,11 +1380,11 @@ var L1 = { exports: {} };
1380
1380
  }, a.valueOf = function() {
1381
1381
  return this.$d.getTime();
1382
1382
  }, a.startOf = function(i, f) {
1383
- var l = this, p = !!M.u(f) || f, v = M.p(i), y = function(N, B) {
1384
- var T = M.w(l.$u ? Date.UTC(l.$y, B, N) : new Date(l.$y, B, N), l);
1383
+ var l = this, p = !!M.u(f) || f, v = M.p(i), y = function(W, B) {
1384
+ var T = M.w(l.$u ? Date.UTC(l.$y, B, W) : new Date(l.$y, B, W), l);
1385
1385
  return p ? T : T.endOf(k);
1386
- }, H = function(N, B) {
1387
- return M.w(l.toDate()[N].apply(l.toDate("s"), (p ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(B)), l);
1386
+ }, H = function(W, B) {
1387
+ return M.w(l.toDate()[W].apply(l.toDate("s"), (p ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(B)), l);
1388
1388
  }, b = this.$W, Q = this.$M, q = this.$D, G = "set" + (this.$u ? "UTC" : "");
1389
1389
  switch (v) {
1390
1390
  case z:
@@ -1392,7 +1392,7 @@ var L1 = { exports: {} };
1392
1392
  case _:
1393
1393
  return p ? y(1, Q) : y(0, Q + 1);
1394
1394
  case m:
1395
- var W = this.$locale().weekStart || 0, K = (b < W ? b + 7 : b) - W;
1395
+ var E = this.$locale().weekStart || 0, K = (b < E ? b + 7 : b) - E;
1396
1396
  return y(p ? q - K : q + (6 - K), Q);
1397
1397
  case k:
1398
1398
  case j:
@@ -1442,16 +1442,16 @@ var L1 = { exports: {} };
1442
1442
  }, a.format = function(i) {
1443
1443
  var f = this, l = this.$locale();
1444
1444
  if (!this.isValid())
1445
- return l.invalidDate || Y;
1446
- var p = i || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), y = this.$H, H = this.$m, b = this.$M, Q = l.weekdays, q = l.months, G = l.meridiem, W = function(B, T, e1, s1) {
1445
+ return l.invalidDate || F;
1446
+ var p = i || "YYYY-MM-DDTHH:mm:ssZ", v = M.z(this), y = this.$H, H = this.$m, b = this.$M, Q = l.weekdays, q = l.months, G = l.meridiem, E = function(B, T, e1, s1) {
1447
1447
  return B && (B[T] || B(f, p)) || e1[T].slice(0, s1);
1448
1448
  }, K = function(B) {
1449
1449
  return M.s(y % 12 || 12, B, "0");
1450
- }, N = G || function(B, T, e1) {
1450
+ }, W = G || function(B, T, e1) {
1451
1451
  var s1 = B < 12 ? "AM" : "PM";
1452
1452
  return e1 ? s1.toLowerCase() : s1;
1453
1453
  };
1454
- return p.replace(U, function(B, T) {
1454
+ return p.replace(Y, function(B, T) {
1455
1455
  return T || function(e1) {
1456
1456
  switch (e1) {
1457
1457
  case "YY":
@@ -1463,9 +1463,9 @@ var L1 = { exports: {} };
1463
1463
  case "MM":
1464
1464
  return M.s(b + 1, 2, "0");
1465
1465
  case "MMM":
1466
- return W(l.monthsShort, b, q, 3);
1466
+ return E(l.monthsShort, b, q, 3);
1467
1467
  case "MMMM":
1468
- return W(q, b);
1468
+ return E(q, b);
1469
1469
  case "D":
1470
1470
  return f.$D;
1471
1471
  case "DD":
@@ -1473,9 +1473,9 @@ var L1 = { exports: {} };
1473
1473
  case "d":
1474
1474
  return String(f.$W);
1475
1475
  case "dd":
1476
- return W(l.weekdaysMin, f.$W, Q, 2);
1476
+ return E(l.weekdaysMin, f.$W, Q, 2);
1477
1477
  case "ddd":
1478
- return W(l.weekdaysShort, f.$W, Q, 3);
1478
+ return E(l.weekdaysShort, f.$W, Q, 3);
1479
1479
  case "dddd":
1480
1480
  return Q[f.$W];
1481
1481
  case "H":
@@ -1487,9 +1487,9 @@ var L1 = { exports: {} };
1487
1487
  case "hh":
1488
1488
  return K(2);
1489
1489
  case "a":
1490
- return N(y, H, !0);
1490
+ return W(y, H, !0);
1491
1491
  case "A":
1492
- return N(y, H, !1);
1492
+ return W(y, H, !1);
1493
1493
  case "m":
1494
1494
  return String(H);
1495
1495
  case "mm":
@@ -1544,7 +1544,7 @@ var L1 = { exports: {} };
1544
1544
  }, a.daysInMonth = function() {
1545
1545
  return this.endOf(_).$D;
1546
1546
  }, a.$locale = function() {
1547
- return E[this.$L];
1547
+ return U[this.$L];
1548
1548
  }, a.locale = function(i, f) {
1549
1549
  if (!i)
1550
1550
  return this.$L;
@@ -1570,11 +1570,11 @@ var L1 = { exports: {} };
1570
1570
  return w.$i || (w(a, o1, V), w.$i = !0), V;
1571
1571
  }, V.locale = n1, V.isDayjs = _1, V.unix = function(w) {
1572
1572
  return V(1e3 * w);
1573
- }, V.en = E[X], V.Ls = E, V.p = {}, V;
1573
+ }, V.en = U[X], V.Ls = U, V.p = {}, V;
1574
1574
  });
1575
1575
  })(L1);
1576
1576
  var u9 = L1.exports;
1577
- const h1 = /* @__PURE__ */ d9(u9), _9 = { class: "q-datetime-picker" }, h9 = ["disabled"], C9 = ["disabled"], f9 = /* @__PURE__ */ O({
1577
+ const h1 = /* @__PURE__ */ d9(u9), _9 = { class: "q-datetime-picker" }, h9 = ["disabled"], C9 = ["disabled"], f9 = /* @__PURE__ */ A({
1578
1578
  __name: "QDatetimePicker",
1579
1579
  props: {
1580
1580
  modelValue: {
@@ -1589,7 +1589,7 @@ const h1 = /* @__PURE__ */ d9(u9), _9 = { class: "q-datetime-picker" }, h9 = ["d
1589
1589
  emits: ["update:modelValue", "change"],
1590
1590
  setup(e, { emit: t }) {
1591
1591
  const r = e, C = S(""), h = S("");
1592
- R(
1592
+ N(
1593
1593
  () => r.modelValue,
1594
1594
  (u) => {
1595
1595
  const g = h1(u);
@@ -1625,7 +1625,7 @@ const h1 = /* @__PURE__ */ d9(u9), _9 = { class: "q-datetime-picker" }, h9 = ["d
1625
1625
  });
1626
1626
  function g9() {
1627
1627
  function e() {
1628
- const r = !!window.ActiveXObject || "ActiveXObject" in window, C = navigator.userAgent.indexOf("Edge") > -1, h = navigator.userAgent.indexOf("Chrome") > -1, d = navigator.userAgent.indexOf("Firefox") > -1, u = navigator.userAgent.indexOf("Safari") > -1, g = navigator.userAgent.indexOf("Opera") > -1, $ = navigator.userAgent.indexOf("MicroMessenger") > -1, k = !!navigator.userAgent.match(/AppleWebKit.*Mobile.*/), m = navigator.userAgent.indexOf("Android") > -1 || navigator.userAgent.indexOf("Adr") > -1, _ = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), x = navigator.userAgent.indexOf("iPad") > -1, z = navigator.userAgent.indexOf("iPhone") > -1, j = navigator.userAgent.indexOf("Macintosh") > -1, Y = navigator.userAgent.indexOf("Windows") > -1, L = navigator.userAgent.indexOf("Linux") > -1;
1628
+ const r = !!window.ActiveXObject || "ActiveXObject" in window, C = navigator.userAgent.indexOf("Edge") > -1, h = navigator.userAgent.indexOf("Chrome") > -1, d = navigator.userAgent.indexOf("Firefox") > -1, u = navigator.userAgent.indexOf("Safari") > -1, g = navigator.userAgent.indexOf("Opera") > -1, $ = navigator.userAgent.indexOf("MicroMessenger") > -1, k = !!navigator.userAgent.match(/AppleWebKit.*Mobile.*/), m = navigator.userAgent.indexOf("Android") > -1 || navigator.userAgent.indexOf("Adr") > -1, _ = !!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), x = navigator.userAgent.indexOf("iPad") > -1, z = navigator.userAgent.indexOf("iPhone") > -1, j = navigator.userAgent.indexOf("Macintosh") > -1, F = navigator.userAgent.indexOf("Windows") > -1, L = navigator.userAgent.indexOf("Linux") > -1;
1629
1629
  return {
1630
1630
  isIE: r,
1631
1631
  isEdge: C,
@@ -1640,7 +1640,7 @@ function g9() {
1640
1640
  isIpad: x,
1641
1641
  isIphone: z,
1642
1642
  isMac: j,
1643
- isWindows: Y,
1643
+ isWindows: F,
1644
1644
  isLinux: L
1645
1645
  };
1646
1646
  }
@@ -1661,7 +1661,7 @@ function g9() {
1661
1661
  const w9 = ["onClick"], p9 = { class: "q-dialog-body" }, v9 = ["onClick"], $9 = { class: "q-dialog-header" }, m9 = {
1662
1662
  key: 0,
1663
1663
  class: "q-dialog-title"
1664
- }, M9 = { class: "q-dialog-body" }, k9 = /* @__PURE__ */ O({
1664
+ }, M9 = { class: "q-dialog-body" }, k9 = /* @__PURE__ */ A({
1665
1665
  __name: "QDialog",
1666
1666
  props: {
1667
1667
  modelValue: Boolean,
@@ -1698,11 +1698,11 @@ const w9 = ["onClick"], p9 = { class: "q-dialog-body" }, v9 = ["onClick"], $9 =
1698
1698
  emits: ["update:modelValue", "close"],
1699
1699
  setup(e, { emit: t }) {
1700
1700
  const r = e, { browserDetect: C } = g9(), { isMobile: h } = C(), d = S(!1), u = S(r.modelValue), g = S({ top: "0", left: "0" }), $ = S(null), k = S(null), m = I(() => !h && r.desktopMode === "popup"), _ = I(() => {
1701
- const L = document.body.clientWidth < 720 ? "100%" : r.width, U = r.height, A = {
1701
+ const L = document.body.clientWidth < 720 ? "100%" : r.width, Y = r.height, R = {
1702
1702
  width: L,
1703
- height: U
1703
+ height: Y
1704
1704
  };
1705
- return m.value && (A.top = g.value.top, A.left = g.value.left), A;
1705
+ return m.value && (R.top = g.value.top, R.left = g.value.left), R;
1706
1706
  }), x = I(() => {
1707
1707
  let L = [];
1708
1708
  return d.value && L.push("shaking"), h || L.push(`desktop-mode-${r.desktopMode}`), r.noFrame && L.push("no-frame"), L.join(" ");
@@ -1710,14 +1710,14 @@ const w9 = ["onClick"], p9 = { class: "q-dialog-body" }, v9 = ["onClick"], $9 =
1710
1710
  let L = [];
1711
1711
  return m.value && L.push("desktop-mode-popup"), L.join(" ");
1712
1712
  });
1713
- R(
1713
+ N(
1714
1714
  () => r.modelValue,
1715
1715
  (L) => {
1716
1716
  u.value = L, V1(() => {
1717
1717
  if (!h && r.desktopMode === "popup" && $.value.children) {
1718
- const U = $.value.children[0];
1719
- if (U) {
1720
- const A = U.getBoundingClientRect(), J = window.scrollY + A.top + A.height + 8, u1 = A.left;
1718
+ const Y = $.value.children[0];
1719
+ if (Y) {
1720
+ const J = Y.getBoundingClientRect().height + 8, u1 = 0;
1721
1721
  g.value = { top: `${J}px`, left: `${u1}px` };
1722
1722
  }
1723
1723
  }
@@ -1733,35 +1733,36 @@ const w9 = ["onClick"], p9 = { class: "q-dialog-body" }, v9 = ["onClick"], $9 =
1733
1733
  }
1734
1734
  u.value = !1, t("update:modelValue", !1), t("close");
1735
1735
  }
1736
- function Y() {
1736
+ function F() {
1737
1737
  }
1738
1738
  return d1(() => {
1739
1739
  r.desktopMode === "popup" && window.addEventListener("storage", (L) => {
1740
1740
  L.key === "quailui_global_popup_trigger" && L.newValue && j();
1741
1741
  });
1742
- }), (L, U) => (n(), s(m1, null, [
1742
+ }), (L, Y) => (n(), s(m1, null, [
1743
1743
  o("div", {
1744
- class: "trigger-wrapper",
1744
+ class: "q-dialog-trigger-wrapper",
1745
1745
  ref_key: "triggerWrapper",
1746
1746
  ref: $
1747
1747
  }, [
1748
- t1(L.$slots, "trigger")
1748
+ t1(L.$slots, "trigger"),
1749
+ m.value ? (n(), Z(f1, { key: 0 }, {
1750
+ default: g1(() => [
1751
+ u.value ? (n(), s("div", {
1752
+ key: 0,
1753
+ class: D(["q-dialog", x.value]),
1754
+ style: w1(_.value),
1755
+ onClick: p1(F, ["stop"])
1756
+ }, [
1757
+ o("div", p9, [
1758
+ t1(L.$slots, "default")
1759
+ ])
1760
+ ], 14, w9)) : O("", !0)
1761
+ ]),
1762
+ _: 3
1763
+ })) : O("", !0)
1749
1764
  ], 512),
1750
- m.value ? (n(), Z(f1, { key: 0 }, {
1751
- default: g1(() => [
1752
- u.value ? (n(), s("div", {
1753
- key: 0,
1754
- class: D(["q-dialog", x.value]),
1755
- style: w1(_.value),
1756
- onClick: p1(Y, ["stop"])
1757
- }, [
1758
- o("div", p9, [
1759
- t1(L.$slots, "default")
1760
- ])
1761
- ], 14, w9)) : F("", !0)
1762
- ]),
1763
- _: 3
1764
- })) : (n(), Z(f1, { key: 1 }, {
1765
+ m.value ? O("", !0) : (n(), Z(f1, { key: 0 }, {
1765
1766
  default: g1(() => [
1766
1767
  u.value ? (n(), s("div", {
1767
1768
  key: 0,
@@ -1773,7 +1774,7 @@ const w9 = ["onClick"], p9 = { class: "q-dialog-body" }, v9 = ["onClick"], $9 =
1773
1774
  o("div", {
1774
1775
  class: D(["q-dialog", x.value]),
1775
1776
  style: w1(_.value),
1776
- onClick: p1(Y, ["stop"])
1777
+ onClick: p1(F, ["stop"])
1777
1778
  }, [
1778
1779
  o("div", $9, [
1779
1780
  e.title ? (n(), s("div", m9, P(e.title), 1)) : t1(L.$slots, "header", { key: 1 })
@@ -1782,7 +1783,7 @@ const w9 = ["onClick"], p9 = { class: "q-dialog-body" }, v9 = ["onClick"], $9 =
1782
1783
  t1(L.$slots, "default")
1783
1784
  ])
1784
1785
  ], 14, v9)
1785
- ], 2)) : F("", !0)
1786
+ ], 2)) : O("", !0)
1786
1787
  ]),
1787
1788
  _: 3
1788
1789
  }))
@@ -1792,7 +1793,7 @@ const w9 = ["onClick"], p9 = { class: "q-dialog-body" }, v9 = ["onClick"], $9 =
1792
1793
  const x9 = ["href"], y9 = { class: "q-fence-text" }, L9 = {
1793
1794
  key: 1,
1794
1795
  class: "q-fence-inner"
1795
- }, H9 = { class: "q-fence-text" }, V9 = /* @__PURE__ */ O({
1796
+ }, H9 = { class: "q-fence-text" }, V9 = /* @__PURE__ */ A({
1796
1797
  __name: "QFence",
1797
1798
  props: {
1798
1799
  link: {
@@ -1862,7 +1863,7 @@ const S9 = /* @__PURE__ */ c(b9, [["render", B9]]), j9 = { class: "q-menu" }, q9
1862
1863
  }, O9 = ["src", "alt"], A9 = { class: "q-menu-item-content" }, P9 = { class: "q-menu-title" }, T9 = {
1863
1864
  key: 0,
1864
1865
  class: "q-menu-subtitle"
1865
- }, F9 = /* @__PURE__ */ O({
1866
+ }, F9 = /* @__PURE__ */ A({
1866
1867
  __name: "QMenu",
1867
1868
  props: {
1868
1869
  items: {
@@ -1895,17 +1896,17 @@ const S9 = /* @__PURE__ */ c(b9, [["render", B9]]), j9 = { class: "q-menu" }, q9
1895
1896
  }, null, 8, O9)) : g.icon ? (n(), Z(c1(g.icon), {
1896
1897
  key: 1,
1897
1898
  class: "q-menu-icon"
1898
- })) : F("", !0),
1899
+ })) : O("", !0),
1899
1900
  o("div", A9, [
1900
1901
  o("div", P9, P(g.title), 1),
1901
- g.subtitle ? (n(), s("div", T9, P(g.subtitle), 1)) : F("", !0)
1902
+ g.subtitle ? (n(), s("div", T9, P(g.subtitle), 1)) : O("", !0)
1902
1903
  ])
1903
1904
  ]))
1904
1905
  ], 10, q9))), 128))
1905
1906
  ]));
1906
1907
  }
1907
1908
  });
1908
- const Y9 = ["disabled"], U9 = /* @__PURE__ */ o("div", { class: "q-switch-inner" }, null, -1), E9 = /* @__PURE__ */ O({
1909
+ const Y9 = ["disabled"], U9 = /* @__PURE__ */ o("div", { class: "q-switch-inner" }, null, -1), E9 = /* @__PURE__ */ A({
1909
1910
  __name: "QSwitch",
1910
1911
  props: {
1911
1912
  modelValue: {
@@ -1920,7 +1921,7 @@ const Y9 = ["disabled"], U9 = /* @__PURE__ */ o("div", { class: "q-switch-inner"
1920
1921
  emits: ["update:modelValue", "change"],
1921
1922
  setup(e, { emit: t }) {
1922
1923
  const r = e, C = S(r.modelValue);
1923
- R(() => r.modelValue, (d) => {
1924
+ N(() => r.modelValue, (d) => {
1924
1925
  C.value = d;
1925
1926
  });
1926
1927
  function h(d) {
@@ -1945,7 +1946,7 @@ const Y9 = ["disabled"], U9 = /* @__PURE__ */ o("div", { class: "q-switch-inner"
1945
1946
  const W9 = { class: "q-text-field-wrapper" }, N9 = ["placeholder"], R9 = { class: "q-text-button-wrapper" }, G9 = ["disabled"], J9 = {
1946
1947
  key: 0,
1947
1948
  class: "q-button-glow"
1948
- }, X9 = /* @__PURE__ */ O({
1949
+ }, X9 = /* @__PURE__ */ A({
1949
1950
  __name: "QTextFieldWithButton",
1950
1951
  props: {
1951
1952
  modelValue: {
@@ -1994,7 +1995,7 @@ const W9 = { class: "q-text-field-wrapper" }, N9 = ["placeholder"], R9 = { class
1994
1995
  const _ = (x = C.value) == null ? void 0 : x.trim();
1995
1996
  return /^\d{6}$/.test(_);
1996
1997
  }), $ = I(() => r.loading ? "Loading..." : r.actionLabel);
1997
- R(() => r.modelValue, (_) => {
1998
+ N(() => r.modelValue, (_) => {
1998
1999
  C.value = _;
1999
2000
  });
2000
2001
  function k() {
@@ -2023,7 +2024,7 @@ const W9 = { class: "q-text-field-wrapper" }, N9 = ["placeholder"], R9 = { class
2023
2024
  onClick: k
2024
2025
  }, P($.value), 9, G9)
2025
2026
  ]),
2026
- e.glow !== "" ? (n(), s("div", J9)) : F("", !0)
2027
+ e.glow !== "" ? (n(), s("div", J9)) : O("", !0)
2027
2028
  ], 2));
2028
2029
  }
2029
2030
  });
@@ -2038,7 +2039,7 @@ function H1() {
2038
2039
  const K9 = { class: "q-dropdown-menu" }, e5 = { class: "q-dropdown-menu-inner narrow-view" }, t5 = ["onClick"], n5 = {
2039
2040
  key: 0,
2040
2041
  class: "q-dropdown-selected"
2041
- }, o5 = ["src", "alt"], s5 = { class: "menu-title" }, r5 = /* @__PURE__ */ O({
2042
+ }, o5 = ["src", "alt"], s5 = { class: "menu-title" }, r5 = /* @__PURE__ */ A({
2042
2043
  __name: "QDropdownMenu",
2043
2044
  props: {
2044
2045
  items: {
@@ -2077,7 +2078,7 @@ const K9 = { class: "q-dropdown-menu" }, e5 = { class: "q-dropdown-menu-inner na
2077
2078
  function m(_) {
2078
2079
  h.value = !1, d.value = _, _.action && _.action(_), t("change", _);
2079
2080
  }
2080
- return R(
2081
+ return N(
2081
2082
  () => r.initialItem,
2082
2083
  () => {
2083
2084
  r.initialItem && (d.value = r.initialItem);
@@ -2103,9 +2104,9 @@ const K9 = { class: "q-dropdown-menu" }, e5 = { class: "q-dropdown-menu-inner na
2103
2104
  }, null, 8, o5)) : d.value.icon ? (n(), Z(c1(d.value.icon), {
2104
2105
  key: 1,
2105
2106
  class: "icon menu-icon"
2106
- })) : F("", !0),
2107
+ })) : O("", !0),
2107
2108
  o("div", s5, P(d.value ? d.value.title : r.placeholder || "Select ..."), 1)
2108
- ])) : F("", !0),
2109
+ ])) : O("", !0),
2109
2110
  t1(_.$slots, "default"),
2110
2111
  l1(z, { class: "icon chevron-icon" })
2111
2112
  ], 10, t5),
@@ -2119,7 +2120,7 @@ const K9 = { class: "q-dropdown-menu" }, e5 = { class: "q-dropdown-menu-inner na
2119
2120
  key: 0,
2120
2121
  items: e.items,
2121
2122
  onAction: m
2122
- }, null, 8, ["items"])) : F("", !0)
2123
+ }, null, 8, ["items"])) : O("", !0)
2123
2124
  ]),
2124
2125
  _: 1
2125
2126
  })
@@ -2135,7 +2136,7 @@ const i5 = { class: "q-pagination" }, c5 = ["disabled"], l5 = {
2135
2136
  }, a5 = { class: "q-page-indicator" }, d5 = ["disabled", "onClick"], u5 = {
2136
2137
  key: 1,
2137
2138
  class: "q-page-indicator-simple"
2138
- }, _5 = { class: "" }, h5 = ["disabled"], C5 = /* @__PURE__ */ O({
2139
+ }, _5 = { class: "" }, h5 = ["disabled"], C5 = /* @__PURE__ */ A({
2139
2140
  __name: "QPagination",
2140
2141
  props: {
2141
2142
  modelValue: {
@@ -2174,7 +2175,7 @@ const i5 = { class: "q-pagination" }, c5 = ["disabled"], l5 = {
2174
2175
  }
2175
2176
  return k;
2176
2177
  }), h = S(r.modelValue);
2177
- R(() => r.modelValue, ($) => {
2178
+ N(() => r.modelValue, ($) => {
2178
2179
  h.value = $;
2179
2180
  });
2180
2181
  function d() {
@@ -2217,7 +2218,7 @@ const i5 = { class: "q-pagination" }, c5 = ["disabled"], l5 = {
2217
2218
  });
2218
2219
  const f5 = { class: "q-progress-slot" }, g5 = /* @__PURE__ */ o("div", { class: "q-progress-bar-inner" }, null, -1), w5 = [
2219
2220
  g5
2220
- ], p5 = /* @__PURE__ */ O({
2221
+ ], p5 = /* @__PURE__ */ A({
2221
2222
  __name: "QProgress",
2222
2223
  props: {
2223
2224
  infinite: {
@@ -2251,7 +2252,7 @@ const f5 = { class: "q-progress-slot" }, g5 = /* @__PURE__ */ o("div", { class:
2251
2252
  ], 2));
2252
2253
  }
2253
2254
  });
2254
- const v5 = /* @__PURE__ */ O({
2255
+ const v5 = /* @__PURE__ */ A({
2255
2256
  __name: "QLanguageSelector",
2256
2257
  props: {
2257
2258
  lang: {
@@ -2316,7 +2317,7 @@ const v5 = /* @__PURE__ */ O({
2316
2317
  value: u.value
2317
2318
  });
2318
2319
  }
2319
- return R(() => r.lang, (u) => {
2320
+ return N(() => r.lang, (u) => {
2320
2321
  C.value = h.value.find((g) => u === g.value);
2321
2322
  }), d1(() => {
2322
2323
  C.value = h.value.find((u) => r.lang === u.value || localStorage.getItem("quail-language") === u.value) || h.value[0];