@quickflo/quickforms-quasar 1.16.26 → 1.16.28

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 My(i, e) {
503
503
  const k = ++l, v = e.value !== !0 ? () => {
504
504
  s.value = !0;
505
505
  } : () => {
506
- }, x = (E, T) => {
507
- E === !0 && v(), r.value = E, o.value = T || null, e.value = !1;
506
+ }, x = (P, T) => {
507
+ P === !0 && v(), r.value = P, o.value = T || null, e.value = !1;
508
508
  }, C = [];
509
- for (let E = 0; E < t.rules.length; E++) {
510
- const T = t.rules[E];
511
- let H;
512
- if (typeof T == "function" ? H = T(y, da) : typeof T == "string" && da[T] !== void 0 && (H = da[T](y)), H === !1 || typeof H == "string")
513
- return x(!0, H), !1;
514
- H !== !0 && H !== void 0 && C.push(H);
509
+ for (let P = 0; P < t.rules.length; P++) {
510
+ const T = t.rules[P];
511
+ let N;
512
+ if (typeof T == "function" ? N = T(y, da) : typeof T == "string" && da[T] !== void 0 && (N = da[T](y)), N === !1 || typeof N == "string")
513
+ return x(!0, N), !1;
514
+ N !== !0 && N !== void 0 && C.push(N);
515
515
  }
516
516
  return C.length === 0 ? (x(!1), !0) : (e.value = !0, Promise.all(C).then(
517
- (E) => {
518
- if (E === void 0 || Array.isArray(E) === !1 || E.length === 0)
517
+ (P) => {
518
+ if (P === void 0 || Array.isArray(P) === !1 || P.length === 0)
519
519
  return k === l && x(!1), !0;
520
- const T = E.find((H) => H === !1 || typeof H == "string");
520
+ const T = P.find((N) => N === !1 || typeof N == "string");
521
521
  return k === l && x(T !== void 0, T), T === void 0;
522
522
  },
523
- (E) => (k === l && (console.error(E), x(!0)), !1)
523
+ (P) => (k === l && (console.error(P), x(!0)), !1)
524
524
  ));
525
525
  }
526
526
  const g = Am(p, 0);
@@ -712,11 +712,11 @@ function mc(i) {
712
712
  t("update:modelValue", q);
713
713
  }), i.controlEvents === void 0 && (i.controlEvents = {
714
714
  onFocusin: V,
715
- onFocusout: B
715
+ onFocusout: R
716
716
  }), Object.assign(i, {
717
717
  clearValue: D,
718
718
  onControlFocusin: V,
719
- onControlFocusout: B,
719
+ onControlFocusout: R,
720
720
  focus: T
721
721
  }), i.computedCounter === void 0 && (i.computedCounter = b(() => {
722
722
  if (e.counter !== !1) {
@@ -751,24 +751,24 @@ function mc(i) {
751
751
  const q = {};
752
752
  return i.targetUid.value && (q.for = i.targetUid.value), e.disable === !0 && (q["aria-disabled"] = "true"), q;
753
753
  });
754
- function E() {
754
+ function P() {
755
755
  var ne;
756
756
  const q = document.activeElement;
757
757
  let z = (ne = i.targetRef) == null ? void 0 : ne.value;
758
758
  z && (q === null || q.id !== i.targetUid.value) && (z.hasAttribute("tabindex") === !0 || (z = z.querySelector("[tabindex]")), z !== q && (z == null || z.focus({ preventScroll: !0 })));
759
759
  }
760
760
  function T() {
761
- Vl(E);
761
+ Vl(P);
762
762
  }
763
- function H() {
764
- Dy(E);
763
+ function N() {
764
+ Dy(P);
765
765
  const q = document.activeElement;
766
766
  q !== null && i.rootRef.value.contains(q) && q.blur();
767
767
  }
768
768
  function V(q) {
769
769
  l !== null && (clearTimeout(l), l = null), i.editable.value === !0 && i.focused.value === !1 && (i.focused.value = !0, t("focus", q));
770
770
  }
771
- function B(q, z) {
771
+ function R(q, z) {
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", q)), z == null || z());
774
774
  });
@@ -780,7 +780,7 @@ function mc(i) {
780
780
  f(), a.value = ne;
781
781
  });
782
782
  }
783
- function R(q) {
783
+ function E(q) {
784
784
  [13, 32].includes(q.keyCode) && D(q);
785
785
  }
786
786
  function O() {
@@ -794,7 +794,7 @@ function mc(i) {
794
794
  ), q.push(
795
795
  A("div", {
796
796
  class: "q-field__control-container col relative-position row no-wrap q-anchor--skip"
797
- }, P())
797
+ }, _())
798
798
  ), c.value === !0 && e.noErrorIcon === !1 && q.push(
799
799
  Y("error", [
800
800
  A(kt, { name: s.iconSet.field.error, color: "negative" })
@@ -813,7 +813,7 @@ function mc(i) {
813
813
  role: "button",
814
814
  "aria-hidden": "false",
815
815
  "aria-label": s.lang.label.clear,
816
- onKeyup: R,
816
+ onKeyup: E,
817
817
  onClick: D
818
818
  })
819
819
  ])
@@ -829,7 +829,7 @@ function mc(i) {
829
829
  i.getControlChild()
830
830
  ), q;
831
831
  }
832
- function P() {
832
+ function _() {
833
833
  const q = [];
834
834
  return e.prefix !== void 0 && e.prefix !== null && q.push(
835
835
  A("div", {
@@ -889,7 +889,7 @@ function mc(i) {
889
889
  o.focus();
890
890
  }), ht(() => {
891
891
  l !== null && clearTimeout(l);
892
- }), Object.assign(o, { focus: T, blur: H }), function() {
892
+ }), Object.assign(o, { focus: T, blur: N }), function() {
893
893
  const z = i.getControl === void 0 && n.control === void 0 ? {
894
894
  ...i.splitAttrs.attributes.value,
895
895
  "data-autofocus": e.autofocus === !0 || void 0,
@@ -976,9 +976,9 @@ function Ry(i, e, t, n) {
976
976
  tokenMap: wh,
977
977
  tokenRegexMask: _y
978
978
  };
979
- const { tokenMap: B } = Tm(i.maskTokens), D = {
979
+ const { tokenMap: R } = Tm(i.maskTokens), D = {
980
980
  ...wh,
981
- ...B
981
+ ...R
982
982
  };
983
983
  return {
984
984
  tokenMap: D,
@@ -988,11 +988,11 @@ function Ry(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
- ve(() => i.type + i.autogrow, g), ve(() => i.mask, (B) => {
992
- if (B !== void 0)
991
+ ve(() => i.type + i.autogrow, g), ve(() => i.mask, (R) => {
992
+ if (R !== void 0)
993
993
  y(f.value, !0);
994
994
  else {
995
- const D = H(f.value);
995
+ const D = N(f.value);
996
996
  g(), i.modelValue !== D && e("update:modelValue", D);
997
997
  }
998
998
  }), ve(() => i.fillMask + i.reverseFillMask, () => {
@@ -1002,49 +1002,49 @@ function Ry(i, e, t, n) {
1002
1002
  });
1003
1003
  function m() {
1004
1004
  if (g(), h.value === !0) {
1005
- const B = E(H(i.modelValue));
1006
- return i.fillMask !== !1 ? V(B) : B;
1005
+ const R = P(N(i.modelValue));
1006
+ return i.fillMask !== !1 ? V(R) : R;
1007
1007
  }
1008
1008
  return i.modelValue;
1009
1009
  }
1010
- function p(B) {
1011
- if (B < r.length)
1012
- return r.slice(-B);
1013
- let D = "", R = r;
1014
- const O = R.indexOf(vt);
1010
+ function p(R) {
1011
+ if (R < r.length)
1012
+ return r.slice(-R);
1013
+ let D = "", E = r;
1014
+ const O = E.indexOf(vt);
1015
1015
  if (O !== -1) {
1016
- for (let P = B - R.length; P > 0; P--)
1016
+ for (let _ = R - E.length; _ > 0; _--)
1017
1017
  D += vt;
1018
- R = R.slice(0, O) + D + R.slice(O);
1018
+ E = E.slice(0, O) + D + E.slice(O);
1019
1019
  }
1020
- return R;
1020
+ return E;
1021
1021
  }
1022
1022
  function g() {
1023
1023
  if (h.value = i.mask !== void 0 && i.mask.length !== 0 && d(), h.value === !1) {
1024
1024
  l = void 0, r = "", o = "";
1025
1025
  return;
1026
1026
  }
1027
- const B = kh[i.mask] === void 0 ? i.mask : kh[i.mask], D = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", R = D.replace(Sh, "\\$&"), O = [], P = [], F = [];
1027
+ const R = kh[i.mask] === void 0 ? i.mask : kh[i.mask], D = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", E = D.replace(Sh, "\\$&"), O = [], _ = [], F = [];
1028
1028
  let Y = i.reverseFillMask === !0, M = "", q = "";
1029
- B.replace(c.value.tokenRegexMask, (w, N, U, G, oe) => {
1029
+ R.replace(c.value.tokenRegexMask, (w, H, U, G, oe) => {
1030
1030
  if (G !== void 0) {
1031
1031
  const le = c.value.tokenMap[G];
1032
- F.push(le), q = le.negate, Y === !0 && (P.push("(?:" + q + "+)?(" + le.pattern + "+)?(?:" + q + "+)?(" + le.pattern + "+)?"), Y = !1), P.push("(?:" + q + "+)?(" + le.pattern + ")?");
1032
+ F.push(le), q = le.negate, Y === !0 && (_.push("(?:" + q + "+)?(" + le.pattern + "+)?(?:" + q + "+)?(" + le.pattern + "+)?"), Y = !1), _.push("(?:" + q + "+)?(" + le.pattern + ")?");
1033
1033
  } else if (U !== void 0)
1034
1034
  M = "\\" + (U === "\\" ? "" : U), F.push(U), O.push("([^" + M + "]+)?" + M + "?");
1035
1035
  else {
1036
- const le = N !== void 0 ? N : oe;
1036
+ const le = H !== void 0 ? H : oe;
1037
1037
  M = le === "\\" ? "\\\\\\\\" : le.replace(Sh, "\\\\$&"), F.push(le), O.push("([^" + M + "]+)?" + M + "?");
1038
1038
  }
1039
1039
  });
1040
1040
  const z = new RegExp(
1041
1041
  "^" + O.join("") + "(" + (M === "" ? "." : "[^" + M + "]") + "+)?" + (M === "" ? "" : "[" + M + "]*") + "$"
1042
- ), ne = P.length - 1, I = P.map((w, N) => N === 0 && i.reverseFillMask === !0 ? new RegExp("^" + R + "*" + w) : N === ne ? new RegExp(
1043
- "^" + w + "(" + (q === "" ? "." : q) + "+)?" + (i.reverseFillMask === !0 ? "$" : R + "*")
1042
+ ), ne = _.length - 1, I = _.map((w, H) => H === 0 && i.reverseFillMask === !0 ? new RegExp("^" + E + "*" + w) : H === ne ? new RegExp(
1043
+ "^" + w + "(" + (q === "" ? "." : q) + "+)?" + (i.reverseFillMask === !0 ? "$" : E + "*")
1044
1044
  ) : new RegExp("^" + w));
1045
1045
  s = F, l = (w) => {
1046
- const N = z.exec(i.reverseFillMask === !0 ? w : w.slice(0, F.length + 1));
1047
- N !== null && (w = N.slice(1).join(""));
1046
+ const H = z.exec(i.reverseFillMask === !0 ? w : w.slice(0, F.length + 1));
1047
+ H !== null && (w = H.slice(1).join(""));
1048
1048
  const U = [], G = I.length;
1049
1049
  for (let oe = 0, le = w; oe < G; oe++) {
1050
1050
  const Be = I[oe].exec(le);
@@ -1055,158 +1055,158 @@ function Ry(i, e, t, n) {
1055
1055
  return U.length !== 0 ? U.join("") : w;
1056
1056
  }, r = F.map((w) => typeof w == "string" ? w : vt).join(""), o = r.split(vt).join(D);
1057
1057
  }
1058
- function y(B, D, R) {
1059
- const O = n.value, P = O.selectionEnd, F = O.value.length - P, Y = H(B);
1058
+ function y(R, D, E) {
1059
+ const O = n.value, _ = O.selectionEnd, F = O.value.length - _, Y = N(R);
1060
1060
  D === !0 && g();
1061
- const M = E(Y, D), q = i.fillMask !== !1 ? V(M) : M, z = f.value !== q;
1061
+ const M = P(Y, D), q = i.fillMask !== !1 ? V(M) : M, z = f.value !== q;
1062
1062
  O.value !== q && (O.value = q), z === !0 && (f.value = q), document.activeElement === O && rt(() => {
1063
1063
  if (q === o) {
1064
1064
  const I = i.reverseFillMask === !0 ? o.length : 0;
1065
1065
  O.setSelectionRange(I, I, "forward");
1066
1066
  return;
1067
1067
  }
1068
- if (R === "insertFromPaste" && i.reverseFillMask !== !0) {
1068
+ if (E === "insertFromPaste" && i.reverseFillMask !== !0) {
1069
1069
  const I = O.selectionEnd;
1070
- let w = P - 1;
1071
- for (let N = a; N <= w && N < I; N++)
1072
- r[N] !== vt && w++;
1070
+ let w = _ - 1;
1071
+ for (let H = a; H <= w && H < I; H++)
1072
+ r[H] !== vt && w++;
1073
1073
  v.right(O, w);
1074
1074
  return;
1075
1075
  }
1076
- if (["deleteContentBackward", "deleteContentForward"].indexOf(R) !== -1) {
1077
- const I = i.reverseFillMask === !0 ? P === 0 ? q.length > M.length ? 1 : 0 : Math.max(0, q.length - (q === o ? 0 : Math.min(M.length, F) + 1)) + 1 : P;
1076
+ if (["deleteContentBackward", "deleteContentForward"].indexOf(E) !== -1) {
1077
+ const I = i.reverseFillMask === !0 ? _ === 0 ? q.length > M.length ? 1 : 0 : Math.max(0, q.length - (q === o ? 0 : Math.min(M.length, F) + 1)) + 1 : _;
1078
1078
  O.setSelectionRange(I, I, "forward");
1079
1079
  return;
1080
1080
  }
1081
1081
  if (i.reverseFillMask === !0)
1082
1082
  if (z === !0) {
1083
1083
  const I = Math.max(0, q.length - (q === o ? 0 : Math.min(M.length, F + 1)));
1084
- I === 1 && P === 1 ? O.setSelectionRange(I, I, "forward") : v.rightReverse(O, I);
1084
+ I === 1 && _ === 1 ? O.setSelectionRange(I, I, "forward") : v.rightReverse(O, I);
1085
1085
  } else {
1086
1086
  const I = q.length - F;
1087
1087
  O.setSelectionRange(I, I, "backward");
1088
1088
  }
1089
1089
  else if (z === !0) {
1090
- const I = Math.max(0, r.indexOf(vt), Math.min(M.length, P) - 1);
1090
+ const I = Math.max(0, r.indexOf(vt), Math.min(M.length, _) - 1);
1091
1091
  v.right(O, I);
1092
1092
  } else {
1093
- const I = P - 1;
1093
+ const I = _ - 1;
1094
1094
  v.right(O, I);
1095
1095
  }
1096
1096
  });
1097
- const ne = i.unmaskedValue === !0 ? H(q) : q;
1097
+ const ne = i.unmaskedValue === !0 ? N(q) : q;
1098
1098
  String(i.modelValue) !== ne && (i.modelValue !== null || ne !== "") && t(ne, !0);
1099
1099
  }
1100
- function k(B, D, R) {
1101
- const O = E(H(B.value));
1102
- D = Math.max(0, r.indexOf(vt), Math.min(O.length, D)), a = D, B.setSelectionRange(D, R, "forward");
1100
+ function k(R, D, E) {
1101
+ const O = P(N(R.value));
1102
+ D = Math.max(0, r.indexOf(vt), Math.min(O.length, D)), a = D, R.setSelectionRange(D, E, "forward");
1103
1103
  }
1104
1104
  const v = {
1105
- left(B, D) {
1106
- const R = r.slice(D - 1).indexOf(vt) === -1;
1105
+ left(R, D) {
1106
+ const E = r.slice(D - 1).indexOf(vt) === -1;
1107
1107
  let O = Math.max(0, D - 1);
1108
1108
  for (; O >= 0; O--)
1109
1109
  if (r[O] === vt) {
1110
- D = O, R === !0 && D++;
1110
+ D = O, E === !0 && D++;
1111
1111
  break;
1112
1112
  }
1113
1113
  if (O < 0 && r[D] !== void 0 && r[D] !== vt)
1114
- return v.right(B, 0);
1115
- D >= 0 && B.setSelectionRange(D, D, "backward");
1114
+ return v.right(R, 0);
1115
+ D >= 0 && R.setSelectionRange(D, D, "backward");
1116
1116
  },
1117
- right(B, D) {
1118
- const R = B.value.length;
1119
- let O = Math.min(R, D + 1);
1120
- for (; O <= R; O++)
1117
+ right(R, D) {
1118
+ const E = R.value.length;
1119
+ let O = Math.min(E, D + 1);
1120
+ for (; O <= E; O++)
1121
1121
  if (r[O] === vt) {
1122
1122
  D = O;
1123
1123
  break;
1124
1124
  } else r[O - 1] === vt && (D = O);
1125
- if (O > R && r[D - 1] !== void 0 && r[D - 1] !== vt)
1126
- return v.left(B, R);
1127
- B.setSelectionRange(D, D, "forward");
1125
+ if (O > E && r[D - 1] !== void 0 && r[D - 1] !== vt)
1126
+ return v.left(R, E);
1127
+ R.setSelectionRange(D, D, "forward");
1128
1128
  },
1129
- leftReverse(B, D) {
1130
- const R = p(B.value.length);
1129
+ leftReverse(R, D) {
1130
+ const E = p(R.value.length);
1131
1131
  let O = Math.max(0, D - 1);
1132
1132
  for (; O >= 0; O--)
1133
- if (R[O - 1] === vt) {
1133
+ if (E[O - 1] === vt) {
1134
1134
  D = O;
1135
1135
  break;
1136
- } else if (R[O] === vt && (D = O, O === 0))
1136
+ } else if (E[O] === vt && (D = O, O === 0))
1137
1137
  break;
1138
- if (O < 0 && R[D] !== void 0 && R[D] !== vt)
1139
- return v.rightReverse(B, 0);
1140
- D >= 0 && B.setSelectionRange(D, D, "backward");
1138
+ if (O < 0 && E[D] !== void 0 && E[D] !== vt)
1139
+ return v.rightReverse(R, 0);
1140
+ D >= 0 && R.setSelectionRange(D, D, "backward");
1141
1141
  },
1142
- rightReverse(B, D) {
1143
- const R = B.value.length, O = p(R), P = O.slice(0, D + 1).indexOf(vt) === -1;
1144
- let F = Math.min(R, D + 1);
1145
- for (; F <= R; F++)
1142
+ rightReverse(R, D) {
1143
+ const E = R.value.length, O = p(E), _ = O.slice(0, D + 1).indexOf(vt) === -1;
1144
+ let F = Math.min(E, D + 1);
1145
+ for (; F <= E; F++)
1146
1146
  if (O[F - 1] === vt) {
1147
- D = F, D > 0 && P === !0 && D--;
1147
+ D = F, D > 0 && _ === !0 && D--;
1148
1148
  break;
1149
1149
  }
1150
- if (F > R && O[D - 1] !== void 0 && O[D - 1] !== vt)
1151
- return v.leftReverse(B, R);
1152
- B.setSelectionRange(D, D, "forward");
1150
+ if (F > E && O[D - 1] !== void 0 && O[D - 1] !== vt)
1151
+ return v.leftReverse(R, E);
1152
+ R.setSelectionRange(D, D, "forward");
1153
1153
  }
1154
1154
  };
1155
- function x(B) {
1156
- e("click", B), u = void 0;
1157
- }
1158
- function C(B) {
1159
- if (e("keydown", B), Nl(B) === !0 || B.altKey === !0) return;
1160
- const D = n.value, R = D.selectionStart, O = D.selectionEnd;
1161
- if (B.shiftKey || (u = void 0), B.keyCode === 37 || B.keyCode === 39) {
1162
- B.shiftKey && u === void 0 && (u = D.selectionDirection === "forward" ? R : O);
1163
- const P = v[(B.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1164
- if (B.preventDefault(), P(D, u === R ? O : R), B.shiftKey) {
1155
+ function x(R) {
1156
+ e("click", R), u = void 0;
1157
+ }
1158
+ function C(R) {
1159
+ if (e("keydown", R), Nl(R) === !0 || R.altKey === !0) return;
1160
+ const D = n.value, E = D.selectionStart, O = D.selectionEnd;
1161
+ if (R.shiftKey || (u = void 0), R.keyCode === 37 || R.keyCode === 39) {
1162
+ R.shiftKey && u === void 0 && (u = D.selectionDirection === "forward" ? E : O);
1163
+ const _ = v[(R.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1164
+ if (R.preventDefault(), _(D, u === E ? O : E), R.shiftKey) {
1165
1165
  const F = D.selectionStart;
1166
1166
  D.setSelectionRange(Math.min(u, F), Math.max(u, F), "forward");
1167
1167
  }
1168
- } else B.keyCode === 8 && i.reverseFillMask !== !0 && R === O ? (v.left(D, R), D.setSelectionRange(D.selectionStart, O, "backward")) : B.keyCode === 46 && i.reverseFillMask === !0 && R === O && (v.rightReverse(D, O), D.setSelectionRange(R, D.selectionEnd, "forward"));
1168
+ } else R.keyCode === 8 && i.reverseFillMask !== !0 && E === O ? (v.left(D, E), D.setSelectionRange(D.selectionStart, O, "backward")) : R.keyCode === 46 && i.reverseFillMask === !0 && E === O && (v.rightReverse(D, O), D.setSelectionRange(E, D.selectionEnd, "forward"));
1169
1169
  }
1170
- function E(B, D) {
1171
- if (B == null || B === "")
1170
+ function P(R, D) {
1171
+ if (R == null || R === "")
1172
1172
  return "";
1173
1173
  if (i.reverseFillMask === !0)
1174
- return T(B, D);
1175
- const R = s;
1176
- let O = 0, P = "";
1177
- for (let F = 0; F < R.length; F++) {
1178
- const Y = B[O], M = R[F];
1174
+ return T(R, D);
1175
+ const E = s;
1176
+ let O = 0, _ = "";
1177
+ for (let F = 0; F < E.length; F++) {
1178
+ const Y = R[O], M = E[F];
1179
1179
  if (typeof M == "string")
1180
- P += M, D === !0 && Y === M && O++;
1180
+ _ += M, D === !0 && Y === M && O++;
1181
1181
  else if (Y !== void 0 && M.regex.test(Y))
1182
- P += M.transform !== void 0 ? M.transform(Y) : Y, O++;
1182
+ _ += M.transform !== void 0 ? M.transform(Y) : Y, O++;
1183
1183
  else
1184
- return P;
1184
+ return _;
1185
1185
  }
1186
- return P;
1186
+ return _;
1187
1187
  }
1188
- function T(B, D) {
1189
- const R = s, O = r.indexOf(vt);
1190
- let P = B.length - 1, F = "";
1191
- for (let Y = R.length - 1; Y >= 0 && P !== -1; Y--) {
1192
- const M = R[Y];
1193
- let q = B[P];
1188
+ function T(R, D) {
1189
+ const E = s, O = r.indexOf(vt);
1190
+ let _ = R.length - 1, F = "";
1191
+ for (let Y = E.length - 1; Y >= 0 && _ !== -1; Y--) {
1192
+ const M = E[Y];
1193
+ let q = R[_];
1194
1194
  if (typeof M == "string")
1195
- F = M + F, D === !0 && q === M && P--;
1195
+ F = M + F, D === !0 && q === M && _--;
1196
1196
  else if (q !== void 0 && M.regex.test(q))
1197
1197
  do
1198
- F = (M.transform !== void 0 ? M.transform(q) : q) + F, P--, q = B[P];
1198
+ F = (M.transform !== void 0 ? M.transform(q) : q) + F, _--, q = R[_];
1199
1199
  while (O === Y && q !== void 0 && M.regex.test(q));
1200
1200
  else
1201
1201
  return F;
1202
1202
  }
1203
1203
  return F;
1204
1204
  }
1205
- function H(B) {
1206
- return typeof B != "string" || l === void 0 ? typeof B == "number" ? l("" + B) : B : l(B);
1205
+ function N(R) {
1206
+ return typeof R != "string" || l === void 0 ? typeof R == "number" ? l("" + R) : R : l(R);
1207
1207
  }
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);
1208
+ function V(R) {
1209
+ return o.length - R.length <= 0 ? R : i.reverseFillMask === !0 && R.length !== 0 ? o.slice(0, -R.length) + R : R + o.slice(R.length);
1210
1210
  }
1211
1211
  return {
1212
1212
  innerValue: f,
@@ -1310,14 +1310,14 @@ const cr = Je({
1310
1310
  onMaskedClick: k
1311
1311
  } = Ry(i, e, Y, h), v = Ey(
1312
1312
  i
1313
- ), x = b(() => Co(d.value)), C = _m(P), E = dc({ changeEvent: !0 }), T = b(
1313
+ ), x = b(() => Co(d.value)), C = _m(_), P = dc({ changeEvent: !0 }), T = b(
1314
1314
  () => i.type === "textarea" || i.autogrow === !0
1315
- ), H = b(
1315
+ ), N = b(
1316
1316
  () => T.value === !0 || ["text", "search", "url", "tel", "password"].includes(i.type)
1317
1317
  ), V = b(() => {
1318
1318
  const w = {
1319
- ...E.splitAttrs.listeners.value,
1320
- onInput: P,
1319
+ ...P.splitAttrs.listeners.value,
1320
+ onInput: _,
1321
1321
  onPaste: O,
1322
1322
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
1323
1323
  // switching focus before confirming composition choice
@@ -1328,15 +1328,15 @@ const cr = Je({
1328
1328
  onFocus: di
1329
1329
  };
1330
1330
  return w.onCompositionstart = w.onCompositionupdate = w.onCompositionend = C, m.value === !0 && (w.onKeydown = y, w.onClick = k), i.autogrow === !0 && (w.onAnimationend = F), w;
1331
- }), B = b(() => {
1331
+ }), R = b(() => {
1332
1332
  const w = {
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
- ...E.splitAttrs.attributes.value,
1339
- id: E.targetUid.value,
1338
+ ...P.splitAttrs.attributes.value,
1339
+ id: P.targetUid.value,
1340
1340
  maxlength: i.maxlength,
1341
1341
  disabled: i.disable === !0,
1342
1342
  readonly: i.readonly === !0
@@ -1360,37 +1360,37 @@ const cr = Je({
1360
1360
  function D() {
1361
1361
  Vl(() => {
1362
1362
  const w = document.activeElement;
1363
- h.value !== null && h.value !== w && (w === null || w.id !== E.targetUid.value) && h.value.focus({ preventScroll: !0 });
1363
+ h.value !== null && h.value !== w && (w === null || w.id !== P.targetUid.value) && h.value.focus({ preventScroll: !0 });
1364
1364
  });
1365
1365
  }
1366
- function R() {
1366
+ function E() {
1367
1367
  var w;
1368
1368
  (w = h.value) == null || w.select();
1369
1369
  }
1370
1370
  function O(w) {
1371
1371
  if (m.value === !0 && i.reverseFillMask !== !0) {
1372
- const N = w.target;
1373
- p(N, N.selectionStart, N.selectionEnd);
1372
+ const H = w.target;
1373
+ p(H, H.selectionStart, H.selectionEnd);
1374
1374
  }
1375
1375
  e("paste", w);
1376
1376
  }
1377
- function P(w) {
1377
+ function _(w) {
1378
1378
  if (!w || !w.target) return;
1379
1379
  if (i.type === "file") {
1380
1380
  e("update:modelValue", w.target.files);
1381
1381
  return;
1382
1382
  }
1383
- const N = w.target.value;
1383
+ const H = w.target.value;
1384
1384
  if (w.target.qComposing === !0) {
1385
- o.value = N;
1385
+ o.value = H;
1386
1386
  return;
1387
1387
  }
1388
1388
  if (m.value === !0)
1389
- g(N, !1, w.inputType);
1390
- else if (Y(N), H.value === !0 && w.target === document.activeElement) {
1389
+ g(H, !1, w.inputType);
1390
+ else if (Y(H), N.value === !0 && w.target === document.activeElement) {
1391
1391
  const { selectionStart: U, selectionEnd: G } = w.target;
1392
1392
  U !== void 0 && G !== void 0 && rt(() => {
1393
- w.target === document.activeElement && N.indexOf(w.target.value) === 0 && w.target.setSelectionRange(U, G);
1393
+ w.target === document.activeElement && H.indexOf(w.target.value) === 0 && w.target.setSelectionRange(U, G);
1394
1394
  });
1395
1395
  }
1396
1396
  i.autogrow === !0 && M();
@@ -1398,9 +1398,9 @@ const cr = Je({
1398
1398
  function F(w) {
1399
1399
  e("animationend", w), M();
1400
1400
  }
1401
- function Y(w, N) {
1401
+ function Y(w, H) {
1402
1402
  c = () => {
1403
- u = null, i.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, i.modelValue !== w && s !== w && (s = w, N === !0 && (a = !0), e("update:modelValue", w), rt(() => {
1403
+ u = null, i.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, i.modelValue !== w && s !== w && (s = w, H === !0 && (a = !0), e("update:modelValue", w), rt(() => {
1404
1404
  s === w && (s = NaN);
1405
1405
  })), c = void 0;
1406
1406
  }, i.type === "number" && (l = !0, o.value = w), i.debounce !== void 0 ? (u !== null && clearTimeout(u), o.value = w, u = setTimeout(c, i.debounce)) : c();
@@ -1409,8 +1409,8 @@ const cr = Je({
1409
1409
  requestAnimationFrame(() => {
1410
1410
  const w = h.value;
1411
1411
  if (w !== null) {
1412
- const N = w.parentNode.style, { scrollTop: U } = w, { overflowY: G, maxHeight: oe } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(w), le = G !== void 0 && G !== "scroll";
1413
- le === !0 && (w.style.overflowY = "hidden"), N.marginBottom = w.scrollHeight - 1 + "px", w.style.height = "1px", w.style.height = w.scrollHeight + "px", le === !0 && (w.style.overflowY = parseInt(oe, 10) < w.scrollHeight ? "auto" : "hidden"), N.marginBottom = "", w.scrollTop = U;
1412
+ const H = w.parentNode.style, { scrollTop: U } = w, { overflowY: G, maxHeight: oe } = r.platform.is.firefox === !0 ? {} : window.getComputedStyle(w), le = G !== void 0 && G !== "scroll";
1413
+ le === !0 && (w.style.overflowY = "hidden"), H.marginBottom = w.scrollHeight - 1 + "px", w.style.height = "1px", w.style.height = w.scrollHeight + "px", le === !0 && (w.style.overflowY = parseInt(oe, 10) < w.scrollHeight ? "auto" : "hidden"), H.marginBottom = "", w.scrollTop = U;
1414
1414
  }
1415
1415
  });
1416
1416
  }
@@ -1429,7 +1429,7 @@ const cr = Je({
1429
1429
  z();
1430
1430
  }), Ai(() => {
1431
1431
  i.autogrow === !0 && M();
1432
- }), Object.assign(E, {
1432
+ }), Object.assign(P, {
1433
1433
  innerValue: d,
1434
1434
  fieldClass: b(
1435
1435
  () => `q-${T.value === !0 ? "textarea" : "input"}` + (i.autogrow === !0 ? " q-textarea--autogrow" : "")
@@ -1450,7 +1450,7 @@ const cr = Je({
1450
1450
  i.inputClass
1451
1451
  ],
1452
1452
  style: i.inputStyle,
1453
- ...B.value,
1453
+ ...R.value,
1454
1454
  ...V.value,
1455
1455
  ...i.type !== "file" ? { value: ne() } : v.value
1456
1456
  }),
@@ -1461,10 +1461,10 @@ const cr = Je({
1461
1461
  A("span", i.shadowText)
1462
1462
  ])
1463
1463
  });
1464
- const I = mc(E);
1464
+ const I = mc(P);
1465
1465
  return Object.assign(n, {
1466
1466
  focus: D,
1467
- select: R,
1467
+ select: E,
1468
1468
  getNativeElement: () => h.value
1469
1469
  // deprecated
1470
1470
  }), Kr(n, "nativeEl", () => h.value), I;
@@ -1792,41 +1792,41 @@ function Xy(i, e) {
1792
1792
  const { props: t, slots: n, emit: r, proxy: o } = je(), { $q: s } = o, l = Zi(t, s), a = J(null), { refocusTargetEl: u, refocusTarget: c } = Ky(t, a), h = Il(t, Yy), f = b(
1793
1793
  () => t.val !== void 0 && Array.isArray(t.modelValue)
1794
1794
  ), d = b(() => {
1795
- const R = Wn(t.val);
1796
- return f.value === !0 ? t.modelValue.findIndex((O) => Wn(O) === R) : -1;
1795
+ const E = Wn(t.val);
1796
+ return f.value === !0 ? t.modelValue.findIndex((O) => Wn(O) === E) : -1;
1797
1797
  }), m = b(() => f.value === !0 ? d.value !== -1 : Wn(t.modelValue) === Wn(t.trueValue)), p = b(() => f.value === !0 ? d.value === -1 : Wn(t.modelValue) === Wn(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", O = 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}${O}`;
1802
+ const E = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", O = 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--${E}${O}`;
1804
1804
  }), x = b(() => {
1805
- const R = { type: "checkbox" };
1806
- return t.name !== void 0 && Object.assign(R, {
1805
+ const E = { type: "checkbox" };
1806
+ return t.name !== void 0 && Object.assign(E, {
1807
1807
  // see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
1808
1808
  ".checked": m.value,
1809
1809
  "^checked": m.value === !0 ? "checked" : void 0,
1810
1810
  name: t.name,
1811
1811
  value: f.value === !0 ? t.val : t.trueValue
1812
- }), R;
1813
- }), C = gc(x), E = b(() => {
1814
- const R = {
1812
+ }), E;
1813
+ }), C = gc(x), P = b(() => {
1814
+ const E = {
1815
1815
  tabindex: y.value,
1816
1816
  role: "checkbox",
1817
1817
  "aria-label": t.label,
1818
1818
  "aria-checked": g.value === !0 ? "mixed" : m.value === !0 ? "true" : "false"
1819
1819
  };
1820
- return t.disable === !0 && (R["aria-disabled"] = "true"), R;
1820
+ return t.disable === !0 && (E["aria-disabled"] = "true"), E;
1821
1821
  });
1822
- function T(R) {
1823
- R !== void 0 && (ct(R), c(R)), t.disable !== !0 && r("update:modelValue", H(), R);
1822
+ function T(E) {
1823
+ E !== void 0 && (ct(E), c(E)), t.disable !== !0 && r("update:modelValue", N(), E);
1824
1824
  }
1825
- function H() {
1825
+ function N() {
1826
1826
  if (f.value === !0) {
1827
1827
  if (m.value === !0) {
1828
- const R = t.modelValue.slice();
1829
- return R.splice(d.value, 1), R;
1828
+ const E = t.modelValue.slice();
1829
+ return E.splice(d.value, 1), E;
1830
1830
  }
1831
1831
  return t.modelValue.concat([t.val]);
1832
1832
  }
@@ -1840,17 +1840,17 @@ function Xy(i, e) {
1840
1840
  return t.toggleOrder !== "ft" ? t.trueValue : t.falseValue;
1841
1841
  return t.indeterminateValue;
1842
1842
  }
1843
- function V(R) {
1844
- (R.keyCode === 13 || R.keyCode === 32) && ct(R);
1843
+ function V(E) {
1844
+ (E.keyCode === 13 || E.keyCode === 32) && ct(E);
1845
1845
  }
1846
- function B(R) {
1847
- (R.keyCode === 13 || R.keyCode === 32) && T(R);
1846
+ function R(E) {
1847
+ (E.keyCode === 13 || E.keyCode === 32) && T(E);
1848
1848
  }
1849
1849
  const D = e(m, g);
1850
1850
  return Object.assign(o, { toggle: T }), () => {
1851
- const R = D();
1851
+ const E = D();
1852
1852
  t.disable !== !0 && C(
1853
- R,
1853
+ E,
1854
1854
  "unshift",
1855
1855
  ` q-${i}__native absolute q-ma-none q-pa-none`
1856
1856
  );
@@ -1859,21 +1859,21 @@ function Xy(i, e) {
1859
1859
  class: v.value,
1860
1860
  style: h.value,
1861
1861
  "aria-hidden": "true"
1862
- }, R)
1862
+ }, E)
1863
1863
  ];
1864
1864
  u.value !== null && O.push(u.value);
1865
- const P = t.label !== void 0 ? wn(n.default, [t.label]) : qt(n.default);
1866
- return P !== void 0 && O.push(
1865
+ const _ = t.label !== void 0 ? wn(n.default, [t.label]) : qt(n.default);
1866
+ return _ !== void 0 && O.push(
1867
1867
  A("div", {
1868
1868
  class: `q-${i}__label q-anchor--skip`
1869
- }, P)
1869
+ }, _)
1870
1870
  ), A("div", {
1871
1871
  ref: a,
1872
1872
  class: k.value,
1873
- ...E.value,
1873
+ ...P.value,
1874
1874
  onClick: T,
1875
1875
  onKeydown: V,
1876
- onKeyup: B
1876
+ onKeyup: R
1877
1877
  }, O);
1878
1878
  };
1879
1879
  }
@@ -2325,22 +2325,22 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2325
2325
  } : {}), m = b(() => {
2326
2326
  if (c.value === !1)
2327
2327
  return -1;
2328
- const { matched: C } = u.value, { length: E } = C, T = C[E - 1];
2328
+ const { matched: C } = u.value, { length: P } = C, T = C[P - 1];
2329
2329
  if (T === void 0)
2330
2330
  return -1;
2331
- const H = r.$route.matched;
2332
- if (H.length === 0)
2331
+ const N = r.$route.matched;
2332
+ if (N.length === 0)
2333
2333
  return -1;
2334
- const V = H.findIndex(
2334
+ const V = N.findIndex(
2335
2335
  qh.bind(null, T)
2336
2336
  );
2337
2337
  if (V !== -1)
2338
2338
  return V;
2339
- const B = Dh(C[E - 2]);
2339
+ const R = Dh(C[P - 2]);
2340
2340
  return (
2341
2341
  // we are dealing with nested routes
2342
- E > 1 && Dh(T) === B && H[H.length - 1].path !== B ? H.findIndex(
2343
- qh.bind(null, C[E - 2])
2342
+ P > 1 && Dh(T) === R && N[N.length - 1].path !== R ? N.findIndex(
2343
+ qh.bind(null, C[P - 2])
2344
2344
  ) : V
2345
2345
  );
2346
2346
  }), p = b(
@@ -2355,7 +2355,7 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2355
2355
  }
2356
2356
  return null;
2357
2357
  }
2358
- function v(C, { returnRouterError: E, to: T = n.to, replace: H = n.replace } = {}) {
2358
+ function v(C, { returnRouterError: P, to: T = n.to, replace: N = n.replace } = {}) {
2359
2359
  if (n.disable === !0)
2360
2360
  return C.preventDefault(), Promise.resolve(!1);
2361
2361
  if (
@@ -2365,15 +2365,15 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2365
2365
  )
2366
2366
  return Promise.resolve(!1);
2367
2367
  C.preventDefault();
2368
- const V = r.$router[H === !0 ? "replace" : "push"](T);
2369
- return E === !0 ? V : V.then(() => {
2368
+ const V = r.$router[N === !0 ? "replace" : "push"](T);
2369
+ return P === !0 ? V : V.then(() => {
2370
2370
  }).catch(() => {
2371
2371
  });
2372
2372
  }
2373
2373
  function x(C) {
2374
2374
  if (c.value === !0) {
2375
- const E = (T) => v(C, T);
2376
- o("click", C, E), C.defaultPrevented !== !0 && E();
2375
+ const P = (T) => v(C, T);
2376
+ o("click", C, P), C.defaultPrevented !== !0 && P();
2377
2377
  } else
2378
2378
  o("click", C);
2379
2379
  }
@@ -3029,8 +3029,8 @@ function wc(i, e = 0) {
3029
3029
  maxWidth: h
3030
3030
  } = i;
3031
3031
  if (Tt.is.ios === !0 && window.visualViewport !== void 0) {
3032
- const E = document.body.style, { offsetLeft: T, offsetTop: H } = window.visualViewport;
3033
- T !== Bh && (E.setProperty("--q-pe-left", T + "px"), Bh = T), H !== Rh && (E.setProperty("--q-pe-top", H + "px"), Rh = H);
3032
+ const P = document.body.style, { offsetLeft: T, offsetTop: N } = window.visualViewport;
3033
+ T !== Bh && (P.setProperty("--q-pe-left", T + "px"), Bh = T), N !== Rh && (P.setProperty("--q-pe-top", N + "px"), Rh = N);
3034
3034
  }
3035
3035
  const { scrollLeft: f, scrollTop: d } = t, m = l === void 0 ? Tb(r, u === !0 ? [0, 0] : n) : Db(r, l, n);
3036
3036
  Object.assign(t.style, {
@@ -3050,20 +3050,20 @@ function wc(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: E, left: T } = C;
3053
+ const { top: P, left: T } = C;
3054
3054
  ga(C, m, x, o, s);
3055
- let H = !1;
3056
- if (C.top !== E) {
3057
- H = !0;
3055
+ let N = !1;
3056
+ if (C.top !== P) {
3057
+ N = !0;
3058
3058
  const V = 2 * n[1];
3059
3059
  m.center = m.top -= V, m.bottom -= V + 2;
3060
3060
  }
3061
3061
  if (C.left !== T) {
3062
- H = !0;
3062
+ N = !0;
3063
3063
  const V = 2 * n[0];
3064
3064
  m.middle = m.left -= V, m.right -= V + 2;
3065
3065
  }
3066
- H === !0 && (C = Eh(m, x, o, s), ga(C, m, x, o, s));
3066
+ N === !0 && (C = Eh(m, x, o, s), ga(C, m, x, o, s));
3067
3067
  }
3068
3068
  v = {
3069
3069
  top: C.top + "px",
@@ -3151,14 +3151,14 @@ const $m = Je({
3151
3151
  let r = null, o, s, l;
3152
3152
  const a = je(), { proxy: u } = a, { $q: c } = u, h = J(null), f = J(!1), d = b(
3153
3153
  () => i.persistent !== !0 && i.noRouteDismiss !== !0
3154
- ), m = Zi(i, c), { registerTick: p, removeTick: g } = Tr(), { registerTimeout: y } = Mo(), { transitionProps: k, transitionStyle: v } = kc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: E } = zm(i, N), { anchorEl: T, canShow: H } = bc({ showing: f }), { hide: V } = jl({
3154
+ ), m = Zi(i, c), { registerTick: p, removeTick: g } = Tr(), { registerTimeout: y } = Mo(), { transitionProps: k, transitionStyle: v } = kc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: P } = zm(i, H), { anchorEl: T, canShow: N } = bc({ showing: f }), { hide: V } = jl({
3155
3155
  showing: f,
3156
- canShow: H,
3156
+ canShow: N,
3157
3157
  handleShow: ne,
3158
3158
  handleHide: I,
3159
3159
  hideOnRouteChange: d,
3160
3160
  processOnMount: !0
3161
- }), { showPortal: B, hidePortal: D, renderPortal: R } = xc(a, h, Be, "menu"), O = {
3161
+ }), { showPortal: R, hidePortal: D, renderPortal: E } = xc(a, h, Be, "menu"), O = {
3162
3162
  anchorEl: T,
3163
3163
  innerRef: h,
3164
3164
  onClickOutside(Z) {
@@ -3166,12 +3166,12 @@ const $m = Je({
3166
3166
  return V(Z), // always prevent touch event
3167
3167
  (Z.type === "touchstart" || Z.target.classList.contains("q-dialog__backdrop")) && ct(Z), !0;
3168
3168
  }
3169
- }, P = b(
3169
+ }, _ = b(
3170
3170
  () => ll(
3171
3171
  i.anchor || (i.cover === !0 ? "center middle" : "bottom start"),
3172
3172
  c.lang.rtl
3173
3173
  )
3174
- ), F = b(() => i.cover === !0 ? P.value : ll(i.self || "top start", c.lang.rtl)), Y = b(
3174
+ ), F = b(() => i.cover === !0 ? _.value : ll(i.self || "top start", c.lang.rtl)), Y = b(
3175
3175
  () => (i.square === !0 ? " q-menu--square" : "") + (m.value === !0 ? " q-menu--dark q-dark" : "")
3176
3176
  ), M = b(() => i.autoClose === !0 ? { onClick: U } : {}), q = b(
3177
3177
  () => f.value === !0 && i.persistent !== !0
@@ -3186,7 +3186,7 @@ const $m = Je({
3186
3186
  });
3187
3187
  }
3188
3188
  function ne(Z) {
3189
- if (r = i.noRefocus === !1 ? document.activeElement : null, Gm(G), B(), N(), o = void 0, Z !== void 0 && (i.touchPosition || i.contextMenu)) {
3189
+ if (r = i.noRefocus === !1 ? document.activeElement : null, Gm(G), R(), H(), o = void 0, Z !== void 0 && (i.touchPosition || i.contextMenu)) {
3190
3190
  const et = Ir(Z);
3191
3191
  if (et.left !== void 0) {
3192
3192
  const { top: Ie, left: Qe } = T.value.getBoundingClientRect();
@@ -3199,7 +3199,7 @@ const $m = Je({
3199
3199
  )), i.noFocus !== !0 && document.activeElement.blur(), p(() => {
3200
3200
  le(), i.noFocus !== !0 && z();
3201
3201
  }), y(() => {
3202
- c.platform.is.ios === !0 && (l = i.autoClose, h.value.click()), le(), B(!0), t("show", Z);
3202
+ c.platform.is.ios === !0 && (l = i.autoClose, h.value.click()), le(), R(!0), t("show", Z);
3203
3203
  }, i.transitionDuration);
3204
3204
  }
3205
3205
  function I(Z) {
@@ -3209,9 +3209,9 @@ const $m = Je({
3209
3209
  }, i.transitionDuration);
3210
3210
  }
3211
3211
  function w(Z) {
3212
- o = void 0, s !== void 0 && (s(), s = void 0), (Z === !0 || f.value === !0) && (ou(G), E(), ol(O), il(oe)), Z !== !0 && (r = null);
3212
+ o = void 0, s !== void 0 && (s(), s = void 0), (Z === !0 || f.value === !0) && (ou(G), P(), ol(O), il(oe)), Z !== !0 && (r = null);
3213
3213
  }
3214
- function N() {
3214
+ function H() {
3215
3215
  (T.value !== null || i.scrollTarget !== void 0) && (x.value = Qm(T.value, i.scrollTarget), C(x.value, le));
3216
3216
  }
3217
3217
  function U(Z) {
@@ -3228,7 +3228,7 @@ const $m = Je({
3228
3228
  targetEl: h.value,
3229
3229
  offset: i.offset,
3230
3230
  anchorEl: T.value,
3231
- anchorOrigin: P.value,
3231
+ anchorOrigin: _.value,
3232
3232
  selfOrigin: F.value,
3233
3233
  absoluteOffset: o,
3234
3234
  fit: i.fit,
@@ -3258,7 +3258,7 @@ const $m = Je({
3258
3258
  }, qt(e.default)) : null
3259
3259
  );
3260
3260
  }
3261
- return ht(w), Object.assign(u, { focus: z, updatePosition: le }), R;
3261
+ return ht(w), Object.assign(u, { focus: z, updatePosition: le }), E;
3262
3262
  }
3263
3263
  });
3264
3264
  function Pb(i, e, t) {
@@ -3391,28 +3391,28 @@ const Lb = {
3391
3391
  i,
3392
3392
  () => Hh[i.position][0],
3393
3393
  () => Hh[i.position][1]
3394
- ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: E, renderPortal: T } = xc(
3394
+ ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: P, renderPortal: T } = xc(
3395
3395
  r,
3396
3396
  o,
3397
- N,
3397
+ H,
3398
3398
  "dialog"
3399
- ), { hide: H } = jl({
3399
+ ), { hide: N } = jl({
3400
3400
  showing: s,
3401
3401
  hideOnRouteChange: f,
3402
3402
  handleShow: O,
3403
- handleHide: P,
3403
+ handleHide: _,
3404
3404
  processOnMount: !0
3405
3405
  });
3406
3406
  Pb(s);
3407
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} ${Lb[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
- ), B = b(() => s.value === !0 && i.seamless !== !0), D = b(() => i.autoClose === !0 ? { onClick: ne } : {}), R = b(() => [
3410
- `q-dialog fullscreen no-pointer-events q-dialog--${B.value === !0 ? "modal" : "seamless"}`,
3409
+ ), R = b(() => s.value === !0 && i.seamless !== !0), D = b(() => i.autoClose === !0 ? { onClick: ne } : {}), E = b(() => [
3410
+ `q-dialog fullscreen no-pointer-events q-dialog--${R.value === !0 ? "modal" : "seamless"}`,
3411
3411
  n.class
3412
3412
  ]);
3413
3413
  ve(() => i.maximized, (U) => {
3414
3414
  s.value === !0 && z(U);
3415
- }), ve(B, (U) => {
3415
+ }), ve(R, (U) => {
3416
3416
  d(U), U === !0 ? (Gm(w), Km(M)) : (ou(w), il(M));
3417
3417
  });
3418
3418
  function O(U) {
@@ -3431,7 +3431,7 @@ const Lb = {
3431
3431
  x(!0), l.value = !1, t("show", U);
3432
3432
  }, i.transitionDuration);
3433
3433
  }
3434
- function P(U) {
3434
+ function _(U) {
3435
3435
  g(), q(!0), l.value = !0, C(), u !== null && ((((U == null ? void 0 : U.type.indexOf("key")) === 0 ? u.closest('[tabindex]:not([tabindex^="-"])') : void 0) || u).focus(), u = null), m(() => {
3436
3436
  C(!0), l.value = !1, t("hide", U);
3437
3437
  }, i.transitionDuration);
@@ -3459,7 +3459,7 @@ const Lb = {
3459
3459
  }, 170));
3460
3460
  }
3461
3461
  function M() {
3462
- i.seamless !== !0 && (i.persistent === !0 || i.noEscDismiss === !0 ? i.maximized !== !0 && i.noShake !== !0 && Y() : (t("escapeKey"), H()));
3462
+ i.seamless !== !0 && (i.persistent === !0 || i.noEscDismiss === !0 ? i.maximized !== !0 && i.noShake !== !0 && Y() : (t("escapeKey"), N()));
3463
3463
  }
3464
3464
  function q(U) {
3465
3465
  a !== null && (clearTimeout(a), a = null), (U === !0 || s.value === !0) && (z(!1), i.seamless !== !0 && (d(!1), ou(w), il(M))), U !== !0 && (u = null);
@@ -3468,13 +3468,13 @@ const Lb = {
3468
3468
  U === !0 ? c !== !0 && (cs < 1 && document.body.classList.add("q-body--dialog"), cs++, c = !0) : c === !0 && (cs < 2 && document.body.classList.remove("q-body--dialog"), cs--, c = !1);
3469
3469
  }
3470
3470
  function ne(U) {
3471
- h !== !0 && (H(U), t("click", U));
3471
+ h !== !0 && (N(U), t("click", U));
3472
3472
  }
3473
3473
  function I(U) {
3474
- i.persistent !== !0 && i.noBackdropDismiss !== !0 ? H(U) : i.noShake !== !0 && Y();
3474
+ i.persistent !== !0 && i.noBackdropDismiss !== !0 ? N(U) : i.noShake !== !0 && Y();
3475
3475
  }
3476
3476
  function w(U) {
3477
- i.allowFocusOutside !== !0 && E.value === !0 && Em(o.value, U.target) !== !0 && F('[tabindex]:not([tabindex="-1"])');
3477
+ i.allowFocusOutside !== !0 && P.value === !0 && Em(o.value, U.target) !== !0 && F('[tabindex]:not([tabindex="-1"])');
3478
3478
  }
3479
3479
  Object.assign(r.proxy, {
3480
3480
  // expose public methods
@@ -3485,17 +3485,17 @@ const Lb = {
3485
3485
  u = U || null;
3486
3486
  }
3487
3487
  }), ht(q);
3488
- function N() {
3488
+ function H() {
3489
3489
  return A("div", {
3490
3490
  role: "dialog",
3491
- "aria-modal": B.value === !0 ? "true" : "false",
3491
+ "aria-modal": R.value === !0 ? "true" : "false",
3492
3492
  ...n,
3493
- class: R.value
3493
+ class: E.value
3494
3494
  }, [
3495
3495
  A(mi, {
3496
3496
  name: "q-transition--fade",
3497
3497
  appear: !0
3498
- }, () => B.value === !0 ? A("div", {
3498
+ }, () => R.value === !0 ? A("div", {
3499
3499
  class: "q-dialog__backdrop fixed-full",
3500
3500
  style: v.value,
3501
3501
  "aria-hidden": "true",
@@ -3626,23 +3626,23 @@ function Nb({
3626
3626
  let u, c, h, f = [], d;
3627
3627
  const m = J(0), p = J(0), g = J({}), y = J(null), k = J(null), v = J(null), x = J({ from: 0, to: 0 }), C = b(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3628
3628
  n === void 0 && (n = b(() => o.virtualScrollItemSize));
3629
- const E = b(() => n.value + ";" + o.virtualScrollHorizontal), T = b(
3630
- () => E.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3629
+ const P = b(() => n.value + ";" + o.virtualScrollHorizontal), T = b(
3630
+ () => P.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3631
3631
  );
3632
3632
  ve(T, () => {
3633
3633
  Y();
3634
- }), ve(E, H);
3635
- function H() {
3634
+ }), ve(P, N);
3635
+ function N() {
3636
3636
  F(c, !0);
3637
3637
  }
3638
3638
  function V(I) {
3639
3639
  F(I === void 0 ? c : I);
3640
3640
  }
3641
- function B(I, w) {
3642
- const N = e();
3643
- if (N == null || N.nodeType === 8) return;
3641
+ function R(I, w) {
3642
+ const H = e();
3643
+ if (H == null || H.nodeType === 8) return;
3644
3644
  const U = ba(
3645
- N,
3645
+ H,
3646
3646
  t(),
3647
3647
  y.value,
3648
3648
  k.value,
@@ -3651,8 +3651,8 @@ function Nb({
3651
3651
  o.virtualScrollStickySizeStart,
3652
3652
  o.virtualScrollStickySizeEnd
3653
3653
  );
3654
- h !== U.scrollViewSize && Y(U.scrollViewSize), R(
3655
- N,
3654
+ h !== U.scrollViewSize && Y(U.scrollViewSize), E(
3655
+ H,
3656
3656
  U,
3657
3657
  Math.min(i.value - 1, Math.max(0, parseInt(I, 10) || 0)),
3658
3658
  0,
@@ -3671,19 +3671,19 @@ function Nb({
3671
3671
  a.lang.rtl,
3672
3672
  o.virtualScrollStickySizeStart,
3673
3673
  o.virtualScrollStickySizeEnd
3674
- ), N = i.value - 1, U = w.scrollMaxSize - w.offsetStart - w.offsetEnd - p.value;
3674
+ ), H = i.value - 1, U = w.scrollMaxSize - w.offsetStart - w.offsetEnd - p.value;
3675
3675
  if (u === w.scrollStart) return;
3676
3676
  if (w.scrollMaxSize <= 0) {
3677
- R(I, w, 0, 0);
3677
+ E(I, w, 0, 0);
3678
3678
  return;
3679
3679
  }
3680
3680
  h !== w.scrollViewSize && Y(w.scrollViewSize), O(x.value.from);
3681
- const G = Math.floor(w.scrollMaxSize - Math.max(w.scrollViewSize, w.offsetEnd) - Math.min(d[N], w.scrollViewSize / 2));
3681
+ const G = Math.floor(w.scrollMaxSize - Math.max(w.scrollViewSize, w.offsetEnd) - Math.min(d[H], w.scrollViewSize / 2));
3682
3682
  if (G > 0 && Math.ceil(w.scrollStart) >= G) {
3683
- R(
3683
+ E(
3684
3684
  I,
3685
3685
  w,
3686
- N,
3686
+ H,
3687
3687
  w.scrollMaxSize - w.offsetEnd - f.reduce(Dr, 0)
3688
3688
  );
3689
3689
  return;
@@ -3692,31 +3692,31 @@ function Nb({
3692
3692
  if (le <= U && le + w.scrollViewSize >= m.value)
3693
3693
  le -= m.value, oe = x.value.from, Be = le;
3694
3694
  else
3695
- for (let Z = 0; le >= f[Z] && oe < N; Z++)
3695
+ for (let Z = 0; le >= f[Z] && oe < H; Z++)
3696
3696
  le -= f[Z], oe += Di;
3697
- for (; le > 0 && oe < N; )
3697
+ for (; le > 0 && oe < H; )
3698
3698
  le -= d[oe], le > -w.scrollViewSize ? (oe++, Be = le) : Be = d[oe] + le;
3699
- R(
3699
+ E(
3700
3700
  I,
3701
3701
  w,
3702
3702
  oe,
3703
3703
  Be
3704
3704
  );
3705
3705
  }
3706
- function R(I, w, N, U, G) {
3706
+ function E(I, w, H, U, G) {
3707
3707
  const oe = typeof G == "string" && G.indexOf("-force") !== -1, le = oe === !0 ? G.replace("-force", "") : G, Be = le !== void 0 ? le : "start";
3708
- let Z = Math.max(0, N - g.value[Be]), et = Z + g.value.total;
3708
+ let Z = Math.max(0, H - g.value[Be]), et = Z + g.value.total;
3709
3709
  et > i.value && (et = i.value, Z = Math.max(0, et - g.value.total)), u = w.scrollStart;
3710
3710
  const Ie = Z !== x.value.from || et !== x.value.to;
3711
3711
  if (Ie === !1 && le === void 0) {
3712
- q(N);
3712
+ q(H);
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", P), setTimeout(() => {
3717
- wt == null || wt.removeEventListener("focusout", P);
3718
- })), Vb(wt, N - Z);
3719
- const _t = le !== void 0 ? d.slice(Z, N).reduce(Dr, 0) : 0;
3716
+ Ie === !0 && wt !== null && wt !== Qe && wt.contains(Qe) === !0 && (wt.addEventListener("focusout", _), setTimeout(() => {
3717
+ wt == null || wt.removeEventListener("focusout", _);
3718
+ })), Vb(wt, H - Z);
3719
+ const _t = le !== void 0 ? d.slice(Z, H).reduce(Dr, 0) : 0;
3720
3720
  if (Ie === !0) {
3721
3721
  const Gt = et >= x.value.from && Z <= x.value.to ? x.value.to : et;
3722
3722
  x.value = { from: Z, to: Gt }, m.value = Zr(f, d, 0, Z), p.value = Zr(f, d, et, i.value), requestAnimationFrame(() => {
@@ -3726,46 +3726,46 @@ function Nb({
3726
3726
  requestAnimationFrame(() => {
3727
3727
  if (u !== w.scrollStart) return;
3728
3728
  Ie === !0 && O(Z);
3729
- const Gt = d.slice(Z, N).reduce(Dr, 0), Bt = Gt + w.offsetStart + m.value, dt = Bt + d[N];
3729
+ const Gt = d.slice(Z, H).reduce(Dr, 0), Bt = Gt + w.offsetStart + m.value, dt = Bt + d[H];
3730
3730
  let vi = Bt + U;
3731
3731
  if (le !== void 0) {
3732
3732
  const Li = Gt - _t, Jt = w.scrollStart + Li;
3733
- vi = oe !== !0 && Jt < Bt && dt < Jt + w.scrollViewSize ? Jt : le === "end" ? dt - w.scrollViewSize : Bt - (le === "start" ? 0 : Math.round((w.scrollViewSize - d[N]) / 2));
3733
+ vi = oe !== !0 && Jt < Bt && dt < Jt + w.scrollViewSize ? Jt : le === "end" ? dt - w.scrollViewSize : Bt - (le === "start" ? 0 : Math.round((w.scrollViewSize - d[H]) / 2));
3734
3734
  }
3735
3735
  u = vi, zh(
3736
3736
  I,
3737
3737
  vi,
3738
3738
  o.virtualScrollHorizontal,
3739
3739
  a.lang.rtl
3740
- ), q(N);
3740
+ ), q(H);
3741
3741
  });
3742
3742
  }
3743
3743
  function O(I) {
3744
3744
  const w = v.value;
3745
3745
  if (w) {
3746
- const N = eg.call(
3746
+ const H = eg.call(
3747
3747
  w.children,
3748
3748
  (Z) => Z.classList && Z.classList.contains("q-virtual-scroll--skip") === !1
3749
- ), U = N.length, G = o.virtualScrollHorizontal === !0 ? (Z) => Z.getBoundingClientRect().width : (Z) => Z.offsetHeight;
3749
+ ), U = H.length, G = o.virtualScrollHorizontal === !0 ? (Z) => Z.getBoundingClientRect().width : (Z) => Z.offsetHeight;
3750
3750
  let oe = I, le, Be;
3751
3751
  for (let Z = 0; Z < U; ) {
3752
- for (le = G(N[Z]), Z++; Z < U && N[Z].classList.contains("q-virtual-scroll--with-prev") === !0; )
3753
- le += G(N[Z]), Z++;
3752
+ for (le = G(H[Z]), Z++; Z < U && H[Z].classList.contains("q-virtual-scroll--with-prev") === !0; )
3753
+ le += G(H[Z]), Z++;
3754
3754
  Be = le - d[oe], Be !== 0 && (d[oe] += Be, f[Math.floor(oe / Di)] += Be), oe++;
3755
3755
  }
3756
3756
  }
3757
3757
  }
3758
- function P() {
3758
+ function _() {
3759
3759
  var I;
3760
3760
  (I = v.value) == null || I.focus();
3761
3761
  }
3762
3762
  function F(I, w) {
3763
- const N = 1 * n.value;
3763
+ const H = 1 * n.value;
3764
3764
  (w === !0 || Array.isArray(d) === !1) && (d = []);
3765
3765
  const U = d.length;
3766
3766
  d.length = i.value;
3767
3767
  for (let oe = i.value - 1; oe >= U; oe--)
3768
- d[oe] = N;
3768
+ d[oe] = H;
3769
3769
  const G = Math.floor((i.value - 1) / Di);
3770
3770
  f = [];
3771
3771
  for (let oe = 0; oe <= G; oe++) {
@@ -3776,7 +3776,7 @@ function Nb({
3776
3776
  f.push(le);
3777
3777
  }
3778
3778
  c = -1, u = void 0, m.value = Zr(f, d, 0, x.value.from), p.value = Zr(f, d, x.value.to, i.value), I >= 0 ? (O(x.value.from), rt(() => {
3779
- B(I);
3779
+ R(I);
3780
3780
  })) : z();
3781
3781
  }
3782
3782
  function Y(I) {
@@ -3794,7 +3794,7 @@ function Nb({
3794
3794
  ).scrollViewSize);
3795
3795
  }
3796
3796
  h = I;
3797
- const w = parseFloat(o.virtualScrollSliceRatioBefore) || 0, N = parseFloat(o.virtualScrollSliceRatioAfter) || 0, U = 1 + w + N, G = I === void 0 || I <= 0 ? 1 : Math.ceil(I / n.value), oe = Math.max(
3797
+ const w = parseFloat(o.virtualScrollSliceRatioBefore) || 0, H = parseFloat(o.virtualScrollSliceRatioAfter) || 0, U = 1 + w + H, G = I === void 0 || I <= 0 ? 1 : Math.ceil(I / n.value), oe = Math.max(
3798
3798
  1,
3799
3799
  G,
3800
3800
  Math.ceil((o.virtualScrollSliceSize > 0 ? o.virtualScrollSliceSize : 10) / U)
@@ -3808,8 +3808,8 @@ function Nb({
3808
3808
  };
3809
3809
  }
3810
3810
  function M(I, w) {
3811
- const N = o.virtualScrollHorizontal === !0 ? "width" : "height", U = {
3812
- ["--q-virtual-scroll-item-" + N]: n.value + "px"
3811
+ const H = o.virtualScrollHorizontal === !0 ? "width" : "height", U = {
3812
+ ["--q-virtual-scroll-item-" + H]: n.value + "px"
3813
3813
  };
3814
3814
  return [
3815
3815
  I === "tbody" ? A(I, {
@@ -3819,7 +3819,7 @@ function Nb({
3819
3819
  }, [
3820
3820
  A("tr", [
3821
3821
  A("td", {
3822
- style: { [N]: `${m.value}px`, ...U },
3822
+ style: { [H]: `${m.value}px`, ...U },
3823
3823
  colspan: C.value
3824
3824
  })
3825
3825
  ])
@@ -3827,7 +3827,7 @@ function Nb({
3827
3827
  class: "q-virtual-scroll__padding",
3828
3828
  key: "before",
3829
3829
  ref: y,
3830
- style: { [N]: `${m.value}px`, ...U }
3830
+ style: { [H]: `${m.value}px`, ...U }
3831
3831
  }),
3832
3832
  A(I, {
3833
3833
  class: "q-virtual-scroll__content",
@@ -3842,7 +3842,7 @@ function Nb({
3842
3842
  }, [
3843
3843
  A("tr", [
3844
3844
  A("td", {
3845
- style: { [N]: `${p.value}px`, ...U },
3845
+ style: { [H]: `${p.value}px`, ...U },
3846
3846
  colspan: C.value
3847
3847
  })
3848
3848
  ])
@@ -3850,7 +3850,7 @@ function Nb({
3850
3850
  class: "q-virtual-scroll__padding",
3851
3851
  key: "after",
3852
3852
  ref: k,
3853
- style: { [N]: `${p.value}px`, ...U }
3853
+ style: { [H]: `${p.value}px`, ...U }
3854
3854
  })
3855
3855
  ];
3856
3856
  }
@@ -3882,18 +3882,18 @@ function Nb({
3882
3882
  u,
3883
3883
  o.virtualScrollHorizontal,
3884
3884
  a.lang.rtl
3885
- ) : B(c);
3885
+ ) : R(c);
3886
3886
  }), ht(() => {
3887
3887
  z.cancel();
3888
- }), Object.assign(l, { scrollTo: B, reset: H, refresh: V }), {
3888
+ }), Object.assign(l, { scrollTo: R, reset: N, refresh: V }), {
3889
3889
  virtualScrollSliceRange: x,
3890
3890
  virtualScrollSliceSizeComputed: g,
3891
3891
  setVirtualScrollSize: Y,
3892
3892
  onVirtualScrollEvt: z,
3893
3893
  localResetVirtualScroll: F,
3894
3894
  padVirtualScroll: M,
3895
- scrollTo: B,
3896
- reset: H,
3895
+ scrollTo: R,
3896
+ reset: N,
3897
3897
  refresh: V
3898
3898
  };
3899
3899
  }
@@ -4076,8 +4076,8 @@ const Uo = Je({
4076
4076
  setup(i, { slots: e, emit: t }) {
4077
4077
  const { proxy: n } = je(), { $q: r } = n, o = J(!1), s = J(!1), l = J(-1), a = J(""), u = J(!1), c = J(!1);
4078
4078
  let h = null, f = null, d, m, p, g = null, y, k, v, x;
4079
- const C = J(null), E = J(null), T = J(null), H = J(null), V = J(null), B = Pm(i), D = _m(fr), R = b(() => Array.isArray(i.options) ? i.options.length : 0), O = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4080
- virtualScrollSliceRange: P,
4079
+ const C = J(null), P = J(null), T = J(null), N = J(null), V = J(null), R = Pm(i), D = _m(fr), E = b(() => Array.isArray(i.options) ? i.options.length : 0), O = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4080
+ virtualScrollSliceRange: _,
4081
4081
  virtualScrollSliceSizeComputed: F,
4082
4082
  localResetVirtualScroll: Y,
4083
4083
  padVirtualScroll: M,
@@ -4085,32 +4085,32 @@ const Uo = Je({
4085
4085
  scrollTo: z,
4086
4086
  setVirtualScrollSize: ne
4087
4087
  } = Nb({
4088
- virtualScrollLength: R,
4088
+ virtualScrollLength: E,
4089
4089
  getVirtualScrollTarget: gn,
4090
4090
  getVirtualScrollEl: Vn,
4091
4091
  virtualScrollItemSizeComputed: O
4092
4092
  }), I = dc(), w = b(() => {
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] : [];
4093
+ const B = i.mapOptions === !0 && i.multiple !== !0, he = i.modelValue !== void 0 && (i.modelValue !== null || B === !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) => xe($e, me));
4096
- return i.modelValue === null && _ === !0 ? _e.filter(($e) => $e !== null) : _e;
4096
+ return i.modelValue === null && B === !0 ? _e.filter(($e) => $e !== null) : _e;
4097
4097
  }
4098
4098
  return he;
4099
- }), N = b(() => {
4100
- const _ = {};
4099
+ }), H = b(() => {
4100
+ const B = {};
4101
4101
  return jb.forEach((he) => {
4102
4102
  const me = i[he];
4103
- me !== void 0 && (_[he] = me);
4104
- }), _;
4103
+ me !== void 0 && (B[he] = me);
4104
+ }), B;
4105
4105
  }), U = b(() => i.optionsDark === null ? I.isDark.value : i.optionsDark), G = b(() => Co(w.value)), oe = b(() => {
4106
- let _ = "q-field__input q-placeholder col";
4107
- return i.hideSelected === !0 || w.value.length === 0 ? [_, i.inputClass] : (_ += " q-field__input--padding", i.inputClass === void 0 ? _ : [_, i.inputClass]);
4106
+ let B = "q-field__input q-placeholder col";
4107
+ return i.hideSelected === !0 || w.value.length === 0 ? [B, i.inputClass] : (B += " q-field__input--padding", i.inputClass === void 0 ? B : [B, i.inputClass]);
4108
4108
  }), le = b(
4109
4109
  () => (i.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (i.popupContentClass ? " " + i.popupContentClass : "")
4110
- ), Be = b(() => R.value === 0), Z = b(
4111
- () => w.value.map((_) => X.value(_)).join(", ")
4112
- ), et = b(() => i.displayValue !== void 0 ? i.displayValue : Z.value), Ie = b(() => i.optionsHtml === !0 ? () => !0 : (_) => (_ == null ? void 0 : _.html) === !0), Qe = b(() => i.displayValueHtml === !0 || i.displayValue === void 0 && (i.optionsHtml === !0 || w.value.some(Ie.value))), wt = b(() => I.focused.value === !0 ? i.tabindex : -1), _t = b(() => {
4113
- const _ = {
4110
+ ), Be = b(() => E.value === 0), Z = b(
4111
+ () => w.value.map((B) => X.value(B)).join(", ")
4112
+ ), et = b(() => i.displayValue !== void 0 ? i.displayValue : Z.value), Ie = b(() => i.optionsHtml === !0 ? () => !0 : (B) => (B == null ? void 0 : B.html) === !0), Qe = b(() => i.displayValueHtml === !0 || i.displayValue === void 0 && (i.optionsHtml === !0 || w.value.some(Ie.value))), wt = b(() => I.focused.value === !0 ? i.tabindex : -1), _t = b(() => {
4113
+ const B = {
4114
4114
  tabindex: i.tabindex,
4115
4115
  role: "combobox",
4116
4116
  "aria-label": i.label,
@@ -4119,25 +4119,25 @@ const Uo = Je({
4119
4119
  "aria-expanded": o.value === !0 ? "true" : "false",
4120
4120
  "aria-controls": `${I.targetUid.value}_lb`
4121
4121
  };
4122
- return l.value >= 0 && (_["aria-activedescendant"] = `${I.targetUid.value}_${l.value}`), _;
4122
+ return l.value >= 0 && (B["aria-activedescendant"] = `${I.targetUid.value}_${l.value}`), B;
4123
4123
  }), Gt = b(() => ({
4124
4124
  id: `${I.targetUid.value}_lb`,
4125
4125
  role: "listbox",
4126
4126
  "aria-multiselectable": i.multiple === !0 ? "true" : "false"
4127
- })), Bt = b(() => w.value.map((_, he) => ({
4127
+ })), Bt = b(() => w.value.map((B, he) => ({
4128
4128
  index: he,
4129
- opt: _,
4130
- html: Ie.value(_),
4129
+ opt: B,
4130
+ html: Ie.value(B),
4131
4131
  selected: !0,
4132
4132
  removeAtIndex: qe,
4133
4133
  toggleOption: ut,
4134
4134
  tabindex: wt.value
4135
4135
  }))), dt = b(() => {
4136
- if (R.value === 0)
4136
+ if (E.value === 0)
4137
4137
  return [];
4138
- const { from: _, to: he } = P.value;
4139
- return i.options.slice(_, he).map((me, _e) => {
4140
- const $e = ye.value(me) === !0, mt = Ce(me) === !0, Ze = _ + _e, gt = {
4138
+ const { from: B, to: he } = _.value;
4139
+ return i.options.slice(B, he).map((me, _e) => {
4140
+ const $e = ye.value(me) === !0, mt = Ce(me) === !0, Ze = B + _e, gt = {
4141
4141
  clickable: !0,
4142
4142
  active: mt,
4143
4143
  activeClass: Jt.value,
@@ -4171,7 +4171,7 @@ const Uo = Je({
4171
4171
  }), vi = b(() => i.dropdownIcon !== void 0 ? i.dropdownIcon : r.iconSet.arrow.dropdown), Li = b(
4172
4172
  () => i.optionsCover === !1 && i.outlined !== !0 && i.standout !== !0 && i.borderless !== !0 && i.rounded !== !0
4173
4173
  ), Jt = 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")), ye = b(() => xa(i.optionDisable, "disable")), we = b(() => w.value.map(at.value)), Ue = b(() => {
4174
- const _ = {
4174
+ const B = {
4175
4175
  onInput: fr,
4176
4176
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
4177
4177
  // switching focus before confirming composition choice
@@ -4186,30 +4186,30 @@ const Uo = Je({
4186
4186
  m === !0 && di(he);
4187
4187
  }
4188
4188
  };
4189
- return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = D, _;
4189
+ return B.onCompositionstart = B.onCompositionupdate = B.onCompositionend = D, B;
4190
4190
  });
4191
- ve(w, (_) => {
4192
- d = _, i.useInput === !0 && i.fillInput === !0 && i.multiple !== !0 && I.innerLoading.value !== !0 && (s.value !== !0 && o.value !== !0 || G.value !== !0) && (p !== !0 && yi(), (s.value === !0 || o.value === !0) && Ii(""));
4193
- }, { immediate: !0 }), ve(() => i.fillInput, yi), ve(o, la), ve(R, O0);
4194
- function ze(_) {
4195
- return i.emitValue === !0 ? at.value(_) : _;
4196
- }
4197
- function Oe(_) {
4198
- if (_ !== -1 && _ < w.value.length)
4191
+ ve(w, (B) => {
4192
+ d = B, i.useInput === !0 && i.fillInput === !0 && i.multiple !== !0 && I.innerLoading.value !== !0 && (s.value !== !0 && o.value !== !0 || G.value !== !0) && (p !== !0 && yi(), (s.value === !0 || o.value === !0) && Ii(""));
4193
+ }, { immediate: !0 }), ve(() => i.fillInput, yi), ve(o, la), ve(E, O0);
4194
+ function ze(B) {
4195
+ return i.emitValue === !0 ? at.value(B) : B;
4196
+ }
4197
+ function Oe(B) {
4198
+ if (B !== -1 && B < w.value.length)
4199
4199
  if (i.multiple === !0) {
4200
4200
  const he = i.modelValue.slice();
4201
- t("remove", { index: _, value: he.splice(_, 1)[0] }), t("update:modelValue", he);
4201
+ t("remove", { index: B, value: he.splice(B, 1)[0] }), t("update:modelValue", he);
4202
4202
  } else
4203
4203
  t("update:modelValue", null);
4204
4204
  }
4205
- function qe(_) {
4206
- Oe(_), I.focus();
4205
+ function qe(B) {
4206
+ Oe(B), I.focus();
4207
4207
  }
4208
- function Xe(_, he) {
4209
- const me = ze(_);
4208
+ function Xe(B, he) {
4209
+ const me = ze(B);
4210
4210
  if (i.multiple !== !0) {
4211
4211
  i.fillInput === !0 && Nn(
4212
- X.value(_),
4212
+ X.value(B),
4213
4213
  !0,
4214
4214
  !0
4215
4215
  ), t("update:modelValue", me);
@@ -4219,24 +4219,24 @@ const Uo = Je({
4219
4219
  t("add", { index: 0, value: me }), t("update:modelValue", i.multiple === !0 ? [me] : me);
4220
4220
  return;
4221
4221
  }
4222
- if (he === !0 && Ce(_) === !0 || i.maxValues !== void 0 && i.modelValue.length >= i.maxValues) return;
4222
+ if (he === !0 && Ce(B) === !0 || i.maxValues !== void 0 && i.modelValue.length >= i.maxValues) return;
4223
4223
  const _e = i.modelValue.slice();
4224
4224
  t("add", { index: _e.length, value: me }), _e.push(me), t("update:modelValue", _e);
4225
4225
  }
4226
- function ut(_, he) {
4226
+ function ut(B, he) {
4227
4227
  var mt;
4228
- if (I.editable.value !== !0 || _ === void 0 || ye.value(_) === !0) return;
4229
- const me = at.value(_);
4228
+ if (I.editable.value !== !0 || B === void 0 || ye.value(B) === !0) return;
4229
+ const me = at.value(B);
4230
4230
  if (i.multiple !== !0) {
4231
4231
  he !== !0 && (Nn(
4232
- i.fillInput === !0 ? X.value(_) : "",
4232
+ i.fillInput === !0 ? X.value(B) : "",
4233
4233
  !0,
4234
4234
  !0
4235
- ), Ve()), (mt = E.value) == null || mt.focus(), (w.value.length === 0 || xn(at.value(w.value[0]), me) !== !0) && t("update:modelValue", i.emitValue === !0 ? me : _);
4235
+ ), Ve()), (mt = P.value) == null || mt.focus(), (w.value.length === 0 || xn(at.value(w.value[0]), me) !== !0) && t("update:modelValue", i.emitValue === !0 ? me : B);
4236
4236
  return;
4237
4237
  }
4238
4238
  if ((m !== !0 || u.value === !0) && I.focus(), Re(), w.value.length === 0) {
4239
- const Ze = i.emitValue === !0 ? me : _;
4239
+ const Ze = i.emitValue === !0 ? me : B;
4240
4240
  t("add", { index: 0, value: Ze }), t("update:modelValue", i.multiple === !0 ? [Ze] : Ze);
4241
4241
  return;
4242
4242
  }
@@ -4245,24 +4245,24 @@ const Uo = Je({
4245
4245
  t("remove", { index: $e, value: _e.splice($e, 1)[0] });
4246
4246
  else {
4247
4247
  if (i.maxValues !== void 0 && _e.length >= i.maxValues) return;
4248
- const Ze = i.emitValue === !0 ? me : _;
4248
+ const Ze = i.emitValue === !0 ? me : B;
4249
4249
  t("add", { index: _e.length, value: Ze }), _e.push(Ze);
4250
4250
  }
4251
4251
  t("update:modelValue", _e);
4252
4252
  }
4253
- function Q(_) {
4253
+ function Q(B) {
4254
4254
  if (r.platform.is.desktop !== !0) return;
4255
- const he = _ !== -1 && _ < R.value ? _ : -1;
4255
+ const he = B !== -1 && B < E.value ? B : -1;
4256
4256
  l.value !== he && (l.value = he);
4257
4257
  }
4258
- function $(_ = 1, he) {
4258
+ function $(B = 1, he) {
4259
4259
  if (o.value === !0) {
4260
4260
  let me = l.value;
4261
4261
  do
4262
4262
  me = Wh(
4263
- me + _,
4263
+ me + B,
4264
4264
  -1,
4265
- R.value - 1
4265
+ E.value - 1
4266
4266
  );
4267
4267
  while (me !== -1 && me !== l.value && ye.value(i.options[me]) === !0);
4268
4268
  l.value !== me && (Q(me), z(me), he !== !0 && i.useInput === !0 && i.fillInput === !0 && Fn(
@@ -4271,27 +4271,27 @@ const Uo = Je({
4271
4271
  ));
4272
4272
  }
4273
4273
  }
4274
- function xe(_, he) {
4275
- const me = (_e) => xn(at.value(_e), _);
4276
- return i.options.find(me) || he.find(me) || _;
4274
+ function xe(B, he) {
4275
+ const me = (_e) => xn(at.value(_e), B);
4276
+ return i.options.find(me) || he.find(me) || B;
4277
4277
  }
4278
- function Ce(_) {
4279
- const he = at.value(_);
4278
+ function Ce(B) {
4279
+ const he = at.value(B);
4280
4280
  return we.value.find((me) => xn(me, he)) !== void 0;
4281
4281
  }
4282
- function Re(_) {
4283
- i.useInput === !0 && E.value !== null && (_ === void 0 || E.value === _.target && _.target.value === Z.value) && E.value.select();
4282
+ function Re(B) {
4283
+ i.useInput === !0 && P.value !== null && (B === void 0 || P.value === B.target && B.target.value === Z.value) && P.value.select();
4284
4284
  }
4285
- function Ht(_) {
4286
- cn(_, 27) === !0 && o.value === !0 && (di(_), Ve(), yi()), t("keyup", _);
4285
+ function Ht(B) {
4286
+ cn(B, 27) === !0 && o.value === !0 && (di(B), Ve(), yi()), t("keyup", B);
4287
4287
  }
4288
- function De(_) {
4289
- const { value: he } = _.target;
4290
- if (_.keyCode !== void 0) {
4291
- Ht(_);
4288
+ function De(B) {
4289
+ const { value: he } = B.target;
4290
+ if (B.keyCode !== void 0) {
4291
+ Ht(B);
4292
4292
  return;
4293
4293
  }
4294
- if (_.target.value = "", h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), yi(), typeof he == "string" && he.length !== 0) {
4294
+ if (B.target.value = "", h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), yi(), 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
4297
  return Ze === void 0 ? !1 : (w.value.indexOf(Ze) === -1 ? ut(Ze) : Ve(), !0);
@@ -4300,43 +4300,43 @@ const Uo = Je({
4300
4300
  };
4301
4301
  $e();
4302
4302
  } else
4303
- I.clearValue(_);
4303
+ I.clearValue(B);
4304
4304
  }
4305
- function tt(_) {
4306
- t("keypress", _);
4305
+ function tt(B) {
4306
+ t("keypress", B);
4307
4307
  }
4308
- function Rt(_) {
4309
- if (t("keydown", _), Nl(_) === !0) return;
4310
- const he = a.value.length !== 0 && (i.newValueMode !== void 0 || i.onNewValue !== void 0), me = _.shiftKey !== !0 && i.disableTabSelection !== !0 && i.multiple !== !0 && (l.value !== -1 || he === !0);
4311
- if (_.keyCode === 27) {
4312
- ei(_);
4308
+ function Rt(B) {
4309
+ if (t("keydown", B), Nl(B) === !0) return;
4310
+ const he = a.value.length !== 0 && (i.newValueMode !== void 0 || i.onNewValue !== void 0), me = B.shiftKey !== !0 && i.disableTabSelection !== !0 && i.multiple !== !0 && (l.value !== -1 || he === !0);
4311
+ if (B.keyCode === 27) {
4312
+ ei(B);
4313
4313
  return;
4314
4314
  }
4315
- if (_.keyCode === 9 && me === !1) {
4315
+ if (B.keyCode === 9 && me === !1) {
4316
4316
  pe();
4317
4317
  return;
4318
4318
  }
4319
- if (_.target === void 0 || _.target.id !== I.targetUid.value || I.editable.value !== !0) return;
4320
- if (_.keyCode === 40 && I.innerLoading.value !== !0 && o.value === !1) {
4321
- ct(_), Se();
4319
+ if (B.target === void 0 || B.target.id !== I.targetUid.value || I.editable.value !== !0) return;
4320
+ if (B.keyCode === 40 && I.innerLoading.value !== !0 && o.value === !1) {
4321
+ ct(B), Se();
4322
4322
  return;
4323
4323
  }
4324
- if (_.keyCode === 8 && (i.useChips === !0 || i.clearable === !0) && i.hideSelected !== !0 && a.value.length === 0) {
4324
+ if (B.keyCode === 8 && (i.useChips === !0 || i.clearable === !0) && i.hideSelected !== !0 && a.value.length === 0) {
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) && F.value !== void 0 && (ct(_), l.value = Math.max(
4328
+ (B.keyCode === 35 || B.keyCode === 36) && (typeof a.value != "string" || a.value.length === 0) && (ct(B), l.value = -1, $(B.keyCode === 36 ? 1 : -1, i.multiple)), (B.keyCode === 33 || B.keyCode === 34) && F.value !== void 0 && (ct(B), l.value = Math.max(
4329
4329
  -1,
4330
4330
  Math.min(
4331
- R.value,
4332
- l.value + (_.keyCode === 33 ? -1 : 1) * F.value.view
4331
+ E.value,
4332
+ l.value + (B.keyCode === 33 ? -1 : 1) * F.value.view
4333
4333
  )
4334
- ), $(_.keyCode === 33 ? 1 : -1, i.multiple)), (_.keyCode === 38 || _.keyCode === 40) && (ct(_), $(_.keyCode === 38 ? -1 : 1, i.multiple));
4335
- const _e = R.value;
4336
- if ((v === void 0 || x < Date.now()) && (v = ""), _e > 0 && i.useInput !== !0 && _.key !== void 0 && _.key.length === 1 && _.altKey === !1 && _.ctrlKey === !1 && _.metaKey === !1 && (_.keyCode !== 32 || v.length !== 0)) {
4337
- o.value !== !0 && Se(_);
4338
- const $e = _.key.toLocaleLowerCase(), mt = v.length === 1 && v[0] === $e;
4339
- x = Date.now() + 1500, mt === !1 && (ct(_), v += $e);
4334
+ ), $(B.keyCode === 33 ? 1 : -1, i.multiple)), (B.keyCode === 38 || B.keyCode === 40) && (ct(B), $(B.keyCode === 38 ? -1 : 1, i.multiple));
4335
+ const _e = E.value;
4336
+ if ((v === void 0 || x < Date.now()) && (v = ""), _e > 0 && i.useInput !== !0 && B.key !== void 0 && B.key.length === 1 && B.altKey === !1 && B.ctrlKey === !1 && B.metaKey === !1 && (B.keyCode !== 32 || v.length !== 0)) {
4337
+ o.value !== !0 && Se(B);
4338
+ const $e = B.key.toLocaleLowerCase(), mt = v.length === 1 && v[0] === $e;
4339
+ x = Date.now() + 1500, mt === !1 && (ct(B), v += $e);
4340
4340
  const Ze = new RegExp("^" + v.split("").map((dr) => zb.indexOf(dr) !== -1 ? "\\" + dr : dr).join(".*"), "i");
4341
4341
  let gt = l.value;
4342
4342
  if (mt === !0 || gt < 0 || Ze.test(X.value(i.options[gt])) !== !0)
@@ -4348,8 +4348,8 @@ const Uo = Je({
4348
4348
  });
4349
4349
  return;
4350
4350
  }
4351
- if (!(_.keyCode !== 13 && (_.keyCode !== 32 || i.useInput === !0 || v !== "") && (_.keyCode !== 9 || me === !1))) {
4352
- if (_.keyCode !== 9 && ct(_), l.value !== -1 && l.value < _e) {
4351
+ if (!(B.keyCode !== 13 && (B.keyCode !== 32 || i.useInput === !0 || v !== "") && (B.keyCode !== 9 || me === !1))) {
4352
+ if (B.keyCode !== 9 && ct(B), l.value !== -1 && l.value < _e) {
4353
4353
  ut(i.options[l.value]);
4354
4354
  return;
4355
4355
  }
@@ -4361,7 +4361,7 @@ const Uo = Je({
4361
4361
  } else
4362
4362
  Ze = i.newValueMode;
4363
4363
  if (Nn("", i.multiple !== !0, !0), mt == null) return;
4364
- (Ze === "toggle" ? ut : Xe)(mt, Ze === "add-unique"), i.multiple !== !0 && ((dr = E.value) == null || dr.focus(), Ve());
4364
+ (Ze === "toggle" ? ut : Xe)(mt, Ze === "add-unique"), i.multiple !== !0 && ((dr = P.value) == null || dr.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
  }
@@ -4375,18 +4375,18 @@ const Uo = Je({
4375
4375
  return Vn();
4376
4376
  }
4377
4377
  function rs() {
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) => A(Lm, {
4378
+ return i.hideSelected === !0 ? [] : e["selected-item"] !== void 0 ? Bt.value.map((B) => e["selected-item"](B)).slice() : e.selected !== void 0 ? [].concat(e.selected()) : i.useChips === !0 ? Bt.value.map((B, he) => A(Lm, {
4379
4379
  key: "option-" + he,
4380
- removable: I.editable.value === !0 && ye.value(_.opt) !== !0,
4380
+ removable: I.editable.value === !0 && ye.value(B.opt) !== !0,
4381
4381
  dense: !0,
4382
4382
  textColor: i.color,
4383
4383
  tabindex: wt.value,
4384
4384
  onRemove() {
4385
- _.removeAtIndex(he);
4385
+ B.removeAtIndex(he);
4386
4386
  }
4387
4387
  }, () => A("span", {
4388
4388
  class: "ellipsis",
4389
- [_.html === !0 ? "innerHTML" : "textContent"]: X.value(_.opt)
4389
+ [B.html === !0 ? "innerHTML" : "textContent"]: X.value(B.opt)
4390
4390
  }))) : [
4391
4391
  A("span", {
4392
4392
  class: "ellipsis",
@@ -4397,7 +4397,7 @@ const Uo = Je({
4397
4397
  function en() {
4398
4398
  if (Be.value === !0)
4399
4399
  return e["no-option"] !== void 0 ? e["no-option"]({ inputValue: a.value }) : void 0;
4400
- const _ = e.option !== void 0 ? e.option : (me) => A(el, {
4400
+ const B = e.option !== void 0 ? e.option : (me) => A(el, {
4401
4401
  key: me.index,
4402
4402
  ...me.itemProps
4403
4403
  }, () => A(
@@ -4409,12 +4409,12 @@ const Uo = Je({
4409
4409
  })
4410
4410
  )
4411
4411
  ));
4412
- let he = M("div", dt.value.map(_));
4412
+ let he = M("div", dt.value.map(B));
4413
4413
  return e["before-options"] !== void 0 && (he = e["before-options"]().concat(he)), wn(e["after-options"], he);
4414
4414
  }
4415
- function Xr(_, he) {
4415
+ function Xr(B, he) {
4416
4416
  const me = he === !0 ? { ..._t.value, ...I.splitAttrs.attributes.value } : void 0, _e = {
4417
- ref: he === !0 ? E : void 0,
4417
+ ref: he === !0 ? P : void 0,
4418
4418
  key: "i_t",
4419
4419
  class: oe.value,
4420
4420
  style: i.inputStyle,
@@ -4425,35 +4425,35 @@ const Uo = Je({
4425
4425
  id: he === !0 ? I.targetUid.value : void 0,
4426
4426
  maxlength: i.maxlength,
4427
4427
  autocomplete: i.autocomplete,
4428
- "data-autofocus": _ === !0 || i.autofocus === !0 || void 0,
4428
+ "data-autofocus": B === !0 || i.autofocus === !0 || void 0,
4429
4429
  disabled: i.disable === !0,
4430
4430
  readonly: i.readonly === !0,
4431
4431
  ...Ue.value
4432
4432
  };
4433
- return _ !== !0 && m === !0 && (Array.isArray(_e.class) === !0 ? _e.class = [..._e.class, "no-pointer-events"] : _e.class += " no-pointer-events"), A("input", _e);
4433
+ return B !== !0 && m === !0 && (Array.isArray(_e.class) === !0 ? _e.class = [..._e.class, "no-pointer-events"] : _e.class += " no-pointer-events"), A("input", _e);
4434
4434
  }
4435
- function fr(_) {
4436
- h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), !(_ && _.target && _.target.qComposing === !0) && (Fn(_.target.value || ""), p = !0, y = a.value, I.focused.value !== !0 && (m !== !0 || u.value === !0) && I.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
4435
+ function fr(B) {
4436
+ h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), !(B && B.target && B.target.qComposing === !0) && (Fn(B.target.value || ""), p = !0, y = a.value, I.focused.value !== !0 && (m !== !0 || u.value === !0) && I.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
4437
4437
  h = null, Ii(a.value);
4438
4438
  }, i.inputDebounce)));
4439
4439
  }
4440
- function Fn(_, he) {
4441
- a.value !== _ && (a.value = _, he === !0 || i.inputDebounce === 0 || i.inputDebounce === "0" ? t("inputValue", _) : f = setTimeout(() => {
4442
- f = null, t("inputValue", _);
4440
+ function Fn(B, he) {
4441
+ a.value !== B && (a.value = B, he === !0 || i.inputDebounce === 0 || i.inputDebounce === "0" ? t("inputValue", B) : f = setTimeout(() => {
4442
+ f = null, t("inputValue", B);
4443
4443
  }, i.inputDebounce));
4444
4444
  }
4445
- function Nn(_, he, me) {
4446
- p = me !== !0, i.useInput === !0 && (Fn(_, !0), (he === !0 || me !== !0) && (y = _), he !== !0 && Ii(_));
4445
+ function Nn(B, he, me) {
4446
+ p = me !== !0, i.useInput === !0 && (Fn(B, !0), (he === !0 || me !== !0) && (y = B), he !== !0 && Ii(B));
4447
4447
  }
4448
- function Ii(_, he, me) {
4448
+ function Ii(B, he, me) {
4449
4449
  if (i.onFilter === void 0 || he !== !0 && I.focused.value !== !0) return;
4450
- I.innerLoading.value === !0 ? t("filterAbort") : (I.innerLoading.value = !0, c.value = !0), _ !== "" && i.multiple !== !0 && w.value.length !== 0 && p !== !0 && _ === X.value(w.value[0]) && (_ = "");
4450
+ I.innerLoading.value === !0 ? t("filterAbort") : (I.innerLoading.value = !0, c.value = !0), B !== "" && i.multiple !== !0 && w.value.length !== 0 && p !== !0 && B === X.value(w.value[0]) && (B = "");
4451
4451
  const _e = setTimeout(() => {
4452
4452
  o.value === !0 && (o.value = !1);
4453
4453
  }, 10);
4454
4454
  g !== null && clearTimeout(g), g = _e, t(
4455
4455
  "filter",
4456
- _,
4456
+ B,
4457
4457
  ($e, mt) => {
4458
4458
  (he === !0 || I.focused.value === !0) && g === _e && (clearTimeout(g), typeof $e == "function" && $e(), c.value = !1, rt(() => {
4459
4459
  I.innerLoading.value = !1, I.editable.value === !0 && (he === !0 ? o.value === !0 && Ve() : o.value === !0 ? la(!0) : o.value = !0), typeof mt == "function" && rt(() => {
@@ -4496,26 +4496,26 @@ const Uo = Je({
4496
4496
  onShow: sa
4497
4497
  }, en);
4498
4498
  }
4499
- function oa(_) {
4500
- ah(_), pe();
4499
+ function oa(B) {
4500
+ ah(B), pe();
4501
4501
  }
4502
4502
  function sa() {
4503
4503
  ne();
4504
4504
  }
4505
- function S(_) {
4505
+ function S(B) {
4506
4506
  var he;
4507
- di(_), (he = E.value) == null || he.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4507
+ di(B), (he = P.value) == null || he.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4508
4508
  }
4509
- function L(_) {
4510
- di(_), rt(() => {
4509
+ function L(B) {
4510
+ di(B), rt(() => {
4511
4511
  u.value = !1;
4512
4512
  });
4513
4513
  }
4514
4514
  function W() {
4515
- const _ = [
4515
+ const B = [
4516
4516
  A(ob, {
4517
4517
  class: `col-auto ${I.fieldClass.value}`,
4518
- ...N.value,
4518
+ ...H.value,
4519
4519
  for: I.targetUid.value,
4520
4520
  dark: U.value,
4521
4521
  square: !0,
@@ -4533,7 +4533,7 @@ const Uo = Je({
4533
4533
  after: void 0
4534
4534
  })
4535
4535
  ];
4536
- return o.value === !0 && _.push(
4536
+ return o.value === !0 && B.push(
4537
4537
  A("div", {
4538
4538
  ref: V,
4539
4539
  class: le.value + " scroll",
@@ -4543,7 +4543,7 @@ const Uo = Je({
4543
4543
  onScrollPassive: q
4544
4544
  }, en())
4545
4545
  ), A(Zm, {
4546
- ref: H,
4546
+ ref: N,
4547
4547
  modelValue: s.value,
4548
4548
  position: i.useInput === !0 ? "top" : void 0,
4549
4549
  transitionShow: k,
@@ -4556,25 +4556,25 @@ const Uo = Je({
4556
4556
  onShow: Te
4557
4557
  }, () => A("div", {
4558
4558
  class: "q-select__dialog" + (U.value === !0 ? " q-select__dialog--dark q-dark" : "") + (u.value === !0 ? " q-select__dialog--focused" : "")
4559
- }, _));
4559
+ }, B));
4560
4560
  }
4561
- function se(_) {
4562
- ah(_), H.value !== null && H.value.__updateRefocusTarget(
4561
+ function se(B) {
4562
+ ah(B), N.value !== null && N.value.__updateRefocusTarget(
4563
4563
  I.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
4564
4564
  ), I.focused.value = !1;
4565
4565
  }
4566
- function fe(_) {
4567
- Ve(), I.focused.value === !1 && t("blur", _), yi();
4566
+ function fe(B) {
4567
+ Ve(), I.focused.value === !1 && t("blur", B), yi();
4568
4568
  }
4569
4569
  function Te() {
4570
- const _ = document.activeElement;
4571
- (_ === null || _.id !== I.targetUid.value) && E.value !== null && E.value !== _ && E.value.focus(), ne();
4570
+ const B = document.activeElement;
4571
+ (B === null || B.id !== I.targetUid.value) && P.value !== null && P.value !== B && P.value.focus(), ne();
4572
4572
  }
4573
4573
  function pe() {
4574
4574
  s.value !== !0 && (l.value = -1, o.value === !0 && (o.value = !1), I.focused.value === !1 && (g !== null && (clearTimeout(g), g = null), I.innerLoading.value === !0 && (t("filterAbort"), I.innerLoading.value = !1, c.value = !1)));
4575
4575
  }
4576
- function Se(_) {
4577
- I.editable.value === !0 && (m === !0 ? (I.onControlFocusin(_), s.value = !0, rt(() => {
4576
+ function Se(B) {
4577
+ I.editable.value === !0 && (m === !0 ? (I.onControlFocusin(B), s.value = !0, rt(() => {
4578
4578
  I.focus();
4579
4579
  })) : I.focus(), i.onFilter !== void 0 ? Ii(a.value) : (Be.value !== !0 || e["no-option"] !== void 0) && (o.value = !0));
4580
4580
  }
@@ -4588,9 +4588,9 @@ const Uo = Je({
4588
4588
  !0
4589
4589
  );
4590
4590
  }
4591
- function la(_) {
4591
+ function la(B) {
4592
4592
  let he = -1;
4593
- if (_ === !0) {
4593
+ if (B === !0) {
4594
4594
  if (w.value.length !== 0) {
4595
4595
  const me = at.value(w.value[0]);
4596
4596
  he = i.options.findIndex((_e) => xn(at.value(_e), me));
@@ -4599,19 +4599,19 @@ const Uo = Je({
4599
4599
  }
4600
4600
  Q(he);
4601
4601
  }
4602
- function O0(_, he) {
4602
+ function O0(B, he) {
4603
4603
  o.value === !0 && I.innerLoading.value === !1 && (Y(-1, !0), rt(() => {
4604
- o.value === !0 && I.innerLoading.value === !1 && (_ > he ? Y() : la(!0));
4604
+ o.value === !0 && I.innerLoading.value === !1 && (B > he ? Y() : la(!0));
4605
4605
  }));
4606
4606
  }
4607
4607
  function sh() {
4608
4608
  s.value === !1 && T.value !== null && T.value.updatePosition();
4609
4609
  }
4610
- function lh(_) {
4611
- _ !== void 0 && di(_), t("popupShow", _), I.hasPopupOpen = !0, I.onControlFocusin(_);
4610
+ function lh(B) {
4611
+ B !== void 0 && di(B), t("popupShow", B), I.hasPopupOpen = !0, I.onControlFocusin(B);
4612
4612
  }
4613
- function ah(_) {
4614
- _ !== void 0 && di(_), t("popupHide", _), I.hasPopupOpen = !1, I.onControlFocusout(_);
4613
+ function ah(B) {
4614
+ B !== void 0 && di(B), t("popupHide", B), I.hasPopupOpen = !1, I.onControlFocusout(B);
4615
4615
  }
4616
4616
  function uh() {
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;
@@ -4632,16 +4632,16 @@ const Uo = Je({
4632
4632
  updateInputValue: Nn,
4633
4633
  isOptionSelected: Ce,
4634
4634
  getEmittingOptionValue: ze,
4635
- isOptionDisabled: (..._) => ye.value.apply(null, _) === !0,
4636
- getOptionValue: (..._) => at.value.apply(null, _),
4637
- getOptionLabel: (..._) => X.value.apply(null, _)
4635
+ isOptionDisabled: (...B) => ye.value.apply(null, B) === !0,
4636
+ getOptionValue: (...B) => at.value.apply(null, B),
4637
+ getOptionLabel: (...B) => X.value.apply(null, B)
4638
4638
  }), Object.assign(I, {
4639
4639
  innerValue: w,
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: E,
4644
+ targetRef: P,
4645
4645
  hasValue: G,
4646
4646
  showPopup: Se,
4647
4647
  floatingLabel: b(
@@ -4653,38 +4653,38 @@ const Uo = Je({
4653
4653
  I.hasPopupOpen === !0 && (I.hasPopupOpen = !1);
4654
4654
  },
4655
4655
  controlEvents: {
4656
- onFocusin(_) {
4657
- I.onControlFocusin(_);
4656
+ onFocusin(B) {
4657
+ I.onControlFocusin(B);
4658
4658
  },
4659
- onFocusout(_) {
4660
- I.onControlFocusout(_, () => {
4659
+ onFocusout(B) {
4660
+ I.onControlFocusout(B, () => {
4661
4661
  yi(), pe();
4662
4662
  });
4663
4663
  },
4664
- onClick(_) {
4664
+ onClick(B) {
4665
4665
  var he;
4666
- if (ei(_), m !== !0 && o.value === !0) {
4667
- pe(), (he = E.value) == null || he.focus();
4666
+ if (ei(B), m !== !0 && o.value === !0) {
4667
+ pe(), (he = P.value) == null || he.focus();
4668
4668
  return;
4669
4669
  }
4670
- Se(_);
4670
+ Se(B);
4671
4671
  }
4672
4672
  },
4673
- getControl: (_) => {
4674
- const he = rs(), me = _ === !0 || s.value !== !0 || m !== !0;
4673
+ getControl: (B) => {
4674
+ const he = rs(), me = B === !0 || s.value !== !0 || m !== !0;
4675
4675
  if (i.useInput === !0)
4676
- he.push(Xr(_, me));
4676
+ he.push(Xr(B, me));
4677
4677
  else if (I.editable.value === !0) {
4678
4678
  const $e = me === !0 ? _t.value : void 0;
4679
4679
  he.push(
4680
4680
  A("input", {
4681
- ref: me === !0 ? E : void 0,
4681
+ ref: me === !0 ? P : void 0,
4682
4682
  key: "d_t",
4683
4683
  class: "q-select__focus-target",
4684
4684
  id: me === !0 ? I.targetUid.value : void 0,
4685
4685
  value: et.value,
4686
4686
  readonly: !0,
4687
- "data-autofocus": _ === !0 || i.autofocus === !0 || void 0,
4687
+ "data-autofocus": B === !0 || i.autofocus === !0 || void 0,
4688
4688
  ...$e,
4689
4689
  onKeydown: Rt,
4690
4690
  onKeyup: Ht,
@@ -4699,12 +4699,12 @@ const Uo = Je({
4699
4699
  })
4700
4700
  );
4701
4701
  }
4702
- if (B.value !== void 0 && i.disable !== !0 && we.value.length !== 0) {
4702
+ if (R.value !== void 0 && i.disable !== !0 && we.value.length !== 0) {
4703
4703
  const $e = we.value.map((mt) => A("option", { value: mt, selected: !0 }));
4704
4704
  he.push(
4705
4705
  A("select", {
4706
4706
  class: "hidden",
4707
- name: B.value,
4707
+ name: R.value,
4708
4708
  multiple: i.multiple
4709
4709
  }, $e)
4710
4710
  );
@@ -4762,9 +4762,9 @@ const Uo = Je({
4762
4762
  // We control this via useFilter
4763
4763
  hideSelected: C,
4764
4764
  // We control this via useFilter
4765
- ...E
4765
+ ...P
4766
4766
  } = g;
4767
- return E;
4767
+ return P;
4768
4768
  }), h = b(() => {
4769
4769
  if (!t.schema.enum) return [];
4770
4770
  const g = t.schema["x-enum-labels"];
@@ -5011,8 +5011,8 @@ 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 P = Math.max(0, Math.min(100, i.percentage));
5015
- return P > 0 ? { transition: "transform 0.6s", transform: `translateX(${P - 100}%)` } : {};
5014
+ const _ = Math.max(0, Math.min(100, i.percentage));
5015
+ return _ > 0 ? { transition: "transform 0.6s", transform: `translateX(${_ - 100}%)` } : {};
5016
5016
  }), C = b(() => {
5017
5017
  if (i.loading === !0)
5018
5018
  return {
@@ -5023,35 +5023,35 @@ const It = Je({
5023
5023
  onKeyup: O
5024
5024
  };
5025
5025
  if (h.value === !0) {
5026
- const P = {
5026
+ const _ = {
5027
5027
  onClick: T,
5028
- onKeydown: H,
5029
- onMousedown: B
5028
+ onKeydown: N,
5029
+ onMousedown: R
5030
5030
  };
5031
5031
  if (n.$q.platform.has.touch === !0) {
5032
5032
  const F = i.onTouchstart !== void 0 ? "" : "Passive";
5033
- P[`onTouchstart${F}`] = V;
5033
+ _[`onTouchstart${F}`] = V;
5034
5034
  }
5035
- return P;
5035
+ return _;
5036
5036
  }
5037
5037
  return {
5038
5038
  // needed; especially for disabled <a> tags
5039
5039
  onClick: ct
5040
5040
  };
5041
- }), E = b(() => ({
5041
+ }), P = 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 T(P) {
5048
+ function T(_) {
5049
5049
  if (f.value !== null) {
5050
- if (P !== void 0) {
5051
- if (P.defaultPrevented === !0) return;
5050
+ if (_ !== void 0) {
5051
+ if (_.defaultPrevented === !0) return;
5052
5052
  const F = document.activeElement;
5053
5053
  if (i.type === "submit" && F !== document.body && f.value.contains(F) === !1 && F.contains(f.value) === !1) {
5054
- P.qAvoidFocus !== !0 && f.value.focus();
5054
+ _.qAvoidFocus !== !0 && f.value.focus();
5055
5055
  const Y = () => {
5056
5056
  var M;
5057
5057
  document.removeEventListener("keydown", ct, !0), document.removeEventListener("keyup", Y, bi), (M = f.value) == null || M.removeEventListener("blur", Y, bi);
@@ -5059,57 +5059,57 @@ const It = Je({
5059
5059
  document.addEventListener("keydown", ct, !0), document.addEventListener("keyup", Y, bi), f.value.addEventListener("blur", Y, bi);
5060
5060
  }
5061
5061
  }
5062
- c(P);
5062
+ c(_);
5063
5063
  }
5064
5064
  }
5065
- function H(P) {
5066
- f.value !== null && (t("keydown", P), cn(P, [13, 32]) === !0 && gr !== f.value && (gr !== null && R(), P.defaultPrevented !== !0 && (P.qAvoidFocus !== !0 && f.value.focus(), gr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("keyup", D, !0), f.value.addEventListener("blur", D, bi)), ct(P)));
5065
+ function N(_) {
5066
+ f.value !== null && (t("keydown", _), cn(_, [13, 32]) === !0 && gr !== f.value && (gr !== null && E(), _.defaultPrevented !== !0 && (_.qAvoidFocus !== !0 && f.value.focus(), gr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("keyup", D, !0), f.value.addEventListener("blur", D, bi)), ct(_)));
5067
5067
  }
5068
- function V(P) {
5069
- f.value !== null && (t("touchstart", P), P.defaultPrevented !== !0 && (mr !== f.value && (mr !== null && R(), mr = f.value, m = P.target, m.addEventListener("touchcancel", D, bi), m.addEventListener("touchend", D, bi)), p = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
5068
+ function V(_) {
5069
+ f.value !== null && (t("touchstart", _), _.defaultPrevented !== !0 && (mr !== f.value && (mr !== null && E(), mr = f.value, m = _.target, m.addEventListener("touchcancel", D, bi), m.addEventListener("touchend", D, bi)), p = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
5070
5070
  g = null, p = !1;
5071
5071
  }, 200)));
5072
5072
  }
5073
- function B(P) {
5074
- f.value !== null && (P.qSkipRipple = p === !0, t("mousedown", P), P.defaultPrevented !== !0 && pr !== f.value && (pr !== null && R(), pr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("mouseup", D, bi)));
5073
+ function R(_) {
5074
+ f.value !== null && (_.qSkipRipple = p === !0, t("mousedown", _), _.defaultPrevented !== !0 && pr !== f.value && (pr !== null && E(), pr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("mouseup", D, bi)));
5075
5075
  }
5076
- function D(P) {
5077
- if (f.value !== null && !((P == null ? void 0 : P.type) === "blur" && document.activeElement === f.value)) {
5078
- if ((P == null ? void 0 : P.type) === "keyup") {
5079
- if (gr === f.value && cn(P, [13, 32]) === !0) {
5080
- const F = new MouseEvent("click", P);
5081
- F.qKeyEvent = !0, P.defaultPrevented === !0 && ei(F), P.cancelBubble === !0 && di(F), f.value.dispatchEvent(F), ct(P), P.qKeyEvent = !0;
5076
+ function D(_) {
5077
+ if (f.value !== null && !((_ == null ? void 0 : _.type) === "blur" && document.activeElement === f.value)) {
5078
+ if ((_ == null ? void 0 : _.type) === "keyup") {
5079
+ if (gr === f.value && cn(_, [13, 32]) === !0) {
5080
+ const F = new MouseEvent("click", _);
5081
+ F.qKeyEvent = !0, _.defaultPrevented === !0 && ei(F), _.cancelBubble === !0 && di(F), f.value.dispatchEvent(F), ct(_), _.qKeyEvent = !0;
5082
5082
  }
5083
- t("keyup", P);
5083
+ t("keyup", _);
5084
5084
  }
5085
- R();
5085
+ E();
5086
5086
  }
5087
5087
  }
5088
- function R(P) {
5088
+ function E(_) {
5089
5089
  var Y, M;
5090
5090
  const F = d.value;
5091
- P !== !0 && (mr === f.value || pr === f.value) && F !== null && F !== document.activeElement && (F.setAttribute("tabindex", -1), F.focus()), mr === f.value && (m !== null && (m.removeEventListener("touchcancel", D, bi), m.removeEventListener("touchend", D, bi)), mr = m = null), pr === f.value && (document.removeEventListener("mouseup", D, bi), pr = null), gr === f.value && (document.removeEventListener("keyup", D, !0), (Y = f.value) == null || Y.removeEventListener("blur", D, bi), gr = null), (M = f.value) == null || M.classList.remove("q-btn--active");
5091
+ _ !== !0 && (mr === f.value || pr === f.value) && F !== null && F !== document.activeElement && (F.setAttribute("tabindex", -1), F.focus()), mr === f.value && (m !== null && (m.removeEventListener("touchcancel", D, bi), m.removeEventListener("touchend", D, bi)), mr = m = null), pr === f.value && (document.removeEventListener("mouseup", D, bi), pr = null), gr === f.value && (document.removeEventListener("keyup", D, !0), (Y = f.value) == null || Y.removeEventListener("blur", D, bi), gr = null), (M = f.value) == null || M.classList.remove("q-btn--active");
5092
5092
  }
5093
- function O(P) {
5094
- ct(P), P.qSkipRipple = !0;
5093
+ function O(_) {
5094
+ ct(_), _.qSkipRipple = !0;
5095
5095
  }
5096
5096
  return ht(() => {
5097
- R(!0);
5097
+ E(!0);
5098
5098
  }), Object.assign(n, {
5099
- click: (P) => {
5100
- h.value === !0 && T(P);
5099
+ click: (_) => {
5100
+ h.value === !0 && T(_);
5101
5101
  }
5102
5102
  }), () => {
5103
- let P = [];
5104
- i.icon !== void 0 && P.push(
5103
+ let _ = [];
5104
+ i.icon !== void 0 && _.push(
5105
5105
  A(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 && P.push(
5110
+ ), y.value === !0 && _.push(
5111
5111
  A("span", { class: "block" }, [i.label])
5112
- ), P = wn(e.default, P), i.iconRight !== void 0 && i.round === !1 && P.push(
5112
+ ), _ = wn(e.default, _), i.iconRight !== void 0 && i.round === !1 && _.push(
5113
5113
  A(kt, {
5114
5114
  name: i.iconRight,
5115
5115
  right: i.stack !== !0 && y.value === !0,
@@ -5134,7 +5134,7 @@ const It = Je({
5134
5134
  ), F.push(
5135
5135
  A("span", {
5136
5136
  class: "q-btn__content text-center col items-center q-anchor--skip " + s.value
5137
- }, P)
5137
+ }, _)
5138
5138
  ), i.loading !== null && F.push(
5139
5139
  A(mi, {
5140
5140
  name: "q-transition--fade"
@@ -5147,7 +5147,7 @@ const It = Je({
5147
5147
  ), Ln(
5148
5148
  A(
5149
5149
  u.value,
5150
- E.value,
5150
+ P.value,
5151
5151
  F
5152
5152
  ),
5153
5153
  [[
@@ -6038,10 +6038,10 @@ const dg = Je({
6038
6038
  setup(i, { slots: e, emit: t }) {
6039
6039
  const { proxy: n } = je(), { $q: r } = n, o = Zi(i, r), { getCache: s } = t1(), { tabindex: l, headerClass: a, getLocale: u, getCurrentDate: c } = lg(i, r);
6040
6040
  let h;
6041
- const f = qm(i), d = gc(f), m = J(null), p = J(Xe()), g = J(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = J(Q(p.value, g.value)), C = J(i.defaultView), E = b(() => r.lang.rtl === !0 ? "right" : "left"), T = J(E.value), H = J(E.value), V = x.value.year, B = J(V - V % tn - (V < 0 ? tn : 0)), D = J(null), R = b(() => {
6041
+ const f = qm(i), d = gc(f), m = J(null), p = J(Xe()), g = J(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = J(Q(p.value, g.value)), C = J(i.defaultView), P = b(() => r.lang.rtl === !0 ? "right" : "left"), T = J(P.value), N = J(P.value), V = x.value.year, R = J(V - V % tn - (V < 0 ? tn : 0)), D = J(null), E = b(() => {
6042
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
- }), O = b(() => i.color || "primary"), P = b(() => i.textColor || "white"), F = b(
6044
+ }), O = b(() => i.color || "primary"), _ = b(() => i.textColor || "white"), F = b(
6045
6045
  () => i.emitImmediately === !0 && i.multiple !== !0 && i.range !== !0
6046
6046
  ), Y = b(() => Array.isArray(i.modelValue) === !0 ? i.modelValue : i.modelValue !== null && i.modelValue !== void 0 ? [i.modelValue] : []), M = b(
6047
6047
  () => Y.value.filter((S) => typeof S == "string").map((S) => ut(S, p.value, g.value)).filter(
@@ -6088,13 +6088,13 @@ const dg = Je({
6088
6088
  return `${I.value} ${g.value.pluralDay}`;
6089
6089
  const S = M.value[0], L = z.value(S);
6090
6090
  return isNaN(L.valueOf()) === !0 ? yr : g.value.headerTitle !== void 0 ? g.value.headerTitle(L, S) : g.value.daysShort[L.getDay()] + ", " + g.value.monthsShort[S.month - 1] + " " + S.day;
6091
- }), N = b(() => M.value.concat(q.value.map((L) => L.from)).sort((L, W) => L.year - W.year || L.month - W.month)[0]), U = b(() => M.value.concat(q.value.map((L) => L.to)).sort((L, W) => W.year - L.year || W.month - L.month)[0]), G = b(() => {
6091
+ }), H = b(() => M.value.concat(q.value.map((L) => L.from)).sort((L, W) => L.year - W.year || L.month - W.month)[0]), U = b(() => M.value.concat(q.value.map((L) => L.to)).sort((L, W) => W.year - L.year || W.month - L.month)[0]), G = b(() => {
6092
6092
  if (i.subtitle !== void 0 && i.subtitle !== null && i.subtitle.length !== 0)
6093
6093
  return i.subtitle;
6094
6094
  if (I.value === 0)
6095
6095
  return yr;
6096
6096
  if (I.value > 1) {
6097
- const S = N.value, L = U.value, W = g.value.monthsShort;
6097
+ const S = H.value, L = U.value, W = g.value.monthsShort;
6098
6098
  return W[S.month - 1] + (S.year !== L.year ? " " + S.year + yr + W[L.month - 1] + " " : S.month !== L.month ? yr + W[L.month - 1] : "") + " " + L.year;
6099
6099
  }
6100
6100
  return M.value[0].year;
@@ -6212,7 +6212,7 @@ const dg = Je({
6212
6212
  unelevated: !0,
6213
6213
  flat: !1,
6214
6214
  color: O.value,
6215
- textColor: P.value
6215
+ textColor: _.value
6216
6216
  });
6217
6217
  }), Gt.value[dt.value] !== void 0 && Gt.value[dt.value].forEach((pe) => {
6218
6218
  if (pe.from !== void 0) {
@@ -6222,7 +6222,7 @@ const dg = Je({
6222
6222
  range: pe.range,
6223
6223
  unelevated: !0,
6224
6224
  color: O.value,
6225
- textColor: P.value
6225
+ textColor: _.value
6226
6226
  });
6227
6227
  Object.assign(S[Se], {
6228
6228
  rangeFrom: !0,
@@ -6238,7 +6238,7 @@ const dg = Je({
6238
6238
  range: pe.range,
6239
6239
  unelevated: !0,
6240
6240
  color: O.value,
6241
- textColor: P.value
6241
+ textColor: _.value
6242
6242
  });
6243
6243
  Object.assign(S[Se], {
6244
6244
  flat: !1,
@@ -6251,7 +6251,7 @@ const dg = Je({
6251
6251
  range: pe.range,
6252
6252
  unelevated: !0,
6253
6253
  color: O.value,
6254
- textColor: P.value
6254
+ textColor: _.value
6255
6255
  });
6256
6256
  }
6257
6257
  }), Bt.value !== void 0) {
@@ -6400,8 +6400,8 @@ const dg = Je({
6400
6400
  Object.assign(x.value, { hour: fe, minute: Te, second: pe, millisecond: Se, timezoneOffset: Ve, timeHash: yi });
6401
6401
  }
6402
6402
  const se = S + "/" + Fe(L) + "/01";
6403
- se !== x.value.dateHash && (T.value = x.value.dateHash < se == (r.lang.rtl !== !0) ? "left" : "right", S !== x.value.year && (H.value = T.value), rt(() => {
6404
- B.value = S - S % tn - (S < 0 ? tn : 0), Object.assign(x.value, {
6403
+ se !== x.value.dateHash && (T.value = x.value.dateHash < se == (r.lang.rtl !== !0) ? "left" : "right", S !== x.value.year && (N.value = T.value), rt(() => {
6404
+ R.value = S - S % tn - (S < 0 ? tn : 0), Object.assign(x.value, {
6405
6405
  year: S,
6406
6406
  month: L,
6407
6407
  day: 1,
@@ -6603,7 +6603,7 @@ const dg = Je({
6603
6603
  label: x.value.year,
6604
6604
  type: "Years",
6605
6605
  key: x.value.year,
6606
- dir: H.value,
6606
+ dir: N.value,
6607
6607
  goTo: Ce,
6608
6608
  boundaries: wt.value.year,
6609
6609
  cls: ""
@@ -6658,7 +6658,7 @@ const dg = Je({
6658
6658
  label: se,
6659
6659
  unelevated: Te,
6660
6660
  color: Te === !0 ? O.value : null,
6661
- textColor: Te === !0 ? P.value : null,
6661
+ textColor: Te === !0 ? _.value : null,
6662
6662
  tabindex: l.value,
6663
6663
  disable: L(fe + 1),
6664
6664
  ...s("month#" + fe, { onClick: () => {
@@ -6673,7 +6673,7 @@ const dg = Je({
6673
6673
  label: x.value.year,
6674
6674
  type: "Years",
6675
6675
  key: x.value.year,
6676
- dir: H.value,
6676
+ dir: N.value,
6677
6677
  goTo: Ce,
6678
6678
  boundaries: wt.value.year,
6679
6679
  cls: " col"
@@ -6685,7 +6685,7 @@ const dg = Je({
6685
6685
  }, W);
6686
6686
  },
6687
6687
  Years() {
6688
- const S = B.value, L = S + tn, W = [], se = (fe) => Ie.value !== null && Ie.value.year > fe || Qe.value !== null && Qe.value.year < fe;
6688
+ const S = R.value, L = S + tn, W = [], se = (fe) => Ie.value !== null && Ie.value.year > fe || Qe.value !== null && Qe.value.year < fe;
6689
6689
  for (let fe = S; fe <= L; fe++) {
6690
6690
  const Te = x.value.year === fe;
6691
6691
  W.push(
@@ -6700,7 +6700,7 @@ const dg = Je({
6700
6700
  dense: !0,
6701
6701
  unelevated: Te,
6702
6702
  color: Te === !0 ? O.value : null,
6703
- textColor: Te === !0 ? P.value : null,
6703
+ textColor: Te === !0 ? _.value : null,
6704
6704
  tabindex: l.value,
6705
6705
  disable: se(fe),
6706
6706
  ...s("yr#" + fe, { onClick: () => {
@@ -6725,7 +6725,7 @@ const dg = Je({
6725
6725
  tabindex: l.value,
6726
6726
  disable: se(S),
6727
6727
  ...s("y-", { onClick: () => {
6728
- B.value -= tn;
6728
+ R.value -= tn;
6729
6729
  } })
6730
6730
  })
6731
6731
  ]),
@@ -6744,7 +6744,7 @@ const dg = Je({
6744
6744
  tabindex: l.value,
6745
6745
  disable: se(L),
6746
6746
  ...s("y+", { onClick: () => {
6747
- B.value += tn;
6747
+ R.value += tn;
6748
6748
  } })
6749
6749
  })
6750
6750
  ])
@@ -6810,7 +6810,7 @@ const dg = Je({
6810
6810
  return L !== void 0 && S.push(
6811
6811
  A("div", { class: "q-date__actions" }, L)
6812
6812
  ), i.name !== void 0 && i.disable !== !0 && d(S, "push"), A("div", {
6813
- class: R.value,
6813
+ class: E.value,
6814
6814
  ...X.value
6815
6815
  }, [
6816
6816
  Nn(),
@@ -7190,27 +7190,27 @@ const mg = Je({
7190
7190
  // initial locale
7191
7191
  i.calendar,
7192
7192
  y.value
7193
- ), v = J(x1(k)), x = J(k), C = J(k.hour === null || k.hour < 12), E = b(
7193
+ ), v = J(x1(k)), x = J(k), C = J(k.hour === null || k.hour < 12), P = b(
7194
7194
  () => `q-time q-time--${i.landscape === !0 ? "landscape" : "portrait"}` + (o.value === !0 ? " q-time--dark q-dark" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-time--readonly" : "") + (i.bordered === !0 ? " q-time--bordered" : "") + (i.square === !0 ? " q-time--square no-border-radius" : "") + (i.flat === !0 ? " q-time--flat no-shadow" : "")
7195
7195
  ), T = b(() => {
7196
7196
  const Q = x.value;
7197
7197
  return {
7198
- hour: Q.hour === null ? "--" : H.value === !0 ? Fe(Q.hour) : String(
7198
+ hour: Q.hour === null ? "--" : N.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
- }), H = b(() => i.format24h !== null ? i.format24h : r.lang.date.format24h), V = b(() => {
7204
+ }), N = b(() => i.format24h !== null ? i.format24h : r.lang.date.format24h), V = b(() => {
7205
7205
  const Q = v.value === "hour", $ = Q === !0 ? 12 : 60, xe = x.value[v.value];
7206
7206
  let Re = `rotate(${Math.round(xe * (360 / $)) - 180}deg) translateX(-50%)`;
7207
- return Q === !0 && H.value === !0 && x.value.hour >= 12 && (Re += " scale(.7)"), { transform: Re };
7208
- }), B = b(() => x.value.hour !== null), D = 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), O = b(() => i.minuteOptions !== void 0 ? (Q) => i.minuteOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, Q, null) : null), P = 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), F = b(() => {
7209
- if (R.value === null)
7207
+ return Q === !0 && N.value === !0 && x.value.hour >= 12 && (Re += " scale(.7)"), { transform: Re };
7208
+ }), R = b(() => x.value.hour !== null), D = b(() => R.value === !0 && x.value.minute !== null), E = b(() => i.hourOptions !== void 0 ? (Q) => i.hourOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(Q, null, null) : null), O = b(() => i.minuteOptions !== void 0 ? (Q) => i.minuteOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, Q, null) : null), _ = 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), F = b(() => {
7209
+ if (E.value === null)
7210
7210
  return null;
7211
- const Q = w(0, 11, R.value), $ = w(12, 11, R.value);
7211
+ const Q = w(0, 11, E.value), $ = w(12, 11, E.value);
7212
7212
  return { am: Q, pm: $, values: Q.values.concat($.values) };
7213
- }), Y = b(() => O.value !== null ? w(0, 59, O.value) : null), M = b(() => P.value !== null ? w(0, 59, P.value) : null), q = b(() => {
7213
+ }), Y = b(() => O.value !== null ? w(0, 59, O.value) : null), M = b(() => _.value !== null ? w(0, 59, _.value) : null), q = b(() => {
7214
7214
  switch (v.value) {
7215
7215
  case "hour":
7216
7216
  return F.value;
@@ -7222,10 +7222,10 @@ const mg = Je({
7222
7222
  }), z = b(() => {
7223
7223
  let Q, $, xe = 0, Ce = 1;
7224
7224
  const Re = q.value !== null ? q.value.values : void 0;
7225
- v.value === "hour" ? H.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, C.value === !1 && (xe = 12)) : (Q = 0, $ = 55, Ce = 5);
7225
+ v.value === "hour" ? N.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, C.value === !1 && (xe = 12)) : (Q = 0, $ = 55, Ce = 5);
7226
7226
  const Ht = [];
7227
7227
  for (let De = Q, tt = Q; De <= $; De += Ce, tt++) {
7228
- const Rt = De + xe, Vn = (Re == null ? void 0 : Re.includes(Rt)) === !1, gn = v.value === "hour" && De === 0 ? H.value === !0 ? "00" : "12" : De;
7228
+ const Rt = De + xe, Vn = (Re == null ? void 0 : Re.includes(Rt)) === !1, gn = v.value === "hour" && De === 0 ? N.value === !0 ? "00" : "12" : De;
7229
7229
  Ht.push({ val: Rt, index: tt, disable: Vn, label: gn });
7230
7230
  }
7231
7231
  return Ht;
@@ -7276,7 +7276,7 @@ const mg = Je({
7276
7276
  threshold: $ + 1
7277
7277
  };
7278
7278
  }
7279
- function N(Q, $, xe) {
7279
+ function H(Q, $, xe) {
7280
7280
  const Ce = Math.abs(Q - $);
7281
7281
  return Math.min(Ce, xe - Ce);
7282
7282
  }
@@ -7284,7 +7284,7 @@ const mg = Je({
7284
7284
  if (Q === $)
7285
7285
  return $;
7286
7286
  if (Q < $ || Q > xe)
7287
- return N(Q, $, Re) <= N(Q, xe, Re) ? $ : xe;
7287
+ return H(Q, $, Re) <= H(Q, xe, Re) ? $ : xe;
7288
7288
  const Ht = Ce.findIndex((Rt) => Q <= Rt), De = Ce[Ht - 1], tt = Ce[Ht];
7289
7289
  return Q - De <= tt - Q ? De : tt;
7290
7290
  }
@@ -7299,7 +7299,7 @@ const mg = Je({
7299
7299
  return so(i.defaultDate, "YYYY/MM/DD", void 0, i.calendar);
7300
7300
  }
7301
7301
  function le() {
7302
- return vc(n) === !0 || q.value !== null && (q.value.values.length === 0 || v.value === "hour" && H.value !== !0 && F.value[C.value === !0 ? "am" : "pm"].values.length === 0);
7302
+ return vc(n) === !0 || q.value !== null && (q.value.values.length === 0 || v.value === "hour" && N.value !== !0 && F.value[C.value === !0 ? "am" : "pm"].values.length === 0);
7303
7303
  }
7304
7304
  function Be() {
7305
7305
  const Q = m.value, { top: $, left: xe, width: Ce } = Q.getBoundingClientRect(), Re = Ce / 2;
@@ -7328,14 +7328,14 @@ const mg = Je({
7328
7328
  let De, tt = Math.asin(Re / Ht) * (180 / Math.PI);
7329
7329
  if (Ce.top < $.top ? tt = $.left < Ce.left ? 90 - tt : 270 + tt : tt = $.left < Ce.left ? tt + 90 : 270 - tt, v.value === "hour") {
7330
7330
  if (De = tt / 30, F.value !== null) {
7331
- const Rt = H.value !== !0 ? C.value === !0 : F.value.am.values.length !== 0 && F.value.pm.values.length !== 0 ? Ht >= $.dist : F.value.am.values.length !== 0;
7331
+ const Rt = N.value !== !0 ? C.value === !0 : F.value.am.values.length !== 0 && F.value.pm.values.length !== 0 ? Ht >= $.dist : F.value.am.values.length !== 0;
7332
7332
  De = U(
7333
7333
  De + (Rt === !0 ? 0 : 12),
7334
7334
  F.value[Rt === !0 ? "am" : "pm"]
7335
7335
  );
7336
7336
  } else
7337
- De = Math.round(De), H.value === !0 ? Ht < $.dist ? De < 12 && (De += 12) : De === 12 && (De = 0) : C.value === !0 && De === 12 ? De = 0 : C.value === !1 && De !== 12 && (De += 12);
7338
- H.value === !0 && (C.value = De < 12);
7337
+ De = Math.round(De), N.value === !0 ? Ht < $.dist ? De < 12 && (De += 12) : De === 12 && (De = 0) : C.value === !0 && De === 12 ? De = 0 : C.value === !1 && De !== 12 && (De += 12);
7338
+ N.value === !0 && (C.value = De < 12);
7339
7339
  } else
7340
7340
  De = Math.round(tt / 6) % 60, v.value === "minute" && Y.value !== null ? De = U(De, Y.value) : v.value === "second" && M.value !== null && (De = U(De, M.value));
7341
7341
  return xe !== De && ye[v.value](De), De;
@@ -7369,7 +7369,7 @@ const mg = Je({
7369
7369
  else if ([37, 39].includes(Q.keyCode)) {
7370
7370
  const $ = Q.keyCode === 37 ? -1 : 1;
7371
7371
  if (F.value !== null) {
7372
- const xe = H.value === !0 ? F.value.values : F.value[C.value === !0 ? "am" : "pm"].values;
7372
+ const xe = N.value === !0 ? F.value.values : F.value[C.value === !0 ? "am" : "pm"].values;
7373
7373
  if (xe.length === 0) return;
7374
7374
  if (x.value.hour === null)
7375
7375
  Jt(xe[0]);
@@ -7378,7 +7378,7 @@ const mg = Je({
7378
7378
  Jt(xe[Ce]);
7379
7379
  }
7380
7380
  } else {
7381
- const xe = H.value === !0 ? 24 : 12, Ce = H.value !== !0 && C.value === !1 ? 12 : 0, Re = x.value.hour === null ? -$ : x.value.hour;
7381
+ const xe = N.value === !0 ? 24 : 12, Ce = N.value !== !0 && C.value === !1 ? 12 : 0, Re = x.value.hour === null ? -$ : x.value.hour;
7382
7382
  Jt(Ce + (24 + Re + $) % xe);
7383
7383
  }
7384
7384
  }
@@ -7448,7 +7448,7 @@ const mg = Je({
7448
7448
  v.value !== Q && $ !== void 0 && $ !== null && $ !== "" && typeof $ != "string" && (v.value = Q);
7449
7449
  }
7450
7450
  function Oe() {
7451
- if (R.value !== null && R.value(x.value.hour) !== !0) {
7451
+ if (E.value !== null && E.value(x.value.hour) !== !0) {
7452
7452
  x.value = so(), ze("hour");
7453
7453
  return;
7454
7454
  }
@@ -7456,7 +7456,7 @@ const mg = Je({
7456
7456
  x.value.minute = null, x.value.second = null, ze("minute");
7457
7457
  return;
7458
7458
  }
7459
- if (i.withSeconds === !0 && P.value !== null && P.value(x.value.second) !== !0) {
7459
+ if (i.withSeconds === !0 && _.value !== null && _.value(x.value.second) !== !0) {
7460
7460
  x.value.second = null, ze("second");
7461
7461
  return;
7462
7462
  }
@@ -7491,7 +7491,7 @@ const mg = Je({
7491
7491
  A("div", ":"),
7492
7492
  A(
7493
7493
  "div",
7494
- B.value === !0 ? {
7494
+ R.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: vi,
@@ -7519,7 +7519,7 @@ const mg = Je({
7519
7519
  dir: "ltr"
7520
7520
  }, Q)
7521
7521
  ];
7522
- return H.value === !1 && $.push(
7522
+ return N.value === !1 && $.push(
7523
7523
  A("div", {
7524
7524
  class: "q-time__header-ampm column items-between no-wrap"
7525
7525
  }, [
@@ -7593,7 +7593,7 @@ const mg = Je({
7593
7593
  return $ !== void 0 && Q.push(
7594
7594
  A("div", { class: "q-time__actions" }, $)
7595
7595
  ), i.name !== void 0 && i.disable !== !0 && h(Q, "push"), A("div", {
7596
- class: E.value,
7596
+ class: P.value,
7597
7597
  tabindex: -1
7598
7598
  }, [
7599
7599
  Xe(),
@@ -7834,14 +7834,14 @@ const rf = /* @__PURE__ */ Kt(w1, [["render", C1], ["__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 E = String(k.getHours()).padStart(2, "0"), T = String(k.getMinutes()).padStart(2, "0");
7838
- n.value = `${v}-${x}-${C} ${E}:${T}`;
7837
+ const P = String(k.getHours()).padStart(2, "0"), T = String(k.getMinutes()).padStart(2, "0");
7838
+ n.value = `${v}-${x}-${C} ${P}:${T}`;
7839
7839
  } else {
7840
- let E = k.getHours();
7841
- const T = E >= 12 ? "PM" : "AM";
7842
- E = E % 12 || 12;
7843
- const H = String(k.getMinutes()).padStart(2, "0");
7844
- n.value = `${v}-${x}-${C} ${E}:${H} ${T}`;
7840
+ let P = k.getHours();
7841
+ const T = P >= 12 ? "PM" : "AM";
7842
+ P = P % 12 || 12;
7843
+ const N = String(k.getMinutes()).padStart(2, "0");
7844
+ n.value = `${v}-${x}-${C} ${P}:${N} ${T}`;
7845
7845
  }
7846
7846
  }, get QInput() {
7847
7847
  return cr;
@@ -8108,20 +8108,20 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8108
8108
  ve(() => i.group, (M) => {
8109
8109
  f == null || f(), M !== void 0 && D();
8110
8110
  });
8111
- function E(M) {
8111
+ function P(M) {
8112
8112
  p.value !== !0 && c(M), t("click", M);
8113
8113
  }
8114
8114
  function T(M) {
8115
- M.keyCode === 13 && H(M, !0);
8115
+ M.keyCode === 13 && N(M, !0);
8116
8116
  }
8117
- function H(M, q) {
8117
+ function N(M, q) {
8118
8118
  var z;
8119
8119
  q !== !0 && M.qAvoidFocus !== !0 && ((z = s.value) == null || z.focus()), c(M), ct(M);
8120
8120
  }
8121
8121
  function V() {
8122
8122
  t("afterShow");
8123
8123
  }
8124
- function B() {
8124
+ function R() {
8125
8125
  t("afterHide");
8126
8126
  }
8127
8127
  function D() {
@@ -8138,7 +8138,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8138
8138
  M(), q(), zn[i.group] === h && delete zn[i.group], f = void 0;
8139
8139
  };
8140
8140
  }
8141
- function R() {
8141
+ function E() {
8142
8142
  const M = {
8143
8143
  class: [
8144
8144
  `q-focusable relative-position cursor-pointer${i.denseToggle === !0 && i.switchToggleSide === !0 ? " items-end" : ""}`,
@@ -8155,7 +8155,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8155
8155
  return v.value === !0 && (Object.assign(M, {
8156
8156
  tabindex: 0,
8157
8157
  ...C.value,
8158
- onClick: H,
8158
+ onClick: N,
8159
8159
  onKeyup: T
8160
8160
  }), q.unshift(
8161
8161
  A("div", {
@@ -8178,10 +8178,10 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8178
8178
  avatar: i.switchToggleSide !== !0
8179
8179
  }, () => A(kt, { name: i.icon }))
8180
8180
  )), i.disable !== !0 && i.hideExpandIcon !== !0 && M[i.switchToggleSide === !0 ? "unshift" : "push"](
8181
- R()
8181
+ E()
8182
8182
  ), M;
8183
8183
  }
8184
- function P() {
8184
+ function _() {
8185
8185
  const M = {
8186
8186
  ref: "item",
8187
8187
  style: i.headerStyle,
@@ -8191,7 +8191,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8191
8191
  dense: i.dense,
8192
8192
  insetLevel: i.headerInsetLevel
8193
8193
  };
8194
- return y.value === !0 && (M.clickable = !0, M.onClick = E, Object.assign(
8194
+ return y.value === !0 && (M.clickable = !0, M.onClick = P, Object.assign(
8195
8195
  M,
8196
8196
  p.value === !0 ? g.value : C.value
8197
8197
  )), A(el, M, O);
@@ -8212,11 +8212,11 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8212
8212
  }
8213
8213
  function Y() {
8214
8214
  const M = [
8215
- P(),
8215
+ _(),
8216
8216
  A(q1, {
8217
8217
  duration: i.duration,
8218
8218
  onShow: V,
8219
- onHide: B
8219
+ onHide: R
8220
8220
  }, F)
8221
8221
  ];
8222
8222
  return i.expandSeparator === !0 && M.push(
@@ -8285,9 +8285,19 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8285
8285
  }), p = b(() => {
8286
8286
  if (!t.schema.properties) return [];
8287
8287
  const y = t.schema["x-field-order"];
8288
- return (y && Array.isArray(y) && y.length > 0 ? y : Object.keys(t.schema.properties)).filter((v) => v in t.schema.properties).map((v) => ({
8288
+ if (y && Array.isArray(y) && y.length > 0)
8289
+ return y.filter((v) => v in t.schema.properties).map((v) => ({
8290
+ key: v,
8291
+ schema: t.schema.properties[v],
8292
+ path: t.path ? `${t.path}.${v}` : v
8293
+ }));
8294
+ const k = Object.entries(t.schema.properties);
8295
+ return k.sort(([v, x], [C, P]) => {
8296
+ const T = (x == null ? void 0 : x["x-field-order"]) ?? 999, N = (P == null ? void 0 : P["x-field-order"]) ?? 999;
8297
+ return T !== N ? T - N : v.localeCompare(C);
8298
+ }), k.map(([v, x]) => ({
8289
8299
  key: v,
8290
- schema: t.schema.properties[v],
8300
+ schema: x,
8291
8301
  path: t.path ? `${t.path}.${v}` : v
8292
8302
  }));
8293
8303
  }), g = { props: t, label: n, hint: r, errorMessage: o, required: s, fieldId: l, fieldGap: a, formContext: u, defaultOpened: c, showOptionalIndicator: h, sectionStyle: f, sectionStyleClass: d, quasarProps: m, properties: p, get QExpansionItem() {
@@ -8432,18 +8442,18 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8432
8442
  ],
8433
8443
  setup(i, { slots: e, emit: t, attrs: n }) {
8434
8444
  let r, o;
8435
- const s = je(), { proxy: { $q: l } } = s, a = J(null), u = J(!1), c = b(() => ll(i.anchor, l.lang.rtl)), h = b(() => ll(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Tr(), { registerTimeout: p } = Mo(), { transitionProps: g, transitionStyle: y } = kc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = zm(i, ne), { anchorEl: C, canShow: E, anchorEvents: T } = bc({ showing: u, configureAnchorEl: z }), { show: H, hide: V } = jl({
8445
+ const s = je(), { proxy: { $q: l } } = s, a = J(null), u = J(!1), c = b(() => ll(i.anchor, l.lang.rtl)), h = b(() => ll(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Tr(), { registerTimeout: p } = Mo(), { transitionProps: g, transitionStyle: y } = kc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = zm(i, ne), { anchorEl: C, canShow: P, anchorEvents: T } = bc({ showing: u, configureAnchorEl: z }), { show: N, hide: V } = jl({
8436
8446
  showing: u,
8437
- canShow: E,
8447
+ canShow: P,
8438
8448
  handleShow: O,
8439
- handleHide: P,
8449
+ handleHide: _,
8440
8450
  hideOnRouteChange: f,
8441
8451
  processOnMount: !0
8442
8452
  });
8443
8453
  Object.assign(T, { delayShow: M, delayHide: q });
8444
- const { showPortal: B, hidePortal: D, renderPortal: R } = xc(s, a, w, "tooltip");
8454
+ const { showPortal: R, hidePortal: D, renderPortal: E } = xc(s, a, w, "tooltip");
8445
8455
  if (l.platform.is.mobile === !0) {
8446
- const N = {
8456
+ const H = {
8447
8457
  anchorEl: C,
8448
8458
  innerRef: a,
8449
8459
  onClickOutside(G) {
@@ -8457,24 +8467,24 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8457
8467
  )
8458
8468
  );
8459
8469
  ve(U, (G) => {
8460
- (G === !0 ? Jm : ol)(N);
8470
+ (G === !0 ? Jm : ol)(H);
8461
8471
  }), ht(() => {
8462
- ol(N);
8472
+ ol(H);
8463
8473
  });
8464
8474
  }
8465
- function O(N) {
8466
- B(), d(() => {
8475
+ function O(H) {
8476
+ R(), d(() => {
8467
8477
  o = new MutationObserver(() => Y()), o.observe(a.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), Y(), ne();
8468
8478
  }), r === void 0 && (r = ve(
8469
8479
  () => l.screen.width + "|" + l.screen.height + "|" + i.self + "|" + i.anchor + "|" + l.lang.rtl,
8470
8480
  Y
8471
8481
  )), p(() => {
8472
- B(!0), t("show", N);
8482
+ R(!0), t("show", H);
8473
8483
  }, i.transitionDuration);
8474
8484
  }
8475
- function P(N) {
8485
+ function _(H) {
8476
8486
  m(), D(), F(), p(() => {
8477
- D(!0), t("hide", N);
8487
+ D(!0), t("hide", H);
8478
8488
  }, i.transitionDuration);
8479
8489
  }
8480
8490
  function F() {
@@ -8491,38 +8501,38 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8491
8501
  maxWidth: i.maxWidth
8492
8502
  });
8493
8503
  }
8494
- function M(N) {
8504
+ function M(H) {
8495
8505
  if (l.platform.is.mobile === !0) {
8496
8506
  tl(), document.body.classList.add("non-selectable");
8497
8507
  const U = C.value, G = ["touchmove", "touchcancel", "touchend", "click"].map((oe) => [U, oe, "delayHide", "passiveCapture"]);
8498
8508
  ln(T, "tooltipTemp", G);
8499
8509
  }
8500
8510
  p(() => {
8501
- H(N);
8511
+ N(H);
8502
8512
  }, i.delay);
8503
8513
  }
8504
- function q(N) {
8514
+ function q(H) {
8505
8515
  l.platform.is.mobile === !0 && (Zn(T, "tooltipTemp"), tl(), setTimeout(() => {
8506
8516
  document.body.classList.remove("non-selectable");
8507
8517
  }, 10)), p(() => {
8508
- V(N);
8518
+ V(H);
8509
8519
  }, i.hideDelay);
8510
8520
  }
8511
8521
  function z() {
8512
8522
  if (i.noParentEvent === !0 || C.value === null) return;
8513
- const N = l.platform.is.mobile === !0 ? [
8523
+ const H = l.platform.is.mobile === !0 ? [
8514
8524
  [C.value, "touchstart", "delayShow", "passive"]
8515
8525
  ] : [
8516
8526
  [C.value, "mouseenter", "delayShow", "passive"],
8517
8527
  [C.value, "mouseleave", "delayHide", "passive"]
8518
8528
  ];
8519
- ln(T, "anchor", N);
8529
+ ln(T, "anchor", H);
8520
8530
  }
8521
8531
  function ne() {
8522
8532
  if (C.value !== null || i.scrollTarget !== void 0) {
8523
8533
  k.value = Qm(C.value, i.scrollTarget);
8524
- const N = i.noParentEvent === !0 ? Y : V;
8525
- v(k.value, N);
8534
+ const H = i.noParentEvent === !0 ? Y : V;
8535
+ v(k.value, H);
8526
8536
  }
8527
8537
  }
8528
8538
  function I() {
@@ -8543,7 +8553,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8543
8553
  function w() {
8544
8554
  return A(mi, g.value, I);
8545
8555
  }
8546
- return ht(F), Object.assign(s.proxy, { updatePosition: Y }), R;
8556
+ return ht(F), Object.assign(s.proxy, { updatePosition: Y }), E;
8547
8557
  }
8548
8558
  }), gg = Je({
8549
8559
  name: "QCardSection",
@@ -8587,15 +8597,15 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8587
8597
  label: t.label,
8588
8598
  componentType: "card"
8589
8599
  }), h = b(() => {
8590
- var R, O;
8600
+ var E, O;
8591
8601
  const V = t.schema["x-section-style"];
8592
8602
  if (V)
8593
8603
  return V;
8594
- const B = (R = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : R.array, D = (O = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : O.object;
8595
- return (B == null ? void 0 : B.sectionStyle) ?? (D == null ? void 0 : D.sectionStyle) ?? "card";
8604
+ const R = (E = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : E.array, D = (O = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : O.object;
8605
+ return (R == null ? void 0 : R.sectionStyle) ?? (D == null ? void 0 : D.sectionStyle) ?? "card";
8596
8606
  }), f = b(() => `quickform-section-${h.value}`), d = b(() => {
8597
8607
  var Y, M;
8598
- const V = ((Y = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : Y.array) || {}, B = t.schema["x-quickforms-quasar"] || {}, D = B.addButtonPosition ?? V.addButtonPosition ?? "bottom-left", R = {
8608
+ const V = ((Y = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : Y.array) || {}, R = t.schema["x-quickforms-quasar"] || {}, D = R.addButtonPosition ?? V.addButtonPosition ?? "bottom-left", E = {
8599
8609
  outline: !0,
8600
8610
  color: "primary",
8601
8611
  icon: "add",
@@ -8607,18 +8617,18 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8607
8617
  size: "sm",
8608
8618
  icon: "close",
8609
8619
  color: "negative"
8610
- }, P = {
8611
- ...R,
8620
+ }, _ = {
8621
+ ...E,
8612
8622
  ...V.addButton || {},
8613
- ...B.addButton || {}
8623
+ ...R.addButton || {}
8614
8624
  }, F = {
8615
8625
  ...O,
8616
8626
  ...V.removeButton || {},
8617
- ...B.removeButton || {}
8627
+ ...R.removeButton || {}
8618
8628
  };
8619
8629
  return {
8620
8630
  addButtonPosition: D,
8621
- addButton: P,
8631
+ addButton: _,
8622
8632
  removeButton: F
8623
8633
  };
8624
8634
  }), m = b(() => {
@@ -8635,29 +8645,29 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8635
8645
  const V = Ns.getDefaultValue(y.value);
8636
8646
  n.value = [...g.value, V];
8637
8647
  }, v = (V) => {
8638
- const B = [...g.value];
8639
- B.splice(V, 1), n.value = B;
8640
- }, x = (V, B) => {
8641
- if (B === "up" && V === 0 || B === "down" && V === g.value.length - 1) return;
8642
- const D = [...g.value], R = B === "up" ? V - 1 : V + 1, O = D[V];
8643
- D[V] = D[R], D[R] = O, n.value = D;
8644
- }, 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)), H = { 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) => {
8645
- var R;
8646
- const B = t.schema["x-item-label"];
8647
- if (B === "none" || B === !1)
8648
+ const R = [...g.value];
8649
+ R.splice(V, 1), n.value = R;
8650
+ }, x = (V, R) => {
8651
+ if (R === "up" && V === 0 || R === "down" && V === g.value.length - 1) return;
8652
+ const D = [...g.value], E = R === "up" ? V - 1 : V + 1, O = D[V];
8653
+ D[V] = D[E], D[E] = O, n.value = D;
8654
+ }, C = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), P = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), N = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: y, addItem: k, removeItem: v, moveItem: x, canAdd: C, canRemove: P, getItemLabel: (V) => {
8655
+ var E;
8656
+ const R = t.schema["x-item-label"];
8657
+ if (R === "none" || R === !1)
8648
8658
  return "";
8649
- if (typeof B == "string" && B.includes("{{")) {
8659
+ if (typeof R == "string" && R.includes("{{")) {
8650
8660
  const O = g.value[V];
8651
8661
  if (typeof O == "object" && O !== null) {
8652
- let P = B, F = !1;
8653
- if (P = P.replace(/\{\{([^}]+)\}\}/g, (Y, M) => {
8662
+ let _ = R, F = !1;
8663
+ if (_ = _.replace(/\{\{([^}]+)\}\}/g, (Y, M) => {
8654
8664
  const q = O[M.trim()];
8655
8665
  return q != null && q !== "" ? (F = !0, String(q)) : "";
8656
- }), P = P.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), F && P.trim())
8657
- return P.trim();
8666
+ }), _ = _.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), F && _.trim())
8667
+ return _.trim();
8658
8668
  }
8659
8669
  }
8660
- return `${((R = y.value) == null ? void 0 : R.title) || "Item"} ${V + 1}`;
8670
+ return `${((E = y.value) == null ? void 0 : E.title) || "Item"} ${V + 1}`;
8661
8671
  }, get QCard() {
8662
8672
  return Oc;
8663
8673
  }, get QCardSection() {
@@ -8667,7 +8677,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", N1], ["__scopeId", "data-v-813eef2
8667
8677
  }, get FieldRenderer() {
8668
8678
  return El;
8669
8679
  } };
8670
- return Object.defineProperty(H, "__isScriptSetup", { enumerable: !1, value: !0 }), H;
8680
+ return Object.defineProperty(N, "__isScriptSetup", { enumerable: !1, value: !0 }), N;
8671
8681
  }
8672
8682
  }), z1 = ["id"], j1 = { class: "quickform-array-header" }, W1 = {
8673
8683
  key: 0,
@@ -8938,7 +8948,7 @@ const rx = /* @__PURE__ */ Pt({
8938
8948
  componentType: "keyvalue"
8939
8949
  }), d = b(() => {
8940
8950
  var q, z;
8941
- const T = ((q = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : q.keyvalue) || {}, H = t.schema["x-quickforms-quasar"] || {}, V = H.addButtonPosition ?? T.addButtonPosition ?? "bottom-left", B = H.showHeaders ?? T.showHeaders ?? !1, D = H.keyLabel ?? T.keyLabel ?? "Key", R = H.valueLabel ?? T.valueLabel ?? "Value", O = t.schema["x-infer-types"] ?? H.inferTypes ?? T.inferTypes ?? !1, P = {
8951
+ const T = ((q = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : q.keyvalue) || {}, N = t.schema["x-quickforms-quasar"] || {}, V = N.addButtonPosition ?? T.addButtonPosition ?? "bottom-left", R = N.showHeaders ?? T.showHeaders ?? !1, D = N.keyLabel ?? T.keyLabel ?? "Key", E = N.valueLabel ?? T.valueLabel ?? "Value", O = t.schema["x-infer-types"] ?? N.inferTypes ?? T.inferTypes ?? !1, _ = {
8942
8952
  outline: !0,
8943
8953
  color: "primary",
8944
8954
  icon: "add",
@@ -8952,21 +8962,21 @@ const rx = /* @__PURE__ */ Pt({
8952
8962
  icon: "close",
8953
8963
  color: "negative"
8954
8964
  }, Y = {
8955
- ...P,
8965
+ ..._,
8956
8966
  ...T.addButton || {},
8957
- ...H.addButton || {}
8967
+ ...N.addButton || {}
8958
8968
  }, M = {
8959
8969
  ...F,
8960
8970
  ...T.removeButton || {},
8961
- ...H.removeButton || {}
8971
+ ...N.removeButton || {}
8962
8972
  };
8963
8973
  return {
8964
8974
  addButtonPosition: V,
8965
8975
  addButton: Y,
8966
8976
  removeButton: M,
8967
- showHeaders: B,
8977
+ showHeaders: R,
8968
8978
  keyLabel: D,
8969
- valueLabel: R,
8979
+ valueLabel: E,
8970
8980
  inferTypes: O
8971
8981
  };
8972
8982
  }), m = b(() => {
@@ -8985,8 +8995,8 @@ const rx = /* @__PURE__ */ Pt({
8985
8995
  v.value = !1;
8986
8996
  return;
8987
8997
  }
8988
- T && typeof T == "object" && !Array.isArray(T) ? k.value = Object.entries(T).map(([H, V]) => ({
8989
- key: H,
8998
+ T && typeof T == "object" && !Array.isArray(T) ? k.value = Object.entries(T).map(([N, V]) => ({
8999
+ key: N,
8990
9000
  value: String(V),
8991
9001
  id: y++
8992
9002
  })) : k.value.length || (k.value = []);
@@ -8995,10 +9005,10 @@ const rx = /* @__PURE__ */ Pt({
8995
9005
  ), ve(
8996
9006
  k,
8997
9007
  (T) => {
8998
- const H = {};
9008
+ const N = {};
8999
9009
  T.forEach((V) => {
9000
- V.key.trim() && (H[V.key] = d.value.inferTypes ? nx(V.value) : V.value);
9001
- }), v.value = !0, r(H);
9010
+ V.key.trim() && (N[V.key] = d.value.inferTypes ? nx(V.value) : V.value);
9011
+ }), v.value = !0, r(N);
9002
9012
  },
9003
9013
  { deep: !0 }
9004
9014
  );
@@ -9006,9 +9016,9 @@ const rx = /* @__PURE__ */ Pt({
9006
9016
  k.value.push({ key: "", value: "", id: y++ });
9007
9017
  }
9008
9018
  function C(T) {
9009
- k.value = k.value.filter((H) => H.id !== T);
9019
+ k.value = k.value.filter((N) => N.id !== T);
9010
9020
  }
9011
- 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() {
9021
+ const P = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, inputProps: c, fieldGap: h, formContext: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, isCenterPosition: g, get nextId() {
9012
9022
  return y;
9013
9023
  }, set nextId(T) {
9014
9024
  y = T;
@@ -9017,7 +9027,7 @@ const rx = /* @__PURE__ */ Pt({
9017
9027
  }, get QBtn() {
9018
9028
  return It;
9019
9029
  } };
9020
- return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
9030
+ return Object.defineProperty(P, "__isScriptSetup", { enumerable: !1, value: !0 }), P;
9021
9031
  }
9022
9032
  }), ox = { class: "text-subtitle2" }, sx = {
9023
9033
  key: 0,
@@ -13972,8 +13982,8 @@ class Of extends Ke {
13972
13982
  if (n && n.range.fromB < h && n.range.toB > c) {
13973
13983
  let x = yo.build(this.view.state.doc, c, n.range.fromB, this.decorations, this.dynamicDecorationMap), C = yo.build(this.view.state.doc, n.range.toB, h, this.decorations, this.dynamicDecorationMap);
13974
13984
  d = x.breakAtStart, m = x.openStart, p = C.openEnd;
13975
- let E = this.compositionView(n);
13976
- 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);
13985
+ let P = this.compositionView(n);
13986
+ C.breakAtStart ? P.breakAfter = 1 : C.content.length && P.merge(P.length, P.length, C.content[0], !1, C.openStart, 0) && (P.breakAfter = C.content[0].breakAfter, C.content.shift()), x.content.length && P.merge(0, 0, x.content[x.content.length - 1], !0, 0, x.openEnd) && x.content.pop(), f = x.content.concat(P).concat(C.content);
13977
13987
  } else
13978
13988
  ({ content: f, breakAtStart: d, openStart: m, openEnd: p } = yo.build(this.view.state.doc, c, h, this.decorations, this.dynamicDecorationMap));
13979
13989
  let { i: g, off: y } = o.findPos(u, 1), { i: k, off: v } = o.findPos(a, -1);
@@ -15932,13 +15942,13 @@ class Uf {
15932
15942
  if ((this.contentDOMWidth != k || this.editorHeight != e.scrollDOM.clientHeight) && (this.contentDOMWidth = l.width, this.editorHeight = e.scrollDOM.clientHeight, u |= 16), a) {
15933
15943
  let x = e.docView.measureVisibleLineHeights(this.viewport);
15934
15944
  if (r.mustRefreshForHeights(x) && (s = !0), s || r.lineWrapping && Math.abs(k - this.contentDOMWidth) > r.charWidth) {
15935
- let { lineHeight: C, charWidth: E, textHeight: T } = e.docView.measureTextSize();
15936
- s = C > 0 && r.refresh(o, C, E, T, Math.max(5, k / E), x), s && (e.docView.minWidth = 0, u |= 16);
15945
+ let { lineHeight: C, charWidth: P, textHeight: T } = e.docView.measureTextSize();
15946
+ s = C > 0 && r.refresh(o, C, P, T, Math.max(5, k / P), x), s && (e.docView.minWidth = 0, u |= 16);
15937
15947
  }
15938
15948
  p > 0 && g > 0 ? c = Math.max(p, g) : p < 0 && g < 0 && (c = Math.min(p, g)), Wf();
15939
15949
  for (let C of this.viewports) {
15940
- let E = C.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(C);
15941
- this.heightMap = (s ? ri.empty().applyChanges(this.stateDeco, Ne.empty, this.heightOracle, [new Ci(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(r, 0, s, new Yk(C.from, E));
15950
+ let P = C.from == this.viewport.from ? x : e.docView.measureVisibleLineHeights(C);
15951
+ this.heightMap = (s ? ri.empty().applyChanges(this.stateDeco, Ne.empty, this.heightOracle, [new Ci(0, 0, 0, e.state.doc.length)]) : this.heightMap).updateHeight(r, 0, s, new Yk(C.from, P));
15942
15952
  }
15943
15953
  jr && (u |= 2);
15944
15954
  }
@@ -16039,12 +16049,12 @@ class Uf {
16039
16049
  } else {
16040
16050
  let p = h.total * this.heightOracle.charWidth, g = r * this.heightOracle.charWidth, y = 0;
16041
16051
  if (p > 2e6)
16042
- for (let E of e)
16043
- 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);
16052
+ for (let P of e)
16053
+ P.from >= c.from && P.from < c.to && P.size != P.displaySize && P.from * this.heightOracle.charWidth + y < this.pixelViewport.left && (y = P.size - P.displaySize);
16044
16054
  let k = this.pixelViewport.left + y, v = this.pixelViewport.right + y, x, C;
16045
16055
  if (f != null) {
16046
- let E = ks(h, f), T = ((v - k) / 2 + g) / p;
16047
- x = E - T, C = E + T;
16056
+ let P = ks(h, f), T = ((v - k) / 2 + g) / p;
16057
+ x = P - T, C = P + T;
16048
16058
  } else
16049
16059
  x = (k - g) / p, C = (v + g) / p;
16050
16060
  d = xs(h, x), m = xs(h, C);
@@ -17811,42 +17821,42 @@ function vw(i, e, t) {
17811
17821
  if (p && (i.lineWrapping || d.widgetLineBreaks) && (p = Zf(i, n, 1, p)), g && (i.lineWrapping || m.widgetLineBreaks) && (g = Zf(i, r, -1, g)), p && g && p.from == g.from && p.to == g.to)
17812
17822
  return k(v(t.from, t.to, p));
17813
17823
  {
17814
- let C = p ? v(t.from, null, p) : x(d, !1), E = g ? v(null, t.to, g) : x(m, !0), T = [];
17815
- return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < E.top ? T.push(y(h, C.bottom, f, E.top)) : C.bottom < E.top && i.elementAtHeight((C.bottom + E.top) / 2).type == ni.Text && (C.bottom = E.top = (C.bottom + E.top) / 2), k(C).concat(T).concat(k(E));
17824
+ let C = p ? v(t.from, null, p) : x(d, !1), P = g ? v(null, t.to, g) : x(m, !0), T = [];
17825
+ return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < P.top ? T.push(y(h, C.bottom, f, P.top)) : C.bottom < P.top && i.elementAtHeight((C.bottom + P.top) / 2).type == ni.Text && (C.bottom = P.top = (C.bottom + P.top) / 2), k(C).concat(T).concat(k(P));
17816
17826
  }
17817
- function y(C, E, T, H) {
17818
- return new Zo(e, C - a.left, E - a.top, T - C, H - E);
17827
+ function y(C, P, T, N) {
17828
+ return new Zo(e, C - a.left, P - a.top, T - C, N - P);
17819
17829
  }
17820
- function k({ top: C, bottom: E, horizontal: T }) {
17821
- let H = [];
17830
+ function k({ top: C, bottom: P, horizontal: T }) {
17831
+ let N = [];
17822
17832
  for (let V = 0; V < T.length; V += 2)
17823
- H.push(y(T[V], C, T[V + 1], E));
17824
- return H;
17825
- }
17826
- function v(C, E, T) {
17827
- let H = 1e9, V = -1e9, B = [];
17828
- function D(P, F, Y, M, q) {
17829
- let z = i.coordsAtPos(P, P == T.to ? -2 : 2), ne = i.coordsAtPos(Y, Y == T.from ? 2 : -2);
17830
- !z || !ne || (H = Math.min(z.top, ne.top, H), V = Math.max(z.bottom, ne.bottom, V), q == st.LTR ? B.push(o && F ? h : z.left, o && M ? f : ne.right) : B.push(!o && M ? h : ne.left, !o && F ? f : z.right));
17831
- }
17832
- let R = C ?? T.from, O = E ?? T.to;
17833
- for (let P of i.visibleRanges)
17834
- if (P.to > R && P.from < O)
17835
- for (let F = Math.max(P.from, R), Y = Math.min(P.to, O); ; ) {
17833
+ N.push(y(T[V], C, T[V + 1], P));
17834
+ return N;
17835
+ }
17836
+ function v(C, P, T) {
17837
+ let N = 1e9, V = -1e9, R = [];
17838
+ function D(_, F, Y, M, q) {
17839
+ let z = i.coordsAtPos(_, _ == T.to ? -2 : 2), ne = i.coordsAtPos(Y, Y == T.from ? 2 : -2);
17840
+ !z || !ne || (N = Math.min(z.top, ne.top, N), V = Math.max(z.bottom, ne.bottom, V), q == st.LTR ? R.push(o && F ? h : z.left, o && M ? f : ne.right) : R.push(!o && M ? h : ne.left, !o && F ? f : z.right));
17841
+ }
17842
+ let E = C ?? T.from, O = P ?? T.to;
17843
+ for (let _ of i.visibleRanges)
17844
+ if (_.to > E && _.from < O)
17845
+ for (let F = Math.max(_.from, E), Y = Math.min(_.to, O); ; ) {
17836
17846
  let M = i.state.doc.lineAt(F);
17837
17847
  for (let q of i.bidiSpans(M)) {
17838
17848
  let z = q.from + M.from, ne = q.to + M.from;
17839
17849
  if (z >= Y)
17840
17850
  break;
17841
- ne > F && D(Math.max(z, F), C == null && z <= R, Math.min(ne, Y), E == null && ne >= O, q.dir);
17851
+ ne > F && D(Math.max(z, F), C == null && z <= E, Math.min(ne, Y), P == null && ne >= O, q.dir);
17842
17852
  }
17843
17853
  if (F = M.to + 1, F >= Y)
17844
17854
  break;
17845
17855
  }
17846
- return B.length == 0 && D(R, C == null, O, E == null, i.textDirection), { top: H, bottom: V, horizontal: B };
17856
+ return R.length == 0 && D(E, C == null, O, P == null, i.textDirection), { top: N, bottom: V, horizontal: R };
17847
17857
  }
17848
- function x(C, E) {
17849
- let T = l.top + (E ? C.top : C.bottom);
17858
+ function x(C, P) {
17859
+ let T = l.top + (P ? C.top : C.bottom);
17850
17860
  return { top: T, bottom: T, horizontal: [] };
17851
17861
  }
17852
17862
  }
@@ -18545,15 +18555,15 @@ const Ia = /* @__PURE__ */ de.define({
18545
18555
  }
18546
18556
  rd.set(u, g), c.style.height = (g = C) / o + "px";
18547
18557
  } else c.style.height && (c.style.height = "");
18548
- let E = x ? h.top - g - m - y.y : h.bottom + m + y.y, T = v + p;
18558
+ let P = x ? h.top - g - m - y.y : h.bottom + m + y.y, T = v + p;
18549
18559
  if (u.overlap !== !0)
18550
- for (let H of s)
18551
- H.left < T && H.right > v && H.top < E + g && H.bottom > E && (E = x ? H.top - g - 2 - m : H.bottom + m + 2);
18552
- if (this.position == "absolute" ? (c.style.top = (E - i.parent.top) / o + "px", od(c, (v - i.parent.left) / r)) : (c.style.top = E / o + "px", od(c, v / r)), d) {
18553
- let H = h.left + (k ? y.x : -y.x) - (v + 14 - 7);
18554
- d.style.left = H / r + "px";
18560
+ for (let N of s)
18561
+ N.left < T && N.right > v && N.top < P + g && N.bottom > P && (P = x ? N.top - g - 2 - m : N.bottom + m + 2);
18562
+ if (this.position == "absolute" ? (c.style.top = (P - i.parent.top) / o + "px", od(c, (v - i.parent.left) / r)) : (c.style.top = P / o + "px", od(c, v / r)), d) {
18563
+ let N = h.left + (k ? y.x : -y.x) - (v + 14 - 7);
18564
+ d.style.left = N / r + "px";
18555
18565
  }
18556
- u.overlap !== !0 && s.push({ left: v, top: E, right: T, bottom: E + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18566
+ u.overlap !== !0 && s.push({ left: v, top: P, right: T, bottom: P + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18557
18567
  }
18558
18568
  }
18559
18569
  maybeMeasure() {
@@ -20355,98 +20365,98 @@ function Wc(i) {
20355
20365
  function xS(i) {
20356
20366
  var e;
20357
20367
  let { buffer: t, nodeSet: n, maxBufferLength: r = Up, reused: o = [], minRepeatType: s = n.types.length } = i, l = Array.isArray(t) ? new jc(t, t.length) : t, a = n.types, u = 0, c = 0;
20358
- function h(C, E, T, H, V, B) {
20359
- let { id: D, start: R, end: O, size: P } = l, F = c, Y = u;
20360
- if (P < 0)
20361
- if (l.next(), P == -1) {
20368
+ function h(C, P, T, N, V, R) {
20369
+ let { id: D, start: E, end: O, size: _ } = l, F = c, Y = u;
20370
+ if (_ < 0)
20371
+ if (l.next(), _ == -1) {
20362
20372
  let I = o[D];
20363
- T.push(I), H.push(R - C);
20373
+ T.push(I), N.push(E - C);
20364
20374
  return;
20365
- } else if (P == -3) {
20375
+ } else if (_ == -3) {
20366
20376
  u = D;
20367
20377
  return;
20368
- } else if (P == -4) {
20378
+ } else if (_ == -4) {
20369
20379
  c = D;
20370
20380
  return;
20371
20381
  } else
20372
- throw new RangeError(`Unrecognized record size: ${P}`);
20373
- let M = a[D], q, z, ne = R - C;
20374
- if (O - R <= r && (z = g(l.pos - E, V))) {
20375
- let I = new Uint16Array(z.size - z.skip), w = l.pos - z.size, N = I.length;
20382
+ throw new RangeError(`Unrecognized record size: ${_}`);
20383
+ let M = a[D], q, z, ne = E - C;
20384
+ if (O - E <= r && (z = g(l.pos - P, V))) {
20385
+ let I = new Uint16Array(z.size - z.skip), w = l.pos - z.size, H = I.length;
20376
20386
  for (; l.pos > w; )
20377
- N = y(z.start, I, N);
20387
+ H = y(z.start, I, H);
20378
20388
  q = new Rn(I, O - z.start, n), ne = z.start - C;
20379
20389
  } else {
20380
- let I = l.pos - P;
20390
+ let I = l.pos - _;
20381
20391
  l.next();
20382
- let w = [], N = [], U = D >= s ? D : -1, G = 0, oe = O;
20392
+ let w = [], H = [], U = D >= s ? D : -1, G = 0, oe = O;
20383
20393
  for (; l.pos > I; )
20384
- U >= 0 && l.id == U && l.size >= 0 ? (l.end <= oe - r && (m(w, N, R, G, l.end, oe, U, F, Y), G = w.length, oe = l.end), l.next()) : B > 2500 ? f(R, I, w, N) : h(R, I, w, N, U, B + 1);
20385
- if (U >= 0 && G > 0 && G < w.length && m(w, N, R, G, R, oe, U, F, Y), w.reverse(), N.reverse(), U > -1 && G > 0) {
20394
+ U >= 0 && l.id == U && l.size >= 0 ? (l.end <= oe - r && (m(w, H, E, G, l.end, oe, U, F, Y), G = w.length, oe = l.end), l.next()) : R > 2500 ? f(E, I, w, H) : h(E, I, w, H, U, R + 1);
20395
+ if (U >= 0 && G > 0 && G < w.length && m(w, H, E, G, E, oe, U, F, Y), w.reverse(), H.reverse(), U > -1 && G > 0) {
20386
20396
  let le = d(M, Y);
20387
- q = Qc(M, w, N, 0, w.length, 0, O - R, le, le);
20397
+ q = Qc(M, w, H, 0, w.length, 0, O - E, le, le);
20388
20398
  } else
20389
- q = p(M, w, N, O - R, F - O, Y);
20399
+ q = p(M, w, H, O - E, F - O, Y);
20390
20400
  }
20391
- T.push(q), H.push(ne);
20401
+ T.push(q), N.push(ne);
20392
20402
  }
20393
- function f(C, E, T, H) {
20394
- let V = [], B = 0, D = -1;
20395
- for (; l.pos > E; ) {
20396
- let { id: R, start: O, end: P, size: F } = l;
20403
+ function f(C, P, T, N) {
20404
+ let V = [], R = 0, D = -1;
20405
+ for (; l.pos > P; ) {
20406
+ let { id: E, start: O, end: _, size: F } = l;
20397
20407
  if (F > 4)
20398
20408
  l.next();
20399
20409
  else {
20400
20410
  if (D > -1 && O < D)
20401
20411
  break;
20402
- D < 0 && (D = P - r), V.push(R, O, P), B++, l.next();
20412
+ D < 0 && (D = _ - r), V.push(E, O, _), R++, l.next();
20403
20413
  }
20404
20414
  }
20405
- if (B) {
20406
- let R = new Uint16Array(B * 4), O = V[V.length - 2];
20407
- for (let P = V.length - 3, F = 0; P >= 0; P -= 3)
20408
- R[F++] = V[P], R[F++] = V[P + 1] - O, R[F++] = V[P + 2] - O, R[F++] = F;
20409
- T.push(new Rn(R, V[2] - O, n)), H.push(O - C);
20415
+ if (R) {
20416
+ let E = new Uint16Array(R * 4), O = V[V.length - 2];
20417
+ for (let _ = V.length - 3, F = 0; _ >= 0; _ -= 3)
20418
+ E[F++] = V[_], E[F++] = V[_ + 1] - O, E[F++] = V[_ + 2] - O, E[F++] = F;
20419
+ T.push(new Rn(E, V[2] - O, n)), N.push(O - C);
20410
20420
  }
20411
20421
  }
20412
- function d(C, E) {
20413
- return (T, H, V) => {
20414
- let B = 0, D = T.length - 1, R, O;
20415
- if (D >= 0 && (R = T[D]) instanceof bt) {
20416
- if (!D && R.type == C && R.length == V)
20417
- return R;
20418
- (O = R.prop(Pe.lookAhead)) && (B = H[D] + R.length + O);
20422
+ function d(C, P) {
20423
+ return (T, N, V) => {
20424
+ let R = 0, D = T.length - 1, E, O;
20425
+ if (D >= 0 && (E = T[D]) instanceof bt) {
20426
+ if (!D && E.type == C && E.length == V)
20427
+ return E;
20428
+ (O = E.prop(Pe.lookAhead)) && (R = N[D] + E.length + O);
20419
20429
  }
20420
- return p(C, T, H, V, B, E);
20430
+ return p(C, T, N, V, R, P);
20421
20431
  };
20422
20432
  }
20423
- function m(C, E, T, H, V, B, D, R, O) {
20424
- let P = [], F = [];
20425
- for (; C.length > H; )
20426
- P.push(C.pop()), F.push(E.pop() + T - V);
20427
- C.push(p(n.types[D], P, F, B - V, R - B, O)), E.push(V - T);
20433
+ function m(C, P, T, N, V, R, D, E, O) {
20434
+ let _ = [], F = [];
20435
+ for (; C.length > N; )
20436
+ _.push(C.pop()), F.push(P.pop() + T - V);
20437
+ C.push(p(n.types[D], _, F, R - V, E - R, O)), P.push(V - T);
20428
20438
  }
20429
- function p(C, E, T, H, V, B, D) {
20430
- if (B) {
20431
- let R = [Pe.contextHash, B];
20432
- D = D ? [R].concat(D) : [R];
20439
+ function p(C, P, T, N, V, R, D) {
20440
+ if (R) {
20441
+ let E = [Pe.contextHash, R];
20442
+ D = D ? [E].concat(D) : [E];
20433
20443
  }
20434
20444
  if (V > 25) {
20435
- let R = [Pe.lookAhead, V];
20436
- D = D ? [R].concat(D) : [R];
20445
+ let E = [Pe.lookAhead, V];
20446
+ D = D ? [E].concat(D) : [E];
20437
20447
  }
20438
- return new bt(C, E, T, H, D);
20448
+ return new bt(C, P, T, N, D);
20439
20449
  }
20440
- function g(C, E) {
20441
- let T = l.fork(), H = 0, V = 0, B = 0, D = T.end - r, R = { size: 0, start: 0, skip: 0 };
20450
+ function g(C, P) {
20451
+ let T = l.fork(), N = 0, V = 0, R = 0, D = T.end - r, E = { size: 0, start: 0, skip: 0 };
20442
20452
  e: for (let O = T.pos - C; T.pos > O; ) {
20443
- let P = T.size;
20444
- if (T.id == E && P >= 0) {
20445
- R.size = H, R.start = V, R.skip = B, B += 4, H += 4, T.next();
20453
+ let _ = T.size;
20454
+ if (T.id == P && _ >= 0) {
20455
+ E.size = N, E.start = V, E.skip = R, R += 4, N += 4, T.next();
20446
20456
  continue;
20447
20457
  }
20448
- let F = T.pos - P;
20449
- if (P < 0 || F < O || T.start < D)
20458
+ let F = T.pos - _;
20459
+ if (_ < 0 || F < O || T.start < D)
20450
20460
  break;
20451
20461
  let Y = T.id >= s ? 4 : 0, M = T.start;
20452
20462
  for (T.next(); T.pos > F; ) {
@@ -20458,21 +20468,21 @@ function xS(i) {
20458
20468
  else T.id >= s && (Y += 4);
20459
20469
  T.next();
20460
20470
  }
20461
- V = M, H += P, B += Y;
20471
+ V = M, N += _, R += Y;
20462
20472
  }
20463
- return (E < 0 || H == C) && (R.size = H, R.start = V, R.skip = B), R.size > 4 ? R : void 0;
20473
+ return (P < 0 || N == C) && (E.size = N, E.start = V, E.skip = R), E.size > 4 ? E : void 0;
20464
20474
  }
20465
- function y(C, E, T) {
20466
- let { id: H, start: V, end: B, size: D } = l;
20467
- if (l.next(), D >= 0 && H < s) {
20468
- let R = T;
20475
+ function y(C, P, T) {
20476
+ let { id: N, start: V, end: R, size: D } = l;
20477
+ if (l.next(), D >= 0 && N < s) {
20478
+ let E = T;
20469
20479
  if (D > 4) {
20470
20480
  let O = l.pos - (D - 4);
20471
20481
  for (; l.pos > O; )
20472
- T = y(C, E, T);
20482
+ T = y(C, P, T);
20473
20483
  }
20474
- E[--T] = R, E[--T] = B - C, E[--T] = V - C, E[--T] = H;
20475
- } else D == -3 ? u = H : D == -4 && (c = H);
20484
+ P[--T] = E, P[--T] = R - C, P[--T] = V - C, P[--T] = N;
20485
+ } else D == -3 ? u = N : D == -4 && (c = N);
20476
20486
  return T;
20477
20487
  }
20478
20488
  let k = [], v = [];
@@ -20509,15 +20519,15 @@ function Qc(i, e, t, n, r, o, s, l, a) {
20509
20519
  ), h = [], f = [];
20510
20520
  function d(m, p, g, y, k) {
20511
20521
  for (let v = g; v < y; ) {
20512
- let x = v, C = p[v], E = Gs(i, m[v]);
20522
+ let x = v, C = p[v], P = Gs(i, m[v]);
20513
20523
  for (v++; v < y; v++) {
20514
20524
  let T = Gs(i, m[v]);
20515
- if (E + T >= c)
20525
+ if (P + T >= c)
20516
20526
  break;
20517
- E += T;
20527
+ P += T;
20518
20528
  }
20519
20529
  if (v == x + 1) {
20520
- if (E > c) {
20530
+ if (P > c) {
20521
20531
  let T = m[x];
20522
20532
  d(T.children, T.positions, 0, T.children.length, p[x] + k);
20523
20533
  continue;
@@ -24288,7 +24298,7 @@ class dA {
24288
24298
  for (let k = 0, v = Math.min(e.length, 200), x = 0; k < v && h < a; ) {
24289
24299
  let C = oi(e, k);
24290
24300
  l < 0 && (c < a && C == t[c] && (o[c++] = k), d < a && (C == t[d] || C == n[d] ? (d == 0 && (m = k), p = k + 1, d++) : d = 0));
24291
- let E, T = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (E = Tc(C)) != E.toLowerCase() ? 1 : E != E.toUpperCase() ? 2 : 0;
24301
+ let P, T = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (P = Tc(C)) != P.toLowerCase() ? 1 : P != P.toUpperCase() ? 2 : 0;
24292
24302
  (!k || T == 1 && g || x == 0 && T != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = T, k += ji(C);
24293
24303
  }
24294
24304
  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);
@@ -27583,19 +27593,19 @@ const VO = "#e5c07b", im = "#e06c75", FO = "#56b6c2", NO = "#ffffff", $s = "#abb
27583
27593
  const O = t.schema["x-json-height"];
27584
27594
  if (O)
27585
27595
  return O;
27586
- const P = (Y = (F = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : F.jsoneditor) == null ? void 0 : Y.height;
27587
- return P || "300px";
27596
+ const _ = (Y = (F = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : F.jsoneditor) == null ? void 0 : Y.height;
27597
+ return _ || "300px";
27588
27598
  }), y = b(() => {
27589
27599
  var F, Y;
27590
27600
  const O = t.schema["x-json-dark-theme"];
27591
27601
  if (O !== void 0)
27592
27602
  return console.log("[JSON Editor] Using darkTheme from schema:", O), O === !0;
27593
- const P = (Y = (F = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : F.jsoneditor) == null ? void 0 : Y.darkTheme;
27594
- if (P !== void 0)
27603
+ const _ = (Y = (F = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : F.jsoneditor) == null ? void 0 : Y.darkTheme;
27604
+ if (_ !== void 0)
27595
27605
  return console.log(
27596
27606
  "[JSON Editor] Using darkTheme from quickformsDefaults:",
27597
- P
27598
- ), P === !0;
27607
+ _
27608
+ ), _ === !0;
27599
27609
  if (f.dark) {
27600
27610
  const M = f.dark.isActive;
27601
27611
  return console.log("[JSON Editor] Auto-detected darkTheme from Quasar:", M), M;
@@ -27603,9 +27613,9 @@ const VO = "#e5c07b", im = "#e06c75", FO = "#56b6c2", NO = "#ffffff", $s = "#abb
27603
27613
  return console.log("[JSON Editor] Using default darkTheme: false"), !1;
27604
27614
  });
27605
27615
  function k(O) {
27606
- const P = O.state.doc.toString(), F = O.state.selection.main.head;
27616
+ const _ = O.state.doc.toString(), F = O.state.selection.main.head;
27607
27617
  try {
27608
- const Y = JSON.parse(P), M = JSON.stringify(Y, null, 2), q = P.length > 0 ? F / P.length : 0, z = Math.min(
27618
+ const Y = JSON.parse(_), M = JSON.stringify(Y, null, 2), q = _.length > 0 ? F / _.length : 0, z = Math.min(
27609
27619
  Math.round(q * M.length),
27610
27620
  M.length
27611
27621
  );
@@ -27618,26 +27628,26 @@ const VO = "#e5c07b", im = "#e06c75", FO = "#56b6c2", NO = "#ffffff", $s = "#abb
27618
27628
  }
27619
27629
  }
27620
27630
  const v = b(() => {
27621
- var P, F;
27631
+ var _, F;
27622
27632
  const O = t.schema["x-json-line-numbers"];
27623
- return O !== void 0 ? O : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.lineNumbers) ?? !1;
27633
+ return O !== void 0 ? O : ((F = (_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.jsoneditor) == null ? void 0 : F.lineNumbers) ?? !1;
27624
27634
  }), x = b(() => {
27625
- var P, F;
27635
+ var _, F;
27626
27636
  const O = t.schema["x-json-lint-gutter"];
27627
- return O !== void 0 ? O : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.lintGutter) ?? !1;
27637
+ return O !== void 0 ? O : ((F = (_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.jsoneditor) == null ? void 0 : F.lintGutter) ?? !1;
27628
27638
  }), C = b(() => {
27629
- var P, F;
27639
+ var _, F;
27630
27640
  const O = t.schema["x-json-tab-size"];
27631
- return O !== void 0 ? O : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.tabSize) ?? 2;
27632
- }), E = b(() => {
27633
- var P, F;
27641
+ return O !== void 0 ? O : ((F = (_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.jsoneditor) == null ? void 0 : F.tabSize) ?? 2;
27642
+ }), P = b(() => {
27643
+ var _, F;
27634
27644
  const O = t.schema["x-json-indent-with-tab"];
27635
- return O !== void 0 ? O : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.indentWithTab) ?? !0;
27645
+ return O !== void 0 ? O : ((F = (_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.jsoneditor) == null ? void 0 : F.indentWithTab) ?? !0;
27636
27646
  }), T = b(() => {
27637
- var P, F;
27647
+ var _, F;
27638
27648
  const O = t.schema["x-json-format-key"];
27639
- return O !== void 0 ? O : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.formatKey) ?? "Ctrl-.";
27640
- }), H = b(() => {
27649
+ return O !== void 0 ? O : ((F = (_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.jsoneditor) == null ? void 0 : F.formatKey) ?? "Ctrl-.";
27650
+ }), N = b(() => {
27641
27651
  console.log("[JSON Editor] Building extensions:", {
27642
27652
  showLineNumbers: v.value,
27643
27653
  showLintGutter: x.value,
@@ -27660,17 +27670,17 @@ const VO = "#e5c07b", im = "#e06c75", FO = "#56b6c2", NO = "#ffffff", $s = "#abb
27660
27670
  }
27661
27671
  })
27662
27672
  )), x.value && (O.push(nO(RO())), O.push(fO())), y.value ? (console.log("[JSON Editor] Adding oneDark theme"), O.push(YO)) : console.log("[JSON Editor] NOT adding oneDark theme"), console.log("[JSON Editor] Final extensions count:", O.length), O;
27663
- }), V = b(() => m.value || l.value), B = b(
27673
+ }), V = b(() => m.value || l.value), R = b(
27664
27674
  () => `${v.value}-${x.value}-${y.value}-${T.value}`
27665
27675
  );
27666
- ve(B, () => {
27676
+ ve(R, () => {
27667
27677
  console.log("[JSON Editor] editorKey changed, forcing remount");
27668
27678
  const O = d.value;
27669
27679
  d.value = "", rt(() => {
27670
27680
  d.value = O;
27671
27681
  });
27672
27682
  });
27673
- function D(O, P) {
27683
+ function D(O, _) {
27674
27684
  if (!p.value)
27675
27685
  try {
27676
27686
  const F = JSON.parse(O);
@@ -27679,10 +27689,10 @@ const VO = "#e5c07b", im = "#e06c75", FO = "#56b6c2", NO = "#ffffff", $s = "#abb
27679
27689
  m.value = F.message;
27680
27690
  }
27681
27691
  }
27682
- 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: T, extensions: H, displayError: V, editorKey: B, handleChange: D, get Codemirror() {
27692
+ const E = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: C, indentWithTab: P, formatKey: T, extensions: N, displayError: V, editorKey: R, handleChange: D, get Codemirror() {
27683
27693
  return wO;
27684
27694
  } };
27685
- return Object.defineProperty(R, "__isScriptSetup", { enumerable: !1, value: !0 }), R;
27695
+ return Object.defineProperty(E, "__isScriptSetup", { enumerable: !1, value: !0 }), E;
27686
27696
  }
27687
27697
  }), JO = {
27688
27698
  key: 0,
@@ -27811,7 +27821,7 @@ const lm = /* @__PURE__ */ Kt(GO, [["render", nT], ["__file", "/Users/zachsherbo
27811
27821
  autocompleteThreshold: v,
27812
27822
  useInput: x,
27813
27823
  fillInput: C,
27814
- hideSelected: E,
27824
+ hideSelected: P,
27815
27825
  ...T
27816
27826
  } = y;
27817
27827
  return T;
@@ -27823,9 +27833,9 @@ const lm = /* @__PURE__ */ Kt(GO, [["render", nT], ["__file", "/Users/zachsherbo
27823
27833
  if (!k) return [];
27824
27834
  const v = y["x-enum-labels"];
27825
27835
  return k.map((C) => {
27826
- let E = String(C);
27827
- return v && C in v && (E = v[C]), {
27828
- label: E,
27836
+ let P = String(C);
27837
+ return v && C in v && (P = v[C]), {
27838
+ label: P,
27829
27839
  value: C
27830
27840
  };
27831
27841
  });
@@ -28021,7 +28031,7 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28021
28031
  },
28022
28032
  setup(i, { slots: e, emit: t }) {
28023
28033
  const { proxy: n } = je(), { $q: r } = n, { registerTick: o } = Tr(), { registerTick: s } = Tr(), { registerTick: l } = Tr(), { registerTimeout: a, removeTimeout: u } = Mo(), { registerTimeout: c, removeTimeout: h } = Mo(), f = J(null), d = J(null), m = J(i.modelValue), p = J(!1), g = J(!0), y = J(!1), k = J(!1), v = [], x = J(0), C = J(!1);
28024
- let E = null, T = null, H;
28034
+ let P = null, T = null, N;
28025
28035
  const V = b(() => ({
28026
28036
  activeClass: i.activeClass,
28027
28037
  activeColor: i.activeColor,
@@ -28034,17 +28044,17 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28034
28044
  narrowIndicator: i.narrowIndicator,
28035
28045
  inlineLabel: i.inlineLabel,
28036
28046
  noCaps: i.noCaps
28037
- })), B = b(() => {
28047
+ })), R = b(() => {
28038
28048
  const X = x.value, ye = m.value;
28039
28049
  for (let we = 0; we < X; we++)
28040
28050
  if (v[we].name.value === ye)
28041
28051
  return !0;
28042
28052
  return !1;
28043
- }), D = b(() => `q-tabs__content--align-${p.value === !0 ? "left" : k.value === !0 ? "justify" : i.align}`), R = b(
28053
+ }), D = b(() => `q-tabs__content--align-${p.value === !0 ? "left" : k.value === !0 ? "justify" : i.align}`), E = b(
28044
28054
  () => `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" : "")
28045
28055
  ), O = b(
28046
28056
  () => "q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position " + D.value + (i.contentClass !== void 0 ? ` ${i.contentClass}` : "")
28047
- ), P = b(() => i.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), F = b(() => i.vertical !== !0 && r.lang.rtl === !0), Y = b(() => Ao === !1 && F.value === !0);
28057
+ ), _ = b(() => i.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), F = b(() => i.vertical !== !0 && r.lang.rtl === !0), Y = b(() => Ao === !1 && F.value === !0);
28048
28058
  ve(F, w), ve(() => i.modelValue, (X) => {
28049
28059
  M({ name: X, setCurrent: !0, skipEmit: !0 });
28050
28060
  }), ve(() => i.outsideArrows, q);
@@ -28060,12 +28070,12 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28060
28070
  });
28061
28071
  }
28062
28072
  function z(X) {
28063
- if (P.value === void 0 || d.value === null) return;
28064
- const ye = X[P.value.container], we = Math.min(
28065
- d.value[P.value.scroll],
28073
+ if (_.value === void 0 || d.value === null) return;
28074
+ const ye = X[_.value.container], we = Math.min(
28075
+ d.value[_.value.scroll],
28066
28076
  Array.prototype.reduce.call(
28067
28077
  d.value.children,
28068
- (ze, Oe) => ze + (Oe[P.value.content] || 0),
28078
+ (ze, Oe) => ze + (Oe[_.value.content] || 0),
28069
28079
  0
28070
28080
  )
28071
28081
  ), Ue = ye > 0 && we > ye;
@@ -28077,11 +28087,11 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28077
28087
  at = !1;
28078
28088
  else if (we && Ue) {
28079
28089
  const ze = we.tabIndicatorRef.value, Oe = Ue.tabIndicatorRef.value;
28080
- E !== null && (clearTimeout(E), E = null), ze.style.transition = "none", ze.style.transform = "none", Oe.style.transition = "none", Oe.style.transform = "none";
28090
+ P !== null && (clearTimeout(P), P = null), ze.style.transition = "none", ze.style.transform = "none", Oe.style.transition = "none", Oe.style.transform = "none";
28081
28091
  const qe = ze.getBoundingClientRect(), Xe = Oe.getBoundingClientRect();
28082
28092
  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(() => {
28083
- E = setTimeout(() => {
28084
- E = null, Oe.style.transition = "transform .25s cubic-bezier(.4, 0, .2, 1)", Oe.style.transform = "none";
28093
+ P = setTimeout(() => {
28094
+ P = null, Oe.style.transition = "transform .25s cubic-bezier(.4, 0, .2, 1)", Oe.style.transform = "none";
28085
28095
  }, 70);
28086
28096
  });
28087
28097
  }
@@ -28102,16 +28112,16 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28102
28112
  const ye = X.getBoundingClientRect(), we = i.vertical === !0 ? X.scrollTop : Math.abs(X.scrollLeft);
28103
28113
  F.value === !0 ? (g.value = Math.ceil(we + ye.width) < X.scrollWidth - 1, y.value = we > 0) : (g.value = we > 0, y.value = i.vertical === !0 ? Math.ceil(we + ye.height) < X.scrollHeight : Math.ceil(we + ye.width) < X.scrollWidth);
28104
28114
  }
28105
- function N(X) {
28115
+ function H(X) {
28106
28116
  T !== null && clearInterval(T), T = setInterval(() => {
28107
28117
  Z(X) === !0 && oe();
28108
28118
  }, 5);
28109
28119
  }
28110
28120
  function U() {
28111
- N(Y.value === !0 ? Number.MAX_SAFE_INTEGER : 0);
28121
+ H(Y.value === !0 ? Number.MAX_SAFE_INTEGER : 0);
28112
28122
  }
28113
28123
  function G() {
28114
- N(Y.value === !0 ? 0 : Number.MAX_SAFE_INTEGER);
28124
+ H(Y.value === !0 ? 0 : Number.MAX_SAFE_INTEGER);
28115
28125
  }
28116
28126
  function oe() {
28117
28127
  T !== null && (clearInterval(T), T = null);
@@ -28207,10 +28217,10 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28207
28217
  vi.avoidRouteWatcher === !1 ? c(Ie) : h();
28208
28218
  }
28209
28219
  function Gt() {
28210
- if (H === void 0) {
28220
+ if (N === void 0) {
28211
28221
  const X = ve(() => n.$route.fullPath, _t);
28212
- H = () => {
28213
- X(), H = void 0;
28222
+ N = () => {
28223
+ X(), N = void 0;
28214
28224
  };
28215
28225
  }
28216
28226
  }
@@ -28223,13 +28233,13 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28223
28233
  }) : (Gt(), X.routeData.hasRouterLink.value === !0 && _t());
28224
28234
  }
28225
28235
  function dt(X) {
28226
- v.splice(v.indexOf(X), 1), x.value--, q(), H !== void 0 && X.routeData !== void 0 && (v.every((ye) => ye.routeData === void 0) === !0 && H(), _t());
28236
+ v.splice(v.indexOf(X), 1), x.value--, q(), N !== void 0 && X.routeData !== void 0 && (v.every((ye) => ye.routeData === void 0) === !0 && N(), _t());
28227
28237
  }
28228
28238
  const vi = {
28229
28239
  currentModel: m,
28230
28240
  tabProps: V,
28231
28241
  hasFocus: C,
28232
- hasActiveTab: B,
28242
+ hasActiveTab: R,
28233
28243
  registerTab: Bt,
28234
28244
  unregisterTab: dt,
28235
28245
  verifyRouteModel: _t,
@@ -28240,16 +28250,16 @@ const cT = ["left", "center", "right", "justify"], hT = Je({
28240
28250
  };
28241
28251
  ym(Mm, vi);
28242
28252
  function Li() {
28243
- E !== null && clearTimeout(E), oe(), H == null || H();
28253
+ P !== null && clearTimeout(P), oe(), N == null || N();
28244
28254
  }
28245
28255
  let Jt, at;
28246
28256
  return ht(Li), jo(() => {
28247
- Jt = H !== void 0, Li();
28257
+ Jt = N !== void 0, Li();
28248
28258
  }), ac(() => {
28249
28259
  Jt === !0 && (Gt(), at = !0, _t()), q();
28250
28260
  }), () => A("div", {
28251
28261
  ref: f,
28252
- class: R.value,
28262
+ class: E.value,
28253
28263
  role: "tablist",
28254
28264
  onFocusin: Qe,
28255
28265
  onFocusout: wt
@@ -28346,11 +28356,11 @@ function gT(i, e, t, n) {
28346
28356
  class: "q-tab__alert" + (i.alert !== !0 ? ` text-${i.alert}` : "")
28347
28357
  })
28348
28358
  ), v === !0 && x.push(C);
28349
- const E = [
28359
+ const P = [
28350
28360
  A("div", { class: "q-focus-helper", tabindex: -1, ref: s }),
28351
28361
  A("div", { class: f.value }, wn(e.default, x))
28352
28362
  ];
28353
- return v === !1 && E.push(C), E;
28363
+ return v === !1 && P.push(C), P;
28354
28364
  }
28355
28365
  const y = {
28356
28366
  name: b(() => i.name),
@@ -28441,8 +28451,8 @@ const pT = Je({
28441
28451
  const ne = f.value[z];
28442
28452
  if (ne != null && ne.properties)
28443
28453
  for (const [I, w] of Object.entries(ne.properties)) {
28444
- const N = w.const;
28445
- if (N !== void 0 && M[I] === N)
28454
+ const H = w.const;
28455
+ if (H !== void 0 && M[I] === H)
28446
28456
  return z;
28447
28457
  }
28448
28458
  }
@@ -28454,10 +28464,10 @@ const pT = Je({
28454
28464
  d.value = M;
28455
28465
  const q = f.value[M];
28456
28466
  if (q && q.properties) {
28457
- const z = n.value && typeof n.value == "object" ? n.value : {}, ne = Ns.getDefaultValue(q) || {}, I = p(q), w = { ...ne, ...z, ...I }, N = Object.keys(w).some((G) => !(G in z)), U = Object.entries(I).some(
28467
+ const z = n.value && typeof n.value == "object" ? n.value : {}, ne = Ns.getDefaultValue(q) || {}, I = p(q), w = { ...ne, ...z, ...I }, H = Object.keys(w).some((G) => !(G in z)), U = Object.entries(I).some(
28458
28468
  ([G, oe]) => z[G] !== oe
28459
28469
  );
28460
- (N || U) && r && r(w, !1);
28470
+ (H || U) && r && r(w, !1);
28461
28471
  }
28462
28472
  m.value = !0;
28463
28473
  });
@@ -28485,7 +28495,7 @@ const pT = Je({
28485
28495
  if (z.const !== void 0)
28486
28496
  return q;
28487
28497
  return null;
28488
- }), E = (M) => {
28498
+ }), P = (M) => {
28489
28499
  var z;
28490
28500
  const q = C.value;
28491
28501
  return !q || !((z = M == null ? void 0 : M.properties) != null && z[q]) ? null : M.properties[q].const ?? null;
@@ -28495,13 +28505,13 @@ const pT = Je({
28495
28505
  if (Array.isArray(z) && z[q])
28496
28506
  return z[q];
28497
28507
  if (typeof z == "object") {
28498
- const ne = E(M);
28508
+ const ne = P(M);
28499
28509
  if (ne && z[ne])
28500
28510
  return z[ne];
28501
28511
  }
28502
28512
  }
28503
28513
  return M.title || `Option ${q + 1}`;
28504
- }, H = b(() => {
28514
+ }, N = b(() => {
28505
28515
  const M = t.schema["x-oneof-descriptions"];
28506
28516
  if (!M) return null;
28507
28517
  const q = y.value;
@@ -28509,7 +28519,7 @@ const pT = Je({
28509
28519
  if (Array.isArray(M) && M[d.value])
28510
28520
  return M[d.value];
28511
28521
  if (typeof M == "object") {
28512
- const z = E(q);
28522
+ const z = P(q);
28513
28523
  if (z && M[z])
28514
28524
  return M[z];
28515
28525
  }
@@ -28517,7 +28527,7 @@ const pT = Je({
28517
28527
  }), V = b(() => f.value.map((M, q) => ({
28518
28528
  label: T(M, q),
28519
28529
  value: q
28520
- }))), B = b(() => {
28530
+ }))), R = b(() => {
28521
28531
  var q, z;
28522
28532
  const M = t.schema["x-oneof-select-label"];
28523
28533
  return M || ((z = (q = c == null ? void 0 : c.componentDefaults) == null ? void 0 : q.oneOf) == null ? void 0 : z.selectLabel) || "Select Option";
@@ -28529,7 +28539,7 @@ const pT = Je({
28529
28539
  },
28530
28540
  { immediate: !0 }
28531
28541
  );
28532
- const R = b(() => {
28542
+ const E = b(() => {
28533
28543
  var q, z;
28534
28544
  const M = t.schema["x-component-props"];
28535
28545
  return (M == null ? void 0 : M.autocomplete) !== void 0 ? M.autocomplete : ((z = (q = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : q.select) == null ? void 0 : z.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
@@ -28544,7 +28554,7 @@ const pT = Je({
28544
28554
  );
28545
28555
  }
28546
28556
  });
28547
- }, P = (M) => {
28557
+ }, _ = (M) => {
28548
28558
  const q = f.value[M];
28549
28559
  if (q && q.properties) {
28550
28560
  const z = n.value && typeof n.value == "object" ? n.value : {}, ne = Ns.getDefaultValue(q) || {}, I = p(q), w = { ...ne, ...z, ...I };
@@ -28552,9 +28562,9 @@ const pT = Je({
28552
28562
  }
28553
28563
  };
28554
28564
  ve(d, (M, q) => {
28555
- m.value && M !== q && P(M);
28565
+ m.value && M !== q && _(M);
28556
28566
  });
28557
- const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: y, activeProperties: k, shouldRenderPropertiesInline: v, displayStyle: x, discriminatorField: C, getDiscriminatorValue: E, getOptionLabel: T, activeOptionDescription: H, allSelectOptions: V, selectLabel: B, filteredOptions: D, useFilter: R, filterFn: O, applySchemaDefaults: P, handleOptionChange: (M) => {
28567
+ const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: y, activeProperties: k, shouldRenderPropertiesInline: v, displayStyle: x, discriminatorField: C, getDiscriminatorValue: P, getOptionLabel: T, activeOptionDescription: N, allSelectOptions: V, selectLabel: R, filteredOptions: D, useFilter: E, filterFn: O, applySchemaDefaults: _, handleOptionChange: (M) => {
28558
28568
  d.value = M;
28559
28569
  }, get QCard() {
28560
28570
  return Oc;
@@ -29147,8 +29157,8 @@ const IT = /* @__PURE__ */ Pt({
29147
29157
  label: t.label
29148
29158
  }), h = Rm(), f = b(() => h == null ? void 0 : h.quickformsDefaults), d = b(() => {
29149
29159
  var U, G;
29150
- const w = t.schema["x-use-template-syntax"], N = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.useTemplateSyntax;
29151
- return w ?? N ?? !1;
29160
+ const w = t.schema["x-use-template-syntax"], H = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.useTemplateSyntax;
29161
+ return w ?? H ?? !1;
29152
29162
  }), m = J(dm()), p = J(!1), g = J(""), y = J(null), k = J(!1);
29153
29163
  ve(
29154
29164
  () => n.value,
@@ -29176,21 +29186,21 @@ const IT = /* @__PURE__ */ Pt({
29176
29186
  function C(w) {
29177
29187
  w.push(LT()), v();
29178
29188
  }
29179
- function E(w, N) {
29180
- const U = w.findIndex((G) => G.id === N);
29189
+ function P(w, H) {
29190
+ const U = w.findIndex((G) => G.id === H);
29181
29191
  U !== -1 && (w.splice(U, 1), v());
29182
29192
  }
29183
- function T(w, N) {
29184
- w.left = N, v();
29193
+ function T(w, H) {
29194
+ w.left = H, v();
29185
29195
  }
29186
- function H(w, N) {
29187
- w.operator = N, v();
29196
+ function N(w, H) {
29197
+ w.operator = H, v();
29188
29198
  }
29189
- function V(w, N) {
29190
- w.right = N, v();
29199
+ function V(w, H) {
29200
+ w.right = H, v();
29191
29201
  }
29192
- function B(w, N) {
29193
- w.logic = N, v();
29202
+ function R(w, H) {
29203
+ w.logic = H, v();
29194
29204
  }
29195
29205
  function D() {
29196
29206
  if (p.value)
@@ -29209,94 +29219,94 @@ const IT = /* @__PURE__ */ Pt({
29209
29219
  2
29210
29220
  ), p.value = !0;
29211
29221
  }
29212
- function R(w) {
29222
+ function E(w) {
29213
29223
  g.value = w;
29214
29224
  try {
29215
- const N = JSON.parse(w);
29216
- y.value = null, k.value = !0, r(N);
29217
- } catch (N) {
29218
- y.value = N.message;
29225
+ const H = JSON.parse(w);
29226
+ y.value = null, k.value = !0, r(H);
29227
+ } catch (H) {
29228
+ y.value = H.message;
29219
29229
  }
29220
29230
  }
29221
29231
  const O = b(() => {
29222
29232
  var U, G;
29223
- const w = t.schema["x-operator-display"], N = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.operatorDisplayMode;
29224
- return w || N || "short";
29225
- }), P = b(() => {
29233
+ const w = t.schema["x-operator-display"], H = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.operatorDisplayMode;
29234
+ return w || H || "short";
29235
+ }), _ = b(() => {
29226
29236
  var U, G;
29227
- const w = t.schema["x-left-placeholder"], N = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.leftPlaceholder;
29228
- return w ?? N ?? "Value or path";
29237
+ const w = t.schema["x-left-placeholder"], H = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.leftPlaceholder;
29238
+ return w ?? H ?? "Value or path";
29229
29239
  }), F = b(() => {
29230
29240
  var U, G;
29231
- const w = t.schema["x-right-placeholder"], N = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.rightPlaceholder;
29232
- return w ?? N ?? "Value";
29241
+ const w = t.schema["x-right-placeholder"], H = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.rightPlaceholder;
29242
+ return w ?? H ?? "Value";
29233
29243
  }), Y = b(() => {
29234
29244
  var U, G;
29235
- const w = t.schema["x-allowed-operators"], N = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.allowedOperators;
29236
- return w || N || null;
29245
+ const w = t.schema["x-allowed-operators"], H = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.allowedOperators;
29246
+ return w || H || null;
29237
29247
  }), M = b(() => {
29238
29248
  let w = A0;
29239
29249
  return Y.value && (w = w.filter(
29240
- (N) => Y.value.includes(N.value)
29241
- )), w.map((N) => {
29250
+ (H) => Y.value.includes(H.value)
29251
+ )), w.map((H) => {
29242
29252
  const U = O.value;
29243
29253
  let G = "";
29244
29254
  switch (U) {
29245
29255
  case "icon":
29246
- G = N.shortLabel || N.symbol || N.label;
29256
+ G = H.shortLabel || H.symbol || H.label;
29247
29257
  break;
29248
29258
  case "symbol":
29249
- G = N.symbol || N.label;
29259
+ G = H.symbol || H.label;
29250
29260
  break;
29251
29261
  case "short":
29252
- G = N.shortLabel || N.label;
29262
+ G = H.shortLabel || H.label;
29253
29263
  break;
29254
29264
  case "verbose":
29255
- G = N.symbol ? `${N.symbol} ${N.label}` : N.label;
29265
+ G = H.symbol ? `${H.symbol} ${H.label}` : H.label;
29256
29266
  break;
29257
29267
  default:
29258
- G = N.symbol || N.label;
29268
+ G = H.symbol || H.label;
29259
29269
  }
29260
29270
  return {
29261
- value: N.value,
29271
+ value: H.value,
29262
29272
  label: G,
29263
- icon: N.icon,
29264
- description: N.description,
29273
+ icon: H.icon,
29274
+ description: H.description,
29265
29275
  // Store searchTerms for custom filter function
29266
- searchTerms: N.searchTerms || []
29276
+ searchTerms: H.searchTerms || []
29267
29277
  };
29268
29278
  });
29269
29279
  }), q = J(M.value);
29270
29280
  ve(M, (w) => {
29271
29281
  q.value = w;
29272
29282
  });
29273
- function z(w, N) {
29283
+ function z(w, H) {
29274
29284
  if (w === "") {
29275
- N(() => {
29285
+ H(() => {
29276
29286
  q.value = M.value;
29277
29287
  });
29278
29288
  return;
29279
29289
  }
29280
- N(() => {
29290
+ H(() => {
29281
29291
  const U = w.toLowerCase();
29282
29292
  q.value = M.value.filter((G) => G.label.toLowerCase().includes(U) ? !0 : G.searchTerms && Array.isArray(G.searchTerms) ? G.searchTerms.some(
29283
29293
  (oe) => oe.toLowerCase().includes(U)
29284
29294
  ) : !1);
29285
29295
  });
29286
29296
  }
29287
- function ne(w, N) {
29288
- if (N && typeof N == "string" && q.value.length > 0 && !M.value.some(
29289
- (G) => G.value === N
29297
+ function ne(w, H) {
29298
+ if (H && typeof H == "string" && q.value.length > 0 && !M.value.some(
29299
+ (G) => G.value === H
29290
29300
  )) {
29291
- H(
29301
+ N(
29292
29302
  w,
29293
29303
  q.value[0].value
29294
29304
  );
29295
29305
  return;
29296
29306
  }
29297
- N && H(w, N);
29307
+ H && N(w, H);
29298
29308
  }
29299
- const I = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: E, updateConditionLeft: T, updateConditionOperator: H, updateConditionRight: V, updateGroupLogic: B, toggleAdvancedMode: D, handleJsonChange: R, operatorDisplayMode: O, leftPlaceholder: P, rightPlaceholder: F, allowedOperators: Y, operatorOptions: M, filteredOperatorOptions: q, filterOperators: z, handleOperatorInput: ne, get QBtn() {
29309
+ const I = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: P, updateConditionLeft: T, updateConditionOperator: N, updateConditionRight: V, updateGroupLogic: R, toggleAdvancedMode: D, handleJsonChange: E, operatorDisplayMode: O, leftPlaceholder: _, rightPlaceholder: F, allowedOperators: Y, operatorOptions: M, filteredOperatorOptions: q, filterOperators: z, handleOperatorInput: ne, get QBtn() {
29300
29310
  return It;
29301
29311
  }, get QSelect() {
29302
29312
  return Uo;
@@ -30076,18 +30086,18 @@ const d2 = /* @__PURE__ */ Kt(IT, [["render", f2], ["__scopeId", "data-v-722c2e2
30076
30086
  h == null ? void 0 : h.componentDefaults,
30077
30087
  "select"
30078
30088
  ), {
30079
- useInput: B,
30089
+ useInput: R,
30080
30090
  useChips: D,
30081
- multiple: R,
30091
+ multiple: E,
30082
30092
  hideDropdownIcon: O,
30083
- newValueMode: P,
30093
+ newValueMode: _,
30084
30094
  autocomplete: F,
30085
30095
  ...Y
30086
30096
  } = V, M = { ...Y };
30087
30097
  return F !== void 0 && (M.autocomplete = F === !0 ? "on" : F === !1 ? "off" : F), M;
30088
30098
  }), d = b(() => {
30089
- var R;
30090
- const V = ((R = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : R.tags) || {}, B = t.schema["x-quickforms-quasar"] || {};
30099
+ var E;
30100
+ const V = ((E = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : E.tags) || {}, R = t.schema["x-quickforms-quasar"] || {};
30091
30101
  return {
30092
30102
  chip: {
30093
30103
  ...{
@@ -30097,10 +30107,10 @@ const d2 = /* @__PURE__ */ Kt(IT, [["render", f2], ["__scopeId", "data-v-722c2e2
30097
30107
  textColor: "white"
30098
30108
  },
30099
30109
  ...V.chip || {},
30100
- ...B.chip || {}
30110
+ ...R.chip || {}
30101
30111
  },
30102
30112
  // Separator pattern for pasting multiple values
30103
- separator: B.separator || V.separator || /[,;\s]+/
30113
+ separator: R.separator || V.separator || /[,;\s]+/
30104
30114
  };
30105
30115
  }), m = b(() => {
30106
30116
  const V = t.schema.items;
@@ -30110,12 +30120,12 @@ const d2 = /* @__PURE__ */ Kt(IT, [["render", f2], ["__scopeId", "data-v-722c2e2
30110
30120
  return ((V = m.value) == null ? void 0 : V.format) === "email";
30111
30121
  }), g = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
30112
30122
  function y(V) {
30113
- const B = m.value;
30114
- 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;
30123
+ const R = m.value;
30124
+ return R ? !(R.format === "email" && !g.test(V) || typeof R.minLength == "number" && V.length < R.minLength || typeof R.maxLength == "number" && V.length > R.maxLength || R.pattern && !new RegExp(R.pattern).test(V)) : !0;
30115
30125
  }
30116
30126
  function k(V) {
30117
- const B = y(V), D = { ...d.value.chip };
30118
- return B ? D : {
30127
+ const R = y(V), D = { ...d.value.chip };
30128
+ return R ? D : {
30119
30129
  ...D,
30120
30130
  color: "negative",
30121
30131
  textColor: "white",
@@ -30129,40 +30139,40 @@ const d2 = /* @__PURE__ */ Kt(IT, [["render", f2], ["__scopeId", "data-v-722c2e2
30129
30139
  function x(V) {
30130
30140
  if (!(V != null && V.trim()))
30131
30141
  return [];
30132
- const B = d.value.separator, D = typeof B == "string" ? new RegExp(B) : B;
30133
- return V.split(D).map((R) => R.trim()).filter((R) => R.length > 0);
30142
+ const R = d.value.separator, D = typeof R == "string" ? new RegExp(R) : R;
30143
+ return V.split(D).map((E) => E.trim()).filter((E) => E.length > 0);
30134
30144
  }
30135
- function C(V, B) {
30145
+ function C(V, R) {
30136
30146
  const D = x(V);
30137
30147
  if (D.length === 0) {
30138
- B();
30148
+ R();
30139
30149
  return;
30140
30150
  }
30141
- const R = Array.isArray(n.value) ? n.value : [];
30151
+ const E = Array.isArray(n.value) ? n.value : [];
30142
30152
  if (D.length === 1) {
30143
30153
  const O = D[0];
30144
- R.includes(O) ? B() : B(O, "add-unique");
30154
+ E.includes(O) ? R() : R(O, "add-unique");
30145
30155
  } else {
30146
- const O = D.filter((P) => !R.includes(P));
30147
- O.length > 0 && r([...R, ...O]), B();
30156
+ const O = D.filter((_) => !E.includes(_));
30157
+ O.length > 0 && r([...E, ...O]), R();
30148
30158
  }
30149
30159
  }
30150
- function E(V, B) {
30151
- B(() => {
30160
+ function P(V, R) {
30161
+ R(() => {
30152
30162
  });
30153
30163
  }
30154
30164
  function T(V) {
30155
30165
  if (t.disabled || t.readonly)
30156
30166
  return;
30157
- const B = Array.isArray(n.value) ? n.value : [];
30158
- r(B.filter((D) => D !== V));
30167
+ const R = Array.isArray(n.value) ? n.value : [];
30168
+ r(R.filter((D) => D !== V));
30159
30169
  }
30160
- const H = { 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: T, get QSelect() {
30170
+ const N = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: C, filterFn: P, removeValue: T, get QSelect() {
30161
30171
  return Uo;
30162
30172
  }, get QChip() {
30163
30173
  return Lm;
30164
30174
  } };
30165
- return Object.defineProperty(H, "__isScriptSetup", { enumerable: !1, value: !0 }), H;
30175
+ return Object.defineProperty(N, "__isScriptSetup", { enumerable: !1, value: !0 }), N;
30166
30176
  }
30167
30177
  });
30168
30178
  function g2(i, e, t, n, r, o) {