@quickflo/quickforms-quasar 1.3.2 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { SchemaUtils as Dl, ComponentRegistry as Go, rankWith as Xe, hasConst as er, isStringType as tr, isNumberType as nr, isBooleanType as lr, isEnumType as ar, isDateFormat as or, isTimeFormat as rr, isDateTimeFormat as ir, isRecordType as ur, isJsonType as sr, isObjectType as cr, isArrayType as ua, hasOneOf as dr, hasAnyOf as fr, hasAllOf as vr } from "@quickflo/quickforms";
2
- import { ComponentRegistry as dc, SchemaUtils as fc, and as vc, hasAllOf as mc, hasAnyOf as hc, hasConditional as gc, hasConst as yc, hasExtension as bc, hasFormat as pc, hasOneOf as wc, isArrayType as _c, isBooleanType as kc, isDateFormat as Sc, isDateTimeFormat as qc, isDiscriminatedUnion as xc, isEmailFormat as Cc, isEnumType as Mc, isIntegerType as Oc, isJsonType as Tc, isNullType as Vc, isNumberType as Ec, isObjectType as Bc, isRecordType as Pc, isStringType as Fc, isTimeFormat as Dc, isUrlFormat as Ic, not as Ac, or as Rc, rankWith as Lc } from "@quickflo/quickforms";
3
- import { computed as s, markRaw as $a, defineComponent as tt, reactive as Ja, h, withDirectives as Jt, getCurrentInstance as ke, ref as K, onMounted as Gt, watch as oe, onBeforeUpdate as Ga, inject as mr, onBeforeUnmount as je, nextTick as Be, onDeactivated as Xn, onActivated as eo, Transition as it, createBlock as st, openBlock as re, mergeProps as Pe, createSlots as At, withCtx as de, createTextVNode as Ke, createElementVNode as Te, toDisplayString as Ve, createVNode as ue, toRaw as an, createElementBlock as ge, createCommentVNode as he, unref as hr, onUnmounted as gr, Teleport as yr, onBeforeMount as br, onUpdated as pr, shallowReactive as wr, vShow as _r, Fragment as Il, renderList as Al, normalizeStyle as Rn } from "vue";
2
+ import { ComponentRegistry as dc, SchemaUtils as fc, and as vc, hasAllOf as mc, hasAnyOf as hc, hasConditional as gc, hasConst as yc, hasExtension as bc, hasFormat as pc, hasOneOf as wc, isArrayType as _c, isBooleanType as kc, isDateFormat as Sc, isDateTimeFormat as qc, isDiscriminatedUnion as xc, isEmailFormat as Cc, isEnumType as Mc, isIntegerType as Oc, isJsonType as Vc, isNullType as Tc, isNumberType as Ec, isObjectType as Bc, isRecordType as Fc, isStringType as Pc, isTimeFormat as Dc, isUrlFormat as Ic, not as Ac, or as Rc, rankWith as Lc } from "@quickflo/quickforms";
3
+ import { computed as s, markRaw as $a, defineComponent as tt, reactive as Ja, h, withDirectives as Jt, getCurrentInstance as ke, ref as K, onMounted as Gt, watch as oe, onBeforeUpdate as Ga, inject as mr, onBeforeUnmount as je, nextTick as Be, onDeactivated as Xn, onActivated as eo, Transition as it, createBlock as st, openBlock as re, mergeProps as Fe, createSlots as At, withCtx as de, createTextVNode as Ke, createElementVNode as Ve, toDisplayString as Te, createVNode as ue, toRaw as an, createElementBlock as ge, createCommentVNode as he, unref as hr, onUnmounted as gr, Teleport as yr, onBeforeMount as br, onUpdated as pr, shallowReactive as wr, vShow as _r, Fragment as Il, renderList as Al, normalizeStyle as Rn } from "vue";
4
4
  import { useFormField as nt, useFormContext as gt, generateFieldId as ct, FieldRenderer as Zn, HiddenField as kr } from "@quickflo/quickforms-vue";
5
5
  const xl = {
6
6
  xs: 18,
@@ -84,7 +84,7 @@ const sa = "0 0 24 24", ul = (e) => e, sl = (e) => `ionicons ${e}`, to = {
84
84
  sym_o_: "-outlined",
85
85
  sym_r_: "-rounded",
86
86
  sym_s_: "-sharp"
87
- }, Mr = new RegExp("^(" + Object.keys(to).join("|") + ")"), Or = new RegExp("^(" + Object.keys(no).join("|") + ")"), ca = new RegExp("^(" + Object.keys(lo).join("|") + ")"), Tr = /^[Mm]\s?[-+]?\.?\d/, Vr = /^img:/, Er = /^svguse:/, Br = /^ion-/, Pr = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Je = Oe({
87
+ }, Mr = new RegExp("^(" + Object.keys(to).join("|") + ")"), Or = new RegExp("^(" + Object.keys(no).join("|") + ")"), ca = new RegExp("^(" + Object.keys(lo).join("|") + ")"), Vr = /^[Mm]\s?[-+]?\.?\d/, Tr = /^img:/, Er = /^svguse:/, Br = /^ion-/, Fr = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Je = Oe({
88
88
  name: "QIcon",
89
89
  props: {
90
90
  ...$n,
@@ -116,7 +116,7 @@ const sa = "0 0 24 24", ul = (e) => e, sl = (e) => `ionicons ${e}`, to = {
116
116
  content: u.content !== void 0 ? u.content : " "
117
117
  };
118
118
  }
119
- if (Tr.test(r) === !0) {
119
+ if (Vr.test(r) === !0) {
120
120
  const [u, v = sa] = r.split("|");
121
121
  return {
122
122
  svg: !0,
@@ -127,7 +127,7 @@ const sa = "0 0 24 24", ul = (e) => e, sl = (e) => `ionicons ${e}`, to = {
127
127
  })
128
128
  };
129
129
  }
130
- if (Vr.test(r) === !0)
130
+ if (Tr.test(r) === !0)
131
131
  return {
132
132
  img: !0,
133
133
  src: r.substring(4)
@@ -144,7 +144,7 @@ const sa = "0 0 24 24", ul = (e) => e, sl = (e) => `ionicons ${e}`, to = {
144
144
  const c = r.match(Mr);
145
145
  if (c !== null)
146
146
  i = to[c[1]](r);
147
- else if (Pr.test(r) === !0)
147
+ else if (Fr.test(r) === !0)
148
148
  i = r;
149
149
  else if (Br.test(r) === !0)
150
150
  i = `ionicons ion-${l.platform.is.ios === !0 ? "ios" : "md"}${r.substring(3)}`;
@@ -185,7 +185,7 @@ const sa = "0 0 24 24", ul = (e) => e, sl = (e) => `ionicons ${e}`, to = {
185
185
  ])));
186
186
  };
187
187
  }
188
- }), Fr = {
188
+ }), Pr = {
189
189
  size: {
190
190
  type: [String, Number],
191
191
  default: "1em"
@@ -203,7 +203,7 @@ function Dr(e) {
203
203
  const ao = Oe({
204
204
  name: "QSpinner",
205
205
  props: {
206
- ...Fr,
206
+ ...Pr,
207
207
  thickness: {
208
208
  type: Number,
209
209
  default: 5
@@ -421,7 +421,7 @@ function Nr({ validate: e, resetValidation: n, requiresQForm: l }) {
421
421
  });
422
422
  } else l === !0 && console.error("Parent QForm not found on useFormChild()!");
423
423
  }
424
- const ha = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, ga = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, ya = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, On = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, Tn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, dl = {
424
+ const ha = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, ga = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, ya = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, On = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, Vn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, dl = {
425
425
  date: (e) => /^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(e),
426
426
  time: (e) => /^([0-1]?\d|2[0-3]):[0-5]\d$/.test(e),
427
427
  fulltime: (e) => /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(e),
@@ -437,11 +437,11 @@ const ha = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, ga = /^#[0-9a-fA-F]{4}([0-9a-fA
437
437
  hexaColor: (e) => ga.test(e),
438
438
  hexOrHexaColor: (e) => ya.test(e),
439
439
  rgbColor: (e) => On.test(e),
440
- rgbaColor: (e) => Tn.test(e),
441
- rgbOrRgbaColor: (e) => On.test(e) || Tn.test(e),
440
+ rgbaColor: (e) => Vn.test(e),
441
+ rgbOrRgbaColor: (e) => On.test(e) || Vn.test(e),
442
442
  hexOrRgbColor: (e) => ha.test(e) || On.test(e),
443
- hexaOrRgbaColor: (e) => ga.test(e) || Tn.test(e),
444
- anyColor: (e) => ya.test(e) || On.test(e) || Tn.test(e)
443
+ hexaOrRgbaColor: (e) => ga.test(e) || Vn.test(e),
444
+ anyColor: (e) => ya.test(e) || On.test(e) || Vn.test(e)
445
445
  };
446
446
  function io(e, n = 250, l) {
447
447
  let t = null;
@@ -487,38 +487,38 @@ function Ur(e, n) {
487
487
  function w() {
488
488
  l.lazyRules !== "ondemand" && u.value === !0 && i.value === !0 && y();
489
489
  }
490
- oe(() => l.reactiveRules, (I) => {
491
- I === !0 ? d === void 0 && (d = oe(() => l.rules, w, { immediate: !0, deep: !0 })) : d !== void 0 && (d(), d = void 0);
492
- }, { immediate: !0 }), oe(() => l.lazyRules, w), oe(e, (I) => {
493
- I === !0 ? i.value = !0 : u.value === !0 && l.lazyRules !== "ondemand" && y();
490
+ oe(() => l.reactiveRules, (A) => {
491
+ A === !0 ? d === void 0 && (d = oe(() => l.rules, w, { immediate: !0, deep: !0 })) : d !== void 0 && (d(), d = void 0);
492
+ }, { immediate: !0 }), oe(() => l.lazyRules, w), oe(e, (A) => {
493
+ A === !0 ? i.value = !0 : u.value === !0 && l.lazyRules !== "ondemand" && y();
494
494
  });
495
495
  function S() {
496
496
  r++, n.value = !1, i.value = !1, a.value = !1, o.value = null, y.cancel();
497
497
  }
498
- function k(I = l.modelValue) {
498
+ function k(A = l.modelValue) {
499
499
  if (l.disable === !0 || c.value === !1)
500
500
  return !0;
501
501
  const R = ++r, x = n.value !== !0 ? () => {
502
502
  i.value = !0;
503
503
  } : () => {
504
- }, g = (A, C) => {
505
- A === !0 && x(), a.value = A, o.value = C || null, n.value = !1;
504
+ }, g = (I, C) => {
505
+ I === !0 && x(), a.value = I, o.value = C || null, n.value = !1;
506
506
  }, O = [];
507
- for (let A = 0; A < l.rules.length; A++) {
508
- const C = l.rules[A];
507
+ for (let I = 0; I < l.rules.length; I++) {
508
+ const C = l.rules[I];
509
509
  let L;
510
- if (typeof C == "function" ? L = C(I, dl) : typeof C == "string" && dl[C] !== void 0 && (L = dl[C](I)), L === !1 || typeof L == "string")
510
+ if (typeof C == "function" ? L = C(A, dl) : typeof C == "string" && dl[C] !== void 0 && (L = dl[C](A)), L === !1 || typeof L == "string")
511
511
  return g(!0, L), !1;
512
512
  L !== !0 && L !== void 0 && O.push(L);
513
513
  }
514
514
  return O.length === 0 ? (g(!1), !0) : (n.value = !0, Promise.all(O).then(
515
- (A) => {
516
- if (A === void 0 || Array.isArray(A) === !1 || A.length === 0)
515
+ (I) => {
516
+ if (I === void 0 || Array.isArray(I) === !1 || I.length === 0)
517
517
  return R === r && g(!1), !0;
518
- const C = A.find((L) => L === !1 || typeof L == "string");
518
+ const C = I.find((L) => L === !1 || typeof L == "string");
519
519
  return R === r && g(C !== void 0, C), C === void 0;
520
520
  },
521
- (A) => (R === r && (console.error(A), g(!0)), !1)
521
+ (I) => (R === r && (console.error(I), g(!0)), !1)
522
522
  ));
523
523
  }
524
524
  const y = io(k, 0);
@@ -583,7 +583,7 @@ function rt(e) {
583
583
  function et(e) {
584
584
  e.cancelable !== !1 && e.preventDefault();
585
585
  }
586
- function Fe(e) {
586
+ function Pe(e) {
587
587
  e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
588
588
  }
589
589
  function fl(e, n) {
@@ -596,7 +596,7 @@ function fl(e, n) {
596
596
  };
597
597
  e.querySelectorAll("a, img").forEach(l);
598
598
  }
599
- function Tt(e, n, l) {
599
+ function Vt(e, n, l) {
600
600
  const t = `__q_${n}_evt`;
601
601
  e[t] = e[t] !== void 0 ? e[t].concat(l) : l, l.forEach((a) => {
602
602
  a[0].addEventListener(a[1], e[a[2]], $e[a[3]]);
@@ -706,8 +706,8 @@ function Hl({ requiredForAttr: e = !0, tagProp: n, changeEvent: l = !1 } = {}) {
706
706
  function zl(e) {
707
707
  const { props: n, emit: l, slots: t, attrs: a, proxy: o } = ke(), { $q: i } = o;
708
708
  let r = null;
709
- e.hasValue === void 0 && (e.hasValue = s(() => qn(n.modelValue))), e.emitValue === void 0 && (e.emitValue = (P) => {
710
- l("update:modelValue", P);
709
+ e.hasValue === void 0 && (e.hasValue = s(() => qn(n.modelValue))), e.emitValue === void 0 && (e.emitValue = (F) => {
710
+ l("update:modelValue", F);
711
711
  }), e.controlEvents === void 0 && (e.controlEvents = {
712
712
  onFocusin: te,
713
713
  onFocusout: T
@@ -718,8 +718,8 @@ function zl(e) {
718
718
  focus: C
719
719
  }), e.computedCounter === void 0 && (e.computedCounter = s(() => {
720
720
  if (n.counter !== !1) {
721
- const P = typeof n.modelValue == "string" || typeof n.modelValue == "number" ? ("" + n.modelValue).length : Array.isArray(n.modelValue) === !0 ? n.modelValue.length : 0, $ = n.maxlength !== void 0 ? n.maxlength : n.maxValues;
722
- return P + ($ !== void 0 ? " / " + $ : "");
721
+ const F = typeof n.modelValue == "string" || typeof n.modelValue == "number" ? ("" + n.modelValue).length : Array.isArray(n.modelValue) === !0 ? n.modelValue.length : 0, $ = n.maxlength !== void 0 ? n.maxlength : n.maxValues;
722
+ return F + ($ !== void 0 ? " / " + $ : "");
723
723
  }
724
724
  }));
725
725
  const {
@@ -732,7 +732,7 @@ function zl(e) {
732
732
  () => n.bottomSlots === !0 || n.hint !== void 0 || c.value === !0 || n.counter === !0 || n.error !== null
733
733
  ), k = s(() => n.filled === !0 ? "filled" : n.outlined === !0 ? "outlined" : n.borderless === !0 ? "borderless" : n.standout ? "standout" : "standard"), y = s(
734
734
  () => `q-field row no-wrap items-start q-field--${k.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (n.rounded === !0 ? " q-field--rounded" : "") + (n.square === !0 ? " q-field--square" : "") + (w.value === !0 ? " q-field--float" : "") + (R.value === !0 ? " q-field--labeled" : "") + (n.dense === !0 ? " q-field--dense" : "") + (n.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (u.value === !0 ? " q-field--error" : "") + (u.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (n.hideBottomSpace !== !0 && S.value === !0 ? " q-field--with-bottom" : "") + (n.disable === !0 ? " q-field--disabled" : n.readonly === !0 ? " q-field--readonly" : "")
735
- ), I = s(
735
+ ), A = s(
736
736
  () => "q-field__control relative-position row no-wrap" + (n.bgColor !== void 0 ? ` bg-${n.bgColor}` : "") + (u.value === !0 ? " text-negative" : typeof n.standout == "string" && n.standout.length !== 0 && e.focused.value === !0 ? ` ${n.standout}` : n.color !== void 0 ? ` text-${n.color}` : "")
737
737
  ), R = s(
738
738
  () => n.labelSlot === !0 || n.label !== void 0
@@ -746,63 +746,63 @@ function zl(e) {
746
746
  modelValue: n.modelValue,
747
747
  emitValue: e.emitValue
748
748
  })), O = s(() => {
749
- const P = {};
750
- return e.targetUid.value && (P.for = e.targetUid.value), n.disable === !0 && (P["aria-disabled"] = "true"), P;
749
+ const F = {};
750
+ return e.targetUid.value && (F.for = e.targetUid.value), n.disable === !0 && (F["aria-disabled"] = "true"), F;
751
751
  });
752
- function A() {
752
+ function I() {
753
753
  var ve;
754
- const P = document.activeElement;
754
+ const F = document.activeElement;
755
755
  let $ = (ve = e.targetRef) == null ? void 0 : ve.value;
756
- $ && (P === null || P.id !== e.targetUid.value) && ($.hasAttribute("tabindex") === !0 || ($ = $.querySelector("[tabindex]")), $ !== P && ($ == null || $.focus({ preventScroll: !0 })));
756
+ $ && (F === null || F.id !== e.targetUid.value) && ($.hasAttribute("tabindex") === !0 || ($ = $.querySelector("[tabindex]")), $ !== F && ($ == null || $.focus({ preventScroll: !0 })));
757
757
  }
758
758
  function C() {
759
- Gn(A);
759
+ Gn(I);
760
760
  }
761
761
  function L() {
762
- $r(A);
763
- const P = document.activeElement;
764
- P !== null && e.rootRef.value.contains(P) && P.blur();
762
+ $r(I);
763
+ const F = document.activeElement;
764
+ F !== null && e.rootRef.value.contains(F) && F.blur();
765
765
  }
766
- function te(P) {
767
- r !== null && (clearTimeout(r), r = null), e.editable.value === !0 && e.focused.value === !1 && (e.focused.value = !0, l("focus", P));
766
+ function te(F) {
767
+ r !== null && (clearTimeout(r), r = null), e.editable.value === !0 && e.focused.value === !1 && (e.focused.value = !0, l("focus", F));
768
768
  }
769
- function T(P, $) {
769
+ function T(F, $) {
770
770
  r !== null && clearTimeout(r), r = setTimeout(() => {
771
- r = null, !(document.hasFocus() === !0 && (e.hasPopupOpen === !0 || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement) !== !1)) && (e.focused.value === !0 && (e.focused.value = !1, l("blur", P)), $ == null || $());
771
+ r = null, !(document.hasFocus() === !0 && (e.hasPopupOpen === !0 || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement) !== !1)) && (e.focused.value === !0 && (e.focused.value = !1, l("blur", F)), $ == null || $());
772
772
  });
773
773
  }
774
- function M(P) {
774
+ function M(F) {
775
775
  var $;
776
- Fe(P), i.platform.is.mobile !== !0 ? ((($ = e.targetRef) == null ? void 0 : $.value) || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), n.type === "file" && (e.inputRef.value.value = null), l("update:modelValue", null), e.changeEvent === !0 && l("change", null), l("clear", n.modelValue), Be(() => {
776
+ Pe(F), i.platform.is.mobile !== !0 ? ((($ = e.targetRef) == null ? void 0 : $.value) || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), n.type === "file" && (e.inputRef.value.value = null), l("update:modelValue", null), e.changeEvent === !0 && l("change", null), l("clear", n.modelValue), Be(() => {
777
777
  const ve = d.value;
778
778
  b(), d.value = ve;
779
779
  });
780
780
  }
781
- function V(P) {
782
- [13, 32].includes(P.keyCode) && M(P);
781
+ function V(F) {
782
+ [13, 32].includes(F.keyCode) && M(F);
783
783
  }
784
- function F() {
785
- const P = [];
786
- return t.prepend !== void 0 && P.push(
784
+ function P() {
785
+ const F = [];
786
+ return t.prepend !== void 0 && F.push(
787
787
  h("div", {
788
788
  class: "q-field__prepend q-field__marginal row no-wrap items-center",
789
789
  key: "prepend",
790
790
  onClick: et
791
791
  }, t.prepend())
792
- ), P.push(
792
+ ), F.push(
793
793
  h("div", {
794
794
  class: "q-field__control-container col relative-position row no-wrap q-anchor--skip"
795
795
  }, B())
796
- ), u.value === !0 && n.noErrorIcon === !1 && P.push(
796
+ ), u.value === !0 && n.noErrorIcon === !1 && F.push(
797
797
  X("error", [
798
798
  h(Je, { name: i.iconSet.field.error, color: "negative" })
799
799
  ])
800
- ), n.loading === !0 || e.innerLoading.value === !0 ? P.push(
800
+ ), n.loading === !0 || e.innerLoading.value === !0 ? F.push(
801
801
  X(
802
802
  "inner-loading-append",
803
803
  t.loading !== void 0 ? t.loading() : [h(ao, { color: n.color })]
804
804
  )
805
- ) : n.clearable === !0 && e.hasValue.value === !0 && e.editable.value === !0 && P.push(
805
+ ) : n.clearable === !0 && e.hasValue.value === !0 && e.editable.value === !0 && F.push(
806
806
  X("inner-clearable-append", [
807
807
  h(Je, {
808
808
  class: "q-field__focusable-action",
@@ -815,31 +815,31 @@ function zl(e) {
815
815
  onClick: M
816
816
  })
817
817
  ])
818
- ), t.append !== void 0 && P.push(
818
+ ), t.append !== void 0 && F.push(
819
819
  h("div", {
820
820
  class: "q-field__append q-field__marginal row no-wrap items-center",
821
821
  key: "append",
822
822
  onClick: et
823
823
  }, t.append())
824
- ), e.getInnerAppend !== void 0 && P.push(
824
+ ), e.getInnerAppend !== void 0 && F.push(
825
825
  X("inner-append", e.getInnerAppend())
826
- ), e.getControlChild !== void 0 && P.push(
826
+ ), e.getControlChild !== void 0 && F.push(
827
827
  e.getControlChild()
828
- ), P;
828
+ ), F;
829
829
  }
830
830
  function B() {
831
- const P = [];
832
- return n.prefix !== void 0 && n.prefix !== null && P.push(
831
+ const F = [];
832
+ return n.prefix !== void 0 && n.prefix !== null && F.push(
833
833
  h("div", {
834
834
  class: "q-field__prefix no-pointer-events row items-center"
835
835
  }, n.prefix)
836
- ), e.getShadowControl !== void 0 && e.hasShadow.value === !0 && P.push(
836
+ ), e.getShadowControl !== void 0 && e.hasShadow.value === !0 && F.push(
837
837
  e.getShadowControl()
838
- ), R.value === !0 && P.push(
838
+ ), R.value === !0 && F.push(
839
839
  h("div", {
840
840
  class: x.value
841
841
  }, Ue(t.label, n.label))
842
- ), e.getControl !== void 0 ? P.push(e.getControl()) : t.rawControl !== void 0 ? P.push(t.rawControl()) : t.control !== void 0 && P.push(
842
+ ), e.getControl !== void 0 ? F.push(e.getControl()) : t.rawControl !== void 0 ? F.push(t.rawControl()) : t.control !== void 0 && F.push(
843
843
  h("div", {
844
844
  ref: e.targetRef,
845
845
  class: "q-field__native row",
@@ -847,21 +847,21 @@ function zl(e) {
847
847
  ...e.splitAttrs.attributes.value,
848
848
  "data-autofocus": n.autofocus === !0 || void 0
849
849
  }, t.control(g.value))
850
- ), n.suffix !== void 0 && n.suffix !== null && P.push(
850
+ ), n.suffix !== void 0 && n.suffix !== null && F.push(
851
851
  h("div", {
852
852
  class: "q-field__suffix no-pointer-events row items-center"
853
853
  }, n.suffix)
854
- ), P.concat(Ue(t.default));
854
+ ), F.concat(Ue(t.default));
855
855
  }
856
856
  function z() {
857
- let P, $;
858
- u.value === !0 ? v.value !== null ? (P = [h("div", { role: "alert" }, v.value)], $ = `q--slot-error-${v.value}`) : (P = Ue(t.error), $ = "q--slot-error") : (n.hideHint !== !0 || e.focused.value === !0) && (n.hint !== void 0 ? (P = [h("div", n.hint)], $ = `q--slot-hint-${n.hint}`) : (P = Ue(t.hint), $ = "q--slot-hint"));
857
+ let F, $;
858
+ u.value === !0 ? v.value !== null ? (F = [h("div", { role: "alert" }, v.value)], $ = `q--slot-error-${v.value}`) : (F = Ue(t.error), $ = "q--slot-error") : (n.hideHint !== !0 || e.focused.value === !0) && (n.hint !== void 0 ? (F = [h("div", n.hint)], $ = `q--slot-hint-${n.hint}`) : (F = Ue(t.hint), $ = "q--slot-hint"));
859
859
  const ve = n.counter === !0 || t.counter !== void 0;
860
- if (n.hideBottomSpace === !0 && ve === !1 && P === void 0) return;
860
+ if (n.hideBottomSpace === !0 && ve === !1 && F === void 0) return;
861
861
  const q = h("div", {
862
862
  key: $,
863
863
  class: "q-field__messages col"
864
- }, P);
864
+ }, F);
865
865
  return h("div", {
866
866
  class: "q-field__bottom row items-start q-field__bottom--" + (n.hideBottomSpace !== !0 ? "animated" : "stale"),
867
867
  onClick: et
@@ -872,9 +872,9 @@ function zl(e) {
872
872
  }, t.counter !== void 0 ? t.counter() : e.computedCounter.value) : null
873
873
  ]);
874
874
  }
875
- function X(P, $) {
875
+ function X(F, $) {
876
876
  return $ === null ? null : h("div", {
877
- key: P,
877
+ key: F,
878
878
  class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
879
879
  }, $);
880
880
  }
@@ -911,10 +911,10 @@ function zl(e) {
911
911
  }, [
912
912
  h("div", {
913
913
  ref: e.controlRef,
914
- class: I.value,
914
+ class: A.value,
915
915
  tabindex: -1,
916
916
  ...e.controlEvents
917
- }, F()),
917
+ }, P()),
918
918
  S.value === !0 ? z() : null
919
919
  ]),
920
920
  t.after !== void 0 ? h("div", {
@@ -988,19 +988,19 @@ function ni(e, n, l, t) {
988
988
  }
989
989
  oe(() => e.type + e.autogrow, y), oe(() => e.mask, (T) => {
990
990
  if (T !== void 0)
991
- I(b.value, !0);
991
+ A(b.value, !0);
992
992
  else {
993
993
  const M = L(b.value);
994
994
  y(), e.modelValue !== M && n("update:modelValue", M);
995
995
  }
996
996
  }), oe(() => e.fillMask + e.reverseFillMask, () => {
997
- v.value === !0 && I(b.value, !0);
997
+ v.value === !0 && A(b.value, !0);
998
998
  }), oe(() => e.unmaskedValue, () => {
999
- v.value === !0 && I(b.value);
999
+ v.value === !0 && A(b.value);
1000
1000
  });
1001
1001
  function S() {
1002
1002
  if (y(), v.value === !0) {
1003
- const T = A(L(e.modelValue));
1003
+ const T = I(L(e.modelValue));
1004
1004
  return e.fillMask !== !1 ? te(T) : T;
1005
1005
  }
1006
1006
  return e.modelValue;
@@ -1009,11 +1009,11 @@ function ni(e, n, l, t) {
1009
1009
  if (T < a.length)
1010
1010
  return a.slice(-T);
1011
1011
  let M = "", V = a;
1012
- const F = V.indexOf(Re);
1013
- if (F !== -1) {
1012
+ const P = V.indexOf(Re);
1013
+ if (P !== -1) {
1014
1014
  for (let B = T - V.length; B > 0; B--)
1015
1015
  M += Re;
1016
- V = V.slice(0, F) + M + V.slice(F);
1016
+ V = V.slice(0, P) + M + V.slice(P);
1017
1017
  }
1018
1018
  return V;
1019
1019
  }
@@ -1022,23 +1022,23 @@ function ni(e, n, l, t) {
1022
1022
  r = void 0, a = "", o = "";
1023
1023
  return;
1024
1024
  }
1025
- const T = pa[e.mask] === void 0 ? e.mask : pa[e.mask], M = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", V = M.replace(_a, "\\$&"), F = [], B = [], z = [];
1026
- let X = e.reverseFillMask === !0, H = "", P = "";
1025
+ const T = pa[e.mask] === void 0 ? e.mask : pa[e.mask], M = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", V = M.replace(_a, "\\$&"), P = [], B = [], z = [];
1026
+ let X = e.reverseFillMask === !0, H = "", F = "";
1027
1027
  T.replace(u.value.tokenRegexMask, (_, j, Y, ne, le) => {
1028
1028
  if (ne !== void 0) {
1029
1029
  const J = u.value.tokenMap[ne];
1030
- z.push(J), P = J.negate, X === !0 && (B.push("(?:" + P + "+)?(" + J.pattern + "+)?(?:" + P + "+)?(" + J.pattern + "+)?"), X = !1), B.push("(?:" + P + "+)?(" + J.pattern + ")?");
1030
+ z.push(J), F = J.negate, X === !0 && (B.push("(?:" + F + "+)?(" + J.pattern + "+)?(?:" + F + "+)?(" + J.pattern + "+)?"), X = !1), B.push("(?:" + F + "+)?(" + J.pattern + ")?");
1031
1031
  } else if (Y !== void 0)
1032
- H = "\\" + (Y === "\\" ? "" : Y), z.push(Y), F.push("([^" + H + "]+)?" + H + "?");
1032
+ H = "\\" + (Y === "\\" ? "" : Y), z.push(Y), P.push("([^" + H + "]+)?" + H + "?");
1033
1033
  else {
1034
1034
  const J = j !== void 0 ? j : le;
1035
- H = J === "\\" ? "\\\\\\\\" : J.replace(_a, "\\\\$&"), z.push(J), F.push("([^" + H + "]+)?" + H + "?");
1035
+ H = J === "\\" ? "\\\\\\\\" : J.replace(_a, "\\\\$&"), z.push(J), P.push("([^" + H + "]+)?" + H + "?");
1036
1036
  }
1037
1037
  });
1038
1038
  const $ = new RegExp(
1039
- "^" + F.join("") + "(" + (H === "" ? "." : "[^" + H + "]") + "+)?" + (H === "" ? "" : "[" + H + "]*") + "$"
1039
+ "^" + P.join("") + "(" + (H === "" ? "." : "[^" + H + "]") + "+)?" + (H === "" ? "" : "[" + H + "]*") + "$"
1040
1040
  ), ve = B.length - 1, q = B.map((_, j) => j === 0 && e.reverseFillMask === !0 ? new RegExp("^" + V + "*" + _) : j === ve ? new RegExp(
1041
- "^" + _ + "(" + (P === "" ? "." : P) + "+)?" + (e.reverseFillMask === !0 ? "$" : V + "*")
1041
+ "^" + _ + "(" + (F === "" ? "." : F) + "+)?" + (e.reverseFillMask === !0 ? "$" : V + "*")
1042
1042
  ) : new RegExp("^" + _));
1043
1043
  i = z, r = (_) => {
1044
1044
  const j = $.exec(e.reverseFillMask === !0 ? _ : _.slice(0, z.length + 1));
@@ -1053,99 +1053,99 @@ function ni(e, n, l, t) {
1053
1053
  return Y.length !== 0 ? Y.join("") : _;
1054
1054
  }, a = z.map((_) => typeof _ == "string" ? _ : Re).join(""), o = a.split(Re).join(M);
1055
1055
  }
1056
- function I(T, M, V) {
1057
- const F = t.value, B = F.selectionEnd, z = F.value.length - B, X = L(T);
1056
+ function A(T, M, V) {
1057
+ const P = t.value, B = P.selectionEnd, z = P.value.length - B, X = L(T);
1058
1058
  M === !0 && y();
1059
- const H = A(X, M), P = e.fillMask !== !1 ? te(H) : H, $ = b.value !== P;
1060
- F.value !== P && (F.value = P), $ === !0 && (b.value = P), document.activeElement === F && Be(() => {
1061
- if (P === o) {
1059
+ const H = I(X, M), F = e.fillMask !== !1 ? te(H) : H, $ = b.value !== F;
1060
+ P.value !== F && (P.value = F), $ === !0 && (b.value = F), document.activeElement === P && Be(() => {
1061
+ if (F === o) {
1062
1062
  const q = e.reverseFillMask === !0 ? o.length : 0;
1063
- F.setSelectionRange(q, q, "forward");
1063
+ P.setSelectionRange(q, q, "forward");
1064
1064
  return;
1065
1065
  }
1066
1066
  if (V === "insertFromPaste" && e.reverseFillMask !== !0) {
1067
- const q = F.selectionEnd;
1067
+ const q = P.selectionEnd;
1068
1068
  let _ = B - 1;
1069
1069
  for (let j = d; j <= _ && j < q; j++)
1070
1070
  a[j] !== Re && _++;
1071
- x.right(F, _);
1071
+ x.right(P, _);
1072
1072
  return;
1073
1073
  }
1074
1074
  if (["deleteContentBackward", "deleteContentForward"].indexOf(V) !== -1) {
1075
- const q = e.reverseFillMask === !0 ? B === 0 ? P.length > H.length ? 1 : 0 : Math.max(0, P.length - (P === o ? 0 : Math.min(H.length, z) + 1)) + 1 : B;
1076
- F.setSelectionRange(q, q, "forward");
1075
+ const q = e.reverseFillMask === !0 ? B === 0 ? F.length > H.length ? 1 : 0 : Math.max(0, F.length - (F === o ? 0 : Math.min(H.length, z) + 1)) + 1 : B;
1076
+ P.setSelectionRange(q, q, "forward");
1077
1077
  return;
1078
1078
  }
1079
1079
  if (e.reverseFillMask === !0)
1080
1080
  if ($ === !0) {
1081
- const q = Math.max(0, P.length - (P === o ? 0 : Math.min(H.length, z + 1)));
1082
- q === 1 && B === 1 ? F.setSelectionRange(q, q, "forward") : x.rightReverse(F, q);
1081
+ const q = Math.max(0, F.length - (F === o ? 0 : Math.min(H.length, z + 1)));
1082
+ q === 1 && B === 1 ? P.setSelectionRange(q, q, "forward") : x.rightReverse(P, q);
1083
1083
  } else {
1084
- const q = P.length - z;
1085
- F.setSelectionRange(q, q, "backward");
1084
+ const q = F.length - z;
1085
+ P.setSelectionRange(q, q, "backward");
1086
1086
  }
1087
1087
  else if ($ === !0) {
1088
1088
  const q = Math.max(0, a.indexOf(Re), Math.min(H.length, B) - 1);
1089
- x.right(F, q);
1089
+ x.right(P, q);
1090
1090
  } else {
1091
1091
  const q = B - 1;
1092
- x.right(F, q);
1092
+ x.right(P, q);
1093
1093
  }
1094
1094
  });
1095
- const ve = e.unmaskedValue === !0 ? L(P) : P;
1095
+ const ve = e.unmaskedValue === !0 ? L(F) : F;
1096
1096
  String(e.modelValue) !== ve && (e.modelValue !== null || ve !== "") && l(ve, !0);
1097
1097
  }
1098
1098
  function R(T, M, V) {
1099
- const F = A(L(T.value));
1100
- M = Math.max(0, a.indexOf(Re), Math.min(F.length, M)), d = M, T.setSelectionRange(M, V, "forward");
1099
+ const P = I(L(T.value));
1100
+ M = Math.max(0, a.indexOf(Re), Math.min(P.length, M)), d = M, T.setSelectionRange(M, V, "forward");
1101
1101
  }
1102
1102
  const x = {
1103
1103
  left(T, M) {
1104
1104
  const V = a.slice(M - 1).indexOf(Re) === -1;
1105
- let F = Math.max(0, M - 1);
1106
- for (; F >= 0; F--)
1107
- if (a[F] === Re) {
1108
- M = F, V === !0 && M++;
1105
+ let P = Math.max(0, M - 1);
1106
+ for (; P >= 0; P--)
1107
+ if (a[P] === Re) {
1108
+ M = P, V === !0 && M++;
1109
1109
  break;
1110
1110
  }
1111
- if (F < 0 && a[M] !== void 0 && a[M] !== Re)
1111
+ if (P < 0 && a[M] !== void 0 && a[M] !== Re)
1112
1112
  return x.right(T, 0);
1113
1113
  M >= 0 && T.setSelectionRange(M, M, "backward");
1114
1114
  },
1115
1115
  right(T, M) {
1116
1116
  const V = T.value.length;
1117
- let F = Math.min(V, M + 1);
1118
- for (; F <= V; F++)
1119
- if (a[F] === Re) {
1120
- M = F;
1117
+ let P = Math.min(V, M + 1);
1118
+ for (; P <= V; P++)
1119
+ if (a[P] === Re) {
1120
+ M = P;
1121
1121
  break;
1122
- } else a[F - 1] === Re && (M = F);
1123
- if (F > V && a[M - 1] !== void 0 && a[M - 1] !== Re)
1122
+ } else a[P - 1] === Re && (M = P);
1123
+ if (P > V && a[M - 1] !== void 0 && a[M - 1] !== Re)
1124
1124
  return x.left(T, V);
1125
1125
  T.setSelectionRange(M, M, "forward");
1126
1126
  },
1127
1127
  leftReverse(T, M) {
1128
1128
  const V = k(T.value.length);
1129
- let F = Math.max(0, M - 1);
1130
- for (; F >= 0; F--)
1131
- if (V[F - 1] === Re) {
1132
- M = F;
1129
+ let P = Math.max(0, M - 1);
1130
+ for (; P >= 0; P--)
1131
+ if (V[P - 1] === Re) {
1132
+ M = P;
1133
1133
  break;
1134
- } else if (V[F] === Re && (M = F, F === 0))
1134
+ } else if (V[P] === Re && (M = P, P === 0))
1135
1135
  break;
1136
- if (F < 0 && V[M] !== void 0 && V[M] !== Re)
1136
+ if (P < 0 && V[M] !== void 0 && V[M] !== Re)
1137
1137
  return x.rightReverse(T, 0);
1138
1138
  M >= 0 && T.setSelectionRange(M, M, "backward");
1139
1139
  },
1140
1140
  rightReverse(T, M) {
1141
- const V = T.value.length, F = k(V), B = F.slice(0, M + 1).indexOf(Re) === -1;
1141
+ const V = T.value.length, P = k(V), B = P.slice(0, M + 1).indexOf(Re) === -1;
1142
1142
  let z = Math.min(V, M + 1);
1143
1143
  for (; z <= V; z++)
1144
- if (F[z - 1] === Re) {
1144
+ if (P[z - 1] === Re) {
1145
1145
  M = z, M > 0 && B === !0 && M--;
1146
1146
  break;
1147
1147
  }
1148
- if (z > V && F[M - 1] !== void 0 && F[M - 1] !== Re)
1148
+ if (z > V && P[M - 1] !== void 0 && P[M - 1] !== Re)
1149
1149
  return x.leftReverse(T, V);
1150
1150
  T.setSelectionRange(M, M, "forward");
1151
1151
  }
@@ -1155,46 +1155,46 @@ function ni(e, n, l, t) {
1155
1155
  }
1156
1156
  function O(T) {
1157
1157
  if (n("keydown", T), jl(T) === !0 || T.altKey === !0) return;
1158
- const M = t.value, V = M.selectionStart, F = M.selectionEnd;
1158
+ const M = t.value, V = M.selectionStart, P = M.selectionEnd;
1159
1159
  if (T.shiftKey || (c = void 0), T.keyCode === 37 || T.keyCode === 39) {
1160
- T.shiftKey && c === void 0 && (c = M.selectionDirection === "forward" ? V : F);
1160
+ T.shiftKey && c === void 0 && (c = M.selectionDirection === "forward" ? V : P);
1161
1161
  const B = x[(T.keyCode === 39 ? "right" : "left") + (e.reverseFillMask === !0 ? "Reverse" : "")];
1162
- if (T.preventDefault(), B(M, c === V ? F : V), T.shiftKey) {
1162
+ if (T.preventDefault(), B(M, c === V ? P : V), T.shiftKey) {
1163
1163
  const z = M.selectionStart;
1164
1164
  M.setSelectionRange(Math.min(c, z), Math.max(c, z), "forward");
1165
1165
  }
1166
- } else T.keyCode === 8 && e.reverseFillMask !== !0 && V === F ? (x.left(M, V), M.setSelectionRange(M.selectionStart, F, "backward")) : T.keyCode === 46 && e.reverseFillMask === !0 && V === F && (x.rightReverse(M, F), M.setSelectionRange(V, M.selectionEnd, "forward"));
1166
+ } else T.keyCode === 8 && e.reverseFillMask !== !0 && V === P ? (x.left(M, V), M.setSelectionRange(M.selectionStart, P, "backward")) : T.keyCode === 46 && e.reverseFillMask === !0 && V === P && (x.rightReverse(M, P), M.setSelectionRange(V, M.selectionEnd, "forward"));
1167
1167
  }
1168
- function A(T, M) {
1168
+ function I(T, M) {
1169
1169
  if (T == null || T === "")
1170
1170
  return "";
1171
1171
  if (e.reverseFillMask === !0)
1172
1172
  return C(T, M);
1173
1173
  const V = i;
1174
- let F = 0, B = "";
1174
+ let P = 0, B = "";
1175
1175
  for (let z = 0; z < V.length; z++) {
1176
- const X = T[F], H = V[z];
1176
+ const X = T[P], H = V[z];
1177
1177
  if (typeof H == "string")
1178
- B += H, M === !0 && X === H && F++;
1178
+ B += H, M === !0 && X === H && P++;
1179
1179
  else if (X !== void 0 && H.regex.test(X))
1180
- B += H.transform !== void 0 ? H.transform(X) : X, F++;
1180
+ B += H.transform !== void 0 ? H.transform(X) : X, P++;
1181
1181
  else
1182
1182
  return B;
1183
1183
  }
1184
1184
  return B;
1185
1185
  }
1186
1186
  function C(T, M) {
1187
- const V = i, F = a.indexOf(Re);
1187
+ const V = i, P = a.indexOf(Re);
1188
1188
  let B = T.length - 1, z = "";
1189
1189
  for (let X = V.length - 1; X >= 0 && B !== -1; X--) {
1190
1190
  const H = V[X];
1191
- let P = T[B];
1191
+ let F = T[B];
1192
1192
  if (typeof H == "string")
1193
- z = H + z, M === !0 && P === H && B--;
1194
- else if (P !== void 0 && H.regex.test(P))
1193
+ z = H + z, M === !0 && F === H && B--;
1194
+ else if (F !== void 0 && H.regex.test(F))
1195
1195
  do
1196
- z = (H.transform !== void 0 ? H.transform(P) : P) + z, B--, P = T[B];
1197
- while (F === X && P !== void 0 && H.regex.test(P));
1196
+ z = (H.transform !== void 0 ? H.transform(F) : F) + z, B--, F = T[B];
1197
+ while (P === X && F !== void 0 && H.regex.test(F));
1198
1198
  else
1199
1199
  return z;
1200
1200
  }
@@ -1210,7 +1210,7 @@ function ni(e, n, l, t) {
1210
1210
  innerValue: b,
1211
1211
  hasMask: v,
1212
1212
  moveCursorForPaste: R,
1213
- updateMaskValue: I,
1213
+ updateMaskValue: A,
1214
1214
  onMaskedKeydown: O,
1215
1215
  onMaskedClick: g
1216
1216
  };
@@ -1304,28 +1304,28 @@ const en = Oe({
1304
1304
  hasMask: S,
1305
1305
  moveCursorForPaste: k,
1306
1306
  updateMaskValue: y,
1307
- onMaskedKeydown: I,
1307
+ onMaskedKeydown: A,
1308
1308
  onMaskedClick: R
1309
1309
  } = ni(e, n, X, v), x = li(
1310
1310
  e
1311
- ), g = s(() => qn(w.value)), O = ho(B), A = Hl({ changeEvent: !0 }), C = s(
1311
+ ), g = s(() => qn(w.value)), O = ho(B), I = Hl({ changeEvent: !0 }), C = s(
1312
1312
  () => e.type === "textarea" || e.autogrow === !0
1313
1313
  ), L = s(
1314
1314
  () => C.value === !0 || ["text", "search", "url", "tel", "password"].includes(e.type)
1315
1315
  ), te = s(() => {
1316
1316
  const _ = {
1317
- ...A.splitAttrs.listeners.value,
1317
+ ...I.splitAttrs.listeners.value,
1318
1318
  onInput: B,
1319
- onPaste: F,
1319
+ onPaste: P,
1320
1320
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
1321
1321
  // switching focus before confirming composition choice
1322
1322
  // this also fixes the issue where some browsers e.g. iOS Chrome
1323
1323
  // fires "change" instead of "input" on autocomplete.
1324
- onChange: P,
1324
+ onChange: F,
1325
1325
  onBlur: $,
1326
1326
  onFocus: rt
1327
1327
  };
1328
- return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = O, S.value === !0 && (_.onKeydown = I, _.onClick = R), e.autogrow === !0 && (_.onAnimationend = z), _;
1328
+ return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = O, S.value === !0 && (_.onKeydown = A, _.onClick = R), e.autogrow === !0 && (_.onAnimationend = z), _;
1329
1329
  }), T = s(() => {
1330
1330
  const _ = {
1331
1331
  tabindex: 0,
@@ -1333,8 +1333,8 @@ const en = Oe({
1333
1333
  rows: e.type === "textarea" ? 6 : void 0,
1334
1334
  "aria-label": e.label,
1335
1335
  name: b.value,
1336
- ...A.splitAttrs.attributes.value,
1337
- id: A.targetUid.value,
1336
+ ...I.splitAttrs.attributes.value,
1337
+ id: I.targetUid.value,
1338
1338
  maxlength: e.maxlength,
1339
1339
  disabled: e.disable === !0,
1340
1340
  readonly: e.readonly === !0
@@ -1358,14 +1358,14 @@ const en = Oe({
1358
1358
  function M() {
1359
1359
  Gn(() => {
1360
1360
  const _ = document.activeElement;
1361
- v.value !== null && v.value !== _ && (_ === null || _.id !== A.targetUid.value) && v.value.focus({ preventScroll: !0 });
1361
+ v.value !== null && v.value !== _ && (_ === null || _.id !== I.targetUid.value) && v.value.focus({ preventScroll: !0 });
1362
1362
  });
1363
1363
  }
1364
1364
  function V() {
1365
1365
  var _;
1366
1366
  (_ = v.value) == null || _.select();
1367
1367
  }
1368
- function F(_) {
1368
+ function P(_) {
1369
1369
  if (S.value === !0 && e.reverseFillMask !== !0) {
1370
1370
  const j = _.target;
1371
1371
  k(j, j.selectionStart, j.selectionEnd);
@@ -1412,7 +1412,7 @@ const en = Oe({
1412
1412
  }
1413
1413
  });
1414
1414
  }
1415
- function P(_) {
1415
+ function F(_) {
1416
1416
  O(_), c !== null && (clearTimeout(c), c = null), u == null || u(), n("change", _.target.value);
1417
1417
  }
1418
1418
  function $(_) {
@@ -1427,7 +1427,7 @@ const en = Oe({
1427
1427
  $();
1428
1428
  }), Gt(() => {
1429
1429
  e.autogrow === !0 && H();
1430
- }), Object.assign(A, {
1430
+ }), Object.assign(I, {
1431
1431
  innerValue: w,
1432
1432
  fieldClass: s(
1433
1433
  () => `q-${C.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")
@@ -1459,7 +1459,7 @@ const en = Oe({
1459
1459
  h("span", e.shadowText)
1460
1460
  ])
1461
1461
  });
1462
- const q = zl(A);
1462
+ const q = zl(I);
1463
1463
  return Object.assign(t, {
1464
1464
  focus: M,
1465
1465
  select: V,
@@ -1513,9 +1513,9 @@ const si = /* @__PURE__ */ tt({
1513
1513
  )), v = K(!1), b = s(() => l.schema.format === "email" ? "email" : l.schema.format === "url" || l.schema.format === "uri" ? "url" : l.schema.format === "password" ? v.value ? "text" : "password" : l.schema.format === "textarea" ? "textarea" : "text"), w = s(() => l.schema.format === "textarea" || l.schema.maxLength && l.schema.maxLength > 200), S = s(() => l.schema.format === "password"), k = s(() => ({
1514
1514
  color: u.value.iconColor || "grey-7",
1515
1515
  size: u.value.iconSize || "sm"
1516
- })), y = s(() => !!u.value.prependIcon), I = s(
1516
+ })), y = s(() => !!u.value.prependIcon), A = s(
1517
1517
  () => !S.value && !!u.value.appendIcon
1518
- ), R = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: d, quasarProps: c, quickformsFeatures: u, isPasswordVisible: v, inputType: b, isTextarea: w, isPasswordField: S, iconConfig: k, showPrependIcon: y, showAppendIcon: I, get QInput() {
1518
+ ), R = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: d, quasarProps: c, quickformsFeatures: u, isPasswordVisible: v, inputType: b, isTextarea: w, isPasswordField: S, iconConfig: k, showPrependIcon: y, showAppendIcon: A, get QInput() {
1519
1519
  return en;
1520
1520
  }, get QIcon() {
1521
1521
  return Je;
@@ -1529,7 +1529,7 @@ const si = /* @__PURE__ */ tt({
1529
1529
  return l;
1530
1530
  };
1531
1531
  function ci(e, n, l, t, a, o) {
1532
- return re(), st(t.QInput, Pe({
1532
+ return re(), st(t.QInput, Fe({
1533
1533
  id: t.fieldId,
1534
1534
  modelValue: t.value,
1535
1535
  "onUpdate:modelValue": n[1] || (n[1] = (i) => t.value = i),
@@ -1549,11 +1549,11 @@ function ci(e, n, l, t, a, o) {
1549
1549
  name: "label",
1550
1550
  fn: de(() => [
1551
1551
  Ke(
1552
- Ve(t.label) + " ",
1552
+ Te(t.label) + " ",
1553
1553
  1
1554
1554
  /* TEXT */
1555
1555
  ),
1556
- n[2] || (n[2] = Te(
1556
+ n[2] || (n[2] = Ve(
1557
1557
  "span",
1558
1558
  { style: { color: "red" } },
1559
1559
  "*",
@@ -1625,7 +1625,7 @@ const di = /* @__PURE__ */ lt(si, [["render", ci], ["__file", "/Users/zachsherbo
1625
1625
  }
1626
1626
  });
1627
1627
  function vi(e, n, l, t, a, o) {
1628
- return re(), st(t.QInput, Pe({
1628
+ return re(), st(t.QInput, Fe({
1629
1629
  id: t.fieldId,
1630
1630
  modelValue: t.value,
1631
1631
  "onUpdate:modelValue": n[0] || (n[0] = (i) => t.value = i),
@@ -1647,11 +1647,11 @@ function vi(e, n, l, t, a, o) {
1647
1647
  name: "label",
1648
1648
  fn: de(() => [
1649
1649
  Ke(
1650
- Ve(t.label) + " ",
1650
+ Te(t.label) + " ",
1651
1651
  1
1652
1652
  /* TEXT */
1653
1653
  ),
1654
- n[1] || (n[1] = Te(
1654
+ n[1] || (n[1] = Ve(
1655
1655
  "span",
1656
1656
  { style: { color: "red" } },
1657
1657
  "*",
@@ -1718,14 +1718,14 @@ function pi(e, n) {
1718
1718
  () => l.val !== void 0 && Array.isArray(l.modelValue)
1719
1719
  ), w = s(() => {
1720
1720
  const V = an(l.val);
1721
- return b.value === !0 ? l.modelValue.findIndex((F) => an(F) === V) : -1;
1721
+ return b.value === !0 ? l.modelValue.findIndex((P) => an(P) === V) : -1;
1722
1722
  }), S = s(() => b.value === !0 ? w.value !== -1 : an(l.modelValue) === an(l.trueValue)), k = s(() => b.value === !0 ? w.value === -1 : an(l.modelValue) === an(l.falseValue)), y = s(
1723
1723
  () => S.value === !1 && k.value === !1
1724
- ), I = s(() => l.disable === !0 ? -1 : l.tabindex || 0), R = s(
1724
+ ), A = s(() => l.disable === !0 ? -1 : l.tabindex || 0), R = s(
1725
1725
  () => `q-${e} cursor-pointer no-outline row inline no-wrap items-center` + (l.disable === !0 ? " disabled" : "") + (r.value === !0 ? ` q-${e}--dark` : "") + (l.dense === !0 ? ` q-${e}--dense` : "") + (l.leftLabel === !0 ? " reverse" : "")
1726
1726
  ), x = s(() => {
1727
- const V = S.value === !0 ? "truthy" : k.value === !0 ? "falsy" : "indet", F = l.color !== void 0 && (l.keepColor === !0 || k.value !== !0) ? ` text-${l.color}` : "";
1728
- return `q-${e}__inner relative-position non-selectable q-${e}__inner--${V}${F}`;
1727
+ const V = S.value === !0 ? "truthy" : k.value === !0 ? "falsy" : "indet", P = l.color !== void 0 && (l.keepColor === !0 || k.value !== !0) ? ` text-${l.color}` : "";
1728
+ return `q-${e}__inner relative-position non-selectable q-${e}__inner--${V}${P}`;
1729
1729
  }), g = s(() => {
1730
1730
  const V = { type: "checkbox" };
1731
1731
  return l.name !== void 0 && Object.assign(V, {
@@ -1735,9 +1735,9 @@ function pi(e, n) {
1735
1735
  name: l.name,
1736
1736
  value: b.value === !0 ? l.val : l.trueValue
1737
1737
  }), V;
1738
- }), O = Ql(g), A = s(() => {
1738
+ }), O = Ql(g), I = s(() => {
1739
1739
  const V = {
1740
- tabindex: I.value,
1740
+ tabindex: A.value,
1741
1741
  role: "checkbox",
1742
1742
  "aria-label": l.label,
1743
1743
  "aria-checked": y.value === !0 ? "mixed" : S.value === !0 ? "true" : "false"
@@ -1745,7 +1745,7 @@ function pi(e, n) {
1745
1745
  return l.disable === !0 && (V["aria-disabled"] = "true"), V;
1746
1746
  });
1747
1747
  function C(V) {
1748
- V !== void 0 && (Fe(V), u(V)), l.disable !== !0 && a("update:modelValue", L(), V);
1748
+ V !== void 0 && (Pe(V), u(V)), l.disable !== !0 && a("update:modelValue", L(), V);
1749
1749
  }
1750
1750
  function L() {
1751
1751
  if (b.value === !0) {
@@ -1766,7 +1766,7 @@ function pi(e, n) {
1766
1766
  return l.indeterminateValue;
1767
1767
  }
1768
1768
  function te(V) {
1769
- (V.keyCode === 13 || V.keyCode === 32) && Fe(V);
1769
+ (V.keyCode === 13 || V.keyCode === 32) && Pe(V);
1770
1770
  }
1771
1771
  function T(V) {
1772
1772
  (V.keyCode === 13 || V.keyCode === 32) && C(V);
@@ -1779,27 +1779,27 @@ function pi(e, n) {
1779
1779
  "unshift",
1780
1780
  ` q-${e}__native absolute q-ma-none q-pa-none`
1781
1781
  );
1782
- const F = [
1782
+ const P = [
1783
1783
  h("div", {
1784
1784
  class: x.value,
1785
1785
  style: v.value,
1786
1786
  "aria-hidden": "true"
1787
1787
  }, V)
1788
1788
  ];
1789
- c.value !== null && F.push(c.value);
1789
+ c.value !== null && P.push(c.value);
1790
1790
  const B = l.label !== void 0 ? Kt(t.default, [l.label]) : Ue(t.default);
1791
- return B !== void 0 && F.push(
1791
+ return B !== void 0 && P.push(
1792
1792
  h("div", {
1793
1793
  class: `q-${e}__label q-anchor--skip`
1794
1794
  }, B)
1795
1795
  ), h("div", {
1796
1796
  ref: d,
1797
1797
  class: R.value,
1798
- ...A.value,
1798
+ ...I.value,
1799
1799
  onClick: C,
1800
1800
  onKeydown: te,
1801
1801
  onKeyup: T
1802
- }, F);
1802
+ }, P);
1803
1803
  };
1804
1804
  }
1805
1805
  const wi = () => h("div", {
@@ -1879,7 +1879,7 @@ const wi = () => h("div", {
1879
1879
  };
1880
1880
  function xi(e, n, l, t, a, o) {
1881
1881
  return re(), ge("div", null, [
1882
- ue(t.QCheckbox, Pe({
1882
+ ue(t.QCheckbox, Fe({
1883
1883
  id: t.fieldId,
1884
1884
  modelValue: t.value,
1885
1885
  "onUpdate:modelValue": n[0] || (n[0] = (i) => t.value = i),
@@ -1889,7 +1889,7 @@ function xi(e, n, l, t, a, o) {
1889
1889
  }, t.quasarProps), {
1890
1890
  default: de(() => [
1891
1891
  Ke(
1892
- Ve(t.label) + " ",
1892
+ Te(t.label) + " ",
1893
1893
  1
1894
1894
  /* TEXT */
1895
1895
  ),
@@ -1901,7 +1901,7 @@ function xi(e, n, l, t, a, o) {
1901
1901
  t.errorMessage ? (re(), ge(
1902
1902
  "div",
1903
1903
  qi,
1904
- Ve(t.errorMessage),
1904
+ Te(t.errorMessage),
1905
1905
  1
1906
1906
  /* TEXT */
1907
1907
  )) : he("v-if", !0)
@@ -1950,7 +1950,7 @@ function go(e, n) {
1950
1950
  return !0;
1951
1951
  return !1;
1952
1952
  }
1953
- function Ti(e, n = 250) {
1953
+ function Vi(e, n = 250) {
1954
1954
  let l = !1, t;
1955
1955
  return function() {
1956
1956
  return l === !1 && (l = !0, setTimeout(() => {
@@ -1963,7 +1963,7 @@ function ka(e, n, l, t) {
1963
1963
  const a = l.modifiers.color;
1964
1964
  let o = l.modifiers.center;
1965
1965
  o = o === !0 || t === !0;
1966
- const i = document.createElement("span"), r = document.createElement("span"), d = vn(e), { left: c, top: u, width: v, height: b } = n.getBoundingClientRect(), w = Math.sqrt(v * v + b * b), S = w / 2, k = `${(v - w) / 2}px`, y = o ? k : `${d.left - c - S}px`, I = `${(b - w) / 2}px`, R = o ? I : `${d.top - u - S}px`;
1966
+ const i = document.createElement("span"), r = document.createElement("span"), d = vn(e), { left: c, top: u, width: v, height: b } = n.getBoundingClientRect(), w = Math.sqrt(v * v + b * b), S = w / 2, k = `${(v - w) / 2}px`, y = o ? k : `${d.left - c - S}px`, A = `${(b - w) / 2}px`, R = o ? A : `${d.top - u - S}px`;
1967
1967
  r.className = "q-ripple__inner", Ol(r, {
1968
1968
  height: `${w}px`,
1969
1969
  width: `${w}px`,
@@ -1975,7 +1975,7 @@ function ka(e, n, l, t) {
1975
1975
  };
1976
1976
  l.abort.push(x);
1977
1977
  let g = setTimeout(() => {
1978
- r.classList.add("q-ripple__inner--enter"), r.style.transform = `translate3d(${k},${I},0) scale3d(1,1,1)`, r.style.opacity = 0.2, g = setTimeout(() => {
1978
+ r.classList.add("q-ripple__inner--enter"), r.style.transform = `translate3d(${k},${A},0) scale3d(1,1,1)`, r.style.opacity = 0.2, g = setTimeout(() => {
1979
1979
  r.classList.remove("q-ripple__inner--enter"), r.classList.add("q-ripple__inner--leave"), r.style.opacity = 0, g = setTimeout(() => {
1980
1980
  i.remove(), l.abort.splice(l.abort.indexOf(x), 1);
1981
1981
  }, 275);
@@ -2006,11 +2006,11 @@ const yo = Rl(
2006
2006
  start(a) {
2007
2007
  t.enabled === !0 && a.qSkipRipple !== !0 && a.type === (t.modifiers.early === !0 ? "pointerdown" : "click") && ka(a, e, t, a.qKeyEvent === !0);
2008
2008
  },
2009
- keystart: Ti((a) => {
2009
+ keystart: Vi((a) => {
2010
2010
  t.enabled === !0 && a.qSkipRipple !== !0 && It(a, t.modifiers.keyCodes) === !0 && a.type === `key${t.modifiers.early === !0 ? "down" : "up"}` && ka(a, e, t, !0);
2011
2011
  }, 300)
2012
2012
  };
2013
- Sa(t, n), e.__qripple = t, Tt(t, "main", [
2013
+ Sa(t, n), e.__qripple = t, Vt(t, "main", [
2014
2014
  [e, "pointerdown", "start", "passive"],
2015
2015
  [e, "click", "start", "passive"],
2016
2016
  [e, "keydown", "keystart", "passive"],
@@ -2030,7 +2030,7 @@ const yo = Rl(
2030
2030
  }), Wt(n, "main"), delete e._qripple);
2031
2031
  }
2032
2032
  }
2033
- ), Vi = {
2033
+ ), Ti = {
2034
2034
  xs: 8,
2035
2035
  sm: 10,
2036
2036
  md: 14,
@@ -2071,19 +2071,19 @@ const yo = Rl(
2071
2071
  },
2072
2072
  emits: ["update:modelValue", "update:selected", "remove", "click"],
2073
2073
  setup(e, { slots: n, emit: l }) {
2074
- const { proxy: { $q: t } } = ke(), a = kt(e, t), o = Jn(e, Vi), i = s(() => e.selected === !0 || e.icon !== void 0), r = s(() => e.selected === !0 ? e.iconSelected || t.iconSet.chip.selected : e.icon), d = s(() => e.iconRemove || t.iconSet.chip.remove), c = s(
2074
+ const { proxy: { $q: t } } = ke(), a = kt(e, t), o = Jn(e, Ti), i = s(() => e.selected === !0 || e.icon !== void 0), r = s(() => e.selected === !0 ? e.iconSelected || t.iconSet.chip.selected : e.icon), d = s(() => e.iconRemove || t.iconSet.chip.remove), c = s(
2075
2075
  () => e.disable === !1 && (e.clickable === !0 || e.selected !== null)
2076
2076
  ), u = s(() => {
2077
2077
  const y = e.outline === !0 && e.color || e.textColor;
2078
2078
  return "q-chip row inline no-wrap items-center" + (e.outline === !1 && e.color !== void 0 ? ` bg-${e.color}` : "") + (y ? ` text-${y} q-chip--colored` : "") + (e.disable === !0 ? " disabled" : "") + (e.dense === !0 ? " q-chip--dense" : "") + (e.outline === !0 ? " q-chip--outline" : "") + (e.selected === !0 ? " q-chip--selected" : "") + (c.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square === !0 ? " q-chip--square" : "") + (a.value === !0 ? " q-chip--dark q-dark" : "");
2079
2079
  }), v = s(() => {
2080
- const y = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, I = {
2080
+ const y = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, A = {
2081
2081
  ...y,
2082
2082
  role: "button",
2083
2083
  "aria-hidden": "false",
2084
2084
  "aria-label": e.removeAriaLabel || t.lang.label.remove
2085
2085
  };
2086
- return { chip: y, remove: I };
2086
+ return { chip: y, remove: A };
2087
2087
  });
2088
2088
  function b(y) {
2089
2089
  y.keyCode === 13 && w(y);
@@ -2092,7 +2092,7 @@ const yo = Rl(
2092
2092
  e.disable || (l("update:selected", !e.selected), l("click", y));
2093
2093
  }
2094
2094
  function S(y) {
2095
- (y.keyCode === void 0 || y.keyCode === 13) && (Fe(y), e.disable === !1 && (l("update:modelValue", !1), l("remove")));
2095
+ (y.keyCode === void 0 || y.keyCode === 13) && (Pe(y), e.disable === !1 && (l("update:modelValue", !1), l("remove")));
2096
2096
  }
2097
2097
  function k() {
2098
2098
  const y = [];
@@ -2104,11 +2104,11 @@ const yo = Rl(
2104
2104
  name: r.value
2105
2105
  })
2106
2106
  );
2107
- const I = e.label !== void 0 ? [h("div", { class: "ellipsis" }, [e.label])] : void 0;
2107
+ const A = e.label !== void 0 ? [h("div", { class: "ellipsis" }, [e.label])] : void 0;
2108
2108
  return y.push(
2109
2109
  h("div", {
2110
2110
  class: "q-chip__content col row no-wrap items-center q-anchor--skip"
2111
- }, xr(n.default, I))
2111
+ }, xr(n.default, A))
2112
2112
  ), e.iconRight && y.push(
2113
2113
  h(Je, {
2114
2114
  class: "q-chip__icon q-chip__icon--right",
@@ -2145,7 +2145,7 @@ const yo = Rl(
2145
2145
  };
2146
2146
  }
2147
2147
  });
2148
- function Fn(e) {
2148
+ function Pn(e) {
2149
2149
  if (Object(e.$parent) === e.$parent)
2150
2150
  return e.$parent;
2151
2151
  let { parent: n } = e.$;
@@ -2181,14 +2181,14 @@ function Bi(e, n) {
2181
2181
  function Ca(e, n) {
2182
2182
  return Array.isArray(n) === !0 ? e.length === n.length && e.every((l, t) => l === n[t]) : e.length === 1 && e[0] === n;
2183
2183
  }
2184
- function Pi(e, n) {
2184
+ function Fi(e, n) {
2185
2185
  return Array.isArray(e) === !0 ? Ca(e, n) : Array.isArray(n) === !0 ? Ca(n, e) : e === n;
2186
2186
  }
2187
- function Fi(e, n) {
2187
+ function Pi(e, n) {
2188
2188
  if (Object.keys(e).length !== Object.keys(n).length)
2189
2189
  return !1;
2190
2190
  for (const l in e)
2191
- if (Pi(e[l], n[l]) === !1)
2191
+ if (Fi(e[l], n[l]) === !1)
2192
2192
  return !1;
2193
2193
  return !0;
2194
2194
  }
@@ -2228,7 +2228,7 @@ function wo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2228
2228
  } : {}), S = s(() => {
2229
2229
  if (u.value === !1)
2230
2230
  return -1;
2231
- const { matched: O } = c.value, { length: A } = O, C = O[A - 1];
2231
+ const { matched: O } = c.value, { length: I } = O, C = O[I - 1];
2232
2232
  if (C === void 0)
2233
2233
  return -1;
2234
2234
  const L = a.$route.matched;
@@ -2239,18 +2239,18 @@ function wo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2239
2239
  );
2240
2240
  if (te !== -1)
2241
2241
  return te;
2242
- const T = qa(O[A - 2]);
2242
+ const T = qa(O[I - 2]);
2243
2243
  return (
2244
2244
  // we are dealing with nested routes
2245
- A > 1 && qa(C) === T && L[L.length - 1].path !== T ? L.findIndex(
2246
- xa.bind(null, O[A - 2])
2245
+ I > 1 && qa(C) === T && L[L.length - 1].path !== T ? L.findIndex(
2246
+ xa.bind(null, O[I - 2])
2247
2247
  ) : te
2248
2248
  );
2249
2249
  }), k = s(
2250
2250
  () => u.value === !0 && S.value !== -1 && Bi(a.$route.params, c.value.params)
2251
2251
  ), y = s(
2252
- () => k.value === !0 && S.value === a.$route.matched.length - 1 && Fi(a.$route.params, c.value.params)
2253
- ), I = s(() => u.value === !0 ? y.value === !0 ? ` ${t.exactActiveClass} ${t.activeClass}` : t.exact === !0 ? "" : k.value === !0 ? ` ${t.activeClass}` : "" : "");
2252
+ () => k.value === !0 && S.value === a.$route.matched.length - 1 && Pi(a.$route.params, c.value.params)
2253
+ ), A = s(() => u.value === !0 ? y.value === !0 ? ` ${t.exactActiveClass} ${t.activeClass}` : t.exact === !0 ? "" : k.value === !0 ? ` ${t.activeClass}` : "" : "");
2254
2254
  function R(O) {
2255
2255
  try {
2256
2256
  return a.$router.resolve(O);
@@ -2258,7 +2258,7 @@ function wo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2258
2258
  }
2259
2259
  return null;
2260
2260
  }
2261
- function x(O, { returnRouterError: A, to: C = t.to, replace: L = t.replace } = {}) {
2261
+ function x(O, { returnRouterError: I, to: C = t.to, replace: L = t.replace } = {}) {
2262
2262
  if (t.disable === !0)
2263
2263
  return O.preventDefault(), Promise.resolve(!1);
2264
2264
  if (
@@ -2269,14 +2269,14 @@ function wo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2269
2269
  return Promise.resolve(!1);
2270
2270
  O.preventDefault();
2271
2271
  const te = a.$router[L === !0 ? "replace" : "push"](C);
2272
- return A === !0 ? te : te.then(() => {
2272
+ return I === !0 ? te : te.then(() => {
2273
2273
  }).catch(() => {
2274
2274
  });
2275
2275
  }
2276
2276
  function g(O) {
2277
2277
  if (u.value === !0) {
2278
- const A = (C) => x(O, C);
2279
- o("click", O, A), O.defaultPrevented !== !0 && A();
2278
+ const I = (C) => x(O, C);
2279
+ o("click", O, I), O.defaultPrevented !== !0 && I();
2280
2280
  } else
2281
2281
  o("click", O);
2282
2282
  }
@@ -2288,7 +2288,7 @@ function wo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2288
2288
  resolvedLink: c,
2289
2289
  linkIsActive: k,
2290
2290
  linkIsExactActive: y,
2291
- linkClass: I,
2291
+ linkClass: A,
2292
2292
  linkAttrs: w,
2293
2293
  getLink: R,
2294
2294
  navigateToRouterLink: x,
@@ -2329,9 +2329,9 @@ const _o = Oe({
2329
2329
  function y(x) {
2330
2330
  w.value === !0 && (v.value !== null && x.qAvoidFocus !== !0 && (x.qKeyEvent !== !0 && document.activeElement === u.value ? v.value.focus() : document.activeElement === v.value && u.value.focus()), c(x));
2331
2331
  }
2332
- function I(x) {
2332
+ function A(x) {
2333
2333
  if (w.value === !0 && It(x, [13, 32]) === !0) {
2334
- Fe(x), x.qKeyEvent = !0;
2334
+ Pe(x), x.qKeyEvent = !0;
2335
2335
  const g = new MouseEvent("click", x);
2336
2336
  g.qKeyEvent = !0, u.value.dispatchEvent(g);
2337
2337
  }
@@ -2350,7 +2350,7 @@ const _o = Oe({
2350
2350
  style: k.value,
2351
2351
  role: "listitem",
2352
2352
  onClick: y,
2353
- onKeyup: I
2353
+ onKeyup: A
2354
2354
  };
2355
2355
  return w.value === !0 ? (x.tabindex = e.tabindex || "0", Object.assign(x, i.value)) : b.value === !0 && (x["aria-disabled"] = "true"), h(
2356
2356
  d.value,
@@ -2374,7 +2374,7 @@ const _o = Oe({
2374
2374
  );
2375
2375
  return () => h("div", { class: l.value }, Ue(n.default));
2376
2376
  }
2377
- }), Tl = Oe({
2377
+ }), Vl = Oe({
2378
2378
  name: "QItemLabel",
2379
2379
  props: {
2380
2380
  overline: Boolean,
@@ -2447,7 +2447,7 @@ function Kl({
2447
2447
  if (c.mobileCleanup(w), d(w) !== !0) return;
2448
2448
  a.hide(w), i.value.classList.add("non-selectable");
2449
2449
  const S = w.target;
2450
- Tt(c, "anchor", [
2450
+ Vt(c, "anchor", [
2451
2451
  [S, "touchmove", "mobileCleanup", "passive"],
2452
2452
  [S, "touchend", "mobileCleanup", "passive"],
2453
2453
  [S, "touchcancel", "mobileCleanup", "passive"],
@@ -2470,7 +2470,7 @@ function Kl({
2470
2470
  ] : S = [
2471
2471
  [i.value, "click", "toggle", "passive"],
2472
2472
  [i.value, "keyup", "toggleKey", "passive"]
2473
- ], Tt(c, "anchor", S);
2473
+ ], Vt(c, "anchor", S);
2474
2474
  });
2475
2475
  function u() {
2476
2476
  Wt(c, "anchor");
@@ -2589,8 +2589,8 @@ function ll({
2589
2589
  }), o === !0 && Gt(() => {
2590
2590
  y(r.modelValue);
2591
2591
  });
2592
- const I = { show: b, hide: S, toggle: v };
2593
- return Object.assign(c, I), I;
2592
+ const A = { show: b, hide: S, toggle: v };
2593
+ return Object.assign(c, A), A;
2594
2594
  }
2595
2595
  const Ma = {};
2596
2596
  let Di = 1, Ii = document.body;
@@ -2615,12 +2615,12 @@ function xo(e, n) {
2615
2615
  do {
2616
2616
  if (e.$options.name === "QMenu") {
2617
2617
  if (e.hide(n), e.$props.separateClosePopup === !0)
2618
- return Fn(e);
2618
+ return Pn(e);
2619
2619
  } else if (e.__qPortal === !0) {
2620
- const l = Fn(e);
2620
+ const l = Pn(e);
2621
2621
  return (l == null ? void 0 : l.$options.name) === "QPopupProxy" ? (e.hide(n), l) : e;
2622
2622
  }
2623
- e = Fn(e);
2623
+ e = Pn(e);
2624
2624
  } while (e != null);
2625
2625
  }
2626
2626
  function Hi(e, n, l) {
@@ -2632,7 +2632,7 @@ function Hi(e, n, l) {
2632
2632
  }
2633
2633
  e.hide(n);
2634
2634
  }
2635
- e = Fn(e);
2635
+ e = Pn(e);
2636
2636
  }
2637
2637
  }
2638
2638
  const zi = Oe({
@@ -2757,10 +2757,10 @@ function Ni(e) {
2757
2757
  function Yi(e) {
2758
2758
  return e === window ? window.pageXOffset || window.scrollX || document.body.scrollLeft || 0 : e.scrollLeft;
2759
2759
  }
2760
- let Vn;
2760
+ let Tn;
2761
2761
  function Ki() {
2762
- if (Vn !== void 0)
2763
- return Vn;
2762
+ if (Tn !== void 0)
2763
+ return Tn;
2764
2764
  const e = document.createElement("p"), n = document.createElement("div");
2765
2765
  Ol(e, {
2766
2766
  width: "100%",
@@ -2777,7 +2777,7 @@ function Ki() {
2777
2777
  const l = e.offsetWidth;
2778
2778
  n.style.overflow = "scroll";
2779
2779
  let t = e.offsetWidth;
2780
- return l === t && (t = n.clientWidth), n.remove(), Vn = l - t, Vn;
2780
+ return l === t && (t = n.clientWidth), n.remove(), Tn = l - t, Tn;
2781
2781
  }
2782
2782
  function Ui(e, n = !0) {
2783
2783
  return !e || e.nodeType !== Node.ELEMENT_NODE ? !1 : n ? e.scrollHeight > e.clientHeight && (e.classList.contains("scroll") || e.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(e)["overflow-y"])) : e.scrollWidth > e.clientWidth && (e.classList.contains("scroll") || e.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(e)["overflow-x"]));
@@ -2796,7 +2796,7 @@ function Zi(e) {
2796
2796
  function Oo(e) {
2797
2797
  window[e]("keydown", Wi), window[e]("blur", Xi), window[e]("keyup", Zi), mn = !1;
2798
2798
  }
2799
- function To(e) {
2799
+ function Vo(e) {
2800
2800
  ze.is.desktop === !0 && (Xt.push(e), Xt.length === 1 && Oo("addEventListener"));
2801
2801
  }
2802
2802
  function zn(e) {
@@ -2804,15 +2804,15 @@ function zn(e) {
2804
2804
  n !== -1 && (Xt.splice(n, 1), Xt.length === 0 && Oo("removeEventListener"));
2805
2805
  }
2806
2806
  const Zt = [];
2807
- function Vo(e) {
2807
+ function To(e) {
2808
2808
  Zt[Zt.length - 1](e);
2809
2809
  }
2810
2810
  function Eo(e) {
2811
- ze.is.desktop === !0 && (Zt.push(e), Zt.length === 1 && document.body.addEventListener("focusin", Vo));
2811
+ ze.is.desktop === !0 && (Zt.push(e), Zt.length === 1 && document.body.addEventListener("focusin", To));
2812
2812
  }
2813
- function Vl(e) {
2813
+ function Tl(e) {
2814
2814
  const n = Zt.indexOf(e);
2815
- n !== -1 && (Zt.splice(n, 1), Zt.length === 0 && document.body.removeEventListener("focusin", Vo));
2815
+ n !== -1 && (Zt.splice(n, 1), Zt.length === 0 && document.body.removeEventListener("focusin", To));
2816
2816
  }
2817
2817
  const { notPassiveCapture: jn } = $e, $t = [];
2818
2818
  function Qn(e) {
@@ -2845,12 +2845,12 @@ function Nn(e) {
2845
2845
  const n = $t.findIndex((l) => l === e);
2846
2846
  n !== -1 && ($t.splice(n, 1), $t.length === 0 && (document.removeEventListener("mousedown", Qn, jn), document.removeEventListener("touchstart", Qn, jn)));
2847
2847
  }
2848
- let Oa, Ta;
2848
+ let Oa, Va;
2849
2849
  function Yn(e) {
2850
2850
  const n = e.split(" ");
2851
2851
  return n.length !== 2 ? !1 : ["top", "center", "bottom"].includes(n[0]) !== !0 ? (console.error("Anchor/Self position must start with one of top/center/bottom"), !1) : ["left", "middle", "right", "start", "end"].includes(n[1]) !== !0 ? (console.error("Anchor/Self position must end with one of left/middle/right/start/end"), !1) : !0;
2852
2852
  }
2853
- function Po(e) {
2853
+ function Fo(e) {
2854
2854
  return e ? !(e.length !== 2 || typeof e[0] != "number" || typeof e[1] != "number") : !0;
2855
2855
  }
2856
2856
  const El = {
@@ -2905,7 +2905,7 @@ function Gi(e, n) {
2905
2905
  right: e
2906
2906
  };
2907
2907
  }
2908
- function Va(e, n, l, t) {
2908
+ function Ta(e, n, l, t) {
2909
2909
  return {
2910
2910
  top: e[l.vertical] - n[t.vertical],
2911
2911
  left: e[l.horizontal] - n[t.horizontal]
@@ -2932,8 +2932,8 @@ function $l(e, n = 0) {
2932
2932
  maxWidth: v
2933
2933
  } = e;
2934
2934
  if (ze.is.ios === !0 && window.visualViewport !== void 0) {
2935
- const A = document.body.style, { offsetLeft: C, offsetTop: L } = window.visualViewport;
2936
- C !== Oa && (A.setProperty("--q-pe-left", C + "px"), Oa = C), L !== Ta && (A.setProperty("--q-pe-top", L + "px"), Ta = L);
2935
+ const I = document.body.style, { offsetLeft: C, offsetTop: L } = window.visualViewport;
2936
+ C !== Oa && (I.setProperty("--q-pe-left", C + "px"), Oa = C), L !== Va && (I.setProperty("--q-pe-top", L + "px"), Va = L);
2937
2937
  }
2938
2938
  const { scrollLeft: b, scrollTop: w } = l, S = r === void 0 ? $i(a, c === !0 ? [0, 0] : t) : Ji(a, r, t);
2939
2939
  Object.assign(l.style, {
@@ -2945,18 +2945,18 @@ function $l(e, n = 0) {
2945
2945
  maxHeight: u,
2946
2946
  visibility: "visible"
2947
2947
  });
2948
- const { offsetWidth: k, offsetHeight: y } = l, { elWidth: I, elHeight: R } = d === !0 || c === !0 ? { elWidth: Math.max(S.width, k), elHeight: c === !0 ? Math.max(S.height, y) : y } : { elWidth: k, elHeight: y };
2948
+ const { offsetWidth: k, offsetHeight: y } = l, { elWidth: A, elHeight: R } = d === !0 || c === !0 ? { elWidth: Math.max(S.width, k), elHeight: c === !0 ? Math.max(S.height, y) : y } : { elWidth: k, elHeight: y };
2949
2949
  let x = { maxWidth: v, maxHeight: u };
2950
2950
  (d === !0 || c === !0) && (x.minWidth = S.width + "px", c === !0 && (x.minHeight = S.height + "px")), Object.assign(l.style, x);
2951
- const g = Gi(I, R);
2952
- let O = Va(S, g, o, i);
2951
+ const g = Gi(A, R);
2952
+ let O = Ta(S, g, o, i);
2953
2953
  if (r === void 0 || t === void 0)
2954
2954
  vl(O, S, g, o, i);
2955
2955
  else {
2956
- const { top: A, left: C } = O;
2956
+ const { top: I, left: C } = O;
2957
2957
  vl(O, S, g, o, i);
2958
2958
  let L = !1;
2959
- if (O.top !== A) {
2959
+ if (O.top !== I) {
2960
2960
  L = !0;
2961
2961
  const te = 2 * t[1];
2962
2962
  S.center = S.top -= te, S.bottom -= te + 2;
@@ -2966,7 +2966,7 @@ function $l(e, n = 0) {
2966
2966
  const te = 2 * t[0];
2967
2967
  S.middle = S.left -= te, S.right -= te + 2;
2968
2968
  }
2969
- L === !0 && (O = Va(S, g, o, i), vl(O, S, g, o, i));
2969
+ L === !0 && (O = Ta(S, g, o, i), vl(O, S, g, o, i));
2970
2970
  }
2971
2971
  x = {
2972
2972
  top: O.top + "px",
@@ -3004,7 +3004,7 @@ function vl(e, n, l, t, a) {
3004
3004
  t.horizontal === "middle" ? n.middle : t.horizontal === a.horizontal ? n.left : n.right
3005
3005
  ), e.maxWidth = Math.min(i, c - e.left);
3006
3006
  }
3007
- const Fo = Oe({
3007
+ const Po = Oe({
3008
3008
  name: "QMenu",
3009
3009
  inheritAttrs: !1,
3010
3010
  props: {
@@ -3032,7 +3032,7 @@ const Fo = Oe({
3032
3032
  },
3033
3033
  offset: {
3034
3034
  type: Array,
3035
- validator: Po
3035
+ validator: Fo
3036
3036
  },
3037
3037
  scrollTarget: Co,
3038
3038
  touchPosition: Boolean,
@@ -3054,20 +3054,20 @@ const Fo = Oe({
3054
3054
  let a = null, o, i, r;
3055
3055
  const d = ke(), { proxy: c } = d, { $q: u } = c, v = K(null), b = K(!1), w = s(
3056
3056
  () => e.persistent !== !0 && e.noRouteDismiss !== !0
3057
- ), S = kt(e, u), { registerTick: k, removeTick: y } = Xl(), { registerTimeout: I } = Zl(), { transitionProps: R, transitionStyle: x } = Wl(e), { localScrollTarget: g, changeScrollEvent: O, unconfigureScrollTarget: A } = qo(e, j), { anchorEl: C, canShow: L } = Kl({ showing: b }), { hide: te } = ll({
3057
+ ), S = kt(e, u), { registerTick: k, removeTick: y } = Xl(), { registerTimeout: A } = Zl(), { transitionProps: R, transitionStyle: x } = Wl(e), { localScrollTarget: g, changeScrollEvent: O, unconfigureScrollTarget: I } = qo(e, j), { anchorEl: C, canShow: L } = Kl({ showing: b }), { hide: te } = ll({
3058
3058
  showing: b,
3059
3059
  canShow: L,
3060
3060
  handleShow: ve,
3061
3061
  handleHide: q,
3062
3062
  hideOnRouteChange: w,
3063
3063
  processOnMount: !0
3064
- }), { showPortal: T, hidePortal: M, renderPortal: V } = Ul(d, v, ye, "menu"), F = {
3064
+ }), { showPortal: T, hidePortal: M, renderPortal: V } = Ul(d, v, ye, "menu"), P = {
3065
3065
  anchorEl: C,
3066
3066
  innerRef: v,
3067
3067
  onClickOutside(N) {
3068
3068
  if (e.persistent !== !0 && b.value === !0)
3069
3069
  return te(N), // always prevent touch event
3070
- (N.type === "touchstart" || N.target.classList.contains("q-dialog__backdrop")) && Fe(N), !0;
3070
+ (N.type === "touchstart" || N.target.classList.contains("q-dialog__backdrop")) && Pe(N), !0;
3071
3071
  }
3072
3072
  }, B = s(
3073
3073
  () => Kn(
@@ -3076,11 +3076,11 @@ const Fo = Oe({
3076
3076
  )
3077
3077
  ), z = s(() => e.cover === !0 ? B.value : Kn(e.self || "top start", u.lang.rtl)), X = s(
3078
3078
  () => (e.square === !0 ? " q-menu--square" : "") + (S.value === !0 ? " q-menu--dark q-dark" : "")
3079
- ), H = s(() => e.autoClose === !0 ? { onClick: Y } : {}), P = s(
3079
+ ), H = s(() => e.autoClose === !0 ? { onClick: Y } : {}), F = s(
3080
3080
  () => b.value === !0 && e.persistent !== !0
3081
3081
  );
3082
- oe(P, (N) => {
3083
- N === !0 ? (To(le), Bo(F)) : (zn(le), Nn(F));
3082
+ oe(F, (N) => {
3083
+ N === !0 ? (Vo(le), Bo(P)) : (zn(le), Nn(P));
3084
3084
  });
3085
3085
  function $() {
3086
3086
  Gn(() => {
@@ -3101,18 +3101,18 @@ const Fo = Oe({
3101
3101
  J
3102
3102
  )), e.noFocus !== !0 && document.activeElement.blur(), k(() => {
3103
3103
  J(), e.noFocus !== !0 && $();
3104
- }), I(() => {
3104
+ }), A(() => {
3105
3105
  u.platform.is.ios === !0 && (r = e.autoClose, v.value.click()), J(), T(!0), l("show", N);
3106
3106
  }, e.transitionDuration);
3107
3107
  }
3108
3108
  function q(N) {
3109
3109
  y(), M(), _(!0), a !== null && // menu was hidden from code or ESC plugin
3110
- (N === void 0 || N.qClickOutside !== !0) && ((((N == null ? void 0 : N.type.indexOf("key")) === 0 ? a.closest('[tabindex]:not([tabindex^="-"])') : void 0) || a).focus(), a = null), I(() => {
3110
+ (N === void 0 || N.qClickOutside !== !0) && ((((N == null ? void 0 : N.type.indexOf("key")) === 0 ? a.closest('[tabindex]:not([tabindex^="-"])') : void 0) || a).focus(), a = null), A(() => {
3111
3111
  M(!0), l("hide", N);
3112
3112
  }, e.transitionDuration);
3113
3113
  }
3114
3114
  function _(N) {
3115
- o = void 0, i !== void 0 && (i(), i = void 0), (N === !0 || b.value === !0) && (Vl(ne), A(), Nn(F), zn(le)), N !== !0 && (a = null);
3115
+ o = void 0, i !== void 0 && (i(), i = void 0), (N === !0 || b.value === !0) && (Tl(ne), I(), Nn(P), zn(le)), N !== !0 && (a = null);
3116
3116
  }
3117
3117
  function j() {
3118
3118
  (C.value !== null || e.scrollTarget !== void 0) && (g.value = Mo(C.value, e.scrollTarget), O(g.value, J));
@@ -3121,7 +3121,7 @@ const Fo = Oe({
3121
3121
  r !== !0 ? (xo(c, N), l("click", N)) : r = !1;
3122
3122
  }
3123
3123
  function ne(N) {
3124
- P.value === !0 && e.noFocus !== !0 && go(v.value, N.target) !== !0 && $();
3124
+ F.value === !0 && e.noFocus !== !0 && go(v.value, N.target) !== !0 && $();
3125
3125
  }
3126
3126
  function le(N) {
3127
3127
  e.noEscDismiss !== !0 && (l("escapeKey"), te(N));
@@ -3175,9 +3175,9 @@ function eu(e, n, l) {
3175
3175
  }
3176
3176
  };
3177
3177
  }
3178
- let yn = 0, ml, hl, pn, gl = !1, Ea, Ba, Pa, Nt = null;
3178
+ let yn = 0, ml, hl, pn, gl = !1, Ea, Ba, Fa, Nt = null;
3179
3179
  function tu(e) {
3180
- nu(e) && Fe(e);
3180
+ nu(e) && Pe(e);
3181
3181
  }
3182
3182
  function nu(e) {
3183
3183
  if (e.target === document.body || e.target.classList.contains("q-layout__backdrop"))
@@ -3190,7 +3190,7 @@ function nu(e) {
3190
3190
  }
3191
3191
  return !0;
3192
3192
  }
3193
- function Fa(e) {
3193
+ function Pa(e) {
3194
3194
  e.target === document && (document.scrollingElement.scrollTop = document.scrollingElement.scrollTop);
3195
3195
  }
3196
3196
  function En(e) {
@@ -3204,9 +3204,9 @@ function Da(e) {
3204
3204
  const n = document.body, l = window.visualViewport !== void 0;
3205
3205
  if (e === "add") {
3206
3206
  const { overflowY: t, overflowX: a } = window.getComputedStyle(n);
3207
- ml = Yi(window), hl = Ni(window), Ea = n.style.left, Ba = n.style.top, Pa = window.location.href, n.style.left = `-${ml}px`, n.style.top = `-${hl}px`, a !== "hidden" && (a === "scroll" || n.scrollWidth > window.innerWidth) && n.classList.add("q-body--force-scrollbar-x"), t !== "hidden" && (t === "scroll" || n.scrollHeight > window.innerHeight) && n.classList.add("q-body--force-scrollbar-y"), n.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, ze.is.ios === !0 && (l === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", En, $e.passiveCapture), window.visualViewport.addEventListener("scroll", En, $e.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", Fa, $e.passiveCapture));
3207
+ ml = Yi(window), hl = Ni(window), Ea = n.style.left, Ba = n.style.top, Fa = window.location.href, n.style.left = `-${ml}px`, n.style.top = `-${hl}px`, a !== "hidden" && (a === "scroll" || n.scrollWidth > window.innerWidth) && n.classList.add("q-body--force-scrollbar-x"), t !== "hidden" && (t === "scroll" || n.scrollHeight > window.innerHeight) && n.classList.add("q-body--force-scrollbar-y"), n.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, ze.is.ios === !0 && (l === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", En, $e.passiveCapture), window.visualViewport.addEventListener("scroll", En, $e.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", Pa, $e.passiveCapture));
3208
3208
  }
3209
- ze.is.desktop === !0 && ze.is.mac === !0 && window[`${e}EventListener`]("wheel", tu, $e.notPassive), e === "remove" && (ze.is.ios === !0 && (l === !0 ? (window.visualViewport.removeEventListener("resize", En, $e.passiveCapture), window.visualViewport.removeEventListener("scroll", En, $e.passiveCapture)) : window.removeEventListener("scroll", Fa, $e.passiveCapture)), n.classList.remove("q-body--prevent-scroll"), n.classList.remove("q-body--force-scrollbar-x"), n.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, n.style.left = Ea, n.style.top = Ba, window.location.href === Pa && window.scrollTo(ml, hl), pn = void 0);
3209
+ ze.is.desktop === !0 && ze.is.mac === !0 && window[`${e}EventListener`]("wheel", tu, $e.notPassive), e === "remove" && (ze.is.ios === !0 && (l === !0 ? (window.visualViewport.removeEventListener("resize", En, $e.passiveCapture), window.visualViewport.removeEventListener("scroll", En, $e.passiveCapture)) : window.removeEventListener("scroll", Pa, $e.passiveCapture)), n.classList.remove("q-body--prevent-scroll"), n.classList.remove("q-body--force-scrollbar-x"), n.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, n.style.left = Ea, n.style.top = Ba, window.location.href === Fa && window.scrollTo(ml, hl), pn = void 0);
3210
3210
  }
3211
3211
  function lu(e) {
3212
3212
  let n = "add";
@@ -3290,11 +3290,11 @@ const ou = {
3290
3290
  let d = null, c = null, u, v;
3291
3291
  const b = s(
3292
3292
  () => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
3293
- ), { preventBodyScroll: w } = au(), { registerTimeout: S } = Zl(), { registerTick: k, removeTick: y } = Xl(), { transitionProps: I, transitionStyle: R } = Wl(
3293
+ ), { preventBodyScroll: w } = au(), { registerTimeout: S } = Zl(), { registerTick: k, removeTick: y } = Xl(), { transitionProps: A, transitionStyle: R } = Wl(
3294
3294
  e,
3295
3295
  () => Ia[e.position][0],
3296
3296
  () => Ia[e.position][1]
3297
- ), x = s(() => R.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: g, hidePortal: O, portalIsAccessible: A, renderPortal: C } = Ul(
3297
+ ), x = s(() => R.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: g, hidePortal: O, portalIsAccessible: I, renderPortal: C } = Ul(
3298
3298
  a,
3299
3299
  o,
3300
3300
  j,
@@ -3302,7 +3302,7 @@ const ou = {
3302
3302
  ), { hide: L } = ll({
3303
3303
  showing: i,
3304
3304
  hideOnRouteChange: b,
3305
- handleShow: F,
3305
+ handleShow: P,
3306
3306
  handleHide: B,
3307
3307
  processOnMount: !0
3308
3308
  });
@@ -3316,9 +3316,9 @@ const ou = {
3316
3316
  oe(() => e.maximized, (Y) => {
3317
3317
  i.value === !0 && $(Y);
3318
3318
  }), oe(T, (Y) => {
3319
- w(Y), Y === !0 ? (Eo(_), To(H)) : (Vl(_), zn(H));
3319
+ w(Y), Y === !0 ? (Eo(_), Vo(H)) : (Tl(_), zn(H));
3320
3320
  });
3321
- function F(Y) {
3321
+ function P(Y) {
3322
3322
  var ne;
3323
3323
  c = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, $(e.maximized), g(), r.value = !0, e.noFocus !== !0 ? ((ne = document.activeElement) == null || ne.blur(), k(z)) : y(), S(() => {
3324
3324
  if (a.proxy.$q.platform.is.ios === !0) {
@@ -3335,7 +3335,7 @@ const ou = {
3335
3335
  }, e.transitionDuration);
3336
3336
  }
3337
3337
  function B(Y) {
3338
- y(), P(!0), r.value = !0, O(), c !== null && ((((Y == null ? void 0 : Y.type.indexOf("key")) === 0 ? c.closest('[tabindex]:not([tabindex^="-"])') : void 0) || c).focus(), c = null), S(() => {
3338
+ y(), F(!0), r.value = !0, O(), c !== null && ((((Y == null ? void 0 : Y.type.indexOf("key")) === 0 ? c.closest('[tabindex]:not([tabindex^="-"])') : void 0) || c).focus(), c = null), S(() => {
3339
3339
  O(!0), r.value = !1, l("hide", Y);
3340
3340
  }, e.transitionDuration);
3341
3341
  }
@@ -3364,8 +3364,8 @@ const ou = {
3364
3364
  function H() {
3365
3365
  e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && X() : (l("escapeKey"), L()));
3366
3366
  }
3367
- function P(Y) {
3368
- d !== null && (clearTimeout(d), d = null), (Y === !0 || i.value === !0) && ($(!1), e.seamless !== !0 && (w(!1), Vl(_), zn(H))), Y !== !0 && (c = null);
3367
+ function F(Y) {
3368
+ d !== null && (clearTimeout(d), d = null), (Y === !0 || i.value === !0) && ($(!1), e.seamless !== !0 && (w(!1), Tl(_), zn(H))), Y !== !0 && (c = null);
3369
3369
  }
3370
3370
  function $(Y) {
3371
3371
  Y === !0 ? u !== !0 && (Bn < 1 && document.body.classList.add("q-body--dialog"), Bn++, u = !0) : u === !0 && (Bn < 2 && document.body.classList.remove("q-body--dialog"), Bn--, u = !1);
@@ -3377,7 +3377,7 @@ const ou = {
3377
3377
  e.persistent !== !0 && e.noBackdropDismiss !== !0 ? L(Y) : e.noShake !== !0 && X();
3378
3378
  }
3379
3379
  function _(Y) {
3380
- e.allowFocusOutside !== !0 && A.value === !0 && go(o.value, Y.target) !== !0 && z('[tabindex]:not([tabindex="-1"])');
3380
+ e.allowFocusOutside !== !0 && I.value === !0 && go(o.value, Y.target) !== !0 && z('[tabindex]:not([tabindex="-1"])');
3381
3381
  }
3382
3382
  Object.assign(a.proxy, {
3383
3383
  // expose public methods
@@ -3387,7 +3387,7 @@ const ou = {
3387
3387
  __updateRefocusTarget(Y) {
3388
3388
  c = Y || null;
3389
3389
  }
3390
- }), je(P);
3390
+ }), je(F);
3391
3391
  function j() {
3392
3392
  return h("div", {
3393
3393
  role: "dialog",
@@ -3407,7 +3407,7 @@ const ou = {
3407
3407
  }) : null),
3408
3408
  h(
3409
3409
  it,
3410
- I.value,
3410
+ A.value,
3411
3411
  () => i.value === !0 ? h("div", {
3412
3412
  ref: o,
3413
3413
  class: te.value,
@@ -3527,14 +3527,14 @@ function su({
3527
3527
  }) {
3528
3528
  const a = ke(), { props: o, emit: i, proxy: r } = a, { $q: d } = r;
3529
3529
  let c, u, v, b = [], w;
3530
- const S = K(0), k = K(0), y = K({}), I = K(null), R = K(null), x = K(null), g = K({ from: 0, to: 0 }), O = s(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3530
+ const S = K(0), k = K(0), y = K({}), A = K(null), R = K(null), x = K(null), g = K({ from: 0, to: 0 }), O = s(() => o.tableColspan !== void 0 ? o.tableColspan : 100);
3531
3531
  t === void 0 && (t = s(() => o.virtualScrollItemSize));
3532
- const A = s(() => t.value + ";" + o.virtualScrollHorizontal), C = s(
3533
- () => A.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3532
+ const I = s(() => t.value + ";" + o.virtualScrollHorizontal), C = s(
3533
+ () => I.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3534
3534
  );
3535
3535
  oe(C, () => {
3536
3536
  X();
3537
- }), oe(A, L);
3537
+ }), oe(I, L);
3538
3538
  function L() {
3539
3539
  z(u, !0);
3540
3540
  }
@@ -3547,7 +3547,7 @@ function su({
3547
3547
  const Y = yl(
3548
3548
  j,
3549
3549
  l(),
3550
- I.value,
3550
+ A.value,
3551
3551
  R.value,
3552
3552
  o.virtualScrollHorizontal,
3553
3553
  d.lang.rtl,
@@ -3568,7 +3568,7 @@ function su({
3568
3568
  const _ = yl(
3569
3569
  q,
3570
3570
  l(),
3571
- I.value,
3571
+ A.value,
3572
3572
  R.value,
3573
3573
  o.virtualScrollHorizontal,
3574
3574
  d.lang.rtl,
@@ -3580,7 +3580,7 @@ function su({
3580
3580
  V(q, _, 0, 0);
3581
3581
  return;
3582
3582
  }
3583
- v !== _.scrollViewSize && X(_.scrollViewSize), F(g.value.from);
3583
+ v !== _.scrollViewSize && X(_.scrollViewSize), P(g.value.from);
3584
3584
  const ne = Math.floor(_.scrollMaxSize - Math.max(_.scrollViewSize, _.offsetEnd) - Math.min(w[j], _.scrollViewSize / 2));
3585
3585
  if (ne > 0 && Math.ceil(_.scrollStart) >= ne) {
3586
3586
  V(
@@ -3612,7 +3612,7 @@ function su({
3612
3612
  Ee > e.value && (Ee = e.value, N = Math.max(0, Ee - y.value.total)), c = _.scrollStart;
3613
3613
  const we = N !== g.value.from || Ee !== g.value.to;
3614
3614
  if (we === !1 && J === void 0) {
3615
- P(j);
3615
+ F(j);
3616
3616
  return;
3617
3617
  }
3618
3618
  const { activeElement: Se } = document, Qe = x.value;
@@ -3628,7 +3628,7 @@ function su({
3628
3628
  }
3629
3629
  requestAnimationFrame(() => {
3630
3630
  if (c !== _.scrollStart) return;
3631
- we === !0 && F(N);
3631
+ we === !0 && P(N);
3632
3632
  const dt = w.slice(N, j).reduce(fn, 0), Ge = dt + _.offsetStart + S.value, Le = Ge + w[j];
3633
3633
  let qt = Ge + Y;
3634
3634
  if (J !== void 0) {
@@ -3640,10 +3640,10 @@ function su({
3640
3640
  qt,
3641
3641
  o.virtualScrollHorizontal,
3642
3642
  d.lang.rtl
3643
- ), P(j);
3643
+ ), F(j);
3644
3644
  });
3645
3645
  }
3646
- function F(q) {
3646
+ function P(q) {
3647
3647
  const _ = x.value;
3648
3648
  if (_) {
3649
3649
  const j = Io.call(
@@ -3678,7 +3678,7 @@ function su({
3678
3678
  J += w[N];
3679
3679
  b.push(J);
3680
3680
  }
3681
- u = -1, c = void 0, S.value = bn(b, w, 0, g.value.from), k.value = bn(b, w, g.value.to, e.value), q >= 0 ? (F(g.value.from), Be(() => {
3681
+ u = -1, c = void 0, S.value = bn(b, w, 0, g.value.from), k.value = bn(b, w, g.value.to, e.value), q >= 0 ? (P(g.value.from), Be(() => {
3682
3682
  T(q);
3683
3683
  })) : $();
3684
3684
  }
@@ -3688,7 +3688,7 @@ function su({
3688
3688
  J != null && J.nodeType !== 8 && (q = yl(
3689
3689
  J,
3690
3690
  l(),
3691
- I.value,
3691
+ A.value,
3692
3692
  R.value,
3693
3693
  o.virtualScrollHorizontal,
3694
3694
  d.lang.rtl,
@@ -3718,7 +3718,7 @@ function su({
3718
3718
  q === "tbody" ? h(q, {
3719
3719
  class: "q-virtual-scroll__padding",
3720
3720
  key: "before",
3721
- ref: I
3721
+ ref: A
3722
3722
  }, [
3723
3723
  h("tr", [
3724
3724
  h("td", {
@@ -3729,7 +3729,7 @@ function su({
3729
3729
  ]) : h(q, {
3730
3730
  class: "q-virtual-scroll__padding",
3731
3731
  key: "before",
3732
- ref: I,
3732
+ ref: A,
3733
3733
  style: { [j]: `${S.value}px`, ...Y }
3734
3734
  }),
3735
3735
  h(q, {
@@ -3757,7 +3757,7 @@ function su({
3757
3757
  })
3758
3758
  ];
3759
3759
  }
3760
- function P(q) {
3760
+ function F(q) {
3761
3761
  u !== q && (o.onVirtualScroll !== void 0 && i("virtualScroll", {
3762
3762
  index: q,
3763
3763
  from: g.value.from,
@@ -3800,7 +3800,7 @@ function su({
3800
3800
  refresh: te
3801
3801
  };
3802
3802
  }
3803
- function Ft(e, n) {
3803
+ function Pt(e, n) {
3804
3804
  if (e === n)
3805
3805
  return !0;
3806
3806
  if (e !== null && n !== null && typeof e == "object" && typeof n == "object") {
@@ -3811,7 +3811,7 @@ function Ft(e, n) {
3811
3811
  if (l = e.length, l !== n.length)
3812
3812
  return !1;
3813
3813
  for (t = l; t-- !== 0; )
3814
- if (Ft(e[t], n[t]) !== !0)
3814
+ if (Pt(e[t], n[t]) !== !0)
3815
3815
  return !1;
3816
3816
  return !0;
3817
3817
  }
@@ -3825,7 +3825,7 @@ function Ft(e, n) {
3825
3825
  t = o.next();
3826
3826
  }
3827
3827
  for (o = e.entries(), t = o.next(); t.done !== !0; ) {
3828
- if (Ft(t.value[1], n.get(t.value[0])) !== !0)
3828
+ if (Pt(t.value[1], n.get(t.value[0])) !== !0)
3829
3829
  return !1;
3830
3830
  t = o.next();
3831
3831
  }
@@ -3861,7 +3861,7 @@ function Ft(e, n) {
3861
3861
  return !1;
3862
3862
  for (t = l; t-- !== 0; ) {
3863
3863
  const o = a[t];
3864
- if (Ft(e[o], n[o]) !== !0)
3864
+ if (Pt(e[o], n[o]) !== !0)
3865
3865
  return !1;
3866
3866
  }
3867
3867
  return !0;
@@ -3978,20 +3978,20 @@ const Jl = Oe({
3978
3978
  ],
3979
3979
  setup(e, { slots: n, emit: l }) {
3980
3980
  const { proxy: t } = ke(), { $q: a } = t, o = K(!1), i = K(!1), r = K(-1), d = K(""), c = K(!1), u = K(!1);
3981
- let v = null, b = null, w, S, k, y = null, I, R, x, g;
3982
- const O = K(null), A = K(null), C = K(null), L = K(null), te = K(null), T = mo(e), M = ho(nn), V = s(() => Array.isArray(e.options) ? e.options.length : 0), F = s(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
3981
+ let v = null, b = null, w, S, k, y = null, A, R, x, g;
3982
+ const O = K(null), I = K(null), C = K(null), L = K(null), te = K(null), T = mo(e), M = ho(nn), V = s(() => Array.isArray(e.options) ? e.options.length : 0), P = s(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
3983
3983
  virtualScrollSliceRange: B,
3984
3984
  virtualScrollSliceSizeComputed: z,
3985
3985
  localResetVirtualScroll: X,
3986
3986
  padVirtualScroll: H,
3987
- onVirtualScrollEvt: P,
3987
+ onVirtualScrollEvt: F,
3988
3988
  scrollTo: $,
3989
3989
  setVirtualScrollSize: ve
3990
3990
  } = su({
3991
3991
  virtualScrollLength: V,
3992
3992
  getVirtualScrollTarget: Et,
3993
3993
  getVirtualScrollEl: zt,
3994
- virtualScrollItemSizeComputed: F
3994
+ virtualScrollItemSizeComputed: P
3995
3995
  }), q = Hl(), _ = s(() => {
3996
3996
  const m = e.mapOptions === !0 && e.multiple !== !0, W = e.modelValue !== void 0 && (e.modelValue !== null || m === !0) ? e.multiple === !0 && Array.isArray(e.modelValue) ? e.modelValue : [e.modelValue] : [];
3997
3997
  if (e.mapOptions === !0 && Array.isArray(e.options) === !0) {
@@ -4094,7 +4094,7 @@ const Jl = Oe({
4094
4094
  oe(_, (m) => {
4095
4095
  w = m, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && q.innerLoading.value !== !0 && (i.value !== !0 && o.value !== !0 || ne.value !== !0) && (k !== !0 && mt(), (i.value === !0 || o.value === !0) && wt(""));
4096
4096
  }, { immediate: !0 }), oe(() => e.fillInput, mt), oe(o, il), oe(V, Jo);
4097
- function Vt(m) {
4097
+ function Tt(m) {
4098
4098
  return e.emitValue === !0 ? He.value(m) : m;
4099
4099
  }
4100
4100
  function at(m) {
@@ -4109,7 +4109,7 @@ const Jl = Oe({
4109
4109
  at(m), q.focus();
4110
4110
  }
4111
4111
  function Ht(m, W) {
4112
- const G = Vt(m);
4112
+ const G = Tt(m);
4113
4113
  if (e.multiple !== !0) {
4114
4114
  e.fillInput === !0 && Qt(
4115
4115
  Ae.value(m),
@@ -4135,7 +4135,7 @@ const Jl = Oe({
4135
4135
  e.fillInput === !0 ? Ae.value(m) : "",
4136
4136
  !0,
4137
4137
  !0
4138
- ), be()), (De = A.value) == null || De.focus(), (_.value.length === 0 || Ft(He.value(_.value[0]), G) !== !0) && l("update:modelValue", e.emitValue === !0 ? G : m);
4138
+ ), be()), (De = I.value) == null || De.focus(), (_.value.length === 0 || Pt(He.value(_.value[0]), G) !== !0) && l("update:modelValue", e.emitValue === !0 ? G : m);
4139
4139
  return;
4140
4140
  }
4141
4141
  if ((S !== !0 || c.value === !0) && q.focus(), _e(), _.value.length === 0) {
@@ -4143,7 +4143,7 @@ const Jl = Oe({
4143
4143
  l("add", { index: 0, value: xe }), l("update:modelValue", e.multiple === !0 ? [xe] : xe);
4144
4144
  return;
4145
4145
  }
4146
- const me = e.modelValue.slice(), qe = pt.value.findIndex((xe) => Ft(xe, G));
4146
+ const me = e.modelValue.slice(), qe = pt.value.findIndex((xe) => Pt(xe, G));
4147
4147
  if (qe !== -1)
4148
4148
  l("remove", { index: qe, value: me.splice(qe, 1)[0] });
4149
4149
  else {
@@ -4169,21 +4169,21 @@ const Jl = Oe({
4169
4169
  );
4170
4170
  while (G !== -1 && G !== r.value && vt.value(e.options[G]) === !0);
4171
4171
  r.value !== G && (D(G), $(G), W !== !0 && e.useInput === !0 && e.fillInput === !0 && jt(
4172
- G >= 0 ? Ae.value(e.options[G]) : I,
4172
+ G >= 0 ? Ae.value(e.options[G]) : A,
4173
4173
  !0
4174
4174
  ));
4175
4175
  }
4176
4176
  }
4177
4177
  function ae(m, W) {
4178
- const G = (me) => Ft(He.value(me), m);
4178
+ const G = (me) => Pt(He.value(me), m);
4179
4179
  return e.options.find(G) || W.find(G) || m;
4180
4180
  }
4181
4181
  function se(m) {
4182
4182
  const W = He.value(m);
4183
- return pt.value.find((G) => Ft(G, W)) !== void 0;
4183
+ return pt.value.find((G) => Pt(G, W)) !== void 0;
4184
4184
  }
4185
4185
  function _e(m) {
4186
- e.useInput === !0 && A.value !== null && (m === void 0 || A.value === m.target && m.target.value === N.value) && A.value.select();
4186
+ e.useInput === !0 && I.value !== null && (m === void 0 || I.value === m.target && m.target.value === N.value) && I.value.select();
4187
4187
  }
4188
4188
  function We(m) {
4189
4189
  It(m, 27) === !0 && o.value === !0 && (rt(m), be(), mt()), l("keyup", m);
@@ -4221,25 +4221,25 @@ const Jl = Oe({
4221
4221
  }
4222
4222
  if (m.target === void 0 || m.target.id !== q.targetUid.value || q.editable.value !== !0) return;
4223
4223
  if (m.keyCode === 40 && q.innerLoading.value !== !0 && o.value === !1) {
4224
- Fe(m), ie();
4224
+ Pe(m), ie();
4225
4225
  return;
4226
4226
  }
4227
4227
  if (m.keyCode === 8 && (e.useChips === !0 || e.clearable === !0) && e.hideSelected !== !0 && d.value.length === 0) {
4228
4228
  e.multiple === !0 && Array.isArray(e.modelValue) === !0 ? at(e.modelValue.length - 1) : e.multiple !== !0 && e.modelValue !== null && l("update:modelValue", null);
4229
4229
  return;
4230
4230
  }
4231
- (m.keyCode === 35 || m.keyCode === 36) && (typeof d.value != "string" || d.value.length === 0) && (Fe(m), r.value = -1, Q(m.keyCode === 36 ? 1 : -1, e.multiple)), (m.keyCode === 33 || m.keyCode === 34) && z.value !== void 0 && (Fe(m), r.value = Math.max(
4231
+ (m.keyCode === 35 || m.keyCode === 36) && (typeof d.value != "string" || d.value.length === 0) && (Pe(m), r.value = -1, Q(m.keyCode === 36 ? 1 : -1, e.multiple)), (m.keyCode === 33 || m.keyCode === 34) && z.value !== void 0 && (Pe(m), r.value = Math.max(
4232
4232
  -1,
4233
4233
  Math.min(
4234
4234
  V.value,
4235
4235
  r.value + (m.keyCode === 33 ? -1 : 1) * z.value.view
4236
4236
  )
4237
- ), Q(m.keyCode === 33 ? 1 : -1, e.multiple)), (m.keyCode === 38 || m.keyCode === 40) && (Fe(m), Q(m.keyCode === 38 ? -1 : 1, e.multiple));
4237
+ ), Q(m.keyCode === 33 ? 1 : -1, e.multiple)), (m.keyCode === 38 || m.keyCode === 40) && (Pe(m), Q(m.keyCode === 38 ? -1 : 1, e.multiple));
4238
4238
  const me = V.value;
4239
4239
  if ((x === void 0 || g < Date.now()) && (x = ""), me > 0 && e.useInput !== !0 && m.key !== void 0 && m.key.length === 1 && m.altKey === !1 && m.ctrlKey === !1 && m.metaKey === !1 && (m.keyCode !== 32 || x.length !== 0)) {
4240
4240
  o.value !== !0 && ie(m);
4241
4241
  const qe = m.key.toLocaleLowerCase(), De = x.length === 1 && x[0] === qe;
4242
- g = Date.now() + 1500, De === !1 && (Fe(m), x += qe);
4242
+ g = Date.now() + 1500, De === !1 && (Pe(m), x += qe);
4243
4243
  const xe = new RegExp("^" + x.split("").map((ln) => du.indexOf(ln) !== -1 ? "\\" + ln : ln).join(".*"), "i");
4244
4244
  let Ie = r.value;
4245
4245
  if (De === !0 || Ie < 0 || xe.test(Ae.value(e.options[Ie])) !== !0)
@@ -4252,7 +4252,7 @@ const Jl = Oe({
4252
4252
  return;
4253
4253
  }
4254
4254
  if (!(m.keyCode !== 13 && (m.keyCode !== 32 || e.useInput === !0 || x !== "") && (m.keyCode !== 9 || G === !1))) {
4255
- if (m.keyCode !== 9 && Fe(m), r.value !== -1 && r.value < me) {
4255
+ if (m.keyCode !== 9 && Pe(m), r.value !== -1 && r.value < me) {
4256
4256
  ot(e.options[r.value]);
4257
4257
  return;
4258
4258
  }
@@ -4264,7 +4264,7 @@ const Jl = Oe({
4264
4264
  } else
4265
4265
  xe = e.newValueMode;
4266
4266
  if (Qt("", e.multiple !== !0, !0), De == null) return;
4267
- (xe === "toggle" ? ot : Ht)(De, xe === "add-unique"), e.multiple !== !0 && ((ln = A.value) == null || ln.focus(), be());
4267
+ (xe === "toggle" ? ot : Ht)(De, xe === "add-unique"), e.multiple !== !0 && ((ln = I.value) == null || ln.focus(), be());
4268
4268
  };
4269
4269
  if (e.onNewValue !== void 0 ? l("newValue", d.value, qe) : qe(d.value), e.multiple !== !0) return;
4270
4270
  }
@@ -4306,7 +4306,7 @@ const Jl = Oe({
4306
4306
  }, () => h(
4307
4307
  Dn,
4308
4308
  () => h(
4309
- Tl,
4309
+ Vl,
4310
4310
  () => h("span", {
4311
4311
  [G.html === !0 ? "innerHTML" : "textContent"]: G.label
4312
4312
  })
@@ -4317,7 +4317,7 @@ const Jl = Oe({
4317
4317
  }
4318
4318
  function gn(m, W) {
4319
4319
  const G = W === !0 ? { ...yt.value, ...q.splitAttrs.attributes.value } : void 0, me = {
4320
- ref: W === !0 ? A : void 0,
4320
+ ref: W === !0 ? I : void 0,
4321
4321
  key: "i_t",
4322
4322
  class: le.value,
4323
4323
  style: e.inputStyle,
@@ -4336,7 +4336,7 @@ const Jl = Oe({
4336
4336
  return m !== !0 && S === !0 && (Array.isArray(me.class) === !0 ? me.class = [...me.class, "no-pointer-events"] : me.class += " no-pointer-events"), h("input", me);
4337
4337
  }
4338
4338
  function nn(m) {
4339
- v !== null && (clearTimeout(v), v = null), b !== null && (clearTimeout(b), b = null), !(m && m.target && m.target.qComposing === !0) && (jt(m.target.value || ""), k = !0, I = d.value, q.focused.value !== !0 && (S !== !0 || c.value === !0) && q.focus(), e.onFilter !== void 0 && (v = setTimeout(() => {
4339
+ v !== null && (clearTimeout(v), v = null), b !== null && (clearTimeout(b), b = null), !(m && m.target && m.target.qComposing === !0) && (jt(m.target.value || ""), k = !0, A = d.value, q.focused.value !== !0 && (S !== !0 || c.value === !0) && q.focus(), e.onFilter !== void 0 && (v = setTimeout(() => {
4340
4340
  v = null, wt(d.value);
4341
4341
  }, e.inputDebounce)));
4342
4342
  }
@@ -4346,7 +4346,7 @@ const Jl = Oe({
4346
4346
  }, e.inputDebounce));
4347
4347
  }
4348
4348
  function Qt(m, W, G) {
4349
- k = G !== !0, e.useInput === !0 && (jt(m, !0), (W === !0 || G !== !0) && (I = m), W !== !0 && wt(m));
4349
+ k = G !== !0, e.useInput === !0 && (jt(m, !0), (W === !0 || G !== !0) && (A = m), W !== !0 && wt(m));
4350
4350
  }
4351
4351
  function wt(m, W, G) {
4352
4352
  if (e.onFilter === void 0 || W !== !0 && q.focused.value !== !0) return;
@@ -4372,7 +4372,7 @@ const Jl = Oe({
4372
4372
  );
4373
4373
  }
4374
4374
  function al() {
4375
- return h(Fo, {
4375
+ return h(Po, {
4376
4376
  ref: C,
4377
4377
  class: J.value,
4378
4378
  style: e.popupContentStyle,
@@ -4393,7 +4393,7 @@ const Jl = Oe({
4393
4393
  transitionDuration: e.transitionDuration,
4394
4394
  separateClosePopup: !0,
4395
4395
  ...dt.value,
4396
- onScrollPassive: P,
4396
+ onScrollPassive: F,
4397
4397
  onBeforeShow: oa,
4398
4398
  onBeforeHide: ol,
4399
4399
  onShow: rl
@@ -4407,7 +4407,7 @@ const Jl = Oe({
4407
4407
  }
4408
4408
  function f(m) {
4409
4409
  var W;
4410
- rt(m), (W = A.value) == null || W.focus(), c.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4410
+ rt(m), (W = I.value) == null || W.focus(), c.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4411
4411
  }
4412
4412
  function p(m) {
4413
4413
  rt(m), Be(() => {
@@ -4443,7 +4443,7 @@ const Jl = Oe({
4443
4443
  style: e.popupContentStyle,
4444
4444
  ...dt.value,
4445
4445
  onClick: et,
4446
- onScrollPassive: P
4446
+ onScrollPassive: F
4447
4447
  }, xt())
4448
4448
  ), h(Do, {
4449
4449
  ref: L,
@@ -4471,7 +4471,7 @@ const Jl = Oe({
4471
4471
  }
4472
4472
  function ce() {
4473
4473
  const m = document.activeElement;
4474
- (m === null || m.id !== q.targetUid.value) && A.value !== null && A.value !== m && A.value.focus(), ve();
4474
+ (m === null || m.id !== q.targetUid.value) && I.value !== null && I.value !== m && I.value.focus(), ve();
4475
4475
  }
4476
4476
  function ee() {
4477
4477
  i.value !== !0 && (r.value = -1, o.value === !0 && (o.value = !1), q.focused.value === !1 && (y !== null && (clearTimeout(y), y = null), q.innerLoading.value === !0 && (l("filterAbort"), q.innerLoading.value = !1, u.value = !1)));
@@ -4496,7 +4496,7 @@ const Jl = Oe({
4496
4496
  if (m === !0) {
4497
4497
  if (_.value.length !== 0) {
4498
4498
  const G = He.value(_.value[0]);
4499
- W = e.options.findIndex((me) => Ft(He.value(me), G));
4499
+ W = e.options.findIndex((me) => Pt(He.value(me), G));
4500
4500
  }
4501
4501
  X(W);
4502
4502
  }
@@ -4534,7 +4534,7 @@ const Jl = Oe({
4534
4534
  updateMenuPosition: aa,
4535
4535
  updateInputValue: Qt,
4536
4536
  isOptionSelected: se,
4537
- getEmittingOptionValue: Vt,
4537
+ getEmittingOptionValue: Tt,
4538
4538
  isOptionDisabled: (...m) => vt.value.apply(null, m) === !0,
4539
4539
  getOptionValue: (...m) => He.value.apply(null, m),
4540
4540
  getOptionLabel: (...m) => Ae.value.apply(null, m)
@@ -4544,7 +4544,7 @@ const Jl = Oe({
4544
4544
  () => `q-select q-field--auto-height q-select--with${e.useInput !== !0 ? "out" : ""}-input q-select--with${e.useChips !== !0 ? "out" : ""}-chips q-select--${e.multiple === !0 ? "multiple" : "single"}`
4545
4545
  ),
4546
4546
  inputRef: O,
4547
- targetRef: A,
4547
+ targetRef: I,
4548
4548
  hasValue: ne,
4549
4549
  showPopup: ie,
4550
4550
  floatingLabel: s(
@@ -4567,7 +4567,7 @@ const Jl = Oe({
4567
4567
  onClick(m) {
4568
4568
  var W;
4569
4569
  if (et(m), S !== !0 && o.value === !0) {
4570
- ee(), (W = A.value) == null || W.focus();
4570
+ ee(), (W = I.value) == null || W.focus();
4571
4571
  return;
4572
4572
  }
4573
4573
  ie(m);
@@ -4581,7 +4581,7 @@ const Jl = Oe({
4581
4581
  const qe = G === !0 ? yt.value : void 0;
4582
4582
  W.push(
4583
4583
  h("input", {
4584
- ref: G === !0 ? A : void 0,
4584
+ ref: G === !0 ? I : void 0,
4585
4585
  key: "d_t",
4586
4586
  class: "q-select__focus-target",
4587
4587
  id: G === !0 ? q.targetUid.value : void 0,
@@ -4651,7 +4651,7 @@ const Jl = Oe({
4651
4651
  "select"
4652
4652
  ), {
4653
4653
  autocomplete: y,
4654
- autocompleteThreshold: I,
4654
+ autocompleteThreshold: A,
4655
4655
  useInput: R,
4656
4656
  // We control this via useFilter
4657
4657
  fillInput: x,
@@ -4665,9 +4665,9 @@ const Jl = Oe({
4665
4665
  if (!l.schema.enum) return [];
4666
4666
  const k = l.schema["x-enum-labels"];
4667
4667
  return l.schema.enum.map((y) => {
4668
- let I = String(y);
4669
- return k && y in k && (I = k[y]), {
4670
- label: I,
4668
+ let A = String(y);
4669
+ return k && y in k && (A = k[y]), {
4670
+ label: A,
4671
4671
  value: y
4672
4672
  };
4673
4673
  });
@@ -4680,17 +4680,17 @@ const Jl = Oe({
4680
4680
  { immediate: !0 }
4681
4681
  );
4682
4682
  const b = s(() => {
4683
- var I, R;
4683
+ var A, R;
4684
4684
  const k = l.schema["x-component-props"];
4685
- return (k == null ? void 0 : k.autocomplete) !== void 0 ? k.autocomplete : ((R = (I = r == null ? void 0 : r.componentDefaults) == null ? void 0 : I.select) == null ? void 0 : R.autocomplete) !== void 0 ? r.componentDefaults.select.autocomplete : !0;
4685
+ return (k == null ? void 0 : k.autocomplete) !== void 0 ? k.autocomplete : ((R = (A = r == null ? void 0 : r.componentDefaults) == null ? void 0 : A.select) == null ? void 0 : R.autocomplete) !== void 0 ? r.componentDefaults.select.autocomplete : !0;
4686
4686
  }), S = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: d, quasarProps: c, allOptions: u, filteredOptions: v, useFilter: b, filterFn: (k, y) => {
4687
4687
  y(() => {
4688
4688
  if (k === "")
4689
4689
  v.value = u.value;
4690
4690
  else {
4691
- const I = k.toLowerCase();
4691
+ const A = k.toLowerCase();
4692
4692
  v.value = u.value.filter(
4693
- (R) => R.label.toLowerCase().includes(I)
4693
+ (R) => R.label.toLowerCase().includes(A)
4694
4694
  );
4695
4695
  }
4696
4696
  });
@@ -4701,7 +4701,7 @@ const Jl = Oe({
4701
4701
  }
4702
4702
  });
4703
4703
  function mu(e, n, l, t, a, o) {
4704
- return re(), st(t.QSelect, Pe({
4704
+ return re(), st(t.QSelect, Fe({
4705
4705
  id: t.fieldId,
4706
4706
  modelValue: t.value,
4707
4707
  "onUpdate:modelValue": n[0] || (n[0] = (i) => t.value = i),
@@ -4728,11 +4728,11 @@ function mu(e, n, l, t, a, o) {
4728
4728
  name: "label",
4729
4729
  fn: de(() => [
4730
4730
  Ke(
4731
- Ve(t.label) + " ",
4731
+ Te(t.label) + " ",
4732
4732
  1
4733
4733
  /* TEXT */
4734
4734
  ),
4735
- n[1] || (n[1] = Te(
4735
+ n[1] || (n[1] = Ve(
4736
4736
  "span",
4737
4737
  { style: { color: "red" } },
4738
4738
  "*",
@@ -4833,7 +4833,7 @@ function qu(e) {
4833
4833
  }), d = s(() => {
4834
4834
  const y = e.fab === !1 && e.fabMini === !1 ? n.value : {};
4835
4835
  return e.padding !== void 0 ? Object.assign({}, y, {
4836
- padding: e.padding.split(/\s+/).map((I) => I in za ? za[I] + "px" : I).join(" "),
4836
+ padding: e.padding.split(/\s+/).map((A) => A in za ? za[A] + "px" : A).join(" "),
4837
4837
  minWidth: "0",
4838
4838
  minHeight: "0"
4839
4839
  }) : y;
@@ -4852,8 +4852,8 @@ function qu(e) {
4852
4852
  }), S = s(() => {
4853
4853
  let y;
4854
4854
  e.color !== void 0 ? e.flat === !0 || e.outline === !0 ? y = `text-${e.textColor || e.color}` : y = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (y = `text-${e.textColor}`);
4855
- const I = e.round === !0 ? "round" : `rectangle${c.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
4856
- return `q-btn--${b.value} q-btn--${I}` + (y !== void 0 ? " " + y : "") + (u.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
4855
+ const A = e.round === !0 ? "round" : `rectangle${c.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
4856
+ return `q-btn--${b.value} q-btn--${A}` + (y !== void 0 ? " " + y : "") + (u.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
4857
4857
  }), k = s(
4858
4858
  () => l.value + (e.stack === !0 ? " column" : " row") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " q-btn__content--hidden" : "")
4859
4859
  );
@@ -4891,7 +4891,7 @@ const Ze = Oe({
4891
4891
  isActionable: v
4892
4892
  } = qu(e), b = K(null), w = K(null);
4893
4893
  let S = null, k, y = null;
4894
- const I = s(
4894
+ const A = s(
4895
4895
  () => e.label !== void 0 && e.label !== null && e.label !== ""
4896
4896
  ), R = s(() => e.disable === !0 || e.ripple === !1 ? !1 : {
4897
4897
  keyCodes: d.value === !0 ? [13, 32] : [13],
@@ -4902,11 +4902,11 @@ const Ze = Oe({
4902
4902
  }), O = s(() => {
4903
4903
  if (e.loading === !0)
4904
4904
  return {
4905
- onMousedown: F,
4906
- onTouchstart: F,
4907
- onClick: F,
4908
- onKeydown: F,
4909
- onKeyup: F
4905
+ onMousedown: P,
4906
+ onTouchstart: P,
4907
+ onClick: P,
4908
+ onKeydown: P,
4909
+ onKeyup: P
4910
4910
  };
4911
4911
  if (v.value === !0) {
4912
4912
  const B = {
@@ -4922,9 +4922,9 @@ const Ze = Oe({
4922
4922
  }
4923
4923
  return {
4924
4924
  // needed; especially for disabled <a> tags
4925
- onClick: Fe
4925
+ onClick: Pe
4926
4926
  };
4927
- }), A = s(() => ({
4927
+ }), I = s(() => ({
4928
4928
  ref: b,
4929
4929
  class: "q-btn q-btn-item non-selectable no-outline " + a.value,
4930
4930
  style: o.value,
@@ -4940,16 +4940,16 @@ const Ze = Oe({
4940
4940
  B.qAvoidFocus !== !0 && b.value.focus();
4941
4941
  const X = () => {
4942
4942
  var H;
4943
- document.removeEventListener("keydown", Fe, !0), document.removeEventListener("keyup", X, ht), (H = b.value) == null || H.removeEventListener("blur", X, ht);
4943
+ document.removeEventListener("keydown", Pe, !0), document.removeEventListener("keyup", X, ht), (H = b.value) == null || H.removeEventListener("blur", X, ht);
4944
4944
  };
4945
- document.addEventListener("keydown", Fe, !0), document.addEventListener("keyup", X, ht), b.value.addEventListener("blur", X, ht);
4945
+ document.addEventListener("keydown", Pe, !0), document.addEventListener("keyup", X, ht), b.value.addEventListener("blur", X, ht);
4946
4946
  }
4947
4947
  }
4948
4948
  u(B);
4949
4949
  }
4950
4950
  }
4951
4951
  function L(B) {
4952
- b.value !== null && (l("keydown", B), It(B, [13, 32]) === !0 && rn !== b.value && (rn !== null && V(), B.defaultPrevented !== !0 && (B.qAvoidFocus !== !0 && b.value.focus(), rn = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("keyup", M, !0), b.value.addEventListener("blur", M, ht)), Fe(B)));
4952
+ b.value !== null && (l("keydown", B), It(B, [13, 32]) === !0 && rn !== b.value && (rn !== null && V(), B.defaultPrevented !== !0 && (B.qAvoidFocus !== !0 && b.value.focus(), rn = b.value, b.value.classList.add("q-btn--active"), document.addEventListener("keyup", M, !0), b.value.addEventListener("blur", M, ht)), Pe(B)));
4953
4953
  }
4954
4954
  function te(B) {
4955
4955
  b.value !== null && (l("touchstart", B), B.defaultPrevented !== !0 && (on !== b.value && (on !== null && V(), on = b.value, S = B.target, S.addEventListener("touchcancel", M, ht), S.addEventListener("touchend", M, ht)), k = !0, y !== null && clearTimeout(y), y = setTimeout(() => {
@@ -4964,7 +4964,7 @@ const Ze = Oe({
4964
4964
  if ((B == null ? void 0 : B.type) === "keyup") {
4965
4965
  if (rn === b.value && It(B, [13, 32]) === !0) {
4966
4966
  const z = new MouseEvent("click", B);
4967
- z.qKeyEvent = !0, B.defaultPrevented === !0 && et(z), B.cancelBubble === !0 && rt(z), b.value.dispatchEvent(z), Fe(B), B.qKeyEvent = !0;
4967
+ z.qKeyEvent = !0, B.defaultPrevented === !0 && et(z), B.cancelBubble === !0 && rt(z), b.value.dispatchEvent(z), Pe(B), B.qKeyEvent = !0;
4968
4968
  }
4969
4969
  l("keyup", B);
4970
4970
  }
@@ -4976,8 +4976,8 @@ const Ze = Oe({
4976
4976
  const z = w.value;
4977
4977
  B !== !0 && (on === b.value || un === b.value) && z !== null && z !== document.activeElement && (z.setAttribute("tabindex", -1), z.focus()), on === b.value && (S !== null && (S.removeEventListener("touchcancel", M, ht), S.removeEventListener("touchend", M, ht)), on = S = null), un === b.value && (document.removeEventListener("mouseup", M, ht), un = null), rn === b.value && (document.removeEventListener("keyup", M, !0), (X = b.value) == null || X.removeEventListener("blur", M, ht), rn = null), (H = b.value) == null || H.classList.remove("q-btn--active");
4978
4978
  }
4979
- function F(B) {
4980
- Fe(B), B.qSkipRipple = !0;
4979
+ function P(B) {
4980
+ Pe(B), B.qSkipRipple = !0;
4981
4981
  }
4982
4982
  return je(() => {
4983
4983
  V(!0);
@@ -4990,15 +4990,15 @@ const Ze = Oe({
4990
4990
  e.icon !== void 0 && B.push(
4991
4991
  h(Je, {
4992
4992
  name: e.icon,
4993
- left: e.stack !== !0 && I.value === !0,
4993
+ left: e.stack !== !0 && A.value === !0,
4994
4994
  role: "img"
4995
4995
  })
4996
- ), I.value === !0 && B.push(
4996
+ ), A.value === !0 && B.push(
4997
4997
  h("span", { class: "block" }, [e.label])
4998
4998
  ), B = Kt(n.default, B), e.iconRight !== void 0 && e.round === !1 && B.push(
4999
4999
  h(Je, {
5000
5000
  name: e.iconRight,
5001
- right: e.stack !== !0 && I.value === !0,
5001
+ right: e.stack !== !0 && A.value === !0,
5002
5002
  role: "img"
5003
5003
  })
5004
5004
  );
@@ -5033,7 +5033,7 @@ const Ze = Oe({
5033
5033
  ), Jt(
5034
5034
  h(
5035
5035
  c.value,
5036
- A.value,
5036
+ I.value,
5037
5037
  z
5038
5038
  ),
5039
5039
  [[
@@ -5129,7 +5129,7 @@ const Gl = Rl(
5129
5129
  onHide: S
5130
5130
  };
5131
5131
  let y;
5132
- return v.value === "dialog" ? y = Do : (y = Fo, Object.assign(k, {
5132
+ return v.value === "dialog" ? y = Do : (y = Po, Object.assign(k, {
5133
5133
  target: e.target,
5134
5134
  contextMenu: e.contextMenu,
5135
5135
  noParentEvent: !0,
@@ -5176,10 +5176,10 @@ const Dt = [
5176
5176
  3178
5177
5177
  ];
5178
5178
  function Cu(e, n, l) {
5179
- return Object.prototype.toString.call(e) === "[object Date]" && (l = e.getDate(), n = e.getMonth() + 1, e = e.getFullYear()), Vu(ta(e, n, l));
5179
+ return Object.prototype.toString.call(e) === "[object Date]" && (l = e.getDate(), n = e.getMonth() + 1, e = e.getFullYear()), Tu(ta(e, n, l));
5180
5180
  }
5181
5181
  function Qa(e, n, l) {
5182
- return zo(Tu(e, n, l));
5182
+ return zo(Vu(e, n, l));
5183
5183
  }
5184
5184
  function Mu(e) {
5185
5185
  return Ou(e) === 0;
@@ -5211,11 +5211,11 @@ function Ho(e, n) {
5211
5211
  march: b
5212
5212
  };
5213
5213
  }
5214
- function Tu(e, n, l) {
5214
+ function Vu(e, n, l) {
5215
5215
  const t = Ho(e, !0);
5216
5216
  return ta(t.gy, 3, t.march) + (n - 1) * 31 - Me(n, 7) * (n - 7) + l - 1;
5217
5217
  }
5218
- function Vu(e) {
5218
+ function Tu(e) {
5219
5219
  const n = zo(e).gy;
5220
5220
  let l = n - 621, t, a, o;
5221
5221
  const i = Ho(l, !1), r = ta(n, 3, i.march);
@@ -5422,7 +5422,7 @@ function Na() {
5422
5422
  if (typeof e == "string")
5423
5423
  return e.split(/[-_]/).map((n, l) => l === 0 ? n.toLowerCase() : l > 1 || n.length < 4 ? n.toUpperCase() : n[0].toUpperCase() + n.slice(1).toLowerCase()).join("-");
5424
5424
  }
5425
- const Pt = Sr({
5425
+ const Ft = Sr({
5426
5426
  __qLang: {}
5427
5427
  }, {
5428
5428
  // props: object
@@ -5435,15 +5435,15 @@ const Pt = Sr({
5435
5435
  getLocale: Na
5436
5436
  };
5437
5437
  {
5438
- if (l.set = Pt.set, Pt.__langConfig === void 0 || Pt.__langConfig.noHtmlAttrs !== !0) {
5438
+ if (l.set = Ft.set, Ft.__langConfig === void 0 || Ft.__langConfig.noHtmlAttrs !== !0) {
5439
5439
  const t = document.documentElement;
5440
5440
  t.setAttribute("dir", l.rtl === !0 ? "rtl" : "ltr"), t.setAttribute("lang", l.isoName);
5441
5441
  }
5442
- Object.assign(Pt.__qLang, l);
5442
+ Object.assign(Ft.__qLang, l);
5443
5443
  }
5444
5444
  },
5445
5445
  install({ $q: e, lang: n, ssrContext: l }) {
5446
- e.lang = Pt.__qLang, Pt.__langConfig = e.config.lang, this.__installed === !0 ? n !== void 0 && this.set(n) : (this.props = new Proxy(this.__qLang, {
5446
+ e.lang = Ft.__qLang, Ft.__langConfig = e.config.lang, this.__installed === !0 ? n !== void 0 && this.set(n) : (this.props = new Proxy(this.__qLang, {
5447
5447
  get() {
5448
5448
  return Reflect.get(...arguments);
5449
5449
  },
@@ -5452,14 +5452,14 @@ const Pt = Sr({
5452
5452
  }
5453
5453
  }), this.set(n || Bl));
5454
5454
  }
5455
- }), No = 864e5, Bu = 36e5, Pl = 6e4, Yo = "YYYY-MM-DDTHH:mm:ss.SSSZ", Pu = /\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g, Fu = /(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g, pl = {};
5455
+ }), No = 864e5, Bu = 36e5, Fl = 6e4, Yo = "YYYY-MM-DDTHH:mm:ss.SSSZ", Fu = /\[((?:[^\]\\]|\\]|\\)*)\]|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]/g, Pu = /(\[[^\]]*\])|do|d{1,4}|Mo|M{1,4}|m{1,2}|wo|w{1,2}|Qo|Do|DDDo|D{1,4}|YY(?:YY)?|H{1,2}|h{1,2}|s{1,2}|S{1,3}|Z{1,2}|a{1,2}|[AQExX]|([.*+:?^,\s${}()|\\]+)/g, pl = {};
5456
5456
  function Du(e, n) {
5457
5457
  const l = "(" + n.days.join("|") + ")", t = e + l;
5458
5458
  if (pl[t] !== void 0)
5459
5459
  return pl[t];
5460
5460
  const a = "(" + n.daysShort.join("|") + ")", o = "(" + n.months.join("|") + ")", i = "(" + n.monthsShort.join("|") + ")", r = {};
5461
5461
  let d = 0;
5462
- const c = e.replace(Fu, (v) => {
5462
+ const c = e.replace(Pu, (v) => {
5463
5463
  switch (d++, v) {
5464
5464
  case "YY":
5465
5465
  return r.YY = d, "(-?\\d{1,2})";
@@ -5569,7 +5569,7 @@ function wn(e, n, l, t, a) {
5569
5569
  if (a !== void 0 && Object.assign(o, a), e == null || e === "" || typeof e != "string")
5570
5570
  return o;
5571
5571
  n === void 0 && (n = Yo);
5572
- const i = Ko(l, Pt.props), r = i.months, d = i.monthsShort, { regex: c, map: u } = Du(n, i), v = e.match(c);
5572
+ const i = Ko(l, Ft.props), r = i.months, d = i.monthsShort, { regex: c, map: u } = Du(n, i), v = e.match(c);
5573
5573
  if (v === null)
5574
5574
  return o;
5575
5575
  let b = "";
@@ -5636,8 +5636,8 @@ function Ot(e, n, l) {
5636
5636
  }
5637
5637
  return t;
5638
5638
  }
5639
- function Pn(e, n, l) {
5640
- return (e.getTime() - e.getTimezoneOffset() * Pl - (n.getTime() - n.getTimezoneOffset() * Pl)) / l;
5639
+ function Fn(e, n, l) {
5640
+ return (e.getTime() - e.getTimezoneOffset() * Fl - (n.getTime() - n.getTimezoneOffset() * Fl)) / l;
5641
5641
  }
5642
5642
  function Uo(e, n, l = "days") {
5643
5643
  const t = new Date(e), a = new Date(n);
@@ -5651,16 +5651,16 @@ function Uo(e, n, l = "days") {
5651
5651
  case "days":
5652
5652
  case "day":
5653
5653
  case "date":
5654
- return Pn(Ot(t, "day"), Ot(a, "day"), No);
5654
+ return Fn(Ot(t, "day"), Ot(a, "day"), No);
5655
5655
  case "hours":
5656
5656
  case "hour":
5657
- return Pn(Ot(t, "hour"), Ot(a, "hour"), Bu);
5657
+ return Fn(Ot(t, "hour"), Ot(a, "hour"), Bu);
5658
5658
  case "minutes":
5659
5659
  case "minute":
5660
- return Pn(Ot(t, "minute"), Ot(a, "minute"), Pl);
5660
+ return Fn(Ot(t, "minute"), Ot(a, "minute"), Fl);
5661
5661
  case "seconds":
5662
5662
  case "second":
5663
- return Pn(Ot(t, "second"), Ot(a, "second"), 1e3);
5663
+ return Fn(Ot(t, "second"), Ot(a, "second"), 1e3);
5664
5664
  }
5665
5665
  }
5666
5666
  function _l(e) {
@@ -5858,9 +5858,9 @@ function Wo(e, n, l, t, a) {
5858
5858
  const o = new Date(e);
5859
5859
  if (isNaN(o)) return;
5860
5860
  n === void 0 && (n = Yo);
5861
- const i = Ko(l, Pt.props);
5861
+ const i = Ko(l, Ft.props);
5862
5862
  return n.replace(
5863
- Pu,
5863
+ Fu,
5864
5864
  (r, d) => r in Ka ? Ka[r](o, i, t, a) : d === void 0 ? r : d.split("\\]").join("]")
5865
5865
  );
5866
5866
  }
@@ -5924,16 +5924,16 @@ const Xo = Oe({
5924
5924
  setup(e, { slots: n, emit: l }) {
5925
5925
  const { proxy: t } = ke(), { $q: a } = t, o = kt(e, a), { getCache: i } = xu(), { tabindex: r, headerClass: d, getLocale: c, getCurrentDate: u } = Qo(e, a);
5926
5926
  let v;
5927
- const b = vo(e), w = Ql(b), S = K(null), k = K(Ht()), y = K(c()), I = s(() => Ht()), R = s(() => c()), x = s(() => u()), g = K(D(k.value, y.value)), O = K(e.defaultView), A = s(() => a.lang.rtl === !0 ? "right" : "left"), C = K(A.value), L = K(A.value), te = g.value.year, T = K(te - te % Ct - (te < 0 ? Ct : 0)), M = K(null), V = s(() => {
5927
+ const b = vo(e), w = Ql(b), S = K(null), k = K(Ht()), y = K(c()), A = s(() => Ht()), R = s(() => c()), x = s(() => u()), g = K(D(k.value, y.value)), O = K(e.defaultView), I = s(() => a.lang.rtl === !0 ? "right" : "left"), C = K(I.value), L = K(I.value), te = g.value.year, T = K(te - te % Ct - (te < 0 ? Ct : 0)), M = K(null), V = s(() => {
5928
5928
  const f = e.landscape === !0 ? "landscape" : "portrait";
5929
5929
  return `q-date q-date--${f} q-date--${f}-${e.minimal === !0 ? "minimal" : "standard"}` + (o.value === !0 ? " q-date--dark q-dark" : "") + (e.bordered === !0 ? " q-date--bordered" : "") + (e.square === !0 ? " q-date--square no-border-radius" : "") + (e.flat === !0 ? " q-date--flat no-shadow" : "") + (e.disable === !0 ? " disabled" : e.readonly === !0 ? " q-date--readonly" : "");
5930
- }), F = s(() => e.color || "primary"), B = s(() => e.textColor || "white"), z = s(
5930
+ }), P = s(() => e.color || "primary"), B = s(() => e.textColor || "white"), z = s(
5931
5931
  () => e.emitImmediately === !0 && e.multiple !== !0 && e.range !== !0
5932
5932
  ), X = s(() => Array.isArray(e.modelValue) === !0 ? e.modelValue : e.modelValue !== null && e.modelValue !== void 0 ? [e.modelValue] : []), H = s(
5933
5933
  () => X.value.filter((f) => typeof f == "string").map((f) => ot(f, k.value, y.value)).filter(
5934
5934
  (f) => f.dateHash !== null && f.day !== null && f.month !== null && f.year !== null
5935
5935
  )
5936
- ), P = s(() => {
5936
+ ), F = s(() => {
5937
5937
  const f = (p) => ot(p, k.value, y.value);
5938
5938
  return X.value.filter((p) => cu(p) === !0 && p.from !== void 0 && p.to !== void 0).map((p) => ({ from: f(p.from), to: f(p.to) })).filter((p) => p.from.dateHash !== null && p.to.dateHash !== null && p.from.dateHash < p.to.dateHash);
5939
5939
  }), $ = s(() => e.calendar !== "persian" ? (f) => new Date(f.year, f.month - 1, f.day) : (f) => {
@@ -5954,7 +5954,7 @@ const Xo = Oe({
5954
5954
  f.year,
5955
5955
  f.timezoneOffset
5956
5956
  )), q = s(
5957
- () => H.value.length + P.value.reduce(
5957
+ () => H.value.length + F.value.reduce(
5958
5958
  (f, p) => f + 1 + Uo(
5959
5959
  $.value(p.to),
5960
5960
  $.value(p.from)
@@ -5974,7 +5974,7 @@ const Xo = Oe({
5974
5974
  return `${q.value} ${y.value.pluralDay}`;
5975
5975
  const f = H.value[0], p = $.value(f);
5976
5976
  return isNaN(p.valueOf()) === !0 ? cn : y.value.headerTitle !== void 0 ? y.value.headerTitle(p, f) : y.value.daysShort[p.getDay()] + ", " + y.value.monthsShort[f.month - 1] + " " + f.day;
5977
- }), j = s(() => H.value.concat(P.value.map((p) => p.from)).sort((p, E) => p.year - E.year || p.month - E.month)[0]), Y = s(() => H.value.concat(P.value.map((p) => p.to)).sort((p, E) => E.year - p.year || E.month - p.month)[0]), ne = s(() => {
5977
+ }), j = s(() => H.value.concat(F.value.map((p) => p.from)).sort((p, E) => p.year - E.year || p.month - E.month)[0]), Y = s(() => H.value.concat(F.value.map((p) => p.to)).sort((p, E) => E.year - p.year || E.month - p.month)[0]), ne = s(() => {
5978
5978
  if (e.subtitle !== void 0 && e.subtitle !== null && e.subtitle.length !== 0)
5979
5979
  return e.subtitle;
5980
5980
  if (q.value === 0)
@@ -6017,7 +6017,7 @@ const Xo = Oe({
6017
6017
  }), f;
6018
6018
  }), dt = s(() => {
6019
6019
  const f = {};
6020
- return P.value.forEach((p) => {
6020
+ return F.value.forEach((p) => {
6021
6021
  const E = Bt(p.from), U = Bt(p.to);
6022
6022
  if (f[E] === void 0 && (f[E] = []), f[E].push({
6023
6023
  from: p.from.day,
@@ -6097,7 +6097,7 @@ const Xo = Oe({
6097
6097
  selected: !0,
6098
6098
  unelevated: !0,
6099
6099
  flat: !1,
6100
- color: F.value,
6100
+ color: P.value,
6101
6101
  textColor: B.value
6102
6102
  });
6103
6103
  }), dt.value[Le.value] !== void 0 && dt.value[Le.value].forEach((ee) => {
@@ -6107,7 +6107,7 @@ const Xo = Oe({
6107
6107
  Object.assign(f[mt], {
6108
6108
  range: ee.range,
6109
6109
  unelevated: !0,
6110
- color: F.value,
6110
+ color: P.value,
6111
6111
  textColor: B.value
6112
6112
  });
6113
6113
  Object.assign(f[ie], {
@@ -6123,7 +6123,7 @@ const Xo = Oe({
6123
6123
  Object.assign(f[be], {
6124
6124
  range: ee.range,
6125
6125
  unelevated: !0,
6126
- color: F.value,
6126
+ color: P.value,
6127
6127
  textColor: B.value
6128
6128
  });
6129
6129
  Object.assign(f[ie], {
@@ -6136,14 +6136,14 @@ const Xo = Oe({
6136
6136
  Object.assign(f[be], {
6137
6137
  range: ee.range,
6138
6138
  unelevated: !0,
6139
- color: F.value,
6139
+ color: P.value,
6140
6140
  textColor: B.value
6141
6141
  });
6142
6142
  }
6143
6143
  }), Ge.value !== void 0) {
6144
6144
  const ee = Z + Ge.value.from - 1, ie = Z + Ge.value.to - 1;
6145
6145
  for (let be = ee; be <= ie; be++)
6146
- f[be].color = F.value, f[be].editRange = !0;
6146
+ f[be].color = P.value, f[be].editRange = !0;
6147
6147
  Ge.value.includeFrom === !0 && (f[ee].editRangeFrom = !0), Ge.value.includeTo === !0 && (f[ie].editRangeTo = !0);
6148
6148
  }
6149
6149
  g.value.year === x.value.year && g.value.month === x.value.month && (f[Z + x.value.day - 1].today = !0);
@@ -6169,7 +6169,7 @@ const Xo = Oe({
6169
6169
  S.value !== null && t.$el.contains(document.activeElement) === !0 && S.value.focus();
6170
6170
  }), oe(() => g.value.year + "|" + g.value.month, () => {
6171
6171
  l("navigation", { year: g.value.year, month: g.value.month });
6172
- }), oe(I, (f) => {
6172
+ }), oe(A, (f) => {
6173
6173
  jt(f, y.value, "mask"), k.value = f;
6174
6174
  }), oe(R, (f) => {
6175
6175
  jt(k.value, f, "locale"), y.value = f;
@@ -6192,7 +6192,7 @@ const Xo = Oe({
6192
6192
  function tn(f) {
6193
6193
  Ua(f) === !0 && (O.value = f);
6194
6194
  }
6195
- function Vt(f, p) {
6195
+ function Tt(f, p) {
6196
6196
  ["month", "year"].includes(f) && (f === "month" ? ae : se)(p === !0 ? -1 : 1);
6197
6197
  }
6198
6198
  function at(f, p) {
@@ -6329,7 +6329,7 @@ const Xo = Oe({
6329
6329
  let p;
6330
6330
  if (e.multiple === !0)
6331
6331
  if (f.from !== void 0) {
6332
- const E = Mt(f.from), U = Mt(f.to), Z = H.value.filter((ee) => ee.dateHash < E || ee.dateHash > U), ce = P.value.filter(({ from: ee, to: ie }) => ie.dateHash < E || ee.dateHash > U);
6332
+ const E = Mt(f.from), U = Mt(f.to), Z = H.value.filter((ee) => ee.dateHash < E || ee.dateHash > U), ce = F.value.filter(({ from: ee, to: ie }) => ie.dateHash < E || ee.dateHash > U);
6333
6333
  p = Z.concat(ce).concat(f).map((ee) => xt(ee));
6334
6334
  } else {
6335
6335
  const E = X.value.slice();
@@ -6351,7 +6351,7 @@ const Xo = Oe({
6351
6351
  zt(p, "remove", f);
6352
6352
  }
6353
6353
  function jt(f, p, E) {
6354
- const U = H.value.concat(P.value).map((ce) => xt(ce, f, p)).filter((ce) => ce.from !== void 0 ? ce.from.dateHash !== null && ce.to.dateHash !== null : ce.dateHash !== null), Z = (e.multiple === !0 ? U : U[0]) || null;
6354
+ const U = H.value.concat(F.value).map((ce) => xt(ce, f, p)).filter((ce) => ce.from !== void 0 ? ce.from.dateHash !== null && ce.to.dateHash !== null : ce.dateHash !== null), Z = (e.multiple === !0 ? U : U[0]) || null;
6355
6355
  vt(Z), l("update:modelValue", Z, E);
6356
6356
  }
6357
6357
  function Qt() {
@@ -6543,7 +6543,7 @@ const Xo = Oe({
6543
6543
  flat: ce !== !0,
6544
6544
  label: U,
6545
6545
  unelevated: ce,
6546
- color: ce === !0 ? F.value : null,
6546
+ color: ce === !0 ? P.value : null,
6547
6547
  textColor: ce === !0 ? B.value : null,
6548
6548
  tabindex: r.value,
6549
6549
  disable: p(Z + 1),
@@ -6585,7 +6585,7 @@ const Xo = Oe({
6585
6585
  label: Z,
6586
6586
  dense: !0,
6587
6587
  unelevated: ce,
6588
- color: ce === !0 ? F.value : null,
6588
+ color: ce === !0 ? P.value : null,
6589
6589
  textColor: ce === !0 ? B.value : null,
6590
6590
  tabindex: r.value,
6591
6591
  disable: U(Z),
@@ -6680,7 +6680,7 @@ const Xo = Oe({
6680
6680
  return Object.assign(t, {
6681
6681
  setToday: pt,
6682
6682
  setView: tn,
6683
- offsetCalendar: Vt,
6683
+ offsetCalendar: Tt,
6684
6684
  setCalendarTo: at,
6685
6685
  setEditingRange: Lt
6686
6686
  }), () => {
@@ -6742,7 +6742,7 @@ const Xo = Oe({
6742
6742
  }
6743
6743
  }), Ru = { class: "row items-center justify-end" };
6744
6744
  function Lu(e, n, l, t, a, o) {
6745
- return re(), st(t.QInput, Pe({
6745
+ return re(), st(t.QInput, Fe({
6746
6746
  id: t.fieldId,
6747
6747
  modelValue: t.value,
6748
6748
  "onUpdate:modelValue": n[1] || (n[1] = (i) => t.value = i),
@@ -6772,7 +6772,7 @@ function Lu(e, n, l, t, a, o) {
6772
6772
  mask: "YYYY-MM-DD"
6773
6773
  }, {
6774
6774
  default: de(() => [
6775
- Te("div", Ru, [
6775
+ Ve("div", Ru, [
6776
6776
  Jt(ue(
6777
6777
  Ze,
6778
6778
  {
@@ -6807,11 +6807,11 @@ function Lu(e, n, l, t, a, o) {
6807
6807
  name: "label",
6808
6808
  fn: de(() => [
6809
6809
  Ke(
6810
- Ve(t.label) + " ",
6810
+ Te(t.label) + " ",
6811
6811
  1
6812
6812
  /* TEXT */
6813
6813
  ),
6814
- n[2] || (n[2] = Te(
6814
+ n[2] || (n[2] = Ve(
6815
6815
  "span",
6816
6816
  { style: { color: "red" } },
6817
6817
  "*",
@@ -6886,7 +6886,7 @@ const Nu = Rl(
6886
6886
  beforeMount(e, { value: n, modifiers: l }) {
6887
6887
  if (l.mouse !== !0 && ze.has.touch !== !0) return;
6888
6888
  function t(o, i) {
6889
- l.mouse === !0 && i === !0 ? Fe(o) : (l.stop === !0 && rt(o), l.prevent === !0 && et(o));
6889
+ l.mouse === !0 && i === !0 ? Pe(o) : (l.stop === !0 && rt(o), l.prevent === !0 && et(o));
6890
6890
  }
6891
6891
  const a = {
6892
6892
  uid: "qvtp_" + Qu++,
@@ -6895,7 +6895,7 @@ const Nu = Rl(
6895
6895
  direction: Wa(l),
6896
6896
  noop: uo,
6897
6897
  mouseStart(o) {
6898
- Xa(o, a) && Wr(o) && (Tt(a, "temp", [
6898
+ Xa(o, a) && Wr(o) && (Vt(a, "temp", [
6899
6899
  [document, "mousemove", "move", "notPassiveCapture"],
6900
6900
  [document, "mouseup", "end", "passiveCapture"]
6901
6901
  ]), a.start(o, !0));
@@ -6903,7 +6903,7 @@ const Nu = Rl(
6903
6903
  touchStart(o) {
6904
6904
  if (Xa(o, a)) {
6905
6905
  const i = o.target;
6906
- Tt(a, "temp", [
6906
+ Vt(a, "temp", [
6907
6907
  [i, "touchmove", "move", "notPassiveCapture"],
6908
6908
  [i, "touchcancel", "end", "passiveCapture"],
6909
6909
  [i, "touchend", "end", "passiveCapture"]
@@ -6989,11 +6989,11 @@ const Nu = Rl(
6989
6989
  };
6990
6990
  if (e.__qtouchpan = a, l.mouse === !0) {
6991
6991
  const o = l.mouseCapture === !0 || l.mousecapture === !0 ? "Capture" : "";
6992
- Tt(a, "main", [
6992
+ Vt(a, "main", [
6993
6993
  [e, "mousedown", "mouseStart", `passive${o}`]
6994
6994
  ]);
6995
6995
  }
6996
- ze.has.touch === !0 && Tt(a, "main", [
6996
+ ze.has.touch === !0 && Vt(a, "main", [
6997
6997
  [e, "touchstart", "touchStart", `passive${l.capture === !0 ? "Capture" : ""}`],
6998
6998
  [e, "touchmove", "noop", "notPassiveCapture"]
6999
6999
  // cannot be passive (ex: iOS scroll)
@@ -7055,15 +7055,15 @@ const Zo = Oe({
7055
7055
  setup(e, { slots: n, emit: l }) {
7056
7056
  const t = ke(), { $q: a } = t.proxy, o = kt(e, a), { tabindex: i, headerClass: r, getLocale: d, getCurrentDate: c } = Qo(e, a), u = vo(e), v = Ql(u);
7057
7057
  let b, w;
7058
- const S = K(null), k = s(() => ne()), y = s(() => d()), I = s(() => le()), R = wn(
7058
+ const S = K(null), k = s(() => ne()), y = s(() => d()), A = s(() => le()), R = wn(
7059
7059
  e.modelValue,
7060
7060
  k.value,
7061
7061
  // initial mask
7062
7062
  y.value,
7063
7063
  // initial locale
7064
7064
  e.calendar,
7065
- I.value
7066
- ), x = K(Yu(R)), g = K(R), O = K(R.hour === null || R.hour < 12), A = s(
7065
+ A.value
7066
+ ), x = K(Yu(R)), g = K(R), O = K(R.hour === null || R.hour < 12), I = s(
7067
7067
  () => `q-time q-time--${e.landscape === !0 ? "landscape" : "portrait"}` + (o.value === !0 ? " q-time--dark q-dark" : "") + (e.disable === !0 ? " disabled" : e.readonly === !0 ? " q-time--readonly" : "") + (e.bordered === !0 ? " q-time--bordered" : "") + (e.square === !0 ? " q-time--square no-border-radius" : "") + (e.flat === !0 ? " q-time--flat no-shadow" : "")
7068
7068
  ), C = s(() => {
7069
7069
  const D = g.value;
@@ -7078,12 +7078,12 @@ const Zo = Oe({
7078
7078
  const D = x.value === "hour", Q = D === !0 ? 12 : 60, ae = g.value[x.value];
7079
7079
  let _e = `rotate(${Math.round(ae * (360 / Q)) - 180}deg) translateX(-50%)`;
7080
7080
  return D === !0 && L.value === !0 && g.value.hour >= 12 && (_e += " scale(.7)"), { transform: _e };
7081
- }), T = s(() => g.value.hour !== null), M = s(() => T.value === !0 && g.value.minute !== null), V = s(() => e.hourOptions !== void 0 ? (D) => e.hourOptions.includes(D) : e.options !== void 0 ? (D) => e.options(D, null, null) : null), F = s(() => e.minuteOptions !== void 0 ? (D) => e.minuteOptions.includes(D) : e.options !== void 0 ? (D) => e.options(g.value.hour, D, null) : null), B = s(() => e.secondOptions !== void 0 ? (D) => e.secondOptions.includes(D) : e.options !== void 0 ? (D) => e.options(g.value.hour, g.value.minute, D) : null), z = s(() => {
7081
+ }), T = s(() => g.value.hour !== null), M = s(() => T.value === !0 && g.value.minute !== null), V = s(() => e.hourOptions !== void 0 ? (D) => e.hourOptions.includes(D) : e.options !== void 0 ? (D) => e.options(D, null, null) : null), P = s(() => e.minuteOptions !== void 0 ? (D) => e.minuteOptions.includes(D) : e.options !== void 0 ? (D) => e.options(g.value.hour, D, null) : null), B = s(() => e.secondOptions !== void 0 ? (D) => e.secondOptions.includes(D) : e.options !== void 0 ? (D) => e.options(g.value.hour, g.value.minute, D) : null), z = s(() => {
7082
7082
  if (V.value === null)
7083
7083
  return null;
7084
7084
  const D = _(0, 11, V.value), Q = _(12, 11, V.value);
7085
7085
  return { am: D, pm: Q, values: D.values.concat(Q.values) };
7086
- }), X = s(() => F.value !== null ? _(0, 59, F.value) : null), H = s(() => B.value !== null ? _(0, 59, B.value) : null), P = s(() => {
7086
+ }), X = s(() => P.value !== null ? _(0, 59, P.value) : null), H = s(() => B.value !== null ? _(0, 59, B.value) : null), F = s(() => {
7087
7087
  switch (x.value) {
7088
7088
  case "hour":
7089
7089
  return z.value;
@@ -7094,7 +7094,7 @@ const Zo = Oe({
7094
7094
  }
7095
7095
  }), $ = s(() => {
7096
7096
  let D, Q, ae = 0, se = 1;
7097
- const _e = P.value !== null ? P.value.values : void 0;
7097
+ const _e = F.value !== null ? F.value.values : void 0;
7098
7098
  x.value === "hour" ? L.value === !0 ? (D = 0, Q = 23) : (D = 0, Q = 11, O.value === !1 && (ae = 12)) : (D = 0, Q = 55, se = 5);
7099
7099
  const We = [];
7100
7100
  for (let fe = D, Ce = D; fe <= Q; fe += se, Ce++) {
@@ -7118,7 +7118,7 @@ const Zo = Oe({
7118
7118
  k.value,
7119
7119
  y.value,
7120
7120
  e.calendar,
7121
- I.value
7121
+ A.value
7122
7122
  );
7123
7123
  (Q.dateHash !== g.value.dateHash || Q.timeHash !== g.value.timeHash) && (g.value = Q, Q.hour === null ? x.value = "hour" : O.value = Q.hour < 12);
7124
7124
  }), oe([k, y], () => {
@@ -7172,7 +7172,7 @@ const Zo = Oe({
7172
7172
  return wn(e.defaultDate, "YYYY/MM/DD", void 0, e.calendar);
7173
7173
  }
7174
7174
  function J() {
7175
- return Nl(t) === !0 || P.value !== null && (P.value.values.length === 0 || x.value === "hour" && L.value !== !0 && z.value[O.value === !0 ? "am" : "pm"].values.length === 0);
7175
+ return Nl(t) === !0 || F.value !== null && (F.value.values.length === 0 || x.value === "hour" && L.value !== !0 && z.value[O.value === !0 ? "am" : "pm"].values.length === 0);
7176
7176
  }
7177
7177
  function ye() {
7178
7178
  const D = S.value, { top: Q, left: ae, width: se } = D.getBoundingClientRect(), _e = se / 2;
@@ -7316,21 +7316,21 @@ const Zo = Oe({
7316
7316
  function tn() {
7317
7317
  O.value === !0 && (O.value = !1, g.value.hour !== null && (g.value.hour += 12, at()));
7318
7318
  }
7319
- function Vt(D) {
7319
+ function Tt(D) {
7320
7320
  const Q = e.modelValue;
7321
7321
  x.value !== D && Q !== void 0 && Q !== null && Q !== "" && typeof Q != "string" && (x.value = D);
7322
7322
  }
7323
7323
  function at() {
7324
7324
  if (V.value !== null && V.value(g.value.hour) !== !0) {
7325
- g.value = wn(), Vt("hour");
7325
+ g.value = wn(), Tt("hour");
7326
7326
  return;
7327
7327
  }
7328
- if (F.value !== null && F.value(g.value.minute) !== !0) {
7329
- g.value.minute = null, g.value.second = null, Vt("minute");
7328
+ if (P.value !== null && P.value(g.value.minute) !== !0) {
7329
+ g.value.minute = null, g.value.second = null, Tt("minute");
7330
7330
  return;
7331
7331
  }
7332
7332
  if (e.withSeconds === !0 && B.value !== null && B.value(g.value.second) !== !0) {
7333
- g.value.second = null, Vt("second");
7333
+ g.value.second = null, Tt("second");
7334
7334
  return;
7335
7335
  }
7336
7336
  g.value.hour === null || g.value.minute === null || e.withSeconds === !0 && g.value.second === null || Lt();
@@ -7466,7 +7466,7 @@ const Zo = Oe({
7466
7466
  return Q !== void 0 && D.push(
7467
7467
  h("div", { class: "q-time__actions" }, Q)
7468
7468
  ), e.name !== void 0 && e.disable !== !0 && v(D, "push"), h("div", {
7469
- class: A.value,
7469
+ class: I.value,
7470
7470
  tabindex: -1
7471
7471
  }, [
7472
7472
  Ht(),
@@ -7508,7 +7508,7 @@ const Zo = Oe({
7508
7508
  }
7509
7509
  }), Wu = { class: "row items-center justify-end" };
7510
7510
  function Xu(e, n, l, t, a, o) {
7511
- return re(), st(t.QInput, Pe({
7511
+ return re(), st(t.QInput, Fe({
7512
7512
  id: t.fieldId,
7513
7513
  modelValue: t.value,
7514
7514
  "onUpdate:modelValue": n[1] || (n[1] = (i) => t.value = i),
@@ -7538,7 +7538,7 @@ function Xu(e, n, l, t, a, o) {
7538
7538
  mask: "HH:mm:ss"
7539
7539
  }, {
7540
7540
  default: de(() => [
7541
- Te("div", Wu, [
7541
+ Ve("div", Wu, [
7542
7542
  Jt(ue(
7543
7543
  Ze,
7544
7544
  {
@@ -7573,11 +7573,11 @@ function Xu(e, n, l, t, a, o) {
7573
7573
  name: "label",
7574
7574
  fn: de(() => [
7575
7575
  Ke(
7576
- Ve(t.label) + " ",
7576
+ Te(t.label) + " ",
7577
7577
  1
7578
7578
  /* TEXT */
7579
7579
  ),
7580
- n[2] || (n[2] = Te(
7580
+ n[2] || (n[2] = Ve(
7581
7581
  "span",
7582
7582
  { style: { color: "red" } },
7583
7583
  "*",
@@ -7629,7 +7629,7 @@ const Zu = /* @__PURE__ */ lt(Uu, [["render", Xu], ["__file", "/Users/zachsherbo
7629
7629
  md: 8,
7630
7630
  lg: 16,
7631
7631
  xl: 24
7632
- }, Fl = Oe({
7632
+ }, Pl = Oe({
7633
7633
  name: "QSeparator",
7634
7634
  props: {
7635
7635
  ..._t,
@@ -7680,16 +7680,16 @@ const Zu = /* @__PURE__ */ lt(Uu, [["render", Xu], ["__file", "/Users/zachsherbo
7680
7680
  r == null ? void 0 : r.componentDefaults,
7681
7681
  "datetime"
7682
7682
  )), u = s(() => c.value.dateMask || "YYYY-MM-DD"), v = s(() => c.value.timeMask || "hh:mm A"), b = s(() => c.value.mask || `${u.value} ${v.value}`), w = s(() => c.value.format24h || !1), S = s(() => c.value.withSeconds || !1), y = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: d, quasarProps: c, dateMask: u, timeMask: v, fullMask: b, use24Hour: w, withSeconds: S, setNow: () => {
7683
- const I = /* @__PURE__ */ new Date(), R = I.getFullYear(), x = String(I.getMonth() + 1).padStart(2, "0"), g = String(I.getDate()).padStart(2, "0");
7683
+ const A = /* @__PURE__ */ new Date(), R = A.getFullYear(), x = String(A.getMonth() + 1).padStart(2, "0"), g = String(A.getDate()).padStart(2, "0");
7684
7684
  if (w.value) {
7685
- const O = String(I.getHours()).padStart(2, "0"), A = String(I.getMinutes()).padStart(2, "0");
7686
- t.value = `${R}-${x}-${g} ${O}:${A}`;
7685
+ const O = String(A.getHours()).padStart(2, "0"), I = String(A.getMinutes()).padStart(2, "0");
7686
+ t.value = `${R}-${x}-${g} ${O}:${I}`;
7687
7687
  } else {
7688
- let O = I.getHours();
7689
- const A = O >= 12 ? "PM" : "AM";
7688
+ let O = A.getHours();
7689
+ const I = O >= 12 ? "PM" : "AM";
7690
7690
  O = O % 12 || 12;
7691
- const C = String(I.getMinutes()).padStart(2, "0");
7692
- t.value = `${R}-${x}-${g} ${O}:${C} ${A}`;
7691
+ const C = String(A.getMinutes()).padStart(2, "0");
7692
+ t.value = `${R}-${x}-${g} ${O}:${C} ${I}`;
7693
7693
  }
7694
7694
  }, get QInput() {
7695
7695
  return en;
@@ -7704,13 +7704,13 @@ const Zu = /* @__PURE__ */ lt(Uu, [["render", Xu], ["__file", "/Users/zachsherbo
7704
7704
  }, get QCardActions() {
7705
7705
  return $u;
7706
7706
  }, get QSeparator() {
7707
- return Fl;
7707
+ return Pl;
7708
7708
  } };
7709
7709
  return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
7710
7710
  }
7711
7711
  }), es = { class: "row no-wrap" };
7712
7712
  function ts(e, n, l, t, a, o) {
7713
- return re(), st(t.QInput, Pe({
7713
+ return re(), st(t.QInput, Fe({
7714
7714
  id: t.fieldId,
7715
7715
  modelValue: t.value,
7716
7716
  "onUpdate:modelValue": n[2] || (n[2] = (i) => t.value = i),
@@ -7738,7 +7738,7 @@ function ts(e, n, l, t, a, o) {
7738
7738
  class: "datetime-picker-card"
7739
7739
  }, {
7740
7740
  default: de(() => [
7741
- Te("div", es, [
7741
+ Ve("div", es, [
7742
7742
  ue(t.QDate, {
7743
7743
  modelValue: t.value,
7744
7744
  "onUpdate:modelValue": n[0] || (n[0] = (i) => t.value = i),
@@ -7810,11 +7810,11 @@ function ts(e, n, l, t, a, o) {
7810
7810
  name: "label",
7811
7811
  fn: de(() => [
7812
7812
  Ke(
7813
- Ve(t.label) + " ",
7813
+ Te(t.label) + " ",
7814
7814
  1
7815
7815
  /* TEXT */
7816
7816
  ),
7817
- n[3] || (n[3] = Te(
7817
+ n[3] || (n[3] = Ve(
7818
7818
  "span",
7819
7819
  { style: { color: "red" } },
7820
7820
  "*",
@@ -7841,23 +7841,23 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7841
7841
  function u() {
7842
7842
  a == null || a(), a = null, t = !1, i !== null && (clearTimeout(i), i = null), r !== null && (clearTimeout(r), r = null), o == null || o.removeEventListener("transitionend", d), d = null;
7843
7843
  }
7844
- function v(k, y, I) {
7845
- y !== void 0 && (k.style.height = `${y}px`), k.style.transition = `height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`, t = !0, a = I;
7844
+ function v(k, y, A) {
7845
+ y !== void 0 && (k.style.height = `${y}px`), k.style.transition = `height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`, t = !0, a = A;
7846
7846
  }
7847
7847
  function b(k, y) {
7848
7848
  k.style.overflowY = null, k.style.height = null, k.style.transition = null, u(), y !== c && l(y);
7849
7849
  }
7850
7850
  function w(k, y) {
7851
- let I = 0;
7852
- o = k, t === !0 ? (u(), I = k.offsetHeight === k.scrollHeight ? 0 : void 0) : (c = "hide", k.style.overflowY = "hidden"), v(k, I, y), i = setTimeout(() => {
7851
+ let A = 0;
7852
+ o = k, t === !0 ? (u(), A = k.offsetHeight === k.scrollHeight ? 0 : void 0) : (c = "hide", k.style.overflowY = "hidden"), v(k, A, y), i = setTimeout(() => {
7853
7853
  i = null, k.style.height = `${k.scrollHeight}px`, d = (R) => {
7854
7854
  r = null, (Object(R) !== R || R.target === k) && b(k, "show");
7855
7855
  }, k.addEventListener("transitionend", d), r = setTimeout(d, e.duration * 1.1);
7856
7856
  }, 100);
7857
7857
  }
7858
7858
  function S(k, y) {
7859
- let I;
7860
- o = k, t === !0 ? u() : (c = "show", k.style.overflowY = "hidden", I = k.scrollHeight), v(k, I, y), i = setTimeout(() => {
7859
+ let A;
7860
+ o = k, t === !0 ? u() : (c = "show", k.style.overflowY = "hidden", A = k.scrollHeight), v(k, A, y), i = setTimeout(() => {
7861
7861
  i = null, k.style.height = 0, d = (R) => {
7862
7862
  r = null, (Object(R) !== R || R.target === k) && b(k, "hide");
7863
7863
  }, k.addEventListener("transitionend", d), r = setTimeout(d, e.duration * 1.1);
@@ -7921,10 +7921,10 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7921
7921
  () => e.disable !== !0 && (e.href !== void 0 || e.to !== void 0 && e.to !== null && e.to !== "")
7922
7922
  ), y = s(() => {
7923
7923
  const H = {};
7924
- return as.forEach((P) => {
7925
- H[P] = e[P];
7924
+ return as.forEach((F) => {
7925
+ H[F] = e[F];
7926
7926
  }), H;
7927
- }), I = s(
7927
+ }), A = s(
7928
7928
  () => k.value === !0 || e.expandIconToggle !== !0
7929
7929
  ), R = s(() => e.expandedIcon !== void 0 && o.value === !0 ? e.expandedIcon : e.expandIcon || t.iconSet.expansionItem[e.denseToggle === !0 ? "denseIcon" : "icon"]), x = s(
7930
7930
  () => e.disable !== !0 && (k.value === !0 || e.expandIconToggle === !0)
@@ -7946,15 +7946,15 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7946
7946
  oe(() => e.group, (H) => {
7947
7947
  b == null || b(), H !== void 0 && M();
7948
7948
  });
7949
- function A(H) {
7949
+ function I(H) {
7950
7950
  k.value !== !0 && u(H), l("click", H);
7951
7951
  }
7952
7952
  function C(H) {
7953
7953
  H.keyCode === 13 && L(H, !0);
7954
7954
  }
7955
- function L(H, P) {
7955
+ function L(H, F) {
7956
7956
  var $;
7957
- P !== !0 && H.qAvoidFocus !== !0 && (($ = i.value) == null || $.focus()), u(H), Fe(H);
7957
+ F !== !0 && H.qAvoidFocus !== !0 && (($ = i.value) == null || $.focus()), u(H), Pe(H);
7958
7958
  }
7959
7959
  function te() {
7960
7960
  l("afterShow");
@@ -7966,14 +7966,14 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7966
7966
  v === void 0 && (v = Ln()), o.value === !0 && (Yt[e.group] = v);
7967
7967
  const H = oe(o, ($) => {
7968
7968
  $ === !0 ? Yt[e.group] = v : Yt[e.group] === v && delete Yt[e.group];
7969
- }), P = oe(
7969
+ }), F = oe(
7970
7970
  () => Yt[e.group],
7971
7971
  ($, ve) => {
7972
7972
  ve === v && $ !== void 0 && $ !== v && c();
7973
7973
  }
7974
7974
  );
7975
7975
  b = () => {
7976
- H(), P(), Yt[e.group] === v && delete Yt[e.group], b = void 0;
7976
+ H(), F(), Yt[e.group] === v && delete Yt[e.group], b = void 0;
7977
7977
  };
7978
7978
  }
7979
7979
  function V() {
@@ -7984,7 +7984,7 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7984
7984
  ],
7985
7985
  side: e.switchToggleSide !== !0,
7986
7986
  avatar: e.switchToggleSide
7987
- }, P = [
7987
+ }, F = [
7988
7988
  h(Je, {
7989
7989
  class: "q-expansion-item__toggle-icon" + (e.expandedIcon === void 0 && o.value === !0 ? " q-expansion-item__toggle-icon--rotated" : ""),
7990
7990
  name: R.value
@@ -7995,20 +7995,20 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7995
7995
  ...O.value,
7996
7996
  onClick: L,
7997
7997
  onKeyup: C
7998
- }), P.unshift(
7998
+ }), F.unshift(
7999
7999
  h("div", {
8000
8000
  ref: i,
8001
8001
  class: "q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",
8002
8002
  tabindex: -1
8003
8003
  })
8004
- )), h(Dn, H, () => P);
8004
+ )), h(Dn, H, () => F);
8005
8005
  }
8006
- function F() {
8006
+ function P() {
8007
8007
  let H;
8008
8008
  return n.header !== void 0 ? H = [].concat(n.header(g.value)) : (H = [
8009
8009
  h(Dn, () => [
8010
- h(Tl, { lines: e.labelLines }, () => e.label || ""),
8011
- e.caption ? h(Tl, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
8010
+ h(Vl, { lines: e.labelLines }, () => e.label || ""),
8011
+ e.caption ? h(Vl, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
8012
8012
  ])
8013
8013
  ], e.icon && H[e.switchToggleSide === !0 ? "push" : "unshift"](
8014
8014
  h(Dn, {
@@ -8029,10 +8029,10 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
8029
8029
  dense: e.dense,
8030
8030
  insetLevel: e.headerInsetLevel
8031
8031
  };
8032
- return I.value === !0 && (H.clickable = !0, H.onClick = A, Object.assign(
8032
+ return A.value === !0 && (H.clickable = !0, H.onClick = I, Object.assign(
8033
8033
  H,
8034
8034
  k.value === !0 ? y.value : O.value
8035
- )), h(_o, H, F);
8035
+ )), h(_o, H, P);
8036
8036
  }
8037
8037
  function z() {
8038
8038
  return Jt(
@@ -8058,11 +8058,11 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
8058
8058
  }, z)
8059
8059
  ];
8060
8060
  return e.expandSeparator === !0 && H.push(
8061
- h(Fl, {
8061
+ h(Pl, {
8062
8062
  class: "q-expansion-item__border q-expansion-item__border--top absolute-top",
8063
8063
  dark: a.value
8064
8064
  }),
8065
- h(Fl, {
8065
+ h(Pl, {
8066
8066
  class: "q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",
8067
8067
  dark: a.value
8068
8068
  })
@@ -8113,16 +8113,16 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
8113
8113
  style: { color: "red", "font-size": "0.875rem", "margin-top": "0.5rem" }
8114
8114
  };
8115
8115
  function ds(e, n, l, t, a, o) {
8116
- return re(), st(t.QExpansionItem, Pe({
8116
+ return re(), st(t.QExpansionItem, Fe({
8117
8117
  id: t.fieldId,
8118
8118
  label: t.label,
8119
8119
  caption: t.hint,
8120
8120
  "default-opened": ""
8121
8121
  }, t.quasarProps), {
8122
8122
  header: de(() => [
8123
- Te("div", is, [
8123
+ Ve("div", is, [
8124
8124
  Ke(
8125
- Ve(t.label) + " ",
8125
+ Te(t.label) + " ",
8126
8126
  1
8127
8127
  /* TEXT */
8128
8128
  ),
@@ -8130,7 +8130,7 @@ function ds(e, n, l, t, a, o) {
8130
8130
  ])
8131
8131
  ]),
8132
8132
  default: de(() => [
8133
- Te("div", ss, [
8133
+ Ve("div", ss, [
8134
8134
  (re(!0), ge(
8135
8135
  Il,
8136
8136
  null,
@@ -8147,7 +8147,7 @@ function ds(e, n, l, t, a, o) {
8147
8147
  t.errorMessage ? (re(), ge(
8148
8148
  "div",
8149
8149
  cs,
8150
- Ve(t.errorMessage),
8150
+ Te(t.errorMessage),
8151
8151
  1
8152
8152
  /* TEXT */
8153
8153
  )) : he("v-if", !0)
@@ -8193,7 +8193,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8193
8193
  offset: {
8194
8194
  type: Array,
8195
8195
  default: () => [14, 14],
8196
- validator: Po
8196
+ validator: Fo
8197
8197
  },
8198
8198
  scrollTarget: Co,
8199
8199
  delay: {
@@ -8211,22 +8211,22 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8211
8211
  ],
8212
8212
  setup(e, { slots: n, emit: l, attrs: t }) {
8213
8213
  let a, o;
8214
- const i = ke(), { proxy: { $q: r } } = i, d = K(null), c = K(!1), u = s(() => Kn(e.anchor, r.lang.rtl)), v = s(() => Kn(e.self, r.lang.rtl)), b = s(() => e.persistent !== !0), { registerTick: w, removeTick: S } = Xl(), { registerTimeout: k } = Zl(), { transitionProps: y, transitionStyle: I } = Wl(e), { localScrollTarget: R, changeScrollEvent: x, unconfigureScrollTarget: g } = qo(e, ve), { anchorEl: O, canShow: A, anchorEvents: C } = Kl({ showing: c, configureAnchorEl: $ }), { show: L, hide: te } = ll({
8214
+ const i = ke(), { proxy: { $q: r } } = i, d = K(null), c = K(!1), u = s(() => Kn(e.anchor, r.lang.rtl)), v = s(() => Kn(e.self, r.lang.rtl)), b = s(() => e.persistent !== !0), { registerTick: w, removeTick: S } = Xl(), { registerTimeout: k } = Zl(), { transitionProps: y, transitionStyle: A } = Wl(e), { localScrollTarget: R, changeScrollEvent: x, unconfigureScrollTarget: g } = qo(e, ve), { anchorEl: O, canShow: I, anchorEvents: C } = Kl({ showing: c, configureAnchorEl: $ }), { show: L, hide: te } = ll({
8215
8215
  showing: c,
8216
- canShow: A,
8217
- handleShow: F,
8216
+ canShow: I,
8217
+ handleShow: P,
8218
8218
  handleHide: B,
8219
8219
  hideOnRouteChange: b,
8220
8220
  processOnMount: !0
8221
8221
  });
8222
- Object.assign(C, { delayShow: H, delayHide: P });
8222
+ Object.assign(C, { delayShow: H, delayHide: F });
8223
8223
  const { showPortal: T, hidePortal: M, renderPortal: V } = Ul(i, d, _, "tooltip");
8224
8224
  if (r.platform.is.mobile === !0) {
8225
8225
  const j = {
8226
8226
  anchorEl: O,
8227
8227
  innerRef: d,
8228
8228
  onClickOutside(ne) {
8229
- return te(ne), ne.target.classList.contains("q-dialog__backdrop") && Fe(ne), !0;
8229
+ return te(ne), ne.target.classList.contains("q-dialog__backdrop") && Pe(ne), !0;
8230
8230
  }
8231
8231
  }, Y = s(
8232
8232
  () => (
@@ -8241,7 +8241,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8241
8241
  Nn(j);
8242
8242
  });
8243
8243
  }
8244
- function F(j) {
8244
+ function P(j) {
8245
8245
  T(), w(() => {
8246
8246
  o = new MutationObserver(() => X()), o.observe(d.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), X(), ve();
8247
8247
  }), a === void 0 && (a = oe(
@@ -8274,13 +8274,13 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8274
8274
  if (r.platform.is.mobile === !0) {
8275
8275
  Hn(), document.body.classList.add("non-selectable");
8276
8276
  const Y = O.value, ne = ["touchmove", "touchcancel", "touchend", "click"].map((le) => [Y, le, "delayHide", "passiveCapture"]);
8277
- Tt(C, "tooltipTemp", ne);
8277
+ Vt(C, "tooltipTemp", ne);
8278
8278
  }
8279
8279
  k(() => {
8280
8280
  L(j);
8281
8281
  }, e.delay);
8282
8282
  }
8283
- function P(j) {
8283
+ function F(j) {
8284
8284
  r.platform.is.mobile === !0 && (Wt(C, "tooltipTemp"), Hn(), setTimeout(() => {
8285
8285
  document.body.classList.remove("non-selectable");
8286
8286
  }, 10)), k(() => {
@@ -8295,7 +8295,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8295
8295
  [O.value, "mouseenter", "delayShow", "passive"],
8296
8296
  [O.value, "mouseleave", "delayHide", "passive"]
8297
8297
  ];
8298
- Tt(C, "anchor", j);
8298
+ Vt(C, "anchor", j);
8299
8299
  }
8300
8300
  function ve() {
8301
8301
  if (O.value !== null || e.scrollTarget !== void 0) {
@@ -8314,7 +8314,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8314
8314
  ],
8315
8315
  style: [
8316
8316
  t.style,
8317
- I.value
8317
+ A.value
8318
8318
  ],
8319
8319
  role: "tooltip"
8320
8320
  }, Ue(n.default)) : null;
@@ -8378,7 +8378,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8378
8378
  ...T,
8379
8379
  ...C.addButton || {},
8380
8380
  ...L.addButton || {}
8381
- }, F = {
8381
+ }, P = {
8382
8382
  ...M,
8383
8383
  ...C.removeButton || {},
8384
8384
  ...L.removeButton || {}
@@ -8386,7 +8386,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8386
8386
  return {
8387
8387
  addButtonPosition: te,
8388
8388
  addButton: V,
8389
- removeButton: F
8389
+ removeButton: P
8390
8390
  };
8391
8391
  }), b = s(() => {
8392
8392
  const C = v.value.addButtonPosition;
@@ -8401,14 +8401,14 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8401
8401
  if (!k.value) return;
8402
8402
  const C = c.getDefaultValue(k.value);
8403
8403
  t.value = [...S.value, C];
8404
- }, I = (C) => {
8404
+ }, A = (C) => {
8405
8405
  const L = [...S.value];
8406
8406
  L.splice(C, 1), t.value = L;
8407
8407
  }, R = (C, L) => {
8408
8408
  if (L === "up" && C === 0 || L === "down" && C === S.value.length - 1) return;
8409
8409
  const te = [...S.value], T = L === "up" ? C - 1 : C + 1, M = te[C];
8410
8410
  te[C] = te[T], te[T] = M, t.value = te;
8411
- }, x = s(() => !(l.disabled || l.readonly || l.schema.maxItems && S.value.length >= l.schema.maxItems)), g = s(() => !(l.disabled || l.readonly || l.schema.minItems && S.value.length <= l.schema.minItems)), A = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: d, schemaUtils: c, quasarProps: u, quickformsFeatures: v, isTopPosition: b, isRightPosition: w, arrayValue: S, itemsSchema: k, addItem: y, removeItem: I, moveItem: R, canAdd: x, canRemove: g, getItemLabel: (C) => {
8411
+ }, x = s(() => !(l.disabled || l.readonly || l.schema.maxItems && S.value.length >= l.schema.maxItems)), g = s(() => !(l.disabled || l.readonly || l.schema.minItems && S.value.length <= l.schema.minItems)), I = { props: l, value: t, errorMessage: a, label: o, hint: i, formContext: r, fieldId: d, schemaUtils: c, quasarProps: u, quickformsFeatures: v, isTopPosition: b, isRightPosition: w, arrayValue: S, itemsSchema: k, addItem: y, removeItem: A, moveItem: R, canAdd: x, canRemove: g, getItemLabel: (C) => {
8412
8412
  var T;
8413
8413
  const L = l.schema["x-item-label"];
8414
8414
  if (L === "none" || L === !1)
@@ -8416,11 +8416,11 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8416
8416
  if (typeof L == "string" && L.includes("{{")) {
8417
8417
  const M = S.value[C];
8418
8418
  if (typeof M == "object" && M !== null) {
8419
- let V = L, F = !1;
8419
+ let V = L, P = !1;
8420
8420
  if (V = V.replace(/\{\{([^}]+)\}\}/g, (B, z) => {
8421
8421
  const X = M[z.trim()];
8422
- return X != null && X !== "" ? (F = !0, String(X)) : "";
8423
- }), V = V.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), F && V.trim())
8422
+ return X != null && X !== "" ? (P = !0, String(X)) : "";
8423
+ }), V = V.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), P && V.trim())
8424
8424
  return V.trim();
8425
8425
  }
8426
8426
  }
@@ -8434,7 +8434,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8434
8434
  }, get FieldRenderer() {
8435
8435
  return Zn;
8436
8436
  } };
8437
- return Object.defineProperty(A, "__isScriptSetup", { enumerable: !1, value: !0 }), A;
8437
+ return Object.defineProperty(I, "__isScriptSetup", { enumerable: !1, value: !0 }), I;
8438
8438
  }
8439
8439
  }), ms = ["id"], hs = { style: { "font-weight": "500" } }, gs = {
8440
8440
  key: 0,
@@ -8467,9 +8467,9 @@ function xs(e, n, l, t, a, o) {
8467
8467
  })
8468
8468
  },
8469
8469
  [
8470
- Te("div", hs, [
8470
+ Ve("div", hs, [
8471
8471
  Ke(
8472
- Ve(t.label) + " ",
8472
+ Te(t.label) + " ",
8473
8473
  1
8474
8474
  /* TEXT */
8475
8475
  ),
@@ -8477,7 +8477,7 @@ function xs(e, n, l, t, a, o) {
8477
8477
  ]),
8478
8478
  he(" Add button on same line only for top-right "),
8479
8479
  t.isTopPosition && t.isRightPosition ? (re(), ge("div", ys, [
8480
- ue(t.QBtn, Pe(t.quickformsFeatures.addButton, {
8480
+ ue(t.QBtn, Fe(t.quickformsFeatures.addButton, {
8481
8481
  disable: !t.canAdd,
8482
8482
  onClick: t.addItem
8483
8483
  }), null, 16, ["disable"])
@@ -8488,7 +8488,7 @@ function xs(e, n, l, t, a, o) {
8488
8488
  )) : he("v-if", !0),
8489
8489
  he(" Add button below label for top-left "),
8490
8490
  t.isTopPosition && !t.isRightPosition ? (re(), ge("div", bs, [
8491
- ue(t.QBtn, Pe(t.quickformsFeatures.addButton, {
8491
+ ue(t.QBtn, Fe(t.quickformsFeatures.addButton, {
8492
8492
  disable: !t.canAdd,
8493
8493
  onClick: t.addItem
8494
8494
  }), null, 16, ["disable"])
@@ -8496,17 +8496,17 @@ function xs(e, n, l, t, a, o) {
8496
8496
  t.hint ? (re(), ge(
8497
8497
  "div",
8498
8498
  ps,
8499
- Ve(t.hint),
8499
+ Te(t.hint),
8500
8500
  1
8501
8501
  /* TEXT */
8502
8502
  )) : he("v-if", !0),
8503
- Te("div", ws, [
8503
+ Ve("div", ws, [
8504
8504
  (re(!0), ge(
8505
8505
  Il,
8506
8506
  null,
8507
8507
  Al(t.arrayValue, (i, r) => (re(), st(
8508
8508
  t.QCard,
8509
- Pe({
8509
+ Fe({
8510
8510
  key: r,
8511
8511
  flat: "",
8512
8512
  bordered: ""
@@ -8520,7 +8520,7 @@ function xs(e, n, l, t, a, o) {
8520
8520
  default: de(() => {
8521
8521
  var d, c;
8522
8522
  return [
8523
- Te("div", _s, [
8523
+ Ve("div", _s, [
8524
8524
  ue(t.FieldRenderer, {
8525
8525
  schema: t.itemsSchema,
8526
8526
  path: `${l.path}[${r}]`,
@@ -8529,7 +8529,7 @@ function xs(e, n, l, t, a, o) {
8529
8529
  readonly: l.readonly
8530
8530
  }, null, 8, ["schema", "path", "label", "disabled", "readonly"])
8531
8531
  ]),
8532
- Te("div", ks, [
8532
+ Ve("div", ks, [
8533
8533
  ue(t.QBtn, {
8534
8534
  flat: "",
8535
8535
  round: "",
@@ -8582,7 +8582,7 @@ function xs(e, n, l, t, a, o) {
8582
8582
  _: 1
8583
8583
  /* STABLE */
8584
8584
  }, 8, ["disable", "onClick"]),
8585
- ue(t.QBtn, Pe({ ref_for: !0 }, t.quickformsFeatures.removeButton, {
8585
+ ue(t.QBtn, Fe({ ref_for: !0 }, t.quickformsFeatures.removeButton, {
8586
8586
  disable: !t.canRemove,
8587
8587
  onClick: (u) => t.removeItem(r),
8588
8588
  title: ((c = (d = t.formContext) == null ? void 0 : d.labels) == null ? void 0 : c.removeItem) || "Remove"
@@ -8593,7 +8593,7 @@ function xs(e, n, l, t, a, o) {
8593
8593
  var u, v;
8594
8594
  return [
8595
8595
  Ke(
8596
- Ve(((v = (u = t.formContext) == null ? void 0 : u.labels) == null ? void 0 : v.removeItem) || "Remove"),
8596
+ Te(((v = (u = t.formContext) == null ? void 0 : u.labels) == null ? void 0 : v.removeItem) || "Remove"),
8597
8597
  1
8598
8598
  /* TEXT */
8599
8599
  )
@@ -8634,7 +8634,7 @@ function xs(e, n, l, t, a, o) {
8634
8634
  style: Rn({ textAlign: t.isRightPosition ? "right" : "left" })
8635
8635
  },
8636
8636
  [
8637
- ue(t.QBtn, Pe(t.quickformsFeatures.addButton, {
8637
+ ue(t.QBtn, Fe(t.quickformsFeatures.addButton, {
8638
8638
  disable: !t.canAdd,
8639
8639
  onClick: t.addItem
8640
8640
  }), null, 16, ["disable"])
@@ -8645,7 +8645,7 @@ function xs(e, n, l, t, a, o) {
8645
8645
  t.errorMessage ? (re(), ge(
8646
8646
  "div",
8647
8647
  qs,
8648
- Ve(t.errorMessage),
8648
+ Te(t.errorMessage),
8649
8649
  1
8650
8650
  /* TEXT */
8651
8651
  )) : he("v-if", !0)
@@ -8674,8 +8674,8 @@ const Cs = /* @__PURE__ */ lt(vs, [["render", xs], ["__file", "/Users/zachsherbo
8674
8674
  c == null ? void 0 : c.componentDefaults,
8675
8675
  "keyvalue"
8676
8676
  )), b = s(() => {
8677
- var F, B;
8678
- const A = ((F = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : F.keyvalue) || {}, C = l.schema["x-quickforms-quasar"] || {}, L = C.addButtonPosition ?? A.addButtonPosition ?? "bottom-left", te = {
8677
+ var P, B;
8678
+ const I = ((P = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : P.keyvalue) || {}, C = l.schema["x-quickforms-quasar"] || {}, L = C.addButtonPosition ?? I.addButtonPosition ?? "bottom-left", te = {
8679
8679
  outline: !0,
8680
8680
  color: "primary",
8681
8681
  icon: "add",
@@ -8690,69 +8690,75 @@ const Cs = /* @__PURE__ */ lt(vs, [["render", xs], ["__file", "/Users/zachsherbo
8690
8690
  color: "negative"
8691
8691
  }, M = {
8692
8692
  ...te,
8693
- ...A.addButton || {},
8693
+ ...I.addButton || {},
8694
8694
  ...C.addButton || {}
8695
8695
  }, V = {
8696
8696
  ...T,
8697
- ...A.removeButton || {},
8697
+ ...I.removeButton || {},
8698
8698
  ...C.removeButton || {}
8699
8699
  };
8700
- return {
8700
+ return console.log("KeyValueField Debug:", {
8701
+ formContext: c,
8702
+ globalDefaults: I,
8703
+ schemaFeatures: C,
8704
+ addButton: M,
8705
+ removeButton: V
8706
+ }), {
8701
8707
  addButtonPosition: L,
8702
8708
  addButton: M,
8703
8709
  removeButton: V
8704
8710
  };
8705
8711
  }), w = s(() => {
8706
- const A = b.value.addButtonPosition;
8707
- return A === "top-left" || A === "top-right";
8712
+ const I = b.value.addButtonPosition;
8713
+ return I === "top-left" || I === "top-right";
8708
8714
  }), S = s(() => {
8709
- const A = b.value.addButtonPosition;
8710
- return A === "top-right" || A === "bottom-right";
8715
+ const I = b.value.addButtonPosition;
8716
+ return I === "top-right" || I === "bottom-right";
8711
8717
  }), k = s(() => b.value.addButtonPosition === "bottom-center");
8712
8718
  let y = 0;
8713
- const I = K([]), R = K(!1);
8719
+ const A = K([]), R = K(!1);
8714
8720
  oe(
8715
8721
  () => t.value,
8716
- (A) => {
8722
+ (I) => {
8717
8723
  if (R.value) {
8718
8724
  R.value = !1;
8719
8725
  return;
8720
8726
  }
8721
- A && typeof A == "object" && !Array.isArray(A) ? I.value = Object.entries(A).map(([C, L]) => ({
8727
+ I && typeof I == "object" && !Array.isArray(I) ? A.value = Object.entries(I).map(([C, L]) => ({
8722
8728
  key: C,
8723
8729
  value: String(L),
8724
8730
  id: y++
8725
- })) : I.value.length || (I.value = []);
8731
+ })) : A.value.length || (A.value = []);
8726
8732
  },
8727
8733
  { immediate: !0 }
8728
8734
  ), oe(
8729
- I,
8730
- (A) => {
8735
+ A,
8736
+ (I) => {
8731
8737
  const C = {};
8732
- A.forEach((L) => {
8738
+ I.forEach((L) => {
8733
8739
  L.key.trim() && (C[L.key] = L.value);
8734
8740
  }), R.value = !0, a(C);
8735
8741
  },
8736
8742
  { deep: !0 }
8737
8743
  );
8738
8744
  function x() {
8739
- I.value.push({ key: "", value: "", id: y++ });
8745
+ A.value.push({ key: "", value: "", id: y++ });
8740
8746
  }
8741
- function g(A) {
8742
- I.value = I.value.filter((C) => C.id !== A);
8747
+ function g(I) {
8748
+ A.value = A.value.filter((C) => C.id !== I);
8743
8749
  }
8744
8750
  const O = { props: l, value: t, setValue: a, label: o, hint: i, errorMessage: r, required: d, formContext: c, fieldId: u, inputProps: v, quickformsFeatures: b, isTopPosition: w, isRightPosition: S, isCenterPosition: k, get nextId() {
8745
8751
  return y;
8746
- }, set nextId(A) {
8747
- y = A;
8748
- }, pairs: I, isInternalUpdate: R, addPair: x, removePair: g, get QInput() {
8752
+ }, set nextId(I) {
8753
+ y = I;
8754
+ }, pairs: A, isInternalUpdate: R, addPair: x, removePair: g, get QInput() {
8749
8755
  return en;
8750
8756
  }, get QBtn() {
8751
8757
  return Ze;
8752
8758
  } };
8753
8759
  return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
8754
8760
  }
8755
- }), Os = { class: "quickform-keyvalue-field" }, Ts = { class: "text-subtitle2" }, Vs = {
8761
+ }), Os = { class: "quickform-keyvalue-field" }, Vs = { class: "text-subtitle2" }, Ts = {
8756
8762
  key: 0,
8757
8763
  style: { color: "red", "margin-left": "0.25rem" }
8758
8764
  }, Es = {
@@ -8761,7 +8767,7 @@ const Cs = /* @__PURE__ */ lt(vs, [["render", xs], ["__file", "/Users/zachsherbo
8761
8767
  }, Bs = {
8762
8768
  key: 2,
8763
8769
  class: "text-caption text-grey-7 q-mb-sm"
8764
- }, Ps = { class: "q-pa-md rounded-borders" }, Fs = {
8770
+ }, Fs = { class: "q-pa-md rounded-borders" }, Ps = {
8765
8771
  key: 0,
8766
8772
  class: "row items-center q-gutter-sm q-mb-sm"
8767
8773
  }, Ds = {
@@ -8783,16 +8789,16 @@ function Is(e, n, l, t, a, o) {
8783
8789
  })
8784
8790
  },
8785
8791
  [
8786
- Te("div", Ts, [
8792
+ Ve("div", Vs, [
8787
8793
  Ke(
8788
- Ve(t.label) + " ",
8794
+ Te(t.label) + " ",
8789
8795
  1
8790
8796
  /* TEXT */
8791
8797
  ),
8792
- t.required ? (re(), ge("span", Vs, "*")) : he("v-if", !0)
8798
+ t.required ? (re(), ge("span", Ts, "*")) : he("v-if", !0)
8793
8799
  ]),
8794
8800
  he(" Add button on same line only for top-right "),
8795
- t.isTopPosition && t.isRightPosition ? (re(), st(t.QBtn, Pe({ key: 0 }, t.quickformsFeatures.addButton, {
8801
+ t.isTopPosition && t.isRightPosition ? (re(), st(t.QBtn, Fe({ key: 0 }, t.quickformsFeatures.addButton, {
8796
8802
  disable: l.disabled || l.readonly,
8797
8803
  onClick: t.addPair
8798
8804
  }), null, 16, ["disable"])) : he("v-if", !0)
@@ -8802,7 +8808,7 @@ function Is(e, n, l, t, a, o) {
8802
8808
  )) : he("v-if", !0),
8803
8809
  he(" Add button below label for top-left "),
8804
8810
  t.isTopPosition && !t.isRightPosition ? (re(), ge("div", Es, [
8805
- ue(t.QBtn, Pe(t.quickformsFeatures.addButton, {
8811
+ ue(t.QBtn, Fe(t.quickformsFeatures.addButton, {
8806
8812
  disable: l.disabled || l.readonly,
8807
8813
  onClick: t.addPair
8808
8814
  }), null, 16, ["disable"])
@@ -8810,27 +8816,27 @@ function Is(e, n, l, t, a, o) {
8810
8816
  t.hint ? (re(), ge(
8811
8817
  "div",
8812
8818
  Bs,
8813
- Ve(t.hint),
8819
+ Te(t.hint),
8814
8820
  1
8815
8821
  /* TEXT */
8816
8822
  )) : he("v-if", !0),
8817
- Te("div", Ps, [
8818
- t.pairs.length ? (re(), ge("div", Fs, [...n[0] || (n[0] = [
8819
- Te(
8823
+ Ve("div", Fs, [
8824
+ t.pairs.length ? (re(), ge("div", Ps, [...n[0] || (n[0] = [
8825
+ Ve(
8820
8826
  "div",
8821
8827
  { class: "col text-weight-medium text-caption" },
8822
8828
  "Key",
8823
8829
  -1
8824
8830
  /* CACHED */
8825
8831
  ),
8826
- Te(
8832
+ Ve(
8827
8833
  "div",
8828
8834
  { class: "col text-weight-medium text-caption" },
8829
8835
  "Value",
8830
8836
  -1
8831
8837
  /* CACHED */
8832
8838
  ),
8833
- Te(
8839
+ Ve(
8834
8840
  "div",
8835
8841
  { style: { width: "40px" } },
8836
8842
  null,
@@ -8847,7 +8853,7 @@ function Is(e, n, l, t, a, o) {
8847
8853
  key: i.id,
8848
8854
  class: "row items-center q-gutter-sm q-mb-sm"
8849
8855
  }, [
8850
- ue(t.QInput, Pe({
8856
+ ue(t.QInput, Fe({
8851
8857
  modelValue: i.key,
8852
8858
  "onUpdate:modelValue": (c) => i.key = c,
8853
8859
  outlined: "",
@@ -8857,7 +8863,7 @@ function Is(e, n, l, t, a, o) {
8857
8863
  disable: l.disabled,
8858
8864
  readonly: l.readonly
8859
8865
  }, { ref_for: !0 }, t.inputProps), null, 16, ["modelValue", "onUpdate:modelValue", "disable", "readonly"]),
8860
- ue(t.QInput, Pe({
8866
+ ue(t.QInput, Fe({
8861
8867
  modelValue: i.value,
8862
8868
  "onUpdate:modelValue": (c) => i.value = c,
8863
8869
  outlined: "",
@@ -8867,7 +8873,7 @@ function Is(e, n, l, t, a, o) {
8867
8873
  disable: l.disabled,
8868
8874
  readonly: l.readonly
8869
8875
  }, { ref_for: !0 }, t.inputProps), null, 16, ["modelValue", "onUpdate:modelValue", "disable", "readonly"]),
8870
- ue(t.QBtn, Pe({ ref_for: !0 }, t.quickformsFeatures.removeButton, {
8876
+ ue(t.QBtn, Fe({ ref_for: !0 }, t.quickformsFeatures.removeButton, {
8871
8877
  disable: l.disabled || l.readonly,
8872
8878
  onClick: (c) => t.removePair(i.id),
8873
8879
  title: ((d = (r = t.formContext) == null ? void 0 : r.labels) == null ? void 0 : d.removeItem) || "Remove"
@@ -8878,7 +8884,7 @@ function Is(e, n, l, t, a, o) {
8878
8884
  var c, u;
8879
8885
  return [
8880
8886
  Ke(
8881
- Ve(((u = (c = t.formContext) == null ? void 0 : c.labels) == null ? void 0 : u.removeItem) || "Remove"),
8887
+ Te(((u = (c = t.formContext) == null ? void 0 : c.labels) == null ? void 0 : u.removeItem) || "Remove"),
8882
8888
  1
8883
8889
  /* TEXT */
8884
8890
  )
@@ -8907,7 +8913,7 @@ function Is(e, n, l, t, a, o) {
8907
8913
  })
8908
8914
  },
8909
8915
  [
8910
- ue(t.QBtn, Pe(t.quickformsFeatures.addButton, {
8916
+ ue(t.QBtn, Fe(t.quickformsFeatures.addButton, {
8911
8917
  class: { "full-width": t.isCenterPosition },
8912
8918
  disable: l.disabled || l.readonly,
8913
8919
  onClick: t.addPair
@@ -8920,7 +8926,7 @@ function Is(e, n, l, t, a, o) {
8920
8926
  t.errorMessage ? (re(), ge(
8921
8927
  "div",
8922
8928
  Ds,
8923
- Ve(t.errorMessage),
8929
+ Te(t.errorMessage),
8924
8930
  1
8925
8931
  /* TEXT */
8926
8932
  )) : he("v-if", !0)
@@ -8990,7 +8996,7 @@ const As = /* @__PURE__ */ lt(Ms, [["render", Is], ["__file", "/Users/zachsherbo
8990
8996
  }
8991
8997
  (C.key === "Enter" || C.key === " ") && C.stopPropagation();
8992
8998
  }
8993
- const I = s(() => b.value || r.value), R = s(() => {
8999
+ const A = s(() => b.value || r.value), R = s(() => {
8994
9000
  var M, V;
8995
9001
  const C = ((M = c == null ? void 0 : c.componentDefaults) == null ? void 0 : M.global) || {}, L = ((V = c == null ? void 0 : c.componentDefaults) == null ? void 0 : V.jsoneditor) || {}, te = l.schema["x-quasar-props"] || {}, T = l.schema["x-component-props"] || {};
8996
9002
  return { ...C, ...L, ...T, ...te };
@@ -9001,12 +9007,12 @@ const As = /* @__PURE__ */ lt(Ms, [["render", Is], ["__file", "/Users/zachsherbo
9001
9007
  }), g = s(() => x.value.showFormatHint !== !1), O = s(() => {
9002
9008
  const C = l.schema["x-rows"];
9003
9009
  return C !== void 0 ? C : 8;
9004
- }), A = { props: l, value: t, setValue: a, label: o, hint: i, errorMessage: r, required: d, formContext: c, fieldId: u, jsonText: v, parseError: b, isInitialized: w, handleInput: S, formatJson: k, handleKeyDown: y, displayError: I, quasarProps: R, quickformsFeatures: x, showFormatHint: g, rows: O, get QInput() {
9010
+ }), I = { props: l, value: t, setValue: a, label: o, hint: i, errorMessage: r, required: d, formContext: c, fieldId: u, jsonText: v, parseError: b, isInitialized: w, handleInput: S, formatJson: k, handleKeyDown: y, displayError: A, quasarProps: R, quickformsFeatures: x, showFormatHint: g, rows: O, get QInput() {
9005
9011
  return en;
9006
9012
  }, get QIcon() {
9007
9013
  return Je;
9008
9014
  } };
9009
- return Object.defineProperty(A, "__isScriptSetup", { enumerable: !1, value: !0 }), A;
9015
+ return Object.defineProperty(I, "__isScriptSetup", { enumerable: !1, value: !0 }), I;
9010
9016
  }
9011
9017
  }), Ls = { class: "quickform-json-field-wrapper" }, Hs = {
9012
9018
  key: 0,
@@ -9022,9 +9028,9 @@ const As = /* @__PURE__ */ lt(Ms, [["render", Is], ["__file", "/Users/zachsherbo
9022
9028
  function Ns(e, n, l, t, a, o) {
9023
9029
  return re(), ge("div", Ls, [
9024
9030
  t.label ? (re(), ge("div", Hs, [
9025
- Te("span", zs, [
9031
+ Ve("span", zs, [
9026
9032
  Ke(
9027
- Ve(t.label) + " ",
9033
+ Te(t.label) + " ",
9028
9034
  1
9029
9035
  /* TEXT */
9030
9036
  ),
@@ -9032,7 +9038,7 @@ function Ns(e, n, l, t, a, o) {
9032
9038
  ]),
9033
9039
  t.showFormatHint ? (re(), ge("span", Qs, "ⓘ")) : he("v-if", !0)
9034
9040
  ])) : he("v-if", !0),
9035
- ue(t.QInput, Pe({
9041
+ ue(t.QInput, Fe({
9036
9042
  id: t.fieldId,
9037
9043
  "model-value": t.jsonText,
9038
9044
  hint: t.hint,
@@ -9106,22 +9112,22 @@ const Ys = /* @__PURE__ */ lt(Rs, [["render", Ns], ["__scopeId", "data-v-b6a61d1
9106
9112
  d == null ? void 0 : d.componentDefaults,
9107
9113
  "select"
9108
9114
  ), {
9109
- autocomplete: I,
9115
+ autocomplete: A,
9110
9116
  autocompleteThreshold: R,
9111
9117
  useInput: x,
9112
9118
  fillInput: g,
9113
9119
  hideSelected: O,
9114
- ...A
9120
+ ...I
9115
9121
  } = y;
9116
- return A;
9122
+ return I;
9117
9123
  }), v = s(() => {
9118
9124
  var x;
9119
9125
  const y = l.schema.items;
9120
9126
  if (!y || typeof y == "boolean") return [];
9121
- const I = Array.isArray(y) ? (x = y[0]) == null ? void 0 : x.enum : y.enum;
9122
- if (!I) return [];
9127
+ const A = Array.isArray(y) ? (x = y[0]) == null ? void 0 : x.enum : y.enum;
9128
+ if (!A) return [];
9123
9129
  const R = y["x-enum-labels"];
9124
- return I.map((g) => {
9130
+ return A.map((g) => {
9125
9131
  let O = String(g);
9126
9132
  return R && g in R && (O = R[g]), {
9127
9133
  label: O,
@@ -9137,11 +9143,11 @@ const Ys = /* @__PURE__ */ lt(Rs, [["render", Ns], ["__scopeId", "data-v-b6a61d1
9137
9143
  { immediate: !0 }
9138
9144
  );
9139
9145
  const w = s(() => {
9140
- var I, R;
9146
+ var A, R;
9141
9147
  const y = l.schema["x-component-props"];
9142
- return (y == null ? void 0 : y.autocomplete) !== void 0 ? y.autocomplete : ((R = (I = d == null ? void 0 : d.componentDefaults) == null ? void 0 : I.select) == null ? void 0 : R.autocomplete) !== void 0 ? d.componentDefaults.select.autocomplete : !0;
9143
- }), k = { props: l, value: t, errorMessage: a, label: o, hint: i, setValue: r, formContext: d, fieldId: c, quasarProps: u, allOptions: v, filteredOptions: b, useFilter: w, filterFn: (y, I) => {
9144
- I(() => {
9148
+ return (y == null ? void 0 : y.autocomplete) !== void 0 ? y.autocomplete : ((R = (A = d == null ? void 0 : d.componentDefaults) == null ? void 0 : A.select) == null ? void 0 : R.autocomplete) !== void 0 ? d.componentDefaults.select.autocomplete : !0;
9149
+ }), k = { props: l, value: t, errorMessage: a, label: o, hint: i, setValue: r, formContext: d, fieldId: c, quasarProps: u, allOptions: v, filteredOptions: b, useFilter: w, filterFn: (y, A) => {
9150
+ A(() => {
9145
9151
  if (y === "")
9146
9152
  b.value = v.value;
9147
9153
  else {
@@ -9158,7 +9164,7 @@ const Ys = /* @__PURE__ */ lt(Rs, [["render", Ns], ["__scopeId", "data-v-b6a61d1
9158
9164
  }
9159
9165
  });
9160
9166
  function Us(e, n, l, t, a, o) {
9161
- return re(), st(t.QSelect, Pe({
9167
+ return re(), st(t.QSelect, Fe({
9162
9168
  id: t.fieldId,
9163
9169
  modelValue: t.value,
9164
9170
  "onUpdate:modelValue": n[0] || (n[0] = (i) => t.value = i),
@@ -9185,11 +9191,11 @@ function Us(e, n, l, t, a, o) {
9185
9191
  name: "label",
9186
9192
  fn: de(() => [
9187
9193
  Ke(
9188
- Ve(t.label) + " ",
9194
+ Te(t.label) + " ",
9189
9195
  1
9190
9196
  /* TEXT */
9191
9197
  ),
9192
- n[1] || (n[1] = Te(
9198
+ n[1] || (n[1] = Ve(
9193
9199
  "span",
9194
9200
  { style: { color: "red" } },
9195
9201
  "*",
@@ -9236,17 +9242,17 @@ const Ws = /* @__PURE__ */ lt(Ks, [["render", Us], ["__file", "/Users/zachsherbo
9236
9242
  k.value = g;
9237
9243
  }, { immediate: !0 });
9238
9244
  const y = s(() => {
9239
- var O, A;
9245
+ var O, I;
9240
9246
  const g = l.schema["x-component-props"];
9241
- return (g == null ? void 0 : g.autocomplete) !== void 0 ? g.autocomplete : ((A = (O = c == null ? void 0 : c.componentDefaults) == null ? void 0 : O.select) == null ? void 0 : A.autocomplete) !== void 0 ? c.componentDefaults.select.autocomplete : !0;
9247
+ return (g == null ? void 0 : g.autocomplete) !== void 0 ? g.autocomplete : ((I = (O = c == null ? void 0 : c.componentDefaults) == null ? void 0 : O.select) == null ? void 0 : I.autocomplete) !== void 0 ? c.componentDefaults.select.autocomplete : !0;
9242
9248
  }), x = { props: l, value: t, label: a, hint: o, errorMessage: i, fieldId: r, schemaUtils: d, formContext: c, quasarProps: u, options: v, selectedIndex: b, activeSchema: w, allSelectOptions: S, filteredOptions: k, useFilter: y, filterFn: (g, O) => {
9243
9249
  O(() => {
9244
9250
  if (g === "")
9245
9251
  k.value = S.value;
9246
9252
  else {
9247
- const A = g.toLowerCase();
9253
+ const I = g.toLowerCase();
9248
9254
  k.value = S.value.filter(
9249
- (C) => C.label.toLowerCase().includes(A)
9255
+ (C) => C.label.toLowerCase().includes(I)
9250
9256
  );
9251
9257
  }
9252
9258
  });
@@ -9286,7 +9292,7 @@ function tc(e, n, l, t, a, o) {
9286
9292
  default: de(() => [
9287
9293
  t.label ? (re(), ge("div", Zs, [
9288
9294
  Ke(
9289
- Ve(t.label) + " ",
9295
+ Te(t.label) + " ",
9290
9296
  1
9291
9297
  /* TEXT */
9292
9298
  ),
@@ -9295,11 +9301,11 @@ function tc(e, n, l, t, a, o) {
9295
9301
  t.hint ? (re(), ge(
9296
9302
  "div",
9297
9303
  Js,
9298
- Ve(t.hint),
9304
+ Te(t.hint),
9299
9305
  1
9300
9306
  /* TEXT */
9301
9307
  )) : he("v-if", !0),
9302
- ue(t.QSelect, Pe({
9308
+ ue(t.QSelect, Fe({
9303
9309
  modelValue: t.selectedIndex,
9304
9310
  "onUpdate:modelValue": [
9305
9311
  n[0] || (n[0] = (i) => t.selectedIndex = i),
@@ -9318,7 +9324,7 @@ function tc(e, n, l, t, a, o) {
9318
9324
  "map-options": "",
9319
9325
  onFilter: t.filterFn
9320
9326
  }, t.quasarProps), null, 16, ["modelValue", "options", "disable", "use-input", "fill-input", "hide-selected"]),
9321
- Te("div", Gs, [
9327
+ Ve("div", Gs, [
9322
9328
  t.activeSchema ? (re(), st(t.FieldRenderer, {
9323
9329
  key: 0,
9324
9330
  schema: t.activeSchema,
@@ -9330,7 +9336,7 @@ function tc(e, n, l, t, a, o) {
9330
9336
  t.errorMessage ? (re(), ge(
9331
9337
  "div",
9332
9338
  ec,
9333
- Ve(t.errorMessage),
9339
+ Te(t.errorMessage),
9334
9340
  1
9335
9341
  /* TEXT */
9336
9342
  )) : he("v-if", !0)
@@ -9484,12 +9490,12 @@ export {
9484
9490
  Cc as isEmailFormat,
9485
9491
  Mc as isEnumType,
9486
9492
  Oc as isIntegerType,
9487
- Tc as isJsonType,
9488
- Vc as isNullType,
9493
+ Vc as isJsonType,
9494
+ Tc as isNullType,
9489
9495
  Ec as isNumberType,
9490
9496
  Bc as isObjectType,
9491
- Pc as isRecordType,
9492
- Fc as isStringType,
9497
+ Fc as isRecordType,
9498
+ Pc as isStringType,
9493
9499
  Dc as isTimeFormat,
9494
9500
  Ic as isUrlFormat,
9495
9501
  Ac as not,