@quickflo/quickforms-quasar 1.16.28 → 1.16.29

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
@@ -505,15 +505,15 @@ function My(i, e) {
505
505
  } : () => {
506
506
  }, x = (P, T) => {
507
507
  P === !0 && v(), r.value = P, o.value = T || null, e.value = !1;
508
- }, C = [];
508
+ }, S = [];
509
509
  for (let P = 0; P < t.rules.length; P++) {
510
510
  const T = t.rules[P];
511
511
  let N;
512
512
  if (typeof T == "function" ? N = T(y, da) : typeof T == "string" && da[T] !== void 0 && (N = da[T](y)), N === !1 || typeof N == "string")
513
513
  return x(!0, N), !1;
514
- N !== !0 && N !== void 0 && C.push(N);
514
+ N !== !0 && N !== void 0 && S.push(N);
515
515
  }
516
- return C.length === 0 ? (x(!1), !0) : (e.value = !0, Promise.all(C).then(
516
+ return S.length === 0 ? (x(!1), !0) : (e.value = !0, Promise.all(S).then(
517
517
  (P) => {
518
518
  if (P === void 0 || Array.isArray(P) === !1 || P.length === 0)
519
519
  return k === l && x(!1), !0;
@@ -747,7 +747,7 @@ function mc(i) {
747
747
  floatingLabel: d.value,
748
748
  modelValue: e.modelValue,
749
749
  emitValue: i.emitValue
750
- })), C = b(() => {
750
+ })), S = b(() => {
751
751
  const q = {};
752
752
  return i.targetUid.value && (q.for = i.targetUid.value), e.disable === !0 && (q["aria-disabled"] = "true"), q;
753
753
  });
@@ -893,8 +893,8 @@ function mc(i) {
893
893
  const z = i.getControl === void 0 && n.control === void 0 ? {
894
894
  ...i.splitAttrs.attributes.value,
895
895
  "data-autofocus": e.autofocus === !0 || void 0,
896
- ...C.value
897
- } : C.value;
896
+ ...S.value
897
+ } : S.value;
898
898
  return A(i.tag.value, {
899
899
  ref: i.rootRef,
900
900
  class: [
@@ -1155,7 +1155,7 @@ function Ry(i, e, t, n) {
1155
1155
  function x(R) {
1156
1156
  e("click", R), u = void 0;
1157
1157
  }
1158
- function C(R) {
1158
+ function S(R) {
1159
1159
  if (e("keydown", R), Nl(R) === !0 || R.altKey === !0) return;
1160
1160
  const D = n.value, E = D.selectionStart, O = D.selectionEnd;
1161
1161
  if (R.shiftKey || (u = void 0), R.keyCode === 37 || R.keyCode === 39) {
@@ -1213,7 +1213,7 @@ function Ry(i, e, t, n) {
1213
1213
  hasMask: h,
1214
1214
  moveCursorForPaste: k,
1215
1215
  updateMaskValue: y,
1216
- onMaskedKeydown: C,
1216
+ onMaskedKeydown: S,
1217
1217
  onMaskedClick: x
1218
1218
  };
1219
1219
  }
@@ -1310,7 +1310,7 @@ const cr = Je({
1310
1310
  onMaskedClick: k
1311
1311
  } = Ry(i, e, Y, h), v = Ey(
1312
1312
  i
1313
- ), x = b(() => Co(d.value)), C = _m(_), P = dc({ changeEvent: !0 }), T = b(
1313
+ ), x = b(() => Co(d.value)), S = _m(_), P = dc({ changeEvent: !0 }), T = b(
1314
1314
  () => i.type === "textarea" || i.autogrow === !0
1315
1315
  ), N = b(
1316
1316
  () => T.value === !0 || ["text", "search", "url", "tel", "password"].includes(i.type)
@@ -1327,7 +1327,7 @@ const cr = Je({
1327
1327
  onBlur: z,
1328
1328
  onFocus: di
1329
1329
  };
1330
- return w.onCompositionstart = w.onCompositionupdate = w.onCompositionend = C, m.value === !0 && (w.onKeydown = y, w.onClick = k), i.autogrow === !0 && (w.onAnimationend = F), w;
1330
+ return w.onCompositionstart = w.onCompositionupdate = w.onCompositionend = S, m.value === !0 && (w.onKeydown = y, w.onClick = k), i.autogrow === !0 && (w.onAnimationend = F), w;
1331
1331
  }), R = b(() => {
1332
1332
  const w = {
1333
1333
  tabindex: 0,
@@ -1415,7 +1415,7 @@ const cr = Je({
1415
1415
  });
1416
1416
  }
1417
1417
  function q(w) {
1418
- C(w), u !== null && (clearTimeout(u), u = null), c == null || c(), e("change", w.target.value);
1418
+ S(w), u !== null && (clearTimeout(u), u = null), c == null || c(), e("change", w.target.value);
1419
1419
  }
1420
1420
  function z(w) {
1421
1421
  w !== void 0 && di(w), u !== null && (clearTimeout(u), u = null), c == null || c(), l = !1, a = !1, delete o.value, i.type !== "file" && setTimeout(() => {
@@ -1810,7 +1810,7 @@ function Xy(i, e) {
1810
1810
  name: t.name,
1811
1811
  value: f.value === !0 ? t.val : t.trueValue
1812
1812
  }), E;
1813
- }), C = gc(x), P = b(() => {
1813
+ }), S = gc(x), P = b(() => {
1814
1814
  const E = {
1815
1815
  tabindex: y.value,
1816
1816
  role: "checkbox",
@@ -1849,7 +1849,7 @@ function Xy(i, e) {
1849
1849
  const D = e(m, g);
1850
1850
  return Object.assign(o, { toggle: T }), () => {
1851
1851
  const E = D();
1852
- t.disable !== !0 && C(
1852
+ t.disable !== !0 && S(
1853
1853
  E,
1854
1854
  "unshift",
1855
1855
  ` q-${i}__native absolute q-ma-none q-pa-none`
@@ -2325,7 +2325,7 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2325
2325
  } : {}), m = b(() => {
2326
2326
  if (c.value === !1)
2327
2327
  return -1;
2328
- const { matched: C } = u.value, { length: P } = C, T = C[P - 1];
2328
+ const { matched: S } = u.value, { length: P } = S, T = S[P - 1];
2329
2329
  if (T === void 0)
2330
2330
  return -1;
2331
2331
  const N = r.$route.matched;
@@ -2336,11 +2336,11 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2336
2336
  );
2337
2337
  if (V !== -1)
2338
2338
  return V;
2339
- const R = Dh(C[P - 2]);
2339
+ const R = Dh(S[P - 2]);
2340
2340
  return (
2341
2341
  // we are dealing with nested routes
2342
2342
  P > 1 && Dh(T) === R && N[N.length - 1].path !== R ? N.findIndex(
2343
- qh.bind(null, C[P - 2])
2343
+ qh.bind(null, S[P - 2])
2344
2344
  ) : V
2345
2345
  );
2346
2346
  }), p = b(
@@ -2348,34 +2348,34 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2348
2348
  ), g = b(
2349
2349
  () => p.value === !0 && m.value === r.$route.matched.length - 1 && hb(r.$route.params, u.value.params)
2350
2350
  ), y = b(() => c.value === !0 ? g.value === !0 ? ` ${n.exactActiveClass} ${n.activeClass}` : n.exact === !0 ? "" : p.value === !0 ? ` ${n.activeClass}` : "" : "");
2351
- function k(C) {
2351
+ function k(S) {
2352
2352
  try {
2353
- return r.$router.resolve(C);
2353
+ return r.$router.resolve(S);
2354
2354
  } catch {
2355
2355
  }
2356
2356
  return null;
2357
2357
  }
2358
- function v(C, { returnRouterError: P, to: T = n.to, replace: N = n.replace } = {}) {
2358
+ function v(S, { returnRouterError: P, to: T = n.to, replace: N = n.replace } = {}) {
2359
2359
  if (n.disable === !0)
2360
- return C.preventDefault(), Promise.resolve(!1);
2360
+ return S.preventDefault(), Promise.resolve(!1);
2361
2361
  if (
2362
2362
  // don't redirect with control keys;
2363
2363
  // should match RouterLink from Vue Router
2364
- C.metaKey || C.altKey || C.ctrlKey || C.shiftKey || C.button !== void 0 && C.button !== 0 || n.target === "_blank"
2364
+ S.metaKey || S.altKey || S.ctrlKey || S.shiftKey || S.button !== void 0 && S.button !== 0 || n.target === "_blank"
2365
2365
  )
2366
2366
  return Promise.resolve(!1);
2367
- C.preventDefault();
2367
+ S.preventDefault();
2368
2368
  const V = r.$router[N === !0 ? "replace" : "push"](T);
2369
2369
  return P === !0 ? V : V.then(() => {
2370
2370
  }).catch(() => {
2371
2371
  });
2372
2372
  }
2373
- function x(C) {
2373
+ function x(S) {
2374
2374
  if (c.value === !0) {
2375
- const P = (T) => v(C, T);
2376
- o("click", C, P), C.defaultPrevented !== !0 && P();
2375
+ const P = (T) => v(S, T);
2376
+ o("click", S, P), S.defaultPrevented !== !0 && P();
2377
2377
  } else
2378
- o("click", C);
2378
+ o("click", S);
2379
2379
  }
2380
2380
  return {
2381
2381
  hasRouterLink: c,
@@ -3046,29 +3046,29 @@ function wc(i, e = 0) {
3046
3046
  let v = { maxWidth: h, maxHeight: c };
3047
3047
  (a === !0 || u === !0) && (v.minWidth = m.width + "px", u === !0 && (v.minHeight = m.height + "px")), Object.assign(t.style, v);
3048
3048
  const x = qb(y, k);
3049
- let C = Eh(m, x, o, s);
3049
+ let S = Eh(m, x, o, s);
3050
3050
  if (l === void 0 || n === void 0)
3051
- ga(C, m, x, o, s);
3051
+ ga(S, m, x, o, s);
3052
3052
  else {
3053
- const { top: P, left: T } = C;
3054
- ga(C, m, x, o, s);
3053
+ const { top: P, left: T } = S;
3054
+ ga(S, m, x, o, s);
3055
3055
  let N = !1;
3056
- if (C.top !== P) {
3056
+ if (S.top !== P) {
3057
3057
  N = !0;
3058
3058
  const V = 2 * n[1];
3059
3059
  m.center = m.top -= V, m.bottom -= V + 2;
3060
3060
  }
3061
- if (C.left !== T) {
3061
+ if (S.left !== T) {
3062
3062
  N = !0;
3063
3063
  const V = 2 * n[0];
3064
3064
  m.middle = m.left -= V, m.right -= V + 2;
3065
3065
  }
3066
- N === !0 && (C = Eh(m, x, o, s), ga(C, m, x, o, s));
3066
+ N === !0 && (S = Eh(m, x, o, s), ga(S, m, x, o, s));
3067
3067
  }
3068
3068
  v = {
3069
- top: C.top + "px",
3070
- left: C.left + "px"
3071
- }, C.maxHeight !== void 0 && (v.maxHeight = C.maxHeight + "px", m.height > C.maxHeight && (v.minHeight = v.maxHeight)), C.maxWidth !== void 0 && (v.maxWidth = C.maxWidth + "px", m.width > C.maxWidth && (v.minWidth = v.maxWidth)), Object.assign(t.style, v), t.scrollTop !== d && (t.scrollTop = d), t.scrollLeft !== f && (t.scrollLeft = f);
3069
+ top: S.top + "px",
3070
+ left: S.left + "px"
3071
+ }, S.maxHeight !== void 0 && (v.maxHeight = S.maxHeight + "px", m.height > S.maxHeight && (v.minHeight = v.maxHeight)), S.maxWidth !== void 0 && (v.maxWidth = S.maxWidth + "px", m.width > S.maxWidth && (v.minWidth = v.maxWidth)), Object.assign(t.style, v), t.scrollTop !== d && (t.scrollTop = d), t.scrollLeft !== f && (t.scrollLeft = f);
3072
3072
  }
3073
3073
  function ga(i, e, t, n, r) {
3074
3074
  const o = t.bottom, s = t.right, l = Sb(), a = window.innerHeight - l, u = document.body.clientWidth;
@@ -3151,7 +3151,7 @@ const $m = Je({
3151
3151
  let r = null, o, s, l;
3152
3152
  const a = je(), { proxy: u } = a, { $q: c } = u, h = J(null), f = J(!1), d = b(
3153
3153
  () => i.persistent !== !0 && i.noRouteDismiss !== !0
3154
- ), m = Zi(i, c), { registerTick: p, removeTick: g } = Tr(), { registerTimeout: y } = Mo(), { transitionProps: k, transitionStyle: v } = kc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: P } = zm(i, H), { anchorEl: T, canShow: N } = bc({ showing: f }), { hide: V } = jl({
3154
+ ), m = Zi(i, c), { registerTick: p, removeTick: g } = Tr(), { registerTimeout: y } = Mo(), { transitionProps: k, transitionStyle: v } = kc(i), { localScrollTarget: x, changeScrollEvent: S, unconfigureScrollTarget: P } = zm(i, H), { anchorEl: T, canShow: N } = bc({ showing: f }), { hide: V } = jl({
3155
3155
  showing: f,
3156
3156
  canShow: N,
3157
3157
  handleShow: ne,
@@ -3212,7 +3212,7 @@ const $m = Je({
3212
3212
  o = void 0, s !== void 0 && (s(), s = void 0), (Z === !0 || f.value === !0) && (ou(G), P(), ol(O), il(oe)), Z !== !0 && (r = null);
3213
3213
  }
3214
3214
  function H() {
3215
- (T.value !== null || i.scrollTarget !== void 0) && (x.value = Qm(T.value, i.scrollTarget), C(x.value, le));
3215
+ (T.value !== null || i.scrollTarget !== void 0) && (x.value = Qm(T.value, i.scrollTarget), S(x.value, le));
3216
3216
  }
3217
3217
  function U(Z) {
3218
3218
  l !== !0 ? (jm(u, Z), t("click", Z)) : l = !1;
@@ -3391,7 +3391,7 @@ const Lb = {
3391
3391
  i,
3392
3392
  () => Hh[i.position][0],
3393
3393
  () => Hh[i.position][1]
3394
- ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: P, renderPortal: T } = xc(
3394
+ ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: S, portalIsAccessible: P, renderPortal: T } = xc(
3395
3395
  r,
3396
3396
  o,
3397
3397
  H,
@@ -3432,8 +3432,8 @@ const Lb = {
3432
3432
  }, i.transitionDuration);
3433
3433
  }
3434
3434
  function _(U) {
3435
- g(), q(!0), l.value = !0, C(), u !== null && ((((U == null ? void 0 : U.type.indexOf("key")) === 0 ? u.closest('[tabindex]:not([tabindex^="-"])') : void 0) || u).focus(), u = null), m(() => {
3436
- C(!0), l.value = !1, t("hide", U);
3435
+ g(), q(!0), l.value = !0, S(), u !== null && ((((U == null ? void 0 : U.type.indexOf("key")) === 0 ? u.closest('[tabindex]:not([tabindex^="-"])') : void 0) || u).focus(), u = null), m(() => {
3436
+ S(!0), l.value = !1, t("hide", U);
3437
3437
  }, i.transitionDuration);
3438
3438
  }
3439
3439
  function F(U) {
@@ -3624,7 +3624,7 @@ function Nb({
3624
3624
  }) {
3625
3625
  const r = je(), { props: o, emit: s, proxy: l } = r, { $q: a } = l;
3626
3626
  let u, c, h, f = [], d;
3627
- const m = J(0), p = J(0), g = J({}), y = J(null), k = J(null), v = J(null), x = J({ from: 0, to: 0 }), C = b(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3627
+ const m = J(0), p = J(0), g = J({}), y = J(null), k = J(null), v = J(null), x = J({ from: 0, to: 0 }), S = b(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3628
3628
  n === void 0 && (n = b(() => o.virtualScrollItemSize));
3629
3629
  const P = b(() => n.value + ";" + o.virtualScrollHorizontal), T = b(
3630
3630
  () => P.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
@@ -3820,7 +3820,7 @@ function Nb({
3820
3820
  A("tr", [
3821
3821
  A("td", {
3822
3822
  style: { [H]: `${m.value}px`, ...U },
3823
- colspan: C.value
3823
+ colspan: S.value
3824
3824
  })
3825
3825
  ])
3826
3826
  ]) : A(I, {
@@ -3843,7 +3843,7 @@ function Nb({
3843
3843
  A("tr", [
3844
3844
  A("td", {
3845
3845
  style: { [H]: `${p.value}px`, ...U },
3846
- colspan: C.value
3846
+ colspan: S.value
3847
3847
  })
3848
3848
  ])
3849
3849
  ]) : A(I, {
@@ -4076,7 +4076,7 @@ const Uo = Je({
4076
4076
  setup(i, { slots: e, emit: t }) {
4077
4077
  const { proxy: n } = je(), { $q: r } = n, o = J(!1), s = J(!1), l = J(-1), a = J(""), u = J(!1), c = J(!1);
4078
4078
  let h = null, f = null, d, m, p, g = null, y, k, v, x;
4079
- const C = J(null), P = J(null), T = J(null), N = J(null), V = J(null), R = Pm(i), D = _m(fr), E = b(() => Array.isArray(i.options) ? i.options.length : 0), O = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4079
+ const S = J(null), P = J(null), T = J(null), N = J(null), V = J(null), R = Pm(i), D = _m(fr), E = b(() => Array.isArray(i.options) ? i.options.length : 0), O = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4080
4080
  virtualScrollSliceRange: _,
4081
4081
  virtualScrollSliceSizeComputed: F,
4082
4082
  localResetVirtualScroll: Y,
@@ -4502,7 +4502,7 @@ const Uo = Je({
4502
4502
  function sa() {
4503
4503
  ne();
4504
4504
  }
4505
- function S(B) {
4505
+ function C(B) {
4506
4506
  var he;
4507
4507
  di(B), (he = P.value) == null || he.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4508
4508
  }
@@ -4524,7 +4524,7 @@ const Uo = Je({
4524
4524
  filled: !0,
4525
4525
  stackLabel: a.value.length !== 0,
4526
4526
  ...I.splitAttrs.listeners.value,
4527
- onFocus: S,
4527
+ onFocus: C,
4528
4528
  onBlur: L
4529
4529
  }, {
4530
4530
  ...e,
@@ -4640,7 +4640,7 @@ const Uo = Je({
4640
4640
  fieldClass: b(
4641
4641
  () => `q-select q-field--auto-height q-select--with${i.useInput !== !0 ? "out" : ""}-input q-select--with${i.useChips !== !0 ? "out" : ""}-chips q-select--${i.multiple === !0 ? "multiple" : "single"}`
4642
4642
  ),
4643
- inputRef: C,
4643
+ inputRef: S,
4644
4644
  targetRef: P,
4645
4645
  hasValue: G,
4646
4646
  showPopup: Se,
@@ -4760,7 +4760,7 @@ const Uo = Je({
4760
4760
  // We control this via useFilter
4761
4761
  fillInput: x,
4762
4762
  // We control this via useFilter
4763
- hideSelected: C,
4763
+ hideSelected: S,
4764
4764
  // We control this via useFilter
4765
4765
  ...P
4766
4766
  } = g;
@@ -5013,7 +5013,7 @@ const It = Je({
5013
5013
  }), v = b(() => ({ center: i.round })), x = b(() => {
5014
5014
  const _ = Math.max(0, Math.min(100, i.percentage));
5015
5015
  return _ > 0 ? { transition: "transform 0.6s", transform: `translateX(${_ - 100}%)` } : {};
5016
- }), C = b(() => {
5016
+ }), S = b(() => {
5017
5017
  if (i.loading === !0)
5018
5018
  return {
5019
5019
  onMousedown: O,
@@ -5043,7 +5043,7 @@ const It = Je({
5043
5043
  class: "q-btn q-btn-item non-selectable no-outline " + r.value,
5044
5044
  style: o.value,
5045
5045
  ...l.value,
5046
- ...C.value
5046
+ ...S.value
5047
5047
  }));
5048
5048
  function T(_) {
5049
5049
  if (f.value !== null) {
@@ -6038,38 +6038,38 @@ const dg = Je({
6038
6038
  setup(i, { slots: e, emit: t }) {
6039
6039
  const { proxy: n } = je(), { $q: r } = n, o = Zi(i, r), { getCache: s } = t1(), { tabindex: l, headerClass: a, getLocale: u, getCurrentDate: c } = lg(i, r);
6040
6040
  let h;
6041
- const f = qm(i), d = gc(f), m = J(null), p = J(Xe()), g = J(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = J(Q(p.value, g.value)), C = J(i.defaultView), P = b(() => r.lang.rtl === !0 ? "right" : "left"), T = J(P.value), N = J(P.value), V = x.value.year, R = J(V - V % tn - (V < 0 ? tn : 0)), D = J(null), E = b(() => {
6042
- const S = i.landscape === !0 ? "landscape" : "portrait";
6043
- return `q-date q-date--${S} q-date--${S}-${i.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (i.bordered === !0 ? " q-date--bordered" : "") + (i.square === !0 ? " q-date--square no-border-radius" : "") + (i.flat === !0 ? " q-date--flat no-shadow" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-date--readonly" : "");
6041
+ const f = qm(i), d = gc(f), m = J(null), p = J(Xe()), g = J(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = J(Q(p.value, g.value)), S = J(i.defaultView), P = b(() => r.lang.rtl === !0 ? "right" : "left"), T = J(P.value), N = J(P.value), V = x.value.year, R = J(V - V % tn - (V < 0 ? tn : 0)), D = J(null), E = b(() => {
6042
+ const C = i.landscape === !0 ? "landscape" : "portrait";
6043
+ return `q-date q-date--${C} q-date--${C}-${i.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (i.bordered === !0 ? " q-date--bordered" : "") + (i.square === !0 ? " q-date--square no-border-radius" : "") + (i.flat === !0 ? " q-date--flat no-shadow" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-date--readonly" : "");
6044
6044
  }), O = b(() => i.color || "primary"), _ = b(() => i.textColor || "white"), F = b(
6045
6045
  () => i.emitImmediately === !0 && i.multiple !== !0 && i.range !== !0
6046
6046
  ), Y = b(() => Array.isArray(i.modelValue) === !0 ? i.modelValue : i.modelValue !== null && i.modelValue !== void 0 ? [i.modelValue] : []), M = b(
6047
- () => Y.value.filter((S) => typeof S == "string").map((S) => ut(S, p.value, g.value)).filter(
6048
- (S) => S.dateHash !== null && S.day !== null && S.month !== null && S.year !== null
6047
+ () => Y.value.filter((C) => typeof C == "string").map((C) => ut(C, p.value, g.value)).filter(
6048
+ (C) => C.dateHash !== null && C.day !== null && C.month !== null && C.year !== null
6049
6049
  )
6050
6050
  ), q = b(() => {
6051
- const S = (L) => ut(L, p.value, g.value);
6052
- return Y.value.filter((L) => Hb(L) === !0 && L.from !== void 0 && L.to !== void 0).map((L) => ({ from: S(L.from), to: S(L.to) })).filter((L) => L.from.dateHash !== null && L.to.dateHash !== null && L.from.dateHash < L.to.dateHash);
6053
- }), z = b(() => i.calendar !== "persian" ? (S) => new Date(S.year, S.month - 1, S.day) : (S) => {
6054
- const L = Gh(S.year, S.month, S.day);
6051
+ const C = (L) => ut(L, p.value, g.value);
6052
+ return Y.value.filter((L) => Hb(L) === !0 && L.from !== void 0 && L.to !== void 0).map((L) => ({ from: C(L.from), to: C(L.to) })).filter((L) => L.from.dateHash !== null && L.to.dateHash !== null && L.from.dateHash < L.to.dateHash);
6053
+ }), z = b(() => i.calendar !== "persian" ? (C) => new Date(C.year, C.month - 1, C.day) : (C) => {
6054
+ const L = Gh(C.year, C.month, C.day);
6055
6055
  return new Date(L.gy, L.gm - 1, L.gd);
6056
- }), ne = b(() => i.calendar === "persian" ? nn : (S, L, W) => fg(
6056
+ }), ne = b(() => i.calendar === "persian" ? nn : (C, L, W) => fg(
6057
6057
  new Date(
6058
- S.year,
6059
- S.month - 1,
6060
- S.day,
6061
- S.hour,
6062
- S.minute,
6063
- S.second,
6064
- S.millisecond
6058
+ C.year,
6059
+ C.month - 1,
6060
+ C.day,
6061
+ C.hour,
6062
+ C.minute,
6063
+ C.second,
6064
+ C.millisecond
6065
6065
  ),
6066
6066
  L === void 0 ? p.value : L,
6067
6067
  W === void 0 ? g.value : W,
6068
- S.year,
6069
- S.timezoneOffset
6068
+ C.year,
6069
+ C.timezoneOffset
6070
6070
  )), I = b(
6071
6071
  () => M.value.length + q.value.reduce(
6072
- (S, L) => S + 1 + hg(
6072
+ (C, L) => C + 1 + hg(
6073
6073
  z.value(L.to),
6074
6074
  z.value(L.from)
6075
6075
  ),
@@ -6086,54 +6086,54 @@ const dg = Je({
6086
6086
  return yr;
6087
6087
  if (I.value > 1)
6088
6088
  return `${I.value} ${g.value.pluralDay}`;
6089
- const S = M.value[0], L = z.value(S);
6090
- return isNaN(L.valueOf()) === !0 ? yr : g.value.headerTitle !== void 0 ? g.value.headerTitle(L, S) : g.value.daysShort[L.getDay()] + ", " + g.value.monthsShort[S.month - 1] + " " + S.day;
6089
+ const C = M.value[0], L = z.value(C);
6090
+ return isNaN(L.valueOf()) === !0 ? yr : g.value.headerTitle !== void 0 ? g.value.headerTitle(L, C) : g.value.daysShort[L.getDay()] + ", " + g.value.monthsShort[C.month - 1] + " " + C.day;
6091
6091
  }), H = b(() => M.value.concat(q.value.map((L) => L.from)).sort((L, W) => L.year - W.year || L.month - W.month)[0]), U = b(() => M.value.concat(q.value.map((L) => L.to)).sort((L, W) => W.year - L.year || W.month - L.month)[0]), G = b(() => {
6092
6092
  if (i.subtitle !== void 0 && i.subtitle !== null && i.subtitle.length !== 0)
6093
6093
  return i.subtitle;
6094
6094
  if (I.value === 0)
6095
6095
  return yr;
6096
6096
  if (I.value > 1) {
6097
- const S = H.value, L = U.value, W = g.value.monthsShort;
6098
- return W[S.month - 1] + (S.year !== L.year ? " " + S.year + yr + W[L.month - 1] + " " : S.month !== L.month ? yr + W[L.month - 1] : "") + " " + L.year;
6097
+ const C = H.value, L = U.value, W = g.value.monthsShort;
6098
+ return W[C.month - 1] + (C.year !== L.year ? " " + C.year + yr + W[L.month - 1] + " " : C.month !== L.month ? yr + W[L.month - 1] : "") + " " + L.year;
6099
6099
  }
6100
6100
  return M.value[0].year;
6101
6101
  }), oe = b(() => {
6102
- const S = [r.iconSet.datetime.arrowLeft, r.iconSet.datetime.arrowRight];
6103
- return r.lang.rtl === !0 ? S.reverse() : S;
6102
+ const C = [r.iconSet.datetime.arrowLeft, r.iconSet.datetime.arrowRight];
6103
+ return r.lang.rtl === !0 ? C.reverse() : C;
6104
6104
  }), le = b(() => i.firstDayOfWeek !== void 0 ? Number(i.firstDayOfWeek) : g.value.firstDayOfWeek), Be = b(() => {
6105
- const S = g.value.daysShort, L = le.value;
6106
- return L > 0 ? S.slice(L, 7).concat(S.slice(0, L)) : S;
6105
+ const C = g.value.daysShort, L = le.value;
6106
+ return L > 0 ? C.slice(L, 7).concat(C.slice(0, L)) : C;
6107
6107
  }), Z = b(() => {
6108
- const S = x.value;
6109
- return i.calendar !== "persian" ? new Date(S.year, S.month, 0).getDate() : Fs(S.year, S.month);
6108
+ const C = x.value;
6109
+ return i.calendar !== "persian" ? new Date(C.year, C.month, 0).getDate() : Fs(C.year, C.month);
6110
6110
  }), et = b(() => typeof i.eventColor == "function" ? i.eventColor : () => i.eventColor), Ie = b(() => {
6111
6111
  if (i.navigationMinYearMonth === void 0)
6112
6112
  return null;
6113
- const S = i.navigationMinYearMonth.split("/");
6114
- return { year: parseInt(S[0], 10), month: parseInt(S[1], 10) };
6113
+ const C = i.navigationMinYearMonth.split("/");
6114
+ return { year: parseInt(C[0], 10), month: parseInt(C[1], 10) };
6115
6115
  }), Qe = b(() => {
6116
6116
  if (i.navigationMaxYearMonth === void 0)
6117
6117
  return null;
6118
- const S = i.navigationMaxYearMonth.split("/");
6119
- return { year: parseInt(S[0], 10), month: parseInt(S[1], 10) };
6118
+ const C = i.navigationMaxYearMonth.split("/");
6119
+ return { year: parseInt(C[0], 10), month: parseInt(C[1], 10) };
6120
6120
  }), wt = b(() => {
6121
- const S = {
6121
+ const C = {
6122
6122
  month: { prev: !0, next: !0 },
6123
6123
  year: { prev: !0, next: !0 }
6124
6124
  };
6125
- return Ie.value !== null && Ie.value.year >= x.value.year && (S.year.prev = !1, Ie.value.year === x.value.year && Ie.value.month >= x.value.month && (S.month.prev = !1)), Qe.value !== null && Qe.value.year <= x.value.year && (S.year.next = !1, Qe.value.year === x.value.year && Qe.value.month <= x.value.month && (S.month.next = !1)), S;
6125
+ return Ie.value !== null && Ie.value.year >= x.value.year && (C.year.prev = !1, Ie.value.year === x.value.year && Ie.value.month >= x.value.month && (C.month.prev = !1)), Qe.value !== null && Qe.value.year <= x.value.year && (C.year.next = !1, Qe.value.year === x.value.year && Qe.value.month <= x.value.month && (C.month.next = !1)), C;
6126
6126
  }), _t = b(() => {
6127
- const S = {};
6127
+ const C = {};
6128
6128
  return M.value.forEach((L) => {
6129
6129
  const W = pn(L);
6130
- S[W] === void 0 && (S[W] = []), S[W].push(L.day);
6131
- }), S;
6130
+ C[W] === void 0 && (C[W] = []), C[W].push(L.day);
6131
+ }), C;
6132
6132
  }), Gt = b(() => {
6133
- const S = {};
6133
+ const C = {};
6134
6134
  return q.value.forEach((L) => {
6135
6135
  const W = pn(L.from), se = pn(L.to);
6136
- if (S[W] === void 0 && (S[W] = []), S[W].push({
6136
+ if (C[W] === void 0 && (C[W] = []), C[W].push({
6137
6137
  from: L.from.day,
6138
6138
  to: W === se ? L.to.day : void 0,
6139
6139
  range: L
@@ -6141,73 +6141,73 @@ const dg = Je({
6141
6141
  let fe;
6142
6142
  const { year: Te, month: pe } = L.from, Se = pe < 12 ? { year: Te, month: pe + 1 } : { year: Te + 1, month: 1 };
6143
6143
  for (; (fe = pn(Se)) <= se; )
6144
- S[fe] === void 0 && (S[fe] = []), S[fe].push({
6144
+ C[fe] === void 0 && (C[fe] = []), C[fe].push({
6145
6145
  from: void 0,
6146
6146
  to: fe === se ? L.to.day : void 0,
6147
6147
  range: L
6148
6148
  }), Se.month++, Se.month > 12 && (Se.year++, Se.month = 1);
6149
6149
  }
6150
- }), S;
6150
+ }), C;
6151
6151
  }), Bt = b(() => {
6152
6152
  if (D.value === null) return;
6153
- const { init: S, initHash: L, final: W, finalHash: se } = D.value, [fe, Te] = L <= se ? [S, W] : [W, S], pe = pn(fe), Se = pn(Te);
6153
+ const { init: C, initHash: L, final: W, finalHash: se } = D.value, [fe, Te] = L <= se ? [C, W] : [W, C], pe = pn(fe), Se = pn(Te);
6154
6154
  if (pe !== dt.value && Se !== dt.value) return;
6155
6155
  const Ve = {};
6156
6156
  return pe === dt.value ? (Ve.from = fe.day, Ve.includeFrom = !0) : Ve.from = 1, Se === dt.value ? (Ve.to = Te.day, Ve.includeTo = !0) : Ve.to = Z.value, Ve;
6157
6157
  }), dt = b(() => pn(x.value)), vi = b(() => {
6158
- const S = {};
6158
+ const C = {};
6159
6159
  if (i.options === void 0) {
6160
6160
  for (let W = 1; W <= Z.value; W++)
6161
- S[W] = !0;
6162
- return S;
6161
+ C[W] = !0;
6162
+ return C;
6163
6163
  }
6164
6164
  const L = typeof i.options == "function" ? i.options : (W) => i.options.includes(W);
6165
6165
  for (let W = 1; W <= Z.value; W++) {
6166
6166
  const se = dt.value + "/" + Fe(W);
6167
- S[W] = L(se);
6167
+ C[W] = L(se);
6168
6168
  }
6169
- return S;
6169
+ return C;
6170
6170
  }), Li = b(() => {
6171
- const S = {};
6171
+ const C = {};
6172
6172
  if (i.events === void 0)
6173
6173
  for (let L = 1; L <= Z.value; L++)
6174
- S[L] = !1;
6174
+ C[L] = !1;
6175
6175
  else {
6176
6176
  const L = typeof i.events == "function" ? i.events : (W) => i.events.includes(W);
6177
6177
  for (let W = 1; W <= Z.value; W++) {
6178
6178
  const se = dt.value + "/" + Fe(W);
6179
- S[W] = L(se) === !0 && et.value(se);
6179
+ C[W] = L(se) === !0 && et.value(se);
6180
6180
  }
6181
6181
  }
6182
- return S;
6182
+ return C;
6183
6183
  }), Jt = b(() => {
6184
- let S, L;
6184
+ let C, L;
6185
6185
  const { year: W, month: se } = x.value;
6186
6186
  if (i.calendar !== "persian")
6187
- S = new Date(W, se - 1, 1), L = new Date(W, se - 1, 0).getDate();
6187
+ C = new Date(W, se - 1, 1), L = new Date(W, se - 1, 0).getDate();
6188
6188
  else {
6189
6189
  const fe = Gh(W, se, 1);
6190
- S = new Date(fe.gy, fe.gm - 1, fe.gd);
6190
+ C = new Date(fe.gy, fe.gm - 1, fe.gd);
6191
6191
  let Te = se - 1, pe = W;
6192
6192
  Te === 0 && (Te = 12, pe--), L = Fs(pe, Te);
6193
6193
  }
6194
6194
  return {
6195
- days: S.getDay() - le.value - 1,
6195
+ days: C.getDay() - le.value - 1,
6196
6196
  endDay: L
6197
6197
  };
6198
6198
  }), at = b(() => {
6199
- const S = [], { days: L, endDay: W } = Jt.value, se = L < 0 ? L + 7 : L;
6199
+ const C = [], { days: L, endDay: W } = Jt.value, se = L < 0 ? L + 7 : L;
6200
6200
  if (se < 6)
6201
6201
  for (let pe = W - se; pe <= W; pe++)
6202
- S.push({ i: pe, fill: !0 });
6203
- const fe = S.length;
6202
+ C.push({ i: pe, fill: !0 });
6203
+ const fe = C.length;
6204
6204
  for (let pe = 1; pe <= Z.value; pe++) {
6205
6205
  const Se = { i: pe, event: Li.value[pe], classes: [] };
6206
- vi.value[pe] === !0 && (Se.in = !0, Se.flat = !0), S.push(Se);
6206
+ vi.value[pe] === !0 && (Se.in = !0, Se.flat = !0), C.push(Se);
6207
6207
  }
6208
6208
  if (_t.value[dt.value] !== void 0 && _t.value[dt.value].forEach((pe) => {
6209
6209
  const Se = fe + pe - 1;
6210
- Object.assign(S[Se], {
6210
+ Object.assign(C[Se], {
6211
6211
  selected: !0,
6212
6212
  unelevated: !0,
6213
6213
  flat: !1,
@@ -6218,36 +6218,36 @@ const dg = Je({
6218
6218
  if (pe.from !== void 0) {
6219
6219
  const Se = fe + pe.from - 1, Ve = fe + (pe.to || Z.value) - 1;
6220
6220
  for (let yi = Se; yi <= Ve; yi++)
6221
- Object.assign(S[yi], {
6221
+ Object.assign(C[yi], {
6222
6222
  range: pe.range,
6223
6223
  unelevated: !0,
6224
6224
  color: O.value,
6225
6225
  textColor: _.value
6226
6226
  });
6227
- Object.assign(S[Se], {
6227
+ Object.assign(C[Se], {
6228
6228
  rangeFrom: !0,
6229
6229
  flat: !1
6230
- }), pe.to !== void 0 && Object.assign(S[Ve], {
6230
+ }), pe.to !== void 0 && Object.assign(C[Ve], {
6231
6231
  rangeTo: !0,
6232
6232
  flat: !1
6233
6233
  });
6234
6234
  } else if (pe.to !== void 0) {
6235
6235
  const Se = fe + pe.to - 1;
6236
6236
  for (let Ve = fe; Ve <= Se; Ve++)
6237
- Object.assign(S[Ve], {
6237
+ Object.assign(C[Ve], {
6238
6238
  range: pe.range,
6239
6239
  unelevated: !0,
6240
6240
  color: O.value,
6241
6241
  textColor: _.value
6242
6242
  });
6243
- Object.assign(S[Se], {
6243
+ Object.assign(C[Se], {
6244
6244
  flat: !1,
6245
6245
  rangeTo: !0
6246
6246
  });
6247
6247
  } else {
6248
6248
  const Se = fe + Z.value - 1;
6249
6249
  for (let Ve = fe; Ve <= Se; Ve++)
6250
- Object.assign(S[Ve], {
6250
+ Object.assign(C[Ve], {
6251
6251
  range: pe.range,
6252
6252
  unelevated: !0,
6253
6253
  color: O.value,
@@ -6257,67 +6257,67 @@ const dg = Je({
6257
6257
  }), Bt.value !== void 0) {
6258
6258
  const pe = fe + Bt.value.from - 1, Se = fe + Bt.value.to - 1;
6259
6259
  for (let Ve = pe; Ve <= Se; Ve++)
6260
- S[Ve].color = O.value, S[Ve].editRange = !0;
6261
- Bt.value.includeFrom === !0 && (S[pe].editRangeFrom = !0), Bt.value.includeTo === !0 && (S[Se].editRangeTo = !0);
6260
+ C[Ve].color = O.value, C[Ve].editRange = !0;
6261
+ Bt.value.includeFrom === !0 && (C[pe].editRangeFrom = !0), Bt.value.includeTo === !0 && (C[Se].editRangeTo = !0);
6262
6262
  }
6263
- x.value.year === v.value.year && x.value.month === v.value.month && (S[fe + v.value.day - 1].today = !0);
6264
- const Te = S.length % 7;
6263
+ x.value.year === v.value.year && x.value.month === v.value.month && (C[fe + v.value.day - 1].today = !0);
6264
+ const Te = C.length % 7;
6265
6265
  if (Te > 0) {
6266
6266
  const pe = 7 - Te;
6267
6267
  for (let Se = 1; Se <= pe; Se++)
6268
- S.push({ i: Se, fill: !0 });
6268
+ C.push({ i: Se, fill: !0 });
6269
6269
  }
6270
- return S.forEach((pe) => {
6270
+ return C.forEach((pe) => {
6271
6271
  let Se = "q-date__calendar-item ";
6272
6272
  pe.fill === !0 ? Se += "q-date__calendar-item--fill" : (Se += `q-date__calendar-item--${pe.in === !0 ? "in" : "out"}`, pe.range !== void 0 && (Se += ` q-date__range${pe.rangeTo === !0 ? "-to" : pe.rangeFrom === !0 ? "-from" : ""}`), pe.editRange === !0 && (Se += ` q-date__edit-range${pe.editRangeFrom === !0 ? "-from" : ""}${pe.editRangeTo === !0 ? "-to" : ""}`), (pe.range !== void 0 || pe.editRange === !0) && (Se += ` text-${pe.color}`)), pe.classes = Se;
6273
- }), S;
6273
+ }), C;
6274
6274
  }), X = b(() => i.disable === !0 ? { "aria-disabled": "true" } : {});
6275
- ve(() => i.modelValue, (S) => {
6276
- if (h === JSON.stringify(S))
6275
+ ve(() => i.modelValue, (C) => {
6276
+ if (h === JSON.stringify(C))
6277
6277
  h = 0;
6278
6278
  else {
6279
6279
  const L = Q(p.value, g.value);
6280
6280
  Rt(L.year, L.month, L);
6281
6281
  }
6282
- }), ve(C, () => {
6282
+ }), ve(S, () => {
6283
6283
  m.value !== null && n.$el.contains(document.activeElement) === !0 && m.value.focus();
6284
6284
  }), ve(() => x.value.year + "|" + x.value.month, () => {
6285
6285
  t("navigation", { year: x.value.year, month: x.value.month });
6286
- }), ve(y, (S) => {
6287
- Fn(S, g.value, "mask"), p.value = S;
6288
- }), ve(k, (S) => {
6289
- Fn(p.value, S, "locale"), g.value = S;
6286
+ }), ve(y, (C) => {
6287
+ Fn(C, g.value, "mask"), p.value = C;
6288
+ }), ve(k, (C) => {
6289
+ Fn(p.value, C, "locale"), g.value = C;
6290
6290
  });
6291
- function ye(S) {
6292
- h = JSON.stringify(S);
6291
+ function ye(C) {
6292
+ h = JSON.stringify(C);
6293
6293
  }
6294
6294
  function we() {
6295
- const { year: S, month: L, day: W } = v.value, se = {
6295
+ const { year: C, month: L, day: W } = v.value, se = {
6296
6296
  // contains more props than needed (hour, minute, second, millisecond)
6297
6297
  // but those aren't used in the processing of this "date" variable
6298
6298
  ...x.value,
6299
6299
  // overwriting with today's date
6300
- year: S,
6300
+ year: C,
6301
6301
  month: L,
6302
6302
  day: W
6303
6303
  }, fe = _t.value[pn(se)];
6304
6304
  (fe === void 0 || fe.includes(se.day) === !1) && Xr(se), Oe(se.year, se.month);
6305
6305
  }
6306
- function Ue(S) {
6307
- Zh(S) === !0 && (C.value = S);
6306
+ function Ue(C) {
6307
+ Zh(C) === !0 && (S.value = C);
6308
6308
  }
6309
- function ze(S, L) {
6310
- ["month", "year"].includes(S) && (S === "month" ? xe : Ce)(L === !0 ? -1 : 1);
6309
+ function ze(C, L) {
6310
+ ["month", "year"].includes(C) && (C === "month" ? xe : Ce)(L === !0 ? -1 : 1);
6311
6311
  }
6312
- function Oe(S, L) {
6313
- C.value = "Calendar", Rt(S, L);
6312
+ function Oe(C, L) {
6313
+ S.value = "Calendar", Rt(C, L);
6314
6314
  }
6315
- function qe(S, L) {
6316
- if (i.range === !1 || !S) {
6315
+ function qe(C, L) {
6316
+ if (i.range === !1 || !C) {
6317
6317
  D.value = null;
6318
6318
  return;
6319
6319
  }
6320
- const W = Object.assign({ ...x.value }, S), se = L !== void 0 ? Object.assign({ ...x.value }, L) : W;
6320
+ const W = Object.assign({ ...x.value }, C), se = L !== void 0 ? Object.assign({ ...x.value }, L) : W;
6321
6321
  D.value = {
6322
6322
  init: W,
6323
6323
  initHash: nn(W),
@@ -6328,9 +6328,9 @@ const dg = Je({
6328
6328
  function Xe() {
6329
6329
  return i.calendar === "persian" ? "YYYY/MM/DD" : i.mask;
6330
6330
  }
6331
- function ut(S, L, W) {
6331
+ function ut(C, L, W) {
6332
6332
  return so(
6333
- S,
6333
+ C,
6334
6334
  L,
6335
6335
  W,
6336
6336
  i.calendar,
@@ -6342,130 +6342,130 @@ const dg = Je({
6342
6342
  }
6343
6343
  );
6344
6344
  }
6345
- function Q(S, L) {
6345
+ function Q(C, L) {
6346
6346
  const W = Array.isArray(i.modelValue) === !0 ? i.modelValue : i.modelValue ? [i.modelValue] : [];
6347
6347
  if (W.length === 0)
6348
6348
  return $();
6349
6349
  const se = W[W.length - 1], fe = ut(
6350
6350
  se.from !== void 0 ? se.from : se,
6351
- S,
6351
+ C,
6352
6352
  L
6353
6353
  );
6354
6354
  return fe.dateHash === null ? $() : fe;
6355
6355
  }
6356
6356
  function $() {
6357
- let S, L;
6357
+ let C, L;
6358
6358
  if (i.defaultYearMonth !== void 0) {
6359
6359
  const W = i.defaultYearMonth.split("/");
6360
- S = parseInt(W[0], 10), L = parseInt(W[1], 10);
6360
+ C = parseInt(W[0], 10), L = parseInt(W[1], 10);
6361
6361
  } else {
6362
6362
  const W = v.value !== void 0 ? v.value : c();
6363
- S = W.year, L = W.month;
6363
+ C = W.year, L = W.month;
6364
6364
  }
6365
6365
  return {
6366
- year: S,
6366
+ year: C,
6367
6367
  month: L,
6368
6368
  day: 1,
6369
6369
  hour: 0,
6370
6370
  minute: 0,
6371
6371
  second: 0,
6372
6372
  millisecond: 0,
6373
- dateHash: S + "/" + Fe(L) + "/01"
6373
+ dateHash: C + "/" + Fe(L) + "/01"
6374
6374
  };
6375
6375
  }
6376
- function xe(S) {
6377
- let L = x.value.year, W = Number(x.value.month) + S;
6376
+ function xe(C) {
6377
+ let L = x.value.year, W = Number(x.value.month) + C;
6378
6378
  W === 13 ? (W = 1, L++) : W === 0 && (W = 12, L--), Rt(L, W), F.value === !0 && gn("month");
6379
6379
  }
6380
- function Ce(S) {
6381
- const L = Number(x.value.year) + S;
6380
+ function Ce(C) {
6381
+ const L = Number(x.value.year) + C;
6382
6382
  Rt(L, x.value.month), F.value === !0 && gn("year");
6383
6383
  }
6384
- function Re(S) {
6385
- Rt(S, x.value.month), C.value = i.defaultView === "Years" ? "Months" : "Calendar", F.value === !0 && gn("year");
6384
+ function Re(C) {
6385
+ Rt(C, x.value.month), S.value = i.defaultView === "Years" ? "Months" : "Calendar", F.value === !0 && gn("year");
6386
6386
  }
6387
- function Ht(S) {
6388
- Rt(x.value.year, S), C.value = "Calendar", F.value === !0 && gn("month");
6387
+ function Ht(C) {
6388
+ Rt(x.value.year, C), S.value = "Calendar", F.value === !0 && gn("month");
6389
6389
  }
6390
- function De(S, L) {
6390
+ function De(C, L) {
6391
6391
  const W = _t.value[L];
6392
- ((W == null ? void 0 : W.includes(S.day)) === !0 ? fr : Xr)(S);
6392
+ ((W == null ? void 0 : W.includes(C.day)) === !0 ? fr : Xr)(C);
6393
6393
  }
6394
- function tt(S) {
6395
- return { year: S.year, month: S.month, day: S.day };
6394
+ function tt(C) {
6395
+ return { year: C.year, month: C.month, day: C.day };
6396
6396
  }
6397
- function Rt(S, L, W) {
6398
- if (Ie.value !== null && S <= Ie.value.year && ((L < Ie.value.month || S < Ie.value.year) && (L = Ie.value.month), S = Ie.value.year), Qe.value !== null && S >= Qe.value.year && ((L > Qe.value.month || S > Qe.value.year) && (L = Qe.value.month), S = Qe.value.year), W !== void 0) {
6397
+ function Rt(C, L, W) {
6398
+ if (Ie.value !== null && C <= Ie.value.year && ((L < Ie.value.month || C < Ie.value.year) && (L = Ie.value.month), C = Ie.value.year), Qe.value !== null && C >= Qe.value.year && ((L > Qe.value.month || C > Qe.value.year) && (L = Qe.value.month), C = Qe.value.year), W !== void 0) {
6399
6399
  const { hour: fe, minute: Te, second: pe, millisecond: Se, timezoneOffset: Ve, timeHash: yi } = W;
6400
6400
  Object.assign(x.value, { hour: fe, minute: Te, second: pe, millisecond: Se, timezoneOffset: Ve, timeHash: yi });
6401
6401
  }
6402
- const se = S + "/" + Fe(L) + "/01";
6403
- se !== x.value.dateHash && (T.value = x.value.dateHash < se == (r.lang.rtl !== !0) ? "left" : "right", S !== x.value.year && (N.value = T.value), rt(() => {
6404
- R.value = S - S % tn - (S < 0 ? tn : 0), Object.assign(x.value, {
6405
- year: S,
6402
+ const se = C + "/" + Fe(L) + "/01";
6403
+ se !== x.value.dateHash && (T.value = x.value.dateHash < se == (r.lang.rtl !== !0) ? "left" : "right", C !== x.value.year && (N.value = T.value), rt(() => {
6404
+ R.value = C - C % tn - (C < 0 ? tn : 0), Object.assign(x.value, {
6405
+ year: C,
6406
6406
  month: L,
6407
6407
  day: 1,
6408
6408
  dateHash: se
6409
6409
  });
6410
6410
  }));
6411
6411
  }
6412
- function Vn(S, L, W) {
6413
- const se = S !== null && S.length === 1 && i.multiple === !1 ? S[0] : S, { reason: fe, details: Te } = rs(L, W);
6412
+ function Vn(C, L, W) {
6413
+ const se = C !== null && C.length === 1 && i.multiple === !1 ? C[0] : C, { reason: fe, details: Te } = rs(L, W);
6414
6414
  ye(se), t("update:modelValue", se, fe, Te);
6415
6415
  }
6416
- function gn(S) {
6416
+ function gn(C) {
6417
6417
  const L = M.value[0] !== void 0 && M.value[0].dateHash !== null ? { ...M.value[0] } : { ...x.value };
6418
6418
  rt(() => {
6419
6419
  L.year = x.value.year, L.month = x.value.month;
6420
6420
  const W = i.calendar !== "persian" ? new Date(L.year, L.month, 0).getDate() : Fs(L.year, L.month);
6421
6421
  L.day = Math.min(Math.max(1, L.day), W);
6422
6422
  const se = en(L), { details: fe } = rs("", L);
6423
- ye(se), t("update:modelValue", se, S, fe);
6423
+ ye(se), t("update:modelValue", se, C, fe);
6424
6424
  });
6425
6425
  }
6426
- function rs(S, L) {
6426
+ function rs(C, L) {
6427
6427
  return L.from !== void 0 ? {
6428
- reason: `${S}-range`,
6428
+ reason: `${C}-range`,
6429
6429
  details: {
6430
6430
  ...tt(L.target),
6431
6431
  from: tt(L.from),
6432
6432
  to: tt(L.to)
6433
6433
  }
6434
6434
  } : {
6435
- reason: `${S}-day`,
6435
+ reason: `${C}-day`,
6436
6436
  details: tt(L)
6437
6437
  };
6438
6438
  }
6439
- function en(S, L, W) {
6440
- return S.from !== void 0 ? { from: ne.value(S.from, L, W), to: ne.value(S.to, L, W) } : ne.value(S, L, W);
6439
+ function en(C, L, W) {
6440
+ return C.from !== void 0 ? { from: ne.value(C.from, L, W), to: ne.value(C.to, L, W) } : ne.value(C, L, W);
6441
6441
  }
6442
- function Xr(S) {
6442
+ function Xr(C) {
6443
6443
  let L;
6444
6444
  if (i.multiple === !0)
6445
- if (S.from !== void 0) {
6446
- const W = nn(S.from), se = nn(S.to), fe = M.value.filter((pe) => pe.dateHash < W || pe.dateHash > se), Te = q.value.filter(({ from: pe, to: Se }) => Se.dateHash < W || pe.dateHash > se);
6447
- L = fe.concat(Te).concat(S).map((pe) => en(pe));
6445
+ if (C.from !== void 0) {
6446
+ const W = nn(C.from), se = nn(C.to), fe = M.value.filter((pe) => pe.dateHash < W || pe.dateHash > se), Te = q.value.filter(({ from: pe, to: Se }) => Se.dateHash < W || pe.dateHash > se);
6447
+ L = fe.concat(Te).concat(C).map((pe) => en(pe));
6448
6448
  } else {
6449
6449
  const W = Y.value.slice();
6450
- W.push(en(S)), L = W;
6450
+ W.push(en(C)), L = W;
6451
6451
  }
6452
6452
  else
6453
- L = en(S);
6454
- Vn(L, "add", S);
6453
+ L = en(C);
6454
+ Vn(L, "add", C);
6455
6455
  }
6456
- function fr(S) {
6456
+ function fr(C) {
6457
6457
  if (i.noUnset === !0) return;
6458
6458
  let L = null;
6459
6459
  if (i.multiple === !0 && Array.isArray(i.modelValue) === !0) {
6460
- const W = en(S);
6461
- S.from !== void 0 ? L = i.modelValue.filter(
6460
+ const W = en(C);
6461
+ C.from !== void 0 ? L = i.modelValue.filter(
6462
6462
  (se) => se.from !== void 0 ? se.from !== W.from && se.to !== W.to : !0
6463
6463
  ) : L = i.modelValue.filter((se) => se !== W), L.length === 0 && (L = null);
6464
6464
  }
6465
- Vn(L, "remove", S);
6465
+ Vn(L, "remove", C);
6466
6466
  }
6467
- function Fn(S, L, W) {
6468
- const se = M.value.concat(q.value).map((Te) => en(Te, S, L)).filter((Te) => Te.from !== void 0 ? Te.from.dateHash !== null && Te.to.dateHash !== null : Te.dateHash !== null), fe = (i.multiple === !0 ? se : se[0]) || null;
6467
+ function Fn(C, L, W) {
6468
+ const se = M.value.concat(q.value).map((Te) => en(Te, C, L)).filter((Te) => Te.from !== void 0 ? Te.from.dateHash !== null && Te.to.dateHash !== null : Te.dateHash !== null), fe = (i.multiple === !0 ? se : se[0]) || null;
6469
6469
  ye(fe), t("update:modelValue", fe, W);
6470
6470
  }
6471
6471
  function Nn() {
@@ -6480,14 +6480,14 @@ const dg = Je({
6480
6480
  name: "q-transition--fade"
6481
6481
  }, () => A("div", {
6482
6482
  key: "h-yr-" + G.value,
6483
- class: "q-date__header-subtitle q-date__header-link " + (C.value === "Years" ? "q-date__header-link--active" : "cursor-pointer"),
6483
+ class: "q-date__header-subtitle q-date__header-link " + (S.value === "Years" ? "q-date__header-link--active" : "cursor-pointer"),
6484
6484
  tabindex: l.value,
6485
6485
  ...s("vY", {
6486
6486
  onClick() {
6487
- C.value = "Years";
6487
+ S.value = "Years";
6488
6488
  },
6489
- onKeyup(S) {
6490
- S.keyCode === 13 && (C.value = "Years");
6489
+ onKeyup(C) {
6490
+ C.keyCode === 13 && (S.value = "Years");
6491
6491
  }
6492
6492
  })
6493
6493
  }, [G.value]))
@@ -6502,14 +6502,14 @@ const dg = Je({
6502
6502
  name: "q-transition--fade"
6503
6503
  }, () => A("div", {
6504
6504
  key: "h-sub" + w.value,
6505
- class: "q-date__header-title-label q-date__header-link " + (C.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
6505
+ class: "q-date__header-title-label q-date__header-link " + (S.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
6506
6506
  tabindex: l.value,
6507
6507
  ...s("vC", {
6508
6508
  onClick() {
6509
- C.value = "Calendar";
6509
+ S.value = "Calendar";
6510
6510
  },
6511
- onKeyup(S) {
6512
- S.keyCode === 13 && (C.value = "Calendar");
6511
+ onKeyup(C) {
6512
+ C.keyCode === 13 && (S.value = "Calendar");
6513
6513
  }
6514
6514
  })
6515
6515
  }, [w.value]))
@@ -6527,7 +6527,7 @@ const dg = Je({
6527
6527
  ])
6528
6528
  ]);
6529
6529
  }
6530
- function Ii({ label: S, type: L, key: W, dir: se, goTo: fe, boundaries: Te, cls: pe }) {
6530
+ function Ii({ label: C, type: L, key: W, dir: se, goTo: fe, boundaries: Te, cls: pe }) {
6531
6531
  return [
6532
6532
  A("div", {
6533
6533
  class: "row items-center q-date__arrow"
@@ -6556,10 +6556,10 @@ const dg = Je({
6556
6556
  flat: !0,
6557
6557
  dense: !0,
6558
6558
  noCaps: !0,
6559
- label: S,
6559
+ label: C,
6560
6560
  tabindex: l.value,
6561
6561
  ...s("view#" + L, { onClick: () => {
6562
- C.value = L;
6562
+ S.value = L;
6563
6563
  } })
6564
6564
  })
6565
6565
  ]))
@@ -6610,7 +6610,7 @@ const dg = Je({
6610
6610
  }))),
6611
6611
  A("div", {
6612
6612
  class: "q-date__calendar-weekdays row items-center no-wrap"
6613
- }, Be.value.map((S) => A("div", { class: "q-date__calendar-item" }, [A("div", S)]))),
6613
+ }, Be.value.map((C) => A("div", { class: "q-date__calendar-item" }, [A("div", C)]))),
6614
6614
  A("div", {
6615
6615
  class: "q-date__calendar-days-container relative-position overflow-hidden"
6616
6616
  }, [
@@ -6619,41 +6619,41 @@ const dg = Je({
6619
6619
  }, () => A("div", {
6620
6620
  key: dt.value,
6621
6621
  class: "q-date__calendar-days fit"
6622
- }, at.value.map((S) => A("div", { class: S.classes }, [
6623
- S.in === !0 ? A(
6622
+ }, at.value.map((C) => A("div", { class: C.classes }, [
6623
+ C.in === !0 ? A(
6624
6624
  It,
6625
6625
  {
6626
- class: S.today === !0 ? "q-date__today" : "",
6626
+ class: C.today === !0 ? "q-date__today" : "",
6627
6627
  dense: !0,
6628
- flat: S.flat,
6629
- unelevated: S.unelevated,
6630
- color: S.color,
6631
- textColor: S.textColor,
6632
- label: S.i,
6628
+ flat: C.flat,
6629
+ unelevated: C.unelevated,
6630
+ color: C.color,
6631
+ textColor: C.textColor,
6632
+ label: C.i,
6633
6633
  tabindex: l.value,
6634
- ...s("day#" + S.i, {
6634
+ ...s("day#" + C.i, {
6635
6635
  onClick: () => {
6636
- oa(S.i);
6636
+ oa(C.i);
6637
6637
  },
6638
6638
  onMouseover: () => {
6639
- sa(S.i);
6639
+ sa(C.i);
6640
6640
  }
6641
6641
  })
6642
6642
  },
6643
- S.event !== !1 ? () => A("div", { class: "q-date__event bg-" + S.event }) : null
6644
- ) : A("div", "" + S.i)
6643
+ C.event !== !1 ? () => A("div", { class: "q-date__event bg-" + C.event }) : null
6644
+ ) : A("div", "" + C.i)
6645
6645
  ]))))
6646
6646
  ])
6647
6647
  ])
6648
6648
  ],
6649
6649
  Months() {
6650
- const S = x.value.year === v.value.year, L = (se) => Ie.value !== null && x.value.year === Ie.value.year && Ie.value.month > se || Qe.value !== null && x.value.year === Qe.value.year && Qe.value.month < se, W = g.value.monthsShort.map((se, fe) => {
6650
+ const C = x.value.year === v.value.year, L = (se) => Ie.value !== null && x.value.year === Ie.value.year && Ie.value.month > se || Qe.value !== null && x.value.year === Qe.value.year && Qe.value.month < se, W = g.value.monthsShort.map((se, fe) => {
6651
6651
  const Te = x.value.month === fe + 1;
6652
6652
  return A("div", {
6653
6653
  class: "q-date__months-item flex flex-center"
6654
6654
  }, [
6655
6655
  A(It, {
6656
- class: S === !0 && v.value.month === fe + 1 ? "q-date__today" : null,
6656
+ class: C === !0 && v.value.month === fe + 1 ? "q-date__today" : null,
6657
6657
  flat: Te !== !0,
6658
6658
  label: se,
6659
6659
  unelevated: Te,
@@ -6685,8 +6685,8 @@ const dg = Je({
6685
6685
  }, W);
6686
6686
  },
6687
6687
  Years() {
6688
- const S = R.value, L = S + tn, W = [], se = (fe) => Ie.value !== null && Ie.value.year > fe || Qe.value !== null && Qe.value.year < fe;
6689
- for (let fe = S; fe <= L; fe++) {
6688
+ const C = R.value, L = C + tn, W = [], se = (fe) => Ie.value !== null && Ie.value.year > fe || Qe.value !== null && Qe.value.year < fe;
6689
+ for (let fe = C; fe <= L; fe++) {
6690
6690
  const Te = x.value.year === fe;
6691
6691
  W.push(
6692
6692
  A("div", {
@@ -6723,7 +6723,7 @@ const dg = Je({
6723
6723
  icon: oe.value[0],
6724
6724
  "aria-label": r.lang.date.prevRangeYears(tn),
6725
6725
  tabindex: l.value,
6726
- disable: se(S),
6726
+ disable: se(C),
6727
6727
  ...s("y-", { onClick: () => {
6728
6728
  R.value -= tn;
6729
6729
  } })
@@ -6751,14 +6751,14 @@ const dg = Je({
6751
6751
  ]);
6752
6752
  }
6753
6753
  };
6754
- function oa(S) {
6755
- const L = { ...x.value, day: S };
6754
+ function oa(C) {
6755
+ const L = { ...x.value, day: C };
6756
6756
  if (i.range === !1) {
6757
6757
  De(L, dt.value);
6758
6758
  return;
6759
6759
  }
6760
6760
  if (D.value === null) {
6761
- const W = at.value.find((fe) => fe.fill !== !0 && fe.i === S);
6761
+ const W = at.value.find((fe) => fe.fill !== !0 && fe.i === C);
6762
6762
  if (i.noUnset !== !0 && W.range !== void 0) {
6763
6763
  fr({ target: L, from: W.range.from, to: W.range.to });
6764
6764
  return;
@@ -6782,9 +6782,9 @@ const dg = Je({
6782
6782
  });
6783
6783
  }
6784
6784
  }
6785
- function sa(S) {
6785
+ function sa(C) {
6786
6786
  if (D.value !== null) {
6787
- const L = { ...x.value, day: S };
6787
+ const L = { ...x.value, day: C };
6788
6788
  Object.assign(D.value, {
6789
6789
  final: L,
6790
6790
  finalHash: nn(L)
@@ -6798,18 +6798,18 @@ const dg = Je({
6798
6798
  setCalendarTo: Oe,
6799
6799
  setEditingRange: qe
6800
6800
  }), () => {
6801
- const S = [
6801
+ const C = [
6802
6802
  A("div", {
6803
6803
  class: "q-date__content col relative-position"
6804
6804
  }, [
6805
6805
  A(mi, {
6806
6806
  name: "q-transition--fade"
6807
- }, ra[C.value])
6807
+ }, ra[S.value])
6808
6808
  ])
6809
6809
  ], L = qt(e.default);
6810
- return L !== void 0 && S.push(
6810
+ return L !== void 0 && C.push(
6811
6811
  A("div", { class: "q-date__actions" }, L)
6812
- ), i.name !== void 0 && i.disable !== !0 && d(S, "push"), A("div", {
6812
+ ), i.name !== void 0 && i.disable !== !0 && d(C, "push"), A("div", {
6813
6813
  class: E.value,
6814
6814
  ...X.value
6815
6815
  }, [
@@ -6818,7 +6818,7 @@ const dg = Je({
6818
6818
  ref: m,
6819
6819
  class: "q-date__main col column",
6820
6820
  tabindex: -1
6821
- }, S)
6821
+ }, C)
6822
6822
  ]);
6823
6823
  };
6824
6824
  }
@@ -7190,13 +7190,13 @@ const mg = Je({
7190
7190
  // initial locale
7191
7191
  i.calendar,
7192
7192
  y.value
7193
- ), v = J(x1(k)), x = J(k), C = J(k.hour === null || k.hour < 12), P = b(
7193
+ ), v = J(x1(k)), x = J(k), S = J(k.hour === null || k.hour < 12), P = b(
7194
7194
  () => `q-time q-time--${i.landscape === !0 ? "landscape" : "portrait"}` + (o.value === !0 ? " q-time--dark q-dark" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-time--readonly" : "") + (i.bordered === !0 ? " q-time--bordered" : "") + (i.square === !0 ? " q-time--square no-border-radius" : "") + (i.flat === !0 ? " q-time--flat no-shadow" : "")
7195
7195
  ), T = b(() => {
7196
7196
  const Q = x.value;
7197
7197
  return {
7198
7198
  hour: Q.hour === null ? "--" : N.value === !0 ? Fe(Q.hour) : String(
7199
- C.value === !0 ? Q.hour === 0 ? 12 : Q.hour : Q.hour > 12 ? Q.hour - 12 : Q.hour
7199
+ S.value === !0 ? Q.hour === 0 ? 12 : Q.hour : Q.hour > 12 ? Q.hour - 12 : Q.hour
7200
7200
  ),
7201
7201
  minute: Q.minute === null ? "--" : Fe(Q.minute),
7202
7202
  second: Q.second === null ? "--" : Fe(Q.second)
@@ -7222,7 +7222,7 @@ const mg = Je({
7222
7222
  }), z = b(() => {
7223
7223
  let Q, $, xe = 0, Ce = 1;
7224
7224
  const Re = q.value !== null ? q.value.values : void 0;
7225
- v.value === "hour" ? N.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, C.value === !1 && (xe = 12)) : (Q = 0, $ = 55, Ce = 5);
7225
+ v.value === "hour" ? N.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, S.value === !1 && (xe = 12)) : (Q = 0, $ = 55, Ce = 5);
7226
7226
  const Ht = [];
7227
7227
  for (let De = Q, tt = Q; De <= $; De += Ce, tt++) {
7228
7228
  const Rt = De + xe, Vn = (Re == null ? void 0 : Re.includes(Rt)) === !1, gn = v.value === "hour" && De === 0 ? N.value === !0 ? "00" : "12" : De;
@@ -7247,7 +7247,7 @@ const mg = Je({
7247
7247
  i.calendar,
7248
7248
  y.value
7249
7249
  );
7250
- ($.dateHash !== x.value.dateHash || $.timeHash !== x.value.timeHash) && (x.value = $, $.hour === null ? v.value = "hour" : C.value = $.hour < 12);
7250
+ ($.dateHash !== x.value.dateHash || $.timeHash !== x.value.timeHash) && (x.value = $, $.hour === null ? v.value = "hour" : S.value = $.hour < 12);
7251
7251
  }), ve([p, g], () => {
7252
7252
  rt(() => {
7253
7253
  qe();
@@ -7299,7 +7299,7 @@ const mg = Je({
7299
7299
  return so(i.defaultDate, "YYYY/MM/DD", void 0, i.calendar);
7300
7300
  }
7301
7301
  function le() {
7302
- return vc(n) === !0 || q.value !== null && (q.value.values.length === 0 || v.value === "hour" && N.value !== !0 && F.value[C.value === !0 ? "am" : "pm"].values.length === 0);
7302
+ return vc(n) === !0 || q.value !== null && (q.value.values.length === 0 || v.value === "hour" && N.value !== !0 && F.value[S.value === !0 ? "am" : "pm"].values.length === 0);
7303
7303
  }
7304
7304
  function Be() {
7305
7305
  const Q = m.value, { top: $, left: xe, width: Ce } = Q.getBoundingClientRect(), Re = Ce / 2;
@@ -7328,14 +7328,14 @@ const mg = Je({
7328
7328
  let De, tt = Math.asin(Re / Ht) * (180 / Math.PI);
7329
7329
  if (Ce.top < $.top ? tt = $.left < Ce.left ? 90 - tt : 270 + tt : tt = $.left < Ce.left ? tt + 90 : 270 - tt, v.value === "hour") {
7330
7330
  if (De = tt / 30, F.value !== null) {
7331
- const Rt = N.value !== !0 ? C.value === !0 : F.value.am.values.length !== 0 && F.value.pm.values.length !== 0 ? Ht >= $.dist : F.value.am.values.length !== 0;
7331
+ const Rt = N.value !== !0 ? S.value === !0 : F.value.am.values.length !== 0 && F.value.pm.values.length !== 0 ? Ht >= $.dist : F.value.am.values.length !== 0;
7332
7332
  De = U(
7333
7333
  De + (Rt === !0 ? 0 : 12),
7334
7334
  F.value[Rt === !0 ? "am" : "pm"]
7335
7335
  );
7336
7336
  } else
7337
- De = Math.round(De), N.value === !0 ? Ht < $.dist ? De < 12 && (De += 12) : De === 12 && (De = 0) : C.value === !0 && De === 12 ? De = 0 : C.value === !1 && De !== 12 && (De += 12);
7338
- N.value === !0 && (C.value = De < 12);
7337
+ De = Math.round(De), N.value === !0 ? Ht < $.dist ? De < 12 && (De += 12) : De === 12 && (De = 0) : S.value === !0 && De === 12 ? De = 0 : S.value === !1 && De !== 12 && (De += 12);
7338
+ N.value === !0 && (S.value = De < 12);
7339
7339
  } else
7340
7340
  De = Math.round(tt / 6) % 60, v.value === "minute" && Y.value !== null ? De = U(De, Y.value) : v.value === "second" && M.value !== null && (De = U(De, M.value));
7341
7341
  return xe !== De && ye[v.value](De), De;
@@ -7369,7 +7369,7 @@ const mg = Je({
7369
7369
  else if ([37, 39].includes(Q.keyCode)) {
7370
7370
  const $ = Q.keyCode === 37 ? -1 : 1;
7371
7371
  if (F.value !== null) {
7372
- const xe = N.value === !0 ? F.value.values : F.value[C.value === !0 ? "am" : "pm"].values;
7372
+ const xe = N.value === !0 ? F.value.values : F.value[S.value === !0 ? "am" : "pm"].values;
7373
7373
  if (xe.length === 0) return;
7374
7374
  if (x.value.hour === null)
7375
7375
  Jt(xe[0]);
@@ -7378,7 +7378,7 @@ const mg = Je({
7378
7378
  Jt(xe[Ce]);
7379
7379
  }
7380
7380
  } else {
7381
- const xe = N.value === !0 ? 24 : 12, Ce = N.value !== !0 && C.value === !1 ? 12 : 0, Re = x.value.hour === null ? -$ : x.value.hour;
7381
+ const xe = N.value === !0 ? 24 : 12, Ce = N.value !== !0 && S.value === !1 ? 12 : 0, Re = x.value.hour === null ? -$ : x.value.hour;
7382
7382
  Jt(Ce + (24 + Re + $) % xe);
7383
7383
  }
7384
7384
  }
@@ -7438,10 +7438,10 @@ const mg = Je({
7438
7438
  second: X
7439
7439
  };
7440
7440
  function we() {
7441
- C.value === !1 && (C.value = !0, x.value.hour !== null && (x.value.hour -= 12, Oe()));
7441
+ S.value === !1 && (S.value = !0, x.value.hour !== null && (x.value.hour -= 12, Oe()));
7442
7442
  }
7443
7443
  function Ue() {
7444
- C.value === !0 && (C.value = !1, x.value.hour !== null && (x.value.hour += 12, Oe()));
7444
+ S.value === !0 && (S.value = !1, x.value.hour !== null && (x.value.hour += 12, Oe()));
7445
7445
  }
7446
7446
  function ze(Q) {
7447
7447
  const $ = i.modelValue;
@@ -7524,13 +7524,13 @@ const mg = Je({
7524
7524
  class: "q-time__header-ampm column items-between no-wrap"
7525
7525
  }, [
7526
7526
  A("div", {
7527
- class: "q-time__link " + (C.value === !0 ? "q-time__link--active" : "cursor-pointer"),
7527
+ class: "q-time__link " + (S.value === !0 ? "q-time__link--active" : "cursor-pointer"),
7528
7528
  tabindex: s.value,
7529
7529
  onClick: we,
7530
7530
  onKeyup: wt
7531
7531
  }, "AM"),
7532
7532
  A("div", {
7533
- class: "q-time__link " + (C.value !== !0 ? "q-time__link--active" : "cursor-pointer"),
7533
+ class: "q-time__link " + (S.value !== !0 ? "q-time__link--active" : "cursor-pointer"),
7534
7534
  tabindex: s.value,
7535
7535
  onClick: Ue,
7536
7536
  onKeyup: _t
@@ -7832,16 +7832,16 @@ const rf = /* @__PURE__ */ Kt(w1, [["render", C1], ["__file", "/Users/zachsherbo
7832
7832
  const k = t.schema["x-component-props"];
7833
7833
  return (k == null ? void 0 : k.timeMask) || ((x = (v = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : v.datetime) == null ? void 0 : x.timeMask) || "hh:mm A";
7834
7834
  }), d = b(() => a.value.mask || `${h.value} ${f.value}`), m = b(() => a.value.format24h || !1), p = b(() => a.value.withSeconds || !1), y = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, dateMask: h, timeMask: f, fullMask: d, use24Hour: m, withSeconds: p, setNow: () => {
7835
- const k = /* @__PURE__ */ new Date(), v = k.getFullYear(), x = String(k.getMonth() + 1).padStart(2, "0"), C = String(k.getDate()).padStart(2, "0");
7835
+ const k = /* @__PURE__ */ new Date(), v = k.getFullYear(), x = String(k.getMonth() + 1).padStart(2, "0"), S = String(k.getDate()).padStart(2, "0");
7836
7836
  if (m.value) {
7837
7837
  const P = String(k.getHours()).padStart(2, "0"), T = String(k.getMinutes()).padStart(2, "0");
7838
- n.value = `${v}-${x}-${C} ${P}:${T}`;
7838
+ n.value = `${v}-${x}-${S} ${P}:${T}`;
7839
7839
  } else {
7840
7840
  let P = k.getHours();
7841
7841
  const T = P >= 12 ? "PM" : "AM";
7842
7842
  P = P % 12 || 12;
7843
7843
  const N = String(k.getMinutes()).padStart(2, "0");
7844
- n.value = `${v}-${x}-${C} ${P}:${N} ${T}`;
7844
+ n.value = `${v}-${x}-${S} ${P}:${N} ${T}`;
7845
7845
  }
7846
7846
  }, get QInput() {
7847
7847
  return cr;
@@ -8096,7 +8096,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8096
8096
  toggle: c,
8097
8097
  show: a,
8098
8098
  hide: u
8099
- })), C = b(() => {
8099
+ })), S = b(() => {
8100
8100
  const M = i.toggleAriaLabel !== void 0 ? i.toggleAriaLabel : n.lang.label[o.value === !0 ? "collapse" : "expand"](i.label);
8101
8101
  return {
8102
8102
  role: "button",
@@ -8154,7 +8154,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8154
8154
  ];
8155
8155
  return v.value === !0 && (Object.assign(M, {
8156
8156
  tabindex: 0,
8157
- ...C.value,
8157
+ ...S.value,
8158
8158
  onClick: N,
8159
8159
  onKeyup: T
8160
8160
  }), q.unshift(
@@ -8193,7 +8193,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8193
8193
  };
8194
8194
  return y.value === !0 && (M.clickable = !0, M.onClick = P, Object.assign(
8195
8195
  M,
8196
- p.value === !0 ? g.value : C.value
8196
+ p.value === !0 ? g.value : S.value
8197
8197
  )), A(el, M, O);
8198
8198
  }
8199
8199
  function F() {
@@ -8291,11 +8291,14 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8291
8291
  schema: t.schema.properties[v],
8292
8292
  path: t.path ? `${t.path}.${v}` : v
8293
8293
  }));
8294
- const k = Object.entries(t.schema.properties);
8295
- return k.sort(([v, x], [C, P]) => {
8296
- const T = (x == null ? void 0 : x["x-field-order"]) ?? 999, N = (P == null ? void 0 : P["x-field-order"]) ?? 999;
8297
- return T !== N ? T - N : v.localeCompare(C);
8298
- }), k.map(([v, x]) => ({
8294
+ const k = Object.entries(t.schema.properties).map(
8295
+ ([v, x], S) => ({ key: v, schema: x, originalIndex: S })
8296
+ );
8297
+ return k.sort((v, x) => {
8298
+ var T, N;
8299
+ const S = ((T = v.schema) == null ? void 0 : T["x-field-order"]) ?? 999, P = ((N = x.schema) == null ? void 0 : N["x-field-order"]) ?? 999;
8300
+ return S !== P ? S - P : v.originalIndex - x.originalIndex;
8301
+ }), k.map(({ key: v, schema: x }) => ({
8299
8302
  key: v,
8300
8303
  schema: x,
8301
8304
  path: t.path ? `${t.path}.${v}` : v
@@ -8442,7 +8445,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8442
8445
  ],
8443
8446
  setup(i, { slots: e, emit: t, attrs: n }) {
8444
8447
  let r, o;
8445
- const s = je(), { proxy: { $q: l } } = s, a = J(null), u = J(!1), c = b(() => ll(i.anchor, l.lang.rtl)), h = b(() => ll(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Tr(), { registerTimeout: p } = Mo(), { transitionProps: g, transitionStyle: y } = kc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = zm(i, ne), { anchorEl: C, canShow: P, anchorEvents: T } = bc({ showing: u, configureAnchorEl: z }), { show: N, hide: V } = jl({
8448
+ const s = je(), { proxy: { $q: l } } = s, a = J(null), u = J(!1), c = b(() => ll(i.anchor, l.lang.rtl)), h = b(() => ll(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Tr(), { registerTimeout: p } = Mo(), { transitionProps: g, transitionStyle: y } = kc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = zm(i, ne), { anchorEl: S, canShow: P, anchorEvents: T } = bc({ showing: u, configureAnchorEl: z }), { show: N, hide: V } = jl({
8446
8449
  showing: u,
8447
8450
  canShow: P,
8448
8451
  handleShow: O,
@@ -8454,7 +8457,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8454
8457
  const { showPortal: R, hidePortal: D, renderPortal: E } = xc(s, a, w, "tooltip");
8455
8458
  if (l.platform.is.mobile === !0) {
8456
8459
  const H = {
8457
- anchorEl: C,
8460
+ anchorEl: S,
8458
8461
  innerRef: a,
8459
8462
  onClickOutside(G) {
8460
8463
  return V(G), G.target.classList.contains("q-dialog__backdrop") && ct(G), !0;
@@ -8494,7 +8497,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8494
8497
  wc({
8495
8498
  targetEl: a.value,
8496
8499
  offset: i.offset,
8497
- anchorEl: C.value,
8500
+ anchorEl: S.value,
8498
8501
  anchorOrigin: c.value,
8499
8502
  selfOrigin: h.value,
8500
8503
  maxHeight: i.maxHeight,
@@ -8504,7 +8507,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8504
8507
  function M(H) {
8505
8508
  if (l.platform.is.mobile === !0) {
8506
8509
  tl(), document.body.classList.add("non-selectable");
8507
- const U = C.value, G = ["touchmove", "touchcancel", "touchend", "click"].map((oe) => [U, oe, "delayHide", "passiveCapture"]);
8510
+ const U = S.value, G = ["touchmove", "touchcancel", "touchend", "click"].map((oe) => [U, oe, "delayHide", "passiveCapture"]);
8508
8511
  ln(T, "tooltipTemp", G);
8509
8512
  }
8510
8513
  p(() => {
@@ -8519,18 +8522,18 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8519
8522
  }, i.hideDelay);
8520
8523
  }
8521
8524
  function z() {
8522
- if (i.noParentEvent === !0 || C.value === null) return;
8525
+ if (i.noParentEvent === !0 || S.value === null) return;
8523
8526
  const H = l.platform.is.mobile === !0 ? [
8524
- [C.value, "touchstart", "delayShow", "passive"]
8527
+ [S.value, "touchstart", "delayShow", "passive"]
8525
8528
  ] : [
8526
- [C.value, "mouseenter", "delayShow", "passive"],
8527
- [C.value, "mouseleave", "delayHide", "passive"]
8529
+ [S.value, "mouseenter", "delayShow", "passive"],
8530
+ [S.value, "mouseleave", "delayHide", "passive"]
8528
8531
  ];
8529
8532
  ln(T, "anchor", H);
8530
8533
  }
8531
8534
  function ne() {
8532
- if (C.value !== null || i.scrollTarget !== void 0) {
8533
- k.value = Qm(C.value, i.scrollTarget);
8535
+ if (S.value !== null || i.scrollTarget !== void 0) {
8536
+ k.value = Qm(S.value, i.scrollTarget);
8534
8537
  const H = i.noParentEvent === !0 ? Y : V;
8535
8538
  v(k.value, H);
8536
8539
  }
@@ -8651,7 +8654,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8651
8654
  if (R === "up" && V === 0 || R === "down" && V === g.value.length - 1) return;
8652
8655
  const D = [...g.value], E = R === "up" ? V - 1 : V + 1, O = D[V];
8653
8656
  D[V] = D[E], D[E] = O, n.value = D;
8654
- }, C = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), P = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), N = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: y, addItem: k, removeItem: v, moveItem: x, canAdd: C, canRemove: P, getItemLabel: (V) => {
8657
+ }, S = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), P = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), N = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: y, addItem: k, removeItem: v, moveItem: x, canAdd: S, canRemove: P, getItemLabel: (V) => {
8655
8658
  var E;
8656
8659
  const R = t.schema["x-item-label"];
8657
8660
  if (R === "none" || R === !1)
@@ -9015,14 +9018,14 @@ const rx = /* @__PURE__ */ Pt({
9015
9018
  function x() {
9016
9019
  k.value.push({ key: "", value: "", id: y++ });
9017
9020
  }
9018
- function C(T) {
9021
+ function S(T) {
9019
9022
  k.value = k.value.filter((N) => N.id !== T);
9020
9023
  }
9021
9024
  const P = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, inputProps: c, fieldGap: h, formContext: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, isCenterPosition: g, get nextId() {
9022
9025
  return y;
9023
9026
  }, set nextId(T) {
9024
9027
  y = T;
9025
- }, pairs: k, isInternalUpdate: v, addPair: x, removePair: C, get QInput() {
9028
+ }, pairs: k, isInternalUpdate: v, addPair: x, removePair: S, get QInput() {
9026
9029
  return cr;
9027
9030
  }, get QBtn() {
9028
9031
  return It;
@@ -13980,10 +13983,10 @@ class Of extends Ke {
13980
13983
  break;
13981
13984
  let { fromA: a, toA: u, fromB: c, toB: h } = l, f, d, m, p;
13982
13985
  if (n && n.range.fromB < h && n.range.toB > c) {
13983
- let x = yo.build(this.view.state.doc, c, n.range.fromB, this.decorations, this.dynamicDecorationMap), C = yo.build(this.view.state.doc, n.range.toB, h, this.decorations, this.dynamicDecorationMap);
13984
- d = x.breakAtStart, m = x.openStart, p = C.openEnd;
13986
+ let x = yo.build(this.view.state.doc, c, n.range.fromB, this.decorations, this.dynamicDecorationMap), S = yo.build(this.view.state.doc, n.range.toB, h, this.decorations, this.dynamicDecorationMap);
13987
+ d = x.breakAtStart, m = x.openStart, p = S.openEnd;
13985
13988
  let P = this.compositionView(n);
13986
- C.breakAtStart ? P.breakAfter = 1 : C.content.length && P.merge(P.length, P.length, C.content[0], !1, C.openStart, 0) && (P.breakAfter = C.content[0].breakAfter, C.content.shift()), x.content.length && P.merge(0, 0, x.content[x.content.length - 1], !0, 0, x.openEnd) && x.content.pop(), f = x.content.concat(P).concat(C.content);
13989
+ S.breakAtStart ? P.breakAfter = 1 : S.content.length && P.merge(P.length, P.length, S.content[0], !1, S.openStart, 0) && (P.breakAfter = S.content[0].breakAfter, S.content.shift()), x.content.length && P.merge(0, 0, x.content[x.content.length - 1], !0, 0, x.openEnd) && x.content.pop(), f = x.content.concat(P).concat(S.content);
13987
13990
  } else
13988
13991
  ({ content: f, breakAtStart: d, openStart: m, openEnd: p } = yo.build(this.view.state.doc, c, h, this.decorations, this.dynamicDecorationMap));
13989
13992
  let { i: g, off: y } = o.findPos(u, 1), { i: k, off: v } = o.findPos(a, -1);
@@ -14453,11 +14456,11 @@ function pp(i, e, t, n = -1) {
14453
14456
  return 0;
14454
14457
  if (f > u)
14455
14458
  return i.state.doc.length;
14456
- for (let x = i.viewState.heightOracle.textHeight / 2, C = !1; a = i.elementAtHeight(f), a.type != ni.Text; )
14459
+ for (let x = i.viewState.heightOracle.textHeight / 2, S = !1; a = i.elementAtHeight(f), a.type != ni.Text; )
14457
14460
  for (; f = n > 0 ? a.bottom + x : a.top - x, !(f >= 0 && f <= u); ) {
14458
- if (C)
14461
+ if (S)
14459
14462
  return t ? null : 0;
14460
- C = !0, n = -n;
14463
+ S = !0, n = -n;
14461
14464
  }
14462
14465
  h = l + f;
14463
14466
  let d = a.from;
@@ -15926,8 +15929,8 @@ class Uf {
15926
15929
  this.contentDOMHeight = l.height, this.mustMeasureContent = !1;
15927
15930
  let u = 0, c = 0;
15928
15931
  if (l.width && l.height) {
15929
- let { scaleX: x, scaleY: C } = Ig(t, l);
15930
- (x > 5e-3 && Math.abs(this.scaleX - x) > 5e-3 || C > 5e-3 && Math.abs(this.scaleY - C) > 5e-3) && (this.scaleX = x, this.scaleY = C, u |= 16, s = a = !0);
15932
+ let { scaleX: x, scaleY: S } = Ig(t, l);
15933
+ (x > 5e-3 && Math.abs(this.scaleX - x) > 5e-3 || S > 5e-3 && Math.abs(this.scaleY - S) > 5e-3) && (this.scaleX = x, this.scaleY = S, u |= 16, s = a = !0);
15931
15934
  }
15932
15935
  let h = (parseInt(n.paddingTop) || 0) * this.scaleY, f = (parseInt(n.paddingBottom) || 0) * this.scaleY;
15933
15936
  (this.paddingTop != h || this.paddingBottom != f) && (this.paddingTop = h, this.paddingBottom = f, u |= 18), this.editorWidth != e.scrollDOM.clientWidth && (r.lineWrapping && (a = !0), this.editorWidth = e.scrollDOM.clientWidth, u |= 16);
@@ -15942,13 +15945,13 @@ class Uf {
15942
15945
  if ((this.contentDOMWidth != k || this.editorHeight != e.scrollDOM.clientHeight) && (this.contentDOMWidth = l.width, this.editorHeight = e.scrollDOM.clientHeight, u |= 16), a) {
15943
15946
  let x = e.docView.measureVisibleLineHeights(this.viewport);
15944
15947
  if (r.mustRefreshForHeights(x) && (s = !0), s || r.lineWrapping && Math.abs(k - this.contentDOMWidth) > r.charWidth) {
15945
- let { lineHeight: C, charWidth: P, textHeight: T } = e.docView.measureTextSize();
15946
- s = C > 0 && r.refresh(o, C, P, T, Math.max(5, k / P), x), s && (e.docView.minWidth = 0, u |= 16);
15948
+ let { lineHeight: S, charWidth: P, textHeight: T } = e.docView.measureTextSize();
15949
+ s = S > 0 && r.refresh(o, S, P, T, Math.max(5, k / P), x), s && (e.docView.minWidth = 0, u |= 16);
15947
15950
  }
15948
15951
  p > 0 && g > 0 ? c = Math.max(p, g) : p < 0 && g < 0 && (c = Math.min(p, g)), Wf();
15949
- for (let C of this.viewports) {
15950
- let P = C.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(C);
15951
- this.heightMap = (s ? ri.empty().applyChanges(this.stateDeco, Ne.empty, this.heightOracle, [new Ci(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(r, 0, s, new Yk(C.from, P));
15952
+ for (let S of this.viewports) {
15953
+ let P = S.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(S);
15954
+ this.heightMap = (s ? ri.empty().applyChanges(this.stateDeco, Ne.empty, this.heightOracle, [new Ci(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(r, 0, s, new Yk(S.from, P));
15952
15955
  }
15953
15956
  jr && (u |= 2);
15954
15957
  }
@@ -16051,13 +16054,13 @@ class Uf {
16051
16054
  if (p > 2e6)
16052
16055
  for (let P of e)
16053
16056
  P.from >= c.from && P.from < c.to && P.size != P.displaySize && P.from * this.heightOracle.charWidth + y < this.pixelViewport.left && (y = P.size - P.displaySize);
16054
- let k = this.pixelViewport.left + y, v = this.pixelViewport.right + y, x, C;
16057
+ let k = this.pixelViewport.left + y, v = this.pixelViewport.right + y, x, S;
16055
16058
  if (f != null) {
16056
16059
  let P = ks(h, f), T = ((v - k) / 2 + g) / p;
16057
- x = P - T, C = P + T;
16060
+ x = P - T, S = P + T;
16058
16061
  } else
16059
- x = (k - g) / p, C = (v + g) / p;
16060
- d = xs(h, x), m = xs(h, C);
16062
+ x = (k - g) / p, S = (v + g) / p;
16063
+ d = xs(h, x), m = xs(h, S);
16061
16064
  }
16062
16065
  d > c.from && a(c.from, d, c, h), m < c.to && a(m, c.to, c, h);
16063
16066
  };
@@ -17821,25 +17824,25 @@ function vw(i, e, t) {
17821
17824
  if (p && (i.lineWrapping || d.widgetLineBreaks) && (p = Zf(i, n, 1, p)), g && (i.lineWrapping || m.widgetLineBreaks) && (g = Zf(i, r, -1, g)), p && g && p.from == g.from && p.to == g.to)
17822
17825
  return k(v(t.from, t.to, p));
17823
17826
  {
17824
- let C = p ? v(t.from, null, p) : x(d, !1), P = g ? v(null, t.to, g) : x(m, !0), T = [];
17825
- return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < P.top ? T.push(y(h, C.bottom, f, P.top)) : C.bottom < P.top && i.elementAtHeight((C.bottom + P.top) / 2).type == ni.Text && (C.bottom = P.top = (C.bottom + P.top) / 2), k(C).concat(T).concat(k(P));
17827
+ let S = p ? v(t.from, null, p) : x(d, !1), P = g ? v(null, t.to, g) : x(m, !0), T = [];
17828
+ return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && S.bottom + i.defaultLineHeight / 2 < P.top ? T.push(y(h, S.bottom, f, P.top)) : S.bottom < P.top && i.elementAtHeight((S.bottom + P.top) / 2).type == ni.Text && (S.bottom = P.top = (S.bottom + P.top) / 2), k(S).concat(T).concat(k(P));
17826
17829
  }
17827
- function y(C, P, T, N) {
17828
- return new Zo(e, C - a.left, P - a.top, T - C, N - P);
17830
+ function y(S, P, T, N) {
17831
+ return new Zo(e, S - a.left, P - a.top, T - S, N - P);
17829
17832
  }
17830
- function k({ top: C, bottom: P, horizontal: T }) {
17833
+ function k({ top: S, bottom: P, horizontal: T }) {
17831
17834
  let N = [];
17832
17835
  for (let V = 0; V < T.length; V += 2)
17833
- N.push(y(T[V], C, T[V + 1], P));
17836
+ N.push(y(T[V], S, T[V + 1], P));
17834
17837
  return N;
17835
17838
  }
17836
- function v(C, P, T) {
17839
+ function v(S, P, T) {
17837
17840
  let N = 1e9, V = -1e9, R = [];
17838
17841
  function D(_, F, Y, M, q) {
17839
17842
  let z = i.coordsAtPos(_, _ == T.to ? -2 : 2), ne = i.coordsAtPos(Y, Y == T.from ? 2 : -2);
17840
17843
  !z || !ne || (N = Math.min(z.top, ne.top, N), V = Math.max(z.bottom, ne.bottom, V), q == st.LTR ? R.push(o && F ? h : z.left, o && M ? f : ne.right) : R.push(!o && M ? h : ne.left, !o && F ? f : z.right));
17841
17844
  }
17842
- let E = C ?? T.from, O = P ?? T.to;
17845
+ let E = S ?? T.from, O = P ?? T.to;
17843
17846
  for (let _ of i.visibleRanges)
17844
17847
  if (_.to > E && _.from < O)
17845
17848
  for (let F = Math.max(_.from, E), Y = Math.min(_.to, O); ; ) {
@@ -17848,15 +17851,15 @@ function vw(i, e, t) {
17848
17851
  let z = q.from + M.from, ne = q.to + M.from;
17849
17852
  if (z >= Y)
17850
17853
  break;
17851
- ne > F && D(Math.max(z, F), C == null && z <= E, Math.min(ne, Y), P == null && ne >= O, q.dir);
17854
+ ne > F && D(Math.max(z, F), S == null && z <= E, Math.min(ne, Y), P == null && ne >= O, q.dir);
17852
17855
  }
17853
17856
  if (F = M.to + 1, F >= Y)
17854
17857
  break;
17855
17858
  }
17856
- return R.length == 0 && D(E, C == null, O, P == null, i.textDirection), { top: N, bottom: V, horizontal: R };
17859
+ return R.length == 0 && D(E, S == null, O, P == null, i.textDirection), { top: N, bottom: V, horizontal: R };
17857
17860
  }
17858
- function x(C, P) {
17859
- let T = l.top + (P ? C.top : C.bottom);
17861
+ function x(S, P) {
17862
+ let T = l.top + (P ? S.top : S.bottom);
17860
17863
  return { top: T, bottom: T, horizontal: [] };
17861
17864
  }
17862
17865
  }
@@ -18547,13 +18550,13 @@ const Ia = /* @__PURE__ */ de.define({
18547
18550
  }
18548
18551
  let d = a.arrow ? u.dom.querySelector(".cm-tooltip-arrow") : null, m = d ? 7 : 0, p = f.right - f.left, g = (e = rd.get(u)) !== null && e !== void 0 ? e : f.bottom - f.top, y = u.offset || Xw, k = this.view.textDirection == st.LTR, v = f.width > n.right - n.left ? k ? n.left : n.right - f.width : k ? Math.max(n.left, Math.min(h.left - (d ? 14 : 0) + y.x, n.right - p)) : Math.min(Math.max(n.left, h.left - p + (d ? 14 : 0) - y.x), n.right - p), x = this.above[l];
18549
18552
  !a.strictSide && (x ? h.top - g - m - y.y < n.top : h.bottom + g + m + y.y > n.bottom) && x == n.bottom - h.bottom > h.top - n.top && (x = this.above[l] = !x);
18550
- let C = (x ? h.top - n.top : n.bottom - h.bottom) - m;
18551
- if (C < g && u.resize !== !1) {
18552
- if (C < this.view.defaultLineHeight) {
18553
+ let S = (x ? h.top - n.top : n.bottom - h.bottom) - m;
18554
+ if (S < g && u.resize !== !1) {
18555
+ if (S < this.view.defaultLineHeight) {
18553
18556
  c.style.top = Cs;
18554
18557
  continue;
18555
18558
  }
18556
- rd.set(u, g), c.style.height = (g = C) / o + "px";
18559
+ rd.set(u, g), c.style.height = (g = S) / o + "px";
18557
18560
  } else c.style.height && (c.style.height = "");
18558
18561
  let P = x ? h.top - g - m - y.y : h.bottom + m + y.y, T = v + p;
18559
18562
  if (u.overlap !== !0)
@@ -20365,12 +20368,12 @@ function Wc(i) {
20365
20368
  function xS(i) {
20366
20369
  var e;
20367
20370
  let { buffer: t, nodeSet: n, maxBufferLength: r = Up, reused: o = [], minRepeatType: s = n.types.length } = i, l = Array.isArray(t) ? new jc(t, t.length) : t, a = n.types, u = 0, c = 0;
20368
- function h(C, P, T, N, V, R) {
20371
+ function h(S, P, T, N, V, R) {
20369
20372
  let { id: D, start: E, end: O, size: _ } = l, F = c, Y = u;
20370
20373
  if (_ < 0)
20371
20374
  if (l.next(), _ == -1) {
20372
20375
  let I = o[D];
20373
- T.push(I), N.push(E - C);
20376
+ T.push(I), N.push(E - S);
20374
20377
  return;
20375
20378
  } else if (_ == -3) {
20376
20379
  u = D;
@@ -20380,12 +20383,12 @@ function xS(i) {
20380
20383
  return;
20381
20384
  } else
20382
20385
  throw new RangeError(`Unrecognized record size: ${_}`);
20383
- let M = a[D], q, z, ne = E - C;
20386
+ let M = a[D], q, z, ne = E - S;
20384
20387
  if (O - E <= r && (z = g(l.pos - P, V))) {
20385
20388
  let I = new Uint16Array(z.size - z.skip), w = l.pos - z.size, H = I.length;
20386
20389
  for (; l.pos > w; )
20387
20390
  H = y(z.start, I, H);
20388
- q = new Rn(I, O - z.start, n), ne = z.start - C;
20391
+ q = new Rn(I, O - z.start, n), ne = z.start - S;
20389
20392
  } else {
20390
20393
  let I = l.pos - _;
20391
20394
  l.next();
@@ -20400,7 +20403,7 @@ function xS(i) {
20400
20403
  }
20401
20404
  T.push(q), N.push(ne);
20402
20405
  }
20403
- function f(C, P, T, N) {
20406
+ function f(S, P, T, N) {
20404
20407
  let V = [], R = 0, D = -1;
20405
20408
  for (; l.pos > P; ) {
20406
20409
  let { id: E, start: O, end: _, size: F } = l;
@@ -20416,27 +20419,27 @@ function xS(i) {
20416
20419
  let E = new Uint16Array(R * 4), O = V[V.length - 2];
20417
20420
  for (let _ = V.length - 3, F = 0; _ >= 0; _ -= 3)
20418
20421
  E[F++] = V[_], E[F++] = V[_ + 1] - O, E[F++] = V[_ + 2] - O, E[F++] = F;
20419
- T.push(new Rn(E, V[2] - O, n)), N.push(O - C);
20422
+ T.push(new Rn(E, V[2] - O, n)), N.push(O - S);
20420
20423
  }
20421
20424
  }
20422
- function d(C, P) {
20425
+ function d(S, P) {
20423
20426
  return (T, N, V) => {
20424
20427
  let R = 0, D = T.length - 1, E, O;
20425
20428
  if (D >= 0 && (E = T[D]) instanceof bt) {
20426
- if (!D && E.type == C && E.length == V)
20429
+ if (!D && E.type == S && E.length == V)
20427
20430
  return E;
20428
20431
  (O = E.prop(Pe.lookAhead)) && (R = N[D] + E.length + O);
20429
20432
  }
20430
- return p(C, T, N, V, R, P);
20433
+ return p(S, T, N, V, R, P);
20431
20434
  };
20432
20435
  }
20433
- function m(C, P, T, N, V, R, D, E, O) {
20436
+ function m(S, P, T, N, V, R, D, E, O) {
20434
20437
  let _ = [], F = [];
20435
- for (; C.length > N; )
20436
- _.push(C.pop()), F.push(P.pop() + T - V);
20437
- C.push(p(n.types[D], _, F, R - V, E - R, O)), P.push(V - T);
20438
+ for (; S.length > N; )
20439
+ _.push(S.pop()), F.push(P.pop() + T - V);
20440
+ S.push(p(n.types[D], _, F, R - V, E - R, O)), P.push(V - T);
20438
20441
  }
20439
- function p(C, P, T, N, V, R, D) {
20442
+ function p(S, P, T, N, V, R, D) {
20440
20443
  if (R) {
20441
20444
  let E = [Pe.contextHash, R];
20442
20445
  D = D ? [E].concat(D) : [E];
@@ -20445,11 +20448,11 @@ function xS(i) {
20445
20448
  let E = [Pe.lookAhead, V];
20446
20449
  D = D ? [E].concat(D) : [E];
20447
20450
  }
20448
- return new bt(C, P, T, N, D);
20451
+ return new bt(S, P, T, N, D);
20449
20452
  }
20450
- function g(C, P) {
20453
+ function g(S, P) {
20451
20454
  let T = l.fork(), N = 0, V = 0, R = 0, D = T.end - r, E = { size: 0, start: 0, skip: 0 };
20452
- e: for (let O = T.pos - C; T.pos > O; ) {
20455
+ e: for (let O = T.pos - S; T.pos > O; ) {
20453
20456
  let _ = T.size;
20454
20457
  if (T.id == P && _ >= 0) {
20455
20458
  E.size = N, E.start = V, E.skip = R, R += 4, N += 4, T.next();
@@ -20470,18 +20473,18 @@ function xS(i) {
20470
20473
  }
20471
20474
  V = M, N += _, R += Y;
20472
20475
  }
20473
- return (P < 0 || N == C) && (E.size = N, E.start = V, E.skip = R), E.size > 4 ? E : void 0;
20476
+ return (P < 0 || N == S) && (E.size = N, E.start = V, E.skip = R), E.size > 4 ? E : void 0;
20474
20477
  }
20475
- function y(C, P, T) {
20478
+ function y(S, P, T) {
20476
20479
  let { id: N, start: V, end: R, size: D } = l;
20477
20480
  if (l.next(), D >= 0 && N < s) {
20478
20481
  let E = T;
20479
20482
  if (D > 4) {
20480
20483
  let O = l.pos - (D - 4);
20481
20484
  for (; l.pos > O; )
20482
- T = y(C, P, T);
20485
+ T = y(S, P, T);
20483
20486
  }
20484
- P[--T] = E, P[--T] = R - C, P[--T] = V - C, P[--T] = N;
20487
+ P[--T] = E, P[--T] = R - S, P[--T] = V - S, P[--T] = N;
20485
20488
  } else D == -3 ? u = N : D == -4 && (c = N);
20486
20489
  return T;
20487
20490
  }
@@ -20519,7 +20522,7 @@ function Qc(i, e, t, n, r, o, s, l, a) {
20519
20522
  ), h = [], f = [];
20520
20523
  function d(m, p, g, y, k) {
20521
20524
  for (let v = g; v < y; ) {
20522
- let x = v, C = p[v], P = Gs(i, m[v]);
20525
+ let x = v, S = p[v], P = Gs(i, m[v]);
20523
20526
  for (v++; v < y; v++) {
20524
20527
  let T = Gs(i, m[v]);
20525
20528
  if (P + T >= c)
@@ -20534,10 +20537,10 @@ function Qc(i, e, t, n, r, o, s, l, a) {
20534
20537
  }
20535
20538
  h.push(m[x]);
20536
20539
  } else {
20537
- let T = p[v - 1] + m[v - 1].length - C;
20538
- h.push(Qc(i, m, p, x, v, C, T, null, a));
20540
+ let T = p[v - 1] + m[v - 1].length - S;
20541
+ h.push(Qc(i, m, p, x, v, S, T, null, a));
20539
20542
  }
20540
- f.push(C + k - o);
20543
+ f.push(S + k - o);
20541
20544
  }
20542
20545
  }
20543
20546
  return d(e, t, n, r, 0), (l || a)(h, f, s);
@@ -20853,9 +20856,9 @@ class TS {
20853
20856
  if (f && f.overlay) {
20854
20857
  let d = e.node.enter(f.overlay[0].from + l, 1), m = this.highlighters.filter((g) => !g.scope || g.scope(f.tree.type)), p = e.firstChild();
20855
20858
  for (let g = 0, y = l; ; g++) {
20856
- let k = g < f.overlay.length ? f.overlay[g] : null, v = k ? k.from + l : a, x = Math.max(t, y), C = Math.min(n, v);
20857
- if (x < C && p)
20858
- for (; e.from < C && (this.highlightRange(e, x, C, r, o), this.startSpan(Math.min(C, e.to), u), !(e.to >= v || !e.nextSibling())); )
20859
+ let k = g < f.overlay.length ? f.overlay[g] : null, v = k ? k.from + l : a, x = Math.max(t, y), S = Math.min(n, v);
20860
+ if (x < S && p)
20861
+ for (; e.from < S && (this.highlightRange(e, x, S, r, o), this.startSpan(Math.min(S, e.to), u), !(e.to >= v || !e.nextSibling())); )
20859
20862
  ;
20860
20863
  if (!k || v > n)
20861
20864
  break;
@@ -24296,10 +24299,10 @@ class dA {
24296
24299
  }
24297
24300
  let c = 0, h = 0, f = !1, d = 0, m = -1, p = -1, g = /[a-z]/.test(e), y = !0;
24298
24301
  for (let k = 0, v = Math.min(e.length, 200), x = 0; k < v && h < a; ) {
24299
- let C = oi(e, k);
24300
- l < 0 && (c < a && C == t[c] && (o[c++] = k), d < a && (C == t[d] || C == n[d] ? (d == 0 && (m = k), p = k + 1, d++) : d = 0));
24301
- let P, T = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (P = Tc(C)) != P.toLowerCase() ? 1 : P != P.toUpperCase() ? 2 : 0;
24302
- (!k || T == 1 && g || x == 0 && T != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = T, k += ji(C);
24302
+ let S = oi(e, k);
24303
+ l < 0 && (c < a && S == t[c] && (o[c++] = k), d < a && (S == t[d] || S == n[d] ? (d == 0 && (m = k), p = k + 1, d++) : d = 0));
24304
+ let P, T = S < 255 ? S >= 48 && S <= 57 || S >= 97 && S <= 122 ? 2 : S >= 65 && S <= 90 ? 1 : 0 : (P = Tc(S)) != P.toLowerCase() ? 1 : P != P.toUpperCase() ? 2 : 0;
24305
+ (!k || T == 1 && g || x == 0 && T != 0) && (t[h] == S || n[h] == S && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = T, k += ji(S);
24303
24306
  }
24304
24307
  return h == a && s[0] == 0 && y ? this.result(-100 + (f ? -200 : 0), s, e) : d == a && m == 0 ? this.ret(-200 - e.length + (p == e.length ? 0 : -100), [0, p]) : l > -1 ? this.ret(-700 - e.length, [l, l + this.pattern.length]) : d == a ? this.ret(-900 - e.length, [m, p]) : h == a ? this.result(-100 + (f ? -200 : 0) + -700 + (y ? 0 : -1100), s, e) : t.length == 2 ? null : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
24305
24308
  }
@@ -25358,7 +25361,7 @@ class Kn {
25358
25361
  diagnostics: l.slice()
25359
25362
  }));
25360
25363
  else {
25361
- let v = l.reduce((x, C) => C.markClass ? x + " " + C.markClass : x, "");
25364
+ let v = l.reduce((x, S) => S.markClass ? x + " " + S.markClass : x, "");
25362
25365
  s.add(p, g, ke.mark({
25363
25366
  class: "cm-lintRange cm-lintRange-" + k + v,
25364
25367
  diagnostics: l.slice(),
@@ -27635,7 +27638,7 @@ const VO = "#e5c07b", im = "#e06c75", FO = "#56b6c2", NO = "#ffffff", $s = "#abb
27635
27638
  var _, F;
27636
27639
  const O = t.schema["x-json-lint-gutter"];
27637
27640
  return O !== void 0 ? O : ((F = (_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.jsoneditor) == null ? void 0 : F.lintGutter) ?? !1;
27638
- }), C = b(() => {
27641
+ }), S = b(() => {
27639
27642
  var _, F;
27640
27643
  const O = t.schema["x-json-tab-size"];
27641
27644
  return O !== void 0 ? O : ((F = (_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.jsoneditor) == null ? void 0 : F.tabSize) ?? 2;
@@ -27689,7 +27692,7 @@ const VO = "#e5c07b", im = "#e06c75", FO = "#56b6c2", NO = "#ffffff", $s = "#abb
27689
27692
  m.value = F.message;
27690
27693
  }
27691
27694
  }
27692
- const E = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: C, indentWithTab: P, formatKey: T, extensions: N, displayError: V, editorKey: R, handleChange: D, get Codemirror() {
27695
+ const E = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: S, indentWithTab: P, formatKey: T, extensions: N, displayError: V, editorKey: R, handleChange: D, get Codemirror() {
27693
27696
  return wO;
27694
27697
  } };
27695
27698
  return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
@@ -27820,7 +27823,7 @@ const lm = /* @__PURE__ */ Kt(GO, [["render", nT], ["__file", "/Users/zachsherbo
27820
27823
  autocomplete: k,
27821
27824
  autocompleteThreshold: v,
27822
27825
  useInput: x,
27823
- fillInput: C,
27826
+ fillInput: S,
27824
27827
  hideSelected: P,
27825
27828
  ...T
27826
27829
  } = y;
@@ -27832,11 +27835,11 @@ const lm = /* @__PURE__ */ Kt(GO, [["render", nT], ["__file", "/Users/zachsherbo
27832
27835
  const k = Array.isArray(y) ? (x = y[0]) == null ? void 0 : x.enum : y.enum;
27833
27836
  if (!k) return [];
27834
27837
  const v = y["x-enum-labels"];
27835
- return k.map((C) => {
27836
- let P = String(C);
27837
- return v && C in v && (P = v[C]), {
27838
+ return k.map((S) => {
27839
+ let P = String(S);
27840
+ return v && S in v && (P = v[S]), {
27838
27841
  label: P,
27839
- value: C
27842
+ value: S
27840
27843
  };
27841
27844
  });
27842
27845
  }), d = J([]);
@@ -28030,7 +28033,7 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28030
28033
  "onUpdate:modelValue": [Function, Array]
28031
28034
  },
28032
28035
  setup(i, { slots: e, emit: t }) {
28033
- const { proxy: n } = je(), { $q: r } = n, { registerTick: o } = Tr(), { registerTick: s } = Tr(), { registerTick: l } = Tr(), { registerTimeout: a, removeTimeout: u } = Mo(), { registerTimeout: c, removeTimeout: h } = Mo(), f = J(null), d = J(null), m = J(i.modelValue), p = J(!1), g = J(!0), y = J(!1), k = J(!1), v = [], x = J(0), C = J(!1);
28036
+ const { proxy: n } = je(), { $q: r } = n, { registerTick: o } = Tr(), { registerTick: s } = Tr(), { registerTick: l } = Tr(), { registerTimeout: a, removeTimeout: u } = Mo(), { registerTimeout: c, removeTimeout: h } = Mo(), f = J(null), d = J(null), m = J(i.modelValue), p = J(!1), g = J(!0), y = J(!1), k = J(!1), v = [], x = J(0), S = J(!1);
28034
28037
  let P = null, T = null, N;
28035
28038
  const V = b(() => ({
28036
28039
  activeClass: i.activeClass,
@@ -28203,14 +28206,14 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28203
28206
  M({ name: X, setCurrent: !0 });
28204
28207
  }
28205
28208
  function Qe(X) {
28206
- if (u(), C.value !== !0 && f.value !== null && X.target && typeof X.target.closest == "function") {
28209
+ if (u(), S.value !== !0 && f.value !== null && X.target && typeof X.target.closest == "function") {
28207
28210
  const ye = X.target.closest(".q-tab");
28208
- ye && f.value.contains(ye) === !0 && (C.value = !0, p.value === !0 && I(ye));
28211
+ ye && f.value.contains(ye) === !0 && (S.value = !0, p.value === !0 && I(ye));
28209
28212
  }
28210
28213
  }
28211
28214
  function wt() {
28212
28215
  a(() => {
28213
- C.value = !1;
28216
+ S.value = !1;
28214
28217
  }, 30);
28215
28218
  }
28216
28219
  function _t() {
@@ -28238,7 +28241,7 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28238
28241
  const vi = {
28239
28242
  currentModel: m,
28240
28243
  tabProps: V,
28241
- hasFocus: C,
28244
+ hasFocus: S,
28242
28245
  hasActiveTab: R,
28243
28246
  registerTab: Bt,
28244
28247
  unregisterTab: dt,
@@ -28323,8 +28326,8 @@ function gT(i, e, t, n) {
28323
28326
  () => "q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable " + (r.tabProps.value.inlineLabel === !0 ? "row no-wrap q-tab__content--inline" : "column") + (i.contentClass !== void 0 ? ` ${i.contentClass}` : "")
28324
28327
  ), d = b(() => i.disable === !0 || r.hasFocus.value === !0 || c.value === !1 && r.hasActiveTab.value === !0 ? -1 : i.tabindex || 0);
28325
28328
  function m(v, x) {
28326
- var C;
28327
- if (x !== !0 && (v == null ? void 0 : v.qAvoidFocus) !== !0 && ((C = s.value) == null || C.focus()), i.disable !== !0) {
28329
+ var S;
28330
+ if (x !== !0 && (v == null ? void 0 : v.qAvoidFocus) !== !0 && ((S = s.value) == null || S.focus()), i.disable !== !0) {
28328
28331
  r.updateModel({ name: i.name }), t("click", v);
28329
28332
  return;
28330
28333
  }
@@ -28333,7 +28336,7 @@ function gT(i, e, t, n) {
28333
28336
  cn(v, [13, 32]) ? m(v, !0) : Nl(v) !== !0 && v.keyCode >= 35 && v.keyCode <= 40 && v.altKey !== !0 && v.metaKey !== !0 && r.onKbdNavigate(v.keyCode, o.$el) === !0 && ct(v), t("keydown", v);
28334
28337
  }
28335
28338
  function g() {
28336
- const v = r.tabProps.value.narrowIndicator, x = [], C = A("div", {
28339
+ const v = r.tabProps.value.narrowIndicator, x = [], S = A("div", {
28337
28340
  ref: a,
28338
28341
  class: [
28339
28342
  "q-tab__indicator",
@@ -28355,12 +28358,12 @@ function gT(i, e, t, n) {
28355
28358
  }) : A("div", {
28356
28359
  class: "q-tab__alert" + (i.alert !== !0 ? ` text-${i.alert}` : "")
28357
28360
  })
28358
- ), v === !0 && x.push(C);
28361
+ ), v === !0 && x.push(S);
28359
28362
  const P = [
28360
28363
  A("div", { class: "q-focus-helper", tabindex: -1, ref: s }),
28361
28364
  A("div", { class: f.value }, wn(e.default, x))
28362
28365
  ];
28363
- return v === !1 && P.push(C), P;
28366
+ return v === !1 && P.push(S), P;
28364
28367
  }
28365
28368
  const y = {
28366
28369
  name: b(() => i.name),
@@ -28374,7 +28377,7 @@ function gT(i, e, t, n) {
28374
28377
  r.registerTab(y);
28375
28378
  });
28376
28379
  function k(v, x) {
28377
- const C = {
28380
+ const S = {
28378
28381
  ref: l,
28379
28382
  class: h.value,
28380
28383
  tabindex: d.value,
@@ -28386,7 +28389,7 @@ function gT(i, e, t, n) {
28386
28389
  ...x
28387
28390
  };
28388
28391
  return Ln(
28389
- A(v, C, g()),
28392
+ A(v, S, g()),
28390
28393
  [[pc, u.value]]
28391
28394
  );
28392
28395
  }
@@ -28488,7 +28491,7 @@ const pT = Je({
28488
28491
  return M;
28489
28492
  const q = (ne = (z = c == null ? void 0 : c.componentDefaults) == null ? void 0 : z.oneOf) == null ? void 0 : ne.displayStyle;
28490
28493
  return q || (f.value.length <= 4 ? "tabs" : "dropdown");
28491
- }), C = b(() => {
28494
+ }), S = b(() => {
28492
28495
  const M = f.value[0];
28493
28496
  if (!(M != null && M.properties)) return null;
28494
28497
  for (const [q, z] of Object.entries(M.properties))
@@ -28497,7 +28500,7 @@ const pT = Je({
28497
28500
  return null;
28498
28501
  }), P = (M) => {
28499
28502
  var z;
28500
- const q = C.value;
28503
+ const q = S.value;
28501
28504
  return !q || !((z = M == null ? void 0 : M.properties) != null && z[q]) ? null : M.properties[q].const ?? null;
28502
28505
  }, T = (M, q) => {
28503
28506
  const z = t.schema["x-oneof-labels"];
@@ -28564,7 +28567,7 @@ const pT = Je({
28564
28567
  ve(d, (M, q) => {
28565
28568
  m.value && M !== q && _(M);
28566
28569
  });
28567
- const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: y, activeProperties: k, shouldRenderPropertiesInline: v, displayStyle: x, discriminatorField: C, getDiscriminatorValue: P, getOptionLabel: T, activeOptionDescription: N, allSelectOptions: V, selectLabel: R, filteredOptions: D, useFilter: E, filterFn: O, applySchemaDefaults: _, handleOptionChange: (M) => {
28570
+ const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: y, activeProperties: k, shouldRenderPropertiesInline: v, displayStyle: x, discriminatorField: S, getDiscriminatorValue: P, getOptionLabel: T, activeOptionDescription: N, allSelectOptions: V, selectLabel: R, filteredOptions: D, useFilter: E, filterFn: O, applySchemaDefaults: _, handleOptionChange: (M) => {
28568
28571
  d.value = M;
28569
28572
  }, get QCard() {
28570
28573
  return Oc;
@@ -29183,7 +29186,7 @@ const IT = /* @__PURE__ */ Pt({
29183
29186
  function x(w) {
29184
29187
  w.push(Tn()), v();
29185
29188
  }
29186
- function C(w) {
29189
+ function S(w) {
29187
29190
  w.push(LT()), v();
29188
29191
  }
29189
29192
  function P(w, H) {
@@ -29306,7 +29309,7 @@ const IT = /* @__PURE__ */ Pt({
29306
29309
  }
29307
29310
  H && N(w, H);
29308
29311
  }
29309
- const I = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: P, updateConditionLeft: T, updateConditionOperator: N, updateConditionRight: V, updateGroupLogic: R, toggleAdvancedMode: D, handleJsonChange: E, operatorDisplayMode: O, leftPlaceholder: _, rightPlaceholder: F, allowedOperators: Y, operatorOptions: M, filteredOperatorOptions: q, filterOperators: z, handleOperatorInput: ne, get QBtn() {
29312
+ const I = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: S, removeCondition: P, updateConditionLeft: T, updateConditionOperator: N, updateConditionRight: V, updateGroupLogic: R, toggleAdvancedMode: D, handleJsonChange: E, operatorDisplayMode: O, leftPlaceholder: _, rightPlaceholder: F, allowedOperators: Y, operatorOptions: M, filteredOperatorOptions: q, filterOperators: z, handleOperatorInput: ne, get QBtn() {
29310
29313
  return It;
29311
29314
  }, get QSelect() {
29312
29315
  return Uo;
@@ -30142,7 +30145,7 @@ const d2 = /* @__PURE__ */ Kt(IT, [["render", f2], ["__scopeId", "data-v-722c2e2
30142
30145
  const R = d.value.separator, D = typeof R == "string" ? new RegExp(R) : R;
30143
30146
  return V.split(D).map((E) => E.trim()).filter((E) => E.length > 0);
30144
30147
  }
30145
- function C(V, R) {
30148
+ function S(V, R) {
30146
30149
  const D = x(V);
30147
30150
  if (D.length === 0) {
30148
30151
  R();
@@ -30167,7 +30170,7 @@ const d2 = /* @__PURE__ */ Kt(IT, [["render", f2], ["__scopeId", "data-v-722c2e2
30167
30170
  const R = Array.isArray(n.value) ? n.value : [];
30168
30171
  r(R.filter((D) => D !== V));
30169
30172
  }
30170
- const N = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: C, filterFn: P, removeValue: T, get QSelect() {
30173
+ const N = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: S, filterFn: P, removeValue: T, get QSelect() {
30171
30174
  return Uo;
30172
30175
  }, get QChip() {
30173
30176
  return Lm;