@quickflo/quickforms-quasar 1.3.5 → 1.4.0

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 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";
2
+ import { ComponentRegistry as vc, SchemaUtils as mc, and as hc, hasAllOf as gc, hasAnyOf as yc, hasConditional as bc, hasConst as pc, hasExtension as wc, hasFormat as _c, hasOneOf as kc, isArrayType as Sc, isBooleanType as qc, isDateFormat as xc, isDateTimeFormat as Cc, isDiscriminatedUnion as Mc, isEmailFormat as Oc, isEnumType as Tc, isIntegerType as Vc, isJsonType as Ec, isNullType as Bc, isNumberType as Fc, isObjectType as Pc, isRecordType as Dc, isStringType as Ic, isTimeFormat as Ac, isUrlFormat as Lc, not as Rc, or as Hc, rankWith as zc } 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 Oe, 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 Ln } 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,
@@ -21,10 +21,10 @@ function hn(e, n, l, t) {
21
21
  enumerable: !0
22
22
  }), e;
23
23
  }
24
- function Oe(e) {
24
+ function Te(e) {
25
25
  return $a(tt(e));
26
26
  }
27
- function Rl(e) {
27
+ function Ll(e) {
28
28
  return $a(e);
29
29
  }
30
30
  const Sr = (e, n) => {
@@ -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("|") + ")"), 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({
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-/, Fr = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Je = Te({
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 (Vr.test(r) === !0) {
119
+ if (Tr.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 (Tr.test(r) === !0)
130
+ if (Vr.test(r) === !0)
131
131
  return {
132
132
  img: !0,
133
133
  src: r.substring(4)
@@ -200,7 +200,7 @@ function Dr(e) {
200
200
  )
201
201
  };
202
202
  }
203
- const ao = Oe({
203
+ const ao = Te({
204
204
  name: "QSpinner",
205
205
  props: {
206
206
  ...Pr,
@@ -252,7 +252,7 @@ const Ir = (() => {
252
252
  return l;
253
253
  };
254
254
  })(), da = 4096;
255
- function Ln() {
255
+ function Rn() {
256
256
  (cl === void 0 || Mn + 16 > da) && (Mn = 0, cl = Ir(da));
257
257
  const e = Array.prototype.slice.call(cl, Mn, Mn += 16);
258
258
  return e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128, Ye[e[0]] + Ye[e[1]] + Ye[e[2]] + Ye[e[3]] + "-" + Ye[e[4]] + Ye[e[5]] + "-" + Ye[e[6]] + Ye[e[7]] + "-" + Ye[e[8]] + Ye[e[9]] + "-" + Ye[e[10]] + Ye[e[11]] + Ye[e[12]] + Ye[e[13]] + Ye[e[14]] + Ye[e[15]];
@@ -269,12 +269,12 @@ function Ar(e, n) {
269
269
  platform: n[0] || ""
270
270
  };
271
271
  }
272
- function Rr(e) {
272
+ function Lr(e) {
273
273
  return /(ipad)/.exec(e) || /(ipod)/.exec(e) || /(windows phone)/.exec(e) || /(iphone)/.exec(e) || /(kindle)/.exec(e) || /(silk)/.exec(e) || /(android)/.exec(e) || /(win)/.exec(e) || /(mac)/.exec(e) || /(linux)/.exec(e) || /(cros)/.exec(e) || /(playbook)/.exec(e) || /(bb)/.exec(e) || /(blackberry)/.exec(e) || [];
274
274
  }
275
275
  const oo = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
276
- function Lr(e) {
277
- const n = e.toLowerCase(), l = Rr(n), t = Ar(n, l), a = {
276
+ function Rr(e) {
277
+ const n = e.toLowerCase(), l = Lr(n), t = Ar(n, l), a = {
278
278
  mobile: !1,
279
279
  desktop: !1,
280
280
  cordova: !1,
@@ -337,7 +337,7 @@ const fa = navigator.userAgent || navigator.vendor || window.opera, Hr = {
337
337
  within: { iframe: !1 }
338
338
  }, ze = {
339
339
  userAgent: fa,
340
- is: Lr(fa),
340
+ is: Rr(fa),
341
341
  has: {
342
342
  touch: oo
343
343
  },
@@ -369,18 +369,18 @@ function zr(e) {
369
369
  return e ?? null;
370
370
  }
371
371
  function va(e, n) {
372
- return e ?? (n === !0 ? `f_${Ln()}` : null);
372
+ return e ?? (n === !0 ? `f_${Rn()}` : null);
373
373
  }
374
374
  function ro({ getValue: e, required: n = !0 } = {}) {
375
375
  if (kn.value === !0) {
376
376
  const l = e !== void 0 ? K(zr(e())) : K(null);
377
377
  return n === !0 && l.value === null && Gt(() => {
378
- l.value = `f_${Ln()}`;
378
+ l.value = `f_${Rn()}`;
379
379
  }), e !== void 0 && oe(e, (t) => {
380
380
  l.value = va(t, n);
381
381
  }), l;
382
382
  }
383
- return e !== void 0 ? s(() => va(e(), n)) : K(`f_${Ln()}`);
383
+ return e !== void 0 ? s(() => va(e(), n)) : K(`f_${Rn()}`);
384
384
  }
385
385
  const ma = /^on[A-Z]/;
386
386
  function jr() {
@@ -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])\)$/, 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 = {
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 = {
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) => Vn.test(e),
441
- rgbOrRgbaColor: (e) => On.test(e) || Vn.test(e),
440
+ rgbaColor: (e) => Tn.test(e),
441
+ rgbOrRgbaColor: (e) => On.test(e) || Tn.test(e),
442
442
  hexOrRgbColor: (e) => ha.test(e) || On.test(e),
443
- hexaOrRgbaColor: (e) => ga.test(e) || Vn.test(e),
444
- anyColor: (e) => ya.test(e) || On.test(e) || Vn.test(e)
443
+ hexaOrRgbaColor: (e) => ga.test(e) || Tn.test(e),
444
+ anyColor: (e) => ya.test(e) || On.test(e) || Tn.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, (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();
490
+ oe(() => l.reactiveRules, (L) => {
491
+ L === !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, (L) => {
493
+ L === !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(A = l.modelValue) {
498
+ function k(L = 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 = (I, C) => {
505
- I === !0 && x(), a.value = I, o.value = C || null, n.value = !1;
504
+ }, g = (P, C) => {
505
+ P === !0 && x(), a.value = P, o.value = C || null, n.value = !1;
506
506
  }, O = [];
507
- for (let I = 0; I < l.rules.length; I++) {
508
- const C = l.rules[I];
509
- let L;
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
- return g(!0, L), !1;
512
- L !== !0 && L !== void 0 && O.push(L);
507
+ for (let P = 0; P < l.rules.length; P++) {
508
+ const C = l.rules[P];
509
+ let H;
510
+ if (typeof C == "function" ? H = C(L, dl) : typeof C == "string" && dl[C] !== void 0 && (H = dl[C](L)), H === !1 || typeof H == "string")
511
+ return g(!0, H), !1;
512
+ H !== !0 && H !== void 0 && O.push(H);
513
513
  }
514
514
  return O.length === 0 ? (g(!1), !0) : (n.value = !0, Promise.all(O).then(
515
- (I) => {
516
- if (I === void 0 || Array.isArray(I) === !1 || I.length === 0)
515
+ (P) => {
516
+ if (P === void 0 || Array.isArray(P) === !1 || P.length === 0)
517
517
  return R === r && g(!1), !0;
518
- const C = I.find((L) => L === !1 || typeof L == "string");
518
+ const C = P.find((H) => H === !1 || typeof H == "string");
519
519
  return R === r && g(C !== void 0, C), C === void 0;
520
520
  },
521
- (I) => (R === r && (console.error(I), g(!0)), !1)
521
+ (P) => (R === r && (console.error(P), g(!0)), !1)
522
522
  ));
523
523
  }
524
524
  const y = io(k, 0);
@@ -596,7 +596,7 @@ function fl(e, n) {
596
596
  };
597
597
  e.querySelectorAll("a, img").forEach(l);
598
598
  }
599
- function Vt(e, n, l) {
599
+ function Tt(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]]);
@@ -661,7 +661,7 @@ const Jr = {
661
661
  }, el = {
662
662
  ...Jr,
663
663
  maxlength: [Number, String]
664
- }, Ll = ["update:modelValue", "clear", "focus", "blur"];
664
+ }, Rl = ["update:modelValue", "clear", "focus", "blur"];
665
665
  function Hl({ requiredForAttr: e = !0, tagProp: n, changeEvent: l = !1 } = {}) {
666
666
  const { props: t, proxy: a } = ke(), o = kt(t, a.$q), i = ro({
667
667
  required: e,
@@ -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
- ), A = s(
735
+ ), L = 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
@@ -749,17 +749,17 @@ function zl(e) {
749
749
  const F = {};
750
750
  return e.targetUid.value && (F.for = e.targetUid.value), n.disable === !0 && (F["aria-disabled"] = "true"), F;
751
751
  });
752
- function I() {
752
+ function P() {
753
753
  var ve;
754
754
  const F = document.activeElement;
755
755
  let $ = (ve = e.targetRef) == null ? void 0 : ve.value;
756
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(I);
759
+ Gn(P);
760
760
  }
761
- function L() {
762
- $r(I);
761
+ function H() {
762
+ $r(P);
763
763
  const F = document.activeElement;
764
764
  F !== null && e.rootRef.value.contains(F) && F.blur();
765
765
  }
@@ -781,7 +781,7 @@ function zl(e) {
781
781
  function V(F) {
782
782
  [13, 32].includes(F.keyCode) && M(F);
783
783
  }
784
- function P() {
784
+ function D() {
785
785
  const F = [];
786
786
  return t.prepend !== void 0 && F.push(
787
787
  h("div", {
@@ -794,16 +794,16 @@ function zl(e) {
794
794
  class: "q-field__control-container col relative-position row no-wrap q-anchor--skip"
795
795
  }, B())
796
796
  ), u.value === !0 && n.noErrorIcon === !1 && F.push(
797
- X("error", [
797
+ W("error", [
798
798
  h(Je, { name: i.iconSet.field.error, color: "negative" })
799
799
  ])
800
800
  ), n.loading === !0 || e.innerLoading.value === !0 ? F.push(
801
- X(
801
+ W(
802
802
  "inner-loading-append",
803
803
  t.loading !== void 0 ? t.loading() : [h(ao, { color: n.color })]
804
804
  )
805
805
  ) : n.clearable === !0 && e.hasValue.value === !0 && e.editable.value === !0 && F.push(
806
- X("inner-clearable-append", [
806
+ W("inner-clearable-append", [
807
807
  h(Je, {
808
808
  class: "q-field__focusable-action",
809
809
  name: n.clearIcon || i.iconSet.field.clear,
@@ -822,7 +822,7 @@ function zl(e) {
822
822
  onClick: et
823
823
  }, t.append())
824
824
  ), e.getInnerAppend !== void 0 && F.push(
825
- X("inner-append", e.getInnerAppend())
825
+ W("inner-append", e.getInnerAppend())
826
826
  ), e.getControlChild !== void 0 && F.push(
827
827
  e.getControlChild()
828
828
  ), F;
@@ -872,22 +872,22 @@ function zl(e) {
872
872
  }, t.counter !== void 0 ? t.counter() : e.computedCounter.value) : null
873
873
  ]);
874
874
  }
875
- function X(F, $) {
875
+ function W(F, $) {
876
876
  return $ === null ? null : h("div", {
877
877
  key: F,
878
878
  class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
879
879
  }, $);
880
880
  }
881
- let H = !1;
881
+ let A = !1;
882
882
  return Xn(() => {
883
- H = !0;
883
+ A = !0;
884
884
  }), eo(() => {
885
- H === !0 && n.autofocus === !0 && o.focus();
885
+ A === !0 && n.autofocus === !0 && o.focus();
886
886
  }), n.autofocus === !0 && Gt(() => {
887
887
  o.focus();
888
888
  }), je(() => {
889
889
  r !== null && clearTimeout(r);
890
- }), Object.assign(o, { focus: C, blur: L }), function() {
890
+ }), Object.assign(o, { focus: C, blur: H }), function() {
891
891
  const $ = e.getControl === void 0 && t.control === void 0 ? {
892
892
  ...e.splitAttrs.attributes.value,
893
893
  "data-autofocus": n.autofocus === !0 || void 0,
@@ -911,10 +911,10 @@ function zl(e) {
911
911
  }, [
912
912
  h("div", {
913
913
  ref: e.controlRef,
914
- class: A.value,
914
+ class: L.value,
915
915
  tabindex: -1,
916
916
  ...e.controlEvents
917
- }, P()),
917
+ }, D()),
918
918
  S.value === !0 ? z() : null
919
919
  ]),
920
920
  t.after !== void 0 ? h("div", {
@@ -959,7 +959,7 @@ function co(e) {
959
959
  function fo(e) {
960
960
  return new RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + e.join("") + "])|(.)", "g");
961
961
  }
962
- const _a = /[.*+?^${}()|[\]\\]/g, ei = fo(Gr), Re = "", ti = {
962
+ const _a = /[.*+?^${}()|[\]\\]/g, ei = fo(Gr), Le = "", ti = {
963
963
  mask: String,
964
964
  reverseFillMask: Boolean,
965
965
  fillMask: [Boolean, String],
@@ -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
- A(b.value, !0);
991
+ L(b.value, !0);
992
992
  else {
993
- const M = L(b.value);
993
+ const M = H(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 && A(b.value, !0);
997
+ v.value === !0 && L(b.value, !0);
998
998
  }), oe(() => e.unmaskedValue, () => {
999
- v.value === !0 && A(b.value);
999
+ v.value === !0 && L(b.value);
1000
1000
  });
1001
1001
  function S() {
1002
1002
  if (y(), v.value === !0) {
1003
- const T = I(L(e.modelValue));
1003
+ const T = P(H(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 P = V.indexOf(Re);
1013
- if (P !== -1) {
1012
+ const D = V.indexOf(Le);
1013
+ if (D !== -1) {
1014
1014
  for (let B = T - V.length; B > 0; B--)
1015
- M += Re;
1016
- V = V.slice(0, P) + M + V.slice(P);
1015
+ M += Le;
1016
+ V = V.slice(0, D) + M + V.slice(D);
1017
1017
  }
1018
1018
  return V;
1019
1019
  }
@@ -1022,21 +1022,21 @@ 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, "\\$&"), P = [], B = [], z = [];
1026
- let X = e.reverseFillMask === !0, H = "", F = "";
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, "\\$&"), D = [], B = [], z = [];
1026
+ let W = e.reverseFillMask === !0, A = "", 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), F = J.negate, X === !0 && (B.push("(?:" + F + "+)?(" + J.pattern + "+)?(?:" + F + "+)?(" + J.pattern + "+)?"), X = !1), B.push("(?:" + F + "+)?(" + J.pattern + ")?");
1030
+ z.push(J), F = J.negate, W === !0 && (B.push("(?:" + F + "+)?(" + J.pattern + "+)?(?:" + F + "+)?(" + J.pattern + "+)?"), W = !1), B.push("(?:" + F + "+)?(" + J.pattern + ")?");
1031
1031
  } else if (Y !== void 0)
1032
- H = "\\" + (Y === "\\" ? "" : Y), z.push(Y), P.push("([^" + H + "]+)?" + H + "?");
1032
+ A = "\\" + (Y === "\\" ? "" : Y), z.push(Y), D.push("([^" + A + "]+)?" + A + "?");
1033
1033
  else {
1034
1034
  const J = j !== void 0 ? j : le;
1035
- H = J === "\\" ? "\\\\\\\\" : J.replace(_a, "\\\\$&"), z.push(J), P.push("([^" + H + "]+)?" + H + "?");
1035
+ A = J === "\\" ? "\\\\\\\\" : J.replace(_a, "\\\\$&"), z.push(J), D.push("([^" + A + "]+)?" + A + "?");
1036
1036
  }
1037
1037
  });
1038
1038
  const $ = new RegExp(
1039
- "^" + P.join("") + "(" + (H === "" ? "." : "[^" + H + "]") + "+)?" + (H === "" ? "" : "[" + H + "]*") + "$"
1039
+ "^" + D.join("") + "(" + (A === "" ? "." : "[^" + A + "]") + "+)?" + (A === "" ? "" : "[" + A + "]*") + "$"
1040
1040
  ), ve = B.length - 1, q = B.map((_, j) => j === 0 && e.reverseFillMask === !0 ? new RegExp("^" + V + "*" + _) : j === ve ? new RegExp(
1041
1041
  "^" + _ + "(" + (F === "" ? "." : F) + "+)?" + (e.reverseFillMask === !0 ? "$" : V + "*")
1042
1042
  ) : new RegExp("^" + _));
@@ -1051,101 +1051,101 @@ function ni(e, n, l, t) {
1051
1051
  J = J.slice(ye.shift().length), Y.push(...ye);
1052
1052
  }
1053
1053
  return Y.length !== 0 ? Y.join("") : _;
1054
- }, a = z.map((_) => typeof _ == "string" ? _ : Re).join(""), o = a.split(Re).join(M);
1054
+ }, a = z.map((_) => typeof _ == "string" ? _ : Le).join(""), o = a.split(Le).join(M);
1055
1055
  }
1056
- function A(T, M, V) {
1057
- const P = t.value, B = P.selectionEnd, z = P.value.length - B, X = L(T);
1056
+ function L(T, M, V) {
1057
+ const D = t.value, B = D.selectionEnd, z = D.value.length - B, W = H(T);
1058
1058
  M === !0 && y();
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(() => {
1059
+ const A = P(W, M), F = e.fillMask !== !1 ? te(A) : A, $ = b.value !== F;
1060
+ D.value !== F && (D.value = F), $ === !0 && (b.value = F), document.activeElement === D && Be(() => {
1061
1061
  if (F === o) {
1062
1062
  const q = e.reverseFillMask === !0 ? o.length : 0;
1063
- P.setSelectionRange(q, q, "forward");
1063
+ D.setSelectionRange(q, q, "forward");
1064
1064
  return;
1065
1065
  }
1066
1066
  if (V === "insertFromPaste" && e.reverseFillMask !== !0) {
1067
- const q = P.selectionEnd;
1067
+ const q = D.selectionEnd;
1068
1068
  let _ = B - 1;
1069
1069
  for (let j = d; j <= _ && j < q; j++)
1070
- a[j] !== Re && _++;
1071
- x.right(P, _);
1070
+ a[j] !== Le && _++;
1071
+ x.right(D, _);
1072
1072
  return;
1073
1073
  }
1074
1074
  if (["deleteContentBackward", "deleteContentForward"].indexOf(V) !== -1) {
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");
1075
+ const q = e.reverseFillMask === !0 ? B === 0 ? F.length > A.length ? 1 : 0 : Math.max(0, F.length - (F === o ? 0 : Math.min(A.length, z) + 1)) + 1 : B;
1076
+ D.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, 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);
1081
+ const q = Math.max(0, F.length - (F === o ? 0 : Math.min(A.length, z + 1)));
1082
+ q === 1 && B === 1 ? D.setSelectionRange(q, q, "forward") : x.rightReverse(D, q);
1083
1083
  } else {
1084
1084
  const q = F.length - z;
1085
- P.setSelectionRange(q, q, "backward");
1085
+ D.setSelectionRange(q, q, "backward");
1086
1086
  }
1087
1087
  else if ($ === !0) {
1088
- const q = Math.max(0, a.indexOf(Re), Math.min(H.length, B) - 1);
1089
- x.right(P, q);
1088
+ const q = Math.max(0, a.indexOf(Le), Math.min(A.length, B) - 1);
1089
+ x.right(D, q);
1090
1090
  } else {
1091
1091
  const q = B - 1;
1092
- x.right(P, q);
1092
+ x.right(D, q);
1093
1093
  }
1094
1094
  });
1095
- const ve = e.unmaskedValue === !0 ? L(F) : F;
1095
+ const ve = e.unmaskedValue === !0 ? H(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 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");
1099
+ const D = P(H(T.value));
1100
+ M = Math.max(0, a.indexOf(Le), Math.min(D.length, M)), d = M, T.setSelectionRange(M, V, "forward");
1101
1101
  }
1102
1102
  const x = {
1103
1103
  left(T, M) {
1104
- const V = a.slice(M - 1).indexOf(Re) === -1;
1105
- let P = Math.max(0, M - 1);
1106
- for (; P >= 0; P--)
1107
- if (a[P] === Re) {
1108
- M = P, V === !0 && M++;
1104
+ const V = a.slice(M - 1).indexOf(Le) === -1;
1105
+ let D = Math.max(0, M - 1);
1106
+ for (; D >= 0; D--)
1107
+ if (a[D] === Le) {
1108
+ M = D, V === !0 && M++;
1109
1109
  break;
1110
1110
  }
1111
- if (P < 0 && a[M] !== void 0 && a[M] !== Re)
1111
+ if (D < 0 && a[M] !== void 0 && a[M] !== Le)
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 P = Math.min(V, M + 1);
1118
- for (; P <= V; P++)
1119
- if (a[P] === Re) {
1120
- M = P;
1117
+ let D = Math.min(V, M + 1);
1118
+ for (; D <= V; D++)
1119
+ if (a[D] === Le) {
1120
+ M = D;
1121
1121
  break;
1122
- } else a[P - 1] === Re && (M = P);
1123
- if (P > V && a[M - 1] !== void 0 && a[M - 1] !== Re)
1122
+ } else a[D - 1] === Le && (M = D);
1123
+ if (D > V && a[M - 1] !== void 0 && a[M - 1] !== Le)
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 P = Math.max(0, M - 1);
1130
- for (; P >= 0; P--)
1131
- if (V[P - 1] === Re) {
1132
- M = P;
1129
+ let D = Math.max(0, M - 1);
1130
+ for (; D >= 0; D--)
1131
+ if (V[D - 1] === Le) {
1132
+ M = D;
1133
1133
  break;
1134
- } else if (V[P] === Re && (M = P, P === 0))
1134
+ } else if (V[D] === Le && (M = D, D === 0))
1135
1135
  break;
1136
- if (P < 0 && V[M] !== void 0 && V[M] !== Re)
1136
+ if (D < 0 && V[M] !== void 0 && V[M] !== Le)
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, P = k(V), B = P.slice(0, M + 1).indexOf(Re) === -1;
1141
+ const V = T.value.length, D = k(V), B = D.slice(0, M + 1).indexOf(Le) === -1;
1142
1142
  let z = Math.min(V, M + 1);
1143
1143
  for (; z <= V; z++)
1144
- if (P[z - 1] === Re) {
1144
+ if (D[z - 1] === Le) {
1145
1145
  M = z, M > 0 && B === !0 && M--;
1146
1146
  break;
1147
1147
  }
1148
- if (z > V && P[M - 1] !== void 0 && P[M - 1] !== Re)
1148
+ if (z > V && D[M - 1] !== void 0 && D[M - 1] !== Le)
1149
1149
  return x.leftReverse(T, V);
1150
1150
  T.setSelectionRange(M, M, "forward");
1151
1151
  }
@@ -1155,52 +1155,52 @@ 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, P = M.selectionEnd;
1158
+ const M = t.value, V = M.selectionStart, D = 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 : P);
1160
+ T.shiftKey && c === void 0 && (c = M.selectionDirection === "forward" ? V : D);
1161
1161
  const B = x[(T.keyCode === 39 ? "right" : "left") + (e.reverseFillMask === !0 ? "Reverse" : "")];
1162
- if (T.preventDefault(), B(M, c === V ? P : V), T.shiftKey) {
1162
+ if (T.preventDefault(), B(M, c === V ? D : 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 === 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"));
1166
+ } else T.keyCode === 8 && e.reverseFillMask !== !0 && V === D ? (x.left(M, V), M.setSelectionRange(M.selectionStart, D, "backward")) : T.keyCode === 46 && e.reverseFillMask === !0 && V === D && (x.rightReverse(M, D), M.setSelectionRange(V, M.selectionEnd, "forward"));
1167
1167
  }
1168
- function I(T, M) {
1168
+ function P(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 P = 0, B = "";
1174
+ let D = 0, B = "";
1175
1175
  for (let z = 0; z < V.length; z++) {
1176
- const X = T[P], H = V[z];
1177
- if (typeof H == "string")
1178
- B += H, M === !0 && X === H && P++;
1179
- else if (X !== void 0 && H.regex.test(X))
1180
- B += H.transform !== void 0 ? H.transform(X) : X, P++;
1176
+ const W = T[D], A = V[z];
1177
+ if (typeof A == "string")
1178
+ B += A, M === !0 && W === A && D++;
1179
+ else if (W !== void 0 && A.regex.test(W))
1180
+ B += A.transform !== void 0 ? A.transform(W) : W, D++;
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, P = a.indexOf(Re);
1187
+ const V = i, D = a.indexOf(Le);
1188
1188
  let B = T.length - 1, z = "";
1189
- for (let X = V.length - 1; X >= 0 && B !== -1; X--) {
1190
- const H = V[X];
1189
+ for (let W = V.length - 1; W >= 0 && B !== -1; W--) {
1190
+ const A = V[W];
1191
1191
  let F = T[B];
1192
- if (typeof H == "string")
1193
- z = H + z, M === !0 && F === H && B--;
1194
- else if (F !== void 0 && H.regex.test(F))
1192
+ if (typeof A == "string")
1193
+ z = A + z, M === !0 && F === A && B--;
1194
+ else if (F !== void 0 && A.regex.test(F))
1195
1195
  do
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));
1196
+ z = (A.transform !== void 0 ? A.transform(F) : F) + z, B--, F = T[B];
1197
+ while (D === W && F !== void 0 && A.regex.test(F));
1198
1198
  else
1199
1199
  return z;
1200
1200
  }
1201
1201
  return z;
1202
1202
  }
1203
- function L(T) {
1203
+ function H(T) {
1204
1204
  return typeof T != "string" || r === void 0 ? typeof T == "number" ? r("" + T) : T : r(T);
1205
1205
  }
1206
1206
  function te(T) {
@@ -1210,7 +1210,7 @@ function ni(e, n, l, t) {
1210
1210
  innerValue: b,
1211
1211
  hasMask: v,
1212
1212
  moveCursorForPaste: R,
1213
- updateMaskValue: A,
1213
+ updateMaskValue: L,
1214
1214
  onMaskedKeydown: O,
1215
1215
  onMaskedClick: g
1216
1216
  };
@@ -1268,7 +1268,7 @@ function ho(e) {
1268
1268
  } else l.type === "compositionupdate" && l.target.qComposing !== !0 && typeof l.data == "string" && (ze.is.firefox === !0 ? ii.test(l.data) === !1 : ai.test(l.data) === !0 || oi.test(l.data) === !0 || ri.test(l.data) === !0) === !0 && (l.target.qComposing = !0);
1269
1269
  };
1270
1270
  }
1271
- const en = Oe({
1271
+ const en = Te({
1272
1272
  name: "QInput",
1273
1273
  inheritAttrs: !1,
1274
1274
  props: {
@@ -1289,7 +1289,7 @@ const en = Oe({
1289
1289
  inputStyle: [Array, String, Object]
1290
1290
  },
1291
1291
  emits: [
1292
- ...Ll,
1292
+ ...Rl,
1293
1293
  "paste",
1294
1294
  "change",
1295
1295
  "keydown",
@@ -1304,19 +1304,19 @@ const en = Oe({
1304
1304
  hasMask: S,
1305
1305
  moveCursorForPaste: k,
1306
1306
  updateMaskValue: y,
1307
- onMaskedKeydown: A,
1307
+ onMaskedKeydown: L,
1308
1308
  onMaskedClick: R
1309
- } = ni(e, n, X, v), x = li(
1309
+ } = ni(e, n, W, v), x = li(
1310
1310
  e
1311
- ), g = s(() => qn(w.value)), O = ho(B), I = Hl({ changeEvent: !0 }), C = s(
1311
+ ), g = s(() => qn(w.value)), O = ho(B), P = Hl({ changeEvent: !0 }), C = s(
1312
1312
  () => e.type === "textarea" || e.autogrow === !0
1313
- ), L = s(
1313
+ ), H = s(
1314
1314
  () => C.value === !0 || ["text", "search", "url", "tel", "password"].includes(e.type)
1315
1315
  ), te = s(() => {
1316
1316
  const _ = {
1317
- ...I.splitAttrs.listeners.value,
1317
+ ...P.splitAttrs.listeners.value,
1318
1318
  onInput: B,
1319
- onPaste: P,
1319
+ onPaste: D,
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
@@ -1325,7 +1325,7 @@ const en = Oe({
1325
1325
  onBlur: $,
1326
1326
  onFocus: rt
1327
1327
  };
1328
- return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = O, S.value === !0 && (_.onKeydown = A, _.onClick = R), e.autogrow === !0 && (_.onAnimationend = z), _;
1328
+ return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = O, S.value === !0 && (_.onKeydown = L, _.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
- ...I.splitAttrs.attributes.value,
1337
- id: I.targetUid.value,
1336
+ ...P.splitAttrs.attributes.value,
1337
+ id: P.targetUid.value,
1338
1338
  maxlength: e.maxlength,
1339
1339
  disabled: e.disable === !0,
1340
1340
  readonly: e.readonly === !0
@@ -1349,23 +1349,23 @@ const en = Oe({
1349
1349
  return;
1350
1350
  y(_);
1351
1351
  } else w.value !== _ && (w.value = _, e.type === "number" && o.hasOwnProperty("value") === !0 && (r === !0 ? r = !1 : delete o.value));
1352
- e.autogrow === !0 && Be(H);
1352
+ e.autogrow === !0 && Be(A);
1353
1353
  }), oe(() => e.autogrow, (_) => {
1354
- _ === !0 ? Be(H) : v.value !== null && l.rows > 0 && (v.value.style.height = "auto");
1354
+ _ === !0 ? Be(A) : v.value !== null && l.rows > 0 && (v.value.style.height = "auto");
1355
1355
  }), oe(() => e.dense, () => {
1356
- e.autogrow === !0 && Be(H);
1356
+ e.autogrow === !0 && Be(A);
1357
1357
  });
1358
1358
  function M() {
1359
1359
  Gn(() => {
1360
1360
  const _ = document.activeElement;
1361
- v.value !== null && v.value !== _ && (_ === null || _.id !== I.targetUid.value) && v.value.focus({ preventScroll: !0 });
1361
+ v.value !== null && v.value !== _ && (_ === null || _.id !== P.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 P(_) {
1368
+ function D(_) {
1369
1369
  if (S.value === !0 && e.reverseFillMask !== !0) {
1370
1370
  const j = _.target;
1371
1371
  k(j, j.selectionStart, j.selectionEnd);
@@ -1385,25 +1385,25 @@ const en = Oe({
1385
1385
  }
1386
1386
  if (S.value === !0)
1387
1387
  y(j, !1, _.inputType);
1388
- else if (X(j), L.value === !0 && _.target === document.activeElement) {
1388
+ else if (W(j), H.value === !0 && _.target === document.activeElement) {
1389
1389
  const { selectionStart: Y, selectionEnd: ne } = _.target;
1390
1390
  Y !== void 0 && ne !== void 0 && Be(() => {
1391
1391
  _.target === document.activeElement && j.indexOf(_.target.value) === 0 && _.target.setSelectionRange(Y, ne);
1392
1392
  });
1393
1393
  }
1394
- e.autogrow === !0 && H();
1394
+ e.autogrow === !0 && A();
1395
1395
  }
1396
1396
  function z(_) {
1397
- n("animationend", _), H();
1397
+ n("animationend", _), A();
1398
1398
  }
1399
- function X(_, j) {
1399
+ function W(_, j) {
1400
1400
  u = () => {
1401
1401
  c = null, e.type !== "number" && o.hasOwnProperty("value") === !0 && delete o.value, e.modelValue !== _ && i !== _ && (i = _, j === !0 && (d = !0), n("update:modelValue", _), Be(() => {
1402
1402
  i === _ && (i = NaN);
1403
1403
  })), u = void 0;
1404
1404
  }, e.type === "number" && (r = !0, o.value = _), e.debounce !== void 0 ? (c !== null && clearTimeout(c), o.value = _, c = setTimeout(u, e.debounce)) : u();
1405
1405
  }
1406
- function H() {
1406
+ function A() {
1407
1407
  requestAnimationFrame(() => {
1408
1408
  const _ = v.value;
1409
1409
  if (_ !== null) {
@@ -1426,8 +1426,8 @@ const en = Oe({
1426
1426
  je(() => {
1427
1427
  $();
1428
1428
  }), Gt(() => {
1429
- e.autogrow === !0 && H();
1430
- }), Object.assign(I, {
1429
+ e.autogrow === !0 && A();
1430
+ }), Object.assign(P, {
1431
1431
  innerValue: w,
1432
1432
  fieldClass: s(
1433
1433
  () => `q-${C.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")
@@ -1436,7 +1436,7 @@ const en = Oe({
1436
1436
  () => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0
1437
1437
  ),
1438
1438
  inputRef: v,
1439
- emitValue: X,
1439
+ emitValue: W,
1440
1440
  hasValue: g,
1441
1441
  floatingLabel: s(
1442
1442
  () => g.value === !0 && (e.type !== "number" || isNaN(w.value) === !1) || qn(e.displayValue)
@@ -1459,7 +1459,7 @@ const en = Oe({
1459
1459
  h("span", e.shadowText)
1460
1460
  ])
1461
1461
  });
1462
- const q = zl(I);
1462
+ const q = zl(P);
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), A = s(
1516
+ })), y = s(() => !!u.value.prependIcon), L = 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: A, 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: L, get QInput() {
1519
1519
  return en;
1520
1520
  }, get QIcon() {
1521
1521
  return Je;
@@ -1549,7 +1549,7 @@ function ci(e, n, l, t, a, o) {
1549
1549
  name: "label",
1550
1550
  fn: de(() => [
1551
1551
  Ke(
1552
- Te(t.label) + " ",
1552
+ Oe(t.label) + " ",
1553
1553
  1
1554
1554
  /* TEXT */
1555
1555
  ),
@@ -1647,7 +1647,7 @@ function vi(e, n, l, t, a, o) {
1647
1647
  name: "label",
1648
1648
  fn: de(() => [
1649
1649
  Ke(
1650
- Te(t.label) + " ",
1650
+ Oe(t.label) + " ",
1651
1651
  1
1652
1652
  /* TEXT */
1653
1653
  ),
@@ -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((P) => an(P) === V) : -1;
1721
+ return b.value === !0 ? l.modelValue.findIndex((D) => an(D) === 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
- ), A = s(() => l.disable === !0 ? -1 : l.tabindex || 0), R = s(
1724
+ ), L = 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", 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}`;
1727
+ const V = S.value === !0 ? "truthy" : k.value === !0 ? "falsy" : "indet", D = 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}${D}`;
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), I = s(() => {
1738
+ }), O = Ql(g), P = s(() => {
1739
1739
  const V = {
1740
- tabindex: A.value,
1740
+ tabindex: L.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,9 +1745,9 @@ 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 && (Pe(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", H(), V);
1749
1749
  }
1750
- function L() {
1750
+ function H() {
1751
1751
  if (b.value === !0) {
1752
1752
  if (S.value === !0) {
1753
1753
  const V = l.modelValue.slice();
@@ -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 P = [
1782
+ const D = [
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 && P.push(c.value);
1789
+ c.value !== null && D.push(c.value);
1790
1790
  const B = l.label !== void 0 ? Kt(t.default, [l.label]) : Ue(t.default);
1791
- return B !== void 0 && P.push(
1791
+ return B !== void 0 && D.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
- ...I.value,
1798
+ ...P.value,
1799
1799
  onClick: C,
1800
1800
  onKeydown: te,
1801
1801
  onKeyup: T
1802
- }, P);
1802
+ }, D);
1803
1803
  };
1804
1804
  }
1805
1805
  const wi = () => h("div", {
@@ -1820,7 +1820,7 @@ const wi = () => h("div", {
1820
1820
  d: "M4,14H20V10H4"
1821
1821
  })
1822
1822
  ])
1823
- ]), _i = Oe({
1823
+ ]), _i = Te({
1824
1824
  name: "QCheckbox",
1825
1825
  props: yi,
1826
1826
  emits: bi,
@@ -1889,7 +1889,7 @@ function xi(e, n, l, t, a, o) {
1889
1889
  }, t.quasarProps), {
1890
1890
  default: de(() => [
1891
1891
  Ke(
1892
- Te(t.label) + " ",
1892
+ Oe(t.label) + " ",
1893
1893
  1
1894
1894
  /* TEXT */
1895
1895
  ),
@@ -1901,13 +1901,13 @@ function xi(e, n, l, t, a, o) {
1901
1901
  t.errorMessage ? (re(), ge(
1902
1902
  "div",
1903
1903
  qi,
1904
- Te(t.errorMessage),
1904
+ Oe(t.errorMessage),
1905
1905
  1
1906
1906
  /* TEXT */
1907
1907
  )) : he("v-if", !0)
1908
1908
  ]);
1909
1909
  }
1910
- const Ci = /* @__PURE__ */ lt(ki, [["render", xi], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarBooleanField.vue"]]), Mi = Oe({
1910
+ const Ci = /* @__PURE__ */ lt(ki, [["render", xi], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarBooleanField.vue"]]), Mi = Te({
1911
1911
  name: "QField",
1912
1912
  inheritAttrs: !1,
1913
1913
  props: {
@@ -1917,7 +1917,7 @@ const Ci = /* @__PURE__ */ lt(ki, [["render", xi], ["__file", "/Users/zachsherbo
1917
1917
  default: "label"
1918
1918
  }
1919
1919
  },
1920
- emits: Ll,
1920
+ emits: Rl,
1921
1921
  setup() {
1922
1922
  return zl(
1923
1923
  Hl({ tagProp: !0 })
@@ -1950,7 +1950,7 @@ function go(e, n) {
1950
1950
  return !0;
1951
1951
  return !1;
1952
1952
  }
1953
- function Vi(e, n = 250) {
1953
+ function Ti(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`, A = `${(b - w) / 2}px`, R = o ? A : `${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`, L = `${(b - w) / 2}px`, R = o ? L : `${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},${A},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},${L},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);
@@ -1992,7 +1992,7 @@ function Sa(e, { modifiers: n, value: l, arg: t }) {
1992
1992
  keyCodes: [].concat(a.keyCodes || 13)
1993
1993
  };
1994
1994
  }
1995
- const yo = Rl(
1995
+ const yo = Ll(
1996
1996
  {
1997
1997
  name: "ripple",
1998
1998
  beforeMount(e, n) {
@@ -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: Vi((a) => {
2009
+ keystart: Ti((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, Vt(t, "main", [
2013
+ Sa(t, n), e.__qripple = t, Tt(t, "main", [
2014
2014
  [e, "pointerdown", "start", "passive"],
2015
2015
  [e, "click", "start", "passive"],
2016
2016
  [e, "keydown", "keystart", "passive"],
@@ -2030,13 +2030,13 @@ const yo = Rl(
2030
2030
  }), Wt(n, "main"), delete e._qripple);
2031
2031
  }
2032
2032
  }
2033
- ), Ti = {
2033
+ ), Vi = {
2034
2034
  xs: 8,
2035
2035
  sm: 10,
2036
2036
  md: 14,
2037
2037
  lg: 20,
2038
2038
  xl: 24
2039
- }, Ei = Oe({
2039
+ }, Ei = Te({
2040
2040
  name: "QChip",
2041
2041
  props: {
2042
2042
  ..._t,
@@ -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, 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(
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(
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 }, A = {
2080
+ const y = e.disable === !0 ? { tabindex: -1, "aria-disabled": "true" } : { tabindex: e.tabindex || 0 }, L = {
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: A };
2086
+ return { chip: y, remove: L };
2087
2087
  });
2088
2088
  function b(y) {
2089
2089
  y.keyCode === 13 && w(y);
@@ -2104,11 +2104,11 @@ const yo = Rl(
2104
2104
  name: r.value
2105
2105
  })
2106
2106
  );
2107
- const A = e.label !== void 0 ? [h("div", { class: "ellipsis" }, [e.label])] : void 0;
2107
+ const L = 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, A))
2111
+ }, xr(n.default, L))
2112
2112
  ), e.iconRight && y.push(
2113
2113
  h(Je, {
2114
2114
  class: "q-chip__icon q-chip__icon--right",
@@ -2228,29 +2228,29 @@ 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: I } = O, C = O[I - 1];
2231
+ const { matched: O } = c.value, { length: P } = O, C = O[P - 1];
2232
2232
  if (C === void 0)
2233
2233
  return -1;
2234
- const L = a.$route.matched;
2235
- if (L.length === 0)
2234
+ const H = a.$route.matched;
2235
+ if (H.length === 0)
2236
2236
  return -1;
2237
- const te = L.findIndex(
2237
+ const te = H.findIndex(
2238
2238
  xa.bind(null, C)
2239
2239
  );
2240
2240
  if (te !== -1)
2241
2241
  return te;
2242
- const T = qa(O[I - 2]);
2242
+ const T = qa(O[P - 2]);
2243
2243
  return (
2244
2244
  // we are dealing with nested routes
2245
- I > 1 && qa(C) === T && L[L.length - 1].path !== T ? L.findIndex(
2246
- xa.bind(null, O[I - 2])
2245
+ P > 1 && qa(C) === T && H[H.length - 1].path !== T ? H.findIndex(
2246
+ xa.bind(null, O[P - 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
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}` : "" : "");
2253
+ ), L = 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: I, to: C = t.to, replace: L = t.replace } = {}) {
2261
+ function x(O, { returnRouterError: P, to: C = t.to, replace: H = t.replace } = {}) {
2262
2262
  if (t.disable === !0)
2263
2263
  return O.preventDefault(), Promise.resolve(!1);
2264
2264
  if (
@@ -2268,15 +2268,15 @@ function wo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2268
2268
  )
2269
2269
  return Promise.resolve(!1);
2270
2270
  O.preventDefault();
2271
- const te = a.$router[L === !0 ? "replace" : "push"](C);
2272
- return I === !0 ? te : te.then(() => {
2271
+ const te = a.$router[H === !0 ? "replace" : "push"](C);
2272
+ return P === !0 ? te : te.then(() => {
2273
2273
  }).catch(() => {
2274
2274
  });
2275
2275
  }
2276
2276
  function g(O) {
2277
2277
  if (u.value === !0) {
2278
- const I = (C) => x(O, C);
2279
- o("click", O, I), O.defaultPrevented !== !0 && I();
2278
+ const P = (C) => x(O, C);
2279
+ o("click", O, P), O.defaultPrevented !== !0 && P();
2280
2280
  } else
2281
2281
  o("click", O);
2282
2282
  }
@@ -2288,14 +2288,14 @@ function wo({ fallbackTag: e, useDisableForRouterLinkProps: n = !0 } = {}) {
2288
2288
  resolvedLink: c,
2289
2289
  linkIsActive: k,
2290
2290
  linkIsExactActive: y,
2291
- linkClass: A,
2291
+ linkClass: L,
2292
2292
  linkAttrs: w,
2293
2293
  getLink: R,
2294
2294
  navigateToRouterLink: x,
2295
2295
  navigateOnClick: g
2296
2296
  };
2297
2297
  }
2298
- const _o = Oe({
2298
+ const _o = Te({
2299
2299
  name: "QItem",
2300
2300
  props: {
2301
2301
  ..._t,
@@ -2329,7 +2329,7 @@ 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 A(x) {
2332
+ function L(x) {
2333
2333
  if (w.value === !0 && It(x, [13, 32]) === !0) {
2334
2334
  Pe(x), x.qKeyEvent = !0;
2335
2335
  const g = new MouseEvent("click", x);
@@ -2350,7 +2350,7 @@ const _o = Oe({
2350
2350
  style: k.value,
2351
2351
  role: "listitem",
2352
2352
  onClick: y,
2353
- onKeyup: A
2353
+ onKeyup: L
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,
@@ -2359,7 +2359,7 @@ const _o = Oe({
2359
2359
  );
2360
2360
  };
2361
2361
  }
2362
- }), Dn = Oe({
2362
+ }), Dn = Te({
2363
2363
  name: "QItemSection",
2364
2364
  props: {
2365
2365
  avatar: Boolean,
@@ -2374,7 +2374,7 @@ const _o = Oe({
2374
2374
  );
2375
2375
  return () => h("div", { class: l.value }, Ue(n.default));
2376
2376
  }
2377
- }), Vl = Oe({
2377
+ }), Tl = Te({
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
- Vt(c, "anchor", [
2450
+ Tt(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
- ], Vt(c, "anchor", S);
2473
+ ], Tt(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 A = { show: b, hide: S, toggle: v };
2593
- return Object.assign(c, A), A;
2592
+ const L = { show: b, hide: S, toggle: v };
2593
+ return Object.assign(c, L), L;
2594
2594
  }
2595
2595
  const Ma = {};
2596
2596
  let Di = 1, Ii = document.body;
@@ -2602,11 +2602,11 @@ function Ai(e, n) {
2602
2602
  }
2603
2603
  return Ii.appendChild(l), l;
2604
2604
  }
2605
- function Ri(e) {
2605
+ function Li(e) {
2606
2606
  e.remove();
2607
2607
  }
2608
2608
  const dn = [];
2609
- function Li(e) {
2609
+ function Ri(e) {
2610
2610
  return dn.find(
2611
2611
  (n) => n.contentEl !== null && n.contentEl.contains(e)
2612
2612
  );
@@ -2635,7 +2635,7 @@ function Hi(e, n, l) {
2635
2635
  e = Pn(e);
2636
2636
  }
2637
2637
  }
2638
- const zi = Oe({
2638
+ const zi = Te({
2639
2639
  name: "QPortal",
2640
2640
  setup(e, { slots: n }) {
2641
2641
  return () => n.default();
@@ -2666,7 +2666,7 @@ function Ul(e, n, l, t) {
2666
2666
  if (o.value = !1, v !== !0) return;
2667
2667
  ba(r), a.value = !1;
2668
2668
  const b = dn.indexOf(e.proxy);
2669
- b !== -1 && dn.splice(b, 1), i !== null && (Ri(i), i = null);
2669
+ b !== -1 && dn.splice(b, 1), i !== null && (Li(i), i = null);
2670
2670
  }
2671
2671
  return gr(() => {
2672
2672
  u(!0);
@@ -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 Tn;
2760
+ let Vn;
2761
2761
  function Ki() {
2762
- if (Tn !== void 0)
2763
- return Tn;
2762
+ if (Vn !== void 0)
2763
+ return Vn;
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(), Tn = l - t, Tn;
2780
+ return l === t && (t = n.clientWidth), n.remove(), Vn = l - t, Vn;
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 Vo(e) {
2799
+ function To(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 To(e) {
2807
+ function Vo(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", To));
2811
+ ze.is.desktop === !0 && (Zt.push(e), Zt.length === 1 && document.body.addEventListener("focusin", Vo));
2812
2812
  }
2813
- function Tl(e) {
2813
+ function Vl(e) {
2814
2814
  const n = Zt.indexOf(e);
2815
- n !== -1 && (Zt.splice(n, 1), Zt.length === 0 && document.body.removeEventListener("focusin", To));
2815
+ n !== -1 && (Zt.splice(n, 1), Zt.length === 0 && document.body.removeEventListener("focusin", Vo));
2816
2816
  }
2817
2817
  const { notPassiveCapture: jn } = $e, $t = [];
2818
2818
  function Qn(e) {
@@ -2845,7 +2845,7 @@ 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, Va;
2848
+ let Oa, Ta;
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;
@@ -2905,7 +2905,7 @@ function Gi(e, n) {
2905
2905
  right: e
2906
2906
  };
2907
2907
  }
2908
- function Ta(e, n, l, t) {
2908
+ function Va(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 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);
2935
+ const P = document.body.style, { offsetLeft: C, offsetTop: H } = window.visualViewport;
2936
+ C !== Oa && (P.setProperty("--q-pe-left", C + "px"), Oa = C), H !== Ta && (P.setProperty("--q-pe-top", H + "px"), Ta = H);
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,28 +2945,28 @@ function $l(e, n = 0) {
2945
2945
  maxHeight: u,
2946
2946
  visibility: "visible"
2947
2947
  });
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 };
2948
+ const { offsetWidth: k, offsetHeight: y } = l, { elWidth: L, 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(A, R);
2952
- let O = Ta(S, g, o, i);
2951
+ const g = Gi(L, R);
2952
+ let O = Va(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: I, left: C } = O;
2956
+ const { top: P, left: C } = O;
2957
2957
  vl(O, S, g, o, i);
2958
- let L = !1;
2959
- if (O.top !== I) {
2960
- L = !0;
2958
+ let H = !1;
2959
+ if (O.top !== P) {
2960
+ H = !0;
2961
2961
  const te = 2 * t[1];
2962
2962
  S.center = S.top -= te, S.bottom -= te + 2;
2963
2963
  }
2964
2964
  if (O.left !== C) {
2965
- L = !0;
2965
+ H = !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 = Ta(S, g, o, i), vl(O, S, g, o, i));
2969
+ H === !0 && (O = Va(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 Po = Oe({
3007
+ const Po = Te({
3008
3008
  name: "QMenu",
3009
3009
  inheritAttrs: !1,
3010
3010
  props: {
@@ -3054,14 +3054,14 @@ const Po = 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: 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({
3057
+ ), S = kt(e, u), { registerTick: k, removeTick: y } = Xl(), { registerTimeout: L } = Zl(), { transitionProps: R, transitionStyle: x } = Wl(e), { localScrollTarget: g, changeScrollEvent: O, unconfigureScrollTarget: P } = qo(e, j), { anchorEl: C, canShow: H } = Kl({ showing: b }), { hide: te } = ll({
3058
3058
  showing: b,
3059
- canShow: L,
3059
+ canShow: H,
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"), P = {
3064
+ }), { showPortal: T, hidePortal: M, renderPortal: V } = Ul(d, v, ye, "menu"), D = {
3065
3065
  anchorEl: C,
3066
3066
  innerRef: v,
3067
3067
  onClickOutside(N) {
@@ -3074,13 +3074,13 @@ const Po = Oe({
3074
3074
  e.anchor || (e.cover === !0 ? "center middle" : "bottom start"),
3075
3075
  u.lang.rtl
3076
3076
  )
3077
- ), z = s(() => e.cover === !0 ? B.value : Kn(e.self || "top start", u.lang.rtl)), X = s(
3077
+ ), z = s(() => e.cover === !0 ? B.value : Kn(e.self || "top start", u.lang.rtl)), W = 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 } : {}), F = s(
3079
+ ), A = s(() => e.autoClose === !0 ? { onClick: Y } : {}), F = s(
3080
3080
  () => b.value === !0 && e.persistent !== !0
3081
3081
  );
3082
3082
  oe(F, (N) => {
3083
- N === !0 ? (Vo(le), Bo(P)) : (zn(le), Nn(P));
3083
+ N === !0 ? (To(le), Bo(D)) : (zn(le), Nn(D));
3084
3084
  });
3085
3085
  function $() {
3086
3086
  Gn(() => {
@@ -3101,18 +3101,18 @@ const Po = Oe({
3101
3101
  J
3102
3102
  )), e.noFocus !== !0 && document.activeElement.blur(), k(() => {
3103
3103
  J(), e.noFocus !== !0 && $();
3104
- }), A(() => {
3104
+ }), L(() => {
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), A(() => {
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), L(() => {
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) && (Tl(ne), I(), Nn(P), zn(le)), N !== !0 && (a = null);
3115
+ o = void 0, i !== void 0 && (i(), i = void 0), (N === !0 || b.value === !0) && (Vl(ne), P(), Nn(D), 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));
@@ -3150,14 +3150,14 @@ const Po = Oe({
3150
3150
  ref: v,
3151
3151
  tabindex: -1,
3152
3152
  class: [
3153
- "q-menu q-position-engine scroll" + X.value,
3153
+ "q-menu q-position-engine scroll" + W.value,
3154
3154
  t.class
3155
3155
  ],
3156
3156
  style: [
3157
3157
  t.style,
3158
3158
  x.value
3159
3159
  ],
3160
- ...H.value
3160
+ ...A.value
3161
3161
  }, Ue(n.default)) : null
3162
3162
  );
3163
3163
  }
@@ -3248,7 +3248,7 @@ const ou = {
3248
3248
  bottom: ["slide-up", "slide-down"],
3249
3249
  right: ["slide-left", "slide-right"],
3250
3250
  left: ["slide-right", "slide-left"]
3251
- }, Do = Oe({
3251
+ }, Do = Te({
3252
3252
  name: "QDialog",
3253
3253
  inheritAttrs: !1,
3254
3254
  props: {
@@ -3290,19 +3290,19 @@ 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: A, transitionStyle: R } = Wl(
3293
+ ), { preventBodyScroll: w } = au(), { registerTimeout: S } = Zl(), { registerTick: k, removeTick: y } = Xl(), { transitionProps: L, 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: I, 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: P, renderPortal: C } = Ul(
3298
3298
  a,
3299
3299
  o,
3300
3300
  j,
3301
3301
  "dialog"
3302
- ), { hide: L } = ll({
3302
+ ), { hide: H } = ll({
3303
3303
  showing: i,
3304
3304
  hideOnRouteChange: b,
3305
- handleShow: P,
3305
+ handleShow: D,
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(_), Vo(H)) : (Tl(_), zn(H));
3319
+ w(Y), Y === !0 ? (Eo(_), To(A)) : (Vl(_), zn(A));
3320
3320
  });
3321
- function P(Y) {
3321
+ function D(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) {
@@ -3354,35 +3354,35 @@ const ou = {
3354
3354
  }
3355
3355
  });
3356
3356
  }
3357
- function X(Y) {
3357
+ function W(Y) {
3358
3358
  Y && typeof Y.focus == "function" ? Y.focus({ preventScroll: !0 }) : z(), l("shake");
3359
3359
  const ne = o.value;
3360
3360
  ne !== null && (ne.classList.remove("q-animate--scale"), ne.classList.add("q-animate--scale"), d !== null && clearTimeout(d), d = setTimeout(() => {
3361
3361
  d = null, o.value !== null && (ne.classList.remove("q-animate--scale"), z());
3362
3362
  }, 170));
3363
3363
  }
3364
- function H() {
3365
- e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && X() : (l("escapeKey"), L()));
3364
+ function A() {
3365
+ e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && W() : (l("escapeKey"), H()));
3366
3366
  }
3367
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);
3368
+ d !== null && (clearTimeout(d), d = null), (Y === !0 || i.value === !0) && ($(!1), e.seamless !== !0 && (w(!1), Vl(_), zn(A))), 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);
3372
3372
  }
3373
3373
  function ve(Y) {
3374
- v !== !0 && (L(Y), l("click", Y));
3374
+ v !== !0 && (H(Y), l("click", Y));
3375
3375
  }
3376
3376
  function q(Y) {
3377
- e.persistent !== !0 && e.noBackdropDismiss !== !0 ? L(Y) : e.noShake !== !0 && X();
3377
+ e.persistent !== !0 && e.noBackdropDismiss !== !0 ? H(Y) : e.noShake !== !0 && W();
3378
3378
  }
3379
3379
  function _(Y) {
3380
- e.allowFocusOutside !== !0 && I.value === !0 && go(o.value, Y.target) !== !0 && z('[tabindex]:not([tabindex="-1"])');
3380
+ e.allowFocusOutside !== !0 && P.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
3384
3384
  focus: z,
3385
- shake: X,
3385
+ shake: W,
3386
3386
  // private but needed by QSelect
3387
3387
  __updateRefocusTarget(Y) {
3388
3388
  c = Y || null;
@@ -3407,7 +3407,7 @@ const ou = {
3407
3407
  }) : null),
3408
3408
  h(
3409
3409
  it,
3410
- A.value,
3410
+ L.value,
3411
3411
  () => i.value === !0 ? h("div", {
3412
3412
  ref: o,
3413
3413
  class: te.value,
@@ -3513,7 +3513,7 @@ const uu = {
3513
3513
  default: 0
3514
3514
  },
3515
3515
  tableColspan: [Number, String]
3516
- }, Ra = {
3516
+ }, La = {
3517
3517
  virtualScrollHorizontal: Boolean,
3518
3518
  onVirtualScroll: Function,
3519
3519
  ...uu
@@ -3527,15 +3527,15 @@ 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({}), A = 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({}), L = 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 I = s(() => t.value + ";" + o.virtualScrollHorizontal), C = s(
3533
- () => I.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3532
+ const P = s(() => t.value + ";" + o.virtualScrollHorizontal), C = s(
3533
+ () => P.value + ";" + o.virtualScrollSliceRatioBefore + ";" + o.virtualScrollSliceRatioAfter
3534
3534
  );
3535
3535
  oe(C, () => {
3536
- X();
3537
- }), oe(I, L);
3538
- function L() {
3536
+ W();
3537
+ }), oe(P, H);
3538
+ function H() {
3539
3539
  z(u, !0);
3540
3540
  }
3541
3541
  function te(q) {
@@ -3547,14 +3547,14 @@ function su({
3547
3547
  const Y = yl(
3548
3548
  j,
3549
3549
  l(),
3550
- A.value,
3550
+ L.value,
3551
3551
  R.value,
3552
3552
  o.virtualScrollHorizontal,
3553
3553
  d.lang.rtl,
3554
3554
  o.virtualScrollStickySizeStart,
3555
3555
  o.virtualScrollStickySizeEnd
3556
3556
  );
3557
- v !== Y.scrollViewSize && X(Y.scrollViewSize), V(
3557
+ v !== Y.scrollViewSize && W(Y.scrollViewSize), V(
3558
3558
  j,
3559
3559
  Y,
3560
3560
  Math.min(e.value - 1, Math.max(0, parseInt(q, 10) || 0)),
@@ -3568,7 +3568,7 @@ function su({
3568
3568
  const _ = yl(
3569
3569
  q,
3570
3570
  l(),
3571
- A.value,
3571
+ L.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), P(g.value.from);
3583
+ v !== _.scrollViewSize && W(_.scrollViewSize), D(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(
@@ -3628,12 +3628,12 @@ function su({
3628
3628
  }
3629
3629
  requestAnimationFrame(() => {
3630
3630
  if (c !== _.scrollStart) return;
3631
- we === !0 && P(N);
3632
- const dt = w.slice(N, j).reduce(fn, 0), Ge = dt + _.offsetStart + S.value, Le = Ge + w[j];
3631
+ we === !0 && D(N);
3632
+ const dt = w.slice(N, j).reduce(fn, 0), Ge = dt + _.offsetStart + S.value, Re = Ge + w[j];
3633
3633
  let qt = Ge + Y;
3634
3634
  if (J !== void 0) {
3635
- const Rt = dt - yt, ft = _.scrollStart + Rt;
3636
- qt = le !== !0 && ft < Ge && Le < ft + _.scrollViewSize ? ft : J === "end" ? Le - _.scrollViewSize : Ge - (J === "start" ? 0 : Math.round((_.scrollViewSize - w[j]) / 2));
3635
+ const Lt = dt - yt, ft = _.scrollStart + Lt;
3636
+ qt = le !== !0 && ft < Ge && Re < ft + _.scrollViewSize ? ft : J === "end" ? Re - _.scrollViewSize : Ge - (J === "start" ? 0 : Math.round((_.scrollViewSize - w[j]) / 2));
3637
3637
  }
3638
3638
  c = qt, Aa(
3639
3639
  q,
@@ -3643,7 +3643,7 @@ function su({
3643
3643
  ), F(j);
3644
3644
  });
3645
3645
  }
3646
- function P(q) {
3646
+ function D(q) {
3647
3647
  const _ = x.value;
3648
3648
  if (_) {
3649
3649
  const j = Io.call(
@@ -3678,17 +3678,17 @@ 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 ? (P(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 ? (D(g.value.from), Be(() => {
3682
3682
  T(q);
3683
3683
  })) : $();
3684
3684
  }
3685
- function X(q) {
3685
+ function W(q) {
3686
3686
  if (q === void 0 && typeof window < "u") {
3687
3687
  const J = n();
3688
3688
  J != null && J.nodeType !== 8 && (q = yl(
3689
3689
  J,
3690
3690
  l(),
3691
- A.value,
3691
+ L.value,
3692
3692
  R.value,
3693
3693
  o.virtualScrollHorizontal,
3694
3694
  d.lang.rtl,
@@ -3710,7 +3710,7 @@ function su({
3710
3710
  view: ne
3711
3711
  };
3712
3712
  }
3713
- function H(q, _) {
3713
+ function A(q, _) {
3714
3714
  const j = o.virtualScrollHorizontal === !0 ? "width" : "height", Y = {
3715
3715
  ["--q-virtual-scroll-item-" + j]: t.value + "px"
3716
3716
  };
@@ -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: A
3721
+ ref: L
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: A,
3732
+ ref: L,
3733
3733
  style: { [j]: `${S.value}px`, ...Y }
3734
3734
  }),
3735
3735
  h(q, {
@@ -3766,13 +3766,13 @@ function su({
3766
3766
  ref: r
3767
3767
  }), u = q);
3768
3768
  }
3769
- X();
3769
+ W();
3770
3770
  const $ = io(
3771
3771
  M,
3772
3772
  d.platform.is.ios === !0 ? 120 : 35
3773
3773
  );
3774
3774
  br(() => {
3775
- X();
3775
+ W();
3776
3776
  });
3777
3777
  let ve = !1;
3778
3778
  return Xn(() => {
@@ -3788,15 +3788,15 @@ function su({
3788
3788
  ) : T(u);
3789
3789
  }), je(() => {
3790
3790
  $.cancel();
3791
- }), Object.assign(r, { scrollTo: T, reset: L, refresh: te }), {
3791
+ }), Object.assign(r, { scrollTo: T, reset: H, refresh: te }), {
3792
3792
  virtualScrollSliceRange: g,
3793
3793
  virtualScrollSliceSizeComputed: y,
3794
- setVirtualScrollSize: X,
3794
+ setVirtualScrollSize: W,
3795
3795
  onVirtualScrollEvt: $,
3796
3796
  localResetVirtualScroll: z,
3797
- padVirtualScroll: H,
3797
+ padVirtualScroll: A,
3798
3798
  scrollTo: T,
3799
- reset: L,
3799
+ reset: H,
3800
3800
  refresh: te
3801
3801
  };
3802
3802
  }
@@ -3871,7 +3871,7 @@ function Pt(e, n) {
3871
3871
  function cu(e) {
3872
3872
  return e !== null && typeof e == "object" && Array.isArray(e) !== !0;
3873
3873
  }
3874
- function La(e, n, l) {
3874
+ function Ra(e, n, l) {
3875
3875
  if (l <= n)
3876
3876
  return n;
3877
3877
  const t = l - n + 1;
@@ -3890,11 +3890,11 @@ function bl(e, n) {
3890
3890
  const l = e !== void 0 ? e : n;
3891
3891
  return (t) => t !== null && typeof t == "object" && l in t ? t[l] : t;
3892
3892
  }
3893
- const Jl = Oe({
3893
+ const Jl = Te({
3894
3894
  name: "QSelect",
3895
3895
  inheritAttrs: !1,
3896
3896
  props: {
3897
- ...Ra,
3897
+ ...La,
3898
3898
  ...xn,
3899
3899
  ...el,
3900
3900
  // override of useFieldProps > modelValue
@@ -3960,12 +3960,12 @@ const Jl = Oe({
3960
3960
  default: "default"
3961
3961
  },
3962
3962
  // override of useVirtualScrollProps > virtualScrollItemSize (no default)
3963
- virtualScrollItemSize: Ra.virtualScrollItemSize.type,
3963
+ virtualScrollItemSize: La.virtualScrollItemSize.type,
3964
3964
  onNewValue: Function,
3965
3965
  onFilter: Function
3966
3966
  },
3967
3967
  emits: [
3968
- ...Ll,
3968
+ ...Rl,
3969
3969
  "add",
3970
3970
  "remove",
3971
3971
  "inputValue",
@@ -3978,12 +3978,12 @@ 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, 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), {
3981
+ let v = null, b = null, w, S, k, y = null, L, R, x, g;
3982
+ const O = K(null), P = K(null), C = K(null), H = K(null), te = K(null), T = mo(e), M = ho(nn), V = s(() => Array.isArray(e.options) ? e.options.length : 0), D = s(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
3983
3983
  virtualScrollSliceRange: B,
3984
3984
  virtualScrollSliceSizeComputed: z,
3985
- localResetVirtualScroll: X,
3986
- padVirtualScroll: H,
3985
+ localResetVirtualScroll: W,
3986
+ padVirtualScroll: A,
3987
3987
  onVirtualScrollEvt: F,
3988
3988
  scrollTo: $,
3989
3989
  setVirtualScrollSize: ve
@@ -3991,19 +3991,19 @@ const Jl = Oe({
3991
3991
  virtualScrollLength: V,
3992
3992
  getVirtualScrollTarget: Et,
3993
3993
  getVirtualScrollEl: zt,
3994
- virtualScrollItemSizeComputed: P
3994
+ virtualScrollItemSizeComputed: D
3995
3995
  }), q = Hl(), _ = s(() => {
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] : [];
3996
+ const m = e.mapOptions === !0 && e.multiple !== !0, X = 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) {
3998
- const G = e.mapOptions === !0 && w !== void 0 ? w : [], me = W.map((qe) => ae(qe, G));
3998
+ const G = e.mapOptions === !0 && w !== void 0 ? w : [], me = X.map((qe) => ae(qe, G));
3999
3999
  return e.modelValue === null && m === !0 ? me.filter((qe) => qe !== null) : me;
4000
4000
  }
4001
- return W;
4001
+ return X;
4002
4002
  }), j = s(() => {
4003
4003
  const m = {};
4004
- return fu.forEach((W) => {
4005
- const G = e[W];
4006
- G !== void 0 && (m[W] = G);
4004
+ return fu.forEach((X) => {
4005
+ const G = e[X];
4006
+ G !== void 0 && (m[X] = G);
4007
4007
  }), m;
4008
4008
  }), Y = s(() => e.optionsDark === null ? q.isDark.value : e.optionsDark), ne = s(() => qn(_.value)), le = s(() => {
4009
4009
  let m = "q-field__input q-placeholder col";
@@ -4027,19 +4027,19 @@ const Jl = Oe({
4027
4027
  id: `${q.targetUid.value}_lb`,
4028
4028
  role: "listbox",
4029
4029
  "aria-multiselectable": e.multiple === !0 ? "true" : "false"
4030
- })), Ge = s(() => _.value.map((m, W) => ({
4031
- index: W,
4030
+ })), Ge = s(() => _.value.map((m, X) => ({
4031
+ index: X,
4032
4032
  opt: m,
4033
4033
  html: we.value(m),
4034
4034
  selected: !0,
4035
- removeAtIndex: Lt,
4035
+ removeAtIndex: Rt,
4036
4036
  toggleOption: ot,
4037
4037
  tabindex: Qe.value
4038
- }))), Le = s(() => {
4038
+ }))), Re = s(() => {
4039
4039
  if (V.value === 0)
4040
4040
  return [];
4041
- const { from: m, to: W } = B.value;
4042
- return e.options.slice(m, W).map((G, me) => {
4041
+ const { from: m, to: X } = B.value;
4042
+ return e.options.slice(m, X).map((G, me) => {
4043
4043
  const qe = vt.value(G) === !0, De = se(G) === !0, xe = m + me, Ie = {
4044
4044
  clickable: !0,
4045
4045
  active: De,
@@ -4058,7 +4058,7 @@ const Jl = Oe({
4058
4058
  }
4059
4059
  };
4060
4060
  return qe !== !0 && (r.value === xe && (Ie.focused = !0), a.platform.is.desktop === !0 && (Ie.onMousemove = () => {
4061
- o.value === !0 && D(xe);
4061
+ o.value === !0 && I(xe);
4062
4062
  })), {
4063
4063
  index: xe,
4064
4064
  opt: G,
@@ -4067,11 +4067,11 @@ const Jl = Oe({
4067
4067
  selected: Ie.active,
4068
4068
  focused: Ie.focused,
4069
4069
  toggleOption: ot,
4070
- setOptionIndex: D,
4070
+ setOptionIndex: I,
4071
4071
  itemProps: Ie
4072
4072
  };
4073
4073
  });
4074
- }), qt = s(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : a.iconSet.arrow.dropdown), Rt = s(
4074
+ }), qt = s(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : a.iconSet.arrow.dropdown), Lt = s(
4075
4075
  () => e.optionsCover === !1 && e.outlined !== !0 && e.standout !== !0 && e.borderless !== !0 && e.rounded !== !0
4076
4076
  ), ft = s(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), He = s(() => bl(e.optionValue, "value")), Ae = s(() => bl(e.optionLabel, "label")), vt = s(() => bl(e.optionDisable, "disable")), pt = s(() => _.value.map(He.value)), tn = s(() => {
4077
4077
  const m = {
@@ -4085,8 +4085,8 @@ const Jl = Oe({
4085
4085
  onKeyup: fe,
4086
4086
  onKeypress: Ce,
4087
4087
  onFocus: _e,
4088
- onClick(W) {
4089
- S === !0 && rt(W);
4088
+ onClick(X) {
4089
+ S === !0 && rt(X);
4090
4090
  }
4091
4091
  };
4092
4092
  return m.onCompositionstart = m.onCompositionupdate = m.onCompositionend = M, m;
@@ -4094,22 +4094,22 @@ 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 Tt(m) {
4097
+ function Vt(m) {
4098
4098
  return e.emitValue === !0 ? He.value(m) : m;
4099
4099
  }
4100
4100
  function at(m) {
4101
4101
  if (m !== -1 && m < _.value.length)
4102
4102
  if (e.multiple === !0) {
4103
- const W = e.modelValue.slice();
4104
- l("remove", { index: m, value: W.splice(m, 1)[0] }), l("update:modelValue", W);
4103
+ const X = e.modelValue.slice();
4104
+ l("remove", { index: m, value: X.splice(m, 1)[0] }), l("update:modelValue", X);
4105
4105
  } else
4106
4106
  l("update:modelValue", null);
4107
4107
  }
4108
- function Lt(m) {
4108
+ function Rt(m) {
4109
4109
  at(m), q.focus();
4110
4110
  }
4111
- function Ht(m, W) {
4112
- const G = Tt(m);
4111
+ function Ht(m, X) {
4112
+ const G = Vt(m);
4113
4113
  if (e.multiple !== !0) {
4114
4114
  e.fillInput === !0 && Qt(
4115
4115
  Ae.value(m),
@@ -4122,20 +4122,20 @@ const Jl = Oe({
4122
4122
  l("add", { index: 0, value: G }), l("update:modelValue", e.multiple === !0 ? [G] : G);
4123
4123
  return;
4124
4124
  }
4125
- if (W === !0 && se(m) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues) return;
4125
+ if (X === !0 && se(m) === !0 || e.maxValues !== void 0 && e.modelValue.length >= e.maxValues) return;
4126
4126
  const me = e.modelValue.slice();
4127
4127
  l("add", { index: me.length, value: G }), me.push(G), l("update:modelValue", me);
4128
4128
  }
4129
- function ot(m, W) {
4129
+ function ot(m, X) {
4130
4130
  var De;
4131
4131
  if (q.editable.value !== !0 || m === void 0 || vt.value(m) === !0) return;
4132
4132
  const G = He.value(m);
4133
4133
  if (e.multiple !== !0) {
4134
- W !== !0 && (Qt(
4134
+ X !== !0 && (Qt(
4135
4135
  e.fillInput === !0 ? Ae.value(m) : "",
4136
4136
  !0,
4137
4137
  !0
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);
4138
+ ), be()), (De = P.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) {
@@ -4153,53 +4153,53 @@ const Jl = Oe({
4153
4153
  }
4154
4154
  l("update:modelValue", me);
4155
4155
  }
4156
- function D(m) {
4156
+ function I(m) {
4157
4157
  if (a.platform.is.desktop !== !0) return;
4158
- const W = m !== -1 && m < V.value ? m : -1;
4159
- r.value !== W && (r.value = W);
4158
+ const X = m !== -1 && m < V.value ? m : -1;
4159
+ r.value !== X && (r.value = X);
4160
4160
  }
4161
- function Q(m = 1, W) {
4161
+ function Q(m = 1, X) {
4162
4162
  if (o.value === !0) {
4163
4163
  let G = r.value;
4164
4164
  do
4165
- G = La(
4165
+ G = Ra(
4166
4166
  G + m,
4167
4167
  -1,
4168
4168
  V.value - 1
4169
4169
  );
4170
4170
  while (G !== -1 && G !== r.value && vt.value(e.options[G]) === !0);
4171
- r.value !== G && (D(G), $(G), W !== !0 && e.useInput === !0 && e.fillInput === !0 && jt(
4172
- G >= 0 ? Ae.value(e.options[G]) : A,
4171
+ r.value !== G && (I(G), $(G), X !== !0 && e.useInput === !0 && e.fillInput === !0 && jt(
4172
+ G >= 0 ? Ae.value(e.options[G]) : L,
4173
4173
  !0
4174
4174
  ));
4175
4175
  }
4176
4176
  }
4177
- function ae(m, W) {
4177
+ function ae(m, X) {
4178
4178
  const G = (me) => Pt(He.value(me), m);
4179
- return e.options.find(G) || W.find(G) || m;
4179
+ return e.options.find(G) || X.find(G) || m;
4180
4180
  }
4181
4181
  function se(m) {
4182
- const W = He.value(m);
4183
- return pt.value.find((G) => Pt(G, W)) !== void 0;
4182
+ const X = He.value(m);
4183
+ return pt.value.find((G) => Pt(G, X)) !== void 0;
4184
4184
  }
4185
4185
  function _e(m) {
4186
- e.useInput === !0 && I.value !== null && (m === void 0 || I.value === m.target && m.target.value === N.value) && I.value.select();
4186
+ e.useInput === !0 && P.value !== null && (m === void 0 || P.value === m.target && m.target.value === N.value) && P.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);
4190
4190
  }
4191
4191
  function fe(m) {
4192
- const { value: W } = m.target;
4192
+ const { value: X } = m.target;
4193
4193
  if (m.keyCode !== void 0) {
4194
4194
  We(m);
4195
4195
  return;
4196
4196
  }
4197
- if (m.target.value = "", v !== null && (clearTimeout(v), v = null), b !== null && (clearTimeout(b), b = null), mt(), typeof W == "string" && W.length !== 0) {
4198
- const G = W.toLocaleLowerCase(), me = (De) => {
4197
+ if (m.target.value = "", v !== null && (clearTimeout(v), v = null), b !== null && (clearTimeout(b), b = null), mt(), typeof X == "string" && X.length !== 0) {
4198
+ const G = X.toLocaleLowerCase(), me = (De) => {
4199
4199
  const xe = e.options.find((Ie) => String(De.value(Ie)).toLocaleLowerCase() === G);
4200
4200
  return xe === void 0 ? !1 : (_.value.indexOf(xe) === -1 ? ot(xe) : be(), !0);
4201
4201
  }, qe = (De) => {
4202
- me(He) !== !0 && De !== !0 && me(Ae) !== !0 && wt(W, !0, () => qe(!0));
4202
+ me(He) !== !0 && De !== !0 && me(Ae) !== !0 && wt(X, !0, () => qe(!0));
4203
4203
  };
4204
4204
  qe();
4205
4205
  } else
@@ -4210,7 +4210,7 @@ const Jl = Oe({
4210
4210
  }
4211
4211
  function Ne(m) {
4212
4212
  if (l("keydown", m), jl(m) === !0) return;
4213
- const W = d.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), G = m.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (r.value !== -1 || W === !0);
4213
+ const X = d.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), G = m.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (r.value !== -1 || X === !0);
4214
4214
  if (m.keyCode === 27) {
4215
4215
  et(m);
4216
4216
  return;
@@ -4244,10 +4244,10 @@ const Jl = Oe({
4244
4244
  let Ie = r.value;
4245
4245
  if (De === !0 || Ie < 0 || xe.test(Ae.value(e.options[Ie])) !== !0)
4246
4246
  do
4247
- Ie = La(Ie + 1, -1, me - 1);
4247
+ Ie = Ra(Ie + 1, -1, me - 1);
4248
4248
  while (Ie !== r.value && (vt.value(e.options[Ie]) === !0 || xe.test(Ae.value(e.options[Ie])) !== !0));
4249
4249
  r.value !== Ie && Be(() => {
4250
- D(Ie), $(Ie), Ie >= 0 && e.useInput === !0 && e.fillInput === !0 && jt(Ae.value(e.options[Ie]), !0);
4250
+ I(Ie), $(Ie), Ie >= 0 && e.useInput === !0 && e.fillInput === !0 && jt(Ae.value(e.options[Ie]), !0);
4251
4251
  });
4252
4252
  return;
4253
4253
  }
@@ -4256,7 +4256,7 @@ const Jl = Oe({
4256
4256
  ot(e.options[r.value]);
4257
4257
  return;
4258
4258
  }
4259
- if (W === !0) {
4259
+ if (X === !0) {
4260
4260
  const qe = (De, xe) => {
4261
4261
  var ln;
4262
4262
  if (xe) {
@@ -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 = I.value) == null || ln.focus(), be());
4267
+ (xe === "toggle" ? ot : Ht)(De, xe === "add-unique"), e.multiple !== !0 && ((ln = P.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
  }
@@ -4278,14 +4278,14 @@ const Jl = Oe({
4278
4278
  return zt();
4279
4279
  }
4280
4280
  function Cn() {
4281
- return e.hideSelected === !0 ? [] : n["selected-item"] !== void 0 ? Ge.value.map((m) => n["selected-item"](m)).slice() : n.selected !== void 0 ? [].concat(n.selected()) : e.useChips === !0 ? Ge.value.map((m, W) => h(Ei, {
4282
- key: "option-" + W,
4281
+ return e.hideSelected === !0 ? [] : n["selected-item"] !== void 0 ? Ge.value.map((m) => n["selected-item"](m)).slice() : n.selected !== void 0 ? [].concat(n.selected()) : e.useChips === !0 ? Ge.value.map((m, X) => h(Ei, {
4282
+ key: "option-" + X,
4283
4283
  removable: q.editable.value === !0 && vt.value(m.opt) !== !0,
4284
4284
  dense: !0,
4285
4285
  textColor: e.color,
4286
4286
  tabindex: Qe.value,
4287
4287
  onRemove() {
4288
- m.removeAtIndex(W);
4288
+ m.removeAtIndex(X);
4289
4289
  }
4290
4290
  }, () => h("span", {
4291
4291
  class: "ellipsis",
@@ -4306,18 +4306,18 @@ const Jl = Oe({
4306
4306
  }, () => h(
4307
4307
  Dn,
4308
4308
  () => h(
4309
- Vl,
4309
+ Tl,
4310
4310
  () => h("span", {
4311
4311
  [G.html === !0 ? "innerHTML" : "textContent"]: G.label
4312
4312
  })
4313
4313
  )
4314
4314
  ));
4315
- let W = H("div", Le.value.map(m));
4316
- return n["before-options"] !== void 0 && (W = n["before-options"]().concat(W)), Kt(n["after-options"], W);
4315
+ let X = A("div", Re.value.map(m));
4316
+ return n["before-options"] !== void 0 && (X = n["before-options"]().concat(X)), Kt(n["after-options"], X);
4317
4317
  }
4318
- function gn(m, W) {
4319
- const G = W === !0 ? { ...yt.value, ...q.splitAttrs.attributes.value } : void 0, me = {
4320
- ref: W === !0 ? I : void 0,
4318
+ function gn(m, X) {
4319
+ const G = X === !0 ? { ...yt.value, ...q.splitAttrs.attributes.value } : void 0, me = {
4320
+ ref: X === !0 ? P : void 0,
4321
4321
  key: "i_t",
4322
4322
  class: le.value,
4323
4323
  style: e.inputStyle,
@@ -4325,7 +4325,7 @@ const Jl = Oe({
4325
4325
  // required for Android in order to show ENTER key when in form
4326
4326
  type: "search",
4327
4327
  ...G,
4328
- id: W === !0 ? q.targetUid.value : void 0,
4328
+ id: X === !0 ? q.targetUid.value : void 0,
4329
4329
  maxlength: e.maxlength,
4330
4330
  autocomplete: e.autocomplete,
4331
4331
  "data-autofocus": m === !0 || e.autofocus === !0 || void 0,
@@ -4336,20 +4336,20 @@ 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, A = 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, L = 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
  }
4343
- function jt(m, W) {
4344
- d.value !== m && (d.value = m, W === !0 || e.inputDebounce === 0 || e.inputDebounce === "0" ? l("inputValue", m) : b = setTimeout(() => {
4343
+ function jt(m, X) {
4344
+ d.value !== m && (d.value = m, X === !0 || e.inputDebounce === 0 || e.inputDebounce === "0" ? l("inputValue", m) : b = setTimeout(() => {
4345
4345
  b = null, l("inputValue", m);
4346
4346
  }, e.inputDebounce));
4347
4347
  }
4348
- function Qt(m, W, G) {
4349
- k = G !== !0, e.useInput === !0 && (jt(m, !0), (W === !0 || G !== !0) && (A = m), W !== !0 && wt(m));
4348
+ function Qt(m, X, G) {
4349
+ k = G !== !0, e.useInput === !0 && (jt(m, !0), (X === !0 || G !== !0) && (L = m), X !== !0 && wt(m));
4350
4350
  }
4351
- function wt(m, W, G) {
4352
- if (e.onFilter === void 0 || W !== !0 && q.focused.value !== !0) return;
4351
+ function wt(m, X, G) {
4352
+ if (e.onFilter === void 0 || X !== !0 && q.focused.value !== !0) return;
4353
4353
  q.innerLoading.value === !0 ? l("filterAbort") : (q.innerLoading.value = !0, u.value = !0), m !== "" && e.multiple !== !0 && _.value.length !== 0 && k !== !0 && m === Ae.value(_.value[0]) && (m = "");
4354
4354
  const me = setTimeout(() => {
4355
4355
  o.value === !0 && (o.value = !1);
@@ -4358,8 +4358,8 @@ const Jl = Oe({
4358
4358
  "filter",
4359
4359
  m,
4360
4360
  (qe, De) => {
4361
- (W === !0 || q.focused.value === !0) && y === me && (clearTimeout(y), typeof qe == "function" && qe(), u.value = !1, Be(() => {
4362
- q.innerLoading.value = !1, q.editable.value === !0 && (W === !0 ? o.value === !0 && be() : o.value === !0 ? il(!0) : o.value = !0), typeof De == "function" && Be(() => {
4361
+ (X === !0 || q.focused.value === !0) && y === me && (clearTimeout(y), typeof qe == "function" && qe(), u.value = !1, Be(() => {
4362
+ q.innerLoading.value = !1, q.editable.value === !0 && (X === !0 ? o.value === !0 && be() : o.value === !0 ? il(!0) : o.value = !0), typeof De == "function" && Be(() => {
4363
4363
  De(t);
4364
4364
  }), typeof G == "function" && Be(() => {
4365
4365
  G(t);
@@ -4387,7 +4387,7 @@ const Jl = Oe({
4387
4387
  noRefocus: !0,
4388
4388
  noFocus: !0,
4389
4389
  noRouteDismiss: e.popupNoRouteDismiss,
4390
- square: Rt.value,
4390
+ square: Lt.value,
4391
4391
  transitionShow: e.transitionShow,
4392
4392
  transitionHide: e.transitionHide,
4393
4393
  transitionDuration: e.transitionDuration,
@@ -4406,8 +4406,8 @@ const Jl = Oe({
4406
4406
  ve();
4407
4407
  }
4408
4408
  function f(m) {
4409
- var W;
4410
- rt(m), (W = I.value) == null || W.focus(), c.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
4409
+ var X;
4410
+ rt(m), (X = P.value) == null || X.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(() => {
@@ -4446,7 +4446,7 @@ const Jl = Oe({
4446
4446
  onScrollPassive: F
4447
4447
  }, xt())
4448
4448
  ), h(Do, {
4449
- ref: L,
4449
+ ref: H,
4450
4450
  modelValue: i.value,
4451
4451
  position: e.useInput === !0 ? "top" : void 0,
4452
4452
  transitionShow: R,
@@ -4462,7 +4462,7 @@ const Jl = Oe({
4462
4462
  }, m));
4463
4463
  }
4464
4464
  function U(m) {
4465
- ra(m), L.value !== null && L.value.__updateRefocusTarget(
4465
+ ra(m), H.value !== null && H.value.__updateRefocusTarget(
4466
4466
  q.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
4467
4467
  ), q.focused.value = !1;
4468
4468
  }
@@ -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) && I.value !== null && I.value !== m && I.value.focus(), ve();
4474
+ (m === null || m.id !== q.targetUid.value) && P.value !== null && P.value !== m && P.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)));
@@ -4492,19 +4492,19 @@ const Jl = Oe({
4492
4492
  );
4493
4493
  }
4494
4494
  function il(m) {
4495
- let W = -1;
4495
+ let X = -1;
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) => Pt(He.value(me), G));
4499
+ X = e.options.findIndex((me) => Pt(He.value(me), G));
4500
4500
  }
4501
- X(W);
4501
+ W(X);
4502
4502
  }
4503
- D(W);
4503
+ I(X);
4504
4504
  }
4505
- function Jo(m, W) {
4506
- o.value === !0 && q.innerLoading.value === !1 && (X(-1, !0), Be(() => {
4507
- o.value === !0 && q.innerLoading.value === !1 && (m > W ? X() : il(!0));
4505
+ function Jo(m, X) {
4506
+ o.value === !0 && q.innerLoading.value === !1 && (W(-1, !0), Be(() => {
4507
+ o.value === !0 && q.innerLoading.value === !1 && (m > X ? W() : il(!0));
4508
4508
  }));
4509
4509
  }
4510
4510
  function aa() {
@@ -4528,13 +4528,13 @@ const Jl = Oe({
4528
4528
  add: Ht,
4529
4529
  toggleOption: ot,
4530
4530
  getOptionIndex: () => r.value,
4531
- setOptionIndex: D,
4531
+ setOptionIndex: I,
4532
4532
  moveOptionSelection: Q,
4533
4533
  filter: wt,
4534
4534
  updateMenuPosition: aa,
4535
4535
  updateInputValue: Qt,
4536
4536
  isOptionSelected: se,
4537
- getEmittingOptionValue: Tt,
4537
+ getEmittingOptionValue: Vt,
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: I,
4547
+ targetRef: P,
4548
4548
  hasValue: ne,
4549
4549
  showPopup: ie,
4550
4550
  floatingLabel: s(
@@ -4565,23 +4565,23 @@ const Jl = Oe({
4565
4565
  });
4566
4566
  },
4567
4567
  onClick(m) {
4568
- var W;
4568
+ var X;
4569
4569
  if (et(m), S !== !0 && o.value === !0) {
4570
- ee(), (W = I.value) == null || W.focus();
4570
+ ee(), (X = P.value) == null || X.focus();
4571
4571
  return;
4572
4572
  }
4573
4573
  ie(m);
4574
4574
  }
4575
4575
  },
4576
4576
  getControl: (m) => {
4577
- const W = Cn(), G = m === !0 || i.value !== !0 || S !== !0;
4577
+ const X = Cn(), G = m === !0 || i.value !== !0 || S !== !0;
4578
4578
  if (e.useInput === !0)
4579
- W.push(gn(m, G));
4579
+ X.push(gn(m, G));
4580
4580
  else if (q.editable.value === !0) {
4581
4581
  const qe = G === !0 ? yt.value : void 0;
4582
- W.push(
4582
+ X.push(
4583
4583
  h("input", {
4584
- ref: G === !0 ? I : void 0,
4584
+ ref: G === !0 ? P : void 0,
4585
4585
  key: "d_t",
4586
4586
  class: "q-select__focus-target",
4587
4587
  id: G === !0 ? q.targetUid.value : void 0,
@@ -4593,7 +4593,7 @@ const Jl = Oe({
4593
4593
  onKeyup: We,
4594
4594
  onKeypress: Ce
4595
4595
  })
4596
- ), G === !0 && typeof e.autocomplete == "string" && e.autocomplete.length !== 0 && W.push(
4596
+ ), G === !0 && typeof e.autocomplete == "string" && e.autocomplete.length !== 0 && X.push(
4597
4597
  h("input", {
4598
4598
  class: "q-select__autocomplete-input",
4599
4599
  autocomplete: e.autocomplete,
@@ -4604,7 +4604,7 @@ const Jl = Oe({
4604
4604
  }
4605
4605
  if (T.value !== void 0 && e.disable !== !0 && pt.value.length !== 0) {
4606
4606
  const qe = pt.value.map((De) => h("option", { value: De, selected: !0 }));
4607
- W.push(
4607
+ X.push(
4608
4608
  h("select", {
4609
4609
  class: "hidden",
4610
4610
  name: T.value,
@@ -4617,7 +4617,7 @@ const Jl = Oe({
4617
4617
  class: "q-field__native row items-center",
4618
4618
  ...me,
4619
4619
  ...q.splitAttrs.listeners.value
4620
- }, W);
4620
+ }, X);
4621
4621
  },
4622
4622
  getInnerAppend: () => e.loading !== !0 && u.value !== !0 && e.hideDropdownIcon !== !0 ? [
4623
4623
  h(Je, {
@@ -4651,7 +4651,7 @@ const Jl = Oe({
4651
4651
  "select"
4652
4652
  ), {
4653
4653
  autocomplete: y,
4654
- autocompleteThreshold: A,
4654
+ autocompleteThreshold: L,
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 A = String(y);
4669
- return k && y in k && (A = k[y]), {
4670
- label: A,
4668
+ let L = String(y);
4669
+ return k && y in k && (L = k[y]), {
4670
+ label: L,
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 A, R;
4683
+ var L, R;
4684
4684
  const k = l.schema["x-component-props"];
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;
4685
+ return (k == null ? void 0 : k.autocomplete) !== void 0 ? k.autocomplete : ((R = (L = r == null ? void 0 : r.componentDefaults) == null ? void 0 : L.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 A = k.toLowerCase();
4691
+ const L = k.toLowerCase();
4692
4692
  v.value = u.value.filter(
4693
- (R) => R.label.toLowerCase().includes(A)
4693
+ (R) => R.label.toLowerCase().includes(L)
4694
4694
  );
4695
4695
  }
4696
4696
  });
@@ -4728,7 +4728,7 @@ function mu(e, n, l, t, a, o) {
4728
4728
  name: "label",
4729
4729
  fn: de(() => [
4730
4730
  Ke(
4731
- Te(t.label) + " ",
4731
+ Oe(t.label) + " ",
4732
4732
  1
4733
4733
  /* TEXT */
4734
4734
  ),
@@ -4752,13 +4752,13 @@ const hu = /* @__PURE__ */ lt(vu, [["render", mu], ["__file", "/Users/zachsherbo
4752
4752
  around: "around",
4753
4753
  evenly: "evenly",
4754
4754
  stretch: "stretch"
4755
- }, gu = Object.keys(Ao), Ro = {
4755
+ }, gu = Object.keys(Ao), Lo = {
4756
4756
  align: {
4757
4757
  type: String,
4758
4758
  validator: (e) => gu.includes(e)
4759
4759
  }
4760
4760
  };
4761
- function Lo(e) {
4761
+ function Ro(e) {
4762
4762
  return s(() => {
4763
4763
  const n = e.align === void 0 ? e.vertical === !0 ? "stretch" : "left" : e.align;
4764
4764
  return `${e.vertical === !0 ? "items" : "justify"}-${Ao[n]}`;
@@ -4813,7 +4813,7 @@ const ku = {
4813
4813
  default: !0
4814
4814
  },
4815
4815
  align: {
4816
- ...Ro.align,
4816
+ ...Lo.align,
4817
4817
  default: "center"
4818
4818
  },
4819
4819
  stack: Boolean,
@@ -4828,12 +4828,12 @@ const ku = {
4828
4828
  round: Boolean
4829
4829
  };
4830
4830
  function qu(e) {
4831
- const n = Jn(e, yu), l = Lo(e), { hasRouterLink: t, hasLink: a, linkTag: o, linkAttrs: i, navigateOnClick: r } = wo({
4831
+ const n = Jn(e, yu), l = Ro(e), { hasRouterLink: t, hasLink: a, linkTag: o, linkAttrs: i, navigateOnClick: r } = wo({
4832
4832
  fallbackTag: "button"
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((A) => A in za ? za[A] + "px" : A).join(" "),
4836
+ padding: e.padding.split(/\s+/).map((L) => L in za ? za[L] + "px" : L).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 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" : "");
4855
+ const L = 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--${L}` + (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
  );
@@ -4870,7 +4870,7 @@ function qu(e) {
4870
4870
  }
4871
4871
  const { passiveCapture: ht } = $e;
4872
4872
  let on = null, rn = null, un = null;
4873
- const Ze = Oe({
4873
+ const Ze = Te({
4874
4874
  name: "QBtn",
4875
4875
  props: {
4876
4876
  ...Su,
@@ -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 A = s(
4894
+ const L = 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,16 +4902,16 @@ const Ze = Oe({
4902
4902
  }), O = s(() => {
4903
4903
  if (e.loading === !0)
4904
4904
  return {
4905
- onMousedown: P,
4906
- onTouchstart: P,
4907
- onClick: P,
4908
- onKeydown: P,
4909
- onKeyup: P
4905
+ onMousedown: D,
4906
+ onTouchstart: D,
4907
+ onClick: D,
4908
+ onKeydown: D,
4909
+ onKeyup: D
4910
4910
  };
4911
4911
  if (v.value === !0) {
4912
4912
  const B = {
4913
4913
  onClick: C,
4914
- onKeydown: L,
4914
+ onKeydown: H,
4915
4915
  onMousedown: T
4916
4916
  };
4917
4917
  if (t.$q.platform.has.touch === !0) {
@@ -4924,7 +4924,7 @@ const Ze = Oe({
4924
4924
  // needed; especially for disabled <a> tags
4925
4925
  onClick: Pe
4926
4926
  };
4927
- }), I = s(() => ({
4927
+ }), P = s(() => ({
4928
4928
  ref: b,
4929
4929
  class: "q-btn q-btn-item non-selectable no-outline " + a.value,
4930
4930
  style: o.value,
@@ -4938,17 +4938,17 @@ const Ze = Oe({
4938
4938
  const z = document.activeElement;
4939
4939
  if (e.type === "submit" && z !== document.body && b.value.contains(z) === !1 && z.contains(b.value) === !1) {
4940
4940
  B.qAvoidFocus !== !0 && b.value.focus();
4941
- const X = () => {
4942
- var H;
4943
- document.removeEventListener("keydown", Pe, !0), document.removeEventListener("keyup", X, ht), (H = b.value) == null || H.removeEventListener("blur", X, ht);
4941
+ const W = () => {
4942
+ var A;
4943
+ document.removeEventListener("keydown", Pe, !0), document.removeEventListener("keyup", W, ht), (A = b.value) == null || A.removeEventListener("blur", W, ht);
4944
4944
  };
4945
- document.addEventListener("keydown", Pe, !0), document.addEventListener("keyup", X, ht), b.value.addEventListener("blur", X, ht);
4945
+ document.addEventListener("keydown", Pe, !0), document.addEventListener("keyup", W, ht), b.value.addEventListener("blur", W, ht);
4946
4946
  }
4947
4947
  }
4948
4948
  u(B);
4949
4949
  }
4950
4950
  }
4951
- function L(B) {
4951
+ function H(B) {
4952
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) {
@@ -4972,11 +4972,11 @@ const Ze = Oe({
4972
4972
  }
4973
4973
  }
4974
4974
  function V(B) {
4975
- var X, H;
4975
+ var W, A;
4976
4976
  const z = w.value;
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");
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), (W = b.value) == null || W.removeEventListener("blur", M, ht), rn = null), (A = b.value) == null || A.classList.remove("q-btn--active");
4978
4978
  }
4979
- function P(B) {
4979
+ function D(B) {
4980
4980
  Pe(B), B.qSkipRipple = !0;
4981
4981
  }
4982
4982
  return je(() => {
@@ -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 && A.value === !0,
4993
+ left: e.stack !== !0 && L.value === !0,
4994
4994
  role: "img"
4995
4995
  })
4996
- ), A.value === !0 && B.push(
4996
+ ), L.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 && A.value === !0,
5001
+ right: e.stack !== !0 && L.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
- I.value,
5036
+ P.value,
5037
5037
  z
5038
5038
  ),
5039
5039
  [[
@@ -5054,7 +5054,7 @@ function ja(e) {
5054
5054
  const n = parseInt(e, 10);
5055
5055
  return isNaN(n) ? 0 : n;
5056
5056
  }
5057
- const Gl = Rl(
5057
+ const Gl = Ll(
5058
5058
  {
5059
5059
  name: "close-popup",
5060
5060
  beforeMount(e, { value: n }) {
@@ -5062,7 +5062,7 @@ const Gl = Rl(
5062
5062
  depth: ja(n),
5063
5063
  handler(t) {
5064
5064
  l.depth !== 0 && setTimeout(() => {
5065
- const a = Li(e);
5065
+ const a = Ri(e);
5066
5066
  a !== void 0 && Hi(a, t, l.depth);
5067
5067
  });
5068
5068
  },
@@ -5080,7 +5080,7 @@ const Gl = Rl(
5080
5080
  e.removeEventListener("click", n.handler), e.removeEventListener("keyup", n.handlerKey), delete e.__qclosepopup;
5081
5081
  }
5082
5082
  }
5083
- ), ea = Oe({
5083
+ ), ea = Te({
5084
5084
  name: "QPopupProxy",
5085
5085
  props: {
5086
5086
  ...So,
@@ -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()), Tu(ta(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));
5180
5180
  }
5181
5181
  function Qa(e, n, l) {
5182
- return zo(Vu(e, n, l));
5182
+ return zo(Tu(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 Vu(e, n, l) {
5214
+ function Tu(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 Tu(e) {
5218
+ function Vu(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);
@@ -5868,7 +5868,7 @@ const Ct = 20, Iu = ["Calendar", "Years", "Months"], Ua = (e) => Iu.includes(e),
5868
5868
  function Bt(e) {
5869
5869
  return e.year + "/" + pe(e.month);
5870
5870
  }
5871
- const Xo = Oe({
5871
+ const Xo = Te({
5872
5872
  name: "QDate",
5873
5873
  props: {
5874
5874
  ...Wn,
@@ -5924,18 +5924,18 @@ 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()), 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(() => {
5927
+ const b = vo(e), w = Ql(b), S = K(null), k = K(Ht()), y = K(c()), L = s(() => Ht()), R = s(() => c()), x = s(() => u()), g = K(I(k.value, y.value)), O = K(e.defaultView), P = s(() => a.lang.rtl === !0 ? "right" : "left"), C = K(P.value), H = K(P.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
- }), P = s(() => e.color || "primary"), B = s(() => e.textColor || "white"), z = s(
5930
+ }), D = s(() => e.color || "primary"), B = s(() => e.textColor || "white"), z = s(
5931
5931
  () => e.emitImmediately === !0 && e.multiple !== !0 && e.range !== !0
5932
- ), X = s(() => Array.isArray(e.modelValue) === !0 ? e.modelValue : e.modelValue !== null && e.modelValue !== void 0 ? [e.modelValue] : []), H = s(
5933
- () => X.value.filter((f) => typeof f == "string").map((f) => ot(f, k.value, y.value)).filter(
5932
+ ), W = s(() => Array.isArray(e.modelValue) === !0 ? e.modelValue : e.modelValue !== null && e.modelValue !== void 0 ? [e.modelValue] : []), A = s(
5933
+ () => W.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
5936
  ), F = s(() => {
5937
5937
  const f = (p) => ot(p, k.value, y.value);
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);
5938
+ return W.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) => {
5940
5940
  const p = Qa(f.year, f.month, f.day);
5941
5941
  return new Date(p.gy, p.gm - 1, p.gd);
@@ -5954,7 +5954,7 @@ const Xo = Oe({
5954
5954
  f.year,
5955
5955
  f.timezoneOffset
5956
5956
  )), q = s(
5957
- () => H.value.length + F.value.reduce(
5957
+ () => A.value.length + F.value.reduce(
5958
5958
  (f, p) => f + 1 + Uo(
5959
5959
  $.value(p.to),
5960
5960
  $.value(p.from)
@@ -5972,9 +5972,9 @@ const Xo = Oe({
5972
5972
  return cn;
5973
5973
  if (q.value > 1)
5974
5974
  return `${q.value} ${y.value.pluralDay}`;
5975
- const f = H.value[0], p = $.value(f);
5975
+ const f = A.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(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(() => {
5977
+ }), j = s(() => A.value.concat(F.value.map((p) => p.from)).sort((p, E) => p.year - E.year || p.month - E.month)[0]), Y = s(() => A.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)
@@ -5983,7 +5983,7 @@ const Xo = Oe({
5983
5983
  const f = j.value, p = Y.value, E = y.value.monthsShort;
5984
5984
  return E[f.month - 1] + (f.year !== p.year ? " " + f.year + cn + E[p.month - 1] + " " : f.month !== p.month ? cn + E[p.month - 1] : "") + " " + p.year;
5985
5985
  }
5986
- return H.value[0].year;
5986
+ return A.value[0].year;
5987
5987
  }), le = s(() => {
5988
5988
  const f = [a.iconSet.datetime.arrowLeft, a.iconSet.datetime.arrowRight];
5989
5989
  return a.lang.rtl === !0 ? f.reverse() : f;
@@ -6011,7 +6011,7 @@ const Xo = Oe({
6011
6011
  return we.value !== null && we.value.year >= g.value.year && (f.year.prev = !1, we.value.year === g.value.year && we.value.month >= g.value.month && (f.month.prev = !1)), Se.value !== null && Se.value.year <= g.value.year && (f.year.next = !1, Se.value.year === g.value.year && Se.value.month <= g.value.month && (f.month.next = !1)), f;
6012
6012
  }), yt = s(() => {
6013
6013
  const f = {};
6014
- return H.value.forEach((p) => {
6014
+ return A.value.forEach((p) => {
6015
6015
  const E = Bt(p);
6016
6016
  f[E] === void 0 && (f[E] = []), f[E].push(p.day);
6017
6017
  }), f;
@@ -6037,10 +6037,10 @@ const Xo = Oe({
6037
6037
  }), Ge = s(() => {
6038
6038
  if (M.value === null) return;
6039
6039
  const { init: f, initHash: p, final: E, finalHash: U } = M.value, [Z, ce] = p <= U ? [f, E] : [E, f], ee = Bt(Z), ie = Bt(ce);
6040
- if (ee !== Le.value && ie !== Le.value) return;
6040
+ if (ee !== Re.value && ie !== Re.value) return;
6041
6041
  const be = {};
6042
- return ee === Le.value ? (be.from = Z.day, be.includeFrom = !0) : be.from = 1, ie === Le.value ? (be.to = ce.day, be.includeTo = !0) : be.to = N.value, be;
6043
- }), Le = s(() => Bt(g.value)), qt = s(() => {
6042
+ return ee === Re.value ? (be.from = Z.day, be.includeFrom = !0) : be.from = 1, ie === Re.value ? (be.to = ce.day, be.includeTo = !0) : be.to = N.value, be;
6043
+ }), Re = s(() => Bt(g.value)), qt = s(() => {
6044
6044
  const f = {};
6045
6045
  if (e.options === void 0) {
6046
6046
  for (let E = 1; E <= N.value; E++)
@@ -6049,11 +6049,11 @@ const Xo = Oe({
6049
6049
  }
6050
6050
  const p = typeof e.options == "function" ? e.options : (E) => e.options.includes(E);
6051
6051
  for (let E = 1; E <= N.value; E++) {
6052
- const U = Le.value + "/" + pe(E);
6052
+ const U = Re.value + "/" + pe(E);
6053
6053
  f[E] = p(U);
6054
6054
  }
6055
6055
  return f;
6056
- }), Rt = s(() => {
6056
+ }), Lt = s(() => {
6057
6057
  const f = {};
6058
6058
  if (e.events === void 0)
6059
6059
  for (let p = 1; p <= N.value; p++)
@@ -6061,7 +6061,7 @@ const Xo = Oe({
6061
6061
  else {
6062
6062
  const p = typeof e.events == "function" ? e.events : (E) => e.events.includes(E);
6063
6063
  for (let E = 1; E <= N.value; E++) {
6064
- const U = Le.value + "/" + pe(E);
6064
+ const U = Re.value + "/" + pe(E);
6065
6065
  f[E] = p(U) === !0 && Ee.value(U);
6066
6066
  }
6067
6067
  }
@@ -6088,26 +6088,26 @@ const Xo = Oe({
6088
6088
  f.push({ i: ee, fill: !0 });
6089
6089
  const Z = f.length;
6090
6090
  for (let ee = 1; ee <= N.value; ee++) {
6091
- const ie = { i: ee, event: Rt.value[ee], classes: [] };
6091
+ const ie = { i: ee, event: Lt.value[ee], classes: [] };
6092
6092
  qt.value[ee] === !0 && (ie.in = !0, ie.flat = !0), f.push(ie);
6093
6093
  }
6094
- if (yt.value[Le.value] !== void 0 && yt.value[Le.value].forEach((ee) => {
6094
+ if (yt.value[Re.value] !== void 0 && yt.value[Re.value].forEach((ee) => {
6095
6095
  const ie = Z + ee - 1;
6096
6096
  Object.assign(f[ie], {
6097
6097
  selected: !0,
6098
6098
  unelevated: !0,
6099
6099
  flat: !1,
6100
- color: P.value,
6100
+ color: D.value,
6101
6101
  textColor: B.value
6102
6102
  });
6103
- }), dt.value[Le.value] !== void 0 && dt.value[Le.value].forEach((ee) => {
6103
+ }), dt.value[Re.value] !== void 0 && dt.value[Re.value].forEach((ee) => {
6104
6104
  if (ee.from !== void 0) {
6105
6105
  const ie = Z + ee.from - 1, be = Z + (ee.to || N.value) - 1;
6106
6106
  for (let mt = ie; mt <= be; mt++)
6107
6107
  Object.assign(f[mt], {
6108
6108
  range: ee.range,
6109
6109
  unelevated: !0,
6110
- color: P.value,
6110
+ color: D.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: P.value,
6126
+ color: D.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: P.value,
6139
+ color: D.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 = P.value, f[be].editRange = !0;
6146
+ f[be].color = D.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);
@@ -6162,14 +6162,14 @@ const Xo = Oe({
6162
6162
  if (v === JSON.stringify(f))
6163
6163
  v = 0;
6164
6164
  else {
6165
- const p = D(k.value, y.value);
6165
+ const p = I(k.value, y.value);
6166
6166
  Ne(p.year, p.month, p);
6167
6167
  }
6168
6168
  }), oe(O, () => {
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(A, (f) => {
6172
+ }), oe(L, (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,13 +6192,13 @@ const Xo = Oe({
6192
6192
  function tn(f) {
6193
6193
  Ua(f) === !0 && (O.value = f);
6194
6194
  }
6195
- function Tt(f, p) {
6195
+ function Vt(f, p) {
6196
6196
  ["month", "year"].includes(f) && (f === "month" ? ae : se)(p === !0 ? -1 : 1);
6197
6197
  }
6198
6198
  function at(f, p) {
6199
6199
  O.value = "Calendar", Ne(f, p);
6200
6200
  }
6201
- function Lt(f, p) {
6201
+ function Rt(f, p) {
6202
6202
  if (e.range === !1 || !f) {
6203
6203
  M.value = null;
6204
6204
  return;
@@ -6228,7 +6228,7 @@ const Xo = Oe({
6228
6228
  }
6229
6229
  );
6230
6230
  }
6231
- function D(f, p) {
6231
+ function I(f, p) {
6232
6232
  const E = Array.isArray(e.modelValue) === !0 ? e.modelValue : e.modelValue ? [e.modelValue] : [];
6233
6233
  if (E.length === 0)
6234
6234
  return Q();
@@ -6286,7 +6286,7 @@ const Xo = Oe({
6286
6286
  Object.assign(g.value, { hour: Z, minute: ce, second: ee, millisecond: ie, timezoneOffset: be, timeHash: mt });
6287
6287
  }
6288
6288
  const U = f + "/" + pe(p) + "/01";
6289
- U !== g.value.dateHash && (C.value = g.value.dateHash < U == (a.lang.rtl !== !0) ? "left" : "right", f !== g.value.year && (L.value = C.value), Be(() => {
6289
+ U !== g.value.dateHash && (C.value = g.value.dateHash < U == (a.lang.rtl !== !0) ? "left" : "right", f !== g.value.year && (H.value = C.value), Be(() => {
6290
6290
  T.value = f - f % Ct - (f < 0 ? Ct : 0), Object.assign(g.value, {
6291
6291
  year: f,
6292
6292
  month: p,
@@ -6300,7 +6300,7 @@ const Xo = Oe({
6300
6300
  vt(U), l("update:modelValue", U, Z, ce);
6301
6301
  }
6302
6302
  function Et(f) {
6303
- const p = H.value[0] !== void 0 && H.value[0].dateHash !== null ? { ...H.value[0] } : { ...g.value };
6303
+ const p = A.value[0] !== void 0 && A.value[0].dateHash !== null ? { ...A.value[0] } : { ...g.value };
6304
6304
  Be(() => {
6305
6305
  p.year = g.value.year, p.month = g.value.month;
6306
6306
  const E = e.calendar !== "persian" ? new Date(p.year, p.month, 0).getDate() : In(p.year, p.month);
@@ -6329,10 +6329,10 @@ 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 = F.value.filter(({ from: ee, to: ie }) => ie.dateHash < E || ee.dateHash > U);
6332
+ const E = Mt(f.from), U = Mt(f.to), Z = A.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
- const E = X.value.slice();
6335
+ const E = W.value.slice();
6336
6336
  E.push(xt(f)), p = E;
6337
6337
  }
6338
6338
  else
@@ -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(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;
6354
+ const U = A.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() {
@@ -6489,7 +6489,7 @@ const Xo = Oe({
6489
6489
  label: g.value.year,
6490
6490
  type: "Years",
6491
6491
  key: g.value.year,
6492
- dir: L.value,
6492
+ dir: H.value,
6493
6493
  goTo: se,
6494
6494
  boundaries: Qe.value.year,
6495
6495
  cls: ""
@@ -6503,7 +6503,7 @@ const Xo = Oe({
6503
6503
  h(it, {
6504
6504
  name: "q-transition--slide-" + C.value
6505
6505
  }, () => h("div", {
6506
- key: Le.value,
6506
+ key: Re.value,
6507
6507
  class: "q-date__calendar-days fit"
6508
6508
  }, He.value.map((f) => h("div", { class: f.classes }, [
6509
6509
  f.in === !0 ? h(
@@ -6543,7 +6543,7 @@ const Xo = Oe({
6543
6543
  flat: ce !== !0,
6544
6544
  label: U,
6545
6545
  unelevated: ce,
6546
- color: ce === !0 ? P.value : null,
6546
+ color: ce === !0 ? D.value : null,
6547
6547
  textColor: ce === !0 ? B.value : null,
6548
6548
  tabindex: r.value,
6549
6549
  disable: p(Z + 1),
@@ -6559,7 +6559,7 @@ const Xo = Oe({
6559
6559
  label: g.value.year,
6560
6560
  type: "Years",
6561
6561
  key: g.value.year,
6562
- dir: L.value,
6562
+ dir: H.value,
6563
6563
  goTo: se,
6564
6564
  boundaries: Qe.value.year,
6565
6565
  cls: " col"
@@ -6585,7 +6585,7 @@ const Xo = Oe({
6585
6585
  label: Z,
6586
6586
  dense: !0,
6587
6587
  unelevated: ce,
6588
- color: ce === !0 ? P.value : null,
6588
+ color: ce === !0 ? D.value : null,
6589
6589
  textColor: ce === !0 ? B.value : null,
6590
6590
  tabindex: r.value,
6591
6591
  disable: U(Z),
@@ -6640,7 +6640,7 @@ const Xo = Oe({
6640
6640
  function ol(f) {
6641
6641
  const p = { ...g.value, day: f };
6642
6642
  if (e.range === !1) {
6643
- fe(p, Le.value);
6643
+ fe(p, Re.value);
6644
6644
  return;
6645
6645
  }
6646
6646
  if (M.value === null) {
@@ -6680,9 +6680,9 @@ const Xo = Oe({
6680
6680
  return Object.assign(t, {
6681
6681
  setToday: pt,
6682
6682
  setView: tn,
6683
- offsetCalendar: Tt,
6683
+ offsetCalendar: Vt,
6684
6684
  setCalendarTo: at,
6685
- setEditingRange: Lt
6685
+ setEditingRange: Rt
6686
6686
  }), () => {
6687
6687
  const f = [
6688
6688
  h("div", {
@@ -6740,8 +6740,8 @@ const Xo = Oe({
6740
6740
  } };
6741
6741
  return Object.defineProperty(u, "__isScriptSetup", { enumerable: !1, value: !0 }), u;
6742
6742
  }
6743
- }), Ru = { class: "row items-center justify-end" };
6744
- function Lu(e, n, l, t, a, o) {
6743
+ }), Lu = { class: "row items-center justify-end" };
6744
+ function Ru(e, n, l, t, a, o) {
6745
6745
  return re(), st(t.QInput, Fe({
6746
6746
  id: t.fieldId,
6747
6747
  modelValue: t.value,
@@ -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
- Ve("div", Ru, [
6775
+ Ve("div", Lu, [
6776
6776
  Jt(ue(
6777
6777
  Ze,
6778
6778
  {
@@ -6807,7 +6807,7 @@ function Lu(e, n, l, t, a, o) {
6807
6807
  name: "label",
6808
6808
  fn: de(() => [
6809
6809
  Ke(
6810
- Te(t.label) + " ",
6810
+ Oe(t.label) + " ",
6811
6811
  1
6812
6812
  /* TEXT */
6813
6813
  ),
@@ -6823,7 +6823,7 @@ function Lu(e, n, l, t, a, o) {
6823
6823
  } : void 0
6824
6824
  ]), 1040, ["id", "modelValue", "label", "hint", "error", "error-message", "disable", "readonly", "required"]);
6825
6825
  }
6826
- const Hu = /* @__PURE__ */ lt(Au, [["render", Lu], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarDateField.vue"]]), na = {
6826
+ const Hu = /* @__PURE__ */ lt(Au, [["render", Ru], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarDateField.vue"]]), na = {
6827
6827
  left: !0,
6828
6828
  right: !0,
6829
6829
  up: !0,
@@ -6880,7 +6880,7 @@ function Sl(e, n, l) {
6880
6880
  };
6881
6881
  }
6882
6882
  let Qu = 0;
6883
- const Nu = Rl(
6883
+ const Nu = Ll(
6884
6884
  {
6885
6885
  name: "touch-pan",
6886
6886
  beforeMount(e, { value: n, modifiers: l }) {
@@ -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) && (Vt(a, "temp", [
6898
+ Xa(o, a) && Wr(o) && (Tt(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
- Vt(a, "temp", [
6906
+ Tt(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
- Vt(a, "main", [
6992
+ Tt(a, "main", [
6993
6993
  [e, "mousedown", "mouseStart", `passive${o}`]
6994
6994
  ]);
6995
6995
  }
6996
- ze.has.touch === !0 && Vt(a, "main", [
6996
+ ze.has.touch === !0 && Tt(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)
@@ -7022,7 +7022,7 @@ function Ku() {
7022
7022
  millisecond: e.getMilliseconds()
7023
7023
  };
7024
7024
  }
7025
- const Zo = Oe({
7025
+ const Zo = Te({
7026
7026
  name: "QTime",
7027
7027
  props: {
7028
7028
  ..._t,
@@ -7055,50 +7055,50 @@ 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()), A = s(() => le()), R = wn(
7058
+ const S = K(null), k = s(() => ne()), y = s(() => d()), L = 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
- A.value
7066
- ), x = K(Yu(R)), g = K(R), O = K(R.hour === null || R.hour < 12), I = s(
7065
+ L.value
7066
+ ), x = K(Yu(R)), g = K(R), O = K(R.hour === null || R.hour < 12), P = 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
- const D = g.value;
7069
+ const I = g.value;
7070
7070
  return {
7071
- hour: D.hour === null ? "--" : L.value === !0 ? pe(D.hour) : String(
7072
- O.value === !0 ? D.hour === 0 ? 12 : D.hour : D.hour > 12 ? D.hour - 12 : D.hour
7071
+ hour: I.hour === null ? "--" : H.value === !0 ? pe(I.hour) : String(
7072
+ O.value === !0 ? I.hour === 0 ? 12 : I.hour : I.hour > 12 ? I.hour - 12 : I.hour
7073
7073
  ),
7074
- minute: D.minute === null ? "--" : pe(D.minute),
7075
- second: D.second === null ? "--" : pe(D.second)
7074
+ minute: I.minute === null ? "--" : pe(I.minute),
7075
+ second: I.second === null ? "--" : pe(I.second)
7076
7076
  };
7077
- }), L = s(() => e.format24h !== null ? e.format24h : a.lang.date.format24h), te = s(() => {
7078
- const D = x.value === "hour", Q = D === !0 ? 12 : 60, ae = g.value[x.value];
7077
+ }), H = s(() => e.format24h !== null ? e.format24h : a.lang.date.format24h), te = s(() => {
7078
+ const I = x.value === "hour", Q = I === !0 ? 12 : 60, ae = g.value[x.value];
7079
7079
  let _e = `rotate(${Math.round(ae * (360 / Q)) - 180}deg) translateX(-50%)`;
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), 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(() => {
7080
+ return I === !0 && H.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 ? (I) => e.hourOptions.includes(I) : e.options !== void 0 ? (I) => e.options(I, null, null) : null), D = s(() => e.minuteOptions !== void 0 ? (I) => e.minuteOptions.includes(I) : e.options !== void 0 ? (I) => e.options(g.value.hour, I, null) : null), B = s(() => e.secondOptions !== void 0 ? (I) => e.secondOptions.includes(I) : e.options !== void 0 ? (I) => e.options(g.value.hour, g.value.minute, I) : null), z = s(() => {
7082
7082
  if (V.value === null)
7083
7083
  return null;
7084
- const D = _(0, 11, V.value), Q = _(12, 11, V.value);
7085
- return { am: D, pm: Q, values: D.values.concat(Q.values) };
7086
- }), X = s(() => P.value !== null ? _(0, 59, P.value) : null), H = s(() => B.value !== null ? _(0, 59, B.value) : null), F = s(() => {
7084
+ const I = _(0, 11, V.value), Q = _(12, 11, V.value);
7085
+ return { am: I, pm: Q, values: I.values.concat(Q.values) };
7086
+ }), W = s(() => D.value !== null ? _(0, 59, D.value) : null), A = 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;
7090
7090
  case "minute":
7091
- return X.value;
7091
+ return W.value;
7092
7092
  case "second":
7093
- return H.value;
7093
+ return A.value;
7094
7094
  }
7095
7095
  }), $ = s(() => {
7096
- let D, Q, ae = 0, se = 1;
7096
+ let I, Q, ae = 0, se = 1;
7097
7097
  const _e = F.value !== null ? F.value.values : void 0;
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);
7098
+ x.value === "hour" ? H.value === !0 ? (I = 0, Q = 23) : (I = 0, Q = 11, O.value === !1 && (ae = 12)) : (I = 0, Q = 55, se = 5);
7099
7099
  const We = [];
7100
- for (let fe = D, Ce = D; fe <= Q; fe += se, Ce++) {
7101
- const Ne = fe + ae, zt = (_e == null ? void 0 : _e.includes(Ne)) === !1, Et = x.value === "hour" && fe === 0 ? L.value === !0 ? "00" : "12" : fe;
7100
+ for (let fe = I, Ce = I; fe <= Q; fe += se, Ce++) {
7101
+ const Ne = fe + ae, zt = (_e == null ? void 0 : _e.includes(Ne)) === !1, Et = x.value === "hour" && fe === 0 ? H.value === !0 ? "00" : "12" : fe;
7102
7102
  We.push({ val: Ne, index: Ce, disable: zt, label: Et });
7103
7103
  }
7104
7104
  return We;
@@ -7112,30 +7112,30 @@ const Zo = Oe({
7112
7112
  mouse: !0
7113
7113
  }
7114
7114
  ]]);
7115
- oe(() => e.modelValue, (D) => {
7115
+ oe(() => e.modelValue, (I) => {
7116
7116
  const Q = wn(
7117
- D,
7117
+ I,
7118
7118
  k.value,
7119
7119
  y.value,
7120
7120
  e.calendar,
7121
- A.value
7121
+ L.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], () => {
7125
7125
  Be(() => {
7126
- Lt();
7126
+ Rt();
7127
7127
  });
7128
7128
  });
7129
7129
  function q() {
7130
- const D = {
7130
+ const I = {
7131
7131
  ...c(),
7132
7132
  ...Ku()
7133
7133
  };
7134
- Lt(D), Object.assign(g.value, D), x.value = "hour";
7134
+ Rt(I), Object.assign(g.value, I), x.value = "hour";
7135
7135
  }
7136
- function _(D, Q, ae) {
7136
+ function _(I, Q, ae) {
7137
7137
  const se = Array.apply(null, { length: Q + 1 }).map((_e, We) => {
7138
- const fe = We + D;
7138
+ const fe = We + I;
7139
7139
  return {
7140
7140
  index: fe,
7141
7141
  val: ae(fe) === !0
@@ -7149,68 +7149,68 @@ const Zo = Oe({
7149
7149
  threshold: Q + 1
7150
7150
  };
7151
7151
  }
7152
- function j(D, Q, ae) {
7153
- const se = Math.abs(D - Q);
7152
+ function j(I, Q, ae) {
7153
+ const se = Math.abs(I - Q);
7154
7154
  return Math.min(se, ae - se);
7155
7155
  }
7156
- function Y(D, { min: Q, max: ae, values: se, threshold: _e }) {
7157
- if (D === Q)
7156
+ function Y(I, { min: Q, max: ae, values: se, threshold: _e }) {
7157
+ if (I === Q)
7158
7158
  return Q;
7159
- if (D < Q || D > ae)
7160
- return j(D, Q, _e) <= j(D, ae, _e) ? Q : ae;
7161
- const We = se.findIndex((Ne) => D <= Ne), fe = se[We - 1], Ce = se[We];
7162
- return D - fe <= Ce - D ? fe : Ce;
7159
+ if (I < Q || I > ae)
7160
+ return j(I, Q, _e) <= j(I, ae, _e) ? Q : ae;
7161
+ const We = se.findIndex((Ne) => I <= Ne), fe = se[We - 1], Ce = se[We];
7162
+ return I - fe <= Ce - I ? fe : Ce;
7163
7163
  }
7164
7164
  function ne() {
7165
7165
  return e.calendar !== "persian" && e.mask !== null ? e.mask : `HH:mm${e.withSeconds === !0 ? ":ss" : ""}`;
7166
7166
  }
7167
7167
  function le() {
7168
7168
  if (typeof e.defaultDate != "string") {
7169
- const D = c(!0);
7170
- return D.dateHash = Mt(D), D;
7169
+ const I = c(!0);
7170
+ return I.dateHash = Mt(I), I;
7171
7171
  }
7172
7172
  return wn(e.defaultDate, "YYYY/MM/DD", void 0, e.calendar);
7173
7173
  }
7174
7174
  function J() {
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);
7175
+ return Nl(t) === !0 || F.value !== null && (F.value.values.length === 0 || x.value === "hour" && H.value !== !0 && z.value[O.value === !0 ? "am" : "pm"].values.length === 0);
7176
7176
  }
7177
7177
  function ye() {
7178
- const D = S.value, { top: Q, left: ae, width: se } = D.getBoundingClientRect(), _e = se / 2;
7178
+ const I = S.value, { top: Q, left: ae, width: se } = I.getBoundingClientRect(), _e = se / 2;
7179
7179
  return {
7180
7180
  top: Q + _e,
7181
7181
  left: ae + _e,
7182
7182
  dist: _e * 0.7
7183
7183
  };
7184
7184
  }
7185
- function N(D) {
7185
+ function N(I) {
7186
7186
  if (J() !== !0) {
7187
- if (D.isFirst === !0) {
7188
- b = ye(), w = we(D.evt, b);
7187
+ if (I.isFirst === !0) {
7188
+ b = ye(), w = we(I.evt, b);
7189
7189
  return;
7190
7190
  }
7191
- w = we(D.evt, b, w), D.isFinal === !0 && (b = !1, w = null, Ee());
7191
+ w = we(I.evt, b, w), I.isFinal === !0 && (b = !1, w = null, Ee());
7192
7192
  }
7193
7193
  }
7194
7194
  function Ee() {
7195
7195
  x.value === "hour" ? x.value = "minute" : e.withSeconds && x.value === "minute" && (x.value = "second");
7196
7196
  }
7197
- function we(D, Q, ae) {
7198
- const se = vn(D), _e = Math.abs(se.top - Q.top), We = Math.sqrt(
7197
+ function we(I, Q, ae) {
7198
+ const se = vn(I), _e = Math.abs(se.top - Q.top), We = Math.sqrt(
7199
7199
  Math.pow(Math.abs(se.top - Q.top), 2) + Math.pow(Math.abs(se.left - Q.left), 2)
7200
7200
  );
7201
7201
  let fe, Ce = Math.asin(_e / We) * (180 / Math.PI);
7202
7202
  if (se.top < Q.top ? Ce = Q.left < se.left ? 90 - Ce : 270 + Ce : Ce = Q.left < se.left ? Ce + 90 : 270 - Ce, x.value === "hour") {
7203
7203
  if (fe = Ce / 30, z.value !== null) {
7204
- const Ne = L.value !== !0 ? O.value === !0 : z.value.am.values.length !== 0 && z.value.pm.values.length !== 0 ? We >= Q.dist : z.value.am.values.length !== 0;
7204
+ const Ne = H.value !== !0 ? O.value === !0 : z.value.am.values.length !== 0 && z.value.pm.values.length !== 0 ? We >= Q.dist : z.value.am.values.length !== 0;
7205
7205
  fe = Y(
7206
7206
  fe + (Ne === !0 ? 0 : 12),
7207
7207
  z.value[Ne === !0 ? "am" : "pm"]
7208
7208
  );
7209
7209
  } else
7210
- fe = Math.round(fe), L.value === !0 ? We < Q.dist ? fe < 12 && (fe += 12) : fe === 12 && (fe = 0) : O.value === !0 && fe === 12 ? fe = 0 : O.value === !1 && fe !== 12 && (fe += 12);
7211
- L.value === !0 && (O.value = fe < 12);
7210
+ fe = Math.round(fe), H.value === !0 ? We < Q.dist ? fe < 12 && (fe += 12) : fe === 12 && (fe = 0) : O.value === !0 && fe === 12 ? fe = 0 : O.value === !1 && fe !== 12 && (fe += 12);
7211
+ H.value === !0 && (O.value = fe < 12);
7212
7212
  } else
7213
- fe = Math.round(Ce / 6) % 60, x.value === "minute" && X.value !== null ? fe = Y(fe, X.value) : x.value === "second" && H.value !== null && (fe = Y(fe, H.value));
7213
+ fe = Math.round(Ce / 6) % 60, x.value === "minute" && W.value !== null ? fe = Y(fe, W.value) : x.value === "second" && A.value !== null && (fe = Y(fe, A.value));
7214
7214
  return ae !== fe && vt[x.value](fe), fe;
7215
7215
  }
7216
7216
  const Se = {
@@ -7224,25 +7224,25 @@ const Zo = Oe({
7224
7224
  x.value = "second";
7225
7225
  }
7226
7226
  };
7227
- function Qe(D) {
7228
- D.keyCode === 13 && pt();
7227
+ function Qe(I) {
7228
+ I.keyCode === 13 && pt();
7229
7229
  }
7230
- function yt(D) {
7231
- D.keyCode === 13 && tn();
7230
+ function yt(I) {
7231
+ I.keyCode === 13 && tn();
7232
7232
  }
7233
- function dt(D) {
7234
- J() !== !0 && (a.platform.is.desktop !== !0 && we(D, ye()), Ee());
7233
+ function dt(I) {
7234
+ J() !== !0 && (a.platform.is.desktop !== !0 && we(I, ye()), Ee());
7235
7235
  }
7236
- function Ge(D) {
7237
- J() !== !0 && we(D, ye());
7236
+ function Ge(I) {
7237
+ J() !== !0 && we(I, ye());
7238
7238
  }
7239
- function Le(D) {
7240
- if (D.keyCode === 13)
7239
+ function Re(I) {
7240
+ if (I.keyCode === 13)
7241
7241
  x.value = "hour";
7242
- else if ([37, 39].includes(D.keyCode)) {
7243
- const Q = D.keyCode === 37 ? -1 : 1;
7242
+ else if ([37, 39].includes(I.keyCode)) {
7243
+ const Q = I.keyCode === 37 ? -1 : 1;
7244
7244
  if (z.value !== null) {
7245
- const ae = L.value === !0 ? z.value.values : z.value[O.value === !0 ? "am" : "pm"].values;
7245
+ const ae = H.value === !0 ? z.value.values : z.value[O.value === !0 ? "am" : "pm"].values;
7246
7246
  if (ae.length === 0) return;
7247
7247
  if (g.value.hour === null)
7248
7248
  ft(ae[0]);
@@ -7251,18 +7251,18 @@ const Zo = Oe({
7251
7251
  ft(ae[se]);
7252
7252
  }
7253
7253
  } else {
7254
- const ae = L.value === !0 ? 24 : 12, se = L.value !== !0 && O.value === !1 ? 12 : 0, _e = g.value.hour === null ? -Q : g.value.hour;
7254
+ const ae = H.value === !0 ? 24 : 12, se = H.value !== !0 && O.value === !1 ? 12 : 0, _e = g.value.hour === null ? -Q : g.value.hour;
7255
7255
  ft(se + (24 + _e + Q) % ae);
7256
7256
  }
7257
7257
  }
7258
7258
  }
7259
- function qt(D) {
7260
- if (D.keyCode === 13)
7259
+ function qt(I) {
7260
+ if (I.keyCode === 13)
7261
7261
  x.value = "minute";
7262
- else if ([37, 39].includes(D.keyCode)) {
7263
- const Q = D.keyCode === 37 ? -1 : 1;
7264
- if (X.value !== null) {
7265
- const ae = X.value.values;
7262
+ else if ([37, 39].includes(I.keyCode)) {
7263
+ const Q = I.keyCode === 37 ? -1 : 1;
7264
+ if (W.value !== null) {
7265
+ const ae = W.value.values;
7266
7266
  if (ae.length === 0) return;
7267
7267
  if (g.value.minute === null)
7268
7268
  He(ae[0]);
@@ -7276,13 +7276,13 @@ const Zo = Oe({
7276
7276
  }
7277
7277
  }
7278
7278
  }
7279
- function Rt(D) {
7280
- if (D.keyCode === 13)
7279
+ function Lt(I) {
7280
+ if (I.keyCode === 13)
7281
7281
  x.value = "second";
7282
- else if ([37, 39].includes(D.keyCode)) {
7283
- const Q = D.keyCode === 37 ? -1 : 1;
7284
- if (H.value !== null) {
7285
- const ae = H.value.values;
7282
+ else if ([37, 39].includes(I.keyCode)) {
7283
+ const Q = I.keyCode === 37 ? -1 : 1;
7284
+ if (A.value !== null) {
7285
+ const ae = A.value.values;
7286
7286
  if (ae.length === 0) return;
7287
7287
  if (g.value.seconds === null)
7288
7288
  Ae(ae[0]);
@@ -7296,14 +7296,14 @@ const Zo = Oe({
7296
7296
  }
7297
7297
  }
7298
7298
  }
7299
- function ft(D) {
7300
- g.value.hour !== D && (g.value.hour = D, at());
7299
+ function ft(I) {
7300
+ g.value.hour !== I && (g.value.hour = I, at());
7301
7301
  }
7302
- function He(D) {
7303
- g.value.minute !== D && (g.value.minute = D, at());
7302
+ function He(I) {
7303
+ g.value.minute !== I && (g.value.minute = I, at());
7304
7304
  }
7305
- function Ae(D) {
7306
- g.value.second !== D && (g.value.second = D, at());
7305
+ function Ae(I) {
7306
+ g.value.second !== I && (g.value.second = I, at());
7307
7307
  }
7308
7308
  const vt = {
7309
7309
  hour: ft,
@@ -7316,27 +7316,27 @@ 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 Tt(D) {
7319
+ function Vt(I) {
7320
7320
  const Q = e.modelValue;
7321
- x.value !== D && Q !== void 0 && Q !== null && Q !== "" && typeof Q != "string" && (x.value = D);
7321
+ x.value !== I && Q !== void 0 && Q !== null && Q !== "" && typeof Q != "string" && (x.value = I);
7322
7322
  }
7323
7323
  function at() {
7324
7324
  if (V.value !== null && V.value(g.value.hour) !== !0) {
7325
- g.value = wn(), Tt("hour");
7325
+ g.value = wn(), Vt("hour");
7326
7326
  return;
7327
7327
  }
7328
- if (P.value !== null && P.value(g.value.minute) !== !0) {
7329
- g.value.minute = null, g.value.second = null, Tt("minute");
7328
+ if (D.value !== null && D.value(g.value.minute) !== !0) {
7329
+ g.value.minute = null, g.value.second = null, Vt("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, Tt("second");
7333
+ g.value.second = null, Vt("second");
7334
7334
  return;
7335
7335
  }
7336
- g.value.hour === null || g.value.minute === null || e.withSeconds === !0 && g.value.second === null || Lt();
7336
+ g.value.hour === null || g.value.minute === null || e.withSeconds === !0 && g.value.second === null || Rt();
7337
7337
  }
7338
- function Lt(D) {
7339
- const Q = Object.assign({ ...g.value }, D), ae = e.calendar === "persian" ? pe(Q.hour) + ":" + pe(Q.minute) + (e.withSeconds === !0 ? ":" + pe(Q.second) : "") : Wo(
7338
+ function Rt(I) {
7339
+ const Q = Object.assign({ ...g.value }, I), ae = e.calendar === "persian" ? pe(Q.hour) + ":" + pe(Q.minute) + (e.withSeconds === !0 ? ":" + pe(Q.second) : "") : Wo(
7340
7340
  new Date(
7341
7341
  Q.year,
7342
7342
  Q.month === null ? null : Q.month - 1,
@@ -7354,12 +7354,12 @@ const Zo = Oe({
7354
7354
  Q.changed = ae !== e.modelValue, l("update:modelValue", ae, Q);
7355
7355
  }
7356
7356
  function Ht() {
7357
- const D = [
7357
+ const I = [
7358
7358
  h("div", {
7359
7359
  class: "q-time__link " + (x.value === "hour" ? "q-time__link--active" : "cursor-pointer"),
7360
7360
  tabindex: i.value,
7361
7361
  onClick: Se.hour,
7362
- onKeyup: Le
7362
+ onKeyup: Re
7363
7363
  }, C.value.hour),
7364
7364
  h("div", ":"),
7365
7365
  h(
@@ -7373,14 +7373,14 @@ const Zo = Oe({
7373
7373
  C.value.minute
7374
7374
  )
7375
7375
  ];
7376
- e.withSeconds === !0 && D.push(
7376
+ e.withSeconds === !0 && I.push(
7377
7377
  h("div", ":"),
7378
7378
  h(
7379
7379
  "div",
7380
7380
  M.value === !0 ? {
7381
7381
  class: "q-time__link " + (x.value === "second" ? "q-time__link--active" : "cursor-pointer"),
7382
7382
  tabindex: i.value,
7383
- onKeyup: Rt,
7383
+ onKeyup: Lt,
7384
7384
  onClick: Se.second
7385
7385
  } : { class: "q-time__link" },
7386
7386
  C.value.second
@@ -7390,9 +7390,9 @@ const Zo = Oe({
7390
7390
  h("div", {
7391
7391
  class: "q-time__header-label row items-center no-wrap",
7392
7392
  dir: "ltr"
7393
- }, D)
7393
+ }, I)
7394
7394
  ];
7395
- return L.value === !1 && Q.push(
7395
+ return H.value === !1 && Q.push(
7396
7396
  h("div", {
7397
7397
  class: "q-time__header-ampm column items-between no-wrap"
7398
7398
  }, [
@@ -7414,7 +7414,7 @@ const Zo = Oe({
7414
7414
  }, Q);
7415
7415
  }
7416
7416
  function ot() {
7417
- const D = g.value[x.value];
7417
+ const I = g.value[x.value];
7418
7418
  return h("div", {
7419
7419
  class: "q-time__content col relative-position"
7420
7420
  }, [
@@ -7440,7 +7440,7 @@ const Zo = Oe({
7440
7440
  style: te.value
7441
7441
  }),
7442
7442
  $.value.map((Q) => h("div", {
7443
- class: `q-time__clock-position row flex-center q-time__clock-pos-${Q.index}` + (Q.val === D ? " q-time__clock-position--active " + r.value : Q.disable === !0 ? " q-time__clock-position--disable" : "")
7443
+ class: `q-time__clock-position row flex-center q-time__clock-pos-${Q.index}` + (Q.val === I ? " q-time__clock-position--active " + r.value : Q.disable === !0 ? " q-time__clock-position--disable" : "")
7444
7444
  }, [h("span", Q.label)]))
7445
7445
  ])
7446
7446
  ]),
@@ -7462,15 +7462,15 @@ const Zo = Oe({
7462
7462
  ]);
7463
7463
  }
7464
7464
  return t.proxy.setNow = q, () => {
7465
- const D = [ot()], Q = Ue(n.default);
7466
- return Q !== void 0 && D.push(
7465
+ const I = [ot()], Q = Ue(n.default);
7466
+ return Q !== void 0 && I.push(
7467
7467
  h("div", { class: "q-time__actions" }, Q)
7468
- ), e.name !== void 0 && e.disable !== !0 && v(D, "push"), h("div", {
7469
- class: I.value,
7468
+ ), e.name !== void 0 && e.disable !== !0 && v(I, "push"), h("div", {
7469
+ class: P.value,
7470
7470
  tabindex: -1
7471
7471
  }, [
7472
7472
  Ht(),
7473
- h("div", { class: "q-time__main col overflow-auto" }, D)
7473
+ h("div", { class: "q-time__main col overflow-auto" }, I)
7474
7474
  ]);
7475
7475
  };
7476
7476
  }
@@ -7573,7 +7573,7 @@ function Xu(e, n, l, t, a, o) {
7573
7573
  name: "label",
7574
7574
  fn: de(() => [
7575
7575
  Ke(
7576
- Te(t.label) + " ",
7576
+ Oe(t.label) + " ",
7577
7577
  1
7578
7578
  /* TEXT */
7579
7579
  ),
@@ -7589,7 +7589,7 @@ function Xu(e, n, l, t, a, o) {
7589
7589
  } : void 0
7590
7590
  ]), 1040, ["id", "modelValue", "label", "hint", "error", "error-message", "disable", "readonly", "required"]);
7591
7591
  }
7592
- const Zu = /* @__PURE__ */ lt(Uu, [["render", Xu], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarTimeField.vue"]]), la = Oe({
7592
+ const Zu = /* @__PURE__ */ lt(Uu, [["render", Xu], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarTimeField.vue"]]), la = Te({
7593
7593
  name: "QCard",
7594
7594
  props: {
7595
7595
  ..._t,
@@ -7607,14 +7607,14 @@ const Zu = /* @__PURE__ */ lt(Uu, [["render", Xu], ["__file", "/Users/zachsherbo
7607
7607
  );
7608
7608
  return () => h(e.tag, { class: a.value }, Ue(n.default));
7609
7609
  }
7610
- }), $u = Oe({
7610
+ }), $u = Te({
7611
7611
  name: "QCardActions",
7612
7612
  props: {
7613
- ...Ro,
7613
+ ...Lo,
7614
7614
  vertical: Boolean
7615
7615
  },
7616
7616
  setup(e, { slots: n }) {
7617
- const l = Lo(e), t = s(
7617
+ const l = Ro(e), t = s(
7618
7618
  () => `q-card__actions ${l.value} q-card__actions--${e.vertical === !0 ? "vert column" : "horiz row"}`
7619
7619
  );
7620
7620
  return () => h("div", { class: t.value }, Ue(n.default));
@@ -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
- }, Pl = Oe({
7632
+ }, Pl = Te({
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 A = /* @__PURE__ */ new Date(), R = A.getFullYear(), x = String(A.getMonth() + 1).padStart(2, "0"), g = String(A.getDate()).padStart(2, "0");
7683
+ const L = /* @__PURE__ */ new Date(), R = L.getFullYear(), x = String(L.getMonth() + 1).padStart(2, "0"), g = String(L.getDate()).padStart(2, "0");
7684
7684
  if (w.value) {
7685
- const O = String(A.getHours()).padStart(2, "0"), I = String(A.getMinutes()).padStart(2, "0");
7686
- t.value = `${R}-${x}-${g} ${O}:${I}`;
7685
+ const O = String(L.getHours()).padStart(2, "0"), P = String(L.getMinutes()).padStart(2, "0");
7686
+ t.value = `${R}-${x}-${g} ${O}:${P}`;
7687
7687
  } else {
7688
- let O = A.getHours();
7689
- const I = O >= 12 ? "PM" : "AM";
7688
+ let O = L.getHours();
7689
+ const P = O >= 12 ? "PM" : "AM";
7690
7690
  O = O % 12 || 12;
7691
- const C = String(A.getMinutes()).padStart(2, "0");
7692
- t.value = `${R}-${x}-${g} ${O}:${C} ${I}`;
7691
+ const C = String(L.getMinutes()).padStart(2, "0");
7692
+ t.value = `${R}-${x}-${g} ${O}:${C} ${P}`;
7693
7693
  }
7694
7694
  }, get QInput() {
7695
7695
  return en;
@@ -7810,7 +7810,7 @@ function ts(e, n, l, t, a, o) {
7810
7810
  name: "label",
7811
7811
  fn: de(() => [
7812
7812
  Ke(
7813
- Te(t.label) + " ",
7813
+ Oe(t.label) + " ",
7814
7814
  1
7815
7815
  /* TEXT */
7816
7816
  ),
@@ -7826,7 +7826,7 @@ function ts(e, n, l, t, a, o) {
7826
7826
  } : void 0
7827
7827
  ]), 1040, ["id", "modelValue", "label", "hint", "error", "error-message", "disable", "readonly", "required"]);
7828
7828
  }
7829
- const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a3"], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarDateTimeField.vue"]]), ls = Oe({
7829
+ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a3"], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarDateTimeField.vue"]]), ls = Te({
7830
7830
  name: "QSlideTransition",
7831
7831
  props: {
7832
7832
  appear: Boolean,
@@ -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, 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;
7844
+ function v(k, y, L) {
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 = L;
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 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(() => {
7851
+ let L = 0;
7852
+ o = k, t === !0 ? (u(), L = k.offsetHeight === k.scrollHeight ? 0 : void 0) : (c = "hide", k.style.overflowY = "hidden"), v(k, L, 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 A;
7860
- o = k, t === !0 ? u() : (c = "show", k.style.overflowY = "hidden", A = k.scrollHeight), v(k, A, y), i = setTimeout(() => {
7859
+ let L;
7860
+ o = k, t === !0 ? u() : (c = "show", k.style.overflowY = "hidden", L = k.scrollHeight), v(k, L, 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);
@@ -7872,7 +7872,7 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7872
7872
  onLeave: S
7873
7873
  }, n.default);
7874
7874
  }
7875
- }), Yt = wr({}), as = Object.keys(Yl), os = Oe({
7875
+ }), Yt = wr({}), as = Object.keys(Yl), os = Te({
7876
7876
  name: "QExpansionItem",
7877
7877
  props: {
7878
7878
  ...Yl,
@@ -7920,11 +7920,11 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7920
7920
  }), k = s(
7921
7921
  () => e.disable !== !0 && (e.href !== void 0 || e.to !== void 0 && e.to !== null && e.to !== "")
7922
7922
  ), y = s(() => {
7923
- const H = {};
7923
+ const A = {};
7924
7924
  return as.forEach((F) => {
7925
- H[F] = e[F];
7926
- }), H;
7927
- }), A = s(
7925
+ A[F] = e[F];
7926
+ }), A;
7927
+ }), L = 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)
@@ -7935,26 +7935,26 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7935
7935
  show: d,
7936
7936
  hide: c
7937
7937
  })), O = s(() => {
7938
- const H = e.toggleAriaLabel !== void 0 ? e.toggleAriaLabel : t.lang.label[o.value === !0 ? "collapse" : "expand"](e.label);
7938
+ const A = e.toggleAriaLabel !== void 0 ? e.toggleAriaLabel : t.lang.label[o.value === !0 ? "collapse" : "expand"](e.label);
7939
7939
  return {
7940
7940
  role: "button",
7941
7941
  "aria-expanded": o.value === !0 ? "true" : "false",
7942
7942
  "aria-controls": r.value,
7943
- "aria-label": H
7943
+ "aria-label": A
7944
7944
  };
7945
7945
  });
7946
- oe(() => e.group, (H) => {
7947
- b == null || b(), H !== void 0 && M();
7946
+ oe(() => e.group, (A) => {
7947
+ b == null || b(), A !== void 0 && M();
7948
7948
  });
7949
- function I(H) {
7950
- k.value !== !0 && u(H), l("click", H);
7949
+ function P(A) {
7950
+ k.value !== !0 && u(A), l("click", A);
7951
7951
  }
7952
- function C(H) {
7953
- H.keyCode === 13 && L(H, !0);
7952
+ function C(A) {
7953
+ A.keyCode === 13 && H(A, !0);
7954
7954
  }
7955
- function L(H, F) {
7955
+ function H(A, F) {
7956
7956
  var $;
7957
- F !== !0 && H.qAvoidFocus !== !0 && (($ = i.value) == null || $.focus()), u(H), Pe(H);
7957
+ F !== !0 && A.qAvoidFocus !== !0 && (($ = i.value) == null || $.focus()), u(A), Pe(A);
7958
7958
  }
7959
7959
  function te() {
7960
7960
  l("afterShow");
@@ -7963,8 +7963,8 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7963
7963
  l("afterHide");
7964
7964
  }
7965
7965
  function M() {
7966
- v === void 0 && (v = Ln()), o.value === !0 && (Yt[e.group] = v);
7967
- const H = oe(o, ($) => {
7966
+ v === void 0 && (v = Rn()), o.value === !0 && (Yt[e.group] = v);
7967
+ const A = oe(o, ($) => {
7968
7968
  $ === !0 ? Yt[e.group] = v : Yt[e.group] === v && delete Yt[e.group];
7969
7969
  }), F = oe(
7970
7970
  () => Yt[e.group],
@@ -7973,11 +7973,11 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7973
7973
  }
7974
7974
  );
7975
7975
  b = () => {
7976
- H(), F(), Yt[e.group] === v && delete Yt[e.group], b = void 0;
7976
+ A(), F(), Yt[e.group] === v && delete Yt[e.group], b = void 0;
7977
7977
  };
7978
7978
  }
7979
7979
  function V() {
7980
- const H = {
7980
+ const A = {
7981
7981
  class: [
7982
7982
  `q-focusable relative-position cursor-pointer${e.denseToggle === !0 && e.switchToggleSide === !0 ? " items-end" : ""}`,
7983
7983
  e.expandIconClass
@@ -7990,10 +7990,10 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
7990
7990
  name: R.value
7991
7991
  })
7992
7992
  ];
7993
- return x.value === !0 && (Object.assign(H, {
7993
+ return x.value === !0 && (Object.assign(A, {
7994
7994
  tabindex: 0,
7995
7995
  ...O.value,
7996
- onClick: L,
7996
+ onClick: H,
7997
7997
  onKeyup: C
7998
7998
  }), F.unshift(
7999
7999
  h("div", {
@@ -8001,26 +8001,26 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
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, () => F);
8004
+ )), h(Dn, A, () => F);
8005
8005
  }
8006
- function P() {
8007
- let H;
8008
- return n.header !== void 0 ? H = [].concat(n.header(g.value)) : (H = [
8006
+ function D() {
8007
+ let A;
8008
+ return n.header !== void 0 ? A = [].concat(n.header(g.value)) : (A = [
8009
8009
  h(Dn, () => [
8010
- h(Vl, { lines: e.labelLines }, () => e.label || ""),
8011
- e.caption ? h(Vl, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
8010
+ h(Tl, { lines: e.labelLines }, () => e.label || ""),
8011
+ e.caption ? h(Tl, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
8012
8012
  ])
8013
- ], e.icon && H[e.switchToggleSide === !0 ? "push" : "unshift"](
8013
+ ], e.icon && A[e.switchToggleSide === !0 ? "push" : "unshift"](
8014
8014
  h(Dn, {
8015
8015
  side: e.switchToggleSide === !0,
8016
8016
  avatar: e.switchToggleSide !== !0
8017
8017
  }, () => h(Je, { name: e.icon }))
8018
- )), e.disable !== !0 && e.hideExpandIcon !== !0 && H[e.switchToggleSide === !0 ? "unshift" : "push"](
8018
+ )), e.disable !== !0 && e.hideExpandIcon !== !0 && A[e.switchToggleSide === !0 ? "unshift" : "push"](
8019
8019
  V()
8020
- ), H;
8020
+ ), A;
8021
8021
  }
8022
8022
  function B() {
8023
- const H = {
8023
+ const A = {
8024
8024
  ref: "item",
8025
8025
  style: e.headerStyle,
8026
8026
  class: e.headerClass,
@@ -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 A.value === !0 && (H.clickable = !0, H.onClick = I, Object.assign(
8033
- H,
8032
+ return L.value === !0 && (A.clickable = !0, A.onClick = P, Object.assign(
8033
+ A,
8034
8034
  k.value === !0 ? y.value : O.value
8035
- )), h(_o, H, P);
8035
+ )), h(_o, A, D);
8036
8036
  }
8037
8037
  function z() {
8038
8038
  return Jt(
@@ -8048,8 +8048,8 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
8048
8048
  ]]
8049
8049
  );
8050
8050
  }
8051
- function X() {
8052
- const H = [
8051
+ function W() {
8052
+ const A = [
8053
8053
  B(),
8054
8054
  h(ls, {
8055
8055
  duration: e.duration,
@@ -8057,7 +8057,7 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
8057
8057
  onHide: T
8058
8058
  }, z)
8059
8059
  ];
8060
- return e.expandSeparator === !0 && H.push(
8060
+ return e.expandSeparator === !0 && A.push(
8061
8061
  h(Pl, {
8062
8062
  class: "q-expansion-item__border q-expansion-item__border--top absolute-top",
8063
8063
  dark: a.value
@@ -8066,12 +8066,12 @@ const ns = /* @__PURE__ */ lt(Gu, [["render", ts], ["__scopeId", "data-v-76abc7a
8066
8066
  class: "q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",
8067
8067
  dark: a.value
8068
8068
  })
8069
- ), H;
8069
+ ), A;
8070
8070
  }
8071
8071
  return e.group !== void 0 && M(), je(() => {
8072
8072
  b == null || b();
8073
8073
  }), () => h("div", { class: w.value }, [
8074
- h("div", { class: "q-expansion-item__container relative-position" }, X())
8074
+ h("div", { class: "q-expansion-item__container relative-position" }, W())
8075
8075
  ]);
8076
8076
  }
8077
8077
  }), rs = /* @__PURE__ */ tt({
@@ -8122,7 +8122,7 @@ function ds(e, n, l, t, a, o) {
8122
8122
  header: de(() => [
8123
8123
  Ve("div", is, [
8124
8124
  Ke(
8125
- Te(t.label) + " ",
8125
+ Oe(t.label) + " ",
8126
8126
  1
8127
8127
  /* TEXT */
8128
8128
  ),
@@ -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
- Te(t.errorMessage),
8150
+ Oe(t.errorMessage),
8151
8151
  1
8152
8152
  /* TEXT */
8153
8153
  )) : he("v-if", !0)
@@ -8157,7 +8157,7 @@ function ds(e, n, l, t, a, o) {
8157
8157
  /* STABLE */
8158
8158
  }, 16, ["id", "label", "caption"]);
8159
8159
  }
8160
- const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarObjectField.vue"]]), An = Oe({
8160
+ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarObjectField.vue"]]), An = Te({
8161
8161
  name: "QTooltip",
8162
8162
  inheritAttrs: !1,
8163
8163
  props: {
@@ -8211,15 +8211,15 @@ 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: 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({
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: L } = Wl(e), { localScrollTarget: R, changeScrollEvent: x, unconfigureScrollTarget: g } = qo(e, ve), { anchorEl: O, canShow: P, anchorEvents: C } = Kl({ showing: c, configureAnchorEl: $ }), { show: H, hide: te } = ll({
8215
8215
  showing: c,
8216
- canShow: I,
8217
- handleShow: P,
8216
+ canShow: P,
8217
+ handleShow: D,
8218
8218
  handleHide: B,
8219
8219
  hideOnRouteChange: b,
8220
8220
  processOnMount: !0
8221
8221
  });
8222
- Object.assign(C, { delayShow: H, delayHide: F });
8222
+ Object.assign(C, { delayShow: A, 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 = {
@@ -8241,12 +8241,12 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8241
8241
  Nn(j);
8242
8242
  });
8243
8243
  }
8244
- function P(j) {
8244
+ function D(j) {
8245
8245
  T(), w(() => {
8246
- o = new MutationObserver(() => X()), o.observe(d.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), X(), ve();
8246
+ o = new MutationObserver(() => W()), o.observe(d.value, { attributes: !1, childList: !0, characterData: !0, subtree: !0 }), W(), ve();
8247
8247
  }), a === void 0 && (a = oe(
8248
8248
  () => r.screen.width + "|" + r.screen.height + "|" + e.self + "|" + e.anchor + "|" + r.lang.rtl,
8249
- X
8249
+ W
8250
8250
  )), k(() => {
8251
8251
  T(!0), l("show", j);
8252
8252
  }, e.transitionDuration);
@@ -8259,7 +8259,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8259
8259
  function z() {
8260
8260
  o !== void 0 && (o.disconnect(), o = void 0), a !== void 0 && (a(), a = void 0), g(), Wt(C, "tooltipTemp");
8261
8261
  }
8262
- function X() {
8262
+ function W() {
8263
8263
  $l({
8264
8264
  targetEl: d.value,
8265
8265
  offset: e.offset,
@@ -8270,14 +8270,14 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8270
8270
  maxWidth: e.maxWidth
8271
8271
  });
8272
8272
  }
8273
- function H(j) {
8273
+ function A(j) {
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
- Vt(C, "tooltipTemp", ne);
8277
+ Tt(C, "tooltipTemp", ne);
8278
8278
  }
8279
8279
  k(() => {
8280
- L(j);
8280
+ H(j);
8281
8281
  }, e.delay);
8282
8282
  }
8283
8283
  function F(j) {
@@ -8295,12 +8295,12 @@ 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
- Vt(C, "anchor", j);
8298
+ Tt(C, "anchor", j);
8299
8299
  }
8300
8300
  function ve() {
8301
8301
  if (O.value !== null || e.scrollTarget !== void 0) {
8302
8302
  R.value = Mo(O.value, e.scrollTarget);
8303
- const j = e.noParentEvent === !0 ? X : te;
8303
+ const j = e.noParentEvent === !0 ? W : te;
8304
8304
  x(R.value, j);
8305
8305
  }
8306
8306
  }
@@ -8314,7 +8314,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8314
8314
  ],
8315
8315
  style: [
8316
8316
  t.style,
8317
- A.value
8317
+ L.value
8318
8318
  ],
8319
8319
  role: "tooltip"
8320
8320
  }, Ue(n.default)) : null;
@@ -8322,9 +8322,9 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8322
8322
  function _() {
8323
8323
  return h(it, y.value, q);
8324
8324
  }
8325
- return je(z), Object.assign(i.proxy, { updatePosition: X }), V;
8325
+ return je(z), Object.assign(i.proxy, { updatePosition: W }), V;
8326
8326
  }
8327
- }), $o = Oe({
8327
+ }), $o = Te({
8328
8328
  name: "QCardSection",
8329
8329
  props: {
8330
8330
  tag: {
@@ -8362,7 +8362,7 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8362
8362
  "card"
8363
8363
  )), v = s(() => {
8364
8364
  var B, z;
8365
- const C = ((B = r == null ? void 0 : r.quickformsDefaults) == null ? void 0 : B.array) || {}, L = l.schema["x-quickforms-quasar"] || {}, te = L.addButtonPosition ?? C.addButtonPosition ?? "bottom-left", T = {
8365
+ const C = ((B = r == null ? void 0 : r.quickformsDefaults) == null ? void 0 : B.array) || {}, H = l.schema["x-quickforms-quasar"] || {}, te = H.addButtonPosition ?? C.addButtonPosition ?? "bottom-left", T = {
8366
8366
  outline: !0,
8367
8367
  color: "primary",
8368
8368
  icon: "add",
@@ -8377,16 +8377,16 @@ const fs = /* @__PURE__ */ lt(rs, [["render", ds], ["__file", "/Users/zachsherbo
8377
8377
  }, V = {
8378
8378
  ...T,
8379
8379
  ...C.addButton || {},
8380
- ...L.addButton || {}
8381
- }, P = {
8380
+ ...H.addButton || {}
8381
+ }, D = {
8382
8382
  ...M,
8383
8383
  ...C.removeButton || {},
8384
- ...L.removeButton || {}
8384
+ ...H.removeButton || {}
8385
8385
  };
8386
8386
  return {
8387
8387
  addButtonPosition: te,
8388
8388
  addButton: V,
8389
- removeButton: P
8389
+ removeButton: D
8390
8390
  };
8391
8391
  }), b = s(() => {
8392
8392
  const C = v.value.addButtonPosition;
@@ -8401,30 +8401,30 @@ 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
- }, A = (C) => {
8405
- const L = [...S.value];
8406
- L.splice(C, 1), t.value = L;
8407
- }, R = (C, L) => {
8408
- if (L === "up" && C === 0 || L === "down" && C === S.value.length - 1) return;
8409
- const te = [...S.value], T = L === "up" ? C - 1 : C + 1, M = te[C];
8404
+ }, L = (C) => {
8405
+ const H = [...S.value];
8406
+ H.splice(C, 1), t.value = H;
8407
+ }, R = (C, H) => {
8408
+ if (H === "up" && C === 0 || H === "down" && C === S.value.length - 1) return;
8409
+ const te = [...S.value], T = H === "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)), 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) => {
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)), P = { 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: L, moveItem: R, canAdd: x, canRemove: g, getItemLabel: (C) => {
8412
8412
  var T;
8413
- const L = l.schema["x-item-label"];
8414
- if (L === "none" || L === !1)
8413
+ const H = l.schema["x-item-label"];
8414
+ if (H === "none" || H === !1)
8415
8415
  return "";
8416
- if (typeof L == "string" && L.includes("{{")) {
8416
+ if (typeof H == "string" && H.includes("{{")) {
8417
8417
  const M = S.value[C];
8418
8418
  if (typeof M == "object" && M !== null) {
8419
- let V = L, P = !1;
8419
+ let V = H, D = !1;
8420
8420
  if (V = V.replace(/\{\{([^}]+)\}\}/g, (B, z) => {
8421
- const X = M[z.trim()];
8422
- return X != null && X !== "" ? (P = !0, String(X)) : "";
8423
- }), V = V.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), P && V.trim())
8421
+ const W = M[z.trim()];
8422
+ return W != null && W !== "" ? (D = !0, String(W)) : "";
8423
+ }), V = V.replace(/^\s*-\s*/, "").replace(/\s*-\s*$/, ""), D && V.trim())
8424
8424
  return V.trim();
8425
8425
  }
8426
8426
  }
8427
- return `${((T = k.value) == null ? void 0 : T.title) || "Item"} #${C + 1}`;
8427
+ return `${((T = k.value) == null ? void 0 : T.title) || "Item"} ${C + 1}`;
8428
8428
  }, get QCard() {
8429
8429
  return la;
8430
8430
  }, get QCardSection() {
@@ -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(I, "__isScriptSetup", { enumerable: !1, value: !0 }), I;
8437
+ return Object.defineProperty(P, "__isScriptSetup", { enumerable: !1, value: !0 }), P;
8438
8438
  }
8439
8439
  }), ms = ["id"], hs = { style: { "font-weight": "500" } }, gs = {
8440
8440
  key: 0,
@@ -8459,7 +8459,7 @@ function xs(e, n, l, t, a, o) {
8459
8459
  "div",
8460
8460
  {
8461
8461
  key: 0,
8462
- style: Rn({
8462
+ style: Ln({
8463
8463
  display: "flex",
8464
8464
  alignItems: "center",
8465
8465
  justifyContent: t.isTopPosition && t.isRightPosition ? "space-between" : "flex-start",
@@ -8469,7 +8469,7 @@ function xs(e, n, l, t, a, o) {
8469
8469
  [
8470
8470
  Ve("div", hs, [
8471
8471
  Ke(
8472
- Te(t.label) + " ",
8472
+ Oe(t.label) + " ",
8473
8473
  1
8474
8474
  /* TEXT */
8475
8475
  ),
@@ -8496,7 +8496,7 @@ function xs(e, n, l, t, a, o) {
8496
8496
  t.hint ? (re(), ge(
8497
8497
  "div",
8498
8498
  ps,
8499
- Te(t.hint),
8499
+ Oe(t.hint),
8500
8500
  1
8501
8501
  /* TEXT */
8502
8502
  )) : he("v-if", !0),
@@ -8593,7 +8593,7 @@ function xs(e, n, l, t, a, o) {
8593
8593
  var u, v;
8594
8594
  return [
8595
8595
  Ke(
8596
- Te(((v = (u = t.formContext) == null ? void 0 : u.labels) == null ? void 0 : v.removeItem) || "Remove"),
8596
+ Oe(((v = (u = t.formContext) == null ? void 0 : u.labels) == null ? void 0 : v.removeItem) || "Remove"),
8597
8597
  1
8598
8598
  /* TEXT */
8599
8599
  )
@@ -8631,7 +8631,7 @@ function xs(e, n, l, t, a, o) {
8631
8631
  "div",
8632
8632
  {
8633
8633
  key: 1,
8634
- style: Rn({ textAlign: t.isRightPosition ? "right" : "left" })
8634
+ style: Ln({ textAlign: t.isRightPosition ? "right" : "left" })
8635
8635
  },
8636
8636
  [
8637
8637
  ue(t.QBtn, Fe(t.quickformsFeatures.addButton, {
@@ -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
- Te(t.errorMessage),
8648
+ Oe(t.errorMessage),
8649
8649
  1
8650
8650
  /* TEXT */
8651
8651
  )) : he("v-if", !0)
@@ -8674,91 +8674,88 @@ 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 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 = {
8677
+ var W, A;
8678
+ const P = ((W = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : W.keyvalue) || {}, C = l.schema["x-quickforms-quasar"] || {}, H = C.addButtonPosition ?? P.addButtonPosition ?? "bottom-left", te = C.showHeaders ?? P.showHeaders ?? !1, T = C.keyLabel ?? P.keyLabel ?? "Key", M = C.valueLabel ?? P.valueLabel ?? "Value", V = {
8679
8679
  outline: !0,
8680
8680
  color: "primary",
8681
8681
  icon: "add",
8682
- label: ((B = c == null ? void 0 : c.labels) == null ? void 0 : B.addItem) || "Add Parameter",
8682
+ label: ((A = c == null ? void 0 : c.labels) == null ? void 0 : A.addItem) || "Add Parameter",
8683
8683
  size: "sm"
8684
- }, T = {
8684
+ }, D = {
8685
8685
  flat: !0,
8686
8686
  round: !0,
8687
8687
  dense: !0,
8688
8688
  size: "sm",
8689
8689
  icon: "close",
8690
8690
  color: "negative"
8691
- }, M = {
8692
- ...te,
8693
- ...I.addButton || {},
8691
+ }, B = {
8692
+ ...V,
8693
+ ...P.addButton || {},
8694
8694
  ...C.addButton || {}
8695
- }, V = {
8696
- ...T,
8697
- ...I.removeButton || {},
8695
+ }, z = {
8696
+ ...D,
8697
+ ...P.removeButton || {},
8698
8698
  ...C.removeButton || {}
8699
8699
  };
8700
- return console.log("KeyValueField Debug:", {
8701
- formContext: c,
8702
- globalDefaults: I,
8703
- schemaFeatures: C,
8704
- addButton: M,
8705
- removeButton: V
8706
- }), {
8707
- addButtonPosition: L,
8708
- addButton: M,
8709
- removeButton: V
8700
+ return {
8701
+ addButtonPosition: H,
8702
+ addButton: B,
8703
+ removeButton: z,
8704
+ showHeaders: te,
8705
+ keyLabel: T,
8706
+ valueLabel: M
8710
8707
  };
8711
8708
  }), w = s(() => {
8712
- const I = b.value.addButtonPosition;
8713
- return I === "top-left" || I === "top-right";
8709
+ const P = b.value.addButtonPosition;
8710
+ return P === "top-left" || P === "top-right";
8714
8711
  }), S = s(() => {
8715
- const I = b.value.addButtonPosition;
8716
- return I === "top-right" || I === "bottom-right";
8712
+ const P = b.value.addButtonPosition;
8713
+ return P === "top-right" || P === "bottom-right";
8717
8714
  }), k = s(() => b.value.addButtonPosition === "bottom-center");
8718
8715
  let y = 0;
8719
- const A = K([]), R = K(!1);
8716
+ const L = K([]), R = K(!1);
8720
8717
  oe(
8721
8718
  () => t.value,
8722
- (I) => {
8719
+ (P) => {
8723
8720
  if (R.value) {
8724
8721
  R.value = !1;
8725
8722
  return;
8726
8723
  }
8727
- I && typeof I == "object" && !Array.isArray(I) ? A.value = Object.entries(I).map(([C, L]) => ({
8724
+ P && typeof P == "object" && !Array.isArray(P) ? L.value = Object.entries(P).map(([C, H]) => ({
8728
8725
  key: C,
8729
- value: String(L),
8726
+ value: String(H),
8730
8727
  id: y++
8731
- })) : A.value.length || (A.value = []);
8728
+ })) : L.value.length || (L.value = []);
8732
8729
  },
8733
8730
  { immediate: !0 }
8734
8731
  ), oe(
8735
- A,
8736
- (I) => {
8732
+ L,
8733
+ (P) => {
8737
8734
  const C = {};
8738
- I.forEach((L) => {
8739
- L.key.trim() && (C[L.key] = L.value);
8735
+ P.forEach((H) => {
8736
+ H.key.trim() && (C[H.key] = H.value);
8740
8737
  }), R.value = !0, a(C);
8741
8738
  },
8742
8739
  { deep: !0 }
8743
8740
  );
8744
8741
  function x() {
8745
- A.value.push({ key: "", value: "", id: y++ });
8742
+ L.value.push({ key: "", value: "", id: y++ });
8746
8743
  }
8747
- function g(I) {
8748
- A.value = A.value.filter((C) => C.id !== I);
8744
+ function g(P) {
8745
+ L.value = L.value.filter((C) => C.id !== P);
8749
8746
  }
8750
8747
  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() {
8751
8748
  return y;
8752
- }, set nextId(I) {
8753
- y = I;
8754
- }, pairs: A, isInternalUpdate: R, addPair: x, removePair: g, get QInput() {
8749
+ }, set nextId(P) {
8750
+ y = P;
8751
+ }, pairs: L, isInternalUpdate: R, addPair: x, removePair: g, get QInput() {
8755
8752
  return en;
8756
8753
  }, get QBtn() {
8757
8754
  return Ze;
8758
8755
  } };
8759
8756
  return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
8760
8757
  }
8761
- }), Os = { class: "quickform-keyvalue-field" }, Vs = { class: "text-subtitle2" }, Ts = {
8758
+ }), Os = { class: "quickform-keyvalue-field" }, Ts = { class: "text-subtitle2" }, Vs = {
8762
8759
  key: 0,
8763
8760
  style: { color: "red", "margin-left": "0.25rem" }
8764
8761
  }, Es = {
@@ -8770,18 +8767,18 @@ const Cs = /* @__PURE__ */ lt(vs, [["render", xs], ["__file", "/Users/zachsherbo
8770
8767
  }, Fs = { class: "rounded-borders" }, Ps = {
8771
8768
  key: 0,
8772
8769
  class: "row items-center q-gutter-sm q-mb-sm"
8773
- }, Ds = {
8770
+ }, Ds = { class: "col text-weight-medium text-caption" }, Is = { class: "col text-weight-medium text-caption" }, As = {
8774
8771
  key: 3,
8775
8772
  class: "text-negative text-caption q-mt-xs"
8776
8773
  };
8777
- function Is(e, n, l, t, a, o) {
8774
+ function Ls(e, n, l, t, a, o) {
8778
8775
  return re(), ge("div", Os, [
8779
8776
  he(" Label with optional top-right button "),
8780
8777
  t.label ? (re(), ge(
8781
8778
  "div",
8782
8779
  {
8783
8780
  key: 0,
8784
- style: Rn({
8781
+ style: Ln({
8785
8782
  display: "flex",
8786
8783
  alignItems: "center",
8787
8784
  justifyContent: t.isTopPosition && t.isRightPosition ? "space-between" : "flex-start",
@@ -8789,13 +8786,13 @@ function Is(e, n, l, t, a, o) {
8789
8786
  })
8790
8787
  },
8791
8788
  [
8792
- Ve("div", Vs, [
8789
+ Ve("div", Ts, [
8793
8790
  Ke(
8794
- Te(t.label) + " ",
8791
+ Oe(t.label) + " ",
8795
8792
  1
8796
8793
  /* TEXT */
8797
8794
  ),
8798
- t.required ? (re(), ge("span", Ts, "*")) : he("v-if", !0)
8795
+ t.required ? (re(), ge("span", Vs, "*")) : he("v-if", !0)
8799
8796
  ]),
8800
8797
  he(" Add button on same line only for top-right "),
8801
8798
  t.isTopPosition && t.isRightPosition ? (re(), st(t.QBtn, Fe({ key: 0 }, t.quickformsFeatures.addButton, {
@@ -8816,34 +8813,34 @@ function Is(e, n, l, t, a, o) {
8816
8813
  t.hint ? (re(), ge(
8817
8814
  "div",
8818
8815
  Bs,
8819
- Te(t.hint),
8816
+ Oe(t.hint),
8820
8817
  1
8821
8818
  /* TEXT */
8822
8819
  )) : he("v-if", !0),
8823
8820
  Ve("div", Fs, [
8824
- t.pairs.length ? (re(), ge("div", Ps, [...n[0] || (n[0] = [
8821
+ t.quickformsFeatures.showHeaders && t.pairs.length ? (re(), ge("div", Ps, [
8825
8822
  Ve(
8826
8823
  "div",
8827
- { class: "col text-weight-medium text-caption" },
8828
- "Key",
8829
- -1
8830
- /* CACHED */
8824
+ Ds,
8825
+ Oe(t.quickformsFeatures.keyLabel),
8826
+ 1
8827
+ /* TEXT */
8831
8828
  ),
8832
8829
  Ve(
8833
8830
  "div",
8834
- { class: "col text-weight-medium text-caption" },
8835
- "Value",
8836
- -1
8837
- /* CACHED */
8831
+ Is,
8832
+ Oe(t.quickformsFeatures.valueLabel),
8833
+ 1
8834
+ /* TEXT */
8838
8835
  ),
8839
- Ve(
8836
+ n[0] || (n[0] = Ve(
8840
8837
  "div",
8841
8838
  { style: { width: "40px" } },
8842
8839
  null,
8843
8840
  -1
8844
8841
  /* CACHED */
8845
- )
8846
- ])])) : he("v-if", !0),
8842
+ ))
8843
+ ])) : he("v-if", !0),
8847
8844
  (re(!0), ge(
8848
8845
  Il,
8849
8846
  null,
@@ -8884,7 +8881,7 @@ function Is(e, n, l, t, a, o) {
8884
8881
  var c, u;
8885
8882
  return [
8886
8883
  Ke(
8887
- Te(((u = (c = t.formContext) == null ? void 0 : c.labels) == null ? void 0 : u.removeItem) || "Remove"),
8884
+ Oe(((u = (c = t.formContext) == null ? void 0 : c.labels) == null ? void 0 : u.removeItem) || "Remove"),
8888
8885
  1
8889
8886
  /* TEXT */
8890
8887
  )
@@ -8907,7 +8904,7 @@ function Is(e, n, l, t, a, o) {
8907
8904
  "div",
8908
8905
  {
8909
8906
  key: 1,
8910
- style: Rn({
8907
+ style: Ln({
8911
8908
  textAlign: t.isRightPosition ? "right" : t.isCenterPosition ? "center" : "left",
8912
8909
  marginTop: t.pairs.length ? "0.5rem" : "0"
8913
8910
  })
@@ -8925,14 +8922,14 @@ function Is(e, n, l, t, a, o) {
8925
8922
  ]),
8926
8923
  t.errorMessage ? (re(), ge(
8927
8924
  "div",
8928
- Ds,
8929
- Te(t.errorMessage),
8925
+ As,
8926
+ Oe(t.errorMessage),
8930
8927
  1
8931
8928
  /* TEXT */
8932
8929
  )) : he("v-if", !0)
8933
8930
  ]);
8934
8931
  }
8935
- const As = /* @__PURE__ */ lt(Ms, [["render", Is], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarKeyValueField.vue"]]), Rs = /* @__PURE__ */ tt({
8932
+ const Rs = /* @__PURE__ */ lt(Ms, [["render", Ls], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarKeyValueField.vue"]]), Hs = /* @__PURE__ */ tt({
8936
8933
  __name: "QuasarJsonField",
8937
8934
  props: {
8938
8935
  schema: { type: Object, required: !0 },
@@ -8967,10 +8964,10 @@ const As = /* @__PURE__ */ lt(Ms, [["render", Is], ["__file", "/Users/zachsherbo
8967
8964
  function S(C) {
8968
8965
  v.value = C;
8969
8966
  try {
8970
- const L = JSON.parse(v.value);
8971
- a(L), b.value = null;
8972
- } catch (L) {
8973
- b.value = L.message;
8967
+ const H = JSON.parse(v.value);
8968
+ a(H), b.value = null;
8969
+ } catch (H) {
8970
+ b.value = H.message;
8974
8971
  }
8975
8972
  }
8976
8973
  function k() {
@@ -8981,62 +8978,67 @@ const As = /* @__PURE__ */ lt(Ms, [["render", Is], ["__file", "/Users/zachsherbo
8981
8978
  }
8982
8979
  }
8983
8980
  function y(C) {
8984
- const L = C.target;
8981
+ const H = C.target;
8985
8982
  if (C.ctrlKey && (C.key === " " || C.code === "Space")) {
8986
8983
  C.preventDefault(), C.stopPropagation(), k();
8987
8984
  return;
8988
8985
  }
8989
8986
  if (C.key === "Tab") {
8990
8987
  C.preventDefault(), C.stopPropagation();
8991
- const te = L.selectionStart, T = L.selectionEnd, M = " ";
8988
+ const te = H.selectionStart, T = H.selectionEnd, M = " ";
8992
8989
  v.value = v.value.substring(0, te) + M + v.value.substring(T), setTimeout(() => {
8993
- L.selectionStart = L.selectionEnd = te + M.length;
8990
+ H.selectionStart = H.selectionEnd = te + M.length;
8994
8991
  }, 0);
8995
8992
  return;
8996
8993
  }
8997
8994
  (C.key === "Enter" || C.key === " ") && C.stopPropagation();
8998
8995
  }
8999
- const A = s(() => b.value || r.value), R = s(() => {
8996
+ const L = s(() => b.value || r.value), R = s(() => {
9000
8997
  var M, V;
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"] || {};
9002
- return { ...C, ...L, ...T, ...te };
8998
+ const C = ((M = c == null ? void 0 : c.componentDefaults) == null ? void 0 : M.global) || {}, H = ((V = c == null ? void 0 : c.componentDefaults) == null ? void 0 : V.jsoneditor) || {}, te = l.schema["x-quasar-props"] || {}, T = l.schema["x-component-props"] || {};
8999
+ return {
9000
+ ...C,
9001
+ ...H,
9002
+ ...T,
9003
+ ...te
9004
+ };
9003
9005
  }), x = s(() => {
9004
9006
  var T, M;
9005
- const C = ((T = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : T.global) || {}, L = ((M = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : M.jsoneditor) || {}, te = l.schema["x-quickforms-quasar"] || {};
9006
- return { ...C, ...L, ...te };
9007
+ const C = ((T = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : T.global) || {}, H = ((M = c == null ? void 0 : c.quickformsDefaults) == null ? void 0 : M.jsoneditor) || {}, te = l.schema["x-quickforms-quasar"] || {};
9008
+ return { ...C, ...H, ...te };
9007
9009
  }), g = s(() => x.value.showFormatHint !== !1), O = s(() => {
9008
9010
  const C = l.schema["x-rows"];
9009
9011
  return C !== void 0 ? C : 8;
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() {
9012
+ }), P = { 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: L, quasarProps: R, quickformsFeatures: x, showFormatHint: g, rows: O, get QInput() {
9011
9013
  return en;
9012
9014
  }, get QIcon() {
9013
9015
  return Je;
9014
9016
  } };
9015
- return Object.defineProperty(I, "__isScriptSetup", { enumerable: !1, value: !0 }), I;
9017
+ return Object.defineProperty(P, "__isScriptSetup", { enumerable: !1, value: !0 }), P;
9016
9018
  }
9017
- }), Ls = { class: "quickform-json-field-wrapper" }, Hs = {
9019
+ }), zs = { class: "quickform-json-field-wrapper" }, js = {
9018
9020
  key: 0,
9019
9021
  class: "quickform-label-header"
9020
- }, zs = { class: "quickform-label-text" }, js = {
9022
+ }, Qs = { class: "quickform-label-text" }, Ns = {
9021
9023
  key: 0,
9022
9024
  style: { color: "red", "margin-left": "0.25rem" }
9023
- }, Qs = {
9025
+ }, Ys = {
9024
9026
  key: 0,
9025
9027
  class: "quickform-info-icon",
9026
9028
  title: "Press Ctrl+Space to format JSON"
9027
9029
  };
9028
- function Ns(e, n, l, t, a, o) {
9029
- return re(), ge("div", Ls, [
9030
- t.label ? (re(), ge("div", Hs, [
9031
- Ve("span", zs, [
9030
+ function Ks(e, n, l, t, a, o) {
9031
+ return re(), ge("div", zs, [
9032
+ t.label ? (re(), ge("div", js, [
9033
+ Ve("span", Qs, [
9032
9034
  Ke(
9033
- Te(t.label) + " ",
9035
+ Oe(t.label) + " ",
9034
9036
  1
9035
9037
  /* TEXT */
9036
9038
  ),
9037
- t.required ? (re(), ge("span", js, "*")) : he("v-if", !0)
9039
+ t.required ? (re(), ge("span", Ns, "*")) : he("v-if", !0)
9038
9040
  ]),
9039
- t.showFormatHint ? (re(), ge("span", Qs, "ⓘ")) : he("v-if", !0)
9041
+ t.showFormatHint ? (re(), ge("span", Ys, "ⓘ")) : he("v-if", !0)
9040
9042
  ])) : he("v-if", !0),
9041
9043
  ue(t.QInput, Fe({
9042
9044
  id: t.fieldId,
@@ -9087,7 +9089,7 @@ function Ns(e, n, l, t, a, o) {
9087
9089
  ]), 1040, ["id", "model-value", "hint", "error", "error-message", "disable", "readonly", "rules", "rows"])
9088
9090
  ]);
9089
9091
  }
9090
- const Ys = /* @__PURE__ */ lt(Rs, [["render", Ns], ["__scopeId", "data-v-b6a61d10"], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarJsonField.vue"]]), Ks = /* @__PURE__ */ tt({
9092
+ const Us = /* @__PURE__ */ lt(Hs, [["render", Ks], ["__scopeId", "data-v-b6a61d10"], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarJsonField.vue"]]), Ws = /* @__PURE__ */ tt({
9091
9093
  __name: "QuasarMultiEnumField",
9092
9094
  props: {
9093
9095
  schema: { type: Object, required: !0 },
@@ -9112,22 +9114,22 @@ const Ys = /* @__PURE__ */ lt(Rs, [["render", Ns], ["__scopeId", "data-v-b6a61d1
9112
9114
  d == null ? void 0 : d.componentDefaults,
9113
9115
  "select"
9114
9116
  ), {
9115
- autocomplete: A,
9117
+ autocomplete: L,
9116
9118
  autocompleteThreshold: R,
9117
9119
  useInput: x,
9118
9120
  fillInput: g,
9119
9121
  hideSelected: O,
9120
- ...I
9122
+ ...P
9121
9123
  } = y;
9122
- return I;
9124
+ return P;
9123
9125
  }), v = s(() => {
9124
9126
  var x;
9125
9127
  const y = l.schema.items;
9126
9128
  if (!y || typeof y == "boolean") return [];
9127
- const A = Array.isArray(y) ? (x = y[0]) == null ? void 0 : x.enum : y.enum;
9128
- if (!A) return [];
9129
+ const L = Array.isArray(y) ? (x = y[0]) == null ? void 0 : x.enum : y.enum;
9130
+ if (!L) return [];
9129
9131
  const R = y["x-enum-labels"];
9130
- return A.map((g) => {
9132
+ return L.map((g) => {
9131
9133
  let O = String(g);
9132
9134
  return R && g in R && (O = R[g]), {
9133
9135
  label: O,
@@ -9143,11 +9145,11 @@ const Ys = /* @__PURE__ */ lt(Rs, [["render", Ns], ["__scopeId", "data-v-b6a61d1
9143
9145
  { immediate: !0 }
9144
9146
  );
9145
9147
  const w = s(() => {
9146
- var A, R;
9148
+ var L, R;
9147
9149
  const y = l.schema["x-component-props"];
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(() => {
9150
+ return (y == null ? void 0 : y.autocomplete) !== void 0 ? y.autocomplete : ((R = (L = d == null ? void 0 : d.componentDefaults) == null ? void 0 : L.select) == null ? void 0 : R.autocomplete) !== void 0 ? d.componentDefaults.select.autocomplete : !0;
9151
+ }), 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, L) => {
9152
+ L(() => {
9151
9153
  if (y === "")
9152
9154
  b.value = v.value;
9153
9155
  else {
@@ -9163,7 +9165,7 @@ const Ys = /* @__PURE__ */ lt(Rs, [["render", Ns], ["__scopeId", "data-v-b6a61d1
9163
9165
  return Object.defineProperty(k, "__isScriptSetup", { enumerable: !1, value: !0 }), k;
9164
9166
  }
9165
9167
  });
9166
- function Us(e, n, l, t, a, o) {
9168
+ function Xs(e, n, l, t, a, o) {
9167
9169
  return re(), st(t.QSelect, Fe({
9168
9170
  id: t.fieldId,
9169
9171
  modelValue: t.value,
@@ -9191,7 +9193,7 @@ function Us(e, n, l, t, a, o) {
9191
9193
  name: "label",
9192
9194
  fn: de(() => [
9193
9195
  Ke(
9194
- Te(t.label) + " ",
9196
+ Oe(t.label) + " ",
9195
9197
  1
9196
9198
  /* TEXT */
9197
9199
  ),
@@ -9207,7 +9209,7 @@ function Us(e, n, l, t, a, o) {
9207
9209
  } : void 0
9208
9210
  ]), 1040, ["id", "modelValue", "label", "hint", "options", "error", "error-message", "disable", "readonly", "required", "use-input"]);
9209
9211
  }
9210
- const Ws = /* @__PURE__ */ lt(Ks, [["render", Us], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarMultiEnumField.vue"]]), Xs = /* @__PURE__ */ tt({
9212
+ const Zs = /* @__PURE__ */ lt(Ws, [["render", Xs], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarMultiEnumField.vue"]]), $s = /* @__PURE__ */ tt({
9211
9213
  __name: "QuasarOneOfField",
9212
9214
  props: {
9213
9215
  schema: { type: Object, required: !0 },
@@ -9242,17 +9244,17 @@ const Ws = /* @__PURE__ */ lt(Ks, [["render", Us], ["__file", "/Users/zachsherbo
9242
9244
  k.value = g;
9243
9245
  }, { immediate: !0 });
9244
9246
  const y = s(() => {
9245
- var O, I;
9247
+ var O, P;
9246
9248
  const g = l.schema["x-component-props"];
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;
9249
+ return (g == null ? void 0 : g.autocomplete) !== void 0 ? g.autocomplete : ((P = (O = c == null ? void 0 : c.componentDefaults) == null ? void 0 : O.select) == null ? void 0 : P.autocomplete) !== void 0 ? c.componentDefaults.select.autocomplete : !0;
9248
9250
  }), 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) => {
9249
9251
  O(() => {
9250
9252
  if (g === "")
9251
9253
  k.value = S.value;
9252
9254
  else {
9253
- const I = g.toLowerCase();
9255
+ const P = g.toLowerCase();
9254
9256
  k.value = S.value.filter(
9255
- (C) => C.label.toLowerCase().includes(I)
9257
+ (C) => C.label.toLowerCase().includes(P)
9256
9258
  );
9257
9259
  }
9258
9260
  });
@@ -9269,20 +9271,20 @@ const Ws = /* @__PURE__ */ lt(Ks, [["render", Us], ["__file", "/Users/zachsherbo
9269
9271
  } };
9270
9272
  return Object.defineProperty(x, "__isScriptSetup", { enumerable: !1, value: !0 }), x;
9271
9273
  }
9272
- }), Zs = {
9274
+ }), Js = {
9273
9275
  key: 0,
9274
9276
  style: { "font-weight": "500", "margin-bottom": "0.5rem" }
9275
- }, $s = {
9277
+ }, Gs = {
9276
9278
  key: 0,
9277
9279
  style: { color: "red", "margin-left": "0.125rem" }
9278
- }, Js = {
9280
+ }, ec = {
9279
9281
  key: 1,
9280
9282
  style: { "font-size": "0.875rem", color: "#666", "margin-bottom": "0.75rem" }
9281
- }, Gs = { style: { "margin-top": "1rem", "padding-top": "1rem", "border-top": "1px dashed #ddd" } }, ec = {
9283
+ }, tc = { style: { "margin-top": "1rem", "padding-top": "1rem", "border-top": "1px dashed #ddd" } }, nc = {
9282
9284
  key: 2,
9283
9285
  style: { color: "red", "font-size": "0.875rem", "margin-top": "0.5rem" }
9284
9286
  };
9285
- function tc(e, n, l, t, a, o) {
9287
+ function lc(e, n, l, t, a, o) {
9286
9288
  return re(), st(t.QCard, {
9287
9289
  flat: "",
9288
9290
  bordered: ""
@@ -9290,18 +9292,18 @@ function tc(e, n, l, t, a, o) {
9290
9292
  default: de(() => [
9291
9293
  ue(t.QCardSection, null, {
9292
9294
  default: de(() => [
9293
- t.label ? (re(), ge("div", Zs, [
9295
+ t.label ? (re(), ge("div", Js, [
9294
9296
  Ke(
9295
- Te(t.label) + " ",
9297
+ Oe(t.label) + " ",
9296
9298
  1
9297
9299
  /* TEXT */
9298
9300
  ),
9299
- l.schema.required ? (re(), ge("span", $s, "*")) : he("v-if", !0)
9301
+ l.schema.required ? (re(), ge("span", Gs, "*")) : he("v-if", !0)
9300
9302
  ])) : he("v-if", !0),
9301
9303
  t.hint ? (re(), ge(
9302
9304
  "div",
9303
- Js,
9304
- Te(t.hint),
9305
+ ec,
9306
+ Oe(t.hint),
9305
9307
  1
9306
9308
  /* TEXT */
9307
9309
  )) : he("v-if", !0),
@@ -9324,7 +9326,7 @@ function tc(e, n, l, t, a, o) {
9324
9326
  "map-options": "",
9325
9327
  onFilter: t.filterFn
9326
9328
  }, t.quasarProps), null, 16, ["modelValue", "options", "disable", "use-input", "fill-input", "hide-selected"]),
9327
- Ve("div", Gs, [
9329
+ Ve("div", tc, [
9328
9330
  t.activeSchema ? (re(), st(t.FieldRenderer, {
9329
9331
  key: 0,
9330
9332
  schema: t.activeSchema,
@@ -9335,8 +9337,8 @@ function tc(e, n, l, t, a, o) {
9335
9337
  ]),
9336
9338
  t.errorMessage ? (re(), ge(
9337
9339
  "div",
9338
- ec,
9339
- Te(t.errorMessage),
9340
+ nc,
9341
+ Oe(t.errorMessage),
9340
9342
  1
9341
9343
  /* TEXT */
9342
9344
  )) : he("v-if", !0)
@@ -9349,7 +9351,7 @@ function tc(e, n, l, t, a, o) {
9349
9351
  /* STABLE */
9350
9352
  });
9351
9353
  }
9352
- const Za = /* @__PURE__ */ lt(Xs, [["render", tc], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarOneOfField.vue"]]), nc = /* @__PURE__ */ tt({
9354
+ const Za = /* @__PURE__ */ lt($s, [["render", lc], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarOneOfField.vue"]]), ac = /* @__PURE__ */ tt({
9353
9355
  __name: "QuasarAllOfField",
9354
9356
  props: {
9355
9357
  schema: { type: Object, required: !0 },
@@ -9372,7 +9374,7 @@ const Za = /* @__PURE__ */ lt(Xs, [["render", tc], ["__file", "/Users/zachsherbo
9372
9374
  return Object.defineProperty(i, "__isScriptSetup", { enumerable: !1, value: !0 }), i;
9373
9375
  }
9374
9376
  });
9375
- function lc(e, n, l, t, a, o) {
9377
+ function oc(e, n, l, t, a, o) {
9376
9378
  return re(), ge("div", null, [
9377
9379
  ue(t.FieldRenderer, {
9378
9380
  schema: t.mergedSchema,
@@ -9383,8 +9385,8 @@ function lc(e, n, l, t, a, o) {
9383
9385
  }, null, 8, ["schema", "path", "disabled", "readonly", "label"])
9384
9386
  ]);
9385
9387
  }
9386
- const ac = /* @__PURE__ */ lt(nc, [["render", lc], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarAllOfField.vue"]]);
9387
- function uc() {
9388
+ const rc = /* @__PURE__ */ lt(ac, [["render", oc], ["__file", "/Users/zachsherbondy/src/github.com/quickforms/packages/quasar/src/components/QuasarAllOfField.vue"]]);
9389
+ function cc() {
9388
9390
  const e = new Go();
9389
9391
  return e.register(
9390
9392
  "hidden",
@@ -9420,17 +9422,17 @@ function uc() {
9420
9422
  (n) => Xe(3, ir(n))
9421
9423
  ), e.register(
9422
9424
  "keyvalue",
9423
- As,
9425
+ Rs,
9424
9426
  (n) => Xe(6, ur(n))
9425
9427
  ), e.register(
9426
9428
  "json",
9427
- Ys,
9429
+ Us,
9428
9430
  (n) => Xe(5, sr(n))
9429
9431
  ), e.register(
9430
9432
  "object",
9431
9433
  fs,
9432
9434
  (n) => Xe(1, cr(n))
9433
- ), e.register("multiEnum", Ws, (n) => {
9435
+ ), e.register("multiEnum", Zs, (n) => {
9434
9436
  if (!ua(n)) return -1;
9435
9437
  const l = n.items;
9436
9438
  if (!l || typeof l == "boolean") return -1;
@@ -9452,53 +9454,53 @@ function uc() {
9452
9454
  (n) => Xe(10, fr(n))
9453
9455
  ), e.register(
9454
9456
  "allOf",
9455
- ac,
9457
+ rc,
9456
9458
  (n) => Xe(10, vr(n))
9457
9459
  ), e;
9458
9460
  }
9459
9461
  export {
9460
- dc as ComponentRegistry,
9461
- ac as QuasarAllOfField,
9462
+ vc as ComponentRegistry,
9463
+ rc as QuasarAllOfField,
9462
9464
  Cs as QuasarArrayField,
9463
9465
  Ci as QuasarBooleanField,
9464
9466
  Hu as QuasarDateField,
9465
9467
  ns as QuasarDateTimeField,
9466
9468
  hu as QuasarEnumField,
9467
- Ys as QuasarJsonField,
9468
- As as QuasarKeyValueField,
9469
- Ws as QuasarMultiEnumField,
9469
+ Us as QuasarJsonField,
9470
+ Rs as QuasarKeyValueField,
9471
+ Zs as QuasarMultiEnumField,
9470
9472
  mi as QuasarNumberField,
9471
9473
  fs as QuasarObjectField,
9472
9474
  Za as QuasarOneOfField,
9473
9475
  di as QuasarStringField,
9474
9476
  Zu as QuasarTimeField,
9475
- fc as SchemaUtils,
9476
- vc as and,
9477
- uc as createQuasarRegistry,
9478
- mc as hasAllOf,
9479
- hc as hasAnyOf,
9480
- gc as hasConditional,
9481
- yc as hasConst,
9482
- bc as hasExtension,
9483
- pc as hasFormat,
9484
- wc as hasOneOf,
9485
- _c as isArrayType,
9486
- kc as isBooleanType,
9487
- Sc as isDateFormat,
9488
- qc as isDateTimeFormat,
9489
- xc as isDiscriminatedUnion,
9490
- Cc as isEmailFormat,
9491
- Mc as isEnumType,
9492
- Oc as isIntegerType,
9493
- Vc as isJsonType,
9494
- Tc as isNullType,
9495
- Ec as isNumberType,
9496
- Bc as isObjectType,
9497
- Fc as isRecordType,
9498
- Pc as isStringType,
9499
- Dc as isTimeFormat,
9500
- Ic as isUrlFormat,
9501
- Ac as not,
9502
- Rc as or,
9503
- Lc as rankWith
9477
+ mc as SchemaUtils,
9478
+ hc as and,
9479
+ cc as createQuasarRegistry,
9480
+ gc as hasAllOf,
9481
+ yc as hasAnyOf,
9482
+ bc as hasConditional,
9483
+ pc as hasConst,
9484
+ wc as hasExtension,
9485
+ _c as hasFormat,
9486
+ kc as hasOneOf,
9487
+ Sc as isArrayType,
9488
+ qc as isBooleanType,
9489
+ xc as isDateFormat,
9490
+ Cc as isDateTimeFormat,
9491
+ Mc as isDiscriminatedUnion,
9492
+ Oc as isEmailFormat,
9493
+ Tc as isEnumType,
9494
+ Vc as isIntegerType,
9495
+ Ec as isJsonType,
9496
+ Bc as isNullType,
9497
+ Fc as isNumberType,
9498
+ Pc as isObjectType,
9499
+ Dc as isRecordType,
9500
+ Ic as isStringType,
9501
+ Ac as isTimeFormat,
9502
+ Lc as isUrlFormat,
9503
+ Rc as not,
9504
+ Hc as or,
9505
+ zc as rankWith
9504
9506
  };