@selfeesas/shared-components 0.4.15 → 0.4.17

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,14 +1,14 @@
1
- import { computed as ee, markRaw as Ca, defineComponent as Ut, reactive as Kr, h as ne, withDirectives as Zr, getCurrentInstance as dt, useAttrs as Hi, createBlock as _t, openBlock as Ze, mergeProps as ar, withCtx as et, createElementBlock as Ct, Fragment as Kt, renderList as ir, createVNode as st, unref as It, ref as Se, onBeforeUnmount as Rt, Transition as ur, inject as Sr, createCommentVNode as nr, toRaw as Nr, onMounted as Qt, nextTick as Et, watch as We, onDeactivated as jr, onActivated as gn, onUnmounted as Aa, Teleport as qo, onBeforeUpdate as Ea, onBeforeMount as Yi, onUpdated as zo, normalizeStyle as Zt, normalizeClass as $r, resolveComponent as Vo, renderSlot as Tr, createElementVNode as ot, toDisplayString as Vt, provide as Qi, useSlots as Uo, withModifiers as Yr, createTextVNode as An, mergeDefaults as Wo } from "vue";
1
+ import { computed as ee, markRaw as Ca, defineComponent as Ut, reactive as Kr, h as ne, withDirectives as Jr, getCurrentInstance as dt, useAttrs as Hi, createBlock as _t, openBlock as Ze, mergeProps as ar, withCtx as et, createElementBlock as Ct, Fragment as Kt, renderList as ir, createVNode as st, unref as It, ref as Se, onBeforeUnmount as Rt, Transition as ur, inject as Sr, createCommentVNode as nr, toRaw as Nr, onMounted as Qt, nextTick as Et, watch as We, onDeactivated as jr, onActivated as mn, onUnmounted as Aa, Teleport as qo, onBeforeUpdate as Ea, onBeforeMount as Yi, onUpdated as zo, normalizeStyle as Zt, normalizeClass as Zr, resolveComponent as Vo, renderSlot as Tr, createElementVNode as ot, toDisplayString as Vt, provide as Qi, useSlots as Uo, withModifiers as Yr, createTextVNode as Cn, mergeDefaults as Wo } from "vue";
2
2
  const Ti = {
3
3
  xs: 18,
4
4
  sm: 24,
5
5
  md: 32,
6
6
  lg: 38,
7
7
  xl: 46
8
- }, rn = {
8
+ }, tn = {
9
9
  size: String
10
10
  };
11
- function nn(l, B = Ti) {
11
+ function rn(l, B = Ti) {
12
12
  return ee(() => l.size !== void 0 ? { fontSize: l.size in B ? `${B[l.size]}px` : l.size } : null);
13
13
  }
14
14
  function sr(l, B, t, v) {
@@ -62,7 +62,7 @@ function Ma(l, B) {
62
62
  function Qo(l, B, t, v, m, f) {
63
63
  B.key = v + m;
64
64
  const a = ne(l, B, t);
65
- return m === !0 ? Zr(a, f()) : a;
65
+ return m === !0 ? Jr(a, f()) : a;
66
66
  }
67
67
  const ks = "0 0 24 24", ui = (l) => l, ci = (l) => `ionicons ${l}`, Ta = {
68
68
  "mdi-": (l) => `mdi ${l}`,
@@ -89,7 +89,7 @@ const ks = "0 0 24 24", ui = (l) => l, ci = (l) => `ionicons ${l}`, Ta = {
89
89
  }, Ko = new RegExp("^(" + Object.keys(Ta).join("|") + ")"), Xo = new RegExp("^(" + Object.keys(Ra).join("|") + ")"), Cs = new RegExp("^(" + Object.keys(Oa).join("|") + ")"), Go = /^[Mm]\s?[-+]?\.?\d/, Jo = /^img:/, Zo = /^svguse:/, $o = /^ion-/, el = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Pt = lt({
90
90
  name: "QIcon",
91
91
  props: {
92
- ...rn,
92
+ ...tn,
93
93
  tag: {
94
94
  type: String,
95
95
  default: "i"
@@ -100,7 +100,7 @@ const ks = "0 0 24 24", ui = (l) => l, ci = (l) => `ionicons ${l}`, Ta = {
100
100
  right: Boolean
101
101
  },
102
102
  setup(l, { slots: B }) {
103
- const { proxy: { $q: t } } = dt(), v = nn(l), m = ee(
103
+ const { proxy: { $q: t } } = dt(), v = rn(l), m = ee(
104
104
  () => "q-icon" + (l.left === !0 ? " on-left" : "") + (l.right === !0 ? " on-right" : "") + (l.color !== void 0 ? ` text-${l.color}` : "")
105
105
  ), f = ee(() => {
106
106
  let a, o = l.name;
@@ -622,7 +622,7 @@ function ri() {
622
622
  function dl(l) {
623
623
  return l.button === 0;
624
624
  }
625
- function dn(l) {
625
+ function fn(l) {
626
626
  return l.touches && l.touches[0] ? l = l.touches[0] : l.changedTouches && l.changedTouches[0] ? l = l.changedTouches[0] : l.targetTouches && l.targetTouches[0] && (l = l.targetTouches[0]), {
627
627
  top: l.clientY,
628
628
  left: l.clientX
@@ -691,7 +691,7 @@ function Ts(l, B, t, v) {
691
691
  const m = t.modifiers.color;
692
692
  let f = t.modifiers.center;
693
693
  f = f === !0 || v === !0;
694
- const a = document.createElement("span"), o = document.createElement("span"), n = dn(l), { left: e, top: r, width: u, height: s } = B.getBoundingClientRect(), i = Math.sqrt(u * u + s * s), d = i / 2, h = `${(u - i) / 2}px`, c = f ? h : `${n.left - e - d}px`, g = `${(s - i) / 2}px`, p = f ? g : `${n.top - r - d}px`;
694
+ const a = document.createElement("span"), o = document.createElement("span"), n = fn(l), { left: e, top: r, width: u, height: s } = B.getBoundingClientRect(), i = Math.sqrt(u * u + s * s), d = i / 2, h = `${(u - i) / 2}px`, c = f ? h : `${n.left - e - d}px`, g = `${(s - i) / 2}px`, p = f ? g : `${n.top - r - d}px`;
695
695
  o.className = "q-ripple__inner", Ri(o, {
696
696
  height: `${i}px`,
697
697
  width: `${i}px`,
@@ -776,7 +776,7 @@ function yl(l, B) {
776
776
  return l.flat === !0 ? "flat" : l.outline === !0 ? "outline" : l.push === !0 ? "push" : l.unelevated === !0 ? "unelevated" : B;
777
777
  }
778
778
  const wl = {
779
- ...rn,
779
+ ...tn,
780
780
  ...Ba,
781
781
  type: {
782
782
  type: String,
@@ -822,7 +822,7 @@ const wl = {
822
822
  round: Boolean
823
823
  };
824
824
  function Sl(l) {
825
- const B = nn(l, ml), t = Da(l), { hasRouterLink: v, hasLink: m, linkTag: f, linkAttrs: a, navigateOnClick: o } = Zi({
825
+ const B = rn(l, ml), t = Da(l), { hasRouterLink: v, hasLink: m, linkTag: f, linkAttrs: a, navigateOnClick: o } = Zi({
826
826
  fallbackTag: "button"
827
827
  }), n = ee(() => {
828
828
  const c = l.fab === !1 && l.fabMini === !1 ? B.value : {};
@@ -1022,7 +1022,7 @@ const Bt = lt({
1022
1022
  class: "absolute-full flex flex-center"
1023
1023
  }, B.loading !== void 0 ? B.loading() : [ne(La)])
1024
1024
  ] : null)
1025
- ), Zr(
1025
+ ), Jr(
1026
1026
  ne(
1027
1027
  e.value,
1028
1028
  j.value,
@@ -1146,7 +1146,7 @@ const El = {
1146
1146
  xl: 60
1147
1147
  }, Ml = {
1148
1148
  ...Xt,
1149
- ...rn,
1149
+ ...tn,
1150
1150
  ...ni,
1151
1151
  modelValue: {
1152
1152
  required: !0,
@@ -1173,7 +1173,7 @@ const El = {
1173
1173
  tabindex: [String, Number]
1174
1174
  }, Tl = ["update:modelValue"];
1175
1175
  function Rl(l, B) {
1176
- const { props: t, slots: v, emit: m, proxy: f } = dt(), { $q: a } = f, o = Gt(t, a), n = Se(null), { refocusTargetEl: e, refocusTarget: r } = Cl(t, n), u = nn(t, El), s = ee(
1176
+ const { props: t, slots: v, emit: m, proxy: f } = dt(), { $q: a } = f, o = Gt(t, a), n = Se(null), { refocusTargetEl: e, refocusTarget: r } = Cl(t, n), u = rn(t, El), s = ee(
1177
1177
  () => t.val !== void 0 && Array.isArray(t.modelValue)
1178
1178
  ), i = ee(() => {
1179
1179
  const N = Nr(t.val);
@@ -1324,7 +1324,7 @@ const Ol = () => ne("div", {
1324
1324
  "aria-hidden": "true",
1325
1325
  onMousedown: l.store.onHorizontalMousedown
1326
1326
  }),
1327
- Zr(
1327
+ Jr(
1328
1328
  ne("div", {
1329
1329
  ref: l.store.scroll.vertical.ref,
1330
1330
  class: l.store.scroll.vertical.thumbClass.value,
@@ -1333,7 +1333,7 @@ const Ol = () => ne("div", {
1333
1333
  }),
1334
1334
  l.store.thumbVertDir
1335
1335
  ),
1336
- Zr(
1336
+ Jr(
1337
1337
  ne("div", {
1338
1338
  ref: l.store.scroll.horizontal.ref,
1339
1339
  class: l.store.scroll.horizontal.thumbClass.value,
@@ -1461,7 +1461,7 @@ function Dl() {
1461
1461
  const Wa = typeof ResizeObserver < "u", Bs = Wa === !0 ? {} : {
1462
1462
  style: "display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",
1463
1463
  url: "about:blank"
1464
- }, en = lt({
1464
+ }, $r = lt({
1465
1465
  name: "QResizeObserver",
1466
1466
  props: {
1467
1467
  debounce: {
@@ -1587,10 +1587,10 @@ function di(l, B, t) {
1587
1587
  }
1588
1588
  ji(l, B);
1589
1589
  }
1590
- let En;
1590
+ let An;
1591
1591
  function zn() {
1592
- if (En !== void 0)
1593
- return En;
1592
+ if (An !== void 0)
1593
+ return An;
1594
1594
  const l = document.createElement("p"), B = document.createElement("div");
1595
1595
  Ri(l, {
1596
1596
  width: "100%",
@@ -1607,7 +1607,7 @@ function zn() {
1607
1607
  const t = l.offsetWidth;
1608
1608
  B.style.overflow = "scroll";
1609
1609
  let v = l.offsetWidth;
1610
- return t === v && (v = B.clientWidth), B.remove(), En = t - v, En;
1610
+ return t === v && (v = B.clientWidth), B.remove(), An = t - v, An;
1611
1611
  }
1612
1612
  function Nl(l, B = !0) {
1613
1613
  return !l || l.nodeType !== Node.ELEMENT_NODE ? !1 : B ? l.scrollHeight > l.clientHeight && (l.classList.contains("scroll") || l.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(l)["overflow-y"])) : l.scrollWidth > l.clientWidth && (l.classList.contains("scroll") || l.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(l)["overflow-x"]));
@@ -1707,7 +1707,7 @@ function Yn() {
1707
1707
  } else document.selection !== void 0 && document.selection.empty();
1708
1708
  }
1709
1709
  function hi(l, B, t) {
1710
- const v = dn(l);
1710
+ const v = fn(l);
1711
1711
  let m, f = v.left - B.event.x, a = v.top - B.event.y, o = Math.abs(f), n = Math.abs(a);
1712
1712
  const e = B.direction;
1713
1713
  e.horizontal === !0 && e.vertical !== !0 ? m = f < 0 ? "left" : "right" : e.horizontal !== !0 && e.vertical === !0 ? m = a < 0 ? "up" : "down" : e.up === !0 && a < 0 ? (m = "up", o > n && (e.left === !0 && f < 0 ? m = "left" : e.right === !0 && f > 0 && (m = "right"))) : e.down === !0 && a > 0 ? (m = "down", o > n && (e.left === !0 && f < 0 ? m = "left" : e.right === !0 && f > 0 && (m = "right"))) : e.left === !0 && f < 0 ? (m = "left", o < n && (e.up === !0 && a < 0 ? m = "up" : e.down === !0 && a > 0 && (m = "down"))) : e.right === !0 && f > 0 && (m = "right", o < n && (e.up === !0 && a < 0 ? m = "up" : e.down === !0 && a > 0 && (m = "down")));
@@ -1790,7 +1790,7 @@ const Ls = Ki(
1790
1790
  }
1791
1791
  $t(f);
1792
1792
  }
1793
- const { left: o, top: n } = dn(f);
1793
+ const { left: o, top: n } = fn(f);
1794
1794
  m.event = {
1795
1795
  x: o,
1796
1796
  y: n,
@@ -1805,7 +1805,7 @@ const Ls = Ki(
1805
1805
  },
1806
1806
  move(f) {
1807
1807
  if (m.event === void 0) return;
1808
- const a = dn(f), o = a.left - m.event.x, n = a.top - m.event.y;
1808
+ const a = fn(f), o = a.left - m.event.x, n = a.top - m.event.y;
1809
1809
  if (o === 0 && n === 0) return;
1810
1810
  m.lastEvt = f;
1811
1811
  const e = m.event.mouse === !0, r = () => {
@@ -1875,7 +1875,7 @@ const Ls = Ki(
1875
1875
  function Wl(l) {
1876
1876
  return l.charAt(0).toUpperCase() + l.slice(1);
1877
1877
  }
1878
- function an(l, B, t) {
1878
+ function sn(l, B, t) {
1879
1879
  return t <= B ? B : Math.min(t, Math.max(B, l));
1880
1880
  }
1881
1881
  function Ns(l, B, t) {
@@ -1968,11 +1968,11 @@ const qs = ["vertical", "horizontal"], pi = {
1968
1968
  const E = o.vertical.size.value - a.vertical.value;
1969
1969
  if (E <= 0)
1970
1970
  return 0;
1971
- const _ = an(o.vertical.position.value / E, 0, 1);
1971
+ const _ = sn(o.vertical.position.value / E, 0, 1);
1972
1972
  return Math.round(_ * 1e4) / 1e4;
1973
1973
  }), o.vertical.thumbHidden = ee(() => (l.visible === null ? f.value : l.visible) !== !0 && v.value === !1 && m.value === !1 || o.vertical.size.value <= a.vertical.value + 1), o.vertical.thumbStart = ee(() => l.verticalOffset[0] + o.vertical.percentage.value * (a.verticalInner.value - o.vertical.thumbSize.value)), o.vertical.thumbSize = ee(
1974
1974
  () => Math.round(
1975
- an(
1975
+ sn(
1976
1976
  a.verticalInner.value * a.verticalInner.value / o.vertical.size.value,
1977
1977
  Vs(a.verticalInner.value),
1978
1978
  a.verticalInner.value
@@ -1988,11 +1988,11 @@ const qs = ["vertical", "horizontal"], pi = {
1988
1988
  const E = o.horizontal.size.value - a.horizontal.value;
1989
1989
  if (E <= 0)
1990
1990
  return 0;
1991
- const _ = an(Math.abs(o.horizontal.position.value) / E, 0, 1);
1991
+ const _ = sn(Math.abs(o.horizontal.position.value) / E, 0, 1);
1992
1992
  return Math.round(_ * 1e4) / 1e4;
1993
1993
  }), o.horizontal.thumbHidden = ee(() => (l.visible === null ? f.value : l.visible) !== !0 && v.value === !1 && m.value === !1 || o.horizontal.size.value <= a.horizontal.value + 1), o.horizontal.thumbStart = ee(() => l.horizontalOffset[0] + o.horizontal.percentage.value * (a.horizontalInner.value - o.horizontal.thumbSize.value)), o.horizontal.thumbSize = ee(
1994
1994
  () => Math.round(
1995
- an(
1995
+ sn(
1996
1996
  a.horizontalInner.value * a.horizontalInner.value / o.horizontal.size.value,
1997
1997
  Vs(a.horizontalInner.value),
1998
1998
  a.horizontalInner.value
@@ -2057,7 +2057,7 @@ const qs = ["vertical", "horizontal"], pi = {
2057
2057
  if (b.thumbHidden.value !== !0) {
2058
2058
  const y = _ === "vertical" ? l.verticalOffset[0] : l.horizontalOffset[0], w = E[pi[_].offset] - y, x = b.thumbStart.value - y;
2059
2059
  if (w < x || w > x + b.thumbSize.value) {
2060
- const A = w - b.thumbSize.value / 2, R = an(A / (a[_ + "Inner"].value - b.thumbSize.value), 0, 1);
2060
+ const A = w - b.thumbSize.value / 2, R = sn(A / (a[_ + "Inner"].value - b.thumbSize.value), 0, 1);
2061
2061
  P(R * Math.max(0, b.size.value - a[_].value), _);
2062
2062
  }
2063
2063
  b.ref.value !== null && b.ref.value.dispatchEvent(new MouseEvent(E.type, E));
@@ -2091,7 +2091,7 @@ const qs = ["vertical", "horizontal"], pi = {
2091
2091
  top: o.vertical.position.value,
2092
2092
  left: o.horizontal.position.value
2093
2093
  };
2094
- }), gn(() => {
2094
+ }), mn(() => {
2095
2095
  if (N === null) return;
2096
2096
  const E = s.value;
2097
2097
  E !== null && (di(E, N.left), js(E, N.top));
@@ -2154,7 +2154,7 @@ const qs = ["vertical", "horizontal"], pi = {
2154
2154
  class: "q-scrollarea__content absolute",
2155
2155
  style: d.value
2156
2156
  }, tr(B.default, [
2157
- ne(en, {
2157
+ ne($r, {
2158
2158
  debounce: 0,
2159
2159
  onResize: k
2160
2160
  })
@@ -2164,7 +2164,7 @@ const qs = ["vertical", "horizontal"], pi = {
2164
2164
  onScroll: S
2165
2165
  })
2166
2166
  ]),
2167
- ne(en, {
2167
+ ne($r, {
2168
2168
  debounce: 0,
2169
2169
  onResize: p
2170
2170
  }),
@@ -2383,18 +2383,18 @@ function ls({
2383
2383
  const g = { show: s, hide: d, toggle: u };
2384
2384
  return Object.assign(e, g), g;
2385
2385
  }
2386
- let Mr = [], hn = [];
2386
+ let Mr = [], dn = [];
2387
2387
  function Za(l) {
2388
- hn = hn.filter((B) => B !== l);
2388
+ dn = dn.filter((B) => B !== l);
2389
2389
  }
2390
2390
  function Yl(l) {
2391
- Za(l), hn.push(l);
2391
+ Za(l), dn.push(l);
2392
2392
  }
2393
2393
  function Us(l) {
2394
- Za(l), hn.length === 0 && Mr.length !== 0 && (Mr[Mr.length - 1](), Mr = []);
2394
+ Za(l), dn.length === 0 && Mr.length !== 0 && (Mr[Mr.length - 1](), Mr = []);
2395
2395
  }
2396
- function bn(l) {
2397
- hn.length === 0 ? l() : Mr.push(l);
2396
+ function gn(l) {
2397
+ dn.length === 0 ? l() : Mr.push(l);
2398
2398
  }
2399
2399
  function Ql(l) {
2400
2400
  Mr = Mr.filter((B) => B !== l);
@@ -2412,9 +2412,9 @@ function Gl(l, B) {
2412
2412
  function Jl(l) {
2413
2413
  l.remove();
2414
2414
  }
2415
- const Gr = [];
2415
+ const Xr = [];
2416
2416
  function Zl(l) {
2417
- return Gr.find(
2417
+ return Xr.find(
2418
2418
  (B) => B.contentEl !== null && B.contentEl.contains(l)
2419
2419
  );
2420
2420
  }
@@ -2467,13 +2467,13 @@ function us(l, B, t, v) {
2467
2467
  Us(o), f.value = !0;
2468
2468
  return;
2469
2469
  }
2470
- f.value = !1, m.value === !1 && (n === !1 && a === null && (a = Gl(!1, v)), m.value = !0, Gr.push(l.proxy), Yl(o));
2470
+ f.value = !1, m.value === !1 && (n === !1 && a === null && (a = Gl(!1, v)), m.value = !0, Xr.push(l.proxy), Yl(o));
2471
2471
  }
2472
2472
  function r(u) {
2473
2473
  if (f.value = !1, u !== !0) return;
2474
2474
  Us(o), m.value = !1;
2475
- const s = Gr.indexOf(l.proxy);
2476
- s !== -1 && Gr.splice(s, 1), a !== null && (Jl(a), a = null);
2475
+ const s = Xr.indexOf(l.proxy);
2476
+ s !== -1 && Xr.splice(s, 1), a !== null && (Jl(a), a = null);
2477
2477
  }
2478
2478
  return Aa(() => {
2479
2479
  r(!0);
@@ -2485,7 +2485,7 @@ function us(l, B, t, v) {
2485
2485
  renderPortal: () => n === !0 ? t() : m.value === !0 ? [ne(qo, { to: a }, ne(eu, t))] : void 0
2486
2486
  };
2487
2487
  }
2488
- const fn = {
2488
+ const cn = {
2489
2489
  transitionShow: {
2490
2490
  type: String,
2491
2491
  default: "fade"
@@ -2549,18 +2549,18 @@ function ds() {
2549
2549
  };
2550
2550
  }
2551
2551
  const Or = [];
2552
- let tn;
2552
+ let en;
2553
2553
  function ru(l) {
2554
- tn = l.keyCode === 27;
2554
+ en = l.keyCode === 27;
2555
2555
  }
2556
2556
  function nu() {
2557
- tn === !0 && (tn = !1);
2557
+ en === !0 && (en = !1);
2558
2558
  }
2559
2559
  function iu(l) {
2560
- tn === !0 && (tn = !1, _r(l, 27) === !0 && Or[Or.length - 1](l));
2560
+ en === !0 && (en = !1, _r(l, 27) === !0 && Or[Or.length - 1](l));
2561
2561
  }
2562
2562
  function eo(l) {
2563
- window[l]("keydown", ru), window[l]("blur", nu), window[l]("keyup", iu), tn = !1;
2563
+ window[l]("keydown", ru), window[l]("blur", nu), window[l]("keyup", iu), en = !1;
2564
2564
  }
2565
2565
  function to(l) {
2566
2566
  qt.is.desktop === !0 && (Or.push(l), Or.length === 1 && eo("addEventListener"));
@@ -2584,9 +2584,9 @@ const { notPassiveCapture: Kn } = Dt, Br = [];
2584
2584
  function Xn(l) {
2585
2585
  const B = l.target;
2586
2586
  if (B === void 0 || B.nodeType === 8 || B.classList.contains("no-pointer-events") === !0) return;
2587
- let t = Gr.length - 1;
2587
+ let t = Xr.length - 1;
2588
2588
  for (; t >= 0; ) {
2589
- const v = Gr[t].$;
2589
+ const v = Xr[t].$;
2590
2590
  if (v.type.name === "QTooltip") {
2591
2591
  t--;
2592
2592
  continue;
@@ -2777,7 +2777,7 @@ const ai = lt({
2777
2777
  ...Ga,
2778
2778
  ...as,
2779
2779
  ...Xt,
2780
- ...fn,
2780
+ ...cn,
2781
2781
  persistent: Boolean,
2782
2782
  autoClose: Boolean,
2783
2783
  separateClosePopup: Boolean,
@@ -2849,14 +2849,14 @@ const ai = lt({
2849
2849
  T === !0 ? (to(F), io(C)) : (Qn(F), Gn(C));
2850
2850
  });
2851
2851
  function x() {
2852
- bn(() => {
2852
+ gn(() => {
2853
2853
  let T = u.value;
2854
2854
  T && T.contains(document.activeElement) !== !0 && (T = T.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || T.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || T.querySelector("[autofocus], [data-autofocus]") || T, T.focus({ preventScroll: !0 }));
2855
2855
  });
2856
2856
  }
2857
2857
  function A(T) {
2858
2858
  if (m = l.noRefocus === !1 ? document.activeElement : null, no(Q), L(), U(), f = void 0, T !== void 0 && (l.touchPosition || l.contextMenu)) {
2859
- const z = dn(T);
2859
+ const z = fn(T);
2860
2860
  if (z.left !== void 0) {
2861
2861
  const { top: Y, left: Z } = q.value.getBoundingClientRect();
2862
2862
  f = { left: z.left - Z, top: z.top - Y };
@@ -2930,7 +2930,7 @@ const ai = lt({
2930
2930
  return Rt(O), Object.assign(e, { focus: x, updatePosition: H }), N;
2931
2931
  }
2932
2932
  });
2933
- let gi, Mn = 0;
2933
+ let gi, En = 0;
2934
2934
  const zt = new Array(256);
2935
2935
  for (let l = 0; l < 256; l++)
2936
2936
  zt[l] = (l + 256).toString(16).substring(1);
@@ -2953,8 +2953,8 @@ const lu = (() => {
2953
2953
  };
2954
2954
  })(), Ks = 4096;
2955
2955
  function Di() {
2956
- (gi === void 0 || Mn + 16 > Ks) && (Mn = 0, gi = lu(Ks));
2957
- const l = Array.prototype.slice.call(gi, Mn, Mn += 16);
2956
+ (gi === void 0 || En + 16 > Ks) && (En = 0, gi = lu(Ks));
2957
+ const l = Array.prototype.slice.call(gi, En, En += 16);
2958
2958
  return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, zt[l[0]] + zt[l[1]] + zt[l[2]] + zt[l[3]] + "-" + zt[l[4]] + zt[l[5]] + "-" + zt[l[6]] + zt[l[7]] + "-" + zt[l[8]] + zt[l[9]] + "-" + zt[l[10]] + zt[l[11]] + zt[l[12]] + zt[l[13]] + zt[l[14]] + zt[l[15]];
2959
2959
  }
2960
2960
  function uu(l) {
@@ -2990,7 +2990,7 @@ function fu() {
2990
2990
  }
2991
2991
  return Ea(v), v(), t;
2992
2992
  }
2993
- const vn = "_q_l_", ao = "_q_pc_", oo = "_q_fo_";
2993
+ const bn = "_q_l_", ao = "_q_pc_", oo = "_q_fo_";
2994
2994
  function Ht() {
2995
2995
  }
2996
2996
  function du({ validate: l, resetValidation: B, requiresQForm: t }) {
@@ -3006,7 +3006,7 @@ function du({ validate: l, resetValidation: B, requiresQForm: t }) {
3006
3006
  });
3007
3007
  } else t === !0 && console.error("Parent QForm not found on useFormChild()!");
3008
3008
  }
3009
- const Js = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, Zs = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, $s = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, Tn = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, Rn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, bi = {
3009
+ const Js = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, Zs = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, $s = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, Mn = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, Tn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, bi = {
3010
3010
  date: (l) => /^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(l),
3011
3011
  time: (l) => /^([0-1]?\d|2[0-3]):[0-5]\d$/.test(l),
3012
3012
  fulltime: (l) => /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(l),
@@ -3021,12 +3021,12 @@ const Js = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, Zs = /^#[0-9a-fA-F]{4}([0-9a-fA
3021
3021
  hexColor: (l) => Js.test(l),
3022
3022
  hexaColor: (l) => Zs.test(l),
3023
3023
  hexOrHexaColor: (l) => $s.test(l),
3024
- rgbColor: (l) => Tn.test(l),
3025
- rgbaColor: (l) => Rn.test(l),
3026
- rgbOrRgbaColor: (l) => Tn.test(l) || Rn.test(l),
3027
- hexOrRgbColor: (l) => Js.test(l) || Tn.test(l),
3028
- hexaOrRgbaColor: (l) => Zs.test(l) || Rn.test(l),
3029
- anyColor: (l) => $s.test(l) || Tn.test(l) || Rn.test(l)
3024
+ rgbColor: (l) => Mn.test(l),
3025
+ rgbaColor: (l) => Tn.test(l),
3026
+ rgbOrRgbaColor: (l) => Mn.test(l) || Tn.test(l),
3027
+ hexOrRgbColor: (l) => Js.test(l) || Mn.test(l),
3028
+ hexaOrRgbaColor: (l) => Zs.test(l) || Tn.test(l),
3029
+ anyColor: (l) => $s.test(l) || Mn.test(l) || Tn.test(l)
3030
3030
  }, hu = [!0, !1, "ondemand"], pu = {
3031
3031
  modelValue: {},
3032
3032
  error: {
@@ -3105,7 +3105,7 @@ function mu(l, B) {
3105
3105
  resetValidation: d
3106
3106
  };
3107
3107
  }
3108
- function pn(l) {
3108
+ function hn(l) {
3109
3109
  return l != null && ("" + l).length !== 0;
3110
3110
  }
3111
3111
  const gu = {
@@ -3187,7 +3187,7 @@ function ms({ requiredForAttr: l = !0, tagProp: B, changeEvent: t = !1 } = {}) {
3187
3187
  function gs(l) {
3188
3188
  const { props: B, emit: t, slots: v, attrs: m, proxy: f } = dt(), { $q: a } = f;
3189
3189
  let o = null;
3190
- l.hasValue === void 0 && (l.hasValue = ee(() => pn(B.modelValue))), l.emitValue === void 0 && (l.emitValue = (w) => {
3190
+ l.hasValue === void 0 && (l.hasValue = ee(() => hn(B.modelValue))), l.emitValue === void 0 && (l.emitValue = (w) => {
3191
3191
  t("update:modelValue", w);
3192
3192
  }), l.controlEvents === void 0 && (l.controlEvents = {
3193
3193
  onFocusin: D,
@@ -3236,7 +3236,7 @@ function gs(l) {
3236
3236
  x && (w === null || w.id !== l.targetUid.value) && (x.hasAttribute("tabindex") === !0 || (x = x.querySelector("[tabindex]")), x !== w && x?.focus({ preventScroll: !0 }));
3237
3237
  }
3238
3238
  function q() {
3239
- bn(j);
3239
+ gn(j);
3240
3240
  }
3241
3241
  function P() {
3242
3242
  Ql(j);
@@ -3360,7 +3360,7 @@ function gs(l) {
3360
3360
  let y = !1;
3361
3361
  return jr(() => {
3362
3362
  y = !0;
3363
- }), gn(() => {
3363
+ }), mn(() => {
3364
3364
  y === !0 && B.autofocus === !0 && f.focus();
3365
3365
  }), B.autofocus === !0 && Qt(() => {
3366
3366
  f.focus();
@@ -3429,7 +3429,7 @@ const bu = lt({
3429
3429
  name: "QChip",
3430
3430
  props: {
3431
3431
  ...Xt,
3432
- ...rn,
3432
+ ...tn,
3433
3433
  dense: Boolean,
3434
3434
  icon: String,
3435
3435
  iconRight: String,
@@ -3460,7 +3460,7 @@ const bu = lt({
3460
3460
  },
3461
3461
  emits: ["update:modelValue", "update:selected", "remove", "click"],
3462
3462
  setup(l, { slots: B, emit: t }) {
3463
- const { proxy: { $q: v } } = dt(), m = Gt(l, v), f = nn(l, vu), a = ee(() => l.selected === !0 || l.icon !== void 0), o = ee(() => l.selected === !0 ? l.iconSelected || v.iconSet.chip.selected : l.icon), n = ee(() => l.iconRemove || v.iconSet.chip.remove), e = ee(
3463
+ const { proxy: { $q: v } } = dt(), m = Gt(l, v), f = rn(l, vu), a = ee(() => l.selected === !0 || l.icon !== void 0), o = ee(() => l.selected === !0 ? l.iconSelected || v.iconSet.chip.selected : l.icon), n = ee(() => l.iconRemove || v.iconSet.chip.remove), e = ee(
3464
3464
  () => l.disable === !1 && (l.clickable === !0 || l.selected !== null)
3465
3465
  ), r = ee(() => {
3466
3466
  const c = l.outline === !0 && l.color || l.textColor;
@@ -3646,7 +3646,7 @@ function xu(l, B, t) {
3646
3646
  }
3647
3647
  };
3648
3648
  }
3649
- let on = 0, vi, yi, cn, wi = !1, ea, ta, ra, Er = null;
3649
+ let an = 0, vi, yi, un, wi = !1, ea, ta, ra, Er = null;
3650
3650
  function Su(l) {
3651
3651
  _u(l) && jt(l);
3652
3652
  }
@@ -3664,31 +3664,31 @@ function _u(l) {
3664
3664
  function na(l) {
3665
3665
  l.target === document && (document.scrollingElement.scrollTop = document.scrollingElement.scrollTop);
3666
3666
  }
3667
- function On(l) {
3667
+ function Rn(l) {
3668
3668
  wi !== !0 && (wi = !0, requestAnimationFrame(() => {
3669
3669
  wi = !1;
3670
3670
  const { height: B } = l.target, { clientHeight: t, scrollTop: v } = document.scrollingElement;
3671
- (cn === void 0 || B !== window.innerHeight) && (cn = t - B, document.scrollingElement.scrollTop = v), v > cn && (document.scrollingElement.scrollTop -= Math.ceil((v - cn) / 8));
3671
+ (un === void 0 || B !== window.innerHeight) && (un = t - B, document.scrollingElement.scrollTop = v), v > un && (document.scrollingElement.scrollTop -= Math.ceil((v - un) / 8));
3672
3672
  }));
3673
3673
  }
3674
3674
  function ia(l) {
3675
3675
  const B = document.body, t = window.visualViewport !== void 0;
3676
3676
  if (l === "add") {
3677
3677
  const { overflowY: v, overflowX: m } = window.getComputedStyle(B);
3678
- vi = rs(window), yi = ts(window), ea = B.style.left, ta = B.style.top, ra = window.location.href, B.style.left = `-${vi}px`, B.style.top = `-${yi}px`, m !== "hidden" && (m === "scroll" || B.scrollWidth > window.innerWidth) && B.classList.add("q-body--force-scrollbar-x"), v !== "hidden" && (v === "scroll" || B.scrollHeight > window.innerHeight) && B.classList.add("q-body--force-scrollbar-y"), B.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, qt.is.ios === !0 && (t === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", On, Dt.passiveCapture), window.visualViewport.addEventListener("scroll", On, Dt.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", na, Dt.passiveCapture));
3678
+ vi = rs(window), yi = ts(window), ea = B.style.left, ta = B.style.top, ra = window.location.href, B.style.left = `-${vi}px`, B.style.top = `-${yi}px`, m !== "hidden" && (m === "scroll" || B.scrollWidth > window.innerWidth) && B.classList.add("q-body--force-scrollbar-x"), v !== "hidden" && (v === "scroll" || B.scrollHeight > window.innerHeight) && B.classList.add("q-body--force-scrollbar-y"), B.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, qt.is.ios === !0 && (t === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", Rn, Dt.passiveCapture), window.visualViewport.addEventListener("scroll", Rn, Dt.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", na, Dt.passiveCapture));
3679
3679
  }
3680
- qt.is.desktop === !0 && qt.is.mac === !0 && window[`${l}EventListener`]("wheel", Su, Dt.notPassive), l === "remove" && (qt.is.ios === !0 && (t === !0 ? (window.visualViewport.removeEventListener("resize", On, Dt.passiveCapture), window.visualViewport.removeEventListener("scroll", On, Dt.passiveCapture)) : window.removeEventListener("scroll", na, Dt.passiveCapture)), B.classList.remove("q-body--prevent-scroll"), B.classList.remove("q-body--force-scrollbar-x"), B.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, B.style.left = ea, B.style.top = ta, window.location.href === ra && window.scrollTo(vi, yi), cn = void 0);
3680
+ qt.is.desktop === !0 && qt.is.mac === !0 && window[`${l}EventListener`]("wheel", Su, Dt.notPassive), l === "remove" && (qt.is.ios === !0 && (t === !0 ? (window.visualViewport.removeEventListener("resize", Rn, Dt.passiveCapture), window.visualViewport.removeEventListener("scroll", Rn, Dt.passiveCapture)) : window.removeEventListener("scroll", na, Dt.passiveCapture)), B.classList.remove("q-body--prevent-scroll"), B.classList.remove("q-body--force-scrollbar-x"), B.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, B.style.left = ea, B.style.top = ta, window.location.href === ra && window.scrollTo(vi, yi), un = void 0);
3681
3681
  }
3682
3682
  function ku(l) {
3683
3683
  let B = "add";
3684
3684
  if (l === !0) {
3685
- if (on++, Er !== null) {
3685
+ if (an++, Er !== null) {
3686
3686
  clearTimeout(Er), Er = null;
3687
3687
  return;
3688
3688
  }
3689
- if (on > 1) return;
3689
+ if (an > 1) return;
3690
3690
  } else {
3691
- if (on === 0 || (on--, on > 0)) return;
3691
+ if (an === 0 || (an--, an > 0)) return;
3692
3692
  if (B = "remove", qt.is.ios === !0 && qt.is.nativeMobile === !0) {
3693
3693
  Er !== null && clearTimeout(Er), Er = setTimeout(() => {
3694
3694
  ia(B), Er = null;
@@ -3706,7 +3706,7 @@ function Cu() {
3706
3706
  }
3707
3707
  };
3708
3708
  }
3709
- let In = 0;
3709
+ let On = 0;
3710
3710
  const Au = {
3711
3711
  standard: "fixed-full flex-center",
3712
3712
  top: "fixed-top justify-center",
@@ -3724,7 +3724,7 @@ const Au = {
3724
3724
  inheritAttrs: !1,
3725
3725
  props: {
3726
3726
  ...as,
3727
- ...fn,
3727
+ ...cn,
3728
3728
  transitionShow: String,
3729
3729
  // override useTransitionProps
3730
3730
  transitionHide: String,
@@ -3810,7 +3810,7 @@ const Au = {
3810
3810
  }, l.transitionDuration);
3811
3811
  }
3812
3812
  function _(W) {
3813
- bn(() => {
3813
+ gn(() => {
3814
3814
  let Q = f.value;
3815
3815
  if (Q !== null) {
3816
3816
  if (W !== void 0) {
@@ -3838,7 +3838,7 @@ const Au = {
3838
3838
  n !== null && (clearTimeout(n), n = null), (W === !0 || a.value === !0) && (x(!1), l.seamless !== !0 && (i(!1), Fi(O), Qn(y))), W !== !0 && (e = null);
3839
3839
  }
3840
3840
  function x(W) {
3841
- W === !0 ? r !== !0 && (In < 1 && document.body.classList.add("q-body--dialog"), In++, r = !0) : r === !0 && (In < 2 && document.body.classList.remove("q-body--dialog"), In--, r = !1);
3841
+ W === !0 ? r !== !0 && (On < 1 && document.body.classList.add("q-body--dialog"), On++, r = !0) : r === !0 && (On < 2 && document.body.classList.remove("q-body--dialog"), On--, r = !1);
3842
3842
  }
3843
3843
  function A(W) {
3844
3844
  u !== !0 && (P(W), t("click", W));
@@ -3924,7 +3924,7 @@ const lr = 1e3, Eu = [
3924
3924
  v?.dataset && (v.dataset.qVsAnchor = "");
3925
3925
  }));
3926
3926
  };
3927
- function Jr(l, B) {
3927
+ function Gr(l, B) {
3928
3928
  return l + B;
3929
3929
  }
3930
3930
  function xi(l, B, t, v, m, f, a, o) {
@@ -3950,12 +3950,12 @@ function xi(l, B, t, v, m, f, a, o) {
3950
3950
  function aa(l, B, t, v) {
3951
3951
  B === "end" && (B = (l === window ? document.body : l)[t === !0 ? "scrollWidth" : "scrollHeight"]), l === window ? t === !0 ? (v === !0 && (B = ($n === !0 ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - B), window.scrollTo(B, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, B) : t === !0 ? (v === !0 && (B = ($n === !0 ? l.scrollWidth - l.offsetWidth : 0) - B), l.scrollLeft = B) : l.scrollTop = B;
3952
3952
  }
3953
- function ln(l, B, t, v) {
3953
+ function on(l, B, t, v) {
3954
3954
  if (t >= v)
3955
3955
  return 0;
3956
3956
  const m = B.length, f = Math.floor(t / lr), a = Math.floor((v - 1) / lr) + 1;
3957
- let o = l.slice(f, a).reduce(Jr, 0);
3958
- return t % lr !== 0 && (o -= B.slice(f * lr, t).reduce(Jr, 0)), v % lr !== 0 && v !== m && (o -= B.slice(v, a * lr).reduce(Jr, 0)), o;
3957
+ let o = l.slice(f, a).reduce(Gr, 0);
3958
+ return t % lr !== 0 && (o -= B.slice(f * lr, t).reduce(Gr, 0)), v % lr !== 0 && v !== m && (o -= B.slice(v, a * lr).reduce(Gr, 0)), o;
3959
3959
  }
3960
3960
  const co = {
3961
3961
  virtualScrollSliceSize: {
@@ -4057,7 +4057,7 @@ function ho({
4057
4057
  R,
4058
4058
  O,
4059
4059
  U,
4060
- O.scrollMaxSize - O.offsetEnd - s.reduce(Jr, 0)
4060
+ O.scrollMaxSize - O.offsetEnd - s.reduce(Gr, 0)
4061
4061
  );
4062
4062
  return;
4063
4063
  }
@@ -4089,17 +4089,17 @@ function ho({
4089
4089
  Y === !0 && X !== null && X !== Z && X.contains(Z) === !0 && (X.addEventListener("focusout", E), setTimeout(() => {
4090
4090
  X?.removeEventListener("focusout", E);
4091
4091
  })), Mu(X, U - T);
4092
- const $ = H !== void 0 ? i.slice(T, U).reduce(Jr, 0) : 0;
4092
+ const $ = H !== void 0 ? i.slice(T, U).reduce(Gr, 0) : 0;
4093
4093
  if (Y === !0) {
4094
4094
  const le = z >= k.value.from && T <= k.value.to ? k.value.to : z;
4095
- k.value = { from: T, to: le }, d.value = ln(s, i, 0, T), h.value = ln(s, i, z, l.value), requestAnimationFrame(() => {
4096
- k.value.to !== z && e === O.scrollStart && (k.value = { from: k.value.from, to: z }, h.value = ln(s, i, z, l.value));
4095
+ k.value = { from: T, to: le }, d.value = on(s, i, 0, T), h.value = on(s, i, z, l.value), requestAnimationFrame(() => {
4096
+ k.value.to !== z && e === O.scrollStart && (k.value = { from: k.value.from, to: z }, h.value = on(s, i, z, l.value));
4097
4097
  });
4098
4098
  }
4099
4099
  requestAnimationFrame(() => {
4100
4100
  if (e !== O.scrollStart) return;
4101
4101
  Y === !0 && C(T);
4102
- const le = i.slice(T, U).reduce(Jr, 0), ae = le + O.offsetStart + d.value, G = ae + i[U];
4102
+ const le = i.slice(T, U).reduce(Gr, 0), ae = le + O.offsetStart + d.value, G = ae + i[U];
4103
4103
  let ie = ae + W;
4104
4104
  if (H !== void 0) {
4105
4105
  const se = le - $, de = O.scrollStart + se;
@@ -4147,7 +4147,7 @@ function ho({
4147
4147
  H += i[T];
4148
4148
  s.push(H);
4149
4149
  }
4150
- r = -1, e = void 0, d.value = ln(s, i, 0, k.value.from), h.value = ln(s, i, k.value.to, l.value), R >= 0 ? (C(k.value.from), Et(() => {
4150
+ r = -1, e = void 0, d.value = on(s, i, 0, k.value.from), h.value = on(s, i, k.value.to, l.value), R >= 0 ? (C(k.value.from), Et(() => {
4151
4151
  L(R);
4152
4152
  })) : x();
4153
4153
  }
@@ -4246,7 +4246,7 @@ function ho({
4246
4246
  let A = !1;
4247
4247
  return jr(() => {
4248
4248
  A = !0;
4249
- }), gn(() => {
4249
+ }), mn(() => {
4250
4250
  if (A !== !0) return;
4251
4251
  const R = B();
4252
4252
  e !== void 0 && R !== void 0 && R !== null && R.nodeType !== 8 ? aa(
@@ -4476,7 +4476,7 @@ const bs = lt({
4476
4476
  const J = l[De];
4477
4477
  J !== void 0 && (oe[De] = J);
4478
4478
  }), oe;
4479
- }), W = ee(() => l.optionsDark === null ? R.isDark.value : l.optionsDark), Q = ee(() => pn(O.value)), F = ee(() => {
4479
+ }), W = ee(() => l.optionsDark === null ? R.isDark.value : l.optionsDark), Q = ee(() => hn(O.value)), F = ee(() => {
4480
4480
  let oe = "q-field__input q-placeholder col";
4481
4481
  return l.hideSelected === !0 || O.value.length === 0 ? [oe, l.inputClass] : (oe += " q-field__input--padding", l.inputClass === void 0 ? oe : [oe, l.inputClass]);
4482
4482
  }), H = ee(
@@ -5016,7 +5016,7 @@ const bs = lt({
5016
5016
  hasValue: Q,
5017
5017
  showPopup: Ae,
5018
5018
  floatingLabel: ee(
5019
- () => l.hideSelected !== !0 && Q.value === !0 || typeof n.value == "number" || n.value.length !== 0 || pn(l.displayValue)
5019
+ () => l.hideSelected !== !0 && Q.value === !0 || typeof n.value == "number" || n.value.length !== 0 || hn(l.displayValue)
5020
5020
  ),
5021
5021
  getControlChild: () => {
5022
5022
  if (R.editable.value !== !1 && (a.value === !0 || I.value !== !0 || B["no-option"] !== void 0))
@@ -5134,7 +5134,7 @@ const bs = lt({
5134
5134
  append: et(() => [
5135
5135
  st(Pt, {
5136
5136
  name: "arrow_drop_down",
5137
- class: $r(["cursor-pointer smooth-rotate", { "rotate-180": m.value }])
5137
+ class: Zr(["cursor-pointer smooth-rotate", { "rotate-180": m.value }])
5138
5138
  }, null, 8, ["class"])
5139
5139
  ]),
5140
5140
  default: et(() => [
@@ -5272,7 +5272,7 @@ const bs = lt({
5272
5272
  }), go = lt({
5273
5273
  name: "QAvatar",
5274
5274
  props: {
5275
- ...rn,
5275
+ ...tn,
5276
5276
  fontSize: String,
5277
5277
  color: String,
5278
5278
  textColor: String,
@@ -5281,7 +5281,7 @@ const bs = lt({
5281
5281
  rounded: Boolean
5282
5282
  },
5283
5283
  setup(l, { slots: B }) {
5284
- const t = nn(l), v = ee(
5284
+ const t = rn(l), v = ee(
5285
5285
  () => "q-avatar" + (l.color ? ` bg-${l.color}` : "") + (l.textColor ? ` text-${l.textColor} q-chip--colored` : "") + (l.square === !0 ? " q-avatar--square" : l.rounded === !0 ? " rounded-borders" : "")
5286
5286
  ), m = ee(() => l.fontSize ? { fontSize: l.fontSize } : null);
5287
5287
  return () => {
@@ -5335,7 +5335,7 @@ const bs = lt({
5335
5335
  },
5336
5336
  emits: ["reveal", "focusin"],
5337
5337
  setup(l, { slots: B, emit: t }) {
5338
- const { proxy: { $q: v } } = dt(), m = Sr(vn, Ht);
5338
+ const { proxy: { $q: v } } = dt(), m = Sr(bn, Ht);
5339
5339
  if (m === Ht)
5340
5340
  return console.error("QHeader needs to be child of QLayout"), Ht;
5341
5341
  const f = Se(parseInt(l.heightHint, 10)), a = Se(!0), o = ee(
@@ -5393,7 +5393,7 @@ const bs = lt({
5393
5393
  class: "q-layout__shadow absolute-full overflow-hidden no-pointer-events"
5394
5394
  })
5395
5395
  ), p.push(
5396
- ne(en, {
5396
+ ne($r, {
5397
5397
  debounce: 0,
5398
5398
  onResize: h
5399
5399
  })
@@ -5470,7 +5470,7 @@ const bs = lt({
5470
5470
  },
5471
5471
  emits: ["reveal", "focusin"],
5472
5472
  setup(l, { slots: B, emit: t }) {
5473
- const { proxy: { $q: v } } = dt(), m = Sr(vn, Ht);
5473
+ const { proxy: { $q: v } } = dt(), m = Sr(bn, Ht);
5474
5474
  if (m === Ht)
5475
5475
  return console.error("QFooter needs to be child of QLayout"), Ht;
5476
5476
  const f = Se(parseInt(l.heightHint, 10)), a = Se(!0), o = Se(
@@ -5527,7 +5527,7 @@ const bs = lt({
5527
5527
  m.instances.footer === k && (m.instances.footer = void 0, h("size", 0), h("offset", 0), h("space", !1));
5528
5528
  }), () => {
5529
5529
  const M = tr(B.default, [
5530
- ne(en, {
5530
+ ne($r, {
5531
5531
  debounce: 0,
5532
5532
  onResize: g
5533
5533
  })
@@ -5691,7 +5691,7 @@ const bs = lt({
5691
5691
  }), Xu = lt({
5692
5692
  name: "QPageContainer",
5693
5693
  setup(l, { slots: B }) {
5694
- const { proxy: { $q: t } } = dt(), v = Sr(vn, Ht);
5694
+ const { proxy: { $q: t } } = dt(), v = Sr(bn, Ht);
5695
5695
  if (v === Ht)
5696
5696
  return console.error("QPageContainer needs to be child of QLayout"), Ht;
5697
5697
  Qi(ao, !0);
@@ -5783,7 +5783,7 @@ const bs = lt({
5783
5783
  S[k][M] = j;
5784
5784
  }
5785
5785
  };
5786
- if (Qi(vn, S), zn() > 0) {
5786
+ if (Qi(bn, S), zn() > 0) {
5787
5787
  let k = function() {
5788
5788
  q = null, P.classList.remove("hide-scrollbar");
5789
5789
  }, M = function() {
@@ -5807,7 +5807,7 @@ const bs = lt({
5807
5807
  return () => {
5808
5808
  const k = tr(B.default, [
5809
5809
  ne(Qa, { onScroll: d }),
5810
- ne(en, { onResize: h })
5810
+ ne($r, { onResize: h })
5811
5811
  ]), M = ne("div", {
5812
5812
  class: r.value,
5813
5813
  style: u.value,
@@ -5818,7 +5818,7 @@ const bs = lt({
5818
5818
  class: "q-layout-container overflow-hidden",
5819
5819
  ref: m
5820
5820
  }, [
5821
- ne(en, { onResize: c }),
5821
+ ne($r, { onResize: c }),
5822
5822
  ne("div", {
5823
5823
  class: "absolute-full",
5824
5824
  style: s.value
@@ -5836,18 +5836,20 @@ const bs = lt({
5836
5836
  __name: "Layout",
5837
5837
  props: {
5838
5838
  view: { default: "HHh Lpr Fff" },
5839
- layoutClass: { default: "bg-dark" },
5839
+ layoutClass: { default: "bg-white" },
5840
5840
  pageContainerClass: { default: "" }
5841
5841
  },
5842
5842
  setup(l) {
5843
5843
  return (B, t) => (Ze(), _t(Gu, {
5844
5844
  view: B.view,
5845
- class: $r(B.layoutClass)
5845
+ class: Zr(B.layoutClass),
5846
+ style: { minHeight: "auto !important" }
5846
5847
  }, {
5847
5848
  default: et(() => [
5848
5849
  Tr(B.$slots, "header"),
5849
5850
  st(Xu, {
5850
- class: $r(B.pageContainerClass)
5851
+ class: Zr(B.pageContainerClass),
5852
+ style: { paddingBottom: "0 !important" }
5851
5853
  }, {
5852
5854
  default: et(() => [
5853
5855
  Tr(B.$slots, "default")
@@ -6463,7 +6465,7 @@ function Sc(l) {
6463
6465
  B = Math.min(B, new Date(t));
6464
6466
  }), B;
6465
6467
  }
6466
- function Bn(l, B, t) {
6468
+ function In(l, B, t) {
6467
6469
  return (l.getTime() - l.getTimezoneOffset() * Ui - (B.getTime() - B.getTimezoneOffset() * Ui)) / t;
6468
6470
  }
6469
6471
  function ws(l, B, t = "days") {
@@ -6478,16 +6480,16 @@ function ws(l, B, t = "days") {
6478
6480
  case "days":
6479
6481
  case "day":
6480
6482
  case "date":
6481
- return Bn(cr(v, "day"), cr(m, "day"), So);
6483
+ return In(cr(v, "day"), cr(m, "day"), So);
6482
6484
  case "hours":
6483
6485
  case "hour":
6484
- return Bn(cr(v, "hour"), cr(m, "hour"), ac);
6486
+ return In(cr(v, "hour"), cr(m, "hour"), ac);
6485
6487
  case "minutes":
6486
6488
  case "minute":
6487
- return Bn(cr(v, "minute"), cr(m, "minute"), Ui);
6489
+ return In(cr(v, "minute"), cr(m, "minute"), Ui);
6488
6490
  case "seconds":
6489
6491
  case "second":
6490
- return Bn(cr(v, "second"), cr(m, "second"), 1e3);
6492
+ return In(cr(v, "second"), cr(m, "second"), 1e3);
6491
6493
  }
6492
6494
  }
6493
6495
  function Wn(l) {
@@ -7958,7 +7960,7 @@ function Ic(l, B) {
7958
7960
  return t();
7959
7961
  });
7960
7962
  }
7961
- const mn = lt({
7963
+ const pn = lt({
7962
7964
  name: "QInput",
7963
7965
  inheritAttrs: !1,
7964
7966
  props: {
@@ -7998,7 +8000,7 @@ const mn = lt({
7998
8000
  onMaskedClick: p
7999
8001
  } = Oc(l, B, b, u), S = Ic(
8000
8002
  l
8001
- ), k = ee(() => pn(i.value)), M = po(E), j = ms({ changeEvent: !0 }), q = ee(
8003
+ ), k = ee(() => hn(i.value)), M = po(E), j = ms({ changeEvent: !0 }), q = ee(
8002
8004
  () => l.type === "textarea" || l.autogrow === !0
8003
8005
  ), P = ee(
8004
8006
  () => q.value === !0 || ["text", "search", "url", "tel", "password"].includes(l.type)
@@ -8046,7 +8048,7 @@ const mn = lt({
8046
8048
  l.autogrow === !0 && Et(y);
8047
8049
  });
8048
8050
  function V() {
8049
- bn(() => {
8051
+ gn(() => {
8050
8052
  const O = document.activeElement;
8051
8053
  u.value !== null && u.value !== O && (O === null || O.id !== j.targetUid.value) && u.value.focus({ preventScroll: !0 });
8052
8054
  });
@@ -8128,7 +8130,7 @@ const mn = lt({
8128
8130
  emitValue: b,
8129
8131
  hasValue: k,
8130
8132
  floatingLabel: ee(
8131
- () => k.value === !0 && (l.type !== "number" || isNaN(i.value) === !1) || pn(l.displayValue)
8133
+ () => k.value === !0 && (l.type !== "number" || isNaN(i.value) === !1) || hn(l.displayValue)
8132
8134
  ),
8133
8135
  getControl: () => ne(q.value === !0 ? "textarea" : "input", {
8134
8136
  ref: u,
@@ -8219,7 +8221,7 @@ function ad(l) {
8219
8221
  const B = l.getTimezoneOffset() * 6e4;
8220
8222
  return new Date(l.getTime() + B);
8221
8223
  }
8222
- function Xr(l) {
8224
+ function Bn(l) {
8223
8225
  const B = /^\d{4}-\d{2}-\d{2}$/, t = /^\d{2}-\d{2}-\d{4}$/;
8224
8226
  if (B.test(l)) return l;
8225
8227
  if (t.test(l)) {
@@ -8229,19 +8231,19 @@ function Xr(l) {
8229
8231
  return console.warn("'Invalid date format. Expected DD-MM-YYYY' or 'YYYY-MM-DD' but got: " + l), "";
8230
8232
  }
8231
8233
  function Bo(l, B, t, v = []) {
8232
- const m = typeof l == "string" ? new Date(Xr(l)) : new Date(l);
8234
+ const m = typeof l == "string" ? new Date(Bn(l)) : new Date(l);
8233
8235
  if (isNaN(m.getTime())) return !1;
8234
8236
  if (B) {
8235
- const f = typeof B == "string" ? new Date(Xr(B)) : new Date(B);
8237
+ const f = typeof B == "string" ? new Date(Bn(B)) : new Date(B);
8236
8238
  if (m < f) return !1;
8237
8239
  }
8238
8240
  if (t) {
8239
- const f = typeof t == "string" ? new Date(Xr(t)) : new Date(t);
8241
+ const f = typeof t == "string" ? new Date(Bn(t)) : new Date(t);
8240
8242
  if (m > f) return !1;
8241
8243
  }
8242
8244
  return !v.some((f) => {
8243
8245
  if (typeof f == "string") {
8244
- const a = new Date(Xr(f));
8246
+ const a = new Date(Bn(f));
8245
8247
  return m.getFullYear() === a.getFullYear() && m.getMonth() === a.getMonth() && m.getDate() === a.getDate();
8246
8248
  } else {
8247
8249
  if (f instanceof Date)
@@ -8257,13 +8259,10 @@ function Bo(l, B, t, v = []) {
8257
8259
  }
8258
8260
  const Hr = {
8259
8261
  validateAndUpdate(l, B, t) {
8260
- if (!Bc.test(B)) return l;
8261
- if (t && !l.to)
8262
- return { ...l, from: B };
8263
- if (!t && !l.from)
8264
- return { ...l, to: B };
8265
- const v = new Date(Xr(B)), m = new Date(Xr(t ? l.to : l.from));
8266
- return t ? v > m ? l : { ...l, from: B } : v < m ? l : { ...l, to: B };
8262
+ return Bc.test(B) ? {
8263
+ ...l,
8264
+ [t ? "from" : "to"]: B
8265
+ } : l;
8267
8266
  },
8268
8267
  handlePickerUpdate(l) {
8269
8268
  return l === null ? { from: "", to: "" } : typeof l == "string" ? { from: l, to: l } : l;
@@ -8339,7 +8338,7 @@ const Hr = {
8339
8338
  r !== f.value && (f.value = r, a.value = r);
8340
8339
  }
8341
8340
  ), (r, u) => (Ze(), Ct("div", Fc, [
8342
- st(mn, ar(It(m), {
8341
+ st(pn, ar(It(m), {
8343
8342
  class: "full-width",
8344
8343
  "model-value": a.value,
8345
8344
  mask: "##-##-####",
@@ -8374,7 +8373,7 @@ const Hr = {
8374
8373
  }, {
8375
8374
  default: et(() => [
8376
8375
  ot("div", Pc, [
8377
- Zr(st(Bt, {
8376
+ Jr(st(Bt, {
8378
8377
  label: r.closeLabel,
8379
8378
  color: "primary",
8380
8379
  flat: ""
@@ -8464,7 +8463,7 @@ const Hr = {
8464
8463
  resetDate: i
8465
8464
  }), (d, h) => (Ze(), Ct("div", Lc, [
8466
8465
  ot("div", Nc, [
8467
- st(mn, ar(d.$attrs, {
8466
+ st(pn, ar(d.$attrs, {
8468
8467
  "data-cy": a.value,
8469
8468
  "model-value": f.value.from,
8470
8469
  mask: "##-##-####",
@@ -8474,7 +8473,7 @@ const Hr = {
8474
8473
  "hide-bottom-space": "",
8475
8474
  "onUpdate:modelValue": r
8476
8475
  }), null, 16, ["data-cy", "model-value", "label", "rules", "disable"]),
8477
- st(mn, ar(d.$attrs, {
8476
+ st(pn, ar(d.$attrs, {
8478
8477
  "model-value": f.value.to,
8479
8478
  mask: "##-##-####",
8480
8479
  label: d.labelEnd,
@@ -8517,7 +8516,7 @@ const Hr = {
8517
8516
  }, {
8518
8517
  default: et(() => [
8519
8518
  ot("div", qc, [
8520
- Zr(st(Bt, {
8519
+ Jr(st(Bt, {
8521
8520
  label: d.closeLabel,
8522
8521
  color: "primary",
8523
8522
  flat: ""
@@ -8702,7 +8701,7 @@ const Hr = {
8702
8701
  props: {
8703
8702
  ...Xa,
8704
8703
  ...as,
8705
- ...fn,
8704
+ ...cn,
8706
8705
  maxHeight: {
8707
8706
  type: String,
8708
8707
  default: null
@@ -8712,11 +8711,11 @@ const Hr = {
8712
8711
  default: null
8713
8712
  },
8714
8713
  transitionShow: {
8715
- ...fn.transitionShow,
8714
+ ...cn.transitionShow,
8716
8715
  default: "jump-down"
8717
8716
  },
8718
8717
  transitionHide: {
8719
- ...fn.transitionHide,
8718
+ ...cn.transitionHide,
8720
8719
  default: "jump-up"
8721
8720
  },
8722
8721
  anchor: {
@@ -8964,7 +8963,7 @@ const Qc = {
8964
8963
  o();
8965
8964
  }), Qt(() => {
8966
8965
  h();
8967
- }), gn(() => {
8966
+ }), mn(() => {
8968
8967
  h();
8969
8968
  }), jr(() => {
8970
8969
  c();
@@ -9002,7 +9001,7 @@ const Jc = lt({
9002
9001
  name: "QLinearProgress",
9003
9002
  props: {
9004
9003
  ...Xt,
9005
- ...rn,
9004
+ ...tn,
9006
9005
  value: {
9007
9006
  type: Number,
9008
9007
  default: 0
@@ -9022,7 +9021,7 @@ const Jc = lt({
9022
9021
  instantFeedback: Boolean
9023
9022
  },
9024
9023
  setup(l, { slots: B }) {
9025
- const { proxy: t } = dt(), v = Gt(l, t.$q), m = nn(l, Gc), f = ee(() => l.indeterminate === !0 || l.query === !0), a = ee(() => l.reverse !== l.query), o = ee(() => ({
9024
+ const { proxy: t } = dt(), v = Gt(l, t.$q), m = rn(l, Gc), f = ee(() => l.indeterminate === !0 || l.query === !0), a = ee(() => l.reverse !== l.query), o = ee(() => ({
9026
9025
  ...m.value !== null ? m.value : {},
9027
9026
  "--q-linear-progress-speed": `${l.animationSpeed}ms`
9028
9027
  })), n = ee(
@@ -9061,7 +9060,7 @@ const Jc = lt({
9061
9060
  };
9062
9061
  }
9063
9062
  });
9064
- let un = 0;
9063
+ let ln = 0;
9065
9064
  const Zc = {
9066
9065
  fullscreen: Boolean,
9067
9066
  noRouteFullscreenExit: Boolean
@@ -9081,10 +9080,10 @@ function ef() {
9081
9080
  a.value === !0 ? e() : n();
9082
9081
  }
9083
9082
  function n() {
9084
- a.value !== !0 && (a.value = !0, f = v.$el.parentNode, f.replaceChild(m, v.$el), document.body.appendChild(v.$el), un++, un === 1 && document.body.classList.add("q-body--fullscreen-mixin"));
9083
+ a.value !== !0 && (a.value = !0, f = v.$el.parentNode, f.replaceChild(m, v.$el), document.body.appendChild(v.$el), ln++, ln === 1 && document.body.classList.add("q-body--fullscreen-mixin"));
9085
9084
  }
9086
9085
  function e() {
9087
- a.value === !0 && (f.replaceChild(v.$el, m), a.value = !1, un = Math.max(0, un - 1), un === 0 && (document.body.classList.remove("q-body--fullscreen-mixin"), v.$el.scrollIntoView !== void 0 && setTimeout(() => {
9086
+ a.value === !0 && (f.replaceChild(v.$el, m), a.value = !1, ln = Math.max(0, ln - 1), ln === 0 && (document.body.classList.remove("q-body--fullscreen-mixin"), v.$el.scrollIntoView !== void 0 && setTimeout(() => {
9088
9087
  v.$el.scrollIntoView();
9089
9088
  })));
9090
9089
  }
@@ -10171,13 +10170,13 @@ const xf = {
10171
10170
  props: P
10172
10171
  }, {
10173
10172
  default: et(() => [
10174
- An(Vt(D.label), 1)
10173
+ Cn(Vt(D.label), 1)
10175
10174
  ]),
10176
10175
  _: 2
10177
10176
  }, 1032, ["props"]))), 128)),
10178
10177
  u.value ? (Ze(), _t(Hn, { key: 1 }, {
10179
10178
  default: et(() => q[1] || (q[1] = [
10180
- An("Actions")
10179
+ Cn("Actions")
10181
10180
  ])),
10182
10181
  _: 1,
10183
10182
  __: [1]
@@ -10211,7 +10210,7 @@ const xf = {
10211
10210
  key: 1,
10212
10211
  "data-cy": `row-${P.row[j.rowKey]}`,
10213
10212
  props: P,
10214
- class: $r({ "bg-grey-3": P.row.archived }),
10213
+ class: Zr({ "bg-grey-3": P.row.archived }),
10215
10214
  onDblclick: (D) => c(P.row)
10216
10215
  }, {
10217
10216
  default: et(() => [
@@ -10269,7 +10268,7 @@ const xf = {
10269
10268
  default: et(() => [
10270
10269
  L.label ? (Ze(), _t(va, { key: 0 }, {
10271
10270
  default: et(() => [
10272
- An(Vt(L.label), 1)
10271
+ Cn(Vt(L.label), 1)
10273
10272
  ]),
10274
10273
  _: 2
10275
10274
  }, 1024)) : nr("", !0)
@@ -10310,7 +10309,7 @@ const xf = {
10310
10309
  default: et(() => [
10311
10310
  D.label ? (Ze(), _t(va, { key: 0 }, {
10312
10311
  default: et(() => [
10313
- An(Vt(D.label), 1)
10312
+ Cn(Vt(D.label), 1)
10314
10313
  ]),
10315
10314
  _: 2
10316
10315
  }, 1024)) : nr("", !0)
@@ -28567,7 +28566,7 @@ function Af() {
28567
28566
  var yt = Ie(ke), wt = Ie(Be), St = "[object Array]", Ot = "[object Array]";
28568
28567
  yt || (St = (St = Oe(ke)) == a ? n : St), wt || (Ot = (Ot = Oe(Be)) == a ? n : Ot);
28569
28568
  var Nt = St == n && !N(ke), Wt = Ot == n && !N(Be), or = St == Ot;
28570
- if (or && !Nt) return $e || ($e = new Ve()), yt || Ft(ke) ? pt(ke, Be, mt, ft, ht, $e) : function(xt, bt, pr, Ar, yn, Jt, fr) {
28569
+ if (or && !Nt) return $e || ($e = new Ve()), yt || Ft(ke) ? pt(ke, Be, mt, ft, ht, $e) : function(xt, bt, pr, Ar, vn, Jt, fr) {
28571
28570
  switch (pr) {
28572
28571
  case "[object DataView]":
28573
28572
  if (xt.byteLength != bt.byteLength || xt.byteOffset != bt.byteOffset) return !1;
@@ -28586,12 +28585,12 @@ function Af() {
28586
28585
  case o:
28587
28586
  var mr = C;
28588
28587
  case e:
28589
- var sn = 2 & Jt;
28590
- if (mr || (mr = E), xt.size != bt.size && !sn) return !1;
28591
- var wn = fr.get(xt);
28592
- if (wn) return wn == bt;
28588
+ var nn = 2 & Jt;
28589
+ if (mr || (mr = E), xt.size != bt.size && !nn) return !1;
28590
+ var yn = fr.get(xt);
28591
+ if (yn) return yn == bt;
28593
28592
  Jt |= 1, fr.set(xt, bt);
28594
- var Lr = pt(mr(xt), mr(bt), Ar, yn, Jt, fr);
28593
+ var Lr = pt(mr(xt), mr(bt), Ar, vn, Jt, fr);
28595
28594
  return fr.delete(xt), Lr;
28596
28595
  case "[object Symbol]":
28597
28596
  if (ve) return ve.call(xt) == ve.call(bt);
@@ -28605,32 +28604,32 @@ function Af() {
28605
28604
  return $e || ($e = new Ve()), mt(Pr, Dr, ft, ht, $e);
28606
28605
  }
28607
28606
  }
28608
- return or ? ($e || ($e = new Ve()), function(xt, bt, pr, Ar, yn, Jt) {
28609
- var fr = 2 & yn, mr = oe(xt), sn = mr.length, wn = oe(bt).length;
28610
- if (sn != wn && !fr) return !1;
28611
- for (var Lr = sn; Lr--; ) {
28607
+ return or ? ($e || ($e = new Ve()), function(xt, bt, pr, Ar, vn, Jt) {
28608
+ var fr = 2 & vn, mr = oe(xt), nn = mr.length, yn = oe(bt).length;
28609
+ if (nn != yn && !fr) return !1;
28610
+ for (var Lr = nn; Lr--; ) {
28612
28611
  var gr = mr[Lr];
28613
28612
  if (!(fr ? gr in bt : W.call(bt, gr))) return !1;
28614
28613
  }
28615
28614
  var Ss = Jt.get(xt);
28616
28615
  if (Ss && Jt.get(bt)) return Ss == bt;
28617
- var xn = !0;
28616
+ var wn = !0;
28618
28617
  Jt.set(xt, bt), Jt.set(bt, xt);
28619
- for (var li = fr; ++Lr < sn; ) {
28618
+ for (var li = fr; ++Lr < nn; ) {
28620
28619
  gr = mr[Lr];
28621
- var Sn = xt[gr], _n = bt[gr];
28622
- if (Ar) var _s = fr ? Ar(_n, Sn, gr, bt, xt, Jt) : Ar(Sn, _n, gr, xt, bt, Jt);
28623
- if (!(_s === void 0 ? Sn === _n || pr(Sn, _n, Ar, yn, Jt) : _s)) {
28624
- xn = !1;
28620
+ var xn = xt[gr], Sn = bt[gr];
28621
+ if (Ar) var _s = fr ? Ar(Sn, xn, gr, bt, xt, Jt) : Ar(xn, Sn, gr, xt, bt, Jt);
28622
+ if (!(_s === void 0 ? xn === Sn || pr(xn, Sn, Ar, vn, Jt) : _s)) {
28623
+ wn = !1;
28625
28624
  break;
28626
28625
  }
28627
28626
  li || (li = gr == "constructor");
28628
28627
  }
28629
- if (xn && !li) {
28630
- var kn = xt.constructor, Cn = bt.constructor;
28631
- kn == Cn || !("constructor" in xt) || !("constructor" in bt) || typeof kn == "function" && kn instanceof kn && typeof Cn == "function" && Cn instanceof Cn || (xn = !1);
28628
+ if (wn && !li) {
28629
+ var _n = xt.constructor, kn = bt.constructor;
28630
+ _n == kn || !("constructor" in xt) || !("constructor" in bt) || typeof _n == "function" && _n instanceof _n && typeof kn == "function" && kn instanceof kn || (wn = !1);
28632
28631
  }
28633
- return Jt.delete(xt), Jt.delete(bt), xn;
28632
+ return Jt.delete(xt), Jt.delete(bt), wn;
28634
28633
  }(ke, Be, mt, ft, ht, $e)) : !1;
28635
28634
  }(J, ce, it, ye, we, Ne));
28636
28635
  }
@@ -33489,7 +33488,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
33489
33488
  });
33490
33489
  }
33491
33490
  function u() {
33492
- bn(() => {
33491
+ gn(() => {
33493
33492
  if (m.value === null) return;
33494
33493
  (m.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || m.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || m.value.querySelector("[autofocus], [data-autofocus]") || Array.prototype.find.call(m.value.querySelectorAll("[tabindex]"), (d) => d.tabIndex !== -1))?.focus({ preventScroll: !0 });
33495
33494
  });
@@ -33506,7 +33505,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
33506
33505
  let s = !1;
33507
33506
  return jr(() => {
33508
33507
  s = !0;
33509
- }), gn(() => {
33508
+ }), mn(() => {
33510
33509
  s === !0 && l.autofocus === !0 && u();
33511
33510
  }), Qt(() => {
33512
33511
  l.autofocus === !0 && u();
@@ -33531,7 +33530,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
33531
33530
  styleFn: Function
33532
33531
  },
33533
33532
  setup(l, { slots: B }) {
33534
- const { proxy: { $q: t } } = dt(), v = Sr(vn, Ht);
33533
+ const { proxy: { $q: t } } = dt(), v = Sr(bn, Ht);
33535
33534
  if (v === Ht)
33536
33535
  return console.error("QPage needs to be a deep child of QLayout"), Ht;
33537
33536
  if (Sr(ao, Ht) === Ht)
@@ -33655,7 +33654,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
33655
33654
  }, {
33656
33655
  default: et(() => [
33657
33656
  ot("div", Lf, [
33658
- st(mn, {
33657
+ st(pn, {
33659
33658
  modelValue: a.value.username,
33660
33659
  "onUpdate:modelValue": e[0] || (e[0] = (r) => a.value.username = r),
33661
33660
  label: "Identifiant",
@@ -33674,7 +33673,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
33674
33673
  }, 8, ["modelValue", "rules"])
33675
33674
  ]),
33676
33675
  ot("div", Nf, [
33677
- st(mn, {
33676
+ st(pn, {
33678
33677
  modelValue: a.value.password,
33679
33678
  "onUpdate:modelValue": e[1] || (e[1] = (r) => a.value.password = r),
33680
33679
  type: "password",
@@ -33806,7 +33805,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
33806
33805
  ot("div", Qf, [
33807
33806
  (Ze(!0), Ct(Kt, null, ir(n.projects, (r, u) => (Ze(), _t(Ka, {
33808
33807
  key: u,
33809
- class: $r(["project-card", { "q-card--disabled": o(r) }]),
33808
+ class: Zr(["project-card", { "q-card--disabled": o(r) }]),
33810
33809
  style: Zt({
33811
33810
  background: n.cardBackground,
33812
33811
  "border-color": n.cardBorderColor
@@ -33872,7 +33871,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
33872
33871
  "--animation-speed": `${B.speed}s`
33873
33872
  }));
33874
33873
  return (v, m) => (Ze(), Ct("div", {
33875
- class: $r(["selfee-loader", [v.size, v.variant]]),
33874
+ class: Zr(["selfee-loader", [v.size, v.variant]]),
33876
33875
  style: Zt(t.value)
33877
33876
  }, [
33878
33877
  ot("img", {
@@ -33905,7 +33904,7 @@ export {
33905
33904
  Hr as dateRangeUtils,
33906
33905
  ad as dateWithoutTimezone,
33907
33906
  jc as defaultLocale,
33908
- Xr as formatDate,
33907
+ Bn as formatDate,
33909
33908
  Bo as isDateSelectable
33910
33909
  };
33911
33910
  //# sourceMappingURL=shared-components.es.js.map