@quickflo/quickforms-quasar 1.16.6 → 1.16.7

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
@@ -503,24 +503,24 @@ function Cy(i, e) {
503
503
  const k = ++l, v = e.value !== !0 ? () => {
504
504
  s.value = !0;
505
505
  } : () => {
506
- }, x = (B, q) => {
507
- B === !0 && v(), r.value = B, o.value = q || null, e.value = !1;
506
+ }, x = (E, D) => {
507
+ E === !0 && v(), r.value = E, o.value = D || null, e.value = !1;
508
508
  }, C = [];
509
- for (let B = 0; B < t.rules.length; B++) {
510
- const q = t.rules[B];
511
- let V;
512
- if (typeof q == "function" ? V = q(y, da) : typeof q == "string" && da[q] !== void 0 && (V = da[q](y)), V === !1 || typeof V == "string")
513
- return x(!0, V), !1;
514
- V !== !0 && V !== void 0 && C.push(V);
509
+ for (let E = 0; E < t.rules.length; E++) {
510
+ const D = t.rules[E];
511
+ let F;
512
+ if (typeof D == "function" ? F = D(y, da) : typeof D == "string" && da[D] !== void 0 && (F = da[D](y)), F === !1 || typeof F == "string")
513
+ return x(!0, F), !1;
514
+ F !== !0 && F !== void 0 && C.push(F);
515
515
  }
516
516
  return C.length === 0 ? (x(!1), !0) : (e.value = !0, Promise.all(C).then(
517
- (B) => {
518
- if (B === void 0 || Array.isArray(B) === !1 || B.length === 0)
517
+ (E) => {
518
+ if (E === void 0 || Array.isArray(E) === !1 || E.length === 0)
519
519
  return k === l && x(!1), !0;
520
- const q = B.find((V) => V === !1 || typeof V == "string");
521
- return k === l && x(q !== void 0, q), q === void 0;
520
+ const D = E.find((F) => F === !1 || typeof F == "string");
521
+ return k === l && x(D !== void 0, D), D === void 0;
522
522
  },
523
- (B) => (k === l && (console.error(B), x(!0)), !1)
523
+ (E) => (k === l && (console.error(E), x(!0)), !1)
524
524
  ));
525
525
  }
526
526
  const g = Mm(p, 0);
@@ -711,13 +711,13 @@ function dc(i) {
711
711
  i.hasValue === void 0 && (i.hasValue = b(() => xo(e.modelValue))), i.emitValue === void 0 && (i.emitValue = (N) => {
712
712
  t("update:modelValue", N);
713
713
  }), i.controlEvents === void 0 && (i.controlEvents = {
714
- onFocusin: I,
715
- onFocusout: E
714
+ onFocusin: V,
715
+ onFocusout: B
716
716
  }), Object.assign(i, {
717
717
  clearValue: P,
718
- onControlFocusin: I,
719
- onControlFocusout: E,
720
- focus: q
718
+ onControlFocusin: V,
719
+ onControlFocusout: B,
720
+ focus: D
721
721
  }), i.computedCounter === void 0 && (i.computedCounter = b(() => {
722
722
  if (e.counter !== !1) {
723
723
  const N = typeof e.modelValue == "string" || typeof e.modelValue == "number" ? ("" + e.modelValue).length : Array.isArray(e.modelValue) === !0 ? e.modelValue.length : 0, K = e.maxlength !== void 0 ? e.maxlength : e.maxValues;
@@ -751,24 +751,24 @@ function dc(i) {
751
751
  const N = {};
752
752
  return i.targetUid.value && (N.for = i.targetUid.value), e.disable === !0 && (N["aria-disabled"] = "true"), N;
753
753
  });
754
- function B() {
754
+ function E() {
755
755
  var Y;
756
756
  const N = document.activeElement;
757
757
  let K = (Y = i.targetRef) == null ? void 0 : Y.value;
758
758
  K && (N === null || N.id !== i.targetUid.value) && (K.hasAttribute("tabindex") === !0 || (K = K.querySelector("[tabindex]")), K !== N && (K == null || K.focus({ preventScroll: !0 })));
759
759
  }
760
- function q() {
761
- Il(B);
760
+ function D() {
761
+ Il(E);
762
762
  }
763
- function V() {
764
- Ty(B);
763
+ function F() {
764
+ Ty(E);
765
765
  const N = document.activeElement;
766
766
  N !== null && i.rootRef.value.contains(N) && N.blur();
767
767
  }
768
- function I(N) {
768
+ function V(N) {
769
769
  l !== null && (clearTimeout(l), l = null), i.editable.value === !0 && i.focused.value === !1 && (i.focused.value = !0, t("focus", N));
770
770
  }
771
- function E(N, K) {
771
+ function B(N, K) {
772
772
  l !== null && clearTimeout(l), l = setTimeout(() => {
773
773
  l = null, !(document.hasFocus() === !0 && (i.hasPopupOpen === !0 || i.controlRef === void 0 || i.controlRef.value === null || i.controlRef.value.contains(document.activeElement) !== !1)) && (i.focused.value === !0 && (i.focused.value = !1, t("blur", N)), K == null || K());
774
774
  });
@@ -783,7 +783,7 @@ function dc(i) {
783
783
  function R(N) {
784
784
  [13, 32].includes(N.keyCode) && P(N);
785
785
  }
786
- function w() {
786
+ function T() {
787
787
  const N = [];
788
788
  return n.prepend !== void 0 && N.push(
789
789
  O("div", {
@@ -794,7 +794,7 @@ function dc(i) {
794
794
  ), N.push(
795
795
  O("div", {
796
796
  class: "q-field__control-container col relative-position row no-wrap q-anchor--skip"
797
- }, M())
797
+ }, w())
798
798
  ), c.value === !0 && e.noErrorIcon === !1 && N.push(
799
799
  H("error", [
800
800
  O(kt, { name: s.iconSet.field.error, color: "negative" })
@@ -829,7 +829,7 @@ function dc(i) {
829
829
  i.getControlChild()
830
830
  ), N;
831
831
  }
832
- function M() {
832
+ function w() {
833
833
  const N = [];
834
834
  return e.prefix !== void 0 && e.prefix !== null && N.push(
835
835
  O("div", {
@@ -855,12 +855,12 @@ function dc(i) {
855
855
  }, e.suffix)
856
856
  ), N.concat(qt(n.default));
857
857
  }
858
- function D() {
858
+ function A() {
859
859
  let N, K;
860
860
  c.value === !0 ? h.value !== null ? (N = [O("div", { role: "alert" }, h.value)], K = `q--slot-error-${h.value}`) : (N = qt(n.error), K = "q--slot-error") : (e.hideHint !== !0 || i.focused.value === !0) && (e.hint !== void 0 ? (N = [O("div", e.hint)], K = `q--slot-hint-${e.hint}`) : (N = qt(n.hint), K = "q--slot-hint"));
861
861
  const Y = e.counter === !0 || n.counter !== void 0;
862
862
  if (e.hideBottomSpace === !0 && Y === !1 && N === void 0) return;
863
- const A = O("div", {
863
+ const M = O("div", {
864
864
  key: K,
865
865
  class: "q-field__messages col"
866
866
  }, N);
@@ -868,7 +868,7 @@ function dc(i) {
868
868
  class: "q-field__bottom row items-start q-field__bottom--" + (e.hideBottomSpace !== !0 ? "animated" : "stale"),
869
869
  onClick: Zt
870
870
  }, [
871
- e.hideBottomSpace === !0 ? A : O(fi, { name: "q-transition--field-message" }, () => A),
871
+ e.hideBottomSpace === !0 ? M : O(fi, { name: "q-transition--field-message" }, () => M),
872
872
  Y === !0 ? O("div", {
873
873
  class: "q-field__counter"
874
874
  }, n.counter !== void 0 ? n.counter() : i.computedCounter.value) : null
@@ -880,16 +880,16 @@ function dc(i) {
880
880
  class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
881
881
  }, K);
882
882
  }
883
- let F = !1;
883
+ let I = !1;
884
884
  return No(() => {
885
- F = !0;
885
+ I = !0;
886
886
  }), lc(() => {
887
- F === !0 && e.autofocus === !0 && o.focus();
887
+ I === !0 && e.autofocus === !0 && o.focus();
888
888
  }), e.autofocus === !0 && Si(() => {
889
889
  o.focus();
890
890
  }), ht(() => {
891
891
  l !== null && clearTimeout(l);
892
- }), Object.assign(o, { focus: q, blur: V }), function() {
892
+ }), Object.assign(o, { focus: D, blur: F }), function() {
893
893
  const K = i.getControl === void 0 && n.control === void 0 ? {
894
894
  ...i.splitAttrs.attributes.value,
895
895
  "data-autofocus": e.autofocus === !0 || void 0,
@@ -916,8 +916,8 @@ function dc(i) {
916
916
  class: y.value,
917
917
  tabindex: -1,
918
918
  ...i.controlEvents
919
- }, w()),
920
- m.value === !0 ? D() : null
919
+ }, T()),
920
+ m.value === !0 ? A() : null
921
921
  ]),
922
922
  n.after !== void 0 ? O("div", {
923
923
  class: "q-field__after q-field__marginal row no-wrap items-center",
@@ -976,9 +976,9 @@ function By(i, e, t, n) {
976
976
  tokenMap: kh,
977
977
  tokenRegexMask: Py
978
978
  };
979
- const { tokenMap: E } = Om(i.maskTokens), P = {
979
+ const { tokenMap: B } = Om(i.maskTokens), P = {
980
980
  ...kh,
981
- ...E
981
+ ...B
982
982
  };
983
983
  return {
984
984
  tokenMap: P,
@@ -988,11 +988,11 @@ function By(i, e, t, n) {
988
988
  function d() {
989
989
  return i.autogrow === !0 || ["textarea", "text", "search", "url", "tel", "password"].includes(i.type);
990
990
  }
991
- ye(() => i.type + i.autogrow, g), ye(() => i.mask, (E) => {
992
- if (E !== void 0)
991
+ ye(() => i.type + i.autogrow, g), ye(() => i.mask, (B) => {
992
+ if (B !== void 0)
993
993
  y(f.value, !0);
994
994
  else {
995
- const P = V(f.value);
995
+ const P = F(f.value);
996
996
  g(), i.modelValue !== P && e("update:modelValue", P);
997
997
  }
998
998
  }), ye(() => i.fillMask + i.reverseFillMask, () => {
@@ -1002,20 +1002,20 @@ function By(i, e, t, n) {
1002
1002
  });
1003
1003
  function m() {
1004
1004
  if (g(), h.value === !0) {
1005
- const E = B(V(i.modelValue));
1006
- return i.fillMask !== !1 ? I(E) : E;
1005
+ const B = E(F(i.modelValue));
1006
+ return i.fillMask !== !1 ? V(B) : B;
1007
1007
  }
1008
1008
  return i.modelValue;
1009
1009
  }
1010
- function p(E) {
1011
- if (E < r.length)
1012
- return r.slice(-E);
1010
+ function p(B) {
1011
+ if (B < r.length)
1012
+ return r.slice(-B);
1013
1013
  let P = "", R = r;
1014
- const w = R.indexOf(yt);
1015
- if (w !== -1) {
1016
- for (let M = E - R.length; M > 0; M--)
1014
+ const T = R.indexOf(yt);
1015
+ if (T !== -1) {
1016
+ for (let w = B - R.length; w > 0; w--)
1017
1017
  P += yt;
1018
- R = R.slice(0, w) + P + R.slice(w);
1018
+ R = R.slice(0, T) + P + R.slice(T);
1019
1019
  }
1020
1020
  return R;
1021
1021
  }
@@ -1024,189 +1024,189 @@ function By(i, e, t, n) {
1024
1024
  l = void 0, r = "", o = "";
1025
1025
  return;
1026
1026
  }
1027
- const E = xh[i.mask] === void 0 ? i.mask : xh[i.mask], P = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", R = P.replace(wh, "\\$&"), w = [], M = [], D = [];
1028
- let H = i.reverseFillMask === !0, F = "", N = "";
1029
- E.replace(c.value.tokenRegexMask, (T, j, J, oe, ce) => {
1027
+ const B = xh[i.mask] === void 0 ? i.mask : xh[i.mask], P = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", R = P.replace(wh, "\\$&"), T = [], w = [], A = [];
1028
+ let H = i.reverseFillMask === !0, I = "", N = "";
1029
+ B.replace(c.value.tokenRegexMask, (q, j, J, oe, ce) => {
1030
1030
  if (oe !== void 0) {
1031
1031
  const se = c.value.tokenMap[oe];
1032
- D.push(se), N = se.negate, H === !0 && (M.push("(?:" + N + "+)?(" + se.pattern + "+)?(?:" + N + "+)?(" + se.pattern + "+)?"), H = !1), M.push("(?:" + N + "+)?(" + se.pattern + ")?");
1032
+ A.push(se), N = se.negate, H === !0 && (w.push("(?:" + N + "+)?(" + se.pattern + "+)?(?:" + N + "+)?(" + se.pattern + "+)?"), H = !1), w.push("(?:" + N + "+)?(" + se.pattern + ")?");
1033
1033
  } else if (J !== void 0)
1034
- F = "\\" + (J === "\\" ? "" : J), D.push(J), w.push("([^" + F + "]+)?" + F + "?");
1034
+ I = "\\" + (J === "\\" ? "" : J), A.push(J), T.push("([^" + I + "]+)?" + I + "?");
1035
1035
  else {
1036
1036
  const se = j !== void 0 ? j : ce;
1037
- F = se === "\\" ? "\\\\\\\\" : se.replace(wh, "\\\\$&"), D.push(se), w.push("([^" + F + "]+)?" + F + "?");
1037
+ I = se === "\\" ? "\\\\\\\\" : se.replace(wh, "\\\\$&"), A.push(se), T.push("([^" + I + "]+)?" + I + "?");
1038
1038
  }
1039
1039
  });
1040
1040
  const K = new RegExp(
1041
- "^" + w.join("") + "(" + (F === "" ? "." : "[^" + F + "]") + "+)?" + (F === "" ? "" : "[" + F + "]*") + "$"
1042
- ), Y = M.length - 1, A = M.map((T, j) => j === 0 && i.reverseFillMask === !0 ? new RegExp("^" + R + "*" + T) : j === Y ? new RegExp(
1043
- "^" + T + "(" + (N === "" ? "." : N) + "+)?" + (i.reverseFillMask === !0 ? "$" : R + "*")
1044
- ) : new RegExp("^" + T));
1045
- s = D, l = (T) => {
1046
- const j = K.exec(i.reverseFillMask === !0 ? T : T.slice(0, D.length + 1));
1047
- j !== null && (T = j.slice(1).join(""));
1048
- const J = [], oe = A.length;
1049
- for (let ce = 0, se = T; ce < oe; ce++) {
1050
- const Be = A[ce].exec(se);
1041
+ "^" + T.join("") + "(" + (I === "" ? "." : "[^" + I + "]") + "+)?" + (I === "" ? "" : "[" + I + "]*") + "$"
1042
+ ), Y = w.length - 1, M = w.map((q, j) => j === 0 && i.reverseFillMask === !0 ? new RegExp("^" + R + "*" + q) : j === Y ? new RegExp(
1043
+ "^" + q + "(" + (N === "" ? "." : N) + "+)?" + (i.reverseFillMask === !0 ? "$" : R + "*")
1044
+ ) : new RegExp("^" + q));
1045
+ s = A, l = (q) => {
1046
+ const j = K.exec(i.reverseFillMask === !0 ? q : q.slice(0, A.length + 1));
1047
+ j !== null && (q = j.slice(1).join(""));
1048
+ const J = [], oe = M.length;
1049
+ for (let ce = 0, se = q; ce < oe; ce++) {
1050
+ const Be = M[ce].exec(se);
1051
1051
  if (Be === null)
1052
1052
  break;
1053
1053
  se = se.slice(Be.shift().length), J.push(...Be);
1054
1054
  }
1055
- return J.length !== 0 ? J.join("") : T;
1056
- }, r = D.map((T) => typeof T == "string" ? T : yt).join(""), o = r.split(yt).join(P);
1055
+ return J.length !== 0 ? J.join("") : q;
1056
+ }, r = A.map((q) => typeof q == "string" ? q : yt).join(""), o = r.split(yt).join(P);
1057
1057
  }
1058
- function y(E, P, R) {
1059
- const w = n.value, M = w.selectionEnd, D = w.value.length - M, H = V(E);
1058
+ function y(B, P, R) {
1059
+ const T = n.value, w = T.selectionEnd, A = T.value.length - w, H = F(B);
1060
1060
  P === !0 && g();
1061
- const F = B(H, P), N = i.fillMask !== !1 ? I(F) : F, K = f.value !== N;
1062
- w.value !== N && (w.value = N), K === !0 && (f.value = N), document.activeElement === w && rt(() => {
1061
+ const I = E(H, P), N = i.fillMask !== !1 ? V(I) : I, K = f.value !== N;
1062
+ T.value !== N && (T.value = N), K === !0 && (f.value = N), document.activeElement === T && rt(() => {
1063
1063
  if (N === o) {
1064
- const A = i.reverseFillMask === !0 ? o.length : 0;
1065
- w.setSelectionRange(A, A, "forward");
1064
+ const M = i.reverseFillMask === !0 ? o.length : 0;
1065
+ T.setSelectionRange(M, M, "forward");
1066
1066
  return;
1067
1067
  }
1068
1068
  if (R === "insertFromPaste" && i.reverseFillMask !== !0) {
1069
- const A = w.selectionEnd;
1070
- let T = M - 1;
1071
- for (let j = a; j <= T && j < A; j++)
1072
- r[j] !== yt && T++;
1073
- v.right(w, T);
1069
+ const M = T.selectionEnd;
1070
+ let q = w - 1;
1071
+ for (let j = a; j <= q && j < M; j++)
1072
+ r[j] !== yt && q++;
1073
+ v.right(T, q);
1074
1074
  return;
1075
1075
  }
1076
1076
  if (["deleteContentBackward", "deleteContentForward"].indexOf(R) !== -1) {
1077
- const A = i.reverseFillMask === !0 ? M === 0 ? N.length > F.length ? 1 : 0 : Math.max(0, N.length - (N === o ? 0 : Math.min(F.length, D) + 1)) + 1 : M;
1078
- w.setSelectionRange(A, A, "forward");
1077
+ const M = i.reverseFillMask === !0 ? w === 0 ? N.length > I.length ? 1 : 0 : Math.max(0, N.length - (N === o ? 0 : Math.min(I.length, A) + 1)) + 1 : w;
1078
+ T.setSelectionRange(M, M, "forward");
1079
1079
  return;
1080
1080
  }
1081
1081
  if (i.reverseFillMask === !0)
1082
1082
  if (K === !0) {
1083
- const A = Math.max(0, N.length - (N === o ? 0 : Math.min(F.length, D + 1)));
1084
- A === 1 && M === 1 ? w.setSelectionRange(A, A, "forward") : v.rightReverse(w, A);
1083
+ const M = Math.max(0, N.length - (N === o ? 0 : Math.min(I.length, A + 1)));
1084
+ M === 1 && w === 1 ? T.setSelectionRange(M, M, "forward") : v.rightReverse(T, M);
1085
1085
  } else {
1086
- const A = N.length - D;
1087
- w.setSelectionRange(A, A, "backward");
1086
+ const M = N.length - A;
1087
+ T.setSelectionRange(M, M, "backward");
1088
1088
  }
1089
1089
  else if (K === !0) {
1090
- const A = Math.max(0, r.indexOf(yt), Math.min(F.length, M) - 1);
1091
- v.right(w, A);
1090
+ const M = Math.max(0, r.indexOf(yt), Math.min(I.length, w) - 1);
1091
+ v.right(T, M);
1092
1092
  } else {
1093
- const A = M - 1;
1094
- v.right(w, A);
1093
+ const M = w - 1;
1094
+ v.right(T, M);
1095
1095
  }
1096
1096
  });
1097
- const Y = i.unmaskedValue === !0 ? V(N) : N;
1097
+ const Y = i.unmaskedValue === !0 ? F(N) : N;
1098
1098
  String(i.modelValue) !== Y && (i.modelValue !== null || Y !== "") && t(Y, !0);
1099
1099
  }
1100
- function k(E, P, R) {
1101
- const w = B(V(E.value));
1102
- P = Math.max(0, r.indexOf(yt), Math.min(w.length, P)), a = P, E.setSelectionRange(P, R, "forward");
1100
+ function k(B, P, R) {
1101
+ const T = E(F(B.value));
1102
+ P = Math.max(0, r.indexOf(yt), Math.min(T.length, P)), a = P, B.setSelectionRange(P, R, "forward");
1103
1103
  }
1104
1104
  const v = {
1105
- left(E, P) {
1105
+ left(B, P) {
1106
1106
  const R = r.slice(P - 1).indexOf(yt) === -1;
1107
- let w = Math.max(0, P - 1);
1108
- for (; w >= 0; w--)
1109
- if (r[w] === yt) {
1110
- P = w, R === !0 && P++;
1107
+ let T = Math.max(0, P - 1);
1108
+ for (; T >= 0; T--)
1109
+ if (r[T] === yt) {
1110
+ P = T, R === !0 && P++;
1111
1111
  break;
1112
1112
  }
1113
- if (w < 0 && r[P] !== void 0 && r[P] !== yt)
1114
- return v.right(E, 0);
1115
- P >= 0 && E.setSelectionRange(P, P, "backward");
1113
+ if (T < 0 && r[P] !== void 0 && r[P] !== yt)
1114
+ return v.right(B, 0);
1115
+ P >= 0 && B.setSelectionRange(P, P, "backward");
1116
1116
  },
1117
- right(E, P) {
1118
- const R = E.value.length;
1119
- let w = Math.min(R, P + 1);
1120
- for (; w <= R; w++)
1121
- if (r[w] === yt) {
1122
- P = w;
1117
+ right(B, P) {
1118
+ const R = B.value.length;
1119
+ let T = Math.min(R, P + 1);
1120
+ for (; T <= R; T++)
1121
+ if (r[T] === yt) {
1122
+ P = T;
1123
1123
  break;
1124
- } else r[w - 1] === yt && (P = w);
1125
- if (w > R && r[P - 1] !== void 0 && r[P - 1] !== yt)
1126
- return v.left(E, R);
1127
- E.setSelectionRange(P, P, "forward");
1124
+ } else r[T - 1] === yt && (P = T);
1125
+ if (T > R && r[P - 1] !== void 0 && r[P - 1] !== yt)
1126
+ return v.left(B, R);
1127
+ B.setSelectionRange(P, P, "forward");
1128
1128
  },
1129
- leftReverse(E, P) {
1130
- const R = p(E.value.length);
1131
- let w = Math.max(0, P - 1);
1132
- for (; w >= 0; w--)
1133
- if (R[w - 1] === yt) {
1134
- P = w;
1129
+ leftReverse(B, P) {
1130
+ const R = p(B.value.length);
1131
+ let T = Math.max(0, P - 1);
1132
+ for (; T >= 0; T--)
1133
+ if (R[T - 1] === yt) {
1134
+ P = T;
1135
1135
  break;
1136
- } else if (R[w] === yt && (P = w, w === 0))
1136
+ } else if (R[T] === yt && (P = T, T === 0))
1137
1137
  break;
1138
- if (w < 0 && R[P] !== void 0 && R[P] !== yt)
1139
- return v.rightReverse(E, 0);
1140
- P >= 0 && E.setSelectionRange(P, P, "backward");
1138
+ if (T < 0 && R[P] !== void 0 && R[P] !== yt)
1139
+ return v.rightReverse(B, 0);
1140
+ P >= 0 && B.setSelectionRange(P, P, "backward");
1141
1141
  },
1142
- rightReverse(E, P) {
1143
- const R = E.value.length, w = p(R), M = w.slice(0, P + 1).indexOf(yt) === -1;
1144
- let D = Math.min(R, P + 1);
1145
- for (; D <= R; D++)
1146
- if (w[D - 1] === yt) {
1147
- P = D, P > 0 && M === !0 && P--;
1142
+ rightReverse(B, P) {
1143
+ const R = B.value.length, T = p(R), w = T.slice(0, P + 1).indexOf(yt) === -1;
1144
+ let A = Math.min(R, P + 1);
1145
+ for (; A <= R; A++)
1146
+ if (T[A - 1] === yt) {
1147
+ P = A, P > 0 && w === !0 && P--;
1148
1148
  break;
1149
1149
  }
1150
- if (D > R && w[P - 1] !== void 0 && w[P - 1] !== yt)
1151
- return v.leftReverse(E, R);
1152
- E.setSelectionRange(P, P, "forward");
1150
+ if (A > R && T[P - 1] !== void 0 && T[P - 1] !== yt)
1151
+ return v.leftReverse(B, R);
1152
+ B.setSelectionRange(P, P, "forward");
1153
1153
  }
1154
1154
  };
1155
- function x(E) {
1156
- e("click", E), u = void 0;
1157
- }
1158
- function C(E) {
1159
- if (e("keydown", E), Fl(E) === !0 || E.altKey === !0) return;
1160
- const P = n.value, R = P.selectionStart, w = P.selectionEnd;
1161
- if (E.shiftKey || (u = void 0), E.keyCode === 37 || E.keyCode === 39) {
1162
- E.shiftKey && u === void 0 && (u = P.selectionDirection === "forward" ? R : w);
1163
- const M = v[(E.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1164
- if (E.preventDefault(), M(P, u === R ? w : R), E.shiftKey) {
1165
- const D = P.selectionStart;
1166
- P.setSelectionRange(Math.min(u, D), Math.max(u, D), "forward");
1167
- }
1168
- } else E.keyCode === 8 && i.reverseFillMask !== !0 && R === w ? (v.left(P, R), P.setSelectionRange(P.selectionStart, w, "backward")) : E.keyCode === 46 && i.reverseFillMask === !0 && R === w && (v.rightReverse(P, w), P.setSelectionRange(R, P.selectionEnd, "forward"));
1169
- }
1170
- function B(E, P) {
1171
- if (E == null || E === "")
1155
+ function x(B) {
1156
+ e("click", B), u = void 0;
1157
+ }
1158
+ function C(B) {
1159
+ if (e("keydown", B), Fl(B) === !0 || B.altKey === !0) return;
1160
+ const P = n.value, R = P.selectionStart, T = P.selectionEnd;
1161
+ if (B.shiftKey || (u = void 0), B.keyCode === 37 || B.keyCode === 39) {
1162
+ B.shiftKey && u === void 0 && (u = P.selectionDirection === "forward" ? R : T);
1163
+ const w = v[(B.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1164
+ if (B.preventDefault(), w(P, u === R ? T : R), B.shiftKey) {
1165
+ const A = P.selectionStart;
1166
+ P.setSelectionRange(Math.min(u, A), Math.max(u, A), "forward");
1167
+ }
1168
+ } else B.keyCode === 8 && i.reverseFillMask !== !0 && R === T ? (v.left(P, R), P.setSelectionRange(P.selectionStart, T, "backward")) : B.keyCode === 46 && i.reverseFillMask === !0 && R === T && (v.rightReverse(P, T), P.setSelectionRange(R, P.selectionEnd, "forward"));
1169
+ }
1170
+ function E(B, P) {
1171
+ if (B == null || B === "")
1172
1172
  return "";
1173
1173
  if (i.reverseFillMask === !0)
1174
- return q(E, P);
1174
+ return D(B, P);
1175
1175
  const R = s;
1176
- let w = 0, M = "";
1177
- for (let D = 0; D < R.length; D++) {
1178
- const H = E[w], F = R[D];
1179
- if (typeof F == "string")
1180
- M += F, P === !0 && H === F && w++;
1181
- else if (H !== void 0 && F.regex.test(H))
1182
- M += F.transform !== void 0 ? F.transform(H) : H, w++;
1176
+ let T = 0, w = "";
1177
+ for (let A = 0; A < R.length; A++) {
1178
+ const H = B[T], I = R[A];
1179
+ if (typeof I == "string")
1180
+ w += I, P === !0 && H === I && T++;
1181
+ else if (H !== void 0 && I.regex.test(H))
1182
+ w += I.transform !== void 0 ? I.transform(H) : H, T++;
1183
1183
  else
1184
- return M;
1185
- }
1186
- return M;
1187
- }
1188
- function q(E, P) {
1189
- const R = s, w = r.indexOf(yt);
1190
- let M = E.length - 1, D = "";
1191
- for (let H = R.length - 1; H >= 0 && M !== -1; H--) {
1192
- const F = R[H];
1193
- let N = E[M];
1194
- if (typeof F == "string")
1195
- D = F + D, P === !0 && N === F && M--;
1196
- else if (N !== void 0 && F.regex.test(N))
1184
+ return w;
1185
+ }
1186
+ return w;
1187
+ }
1188
+ function D(B, P) {
1189
+ const R = s, T = r.indexOf(yt);
1190
+ let w = B.length - 1, A = "";
1191
+ for (let H = R.length - 1; H >= 0 && w !== -1; H--) {
1192
+ const I = R[H];
1193
+ let N = B[w];
1194
+ if (typeof I == "string")
1195
+ A = I + A, P === !0 && N === I && w--;
1196
+ else if (N !== void 0 && I.regex.test(N))
1197
1197
  do
1198
- D = (F.transform !== void 0 ? F.transform(N) : N) + D, M--, N = E[M];
1199
- while (w === H && N !== void 0 && F.regex.test(N));
1198
+ A = (I.transform !== void 0 ? I.transform(N) : N) + A, w--, N = B[w];
1199
+ while (T === H && N !== void 0 && I.regex.test(N));
1200
1200
  else
1201
- return D;
1201
+ return A;
1202
1202
  }
1203
- return D;
1203
+ return A;
1204
1204
  }
1205
- function V(E) {
1206
- return typeof E != "string" || l === void 0 ? typeof E == "number" ? l("" + E) : E : l(E);
1205
+ function F(B) {
1206
+ return typeof B != "string" || l === void 0 ? typeof B == "number" ? l("" + B) : B : l(B);
1207
1207
  }
1208
- function I(E) {
1209
- return o.length - E.length <= 0 ? E : i.reverseFillMask === !0 && E.length !== 0 ? o.slice(0, -E.length) + E : E + o.slice(E.length);
1208
+ function V(B) {
1209
+ return o.length - B.length <= 0 ? B : i.reverseFillMask === !0 && B.length !== 0 ? o.slice(0, -B.length) + B : B + o.slice(B.length);
1210
1210
  }
1211
1211
  return {
1212
1212
  innerValue: f,
@@ -1310,15 +1310,15 @@ const ar = Je({
1310
1310
  onMaskedClick: k
1311
1311
  } = By(i, e, H, h), v = Ry(
1312
1312
  i
1313
- ), x = b(() => xo(d.value)), C = Pm(M), B = fc({ changeEvent: !0 }), q = b(
1313
+ ), x = b(() => xo(d.value)), C = Pm(w), E = fc({ changeEvent: !0 }), D = b(
1314
1314
  () => i.type === "textarea" || i.autogrow === !0
1315
- ), V = b(
1316
- () => q.value === !0 || ["text", "search", "url", "tel", "password"].includes(i.type)
1317
- ), I = b(() => {
1318
- const T = {
1319
- ...B.splitAttrs.listeners.value,
1320
- onInput: M,
1321
- onPaste: w,
1315
+ ), F = b(
1316
+ () => D.value === !0 || ["text", "search", "url", "tel", "password"].includes(i.type)
1317
+ ), V = b(() => {
1318
+ const q = {
1319
+ ...E.splitAttrs.listeners.value,
1320
+ onInput: w,
1321
+ onPaste: T,
1322
1322
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
1323
1323
  // switching focus before confirming composition choice
1324
1324
  // this also fixes the issue where some browsers e.g. iOS Chrome
@@ -1327,98 +1327,98 @@ const ar = Je({
1327
1327
  onBlur: K,
1328
1328
  onFocus: hi
1329
1329
  };
1330
- return T.onCompositionstart = T.onCompositionupdate = T.onCompositionend = C, m.value === !0 && (T.onKeydown = y, T.onClick = k), i.autogrow === !0 && (T.onAnimationend = D), T;
1331
- }), E = b(() => {
1332
- const T = {
1330
+ return q.onCompositionstart = q.onCompositionupdate = q.onCompositionend = C, m.value === !0 && (q.onKeydown = y, q.onClick = k), i.autogrow === !0 && (q.onAnimationend = A), q;
1331
+ }), B = b(() => {
1332
+ const q = {
1333
1333
  tabindex: 0,
1334
1334
  "data-autofocus": i.autofocus === !0 || void 0,
1335
1335
  rows: i.type === "textarea" ? 6 : void 0,
1336
1336
  "aria-label": i.label,
1337
1337
  name: f.value,
1338
- ...B.splitAttrs.attributes.value,
1339
- id: B.targetUid.value,
1338
+ ...E.splitAttrs.attributes.value,
1339
+ id: E.targetUid.value,
1340
1340
  maxlength: i.maxlength,
1341
1341
  disabled: i.disable === !0,
1342
1342
  readonly: i.readonly === !0
1343
1343
  };
1344
- return q.value === !1 && (T.type = i.type), i.autogrow === !0 && (T.rows = 1), T;
1344
+ return D.value === !1 && (q.type = i.type), i.autogrow === !0 && (q.rows = 1), q;
1345
1345
  });
1346
1346
  ye(() => i.type, () => {
1347
1347
  h.value && (h.value.value = i.modelValue);
1348
- }), ye(() => i.modelValue, (T) => {
1348
+ }), ye(() => i.modelValue, (q) => {
1349
1349
  if (m.value === !0) {
1350
- if (a === !0 && (a = !1, String(T) === s))
1350
+ if (a === !0 && (a = !1, String(q) === s))
1351
1351
  return;
1352
- g(T);
1353
- } else d.value !== T && (d.value = T, i.type === "number" && o.hasOwnProperty("value") === !0 && (l === !0 ? l = !1 : delete o.value));
1354
- i.autogrow === !0 && rt(F);
1355
- }), ye(() => i.autogrow, (T) => {
1356
- T === !0 ? rt(F) : h.value !== null && t.rows > 0 && (h.value.style.height = "auto");
1352
+ g(q);
1353
+ } else d.value !== q && (d.value = q, i.type === "number" && o.hasOwnProperty("value") === !0 && (l === !0 ? l = !1 : delete o.value));
1354
+ i.autogrow === !0 && rt(I);
1355
+ }), ye(() => i.autogrow, (q) => {
1356
+ q === !0 ? rt(I) : h.value !== null && t.rows > 0 && (h.value.style.height = "auto");
1357
1357
  }), ye(() => i.dense, () => {
1358
- i.autogrow === !0 && rt(F);
1358
+ i.autogrow === !0 && rt(I);
1359
1359
  });
1360
1360
  function P() {
1361
1361
  Il(() => {
1362
- const T = document.activeElement;
1363
- h.value !== null && h.value !== T && (T === null || T.id !== B.targetUid.value) && h.value.focus({ preventScroll: !0 });
1362
+ const q = document.activeElement;
1363
+ h.value !== null && h.value !== q && (q === null || q.id !== E.targetUid.value) && h.value.focus({ preventScroll: !0 });
1364
1364
  });
1365
1365
  }
1366
1366
  function R() {
1367
- var T;
1368
- (T = h.value) == null || T.select();
1367
+ var q;
1368
+ (q = h.value) == null || q.select();
1369
1369
  }
1370
- function w(T) {
1370
+ function T(q) {
1371
1371
  if (m.value === !0 && i.reverseFillMask !== !0) {
1372
- const j = T.target;
1372
+ const j = q.target;
1373
1373
  p(j, j.selectionStart, j.selectionEnd);
1374
1374
  }
1375
- e("paste", T);
1375
+ e("paste", q);
1376
1376
  }
1377
- function M(T) {
1378
- if (!T || !T.target) return;
1377
+ function w(q) {
1378
+ if (!q || !q.target) return;
1379
1379
  if (i.type === "file") {
1380
- e("update:modelValue", T.target.files);
1380
+ e("update:modelValue", q.target.files);
1381
1381
  return;
1382
1382
  }
1383
- const j = T.target.value;
1384
- if (T.target.qComposing === !0) {
1383
+ const j = q.target.value;
1384
+ if (q.target.qComposing === !0) {
1385
1385
  o.value = j;
1386
1386
  return;
1387
1387
  }
1388
1388
  if (m.value === !0)
1389
- g(j, !1, T.inputType);
1390
- else if (H(j), V.value === !0 && T.target === document.activeElement) {
1391
- const { selectionStart: J, selectionEnd: oe } = T.target;
1389
+ g(j, !1, q.inputType);
1390
+ else if (H(j), F.value === !0 && q.target === document.activeElement) {
1391
+ const { selectionStart: J, selectionEnd: oe } = q.target;
1392
1392
  J !== void 0 && oe !== void 0 && rt(() => {
1393
- T.target === document.activeElement && j.indexOf(T.target.value) === 0 && T.target.setSelectionRange(J, oe);
1393
+ q.target === document.activeElement && j.indexOf(q.target.value) === 0 && q.target.setSelectionRange(J, oe);
1394
1394
  });
1395
1395
  }
1396
- i.autogrow === !0 && F();
1396
+ i.autogrow === !0 && I();
1397
1397
  }
1398
- function D(T) {
1399
- e("animationend", T), F();
1398
+ function A(q) {
1399
+ e("animationend", q), I();
1400
1400
  }
1401
- function H(T, j) {
1401
+ function H(q, j) {
1402
1402
  c = () => {
1403
- u = null, i.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, i.modelValue !== T && s !== T && (s = T, j === !0 && (a = !0), e("update:modelValue", T), rt(() => {
1404
- s === T && (s = NaN);
1403
+ u = null, i.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, i.modelValue !== q && s !== q && (s = q, j === !0 && (a = !0), e("update:modelValue", q), rt(() => {
1404
+ s === q && (s = NaN);
1405
1405
  })), c = void 0;
1406
- }, i.type === "number" && (l = !0, o.value = T), i.debounce !== void 0 ? (u !== null && clearTimeout(u), o.value = T, u = setTimeout(c, i.debounce)) : c();
1406
+ }, i.type === "number" && (l = !0, o.value = q), i.debounce !== void 0 ? (u !== null && clearTimeout(u), o.value = q, u = setTimeout(c, i.debounce)) : c();
1407
1407
  }
1408
- function F() {
1408
+ function I() {
1409
1409
  requestAnimationFrame(() => {
1410
- const T = h.value;
1411
- if (T !== null) {
1412
- const j = T.parentNode.style, { scrollTop: J } = T, { overflowY: oe, maxHeight: ce } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(T), se = oe !== void 0 && oe !== "scroll";
1413
- se === !0 && (T.style.overflowY = "hidden"), j.marginBottom = T.scrollHeight - 1 + "px", T.style.height = "1px", T.style.height = T.scrollHeight + "px", se === !0 && (T.style.overflowY = parseInt(ce, 10) < T.scrollHeight ? "auto" : "hidden"), j.marginBottom = "", T.scrollTop = J;
1410
+ const q = h.value;
1411
+ if (q !== null) {
1412
+ const j = q.parentNode.style, { scrollTop: J } = q, { overflowY: oe, maxHeight: ce } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(q), se = oe !== void 0 && oe !== "scroll";
1413
+ se === !0 && (q.style.overflowY = "hidden"), j.marginBottom = q.scrollHeight - 1 + "px", q.style.height = "1px", q.style.height = q.scrollHeight + "px", se === !0 && (q.style.overflowY = parseInt(ce, 10) < q.scrollHeight ? "auto" : "hidden"), j.marginBottom = "", q.scrollTop = J;
1414
1414
  }
1415
1415
  });
1416
1416
  }
1417
- function N(T) {
1418
- C(T), u !== null && (clearTimeout(u), u = null), c == null || c(), e("change", T.target.value);
1417
+ function N(q) {
1418
+ C(q), u !== null && (clearTimeout(u), u = null), c == null || c(), e("change", q.target.value);
1419
1419
  }
1420
- function K(T) {
1421
- T !== void 0 && hi(T), u !== null && (clearTimeout(u), u = null), c == null || c(), l = !1, a = !1, delete o.value, i.type !== "file" && setTimeout(() => {
1420
+ function K(q) {
1421
+ q !== void 0 && hi(q), u !== null && (clearTimeout(u), u = null), c == null || c(), l = !1, a = !1, delete o.value, i.type !== "file" && setTimeout(() => {
1422
1422
  h.value !== null && (h.value.value = d.value !== void 0 ? d.value : "");
1423
1423
  });
1424
1424
  }
@@ -1428,11 +1428,11 @@ const ar = Je({
1428
1428
  ht(() => {
1429
1429
  K();
1430
1430
  }), Si(() => {
1431
- i.autogrow === !0 && F();
1432
- }), Object.assign(B, {
1431
+ i.autogrow === !0 && I();
1432
+ }), Object.assign(E, {
1433
1433
  innerValue: d,
1434
1434
  fieldClass: b(
1435
- () => `q-${q.value === !0 ? "textarea" : "input"}` + (i.autogrow === !0 ? " q-textarea--autogrow" : "")
1435
+ () => `q-${D.value === !0 ? "textarea" : "input"}` + (i.autogrow === !0 ? " q-textarea--autogrow" : "")
1436
1436
  ),
1437
1437
  hasShadow: b(
1438
1438
  () => i.type !== "file" && typeof i.shadowText == "string" && i.shadowText.length !== 0
@@ -1443,31 +1443,31 @@ const ar = Je({
1443
1443
  floatingLabel: b(
1444
1444
  () => x.value === !0 && (i.type !== "number" || isNaN(d.value) === !1) || xo(i.displayValue)
1445
1445
  ),
1446
- getControl: () => O(q.value === !0 ? "textarea" : "input", {
1446
+ getControl: () => O(D.value === !0 ? "textarea" : "input", {
1447
1447
  ref: h,
1448
1448
  class: [
1449
1449
  "q-field__native q-placeholder",
1450
1450
  i.inputClass
1451
1451
  ],
1452
1452
  style: i.inputStyle,
1453
- ...E.value,
1454
- ...I.value,
1453
+ ...B.value,
1454
+ ...V.value,
1455
1455
  ...i.type !== "file" ? { value: Y() } : v.value
1456
1456
  }),
1457
1457
  getShadowControl: () => O("div", {
1458
- class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (q.value === !0 ? "" : " text-no-wrap")
1458
+ class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (D.value === !0 ? "" : " text-no-wrap")
1459
1459
  }, [
1460
1460
  O("span", { class: "invisible" }, Y()),
1461
1461
  O("span", i.shadowText)
1462
1462
  ])
1463
1463
  });
1464
- const A = dc(B);
1464
+ const M = dc(E);
1465
1465
  return Object.assign(n, {
1466
1466
  focus: P,
1467
1467
  select: R,
1468
1468
  getNativeElement: () => h.value
1469
1469
  // deprecated
1470
- }), Wr(n, "nativeEl", () => h.value), A;
1470
+ }), Wr(n, "nativeEl", () => h.value), M;
1471
1471
  }
1472
1472
  }), _m = Symbol("quickforms-quasar-context");
1473
1473
  function v2(i) {
@@ -1793,14 +1793,14 @@ function Jy(i, e) {
1793
1793
  () => t.val !== void 0 && Array.isArray(t.modelValue)
1794
1794
  ), d = b(() => {
1795
1795
  const R = zn(t.val);
1796
- return f.value === !0 ? t.modelValue.findIndex((w) => zn(w) === R) : -1;
1796
+ return f.value === !0 ? t.modelValue.findIndex((T) => zn(T) === R) : -1;
1797
1797
  }), m = b(() => f.value === !0 ? d.value !== -1 : zn(t.modelValue) === zn(t.trueValue)), p = b(() => f.value === !0 ? d.value === -1 : zn(t.modelValue) === zn(t.falseValue)), g = b(
1798
1798
  () => m.value === !1 && p.value === !1
1799
1799
  ), y = b(() => t.disable === !0 ? -1 : t.tabindex || 0), k = b(
1800
1800
  () => `q-${i} cursor-pointer no-outline row inline no-wrap items-center` + (t.disable === !0 ? " disabled" : "") + (l.value === !0 ? ` q-${i}--dark` : "") + (t.dense === !0 ? ` q-${i}--dense` : "") + (t.leftLabel === !0 ? " reverse" : "")
1801
1801
  ), v = b(() => {
1802
- const R = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", w = t.color !== void 0 && (t.keepColor === !0 || p.value !== !0) ? ` text-${t.color}` : "";
1803
- return `q-${i}__inner relative-position non-selectable q-${i}__inner--${R}${w}`;
1802
+ const R = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", T = t.color !== void 0 && (t.keepColor === !0 || p.value !== !0) ? ` text-${t.color}` : "";
1803
+ return `q-${i}__inner relative-position non-selectable q-${i}__inner--${R}${T}`;
1804
1804
  }), x = b(() => {
1805
1805
  const R = { type: "checkbox" };
1806
1806
  return t.name !== void 0 && Object.assign(R, {
@@ -1810,7 +1810,7 @@ function Jy(i, e) {
1810
1810
  name: t.name,
1811
1811
  value: f.value === !0 ? t.val : t.trueValue
1812
1812
  }), R;
1813
- }), C = mc(x), B = b(() => {
1813
+ }), C = mc(x), E = b(() => {
1814
1814
  const R = {
1815
1815
  tabindex: y.value,
1816
1816
  role: "checkbox",
@@ -1819,10 +1819,10 @@ function Jy(i, e) {
1819
1819
  };
1820
1820
  return t.disable === !0 && (R["aria-disabled"] = "true"), R;
1821
1821
  });
1822
- function q(R) {
1823
- R !== void 0 && (ct(R), c(R)), t.disable !== !0 && r("update:modelValue", V(), R);
1822
+ function D(R) {
1823
+ R !== void 0 && (ct(R), c(R)), t.disable !== !0 && r("update:modelValue", F(), R);
1824
1824
  }
1825
- function V() {
1825
+ function F() {
1826
1826
  if (f.value === !0) {
1827
1827
  if (m.value === !0) {
1828
1828
  const R = t.modelValue.slice();
@@ -1840,41 +1840,41 @@ function Jy(i, e) {
1840
1840
  return t.toggleOrder !== "ft" ? t.trueValue : t.falseValue;
1841
1841
  return t.indeterminateValue;
1842
1842
  }
1843
- function I(R) {
1843
+ function V(R) {
1844
1844
  (R.keyCode === 13 || R.keyCode === 32) && ct(R);
1845
1845
  }
1846
- function E(R) {
1847
- (R.keyCode === 13 || R.keyCode === 32) && q(R);
1846
+ function B(R) {
1847
+ (R.keyCode === 13 || R.keyCode === 32) && D(R);
1848
1848
  }
1849
1849
  const P = e(m, g);
1850
- return Object.assign(o, { toggle: q }), () => {
1850
+ return Object.assign(o, { toggle: D }), () => {
1851
1851
  const R = P();
1852
1852
  t.disable !== !0 && C(
1853
1853
  R,
1854
1854
  "unshift",
1855
1855
  ` q-${i}__native absolute q-ma-none q-pa-none`
1856
1856
  );
1857
- const w = [
1857
+ const T = [
1858
1858
  O("div", {
1859
1859
  class: v.value,
1860
1860
  style: h.value,
1861
1861
  "aria-hidden": "true"
1862
1862
  }, R)
1863
1863
  ];
1864
- u.value !== null && w.push(u.value);
1865
- const M = t.label !== void 0 ? xn(n.default, [t.label]) : qt(n.default);
1866
- return M !== void 0 && w.push(
1864
+ u.value !== null && T.push(u.value);
1865
+ const w = t.label !== void 0 ? xn(n.default, [t.label]) : qt(n.default);
1866
+ return w !== void 0 && T.push(
1867
1867
  O("div", {
1868
1868
  class: `q-${i}__label q-anchor--skip`
1869
- }, M)
1869
+ }, w)
1870
1870
  ), O("div", {
1871
1871
  ref: a,
1872
1872
  class: k.value,
1873
- ...B.value,
1874
- onClick: q,
1875
- onKeydown: I,
1876
- onKeyup: E
1877
- }, w);
1873
+ ...E.value,
1874
+ onClick: D,
1875
+ onKeydown: V,
1876
+ onKeyup: B
1877
+ }, T);
1878
1878
  };
1879
1879
  }
1880
1880
  const Xy = () => O("div", {
@@ -2325,23 +2325,23 @@ function Vm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2325
2325
  } : {}), m = b(() => {
2326
2326
  if (c.value === !1)
2327
2327
  return -1;
2328
- const { matched: C } = u.value, { length: B } = C, q = C[B - 1];
2329
- if (q === void 0)
2328
+ const { matched: C } = u.value, { length: E } = C, D = C[E - 1];
2329
+ if (D === void 0)
2330
2330
  return -1;
2331
- const V = r.$route.matched;
2332
- if (V.length === 0)
2331
+ const F = r.$route.matched;
2332
+ if (F.length === 0)
2333
2333
  return -1;
2334
- const I = V.findIndex(
2335
- Dh.bind(null, q)
2334
+ const V = F.findIndex(
2335
+ Dh.bind(null, D)
2336
2336
  );
2337
- if (I !== -1)
2338
- return I;
2339
- const E = Th(C[B - 2]);
2337
+ if (V !== -1)
2338
+ return V;
2339
+ const B = Th(C[E - 2]);
2340
2340
  return (
2341
2341
  // we are dealing with nested routes
2342
- B > 1 && Th(q) === E && V[V.length - 1].path !== E ? V.findIndex(
2343
- Dh.bind(null, C[B - 2])
2344
- ) : I
2342
+ E > 1 && Th(D) === B && F[F.length - 1].path !== B ? F.findIndex(
2343
+ Dh.bind(null, C[E - 2])
2344
+ ) : V
2345
2345
  );
2346
2346
  }), p = b(
2347
2347
  () => c.value === !0 && m.value !== -1 && ab(r.$route.params, u.value.params)
@@ -2355,7 +2355,7 @@ function Vm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2355
2355
  }
2356
2356
  return null;
2357
2357
  }
2358
- function v(C, { returnRouterError: B, to: q = n.to, replace: V = n.replace } = {}) {
2358
+ function v(C, { returnRouterError: E, to: D = n.to, replace: F = n.replace } = {}) {
2359
2359
  if (n.disable === !0)
2360
2360
  return C.preventDefault(), Promise.resolve(!1);
2361
2361
  if (
@@ -2365,15 +2365,15 @@ function Vm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2365
2365
  )
2366
2366
  return Promise.resolve(!1);
2367
2367
  C.preventDefault();
2368
- const I = r.$router[V === !0 ? "replace" : "push"](q);
2369
- return B === !0 ? I : I.then(() => {
2368
+ const V = r.$router[F === !0 ? "replace" : "push"](D);
2369
+ return E === !0 ? V : V.then(() => {
2370
2370
  }).catch(() => {
2371
2371
  });
2372
2372
  }
2373
2373
  function x(C) {
2374
2374
  if (c.value === !0) {
2375
- const B = (q) => v(C, q);
2376
- o("click", C, B), C.defaultPrevented !== !0 && B();
2375
+ const E = (D) => v(C, D);
2376
+ o("click", C, E), C.defaultPrevented !== !0 && E();
2377
2377
  } else
2378
2378
  o("click", C);
2379
2379
  }
@@ -3029,8 +3029,8 @@ function kc(i, e = 0) {
3029
3029
  maxWidth: h
3030
3030
  } = i;
3031
3031
  if (Tt.is.ios === !0 && window.visualViewport !== void 0) {
3032
- const B = document.body.style, { offsetLeft: q, offsetTop: V } = window.visualViewport;
3033
- q !== _h && (B.setProperty("--q-pe-left", q + "px"), _h = q), V !== Bh && (B.setProperty("--q-pe-top", V + "px"), Bh = V);
3032
+ const E = document.body.style, { offsetLeft: D, offsetTop: F } = window.visualViewport;
3033
+ D !== _h && (E.setProperty("--q-pe-left", D + "px"), _h = D), F !== Bh && (E.setProperty("--q-pe-top", F + "px"), Bh = F);
3034
3034
  }
3035
3035
  const { scrollLeft: f, scrollTop: d } = t, m = l === void 0 ? Ob(r, u === !0 ? [0, 0] : n) : Tb(r, l, n);
3036
3036
  Object.assign(t.style, {
@@ -3050,20 +3050,20 @@ function kc(i, e = 0) {
3050
3050
  if (l === void 0 || n === void 0)
3051
3051
  ga(C, m, x, o, s);
3052
3052
  else {
3053
- const { top: B, left: q } = C;
3053
+ const { top: E, left: D } = C;
3054
3054
  ga(C, m, x, o, s);
3055
- let V = !1;
3056
- if (C.top !== B) {
3057
- V = !0;
3058
- const I = 2 * n[1];
3059
- m.center = m.top -= I, m.bottom -= I + 2;
3055
+ let F = !1;
3056
+ if (C.top !== E) {
3057
+ F = !0;
3058
+ const V = 2 * n[1];
3059
+ m.center = m.top -= V, m.bottom -= V + 2;
3060
3060
  }
3061
- if (C.left !== q) {
3062
- V = !0;
3063
- const I = 2 * n[0];
3064
- m.middle = m.left -= I, m.right -= I + 2;
3061
+ if (C.left !== D) {
3062
+ F = !0;
3063
+ const V = 2 * n[0];
3064
+ m.middle = m.left -= V, m.right -= V + 2;
3065
3065
  }
3066
- V === !0 && (C = Rh(m, x, o, s), ga(C, m, x, o, s));
3066
+ F === !0 && (C = Rh(m, x, o, s), ga(C, m, x, o, s));
3067
3067
  }
3068
3068
  v = {
3069
3069
  top: C.top + "px",
@@ -3151,33 +3151,33 @@ const Xm = Je({
3151
3151
  let r = null, o, s, l;
3152
3152
  const a = je(), { proxy: u } = a, { $q: c } = u, h = G(null), f = G(!1), d = b(
3153
3153
  () => i.persistent !== !0 && i.noRouteDismiss !== !0
3154
- ), m = Ji(i, c), { registerTick: p, removeTick: g } = Mr(), { registerTimeout: y } = ko(), { transitionProps: k, transitionStyle: v } = xc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: B } = Hm(i, j), { anchorEl: q, canShow: V } = yc({ showing: f }), { hide: I } = jl({
3154
+ ), m = Ji(i, c), { registerTick: p, removeTick: g } = Mr(), { registerTimeout: y } = ko(), { transitionProps: k, transitionStyle: v } = xc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: E } = Hm(i, j), { anchorEl: D, canShow: F } = yc({ showing: f }), { hide: V } = jl({
3155
3155
  showing: f,
3156
- canShow: V,
3156
+ canShow: F,
3157
3157
  handleShow: Y,
3158
- handleHide: A,
3158
+ handleHide: M,
3159
3159
  hideOnRouteChange: d,
3160
3160
  processOnMount: !0
3161
- }), { showPortal: E, hidePortal: P, renderPortal: R } = bc(a, h, Be, "menu"), w = {
3162
- anchorEl: q,
3161
+ }), { showPortal: B, hidePortal: P, renderPortal: R } = bc(a, h, Be, "menu"), T = {
3162
+ anchorEl: D,
3163
3163
  innerRef: h,
3164
3164
  onClickOutside(ee) {
3165
3165
  if (i.persistent !== !0 && f.value === !0)
3166
- return I(ee), // always prevent touch event
3166
+ return V(ee), // always prevent touch event
3167
3167
  (ee.type === "touchstart" || ee.target.classList.contains("q-dialog__backdrop")) && ct(ee), !0;
3168
3168
  }
3169
- }, M = b(
3169
+ }, w = b(
3170
3170
  () => ol(
3171
3171
  i.anchor || (i.cover === !0 ? "center middle" : "bottom start"),
3172
3172
  c.lang.rtl
3173
3173
  )
3174
- ), D = b(() => i.cover === !0 ? M.value : ol(i.self || "top start", c.lang.rtl)), H = b(
3174
+ ), A = b(() => i.cover === !0 ? w.value : ol(i.self || "top start", c.lang.rtl)), H = b(
3175
3175
  () => (i.square === !0 ? " q-menu--square" : "") + (m.value === !0 ? " q-menu--dark q-dark" : "")
3176
- ), F = b(() => i.autoClose === !0 ? { onClick: J } : {}), N = b(
3176
+ ), I = b(() => i.autoClose === !0 ? { onClick: J } : {}), N = b(
3177
3177
  () => f.value === !0 && i.persistent !== !0
3178
3178
  );
3179
3179
  ye(N, (ee) => {
3180
- ee === !0 ? (Um(ce), Gm(w)) : (el(ce), nl(w));
3180
+ ee === !0 ? (Um(ce), Gm(T)) : (el(ce), nl(T));
3181
3181
  });
3182
3182
  function K() {
3183
3183
  Il(() => {
@@ -3186,10 +3186,10 @@ const Xm = Je({
3186
3186
  });
3187
3187
  }
3188
3188
  function Y(ee) {
3189
- if (r = i.noRefocus === !1 ? document.activeElement : null, Ym(oe), E(), j(), o = void 0, ee !== void 0 && (i.touchPosition || i.contextMenu)) {
3189
+ if (r = i.noRefocus === !1 ? document.activeElement : null, Ym(oe), B(), j(), o = void 0, ee !== void 0 && (i.touchPosition || i.contextMenu)) {
3190
3190
  const et = Rr(ee);
3191
3191
  if (et.left !== void 0) {
3192
- const { top: Ie, left: Qe } = q.value.getBoundingClientRect();
3192
+ const { top: Ie, left: Qe } = D.value.getBoundingClientRect();
3193
3193
  o = { left: et.left - Qe, top: et.top - Ie };
3194
3194
  }
3195
3195
  }
@@ -3199,20 +3199,20 @@ const Xm = Je({
3199
3199
  )), i.noFocus !== !0 && document.activeElement.blur(), p(() => {
3200
3200
  se(), i.noFocus !== !0 && K();
3201
3201
  }), y(() => {
3202
- c.platform.is.ios === !0 && (l = i.autoClose, h.value.click()), se(), E(!0), t("show", ee);
3202
+ c.platform.is.ios === !0 && (l = i.autoClose, h.value.click()), se(), B(!0), t("show", ee);
3203
3203
  }, i.transitionDuration);
3204
3204
  }
3205
- function A(ee) {
3206
- g(), P(), T(!0), r !== null && // menu was hidden from code or ESC plugin
3205
+ function M(ee) {
3206
+ g(), P(), q(!0), r !== null && // menu was hidden from code or ESC plugin
3207
3207
  (ee === void 0 || ee.qClickOutside !== !0) && ((((ee == null ? void 0 : ee.type.indexOf("key")) === 0 ? r.closest('[tabindex]:not([tabindex^="-"])') : void 0) || r).focus(), r = null), y(() => {
3208
3208
  P(!0), t("hide", ee);
3209
3209
  }, i.transitionDuration);
3210
3210
  }
3211
- function T(ee) {
3212
- o = void 0, s !== void 0 && (s(), s = void 0), (ee === !0 || f.value === !0) && (ou(oe), B(), nl(w), el(ce)), ee !== !0 && (r = null);
3211
+ function q(ee) {
3212
+ o = void 0, s !== void 0 && (s(), s = void 0), (ee === !0 || f.value === !0) && (ou(oe), E(), nl(T), el(ce)), ee !== !0 && (r = null);
3213
3213
  }
3214
3214
  function j() {
3215
- (q.value !== null || i.scrollTarget !== void 0) && (x.value = Wm(q.value, i.scrollTarget), C(x.value, se));
3215
+ (D.value !== null || i.scrollTarget !== void 0) && (x.value = Wm(D.value, i.scrollTarget), C(x.value, se));
3216
3216
  }
3217
3217
  function J(ee) {
3218
3218
  l !== !0 ? (zm(u, ee), t("click", ee)) : l = !1;
@@ -3221,15 +3221,15 @@ const Xm = Je({
3221
3221
  N.value === !0 && i.noFocus !== !0 && Rm(h.value, ee.target) !== !0 && K();
3222
3222
  }
3223
3223
  function ce(ee) {
3224
- i.noEscDismiss !== !0 && (t("escapeKey"), I(ee));
3224
+ i.noEscDismiss !== !0 && (t("escapeKey"), V(ee));
3225
3225
  }
3226
3226
  function se() {
3227
3227
  kc({
3228
3228
  targetEl: h.value,
3229
3229
  offset: i.offset,
3230
- anchorEl: q.value,
3231
- anchorOrigin: M.value,
3232
- selfOrigin: D.value,
3230
+ anchorEl: D.value,
3231
+ anchorOrigin: w.value,
3232
+ selfOrigin: A.value,
3233
3233
  absoluteOffset: o,
3234
3234
  fit: i.fit,
3235
3235
  cover: i.cover,
@@ -3254,11 +3254,11 @@ const Xm = Je({
3254
3254
  n.style,
3255
3255
  v.value
3256
3256
  ],
3257
- ...F.value
3257
+ ...I.value
3258
3258
  }, qt(e.default)) : null
3259
3259
  );
3260
3260
  }
3261
- return ht(T), Object.assign(u, { focus: K, updatePosition: se }), R;
3261
+ return ht(q), Object.assign(u, { focus: K, updatePosition: se }), R;
3262
3262
  }
3263
3263
  });
3264
3264
  function qb(i, e, t) {
@@ -3391,33 +3391,33 @@ const Eb = {
3391
3391
  i,
3392
3392
  () => Nh[i.position][0],
3393
3393
  () => Nh[i.position][1]
3394
- ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: B, renderPortal: q } = bc(
3394
+ ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: E, renderPortal: D } = bc(
3395
3395
  r,
3396
3396
  o,
3397
3397
  j,
3398
3398
  "dialog"
3399
- ), { hide: V } = jl({
3399
+ ), { hide: F } = jl({
3400
3400
  showing: s,
3401
3401
  hideOnRouteChange: f,
3402
- handleShow: w,
3403
- handleHide: M,
3402
+ handleShow: T,
3403
+ handleHide: w,
3404
3404
  processOnMount: !0
3405
3405
  });
3406
3406
  qb(s);
3407
- const I = b(
3407
+ const V = b(
3408
3408
  () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${i.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${i.position} ${Eb[i.position]}` + (l.value === !0 ? " q-dialog__inner--animating" : "") + (i.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (i.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (i.square === !0 ? " q-dialog__inner--square" : "")
3409
- ), E = b(() => s.value === !0 && i.seamless !== !0), P = b(() => i.autoClose === !0 ? { onClick: Y } : {}), R = b(() => [
3410
- `q-dialog fullscreen no-pointer-events q-dialog--${E.value === !0 ? "modal" : "seamless"}`,
3409
+ ), B = b(() => s.value === !0 && i.seamless !== !0), P = b(() => i.autoClose === !0 ? { onClick: Y } : {}), R = b(() => [
3410
+ `q-dialog fullscreen no-pointer-events q-dialog--${B.value === !0 ? "modal" : "seamless"}`,
3411
3411
  n.class
3412
3412
  ]);
3413
3413
  ye(() => i.maximized, (J) => {
3414
3414
  s.value === !0 && K(J);
3415
- }), ye(E, (J) => {
3416
- d(J), J === !0 ? (Ym(T), Um(F)) : (ou(T), el(F));
3415
+ }), ye(B, (J) => {
3416
+ d(J), J === !0 ? (Ym(q), Um(I)) : (ou(q), el(I));
3417
3417
  });
3418
- function w(J) {
3418
+ function T(J) {
3419
3419
  var oe;
3420
- u = i.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, K(i.maximized), x(), l.value = !0, i.noFocus !== !0 ? ((oe = document.activeElement) == null || oe.blur(), p(D)) : g(), m(() => {
3420
+ u = i.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, K(i.maximized), x(), l.value = !0, i.noFocus !== !0 ? ((oe = document.activeElement) == null || oe.blur(), p(A)) : g(), m(() => {
3421
3421
  if (r.proxy.$q.platform.is.ios === !0) {
3422
3422
  if (i.seamless !== !0 && document.activeElement) {
3423
3423
  const { top: ce, bottom: se } = document.activeElement.getBoundingClientRect(), { innerHeight: Be } = window, ee = window.visualViewport !== void 0 ? window.visualViewport.height : Be;
@@ -3431,12 +3431,12 @@ const Eb = {
3431
3431
  x(!0), l.value = !1, t("show", J);
3432
3432
  }, i.transitionDuration);
3433
3433
  }
3434
- function M(J) {
3434
+ function w(J) {
3435
3435
  g(), N(!0), l.value = !0, C(), u !== null && ((((J == null ? void 0 : J.type.indexOf("key")) === 0 ? u.closest('[tabindex]:not([tabindex^="-"])') : void 0) || u).focus(), u = null), m(() => {
3436
3436
  C(!0), l.value = !1, t("hide", J);
3437
3437
  }, i.transitionDuration);
3438
3438
  }
3439
- function D(J) {
3439
+ function A(J) {
3440
3440
  Il(() => {
3441
3441
  let oe = o.value;
3442
3442
  if (oe !== null) {
@@ -3452,33 +3452,33 @@ const Eb = {
3452
3452
  });
3453
3453
  }
3454
3454
  function H(J) {
3455
- J && typeof J.focus == "function" ? J.focus({ preventScroll: !0 }) : D(), t("shake");
3455
+ J && typeof J.focus == "function" ? J.focus({ preventScroll: !0 }) : A(), t("shake");
3456
3456
  const oe = o.value;
3457
3457
  oe !== null && (oe.classList.remove("q-animate--scale"), oe.classList.add("q-animate--scale"), a !== null && clearTimeout(a), a = setTimeout(() => {
3458
- a = null, o.value !== null && (oe.classList.remove("q-animate--scale"), D());
3458
+ a = null, o.value !== null && (oe.classList.remove("q-animate--scale"), A());
3459
3459
  }, 170));
3460
3460
  }
3461
- function F() {
3462
- i.seamless !== !0 && (i.persistent === !0 || i.noEscDismiss === !0 ? i.maximized !== !0 && i.noShake !== !0 && H() : (t("escapeKey"), V()));
3461
+ function I() {
3462
+ i.seamless !== !0 && (i.persistent === !0 || i.noEscDismiss === !0 ? i.maximized !== !0 && i.noShake !== !0 && H() : (t("escapeKey"), F()));
3463
3463
  }
3464
3464
  function N(J) {
3465
- a !== null && (clearTimeout(a), a = null), (J === !0 || s.value === !0) && (K(!1), i.seamless !== !0 && (d(!1), ou(T), el(F))), J !== !0 && (u = null);
3465
+ a !== null && (clearTimeout(a), a = null), (J === !0 || s.value === !0) && (K(!1), i.seamless !== !0 && (d(!1), ou(q), el(I))), J !== !0 && (u = null);
3466
3466
  }
3467
3467
  function K(J) {
3468
3468
  J === !0 ? c !== !0 && (ls < 1 && document.body.classList.add("q-body--dialog"), ls++, c = !0) : c === !0 && (ls < 2 && document.body.classList.remove("q-body--dialog"), ls--, c = !1);
3469
3469
  }
3470
3470
  function Y(J) {
3471
- h !== !0 && (V(J), t("click", J));
3471
+ h !== !0 && (F(J), t("click", J));
3472
3472
  }
3473
- function A(J) {
3474
- i.persistent !== !0 && i.noBackdropDismiss !== !0 ? V(J) : i.noShake !== !0 && H();
3473
+ function M(J) {
3474
+ i.persistent !== !0 && i.noBackdropDismiss !== !0 ? F(J) : i.noShake !== !0 && H();
3475
3475
  }
3476
- function T(J) {
3477
- i.allowFocusOutside !== !0 && B.value === !0 && Rm(o.value, J.target) !== !0 && D('[tabindex]:not([tabindex="-1"])');
3476
+ function q(J) {
3477
+ i.allowFocusOutside !== !0 && E.value === !0 && Rm(o.value, J.target) !== !0 && A('[tabindex]:not([tabindex="-1"])');
3478
3478
  }
3479
3479
  Object.assign(r.proxy, {
3480
3480
  // expose public methods
3481
- focus: D,
3481
+ focus: A,
3482
3482
  shake: H,
3483
3483
  // private but needed by QSelect
3484
3484
  __updateRefocusTarget(J) {
@@ -3488,26 +3488,26 @@ const Eb = {
3488
3488
  function j() {
3489
3489
  return O("div", {
3490
3490
  role: "dialog",
3491
- "aria-modal": E.value === !0 ? "true" : "false",
3491
+ "aria-modal": B.value === !0 ? "true" : "false",
3492
3492
  ...n,
3493
3493
  class: R.value
3494
3494
  }, [
3495
3495
  O(fi, {
3496
3496
  name: "q-transition--fade",
3497
3497
  appear: !0
3498
- }, () => E.value === !0 ? O("div", {
3498
+ }, () => B.value === !0 ? O("div", {
3499
3499
  class: "q-dialog__backdrop fixed-full",
3500
3500
  style: v.value,
3501
3501
  "aria-hidden": "true",
3502
3502
  tabindex: -1,
3503
- onClick: A
3503
+ onClick: M
3504
3504
  }) : null),
3505
3505
  O(
3506
3506
  fi,
3507
3507
  y.value,
3508
3508
  () => s.value === !0 ? O("div", {
3509
3509
  ref: o,
3510
- class: I.value,
3510
+ class: V.value,
3511
3511
  style: k.value,
3512
3512
  tabindex: -1,
3513
3513
  ...P.value
@@ -3515,7 +3515,7 @@ const Eb = {
3515
3515
  )
3516
3516
  ]);
3517
3517
  }
3518
- return q;
3518
+ return D;
3519
3519
  }
3520
3520
  });
3521
3521
  let wo = !1;
@@ -3626,19 +3626,19 @@ function Fb({
3626
3626
  let u, c, h, f = [], d;
3627
3627
  const m = G(0), p = G(0), g = G({}), y = G(null), k = G(null), v = G(null), x = G({ from: 0, to: 0 }), C = b(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3628
3628
  n === void 0 && (n = b(() => o.virtualScrollItemSize));
3629
- const B = b(() => n.value + ";" + o.virtualScrollHorizontal), q = b(
3630
- () => B.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3629
+ const E = b(() => n.value + ";" + o.virtualScrollHorizontal), D = b(
3630
+ () => E.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3631
3631
  );
3632
- ye(q, () => {
3632
+ ye(D, () => {
3633
3633
  H();
3634
- }), ye(B, V);
3635
- function V() {
3636
- D(c, !0);
3634
+ }), ye(E, F);
3635
+ function F() {
3636
+ A(c, !0);
3637
3637
  }
3638
- function I(A) {
3639
- D(A === void 0 ? c : A);
3638
+ function V(M) {
3639
+ A(M === void 0 ? c : M);
3640
3640
  }
3641
- function E(A, T) {
3641
+ function B(M, q) {
3642
3642
  const j = e();
3643
3643
  if (j == null || j.nodeType === 8) return;
3644
3644
  const J = ba(
@@ -3654,16 +3654,16 @@ function Fb({
3654
3654
  h !== J.scrollViewSize && H(J.scrollViewSize), R(
3655
3655
  j,
3656
3656
  J,
3657
- Math.min(i.value - 1, Math.max(0, parseInt(A, 10) || 0)),
3657
+ Math.min(i.value - 1, Math.max(0, parseInt(M, 10) || 0)),
3658
3658
  0,
3659
- Lb.indexOf(T) !== -1 ? T : c !== -1 && A > c ? "end" : "start"
3659
+ Lb.indexOf(q) !== -1 ? q : c !== -1 && M > c ? "end" : "start"
3660
3660
  );
3661
3661
  }
3662
3662
  function P() {
3663
- const A = e();
3664
- if (A == null || A.nodeType === 8) return;
3665
- const T = ba(
3666
- A,
3663
+ const M = e();
3664
+ if (M == null || M.nodeType === 8) return;
3665
+ const q = ba(
3666
+ M,
3667
3667
  t(),
3668
3668
  y.value,
3669
3669
  k.value,
@@ -3671,83 +3671,83 @@ function Fb({
3671
3671
  a.lang.rtl,
3672
3672
  o.virtualScrollStickySizeStart,
3673
3673
  o.virtualScrollStickySizeEnd
3674
- ), j = i.value - 1, J = T.scrollMaxSize - T.offsetStart - T.offsetEnd - p.value;
3675
- if (u === T.scrollStart) return;
3676
- if (T.scrollMaxSize <= 0) {
3677
- R(A, T, 0, 0);
3674
+ ), j = i.value - 1, J = q.scrollMaxSize - q.offsetStart - q.offsetEnd - p.value;
3675
+ if (u === q.scrollStart) return;
3676
+ if (q.scrollMaxSize <= 0) {
3677
+ R(M, q, 0, 0);
3678
3678
  return;
3679
3679
  }
3680
- h !== T.scrollViewSize && H(T.scrollViewSize), w(x.value.from);
3681
- const oe = Math.floor(T.scrollMaxSize - Math.max(T.scrollViewSize, T.offsetEnd) - Math.min(d[j], T.scrollViewSize / 2));
3682
- if (oe > 0 && Math.ceil(T.scrollStart) >= oe) {
3680
+ h !== q.scrollViewSize && H(q.scrollViewSize), T(x.value.from);
3681
+ const oe = Math.floor(q.scrollMaxSize - Math.max(q.scrollViewSize, q.offsetEnd) - Math.min(d[j], q.scrollViewSize / 2));
3682
+ if (oe > 0 && Math.ceil(q.scrollStart) >= oe) {
3683
3683
  R(
3684
- A,
3685
- T,
3684
+ M,
3685
+ q,
3686
3686
  j,
3687
- T.scrollMaxSize - T.offsetEnd - f.reduce(Ar, 0)
3687
+ q.scrollMaxSize - q.offsetEnd - f.reduce(Ar, 0)
3688
3688
  );
3689
3689
  return;
3690
3690
  }
3691
- let ce = 0, se = T.scrollStart - T.offsetStart, Be = se;
3692
- if (se <= J && se + T.scrollViewSize >= m.value)
3691
+ let ce = 0, se = q.scrollStart - q.offsetStart, Be = se;
3692
+ if (se <= J && se + q.scrollViewSize >= m.value)
3693
3693
  se -= m.value, ce = x.value.from, Be = se;
3694
3694
  else
3695
3695
  for (let ee = 0; se >= f[ee] && ce < j; ee++)
3696
3696
  se -= f[ee], ce += Ai;
3697
3697
  for (; se > 0 && ce < j; )
3698
- se -= d[ce], se > -T.scrollViewSize ? (ce++, Be = se) : Be = d[ce] + se;
3698
+ se -= d[ce], se > -q.scrollViewSize ? (ce++, Be = se) : Be = d[ce] + se;
3699
3699
  R(
3700
- A,
3701
- T,
3700
+ M,
3701
+ q,
3702
3702
  ce,
3703
3703
  Be
3704
3704
  );
3705
3705
  }
3706
- function R(A, T, j, J, oe) {
3706
+ function R(M, q, j, J, oe) {
3707
3707
  const ce = typeof oe == "string" && oe.indexOf("-force") !== -1, se = ce === !0 ? oe.replace("-force", "") : oe, Be = se !== void 0 ? se : "start";
3708
3708
  let ee = Math.max(0, j - g.value[Be]), et = ee + g.value.total;
3709
- et > i.value && (et = i.value, ee = Math.max(0, et - g.value.total)), u = T.scrollStart;
3709
+ et > i.value && (et = i.value, ee = Math.max(0, et - g.value.total)), u = q.scrollStart;
3710
3710
  const Ie = ee !== x.value.from || et !== x.value.to;
3711
3711
  if (Ie === !1 && se === void 0) {
3712
3712
  N(j);
3713
3713
  return;
3714
3714
  }
3715
3715
  const { activeElement: Qe } = document, wt = v.value;
3716
- Ie === !0 && wt !== null && wt !== Qe && wt.contains(Qe) === !0 && (wt.addEventListener("focusout", M), setTimeout(() => {
3717
- wt == null || wt.removeEventListener("focusout", M);
3716
+ Ie === !0 && wt !== null && wt !== Qe && wt.contains(Qe) === !0 && (wt.addEventListener("focusout", w), setTimeout(() => {
3717
+ wt == null || wt.removeEventListener("focusout", w);
3718
3718
  })), Ib(wt, j - ee);
3719
3719
  const _t = se !== void 0 ? d.slice(ee, j).reduce(Ar, 0) : 0;
3720
3720
  if (Ie === !0) {
3721
3721
  const Yt = et >= x.value.from && ee <= x.value.to ? x.value.to : et;
3722
3722
  x.value = { from: ee, to: Yt }, m.value = Jr(f, d, 0, ee), p.value = Jr(f, d, et, i.value), requestAnimationFrame(() => {
3723
- x.value.to !== et && u === T.scrollStart && (x.value = { from: x.value.from, to: et }, p.value = Jr(f, d, et, i.value));
3723
+ x.value.to !== et && u === q.scrollStart && (x.value = { from: x.value.from, to: et }, p.value = Jr(f, d, et, i.value));
3724
3724
  });
3725
3725
  }
3726
3726
  requestAnimationFrame(() => {
3727
- if (u !== T.scrollStart) return;
3728
- Ie === !0 && w(ee);
3729
- const Yt = d.slice(ee, j).reduce(Ar, 0), Bt = Yt + T.offsetStart + m.value, dt = Bt + d[j];
3727
+ if (u !== q.scrollStart) return;
3728
+ Ie === !0 && T(ee);
3729
+ const Yt = d.slice(ee, j).reduce(Ar, 0), Bt = Yt + q.offsetStart + m.value, dt = Bt + d[j];
3730
3730
  let gi = Bt + J;
3731
3731
  if (se !== void 0) {
3732
- const Bi = Yt - _t, Gt = T.scrollStart + Bi;
3733
- gi = ce !== !0 && Gt < Bt && dt < Gt + T.scrollViewSize ? Gt : se === "end" ? dt - T.scrollViewSize : Bt - (se === "start" ? 0 : Math.round((T.scrollViewSize - d[j]) / 2));
3732
+ const Bi = Yt - _t, Gt = q.scrollStart + Bi;
3733
+ gi = ce !== !0 && Gt < Bt && dt < Gt + q.scrollViewSize ? Gt : se === "end" ? dt - q.scrollViewSize : Bt - (se === "start" ? 0 : Math.round((q.scrollViewSize - d[j]) / 2));
3734
3734
  }
3735
3735
  u = gi, Hh(
3736
- A,
3736
+ M,
3737
3737
  gi,
3738
3738
  o.virtualScrollHorizontal,
3739
3739
  a.lang.rtl
3740
3740
  ), N(j);
3741
3741
  });
3742
3742
  }
3743
- function w(A) {
3744
- const T = v.value;
3745
- if (T) {
3743
+ function T(M) {
3744
+ const q = v.value;
3745
+ if (q) {
3746
3746
  const j = Zm.call(
3747
- T.children,
3747
+ q.children,
3748
3748
  (ee) => ee.classList && ee.classList.contains("q-virtual-scroll--skip") === !1
3749
3749
  ), J = j.length, oe = o.virtualScrollHorizontal === !0 ? (ee) => ee.getBoundingClientRect().width : (ee) => ee.offsetHeight;
3750
- let ce = A, se, Be;
3750
+ let ce = M, se, Be;
3751
3751
  for (let ee = 0; ee < J; ) {
3752
3752
  for (se = oe(j[ee]), ee++; ee < J && j[ee].classList.contains("q-virtual-scroll--with-prev") === !0; )
3753
3753
  se += oe(j[ee]), ee++;
@@ -3755,13 +3755,13 @@ function Fb({
3755
3755
  }
3756
3756
  }
3757
3757
  }
3758
- function M() {
3759
- var A;
3760
- (A = v.value) == null || A.focus();
3758
+ function w() {
3759
+ var M;
3760
+ (M = v.value) == null || M.focus();
3761
3761
  }
3762
- function D(A, T) {
3762
+ function A(M, q) {
3763
3763
  const j = 1 * n.value;
3764
- (T === !0 || Array.isArray(d) === !1) && (d = []);
3764
+ (q === !0 || Array.isArray(d) === !1) && (d = []);
3765
3765
  const J = d.length;
3766
3766
  d.length = i.value;
3767
3767
  for (let ce = i.value - 1; ce >= J; ce--)
@@ -3775,14 +3775,14 @@ function Fb({
3775
3775
  se += d[ee];
3776
3776
  f.push(se);
3777
3777
  }
3778
- c = -1, u = void 0, m.value = Jr(f, d, 0, x.value.from), p.value = Jr(f, d, x.value.to, i.value), A >= 0 ? (w(x.value.from), rt(() => {
3779
- E(A);
3778
+ c = -1, u = void 0, m.value = Jr(f, d, 0, x.value.from), p.value = Jr(f, d, x.value.to, i.value), M >= 0 ? (T(x.value.from), rt(() => {
3779
+ B(M);
3780
3780
  })) : K();
3781
3781
  }
3782
- function H(A) {
3783
- if (A === void 0 && typeof window < "u") {
3782
+ function H(M) {
3783
+ if (M === void 0 && typeof window < "u") {
3784
3784
  const se = e();
3785
- se != null && se.nodeType !== 8 && (A = ba(
3785
+ se != null && se.nodeType !== 8 && (M = ba(
3786
3786
  se,
3787
3787
  t(),
3788
3788
  y.value,
@@ -3793,26 +3793,26 @@ function Fb({
3793
3793
  o.virtualScrollStickySizeEnd
3794
3794
  ).scrollViewSize);
3795
3795
  }
3796
- h = A;
3797
- const T = parseFloat(o.virtualScrollSliceRatioBefore) || 0, j = parseFloat(o.virtualScrollSliceRatioAfter) || 0, J = 1 + T + j, oe = A === void 0 || A <= 0 ? 1 : Math.ceil(A / n.value), ce = Math.max(
3796
+ h = M;
3797
+ const q = parseFloat(o.virtualScrollSliceRatioBefore) || 0, j = parseFloat(o.virtualScrollSliceRatioAfter) || 0, J = 1 + q + j, oe = M === void 0 || M <= 0 ? 1 : Math.ceil(M / n.value), ce = Math.max(
3798
3798
  1,
3799
3799
  oe,
3800
3800
  Math.ceil((o.virtualScrollSliceSize > 0 ? o.virtualScrollSliceSize : 10) / J)
3801
3801
  );
3802
3802
  g.value = {
3803
3803
  total: Math.ceil(ce * J),
3804
- start: Math.ceil(ce * T),
3805
- center: Math.ceil(ce * (0.5 + T)),
3806
- end: Math.ceil(ce * (1 + T)),
3804
+ start: Math.ceil(ce * q),
3805
+ center: Math.ceil(ce * (0.5 + q)),
3806
+ end: Math.ceil(ce * (1 + q)),
3807
3807
  view: oe
3808
3808
  };
3809
3809
  }
3810
- function F(A, T) {
3810
+ function I(M, q) {
3811
3811
  const j = o.virtualScrollHorizontal === !0 ? "width" : "height", J = {
3812
3812
  ["--q-virtual-scroll-item-" + j]: n.value + "px"
3813
3813
  };
3814
3814
  return [
3815
- A === "tbody" ? O(A, {
3815
+ M === "tbody" ? O(M, {
3816
3816
  class: "q-virtual-scroll__padding",
3817
3817
  key: "before",
3818
3818
  ref: y
@@ -3823,19 +3823,19 @@ function Fb({
3823
3823
  colspan: C.value
3824
3824
  })
3825
3825
  ])
3826
- ]) : O(A, {
3826
+ ]) : O(M, {
3827
3827
  class: "q-virtual-scroll__padding",
3828
3828
  key: "before",
3829
3829
  ref: y,
3830
3830
  style: { [j]: `${m.value}px`, ...J }
3831
3831
  }),
3832
- O(A, {
3832
+ O(M, {
3833
3833
  class: "q-virtual-scroll__content",
3834
3834
  key: "content",
3835
3835
  ref: v,
3836
3836
  tabindex: -1
3837
- }, T.flat()),
3838
- A === "tbody" ? O(A, {
3837
+ }, q.flat()),
3838
+ M === "tbody" ? O(M, {
3839
3839
  class: "q-virtual-scroll__padding",
3840
3840
  key: "after",
3841
3841
  ref: k
@@ -3846,7 +3846,7 @@ function Fb({
3846
3846
  colspan: C.value
3847
3847
  })
3848
3848
  ])
3849
- ]) : O(A, {
3849
+ ]) : O(M, {
3850
3850
  class: "q-virtual-scroll__padding",
3851
3851
  key: "after",
3852
3852
  ref: k,
@@ -3854,14 +3854,14 @@ function Fb({
3854
3854
  })
3855
3855
  ];
3856
3856
  }
3857
- function N(A) {
3858
- c !== A && (o.onVirtualScroll !== void 0 && s("virtualScroll", {
3859
- index: A,
3857
+ function N(M) {
3858
+ c !== M && (o.onVirtualScroll !== void 0 && s("virtualScroll", {
3859
+ index: M,
3860
3860
  from: x.value.from,
3861
3861
  to: x.value.to - 1,
3862
- direction: A < c ? "decrease" : "increase",
3862
+ direction: M < c ? "decrease" : "increase",
3863
3863
  ref: l
3864
- }), c = A);
3864
+ }), c = M);
3865
3865
  }
3866
3866
  H();
3867
3867
  const K = Mm(
@@ -3876,25 +3876,25 @@ function Fb({
3876
3876
  Y = !0;
3877
3877
  }), lc(() => {
3878
3878
  if (Y !== !0) return;
3879
- const A = e();
3880
- u !== void 0 && A !== void 0 && A !== null && A.nodeType !== 8 ? Hh(
3881
- A,
3879
+ const M = e();
3880
+ u !== void 0 && M !== void 0 && M !== null && M.nodeType !== 8 ? Hh(
3881
+ M,
3882
3882
  u,
3883
3883
  o.virtualScrollHorizontal,
3884
3884
  a.lang.rtl
3885
- ) : E(c);
3885
+ ) : B(c);
3886
3886
  }), ht(() => {
3887
3887
  K.cancel();
3888
- }), Object.assign(l, { scrollTo: E, reset: V, refresh: I }), {
3888
+ }), Object.assign(l, { scrollTo: B, reset: F, refresh: V }), {
3889
3889
  virtualScrollSliceRange: x,
3890
3890
  virtualScrollSliceSizeComputed: g,
3891
3891
  setVirtualScrollSize: H,
3892
3892
  onVirtualScrollEvt: K,
3893
- localResetVirtualScroll: D,
3894
- padVirtualScroll: F,
3895
- scrollTo: E,
3896
- reset: V,
3897
- refresh: I
3893
+ localResetVirtualScroll: A,
3894
+ padVirtualScroll: I,
3895
+ scrollTo: B,
3896
+ reset: F,
3897
+ refresh: V
3898
3898
  };
3899
3899
  }
3900
3900
  function yn(i, e) {
@@ -4076,11 +4076,11 @@ const zo = Je({
4076
4076
  setup(i, { slots: e, emit: t }) {
4077
4077
  const { proxy: n } = je(), { $q: r } = n, o = G(!1), s = G(!1), l = G(-1), a = G(""), u = G(!1), c = G(!1);
4078
4078
  let h = null, f = null, d, m, p, g = null, y, k, v, x;
4079
- const C = G(null), B = G(null), q = G(null), V = G(null), I = G(null), E = qm(i), P = Pm(cr), R = b(() => Array.isArray(i.options) ? i.options.length : 0), w = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4080
- virtualScrollSliceRange: M,
4081
- virtualScrollSliceSizeComputed: D,
4079
+ const C = G(null), E = G(null), D = G(null), F = G(null), V = G(null), B = qm(i), P = Pm(cr), R = b(() => Array.isArray(i.options) ? i.options.length : 0), T = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4080
+ virtualScrollSliceRange: w,
4081
+ virtualScrollSliceSizeComputed: A,
4082
4082
  localResetVirtualScroll: H,
4083
- padVirtualScroll: F,
4083
+ padVirtualScroll: I,
4084
4084
  onVirtualScrollEvt: N,
4085
4085
  scrollTo: K,
4086
4086
  setVirtualScrollSize: Y
@@ -4088,8 +4088,8 @@ const zo = Je({
4088
4088
  virtualScrollLength: R,
4089
4089
  getVirtualScrollTarget: dn,
4090
4090
  getVirtualScrollEl: Ln,
4091
- virtualScrollItemSizeComputed: w
4092
- }), A = fc(), T = b(() => {
4091
+ virtualScrollItemSizeComputed: T
4092
+ }), M = fc(), q = b(() => {
4093
4093
  const _ = i.mapOptions === !0 && i.multiple !== !0, he = i.modelValue !== void 0 && (i.modelValue !== null || _ === !0) ? i.multiple === !0 && Array.isArray(i.modelValue) ? i.modelValue : [i.modelValue] : [];
4094
4094
  if (i.mapOptions === !0 && Array.isArray(i.options) === !0) {
4095
4095
  const me = i.mapOptions === !0 && d !== void 0 ? d : [], _e = he.map(($e) => be($e, me));
@@ -4102,14 +4102,14 @@ const zo = Je({
4102
4102
  const me = i[he];
4103
4103
  me !== void 0 && (_[he] = me);
4104
4104
  }), _;
4105
- }), J = b(() => i.optionsDark === null ? A.isDark.value : i.optionsDark), oe = b(() => xo(T.value)), ce = b(() => {
4105
+ }), J = b(() => i.optionsDark === null ? M.isDark.value : i.optionsDark), oe = b(() => xo(q.value)), ce = b(() => {
4106
4106
  let _ = "q-field__input q-placeholder col";
4107
- return i.hideSelected === !0 || T.value.length === 0 ? [_, i.inputClass] : (_ += " q-field__input--padding", i.inputClass === void 0 ? _ : [_, i.inputClass]);
4107
+ return i.hideSelected === !0 || q.value.length === 0 ? [_, i.inputClass] : (_ += " q-field__input--padding", i.inputClass === void 0 ? _ : [_, i.inputClass]);
4108
4108
  }), se = b(
4109
4109
  () => (i.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (i.popupContentClass ? " " + i.popupContentClass : "")
4110
4110
  ), Be = b(() => R.value === 0), ee = b(
4111
- () => T.value.map((_) => X.value(_)).join(", ")
4112
- ), et = b(() => i.displayValue !== void 0 ? i.displayValue : ee.value), Ie = b(() => i.optionsHtml === !0 ? () => !0 : (_) => (_ == null ? void 0 : _.html) === !0), Qe = b(() => i.displayValueHtml === !0 || i.displayValue === void 0 && (i.optionsHtml === !0 || T.value.some(Ie.value))), wt = b(() => A.focused.value === !0 ? i.tabindex : -1), _t = b(() => {
4111
+ () => q.value.map((_) => X.value(_)).join(", ")
4112
+ ), et = b(() => i.displayValue !== void 0 ? i.displayValue : ee.value), Ie = b(() => i.optionsHtml === !0 ? () => !0 : (_) => (_ == null ? void 0 : _.html) === !0), Qe = b(() => i.displayValueHtml === !0 || i.displayValue === void 0 && (i.optionsHtml === !0 || q.value.some(Ie.value))), wt = b(() => M.focused.value === !0 ? i.tabindex : -1), _t = b(() => {
4113
4113
  const _ = {
4114
4114
  tabindex: i.tabindex,
4115
4115
  role: "combobox",
@@ -4117,14 +4117,14 @@ const zo = Je({
4117
4117
  "aria-readonly": i.readonly === !0 ? "true" : "false",
4118
4118
  "aria-autocomplete": i.useInput === !0 ? "list" : "none",
4119
4119
  "aria-expanded": o.value === !0 ? "true" : "false",
4120
- "aria-controls": `${A.targetUid.value}_lb`
4120
+ "aria-controls": `${M.targetUid.value}_lb`
4121
4121
  };
4122
- return l.value >= 0 && (_["aria-activedescendant"] = `${A.targetUid.value}_${l.value}`), _;
4122
+ return l.value >= 0 && (_["aria-activedescendant"] = `${M.targetUid.value}_${l.value}`), _;
4123
4123
  }), Yt = b(() => ({
4124
- id: `${A.targetUid.value}_lb`,
4124
+ id: `${M.targetUid.value}_lb`,
4125
4125
  role: "listbox",
4126
4126
  "aria-multiselectable": i.multiple === !0 ? "true" : "false"
4127
- })), Bt = b(() => T.value.map((_, he) => ({
4127
+ })), Bt = b(() => q.value.map((_, he) => ({
4128
4128
  index: he,
4129
4129
  opt: _,
4130
4130
  html: Ie.value(_),
@@ -4135,7 +4135,7 @@ const zo = Je({
4135
4135
  }))), dt = b(() => {
4136
4136
  if (R.value === 0)
4137
4137
  return [];
4138
- const { from: _, to: he } = M.value;
4138
+ const { from: _, to: he } = w.value;
4139
4139
  return i.options.slice(_, he).map((me, _e) => {
4140
4140
  const $e = ve.value(me) === !0, mt = Ce(me) === !0, Ze = _ + _e, gt = {
4141
4141
  clickable: !0,
@@ -4149,7 +4149,7 @@ const zo = Je({
4149
4149
  dark: J.value,
4150
4150
  role: "option",
4151
4151
  "aria-selected": mt === !0 ? "true" : "false",
4152
- id: `${A.targetUid.value}_${Ze}`,
4152
+ id: `${M.targetUid.value}_${Ze}`,
4153
4153
  onClick: () => {
4154
4154
  ut(me);
4155
4155
  }
@@ -4170,7 +4170,7 @@ const zo = Je({
4170
4170
  });
4171
4171
  }), gi = b(() => i.dropdownIcon !== void 0 ? i.dropdownIcon : r.iconSet.arrow.dropdown), Bi = b(
4172
4172
  () => i.optionsCover === !1 && i.outlined !== !0 && i.standout !== !0 && i.borderless !== !0 && i.rounded !== !0
4173
- ), Gt = b(() => i.optionsSelectedClass !== void 0 ? i.optionsSelectedClass : i.color !== void 0 ? `text-${i.color}` : ""), at = b(() => xa(i.optionValue, "value")), X = b(() => xa(i.optionLabel, "label")), ve = b(() => xa(i.optionDisable, "disable")), we = b(() => T.value.map(at.value)), Ue = b(() => {
4173
+ ), Gt = b(() => i.optionsSelectedClass !== void 0 ? i.optionsSelectedClass : i.color !== void 0 ? `text-${i.color}` : ""), at = b(() => xa(i.optionValue, "value")), X = b(() => xa(i.optionLabel, "label")), ve = b(() => xa(i.optionDisable, "disable")), we = b(() => q.value.map(at.value)), Ue = b(() => {
4174
4174
  const _ = {
4175
4175
  onInput: cr,
4176
4176
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
@@ -4188,14 +4188,14 @@ const zo = Je({
4188
4188
  };
4189
4189
  return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = P, _;
4190
4190
  });
4191
- ye(T, (_) => {
4192
- d = _, i.useInput === !0 && i.fillInput === !0 && i.multiple !== !0 && A.innerLoading.value !== !0 && (s.value !== !0 && o.value !== !0 || oe.value !== !0) && (p !== !0 && pi(), (s.value === !0 || o.value === !0) && Ri(""));
4191
+ ye(q, (_) => {
4192
+ d = _, i.useInput === !0 && i.fillInput === !0 && i.multiple !== !0 && M.innerLoading.value !== !0 && (s.value !== !0 && o.value !== !0 || oe.value !== !0) && (p !== !0 && pi(), (s.value === !0 || o.value === !0) && Ri(""));
4193
4193
  }, { immediate: !0 }), ye(() => i.fillInput, pi), ye(o, la), ye(R, A0);
4194
4194
  function ze(_) {
4195
4195
  return i.emitValue === !0 ? at.value(_) : _;
4196
4196
  }
4197
4197
  function Oe(_) {
4198
- if (_ !== -1 && _ < T.value.length)
4198
+ if (_ !== -1 && _ < q.value.length)
4199
4199
  if (i.multiple === !0) {
4200
4200
  const he = i.modelValue.slice();
4201
4201
  t("remove", { index: _, value: he.splice(_, 1)[0] }), t("update:modelValue", he);
@@ -4203,7 +4203,7 @@ const zo = Je({
4203
4203
  t("update:modelValue", null);
4204
4204
  }
4205
4205
  function qe(_) {
4206
- Oe(_), A.focus();
4206
+ Oe(_), M.focus();
4207
4207
  }
4208
4208
  function Xe(_, he) {
4209
4209
  const me = ze(_);
@@ -4215,7 +4215,7 @@ const zo = Je({
4215
4215
  ), t("update:modelValue", me);
4216
4216
  return;
4217
4217
  }
4218
- if (T.value.length === 0) {
4218
+ if (q.value.length === 0) {
4219
4219
  t("add", { index: 0, value: me }), t("update:modelValue", i.multiple === !0 ? [me] : me);
4220
4220
  return;
4221
4221
  }
@@ -4225,17 +4225,17 @@ const zo = Je({
4225
4225
  }
4226
4226
  function ut(_, he) {
4227
4227
  var mt;
4228
- if (A.editable.value !== !0 || _ === void 0 || ve.value(_) === !0) return;
4228
+ if (M.editable.value !== !0 || _ === void 0 || ve.value(_) === !0) return;
4229
4229
  const me = at.value(_);
4230
4230
  if (i.multiple !== !0) {
4231
4231
  he !== !0 && (Vn(
4232
4232
  i.fillInput === !0 ? X.value(_) : "",
4233
4233
  !0,
4234
4234
  !0
4235
- ), Ve()), (mt = B.value) == null || mt.focus(), (T.value.length === 0 || yn(at.value(T.value[0]), me) !== !0) && t("update:modelValue", i.emitValue === !0 ? me : _);
4235
+ ), Ve()), (mt = E.value) == null || mt.focus(), (q.value.length === 0 || yn(at.value(q.value[0]), me) !== !0) && t("update:modelValue", i.emitValue === !0 ? me : _);
4236
4236
  return;
4237
4237
  }
4238
- if ((m !== !0 || u.value === !0) && A.focus(), Re(), T.value.length === 0) {
4238
+ if ((m !== !0 || u.value === !0) && M.focus(), Re(), q.value.length === 0) {
4239
4239
  const Ze = i.emitValue === !0 ? me : _;
4240
4240
  t("add", { index: 0, value: Ze }), t("update:modelValue", i.multiple === !0 ? [Ze] : Ze);
4241
4241
  return;
@@ -4280,7 +4280,7 @@ const zo = Je({
4280
4280
  return we.value.find((me) => yn(me, he)) !== void 0;
4281
4281
  }
4282
4282
  function Re(_) {
4283
- i.useInput === !0 && B.value !== null && (_ === void 0 || B.value === _.target && _.target.value === ee.value) && B.value.select();
4283
+ i.useInput === !0 && E.value !== null && (_ === void 0 || E.value === _.target && _.target.value === ee.value) && E.value.select();
4284
4284
  }
4285
4285
  function Nt(_) {
4286
4286
  an(_, 27) === !0 && o.value === !0 && (hi(_), Ve(), pi()), t("keyup", _);
@@ -4294,13 +4294,13 @@ const zo = Je({
4294
4294
  if (_.target.value = "", h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), pi(), typeof he == "string" && he.length !== 0) {
4295
4295
  const me = he.toLocaleLowerCase(), _e = (mt) => {
4296
4296
  const Ze = i.options.find((gt) => String(mt.value(gt)).toLocaleLowerCase() === me);
4297
- return Ze === void 0 ? !1 : (T.value.indexOf(Ze) === -1 ? ut(Ze) : Ve(), !0);
4297
+ return Ze === void 0 ? !1 : (q.value.indexOf(Ze) === -1 ? ut(Ze) : Ve(), !0);
4298
4298
  }, $e = (mt) => {
4299
4299
  _e(at) !== !0 && mt !== !0 && _e(X) !== !0 && Ri(he, !0, () => $e(!0));
4300
4300
  };
4301
4301
  $e();
4302
4302
  } else
4303
- A.clearValue(_);
4303
+ M.clearValue(_);
4304
4304
  }
4305
4305
  function tt(_) {
4306
4306
  t("keypress", _);
@@ -4316,8 +4316,8 @@ const zo = Je({
4316
4316
  pe();
4317
4317
  return;
4318
4318
  }
4319
- if (_.target === void 0 || _.target.id !== A.targetUid.value || A.editable.value !== !0) return;
4320
- if (_.keyCode === 40 && A.innerLoading.value !== !0 && o.value === !1) {
4319
+ if (_.target === void 0 || _.target.id !== M.targetUid.value || M.editable.value !== !0) return;
4320
+ if (_.keyCode === 40 && M.innerLoading.value !== !0 && o.value === !1) {
4321
4321
  ct(_), Se();
4322
4322
  return;
4323
4323
  }
@@ -4325,11 +4325,11 @@ const zo = Je({
4325
4325
  i.multiple === !0 && Array.isArray(i.modelValue) === !0 ? Oe(i.modelValue.length - 1) : i.multiple !== !0 && i.modelValue !== null && t("update:modelValue", null);
4326
4326
  return;
4327
4327
  }
4328
- (_.keyCode === 35 || _.keyCode === 36) && (typeof a.value != "string" || a.value.length === 0) && (ct(_), l.value = -1, $(_.keyCode === 36 ? 1 : -1, i.multiple)), (_.keyCode === 33 || _.keyCode === 34) && D.value !== void 0 && (ct(_), l.value = Math.max(
4328
+ (_.keyCode === 35 || _.keyCode === 36) && (typeof a.value != "string" || a.value.length === 0) && (ct(_), l.value = -1, $(_.keyCode === 36 ? 1 : -1, i.multiple)), (_.keyCode === 33 || _.keyCode === 34) && A.value !== void 0 && (ct(_), l.value = Math.max(
4329
4329
  -1,
4330
4330
  Math.min(
4331
4331
  R.value,
4332
- l.value + (_.keyCode === 33 ? -1 : 1) * D.value.view
4332
+ l.value + (_.keyCode === 33 ? -1 : 1) * A.value.view
4333
4333
  )
4334
4334
  ), $(_.keyCode === 33 ? 1 : -1, i.multiple)), (_.keyCode === 38 || _.keyCode === 40) && (ct(_), $(_.keyCode === 38 ? -1 : 1, i.multiple));
4335
4335
  const _e = R.value;
@@ -4361,15 +4361,15 @@ const zo = Je({
4361
4361
  } else
4362
4362
  Ze = i.newValueMode;
4363
4363
  if (Vn("", i.multiple !== !0, !0), mt == null) return;
4364
- (Ze === "toggle" ? ut : Xe)(mt, Ze === "add-unique"), i.multiple !== !0 && ((hr = B.value) == null || hr.focus(), Ve());
4364
+ (Ze === "toggle" ? ut : Xe)(mt, Ze === "add-unique"), i.multiple !== !0 && ((hr = E.value) == null || hr.focus(), Ve());
4365
4365
  };
4366
4366
  if (i.onNewValue !== void 0 ? t("newValue", a.value, $e) : $e(a.value), i.multiple !== !0) return;
4367
4367
  }
4368
- o.value === !0 ? pe() : A.innerLoading.value !== !0 && Se();
4368
+ o.value === !0 ? pe() : M.innerLoading.value !== !0 && Se();
4369
4369
  }
4370
4370
  }
4371
4371
  function Ln() {
4372
- return m === !0 ? I.value : q.value !== null && q.value.contentEl !== null ? q.value.contentEl : void 0;
4372
+ return m === !0 ? V.value : D.value !== null && D.value.contentEl !== null ? D.value.contentEl : void 0;
4373
4373
  }
4374
4374
  function dn() {
4375
4375
  return Ln();
@@ -4377,7 +4377,7 @@ const zo = Je({
4377
4377
  function es() {
4378
4378
  return i.hideSelected === !0 ? [] : e["selected-item"] !== void 0 ? Bt.value.map((_) => e["selected-item"](_)).slice() : e.selected !== void 0 ? [].concat(e.selected()) : i.useChips === !0 ? Bt.value.map((_, he) => O(Em, {
4379
4379
  key: "option-" + he,
4380
- removable: A.editable.value === !0 && ve.value(_.opt) !== !0,
4380
+ removable: M.editable.value === !0 && ve.value(_.opt) !== !0,
4381
4381
  dense: !0,
4382
4382
  textColor: i.color,
4383
4383
  tabindex: wt.value,
@@ -4409,12 +4409,12 @@ const zo = Je({
4409
4409
  })
4410
4410
  )
4411
4411
  ));
4412
- let he = F("div", dt.value.map(_));
4412
+ let he = I("div", dt.value.map(_));
4413
4413
  return e["before-options"] !== void 0 && (he = e["before-options"]().concat(he)), xn(e["after-options"], he);
4414
4414
  }
4415
4415
  function Yr(_, he) {
4416
- const me = he === !0 ? { ..._t.value, ...A.splitAttrs.attributes.value } : void 0, _e = {
4417
- ref: he === !0 ? B : void 0,
4416
+ const me = he === !0 ? { ..._t.value, ...M.splitAttrs.attributes.value } : void 0, _e = {
4417
+ ref: he === !0 ? E : void 0,
4418
4418
  key: "i_t",
4419
4419
  class: ce.value,
4420
4420
  style: i.inputStyle,
@@ -4422,7 +4422,7 @@ const zo = Je({
4422
4422
  // required for Android in order to show ENTER key when in form
4423
4423
  type: "search",
4424
4424
  ...me,
4425
- id: he === !0 ? A.targetUid.value : void 0,
4425
+ id: he === !0 ? M.targetUid.value : void 0,
4426
4426
  maxlength: i.maxlength,
4427
4427
  autocomplete: i.autocomplete,
4428
4428
  "data-autofocus": _ === !0 || i.autofocus === !0 || void 0,
@@ -4433,7 +4433,7 @@ const zo = Je({
4433
4433
  return _ !== !0 && m === !0 && (Array.isArray(_e.class) === !0 ? _e.class = [..._e.class, "no-pointer-events"] : _e.class += " no-pointer-events"), O("input", _e);
4434
4434
  }
4435
4435
  function cr(_) {
4436
- h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), !(_ && _.target && _.target.qComposing === !0) && (In(_.target.value || ""), p = !0, y = a.value, A.focused.value !== !0 && (m !== !0 || u.value === !0) && A.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
4436
+ h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), !(_ && _.target && _.target.qComposing === !0) && (In(_.target.value || ""), p = !0, y = a.value, M.focused.value !== !0 && (m !== !0 || u.value === !0) && M.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
4437
4437
  h = null, Ri(a.value);
4438
4438
  }, i.inputDebounce)));
4439
4439
  }
@@ -4446,8 +4446,8 @@ const zo = Je({
4446
4446
  p = me !== !0, i.useInput === !0 && (In(_, !0), (he === !0 || me !== !0) && (y = _), he !== !0 && Ri(_));
4447
4447
  }
4448
4448
  function Ri(_, he, me) {
4449
- if (i.onFilter === void 0 || he !== !0 && A.focused.value !== !0) return;
4450
- A.innerLoading.value === !0 ? t("filterAbort") : (A.innerLoading.value = !0, c.value = !0), _ !== "" && i.multiple !== !0 && T.value.length !== 0 && p !== !0 && _ === X.value(T.value[0]) && (_ = "");
4449
+ if (i.onFilter === void 0 || he !== !0 && M.focused.value !== !0) return;
4450
+ M.innerLoading.value === !0 ? t("filterAbort") : (M.innerLoading.value = !0, c.value = !0), _ !== "" && i.multiple !== !0 && q.value.length !== 0 && p !== !0 && _ === X.value(q.value[0]) && (_ = "");
4451
4451
  const _e = setTimeout(() => {
4452
4452
  o.value === !0 && (o.value = !1);
4453
4453
  }, 10);
@@ -4455,8 +4455,8 @@ const zo = Je({
4455
4455
  "filter",
4456
4456
  _,
4457
4457
  ($e, mt) => {
4458
- (he === !0 || A.focused.value === !0) && g === _e && (clearTimeout(g), typeof $e == "function" && $e(), c.value = !1, rt(() => {
4459
- A.innerLoading.value = !1, A.editable.value === !0 && (he === !0 ? o.value === !0 && Ve() : o.value === !0 ? la(!0) : o.value = !0), typeof mt == "function" && rt(() => {
4458
+ (he === !0 || M.focused.value === !0) && g === _e && (clearTimeout(g), typeof $e == "function" && $e(), c.value = !1, rt(() => {
4459
+ M.innerLoading.value = !1, M.editable.value === !0 && (he === !0 ? o.value === !0 && Ve() : o.value === !0 ? la(!0) : o.value = !0), typeof mt == "function" && rt(() => {
4460
4460
  mt(n);
4461
4461
  }), typeof me == "function" && rt(() => {
4462
4462
  me(n);
@@ -4464,13 +4464,13 @@ const zo = Je({
4464
4464
  }));
4465
4465
  },
4466
4466
  () => {
4467
- A.focused.value === !0 && g === _e && (clearTimeout(g), A.innerLoading.value = !1, c.value = !1), o.value === !0 && (o.value = !1);
4467
+ M.focused.value === !0 && g === _e && (clearTimeout(g), M.innerLoading.value = !1, c.value = !1), o.value === !0 && (o.value = !1);
4468
4468
  }
4469
4469
  );
4470
4470
  }
4471
4471
  function ra() {
4472
4472
  return O(Xm, {
4473
- ref: q,
4473
+ ref: D,
4474
4474
  class: se.value,
4475
4475
  style: i.popupContentStyle,
4476
4476
  modelValue: o.value,
@@ -4504,7 +4504,7 @@ const zo = Je({
4504
4504
  }
4505
4505
  function S(_) {
4506
4506
  var he;
4507
- hi(_), (he = B.value) == null || he.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4507
+ hi(_), (he = E.value) == null || he.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4508
4508
  }
4509
4509
  function L(_) {
4510
4510
  hi(_), rt(() => {
@@ -4514,28 +4514,28 @@ const zo = Je({
4514
4514
  function W() {
4515
4515
  const _ = [
4516
4516
  O(rb, {
4517
- class: `col-auto ${A.fieldClass.value}`,
4517
+ class: `col-auto ${M.fieldClass.value}`,
4518
4518
  ...j.value,
4519
- for: A.targetUid.value,
4519
+ for: M.targetUid.value,
4520
4520
  dark: J.value,
4521
4521
  square: !0,
4522
4522
  loading: c.value,
4523
4523
  itemAligned: !1,
4524
4524
  filled: !0,
4525
4525
  stackLabel: a.value.length !== 0,
4526
- ...A.splitAttrs.listeners.value,
4526
+ ...M.splitAttrs.listeners.value,
4527
4527
  onFocus: S,
4528
4528
  onBlur: L
4529
4529
  }, {
4530
4530
  ...e,
4531
- rawControl: () => A.getControl(!0),
4531
+ rawControl: () => M.getControl(!0),
4532
4532
  before: void 0,
4533
4533
  after: void 0
4534
4534
  })
4535
4535
  ];
4536
4536
  return o.value === !0 && _.push(
4537
4537
  O("div", {
4538
- ref: I,
4538
+ ref: V,
4539
4539
  class: se.value + " scroll",
4540
4540
  style: i.popupContentStyle,
4541
4541
  ...Yt.value,
@@ -4543,7 +4543,7 @@ const zo = Je({
4543
4543
  onScrollPassive: N
4544
4544
  }, Xi())
4545
4545
  ), O($m, {
4546
- ref: V,
4546
+ ref: F,
4547
4547
  modelValue: s.value,
4548
4548
  position: i.useInput === !0 ? "top" : void 0,
4549
4549
  transitionShow: k,
@@ -4559,31 +4559,31 @@ const zo = Je({
4559
4559
  }, _));
4560
4560
  }
4561
4561
  function ne(_) {
4562
- lh(_), V.value !== null && V.value.__updateRefocusTarget(
4563
- A.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
4564
- ), A.focused.value = !1;
4562
+ lh(_), F.value !== null && F.value.__updateRefocusTarget(
4563
+ M.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
4564
+ ), M.focused.value = !1;
4565
4565
  }
4566
4566
  function fe(_) {
4567
- Ve(), A.focused.value === !1 && t("blur", _), pi();
4567
+ Ve(), M.focused.value === !1 && t("blur", _), pi();
4568
4568
  }
4569
4569
  function Te() {
4570
4570
  const _ = document.activeElement;
4571
- (_ === null || _.id !== A.targetUid.value) && B.value !== null && B.value !== _ && B.value.focus(), Y();
4571
+ (_ === null || _.id !== M.targetUid.value) && E.value !== null && E.value !== _ && E.value.focus(), Y();
4572
4572
  }
4573
4573
  function pe() {
4574
- s.value !== !0 && (l.value = -1, o.value === !0 && (o.value = !1), A.focused.value === !1 && (g !== null && (clearTimeout(g), g = null), A.innerLoading.value === !0 && (t("filterAbort"), A.innerLoading.value = !1, c.value = !1)));
4574
+ s.value !== !0 && (l.value = -1, o.value === !0 && (o.value = !1), M.focused.value === !1 && (g !== null && (clearTimeout(g), g = null), M.innerLoading.value === !0 && (t("filterAbort"), M.innerLoading.value = !1, c.value = !1)));
4575
4575
  }
4576
4576
  function Se(_) {
4577
- A.editable.value === !0 && (m === !0 ? (A.onControlFocusin(_), s.value = !0, rt(() => {
4578
- A.focus();
4579
- })) : A.focus(), i.onFilter !== void 0 ? Ri(a.value) : (Be.value !== !0 || e["no-option"] !== void 0) && (o.value = !0));
4577
+ M.editable.value === !0 && (m === !0 ? (M.onControlFocusin(_), s.value = !0, rt(() => {
4578
+ M.focus();
4579
+ })) : M.focus(), i.onFilter !== void 0 ? Ri(a.value) : (Be.value !== !0 || e["no-option"] !== void 0) && (o.value = !0));
4580
4580
  }
4581
4581
  function Ve() {
4582
4582
  s.value = !1, pe();
4583
4583
  }
4584
4584
  function pi() {
4585
4585
  i.useInput === !0 && Vn(
4586
- i.multiple !== !0 && i.fillInput === !0 && T.value.length !== 0 && X.value(T.value[0]) || "",
4586
+ i.multiple !== !0 && i.fillInput === !0 && q.value.length !== 0 && X.value(q.value[0]) || "",
4587
4587
  !0,
4588
4588
  !0
4589
4589
  );
@@ -4591,8 +4591,8 @@ const zo = Je({
4591
4591
  function la(_) {
4592
4592
  let he = -1;
4593
4593
  if (_ === !0) {
4594
- if (T.value.length !== 0) {
4595
- const me = at.value(T.value[0]);
4594
+ if (q.value.length !== 0) {
4595
+ const me = at.value(q.value[0]);
4596
4596
  he = i.options.findIndex((_e) => yn(at.value(_e), me));
4597
4597
  }
4598
4598
  H(he);
@@ -4600,18 +4600,18 @@ const zo = Je({
4600
4600
  Q(he);
4601
4601
  }
4602
4602
  function A0(_, he) {
4603
- o.value === !0 && A.innerLoading.value === !1 && (H(-1, !0), rt(() => {
4604
- o.value === !0 && A.innerLoading.value === !1 && (_ > he ? H() : la(!0));
4603
+ o.value === !0 && M.innerLoading.value === !1 && (H(-1, !0), rt(() => {
4604
+ o.value === !0 && M.innerLoading.value === !1 && (_ > he ? H() : la(!0));
4605
4605
  }));
4606
4606
  }
4607
4607
  function oh() {
4608
- s.value === !1 && q.value !== null && q.value.updatePosition();
4608
+ s.value === !1 && D.value !== null && D.value.updatePosition();
4609
4609
  }
4610
4610
  function sh(_) {
4611
- _ !== void 0 && hi(_), t("popupShow", _), A.hasPopupOpen = !0, A.onControlFocusin(_);
4611
+ _ !== void 0 && hi(_), t("popupShow", _), M.hasPopupOpen = !0, M.onControlFocusin(_);
4612
4612
  }
4613
4613
  function lh(_) {
4614
- _ !== void 0 && hi(_), t("popupHide", _), A.hasPopupOpen = !1, A.onControlFocusout(_);
4614
+ _ !== void 0 && hi(_), t("popupHide", _), M.hasPopupOpen = !1, M.onControlFocusout(_);
4615
4615
  }
4616
4616
  function ah() {
4617
4617
  m = r.platform.is.mobile !== !0 && i.behavior !== "dialog" ? !1 : i.behavior !== "menu" && (i.useInput === !0 ? e["no-option"] !== void 0 || i.onFilter !== void 0 || Be.value === !1 : !0), k = r.platform.is.ios === !0 && m === !0 && i.useInput === !0 ? "fade" : i.transitionShow;
@@ -4635,36 +4635,36 @@ const zo = Je({
4635
4635
  isOptionDisabled: (..._) => ve.value.apply(null, _) === !0,
4636
4636
  getOptionValue: (..._) => at.value.apply(null, _),
4637
4637
  getOptionLabel: (..._) => X.value.apply(null, _)
4638
- }), Object.assign(A, {
4639
- innerValue: T,
4638
+ }), Object.assign(M, {
4639
+ innerValue: q,
4640
4640
  fieldClass: b(
4641
4641
  () => `q-select q-field--auto-height q-select--with${i.useInput !== !0 ? "out" : ""}-input q-select--with${i.useChips !== !0 ? "out" : ""}-chips q-select--${i.multiple === !0 ? "multiple" : "single"}`
4642
4642
  ),
4643
4643
  inputRef: C,
4644
- targetRef: B,
4644
+ targetRef: E,
4645
4645
  hasValue: oe,
4646
4646
  showPopup: Se,
4647
4647
  floatingLabel: b(
4648
4648
  () => i.hideSelected !== !0 && oe.value === !0 || typeof a.value == "number" || a.value.length !== 0 || xo(i.displayValue)
4649
4649
  ),
4650
4650
  getControlChild: () => {
4651
- if (A.editable.value !== !1 && (s.value === !0 || Be.value !== !0 || e["no-option"] !== void 0))
4651
+ if (M.editable.value !== !1 && (s.value === !0 || Be.value !== !0 || e["no-option"] !== void 0))
4652
4652
  return m === !0 ? W() : ra();
4653
- A.hasPopupOpen === !0 && (A.hasPopupOpen = !1);
4653
+ M.hasPopupOpen === !0 && (M.hasPopupOpen = !1);
4654
4654
  },
4655
4655
  controlEvents: {
4656
4656
  onFocusin(_) {
4657
- A.onControlFocusin(_);
4657
+ M.onControlFocusin(_);
4658
4658
  },
4659
4659
  onFocusout(_) {
4660
- A.onControlFocusout(_, () => {
4660
+ M.onControlFocusout(_, () => {
4661
4661
  pi(), pe();
4662
4662
  });
4663
4663
  },
4664
4664
  onClick(_) {
4665
4665
  var he;
4666
4666
  if (Zt(_), m !== !0 && o.value === !0) {
4667
- pe(), (he = B.value) == null || he.focus();
4667
+ pe(), (he = E.value) == null || he.focus();
4668
4668
  return;
4669
4669
  }
4670
4670
  Se(_);
@@ -4674,14 +4674,14 @@ const zo = Je({
4674
4674
  const he = es(), me = _ === !0 || s.value !== !0 || m !== !0;
4675
4675
  if (i.useInput === !0)
4676
4676
  he.push(Yr(_, me));
4677
- else if (A.editable.value === !0) {
4677
+ else if (M.editable.value === !0) {
4678
4678
  const $e = me === !0 ? _t.value : void 0;
4679
4679
  he.push(
4680
4680
  O("input", {
4681
- ref: me === !0 ? B : void 0,
4681
+ ref: me === !0 ? E : void 0,
4682
4682
  key: "d_t",
4683
4683
  class: "q-select__focus-target",
4684
- id: me === !0 ? A.targetUid.value : void 0,
4684
+ id: me === !0 ? M.targetUid.value : void 0,
4685
4685
  value: et.value,
4686
4686
  readonly: !0,
4687
4687
  "data-autofocus": _ === !0 || i.autofocus === !0 || void 0,
@@ -4699,21 +4699,21 @@ const zo = Je({
4699
4699
  })
4700
4700
  );
4701
4701
  }
4702
- if (E.value !== void 0 && i.disable !== !0 && we.value.length !== 0) {
4702
+ if (B.value !== void 0 && i.disable !== !0 && we.value.length !== 0) {
4703
4703
  const $e = we.value.map((mt) => O("option", { value: mt, selected: !0 }));
4704
4704
  he.push(
4705
4705
  O("select", {
4706
4706
  class: "hidden",
4707
- name: E.value,
4707
+ name: B.value,
4708
4708
  multiple: i.multiple
4709
4709
  }, $e)
4710
4710
  );
4711
4711
  }
4712
- const _e = i.useInput === !0 || me !== !0 ? void 0 : A.splitAttrs.attributes.value;
4712
+ const _e = i.useInput === !0 || me !== !0 ? void 0 : M.splitAttrs.attributes.value;
4713
4713
  return O("div", {
4714
4714
  class: "q-field__native row items-center",
4715
4715
  ..._e,
4716
- ...A.splitAttrs.listeners.value
4716
+ ...M.splitAttrs.listeners.value
4717
4717
  }, he);
4718
4718
  },
4719
4719
  getInnerAppend: () => i.loading !== !0 && c.value !== !0 && i.hideDropdownIcon !== !0 ? [
@@ -4722,7 +4722,7 @@ const zo = Je({
4722
4722
  name: gi.value
4723
4723
  })
4724
4724
  ] : null
4725
- }), dc(A);
4725
+ }), dc(M);
4726
4726
  }
4727
4727
  }), jb = /* @__PURE__ */ Pt({
4728
4728
  __name: "QuasarEnumField",
@@ -4762,9 +4762,9 @@ const zo = Je({
4762
4762
  // We control this via useFilter
4763
4763
  hideSelected: C,
4764
4764
  // We control this via useFilter
4765
- ...B
4765
+ ...E
4766
4766
  } = g;
4767
- return B;
4767
+ return E;
4768
4768
  }), h = b(() => {
4769
4769
  if (!t.schema.enum) return [];
4770
4770
  const g = t.schema["x-enum-labels"];
@@ -5011,118 +5011,118 @@ const It = Je({
5011
5011
  keyCodes: a.value === !0 ? [13, 32] : [13],
5012
5012
  ...i.ripple === !0 ? {} : i.ripple
5013
5013
  }), v = b(() => ({ center: i.round })), x = b(() => {
5014
- const M = Math.max(0, Math.min(100, i.percentage));
5015
- return M > 0 ? { transition: "transform 0.6s", transform: `translateX(${M - 100}%)` } : {};
5014
+ const w = Math.max(0, Math.min(100, i.percentage));
5015
+ return w > 0 ? { transition: "transform 0.6s", transform: `translateX(${w - 100}%)` } : {};
5016
5016
  }), C = b(() => {
5017
5017
  if (i.loading === !0)
5018
5018
  return {
5019
- onMousedown: w,
5020
- onTouchstart: w,
5021
- onClick: w,
5022
- onKeydown: w,
5023
- onKeyup: w
5019
+ onMousedown: T,
5020
+ onTouchstart: T,
5021
+ onClick: T,
5022
+ onKeydown: T,
5023
+ onKeyup: T
5024
5024
  };
5025
5025
  if (h.value === !0) {
5026
- const M = {
5027
- onClick: q,
5028
- onKeydown: V,
5029
- onMousedown: E
5026
+ const w = {
5027
+ onClick: D,
5028
+ onKeydown: F,
5029
+ onMousedown: B
5030
5030
  };
5031
5031
  if (n.$q.platform.has.touch === !0) {
5032
- const D = i.onTouchstart !== void 0 ? "" : "Passive";
5033
- M[`onTouchstart${D}`] = I;
5032
+ const A = i.onTouchstart !== void 0 ? "" : "Passive";
5033
+ w[`onTouchstart${A}`] = V;
5034
5034
  }
5035
- return M;
5035
+ return w;
5036
5036
  }
5037
5037
  return {
5038
5038
  // needed; especially for disabled <a> tags
5039
5039
  onClick: ct
5040
5040
  };
5041
- }), B = b(() => ({
5041
+ }), E = b(() => ({
5042
5042
  ref: f,
5043
5043
  class: "q-btn q-btn-item non-selectable no-outline " + r.value,
5044
5044
  style: o.value,
5045
5045
  ...l.value,
5046
5046
  ...C.value
5047
5047
  }));
5048
- function q(M) {
5048
+ function D(w) {
5049
5049
  if (f.value !== null) {
5050
- if (M !== void 0) {
5051
- if (M.defaultPrevented === !0) return;
5052
- const D = document.activeElement;
5053
- if (i.type === "submit" && D !== document.body && f.value.contains(D) === !1 && D.contains(f.value) === !1) {
5054
- M.qAvoidFocus !== !0 && f.value.focus();
5050
+ if (w !== void 0) {
5051
+ if (w.defaultPrevented === !0) return;
5052
+ const A = document.activeElement;
5053
+ if (i.type === "submit" && A !== document.body && f.value.contains(A) === !1 && A.contains(f.value) === !1) {
5054
+ w.qAvoidFocus !== !0 && f.value.focus();
5055
5055
  const H = () => {
5056
- var F;
5057
- document.removeEventListener("keydown", ct, !0), document.removeEventListener("keyup", H, vi), (F = f.value) == null || F.removeEventListener("blur", H, vi);
5056
+ var I;
5057
+ document.removeEventListener("keydown", ct, !0), document.removeEventListener("keyup", H, vi), (I = f.value) == null || I.removeEventListener("blur", H, vi);
5058
5058
  };
5059
5059
  document.addEventListener("keydown", ct, !0), document.addEventListener("keyup", H, vi), f.value.addEventListener("blur", H, vi);
5060
5060
  }
5061
5061
  }
5062
- c(M);
5062
+ c(w);
5063
5063
  }
5064
5064
  }
5065
- function V(M) {
5066
- f.value !== null && (t("keydown", M), an(M, [13, 32]) === !0 && dr !== f.value && (dr !== null && R(), M.defaultPrevented !== !0 && (M.qAvoidFocus !== !0 && f.value.focus(), dr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("keyup", P, !0), f.value.addEventListener("blur", P, vi)), ct(M)));
5065
+ function F(w) {
5066
+ f.value !== null && (t("keydown", w), an(w, [13, 32]) === !0 && dr !== f.value && (dr !== null && R(), w.defaultPrevented !== !0 && (w.qAvoidFocus !== !0 && f.value.focus(), dr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("keyup", P, !0), f.value.addEventListener("blur", P, vi)), ct(w)));
5067
5067
  }
5068
- function I(M) {
5069
- f.value !== null && (t("touchstart", M), M.defaultPrevented !== !0 && (fr !== f.value && (fr !== null && R(), fr = f.value, m = M.target, m.addEventListener("touchcancel", P, vi), m.addEventListener("touchend", P, vi)), p = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
5068
+ function V(w) {
5069
+ f.value !== null && (t("touchstart", w), w.defaultPrevented !== !0 && (fr !== f.value && (fr !== null && R(), fr = f.value, m = w.target, m.addEventListener("touchcancel", P, vi), m.addEventListener("touchend", P, vi)), p = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
5070
5070
  g = null, p = !1;
5071
5071
  }, 200)));
5072
5072
  }
5073
- function E(M) {
5074
- f.value !== null && (M.qSkipRipple = p === !0, t("mousedown", M), M.defaultPrevented !== !0 && mr !== f.value && (mr !== null && R(), mr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("mouseup", P, vi)));
5073
+ function B(w) {
5074
+ f.value !== null && (w.qSkipRipple = p === !0, t("mousedown", w), w.defaultPrevented !== !0 && mr !== f.value && (mr !== null && R(), mr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("mouseup", P, vi)));
5075
5075
  }
5076
- function P(M) {
5077
- if (f.value !== null && !((M == null ? void 0 : M.type) === "blur" && document.activeElement === f.value)) {
5078
- if ((M == null ? void 0 : M.type) === "keyup") {
5079
- if (dr === f.value && an(M, [13, 32]) === !0) {
5080
- const D = new MouseEvent("click", M);
5081
- D.qKeyEvent = !0, M.defaultPrevented === !0 && Zt(D), M.cancelBubble === !0 && hi(D), f.value.dispatchEvent(D), ct(M), M.qKeyEvent = !0;
5076
+ function P(w) {
5077
+ if (f.value !== null && !((w == null ? void 0 : w.type) === "blur" && document.activeElement === f.value)) {
5078
+ if ((w == null ? void 0 : w.type) === "keyup") {
5079
+ if (dr === f.value && an(w, [13, 32]) === !0) {
5080
+ const A = new MouseEvent("click", w);
5081
+ A.qKeyEvent = !0, w.defaultPrevented === !0 && Zt(A), w.cancelBubble === !0 && hi(A), f.value.dispatchEvent(A), ct(w), w.qKeyEvent = !0;
5082
5082
  }
5083
- t("keyup", M);
5083
+ t("keyup", w);
5084
5084
  }
5085
5085
  R();
5086
5086
  }
5087
5087
  }
5088
- function R(M) {
5089
- var H, F;
5090
- const D = d.value;
5091
- M !== !0 && (fr === f.value || mr === f.value) && D !== null && D !== document.activeElement && (D.setAttribute("tabindex", -1), D.focus()), fr === f.value && (m !== null && (m.removeEventListener("touchcancel", P, vi), m.removeEventListener("touchend", P, vi)), fr = m = null), mr === f.value && (document.removeEventListener("mouseup", P, vi), mr = null), dr === f.value && (document.removeEventListener("keyup", P, !0), (H = f.value) == null || H.removeEventListener("blur", P, vi), dr = null), (F = f.value) == null || F.classList.remove("q-btn--active");
5088
+ function R(w) {
5089
+ var H, I;
5090
+ const A = d.value;
5091
+ w !== !0 && (fr === f.value || mr === f.value) && A !== null && A !== document.activeElement && (A.setAttribute("tabindex", -1), A.focus()), fr === f.value && (m !== null && (m.removeEventListener("touchcancel", P, vi), m.removeEventListener("touchend", P, vi)), fr = m = null), mr === f.value && (document.removeEventListener("mouseup", P, vi), mr = null), dr === f.value && (document.removeEventListener("keyup", P, !0), (H = f.value) == null || H.removeEventListener("blur", P, vi), dr = null), (I = f.value) == null || I.classList.remove("q-btn--active");
5092
5092
  }
5093
- function w(M) {
5094
- ct(M), M.qSkipRipple = !0;
5093
+ function T(w) {
5094
+ ct(w), w.qSkipRipple = !0;
5095
5095
  }
5096
5096
  return ht(() => {
5097
5097
  R(!0);
5098
5098
  }), Object.assign(n, {
5099
- click: (M) => {
5100
- h.value === !0 && q(M);
5099
+ click: (w) => {
5100
+ h.value === !0 && D(w);
5101
5101
  }
5102
5102
  }), () => {
5103
- let M = [];
5104
- i.icon !== void 0 && M.push(
5103
+ let w = [];
5104
+ i.icon !== void 0 && w.push(
5105
5105
  O(kt, {
5106
5106
  name: i.icon,
5107
5107
  left: i.stack !== !0 && y.value === !0,
5108
5108
  role: "img"
5109
5109
  })
5110
- ), y.value === !0 && M.push(
5110
+ ), y.value === !0 && w.push(
5111
5111
  O("span", { class: "block" }, [i.label])
5112
- ), M = xn(e.default, M), i.iconRight !== void 0 && i.round === !1 && M.push(
5112
+ ), w = xn(e.default, w), i.iconRight !== void 0 && i.round === !1 && w.push(
5113
5113
  O(kt, {
5114
5114
  name: i.iconRight,
5115
5115
  right: i.stack !== !0 && y.value === !0,
5116
5116
  role: "img"
5117
5117
  })
5118
5118
  );
5119
- const D = [
5119
+ const A = [
5120
5120
  O("span", {
5121
5121
  class: "q-focus-helper",
5122
5122
  ref: d
5123
5123
  })
5124
5124
  ];
5125
- return i.loading === !0 && i.percentage !== void 0 && D.push(
5125
+ return i.loading === !0 && i.percentage !== void 0 && A.push(
5126
5126
  O("span", {
5127
5127
  class: "q-btn__progress absolute-full overflow-hidden" + (i.darkPercentage === !0 ? " q-btn__progress--dark" : "")
5128
5128
  }, [
@@ -5131,11 +5131,11 @@ const It = Je({
5131
5131
  style: x.value
5132
5132
  })
5133
5133
  ])
5134
- ), D.push(
5134
+ ), A.push(
5135
5135
  O("span", {
5136
5136
  class: "q-btn__content text-center col items-center q-anchor--skip " + s.value
5137
- }, M)
5138
- ), i.loading !== null && D.push(
5137
+ }, w)
5138
+ ), i.loading !== null && A.push(
5139
5139
  O(fi, {
5140
5140
  name: "q-transition--fade"
5141
5141
  }, () => i.loading === !0 ? [
@@ -5147,8 +5147,8 @@ const It = Je({
5147
5147
  ), Rn(
5148
5148
  O(
5149
5149
  u.value,
5150
- B.value,
5151
- D
5150
+ E.value,
5151
+ A
5152
5152
  ),
5153
5153
  [[
5154
5154
  gc,
@@ -6038,12 +6038,12 @@ const fg = Je({
6038
6038
  setup(i, { slots: e, emit: t }) {
6039
6039
  const { proxy: n } = je(), { $q: r } = n, o = Ji(i, r), { getCache: s } = e1(), { tabindex: l, headerClass: a, getLocale: u, getCurrentDate: c } = sg(i, r);
6040
6040
  let h;
6041
- const f = Dm(i), d = mc(f), m = G(null), p = G(Xe()), g = G(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = G(Q(p.value, g.value)), C = G(i.defaultView), B = b(() => r.lang.rtl === !0 ? "right" : "left"), q = G(B.value), V = G(B.value), I = x.value.year, E = G(I - I % $i - (I < 0 ? $i : 0)), P = G(null), R = b(() => {
6041
+ const f = Dm(i), d = mc(f), m = G(null), p = G(Xe()), g = G(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = G(Q(p.value, g.value)), C = G(i.defaultView), E = b(() => r.lang.rtl === !0 ? "right" : "left"), D = G(E.value), F = G(E.value), V = x.value.year, B = G(V - V % $i - (V < 0 ? $i : 0)), P = G(null), R = b(() => {
6042
6042
  const S = i.landscape === !0 ? "landscape" : "portrait";
6043
6043
  return `q-date q-date--${S} q-date--${S}-${i.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (i.bordered === !0 ? " q-date--bordered" : "") + (i.square === !0 ? " q-date--square no-border-radius" : "") + (i.flat === !0 ? " q-date--flat no-shadow" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-date--readonly" : "");
6044
- }), w = b(() => i.color || "primary"), M = b(() => i.textColor || "white"), D = b(
6044
+ }), T = b(() => i.color || "primary"), w = b(() => i.textColor || "white"), A = b(
6045
6045
  () => i.emitImmediately === !0 && i.multiple !== !0 && i.range !== !0
6046
- ), H = b(() => Array.isArray(i.modelValue) === !0 ? i.modelValue : i.modelValue !== null && i.modelValue !== void 0 ? [i.modelValue] : []), F = b(
6046
+ ), H = b(() => Array.isArray(i.modelValue) === !0 ? i.modelValue : i.modelValue !== null && i.modelValue !== void 0 ? [i.modelValue] : []), I = b(
6047
6047
  () => H.value.filter((S) => typeof S == "string").map((S) => ut(S, p.value, g.value)).filter(
6048
6048
  (S) => S.dateHash !== null && S.day !== null && S.month !== null && S.year !== null
6049
6049
  )
@@ -6067,37 +6067,37 @@ const fg = Je({
6067
6067
  W === void 0 ? g.value : W,
6068
6068
  S.year,
6069
6069
  S.timezoneOffset
6070
- )), A = b(
6071
- () => F.value.length + N.value.reduce(
6070
+ )), M = b(
6071
+ () => I.value.length + N.value.reduce(
6072
6072
  (S, L) => S + 1 + cg(
6073
6073
  K.value(L.to),
6074
6074
  K.value(L.from)
6075
6075
  ),
6076
6076
  0
6077
6077
  )
6078
- ), T = b(() => {
6078
+ ), q = b(() => {
6079
6079
  if (i.title !== void 0 && i.title !== null && i.title.length !== 0)
6080
6080
  return i.title;
6081
6081
  if (P.value !== null) {
6082
6082
  const W = P.value.init, ne = K.value(W);
6083
6083
  return g.value.daysShort[ne.getDay()] + ", " + g.value.monthsShort[W.month - 1] + " " + W.day + pr + "?";
6084
6084
  }
6085
- if (A.value === 0)
6085
+ if (M.value === 0)
6086
6086
  return pr;
6087
- if (A.value > 1)
6088
- return `${A.value} ${g.value.pluralDay}`;
6089
- const S = F.value[0], L = K.value(S);
6087
+ if (M.value > 1)
6088
+ return `${M.value} ${g.value.pluralDay}`;
6089
+ const S = I.value[0], L = K.value(S);
6090
6090
  return isNaN(L.valueOf()) === !0 ? pr : g.value.headerTitle !== void 0 ? g.value.headerTitle(L, S) : g.value.daysShort[L.getDay()] + ", " + g.value.monthsShort[S.month - 1] + " " + S.day;
6091
- }), j = b(() => F.value.concat(N.value.map((L) => L.from)).sort((L, W) => L.year - W.year || L.month - W.month)[0]), J = b(() => F.value.concat(N.value.map((L) => L.to)).sort((L, W) => W.year - L.year || W.month - L.month)[0]), oe = b(() => {
6091
+ }), j = b(() => I.value.concat(N.value.map((L) => L.from)).sort((L, W) => L.year - W.year || L.month - W.month)[0]), J = b(() => I.value.concat(N.value.map((L) => L.to)).sort((L, W) => W.year - L.year || W.month - L.month)[0]), oe = b(() => {
6092
6092
  if (i.subtitle !== void 0 && i.subtitle !== null && i.subtitle.length !== 0)
6093
6093
  return i.subtitle;
6094
- if (A.value === 0)
6094
+ if (M.value === 0)
6095
6095
  return pr;
6096
- if (A.value > 1) {
6096
+ if (M.value > 1) {
6097
6097
  const S = j.value, L = J.value, W = g.value.monthsShort;
6098
6098
  return W[S.month - 1] + (S.year !== L.year ? " " + S.year + pr + W[L.month - 1] + " " : S.month !== L.month ? pr + W[L.month - 1] : "") + " " + L.year;
6099
6099
  }
6100
- return F.value[0].year;
6100
+ return I.value[0].year;
6101
6101
  }), ce = b(() => {
6102
6102
  const S = [r.iconSet.datetime.arrowLeft, r.iconSet.datetime.arrowRight];
6103
6103
  return r.lang.rtl === !0 ? S.reverse() : S;
@@ -6125,7 +6125,7 @@ const fg = Je({
6125
6125
  return Ie.value !== null && Ie.value.year >= x.value.year && (S.year.prev = !1, Ie.value.year === x.value.year && Ie.value.month >= x.value.month && (S.month.prev = !1)), Qe.value !== null && Qe.value.year <= x.value.year && (S.year.next = !1, Qe.value.year === x.value.year && Qe.value.month <= x.value.month && (S.month.next = !1)), S;
6126
6126
  }), _t = b(() => {
6127
6127
  const S = {};
6128
- return F.value.forEach((L) => {
6128
+ return I.value.forEach((L) => {
6129
6129
  const W = mn(L);
6130
6130
  S[W] === void 0 && (S[W] = []), S[W].push(L.day);
6131
6131
  }), S;
@@ -6211,8 +6211,8 @@ const fg = Je({
6211
6211
  selected: !0,
6212
6212
  unelevated: !0,
6213
6213
  flat: !1,
6214
- color: w.value,
6215
- textColor: M.value
6214
+ color: T.value,
6215
+ textColor: w.value
6216
6216
  });
6217
6217
  }), Yt.value[dt.value] !== void 0 && Yt.value[dt.value].forEach((pe) => {
6218
6218
  if (pe.from !== void 0) {
@@ -6221,8 +6221,8 @@ const fg = Je({
6221
6221
  Object.assign(S[pi], {
6222
6222
  range: pe.range,
6223
6223
  unelevated: !0,
6224
- color: w.value,
6225
- textColor: M.value
6224
+ color: T.value,
6225
+ textColor: w.value
6226
6226
  });
6227
6227
  Object.assign(S[Se], {
6228
6228
  rangeFrom: !0,
@@ -6237,8 +6237,8 @@ const fg = Je({
6237
6237
  Object.assign(S[Ve], {
6238
6238
  range: pe.range,
6239
6239
  unelevated: !0,
6240
- color: w.value,
6241
- textColor: M.value
6240
+ color: T.value,
6241
+ textColor: w.value
6242
6242
  });
6243
6243
  Object.assign(S[Se], {
6244
6244
  flat: !1,
@@ -6250,14 +6250,14 @@ const fg = Je({
6250
6250
  Object.assign(S[Ve], {
6251
6251
  range: pe.range,
6252
6252
  unelevated: !0,
6253
- color: w.value,
6254
- textColor: M.value
6253
+ color: T.value,
6254
+ textColor: w.value
6255
6255
  });
6256
6256
  }
6257
6257
  }), Bt.value !== void 0) {
6258
6258
  const pe = fe + Bt.value.from - 1, Se = fe + Bt.value.to - 1;
6259
6259
  for (let Ve = pe; Ve <= Se; Ve++)
6260
- S[Ve].color = w.value, S[Ve].editRange = !0;
6260
+ S[Ve].color = T.value, S[Ve].editRange = !0;
6261
6261
  Bt.value.includeFrom === !0 && (S[pe].editRangeFrom = !0), Bt.value.includeTo === !0 && (S[Se].editRangeTo = !0);
6262
6262
  }
6263
6263
  x.value.year === v.value.year && x.value.month === v.value.month && (S[fe + v.value.day - 1].today = !0);
@@ -6375,17 +6375,17 @@ const fg = Je({
6375
6375
  }
6376
6376
  function be(S) {
6377
6377
  let L = x.value.year, W = Number(x.value.month) + S;
6378
- W === 13 ? (W = 1, L++) : W === 0 && (W = 12, L--), Rt(L, W), D.value === !0 && dn("month");
6378
+ W === 13 ? (W = 1, L++) : W === 0 && (W = 12, L--), Rt(L, W), A.value === !0 && dn("month");
6379
6379
  }
6380
6380
  function Ce(S) {
6381
6381
  const L = Number(x.value.year) + S;
6382
- Rt(L, x.value.month), D.value === !0 && dn("year");
6382
+ Rt(L, x.value.month), A.value === !0 && dn("year");
6383
6383
  }
6384
6384
  function Re(S) {
6385
- Rt(S, x.value.month), C.value = i.defaultView === "Years" ? "Months" : "Calendar", D.value === !0 && dn("year");
6385
+ Rt(S, x.value.month), C.value = i.defaultView === "Years" ? "Months" : "Calendar", A.value === !0 && dn("year");
6386
6386
  }
6387
6387
  function Nt(S) {
6388
- Rt(x.value.year, S), C.value = "Calendar", D.value === !0 && dn("month");
6388
+ Rt(x.value.year, S), C.value = "Calendar", A.value === !0 && dn("month");
6389
6389
  }
6390
6390
  function De(S, L) {
6391
6391
  const W = _t.value[L];
@@ -6400,8 +6400,8 @@ const fg = Je({
6400
6400
  Object.assign(x.value, { hour: fe, minute: Te, second: pe, millisecond: Se, timezoneOffset: Ve, timeHash: pi });
6401
6401
  }
6402
6402
  const ne = S + "/" + Fe(L) + "/01";
6403
- ne !== x.value.dateHash && (q.value = x.value.dateHash < ne == (r.lang.rtl !== !0) ? "left" : "right", S !== x.value.year && (V.value = q.value), rt(() => {
6404
- E.value = S - S % $i - (S < 0 ? $i : 0), Object.assign(x.value, {
6403
+ ne !== x.value.dateHash && (D.value = x.value.dateHash < ne == (r.lang.rtl !== !0) ? "left" : "right", S !== x.value.year && (F.value = D.value), rt(() => {
6404
+ B.value = S - S % $i - (S < 0 ? $i : 0), Object.assign(x.value, {
6405
6405
  year: S,
6406
6406
  month: L,
6407
6407
  day: 1,
@@ -6414,7 +6414,7 @@ const fg = Je({
6414
6414
  ve(ne), t("update:modelValue", ne, fe, Te);
6415
6415
  }
6416
6416
  function dn(S) {
6417
- const L = F.value[0] !== void 0 && F.value[0].dateHash !== null ? { ...F.value[0] } : { ...x.value };
6417
+ const L = I.value[0] !== void 0 && I.value[0].dateHash !== null ? { ...I.value[0] } : { ...x.value };
6418
6418
  rt(() => {
6419
6419
  L.year = x.value.year, L.month = x.value.month;
6420
6420
  const W = i.calendar !== "persian" ? new Date(L.year, L.month, 0).getDate() : Ls(L.year, L.month);
@@ -6443,7 +6443,7 @@ const fg = Je({
6443
6443
  let L;
6444
6444
  if (i.multiple === !0)
6445
6445
  if (S.from !== void 0) {
6446
- const W = Zi(S.from), ne = Zi(S.to), fe = F.value.filter((pe) => pe.dateHash < W || pe.dateHash > ne), Te = N.value.filter(({ from: pe, to: Se }) => Se.dateHash < W || pe.dateHash > ne);
6446
+ const W = Zi(S.from), ne = Zi(S.to), fe = I.value.filter((pe) => pe.dateHash < W || pe.dateHash > ne), Te = N.value.filter(({ from: pe, to: Se }) => Se.dateHash < W || pe.dateHash > ne);
6447
6447
  L = fe.concat(Te).concat(S).map((pe) => Xi(pe));
6448
6448
  } else {
6449
6449
  const W = H.value.slice();
@@ -6465,7 +6465,7 @@ const fg = Je({
6465
6465
  Ln(L, "remove", S);
6466
6466
  }
6467
6467
  function In(S, L, W) {
6468
- const ne = F.value.concat(N.value).map((Te) => Xi(Te, S, L)).filter((Te) => Te.from !== void 0 ? Te.from.dateHash !== null && Te.to.dateHash !== null : Te.dateHash !== null), fe = (i.multiple === !0 ? ne : ne[0]) || null;
6468
+ const ne = I.value.concat(N.value).map((Te) => Xi(Te, S, L)).filter((Te) => Te.from !== void 0 ? Te.from.dateHash !== null && Te.to.dateHash !== null : Te.dateHash !== null), fe = (i.multiple === !0 ? ne : ne[0]) || null;
6469
6469
  ve(fe), t("update:modelValue", fe, W);
6470
6470
  }
6471
6471
  function Vn() {
@@ -6501,7 +6501,7 @@ const fg = Je({
6501
6501
  O(fi, {
6502
6502
  name: "q-transition--fade"
6503
6503
  }, () => O("div", {
6504
- key: "h-sub" + T.value,
6504
+ key: "h-sub" + q.value,
6505
6505
  class: "q-date__header-title-label q-date__header-link " + (C.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
6506
6506
  tabindex: l.value,
6507
6507
  ...s("vC", {
@@ -6512,7 +6512,7 @@ const fg = Je({
6512
6512
  S.keyCode === 13 && (C.value = "Calendar");
6513
6513
  }
6514
6514
  })
6515
- }, [T.value]))
6515
+ }, [q.value]))
6516
6516
  ]),
6517
6517
  i.todayBtn === !0 ? O(It, {
6518
6518
  class: "q-date__header-today self-start",
@@ -6595,7 +6595,7 @@ const fg = Je({
6595
6595
  label: g.value.months[x.value.month - 1],
6596
6596
  type: "Months",
6597
6597
  key: x.value.month,
6598
- dir: q.value,
6598
+ dir: D.value,
6599
6599
  goTo: be,
6600
6600
  boundaries: wt.value.month,
6601
6601
  cls: " col"
@@ -6603,7 +6603,7 @@ const fg = Je({
6603
6603
  label: x.value.year,
6604
6604
  type: "Years",
6605
6605
  key: x.value.year,
6606
- dir: V.value,
6606
+ dir: F.value,
6607
6607
  goTo: Ce,
6608
6608
  boundaries: wt.value.year,
6609
6609
  cls: ""
@@ -6615,7 +6615,7 @@ const fg = Je({
6615
6615
  class: "q-date__calendar-days-container relative-position overflow-hidden"
6616
6616
  }, [
6617
6617
  O(fi, {
6618
- name: "q-transition--slide-" + q.value
6618
+ name: "q-transition--slide-" + D.value
6619
6619
  }, () => O("div", {
6620
6620
  key: dt.value,
6621
6621
  class: "q-date__calendar-days fit"
@@ -6657,8 +6657,8 @@ const fg = Je({
6657
6657
  flat: Te !== !0,
6658
6658
  label: ne,
6659
6659
  unelevated: Te,
6660
- color: Te === !0 ? w.value : null,
6661
- textColor: Te === !0 ? M.value : null,
6660
+ color: Te === !0 ? T.value : null,
6661
+ textColor: Te === !0 ? w.value : null,
6662
6662
  tabindex: l.value,
6663
6663
  disable: L(fe + 1),
6664
6664
  ...s("month#" + fe, { onClick: () => {
@@ -6673,7 +6673,7 @@ const fg = Je({
6673
6673
  label: x.value.year,
6674
6674
  type: "Years",
6675
6675
  key: x.value.year,
6676
- dir: V.value,
6676
+ dir: F.value,
6677
6677
  goTo: Ce,
6678
6678
  boundaries: wt.value.year,
6679
6679
  cls: " col"
@@ -6685,7 +6685,7 @@ const fg = Je({
6685
6685
  }, W);
6686
6686
  },
6687
6687
  Years() {
6688
- const S = E.value, L = S + $i, W = [], ne = (fe) => Ie.value !== null && Ie.value.year > fe || Qe.value !== null && Qe.value.year < fe;
6688
+ const S = B.value, L = S + $i, W = [], ne = (fe) => Ie.value !== null && Ie.value.year > fe || Qe.value !== null && Qe.value.year < fe;
6689
6689
  for (let fe = S; fe <= L; fe++) {
6690
6690
  const Te = x.value.year === fe;
6691
6691
  W.push(
@@ -6699,8 +6699,8 @@ const fg = Je({
6699
6699
  label: fe,
6700
6700
  dense: !0,
6701
6701
  unelevated: Te,
6702
- color: Te === !0 ? w.value : null,
6703
- textColor: Te === !0 ? M.value : null,
6702
+ color: Te === !0 ? T.value : null,
6703
+ textColor: Te === !0 ? w.value : null,
6704
6704
  tabindex: l.value,
6705
6705
  disable: ne(fe),
6706
6706
  ...s("yr#" + fe, { onClick: () => {
@@ -6725,7 +6725,7 @@ const fg = Je({
6725
6725
  tabindex: l.value,
6726
6726
  disable: ne(S),
6727
6727
  ...s("y-", { onClick: () => {
6728
- E.value -= $i;
6728
+ B.value -= $i;
6729
6729
  } })
6730
6730
  })
6731
6731
  ]),
@@ -6744,7 +6744,7 @@ const fg = Je({
6744
6744
  tabindex: l.value,
6745
6745
  disable: ne(L),
6746
6746
  ...s("y+", { onClick: () => {
6747
- E.value += $i;
6747
+ B.value += $i;
6748
6748
  } })
6749
6749
  })
6750
6750
  ])
@@ -7190,42 +7190,42 @@ const dg = Je({
7190
7190
  // initial locale
7191
7191
  i.calendar,
7192
7192
  y.value
7193
- ), v = G(b1(k)), x = G(k), C = G(k.hour === null || k.hour < 12), B = b(
7193
+ ), v = G(b1(k)), x = G(k), C = G(k.hour === null || k.hour < 12), E = b(
7194
7194
  () => `q-time q-time--${i.landscape === !0 ? "landscape" : "portrait"}` + (o.value === !0 ? " q-time--dark q-dark" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-time--readonly" : "") + (i.bordered === !0 ? " q-time--bordered" : "") + (i.square === !0 ? " q-time--square no-border-radius" : "") + (i.flat === !0 ? " q-time--flat no-shadow" : "")
7195
- ), q = b(() => {
7195
+ ), D = b(() => {
7196
7196
  const Q = x.value;
7197
7197
  return {
7198
- hour: Q.hour === null ? "--" : V.value === !0 ? Fe(Q.hour) : String(
7198
+ hour: Q.hour === null ? "--" : F.value === !0 ? Fe(Q.hour) : String(
7199
7199
  C.value === !0 ? Q.hour === 0 ? 12 : Q.hour : Q.hour > 12 ? Q.hour - 12 : Q.hour
7200
7200
  ),
7201
7201
  minute: Q.minute === null ? "--" : Fe(Q.minute),
7202
7202
  second: Q.second === null ? "--" : Fe(Q.second)
7203
7203
  };
7204
- }), V = b(() => i.format24h !== null ? i.format24h : r.lang.date.format24h), I = b(() => {
7204
+ }), F = b(() => i.format24h !== null ? i.format24h : r.lang.date.format24h), V = b(() => {
7205
7205
  const Q = v.value === "hour", $ = Q === !0 ? 12 : 60, be = x.value[v.value];
7206
7206
  let Re = `rotate(${Math.round(be * (360 / $)) - 180}deg) translateX(-50%)`;
7207
- return Q === !0 && V.value === !0 && x.value.hour >= 12 && (Re += " scale(.7)"), { transform: Re };
7208
- }), E = b(() => x.value.hour !== null), P = b(() => E.value === !0 && x.value.minute !== null), R = b(() => i.hourOptions !== void 0 ? (Q) => i.hourOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(Q, null, null) : null), w = b(() => i.minuteOptions !== void 0 ? (Q) => i.minuteOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, Q, null) : null), M = b(() => i.secondOptions !== void 0 ? (Q) => i.secondOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, x.value.minute, Q) : null), D = b(() => {
7207
+ return Q === !0 && F.value === !0 && x.value.hour >= 12 && (Re += " scale(.7)"), { transform: Re };
7208
+ }), B = b(() => x.value.hour !== null), P = b(() => B.value === !0 && x.value.minute !== null), R = b(() => i.hourOptions !== void 0 ? (Q) => i.hourOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(Q, null, null) : null), T = b(() => i.minuteOptions !== void 0 ? (Q) => i.minuteOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, Q, null) : null), w = b(() => i.secondOptions !== void 0 ? (Q) => i.secondOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, x.value.minute, Q) : null), A = b(() => {
7209
7209
  if (R.value === null)
7210
7210
  return null;
7211
- const Q = T(0, 11, R.value), $ = T(12, 11, R.value);
7211
+ const Q = q(0, 11, R.value), $ = q(12, 11, R.value);
7212
7212
  return { am: Q, pm: $, values: Q.values.concat($.values) };
7213
- }), H = b(() => w.value !== null ? T(0, 59, w.value) : null), F = b(() => M.value !== null ? T(0, 59, M.value) : null), N = b(() => {
7213
+ }), H = b(() => T.value !== null ? q(0, 59, T.value) : null), I = b(() => w.value !== null ? q(0, 59, w.value) : null), N = b(() => {
7214
7214
  switch (v.value) {
7215
7215
  case "hour":
7216
- return D.value;
7216
+ return A.value;
7217
7217
  case "minute":
7218
7218
  return H.value;
7219
7219
  case "second":
7220
- return F.value;
7220
+ return I.value;
7221
7221
  }
7222
7222
  }), K = b(() => {
7223
7223
  let Q, $, be = 0, Ce = 1;
7224
7224
  const Re = N.value !== null ? N.value.values : void 0;
7225
- v.value === "hour" ? V.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, C.value === !1 && (be = 12)) : (Q = 0, $ = 55, Ce = 5);
7225
+ v.value === "hour" ? F.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, C.value === !1 && (be = 12)) : (Q = 0, $ = 55, Ce = 5);
7226
7226
  const Nt = [];
7227
7227
  for (let De = Q, tt = Q; De <= $; De += Ce, tt++) {
7228
- const Rt = De + be, Ln = (Re == null ? void 0 : Re.includes(Rt)) === !1, dn = v.value === "hour" && De === 0 ? V.value === !0 ? "00" : "12" : De;
7228
+ const Rt = De + be, Ln = (Re == null ? void 0 : Re.includes(Rt)) === !1, dn = v.value === "hour" && De === 0 ? F.value === !0 ? "00" : "12" : De;
7229
7229
  Nt.push({ val: Rt, index: tt, disable: Ln, label: dn });
7230
7230
  }
7231
7231
  return Nt;
@@ -7253,14 +7253,14 @@ const dg = Je({
7253
7253
  qe();
7254
7254
  });
7255
7255
  });
7256
- function A() {
7256
+ function M() {
7257
7257
  const Q = {
7258
7258
  ...u(),
7259
7259
  ...x1()
7260
7260
  };
7261
7261
  qe(Q), Object.assign(x.value, Q), v.value = "hour";
7262
7262
  }
7263
- function T(Q, $, be) {
7263
+ function q(Q, $, be) {
7264
7264
  const Ce = Array.apply(null, { length: $ + 1 }).map((Re, Nt) => {
7265
7265
  const De = Nt + Q;
7266
7266
  return {
@@ -7299,7 +7299,7 @@ const dg = Je({
7299
7299
  return no(i.defaultDate, "YYYY/MM/DD", void 0, i.calendar);
7300
7300
  }
7301
7301
  function se() {
7302
- return pc(n) === !0 || N.value !== null && (N.value.values.length === 0 || v.value === "hour" && V.value !== !0 && D.value[C.value === !0 ? "am" : "pm"].values.length === 0);
7302
+ return pc(n) === !0 || N.value !== null && (N.value.values.length === 0 || v.value === "hour" && F.value !== !0 && A.value[C.value === !0 ? "am" : "pm"].values.length === 0);
7303
7303
  }
7304
7304
  function Be() {
7305
7305
  const Q = m.value, { top: $, left: be, width: Ce } = Q.getBoundingClientRect(), Re = Ce / 2;
@@ -7327,17 +7327,17 @@ const dg = Je({
7327
7327
  );
7328
7328
  let De, tt = Math.asin(Re / Nt) * (180 / Math.PI);
7329
7329
  if (Ce.top < $.top ? tt = $.left < Ce.left ? 90 - tt : 270 + tt : tt = $.left < Ce.left ? tt + 90 : 270 - tt, v.value === "hour") {
7330
- if (De = tt / 30, D.value !== null) {
7331
- const Rt = V.value !== !0 ? C.value === !0 : D.value.am.values.length !== 0 && D.value.pm.values.length !== 0 ? Nt >= $.dist : D.value.am.values.length !== 0;
7330
+ if (De = tt / 30, A.value !== null) {
7331
+ const Rt = F.value !== !0 ? C.value === !0 : A.value.am.values.length !== 0 && A.value.pm.values.length !== 0 ? Nt >= $.dist : A.value.am.values.length !== 0;
7332
7332
  De = J(
7333
7333
  De + (Rt === !0 ? 0 : 12),
7334
- D.value[Rt === !0 ? "am" : "pm"]
7334
+ A.value[Rt === !0 ? "am" : "pm"]
7335
7335
  );
7336
7336
  } else
7337
- De = Math.round(De), V.value === !0 ? Nt < $.dist ? De < 12 && (De += 12) : De === 12 && (De = 0) : C.value === !0 && De === 12 ? De = 0 : C.value === !1 && De !== 12 && (De += 12);
7338
- V.value === !0 && (C.value = De < 12);
7337
+ De = Math.round(De), F.value === !0 ? Nt < $.dist ? De < 12 && (De += 12) : De === 12 && (De = 0) : C.value === !0 && De === 12 ? De = 0 : C.value === !1 && De !== 12 && (De += 12);
7338
+ F.value === !0 && (C.value = De < 12);
7339
7339
  } else
7340
- De = Math.round(tt / 6) % 60, v.value === "minute" && H.value !== null ? De = J(De, H.value) : v.value === "second" && F.value !== null && (De = J(De, F.value));
7340
+ De = Math.round(tt / 6) % 60, v.value === "minute" && H.value !== null ? De = J(De, H.value) : v.value === "second" && I.value !== null && (De = J(De, I.value));
7341
7341
  return be !== De && ve[v.value](De), De;
7342
7342
  }
7343
7343
  const Qe = {
@@ -7368,8 +7368,8 @@ const dg = Je({
7368
7368
  v.value = "hour";
7369
7369
  else if ([37, 39].includes(Q.keyCode)) {
7370
7370
  const $ = Q.keyCode === 37 ? -1 : 1;
7371
- if (D.value !== null) {
7372
- const be = V.value === !0 ? D.value.values : D.value[C.value === !0 ? "am" : "pm"].values;
7371
+ if (A.value !== null) {
7372
+ const be = F.value === !0 ? A.value.values : A.value[C.value === !0 ? "am" : "pm"].values;
7373
7373
  if (be.length === 0) return;
7374
7374
  if (x.value.hour === null)
7375
7375
  Gt(be[0]);
@@ -7378,7 +7378,7 @@ const dg = Je({
7378
7378
  Gt(be[Ce]);
7379
7379
  }
7380
7380
  } else {
7381
- const be = V.value === !0 ? 24 : 12, Ce = V.value !== !0 && C.value === !1 ? 12 : 0, Re = x.value.hour === null ? -$ : x.value.hour;
7381
+ const be = F.value === !0 ? 24 : 12, Ce = F.value !== !0 && C.value === !1 ? 12 : 0, Re = x.value.hour === null ? -$ : x.value.hour;
7382
7382
  Gt(Ce + (24 + Re + $) % be);
7383
7383
  }
7384
7384
  }
@@ -7408,8 +7408,8 @@ const dg = Je({
7408
7408
  v.value = "second";
7409
7409
  else if ([37, 39].includes(Q.keyCode)) {
7410
7410
  const $ = Q.keyCode === 37 ? -1 : 1;
7411
- if (F.value !== null) {
7412
- const be = F.value.values;
7411
+ if (I.value !== null) {
7412
+ const be = I.value.values;
7413
7413
  if (be.length === 0) return;
7414
7414
  if (x.value.seconds === null)
7415
7415
  X(be[0]);
@@ -7452,11 +7452,11 @@ const dg = Je({
7452
7452
  x.value = no(), ze("hour");
7453
7453
  return;
7454
7454
  }
7455
- if (w.value !== null && w.value(x.value.minute) !== !0) {
7455
+ if (T.value !== null && T.value(x.value.minute) !== !0) {
7456
7456
  x.value.minute = null, x.value.second = null, ze("minute");
7457
7457
  return;
7458
7458
  }
7459
- if (i.withSeconds === !0 && M.value !== null && M.value(x.value.second) !== !0) {
7459
+ if (i.withSeconds === !0 && w.value !== null && w.value(x.value.second) !== !0) {
7460
7460
  x.value.second = null, ze("second");
7461
7461
  return;
7462
7462
  }
@@ -7487,17 +7487,17 @@ const dg = Je({
7487
7487
  tabindex: s.value,
7488
7488
  onClick: Qe.hour,
7489
7489
  onKeyup: dt
7490
- }, q.value.hour),
7490
+ }, D.value.hour),
7491
7491
  O("div", ":"),
7492
7492
  O(
7493
7493
  "div",
7494
- E.value === !0 ? {
7494
+ B.value === !0 ? {
7495
7495
  class: "q-time__link " + (v.value === "minute" ? "q-time__link--active" : "cursor-pointer"),
7496
7496
  tabindex: s.value,
7497
7497
  onKeyup: gi,
7498
7498
  onClick: Qe.minute
7499
7499
  } : { class: "q-time__link" },
7500
- q.value.minute
7500
+ D.value.minute
7501
7501
  )
7502
7502
  ];
7503
7503
  i.withSeconds === !0 && Q.push(
@@ -7510,7 +7510,7 @@ const dg = Je({
7510
7510
  onKeyup: Bi,
7511
7511
  onClick: Qe.second
7512
7512
  } : { class: "q-time__link" },
7513
- q.value.second
7513
+ D.value.second
7514
7514
  )
7515
7515
  );
7516
7516
  const $ = [
@@ -7519,7 +7519,7 @@ const dg = Je({
7519
7519
  dir: "ltr"
7520
7520
  }, Q)
7521
7521
  ];
7522
- return V.value === !1 && $.push(
7522
+ return F.value === !1 && $.push(
7523
7523
  O("div", {
7524
7524
  class: "q-time__header-ampm column items-between no-wrap"
7525
7525
  }, [
@@ -7564,7 +7564,7 @@ const dg = Je({
7564
7564
  O("div", { class: "q-time__clock-circle fit" }, [
7565
7565
  O("div", {
7566
7566
  class: "q-time__clock-pointer" + (x.value[v.value] === null ? " hidden" : i.color !== void 0 ? ` text-${i.color}` : ""),
7567
- style: I.value
7567
+ style: V.value
7568
7568
  }),
7569
7569
  K.value.map(($) => O("div", {
7570
7570
  class: `q-time__clock-position row flex-center q-time__clock-pos-${$.index}` + ($.val === Q ? " q-time__clock-position--active " + l.value : $.disable === !0 ? " q-time__clock-position--disable" : "")
@@ -7584,16 +7584,16 @@ const dg = Je({
7584
7584
  color: i.color,
7585
7585
  textColor: i.textColor,
7586
7586
  tabindex: s.value,
7587
- onClick: A
7587
+ onClick: M
7588
7588
  }) : null
7589
7589
  ]);
7590
7590
  }
7591
- return n.proxy.setNow = A, () => {
7591
+ return n.proxy.setNow = M, () => {
7592
7592
  const Q = [ut()], $ = qt(e.default);
7593
7593
  return $ !== void 0 && Q.push(
7594
7594
  O("div", { class: "q-time__actions" }, $)
7595
7595
  ), i.name !== void 0 && i.disable !== !0 && h(Q, "push"), O("div", {
7596
- class: B.value,
7596
+ class: E.value,
7597
7597
  tabindex: -1
7598
7598
  }, [
7599
7599
  Xe(),
@@ -7834,14 +7834,14 @@ const nf = /* @__PURE__ */ Ut(k1, [["render", S1], ["__file", "/Users/zachsherbo
7834
7834
  }), d = b(() => a.value.mask || `${h.value} ${f.value}`), m = b(() => a.value.format24h || !1), p = b(() => a.value.withSeconds || !1), y = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, dateMask: h, timeMask: f, fullMask: d, use24Hour: m, withSeconds: p, setNow: () => {
7835
7835
  const k = /* @__PURE__ */ new Date(), v = k.getFullYear(), x = String(k.getMonth() + 1).padStart(2, "0"), C = String(k.getDate()).padStart(2, "0");
7836
7836
  if (m.value) {
7837
- const B = String(k.getHours()).padStart(2, "0"), q = String(k.getMinutes()).padStart(2, "0");
7838
- n.value = `${v}-${x}-${C} ${B}:${q}`;
7837
+ const E = String(k.getHours()).padStart(2, "0"), D = String(k.getMinutes()).padStart(2, "0");
7838
+ n.value = `${v}-${x}-${C} ${E}:${D}`;
7839
7839
  } else {
7840
- let B = k.getHours();
7841
- const q = B >= 12 ? "PM" : "AM";
7842
- B = B % 12 || 12;
7843
- const V = String(k.getMinutes()).padStart(2, "0");
7844
- n.value = `${v}-${x}-${C} ${B}:${V} ${q}`;
7840
+ let E = k.getHours();
7841
+ const D = E >= 12 ? "PM" : "AM";
7842
+ E = E % 12 || 12;
7843
+ const F = String(k.getMinutes()).padStart(2, "0");
7844
+ n.value = `${v}-${x}-${C} ${E}:${F} ${D}`;
7845
7845
  }
7846
7846
  }, get QInput() {
7847
7847
  return ar;
@@ -8082,10 +8082,10 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8082
8082
  }), p = b(
8083
8083
  () => i.disable !== !0 && (i.href !== void 0 || i.to !== void 0 && i.to !== null && i.to !== "")
8084
8084
  ), g = b(() => {
8085
- const F = {};
8085
+ const I = {};
8086
8086
  return q1.forEach((N) => {
8087
- F[N] = i[N];
8088
- }), F;
8087
+ I[N] = i[N];
8088
+ }), I;
8089
8089
  }), y = b(
8090
8090
  () => p.value === !0 || i.expandIconToggle !== !0
8091
8091
  ), k = b(() => i.expandedIcon !== void 0 && o.value === !0 ? i.expandedIcon : i.expandIcon || n.iconSet.expansionItem[i.denseToggle === !0 ? "denseIcon" : "icon"]), v = b(
@@ -8097,36 +8097,36 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8097
8097
  show: a,
8098
8098
  hide: u
8099
8099
  })), C = b(() => {
8100
- const F = i.toggleAriaLabel !== void 0 ? i.toggleAriaLabel : n.lang.label[o.value === !0 ? "collapse" : "expand"](i.label);
8100
+ const I = i.toggleAriaLabel !== void 0 ? i.toggleAriaLabel : n.lang.label[o.value === !0 ? "collapse" : "expand"](i.label);
8101
8101
  return {
8102
8102
  role: "button",
8103
8103
  "aria-expanded": o.value === !0 ? "true" : "false",
8104
8104
  "aria-controls": l.value,
8105
- "aria-label": F
8105
+ "aria-label": I
8106
8106
  };
8107
8107
  });
8108
- ye(() => i.group, (F) => {
8109
- f == null || f(), F !== void 0 && P();
8108
+ ye(() => i.group, (I) => {
8109
+ f == null || f(), I !== void 0 && P();
8110
8110
  });
8111
- function B(F) {
8112
- p.value !== !0 && c(F), t("click", F);
8111
+ function E(I) {
8112
+ p.value !== !0 && c(I), t("click", I);
8113
8113
  }
8114
- function q(F) {
8115
- F.keyCode === 13 && V(F, !0);
8114
+ function D(I) {
8115
+ I.keyCode === 13 && F(I, !0);
8116
8116
  }
8117
- function V(F, N) {
8117
+ function F(I, N) {
8118
8118
  var K;
8119
- N !== !0 && F.qAvoidFocus !== !0 && ((K = s.value) == null || K.focus()), c(F), ct(F);
8119
+ N !== !0 && I.qAvoidFocus !== !0 && ((K = s.value) == null || K.focus()), c(I), ct(I);
8120
8120
  }
8121
- function I() {
8121
+ function V() {
8122
8122
  t("afterShow");
8123
8123
  }
8124
- function E() {
8124
+ function B() {
8125
8125
  t("afterHide");
8126
8126
  }
8127
8127
  function P() {
8128
8128
  h === void 0 && (h = Xs()), o.value === !0 && (Nn[i.group] = h);
8129
- const F = ye(o, (K) => {
8129
+ const I = ye(o, (K) => {
8130
8130
  K === !0 ? Nn[i.group] = h : Nn[i.group] === h && delete Nn[i.group];
8131
8131
  }), N = ye(
8132
8132
  () => Nn[i.group],
@@ -8135,11 +8135,11 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8135
8135
  }
8136
8136
  );
8137
8137
  f = () => {
8138
- F(), N(), Nn[i.group] === h && delete Nn[i.group], f = void 0;
8138
+ I(), N(), Nn[i.group] === h && delete Nn[i.group], f = void 0;
8139
8139
  };
8140
8140
  }
8141
8141
  function R() {
8142
- const F = {
8142
+ const I = {
8143
8143
  class: [
8144
8144
  `q-focusable relative-position cursor-pointer${i.denseToggle === !0 && i.switchToggleSide === !0 ? " items-end" : ""}`,
8145
8145
  i.expandIconClass
@@ -8152,37 +8152,37 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8152
8152
  name: k.value
8153
8153
  })
8154
8154
  ];
8155
- return v.value === !0 && (Object.assign(F, {
8155
+ return v.value === !0 && (Object.assign(I, {
8156
8156
  tabindex: 0,
8157
8157
  ...C.value,
8158
- onClick: V,
8159
- onKeyup: q
8158
+ onClick: F,
8159
+ onKeyup: D
8160
8160
  }), N.unshift(
8161
8161
  O("div", {
8162
8162
  ref: s,
8163
8163
  class: "q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",
8164
8164
  tabindex: -1
8165
8165
  })
8166
- )), O(kn, F, () => N);
8166
+ )), O(kn, I, () => N);
8167
8167
  }
8168
- function w() {
8169
- let F;
8170
- return e.header !== void 0 ? F = [].concat(e.header(x.value)) : (F = [
8168
+ function T() {
8169
+ let I;
8170
+ return e.header !== void 0 ? I = [].concat(e.header(x.value)) : (I = [
8171
8171
  O(kn, () => [
8172
8172
  O(Yn, { lines: i.labelLines }, () => i.label || ""),
8173
8173
  i.caption ? O(Yn, { lines: i.captionLines, caption: !0 }, () => i.caption) : null
8174
8174
  ])
8175
- ], i.icon && F[i.switchToggleSide === !0 ? "push" : "unshift"](
8175
+ ], i.icon && I[i.switchToggleSide === !0 ? "push" : "unshift"](
8176
8176
  O(kn, {
8177
8177
  side: i.switchToggleSide === !0,
8178
8178
  avatar: i.switchToggleSide !== !0
8179
8179
  }, () => O(kt, { name: i.icon }))
8180
- )), i.disable !== !0 && i.hideExpandIcon !== !0 && F[i.switchToggleSide === !0 ? "unshift" : "push"](
8180
+ )), i.disable !== !0 && i.hideExpandIcon !== !0 && I[i.switchToggleSide === !0 ? "unshift" : "push"](
8181
8181
  R()
8182
- ), F;
8182
+ ), I;
8183
8183
  }
8184
- function M() {
8185
- const F = {
8184
+ function w() {
8185
+ const I = {
8186
8186
  ref: "item",
8187
8187
  style: i.headerStyle,
8188
8188
  class: i.headerClass,
@@ -8191,12 +8191,12 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8191
8191
  dense: i.dense,
8192
8192
  insetLevel: i.headerInsetLevel
8193
8193
  };
8194
- return y.value === !0 && (F.clickable = !0, F.onClick = B, Object.assign(
8195
- F,
8194
+ return y.value === !0 && (I.clickable = !0, I.onClick = E, Object.assign(
8195
+ I,
8196
8196
  p.value === !0 ? g.value : C.value
8197
- )), O($s, F, w);
8197
+ )), O($s, I, T);
8198
8198
  }
8199
- function D() {
8199
+ function A() {
8200
8200
  return Rn(
8201
8201
  O("div", {
8202
8202
  key: "e-content",
@@ -8211,15 +8211,15 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8211
8211
  );
8212
8212
  }
8213
8213
  function H() {
8214
- const F = [
8215
- M(),
8214
+ const I = [
8215
+ w(),
8216
8216
  O(D1, {
8217
8217
  duration: i.duration,
8218
- onShow: I,
8219
- onHide: E
8220
- }, D)
8218
+ onShow: V,
8219
+ onHide: B
8220
+ }, A)
8221
8221
  ];
8222
- return i.expandSeparator === !0 && F.push(
8222
+ return i.expandSeparator === !0 && I.push(
8223
8223
  O(uu, {
8224
8224
  class: "q-expansion-item__border q-expansion-item__border--top absolute-top",
8225
8225
  dark: r.value
@@ -8228,7 +8228,7 @@ const rf = /* @__PURE__ */ Ut(A1, [["render", T1], ["__scopeId", "data-v-76abc7a
8228
8228
  class: "q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",
8229
8229
  dark: r.value
8230
8230
  })
8231
- ), F;
8231
+ ), I;
8232
8232
  }
8233
8233
  return i.group !== void 0 && P(), ht(() => {
8234
8234
  f == null || f();
@@ -8415,22 +8415,22 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8415
8415
  ],
8416
8416
  setup(i, { slots: e, emit: t, attrs: n }) {
8417
8417
  let r, o;
8418
- const s = je(), { proxy: { $q: l } } = s, a = G(null), u = G(!1), c = b(() => ol(i.anchor, l.lang.rtl)), h = b(() => ol(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Mr(), { registerTimeout: p } = ko(), { transitionProps: g, transitionStyle: y } = xc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = Hm(i, Y), { anchorEl: C, canShow: B, anchorEvents: q } = yc({ showing: u, configureAnchorEl: K }), { show: V, hide: I } = jl({
8418
+ const s = je(), { proxy: { $q: l } } = s, a = G(null), u = G(!1), c = b(() => ol(i.anchor, l.lang.rtl)), h = b(() => ol(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Mr(), { registerTimeout: p } = ko(), { transitionProps: g, transitionStyle: y } = xc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = Hm(i, Y), { anchorEl: C, canShow: E, anchorEvents: D } = yc({ showing: u, configureAnchorEl: K }), { show: F, hide: V } = jl({
8419
8419
  showing: u,
8420
- canShow: B,
8421
- handleShow: w,
8422
- handleHide: M,
8420
+ canShow: E,
8421
+ handleShow: T,
8422
+ handleHide: w,
8423
8423
  hideOnRouteChange: f,
8424
8424
  processOnMount: !0
8425
8425
  });
8426
- Object.assign(q, { delayShow: F, delayHide: N });
8427
- const { showPortal: E, hidePortal: P, renderPortal: R } = bc(s, a, T, "tooltip");
8426
+ Object.assign(D, { delayShow: I, delayHide: N });
8427
+ const { showPortal: B, hidePortal: P, renderPortal: R } = bc(s, a, q, "tooltip");
8428
8428
  if (l.platform.is.mobile === !0) {
8429
8429
  const j = {
8430
8430
  anchorEl: C,
8431
8431
  innerRef: a,
8432
8432
  onClickOutside(oe) {
8433
- return I(oe), oe.target.classList.contains("q-dialog__backdrop") && ct(oe), !0;
8433
+ return V(oe), oe.target.classList.contains("q-dialog__backdrop") && ct(oe), !0;
8434
8434
  }
8435
8435
  }, J = b(
8436
8436
  () => (
@@ -8445,23 +8445,23 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8445
8445
  nl(j);
8446
8446
  });
8447
8447
  }
8448
- function w(j) {
8449
- E(), d(() => {
8448
+ function T(j) {
8449
+ B(), d(() => {
8450
8450
  o = new MutationObserver(() => H()), o.observe(a.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), H(), Y();
8451
8451
  }), r === void 0 && (r = ye(
8452
8452
  () => l.screen.width + "|" + l.screen.height + "|" + i.self + "|" + i.anchor + "|" + l.lang.rtl,
8453
8453
  H
8454
8454
  )), p(() => {
8455
- E(!0), t("show", j);
8455
+ B(!0), t("show", j);
8456
8456
  }, i.transitionDuration);
8457
8457
  }
8458
- function M(j) {
8459
- m(), P(), D(), p(() => {
8458
+ function w(j) {
8459
+ m(), P(), A(), p(() => {
8460
8460
  P(!0), t("hide", j);
8461
8461
  }, i.transitionDuration);
8462
8462
  }
8463
- function D() {
8464
- o !== void 0 && (o.disconnect(), o = void 0), r !== void 0 && (r(), r = void 0), x(), Xn(q, "tooltipTemp");
8463
+ function A() {
8464
+ o !== void 0 && (o.disconnect(), o = void 0), r !== void 0 && (r(), r = void 0), x(), Xn(D, "tooltipTemp");
8465
8465
  }
8466
8466
  function H() {
8467
8467
  kc({
@@ -8474,21 +8474,21 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8474
8474
  maxWidth: i.maxWidth
8475
8475
  });
8476
8476
  }
8477
- function F(j) {
8477
+ function I(j) {
8478
8478
  if (l.platform.is.mobile === !0) {
8479
8479
  Zs(), document.body.classList.add("non-selectable");
8480
8480
  const J = C.value, oe = ["touchmove", "touchcancel", "touchend", "click"].map((ce) => [J, ce, "delayHide", "passiveCapture"]);
8481
- rn(q, "tooltipTemp", oe);
8481
+ rn(D, "tooltipTemp", oe);
8482
8482
  }
8483
8483
  p(() => {
8484
- V(j);
8484
+ F(j);
8485
8485
  }, i.delay);
8486
8486
  }
8487
8487
  function N(j) {
8488
- l.platform.is.mobile === !0 && (Xn(q, "tooltipTemp"), Zs(), setTimeout(() => {
8488
+ l.platform.is.mobile === !0 && (Xn(D, "tooltipTemp"), Zs(), setTimeout(() => {
8489
8489
  document.body.classList.remove("non-selectable");
8490
8490
  }, 10)), p(() => {
8491
- I(j);
8491
+ V(j);
8492
8492
  }, i.hideDelay);
8493
8493
  }
8494
8494
  function K() {
@@ -8499,16 +8499,16 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8499
8499
  [C.value, "mouseenter", "delayShow", "passive"],
8500
8500
  [C.value, "mouseleave", "delayHide", "passive"]
8501
8501
  ];
8502
- rn(q, "anchor", j);
8502
+ rn(D, "anchor", j);
8503
8503
  }
8504
8504
  function Y() {
8505
8505
  if (C.value !== null || i.scrollTarget !== void 0) {
8506
8506
  k.value = Wm(C.value, i.scrollTarget);
8507
- const j = i.noParentEvent === !0 ? H : I;
8507
+ const j = i.noParentEvent === !0 ? H : V;
8508
8508
  v(k.value, j);
8509
8509
  }
8510
8510
  }
8511
- function A() {
8511
+ function M() {
8512
8512
  return u.value === !0 ? O("div", {
8513
8513
  ...n,
8514
8514
  ref: a,
@@ -8523,10 +8523,10 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8523
8523
  role: "tooltip"
8524
8524
  }, qt(e.default)) : null;
8525
8525
  }
8526
- function T() {
8527
- return O(fi, g.value, A);
8526
+ function q() {
8527
+ return O(fi, g.value, M);
8528
8528
  }
8529
- return ht(D), Object.assign(s.proxy, { updatePosition: H }), R;
8529
+ return ht(A), Object.assign(s.proxy, { updatePosition: H }), R;
8530
8530
  }
8531
8531
  }), mg = Je({
8532
8532
  name: "QCardSection",
@@ -8569,77 +8569,77 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8569
8569
  label: t.label,
8570
8570
  componentType: "card"
8571
8571
  }), h = b(() => {
8572
- var R, w;
8573
- const I = t.schema["x-section-style"];
8574
- if (I)
8575
- return I;
8576
- const E = (R = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : R.array, P = (w = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : w.object;
8577
- return (E == null ? void 0 : E.sectionStyle) ?? (P == null ? void 0 : P.sectionStyle) ?? "card";
8572
+ var R, T;
8573
+ const V = t.schema["x-section-style"];
8574
+ if (V)
8575
+ return V;
8576
+ const B = (R = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : R.array, P = (T = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : T.object;
8577
+ return (B == null ? void 0 : B.sectionStyle) ?? (P == null ? void 0 : P.sectionStyle) ?? "card";
8578
8578
  }), f = b(() => `quickform-section-${h.value}`), d = b(() => {
8579
- var H, F;
8580
- const I = ((H = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : H.array) || {}, E = t.schema["x-quickforms-quasar"] || {}, P = E.addButtonPosition ?? I.addButtonPosition ?? "bottom-left", R = {
8579
+ var H, I;
8580
+ const V = ((H = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : H.array) || {}, B = t.schema["x-quickforms-quasar"] || {}, P = B.addButtonPosition ?? V.addButtonPosition ?? "bottom-left", R = {
8581
8581
  outline: !0,
8582
8582
  color: "primary",
8583
8583
  icon: "add",
8584
- label: ((F = c == null ? void 0 : c.labels) == null ? void 0 : F.addItem) || "Add item"
8585
- }, w = {
8584
+ label: ((I = c == null ? void 0 : c.labels) == null ? void 0 : I.addItem) || "Add item"
8585
+ }, T = {
8586
8586
  flat: !0,
8587
8587
  round: !0,
8588
8588
  dense: !0,
8589
8589
  size: "sm",
8590
8590
  icon: "close",
8591
8591
  color: "negative"
8592
- }, M = {
8592
+ }, w = {
8593
8593
  ...R,
8594
- ...I.addButton || {},
8595
- ...E.addButton || {}
8596
- }, D = {
8597
- ...w,
8598
- ...I.removeButton || {},
8599
- ...E.removeButton || {}
8594
+ ...V.addButton || {},
8595
+ ...B.addButton || {}
8596
+ }, A = {
8597
+ ...T,
8598
+ ...V.removeButton || {},
8599
+ ...B.removeButton || {}
8600
8600
  };
8601
8601
  return {
8602
8602
  addButtonPosition: P,
8603
- addButton: M,
8604
- removeButton: D
8603
+ addButton: w,
8604
+ removeButton: A
8605
8605
  };
8606
8606
  }), m = b(() => {
8607
- const I = d.value.addButtonPosition;
8608
- return I === "top-left" || I === "top-right";
8607
+ const V = d.value.addButtonPosition;
8608
+ return V === "top-left" || V === "top-right";
8609
8609
  }), p = b(() => {
8610
- const I = d.value.addButtonPosition;
8611
- return I === "top-right" || I === "bottom-right";
8610
+ const V = d.value.addButtonPosition;
8611
+ return V === "top-right" || V === "bottom-right";
8612
8612
  }), g = b({
8613
8613
  get: () => Array.isArray(n.value) ? n.value : [],
8614
- set: (I) => n.value = I
8614
+ set: (V) => n.value = V
8615
8615
  }), y = b(() => Array.isArray(t.schema.items) ? t.schema.items[0] : t.schema.items), k = () => {
8616
8616
  if (!y.value) return;
8617
- const I = Is.getDefaultValue(y.value);
8618
- n.value = [...g.value, I];
8619
- }, v = (I) => {
8620
- const E = [...g.value];
8621
- E.splice(I, 1), n.value = E;
8622
- }, x = (I, E) => {
8623
- if (E === "up" && I === 0 || E === "down" && I === g.value.length - 1) return;
8624
- const P = [...g.value], R = E === "up" ? I - 1 : I + 1, w = P[I];
8625
- P[I] = P[R], P[R] = w, n.value = P;
8626
- }, C = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), B = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), V = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: y, addItem: k, removeItem: v, moveItem: x, canAdd: C, canRemove: B, getItemLabel: (I) => {
8617
+ const V = Is.getDefaultValue(y.value);
8618
+ n.value = [...g.value, V];
8619
+ }, v = (V) => {
8620
+ const B = [...g.value];
8621
+ B.splice(V, 1), n.value = B;
8622
+ }, x = (V, B) => {
8623
+ if (B === "up" && V === 0 || B === "down" && V === g.value.length - 1) return;
8624
+ const P = [...g.value], R = B === "up" ? V - 1 : V + 1, T = P[V];
8625
+ P[V] = P[R], P[R] = T, n.value = P;
8626
+ }, C = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), E = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), F = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: y, addItem: k, removeItem: v, moveItem: x, canAdd: C, canRemove: E, getItemLabel: (V) => {
8627
8627
  var R;
8628
- const E = t.schema["x-item-label"];
8629
- if (E === "none" || E === !1)
8628
+ const B = t.schema["x-item-label"];
8629
+ if (B === "none" || B === !1)
8630
8630
  return "";
8631
- if (typeof E == "string" && E.includes("{{")) {
8632
- const w = g.value[I];
8633
- if (typeof w == "object" && w !== null) {
8634
- let M = E, D = !1;
8635
- if (M = M.replace(/\{\{([^}]+)\}\}/g, (H, F) => {
8636
- const N = w[F.trim()];
8637
- return N != null && N !== "" ? (D = !0, String(N)) : "";
8638
- }), M = M.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), D && M.trim())
8639
- return M.trim();
8631
+ if (typeof B == "string" && B.includes("{{")) {
8632
+ const T = g.value[V];
8633
+ if (typeof T == "object" && T !== null) {
8634
+ let w = B, A = !1;
8635
+ if (w = w.replace(/\{\{([^}]+)\}\}/g, (H, I) => {
8636
+ const N = T[I.trim()];
8637
+ return N != null && N !== "" ? (A = !0, String(N)) : "";
8638
+ }), w = w.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), A && w.trim())
8639
+ return w.trim();
8640
8640
  }
8641
8641
  }
8642
- return `${((R = y.value) == null ? void 0 : R.title) || "Item"} ${I + 1}`;
8642
+ return `${((R = y.value) == null ? void 0 : R.title) || "Item"} ${V + 1}`;
8643
8643
  }, get QCard() {
8644
8644
  return Ac;
8645
8645
  }, get QCardSection() {
@@ -8649,7 +8649,7 @@ const of = /* @__PURE__ */ Ut(_1, [["render", V1], ["__scopeId", "data-v-813eef2
8649
8649
  }, get FieldRenderer() {
8650
8650
  return Rl;
8651
8651
  } };
8652
- return Object.defineProperty(V, "__isScriptSetup", { enumerable: !1, value: !0 }), V;
8652
+ return Object.defineProperty(F, "__isScriptSetup", { enumerable: !1, value: !0 }), F;
8653
8653
  }
8654
8654
  }), N1 = ["id"], H1 = { class: "quickform-array-header" }, z1 = { class: "quickform-array-label" }, j1 = {
8655
8655
  key: 0,
@@ -8927,13 +8927,13 @@ const tx = /* @__PURE__ */ Pt({
8927
8927
  componentType: "keyvalue"
8928
8928
  }), d = b(() => {
8929
8929
  var N, K;
8930
- const q = ((N = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : N.keyvalue) || {}, V = t.schema["x-quickforms-quasar"] || {}, I = V.addButtonPosition ?? q.addButtonPosition ?? "bottom-left", E = V.showHeaders ?? q.showHeaders ?? !1, P = V.keyLabel ?? q.keyLabel ?? "Key", R = V.valueLabel ?? q.valueLabel ?? "Value", w = t.schema["x-infer-types"] ?? V.inferTypes ?? q.inferTypes ?? !1, M = {
8930
+ const D = ((N = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : N.keyvalue) || {}, F = t.schema["x-quickforms-quasar"] || {}, V = F.addButtonPosition ?? D.addButtonPosition ?? "bottom-left", B = F.showHeaders ?? D.showHeaders ?? !1, P = F.keyLabel ?? D.keyLabel ?? "Key", R = F.valueLabel ?? D.valueLabel ?? "Value", T = t.schema["x-infer-types"] ?? F.inferTypes ?? D.inferTypes ?? !1, w = {
8931
8931
  outline: !0,
8932
8932
  color: "primary",
8933
8933
  icon: "add",
8934
8934
  label: ((K = f == null ? void 0 : f.labels) == null ? void 0 : K.addItem) || "Add Parameter",
8935
8935
  size: "sm"
8936
- }, D = {
8936
+ }, A = {
8937
8937
  flat: !0,
8938
8938
  round: !0,
8939
8939
  dense: !0,
@@ -8941,72 +8941,72 @@ const tx = /* @__PURE__ */ Pt({
8941
8941
  icon: "close",
8942
8942
  color: "negative"
8943
8943
  }, H = {
8944
- ...M,
8945
- ...q.addButton || {},
8946
- ...V.addButton || {}
8947
- }, F = {
8948
- ...D,
8949
- ...q.removeButton || {},
8950
- ...V.removeButton || {}
8944
+ ...w,
8945
+ ...D.addButton || {},
8946
+ ...F.addButton || {}
8947
+ }, I = {
8948
+ ...A,
8949
+ ...D.removeButton || {},
8950
+ ...F.removeButton || {}
8951
8951
  };
8952
8952
  return {
8953
- addButtonPosition: I,
8953
+ addButtonPosition: V,
8954
8954
  addButton: H,
8955
- removeButton: F,
8956
- showHeaders: E,
8955
+ removeButton: I,
8956
+ showHeaders: B,
8957
8957
  keyLabel: P,
8958
8958
  valueLabel: R,
8959
- inferTypes: w
8959
+ inferTypes: T
8960
8960
  };
8961
8961
  }), m = b(() => {
8962
- const q = d.value.addButtonPosition;
8963
- return q === "top-left" || q === "top-right";
8962
+ const D = d.value.addButtonPosition;
8963
+ return D === "top-left" || D === "top-right";
8964
8964
  }), p = b(() => {
8965
- const q = d.value.addButtonPosition;
8966
- return q === "top-right" || q === "bottom-right";
8965
+ const D = d.value.addButtonPosition;
8966
+ return D === "top-right" || D === "bottom-right";
8967
8967
  }), g = b(() => d.value.addButtonPosition === "bottom-center");
8968
8968
  let y = 0;
8969
8969
  const k = G([]), v = G(!1);
8970
8970
  ye(
8971
8971
  () => n.value,
8972
- (q) => {
8972
+ (D) => {
8973
8973
  if (v.value) {
8974
8974
  v.value = !1;
8975
8975
  return;
8976
8976
  }
8977
- q && typeof q == "object" && !Array.isArray(q) ? k.value = Object.entries(q).map(([V, I]) => ({
8978
- key: V,
8979
- value: String(I),
8977
+ D && typeof D == "object" && !Array.isArray(D) ? k.value = Object.entries(D).map(([F, V]) => ({
8978
+ key: F,
8979
+ value: String(V),
8980
8980
  id: y++
8981
8981
  })) : k.value.length || (k.value = []);
8982
8982
  },
8983
8983
  { immediate: !0 }
8984
8984
  ), ye(
8985
8985
  k,
8986
- (q) => {
8987
- const V = {};
8988
- q.forEach((I) => {
8989
- I.key.trim() && (V[I.key] = d.value.inferTypes ? ex(I.value) : I.value);
8990
- }), v.value = !0, r(V);
8986
+ (D) => {
8987
+ const F = {};
8988
+ D.forEach((V) => {
8989
+ V.key.trim() && (F[V.key] = d.value.inferTypes ? ex(V.value) : V.value);
8990
+ }), v.value = !0, r(F);
8991
8991
  },
8992
8992
  { deep: !0 }
8993
8993
  );
8994
8994
  function x() {
8995
8995
  k.value.push({ key: "", value: "", id: y++ });
8996
8996
  }
8997
- function C(q) {
8998
- k.value = k.value.filter((V) => V.id !== q);
8997
+ function C(D) {
8998
+ k.value = k.value.filter((F) => F.id !== D);
8999
8999
  }
9000
- const B = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, inputProps: c, fieldGap: h, formContext: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, isCenterPosition: g, get nextId() {
9000
+ const E = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, inputProps: c, fieldGap: h, formContext: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, isCenterPosition: g, get nextId() {
9001
9001
  return y;
9002
- }, set nextId(q) {
9003
- y = q;
9002
+ }, set nextId(D) {
9003
+ y = D;
9004
9004
  }, pairs: k, isInternalUpdate: v, addPair: x, removePair: C, get QInput() {
9005
9005
  return ar;
9006
9006
  }, get QBtn() {
9007
9007
  return It;
9008
9008
  } };
9009
- return Object.defineProperty(B, "__isScriptSetup", { enumerable: !1, value: !0 }), B;
9009
+ return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
9010
9010
  }
9011
9011
  }), ix = { class: "text-subtitle2" }, nx = {
9012
9012
  key: 0,
@@ -13961,8 +13961,8 @@ class Af extends Ke {
13961
13961
  if (n && n.range.fromB < h && n.range.toB > c) {
13962
13962
  let x = mo.build(this.view.state.doc, c, n.range.fromB, this.decorations, this.dynamicDecorationMap), C = mo.build(this.view.state.doc, n.range.toB, h, this.decorations, this.dynamicDecorationMap);
13963
13963
  d = x.breakAtStart, m = x.openStart, p = C.openEnd;
13964
- let B = this.compositionView(n);
13965
- C.breakAtStart ? B.breakAfter = 1 : C.content.length && B.merge(B.length, B.length, C.content[0], !1, C.openStart, 0) && (B.breakAfter = C.content[0].breakAfter, C.content.shift()), x.content.length && B.merge(0, 0, x.content[x.content.length - 1], !0, 0, x.openEnd) && x.content.pop(), f = x.content.concat(B).concat(C.content);
13964
+ let E = this.compositionView(n);
13965
+ C.breakAtStart ? E.breakAfter = 1 : C.content.length && E.merge(E.length, E.length, C.content[0], !1, C.openStart, 0) && (E.breakAfter = C.content[0].breakAfter, C.content.shift()), x.content.length && E.merge(0, 0, x.content[x.content.length - 1], !0, 0, x.openEnd) && x.content.pop(), f = x.content.concat(E).concat(C.content);
13966
13966
  } else
13967
13967
  ({ content: f, breakAtStart: d, openStart: m, openEnd: p } = mo.build(this.view.state.doc, c, h, this.decorations, this.dynamicDecorationMap));
13968
13968
  let { i: g, off: y } = o.findPos(u, 1), { i: k, off: v } = o.findPos(a, -1);
@@ -15921,13 +15921,13 @@ class Qf {
15921
15921
  if ((this.contentDOMWidth != k || this.editorHeight != e.scrollDOM.clientHeight) && (this.contentDOMWidth = l.width, this.editorHeight = e.scrollDOM.clientHeight, u |= 16), a) {
15922
15922
  let x = e.docView.measureVisibleLineHeights(this.viewport);
15923
15923
  if (r.mustRefreshForHeights(x) && (s = !0), s || r.lineWrapping && Math.abs(k - this.contentDOMWidth) > r.charWidth) {
15924
- let { lineHeight: C, charWidth: B, textHeight: q } = e.docView.measureTextSize();
15925
- s = C > 0 && r.refresh(o, C, B, q, Math.max(5, k / B), x), s && (e.docView.minWidth = 0, u |= 16);
15924
+ let { lineHeight: C, charWidth: E, textHeight: D } = e.docView.measureTextSize();
15925
+ s = C > 0 && r.refresh(o, C, E, D, Math.max(5, k / E), x), s && (e.docView.minWidth = 0, u |= 16);
15926
15926
  }
15927
15927
  p > 0 && g > 0 ? c = Math.max(p, g) : p < 0 && g < 0 && (c = Math.min(p, g)), jf();
15928
15928
  for (let C of this.viewports) {
15929
- let B = C.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(C);
15930
- this.heightMap = (s ? ni.empty().applyChanges(this.stateDeco, Ne.empty, this.heightOracle, [new ki(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(r, 0, s, new Qk(C.from, B));
15929
+ let E = C.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(C);
15930
+ this.heightMap = (s ? ni.empty().applyChanges(this.stateDeco, Ne.empty, this.heightOracle, [new ki(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(r, 0, s, new Qk(C.from, E));
15931
15931
  }
15932
15932
  Nr && (u |= 2);
15933
15933
  }
@@ -16028,12 +16028,12 @@ class Qf {
16028
16028
  } else {
16029
16029
  let p = h.total * this.heightOracle.charWidth, g = r * this.heightOracle.charWidth, y = 0;
16030
16030
  if (p > 2e6)
16031
- for (let B of e)
16032
- B.from >= c.from && B.from < c.to && B.size != B.displaySize && B.from * this.heightOracle.charWidth + y < this.pixelViewport.left && (y = B.size - B.displaySize);
16031
+ for (let E of e)
16032
+ E.from >= c.from && E.from < c.to && E.size != E.displaySize && E.from * this.heightOracle.charWidth + y < this.pixelViewport.left && (y = E.size - E.displaySize);
16033
16033
  let k = this.pixelViewport.left + y, v = this.pixelViewport.right + y, x, C;
16034
16034
  if (f != null) {
16035
- let B = ys(h, f), q = ((v - k) / 2 + g) / p;
16036
- x = B - q, C = B + q;
16035
+ let E = ys(h, f), D = ((v - k) / 2 + g) / p;
16036
+ x = E - D, C = E + D;
16037
16037
  } else
16038
16038
  x = (k - g) / p, C = (v + g) / p;
16039
16039
  d = vs(h, x), m = vs(h, C);
@@ -17800,43 +17800,43 @@ function mw(i, e, t) {
17800
17800
  if (p && (i.lineWrapping || d.widgetLineBreaks) && (p = $f(i, n, 1, p)), g && (i.lineWrapping || m.widgetLineBreaks) && (g = $f(i, r, -1, g)), p && g && p.from == g.from && p.to == g.to)
17801
17801
  return k(v(t.from, t.to, p));
17802
17802
  {
17803
- let C = p ? v(t.from, null, p) : x(d, !1), B = g ? v(null, t.to, g) : x(m, !0), q = [];
17804
- return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < B.top ? q.push(y(h, C.bottom, f, B.top)) : C.bottom < B.top && i.elementAtHeight((C.bottom + B.top) / 2).type == ii.Text && (C.bottom = B.top = (C.bottom + B.top) / 2), k(C).concat(q).concat(k(B));
17805
- }
17806
- function y(C, B, q, V) {
17807
- return new Go(e, C - a.left, B - a.top, q - C, V - B);
17808
- }
17809
- function k({ top: C, bottom: B, horizontal: q }) {
17810
- let V = [];
17811
- for (let I = 0; I < q.length; I += 2)
17812
- V.push(y(q[I], C, q[I + 1], B));
17813
- return V;
17814
- }
17815
- function v(C, B, q) {
17816
- let V = 1e9, I = -1e9, E = [];
17817
- function P(M, D, H, F, N) {
17818
- let K = i.coordsAtPos(M, M == q.to ? -2 : 2), Y = i.coordsAtPos(H, H == q.from ? 2 : -2);
17819
- !K || !Y || (V = Math.min(K.top, Y.top, V), I = Math.max(K.bottom, Y.bottom, I), N == st.LTR ? E.push(o && D ? h : K.left, o && F ? f : Y.right) : E.push(!o && F ? h : Y.left, !o && D ? f : K.right));
17820
- }
17821
- let R = C ?? q.from, w = B ?? q.to;
17822
- for (let M of i.visibleRanges)
17823
- if (M.to > R && M.from < w)
17824
- for (let D = Math.max(M.from, R), H = Math.min(M.to, w); ; ) {
17825
- let F = i.state.doc.lineAt(D);
17826
- for (let N of i.bidiSpans(F)) {
17827
- let K = N.from + F.from, Y = N.to + F.from;
17803
+ let C = p ? v(t.from, null, p) : x(d, !1), E = g ? v(null, t.to, g) : x(m, !0), D = [];
17804
+ return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < E.top ? D.push(y(h, C.bottom, f, E.top)) : C.bottom < E.top && i.elementAtHeight((C.bottom + E.top) / 2).type == ii.Text && (C.bottom = E.top = (C.bottom + E.top) / 2), k(C).concat(D).concat(k(E));
17805
+ }
17806
+ function y(C, E, D, F) {
17807
+ return new Go(e, C - a.left, E - a.top, D - C, F - E);
17808
+ }
17809
+ function k({ top: C, bottom: E, horizontal: D }) {
17810
+ let F = [];
17811
+ for (let V = 0; V < D.length; V += 2)
17812
+ F.push(y(D[V], C, D[V + 1], E));
17813
+ return F;
17814
+ }
17815
+ function v(C, E, D) {
17816
+ let F = 1e9, V = -1e9, B = [];
17817
+ function P(w, A, H, I, N) {
17818
+ let K = i.coordsAtPos(w, w == D.to ? -2 : 2), Y = i.coordsAtPos(H, H == D.from ? 2 : -2);
17819
+ !K || !Y || (F = Math.min(K.top, Y.top, F), V = Math.max(K.bottom, Y.bottom, V), N == st.LTR ? B.push(o && A ? h : K.left, o && I ? f : Y.right) : B.push(!o && I ? h : Y.left, !o && A ? f : K.right));
17820
+ }
17821
+ let R = C ?? D.from, T = E ?? D.to;
17822
+ for (let w of i.visibleRanges)
17823
+ if (w.to > R && w.from < T)
17824
+ for (let A = Math.max(w.from, R), H = Math.min(w.to, T); ; ) {
17825
+ let I = i.state.doc.lineAt(A);
17826
+ for (let N of i.bidiSpans(I)) {
17827
+ let K = N.from + I.from, Y = N.to + I.from;
17828
17828
  if (K >= H)
17829
17829
  break;
17830
- Y > D && P(Math.max(K, D), C == null && K <= R, Math.min(Y, H), B == null && Y >= w, N.dir);
17830
+ Y > A && P(Math.max(K, A), C == null && K <= R, Math.min(Y, H), E == null && Y >= T, N.dir);
17831
17831
  }
17832
- if (D = F.to + 1, D >= H)
17832
+ if (A = I.to + 1, A >= H)
17833
17833
  break;
17834
17834
  }
17835
- return E.length == 0 && P(R, C == null, w, B == null, i.textDirection), { top: V, bottom: I, horizontal: E };
17835
+ return B.length == 0 && P(R, C == null, T, E == null, i.textDirection), { top: F, bottom: V, horizontal: B };
17836
17836
  }
17837
- function x(C, B) {
17838
- let q = l.top + (B ? C.top : C.bottom);
17839
- return { top: q, bottom: q, horizontal: [] };
17837
+ function x(C, E) {
17838
+ let D = l.top + (E ? C.top : C.bottom);
17839
+ return { top: D, bottom: D, horizontal: [] };
17840
17840
  }
17841
17841
  }
17842
17842
  function gw(i, e) {
@@ -18534,15 +18534,15 @@ const Ia = /* @__PURE__ */ de.define({
18534
18534
  }
18535
18535
  nd.set(u, g), c.style.height = (g = C) / o + "px";
18536
18536
  } else c.style.height && (c.style.height = "");
18537
- let B = x ? h.top - g - m - y.y : h.bottom + m + y.y, q = v + p;
18537
+ let E = x ? h.top - g - m - y.y : h.bottom + m + y.y, D = v + p;
18538
18538
  if (u.overlap !== !0)
18539
- for (let V of s)
18540
- V.left < q && V.right > v && V.top < B + g && V.bottom > B && (B = x ? V.top - g - 2 - m : V.bottom + m + 2);
18541
- if (this.position == "absolute" ? (c.style.top = (B - i.parent.top) / o + "px", rd(c, (v - i.parent.left) / r)) : (c.style.top = B / o + "px", rd(c, v / r)), d) {
18542
- let V = h.left + (k ? y.x : -y.x) - (v + 14 - 7);
18543
- d.style.left = V / r + "px";
18539
+ for (let F of s)
18540
+ F.left < D && F.right > v && F.top < E + g && F.bottom > E && (E = x ? F.top - g - 2 - m : F.bottom + m + 2);
18541
+ if (this.position == "absolute" ? (c.style.top = (E - i.parent.top) / o + "px", rd(c, (v - i.parent.left) / r)) : (c.style.top = E / o + "px", rd(c, v / r)), d) {
18542
+ let F = h.left + (k ? y.x : -y.x) - (v + 14 - 7);
18543
+ d.style.left = F / r + "px";
18544
18544
  }
18545
- u.overlap !== !0 && s.push({ left: v, top: B, right: q, bottom: B + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18545
+ u.overlap !== !0 && s.push({ left: v, top: E, right: D, bottom: E + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18546
18546
  }
18547
18547
  }
18548
18548
  maybeMeasure() {
@@ -20344,125 +20344,125 @@ function jc(i) {
20344
20344
  function vS(i) {
20345
20345
  var e;
20346
20346
  let { buffer: t, nodeSet: n, maxBufferLength: r = Qp, reused: o = [], minRepeatType: s = n.types.length } = i, l = Array.isArray(t) ? new zc(t, t.length) : t, a = n.types, u = 0, c = 0;
20347
- function h(C, B, q, V, I, E) {
20348
- let { id: P, start: R, end: w, size: M } = l, D = c, H = u;
20349
- if (M < 0)
20350
- if (l.next(), M == -1) {
20351
- let A = o[P];
20352
- q.push(A), V.push(R - C);
20347
+ function h(C, E, D, F, V, B) {
20348
+ let { id: P, start: R, end: T, size: w } = l, A = c, H = u;
20349
+ if (w < 0)
20350
+ if (l.next(), w == -1) {
20351
+ let M = o[P];
20352
+ D.push(M), F.push(R - C);
20353
20353
  return;
20354
- } else if (M == -3) {
20354
+ } else if (w == -3) {
20355
20355
  u = P;
20356
20356
  return;
20357
- } else if (M == -4) {
20357
+ } else if (w == -4) {
20358
20358
  c = P;
20359
20359
  return;
20360
20360
  } else
20361
- throw new RangeError(`Unrecognized record size: ${M}`);
20362
- let F = a[P], N, K, Y = R - C;
20363
- if (w - R <= r && (K = g(l.pos - B, I))) {
20364
- let A = new Uint16Array(K.size - K.skip), T = l.pos - K.size, j = A.length;
20365
- for (; l.pos > T; )
20366
- j = y(K.start, A, j);
20367
- N = new _n(A, w - K.start, n), Y = K.start - C;
20361
+ throw new RangeError(`Unrecognized record size: ${w}`);
20362
+ let I = a[P], N, K, Y = R - C;
20363
+ if (T - R <= r && (K = g(l.pos - E, V))) {
20364
+ let M = new Uint16Array(K.size - K.skip), q = l.pos - K.size, j = M.length;
20365
+ for (; l.pos > q; )
20366
+ j = y(K.start, M, j);
20367
+ N = new _n(M, T - K.start, n), Y = K.start - C;
20368
20368
  } else {
20369
- let A = l.pos - M;
20369
+ let M = l.pos - w;
20370
20370
  l.next();
20371
- let T = [], j = [], J = P >= s ? P : -1, oe = 0, ce = w;
20372
- for (; l.pos > A; )
20373
- J >= 0 && l.id == J && l.size >= 0 ? (l.end <= ce - r && (m(T, j, R, oe, l.end, ce, J, D, H), oe = T.length, ce = l.end), l.next()) : E > 2500 ? f(R, A, T, j) : h(R, A, T, j, J, E + 1);
20374
- if (J >= 0 && oe > 0 && oe < T.length && m(T, j, R, oe, R, ce, J, D, H), T.reverse(), j.reverse(), J > -1 && oe > 0) {
20375
- let se = d(F, H);
20376
- N = Wc(F, T, j, 0, T.length, 0, w - R, se, se);
20371
+ let q = [], j = [], J = P >= s ? P : -1, oe = 0, ce = T;
20372
+ for (; l.pos > M; )
20373
+ J >= 0 && l.id == J && l.size >= 0 ? (l.end <= ce - r && (m(q, j, R, oe, l.end, ce, J, A, H), oe = q.length, ce = l.end), l.next()) : B > 2500 ? f(R, M, q, j) : h(R, M, q, j, J, B + 1);
20374
+ if (J >= 0 && oe > 0 && oe < q.length && m(q, j, R, oe, R, ce, J, A, H), q.reverse(), j.reverse(), J > -1 && oe > 0) {
20375
+ let se = d(I, H);
20376
+ N = Wc(I, q, j, 0, q.length, 0, T - R, se, se);
20377
20377
  } else
20378
- N = p(F, T, j, w - R, D - w, H);
20378
+ N = p(I, q, j, T - R, A - T, H);
20379
20379
  }
20380
- q.push(N), V.push(Y);
20380
+ D.push(N), F.push(Y);
20381
20381
  }
20382
- function f(C, B, q, V) {
20383
- let I = [], E = 0, P = -1;
20384
- for (; l.pos > B; ) {
20385
- let { id: R, start: w, end: M, size: D } = l;
20386
- if (D > 4)
20382
+ function f(C, E, D, F) {
20383
+ let V = [], B = 0, P = -1;
20384
+ for (; l.pos > E; ) {
20385
+ let { id: R, start: T, end: w, size: A } = l;
20386
+ if (A > 4)
20387
20387
  l.next();
20388
20388
  else {
20389
- if (P > -1 && w < P)
20389
+ if (P > -1 && T < P)
20390
20390
  break;
20391
- P < 0 && (P = M - r), I.push(R, w, M), E++, l.next();
20391
+ P < 0 && (P = w - r), V.push(R, T, w), B++, l.next();
20392
20392
  }
20393
20393
  }
20394
- if (E) {
20395
- let R = new Uint16Array(E * 4), w = I[I.length - 2];
20396
- for (let M = I.length - 3, D = 0; M >= 0; M -= 3)
20397
- R[D++] = I[M], R[D++] = I[M + 1] - w, R[D++] = I[M + 2] - w, R[D++] = D;
20398
- q.push(new _n(R, I[2] - w, n)), V.push(w - C);
20394
+ if (B) {
20395
+ let R = new Uint16Array(B * 4), T = V[V.length - 2];
20396
+ for (let w = V.length - 3, A = 0; w >= 0; w -= 3)
20397
+ R[A++] = V[w], R[A++] = V[w + 1] - T, R[A++] = V[w + 2] - T, R[A++] = A;
20398
+ D.push(new _n(R, V[2] - T, n)), F.push(T - C);
20399
20399
  }
20400
20400
  }
20401
- function d(C, B) {
20402
- return (q, V, I) => {
20403
- let E = 0, P = q.length - 1, R, w;
20404
- if (P >= 0 && (R = q[P]) instanceof xt) {
20405
- if (!P && R.type == C && R.length == I)
20401
+ function d(C, E) {
20402
+ return (D, F, V) => {
20403
+ let B = 0, P = D.length - 1, R, T;
20404
+ if (P >= 0 && (R = D[P]) instanceof xt) {
20405
+ if (!P && R.type == C && R.length == V)
20406
20406
  return R;
20407
- (w = R.prop(Pe.lookAhead)) && (E = V[P] + R.length + w);
20407
+ (T = R.prop(Pe.lookAhead)) && (B = F[P] + R.length + T);
20408
20408
  }
20409
- return p(C, q, V, I, E, B);
20409
+ return p(C, D, F, V, B, E);
20410
20410
  };
20411
20411
  }
20412
- function m(C, B, q, V, I, E, P, R, w) {
20413
- let M = [], D = [];
20414
- for (; C.length > V; )
20415
- M.push(C.pop()), D.push(B.pop() + q - I);
20416
- C.push(p(n.types[P], M, D, E - I, R - E, w)), B.push(I - q);
20412
+ function m(C, E, D, F, V, B, P, R, T) {
20413
+ let w = [], A = [];
20414
+ for (; C.length > F; )
20415
+ w.push(C.pop()), A.push(E.pop() + D - V);
20416
+ C.push(p(n.types[P], w, A, B - V, R - B, T)), E.push(V - D);
20417
20417
  }
20418
- function p(C, B, q, V, I, E, P) {
20419
- if (E) {
20420
- let R = [Pe.contextHash, E];
20418
+ function p(C, E, D, F, V, B, P) {
20419
+ if (B) {
20420
+ let R = [Pe.contextHash, B];
20421
20421
  P = P ? [R].concat(P) : [R];
20422
20422
  }
20423
- if (I > 25) {
20424
- let R = [Pe.lookAhead, I];
20423
+ if (V > 25) {
20424
+ let R = [Pe.lookAhead, V];
20425
20425
  P = P ? [R].concat(P) : [R];
20426
20426
  }
20427
- return new xt(C, B, q, V, P);
20427
+ return new xt(C, E, D, F, P);
20428
20428
  }
20429
- function g(C, B) {
20430
- let q = l.fork(), V = 0, I = 0, E = 0, P = q.end - r, R = { size: 0, start: 0, skip: 0 };
20431
- e: for (let w = q.pos - C; q.pos > w; ) {
20432
- let M = q.size;
20433
- if (q.id == B && M >= 0) {
20434
- R.size = V, R.start = I, R.skip = E, E += 4, V += 4, q.next();
20429
+ function g(C, E) {
20430
+ let D = l.fork(), F = 0, V = 0, B = 0, P = D.end - r, R = { size: 0, start: 0, skip: 0 };
20431
+ e: for (let T = D.pos - C; D.pos > T; ) {
20432
+ let w = D.size;
20433
+ if (D.id == E && w >= 0) {
20434
+ R.size = F, R.start = V, R.skip = B, B += 4, F += 4, D.next();
20435
20435
  continue;
20436
20436
  }
20437
- let D = q.pos - M;
20438
- if (M < 0 || D < w || q.start < P)
20437
+ let A = D.pos - w;
20438
+ if (w < 0 || A < T || D.start < P)
20439
20439
  break;
20440
- let H = q.id >= s ? 4 : 0, F = q.start;
20441
- for (q.next(); q.pos > D; ) {
20442
- if (q.size < 0)
20443
- if (q.size == -3)
20440
+ let H = D.id >= s ? 4 : 0, I = D.start;
20441
+ for (D.next(); D.pos > A; ) {
20442
+ if (D.size < 0)
20443
+ if (D.size == -3)
20444
20444
  H += 4;
20445
20445
  else
20446
20446
  break e;
20447
- else q.id >= s && (H += 4);
20448
- q.next();
20447
+ else D.id >= s && (H += 4);
20448
+ D.next();
20449
20449
  }
20450
- I = F, V += M, E += H;
20450
+ V = I, F += w, B += H;
20451
20451
  }
20452
- return (B < 0 || V == C) && (R.size = V, R.start = I, R.skip = E), R.size > 4 ? R : void 0;
20452
+ return (E < 0 || F == C) && (R.size = F, R.start = V, R.skip = B), R.size > 4 ? R : void 0;
20453
20453
  }
20454
- function y(C, B, q) {
20455
- let { id: V, start: I, end: E, size: P } = l;
20456
- if (l.next(), P >= 0 && V < s) {
20457
- let R = q;
20454
+ function y(C, E, D) {
20455
+ let { id: F, start: V, end: B, size: P } = l;
20456
+ if (l.next(), P >= 0 && F < s) {
20457
+ let R = D;
20458
20458
  if (P > 4) {
20459
- let w = l.pos - (P - 4);
20460
- for (; l.pos > w; )
20461
- q = y(C, B, q);
20459
+ let T = l.pos - (P - 4);
20460
+ for (; l.pos > T; )
20461
+ D = y(C, E, D);
20462
20462
  }
20463
- B[--q] = R, B[--q] = E - C, B[--q] = I - C, B[--q] = V;
20464
- } else P == -3 ? u = V : P == -4 && (c = V);
20465
- return q;
20463
+ E[--D] = R, E[--D] = B - C, E[--D] = V - C, E[--D] = F;
20464
+ } else P == -3 ? u = F : P == -4 && (c = F);
20465
+ return D;
20466
20466
  }
20467
20467
  let k = [], v = [];
20468
20468
  for (; l.pos > 0; )
@@ -20498,23 +20498,23 @@ function Wc(i, e, t, n, r, o, s, l, a) {
20498
20498
  ), h = [], f = [];
20499
20499
  function d(m, p, g, y, k) {
20500
20500
  for (let v = g; v < y; ) {
20501
- let x = v, C = p[v], B = Us(i, m[v]);
20501
+ let x = v, C = p[v], E = Us(i, m[v]);
20502
20502
  for (v++; v < y; v++) {
20503
- let q = Us(i, m[v]);
20504
- if (B + q >= c)
20503
+ let D = Us(i, m[v]);
20504
+ if (E + D >= c)
20505
20505
  break;
20506
- B += q;
20506
+ E += D;
20507
20507
  }
20508
20508
  if (v == x + 1) {
20509
- if (B > c) {
20510
- let q = m[x];
20511
- d(q.children, q.positions, 0, q.children.length, p[x] + k);
20509
+ if (E > c) {
20510
+ let D = m[x];
20511
+ d(D.children, D.positions, 0, D.children.length, p[x] + k);
20512
20512
  continue;
20513
20513
  }
20514
20514
  h.push(m[x]);
20515
20515
  } else {
20516
- let q = p[v - 1] + m[v - 1].length - C;
20517
- h.push(Wc(i, m, p, x, v, C, q, null, a));
20516
+ let D = p[v - 1] + m[v - 1].length - C;
20517
+ h.push(Wc(i, m, p, x, v, C, D, null, a));
20518
20518
  }
20519
20519
  f.push(C + k - o);
20520
20520
  }
@@ -24277,8 +24277,8 @@ class cA {
24277
24277
  for (let k = 0, v = Math.min(e.length, 200), x = 0; k < v && h < a; ) {
24278
24278
  let C = ri(e, k);
24279
24279
  l < 0 && (c < a && C == t[c] && (o[c++] = k), d < a && (C == t[d] || C == n[d] ? (d == 0 && (m = k), p = k + 1, d++) : d = 0));
24280
- let B, q = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (B = Oc(C)) != B.toLowerCase() ? 1 : B != B.toUpperCase() ? 2 : 0;
24281
- (!k || q == 1 && g || x == 0 && q != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = q, k += Ni(C);
24280
+ let E, D = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (E = Oc(C)) != E.toLowerCase() ? 1 : E != E.toUpperCase() ? 2 : 0;
24281
+ (!k || D == 1 && g || x == 0 && D != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = D, k += Ni(C);
24282
24282
  }
24283
24283
  return h == a && s[0] == 0 && y ? this.result(-100 + (f ? -200 : 0), s, e) : d == a && m == 0 ? this.ret(-200 - e.length + (p == e.length ? 0 : -100), [0, p]) : l > -1 ? this.ret(-700 - e.length, [l, l + this.pattern.length]) : d == a ? this.ret(-900 - e.length, [m, p]) : h == a ? this.result(-100 + (f ? -200 : 0) + -700 + (y ? 0 : -1100), s, e) : t.length == 2 ? null : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
24284
24284
  }
@@ -27555,10 +27555,10 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27555
27555
  }), f = fx(), d = G(""), m = G(null), p = G(!0);
27556
27556
  ye(
27557
27557
  () => n.value,
27558
- (w) => {
27558
+ (T) => {
27559
27559
  if (p.value) {
27560
27560
  try {
27561
- d.value = JSON.stringify(w || {}, null, 2), m.value = null;
27561
+ d.value = JSON.stringify(T || {}, null, 2), m.value = null;
27562
27562
  } catch {
27563
27563
  d.value = "{}";
27564
27564
  }
@@ -27568,38 +27568,38 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27568
27568
  { immediate: !0 }
27569
27569
  );
27570
27570
  const g = b(() => {
27571
- var D, H;
27572
- const w = t.schema["x-json-height"];
27573
- if (w)
27574
- return w;
27575
- const M = (H = (D = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : D.jsoneditor) == null ? void 0 : H.height;
27576
- return M || "300px";
27571
+ var A, H;
27572
+ const T = t.schema["x-json-height"];
27573
+ if (T)
27574
+ return T;
27575
+ const w = (H = (A = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : A.jsoneditor) == null ? void 0 : H.height;
27576
+ return w || "300px";
27577
27577
  }), y = b(() => {
27578
- var D, H;
27579
- const w = t.schema["x-json-dark-theme"];
27578
+ var A, H;
27579
+ const T = t.schema["x-json-dark-theme"];
27580
+ if (T !== void 0)
27581
+ return console.log("[JSON Editor] Using darkTheme from schema:", T), T === !0;
27582
+ const w = (H = (A = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : A.jsoneditor) == null ? void 0 : H.darkTheme;
27580
27583
  if (w !== void 0)
27581
- return console.log("[JSON Editor] Using darkTheme from schema:", w), w === !0;
27582
- const M = (H = (D = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : D.jsoneditor) == null ? void 0 : H.darkTheme;
27583
- if (M !== void 0)
27584
27584
  return console.log(
27585
27585
  "[JSON Editor] Using darkTheme from quickformsDefaults:",
27586
- M
27587
- ), M === !0;
27586
+ w
27587
+ ), w === !0;
27588
27588
  if (f.dark) {
27589
- const F = f.dark.isActive;
27590
- return console.log("[JSON Editor] Auto-detected darkTheme from Quasar:", F), F;
27589
+ const I = f.dark.isActive;
27590
+ return console.log("[JSON Editor] Auto-detected darkTheme from Quasar:", I), I;
27591
27591
  }
27592
27592
  return console.log("[JSON Editor] Using default darkTheme: false"), !1;
27593
27593
  });
27594
- function k(w) {
27595
- const M = w.state.doc.toString(), D = w.state.selection.main.head;
27594
+ function k(T) {
27595
+ const w = T.state.doc.toString(), A = T.state.selection.main.head;
27596
27596
  try {
27597
- const H = JSON.parse(M), F = JSON.stringify(H, null, 2), N = M.length > 0 ? D / M.length : 0, K = Math.min(
27598
- Math.round(N * F.length),
27599
- F.length
27597
+ const H = JSON.parse(w), I = JSON.stringify(H, null, 2), N = w.length > 0 ? A / w.length : 0, K = Math.min(
27598
+ Math.round(N * I.length),
27599
+ I.length
27600
27600
  );
27601
- return w.dispatch({
27602
- changes: { from: 0, to: w.state.doc.length, insert: F },
27601
+ return T.dispatch({
27602
+ changes: { from: 0, to: T.state.doc.length, insert: I },
27603
27603
  selection: { anchor: K }
27604
27604
  }), m.value = null, !0;
27605
27605
  } catch {
@@ -27607,68 +27607,68 @@ const EO = "#e5c07b", tm = "#e06c75", LO = "#56b6c2", IO = "#ffffff", Gs = "#abb
27607
27607
  }
27608
27608
  }
27609
27609
  const v = b(() => {
27610
- var M, D;
27611
- const w = t.schema["x-json-line-numbers"];
27612
- return w !== void 0 ? w : ((D = (M = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : M.jsoneditor) == null ? void 0 : D.lineNumbers) ?? !1;
27610
+ var w, A;
27611
+ const T = t.schema["x-json-line-numbers"];
27612
+ return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.lineNumbers) ?? !1;
27613
27613
  }), x = b(() => {
27614
- var M, D;
27615
- const w = t.schema["x-json-lint-gutter"];
27616
- return w !== void 0 ? w : ((D = (M = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : M.jsoneditor) == null ? void 0 : D.lintGutter) ?? !1;
27614
+ var w, A;
27615
+ const T = t.schema["x-json-lint-gutter"];
27616
+ return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.lintGutter) ?? !1;
27617
27617
  }), C = b(() => {
27618
- var M, D;
27619
- const w = t.schema["x-json-tab-size"];
27620
- return w !== void 0 ? w : ((D = (M = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : M.jsoneditor) == null ? void 0 : D.tabSize) ?? 2;
27621
- }), B = b(() => {
27622
- var M, D;
27623
- const w = t.schema["x-json-indent-with-tab"];
27624
- return w !== void 0 ? w : ((D = (M = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : M.jsoneditor) == null ? void 0 : D.indentWithTab) ?? !0;
27625
- }), q = b(() => {
27626
- var M, D;
27627
- const w = t.schema["x-json-format-key"];
27628
- return w !== void 0 ? w : ((D = (M = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : M.jsoneditor) == null ? void 0 : D.formatKey) ?? "Ctrl-.";
27629
- }), V = b(() => {
27618
+ var w, A;
27619
+ const T = t.schema["x-json-tab-size"];
27620
+ return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.tabSize) ?? 2;
27621
+ }), E = b(() => {
27622
+ var w, A;
27623
+ const T = t.schema["x-json-indent-with-tab"];
27624
+ return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.indentWithTab) ?? !0;
27625
+ }), D = b(() => {
27626
+ var w, A;
27627
+ const T = t.schema["x-json-format-key"];
27628
+ return T !== void 0 ? T : ((A = (w = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : w.jsoneditor) == null ? void 0 : A.formatKey) ?? "Ctrl-.";
27629
+ }), F = b(() => {
27630
27630
  console.log("[JSON Editor] Building extensions:", {
27631
27631
  showLineNumbers: v.value,
27632
27632
  showLintGutter: x.value,
27633
27633
  useDarkTheme: y.value
27634
27634
  });
27635
- const w = [
27635
+ const T = [
27636
27636
  RO(),
27637
27637
  // Add keyboard shortcut for formatting
27638
27638
  Yo.of([
27639
27639
  {
27640
- key: q.value,
27640
+ key: D.value,
27641
27641
  run: k
27642
27642
  }
27643
27643
  ])
27644
27644
  ];
27645
- return v.value ? (console.log("[JSON Editor] Adding lineNumbers extension"), w.push(Wp())) : (console.log("[JSON Editor] Hiding gutters and line numbers"), w.push(
27645
+ return v.value ? (console.log("[JSON Editor] Adding lineNumbers extension"), T.push(Wp())) : (console.log("[JSON Editor] Hiding gutters and line numbers"), T.push(
27646
27646
  ue.theme({
27647
27647
  ".cm-gutters": {
27648
27648
  display: "none !important"
27649
27649
  }
27650
27650
  })
27651
- )), x.value && (w.push(eO(PO())), w.push(uO())), y.value ? (console.log("[JSON Editor] Adding oneDark theme"), w.push(QO)) : console.log("[JSON Editor] NOT adding oneDark theme"), console.log("[JSON Editor] Final extensions count:", w.length), w;
27652
- }), I = b(() => m.value || l.value), E = b(
27653
- () => `${v.value}-${x.value}-${y.value}-${q.value}`
27651
+ )), x.value && (T.push(eO(PO())), T.push(uO())), y.value ? (console.log("[JSON Editor] Adding oneDark theme"), T.push(QO)) : console.log("[JSON Editor] NOT adding oneDark theme"), console.log("[JSON Editor] Final extensions count:", T.length), T;
27652
+ }), V = b(() => m.value || l.value), B = b(
27653
+ () => `${v.value}-${x.value}-${y.value}-${D.value}`
27654
27654
  );
27655
- ye(E, () => {
27655
+ ye(B, () => {
27656
27656
  console.log("[JSON Editor] editorKey changed, forcing remount");
27657
- const w = d.value;
27657
+ const T = d.value;
27658
27658
  d.value = "", rt(() => {
27659
- d.value = w;
27659
+ d.value = T;
27660
27660
  });
27661
27661
  });
27662
- function P(w, M) {
27662
+ function P(T, w) {
27663
27663
  if (!p.value)
27664
27664
  try {
27665
- const D = JSON.parse(w);
27666
- r(D), m.value = null;
27667
- } catch (D) {
27668
- m.value = D.message;
27665
+ const A = JSON.parse(T);
27666
+ r(A), m.value = null;
27667
+ } catch (A) {
27668
+ m.value = A.message;
27669
27669
  }
27670
27670
  }
27671
- const R = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: C, indentWithTab: B, formatKey: q, extensions: V, displayError: I, editorKey: E, handleChange: P, get Codemirror() {
27671
+ const R = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: C, indentWithTab: E, formatKey: D, extensions: F, displayError: V, editorKey: B, handleChange: P, get Codemirror() {
27672
27672
  return bO;
27673
27673
  } };
27674
27674
  return Object.defineProperty(R, "__isScriptSetup", { enumerable: !1, value: !0 }), R;
@@ -27800,10 +27800,10 @@ const sm = /* @__PURE__ */ Ut(UO, [["render", eT], ["__file", "/Users/zachsherbo
27800
27800
  autocompleteThreshold: v,
27801
27801
  useInput: x,
27802
27802
  fillInput: C,
27803
- hideSelected: B,
27804
- ...q
27803
+ hideSelected: E,
27804
+ ...D
27805
27805
  } = y;
27806
- return q;
27806
+ return D;
27807
27807
  }), f = b(() => {
27808
27808
  var x;
27809
27809
  const y = t.schema.items;
@@ -27812,9 +27812,9 @@ const sm = /* @__PURE__ */ Ut(UO, [["render", eT], ["__file", "/Users/zachsherbo
27812
27812
  if (!k) return [];
27813
27813
  const v = y["x-enum-labels"];
27814
27814
  return k.map((C) => {
27815
- let B = String(C);
27816
- return v && C in v && (B = v[C]), {
27817
- label: B,
27815
+ let E = String(C);
27816
+ return v && C in v && (E = v[C]), {
27817
+ label: E,
27818
27818
  value: C
27819
27819
  };
27820
27820
  });
@@ -28010,8 +28010,8 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28010
28010
  },
28011
28011
  setup(i, { slots: e, emit: t }) {
28012
28012
  const { proxy: n } = je(), { $q: r } = n, { registerTick: o } = Mr(), { registerTick: s } = Mr(), { registerTick: l } = Mr(), { registerTimeout: a, removeTimeout: u } = ko(), { registerTimeout: c, removeTimeout: h } = ko(), f = G(null), d = G(null), m = G(i.modelValue), p = G(!1), g = G(!0), y = G(!1), k = G(!1), v = [], x = G(0), C = G(!1);
28013
- let B = null, q = null, V;
28014
- const I = b(() => ({
28013
+ let E = null, D = null, F;
28014
+ const V = b(() => ({
28015
28015
  activeClass: i.activeClass,
28016
28016
  activeColor: i.activeColor,
28017
28017
  activeBgColor: i.activeBgColor,
@@ -28023,7 +28023,7 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28023
28023
  narrowIndicator: i.narrowIndicator,
28024
28024
  inlineLabel: i.inlineLabel,
28025
28025
  noCaps: i.noCaps
28026
- })), E = b(() => {
28026
+ })), B = b(() => {
28027
28027
  const X = x.value, ve = m.value;
28028
28028
  for (let we = 0; we < X; we++)
28029
28029
  if (v[we].name.value === ve)
@@ -28031,13 +28031,13 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28031
28031
  return !1;
28032
28032
  }), P = b(() => `q-tabs__content--align-${p.value === !0 ? "left" : k.value === !0 ? "justify" : i.align}`), R = b(
28033
28033
  () => `q-tabs row no-wrap items-center q-tabs--${p.value === !0 ? "" : "not-"}scrollable q-tabs--${i.vertical === !0 ? "vertical" : "horizontal"} q-tabs__arrows--${i.outsideArrows === !0 ? "outside" : "inside"} q-tabs--mobile-with${i.mobileArrows === !0 ? "" : "out"}-arrows` + (i.dense === !0 ? " q-tabs--dense" : "") + (i.shrink === !0 ? " col-shrink" : "") + (i.stretch === !0 ? " self-stretch" : "")
28034
- ), w = b(
28034
+ ), T = b(
28035
28035
  () => "q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position " + P.value + (i.contentClass !== void 0 ? ` ${i.contentClass}` : "")
28036
- ), M = b(() => i.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), D = b(() => i.vertical !== !0 && r.lang.rtl === !0), H = b(() => wo === !1 && D.value === !0);
28037
- ye(D, T), ye(() => i.modelValue, (X) => {
28038
- F({ name: X, setCurrent: !0, skipEmit: !0 });
28036
+ ), w = b(() => i.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), A = b(() => i.vertical !== !0 && r.lang.rtl === !0), H = b(() => wo === !1 && A.value === !0);
28037
+ ye(A, q), ye(() => i.modelValue, (X) => {
28038
+ I({ name: X, setCurrent: !0, skipEmit: !0 });
28039
28039
  }), ye(() => i.outsideArrows, N);
28040
- function F({ name: X, setCurrent: ve, skipEmit: we }) {
28040
+ function I({ name: X, setCurrent: ve, skipEmit: we }) {
28041
28041
  m.value !== X && (we !== !0 && i["onUpdate:modelValue"] !== void 0 && t("update:modelValue", X), (ve === !0 || i["onUpdate:modelValue"] === void 0) && (Y(m.value, X), m.value = X));
28042
28042
  }
28043
28043
  function N() {
@@ -28049,16 +28049,16 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28049
28049
  });
28050
28050
  }
28051
28051
  function K(X) {
28052
- if (M.value === void 0 || d.value === null) return;
28053
- const ve = X[M.value.container], we = Math.min(
28054
- d.value[M.value.scroll],
28052
+ if (w.value === void 0 || d.value === null) return;
28053
+ const ve = X[w.value.container], we = Math.min(
28054
+ d.value[w.value.scroll],
28055
28055
  Array.prototype.reduce.call(
28056
28056
  d.value.children,
28057
- (ze, Oe) => ze + (Oe[M.value.content] || 0),
28057
+ (ze, Oe) => ze + (Oe[w.value.content] || 0),
28058
28058
  0
28059
28059
  )
28060
28060
  ), Ue = ve > 0 && we > ve;
28061
- p.value = Ue, Ue === !0 && s(T), k.value = ve < parseInt(i.breakpoint, 10);
28061
+ p.value = Ue, Ue === !0 && s(q), k.value = ve < parseInt(i.breakpoint, 10);
28062
28062
  }
28063
28063
  function Y(X, ve) {
28064
28064
  const we = X != null && X !== "" ? v.find((ze) => ze.name.value === X) : null, Ue = ve != null && ve !== "" ? v.find((ze) => ze.name.value === ve) : null;
@@ -28066,33 +28066,33 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28066
28066
  at = !1;
28067
28067
  else if (we && Ue) {
28068
28068
  const ze = we.tabIndicatorRef.value, Oe = Ue.tabIndicatorRef.value;
28069
- B !== null && (clearTimeout(B), B = null), ze.style.transition = "none", ze.style.transform = "none", Oe.style.transition = "none", Oe.style.transform = "none";
28069
+ E !== null && (clearTimeout(E), E = null), ze.style.transition = "none", ze.style.transform = "none", Oe.style.transition = "none", Oe.style.transform = "none";
28070
28070
  const qe = ze.getBoundingClientRect(), Xe = Oe.getBoundingClientRect();
28071
28071
  Oe.style.transform = i.vertical === !0 ? `translate3d(0,${qe.top - Xe.top}px,0) scale3d(1,${Xe.height ? qe.height / Xe.height : 1},1)` : `translate3d(${qe.left - Xe.left}px,0,0) scale3d(${Xe.width ? qe.width / Xe.width : 1},1,1)`, l(() => {
28072
- B = setTimeout(() => {
28073
- B = null, Oe.style.transition = "transform .25s cubic-bezier(.4, 0, .2, 1)", Oe.style.transform = "none";
28072
+ E = setTimeout(() => {
28073
+ E = null, Oe.style.transition = "transform .25s cubic-bezier(.4, 0, .2, 1)", Oe.style.transform = "none";
28074
28074
  }, 70);
28075
28075
  });
28076
28076
  }
28077
- Ue && p.value === !0 && A(Ue.rootRef.value);
28077
+ Ue && p.value === !0 && M(Ue.rootRef.value);
28078
28078
  }
28079
- function A(X) {
28079
+ function M(X) {
28080
28080
  const { left: ve, width: we, top: Ue, height: ze } = d.value.getBoundingClientRect(), Oe = X.getBoundingClientRect();
28081
28081
  let qe = i.vertical === !0 ? Oe.top - Ue : Oe.left - ve;
28082
28082
  if (qe < 0) {
28083
- d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(qe), T();
28083
+ d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(qe), q();
28084
28084
  return;
28085
28085
  }
28086
- qe += i.vertical === !0 ? Oe.height - ze : Oe.width - we, qe > 0 && (d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(qe), T());
28086
+ qe += i.vertical === !0 ? Oe.height - ze : Oe.width - we, qe > 0 && (d.value[i.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(qe), q());
28087
28087
  }
28088
- function T() {
28088
+ function q() {
28089
28089
  const X = d.value;
28090
28090
  if (X === null) return;
28091
28091
  const ve = X.getBoundingClientRect(), we = i.vertical === !0 ? X.scrollTop : Math.abs(X.scrollLeft);
28092
- D.value === !0 ? (g.value = Math.ceil(we + ve.width) < X.scrollWidth - 1, y.value = we > 0) : (g.value = we > 0, y.value = i.vertical === !0 ? Math.ceil(we + ve.height) < X.scrollHeight : Math.ceil(we + ve.width) < X.scrollWidth);
28092
+ A.value === !0 ? (g.value = Math.ceil(we + ve.width) < X.scrollWidth - 1, y.value = we > 0) : (g.value = we > 0, y.value = i.vertical === !0 ? Math.ceil(we + ve.height) < X.scrollHeight : Math.ceil(we + ve.width) < X.scrollWidth);
28093
28093
  }
28094
28094
  function j(X) {
28095
- q !== null && clearInterval(q), q = setInterval(() => {
28095
+ D !== null && clearInterval(D), D = setInterval(() => {
28096
28096
  ee(X) === !0 && ce();
28097
28097
  }, 5);
28098
28098
  }
@@ -28103,7 +28103,7 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28103
28103
  j(H.value === !0 ? 0 : Number.MAX_SAFE_INTEGER);
28104
28104
  }
28105
28105
  function ce() {
28106
- q !== null && (clearInterval(q), q = null);
28106
+ D !== null && (clearInterval(D), D = null);
28107
28107
  }
28108
28108
  function se(X, ve) {
28109
28109
  const we = Array.prototype.filter.call(
@@ -28112,13 +28112,13 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28112
28112
  ), Ue = we.length;
28113
28113
  if (Ue === 0) return;
28114
28114
  if (X === 36)
28115
- return A(we[0]), we[0].focus(), !0;
28115
+ return M(we[0]), we[0].focus(), !0;
28116
28116
  if (X === 35)
28117
- return A(we[Ue - 1]), we[Ue - 1].focus(), !0;
28117
+ return M(we[Ue - 1]), we[Ue - 1].focus(), !0;
28118
28118
  const ze = X === (i.vertical === !0 ? 38 : 37), Oe = X === (i.vertical === !0 ? 40 : 39), qe = ze === !0 ? -1 : Oe === !0 ? 1 : void 0;
28119
28119
  if (qe !== void 0) {
28120
- const Xe = D.value === !0 ? -1 : 1, ut = we.indexOf(ve) + qe * Xe;
28121
- return ut >= 0 && ut < Ue && (A(we[ut]), we[ut].focus({ preventScroll: !0 })), !0;
28120
+ const Xe = A.value === !0 ? -1 : 1, ut = we.indexOf(ve) + qe * Xe;
28121
+ return ut >= 0 && ut < Ue && (M(we[ut]), we[ut].focus({ preventScroll: !0 })), !0;
28122
28122
  }
28123
28123
  }
28124
28124
  const Be = b(() => H.value === !0 ? { get: (X) => Math.abs(X.scrollLeft), set: (X, ve) => {
@@ -28132,7 +28132,7 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28132
28132
  const ve = d.value, { get: we, set: Ue } = Be.value;
28133
28133
  let ze = !1, Oe = we(ve);
28134
28134
  const qe = X < Oe ? -1 : 1;
28135
- return Oe += qe * 5, Oe < 0 ? (ze = !0, Oe = 0) : (qe === -1 && Oe <= X || qe === 1 && Oe >= X) && (ze = !0, Oe = X), Ue(ve, Oe), T(), ze;
28135
+ return Oe += qe * 5, Oe < 0 ? (ze = !0, Oe = 0) : (qe === -1 && Oe <= X || qe === 1 && Oe >= X) && (ze = !0, Oe = X), Ue(ve, Oe), q(), ze;
28136
28136
  }
28137
28137
  function et(X, ve) {
28138
28138
  for (const we in X)
@@ -28179,12 +28179,12 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28179
28179
  at = !1;
28180
28180
  return;
28181
28181
  }
28182
- F({ name: X, setCurrent: !0 });
28182
+ I({ name: X, setCurrent: !0 });
28183
28183
  }
28184
28184
  function Qe(X) {
28185
28185
  if (u(), C.value !== !0 && f.value !== null && X.target && typeof X.target.closest == "function") {
28186
28186
  const ve = X.target.closest(".q-tab");
28187
- ve && f.value.contains(ve) === !0 && (C.value = !0, p.value === !0 && A(ve));
28187
+ ve && f.value.contains(ve) === !0 && (C.value = !0, p.value === !0 && M(ve));
28188
28188
  }
28189
28189
  }
28190
28190
  function wt() {
@@ -28196,10 +28196,10 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28196
28196
  gi.avoidRouteWatcher === !1 ? c(Ie) : h();
28197
28197
  }
28198
28198
  function Yt() {
28199
- if (V === void 0) {
28199
+ if (F === void 0) {
28200
28200
  const X = ye(() => n.$route.fullPath, _t);
28201
- V = () => {
28202
- X(), V = void 0;
28201
+ F = () => {
28202
+ X(), F = void 0;
28203
28203
  };
28204
28204
  }
28205
28205
  }
@@ -28207,33 +28207,33 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28207
28207
  v.push(X), x.value++, N(), X.routeData === void 0 || n.$route === void 0 ? c(() => {
28208
28208
  if (p.value === !0) {
28209
28209
  const ve = m.value, we = ve != null && ve !== "" ? v.find((Ue) => Ue.name.value === ve) : null;
28210
- we && A(we.rootRef.value);
28210
+ we && M(we.rootRef.value);
28211
28211
  }
28212
28212
  }) : (Yt(), X.routeData.hasRouterLink.value === !0 && _t());
28213
28213
  }
28214
28214
  function dt(X) {
28215
- v.splice(v.indexOf(X), 1), x.value--, N(), V !== void 0 && X.routeData !== void 0 && (v.every((ve) => ve.routeData === void 0) === !0 && V(), _t());
28215
+ v.splice(v.indexOf(X), 1), x.value--, N(), F !== void 0 && X.routeData !== void 0 && (v.every((ve) => ve.routeData === void 0) === !0 && F(), _t());
28216
28216
  }
28217
28217
  const gi = {
28218
28218
  currentModel: m,
28219
- tabProps: I,
28219
+ tabProps: V,
28220
28220
  hasFocus: C,
28221
- hasActiveTab: E,
28221
+ hasActiveTab: B,
28222
28222
  registerTab: Bt,
28223
28223
  unregisterTab: dt,
28224
28224
  verifyRouteModel: _t,
28225
- updateModel: F,
28225
+ updateModel: I,
28226
28226
  onKbdNavigate: se,
28227
28227
  avoidRouteWatcher: !1
28228
28228
  // false | string (uid)
28229
28229
  };
28230
28230
  vm(Cm, gi);
28231
28231
  function Bi() {
28232
- B !== null && clearTimeout(B), ce(), V == null || V();
28232
+ E !== null && clearTimeout(E), ce(), F == null || F();
28233
28233
  }
28234
28234
  let Gt, at;
28235
28235
  return ht(Bi), No(() => {
28236
- Gt = V !== void 0, Bi();
28236
+ Gt = F !== void 0, Bi();
28237
28237
  }), lc(() => {
28238
28238
  Gt === !0 && (Yt(), at = !0, _t()), N();
28239
28239
  }), () => O("div", {
@@ -28246,8 +28246,8 @@ const lT = ["left", "center", "right", "justify"], aT = Je({
28246
28246
  O(oT, { onResize: K }),
28247
28247
  O("div", {
28248
28248
  ref: d,
28249
- class: w.value,
28250
- onScroll: T
28249
+ class: T.value,
28250
+ onScroll: q
28251
28251
  }, qt(e.default)),
28252
28252
  O(kt, {
28253
28253
  class: "q-tabs__arrow q-tabs__arrow--left absolute q-tab__icon" + (g.value === !0 ? "" : " q-tabs__arrow--faded"),
@@ -28335,11 +28335,11 @@ function fT(i, e, t, n) {
28335
28335
  class: "q-tab__alert" + (i.alert !== !0 ? ` text-${i.alert}` : "")
28336
28336
  })
28337
28337
  ), v === !0 && x.push(C);
28338
- const B = [
28338
+ const E = [
28339
28339
  O("div", { class: "q-focus-helper", tabindex: -1, ref: s }),
28340
28340
  O("div", { class: f.value }, xn(e.default, x))
28341
28341
  ];
28342
- return v === !1 && B.push(C), B;
28342
+ return v === !1 && E.push(C), E;
28343
28343
  }
28344
28344
  const y = {
28345
28345
  name: b(() => i.name),
@@ -28407,115 +28407,115 @@ const dT = Je({
28407
28407
  }), h = b(() => {
28408
28408
  const w = t.schema["x-quasar-props"] || {};
28409
28409
  return { ...t.schema["x-component-props"] || {}, ...w };
28410
- }), f = b(() => t.schema.oneOf || t.schema.anyOf || []), d = G(0);
28410
+ }), f = b(() => t.schema.oneOf || t.schema.anyOf || []), d = G(0), m = (w) => {
28411
+ const A = {};
28412
+ if (!(w != null && w.properties)) return A;
28413
+ for (const [H, I] of Object.entries(w.properties))
28414
+ I.const !== void 0 && (A[H] = I.const);
28415
+ return A;
28416
+ };
28411
28417
  Si(() => {
28412
28418
  let w = 0;
28413
28419
  if (n.value && typeof n.value == "object" && Object.keys(n.value).length > 0) {
28414
- const D = f.value.findIndex((H) => Is.validate(H, n.value).valid);
28415
- D !== -1 && (w = D);
28420
+ const H = f.value.findIndex((I) => Is.validate(I, n.value).valid);
28421
+ H !== -1 && (w = H);
28416
28422
  }
28417
28423
  d.value = w;
28418
- const M = f.value[w];
28419
- if (M && M.properties) {
28420
- const D = n.value && typeof n.value == "object" ? n.value : {}, H = Is.getDefaultValue(M);
28421
- if (H && typeof H == "object") {
28422
- const F = { ...H, ...D };
28423
- Object.keys(H).some((K) => !(K in D)) && r && r(F, !1);
28424
- }
28424
+ const A = f.value[w];
28425
+ if (A && A.properties) {
28426
+ const H = n.value && typeof n.value == "object" ? n.value : {}, I = Is.getDefaultValue(A) || {}, N = m(A), K = { ...I, ...H, ...N };
28427
+ Object.keys(K).some((M) => !(M in H)) && r && r(K, !1);
28425
28428
  }
28426
28429
  });
28427
- const m = b(() => f.value[d.value]), p = b(() => {
28428
- const w = m.value;
28429
- return !w || !w.properties ? [] : Object.entries(w.properties).map(([M, D]) => ({
28430
- key: M,
28431
- schema: D,
28432
- path: t.path ? `${t.path}.${M}` : M
28430
+ const p = b(() => f.value[d.value]), g = b(() => {
28431
+ const w = p.value;
28432
+ return !w || !w.properties ? [] : Object.entries(w.properties).map(([A, H]) => ({
28433
+ key: A,
28434
+ schema: H,
28435
+ path: t.path ? `${t.path}.${A}` : A
28433
28436
  }));
28434
- }), g = b(() => {
28435
- const w = m.value;
28436
- return w && w.properties && !w.oneOf && !w.anyOf && !w.allOf;
28437
28437
  }), y = b(() => {
28438
- var D, H;
28438
+ const w = p.value;
28439
+ return w && w.properties && !w.oneOf && !w.anyOf && !w.allOf;
28440
+ }), k = b(() => {
28441
+ var H, I;
28439
28442
  const w = t.schema["x-oneof-style"];
28440
28443
  if (w)
28441
28444
  return w;
28442
- const M = (H = (D = c == null ? void 0 : c.componentDefaults) == null ? void 0 : D.oneOf) == null ? void 0 : H.displayStyle;
28443
- return M || (f.value.length <= 4 ? "tabs" : "dropdown");
28444
- }), k = b(() => {
28445
+ const A = (I = (H = c == null ? void 0 : c.componentDefaults) == null ? void 0 : H.oneOf) == null ? void 0 : I.displayStyle;
28446
+ return A || (f.value.length <= 4 ? "tabs" : "dropdown");
28447
+ }), v = b(() => {
28445
28448
  const w = f.value[0];
28446
28449
  if (!(w != null && w.properties)) return null;
28447
- for (const [M, D] of Object.entries(w.properties))
28448
- if (D.const !== void 0)
28449
- return M;
28450
+ for (const [A, H] of Object.entries(w.properties))
28451
+ if (H.const !== void 0)
28452
+ return A;
28450
28453
  return null;
28451
- }), v = (w) => {
28452
- var D;
28453
- const M = k.value;
28454
- return !M || !((D = w == null ? void 0 : w.properties) != null && D[M]) ? null : w.properties[M].const ?? null;
28455
- }, x = (w, M) => {
28456
- const D = t.schema["x-oneof-labels"];
28457
- if (D) {
28458
- if (Array.isArray(D) && D[M])
28459
- return D[M];
28460
- if (typeof D == "object") {
28461
- const H = v(w);
28462
- if (H && D[H])
28463
- return D[H];
28454
+ }), x = (w) => {
28455
+ var H;
28456
+ const A = v.value;
28457
+ return !A || !((H = w == null ? void 0 : w.properties) != null && H[A]) ? null : w.properties[A].const ?? null;
28458
+ }, C = (w, A) => {
28459
+ const H = t.schema["x-oneof-labels"];
28460
+ if (H) {
28461
+ if (Array.isArray(H) && H[A])
28462
+ return H[A];
28463
+ if (typeof H == "object") {
28464
+ const I = x(w);
28465
+ if (I && H[I])
28466
+ return H[I];
28464
28467
  }
28465
28468
  }
28466
- return w.title || `Option ${M + 1}`;
28467
- }, C = b(() => {
28469
+ return w.title || `Option ${A + 1}`;
28470
+ }, E = b(() => {
28468
28471
  const w = t.schema["x-oneof-descriptions"];
28469
28472
  if (!w) return null;
28470
- const M = m.value;
28471
- if (!M) return null;
28473
+ const A = p.value;
28474
+ if (!A) return null;
28472
28475
  if (Array.isArray(w) && w[d.value])
28473
28476
  return w[d.value];
28474
28477
  if (typeof w == "object") {
28475
- const D = v(M);
28476
- if (D && w[D])
28477
- return w[D];
28478
+ const H = x(A);
28479
+ if (H && w[H])
28480
+ return w[H];
28478
28481
  }
28479
28482
  return null;
28480
- }), B = b(() => f.value.map((w, M) => ({
28481
- label: x(w, M),
28482
- value: M
28483
- }))), q = b(() => {
28484
- var M, D;
28483
+ }), D = b(() => f.value.map((w, A) => ({
28484
+ label: C(w, A),
28485
+ value: A
28486
+ }))), F = b(() => {
28487
+ var A, H;
28485
28488
  const w = t.schema["x-oneof-select-label"];
28486
- return w || ((D = (M = c == null ? void 0 : c.componentDefaults) == null ? void 0 : M.oneOf) == null ? void 0 : D.selectLabel) || "Select Option";
28487
- }), V = G(B.value);
28489
+ return w || ((H = (A = c == null ? void 0 : c.componentDefaults) == null ? void 0 : A.oneOf) == null ? void 0 : H.selectLabel) || "Select Option";
28490
+ }), V = G(D.value);
28488
28491
  ye(
28489
- B,
28492
+ D,
28490
28493
  (w) => {
28491
28494
  V.value = w;
28492
28495
  },
28493
28496
  { immediate: !0 }
28494
28497
  );
28495
- const I = b(() => {
28496
- var M, D;
28498
+ const B = b(() => {
28499
+ var A, H;
28497
28500
  const w = t.schema["x-component-props"];
28498
- return (w == null ? void 0 : w.autocomplete) !== void 0 ? w.autocomplete : ((D = (M = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : M.select) == null ? void 0 : D.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
28499
- }), R = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, activeSchema: m, activeProperties: p, shouldRenderPropertiesInline: g, displayStyle: y, discriminatorField: k, getDiscriminatorValue: v, getOptionLabel: x, activeOptionDescription: C, allSelectOptions: B, selectLabel: q, filteredOptions: V, useFilter: I, filterFn: (w, M) => {
28500
- M(() => {
28501
+ return (w == null ? void 0 : w.autocomplete) !== void 0 ? w.autocomplete : ((H = (A = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : A.select) == null ? void 0 : H.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
28502
+ }), T = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, extractConstValues: m, activeSchema: p, activeProperties: g, shouldRenderPropertiesInline: y, displayStyle: k, discriminatorField: v, getDiscriminatorValue: x, getOptionLabel: C, activeOptionDescription: E, allSelectOptions: D, selectLabel: F, filteredOptions: V, useFilter: B, filterFn: (w, A) => {
28503
+ A(() => {
28501
28504
  if (w === "")
28502
- V.value = B.value;
28505
+ V.value = D.value;
28503
28506
  else {
28504
- const D = w.toLowerCase();
28505
- V.value = B.value.filter(
28506
- (H) => H.label.toLowerCase().includes(D)
28507
+ const H = w.toLowerCase();
28508
+ V.value = D.value.filter(
28509
+ (I) => I.label.toLowerCase().includes(H)
28507
28510
  );
28508
28511
  }
28509
28512
  });
28510
28513
  }, handleOptionChange: (w) => {
28511
28514
  d.value = w;
28512
- const M = f.value[w];
28513
- if (M && M.properties) {
28514
- const D = n.value && typeof n.value == "object" ? n.value : {}, H = Is.getDefaultValue(M);
28515
- if (H && typeof H == "object") {
28516
- const F = { ...H, ...D };
28517
- r && r(F, !1);
28518
- }
28515
+ const A = f.value[w];
28516
+ if (A && A.properties) {
28517
+ const H = n.value && typeof n.value == "object" ? n.value : {}, I = Is.getDefaultValue(A) || {}, N = m(A), K = { ...I, ...H, ...N };
28518
+ r && r(K, !1);
28519
28519
  }
28520
28520
  }, get QCard() {
28521
28521
  return Ac;
@@ -28530,7 +28530,7 @@ const dT = Je({
28530
28530
  }, get FieldRenderer() {
28531
28531
  return Rl;
28532
28532
  } };
28533
- return Object.defineProperty(R, "__isScriptSetup", { enumerable: !1, value: !0 }), R;
28533
+ return Object.defineProperty(T, "__isScriptSetup", { enumerable: !1, value: !0 }), T;
28534
28534
  }
28535
28535
  }), gT = {
28536
28536
  key: 0,
@@ -29013,9 +29013,9 @@ const RT = /* @__PURE__ */ Pt({
29013
29013
  } = Qt(t.path, t.schema, {
29014
29014
  label: t.label
29015
29015
  }), h = Bm(), f = b(() => h == null ? void 0 : h.quickformsDefaults), d = b(() => {
29016
- var T, j;
29017
- const Y = t.schema["x-use-template-syntax"], A = (j = (T = f.value) == null ? void 0 : T.jsonlogicbuilder) == null ? void 0 : j.useTemplateSyntax;
29018
- return Y ?? A ?? !1;
29016
+ var q, j;
29017
+ const Y = t.schema["x-use-template-syntax"], M = (j = (q = f.value) == null ? void 0 : q.jsonlogicbuilder) == null ? void 0 : j.useTemplateSyntax;
29018
+ return Y ?? M ?? !1;
29019
29019
  }), m = G(fm()), p = G(!1), g = G(""), y = G(null), k = G(!1);
29020
29020
  ye(
29021
29021
  () => n.value,
@@ -29043,21 +29043,21 @@ const RT = /* @__PURE__ */ Pt({
29043
29043
  function C(Y) {
29044
29044
  Y.push(BT()), v();
29045
29045
  }
29046
- function B(Y, A) {
29047
- const T = Y.findIndex((j) => j.id === A);
29048
- T !== -1 && (Y.splice(T, 1), v());
29046
+ function E(Y, M) {
29047
+ const q = Y.findIndex((j) => j.id === M);
29048
+ q !== -1 && (Y.splice(q, 1), v());
29049
29049
  }
29050
- function q(Y, A) {
29051
- Y.left = A, v();
29050
+ function D(Y, M) {
29051
+ Y.left = M, v();
29052
29052
  }
29053
- function V(Y, A) {
29054
- Y.operator = A, v();
29053
+ function F(Y, M) {
29054
+ Y.operator = M, v();
29055
29055
  }
29056
- function I(Y, A) {
29057
- Y.right = A, v();
29056
+ function V(Y, M) {
29057
+ Y.right = M, v();
29058
29058
  }
29059
- function E(Y, A) {
29060
- Y.logic = A, v();
29059
+ function B(Y, M) {
29060
+ Y.logic = M, v();
29061
29061
  }
29062
29062
  function P() {
29063
29063
  if (p.value)
@@ -29079,83 +29079,83 @@ const RT = /* @__PURE__ */ Pt({
29079
29079
  function R(Y) {
29080
29080
  g.value = Y;
29081
29081
  try {
29082
- const A = JSON.parse(Y);
29083
- y.value = null, k.value = !0, r(A);
29084
- } catch (A) {
29085
- y.value = A.message;
29086
- }
29087
- }
29088
- const w = b(() => {
29089
- var T, j;
29090
- const Y = t.schema["x-operator-display"], A = (j = (T = f.value) == null ? void 0 : T.jsonlogicbuilder) == null ? void 0 : j.operatorDisplayMode;
29091
- return Y || A || "short";
29092
- }), M = b(() => {
29093
- var T, j;
29094
- const Y = t.schema["x-allowed-operators"], A = (j = (T = f.value) == null ? void 0 : T.jsonlogicbuilder) == null ? void 0 : j.allowedOperators;
29095
- return Y || A || null;
29096
- }), D = b(() => {
29082
+ const M = JSON.parse(Y);
29083
+ y.value = null, k.value = !0, r(M);
29084
+ } catch (M) {
29085
+ y.value = M.message;
29086
+ }
29087
+ }
29088
+ const T = b(() => {
29089
+ var q, j;
29090
+ const Y = t.schema["x-operator-display"], M = (j = (q = f.value) == null ? void 0 : q.jsonlogicbuilder) == null ? void 0 : j.operatorDisplayMode;
29091
+ return Y || M || "short";
29092
+ }), w = b(() => {
29093
+ var q, j;
29094
+ const Y = t.schema["x-allowed-operators"], M = (j = (q = f.value) == null ? void 0 : q.jsonlogicbuilder) == null ? void 0 : j.allowedOperators;
29095
+ return Y || M || null;
29096
+ }), A = b(() => {
29097
29097
  let Y = M0;
29098
- return M.value && (Y = Y.filter(
29099
- (A) => M.value.includes(A.value)
29100
- )), Y.map((A) => {
29101
- const T = w.value;
29098
+ return w.value && (Y = Y.filter(
29099
+ (M) => w.value.includes(M.value)
29100
+ )), Y.map((M) => {
29101
+ const q = T.value;
29102
29102
  let j = "";
29103
- switch (T) {
29103
+ switch (q) {
29104
29104
  case "icon":
29105
- j = A.shortLabel || A.symbol || A.label;
29105
+ j = M.shortLabel || M.symbol || M.label;
29106
29106
  break;
29107
29107
  case "symbol":
29108
- j = A.symbol || A.label;
29108
+ j = M.symbol || M.label;
29109
29109
  break;
29110
29110
  case "short":
29111
- j = A.shortLabel || A.label;
29111
+ j = M.shortLabel || M.label;
29112
29112
  break;
29113
29113
  case "verbose":
29114
- j = A.symbol ? `${A.symbol} ${A.label}` : A.label;
29114
+ j = M.symbol ? `${M.symbol} ${M.label}` : M.label;
29115
29115
  break;
29116
29116
  default:
29117
- j = A.symbol || A.label;
29117
+ j = M.symbol || M.label;
29118
29118
  }
29119
29119
  return {
29120
- value: A.value,
29120
+ value: M.value,
29121
29121
  label: j,
29122
- icon: A.icon,
29123
- description: A.description,
29122
+ icon: M.icon,
29123
+ description: M.description,
29124
29124
  // Store searchTerms for custom filter function
29125
- searchTerms: A.searchTerms || []
29125
+ searchTerms: M.searchTerms || []
29126
29126
  };
29127
29127
  });
29128
- }), H = G(D.value);
29129
- ye(D, (Y) => {
29128
+ }), H = G(A.value);
29129
+ ye(A, (Y) => {
29130
29130
  H.value = Y;
29131
29131
  });
29132
- function F(Y, A) {
29132
+ function I(Y, M) {
29133
29133
  if (Y === "") {
29134
- A(() => {
29135
- H.value = D.value;
29134
+ M(() => {
29135
+ H.value = A.value;
29136
29136
  });
29137
29137
  return;
29138
29138
  }
29139
- A(() => {
29140
- const T = Y.toLowerCase();
29141
- H.value = D.value.filter((j) => j.label.toLowerCase().includes(T) ? !0 : j.searchTerms && Array.isArray(j.searchTerms) ? j.searchTerms.some(
29142
- (J) => J.toLowerCase().includes(T)
29139
+ M(() => {
29140
+ const q = Y.toLowerCase();
29141
+ H.value = A.value.filter((j) => j.label.toLowerCase().includes(q) ? !0 : j.searchTerms && Array.isArray(j.searchTerms) ? j.searchTerms.some(
29142
+ (J) => J.toLowerCase().includes(q)
29143
29143
  ) : !1);
29144
29144
  });
29145
29145
  }
29146
- function N(Y, A) {
29147
- if (A && typeof A == "string" && H.value.length > 0 && !D.value.some(
29148
- (j) => j.value === A
29146
+ function N(Y, M) {
29147
+ if (M && typeof M == "string" && H.value.length > 0 && !A.value.some(
29148
+ (j) => j.value === M
29149
29149
  )) {
29150
- V(
29150
+ F(
29151
29151
  Y,
29152
29152
  H.value[0].value
29153
29153
  );
29154
29154
  return;
29155
29155
  }
29156
- A && V(Y, A);
29156
+ M && F(Y, M);
29157
29157
  }
29158
- const K = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: B, updateConditionLeft: q, updateConditionOperator: V, updateConditionRight: I, updateGroupLogic: E, toggleAdvancedMode: P, handleJsonChange: R, operatorDisplayMode: w, allowedOperators: M, operatorOptions: D, filteredOperatorOptions: H, filterOperators: F, handleOperatorInput: N, get QBtn() {
29158
+ const K = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: E, updateConditionLeft: D, updateConditionOperator: F, updateConditionRight: V, updateGroupLogic: B, toggleAdvancedMode: P, handleJsonChange: R, operatorDisplayMode: T, allowedOperators: w, operatorOptions: A, filteredOperatorOptions: H, filterOperators: I, handleOperatorInput: N, get QBtn() {
29159
29159
  return It;
29160
29160
  }, get QSelect() {
29161
29161
  return zo;
@@ -29928,23 +29928,23 @@ const c2 = /* @__PURE__ */ Ut(RT, [["render", u2], ["__scopeId", "data-v-722c2e2
29928
29928
  });
29929
29929
  Array.isArray(n.value) || r([], !1);
29930
29930
  const f = b(() => {
29931
- const I = Nl(
29931
+ const V = Nl(
29932
29932
  t.schema,
29933
29933
  h == null ? void 0 : h.componentDefaults,
29934
29934
  "select"
29935
29935
  ), {
29936
- useInput: E,
29936
+ useInput: B,
29937
29937
  useChips: P,
29938
29938
  multiple: R,
29939
- hideDropdownIcon: w,
29940
- newValueMode: M,
29941
- autocomplete: D,
29939
+ hideDropdownIcon: T,
29940
+ newValueMode: w,
29941
+ autocomplete: A,
29942
29942
  ...H
29943
- } = I, F = { ...H };
29944
- return D !== void 0 && (F.autocomplete = D === !0 ? "on" : D === !1 ? "off" : D), F;
29943
+ } = V, I = { ...H };
29944
+ return A !== void 0 && (I.autocomplete = A === !0 ? "on" : A === !1 ? "off" : A), I;
29945
29945
  }), d = b(() => {
29946
29946
  var R;
29947
- const I = ((R = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : R.tags) || {}, E = t.schema["x-quickforms-quasar"] || {};
29947
+ const V = ((R = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : R.tags) || {}, B = t.schema["x-quickforms-quasar"] || {};
29948
29948
  return {
29949
29949
  chip: {
29950
29950
  ...{
@@ -29953,26 +29953,26 @@ const c2 = /* @__PURE__ */ Ut(RT, [["render", u2], ["__scopeId", "data-v-722c2e2
29953
29953
  color: "primary",
29954
29954
  textColor: "white"
29955
29955
  },
29956
- ...I.chip || {},
29957
- ...E.chip || {}
29956
+ ...V.chip || {},
29957
+ ...B.chip || {}
29958
29958
  },
29959
29959
  // Separator pattern for pasting multiple values
29960
- separator: E.separator || I.separator || /[,;\s]+/
29960
+ separator: B.separator || V.separator || /[,;\s]+/
29961
29961
  };
29962
29962
  }), m = b(() => {
29963
- const I = t.schema.items;
29964
- return !I || typeof I == "boolean" ? null : Array.isArray(I) ? I[0] : I;
29963
+ const V = t.schema.items;
29964
+ return !V || typeof V == "boolean" ? null : Array.isArray(V) ? V[0] : V;
29965
29965
  }), p = b(() => {
29966
- var I;
29967
- return ((I = m.value) == null ? void 0 : I.format) === "email";
29966
+ var V;
29967
+ return ((V = m.value) == null ? void 0 : V.format) === "email";
29968
29968
  }), g = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
29969
- function y(I) {
29970
- const E = m.value;
29971
- return E ? !(E.format === "email" && !g.test(I) || typeof E.minLength == "number" && I.length < E.minLength || typeof E.maxLength == "number" && I.length > E.maxLength || E.pattern && !new RegExp(E.pattern).test(I)) : !0;
29969
+ function y(V) {
29970
+ const B = m.value;
29971
+ return B ? !(B.format === "email" && !g.test(V) || typeof B.minLength == "number" && V.length < B.minLength || typeof B.maxLength == "number" && V.length > B.maxLength || B.pattern && !new RegExp(B.pattern).test(V)) : !0;
29972
29972
  }
29973
- function k(I) {
29974
- const E = y(I), P = { ...d.value.chip };
29975
- return E ? P : {
29973
+ function k(V) {
29974
+ const B = y(V), P = { ...d.value.chip };
29975
+ return B ? P : {
29976
29976
  ...P,
29977
29977
  color: "negative",
29978
29978
  textColor: "white",
@@ -29980,46 +29980,46 @@ const c2 = /* @__PURE__ */ Ut(RT, [["render", u2], ["__scopeId", "data-v-722c2e2
29980
29980
  };
29981
29981
  }
29982
29982
  const v = b(() => {
29983
- const I = t.schema["x-placeholder"];
29984
- return I || (p.value ? "Type email and press Enter" : "Type and press Enter to add");
29983
+ const V = t.schema["x-placeholder"];
29984
+ return V || (p.value ? "Type email and press Enter" : "Type and press Enter to add");
29985
29985
  });
29986
- function x(I) {
29987
- if (!(I != null && I.trim()))
29986
+ function x(V) {
29987
+ if (!(V != null && V.trim()))
29988
29988
  return [];
29989
- const E = d.value.separator, P = typeof E == "string" ? new RegExp(E) : E;
29990
- return I.split(P).map((R) => R.trim()).filter((R) => R.length > 0);
29989
+ const B = d.value.separator, P = typeof B == "string" ? new RegExp(B) : B;
29990
+ return V.split(P).map((R) => R.trim()).filter((R) => R.length > 0);
29991
29991
  }
29992
- function C(I, E) {
29993
- const P = x(I);
29992
+ function C(V, B) {
29993
+ const P = x(V);
29994
29994
  if (P.length === 0) {
29995
- E();
29995
+ B();
29996
29996
  return;
29997
29997
  }
29998
29998
  const R = Array.isArray(n.value) ? n.value : [];
29999
29999
  if (P.length === 1) {
30000
- const w = P[0];
30001
- R.includes(w) ? E() : E(w, "add-unique");
30000
+ const T = P[0];
30001
+ R.includes(T) ? B() : B(T, "add-unique");
30002
30002
  } else {
30003
- const w = P.filter((M) => !R.includes(M));
30004
- w.length > 0 && r([...R, ...w]), E();
30003
+ const T = P.filter((w) => !R.includes(w));
30004
+ T.length > 0 && r([...R, ...T]), B();
30005
30005
  }
30006
30006
  }
30007
- function B(I, E) {
30008
- E(() => {
30007
+ function E(V, B) {
30008
+ B(() => {
30009
30009
  });
30010
30010
  }
30011
- function q(I) {
30011
+ function D(V) {
30012
30012
  if (t.disabled || t.readonly)
30013
30013
  return;
30014
- const E = Array.isArray(n.value) ? n.value : [];
30015
- r(E.filter((P) => P !== I));
30014
+ const B = Array.isArray(n.value) ? n.value : [];
30015
+ r(B.filter((P) => P !== V));
30016
30016
  }
30017
- const V = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: C, filterFn: B, removeValue: q, get QSelect() {
30017
+ const F = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: C, filterFn: E, removeValue: D, get QSelect() {
30018
30018
  return zo;
30019
30019
  }, get QChip() {
30020
30020
  return Em;
30021
30021
  } };
30022
- return Object.defineProperty(V, "__isScriptSetup", { enumerable: !1, value: !0 }), V;
30022
+ return Object.defineProperty(F, "__isScriptSetup", { enumerable: !1, value: !0 }), F;
30023
30023
  }
30024
30024
  });
30025
30025
  function f2(i, e, t, n, r, o) {