@quickflo/quickforms-quasar 1.7.2 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -122,8 +122,8 @@ const va = "0 0 24 24", ml = (e) => e, hl = (e) => `ionicons ${e}`, io = {
122
122
  svg: !0,
123
123
  viewBox: v,
124
124
  nodes: s.split("&&").map((b) => {
125
- const [g, q, x] = b.split("@@");
126
- return m("path", { style: q, d: g, transform: x });
125
+ const [g, S, q] = b.split("@@");
126
+ return m("path", { style: S, d: g, transform: q });
127
127
  })
128
128
  };
129
129
  }
@@ -476,7 +476,7 @@ const Jr = [!0, !1, "ondemand"], $r = {
476
476
  };
477
477
  function ei(e, n) {
478
478
  const { props: l, proxy: t } = Te(), a = N(!1), o = N(null), i = N(!1);
479
- Zr({ validate: x, resetValidation: q });
479
+ Zr({ validate: q, resetValidation: S });
480
480
  let r = 0, c;
481
481
  const d = u(
482
482
  () => l.rules !== void 0 && l.rules !== null && l.rules.length !== 0
@@ -489,50 +489,50 @@ function ei(e, n) {
489
489
  function g() {
490
490
  l.lazyRules !== "ondemand" && s.value === !0 && i.value === !0 && y();
491
491
  }
492
- ue(() => l.reactiveRules, (E) => {
493
- E === !0 ? c === void 0 && (c = ue(() => l.rules, g, { immediate: !0, deep: !0 })) : c !== void 0 && (c(), c = void 0);
494
- }, { immediate: !0 }), ue(() => l.lazyRules, g), ue(e, (E) => {
495
- E === !0 ? i.value = !0 : s.value === !0 && l.lazyRules !== "ondemand" && y();
492
+ ue(() => l.reactiveRules, (B) => {
493
+ B === !0 ? c === void 0 && (c = ue(() => l.rules, g, { immediate: !0, deep: !0 })) : c !== void 0 && (c(), c = void 0);
494
+ }, { immediate: !0 }), ue(() => l.lazyRules, g), ue(e, (B) => {
495
+ B === !0 ? i.value = !0 : s.value === !0 && l.lazyRules !== "ondemand" && y();
496
496
  });
497
- function q() {
497
+ function S() {
498
498
  r++, n.value = !1, i.value = !1, a.value = !1, o.value = null, y.cancel();
499
499
  }
500
- function x(E = l.modelValue) {
500
+ function q(B = l.modelValue) {
501
501
  if (l.disable === !0 || d.value === !1)
502
502
  return !0;
503
503
  const P = ++r, p = n.value !== !0 ? () => {
504
504
  i.value = !0;
505
505
  } : () => {
506
- }, w = (H, M) => {
507
- H === !0 && p(), a.value = H, o.value = M || null, n.value = !1;
508
- }, B = [];
509
- for (let H = 0; H < l.rules.length; H++) {
510
- const M = l.rules[H];
511
- let k;
512
- if (typeof M == "function" ? k = M(E, yl) : typeof M == "string" && yl[M] !== void 0 && (k = yl[M](E)), k === !1 || typeof k == "string")
513
- return w(!0, k), !1;
514
- k !== !0 && k !== void 0 && B.push(k);
515
- }
516
- return B.length === 0 ? (w(!1), !0) : (n.value = !0, Promise.all(B).then(
517
- (H) => {
518
- if (H === void 0 || Array.isArray(H) === !1 || H.length === 0)
506
+ }, w = (z, O) => {
507
+ z === !0 && p(), a.value = z, o.value = O || null, n.value = !1;
508
+ }, V = [];
509
+ for (let z = 0; z < l.rules.length; z++) {
510
+ const O = l.rules[z];
511
+ let T;
512
+ if (typeof O == "function" ? T = O(B, yl) : typeof O == "string" && yl[O] !== void 0 && (T = yl[O](B)), T === !1 || typeof T == "string")
513
+ return w(!0, T), !1;
514
+ T !== !0 && T !== void 0 && V.push(T);
515
+ }
516
+ return V.length === 0 ? (w(!1), !0) : (n.value = !0, Promise.all(V).then(
517
+ (z) => {
518
+ if (z === void 0 || Array.isArray(z) === !1 || z.length === 0)
519
519
  return P === r && w(!1), !0;
520
- const M = H.find((k) => k === !1 || typeof k == "string");
521
- return P === r && w(M !== void 0, M), M === void 0;
520
+ const O = z.find((T) => T === !1 || typeof T == "string");
521
+ return P === r && w(O !== void 0, O), O === void 0;
522
522
  },
523
- (H) => (P === r && (console.error(H), w(!0)), !1)
523
+ (z) => (P === r && (console.error(z), w(!0)), !1)
524
524
  ));
525
525
  }
526
- const y = ho(x, 0);
526
+ const y = ho(q, 0);
527
527
  return Ye(() => {
528
528
  c == null || c(), y.cancel();
529
- }), Object.assign(t, { resetValidation: q, validate: x }), _n(t, "hasError", () => v.value), {
529
+ }), Object.assign(t, { resetValidation: S, validate: q }), _n(t, "hasError", () => v.value), {
530
530
  isDirtyModel: i,
531
531
  hasRules: d,
532
532
  hasError: v,
533
533
  errorMessage: b,
534
- validate: x,
535
- resetValidation: q
534
+ validate: q,
535
+ resetValidation: S
536
536
  };
537
537
  }
538
538
  const Je = {
@@ -711,13 +711,13 @@ function Ul(e) {
711
711
  e.hasValue === void 0 && (e.hasValue = u(() => On(n.modelValue))), e.emitValue === void 0 && (e.emitValue = (D) => {
712
712
  l("update:modelValue", D);
713
713
  }), e.controlEvents === void 0 && (e.controlEvents = {
714
- onFocusin: j,
715
- onFocusout: O
714
+ onFocusin: H,
715
+ onFocusout: M
716
716
  }), Object.assign(e, {
717
- clearValue: T,
718
- onControlFocusin: j,
719
- onControlFocusout: O,
720
- focus: M
717
+ clearValue: x,
718
+ onControlFocusin: H,
719
+ onControlFocusout: M,
720
+ focus: O
721
721
  }), e.computedCounter === void 0 && (e.computedCounter = u(() => {
722
722
  if (n.counter !== !1) {
723
723
  const D = typeof n.modelValue == "string" || typeof n.modelValue == "number" ? ("" + n.modelValue).length : Array.isArray(n.modelValue) === !0 ? n.modelValue.length : 0, Z = n.maxlength !== void 0 ? n.maxlength : n.maxValues;
@@ -730,11 +730,11 @@ function Ul(e) {
730
730
  hasError: s,
731
731
  errorMessage: v,
732
732
  resetValidation: b
733
- } = ei(e.focused, e.innerLoading), g = e.floatingLabel !== void 0 ? u(() => n.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : u(() => n.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0), q = u(
733
+ } = ei(e.focused, e.innerLoading), g = e.floatingLabel !== void 0 ? u(() => n.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : u(() => n.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0), S = u(
734
734
  () => n.bottomSlots === !0 || n.hint !== void 0 || d.value === !0 || n.counter === !0 || n.error !== null
735
- ), x = u(() => n.filled === !0 ? "filled" : n.outlined === !0 ? "outlined" : n.borderless === !0 ? "borderless" : n.standout ? "standout" : "standard"), y = u(
736
- () => `q-field row no-wrap items-start q-field--${x.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (n.rounded === !0 ? " q-field--rounded" : "") + (n.square === !0 ? " q-field--square" : "") + (g.value === !0 ? " q-field--float" : "") + (P.value === !0 ? " q-field--labeled" : "") + (n.dense === !0 ? " q-field--dense" : "") + (n.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (s.value === !0 ? " q-field--error" : "") + (s.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (n.hideBottomSpace !== !0 && q.value === !0 ? " q-field--with-bottom" : "") + (n.disable === !0 ? " q-field--disabled" : n.readonly === !0 ? " q-field--readonly" : "")
737
- ), E = u(
735
+ ), q = u(() => n.filled === !0 ? "filled" : n.outlined === !0 ? "outlined" : n.borderless === !0 ? "borderless" : n.standout ? "standout" : "standard"), y = u(
736
+ () => `q-field row no-wrap items-start q-field--${q.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (n.rounded === !0 ? " q-field--rounded" : "") + (n.square === !0 ? " q-field--square" : "") + (g.value === !0 ? " q-field--float" : "") + (P.value === !0 ? " q-field--labeled" : "") + (n.dense === !0 ? " q-field--dense" : "") + (n.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (s.value === !0 ? " q-field--error" : "") + (s.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (n.hideBottomSpace !== !0 && S.value === !0 ? " q-field--with-bottom" : "") + (n.disable === !0 ? " q-field--disabled" : n.readonly === !0 ? " q-field--readonly" : "")
737
+ ), B = u(
738
738
  () => "q-field__control relative-position row no-wrap" + (n.bgColor !== void 0 ? ` bg-${n.bgColor}` : "") + (s.value === !0 ? " text-negative" : typeof n.standout == "string" && n.standout.length !== 0 && e.focused.value === !0 ? ` ${n.standout}` : n.color !== void 0 ? ` text-${n.color}` : "")
739
739
  ), P = u(
740
740
  () => n.labelSlot === !0 || n.label !== void 0
@@ -747,41 +747,41 @@ function Ul(e) {
747
747
  floatingLabel: g.value,
748
748
  modelValue: n.modelValue,
749
749
  emitValue: e.emitValue
750
- })), B = u(() => {
750
+ })), V = u(() => {
751
751
  const D = {};
752
752
  return e.targetUid.value && (D.for = e.targetUid.value), n.disable === !0 && (D["aria-disabled"] = "true"), D;
753
753
  });
754
- function H() {
754
+ function z() {
755
755
  var be;
756
756
  const D = document.activeElement;
757
757
  let Z = (be = e.targetRef) == null ? void 0 : be.value;
758
758
  Z && (D === null || D.id !== e.targetUid.value) && (Z.hasAttribute("tabindex") === !0 || (Z = Z.querySelector("[tabindex]")), Z !== D && (Z == null || Z.focus({ preventScroll: !0 })));
759
759
  }
760
- function M() {
761
- al(H);
760
+ function O() {
761
+ al(z);
762
762
  }
763
- function k() {
764
- ai(H);
763
+ function T() {
764
+ ai(z);
765
765
  const D = document.activeElement;
766
766
  D !== null && e.rootRef.value.contains(D) && D.blur();
767
767
  }
768
- function j(D) {
768
+ function H(D) {
769
769
  r !== null && (clearTimeout(r), r = null), e.editable.value === !0 && e.focused.value === !1 && (e.focused.value = !0, l("focus", D));
770
770
  }
771
- function O(D, Z) {
771
+ function M(D, Z) {
772
772
  r !== null && clearTimeout(r), r = setTimeout(() => {
773
773
  r = null, !(document.hasFocus() === !0 && (e.hasPopupOpen === !0 || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement) !== !1)) && (e.focused.value === !0 && (e.focused.value = !1, l("blur", D)), Z == null || Z());
774
774
  });
775
775
  }
776
- function T(D) {
776
+ function x(D) {
777
777
  var Z;
778
778
  Qe(D), i.platform.is.mobile !== !0 ? (((Z = e.targetRef) == null ? void 0 : Z.value) || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), n.type === "file" && (e.inputRef.value.value = null), l("update:modelValue", null), e.changeEvent === !0 && l("change", null), l("clear", n.modelValue), Re(() => {
779
779
  const be = c.value;
780
780
  b(), c.value = be;
781
781
  });
782
782
  }
783
- function V(D) {
784
- [13, 32].includes(D.keyCode) && T(D);
783
+ function E(D) {
784
+ [13, 32].includes(D.keyCode) && x(D);
785
785
  }
786
786
  function A() {
787
787
  const D = [];
@@ -813,8 +813,8 @@ function Ul(e) {
813
813
  role: "button",
814
814
  "aria-hidden": "false",
815
815
  "aria-label": i.lang.label.clear,
816
- onKeyup: V,
817
- onClick: T
816
+ onKeyup: E,
817
+ onClick: x
818
818
  })
819
819
  ])
820
820
  ), t.append !== void 0 && D.push(
@@ -855,7 +855,7 @@ function Ul(e) {
855
855
  }, n.suffix)
856
856
  ), D.concat(et(t.default));
857
857
  }
858
- function z() {
858
+ function j() {
859
859
  let D, Z;
860
860
  s.value === !0 ? v.value !== null ? (D = [m("div", { role: "alert" }, v.value)], Z = `q--slot-error-${v.value}`) : (D = et(t.error), Z = "q--slot-error") : (n.hideHint !== !0 || e.focused.value === !0) && (n.hint !== void 0 ? (D = [m("div", n.hint)], Z = `q--slot-hint-${n.hint}`) : (D = et(t.hint), Z = "q--slot-hint"));
861
861
  const be = n.counter === !0 || t.counter !== void 0;
@@ -889,12 +889,12 @@ function Ul(e) {
889
889
  o.focus();
890
890
  }), Ye(() => {
891
891
  r !== null && clearTimeout(r);
892
- }), Object.assign(o, { focus: M, blur: k }), function() {
892
+ }), Object.assign(o, { focus: O, blur: T }), function() {
893
893
  const Z = e.getControl === void 0 && t.control === void 0 ? {
894
894
  ...e.splitAttrs.attributes.value,
895
895
  "data-autofocus": n.autofocus === !0 || void 0,
896
- ...B.value
897
- } : B.value;
896
+ ...V.value
897
+ } : V.value;
898
898
  return m(e.tag.value, {
899
899
  ref: e.rootRef,
900
900
  class: [
@@ -913,11 +913,11 @@ function Ul(e) {
913
913
  }, [
914
914
  m("div", {
915
915
  ref: e.controlRef,
916
- class: E.value,
916
+ class: B.value,
917
917
  tabindex: -1,
918
918
  ...e.controlEvents
919
919
  }, A()),
920
- q.value === !0 ? z() : null
920
+ S.value === !0 ? j() : null
921
921
  ]),
922
922
  t.after !== void 0 ? m("div", {
923
923
  class: "q-field__after q-field__marginal row no-wrap items-center",
@@ -976,114 +976,114 @@ function si(e, n, l, t) {
976
976
  tokenMap: qa,
977
977
  tokenRegexMask: ii
978
978
  };
979
- const { tokenMap: O } = bo(e.maskTokens), T = {
979
+ const { tokenMap: M } = bo(e.maskTokens), x = {
980
980
  ...qa,
981
- ...O
981
+ ...M
982
982
  };
983
983
  return {
984
- tokenMap: T,
985
- tokenRegexMask: yo(Object.keys(T))
984
+ tokenMap: x,
985
+ tokenRegexMask: yo(Object.keys(x))
986
986
  };
987
- }), v = N(null), b = N(q());
987
+ }), v = N(null), b = N(S());
988
988
  function g() {
989
989
  return e.autogrow === !0 || ["textarea", "text", "search", "url", "tel", "password"].includes(e.type);
990
990
  }
991
- ue(() => e.type + e.autogrow, y), ue(() => e.mask, (O) => {
992
- if (O !== void 0)
993
- E(b.value, !0);
991
+ ue(() => e.type + e.autogrow, y), ue(() => e.mask, (M) => {
992
+ if (M !== void 0)
993
+ B(b.value, !0);
994
994
  else {
995
- const T = k(b.value);
996
- y(), e.modelValue !== T && n("update:modelValue", T);
995
+ const x = T(b.value);
996
+ y(), e.modelValue !== x && n("update:modelValue", x);
997
997
  }
998
998
  }), ue(() => e.fillMask + e.reverseFillMask, () => {
999
- v.value === !0 && E(b.value, !0);
999
+ v.value === !0 && B(b.value, !0);
1000
1000
  }), ue(() => e.unmaskedValue, () => {
1001
- v.value === !0 && E(b.value);
1001
+ v.value === !0 && B(b.value);
1002
1002
  });
1003
- function q() {
1003
+ function S() {
1004
1004
  if (y(), v.value === !0) {
1005
- const O = H(k(e.modelValue));
1006
- return e.fillMask !== !1 ? j(O) : O;
1005
+ const M = z(T(e.modelValue));
1006
+ return e.fillMask !== !1 ? H(M) : M;
1007
1007
  }
1008
1008
  return e.modelValue;
1009
1009
  }
1010
- function x(O) {
1011
- if (O < a.length)
1012
- return a.slice(-O);
1013
- let T = "", V = a;
1014
- const A = V.indexOf(Ge);
1010
+ function q(M) {
1011
+ if (M < a.length)
1012
+ return a.slice(-M);
1013
+ let x = "", E = a;
1014
+ const A = E.indexOf(Ge);
1015
1015
  if (A !== -1) {
1016
- for (let F = O - V.length; F > 0; F--)
1017
- T += Ge;
1018
- V = V.slice(0, A) + T + V.slice(A);
1016
+ for (let F = M - E.length; F > 0; F--)
1017
+ x += Ge;
1018
+ E = E.slice(0, A) + x + E.slice(A);
1019
1019
  }
1020
- return V;
1020
+ return E;
1021
1021
  }
1022
1022
  function y() {
1023
1023
  if (v.value = e.mask !== void 0 && e.mask.length !== 0 && g(), v.value === !1) {
1024
1024
  r = void 0, a = "", o = "";
1025
1025
  return;
1026
1026
  }
1027
- const O = Sa[e.mask] === void 0 ? e.mask : Sa[e.mask], T = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", V = T.replace(xa, "\\$&"), A = [], F = [], z = [];
1027
+ const M = Sa[e.mask] === void 0 ? e.mask : Sa[e.mask], x = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", E = x.replace(xa, "\\$&"), A = [], F = [], j = [];
1028
1028
  let G = e.reverseFillMask === !0, R = "", D = "";
1029
- O.replace(s.value.tokenRegexMask, (S, Y, W, ne, te) => {
1029
+ M.replace(s.value.tokenRegexMask, (k, Y, W, ne, te) => {
1030
1030
  if (ne !== void 0) {
1031
1031
  const $ = s.value.tokenMap[ne];
1032
- z.push($), D = $.negate, G === !0 && (F.push("(?:" + D + "+)?(" + $.pattern + "+)?(?:" + D + "+)?(" + $.pattern + "+)?"), G = !1), F.push("(?:" + D + "+)?(" + $.pattern + ")?");
1032
+ j.push($), D = $.negate, G === !0 && (F.push("(?:" + D + "+)?(" + $.pattern + "+)?(?:" + D + "+)?(" + $.pattern + "+)?"), G = !1), F.push("(?:" + D + "+)?(" + $.pattern + ")?");
1033
1033
  } else if (W !== void 0)
1034
- R = "\\" + (W === "\\" ? "" : W), z.push(W), A.push("([^" + R + "]+)?" + R + "?");
1034
+ R = "\\" + (W === "\\" ? "" : W), j.push(W), A.push("([^" + R + "]+)?" + R + "?");
1035
1035
  else {
1036
1036
  const $ = Y !== void 0 ? Y : te;
1037
- R = $ === "\\" ? "\\\\\\\\" : $.replace(xa, "\\\\$&"), z.push($), A.push("([^" + R + "]+)?" + R + "?");
1037
+ R = $ === "\\" ? "\\\\\\\\" : $.replace(xa, "\\\\$&"), j.push($), A.push("([^" + R + "]+)?" + R + "?");
1038
1038
  }
1039
1039
  });
1040
1040
  const Z = new RegExp(
1041
1041
  "^" + A.join("") + "(" + (R === "" ? "." : "[^" + R + "]") + "+)?" + (R === "" ? "" : "[" + R + "]*") + "$"
1042
- ), be = F.length - 1, C = F.map((S, Y) => Y === 0 && e.reverseFillMask === !0 ? new RegExp("^" + V + "*" + S) : Y === be ? new RegExp(
1043
- "^" + S + "(" + (D === "" ? "." : D) + "+)?" + (e.reverseFillMask === !0 ? "$" : V + "*")
1044
- ) : new RegExp("^" + S));
1045
- i = z, r = (S) => {
1046
- const Y = Z.exec(e.reverseFillMask === !0 ? S : S.slice(0, z.length + 1));
1047
- Y !== null && (S = Y.slice(1).join(""));
1042
+ ), be = F.length - 1, C = F.map((k, Y) => Y === 0 && e.reverseFillMask === !0 ? new RegExp("^" + E + "*" + k) : Y === be ? new RegExp(
1043
+ "^" + k + "(" + (D === "" ? "." : D) + "+)?" + (e.reverseFillMask === !0 ? "$" : E + "*")
1044
+ ) : new RegExp("^" + k));
1045
+ i = j, r = (k) => {
1046
+ const Y = Z.exec(e.reverseFillMask === !0 ? k : k.slice(0, j.length + 1));
1047
+ Y !== null && (k = Y.slice(1).join(""));
1048
1048
  const W = [], ne = C.length;
1049
- for (let te = 0, $ = S; te < ne; te++) {
1049
+ for (let te = 0, $ = k; te < ne; te++) {
1050
1050
  const ke = C[te].exec($);
1051
1051
  if (ke === null)
1052
1052
  break;
1053
1053
  $ = $.slice(ke.shift().length), W.push(...ke);
1054
1054
  }
1055
- return W.length !== 0 ? W.join("") : S;
1056
- }, a = z.map((S) => typeof S == "string" ? S : Ge).join(""), o = a.split(Ge).join(T);
1055
+ return W.length !== 0 ? W.join("") : k;
1056
+ }, a = j.map((k) => typeof k == "string" ? k : Ge).join(""), o = a.split(Ge).join(x);
1057
1057
  }
1058
- function E(O, T, V) {
1059
- const A = t.value, F = A.selectionEnd, z = A.value.length - F, G = k(O);
1060
- T === !0 && y();
1061
- const R = H(G, T), D = e.fillMask !== !1 ? j(R) : R, Z = b.value !== D;
1058
+ function B(M, x, E) {
1059
+ const A = t.value, F = A.selectionEnd, j = A.value.length - F, G = T(M);
1060
+ x === !0 && y();
1061
+ const R = z(G, x), D = e.fillMask !== !1 ? H(R) : R, Z = b.value !== D;
1062
1062
  A.value !== D && (A.value = D), Z === !0 && (b.value = D), document.activeElement === A && Re(() => {
1063
1063
  if (D === o) {
1064
1064
  const C = e.reverseFillMask === !0 ? o.length : 0;
1065
1065
  A.setSelectionRange(C, C, "forward");
1066
1066
  return;
1067
1067
  }
1068
- if (V === "insertFromPaste" && e.reverseFillMask !== !0) {
1068
+ if (E === "insertFromPaste" && e.reverseFillMask !== !0) {
1069
1069
  const C = A.selectionEnd;
1070
- let S = F - 1;
1071
- for (let Y = c; Y <= S && Y < C; Y++)
1072
- a[Y] !== Ge && S++;
1073
- p.right(A, S);
1070
+ let k = F - 1;
1071
+ for (let Y = c; Y <= k && Y < C; Y++)
1072
+ a[Y] !== Ge && k++;
1073
+ p.right(A, k);
1074
1074
  return;
1075
1075
  }
1076
- if (["deleteContentBackward", "deleteContentForward"].indexOf(V) !== -1) {
1077
- const C = e.reverseFillMask === !0 ? F === 0 ? D.length > R.length ? 1 : 0 : Math.max(0, D.length - (D === o ? 0 : Math.min(R.length, z) + 1)) + 1 : F;
1076
+ if (["deleteContentBackward", "deleteContentForward"].indexOf(E) !== -1) {
1077
+ const C = e.reverseFillMask === !0 ? F === 0 ? D.length > R.length ? 1 : 0 : Math.max(0, D.length - (D === o ? 0 : Math.min(R.length, j) + 1)) + 1 : F;
1078
1078
  A.setSelectionRange(C, C, "forward");
1079
1079
  return;
1080
1080
  }
1081
1081
  if (e.reverseFillMask === !0)
1082
1082
  if (Z === !0) {
1083
- const C = Math.max(0, D.length - (D === o ? 0 : Math.min(R.length, z + 1)));
1083
+ const C = Math.max(0, D.length - (D === o ? 0 : Math.min(R.length, j + 1)));
1084
1084
  C === 1 && F === 1 ? A.setSelectionRange(C, C, "forward") : p.rightReverse(A, C);
1085
1085
  } else {
1086
- const C = D.length - z;
1086
+ const C = D.length - j;
1087
1087
  A.setSelectionRange(C, C, "backward");
1088
1088
  }
1089
1089
  else if (Z === !0) {
@@ -1094,90 +1094,90 @@ function si(e, n, l, t) {
1094
1094
  p.right(A, C);
1095
1095
  }
1096
1096
  });
1097
- const be = e.unmaskedValue === !0 ? k(D) : D;
1097
+ const be = e.unmaskedValue === !0 ? T(D) : D;
1098
1098
  String(e.modelValue) !== be && (e.modelValue !== null || be !== "") && l(be, !0);
1099
1099
  }
1100
- function P(O, T, V) {
1101
- const A = H(k(O.value));
1102
- T = Math.max(0, a.indexOf(Ge), Math.min(A.length, T)), c = T, O.setSelectionRange(T, V, "forward");
1100
+ function P(M, x, E) {
1101
+ const A = z(T(M.value));
1102
+ x = Math.max(0, a.indexOf(Ge), Math.min(A.length, x)), c = x, M.setSelectionRange(x, E, "forward");
1103
1103
  }
1104
1104
  const p = {
1105
- left(O, T) {
1106
- const V = a.slice(T - 1).indexOf(Ge) === -1;
1107
- let A = Math.max(0, T - 1);
1105
+ left(M, x) {
1106
+ const E = a.slice(x - 1).indexOf(Ge) === -1;
1107
+ let A = Math.max(0, x - 1);
1108
1108
  for (; A >= 0; A--)
1109
1109
  if (a[A] === Ge) {
1110
- T = A, V === !0 && T++;
1110
+ x = A, E === !0 && x++;
1111
1111
  break;
1112
1112
  }
1113
- if (A < 0 && a[T] !== void 0 && a[T] !== Ge)
1114
- return p.right(O, 0);
1115
- T >= 0 && O.setSelectionRange(T, T, "backward");
1113
+ if (A < 0 && a[x] !== void 0 && a[x] !== Ge)
1114
+ return p.right(M, 0);
1115
+ x >= 0 && M.setSelectionRange(x, x, "backward");
1116
1116
  },
1117
- right(O, T) {
1118
- const V = O.value.length;
1119
- let A = Math.min(V, T + 1);
1120
- for (; A <= V; A++)
1117
+ right(M, x) {
1118
+ const E = M.value.length;
1119
+ let A = Math.min(E, x + 1);
1120
+ for (; A <= E; A++)
1121
1121
  if (a[A] === Ge) {
1122
- T = A;
1122
+ x = A;
1123
1123
  break;
1124
- } else a[A - 1] === Ge && (T = A);
1125
- if (A > V && a[T - 1] !== void 0 && a[T - 1] !== Ge)
1126
- return p.left(O, V);
1127
- O.setSelectionRange(T, T, "forward");
1124
+ } else a[A - 1] === Ge && (x = A);
1125
+ if (A > E && a[x - 1] !== void 0 && a[x - 1] !== Ge)
1126
+ return p.left(M, E);
1127
+ M.setSelectionRange(x, x, "forward");
1128
1128
  },
1129
- leftReverse(O, T) {
1130
- const V = x(O.value.length);
1131
- let A = Math.max(0, T - 1);
1129
+ leftReverse(M, x) {
1130
+ const E = q(M.value.length);
1131
+ let A = Math.max(0, x - 1);
1132
1132
  for (; A >= 0; A--)
1133
- if (V[A - 1] === Ge) {
1134
- T = A;
1133
+ if (E[A - 1] === Ge) {
1134
+ x = A;
1135
1135
  break;
1136
- } else if (V[A] === Ge && (T = A, A === 0))
1136
+ } else if (E[A] === Ge && (x = A, A === 0))
1137
1137
  break;
1138
- if (A < 0 && V[T] !== void 0 && V[T] !== Ge)
1139
- return p.rightReverse(O, 0);
1140
- T >= 0 && O.setSelectionRange(T, T, "backward");
1138
+ if (A < 0 && E[x] !== void 0 && E[x] !== Ge)
1139
+ return p.rightReverse(M, 0);
1140
+ x >= 0 && M.setSelectionRange(x, x, "backward");
1141
1141
  },
1142
- rightReverse(O, T) {
1143
- const V = O.value.length, A = x(V), F = A.slice(0, T + 1).indexOf(Ge) === -1;
1144
- let z = Math.min(V, T + 1);
1145
- for (; z <= V; z++)
1146
- if (A[z - 1] === Ge) {
1147
- T = z, T > 0 && F === !0 && T--;
1142
+ rightReverse(M, x) {
1143
+ const E = M.value.length, A = q(E), F = A.slice(0, x + 1).indexOf(Ge) === -1;
1144
+ let j = Math.min(E, x + 1);
1145
+ for (; j <= E; j++)
1146
+ if (A[j - 1] === Ge) {
1147
+ x = j, x > 0 && F === !0 && x--;
1148
1148
  break;
1149
1149
  }
1150
- if (z > V && A[T - 1] !== void 0 && A[T - 1] !== Ge)
1151
- return p.leftReverse(O, V);
1152
- O.setSelectionRange(T, T, "forward");
1150
+ if (j > E && A[x - 1] !== void 0 && A[x - 1] !== Ge)
1151
+ return p.leftReverse(M, E);
1152
+ M.setSelectionRange(x, x, "forward");
1153
1153
  }
1154
1154
  };
1155
- function w(O) {
1156
- n("click", O), d = void 0;
1157
- }
1158
- function B(O) {
1159
- if (n("keydown", O), rl(O) === !0 || O.altKey === !0) return;
1160
- const T = t.value, V = T.selectionStart, A = T.selectionEnd;
1161
- if (O.shiftKey || (d = void 0), O.keyCode === 37 || O.keyCode === 39) {
1162
- O.shiftKey && d === void 0 && (d = T.selectionDirection === "forward" ? V : A);
1163
- const F = p[(O.keyCode === 39 ? "right" : "left") + (e.reverseFillMask === !0 ? "Reverse" : "")];
1164
- if (O.preventDefault(), F(T, d === V ? A : V), O.shiftKey) {
1165
- const z = T.selectionStart;
1166
- T.setSelectionRange(Math.min(d, z), Math.max(d, z), "forward");
1155
+ function w(M) {
1156
+ n("click", M), d = void 0;
1157
+ }
1158
+ function V(M) {
1159
+ if (n("keydown", M), rl(M) === !0 || M.altKey === !0) return;
1160
+ const x = t.value, E = x.selectionStart, A = x.selectionEnd;
1161
+ if (M.shiftKey || (d = void 0), M.keyCode === 37 || M.keyCode === 39) {
1162
+ M.shiftKey && d === void 0 && (d = x.selectionDirection === "forward" ? E : A);
1163
+ const F = p[(M.keyCode === 39 ? "right" : "left") + (e.reverseFillMask === !0 ? "Reverse" : "")];
1164
+ if (M.preventDefault(), F(x, d === E ? A : E), M.shiftKey) {
1165
+ const j = x.selectionStart;
1166
+ x.setSelectionRange(Math.min(d, j), Math.max(d, j), "forward");
1167
1167
  }
1168
- } else O.keyCode === 8 && e.reverseFillMask !== !0 && V === A ? (p.left(T, V), T.setSelectionRange(T.selectionStart, A, "backward")) : O.keyCode === 46 && e.reverseFillMask === !0 && V === A && (p.rightReverse(T, A), T.setSelectionRange(V, T.selectionEnd, "forward"));
1168
+ } else M.keyCode === 8 && e.reverseFillMask !== !0 && E === A ? (p.left(x, E), x.setSelectionRange(x.selectionStart, A, "backward")) : M.keyCode === 46 && e.reverseFillMask === !0 && E === A && (p.rightReverse(x, A), x.setSelectionRange(E, x.selectionEnd, "forward"));
1169
1169
  }
1170
- function H(O, T) {
1171
- if (O == null || O === "")
1170
+ function z(M, x) {
1171
+ if (M == null || M === "")
1172
1172
  return "";
1173
1173
  if (e.reverseFillMask === !0)
1174
- return M(O, T);
1175
- const V = i;
1174
+ return O(M, x);
1175
+ const E = i;
1176
1176
  let A = 0, F = "";
1177
- for (let z = 0; z < V.length; z++) {
1178
- const G = O[A], R = V[z];
1177
+ for (let j = 0; j < E.length; j++) {
1178
+ const G = M[A], R = E[j];
1179
1179
  if (typeof R == "string")
1180
- F += R, T === !0 && G === R && A++;
1180
+ F += R, x === !0 && G === R && A++;
1181
1181
  else if (G !== void 0 && R.regex.test(G))
1182
1182
  F += R.transform !== void 0 ? R.transform(G) : G, A++;
1183
1183
  else
@@ -1185,35 +1185,35 @@ function si(e, n, l, t) {
1185
1185
  }
1186
1186
  return F;
1187
1187
  }
1188
- function M(O, T) {
1189
- const V = i, A = a.indexOf(Ge);
1190
- let F = O.length - 1, z = "";
1191
- for (let G = V.length - 1; G >= 0 && F !== -1; G--) {
1192
- const R = V[G];
1193
- let D = O[F];
1188
+ function O(M, x) {
1189
+ const E = i, A = a.indexOf(Ge);
1190
+ let F = M.length - 1, j = "";
1191
+ for (let G = E.length - 1; G >= 0 && F !== -1; G--) {
1192
+ const R = E[G];
1193
+ let D = M[F];
1194
1194
  if (typeof R == "string")
1195
- z = R + z, T === !0 && D === R && F--;
1195
+ j = R + j, x === !0 && D === R && F--;
1196
1196
  else if (D !== void 0 && R.regex.test(D))
1197
1197
  do
1198
- z = (R.transform !== void 0 ? R.transform(D) : D) + z, F--, D = O[F];
1198
+ j = (R.transform !== void 0 ? R.transform(D) : D) + j, F--, D = M[F];
1199
1199
  while (A === G && D !== void 0 && R.regex.test(D));
1200
1200
  else
1201
- return z;
1201
+ return j;
1202
1202
  }
1203
- return z;
1203
+ return j;
1204
1204
  }
1205
- function k(O) {
1206
- return typeof O != "string" || r === void 0 ? typeof O == "number" ? r("" + O) : O : r(O);
1205
+ function T(M) {
1206
+ return typeof M != "string" || r === void 0 ? typeof M == "number" ? r("" + M) : M : r(M);
1207
1207
  }
1208
- function j(O) {
1209
- return o.length - O.length <= 0 ? O : e.reverseFillMask === !0 && O.length !== 0 ? o.slice(0, -O.length) + O : O + o.slice(O.length);
1208
+ function H(M) {
1209
+ return o.length - M.length <= 0 ? M : e.reverseFillMask === !0 && M.length !== 0 ? o.slice(0, -M.length) + M : M + o.slice(M.length);
1210
1210
  }
1211
1211
  return {
1212
1212
  innerValue: b,
1213
1213
  hasMask: v,
1214
1214
  moveCursorForPaste: P,
1215
- updateMaskValue: E,
1216
- onMaskedKeydown: B,
1215
+ updateMaskValue: B,
1216
+ onMaskedKeydown: V,
1217
1217
  onMaskedClick: w
1218
1218
  };
1219
1219
  }
@@ -1303,20 +1303,20 @@ const ln = Be({
1303
1303
  let i = NaN, r, c, d = null, s;
1304
1304
  const v = N(null), b = wo(e), {
1305
1305
  innerValue: g,
1306
- hasMask: q,
1307
- moveCursorForPaste: x,
1306
+ hasMask: S,
1307
+ moveCursorForPaste: q,
1308
1308
  updateMaskValue: y,
1309
- onMaskedKeydown: E,
1309
+ onMaskedKeydown: B,
1310
1310
  onMaskedClick: P
1311
1311
  } = si(e, n, G, v), p = ci(
1312
1312
  e
1313
- ), w = u(() => On(g.value)), B = _o(F), H = Kl({ changeEvent: !0 }), M = u(
1313
+ ), w = u(() => On(g.value)), V = _o(F), z = Kl({ changeEvent: !0 }), O = u(
1314
1314
  () => e.type === "textarea" || e.autogrow === !0
1315
- ), k = u(
1316
- () => M.value === !0 || ["text", "search", "url", "tel", "password"].includes(e.type)
1317
- ), j = u(() => {
1318
- const S = {
1319
- ...H.splitAttrs.listeners.value,
1315
+ ), T = u(
1316
+ () => O.value === !0 || ["text", "search", "url", "tel", "password"].includes(e.type)
1317
+ ), H = u(() => {
1318
+ const k = {
1319
+ ...z.splitAttrs.listeners.value,
1320
1320
  onInput: F,
1321
1321
  onPaste: A,
1322
1322
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
@@ -1327,98 +1327,98 @@ const ln = Be({
1327
1327
  onBlur: Z,
1328
1328
  onFocus: yt
1329
1329
  };
1330
- return S.onCompositionstart = S.onCompositionupdate = S.onCompositionend = B, q.value === !0 && (S.onKeydown = E, S.onClick = P), e.autogrow === !0 && (S.onAnimationend = z), S;
1331
- }), O = u(() => {
1332
- const S = {
1330
+ return k.onCompositionstart = k.onCompositionupdate = k.onCompositionend = V, S.value === !0 && (k.onKeydown = B, k.onClick = P), e.autogrow === !0 && (k.onAnimationend = j), k;
1331
+ }), M = u(() => {
1332
+ const k = {
1333
1333
  tabindex: 0,
1334
1334
  "data-autofocus": e.autofocus === !0 || void 0,
1335
1335
  rows: e.type === "textarea" ? 6 : void 0,
1336
1336
  "aria-label": e.label,
1337
1337
  name: b.value,
1338
- ...H.splitAttrs.attributes.value,
1339
- id: H.targetUid.value,
1338
+ ...z.splitAttrs.attributes.value,
1339
+ id: z.targetUid.value,
1340
1340
  maxlength: e.maxlength,
1341
1341
  disabled: e.disable === !0,
1342
1342
  readonly: e.readonly === !0
1343
1343
  };
1344
- return M.value === !1 && (S.type = e.type), e.autogrow === !0 && (S.rows = 1), S;
1344
+ return O.value === !1 && (k.type = e.type), e.autogrow === !0 && (k.rows = 1), k;
1345
1345
  });
1346
1346
  ue(() => e.type, () => {
1347
1347
  v.value && (v.value.value = e.modelValue);
1348
- }), ue(() => e.modelValue, (S) => {
1349
- if (q.value === !0) {
1350
- if (c === !0 && (c = !1, String(S) === i))
1348
+ }), ue(() => e.modelValue, (k) => {
1349
+ if (S.value === !0) {
1350
+ if (c === !0 && (c = !1, String(k) === i))
1351
1351
  return;
1352
- y(S);
1353
- } else g.value !== S && (g.value = S, e.type === "number" && o.hasOwnProperty("value") === !0 && (r === !0 ? r = !1 : delete o.value));
1352
+ y(k);
1353
+ } else g.value !== k && (g.value = k, e.type === "number" && o.hasOwnProperty("value") === !0 && (r === !0 ? r = !1 : delete o.value));
1354
1354
  e.autogrow === !0 && Re(R);
1355
- }), ue(() => e.autogrow, (S) => {
1356
- S === !0 ? Re(R) : v.value !== null && l.rows > 0 && (v.value.style.height = "auto");
1355
+ }), ue(() => e.autogrow, (k) => {
1356
+ k === !0 ? Re(R) : v.value !== null && l.rows > 0 && (v.value.style.height = "auto");
1357
1357
  }), ue(() => e.dense, () => {
1358
1358
  e.autogrow === !0 && Re(R);
1359
1359
  });
1360
- function T() {
1360
+ function x() {
1361
1361
  al(() => {
1362
- const S = document.activeElement;
1363
- v.value !== null && v.value !== S && (S === null || S.id !== H.targetUid.value) && v.value.focus({ preventScroll: !0 });
1362
+ const k = document.activeElement;
1363
+ v.value !== null && v.value !== k && (k === null || k.id !== z.targetUid.value) && v.value.focus({ preventScroll: !0 });
1364
1364
  });
1365
1365
  }
1366
- function V() {
1367
- var S;
1368
- (S = v.value) == null || S.select();
1366
+ function E() {
1367
+ var k;
1368
+ (k = v.value) == null || k.select();
1369
1369
  }
1370
- function A(S) {
1371
- if (q.value === !0 && e.reverseFillMask !== !0) {
1372
- const Y = S.target;
1373
- x(Y, Y.selectionStart, Y.selectionEnd);
1370
+ function A(k) {
1371
+ if (S.value === !0 && e.reverseFillMask !== !0) {
1372
+ const Y = k.target;
1373
+ q(Y, Y.selectionStart, Y.selectionEnd);
1374
1374
  }
1375
- n("paste", S);
1375
+ n("paste", k);
1376
1376
  }
1377
- function F(S) {
1378
- if (!S || !S.target) return;
1377
+ function F(k) {
1378
+ if (!k || !k.target) return;
1379
1379
  if (e.type === "file") {
1380
- n("update:modelValue", S.target.files);
1380
+ n("update:modelValue", k.target.files);
1381
1381
  return;
1382
1382
  }
1383
- const Y = S.target.value;
1384
- if (S.target.qComposing === !0) {
1383
+ const Y = k.target.value;
1384
+ if (k.target.qComposing === !0) {
1385
1385
  o.value = Y;
1386
1386
  return;
1387
1387
  }
1388
- if (q.value === !0)
1389
- y(Y, !1, S.inputType);
1390
- else if (G(Y), k.value === !0 && S.target === document.activeElement) {
1391
- const { selectionStart: W, selectionEnd: ne } = S.target;
1388
+ if (S.value === !0)
1389
+ y(Y, !1, k.inputType);
1390
+ else if (G(Y), T.value === !0 && k.target === document.activeElement) {
1391
+ const { selectionStart: W, selectionEnd: ne } = k.target;
1392
1392
  W !== void 0 && ne !== void 0 && Re(() => {
1393
- S.target === document.activeElement && Y.indexOf(S.target.value) === 0 && S.target.setSelectionRange(W, ne);
1393
+ k.target === document.activeElement && Y.indexOf(k.target.value) === 0 && k.target.setSelectionRange(W, ne);
1394
1394
  });
1395
1395
  }
1396
1396
  e.autogrow === !0 && R();
1397
1397
  }
1398
- function z(S) {
1399
- n("animationend", S), R();
1398
+ function j(k) {
1399
+ n("animationend", k), R();
1400
1400
  }
1401
- function G(S, Y) {
1401
+ function G(k, Y) {
1402
1402
  s = () => {
1403
- d = null, e.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, e.modelValue !== S && i !== S && (i = S, Y === !0 && (c = !0), n("update:modelValue", S), Re(() => {
1404
- i === S && (i = NaN);
1403
+ d = null, e.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, e.modelValue !== k && i !== k && (i = k, Y === !0 && (c = !0), n("update:modelValue", k), Re(() => {
1404
+ i === k && (i = NaN);
1405
1405
  })), s = void 0;
1406
- }, e.type === "number" && (r = !0, o.value = S), e.debounce !== void 0 ? (d !== null && clearTimeout(d), o.value = S, d = setTimeout(s, e.debounce)) : s();
1406
+ }, e.type === "number" && (r = !0, o.value = k), e.debounce !== void 0 ? (d !== null && clearTimeout(d), o.value = k, d = setTimeout(s, e.debounce)) : s();
1407
1407
  }
1408
1408
  function R() {
1409
1409
  requestAnimationFrame(() => {
1410
- const S = v.value;
1411
- if (S !== null) {
1412
- const Y = S.parentNode.style, { scrollTop: W } = S, { overflowY: ne, maxHeight: te } = a.platform.is.firefox === !0 ? {} : window.getComputedStyle(S), $ = ne !== void 0 && ne !== "scroll";
1413
- $ === !0 && (S.style.overflowY = "hidden"), Y.marginBottom = S.scrollHeight - 1 + "px", S.style.height = "1px", S.style.height = S.scrollHeight + "px", $ === !0 && (S.style.overflowY = parseInt(te, 10) < S.scrollHeight ? "auto" : "hidden"), Y.marginBottom = "", S.scrollTop = W;
1410
+ const k = v.value;
1411
+ if (k !== null) {
1412
+ const Y = k.parentNode.style, { scrollTop: W } = k, { overflowY: ne, maxHeight: te } = a.platform.is.firefox === !0 ? {} : window.getComputedStyle(k), $ = ne !== void 0 && ne !== "scroll";
1413
+ $ === !0 && (k.style.overflowY = "hidden"), Y.marginBottom = k.scrollHeight - 1 + "px", k.style.height = "1px", k.style.height = k.scrollHeight + "px", $ === !0 && (k.style.overflowY = parseInt(te, 10) < k.scrollHeight ? "auto" : "hidden"), Y.marginBottom = "", k.scrollTop = W;
1414
1414
  }
1415
1415
  });
1416
1416
  }
1417
- function D(S) {
1418
- B(S), d !== null && (clearTimeout(d), d = null), s == null || s(), n("change", S.target.value);
1417
+ function D(k) {
1418
+ V(k), d !== null && (clearTimeout(d), d = null), s == null || s(), n("change", k.target.value);
1419
1419
  }
1420
- function Z(S) {
1421
- S !== void 0 && yt(S), d !== null && (clearTimeout(d), d = null), s == null || s(), r = !1, c = !1, delete o.value, e.type !== "file" && setTimeout(() => {
1420
+ function Z(k) {
1421
+ k !== void 0 && yt(k), d !== null && (clearTimeout(d), d = null), s == null || s(), r = !1, c = !1, delete o.value, e.type !== "file" && setTimeout(() => {
1422
1422
  v.value !== null && (v.value.value = g.value !== void 0 ? g.value : "");
1423
1423
  });
1424
1424
  }
@@ -1429,10 +1429,10 @@ const ln = Be({
1429
1429
  Z();
1430
1430
  }), Ct(() => {
1431
1431
  e.autogrow === !0 && R();
1432
- }), Object.assign(H, {
1432
+ }), Object.assign(z, {
1433
1433
  innerValue: g,
1434
1434
  fieldClass: u(
1435
- () => `q-${M.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")
1435
+ () => `q-${O.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")
1436
1436
  ),
1437
1437
  hasShadow: u(
1438
1438
  () => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0
@@ -1443,28 +1443,28 @@ const ln = Be({
1443
1443
  floatingLabel: u(
1444
1444
  () => w.value === !0 && (e.type !== "number" || isNaN(g.value) === !1) || On(e.displayValue)
1445
1445
  ),
1446
- getControl: () => m(M.value === !0 ? "textarea" : "input", {
1446
+ getControl: () => m(O.value === !0 ? "textarea" : "input", {
1447
1447
  ref: v,
1448
1448
  class: [
1449
1449
  "q-field__native q-placeholder",
1450
1450
  e.inputClass
1451
1451
  ],
1452
1452
  style: e.inputStyle,
1453
- ...O.value,
1454
- ...j.value,
1453
+ ...M.value,
1454
+ ...H.value,
1455
1455
  ...e.type !== "file" ? { value: be() } : p.value
1456
1456
  }),
1457
1457
  getShadowControl: () => m("div", {
1458
- class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (M.value === !0 ? "" : " text-no-wrap")
1458
+ class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (O.value === !0 ? "" : " text-no-wrap")
1459
1459
  }, [
1460
1460
  m("span", { class: "invisible" }, be()),
1461
1461
  m("span", e.shadowText)
1462
1462
  ])
1463
1463
  });
1464
- const C = Ul(H);
1464
+ const C = Ul(z);
1465
1465
  return Object.assign(t, {
1466
- focus: T,
1467
- select: V,
1466
+ focus: x,
1467
+ select: E,
1468
1468
  getNativeElement: () => v.value
1469
1469
  // deprecated
1470
1470
  }), _n(t, "nativeEl", () => v.value), C;
@@ -1523,12 +1523,12 @@ const bi = /* @__PURE__ */ vt({
1523
1523
  l.schema,
1524
1524
  r == null ? void 0 : r.quickformsDefaults,
1525
1525
  "input"
1526
- )), v = N(!1), b = u(() => l.schema.format === "email" ? "email" : l.schema.format === "url" || l.schema.format === "uri" ? "url" : l.schema.format === "password" ? v.value ? "text" : "password" : l.schema.format === "textarea" ? "textarea" : "text"), g = u(() => l.schema.format === "textarea" || l.schema.maxLength && l.schema.maxLength > 200), q = u(() => l.schema.format === "password"), x = u(() => ({
1526
+ )), v = N(!1), b = u(() => l.schema.format === "email" ? "email" : l.schema.format === "url" || l.schema.format === "uri" ? "url" : l.schema.format === "password" ? v.value ? "text" : "password" : l.schema.format === "textarea" ? "textarea" : "text"), g = u(() => l.schema.format === "textarea" || l.schema.maxLength && l.schema.maxLength > 200), S = u(() => l.schema.format === "password"), q = u(() => ({
1527
1527
  color: s.value.iconColor || "grey-7",
1528
1528
  size: s.value.iconSize || "sm"
1529
- })), y = u(() => !!s.value.prependIcon), E = u(
1530
- () => !q.value && !!s.value.appendIcon
1531
- ), P = u(() => gt(r == null ? void 0 : r.componentDefaults)), p = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, quickformsFeatures: s, isPasswordVisible: v, inputType: b, isTextarea: g, isPasswordField: q, iconConfig: x, showPrependIcon: y, showAppendIcon: E, fieldGap: P, get QInput() {
1529
+ })), y = u(() => !!s.value.prependIcon), B = u(
1530
+ () => !S.value && !!s.value.appendIcon
1531
+ ), P = u(() => gt(r == null ? void 0 : r.componentDefaults)), p = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, quickformsFeatures: s, isPasswordVisible: v, inputType: b, isTextarea: g, isPasswordField: S, iconConfig: q, showPrependIcon: y, showAppendIcon: B, fieldGap: P, get QInput() {
1532
1532
  return ln;
1533
1533
  }, get QIcon() {
1534
1534
  return Xe;
@@ -1750,65 +1750,65 @@ function Mi(e, n) {
1750
1750
  const { props: l, slots: t, emit: a, proxy: o } = Te(), { $q: i } = o, r = Bt(l, i), c = N(null), { refocusTargetEl: d, refocusTarget: s } = Si(l, c), v = ll(l, qi), b = u(
1751
1751
  () => l.val !== void 0 && Array.isArray(l.modelValue)
1752
1752
  ), g = u(() => {
1753
- const V = rn(l.val);
1754
- return b.value === !0 ? l.modelValue.findIndex((A) => rn(A) === V) : -1;
1755
- }), q = u(() => b.value === !0 ? g.value !== -1 : rn(l.modelValue) === rn(l.trueValue)), x = u(() => b.value === !0 ? g.value === -1 : rn(l.modelValue) === rn(l.falseValue)), y = u(
1756
- () => q.value === !1 && x.value === !1
1757
- ), E = u(() => l.disable === !0 ? -1 : l.tabindex || 0), P = u(
1753
+ const E = rn(l.val);
1754
+ return b.value === !0 ? l.modelValue.findIndex((A) => rn(A) === E) : -1;
1755
+ }), S = u(() => b.value === !0 ? g.value !== -1 : rn(l.modelValue) === rn(l.trueValue)), q = u(() => b.value === !0 ? g.value === -1 : rn(l.modelValue) === rn(l.falseValue)), y = u(
1756
+ () => S.value === !1 && q.value === !1
1757
+ ), B = u(() => l.disable === !0 ? -1 : l.tabindex || 0), P = u(
1758
1758
  () => `q-${e} cursor-pointer no-outline row inline no-wrap items-center` + (l.disable === !0 ? " disabled" : "") + (r.value === !0 ? ` q-${e}--dark` : "") + (l.dense === !0 ? ` q-${e}--dense` : "") + (l.leftLabel === !0 ? " reverse" : "")
1759
1759
  ), p = u(() => {
1760
- const V = q.value === !0 ? "truthy" : x.value === !0 ? "falsy" : "indet", A = l.color !== void 0 && (l.keepColor === !0 || x.value !== !0) ? ` text-${l.color}` : "";
1761
- return `q-${e}__inner relative-position non-selectable q-${e}__inner--${V}${A}`;
1760
+ const E = S.value === !0 ? "truthy" : q.value === !0 ? "falsy" : "indet", A = l.color !== void 0 && (l.keepColor === !0 || q.value !== !0) ? ` text-${l.color}` : "";
1761
+ return `q-${e}__inner relative-position non-selectable q-${e}__inner--${E}${A}`;
1762
1762
  }), w = u(() => {
1763
- const V = { type: "checkbox" };
1764
- return l.name !== void 0 && Object.assign(V, {
1763
+ const E = { type: "checkbox" };
1764
+ return l.name !== void 0 && Object.assign(E, {
1765
1765
  // see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
1766
- ".checked": q.value,
1767
- "^checked": q.value === !0 ? "checked" : void 0,
1766
+ ".checked": S.value,
1767
+ "^checked": S.value === !0 ? "checked" : void 0,
1768
1768
  name: l.name,
1769
1769
  value: b.value === !0 ? l.val : l.trueValue
1770
- }), V;
1771
- }), B = Wl(w), H = u(() => {
1772
- const V = {
1773
- tabindex: E.value,
1770
+ }), E;
1771
+ }), V = Wl(w), z = u(() => {
1772
+ const E = {
1773
+ tabindex: B.value,
1774
1774
  role: "checkbox",
1775
1775
  "aria-label": l.label,
1776
- "aria-checked": y.value === !0 ? "mixed" : q.value === !0 ? "true" : "false"
1776
+ "aria-checked": y.value === !0 ? "mixed" : S.value === !0 ? "true" : "false"
1777
1777
  };
1778
- return l.disable === !0 && (V["aria-disabled"] = "true"), V;
1778
+ return l.disable === !0 && (E["aria-disabled"] = "true"), E;
1779
1779
  });
1780
- function M(V) {
1781
- V !== void 0 && (Qe(V), s(V)), l.disable !== !0 && a("update:modelValue", k(), V);
1780
+ function O(E) {
1781
+ E !== void 0 && (Qe(E), s(E)), l.disable !== !0 && a("update:modelValue", T(), E);
1782
1782
  }
1783
- function k() {
1783
+ function T() {
1784
1784
  if (b.value === !0) {
1785
- if (q.value === !0) {
1786
- const V = l.modelValue.slice();
1787
- return V.splice(g.value, 1), V;
1785
+ if (S.value === !0) {
1786
+ const E = l.modelValue.slice();
1787
+ return E.splice(g.value, 1), E;
1788
1788
  }
1789
1789
  return l.modelValue.concat([l.val]);
1790
1790
  }
1791
- if (q.value === !0) {
1791
+ if (S.value === !0) {
1792
1792
  if (l.toggleOrder !== "ft" || l.toggleIndeterminate === !1)
1793
1793
  return l.falseValue;
1794
- } else if (x.value === !0) {
1794
+ } else if (q.value === !0) {
1795
1795
  if (l.toggleOrder === "ft" || l.toggleIndeterminate === !1)
1796
1796
  return l.trueValue;
1797
1797
  } else
1798
1798
  return l.toggleOrder !== "ft" ? l.trueValue : l.falseValue;
1799
1799
  return l.indeterminateValue;
1800
1800
  }
1801
- function j(V) {
1802
- (V.keyCode === 13 || V.keyCode === 32) && Qe(V);
1801
+ function H(E) {
1802
+ (E.keyCode === 13 || E.keyCode === 32) && Qe(E);
1803
1803
  }
1804
- function O(V) {
1805
- (V.keyCode === 13 || V.keyCode === 32) && M(V);
1804
+ function M(E) {
1805
+ (E.keyCode === 13 || E.keyCode === 32) && O(E);
1806
1806
  }
1807
- const T = n(q, y);
1808
- return Object.assign(o, { toggle: M }), () => {
1809
- const V = T();
1810
- l.disable !== !0 && B(
1811
- V,
1807
+ const x = n(S, y);
1808
+ return Object.assign(o, { toggle: O }), () => {
1809
+ const E = x();
1810
+ l.disable !== !0 && V(
1811
+ E,
1812
1812
  "unshift",
1813
1813
  ` q-${e}__native absolute q-ma-none q-pa-none`
1814
1814
  );
@@ -1817,7 +1817,7 @@ function Mi(e, n) {
1817
1817
  class: p.value,
1818
1818
  style: v.value,
1819
1819
  "aria-hidden": "true"
1820
- }, V)
1820
+ }, E)
1821
1821
  ];
1822
1822
  d.value !== null && A.push(d.value);
1823
1823
  const F = l.label !== void 0 ? Qt(t.default, [l.label]) : et(t.default);
@@ -1828,10 +1828,10 @@ function Mi(e, n) {
1828
1828
  ), m("div", {
1829
1829
  ref: c,
1830
1830
  class: P.value,
1831
- ...H.value,
1832
- onClick: M,
1833
- onKeydown: j,
1834
- onKeyup: O
1831
+ ...z.value,
1832
+ onClick: O,
1833
+ onKeydown: H,
1834
+ onKeyup: M
1835
1835
  }, A);
1836
1836
  };
1837
1837
  }
@@ -2014,7 +2014,7 @@ function Ca(e, n, l, t) {
2014
2014
  const a = l.modifiers.color;
2015
2015
  let o = l.modifiers.center;
2016
2016
  o = o === !0 || t === !0;
2017
- const i = document.createElement("span"), r = document.createElement("span"), c = pn(e), { left: d, top: s, width: v, height: b } = n.getBoundingClientRect(), g = Math.sqrt(v * v + b * b), q = g / 2, x = `${(v - g) / 2}px`, y = o ? x : `${c.left - d - q}px`, E = `${(b - g) / 2}px`, P = o ? E : `${c.top - s - q}px`;
2017
+ const i = document.createElement("span"), r = document.createElement("span"), c = pn(e), { left: d, top: s, width: v, height: b } = n.getBoundingClientRect(), g = Math.sqrt(v * v + b * b), S = g / 2, q = `${(v - g) / 2}px`, y = o ? q : `${c.left - d - S}px`, B = `${(b - g) / 2}px`, P = o ? B : `${c.top - s - S}px`;
2018
2018
  r.className = "q-ripple__inner", Fl(r, {
2019
2019
  height: `${g}px`,
2020
2020
  width: `${g}px`,
@@ -2026,7 +2026,7 @@ function Ca(e, n, l, t) {
2026
2026
  };
2027
2027
  l.abort.push(p);
2028
2028
  let w = setTimeout(() => {
2029
- r.classList.add("q-ripple__inner--enter"), r.style.transform = `translate3d(${x},${E},0) scale3d(1,1,1)`, r.style.opacity = 0.2, w = setTimeout(() => {
2029
+ r.classList.add("q-ripple__inner--enter"), r.style.transform = `translate3d(${q},${B},0) scale3d(1,1,1)`, r.style.opacity = 0.2, w = setTimeout(() => {
2030
2030
  r.classList.remove("q-ripple__inner--enter"), r.classList.add("q-ripple__inner--leave"), r.style.opacity = 0, w = setTimeout(() => {
2031
2031
  i.remove(), l.abort.splice(l.abort.indexOf(p), 1);
2032
2032
  }, 275);
@@ -2128,13 +2128,13 @@ const Gl = Ql(
2128
2128
  const y = e.outline === !0 && e.color || e.textColor;
2129
2129
  return "q-chip row inline no-wrap items-center" + (e.outline === !1 && e.color !== void 0 ? ` bg-${e.color}` : "") + (y ? ` text-${y} q-chip--colored` : "") + (e.disable === !0 ? " disabled" : "") + (e.dense === !0 ? " q-chip--dense" : "") + (e.outline === !0 ? " q-chip--outline" : "") + (e.selected === !0 ? " q-chip--selected" : "") + (d.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square === !0 ? " q-chip--square" : "") + (a.value === !0 ? " q-chip--dark q-dark" : "");
2130
2130
  }), v = u(() => {
2131
- const y = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, E = {
2131
+ const y = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, B = {
2132
2132
  ...y,
2133
2133
  role: "button",
2134
2134
  "aria-hidden": "false",
2135
2135
  "aria-label": e.removeAriaLabel || t.lang.label.remove
2136
2136
  };
2137
- return { chip: y, remove: E };
2137
+ return { chip: y, remove: B };
2138
2138
  });
2139
2139
  function b(y) {
2140
2140
  y.keyCode === 13 && g(y);
@@ -2142,10 +2142,10 @@ const Gl = Ql(
2142
2142
  function g(y) {
2143
2143
  e.disable || (l("update:selected", !e.selected), l("click", y));
2144
2144
  }
2145
- function q(y) {
2145
+ function S(y) {
2146
2146
  (y.keyCode === void 0 || y.keyCode === 13) && (Qe(y), e.disable === !1 && (l("update:modelValue", !1), l("remove")));
2147
2147
  }
2148
- function x() {
2148
+ function q() {
2149
2149
  const y = [];
2150
2150
  d.value === !0 && y.push(
2151
2151
  m("div", { class: "q-focus-helper" })
@@ -2155,11 +2155,11 @@ const Gl = Ql(
2155
2155
  name: r.value
2156
2156
  })
2157
2157
  );
2158
- const E = e.label !== void 0 ? [m("div", { class: "ellipsis" }, [e.label])] : void 0;
2158
+ const B = e.label !== void 0 ? [m("div", { class: "ellipsis" }, [e.label])] : void 0;
2159
2159
  return y.push(
2160
2160
  m("div", {
2161
2161
  class: "q-chip__content col row no-wrap items-center q-anchor--skip"
2162
- }, Vr(n.default, E))
2162
+ }, Vr(n.default, B))
2163
2163
  ), e.iconRight && y.push(
2164
2164
  m(Xe, {
2165
2165
  class: "q-chip__icon q-chip__icon--right",
@@ -2170,8 +2170,8 @@ const Gl = Ql(
2170
2170
  class: "q-chip__icon q-chip__icon--remove cursor-pointer",
2171
2171
  name: c.value,
2172
2172
  ...v.value.remove,
2173
- onClick: q,
2174
- onKeyup: q
2173
+ onClick: S,
2174
+ onKeyup: S
2175
2175
  })
2176
2176
  ), y;
2177
2177
  }
@@ -2188,7 +2188,7 @@ const Gl = Ql(
2188
2188
  ), Pr(
2189
2189
  "div",
2190
2190
  y,
2191
- x(),
2191
+ q(),
2192
2192
  "ripple",
2193
2193
  e.ripple !== !1 && e.disable !== !0,
2194
2194
  () => [[Gl, e.ripple]]
@@ -2276,60 +2276,60 @@ function xo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2276
2276
  } : s.value === !0 ? {
2277
2277
  href: d.value.href,
2278
2278
  target: t.target
2279
- } : {}), q = u(() => {
2279
+ } : {}), S = u(() => {
2280
2280
  if (s.value === !1)
2281
2281
  return -1;
2282
- const { matched: B } = d.value, { length: H } = B, M = B[H - 1];
2283
- if (M === void 0)
2282
+ const { matched: V } = d.value, { length: z } = V, O = V[z - 1];
2283
+ if (O === void 0)
2284
2284
  return -1;
2285
- const k = a.$route.matched;
2286
- if (k.length === 0)
2285
+ const T = a.$route.matched;
2286
+ if (T.length === 0)
2287
2287
  return -1;
2288
- const j = k.findIndex(
2289
- Oa.bind(null, M)
2288
+ const H = T.findIndex(
2289
+ Oa.bind(null, O)
2290
2290
  );
2291
- if (j !== -1)
2292
- return j;
2293
- const O = Ta(B[H - 2]);
2291
+ if (H !== -1)
2292
+ return H;
2293
+ const M = Ta(V[z - 2]);
2294
2294
  return (
2295
2295
  // we are dealing with nested routes
2296
- H > 1 && Ta(M) === O && k[k.length - 1].path !== O ? k.findIndex(
2297
- Oa.bind(null, B[H - 2])
2298
- ) : j
2296
+ z > 1 && Ta(O) === M && T[T.length - 1].path !== M ? T.findIndex(
2297
+ Oa.bind(null, V[z - 2])
2298
+ ) : H
2299
2299
  );
2300
- }), x = u(
2301
- () => s.value === !0 && q.value !== -1 && zi(a.$route.params, d.value.params)
2300
+ }), q = u(
2301
+ () => s.value === !0 && S.value !== -1 && zi(a.$route.params, d.value.params)
2302
2302
  ), y = u(
2303
- () => x.value === !0 && q.value === a.$route.matched.length - 1 && Qi(a.$route.params, d.value.params)
2304
- ), E = u(() => s.value === !0 ? y.value === !0 ? ` ${t.exactActiveClass} ${t.activeClass}` : t.exact === !0 ? "" : x.value === !0 ? ` ${t.activeClass}` : "" : "");
2305
- function P(B) {
2303
+ () => q.value === !0 && S.value === a.$route.matched.length - 1 && Qi(a.$route.params, d.value.params)
2304
+ ), B = u(() => s.value === !0 ? y.value === !0 ? ` ${t.exactActiveClass} ${t.activeClass}` : t.exact === !0 ? "" : q.value === !0 ? ` ${t.activeClass}` : "" : "");
2305
+ function P(V) {
2306
2306
  try {
2307
- return a.$router.resolve(B);
2307
+ return a.$router.resolve(V);
2308
2308
  } catch {
2309
2309
  }
2310
2310
  return null;
2311
2311
  }
2312
- function p(B, { returnRouterError: H, to: M = t.to, replace: k = t.replace } = {}) {
2312
+ function p(V, { returnRouterError: z, to: O = t.to, replace: T = t.replace } = {}) {
2313
2313
  if (t.disable === !0)
2314
- return B.preventDefault(), Promise.resolve(!1);
2314
+ return V.preventDefault(), Promise.resolve(!1);
2315
2315
  if (
2316
2316
  // don't redirect with control keys;
2317
2317
  // should match RouterLink from Vue Router
2318
- B.metaKey || B.altKey || B.ctrlKey || B.shiftKey || B.button !== void 0 && B.button !== 0 || t.target === "_blank"
2318
+ V.metaKey || V.altKey || V.ctrlKey || V.shiftKey || V.button !== void 0 && V.button !== 0 || t.target === "_blank"
2319
2319
  )
2320
2320
  return Promise.resolve(!1);
2321
- B.preventDefault();
2322
- const j = a.$router[k === !0 ? "replace" : "push"](M);
2323
- return H === !0 ? j : j.then(() => {
2321
+ V.preventDefault();
2322
+ const H = a.$router[T === !0 ? "replace" : "push"](O);
2323
+ return z === !0 ? H : H.then(() => {
2324
2324
  }).catch(() => {
2325
2325
  });
2326
2326
  }
2327
- function w(B) {
2327
+ function w(V) {
2328
2328
  if (s.value === !0) {
2329
- const H = (M) => p(B, M);
2330
- o("click", B, H), B.defaultPrevented !== !0 && H();
2329
+ const z = (O) => p(V, O);
2330
+ o("click", V, z), V.defaultPrevented !== !0 && z();
2331
2331
  } else
2332
- o("click", B);
2332
+ o("click", V);
2333
2333
  }
2334
2334
  return {
2335
2335
  hasRouterLink: s,
@@ -2337,9 +2337,9 @@ function xo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2337
2337
  hasLink: v,
2338
2338
  linkTag: b,
2339
2339
  resolvedLink: d,
2340
- linkIsActive: x,
2340
+ linkIsActive: q,
2341
2341
  linkIsExactActive: y,
2342
- linkClass: E,
2342
+ linkClass: B,
2343
2343
  linkAttrs: g,
2344
2344
  getLink: P,
2345
2345
  navigateToRouterLink: p,
@@ -2372,15 +2372,15 @@ const Co = Be({
2372
2372
  () => e.clickable === !0 || o.value === !0 || e.tag === "label"
2373
2373
  ), g = u(
2374
2374
  () => e.disable !== !0 && b.value === !0
2375
- ), q = u(
2375
+ ), S = u(
2376
2376
  () => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (a.value === !0 ? " q-item--dark" : "") + (o.value === !0 && e.active === null ? r.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (g.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")
2377
- ), x = u(() => e.insetLevel === void 0 ? null : {
2377
+ ), q = u(() => e.insetLevel === void 0 ? null : {
2378
2378
  ["padding" + (t.lang.rtl === !0 ? "Right" : "Left")]: 16 + e.insetLevel * 56 + "px"
2379
2379
  });
2380
2380
  function y(p) {
2381
2381
  g.value === !0 && (v.value !== null && p.qAvoidFocus !== !0 && (p.qKeyEvent !== !0 && document.activeElement === s.value ? v.value.focus() : document.activeElement === v.value && s.value.focus()), d(p));
2382
2382
  }
2383
- function E(p) {
2383
+ function B(p) {
2384
2384
  if (g.value === !0 && Lt(p, [13, 32]) === !0) {
2385
2385
  Qe(p), p.qKeyEvent = !0;
2386
2386
  const w = new MouseEvent("click", p);
@@ -2397,11 +2397,11 @@ const Co = Be({
2397
2397
  return () => {
2398
2398
  const p = {
2399
2399
  ref: s,
2400
- class: q.value,
2401
- style: x.value,
2400
+ class: S.value,
2401
+ style: q.value,
2402
2402
  role: "listitem",
2403
2403
  onClick: y,
2404
- onKeyup: E
2404
+ onKeyup: B
2405
2405
  };
2406
2406
  return g.value === !0 ? (p.tabindex = e.tabindex || "0", Object.assign(p, i.value)) : b.value === !0 && (p["aria-disabled"] = "true"), m(
2407
2407
  c.value,
@@ -2497,11 +2497,11 @@ function Jl({
2497
2497
  mobileTouch(g) {
2498
2498
  if (d.mobileCleanup(g), c(g) !== !0) return;
2499
2499
  a.hide(g), i.value.classList.add("non-selectable");
2500
- const q = g.target;
2500
+ const S = g.target;
2501
2501
  At(d, "anchor", [
2502
- [q, "touchmove", "mobileCleanup", "passive"],
2503
- [q, "touchend", "mobileCleanup", "passive"],
2504
- [q, "touchcancel", "mobileCleanup", "passive"],
2502
+ [S, "touchmove", "mobileCleanup", "passive"],
2503
+ [S, "touchend", "mobileCleanup", "passive"],
2504
+ [S, "touchcancel", "mobileCleanup", "passive"],
2505
2505
  [i.value, "contextmenu", "prevent", "notPassive"]
2506
2506
  ]), r = setTimeout(() => {
2507
2507
  r = null, a.show(g), g.qAnchorHandled = !0;
@@ -2512,16 +2512,16 @@ function Jl({
2512
2512
  }
2513
2513
  }), l = function(g = t.contextMenu) {
2514
2514
  if (t.noParentEvent === !0 || i.value === null) return;
2515
- let q;
2516
- g === !0 ? a.$q.platform.is.mobile === !0 ? q = [
2515
+ let S;
2516
+ g === !0 ? a.$q.platform.is.mobile === !0 ? S = [
2517
2517
  [i.value, "touchstart", "mobileTouch", "passive"]
2518
- ] : q = [
2518
+ ] : S = [
2519
2519
  [i.value, "mousedown", "hide", "passive"],
2520
2520
  [i.value, "contextmenu", "contextClick", "notPassive"]
2521
- ] : q = [
2521
+ ] : S = [
2522
2522
  [i.value, "click", "toggle", "passive"],
2523
2523
  [i.value, "keyup", "toggleKey", "passive"]
2524
- ], At(d, "anchor", q);
2524
+ ], At(d, "anchor", S);
2525
2525
  });
2526
2526
  function s() {
2527
2527
  $t(d, "anchor");
@@ -2610,7 +2610,7 @@ function sl({
2610
2610
  const i = Te(), { props: r, emit: c, proxy: d } = i;
2611
2611
  let s;
2612
2612
  function v(P) {
2613
- e.value === !0 ? q(P) : b(P);
2613
+ e.value === !0 ? S(P) : b(P);
2614
2614
  }
2615
2615
  function b(P) {
2616
2616
  if (r.disable === !0 || (P == null ? void 0 : P.qAnchorHandled) === !0 || n !== void 0 && n(P) !== !0) return;
@@ -2622,26 +2622,26 @@ function sl({
2622
2622
  function g(P) {
2623
2623
  e.value !== !0 && (e.value = !0, c("beforeShow", P), t !== void 0 ? t(P) : c("show", P));
2624
2624
  }
2625
- function q(P) {
2625
+ function S(P) {
2626
2626
  if (r.disable === !0) return;
2627
2627
  const p = r["onUpdate:modelValue"] !== void 0;
2628
2628
  p === !0 && (c("update:modelValue", !1), s = P, Re(() => {
2629
2629
  s === P && (s = void 0);
2630
- })), (r.modelValue === null || p === !1) && x(P);
2630
+ })), (r.modelValue === null || p === !1) && q(P);
2631
2631
  }
2632
- function x(P) {
2632
+ function q(P) {
2633
2633
  e.value !== !1 && (e.value = !1, c("beforeHide", P), a !== void 0 ? a(P) : c("hide", P));
2634
2634
  }
2635
2635
  function y(P) {
2636
- r.disable === !0 && P === !0 ? r["onUpdate:modelValue"] !== void 0 && c("update:modelValue", !1) : P === !0 !== e.value && (P === !0 ? g : x)(s);
2636
+ r.disable === !0 && P === !0 ? r["onUpdate:modelValue"] !== void 0 && c("update:modelValue", !1) : P === !0 !== e.value && (P === !0 ? g : q)(s);
2637
2637
  }
2638
2638
  ue(() => r.modelValue, y), l !== void 0 && So(i) === !0 && ue(() => d.$route.fullPath, () => {
2639
- l.value === !0 && e.value === !0 && q();
2639
+ l.value === !0 && e.value === !0 && S();
2640
2640
  }), o === !0 && Ct(() => {
2641
2641
  y(r.modelValue);
2642
2642
  });
2643
- const E = { show: b, hide: q, toggle: v };
2644
- return Object.assign(d, E), E;
2643
+ const B = { show: b, hide: S, toggle: v };
2644
+ return Object.assign(d, B), B;
2645
2645
  }
2646
2646
  const Ba = {};
2647
2647
  let Ni = 1, Yi = document.body;
@@ -2983,10 +2983,10 @@ function ta(e, n = 0) {
2983
2983
  maxWidth: v
2984
2984
  } = e;
2985
2985
  if ($e.is.ios === !0 && window.visualViewport !== void 0) {
2986
- const H = document.body.style, { offsetLeft: M, offsetTop: k } = window.visualViewport;
2987
- M !== Va && (H.setProperty("--q-pe-left", M + "px"), Va = M), k !== Pa && (H.setProperty("--q-pe-top", k + "px"), Pa = k);
2986
+ const z = document.body.style, { offsetLeft: O, offsetTop: T } = window.visualViewport;
2987
+ O !== Va && (z.setProperty("--q-pe-left", O + "px"), Va = O), T !== Pa && (z.setProperty("--q-pe-top", T + "px"), Pa = T);
2988
2988
  }
2989
- const { scrollLeft: b, scrollTop: g } = l, q = r === void 0 ? ru(a, d === !0 ? [0, 0] : t) : iu(a, r, t);
2989
+ const { scrollLeft: b, scrollTop: g } = l, S = r === void 0 ? ru(a, d === !0 ? [0, 0] : t) : iu(a, r, t);
2990
2990
  Object.assign(l.style, {
2991
2991
  top: 0,
2992
2992
  left: 0,
@@ -2996,33 +2996,33 @@ function ta(e, n = 0) {
2996
2996
  maxHeight: s,
2997
2997
  visibility: "visible"
2998
2998
  });
2999
- const { offsetWidth: x, offsetHeight: y } = l, { elWidth: E, elHeight: P } = c === !0 || d === !0 ? { elWidth: Math.max(q.width, x), elHeight: d === !0 ? Math.max(q.height, y) : y } : { elWidth: x, elHeight: y };
2999
+ const { offsetWidth: q, offsetHeight: y } = l, { elWidth: B, elHeight: P } = c === !0 || d === !0 ? { elWidth: Math.max(S.width, q), elHeight: d === !0 ? Math.max(S.height, y) : y } : { elWidth: q, elHeight: y };
3000
3000
  let p = { maxWidth: v, maxHeight: s };
3001
- (c === !0 || d === !0) && (p.minWidth = q.width + "px", d === !0 && (p.minHeight = q.height + "px")), Object.assign(l.style, p);
3002
- const w = uu(E, P);
3003
- let B = Da(q, w, o, i);
3001
+ (c === !0 || d === !0) && (p.minWidth = S.width + "px", d === !0 && (p.minHeight = S.height + "px")), Object.assign(l.style, p);
3002
+ const w = uu(B, P);
3003
+ let V = Da(S, w, o, i);
3004
3004
  if (r === void 0 || t === void 0)
3005
- wl(B, q, w, o, i);
3005
+ wl(V, S, w, o, i);
3006
3006
  else {
3007
- const { top: H, left: M } = B;
3008
- wl(B, q, w, o, i);
3009
- let k = !1;
3010
- if (B.top !== H) {
3011
- k = !0;
3012
- const j = 2 * t[1];
3013
- q.center = q.top -= j, q.bottom -= j + 2;
3007
+ const { top: z, left: O } = V;
3008
+ wl(V, S, w, o, i);
3009
+ let T = !1;
3010
+ if (V.top !== z) {
3011
+ T = !0;
3012
+ const H = 2 * t[1];
3013
+ S.center = S.top -= H, S.bottom -= H + 2;
3014
3014
  }
3015
- if (B.left !== M) {
3016
- k = !0;
3017
- const j = 2 * t[0];
3018
- q.middle = q.left -= j, q.right -= j + 2;
3015
+ if (V.left !== O) {
3016
+ T = !0;
3017
+ const H = 2 * t[0];
3018
+ S.middle = S.left -= H, S.right -= H + 2;
3019
3019
  }
3020
- k === !0 && (B = Da(q, w, o, i), wl(B, q, w, o, i));
3020
+ T === !0 && (V = Da(S, w, o, i), wl(V, S, w, o, i));
3021
3021
  }
3022
3022
  p = {
3023
- top: B.top + "px",
3024
- left: B.left + "px"
3025
- }, B.maxHeight !== void 0 && (p.maxHeight = B.maxHeight + "px", q.height > B.maxHeight && (p.minHeight = p.maxHeight)), B.maxWidth !== void 0 && (p.maxWidth = B.maxWidth + "px", q.width > B.maxWidth && (p.minWidth = p.maxWidth)), Object.assign(l.style, p), l.scrollTop !== g && (l.scrollTop = g), l.scrollLeft !== b && (l.scrollLeft = b);
3023
+ top: V.top + "px",
3024
+ left: V.left + "px"
3025
+ }, V.maxHeight !== void 0 && (p.maxHeight = V.maxHeight + "px", S.height > V.maxHeight && (p.minHeight = p.maxHeight)), V.maxWidth !== void 0 && (p.maxWidth = V.maxWidth + "px", S.width > V.maxWidth && (p.minWidth = p.maxWidth)), Object.assign(l.style, p), l.scrollTop !== g && (l.scrollTop = g), l.scrollLeft !== b && (l.scrollLeft = b);
3026
3026
  }
3027
3027
  function wl(e, n, l, t, a) {
3028
3028
  const o = l.bottom, i = l.right, r = tu(), c = window.innerHeight - r, d = document.body.clientWidth;
@@ -3105,19 +3105,19 @@ const Ro = Be({
3105
3105
  let a = null, o, i, r;
3106
3106
  const c = Te(), { proxy: d } = c, { $q: s } = d, v = N(null), b = N(!1), g = u(
3107
3107
  () => e.persistent !== !0 && e.noRouteDismiss !== !0
3108
- ), q = Bt(e, s), { registerTick: x, removeTick: y } = gn(), { registerTimeout: E } = En(), { transitionProps: P, transitionStyle: p } = ea(e), { localScrollTarget: w, changeScrollEvent: B, unconfigureScrollTarget: H } = Oo(e, Y), { anchorEl: M, canShow: k } = Jl({ showing: b }), { hide: j } = sl({
3108
+ ), S = Bt(e, s), { registerTick: q, removeTick: y } = gn(), { registerTimeout: B } = En(), { transitionProps: P, transitionStyle: p } = ea(e), { localScrollTarget: w, changeScrollEvent: V, unconfigureScrollTarget: z } = Oo(e, Y), { anchorEl: O, canShow: T } = Jl({ showing: b }), { hide: H } = sl({
3109
3109
  showing: b,
3110
- canShow: k,
3110
+ canShow: T,
3111
3111
  handleShow: be,
3112
3112
  handleHide: C,
3113
3113
  hideOnRouteChange: g,
3114
3114
  processOnMount: !0
3115
- }), { showPortal: O, hidePortal: T, renderPortal: V } = $l(c, v, ke, "menu"), A = {
3116
- anchorEl: M,
3115
+ }), { showPortal: M, hidePortal: x, renderPortal: E } = $l(c, v, ke, "menu"), A = {
3116
+ anchorEl: O,
3117
3117
  innerRef: v,
3118
3118
  onClickOutside(U) {
3119
3119
  if (e.persistent !== !0 && b.value === !0)
3120
- return j(U), // always prevent touch event
3120
+ return H(U), // always prevent touch event
3121
3121
  (U.type === "touchstart" || U.target.classList.contains("q-dialog__backdrop")) && Qe(U), !0;
3122
3122
  }
3123
3123
  }, F = u(
@@ -3125,8 +3125,8 @@ const Ro = Be({
3125
3125
  e.anchor || (e.cover === !0 ? "center middle" : "bottom start"),
3126
3126
  s.lang.rtl
3127
3127
  )
3128
- ), z = u(() => e.cover === !0 ? F.value : $n(e.self || "top start", s.lang.rtl)), G = u(
3129
- () => (e.square === !0 ? " q-menu--square" : "") + (q.value === !0 ? " q-menu--dark q-dark" : "")
3128
+ ), j = u(() => e.cover === !0 ? F.value : $n(e.self || "top start", s.lang.rtl)), G = u(
3129
+ () => (e.square === !0 ? " q-menu--square" : "") + (S.value === !0 ? " q-menu--dark q-dark" : "")
3130
3130
  ), R = u(() => e.autoClose === !0 ? { onClick: W } : {}), D = u(
3131
3131
  () => b.value === !0 && e.persistent !== !0
3132
3132
  );
@@ -3140,33 +3140,33 @@ const Ro = Be({
3140
3140
  });
3141
3141
  }
3142
3142
  function be(U) {
3143
- if (a = e.noRefocus === !1 ? document.activeElement : null, Io(ne), O(), Y(), o = void 0, U !== void 0 && (e.touchPosition || e.contextMenu)) {
3143
+ if (a = e.noRefocus === !1 ? document.activeElement : null, Io(ne), M(), Y(), o = void 0, U !== void 0 && (e.touchPosition || e.contextMenu)) {
3144
3144
  const Ie = pn(U);
3145
3145
  if (Ie.left !== void 0) {
3146
- const { top: qe, left: Oe } = M.value.getBoundingClientRect();
3146
+ const { top: qe, left: Oe } = O.value.getBoundingClientRect();
3147
3147
  o = { left: Ie.left - Oe, top: Ie.top - qe };
3148
3148
  }
3149
3149
  }
3150
3150
  i === void 0 && (i = ue(
3151
3151
  () => s.screen.width + "|" + s.screen.height + "|" + e.self + "|" + e.anchor + "|" + s.lang.rtl,
3152
3152
  $
3153
- )), e.noFocus !== !0 && document.activeElement.blur(), x(() => {
3153
+ )), e.noFocus !== !0 && document.activeElement.blur(), q(() => {
3154
3154
  $(), e.noFocus !== !0 && Z();
3155
- }), E(() => {
3156
- s.platform.is.ios === !0 && (r = e.autoClose, v.value.click()), $(), O(!0), l("show", U);
3155
+ }), B(() => {
3156
+ s.platform.is.ios === !0 && (r = e.autoClose, v.value.click()), $(), M(!0), l("show", U);
3157
3157
  }, e.transitionDuration);
3158
3158
  }
3159
3159
  function C(U) {
3160
- y(), T(), S(!0), a !== null && // menu was hidden from code or ESC plugin
3161
- (U === void 0 || U.qClickOutside !== !0) && ((((U == null ? void 0 : U.type.indexOf("key")) === 0 ? a.closest('[tabindex]:not([tabindex^="-"])') : void 0) || a).focus(), a = null), E(() => {
3162
- T(!0), l("hide", U);
3160
+ y(), x(), k(!0), a !== null && // menu was hidden from code or ESC plugin
3161
+ (U === void 0 || U.qClickOutside !== !0) && ((((U == null ? void 0 : U.type.indexOf("key")) === 0 ? a.closest('[tabindex]:not([tabindex^="-"])') : void 0) || a).focus(), a = null), B(() => {
3162
+ x(!0), l("hide", U);
3163
3163
  }, e.transitionDuration);
3164
3164
  }
3165
- function S(U) {
3166
- o = void 0, i !== void 0 && (i(), i = void 0), (U === !0 || b.value === !0) && (Al(ne), H(), Zn(A), Wn(te)), U !== !0 && (a = null);
3165
+ function k(U) {
3166
+ o = void 0, i !== void 0 && (i(), i = void 0), (U === !0 || b.value === !0) && (Al(ne), z(), Zn(A), Wn(te)), U !== !0 && (a = null);
3167
3167
  }
3168
3168
  function Y() {
3169
- (M.value !== null || e.scrollTarget !== void 0) && (w.value = Vo(M.value, e.scrollTarget), B(w.value, $));
3169
+ (O.value !== null || e.scrollTarget !== void 0) && (w.value = Vo(O.value, e.scrollTarget), V(w.value, $));
3170
3170
  }
3171
3171
  function W(U) {
3172
3172
  r !== !0 ? (Eo(d, U), l("click", U)) : r = !1;
@@ -3175,15 +3175,15 @@ const Ro = Be({
3175
3175
  D.value === !0 && e.noFocus !== !0 && ko(v.value, U.target) !== !0 && Z();
3176
3176
  }
3177
3177
  function te(U) {
3178
- e.noEscDismiss !== !0 && (l("escapeKey"), j(U));
3178
+ e.noEscDismiss !== !0 && (l("escapeKey"), H(U));
3179
3179
  }
3180
3180
  function $() {
3181
3181
  ta({
3182
3182
  targetEl: v.value,
3183
3183
  offset: e.offset,
3184
- anchorEl: M.value,
3184
+ anchorEl: O.value,
3185
3185
  anchorOrigin: F.value,
3186
- selfOrigin: z.value,
3186
+ selfOrigin: j.value,
3187
3187
  absoluteOffset: o,
3188
3188
  fit: e.fit,
3189
3189
  cover: e.cover,
@@ -3212,7 +3212,7 @@ const Ro = Be({
3212
3212
  }, et(n.default)) : null
3213
3213
  );
3214
3214
  }
3215
- return Ye(S), Object.assign(d, { focus: Z, updatePosition: $ }), V;
3215
+ return Ye(k), Object.assign(d, { focus: Z, updatePosition: $ }), E;
3216
3216
  }
3217
3217
  });
3218
3218
  function su(e, n, l) {
@@ -3341,16 +3341,16 @@ const mu = {
3341
3341
  let c = null, d = null, s, v;
3342
3342
  const b = u(
3343
3343
  () => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
3344
- ), { preventBodyScroll: g } = vu(), { registerTimeout: q } = En(), { registerTick: x, removeTick: y } = gn(), { transitionProps: E, transitionStyle: P } = ea(
3344
+ ), { preventBodyScroll: g } = vu(), { registerTimeout: S } = En(), { registerTick: q, removeTick: y } = gn(), { transitionProps: B, transitionStyle: P } = ea(
3345
3345
  e,
3346
3346
  () => Ha[e.position][0],
3347
3347
  () => Ha[e.position][1]
3348
- ), p = u(() => P.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: w, hidePortal: B, portalIsAccessible: H, renderPortal: M } = $l(
3348
+ ), p = u(() => P.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: w, hidePortal: V, portalIsAccessible: z, renderPortal: O } = $l(
3349
3349
  a,
3350
3350
  o,
3351
3351
  Y,
3352
3352
  "dialog"
3353
- ), { hide: k } = sl({
3353
+ ), { hide: T } = sl({
3354
3354
  showing: i,
3355
3355
  hideOnRouteChange: b,
3356
3356
  handleShow: A,
@@ -3358,20 +3358,20 @@ const mu = {
3358
3358
  processOnMount: !0
3359
3359
  });
3360
3360
  su(i);
3361
- const j = u(
3361
+ const H = u(
3362
3362
  () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${mu[e.position]}` + (r.value === !0 ? " q-dialog__inner--animating" : "") + (e.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (e.square === !0 ? " q-dialog__inner--square" : "")
3363
- ), O = u(() => i.value === !0 && e.seamless !== !0), T = u(() => e.autoClose === !0 ? { onClick: be } : {}), V = u(() => [
3364
- `q-dialog fullscreen no-pointer-events q-dialog--${O.value === !0 ? "modal" : "seamless"}`,
3363
+ ), M = u(() => i.value === !0 && e.seamless !== !0), x = u(() => e.autoClose === !0 ? { onClick: be } : {}), E = u(() => [
3364
+ `q-dialog fullscreen no-pointer-events q-dialog--${M.value === !0 ? "modal" : "seamless"}`,
3365
3365
  t.class
3366
3366
  ]);
3367
3367
  ue(() => e.maximized, (W) => {
3368
3368
  i.value === !0 && Z(W);
3369
- }), ue(O, (W) => {
3370
- g(W), W === !0 ? (Io(S), Do(R)) : (Al(S), Wn(R));
3369
+ }), ue(M, (W) => {
3370
+ g(W), W === !0 ? (Io(k), Do(R)) : (Al(k), Wn(R));
3371
3371
  });
3372
3372
  function A(W) {
3373
3373
  var ne;
3374
- d = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, Z(e.maximized), w(), r.value = !0, e.noFocus !== !0 ? ((ne = document.activeElement) == null || ne.blur(), x(z)) : y(), q(() => {
3374
+ d = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, Z(e.maximized), w(), r.value = !0, e.noFocus !== !0 ? ((ne = document.activeElement) == null || ne.blur(), q(j)) : y(), S(() => {
3375
3375
  if (a.proxy.$q.platform.is.ios === !0) {
3376
3376
  if (e.seamless !== !0 && document.activeElement) {
3377
3377
  const { top: te, bottom: $ } = document.activeElement.getBoundingClientRect(), { innerHeight: ke } = window, U = window.visualViewport !== void 0 ? window.visualViewport.height : ke;
@@ -3386,11 +3386,11 @@ const mu = {
3386
3386
  }, e.transitionDuration);
3387
3387
  }
3388
3388
  function F(W) {
3389
- y(), D(!0), r.value = !0, B(), d !== null && ((((W == null ? void 0 : W.type.indexOf("key")) === 0 ? d.closest('[tabindex]:not([tabindex^="-"])') : void 0) || d).focus(), d = null), q(() => {
3390
- B(!0), r.value = !1, l("hide", W);
3389
+ y(), D(!0), r.value = !0, V(), d !== null && ((((W == null ? void 0 : W.type.indexOf("key")) === 0 ? d.closest('[tabindex]:not([tabindex^="-"])') : void 0) || d).focus(), d = null), S(() => {
3390
+ V(!0), r.value = !1, l("hide", W);
3391
3391
  }, e.transitionDuration);
3392
3392
  }
3393
- function z(W) {
3393
+ function j(W) {
3394
3394
  al(() => {
3395
3395
  let ne = o.value;
3396
3396
  if (ne !== null) {
@@ -3406,33 +3406,33 @@ const mu = {
3406
3406
  });
3407
3407
  }
3408
3408
  function G(W) {
3409
- W && typeof W.focus == "function" ? W.focus({ preventScroll: !0 }) : z(), l("shake");
3409
+ W && typeof W.focus == "function" ? W.focus({ preventScroll: !0 }) : j(), l("shake");
3410
3410
  const ne = o.value;
3411
3411
  ne !== null && (ne.classList.remove("q-animate--scale"), ne.classList.add("q-animate--scale"), c !== null && clearTimeout(c), c = setTimeout(() => {
3412
- c = null, o.value !== null && (ne.classList.remove("q-animate--scale"), z());
3412
+ c = null, o.value !== null && (ne.classList.remove("q-animate--scale"), j());
3413
3413
  }, 170));
3414
3414
  }
3415
3415
  function R() {
3416
- e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && G() : (l("escapeKey"), k()));
3416
+ e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && G() : (l("escapeKey"), T()));
3417
3417
  }
3418
3418
  function D(W) {
3419
- c !== null && (clearTimeout(c), c = null), (W === !0 || i.value === !0) && (Z(!1), e.seamless !== !0 && (g(!1), Al(S), Wn(R))), W !== !0 && (d = null);
3419
+ c !== null && (clearTimeout(c), c = null), (W === !0 || i.value === !0) && (Z(!1), e.seamless !== !0 && (g(!1), Al(k), Wn(R))), W !== !0 && (d = null);
3420
3420
  }
3421
3421
  function Z(W) {
3422
3422
  W === !0 ? s !== !0 && (Hn < 1 && document.body.classList.add("q-body--dialog"), Hn++, s = !0) : s === !0 && (Hn < 2 && document.body.classList.remove("q-body--dialog"), Hn--, s = !1);
3423
3423
  }
3424
3424
  function be(W) {
3425
- v !== !0 && (k(W), l("click", W));
3425
+ v !== !0 && (T(W), l("click", W));
3426
3426
  }
3427
3427
  function C(W) {
3428
- e.persistent !== !0 && e.noBackdropDismiss !== !0 ? k(W) : e.noShake !== !0 && G();
3428
+ e.persistent !== !0 && e.noBackdropDismiss !== !0 ? T(W) : e.noShake !== !0 && G();
3429
3429
  }
3430
- function S(W) {
3431
- e.allowFocusOutside !== !0 && H.value === !0 && ko(o.value, W.target) !== !0 && z('[tabindex]:not([tabindex="-1"])');
3430
+ function k(W) {
3431
+ e.allowFocusOutside !== !0 && z.value === !0 && ko(o.value, W.target) !== !0 && j('[tabindex]:not([tabindex="-1"])');
3432
3432
  }
3433
3433
  Object.assign(a.proxy, {
3434
3434
  // expose public methods
3435
- focus: z,
3435
+ focus: j,
3436
3436
  shake: G,
3437
3437
  // private but needed by QSelect
3438
3438
  __updateRefocusTarget(W) {
@@ -3442,14 +3442,14 @@ const mu = {
3442
3442
  function Y() {
3443
3443
  return m("div", {
3444
3444
  role: "dialog",
3445
- "aria-modal": O.value === !0 ? "true" : "false",
3445
+ "aria-modal": M.value === !0 ? "true" : "false",
3446
3446
  ...t,
3447
- class: V.value
3447
+ class: E.value
3448
3448
  }, [
3449
3449
  m(pt, {
3450
3450
  name: "q-transition--fade",
3451
3451
  appear: !0
3452
- }, () => O.value === !0 ? m("div", {
3452
+ }, () => M.value === !0 ? m("div", {
3453
3453
  class: "q-dialog__backdrop fixed-full",
3454
3454
  style: p.value,
3455
3455
  "aria-hidden": "true",
@@ -3458,18 +3458,18 @@ const mu = {
3458
3458
  }) : null),
3459
3459
  m(
3460
3460
  pt,
3461
- E.value,
3461
+ B.value,
3462
3462
  () => i.value === !0 ? m("div", {
3463
3463
  ref: o,
3464
- class: j.value,
3464
+ class: H.value,
3465
3465
  style: P.value,
3466
3466
  tabindex: -1,
3467
- ...T.value
3467
+ ...x.value
3468
3468
  }, et(n.default)) : null
3469
3469
  )
3470
3470
  ]);
3471
3471
  }
3472
- return M;
3472
+ return O;
3473
3473
  }
3474
3474
  });
3475
3475
  let Bn = !1;
@@ -3578,89 +3578,89 @@ function yu({
3578
3578
  }) {
3579
3579
  const a = Te(), { props: o, emit: i, proxy: r } = a, { $q: c } = r;
3580
3580
  let d, s, v, b = [], g;
3581
- const q = N(0), x = N(0), y = N({}), E = N(null), P = N(null), p = N(null), w = N({ from: 0, to: 0 }), B = u(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3581
+ const S = N(0), q = N(0), y = N({}), B = N(null), P = N(null), p = N(null), w = N({ from: 0, to: 0 }), V = u(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3582
3582
  t === void 0 && (t = u(() => o.virtualScrollItemSize));
3583
- const H = u(() => t.value + ";" + o.virtualScrollHorizontal), M = u(
3584
- () => H.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3583
+ const z = u(() => t.value + ";" + o.virtualScrollHorizontal), O = u(
3584
+ () => z.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3585
3585
  );
3586
- ue(M, () => {
3586
+ ue(O, () => {
3587
3587
  G();
3588
- }), ue(H, k);
3589
- function k() {
3590
- z(s, !0);
3588
+ }), ue(z, T);
3589
+ function T() {
3590
+ j(s, !0);
3591
3591
  }
3592
- function j(C) {
3593
- z(C === void 0 ? s : C);
3592
+ function H(C) {
3593
+ j(C === void 0 ? s : C);
3594
3594
  }
3595
- function O(C, S) {
3595
+ function M(C, k) {
3596
3596
  const Y = n();
3597
3597
  if (Y == null || Y.nodeType === 8) return;
3598
3598
  const W = ql(
3599
3599
  Y,
3600
3600
  l(),
3601
- E.value,
3601
+ B.value,
3602
3602
  P.value,
3603
3603
  o.virtualScrollHorizontal,
3604
3604
  c.lang.rtl,
3605
3605
  o.virtualScrollStickySizeStart,
3606
3606
  o.virtualScrollStickySizeEnd
3607
3607
  );
3608
- v !== W.scrollViewSize && G(W.scrollViewSize), V(
3608
+ v !== W.scrollViewSize && G(W.scrollViewSize), E(
3609
3609
  Y,
3610
3610
  W,
3611
3611
  Math.min(e.value - 1, Math.max(0, parseInt(C, 10) || 0)),
3612
3612
  0,
3613
- hu.indexOf(S) !== -1 ? S : s !== -1 && C > s ? "end" : "start"
3613
+ hu.indexOf(k) !== -1 ? k : s !== -1 && C > s ? "end" : "start"
3614
3614
  );
3615
3615
  }
3616
- function T() {
3616
+ function x() {
3617
3617
  const C = n();
3618
3618
  if (C == null || C.nodeType === 8) return;
3619
- const S = ql(
3619
+ const k = ql(
3620
3620
  C,
3621
3621
  l(),
3622
- E.value,
3622
+ B.value,
3623
3623
  P.value,
3624
3624
  o.virtualScrollHorizontal,
3625
3625
  c.lang.rtl,
3626
3626
  o.virtualScrollStickySizeStart,
3627
3627
  o.virtualScrollStickySizeEnd
3628
- ), Y = e.value - 1, W = S.scrollMaxSize - S.offsetStart - S.offsetEnd - x.value;
3629
- if (d === S.scrollStart) return;
3630
- if (S.scrollMaxSize <= 0) {
3631
- V(C, S, 0, 0);
3628
+ ), Y = e.value - 1, W = k.scrollMaxSize - k.offsetStart - k.offsetEnd - q.value;
3629
+ if (d === k.scrollStart) return;
3630
+ if (k.scrollMaxSize <= 0) {
3631
+ E(C, k, 0, 0);
3632
3632
  return;
3633
3633
  }
3634
- v !== S.scrollViewSize && G(S.scrollViewSize), A(w.value.from);
3635
- const ne = Math.floor(S.scrollMaxSize - Math.max(S.scrollViewSize, S.offsetEnd) - Math.min(g[Y], S.scrollViewSize / 2));
3636
- if (ne > 0 && Math.ceil(S.scrollStart) >= ne) {
3637
- V(
3634
+ v !== k.scrollViewSize && G(k.scrollViewSize), A(w.value.from);
3635
+ const ne = Math.floor(k.scrollMaxSize - Math.max(k.scrollViewSize, k.offsetEnd) - Math.min(g[Y], k.scrollViewSize / 2));
3636
+ if (ne > 0 && Math.ceil(k.scrollStart) >= ne) {
3637
+ E(
3638
3638
  C,
3639
- S,
3639
+ k,
3640
3640
  Y,
3641
- S.scrollMaxSize - S.offsetEnd - b.reduce(bn, 0)
3641
+ k.scrollMaxSize - k.offsetEnd - b.reduce(bn, 0)
3642
3642
  );
3643
3643
  return;
3644
3644
  }
3645
- let te = 0, $ = S.scrollStart - S.offsetStart, ke = $;
3646
- if ($ <= W && $ + S.scrollViewSize >= q.value)
3647
- $ -= q.value, te = w.value.from, ke = $;
3645
+ let te = 0, $ = k.scrollStart - k.offsetStart, ke = $;
3646
+ if ($ <= W && $ + k.scrollViewSize >= S.value)
3647
+ $ -= S.value, te = w.value.from, ke = $;
3648
3648
  else
3649
3649
  for (let U = 0; $ >= b[U] && te < Y; U++)
3650
3650
  $ -= b[U], te += xt;
3651
3651
  for (; $ > 0 && te < Y; )
3652
- $ -= g[te], $ > -S.scrollViewSize ? (te++, ke = $) : ke = g[te] + $;
3653
- V(
3652
+ $ -= g[te], $ > -k.scrollViewSize ? (te++, ke = $) : ke = g[te] + $;
3653
+ E(
3654
3654
  C,
3655
- S,
3655
+ k,
3656
3656
  te,
3657
3657
  ke
3658
3658
  );
3659
3659
  }
3660
- function V(C, S, Y, W, ne) {
3660
+ function E(C, k, Y, W, ne) {
3661
3661
  const te = typeof ne == "string" && ne.indexOf("-force") !== -1, $ = te === !0 ? ne.replace("-force", "") : ne, ke = $ !== void 0 ? $ : "start";
3662
3662
  let U = Math.max(0, Y - y.value[ke]), Ie = U + y.value.total;
3663
- Ie > e.value && (Ie = e.value, U = Math.max(0, Ie - y.value.total)), d = S.scrollStart;
3663
+ Ie > e.value && (Ie = e.value, U = Math.max(0, Ie - y.value.total)), d = k.scrollStart;
3664
3664
  const qe = U !== w.value.from || Ie !== w.value.to;
3665
3665
  if (qe === !1 && $ === void 0) {
3666
3666
  D(Y);
@@ -3673,18 +3673,18 @@ function yu({
3673
3673
  const nt = $ !== void 0 ? g.slice(U, Y).reduce(bn, 0) : 0;
3674
3674
  if (qe === !0) {
3675
3675
  const ct = Ie >= w.value.from && U <= w.value.to ? w.value.to : Ie;
3676
- w.value = { from: U, to: ct }, q.value = qn(b, g, 0, U), x.value = qn(b, g, Ie, e.value), requestAnimationFrame(() => {
3677
- w.value.to !== Ie && d === S.scrollStart && (w.value = { from: w.value.from, to: Ie }, x.value = qn(b, g, Ie, e.value));
3676
+ w.value = { from: U, to: ct }, S.value = qn(b, g, 0, U), q.value = qn(b, g, Ie, e.value), requestAnimationFrame(() => {
3677
+ w.value.to !== Ie && d === k.scrollStart && (w.value = { from: w.value.from, to: Ie }, q.value = qn(b, g, Ie, e.value));
3678
3678
  });
3679
3679
  }
3680
3680
  requestAnimationFrame(() => {
3681
- if (d !== S.scrollStart) return;
3681
+ if (d !== k.scrollStart) return;
3682
3682
  qe === !0 && A(U);
3683
- const ct = g.slice(U, Y).reduce(bn, 0), lt = ct + S.offsetStart + q.value, Ke = lt + g[Y];
3683
+ const ct = g.slice(U, Y).reduce(bn, 0), lt = ct + k.offsetStart + S.value, Ke = lt + g[Y];
3684
3684
  let kt = lt + W;
3685
3685
  if ($ !== void 0) {
3686
- const Mt = ct - nt, dt = S.scrollStart + Mt;
3687
- kt = te !== !0 && dt < lt && Ke < dt + S.scrollViewSize ? dt : $ === "end" ? Ke - S.scrollViewSize : lt - ($ === "start" ? 0 : Math.round((S.scrollViewSize - g[Y]) / 2));
3686
+ const Mt = ct - nt, dt = k.scrollStart + Mt;
3687
+ kt = te !== !0 && dt < lt && Ke < dt + k.scrollViewSize ? dt : $ === "end" ? Ke - k.scrollViewSize : lt - ($ === "start" ? 0 : Math.round((k.scrollViewSize - g[Y]) / 2));
3688
3688
  }
3689
3689
  d = kt, za(
3690
3690
  C,
@@ -3695,10 +3695,10 @@ function yu({
3695
3695
  });
3696
3696
  }
3697
3697
  function A(C) {
3698
- const S = p.value;
3699
- if (S) {
3698
+ const k = p.value;
3699
+ if (k) {
3700
3700
  const Y = zo.call(
3701
- S.children,
3701
+ k.children,
3702
3702
  (U) => U.classList && U.classList.contains("q-virtual-scroll--skip") === !1
3703
3703
  ), W = Y.length, ne = o.virtualScrollHorizontal === !0 ? (U) => U.getBoundingClientRect().width : (U) => U.offsetHeight;
3704
3704
  let te = C, $, ke;
@@ -3713,9 +3713,9 @@ function yu({
3713
3713
  var C;
3714
3714
  (C = p.value) == null || C.focus();
3715
3715
  }
3716
- function z(C, S) {
3716
+ function j(C, k) {
3717
3717
  const Y = 1 * t.value;
3718
- (S === !0 || Array.isArray(g) === !1) && (g = []);
3718
+ (k === !0 || Array.isArray(g) === !1) && (g = []);
3719
3719
  const W = g.length;
3720
3720
  g.length = e.value;
3721
3721
  for (let te = e.value - 1; te >= W; te--)
@@ -3729,8 +3729,8 @@ function yu({
3729
3729
  $ += g[U];
3730
3730
  b.push($);
3731
3731
  }
3732
- s = -1, d = void 0, q.value = qn(b, g, 0, w.value.from), x.value = qn(b, g, w.value.to, e.value), C >= 0 ? (A(w.value.from), Re(() => {
3733
- O(C);
3732
+ s = -1, d = void 0, S.value = qn(b, g, 0, w.value.from), q.value = qn(b, g, w.value.to, e.value), C >= 0 ? (A(w.value.from), Re(() => {
3733
+ M(C);
3734
3734
  })) : Z();
3735
3735
  }
3736
3736
  function G(C) {
@@ -3739,7 +3739,7 @@ function yu({
3739
3739
  $ != null && $.nodeType !== 8 && (C = ql(
3740
3740
  $,
3741
3741
  l(),
3742
- E.value,
3742
+ B.value,
3743
3743
  P.value,
3744
3744
  o.virtualScrollHorizontal,
3745
3745
  c.lang.rtl,
@@ -3748,20 +3748,20 @@ function yu({
3748
3748
  ).scrollViewSize);
3749
3749
  }
3750
3750
  v = C;
3751
- const S = parseFloat(o.virtualScrollSliceRatioBefore) || 0, Y = parseFloat(o.virtualScrollSliceRatioAfter) || 0, W = 1 + S + Y, ne = C === void 0 || C <= 0 ? 1 : Math.ceil(C / t.value), te = Math.max(
3751
+ const k = parseFloat(o.virtualScrollSliceRatioBefore) || 0, Y = parseFloat(o.virtualScrollSliceRatioAfter) || 0, W = 1 + k + Y, ne = C === void 0 || C <= 0 ? 1 : Math.ceil(C / t.value), te = Math.max(
3752
3752
  1,
3753
3753
  ne,
3754
3754
  Math.ceil((o.virtualScrollSliceSize > 0 ? o.virtualScrollSliceSize : 10) / W)
3755
3755
  );
3756
3756
  y.value = {
3757
3757
  total: Math.ceil(te * W),
3758
- start: Math.ceil(te * S),
3759
- center: Math.ceil(te * (0.5 + S)),
3760
- end: Math.ceil(te * (1 + S)),
3758
+ start: Math.ceil(te * k),
3759
+ center: Math.ceil(te * (0.5 + k)),
3760
+ end: Math.ceil(te * (1 + k)),
3761
3761
  view: ne
3762
3762
  };
3763
3763
  }
3764
- function R(C, S) {
3764
+ function R(C, k) {
3765
3765
  const Y = o.virtualScrollHorizontal === !0 ? "width" : "height", W = {
3766
3766
  ["--q-virtual-scroll-item-" + Y]: t.value + "px"
3767
3767
  };
@@ -3769,26 +3769,26 @@ function yu({
3769
3769
  C === "tbody" ? m(C, {
3770
3770
  class: "q-virtual-scroll__padding",
3771
3771
  key: "before",
3772
- ref: E
3772
+ ref: B
3773
3773
  }, [
3774
3774
  m("tr", [
3775
3775
  m("td", {
3776
- style: { [Y]: `${q.value}px`, ...W },
3777
- colspan: B.value
3776
+ style: { [Y]: `${S.value}px`, ...W },
3777
+ colspan: V.value
3778
3778
  })
3779
3779
  ])
3780
3780
  ]) : m(C, {
3781
3781
  class: "q-virtual-scroll__padding",
3782
3782
  key: "before",
3783
- ref: E,
3784
- style: { [Y]: `${q.value}px`, ...W }
3783
+ ref: B,
3784
+ style: { [Y]: `${S.value}px`, ...W }
3785
3785
  }),
3786
3786
  m(C, {
3787
3787
  class: "q-virtual-scroll__content",
3788
3788
  key: "content",
3789
3789
  ref: p,
3790
3790
  tabindex: -1
3791
- }, S.flat()),
3791
+ }, k.flat()),
3792
3792
  C === "tbody" ? m(C, {
3793
3793
  class: "q-virtual-scroll__padding",
3794
3794
  key: "after",
@@ -3796,15 +3796,15 @@ function yu({
3796
3796
  }, [
3797
3797
  m("tr", [
3798
3798
  m("td", {
3799
- style: { [Y]: `${x.value}px`, ...W },
3800
- colspan: B.value
3799
+ style: { [Y]: `${q.value}px`, ...W },
3800
+ colspan: V.value
3801
3801
  })
3802
3802
  ])
3803
3803
  ]) : m(C, {
3804
3804
  class: "q-virtual-scroll__padding",
3805
3805
  key: "after",
3806
3806
  ref: P,
3807
- style: { [Y]: `${x.value}px`, ...W }
3807
+ style: { [Y]: `${q.value}px`, ...W }
3808
3808
  })
3809
3809
  ];
3810
3810
  }
@@ -3819,7 +3819,7 @@ function yu({
3819
3819
  }
3820
3820
  G();
3821
3821
  const Z = ho(
3822
- T,
3822
+ x,
3823
3823
  c.platform.is.ios === !0 ? 120 : 35
3824
3824
  );
3825
3825
  qr(() => {
@@ -3836,19 +3836,19 @@ function yu({
3836
3836
  d,
3837
3837
  o.virtualScrollHorizontal,
3838
3838
  c.lang.rtl
3839
- ) : O(s);
3839
+ ) : M(s);
3840
3840
  }), Ye(() => {
3841
3841
  Z.cancel();
3842
- }), Object.assign(r, { scrollTo: O, reset: k, refresh: j }), {
3842
+ }), Object.assign(r, { scrollTo: M, reset: T, refresh: H }), {
3843
3843
  virtualScrollSliceRange: w,
3844
3844
  virtualScrollSliceSizeComputed: y,
3845
3845
  setVirtualScrollSize: G,
3846
3846
  onVirtualScrollEvt: Z,
3847
- localResetVirtualScroll: z,
3847
+ localResetVirtualScroll: j,
3848
3848
  padVirtualScroll: R,
3849
- scrollTo: O,
3850
- reset: k,
3851
- refresh: j
3849
+ scrollTo: M,
3850
+ reset: T,
3851
+ refresh: H
3852
3852
  };
3853
3853
  }
3854
3854
  function jt(e, n) {
@@ -4029,21 +4029,21 @@ const na = Be({
4029
4029
  ],
4030
4030
  setup(e, { slots: n, emit: l }) {
4031
4031
  const { proxy: t } = Te(), { $q: a } = t, o = N(!1), i = N(!1), r = N(-1), c = N(""), d = N(!1), s = N(!1);
4032
- let v = null, b = null, g, q, x, y = null, E, P, p, w;
4033
- const B = N(null), H = N(null), M = N(null), k = N(null), j = N(null), O = wo(e), T = _o(an), V = u(() => Array.isArray(e.options) ? e.options.length : 0), A = u(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
4032
+ let v = null, b = null, g, S, q, y = null, B, P, p, w;
4033
+ const V = N(null), z = N(null), O = N(null), T = N(null), H = N(null), M = wo(e), x = _o(an), E = u(() => Array.isArray(e.options) ? e.options.length : 0), A = u(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
4034
4034
  virtualScrollSliceRange: F,
4035
- virtualScrollSliceSizeComputed: z,
4035
+ virtualScrollSliceSizeComputed: j,
4036
4036
  localResetVirtualScroll: G,
4037
4037
  padVirtualScroll: R,
4038
4038
  onVirtualScrollEvt: D,
4039
4039
  scrollTo: Z,
4040
4040
  setVirtualScrollSize: be
4041
4041
  } = yu({
4042
- virtualScrollLength: V,
4042
+ virtualScrollLength: E,
4043
4043
  getVirtualScrollTarget: Rt,
4044
4044
  getVirtualScrollEl: Ut,
4045
4045
  virtualScrollItemSizeComputed: A
4046
- }), C = Kl(), S = u(() => {
4046
+ }), C = Kl(), k = u(() => {
4047
4047
  const h = e.mapOptions === !0 && e.multiple !== !0, J = e.modelValue !== void 0 && (e.modelValue !== null || h === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
4048
4048
  if (e.mapOptions === !0 && Array.isArray(e.options) === !0) {
4049
4049
  const le = e.mapOptions === !0 && g !== void 0 ? g : [], _e = J.map((Pe) => se(Pe, le));
@@ -4056,14 +4056,14 @@ const na = Be({
4056
4056
  const le = e[J];
4057
4057
  le !== void 0 && (h[J] = le);
4058
4058
  }), h;
4059
- }), W = u(() => e.optionsDark === null ? C.isDark.value : e.optionsDark), ne = u(() => On(S.value)), te = u(() => {
4059
+ }), W = u(() => e.optionsDark === null ? C.isDark.value : e.optionsDark), ne = u(() => On(k.value)), te = u(() => {
4060
4060
  let h = "q-field__input q-placeholder col";
4061
- return e.hideSelected === !0 || S.value.length === 0 ? [h, e.inputClass] : (h += " q-field__input--padding", e.inputClass === void 0 ? h : [h, e.inputClass]);
4061
+ return e.hideSelected === !0 || k.value.length === 0 ? [h, e.inputClass] : (h += " q-field__input--padding", e.inputClass === void 0 ? h : [h, e.inputClass]);
4062
4062
  }), $ = u(
4063
4063
  () => (e.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (e.popupContentClass ? " " + e.popupContentClass : "")
4064
- ), ke = u(() => V.value === 0), U = u(
4065
- () => S.value.map((h) => Q.value(h)).join(", ")
4066
- ), Ie = u(() => e.displayValue !== void 0 ? e.displayValue : U.value), qe = u(() => e.optionsHtml === !0 ? () => !0 : (h) => (h == null ? void 0 : h.html) === !0), Oe = u(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || S.value.some(qe.value))), Ze = u(() => C.focused.value === !0 ? e.tabindex : -1), nt = u(() => {
4064
+ ), ke = u(() => E.value === 0), U = u(
4065
+ () => k.value.map((h) => Q.value(h)).join(", ")
4066
+ ), Ie = u(() => e.displayValue !== void 0 ? e.displayValue : U.value), qe = u(() => e.optionsHtml === !0 ? () => !0 : (h) => (h == null ? void 0 : h.html) === !0), Oe = u(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || k.value.some(qe.value))), Ze = u(() => C.focused.value === !0 ? e.tabindex : -1), nt = u(() => {
4067
4067
  const h = {
4068
4068
  tabindex: e.tabindex,
4069
4069
  role: "combobox",
@@ -4078,7 +4078,7 @@ const na = Be({
4078
4078
  id: `${C.targetUid.value}_lb`,
4079
4079
  role: "listbox",
4080
4080
  "aria-multiselectable": e.multiple === !0 ? "true" : "false"
4081
- })), lt = u(() => S.value.map((h, J) => ({
4081
+ })), lt = u(() => k.value.map((h, J) => ({
4082
4082
  index: J,
4083
4083
  opt: h,
4084
4084
  html: qe.value(h),
@@ -4087,7 +4087,7 @@ const na = Be({
4087
4087
  toggleOption: je,
4088
4088
  tabindex: Ze.value
4089
4089
  }))), Ke = u(() => {
4090
- if (V.value === 0)
4090
+ if (E.value === 0)
4091
4091
  return [];
4092
4092
  const { from: h, to: J } = F.value;
4093
4093
  return e.options.slice(h, J).map((le, _e) => {
@@ -4124,32 +4124,32 @@ const na = Be({
4124
4124
  });
4125
4125
  }), kt = u(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : a.iconSet.arrow.dropdown), Mt = u(
4126
4126
  () => e.optionsCover === !1 && e.outlined !== !0 && e.standout !== !0 && e.borderless !== !0 && e.rounded !== !0
4127
- ), dt = u(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), ze = u(() => xl(e.optionValue, "value")), Q = u(() => xl(e.optionLabel, "label")), oe = u(() => xl(e.optionDisable, "disable")), de = u(() => S.value.map(ze.value)), Ee = u(() => {
4127
+ ), dt = u(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), ze = u(() => xl(e.optionValue, "value")), Q = u(() => xl(e.optionLabel, "label")), oe = u(() => xl(e.optionDisable, "disable")), de = u(() => k.value.map(ze.value)), Ee = u(() => {
4128
4128
  const h = {
4129
4129
  onInput: an,
4130
4130
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
4131
4131
  // switching focus before confirming composition choice
4132
4132
  // this also fixes the issue where some browsers e.g. iOS Chrome
4133
4133
  // fires "change" instead of "input" on autocomplete.
4134
- onChange: T,
4134
+ onChange: x,
4135
4135
  onKeydown: at,
4136
4136
  onKeyup: pe,
4137
4137
  onKeypress: Ae,
4138
4138
  onFocus: Se,
4139
4139
  onClick(J) {
4140
- q === !0 && yt(J);
4140
+ S === !0 && yt(J);
4141
4141
  }
4142
4142
  };
4143
- return h.onCompositionstart = h.onCompositionupdate = h.onCompositionend = T, h;
4143
+ return h.onCompositionstart = h.onCompositionupdate = h.onCompositionend = x, h;
4144
4144
  });
4145
- ue(S, (h) => {
4146
- g = h, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && C.innerLoading.value !== !0 && (i.value !== !0 && o.value !== !0 || ne.value !== !0) && (x !== !0 && St(), (i.value === !0 || o.value === !0) && Tt(""));
4147
- }, { immediate: !0 }), ue(() => e.fillInput, St), ue(o, vl), ue(V, or);
4145
+ ue(k, (h) => {
4146
+ g = h, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && C.innerLoading.value !== !0 && (i.value !== !0 && o.value !== !0 || ne.value !== !0) && (q !== !0 && St(), (i.value === !0 || o.value === !0) && Tt(""));
4147
+ }, { immediate: !0 }), ue(() => e.fillInput, St), ue(o, vl), ue(E, or);
4148
4148
  function Me(h) {
4149
4149
  return e.emitValue === !0 ? ze.value(h) : h;
4150
4150
  }
4151
4151
  function he(h) {
4152
- if (h !== -1 && h < S.value.length)
4152
+ if (h !== -1 && h < k.value.length)
4153
4153
  if (e.multiple === !0) {
4154
4154
  const J = e.modelValue.slice();
4155
4155
  l("remove", { index: h, value: J.splice(h, 1)[0] }), l("update:modelValue", J);
@@ -4169,7 +4169,7 @@ const na = Be({
4169
4169
  ), l("update:modelValue", le);
4170
4170
  return;
4171
4171
  }
4172
- if (S.value.length === 0) {
4172
+ if (k.value.length === 0) {
4173
4173
  l("add", { index: 0, value: le }), l("update:modelValue", e.multiple === !0 ? [le] : le);
4174
4174
  return;
4175
4175
  }
@@ -4186,10 +4186,10 @@ const na = Be({
4186
4186
  e.fillInput === !0 ? Q.value(h) : "",
4187
4187
  !0,
4188
4188
  !0
4189
- ), xe()), (Ue = H.value) == null || Ue.focus(), (S.value.length === 0 || jt(ze.value(S.value[0]), le) !== !0) && l("update:modelValue", e.emitValue === !0 ? le : h);
4189
+ ), xe()), (Ue = z.value) == null || Ue.focus(), (k.value.length === 0 || jt(ze.value(k.value[0]), le) !== !0) && l("update:modelValue", e.emitValue === !0 ? le : h);
4190
4190
  return;
4191
4191
  }
4192
- if ((q !== !0 || d.value === !0) && C.focus(), Se(), S.value.length === 0) {
4192
+ if ((S !== !0 || d.value === !0) && C.focus(), Se(), k.value.length === 0) {
4193
4193
  const De = e.emitValue === !0 ? le : h;
4194
4194
  l("add", { index: 0, value: De }), l("update:modelValue", e.multiple === !0 ? [De] : De);
4195
4195
  return;
@@ -4206,7 +4206,7 @@ const na = Be({
4206
4206
  }
4207
4207
  function L(h) {
4208
4208
  if (a.platform.is.desktop !== !0) return;
4209
- const J = h !== -1 && h < V.value ? h : -1;
4209
+ const J = h !== -1 && h < E.value ? h : -1;
4210
4210
  r.value !== J && (r.value = J);
4211
4211
  }
4212
4212
  function K(h = 1, J) {
@@ -4216,11 +4216,11 @@ const na = Be({
4216
4216
  le = Qa(
4217
4217
  le + h,
4218
4218
  -1,
4219
- V.value - 1
4219
+ E.value - 1
4220
4220
  );
4221
4221
  while (le !== -1 && le !== r.value && oe.value(e.options[le]) === !0);
4222
4222
  r.value !== le && (L(le), Z(le), J !== !0 && e.useInput === !0 && e.fillInput === !0 && Wt(
4223
- le >= 0 ? Q.value(e.options[le]) : E,
4223
+ le >= 0 ? Q.value(e.options[le]) : B,
4224
4224
  !0
4225
4225
  ));
4226
4226
  }
@@ -4234,7 +4234,7 @@ const na = Be({
4234
4234
  return de.value.find((le) => jt(le, J)) !== void 0;
4235
4235
  }
4236
4236
  function Se(h) {
4237
- e.useInput === !0 && H.value !== null && (h === void 0 || H.value === h.target && h.target.value === U.value) && H.value.select();
4237
+ e.useInput === !0 && z.value !== null && (h === void 0 || z.value === h.target && h.target.value === U.value) && z.value.select();
4238
4238
  }
4239
4239
  function it(h) {
4240
4240
  Lt(h, 27) === !0 && o.value === !0 && (yt(h), xe(), St()), l("keyup", h);
@@ -4248,7 +4248,7 @@ const na = Be({
4248
4248
  if (h.target.value = "", v !== null && (clearTimeout(v), v = null), b !== null && (clearTimeout(b), b = null), St(), typeof J == "string" && J.length !== 0) {
4249
4249
  const le = J.toLocaleLowerCase(), _e = (Ue) => {
4250
4250
  const De = e.options.find((We) => String(Ue.value(We)).toLocaleLowerCase() === le);
4251
- return De === void 0 ? !1 : (S.value.indexOf(De) === -1 ? je(De) : xe(), !0);
4251
+ return De === void 0 ? !1 : (k.value.indexOf(De) === -1 ? je(De) : xe(), !0);
4252
4252
  }, Pe = (Ue) => {
4253
4253
  _e(ze) !== !0 && Ue !== !0 && _e(Q) !== !0 && Tt(J, !0, () => Pe(!0));
4254
4254
  };
@@ -4279,14 +4279,14 @@ const na = Be({
4279
4279
  e.multiple === !0 && Array.isArray(e.modelValue) === !0 ? he(e.modelValue.length - 1) : e.multiple !== !0 && e.modelValue !== null && l("update:modelValue", null);
4280
4280
  return;
4281
4281
  }
4282
- (h.keyCode === 35 || h.keyCode === 36) && (typeof c.value != "string" || c.value.length === 0) && (Qe(h), r.value = -1, K(h.keyCode === 36 ? 1 : -1, e.multiple)), (h.keyCode === 33 || h.keyCode === 34) && z.value !== void 0 && (Qe(h), r.value = Math.max(
4282
+ (h.keyCode === 35 || h.keyCode === 36) && (typeof c.value != "string" || c.value.length === 0) && (Qe(h), r.value = -1, K(h.keyCode === 36 ? 1 : -1, e.multiple)), (h.keyCode === 33 || h.keyCode === 34) && j.value !== void 0 && (Qe(h), r.value = Math.max(
4283
4283
  -1,
4284
4284
  Math.min(
4285
- V.value,
4286
- r.value + (h.keyCode === 33 ? -1 : 1) * z.value.view
4285
+ E.value,
4286
+ r.value + (h.keyCode === 33 ? -1 : 1) * j.value.view
4287
4287
  )
4288
4288
  ), K(h.keyCode === 33 ? 1 : -1, e.multiple)), (h.keyCode === 38 || h.keyCode === 40) && (Qe(h), K(h.keyCode === 38 ? -1 : 1, e.multiple));
4289
- const _e = V.value;
4289
+ const _e = E.value;
4290
4290
  if ((p === void 0 || w < Date.now()) && (p = ""), _e > 0 && e.useInput !== !0 && h.key !== void 0 && h.key.length === 1 && h.altKey === !1 && h.ctrlKey === !1 && h.metaKey === !1 && (h.keyCode !== 32 || p.length !== 0)) {
4291
4291
  o.value !== !0 && fe(h);
4292
4292
  const Pe = h.key.toLocaleLowerCase(), Ue = p.length === 1 && p[0] === Pe;
@@ -4315,7 +4315,7 @@ const na = Be({
4315
4315
  } else
4316
4316
  De = e.newValueMode;
4317
4317
  if (Gt("", e.multiple !== !0, !0), Ue == null) return;
4318
- (De === "toggle" ? je : Ve)(Ue, De === "add-unique"), e.multiple !== !0 && ((on = H.value) == null || on.focus(), xe());
4318
+ (De === "toggle" ? je : Ve)(Ue, De === "add-unique"), e.multiple !== !0 && ((on = z.value) == null || on.focus(), xe());
4319
4319
  };
4320
4320
  if (e.onNewValue !== void 0 ? l("newValue", c.value, Pe) : Pe(c.value), e.multiple !== !0) return;
4321
4321
  }
@@ -4323,7 +4323,7 @@ const na = Be({
4323
4323
  }
4324
4324
  }
4325
4325
  function Ut() {
4326
- return q === !0 ? j.value : M.value !== null && M.value.contentEl !== null ? M.value.contentEl : void 0;
4326
+ return S === !0 ? H.value : O.value !== null && O.value.contentEl !== null ? O.value.contentEl : void 0;
4327
4327
  }
4328
4328
  function Rt() {
4329
4329
  return Ut();
@@ -4368,7 +4368,7 @@ const na = Be({
4368
4368
  }
4369
4369
  function kn(h, J) {
4370
4370
  const le = J === !0 ? { ...nt.value, ...C.splitAttrs.attributes.value } : void 0, _e = {
4371
- ref: J === !0 ? H : void 0,
4371
+ ref: J === !0 ? z : void 0,
4372
4372
  key: "i_t",
4373
4373
  class: te.value,
4374
4374
  style: e.inputStyle,
@@ -4384,10 +4384,10 @@ const na = Be({
4384
4384
  readonly: e.readonly === !0,
4385
4385
  ...Ee.value
4386
4386
  };
4387
- return h !== !0 && q === !0 && (Array.isArray(_e.class) === !0 ? _e.class = [..._e.class, "no-pointer-events"] : _e.class += " no-pointer-events"), m("input", _e);
4387
+ return h !== !0 && S === !0 && (Array.isArray(_e.class) === !0 ? _e.class = [..._e.class, "no-pointer-events"] : _e.class += " no-pointer-events"), m("input", _e);
4388
4388
  }
4389
4389
  function an(h) {
4390
- v !== null && (clearTimeout(v), v = null), b !== null && (clearTimeout(b), b = null), !(h && h.target && h.target.qComposing === !0) && (Wt(h.target.value || ""), x = !0, E = c.value, C.focused.value !== !0 && (q !== !0 || d.value === !0) && C.focus(), e.onFilter !== void 0 && (v = setTimeout(() => {
4390
+ v !== null && (clearTimeout(v), v = null), b !== null && (clearTimeout(b), b = null), !(h && h.target && h.target.qComposing === !0) && (Wt(h.target.value || ""), q = !0, B = c.value, C.focused.value !== !0 && (S !== !0 || d.value === !0) && C.focus(), e.onFilter !== void 0 && (v = setTimeout(() => {
4391
4391
  v = null, Tt(c.value);
4392
4392
  }, e.inputDebounce)));
4393
4393
  }
@@ -4397,11 +4397,11 @@ const na = Be({
4397
4397
  }, e.inputDebounce));
4398
4398
  }
4399
4399
  function Gt(h, J, le) {
4400
- x = le !== !0, e.useInput === !0 && (Wt(h, !0), (J === !0 || le !== !0) && (E = h), J !== !0 && Tt(h));
4400
+ q = le !== !0, e.useInput === !0 && (Wt(h, !0), (J === !0 || le !== !0) && (B = h), J !== !0 && Tt(h));
4401
4401
  }
4402
4402
  function Tt(h, J, le) {
4403
4403
  if (e.onFilter === void 0 || J !== !0 && C.focused.value !== !0) return;
4404
- C.innerLoading.value === !0 ? l("filterAbort") : (C.innerLoading.value = !0, s.value = !0), h !== "" && e.multiple !== !0 && S.value.length !== 0 && x !== !0 && h === Q.value(S.value[0]) && (h = "");
4404
+ C.innerLoading.value === !0 ? l("filterAbort") : (C.innerLoading.value = !0, s.value = !0), h !== "" && e.multiple !== !0 && k.value.length !== 0 && q !== !0 && h === Q.value(k.value[0]) && (h = "");
4405
4405
  const _e = setTimeout(() => {
4406
4406
  o.value === !0 && (o.value = !1);
4407
4407
  }, 10);
@@ -4424,7 +4424,7 @@ const na = Be({
4424
4424
  }
4425
4425
  function cl() {
4426
4426
  return m(Ro, {
4427
- ref: M,
4427
+ ref: O,
4428
4428
  class: $.value,
4429
4429
  style: e.popupContentStyle,
4430
4430
  modelValue: o.value,
@@ -4458,7 +4458,7 @@ const na = Be({
4458
4458
  }
4459
4459
  function f(h) {
4460
4460
  var J;
4461
- yt(h), (J = H.value) == null || J.focus(), d.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4461
+ yt(h), (J = z.value) == null || J.focus(), d.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4462
4462
  }
4463
4463
  function _(h) {
4464
4464
  yt(h), Re(() => {
@@ -4489,7 +4489,7 @@ const na = Be({
4489
4489
  ];
4490
4490
  return o.value === !0 && h.push(
4491
4491
  m("div", {
4492
- ref: j,
4492
+ ref: H,
4493
4493
  class: $.value + " scroll",
4494
4494
  style: e.popupContentStyle,
4495
4495
  ...ct.value,
@@ -4497,7 +4497,7 @@ const na = Be({
4497
4497
  onScrollPassive: D
4498
4498
  }, Pt())
4499
4499
  ), m(Ho, {
4500
- ref: k,
4500
+ ref: T,
4501
4501
  modelValue: i.value,
4502
4502
  position: e.useInput === !0 ? "top" : void 0,
4503
4503
  transitionShow: P,
@@ -4513,7 +4513,7 @@ const na = Be({
4513
4513
  }, h));
4514
4514
  }
4515
4515
  function X(h) {
4516
- ca(h), k.value !== null && k.value.__updateRefocusTarget(
4516
+ ca(h), T.value !== null && T.value.__updateRefocusTarget(
4517
4517
  C.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
4518
4518
  ), C.focused.value = !1;
4519
4519
  }
@@ -4522,13 +4522,13 @@ const na = Be({
4522
4522
  }
4523
4523
  function ye() {
4524
4524
  const h = document.activeElement;
4525
- (h === null || h.id !== C.targetUid.value) && H.value !== null && H.value !== h && H.value.focus(), be();
4525
+ (h === null || h.id !== C.targetUid.value) && z.value !== null && z.value !== h && z.value.focus(), be();
4526
4526
  }
4527
4527
  function ae() {
4528
4528
  i.value !== !0 && (r.value = -1, o.value === !0 && (o.value = !1), C.focused.value === !1 && (y !== null && (clearTimeout(y), y = null), C.innerLoading.value === !0 && (l("filterAbort"), C.innerLoading.value = !1, s.value = !1)));
4529
4529
  }
4530
4530
  function fe(h) {
4531
- C.editable.value === !0 && (q === !0 ? (C.onControlFocusin(h), i.value = !0, Re(() => {
4531
+ C.editable.value === !0 && (S === !0 ? (C.onControlFocusin(h), i.value = !0, Re(() => {
4532
4532
  C.focus();
4533
4533
  })) : C.focus(), e.onFilter !== void 0 ? Tt(c.value) : (ke.value !== !0 || n["no-option"] !== void 0) && (o.value = !0));
4534
4534
  }
@@ -4537,7 +4537,7 @@ const na = Be({
4537
4537
  }
4538
4538
  function St() {
4539
4539
  e.useInput === !0 && Gt(
4540
- e.multiple !== !0 && e.fillInput === !0 && S.value.length !== 0 && Q.value(S.value[0]) || "",
4540
+ e.multiple !== !0 && e.fillInput === !0 && k.value.length !== 0 && Q.value(k.value[0]) || "",
4541
4541
  !0,
4542
4542
  !0
4543
4543
  );
@@ -4545,8 +4545,8 @@ const na = Be({
4545
4545
  function vl(h) {
4546
4546
  let J = -1;
4547
4547
  if (h === !0) {
4548
- if (S.value.length !== 0) {
4549
- const le = ze.value(S.value[0]);
4548
+ if (k.value.length !== 0) {
4549
+ const le = ze.value(k.value[0]);
4550
4550
  J = e.options.findIndex((_e) => jt(ze.value(_e), le));
4551
4551
  }
4552
4552
  G(J);
@@ -4559,7 +4559,7 @@ const na = Be({
4559
4559
  }));
4560
4560
  }
4561
4561
  function ua() {
4562
- i.value === !1 && M.value !== null && M.value.updatePosition();
4562
+ i.value === !1 && O.value !== null && O.value.updatePosition();
4563
4563
  }
4564
4564
  function sa(h) {
4565
4565
  h !== void 0 && yt(h), l("popupShow", h), C.hasPopupOpen = !0, C.onControlFocusin(h);
@@ -4568,7 +4568,7 @@ const na = Be({
4568
4568
  h !== void 0 && yt(h), l("popupHide", h), C.hasPopupOpen = !1, C.onControlFocusout(h);
4569
4569
  }
4570
4570
  function da() {
4571
- q = a.platform.is.mobile !== !0 && e.behavior !== "dialog" ? !1 : e.behavior !== "menu" && (e.useInput === !0 ? n["no-option"] !== void 0 || e.onFilter !== void 0 || ke.value === !1 : !0), P = a.platform.is.ios === !0 && q === !0 && e.useInput === !0 ? "fade" : e.transitionShow;
4571
+ S = a.platform.is.mobile !== !0 && e.behavior !== "dialog" ? !1 : e.behavior !== "menu" && (e.useInput === !0 ? n["no-option"] !== void 0 || e.onFilter !== void 0 || ke.value === !1 : !0), P = a.platform.is.ios === !0 && S === !0 && e.useInput === !0 ? "fade" : e.transitionShow;
4572
4572
  }
4573
4573
  return oo(da), xr(ua), da(), Ye(() => {
4574
4574
  v !== null && clearTimeout(v), b !== null && clearTimeout(b);
@@ -4590,12 +4590,12 @@ const na = Be({
4590
4590
  getOptionValue: (...h) => ze.value.apply(null, h),
4591
4591
  getOptionLabel: (...h) => Q.value.apply(null, h)
4592
4592
  }), Object.assign(C, {
4593
- innerValue: S,
4593
+ innerValue: k,
4594
4594
  fieldClass: u(
4595
4595
  () => `q-select q-field--auto-height q-select--with${e.useInput !== !0 ? "out" : ""}-input q-select--with${e.useChips !== !0 ? "out" : ""}-chips q-select--${e.multiple === !0 ? "multiple" : "single"}`
4596
4596
  ),
4597
- inputRef: B,
4598
- targetRef: H,
4597
+ inputRef: V,
4598
+ targetRef: z,
4599
4599
  hasValue: ne,
4600
4600
  showPopup: fe,
4601
4601
  floatingLabel: u(
@@ -4603,7 +4603,7 @@ const na = Be({
4603
4603
  ),
4604
4604
  getControlChild: () => {
4605
4605
  if (C.editable.value !== !1 && (i.value === !0 || ke.value !== !0 || n["no-option"] !== void 0))
4606
- return q === !0 ? I() : cl();
4606
+ return S === !0 ? I() : cl();
4607
4607
  C.hasPopupOpen === !0 && (C.hasPopupOpen = !1);
4608
4608
  },
4609
4609
  controlEvents: {
@@ -4617,22 +4617,22 @@ const na = Be({
4617
4617
  },
4618
4618
  onClick(h) {
4619
4619
  var J;
4620
- if (ft(h), q !== !0 && o.value === !0) {
4621
- ae(), (J = H.value) == null || J.focus();
4620
+ if (ft(h), S !== !0 && o.value === !0) {
4621
+ ae(), (J = z.value) == null || J.focus();
4622
4622
  return;
4623
4623
  }
4624
4624
  fe(h);
4625
4625
  }
4626
4626
  },
4627
4627
  getControl: (h) => {
4628
- const J = Dn(), le = h === !0 || i.value !== !0 || q !== !0;
4628
+ const J = Dn(), le = h === !0 || i.value !== !0 || S !== !0;
4629
4629
  if (e.useInput === !0)
4630
4630
  J.push(kn(h, le));
4631
4631
  else if (C.editable.value === !0) {
4632
4632
  const Pe = le === !0 ? nt.value : void 0;
4633
4633
  J.push(
4634
4634
  m("input", {
4635
- ref: le === !0 ? H : void 0,
4635
+ ref: le === !0 ? z : void 0,
4636
4636
  key: "d_t",
4637
4637
  class: "q-select__focus-target",
4638
4638
  id: le === !0 ? C.targetUid.value : void 0,
@@ -4653,12 +4653,12 @@ const na = Be({
4653
4653
  })
4654
4654
  );
4655
4655
  }
4656
- if (O.value !== void 0 && e.disable !== !0 && de.value.length !== 0) {
4656
+ if (M.value !== void 0 && e.disable !== !0 && de.value.length !== 0) {
4657
4657
  const Pe = de.value.map((Ue) => m("option", { value: Ue, selected: !0 }));
4658
4658
  J.push(
4659
4659
  m("select", {
4660
4660
  class: "hidden",
4661
- name: O.value,
4661
+ name: M.value,
4662
4662
  multiple: e.multiple
4663
4663
  }, Pe)
4664
4664
  );
@@ -4701,25 +4701,25 @@ const na = Be({
4701
4701
  r == null ? void 0 : r.componentDefaults,
4702
4702
  "select"
4703
4703
  ), {
4704
- autocomplete: E,
4704
+ autocomplete: B,
4705
4705
  autocompleteThreshold: P,
4706
4706
  useInput: p,
4707
4707
  // We control this via useFilter
4708
4708
  fillInput: w,
4709
4709
  // We control this via useFilter
4710
- hideSelected: B,
4710
+ hideSelected: V,
4711
4711
  // We control this via useFilter
4712
- ...H
4712
+ ...z
4713
4713
  } = y;
4714
- return H;
4714
+ return z;
4715
4715
  }), s = u(() => {
4716
4716
  if (!l.schema.enum) return [];
4717
4717
  const y = l.schema["x-enum-labels"];
4718
- return l.schema.enum.map((E) => {
4719
- let P = String(E);
4720
- return y && E in y && (P = y[E]), {
4718
+ return l.schema.enum.map((B) => {
4719
+ let P = String(B);
4720
+ return y && B in y && (P = y[B]), {
4721
4721
  label: P,
4722
- value: E
4722
+ value: B
4723
4723
  };
4724
4724
  });
4725
4725
  }), v = N([]);
@@ -4734,8 +4734,8 @@ const na = Be({
4734
4734
  var P, p;
4735
4735
  const y = l.schema["x-component-props"];
4736
4736
  return (y == null ? void 0 : y.autocomplete) !== void 0 ? y.autocomplete : ((p = (P = r == null ? void 0 : r.componentDefaults) == null ? void 0 : P.select) == null ? void 0 : p.autocomplete) !== void 0 ? r.componentDefaults.select.autocomplete : !0;
4737
- }), g = (y, E) => {
4738
- E(() => {
4737
+ }), g = (y, B) => {
4738
+ B(() => {
4739
4739
  if (y === "")
4740
4740
  v.value = s.value;
4741
4741
  else {
@@ -4745,10 +4745,10 @@ const na = Be({
4745
4745
  );
4746
4746
  }
4747
4747
  });
4748
- }, q = u(() => gt(r == null ? void 0 : r.componentDefaults)), x = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, allOptions: s, filteredOptions: v, useFilter: b, filterFn: g, fieldGap: q, get QSelect() {
4748
+ }, S = u(() => gt(r == null ? void 0 : r.componentDefaults)), q = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, allOptions: s, filteredOptions: v, useFilter: b, filterFn: g, fieldGap: S, get QSelect() {
4749
4749
  return na;
4750
4750
  } };
4751
- return Object.defineProperty(x, "__isScriptSetup", { enumerable: !1, value: !0 }), x;
4751
+ return Object.defineProperty(q, "__isScriptSetup", { enumerable: !1, value: !0 }), q;
4752
4752
  }
4753
4753
  });
4754
4754
  function Su(e, n, l, t, a, o) {
@@ -4894,7 +4894,7 @@ function Pu(e) {
4894
4894
  }), c = u(() => {
4895
4895
  const y = e.fab === !1 && e.fabMini === !1 ? n.value : {};
4896
4896
  return e.padding !== void 0 ? Object.assign({}, y, {
4897
- padding: e.padding.split(/\s+/).map((E) => E in Ya ? Ya[E] + "px" : E).join(" "),
4897
+ padding: e.padding.split(/\s+/).map((B) => B in Ya ? Ya[B] + "px" : B).join(" "),
4898
4898
  minWidth: "0",
4899
4899
  minHeight: "0"
4900
4900
  }) : y;
@@ -4910,18 +4910,18 @@ function Pu(e) {
4910
4910
  "aria-valuemax": 100,
4911
4911
  "aria-valuenow": e.percentage
4912
4912
  }), y;
4913
- }), q = u(() => {
4913
+ }), S = u(() => {
4914
4914
  let y;
4915
4915
  e.color !== void 0 ? e.flat === !0 || e.outline === !0 ? y = `text-${e.textColor || e.color}` : y = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (y = `text-${e.textColor}`);
4916
- const E = e.round === !0 ? "round" : `rectangle${d.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
4917
- return `q-btn--${b.value} q-btn--${E}` + (y !== void 0 ? " " + y : "") + (s.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
4918
- }), x = u(
4916
+ const B = e.round === !0 ? "round" : `rectangle${d.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
4917
+ return `q-btn--${b.value} q-btn--${B}` + (y !== void 0 ? " " + y : "") + (s.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
4918
+ }), q = u(
4919
4919
  () => l.value + (e.stack === !0 ? " column" : " row") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " q-btn__content--hidden" : "")
4920
4920
  );
4921
4921
  return {
4922
- classes: q,
4922
+ classes: S,
4923
4923
  style: c,
4924
- innerClasses: x,
4924
+ innerClasses: q,
4925
4925
  attributes: g,
4926
4926
  hasLink: a,
4927
4927
  linkTag: o,
@@ -4951,8 +4951,8 @@ const st = Be({
4951
4951
  navigateOnClick: s,
4952
4952
  isActionable: v
4953
4953
  } = Pu(e), b = N(null), g = N(null);
4954
- let q = null, x, y = null;
4955
- const E = u(
4954
+ let S = null, q, y = null;
4955
+ const B = u(
4956
4956
  () => e.label !== void 0 && e.label !== null && e.label !== ""
4957
4957
  ), P = u(() => e.disable === !0 || e.ripple === !1 ? !1 : {
4958
4958
  keyCodes: c.value === !0 ? [13, 32] : [13],
@@ -4960,7 +4960,7 @@ const st = Be({
4960
4960
  }), p = u(() => ({ center: e.round })), w = u(() => {
4961
4961
  const F = Math.max(0, Math.min(100, e.percentage));
4962
4962
  return F > 0 ? { transition: "transform 0.6s", transform: `translateX(${F - 100}%)` } : {};
4963
- }), B = u(() => {
4963
+ }), V = u(() => {
4964
4964
  if (e.loading === !0)
4965
4965
  return {
4966
4966
  onMousedown: A,
@@ -4971,13 +4971,13 @@ const st = Be({
4971
4971
  };
4972
4972
  if (v.value === !0) {
4973
4973
  const F = {
4974
- onClick: M,
4975
- onKeydown: k,
4976
- onMousedown: O
4974
+ onClick: O,
4975
+ onKeydown: T,
4976
+ onMousedown: M
4977
4977
  };
4978
4978
  if (t.$q.platform.has.touch === !0) {
4979
- const z = e.onTouchstart !== void 0 ? "" : "Passive";
4980
- F[`onTouchstart${z}`] = j;
4979
+ const j = e.onTouchstart !== void 0 ? "" : "Passive";
4980
+ F[`onTouchstart${j}`] = H;
4981
4981
  }
4982
4982
  return F;
4983
4983
  }
@@ -4985,19 +4985,19 @@ const st = Be({
4985
4985
  // needed; especially for disabled <a> tags
4986
4986
  onClick: Qe
4987
4987
  };
4988
- }), H = u(() => ({
4988
+ }), z = u(() => ({
4989
4989
  ref: b,
4990
4990
  class: "q-btn q-btn-item non-selectable no-outline " + a.value,
4991
4991
  style: o.value,
4992
4992
  ...r.value,
4993
- ...B.value
4993
+ ...V.value
4994
4994
  }));
4995
- function M(F) {
4995
+ function O(F) {
4996
4996
  if (b.value !== null) {
4997
4997
  if (F !== void 0) {
4998
4998
  if (F.defaultPrevented === !0) return;
4999
- const z = document.activeElement;
5000
- if (e.type === "submit" && z !== document.body && b.value.contains(z) === !1 && z.contains(b.value) === !1) {
4999
+ const j = document.activeElement;
5000
+ if (e.type === "submit" && j !== document.body && b.value.contains(j) === !1 && j.contains(b.value) === !1) {
5001
5001
  F.qAvoidFocus !== !0 && b.value.focus();
5002
5002
  const G = () => {
5003
5003
  var R;
@@ -5009,67 +5009,67 @@ const st = Be({
5009
5009
  s(F);
5010
5010
  }
5011
5011
  }
5012
- function k(F) {
5013
- b.value !== null && (l("keydown", F), Lt(F, [13, 32]) === !0 && sn !== b.value && (sn !== null && V(), F.defaultPrevented !== !0 && (F.qAvoidFocus !== !0 && b.value.focus(), sn = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("keyup", T, !0), b.value.addEventListener("blur", T, qt)), Qe(F)));
5012
+ function T(F) {
5013
+ b.value !== null && (l("keydown", F), Lt(F, [13, 32]) === !0 && sn !== b.value && (sn !== null && E(), F.defaultPrevented !== !0 && (F.qAvoidFocus !== !0 && b.value.focus(), sn = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("keyup", x, !0), b.value.addEventListener("blur", x, qt)), Qe(F)));
5014
5014
  }
5015
- function j(F) {
5016
- b.value !== null && (l("touchstart", F), F.defaultPrevented !== !0 && (un !== b.value && (un !== null && V(), un = b.value, q = F.target, q.addEventListener("touchcancel", T, qt), q.addEventListener("touchend", T, qt)), x = !0, y !== null && clearTimeout(y), y = setTimeout(() => {
5017
- y = null, x = !1;
5015
+ function H(F) {
5016
+ b.value !== null && (l("touchstart", F), F.defaultPrevented !== !0 && (un !== b.value && (un !== null && E(), un = b.value, S = F.target, S.addEventListener("touchcancel", x, qt), S.addEventListener("touchend", x, qt)), q = !0, y !== null && clearTimeout(y), y = setTimeout(() => {
5017
+ y = null, q = !1;
5018
5018
  }, 200)));
5019
5019
  }
5020
- function O(F) {
5021
- b.value !== null && (F.qSkipRipple = x === !0, l("mousedown", F), F.defaultPrevented !== !0 && cn !== b.value && (cn !== null && V(), cn = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("mouseup", T, qt)));
5020
+ function M(F) {
5021
+ b.value !== null && (F.qSkipRipple = q === !0, l("mousedown", F), F.defaultPrevented !== !0 && cn !== b.value && (cn !== null && E(), cn = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("mouseup", x, qt)));
5022
5022
  }
5023
- function T(F) {
5023
+ function x(F) {
5024
5024
  if (b.value !== null && !((F == null ? void 0 : F.type) === "blur" && document.activeElement === b.value)) {
5025
5025
  if ((F == null ? void 0 : F.type) === "keyup") {
5026
5026
  if (sn === b.value && Lt(F, [13, 32]) === !0) {
5027
- const z = new MouseEvent("click", F);
5028
- z.qKeyEvent = !0, F.defaultPrevented === !0 && ft(z), F.cancelBubble === !0 && yt(z), b.value.dispatchEvent(z), Qe(F), F.qKeyEvent = !0;
5027
+ const j = new MouseEvent("click", F);
5028
+ j.qKeyEvent = !0, F.defaultPrevented === !0 && ft(j), F.cancelBubble === !0 && yt(j), b.value.dispatchEvent(j), Qe(F), F.qKeyEvent = !0;
5029
5029
  }
5030
5030
  l("keyup", F);
5031
5031
  }
5032
- V();
5032
+ E();
5033
5033
  }
5034
5034
  }
5035
- function V(F) {
5035
+ function E(F) {
5036
5036
  var G, R;
5037
- const z = g.value;
5038
- F !== !0 && (un === b.value || cn === b.value) && z !== null && z !== document.activeElement && (z.setAttribute("tabindex", -1), z.focus()), un === b.value && (q !== null && (q.removeEventListener("touchcancel", T, qt), q.removeEventListener("touchend", T, qt)), un = q = null), cn === b.value && (document.removeEventListener("mouseup", T, qt), cn = null), sn === b.value && (document.removeEventListener("keyup", T, !0), (G = b.value) == null || G.removeEventListener("blur", T, qt), sn = null), (R = b.value) == null || R.classList.remove("q-btn--active");
5037
+ const j = g.value;
5038
+ F !== !0 && (un === b.value || cn === b.value) && j !== null && j !== document.activeElement && (j.setAttribute("tabindex", -1), j.focus()), un === b.value && (S !== null && (S.removeEventListener("touchcancel", x, qt), S.removeEventListener("touchend", x, qt)), un = S = null), cn === b.value && (document.removeEventListener("mouseup", x, qt), cn = null), sn === b.value && (document.removeEventListener("keyup", x, !0), (G = b.value) == null || G.removeEventListener("blur", x, qt), sn = null), (R = b.value) == null || R.classList.remove("q-btn--active");
5039
5039
  }
5040
5040
  function A(F) {
5041
5041
  Qe(F), F.qSkipRipple = !0;
5042
5042
  }
5043
5043
  return Ye(() => {
5044
- V(!0);
5044
+ E(!0);
5045
5045
  }), Object.assign(t, {
5046
5046
  click: (F) => {
5047
- v.value === !0 && M(F);
5047
+ v.value === !0 && O(F);
5048
5048
  }
5049
5049
  }), () => {
5050
5050
  let F = [];
5051
5051
  e.icon !== void 0 && F.push(
5052
5052
  m(Xe, {
5053
5053
  name: e.icon,
5054
- left: e.stack !== !0 && E.value === !0,
5054
+ left: e.stack !== !0 && B.value === !0,
5055
5055
  role: "img"
5056
5056
  })
5057
- ), E.value === !0 && F.push(
5057
+ ), B.value === !0 && F.push(
5058
5058
  m("span", { class: "block" }, [e.label])
5059
5059
  ), F = Qt(n.default, F), e.iconRight !== void 0 && e.round === !1 && F.push(
5060
5060
  m(Xe, {
5061
5061
  name: e.iconRight,
5062
- right: e.stack !== !0 && E.value === !0,
5062
+ right: e.stack !== !0 && B.value === !0,
5063
5063
  role: "img"
5064
5064
  })
5065
5065
  );
5066
- const z = [
5066
+ const j = [
5067
5067
  m("span", {
5068
5068
  class: "q-focus-helper",
5069
5069
  ref: g
5070
5070
  })
5071
5071
  ];
5072
- return e.loading === !0 && e.percentage !== void 0 && z.push(
5072
+ return e.loading === !0 && e.percentage !== void 0 && j.push(
5073
5073
  m("span", {
5074
5074
  class: "q-btn__progress absolute-full overflow-hidden" + (e.darkPercentage === !0 ? " q-btn__progress--dark" : "")
5075
5075
  }, [
@@ -5078,11 +5078,11 @@ const st = Be({
5078
5078
  style: w.value
5079
5079
  })
5080
5080
  ])
5081
- ), z.push(
5081
+ ), j.push(
5082
5082
  m("span", {
5083
5083
  class: "q-btn__content text-center col items-center q-anchor--skip " + i.value
5084
5084
  }, F)
5085
- ), e.loading !== null && z.push(
5085
+ ), e.loading !== null && j.push(
5086
5086
  m(pt, {
5087
5087
  name: "q-transition--fade"
5088
5088
  }, () => e.loading === !0 ? [
@@ -5094,8 +5094,8 @@ const st = Be({
5094
5094
  ), Yt(
5095
5095
  m(
5096
5096
  d.value,
5097
- H.value,
5098
- z
5097
+ z.value,
5098
+ j
5099
5099
  ),
5100
5100
  [[
5101
5101
  Gl,
@@ -5159,43 +5159,43 @@ const la = Ql(
5159
5159
  const v = N(s()), b = u(
5160
5160
  () => v.value === "menu" ? { maxHeight: "99vh" } : {}
5161
5161
  );
5162
- ue(() => s(), (x) => {
5163
- i.value !== !0 && (v.value = x);
5162
+ ue(() => s(), (q) => {
5163
+ i.value !== !0 && (v.value = q);
5164
5164
  });
5165
- function g(x) {
5166
- i.value = !0, l("show", x);
5165
+ function g(q) {
5166
+ i.value = !0, l("show", q);
5167
5167
  }
5168
- function q(x) {
5169
- i.value = !1, v.value = s(), l("hide", x);
5168
+ function S(q) {
5169
+ i.value = !1, v.value = s(), l("hide", q);
5170
5170
  }
5171
5171
  return Object.assign(a, {
5172
- show(x) {
5173
- d(x) === !0 && r.value.show(x);
5172
+ show(q) {
5173
+ d(q) === !0 && r.value.show(q);
5174
5174
  },
5175
- hide(x) {
5176
- r.value.hide(x);
5175
+ hide(q) {
5176
+ r.value.hide(q);
5177
5177
  },
5178
- toggle(x) {
5179
- r.value.toggle(x);
5178
+ toggle(q) {
5179
+ r.value.toggle(q);
5180
5180
  }
5181
5181
  }), _n(a, "currentComponent", () => ({
5182
5182
  type: v.value,
5183
5183
  ref: r.value
5184
5184
  })), () => {
5185
- const x = {
5185
+ const q = {
5186
5186
  ref: r,
5187
5187
  ...b.value,
5188
5188
  ...t,
5189
5189
  onShow: g,
5190
- onHide: q
5190
+ onHide: S
5191
5191
  };
5192
5192
  let y;
5193
- return v.value === "dialog" ? y = Ho : (y = Ro, Object.assign(x, {
5193
+ return v.value === "dialog" ? y = Ho : (y = Ro, Object.assign(q, {
5194
5194
  target: e.target,
5195
5195
  contextMenu: e.contextMenu,
5196
5196
  noParentEvent: !0,
5197
5197
  separateClosePopup: !0
5198
- })), m(y, x, n.default);
5198
+ })), m(y, q, n.default);
5199
5199
  };
5200
5200
  }
5201
5201
  });
@@ -5638,8 +5638,8 @@ function Cn(e, n, l, t, a) {
5638
5638
  const g = parseInt(v[s.X !== void 0 ? s.X : s.x], 10);
5639
5639
  if (isNaN(g) === !0 || g < 0)
5640
5640
  return o;
5641
- const q = new Date(g * (s.X !== void 0 ? 1e3 : 1));
5642
- o.year = q.getFullYear(), o.month = q.getMonth() + 1, o.day = q.getDate(), o.hour = q.getHours(), o.minute = q.getMinutes(), o.second = q.getSeconds(), o.millisecond = q.getMilliseconds();
5641
+ const S = new Date(g * (s.X !== void 0 ? 1e3 : 1));
5642
+ o.year = S.getFullYear(), o.month = S.getMonth() + 1, o.day = S.getDate(), o.hour = S.getHours(), o.minute = S.getMinutes(), o.second = S.getSeconds(), o.millisecond = S.getMilliseconds();
5643
5643
  } else {
5644
5644
  if (s.YYYY !== void 0)
5645
5645
  o.year = parseInt(v[s.YYYY], 10);
@@ -5985,17 +5985,17 @@ const er = Be({
5985
5985
  setup(e, { slots: n, emit: l }) {
5986
5986
  const { proxy: t } = Te(), { $q: a } = t, o = Bt(e, a), { getCache: i } = Du(), { tabindex: r, headerClass: c, getLocale: d, getCurrentDate: s } = Wo(e, a);
5987
5987
  let v;
5988
- const b = po(e), g = Wl(b), q = N(null), x = N(Ve()), y = N(d()), E = u(() => Ve()), P = u(() => d()), p = u(() => s()), w = N(L(x.value, y.value)), B = N(e.defaultView), H = u(() => a.lang.rtl === !0 ? "right" : "left"), M = N(H.value), k = N(H.value), j = w.value.year, O = N(j - j % Dt - (j < 0 ? Dt : 0)), T = N(null), V = u(() => {
5988
+ const b = po(e), g = Wl(b), S = N(null), q = N(Ve()), y = N(d()), B = u(() => Ve()), P = u(() => d()), p = u(() => s()), w = N(L(q.value, y.value)), V = N(e.defaultView), z = u(() => a.lang.rtl === !0 ? "right" : "left"), O = N(z.value), T = N(z.value), H = w.value.year, M = N(H - H % Dt - (H < 0 ? Dt : 0)), x = N(null), E = u(() => {
5989
5989
  const f = e.landscape === !0 ? "landscape" : "portrait";
5990
5990
  return `q-date q-date--${f} q-date--${f}-${e.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (e.bordered === !0 ? " q-date--bordered" : "") + (e.square === !0 ? " q-date--square no-border-radius" : "") + (e.flat === !0 ? " q-date--flat no-shadow" : "") + (e.disable === !0 ? " disabled" : e.readonly === !0 ? " q-date--readonly" : "");
5991
- }), A = u(() => e.color || "primary"), F = u(() => e.textColor || "white"), z = u(
5991
+ }), A = u(() => e.color || "primary"), F = u(() => e.textColor || "white"), j = u(
5992
5992
  () => e.emitImmediately === !0 && e.multiple !== !0 && e.range !== !0
5993
5993
  ), G = u(() => Array.isArray(e.modelValue) === !0 ? e.modelValue : e.modelValue !== null && e.modelValue !== void 0 ? [e.modelValue] : []), R = u(
5994
- () => G.value.filter((f) => typeof f == "string").map((f) => je(f, x.value, y.value)).filter(
5994
+ () => G.value.filter((f) => typeof f == "string").map((f) => je(f, q.value, y.value)).filter(
5995
5995
  (f) => f.dateHash !== null && f.day !== null && f.month !== null && f.year !== null
5996
5996
  )
5997
5997
  ), D = u(() => {
5998
- const f = (_) => je(_, x.value, y.value);
5998
+ const f = (_) => je(_, q.value, y.value);
5999
5999
  return G.value.filter((_) => pu(_) === !0 && _.from !== void 0 && _.to !== void 0).map((_) => ({ from: f(_.from), to: f(_.to) })).filter((_) => _.from.dateHash !== null && _.to.dateHash !== null && _.from.dateHash < _.to.dateHash);
6000
6000
  }), Z = u(() => e.calendar !== "persian" ? (f) => new Date(f.year, f.month - 1, f.day) : (f) => {
6001
6001
  const _ = Ua(f.year, f.month, f.day);
@@ -6010,7 +6010,7 @@ const er = Be({
6010
6010
  f.second,
6011
6011
  f.millisecond
6012
6012
  ),
6013
- _ === void 0 ? x.value : _,
6013
+ _ === void 0 ? q.value : _,
6014
6014
  I === void 0 ? y.value : I,
6015
6015
  f.year,
6016
6016
  f.timezoneOffset
@@ -6022,11 +6022,11 @@ const er = Be({
6022
6022
  ),
6023
6023
  0
6024
6024
  )
6025
- ), S = u(() => {
6025
+ ), k = u(() => {
6026
6026
  if (e.title !== void 0 && e.title !== null && e.title.length !== 0)
6027
6027
  return e.title;
6028
- if (T.value !== null) {
6029
- const I = T.value.init, X = Z.value(I);
6028
+ if (x.value !== null) {
6029
+ const I = x.value.init, X = Z.value(I);
6030
6030
  return y.value.daysShort[X.getDay()] + ", " + y.value.monthsShort[I.month - 1] + " " + I.day + fn + "?";
6031
6031
  }
6032
6032
  if (C.value === 0)
@@ -6096,8 +6096,8 @@ const er = Be({
6096
6096
  }
6097
6097
  }), f;
6098
6098
  }), lt = u(() => {
6099
- if (T.value === null) return;
6100
- const { init: f, initHash: _, final: I, finalHash: X } = T.value, [ee, ye] = _ <= X ? [f, I] : [I, f], ae = Ht(ee), fe = Ht(ye);
6099
+ if (x.value === null) return;
6100
+ const { init: f, initHash: _, final: I, finalHash: X } = x.value, [ee, ye] = _ <= X ? [f, I] : [I, f], ae = Ht(ee), fe = Ht(ye);
6101
6101
  if (ae !== Ke.value && fe !== Ke.value) return;
6102
6102
  const xe = {};
6103
6103
  return ae === Ke.value ? (xe.from = ee.day, xe.includeFrom = !0) : xe.from = 1, fe === Ke.value ? (xe.to = ye.day, xe.includeTo = !0) : xe.to = U.value, xe;
@@ -6223,17 +6223,17 @@ const er = Be({
6223
6223
  if (v === JSON.stringify(f))
6224
6224
  v = 0;
6225
6225
  else {
6226
- const _ = L(x.value, y.value);
6226
+ const _ = L(q.value, y.value);
6227
6227
  at(_.year, _.month, _);
6228
6228
  }
6229
- }), ue(B, () => {
6230
- q.value !== null && t.$el.contains(document.activeElement) === !0 && q.value.focus();
6229
+ }), ue(V, () => {
6230
+ S.value !== null && t.$el.contains(document.activeElement) === !0 && S.value.focus();
6231
6231
  }), ue(() => w.value.year + "|" + w.value.month, () => {
6232
6232
  l("navigation", { year: w.value.year, month: w.value.month });
6233
- }), ue(E, (f) => {
6234
- Wt(f, y.value, "mask"), x.value = f;
6233
+ }), ue(B, (f) => {
6234
+ Wt(f, y.value, "mask"), q.value = f;
6235
6235
  }), ue(P, (f) => {
6236
- Wt(x.value, f, "locale"), y.value = f;
6236
+ Wt(q.value, f, "locale"), y.value = f;
6237
6237
  });
6238
6238
  function oe(f) {
6239
6239
  v = JSON.stringify(f);
@@ -6251,21 +6251,21 @@ const er = Be({
6251
6251
  (ee === void 0 || ee.includes(X.day) === !1) && kn(X), he(X.year, X.month);
6252
6252
  }
6253
6253
  function Ee(f) {
6254
- Za(f) === !0 && (B.value = f);
6254
+ Za(f) === !0 && (V.value = f);
6255
6255
  }
6256
6256
  function Me(f, _) {
6257
6257
  ["month", "year"].includes(f) && (f === "month" ? se : me)(_ === !0 ? -1 : 1);
6258
6258
  }
6259
6259
  function he(f, _) {
6260
- B.value = "Calendar", at(f, _);
6260
+ V.value = "Calendar", at(f, _);
6261
6261
  }
6262
6262
  function we(f, _) {
6263
6263
  if (e.range === !1 || !f) {
6264
- T.value = null;
6264
+ x.value = null;
6265
6265
  return;
6266
6266
  }
6267
6267
  const I = Object.assign({ ...w.value }, f), X = _ !== void 0 ? Object.assign({ ...w.value }, _) : I;
6268
- T.value = {
6268
+ x.value = {
6269
6269
  init: I,
6270
6270
  initHash: Ft(I),
6271
6271
  final: X,
@@ -6322,17 +6322,17 @@ const er = Be({
6322
6322
  }
6323
6323
  function se(f) {
6324
6324
  let _ = w.value.year, I = Number(w.value.month) + f;
6325
- I === 13 ? (I = 1, _++) : I === 0 && (I = 12, _--), at(_, I), z.value === !0 && Rt("month");
6325
+ I === 13 ? (I = 1, _++) : I === 0 && (I = 12, _--), at(_, I), j.value === !0 && Rt("month");
6326
6326
  }
6327
6327
  function me(f) {
6328
6328
  const _ = Number(w.value.year) + f;
6329
- at(_, w.value.month), z.value === !0 && Rt("year");
6329
+ at(_, w.value.month), j.value === !0 && Rt("year");
6330
6330
  }
6331
6331
  function Se(f) {
6332
- at(f, w.value.month), B.value = e.defaultView === "Years" ? "Months" : "Calendar", z.value === !0 && Rt("year");
6332
+ at(f, w.value.month), V.value = e.defaultView === "Years" ? "Months" : "Calendar", j.value === !0 && Rt("year");
6333
6333
  }
6334
6334
  function it(f) {
6335
- at(w.value.year, f), B.value = "Calendar", z.value === !0 && Rt("month");
6335
+ at(w.value.year, f), V.value = "Calendar", j.value === !0 && Rt("month");
6336
6336
  }
6337
6337
  function pe(f, _) {
6338
6338
  const I = nt.value[_];
@@ -6347,8 +6347,8 @@ const er = Be({
6347
6347
  Object.assign(w.value, { hour: ee, minute: ye, second: ae, millisecond: fe, timezoneOffset: xe, timeHash: St });
6348
6348
  }
6349
6349
  const X = f + "/" + Ce(_) + "/01";
6350
- X !== w.value.dateHash && (M.value = w.value.dateHash < X == (a.lang.rtl !== !0) ? "left" : "right", f !== w.value.year && (k.value = M.value), Re(() => {
6351
- O.value = f - f % Dt - (f < 0 ? Dt : 0), Object.assign(w.value, {
6350
+ X !== w.value.dateHash && (O.value = w.value.dateHash < X == (a.lang.rtl !== !0) ? "left" : "right", f !== w.value.year && (T.value = O.value), Re(() => {
6351
+ M.value = f - f % Dt - (f < 0 ? Dt : 0), Object.assign(w.value, {
6352
6352
  year: f,
6353
6353
  month: _,
6354
6354
  day: 1,
@@ -6427,14 +6427,14 @@ const er = Be({
6427
6427
  name: "q-transition--fade"
6428
6428
  }, () => m("div", {
6429
6429
  key: "h-yr-" + ne.value,
6430
- class: "q-date__header-subtitle q-date__header-link " + (B.value === "Years" ? "q-date__header-link--active" : "cursor-pointer"),
6430
+ class: "q-date__header-subtitle q-date__header-link " + (V.value === "Years" ? "q-date__header-link--active" : "cursor-pointer"),
6431
6431
  tabindex: r.value,
6432
6432
  ...i("vY", {
6433
6433
  onClick() {
6434
- B.value = "Years";
6434
+ V.value = "Years";
6435
6435
  },
6436
6436
  onKeyup(f) {
6437
- f.keyCode === 13 && (B.value = "Years");
6437
+ f.keyCode === 13 && (V.value = "Years");
6438
6438
  }
6439
6439
  })
6440
6440
  }, [ne.value]))
@@ -6448,18 +6448,18 @@ const er = Be({
6448
6448
  m(pt, {
6449
6449
  name: "q-transition--fade"
6450
6450
  }, () => m("div", {
6451
- key: "h-sub" + S.value,
6452
- class: "q-date__header-title-label q-date__header-link " + (B.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
6451
+ key: "h-sub" + k.value,
6452
+ class: "q-date__header-title-label q-date__header-link " + (V.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
6453
6453
  tabindex: r.value,
6454
6454
  ...i("vC", {
6455
6455
  onClick() {
6456
- B.value = "Calendar";
6456
+ V.value = "Calendar";
6457
6457
  },
6458
6458
  onKeyup(f) {
6459
- f.keyCode === 13 && (B.value = "Calendar");
6459
+ f.keyCode === 13 && (V.value = "Calendar");
6460
6460
  }
6461
6461
  })
6462
- }, [S.value]))
6462
+ }, [k.value]))
6463
6463
  ]),
6464
6464
  e.todayBtn === !0 ? m(st, {
6465
6465
  class: "q-date__header-today self-start",
@@ -6506,7 +6506,7 @@ const er = Be({
6506
6506
  label: f,
6507
6507
  tabindex: r.value,
6508
6508
  ...i("view#" + _, { onClick: () => {
6509
- B.value = _;
6509
+ V.value = _;
6510
6510
  } })
6511
6511
  })
6512
6512
  ]))
@@ -6542,7 +6542,7 @@ const er = Be({
6542
6542
  label: y.value.months[w.value.month - 1],
6543
6543
  type: "Months",
6544
6544
  key: w.value.month,
6545
- dir: M.value,
6545
+ dir: O.value,
6546
6546
  goTo: se,
6547
6547
  boundaries: Ze.value.month,
6548
6548
  cls: " col"
@@ -6550,7 +6550,7 @@ const er = Be({
6550
6550
  label: w.value.year,
6551
6551
  type: "Years",
6552
6552
  key: w.value.year,
6553
- dir: k.value,
6553
+ dir: T.value,
6554
6554
  goTo: me,
6555
6555
  boundaries: Ze.value.year,
6556
6556
  cls: ""
@@ -6562,7 +6562,7 @@ const er = Be({
6562
6562
  class: "q-date__calendar-days-container relative-position overflow-hidden"
6563
6563
  }, [
6564
6564
  m(pt, {
6565
- name: "q-transition--slide-" + M.value
6565
+ name: "q-transition--slide-" + O.value
6566
6566
  }, () => m("div", {
6567
6567
  key: Ke.value,
6568
6568
  class: "q-date__calendar-days fit"
@@ -6620,7 +6620,7 @@ const er = Be({
6620
6620
  label: w.value.year,
6621
6621
  type: "Years",
6622
6622
  key: w.value.year,
6623
- dir: k.value,
6623
+ dir: T.value,
6624
6624
  goTo: me,
6625
6625
  boundaries: Ze.value.year,
6626
6626
  cls: " col"
@@ -6632,7 +6632,7 @@ const er = Be({
6632
6632
  }, I);
6633
6633
  },
6634
6634
  Years() {
6635
- const f = O.value, _ = f + Dt, I = [], X = (ee) => qe.value !== null && qe.value.year > ee || Oe.value !== null && Oe.value.year < ee;
6635
+ const f = M.value, _ = f + Dt, I = [], X = (ee) => qe.value !== null && qe.value.year > ee || Oe.value !== null && Oe.value.year < ee;
6636
6636
  for (let ee = f; ee <= _; ee++) {
6637
6637
  const ye = w.value.year === ee;
6638
6638
  I.push(
@@ -6672,7 +6672,7 @@ const er = Be({
6672
6672
  tabindex: r.value,
6673
6673
  disable: X(f),
6674
6674
  ...i("y-", { onClick: () => {
6675
- O.value -= Dt;
6675
+ M.value -= Dt;
6676
6676
  } })
6677
6677
  })
6678
6678
  ]),
@@ -6691,7 +6691,7 @@ const er = Be({
6691
6691
  tabindex: r.value,
6692
6692
  disable: X(_),
6693
6693
  ...i("y+", { onClick: () => {
6694
- O.value += Dt;
6694
+ M.value += Dt;
6695
6695
  } })
6696
6696
  })
6697
6697
  ])
@@ -6704,7 +6704,7 @@ const er = Be({
6704
6704
  pe(_, Ke.value);
6705
6705
  return;
6706
6706
  }
6707
- if (T.value === null) {
6707
+ if (x.value === null) {
6708
6708
  const I = ze.value.find((ee) => ee.fill !== !0 && ee.i === f);
6709
6709
  if (e.noUnset !== !0 && I.range !== void 0) {
6710
6710
  an({ target: _, from: I.range.from, to: I.range.to });
@@ -6715,24 +6715,24 @@ const er = Be({
6715
6715
  return;
6716
6716
  }
6717
6717
  const X = Ft(_);
6718
- T.value = {
6718
+ x.value = {
6719
6719
  init: _,
6720
6720
  initHash: X,
6721
6721
  final: _,
6722
6722
  finalHash: X
6723
6723
  }, l("rangeStart", Ae(_));
6724
6724
  } else {
6725
- const I = T.value.initHash, X = Ft(_), ee = I <= X ? { from: T.value.init, to: _ } : { from: _, to: T.value.init };
6726
- T.value = null, kn(I === X ? _ : { target: _, ...ee }), l("rangeEnd", {
6725
+ const I = x.value.initHash, X = Ft(_), ee = I <= X ? { from: x.value.init, to: _ } : { from: _, to: x.value.init };
6726
+ x.value = null, kn(I === X ? _ : { target: _, ...ee }), l("rangeEnd", {
6727
6727
  from: Ae(ee.from),
6728
6728
  to: Ae(ee.to)
6729
6729
  });
6730
6730
  }
6731
6731
  }
6732
6732
  function fl(f) {
6733
- if (T.value !== null) {
6733
+ if (x.value !== null) {
6734
6734
  const _ = { ...w.value, day: f };
6735
- Object.assign(T.value, {
6735
+ Object.assign(x.value, {
6736
6736
  final: _,
6737
6737
  finalHash: Ft(_)
6738
6738
  });
@@ -6751,18 +6751,18 @@ const er = Be({
6751
6751
  }, [
6752
6752
  m(pt, {
6753
6753
  name: "q-transition--fade"
6754
- }, cl[B.value])
6754
+ }, cl[V.value])
6755
6755
  ])
6756
6756
  ], _ = et(n.default);
6757
6757
  return _ !== void 0 && f.push(
6758
6758
  m("div", { class: "q-date__actions" }, _)
6759
6759
  ), e.name !== void 0 && e.disable !== !0 && g(f, "push"), m("div", {
6760
- class: V.value,
6760
+ class: E.value,
6761
6761
  ...Q.value
6762
6762
  }, [
6763
6763
  Gt(),
6764
6764
  m("div", {
6765
- ref: q,
6765
+ ref: S,
6766
6766
  class: "q-date__main col column",
6767
6767
  tabindex: -1
6768
6768
  }, f)
@@ -7018,21 +7018,21 @@ const $u = Ql(
7018
7018
  const d = a.event.mouse === !0, s = () => {
7019
7019
  t(o, d);
7020
7020
  let g;
7021
- l.preserveCursor !== !0 && l.preservecursor !== !0 && (g = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), d === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), Un(), a.styleCleanup = (q) => {
7021
+ l.preserveCursor !== !0 && l.preservecursor !== !0 && (g = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), d === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), Un(), a.styleCleanup = (S) => {
7022
7022
  if (a.styleCleanup = void 0, g !== void 0 && (document.documentElement.style.cursor = g), document.body.classList.remove("non-selectable"), d === !0) {
7023
- const x = () => {
7023
+ const q = () => {
7024
7024
  document.body.classList.remove("no-pointer-events--children");
7025
7025
  };
7026
- q !== void 0 ? setTimeout(() => {
7027
- x(), q();
7028
- }, 50) : x();
7029
- } else q !== void 0 && q();
7026
+ S !== void 0 ? setTimeout(() => {
7027
+ q(), S();
7028
+ }, 50) : q();
7029
+ } else S !== void 0 && S();
7030
7030
  };
7031
7031
  };
7032
7032
  if (a.event.detected === !0) {
7033
7033
  a.event.isFirst !== !0 && t(o, a.event.mouse);
7034
- const { payload: g, synthetic: q } = El(o, a, !1);
7035
- g !== void 0 && (a.handler(g) === !1 ? a.end(o) : (a.styleCleanup === void 0 && a.event.isFirst === !0 && s(), a.event.lastX = g.position.left, a.event.lastY = g.position.top, a.event.lastDir = q === !0 ? void 0 : g.direction, a.event.isFirst = !1));
7034
+ const { payload: g, synthetic: S } = El(o, a, !1);
7035
+ g !== void 0 && (a.handler(g) === !1 ? a.end(o) : (a.styleCleanup === void 0 && a.event.isFirst === !0 && s(), a.event.lastX = g.position.left, a.event.lastY = g.position.top, a.event.lastDir = S === !0 ? void 0 : g.direction, a.event.isFirst = !1));
7036
7036
  return;
7037
7037
  }
7038
7038
  if (a.direction.all === !0 || d === !0 && (a.modifiers.mouseAllDir === !0 || a.modifiers.mousealldir === !0)) {
@@ -7126,38 +7126,38 @@ const tr = Be({
7126
7126
  setup(e, { slots: n, emit: l }) {
7127
7127
  const t = Te(), { $q: a } = t.proxy, o = Bt(e, a), { tabindex: i, headerClass: r, getLocale: c, getCurrentDate: d } = Wo(e, a), s = po(e), v = Wl(s);
7128
7128
  let b, g;
7129
- const q = N(null), x = u(() => ne()), y = u(() => c()), E = u(() => te()), P = Cn(
7129
+ const S = N(null), q = u(() => ne()), y = u(() => c()), B = u(() => te()), P = Cn(
7130
7130
  e.modelValue,
7131
- x.value,
7131
+ q.value,
7132
7132
  // initial mask
7133
7133
  y.value,
7134
7134
  // initial locale
7135
7135
  e.calendar,
7136
- E.value
7137
- ), p = N(es(P)), w = N(P), B = N(P.hour === null || P.hour < 12), H = u(
7136
+ B.value
7137
+ ), p = N(es(P)), w = N(P), V = N(P.hour === null || P.hour < 12), z = u(
7138
7138
  () => `q-time q-time--${e.landscape === !0 ? "landscape" : "portrait"}` + (o.value === !0 ? " q-time--dark q-dark" : "") + (e.disable === !0 ? " disabled" : e.readonly === !0 ? " q-time--readonly" : "") + (e.bordered === !0 ? " q-time--bordered" : "") + (e.square === !0 ? " q-time--square no-border-radius" : "") + (e.flat === !0 ? " q-time--flat no-shadow" : "")
7139
- ), M = u(() => {
7139
+ ), O = u(() => {
7140
7140
  const L = w.value;
7141
7141
  return {
7142
- hour: L.hour === null ? "--" : k.value === !0 ? Ce(L.hour) : String(
7143
- B.value === !0 ? L.hour === 0 ? 12 : L.hour : L.hour > 12 ? L.hour - 12 : L.hour
7142
+ hour: L.hour === null ? "--" : T.value === !0 ? Ce(L.hour) : String(
7143
+ V.value === !0 ? L.hour === 0 ? 12 : L.hour : L.hour > 12 ? L.hour - 12 : L.hour
7144
7144
  ),
7145
7145
  minute: L.minute === null ? "--" : Ce(L.minute),
7146
7146
  second: L.second === null ? "--" : Ce(L.second)
7147
7147
  };
7148
- }), k = u(() => e.format24h !== null ? e.format24h : a.lang.date.format24h), j = u(() => {
7148
+ }), T = u(() => e.format24h !== null ? e.format24h : a.lang.date.format24h), H = u(() => {
7149
7149
  const L = p.value === "hour", K = L === !0 ? 12 : 60, se = w.value[p.value];
7150
7150
  let Se = `rotate(${Math.round(se * (360 / K)) - 180}deg) translateX(-50%)`;
7151
- return L === !0 && k.value === !0 && w.value.hour >= 12 && (Se += " scale(.7)"), { transform: Se };
7152
- }), O = u(() => w.value.hour !== null), T = u(() => O.value === !0 && w.value.minute !== null), V = u(() => e.hourOptions !== void 0 ? (L) => e.hourOptions.includes(L) : e.options !== void 0 ? (L) => e.options(L, null, null) : null), A = u(() => e.minuteOptions !== void 0 ? (L) => e.minuteOptions.includes(L) : e.options !== void 0 ? (L) => e.options(w.value.hour, L, null) : null), F = u(() => e.secondOptions !== void 0 ? (L) => e.secondOptions.includes(L) : e.options !== void 0 ? (L) => e.options(w.value.hour, w.value.minute, L) : null), z = u(() => {
7153
- if (V.value === null)
7151
+ return L === !0 && T.value === !0 && w.value.hour >= 12 && (Se += " scale(.7)"), { transform: Se };
7152
+ }), M = u(() => w.value.hour !== null), x = u(() => M.value === !0 && w.value.minute !== null), E = u(() => e.hourOptions !== void 0 ? (L) => e.hourOptions.includes(L) : e.options !== void 0 ? (L) => e.options(L, null, null) : null), A = u(() => e.minuteOptions !== void 0 ? (L) => e.minuteOptions.includes(L) : e.options !== void 0 ? (L) => e.options(w.value.hour, L, null) : null), F = u(() => e.secondOptions !== void 0 ? (L) => e.secondOptions.includes(L) : e.options !== void 0 ? (L) => e.options(w.value.hour, w.value.minute, L) : null), j = u(() => {
7153
+ if (E.value === null)
7154
7154
  return null;
7155
- const L = S(0, 11, V.value), K = S(12, 11, V.value);
7155
+ const L = k(0, 11, E.value), K = k(12, 11, E.value);
7156
7156
  return { am: L, pm: K, values: L.values.concat(K.values) };
7157
- }), G = u(() => A.value !== null ? S(0, 59, A.value) : null), R = u(() => F.value !== null ? S(0, 59, F.value) : null), D = u(() => {
7157
+ }), G = u(() => A.value !== null ? k(0, 59, A.value) : null), R = u(() => F.value !== null ? k(0, 59, F.value) : null), D = u(() => {
7158
7158
  switch (p.value) {
7159
7159
  case "hour":
7160
- return z.value;
7160
+ return j.value;
7161
7161
  case "minute":
7162
7162
  return G.value;
7163
7163
  case "second":
@@ -7166,10 +7166,10 @@ const tr = Be({
7166
7166
  }), Z = u(() => {
7167
7167
  let L, K, se = 0, me = 1;
7168
7168
  const Se = D.value !== null ? D.value.values : void 0;
7169
- p.value === "hour" ? k.value === !0 ? (L = 0, K = 23) : (L = 0, K = 11, B.value === !1 && (se = 12)) : (L = 0, K = 55, me = 5);
7169
+ p.value === "hour" ? T.value === !0 ? (L = 0, K = 23) : (L = 0, K = 11, V.value === !1 && (se = 12)) : (L = 0, K = 55, me = 5);
7170
7170
  const it = [];
7171
7171
  for (let pe = L, Ae = L; pe <= K; pe += me, Ae++) {
7172
- const at = pe + se, Ut = (Se == null ? void 0 : Se.includes(at)) === !1, Rt = p.value === "hour" && pe === 0 ? k.value === !0 ? "00" : "12" : pe;
7172
+ const at = pe + se, Ut = (Se == null ? void 0 : Se.includes(at)) === !1, Rt = p.value === "hour" && pe === 0 ? T.value === !0 ? "00" : "12" : pe;
7173
7173
  it.push({ val: at, index: Ae, disable: Ut, label: Rt });
7174
7174
  }
7175
7175
  return it;
@@ -7186,13 +7186,13 @@ const tr = Be({
7186
7186
  ue(() => e.modelValue, (L) => {
7187
7187
  const K = Cn(
7188
7188
  L,
7189
- x.value,
7189
+ q.value,
7190
7190
  y.value,
7191
7191
  e.calendar,
7192
- E.value
7192
+ B.value
7193
7193
  );
7194
- (K.dateHash !== w.value.dateHash || K.timeHash !== w.value.timeHash) && (w.value = K, K.hour === null ? p.value = "hour" : B.value = K.hour < 12);
7195
- }), ue([x, y], () => {
7194
+ (K.dateHash !== w.value.dateHash || K.timeHash !== w.value.timeHash) && (w.value = K, K.hour === null ? p.value = "hour" : V.value = K.hour < 12);
7195
+ }), ue([q, y], () => {
7196
7196
  Re(() => {
7197
7197
  we();
7198
7198
  });
@@ -7204,7 +7204,7 @@ const tr = Be({
7204
7204
  };
7205
7205
  we(L), Object.assign(w.value, L), p.value = "hour";
7206
7206
  }
7207
- function S(L, K, se) {
7207
+ function k(L, K, se) {
7208
7208
  const me = Array.apply(null, { length: K + 1 }).map((Se, it) => {
7209
7209
  const pe = it + L;
7210
7210
  return {
@@ -7243,10 +7243,10 @@ const tr = Be({
7243
7243
  return Cn(e.defaultDate, "YYYY/MM/DD", void 0, e.calendar);
7244
7244
  }
7245
7245
  function $() {
7246
- return Xl(t) === !0 || D.value !== null && (D.value.values.length === 0 || p.value === "hour" && k.value !== !0 && z.value[B.value === !0 ? "am" : "pm"].values.length === 0);
7246
+ return Xl(t) === !0 || D.value !== null && (D.value.values.length === 0 || p.value === "hour" && T.value !== !0 && j.value[V.value === !0 ? "am" : "pm"].values.length === 0);
7247
7247
  }
7248
7248
  function ke() {
7249
- const L = q.value, { top: K, left: se, width: me } = L.getBoundingClientRect(), Se = me / 2;
7249
+ const L = S.value, { top: K, left: se, width: me } = L.getBoundingClientRect(), Se = me / 2;
7250
7250
  return {
7251
7251
  top: K + Se,
7252
7252
  left: se + Se,
@@ -7271,15 +7271,15 @@ const tr = Be({
7271
7271
  );
7272
7272
  let pe, Ae = Math.asin(Se / it) * (180 / Math.PI);
7273
7273
  if (me.top < K.top ? Ae = K.left < me.left ? 90 - Ae : 270 + Ae : Ae = K.left < me.left ? Ae + 90 : 270 - Ae, p.value === "hour") {
7274
- if (pe = Ae / 30, z.value !== null) {
7275
- const at = k.value !== !0 ? B.value === !0 : z.value.am.values.length !== 0 && z.value.pm.values.length !== 0 ? it >= K.dist : z.value.am.values.length !== 0;
7274
+ if (pe = Ae / 30, j.value !== null) {
7275
+ const at = T.value !== !0 ? V.value === !0 : j.value.am.values.length !== 0 && j.value.pm.values.length !== 0 ? it >= K.dist : j.value.am.values.length !== 0;
7276
7276
  pe = W(
7277
7277
  pe + (at === !0 ? 0 : 12),
7278
- z.value[at === !0 ? "am" : "pm"]
7278
+ j.value[at === !0 ? "am" : "pm"]
7279
7279
  );
7280
7280
  } else
7281
- pe = Math.round(pe), k.value === !0 ? it < K.dist ? pe < 12 && (pe += 12) : pe === 12 && (pe = 0) : B.value === !0 && pe === 12 ? pe = 0 : B.value === !1 && pe !== 12 && (pe += 12);
7282
- k.value === !0 && (B.value = pe < 12);
7281
+ pe = Math.round(pe), T.value === !0 ? it < K.dist ? pe < 12 && (pe += 12) : pe === 12 && (pe = 0) : V.value === !0 && pe === 12 ? pe = 0 : V.value === !1 && pe !== 12 && (pe += 12);
7282
+ T.value === !0 && (V.value = pe < 12);
7283
7283
  } else
7284
7284
  pe = Math.round(Ae / 6) % 60, p.value === "minute" && G.value !== null ? pe = W(pe, G.value) : p.value === "second" && R.value !== null && (pe = W(pe, R.value));
7285
7285
  return se !== pe && oe[p.value](pe), pe;
@@ -7312,8 +7312,8 @@ const tr = Be({
7312
7312
  p.value = "hour";
7313
7313
  else if ([37, 39].includes(L.keyCode)) {
7314
7314
  const K = L.keyCode === 37 ? -1 : 1;
7315
- if (z.value !== null) {
7316
- const se = k.value === !0 ? z.value.values : z.value[B.value === !0 ? "am" : "pm"].values;
7315
+ if (j.value !== null) {
7316
+ const se = T.value === !0 ? j.value.values : j.value[V.value === !0 ? "am" : "pm"].values;
7317
7317
  if (se.length === 0) return;
7318
7318
  if (w.value.hour === null)
7319
7319
  dt(se[0]);
@@ -7322,7 +7322,7 @@ const tr = Be({
7322
7322
  dt(se[me]);
7323
7323
  }
7324
7324
  } else {
7325
- const se = k.value === !0 ? 24 : 12, me = k.value !== !0 && B.value === !1 ? 12 : 0, Se = w.value.hour === null ? -K : w.value.hour;
7325
+ const se = T.value === !0 ? 24 : 12, me = T.value !== !0 && V.value === !1 ? 12 : 0, Se = w.value.hour === null ? -K : w.value.hour;
7326
7326
  dt(me + (24 + Se + K) % se);
7327
7327
  }
7328
7328
  }
@@ -7382,17 +7382,17 @@ const tr = Be({
7382
7382
  second: Q
7383
7383
  };
7384
7384
  function de() {
7385
- B.value === !1 && (B.value = !0, w.value.hour !== null && (w.value.hour -= 12, he()));
7385
+ V.value === !1 && (V.value = !0, w.value.hour !== null && (w.value.hour -= 12, he()));
7386
7386
  }
7387
7387
  function Ee() {
7388
- B.value === !0 && (B.value = !1, w.value.hour !== null && (w.value.hour += 12, he()));
7388
+ V.value === !0 && (V.value = !1, w.value.hour !== null && (w.value.hour += 12, he()));
7389
7389
  }
7390
7390
  function Me(L) {
7391
7391
  const K = e.modelValue;
7392
7392
  p.value !== L && K !== void 0 && K !== null && K !== "" && typeof K != "string" && (p.value = L);
7393
7393
  }
7394
7394
  function he() {
7395
- if (V.value !== null && V.value(w.value.hour) !== !0) {
7395
+ if (E.value !== null && E.value(w.value.hour) !== !0) {
7396
7396
  w.value = Cn(), Me("hour");
7397
7397
  return;
7398
7398
  }
@@ -7417,7 +7417,7 @@ const tr = Be({
7417
7417
  K.second,
7418
7418
  K.millisecond
7419
7419
  ),
7420
- x.value,
7420
+ q.value,
7421
7421
  y.value,
7422
7422
  K.year,
7423
7423
  K.timezoneOffset
@@ -7431,30 +7431,30 @@ const tr = Be({
7431
7431
  tabindex: i.value,
7432
7432
  onClick: Oe.hour,
7433
7433
  onKeyup: Ke
7434
- }, M.value.hour),
7434
+ }, O.value.hour),
7435
7435
  m("div", ":"),
7436
7436
  m(
7437
7437
  "div",
7438
- O.value === !0 ? {
7438
+ M.value === !0 ? {
7439
7439
  class: "q-time__link " + (p.value === "minute" ? "q-time__link--active" : "cursor-pointer"),
7440
7440
  tabindex: i.value,
7441
7441
  onKeyup: kt,
7442
7442
  onClick: Oe.minute
7443
7443
  } : { class: "q-time__link" },
7444
- M.value.minute
7444
+ O.value.minute
7445
7445
  )
7446
7446
  ];
7447
7447
  e.withSeconds === !0 && L.push(
7448
7448
  m("div", ":"),
7449
7449
  m(
7450
7450
  "div",
7451
- T.value === !0 ? {
7451
+ x.value === !0 ? {
7452
7452
  class: "q-time__link " + (p.value === "second" ? "q-time__link--active" : "cursor-pointer"),
7453
7453
  tabindex: i.value,
7454
7454
  onKeyup: Mt,
7455
7455
  onClick: Oe.second
7456
7456
  } : { class: "q-time__link" },
7457
- M.value.second
7457
+ O.value.second
7458
7458
  )
7459
7459
  );
7460
7460
  const K = [
@@ -7463,18 +7463,18 @@ const tr = Be({
7463
7463
  dir: "ltr"
7464
7464
  }, L)
7465
7465
  ];
7466
- return k.value === !1 && K.push(
7466
+ return T.value === !1 && K.push(
7467
7467
  m("div", {
7468
7468
  class: "q-time__header-ampm column items-between no-wrap"
7469
7469
  }, [
7470
7470
  m("div", {
7471
- class: "q-time__link " + (B.value === !0 ? "q-time__link--active" : "cursor-pointer"),
7471
+ class: "q-time__link " + (V.value === !0 ? "q-time__link--active" : "cursor-pointer"),
7472
7472
  tabindex: i.value,
7473
7473
  onClick: de,
7474
7474
  onKeyup: Ze
7475
7475
  }, "AM"),
7476
7476
  m("div", {
7477
- class: "q-time__link " + (B.value !== !0 ? "q-time__link--active" : "cursor-pointer"),
7477
+ class: "q-time__link " + (V.value !== !0 ? "q-time__link--active" : "cursor-pointer"),
7478
7478
  tabindex: i.value,
7479
7479
  onClick: Ee,
7480
7480
  onKeyup: nt
@@ -7496,7 +7496,7 @@ const tr = Be({
7496
7496
  class: "q-time__container-parent absolute-full"
7497
7497
  }, [
7498
7498
  m("div", {
7499
- ref: q,
7499
+ ref: S,
7500
7500
  class: "q-time__container-child fit overflow-hidden"
7501
7501
  }, [
7502
7502
  Yt(
@@ -7508,7 +7508,7 @@ const tr = Be({
7508
7508
  m("div", { class: "q-time__clock-circle fit" }, [
7509
7509
  m("div", {
7510
7510
  class: "q-time__clock-pointer" + (w.value[p.value] === null ? " hidden" : e.color !== void 0 ? ` text-${e.color}` : ""),
7511
- style: j.value
7511
+ style: H.value
7512
7512
  }),
7513
7513
  Z.value.map((K) => m("div", {
7514
7514
  class: `q-time__clock-position row flex-center q-time__clock-pos-${K.index}` + (K.val === L ? " q-time__clock-position--active " + r.value : K.disable === !0 ? " q-time__clock-position--disable" : "")
@@ -7537,7 +7537,7 @@ const tr = Be({
7537
7537
  return K !== void 0 && L.push(
7538
7538
  m("div", { class: "q-time__actions" }, K)
7539
7539
  ), e.name !== void 0 && e.disable !== !0 && v(L, "push"), m("div", {
7540
- class: H.value,
7540
+ class: z.value,
7541
7541
  tabindex: -1
7542
7542
  }, [
7543
7543
  Ve(),
@@ -7760,17 +7760,17 @@ const os = /* @__PURE__ */ bt(ns, [["render", as], ["__file", "/Users/zachsherbo
7760
7760
  l.schema,
7761
7761
  r == null ? void 0 : r.componentDefaults,
7762
7762
  "datetime"
7763
- )), s = u(() => d.value.dateMask || "YYYY-MM-DD"), v = u(() => d.value.timeMask || "hh:mm A"), b = u(() => d.value.mask || `${s.value} ${v.value}`), g = u(() => d.value.format24h || !1), q = u(() => d.value.withSeconds || !1), x = u(() => gt(r == null ? void 0 : r.componentDefaults)), E = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, dateMask: s, timeMask: v, fullMask: b, use24Hour: g, withSeconds: q, fieldGap: x, setNow: () => {
7764
- const P = /* @__PURE__ */ new Date(), p = P.getFullYear(), w = String(P.getMonth() + 1).padStart(2, "0"), B = String(P.getDate()).padStart(2, "0");
7763
+ )), s = u(() => d.value.dateMask || "YYYY-MM-DD"), v = u(() => d.value.timeMask || "hh:mm A"), b = u(() => d.value.mask || `${s.value} ${v.value}`), g = u(() => d.value.format24h || !1), S = u(() => d.value.withSeconds || !1), q = u(() => gt(r == null ? void 0 : r.componentDefaults)), B = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, dateMask: s, timeMask: v, fullMask: b, use24Hour: g, withSeconds: S, fieldGap: q, setNow: () => {
7764
+ const P = /* @__PURE__ */ new Date(), p = P.getFullYear(), w = String(P.getMonth() + 1).padStart(2, "0"), V = String(P.getDate()).padStart(2, "0");
7765
7765
  if (g.value) {
7766
- const H = String(P.getHours()).padStart(2, "0"), M = String(P.getMinutes()).padStart(2, "0");
7767
- t.value = `${p}-${w}-${B} ${H}:${M}`;
7766
+ const z = String(P.getHours()).padStart(2, "0"), O = String(P.getMinutes()).padStart(2, "0");
7767
+ t.value = `${p}-${w}-${V} ${z}:${O}`;
7768
7768
  } else {
7769
- let H = P.getHours();
7770
- const M = H >= 12 ? "PM" : "AM";
7771
- H = H % 12 || 12;
7772
- const k = String(P.getMinutes()).padStart(2, "0");
7773
- t.value = `${p}-${w}-${B} ${H}:${k} ${M}`;
7769
+ let z = P.getHours();
7770
+ const O = z >= 12 ? "PM" : "AM";
7771
+ z = z % 12 || 12;
7772
+ const T = String(P.getMinutes()).padStart(2, "0");
7773
+ t.value = `${p}-${w}-${V} ${z}:${T} ${O}`;
7774
7774
  }
7775
7775
  }, get QInput() {
7776
7776
  return ln;
@@ -7787,7 +7787,7 @@ const os = /* @__PURE__ */ bt(ns, [["render", as], ["__file", "/Users/zachsherbo
7787
7787
  }, get QSeparator() {
7788
7788
  return zl;
7789
7789
  } };
7790
- return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
7790
+ return Object.defineProperty(B, "__isScriptSetup", { enumerable: !1, value: !0 }), B;
7791
7791
  }
7792
7792
  }), ss = { class: "row no-wrap" };
7793
7793
  function cs(e, n, l, t, a, o) {
@@ -7932,26 +7932,26 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
7932
7932
  function s() {
7933
7933
  a == null || a(), a = null, t = !1, i !== null && (clearTimeout(i), i = null), r !== null && (clearTimeout(r), r = null), o == null || o.removeEventListener("transitionend", c), c = null;
7934
7934
  }
7935
- function v(x, y, E) {
7936
- y !== void 0 && (x.style.height = `${y}px`), x.style.transition = `height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`, t = !0, a = E;
7935
+ function v(q, y, B) {
7936
+ y !== void 0 && (q.style.height = `${y}px`), q.style.transition = `height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`, t = !0, a = B;
7937
7937
  }
7938
- function b(x, y) {
7939
- x.style.overflowY = null, x.style.height = null, x.style.transition = null, s(), y !== d && l(y);
7938
+ function b(q, y) {
7939
+ q.style.overflowY = null, q.style.height = null, q.style.transition = null, s(), y !== d && l(y);
7940
7940
  }
7941
- function g(x, y) {
7942
- let E = 0;
7943
- o = x, t === !0 ? (s(), E = x.offsetHeight === x.scrollHeight ? 0 : void 0) : (d = "hide", x.style.overflowY = "hidden"), v(x, E, y), i = setTimeout(() => {
7944
- i = null, x.style.height = `${x.scrollHeight}px`, c = (P) => {
7945
- r = null, (Object(P) !== P || P.target === x) && b(x, "show");
7946
- }, x.addEventListener("transitionend", c), r = setTimeout(c, e.duration * 1.1);
7941
+ function g(q, y) {
7942
+ let B = 0;
7943
+ o = q, t === !0 ? (s(), B = q.offsetHeight === q.scrollHeight ? 0 : void 0) : (d = "hide", q.style.overflowY = "hidden"), v(q, B, y), i = setTimeout(() => {
7944
+ i = null, q.style.height = `${q.scrollHeight}px`, c = (P) => {
7945
+ r = null, (Object(P) !== P || P.target === q) && b(q, "show");
7946
+ }, q.addEventListener("transitionend", c), r = setTimeout(c, e.duration * 1.1);
7947
7947
  }, 100);
7948
7948
  }
7949
- function q(x, y) {
7950
- let E;
7951
- o = x, t === !0 ? s() : (d = "show", x.style.overflowY = "hidden", E = x.scrollHeight), v(x, E, y), i = setTimeout(() => {
7952
- i = null, x.style.height = 0, c = (P) => {
7953
- r = null, (Object(P) !== P || P.target === x) && b(x, "hide");
7954
- }, x.addEventListener("transitionend", c), r = setTimeout(c, e.duration * 1.1);
7949
+ function S(q, y) {
7950
+ let B;
7951
+ o = q, t === !0 ? s() : (d = "show", q.style.overflowY = "hidden", B = q.scrollHeight), v(q, B, y), i = setTimeout(() => {
7952
+ i = null, q.style.height = 0, c = (P) => {
7953
+ r = null, (Object(P) !== P || P.target === q) && b(q, "hide");
7954
+ }, q.addEventListener("transitionend", c), r = setTimeout(c, e.duration * 1.1);
7955
7955
  }, 100);
7956
7956
  }
7957
7957
  return Ye(() => {
@@ -7960,7 +7960,7 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
7960
7960
  css: !1,
7961
7961
  appear: e.appear,
7962
7962
  onEnter: g,
7963
- onLeave: q
7963
+ onLeave: S
7964
7964
  }, n.default);
7965
7965
  }
7966
7966
  }), Zt = Cr({}), vs = Object.keys(Zl), ms = Be({
@@ -8006,26 +8006,26 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8006
8006
  let v, b;
8007
8007
  const g = u(
8008
8008
  () => `q-expansion-item q-item-type q-expansion-item--${o.value === !0 ? "expanded" : "collapsed"} q-expansion-item--${e.popup === !0 ? "popup" : "standard"}`
8009
- ), q = u(() => e.contentInsetLevel === void 0 ? null : {
8009
+ ), S = u(() => e.contentInsetLevel === void 0 ? null : {
8010
8010
  ["padding" + (t.lang.rtl === !0 ? "Right" : "Left")]: e.contentInsetLevel * 56 + "px"
8011
- }), x = u(
8011
+ }), q = u(
8012
8012
  () => e.disable !== !0 && (e.href !== void 0 || e.to !== void 0 && e.to !== null && e.to !== "")
8013
8013
  ), y = u(() => {
8014
8014
  const R = {};
8015
8015
  return vs.forEach((D) => {
8016
8016
  R[D] = e[D];
8017
8017
  }), R;
8018
- }), E = u(
8019
- () => x.value === !0 || e.expandIconToggle !== !0
8018
+ }), B = u(
8019
+ () => q.value === !0 || e.expandIconToggle !== !0
8020
8020
  ), P = u(() => e.expandedIcon !== void 0 && o.value === !0 ? e.expandedIcon : e.expandIcon || t.iconSet.expansionItem[e.denseToggle === !0 ? "denseIcon" : "icon"]), p = u(
8021
- () => e.disable !== !0 && (x.value === !0 || e.expandIconToggle === !0)
8021
+ () => e.disable !== !0 && (q.value === !0 || e.expandIconToggle === !0)
8022
8022
  ), w = u(() => ({
8023
8023
  expanded: o.value === !0,
8024
8024
  detailsId: r.value,
8025
8025
  toggle: s,
8026
8026
  show: c,
8027
8027
  hide: d
8028
- })), B = u(() => {
8028
+ })), V = u(() => {
8029
8029
  const R = e.toggleAriaLabel !== void 0 ? e.toggleAriaLabel : t.lang.label[o.value === !0 ? "collapse" : "expand"](e.label);
8030
8030
  return {
8031
8031
  role: "button",
@@ -8035,25 +8035,25 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8035
8035
  };
8036
8036
  });
8037
8037
  ue(() => e.group, (R) => {
8038
- b == null || b(), R !== void 0 && T();
8038
+ b == null || b(), R !== void 0 && x();
8039
8039
  });
8040
- function H(R) {
8041
- x.value !== !0 && s(R), l("click", R);
8040
+ function z(R) {
8041
+ q.value !== !0 && s(R), l("click", R);
8042
8042
  }
8043
- function M(R) {
8044
- R.keyCode === 13 && k(R, !0);
8043
+ function O(R) {
8044
+ R.keyCode === 13 && T(R, !0);
8045
8045
  }
8046
- function k(R, D) {
8046
+ function T(R, D) {
8047
8047
  var Z;
8048
8048
  D !== !0 && R.qAvoidFocus !== !0 && ((Z = i.value) == null || Z.focus()), s(R), Qe(R);
8049
8049
  }
8050
- function j() {
8050
+ function H() {
8051
8051
  l("afterShow");
8052
8052
  }
8053
- function O() {
8053
+ function M() {
8054
8054
  l("afterHide");
8055
8055
  }
8056
- function T() {
8056
+ function x() {
8057
8057
  v === void 0 && (v = Kn()), o.value === !0 && (Zt[e.group] = v);
8058
8058
  const R = ue(o, (Z) => {
8059
8059
  Z === !0 ? Zt[e.group] = v : Zt[e.group] === v && delete Zt[e.group];
@@ -8067,7 +8067,7 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8067
8067
  R(), D(), Zt[e.group] === v && delete Zt[e.group], b = void 0;
8068
8068
  };
8069
8069
  }
8070
- function V() {
8070
+ function E() {
8071
8071
  const R = {
8072
8072
  class: [
8073
8073
  `q-focusable relative-position cursor-pointer${e.denseToggle === !0 && e.switchToggleSide === !0 ? " items-end" : ""}`,
@@ -8083,9 +8083,9 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8083
8083
  ];
8084
8084
  return p.value === !0 && (Object.assign(R, {
8085
8085
  tabindex: 0,
8086
- ...B.value,
8087
- onClick: k,
8088
- onKeyup: M
8086
+ ...V.value,
8087
+ onClick: T,
8088
+ onKeyup: O
8089
8089
  }), D.unshift(
8090
8090
  m("div", {
8091
8091
  ref: i,
@@ -8107,7 +8107,7 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8107
8107
  avatar: e.switchToggleSide !== !0
8108
8108
  }, () => m(Xe, { name: e.icon }))
8109
8109
  )), e.disable !== !0 && e.hideExpandIcon !== !0 && R[e.switchToggleSide === !0 ? "unshift" : "push"](
8110
- V()
8110
+ E()
8111
8111
  ), R;
8112
8112
  }
8113
8113
  function F() {
@@ -8120,17 +8120,17 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8120
8120
  dense: e.dense,
8121
8121
  insetLevel: e.headerInsetLevel
8122
8122
  };
8123
- return E.value === !0 && (R.clickable = !0, R.onClick = H, Object.assign(
8123
+ return B.value === !0 && (R.clickable = !0, R.onClick = z, Object.assign(
8124
8124
  R,
8125
- x.value === !0 ? y.value : B.value
8125
+ q.value === !0 ? y.value : V.value
8126
8126
  )), m(Co, R, A);
8127
8127
  }
8128
- function z() {
8128
+ function j() {
8129
8129
  return Yt(
8130
8130
  m("div", {
8131
8131
  key: "e-content",
8132
8132
  class: "q-expansion-item__content relative-position",
8133
- style: q.value,
8133
+ style: S.value,
8134
8134
  id: r.value
8135
8135
  }, et(n.default)),
8136
8136
  [[
@@ -8144,9 +8144,9 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8144
8144
  F(),
8145
8145
  m(fs, {
8146
8146
  duration: e.duration,
8147
- onShow: j,
8148
- onHide: O
8149
- }, z)
8147
+ onShow: H,
8148
+ onHide: M
8149
+ }, j)
8150
8150
  ];
8151
8151
  return e.expandSeparator === !0 && R.push(
8152
8152
  m(zl, {
@@ -8159,7 +8159,7 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8159
8159
  })
8160
8160
  ), R;
8161
8161
  }
8162
- return e.group !== void 0 && T(), Ye(() => {
8162
+ return e.group !== void 0 && x(), Ye(() => {
8163
8163
  b == null || b();
8164
8164
  }), () => m("div", { class: g.value }, [
8165
8165
  m("div", { class: "q-expansion-item__container relative-position" }, G())
@@ -8184,28 +8184,28 @@ const ds = /* @__PURE__ */ bt(us, [["render", cs], ["__scopeId", "data-v-76abc7a
8184
8184
  { label: l.label }
8185
8185
  ), c = u(() => {
8186
8186
  var P;
8187
- const x = l.schema["x-default-expanded"];
8188
- if (x !== void 0)
8189
- return x;
8190
- const y = (P = t == null ? void 0 : t.componentDefaults) == null ? void 0 : P.object, E = (y == null ? void 0 : y.defaultExpanded) ?? "required-only";
8191
- return E === "all" ? !0 : E === "none" ? !1 : r.value;
8187
+ const q = l.schema["x-default-expanded"];
8188
+ if (q !== void 0)
8189
+ return q;
8190
+ const y = (P = t == null ? void 0 : t.componentDefaults) == null ? void 0 : P.object, B = (y == null ? void 0 : y.defaultExpanded) ?? "required-only";
8191
+ return B === "all" ? !0 : B === "none" ? !1 : r.value;
8192
8192
  }), d = u(() => {
8193
8193
  var y;
8194
- const x = (y = t == null ? void 0 : t.componentDefaults) == null ? void 0 : y.object;
8195
- return (x == null ? void 0 : x.showOptionalIndicator) ?? !0;
8194
+ const q = (y = t == null ? void 0 : t.componentDefaults) == null ? void 0 : y.object;
8195
+ return (q == null ? void 0 : q.showOptionalIndicator) ?? !0;
8196
8196
  }), s = _t(l.path), v = u(() => {
8197
- const x = l.schema["x-quasar-props"] || {};
8198
- return { ...l.schema["x-component-props"] || {}, ...x };
8199
- }), b = u(() => l.schema.properties ? Object.entries(l.schema.properties).map(([x, y]) => ({
8200
- key: x,
8197
+ const q = l.schema["x-quasar-props"] || {};
8198
+ return { ...l.schema["x-component-props"] || {}, ...q };
8199
+ }), b = u(() => l.schema.properties ? Object.entries(l.schema.properties).map(([q, y]) => ({
8200
+ key: q,
8201
8201
  schema: y,
8202
- path: l.path ? `${l.path}.${x}` : x
8203
- })) : []), g = u(() => gt(t == null ? void 0 : t.componentDefaults)), q = { props: l, formContext: t, label: a, hint: o, errorMessage: i, required: r, defaultOpened: c, showOptionalIndicator: d, fieldId: s, quasarProps: v, properties: b, fieldGap: g, get QExpansionItem() {
8202
+ path: l.path ? `${l.path}.${q}` : q
8203
+ })) : []), g = u(() => gt(t == null ? void 0 : t.componentDefaults)), S = { props: l, formContext: t, label: a, hint: o, errorMessage: i, required: r, defaultOpened: c, showOptionalIndicator: d, fieldId: s, quasarProps: v, properties: b, fieldGap: g, get QExpansionItem() {
8204
8204
  return ms;
8205
8205
  }, get FieldRenderer() {
8206
8206
  return tl;
8207
8207
  } };
8208
- return Object.defineProperty(q, "__isScriptSetup", { enumerable: !1, value: !0 }), q;
8208
+ return Object.defineProperty(S, "__isScriptSetup", { enumerable: !1, value: !0 }), S;
8209
8209
  }
8210
8210
  }), gs = { class: "text-subtitle1" }, bs = {
8211
8211
  key: 0,
@@ -8327,22 +8327,22 @@ const ks = /* @__PURE__ */ bt(hs, [["render", _s], ["__file", "/Users/zachsherbo
8327
8327
  ],
8328
8328
  setup(e, { slots: n, emit: l, attrs: t }) {
8329
8329
  let a, o;
8330
- const i = Te(), { proxy: { $q: r } } = i, c = N(null), d = N(!1), s = u(() => $n(e.anchor, r.lang.rtl)), v = u(() => $n(e.self, r.lang.rtl)), b = u(() => e.persistent !== !0), { registerTick: g, removeTick: q } = gn(), { registerTimeout: x } = En(), { transitionProps: y, transitionStyle: E } = ea(e), { localScrollTarget: P, changeScrollEvent: p, unconfigureScrollTarget: w } = Oo(e, be), { anchorEl: B, canShow: H, anchorEvents: M } = Jl({ showing: d, configureAnchorEl: Z }), { show: k, hide: j } = sl({
8330
+ const i = Te(), { proxy: { $q: r } } = i, c = N(null), d = N(!1), s = u(() => $n(e.anchor, r.lang.rtl)), v = u(() => $n(e.self, r.lang.rtl)), b = u(() => e.persistent !== !0), { registerTick: g, removeTick: S } = gn(), { registerTimeout: q } = En(), { transitionProps: y, transitionStyle: B } = ea(e), { localScrollTarget: P, changeScrollEvent: p, unconfigureScrollTarget: w } = Oo(e, be), { anchorEl: V, canShow: z, anchorEvents: O } = Jl({ showing: d, configureAnchorEl: Z }), { show: T, hide: H } = sl({
8331
8331
  showing: d,
8332
- canShow: H,
8332
+ canShow: z,
8333
8333
  handleShow: A,
8334
8334
  handleHide: F,
8335
8335
  hideOnRouteChange: b,
8336
8336
  processOnMount: !0
8337
8337
  });
8338
- Object.assign(M, { delayShow: R, delayHide: D });
8339
- const { showPortal: O, hidePortal: T, renderPortal: V } = $l(i, c, S, "tooltip");
8338
+ Object.assign(O, { delayShow: R, delayHide: D });
8339
+ const { showPortal: M, hidePortal: x, renderPortal: E } = $l(i, c, k, "tooltip");
8340
8340
  if (r.platform.is.mobile === !0) {
8341
8341
  const Y = {
8342
- anchorEl: B,
8342
+ anchorEl: V,
8343
8343
  innerRef: c,
8344
8344
  onClickOutside(ne) {
8345
- return j(ne), ne.target.classList.contains("q-dialog__backdrop") && Qe(ne), !0;
8345
+ return H(ne), ne.target.classList.contains("q-dialog__backdrop") && Qe(ne), !0;
8346
8346
  }
8347
8347
  }, W = u(
8348
8348
  () => (
@@ -8358,28 +8358,28 @@ const ks = /* @__PURE__ */ bt(hs, [["render", _s], ["__file", "/Users/zachsherbo
8358
8358
  });
8359
8359
  }
8360
8360
  function A(Y) {
8361
- O(), g(() => {
8361
+ M(), g(() => {
8362
8362
  o = new MutationObserver(() => G()), o.observe(c.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), G(), be();
8363
8363
  }), a === void 0 && (a = ue(
8364
8364
  () => r.screen.width + "|" + r.screen.height + "|" + e.self + "|" + e.anchor + "|" + r.lang.rtl,
8365
8365
  G
8366
- )), x(() => {
8367
- O(!0), l("show", Y);
8366
+ )), q(() => {
8367
+ M(!0), l("show", Y);
8368
8368
  }, e.transitionDuration);
8369
8369
  }
8370
8370
  function F(Y) {
8371
- q(), T(), z(), x(() => {
8372
- T(!0), l("hide", Y);
8371
+ S(), x(), j(), q(() => {
8372
+ x(!0), l("hide", Y);
8373
8373
  }, e.transitionDuration);
8374
8374
  }
8375
- function z() {
8376
- o !== void 0 && (o.disconnect(), o = void 0), a !== void 0 && (a(), a = void 0), w(), $t(M, "tooltipTemp");
8375
+ function j() {
8376
+ o !== void 0 && (o.disconnect(), o = void 0), a !== void 0 && (a(), a = void 0), w(), $t(O, "tooltipTemp");
8377
8377
  }
8378
8378
  function G() {
8379
8379
  ta({
8380
8380
  targetEl: c.value,
8381
8381
  offset: e.offset,
8382
- anchorEl: B.value,
8382
+ anchorEl: V.value,
8383
8383
  anchorOrigin: s.value,
8384
8384
  selfOrigin: v.value,
8385
8385
  maxHeight: e.maxHeight,
@@ -8389,34 +8389,34 @@ const ks = /* @__PURE__ */ bt(hs, [["render", _s], ["__file", "/Users/zachsherbo
8389
8389
  function R(Y) {
8390
8390
  if (r.platform.is.mobile === !0) {
8391
8391
  Un(), document.body.classList.add("non-selectable");
8392
- const W = B.value, ne = ["touchmove", "touchcancel", "touchend", "click"].map((te) => [W, te, "delayHide", "passiveCapture"]);
8393
- At(M, "tooltipTemp", ne);
8392
+ const W = V.value, ne = ["touchmove", "touchcancel", "touchend", "click"].map((te) => [W, te, "delayHide", "passiveCapture"]);
8393
+ At(O, "tooltipTemp", ne);
8394
8394
  }
8395
- x(() => {
8396
- k(Y);
8395
+ q(() => {
8396
+ T(Y);
8397
8397
  }, e.delay);
8398
8398
  }
8399
8399
  function D(Y) {
8400
- r.platform.is.mobile === !0 && ($t(M, "tooltipTemp"), Un(), setTimeout(() => {
8400
+ r.platform.is.mobile === !0 && ($t(O, "tooltipTemp"), Un(), setTimeout(() => {
8401
8401
  document.body.classList.remove("non-selectable");
8402
- }, 10)), x(() => {
8403
- j(Y);
8402
+ }, 10)), q(() => {
8403
+ H(Y);
8404
8404
  }, e.hideDelay);
8405
8405
  }
8406
8406
  function Z() {
8407
- if (e.noParentEvent === !0 || B.value === null) return;
8407
+ if (e.noParentEvent === !0 || V.value === null) return;
8408
8408
  const Y = r.platform.is.mobile === !0 ? [
8409
- [B.value, "touchstart", "delayShow", "passive"]
8409
+ [V.value, "touchstart", "delayShow", "passive"]
8410
8410
  ] : [
8411
- [B.value, "mouseenter", "delayShow", "passive"],
8412
- [B.value, "mouseleave", "delayHide", "passive"]
8411
+ [V.value, "mouseenter", "delayShow", "passive"],
8412
+ [V.value, "mouseleave", "delayHide", "passive"]
8413
8413
  ];
8414
- At(M, "anchor", Y);
8414
+ At(O, "anchor", Y);
8415
8415
  }
8416
8416
  function be() {
8417
- if (B.value !== null || e.scrollTarget !== void 0) {
8418
- P.value = Vo(B.value, e.scrollTarget);
8419
- const Y = e.noParentEvent === !0 ? G : j;
8417
+ if (V.value !== null || e.scrollTarget !== void 0) {
8418
+ P.value = Vo(V.value, e.scrollTarget);
8419
+ const Y = e.noParentEvent === !0 ? G : H;
8420
8420
  p(P.value, Y);
8421
8421
  }
8422
8422
  }
@@ -8430,15 +8430,15 @@ const ks = /* @__PURE__ */ bt(hs, [["render", _s], ["__file", "/Users/zachsherbo
8430
8430
  ],
8431
8431
  style: [
8432
8432
  t.style,
8433
- E.value
8433
+ B.value
8434
8434
  ],
8435
8435
  role: "tooltip"
8436
8436
  }, et(n.default)) : null;
8437
8437
  }
8438
- function S() {
8438
+ function k() {
8439
8439
  return m(pt, y.value, C);
8440
8440
  }
8441
- return Ye(z), Object.assign(i.proxy, { updatePosition: G }), V;
8441
+ return Ye(j), Object.assign(i.proxy, { updatePosition: G }), E;
8442
8442
  }
8443
8443
  }), nr = Be({
8444
8444
  name: "QCardSection",
@@ -8477,71 +8477,71 @@ const ks = /* @__PURE__ */ bt(hs, [["render", _s], ["__file", "/Users/zachsherbo
8477
8477
  r == null ? void 0 : r.componentDefaults,
8478
8478
  "card"
8479
8479
  )), s = u(() => {
8480
- var F, z;
8481
- const M = ((F = r == null ? void 0 : r.quickformsDefaults) == null ? void 0 : F.array) || {}, k = l.schema["x-quickforms-quasar"] || {}, j = k.addButtonPosition ?? M.addButtonPosition ?? "bottom-left", O = {
8480
+ var F, j;
8481
+ const O = ((F = r == null ? void 0 : r.quickformsDefaults) == null ? void 0 : F.array) || {}, T = l.schema["x-quickforms-quasar"] || {}, H = T.addButtonPosition ?? O.addButtonPosition ?? "bottom-left", M = {
8482
8482
  outline: !0,
8483
8483
  color: "primary",
8484
8484
  icon: "add",
8485
- label: ((z = r == null ? void 0 : r.labels) == null ? void 0 : z.addItem) || "Add item"
8486
- }, T = {
8485
+ label: ((j = r == null ? void 0 : r.labels) == null ? void 0 : j.addItem) || "Add item"
8486
+ }, x = {
8487
8487
  flat: !0,
8488
8488
  round: !0,
8489
8489
  dense: !0,
8490
8490
  size: "sm",
8491
8491
  icon: "close",
8492
8492
  color: "negative"
8493
- }, V = {
8494
- ...O,
8495
- ...M.addButton || {},
8496
- ...k.addButton || {}
8493
+ }, E = {
8494
+ ...M,
8495
+ ...O.addButton || {},
8496
+ ...T.addButton || {}
8497
8497
  }, A = {
8498
- ...T,
8499
- ...M.removeButton || {},
8500
- ...k.removeButton || {}
8498
+ ...x,
8499
+ ...O.removeButton || {},
8500
+ ...T.removeButton || {}
8501
8501
  };
8502
8502
  return {
8503
- addButtonPosition: j,
8504
- addButton: V,
8503
+ addButtonPosition: H,
8504
+ addButton: E,
8505
8505
  removeButton: A
8506
8506
  };
8507
8507
  }), v = u(() => {
8508
- const M = s.value.addButtonPosition;
8509
- return M === "top-left" || M === "top-right";
8508
+ const O = s.value.addButtonPosition;
8509
+ return O === "top-left" || O === "top-right";
8510
8510
  }), b = u(() => {
8511
- const M = s.value.addButtonPosition;
8512
- return M === "top-right" || M === "bottom-right";
8511
+ const O = s.value.addButtonPosition;
8512
+ return O === "top-right" || O === "bottom-right";
8513
8513
  }), g = u({
8514
8514
  get: () => Array.isArray(t.value) ? t.value : [],
8515
- set: (M) => t.value = M
8516
- }), q = u(() => Array.isArray(l.schema.items) ? l.schema.items[0] : l.schema.items), x = () => {
8517
- if (!q.value) return;
8518
- const M = lr.getDefaultValue(q.value);
8519
- t.value = [...g.value, M];
8520
- }, y = (M) => {
8521
- const k = [...g.value];
8522
- k.splice(M, 1), t.value = k;
8523
- }, E = (M, k) => {
8524
- if (k === "up" && M === 0 || k === "down" && M === g.value.length - 1) return;
8525
- const j = [...g.value], O = k === "up" ? M - 1 : M + 1, T = j[M];
8526
- j[M] = j[O], j[O] = T, t.value = j;
8527
- }, P = u(() => !(l.disabled || l.readonly || l.schema.maxItems && g.value.length >= l.schema.maxItems)), p = u(() => !(l.disabled || l.readonly || l.schema.minItems && g.value.length <= l.schema.minItems)), w = (M) => {
8528
- var O;
8529
- const k = l.schema["x-item-label"];
8530
- if (k === "none" || k === !1)
8515
+ set: (O) => t.value = O
8516
+ }), S = u(() => Array.isArray(l.schema.items) ? l.schema.items[0] : l.schema.items), q = () => {
8517
+ if (!S.value) return;
8518
+ const O = lr.getDefaultValue(S.value);
8519
+ t.value = [...g.value, O];
8520
+ }, y = (O) => {
8521
+ const T = [...g.value];
8522
+ T.splice(O, 1), t.value = T;
8523
+ }, B = (O, T) => {
8524
+ if (T === "up" && O === 0 || T === "down" && O === g.value.length - 1) return;
8525
+ const H = [...g.value], M = T === "up" ? O - 1 : O + 1, x = H[O];
8526
+ H[O] = H[M], H[M] = x, t.value = H;
8527
+ }, P = u(() => !(l.disabled || l.readonly || l.schema.maxItems && g.value.length >= l.schema.maxItems)), p = u(() => !(l.disabled || l.readonly || l.schema.minItems && g.value.length <= l.schema.minItems)), w = (O) => {
8528
+ var M;
8529
+ const T = l.schema["x-item-label"];
8530
+ if (T === "none" || T === !1)
8531
8531
  return "";
8532
- if (typeof k == "string" && k.includes("{{")) {
8533
- const T = g.value[M];
8534
- if (typeof T == "object" && T !== null) {
8535
- let V = k, A = !1;
8536
- if (V = V.replace(/\{\{([^}]+)\}\}/g, (F, z) => {
8537
- const G = T[z.trim()];
8532
+ if (typeof T == "string" && T.includes("{{")) {
8533
+ const x = g.value[O];
8534
+ if (typeof x == "object" && x !== null) {
8535
+ let E = T, A = !1;
8536
+ if (E = E.replace(/\{\{([^}]+)\}\}/g, (F, j) => {
8537
+ const G = x[j.trim()];
8538
8538
  return G != null && G !== "" ? (A = !0, String(G)) : "";
8539
- }), V = V.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), A && V.trim())
8540
- return V.trim();
8539
+ }), E = E.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), A && E.trim())
8540
+ return E.trim();
8541
8541
  }
8542
8542
  }
8543
- return `${((O = q.value) == null ? void 0 : O.title) || "Item"} ${M + 1}`;
8544
- }, B = u(() => gt(r == null ? void 0 : r.componentDefaults)), H = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, quickformsFeatures: s, isTopPosition: v, isRightPosition: b, arrayValue: g, itemsSchema: q, addItem: x, removeItem: y, moveItem: E, canAdd: P, canRemove: p, getItemLabel: w, fieldGap: B, get QCard() {
8543
+ return `${((M = S.value) == null ? void 0 : M.title) || "Item"} ${O + 1}`;
8544
+ }, V = u(() => gt(r == null ? void 0 : r.componentDefaults)), z = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: c, quasarProps: d, quickformsFeatures: s, isTopPosition: v, isRightPosition: b, arrayValue: g, itemsSchema: S, addItem: q, removeItem: y, moveItem: B, canAdd: P, canRemove: p, getItemLabel: w, fieldGap: V, get QCard() {
8545
8545
  return ia;
8546
8546
  }, get QCardSection() {
8547
8547
  return nr;
@@ -8550,7 +8550,7 @@ const ks = /* @__PURE__ */ bt(hs, [["render", _s], ["__file", "/Users/zachsherbo
8550
8550
  }, get FieldRenderer() {
8551
8551
  return tl;
8552
8552
  } };
8553
- return Object.defineProperty(H, "__isScriptSetup", { enumerable: !1, value: !0 }), H;
8553
+ return Object.defineProperty(z, "__isScriptSetup", { enumerable: !1, value: !0 }), z;
8554
8554
  }
8555
8555
  }), qs = ["id"], xs = { style: { "font-weight": "500" } }, Cs = {
8556
8556
  key: 0,
@@ -8794,7 +8794,7 @@ const Is = /* @__PURE__ */ bt(Ss, [["render", Fs], ["__file", "/Users/zachsherbo
8794
8794
  "keyvalue"
8795
8795
  )), b = u(() => {
8796
8796
  var R, D;
8797
- const M = ((R = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : R.keyvalue) || {}, k = l.schema["x-quickforms-quasar"] || {}, j = k.addButtonPosition ?? M.addButtonPosition ?? "bottom-left", O = k.showHeaders ?? M.showHeaders ?? !1, T = k.keyLabel ?? M.keyLabel ?? "Key", V = k.valueLabel ?? M.valueLabel ?? "Value", A = {
8797
+ const O = ((R = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : R.keyvalue) || {}, T = l.schema["x-quickforms-quasar"] || {}, H = T.addButtonPosition ?? O.addButtonPosition ?? "bottom-left", M = T.showHeaders ?? O.showHeaders ?? !1, x = T.keyLabel ?? O.keyLabel ?? "Key", E = T.valueLabel ?? O.valueLabel ?? "Value", A = {
8798
8798
  outline: !0,
8799
8799
  color: "primary",
8800
8800
  icon: "add",
@@ -8807,72 +8807,72 @@ const Is = /* @__PURE__ */ bt(Ss, [["render", Fs], ["__file", "/Users/zachsherbo
8807
8807
  size: "sm",
8808
8808
  icon: "close",
8809
8809
  color: "negative"
8810
- }, z = {
8810
+ }, j = {
8811
8811
  ...A,
8812
- ...M.addButton || {},
8813
- ...k.addButton || {}
8812
+ ...O.addButton || {},
8813
+ ...T.addButton || {}
8814
8814
  }, G = {
8815
8815
  ...F,
8816
- ...M.removeButton || {},
8817
- ...k.removeButton || {}
8816
+ ...O.removeButton || {},
8817
+ ...T.removeButton || {}
8818
8818
  };
8819
8819
  return {
8820
- addButtonPosition: j,
8821
- addButton: z,
8820
+ addButtonPosition: H,
8821
+ addButton: j,
8822
8822
  removeButton: G,
8823
- showHeaders: O,
8824
- keyLabel: T,
8825
- valueLabel: V
8823
+ showHeaders: M,
8824
+ keyLabel: x,
8825
+ valueLabel: E
8826
8826
  };
8827
8827
  }), g = u(() => {
8828
- const M = b.value.addButtonPosition;
8829
- return M === "top-left" || M === "top-right";
8830
- }), q = u(() => {
8831
- const M = b.value.addButtonPosition;
8832
- return M === "top-right" || M === "bottom-right";
8833
- }), x = u(() => b.value.addButtonPosition === "bottom-center");
8828
+ const O = b.value.addButtonPosition;
8829
+ return O === "top-left" || O === "top-right";
8830
+ }), S = u(() => {
8831
+ const O = b.value.addButtonPosition;
8832
+ return O === "top-right" || O === "bottom-right";
8833
+ }), q = u(() => b.value.addButtonPosition === "bottom-center");
8834
8834
  let y = 0;
8835
- const E = N([]), P = N(!1);
8835
+ const B = N([]), P = N(!1);
8836
8836
  ue(
8837
8837
  () => t.value,
8838
- (M) => {
8838
+ (O) => {
8839
8839
  if (P.value) {
8840
8840
  P.value = !1;
8841
8841
  return;
8842
8842
  }
8843
- M && typeof M == "object" && !Array.isArray(M) ? E.value = Object.entries(M).map(([k, j]) => ({
8844
- key: k,
8845
- value: String(j),
8843
+ O && typeof O == "object" && !Array.isArray(O) ? B.value = Object.entries(O).map(([T, H]) => ({
8844
+ key: T,
8845
+ value: String(H),
8846
8846
  id: y++
8847
- })) : E.value.length || (E.value = []);
8847
+ })) : B.value.length || (B.value = []);
8848
8848
  },
8849
8849
  { immediate: !0 }
8850
8850
  ), ue(
8851
- E,
8852
- (M) => {
8853
- const k = {};
8854
- M.forEach((j) => {
8855
- j.key.trim() && (k[j.key] = j.value);
8856
- }), P.value = !0, a(k);
8851
+ B,
8852
+ (O) => {
8853
+ const T = {};
8854
+ O.forEach((H) => {
8855
+ H.key.trim() && (T[H.key] = H.value);
8856
+ }), P.value = !0, a(T);
8857
8857
  },
8858
8858
  { deep: !0 }
8859
8859
  );
8860
8860
  function p() {
8861
- E.value.push({ key: "", value: "", id: y++ });
8861
+ B.value.push({ key: "", value: "", id: y++ });
8862
8862
  }
8863
- function w(M) {
8864
- E.value = E.value.filter((k) => k.id !== M);
8863
+ function w(O) {
8864
+ B.value = B.value.filter((T) => T.id !== O);
8865
8865
  }
8866
- const B = u(() => gt(d == null ? void 0 : d.componentDefaults)), H = { props: l, value: t, setValue: a, label: o, hint: i, errorMessage: r, required: c, formContext: d, fieldId: s, inputProps: v, quickformsFeatures: b, isTopPosition: g, isRightPosition: q, isCenterPosition: x, get nextId() {
8866
+ const V = u(() => gt(d == null ? void 0 : d.componentDefaults)), z = { props: l, value: t, setValue: a, label: o, hint: i, errorMessage: r, required: c, formContext: d, fieldId: s, inputProps: v, quickformsFeatures: b, isTopPosition: g, isRightPosition: S, isCenterPosition: q, get nextId() {
8867
8867
  return y;
8868
- }, set nextId(M) {
8869
- y = M;
8870
- }, pairs: E, isInternalUpdate: P, addPair: p, removePair: w, fieldGap: B, get QInput() {
8868
+ }, set nextId(O) {
8869
+ y = O;
8870
+ }, pairs: B, isInternalUpdate: P, addPair: p, removePair: w, fieldGap: V, get QInput() {
8871
8871
  return ln;
8872
8872
  }, get QBtn() {
8873
8873
  return st;
8874
8874
  } };
8875
- return Object.defineProperty(H, "__isScriptSetup", { enumerable: !1, value: !0 }), H;
8875
+ return Object.defineProperty(z, "__isScriptSetup", { enumerable: !1, value: !0 }), z;
8876
8876
  }
8877
8877
  }), Ls = { class: "text-subtitle2" }, Rs = {
8878
8878
  key: 0,
@@ -9077,10 +9077,10 @@ const Ws = /* @__PURE__ */ bt(As, [["render", Us], ["__file", "/Users/zachsherbo
9077
9077
  ), d = ht(), s = _t(l.path), v = N(""), b = N(null), g = N(!1);
9078
9078
  ue(
9079
9079
  () => t.value,
9080
- (k) => {
9080
+ (T) => {
9081
9081
  if (!g.value) {
9082
9082
  try {
9083
- v.value = JSON.stringify(k || {}, null, 2), b.value = null;
9083
+ v.value = JSON.stringify(T || {}, null, 2), b.value = null;
9084
9084
  } catch {
9085
9085
  v.value = "{}";
9086
9086
  }
@@ -9089,60 +9089,60 @@ const Ws = /* @__PURE__ */ bt(As, [["render", Us], ["__file", "/Users/zachsherbo
9089
9089
  },
9090
9090
  { immediate: !0 }
9091
9091
  );
9092
- function q(k) {
9093
- v.value = k;
9092
+ function S(T) {
9093
+ v.value = T;
9094
9094
  try {
9095
- const j = JSON.parse(v.value);
9096
- a(j), b.value = null;
9097
- } catch (j) {
9098
- b.value = j.message;
9095
+ const H = JSON.parse(v.value);
9096
+ a(H), b.value = null;
9097
+ } catch (H) {
9098
+ b.value = H.message;
9099
9099
  }
9100
9100
  }
9101
- function x() {
9101
+ function q() {
9102
9102
  try {
9103
- const k = JSON.parse(v.value);
9104
- v.value = JSON.stringify(k, null, 2), b.value = null;
9103
+ const T = JSON.parse(v.value);
9104
+ v.value = JSON.stringify(T, null, 2), b.value = null;
9105
9105
  } catch {
9106
9106
  }
9107
9107
  }
9108
- function y(k) {
9109
- const j = k.target;
9110
- if (k.ctrlKey && (k.key === " " || k.code === "Space")) {
9111
- k.preventDefault(), k.stopPropagation(), x();
9108
+ function y(T) {
9109
+ const H = T.target;
9110
+ if (T.ctrlKey && (T.key === " " || T.code === "Space")) {
9111
+ T.preventDefault(), T.stopPropagation(), q();
9112
9112
  return;
9113
9113
  }
9114
- if (k.key === "Tab") {
9115
- k.preventDefault(), k.stopPropagation();
9116
- const O = j.selectionStart, T = j.selectionEnd, V = " ";
9117
- v.value = v.value.substring(0, O) + V + v.value.substring(T), setTimeout(() => {
9118
- j.selectionStart = j.selectionEnd = O + V.length;
9114
+ if (T.key === "Tab") {
9115
+ T.preventDefault(), T.stopPropagation();
9116
+ const M = H.selectionStart, x = H.selectionEnd, E = " ";
9117
+ v.value = v.value.substring(0, M) + E + v.value.substring(x), setTimeout(() => {
9118
+ H.selectionStart = H.selectionEnd = M + E.length;
9119
9119
  }, 0);
9120
9120
  return;
9121
9121
  }
9122
- (k.key === "Enter" || k.key === " ") && k.stopPropagation();
9122
+ (T.key === "Enter" || T.key === " ") && T.stopPropagation();
9123
9123
  }
9124
- const E = u(() => b.value || r.value), P = u(() => {
9125
- var V, A;
9126
- const k = ((V = d == null ? void 0 : d.componentDefaults) == null ? void 0 : V.global) || {}, j = ((A = d == null ? void 0 : d.componentDefaults) == null ? void 0 : A.jsoneditor) || {}, O = l.schema["x-quasar-props"] || {}, T = l.schema["x-component-props"] || {};
9124
+ const B = u(() => b.value || r.value), P = u(() => {
9125
+ var E, A;
9126
+ const T = ((E = d == null ? void 0 : d.componentDefaults) == null ? void 0 : E.global) || {}, H = ((A = d == null ? void 0 : d.componentDefaults) == null ? void 0 : A.jsoneditor) || {}, M = l.schema["x-quasar-props"] || {}, x = l.schema["x-component-props"] || {};
9127
9127
  return {
9128
- ...k,
9129
- ...j,
9130
9128
  ...T,
9131
- ...O
9129
+ ...H,
9130
+ ...x,
9131
+ ...M
9132
9132
  };
9133
9133
  }), p = u(() => {
9134
- var T, V;
9135
- const k = ((T = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : T.global) || {}, j = ((V = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : V.jsoneditor) || {}, O = l.schema["x-quickforms-quasar"] || {};
9136
- return { ...k, ...j, ...O };
9137
- }), w = u(() => p.value.showFormatHint !== !1), B = u(() => {
9138
- const k = l.schema["x-rows"];
9139
- return k !== void 0 ? k : 8;
9140
- }), H = u(() => gt(d == null ? void 0 : d.componentDefaults)), M = { props: l, value: t, setValue: a, label: o, hint: i, errorMessage: r, required: c, formContext: d, fieldId: s, jsonText: v, parseError: b, isInitialized: g, handleInput: q, formatJson: x, handleKeyDown: y, displayError: E, quasarProps: P, quickformsFeatures: p, showFormatHint: w, rows: B, fieldGap: H, get QInput() {
9134
+ var x, E;
9135
+ const T = ((x = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : x.global) || {}, H = ((E = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : E.jsoneditor) || {}, M = l.schema["x-quickforms-quasar"] || {};
9136
+ return { ...T, ...H, ...M };
9137
+ }), w = u(() => p.value.showFormatHint !== !1), V = u(() => {
9138
+ const T = l.schema["x-rows"];
9139
+ return T !== void 0 ? T : 8;
9140
+ }), z = u(() => gt(d == null ? void 0 : d.componentDefaults)), O = { props: l, value: t, setValue: a, label: o, hint: i, errorMessage: r, required: c, formContext: d, fieldId: s, jsonText: v, parseError: b, isInitialized: g, handleInput: S, formatJson: q, handleKeyDown: y, displayError: B, quasarProps: P, quickformsFeatures: p, showFormatHint: w, rows: V, fieldGap: z, get QInput() {
9141
9141
  return ln;
9142
9142
  }, get QIcon() {
9143
9143
  return Xe;
9144
9144
  } };
9145
- return Object.defineProperty(M, "__isScriptSetup", { enumerable: !1, value: !0 }), M;
9145
+ return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
9146
9146
  }
9147
9147
  }), Xs = {
9148
9148
  key: 0,
@@ -9246,7 +9246,7 @@ const tc = /* @__PURE__ */ bt(Gs, [["render", ec], ["__scopeId", "data-v-b6a61d1
9246
9246
  ), c = ht(), d = _t(l.path);
9247
9247
  Array.isArray(t.value) || r([], !1);
9248
9248
  const s = u(() => {
9249
- const E = Vt(
9249
+ const B = Vt(
9250
9250
  l.schema,
9251
9251
  c == null ? void 0 : c.componentDefaults,
9252
9252
  "select"
@@ -9254,49 +9254,49 @@ const tc = /* @__PURE__ */ bt(Gs, [["render", ec], ["__scopeId", "data-v-b6a61d1
9254
9254
  autocomplete: P,
9255
9255
  autocompleteThreshold: p,
9256
9256
  useInput: w,
9257
- fillInput: B,
9258
- hideSelected: H,
9259
- ...M
9260
- } = E;
9261
- return M;
9257
+ fillInput: V,
9258
+ hideSelected: z,
9259
+ ...O
9260
+ } = B;
9261
+ return O;
9262
9262
  }), v = u(() => {
9263
9263
  var w;
9264
- const E = l.schema.items;
9265
- if (!E || typeof E == "boolean") return [];
9266
- const P = Array.isArray(E) ? (w = E[0]) == null ? void 0 : w.enum : E.enum;
9264
+ const B = l.schema.items;
9265
+ if (!B || typeof B == "boolean") return [];
9266
+ const P = Array.isArray(B) ? (w = B[0]) == null ? void 0 : w.enum : B.enum;
9267
9267
  if (!P) return [];
9268
- const p = E["x-enum-labels"];
9269
- return P.map((B) => {
9270
- let H = String(B);
9271
- return p && B in p && (H = p[B]), {
9272
- label: H,
9273
- value: B
9268
+ const p = B["x-enum-labels"];
9269
+ return P.map((V) => {
9270
+ let z = String(V);
9271
+ return p && V in p && (z = p[V]), {
9272
+ label: z,
9273
+ value: V
9274
9274
  };
9275
9275
  });
9276
9276
  }), b = N([]);
9277
9277
  ue(
9278
9278
  v,
9279
- (E) => {
9280
- b.value = E;
9279
+ (B) => {
9280
+ b.value = B;
9281
9281
  },
9282
9282
  { immediate: !0 }
9283
9283
  );
9284
9284
  const g = u(() => {
9285
9285
  var P, p;
9286
- const E = l.schema["x-component-props"];
9287
- return (E == null ? void 0 : E.autocomplete) !== void 0 ? E.autocomplete : ((p = (P = c == null ? void 0 : c.componentDefaults) == null ? void 0 : P.select) == null ? void 0 : p.autocomplete) !== void 0 ? c.componentDefaults.select.autocomplete : !0;
9288
- }), q = (E, P) => {
9286
+ const B = l.schema["x-component-props"];
9287
+ return (B == null ? void 0 : B.autocomplete) !== void 0 ? B.autocomplete : ((p = (P = c == null ? void 0 : c.componentDefaults) == null ? void 0 : P.select) == null ? void 0 : p.autocomplete) !== void 0 ? c.componentDefaults.select.autocomplete : !0;
9288
+ }), S = (B, P) => {
9289
9289
  P(() => {
9290
- if (E === "")
9290
+ if (B === "")
9291
9291
  b.value = v.value;
9292
9292
  else {
9293
- const p = E.toLowerCase();
9293
+ const p = B.toLowerCase();
9294
9294
  b.value = v.value.filter(
9295
9295
  (w) => w.label.toLowerCase().includes(p)
9296
9296
  );
9297
9297
  }
9298
9298
  });
9299
- }, x = u(() => gt(c == null ? void 0 : c.componentDefaults)), y = { props: l, value: t, errorMessage: a, label: o, hint: i, setValue: r, formContext: c, fieldId: d, quasarProps: s, allOptions: v, filteredOptions: b, useFilter: g, filterFn: q, fieldGap: x, get QSelect() {
9299
+ }, q = u(() => gt(c == null ? void 0 : c.componentDefaults)), y = { props: l, value: t, errorMessage: a, label: o, hint: i, setValue: r, formContext: c, fieldId: d, quasarProps: s, allOptions: v, filteredOptions: b, useFilter: g, filterFn: S, fieldGap: q, get QSelect() {
9300
9300
  return na;
9301
9301
  } };
9302
9302
  return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
@@ -9464,9 +9464,9 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9464
9464
  "onUpdate:modelValue": [Function, Array]
9465
9465
  },
9466
9466
  setup(e, { slots: n, emit: l }) {
9467
- const { proxy: t } = Te(), { $q: a } = t, { registerTick: o } = gn(), { registerTick: i } = gn(), { registerTick: r } = gn(), { registerTimeout: c, removeTimeout: d } = En(), { registerTimeout: s, removeTimeout: v } = En(), b = N(null), g = N(null), q = N(e.modelValue), x = N(!1), y = N(!0), E = N(!1), P = N(!1), p = [], w = N(0), B = N(!1);
9468
- let H = null, M = null, k;
9469
- const j = u(() => ({
9467
+ const { proxy: t } = Te(), { $q: a } = t, { registerTick: o } = gn(), { registerTick: i } = gn(), { registerTick: r } = gn(), { registerTimeout: c, removeTimeout: d } = En(), { registerTimeout: s, removeTimeout: v } = En(), b = N(null), g = N(null), S = N(e.modelValue), q = N(!1), y = N(!0), B = N(!1), P = N(!1), p = [], w = N(0), V = N(!1);
9468
+ let z = null, O = null, T;
9469
+ const H = u(() => ({
9470
9470
  activeClass: e.activeClass,
9471
9471
  activeColor: e.activeColor,
9472
9472
  activeBgColor: e.activeBgColor,
@@ -9478,22 +9478,22 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9478
9478
  narrowIndicator: e.narrowIndicator,
9479
9479
  inlineLabel: e.inlineLabel,
9480
9480
  noCaps: e.noCaps
9481
- })), O = u(() => {
9482
- const Q = w.value, oe = q.value;
9481
+ })), M = u(() => {
9482
+ const Q = w.value, oe = S.value;
9483
9483
  for (let de = 0; de < Q; de++)
9484
9484
  if (p[de].name.value === oe)
9485
9485
  return !0;
9486
9486
  return !1;
9487
- }), T = u(() => `q-tabs__content--align-${x.value === !0 ? "left" : P.value === !0 ? "justify" : e.align}`), V = u(
9488
- () => `q-tabs row no-wrap items-center q-tabs--${x.value === !0 ? "" : "not-"}scrollable q-tabs--${e.vertical === !0 ? "vertical" : "horizontal"} q-tabs__arrows--${e.outsideArrows === !0 ? "outside" : "inside"} q-tabs--mobile-with${e.mobileArrows === !0 ? "" : "out"}-arrows` + (e.dense === !0 ? " q-tabs--dense" : "") + (e.shrink === !0 ? " col-shrink" : "") + (e.stretch === !0 ? " self-stretch" : "")
9487
+ }), x = u(() => `q-tabs__content--align-${q.value === !0 ? "left" : P.value === !0 ? "justify" : e.align}`), E = u(
9488
+ () => `q-tabs row no-wrap items-center q-tabs--${q.value === !0 ? "" : "not-"}scrollable q-tabs--${e.vertical === !0 ? "vertical" : "horizontal"} q-tabs__arrows--${e.outsideArrows === !0 ? "outside" : "inside"} q-tabs--mobile-with${e.mobileArrows === !0 ? "" : "out"}-arrows` + (e.dense === !0 ? " q-tabs--dense" : "") + (e.shrink === !0 ? " col-shrink" : "") + (e.stretch === !0 ? " self-stretch" : "")
9489
9489
  ), A = u(
9490
- () => "q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position " + T.value + (e.contentClass !== void 0 ? ` ${e.contentClass}` : "")
9491
- ), F = u(() => e.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), z = u(() => e.vertical !== !0 && a.lang.rtl === !0), G = u(() => Bn === !1 && z.value === !0);
9492
- ue(z, S), ue(() => e.modelValue, (Q) => {
9490
+ () => "q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position " + x.value + (e.contentClass !== void 0 ? ` ${e.contentClass}` : "")
9491
+ ), F = u(() => e.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), j = u(() => e.vertical !== !0 && a.lang.rtl === !0), G = u(() => Bn === !1 && j.value === !0);
9492
+ ue(j, k), ue(() => e.modelValue, (Q) => {
9493
9493
  R({ name: Q, setCurrent: !0, skipEmit: !0 });
9494
9494
  }), ue(() => e.outsideArrows, D);
9495
9495
  function R({ name: Q, setCurrent: oe, skipEmit: de }) {
9496
- q.value !== Q && (de !== !0 && e["onUpdate:modelValue"] !== void 0 && l("update:modelValue", Q), (oe === !0 || e["onUpdate:modelValue"] === void 0) && (be(q.value, Q), q.value = Q));
9496
+ S.value !== Q && (de !== !0 && e["onUpdate:modelValue"] !== void 0 && l("update:modelValue", Q), (oe === !0 || e["onUpdate:modelValue"] === void 0) && (be(S.value, Q), S.value = Q));
9497
9497
  }
9498
9498
  function D() {
9499
9499
  o(() => {
@@ -9513,7 +9513,7 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9513
9513
  0
9514
9514
  )
9515
9515
  ), Ee = oe > 0 && de > oe;
9516
- x.value = Ee, Ee === !0 && i(S), P.value = oe < parseInt(e.breakpoint, 10);
9516
+ q.value = Ee, Ee === !0 && i(k), P.value = oe < parseInt(e.breakpoint, 10);
9517
9517
  }
9518
9518
  function be(Q, oe) {
9519
9519
  const de = Q != null && Q !== "" ? p.find((Me) => Me.name.value === Q) : null, Ee = oe != null && oe !== "" ? p.find((Me) => Me.name.value === oe) : null;
@@ -9521,33 +9521,33 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9521
9521
  ze = !1;
9522
9522
  else if (de && Ee) {
9523
9523
  const Me = de.tabIndicatorRef.value, he = Ee.tabIndicatorRef.value;
9524
- H !== null && (clearTimeout(H), H = null), Me.style.transition = "none", Me.style.transform = "none", he.style.transition = "none", he.style.transform = "none";
9524
+ z !== null && (clearTimeout(z), z = null), Me.style.transition = "none", Me.style.transform = "none", he.style.transition = "none", he.style.transform = "none";
9525
9525
  const we = Me.getBoundingClientRect(), Ve = he.getBoundingClientRect();
9526
9526
  he.style.transform = e.vertical === !0 ? `translate3d(0,${we.top - Ve.top}px,0) scale3d(1,${Ve.height ? we.height / Ve.height : 1},1)` : `translate3d(${we.left - Ve.left}px,0,0) scale3d(${Ve.width ? we.width / Ve.width : 1},1,1)`, r(() => {
9527
- H = setTimeout(() => {
9528
- H = null, he.style.transition = "transform .25s cubic-bezier(.4, 0, .2, 1)", he.style.transform = "none";
9527
+ z = setTimeout(() => {
9528
+ z = null, he.style.transition = "transform .25s cubic-bezier(.4, 0, .2, 1)", he.style.transform = "none";
9529
9529
  }, 70);
9530
9530
  });
9531
9531
  }
9532
- Ee && x.value === !0 && C(Ee.rootRef.value);
9532
+ Ee && q.value === !0 && C(Ee.rootRef.value);
9533
9533
  }
9534
9534
  function C(Q) {
9535
9535
  const { left: oe, width: de, top: Ee, height: Me } = g.value.getBoundingClientRect(), he = Q.getBoundingClientRect();
9536
9536
  let we = e.vertical === !0 ? he.top - Ee : he.left - oe;
9537
9537
  if (we < 0) {
9538
- g.value[e.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(we), S();
9538
+ g.value[e.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(we), k();
9539
9539
  return;
9540
9540
  }
9541
- we += e.vertical === !0 ? he.height - Me : he.width - de, we > 0 && (g.value[e.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(we), S());
9541
+ we += e.vertical === !0 ? he.height - Me : he.width - de, we > 0 && (g.value[e.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(we), k());
9542
9542
  }
9543
- function S() {
9543
+ function k() {
9544
9544
  const Q = g.value;
9545
9545
  if (Q === null) return;
9546
9546
  const oe = Q.getBoundingClientRect(), de = e.vertical === !0 ? Q.scrollTop : Math.abs(Q.scrollLeft);
9547
- z.value === !0 ? (y.value = Math.ceil(de + oe.width) < Q.scrollWidth - 1, E.value = de > 0) : (y.value = de > 0, E.value = e.vertical === !0 ? Math.ceil(de + oe.height) < Q.scrollHeight : Math.ceil(de + oe.width) < Q.scrollWidth);
9547
+ j.value === !0 ? (y.value = Math.ceil(de + oe.width) < Q.scrollWidth - 1, B.value = de > 0) : (y.value = de > 0, B.value = e.vertical === !0 ? Math.ceil(de + oe.height) < Q.scrollHeight : Math.ceil(de + oe.width) < Q.scrollWidth);
9548
9548
  }
9549
9549
  function Y(Q) {
9550
- M !== null && clearInterval(M), M = setInterval(() => {
9550
+ O !== null && clearInterval(O), O = setInterval(() => {
9551
9551
  U(Q) === !0 && te();
9552
9552
  }, 5);
9553
9553
  }
@@ -9558,7 +9558,7 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9558
9558
  Y(G.value === !0 ? 0 : Number.MAX_SAFE_INTEGER);
9559
9559
  }
9560
9560
  function te() {
9561
- M !== null && (clearInterval(M), M = null);
9561
+ O !== null && (clearInterval(O), O = null);
9562
9562
  }
9563
9563
  function $(Q, oe) {
9564
9564
  const de = Array.prototype.filter.call(
@@ -9572,7 +9572,7 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9572
9572
  return C(de[Ee - 1]), de[Ee - 1].focus(), !0;
9573
9573
  const Me = Q === (e.vertical === !0 ? 38 : 37), he = Q === (e.vertical === !0 ? 40 : 39), we = Me === !0 ? -1 : he === !0 ? 1 : void 0;
9574
9574
  if (we !== void 0) {
9575
- const Ve = z.value === !0 ? -1 : 1, je = de.indexOf(oe) + we * Ve;
9575
+ const Ve = j.value === !0 ? -1 : 1, je = de.indexOf(oe) + we * Ve;
9576
9576
  return je >= 0 && je < Ee && (C(de[je]), de[je].focus({ preventScroll: !0 })), !0;
9577
9577
  }
9578
9578
  }
@@ -9587,7 +9587,7 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9587
9587
  const oe = g.value, { get: de, set: Ee } = ke.value;
9588
9588
  let Me = !1, he = de(oe);
9589
9589
  const we = Q < he ? -1 : 1;
9590
- return he += we * 5, he < 0 ? (Me = !0, he = 0) : (we === -1 && he <= Q || we === 1 && he >= Q) && (Me = !0, he = Q), Ee(oe, he), S(), Me;
9590
+ return he += we * 5, he < 0 ? (Me = !0, he = 0) : (we === -1 && he <= Q || we === 1 && he >= Q) && (Me = !0, he = Q), Ee(oe, he), k(), Me;
9591
9591
  }
9592
9592
  function Ie(Q, oe) {
9593
9593
  for (const de in Q)
@@ -9630,50 +9630,50 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9630
9630
  continue;
9631
9631
  Se.hrefLen > oe.hrefLen && (Q = we.name.value, oe = Se);
9632
9632
  }
9633
- if (Q === null && p.some((we) => we.routeData === void 0 && we.name.value === q.value) === !0) {
9633
+ if (Q === null && p.some((we) => we.routeData === void 0 && we.name.value === S.value) === !0) {
9634
9634
  ze = !1;
9635
9635
  return;
9636
9636
  }
9637
9637
  R({ name: Q, setCurrent: !0 });
9638
9638
  }
9639
9639
  function Oe(Q) {
9640
- if (d(), B.value !== !0 && b.value !== null && Q.target && typeof Q.target.closest == "function") {
9640
+ if (d(), V.value !== !0 && b.value !== null && Q.target && typeof Q.target.closest == "function") {
9641
9641
  const oe = Q.target.closest(".q-tab");
9642
- oe && b.value.contains(oe) === !0 && (B.value = !0, x.value === !0 && C(oe));
9642
+ oe && b.value.contains(oe) === !0 && (V.value = !0, q.value === !0 && C(oe));
9643
9643
  }
9644
9644
  }
9645
9645
  function Ze() {
9646
9646
  c(() => {
9647
- B.value = !1;
9647
+ V.value = !1;
9648
9648
  }, 30);
9649
9649
  }
9650
9650
  function nt() {
9651
9651
  kt.avoidRouteWatcher === !1 ? s(qe) : v();
9652
9652
  }
9653
9653
  function ct() {
9654
- if (k === void 0) {
9654
+ if (T === void 0) {
9655
9655
  const Q = ue(() => t.$route.fullPath, nt);
9656
- k = () => {
9657
- Q(), k = void 0;
9656
+ T = () => {
9657
+ Q(), T = void 0;
9658
9658
  };
9659
9659
  }
9660
9660
  }
9661
9661
  function lt(Q) {
9662
9662
  p.push(Q), w.value++, D(), Q.routeData === void 0 || t.$route === void 0 ? s(() => {
9663
- if (x.value === !0) {
9664
- const oe = q.value, de = oe != null && oe !== "" ? p.find((Ee) => Ee.name.value === oe) : null;
9663
+ if (q.value === !0) {
9664
+ const oe = S.value, de = oe != null && oe !== "" ? p.find((Ee) => Ee.name.value === oe) : null;
9665
9665
  de && C(de.rootRef.value);
9666
9666
  }
9667
9667
  }) : (ct(), Q.routeData.hasRouterLink.value === !0 && nt());
9668
9668
  }
9669
9669
  function Ke(Q) {
9670
- p.splice(p.indexOf(Q), 1), w.value--, D(), k !== void 0 && Q.routeData !== void 0 && (p.every((oe) => oe.routeData === void 0) === !0 && k(), nt());
9670
+ p.splice(p.indexOf(Q), 1), w.value--, D(), T !== void 0 && Q.routeData !== void 0 && (p.every((oe) => oe.routeData === void 0) === !0 && T(), nt());
9671
9671
  }
9672
9672
  const kt = {
9673
- currentModel: q,
9674
- tabProps: j,
9675
- hasFocus: B,
9676
- hasActiveTab: O,
9673
+ currentModel: S,
9674
+ tabProps: H,
9675
+ hasFocus: V,
9676
+ hasActiveTab: M,
9677
9677
  registerTab: lt,
9678
9678
  unregisterTab: Ke,
9679
9679
  verifyRouteModel: nt,
@@ -9684,16 +9684,16 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9684
9684
  };
9685
9685
  Tr(mo, kt);
9686
9686
  function Mt() {
9687
- H !== null && clearTimeout(H), te(), k == null || k();
9687
+ z !== null && clearTimeout(z), te(), T == null || T();
9688
9688
  }
9689
9689
  let dt, ze;
9690
9690
  return Ye(Mt), Vn(() => {
9691
- dt = k !== void 0, Mt();
9691
+ dt = T !== void 0, Mt();
9692
9692
  }), jl(() => {
9693
9693
  dt === !0 && (ct(), ze = !0, nt()), D();
9694
9694
  }), () => m("div", {
9695
9695
  ref: b,
9696
- class: V.value,
9696
+ class: E.value,
9697
9697
  role: "tablist",
9698
9698
  onFocusin: Oe,
9699
9699
  onFocusout: Ze
@@ -9702,7 +9702,7 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9702
9702
  m("div", {
9703
9703
  ref: g,
9704
9704
  class: A.value,
9705
- onScroll: S
9705
+ onScroll: k
9706
9706
  }, et(n.default)),
9707
9707
  m(Xe, {
9708
9708
  class: "q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon" + (y.value === !0 ? "" : " q-tabs__arrow--faded"),
@@ -9714,7 +9714,7 @@ const uc = ["left", "center", "right", "justify"], sc = Be({
9714
9714
  onTouchendPassive: te
9715
9715
  }),
9716
9716
  m(Xe, {
9717
- class: "q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon" + (E.value === !0 ? "" : " q-tabs__arrow--faded"),
9717
+ class: "q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon" + (B.value === !0 ? "" : " q-tabs__arrow--faded"),
9718
9718
  name: e.rightIcon || a.iconSet.tabs[e.vertical === !0 ? "down" : "right"],
9719
9719
  onMousedownPassive: ne,
9720
9720
  onTouchstartPassive: ne,
@@ -9756,18 +9756,18 @@ function vc(e, n, l, t) {
9756
9756
  ), b = u(
9757
9757
  () => "q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable " + (a.tabProps.value.inlineLabel === !0 ? "row no-wrap q-tab__content--inline" : "column") + (e.contentClass !== void 0 ? ` ${e.contentClass}` : "")
9758
9758
  ), g = u(() => e.disable === !0 || a.hasFocus.value === !0 || s.value === !1 && a.hasActiveTab.value === !0 ? -1 : e.tabindex || 0);
9759
- function q(p, w) {
9760
- var B;
9761
- if (w !== !0 && (p == null ? void 0 : p.qAvoidFocus) !== !0 && ((B = i.value) == null || B.focus()), e.disable !== !0) {
9759
+ function S(p, w) {
9760
+ var V;
9761
+ if (w !== !0 && (p == null ? void 0 : p.qAvoidFocus) !== !0 && ((V = i.value) == null || V.focus()), e.disable !== !0) {
9762
9762
  a.updateModel({ name: e.name }), l("click", p);
9763
9763
  return;
9764
9764
  }
9765
9765
  }
9766
- function x(p) {
9767
- Lt(p, [13, 32]) ? q(p, !0) : rl(p) !== !0 && p.keyCode >= 35 && p.keyCode <= 40 && p.altKey !== !0 && p.metaKey !== !0 && a.onKbdNavigate(p.keyCode, o.$el) === !0 && Qe(p), l("keydown", p);
9766
+ function q(p) {
9767
+ Lt(p, [13, 32]) ? S(p, !0) : rl(p) !== !0 && p.keyCode >= 35 && p.keyCode <= 40 && p.altKey !== !0 && p.metaKey !== !0 && a.onKbdNavigate(p.keyCode, o.$el) === !0 && Qe(p), l("keydown", p);
9768
9768
  }
9769
9769
  function y() {
9770
- const p = a.tabProps.value.narrowIndicator, w = [], B = m("div", {
9770
+ const p = a.tabProps.value.narrowIndicator, w = [], V = m("div", {
9771
9771
  ref: c,
9772
9772
  class: [
9773
9773
  "q-tab__indicator",
@@ -9789,38 +9789,38 @@ function vc(e, n, l, t) {
9789
9789
  }) : m("div", {
9790
9790
  class: "q-tab__alert" + (e.alert !== !0 ? ` text-${e.alert}` : "")
9791
9791
  })
9792
- ), p === !0 && w.push(B);
9793
- const H = [
9792
+ ), p === !0 && w.push(V);
9793
+ const z = [
9794
9794
  m("div", { class: "q-focus-helper", tabindex: -1, ref: i }),
9795
9795
  m("div", { class: b.value }, Qt(n.default, w))
9796
9796
  ];
9797
- return p === !1 && H.push(B), H;
9797
+ return p === !1 && z.push(V), z;
9798
9798
  }
9799
- const E = {
9799
+ const B = {
9800
9800
  name: u(() => e.name),
9801
9801
  rootRef: r,
9802
9802
  tabIndicatorRef: c,
9803
9803
  routeData: t
9804
9804
  };
9805
9805
  Ye(() => {
9806
- a.unregisterTab(E);
9806
+ a.unregisterTab(B);
9807
9807
  }), Ct(() => {
9808
- a.registerTab(E);
9808
+ a.registerTab(B);
9809
9809
  });
9810
9810
  function P(p, w) {
9811
- const B = {
9811
+ const V = {
9812
9812
  ref: r,
9813
9813
  class: v.value,
9814
9814
  tabindex: g.value,
9815
9815
  role: "tab",
9816
9816
  "aria-selected": s.value === !0 ? "true" : "false",
9817
9817
  "aria-disabled": e.disable === !0 ? "true" : void 0,
9818
- onClick: q,
9819
- onKeydown: x,
9818
+ onClick: S,
9819
+ onKeydown: q,
9820
9820
  ...w
9821
9821
  };
9822
9822
  return Yt(
9823
- m(p, B, y()),
9823
+ m(p, V, y()),
9824
9824
  [[Gl, d.value]]
9825
9825
  );
9826
9826
  }
@@ -9852,56 +9852,64 @@ const mc = Be({
9852
9852
  l.schema,
9853
9853
  { label: l.label }
9854
9854
  ), r = _t(l.path), c = ht(), d = u(() => {
9855
- const k = l.schema["x-quasar-props"] || {};
9856
- return { ...l.schema["x-component-props"] || {}, ...k };
9855
+ const H = l.schema["x-quasar-props"] || {};
9856
+ return { ...l.schema["x-component-props"] || {}, ...H };
9857
9857
  }), s = u(() => l.schema.oneOf || l.schema.anyOf || []), v = N(0);
9858
9858
  Ct(() => {
9859
9859
  if (t.value) {
9860
- const k = s.value.findIndex((j) => lr.validate(j, t.value).valid);
9861
- k !== -1 && (v.value = k);
9860
+ const H = s.value.findIndex((M) => lr.validate(M, t.value).valid);
9861
+ H !== -1 && (v.value = H);
9862
9862
  }
9863
9863
  });
9864
9864
  const b = u(() => s.value[v.value]), g = u(() => {
9865
- const k = b.value;
9866
- return !k || !k.properties ? [] : Object.entries(k.properties).map(([j, O]) => ({
9867
- key: j,
9868
- schema: O,
9869
- path: l.path ? `${l.path}.${j}` : j
9865
+ const H = b.value;
9866
+ return !H || !H.properties ? [] : Object.entries(H.properties).map(([M, x]) => ({
9867
+ key: M,
9868
+ schema: x,
9869
+ path: l.path ? `${l.path}.${M}` : M
9870
9870
  }));
9871
+ }), S = u(() => {
9872
+ const H = b.value;
9873
+ return H && H.properties && !H.oneOf && !H.anyOf && !H.allOf;
9871
9874
  }), q = u(() => {
9872
- const k = b.value;
9873
- return k && k.properties && !k.oneOf && !k.anyOf && !k.allOf;
9874
- }), x = u(() => {
9875
- const k = l.schema["x-oneof-style"];
9876
- return k || (s.value.length <= 4 ? "tabs" : "dropdown");
9877
- }), y = (k, j) => {
9878
- const O = l.schema["x-oneof-labels"];
9879
- return O && O[j] ? O[j] : k.title || `Option ${j + 1}`;
9880
- }, E = u(() => s.value.map((k, j) => ({
9881
- label: y(k, j),
9882
- value: j
9883
- }))), P = N(E.value);
9884
- ue(E, (k) => {
9885
- P.value = k;
9875
+ var x, E;
9876
+ const H = l.schema["x-oneof-style"];
9877
+ if (H)
9878
+ return H;
9879
+ const M = (E = (x = c == null ? void 0 : c.componentDefaults) == null ? void 0 : x.oneOf) == null ? void 0 : E.displayStyle;
9880
+ return M || (s.value.length <= 4 ? "tabs" : "dropdown");
9881
+ }), y = (H, M) => {
9882
+ const x = l.schema["x-oneof-labels"];
9883
+ return x && x[M] ? x[M] : H.title || `Option ${M + 1}`;
9884
+ }, B = u(() => s.value.map((H, M) => ({
9885
+ label: y(H, M),
9886
+ value: M
9887
+ }))), P = u(() => {
9888
+ var M, x;
9889
+ const H = l.schema["x-oneof-select-label"];
9890
+ return H || ((x = (M = c == null ? void 0 : c.componentDefaults) == null ? void 0 : M.oneOf) == null ? void 0 : x.selectLabel) || "Select Option";
9891
+ }), p = N(B.value);
9892
+ ue(B, (H) => {
9893
+ p.value = H;
9886
9894
  }, { immediate: !0 });
9887
- const p = u(() => {
9888
- var j, O;
9889
- const k = l.schema["x-component-props"];
9890
- return (k == null ? void 0 : k.autocomplete) !== void 0 ? k.autocomplete : ((O = (j = c == null ? void 0 : c.componentDefaults) == null ? void 0 : j.select) == null ? void 0 : O.autocomplete) !== void 0 ? c.componentDefaults.select.autocomplete : !0;
9891
- }), w = (k, j) => {
9892
- j(() => {
9893
- if (k === "")
9894
- P.value = E.value;
9895
+ const w = u(() => {
9896
+ var M, x;
9897
+ const H = l.schema["x-component-props"];
9898
+ return (H == null ? void 0 : H.autocomplete) !== void 0 ? H.autocomplete : ((x = (M = c == null ? void 0 : c.componentDefaults) == null ? void 0 : M.select) == null ? void 0 : x.autocomplete) !== void 0 ? c.componentDefaults.select.autocomplete : !0;
9899
+ }), V = (H, M) => {
9900
+ M(() => {
9901
+ if (H === "")
9902
+ p.value = B.value;
9895
9903
  else {
9896
- const O = k.toLowerCase();
9897
- P.value = E.value.filter(
9898
- (T) => T.label.toLowerCase().includes(O)
9904
+ const x = H.toLowerCase();
9905
+ p.value = B.value.filter(
9906
+ (E) => E.label.toLowerCase().includes(x)
9899
9907
  );
9900
9908
  }
9901
9909
  });
9902
- }, B = (k) => {
9903
- v.value = k;
9904
- }, H = u(() => gt(c == null ? void 0 : c.componentDefaults)), M = { props: l, value: t, label: a, hint: o, errorMessage: i, fieldId: r, formContext: c, quasarProps: d, options: s, selectedIndex: v, activeSchema: b, activeProperties: g, shouldRenderPropertiesInline: q, displayStyle: x, getOptionLabel: y, allSelectOptions: E, filteredOptions: P, useFilter: p, filterFn: w, handleOptionChange: B, fieldGap: H, get QCard() {
9910
+ }, z = (H) => {
9911
+ v.value = H;
9912
+ }, O = u(() => gt(c == null ? void 0 : c.componentDefaults)), T = { props: l, value: t, label: a, hint: o, errorMessage: i, fieldId: r, formContext: c, quasarProps: d, options: s, selectedIndex: v, activeSchema: b, activeProperties: g, shouldRenderPropertiesInline: S, displayStyle: q, getOptionLabel: y, allSelectOptions: B, selectLabel: P, filteredOptions: p, useFilter: w, filterFn: V, handleOptionChange: z, fieldGap: O, get QCard() {
9905
9913
  return ia;
9906
9914
  }, get QCardSection() {
9907
9915
  return nr;
@@ -9914,7 +9922,7 @@ const mc = Be({
9914
9922
  }, get FieldRenderer() {
9915
9923
  return tl;
9916
9924
  } };
9917
- return Object.defineProperty(M, "__isScriptSetup", { enumerable: !1, value: !0 }), M;
9925
+ return Object.defineProperty(T, "__isScriptSetup", { enumerable: !1, value: !0 }), T;
9918
9926
  }
9919
9927
  }), gc = {
9920
9928
  key: 0,
@@ -10035,7 +10043,7 @@ function kc(e, n, l, t, a, o) {
10035
10043
  t.handleOptionChange
10036
10044
  ],
10037
10045
  options: t.filteredOptions,
10038
- label: "Select Option",
10046
+ label: t.selectLabel,
10039
10047
  disable: l.disabled || l.readonly,
10040
10048
  "use-input": t.useFilter,
10041
10049
  "input-debounce": 0,
@@ -10046,7 +10054,7 @@ function kc(e, n, l, t, a, o) {
10046
10054
  "emit-value": "",
10047
10055
  "map-options": "",
10048
10056
  onFilter: t.filterFn
10049
- }, t.quasarProps), null, 16, ["modelValue", "options", "disable", "use-input", "fill-input", "hide-selected"]),
10057
+ }, t.quasarProps), null, 16, ["modelValue", "options", "label", "disable", "use-input", "fill-input", "hide-selected"]),
10050
10058
  He("div", wc, [
10051
10059
  ve(" Render object properties directly to avoid nested expansion panel "),
10052
10060
  t.shouldRenderPropertiesInline ? (re(!0), ce(