@quickflo/quickforms-quasar 1.19.0 → 1.19.2

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
@@ -753,9 +753,9 @@ function mc(i) {
753
753
  return i.targetUid.value && (V.for = i.targetUid.value), e.disable === !0 && (V["aria-disabled"] = "true"), V;
754
754
  });
755
755
  function T() {
756
- var N;
756
+ var F;
757
757
  const V = document.activeElement;
758
- let Y = (N = i.targetRef) == null ? void 0 : N.value;
758
+ let Y = (F = i.targetRef) == null ? void 0 : F.value;
759
759
  Y && (V === null || V.id !== i.targetUid.value) && (Y.hasAttribute("tabindex") === !0 || (Y = Y.querySelector("[tabindex]")), Y !== V && (Y == null || Y.focus({ preventScroll: !0 })));
760
760
  }
761
761
  function A() {
@@ -777,8 +777,8 @@ function mc(i) {
777
777
  function B(V) {
778
778
  var Y;
779
779
  ct(V), s.platform.is.mobile !== !0 ? (((Y = i.targetRef) == null ? void 0 : Y.value) || i.rootRef.value).focus() : i.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), e.type === "file" && (i.inputRef.value.value = null), t("update:modelValue", null), i.changeEvent === !0 && t("change", null), t("clear", e.modelValue), rt(() => {
780
- const N = a.value;
781
- d(), a.value = N;
780
+ const F = a.value;
781
+ d(), a.value = F;
782
782
  });
783
783
  }
784
784
  function _(V) {
@@ -856,11 +856,11 @@ function mc(i) {
856
856
  }, e.suffix)
857
857
  ), V.concat(qt(n.default));
858
858
  }
859
- function F() {
859
+ function N() {
860
860
  let V, Y;
861
861
  c.value === !0 ? h.value !== null ? (V = [O("div", { role: "alert" }, h.value)], Y = `q--slot-error-${h.value}`) : (V = qt(n.error), Y = "q--slot-error") : (e.hideHint !== !0 || i.focused.value === !0) && (e.hint !== void 0 ? (V = [O("div", e.hint)], Y = `q--slot-hint-${e.hint}`) : (V = qt(n.hint), Y = "q--slot-hint"));
862
- const N = e.counter === !0 || n.counter !== void 0;
863
- if (e.hideBottomSpace === !0 && N === !1 && V === void 0) return;
862
+ const F = e.counter === !0 || n.counter !== void 0;
863
+ if (e.hideBottomSpace === !0 && F === !1 && V === void 0) return;
864
864
  const M = O("div", {
865
865
  key: Y,
866
866
  class: "q-field__messages col"
@@ -870,7 +870,7 @@ function mc(i) {
870
870
  onClick: ei
871
871
  }, [
872
872
  e.hideBottomSpace === !0 ? M : O(mi, { name: "q-transition--field-message" }, () => M),
873
- N === !0 ? O("div", {
873
+ F === !0 ? O("div", {
874
874
  class: "q-field__counter"
875
875
  }, n.counter !== void 0 ? n.counter() : i.computedCounter.value) : null
876
876
  ]);
@@ -918,7 +918,7 @@ function mc(i) {
918
918
  tabindex: -1,
919
919
  ...i.controlEvents
920
920
  }, q()),
921
- m.value === !0 ? F() : null
921
+ m.value === !0 ? N() : null
922
922
  ]),
923
923
  n.after !== void 0 ? O("div", {
924
924
  class: "q-field__after q-field__marginal row no-wrap items-center",
@@ -1025,26 +1025,26 @@ function Iy(i, e, t, n) {
1025
1025
  l = void 0, r = "", o = "";
1026
1026
  return;
1027
1027
  }
1028
- const I = wh[i.mask] === void 0 ? i.mask : wh[i.mask], B = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", _ = B.replace(Ch, "\\$&"), q = [], P = [], F = [];
1028
+ const I = wh[i.mask] === void 0 ? i.mask : wh[i.mask], B = typeof i.fillMask == "string" && i.fillMask.length !== 0 ? i.fillMask.slice(0, 1) : "_", _ = B.replace(Ch, "\\$&"), q = [], P = [], N = [];
1029
1029
  let z = i.reverseFillMask === !0, R = "", V = "";
1030
1030
  I.replace(c.value.tokenRegexMask, (k, E, W, G, re) => {
1031
1031
  if (G !== void 0) {
1032
1032
  const le = c.value.tokenMap[G];
1033
- F.push(le), V = le.negate, z === !0 && (P.push("(?:" + V + "+)?(" + le.pattern + "+)?(?:" + V + "+)?(" + le.pattern + "+)?"), z = !1), P.push("(?:" + V + "+)?(" + le.pattern + ")?");
1033
+ N.push(le), V = le.negate, z === !0 && (P.push("(?:" + V + "+)?(" + le.pattern + "+)?(?:" + V + "+)?(" + le.pattern + "+)?"), z = !1), P.push("(?:" + V + "+)?(" + le.pattern + ")?");
1034
1034
  } else if (W !== void 0)
1035
- R = "\\" + (W === "\\" ? "" : W), F.push(W), q.push("([^" + R + "]+)?" + R + "?");
1035
+ R = "\\" + (W === "\\" ? "" : W), N.push(W), q.push("([^" + R + "]+)?" + R + "?");
1036
1036
  else {
1037
1037
  const le = E !== void 0 ? E : re;
1038
- R = le === "\\" ? "\\\\\\\\" : le.replace(Ch, "\\\\$&"), F.push(le), q.push("([^" + R + "]+)?" + R + "?");
1038
+ R = le === "\\" ? "\\\\\\\\" : le.replace(Ch, "\\\\$&"), N.push(le), q.push("([^" + R + "]+)?" + R + "?");
1039
1039
  }
1040
1040
  });
1041
1041
  const Y = new RegExp(
1042
1042
  "^" + q.join("") + "(" + (R === "" ? "." : "[^" + R + "]") + "+)?" + (R === "" ? "" : "[" + R + "]*") + "$"
1043
- ), N = P.length - 1, M = P.map((k, E) => E === 0 && i.reverseFillMask === !0 ? new RegExp("^" + _ + "*" + k) : E === N ? new RegExp(
1043
+ ), F = P.length - 1, M = P.map((k, E) => E === 0 && i.reverseFillMask === !0 ? new RegExp("^" + _ + "*" + k) : E === F ? new RegExp(
1044
1044
  "^" + k + "(" + (V === "" ? "." : V) + "+)?" + (i.reverseFillMask === !0 ? "$" : _ + "*")
1045
1045
  ) : new RegExp("^" + k));
1046
- s = F, l = (k) => {
1047
- const E = Y.exec(i.reverseFillMask === !0 ? k : k.slice(0, F.length + 1));
1046
+ s = N, l = (k) => {
1047
+ const E = Y.exec(i.reverseFillMask === !0 ? k : k.slice(0, N.length + 1));
1048
1048
  E !== null && (k = E.slice(1).join(""));
1049
1049
  const W = [], G = M.length;
1050
1050
  for (let re = 0, le = k; re < G; re++) {
@@ -1054,10 +1054,10 @@ function Iy(i, e, t, n) {
1054
1054
  le = le.slice(Te.shift().length), W.push(...Te);
1055
1055
  }
1056
1056
  return W.length !== 0 ? W.join("") : k;
1057
- }, r = F.map((k) => typeof k == "string" ? k : yt).join(""), o = r.split(yt).join(B);
1057
+ }, r = N.map((k) => typeof k == "string" ? k : yt).join(""), o = r.split(yt).join(B);
1058
1058
  }
1059
1059
  function y(I, B, _) {
1060
- const q = n.value, P = q.selectionEnd, F = q.value.length - P, z = H(I);
1060
+ const q = n.value, P = q.selectionEnd, N = q.value.length - P, z = H(I);
1061
1061
  B === !0 && g();
1062
1062
  const R = T(z, B), V = i.fillMask !== !1 ? j(R) : R, Y = d.value !== V;
1063
1063
  q.value !== V && (q.value = V), Y === !0 && (d.value = V), document.activeElement === q && rt(() => {
@@ -1075,16 +1075,16 @@ function Iy(i, e, t, n) {
1075
1075
  return;
1076
1076
  }
1077
1077
  if (["deleteContentBackward", "deleteContentForward"].indexOf(_) !== -1) {
1078
- const M = i.reverseFillMask === !0 ? P === 0 ? V.length > R.length ? 1 : 0 : Math.max(0, V.length - (V === o ? 0 : Math.min(R.length, F) + 1)) + 1 : P;
1078
+ const M = i.reverseFillMask === !0 ? P === 0 ? V.length > R.length ? 1 : 0 : Math.max(0, V.length - (V === o ? 0 : Math.min(R.length, N) + 1)) + 1 : P;
1079
1079
  q.setSelectionRange(M, M, "forward");
1080
1080
  return;
1081
1081
  }
1082
1082
  if (i.reverseFillMask === !0)
1083
1083
  if (Y === !0) {
1084
- const M = Math.max(0, V.length - (V === o ? 0 : Math.min(R.length, F + 1)));
1084
+ const M = Math.max(0, V.length - (V === o ? 0 : Math.min(R.length, N + 1)));
1085
1085
  M === 1 && P === 1 ? q.setSelectionRange(M, M, "forward") : v.rightReverse(q, M);
1086
1086
  } else {
1087
- const M = V.length - F;
1087
+ const M = V.length - N;
1088
1088
  q.setSelectionRange(M, M, "backward");
1089
1089
  }
1090
1090
  else if (Y === !0) {
@@ -1095,8 +1095,8 @@ function Iy(i, e, t, n) {
1095
1095
  v.right(q, M);
1096
1096
  }
1097
1097
  });
1098
- const N = i.unmaskedValue === !0 ? H(V) : V;
1099
- String(i.modelValue) !== N && (i.modelValue !== null || N !== "") && t(N, !0);
1098
+ const F = i.unmaskedValue === !0 ? H(V) : V;
1099
+ String(i.modelValue) !== F && (i.modelValue !== null || F !== "") && t(F, !0);
1100
1100
  }
1101
1101
  function w(I, B, _) {
1102
1102
  const q = T(H(I.value));
@@ -1142,13 +1142,13 @@ function Iy(i, e, t, n) {
1142
1142
  },
1143
1143
  rightReverse(I, B) {
1144
1144
  const _ = I.value.length, q = p(_), P = q.slice(0, B + 1).indexOf(yt) === -1;
1145
- let F = Math.min(_, B + 1);
1146
- for (; F <= _; F++)
1147
- if (q[F - 1] === yt) {
1148
- B = F, B > 0 && P === !0 && B--;
1145
+ let N = Math.min(_, B + 1);
1146
+ for (; N <= _; N++)
1147
+ if (q[N - 1] === yt) {
1148
+ B = N, B > 0 && P === !0 && B--;
1149
1149
  break;
1150
1150
  }
1151
- if (F > _ && q[B - 1] !== void 0 && q[B - 1] !== yt)
1151
+ if (N > _ && q[B - 1] !== void 0 && q[B - 1] !== yt)
1152
1152
  return v.leftReverse(I, _);
1153
1153
  I.setSelectionRange(B, B, "forward");
1154
1154
  }
@@ -1163,8 +1163,8 @@ function Iy(i, e, t, n) {
1163
1163
  I.shiftKey && u === void 0 && (u = B.selectionDirection === "forward" ? _ : q);
1164
1164
  const P = v[(I.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1165
1165
  if (I.preventDefault(), P(B, u === _ ? q : _), I.shiftKey) {
1166
- const F = B.selectionStart;
1167
- B.setSelectionRange(Math.min(u, F), Math.max(u, F), "forward");
1166
+ const N = B.selectionStart;
1167
+ B.setSelectionRange(Math.min(u, N), Math.max(u, N), "forward");
1168
1168
  }
1169
1169
  } else I.keyCode === 8 && i.reverseFillMask !== !0 && _ === q ? (v.left(B, _), B.setSelectionRange(B.selectionStart, q, "backward")) : I.keyCode === 46 && i.reverseFillMask === !0 && _ === q && (v.rightReverse(B, q), B.setSelectionRange(_, B.selectionEnd, "forward"));
1170
1170
  }
@@ -1175,8 +1175,8 @@ function Iy(i, e, t, n) {
1175
1175
  return A(I, B);
1176
1176
  const _ = s;
1177
1177
  let q = 0, P = "";
1178
- for (let F = 0; F < _.length; F++) {
1179
- const z = I[q], R = _[F];
1178
+ for (let N = 0; N < _.length; N++) {
1179
+ const z = I[q], R = _[N];
1180
1180
  if (typeof R == "string")
1181
1181
  P += R, B === !0 && z === R && q++;
1182
1182
  else if (z !== void 0 && R.regex.test(z))
@@ -1188,20 +1188,20 @@ function Iy(i, e, t, n) {
1188
1188
  }
1189
1189
  function A(I, B) {
1190
1190
  const _ = s, q = r.indexOf(yt);
1191
- let P = I.length - 1, F = "";
1191
+ let P = I.length - 1, N = "";
1192
1192
  for (let z = _.length - 1; z >= 0 && P !== -1; z--) {
1193
1193
  const R = _[z];
1194
1194
  let V = I[P];
1195
1195
  if (typeof R == "string")
1196
- F = R + F, B === !0 && V === R && P--;
1196
+ N = R + N, B === !0 && V === R && P--;
1197
1197
  else if (V !== void 0 && R.regex.test(V))
1198
1198
  do
1199
- F = (R.transform !== void 0 ? R.transform(V) : V) + F, P--, V = I[P];
1199
+ N = (R.transform !== void 0 ? R.transform(V) : V) + N, P--, V = I[P];
1200
1200
  while (q === z && V !== void 0 && R.regex.test(V));
1201
1201
  else
1202
- return F;
1202
+ return N;
1203
1203
  }
1204
- return F;
1204
+ return N;
1205
1205
  }
1206
1206
  function H(I) {
1207
1207
  return typeof I != "string" || l === void 0 ? typeof I == "number" ? l("" + I) : I : l(I);
@@ -1328,7 +1328,7 @@ const cr = Je({
1328
1328
  onBlur: Y,
1329
1329
  onFocus: fi
1330
1330
  };
1331
- return k.onCompositionstart = k.onCompositionupdate = k.onCompositionend = S, m.value === !0 && (k.onKeydown = y, k.onClick = w), i.autogrow === !0 && (k.onAnimationend = F), k;
1331
+ return k.onCompositionstart = k.onCompositionupdate = k.onCompositionend = S, m.value === !0 && (k.onKeydown = y, k.onClick = w), i.autogrow === !0 && (k.onAnimationend = N), k;
1332
1332
  }), I = x(() => {
1333
1333
  const k = {
1334
1334
  tabindex: 0,
@@ -1396,7 +1396,7 @@ const cr = Je({
1396
1396
  }
1397
1397
  i.autogrow === !0 && R();
1398
1398
  }
1399
- function F(k) {
1399
+ function N(k) {
1400
1400
  e("animationend", k), R();
1401
1401
  }
1402
1402
  function z(k, E) {
@@ -1423,7 +1423,7 @@ const cr = Je({
1423
1423
  h.value !== null && (h.value.value = f.value !== void 0 ? f.value : "");
1424
1424
  });
1425
1425
  }
1426
- function N() {
1426
+ function F() {
1427
1427
  return o.hasOwnProperty("value") === !0 ? o.value : f.value !== void 0 ? f.value : "";
1428
1428
  }
1429
1429
  ht(() => {
@@ -1453,12 +1453,12 @@ const cr = Je({
1453
1453
  style: i.inputStyle,
1454
1454
  ...I.value,
1455
1455
  ...j.value,
1456
- ...i.type !== "file" ? { value: N() } : v.value
1456
+ ...i.type !== "file" ? { value: F() } : v.value
1457
1457
  }),
1458
1458
  getShadowControl: () => O("div", {
1459
1459
  class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (A.value === !0 ? "" : " text-no-wrap")
1460
1460
  }, [
1461
- O("span", { class: "invisible" }, N()),
1461
+ O("span", { class: "invisible" }, F()),
1462
1462
  O("span", i.shadowText)
1463
1463
  ])
1464
1464
  });
@@ -3155,7 +3155,7 @@ const Zm = Je({
3155
3155
  ), m = Zi(i, c), { registerTick: p, removeTick: g } = Tr(), { registerTimeout: y } = Ao(), { transitionProps: w, transitionStyle: v } = kc(i), { localScrollTarget: b, changeScrollEvent: S, unconfigureScrollTarget: T } = jm(i, E), { anchorEl: A, canShow: H } = bc({ showing: d }), { hide: j } = jl({
3156
3156
  showing: d,
3157
3157
  canShow: H,
3158
- handleShow: N,
3158
+ handleShow: F,
3159
3159
  handleHide: M,
3160
3160
  hideOnRouteChange: f,
3161
3161
  processOnMount: !0
@@ -3172,7 +3172,7 @@ const Zm = Je({
3172
3172
  i.anchor || (i.cover === !0 ? "center middle" : "bottom start"),
3173
3173
  c.lang.rtl
3174
3174
  )
3175
- ), F = x(() => i.cover === !0 ? P.value : ll(i.self || "top start", c.lang.rtl)), z = x(
3175
+ ), N = x(() => i.cover === !0 ? P.value : ll(i.self || "top start", c.lang.rtl)), z = x(
3176
3176
  () => (i.square === !0 ? " q-menu--square" : "") + (m.value === !0 ? " q-menu--dark q-dark" : "")
3177
3177
  ), R = x(() => i.autoClose === !0 ? { onClick: W } : {}), V = x(
3178
3178
  () => d.value === !0 && i.persistent !== !0
@@ -3186,7 +3186,7 @@ const Zm = Je({
3186
3186
  te && te.contains(document.activeElement) !== !0 && (te = te.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || te.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || te.querySelector("[autofocus], [data-autofocus]") || te, te.focus({ preventScroll: !0 }));
3187
3187
  });
3188
3188
  }
3189
- function N(te) {
3189
+ function F(te) {
3190
3190
  if (r = i.noRefocus === !1 ? document.activeElement : null, Jm(G), I(), E(), o = void 0, te !== void 0 && (i.touchPosition || i.contextMenu)) {
3191
3191
  const et = Vr(te);
3192
3192
  if (et.left !== void 0) {
@@ -3230,7 +3230,7 @@ const Zm = Je({
3230
3230
  offset: i.offset,
3231
3231
  anchorEl: A.value,
3232
3232
  anchorOrigin: P.value,
3233
- selfOrigin: F.value,
3233
+ selfOrigin: N.value,
3234
3234
  absoluteOffset: o,
3235
3235
  fit: i.fit,
3236
3236
  cover: i.cover,
@@ -3407,7 +3407,7 @@ const Fb = {
3407
3407
  Rb(s);
3408
3408
  const j = x(
3409
3409
  () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${i.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${i.position} ${Fb[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" : "")
3410
- ), I = x(() => s.value === !0 && i.seamless !== !0), B = x(() => i.autoClose === !0 ? { onClick: N } : {}), _ = x(() => [
3410
+ ), I = x(() => s.value === !0 && i.seamless !== !0), B = x(() => i.autoClose === !0 ? { onClick: F } : {}), _ = x(() => [
3411
3411
  `q-dialog fullscreen no-pointer-events q-dialog--${I.value === !0 ? "modal" : "seamless"}`,
3412
3412
  n.class
3413
3413
  ]);
@@ -3418,7 +3418,7 @@ const Fb = {
3418
3418
  });
3419
3419
  function q(W) {
3420
3420
  var G;
3421
- u = i.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, Y(i.maximized), b(), l.value = !0, i.noFocus !== !0 ? ((G = document.activeElement) == null || G.blur(), p(F)) : g(), m(() => {
3421
+ u = i.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, Y(i.maximized), b(), l.value = !0, i.noFocus !== !0 ? ((G = document.activeElement) == null || G.blur(), p(N)) : g(), m(() => {
3422
3422
  if (r.proxy.$q.platform.is.ios === !0) {
3423
3423
  if (i.seamless !== !0 && document.activeElement) {
3424
3424
  const { top: re, bottom: le } = document.activeElement.getBoundingClientRect(), { innerHeight: Te } = window, te = window.visualViewport !== void 0 ? window.visualViewport.height : Te;
@@ -3437,7 +3437,7 @@ const Fb = {
3437
3437
  S(!0), l.value = !1, t("hide", W);
3438
3438
  }, i.transitionDuration);
3439
3439
  }
3440
- function F(W) {
3440
+ function N(W) {
3441
3441
  Vl(() => {
3442
3442
  let G = o.value;
3443
3443
  if (G !== null) {
@@ -3453,10 +3453,10 @@ const Fb = {
3453
3453
  });
3454
3454
  }
3455
3455
  function z(W) {
3456
- W && typeof W.focus == "function" ? W.focus({ preventScroll: !0 }) : F(), t("shake");
3456
+ W && typeof W.focus == "function" ? W.focus({ preventScroll: !0 }) : N(), t("shake");
3457
3457
  const G = o.value;
3458
3458
  G !== null && (G.classList.remove("q-animate--scale"), G.classList.add("q-animate--scale"), a !== null && clearTimeout(a), a = setTimeout(() => {
3459
- a = null, o.value !== null && (G.classList.remove("q-animate--scale"), F());
3459
+ a = null, o.value !== null && (G.classList.remove("q-animate--scale"), N());
3460
3460
  }, 170));
3461
3461
  }
3462
3462
  function R() {
@@ -3468,18 +3468,18 @@ const Fb = {
3468
3468
  function Y(W) {
3469
3469
  W === !0 ? c !== !0 && (hs < 1 && document.body.classList.add("q-body--dialog"), hs++, c = !0) : c === !0 && (hs < 2 && document.body.classList.remove("q-body--dialog"), hs--, c = !1);
3470
3470
  }
3471
- function N(W) {
3471
+ function F(W) {
3472
3472
  h !== !0 && (H(W), t("click", W));
3473
3473
  }
3474
3474
  function M(W) {
3475
3475
  i.persistent !== !0 && i.noBackdropDismiss !== !0 ? H(W) : i.noShake !== !0 && z();
3476
3476
  }
3477
3477
  function k(W) {
3478
- i.allowFocusOutside !== !0 && T.value === !0 && Fm(o.value, W.target) !== !0 && F('[tabindex]:not([tabindex="-1"])');
3478
+ i.allowFocusOutside !== !0 && T.value === !0 && Fm(o.value, W.target) !== !0 && N('[tabindex]:not([tabindex="-1"])');
3479
3479
  }
3480
3480
  Object.assign(r.proxy, {
3481
3481
  // expose public methods
3482
- focus: F,
3482
+ focus: N,
3483
3483
  shake: z,
3484
3484
  // private but needed by QSelect
3485
3485
  __updateRefocusTarget(W) {
@@ -3634,10 +3634,10 @@ function jb({
3634
3634
  z();
3635
3635
  }), pe(T, H);
3636
3636
  function H() {
3637
- F(c, !0);
3637
+ N(c, !0);
3638
3638
  }
3639
3639
  function j(M) {
3640
- F(M === void 0 ? c : M);
3640
+ N(M === void 0 ? c : M);
3641
3641
  }
3642
3642
  function I(M, k) {
3643
3643
  const E = e();
@@ -3760,7 +3760,7 @@ function jb({
3760
3760
  var M;
3761
3761
  (M = v.value) == null || M.focus();
3762
3762
  }
3763
- function F(M, k) {
3763
+ function N(M, k) {
3764
3764
  const E = 1 * n.value;
3765
3765
  (k === !0 || Array.isArray(f) === !1) && (f = []);
3766
3766
  const W = f.length;
@@ -3872,11 +3872,11 @@ function jb({
3872
3872
  K0(() => {
3873
3873
  z();
3874
3874
  });
3875
- let N = !1;
3875
+ let F = !1;
3876
3876
  return Wo(() => {
3877
- N = !0;
3877
+ F = !0;
3878
3878
  }), ac(() => {
3879
- if (N !== !0) return;
3879
+ if (F !== !0) return;
3880
3880
  const M = e();
3881
3881
  u !== void 0 && M !== void 0 && M !== null && M.nodeType !== 8 ? jh(
3882
3882
  M,
@@ -3891,7 +3891,7 @@ function jb({
3891
3891
  virtualScrollSliceSizeComputed: g,
3892
3892
  setVirtualScrollSize: z,
3893
3893
  onVirtualScrollEvt: Y,
3894
- localResetVirtualScroll: F,
3894
+ localResetVirtualScroll: N,
3895
3895
  padVirtualScroll: R,
3896
3896
  scrollTo: I,
3897
3897
  reset: H,
@@ -4079,12 +4079,12 @@ const Ko = Je({
4079
4079
  let h = null, d = null, f, m, p, g = null, y, w, v, b;
4080
4080
  const S = X(null), T = X(null), A = X(null), H = X(null), j = X(null), I = _m(i), B = Bm(dr), _ = x(() => Array.isArray(i.options) ? i.options.length : 0), q = x(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4081
4081
  virtualScrollSliceRange: P,
4082
- virtualScrollSliceSizeComputed: F,
4082
+ virtualScrollSliceSizeComputed: N,
4083
4083
  localResetVirtualScroll: z,
4084
4084
  padVirtualScroll: R,
4085
4085
  onVirtualScrollEvt: V,
4086
4086
  scrollTo: Y,
4087
- setVirtualScrollSize: N
4087
+ setVirtualScrollSize: F
4088
4088
  } = jb({
4089
4089
  virtualScrollLength: _,
4090
4090
  getVirtualScrollTarget: vn,
@@ -4326,11 +4326,11 @@ const Ko = Je({
4326
4326
  i.multiple === !0 && Array.isArray(i.modelValue) === !0 ? Oe(i.modelValue.length - 1) : i.multiple !== !0 && i.modelValue !== null && t("update:modelValue", null);
4327
4327
  return;
4328
4328
  }
4329
- (D.keyCode === 35 || D.keyCode === 36) && (typeof a.value != "string" || a.value.length === 0) && (ct(D), l.value = -1, ie(D.keyCode === 36 ? 1 : -1, i.multiple)), (D.keyCode === 33 || D.keyCode === 34) && F.value !== void 0 && (ct(D), l.value = Math.max(
4329
+ (D.keyCode === 35 || D.keyCode === 36) && (typeof a.value != "string" || a.value.length === 0) && (ct(D), l.value = -1, ie(D.keyCode === 36 ? 1 : -1, i.multiple)), (D.keyCode === 33 || D.keyCode === 34) && N.value !== void 0 && (ct(D), l.value = Math.max(
4330
4330
  -1,
4331
4331
  Math.min(
4332
4332
  _.value,
4333
- l.value + (D.keyCode === 33 ? -1 : 1) * F.value.view
4333
+ l.value + (D.keyCode === 33 ? -1 : 1) * N.value.view
4334
4334
  )
4335
4335
  ), ie(D.keyCode === 33 ? 1 : -1, i.multiple)), (D.keyCode === 38 || D.keyCode === 40) && (ct(D), ie(D.keyCode === 38 ? -1 : 1, i.multiple));
4336
4336
  const Be = _.value;
@@ -4501,7 +4501,7 @@ const Ko = Je({
4501
4501
  ah(D), ve();
4502
4502
  }
4503
4503
  function sa() {
4504
- N();
4504
+ F();
4505
4505
  }
4506
4506
  function C(D) {
4507
4507
  var de;
@@ -4569,7 +4569,7 @@ const Ko = Je({
4569
4569
  }
4570
4570
  function De() {
4571
4571
  const D = document.activeElement;
4572
- (D === null || D.id !== M.targetUid.value) && T.value !== null && T.value !== D && T.value.focus(), N();
4572
+ (D === null || D.id !== M.targetUid.value) && T.value !== null && T.value !== D && T.value.focus(), F();
4573
4573
  }
4574
4574
  function ve() {
4575
4575
  s.value !== !0 && (l.value = -1, o.value === !0 && (o.value = !1), M.focused.value === !1 && (g !== null && (clearTimeout(g), g = null), M.innerLoading.value === !0 && (t("filterAbort"), M.innerLoading.value = !1, c.value = !1)));
@@ -5103,8 +5103,8 @@ const It = Je({
5103
5103
  onMousedown: I
5104
5104
  };
5105
5105
  if (n.$q.platform.has.touch === !0) {
5106
- const F = i.onTouchstart !== void 0 ? "" : "Passive";
5107
- P[`onTouchstart${F}`] = j;
5106
+ const N = i.onTouchstart !== void 0 ? "" : "Passive";
5107
+ P[`onTouchstart${N}`] = j;
5108
5108
  }
5109
5109
  return P;
5110
5110
  }
@@ -5123,8 +5123,8 @@ const It = Je({
5123
5123
  if (d.value !== null) {
5124
5124
  if (P !== void 0) {
5125
5125
  if (P.defaultPrevented === !0) return;
5126
- const F = document.activeElement;
5127
- if (i.type === "submit" && F !== document.body && d.value.contains(F) === !1 && F.contains(d.value) === !1) {
5126
+ const N = document.activeElement;
5127
+ if (i.type === "submit" && N !== document.body && d.value.contains(N) === !1 && N.contains(d.value) === !1) {
5128
5128
  P.qAvoidFocus !== !0 && d.value.focus();
5129
5129
  const z = () => {
5130
5130
  var R;
@@ -5151,8 +5151,8 @@ const It = Je({
5151
5151
  if (d.value !== null && !((P == null ? void 0 : P.type) === "blur" && document.activeElement === d.value)) {
5152
5152
  if ((P == null ? void 0 : P.type) === "keyup") {
5153
5153
  if (gr === d.value && dn(P, [13, 32]) === !0) {
5154
- const F = new MouseEvent("click", P);
5155
- F.qKeyEvent = !0, P.defaultPrevented === !0 && ei(F), P.cancelBubble === !0 && fi(F), d.value.dispatchEvent(F), ct(P), P.qKeyEvent = !0;
5154
+ const N = new MouseEvent("click", P);
5155
+ N.qKeyEvent = !0, P.defaultPrevented === !0 && ei(N), P.cancelBubble === !0 && fi(N), d.value.dispatchEvent(N), ct(P), P.qKeyEvent = !0;
5156
5156
  }
5157
5157
  t("keyup", P);
5158
5158
  }
@@ -5161,8 +5161,8 @@ const It = Je({
5161
5161
  }
5162
5162
  function _(P) {
5163
5163
  var z, R;
5164
- const F = f.value;
5165
- P !== !0 && (mr === d.value || pr === d.value) && F !== null && F !== document.activeElement && (F.setAttribute("tabindex", -1), F.focus()), mr === d.value && (m !== null && (m.removeEventListener("touchcancel", B, xi), m.removeEventListener("touchend", B, xi)), mr = m = null), pr === d.value && (document.removeEventListener("mouseup", B, xi), pr = null), gr === d.value && (document.removeEventListener("keyup", B, !0), (z = d.value) == null || z.removeEventListener("blur", B, xi), gr = null), (R = d.value) == null || R.classList.remove("q-btn--active");
5164
+ const N = f.value;
5165
+ P !== !0 && (mr === d.value || pr === d.value) && N !== null && N !== document.activeElement && (N.setAttribute("tabindex", -1), N.focus()), mr === d.value && (m !== null && (m.removeEventListener("touchcancel", B, xi), m.removeEventListener("touchend", B, xi)), mr = m = null), pr === d.value && (document.removeEventListener("mouseup", B, xi), pr = null), gr === d.value && (document.removeEventListener("keyup", B, !0), (z = d.value) == null || z.removeEventListener("blur", B, xi), gr = null), (R = d.value) == null || R.classList.remove("q-btn--active");
5166
5166
  }
5167
5167
  function q(P) {
5168
5168
  ct(P), P.qSkipRipple = !0;
@@ -5190,13 +5190,13 @@ const It = Je({
5190
5190
  role: "img"
5191
5191
  })
5192
5192
  );
5193
- const F = [
5193
+ const N = [
5194
5194
  O("span", {
5195
5195
  class: "q-focus-helper",
5196
5196
  ref: f
5197
5197
  })
5198
5198
  ];
5199
- return i.loading === !0 && i.percentage !== void 0 && F.push(
5199
+ return i.loading === !0 && i.percentage !== void 0 && N.push(
5200
5200
  O("span", {
5201
5201
  class: "q-btn__progress absolute-full overflow-hidden" + (i.darkPercentage === !0 ? " q-btn__progress--dark" : "")
5202
5202
  }, [
@@ -5205,11 +5205,11 @@ const It = Je({
5205
5205
  style: b.value
5206
5206
  })
5207
5207
  ])
5208
- ), F.push(
5208
+ ), N.push(
5209
5209
  O("span", {
5210
5210
  class: "q-btn__content text-center col items-center q-anchor--skip " + s.value
5211
5211
  }, P)
5212
- ), i.loading !== null && F.push(
5212
+ ), i.loading !== null && N.push(
5213
5213
  O(mi, {
5214
5214
  name: "q-transition--fade"
5215
5215
  }, () => i.loading === !0 ? [
@@ -5222,7 +5222,7 @@ const It = Je({
5222
5222
  O(
5223
5223
  u.value,
5224
5224
  T.value,
5225
- F
5225
+ N
5226
5226
  ),
5227
5227
  [[
5228
5228
  yc,
@@ -6115,7 +6115,7 @@ const mg = Je({
6115
6115
  const d = Pm(i), f = gc(d), m = X(null), p = X(Xe()), g = X(u()), y = x(() => Xe()), w = x(() => u()), v = x(() => c()), b = X(K(p.value, g.value)), S = X(i.defaultView), T = x(() => r.lang.rtl === !0 ? "right" : "left"), A = X(T.value), H = X(T.value), j = b.value.year, I = X(j - j % tn - (j < 0 ? tn : 0)), B = X(null), _ = x(() => {
6116
6116
  const C = i.landscape === !0 ? "landscape" : "portrait";
6117
6117
  return `q-date q-date--${C} q-date--${C}-${i.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (i.bordered === !0 ? " q-date--bordered" : "") + (i.square === !0 ? " q-date--square no-border-radius" : "") + (i.flat === !0 ? " q-date--flat no-shadow" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-date--readonly" : "");
6118
- }), q = x(() => i.color || "primary"), P = x(() => i.textColor || "white"), F = x(
6118
+ }), q = x(() => i.color || "primary"), P = x(() => i.textColor || "white"), N = x(
6119
6119
  () => i.emitImmediately === !0 && i.multiple !== !0 && i.range !== !0
6120
6120
  ), z = x(() => Array.isArray(i.modelValue) === !0 ? i.modelValue : i.modelValue !== null && i.modelValue !== void 0 ? [i.modelValue] : []), R = x(
6121
6121
  () => z.value.filter((C) => typeof C == "string").map((C) => ut(C, p.value, g.value)).filter(
@@ -6127,7 +6127,7 @@ const mg = Je({
6127
6127
  }), Y = x(() => i.calendar !== "persian" ? (C) => new Date(C.year, C.month - 1, C.day) : (C) => {
6128
6128
  const L = Jh(C.year, C.month, C.day);
6129
6129
  return new Date(L.gy, L.gm - 1, L.gd);
6130
- }), N = x(() => i.calendar === "persian" ? nn : (C, L, U) => fg(
6130
+ }), F = x(() => i.calendar === "persian" ? nn : (C, L, U) => fg(
6131
6131
  new Date(
6132
6132
  C.year,
6133
6133
  C.month - 1,
@@ -6449,17 +6449,17 @@ const mg = Je({
6449
6449
  }
6450
6450
  function xe(C) {
6451
6451
  let L = b.value.year, U = Number(b.value.month) + C;
6452
- U === 13 ? (U = 1, L++) : U === 0 && (U = 12, L--), Rt(L, U), F.value === !0 && vn("month");
6452
+ U === 13 ? (U = 1, L++) : U === 0 && (U = 12, L--), Rt(L, U), N.value === !0 && vn("month");
6453
6453
  }
6454
6454
  function Me(C) {
6455
6455
  const L = Number(b.value.year) + C;
6456
- Rt(L, b.value.month), F.value === !0 && vn("year");
6456
+ Rt(L, b.value.month), N.value === !0 && vn("year");
6457
6457
  }
6458
6458
  function Re(C) {
6459
- Rt(C, b.value.month), S.value = i.defaultView === "Years" ? "Months" : "Calendar", F.value === !0 && vn("year");
6459
+ Rt(C, b.value.month), S.value = i.defaultView === "Years" ? "Months" : "Calendar", N.value === !0 && vn("year");
6460
6460
  }
6461
6461
  function Ht(C) {
6462
- Rt(b.value.year, C), S.value = "Calendar", F.value === !0 && vn("month");
6462
+ Rt(b.value.year, C), S.value = "Calendar", N.value === !0 && vn("month");
6463
6463
  }
6464
6464
  function qe(C, L) {
6465
6465
  const U = _t.value[L];
@@ -6511,7 +6511,7 @@ const mg = Je({
6511
6511
  };
6512
6512
  }
6513
6513
  function en(C, L, U) {
6514
- return C.from !== void 0 ? { from: N.value(C.from, L, U), to: N.value(C.to, L, U) } : N.value(C, L, U);
6514
+ return C.from !== void 0 ? { from: F.value(C.from, L, U), to: F.value(C.to, L, U) } : F.value(C, L, U);
6515
6515
  }
6516
6516
  function $r(C) {
6517
6517
  let L;
@@ -7279,7 +7279,7 @@ const gg = Je({
7279
7279
  const K = v.value === "hour", ie = K === !0 ? 12 : 60, xe = b.value[v.value];
7280
7280
  let Re = `rotate(${Math.round(xe * (360 / ie)) - 180}deg) translateX(-50%)`;
7281
7281
  return K === !0 && H.value === !0 && b.value.hour >= 12 && (Re += " scale(.7)"), { transform: Re };
7282
- }), I = x(() => b.value.hour !== null), B = x(() => I.value === !0 && b.value.minute !== null), _ = x(() => i.hourOptions !== void 0 ? (K) => i.hourOptions.includes(K) : i.options !== void 0 ? (K) => i.options(K, null, null) : null), q = x(() => i.minuteOptions !== void 0 ? (K) => i.minuteOptions.includes(K) : i.options !== void 0 ? (K) => i.options(b.value.hour, K, null) : null), P = x(() => i.secondOptions !== void 0 ? (K) => i.secondOptions.includes(K) : i.options !== void 0 ? (K) => i.options(b.value.hour, b.value.minute, K) : null), F = x(() => {
7282
+ }), I = x(() => b.value.hour !== null), B = x(() => I.value === !0 && b.value.minute !== null), _ = x(() => i.hourOptions !== void 0 ? (K) => i.hourOptions.includes(K) : i.options !== void 0 ? (K) => i.options(K, null, null) : null), q = x(() => i.minuteOptions !== void 0 ? (K) => i.minuteOptions.includes(K) : i.options !== void 0 ? (K) => i.options(b.value.hour, K, null) : null), P = x(() => i.secondOptions !== void 0 ? (K) => i.secondOptions.includes(K) : i.options !== void 0 ? (K) => i.options(b.value.hour, b.value.minute, K) : null), N = x(() => {
7283
7283
  if (_.value === null)
7284
7284
  return null;
7285
7285
  const K = k(0, 11, _.value), ie = k(12, 11, _.value);
@@ -7287,7 +7287,7 @@ const gg = Je({
7287
7287
  }), z = x(() => q.value !== null ? k(0, 59, q.value) : null), R = x(() => P.value !== null ? k(0, 59, P.value) : null), V = x(() => {
7288
7288
  switch (v.value) {
7289
7289
  case "hour":
7290
- return F.value;
7290
+ return N.value;
7291
7291
  case "minute":
7292
7292
  return z.value;
7293
7293
  case "second":
@@ -7303,7 +7303,7 @@ const gg = Je({
7303
7303
  Ht.push({ val: Rt, index: tt, disable: Fn, label: vn });
7304
7304
  }
7305
7305
  return Ht;
7306
- }), N = x(() => [[
7306
+ }), F = x(() => [[
7307
7307
  w1,
7308
7308
  te,
7309
7309
  void 0,
@@ -7373,7 +7373,7 @@ const gg = Je({
7373
7373
  return lo(i.defaultDate, "YYYY/MM/DD", void 0, i.calendar);
7374
7374
  }
7375
7375
  function le() {
7376
- return pc(n) === !0 || V.value !== null && (V.value.values.length === 0 || v.value === "hour" && H.value !== !0 && F.value[S.value === !0 ? "am" : "pm"].values.length === 0);
7376
+ return pc(n) === !0 || V.value !== null && (V.value.values.length === 0 || v.value === "hour" && H.value !== !0 && N.value[S.value === !0 ? "am" : "pm"].values.length === 0);
7377
7377
  }
7378
7378
  function Te() {
7379
7379
  const K = m.value, { top: ie, left: xe, width: Me } = K.getBoundingClientRect(), Re = Me / 2;
@@ -7401,11 +7401,11 @@ const gg = Je({
7401
7401
  );
7402
7402
  let qe, tt = Math.asin(Re / Ht) * (180 / Math.PI);
7403
7403
  if (Me.top < ie.top ? tt = ie.left < Me.left ? 90 - tt : 270 + tt : tt = ie.left < Me.left ? tt + 90 : 270 - tt, v.value === "hour") {
7404
- if (qe = tt / 30, F.value !== null) {
7405
- const Rt = H.value !== !0 ? S.value === !0 : F.value.am.values.length !== 0 && F.value.pm.values.length !== 0 ? Ht >= ie.dist : F.value.am.values.length !== 0;
7404
+ if (qe = tt / 30, N.value !== null) {
7405
+ const Rt = H.value !== !0 ? S.value === !0 : N.value.am.values.length !== 0 && N.value.pm.values.length !== 0 ? Ht >= ie.dist : N.value.am.values.length !== 0;
7406
7406
  qe = W(
7407
7407
  qe + (Rt === !0 ? 0 : 12),
7408
- F.value[Rt === !0 ? "am" : "pm"]
7408
+ N.value[Rt === !0 ? "am" : "pm"]
7409
7409
  );
7410
7410
  } else
7411
7411
  qe = Math.round(qe), H.value === !0 ? Ht < ie.dist ? qe < 12 && (qe += 12) : qe === 12 && (qe = 0) : S.value === !0 && qe === 12 ? qe = 0 : S.value === !1 && qe !== 12 && (qe += 12);
@@ -7442,8 +7442,8 @@ const gg = Je({
7442
7442
  v.value = "hour";
7443
7443
  else if ([37, 39].includes(K.keyCode)) {
7444
7444
  const ie = K.keyCode === 37 ? -1 : 1;
7445
- if (F.value !== null) {
7446
- const xe = H.value === !0 ? F.value.values : F.value[S.value === !0 ? "am" : "pm"].values;
7445
+ if (N.value !== null) {
7446
+ const xe = H.value === !0 ? N.value.values : N.value[S.value === !0 ? "am" : "pm"].values;
7447
7447
  if (xe.length === 0) return;
7448
7448
  if (b.value.hour === null)
7449
7449
  Jt(xe[0]);
@@ -7645,7 +7645,7 @@ const gg = Je({
7645
7645
  }, [O("span", ie.label)]))
7646
7646
  ])
7647
7647
  ]),
7648
- N.value
7648
+ F.value
7649
7649
  )
7650
7650
  ])
7651
7651
  ])),
@@ -8204,8 +8204,8 @@ const od = /* @__PURE__ */ Kt(q1, [["render", _1], ["__scopeId", "data-v-76abc7a
8204
8204
  Y === !0 ? jn[i.group] = h : jn[i.group] === h && delete jn[i.group];
8205
8205
  }), V = pe(
8206
8206
  () => jn[i.group],
8207
- (Y, N) => {
8208
- N === h && Y !== void 0 && Y !== h && u();
8207
+ (Y, F) => {
8208
+ F === h && Y !== void 0 && Y !== h && u();
8209
8209
  }
8210
8210
  );
8211
8211
  d = () => {
@@ -8270,7 +8270,7 @@ const od = /* @__PURE__ */ Kt(q1, [["render", _1], ["__scopeId", "data-v-76abc7a
8270
8270
  p.value === !0 ? g.value : S.value
8271
8271
  )), O(Mo, R, q);
8272
8272
  }
8273
- function F() {
8273
+ function N() {
8274
8274
  return In(
8275
8275
  O("div", {
8276
8276
  key: "e-content",
@@ -8291,7 +8291,7 @@ const od = /* @__PURE__ */ Kt(q1, [["render", _1], ["__scopeId", "data-v-76abc7a
8291
8291
  duration: i.duration,
8292
8292
  onShow: j,
8293
8293
  onHide: I
8294
- }, F)
8294
+ }, N)
8295
8295
  ];
8296
8296
  return i.expandSeparator === !0 && R.push(
8297
8297
  O(uu, {
@@ -8526,7 +8526,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8526
8526
  ],
8527
8527
  setup(i, { slots: e, emit: t, attrs: n }) {
8528
8528
  let r, o;
8529
- const s = je(), { proxy: { $q: l } } = s, a = X(null), u = X(!1), c = x(() => ll(i.anchor, l.lang.rtl)), h = x(() => ll(i.self, l.lang.rtl)), d = x(() => i.persistent !== !0), { registerTick: f, removeTick: m } = Tr(), { registerTimeout: p } = Ao(), { transitionProps: g, transitionStyle: y } = kc(i), { localScrollTarget: w, changeScrollEvent: v, unconfigureScrollTarget: b } = jm(i, N), { anchorEl: S, canShow: T, anchorEvents: A } = bc({ showing: u, configureAnchorEl: Y }), { show: H, hide: j } = jl({
8529
+ const s = je(), { proxy: { $q: l } } = s, a = X(null), u = X(!1), c = x(() => ll(i.anchor, l.lang.rtl)), h = x(() => ll(i.self, l.lang.rtl)), d = x(() => i.persistent !== !0), { registerTick: f, removeTick: m } = Tr(), { registerTimeout: p } = Ao(), { transitionProps: g, transitionStyle: y } = kc(i), { localScrollTarget: w, changeScrollEvent: v, unconfigureScrollTarget: b } = jm(i, F), { anchorEl: S, canShow: T, anchorEvents: A } = bc({ showing: u, configureAnchorEl: Y }), { show: H, hide: j } = jl({
8530
8530
  showing: u,
8531
8531
  canShow: T,
8532
8532
  handleShow: q,
@@ -8558,7 +8558,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8558
8558
  }
8559
8559
  function q(E) {
8560
8560
  I(), f(() => {
8561
- o = new MutationObserver(() => z()), o.observe(a.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), z(), N();
8561
+ o = new MutationObserver(() => z()), o.observe(a.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), z(), F();
8562
8562
  }), r === void 0 && (r = pe(
8563
8563
  () => l.screen.width + "|" + l.screen.height + "|" + i.self + "|" + i.anchor + "|" + l.lang.rtl,
8564
8564
  z
@@ -8567,11 +8567,11 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8567
8567
  }, i.transitionDuration);
8568
8568
  }
8569
8569
  function P(E) {
8570
- m(), B(), F(), p(() => {
8570
+ m(), B(), N(), p(() => {
8571
8571
  B(!0), t("hide", E);
8572
8572
  }, i.transitionDuration);
8573
8573
  }
8574
- function F() {
8574
+ function N() {
8575
8575
  o !== void 0 && (o.disconnect(), o = void 0), r !== void 0 && (r(), r = void 0), b(), Zn(A, "tooltipTemp");
8576
8576
  }
8577
8577
  function z() {
@@ -8612,7 +8612,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8612
8612
  ];
8613
8613
  ln(A, "anchor", E);
8614
8614
  }
8615
- function N() {
8615
+ function F() {
8616
8616
  if (S.value !== null || i.scrollTarget !== void 0) {
8617
8617
  w.value = Um(S.value, i.scrollTarget);
8618
8618
  const E = i.noParentEvent === !0 ? z : j;
@@ -8637,7 +8637,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8637
8637
  function k() {
8638
8638
  return O(mi, g.value, M);
8639
8639
  }
8640
- return ht(F), Object.assign(s.proxy, { updatePosition: z }), _;
8640
+ return ht(N), Object.assign(s.proxy, { updatePosition: z }), _;
8641
8641
  }
8642
8642
  }), pg = Je({
8643
8643
  name: "QCardSection",
@@ -8687,11 +8687,11 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8687
8687
  const z = (V = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : V.array, R = (Y = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : Y.object;
8688
8688
  return (z == null ? void 0 : z.showOptionalIndicator) ?? (R == null ? void 0 : R.showOptionalIndicator) ?? !0;
8689
8689
  }), p = x(() => {
8690
- var Y, N;
8690
+ var Y, F;
8691
8691
  const z = r.schema["x-section-style"];
8692
8692
  if (z)
8693
8693
  return z;
8694
- const R = (Y = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : Y.array, V = (N = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : N.object;
8694
+ const R = (Y = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : Y.array, V = (F = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : F.object;
8695
8695
  return (R == null ? void 0 : R.sectionStyle) ?? (V == null ? void 0 : V.sectionStyle) ?? "card";
8696
8696
  }), g = x(() => `quickform-section-${p.value}`), y = x(() => {
8697
8697
  var E, W;
@@ -8700,7 +8700,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8700
8700
  color: "primary",
8701
8701
  icon: "add",
8702
8702
  label: ((W = f == null ? void 0 : f.labels) == null ? void 0 : W.addItem) || "Add item"
8703
- }, N = {
8703
+ }, F = {
8704
8704
  flat: !0,
8705
8705
  round: !0,
8706
8706
  dense: !0,
@@ -8712,7 +8712,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8712
8712
  ...z.addButton || {},
8713
8713
  ...R.addButton || {}
8714
8714
  }, k = {
8715
- ...N,
8715
+ ...F,
8716
8716
  ...z.removeButton || {},
8717
8717
  ...R.removeButton || {}
8718
8718
  };
@@ -8738,8 +8738,8 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8738
8738
  for (let V = 0; V < z.length; V++) {
8739
8739
  const Y = z[V];
8740
8740
  if (Y !== null && typeof Y == "object") {
8741
- let N = S.get(Y);
8742
- N || (N = n(), S.set(Y, N)), R.push(N);
8741
+ let F = S.get(Y);
8742
+ F || (F = n(), S.set(Y, F)), R.push(F);
8743
8743
  } else
8744
8744
  R.push(n());
8745
8745
  }
@@ -8757,9 +8757,9 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8757
8757
  R.splice(z, 1), o.value = R;
8758
8758
  }, I = (z, R) => {
8759
8759
  if (R === "up" && z === 0 || R === "down" && z === b.value.length - 1) return;
8760
- const V = [...b.value], Y = R === "up" ? z - 1 : z + 1, N = V[z];
8761
- V[z] = V[Y], V[Y] = N, o.value = V;
8762
- }, B = x(() => !(r.disabled || r.readonly || r.schema.maxItems && b.value.length >= r.schema.maxItems)), _ = x(() => !(r.disabled || r.readonly || r.schema.minItems && b.value.length <= r.schema.minItems)), F = { get stableIdCounter() {
8760
+ const V = [...b.value], Y = R === "up" ? z - 1 : z + 1, F = V[z];
8761
+ V[z] = V[Y], V[Y] = F, o.value = V;
8762
+ }, B = x(() => !(r.disabled || r.readonly || r.schema.maxItems && b.value.length >= r.schema.maxItems)), _ = x(() => !(r.disabled || r.readonly || r.schema.minItems && b.value.length <= r.schema.minItems)), N = { get stableIdCounter() {
8763
8763
  return t;
8764
8764
  }, set stableIdCounter(z) {
8765
8765
  t = z;
@@ -8769,11 +8769,11 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8769
8769
  if (R === "none" || R === !1)
8770
8770
  return "";
8771
8771
  if (typeof R == "string" && R.includes("{{")) {
8772
- const N = b.value[z];
8773
- if (typeof N == "object" && N !== null) {
8772
+ const F = b.value[z];
8773
+ if (typeof F == "object" && F !== null) {
8774
8774
  let M = R, k = !1;
8775
8775
  if (M = M.replace(/\{\{([^}]+)\}\}/g, (E, W) => {
8776
- const G = N[W.trim()];
8776
+ const G = F[W.trim()];
8777
8777
  return G != null && G !== "" ? (k = !0, String(G)) : "";
8778
8778
  }), M = M.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), k && M.trim())
8779
8779
  return M.trim();
@@ -8789,7 +8789,7 @@ const sd = /* @__PURE__ */ Kt(L1, [["render", Q1], ["__scopeId", "data-v-813eef2
8789
8789
  }, get FieldRenderer() {
8790
8790
  return El;
8791
8791
  } };
8792
- return Object.defineProperty(F, "__isScriptSetup", { enumerable: !1, value: !0 }), F;
8792
+ return Object.defineProperty(N, "__isScriptSetup", { enumerable: !1, value: !0 }), N;
8793
8793
  }
8794
8794
  }), K1 = ["id"], Y1 = { class: "quickform-array-header" }, G1 = {
8795
8795
  key: 0,
@@ -9058,37 +9058,39 @@ const cx = /* @__PURE__ */ Pt({
9058
9058
  label: t.label,
9059
9059
  componentType: "keyvalue"
9060
9060
  }), f = x(() => {
9061
- var V, Y;
9062
- const A = ((V = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : V.keyvalue) || {}, H = t.schema["x-quickforms-quasar"] || {}, j = H.addButtonPosition ?? A.addButtonPosition ?? "bottom-left", I = H.showHeaders ?? A.showHeaders ?? !1, B = H.keyLabel ?? A.keyLabel ?? "Key", _ = H.valueLabel ?? A.valueLabel ?? "Value", q = t.schema["x-infer-types"] ?? H.inferTypes ?? A.inferTypes ?? !1, P = {
9061
+ var F, M;
9062
+ const A = ((F = d == null ? void 0 : d.quickformsDefaults) == null ? void 0 : F.keyvalue) || {}, H = t.schema["x-quickforms-quasar"] || {}, j = H.addButtonPosition ?? A.addButtonPosition ?? "bottom-left", I = H.showHeaders ?? A.showHeaders ?? !1, B = H.keyLabel ?? A.keyLabel ?? "Key", _ = H.valueLabel ?? A.valueLabel ?? "Value", q = t.schema["x-infer-types"] ?? H.inferTypes ?? A.inferTypes ?? !1, P = t.schema["x-key-placeholder"] ?? H.keyPlaceholder ?? A.keyPlaceholder ?? "key", N = t.schema["x-value-placeholder"] ?? H.valuePlaceholder ?? A.valuePlaceholder ?? "value", z = {
9063
9063
  outline: !0,
9064
9064
  color: "primary",
9065
9065
  icon: "add",
9066
- label: ((Y = d == null ? void 0 : d.labels) == null ? void 0 : Y.addItem) || "Add Parameter",
9066
+ label: ((M = d == null ? void 0 : d.labels) == null ? void 0 : M.addItem) || "Add Parameter",
9067
9067
  size: "sm"
9068
- }, F = {
9068
+ }, R = {
9069
9069
  flat: !0,
9070
9070
  round: !0,
9071
9071
  dense: !0,
9072
9072
  size: "sm",
9073
9073
  icon: "close",
9074
9074
  color: "negative"
9075
- }, z = {
9076
- ...P,
9075
+ }, V = {
9076
+ ...z,
9077
9077
  ...A.addButton || {},
9078
9078
  ...H.addButton || {}
9079
- }, R = {
9080
- ...F,
9079
+ }, Y = {
9080
+ ...R,
9081
9081
  ...A.removeButton || {},
9082
9082
  ...H.removeButton || {}
9083
9083
  };
9084
9084
  return {
9085
9085
  addButtonPosition: j,
9086
- addButton: z,
9087
- removeButton: R,
9086
+ addButton: V,
9087
+ removeButton: Y,
9088
9088
  showHeaders: I,
9089
9089
  keyLabel: B,
9090
9090
  valueLabel: _,
9091
- inferTypes: q
9091
+ inferTypes: q,
9092
+ keyPlaceholder: P,
9093
+ valuePlaceholder: N
9092
9094
  };
9093
9095
  }), m = x(() => {
9094
9096
  const A = f.value.addButtonPosition;
@@ -9246,21 +9248,21 @@ function xx(i, e, t, n, r, o) {
9246
9248
  "onUpdate:modelValue": (u) => s.key = u,
9247
9249
  outlined: "",
9248
9250
  dense: "",
9249
- placeholder: "key",
9251
+ placeholder: n.quickformsFeatures.keyPlaceholder,
9250
9252
  class: "col",
9251
9253
  disable: t.disabled,
9252
9254
  readonly: t.readonly
9253
- }, { ref_for: !0 }, n.inputProps), null, 16, ["modelValue", "onUpdate:modelValue", "disable", "readonly"]),
9255
+ }, { ref_for: !0 }, n.inputProps), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disable", "readonly"]),
9254
9256
  $(n.QInput, ot({
9255
9257
  modelValue: s.value,
9256
9258
  "onUpdate:modelValue": (u) => s.value = u,
9257
9259
  outlined: "",
9258
9260
  dense: "",
9259
- placeholder: "value",
9261
+ placeholder: n.quickformsFeatures.valuePlaceholder,
9260
9262
  class: "col",
9261
9263
  disable: t.disabled,
9262
9264
  readonly: t.readonly
9263
- }, { ref_for: !0 }, n.inputProps), null, 16, ["modelValue", "onUpdate:modelValue", "disable", "readonly"]),
9265
+ }, { ref_for: !0 }, n.inputProps), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "disable", "readonly"]),
9264
9266
  $(n.QBtn, ot({ ref_for: !0 }, n.quickformsFeatures.removeButton, {
9265
9267
  disable: t.disabled || t.readonly,
9266
9268
  onClick: (u) => n.removePair(s.id),
@@ -17946,22 +17948,22 @@ function Sw(i, e, t) {
17946
17948
  }
17947
17949
  function v(S, T, A) {
17948
17950
  let H = 1e9, j = -1e9, I = [];
17949
- function B(P, F, z, R, V) {
17950
- let Y = i.coordsAtPos(P, P == A.to ? -2 : 2), N = i.coordsAtPos(z, z == A.from ? 2 : -2);
17951
- !Y || !N || (H = Math.min(Y.top, N.top, H), j = Math.max(Y.bottom, N.bottom, j), V == st.LTR ? I.push(o && F ? h : Y.left, o && R ? d : N.right) : I.push(!o && R ? h : N.left, !o && F ? d : Y.right));
17951
+ function B(P, N, z, R, V) {
17952
+ let Y = i.coordsAtPos(P, P == A.to ? -2 : 2), F = i.coordsAtPos(z, z == A.from ? 2 : -2);
17953
+ !Y || !F || (H = Math.min(Y.top, F.top, H), j = Math.max(Y.bottom, F.bottom, j), V == st.LTR ? I.push(o && N ? h : Y.left, o && R ? d : F.right) : I.push(!o && R ? h : F.left, !o && N ? d : Y.right));
17952
17954
  }
17953
17955
  let _ = S ?? A.from, q = T ?? A.to;
17954
17956
  for (let P of i.visibleRanges)
17955
17957
  if (P.to > _ && P.from < q)
17956
- for (let F = Math.max(P.from, _), z = Math.min(P.to, q); ; ) {
17957
- let R = i.state.doc.lineAt(F);
17958
+ for (let N = Math.max(P.from, _), z = Math.min(P.to, q); ; ) {
17959
+ let R = i.state.doc.lineAt(N);
17958
17960
  for (let V of i.bidiSpans(R)) {
17959
- let Y = V.from + R.from, N = V.to + R.from;
17961
+ let Y = V.from + R.from, F = V.to + R.from;
17960
17962
  if (Y >= z)
17961
17963
  break;
17962
- N > F && B(Math.max(Y, F), S == null && Y <= _, Math.min(N, z), T == null && N >= q, V.dir);
17964
+ F > N && B(Math.max(Y, N), S == null && Y <= _, Math.min(F, z), T == null && F >= q, V.dir);
17963
17965
  }
17964
- if (F = R.to + 1, F >= z)
17966
+ if (N = R.to + 1, N >= z)
17965
17967
  break;
17966
17968
  }
17967
17969
  return I.length == 0 && B(_, S == null, q, T == null, i.textDirection), { top: H, bottom: j, horizontal: I };
@@ -20477,7 +20479,7 @@ function AS(i) {
20477
20479
  var e;
20478
20480
  let { buffer: t, nodeSet: n, maxBufferLength: r = Kp, 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;
20479
20481
  function h(S, T, A, H, j, I) {
20480
- let { id: B, start: _, end: q, size: P } = l, F = c, z = u;
20482
+ let { id: B, start: _, end: q, size: P } = l, N = c, z = u;
20481
20483
  if (P < 0)
20482
20484
  if (l.next(), P == -1) {
20483
20485
  let M = o[B];
@@ -20491,31 +20493,31 @@ function AS(i) {
20491
20493
  return;
20492
20494
  } else
20493
20495
  throw new RangeError(`Unrecognized record size: ${P}`);
20494
- let R = a[B], V, Y, N = _ - S;
20496
+ let R = a[B], V, Y, F = _ - S;
20495
20497
  if (q - _ <= r && (Y = g(l.pos - T, j))) {
20496
20498
  let M = new Uint16Array(Y.size - Y.skip), k = l.pos - Y.size, E = M.length;
20497
20499
  for (; l.pos > k; )
20498
20500
  E = y(Y.start, M, E);
20499
- V = new En(M, q - Y.start, n), N = Y.start - S;
20501
+ V = new En(M, q - Y.start, n), F = Y.start - S;
20500
20502
  } else {
20501
20503
  let M = l.pos - P;
20502
20504
  l.next();
20503
20505
  let k = [], E = [], W = B >= s ? B : -1, G = 0, re = q;
20504
20506
  for (; l.pos > M; )
20505
- W >= 0 && l.id == W && l.size >= 0 ? (l.end <= re - r && (m(k, E, _, G, l.end, re, W, F, z), G = k.length, re = l.end), l.next()) : I > 2500 ? d(_, M, k, E) : h(_, M, k, E, W, I + 1);
20506
- if (W >= 0 && G > 0 && G < k.length && m(k, E, _, G, _, re, W, F, z), k.reverse(), E.reverse(), W > -1 && G > 0) {
20507
+ W >= 0 && l.id == W && l.size >= 0 ? (l.end <= re - r && (m(k, E, _, G, l.end, re, W, N, z), G = k.length, re = l.end), l.next()) : I > 2500 ? d(_, M, k, E) : h(_, M, k, E, W, I + 1);
20508
+ if (W >= 0 && G > 0 && G < k.length && m(k, E, _, G, _, re, W, N, z), k.reverse(), E.reverse(), W > -1 && G > 0) {
20507
20509
  let le = f(R, z);
20508
20510
  V = Qc(R, k, E, 0, k.length, 0, q - _, le, le);
20509
20511
  } else
20510
- V = p(R, k, E, q - _, F - q, z);
20512
+ V = p(R, k, E, q - _, N - q, z);
20511
20513
  }
20512
- A.push(V), H.push(N);
20514
+ A.push(V), H.push(F);
20513
20515
  }
20514
20516
  function d(S, T, A, H) {
20515
20517
  let j = [], I = 0, B = -1;
20516
20518
  for (; l.pos > T; ) {
20517
- let { id: _, start: q, end: P, size: F } = l;
20518
- if (F > 4)
20519
+ let { id: _, start: q, end: P, size: N } = l;
20520
+ if (N > 4)
20519
20521
  l.next();
20520
20522
  else {
20521
20523
  if (B > -1 && q < B)
@@ -20525,8 +20527,8 @@ function AS(i) {
20525
20527
  }
20526
20528
  if (I) {
20527
20529
  let _ = new Uint16Array(I * 4), q = j[j.length - 2];
20528
- for (let P = j.length - 3, F = 0; P >= 0; P -= 3)
20529
- _[F++] = j[P], _[F++] = j[P + 1] - q, _[F++] = j[P + 2] - q, _[F++] = F;
20530
+ for (let P = j.length - 3, N = 0; P >= 0; P -= 3)
20531
+ _[N++] = j[P], _[N++] = j[P + 1] - q, _[N++] = j[P + 2] - q, _[N++] = N;
20530
20532
  A.push(new En(_, j[2] - q, n)), H.push(q - S);
20531
20533
  }
20532
20534
  }
@@ -20542,10 +20544,10 @@ function AS(i) {
20542
20544
  };
20543
20545
  }
20544
20546
  function m(S, T, A, H, j, I, B, _, q) {
20545
- let P = [], F = [];
20547
+ let P = [], N = [];
20546
20548
  for (; S.length > H; )
20547
- P.push(S.pop()), F.push(T.pop() + A - j);
20548
- S.push(p(n.types[B], P, F, I - j, _ - I, q)), T.push(j - A);
20549
+ P.push(S.pop()), N.push(T.pop() + A - j);
20550
+ S.push(p(n.types[B], P, N, I - j, _ - I, q)), T.push(j - A);
20549
20551
  }
20550
20552
  function p(S, T, A, H, j, I, B) {
20551
20553
  if (I) {
@@ -20566,11 +20568,11 @@ function AS(i) {
20566
20568
  _.size = H, _.start = j, _.skip = I, I += 4, H += 4, A.next();
20567
20569
  continue;
20568
20570
  }
20569
- let F = A.pos - P;
20570
- if (P < 0 || F < q || A.start < B)
20571
+ let N = A.pos - P;
20572
+ if (P < 0 || N < q || A.start < B)
20571
20573
  break;
20572
20574
  let z = A.id >= s ? 4 : 0, R = A.start;
20573
- for (A.next(); A.pos > F; ) {
20575
+ for (A.next(); A.pos > N; ) {
20574
20576
  if (A.size < 0)
20575
20577
  if (A.size == -3)
20576
20578
  z += 4;
@@ -27700,18 +27702,18 @@ const WO = "#e5c07b", nm = "#e06c75", QO = "#56b6c2", UO = "#ffffff", Zs = "#abb
27700
27702
  { immediate: !0 }
27701
27703
  );
27702
27704
  const g = x(() => {
27703
- var F, z;
27705
+ var N, z;
27704
27706
  const q = t.schema["x-json-height"];
27705
27707
  if (q)
27706
27708
  return q;
27707
- const P = (z = (F = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : F.jsoneditor) == null ? void 0 : z.height;
27709
+ const P = (z = (N = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : N.jsoneditor) == null ? void 0 : z.height;
27708
27710
  return P || "300px";
27709
27711
  }), y = x(() => {
27710
- var F, z;
27712
+ var N, z;
27711
27713
  const q = t.schema["x-json-dark-theme"];
27712
27714
  if (q !== void 0)
27713
27715
  return console.log("[JSON Editor] Using darkTheme from schema:", q), q === !0;
27714
- const P = (z = (F = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : F.jsoneditor) == null ? void 0 : z.darkTheme;
27716
+ const P = (z = (N = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : N.jsoneditor) == null ? void 0 : z.darkTheme;
27715
27717
  if (P !== void 0)
27716
27718
  return console.log(
27717
27719
  "[JSON Editor] Using darkTheme from quickformsDefaults:",
@@ -27724,9 +27726,9 @@ const WO = "#e5c07b", nm = "#e06c75", QO = "#56b6c2", UO = "#ffffff", Zs = "#abb
27724
27726
  return console.log("[JSON Editor] Using default darkTheme: false"), !1;
27725
27727
  });
27726
27728
  function w(q) {
27727
- const P = q.state.doc.toString(), F = q.state.selection.main.head;
27729
+ const P = q.state.doc.toString(), N = q.state.selection.main.head;
27728
27730
  try {
27729
- const z = JSON.parse(P), R = JSON.stringify(z, null, 2), V = P.length > 0 ? F / P.length : 0, Y = Math.min(
27731
+ const z = JSON.parse(P), R = JSON.stringify(z, null, 2), V = P.length > 0 ? N / P.length : 0, Y = Math.min(
27730
27732
  Math.round(V * R.length),
27731
27733
  R.length
27732
27734
  );
@@ -27739,25 +27741,25 @@ const WO = "#e5c07b", nm = "#e06c75", QO = "#56b6c2", UO = "#ffffff", Zs = "#abb
27739
27741
  }
27740
27742
  }
27741
27743
  const v = x(() => {
27742
- var P, F;
27744
+ var P, N;
27743
27745
  const q = t.schema["x-json-line-numbers"];
27744
- return q !== void 0 ? q : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.lineNumbers) ?? !1;
27746
+ return q !== void 0 ? q : ((N = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : N.lineNumbers) ?? !1;
27745
27747
  }), b = x(() => {
27746
- var P, F;
27748
+ var P, N;
27747
27749
  const q = t.schema["x-json-lint-gutter"];
27748
- return q !== void 0 ? q : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.lintGutter) ?? !1;
27750
+ return q !== void 0 ? q : ((N = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : N.lintGutter) ?? !1;
27749
27751
  }), S = x(() => {
27750
- var P, F;
27752
+ var P, N;
27751
27753
  const q = t.schema["x-json-tab-size"];
27752
- return q !== void 0 ? q : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.tabSize) ?? 2;
27754
+ return q !== void 0 ? q : ((N = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : N.tabSize) ?? 2;
27753
27755
  }), T = x(() => {
27754
- var P, F;
27756
+ var P, N;
27755
27757
  const q = t.schema["x-json-indent-with-tab"];
27756
- return q !== void 0 ? q : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.indentWithTab) ?? !0;
27758
+ return q !== void 0 ? q : ((N = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : N.indentWithTab) ?? !0;
27757
27759
  }), A = x(() => {
27758
- var P, F;
27760
+ var P, N;
27759
27761
  const q = t.schema["x-json-format-key"];
27760
- return q !== void 0 ? q : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.formatKey) ?? "Ctrl-.";
27762
+ return q !== void 0 ? q : ((N = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : N.formatKey) ?? "Ctrl-.";
27761
27763
  }), H = x(() => {
27762
27764
  console.log("[JSON Editor] Building extensions:", {
27763
27765
  showLineNumbers: v.value,
@@ -27794,10 +27796,10 @@ const WO = "#e5c07b", nm = "#e06c75", QO = "#56b6c2", UO = "#ffffff", Zs = "#abb
27794
27796
  function B(q, P) {
27795
27797
  if (!p.value)
27796
27798
  try {
27797
- const F = JSON.parse(q);
27798
- r(F), m.value = null;
27799
- } catch (F) {
27800
- m.value = F.message;
27799
+ const N = JSON.parse(q);
27800
+ r(N), m.value = null;
27801
+ } catch (N) {
27802
+ m.value = N.message;
27801
27803
  }
27802
27804
  }
27803
27805
  const _ = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: d, code: f, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: w, showLineNumbers: v, showLintGutter: b, tabSize: S, indentWithTab: T, formatKey: A, extensions: H, displayError: j, editorKey: I, handleChange: B, get Codemirror() {
@@ -28165,12 +28167,12 @@ const pT = ["left", "center", "right", "justify"], vT = Je({
28165
28167
  () => `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" : "")
28166
28168
  ), q = x(
28167
28169
  () => "q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position " + B.value + (i.contentClass !== void 0 ? ` ${i.contentClass}` : "")
28168
- ), P = x(() => i.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), F = x(() => i.vertical !== !0 && r.lang.rtl === !0), z = x(() => Oo === !1 && F.value === !0);
28169
- pe(F, k), pe(() => i.modelValue, (Z) => {
28170
+ ), P = x(() => i.vertical === !0 ? { container: "height", content: "offsetHeight", scroll: "scrollHeight" } : { container: "width", content: "offsetWidth", scroll: "scrollWidth" }), N = x(() => i.vertical !== !0 && r.lang.rtl === !0), z = x(() => Oo === !1 && N.value === !0);
28171
+ pe(N, k), pe(() => i.modelValue, (Z) => {
28170
28172
  R({ name: Z, setCurrent: !0, skipEmit: !0 });
28171
28173
  }), pe(() => i.outsideArrows, V);
28172
28174
  function R({ name: Z, setCurrent: ye, skipEmit: we }) {
28173
- m.value !== Z && (we !== !0 && i["onUpdate:modelValue"] !== void 0 && t("update:modelValue", Z), (ye === !0 || i["onUpdate:modelValue"] === void 0) && (N(m.value, Z), m.value = Z));
28175
+ m.value !== Z && (we !== !0 && i["onUpdate:modelValue"] !== void 0 && t("update:modelValue", Z), (ye === !0 || i["onUpdate:modelValue"] === void 0) && (F(m.value, Z), m.value = Z));
28174
28176
  }
28175
28177
  function V() {
28176
28178
  o(() => {
@@ -28192,7 +28194,7 @@ const pT = ["left", "center", "right", "justify"], vT = Je({
28192
28194
  ), Ue = ye > 0 && we > ye;
28193
28195
  p.value = Ue, Ue === !0 && s(k), w.value = ye < parseInt(i.breakpoint, 10);
28194
28196
  }
28195
- function N(Z, ye) {
28197
+ function F(Z, ye) {
28196
28198
  const we = Z != null && Z !== "" ? v.find((ze) => ze.name.value === Z) : null, Ue = ye != null && ye !== "" ? v.find((ze) => ze.name.value === ye) : null;
28197
28199
  if (at === !0)
28198
28200
  at = !1;
@@ -28221,7 +28223,7 @@ const pT = ["left", "center", "right", "justify"], vT = Je({
28221
28223
  const Z = f.value;
28222
28224
  if (Z === null) return;
28223
28225
  const ye = Z.getBoundingClientRect(), we = i.vertical === !0 ? Z.scrollTop : Math.abs(Z.scrollLeft);
28224
- F.value === !0 ? (g.value = Math.ceil(we + ye.width) < Z.scrollWidth - 1, y.value = we > 0) : (g.value = we > 0, y.value = i.vertical === !0 ? Math.ceil(we + ye.height) < Z.scrollHeight : Math.ceil(we + ye.width) < Z.scrollWidth);
28226
+ N.value === !0 ? (g.value = Math.ceil(we + ye.width) < Z.scrollWidth - 1, y.value = we > 0) : (g.value = we > 0, y.value = i.vertical === !0 ? Math.ceil(we + ye.height) < Z.scrollHeight : Math.ceil(we + ye.width) < Z.scrollWidth);
28225
28227
  }
28226
28228
  function E(Z) {
28227
28229
  A !== null && clearInterval(A), A = setInterval(() => {
@@ -28249,7 +28251,7 @@ const pT = ["left", "center", "right", "justify"], vT = Je({
28249
28251
  return M(we[Ue - 1]), we[Ue - 1].focus(), !0;
28250
28252
  const ze = Z === (i.vertical === !0 ? 38 : 37), Oe = Z === (i.vertical === !0 ? 40 : 39), Pe = ze === !0 ? -1 : Oe === !0 ? 1 : void 0;
28251
28253
  if (Pe !== void 0) {
28252
- const Xe = F.value === !0 ? -1 : 1, ut = we.indexOf(ye) + Pe * Xe;
28254
+ const Xe = N.value === !0 ? -1 : 1, ut = we.indexOf(ye) + Pe * Xe;
28253
28255
  return ut >= 0 && ut < Ue && (M(we[ut]), we[ut].focus({ preventScroll: !0 })), !0;
28254
28256
  }
28255
28257
  }
@@ -28537,7 +28539,7 @@ const wT = Je({
28537
28539
  label: t.label,
28538
28540
  componentType: "card"
28539
28541
  }), h = x(() => {
28540
- const N = Uo(
28542
+ const F = Uo(
28541
28543
  t.schema,
28542
28544
  c == null ? void 0 : c.componentDefaults,
28543
28545
  "select"
@@ -28547,33 +28549,33 @@ const wT = Je({
28547
28549
  fillInput: E,
28548
28550
  hideSelected: W,
28549
28551
  ...G
28550
- } = N;
28552
+ } = F;
28551
28553
  return G;
28552
- }), d = x(() => t.schema.oneOf || t.schema.anyOf || []), f = X(0), m = X(!1), p = (N) => {
28554
+ }), d = x(() => t.schema.oneOf || t.schema.anyOf || []), f = X(0), m = X(!1), p = (F) => {
28553
28555
  const M = {};
28554
- if (!(N != null && N.properties)) return M;
28555
- for (const [k, E] of Object.entries(N.properties))
28556
+ if (!(F != null && F.properties)) return M;
28557
+ for (const [k, E] of Object.entries(F.properties))
28556
28558
  E.const !== void 0 && (M[k] = E.const);
28557
28559
  return M;
28558
- }, g = (N) => {
28559
- if (!N || typeof N != "object")
28560
+ }, g = (F) => {
28561
+ if (!F || typeof F != "object")
28560
28562
  return 0;
28561
28563
  for (let k = 0; k < d.value.length; k++) {
28562
28564
  const E = d.value[k];
28563
28565
  if (E != null && E.properties)
28564
28566
  for (const [W, G] of Object.entries(E.properties)) {
28565
28567
  const re = G.const;
28566
- if (re !== void 0 && N[W] === re)
28568
+ if (re !== void 0 && F[W] === re)
28567
28569
  return k;
28568
28570
  }
28569
28571
  }
28570
- const M = d.value.findIndex((k) => Hs.validate(k, N).valid);
28572
+ const M = d.value.findIndex((k) => Hs.validate(k, F).valid);
28571
28573
  return M !== -1 ? M : 0;
28572
28574
  };
28573
28575
  Ai(() => {
28574
- const N = g(n.value);
28575
- f.value = N;
28576
- const M = d.value[N];
28576
+ const F = g(n.value);
28577
+ f.value = F;
28578
+ const M = d.value[F];
28577
28579
  if (M && M.properties) {
28578
28580
  const k = n.value && typeof n.value == "object" ? n.value : {}, E = Hs.getDefaultValue(M) || {}, W = p(M), G = { ...E, ...k, ...W }, re = Object.keys(G).some((Te) => !(Te in k)), le = Object.entries(W).some(
28579
28581
  ([Te, te]) => k[Te] !== te
@@ -28583,137 +28585,137 @@ const wT = Je({
28583
28585
  m.value = !0;
28584
28586
  });
28585
28587
  const y = x(() => d.value[f.value]), w = x(() => {
28586
- const N = y.value;
28587
- return !N || !N.properties ? [] : Object.entries(N.properties).map(([M, k]) => ({
28588
+ const F = y.value;
28589
+ return !F || !F.properties ? [] : Object.entries(F.properties).map(([M, k]) => ({
28588
28590
  key: M,
28589
28591
  schema: k,
28590
28592
  path: t.path ? `${t.path}.${M}` : M
28591
28593
  }));
28592
28594
  }), v = x(() => {
28593
- const N = y.value;
28594
- return N && N.properties && !N.oneOf && !N.anyOf && !N.allOf;
28595
+ const F = y.value;
28596
+ return F && F.properties && !F.oneOf && !F.anyOf && !F.allOf;
28595
28597
  }), b = x(() => {
28596
28598
  var k, E;
28597
- const N = t.schema["x-oneof-style"];
28598
- if (N)
28599
- return N;
28599
+ const F = t.schema["x-oneof-style"];
28600
+ if (F)
28601
+ return F;
28600
28602
  const M = (E = (k = c == null ? void 0 : c.componentDefaults) == null ? void 0 : k.oneOf) == null ? void 0 : E.displayStyle;
28601
28603
  return M || (d.value.length <= 4 ? "tabs" : "dropdown");
28602
28604
  }), S = x(() => {
28603
- const N = d.value[0];
28604
- if (!(N != null && N.properties)) return null;
28605
- for (const [M, k] of Object.entries(N.properties))
28605
+ const F = d.value[0];
28606
+ if (!(F != null && F.properties)) return null;
28607
+ for (const [M, k] of Object.entries(F.properties))
28606
28608
  if (k.const !== void 0)
28607
28609
  return M;
28608
28610
  return null;
28609
- }), T = (N) => {
28611
+ }), T = (F) => {
28610
28612
  var k;
28611
28613
  const M = S.value;
28612
- return !M || !((k = N == null ? void 0 : N.properties) != null && k[M]) ? null : N.properties[M].const ?? null;
28613
- }, A = (N, M) => {
28614
+ return !M || !((k = F == null ? void 0 : F.properties) != null && k[M]) ? null : F.properties[M].const ?? null;
28615
+ }, A = (F, M) => {
28614
28616
  const k = t.schema["x-oneof-labels"];
28615
28617
  if (k) {
28616
28618
  if (Array.isArray(k) && k[M])
28617
28619
  return k[M];
28618
28620
  if (typeof k == "object") {
28619
- const E = T(N);
28621
+ const E = T(F);
28620
28622
  if (E && k[E])
28621
28623
  return k[E];
28622
28624
  }
28623
28625
  }
28624
- return N.title || `Option ${M + 1}`;
28626
+ return F.title || `Option ${M + 1}`;
28625
28627
  }, H = x(() => {
28626
- const N = t.schema["x-oneof-descriptions"];
28627
- if (!N) return null;
28628
+ const F = t.schema["x-oneof-descriptions"];
28629
+ if (!F) return null;
28628
28630
  const M = y.value;
28629
28631
  if (!M) return null;
28630
- if (Array.isArray(N) && N[f.value])
28631
- return N[f.value];
28632
- if (typeof N == "object") {
28632
+ if (Array.isArray(F) && F[f.value])
28633
+ return F[f.value];
28634
+ if (typeof F == "object") {
28633
28635
  const k = T(M);
28634
- if (k && N[k])
28635
- return N[k];
28636
+ if (k && F[k])
28637
+ return F[k];
28636
28638
  }
28637
28639
  return null;
28638
28640
  }), j = x(() => {
28639
- const N = t.schema["x-oneof-docsUrls"];
28640
- if (!N) return null;
28641
+ const F = t.schema["x-oneof-docsUrls"];
28642
+ if (!F) return null;
28641
28643
  const M = y.value;
28642
28644
  if (!M) return null;
28643
- if (Array.isArray(N) && N[f.value])
28644
- return N[f.value];
28645
- if (typeof N == "object") {
28645
+ if (Array.isArray(F) && F[f.value])
28646
+ return F[f.value];
28647
+ if (typeof F == "object") {
28646
28648
  const k = T(M);
28647
- if (k && N[k])
28648
- return N[k];
28649
+ if (k && F[k])
28650
+ return F[k];
28649
28651
  }
28650
28652
  return null;
28651
28653
  }), I = x(() => {
28652
- const N = t.schema["x-oneof-docsIcon"];
28653
- if (!N) return "description";
28654
- if (typeof N == "string")
28655
- return N;
28654
+ const F = t.schema["x-oneof-docsIcon"];
28655
+ if (!F) return "description";
28656
+ if (typeof F == "string")
28657
+ return F;
28656
28658
  const M = y.value;
28657
- if (M && typeof N == "object") {
28659
+ if (M && typeof F == "object") {
28658
28660
  const k = T(M);
28659
- if (k && N[k])
28660
- return N[k];
28661
+ if (k && F[k])
28662
+ return F[k];
28661
28663
  }
28662
28664
  return "description";
28663
28665
  }), B = x(() => {
28664
- const N = t.schema["x-oneof-docsTooltip"];
28665
- if (!N) return "View documentation";
28666
- if (typeof N == "string")
28667
- return N;
28666
+ const F = t.schema["x-oneof-docsTooltip"];
28667
+ if (!F) return "View documentation";
28668
+ if (typeof F == "string")
28669
+ return F;
28668
28670
  const M = y.value;
28669
- if (M && typeof N == "object") {
28671
+ if (M && typeof F == "object") {
28670
28672
  const k = T(M);
28671
- if (k && N[k])
28672
- return N[k];
28673
+ if (k && F[k])
28674
+ return F[k];
28673
28675
  }
28674
28676
  return "View documentation";
28675
- }), _ = x(() => d.value.map((N, M) => ({
28676
- label: A(N, M),
28677
+ }), _ = x(() => d.value.map((F, M) => ({
28678
+ label: A(F, M),
28677
28679
  value: M
28678
28680
  }))), q = x(() => {
28679
28681
  var M, k;
28680
- const N = t.schema["x-oneof-select-label"];
28681
- return N || ((k = (M = c == null ? void 0 : c.componentDefaults) == null ? void 0 : M.oneOf) == null ? void 0 : k.selectLabel) || "Select Option";
28682
+ const F = t.schema["x-oneof-select-label"];
28683
+ return F || ((k = (M = c == null ? void 0 : c.componentDefaults) == null ? void 0 : M.oneOf) == null ? void 0 : k.selectLabel) || "Select Option";
28682
28684
  }), P = X(_.value);
28683
28685
  pe(
28684
28686
  _,
28685
- (N) => {
28686
- P.value = N;
28687
+ (F) => {
28688
+ P.value = F;
28687
28689
  },
28688
28690
  { immediate: !0 }
28689
28691
  );
28690
- const F = x(() => {
28692
+ const N = x(() => {
28691
28693
  var M, k;
28692
- const N = t.schema["x-component-props"];
28693
- return (N == null ? void 0 : N.autocomplete) !== void 0 ? N.autocomplete : ((k = (M = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : M.select) == null ? void 0 : k.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
28694
- }), z = (N, M) => {
28694
+ const F = t.schema["x-component-props"];
28695
+ return (F == null ? void 0 : F.autocomplete) !== void 0 ? F.autocomplete : ((k = (M = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : M.select) == null ? void 0 : k.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
28696
+ }), z = (F, M) => {
28695
28697
  M(() => {
28696
- if (N === "")
28698
+ if (F === "")
28697
28699
  P.value = _.value;
28698
28700
  else {
28699
- const k = N.toLowerCase();
28701
+ const k = F.toLowerCase();
28700
28702
  P.value = _.value.filter(
28701
28703
  (E) => E.label.toLowerCase().includes(k)
28702
28704
  );
28703
28705
  }
28704
28706
  });
28705
- }, R = (N) => {
28706
- const M = d.value[N];
28707
+ }, R = (F) => {
28708
+ const M = d.value[F];
28707
28709
  if (M && M.properties) {
28708
28710
  const k = n.value && typeof n.value == "object" ? n.value : {}, E = Hs.getDefaultValue(M) || {}, W = p(M), G = { ...E, ...k, ...W };
28709
28711
  r && r(G, !1);
28710
28712
  }
28711
28713
  };
28712
- pe(f, (N, M) => {
28713
- m.value && N !== M && R(N);
28714
+ pe(f, (F, M) => {
28715
+ m.value && F !== M && R(F);
28714
28716
  });
28715
- const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: d, selectedIndex: f, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: y, activeProperties: w, shouldRenderPropertiesInline: v, displayStyle: b, discriminatorField: S, getDiscriminatorValue: T, getOptionLabel: A, activeOptionDescription: H, activeOptionDocsUrl: j, activeOptionDocsIcon: I, activeOptionDocsTooltip: B, allSelectOptions: _, selectLabel: q, filteredOptions: P, useFilter: F, filterFn: z, applySchemaDefaults: R, handleOptionChange: (N) => {
28716
- f.value = N;
28717
+ const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: d, selectedIndex: f, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: y, activeProperties: w, shouldRenderPropertiesInline: v, displayStyle: b, discriminatorField: S, getDiscriminatorValue: T, getOptionLabel: A, activeOptionDescription: H, activeOptionDocsUrl: j, activeOptionDocsIcon: I, activeOptionDocsTooltip: B, allSelectOptions: _, selectLabel: q, filteredOptions: P, useFilter: N, filterFn: z, applySchemaDefaults: R, handleOptionChange: (F) => {
28718
+ f.value = F;
28717
28719
  }, get QCard() {
28718
28720
  return Oc;
28719
28721
  }, get QCardSection() {
@@ -29444,7 +29446,7 @@ const KT = /* @__PURE__ */ Pt({
29444
29446
  var W, G;
29445
29447
  const k = t.schema["x-left-placeholder"], E = (G = (W = d.value) == null ? void 0 : W.jsonlogicbuilder) == null ? void 0 : G.leftPlaceholder;
29446
29448
  return k ?? E ?? "Value or path";
29447
- }), F = x(() => {
29449
+ }), N = x(() => {
29448
29450
  var W, G;
29449
29451
  const k = t.schema["x-right-placeholder"], E = (G = (W = d.value) == null ? void 0 : W.jsonlogicbuilder) == null ? void 0 : G.rightPlaceholder;
29450
29452
  return k ?? E ?? "Value";
@@ -29502,7 +29504,7 @@ const KT = /* @__PURE__ */ Pt({
29502
29504
  ) : !1);
29503
29505
  });
29504
29506
  }
29505
- function N(k, E) {
29507
+ function F(k, E) {
29506
29508
  if (E && typeof E == "string" && V.value.length > 0 && !R.value.some(
29507
29509
  (G) => G.value === E
29508
29510
  )) {
@@ -29514,7 +29516,7 @@ const KT = /* @__PURE__ */ Pt({
29514
29516
  }
29515
29517
  E && H(k, E);
29516
29518
  }
29517
- const M = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: d, useTemplateSyntax: f, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: w, syncToValue: v, addCondition: b, addGroup: S, removeCondition: T, updateConditionLeft: A, updateConditionOperator: H, updateConditionRight: j, updateGroupLogic: I, toggleAdvancedMode: B, handleJsonChange: _, operatorDisplayMode: q, leftPlaceholder: P, rightPlaceholder: F, allowedOperators: z, operatorOptions: R, filteredOperatorOptions: V, filterOperators: Y, handleOperatorInput: N, get QBtn() {
29519
+ const M = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: d, useTemplateSyntax: f, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: w, syncToValue: v, addCondition: b, addGroup: S, removeCondition: T, updateConditionLeft: A, updateConditionOperator: H, updateConditionRight: j, updateGroupLogic: I, toggleAdvancedMode: B, handleJsonChange: _, operatorDisplayMode: q, leftPlaceholder: P, rightPlaceholder: N, allowedOperators: z, operatorOptions: R, filteredOperatorOptions: V, filterOperators: Y, handleOperatorInput: F, get QBtn() {
29518
29520
  return It;
29519
29521
  }, get QSelect() {
29520
29522
  return Ko;
@@ -30299,10 +30301,10 @@ const S2 = /* @__PURE__ */ Kt(KT, [["render", w2], ["__scopeId", "data-v-722c2e2
30299
30301
  multiple: _,
30300
30302
  hideDropdownIcon: q,
30301
30303
  newValueMode: P,
30302
- autocomplete: F,
30304
+ autocomplete: N,
30303
30305
  ...z
30304
30306
  } = j, R = { ...z };
30305
- return F !== void 0 && (R.autocomplete = F === !0 ? "on" : F === !1 ? "off" : F), R;
30307
+ return N !== void 0 && (R.autocomplete = N === !0 ? "on" : N === !1 ? "off" : N), R;
30306
30308
  }), f = x(() => {
30307
30309
  var _;
30308
30310
  const j = ((_ = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : _.tags) || {}, I = t.schema["x-quickforms-quasar"] || {};