@quickflo/quickforms-quasar 1.19.44 → 1.19.45

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
@@ -1,6 +1,6 @@
1
1
  import { SchemaUtils as Am, ComponentRegistry as Z0, rankWith as Ze, hasConst as $0, hasXRender as Ht, isArrayType as po, isStringType as ey, isNumberType as ty, isBooleanType as ny, isEnumType as iy, isDateFormat as ry, isTimeFormat as ly, isDateTimeFormat as oy, isRecordType as sy, isJsonType as ay, isObjectType as uy, hasOneOf as cy, hasAnyOf as dy, hasAllOf as fy } from "@quickflo/quickforms";
2
2
  import { ComponentRegistry as JD, SchemaUtils as XD, and as ZD, hasAllOf as $D, hasAnyOf as eP, hasConditional as tP, hasConst as nP, hasExtension as iP, hasFormat as rP, hasOneOf as lP, isArrayType as oP, isBooleanType as sP, isDateFormat as aP, isDateTimeFormat as uP, isDiscriminatedUnion as cP, isEmailFormat as dP, isEnumType as fP, isIntegerType as hP, isJsonType as mP, isNullType as gP, isNumberType as pP, isObjectType as vP, isRecordType as yP, isStringType as bP, isTimeFormat as kP, isUrlFormat as wP, not as xP, or as SP, rankWith as CP } from "@quickflo/quickforms";
3
- import { computed as v, markRaw as qm, defineComponent as Dt, reactive as Om, h as S, withDirectives as Gi, getCurrentInstance as Xe, ref as ae, onMounted as Cn, watch as pe, onBeforeUpdate as Dm, inject as $l, onBeforeUnmount as _t, nextTick as mt, onDeactivated as rl, onActivated as Ks, Transition as ln, onUnmounted as hy, Teleport as my, unref as gy, provide as Pm, createElementBlock as K, openBlock as O, normalizeStyle as lt, createVNode as F, mergeProps as gt, createSlots as Yn, withCtx as U, createTextVNode as Oe, createElementVNode as X, toDisplayString as he, createBlock as Re, createCommentVNode as R, toRaw as tr, onBeforeMount as vc, onUpdated as py, normalizeProps as vy, guardReactiveProps as yy, shallowReactive as by, vShow as Bm, normalizeClass as an, Fragment as Pe, renderList as qt, renderSlot as Ii, withModifiers as ds, shallowRef as pa } from "vue";
3
+ import { computed as v, markRaw as qm, defineComponent as Dt, reactive as Om, h as S, withDirectives as Gi, getCurrentInstance as Xe, ref as ae, onMounted as Cn, watch as pe, onBeforeUpdate as Dm, inject as $l, onBeforeUnmount as _t, nextTick as mt, onDeactivated as rl, onActivated as Ks, Transition as ln, onUnmounted as hy, Teleport as my, unref as gy, provide as Pm, createElementBlock as K, openBlock as O, normalizeStyle as lt, createVNode as F, mergeProps as gt, createSlots as Yn, withCtx as U, createTextVNode as Oe, createElementVNode as X, toDisplayString as me, createBlock as Re, createCommentVNode as R, toRaw as tr, onBeforeMount as vc, onUpdated as py, normalizeProps as vy, guardReactiveProps as yy, shallowReactive as by, vShow as Bm, normalizeClass as an, Fragment as Pe, renderList as qt, renderSlot as Ii, withModifiers as ds, shallowRef as pa } from "vue";
4
4
  import { useFormContext as ky, useFormField as wy, generateFieldId as xy, FieldRenderer as Ys, HiddenField as Sy } from "@quickflo/quickforms-vue";
5
5
  import { useFormContext as TP, useWatchFormValue as MP, useWatchFormValues as AP } from "@quickflo/quickforms-vue";
6
6
  const uu = {
@@ -717,11 +717,11 @@ function xc(n) {
717
717
  n.hasValue === void 0 && (n.hasValue = v(() => Rl(e.modelValue))), n.emitValue === void 0 && (n.emitValue = (J) => {
718
718
  t("update:modelValue", J);
719
719
  }), n.controlEvents === void 0 && (n.controlEvents = {
720
- onFocusin: ee,
720
+ onFocusin: te,
721
721
  onFocusout: Q
722
722
  }), Object.assign(n, {
723
723
  clearValue: A,
724
- onControlFocusin: ee,
724
+ onControlFocusin: te,
725
725
  onControlFocusout: Q,
726
726
  focus: E
727
727
  }), n.computedCounter === void 0 && (n.computedCounter = v(() => {
@@ -771,7 +771,7 @@ function xc(n) {
771
771
  const J = document.activeElement;
772
772
  J !== null && n.rootRef.value.contains(J) && J.blur();
773
773
  }
774
- function ee(J) {
774
+ function te(J) {
775
775
  s !== null && (clearTimeout(s), s = null), n.editable.value === !0 && n.focused.value === !1 && (n.focused.value = !0, t("focus", J));
776
776
  }
777
777
  function Q(J, se) {
@@ -786,7 +786,7 @@ function xc(n) {
786
786
  f(), a.value = be;
787
787
  });
788
788
  }
789
- function P(J) {
789
+ function B(J) {
790
790
  [13, 32].includes(J.keyCode) && A(J);
791
791
  }
792
792
  function W() {
@@ -819,7 +819,7 @@ function xc(n) {
819
819
  role: "button",
820
820
  "aria-hidden": "false",
821
821
  "aria-label": o.lang.label.clear,
822
- onKeyup: P,
822
+ onKeyup: B,
823
823
  onClick: A
824
824
  })
825
825
  ])
@@ -1009,28 +1009,28 @@ function rb(n, e, t, i) {
1009
1009
  function m() {
1010
1010
  if (g(), d.value === !0) {
1011
1011
  const Q = q(N(n.modelValue));
1012
- return n.fillMask !== !1 ? ee(Q) : Q;
1012
+ return n.fillMask !== !1 ? te(Q) : Q;
1013
1013
  }
1014
1014
  return n.modelValue;
1015
1015
  }
1016
1016
  function p(Q) {
1017
1017
  if (Q < r.length)
1018
1018
  return r.slice(-Q);
1019
- let A = "", P = r;
1020
- const W = P.indexOf(zt);
1019
+ let A = "", B = r;
1020
+ const W = B.indexOf(zt);
1021
1021
  if (W !== -1) {
1022
- for (let D = Q - P.length; D > 0; D--)
1022
+ for (let D = Q - B.length; D > 0; D--)
1023
1023
  A += zt;
1024
- P = P.slice(0, W) + A + P.slice(W);
1024
+ B = B.slice(0, W) + A + B.slice(W);
1025
1025
  }
1026
- return P;
1026
+ return B;
1027
1027
  }
1028
1028
  function g() {
1029
1029
  if (d.value = n.mask !== void 0 && n.mask.length !== 0 && h(), d.value === !1) {
1030
1030
  s = void 0, r = "", l = "";
1031
1031
  return;
1032
1032
  }
1033
- const Q = Od[n.mask] === void 0 ? n.mask : Od[n.mask], A = typeof n.fillMask == "string" && n.fillMask.length !== 0 ? n.fillMask.slice(0, 1) : "_", P = A.replace(Pd, "\\$&"), W = [], D = [], Y = [];
1033
+ const Q = Od[n.mask] === void 0 ? n.mask : Od[n.mask], A = typeof n.fillMask == "string" && n.fillMask.length !== 0 ? n.fillMask.slice(0, 1) : "_", B = A.replace(Pd, "\\$&"), W = [], D = [], Y = [];
1034
1034
  let ie = n.reverseFillMask === !0, G = "", J = "";
1035
1035
  Q.replace(c.value.tokenRegexMask, (k, _, M, I, j) => {
1036
1036
  if (I !== void 0) {
@@ -1045,8 +1045,8 @@ function rb(n, e, t, i) {
1045
1045
  });
1046
1046
  const se = new RegExp(
1047
1047
  "^" + W.join("") + "(" + (G === "" ? "." : "[^" + G + "]") + "+)?" + (G === "" ? "" : "[" + G + "]*") + "$"
1048
- ), be = D.length - 1, z = D.map((k, _) => _ === 0 && n.reverseFillMask === !0 ? new RegExp("^" + P + "*" + k) : _ === be ? new RegExp(
1049
- "^" + k + "(" + (J === "" ? "." : J) + "+)?" + (n.reverseFillMask === !0 ? "$" : P + "*")
1048
+ ), be = D.length - 1, z = D.map((k, _) => _ === 0 && n.reverseFillMask === !0 ? new RegExp("^" + B + "*" + k) : _ === be ? new RegExp(
1049
+ "^" + k + "(" + (J === "" ? "." : J) + "+)?" + (n.reverseFillMask === !0 ? "$" : B + "*")
1050
1050
  ) : new RegExp("^" + k));
1051
1051
  o = Y, s = (k) => {
1052
1052
  const _ = se.exec(n.reverseFillMask === !0 ? k : k.slice(0, Y.length + 1));
@@ -1061,17 +1061,17 @@ function rb(n, e, t, i) {
1061
1061
  return M.length !== 0 ? M.join("") : k;
1062
1062
  }, r = Y.map((k) => typeof k == "string" ? k : zt).join(""), l = r.split(zt).join(A);
1063
1063
  }
1064
- function x(Q, A, P) {
1064
+ function x(Q, A, B) {
1065
1065
  const W = i.value, D = W.selectionEnd, Y = W.value.length - D, ie = N(Q);
1066
1066
  A === !0 && g();
1067
- const G = q(ie, A), J = n.fillMask !== !1 ? ee(G) : G, se = f.value !== J;
1067
+ const G = q(ie, A), J = n.fillMask !== !1 ? te(G) : G, se = f.value !== J;
1068
1068
  W.value !== J && (W.value = J), se === !0 && (f.value = J), document.activeElement === W && mt(() => {
1069
1069
  if (J === l) {
1070
1070
  const z = n.reverseFillMask === !0 ? l.length : 0;
1071
1071
  W.setSelectionRange(z, z, "forward");
1072
1072
  return;
1073
1073
  }
1074
- if (P === "insertFromPaste" && n.reverseFillMask !== !0) {
1074
+ if (B === "insertFromPaste" && n.reverseFillMask !== !0) {
1075
1075
  const z = W.selectionEnd;
1076
1076
  let k = D - 1;
1077
1077
  for (let _ = a; _ <= k && _ < z; _++)
@@ -1079,7 +1079,7 @@ function rb(n, e, t, i) {
1079
1079
  y.right(W, k);
1080
1080
  return;
1081
1081
  }
1082
- if (["deleteContentBackward", "deleteContentForward"].indexOf(P) !== -1) {
1082
+ if (["deleteContentBackward", "deleteContentForward"].indexOf(B) !== -1) {
1083
1083
  const z = n.reverseFillMask === !0 ? D === 0 ? J.length > G.length ? 1 : 0 : Math.max(0, J.length - (J === l ? 0 : Math.min(G.length, Y) + 1)) + 1 : D;
1084
1084
  W.setSelectionRange(z, z, "forward");
1085
1085
  return;
@@ -1103,17 +1103,17 @@ function rb(n, e, t, i) {
1103
1103
  const be = n.unmaskedValue === !0 ? N(J) : J;
1104
1104
  String(n.modelValue) !== be && (n.modelValue !== null || be !== "") && t(be, !0);
1105
1105
  }
1106
- function C(Q, A, P) {
1106
+ function C(Q, A, B) {
1107
1107
  const W = q(N(Q.value));
1108
- A = Math.max(0, r.indexOf(zt), Math.min(W.length, A)), a = A, Q.setSelectionRange(A, P, "forward");
1108
+ A = Math.max(0, r.indexOf(zt), Math.min(W.length, A)), a = A, Q.setSelectionRange(A, B, "forward");
1109
1109
  }
1110
1110
  const y = {
1111
1111
  left(Q, A) {
1112
- const P = r.slice(A - 1).indexOf(zt) === -1;
1112
+ const B = r.slice(A - 1).indexOf(zt) === -1;
1113
1113
  let W = Math.max(0, A - 1);
1114
1114
  for (; W >= 0; W--)
1115
1115
  if (r[W] === zt) {
1116
- A = W, P === !0 && A++;
1116
+ A = W, B === !0 && A++;
1117
1117
  break;
1118
1118
  }
1119
1119
  if (W < 0 && r[A] !== void 0 && r[A] !== zt)
@@ -1121,40 +1121,40 @@ function rb(n, e, t, i) {
1121
1121
  A >= 0 && Q.setSelectionRange(A, A, "backward");
1122
1122
  },
1123
1123
  right(Q, A) {
1124
- const P = Q.value.length;
1125
- let W = Math.min(P, A + 1);
1126
- for (; W <= P; W++)
1124
+ const B = Q.value.length;
1125
+ let W = Math.min(B, A + 1);
1126
+ for (; W <= B; W++)
1127
1127
  if (r[W] === zt) {
1128
1128
  A = W;
1129
1129
  break;
1130
1130
  } else r[W - 1] === zt && (A = W);
1131
- if (W > P && r[A - 1] !== void 0 && r[A - 1] !== zt)
1132
- return y.left(Q, P);
1131
+ if (W > B && r[A - 1] !== void 0 && r[A - 1] !== zt)
1132
+ return y.left(Q, B);
1133
1133
  Q.setSelectionRange(A, A, "forward");
1134
1134
  },
1135
1135
  leftReverse(Q, A) {
1136
- const P = p(Q.value.length);
1136
+ const B = p(Q.value.length);
1137
1137
  let W = Math.max(0, A - 1);
1138
1138
  for (; W >= 0; W--)
1139
- if (P[W - 1] === zt) {
1139
+ if (B[W - 1] === zt) {
1140
1140
  A = W;
1141
1141
  break;
1142
- } else if (P[W] === zt && (A = W, W === 0))
1142
+ } else if (B[W] === zt && (A = W, W === 0))
1143
1143
  break;
1144
- if (W < 0 && P[A] !== void 0 && P[A] !== zt)
1144
+ if (W < 0 && B[A] !== void 0 && B[A] !== zt)
1145
1145
  return y.rightReverse(Q, 0);
1146
1146
  A >= 0 && Q.setSelectionRange(A, A, "backward");
1147
1147
  },
1148
1148
  rightReverse(Q, A) {
1149
- const P = Q.value.length, W = p(P), D = W.slice(0, A + 1).indexOf(zt) === -1;
1150
- let Y = Math.min(P, A + 1);
1151
- for (; Y <= P; Y++)
1149
+ const B = Q.value.length, W = p(B), D = W.slice(0, A + 1).indexOf(zt) === -1;
1150
+ let Y = Math.min(B, A + 1);
1151
+ for (; Y <= B; Y++)
1152
1152
  if (W[Y - 1] === zt) {
1153
1153
  A = Y, A > 0 && D === !0 && A--;
1154
1154
  break;
1155
1155
  }
1156
- if (Y > P && W[A - 1] !== void 0 && W[A - 1] !== zt)
1157
- return y.leftReverse(Q, P);
1156
+ if (Y > B && W[A - 1] !== void 0 && W[A - 1] !== zt)
1157
+ return y.leftReverse(Q, B);
1158
1158
  Q.setSelectionRange(A, A, "forward");
1159
1159
  }
1160
1160
  };
@@ -1163,25 +1163,25 @@ function rb(n, e, t, i) {
1163
1163
  }
1164
1164
  function w(Q) {
1165
1165
  if (e("keydown", Q), Xs(Q) === !0 || Q.altKey === !0) return;
1166
- const A = i.value, P = A.selectionStart, W = A.selectionEnd;
1166
+ const A = i.value, B = A.selectionStart, W = A.selectionEnd;
1167
1167
  if (Q.shiftKey || (u = void 0), Q.keyCode === 37 || Q.keyCode === 39) {
1168
- Q.shiftKey && u === void 0 && (u = A.selectionDirection === "forward" ? P : W);
1168
+ Q.shiftKey && u === void 0 && (u = A.selectionDirection === "forward" ? B : W);
1169
1169
  const D = y[(Q.keyCode === 39 ? "right" : "left") + (n.reverseFillMask === !0 ? "Reverse" : "")];
1170
- if (Q.preventDefault(), D(A, u === P ? W : P), Q.shiftKey) {
1170
+ if (Q.preventDefault(), D(A, u === B ? W : B), Q.shiftKey) {
1171
1171
  const Y = A.selectionStart;
1172
1172
  A.setSelectionRange(Math.min(u, Y), Math.max(u, Y), "forward");
1173
1173
  }
1174
- } else Q.keyCode === 8 && n.reverseFillMask !== !0 && P === W ? (y.left(A, P), A.setSelectionRange(A.selectionStart, W, "backward")) : Q.keyCode === 46 && n.reverseFillMask === !0 && P === W && (y.rightReverse(A, W), A.setSelectionRange(P, A.selectionEnd, "forward"));
1174
+ } else Q.keyCode === 8 && n.reverseFillMask !== !0 && B === W ? (y.left(A, B), A.setSelectionRange(A.selectionStart, W, "backward")) : Q.keyCode === 46 && n.reverseFillMask === !0 && B === W && (y.rightReverse(A, W), A.setSelectionRange(B, A.selectionEnd, "forward"));
1175
1175
  }
1176
1176
  function q(Q, A) {
1177
1177
  if (Q == null || Q === "")
1178
1178
  return "";
1179
1179
  if (n.reverseFillMask === !0)
1180
1180
  return E(Q, A);
1181
- const P = o;
1181
+ const B = o;
1182
1182
  let W = 0, D = "";
1183
- for (let Y = 0; Y < P.length; Y++) {
1184
- const ie = Q[W], G = P[Y];
1183
+ for (let Y = 0; Y < B.length; Y++) {
1184
+ const ie = Q[W], G = B[Y];
1185
1185
  if (typeof G == "string")
1186
1186
  D += G, A === !0 && ie === G && W++;
1187
1187
  else if (ie !== void 0 && G.regex.test(ie))
@@ -1192,10 +1192,10 @@ function rb(n, e, t, i) {
1192
1192
  return D;
1193
1193
  }
1194
1194
  function E(Q, A) {
1195
- const P = o, W = r.indexOf(zt);
1195
+ const B = o, W = r.indexOf(zt);
1196
1196
  let D = Q.length - 1, Y = "";
1197
- for (let ie = P.length - 1; ie >= 0 && D !== -1; ie--) {
1198
- const G = P[ie];
1197
+ for (let ie = B.length - 1; ie >= 0 && D !== -1; ie--) {
1198
+ const G = B[ie];
1199
1199
  let J = Q[D];
1200
1200
  if (typeof G == "string")
1201
1201
  Y = G + Y, A === !0 && J === G && D--;
@@ -1211,7 +1211,7 @@ function rb(n, e, t, i) {
1211
1211
  function N(Q) {
1212
1212
  return typeof Q != "string" || s === void 0 ? typeof Q == "number" ? s("" + Q) : Q : s(Q);
1213
1213
  }
1214
- function ee(Q) {
1214
+ function te(Q) {
1215
1215
  return l.length - Q.length <= 0 ? Q : n.reverseFillMask === !0 && Q.length !== 0 ? l.slice(0, -Q.length) + Q : Q + l.slice(Q.length);
1216
1216
  }
1217
1217
  return {
@@ -1320,7 +1320,7 @@ const Qn = et({
1320
1320
  () => n.type === "textarea" || n.autogrow === !0
1321
1321
  ), N = v(
1322
1322
  () => E.value === !0 || ["text", "search", "url", "tel", "password"].includes(n.type)
1323
- ), ee = v(() => {
1323
+ ), te = v(() => {
1324
1324
  const k = {
1325
1325
  ...q.splitAttrs.listeners.value,
1326
1326
  onInput: D,
@@ -1369,7 +1369,7 @@ const Qn = et({
1369
1369
  d.value !== null && d.value !== k && (k === null || k.id !== q.targetUid.value) && d.value.focus({ preventScroll: !0 });
1370
1370
  });
1371
1371
  }
1372
- function P() {
1372
+ function B() {
1373
1373
  var k;
1374
1374
  (k = d.value) == null || k.select();
1375
1375
  }
@@ -1457,7 +1457,7 @@ const Qn = et({
1457
1457
  ],
1458
1458
  style: n.inputStyle,
1459
1459
  ...Q.value,
1460
- ...ee.value,
1460
+ ...te.value,
1461
1461
  ...n.type !== "file" ? { value: be() } : y.value
1462
1462
  }),
1463
1463
  getShadowControl: () => S("div", {
@@ -1470,7 +1470,7 @@ const Qn = et({
1470
1470
  const z = xc(q);
1471
1471
  return Object.assign(i, {
1472
1472
  focus: A,
1473
- select: P,
1473
+ select: B,
1474
1474
  getNativeElement: () => d.value
1475
1475
  // deprecated
1476
1476
  }), In(i, "nativeEl", () => d.value), z;
@@ -2047,13 +2047,13 @@ function Dc(n, e = 0) {
2047
2047
  let N = !1;
2048
2048
  if (w.top !== q) {
2049
2049
  N = !0;
2050
- const ee = 2 * i[1];
2051
- m.center = m.top -= ee, m.bottom -= ee + 2;
2050
+ const te = 2 * i[1];
2051
+ m.center = m.top -= te, m.bottom -= te + 2;
2052
2052
  }
2053
2053
  if (w.left !== E) {
2054
2054
  N = !0;
2055
- const ee = 2 * i[0];
2056
- m.middle = m.left -= ee, m.right -= ee + 2;
2055
+ const te = 2 * i[0];
2056
+ m.middle = m.left -= te, m.right -= te + 2;
2057
2057
  }
2058
2058
  N === !0 && (w = Ed(m, b, l, o), Sa(w, m, b, l, o));
2059
2059
  }
@@ -2147,7 +2147,7 @@ const Ut = et({
2147
2147
  ],
2148
2148
  setup(n, { slots: e, emit: t, attrs: i }) {
2149
2149
  let r, l;
2150
- const o = Xe(), { proxy: { $q: s } } = o, a = ae(null), u = ae(!1), c = v(() => ys(n.anchor, s.lang.rtl)), d = v(() => ys(n.self, s.lang.rtl)), f = v(() => n.persistent !== !0), { registerTick: h, removeTick: m } = Vr(), { registerTimeout: p } = Ll(), { transitionProps: g, transitionStyle: x } = Ac(n), { localScrollTarget: C, changeScrollEvent: y, unconfigureScrollTarget: b } = Xm(n, be), { anchorEl: w, canShow: q, anchorEvents: E } = Cc({ showing: u, configureAnchorEl: se }), { show: N, hide: ee } = ea({
2150
+ const o = Xe(), { proxy: { $q: s } } = o, a = ae(null), u = ae(!1), c = v(() => ys(n.anchor, s.lang.rtl)), d = v(() => ys(n.self, s.lang.rtl)), f = v(() => n.persistent !== !0), { registerTick: h, removeTick: m } = Vr(), { registerTimeout: p } = Ll(), { transitionProps: g, transitionStyle: x } = Ac(n), { localScrollTarget: C, changeScrollEvent: y, unconfigureScrollTarget: b } = Xm(n, be), { anchorEl: w, canShow: q, anchorEvents: E } = Cc({ showing: u, configureAnchorEl: se }), { show: N, hide: te } = ea({
2151
2151
  showing: u,
2152
2152
  canShow: q,
2153
2153
  handleShow: W,
@@ -2156,13 +2156,13 @@ const Ut = et({
2156
2156
  processOnMount: !0
2157
2157
  });
2158
2158
  Object.assign(E, { delayShow: G, delayHide: J });
2159
- const { showPortal: Q, hidePortal: A, renderPortal: P } = Mc(o, a, k, "tooltip");
2159
+ const { showPortal: Q, hidePortal: A, renderPortal: B } = Mc(o, a, k, "tooltip");
2160
2160
  if (s.platform.is.mobile === !0) {
2161
2161
  const _ = {
2162
2162
  anchorEl: w,
2163
2163
  innerRef: a,
2164
2164
  onClickOutside(I) {
2165
- return ee(I), I.target.classList.contains("q-dialog__backdrop") && Ot(I), !0;
2165
+ return te(I), I.target.classList.contains("q-dialog__backdrop") && Ot(I), !0;
2166
2166
  }
2167
2167
  }, M = v(
2168
2168
  () => (
@@ -2220,7 +2220,7 @@ const Ut = et({
2220
2220
  s.platform.is.mobile === !0 && (cr(E, "tooltipTemp"), hs(), setTimeout(() => {
2221
2221
  document.body.classList.remove("non-selectable");
2222
2222
  }, 10)), p(() => {
2223
- ee(_);
2223
+ te(_);
2224
2224
  }, n.hideDelay);
2225
2225
  }
2226
2226
  function se() {
@@ -2236,7 +2236,7 @@ const Ut = et({
2236
2236
  function be() {
2237
2237
  if (w.value !== null || n.scrollTarget !== void 0) {
2238
2238
  C.value = Oc(w.value, n.scrollTarget);
2239
- const _ = n.noParentEvent === !0 ? ie : ee;
2239
+ const _ = n.noParentEvent === !0 ? ie : te;
2240
2240
  y(C.value, _);
2241
2241
  }
2242
2242
  }
@@ -2258,7 +2258,7 @@ const Ut = et({
2258
2258
  function k() {
2259
2259
  return S(ln, g.value, z);
2260
2260
  }
2261
- return _t(Y), Object.assign(o.proxy, { updatePosition: ie }), P;
2261
+ return _t(Y), Object.assign(o.proxy, { updatePosition: ie }), B;
2262
2262
  }
2263
2263
  }), ng = Symbol("quickforms-quasar-context");
2264
2264
  function QD(n) {
@@ -2410,7 +2410,7 @@ function Bb(n, e, t, i, r, l) {
2410
2410
  name: "label",
2411
2411
  fn: U(() => [
2412
2412
  Oe(
2413
- he(i.label) + " ",
2413
+ me(i.label) + " ",
2414
2414
  1
2415
2415
  /* TEXT */
2416
2416
  ),
@@ -2562,7 +2562,7 @@ function Ib(n, e, t, i, r, l) {
2562
2562
  name: "label",
2563
2563
  fn: U(() => [
2564
2564
  Oe(
2565
- he(i.label) + " ",
2565
+ me(i.label) + " ",
2566
2566
  1
2567
2567
  /* TEXT */
2568
2568
  ),
@@ -2684,41 +2684,41 @@ function og(n, e) {
2684
2684
  const { props: t, slots: i, emit: r, proxy: l } = Xe(), { $q: o } = l, s = Mn(t, o), a = ae(null), { refocusTargetEl: u, refocusTarget: c } = Vb(t, a), d = to(t, Fb), f = v(
2685
2685
  () => t.val !== void 0 && Array.isArray(t.modelValue)
2686
2686
  ), h = v(() => {
2687
- const P = tr(t.val);
2688
- return f.value === !0 ? t.modelValue.findIndex((W) => tr(W) === P) : -1;
2687
+ const B = tr(t.val);
2688
+ return f.value === !0 ? t.modelValue.findIndex((W) => tr(W) === B) : -1;
2689
2689
  }), m = v(() => f.value === !0 ? h.value !== -1 : tr(t.modelValue) === tr(t.trueValue)), p = v(() => f.value === !0 ? h.value === -1 : tr(t.modelValue) === tr(t.falseValue)), g = v(
2690
2690
  () => m.value === !1 && p.value === !1
2691
2691
  ), x = v(() => t.disable === !0 ? -1 : t.tabindex || 0), C = v(
2692
2692
  () => `q-${n} cursor-pointer no-outline row inline no-wrap items-center` + (t.disable === !0 ? " disabled" : "") + (s.value === !0 ? ` q-${n}--dark` : "") + (t.dense === !0 ? ` q-${n}--dense` : "") + (t.leftLabel === !0 ? " reverse" : "")
2693
2693
  ), y = v(() => {
2694
- const P = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", W = t.color !== void 0 && (t.keepColor === !0 || (n === "toggle" ? m.value === !0 : p.value !== !0)) ? ` text-${t.color}` : "";
2695
- return `q-${n}__inner relative-position non-selectable q-${n}__inner--${P}${W}`;
2694
+ const B = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", W = t.color !== void 0 && (t.keepColor === !0 || (n === "toggle" ? m.value === !0 : p.value !== !0)) ? ` text-${t.color}` : "";
2695
+ return `q-${n}__inner relative-position non-selectable q-${n}__inner--${B}${W}`;
2696
2696
  }), b = v(() => {
2697
- const P = { type: "checkbox" };
2698
- return t.name !== void 0 && Object.assign(P, {
2697
+ const B = { type: "checkbox" };
2698
+ return t.name !== void 0 && Object.assign(B, {
2699
2699
  // see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
2700
2700
  ".checked": m.value,
2701
2701
  "^checked": m.value === !0 ? "checked" : void 0,
2702
2702
  name: t.name,
2703
2703
  value: f.value === !0 ? t.val : t.trueValue
2704
- }), P;
2704
+ }), B;
2705
2705
  }), w = Sc(b), q = v(() => {
2706
- const P = {
2706
+ const B = {
2707
2707
  tabindex: x.value,
2708
2708
  role: n === "toggle" ? "switch" : "checkbox",
2709
2709
  "aria-label": t.label,
2710
2710
  "aria-checked": g.value === !0 ? "mixed" : m.value === !0 ? "true" : "false"
2711
2711
  };
2712
- return t.disable === !0 && (P["aria-disabled"] = "true"), P;
2712
+ return t.disable === !0 && (B["aria-disabled"] = "true"), B;
2713
2713
  });
2714
- function E(P) {
2715
- P !== void 0 && (Ot(P), c(P)), t.disable !== !0 && r("update:modelValue", N(), P);
2714
+ function E(B) {
2715
+ B !== void 0 && (Ot(B), c(B)), t.disable !== !0 && r("update:modelValue", N(), B);
2716
2716
  }
2717
2717
  function N() {
2718
2718
  if (f.value === !0) {
2719
2719
  if (m.value === !0) {
2720
- const P = t.modelValue.slice();
2721
- return P.splice(h.value, 1), P;
2720
+ const B = t.modelValue.slice();
2721
+ return B.splice(h.value, 1), B;
2722
2722
  }
2723
2723
  return t.modelValue.concat([t.val]);
2724
2724
  }
@@ -2732,17 +2732,17 @@ function og(n, e) {
2732
2732
  return t.toggleOrder !== "ft" ? t.trueValue : t.falseValue;
2733
2733
  return t.indeterminateValue;
2734
2734
  }
2735
- function ee(P) {
2736
- (P.keyCode === 13 || P.keyCode === 32) && Ot(P);
2735
+ function te(B) {
2736
+ (B.keyCode === 13 || B.keyCode === 32) && Ot(B);
2737
2737
  }
2738
- function Q(P) {
2739
- (P.keyCode === 13 || P.keyCode === 32) && E(P);
2738
+ function Q(B) {
2739
+ (B.keyCode === 13 || B.keyCode === 32) && E(B);
2740
2740
  }
2741
2741
  const A = e(m, g);
2742
2742
  return Object.assign(l, { toggle: E }), () => {
2743
- const P = A();
2743
+ const B = A();
2744
2744
  t.disable !== !0 && w(
2745
- P,
2745
+ B,
2746
2746
  "unshift",
2747
2747
  ` q-${n}__native absolute q-ma-none q-pa-none`
2748
2748
  );
@@ -2751,7 +2751,7 @@ function og(n, e) {
2751
2751
  class: y.value,
2752
2752
  style: d.value,
2753
2753
  "aria-hidden": "true"
2754
- }, P)
2754
+ }, B)
2755
2755
  ];
2756
2756
  u.value !== null && W.push(u.value);
2757
2757
  const D = t.label !== void 0 ? ai(i.default, [t.label]) : St(i.default);
@@ -2764,7 +2764,7 @@ function og(n, e) {
2764
2764
  class: C.value,
2765
2765
  ...q.value,
2766
2766
  onClick: E,
2767
- onKeydown: ee,
2767
+ onKeydown: te,
2768
2768
  onKeyup: Q
2769
2769
  }, W);
2770
2770
  };
@@ -2873,7 +2873,7 @@ function Ub(n, e, t, i, r, l) {
2873
2873
  }, i.quasarProps), {
2874
2874
  default: U(() => [
2875
2875
  Oe(
2876
- he(i.label) + " ",
2876
+ me(i.label) + " ",
2877
2877
  1
2878
2878
  /* TEXT */
2879
2879
  ),
@@ -2904,14 +2904,14 @@ function Ub(n, e, t, i, r, l) {
2904
2904
  t.schema.description ? (O(), K(
2905
2905
  "div",
2906
2906
  jb,
2907
- he(t.schema.description),
2907
+ me(t.schema.description),
2908
2908
  1
2909
2909
  /* TEXT */
2910
2910
  )) : R("v-if", !0),
2911
2911
  i.errorMessage ? (O(), K(
2912
2912
  "div",
2913
2913
  Wb,
2914
- he(i.errorMessage),
2914
+ me(i.errorMessage),
2915
2915
  1
2916
2916
  /* TEXT */
2917
2917
  )) : R("v-if", !0)
@@ -3031,17 +3031,17 @@ function ag({ fallbackTag: n, useDisableForRouterLinkProps: e = !0 } = {}) {
3031
3031
  const N = r.$route.matched;
3032
3032
  if (N.length === 0)
3033
3033
  return -1;
3034
- const ee = N.findIndex(
3034
+ const te = N.findIndex(
3035
3035
  Hd.bind(null, E)
3036
3036
  );
3037
- if (ee !== -1)
3038
- return ee;
3037
+ if (te !== -1)
3038
+ return te;
3039
3039
  const Q = Nd(w[q - 2]);
3040
3040
  return (
3041
3041
  // we are dealing with nested routes
3042
3042
  q > 1 && Nd(E) === Q && N[N.length - 1].path !== Q ? N.findIndex(
3043
3043
  Hd.bind(null, w[q - 2])
3044
- ) : ee
3044
+ ) : te
3045
3045
  );
3046
3046
  }), p = v(
3047
3047
  () => c.value === !0 && m.value !== -1 && Kb(r.$route.params, u.value.params)
@@ -3065,8 +3065,8 @@ function ag({ fallbackTag: n, useDisableForRouterLinkProps: e = !0 } = {}) {
3065
3065
  )
3066
3066
  return Promise.resolve(!1);
3067
3067
  w.preventDefault();
3068
- const ee = r.$router[N === !0 ? "replace" : "push"](E);
3069
- return q === !0 ? ee : ee.then(() => {
3068
+ const te = r.$router[N === !0 ? "replace" : "push"](E);
3069
+ return q === !0 ? te : te.then(() => {
3070
3070
  }).catch(() => {
3071
3071
  });
3072
3072
  }
@@ -3449,19 +3449,19 @@ const mg = et({
3449
3449
  let r = null, l, o, s;
3450
3450
  const a = Xe(), { proxy: u } = a, { $q: c } = u, d = ae(null), f = ae(!1), h = v(
3451
3451
  () => n.persistent !== !0 && n.noRouteDismiss !== !0
3452
- ), m = Mn(n, c), { registerTick: p, removeTick: g } = Vr(), { registerTimeout: x } = Ll(), { transitionProps: C, transitionStyle: y } = Ac(n), { localScrollTarget: b, changeScrollEvent: w, unconfigureScrollTarget: q } = Xm(n, _), { anchorEl: E, canShow: N } = Cc({ showing: f }), { hide: ee } = ea({
3452
+ ), m = Mn(n, c), { registerTick: p, removeTick: g } = Vr(), { registerTimeout: x } = Ll(), { transitionProps: C, transitionStyle: y } = Ac(n), { localScrollTarget: b, changeScrollEvent: w, unconfigureScrollTarget: q } = Xm(n, _), { anchorEl: E, canShow: N } = Cc({ showing: f }), { hide: te } = ea({
3453
3453
  showing: f,
3454
3454
  canShow: N,
3455
3455
  handleShow: be,
3456
3456
  handleHide: z,
3457
3457
  hideOnRouteChange: h,
3458
3458
  processOnMount: !0
3459
- }), { showPortal: Q, hidePortal: A, renderPortal: P } = Mc(a, d, ge, "menu"), W = {
3459
+ }), { showPortal: Q, hidePortal: A, renderPortal: B } = Mc(a, d, ge, "menu"), W = {
3460
3460
  anchorEl: E,
3461
3461
  innerRef: d,
3462
3462
  onClickOutside(ue) {
3463
3463
  if (n.persistent !== !0 && f.value === !0)
3464
- return ee(ue), // always prevent touch event
3464
+ return te(ue), // always prevent touch event
3465
3465
  (ue.type === "touchstart" || ue.target.classList.contains("q-dialog__backdrop")) && Ot(ue), !0;
3466
3466
  }
3467
3467
  }, D = v(
@@ -3485,10 +3485,10 @@ const mg = et({
3485
3485
  }
3486
3486
  function be(ue) {
3487
3487
  if (r = n.noRefocus === !1 ? document.activeElement : null, hg(I), Q(), _(), l = void 0, ue !== void 0 && (n.touchPosition || n.contextMenu)) {
3488
- const Fe = Kr(ue);
3489
- if (Fe.left !== void 0) {
3488
+ const Ne = Kr(ue);
3489
+ if (Ne.left !== void 0) {
3490
3490
  const { top: Le, left: ze } = E.value.getBoundingClientRect();
3491
- l = { left: Fe.left - ze, top: Fe.top - Le };
3491
+ l = { left: Ne.left - ze, top: Ne.top - Le };
3492
3492
  }
3493
3493
  }
3494
3494
  o === void 0 && (o = pe(
@@ -3519,7 +3519,7 @@ const mg = et({
3519
3519
  J.value === !0 && n.noFocus !== !0 && $m(d.value, ue.target) !== !0 && se();
3520
3520
  }
3521
3521
  function j(ue) {
3522
- n.noEscDismiss !== !0 && (t("escapeKey"), ee(ue));
3522
+ n.noEscDismiss !== !0 && (t("escapeKey"), te(ue));
3523
3523
  }
3524
3524
  function $() {
3525
3525
  Dc({
@@ -3556,7 +3556,7 @@ const mg = et({
3556
3556
  }, St(e.default)) : null
3557
3557
  );
3558
3558
  }
3559
- return _t(k), Object.assign(u, { focus: se, updatePosition: $ }), P;
3559
+ return _t(k), Object.assign(u, { focus: se, updatePosition: $ }), B;
3560
3560
  }
3561
3561
  });
3562
3562
  function n1(n, e, t) {
@@ -3702,9 +3702,9 @@ const s1 = {
3702
3702
  processOnMount: !0
3703
3703
  });
3704
3704
  n1(o);
3705
- const ee = v(
3705
+ const te = v(
3706
3706
  () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${n.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${n.position} ${s1[n.position]}` + (s.value === !0 ? " q-dialog__inner--animating" : "") + (n.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (n.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (n.square === !0 ? " q-dialog__inner--square" : "")
3707
- ), Q = v(() => o.value === !0 && n.seamless !== !0), A = v(() => n.autoClose === !0 ? { onClick: be } : {}), P = v(() => [
3707
+ ), Q = v(() => o.value === !0 && n.seamless !== !0), A = v(() => n.autoClose === !0 ? { onClick: be } : {}), B = v(() => [
3708
3708
  `q-dialog fullscreen no-pointer-events q-dialog--${Q.value === !0 ? "modal" : "seamless"}`,
3709
3709
  i.class
3710
3710
  ]);
@@ -3788,7 +3788,7 @@ const s1 = {
3788
3788
  role: "dialog",
3789
3789
  "aria-modal": Q.value === !0 ? "true" : "false",
3790
3790
  ...i,
3791
- class: P.value
3791
+ class: B.value
3792
3792
  }, [
3793
3793
  S(ln, {
3794
3794
  name: "q-transition--fade",
@@ -3805,7 +3805,7 @@ const s1 = {
3805
3805
  x.value,
3806
3806
  () => o.value === !0 ? S("div", {
3807
3807
  ref: l,
3808
- class: ee.value,
3808
+ class: te.value,
3809
3809
  style: C.value,
3810
3810
  tabindex: -1,
3811
3811
  ...A.value
@@ -3933,7 +3933,7 @@ function bg({
3933
3933
  function N() {
3934
3934
  Y(c, !0);
3935
3935
  }
3936
- function ee(z) {
3936
+ function te(z) {
3937
3937
  Y(z === void 0 ? c : z);
3938
3938
  }
3939
3939
  function Q(z, k) {
@@ -3949,7 +3949,7 @@ function bg({
3949
3949
  l.virtualScrollStickySizeStart,
3950
3950
  l.virtualScrollStickySizeEnd
3951
3951
  );
3952
- d !== M.scrollViewSize && ie(M.scrollViewSize), P(
3952
+ d !== M.scrollViewSize && ie(M.scrollViewSize), B(
3953
3953
  _,
3954
3954
  M,
3955
3955
  Math.min(n.value - 1, Math.max(0, parseInt(z, 10) || 0)),
@@ -3972,13 +3972,13 @@ function bg({
3972
3972
  ), _ = n.value - 1, M = k.scrollMaxSize - k.offsetStart - k.offsetEnd - p.value;
3973
3973
  if (u === k.scrollStart) return;
3974
3974
  if (k.scrollMaxSize <= 0) {
3975
- P(z, k, 0, 0);
3975
+ B(z, k, 0, 0);
3976
3976
  return;
3977
3977
  }
3978
3978
  d !== k.scrollViewSize && ie(k.scrollViewSize), W(b.value.from);
3979
3979
  const I = Math.floor(k.scrollMaxSize - Math.max(k.scrollViewSize, k.offsetEnd) - Math.min(h[_], k.scrollViewSize / 2));
3980
3980
  if (I > 0 && Math.ceil(k.scrollStart) >= I) {
3981
- P(
3981
+ B(
3982
3982
  z,
3983
3983
  k,
3984
3984
  _,
@@ -3994,18 +3994,18 @@ function bg({
3994
3994
  $ -= f[ue], j += Un;
3995
3995
  for (; $ > 0 && j < _; )
3996
3996
  $ -= h[j], $ > -k.scrollViewSize ? (j++, ge = $) : ge = h[j] + $;
3997
- P(
3997
+ B(
3998
3998
  z,
3999
3999
  k,
4000
4000
  j,
4001
4001
  ge
4002
4002
  );
4003
4003
  }
4004
- function P(z, k, _, M, I) {
4004
+ function B(z, k, _, M, I) {
4005
4005
  const j = typeof I == "string" && I.indexOf("-force") !== -1, $ = j === !0 ? I.replace("-force", "") : I, ge = $ !== void 0 ? $ : "start";
4006
- let ue = Math.max(0, _ - g.value[ge]), Fe = ue + g.value.total;
4007
- Fe > n.value && (Fe = n.value, ue = Math.max(0, Fe - g.value.total)), u = k.scrollStart;
4008
- const Le = ue !== b.value.from || Fe !== b.value.to;
4006
+ let ue = Math.max(0, _ - g.value[ge]), Ne = ue + g.value.total;
4007
+ Ne > n.value && (Ne = n.value, ue = Math.max(0, Ne - g.value.total)), u = k.scrollStart;
4008
+ const Le = ue !== b.value.from || Ne !== b.value.to;
4009
4009
  if (Le === !1 && $ === void 0) {
4010
4010
  J(_);
4011
4011
  return;
@@ -4016,9 +4016,9 @@ function bg({
4016
4016
  })), u1(at, _ - ue);
4017
4017
  const pt = $ !== void 0 ? h.slice(ue, _).reduce(Fr, 0) : 0;
4018
4018
  if (Le === !0) {
4019
- const Mt = Fe >= b.value.from && ue <= b.value.to ? b.value.to : Fe;
4020
- b.value = { from: ue, to: Mt }, m.value = ul(f, h, 0, ue), p.value = ul(f, h, Fe, n.value), requestAnimationFrame(() => {
4021
- b.value.to !== Fe && u === k.scrollStart && (b.value = { from: b.value.from, to: Fe }, p.value = ul(f, h, Fe, n.value));
4019
+ const Mt = Ne >= b.value.from && ue <= b.value.to ? b.value.to : Ne;
4020
+ b.value = { from: ue, to: Mt }, m.value = ul(f, h, 0, ue), p.value = ul(f, h, Ne, n.value), requestAnimationFrame(() => {
4021
+ b.value.to !== Ne && u === k.scrollStart && (b.value = { from: b.value.from, to: Ne }, p.value = ul(f, h, Ne, n.value));
4022
4022
  });
4023
4023
  }
4024
4024
  requestAnimationFrame(() => {
@@ -4183,7 +4183,7 @@ function bg({
4183
4183
  ) : Q(c);
4184
4184
  }), _t(() => {
4185
4185
  se.cancel();
4186
- }), Object.assign(s, { scrollTo: Q, reset: N, refresh: ee }), {
4186
+ }), Object.assign(s, { scrollTo: Q, reset: N, refresh: te }), {
4187
4187
  virtualScrollSliceRange: b,
4188
4188
  virtualScrollSliceSizeComputed: g,
4189
4189
  setVirtualScrollSize: ie,
@@ -4192,7 +4192,7 @@ function bg({
4192
4192
  padVirtualScroll: G,
4193
4193
  scrollTo: Q,
4194
4194
  reset: N,
4195
- refresh: ee
4195
+ refresh: te
4196
4196
  };
4197
4197
  }
4198
4198
  function Li(n, e) {
@@ -4380,7 +4380,7 @@ const wr = et({
4380
4380
  setup(n, { slots: e, emit: t }) {
4381
4381
  const { proxy: i } = Xe(), { $q: r } = i, l = ae(!1), o = ae(!1), s = ae(-1), a = ae(""), u = ae(!1), c = ae(!1);
4382
4382
  let d = null, f = null, h, m, p, g = null, x, C, y, b;
4383
- const w = ae(null), q = ae(null), E = ae(null), N = ae(null), ee = ae(null), Q = Km(n), A = Ym(re), P = v(() => Array.isArray(n.options) ? n.options.length : 0), W = v(() => n.virtualScrollItemSize === void 0 ? n.optionsDense === !0 ? 24 : 48 : n.virtualScrollItemSize), {
4383
+ const w = ae(null), q = ae(null), E = ae(null), N = ae(null), te = ae(null), Q = Km(n), A = Ym(re), B = v(() => Array.isArray(n.options) ? n.options.length : 0), W = v(() => n.virtualScrollItemSize === void 0 ? n.optionsDense === !0 ? 24 : 48 : n.virtualScrollItemSize), {
4384
4384
  virtualScrollSliceRange: D,
4385
4385
  virtualScrollSliceSizeComputed: Y,
4386
4386
  localResetVirtualScroll: ie,
@@ -4389,7 +4389,7 @@ const wr = et({
4389
4389
  scrollTo: se,
4390
4390
  setVirtualScrollSize: be
4391
4391
  } = bg({
4392
- virtualScrollLength: P,
4392
+ virtualScrollLength: B,
4393
4393
  getVirtualScrollTarget: ei,
4394
4394
  getVirtualScrollEl: vi,
4395
4395
  virtualScrollItemSizeComputed: W
@@ -4411,9 +4411,9 @@ const wr = et({
4411
4411
  return n.hideSelected === !0 || k.value.length === 0 ? [H, n.inputClass] : (H += " q-field__input--padding", n.inputClass === void 0 ? H : [H, n.inputClass]);
4412
4412
  }), $ = v(
4413
4413
  () => (n.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (n.popupContentClass ? " " + n.popupContentClass : "")
4414
- ), ge = v(() => P.value === 0), ue = v(
4414
+ ), ge = v(() => B.value === 0), ue = v(
4415
4415
  () => k.value.map((H) => fe.value(H)).join(", ")
4416
- ), Fe = v(() => n.displayValue !== void 0 ? n.displayValue : ue.value), Le = v(() => n.optionsHtml === !0 ? () => !0 : (H) => (H == null ? void 0 : H.html) === !0), ze = v(() => n.displayValueHtml === !0 || n.displayValue === void 0 && (n.optionsHtml === !0 || k.value.some(Le.value))), at = v(() => z.focused.value === !0 ? n.tabindex : -1), pt = v(() => {
4416
+ ), Ne = v(() => n.displayValue !== void 0 ? n.displayValue : ue.value), Le = v(() => n.optionsHtml === !0 ? () => !0 : (H) => (H == null ? void 0 : H.html) === !0), ze = v(() => n.displayValueHtml === !0 || n.displayValue === void 0 && (n.optionsHtml === !0 || k.value.some(Le.value))), at = v(() => z.focused.value === !0 ? n.tabindex : -1), pt = v(() => {
4417
4417
  const H = {
4418
4418
  tabindex: n.tabindex,
4419
4419
  role: "combobox",
@@ -4433,11 +4433,11 @@ const wr = et({
4433
4433
  opt: H,
4434
4434
  html: Le.value(H),
4435
4435
  selected: !0,
4436
- removeAtIndex: te,
4437
- toggleOption: Ne,
4436
+ removeAtIndex: ee,
4437
+ toggleOption: Ie,
4438
4438
  tabindex: at.value
4439
4439
  }))), ot = v(() => {
4440
- if (P.value === 0)
4440
+ if (B.value === 0)
4441
4441
  return [];
4442
4442
  const { from: H, to: Te } = D.value;
4443
4443
  return n.options.slice(H, Te).map((Ae, Je) => {
@@ -4455,7 +4455,7 @@ const wr = et({
4455
4455
  "aria-selected": Et === !0 ? "true" : "false",
4456
4456
  id: `${z.targetUid.value}_${bt}`,
4457
4457
  onClick: () => {
4458
- Ne(Ae);
4458
+ Ie(Ae);
4459
4459
  }
4460
4460
  };
4461
4461
  return yt !== !0 && (s.value === bt && (It.focused = !0), r.platform.is.desktop === !0 && (It.onMousemove = () => {
@@ -4467,7 +4467,7 @@ const wr = et({
4467
4467
  label: fe.value(Ae),
4468
4468
  selected: It.active,
4469
4469
  focused: It.focused,
4470
- toggleOption: Ne,
4470
+ toggleOption: Ie,
4471
4471
  setOptionIndex: ne,
4472
4472
  itemProps: It
4473
4473
  };
@@ -4494,8 +4494,8 @@ const wr = et({
4494
4494
  });
4495
4495
  pe(k, (H) => {
4496
4496
  h = H, n.useInput === !0 && n.fillInput === !0 && n.multiple !== !0 && z.innerLoading.value !== !0 && (o.value !== !0 && l.value !== !0 || I.value !== !0) && (p !== !0 && Rn(), (o.value === !0 || l.value === !0) && Ee(""));
4497
- }, { immediate: !0 }), pe(() => n.fillInput, Rn), pe(l, ga), pe(P, X0);
4498
- function B(H) {
4497
+ }, { immediate: !0 }), pe(() => n.fillInput, Rn), pe(l, ga), pe(B, X0);
4498
+ function P(H) {
4499
4499
  return n.emitValue === !0 ? st.value(H) : H;
4500
4500
  }
4501
4501
  function L(H) {
@@ -4506,13 +4506,13 @@ const wr = et({
4506
4506
  } else
4507
4507
  t("update:modelValue", null);
4508
4508
  }
4509
- function te(H) {
4509
+ function ee(H) {
4510
4510
  L(H), z.focus();
4511
4511
  }
4512
- function me(H, Te) {
4513
- const Ae = B(H);
4512
+ function he(H, Te) {
4513
+ const Ae = P(H);
4514
4514
  if (n.multiple !== !0) {
4515
- n.fillInput === !0 && Ve(
4515
+ n.fillInput === !0 && Fe(
4516
4516
  fe.value(H),
4517
4517
  !0,
4518
4518
  !0
@@ -4527,12 +4527,12 @@ const wr = et({
4527
4527
  const Je = n.modelValue.slice();
4528
4528
  t("add", { index: Je.length, value: Ae }), Je.push(Ae), t("update:modelValue", Je);
4529
4529
  }
4530
- function Ne(H, Te) {
4530
+ function Ie(H, Te) {
4531
4531
  var Et;
4532
4532
  if (z.editable.value !== !0 || H === void 0 || Se.value(H) === !0) return;
4533
4533
  const Ae = st.value(H);
4534
4534
  if (n.multiple !== !0) {
4535
- Te !== !0 && (Ve(
4535
+ Te !== !0 && (Fe(
4536
4536
  n.fillInput === !0 ? fe.value(H) : "",
4537
4537
  !0,
4538
4538
  !0
@@ -4556,7 +4556,7 @@ const wr = et({
4556
4556
  }
4557
4557
  function ne(H) {
4558
4558
  if (r.platform.is.desktop !== !0) return;
4559
- const Te = H !== -1 && H < P.value ? H : -1;
4559
+ const Te = H !== -1 && H < B.value ? H : -1;
4560
4560
  s.value !== Te && (s.value = Te);
4561
4561
  }
4562
4562
  function ce(H = 1, Te) {
@@ -4566,7 +4566,7 @@ const wr = et({
4566
4566
  Ae = $d(
4567
4567
  Ae + H,
4568
4568
  -1,
4569
- P.value - 1
4569
+ B.value - 1
4570
4570
  );
4571
4571
  while (Ae !== -1 && Ae !== s.value && Se.value(n.options[Ae]) === !0);
4572
4572
  s.value !== Ae && (ne(Ae), se(Ae), Te !== !0 && n.useInput === !0 && n.fillInput === !0 && ke(
@@ -4598,7 +4598,7 @@ const wr = et({
4598
4598
  if (H.target.value = "", d !== null && (clearTimeout(d), d = null), f !== null && (clearTimeout(f), f = null), Rn(), typeof Te == "string" && Te.length !== 0) {
4599
4599
  const Ae = Te.toLocaleLowerCase(), Je = (Et) => {
4600
4600
  const bt = n.options.find((It) => String(Et.value(It)).toLocaleLowerCase() === Ae);
4601
- return bt === void 0 ? !1 : (k.value.indexOf(bt) === -1 ? Ne(bt) : nt(), !0);
4601
+ return bt === void 0 ? !1 : (k.value.indexOf(bt) === -1 ? Ie(bt) : nt(), !0);
4602
4602
  }, yt = (Et) => {
4603
4603
  Je(st) !== !0 && Et !== !0 && Je(fe) !== !0 && Ee(Te, !0, () => yt(!0));
4604
4604
  };
@@ -4632,11 +4632,11 @@ const wr = et({
4632
4632
  (H.keyCode === 35 || H.keyCode === 36) && (typeof a.value != "string" || a.value.length === 0) && (Ot(H), s.value = -1, ce(H.keyCode === 36 ? 1 : -1, n.multiple)), (H.keyCode === 33 || H.keyCode === 34) && Y.value !== void 0 && (Ot(H), s.value = Math.max(
4633
4633
  -1,
4634
4634
  Math.min(
4635
- P.value,
4635
+ B.value,
4636
4636
  s.value + (H.keyCode === 33 ? -1 : 1) * Y.value.view
4637
4637
  )
4638
4638
  ), ce(H.keyCode === 33 ? 1 : -1, n.multiple)), (H.keyCode === 38 || H.keyCode === 40) && (Ot(H), ce(H.keyCode === 38 ? -1 : 1, n.multiple));
4639
- const Je = P.value;
4639
+ const Je = B.value;
4640
4640
  if ((y === void 0 || b < Date.now()) && (y = ""), Je > 0 && n.useInput !== !0 && H.key !== void 0 && H.key.length === 1 && H.altKey === !1 && H.ctrlKey === !1 && H.metaKey === !1 && (H.keyCode !== 32 || y.length !== 0)) {
4641
4641
  l.value !== !0 && He(H);
4642
4642
  const yt = H.key.toLocaleLowerCase(), Et = y.length === 1 && y[0] === yt;
@@ -4654,7 +4654,7 @@ const wr = et({
4654
4654
  }
4655
4655
  if (!(H.keyCode !== 13 && (H.keyCode !== 32 || n.useInput === !0 || y !== "") && (H.keyCode !== 9 || Ae === !1))) {
4656
4656
  if (H.keyCode !== 9 && Ot(H), s.value !== -1 && s.value < Je) {
4657
- Ne(n.options[s.value]);
4657
+ Ie(n.options[s.value]);
4658
4658
  return;
4659
4659
  }
4660
4660
  if (Te === !0) {
@@ -4664,8 +4664,8 @@ const wr = et({
4664
4664
  if (ef(bt) !== !0) return;
4665
4665
  } else
4666
4666
  bt = n.newValueMode;
4667
- if (Ve("", n.multiple !== !0, !0), Et == null) return;
4668
- (bt === "toggle" ? Ne : me)(Et, bt === "add-unique"), n.multiple !== !0 && ((Cr = q.value) == null || Cr.focus(), nt());
4667
+ if (Fe("", n.multiple !== !0, !0), Et == null) return;
4668
+ (bt === "toggle" ? Ie : he)(Et, bt === "add-unique"), n.multiple !== !0 && ((Cr = q.value) == null || Cr.focus(), nt());
4669
4669
  };
4670
4670
  if (n.onNewValue !== void 0 ? t("newValue", a.value, yt) : yt(a.value), n.multiple !== !0) return;
4671
4671
  }
@@ -4673,7 +4673,7 @@ const wr = et({
4673
4673
  }
4674
4674
  }
4675
4675
  function vi() {
4676
- return m === !0 ? ee.value : E.value !== null && E.value.contentEl !== null ? E.value.contentEl : void 0;
4676
+ return m === !0 ? te.value : E.value !== null && E.value.contentEl !== null ? E.value.contentEl : void 0;
4677
4677
  }
4678
4678
  function ei() {
4679
4679
  return vi();
@@ -4694,7 +4694,7 @@ const wr = et({
4694
4694
  }))) : [
4695
4695
  S("span", {
4696
4696
  class: "ellipsis",
4697
- [ze.value === !0 ? "innerHTML" : "textContent"]: Fe.value
4697
+ [ze.value === !0 ? "innerHTML" : "textContent"]: Ne.value
4698
4698
  })
4699
4699
  ];
4700
4700
  }
@@ -4746,7 +4746,7 @@ const wr = et({
4746
4746
  f = null, t("inputValue", H);
4747
4747
  }, n.inputDebounce));
4748
4748
  }
4749
- function Ve(H, Te, Ae) {
4749
+ function Fe(H, Te, Ae) {
4750
4750
  p = Ae !== !0, n.useInput === !0 && (ke(H, !0), (Te === !0 || Ae !== !0) && (x = H), Te !== !0 && Ee(H));
4751
4751
  }
4752
4752
  function Ee(H, Te, Ae) {
@@ -4839,7 +4839,7 @@ const wr = et({
4839
4839
  ];
4840
4840
  return l.value === !0 && H.push(
4841
4841
  S("div", {
4842
- ref: ee,
4842
+ ref: te,
4843
4843
  class: $.value + " scroll",
4844
4844
  style: n.popupContentStyle,
4845
4845
  ...Mt.value,
@@ -4886,7 +4886,7 @@ const wr = et({
4886
4886
  o.value = !1, qe();
4887
4887
  }
4888
4888
  function Rn() {
4889
- n.useInput === !0 && Ve(
4889
+ n.useInput === !0 && Fe(
4890
4890
  n.multiple !== !0 && n.fillInput === !0 && k.value.length !== 0 && fe.value(k.value[0]) || "",
4891
4891
  !0,
4892
4892
  !0
@@ -4926,16 +4926,16 @@ const wr = et({
4926
4926
  showPopup: He,
4927
4927
  hidePopup: nt,
4928
4928
  removeAtIndex: L,
4929
- add: me,
4930
- toggleOption: Ne,
4929
+ add: he,
4930
+ toggleOption: Ie,
4931
4931
  getOptionIndex: () => s.value,
4932
4932
  setOptionIndex: ne,
4933
4933
  moveOptionSelection: ce,
4934
4934
  filter: Ee,
4935
4935
  updateMenuPosition: pd,
4936
- updateInputValue: Ve,
4936
+ updateInputValue: Fe,
4937
4937
  isOptionSelected: De,
4938
- getEmittingOptionValue: B,
4938
+ getEmittingOptionValue: P,
4939
4939
  isOptionDisabled: (...H) => Se.value.apply(null, H) === !0,
4940
4940
  getOptionValue: (...H) => st.value.apply(null, H),
4941
4941
  getOptionLabel: (...H) => fe.value.apply(null, H)
@@ -4986,7 +4986,7 @@ const wr = et({
4986
4986
  key: "d_t",
4987
4987
  class: "q-select__focus-target",
4988
4988
  id: Ae === !0 ? z.targetUid.value : void 0,
4989
- value: Fe.value,
4989
+ value: Ne.value,
4990
4990
  readonly: !0,
4991
4991
  "data-autofocus": H === !0 || n.autofocus === !0 || void 0,
4992
4992
  ...yt,
@@ -5068,9 +5068,9 @@ const wr = et({
5068
5068
  // We control this via useFilter
5069
5069
  hideSelected: N,
5070
5070
  // We control this via useFilter
5071
- ...ee
5071
+ ...te
5072
5072
  } = y;
5073
- return ee;
5073
+ return te;
5074
5074
  }), h = v(() => {
5075
5075
  if (!t.schema.enum) return [];
5076
5076
  const y = t.schema["x-enum-labels"], b = t.schema["x-enum-descriptions"];
@@ -5153,7 +5153,7 @@ function g1(n, e, t, i, r, l) {
5153
5153
  name: "label",
5154
5154
  fn: U(() => [
5155
5155
  Oe(
5156
- he(i.label) + " ",
5156
+ me(i.label) + " ",
5157
5157
  1
5158
5158
  /* TEXT */
5159
5159
  ),
@@ -5234,7 +5234,7 @@ function g1(n, e, t, i, r, l) {
5234
5234
  {
5235
5235
  default: U(() => [
5236
5236
  Oe(
5237
- he(s.label),
5237
+ me(s.label),
5238
5238
  1
5239
5239
  /* TEXT */
5240
5240
  )
@@ -5255,7 +5255,7 @@ function g1(n, e, t, i, r, l) {
5255
5255
  {
5256
5256
  default: U(() => [
5257
5257
  Oe(
5258
- he(s.description),
5258
+ me(s.description),
5259
5259
  1
5260
5260
  /* TEXT */
5261
5261
  )
@@ -5461,7 +5461,7 @@ const At = et({
5461
5461
  };
5462
5462
  if (i.$q.platform.has.touch === !0) {
5463
5463
  const Y = n.onTouchstart !== void 0 ? "" : "Passive";
5464
- D[`onTouchstart${Y}`] = ee;
5464
+ D[`onTouchstart${Y}`] = te;
5465
5465
  }
5466
5466
  return D;
5467
5467
  }
@@ -5494,15 +5494,15 @@ const At = et({
5494
5494
  }
5495
5495
  }
5496
5496
  function N(D) {
5497
- f.value !== null && (t("keydown", D), Ti(D, [13, 32]) === !0 && Tr !== f.value && (Tr !== null && P(), D.defaultPrevented !== !0 && (D.qAvoidFocus !== !0 && f.value.focus(), Tr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("keyup", A, !0), f.value.addEventListener("blur", A, Ln)), Ot(D)));
5497
+ f.value !== null && (t("keydown", D), Ti(D, [13, 32]) === !0 && Tr !== f.value && (Tr !== null && B(), D.defaultPrevented !== !0 && (D.qAvoidFocus !== !0 && f.value.focus(), Tr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("keyup", A, !0), f.value.addEventListener("blur", A, Ln)), Ot(D)));
5498
5498
  }
5499
- function ee(D) {
5500
- f.value !== null && (t("touchstart", D), D.defaultPrevented !== !0 && (_r !== f.value && (_r !== null && P(), _r = f.value, m = D.target, m.addEventListener("touchcancel", A, Ln), m.addEventListener("touchend", A, Ln)), p = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
5499
+ function te(D) {
5500
+ f.value !== null && (t("touchstart", D), D.defaultPrevented !== !0 && (_r !== f.value && (_r !== null && B(), _r = f.value, m = D.target, m.addEventListener("touchcancel", A, Ln), m.addEventListener("touchend", A, Ln)), p = !0, g !== null && clearTimeout(g), g = setTimeout(() => {
5501
5501
  g = null, p = !1;
5502
5502
  }, 200)));
5503
5503
  }
5504
5504
  function Q(D) {
5505
- f.value !== null && (D.qSkipRipple = p === !0, t("mousedown", D), D.defaultPrevented !== !0 && Mr !== f.value && (Mr !== null && P(), Mr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("mouseup", A, Ln)));
5505
+ f.value !== null && (D.qSkipRipple = p === !0, t("mousedown", D), D.defaultPrevented !== !0 && Mr !== f.value && (Mr !== null && B(), Mr = f.value, f.value.classList.add("q-btn--active"), document.addEventListener("mouseup", A, Ln)));
5506
5506
  }
5507
5507
  function A(D) {
5508
5508
  if (f.value !== null && !((D == null ? void 0 : D.type) === "blur" && document.activeElement === f.value)) {
@@ -5513,10 +5513,10 @@ const At = et({
5513
5513
  }
5514
5514
  t("keyup", D);
5515
5515
  }
5516
- P();
5516
+ B();
5517
5517
  }
5518
5518
  }
5519
- function P(D) {
5519
+ function B(D) {
5520
5520
  var ie, G;
5521
5521
  const Y = h.value;
5522
5522
  D !== !0 && (_r === f.value || Mr === f.value) && Y !== null && Y !== document.activeElement && (Y.setAttribute("tabindex", -1), Y.focus()), _r === f.value && (m !== null && (m.removeEventListener("touchcancel", A, Ln), m.removeEventListener("touchend", A, Ln)), _r = m = null), Mr === f.value && (document.removeEventListener("mouseup", A, Ln), Mr = null), Tr === f.value && (document.removeEventListener("keyup", A, !0), (ie = f.value) == null || ie.removeEventListener("blur", A, Ln), Tr = null), (G = f.value) == null || G.classList.remove("q-btn--active");
@@ -5525,7 +5525,7 @@ const At = et({
5525
5525
  Ot(D), D.qSkipRipple = !0;
5526
5526
  }
5527
5527
  return _t(() => {
5528
- P(!0);
5528
+ B(!0);
5529
5529
  }), Object.assign(i, {
5530
5530
  click: (D) => {
5531
5531
  d.value === !0 && E(D);
@@ -6469,17 +6469,17 @@ const Lg = et({
6469
6469
  setup(n, { slots: e, emit: t }) {
6470
6470
  const { proxy: i } = Xe(), { $q: r } = i, l = Mn(n, r), { getCache: o } = _1(), { tabindex: s, headerClass: a, getLocale: u, getCurrentDate: c } = qg(n, r);
6471
6471
  let d;
6472
- const f = Um(n), h = Sc(f), m = ae(null), p = ae(me()), g = ae(u()), x = v(() => me()), C = v(() => u()), y = v(() => c()), b = ae(ne(p.value, g.value)), w = ae(n.defaultView), q = v(() => r.lang.rtl === !0 ? "right" : "left"), E = ae(q.value), N = ae(q.value), ee = b.value.year, Q = ae(ee - ee % yi - (ee < 0 ? yi : 0)), A = ae(null), P = v(() => {
6472
+ const f = Um(n), h = Sc(f), m = ae(null), p = ae(he()), g = ae(u()), x = v(() => he()), C = v(() => u()), y = v(() => c()), b = ae(ne(p.value, g.value)), w = ae(n.defaultView), q = v(() => r.lang.rtl === !0 ? "right" : "left"), E = ae(q.value), N = ae(q.value), te = b.value.year, Q = ae(te - te % yi - (te < 0 ? yi : 0)), A = ae(null), B = v(() => {
6473
6473
  const T = n.landscape === !0 ? "landscape" : "portrait";
6474
6474
  return `q-date q-date--${T} q-date--${T}-${n.minimal === !0 ? "minimal" : "standard"}` + (l.value === !0 ? " q-date--dark q-dark" : "") + (n.bordered === !0 ? " q-date--bordered" : "") + (n.square === !0 ? " q-date--square no-border-radius" : "") + (n.flat === !0 ? " q-date--flat no-shadow" : "") + (n.disable === !0 ? " disabled" : n.readonly === !0 ? " q-date--readonly" : "");
6475
6475
  }), W = v(() => n.color || "primary"), D = v(() => n.textColor || "white"), Y = v(
6476
6476
  () => n.emitImmediately === !0 && n.multiple !== !0 && n.range !== !0
6477
6477
  ), ie = v(() => Array.isArray(n.modelValue) === !0 ? n.modelValue : n.modelValue !== null && n.modelValue !== void 0 ? [n.modelValue] : []), G = v(
6478
- () => ie.value.filter((T) => typeof T == "string").map((T) => Ne(T, p.value, g.value)).filter(
6478
+ () => ie.value.filter((T) => typeof T == "string").map((T) => Ie(T, p.value, g.value)).filter(
6479
6479
  (T) => T.dateHash !== null && T.day !== null && T.month !== null && T.year !== null
6480
6480
  )
6481
6481
  ), J = v(() => {
6482
- const T = (V) => Ne(V, p.value, g.value);
6482
+ const T = (V) => Ie(V, p.value, g.value);
6483
6483
  return ie.value.filter((V) => kg(V) === !0 && V.from !== void 0 && V.to !== void 0).map((V) => ({ from: T(V.from), to: T(V.to) })).filter((V) => V.from.dateHash !== null && V.to.dateHash !== null && V.from.dateHash < V.to.dateHash);
6484
6484
  }), se = v(() => n.calendar !== "persian" ? (T) => new Date(T.year, T.month - 1, T.day) : (T) => {
6485
6485
  const V = lf(T.year, T.month, T.day);
@@ -6538,7 +6538,7 @@ const Lg = et({
6538
6538
  }), ue = v(() => {
6539
6539
  const T = b.value;
6540
6540
  return n.calendar !== "persian" ? new Date(T.year, T.month, 0).getDate() : Zo(T.year, T.month);
6541
- }), Fe = v(() => typeof n.eventColor == "function" ? n.eventColor : () => n.eventColor), Le = v(() => {
6541
+ }), Ne = v(() => typeof n.eventColor == "function" ? n.eventColor : () => n.eventColor), Le = v(() => {
6542
6542
  if (n.navigationMinYearMonth === void 0)
6543
6543
  return null;
6544
6544
  const T = n.navigationMinYearMonth.split("/");
@@ -6607,7 +6607,7 @@ const Lg = et({
6607
6607
  const V = typeof n.events == "function" ? n.events : (le) => n.events.includes(le);
6608
6608
  for (let le = 1; le <= ue.value; le++) {
6609
6609
  const ve = ot.value + "/" + it(le);
6610
- T[le] = V(ve) === !0 && Fe.value(ve);
6610
+ T[le] = V(ve) === !0 && Ne.value(ve);
6611
6611
  }
6612
6612
  }
6613
6613
  return T;
@@ -6737,13 +6737,13 @@ const Lg = et({
6737
6737
  function Z(T) {
6738
6738
  uf(T) === !0 && (w.value = T);
6739
6739
  }
6740
- function B(T, V) {
6740
+ function P(T, V) {
6741
6741
  ["month", "year"].includes(T) && (T === "month" ? Ce : De)(V === !0 ? -1 : 1);
6742
6742
  }
6743
6743
  function L(T, V) {
6744
6744
  w.value = "Calendar", Pt(T, V);
6745
6745
  }
6746
- function te(T, V) {
6746
+ function ee(T, V) {
6747
6747
  if (n.range === !1 || !T) {
6748
6748
  A.value = null;
6749
6749
  return;
@@ -6756,10 +6756,10 @@ const Lg = et({
6756
6756
  finalHash: bi(ve)
6757
6757
  }, L(le.year, le.month);
6758
6758
  }
6759
- function me() {
6759
+ function he() {
6760
6760
  return n.calendar === "persian" ? "YYYY/MM/DD" : n.mask;
6761
6761
  }
6762
- function Ne(T, V, le) {
6762
+ function Ie(T, V, le) {
6763
6763
  return vl(
6764
6764
  T,
6765
6765
  V,
@@ -6777,7 +6777,7 @@ const Lg = et({
6777
6777
  const le = Array.isArray(n.modelValue) === !0 ? n.modelValue : n.modelValue ? [n.modelValue] : [];
6778
6778
  if (le.length === 0)
6779
6779
  return ce();
6780
- const ve = le[le.length - 1], _e = Ne(
6780
+ const ve = le[le.length - 1], _e = Ie(
6781
6781
  ve.from !== void 0 ? ve.from : ve,
6782
6782
  T,
6783
6783
  V
@@ -6899,7 +6899,7 @@ const Lg = et({
6899
6899
  const ve = G.value.concat(J.value).map((Ke) => Wn(Ke, T, V)).filter((Ke) => Ke.from !== void 0 ? Ke.from.dateHash !== null && Ke.to.dateHash !== null : Ke.dateHash !== null), _e = (n.multiple === !0 ? ve : ve[0]) || null;
6900
6900
  Se(_e), t("update:modelValue", _e, le);
6901
6901
  }
6902
- function Ve() {
6902
+ function Fe() {
6903
6903
  if (n.minimal !== !0)
6904
6904
  return S("div", {
6905
6905
  class: "q-date__header " + a.value
@@ -7225,9 +7225,9 @@ const Lg = et({
7225
7225
  return Object.assign(i, {
7226
7226
  setToday: Be,
7227
7227
  setView: Z,
7228
- offsetCalendar: B,
7228
+ offsetCalendar: P,
7229
7229
  setCalendarTo: L,
7230
- setEditingRange: te
7230
+ setEditingRange: ee
7231
7231
  }), () => {
7232
7232
  const T = [
7233
7233
  S("div", {
@@ -7241,10 +7241,10 @@ const Lg = et({
7241
7241
  return V !== void 0 && T.push(
7242
7242
  S("div", { class: "q-date__actions" }, V)
7243
7243
  ), n.name !== void 0 && n.disable !== !0 && h(T, "push"), S("div", {
7244
- class: P.value,
7244
+ class: B.value,
7245
7245
  ...fe.value
7246
7246
  }, [
7247
- Ve(),
7247
+ Fe(),
7248
7248
  S("div", {
7249
7249
  ref: m,
7250
7250
  class: "q-date__main col column",
@@ -7386,7 +7386,7 @@ function H1(n, e, t, i, r, l) {
7386
7386
  name: "label",
7387
7387
  fn: U(() => [
7388
7388
  Oe(
7389
- he(i.label) + " ",
7389
+ me(i.label) + " ",
7390
7390
  1
7391
7391
  /* TEXT */
7392
7392
  ),
@@ -7519,7 +7519,7 @@ function W1(n, e, t, i, r, l) {
7519
7519
  name: "label",
7520
7520
  fn: U(() => [
7521
7521
  Oe(
7522
- he(i.label) + " ",
7522
+ me(i.label) + " ",
7523
7523
  1
7524
7524
  /* TEXT */
7525
7525
  ),
@@ -7814,14 +7814,14 @@ const Z1 = et({
7814
7814
  minute: ne.minute === null ? "--" : it(ne.minute),
7815
7815
  second: ne.second === null ? "--" : it(ne.second)
7816
7816
  };
7817
- }), N = v(() => n.format24h !== null ? n.format24h : r.lang.date.format24h), ee = v(() => {
7817
+ }), N = v(() => n.format24h !== null ? n.format24h : r.lang.date.format24h), te = v(() => {
7818
7818
  const ne = y.value === "hour", ce = ne === !0 ? 12 : 60, Ce = b.value[y.value];
7819
7819
  let Ue = `rotate(${Math.round(Ce * (360 / ce)) - 180}deg) translateX(-50%)`;
7820
7820
  return ne === !0 && N.value === !0 && b.value.hour >= 12 && (Ue += " scale(.7)"), { transform: Ue };
7821
- }), Q = v(() => b.value.hour !== null), A = v(() => Q.value === !0 && b.value.minute !== null), P = v(() => n.hourOptions !== void 0 ? (ne) => n.hourOptions.includes(ne) : n.options !== void 0 ? (ne) => n.options(ne, null, null) : null), W = v(() => n.minuteOptions !== void 0 ? (ne) => n.minuteOptions.includes(ne) : n.options !== void 0 ? (ne) => n.options(b.value.hour, ne, null) : null), D = v(() => n.secondOptions !== void 0 ? (ne) => n.secondOptions.includes(ne) : n.options !== void 0 ? (ne) => n.options(b.value.hour, b.value.minute, ne) : null), Y = v(() => {
7822
- if (P.value === null)
7821
+ }), Q = v(() => b.value.hour !== null), A = v(() => Q.value === !0 && b.value.minute !== null), B = v(() => n.hourOptions !== void 0 ? (ne) => n.hourOptions.includes(ne) : n.options !== void 0 ? (ne) => n.options(ne, null, null) : null), W = v(() => n.minuteOptions !== void 0 ? (ne) => n.minuteOptions.includes(ne) : n.options !== void 0 ? (ne) => n.options(b.value.hour, ne, null) : null), D = v(() => n.secondOptions !== void 0 ? (ne) => n.secondOptions.includes(ne) : n.options !== void 0 ? (ne) => n.options(b.value.hour, b.value.minute, ne) : null), Y = v(() => {
7822
+ if (B.value === null)
7823
7823
  return null;
7824
- const ne = k(0, 11, P.value), ce = k(12, 11, P.value);
7824
+ const ne = k(0, 11, B.value), ce = k(12, 11, B.value);
7825
7825
  return { am: ne, pm: ce, values: ne.values.concat(ce.values) };
7826
7826
  }), ie = v(() => W.value !== null ? k(0, 59, W.value) : null), G = v(() => D.value !== null ? k(0, 59, D.value) : null), J = v(() => {
7827
7827
  switch (y.value) {
@@ -7863,7 +7863,7 @@ const Z1 = et({
7863
7863
  (ce.dateHash !== b.value.dateHash || ce.timeHash !== b.value.timeHash) && (b.value = ce, ce.hour === null ? y.value = "hour" : w.value = ce.hour < 12);
7864
7864
  }), pe([p, g], () => {
7865
7865
  mt(() => {
7866
- te();
7866
+ ee();
7867
7867
  });
7868
7868
  });
7869
7869
  function z() {
@@ -7871,7 +7871,7 @@ const Z1 = et({
7871
7871
  ...u(),
7872
7872
  ...X1()
7873
7873
  };
7874
- te(ne), Object.assign(b.value, ne), y.value = "hour";
7874
+ ee(ne), Object.assign(b.value, ne), y.value = "hour";
7875
7875
  }
7876
7876
  function k(ne, ce, Ce) {
7877
7877
  const De = Array.apply(null, { length: ce + 1 }).map((Ue, Lt) => {
@@ -7928,10 +7928,10 @@ const Z1 = et({
7928
7928
  f = ge(), h = Le(ne.evt, f);
7929
7929
  return;
7930
7930
  }
7931
- h = Le(ne.evt, f, h), ne.isFinal === !0 && (f = !1, h = null, Fe());
7931
+ h = Le(ne.evt, f, h), ne.isFinal === !0 && (f = !1, h = null, Ne());
7932
7932
  }
7933
7933
  }
7934
- function Fe() {
7934
+ function Ne() {
7935
7935
  y.value === "hour" ? y.value = "minute" : n.withSeconds && y.value === "minute" && (y.value = "second");
7936
7936
  }
7937
7937
  function Le(ne, ce, Ce) {
@@ -7971,7 +7971,7 @@ const Z1 = et({
7971
7971
  ne.keyCode === 13 && Z();
7972
7972
  }
7973
7973
  function Mt(ne) {
7974
- $() !== !0 && (r.platform.is.desktop !== !0 && Le(ne, ge()), Fe());
7974
+ $() !== !0 && (r.platform.is.desktop !== !0 && Le(ne, ge()), Ne());
7975
7975
  }
7976
7976
  function dt(ne) {
7977
7977
  $() !== !0 && Le(ne, ge());
@@ -8056,26 +8056,26 @@ const Z1 = et({
8056
8056
  function Z() {
8057
8057
  w.value === !0 && (w.value = !1, b.value.hour !== null && (b.value.hour += 12, L()));
8058
8058
  }
8059
- function B(ne) {
8059
+ function P(ne) {
8060
8060
  const ce = n.modelValue;
8061
8061
  y.value !== ne && ce !== void 0 && ce !== null && ce !== "" && typeof ce != "string" && (y.value = ne);
8062
8062
  }
8063
8063
  function L() {
8064
- if (P.value !== null && P.value(b.value.hour) !== !0) {
8065
- b.value = vl(), B("hour");
8064
+ if (B.value !== null && B.value(b.value.hour) !== !0) {
8065
+ b.value = vl(), P("hour");
8066
8066
  return;
8067
8067
  }
8068
8068
  if (W.value !== null && W.value(b.value.minute) !== !0) {
8069
- b.value.minute = null, b.value.second = null, B("minute");
8069
+ b.value.minute = null, b.value.second = null, P("minute");
8070
8070
  return;
8071
8071
  }
8072
8072
  if (n.withSeconds === !0 && D.value !== null && D.value(b.value.second) !== !0) {
8073
- b.value.second = null, B("second");
8073
+ b.value.second = null, P("second");
8074
8074
  return;
8075
8075
  }
8076
- b.value.hour === null || b.value.minute === null || n.withSeconds === !0 && b.value.second === null || te();
8076
+ b.value.hour === null || b.value.minute === null || n.withSeconds === !0 && b.value.second === null || ee();
8077
8077
  }
8078
- function te(ne) {
8078
+ function ee(ne) {
8079
8079
  const ce = Object.assign({ ...b.value }, ne), Ce = n.calendar === "persian" ? it(ce.hour) + ":" + it(ce.minute) + (n.withSeconds === !0 ? ":" + it(ce.second) : "") : Rg(
8080
8080
  new Date(
8081
8081
  ce.year,
@@ -8093,7 +8093,7 @@ const Z1 = et({
8093
8093
  );
8094
8094
  ce.changed = Ce !== n.modelValue, t("update:modelValue", Ce, ce);
8095
8095
  }
8096
- function me() {
8096
+ function he() {
8097
8097
  const ne = [
8098
8098
  S("div", {
8099
8099
  class: "q-time__link " + (y.value === "hour" ? "q-time__link--active" : "cursor-pointer"),
@@ -8153,7 +8153,7 @@ const Z1 = et({
8153
8153
  class: "q-time__header flex flex-center no-wrap " + s.value
8154
8154
  }, ce);
8155
8155
  }
8156
- function Ne() {
8156
+ function Ie() {
8157
8157
  const ne = b.value[y.value];
8158
8158
  return S("div", {
8159
8159
  class: "q-time__content col relative-position"
@@ -8177,7 +8177,7 @@ const Z1 = et({
8177
8177
  S("div", { class: "q-time__clock-circle fit" }, [
8178
8178
  S("div", {
8179
8179
  class: "q-time__clock-pointer" + (b.value[y.value] === null ? " hidden" : n.color !== void 0 ? ` text-${n.color}` : ""),
8180
- style: ee.value
8180
+ style: te.value
8181
8181
  }),
8182
8182
  se.value.map((ce) => S("div", {
8183
8183
  class: `q-time__clock-position row flex-center q-time__clock-pos-${ce.index}` + (ce.val === ne ? " q-time__clock-position--active " + s.value : ce.disable === !0 ? " q-time__clock-position--disable" : "")
@@ -8202,14 +8202,14 @@ const Z1 = et({
8202
8202
  ]);
8203
8203
  }
8204
8204
  return i.proxy.setNow = z, () => {
8205
- const ne = [Ne()], ce = St(e.default);
8205
+ const ne = [Ie()], ce = St(e.default);
8206
8206
  return ce !== void 0 && ne.push(
8207
8207
  S("div", { class: "q-time__actions" }, ce)
8208
8208
  ), n.name !== void 0 && n.disable !== !0 && d(ne, "push"), S("div", {
8209
8209
  class: q.value,
8210
8210
  tabindex: -1
8211
8211
  }, [
8212
- me(),
8212
+ he(),
8213
8213
  S("div", { class: "q-time__main col overflow-auto" }, ne)
8214
8214
  ]);
8215
8215
  };
@@ -8321,14 +8321,14 @@ const Z1 = et({
8321
8321
  }), p = v(() => c.value.mask || `${h.value} ${m.value}`), g = v(() => c.value.format24h || !1), x = v(() => c.value.withSeconds || !1), y = { props: t, value: i, label: r, hint: l, tooltip: o, tooltipPlacement: s, errorMessage: a, fieldId: u, quasarProps: c, fieldGap: d, formContext: f, dateMask: h, timeMask: m, fullMask: p, use24Hour: g, withSeconds: x, setNow: () => {
8322
8322
  const b = /* @__PURE__ */ new Date(), w = b.getFullYear(), q = String(b.getMonth() + 1).padStart(2, "0"), E = String(b.getDate()).padStart(2, "0");
8323
8323
  if (g.value) {
8324
- const N = String(b.getHours()).padStart(2, "0"), ee = String(b.getMinutes()).padStart(2, "0");
8325
- i.value = `${w}-${q}-${E} ${N}:${ee}`;
8324
+ const N = String(b.getHours()).padStart(2, "0"), te = String(b.getMinutes()).padStart(2, "0");
8325
+ i.value = `${w}-${q}-${E} ${N}:${te}`;
8326
8326
  } else {
8327
8327
  let N = b.getHours();
8328
- const ee = N >= 12 ? "PM" : "AM";
8328
+ const te = N >= 12 ? "PM" : "AM";
8329
8329
  N = N % 12 || 12;
8330
8330
  const Q = String(b.getMinutes()).padStart(2, "0");
8331
- i.value = `${w}-${q}-${E} ${N}:${Q} ${ee}`;
8331
+ i.value = `${w}-${q}-${E} ${N}:${Q} ${te}`;
8332
8332
  }
8333
8333
  }, get QInput() {
8334
8334
  return Qn;
@@ -8478,7 +8478,7 @@ function lk(n, e, t, i, r, l) {
8478
8478
  name: "label",
8479
8479
  fn: U(() => [
8480
8480
  Oe(
8481
- he(i.label) + " ",
8481
+ me(i.label) + " ",
8482
8482
  1
8483
8483
  /* TEXT */
8484
8484
  ),
@@ -8652,7 +8652,7 @@ const mf = /* @__PURE__ */ Nt(tk, [["render", lk], ["__scopeId", "data-v-76abc7a
8652
8652
  var se;
8653
8653
  J !== !0 && G.qAvoidFocus !== !0 && ((se = o.value) == null || se.focus()), c(G), Ot(G);
8654
8654
  }
8655
- function ee() {
8655
+ function te() {
8656
8656
  t("afterShow");
8657
8657
  }
8658
8658
  function Q() {
@@ -8672,7 +8672,7 @@ const mf = /* @__PURE__ */ Nt(tk, [["render", lk], ["__scopeId", "data-v-76abc7a
8672
8672
  G(), J(), $i[n.group] === d && delete $i[n.group], f = void 0;
8673
8673
  };
8674
8674
  }
8675
- function P() {
8675
+ function B() {
8676
8676
  const G = {
8677
8677
  class: [
8678
8678
  `q-focusable relative-position cursor-pointer${n.denseToggle === !0 && n.switchToggleSide === !0 ? " items-end" : ""}`,
@@ -8712,7 +8712,7 @@ const mf = /* @__PURE__ */ Nt(tk, [["render", lk], ["__scopeId", "data-v-76abc7a
8712
8712
  avatar: n.switchToggleSide !== !0
8713
8713
  }, () => S(Ye, { name: n.icon }))
8714
8714
  )), n.disable !== !0 && n.hideExpandIcon !== !0 && G[n.switchToggleSide === !0 ? "unshift" : "push"](
8715
- P()
8715
+ B()
8716
8716
  ), G;
8717
8717
  }
8718
8718
  function D() {
@@ -8749,7 +8749,7 @@ const mf = /* @__PURE__ */ Nt(tk, [["render", lk], ["__scopeId", "data-v-76abc7a
8749
8749
  D(),
8750
8750
  S(ok, {
8751
8751
  duration: n.duration,
8752
- onShow: ee,
8752
+ onShow: te,
8753
8753
  onHide: Q
8754
8754
  }, Y)
8755
8755
  ];
@@ -8830,8 +8830,8 @@ const mf = /* @__PURE__ */ Nt(tk, [["render", lk], ["__scopeId", "data-v-76abc7a
8830
8830
  ([w, q], E) => ({ key: w, schema: q, originalIndex: E })
8831
8831
  );
8832
8832
  return b.sort((w, q) => {
8833
- var ee, Q;
8834
- const E = ((ee = w.schema) == null ? void 0 : ee["x-field-order"]) ?? 999, N = ((Q = q.schema) == null ? void 0 : Q["x-field-order"]) ?? 999;
8833
+ var te, Q;
8834
+ const E = ((te = w.schema) == null ? void 0 : te["x-field-order"]) ?? 999, N = ((Q = q.schema) == null ? void 0 : Q["x-field-order"]) ?? 999;
8835
8835
  return E !== N ? E - N : w.originalIndex - q.originalIndex;
8836
8836
  }), b.map(({ key: w, schema: q }) => ({
8837
8837
  key: w,
@@ -8891,7 +8891,7 @@ function wk(n, e, t, i, r, l) {
8891
8891
  i.errorMessage ? (O(), K(
8892
8892
  "div",
8893
8893
  dk,
8894
- he(i.errorMessage),
8894
+ me(i.errorMessage),
8895
8895
  1
8896
8896
  /* TEXT */
8897
8897
  )) : R("v-if", !0)
@@ -8917,7 +8917,7 @@ function wk(n, e, t, i, r, l) {
8917
8917
  { key: 0 },
8918
8918
  [
8919
8919
  Oe(
8920
- he(i.label) + " ",
8920
+ me(i.label) + " ",
8921
8921
  1
8922
8922
  /* TEXT */
8923
8923
  ),
@@ -8975,7 +8975,7 @@ function wk(n, e, t, i, r, l) {
8975
8975
  i.errorMessage ? (O(), K(
8976
8976
  "div",
8977
8977
  kk,
8978
- he(i.errorMessage),
8978
+ me(i.errorMessage),
8979
8979
  1
8980
8980
  /* TEXT */
8981
8981
  )) : R("v-if", !0)
@@ -9049,12 +9049,12 @@ const gf = /* @__PURE__ */ Nt(uk, [["render", wk], ["__scopeId", "data-v-813eef2
9049
9049
  const _ = (I = m == null ? void 0 : m.quickformsDefaults) == null ? void 0 : I.array, M = (j = m == null ? void 0 : m.quickformsDefaults) == null ? void 0 : j.object;
9050
9050
  return (_ == null ? void 0 : _.sectionStyle) ?? (M == null ? void 0 : M.sectionStyle) ?? "card";
9051
9051
  }), x = v(() => `quickform-section-${g.value}`), C = v(() => {
9052
- var ue, Fe;
9052
+ var ue, Ne;
9053
9053
  const k = ((ue = m == null ? void 0 : m.quickformsDefaults) == null ? void 0 : ue.array) || {}, _ = r.schema["x-quickforms-quasar"] || {}, M = _.addButtonPosition ?? k.addButtonPosition ?? "bottom-left", I = {
9054
9054
  outline: !0,
9055
9055
  color: "primary",
9056
9056
  icon: "add",
9057
- label: ((Fe = m == null ? void 0 : m.labels) == null ? void 0 : Fe.addItem) || "Add item"
9057
+ label: ((Ne = m == null ? void 0 : m.labels) == null ? void 0 : Ne.addItem) || "Add item"
9058
9058
  }, j = {
9059
9059
  flat: !0,
9060
9060
  round: !0,
@@ -9113,7 +9113,7 @@ const gf = /* @__PURE__ */ Nt(uk, [["render", wk], ["__scopeId", "data-v-813eef2
9113
9113
  j.has($) || M.delete($);
9114
9114
  N.value = M;
9115
9115
  }, { immediate: !0 });
9116
- const ee = (k) => {
9116
+ const te = (k) => {
9117
9117
  const _ = E.value[k];
9118
9118
  if (!_) return;
9119
9119
  const M = new Set(N.value);
@@ -9121,7 +9121,7 @@ const gf = /* @__PURE__ */ Nt(uk, [["render", wk], ["__scopeId", "data-v-813eef2
9121
9121
  }, Q = (k) => {
9122
9122
  const _ = E.value[k];
9123
9123
  return _ ? N.value.has(_) : !0;
9124
- }, A = v(() => Array.isArray(r.schema.items) ? r.schema.items[0] : r.schema.items), P = v(() => {
9124
+ }, A = v(() => Array.isArray(r.schema.items) ? r.schema.items[0] : r.schema.items), B = v(() => {
9125
9125
  if (A.value)
9126
9126
  return { ...A.value, "x-flat": !0 };
9127
9127
  }), W = () => {
@@ -9139,7 +9139,7 @@ const gf = /* @__PURE__ */ Nt(uk, [["render", wk], ["__scopeId", "data-v-813eef2
9139
9139
  return t;
9140
9140
  }, set stableIdCounter(k) {
9141
9141
  t = k;
9142
- }, generateStableId: i, props: r, value: l, label: o, hint: s, tooltip: a, errorMessage: u, required: c, fieldId: d, quasarProps: f, fieldGap: h, formContext: m, showOptionalIndicator: p, sectionStyle: g, sectionStyleClass: x, quickformsFeatures: C, isTopPosition: y, isRightPosition: b, arrayValue: w, objectKeyMap: q, stableKeys: E, expandedKeys: N, toggleItem: ee, isItemExpanded: Q, itemsSchema: A, flatItemsSchema: P, addItem: W, removeItem: D, moveItem: Y, canAdd: ie, canRemove: G, getItemLabel: (k) => {
9142
+ }, generateStableId: i, props: r, value: l, label: o, hint: s, tooltip: a, errorMessage: u, required: c, fieldId: d, quasarProps: f, fieldGap: h, formContext: m, showOptionalIndicator: p, sectionStyle: g, sectionStyleClass: x, quickformsFeatures: C, isTopPosition: y, isRightPosition: b, arrayValue: w, objectKeyMap: q, stableKeys: E, expandedKeys: N, toggleItem: te, isItemExpanded: Q, itemsSchema: A, flatItemsSchema: B, addItem: W, removeItem: D, moveItem: Y, canAdd: ie, canRemove: G, getItemLabel: (k) => {
9143
9143
  var I;
9144
9144
  const _ = r.schema["x-item-label"];
9145
9145
  if (_ === "none" || _ === !1)
@@ -9148,8 +9148,8 @@ const gf = /* @__PURE__ */ Nt(uk, [["render", wk], ["__scopeId", "data-v-813eef2
9148
9148
  const j = w.value[k];
9149
9149
  if (typeof j == "object" && j !== null) {
9150
9150
  let $ = _, ge = !1;
9151
- if ($ = $.replace(/\{\{([^}]+)\}\}/g, (ue, Fe) => {
9152
- const Le = j[Fe.trim()];
9151
+ if ($ = $.replace(/\{\{([^}]+)\}\}/g, (ue, Ne) => {
9152
+ const Le = j[Ne.trim()];
9153
9153
  return Le != null && Le !== "" ? (ge = !0, String(Le)) : "";
9154
9154
  }), $ = $.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), ge && $.trim())
9155
9155
  return $.trim();
@@ -9204,7 +9204,7 @@ function Nk(n, e, t, i, r, l) {
9204
9204
  i.label && !t.hideLabel ? (O(), K("div", _k, [
9205
9205
  X("div", Tk, [
9206
9206
  Oe(
9207
- he(i.label) + " ",
9207
+ me(i.label) + " ",
9208
9208
  1
9209
9209
  /* TEXT */
9210
9210
  ),
@@ -9284,7 +9284,7 @@ function Nk(n, e, t, i, r, l) {
9284
9284
  X(
9285
9285
  "span",
9286
9286
  Ik,
9287
- he(i.getItemLabel(s)),
9287
+ me(i.getItemLabel(s)),
9288
9288
  1
9289
9289
  /* TEXT */
9290
9290
  )
@@ -9366,7 +9366,7 @@ function Nk(n, e, t, i, r, l) {
9366
9366
  var c, d;
9367
9367
  return [
9368
9368
  Oe(
9369
- he(((d = (c = i.formContext) == null ? void 0 : c.labels) == null ? void 0 : d.removeItem) || "Remove"),
9369
+ me(((d = (c = i.formContext) == null ? void 0 : c.labels) == null ? void 0 : d.removeItem) || "Remove"),
9370
9370
  1
9371
9371
  /* TEXT */
9372
9372
  )
@@ -9446,7 +9446,7 @@ function Nk(n, e, t, i, r, l) {
9446
9446
  i.errorMessage ? (O(), K(
9447
9447
  "div",
9448
9448
  Fk,
9449
- he(i.errorMessage),
9449
+ me(i.errorMessage),
9450
9450
  1
9451
9451
  /* TEXT */
9452
9452
  )) : R("v-if", !0)
@@ -9508,7 +9508,7 @@ const zk = /* @__PURE__ */ Dt({
9508
9508
  componentType: "keyvalue"
9509
9509
  }), m = v(() => {
9510
9510
  var z, k;
9511
- const N = ((z = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : z.keyvalue) || {}, ee = t.schema["x-quickforms-quasar"] || {}, Q = ee.addButtonPosition ?? N.addButtonPosition ?? "bottom-left", A = ee.showHeaders ?? N.showHeaders ?? !1, P = ee.keyLabel ?? N.keyLabel ?? "Key", W = ee.valueLabel ?? N.valueLabel ?? "Value", D = t.schema["x-infer-types"] ?? ee.inferTypes ?? N.inferTypes ?? !1, Y = t.schema["x-key-placeholder"] ?? ee.keyPlaceholder ?? N.keyPlaceholder ?? "key", ie = t.schema["x-value-placeholder"] ?? ee.valuePlaceholder ?? N.valuePlaceholder ?? "value", G = {
9511
+ const N = ((z = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : z.keyvalue) || {}, te = t.schema["x-quickforms-quasar"] || {}, Q = te.addButtonPosition ?? N.addButtonPosition ?? "bottom-left", A = te.showHeaders ?? N.showHeaders ?? !1, B = te.keyLabel ?? N.keyLabel ?? "Key", W = te.valueLabel ?? N.valueLabel ?? "Value", D = t.schema["x-infer-types"] ?? te.inferTypes ?? N.inferTypes ?? !1, Y = t.schema["x-key-placeholder"] ?? te.keyPlaceholder ?? N.keyPlaceholder ?? "key", ie = t.schema["x-value-placeholder"] ?? te.valuePlaceholder ?? N.valuePlaceholder ?? "value", G = {
9512
9512
  outline: !0,
9513
9513
  color: "primary",
9514
9514
  icon: "add",
@@ -9524,18 +9524,18 @@ const zk = /* @__PURE__ */ Dt({
9524
9524
  }, se = {
9525
9525
  ...G,
9526
9526
  ...N.addButton || {},
9527
- ...ee.addButton || {}
9527
+ ...te.addButton || {}
9528
9528
  }, be = {
9529
9529
  ...J,
9530
9530
  ...N.removeButton || {},
9531
- ...ee.removeButton || {}
9531
+ ...te.removeButton || {}
9532
9532
  };
9533
9533
  return {
9534
9534
  addButtonPosition: Q,
9535
9535
  addButton: se,
9536
9536
  removeButton: be,
9537
9537
  showHeaders: A,
9538
- keyLabel: P,
9538
+ keyLabel: B,
9539
9539
  valueLabel: W,
9540
9540
  inferTypes: D,
9541
9541
  keyPlaceholder: Y,
@@ -9557,8 +9557,8 @@ const zk = /* @__PURE__ */ Dt({
9557
9557
  b.value = !1;
9558
9558
  return;
9559
9559
  }
9560
- N && typeof N == "object" && !Array.isArray(N) ? y.value = Object.entries(N).map(([ee, Q]) => ({
9561
- key: ee,
9560
+ N && typeof N == "object" && !Array.isArray(N) ? y.value = Object.entries(N).map(([te, Q]) => ({
9561
+ key: te,
9562
9562
  value: String(Q),
9563
9563
  id: C++
9564
9564
  })) : y.value.length || (y.value = []);
@@ -9567,10 +9567,10 @@ const zk = /* @__PURE__ */ Dt({
9567
9567
  ), pe(
9568
9568
  y,
9569
9569
  (N) => {
9570
- const ee = {};
9570
+ const te = {};
9571
9571
  N.forEach((Q) => {
9572
- Q.key.trim() && (ee[Q.key] = m.value.inferTypes ? Hk(Q.value) : Q.value);
9573
- }), b.value = !0, r(ee);
9572
+ Q.key.trim() && (te[Q.key] = m.value.inferTypes ? Hk(Q.value) : Q.value);
9573
+ }), b.value = !0, r(te);
9574
9574
  },
9575
9575
  { deep: !0 }
9576
9576
  );
@@ -9578,7 +9578,7 @@ const zk = /* @__PURE__ */ Dt({
9578
9578
  y.value.push({ key: "", value: "", id: C++ });
9579
9579
  }
9580
9580
  function q(N) {
9581
- y.value = y.value.filter((ee) => ee.id !== N);
9581
+ y.value = y.value.filter((te) => te.id !== N);
9582
9582
  }
9583
9583
  const E = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, errorMessage: a, required: u, fieldId: c, inputProps: d, fieldGap: f, formContext: h, quickformsFeatures: m, isTopPosition: p, isRightPosition: g, isCenterPosition: x, get nextId() {
9584
9584
  return C;
@@ -9634,7 +9634,7 @@ function $k(n, e, t, i, r, l) {
9634
9634
  [
9635
9635
  X("div", Qk, [
9636
9636
  Oe(
9637
- he(i.label) + " ",
9637
+ me(i.label) + " ",
9638
9638
  1
9639
9639
  /* TEXT */
9640
9640
  ),
@@ -9678,7 +9678,7 @@ function $k(n, e, t, i, r, l) {
9678
9678
  i.hint ? (O(), K(
9679
9679
  "div",
9680
9680
  Kk,
9681
- he(i.hint),
9681
+ me(i.hint),
9682
9682
  1
9683
9683
  /* TEXT */
9684
9684
  )) : R("v-if", !0),
@@ -9687,14 +9687,14 @@ function $k(n, e, t, i, r, l) {
9687
9687
  X(
9688
9688
  "div",
9689
9689
  Jk,
9690
- he(i.quickformsFeatures.keyLabel),
9690
+ me(i.quickformsFeatures.keyLabel),
9691
9691
  1
9692
9692
  /* TEXT */
9693
9693
  ),
9694
9694
  X(
9695
9695
  "div",
9696
9696
  Xk,
9697
- he(i.quickformsFeatures.valueLabel),
9697
+ me(i.quickformsFeatures.valueLabel),
9698
9698
  1
9699
9699
  /* TEXT */
9700
9700
  ),
@@ -9746,7 +9746,7 @@ function $k(n, e, t, i, r, l) {
9746
9746
  var u, c;
9747
9747
  return [
9748
9748
  Oe(
9749
- he(((c = (u = i.formContext) == null ? void 0 : u.labels) == null ? void 0 : c.removeItem) || "Remove"),
9749
+ me(((c = (u = i.formContext) == null ? void 0 : u.labels) == null ? void 0 : c.removeItem) || "Remove"),
9750
9750
  1
9751
9751
  /* TEXT */
9752
9752
  )
@@ -9788,7 +9788,7 @@ function $k(n, e, t, i, r, l) {
9788
9788
  i.errorMessage ? (O(), K(
9789
9789
  "div",
9790
9790
  Zk,
9791
- he(i.errorMessage),
9791
+ me(i.errorMessage),
9792
9792
  1
9793
9793
  /* TEXT */
9794
9794
  )) : R("v-if", !0)
@@ -13573,7 +13573,7 @@ class Oi {
13573
13573
  var bn = /* @__PURE__ */ function(n) {
13574
13574
  return n[n.Text = 0] = "Text", n[n.WidgetBefore = 1] = "WidgetBefore", n[n.WidgetAfter = 2] = "WidgetAfter", n[n.WidgetRange = 3] = "WidgetRange", n;
13575
13575
  }(bn || (bn = {}));
13576
- class Ie extends pr {
13576
+ class Ve extends pr {
13577
13577
  constructor(e, t, i, r) {
13578
13578
  super(), this.startSide = e, this.endSide = t, this.widget = i, this.spec = r;
13579
13579
  }
@@ -13639,8 +13639,8 @@ class Ie extends pr {
13639
13639
  return this.widget ? this.widget.estimatedHeight > -1 : !1;
13640
13640
  }
13641
13641
  }
13642
- Ie.none = tt.empty;
13643
- class oo extends Ie {
13642
+ Ve.none = tt.empty;
13643
+ class oo extends Ve {
13644
13644
  constructor(e) {
13645
13645
  let { start: t, end: i } = pp(e);
13646
13646
  super(t ? -1 : 5e8, i ? 1 : -6e8, null, e), this.tagName = e.tagName || "span", this.class = e.class || "", this.attrs = e.attributes || null;
@@ -13656,7 +13656,7 @@ class oo extends Ie {
13656
13656
  }
13657
13657
  }
13658
13658
  oo.prototype.point = !1;
13659
- class so extends Ie {
13659
+ class so extends Ve {
13660
13660
  constructor(e) {
13661
13661
  super(-2e8, -2e8, null, e);
13662
13662
  }
@@ -13671,7 +13671,7 @@ class so extends Ie {
13671
13671
  }
13672
13672
  so.prototype.mapMode = vn.TrackBefore;
13673
13673
  so.prototype.point = !0;
13674
- class Ui extends Ie {
13674
+ class Ui extends Ve {
13675
13675
  constructor(e, t, i, r, l, o) {
13676
13676
  super(t, i, l, e), this.block = r, this.isReplace = o, this.mapMode = r ? t <= 0 ? vn.TrackBefore : vn.TrackAfter : vn.TrackDel;
13677
13677
  }
@@ -14318,7 +14318,7 @@ class Bt {
14318
14318
  let a = [];
14319
14319
  return o && a.push(zl.of((u) => {
14320
14320
  let c = u.plugin(s);
14321
- return c ? o(c) : Ie.none;
14321
+ return c ? o(c) : Ve.none;
14322
14322
  })), l && a.push(l(s)), a;
14323
14323
  });
14324
14324
  }
@@ -14519,7 +14519,7 @@ class Ef extends ct {
14519
14519
  return this.view.state.doc.length;
14520
14520
  }
14521
14521
  constructor(e) {
14522
- super(), this.view = e, this.decorations = [], this.dynamicDecorationMap = [!1], this.domChanged = null, this.hasComposition = null, this.markedForComposition = /* @__PURE__ */ new Set(), this.editContextFormatting = Ie.none, this.lastCompositionAfterCursor = !1, this.minWidth = 0, this.minWidthFrom = 0, this.minWidthTo = 0, this.impreciseAnchor = null, this.impreciseHead = null, this.forceSelection = !1, this.lastUpdate = Date.now(), this.setDOM(e.contentDOM), this.children = [new Qt()], this.children[0].setParent(this), this.updateDeco(), this.updateInner([new Nn(0, 0, 0, e.state.doc.length)], 0, null);
14522
+ super(), this.view = e, this.decorations = [], this.dynamicDecorationMap = [!1], this.domChanged = null, this.hasComposition = null, this.markedForComposition = /* @__PURE__ */ new Set(), this.editContextFormatting = Ve.none, this.lastCompositionAfterCursor = !1, this.minWidth = 0, this.minWidthFrom = 0, this.minWidthTo = 0, this.impreciseAnchor = null, this.impreciseHead = null, this.forceSelection = !1, this.lastUpdate = Date.now(), this.setDOM(e.contentDOM), this.children = [new Qt()], this.children[0].setParent(this), this.updateDeco(), this.updateInner([new Nn(0, 0, 0, e.state.doc.length)], 0, null);
14523
14523
  }
14524
14524
  // Update the document view to a given state.
14525
14525
  update(e) {
@@ -14801,7 +14801,7 @@ class Ef extends ct {
14801
14801
  let l = r == t.viewports.length ? null : t.viewports[r], o = l ? l.from - 1 : this.length;
14802
14802
  if (o > i) {
14803
14803
  let s = (t.lineBlockAt(o).bottom - t.lineBlockAt(i).top) / this.view.scaleY;
14804
- e.push(Ie.replace({
14804
+ e.push(Ve.replace({
14805
14805
  widget: new Hu(s),
14806
14806
  block: !0,
14807
14807
  inclusive: !0,
@@ -14812,7 +14812,7 @@ class Ef extends ct {
14812
14812
  break;
14813
14813
  i = l.to + 1;
14814
14814
  }
14815
- return Ie.set(e);
14815
+ return Ve.set(e);
14816
14816
  }
14817
14817
  updateDeco() {
14818
14818
  let e = 1, t = this.view.state.facet(zl).map((l) => (this.dynamicDecorationMap[e++] = typeof l == "function") ? l(this.view) : l), i = !1, r = this.view.state.facet(Bp).map((l, o) => {
@@ -16444,7 +16444,7 @@ class za {
16444
16444
  return !0;
16445
16445
  }
16446
16446
  draw(e, t) {
16447
- return Ie.replace({
16447
+ return Ve.replace({
16448
16448
  widget: new Hx(this.displaySize * (t ? e.scaleY : e.scaleX), t)
16449
16449
  }).range(this.from, this.to);
16450
16450
  }
@@ -16471,7 +16471,7 @@ class th {
16471
16471
  this.heightOracle = new Px(t), this.stateDeco = e.facet(zl).filter((i) => typeof i != "function"), this.heightMap = kn.empty().applyChanges(this.stateDeco, rt.empty, this.heightOracle.setDoc(e.doc), [new Nn(0, 0, 0, e.doc.length)]);
16472
16472
  for (let i = 0; i < 2 && (this.viewport = this.getViewport(0, null), !!this.updateForViewport()); i++)
16473
16473
  ;
16474
- this.updateViewportLines(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = Ie.set(this.lineGaps.map((i) => i.draw(this, !1))), this.computeVisibleRanges();
16474
+ this.updateViewportLines(), this.lineGaps = this.ensureLineGaps([]), this.lineGapDeco = Ve.set(this.lineGaps.map((i) => i.draw(this, !1))), this.computeVisibleRanges();
16475
16475
  }
16476
16476
  updateForViewport() {
16477
16477
  let e = [this.viewport], { main: t } = this.state.selection;
@@ -16655,7 +16655,7 @@ class th {
16655
16655
  return this.heightOracle.lineWrapping ? e.height * l : r.total * this.heightOracle.charWidth * l;
16656
16656
  }
16657
16657
  updateLineGaps(e) {
16658
- za.same(e, this.lineGaps) || (this.lineGaps = e, this.lineGapDeco = Ie.set(e.map((t) => t.draw(this, this.heightOracle.lineWrapping))));
16658
+ za.same(e, this.lineGaps) || (this.lineGaps = e, this.lineGapDeco = Ve.set(e.map((t) => t.draw(this, this.heightOracle.lineWrapping))));
16659
16659
  }
16660
16660
  computeVisibleRanges(e) {
16661
16661
  let t = this.stateDeco;
@@ -17372,11 +17372,11 @@ class Yx {
17372
17372
  let a = this.toEditorPos(l.rangeStart), u = this.toEditorPos(l.rangeEnd);
17373
17373
  if (a < u) {
17374
17374
  let c = `text-decoration: underline ${/^[a-z]/.test(o) ? o + " " : o == "Dashed" ? "dashed " : o == "Squiggle" ? "wavy " : ""}${/thin/i.test(s) ? 1 : 2}px`;
17375
- r.push(Ie.mark({ attributes: { style: c } }).range(a, u));
17375
+ r.push(Ve.mark({ attributes: { style: c } }).range(a, u));
17376
17376
  }
17377
17377
  }
17378
17378
  }
17379
- e.dispatch({ effects: Dp.of(Ie.set(r)) });
17379
+ e.dispatch({ effects: Dp.of(Ve.set(r)) });
17380
17380
  }, this.handlers.compositionstart = () => {
17381
17381
  e.inputState.composing < 0 && (e.inputState.composing = 0, e.inputState.compositionFirstChange = !0);
17382
17382
  }, this.handlers.compositionend = () => {
@@ -18414,31 +18414,31 @@ function nS(n, e, t) {
18414
18414
  }
18415
18415
  function C({ top: w, bottom: q, horizontal: E }) {
18416
18416
  let N = [];
18417
- for (let ee = 0; ee < E.length; ee += 2)
18418
- N.push(x(E[ee], w, E[ee + 1], q));
18417
+ for (let te = 0; te < E.length; te += 2)
18418
+ N.push(x(E[te], w, E[te + 1], q));
18419
18419
  return N;
18420
18420
  }
18421
18421
  function y(w, q, E) {
18422
- let N = 1e9, ee = -1e9, Q = [];
18422
+ let N = 1e9, te = -1e9, Q = [];
18423
18423
  function A(D, Y, ie, G, J) {
18424
18424
  let se = n.coordsAtPos(D, D == E.to ? -2 : 2), be = n.coordsAtPos(ie, ie == E.from ? 2 : -2);
18425
- !se || !be || (N = Math.min(se.top, be.top, N), ee = Math.max(se.bottom, be.bottom, ee), J == Ct.LTR ? Q.push(l && Y ? d : se.left, l && G ? f : be.right) : Q.push(!l && G ? d : be.left, !l && Y ? f : se.right));
18425
+ !se || !be || (N = Math.min(se.top, be.top, N), te = Math.max(se.bottom, be.bottom, te), J == Ct.LTR ? Q.push(l && Y ? d : se.left, l && G ? f : be.right) : Q.push(!l && G ? d : be.left, !l && Y ? f : se.right));
18426
18426
  }
18427
- let P = w ?? E.from, W = q ?? E.to;
18427
+ let B = w ?? E.from, W = q ?? E.to;
18428
18428
  for (let D of n.visibleRanges)
18429
- if (D.to > P && D.from < W)
18430
- for (let Y = Math.max(D.from, P), ie = Math.min(D.to, W); ; ) {
18429
+ if (D.to > B && D.from < W)
18430
+ for (let Y = Math.max(D.from, B), ie = Math.min(D.to, W); ; ) {
18431
18431
  let G = n.state.doc.lineAt(Y);
18432
18432
  for (let J of n.bidiSpans(G)) {
18433
18433
  let se = J.from + G.from, be = J.to + G.from;
18434
18434
  if (se >= ie)
18435
18435
  break;
18436
- be > Y && A(Math.max(se, Y), w == null && se <= P, Math.min(be, ie), q == null && be >= W, J.dir);
18436
+ be > Y && A(Math.max(se, Y), w == null && se <= B, Math.min(be, ie), q == null && be >= W, J.dir);
18437
18437
  }
18438
18438
  if (Y = G.to + 1, Y >= ie)
18439
18439
  break;
18440
18440
  }
18441
- return Q.length == 0 && A(P, w == null, W, q == null, n.textDirection), { top: N, bottom: ee, horizontal: Q };
18441
+ return Q.length == 0 && A(B, w == null, W, q == null, n.textDirection), { top: N, bottom: te, horizontal: Q };
18442
18442
  }
18443
18443
  function b(w, q) {
18444
18444
  let E = s.top + (q ? w.top : w.bottom);
@@ -18767,7 +18767,7 @@ let dh = null;
18767
18767
  function vS() {
18768
18768
  return dh || (dh = Bt.fromClass(class {
18769
18769
  constructor(n) {
18770
- this.view = n, this.decorations = Ie.none, this.decorationCache = /* @__PURE__ */ Object.create(null), this.decorator = this.makeDecorator(n.state.facet(ls)), this.decorations = this.decorator.createDeco(n);
18770
+ this.view = n, this.decorations = Ve.none, this.decorationCache = /* @__PURE__ */ Object.create(null), this.decorator = this.makeDecorator(n.state.facet(ls)), this.decorations = this.decorator.createDeco(n);
18771
18771
  }
18772
18772
  makeDecorator(n) {
18773
18773
  return new fS({
@@ -18776,11 +18776,11 @@ function vS() {
18776
18776
  let { doc: r } = t.state, l = wn(e[0], 0);
18777
18777
  if (l == 9) {
18778
18778
  let o = r.lineAt(i), s = t.state.tabSize, a = ll(o.text, s, i - o.from);
18779
- return Ie.replace({
18779
+ return Ve.replace({
18780
18780
  widget: new wS((s - a % s) * this.view.defaultCharacterWidth / this.view.scaleX)
18781
18781
  });
18782
18782
  }
18783
- return this.decorationCache[l] || (this.decorationCache[l] = Ie.replace({ widget: new kS(n, l) }));
18783
+ return this.decorationCache[l] || (this.decorationCache[l] = Ve.replace({ widget: new kS(n, l) }));
18784
18784
  },
18785
18785
  boundary: n.replaceTabs ? void 0 : /[^]/
18786
18786
  });
@@ -18833,7 +18833,7 @@ class wS extends Oi {
18833
18833
  function xS() {
18834
18834
  return CS;
18835
18835
  }
18836
- const SS = /* @__PURE__ */ Ie.line({ class: "cm-activeLine" }), CS = /* @__PURE__ */ Bt.fromClass(class {
18836
+ const SS = /* @__PURE__ */ Ve.line({ class: "cm-activeLine" }), CS = /* @__PURE__ */ Bt.fromClass(class {
18837
18837
  constructor(n) {
18838
18838
  this.decorations = this.getDeco(n);
18839
18839
  }
@@ -18846,7 +18846,7 @@ const SS = /* @__PURE__ */ Ie.line({ class: "cm-activeLine" }), CS = /* @__PURE_
18846
18846
  let r = n.lineBlockAt(i.head);
18847
18847
  r.from > e && (t.push(SS.range(r.from)), e = r.from);
18848
18848
  }
18849
- return Ie.set(t);
18849
+ return Ve.set(t);
18850
18850
  }
18851
18851
  }, {
18852
18852
  decorations: (n) => n.decorations
@@ -18873,10 +18873,10 @@ class _S extends Oi {
18873
18873
  function TS(n) {
18874
18874
  let e = Bt.fromClass(class {
18875
18875
  constructor(t) {
18876
- this.view = t, this.placeholder = n ? Ie.set([Ie.widget({ widget: new _S(n), side: 1 }).range(0)]) : Ie.none;
18876
+ this.view = t, this.placeholder = n ? Ve.set([Ve.widget({ widget: new _S(n), side: 1 }).range(0)]) : Ve.none;
18877
18877
  }
18878
18878
  get decorations() {
18879
- return this.view.state.doc.length ? Ie.none : this.placeholder;
18879
+ return this.view.state.doc.length ? Ve.none : this.placeholder;
18880
18880
  }
18881
18881
  }, { decorations: (t) => t.decorations });
18882
18882
  return typeof n == "string" ? [
@@ -20950,12 +20950,12 @@ function $c(n) {
20950
20950
  function lC(n) {
20951
20951
  var e;
20952
20952
  let { buffer: t, nodeSet: i, maxBufferLength: r = hv, reused: l = [], minRepeatType: o = i.types.length } = n, s = Array.isArray(t) ? new Zc(t, t.length) : t, a = i.types, u = 0, c = 0;
20953
- function d(w, q, E, N, ee, Q) {
20954
- let { id: A, start: P, end: W, size: D } = s, Y = c, ie = u;
20953
+ function d(w, q, E, N, te, Q) {
20954
+ let { id: A, start: B, end: W, size: D } = s, Y = c, ie = u;
20955
20955
  if (D < 0)
20956
20956
  if (s.next(), D == -1) {
20957
20957
  let z = l[A];
20958
- E.push(z), N.push(P - w);
20958
+ E.push(z), N.push(B - w);
20959
20959
  return;
20960
20960
  } else if (D == -3) {
20961
20961
  u = A;
@@ -20965,8 +20965,8 @@ function lC(n) {
20965
20965
  return;
20966
20966
  } else
20967
20967
  throw new RangeError(`Unrecognized record size: ${D}`);
20968
- let G = a[A], J, se, be = P - w;
20969
- if (W - P <= r && (se = g(s.pos - q, ee))) {
20968
+ let G = a[A], J, se, be = B - w;
20969
+ if (W - B <= r && (se = g(s.pos - q, te))) {
20970
20970
  let z = new Uint16Array(se.size - se.skip), k = s.pos - se.size, _ = z.length;
20971
20971
  for (; s.pos > k; )
20972
20972
  _ = x(se.start, z, _);
@@ -20976,68 +20976,68 @@ function lC(n) {
20976
20976
  s.next();
20977
20977
  let k = [], _ = [], M = A >= o ? A : -1, I = 0, j = W;
20978
20978
  for (; s.pos > z; )
20979
- M >= 0 && s.id == M && s.size >= 0 ? (s.end <= j - r && (m(k, _, P, I, s.end, j, M, Y, ie), I = k.length, j = s.end), s.next()) : Q > 2500 ? f(P, z, k, _) : d(P, z, k, _, M, Q + 1);
20980
- if (M >= 0 && I > 0 && I < k.length && m(k, _, P, I, P, j, M, Y, ie), k.reverse(), _.reverse(), M > -1 && I > 0) {
20979
+ M >= 0 && s.id == M && s.size >= 0 ? (s.end <= j - r && (m(k, _, B, I, s.end, j, M, Y, ie), I = k.length, j = s.end), s.next()) : Q > 2500 ? f(B, z, k, _) : d(B, z, k, _, M, Q + 1);
20980
+ if (M >= 0 && I > 0 && I < k.length && m(k, _, B, I, B, j, M, Y, ie), k.reverse(), _.reverse(), M > -1 && I > 0) {
20981
20981
  let $ = h(G, ie);
20982
- J = ed(G, k, _, 0, k.length, 0, W - P, $, $);
20982
+ J = ed(G, k, _, 0, k.length, 0, W - B, $, $);
20983
20983
  } else
20984
- J = p(G, k, _, W - P, Y - W, ie);
20984
+ J = p(G, k, _, W - B, Y - W, ie);
20985
20985
  }
20986
20986
  E.push(J), N.push(be);
20987
20987
  }
20988
20988
  function f(w, q, E, N) {
20989
- let ee = [], Q = 0, A = -1;
20989
+ let te = [], Q = 0, A = -1;
20990
20990
  for (; s.pos > q; ) {
20991
- let { id: P, start: W, end: D, size: Y } = s;
20991
+ let { id: B, start: W, end: D, size: Y } = s;
20992
20992
  if (Y > 4)
20993
20993
  s.next();
20994
20994
  else {
20995
20995
  if (A > -1 && W < A)
20996
20996
  break;
20997
- A < 0 && (A = D - r), ee.push(P, W, D), Q++, s.next();
20997
+ A < 0 && (A = D - r), te.push(B, W, D), Q++, s.next();
20998
20998
  }
20999
20999
  }
21000
21000
  if (Q) {
21001
- let P = new Uint16Array(Q * 4), W = ee[ee.length - 2];
21002
- for (let D = ee.length - 3, Y = 0; D >= 0; D -= 3)
21003
- P[Y++] = ee[D], P[Y++] = ee[D + 1] - W, P[Y++] = ee[D + 2] - W, P[Y++] = Y;
21004
- E.push(new Ki(P, ee[2] - W, i)), N.push(W - w);
21001
+ let B = new Uint16Array(Q * 4), W = te[te.length - 2];
21002
+ for (let D = te.length - 3, Y = 0; D >= 0; D -= 3)
21003
+ B[Y++] = te[D], B[Y++] = te[D + 1] - W, B[Y++] = te[D + 2] - W, B[Y++] = Y;
21004
+ E.push(new Ki(B, te[2] - W, i)), N.push(W - w);
21005
21005
  }
21006
21006
  }
21007
21007
  function h(w, q) {
21008
- return (E, N, ee) => {
21009
- let Q = 0, A = E.length - 1, P, W;
21010
- if (A >= 0 && (P = E[A]) instanceof Wt) {
21011
- if (!A && P.type == w && P.length == ee)
21012
- return P;
21013
- (W = P.prop(Ge.lookAhead)) && (Q = N[A] + P.length + W);
21014
- }
21015
- return p(w, E, N, ee, Q, q);
21008
+ return (E, N, te) => {
21009
+ let Q = 0, A = E.length - 1, B, W;
21010
+ if (A >= 0 && (B = E[A]) instanceof Wt) {
21011
+ if (!A && B.type == w && B.length == te)
21012
+ return B;
21013
+ (W = B.prop(Ge.lookAhead)) && (Q = N[A] + B.length + W);
21014
+ }
21015
+ return p(w, E, N, te, Q, q);
21016
21016
  };
21017
21017
  }
21018
- function m(w, q, E, N, ee, Q, A, P, W) {
21018
+ function m(w, q, E, N, te, Q, A, B, W) {
21019
21019
  let D = [], Y = [];
21020
21020
  for (; w.length > N; )
21021
- D.push(w.pop()), Y.push(q.pop() + E - ee);
21022
- w.push(p(i.types[A], D, Y, Q - ee, P - Q, W)), q.push(ee - E);
21021
+ D.push(w.pop()), Y.push(q.pop() + E - te);
21022
+ w.push(p(i.types[A], D, Y, Q - te, B - Q, W)), q.push(te - E);
21023
21023
  }
21024
- function p(w, q, E, N, ee, Q, A) {
21024
+ function p(w, q, E, N, te, Q, A) {
21025
21025
  if (Q) {
21026
- let P = [Ge.contextHash, Q];
21027
- A = A ? [P].concat(A) : [P];
21026
+ let B = [Ge.contextHash, Q];
21027
+ A = A ? [B].concat(A) : [B];
21028
21028
  }
21029
- if (ee > 25) {
21030
- let P = [Ge.lookAhead, ee];
21031
- A = A ? [P].concat(A) : [P];
21029
+ if (te > 25) {
21030
+ let B = [Ge.lookAhead, te];
21031
+ A = A ? [B].concat(A) : [B];
21032
21032
  }
21033
21033
  return new Wt(w, q, E, N, A);
21034
21034
  }
21035
21035
  function g(w, q) {
21036
- let E = s.fork(), N = 0, ee = 0, Q = 0, A = E.end - r, P = { size: 0, start: 0, skip: 0 };
21036
+ let E = s.fork(), N = 0, te = 0, Q = 0, A = E.end - r, B = { size: 0, start: 0, skip: 0 };
21037
21037
  e: for (let W = E.pos - w; E.pos > W; ) {
21038
21038
  let D = E.size;
21039
21039
  if (E.id == q && D >= 0) {
21040
- P.size = N, P.start = ee, P.skip = Q, Q += 4, N += 4, E.next();
21040
+ B.size = N, B.start = te, B.skip = Q, Q += 4, N += 4, E.next();
21041
21041
  continue;
21042
21042
  }
21043
21043
  let Y = E.pos - D;
@@ -21053,20 +21053,20 @@ function lC(n) {
21053
21053
  else E.id >= o && (ie += 4);
21054
21054
  E.next();
21055
21055
  }
21056
- ee = G, N += D, Q += ie;
21056
+ te = G, N += D, Q += ie;
21057
21057
  }
21058
- return (q < 0 || N == w) && (P.size = N, P.start = ee, P.skip = Q), P.size > 4 ? P : void 0;
21058
+ return (q < 0 || N == w) && (B.size = N, B.start = te, B.skip = Q), B.size > 4 ? B : void 0;
21059
21059
  }
21060
21060
  function x(w, q, E) {
21061
- let { id: N, start: ee, end: Q, size: A } = s;
21061
+ let { id: N, start: te, end: Q, size: A } = s;
21062
21062
  if (s.next(), A >= 0 && N < o) {
21063
- let P = E;
21063
+ let B = E;
21064
21064
  if (A > 4) {
21065
21065
  let W = s.pos - (A - 4);
21066
21066
  for (; s.pos > W; )
21067
21067
  E = x(w, q, E);
21068
21068
  }
21069
- q[--E] = P, q[--E] = Q - w, q[--E] = ee - w, q[--E] = N;
21069
+ q[--E] = B, q[--E] = Q - w, q[--E] = te - w, q[--E] = N;
21070
21070
  } else A == -3 ? u = N : A == -4 && (c = N);
21071
21071
  return E;
21072
21072
  }
@@ -22586,13 +22586,13 @@ function Tv(n) {
22586
22586
  }
22587
22587
  const kr = /* @__PURE__ */ Gt.define({
22588
22588
  create() {
22589
- return Ie.none;
22589
+ return Ve.none;
22590
22590
  },
22591
22591
  update(n, e) {
22592
22592
  e.isUserEvent("delete") && e.changes.iterChangedRanges((t, i) => n = qh(n, t, i)), n = n.map(e.changes);
22593
22593
  for (let t of e.effects)
22594
22594
  if (t.is(sa) && !RC(n, t.value.from, t.value.to)) {
22595
- let { preparePlaceholder: i } = e.state.facet(qv), r = i ? Ie.replace({ widget: new HC(i(e.state, t.value)) }) : Oh;
22595
+ let { preparePlaceholder: i } = e.state.facet(qv), r = i ? Ve.replace({ widget: new HC(i(e.state, t.value)) }) : Oh;
22596
22596
  n = n.update({ add: [r.range(t.value.from, t.value.to)] });
22597
22597
  } else t.is(fo) && (n = n.update({
22598
22598
  filter: (i, r) => t.value.from != i || t.value.to != r,
@@ -22618,7 +22618,7 @@ const kr = /* @__PURE__ */ Gt.define({
22618
22618
  throw new RangeError("Invalid JSON for fold state");
22619
22619
  e.push(Oh.range(i, r));
22620
22620
  }
22621
- return Ie.set(e, !0);
22621
+ return Ve.set(e, !0);
22622
22622
  }
22623
22623
  });
22624
22624
  function qh(n, e, t = e) {
@@ -22710,7 +22710,7 @@ function Dv(n, e) {
22710
22710
  let l = document.createElement("span");
22711
22711
  return l.textContent = i.placeholderText, l.setAttribute("aria-label", t.phrase("folded code")), l.title = t.phrase("unfold"), l.className = "cm-foldPlaceholder", l.onclick = r, l;
22712
22712
  }
22713
- const Oh = /* @__PURE__ */ Ie.replace({ widget: /* @__PURE__ */ new class extends Oi {
22713
+ const Oh = /* @__PURE__ */ Ve.replace({ widget: /* @__PURE__ */ new class extends Oi {
22714
22714
  toDOM(n) {
22715
22715
  return Dv(n, null);
22716
22716
  }
@@ -22864,11 +22864,11 @@ class WC {
22864
22864
  }
22865
22865
  buildDeco(e, t) {
22866
22866
  if (!t || !this.tree.length)
22867
- return Ie.none;
22867
+ return Ve.none;
22868
22868
  let i = new Mi();
22869
22869
  for (let { from: r, to: l } of e.visibleRanges)
22870
22870
  fC(this.tree, t, (o, s, a) => {
22871
- i.add(o, s, this.markCache[a] || (this.markCache[a] = Ie.mark({ class: a })));
22871
+ i.add(o, s, this.markCache[a] || (this.markCache[a] = Ve.mark({ class: a })));
22872
22872
  }, r, l);
22873
22873
  return i.finish();
22874
22874
  }
@@ -22965,14 +22965,14 @@ const UC = /* @__PURE__ */ xr.high(/* @__PURE__ */ Bt.fromClass(WC, {
22965
22965
  renderMatch: XC
22966
22966
  });
22967
22967
  }
22968
- }), GC = /* @__PURE__ */ Ie.mark({ class: "cm-matchingBracket" }), JC = /* @__PURE__ */ Ie.mark({ class: "cm-nonmatchingBracket" });
22968
+ }), GC = /* @__PURE__ */ Ve.mark({ class: "cm-matchingBracket" }), JC = /* @__PURE__ */ Ve.mark({ class: "cm-nonmatchingBracket" });
22969
22969
  function XC(n) {
22970
22970
  let e = [], t = n.matched ? GC : JC;
22971
22971
  return e.push(t.range(n.start.from, n.start.to)), n.end && e.push(t.range(n.end.from, n.end.to)), e;
22972
22972
  }
22973
22973
  const ZC = /* @__PURE__ */ Gt.define({
22974
22974
  create() {
22975
- return Ie.none;
22975
+ return Ve.none;
22976
22976
  },
22977
22977
  update(n, e) {
22978
22978
  if (!e.docChanged && !e.selection)
@@ -22984,7 +22984,7 @@ const ZC = /* @__PURE__ */ Gt.define({
22984
22984
  let l = di(e.state, r.head, -1, i) || r.head > 0 && di(e.state, r.head - 1, 1, i) || i.afterCursor && (di(e.state, r.head, 1, i) || r.head < e.state.doc.length && di(e.state, r.head + 1, -1, i));
22985
22985
  l && (t = t.concat(i.renderMatch(l, e.state)));
22986
22986
  }
22987
- return Ie.set(t, !0);
22987
+ return Ve.set(t, !0);
22988
22988
  },
22989
22989
  provide: (n) => xe.decorations.from(n)
22990
22990
  }), $C = [
@@ -24125,7 +24125,7 @@ const Dl = /* @__PURE__ */ We.define(), Qh = /* @__PURE__ */ Gt.define({
24125
24125
  function _T(n) {
24126
24126
  return [OT, qT];
24127
24127
  }
24128
- const TT = /* @__PURE__ */ Ie.mark({ class: "cm-selectionMatch" }), MT = /* @__PURE__ */ Ie.mark({ class: "cm-selectionMatch cm-selectionMatch-main" });
24128
+ const TT = /* @__PURE__ */ Ve.mark({ class: "cm-selectionMatch" }), MT = /* @__PURE__ */ Ve.mark({ class: "cm-selectionMatch cm-selectionMatch-main" });
24129
24129
  function jh(n, e, t, i) {
24130
24130
  return (t == 0 || n(e.sliceDoc(t - 1, t)) != Tt.Word) && (i == e.doc.length || n(e.sliceDoc(i, i + 1)) != Tt.Word);
24131
24131
  }
@@ -24142,24 +24142,24 @@ const qT = /* @__PURE__ */ Bt.fromClass(class {
24142
24142
  getDeco(n) {
24143
24143
  let e = n.state.facet(CT), { state: t } = n, i = t.selection;
24144
24144
  if (i.ranges.length > 1)
24145
- return Ie.none;
24145
+ return Ve.none;
24146
24146
  let r = i.main, l, o = null;
24147
24147
  if (r.empty) {
24148
24148
  if (!e.highlightWordAroundCursor)
24149
- return Ie.none;
24149
+ return Ve.none;
24150
24150
  let a = t.wordAt(r.head);
24151
24151
  if (!a)
24152
- return Ie.none;
24152
+ return Ve.none;
24153
24153
  o = t.charCategorizer(r.head), l = t.sliceDoc(a.from, a.to);
24154
24154
  } else {
24155
24155
  let a = r.to - r.from;
24156
24156
  if (a < e.minSelectionLength || a > 200)
24157
- return Ie.none;
24157
+ return Ve.none;
24158
24158
  if (e.wholeWords) {
24159
24159
  if (l = t.sliceDoc(r.from, r.to), o = t.charCategorizer(r.head), !(jh(o, t, r.from, r.to) && AT(o, t, r.from, r.to)))
24160
- return Ie.none;
24160
+ return Ve.none;
24161
24161
  } else if (l = t.sliceDoc(r.from, r.to), !l)
24162
- return Ie.none;
24162
+ return Ve.none;
24163
24163
  }
24164
24164
  let s = [];
24165
24165
  for (let a of n.visibleRanges) {
@@ -24167,10 +24167,10 @@ const qT = /* @__PURE__ */ Bt.fromClass(class {
24167
24167
  for (; !u.next().done; ) {
24168
24168
  let { from: c, to: d } = u.value;
24169
24169
  if ((!o || jh(o, t, c, d)) && (r.empty && c <= r.from && d >= r.to ? s.push(MT.range(c, d)) : (c >= r.to || d <= r.from) && s.push(TT.range(c, d)), s.length > e.maxMatches))
24170
- return Ie.none;
24170
+ return Ve.none;
24171
24171
  }
24172
24172
  }
24173
- return Ie.set(s);
24173
+ return Ve.set(s);
24174
24174
  }
24175
24175
  }, {
24176
24176
  decorations: (n) => n.decorations
@@ -24405,7 +24405,7 @@ class iu {
24405
24405
  this.query = e, this.panel = t;
24406
24406
  }
24407
24407
  }
24408
- const VT = /* @__PURE__ */ Ie.mark({ class: "cm-searchMatch" }), FT = /* @__PURE__ */ Ie.mark({ class: "cm-searchMatch cm-searchMatch-selected" }), NT = /* @__PURE__ */ Bt.fromClass(class {
24408
+ const VT = /* @__PURE__ */ Ve.mark({ class: "cm-searchMatch" }), FT = /* @__PURE__ */ Ve.mark({ class: "cm-searchMatch cm-searchMatch-selected" }), NT = /* @__PURE__ */ Bt.fromClass(class {
24409
24409
  constructor(n) {
24410
24410
  this.view = n, this.decorations = this.highlight(n.state.field(Qi));
24411
24411
  }
@@ -24415,7 +24415,7 @@ const VT = /* @__PURE__ */ Ie.mark({ class: "cm-searchMatch" }), FT = /* @__PURE
24415
24415
  }
24416
24416
  highlight({ query: n, panel: e }) {
24417
24417
  if (!e || !n.spec.valid)
24418
- return Ie.none;
24418
+ return Ve.none;
24419
24419
  let { view: t } = this, i = new Mi();
24420
24420
  for (let r = 0, l = t.visibleRanges, o = l.length; r < o; r++) {
24421
24421
  let { from: s, to: a } = l[r];
@@ -25938,13 +25938,13 @@ class rr {
25938
25938
  }
25939
25939
  let C = H0(s);
25940
25940
  if (x)
25941
- o.add(p, p, Ie.widget({
25941
+ o.add(p, p, Ve.widget({
25942
25942
  widget: new QM(C),
25943
25943
  diagnostics: s.slice()
25944
25944
  }));
25945
25945
  else {
25946
25946
  let y = s.reduce((b, w) => w.markClass ? b + " " + w.markClass : b, "");
25947
- o.add(p, g, Ie.mark({
25947
+ o.add(p, g, Ve.mark({
25948
25948
  class: "cm-lintRange cm-lintRange-" + C + y,
25949
25949
  diagnostics: s.slice(),
25950
25950
  inclusiveEnd: s.some((b) => b.to > g)
@@ -25989,7 +25989,7 @@ function RM(n, e) {
25989
25989
  }
25990
25990
  const ha = /* @__PURE__ */ We.define(), hd = /* @__PURE__ */ We.define(), I0 = /* @__PURE__ */ We.define(), Bn = /* @__PURE__ */ Gt.define({
25991
25991
  create() {
25992
- return new rr(Ie.none, null, null);
25992
+ return new rr(Ve.none, null, null);
25993
25993
  },
25994
25994
  update(n, e) {
25995
25995
  if (e.docChanged && n.diagnostics.size) {
@@ -26011,7 +26011,7 @@ const ha = /* @__PURE__ */ We.define(), hd = /* @__PURE__ */ We.define(), I0 = /
26011
26011
  Wl.from(n, (e) => e.panel),
26012
26012
  xe.decorations.from(n, (e) => e.diagnostics)
26013
26013
  ]
26014
- }), LM = /* @__PURE__ */ Ie.mark({ class: "cm-lintRange cm-lintRange-active" });
26014
+ }), LM = /* @__PURE__ */ Ve.mark({ class: "cm-lintRange cm-lintRange-active" });
26015
26015
  function EM(n, e, t) {
26016
26016
  let { diagnostics: i } = n.state.field(Bn), r, l = -1, o = -1;
26017
26017
  i.between(e - (t < 0 ? 1 : 0), e + (t > 0 ? 1 : 0), (a, u, { spec: c }) => {
@@ -26505,7 +26505,7 @@ const GM = /* @__PURE__ */ uv({
26505
26505
  Bn,
26506
26506
  /* @__PURE__ */ xe.decorations.compute([Bn], (n) => {
26507
26507
  let { selected: e, panel: t } = n.field(Bn);
26508
- return !e || !t || e.from == e.to ? Ie.none : Ie.set([
26508
+ return !e || !t || e.from == e.to ? Ve.none : Ve.set([
26509
26509
  LM.range(e.from, e.to)
26510
26510
  ]);
26511
26511
  }),
@@ -28233,7 +28233,7 @@ const SA = "#e5c07b", dm = "#e06c75", CA = "#56b6c2", _A = "#ffffff", cs = "#abb
28233
28233
  var Y, ie;
28234
28234
  const D = t.schema["x-json-format-key"];
28235
28235
  return D !== void 0 ? D : ((ie = (Y = f == null ? void 0 : f.quickformsDefaults) == null ? void 0 : Y.jsoneditor) == null ? void 0 : ie.formatKey) ?? "Ctrl-.";
28236
- }), ee = v(() => {
28236
+ }), te = v(() => {
28237
28237
  console.log("[JSON Editor] Building extensions:", {
28238
28238
  showLineNumbers: b.value,
28239
28239
  showLintGutter: w.value,
@@ -28266,7 +28266,7 @@ const SA = "#e5c07b", dm = "#e06c75", CA = "#56b6c2", _A = "#ffffff", cs = "#abb
28266
28266
  m.value = D;
28267
28267
  });
28268
28268
  });
28269
- function P(D, Y) {
28269
+ function B(D, Y) {
28270
28270
  if (!g.value)
28271
28271
  try {
28272
28272
  const ie = JSON.parse(D);
@@ -28275,7 +28275,7 @@ const SA = "#e5c07b", dm = "#e06c75", CA = "#56b6c2", _A = "#ffffff", cs = "#abb
28275
28275
  p.value = ie.message;
28276
28276
  }
28277
28277
  }
28278
- const W = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, errorMessage: a, required: u, fieldId: c, fieldGap: d, formContext: f, $q: h, code: m, parseError: p, isInitializing: g, editorHeight: x, useDarkTheme: C, formatJSON: y, showLineNumbers: b, showLintGutter: w, tabSize: q, indentWithTab: E, formatKey: N, extensions: ee, displayError: Q, editorKey: A, handleChange: P, get Codemirror() {
28278
+ const W = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, errorMessage: a, required: u, fieldId: c, fieldGap: d, formContext: f, $q: h, code: m, parseError: p, isInitializing: g, editorHeight: x, useDarkTheme: C, formatJSON: y, showLineNumbers: b, showLintGutter: w, tabSize: q, indentWithTab: E, formatKey: N, extensions: te, displayError: Q, editorKey: A, handleChange: B, get Codemirror() {
28279
28279
  return sA;
28280
28280
  } };
28281
28281
  return Object.defineProperty(W, "__isScriptSetup", { enumerable: !1, value: !0 }), W;
@@ -28304,7 +28304,7 @@ function QA(n, e, t, i, r, l) {
28304
28304
  i.label ? (O(), K("div", LA, [
28305
28305
  X("span", EA, [
28306
28306
  Oe(
28307
- he(i.label) + " ",
28307
+ me(i.label) + " ",
28308
28308
  1
28309
28309
  /* TEXT */
28310
28310
  ),
@@ -28342,7 +28342,7 @@ function QA(n, e, t, i, r, l) {
28342
28342
  X(
28343
28343
  "kbd",
28344
28344
  null,
28345
- he(i.formatKey),
28345
+ me(i.formatKey),
28346
28346
  1
28347
28347
  /* TEXT */
28348
28348
  ),
@@ -28380,7 +28380,7 @@ function QA(n, e, t, i, r, l) {
28380
28380
  i.displayError ? (O(), K(
28381
28381
  "div",
28382
28382
  zA,
28383
- he(i.displayError),
28383
+ me(i.displayError),
28384
28384
  1
28385
28385
  /* TEXT */
28386
28386
  )) : R("v-if", !0)
@@ -28428,7 +28428,7 @@ const pm = /* @__PURE__ */ Nt(RA, [["render", QA], ["__file", "/Users/zachsherbo
28428
28428
  autocompleteThreshold: q,
28429
28429
  useInput: E,
28430
28430
  fillInput: N,
28431
- hideSelected: ee,
28431
+ hideSelected: te,
28432
28432
  ...Q
28433
28433
  } = b;
28434
28434
  return Q;
@@ -28440,13 +28440,13 @@ const pm = /* @__PURE__ */ Nt(RA, [["render", QA], ["__file", "/Users/zachsherbo
28440
28440
  const q = w.enum;
28441
28441
  if (!q) return [];
28442
28442
  const E = w["x-enum-labels"], N = w["x-enum-descriptions"];
28443
- return q.map((ee) => {
28444
- let Q = String(ee);
28445
- E && ee in E && (Q = E[ee]);
28446
- const A = (N == null ? void 0 : N[ee]) ?? void 0;
28443
+ return q.map((te) => {
28444
+ let Q = String(te);
28445
+ E && te in E && (Q = E[te]);
28446
+ const A = (N == null ? void 0 : N[te]) ?? void 0;
28447
28447
  return {
28448
28448
  label: Q,
28449
- value: ee,
28449
+ value: te,
28450
28450
  description: A
28451
28451
  };
28452
28452
  });
@@ -28554,7 +28554,7 @@ function KA(n, e, t, i, r, l) {
28554
28554
  }, {
28555
28555
  default: U(() => [
28556
28556
  Oe(
28557
- he(s.label),
28557
+ me(s.label),
28558
28558
  1
28559
28559
  /* TEXT */
28560
28560
  )
@@ -28572,7 +28572,7 @@ function KA(n, e, t, i, r, l) {
28572
28572
  {
28573
28573
  default: U(() => [
28574
28574
  Oe(
28575
- he(s.description),
28575
+ me(s.description),
28576
28576
  1
28577
28577
  /* TEXT */
28578
28578
  )
@@ -28605,7 +28605,7 @@ function KA(n, e, t, i, r, l) {
28605
28605
  name: "label",
28606
28606
  fn: U(() => [
28607
28607
  Oe(
28608
- he(i.label) + " ",
28608
+ me(i.label) + " ",
28609
28609
  1
28610
28610
  /* TEXT */
28611
28611
  ),
@@ -28783,7 +28783,7 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28783
28783
  setup(n, { slots: e, emit: t }) {
28784
28784
  const { proxy: i } = Xe(), { $q: r } = i, { registerTick: l } = Vr(), { registerTick: o } = Vr(), { registerTick: s } = Vr(), { registerTimeout: a, removeTimeout: u } = Ll(), { registerTimeout: c, removeTimeout: d } = Ll(), f = ae(null), h = ae(null), m = ae(n.modelValue), p = ae(!1), g = ae(!0), x = ae(!1), C = ae(!1), y = [], b = ae(0), w = ae(!1);
28785
28785
  let q = null, E = null, N;
28786
- const ee = v(() => ({
28786
+ const te = v(() => ({
28787
28787
  activeClass: n.activeClass,
28788
28788
  activeColor: n.activeColor,
28789
28789
  activeBgColor: n.activeBgColor,
@@ -28801,7 +28801,7 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28801
28801
  if (y[Be].name.value === Se)
28802
28802
  return !0;
28803
28803
  return !1;
28804
- }), A = v(() => `q-tabs__content--align-${p.value === !0 ? "left" : C.value === !0 ? "justify" : n.align}`), P = v(
28804
+ }), A = v(() => `q-tabs__content--align-${p.value === !0 ? "left" : C.value === !0 ? "justify" : n.align}`), B = v(
28805
28805
  () => `q-tabs row no-wrap items-center q-tabs--${p.value === !0 ? "" : "not-"}scrollable q-tabs--${n.vertical === !0 ? "vertical" : "horizontal"} q-tabs__arrows--${n.outsideArrows === !0 ? "outside" : "inside"} q-tabs--mobile-with${n.mobileArrows === !0 ? "" : "out"}-arrows` + (n.dense === !0 ? " q-tabs--dense" : "") + (n.shrink === !0 ? " col-shrink" : "") + (n.stretch === !0 ? " self-stretch" : "")
28806
28806
  ), W = v(
28807
28807
  () => "q-tabs__content scroll--mobile row no-wrap items-center self-stretch hide-scrollbar relative-position " + A.value + (n.contentClass !== void 0 ? ` ${n.contentClass}` : "")
@@ -28826,21 +28826,21 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28826
28826
  h.value[D.value.scroll],
28827
28827
  Array.prototype.reduce.call(
28828
28828
  h.value.children,
28829
- (B, L) => B + (L[D.value.content] || 0),
28829
+ (P, L) => P + (L[D.value.content] || 0),
28830
28830
  0
28831
28831
  )
28832
28832
  ), Z = Se > 0 && Be > Se;
28833
28833
  p.value = Z, Z === !0 && o(k), C.value = Se < parseInt(n.breakpoint, 10);
28834
28834
  }
28835
28835
  function be(fe, Se) {
28836
- const Be = fe != null && fe !== "" ? y.find((B) => B.name.value === fe) : null, Z = Se != null && Se !== "" ? y.find((B) => B.name.value === Se) : null;
28836
+ const Be = fe != null && fe !== "" ? y.find((P) => P.name.value === fe) : null, Z = Se != null && Se !== "" ? y.find((P) => P.name.value === Se) : null;
28837
28837
  if (st === !0)
28838
28838
  st = !1;
28839
28839
  else if (Be && Z) {
28840
- const B = Be.tabIndicatorRef.value, L = Z.tabIndicatorRef.value;
28841
- q !== null && (clearTimeout(q), q = null), B.style.transition = "none", B.style.transform = "none", L.style.transition = "none", L.style.transform = "none";
28842
- const te = B.getBoundingClientRect(), me = L.getBoundingClientRect();
28843
- L.style.transform = n.vertical === !0 ? `translate3d(0,${te.top - me.top}px,0) scale3d(1,${me.height ? te.height / me.height : 1},1)` : `translate3d(${te.left - me.left}px,0,0) scale3d(${me.width ? te.width / me.width : 1},1,1)`, s(() => {
28840
+ const P = Be.tabIndicatorRef.value, L = Z.tabIndicatorRef.value;
28841
+ q !== null && (clearTimeout(q), q = null), P.style.transition = "none", P.style.transform = "none", L.style.transition = "none", L.style.transform = "none";
28842
+ const ee = P.getBoundingClientRect(), he = L.getBoundingClientRect();
28843
+ L.style.transform = n.vertical === !0 ? `translate3d(0,${ee.top - he.top}px,0) scale3d(1,${he.height ? ee.height / he.height : 1},1)` : `translate3d(${ee.left - he.left}px,0,0) scale3d(${he.width ? ee.width / he.width : 1},1,1)`, s(() => {
28844
28844
  q = setTimeout(() => {
28845
28845
  q = null, L.style.transition = "transform .25s cubic-bezier(.4, 0, .2, 1)", L.style.transform = "none";
28846
28846
  }, 70);
@@ -28849,13 +28849,13 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28849
28849
  Z && p.value === !0 && z(Z.rootRef.value);
28850
28850
  }
28851
28851
  function z(fe) {
28852
- const { left: Se, width: Be, top: Z, height: B } = h.value.getBoundingClientRect(), L = fe.getBoundingClientRect();
28853
- let te = n.vertical === !0 ? L.top - Z : L.left - Se;
28854
- if (te < 0) {
28855
- h.value[n.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(te), k();
28852
+ const { left: Se, width: Be, top: Z, height: P } = h.value.getBoundingClientRect(), L = fe.getBoundingClientRect();
28853
+ let ee = n.vertical === !0 ? L.top - Z : L.left - Se;
28854
+ if (ee < 0) {
28855
+ h.value[n.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.floor(ee), k();
28856
28856
  return;
28857
28857
  }
28858
- te += n.vertical === !0 ? L.height - B : L.width - Be, te > 0 && (h.value[n.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(te), k());
28858
+ ee += n.vertical === !0 ? L.height - P : L.width - Be, ee > 0 && (h.value[n.vertical === !0 ? "scrollTop" : "scrollLeft"] += Math.ceil(ee), k());
28859
28859
  }
28860
28860
  function k() {
28861
28861
  const fe = h.value;
@@ -28880,17 +28880,17 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28880
28880
  function $(fe, Se) {
28881
28881
  const Be = Array.prototype.filter.call(
28882
28882
  h.value.children,
28883
- (me) => me === Se || me.matches && me.matches(".q-tab.q-focusable") === !0
28883
+ (he) => he === Se || he.matches && he.matches(".q-tab.q-focusable") === !0
28884
28884
  ), Z = Be.length;
28885
28885
  if (Z === 0) return;
28886
28886
  if (fe === 36)
28887
28887
  return z(Be[0]), Be[0].focus(), !0;
28888
28888
  if (fe === 35)
28889
28889
  return z(Be[Z - 1]), Be[Z - 1].focus(), !0;
28890
- const B = fe === (n.vertical === !0 ? 38 : 37), L = fe === (n.vertical === !0 ? 40 : 39), te = B === !0 ? -1 : L === !0 ? 1 : void 0;
28891
- if (te !== void 0) {
28892
- const me = Y.value === !0 ? -1 : 1, Ne = Be.indexOf(Se) + te * me;
28893
- return Ne >= 0 && Ne < Z && (z(Be[Ne]), Be[Ne].focus({ preventScroll: !0 })), !0;
28890
+ const P = fe === (n.vertical === !0 ? 38 : 37), L = fe === (n.vertical === !0 ? 40 : 39), ee = P === !0 ? -1 : L === !0 ? 1 : void 0;
28891
+ if (ee !== void 0) {
28892
+ const he = Y.value === !0 ? -1 : 1, Ie = Be.indexOf(Se) + ee * he;
28893
+ return Ie >= 0 && Ie < Z && (z(Be[Ie]), Be[Ie].focus({ preventScroll: !0 })), !0;
28894
28894
  }
28895
28895
  }
28896
28896
  const ge = v(() => ie.value === !0 ? { get: (fe) => Math.abs(fe.scrollLeft), set: (fe, Se) => {
@@ -28902,11 +28902,11 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28902
28902
  } });
28903
28903
  function ue(fe) {
28904
28904
  const Se = h.value, { get: Be, set: Z } = ge.value;
28905
- let B = !1, L = Be(Se);
28906
- const te = fe < L ? -1 : 1;
28907
- return L += te * 5, L < 0 ? (B = !0, L = 0) : (te === -1 && L <= fe || te === 1 && L >= fe) && (B = !0, L = fe), Z(Se, L), k(), B;
28905
+ let P = !1, L = Be(Se);
28906
+ const ee = fe < L ? -1 : 1;
28907
+ return L += ee * 5, L < 0 ? (P = !0, L = 0) : (ee === -1 && L <= fe || ee === 1 && L >= fe) && (P = !0, L = fe), Z(Se, L), k(), P;
28908
28908
  }
28909
- function Fe(fe, Se) {
28909
+ function Ne(fe, Se) {
28910
28910
  for (const Be in fe)
28911
28911
  if (fe[Be] !== Se[Be])
28912
28912
  return !1;
@@ -28914,40 +28914,40 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28914
28914
  }
28915
28915
  function Le() {
28916
28916
  let fe = null, Se = { matchedLen: 0, queryDiff: 9999, hrefLen: 0 };
28917
- const Be = y.filter((te) => {
28918
- var me;
28919
- return ((me = te.routeData) == null ? void 0 : me.hasRouterLink.value) === !0;
28920
- }), { hash: Z, query: B } = i.$route, L = Object.keys(B).length;
28921
- for (const te of Be) {
28922
- const me = te.routeData.exact.value === !0;
28923
- if (te.routeData[me === !0 ? "linkIsExactActive" : "linkIsActive"].value !== !0)
28917
+ const Be = y.filter((ee) => {
28918
+ var he;
28919
+ return ((he = ee.routeData) == null ? void 0 : he.hasRouterLink.value) === !0;
28920
+ }), { hash: Z, query: P } = i.$route, L = Object.keys(P).length;
28921
+ for (const ee of Be) {
28922
+ const he = ee.routeData.exact.value === !0;
28923
+ if (ee.routeData[he === !0 ? "linkIsExactActive" : "linkIsActive"].value !== !0)
28924
28924
  continue;
28925
- const { hash: Ne, query: ne, matched: ce, href: Ce } = te.routeData.resolvedLink.value, De = Object.keys(ne).length;
28926
- if (me === !0) {
28927
- if (Ne !== Z || De !== L || Fe(B, ne) === !1)
28925
+ const { hash: Ie, query: ne, matched: ce, href: Ce } = ee.routeData.resolvedLink.value, De = Object.keys(ne).length;
28926
+ if (he === !0) {
28927
+ if (Ie !== Z || De !== L || Ne(P, ne) === !1)
28928
28928
  continue;
28929
- fe = te.name.value;
28929
+ fe = ee.name.value;
28930
28930
  break;
28931
28931
  }
28932
- if (Ne !== "" && Ne !== Z || De !== 0 && Fe(ne, B) === !1)
28932
+ if (Ie !== "" && Ie !== Z || De !== 0 && Ne(ne, P) === !1)
28933
28933
  continue;
28934
28934
  const Ue = {
28935
28935
  matchedLen: ce.length,
28936
28936
  queryDiff: L - De,
28937
- hrefLen: Ce.length - Ne.length
28937
+ hrefLen: Ce.length - Ie.length
28938
28938
  };
28939
28939
  if (Ue.matchedLen > Se.matchedLen) {
28940
- fe = te.name.value, Se = Ue;
28940
+ fe = ee.name.value, Se = Ue;
28941
28941
  continue;
28942
28942
  } else if (Ue.matchedLen !== Se.matchedLen)
28943
28943
  continue;
28944
28944
  if (Ue.queryDiff < Se.queryDiff)
28945
- fe = te.name.value, Se = Ue;
28945
+ fe = ee.name.value, Se = Ue;
28946
28946
  else if (Ue.queryDiff !== Se.queryDiff)
28947
28947
  continue;
28948
- Ue.hrefLen > Se.hrefLen && (fe = te.name.value, Se = Ue);
28948
+ Ue.hrefLen > Se.hrefLen && (fe = ee.name.value, Se = Ue);
28949
28949
  }
28950
- if (fe === null && y.some((te) => te.routeData === void 0 && te.name.value === m.value) === !0) {
28950
+ if (fe === null && y.some((ee) => ee.routeData === void 0 && ee.name.value === m.value) === !0) {
28951
28951
  st = !1;
28952
28952
  return;
28953
28953
  }
@@ -28988,7 +28988,7 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
28988
28988
  }
28989
28989
  const Jt = {
28990
28990
  currentModel: m,
28991
- tabProps: ee,
28991
+ tabProps: te,
28992
28992
  hasFocus: w,
28993
28993
  hasActiveTab: Q,
28994
28994
  registerTab: dt,
@@ -29010,7 +29010,7 @@ const ZA = ["left", "center", "right", "justify"], $A = et({
29010
29010
  Rt === !0 && (Mt(), st = !0, pt()), J();
29011
29011
  }), () => S("div", {
29012
29012
  ref: f,
29013
- class: P.value,
29013
+ class: B.value,
29014
29014
  role: "tablist",
29015
29015
  onFocusin: ze,
29016
29016
  onFocusout: at
@@ -29216,8 +29216,8 @@ const rq = et({
29216
29216
  p.value = k;
29217
29217
  const _ = m.value[k];
29218
29218
  if (_ && _.properties) {
29219
- const M = i.value && typeof i.value == "object" ? i.value : {}, I = Cl.getDefaultValue(_) || {}, j = x(_), $ = { ...I, ...M, ...j }, ge = Object.keys($).some((Fe) => !(Fe in M)), ue = Object.entries(j).some(
29220
- ([Fe, Le]) => M[Fe] !== Le
29219
+ const M = i.value && typeof i.value == "object" ? i.value : {}, I = Cl.getDefaultValue(_) || {}, j = x(_), $ = { ...I, ...M, ...j }, ge = Object.keys($).some((Ne) => !(Ne in M)), ue = Object.entries(j).some(
29220
+ ([Ne, Le]) => M[Ne] !== Le
29221
29221
  );
29222
29222
  (ge || ue) && r && r($, !1);
29223
29223
  }
@@ -29251,7 +29251,7 @@ const rq = et({
29251
29251
  var M;
29252
29252
  const _ = E.value;
29253
29253
  return !_ || !((M = k == null ? void 0 : k.properties) != null && M[_]) ? null : k.properties[_].const ?? null;
29254
- }, ee = (k, _) => {
29254
+ }, te = (k, _) => {
29255
29255
  const M = t.schema["x-oneof-labels"];
29256
29256
  if (M) {
29257
29257
  if (Array.isArray(M) && M[_])
@@ -29289,7 +29289,7 @@ const rq = et({
29289
29289
  return k[M];
29290
29290
  }
29291
29291
  return null;
29292
- }), P = v(() => {
29292
+ }), B = v(() => {
29293
29293
  const k = t.schema["x-oneof-docsIcon"];
29294
29294
  if (!k) return "description";
29295
29295
  if (typeof k == "string")
@@ -29314,7 +29314,7 @@ const rq = et({
29314
29314
  }
29315
29315
  return "View documentation";
29316
29316
  }), D = v(() => m.value.map((k, _) => ({
29317
- label: ee(k, _),
29317
+ label: te(k, _),
29318
29318
  value: _
29319
29319
  }))), Y = v(() => {
29320
29320
  var _, M;
@@ -29353,7 +29353,7 @@ const rq = et({
29353
29353
  pe(p, (k, _) => {
29354
29354
  g.value && k !== _ && se(k);
29355
29355
  });
29356
- const z = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, errorMessage: a, fieldId: u, fieldGap: c, formContext: d, isFlat: f, quasarProps: h, options: m, selectedIndex: p, isInitialized: g, extractConstValues: x, findMatchingOptionIndex: C, activeSchema: y, activeProperties: b, shouldRenderPropertiesInline: w, displayStyle: q, discriminatorField: E, getDiscriminatorValue: N, getOptionLabel: ee, activeOptionDescription: Q, activeOptionDocsUrl: A, activeOptionDocsIcon: P, activeOptionDocsTooltip: W, allSelectOptions: D, selectLabel: Y, filteredOptions: ie, useFilter: G, filterFn: J, applySchemaDefaults: se, handleOptionChange: (k) => {
29356
+ const z = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, errorMessage: a, fieldId: u, fieldGap: c, formContext: d, isFlat: f, quasarProps: h, options: m, selectedIndex: p, isInitialized: g, extractConstValues: x, findMatchingOptionIndex: C, activeSchema: y, activeProperties: b, shouldRenderPropertiesInline: w, displayStyle: q, discriminatorField: E, getDiscriminatorValue: N, getOptionLabel: te, activeOptionDescription: Q, activeOptionDocsUrl: A, activeOptionDocsIcon: B, activeOptionDocsTooltip: W, allSelectOptions: D, selectLabel: Y, filteredOptions: ie, useFilter: G, filterFn: J, applySchemaDefaults: se, handleOptionChange: (k) => {
29357
29357
  p.value = k;
29358
29358
  }, get QCard() {
29359
29359
  return Ec;
@@ -29412,7 +29412,7 @@ function vq(n, e, t, i, r, l) {
29412
29412
  default: U(() => [
29413
29413
  i.label && !i.isFlat ? (O(), K("div", oq, [
29414
29414
  Oe(
29415
- he(i.label) + " ",
29415
+ me(i.label) + " ",
29416
29416
  1
29417
29417
  /* TEXT */
29418
29418
  ),
@@ -29440,7 +29440,7 @@ function vq(n, e, t, i, r, l) {
29440
29440
  i.hint ? (O(), K(
29441
29441
  "div",
29442
29442
  uq,
29443
- he(i.hint),
29443
+ me(i.hint),
29444
29444
  1
29445
29445
  /* TEXT */
29446
29446
  )) : R("v-if", !0),
@@ -29481,7 +29481,7 @@ function vq(n, e, t, i, r, l) {
29481
29481
  i.activeOptionDescription ? (O(), K(
29482
29482
  "span",
29483
29483
  dq,
29484
- he(i.activeOptionDescription),
29484
+ me(i.activeOptionDescription),
29485
29485
  1
29486
29486
  /* TEXT */
29487
29487
  )) : R("v-if", !0),
@@ -29501,7 +29501,7 @@ function vq(n, e, t, i, r, l) {
29501
29501
  F(i.QTooltip, null, {
29502
29502
  default: U(() => [
29503
29503
  Oe(
29504
- he(i.activeOptionDocsTooltip),
29504
+ me(i.activeOptionDocsTooltip),
29505
29505
  1
29506
29506
  /* TEXT */
29507
29507
  )
@@ -29584,7 +29584,7 @@ function vq(n, e, t, i, r, l) {
29584
29584
  i.activeOptionDescription ? (O(), K(
29585
29585
  "span",
29586
29586
  mq,
29587
- he(i.activeOptionDescription),
29587
+ me(i.activeOptionDescription),
29588
29588
  1
29589
29589
  /* TEXT */
29590
29590
  )) : R("v-if", !0),
@@ -29604,7 +29604,7 @@ function vq(n, e, t, i, r, l) {
29604
29604
  F(i.QTooltip, null, {
29605
29605
  default: U(() => [
29606
29606
  Oe(
29607
- he(i.activeOptionDocsTooltip),
29607
+ me(i.activeOptionDocsTooltip),
29608
29608
  1
29609
29609
  /* TEXT */
29610
29610
  )
@@ -29664,7 +29664,7 @@ function vq(n, e, t, i, r, l) {
29664
29664
  i.errorMessage ? (O(), K(
29665
29665
  "div",
29666
29666
  pq,
29667
- he(i.errorMessage),
29667
+ me(i.errorMessage),
29668
29668
  1
29669
29669
  /* TEXT */
29670
29670
  )) : R("v-if", !0)
@@ -30116,7 +30116,7 @@ const Mq = /* @__PURE__ */ Dt({
30116
30116
  function N(_, M) {
30117
30117
  _.left = M, b();
30118
30118
  }
30119
- function ee(_, M) {
30119
+ function te(_, M) {
30120
30120
  _.operator = M, b();
30121
30121
  }
30122
30122
  function Q(_, M) {
@@ -30125,7 +30125,7 @@ const Mq = /* @__PURE__ */ Dt({
30125
30125
  function A(_, M) {
30126
30126
  _.logic = M, b();
30127
30127
  }
30128
- function P() {
30128
+ function B() {
30129
30129
  if (g.value)
30130
30130
  try {
30131
30131
  const _ = JSON.parse(x.value);
@@ -30219,9 +30219,9 @@ const Mq = /* @__PURE__ */ Dt({
30219
30219
  }
30220
30220
  function z(_, M) {
30221
30221
  if (!M) return;
30222
- J.value.some((j) => j.value === M) && ee(_, M);
30222
+ J.value.some((j) => j.value === M) && te(_, M);
30223
30223
  }
30224
- const k = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, errorMessage: a, required: u, fieldId: c, fieldGap: d, formContext: f, quickformsDefaults: h, useTemplateSyntax: m, conditionRoot: p, isAdvancedMode: g, jsonText: x, jsonParseError: C, isInternalUpdate: y, syncToValue: b, addCondition: w, addGroup: q, removeCondition: E, updateConditionLeft: N, updateConditionOperator: ee, updateConditionRight: Q, updateGroupLogic: A, toggleAdvancedMode: P, handleJsonChange: W, operatorDisplayMode: D, leftPlaceholder: Y, rightPlaceholder: ie, allowedOperators: G, operatorOptions: J, filteredOperatorOptions: se, filterOperators: be, handleOperatorInput: z, get QBtn() {
30224
+ const k = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, errorMessage: a, required: u, fieldId: c, fieldGap: d, formContext: f, quickformsDefaults: h, useTemplateSyntax: m, conditionRoot: p, isAdvancedMode: g, jsonText: x, jsonParseError: C, isInternalUpdate: y, syncToValue: b, addCondition: w, addGroup: q, removeCondition: E, updateConditionLeft: N, updateConditionOperator: te, updateConditionRight: Q, updateGroupLogic: A, toggleAdvancedMode: B, handleJsonChange: W, operatorDisplayMode: D, leftPlaceholder: Y, rightPlaceholder: ie, allowedOperators: G, operatorOptions: J, filteredOperatorOptions: se, filterOperators: be, handleOperatorInput: z, get QBtn() {
30225
30225
  return At;
30226
30226
  }, get QSelect() {
30227
30227
  return wr;
@@ -30279,7 +30279,7 @@ function iO(n, e, t, i, r, l) {
30279
30279
  X("div", Aq, [
30280
30280
  i.label ? (O(), K("div", qq, [
30281
30281
  Oe(
30282
- he(i.label) + " ",
30282
+ me(i.label) + " ",
30283
30283
  1
30284
30284
  /* TEXT */
30285
30285
  ),
@@ -30317,7 +30317,7 @@ function iO(n, e, t, i, r, l) {
30317
30317
  F(i.QTooltip, null, {
30318
30318
  default: U(() => [
30319
30319
  Oe(
30320
- he(i.isAdvancedMode ? "Visual mode" : "Advanced (JSON)"),
30320
+ me(i.isAdvancedMode ? "Visual mode" : "Advanced (JSON)"),
30321
30321
  1
30322
30322
  /* TEXT */
30323
30323
  )
@@ -30335,7 +30335,7 @@ function iO(n, e, t, i, r, l) {
30335
30335
  i.hint ? (O(), K(
30336
30336
  "div",
30337
30337
  Bq,
30338
- he(i.hint),
30338
+ me(i.hint),
30339
30339
  1
30340
30340
  /* TEXT */
30341
30341
  )) : R("v-if", !0),
@@ -30474,7 +30474,7 @@ function iO(n, e, t, i, r, l) {
30474
30474
  X(
30475
30475
  "span",
30476
30476
  Nq,
30477
- he((c = i.operatorOptions.find((d) => d.value === o.operator)) == null ? void 0 : c.label),
30477
+ me((c = i.operatorOptions.find((d) => d.value === o.operator)) == null ? void 0 : c.label),
30478
30478
  1
30479
30479
  /* TEXT */
30480
30480
  )
@@ -30517,7 +30517,7 @@ function iO(n, e, t, i, r, l) {
30517
30517
  {
30518
30518
  default: U(() => [
30519
30519
  Oe(
30520
- he(u.opt.label),
30520
+ me(u.opt.label),
30521
30521
  1
30522
30522
  /* TEXT */
30523
30523
  )
@@ -30537,7 +30537,7 @@ function iO(n, e, t, i, r, l) {
30537
30537
  {
30538
30538
  default: U(() => [
30539
30539
  Oe(
30540
- he(u.opt.description),
30540
+ me(u.opt.description),
30541
30541
  1
30542
30542
  /* TEXT */
30543
30543
  )
@@ -30742,7 +30742,7 @@ function iO(n, e, t, i, r, l) {
30742
30742
  X(
30743
30743
  "span",
30744
30744
  Gq,
30745
- he((f = i.operatorOptions.find(
30745
+ me((f = i.operatorOptions.find(
30746
30746
  (h) => h.value === u.operator
30747
30747
  )) == null ? void 0 : f.label),
30748
30748
  1
@@ -30787,7 +30787,7 @@ function iO(n, e, t, i, r, l) {
30787
30787
  {
30788
30788
  default: U(() => [
30789
30789
  Oe(
30790
- he(d.opt.label),
30790
+ me(d.opt.label),
30791
30791
  1
30792
30792
  /* TEXT */
30793
30793
  )
@@ -30807,7 +30807,7 @@ function iO(n, e, t, i, r, l) {
30807
30807
  {
30808
30808
  default: U(() => [
30809
30809
  Oe(
30810
- he(d.opt.description),
30810
+ me(d.opt.description),
30811
30811
  1
30812
30812
  /* TEXT */
30813
30813
  )
@@ -30917,7 +30917,7 @@ function iO(n, e, t, i, r, l) {
30917
30917
  X(
30918
30918
  "span",
30919
30919
  $q,
30920
- he(i.conditionRoot.logic.toUpperCase()),
30920
+ me(i.conditionRoot.logic.toUpperCase()),
30921
30921
  1
30922
30922
  /* TEXT */
30923
30923
  )
@@ -30976,7 +30976,7 @@ function iO(n, e, t, i, r, l) {
30976
30976
  i.errorMessage ? (O(), K(
30977
30977
  "div",
30978
30978
  nO,
30979
- he(i.errorMessage),
30979
+ me(i.errorMessage),
30980
30980
  1
30981
30981
  /* TEXT */
30982
30982
  )) : R("v-if", !0)
@@ -31021,7 +31021,7 @@ const rO = /* @__PURE__ */ Nt(Mq, [["render", iO], ["__scopeId", "data-v-722c2e2
31021
31021
  h == null ? void 0 : h.componentDefaults,
31022
31022
  "select"
31023
31023
  ), {
31024
- useInput: P,
31024
+ useInput: B,
31025
31025
  useChips: W,
31026
31026
  multiple: D,
31027
31027
  hideDropdownIcon: Y,
@@ -31032,7 +31032,7 @@ const rO = /* @__PURE__ */ Nt(Mq, [["render", iO], ["__scopeId", "data-v-722c2e2
31032
31032
  return G !== void 0 && (se.autocomplete = G === !0 ? "on" : G === !1 ? "off" : G), se;
31033
31033
  }), p = v(() => {
31034
31034
  var D;
31035
- const A = ((D = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : D.tags) || {}, P = t.schema["x-quickforms-quasar"] || {};
31035
+ const A = ((D = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : D.tags) || {}, B = t.schema["x-quickforms-quasar"] || {};
31036
31036
  return {
31037
31037
  chip: {
31038
31038
  ...{
@@ -31042,10 +31042,10 @@ const rO = /* @__PURE__ */ Nt(Mq, [["render", iO], ["__scopeId", "data-v-722c2e2
31042
31042
  textColor: "white"
31043
31043
  },
31044
31044
  ...A.chip || {},
31045
- ...P.chip || {}
31045
+ ...B.chip || {}
31046
31046
  },
31047
31047
  // Separator pattern for pasting multiple values
31048
- separator: P.separator || A.separator || /[,;\s]+/
31048
+ separator: B.separator || A.separator || /[,;\s]+/
31049
31049
  };
31050
31050
  }), g = v(() => {
31051
31051
  const A = t.schema.items;
@@ -31055,12 +31055,12 @@ const rO = /* @__PURE__ */ Nt(Mq, [["render", iO], ["__scopeId", "data-v-722c2e2
31055
31055
  return ((A = g.value) == null ? void 0 : A.format) === "email";
31056
31056
  }), C = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
31057
31057
  function y(A) {
31058
- const P = g.value;
31059
- return P ? !(P.format === "email" && !C.test(A) || typeof P.minLength == "number" && A.length < P.minLength || typeof P.maxLength == "number" && A.length > P.maxLength || P.pattern && !new RegExp(P.pattern).test(A)) : !0;
31058
+ const B = g.value;
31059
+ return B ? !(B.format === "email" && !C.test(A) || typeof B.minLength == "number" && A.length < B.minLength || typeof B.maxLength == "number" && A.length > B.maxLength || B.pattern && !new RegExp(B.pattern).test(A)) : !0;
31060
31060
  }
31061
31061
  function b(A) {
31062
- const P = y(A), W = { ...p.value.chip };
31063
- return P ? W : {
31062
+ const B = y(A), W = { ...p.value.chip };
31063
+ return B ? W : {
31064
31064
  ...W,
31065
31065
  color: "negative",
31066
31066
  textColor: "white",
@@ -31074,35 +31074,35 @@ const rO = /* @__PURE__ */ Nt(Mq, [["render", iO], ["__scopeId", "data-v-722c2e2
31074
31074
  function q(A) {
31075
31075
  if (!(A != null && A.trim()))
31076
31076
  return [];
31077
- const P = p.value.separator, W = typeof P == "string" ? new RegExp(P) : P;
31077
+ const B = p.value.separator, W = typeof B == "string" ? new RegExp(B) : B;
31078
31078
  return A.split(W).map((D) => D.trim()).filter((D) => D.length > 0);
31079
31079
  }
31080
- function E(A, P) {
31080
+ function E(A, B) {
31081
31081
  const W = q(A);
31082
31082
  if (W.length === 0) {
31083
- P();
31083
+ B();
31084
31084
  return;
31085
31085
  }
31086
31086
  const D = Array.isArray(i.value) ? i.value : [];
31087
31087
  if (W.length === 1) {
31088
31088
  const Y = W[0];
31089
- D.includes(Y) ? P() : P(Y, "add-unique");
31089
+ D.includes(Y) ? B() : B(Y, "add-unique");
31090
31090
  } else {
31091
31091
  const Y = W.filter((ie) => !D.includes(ie));
31092
- Y.length > 0 && r([...D, ...Y]), P();
31092
+ Y.length > 0 && r([...D, ...Y]), B();
31093
31093
  }
31094
31094
  }
31095
- function N(A, P) {
31096
- P(() => {
31095
+ function N(A, B) {
31096
+ B(() => {
31097
31097
  });
31098
31098
  }
31099
- function ee(A) {
31099
+ function te(A) {
31100
31100
  if (t.disabled || t.readonly)
31101
31101
  return;
31102
- const P = Array.isArray(i.value) ? i.value : [];
31103
- r(P.filter((W) => W !== A));
31102
+ const B = Array.isArray(i.value) ? i.value : [];
31103
+ r(B.filter((W) => W !== A));
31104
31104
  }
31105
- const Q = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, tooltipPlacement: a, errorMessage: u, required: c, fieldId: d, fieldGap: f, formContext: h, quasarProps: m, quickformsFeatures: p, itemsSchema: g, isEmailFormat: x, EMAIL_REGEX: C, validateItem: y, getChipProps: b, placeholder: w, parseInput: q, handleNewValue: E, filterFn: N, removeValue: ee, get QSelect() {
31105
+ const Q = { props: t, value: i, setValue: r, label: l, hint: o, tooltip: s, tooltipPlacement: a, errorMessage: u, required: c, fieldId: d, fieldGap: f, formContext: h, quasarProps: m, quickformsFeatures: p, itemsSchema: g, isEmailFormat: x, EMAIL_REGEX: C, validateItem: y, getChipProps: b, placeholder: w, parseInput: q, handleNewValue: E, filterFn: N, removeValue: te, get QSelect() {
31106
31106
  return wr;
31107
31107
  }, get QChip() {
31108
31108
  return ug;
@@ -31152,7 +31152,7 @@ function aO(n, e, t, i, r, l) {
31152
31152
  }), {
31153
31153
  default: U(() => [
31154
31154
  Oe(
31155
- he(s.opt),
31155
+ me(s.opt),
31156
31156
  1
31157
31157
  /* TEXT */
31158
31158
  )
@@ -31177,7 +31177,7 @@ function aO(n, e, t, i, r, l) {
31177
31177
  name: "label",
31178
31178
  fn: U(() => [
31179
31179
  Oe(
31180
- he(i.label) + " ",
31180
+ me(i.label) + " ",
31181
31181
  1
31182
31182
  /* TEXT */
31183
31183
  ),
@@ -31311,7 +31311,7 @@ function hO(n, e, t, i, r, l) {
31311
31311
  name: "label",
31312
31312
  fn: U(() => [
31313
31313
  Oe(
31314
- he(i.label) + " ",
31314
+ me(i.label) + " ",
31315
31315
  1
31316
31316
  /* TEXT */
31317
31317
  ),
@@ -31465,7 +31465,7 @@ function SO(n, e, t, i, r, l) {
31465
31465
  X(
31466
31466
  "span",
31467
31467
  vO,
31468
- he(i.label),
31468
+ me(i.label),
31469
31469
  1
31470
31470
  /* TEXT */
31471
31471
  ),
@@ -31526,14 +31526,14 @@ function SO(n, e, t, i, r, l) {
31526
31526
  i.errorMessage ? (O(), K(
31527
31527
  "div",
31528
31528
  wO,
31529
- he(i.errorMessage),
31529
+ me(i.errorMessage),
31530
31530
  1
31531
31531
  /* TEXT */
31532
31532
  )) : R("v-if", !0),
31533
31533
  i.effectiveHint ? (O(), K(
31534
31534
  "div",
31535
31535
  xO,
31536
- he(i.effectiveHint),
31536
+ me(i.effectiveHint),
31537
31537
  1
31538
31538
  /* TEXT */
31539
31539
  )) : R("v-if", !0)
@@ -32252,13 +32252,13 @@ const e2 = et({
32252
32252
  let re = n.rows;
32253
32253
  if (x.value === !0 || re.length === 0)
32254
32254
  return re;
32255
- const { sortBy: ke, descending: Ve } = g.value;
32255
+ const { sortBy: ke, descending: Fe } = g.value;
32256
32256
  return n.filter && (re = b.value(re, n.filter, z.value, ne)), M.value !== null && (re = I.value(
32257
32257
  n.rows === re ? re.slice() : re,
32258
32258
  ke,
32259
- Ve
32259
+ Fe
32260
32260
  )), re;
32261
- }), ee = v(() => N.value.length), Q = v(() => {
32261
+ }), te = v(() => N.value.length), Q = v(() => {
32262
32262
  let re = N.value;
32263
32263
  if (x.value === !0)
32264
32264
  return re;
@@ -32266,7 +32266,7 @@ const e2 = et({
32266
32266
  return ke !== 0 && ($.value === 0 && n.rows !== re ? re.length > ge.value && (re = re.slice(0, ge.value)) : re = re.slice($.value, ge.value)), re;
32267
32267
  }), {
32268
32268
  hasSelectionMode: A,
32269
- singleSelection: P,
32269
+ singleSelection: B,
32270
32270
  multipleSelection: W,
32271
32271
  allRowsSelected: D,
32272
32272
  someRowsSelected: Y,
@@ -32278,7 +32278,7 @@ const e2 = et({
32278
32278
  firstRowIndex: $,
32279
32279
  lastRowIndex: ge,
32280
32280
  isFirstPage: ue,
32281
- isLastPage: Fe,
32281
+ isLastPage: Ne,
32282
32282
  pagesNumber: Le,
32283
32283
  computedRowsPerPageOptions: ze,
32284
32284
  computedRowsNumber: at,
@@ -32286,7 +32286,7 @@ const e2 = et({
32286
32286
  prevPage: Mt,
32287
32287
  nextPage: dt,
32288
32288
  lastPage: ot
32289
- } = WO(i, p, g, x, y, ee), Jt = v(() => Q.value.length === 0), sn = v(() => {
32289
+ } = WO(i, p, g, x, y, te), Jt = v(() => Q.value.length === 0), sn = v(() => {
32290
32290
  const re = {};
32291
32291
  return yg.forEach((ke) => {
32292
32292
  re[ke] = n[ke];
@@ -32300,11 +32300,11 @@ const e2 = et({
32300
32300
  return Xi();
32301
32301
  const re = n.hideHeader !== !0 ? Ue : null;
32302
32302
  if (d.value === !0) {
32303
- const Ve = e["top-row"], Ee = e["bottom-row"], je = {
32303
+ const Fe = e["top-row"], Ee = e["bottom-row"], je = {
32304
32304
  default: (kt) => Z(kt.item, e.body, kt.index)
32305
32305
  };
32306
- if (Ve !== void 0) {
32307
- const kt = S("tbody", Ve({ cols: z.value }));
32306
+ if (Fe !== void 0) {
32307
+ const kt = S("tbody", Fe({ cols: z.value }));
32308
32308
  je.before = re === null ? () => kt : () => [re()].concat(kt);
32309
32309
  } else re !== null && (je.before = re);
32310
32310
  return Ee !== void 0 && (je.after = () => S("tbody", Ee({ cols: z.value }))), S(DO, {
@@ -32320,7 +32320,7 @@ const e2 = et({
32320
32320
  }, je);
32321
32321
  }
32322
32322
  const ke = [
32323
- B()
32323
+ P()
32324
32324
  ];
32325
32325
  return re !== null && ke.unshift(re()), G0({
32326
32326
  class: ["q-table__middle scroll", n.tableClass],
@@ -32333,9 +32333,9 @@ const e2 = et({
32333
32333
  return;
32334
32334
  }
32335
32335
  re = parseInt(re, 10);
32336
- const Ve = u.value.querySelector(`tbody tr:nth-of-type(${re + 1})`);
32337
- if (Ve !== null) {
32338
- const Ee = u.value.querySelector(".q-table__middle.scroll"), je = Ve.offsetTop - n.virtualScrollStickySizeStart, kt = je < Ee.scrollTop ? "decrease" : "increase";
32336
+ const Fe = u.value.querySelector(`tbody tr:nth-of-type(${re + 1})`);
32337
+ if (Fe !== null) {
32338
+ const Ee = u.value.querySelector(".q-table__middle.scroll"), je = Fe.offsetTop - n.virtualScrollStickySizeStart, kt = je < Ee.scrollTop ? "decrease" : "increase";
32339
32339
  Ee.scrollTop = je, t("virtualScroll", {
32340
32340
  index: re,
32341
32341
  from: 0,
@@ -32358,13 +32358,13 @@ const e2 = et({
32358
32358
  })
32359
32359
  ];
32360
32360
  }
32361
- function Z(re, ke, Ve) {
32361
+ function Z(re, ke, Fe) {
32362
32362
  const Ee = a.value(re), je = G(Ee);
32363
32363
  if (ke !== void 0) {
32364
32364
  const V = {
32365
32365
  key: Ee,
32366
32366
  row: re,
32367
- pageIndex: Ve,
32367
+ pageIndex: Fe,
32368
32368
  __trClass: je ? "selected" : ""
32369
32369
  };
32370
32370
  if (n.tableRowStyleFn !== void 0 && (V.__trStyle = n.tableRowStyleFn(re)), n.tableRowClassFn !== void 0) {
@@ -32377,13 +32377,13 @@ const e2 = et({
32377
32377
  }
32378
32378
  const kt = e["body-cell"], vt = z.value.map((V) => {
32379
32379
  const le = e[`body-cell-${V.name}`], ve = le !== void 0 ? le : kt;
32380
- return ve !== void 0 ? ve(te({ key: Ee, row: re, pageIndex: Ve, col: V })) : S("td", {
32380
+ return ve !== void 0 ? ve(ee({ key: Ee, row: re, pageIndex: Fe, col: V })) : S("td", {
32381
32381
  class: V.__tdClass(re),
32382
32382
  style: V.__tdStyle(re)
32383
32383
  }, ne(V, re));
32384
32384
  });
32385
32385
  if (A.value === !0) {
32386
- const V = e["body-selection"], le = V !== void 0 ? V(me({ key: Ee, row: re, pageIndex: Ve })) : [
32386
+ const V = e["body-selection"], le = V !== void 0 ? V(he({ key: Ee, row: re, pageIndex: Fe })) : [
32387
32387
  S(zi, {
32388
32388
  modelValue: je,
32389
32389
  color: n.color,
@@ -32400,36 +32400,36 @@ const e2 = et({
32400
32400
  }
32401
32401
  const T = { key: Ee, class: { selected: je } };
32402
32402
  if (n.onRowClick !== void 0 && (T.class["cursor-pointer"] = !0, T.onClick = (V) => {
32403
- t("rowClick", V, re, Ve);
32403
+ t("rowClick", V, re, Fe);
32404
32404
  }), n.onRowDblclick !== void 0 && (T.class["cursor-pointer"] = !0, T.onDblclick = (V) => {
32405
- t("rowDblclick", V, re, Ve);
32405
+ t("rowDblclick", V, re, Fe);
32406
32406
  }), n.onRowContextmenu !== void 0 && (T.class["cursor-pointer"] = !0, T.onContextmenu = (V) => {
32407
- t("rowContextmenu", V, re, Ve);
32407
+ t("rowContextmenu", V, re, Fe);
32408
32408
  }), n.tableRowStyleFn !== void 0 && (T.style = n.tableRowStyleFn(re)), n.tableRowClassFn !== void 0) {
32409
32409
  const V = n.tableRowClassFn(re);
32410
32410
  V && (T.class[V] = !0);
32411
32411
  }
32412
32412
  return S("tr", T, vt);
32413
32413
  }
32414
- function B() {
32415
- const re = e.body, ke = e["top-row"], Ve = e["bottom-row"];
32414
+ function P() {
32415
+ const re = e.body, ke = e["top-row"], Fe = e["bottom-row"];
32416
32416
  let Ee = Q.value.map(
32417
32417
  (je, kt) => Z(je, re, kt)
32418
32418
  );
32419
- return ke !== void 0 && (Ee = ke({ cols: z.value }).concat(Ee)), Ve !== void 0 && (Ee = Ee.concat(Ve({ cols: z.value }))), S("tbody", Ee);
32419
+ return ke !== void 0 && (Ee = ke({ cols: z.value }).concat(Ee)), Fe !== void 0 && (Ee = Ee.concat(Fe({ cols: z.value }))), S("tbody", Ee);
32420
32420
  }
32421
32421
  function L(re) {
32422
- return Ne(re), re.cols = re.cols.map(
32422
+ return Ie(re), re.cols = re.cols.map(
32423
32423
  (ke) => In({ ...ke }, "value", () => ne(ke, re.row))
32424
32424
  ), re;
32425
32425
  }
32426
- function te(re) {
32427
- return Ne(re), In(re, "value", () => ne(re.col, re.row)), re;
32426
+ function ee(re) {
32427
+ return Ie(re), In(re, "value", () => ne(re.col, re.row)), re;
32428
32428
  }
32429
- function me(re) {
32430
- return Ne(re), re;
32429
+ function he(re) {
32430
+ return Ie(re), re;
32431
32431
  }
32432
- function Ne(re) {
32432
+ function Ie(re) {
32433
32433
  Object.assign(re, {
32434
32434
  cols: z.value,
32435
32435
  colsMap: k.value,
@@ -32442,8 +32442,8 @@ const e2 = et({
32442
32442
  re,
32443
32443
  "selected",
32444
32444
  () => G(re.key),
32445
- (ke, Ve) => {
32446
- se([re.key], [re.row], ke, Ve);
32445
+ (ke, Fe) => {
32446
+ se([re.key], [re.row], ke, Fe);
32447
32447
  }
32448
32448
  ), In(
32449
32449
  re,
@@ -32455,14 +32455,14 @@ const e2 = et({
32455
32455
  );
32456
32456
  }
32457
32457
  function ne(re, ke) {
32458
- const Ve = typeof re.field == "function" ? re.field(ke) : ke[re.field];
32459
- return re.format !== void 0 ? re.format(Ve, ke) : Ve;
32458
+ const Fe = typeof re.field == "function" ? re.field(ke) : ke[re.field];
32459
+ return re.format !== void 0 ? re.format(Fe, ke) : Fe;
32460
32460
  }
32461
32461
  const ce = v(() => ({
32462
32462
  pagination: g.value,
32463
32463
  pagesNumber: Le.value,
32464
32464
  isFirstPage: ue.value,
32465
- isLastPage: Fe.value,
32465
+ isLastPage: Ne.value,
32466
32466
  firstPage: pt,
32467
32467
  prevPage: Mt,
32468
32468
  nextPage: dt,
@@ -32471,7 +32471,7 @@ const e2 = et({
32471
32471
  toggleFullscreen: s
32472
32472
  }));
32473
32473
  function Ce() {
32474
- const re = e.top, ke = e["top-left"], Ve = e["top-right"], Ee = e["top-selection"], je = A.value === !0 && Ee !== void 0 && ie.value > 0, kt = "q-table__top relative-position row items-center";
32474
+ const re = e.top, ke = e["top-left"], Fe = e["top-right"], Ee = e["top-selection"], je = A.value === !0 && Ee !== void 0 && ie.value > 0, kt = "q-table__top relative-position row items-center";
32475
32475
  if (re !== void 0)
32476
32476
  return S("div", { class: kt }, [re(ce.value)]);
32477
32477
  let vt;
@@ -32485,11 +32485,11 @@ const e2 = et({
32485
32485
  class: ["q-table__title", n.titleClass]
32486
32486
  }, n.title)
32487
32487
  ])
32488
- )), Ve !== void 0 && (vt.push(
32488
+ )), Fe !== void 0 && (vt.push(
32489
32489
  S("div", { class: "q-table__separator col" })
32490
32490
  ), vt.push(
32491
32491
  S("div", { class: "q-table__control" }, [
32492
- Ve(ce.value)
32492
+ Fe(ce.value)
32493
32493
  ])
32494
32494
  )), vt.length !== 0)
32495
32495
  return S("div", { class: kt }, vt);
@@ -32512,15 +32512,15 @@ const e2 = et({
32512
32512
  return re(
32513
32513
  Qe({ header: !0 })
32514
32514
  ).slice();
32515
- const Ve = z.value.map((Ee) => {
32515
+ const Fe = z.value.map((Ee) => {
32516
32516
  const je = e[`header-cell-${Ee.name}`], kt = je !== void 0 ? je : ke, vt = Qe({ col: Ee });
32517
32517
  return kt !== void 0 ? kt(vt) : S(Y0, {
32518
32518
  key: Ee.name,
32519
32519
  props: vt
32520
32520
  }, () => Ee.label);
32521
32521
  });
32522
- if (P.value === !0 && n.grid !== !0)
32523
- Ve.unshift(
32522
+ if (B.value === !0 && n.grid !== !0)
32523
+ Fe.unshift(
32524
32524
  S("th", { class: "q-table--col-auto-width" }, " ")
32525
32525
  );
32526
32526
  else if (W.value === !0) {
@@ -32533,7 +32533,7 @@ const e2 = et({
32533
32533
  "onUpdate:modelValue": ut
32534
32534
  })
32535
32535
  ];
32536
- Ve.unshift(
32536
+ Fe.unshift(
32537
32537
  S("th", { class: "q-table--col-auto-width" }, je)
32538
32538
  );
32539
32539
  }
@@ -32541,7 +32541,7 @@ const e2 = et({
32541
32541
  S("tr", {
32542
32542
  class: n.tableHeaderClass,
32543
32543
  style: n.tableHeaderStyle
32544
- }, Ve)
32544
+ }, Fe)
32545
32545
  ];
32546
32546
  }
32547
32547
  function Qe(re) {
@@ -32579,12 +32579,12 @@ const e2 = et({
32579
32579
  if (n.hideBottom === !0) return;
32580
32580
  if (Jt.value === !0) {
32581
32581
  if (n.hideNoData === !0) return;
32582
- const Ve = n.loading === !0 ? n.loadingLabel || r.lang.table.loading : n.filter ? n.noResultsLabel || r.lang.table.noResults : n.noDataLabel || r.lang.table.noData, Ee = e["no-data"], je = Ee !== void 0 ? [Ee({ message: Ve, icon: r.iconSet.table.warning, filter: n.filter })] : [
32582
+ const Fe = n.loading === !0 ? n.loadingLabel || r.lang.table.loading : n.filter ? n.noResultsLabel || r.lang.table.noResults : n.noDataLabel || r.lang.table.noData, Ee = e["no-data"], je = Ee !== void 0 ? [Ee({ message: Fe, icon: r.iconSet.table.warning, filter: n.filter })] : [
32583
32583
  S(Ye, {
32584
32584
  class: "q-table__bottom-nodata-icon",
32585
32585
  name: r.iconSet.table.warning
32586
32586
  }),
32587
- Ve
32587
+ Fe
32588
32588
  ];
32589
32589
  return S("div", { class: Jo + " q-table__bottom--nodata" }, je);
32590
32590
  }
@@ -32613,7 +32613,7 @@ const e2 = et({
32613
32613
  }
32614
32614
  function Sr(re) {
32615
32615
  let ke;
32616
- const { rowsPerPage: Ve } = g.value, Ee = n.paginationLabel || r.lang.table.pagination, je = e.pagination, kt = n.rowsPerPageOptions.length > 1;
32616
+ const { rowsPerPage: Fe } = g.value, Ee = n.paginationLabel || r.lang.table.pagination, je = e.pagination, kt = n.rowsPerPageOptions.length > 1;
32617
32617
  if (re.push(
32618
32618
  S("div", { class: "q-table__separator col" })
32619
32619
  ), kt === !0 && re.push(
@@ -32624,9 +32624,9 @@ const e2 = et({
32624
32624
  S(wr, {
32625
32625
  class: "q-table__select inline q-table__bottom-item",
32626
32626
  color: n.color,
32627
- modelValue: Ve,
32627
+ modelValue: Fe,
32628
32628
  options: ze.value,
32629
- displayValue: Ve === 0 ? r.lang.table.allRows : Ve,
32629
+ displayValue: Fe === 0 ? r.lang.table.allRows : Fe,
32630
32630
  dark: l.value,
32631
32631
  borderless: !0,
32632
32632
  dense: !0,
@@ -32638,10 +32638,10 @@ const e2 = et({
32638
32638
  ), je !== void 0)
32639
32639
  ke = je(ce.value);
32640
32640
  else if (ke = [
32641
- S("span", Ve !== 0 ? { class: "q-table__bottom-item" } : {}, [
32642
- Ve ? Ee($.value + 1, Math.min(ge.value, at.value), at.value) : Ee(1, ee.value, at.value)
32641
+ S("span", Fe !== 0 ? { class: "q-table__bottom-item" } : {}, [
32642
+ Fe ? Ee($.value + 1, Math.min(ge.value, at.value), at.value) : Ee(1, te.value, at.value)
32643
32643
  ])
32644
- ], Ve !== 0 && Le.value > 1) {
32644
+ ], Fe !== 0 && Le.value > 1) {
32645
32645
  const vt = {
32646
32646
  color: n.color,
32647
32647
  round: !0,
@@ -32670,7 +32670,7 @@ const e2 = et({
32670
32670
  key: "pgNext",
32671
32671
  ...vt,
32672
32672
  icon: Pt.value[2],
32673
- disable: Fe.value,
32673
+ disable: Ne.value,
32674
32674
  "aria-label": r.lang.pagination.next,
32675
32675
  onClick: dt
32676
32676
  })
@@ -32679,7 +32679,7 @@ const e2 = et({
32679
32679
  key: "pgLast",
32680
32680
  ...vt,
32681
32681
  icon: Pt.value[3],
32682
- disable: Fe.value,
32682
+ disable: Ne.value,
32683
32683
  "aria-label": r.lang.pagination.last,
32684
32684
  onClick: ot
32685
32685
  })
@@ -32699,7 +32699,7 @@ const e2 = et({
32699
32699
  }
32700
32700
  function Xi() {
32701
32701
  const re = e.item !== void 0 ? e.item : (ke) => {
32702
- const Ve = ke.cols.map(
32702
+ const Fe = ke.cols.map(
32703
32703
  (je) => S("div", { class: "q-table__grid-item-row" }, [
32704
32704
  S("div", { class: "q-table__grid-item-title" }, [je.label]),
32705
32705
  S("div", { class: "q-table__grid-item-value" }, [je.value])
@@ -32717,7 +32717,7 @@ const e2 = et({
32717
32717
  }
32718
32718
  })
32719
32719
  ];
32720
- Ve.unshift(
32720
+ Fe.unshift(
32721
32721
  S("div", { class: "q-table__grid-item-row" }, kt),
32722
32722
  S(Il, { dark: l.value })
32723
32723
  );
@@ -32742,7 +32742,7 @@ const e2 = et({
32742
32742
  })), S("div", {
32743
32743
  class: "q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3" + (ke.selected === !0 ? " q-table__grid-item--selected" : "")
32744
32744
  }, [
32745
- S("div", Ee, Ve)
32745
+ S("div", Ee, Fe)
32746
32746
  ]);
32747
32747
  };
32748
32748
  return S("div", {
@@ -32751,10 +32751,10 @@ const e2 = et({
32751
32751
  n.cardContainerClass
32752
32752
  ],
32753
32753
  style: n.cardContainerStyle
32754
- }, Q.value.map((ke, Ve) => re(L({
32754
+ }, Q.value.map((ke, Fe) => re(L({
32755
32755
  key: a.value(ke),
32756
32756
  row: ke,
32757
- pageIndex: Ve
32757
+ pageIndex: Fe
32758
32758
  }))));
32759
32759
  }
32760
32760
  return Object.assign(i.proxy, {
@@ -32891,118 +32891,118 @@ const e2 = et({
32891
32891
  label: i.label,
32892
32892
  componentType: "card"
32893
32893
  }), m = v(() => {
32894
- var te, me;
32895
- const B = ((me = (te = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : te.table) == null ? void 0 : me.defaults) || {}, L = i.schema["x-table"] || {};
32896
- return { ...B, ...L };
32894
+ var ee, he;
32895
+ const P = ((he = (ee = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : ee.table) == null ? void 0 : he.defaults) || {}, L = i.schema["x-table"] || {};
32896
+ return { ...P, ...L };
32897
32897
  }), p = v(() => Array.isArray(i.schema.items) ? i.schema.items[0] : i.schema.items), g = v(() => {
32898
- const B = p.value;
32899
- return !B || typeof B == "boolean" ? {} : B.properties || {};
32898
+ const P = p.value;
32899
+ return !P || typeof P == "boolean" ? {} : P.properties || {};
32900
32900
  }), x = v({
32901
32901
  get: () => Array.isArray(l.value) ? l.value : [],
32902
- set: (B) => l.value = B
32902
+ set: (P) => l.value = P
32903
32903
  }), C = v(() => {
32904
32904
  var ne;
32905
- const B = m.value, L = g.value, te = new Set(B.hiddenColumns || []);
32906
- let me = Object.keys(L).filter((ce) => !te.has(ce));
32907
- if ((ne = B.columnOrder) != null && ne.length) {
32908
- const ce = B.columnOrder.filter((De) => me.includes(De)), Ce = me.filter((De) => !ce.includes(De));
32909
- me = [...ce, ...Ce];
32905
+ const P = m.value, L = g.value, ee = new Set(P.hiddenColumns || []);
32906
+ let he = Object.keys(L).filter((ce) => !ee.has(ce));
32907
+ if ((ne = P.columnOrder) != null && ne.length) {
32908
+ const ce = P.columnOrder.filter((De) => he.includes(De)), Ce = he.filter((De) => !ce.includes(De));
32909
+ he = [...ce, ...Ce];
32910
32910
  }
32911
- const Ne = me.map((ce) => {
32911
+ const Ie = he.map((ce) => {
32912
32912
  var Ue, Lt, Qe;
32913
32913
  const Ce = L[ce] || {}, De = Ce.type;
32914
32914
  return {
32915
32915
  name: ce,
32916
- label: ((Ue = B.columnLabels) == null ? void 0 : Ue[ce]) || Ce.title || Se(ce),
32916
+ label: ((Ue = P.columnLabels) == null ? void 0 : Ue[ce]) || Ce.title || Se(ce),
32917
32917
  field: ce,
32918
32918
  align: De === "boolean" ? "center" : De === "number" || De === "integer" ? "right" : "left",
32919
32919
  sortable: !0,
32920
- style: (Lt = B.columnWidths) != null && Lt[ce] ? `width: ${B.columnWidths[ce]}` : void 0,
32921
- headerStyle: (Qe = B.columnWidths) != null && Qe[ce] ? `width: ${B.columnWidths[ce]}` : void 0
32920
+ style: (Lt = P.columnWidths) != null && Lt[ce] ? `width: ${P.columnWidths[ce]}` : void 0,
32921
+ headerStyle: (Qe = P.columnWidths) != null && Qe[ce] ? `width: ${P.columnWidths[ce]}` : void 0
32922
32922
  };
32923
32923
  });
32924
- return b.value && Ne.push({
32924
+ return b.value && Ie.push({
32925
32925
  name: "__actions",
32926
32926
  label: "",
32927
32927
  field: "__actions",
32928
32928
  align: "right",
32929
32929
  sortable: !1,
32930
32930
  style: "width: 1%; white-space: nowrap"
32931
- }), Ne;
32931
+ }), Ie;
32932
32932
  }), y = v(() => {
32933
- const B = m.value;
32934
- if (B.rowActions !== void 0) return B.rowActions;
32933
+ const P = m.value;
32934
+ if (P.rowActions !== void 0) return P.rowActions;
32935
32935
  const L = [];
32936
- return B.noReorder, B.noRemove || L.push({ action: "remove", icon: "delete", color: "negative", tooltip: "Remove" }), L;
32936
+ return P.noReorder, P.noRemove || L.push({ action: "remove", icon: "delete", color: "negative", tooltip: "Remove" }), L;
32937
32937
  }), b = v(() => y.value.length > 0 || !m.value.noReorder), w = v(() => {
32938
- var te, me, Ne;
32939
- const B = ((me = (te = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : te.table) == null ? void 0 : me.addButton) || {};
32938
+ var ee, he, Ie;
32939
+ const P = ((he = (ee = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : ee.table) == null ? void 0 : he.addButton) || {};
32940
32940
  return { ...{
32941
32941
  outline: !0,
32942
32942
  color: "primary",
32943
32943
  icon: "add",
32944
- label: ((Ne = h == null ? void 0 : h.labels) == null ? void 0 : Ne.addItem) || "Add row",
32944
+ label: ((Ie = h == null ? void 0 : h.labels) == null ? void 0 : Ie.addItem) || "Add row",
32945
32945
  size: "sm"
32946
- }, ...B };
32946
+ }, ...P };
32947
32947
  }), q = ae(""), E = v(() => {
32948
- const B = /* @__PURE__ */ new Map();
32949
- return x.value.forEach((L, te) => B.set(L, te)), B;
32948
+ const P = /* @__PURE__ */ new Map();
32949
+ return x.value.forEach((L, ee) => P.set(L, ee)), P;
32950
32950
  });
32951
- function N(B) {
32952
- return E.value.get(B) ?? -1;
32953
- }
32954
- const ee = v(() => {
32955
- var te;
32956
- const B = q.value.trim().toLowerCase();
32957
- if (!B) return x.value.map((me, Ne) => Ne);
32958
- const L = (te = m.value.filterKeys) != null && te.length ? m.value.filterKeys : Object.keys(g.value);
32959
- return x.value.reduce((me, Ne, ne) => (L.some(
32960
- (Ce) => String(Ne[Ce] ?? "").toLowerCase().includes(B)
32961
- ) && me.push(ne), me), []);
32951
+ function N(P) {
32952
+ return E.value.get(P) ?? -1;
32953
+ }
32954
+ const te = v(() => {
32955
+ var ee;
32956
+ const P = q.value.trim().toLowerCase();
32957
+ if (!P) return x.value.map((he, Ie) => Ie);
32958
+ const L = (ee = m.value.filterKeys) != null && ee.length ? m.value.filterKeys : Object.keys(g.value);
32959
+ return x.value.reduce((he, Ie, ne) => (L.some(
32960
+ (Ce) => String(Ie[Ce] ?? "").toLowerCase().includes(P)
32961
+ ) && he.push(ne), he), []);
32962
32962
  }), Q = v(
32963
32963
  () => !!(m.value.selectable && m.value.persistSelection)
32964
- ), A = v(() => m.value.selectionKey || "_selected"), P = ae(/* @__PURE__ */ new Set()), W = v(() => {
32964
+ ), A = v(() => m.value.selectionKey || "_selected"), B = ae(/* @__PURE__ */ new Set()), W = v(() => {
32965
32965
  if (Q.value) {
32966
- const B = /* @__PURE__ */ new Set();
32967
- return x.value.forEach((L, te) => {
32968
- L[A.value] && B.add(te);
32969
- }), B;
32966
+ const P = /* @__PURE__ */ new Set();
32967
+ return x.value.forEach((L, ee) => {
32968
+ L[A.value] && P.add(ee);
32969
+ }), P;
32970
32970
  }
32971
- return P.value;
32971
+ return B.value;
32972
32972
  });
32973
- function D(B) {
32973
+ function D(P) {
32974
32974
  if (Q.value) {
32975
- const L = x.value.map((te, me) => {
32976
- const Ne = B.has(me), ne = !!te[A.value];
32977
- return Ne === ne ? te : { ...te, [A.value]: Ne };
32975
+ const L = x.value.map((ee, he) => {
32976
+ const Ie = P.has(he), ne = !!ee[A.value];
32977
+ return Ie === ne ? ee : { ...ee, [A.value]: Ie };
32978
32978
  });
32979
32979
  l.value = L;
32980
32980
  } else
32981
- P.value = B;
32981
+ B.value = P;
32982
32982
  }
32983
32983
  const Y = v(() => {
32984
- const B = ee.value;
32985
- return B.length > 0 && B.every((L) => W.value.has(L));
32984
+ const P = te.value;
32985
+ return P.length > 0 && P.every((L) => W.value.has(L));
32986
32986
  }), ie = v(() => {
32987
- const B = ee.value, L = B.filter((te) => W.value.has(te)).length;
32988
- return L > 0 && L < B.length;
32987
+ const P = te.value, L = P.filter((ee) => W.value.has(ee)).length;
32988
+ return L > 0 && L < P.length;
32989
32989
  }), G = () => {
32990
- const B = ee.value, L = new Set(W.value);
32991
- Y.value ? B.forEach((te) => L.delete(te)) : B.forEach((te) => L.add(te)), D(L);
32992
- }, J = (B) => {
32990
+ const P = te.value, L = new Set(W.value);
32991
+ Y.value ? P.forEach((ee) => L.delete(ee)) : P.forEach((ee) => L.add(ee)), D(L);
32992
+ }, J = (P) => {
32993
32993
  const L = new Set(W.value);
32994
- L.has(B) ? L.delete(B) : L.add(B), D(L);
32994
+ L.has(P) ? L.delete(P) : L.add(P), D(L);
32995
32995
  };
32996
32996
  pe(
32997
32997
  () => x.value.length,
32998
32998
  () => {
32999
- Q.value || (P.value = /* @__PURE__ */ new Set());
32999
+ Q.value || (B.value = /* @__PURE__ */ new Set());
33000
33000
  }
33001
33001
  );
33002
33002
  const se = ae(null), be = ae(null), z = v(() => (m.value.bulkActions || []).filter((L) => L in g.value).map((L) => {
33003
- var te, me;
33003
+ var ee, he;
33004
33004
  return {
33005
- label: ((te = m.value.columnLabels) == null ? void 0 : te[L]) || ((me = g.value[L]) == null ? void 0 : me.title) || Se(L),
33005
+ label: ((ee = m.value.columnLabels) == null ? void 0 : ee[L]) || ((he = g.value[L]) == null ? void 0 : he.title) || Se(L),
33006
33006
  value: L
33007
33007
  };
33008
33008
  })), k = v(() => se.value && g.value[se.value] || null);
@@ -33011,45 +33011,45 @@ const e2 = et({
33011
33011
  });
33012
33012
  const _ = () => {
33013
33013
  if (!se.value || be.value === null) return;
33014
- const B = [...x.value];
33014
+ const P = [...x.value];
33015
33015
  for (const L of W.value)
33016
- B[L] = { ...B[L], [se.value]: be.value };
33017
- l.value = B, D(/* @__PURE__ */ new Set()), se.value = null, be.value = null;
33018
- }, M = (B, L, te) => {
33019
- const me = [...x.value];
33020
- me[B] = { ...me[B], [L]: te }, l.value = me;
33016
+ P[L] = { ...P[L], [se.value]: be.value };
33017
+ l.value = P, D(/* @__PURE__ */ new Set()), se.value = null, be.value = null;
33018
+ }, M = (P, L, ee) => {
33019
+ const he = [...x.value];
33020
+ he[P] = { ...he[P], [L]: ee }, l.value = he;
33021
33021
  }, I = () => {
33022
33022
  if (!p.value) return;
33023
- const B = Cl.getDefaultValue(p.value);
33024
- l.value = [...x.value, B];
33025
- }, j = (B) => {
33023
+ const P = Cl.getDefaultValue(p.value);
33024
+ l.value = [...x.value, P];
33025
+ }, j = (P) => {
33026
33026
  const L = [...x.value];
33027
- L.splice(B, 1), l.value = L;
33028
- const te = /* @__PURE__ */ new Set();
33029
- for (const me of W.value)
33030
- me < B ? te.add(me) : me > B && te.add(me - 1);
33031
- D(te);
33032
- }, $ = (B) => {
33033
- const L = [...x.value], te = JSON.parse(JSON.stringify(L[B]));
33034
- L.splice(B + 1, 0, te), l.value = L;
33027
+ L.splice(P, 1), l.value = L;
33028
+ const ee = /* @__PURE__ */ new Set();
33029
+ for (const he of W.value)
33030
+ he < P ? ee.add(he) : he > P && ee.add(he - 1);
33031
+ D(ee);
33032
+ }, $ = (P) => {
33033
+ const L = [...x.value], ee = JSON.parse(JSON.stringify(L[P]));
33034
+ L.splice(P + 1, 0, ee), l.value = L;
33035
33035
  }, ge = ae(null);
33036
33036
  let ue;
33037
33037
  m.value.allowReset && (ue = pe(
33038
33038
  l,
33039
- (B) => {
33040
- Array.isArray(B) && B.length > 0 && ge.value === null && (ge.value = JSON.parse(JSON.stringify(B)), ue == null || ue());
33039
+ (P) => {
33040
+ Array.isArray(P) && P.length > 0 && ge.value === null && (ge.value = JSON.parse(JSON.stringify(P)), ue == null || ue());
33041
33041
  },
33042
33042
  { immediate: !0 }
33043
33043
  ));
33044
- const Fe = v(() => !m.value.allowReset || !ge.value ? !1 : JSON.stringify(x.value) !== JSON.stringify(ge.value)), Le = () => {
33044
+ const Ne = v(() => !m.value.allowReset || !ge.value ? !1 : JSON.stringify(x.value) !== JSON.stringify(ge.value)), Le = () => {
33045
33045
  ge.value && (l.value = JSON.parse(JSON.stringify(ge.value)));
33046
- }, ze = (B, L) => {
33047
- if (L === "up" && B === 0 || L === "down" && B === x.value.length - 1) return;
33048
- const te = [...x.value], me = L === "up" ? B - 1 : B + 1, Ne = te[B];
33049
- te[B] = te[me], te[me] = Ne, l.value = te;
33050
- }, at = (B, L) => {
33051
- const te = x.value[L];
33052
- switch (B.action) {
33046
+ }, ze = (P, L) => {
33047
+ if (L === "up" && P === 0 || L === "down" && P === x.value.length - 1) return;
33048
+ const ee = [...x.value], he = L === "up" ? P - 1 : P + 1, Ie = ee[P];
33049
+ ee[P] = ee[he], ee[he] = Ie, l.value = ee;
33050
+ }, at = (P, L) => {
33051
+ const ee = x.value[L];
33052
+ switch (P.action) {
33053
33053
  case "remove":
33054
33054
  j(L);
33055
33055
  break;
@@ -33057,21 +33057,21 @@ const e2 = et({
33057
33057
  $(L);
33058
33058
  break;
33059
33059
  default:
33060
- r("row-action", { action: B.action, index: L, row: te });
33060
+ r("row-action", { action: P.action, index: L, row: ee });
33061
33061
  }
33062
- }, pt = (B, L) => B.showWhen ? !!L[B.showWhen] : !0, Mt = v(() => !(i.disabled || i.readonly || i.schema.maxItems && x.value.length >= i.schema.maxItems)), dt = v(() => !(i.disabled || i.readonly || i.schema.minItems && x.value.length <= i.schema.minItems)), ot = (B) => {
33063
- const L = g.value[B];
33062
+ }, pt = (P, L) => P.showWhen ? !!L[P.showWhen] : !0, Mt = v(() => !(i.disabled || i.readonly || i.schema.maxItems && x.value.length >= i.schema.maxItems)), dt = v(() => !(i.disabled || i.readonly || i.schema.minItems && x.value.length <= i.schema.minItems)), ot = (P) => {
33063
+ const L = g.value[P];
33064
33064
  return (L == null ? void 0 : L.readOnly) === !0 || (L == null ? void 0 : L["x-readonly"]) === !0;
33065
- }, Jt = (B) => {
33066
- const L = g.value[B];
33065
+ }, Jt = (P) => {
33066
+ const L = g.value[P];
33067
33067
  return L ? L.enum ? "enum" : L.format === "date" || L.format === "date-time" ? L.format : L.format === "time" ? "time" : L.type === "boolean" ? "boolean" : L.type === "number" || L.type === "integer" ? "number" : "string" : "string";
33068
- }, sn = (B) => {
33069
- const L = g.value[B];
33068
+ }, sn = (P) => {
33069
+ const L = g.value[P];
33070
33070
  if (!(L != null && L.enum)) return [];
33071
- const te = L["x-enum-labels"] || {};
33072
- return L.enum.map((me) => ({
33073
- label: te[me] || String(me),
33074
- value: me
33071
+ const ee = L["x-enum-labels"] || {};
33072
+ return L.enum.map((he) => ({
33073
+ label: ee[he] || String(he),
33074
+ value: he
33075
33075
  }));
33076
33076
  }, Rt = ae({
33077
33077
  page: 1,
@@ -33079,20 +33079,20 @@ const e2 = et({
33079
33079
  sortBy: null,
33080
33080
  descending: !1
33081
33081
  }), st = v(() => {
33082
- var B;
33083
- return (((B = m.value.pagination) == null ? void 0 : B.rowsPerPage) ?? 0) > 0;
33082
+ var P;
33083
+ return (((P = m.value.pagination) == null ? void 0 : P.rowsPerPage) ?? 0) > 0;
33084
33084
  });
33085
- function fe(B, L) {
33085
+ function fe(P, L) {
33086
33086
  return L == null ? "" : Array.isArray(L) ? L.join(", ") : String(L);
33087
33087
  }
33088
- function Se(B) {
33089
- return B.replace(/([A-Z])/g, " $1").replace(/[_-]/g, " ").replace(/^\w/, (L) => L.toUpperCase()).trim();
33088
+ function Se(P) {
33089
+ return P.replace(/([A-Z])/g, " $1").replace(/[_-]/g, " ").replace(/^\w/, (L) => L.toUpperCase()).trim();
33090
33090
  }
33091
- const Be = { props: i, emit: r, value: l, label: o, hint: s, tooltip: a, errorMessage: u, required: c, fieldId: d, fieldGap: f, formContext: h, tableConfig: m, itemsSchema: p, itemProperties: g, arrayValue: x, columns: C, resolvedRowActions: y, hasRowActions: b, addButtonProps: w, filterQuery: q, rowRefToIndex: E, getOriginalIndex: N, filteredOriginalIndices: ee, isPersistSelection: Q, selectionKey: A, _selectedIndicesRef: P, selectedIndices: W, setSelectedIndices: D, isAllSelected: Y, isSomeSelected: ie, toggleSelectAll: G, toggleSelectRow: J, bulkField: se, bulkValue: be, bulkFieldOptions: z, bulkFieldSchema: k, applyBulkEdit: _, updateCellValue: M, addRow: I, removeRow: j, duplicateRow: $, originalValue: ge, get stopCapture() {
33091
+ const Be = { props: i, emit: r, value: l, label: o, hint: s, tooltip: a, errorMessage: u, required: c, fieldId: d, fieldGap: f, formContext: h, tableConfig: m, itemsSchema: p, itemProperties: g, arrayValue: x, columns: C, resolvedRowActions: y, hasRowActions: b, addButtonProps: w, filterQuery: q, rowRefToIndex: E, getOriginalIndex: N, filteredOriginalIndices: te, isPersistSelection: Q, selectionKey: A, _selectedIndicesRef: B, selectedIndices: W, setSelectedIndices: D, isAllSelected: Y, isSomeSelected: ie, toggleSelectAll: G, toggleSelectRow: J, bulkField: se, bulkValue: be, bulkFieldOptions: z, bulkFieldSchema: k, applyBulkEdit: _, updateCellValue: M, addRow: I, removeRow: j, duplicateRow: $, originalValue: ge, get stopCapture() {
33092
33092
  return ue;
33093
- }, set stopCapture(B) {
33094
- ue = B;
33095
- }, hasChanges: Fe, resetToDefaults: Le, moveRow: ze, handleRowAction: at, shouldShowAction: pt, canAdd: Mt, canRemove: dt, isReadOnly: ot, getPropertyType: Jt, getEnumOptions: sn, paginationModel: Rt, hasPagination: st, formatCellValue: fe, humanize: Se, get QTable() {
33093
+ }, set stopCapture(P) {
33094
+ ue = P;
33095
+ }, hasChanges: Ne, resetToDefaults: Le, moveRow: ze, handleRowAction: at, shouldShowAction: pt, canAdd: Mt, canRemove: dt, isReadOnly: ot, getPropertyType: Jt, getEnumOptions: sn, paginationModel: Rt, hasPagination: st, formatCellValue: fe, humanize: Se, get QTable() {
33096
33096
  return e2;
33097
33097
  }, get QTr() {
33098
33098
  return t2;
@@ -33151,7 +33151,7 @@ function w2(n, e, t, i, r, l) {
33151
33151
  X("div", s2, [
33152
33152
  X("div", a2, [
33153
33153
  Oe(
33154
- he(i.label) + " ",
33154
+ me(i.label) + " ",
33155
33155
  1
33156
33156
  /* TEXT */
33157
33157
  ),
@@ -33238,7 +33238,7 @@ function w2(n, e, t, i, r, l) {
33238
33238
  i.filterQuery ? (O(), K(
33239
33239
  "span",
33240
33240
  m2,
33241
- he(i.filteredOriginalIndices.length) + " of " + he(i.arrayValue.length) + " shown ",
33241
+ me(i.filteredOriginalIndices.length) + " of " + me(i.arrayValue.length) + " shown ",
33242
33242
  1
33243
33243
  /* TEXT */
33244
33244
  )) : R("v-if", !0)
@@ -33247,7 +33247,7 @@ function w2(n, e, t, i, r, l) {
33247
33247
  i.tableConfig.selectable && i.selectedIndices.size > 0 && i.bulkFieldOptions.length > 0 ? (O(), K("div", g2, [
33248
33248
  X("span", p2, [
33249
33249
  Oe(
33250
- he(i.selectedIndices.size) + " of " + he(i.arrayValue.length) + " selected ",
33250
+ me(i.selectedIndices.size) + " of " + me(i.arrayValue.length) + " selected ",
33251
33251
  1
33252
33252
  /* TEXT */
33253
33253
  ),
@@ -33256,7 +33256,7 @@ function w2(n, e, t, i, r, l) {
33256
33256
  { key: 0 },
33257
33257
  [
33258
33258
  Oe(
33259
- " (" + he(i.filteredOriginalIndices.filter((s) => i.selectedIndices.has(s)).length) + " in current filter) ",
33259
+ " (" + me(i.filteredOriginalIndices.filter((s) => i.selectedIndices.has(s)).length) + " in current filter) ",
33260
33260
  1
33261
33261
  /* TEXT */
33262
33262
  )
@@ -33443,7 +33443,7 @@ function w2(n, e, t, i, r, l) {
33443
33443
  }, {
33444
33444
  default: U(() => [
33445
33445
  Oe(
33446
- he(a.label),
33446
+ me(a.label),
33447
33447
  1
33448
33448
  /* TEXT */
33449
33449
  )
@@ -33506,7 +33506,7 @@ function w2(n, e, t, i, r, l) {
33506
33506
  { key: 1 },
33507
33507
  [
33508
33508
  Oe(
33509
- he(i.formatCellValue(a.name, s.row[a.name])),
33509
+ me(i.formatCellValue(a.name, s.row[a.name])),
33510
33510
  1
33511
33511
  /* TEXT */
33512
33512
  )
@@ -33718,7 +33718,7 @@ function w2(n, e, t, i, r, l) {
33718
33718
  {
33719
33719
  default: U(() => [
33720
33720
  Oe(
33721
- he(a.tooltip),
33721
+ me(a.tooltip),
33722
33722
  1
33723
33723
  /* TEXT */
33724
33724
  )
@@ -33784,7 +33784,7 @@ function w2(n, e, t, i, r, l) {
33784
33784
  i.errorMessage ? (O(), K(
33785
33785
  "div",
33786
33786
  k2,
33787
- he(i.errorMessage),
33787
+ me(i.errorMessage),
33788
33788
  1
33789
33789
  /* TEXT */
33790
33790
  )) : R("v-if", !0)
@@ -33860,19 +33860,19 @@ const Tm = /* @__PURE__ */ Nt(r2, [["render", w2], ["__scopeId", "data-v-7fb1dda
33860
33860
  var ge;
33861
33861
  const j = Array.isArray(I) ? I : [], $ = {};
33862
33862
  for (const ue of j) {
33863
- const Fe = (ge = ue.dayOfWeek) == null ? void 0 : ge.toLowerCase();
33864
- i.includes(Fe) && ($[Fe] || ($[Fe] = []), $[Fe].push({
33863
+ const Ne = (ge = ue.dayOfWeek) == null ? void 0 : ge.toLowerCase();
33864
+ i.includes(Ne) && ($[Ne] || ($[Ne] = []), $[Ne].push({
33865
33865
  startTime: ue.startTime || "",
33866
33866
  endTime: ue.endTime || ""
33867
33867
  }));
33868
33868
  }
33869
33869
  return o.value.map((ue) => {
33870
- const Fe = $[ue] || [], Le = Fe.length > 0;
33870
+ const Ne = $[ue] || [], Le = Ne.length > 0;
33871
33871
  return {
33872
33872
  day: ue,
33873
33873
  open: Le,
33874
- allDay: Le && g(Fe),
33875
- shifts: Fe
33874
+ allDay: Le && g(Ne),
33875
+ shifts: Ne
33876
33876
  };
33877
33877
  });
33878
33878
  }
@@ -33936,7 +33936,7 @@ const Tm = /* @__PURE__ */ Nt(r2, [["render", w2], ["__scopeId", "data-v-7fb1dda
33936
33936
  const j = y.value[I];
33937
33937
  j.allDay ? (j.allDay = !1, j.shifts = [w(I)]) : (j.allDay = !0, j.shifts = [{ startTime: "00:00", endTime: "23:59" }]);
33938
33938
  }
33939
- function ee(I) {
33939
+ function te(I) {
33940
33940
  const j = y.value[I], $ = j.shifts[j.shifts.length - 1], ge = ($ == null ? void 0 : $.endTime) || "09:00";
33941
33941
  j.shifts.push({ startTime: ge, endTime: q(ge, 8) });
33942
33942
  }
@@ -33947,17 +33947,17 @@ const Tm = /* @__PURE__ */ Nt(r2, [["render", w2], ["__scopeId", "data-v-7fb1dda
33947
33947
  function A(I) {
33948
33948
  return !l.value.allowOvernight || !I.startTime || !I.endTime ? !1 : I.endTime < I.startTime;
33949
33949
  }
33950
- const P = ae(/* @__PURE__ */ new Set()), W = v(
33951
- () => y.value.length > 0 && P.value.size === y.value.length
33950
+ const B = ae(/* @__PURE__ */ new Set()), W = v(
33951
+ () => y.value.length > 0 && B.value.size === y.value.length
33952
33952
  ), D = v(
33953
- () => P.value.size > 0 && P.value.size < y.value.length
33953
+ () => B.value.size > 0 && B.value.size < y.value.length
33954
33954
  );
33955
33955
  function Y(I) {
33956
- const j = new Set(P.value);
33957
- j.has(I) ? j.delete(I) : j.add(I), P.value = j;
33956
+ const j = new Set(B.value);
33957
+ j.has(I) ? j.delete(I) : j.add(I), B.value = j;
33958
33958
  }
33959
33959
  function ie() {
33960
- W.value ? P.value = /* @__PURE__ */ new Set() : P.value = new Set(y.value.map((I, j) => j));
33960
+ W.value ? B.value = /* @__PURE__ */ new Set() : B.value = new Set(y.value.map((I, j) => j));
33961
33961
  }
33962
33962
  const G = ae([{ startTime: "09:00", endTime: "17:00" }]);
33963
33963
  function J() {
@@ -33971,14 +33971,14 @@ const Tm = /* @__PURE__ */ Nt(r2, [["render", w2], ["__scopeId", "data-v-7fb1dda
33971
33971
  G.value.length > 1 && G.value.splice(I, 1);
33972
33972
  }
33973
33973
  function be() {
33974
- for (const I of P.value)
33974
+ for (const I of B.value)
33975
33975
  y.value[I].open = !0, y.value[I].allDay = !1, y.value[I].shifts = G.value.map((j) => ({ ...j }));
33976
- P.value = /* @__PURE__ */ new Set();
33976
+ B.value = /* @__PURE__ */ new Set();
33977
33977
  }
33978
33978
  function z() {
33979
- for (const I of P.value)
33979
+ for (const I of B.value)
33980
33980
  y.value[I].open = !1, y.value[I].allDay = !1, y.value[I].shifts = [];
33981
- P.value = /* @__PURE__ */ new Set();
33981
+ B.value = /* @__PURE__ */ new Set();
33982
33982
  }
33983
33983
  function k(I) {
33984
33984
  const j = { startTime: "09:00", endTime: "17:00" }, $ = [
@@ -33990,13 +33990,13 @@ const Tm = /* @__PURE__ */ Nt(r2, [["render", w2], ["__scopeId", "data-v-7fb1dda
33990
33990
  ];
33991
33991
  for (const ge of y.value)
33992
33992
  I === "weekdays-9-5" ? $.includes(ge.day) ? (ge.open = !0, ge.allDay = !1, ge.shifts = [{ ...j }]) : (ge.open = !1, ge.allDay = !1, ge.shifts = []) : I === "all-9-5" ? (ge.open = !0, ge.allDay = !1, ge.shifts = [{ ...j }]) : (ge.open = !1, ge.allDay = !1, ge.shifts = []);
33993
- P.value = /* @__PURE__ */ new Set();
33993
+ B.value = /* @__PURE__ */ new Set();
33994
33994
  }
33995
- const _ = v(() => P.value.size), M = { props: t, ALL_DAYS: i, DAY_META: r, scheduleConfig: l, orderedDays: o, value: s, label: a, hint: u, tooltip: c, errorMessage: d, required: f, fieldId: h, fieldGap: m, formContext: p, isAllDayShift: g, valueToDisplay: x, displayToValue: C, days: y, get suppressWatch() {
33995
+ const _ = v(() => B.value.size), M = { props: t, ALL_DAYS: i, DAY_META: r, scheduleConfig: l, orderedDays: o, value: s, label: a, hint: u, tooltip: c, errorMessage: d, required: f, fieldId: h, fieldGap: m, formContext: p, isAllDayShift: g, valueToDisplay: x, displayToValue: C, days: y, get suppressWatch() {
33996
33996
  return b;
33997
33997
  }, set suppressWatch(I) {
33998
33998
  b = I;
33999
- }, getSmartDefault: w, addTimeHours: q, toggleDay: E, toggleAllDay: N, addShift: ee, removeShift: Q, isOvernight: A, selectedDays: P, isAllSelected: W, isSomeSelected: D, toggleSelectDay: Y, toggleSelectAll: ie, bulkShifts: G, addBulkShift: J, removeBulkShift: se, applyBulkOpen: be, applyBulkClosed: z, applyPreset: k, selectedCount: _, get QCheckbox() {
33999
+ }, getSmartDefault: w, addTimeHours: q, toggleDay: E, toggleAllDay: N, addShift: te, removeShift: Q, isOvernight: A, selectedDays: B, isAllSelected: W, isSomeSelected: D, toggleSelectDay: Y, toggleSelectAll: ie, bulkShifts: G, addBulkShift: J, removeBulkShift: se, applyBulkOpen: be, applyBulkClosed: z, applyPreset: k, selectedCount: _, get QCheckbox() {
34000
34000
  return zi;
34001
34001
  }, get QBtn() {
34002
34002
  return At;
@@ -34059,7 +34059,7 @@ function G2(n, e, t, i, r, l) {
34059
34059
  X("div", _2, [
34060
34060
  i.label && !t.hideLabel ? (O(), K("div", T2, [
34061
34061
  Oe(
34062
- he(i.label) + " ",
34062
+ me(i.label) + " ",
34063
34063
  1
34064
34064
  /* TEXT */
34065
34065
  ),
@@ -34070,7 +34070,7 @@ function G2(n, e, t, i, r, l) {
34070
34070
  size: "11px"
34071
34071
  }),
34072
34072
  Oe(
34073
- " " + he(i.scheduleConfig.timezoneLabel),
34073
+ " " + me(i.scheduleConfig.timezoneLabel),
34074
34074
  1
34075
34075
  /* TEXT */
34076
34076
  )
@@ -34137,7 +34137,7 @@ function G2(n, e, t, i, r, l) {
34137
34137
  X(
34138
34138
  "span",
34139
34139
  B2,
34140
- he(i.isAllSelected ? "Deselect all" : "Select all"),
34140
+ me(i.isAllSelected ? "Deselect all" : "Select all"),
34141
34141
  1
34142
34142
  /* TEXT */
34143
34143
  )
@@ -34177,7 +34177,7 @@ function G2(n, e, t, i, r, l) {
34177
34177
  i.DAY_META[o.day].weekend ? "qws__day-badge--weekend" : "qws__day-badge--weekday"
34178
34178
  ])
34179
34179
  },
34180
- he(i.DAY_META[o.day].abbr),
34180
+ me(i.DAY_META[o.day].abbr),
34181
34181
  3
34182
34182
  /* TEXT, CLASS */
34183
34183
  ),
@@ -34200,7 +34200,7 @@ function G2(n, e, t, i, r, l) {
34200
34200
  X(
34201
34201
  "span",
34202
34202
  I2,
34203
- he(o.open ? "Open" : "Closed"),
34203
+ me(o.open ? "Open" : "Closed"),
34204
34204
  1
34205
34205
  /* TEXT */
34206
34206
  )
@@ -34342,7 +34342,7 @@ function G2(n, e, t, i, r, l) {
34342
34342
  {
34343
34343
  default: U(() => [
34344
34344
  Oe(
34345
- " Add another time range for " + he(i.DAY_META[o.day].label),
34345
+ " Add another time range for " + me(i.DAY_META[o.day].label),
34346
34346
  1
34347
34347
  /* TEXT */
34348
34348
  )
@@ -34402,7 +34402,7 @@ function G2(n, e, t, i, r, l) {
34402
34402
  X(
34403
34403
  "span",
34404
34404
  j2,
34405
- he(i.selectedCount) + " " + he(i.selectedCount === 1 ? "day" : "days") + " selected ",
34405
+ me(i.selectedCount) + " " + me(i.selectedCount === 1 ? "day" : "days") + " selected ",
34406
34406
  1
34407
34407
  /* TEXT */
34408
34408
  ),
@@ -34491,7 +34491,7 @@ function G2(n, e, t, i, r, l) {
34491
34491
  i.errorMessage ? (O(), K(
34492
34492
  "div",
34493
34493
  Y2,
34494
- he(i.errorMessage),
34494
+ me(i.errorMessage),
34495
34495
  1
34496
34496
  /* TEXT */
34497
34497
  )) : R("v-if", !0)
@@ -34555,62 +34555,62 @@ const Mm = /* @__PURE__ */ Nt(x2, [["render", G2], ["__scopeId", "data-v-40143f8
34555
34555
  }
34556
34556
  function p(Z) {
34557
34557
  var L;
34558
- const B = {};
34559
- for (const te of Z) {
34560
- const me = (L = te.dayOfWeek) == null ? void 0 : L.toLowerCase();
34561
- i.includes(me) && (B[me] || (B[me] = []), B[me].push({
34562
- startTime: te.startTime || "",
34563
- endTime: te.endTime || ""
34558
+ const P = {};
34559
+ for (const ee of Z) {
34560
+ const he = (L = ee.dayOfWeek) == null ? void 0 : L.toLowerCase();
34561
+ i.includes(he) && (P[he] || (P[he] = []), P[he].push({
34562
+ startTime: ee.startTime || "",
34563
+ endTime: ee.endTime || ""
34564
34564
  }));
34565
34565
  }
34566
- return i.map((te) => {
34567
- const me = B[te] || [], Ne = me.length > 0;
34566
+ return i.map((ee) => {
34567
+ const he = P[ee] || [], Ie = he.length > 0;
34568
34568
  return {
34569
- day: te,
34570
- open: Ne,
34571
- allDay: Ne && m(me),
34572
- shifts: me
34569
+ day: ee,
34570
+ open: Ie,
34571
+ allDay: Ie && m(he),
34572
+ shifts: he
34573
34573
  };
34574
34574
  });
34575
34575
  }
34576
34576
  function g(Z) {
34577
- const B = [];
34577
+ const P = [];
34578
34578
  for (const L of Z)
34579
34579
  if (L.open)
34580
34580
  if (L.allDay)
34581
- B.push({
34581
+ P.push({
34582
34582
  dayOfWeek: L.day,
34583
34583
  startTime: "00:00",
34584
34584
  endTime: "23:59",
34585
34585
  allDay: !0
34586
34586
  });
34587
34587
  else
34588
- for (const te of L.shifts)
34589
- B.push({
34588
+ for (const ee of L.shifts)
34589
+ P.push({
34590
34590
  dayOfWeek: L.day,
34591
- startTime: te.startTime,
34592
- endTime: te.endTime
34591
+ startTime: ee.startTime,
34592
+ endTime: ee.endTime
34593
34593
  });
34594
- return B;
34594
+ return P;
34595
34595
  }
34596
34596
  function x(Z) {
34597
- return Z.map((B) => ({ ...B, shifts: B.shifts.map((L) => ({ ...L })) }));
34597
+ return Z.map((P) => ({ ...P, shifts: P.shifts.map((L) => ({ ...L })) }));
34598
34598
  }
34599
34599
  const C = v(() => {
34600
- const Z = Array.isArray(o.value) ? o.value : [], { groupNameKey: B, groupIdKey: L, scheduleKey: te } = l.value;
34601
- return Z.map((me) => ({
34602
- id: String(me[L] ?? ""),
34603
- name: String(me[B] ?? ""),
34604
- schedule: Array.isArray(me[te]) ? me[te] : []
34600
+ const Z = Array.isArray(o.value) ? o.value : [], { groupNameKey: P, groupIdKey: L, scheduleKey: ee } = l.value;
34601
+ return Z.map((he) => ({
34602
+ id: String(he[L] ?? ""),
34603
+ name: String(he[P] ?? ""),
34604
+ schedule: Array.isArray(he[ee]) ? he[ee] : []
34605
34605
  }));
34606
34606
  }), y = v(
34607
34607
  () => C.value.map((Z) => p(Z.schedule))
34608
34608
  );
34609
- function b(Z, B) {
34609
+ function b(Z, P) {
34610
34610
  const L = Array.isArray(o.value) ? [...o.value] : [];
34611
34611
  L[Z] && (L[Z] = {
34612
34612
  ...L[Z],
34613
- [l.value.scheduleKey]: g(B)
34613
+ [l.value.scheduleKey]: g(P)
34614
34614
  }, o.value = L);
34615
34615
  }
34616
34616
  const w = ae(null);
@@ -34618,112 +34618,119 @@ const Mm = /* @__PURE__ */ Nt(x2, [["render", G2], ["__scopeId", "data-v-40143f8
34618
34618
  q = pe(
34619
34619
  o,
34620
34620
  (Z) => {
34621
- Array.isArray(Z) && Z.length > 0 && w.value === null && (w.value = JSON.parse(JSON.stringify(Z)), q == null || q());
34621
+ if (Array.isArray(Z) && Z.length > 0 && w.value === null) {
34622
+ w.value = JSON.parse(JSON.stringify(Z));
34623
+ const { scheduleKey: P } = l.value, L = Z.map((ee, he) => {
34624
+ const Ie = y.value[he];
34625
+ return !Ie || !Ie.some((ce) => ce.allDay) ? ee : { ...ee, [P]: g(Ie) };
34626
+ });
34627
+ o.value = L, q == null || q();
34628
+ }
34622
34629
  },
34623
34630
  { immediate: !0 }
34624
34631
  );
34625
34632
  function E(Z) {
34626
34633
  if (!Array.isArray(w.value)) return null;
34627
- const B = w.value[Z];
34628
- if (!B) return null;
34629
- const L = Array.isArray(B[l.value.scheduleKey]) ? B[l.value.scheduleKey] : [];
34634
+ const P = w.value[Z];
34635
+ if (!P) return null;
34636
+ const L = Array.isArray(P[l.value.scheduleKey]) ? P[l.value.scheduleKey] : [];
34630
34637
  return p(L);
34631
34638
  }
34632
34639
  function N(Z) {
34633
- const B = E(Z);
34634
- return B ? JSON.stringify(g(B)) !== JSON.stringify(g(y.value[Z])) : !1;
34640
+ const P = E(Z);
34641
+ return P ? JSON.stringify(g(P)) !== JSON.stringify(g(y.value[Z])) : !1;
34635
34642
  }
34636
- function ee(Z) {
34637
- const B = E(Z);
34638
- B && b(Z, B);
34643
+ function te(Z) {
34644
+ const P = E(Z);
34645
+ P && b(Z, P);
34639
34646
  }
34640
34647
  function Q() {
34641
34648
  const Z = Array.isArray(o.value) ? [...o.value] : [];
34642
- for (const B of A.value) {
34643
- const L = E(B);
34644
- L && (Z[B] = {
34645
- ...Z[B],
34649
+ for (const P of A.value) {
34650
+ const L = E(P);
34651
+ L && (Z[P] = {
34652
+ ...Z[P],
34646
34653
  [l.value.scheduleKey]: g(L)
34647
34654
  });
34648
34655
  }
34649
34656
  o.value = Z;
34650
34657
  }
34651
- const A = ae(/* @__PURE__ */ new Set()), P = v(
34658
+ const A = ae(/* @__PURE__ */ new Set()), B = v(
34652
34659
  () => C.value.length > 0 && A.value.size === C.value.length
34653
34660
  ), W = v(
34654
34661
  () => A.value.size > 0 && A.value.size < C.value.length
34655
34662
  );
34656
34663
  function D(Z) {
34657
- const B = new Set(A.value);
34658
- B.has(Z) ? B.delete(Z) : B.add(Z), A.value = B;
34664
+ const P = new Set(A.value);
34665
+ P.has(Z) ? P.delete(Z) : P.add(Z), A.value = P;
34659
34666
  }
34660
34667
  function Y() {
34661
- A.value = P.value ? /* @__PURE__ */ new Set() : new Set(C.value.map((Z, B) => B));
34668
+ A.value = B.value ? /* @__PURE__ */ new Set() : new Set(C.value.map((Z, P) => P));
34662
34669
  }
34663
34670
  const ie = v(() => A.value.size), G = v(
34664
34671
  () => [...A.value].map((Z) => {
34665
- var B;
34666
- return (B = C.value[Z]) == null ? void 0 : B.name;
34672
+ var P;
34673
+ return (P = C.value[Z]) == null ? void 0 : P.name;
34667
34674
  }).filter(Boolean)
34668
34675
  ), J = ae(/* @__PURE__ */ new Set());
34669
34676
  function se(Z) {
34670
- const B = new Set(J.value);
34671
- B.has(Z) ? B.delete(Z) : B.add(Z), J.value = B;
34677
+ const P = new Set(J.value);
34678
+ P.has(Z) ? P.delete(Z) : P.add(Z), J.value = P;
34672
34679
  }
34673
- function be(Z, B) {
34674
- for (let L = B - 1; L >= 0; L--)
34680
+ function be(Z, P) {
34681
+ for (let L = P - 1; L >= 0; L--)
34675
34682
  if (Z[L].open && Z[L].shifts.length > 0)
34676
34683
  return { ...Z[L].shifts[0] };
34677
34684
  return { startTime: "09:00", endTime: "17:00" };
34678
34685
  }
34679
- function z(Z, B) {
34686
+ function z(Z, P) {
34680
34687
  if (!Z) return "17:00";
34681
- const [L, te] = Z.split(":").map(Number);
34682
- return `${String(((L || 0) + B) % 24).padStart(2, "0")}:${String(te || 0).padStart(2, "0")}`;
34688
+ const [L, ee] = Z.split(":").map(Number);
34689
+ return `${String(((L || 0) + P) % 24).padStart(2, "0")}:${String(ee || 0).padStart(2, "0")}`;
34683
34690
  }
34684
- function k(Z, B) {
34691
+ function k(Z, P) {
34685
34692
  if (t.disabled || t.readonly) return;
34686
- const L = x(y.value[Z]), te = L[B];
34687
- te.open ? (te.open = !1, te.allDay = !1, te.shifts = []) : (te.open = !0, te.allDay = !1, te.shifts = [be(L, B)]), b(Z, L);
34693
+ const L = x(y.value[Z]), ee = L[P];
34694
+ ee.open ? (ee.open = !1, ee.allDay = !1, ee.shifts = []) : (ee.open = !0, ee.allDay = !1, ee.shifts = [be(L, P)]), b(Z, L);
34688
34695
  }
34689
- function _(Z, B) {
34696
+ function _(Z, P) {
34690
34697
  if (t.disabled || t.readonly) return;
34691
- const L = x(y.value[Z]), te = L[B];
34692
- te.allDay ? (te.allDay = !1, te.shifts = [be(L, B)]) : (te.allDay = !0, te.shifts = [{ startTime: "00:00", endTime: "23:59" }]), b(Z, L);
34693
- }
34694
- function M(Z, B, L, te, me) {
34695
- const Ne = x(y.value[Z]);
34696
- Ne[B].shifts[L][te] = String(me ?? ""), b(Z, Ne);
34697
- }
34698
- function I(Z, B) {
34699
- const L = x(y.value[Z]), te = L[B].shifts.at(-1), me = (te == null ? void 0 : te.endTime) || "09:00";
34700
- L[B].shifts.push({
34701
- startTime: me,
34702
- endTime: z(me, 8)
34698
+ const L = x(y.value[Z]), ee = L[P];
34699
+ ee.allDay ? (ee.allDay = !1, ee.shifts = [be(L, P)]) : (ee.allDay = !0, ee.shifts = [{ startTime: "00:00", endTime: "23:59" }]), b(Z, L);
34700
+ }
34701
+ function M(Z, P, L, ee, he) {
34702
+ const Ie = x(y.value[Z]);
34703
+ Ie[P].shifts[L][ee] = String(he ?? ""), b(Z, Ie);
34704
+ }
34705
+ function I(Z, P) {
34706
+ const L = x(y.value[Z]), ee = L[P].shifts.at(-1), he = (ee == null ? void 0 : ee.endTime) || "09:00";
34707
+ L[P].shifts.push({
34708
+ startTime: he,
34709
+ endTime: z(he, 8)
34703
34710
  }), b(Z, L);
34704
34711
  }
34705
- function j(Z, B, L) {
34706
- const te = x(y.value[Z]);
34707
- te[B].shifts.splice(L, 1), te[B].shifts.length === 0 && (te[B].open = !1), b(Z, te);
34712
+ function j(Z, P, L) {
34713
+ const ee = x(y.value[Z]);
34714
+ ee[P].shifts.splice(L, 1), ee[P].shifts.length === 0 && (ee[P].open = !1), b(Z, ee);
34708
34715
  }
34709
34716
  function $(Z) {
34710
- const B = Z.filter((Ce) => Ce.open);
34711
- if (B.length === 0) return "Closed all week";
34717
+ const P = Z.filter((Ce) => Ce.open);
34718
+ if (P.length === 0) return "Closed all week";
34712
34719
  const L = [
34713
34720
  "monday",
34714
34721
  "tuesday",
34715
34722
  "wednesday",
34716
34723
  "thursday",
34717
34724
  "friday"
34718
- ], te = B.map((Ce) => Ce.day);
34719
- let me;
34720
- if (te.length === 7 ? me = "Every day" : L.every((Ce) => te.includes(Ce)) && te.length === 5 ? me = "Mon–Fri" : te.length === 1 ? me = r[te[0]].label : me = `${te.length} days`, B.filter((Ce) => Ce.allDay).length === B.length) return `${me} · All day`;
34725
+ ], ee = P.map((Ce) => Ce.day);
34726
+ let he;
34727
+ if (ee.length === 7 ? he = "Every day" : L.every((Ce) => ee.includes(Ce)) && ee.length === 5 ? he = "Mon–Fri" : ee.length === 1 ? he = r[ee[0]].label : he = `${ee.length} days`, P.filter((Ce) => Ce.allDay).length === P.length) return `${he} · All day`;
34721
34728
  const ne = new Set(
34722
- B.map(
34729
+ P.map(
34723
34730
  (Ce) => Ce.allDay ? "All day" : Ce.shifts.map((De) => `${De.startTime}–${De.endTime}`).join(", ")
34724
34731
  )
34725
34732
  ), ce = ne.size === 1 ? [...ne][0] : "Multiple shifts";
34726
- return `${me} · ${ce}`;
34733
+ return `${he} · ${ce}`;
34727
34734
  }
34728
34735
  const ge = [
34729
34736
  "#4a3aff",
@@ -34736,13 +34743,13 @@ const Mm = /* @__PURE__ */ Nt(x2, [["render", G2], ["__scopeId", "data-v-40143f8
34736
34743
  "#be185d"
34737
34744
  ];
34738
34745
  function ue(Z) {
34739
- let B = 0;
34746
+ let P = 0;
34740
34747
  for (let L = 0; L < Z.length; L++)
34741
- B = Z.charCodeAt(L) + ((B << 5) - B);
34742
- return ge[Math.abs(B) % ge.length];
34748
+ P = Z.charCodeAt(L) + ((P << 5) - P);
34749
+ return ge[Math.abs(P) % ge.length];
34743
34750
  }
34744
- function Fe(Z) {
34745
- return Z.split(" ").filter(Boolean).map((B) => B[0]).join("").toUpperCase().slice(0, 2);
34751
+ function Ne(Z) {
34752
+ return Z.split(" ").filter(Boolean).map((P) => P[0]).join("").toUpperCase().slice(0, 2);
34746
34753
  }
34747
34754
  const Le = ae(!1), ze = ae(
34748
34755
  i.map((Z) => ({ day: Z, open: !1, allDay: !1, shifts: [] }))
@@ -34773,7 +34780,7 @@ const Mm = /* @__PURE__ */ Nt(x2, [["render", G2], ["__scopeId", "data-v-40143f8
34773
34780
  }
34774
34781
  ];
34775
34782
  function pt(Z) {
34776
- const B = [
34783
+ const P = [
34777
34784
  "monday",
34778
34785
  "tuesday",
34779
34786
  "wednesday",
@@ -34785,11 +34792,11 @@ const Mm = /* @__PURE__ */ Nt(x2, [["render", G2], ["__scopeId", "data-v-40143f8
34785
34792
  open: !0,
34786
34793
  allDay: !1,
34787
34794
  shifts: [{ startTime: "09:00", endTime: "17:00" }]
34788
- } : Z === "weekdays-9-5" ? B.includes(L) ? {
34795
+ } : Z === "weekdays-9-5" ? P.includes(L) ? {
34789
34796
  day: L,
34790
34797
  open: !0,
34791
34798
  shifts: [{ startTime: "09:00", endTime: "17:00" }]
34792
- } : { day: L, open: !1, allDay: !1, shifts: [] } : Z === "weekdays-8-6" ? B.includes(L) ? {
34799
+ } : { day: L, open: !1, allDay: !1, shifts: [] } : Z === "weekdays-8-6" ? P.includes(L) ? {
34793
34800
  day: L,
34794
34801
  open: !0,
34795
34802
  allDay: !1,
@@ -34802,13 +34809,13 @@ const Mm = /* @__PURE__ */ Nt(x2, [["render", G2], ["__scopeId", "data-v-40143f8
34802
34809
  return;
34803
34810
  }
34804
34811
  const Z = [...A.value][0];
34805
- Z !== void 0 && y.value[Z] ? ze.value = x(y.value[Z]) : ze.value = i.map((B) => ({ day: B, open: !1, allDay: !1, shifts: [] })), Le.value = !0;
34812
+ Z !== void 0 && y.value[Z] ? ze.value = x(y.value[Z]) : ze.value = i.map((P) => ({ day: P, open: !1, allDay: !1, shifts: [] })), Le.value = !0;
34806
34813
  }
34807
34814
  function dt(Z) {
34808
- const B = Array.isArray(o.value) ? [...o.value] : [], L = g(Z);
34809
- for (const te of A.value)
34810
- B[te] && (B[te] = { ...B[te], [l.value.scheduleKey]: L });
34811
- o.value = B;
34815
+ const P = Array.isArray(o.value) ? [...o.value] : [], L = g(Z);
34816
+ for (const ee of A.value)
34817
+ P[ee] && (P[ee] = { ...P[ee], [l.value.scheduleKey]: L });
34818
+ o.value = P;
34812
34819
  }
34813
34820
  function ot(Z) {
34814
34821
  dt(pt(Z));
@@ -34817,29 +34824,29 @@ const Mm = /* @__PURE__ */ Nt(x2, [["render", G2], ["__scopeId", "data-v-40143f8
34817
34824
  dt(ze.value);
34818
34825
  }
34819
34826
  function sn(Z) {
34820
- const B = x(ze.value), L = B[Z];
34821
- L.open ? (L.open = !1, L.shifts = []) : (L.open = !0, L.shifts = [be(B, Z)]), ze.value = B;
34827
+ const P = x(ze.value), L = P[Z];
34828
+ L.open ? (L.open = !1, L.shifts = []) : (L.open = !0, L.shifts = [be(P, Z)]), ze.value = P;
34822
34829
  }
34823
- function Rt(Z, B, L, te) {
34824
- const me = x(ze.value);
34825
- me[Z].shifts[B][L] = String(te ?? ""), ze.value = me;
34830
+ function Rt(Z, P, L, ee) {
34831
+ const he = x(ze.value);
34832
+ he[Z].shifts[P][L] = String(ee ?? ""), ze.value = he;
34826
34833
  }
34827
34834
  function st(Z) {
34828
- const B = x(ze.value), L = B[Z].shifts.at(-1), te = (L == null ? void 0 : L.endTime) || "09:00";
34829
- B[Z].shifts.push({
34830
- startTime: te,
34831
- endTime: z(te, 8)
34832
- }), ze.value = B;
34835
+ const P = x(ze.value), L = P[Z].shifts.at(-1), ee = (L == null ? void 0 : L.endTime) || "09:00";
34836
+ P[Z].shifts.push({
34837
+ startTime: ee,
34838
+ endTime: z(ee, 8)
34839
+ }), ze.value = P;
34833
34840
  }
34834
- function fe(Z, B) {
34841
+ function fe(Z, P) {
34835
34842
  const L = x(ze.value);
34836
- L[Z].shifts.splice(B, 1), L[Z].shifts.length === 0 && (L[Z].open = !1), ze.value = L;
34843
+ L[Z].shifts.splice(P, 1), L[Z].shifts.length === 0 && (L[Z].open = !1), ze.value = L;
34837
34844
  }
34838
34845
  const Se = v(() => ze.value.some((Z) => Z.open)), Be = { props: t, ALL_DAYS: i, DAY_META: r, config: l, value: o, label: s, hint: a, tooltip: u, errorMessage: c, required: d, fieldId: f, fieldGap: h, isAllDayShift: m, parseSchedule: p, serializeSchedule: g, deepCopyDays: x, rawGroups: C, groupDays: y, updateGroupSchedule: b, originalValue: w, get stopCapture() {
34839
34846
  return q;
34840
34847
  }, set stopCapture(Z) {
34841
34848
  q = Z;
34842
- }, getOriginalGroupDays: E, hasChanges: N, resetGroup: ee, resetSelected: Q, selectedGroups: A, isAllSelected: P, isSomeSelected: W, toggleSelectGroup: D, toggleSelectAll: Y, selectedCount: ie, selectedGroupNames: G, expandedGroups: J, toggleExpanded: se, getSmartDefault: be, addTimeHours: z, toggleDay: k, toggleAllDay: _, updateShiftTime: M, addShift: I, removeShift: j, getScheduleSummary: $, AVATAR_COLORS: ge, getAvatarColor: ue, getInitials: Fe, showCustomBulk: Le, bulkDays: ze, BULK_PRESETS: at, buildPresetDays: pt, openCustomBulk: Mt, applyDaysToSelected: dt, applyPresetToSelected: ot, applyCustomToSelected: Jt, toggleBulkDay: sn, updateBulkShiftTime: Rt, addBulkShift: st, removeBulkShift: fe, bulkHasSchedule: Se, get QCheckbox() {
34849
+ }, getOriginalGroupDays: E, hasChanges: N, resetGroup: te, resetSelected: Q, selectedGroups: A, isAllSelected: B, isSomeSelected: W, toggleSelectGroup: D, toggleSelectAll: Y, selectedCount: ie, selectedGroupNames: G, expandedGroups: J, toggleExpanded: se, getSmartDefault: be, addTimeHours: z, toggleDay: k, toggleAllDay: _, updateShiftTime: M, addShift: I, removeShift: j, getScheduleSummary: $, AVATAR_COLORS: ge, getAvatarColor: ue, getInitials: Ne, showCustomBulk: Le, bulkDays: ze, BULK_PRESETS: at, buildPresetDays: pt, openCustomBulk: Mt, applyDaysToSelected: dt, applyPresetToSelected: ot, applyCustomToSelected: Jt, toggleBulkDay: sn, updateBulkShiftTime: Rt, addBulkShift: st, removeBulkShift: fe, bulkHasSchedule: Se, get QCheckbox() {
34843
34850
  return zi;
34844
34851
  }, get QBtn() {
34845
34852
  return At;
@@ -34908,7 +34915,7 @@ function VD(n, e, t, i, r, l) {
34908
34915
  i.label && !t.hideLabel || i.hint || i.config.timezoneLabel ? (O(), K("div", Z2, [
34909
34916
  i.label && !t.hideLabel ? (O(), K("div", $2, [
34910
34917
  Oe(
34911
- he(i.label) + " ",
34918
+ me(i.label) + " ",
34912
34919
  1
34913
34920
  /* TEXT */
34914
34921
  ),
@@ -34919,7 +34926,7 @@ function VD(n, e, t, i, r, l) {
34919
34926
  size: "11px"
34920
34927
  }),
34921
34928
  Oe(
34922
- " " + he(i.config.timezoneLabel),
34929
+ " " + me(i.config.timezoneLabel),
34923
34930
  1
34924
34931
  /* TEXT */
34925
34932
  )
@@ -34996,7 +35003,7 @@ function VD(n, e, t, i, r, l) {
34996
35003
  X(
34997
35004
  "span",
34998
35005
  oD,
34999
- he(i.isAllSelected ? "Deselect all" : `Select all ${i.rawGroups.length} groups`),
35006
+ me(i.isAllSelected ? "Deselect all" : `Select all ${i.rawGroups.length} groups`),
35000
35007
  1
35001
35008
  /* TEXT */
35002
35009
  )
@@ -35034,7 +35041,7 @@ function VD(n, e, t, i, r, l) {
35034
35041
  class: "qmgs__avatar",
35035
35042
  style: lt({ background: i.getAvatarColor(o.name) })
35036
35043
  },
35037
- he(i.getInitials(o.name)),
35044
+ me(i.getInitials(o.name)),
35038
35045
  5
35039
35046
  /* TEXT, STYLE */
35040
35047
  ),
@@ -35046,7 +35053,7 @@ function VD(n, e, t, i, r, l) {
35046
35053
  X(
35047
35054
  "div",
35048
35055
  cD,
35049
- he(o.name),
35056
+ me(o.name),
35050
35057
  1
35051
35058
  /* TEXT */
35052
35059
  ),
@@ -35074,7 +35081,7 @@ function VD(n, e, t, i, r, l) {
35074
35081
  X(
35075
35082
  "strong",
35076
35083
  null,
35077
- he(i.DAY_META[a.day].label),
35084
+ me(i.DAY_META[a.day].label),
35078
35085
  1
35079
35086
  /* TEXT */
35080
35087
  ),
@@ -35090,7 +35097,7 @@ function VD(n, e, t, i, r, l) {
35090
35097
  /* CACHED */
35091
35098
  )),
35092
35099
  Oe(
35093
- he(a.shifts.map((u) => `${u.startTime} – ${u.endTime}`).join(", ")),
35100
+ me(a.shifts.map((u) => `${u.startTime} – ${u.endTime}`).join(", ")),
35094
35101
  1
35095
35102
  /* TEXT */
35096
35103
  )
@@ -35136,7 +35143,7 @@ function VD(n, e, t, i, r, l) {
35136
35143
  X(
35137
35144
  "span",
35138
35145
  hD,
35139
- he(i.getScheduleSummary(i.groupDays[s])),
35146
+ me(i.getScheduleSummary(i.groupDays[s])),
35140
35147
  1
35141
35148
  /* TEXT */
35142
35149
  )
@@ -35161,7 +35168,7 @@ function VD(n, e, t, i, r, l) {
35161
35168
  {
35162
35169
  default: U(() => [
35163
35170
  Oe(
35164
- he(i.expandedGroups.has(s) ? "Collapse" : "Edit schedule"),
35171
+ me(i.expandedGroups.has(s) ? "Collapse" : "Edit schedule"),
35165
35172
  1
35166
35173
  /* TEXT */
35167
35174
  )
@@ -35228,7 +35235,7 @@ function VD(n, e, t, i, r, l) {
35228
35235
  i.DAY_META[a.day].weekend ? "qmgs__day-badge--weekend" : "qmgs__day-badge--weekday"
35229
35236
  ])
35230
35237
  },
35231
- he(i.DAY_META[a.day].abbr),
35238
+ me(i.DAY_META[a.day].abbr),
35232
35239
  3
35233
35240
  /* TEXT, CLASS */
35234
35241
  ),
@@ -35251,7 +35258,7 @@ function VD(n, e, t, i, r, l) {
35251
35258
  X(
35252
35259
  "span",
35253
35260
  null,
35254
- he(a.open ? "Open" : "Closed"),
35261
+ me(a.open ? "Open" : "Closed"),
35255
35262
  1
35256
35263
  /* TEXT */
35257
35264
  )
@@ -35400,7 +35407,7 @@ function VD(n, e, t, i, r, l) {
35400
35407
  X(
35401
35408
  "span",
35402
35409
  null,
35403
- he(i.selectedCount) + " " + he(i.selectedCount === 1 ? "group" : "groups") + " selected ",
35410
+ me(i.selectedCount) + " " + me(i.selectedCount === 1 ? "group" : "groups") + " selected ",
35404
35411
  1
35405
35412
  /* TEXT */
35406
35413
  )
@@ -35415,7 +35422,7 @@ function VD(n, e, t, i, r, l) {
35415
35422
  key: o,
35416
35423
  class: "qmgs__bulk-chip"
35417
35424
  },
35418
- he(o),
35425
+ me(o),
35419
35426
  1
35420
35427
  /* TEXT */
35421
35428
  ))),
@@ -35441,14 +35448,14 @@ function VD(n, e, t, i, r, l) {
35441
35448
  X(
35442
35449
  "span",
35443
35450
  TD,
35444
- he(o.label),
35451
+ me(o.label),
35445
35452
  1
35446
35453
  /* TEXT */
35447
35454
  ),
35448
35455
  X(
35449
35456
  "span",
35450
35457
  MD,
35451
- he(o.description),
35458
+ me(o.description),
35452
35459
  1
35453
35460
  /* TEXT */
35454
35461
  )
@@ -35471,7 +35478,7 @@ function VD(n, e, t, i, r, l) {
35471
35478
  size: "14px"
35472
35479
  }, null, 8, ["name"]),
35473
35480
  Oe(
35474
- " " + he(i.showCustomBulk ? "Hide custom hours" : "Set custom hours..."),
35481
+ " " + me(i.showCustomBulk ? "Hide custom hours" : "Set custom hours..."),
35475
35482
  1
35476
35483
  /* TEXT */
35477
35484
  )
@@ -35527,7 +35534,7 @@ function VD(n, e, t, i, r, l) {
35527
35534
  X(
35528
35535
  "div",
35529
35536
  DD,
35530
- he(i.DAY_META[o.day].abbr),
35537
+ me(i.DAY_META[o.day].abbr),
35531
35538
  1
35532
35539
  /* TEXT */
35533
35540
  ),
@@ -35548,7 +35555,7 @@ function VD(n, e, t, i, r, l) {
35548
35555
  X(
35549
35556
  "span",
35550
35557
  null,
35551
- he(o.open ? "Open" : "Closed"),
35558
+ me(o.open ? "Open" : "Closed"),
35552
35559
  1
35553
35560
  /* TEXT */
35554
35561
  )
@@ -35625,7 +35632,7 @@ function VD(n, e, t, i, r, l) {
35625
35632
  class: "qmgs__bulk-apply",
35626
35633
  disabled: !i.bulkHasSchedule,
35627
35634
  onClick: i.applyCustomToSelected
35628
- }, " Apply to " + he(i.selectedCount) + " " + he(i.selectedCount === 1 ? "group" : "groups"), 9, ED)
35635
+ }, " Apply to " + me(i.selectedCount) + " " + me(i.selectedCount === 1 ? "group" : "groups"), 9, ED)
35629
35636
  ])
35630
35637
  ])) : R("v-if", !0)
35631
35638
  ]),
@@ -35641,7 +35648,7 @@ function VD(n, e, t, i, r, l) {
35641
35648
  i.errorMessage ? (O(), K(
35642
35649
  "div",
35643
35650
  ID,
35644
- he(i.errorMessage),
35651
+ me(i.errorMessage),
35645
35652
  1
35646
35653
  /* TEXT */
35647
35654
  )) : R("v-if", !0)