@quickflo/quickforms-quasar 1.16.20 → 1.16.21

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
@@ -489,27 +489,27 @@ function My(i, e) {
489
489
  function d() {
490
490
  t.lazyRules !== "ondemand" && c.value === !0 && s.value === !0 && g();
491
491
  }
492
- ve(() => t.reactiveRules, (v) => {
493
- v === !0 ? a === void 0 && (a = ve(() => t.rules, d, { immediate: !0, deep: !0 })) : a !== void 0 && (a(), a = void 0);
494
- }, { immediate: !0 }), ve(() => t.lazyRules, d), ve(i, (v) => {
495
- v === !0 ? s.value = !0 : c.value === !0 && t.lazyRules !== "ondemand" && g();
492
+ ve(() => t.reactiveRules, (y) => {
493
+ y === !0 ? a === void 0 && (a = ve(() => t.rules, d, { immediate: !0, deep: !0 })) : a !== void 0 && (a(), a = void 0);
494
+ }, { immediate: !0 }), ve(() => t.lazyRules, d), ve(i, (y) => {
495
+ y === !0 ? s.value = !0 : c.value === !0 && t.lazyRules !== "ondemand" && g();
496
496
  });
497
497
  function m() {
498
498
  l++, e.value = !1, s.value = !1, r.value = !1, o.value = null, g.cancel();
499
499
  }
500
- function p(v = t.modelValue) {
500
+ function p(y = t.modelValue) {
501
501
  if (t.disable === !0 || u.value === !1)
502
502
  return !0;
503
- const k = ++l, y = e.value !== !0 ? () => {
503
+ const k = ++l, v = e.value !== !0 ? () => {
504
504
  s.value = !0;
505
505
  } : () => {
506
506
  }, x = (E, T) => {
507
- E === !0 && y(), r.value = E, o.value = T || null, e.value = !1;
507
+ E === !0 && v(), r.value = E, o.value = T || null, e.value = !1;
508
508
  }, C = [];
509
509
  for (let E = 0; E < t.rules.length; E++) {
510
510
  const T = t.rules[E];
511
511
  let H;
512
- if (typeof T == "function" ? H = T(v, da) : typeof T == "string" && da[T] !== void 0 && (H = da[T](v)), H === !1 || typeof H == "string")
512
+ if (typeof T == "function" ? H = T(y, da) : typeof T == "string" && da[T] !== void 0 && (H = da[T](y)), H === !1 || typeof H == "string")
513
513
  return x(!0, H), !1;
514
514
  H !== !0 && H !== void 0 && C.push(H);
515
515
  }
@@ -734,11 +734,11 @@ function mc(i) {
734
734
  () => e.bottomSlots === !0 || e.hint !== void 0 || u.value === !0 || e.counter === !0 || e.error !== null
735
735
  ), p = b(() => e.filled === !0 ? "filled" : e.outlined === !0 ? "outlined" : e.borderless === !0 ? "borderless" : e.standout ? "standout" : "standard"), g = b(
736
736
  () => `q-field row no-wrap items-start q-field--${p.value}` + (i.fieldClass !== void 0 ? ` ${i.fieldClass.value}` : "") + (e.rounded === !0 ? " q-field--rounded" : "") + (e.square === !0 ? " q-field--square" : "") + (d.value === !0 ? " q-field--float" : "") + (k.value === !0 ? " q-field--labeled" : "") + (e.dense === !0 ? " q-field--dense" : "") + (e.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (i.isDark.value === !0 ? " q-field--dark" : "") + (i.getControl === void 0 ? " q-field--auto-height" : "") + (i.focused.value === !0 ? " q-field--focused" : "") + (c.value === !0 ? " q-field--error" : "") + (c.value === !0 || i.focused.value === !0 ? " q-field--highlighted" : "") + (e.hideBottomSpace !== !0 && m.value === !0 ? " q-field--with-bottom" : "") + (e.disable === !0 ? " q-field--disabled" : e.readonly === !0 ? " q-field--readonly" : "")
737
- ), v = b(
737
+ ), y = b(
738
738
  () => "q-field__control relative-position row no-wrap" + (e.bgColor !== void 0 ? ` bg-${e.bgColor}` : "") + (c.value === !0 ? " text-negative" : typeof e.standout == "string" && e.standout.length !== 0 && i.focused.value === !0 ? ` ${e.standout}` : e.color !== void 0 ? ` text-${e.color}` : "")
739
739
  ), k = b(
740
740
  () => e.labelSlot === !0 || e.label !== void 0
741
- ), y = b(
741
+ ), v = b(
742
742
  () => "q-field__label no-pointer-events absolute ellipsis" + (e.labelColor !== void 0 && c.value !== !0 ? ` text-${e.labelColor}` : "")
743
743
  ), x = b(() => ({
744
744
  id: i.targetUid.value,
@@ -839,7 +839,7 @@ function mc(i) {
839
839
  i.getShadowControl()
840
840
  ), k.value === !0 && q.push(
841
841
  A("div", {
842
- class: y.value
842
+ class: v.value
843
843
  }, qt(n.label, e.label))
844
844
  ), i.getControl !== void 0 ? q.push(i.getControl()) : n.rawControl !== void 0 ? q.push(n.rawControl()) : n.control !== void 0 && q.push(
845
845
  A("div", {
@@ -913,7 +913,7 @@ function mc(i) {
913
913
  }, [
914
914
  A("div", {
915
915
  ref: i.controlRef,
916
- class: v.value,
916
+ class: y.value,
917
917
  tabindex: -1,
918
918
  ...i.controlEvents
919
919
  }, O()),
@@ -990,15 +990,15 @@ function Ry(i, e, t, n) {
990
990
  }
991
991
  ve(() => i.type + i.autogrow, g), ve(() => i.mask, (B) => {
992
992
  if (B !== void 0)
993
- v(f.value, !0);
993
+ y(f.value, !0);
994
994
  else {
995
995
  const D = H(f.value);
996
996
  g(), i.modelValue !== D && e("update:modelValue", D);
997
997
  }
998
998
  }), ve(() => i.fillMask + i.reverseFillMask, () => {
999
- h.value === !0 && v(f.value, !0);
999
+ h.value === !0 && y(f.value, !0);
1000
1000
  }), ve(() => i.unmaskedValue, () => {
1001
- h.value === !0 && v(f.value);
1001
+ h.value === !0 && y(f.value);
1002
1002
  });
1003
1003
  function m() {
1004
1004
  if (g(), h.value === !0) {
@@ -1055,7 +1055,7 @@ function Ry(i, e, t, n) {
1055
1055
  return U.length !== 0 ? U.join("") : w;
1056
1056
  }, r = F.map((w) => typeof w == "string" ? w : yt).join(""), o = r.split(yt).join(D);
1057
1057
  }
1058
- function v(B, D, R) {
1058
+ function y(B, D, R) {
1059
1059
  const O = n.value, P = O.selectionEnd, F = O.value.length - P, Y = H(B);
1060
1060
  D === !0 && g();
1061
1061
  const M = E(Y, D), q = i.fillMask !== !1 ? V(M) : M, z = f.value !== q;
@@ -1070,7 +1070,7 @@ function Ry(i, e, t, n) {
1070
1070
  let w = P - 1;
1071
1071
  for (let N = a; N <= w && N < I; N++)
1072
1072
  r[N] !== yt && w++;
1073
- y.right(O, w);
1073
+ v.right(O, w);
1074
1074
  return;
1075
1075
  }
1076
1076
  if (["deleteContentBackward", "deleteContentForward"].indexOf(R) !== -1) {
@@ -1081,17 +1081,17 @@ function Ry(i, e, t, n) {
1081
1081
  if (i.reverseFillMask === !0)
1082
1082
  if (z === !0) {
1083
1083
  const I = Math.max(0, q.length - (q === o ? 0 : Math.min(M.length, F + 1)));
1084
- I === 1 && P === 1 ? O.setSelectionRange(I, I, "forward") : y.rightReverse(O, I);
1084
+ I === 1 && P === 1 ? O.setSelectionRange(I, I, "forward") : v.rightReverse(O, I);
1085
1085
  } else {
1086
1086
  const I = q.length - F;
1087
1087
  O.setSelectionRange(I, I, "backward");
1088
1088
  }
1089
1089
  else if (z === !0) {
1090
1090
  const I = Math.max(0, r.indexOf(yt), Math.min(M.length, P) - 1);
1091
- y.right(O, I);
1091
+ v.right(O, I);
1092
1092
  } else {
1093
1093
  const I = P - 1;
1094
- y.right(O, I);
1094
+ v.right(O, I);
1095
1095
  }
1096
1096
  });
1097
1097
  const ne = i.unmaskedValue === !0 ? H(q) : q;
@@ -1101,7 +1101,7 @@ function Ry(i, e, t, n) {
1101
1101
  const O = E(H(B.value));
1102
1102
  D = Math.max(0, r.indexOf(yt), Math.min(O.length, D)), a = D, B.setSelectionRange(D, R, "forward");
1103
1103
  }
1104
- const y = {
1104
+ const v = {
1105
1105
  left(B, D) {
1106
1106
  const R = r.slice(D - 1).indexOf(yt) === -1;
1107
1107
  let O = Math.max(0, D - 1);
@@ -1111,7 +1111,7 @@ function Ry(i, e, t, n) {
1111
1111
  break;
1112
1112
  }
1113
1113
  if (O < 0 && r[D] !== void 0 && r[D] !== yt)
1114
- return y.right(B, 0);
1114
+ return v.right(B, 0);
1115
1115
  D >= 0 && B.setSelectionRange(D, D, "backward");
1116
1116
  },
1117
1117
  right(B, D) {
@@ -1123,7 +1123,7 @@ function Ry(i, e, t, n) {
1123
1123
  break;
1124
1124
  } else r[O - 1] === yt && (D = O);
1125
1125
  if (O > R && r[D - 1] !== void 0 && r[D - 1] !== yt)
1126
- return y.left(B, R);
1126
+ return v.left(B, R);
1127
1127
  B.setSelectionRange(D, D, "forward");
1128
1128
  },
1129
1129
  leftReverse(B, D) {
@@ -1136,7 +1136,7 @@ function Ry(i, e, t, n) {
1136
1136
  } else if (R[O] === yt && (D = O, O === 0))
1137
1137
  break;
1138
1138
  if (O < 0 && R[D] !== void 0 && R[D] !== yt)
1139
- return y.rightReverse(B, 0);
1139
+ return v.rightReverse(B, 0);
1140
1140
  D >= 0 && B.setSelectionRange(D, D, "backward");
1141
1141
  },
1142
1142
  rightReverse(B, D) {
@@ -1148,7 +1148,7 @@ function Ry(i, e, t, n) {
1148
1148
  break;
1149
1149
  }
1150
1150
  if (F > R && O[D - 1] !== void 0 && O[D - 1] !== yt)
1151
- return y.leftReverse(B, R);
1151
+ return v.leftReverse(B, R);
1152
1152
  B.setSelectionRange(D, D, "forward");
1153
1153
  }
1154
1154
  };
@@ -1160,12 +1160,12 @@ function Ry(i, e, t, n) {
1160
1160
  const D = n.value, R = D.selectionStart, O = D.selectionEnd;
1161
1161
  if (B.shiftKey || (u = void 0), B.keyCode === 37 || B.keyCode === 39) {
1162
1162
  B.shiftKey && u === void 0 && (u = D.selectionDirection === "forward" ? R : O);
1163
- const P = y[(B.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1163
+ const P = v[(B.keyCode === 39 ? "right" : "left") + (i.reverseFillMask === !0 ? "Reverse" : "")];
1164
1164
  if (B.preventDefault(), P(D, u === R ? O : R), B.shiftKey) {
1165
1165
  const F = D.selectionStart;
1166
1166
  D.setSelectionRange(Math.min(u, F), Math.max(u, F), "forward");
1167
1167
  }
1168
- } else B.keyCode === 8 && i.reverseFillMask !== !0 && R === O ? (y.left(D, R), D.setSelectionRange(D.selectionStart, O, "backward")) : B.keyCode === 46 && i.reverseFillMask === !0 && R === O && (y.rightReverse(D, O), D.setSelectionRange(R, D.selectionEnd, "forward"));
1168
+ } else B.keyCode === 8 && i.reverseFillMask !== !0 && R === O ? (v.left(D, R), D.setSelectionRange(D.selectionStart, O, "backward")) : B.keyCode === 46 && i.reverseFillMask === !0 && R === O && (v.rightReverse(D, O), D.setSelectionRange(R, D.selectionEnd, "forward"));
1169
1169
  }
1170
1170
  function E(B, D) {
1171
1171
  if (B == null || B === "")
@@ -1212,7 +1212,7 @@ function Ry(i, e, t, n) {
1212
1212
  innerValue: f,
1213
1213
  hasMask: h,
1214
1214
  moveCursorForPaste: k,
1215
- updateMaskValue: v,
1215
+ updateMaskValue: y,
1216
1216
  onMaskedKeydown: C,
1217
1217
  onMaskedClick: x
1218
1218
  };
@@ -1306,9 +1306,9 @@ const cr = Je({
1306
1306
  hasMask: m,
1307
1307
  moveCursorForPaste: p,
1308
1308
  updateMaskValue: g,
1309
- onMaskedKeydown: v,
1309
+ onMaskedKeydown: y,
1310
1310
  onMaskedClick: k
1311
- } = Ry(i, e, Y, h), y = Ey(
1311
+ } = Ry(i, e, Y, h), v = Ey(
1312
1312
  i
1313
1313
  ), x = b(() => So(d.value)), C = _m(P), E = dc({ changeEvent: !0 }), T = b(
1314
1314
  () => i.type === "textarea" || i.autogrow === !0
@@ -1327,7 +1327,7 @@ const cr = Je({
1327
1327
  onBlur: z,
1328
1328
  onFocus: di
1329
1329
  };
1330
- return w.onCompositionstart = w.onCompositionupdate = w.onCompositionend = C, m.value === !0 && (w.onKeydown = v, w.onClick = k), i.autogrow === !0 && (w.onAnimationend = F), w;
1330
+ return w.onCompositionstart = w.onCompositionupdate = w.onCompositionend = C, m.value === !0 && (w.onKeydown = y, w.onClick = k), i.autogrow === !0 && (w.onAnimationend = F), w;
1331
1331
  }), B = b(() => {
1332
1332
  const w = {
1333
1333
  tabindex: 0,
@@ -1452,7 +1452,7 @@ const cr = Je({
1452
1452
  style: i.inputStyle,
1453
1453
  ...B.value,
1454
1454
  ...V.value,
1455
- ...i.type !== "file" ? { value: ne() } : y.value
1455
+ ...i.type !== "file" ? { value: ne() } : v.value
1456
1456
  }),
1457
1457
  getShadowControl: () => A("div", {
1458
1458
  class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (T.value === !0 ? "" : " text-no-wrap")
@@ -1516,11 +1516,11 @@ function Ut(i, e, t = {}) {
1516
1516
  f == null ? void 0 : f.componentDefaults,
1517
1517
  r
1518
1518
  )), p = b(() => {
1519
- const v = o ?? (r === "input" || r === "select" || r === "datetime" ? r : void 0);
1520
- return v ? zy(
1519
+ const y = o ?? (r === "input" || r === "select" || r === "datetime" ? r : void 0);
1520
+ return y ? zy(
1521
1521
  e,
1522
1522
  f == null ? void 0 : f.quickformsDefaults,
1523
- v
1523
+ y
1524
1524
  ) : {};
1525
1525
  }), g = b(() => Hy(f == null ? void 0 : f.componentDefaults));
1526
1526
  return {
@@ -1565,9 +1565,9 @@ const jy = /* @__PURE__ */ Pt({
1565
1565
  }), h = J(!1), f = b(() => t.schema.format === "email" ? "email" : t.schema.format === "url" || t.schema.format === "uri" ? "url" : t.schema.format === "password" ? h.value ? "text" : "password" : t.schema.format === "textarea" ? "textarea" : "text"), d = b(() => t.schema.format === "textarea" || t.schema.maxLength && t.schema.maxLength > 200), m = b(() => t.schema.format === "password"), p = b(() => ({
1566
1566
  color: u.value.iconColor || "grey-7",
1567
1567
  size: u.value.iconSize || "sm"
1568
- })), g = b(() => !!u.value.prependIcon), v = b(
1568
+ })), g = b(() => !!u.value.prependIcon), y = b(
1569
1569
  () => !m.value && !!u.value.appendIcon
1570
- ), k = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, quickformsFeatures: u, fieldGap: c, isPasswordVisible: h, inputType: f, isTextarea: d, isPasswordField: m, iconConfig: p, showPrependIcon: g, showAppendIcon: v, get QInput() {
1570
+ ), k = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, quickformsFeatures: u, fieldGap: c, isPasswordVisible: h, inputType: f, isTextarea: d, isPasswordField: m, iconConfig: p, showPrependIcon: g, showAppendIcon: y, get QInput() {
1571
1571
  return cr;
1572
1572
  }, get QIcon() {
1573
1573
  return kt;
@@ -1796,9 +1796,9 @@ function Xy(i, e) {
1796
1796
  return f.value === !0 ? t.modelValue.findIndex((O) => Wn(O) === R) : -1;
1797
1797
  }), m = b(() => f.value === !0 ? d.value !== -1 : Wn(t.modelValue) === Wn(t.trueValue)), p = b(() => f.value === !0 ? d.value === -1 : Wn(t.modelValue) === Wn(t.falseValue)), g = b(
1798
1798
  () => m.value === !1 && p.value === !1
1799
- ), v = b(() => t.disable === !0 ? -1 : t.tabindex || 0), k = b(
1799
+ ), y = b(() => t.disable === !0 ? -1 : t.tabindex || 0), k = b(
1800
1800
  () => `q-${i} cursor-pointer no-outline row inline no-wrap items-center` + (t.disable === !0 ? " disabled" : "") + (l.value === !0 ? ` q-${i}--dark` : "") + (t.dense === !0 ? ` q-${i}--dense` : "") + (t.leftLabel === !0 ? " reverse" : "")
1801
- ), y = b(() => {
1801
+ ), v = b(() => {
1802
1802
  const R = m.value === !0 ? "truthy" : p.value === !0 ? "falsy" : "indet", O = t.color !== void 0 && (t.keepColor === !0 || p.value !== !0) ? ` text-${t.color}` : "";
1803
1803
  return `q-${i}__inner relative-position non-selectable q-${i}__inner--${R}${O}`;
1804
1804
  }), x = b(() => {
@@ -1812,7 +1812,7 @@ function Xy(i, e) {
1812
1812
  }), R;
1813
1813
  }), C = gc(x), E = b(() => {
1814
1814
  const R = {
1815
- tabindex: v.value,
1815
+ tabindex: y.value,
1816
1816
  role: "checkbox",
1817
1817
  "aria-label": t.label,
1818
1818
  "aria-checked": g.value === !0 ? "mixed" : m.value === !0 ? "true" : "false"
@@ -1856,7 +1856,7 @@ function Xy(i, e) {
1856
1856
  );
1857
1857
  const O = [
1858
1858
  A("div", {
1859
- class: y.value,
1859
+ class: v.value,
1860
1860
  style: h.value,
1861
1861
  "aria-hidden": "true"
1862
1862
  }, R)
@@ -2060,21 +2060,21 @@ function Oh(i, e, t, n) {
2060
2060
  const r = t.modifiers.color;
2061
2061
  let o = t.modifiers.center;
2062
2062
  o = o === !0 || n === !0;
2063
- const s = document.createElement("span"), l = document.createElement("span"), a = Lr(i), { left: u, top: c, width: h, height: f } = e.getBoundingClientRect(), d = Math.sqrt(h * h + f * f), m = d / 2, p = `${(h - d) / 2}px`, g = o ? p : `${a.left - u - m}px`, v = `${(f - d) / 2}px`, k = o ? v : `${a.top - c - m}px`;
2063
+ const s = document.createElement("span"), l = document.createElement("span"), a = Lr(i), { left: u, top: c, width: h, height: f } = e.getBoundingClientRect(), d = Math.sqrt(h * h + f * f), m = d / 2, p = `${(h - d) / 2}px`, g = o ? p : `${a.left - u - m}px`, y = `${(f - d) / 2}px`, k = o ? y : `${a.top - c - m}px`;
2064
2064
  l.className = "q-ripple__inner", ru(l, {
2065
2065
  height: `${d}px`,
2066
2066
  width: `${d}px`,
2067
2067
  transform: `translate3d(${g},${k},0) scale3d(.2,.2,1)`,
2068
2068
  opacity: 0
2069
2069
  }), s.className = `q-ripple${r ? " text-" + r : ""}`, s.setAttribute("dir", "ltr"), s.appendChild(l), e.appendChild(s);
2070
- const y = () => {
2070
+ const v = () => {
2071
2071
  s.remove(), clearTimeout(x);
2072
2072
  };
2073
- t.abort.push(y);
2073
+ t.abort.push(v);
2074
2074
  let x = setTimeout(() => {
2075
- l.classList.add("q-ripple__inner--enter"), l.style.transform = `translate3d(${p},${v},0) scale3d(1,1,1)`, l.style.opacity = 0.2, x = setTimeout(() => {
2075
+ l.classList.add("q-ripple__inner--enter"), l.style.transform = `translate3d(${p},${y},0) scale3d(1,1,1)`, l.style.opacity = 0.2, x = setTimeout(() => {
2076
2076
  l.classList.remove("q-ripple__inner--enter"), l.classList.add("q-ripple__inner--leave"), l.style.opacity = 0, x = setTimeout(() => {
2077
- s.remove(), t.abort.splice(t.abort.indexOf(y), 1);
2077
+ s.remove(), t.abort.splice(t.abort.indexOf(v), 1);
2078
2078
  }, 275);
2079
2079
  }, 250);
2080
2080
  }, 50);
@@ -2174,13 +2174,13 @@ const pc = cc(
2174
2174
  const g = i.outline === !0 && i.color || i.textColor;
2175
2175
  return "q-chip row inline no-wrap items-center" + (i.outline === !1 && i.color !== void 0 ? ` bg-${i.color}` : "") + (g ? ` text-${g} q-chip--colored` : "") + (i.disable === !0 ? " disabled" : "") + (i.dense === !0 ? " q-chip--dense" : "") + (i.outline === !0 ? " q-chip--outline" : "") + (i.selected === !0 ? " q-chip--selected" : "") + (u.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (i.square === !0 ? " q-chip--square" : "") + (r.value === !0 ? " q-chip--dark q-dark" : "");
2176
2176
  }), h = b(() => {
2177
- const g = i.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: i.tabindex || 0 }, v = {
2177
+ const g = i.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: i.tabindex || 0 }, y = {
2178
2178
  ...g,
2179
2179
  role: "button",
2180
2180
  "aria-hidden": "false",
2181
2181
  "aria-label": i.removeAriaLabel || n.lang.label.remove
2182
2182
  };
2183
- return { chip: g, remove: v };
2183
+ return { chip: g, remove: y };
2184
2184
  });
2185
2185
  function f(g) {
2186
2186
  g.keyCode === 13 && d(g);
@@ -2201,11 +2201,11 @@ const pc = cc(
2201
2201
  name: l.value
2202
2202
  })
2203
2203
  );
2204
- const v = i.label !== void 0 ? [A("div", { class: "ellipsis" }, [i.label])] : void 0;
2204
+ const y = i.label !== void 0 ? [A("div", { class: "ellipsis" }, [i.label])] : void 0;
2205
2205
  return g.push(
2206
2206
  A("div", {
2207
2207
  class: "q-chip__content col row no-wrap items-center q-anchor--skip"
2208
- }, iy(e.default, v))
2208
+ }, iy(e.default, y))
2209
2209
  ), i.iconRight && g.push(
2210
2210
  A(kt, {
2211
2211
  class: "q-chip__icon q-chip__icon--right",
@@ -2347,7 +2347,7 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2347
2347
  () => c.value === !0 && m.value !== -1 && ub(r.$route.params, u.value.params)
2348
2348
  ), g = b(
2349
2349
  () => p.value === !0 && m.value === r.$route.matched.length - 1 && hb(r.$route.params, u.value.params)
2350
- ), v = b(() => c.value === !0 ? g.value === !0 ? ` ${n.exactActiveClass} ${n.activeClass}` : n.exact === !0 ? "" : p.value === !0 ? ` ${n.activeClass}` : "" : "");
2350
+ ), y = b(() => c.value === !0 ? g.value === !0 ? ` ${n.exactActiveClass} ${n.activeClass}` : n.exact === !0 ? "" : p.value === !0 ? ` ${n.activeClass}` : "" : "");
2351
2351
  function k(C) {
2352
2352
  try {
2353
2353
  return r.$router.resolve(C);
@@ -2355,7 +2355,7 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2355
2355
  }
2356
2356
  return null;
2357
2357
  }
2358
- function y(C, { returnRouterError: E, to: T = n.to, replace: H = n.replace } = {}) {
2358
+ function v(C, { returnRouterError: E, to: T = n.to, replace: H = n.replace } = {}) {
2359
2359
  if (n.disable === !0)
2360
2360
  return C.preventDefault(), Promise.resolve(!1);
2361
2361
  if (
@@ -2372,7 +2372,7 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2372
2372
  }
2373
2373
  function x(C) {
2374
2374
  if (c.value === !0) {
2375
- const E = (T) => y(C, T);
2375
+ const E = (T) => v(C, T);
2376
2376
  o("click", C, E), C.defaultPrevented !== !0 && E();
2377
2377
  } else
2378
2378
  o("click", C);
@@ -2385,10 +2385,10 @@ function Fm({ fallbackTag: i, useDisableForRouterLinkProps: e = !0 } = {}) {
2385
2385
  resolvedLink: u,
2386
2386
  linkIsActive: p,
2387
2387
  linkIsExactActive: g,
2388
- linkClass: v,
2388
+ linkClass: y,
2389
2389
  linkAttrs: d,
2390
2390
  getLink: k,
2391
- navigateToRouterLink: y,
2391
+ navigateToRouterLink: v,
2392
2392
  navigateOnClick: x
2393
2393
  };
2394
2394
  }
@@ -2423,35 +2423,35 @@ const Zs = Je({
2423
2423
  ), p = b(() => i.insetLevel === void 0 ? null : {
2424
2424
  ["padding" + (n.lang.rtl === !0 ? "Right" : "Left")]: 16 + i.insetLevel * 56 + "px"
2425
2425
  });
2426
- function g(y) {
2427
- d.value === !0 && (h.value !== null && y.qAvoidFocus !== !0 && (y.qKeyEvent !== !0 && document.activeElement === c.value ? h.value.focus() : document.activeElement === h.value && c.value.focus()), u(y));
2426
+ function g(v) {
2427
+ d.value === !0 && (h.value !== null && v.qAvoidFocus !== !0 && (v.qKeyEvent !== !0 && document.activeElement === c.value ? h.value.focus() : document.activeElement === h.value && c.value.focus()), u(v));
2428
2428
  }
2429
- function v(y) {
2430
- if (d.value === !0 && cn(y, [13, 32]) === !0) {
2431
- ct(y), y.qKeyEvent = !0;
2432
- const x = new MouseEvent("click", y);
2429
+ function y(v) {
2430
+ if (d.value === !0 && cn(v, [13, 32]) === !0) {
2431
+ ct(v), v.qKeyEvent = !0;
2432
+ const x = new MouseEvent("click", v);
2433
2433
  x.qKeyEvent = !0, c.value.dispatchEvent(x);
2434
2434
  }
2435
- t("keyup", y);
2435
+ t("keyup", v);
2436
2436
  }
2437
2437
  function k() {
2438
- const y = ty(e.default, []);
2439
- return d.value === !0 && y.unshift(
2438
+ const v = ty(e.default, []);
2439
+ return d.value === !0 && v.unshift(
2440
2440
  A("div", { class: "q-focus-helper", tabindex: -1, ref: h })
2441
- ), y;
2441
+ ), v;
2442
2442
  }
2443
2443
  return () => {
2444
- const y = {
2444
+ const v = {
2445
2445
  ref: c,
2446
2446
  class: m.value,
2447
2447
  style: p.value,
2448
2448
  role: "listitem",
2449
2449
  onClick: g,
2450
- onKeyup: v
2450
+ onKeyup: y
2451
2451
  };
2452
- return d.value === !0 ? (y.tabindex = i.tabindex || "0", Object.assign(y, s.value)) : f.value === !0 && (y["aria-disabled"] = "true"), A(
2452
+ return d.value === !0 ? (v.tabindex = i.tabindex || "0", Object.assign(v, s.value)) : f.value === !0 && (v["aria-disabled"] = "true"), A(
2453
2453
  a.value,
2454
- y,
2454
+ v,
2455
2455
  k()
2456
2456
  );
2457
2457
  };
@@ -2660,20 +2660,20 @@ function jl({
2660
2660
  }
2661
2661
  function f(k) {
2662
2662
  if (l.disable === !0 || (k == null ? void 0 : k.qAnchorHandled) === !0 || e !== void 0 && e(k) !== !0) return;
2663
- const y = l["onUpdate:modelValue"] !== void 0;
2664
- y === !0 && (a("update:modelValue", !0), c = k, rt(() => {
2663
+ const v = l["onUpdate:modelValue"] !== void 0;
2664
+ v === !0 && (a("update:modelValue", !0), c = k, rt(() => {
2665
2665
  c === k && (c = void 0);
2666
- })), (l.modelValue === null || y === !1) && d(k);
2666
+ })), (l.modelValue === null || v === !1) && d(k);
2667
2667
  }
2668
2668
  function d(k) {
2669
2669
  i.value !== !0 && (i.value = !0, a("beforeShow", k), n !== void 0 ? n(k) : a("show", k));
2670
2670
  }
2671
2671
  function m(k) {
2672
2672
  if (l.disable === !0) return;
2673
- const y = l["onUpdate:modelValue"] !== void 0;
2674
- y === !0 && (a("update:modelValue", !1), c = k, rt(() => {
2673
+ const v = l["onUpdate:modelValue"] !== void 0;
2674
+ v === !0 && (a("update:modelValue", !1), c = k, rt(() => {
2675
2675
  c === k && (c = void 0);
2676
- })), (l.modelValue === null || y === !1) && p(k);
2676
+ })), (l.modelValue === null || v === !1) && p(k);
2677
2677
  }
2678
2678
  function p(k) {
2679
2679
  i.value !== !1 && (i.value = !1, a("beforeHide", k), r !== void 0 ? r(k) : a("hide", k));
@@ -2686,8 +2686,8 @@ function jl({
2686
2686
  }), o === !0 && Mi(() => {
2687
2687
  g(l.modelValue);
2688
2688
  });
2689
- const v = { show: f, hide: m, toggle: h };
2690
- return Object.assign(u, v), v;
2689
+ const y = { show: f, hide: m, toggle: h };
2690
+ return Object.assign(u, y), y;
2691
2691
  }
2692
2692
  const _h = {};
2693
2693
  let fb = 1, db = document.body;
@@ -3042,10 +3042,10 @@ function wc(i, e = 0) {
3042
3042
  maxHeight: c,
3043
3043
  visibility: "visible"
3044
3044
  });
3045
- const { offsetWidth: p, offsetHeight: g } = t, { elWidth: v, elHeight: k } = a === !0 || u === !0 ? { elWidth: Math.max(m.width, p), elHeight: u === !0 ? Math.max(m.height, g) : g } : { elWidth: p, elHeight: g };
3046
- let y = { maxWidth: h, maxHeight: c };
3047
- (a === !0 || u === !0) && (y.minWidth = m.width + "px", u === !0 && (y.minHeight = m.height + "px")), Object.assign(t.style, y);
3048
- const x = qb(v, k);
3045
+ const { offsetWidth: p, offsetHeight: g } = t, { elWidth: y, elHeight: k } = a === !0 || u === !0 ? { elWidth: Math.max(m.width, p), elHeight: u === !0 ? Math.max(m.height, g) : g } : { elWidth: p, elHeight: g };
3046
+ let v = { maxWidth: h, maxHeight: c };
3047
+ (a === !0 || u === !0) && (v.minWidth = m.width + "px", u === !0 && (v.minHeight = m.height + "px")), Object.assign(t.style, v);
3048
+ const x = qb(y, k);
3049
3049
  let C = Eh(m, x, o, s);
3050
3050
  if (l === void 0 || n === void 0)
3051
3051
  ga(C, m, x, o, s);
@@ -3065,10 +3065,10 @@ function wc(i, e = 0) {
3065
3065
  }
3066
3066
  H === !0 && (C = Eh(m, x, o, s), ga(C, m, x, o, s));
3067
3067
  }
3068
- y = {
3068
+ v = {
3069
3069
  top: C.top + "px",
3070
3070
  left: C.left + "px"
3071
- }, C.maxHeight !== void 0 && (y.maxHeight = C.maxHeight + "px", m.height > C.maxHeight && (y.minHeight = y.maxHeight)), C.maxWidth !== void 0 && (y.maxWidth = C.maxWidth + "px", m.width > C.maxWidth && (y.minWidth = y.maxWidth)), Object.assign(t.style, y), t.scrollTop !== d && (t.scrollTop = d), t.scrollLeft !== f && (t.scrollLeft = f);
3071
+ }, C.maxHeight !== void 0 && (v.maxHeight = C.maxHeight + "px", m.height > C.maxHeight && (v.minHeight = v.maxHeight)), C.maxWidth !== void 0 && (v.maxWidth = C.maxWidth + "px", m.width > C.maxWidth && (v.minWidth = v.maxWidth)), Object.assign(t.style, v), t.scrollTop !== d && (t.scrollTop = d), t.scrollLeft !== f && (t.scrollLeft = f);
3072
3072
  }
3073
3073
  function ga(i, e, t, n, r) {
3074
3074
  const o = t.bottom, s = t.right, l = Sb(), a = window.innerHeight - l, u = document.body.clientWidth;
@@ -3151,7 +3151,7 @@ const $m = Je({
3151
3151
  let r = null, o, s, l;
3152
3152
  const a = je(), { proxy: u } = a, { $q: c } = u, h = J(null), f = J(!1), d = b(
3153
3153
  () => i.persistent !== !0 && i.noRouteDismiss !== !0
3154
- ), m = Zi(i, c), { registerTick: p, removeTick: g } = Or(), { registerTimeout: v } = Co(), { transitionProps: k, transitionStyle: y } = kc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: E } = zm(i, N), { anchorEl: T, canShow: H } = bc({ showing: f }), { hide: V } = jl({
3154
+ ), m = Zi(i, c), { registerTick: p, removeTick: g } = Or(), { registerTimeout: y } = Co(), { transitionProps: k, transitionStyle: v } = kc(i), { localScrollTarget: x, changeScrollEvent: C, unconfigureScrollTarget: E } = zm(i, N), { anchorEl: T, canShow: H } = bc({ showing: f }), { hide: V } = jl({
3155
3155
  showing: f,
3156
3156
  canShow: H,
3157
3157
  handleShow: ne,
@@ -3198,13 +3198,13 @@ const $m = Je({
3198
3198
  le
3199
3199
  )), i.noFocus !== !0 && document.activeElement.blur(), p(() => {
3200
3200
  le(), i.noFocus !== !0 && z();
3201
- }), v(() => {
3201
+ }), y(() => {
3202
3202
  c.platform.is.ios === !0 && (l = i.autoClose, h.value.click()), le(), B(!0), t("show", Z);
3203
3203
  }, i.transitionDuration);
3204
3204
  }
3205
3205
  function I(Z) {
3206
3206
  g(), D(), w(!0), r !== null && // menu was hidden from code or ESC plugin
3207
- (Z === void 0 || Z.qClickOutside !== !0) && ((((Z == null ? void 0 : Z.type.indexOf("key")) === 0 ? r.closest('[tabindex]:not([tabindex^="-"])') : void 0) || r).focus(), r = null), v(() => {
3207
+ (Z === void 0 || Z.qClickOutside !== !0) && ((((Z == null ? void 0 : Z.type.indexOf("key")) === 0 ? r.closest('[tabindex]:not([tabindex^="-"])') : void 0) || r).focus(), r = null), y(() => {
3208
3208
  D(!0), t("hide", Z);
3209
3209
  }, i.transitionDuration);
3210
3210
  }
@@ -3252,7 +3252,7 @@ const $m = Je({
3252
3252
  ],
3253
3253
  style: [
3254
3254
  n.style,
3255
- y.value
3255
+ v.value
3256
3256
  ],
3257
3257
  ...M.value
3258
3258
  }, qt(e.default)) : null
@@ -3387,11 +3387,11 @@ const Lb = {
3387
3387
  let a = null, u = null, c, h;
3388
3388
  const f = b(
3389
3389
  () => i.persistent !== !0 && i.noRouteDismiss !== !0 && i.seamless !== !0
3390
- ), { preventBodyScroll: d } = Eb(), { registerTimeout: m } = Co(), { registerTick: p, removeTick: g } = Or(), { transitionProps: v, transitionStyle: k } = kc(
3390
+ ), { preventBodyScroll: d } = Eb(), { registerTimeout: m } = Co(), { registerTick: p, removeTick: g } = Or(), { transitionProps: y, transitionStyle: k } = kc(
3391
3391
  i,
3392
3392
  () => Hh[i.position][0],
3393
3393
  () => Hh[i.position][1]
3394
- ), y = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: E, renderPortal: T } = xc(
3394
+ ), v = b(() => k.value + (i.backdropFilter !== void 0 ? `;backdrop-filter:${i.backdropFilter};-webkit-backdrop-filter:${i.backdropFilter}` : "")), { showPortal: x, hidePortal: C, portalIsAccessible: E, renderPortal: T } = xc(
3395
3395
  r,
3396
3396
  o,
3397
3397
  N,
@@ -3497,14 +3497,14 @@ const Lb = {
3497
3497
  appear: !0
3498
3498
  }, () => B.value === !0 ? A("div", {
3499
3499
  class: "q-dialog__backdrop fixed-full",
3500
- style: y.value,
3500
+ style: v.value,
3501
3501
  "aria-hidden": "true",
3502
3502
  tabindex: -1,
3503
3503
  onClick: I
3504
3504
  }) : null),
3505
3505
  A(
3506
3506
  mi,
3507
- v.value,
3507
+ y.value,
3508
3508
  () => s.value === !0 ? A("div", {
3509
3509
  ref: o,
3510
3510
  class: V.value,
@@ -3624,7 +3624,7 @@ function Nb({
3624
3624
  }) {
3625
3625
  const r = je(), { props: o, emit: s, proxy: l } = r, { $q: a } = l;
3626
3626
  let u, c, h, f = [], d;
3627
- const m = J(0), p = J(0), g = J({}), v = J(null), k = J(null), y = J(null), x = J({ from: 0, to: 0 }), C = b(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3627
+ const m = J(0), p = J(0), g = J({}), y = J(null), k = J(null), v = J(null), x = J({ from: 0, to: 0 }), C = b(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3628
3628
  n === void 0 && (n = b(() => o.virtualScrollItemSize));
3629
3629
  const E = b(() => n.value + ";" + o.virtualScrollHorizontal), T = b(
3630
3630
  () => E.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
@@ -3644,7 +3644,7 @@ function Nb({
3644
3644
  const U = ba(
3645
3645
  N,
3646
3646
  t(),
3647
- v.value,
3647
+ y.value,
3648
3648
  k.value,
3649
3649
  o.virtualScrollHorizontal,
3650
3650
  a.lang.rtl,
@@ -3665,7 +3665,7 @@ function Nb({
3665
3665
  const w = ba(
3666
3666
  I,
3667
3667
  t(),
3668
- v.value,
3668
+ y.value,
3669
3669
  k.value,
3670
3670
  o.virtualScrollHorizontal,
3671
3671
  a.lang.rtl,
@@ -3712,7 +3712,7 @@ function Nb({
3712
3712
  q(N);
3713
3713
  return;
3714
3714
  }
3715
- const { activeElement: Qe } = document, wt = y.value;
3715
+ const { activeElement: Qe } = document, wt = v.value;
3716
3716
  Ie === !0 && wt !== null && wt !== Qe && wt.contains(Qe) === !0 && (wt.addEventListener("focusout", P), setTimeout(() => {
3717
3717
  wt == null || wt.removeEventListener("focusout", P);
3718
3718
  })), Vb(wt, N - Z);
@@ -3741,7 +3741,7 @@ function Nb({
3741
3741
  });
3742
3742
  }
3743
3743
  function O(I) {
3744
- const w = y.value;
3744
+ const w = v.value;
3745
3745
  if (w) {
3746
3746
  const N = eg.call(
3747
3747
  w.children,
@@ -3757,7 +3757,7 @@ function Nb({
3757
3757
  }
3758
3758
  function P() {
3759
3759
  var I;
3760
- (I = y.value) == null || I.focus();
3760
+ (I = v.value) == null || I.focus();
3761
3761
  }
3762
3762
  function F(I, w) {
3763
3763
  const N = 1 * n.value;
@@ -3785,7 +3785,7 @@ function Nb({
3785
3785
  le != null && le.nodeType !== 8 && (I = ba(
3786
3786
  le,
3787
3787
  t(),
3788
- v.value,
3788
+ y.value,
3789
3789
  k.value,
3790
3790
  o.virtualScrollHorizontal,
3791
3791
  a.lang.rtl,
@@ -3815,7 +3815,7 @@ function Nb({
3815
3815
  I === "tbody" ? A(I, {
3816
3816
  class: "q-virtual-scroll__padding",
3817
3817
  key: "before",
3818
- ref: v
3818
+ ref: y
3819
3819
  }, [
3820
3820
  A("tr", [
3821
3821
  A("td", {
@@ -3826,13 +3826,13 @@ function Nb({
3826
3826
  ]) : A(I, {
3827
3827
  class: "q-virtual-scroll__padding",
3828
3828
  key: "before",
3829
- ref: v,
3829
+ ref: y,
3830
3830
  style: { [N]: `${m.value}px`, ...U }
3831
3831
  }),
3832
3832
  A(I, {
3833
3833
  class: "q-virtual-scroll__content",
3834
3834
  key: "content",
3835
- ref: y,
3835
+ ref: v,
3836
3836
  tabindex: -1
3837
3837
  }, w.flat()),
3838
3838
  I === "tbody" ? A(I, {
@@ -4075,7 +4075,7 @@ const Wo = Je({
4075
4075
  ],
4076
4076
  setup(i, { slots: e, emit: t }) {
4077
4077
  const { proxy: n } = je(), { $q: r } = n, o = J(!1), s = J(!1), l = J(-1), a = J(""), u = J(!1), c = J(!1);
4078
- let h = null, f = null, d, m, p, g = null, v, k, y, x;
4078
+ let h = null, f = null, d, m, p, g = null, y, k, v, x;
4079
4079
  const C = J(null), E = J(null), T = J(null), H = J(null), V = J(null), B = Pm(i), D = _m(fr), R = b(() => Array.isArray(i.options) ? i.options.length : 0), O = b(() => i.virtualScrollItemSize === void 0 ? i.optionsDense === !0 ? 24 : 48 : i.virtualScrollItemSize), {
4080
4080
  virtualScrollSliceRange: P,
4081
4081
  virtualScrollSliceSizeComputed: F,
@@ -4266,7 +4266,7 @@ const Wo = Je({
4266
4266
  );
4267
4267
  while (me !== -1 && me !== l.value && ye.value(i.options[me]) === !0);
4268
4268
  l.value !== me && (Q(me), z(me), he !== !0 && i.useInput === !0 && i.fillInput === !0 && Fn(
4269
- me >= 0 ? X.value(i.options[me]) : v,
4269
+ me >= 0 ? X.value(i.options[me]) : y,
4270
4270
  !0
4271
4271
  ));
4272
4272
  }
@@ -4333,11 +4333,11 @@ const Wo = Je({
4333
4333
  )
4334
4334
  ), $(_.keyCode === 33 ? 1 : -1, i.multiple)), (_.keyCode === 38 || _.keyCode === 40) && (ct(_), $(_.keyCode === 38 ? -1 : 1, i.multiple));
4335
4335
  const _e = R.value;
4336
- if ((y === void 0 || x < Date.now()) && (y = ""), _e > 0 && i.useInput !== !0 && _.key !== void 0 && _.key.length === 1 && _.altKey === !1 && _.ctrlKey === !1 && _.metaKey === !1 && (_.keyCode !== 32 || y.length !== 0)) {
4336
+ if ((v === void 0 || x < Date.now()) && (v = ""), _e > 0 && i.useInput !== !0 && _.key !== void 0 && _.key.length === 1 && _.altKey === !1 && _.ctrlKey === !1 && _.metaKey === !1 && (_.keyCode !== 32 || v.length !== 0)) {
4337
4337
  o.value !== !0 && Se(_);
4338
- const $e = _.key.toLocaleLowerCase(), mt = y.length === 1 && y[0] === $e;
4339
- x = Date.now() + 1500, mt === !1 && (ct(_), y += $e);
4340
- const Ze = new RegExp("^" + y.split("").map((dr) => zb.indexOf(dr) !== -1 ? "\\" + dr : dr).join(".*"), "i");
4338
+ const $e = _.key.toLocaleLowerCase(), mt = v.length === 1 && v[0] === $e;
4339
+ x = Date.now() + 1500, mt === !1 && (ct(_), v += $e);
4340
+ const Ze = new RegExp("^" + v.split("").map((dr) => zb.indexOf(dr) !== -1 ? "\\" + dr : dr).join(".*"), "i");
4341
4341
  let gt = l.value;
4342
4342
  if (mt === !0 || gt < 0 || Ze.test(X.value(i.options[gt])) !== !0)
4343
4343
  do
@@ -4348,7 +4348,7 @@ const Wo = Je({
4348
4348
  });
4349
4349
  return;
4350
4350
  }
4351
- if (!(_.keyCode !== 13 && (_.keyCode !== 32 || i.useInput === !0 || y !== "") && (_.keyCode !== 9 || me === !1))) {
4351
+ if (!(_.keyCode !== 13 && (_.keyCode !== 32 || i.useInput === !0 || v !== "") && (_.keyCode !== 9 || me === !1))) {
4352
4352
  if (_.keyCode !== 9 && ct(_), l.value !== -1 && l.value < _e) {
4353
4353
  ut(i.options[l.value]);
4354
4354
  return;
@@ -4433,7 +4433,7 @@ const Wo = Je({
4433
4433
  return _ !== !0 && m === !0 && (Array.isArray(_e.class) === !0 ? _e.class = [..._e.class, "no-pointer-events"] : _e.class += " no-pointer-events"), A("input", _e);
4434
4434
  }
4435
4435
  function fr(_) {
4436
- h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), !(_ && _.target && _.target.qComposing === !0) && (Fn(_.target.value || ""), p = !0, v = a.value, I.focused.value !== !0 && (m !== !0 || u.value === !0) && I.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
4436
+ h !== null && (clearTimeout(h), h = null), f !== null && (clearTimeout(f), f = null), !(_ && _.target && _.target.qComposing === !0) && (Fn(_.target.value || ""), p = !0, y = a.value, I.focused.value !== !0 && (m !== !0 || u.value === !0) && I.focus(), i.onFilter !== void 0 && (h = setTimeout(() => {
4437
4437
  h = null, Ii(a.value);
4438
4438
  }, i.inputDebounce)));
4439
4439
  }
@@ -4443,7 +4443,7 @@ const Wo = Je({
4443
4443
  }, i.inputDebounce));
4444
4444
  }
4445
4445
  function Nn(_, he, me) {
4446
- p = me !== !0, i.useInput === !0 && (Fn(_, !0), (he === !0 || me !== !0) && (v = _), he !== !0 && Ii(_));
4446
+ p = me !== !0, i.useInput === !0 && (Fn(_, !0), (he === !0 || me !== !0) && (y = _), he !== !0 && Ii(_));
4447
4447
  }
4448
4448
  function Ii(_, he, me) {
4449
4449
  if (i.onFilter === void 0 || he !== !0 && I.focused.value !== !0) return;
@@ -4754,9 +4754,9 @@ const Wo = Je({
4754
4754
  u == null ? void 0 : u.componentDefaults,
4755
4755
  "select"
4756
4756
  ), {
4757
- autocomplete: v,
4757
+ autocomplete: y,
4758
4758
  autocompleteThreshold: k,
4759
- useInput: y,
4759
+ useInput: v,
4760
4760
  // We control this via useFilter
4761
4761
  fillInput: x,
4762
4762
  // We control this via useFilter
@@ -4768,11 +4768,11 @@ const Wo = Je({
4768
4768
  }), h = b(() => {
4769
4769
  if (!t.schema.enum) return [];
4770
4770
  const g = t.schema["x-enum-labels"];
4771
- return t.schema.enum.map((v) => {
4772
- let k = String(v);
4773
- return g && v in g && (k = g[v]), {
4771
+ return t.schema.enum.map((y) => {
4772
+ let k = String(y);
4773
+ return g && y in g && (k = g[y]), {
4774
4774
  label: k,
4775
- value: v
4775
+ value: y
4776
4776
  };
4777
4777
  });
4778
4778
  }), f = J([]);
@@ -4784,17 +4784,17 @@ const Wo = Je({
4784
4784
  { immediate: !0 }
4785
4785
  );
4786
4786
  const d = b(() => {
4787
- var k, y;
4787
+ var k, v;
4788
4788
  const g = t.schema["x-component-props"];
4789
- return (g == null ? void 0 : g.autocomplete) !== void 0 ? g.autocomplete : ((y = (k = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : k.select) == null ? void 0 : y.autocomplete) !== void 0 ? u.quickformsDefaults.select.autocomplete : !0;
4790
- }), p = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, fieldGap: a, formContext: u, quasarProps: c, allOptions: h, filteredOptions: f, useFilter: d, filterFn: (g, v) => {
4791
- v(() => {
4789
+ return (g == null ? void 0 : g.autocomplete) !== void 0 ? g.autocomplete : ((v = (k = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : k.select) == null ? void 0 : v.autocomplete) !== void 0 ? u.quickformsDefaults.select.autocomplete : !0;
4790
+ }), p = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, fieldGap: a, formContext: u, quasarProps: c, allOptions: h, filteredOptions: f, useFilter: d, filterFn: (g, y) => {
4791
+ y(() => {
4792
4792
  if (g === "")
4793
4793
  f.value = h.value;
4794
4794
  else {
4795
4795
  const k = g.toLowerCase();
4796
4796
  f.value = h.value.filter(
4797
- (y) => y.label.toLowerCase().includes(k)
4797
+ (v) => v.label.toLowerCase().includes(k)
4798
4798
  );
4799
4799
  }
4800
4800
  });
@@ -4947,7 +4947,7 @@ function e1(i) {
4947
4947
  }), a = b(() => {
4948
4948
  const g = i.fab === !1 && i.fabMini === !1 ? e.value : {};
4949
4949
  return i.padding !== void 0 ? Object.assign({}, g, {
4950
- padding: i.padding.split(/\s+/).map((v) => v in Kh ? Kh[v] + "px" : v).join(" "),
4950
+ padding: i.padding.split(/\s+/).map((y) => y in Kh ? Kh[y] + "px" : y).join(" "),
4951
4951
  minWidth: "0",
4952
4952
  minHeight: "0"
4953
4953
  }) : g;
@@ -4966,8 +4966,8 @@ function e1(i) {
4966
4966
  }), m = b(() => {
4967
4967
  let g;
4968
4968
  i.color !== void 0 ? i.flat === !0 || i.outline === !0 ? g = `text-${i.textColor || i.color}` : g = `bg-${i.color} text-${i.textColor || "white"}` : i.textColor && (g = `text-${i.textColor}`);
4969
- const v = i.round === !0 ? "round" : `rectangle${u.value === !0 ? " q-btn--rounded" : i.square === !0 ? " q-btn--square" : ""}`;
4970
- return `q-btn--${f.value} q-btn--${v}` + (g !== void 0 ? " " + g : "") + (c.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : i.disable === !0 ? " disabled" : "") + (i.fab === !0 ? " q-btn--fab" : i.fabMini === !0 ? " q-btn--fab-mini" : "") + (i.noCaps === !0 ? " q-btn--no-uppercase" : "") + (i.dense === !0 ? " q-btn--dense" : "") + (i.stretch === !0 ? " no-border-radius self-stretch" : "") + (i.glossy === !0 ? " glossy" : "") + (i.square ? " q-btn--square" : "");
4969
+ const y = i.round === !0 ? "round" : `rectangle${u.value === !0 ? " q-btn--rounded" : i.square === !0 ? " q-btn--square" : ""}`;
4970
+ return `q-btn--${f.value} q-btn--${y}` + (g !== void 0 ? " " + g : "") + (c.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : i.disable === !0 ? " disabled" : "") + (i.fab === !0 ? " q-btn--fab" : i.fabMini === !0 ? " q-btn--fab-mini" : "") + (i.noCaps === !0 ? " q-btn--no-uppercase" : "") + (i.dense === !0 ? " q-btn--dense" : "") + (i.stretch === !0 ? " no-border-radius self-stretch" : "") + (i.glossy === !0 ? " glossy" : "") + (i.square ? " q-btn--square" : "");
4971
4971
  }), p = b(
4972
4972
  () => t.value + (i.stack === !0 ? " column" : " row") + (i.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (i.loading === !0 ? " q-btn__content--hidden" : "")
4973
4973
  );
@@ -5005,12 +5005,12 @@ const It = Je({
5005
5005
  isActionable: h
5006
5006
  } = e1(i), f = J(null), d = J(null);
5007
5007
  let m = null, p, g = null;
5008
- const v = b(
5008
+ const y = b(
5009
5009
  () => i.label !== void 0 && i.label !== null && i.label !== ""
5010
5010
  ), k = b(() => i.disable === !0 || i.ripple === !1 ? !1 : {
5011
5011
  keyCodes: a.value === !0 ? [13, 32] : [13],
5012
5012
  ...i.ripple === !0 ? {} : i.ripple
5013
- }), y = b(() => ({ center: i.round })), x = b(() => {
5013
+ }), v = b(() => ({ center: i.round })), x = b(() => {
5014
5014
  const P = Math.max(0, Math.min(100, i.percentage));
5015
5015
  return P > 0 ? { transition: "transform 0.6s", transform: `translateX(${P - 100}%)` } : {};
5016
5016
  }), C = b(() => {
@@ -5104,15 +5104,15 @@ const It = Je({
5104
5104
  i.icon !== void 0 && P.push(
5105
5105
  A(kt, {
5106
5106
  name: i.icon,
5107
- left: i.stack !== !0 && v.value === !0,
5107
+ left: i.stack !== !0 && y.value === !0,
5108
5108
  role: "img"
5109
5109
  })
5110
- ), v.value === !0 && P.push(
5110
+ ), y.value === !0 && P.push(
5111
5111
  A("span", { class: "block" }, [i.label])
5112
5112
  ), P = wn(e.default, P), i.iconRight !== void 0 && i.round === !1 && P.push(
5113
5113
  A(kt, {
5114
5114
  name: i.iconRight,
5115
- right: i.stack !== !0 && v.value === !0,
5115
+ right: i.stack !== !0 && y.value === !0,
5116
5116
  role: "img"
5117
5117
  })
5118
5118
  );
@@ -5154,7 +5154,7 @@ const It = Je({
5154
5154
  pc,
5155
5155
  k.value,
5156
5156
  void 0,
5157
- y.value
5157
+ v.value
5158
5158
  ]]
5159
5159
  );
5160
5160
  };
@@ -6038,7 +6038,7 @@ const dg = Je({
6038
6038
  setup(i, { slots: e, emit: t }) {
6039
6039
  const { proxy: n } = je(), { $q: r } = n, o = Zi(i, r), { getCache: s } = t1(), { tabindex: l, headerClass: a, getLocale: u, getCurrentDate: c } = lg(i, r);
6040
6040
  let h;
6041
- const f = qm(i), d = gc(f), m = J(null), p = J(Xe()), g = J(u()), v = b(() => Xe()), k = b(() => u()), y = b(() => c()), x = J(Q(p.value, g.value)), C = J(i.defaultView), E = b(() => r.lang.rtl === !0 ? "right" : "left"), T = J(E.value), H = J(E.value), V = x.value.year, B = J(V - V % tn - (V < 0 ? tn : 0)), D = J(null), R = b(() => {
6041
+ const f = qm(i), d = gc(f), m = J(null), p = J(Xe()), g = J(u()), y = b(() => Xe()), k = b(() => u()), v = b(() => c()), x = J(Q(p.value, g.value)), C = J(i.defaultView), E = b(() => r.lang.rtl === !0 ? "right" : "left"), T = J(E.value), H = J(E.value), V = x.value.year, B = J(V - V % tn - (V < 0 ? tn : 0)), D = J(null), R = b(() => {
6042
6042
  const S = i.landscape === !0 ? "landscape" : "portrait";
6043
6043
  return `q-date q-date--${S} q-date--${S}-${i.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (i.bordered === !0 ? " q-date--bordered" : "") + (i.square === !0 ? " q-date--square no-border-radius" : "") + (i.flat === !0 ? " q-date--flat no-shadow" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-date--readonly" : "");
6044
6044
  }), O = b(() => i.color || "primary"), P = b(() => i.textColor || "white"), F = b(
@@ -6260,7 +6260,7 @@ const dg = Je({
6260
6260
  S[Ve].color = O.value, S[Ve].editRange = !0;
6261
6261
  Bt.value.includeFrom === !0 && (S[pe].editRangeFrom = !0), Bt.value.includeTo === !0 && (S[Se].editRangeTo = !0);
6262
6262
  }
6263
- x.value.year === y.value.year && x.value.month === y.value.month && (S[fe + y.value.day - 1].today = !0);
6263
+ x.value.year === v.value.year && x.value.month === v.value.month && (S[fe + v.value.day - 1].today = !0);
6264
6264
  const Te = S.length % 7;
6265
6265
  if (Te > 0) {
6266
6266
  const pe = 7 - Te;
@@ -6283,7 +6283,7 @@ const dg = Je({
6283
6283
  m.value !== null && n.$el.contains(document.activeElement) === !0 && m.value.focus();
6284
6284
  }), ve(() => x.value.year + "|" + x.value.month, () => {
6285
6285
  t("navigation", { year: x.value.year, month: x.value.month });
6286
- }), ve(v, (S) => {
6286
+ }), ve(y, (S) => {
6287
6287
  Fn(S, g.value, "mask"), p.value = S;
6288
6288
  }), ve(k, (S) => {
6289
6289
  Fn(p.value, S, "locale"), g.value = S;
@@ -6292,7 +6292,7 @@ const dg = Je({
6292
6292
  h = JSON.stringify(S);
6293
6293
  }
6294
6294
  function we() {
6295
- const { year: S, month: L, day: W } = y.value, oe = {
6295
+ const { year: S, month: L, day: W } = v.value, oe = {
6296
6296
  // contains more props than needed (hour, minute, second, millisecond)
6297
6297
  // but those aren't used in the processing of this "date" variable
6298
6298
  ...x.value,
@@ -6359,7 +6359,7 @@ const dg = Je({
6359
6359
  const W = i.defaultYearMonth.split("/");
6360
6360
  S = parseInt(W[0], 10), L = parseInt(W[1], 10);
6361
6361
  } else {
6362
- const W = y.value !== void 0 ? y.value : c();
6362
+ const W = v.value !== void 0 ? v.value : c();
6363
6363
  S = W.year, L = W.month;
6364
6364
  }
6365
6365
  return {
@@ -6647,13 +6647,13 @@ const dg = Je({
6647
6647
  ])
6648
6648
  ],
6649
6649
  Months() {
6650
- const S = x.value.year === y.value.year, L = (oe) => Ie.value !== null && x.value.year === Ie.value.year && Ie.value.month > oe || Qe.value !== null && x.value.year === Qe.value.year && Qe.value.month < oe, W = g.value.monthsShort.map((oe, fe) => {
6650
+ const S = x.value.year === v.value.year, L = (oe) => Ie.value !== null && x.value.year === Ie.value.year && Ie.value.month > oe || Qe.value !== null && x.value.year === Qe.value.year && Qe.value.month < oe, W = g.value.monthsShort.map((oe, fe) => {
6651
6651
  const Te = x.value.month === fe + 1;
6652
6652
  return A("div", {
6653
6653
  class: "q-date__months-item flex flex-center"
6654
6654
  }, [
6655
6655
  A(It, {
6656
- class: S === !0 && y.value.month === fe + 1 ? "q-date__today" : null,
6656
+ class: S === !0 && v.value.month === fe + 1 ? "q-date__today" : null,
6657
6657
  flat: Te !== !0,
6658
6658
  label: oe,
6659
6659
  unelevated: Te,
@@ -6694,7 +6694,7 @@ const dg = Je({
6694
6694
  }, [
6695
6695
  A(It, {
6696
6696
  key: "yr" + fe,
6697
- class: y.value.year === fe ? "q-date__today" : null,
6697
+ class: v.value.year === fe ? "q-date__today" : null,
6698
6698
  flat: !Te,
6699
6699
  label: fe,
6700
6700
  dense: !0,
@@ -7182,15 +7182,15 @@ const mg = Je({
7182
7182
  setup(i, { slots: e, emit: t }) {
7183
7183
  const n = je(), { $q: r } = n.proxy, o = Zi(i, r), { tabindex: s, headerClass: l, getLocale: a, getCurrentDate: u } = lg(i, r), c = qm(i), h = gc(c);
7184
7184
  let f, d;
7185
- const m = J(null), p = b(() => G()), g = b(() => a()), v = b(() => re()), k = oo(
7185
+ const m = J(null), p = b(() => G()), g = b(() => a()), y = b(() => re()), k = oo(
7186
7186
  i.modelValue,
7187
7187
  p.value,
7188
7188
  // initial mask
7189
7189
  g.value,
7190
7190
  // initial locale
7191
7191
  i.calendar,
7192
- v.value
7193
- ), y = J(x1(k)), x = J(k), C = J(k.hour === null || k.hour < 12), E = b(
7192
+ y.value
7193
+ ), v = J(x1(k)), x = J(k), C = J(k.hour === null || k.hour < 12), E = b(
7194
7194
  () => `q-time q-time--${i.landscape === !0 ? "landscape" : "portrait"}` + (o.value === !0 ? " q-time--dark q-dark" : "") + (i.disable === !0 ? " disabled" : i.readonly === !0 ? " q-time--readonly" : "") + (i.bordered === !0 ? " q-time--bordered" : "") + (i.square === !0 ? " q-time--square no-border-radius" : "") + (i.flat === !0 ? " q-time--flat no-shadow" : "")
7195
7195
  ), T = b(() => {
7196
7196
  const Q = x.value;
@@ -7202,7 +7202,7 @@ const mg = Je({
7202
7202
  second: Q.second === null ? "--" : Fe(Q.second)
7203
7203
  };
7204
7204
  }), H = b(() => i.format24h !== null ? i.format24h : r.lang.date.format24h), V = b(() => {
7205
- const Q = y.value === "hour", $ = Q === !0 ? 12 : 60, be = x.value[y.value];
7205
+ const Q = v.value === "hour", $ = Q === !0 ? 12 : 60, be = x.value[v.value];
7206
7206
  let Re = `rotate(${Math.round(be * (360 / $)) - 180}deg) translateX(-50%)`;
7207
7207
  return Q === !0 && H.value === !0 && x.value.hour >= 12 && (Re += " scale(.7)"), { transform: Re };
7208
7208
  }), B = b(() => x.value.hour !== null), D = b(() => B.value === !0 && x.value.minute !== null), R = b(() => i.hourOptions !== void 0 ? (Q) => i.hourOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(Q, null, null) : null), O = b(() => i.minuteOptions !== void 0 ? (Q) => i.minuteOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, Q, null) : null), P = b(() => i.secondOptions !== void 0 ? (Q) => i.secondOptions.includes(Q) : i.options !== void 0 ? (Q) => i.options(x.value.hour, x.value.minute, Q) : null), F = b(() => {
@@ -7211,7 +7211,7 @@ const mg = Je({
7211
7211
  const Q = w(0, 11, R.value), $ = w(12, 11, R.value);
7212
7212
  return { am: Q, pm: $, values: Q.values.concat($.values) };
7213
7213
  }), Y = b(() => O.value !== null ? w(0, 59, O.value) : null), M = b(() => P.value !== null ? w(0, 59, P.value) : null), q = b(() => {
7214
- switch (y.value) {
7214
+ switch (v.value) {
7215
7215
  case "hour":
7216
7216
  return F.value;
7217
7217
  case "minute":
@@ -7222,10 +7222,10 @@ const mg = Je({
7222
7222
  }), z = b(() => {
7223
7223
  let Q, $, be = 0, Ce = 1;
7224
7224
  const Re = q.value !== null ? q.value.values : void 0;
7225
- y.value === "hour" ? H.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, C.value === !1 && (be = 12)) : (Q = 0, $ = 55, Ce = 5);
7225
+ v.value === "hour" ? H.value === !0 ? (Q = 0, $ = 23) : (Q = 0, $ = 11, C.value === !1 && (be = 12)) : (Q = 0, $ = 55, Ce = 5);
7226
7226
  const Nt = [];
7227
7227
  for (let De = Q, tt = Q; De <= $; De += Ce, tt++) {
7228
- const Rt = De + be, Vn = (Re == null ? void 0 : Re.includes(Rt)) === !1, gn = y.value === "hour" && De === 0 ? H.value === !0 ? "00" : "12" : De;
7228
+ const Rt = De + be, Vn = (Re == null ? void 0 : Re.includes(Rt)) === !1, gn = v.value === "hour" && De === 0 ? H.value === !0 ? "00" : "12" : De;
7229
7229
  Nt.push({ val: Rt, index: tt, disable: Vn, label: gn });
7230
7230
  }
7231
7231
  return Nt;
@@ -7245,9 +7245,9 @@ const mg = Je({
7245
7245
  p.value,
7246
7246
  g.value,
7247
7247
  i.calendar,
7248
- v.value
7248
+ y.value
7249
7249
  );
7250
- ($.dateHash !== x.value.dateHash || $.timeHash !== x.value.timeHash) && (x.value = $, $.hour === null ? y.value = "hour" : C.value = $.hour < 12);
7250
+ ($.dateHash !== x.value.dateHash || $.timeHash !== x.value.timeHash) && (x.value = $, $.hour === null ? v.value = "hour" : C.value = $.hour < 12);
7251
7251
  }), ve([p, g], () => {
7252
7252
  rt(() => {
7253
7253
  qe();
@@ -7258,7 +7258,7 @@ const mg = Je({
7258
7258
  ...u(),
7259
7259
  ...k1()
7260
7260
  };
7261
- qe(Q), Object.assign(x.value, Q), y.value = "hour";
7261
+ qe(Q), Object.assign(x.value, Q), v.value = "hour";
7262
7262
  }
7263
7263
  function w(Q, $, be) {
7264
7264
  const Ce = Array.apply(null, { length: $ + 1 }).map((Re, Nt) => {
@@ -7299,7 +7299,7 @@ const mg = Je({
7299
7299
  return oo(i.defaultDate, "YYYY/MM/DD", void 0, i.calendar);
7300
7300
  }
7301
7301
  function le() {
7302
- return vc(n) === !0 || q.value !== null && (q.value.values.length === 0 || y.value === "hour" && H.value !== !0 && F.value[C.value === !0 ? "am" : "pm"].values.length === 0);
7302
+ return vc(n) === !0 || q.value !== null && (q.value.values.length === 0 || v.value === "hour" && H.value !== !0 && F.value[C.value === !0 ? "am" : "pm"].values.length === 0);
7303
7303
  }
7304
7304
  function Be() {
7305
7305
  const Q = m.value, { top: $, left: be, width: Ce } = Q.getBoundingClientRect(), Re = Ce / 2;
@@ -7319,14 +7319,14 @@ const mg = Je({
7319
7319
  }
7320
7320
  }
7321
7321
  function et() {
7322
- y.value === "hour" ? y.value = "minute" : i.withSeconds && y.value === "minute" && (y.value = "second");
7322
+ v.value === "hour" ? v.value = "minute" : i.withSeconds && v.value === "minute" && (v.value = "second");
7323
7323
  }
7324
7324
  function Ie(Q, $, be) {
7325
7325
  const Ce = Lr(Q), Re = Math.abs(Ce.top - $.top), Nt = Math.sqrt(
7326
7326
  Math.pow(Math.abs(Ce.top - $.top), 2) + Math.pow(Math.abs(Ce.left - $.left), 2)
7327
7327
  );
7328
7328
  let De, tt = Math.asin(Re / Nt) * (180 / Math.PI);
7329
- if (Ce.top < $.top ? tt = $.left < Ce.left ? 90 - tt : 270 + tt : tt = $.left < Ce.left ? tt + 90 : 270 - tt, y.value === "hour") {
7329
+ if (Ce.top < $.top ? tt = $.left < Ce.left ? 90 - tt : 270 + tt : tt = $.left < Ce.left ? tt + 90 : 270 - tt, v.value === "hour") {
7330
7330
  if (De = tt / 30, F.value !== null) {
7331
7331
  const Rt = H.value !== !0 ? C.value === !0 : F.value.am.values.length !== 0 && F.value.pm.values.length !== 0 ? Nt >= $.dist : F.value.am.values.length !== 0;
7332
7332
  De = U(
@@ -7337,18 +7337,18 @@ const mg = Je({
7337
7337
  De = Math.round(De), H.value === !0 ? Nt < $.dist ? De < 12 && (De += 12) : De === 12 && (De = 0) : C.value === !0 && De === 12 ? De = 0 : C.value === !1 && De !== 12 && (De += 12);
7338
7338
  H.value === !0 && (C.value = De < 12);
7339
7339
  } else
7340
- De = Math.round(tt / 6) % 60, y.value === "minute" && Y.value !== null ? De = U(De, Y.value) : y.value === "second" && M.value !== null && (De = U(De, M.value));
7341
- return be !== De && ye[y.value](De), De;
7340
+ De = Math.round(tt / 6) % 60, v.value === "minute" && Y.value !== null ? De = U(De, Y.value) : v.value === "second" && M.value !== null && (De = U(De, M.value));
7341
+ return be !== De && ye[v.value](De), De;
7342
7342
  }
7343
7343
  const Qe = {
7344
7344
  hour() {
7345
- y.value = "hour";
7345
+ v.value = "hour";
7346
7346
  },
7347
7347
  minute() {
7348
- y.value = "minute";
7348
+ v.value = "minute";
7349
7349
  },
7350
7350
  second() {
7351
- y.value = "second";
7351
+ v.value = "second";
7352
7352
  }
7353
7353
  };
7354
7354
  function wt(Q) {
@@ -7365,7 +7365,7 @@ const mg = Je({
7365
7365
  }
7366
7366
  function dt(Q) {
7367
7367
  if (Q.keyCode === 13)
7368
- y.value = "hour";
7368
+ v.value = "hour";
7369
7369
  else if ([37, 39].includes(Q.keyCode)) {
7370
7370
  const $ = Q.keyCode === 37 ? -1 : 1;
7371
7371
  if (F.value !== null) {
@@ -7385,7 +7385,7 @@ const mg = Je({
7385
7385
  }
7386
7386
  function vi(Q) {
7387
7387
  if (Q.keyCode === 13)
7388
- y.value = "minute";
7388
+ v.value = "minute";
7389
7389
  else if ([37, 39].includes(Q.keyCode)) {
7390
7390
  const $ = Q.keyCode === 37 ? -1 : 1;
7391
7391
  if (Y.value !== null) {
@@ -7405,7 +7405,7 @@ const mg = Je({
7405
7405
  }
7406
7406
  function Li(Q) {
7407
7407
  if (Q.keyCode === 13)
7408
- y.value = "second";
7408
+ v.value = "second";
7409
7409
  else if ([37, 39].includes(Q.keyCode)) {
7410
7410
  const $ = Q.keyCode === 37 ? -1 : 1;
7411
7411
  if (M.value !== null) {
@@ -7445,7 +7445,7 @@ const mg = Je({
7445
7445
  }
7446
7446
  function ze(Q) {
7447
7447
  const $ = i.modelValue;
7448
- y.value !== Q && $ !== void 0 && $ !== null && $ !== "" && typeof $ != "string" && (y.value = Q);
7448
+ v.value !== Q && $ !== void 0 && $ !== null && $ !== "" && typeof $ != "string" && (v.value = Q);
7449
7449
  }
7450
7450
  function Oe() {
7451
7451
  if (R.value !== null && R.value(x.value.hour) !== !0) {
@@ -7483,7 +7483,7 @@ const mg = Je({
7483
7483
  function Xe() {
7484
7484
  const Q = [
7485
7485
  A("div", {
7486
- class: "q-time__link " + (y.value === "hour" ? "q-time__link--active" : "cursor-pointer"),
7486
+ class: "q-time__link " + (v.value === "hour" ? "q-time__link--active" : "cursor-pointer"),
7487
7487
  tabindex: s.value,
7488
7488
  onClick: Qe.hour,
7489
7489
  onKeyup: dt
@@ -7492,7 +7492,7 @@ const mg = Je({
7492
7492
  A(
7493
7493
  "div",
7494
7494
  B.value === !0 ? {
7495
- class: "q-time__link " + (y.value === "minute" ? "q-time__link--active" : "cursor-pointer"),
7495
+ class: "q-time__link " + (v.value === "minute" ? "q-time__link--active" : "cursor-pointer"),
7496
7496
  tabindex: s.value,
7497
7497
  onKeyup: vi,
7498
7498
  onClick: Qe.minute
@@ -7505,7 +7505,7 @@ const mg = Je({
7505
7505
  A(
7506
7506
  "div",
7507
7507
  D.value === !0 ? {
7508
- class: "q-time__link " + (y.value === "second" ? "q-time__link--active" : "cursor-pointer"),
7508
+ class: "q-time__link " + (v.value === "second" ? "q-time__link--active" : "cursor-pointer"),
7509
7509
  tabindex: s.value,
7510
7510
  onKeyup: Li,
7511
7511
  onClick: Qe.second
@@ -7541,14 +7541,14 @@ const mg = Je({
7541
7541
  }, $);
7542
7542
  }
7543
7543
  function ut() {
7544
- const Q = x.value[y.value];
7544
+ const Q = x.value[v.value];
7545
7545
  return A("div", {
7546
7546
  class: "q-time__content col relative-position"
7547
7547
  }, [
7548
7548
  A(mi, {
7549
7549
  name: "q-transition--scale"
7550
7550
  }, () => A("div", {
7551
- key: "clock" + y.value,
7551
+ key: "clock" + v.value,
7552
7552
  class: "q-time__container-parent absolute-full"
7553
7553
  }, [
7554
7554
  A("div", {
@@ -7563,7 +7563,7 @@ const mg = Je({
7563
7563
  }, [
7564
7564
  A("div", { class: "q-time__clock-circle fit" }, [
7565
7565
  A("div", {
7566
- class: "q-time__clock-pointer" + (x.value[y.value] === null ? " hidden" : i.color !== void 0 ? ` text-${i.color}` : ""),
7566
+ class: "q-time__clock-pointer" + (x.value[v.value] === null ? " hidden" : i.color !== void 0 ? ` text-${i.color}` : ""),
7567
7567
  style: V.value
7568
7568
  }),
7569
7569
  z.value.map(($) => A("div", {
@@ -7824,24 +7824,24 @@ const rf = /* @__PURE__ */ Kt(w1, [["render", C1], ["__file", "/Users/zachsherbo
7824
7824
  });
7825
7825
  n.value === void 0 && (n.value = null);
7826
7826
  const h = b(() => {
7827
- var y, x;
7827
+ var v, x;
7828
7828
  const k = t.schema["x-component-props"];
7829
- return (k == null ? void 0 : k.dateMask) || ((x = (y = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : y.datetime) == null ? void 0 : x.dateMask) || "YYYY-MM-DD";
7829
+ return (k == null ? void 0 : k.dateMask) || ((x = (v = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : v.datetime) == null ? void 0 : x.dateMask) || "YYYY-MM-DD";
7830
7830
  }), f = b(() => {
7831
- var y, x;
7831
+ var v, x;
7832
7832
  const k = t.schema["x-component-props"];
7833
- return (k == null ? void 0 : k.timeMask) || ((x = (y = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : y.datetime) == null ? void 0 : x.timeMask) || "hh:mm A";
7834
- }), d = b(() => a.value.mask || `${h.value} ${f.value}`), m = b(() => a.value.format24h || !1), p = b(() => a.value.withSeconds || !1), v = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, dateMask: h, timeMask: f, fullMask: d, use24Hour: m, withSeconds: p, setNow: () => {
7835
- const k = /* @__PURE__ */ new Date(), y = k.getFullYear(), x = String(k.getMonth() + 1).padStart(2, "0"), C = String(k.getDate()).padStart(2, "0");
7833
+ return (k == null ? void 0 : k.timeMask) || ((x = (v = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : v.datetime) == null ? void 0 : x.timeMask) || "hh:mm A";
7834
+ }), d = b(() => a.value.mask || `${h.value} ${f.value}`), m = b(() => a.value.format24h || !1), p = b(() => a.value.withSeconds || !1), y = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, dateMask: h, timeMask: f, fullMask: d, use24Hour: m, withSeconds: p, setNow: () => {
7835
+ const k = /* @__PURE__ */ new Date(), v = k.getFullYear(), x = String(k.getMonth() + 1).padStart(2, "0"), C = String(k.getDate()).padStart(2, "0");
7836
7836
  if (m.value) {
7837
7837
  const E = String(k.getHours()).padStart(2, "0"), T = String(k.getMinutes()).padStart(2, "0");
7838
- n.value = `${y}-${x}-${C} ${E}:${T}`;
7838
+ n.value = `${v}-${x}-${C} ${E}:${T}`;
7839
7839
  } else {
7840
7840
  let E = k.getHours();
7841
7841
  const T = E >= 12 ? "PM" : "AM";
7842
7842
  E = E % 12 || 12;
7843
7843
  const H = String(k.getMinutes()).padStart(2, "0");
7844
- n.value = `${y}-${x}-${C} ${E}:${H} ${T}`;
7844
+ n.value = `${v}-${x}-${C} ${E}:${H} ${T}`;
7845
7845
  }
7846
7846
  }, get QInput() {
7847
7847
  return cr;
@@ -7858,7 +7858,7 @@ const rf = /* @__PURE__ */ Kt(w1, [["render", C1], ["__file", "/Users/zachsherbo
7858
7858
  }, get QSeparator() {
7859
7859
  return uu;
7860
7860
  } };
7861
- return Object.defineProperty(v, "__isScriptSetup", { enumerable: !1, value: !0 }), v;
7861
+ return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
7862
7862
  }
7863
7863
  }), T1 = { class: "row no-wrap" };
7864
7864
  function D1(i, e, t, n, r, o) {
@@ -8003,23 +8003,23 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8003
8003
  function c() {
8004
8004
  r == null || r(), r = null, n = !1, s !== null && (clearTimeout(s), s = null), l !== null && (clearTimeout(l), l = null), o == null || o.removeEventListener("transitionend", a), a = null;
8005
8005
  }
8006
- function h(p, g, v) {
8007
- g !== void 0 && (p.style.height = `${g}px`), p.style.transition = `height ${i.duration}ms cubic-bezier(.25, .8, .50, 1)`, n = !0, r = v;
8006
+ function h(p, g, y) {
8007
+ g !== void 0 && (p.style.height = `${g}px`), p.style.transition = `height ${i.duration}ms cubic-bezier(.25, .8, .50, 1)`, n = !0, r = y;
8008
8008
  }
8009
8009
  function f(p, g) {
8010
8010
  p.style.overflowY = null, p.style.height = null, p.style.transition = null, c(), g !== u && t(g);
8011
8011
  }
8012
8012
  function d(p, g) {
8013
- let v = 0;
8014
- o = p, n === !0 ? (c(), v = p.offsetHeight === p.scrollHeight ? 0 : void 0) : (u = "hide", p.style.overflowY = "hidden"), h(p, v, g), s = setTimeout(() => {
8013
+ let y = 0;
8014
+ o = p, n === !0 ? (c(), y = p.offsetHeight === p.scrollHeight ? 0 : void 0) : (u = "hide", p.style.overflowY = "hidden"), h(p, y, g), s = setTimeout(() => {
8015
8015
  s = null, p.style.height = `${p.scrollHeight}px`, a = (k) => {
8016
8016
  l = null, (Object(k) !== k || k.target === p) && f(p, "show");
8017
8017
  }, p.addEventListener("transitionend", a), l = setTimeout(a, i.duration * 1.1);
8018
8018
  }, 100);
8019
8019
  }
8020
8020
  function m(p, g) {
8021
- let v;
8022
- o = p, n === !0 ? c() : (u = "show", p.style.overflowY = "hidden", v = p.scrollHeight), h(p, v, g), s = setTimeout(() => {
8021
+ let y;
8022
+ o = p, n === !0 ? c() : (u = "show", p.style.overflowY = "hidden", y = p.scrollHeight), h(p, y, g), s = setTimeout(() => {
8023
8023
  s = null, p.style.height = 0, a = (k) => {
8024
8024
  l = null, (Object(k) !== k || k.target === p) && f(p, "hide");
8025
8025
  }, p.addEventListener("transitionend", a), l = setTimeout(a, i.duration * 1.1);
@@ -8086,9 +8086,9 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8086
8086
  return P1.forEach((q) => {
8087
8087
  M[q] = i[q];
8088
8088
  }), M;
8089
- }), v = b(
8089
+ }), y = b(
8090
8090
  () => p.value === !0 || i.expandIconToggle !== !0
8091
- ), k = b(() => i.expandedIcon !== void 0 && o.value === !0 ? i.expandedIcon : i.expandIcon || n.iconSet.expansionItem[i.denseToggle === !0 ? "denseIcon" : "icon"]), y = b(
8091
+ ), k = b(() => i.expandedIcon !== void 0 && o.value === !0 ? i.expandedIcon : i.expandIcon || n.iconSet.expansionItem[i.denseToggle === !0 ? "denseIcon" : "icon"]), v = b(
8092
8092
  () => i.disable !== !0 && (p.value === !0 || i.expandIconToggle === !0)
8093
8093
  ), x = b(() => ({
8094
8094
  expanded: o.value === !0,
@@ -8152,7 +8152,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8152
8152
  name: k.value
8153
8153
  })
8154
8154
  ];
8155
- return y.value === !0 && (Object.assign(M, {
8155
+ return v.value === !0 && (Object.assign(M, {
8156
8156
  tabindex: 0,
8157
8157
  ...C.value,
8158
8158
  onClick: H,
@@ -8191,7 +8191,7 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8191
8191
  dense: i.dense,
8192
8192
  insetLevel: i.headerInsetLevel
8193
8193
  };
8194
- return v.value === !0 && (M.clickable = !0, M.onClick = E, Object.assign(
8194
+ return y.value === !0 && (M.clickable = !0, M.onClick = E, Object.assign(
8195
8195
  M,
8196
8196
  p.value === !0 ? g.value : C.value
8197
8197
  )), A(Zs, M, O);
@@ -8262,30 +8262,34 @@ const of = /* @__PURE__ */ Kt(O1, [["render", D1], ["__scopeId", "data-v-76abc7a
8262
8262
  componentType: "expansion"
8263
8263
  }), c = b(() => {
8264
8264
  var x;
8265
- const v = t.schema["x-default-expanded"];
8266
- if (v !== void 0)
8267
- return v;
8268
- const k = (x = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : x.object, y = (k == null ? void 0 : k.defaultExpanded) ?? "required-only";
8269
- return y === "all" ? !0 : y === "none" ? !1 : s.value;
8265
+ const y = t.schema["x-default-expanded"];
8266
+ if (y !== void 0)
8267
+ return y;
8268
+ const k = (x = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : x.object, v = (k == null ? void 0 : k.defaultExpanded) ?? "required-only";
8269
+ return v === "all" ? !0 : v === "none" ? !1 : s.value;
8270
8270
  }), h = b(() => {
8271
8271
  var k;
8272
- const v = (k = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : k.object;
8273
- return (v == null ? void 0 : v.showOptionalIndicator) ?? !0;
8272
+ const y = (k = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : k.object;
8273
+ return (y == null ? void 0 : y.showOptionalIndicator) ?? !0;
8274
8274
  }), f = b(() => {
8275
- var y;
8276
- const v = t.schema["x-section-style"];
8277
- if (v)
8278
- return v;
8279
- const k = (y = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : y.object;
8275
+ var v;
8276
+ const y = t.schema["x-section-style"];
8277
+ if (y)
8278
+ return y;
8279
+ const k = (v = u == null ? void 0 : u.quickformsDefaults) == null ? void 0 : v.object;
8280
8280
  return (k == null ? void 0 : k.sectionStyle) ?? "solid";
8281
8281
  }), d = b(() => `quickform-section-${f.value}`), m = b(() => {
8282
- const v = t.schema["x-quasar-props"] || {};
8283
- return { ...t.schema["x-component-props"] || {}, ...v };
8284
- }), p = b(() => t.schema.properties ? Object.entries(t.schema.properties).map(([v, k]) => ({
8285
- key: v,
8286
- schema: k,
8287
- path: t.path ? `${t.path}.${v}` : v
8288
- })) : []), g = { props: t, label: n, hint: r, errorMessage: o, required: s, fieldId: l, fieldGap: a, formContext: u, defaultOpened: c, showOptionalIndicator: h, sectionStyle: f, sectionStyleClass: d, quasarProps: m, properties: p, get QExpansionItem() {
8282
+ const y = t.schema["x-quasar-props"] || {};
8283
+ return { ...t.schema["x-component-props"] || {}, ...y };
8284
+ }), p = b(() => {
8285
+ if (!t.schema.properties) return [];
8286
+ const y = t.schema["x-field-order"];
8287
+ return (y && Array.isArray(y) && y.length > 0 ? y : Object.keys(t.schema.properties)).filter((v) => v in t.schema.properties).map((v) => ({
8288
+ key: v,
8289
+ schema: t.schema.properties[v],
8290
+ path: t.path ? `${t.path}.${v}` : v
8291
+ }));
8292
+ }), g = { props: t, label: n, hint: r, errorMessage: o, required: s, fieldId: l, fieldGap: a, formContext: u, defaultOpened: c, showOptionalIndicator: h, sectionStyle: f, sectionStyleClass: d, quasarProps: m, properties: p, get QExpansionItem() {
8289
8293
  return _1;
8290
8294
  }, get FieldRenderer() {
8291
8295
  return Rl;
@@ -8415,7 +8419,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", F1], ["__scopeId", "data-v-813eef2
8415
8419
  ],
8416
8420
  setup(i, { slots: e, emit: t, attrs: n }) {
8417
8421
  let r, o;
8418
- const s = je(), { proxy: { $q: l } } = s, a = J(null), u = J(!1), c = b(() => sl(i.anchor, l.lang.rtl)), h = b(() => sl(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Or(), { registerTimeout: p } = Co(), { transitionProps: g, transitionStyle: v } = kc(i), { localScrollTarget: k, changeScrollEvent: y, unconfigureScrollTarget: x } = zm(i, ne), { anchorEl: C, canShow: E, anchorEvents: T } = bc({ showing: u, configureAnchorEl: z }), { show: H, hide: V } = jl({
8422
+ const s = je(), { proxy: { $q: l } } = s, a = J(null), u = J(!1), c = b(() => sl(i.anchor, l.lang.rtl)), h = b(() => sl(i.self, l.lang.rtl)), f = b(() => i.persistent !== !0), { registerTick: d, removeTick: m } = Or(), { registerTimeout: p } = Co(), { transitionProps: g, transitionStyle: y } = kc(i), { localScrollTarget: k, changeScrollEvent: v, unconfigureScrollTarget: x } = zm(i, ne), { anchorEl: C, canShow: E, anchorEvents: T } = bc({ showing: u, configureAnchorEl: z }), { show: H, hide: V } = jl({
8419
8423
  showing: u,
8420
8424
  canShow: E,
8421
8425
  handleShow: O,
@@ -8505,7 +8509,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", F1], ["__scopeId", "data-v-813eef2
8505
8509
  if (C.value !== null || i.scrollTarget !== void 0) {
8506
8510
  k.value = Qm(C.value, i.scrollTarget);
8507
8511
  const N = i.noParentEvent === !0 ? Y : V;
8508
- y(k.value, N);
8512
+ v(k.value, N);
8509
8513
  }
8510
8514
  }
8511
8515
  function I() {
@@ -8518,7 +8522,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", F1], ["__scopeId", "data-v-813eef2
8518
8522
  ],
8519
8523
  style: [
8520
8524
  n.style,
8521
- v.value
8525
+ y.value
8522
8526
  ],
8523
8527
  role: "tooltip"
8524
8528
  }, qt(e.default)) : null;
@@ -8612,18 +8616,18 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", F1], ["__scopeId", "data-v-813eef2
8612
8616
  }), g = b({
8613
8617
  get: () => Array.isArray(n.value) ? n.value : [],
8614
8618
  set: (V) => n.value = V
8615
- }), v = b(() => Array.isArray(t.schema.items) ? t.schema.items[0] : t.schema.items), k = () => {
8616
- if (!v.value) return;
8617
- const V = Fs.getDefaultValue(v.value);
8619
+ }), y = b(() => Array.isArray(t.schema.items) ? t.schema.items[0] : t.schema.items), k = () => {
8620
+ if (!y.value) return;
8621
+ const V = Fs.getDefaultValue(y.value);
8618
8622
  n.value = [...g.value, V];
8619
- }, y = (V) => {
8623
+ }, v = (V) => {
8620
8624
  const B = [...g.value];
8621
8625
  B.splice(V, 1), n.value = B;
8622
8626
  }, x = (V, B) => {
8623
8627
  if (B === "up" && V === 0 || B === "down" && V === g.value.length - 1) return;
8624
8628
  const D = [...g.value], R = B === "up" ? V - 1 : V + 1, O = D[V];
8625
8629
  D[V] = D[R], D[R] = O, n.value = D;
8626
- }, C = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), E = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), H = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: v, addItem: k, removeItem: y, moveItem: x, canAdd: C, canRemove: E, getItemLabel: (V) => {
8630
+ }, C = b(() => !(t.disabled || t.readonly || t.schema.maxItems && g.value.length >= t.schema.maxItems)), E = b(() => !(t.disabled || t.readonly || t.schema.minItems && g.value.length <= t.schema.minItems)), H = { props: t, value: n, label: r, hint: o, errorMessage: s, fieldId: l, quasarProps: a, fieldGap: u, formContext: c, sectionStyle: h, sectionStyleClass: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, arrayValue: g, itemsSchema: y, addItem: k, removeItem: v, moveItem: x, canAdd: C, canRemove: E, getItemLabel: (V) => {
8627
8631
  var R;
8628
8632
  const B = t.schema["x-item-label"];
8629
8633
  if (B === "none" || B === !1)
@@ -8639,7 +8643,7 @@ const sf = /* @__PURE__ */ Kt(B1, [["render", F1], ["__scopeId", "data-v-813eef2
8639
8643
  return P.trim();
8640
8644
  }
8641
8645
  }
8642
- return `${((R = v.value) == null ? void 0 : R.title) || "Item"} ${V + 1}`;
8646
+ return `${((R = y.value) == null ? void 0 : R.title) || "Item"} ${V + 1}`;
8643
8647
  }, get QCard() {
8644
8648
  return Oc;
8645
8649
  }, get QCardSection() {
@@ -8965,19 +8969,19 @@ const ix = /* @__PURE__ */ Pt({
8965
8969
  const T = d.value.addButtonPosition;
8966
8970
  return T === "top-right" || T === "bottom-right";
8967
8971
  }), g = b(() => d.value.addButtonPosition === "bottom-center");
8968
- let v = 0;
8969
- const k = J([]), y = J(!1);
8972
+ let y = 0;
8973
+ const k = J([]), v = J(!1);
8970
8974
  ve(
8971
8975
  () => n.value,
8972
8976
  (T) => {
8973
- if (y.value) {
8974
- y.value = !1;
8977
+ if (v.value) {
8978
+ v.value = !1;
8975
8979
  return;
8976
8980
  }
8977
8981
  T && typeof T == "object" && !Array.isArray(T) ? k.value = Object.entries(T).map(([H, V]) => ({
8978
8982
  key: H,
8979
8983
  value: String(V),
8980
- id: v++
8984
+ id: y++
8981
8985
  })) : k.value.length || (k.value = []);
8982
8986
  },
8983
8987
  { immediate: !0 }
@@ -8987,21 +8991,21 @@ const ix = /* @__PURE__ */ Pt({
8987
8991
  const H = {};
8988
8992
  T.forEach((V) => {
8989
8993
  V.key.trim() && (H[V.key] = d.value.inferTypes ? tx(V.value) : V.value);
8990
- }), y.value = !0, r(H);
8994
+ }), v.value = !0, r(H);
8991
8995
  },
8992
8996
  { deep: !0 }
8993
8997
  );
8994
8998
  function x() {
8995
- k.value.push({ key: "", value: "", id: v++ });
8999
+ k.value.push({ key: "", value: "", id: y++ });
8996
9000
  }
8997
9001
  function C(T) {
8998
9002
  k.value = k.value.filter((H) => H.id !== T);
8999
9003
  }
9000
9004
  const E = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, inputProps: c, fieldGap: h, formContext: f, quickformsFeatures: d, isTopPosition: m, isRightPosition: p, isCenterPosition: g, get nextId() {
9001
- return v;
9005
+ return y;
9002
9006
  }, set nextId(T) {
9003
- v = T;
9004
- }, pairs: k, isInternalUpdate: y, addPair: x, removePair: C, get QInput() {
9007
+ y = T;
9008
+ }, pairs: k, isInternalUpdate: v, addPair: x, removePair: C, get QInput() {
9005
9009
  return cr;
9006
9010
  }, get QBtn() {
9007
9011
  return It;
@@ -10651,12 +10655,12 @@ class al {
10651
10655
  if (l[m.id] = a.length << 1 | 1, qc(p, d))
10652
10656
  a.push(n.facet(m));
10653
10657
  else {
10654
- let g = m.combine(d.map((v) => v.value));
10658
+ let g = m.combine(d.map((y) => y.value));
10655
10659
  a.push(n && m.compare(g, n.facet(m)) ? n.facet(m) : g);
10656
10660
  }
10657
10661
  else {
10658
10662
  for (let g of d)
10659
- g.type == 0 ? (l[g.id] = a.length << 1 | 1, a.push(g.value)) : (l[g.id] = u.length << 1, u.push((v) => g.dynamicSlot(v)));
10663
+ g.type == 0 ? (l[g.id] = a.length << 1 | 1, a.push(g.value)) : (l[g.id] = u.length << 1, u.push((y) => g.dynamicSlot(y)));
10660
10664
  l[m.id] = u.length << 1, u.push((g) => kx(g, m, d));
10661
10665
  }
10662
10666
  }
@@ -12198,21 +12202,21 @@ function Fx(i, e, t, n, r, o, s, l) {
12198
12202
  bottom: k.top + c.clientHeight * p
12199
12203
  };
12200
12204
  }
12201
- let g = 0, v = 0;
12205
+ let g = 0, y = 0;
12202
12206
  if (r == "nearest")
12203
- e.top < f.top ? (v = e.top - (f.top + s), t > 0 && e.bottom > f.bottom + v && (v = e.bottom - f.bottom + s)) : e.bottom > f.bottom && (v = e.bottom - f.bottom + s, t < 0 && e.top - v < f.top && (v = e.top - (f.top + s)));
12207
+ e.top < f.top ? (y = e.top - (f.top + s), t > 0 && e.bottom > f.bottom + y && (y = e.bottom - f.bottom + s)) : e.bottom > f.bottom && (y = e.bottom - f.bottom + s, t < 0 && e.top - y < f.top && (y = e.top - (f.top + s)));
12204
12208
  else {
12205
- let k = e.bottom - e.top, y = f.bottom - f.top;
12206
- v = (r == "center" && k <= y ? e.top + k / 2 - y / 2 : r == "start" || r == "center" && t < 0 ? e.top - s : e.bottom - y + s) - f.top;
12209
+ let k = e.bottom - e.top, v = f.bottom - f.top;
12210
+ y = (r == "center" && k <= v ? e.top + k / 2 - v / 2 : r == "start" || r == "center" && t < 0 ? e.top - s : e.bottom - v + s) - f.top;
12207
12211
  }
12208
- if (n == "nearest" ? e.left < f.left ? (g = e.left - (f.left + o), t > 0 && e.right > f.right + g && (g = e.right - f.right + o)) : e.right > f.right && (g = e.right - f.right + o, t < 0 && e.left < f.left + g && (g = e.left - (f.left + o))) : g = (n == "center" ? e.left + (e.right - e.left) / 2 - (f.right - f.left) / 2 : n == "start" == l ? e.left - o : e.right - (f.right - f.left) + o) - f.left, g || v)
12212
+ if (n == "nearest" ? e.left < f.left ? (g = e.left - (f.left + o), t > 0 && e.right > f.right + g && (g = e.right - f.right + o)) : e.right > f.right && (g = e.right - f.right + o, t < 0 && e.left < f.left + g && (g = e.left - (f.left + o))) : g = (n == "center" ? e.left + (e.right - e.left) / 2 - (f.right - f.left) / 2 : n == "start" == l ? e.left - o : e.right - (f.right - f.left) + o) - f.left, g || y)
12209
12213
  if (d)
12210
- u.scrollBy(g, v);
12214
+ u.scrollBy(g, y);
12211
12215
  else {
12212
- let k = 0, y = 0;
12213
- if (v) {
12216
+ let k = 0, v = 0;
12217
+ if (y) {
12214
12218
  let x = c.scrollTop;
12215
- c.scrollTop += v / p, y = (c.scrollTop - x) * p;
12219
+ c.scrollTop += y / p, v = (c.scrollTop - x) * p;
12216
12220
  }
12217
12221
  if (g) {
12218
12222
  let x = c.scrollLeft;
@@ -12220,10 +12224,10 @@ function Fx(i, e, t, n, r, o, s, l) {
12220
12224
  }
12221
12225
  e = {
12222
12226
  left: e.left - k,
12223
- top: e.top - y,
12227
+ top: e.top - v,
12224
12228
  right: e.right - k,
12225
- bottom: e.bottom - y
12226
- }, k && Math.abs(k - g) < 1 && (n = "nearest"), y && Math.abs(y - v) < 1 && (r = "nearest");
12229
+ bottom: e.bottom - v
12230
+ }, k && Math.abs(k - g) < 1 && (n = "nearest"), v && Math.abs(v - y) < 1 && (r = "nearest");
12227
12231
  }
12228
12232
  if (d)
12229
12233
  break;
@@ -13481,8 +13485,8 @@ function ek(i, e, t, n, r) {
13481
13485
  if (d < 0) {
13482
13486
  for (let p = l - 3; p >= 0; p -= 3)
13483
13487
  if (Vi[p + 1] == -d) {
13484
- let g = Vi[p + 2], v = g & 2 ? r : g & 4 ? g & 1 ? o : r : 0;
13485
- v && (Ge[h] = Ge[Vi[p]] = v), l = p;
13488
+ let g = Vi[p + 2], y = g & 2 ? r : g & 4 ? g & 1 ? o : r : 0;
13489
+ y && (Ge[h] = Ge[Vi[p]] = y), l = p;
13486
13490
  break;
13487
13491
  }
13488
13492
  } else {
@@ -13494,13 +13498,13 @@ function ek(i, e, t, n, r) {
13494
13498
  let p = m == r;
13495
13499
  a = p ? 0 : 1;
13496
13500
  for (let g = l - 3; g >= 0; g -= 3) {
13497
- let v = Vi[g + 2];
13498
- if (v & 2)
13501
+ let y = Vi[g + 2];
13502
+ if (y & 2)
13499
13503
  break;
13500
13504
  if (p)
13501
13505
  Vi[g + 2] |= 2;
13502
13506
  else {
13503
- if (v & 4)
13507
+ if (y & 4)
13504
13508
  break;
13505
13509
  Vi[g + 2] |= 4;
13506
13510
  }
@@ -13549,11 +13553,11 @@ function Ru(i, e, t, n, r, o, s) {
13549
13553
  break e;
13550
13554
  let p = o[u];
13551
13555
  if (!c)
13552
- for (let g = p.to, v = u + 1; ; ) {
13556
+ for (let g = p.to, y = u + 1; ; ) {
13553
13557
  if (g == t)
13554
13558
  break e;
13555
- if (v < o.length && o[v].from == g)
13556
- g = o[v++].to;
13559
+ if (y < o.length && o[y].from == g)
13560
+ g = o[y++].to;
13557
13561
  else {
13558
13562
  if (Ge[g] == l)
13559
13563
  break e;
@@ -13589,11 +13593,11 @@ function Ru(i, e, t, n, r, o, s) {
13589
13593
  break e;
13590
13594
  let p = o[--u];
13591
13595
  if (!c)
13592
- for (let g = p.from, v = u; ; ) {
13596
+ for (let g = p.from, y = u; ; ) {
13593
13597
  if (g == e)
13594
13598
  break e;
13595
- if (v && o[v - 1].to == g)
13596
- g = o[--v].from;
13599
+ if (y && o[y - 1].to == g)
13600
+ g = o[--y].from;
13597
13601
  else {
13598
13602
  if (Ge[g - 1] == l)
13599
13603
  break e;
@@ -13965,8 +13969,8 @@ class Of extends Ke {
13965
13969
  C.breakAtStart ? E.breakAfter = 1 : C.content.length && E.merge(E.length, E.length, C.content[0], !1, C.openStart, 0) && (E.breakAfter = C.content[0].breakAfter, C.content.shift()), x.content.length && E.merge(0, 0, x.content[x.content.length - 1], !0, 0, x.openEnd) && x.content.pop(), f = x.content.concat(E).concat(C.content);
13966
13970
  } else
13967
13971
  ({ content: f, breakAtStart: d, openStart: m, openEnd: p } = vo.build(this.view.state.doc, c, h, this.decorations, this.dynamicDecorationMap));
13968
- let { i: g, off: v } = o.findPos(u, 1), { i: k, off: y } = o.findPos(a, -1);
13969
- Wg(this, k, y, g, v, f, d, m, p);
13972
+ let { i: g, off: y } = o.findPos(u, 1), { i: k, off: v } = o.findPos(a, -1);
13973
+ Wg(this, k, v, g, y, f, d, m, p);
13970
13974
  }
13971
13975
  n && this.fixCompositionDOM(n);
13972
13976
  }
@@ -14158,8 +14162,8 @@ class Of extends Ke {
14158
14162
  if (t.push(d.height), s) {
14159
14163
  let m = h.dom.lastChild, p = m ? Fr(m) : [];
14160
14164
  if (p.length) {
14161
- let g = p[p.length - 1], v = a ? g.right - d.left : d.right - g.left;
14162
- v > l && (l = v, this.minWidth = o, this.minWidthFrom = u, this.minWidthTo = f);
14165
+ let g = p[p.length - 1], y = a ? g.right - d.left : d.right - g.left;
14166
+ y > l && (l = y, this.minWidth = o, this.minWidthFrom = u, this.minWidthTo = f);
14163
14167
  }
14164
14168
  }
14165
14169
  }
@@ -14383,12 +14387,12 @@ function Iu(i, e, t) {
14383
14387
  for (let m = i.firstChild; m; m = m.nextSibling) {
14384
14388
  let p = Fr(m);
14385
14389
  for (let g = 0; g < p.length; g++) {
14386
- let v = p[g];
14387
- r && _a(r, v) && (v = Tf(Df(v, r.bottom), r.top));
14388
- let k = mk(e, v), y = gk(t, v);
14389
- if (k == 0 && y == 0)
14390
+ let y = p[g];
14391
+ r && _a(r, y) && (y = Tf(Df(y, r.bottom), r.top));
14392
+ let k = mk(e, y), v = gk(t, y);
14393
+ if (k == 0 && v == 0)
14390
14394
  return m.nodeType == 3 ? qf(m, e, t) : Iu(m, e, t);
14391
- (!n || s > y || s == y && o > k) && (n = m, r = v, o = k, s = y, l = k ? e < v.left ? g > 0 : g < p.length - 1 : !0), k == 0 ? t > v.bottom && (!c || c.bottom < v.bottom) ? (a = m, c = v) : t < v.top && (!h || h.top > v.top) && (u = m, h = v) : c && _a(c, v) ? c = Df(c, v.bottom) : h && _a(h, v) && (h = Tf(h, v.top));
14395
+ (!n || s > v || s == v && o > k) && (n = m, r = y, o = k, s = v, l = k ? e < y.left ? g > 0 : g < p.length - 1 : !0), k == 0 ? t > y.bottom && (!c || c.bottom < y.bottom) ? (a = m, c = y) : t < y.top && (!h || h.top > y.top) && (u = m, h = y) : c && _a(c, y) ? c = Df(c, y.bottom) : h && _a(h, y) && (h = Tf(h, y.top));
14392
14396
  }
14393
14397
  }
14394
14398
  if (c && c.bottom >= t ? (n = a, r = c) : h && h.top <= t && (n = u, r = h), !n)
@@ -14446,31 +14450,31 @@ function pp(i, e, t, n = -1) {
14446
14450
  return i.viewport.to == i.state.doc.length ? i.state.doc.length : t ? null : Pf(i, s, a, c, h);
14447
14451
  let m = i.dom.ownerDocument, p = i.root.elementFromPoint ? i.root : m, g = p.elementFromPoint(c, h);
14448
14452
  g && !i.contentDOM.contains(g) && (g = null), g || (c = Math.max(s.left + 1, Math.min(s.right - 1, c)), g = p.elementFromPoint(c, h), g && !i.contentDOM.contains(g) && (g = null));
14449
- let v, k = -1;
14453
+ let y, k = -1;
14450
14454
  if (g && ((r = i.docView.nearest(g)) === null || r === void 0 ? void 0 : r.isEditable) != !1) {
14451
14455
  if (m.caretPositionFromPoint) {
14452
14456
  let x = m.caretPositionFromPoint(c, h);
14453
- x && ({ offsetNode: v, offset: k } = x);
14457
+ x && ({ offsetNode: y, offset: k } = x);
14454
14458
  } else if (m.caretRangeFromPoint) {
14455
14459
  let x = m.caretRangeFromPoint(c, h);
14456
- x && ({ startContainer: v, startOffset: k } = x);
14460
+ x && ({ startContainer: y, startOffset: k } = x);
14457
14461
  }
14458
- v && (!i.contentDOM.contains(v) || ue.safari && pk(v, k, c) || ue.chrome && vk(v, k, c)) && (v = void 0), v && (k = Math.min(Ji(v), k));
14462
+ y && (!i.contentDOM.contains(y) || ue.safari && pk(y, k, c) || ue.chrome && vk(y, k, c)) && (y = void 0), y && (k = Math.min(Ji(y), k));
14459
14463
  }
14460
- if (!v || !i.docView.dom.contains(v)) {
14464
+ if (!y || !i.docView.dom.contains(y)) {
14461
14465
  let x = bt.find(i.docView, d);
14462
14466
  if (!x)
14463
14467
  return f > a.top + a.height / 2 ? a.to : a.from;
14464
- ({ node: v, offset: k } = Iu(x.dom, c, h));
14468
+ ({ node: y, offset: k } = Iu(x.dom, c, h));
14465
14469
  }
14466
- let y = i.docView.nearest(v);
14467
- if (!y)
14470
+ let v = i.docView.nearest(y);
14471
+ if (!v)
14468
14472
  return null;
14469
- if (y.isWidget && ((o = y.dom) === null || o === void 0 ? void 0 : o.nodeType) == 1) {
14470
- let x = y.dom.getBoundingClientRect();
14471
- return e.y < x.top || e.y <= x.bottom && e.x <= (x.left + x.right) / 2 ? y.posAtStart : y.posAtEnd;
14473
+ if (v.isWidget && ((o = v.dom) === null || o === void 0 ? void 0 : o.nodeType) == 1) {
14474
+ let x = v.dom.getBoundingClientRect();
14475
+ return e.y < x.top || e.y <= x.bottom && e.x <= (x.left + x.right) / 2 ? v.posAtStart : v.posAtEnd;
14472
14476
  } else
14473
- return y.localPosFromDOM(v, k) + y.posAtStart;
14477
+ return v.localPosFromDOM(y, k) + v.posAtStart;
14474
14478
  }
14475
14479
  function Pf(i, e, t, n, r) {
14476
14480
  let o = Math.round((n - e.left) * i.defaultCharacterWidth);
@@ -14589,8 +14593,8 @@ function xk(i, e, t, n) {
14589
14593
  for (let d = 0; ; d += 10) {
14590
14594
  let m = l + (f + d) * o, p = pp(i, { x: h, y: m }, !1, o);
14591
14595
  if (m < a.top || m > a.bottom || (o < 0 ? p < r : p > r)) {
14592
- let g = i.docView.coordsForChar(p), v = !g || m < g.top ? -1 : 1;
14593
- return K.cursor(p, v, void 0, s);
14596
+ let g = i.docView.coordsForChar(p), y = !g || m < g.top ? -1 : 1;
14597
+ return K.cursor(p, y, void 0, s);
14594
14598
  }
14595
14599
  }
14596
14600
  }
@@ -14814,10 +14818,10 @@ function Mk(i, e, t) {
14814
14818
  // ignored.
14815
14819
  p >= h.from && g <= h.to)
14816
14820
  return { range: m };
14817
- let v = r.changes({ from: g, to: p, insert: e.insert }), k = m.to - o.to;
14821
+ let y = r.changes({ from: g, to: p, insert: e.insert }), k = m.to - o.to;
14818
14822
  return {
14819
- changes: v,
14820
- range: u ? K.range(Math.max(0, u.anchor + k), Math.max(0, u.head + k)) : m.map(v)
14823
+ changes: y,
14824
+ range: u ? K.range(Math.max(0, u.anchor + k), Math.max(0, u.head + k)) : m.map(y)
14821
14825
  };
14822
14826
  });
14823
14827
  } else
@@ -15914,8 +15918,8 @@ class Uf {
15914
15918
  this.scrollTop != d && (this.scrollAnchorHeight = -1, this.scrollTop = d), this.scrolledToBottom = Ng(e.scrollDOM);
15915
15919
  let m = (this.printing ? Zk : Xk)(t, this.paddingTop), p = m.top - this.pixelViewport.top, g = m.bottom - this.pixelViewport.bottom;
15916
15920
  this.pixelViewport = m;
15917
- let v = this.pixelViewport.bottom > this.pixelViewport.top && this.pixelViewport.right > this.pixelViewport.left;
15918
- if (v != this.inView && (this.inView = v, v && (a = !0)), !this.inView && !this.scrollTarget && !$k(e.dom))
15921
+ let y = this.pixelViewport.bottom > this.pixelViewport.top && this.pixelViewport.right > this.pixelViewport.left;
15922
+ if (y != this.inView && (this.inView = y, y && (a = !0)), !this.inView && !this.scrollTarget && !$k(e.dom))
15919
15923
  return 0;
15920
15924
  let k = l.width;
15921
15925
  if ((this.contentDOMWidth != k || this.editorHeight != e.scrollDOM.clientHeight) && (this.contentDOMWidth = l.width, this.editorHeight = e.scrollDOM.clientHeight, u |= 16), a) {
@@ -15931,8 +15935,8 @@ class Uf {
15931
15935
  }
15932
15936
  zr && (u |= 2);
15933
15937
  }
15934
- let y = !this.viewportIsAppropriate(this.viewport, c) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
15935
- return y && (u & 2 && (u |= this.updateScaler()), this.viewport = this.getViewport(c, this.scrollTarget), u |= this.updateForViewport()), (u & 2 || y) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(s ? [] : this.lineGaps, e)), u |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, e.docView.enforceCursorAssoc()), u;
15938
+ let v = !this.viewportIsAppropriate(this.viewport, c) || this.scrollTarget && (this.scrollTarget.range.head < this.viewport.from || this.scrollTarget.range.head > this.viewport.to);
15939
+ return v && (u & 2 && (u |= this.updateScaler()), this.viewport = this.getViewport(c, this.scrollTarget), u |= this.updateForViewport()), (u & 2 || v) && this.updateViewportLines(), (this.lineGaps.length || this.viewport.to - this.viewport.from > 4e3) && this.updateLineGaps(this.ensureLineGaps(s ? [] : this.lineGaps, e)), u |= this.computeVisibleRanges(), this.mustEnforceCursorAssoc && (this.mustEnforceCursorAssoc = !1, e.docView.enforceCursorAssoc()), u;
15936
15940
  }
15937
15941
  get visibleTop() {
15938
15942
  return this.scaler.fromDOM(this.pixelViewport.top);
@@ -15995,19 +15999,19 @@ class Uf {
15995
15999
  return;
15996
16000
  let m = this.state.selection.main, p = [m.from];
15997
16001
  m.empty || p.push(m.to);
15998
- for (let v of p)
15999
- if (v > c && v < h) {
16000
- a(c, v - 10, f, d), a(v + 10, h, f, d);
16002
+ for (let y of p)
16003
+ if (y > c && y < h) {
16004
+ a(c, y - 10, f, d), a(y + 10, h, f, d);
16001
16005
  return;
16002
16006
  }
16003
- let g = iw(e, (v) => v.from >= f.from && v.to <= f.to && Math.abs(v.from - c) < o && Math.abs(v.to - h) < o && !p.some((k) => v.from < k && v.to > k));
16007
+ let g = iw(e, (y) => y.from >= f.from && y.to <= f.to && Math.abs(y.from - c) < o && Math.abs(y.to - h) < o && !p.some((k) => y.from < k && y.to > k));
16004
16008
  if (!g) {
16005
- if (h < f.to && t && n && t.visibleRanges.some((y) => y.from <= h && y.to >= h)) {
16006
- let y = t.moveToLineBoundary(K.cursor(h), !1, !0).head;
16007
- y > c && (h = y);
16009
+ if (h < f.to && t && n && t.visibleRanges.some((v) => v.from <= h && v.to >= h)) {
16010
+ let v = t.moveToLineBoundary(K.cursor(h), !1, !0).head;
16011
+ v > c && (h = v);
16008
16012
  }
16009
- let v = this.gapSize(f, c, h, d), k = n || v < 2e6 ? v : 2e6;
16010
- g = new Ra(c, h, v, k);
16013
+ let y = this.gapSize(f, c, h, d), k = n || y < 2e6 ? y : 2e6;
16014
+ g = new Ra(c, h, y, k);
16011
16015
  }
16012
16016
  l.push(g);
16013
16017
  }, u = (c) => {
@@ -16018,24 +16022,24 @@ class Uf {
16018
16022
  return;
16019
16023
  let f = this.scrollTarget ? this.scrollTarget.range.head : null, d, m;
16020
16024
  if (n) {
16021
- let p = r / this.heightOracle.lineLength * this.heightOracle.lineHeight, g, v;
16025
+ let p = r / this.heightOracle.lineLength * this.heightOracle.lineHeight, g, y;
16022
16026
  if (f != null) {
16023
- let k = xs(h, f), y = ((this.visibleBottom - this.visibleTop) / 2 + p) / c.height;
16024
- g = k - y, v = k + y;
16027
+ let k = xs(h, f), v = ((this.visibleBottom - this.visibleTop) / 2 + p) / c.height;
16028
+ g = k - v, y = k + v;
16025
16029
  } else
16026
- g = (this.visibleTop - c.top - p) / c.height, v = (this.visibleBottom - c.top + p) / c.height;
16027
- d = bs(h, g), m = bs(h, v);
16030
+ g = (this.visibleTop - c.top - p) / c.height, y = (this.visibleBottom - c.top + p) / c.height;
16031
+ d = bs(h, g), m = bs(h, y);
16028
16032
  } else {
16029
- let p = h.total * this.heightOracle.charWidth, g = r * this.heightOracle.charWidth, v = 0;
16033
+ let p = h.total * this.heightOracle.charWidth, g = r * this.heightOracle.charWidth, y = 0;
16030
16034
  if (p > 2e6)
16031
16035
  for (let E of e)
16032
- E.from >= c.from && E.from < c.to && E.size != E.displaySize && E.from * this.heightOracle.charWidth + v < this.pixelViewport.left && (v = E.size - E.displaySize);
16033
- let k = this.pixelViewport.left + v, y = this.pixelViewport.right + v, x, C;
16036
+ E.from >= c.from && E.from < c.to && E.size != E.displaySize && E.from * this.heightOracle.charWidth + y < this.pixelViewport.left && (y = E.size - E.displaySize);
16037
+ let k = this.pixelViewport.left + y, v = this.pixelViewport.right + y, x, C;
16034
16038
  if (f != null) {
16035
- let E = xs(h, f), T = ((y - k) / 2 + g) / p;
16039
+ let E = xs(h, f), T = ((v - k) / 2 + g) / p;
16036
16040
  x = E - T, C = E + T;
16037
16041
  } else
16038
- x = (k - g) / p, C = (y + g) / p;
16042
+ x = (k - g) / p, C = (v + g) / p;
16039
16043
  d = bs(h, x), m = bs(h, C);
16040
16044
  }
16041
16045
  d > c.from && a(c.from, d, c, h), m < c.to && a(m, c.to, c, h);
@@ -17685,14 +17689,14 @@ function mw(i, e = uw) {
17685
17689
  throw new Error("Key binding " + s + " is used both as a regular binding and as a multi-stroke prefix");
17686
17690
  }, o = (s, l, a, u, c) => {
17687
17691
  var h, f;
17688
- let d = t[s] || (t[s] = /* @__PURE__ */ Object.create(null)), m = l.split(/ (?!$)/).map((v) => cw(v, e));
17689
- for (let v = 1; v < m.length; v++) {
17690
- let k = m.slice(0, v).join(" ");
17692
+ let d = t[s] || (t[s] = /* @__PURE__ */ Object.create(null)), m = l.split(/ (?!$)/).map((y) => cw(y, e));
17693
+ for (let y = 1; y < m.length; y++) {
17694
+ let k = m.slice(0, y).join(" ");
17691
17695
  r(k, !0), d[k] || (d[k] = {
17692
17696
  preventDefault: !0,
17693
17697
  stopPropagation: !1,
17694
- run: [(y) => {
17695
- let x = kn = { view: y, prefix: k, scope: s };
17698
+ run: [(v) => {
17699
+ let x = kn = { view: v, prefix: k, scope: s };
17696
17700
  return setTimeout(() => {
17697
17701
  kn == x && (kn = null);
17698
17702
  }, dw), !0;
@@ -17732,8 +17736,8 @@ function Rp(i, e, t, n) {
17732
17736
  kn && kn.view == t && kn.scope == n && (l = kn.prefix + " ", wp.indexOf(e.keyCode) < 0 && (u = !0, kn = null));
17733
17737
  let h = /* @__PURE__ */ new Set(), f = (g) => {
17734
17738
  if (g) {
17735
- for (let v of g.run)
17736
- if (!h.has(v) && (h.add(v), v(t)))
17739
+ for (let y of g.run)
17740
+ if (!h.has(y) && (h.add(y), y(t)))
17737
17741
  return g.stopPropagation && (c = !0), !0;
17738
17742
  g.preventDefault && (g.stopPropagation && (c = !0), u = !0);
17739
17743
  }
@@ -17798,21 +17802,21 @@ function gw(i, e, t) {
17798
17802
  return [];
17799
17803
  let n = Math.max(t.from, i.viewport.from), r = Math.min(t.to, i.viewport.to), o = i.textDirection == st.LTR, s = i.contentDOM, l = s.getBoundingClientRect(), a = Ep(i), u = s.querySelector(".cm-line"), c = u && window.getComputedStyle(u), h = l.left + (c ? parseInt(c.paddingLeft) + Math.min(0, parseInt(c.textIndent)) : 0), f = l.right - (c ? parseInt(c.paddingRight) : 0), d = Vu(i, n, 1), m = Vu(i, r, -1), p = d.type == ni.Text ? d : null, g = m.type == ni.Text ? m : null;
17800
17804
  if (p && (i.lineWrapping || d.widgetLineBreaks) && (p = Zf(i, n, 1, p)), g && (i.lineWrapping || m.widgetLineBreaks) && (g = Zf(i, r, -1, g)), p && g && p.from == g.from && p.to == g.to)
17801
- return k(y(t.from, t.to, p));
17805
+ return k(v(t.from, t.to, p));
17802
17806
  {
17803
- let C = p ? y(t.from, null, p) : x(d, !1), E = g ? y(null, t.to, g) : x(m, !0), T = [];
17804
- return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < E.top ? T.push(v(h, C.bottom, f, E.top)) : C.bottom < E.top && i.elementAtHeight((C.bottom + E.top) / 2).type == ni.Text && (C.bottom = E.top = (C.bottom + E.top) / 2), k(C).concat(T).concat(k(E));
17807
+ let C = p ? v(t.from, null, p) : x(d, !1), E = g ? v(null, t.to, g) : x(m, !0), T = [];
17808
+ return (p || d).to < (g || m).from - (p && g ? 1 : 0) || d.widgetLineBreaks > 1 && C.bottom + i.defaultLineHeight / 2 < E.top ? T.push(y(h, C.bottom, f, E.top)) : C.bottom < E.top && i.elementAtHeight((C.bottom + E.top) / 2).type == ni.Text && (C.bottom = E.top = (C.bottom + E.top) / 2), k(C).concat(T).concat(k(E));
17805
17809
  }
17806
- function v(C, E, T, H) {
17810
+ function y(C, E, T, H) {
17807
17811
  return new Xo(e, C - a.left, E - a.top, T - C, H - E);
17808
17812
  }
17809
17813
  function k({ top: C, bottom: E, horizontal: T }) {
17810
17814
  let H = [];
17811
17815
  for (let V = 0; V < T.length; V += 2)
17812
- H.push(v(T[V], C, T[V + 1], E));
17816
+ H.push(y(T[V], C, T[V + 1], E));
17813
17817
  return H;
17814
17818
  }
17815
- function y(C, E, T) {
17819
+ function v(C, E, T) {
17816
17820
  let H = 1e9, V = -1e9, B = [];
17817
17821
  function D(P, F, Y, M, q) {
17818
17822
  let z = i.coordsAtPos(P, P == T.to ? -2 : 2), ne = i.coordsAtPos(Y, Y == T.from ? 2 : -2);
@@ -18099,7 +18103,7 @@ class Mw {
18099
18103
  break;
18100
18104
  }
18101
18105
  }
18102
- let f = [], d, m = (p, g, v) => f.push(v.range(p, g));
18106
+ let f = [], d, m = (p, g, y) => f.push(y.range(p, g));
18103
18107
  if (a == u)
18104
18108
  for (this.regexp.lastIndex = c - a.from; (d = this.regexp.exec(a.text)) && d.index < h - a.from; )
18105
18109
  this.addMatch(d, e, d.index + a.from, m);
@@ -18524,8 +18528,8 @@ const Ia = /* @__PURE__ */ de.define({
18524
18528
  c.style.top = Ss;
18525
18529
  continue;
18526
18530
  }
18527
- let d = a.arrow ? u.dom.querySelector(".cm-tooltip-arrow") : null, m = d ? 7 : 0, p = f.right - f.left, g = (e = rd.get(u)) !== null && e !== void 0 ? e : f.bottom - f.top, v = u.offset || Gw, k = this.view.textDirection == st.LTR, y = f.width > n.right - n.left ? k ? n.left : n.right - f.width : k ? Math.max(n.left, Math.min(h.left - (d ? 14 : 0) + v.x, n.right - p)) : Math.min(Math.max(n.left, h.left - p + (d ? 14 : 0) - v.x), n.right - p), x = this.above[l];
18528
- !a.strictSide && (x ? h.top - g - m - v.y < n.top : h.bottom + g + m + v.y > n.bottom) && x == n.bottom - h.bottom > h.top - n.top && (x = this.above[l] = !x);
18531
+ let d = a.arrow ? u.dom.querySelector(".cm-tooltip-arrow") : null, m = d ? 7 : 0, p = f.right - f.left, g = (e = rd.get(u)) !== null && e !== void 0 ? e : f.bottom - f.top, y = u.offset || Gw, k = this.view.textDirection == st.LTR, v = f.width > n.right - n.left ? k ? n.left : n.right - f.width : k ? Math.max(n.left, Math.min(h.left - (d ? 14 : 0) + y.x, n.right - p)) : Math.min(Math.max(n.left, h.left - p + (d ? 14 : 0) - y.x), n.right - p), x = this.above[l];
18532
+ !a.strictSide && (x ? h.top - g - m - y.y < n.top : h.bottom + g + m + y.y > n.bottom) && x == n.bottom - h.bottom > h.top - n.top && (x = this.above[l] = !x);
18529
18533
  let C = (x ? h.top - n.top : n.bottom - h.bottom) - m;
18530
18534
  if (C < g && u.resize !== !1) {
18531
18535
  if (C < this.view.defaultLineHeight) {
@@ -18534,15 +18538,15 @@ const Ia = /* @__PURE__ */ de.define({
18534
18538
  }
18535
18539
  rd.set(u, g), c.style.height = (g = C) / o + "px";
18536
18540
  } else c.style.height && (c.style.height = "");
18537
- let E = x ? h.top - g - m - v.y : h.bottom + m + v.y, T = y + p;
18541
+ let E = x ? h.top - g - m - y.y : h.bottom + m + y.y, T = v + p;
18538
18542
  if (u.overlap !== !0)
18539
18543
  for (let H of s)
18540
- H.left < T && H.right > y && H.top < E + g && H.bottom > E && (E = x ? H.top - g - 2 - m : H.bottom + m + 2);
18541
- if (this.position == "absolute" ? (c.style.top = (E - i.parent.top) / o + "px", od(c, (y - i.parent.left) / r)) : (c.style.top = E / o + "px", od(c, y / r)), d) {
18542
- let H = h.left + (k ? v.x : -v.x) - (y + 14 - 7);
18544
+ H.left < T && H.right > v && H.top < E + g && H.bottom > E && (E = x ? H.top - g - 2 - m : H.bottom + m + 2);
18545
+ if (this.position == "absolute" ? (c.style.top = (E - i.parent.top) / o + "px", od(c, (v - i.parent.left) / r)) : (c.style.top = E / o + "px", od(c, v / r)), d) {
18546
+ let H = h.left + (k ? y.x : -y.x) - (v + 14 - 7);
18543
18547
  d.style.left = H / r + "px";
18544
18548
  }
18545
- u.overlap !== !0 && s.push({ left: y, top: E, right: T, bottom: E + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18549
+ u.overlap !== !0 && s.push({ left: v, top: E, right: T, bottom: E + g }), c.classList.toggle("cm-tooltip-above", x), c.classList.toggle("cm-tooltip-below", !x), u.positioned && u.positioned(i.space);
18546
18550
  }
18547
18551
  }
18548
18552
  maybeMeasure() {
@@ -20363,7 +20367,7 @@ function yS(i) {
20363
20367
  if (O - R <= r && (z = g(l.pos - E, V))) {
20364
20368
  let I = new Uint16Array(z.size - z.skip), w = l.pos - z.size, N = I.length;
20365
20369
  for (; l.pos > w; )
20366
- N = v(z.start, I, N);
20370
+ N = y(z.start, I, N);
20367
20371
  q = new Rn(I, O - z.start, n), ne = z.start - C;
20368
20372
  } else {
20369
20373
  let I = l.pos - P;
@@ -20451,24 +20455,24 @@ function yS(i) {
20451
20455
  }
20452
20456
  return (E < 0 || H == C) && (R.size = H, R.start = V, R.skip = B), R.size > 4 ? R : void 0;
20453
20457
  }
20454
- function v(C, E, T) {
20458
+ function y(C, E, T) {
20455
20459
  let { id: H, start: V, end: B, size: D } = l;
20456
20460
  if (l.next(), D >= 0 && H < s) {
20457
20461
  let R = T;
20458
20462
  if (D > 4) {
20459
20463
  let O = l.pos - (D - 4);
20460
20464
  for (; l.pos > O; )
20461
- T = v(C, E, T);
20465
+ T = y(C, E, T);
20462
20466
  }
20463
20467
  E[--T] = R, E[--T] = B - C, E[--T] = V - C, E[--T] = H;
20464
20468
  } else D == -3 ? u = H : D == -4 && (c = H);
20465
20469
  return T;
20466
20470
  }
20467
- let k = [], y = [];
20471
+ let k = [], v = [];
20468
20472
  for (; l.pos > 0; )
20469
- h(i.start || 0, i.bufferStart || 0, k, y, -1, 0);
20470
- let x = (e = i.length) !== null && e !== void 0 ? e : k.length ? y[0] + k[0].length : 0;
20471
- return new xt(a[i.topID], k.reverse(), y.reverse(), x);
20473
+ h(i.start || 0, i.bufferStart || 0, k, v, -1, 0);
20474
+ let x = (e = i.length) !== null && e !== void 0 ? e : k.length ? v[0] + k[0].length : 0;
20475
+ return new xt(a[i.topID], k.reverse(), v.reverse(), x);
20472
20476
  }
20473
20477
  const md = /* @__PURE__ */ new WeakMap();
20474
20478
  function Ys(i, e) {
@@ -20496,16 +20500,16 @@ function Qc(i, e, t, n, r, o, s, l, a) {
20496
20500
  u * 1.5 / 8
20497
20501
  /* Balance.BranchFactor */
20498
20502
  ), h = [], f = [];
20499
- function d(m, p, g, v, k) {
20500
- for (let y = g; y < v; ) {
20501
- let x = y, C = p[y], E = Ys(i, m[y]);
20502
- for (y++; y < v; y++) {
20503
- let T = Ys(i, m[y]);
20503
+ function d(m, p, g, y, k) {
20504
+ for (let v = g; v < y; ) {
20505
+ let x = v, C = p[v], E = Ys(i, m[v]);
20506
+ for (v++; v < y; v++) {
20507
+ let T = Ys(i, m[v]);
20504
20508
  if (E + T >= c)
20505
20509
  break;
20506
20510
  E += T;
20507
20511
  }
20508
- if (y == x + 1) {
20512
+ if (v == x + 1) {
20509
20513
  if (E > c) {
20510
20514
  let T = m[x];
20511
20515
  d(T.children, T.positions, 0, T.children.length, p[x] + k);
@@ -20513,8 +20517,8 @@ function Qc(i, e, t, n, r, o, s, l, a) {
20513
20517
  }
20514
20518
  h.push(m[x]);
20515
20519
  } else {
20516
- let T = p[y - 1] + m[y - 1].length - C;
20517
- h.push(Qc(i, m, p, x, y, C, T, null, a));
20520
+ let T = p[v - 1] + m[v - 1].length - C;
20521
+ h.push(Qc(i, m, p, x, v, C, T, null, a));
20518
20522
  }
20519
20523
  f.push(C + k - o);
20520
20524
  }
@@ -20831,14 +20835,14 @@ class AS {
20831
20835
  let f = e.tree && e.tree.prop(Pe.mounted);
20832
20836
  if (f && f.overlay) {
20833
20837
  let d = e.node.enter(f.overlay[0].from + l, 1), m = this.highlighters.filter((g) => !g.scope || g.scope(f.tree.type)), p = e.firstChild();
20834
- for (let g = 0, v = l; ; g++) {
20835
- let k = g < f.overlay.length ? f.overlay[g] : null, y = k ? k.from + l : a, x = Math.max(t, v), C = Math.min(n, y);
20838
+ for (let g = 0, y = l; ; g++) {
20839
+ let k = g < f.overlay.length ? f.overlay[g] : null, v = k ? k.from + l : a, x = Math.max(t, y), C = Math.min(n, v);
20836
20840
  if (x < C && p)
20837
- for (; e.from < C && (this.highlightRange(e, x, C, r, o), this.startSpan(Math.min(C, e.to), u), !(e.to >= y || !e.nextSibling())); )
20841
+ for (; e.from < C && (this.highlightRange(e, x, C, r, o), this.startSpan(Math.min(C, e.to), u), !(e.to >= v || !e.nextSibling())); )
20838
20842
  ;
20839
- if (!k || y > n)
20843
+ if (!k || v > n)
20840
20844
  break;
20841
- v = k.to + l, v > t && (this.highlightRange(d.cursor(), Math.max(t, k.from + l), Math.min(n, v), "", m), this.startSpan(Math.min(n, v), u));
20845
+ y = k.to + l, y > t && (this.highlightRange(d.cursor(), Math.max(t, k.from + l), Math.min(n, y), "", m), this.startSpan(Math.min(n, y), u));
20842
20846
  }
20843
20847
  p && e.parent();
20844
20848
  } else if (e.firstChild()) {
@@ -22451,13 +22455,13 @@ function pC(i, e, t, n, r, o, s) {
22451
22455
  t < 0 && (f += d.length);
22452
22456
  let m = e + f * t;
22453
22457
  for (let p = t > 0 ? 0 : d.length - 1, g = t > 0 ? d.length : -1; p != g; p += t) {
22454
- let v = s.indexOf(d[p]);
22455
- if (!(v < 0 || n.resolveInner(m + p, 1).type != r))
22456
- if (v % 2 == 0 == t > 0)
22458
+ let y = s.indexOf(d[p]);
22459
+ if (!(y < 0 || n.resolveInner(m + p, 1).type != r))
22460
+ if (y % 2 == 0 == t > 0)
22457
22461
  h++;
22458
22462
  else {
22459
22463
  if (h == 1)
22460
- return { start: u, end: { from: m + p, to: m + p + 1 }, matched: v >> 1 == a >> 1 };
22464
+ return { start: u, end: { from: m + p, to: m + p + 1 }, matched: y >> 1 == a >> 1 };
22461
22465
  h--;
22462
22466
  }
22463
22467
  }
@@ -24254,33 +24258,33 @@ class hA {
24254
24258
  return null;
24255
24259
  let { chars: t, folded: n, any: r, precise: o, byWord: s } = this;
24256
24260
  if (t.length == 1) {
24257
- let k = oi(e, 0), y = ji(k), x = y == e.length ? 0 : -100;
24261
+ let k = oi(e, 0), v = ji(k), x = v == e.length ? 0 : -100;
24258
24262
  if (k != t[0]) if (k == n[0])
24259
24263
  x += -200;
24260
24264
  else
24261
24265
  return null;
24262
- return this.ret(x, [0, y]);
24266
+ return this.ret(x, [0, v]);
24263
24267
  }
24264
24268
  let l = e.indexOf(this.pattern);
24265
24269
  if (l == 0)
24266
24270
  return this.ret(e.length == this.pattern.length ? 0 : -100, [0, this.pattern.length]);
24267
24271
  let a = t.length, u = 0;
24268
24272
  if (l < 0) {
24269
- for (let k = 0, y = Math.min(e.length, 200); k < y && u < a; ) {
24273
+ for (let k = 0, v = Math.min(e.length, 200); k < v && u < a; ) {
24270
24274
  let x = oi(e, k);
24271
24275
  (x == t[u] || x == n[u]) && (r[u++] = k), k += ji(x);
24272
24276
  }
24273
24277
  if (u < a)
24274
24278
  return null;
24275
24279
  }
24276
- let c = 0, h = 0, f = !1, d = 0, m = -1, p = -1, g = /[a-z]/.test(e), v = !0;
24277
- for (let k = 0, y = Math.min(e.length, 200), x = 0; k < y && h < a; ) {
24280
+ let c = 0, h = 0, f = !1, d = 0, m = -1, p = -1, g = /[a-z]/.test(e), y = !0;
24281
+ for (let k = 0, v = Math.min(e.length, 200), x = 0; k < v && h < a; ) {
24278
24282
  let C = oi(e, k);
24279
24283
  l < 0 && (c < a && C == t[c] && (o[c++] = k), d < a && (C == t[d] || C == n[d] ? (d == 0 && (m = k), p = k + 1, d++) : d = 0));
24280
24284
  let E, T = C < 255 ? C >= 48 && C <= 57 || C >= 97 && C <= 122 ? 2 : C >= 65 && C <= 90 ? 1 : 0 : (E = Tc(C)) != E.toLowerCase() ? 1 : E != E.toUpperCase() ? 2 : 0;
24281
- (!k || T == 1 && g || x == 0 && T != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (v = !1)), x = T, k += ji(C);
24285
+ (!k || T == 1 && g || x == 0 && T != 0) && (t[h] == C || n[h] == C && (f = !0) ? s[h++] = k : s.length && (y = !1)), x = T, k += ji(C);
24282
24286
  }
24283
- return h == a && s[0] == 0 && v ? this.result(-100 + (f ? -200 : 0), s, e) : d == a && m == 0 ? this.ret(-200 - e.length + (p == e.length ? 0 : -100), [0, p]) : l > -1 ? this.ret(-700 - e.length, [l, l + this.pattern.length]) : d == a ? this.ret(-900 - e.length, [m, p]) : h == a ? this.result(-100 + (f ? -200 : 0) + -700 + (v ? 0 : -1100), s, e) : t.length == 2 ? null : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
24287
+ return h == a && s[0] == 0 && y ? this.result(-100 + (f ? -200 : 0), s, e) : d == a && m == 0 ? this.ret(-200 - e.length + (p == e.length ? 0 : -100), [0, p]) : l > -1 ? this.ret(-700 - e.length, [l, l + this.pattern.length]) : d == a ? this.ret(-900 - e.length, [m, p]) : h == a ? this.result(-100 + (f ? -200 : 0) + -700 + (y ? 0 : -1100), s, e) : t.length == 2 ? null : this.result((r[0] ? -700 : 0) + -200 + -1100, r, e);
24284
24288
  }
24285
24289
  result(e, t, n) {
24286
24290
  let r = [], o = 0;
@@ -24350,9 +24354,9 @@ function dA(i, e, t, n, r, o) {
24350
24354
  let k = r.bottom - e.bottom;
24351
24355
  k >= p || k > e.top ? c = t.bottom - e.top : (u = "bottom", c = e.bottom - t.top);
24352
24356
  }
24353
- let g = (e.bottom - e.top) / o.offsetHeight, v = (e.right - e.left) / o.offsetWidth;
24357
+ let g = (e.bottom - e.top) / o.offsetHeight, y = (e.right - e.left) / o.offsetWidth;
24354
24358
  return {
24355
- style: `${u}: ${c / g}px; max-width: ${h / v}px`,
24359
+ style: `${u}: ${c / g}px; max-width: ${h / y}px`,
24356
24360
  class: "cm-completionInfo-" + (a ? s ? "left-narrow" : "right-narrow" : l ? "left" : "right")
24357
24361
  };
24358
24362
  }
@@ -24561,10 +24565,10 @@ function yA(i, e) {
24561
24565
  let f = e.sliceDoc(c.from, c.to), d, m = s.filterStrict ? new fA(f) : new hA(f);
24562
24566
  for (let p of c.result.options)
24563
24567
  if (d = m.match(p.label)) {
24564
- let g = p.displayLabel ? h ? h(p, d.matched) : [] : d.matched, v = d.score + (p.boost || 0);
24565
- if (o(new Vd(p, c.source, g, v)), typeof p.section == "object" && p.section.rank === "dynamic") {
24568
+ let g = p.displayLabel ? h ? h(p, d.matched) : [] : d.matched, y = d.score + (p.boost || 0);
24569
+ if (o(new Vd(p, c.source, g, y)), typeof p.section == "object" && p.section.rank === "dynamic") {
24566
24570
  let { name: k } = p.section;
24567
- r || (r = /* @__PURE__ */ Object.create(null)), r[k] = Math.max(v, r[k] || -1e9);
24571
+ r || (r = /* @__PURE__ */ Object.create(null)), r[k] = Math.max(y, r[k] || -1e9);
24568
24572
  }
24569
24573
  }
24570
24574
  }
@@ -25300,29 +25304,29 @@ class Kn {
25300
25304
  break;
25301
25305
  let p, g;
25302
25306
  if (l.length)
25303
- p = a, g = l.reduce((y, x) => Math.min(y, x.to), m && m.from > p ? m.from : 1e8);
25307
+ p = a, g = l.reduce((v, x) => Math.min(v, x.to), m && m.from > p ? m.from : 1e8);
25304
25308
  else {
25305
25309
  if (p = m.from, p > h)
25306
25310
  break;
25307
25311
  g = m.to, l.push(m), d++;
25308
25312
  }
25309
25313
  for (; d < o.length; ) {
25310
- let y = o[d];
25311
- if (y.from == p && (y.to > y.from || y.to == p))
25312
- l.push(y), d++, g = Math.min(y.to, g);
25314
+ let v = o[d];
25315
+ if (v.from == p && (v.to > v.from || v.to == p))
25316
+ l.push(v), d++, g = Math.min(v.to, g);
25313
25317
  else {
25314
- g = Math.min(y.from, g);
25318
+ g = Math.min(v.from, g);
25315
25319
  break;
25316
25320
  }
25317
25321
  }
25318
25322
  g = Math.min(g, h);
25319
- let v = !1;
25320
- if (l.some((y) => y.from == p && (y.to == g || g == h)) && (v = p == g, !v && g - p < 10)) {
25321
- let y = p - (c + u.value.length);
25322
- y > 0 && (u.next(y), c = p);
25323
+ let y = !1;
25324
+ if (l.some((v) => v.from == p && (v.to == g || g == h)) && (y = p == g, !y && g - p < 10)) {
25325
+ let v = p - (c + u.value.length);
25326
+ v > 0 && (u.next(v), c = p);
25323
25327
  for (let x = p; ; ) {
25324
25328
  if (x >= g) {
25325
- v = !0;
25329
+ y = !0;
25326
25330
  break;
25327
25331
  }
25328
25332
  if (!u.lineBreak && c + u.value.length > x)
@@ -25331,23 +25335,23 @@ class Kn {
25331
25335
  }
25332
25336
  }
25333
25337
  let k = x0(l);
25334
- if (v)
25338
+ if (y)
25335
25339
  s.add(p, p, xe.widget({
25336
25340
  widget: new iO(k),
25337
25341
  diagnostics: l.slice()
25338
25342
  }));
25339
25343
  else {
25340
- let y = l.reduce((x, C) => C.markClass ? x + " " + C.markClass : x, "");
25344
+ let v = l.reduce((x, C) => C.markClass ? x + " " + C.markClass : x, "");
25341
25345
  s.add(p, g, xe.mark({
25342
- class: "cm-lintRange cm-lintRange-" + k + y,
25346
+ class: "cm-lintRange cm-lintRange-" + k + v,
25343
25347
  diagnostics: l.slice(),
25344
25348
  inclusiveEnd: l.some((x) => x.to > g)
25345
25349
  }));
25346
25350
  }
25347
25351
  if (a = g, a == h)
25348
25352
  break;
25349
- for (let y = 0; y < l.length; y++)
25350
- l[y].to <= a && l.splice(y--, 1);
25353
+ for (let v = 0; v < l.length; v++)
25354
+ l[v].to <= a && l.splice(v--, 1);
25351
25355
  }
25352
25356
  let f = s.finish();
25353
25357
  return new Kn(f, t, Qr(f));
@@ -26017,7 +26021,7 @@ var yO = Object.assign(Object.assign({}, Yn), C0), bO = Pt({ name: "VueCodemirro
26017
26021
  var a = function(u) {
26018
26022
  var c = function() {
26019
26023
  return u.state.doc.toString();
26020
- }, h = kr(u).run, f = Gd(u, [ce.editable.of(!1), Ee.readOnly.of(!0)]), d = Gd(u, Jo.of([_M])), m = kr(u).run, p = kr(u).run, g = kr(u).run, v = kr(u).run;
26024
+ }, h = kr(u).run, f = Gd(u, [ce.editable.of(!1), Ee.readOnly.of(!0)]), d = Gd(u, Jo.of([_M])), m = kr(u).run, p = kr(u).run, g = kr(u).run, y = kr(u).run;
26021
26025
  return { focus: function() {
26022
26026
  return u.focus();
26023
26027
  }, getDoc: c, setDoc: function(k) {
@@ -26029,7 +26033,7 @@ var yO = Object.assign(Object.assign({}, Yn), C0), bO = Pt({ name: "VueCodemirro
26029
26033
  }, setPlaceholder: function(k) {
26030
26034
  g(Fw(k));
26031
26035
  }, setStyle: function(k) {
26032
- k === void 0 && (k = {}), v(ce.theme({ "&": Object.assign({}, k) }));
26036
+ k === void 0 && (k = {}), y(ce.theme({ "&": Object.assign({}, k) }));
26033
26037
  } };
26034
26038
  }(r.value);
26035
26039
  ve(function() {
@@ -27574,7 +27578,7 @@ const LO = "#e5c07b", im = "#e06c75", IO = "#56b6c2", VO = "#ffffff", Xs = "#abb
27574
27578
  return O;
27575
27579
  const P = (Y = (F = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : F.jsoneditor) == null ? void 0 : Y.height;
27576
27580
  return P || "300px";
27577
- }), v = b(() => {
27581
+ }), y = b(() => {
27578
27582
  var F, Y;
27579
27583
  const O = t.schema["x-json-dark-theme"];
27580
27584
  if (O !== void 0)
@@ -27606,7 +27610,7 @@ const LO = "#e5c07b", im = "#e06c75", IO = "#56b6c2", VO = "#ffffff", Xs = "#abb
27606
27610
  return !1;
27607
27611
  }
27608
27612
  }
27609
- const y = b(() => {
27613
+ const v = b(() => {
27610
27614
  var P, F;
27611
27615
  const O = t.schema["x-json-line-numbers"];
27612
27616
  return O !== void 0 ? O : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.lineNumbers) ?? !1;
@@ -27628,9 +27632,9 @@ const LO = "#e5c07b", im = "#e06c75", IO = "#56b6c2", VO = "#ffffff", Xs = "#abb
27628
27632
  return O !== void 0 ? O : ((F = (P = h == null ? void 0 : h.quickformsDefaults) == null ? void 0 : P.jsoneditor) == null ? void 0 : F.formatKey) ?? "Ctrl-.";
27629
27633
  }), H = b(() => {
27630
27634
  console.log("[JSON Editor] Building extensions:", {
27631
- showLineNumbers: y.value,
27635
+ showLineNumbers: v.value,
27632
27636
  showLintGutter: x.value,
27633
- useDarkTheme: v.value
27637
+ useDarkTheme: y.value
27634
27638
  });
27635
27639
  const O = [
27636
27640
  EO(),
@@ -27642,15 +27646,15 @@ const LO = "#e5c07b", im = "#e06c75", IO = "#56b6c2", VO = "#ffffff", Xs = "#abb
27642
27646
  }
27643
27647
  ])
27644
27648
  ];
27645
- return y.value ? (console.log("[JSON Editor] Adding lineNumbers extension"), O.push(Qp())) : (console.log("[JSON Editor] Hiding gutters and line numbers"), O.push(
27649
+ return v.value ? (console.log("[JSON Editor] Adding lineNumbers extension"), O.push(Qp())) : (console.log("[JSON Editor] Hiding gutters and line numbers"), O.push(
27646
27650
  ce.theme({
27647
27651
  ".cm-gutters": {
27648
27652
  display: "none !important"
27649
27653
  }
27650
27654
  })
27651
- )), x.value && (O.push(tO(_O())), O.push(cO())), v.value ? (console.log("[JSON Editor] Adding oneDark theme"), O.push(UO)) : console.log("[JSON Editor] NOT adding oneDark theme"), console.log("[JSON Editor] Final extensions count:", O.length), O;
27655
+ )), x.value && (O.push(tO(_O())), O.push(cO())), y.value ? (console.log("[JSON Editor] Adding oneDark theme"), O.push(UO)) : console.log("[JSON Editor] NOT adding oneDark theme"), console.log("[JSON Editor] Final extensions count:", O.length), O;
27652
27656
  }), V = b(() => m.value || l.value), B = b(
27653
- () => `${y.value}-${x.value}-${v.value}-${T.value}`
27657
+ () => `${v.value}-${x.value}-${y.value}-${T.value}`
27654
27658
  );
27655
27659
  ve(B, () => {
27656
27660
  console.log("[JSON Editor] editorKey changed, forcing remount");
@@ -27668,7 +27672,7 @@ const LO = "#e5c07b", im = "#e06c75", IO = "#56b6c2", VO = "#ffffff", Xs = "#abb
27668
27672
  m.value = F.message;
27669
27673
  }
27670
27674
  }
27671
- const R = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: v, formatJSON: k, showLineNumbers: y, showLintGutter: x, tabSize: C, indentWithTab: E, formatKey: T, extensions: H, displayError: V, editorKey: B, handleChange: D, get Codemirror() {
27675
+ const R = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, $q: f, code: d, parseError: m, isInitializing: p, editorHeight: g, useDarkTheme: y, formatJSON: k, showLineNumbers: v, showLintGutter: x, tabSize: C, indentWithTab: E, formatKey: T, extensions: H, displayError: V, editorKey: B, handleChange: D, get Codemirror() {
27672
27676
  return xO;
27673
27677
  } };
27674
27678
  return Object.defineProperty(R, "__isScriptSetup", { enumerable: !1, value: !0 }), R;
@@ -27791,29 +27795,29 @@ const lm = /* @__PURE__ */ Kt(KO, [["render", tT], ["__file", "/Users/zachsherbo
27791
27795
  });
27792
27796
  Array.isArray(n.value) || r([], !1);
27793
27797
  const h = b(() => {
27794
- const v = Nl(
27798
+ const y = Nl(
27795
27799
  t.schema,
27796
27800
  c == null ? void 0 : c.componentDefaults,
27797
27801
  "select"
27798
27802
  ), {
27799
27803
  autocomplete: k,
27800
- autocompleteThreshold: y,
27804
+ autocompleteThreshold: v,
27801
27805
  useInput: x,
27802
27806
  fillInput: C,
27803
27807
  hideSelected: E,
27804
27808
  ...T
27805
- } = v;
27809
+ } = y;
27806
27810
  return T;
27807
27811
  }), f = b(() => {
27808
27812
  var x;
27809
- const v = t.schema.items;
27810
- if (!v || typeof v == "boolean") return [];
27811
- const k = Array.isArray(v) ? (x = v[0]) == null ? void 0 : x.enum : v.enum;
27813
+ const y = t.schema.items;
27814
+ if (!y || typeof y == "boolean") return [];
27815
+ const k = Array.isArray(y) ? (x = y[0]) == null ? void 0 : x.enum : y.enum;
27812
27816
  if (!k) return [];
27813
- const y = v["x-enum-labels"];
27817
+ const v = y["x-enum-labels"];
27814
27818
  return k.map((C) => {
27815
27819
  let E = String(C);
27816
- return y && C in y && (E = y[C]), {
27820
+ return v && C in v && (E = v[C]), {
27817
27821
  label: E,
27818
27822
  value: C
27819
27823
  };
@@ -27821,23 +27825,23 @@ const lm = /* @__PURE__ */ Kt(KO, [["render", tT], ["__file", "/Users/zachsherbo
27821
27825
  }), d = J([]);
27822
27826
  ve(
27823
27827
  f,
27824
- (v) => {
27825
- d.value = v;
27828
+ (y) => {
27829
+ d.value = y;
27826
27830
  },
27827
27831
  { immediate: !0 }
27828
27832
  );
27829
27833
  const m = b(() => {
27830
- var k, y;
27831
- const v = t.schema["x-component-props"];
27832
- return (v == null ? void 0 : v.autocomplete) !== void 0 ? v.autocomplete : ((y = (k = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : k.select) == null ? void 0 : y.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
27833
- }), g = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, allOptions: f, filteredOptions: d, useFilter: m, filterFn: (v, k) => {
27834
+ var k, v;
27835
+ const y = t.schema["x-component-props"];
27836
+ return (y == null ? void 0 : y.autocomplete) !== void 0 ? y.autocomplete : ((v = (k = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : k.select) == null ? void 0 : v.autocomplete) !== void 0 ? c.quickformsDefaults.select.autocomplete : !0;
27837
+ }), g = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, allOptions: f, filteredOptions: d, useFilter: m, filterFn: (y, k) => {
27834
27838
  k(() => {
27835
- if (v === "")
27839
+ if (y === "")
27836
27840
  d.value = f.value;
27837
27841
  else {
27838
- const y = v.toLowerCase();
27842
+ const v = y.toLowerCase();
27839
27843
  d.value = f.value.filter(
27840
- (x) => x.label.toLowerCase().includes(y)
27844
+ (x) => x.label.toLowerCase().includes(v)
27841
27845
  );
27842
27846
  }
27843
27847
  });
@@ -28009,7 +28013,7 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28009
28013
  "onUpdate:modelValue": [Function, Array]
28010
28014
  },
28011
28015
  setup(i, { slots: e, emit: t }) {
28012
- const { proxy: n } = je(), { $q: r } = n, { registerTick: o } = Or(), { registerTick: s } = Or(), { registerTick: l } = Or(), { registerTimeout: a, removeTimeout: u } = Co(), { registerTimeout: c, removeTimeout: h } = Co(), f = J(null), d = J(null), m = J(i.modelValue), p = J(!1), g = J(!0), v = J(!1), k = J(!1), y = [], x = J(0), C = J(!1);
28016
+ const { proxy: n } = je(), { $q: r } = n, { registerTick: o } = Or(), { registerTick: s } = Or(), { registerTick: l } = Or(), { registerTimeout: a, removeTimeout: u } = Co(), { registerTimeout: c, removeTimeout: h } = Co(), f = J(null), d = J(null), m = J(i.modelValue), p = J(!1), g = J(!0), y = J(!1), k = J(!1), v = [], x = J(0), C = J(!1);
28013
28017
  let E = null, T = null, H;
28014
28018
  const V = b(() => ({
28015
28019
  activeClass: i.activeClass,
@@ -28026,7 +28030,7 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28026
28030
  })), B = b(() => {
28027
28031
  const X = x.value, ye = m.value;
28028
28032
  for (let we = 0; we < X; we++)
28029
- if (y[we].name.value === ye)
28033
+ if (v[we].name.value === ye)
28030
28034
  return !0;
28031
28035
  return !1;
28032
28036
  }), D = b(() => `q-tabs__content--align-${p.value === !0 ? "left" : k.value === !0 ? "justify" : i.align}`), R = b(
@@ -28061,7 +28065,7 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28061
28065
  p.value = Ue, Ue === !0 && s(w), k.value = ye < parseInt(i.breakpoint, 10);
28062
28066
  }
28063
28067
  function ne(X, ye) {
28064
- const we = X != null && X !== "" ? y.find((ze) => ze.name.value === X) : null, Ue = ye != null && ye !== "" ? y.find((ze) => ze.name.value === ye) : null;
28068
+ const we = X != null && X !== "" ? v.find((ze) => ze.name.value === X) : null, Ue = ye != null && ye !== "" ? v.find((ze) => ze.name.value === ye) : null;
28065
28069
  if (at === !0)
28066
28070
  at = !1;
28067
28071
  else if (we && Ue) {
@@ -28089,7 +28093,7 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28089
28093
  const X = d.value;
28090
28094
  if (X === null) return;
28091
28095
  const ye = X.getBoundingClientRect(), we = i.vertical === !0 ? X.scrollTop : Math.abs(X.scrollLeft);
28092
- F.value === !0 ? (g.value = Math.ceil(we + ye.width) < X.scrollWidth - 1, v.value = we > 0) : (g.value = we > 0, v.value = i.vertical === !0 ? Math.ceil(we + ye.height) < X.scrollHeight : Math.ceil(we + ye.width) < X.scrollWidth);
28096
+ F.value === !0 ? (g.value = Math.ceil(we + ye.width) < X.scrollWidth - 1, y.value = we > 0) : (g.value = we > 0, y.value = i.vertical === !0 ? Math.ceil(we + ye.height) < X.scrollHeight : Math.ceil(we + ye.width) < X.scrollWidth);
28093
28097
  }
28094
28098
  function N(X) {
28095
28099
  T !== null && clearInterval(T), T = setInterval(() => {
@@ -28142,7 +28146,7 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28142
28146
  }
28143
28147
  function Ie() {
28144
28148
  let X = null, ye = { matchedLen: 0, queryDiff: 9999, hrefLen: 0 };
28145
- const we = y.filter((qe) => {
28149
+ const we = v.filter((qe) => {
28146
28150
  var Xe;
28147
28151
  return ((Xe = qe.routeData) == null ? void 0 : Xe.hasRouterLink.value) === !0;
28148
28152
  }), { hash: Ue, query: ze } = n.$route, Oe = Object.keys(ze).length;
@@ -28175,7 +28179,7 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28175
28179
  continue;
28176
28180
  Re.hrefLen > ye.hrefLen && (X = qe.name.value, ye = Re);
28177
28181
  }
28178
- if (X === null && y.some((qe) => qe.routeData === void 0 && qe.name.value === m.value) === !0) {
28182
+ if (X === null && v.some((qe) => qe.routeData === void 0 && qe.name.value === m.value) === !0) {
28179
28183
  at = !1;
28180
28184
  return;
28181
28185
  }
@@ -28204,15 +28208,15 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28204
28208
  }
28205
28209
  }
28206
28210
  function Bt(X) {
28207
- y.push(X), x.value++, q(), X.routeData === void 0 || n.$route === void 0 ? c(() => {
28211
+ v.push(X), x.value++, q(), X.routeData === void 0 || n.$route === void 0 ? c(() => {
28208
28212
  if (p.value === !0) {
28209
- const ye = m.value, we = ye != null && ye !== "" ? y.find((Ue) => Ue.name.value === ye) : null;
28213
+ const ye = m.value, we = ye != null && ye !== "" ? v.find((Ue) => Ue.name.value === ye) : null;
28210
28214
  we && I(we.rootRef.value);
28211
28215
  }
28212
28216
  }) : (Gt(), X.routeData.hasRouterLink.value === !0 && _t());
28213
28217
  }
28214
28218
  function dt(X) {
28215
- y.splice(y.indexOf(X), 1), x.value--, q(), H !== void 0 && X.routeData !== void 0 && (y.every((ye) => ye.routeData === void 0) === !0 && H(), _t());
28219
+ v.splice(v.indexOf(X), 1), x.value--, q(), H !== void 0 && X.routeData !== void 0 && (v.every((ye) => ye.routeData === void 0) === !0 && H(), _t());
28216
28220
  }
28217
28221
  const vi = {
28218
28222
  currentModel: m,
@@ -28259,7 +28263,7 @@ const aT = ["left", "center", "right", "justify"], uT = Je({
28259
28263
  onTouchendPassive: re
28260
28264
  }),
28261
28265
  A(kt, {
28262
- class: "q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon" + (v.value === !0 ? "" : " q-tabs__arrow--faded"),
28266
+ class: "q-tabs__arrow q-tabs__arrow--right absolute q-tab__icon" + (y.value === !0 ? "" : " q-tabs__arrow--faded"),
28263
28267
  name: i.rightIcon || r.iconSet.tabs[i.vertical === !0 ? "down" : "right"],
28264
28268
  onMousedownPassive: G,
28265
28269
  onTouchstartPassive: G,
@@ -28301,18 +28305,18 @@ function dT(i, e, t, n) {
28301
28305
  ), f = b(
28302
28306
  () => "q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable " + (r.tabProps.value.inlineLabel === !0 ? "row no-wrap q-tab__content--inline" : "column") + (i.contentClass !== void 0 ? ` ${i.contentClass}` : "")
28303
28307
  ), d = b(() => i.disable === !0 || r.hasFocus.value === !0 || c.value === !1 && r.hasActiveTab.value === !0 ? -1 : i.tabindex || 0);
28304
- function m(y, x) {
28308
+ function m(v, x) {
28305
28309
  var C;
28306
- if (x !== !0 && (y == null ? void 0 : y.qAvoidFocus) !== !0 && ((C = s.value) == null || C.focus()), i.disable !== !0) {
28307
- r.updateModel({ name: i.name }), t("click", y);
28310
+ if (x !== !0 && (v == null ? void 0 : v.qAvoidFocus) !== !0 && ((C = s.value) == null || C.focus()), i.disable !== !0) {
28311
+ r.updateModel({ name: i.name }), t("click", v);
28308
28312
  return;
28309
28313
  }
28310
28314
  }
28311
- function p(y) {
28312
- cn(y, [13, 32]) ? m(y, !0) : Fl(y) !== !0 && y.keyCode >= 35 && y.keyCode <= 40 && y.altKey !== !0 && y.metaKey !== !0 && r.onKbdNavigate(y.keyCode, o.$el) === !0 && ct(y), t("keydown", y);
28315
+ function p(v) {
28316
+ cn(v, [13, 32]) ? m(v, !0) : Fl(v) !== !0 && v.keyCode >= 35 && v.keyCode <= 40 && v.altKey !== !0 && v.metaKey !== !0 && r.onKbdNavigate(v.keyCode, o.$el) === !0 && ct(v), t("keydown", v);
28313
28317
  }
28314
28318
  function g() {
28315
- const y = r.tabProps.value.narrowIndicator, x = [], C = A("div", {
28319
+ const v = r.tabProps.value.narrowIndicator, x = [], C = A("div", {
28316
28320
  ref: a,
28317
28321
  class: [
28318
28322
  "q-tab__indicator",
@@ -28334,25 +28338,25 @@ function dT(i, e, t, n) {
28334
28338
  }) : A("div", {
28335
28339
  class: "q-tab__alert" + (i.alert !== !0 ? ` text-${i.alert}` : "")
28336
28340
  })
28337
- ), y === !0 && x.push(C);
28341
+ ), v === !0 && x.push(C);
28338
28342
  const E = [
28339
28343
  A("div", { class: "q-focus-helper", tabindex: -1, ref: s }),
28340
28344
  A("div", { class: f.value }, wn(e.default, x))
28341
28345
  ];
28342
- return y === !1 && E.push(C), E;
28346
+ return v === !1 && E.push(C), E;
28343
28347
  }
28344
- const v = {
28348
+ const y = {
28345
28349
  name: b(() => i.name),
28346
28350
  rootRef: l,
28347
28351
  tabIndicatorRef: a,
28348
28352
  routeData: n
28349
28353
  };
28350
28354
  ht(() => {
28351
- r.unregisterTab(v);
28355
+ r.unregisterTab(y);
28352
28356
  }), Mi(() => {
28353
- r.registerTab(v);
28357
+ r.registerTab(y);
28354
28358
  });
28355
- function k(y, x) {
28359
+ function k(v, x) {
28356
28360
  const C = {
28357
28361
  ref: l,
28358
28362
  class: h.value,
@@ -28365,7 +28369,7 @@ function dT(i, e, t, n) {
28365
28369
  ...x
28366
28370
  };
28367
28371
  return Ln(
28368
- A(y, C, g()),
28372
+ A(v, C, g()),
28369
28373
  [[pc, u.value]]
28370
28374
  );
28371
28375
  }
@@ -28440,15 +28444,15 @@ const mT = Je({
28440
28444
  }
28441
28445
  m.value = !0;
28442
28446
  });
28443
- const v = b(() => f.value[d.value]), k = b(() => {
28444
- const M = v.value;
28447
+ const y = b(() => f.value[d.value]), k = b(() => {
28448
+ const M = y.value;
28445
28449
  return !M || !M.properties ? [] : Object.entries(M.properties).map(([q, z]) => ({
28446
28450
  key: q,
28447
28451
  schema: z,
28448
28452
  path: t.path ? `${t.path}.${q}` : q
28449
28453
  }));
28450
- }), y = b(() => {
28451
- const M = v.value;
28454
+ }), v = b(() => {
28455
+ const M = y.value;
28452
28456
  return M && M.properties && !M.oneOf && !M.anyOf && !M.allOf;
28453
28457
  }), x = b(() => {
28454
28458
  var z, ne;
@@ -28483,7 +28487,7 @@ const mT = Je({
28483
28487
  }, H = b(() => {
28484
28488
  const M = t.schema["x-oneof-descriptions"];
28485
28489
  if (!M) return null;
28486
- const q = v.value;
28490
+ const q = y.value;
28487
28491
  if (!q) return null;
28488
28492
  if (Array.isArray(M) && M[d.value])
28489
28493
  return M[d.value];
@@ -28533,7 +28537,7 @@ const mT = Je({
28533
28537
  ve(d, (M, q) => {
28534
28538
  m.value && M !== q && P(M);
28535
28539
  });
28536
- const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: v, activeProperties: k, shouldRenderPropertiesInline: y, displayStyle: x, discriminatorField: C, getDiscriminatorValue: E, getOptionLabel: T, activeOptionDescription: H, allSelectOptions: V, selectLabel: B, filteredOptions: D, useFilter: R, filterFn: O, applySchemaDefaults: P, handleOptionChange: (M) => {
28540
+ const Y = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, fieldId: a, fieldGap: u, formContext: c, quasarProps: h, options: f, selectedIndex: d, isInitialized: m, extractConstValues: p, findMatchingOptionIndex: g, activeSchema: y, activeProperties: k, shouldRenderPropertiesInline: v, displayStyle: x, discriminatorField: C, getDiscriminatorValue: E, getOptionLabel: T, activeOptionDescription: H, allSelectOptions: V, selectLabel: B, filteredOptions: D, useFilter: R, filterFn: O, applySchemaDefaults: P, handleOptionChange: (M) => {
28537
28541
  d.value = M;
28538
28542
  }, get QCard() {
28539
28543
  return Oc;
@@ -29129,7 +29133,7 @@ const ET = /* @__PURE__ */ Pt({
29129
29133
  var U, G;
29130
29134
  const w = t.schema["x-use-template-syntax"], N = (G = (U = f.value) == null ? void 0 : U.jsonlogicbuilder) == null ? void 0 : G.useTemplateSyntax;
29131
29135
  return w ?? N ?? !1;
29132
- }), m = J(dm()), p = J(!1), g = J(""), v = J(null), k = J(!1);
29136
+ }), m = J(dm()), p = J(!1), g = J(""), y = J(null), k = J(!1);
29133
29137
  ve(
29134
29138
  () => n.value,
29135
29139
  (w) => {
@@ -29143,7 +29147,7 @@ const ET = /* @__PURE__ */ Pt({
29143
29147
  },
29144
29148
  { immediate: !0 }
29145
29149
  );
29146
- function y() {
29150
+ function v() {
29147
29151
  k.value = !0;
29148
29152
  const w = cm(m.value, {
29149
29153
  useTemplateSyntax: d.value
@@ -29151,26 +29155,26 @@ const ET = /* @__PURE__ */ Pt({
29151
29155
  r(w), g.value = JSON.stringify(w, null, 2);
29152
29156
  }
29153
29157
  function x(w) {
29154
- w.push(Tn()), y();
29158
+ w.push(Tn()), v();
29155
29159
  }
29156
29160
  function C(w) {
29157
- w.push(RT()), y();
29161
+ w.push(RT()), v();
29158
29162
  }
29159
29163
  function E(w, N) {
29160
29164
  const U = w.findIndex((G) => G.id === N);
29161
- U !== -1 && (w.splice(U, 1), y());
29165
+ U !== -1 && (w.splice(U, 1), v());
29162
29166
  }
29163
29167
  function T(w, N) {
29164
- w.left = N, y();
29168
+ w.left = N, v();
29165
29169
  }
29166
29170
  function H(w, N) {
29167
- w.operator = N, y();
29171
+ w.operator = N, v();
29168
29172
  }
29169
29173
  function V(w, N) {
29170
- w.right = N, y();
29174
+ w.right = N, v();
29171
29175
  }
29172
29176
  function B(w, N) {
29173
- w.logic = N, y();
29177
+ w.logic = N, v();
29174
29178
  }
29175
29179
  function D() {
29176
29180
  if (p.value)
@@ -29178,9 +29182,9 @@ const ET = /* @__PURE__ */ Pt({
29178
29182
  const w = JSON.parse(g.value);
29179
29183
  m.value = fm(w, {
29180
29184
  useTemplateSyntax: d.value
29181
- }), v.value = null, p.value = !1;
29185
+ }), y.value = null, p.value = !1;
29182
29186
  } catch {
29183
- v.value = "Invalid JSON. Fix errors before switching to visual mode.";
29187
+ y.value = "Invalid JSON. Fix errors before switching to visual mode.";
29184
29188
  }
29185
29189
  else
29186
29190
  g.value = JSON.stringify(
@@ -29193,9 +29197,9 @@ const ET = /* @__PURE__ */ Pt({
29193
29197
  g.value = w;
29194
29198
  try {
29195
29199
  const N = JSON.parse(w);
29196
- v.value = null, k.value = !0, r(N);
29200
+ y.value = null, k.value = !0, r(N);
29197
29201
  } catch (N) {
29198
- v.value = N.message;
29202
+ y.value = N.message;
29199
29203
  }
29200
29204
  }
29201
29205
  const O = b(() => {
@@ -29276,7 +29280,7 @@ const ET = /* @__PURE__ */ Pt({
29276
29280
  }
29277
29281
  N && H(w, N);
29278
29282
  }
29279
- const I = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: v, isInternalUpdate: k, syncToValue: y, addCondition: x, addGroup: C, removeCondition: E, updateConditionLeft: T, updateConditionOperator: H, updateConditionRight: V, updateGroupLogic: B, toggleAdvancedMode: D, handleJsonChange: R, operatorDisplayMode: O, leftPlaceholder: P, rightPlaceholder: F, allowedOperators: Y, operatorOptions: M, filteredOperatorOptions: q, filterOperators: z, handleOperatorInput: ne, get QBtn() {
29283
+ const I = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quickformsDefaults: f, useTemplateSyntax: d, conditionRoot: m, isAdvancedMode: p, jsonText: g, jsonParseError: y, isInternalUpdate: k, syncToValue: v, addCondition: x, addGroup: C, removeCondition: E, updateConditionLeft: T, updateConditionOperator: H, updateConditionRight: V, updateGroupLogic: B, toggleAdvancedMode: D, handleJsonChange: R, operatorDisplayMode: O, leftPlaceholder: P, rightPlaceholder: F, allowedOperators: Y, operatorOptions: M, filteredOperatorOptions: q, filterOperators: z, handleOperatorInput: ne, get QBtn() {
29280
29284
  return It;
29281
29285
  }, get QSelect() {
29282
29286
  return Wo;
@@ -30087,12 +30091,12 @@ const h2 = /* @__PURE__ */ Kt(ET, [["render", c2], ["__scopeId", "data-v-722c2e2
30087
30091
  var V;
30088
30092
  return ((V = m.value) == null ? void 0 : V.format) === "email";
30089
30093
  }), g = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
30090
- function v(V) {
30094
+ function y(V) {
30091
30095
  const B = m.value;
30092
30096
  return B ? !(B.format === "email" && !g.test(V) || typeof B.minLength == "number" && V.length < B.minLength || typeof B.maxLength == "number" && V.length > B.maxLength || B.pattern && !new RegExp(B.pattern).test(V)) : !0;
30093
30097
  }
30094
30098
  function k(V) {
30095
- const B = v(V), D = { ...d.value.chip };
30099
+ const B = y(V), D = { ...d.value.chip };
30096
30100
  return B ? D : {
30097
30101
  ...D,
30098
30102
  color: "negative",
@@ -30100,7 +30104,7 @@ const h2 = /* @__PURE__ */ Kt(ET, [["render", c2], ["__scopeId", "data-v-722c2e2
30100
30104
  icon: "error"
30101
30105
  };
30102
30106
  }
30103
- const y = b(() => {
30107
+ const v = b(() => {
30104
30108
  const V = t.schema["x-placeholder"];
30105
30109
  return V || (p.value ? "Type email and press Enter" : "Type and press Enter to add");
30106
30110
  });
@@ -30135,7 +30139,7 @@ const h2 = /* @__PURE__ */ Kt(ET, [["render", c2], ["__scopeId", "data-v-722c2e2
30135
30139
  const B = Array.isArray(n.value) ? n.value : [];
30136
30140
  r(B.filter((D) => D !== V));
30137
30141
  }
30138
- const H = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: v, getChipProps: k, placeholder: y, parseInput: x, handleNewValue: C, filterFn: E, removeValue: T, get QSelect() {
30142
+ const H = { props: t, value: n, setValue: r, label: o, hint: s, errorMessage: l, required: a, fieldId: u, fieldGap: c, formContext: h, quasarProps: f, quickformsFeatures: d, itemsSchema: m, isEmailFormat: p, EMAIL_REGEX: g, validateItem: y, getChipProps: k, placeholder: v, parseInput: x, handleNewValue: C, filterFn: E, removeValue: T, get QSelect() {
30139
30143
  return Wo;
30140
30144
  }, get QChip() {
30141
30145
  return Lm;