@validol4ik/uikit 0.3.33 → 0.3.35

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.
@@ -1,6 +1,6 @@
1
- import { computed as f, ref as T, h, getCurrentInstance as le, toRaw as $e, onMounted as tt, watch as K, onBeforeUpdate as Ll, inject as Eo, onBeforeUnmount as ce, nextTick as ue, onDeactivated as kt, onActivated as Ol, Transition as yt, onUnmounted as Bo, Teleport as Ao, onBeforeMount as To, onUpdated as Ro, defineComponent as zo, openBlock as de, createBlock as Tt, unref as rl, withCtx as ye, createElementVNode as st, normalizeClass as ct, createElementBlock as xe, toDisplayString as Ue, createCommentVNode as Pe, createVNode as Xe, mergeProps as Fo, createTextVNode as Rt, Fragment as dt, withModifiers as Mo } from "vue";
2
- import { u as Il, s as ae, h as Hl, a as Se, b as $l, c as be, Q as Ae, d as Lo, i as qt, e as Oo, f as Io, p as pe, g as Ho, j as $o, R as Po, k as Do, l as sl, m as Wo, n as ge, v as jo, o as zt, q as Pl, r as No, t as cl, w as Ko, x as Dl, y as Qo, z as Uo, B as De, D as Xo, S as Yo, _ as Go } from "./index-B_qitL0q.js";
3
- import { i as Zo, b as Wl, P as Jo, c as we, r as Dt, a as jl, Q as en } from "./QNoSsr-DR2Z03Vq.js";
1
+ import { computed as f, ref as T, h, getCurrentInstance as le, toRaw as $e, onMounted as tt, watch as K, onBeforeUpdate as Ll, inject as Eo, onBeforeUnmount as ce, nextTick as ie, onDeactivated as kt, onActivated as Ol, Transition as yt, onUnmounted as Bo, Teleport as Ao, onBeforeMount as To, onUpdated as Ro, defineComponent as zo, openBlock as de, createBlock as Tt, unref as rl, withCtx as ye, createElementVNode as st, normalizeClass as ct, createElementBlock as xe, toDisplayString as Ue, createCommentVNode as Pe, createVNode as Xe, mergeProps as Fo, createTextVNode as Rt, Fragment as dt, withModifiers as Mo } from "vue";
2
+ import { u as Il, s as ae, h as Hl, a as Se, b as $l, c as be, Q as Ae, d as Lo, i as qt, e as Oo, f as Io, p as pe, g as Ho, j as $o, R as Po, k as Do, l as sl, m as Wo, n as ge, v as jo, o as zt, q as Pl, r as No, t as cl, w as Ko, x as Dl, y as Qo, z as Uo, B as De, D as Xo, S as Yo, _ as Go } from "./index-BwULeoCz.js";
3
+ import { i as Zo, b as Wl, P as Jo, c as we, r as Dt, a as jl, Q as en } from "./QNoSsr-DwYD_Ah_.js";
4
4
  const lt = {
5
5
  dark: {
6
6
  type: Boolean,
@@ -16,9 +16,9 @@ function tn(e, t) {
16
16
  class: "no-outline",
17
17
  tabindex: -1
18
18
  }));
19
- function a(i) {
20
- const u = t.value;
21
- i !== void 0 && i.type.indexOf("key") === 0 ? u !== null && document.activeElement !== u && u.contains(document.activeElement) === !0 && u.focus() : l.value !== null && (i === void 0 || u !== null && u.contains(i.target) === !0) && l.value.focus();
19
+ function a(u) {
20
+ const i = t.value;
21
+ u !== void 0 && u.type.indexOf("key") === 0 ? i !== null && document.activeElement !== i && i.contains(document.activeElement) === !0 && i.focus() : l.value !== null && (u === void 0 || i !== null && i.contains(u.target) === !0) && l.value.focus();
22
22
  }
23
23
  return {
24
24
  refocusTargetEl: o,
@@ -76,7 +76,7 @@ const nn = {
76
76
  tabindex: [String, Number]
77
77
  }, an = ["update:modelValue"];
78
78
  function rn(e, t) {
79
- const { props: l, slots: o, emit: a, proxy: i } = le(), { $q: u } = i, d = ot(l, u), m = T(null), { refocusTargetEl: g, refocusTarget: c } = tn(l, m), y = Il(l, nn), C = f(
79
+ const { props: l, slots: o, emit: a, proxy: u } = le(), { $q: i } = u, d = ot(l, i), m = T(null), { refocusTargetEl: g, refocusTarget: c } = tn(l, m), y = Il(l, nn), C = f(
80
80
  () => l.val !== void 0 && Array.isArray(l.modelValue)
81
81
  ), r = f(() => {
82
82
  const A = $e(l.val);
@@ -134,7 +134,7 @@ function rn(e, t) {
134
134
  (A.keyCode === 13 || A.keyCode === 32) && L(A);
135
135
  }
136
136
  const oe = t(v, S);
137
- return Object.assign(i, { toggle: L }), () => {
137
+ return Object.assign(u, { toggle: L }), () => {
138
138
  const A = oe();
139
139
  l.disable !== !0 && D(
140
140
  A,
@@ -189,17 +189,17 @@ const sn = () => h("div", {
189
189
  setup(e) {
190
190
  const t = sn();
191
191
  function l(o, a) {
192
- const i = f(
192
+ const u = f(
193
193
  () => (o.value === !0 ? e.checkedIcon : a.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || null
194
194
  );
195
- return () => i.value !== null ? [
195
+ return () => u.value !== null ? [
196
196
  h("div", {
197
197
  key: "icon",
198
198
  class: "q-checkbox__icon-container absolute-full flex flex-center no-wrap"
199
199
  }, [
200
200
  h(Ae, {
201
201
  class: "q-checkbox__icon",
202
- name: i.value
202
+ name: u.value
203
203
  })
204
204
  ])
205
205
  ] : [t];
@@ -265,12 +265,12 @@ const sn = () => h("div", {
265
265
  },
266
266
  emits: ["click", "keyup"],
267
267
  setup(e, { slots: t, emit: l }) {
268
- const { proxy: { $q: o } } = le(), a = ot(e, o), { hasLink: i, linkAttrs: u, linkClass: d, linkTag: m, navigateOnClick: g } = Lo(), c = T(null), y = T(null), C = f(
269
- () => e.clickable === !0 || i.value === !0 || e.tag === "label"
268
+ const { proxy: { $q: o } } = le(), a = ot(e, o), { hasLink: u, linkAttrs: i, linkClass: d, linkTag: m, navigateOnClick: g } = Lo(), c = T(null), y = T(null), C = f(
269
+ () => e.clickable === !0 || u.value === !0 || e.tag === "label"
270
270
  ), r = f(
271
271
  () => e.disable !== !0 && C.value === !0
272
272
  ), v = f(
273
- () => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (a.value === !0 ? " q-item--dark" : "") + (i.value === !0 && e.active === null ? d.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (r.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")
273
+ () => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (a.value === !0 ? " q-item--dark" : "") + (u.value === !0 && e.active === null ? d.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (r.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")
274
274
  ), _ = f(() => e.insetLevel === void 0 ? null : {
275
275
  ["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: 16 + e.insetLevel * 56 + "px"
276
276
  });
@@ -300,7 +300,7 @@ const sn = () => h("div", {
300
300
  onClick: S,
301
301
  onKeyup: P
302
302
  };
303
- return r.value === !0 ? (q.tabindex = e.tabindex || "0", Object.assign(q, u.value)) : C.value === !0 && (q["aria-disabled"] = "true"), h(
303
+ return r.value === !0 ? (q.tabindex = e.tabindex || "0", Object.assign(q, i.value)) : C.value === !0 && (q["aria-disabled"] = "true"), h(
304
304
  m.value,
305
305
  q,
306
306
  E()
@@ -359,12 +359,12 @@ function mn() {
359
359
  attributes: T({})
360
360
  };
361
361
  function o() {
362
- const a = {}, i = {};
363
- for (const u in e)
364
- u !== "class" && u !== "style" && ml.test(u) === !1 && (a[u] = e[u]);
365
- for (const u in t.props)
366
- ml.test(u) === !0 && (i[u] = t.props[u]);
367
- l.attributes.value = a, l.listeners.value = i;
362
+ const a = {}, u = {};
363
+ for (const i in e)
364
+ i !== "class" && i !== "style" && ml.test(i) === !1 && (a[i] = e[i]);
365
+ for (const i in t.props)
366
+ ml.test(i) === !0 && (u[i] = t.props[i]);
367
+ l.attributes.value = a, l.listeners.value = u;
368
368
  }
369
369
  return Ll(o), o(), l;
370
370
  }
@@ -372,13 +372,13 @@ const hn = "_q_fo_";
372
372
  function gn({ validate: e, resetValidation: t, requiresQForm: l }) {
373
373
  const o = Eo(hn, !1);
374
374
  if (o !== !1) {
375
- const { props: a, proxy: i } = le();
376
- Object.assign(i, { validate: e, resetValidation: t }), K(() => a.disable, (u) => {
377
- u === !0 ? (typeof t == "function" && t(), o.unbindComponent(i)) : o.bindComponent(i);
375
+ const { props: a, proxy: u } = le();
376
+ Object.assign(u, { validate: e, resetValidation: t }), K(() => a.disable, (i) => {
377
+ i === !0 ? (typeof t == "function" && t(), o.unbindComponent(u)) : o.bindComponent(u);
378
378
  }), tt(() => {
379
- a.disable !== !0 && o.bindComponent(i);
379
+ a.disable !== !0 && o.bindComponent(u);
380
380
  }), ce(() => {
381
- a.disable !== !0 && o.unbindComponent(i);
381
+ a.disable !== !0 && o.unbindComponent(u);
382
382
  });
383
383
  } else l === !0 && console.error("Parent QForm not found on useFormChild()!");
384
384
  }
@@ -407,10 +407,10 @@ const hl = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, gl = /^#[0-9a-fA-F]{4}([0-9a-fA
407
407
  function Ul(e, t = 250, l) {
408
408
  let o = null;
409
409
  function a() {
410
- const i = arguments, u = () => {
411
- o = null, l !== !0 && e.apply(this, i);
410
+ const u = arguments, i = () => {
411
+ o = null, l !== !0 && e.apply(this, u);
412
412
  };
413
- o !== null ? clearTimeout(o) : l === !0 && e.apply(this, i), o = setTimeout(u, t);
413
+ o !== null ? clearTimeout(o) : l === !0 && e.apply(this, u), o = setTimeout(i, t);
414
414
  }
415
415
  return a.cancel = () => {
416
416
  o !== null && clearTimeout(o);
@@ -434,36 +434,36 @@ const pn = [!0, !1, "ondemand"], bn = {
434
434
  }
435
435
  };
436
436
  function yn(e, t) {
437
- const { props: l, proxy: o } = le(), a = T(!1), i = T(null), u = T(!1);
437
+ const { props: l, proxy: o } = le(), a = T(!1), u = T(null), i = T(!1);
438
438
  gn({ validate: _, resetValidation: v });
439
439
  let d = 0, m;
440
440
  const g = f(
441
441
  () => l.rules !== void 0 && l.rules !== null && l.rules.length !== 0
442
442
  ), c = f(() => l.disable !== !0 && g.value === !0 && t.value === !1), y = f(
443
443
  () => l.error === !0 || a.value === !0
444
- ), C = f(() => typeof l.errorMessage == "string" && l.errorMessage.length !== 0 ? l.errorMessage : i.value);
444
+ ), C = f(() => typeof l.errorMessage == "string" && l.errorMessage.length !== 0 ? l.errorMessage : u.value);
445
445
  K(() => l.modelValue, () => {
446
- u.value = !0, c.value === !0 && l.lazyRules === !1 && S();
446
+ i.value = !0, c.value === !0 && l.lazyRules === !1 && S();
447
447
  });
448
448
  function r() {
449
- l.lazyRules !== "ondemand" && c.value === !0 && u.value === !0 && S();
449
+ l.lazyRules !== "ondemand" && c.value === !0 && i.value === !0 && S();
450
450
  }
451
451
  K(() => l.reactiveRules, (P) => {
452
452
  P === !0 ? m === void 0 && (m = K(() => l.rules, r, { immediate: !0, deep: !0 })) : m !== void 0 && (m(), m = void 0);
453
453
  }, { immediate: !0 }), K(() => l.lazyRules, r), K(e, (P) => {
454
- P === !0 ? u.value = !0 : c.value === !0 && l.lazyRules !== "ondemand" && S();
454
+ P === !0 ? i.value = !0 : c.value === !0 && l.lazyRules !== "ondemand" && S();
455
455
  });
456
456
  function v() {
457
- d++, t.value = !1, u.value = !1, a.value = !1, i.value = null, S.cancel();
457
+ d++, t.value = !1, i.value = !1, a.value = !1, u.value = null, S.cancel();
458
458
  }
459
459
  function _(P = l.modelValue) {
460
460
  if (l.disable === !0 || g.value === !1)
461
461
  return !0;
462
462
  const E = ++d, q = t.value !== !0 ? () => {
463
- u.value = !0;
463
+ i.value = !0;
464
464
  } : () => {
465
465
  }, R = (B, L) => {
466
- B === !0 && q(), a.value = B, i.value = L || null, t.value = !1;
466
+ B === !0 && q(), a.value = B, u.value = L || null, t.value = !1;
467
467
  }, D = [];
468
468
  for (let B = 0; B < l.rules.length; B++) {
469
469
  const L = l.rules[B];
@@ -486,7 +486,7 @@ function yn(e, t) {
486
486
  return ce(() => {
487
487
  m !== void 0 && m(), S.cancel();
488
488
  }), Object.assign(o, { resetValidation: v, validate: _ }), Wl(o, "hasError", () => y.value), {
489
- isDirtyModel: u,
489
+ isDirtyModel: i,
490
490
  hasRules: g,
491
491
  hasError: y,
492
492
  errorMessage: C,
@@ -549,7 +549,7 @@ const xn = {
549
549
  maxlength: [Number, String]
550
550
  }, Yl = ["update:modelValue", "clear", "focus", "blur"];
551
551
  function Gl({ requiredForAttr: e = !0, tagProp: t, changeEvent: l = !1 } = {}) {
552
- const { props: o, proxy: a } = le(), i = ot(o, a.$q), u = vn({
552
+ const { props: o, proxy: a } = le(), u = ot(o, a.$q), i = vn({
553
553
  required: e,
554
554
  getValue: () => o.for
555
555
  });
@@ -557,7 +557,7 @@ function Gl({ requiredForAttr: e = !0, tagProp: t, changeEvent: l = !1 } = {}) {
557
557
  requiredForAttr: e,
558
558
  changeEvent: l,
559
559
  tag: t === !0 ? f(() => o.tag) : { value: "label" },
560
- isDark: i,
560
+ isDark: u,
561
561
  editable: f(
562
562
  () => o.disable !== !0 && o.readonly !== !0
563
563
  ),
@@ -565,7 +565,7 @@ function Gl({ requiredForAttr: e = !0, tagProp: t, changeEvent: l = !1 } = {}) {
565
565
  focused: T(!1),
566
566
  hasPopupOpen: !1,
567
567
  splitAttrs: mn(),
568
- targetUid: u,
568
+ targetUid: i,
569
569
  rootRef: T(null),
570
570
  targetRef: T(null),
571
571
  controlRef: T(null)
@@ -590,7 +590,7 @@ function Gl({ requiredForAttr: e = !0, tagProp: t, changeEvent: l = !1 } = {}) {
590
590
  };
591
591
  }
592
592
  function Zl(e) {
593
- const { props: t, emit: l, slots: o, attrs: a, proxy: i } = le(), { $q: u } = i;
593
+ const { props: t, emit: l, slots: o, attrs: a, proxy: u } = le(), { $q: i } = u;
594
594
  let d = null;
595
595
  e.hasValue === void 0 && (e.hasValue = f(() => jt(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (k) => {
596
596
  l("update:modelValue", k);
@@ -657,7 +657,7 @@ function Zl(e) {
657
657
  });
658
658
  }
659
659
  function oe(k) {
660
- ae(k), u.platform.is.mobile !== !0 ? (e.targetRef !== void 0 && e.targetRef.value || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), t.type === "file" && (e.inputRef.value.value = null), l("update:modelValue", null), e.changeEvent === !0 && l("change", null), l("clear", t.modelValue), ue(() => {
660
+ ae(k), i.platform.is.mobile !== !0 ? (e.targetRef !== void 0 && e.targetRef.value || e.rootRef.value).focus() : e.rootRef.value.contains(document.activeElement) === !0 && document.activeElement.blur(), t.type === "file" && (e.inputRef.value.value = null), l("update:modelValue", null), e.changeEvent === !0 && l("change", null), l("clear", t.modelValue), ie(() => {
661
661
  const M = m.value;
662
662
  C(), m.value = M;
663
663
  });
@@ -679,7 +679,7 @@ function Zl(e) {
679
679
  }, ne())
680
680
  ), c.value === !0 && t.noErrorIcon === !1 && k.push(
681
681
  X("error", [
682
- h(Ae, { name: u.iconSet.field.error, color: "negative" })
682
+ h(Ae, { name: i.iconSet.field.error, color: "negative" })
683
683
  ])
684
684
  ), t.loading === !0 || e.innerLoading.value === !0 ? k.push(
685
685
  X(
@@ -690,11 +690,11 @@ function Zl(e) {
690
690
  X("inner-clearable-append", [
691
691
  h(Ae, {
692
692
  class: "q-field__focusable-action",
693
- name: t.clearIcon || u.iconSet.field.clear,
693
+ name: t.clearIcon || i.iconSet.field.clear,
694
694
  tabindex: 0,
695
695
  role: "button",
696
696
  "aria-hidden": "false",
697
- "aria-label": u.lang.label.clear,
697
+ "aria-label": i.lang.label.clear,
698
698
  onKeyup: A,
699
699
  onClick: oe
700
700
  })
@@ -767,12 +767,12 @@ function Zl(e) {
767
767
  return kt(() => {
768
768
  re = !0;
769
769
  }), Ol(() => {
770
- re === !0 && t.autofocus === !0 && i.focus();
770
+ re === !0 && t.autofocus === !0 && u.focus();
771
771
  }), t.autofocus === !0 && tt(() => {
772
- i.focus();
772
+ u.focus();
773
773
  }), ce(() => {
774
774
  d !== null && clearTimeout(d);
775
- }), Object.assign(i, { focus: L, blur: H }), function() {
775
+ }), Object.assign(u, { focus: L, blur: H }), function() {
776
776
  const M = e.getControl === void 0 && o.control === void 0 ? {
777
777
  ...e.splitAttrs.attributes.value,
778
778
  "data-autofocus": t.autofocus === !0 || void 0,
@@ -866,7 +866,7 @@ const Cn = be({
866
866
  },
867
867
  emits: ["update:modelValue", "update:selected", "remove", "click"],
868
868
  setup(e, { slots: t, emit: l }) {
869
- const { proxy: { $q: o } } = le(), a = ot(e, o), i = Il(e, kn), u = f(() => e.selected === !0 || e.icon !== void 0), d = f(() => e.selected === !0 ? e.iconSelected || o.iconSet.chip.selected : e.icon), m = f(() => e.iconRemove || o.iconSet.chip.remove), g = f(
869
+ const { proxy: { $q: o } } = le(), a = ot(e, o), u = Il(e, kn), i = f(() => e.selected === !0 || e.icon !== void 0), d = f(() => e.selected === !0 ? e.iconSelected || o.iconSet.chip.selected : e.icon), m = f(() => e.iconRemove || o.iconSet.chip.remove), g = f(
870
870
  () => e.disable === !1 && (e.clickable === !0 || e.selected !== null)
871
871
  ), c = f(() => {
872
872
  const S = e.outline === !0 && e.color || e.textColor;
@@ -893,7 +893,7 @@ const Cn = be({
893
893
  const S = [];
894
894
  g.value === !0 && S.push(
895
895
  h("div", { class: "q-focus-helper" })
896
- ), u.value === !0 && S.push(
896
+ ), i.value === !0 && S.push(
897
897
  h(Ae, {
898
898
  class: "q-chip__icon q-chip__icon--left",
899
899
  name: d.value
@@ -923,7 +923,7 @@ const Cn = be({
923
923
  if (e.modelValue === !1) return;
924
924
  const S = {
925
925
  class: c.value,
926
- style: i.value
926
+ style: u.value
927
927
  };
928
928
  return g.value === !0 && Object.assign(
929
929
  S,
@@ -964,10 +964,10 @@ function Bn({
964
964
  configureAnchorEl: l
965
965
  // optional
966
966
  }) {
967
- const { props: o, proxy: a, emit: i } = le(), u = T(null);
967
+ const { props: o, proxy: a, emit: u } = le(), i = T(null);
968
968
  let d = null;
969
969
  function m(r) {
970
- return u.value === null ? !1 : r === void 0 || r.touches === void 0 || r.touches.length <= 1;
970
+ return i.value === null ? !1 : r === void 0 || r.touches === void 0 || r.touches.length <= 1;
971
971
  }
972
972
  const g = {};
973
973
  l === void 0 && (Object.assign(g, {
@@ -981,7 +981,7 @@ function Bn({
981
981
  qt(r, 13) === !0 && g.toggle(r);
982
982
  },
983
983
  contextClick(r) {
984
- a.hide(r), pe(r), ue(() => {
984
+ a.hide(r), pe(r), ie(() => {
985
985
  a.show(r), r.qAnchorHandled = !0;
986
986
  });
987
987
  },
@@ -989,44 +989,44 @@ function Bn({
989
989
  mobileTouch(r) {
990
990
  if (g.mobileCleanup(r), m(r) !== !0)
991
991
  return;
992
- a.hide(r), u.value.classList.add("non-selectable");
992
+ a.hide(r), i.value.classList.add("non-selectable");
993
993
  const v = r.target;
994
994
  sl(g, "anchor", [
995
995
  [v, "touchmove", "mobileCleanup", "passive"],
996
996
  [v, "touchend", "mobileCleanup", "passive"],
997
997
  [v, "touchcancel", "mobileCleanup", "passive"],
998
- [u.value, "contextmenu", "prevent", "notPassive"]
998
+ [i.value, "contextmenu", "prevent", "notPassive"]
999
999
  ]), d = setTimeout(() => {
1000
1000
  d = null, a.show(r), r.qAnchorHandled = !0;
1001
1001
  }, 300);
1002
1002
  },
1003
1003
  mobileCleanup(r) {
1004
- u.value.classList.remove("non-selectable"), d !== null && (clearTimeout(d), d = null), e.value === !0 && r !== void 0 && Vn();
1004
+ i.value.classList.remove("non-selectable"), d !== null && (clearTimeout(d), d = null), e.value === !0 && r !== void 0 && Vn();
1005
1005
  }
1006
1006
  }), l = function(r = o.contextMenu) {
1007
- if (o.noParentEvent === !0 || u.value === null) return;
1007
+ if (o.noParentEvent === !0 || i.value === null) return;
1008
1008
  let v;
1009
1009
  r === !0 ? a.$q.platform.is.mobile === !0 ? v = [
1010
- [u.value, "touchstart", "mobileTouch", "passive"]
1010
+ [i.value, "touchstart", "mobileTouch", "passive"]
1011
1011
  ] : v = [
1012
- [u.value, "mousedown", "hide", "passive"],
1013
- [u.value, "contextmenu", "contextClick", "notPassive"]
1012
+ [i.value, "mousedown", "hide", "passive"],
1013
+ [i.value, "contextmenu", "contextClick", "notPassive"]
1014
1014
  ] : v = [
1015
- [u.value, "click", "toggle", "passive"],
1016
- [u.value, "keyup", "toggleKey", "passive"]
1015
+ [i.value, "click", "toggle", "passive"],
1016
+ [i.value, "keyup", "toggleKey", "passive"]
1017
1017
  ], sl(g, "anchor", v);
1018
1018
  });
1019
1019
  function c() {
1020
1020
  Wo(g, "anchor");
1021
1021
  }
1022
1022
  function y(r) {
1023
- for (u.value = r; u.value.classList.contains("q-anchor--skip"); )
1024
- u.value = u.value.parentNode;
1023
+ for (i.value = r; i.value.classList.contains("q-anchor--skip"); )
1024
+ i.value = i.value.parentNode;
1025
1025
  l();
1026
1026
  }
1027
1027
  function C() {
1028
1028
  if (o.target === !1 || o.target === "" || a.$el.parentNode === null)
1029
- u.value = null;
1029
+ i.value = null;
1030
1030
  else if (o.target === !0)
1031
1031
  y(a.$el.parentNode);
1032
1032
  else {
@@ -1037,21 +1037,21 @@ function Bn({
1037
1037
  } catch {
1038
1038
  r = void 0;
1039
1039
  }
1040
- r != null ? (u.value = r.$el || r, l()) : (u.value = null, console.error(`Anchor: target "${o.target}" not found`));
1040
+ r != null ? (i.value = r.$el || r, l()) : (i.value = null, console.error(`Anchor: target "${o.target}" not found`));
1041
1041
  }
1042
1042
  }
1043
1043
  return K(() => o.contextMenu, (r) => {
1044
- u.value !== null && (c(), l(r));
1044
+ i.value !== null && (c(), l(r));
1045
1045
  }), K(() => o.target, () => {
1046
- u.value !== null && c(), C();
1046
+ i.value !== null && c(), C();
1047
1047
  }), K(() => o.noParentEvent, (r) => {
1048
- u.value !== null && (r === !0 ? c() : l());
1048
+ i.value !== null && (r === !0 ? c() : l());
1049
1049
  }), tt(() => {
1050
- C(), t !== !0 && o.modelValue === !0 && u.value === null && i("update:modelValue", !1);
1050
+ C(), t !== !0 && o.modelValue === !0 && i.value === null && u("update:modelValue", !1);
1051
1051
  }), ce(() => {
1052
1052
  d !== null && clearTimeout(d), c();
1053
1053
  }), {
1054
- anchorEl: u,
1054
+ anchorEl: i,
1055
1055
  canShow: m,
1056
1056
  anchorEvents: g
1057
1057
  };
@@ -1063,15 +1063,15 @@ function An(e, t) {
1063
1063
  const g = `${m !== void 0 ? "add" : "remove"}EventListener`, c = m !== void 0 ? m : o;
1064
1064
  d !== window && d[g]("scroll", c, ge.passive), window[g]("scroll", c, ge.passive), o = m;
1065
1065
  }
1066
- function i() {
1066
+ function u() {
1067
1067
  l.value !== null && (a(l.value), l.value = null);
1068
1068
  }
1069
- const u = K(() => e.noParentEvent, () => {
1070
- l.value !== null && (i(), t());
1069
+ const i = K(() => e.noParentEvent, () => {
1070
+ l.value !== null && (u(), t());
1071
1071
  });
1072
- return ce(u), {
1072
+ return ce(i), {
1073
1073
  localScrollTarget: l,
1074
- unconfigureScrollTarget: i,
1074
+ unconfigureScrollTarget: u,
1075
1075
  changeScrollEvent: a
1076
1076
  };
1077
1077
  }
@@ -1097,10 +1097,10 @@ function to({
1097
1097
  // optional
1098
1098
  handleHide: a,
1099
1099
  // optional
1100
- processOnMount: i
1100
+ processOnMount: u
1101
1101
  // optional
1102
1102
  }) {
1103
- const u = le(), { props: d, emit: m, proxy: g } = u;
1103
+ const i = le(), { props: d, emit: m, proxy: g } = i;
1104
1104
  let c;
1105
1105
  function y(E) {
1106
1106
  e.value === !0 ? v(E) : C(E);
@@ -1109,7 +1109,7 @@ function to({
1109
1109
  if (d.disable === !0 || E !== void 0 && E.qAnchorHandled === !0 || t !== void 0 && t(E) !== !0)
1110
1110
  return;
1111
1111
  const q = d["onUpdate:modelValue"] !== void 0;
1112
- q === !0 && (m("update:modelValue", !0), c = E, ue(() => {
1112
+ q === !0 && (m("update:modelValue", !0), c = E, ie(() => {
1113
1113
  c === E && (c = void 0);
1114
1114
  })), (d.modelValue === null || q === !1) && r(E);
1115
1115
  }
@@ -1120,7 +1120,7 @@ function to({
1120
1120
  if (d.disable === !0)
1121
1121
  return;
1122
1122
  const q = d["onUpdate:modelValue"] !== void 0;
1123
- q === !0 && (m("update:modelValue", !1), c = E, ue(() => {
1123
+ q === !0 && (m("update:modelValue", !1), c = E, ie(() => {
1124
1124
  c === E && (c = void 0);
1125
1125
  })), (d.modelValue === null || q === !1) && _(E);
1126
1126
  }
@@ -1130,7 +1130,7 @@ function to({
1130
1130
  function S(E) {
1131
1131
  d.disable === !0 && E === !0 ? d["onUpdate:modelValue"] !== void 0 && m("update:modelValue", !1) : E === !0 !== e.value && (E === !0 ? r : _)(c);
1132
1132
  }
1133
- K(() => d.modelValue, S), l !== void 0 && jo(u) === !0 && K(() => g.$route.fullPath, () => {
1133
+ K(() => d.modelValue, S), l !== void 0 && jo(i) === !0 && K(() => g.$route.fullPath, () => {
1134
1134
  l.value === !0 && e.value === !0 && v();
1135
1135
  }), tt(() => {
1136
1136
  S(d.modelValue);
@@ -1181,21 +1181,21 @@ function On(e) {
1181
1181
  return !1;
1182
1182
  }
1183
1183
  function lo(e, t, l, o) {
1184
- const a = T(!1), i = T(!1);
1185
- let u = null;
1184
+ const a = T(!1), u = T(!1);
1185
+ let i = null;
1186
1186
  const d = {}, m = o === "dialog" && On(e);
1187
1187
  function g(y) {
1188
1188
  if (y === !0) {
1189
- bl(d), i.value = !0;
1189
+ bl(d), u.value = !0;
1190
1190
  return;
1191
1191
  }
1192
- i.value = !1, a.value === !1 && (m === !1 && u === null && (u = zn(!1, o)), a.value = !0, Je.push(e.proxy), Sn(d));
1192
+ u.value = !1, a.value === !1 && (m === !1 && i === null && (i = zn(!1, o)), a.value = !0, Je.push(e.proxy), Sn(d));
1193
1193
  }
1194
1194
  function c(y) {
1195
- if (i.value = !1, y !== !0) return;
1195
+ if (u.value = !1, y !== !0) return;
1196
1196
  bl(d), a.value = !1;
1197
1197
  const C = Je.indexOf(e.proxy);
1198
- C !== -1 && Je.splice(C, 1), u !== null && (Fn(u), u = null);
1198
+ C !== -1 && Je.splice(C, 1), i !== null && (Fn(i), i = null);
1199
1199
  }
1200
1200
  return Bo(() => {
1201
1201
  c(!0);
@@ -1203,8 +1203,8 @@ function lo(e, t, l, o) {
1203
1203
  showPortal: g,
1204
1204
  hidePortal: c,
1205
1205
  portalIsActive: a,
1206
- portalIsAccessible: i,
1207
- renderPortal: () => m === !0 ? l() : a.value === !0 ? [h(Ao, { to: u }, h(Ln, l))] : void 0
1206
+ portalIsAccessible: u,
1207
+ renderPortal: () => m === !0 ? l() : a.value === !0 ? [h(Ao, { to: i }, h(Ln, l))] : void 0
1208
1208
  };
1209
1209
  }
1210
1210
  const oo = {
@@ -1240,7 +1240,7 @@ function no(e, t = () => {
1240
1240
  transitionStyle: f(() => `--q-transition-duration: ${e.transitionDuration}ms`)
1241
1241
  };
1242
1242
  }
1243
- function io() {
1243
+ function uo() {
1244
1244
  let e;
1245
1245
  const t = le();
1246
1246
  function l() {
@@ -1249,13 +1249,13 @@ function io() {
1249
1249
  return kt(l), ce(l), {
1250
1250
  removeTick: l,
1251
1251
  registerTick(o) {
1252
- e = o, ue(() => {
1252
+ e = o, ie(() => {
1253
1253
  e === o && (Pl(t) === !1 && e(), e = void 0);
1254
1254
  });
1255
1255
  }
1256
1256
  };
1257
1257
  }
1258
- function uo() {
1258
+ function io() {
1259
1259
  let e = null;
1260
1260
  const t = le();
1261
1261
  function l() {
@@ -1390,16 +1390,16 @@ function kl(e, t) {
1390
1390
  };
1391
1391
  }
1392
1392
  function Yn(e, t) {
1393
- let { top: l, left: o, right: a, bottom: i, width: u, height: d } = e.getBoundingClientRect();
1394
- return t !== void 0 && (l -= t[1], o -= t[0], i += t[1], a += t[0], u += t[0], d += t[1]), {
1393
+ let { top: l, left: o, right: a, bottom: u, width: i, height: d } = e.getBoundingClientRect();
1394
+ return t !== void 0 && (l -= t[1], o -= t[0], u += t[1], a += t[0], i += t[0], d += t[1]), {
1395
1395
  top: l,
1396
- bottom: i,
1396
+ bottom: u,
1397
1397
  height: d,
1398
1398
  left: o,
1399
1399
  right: a,
1400
- width: u,
1400
+ width: i,
1401
1401
  middle: o + (a - o) / 2,
1402
- center: l + (i - l) / 2
1402
+ center: l + (u - l) / 2
1403
1403
  };
1404
1404
  }
1405
1405
  function Gn(e, t, l) {
@@ -1444,8 +1444,8 @@ function so(e, t = 0) {
1444
1444
  targetEl: l,
1445
1445
  offset: o,
1446
1446
  anchorEl: a,
1447
- anchorOrigin: i,
1448
- selfOrigin: u,
1447
+ anchorOrigin: u,
1448
+ selfOrigin: i,
1449
1449
  absoluteOffset: d,
1450
1450
  fit: m,
1451
1451
  cover: g,
@@ -1470,12 +1470,12 @@ function so(e, t = 0) {
1470
1470
  let q = { maxWidth: y, maxHeight: c };
1471
1471
  (m === !0 || g === !0) && (q.minWidth = v.width + "px", g === !0 && (q.minHeight = v.height + "px")), Object.assign(l.style, q);
1472
1472
  const R = Zn(P, E);
1473
- let D = ql(v, R, i, u);
1473
+ let D = ql(v, R, u, i);
1474
1474
  if (d === void 0 || o === void 0)
1475
- Lt(D, v, R, i, u);
1475
+ Lt(D, v, R, u, i);
1476
1476
  else {
1477
1477
  const { top: B, left: L } = D;
1478
- Lt(D, v, R, i, u);
1478
+ Lt(D, v, R, u, i);
1479
1479
  let H = !1;
1480
1480
  if (D.top !== B) {
1481
1481
  H = !0;
@@ -1487,7 +1487,7 @@ function so(e, t = 0) {
1487
1487
  const Q = 2 * o[0];
1488
1488
  v.middle = v.left -= Q, v.right -= Q + 2;
1489
1489
  }
1490
- H === !0 && (D = ql(v, R, i, u), Lt(D, v, R, i, u));
1490
+ H === !0 && (D = ql(v, R, u, i), Lt(D, v, R, u, i));
1491
1491
  }
1492
1492
  q = {
1493
1493
  top: D.top + "px",
@@ -1495,35 +1495,35 @@ function so(e, t = 0) {
1495
1495
  }, D.maxHeight !== void 0 && (q.maxHeight = D.maxHeight + "px", v.height > D.maxHeight && (q.minHeight = q.maxHeight)), D.maxWidth !== void 0 && (q.maxWidth = D.maxWidth + "px", v.width > D.maxWidth && (q.minWidth = q.maxWidth)), Object.assign(l.style, q), l.scrollTop !== r && (l.scrollTop = r), l.scrollLeft !== C && (l.scrollLeft = C);
1496
1496
  }
1497
1497
  function Lt(e, t, l, o, a) {
1498
- const i = l.bottom, u = l.right, d = Wn(), m = window.innerHeight - d, g = document.body.clientWidth;
1499
- if (e.top < 0 || e.top + i > m)
1498
+ const u = l.bottom, i = l.right, d = Wn(), m = window.innerHeight - d, g = document.body.clientWidth;
1499
+ if (e.top < 0 || e.top + u > m)
1500
1500
  if (a.vertical === "center")
1501
- e.top = t[o.vertical] > m / 2 ? Math.max(0, m - i) : 0, e.maxHeight = Math.min(i, m);
1501
+ e.top = t[o.vertical] > m / 2 ? Math.max(0, m - u) : 0, e.maxHeight = Math.min(u, m);
1502
1502
  else if (t[o.vertical] > m / 2) {
1503
1503
  const c = Math.min(
1504
1504
  m,
1505
1505
  o.vertical === "center" ? t.center : o.vertical === a.vertical ? t.bottom : t.top
1506
1506
  );
1507
- e.maxHeight = Math.min(i, c), e.top = Math.max(0, c - i);
1507
+ e.maxHeight = Math.min(u, c), e.top = Math.max(0, c - u);
1508
1508
  } else
1509
1509
  e.top = Math.max(
1510
1510
  0,
1511
1511
  o.vertical === "center" ? t.center : o.vertical === a.vertical ? t.top : t.bottom
1512
- ), e.maxHeight = Math.min(i, m - e.top);
1513
- if (e.left < 0 || e.left + u > g)
1514
- if (e.maxWidth = Math.min(u, g), a.horizontal === "middle")
1515
- e.left = t[o.horizontal] > g / 2 ? Math.max(0, g - u) : 0;
1512
+ ), e.maxHeight = Math.min(u, m - e.top);
1513
+ if (e.left < 0 || e.left + i > g)
1514
+ if (e.maxWidth = Math.min(i, g), a.horizontal === "middle")
1515
+ e.left = t[o.horizontal] > g / 2 ? Math.max(0, g - i) : 0;
1516
1516
  else if (t[o.horizontal] > g / 2) {
1517
1517
  const c = Math.min(
1518
1518
  g,
1519
1519
  o.horizontal === "middle" ? t.middle : o.horizontal === a.horizontal ? t.right : t.left
1520
1520
  );
1521
- e.maxWidth = Math.min(u, c), e.left = Math.max(0, c - e.maxWidth);
1521
+ e.maxWidth = Math.min(i, c), e.left = Math.max(0, c - e.maxWidth);
1522
1522
  } else
1523
1523
  e.left = Math.max(
1524
1524
  0,
1525
1525
  o.horizontal === "middle" ? t.middle : o.horizontal === a.horizontal ? t.left : t.right
1526
- ), e.maxWidth = Math.min(u, g - e.left);
1526
+ ), e.maxWidth = Math.min(i, g - e.left);
1527
1527
  }
1528
1528
  const Jn = be({
1529
1529
  name: "QMenu",
@@ -1571,10 +1571,10 @@ const Jn = be({
1571
1571
  "escapeKey"
1572
1572
  ],
1573
1573
  setup(e, { slots: t, emit: l, attrs: o }) {
1574
- let a = null, i, u, d;
1574
+ let a = null, u, i, d;
1575
1575
  const m = le(), { proxy: g } = m, { $q: c } = g, y = T(null), C = T(!1), r = f(
1576
1576
  () => e.persistent !== !0 && e.noRouteDismiss !== !0
1577
- ), v = ot(e, c), { registerTick: _, removeTick: S } = io(), { registerTimeout: P } = uo(), { transitionProps: E, transitionStyle: q } = no(e), { localScrollTarget: R, changeScrollEvent: D, unconfigureScrollTarget: B } = An(e, O), { anchorEl: L, canShow: H } = Bn({ showing: C }), { hide: Q } = to({
1577
+ ), v = ot(e, c), { registerTick: _, removeTick: S } = uo(), { registerTimeout: P } = io(), { transitionProps: E, transitionStyle: q } = no(e), { localScrollTarget: R, changeScrollEvent: D, unconfigureScrollTarget: B } = An(e, O), { anchorEl: L, canShow: H } = Bn({ showing: C }), { hide: Q } = to({
1578
1578
  showing: C,
1579
1579
  canShow: H,
1580
1580
  handleShow: se,
@@ -1609,14 +1609,14 @@ const Jn = be({
1609
1609
  });
1610
1610
  }
1611
1611
  function se(b) {
1612
- if (a = e.noRefocus === !1 ? document.activeElement : null, jl(I), G(), O(), i = void 0, b !== void 0 && (e.touchPosition || e.contextMenu)) {
1612
+ if (a = e.noRefocus === !1 ? document.activeElement : null, jl(I), G(), O(), u = void 0, b !== void 0 && (e.touchPosition || e.contextMenu)) {
1613
1613
  const Z = Ko(b);
1614
1614
  if (Z.left !== void 0) {
1615
1615
  const { top: ve, left: ze } = L.value.getBoundingClientRect();
1616
- i = { left: Z.left - ze, top: Z.top - ve };
1616
+ u = { left: Z.left - ze, top: Z.top - ve };
1617
1617
  }
1618
1618
  }
1619
- u === void 0 && (u = K(
1619
+ i === void 0 && (i = K(
1620
1620
  () => c.screen.width + "|" + c.screen.height + "|" + e.self + "|" + e.anchor + "|" + c.lang.rtl,
1621
1621
  z
1622
1622
  )), e.noFocus !== !0 && document.activeElement.blur(), _(() => {
@@ -1632,7 +1632,7 @@ const Jn = be({
1632
1632
  }, e.transitionDuration);
1633
1633
  }
1634
1634
  function p(b) {
1635
- i = void 0, u !== void 0 && (u(), u = void 0), (b === !0 || C.value === !0) && (Dt(I), B(), Sl(U), St(F)), b !== !0 && (a = null);
1635
+ u = void 0, i !== void 0 && (i(), i = void 0), (b === !0 || C.value === !0) && (Dt(I), B(), Sl(U), St(F)), b !== !0 && (a = null);
1636
1636
  }
1637
1637
  function O() {
1638
1638
  (L.value !== null || e.scrollTarget !== void 0) && (R.value = $n(L.value, e.scrollTarget), D(R.value, z));
@@ -1653,7 +1653,7 @@ const Jn = be({
1653
1653
  anchorEl: L.value,
1654
1654
  anchorOrigin: ne.value,
1655
1655
  selfOrigin: te.value,
1656
- absoluteOffset: i,
1656
+ absoluteOffset: u,
1657
1657
  fit: e.fit,
1658
1658
  cover: e.cover,
1659
1659
  maxHeight: e.maxHeight,
@@ -1684,7 +1684,7 @@ const Jn = be({
1684
1684
  return ce(p), Object.assign(g, { focus: M, updatePosition: z }), A;
1685
1685
  }
1686
1686
  });
1687
- function ei(e, t, l) {
1687
+ function eu(e, t, l) {
1688
1688
  function o() {
1689
1689
  }
1690
1690
  return ce(() => {
@@ -1696,17 +1696,17 @@ function ei(e, t, l) {
1696
1696
  };
1697
1697
  }
1698
1698
  let Ye = 0, Ot, It, Ze, Ht = !1, Vl, _l, El, Ee = null;
1699
- function ti(e) {
1700
- li(e) && ae(e);
1699
+ function tu(e) {
1700
+ lu(e) && ae(e);
1701
1701
  }
1702
- function li(e) {
1702
+ function lu(e) {
1703
1703
  if (e.target === document.body || e.target.classList.contains("q-layout__backdrop"))
1704
1704
  return !0;
1705
1705
  const t = Qo(e), l = e.shiftKey && !e.deltaX, o = !l && Math.abs(e.deltaX) <= Math.abs(e.deltaY), a = l || o ? e.deltaY : e.deltaX;
1706
- for (let i = 0; i < t.length; i++) {
1707
- const u = t[i];
1708
- if (jn(u, o))
1709
- return o ? a < 0 && u.scrollTop === 0 ? !0 : a > 0 && u.scrollTop + u.clientHeight === u.scrollHeight : a < 0 && u.scrollLeft === 0 ? !0 : a > 0 && u.scrollLeft + u.clientWidth === u.scrollWidth;
1706
+ for (let u = 0; u < t.length; u++) {
1707
+ const i = t[u];
1708
+ if (jn(i, o))
1709
+ return o ? a < 0 && i.scrollTop === 0 ? !0 : a > 0 && i.scrollTop + i.clientHeight === i.scrollHeight : a < 0 && i.scrollLeft === 0 ? !0 : a > 0 && i.scrollLeft + i.clientWidth === i.scrollWidth;
1710
1710
  }
1711
1711
  return !0;
1712
1712
  }
@@ -1726,9 +1726,9 @@ function Al(e) {
1726
1726
  const { overflowY: o, overflowX: a } = window.getComputedStyle(t);
1727
1727
  Ot = Dn(window), It = Pn(window), Vl = t.style.left, _l = t.style.top, El = window.location.href, t.style.left = `-${Ot}px`, t.style.top = `-${It}px`, a !== "hidden" && (a === "scroll" || t.scrollWidth > window.innerWidth) && t.classList.add("q-body--force-scrollbar-x"), o !== "hidden" && (o === "scroll" || t.scrollHeight > window.innerHeight) && t.classList.add("q-body--force-scrollbar-y"), t.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, we.is.ios === !0 && (l === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", gt, ge.passiveCapture), window.visualViewport.addEventListener("scroll", gt, ge.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", Bl, ge.passiveCapture));
1728
1728
  }
1729
- we.is.desktop === !0 && we.is.mac === !0 && window[`${e}EventListener`]("wheel", ti, ge.notPassive), e === "remove" && (we.is.ios === !0 && (l === !0 ? (window.visualViewport.removeEventListener("resize", gt, ge.passiveCapture), window.visualViewport.removeEventListener("scroll", gt, ge.passiveCapture)) : window.removeEventListener("scroll", Bl, ge.passiveCapture)), t.classList.remove("q-body--prevent-scroll"), t.classList.remove("q-body--force-scrollbar-x"), t.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, t.style.left = Vl, t.style.top = _l, window.location.href === El && window.scrollTo(Ot, It), Ze = void 0);
1729
+ we.is.desktop === !0 && we.is.mac === !0 && window[`${e}EventListener`]("wheel", tu, ge.notPassive), e === "remove" && (we.is.ios === !0 && (l === !0 ? (window.visualViewport.removeEventListener("resize", gt, ge.passiveCapture), window.visualViewport.removeEventListener("scroll", gt, ge.passiveCapture)) : window.removeEventListener("scroll", Bl, ge.passiveCapture)), t.classList.remove("q-body--prevent-scroll"), t.classList.remove("q-body--force-scrollbar-x"), t.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, t.style.left = Vl, t.style.top = _l, window.location.href === El && window.scrollTo(Ot, It), Ze = void 0);
1730
1730
  }
1731
- function oi(e) {
1731
+ function ou(e) {
1732
1732
  let t = "add";
1733
1733
  if (e === !0) {
1734
1734
  if (Ye++, Ee !== null) {
@@ -1749,16 +1749,16 @@ function oi(e) {
1749
1749
  }
1750
1750
  Al(t);
1751
1751
  }
1752
- function ni() {
1752
+ function nu() {
1753
1753
  let e;
1754
1754
  return {
1755
1755
  preventBodyScroll(t) {
1756
- t !== e && (e !== void 0 || t === !0) && (e = t, oi(t));
1756
+ t !== e && (e !== void 0 || t === !0) && (e = t, ou(t));
1757
1757
  }
1758
1758
  };
1759
1759
  }
1760
1760
  let pt = 0;
1761
- const ii = {
1761
+ const uu = {
1762
1762
  standard: "fixed-full flex-center",
1763
1763
  top: "fixed-top justify-center",
1764
1764
  bottom: "fixed-bottom justify-center",
@@ -1770,7 +1770,7 @@ const ii = {
1770
1770
  bottom: ["slide-up", "slide-down"],
1771
1771
  right: ["slide-left", "slide-right"],
1772
1772
  left: ["slide-right", "slide-left"]
1773
- }, ui = be({
1773
+ }, iu = be({
1774
1774
  name: "QDialog",
1775
1775
  inheritAttrs: !1,
1776
1776
  props: {
@@ -1808,35 +1808,35 @@ const ii = {
1808
1808
  "escapeKey"
1809
1809
  ],
1810
1810
  setup(e, { slots: t, emit: l, attrs: o }) {
1811
- const a = le(), i = T(null), u = T(!1), d = T(!1);
1811
+ const a = le(), u = T(null), i = T(!1), d = T(!1);
1812
1812
  let m = null, g = null, c, y;
1813
1813
  const C = f(
1814
1814
  () => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
1815
- ), { preventBodyScroll: r } = ni(), { registerTimeout: v } = uo(), { registerTick: _, removeTick: S } = io(), { transitionProps: P, transitionStyle: E } = no(
1815
+ ), { preventBodyScroll: r } = nu(), { registerTimeout: v } = io(), { registerTick: _, removeTick: S } = uo(), { transitionProps: P, transitionStyle: E } = no(
1816
1816
  e,
1817
1817
  () => Tl[e.position][0],
1818
1818
  () => Tl[e.position][1]
1819
1819
  ), q = f(() => E.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: R, hidePortal: D, portalIsAccessible: B, renderPortal: L } = lo(
1820
1820
  a,
1821
- i,
1821
+ u,
1822
1822
  O,
1823
1823
  "dialog"
1824
1824
  ), { hide: H } = to({
1825
- showing: u,
1825
+ showing: i,
1826
1826
  hideOnRouteChange: C,
1827
1827
  handleShow: U,
1828
1828
  handleHide: ne,
1829
1829
  processOnMount: !0
1830
1830
  });
1831
- ei(u);
1831
+ eu(i);
1832
1832
  const Q = f(
1833
- () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${ii[e.position]}` + (d.value === !0 ? " q-dialog__inner--animating" : "") + (e.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (e.square === !0 ? " q-dialog__inner--square" : "")
1834
- ), G = f(() => u.value === !0 && e.seamless !== !0), oe = f(() => e.autoClose === !0 ? { onClick: se } : {}), A = f(() => [
1833
+ () => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${uu[e.position]}` + (d.value === !0 ? " q-dialog__inner--animating" : "") + (e.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (e.square === !0 ? " q-dialog__inner--square" : "")
1834
+ ), G = f(() => i.value === !0 && e.seamless !== !0), oe = f(() => e.autoClose === !0 ? { onClick: se } : {}), A = f(() => [
1835
1835
  `q-dialog fullscreen no-pointer-events q-dialog--${G.value === !0 ? "modal" : "seamless"}`,
1836
1836
  o.class
1837
1837
  ]);
1838
1838
  K(() => e.maximized, (V) => {
1839
- u.value === !0 && M(V);
1839
+ i.value === !0 && M(V);
1840
1840
  }), K(G, (V) => {
1841
1841
  r(V), V === !0 ? (jl(p), ro(re)) : (Dt(p), St(re));
1842
1842
  });
@@ -1850,7 +1850,7 @@ const ii = {
1850
1850
  F >= z ? 1 / 0 : Math.ceil(document.scrollingElement.scrollTop + F - N / 2)
1851
1851
  )), document.activeElement.scrollIntoView();
1852
1852
  }
1853
- y = !0, i.value.click(), y = !1;
1853
+ y = !0, u.value.click(), y = !1;
1854
1854
  }
1855
1855
  R(!0), d.value = !1, l("show", V);
1856
1856
  }, e.transitionDuration);
@@ -1862,7 +1862,7 @@ const ii = {
1862
1862
  }
1863
1863
  function te(V) {
1864
1864
  Kt(() => {
1865
- let I = i.value;
1865
+ let I = u.value;
1866
1866
  if (I !== null) {
1867
1867
  if (V !== void 0) {
1868
1868
  const F = I.querySelector(V);
@@ -1877,16 +1877,16 @@ const ii = {
1877
1877
  }
1878
1878
  function X(V) {
1879
1879
  V && typeof V.focus == "function" ? V.focus({ preventScroll: !0 }) : te(), l("shake");
1880
- const I = i.value;
1880
+ const I = u.value;
1881
1881
  I !== null && (I.classList.remove("q-animate--scale"), I.classList.add("q-animate--scale"), m !== null && clearTimeout(m), m = setTimeout(() => {
1882
- m = null, i.value !== null && (I.classList.remove("q-animate--scale"), te());
1882
+ m = null, u.value !== null && (I.classList.remove("q-animate--scale"), te());
1883
1883
  }, 170));
1884
1884
  }
1885
1885
  function re() {
1886
1886
  e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && X() : (l("escapeKey"), H()));
1887
1887
  }
1888
1888
  function k(V) {
1889
- m !== null && (clearTimeout(m), m = null), (V === !0 || u.value === !0) && (M(!1), e.seamless !== !0 && (r(!1), Dt(p), St(re))), V !== !0 && (g = null);
1889
+ m !== null && (clearTimeout(m), m = null), (V === !0 || i.value === !0) && (M(!1), e.seamless !== !0 && (r(!1), Dt(p), St(re))), V !== !0 && (g = null);
1890
1890
  }
1891
1891
  function M(V) {
1892
1892
  V === !0 ? c !== !0 && (pt < 1 && document.body.classList.add("q-body--dialog"), pt++, c = !0) : c === !0 && (pt < 2 && document.body.classList.remove("q-body--dialog"), pt--, c = !1);
@@ -1898,7 +1898,7 @@ const ii = {
1898
1898
  e.persistent !== !0 && e.noBackdropDismiss !== !0 ? H(V) : e.noShake !== !0 && X();
1899
1899
  }
1900
1900
  function p(V) {
1901
- e.allowFocusOutside !== !0 && B.value === !0 && Dl(i.value, V.target) !== !0 && te('[tabindex]:not([tabindex="-1"])');
1901
+ e.allowFocusOutside !== !0 && B.value === !0 && Dl(u.value, V.target) !== !0 && te('[tabindex]:not([tabindex="-1"])');
1902
1902
  }
1903
1903
  Object.assign(a.proxy, {
1904
1904
  // expose public methods
@@ -1929,8 +1929,8 @@ const ii = {
1929
1929
  h(
1930
1930
  yt,
1931
1931
  P.value,
1932
- () => u.value === !0 ? h("div", {
1933
- ref: i,
1932
+ () => i.value === !0 ? h("div", {
1933
+ ref: u,
1934
1934
  class: Q.value,
1935
1935
  style: E.value,
1936
1936
  tabindex: -1,
@@ -1956,14 +1956,14 @@ let Ct = !1;
1956
1956
  height: "1px"
1957
1957
  }), document.body.appendChild(e), e.appendChild(t), e.scrollLeft = -1e3, Ct = e.scrollLeft >= 0, e.remove();
1958
1958
  }
1959
- const fe = 1e3, ai = [
1959
+ const fe = 1e3, au = [
1960
1960
  "start",
1961
1961
  "center",
1962
1962
  "end",
1963
1963
  "start-force",
1964
1964
  "center-force",
1965
1965
  "end-force"
1966
- ], co = Array.prototype.filter, ri = window.getComputedStyle(document.body).overflowAnchor === void 0 ? Uo : function(e, t) {
1966
+ ], co = Array.prototype.filter, ru = window.getComputedStyle(document.body).overflowAnchor === void 0 ? Uo : function(e, t) {
1967
1967
  e !== null && (e._qOverflowAnimationFrame !== void 0 && cancelAnimationFrame(e._qOverflowAnimationFrame), e._qOverflowAnimationFrame = requestAnimationFrame(() => {
1968
1968
  if (e === null)
1969
1969
  return;
@@ -1979,15 +1979,15 @@ const fe = 1e3, ai = [
1979
1979
  function We(e, t) {
1980
1980
  return e + t;
1981
1981
  }
1982
- function $t(e, t, l, o, a, i, u, d) {
1982
+ function $t(e, t, l, o, a, u, i, d) {
1983
1983
  const m = e === window ? document.scrollingElement || document.documentElement : e, g = a === !0 ? "offsetWidth" : "offsetHeight", c = {
1984
1984
  scrollStart: 0,
1985
- scrollViewSize: -u - d,
1985
+ scrollViewSize: -i - d,
1986
1986
  scrollMaxSize: 0,
1987
- offsetStart: -u,
1987
+ offsetStart: -i,
1988
1988
  offsetEnd: -d
1989
1989
  };
1990
- if (a === !0 ? (e === window ? (c.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, c.scrollViewSize += document.documentElement.clientWidth) : (c.scrollStart = m.scrollLeft, c.scrollViewSize += m.clientWidth), c.scrollMaxSize = m.scrollWidth, i === !0 && (c.scrollStart = (Ct === !0 ? c.scrollMaxSize - c.scrollViewSize : 0) - c.scrollStart)) : (e === window ? (c.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, c.scrollViewSize += document.documentElement.clientHeight) : (c.scrollStart = m.scrollTop, c.scrollViewSize += m.clientHeight), c.scrollMaxSize = m.scrollHeight), l !== null)
1990
+ if (a === !0 ? (e === window ? (c.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, c.scrollViewSize += document.documentElement.clientWidth) : (c.scrollStart = m.scrollLeft, c.scrollViewSize += m.clientWidth), c.scrollMaxSize = m.scrollWidth, u === !0 && (c.scrollStart = (Ct === !0 ? c.scrollMaxSize - c.scrollViewSize : 0) - c.scrollStart)) : (e === window ? (c.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, c.scrollViewSize += document.documentElement.clientHeight) : (c.scrollStart = m.scrollTop, c.scrollViewSize += m.clientHeight), c.scrollMaxSize = m.scrollHeight), l !== null)
1991
1991
  for (let y = l.previousElementSibling; y !== null; y = y.previousElementSibling)
1992
1992
  y.classList.contains("q-virtual-scroll--skip") === !1 && (c.offsetStart += y[g]);
1993
1993
  if (o !== null)
@@ -2005,11 +2005,11 @@ function Rl(e, t, l, o) {
2005
2005
  function Ge(e, t, l, o) {
2006
2006
  if (l >= o)
2007
2007
  return 0;
2008
- const a = t.length, i = Math.floor(l / fe), u = Math.floor((o - 1) / fe) + 1;
2009
- let d = e.slice(i, u).reduce(We, 0);
2010
- return l % fe !== 0 && (d -= t.slice(i * fe, l).reduce(We, 0)), o % fe !== 0 && o !== a && (d -= t.slice(o, u * fe).reduce(We, 0)), d;
2008
+ const a = t.length, u = Math.floor(l / fe), i = Math.floor((o - 1) / fe) + 1;
2009
+ let d = e.slice(u, i).reduce(We, 0);
2010
+ return l % fe !== 0 && (d -= t.slice(u * fe, l).reduce(We, 0)), o % fe !== 0 && o !== a && (d -= t.slice(o, i * fe).reduce(We, 0)), d;
2011
2011
  }
2012
- const si = {
2012
+ const su = {
2013
2013
  virtualScrollSliceSize: {
2014
2014
  type: [Number, String],
2015
2015
  default: 10
@@ -2038,21 +2038,21 @@ const si = {
2038
2038
  }, zl = {
2039
2039
  virtualScrollHorizontal: Boolean,
2040
2040
  onVirtualScroll: Function,
2041
- ...si
2041
+ ...su
2042
2042
  };
2043
- function ci({
2043
+ function cu({
2044
2044
  virtualScrollLength: e,
2045
2045
  getVirtualScrollTarget: t,
2046
2046
  getVirtualScrollEl: l,
2047
2047
  virtualScrollItemSizeComputed: o
2048
2048
  // optional
2049
2049
  }) {
2050
- const a = le(), { props: i, emit: u, proxy: d } = a, { $q: m } = d;
2050
+ const a = le(), { props: u, emit: i, proxy: d } = a, { $q: m } = d;
2051
2051
  let g, c, y, C = [], r;
2052
- const v = T(0), _ = T(0), S = T({}), P = T(null), E = T(null), q = T(null), R = T({ from: 0, to: 0 }), D = f(() => i.tableColspan !== void 0 ? i.tableColspan : 100);
2053
- o === void 0 && (o = f(() => i.virtualScrollItemSize));
2054
- const B = f(() => o.value + ";" + i.virtualScrollHorizontal), L = f(
2055
- () => B.value + ";" + i.virtualScrollSliceRatioBefore + ";" + i.virtualScrollSliceRatioAfter
2052
+ const v = T(0), _ = T(0), S = T({}), P = T(null), E = T(null), q = T(null), R = T({ from: 0, to: 0 }), D = f(() => u.tableColspan !== void 0 ? u.tableColspan : 100);
2053
+ o === void 0 && (o = f(() => u.virtualScrollItemSize));
2054
+ const B = f(() => o.value + ";" + u.virtualScrollHorizontal), L = f(
2055
+ () => B.value + ";" + u.virtualScrollSliceRatioBefore + ";" + u.virtualScrollSliceRatioAfter
2056
2056
  );
2057
2057
  K(L, () => {
2058
2058
  X();
@@ -2072,17 +2072,17 @@ function ci({
2072
2072
  l(),
2073
2073
  P.value,
2074
2074
  E.value,
2075
- i.virtualScrollHorizontal,
2075
+ u.virtualScrollHorizontal,
2076
2076
  m.lang.rtl,
2077
- i.virtualScrollStickySizeStart,
2078
- i.virtualScrollStickySizeEnd
2077
+ u.virtualScrollStickySizeStart,
2078
+ u.virtualScrollStickySizeEnd
2079
2079
  );
2080
2080
  y !== V.scrollViewSize && X(V.scrollViewSize), A(
2081
2081
  O,
2082
2082
  V,
2083
2083
  Math.min(e.value - 1, Math.max(0, parseInt(s, 10) || 0)),
2084
2084
  0,
2085
- ai.indexOf(p) !== -1 ? p : c !== -1 && s > c ? "end" : "start"
2085
+ au.indexOf(p) !== -1 ? p : c !== -1 && s > c ? "end" : "start"
2086
2086
  );
2087
2087
  }
2088
2088
  function oe() {
@@ -2094,10 +2094,10 @@ function ci({
2094
2094
  l(),
2095
2095
  P.value,
2096
2096
  E.value,
2097
- i.virtualScrollHorizontal,
2097
+ u.virtualScrollHorizontal,
2098
2098
  m.lang.rtl,
2099
- i.virtualScrollStickySizeStart,
2100
- i.virtualScrollStickySizeEnd
2099
+ u.virtualScrollStickySizeStart,
2100
+ u.virtualScrollStickySizeEnd
2101
2101
  ), O = e.value - 1, V = p.scrollMaxSize - p.offsetStart - p.offsetEnd - _.value;
2102
2102
  if (g === p.scrollStart)
2103
2103
  return;
@@ -2143,7 +2143,7 @@ function ci({
2143
2143
  const { activeElement: ze } = document, me = q.value;
2144
2144
  ve === !0 && me !== null && me !== ze && me.contains(ze) === !0 && (me.addEventListener("focusout", ne), setTimeout(() => {
2145
2145
  me !== null && me.removeEventListener("focusout", ne);
2146
- })), ri(me, O - b);
2146
+ })), ru(me, O - b);
2147
2147
  const nt = z !== void 0 ? r.slice(b, O).reduce(We, 0) : 0;
2148
2148
  if (ve === !0) {
2149
2149
  const ke = Z >= R.value.from && b <= R.value.to ? R.value.to : Z;
@@ -2155,16 +2155,16 @@ function ci({
2155
2155
  if (g !== p.scrollStart)
2156
2156
  return;
2157
2157
  ve === !0 && U(b);
2158
- const ke = r.slice(b, O).reduce(We, 0), qe = ke + p.offsetStart + v.value, it = qe + r[O];
2158
+ const ke = r.slice(b, O).reduce(We, 0), qe = ke + p.offsetStart + v.value, ut = qe + r[O];
2159
2159
  let Ne = qe + V;
2160
2160
  if (z !== void 0) {
2161
2161
  const Vt = ke - nt, Ke = p.scrollStart + Vt;
2162
- Ne = F !== !0 && Ke < qe && it < Ke + p.scrollViewSize ? Ke : z === "end" ? it - p.scrollViewSize : qe - (z === "start" ? 0 : Math.round((p.scrollViewSize - r[O]) / 2));
2162
+ Ne = F !== !0 && Ke < qe && ut < Ke + p.scrollViewSize ? Ke : z === "end" ? ut - p.scrollViewSize : qe - (z === "start" ? 0 : Math.round((p.scrollViewSize - r[O]) / 2));
2163
2163
  }
2164
2164
  g = Ne, Rl(
2165
2165
  s,
2166
2166
  Ne,
2167
- i.virtualScrollHorizontal,
2167
+ u.virtualScrollHorizontal,
2168
2168
  m.lang.rtl
2169
2169
  ), k(O);
2170
2170
  });
@@ -2175,7 +2175,7 @@ function ci({
2175
2175
  const O = co.call(
2176
2176
  p.children,
2177
2177
  (b) => b.classList && b.classList.contains("q-virtual-scroll--skip") === !1
2178
- ), V = O.length, I = i.virtualScrollHorizontal === !0 ? (b) => b.getBoundingClientRect().width : (b) => b.offsetHeight;
2178
+ ), V = O.length, I = u.virtualScrollHorizontal === !0 ? (b) => b.getBoundingClientRect().width : (b) => b.offsetHeight;
2179
2179
  let F = s, z, N;
2180
2180
  for (let b = 0; b < V; ) {
2181
2181
  for (z = I(O[b]), b++; b < V && O[b].classList.contains("q-virtual-scroll--with-prev") === !0; )
@@ -2203,7 +2203,7 @@ function ci({
2203
2203
  z += r[b];
2204
2204
  C.push(z);
2205
2205
  }
2206
- c = -1, g = void 0, v.value = Ge(C, r, 0, R.value.from), _.value = Ge(C, r, R.value.to, e.value), s >= 0 ? (U(R.value.from), ue(() => {
2206
+ c = -1, g = void 0, v.value = Ge(C, r, 0, R.value.from), _.value = Ge(C, r, R.value.to, e.value), s >= 0 ? (U(R.value.from), ie(() => {
2207
2207
  G(s);
2208
2208
  })) : M();
2209
2209
  }
@@ -2215,17 +2215,17 @@ function ci({
2215
2215
  l(),
2216
2216
  P.value,
2217
2217
  E.value,
2218
- i.virtualScrollHorizontal,
2218
+ u.virtualScrollHorizontal,
2219
2219
  m.lang.rtl,
2220
- i.virtualScrollStickySizeStart,
2221
- i.virtualScrollStickySizeEnd
2220
+ u.virtualScrollStickySizeStart,
2221
+ u.virtualScrollStickySizeEnd
2222
2222
  ).scrollViewSize);
2223
2223
  }
2224
2224
  y = s;
2225
- const p = parseFloat(i.virtualScrollSliceRatioBefore) || 0, O = parseFloat(i.virtualScrollSliceRatioAfter) || 0, V = 1 + p + O, I = s === void 0 || s <= 0 ? 1 : Math.ceil(s / o.value), F = Math.max(
2225
+ const p = parseFloat(u.virtualScrollSliceRatioBefore) || 0, O = parseFloat(u.virtualScrollSliceRatioAfter) || 0, V = 1 + p + O, I = s === void 0 || s <= 0 ? 1 : Math.ceil(s / o.value), F = Math.max(
2226
2226
  1,
2227
2227
  I,
2228
- Math.ceil((i.virtualScrollSliceSize > 0 ? i.virtualScrollSliceSize : 10) / V)
2228
+ Math.ceil((u.virtualScrollSliceSize > 0 ? u.virtualScrollSliceSize : 10) / V)
2229
2229
  );
2230
2230
  S.value = {
2231
2231
  total: Math.ceil(F * V),
@@ -2236,7 +2236,7 @@ function ci({
2236
2236
  };
2237
2237
  }
2238
2238
  function re(s, p) {
2239
- const O = i.virtualScrollHorizontal === !0 ? "width" : "height", V = {
2239
+ const O = u.virtualScrollHorizontal === !0 ? "width" : "height", V = {
2240
2240
  ["--q-virtual-scroll-item-" + O]: o.value + "px"
2241
2241
  };
2242
2242
  return [
@@ -2283,7 +2283,7 @@ function ci({
2283
2283
  ];
2284
2284
  }
2285
2285
  function k(s) {
2286
- c !== s && (i.onVirtualScroll !== void 0 && u("virtualScroll", {
2286
+ c !== s && (u.onVirtualScroll !== void 0 && i("virtualScroll", {
2287
2287
  index: s,
2288
2288
  from: R.value.from,
2289
2289
  to: R.value.to - 1,
@@ -2308,7 +2308,7 @@ function ci({
2308
2308
  g !== void 0 && s !== void 0 && s !== null && s.nodeType !== 8 ? Rl(
2309
2309
  s,
2310
2310
  g,
2311
- i.virtualScrollHorizontal,
2311
+ u.virtualScrollHorizontal,
2312
2312
  m.lang.rtl
2313
2313
  ) : G(c);
2314
2314
  }), ce(() => {
@@ -2325,13 +2325,13 @@ function ci({
2325
2325
  refresh: Q
2326
2326
  };
2327
2327
  }
2328
- const di = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/, fi = /[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u, vi = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/, mi = /[a-z0-9_ -]$/i;
2329
- function hi(e) {
2328
+ const du = /[\u3000-\u303f\u3040-\u309f\u30a0-\u30ff\uff00-\uff9f\u4e00-\u9faf\u3400-\u4dbf]/, fu = /[\u4e00-\u9fff\u3400-\u4dbf\u{20000}-\u{2a6df}\u{2a700}-\u{2b73f}\u{2b740}-\u{2b81f}\u{2b820}-\u{2ceaf}\uf900-\ufaff\u3300-\u33ff\ufe30-\ufe4f\uf900-\ufaff\u{2f800}-\u{2fa1f}]/u, vu = /[\u3131-\u314e\u314f-\u3163\uac00-\ud7a3]/, mu = /[a-z0-9_ -]$/i;
2329
+ function hu(e) {
2330
2330
  return function(l) {
2331
2331
  if (l.type === "compositionend" || l.type === "change") {
2332
2332
  if (l.target.qComposing !== !0) return;
2333
2333
  l.target.qComposing = !1, e(l);
2334
- } else l.type === "compositionupdate" && l.target.qComposing !== !0 && typeof l.data == "string" && (we.is.firefox === !0 ? mi.test(l.data) === !1 : di.test(l.data) === !0 || fi.test(l.data) === !0 || vi.test(l.data) === !0) === !0 && (l.target.qComposing = !0);
2334
+ } else l.type === "compositionupdate" && l.target.qComposing !== !0 && typeof l.data == "string" && (we.is.firefox === !0 ? mu.test(l.data) === !1 : du.test(l.data) === !0 || fu.test(l.data) === !0 || vu.test(l.data) === !0) === !0 && (l.target.qComposing = !0);
2335
2335
  };
2336
2336
  }
2337
2337
  function Ce(e, t) {
@@ -2352,27 +2352,27 @@ function Ce(e, t) {
2352
2352
  if (e.constructor === Map) {
2353
2353
  if (e.size !== t.size)
2354
2354
  return !1;
2355
- let i = e.entries();
2356
- for (o = i.next(); o.done !== !0; ) {
2355
+ let u = e.entries();
2356
+ for (o = u.next(); o.done !== !0; ) {
2357
2357
  if (t.has(o.value[0]) !== !0)
2358
2358
  return !1;
2359
- o = i.next();
2359
+ o = u.next();
2360
2360
  }
2361
- for (i = e.entries(), o = i.next(); o.done !== !0; ) {
2361
+ for (u = e.entries(), o = u.next(); o.done !== !0; ) {
2362
2362
  if (Ce(o.value[1], t.get(o.value[0])) !== !0)
2363
2363
  return !1;
2364
- o = i.next();
2364
+ o = u.next();
2365
2365
  }
2366
2366
  return !0;
2367
2367
  }
2368
2368
  if (e.constructor === Set) {
2369
2369
  if (e.size !== t.size)
2370
2370
  return !1;
2371
- const i = e.entries();
2372
- for (o = i.next(); o.done !== !0; ) {
2371
+ const u = e.entries();
2372
+ for (o = u.next(); o.done !== !0; ) {
2373
2373
  if (t.has(o.value[0]) !== !0)
2374
2374
  return !1;
2375
- o = i.next();
2375
+ o = u.next();
2376
2376
  }
2377
2377
  return !0;
2378
2378
  }
@@ -2390,12 +2390,12 @@ function Ce(e, t) {
2390
2390
  return e.valueOf() === t.valueOf();
2391
2391
  if (e.toString !== Object.prototype.toString)
2392
2392
  return e.toString() === t.toString();
2393
- const a = Object.keys(e).filter((i) => e[i] !== void 0);
2394
- if (l = a.length, l !== Object.keys(t).filter((i) => t[i] !== void 0).length)
2393
+ const a = Object.keys(e).filter((u) => e[u] !== void 0);
2394
+ if (l = a.length, l !== Object.keys(t).filter((u) => t[u] !== void 0).length)
2395
2395
  return !1;
2396
2396
  for (o = l; o-- !== 0; ) {
2397
- const i = a[o];
2398
- if (Ce(e[i], t[i]) !== !0)
2397
+ const u = a[o];
2398
+ if (Ce(e[u], t[u]) !== !0)
2399
2399
  return !1;
2400
2400
  }
2401
2401
  return !0;
@@ -2409,13 +2409,13 @@ function Fl(e, t, l) {
2409
2409
  let a = t + (e - t) % o;
2410
2410
  return a < t && (a = o + a), a === 0 ? 0 : a;
2411
2411
  }
2412
- const Ml = (e) => ["add", "add-unique", "toggle"].includes(e), gi = ".*+?^${}()|[]\\", pi = Object.keys(Qt);
2412
+ const Ml = (e) => ["add", "add-unique", "toggle"].includes(e), gu = ".*+?^${}()|[]\\", pu = Object.keys(Qt);
2413
2413
  function Pt(e, t) {
2414
2414
  if (typeof e == "function") return e;
2415
2415
  const l = e !== void 0 ? e : t;
2416
2416
  return (o) => o !== null && typeof o == "object" && l in o ? o[l] : o;
2417
2417
  }
2418
- const bi = be({
2418
+ const bu = be({
2419
2419
  name: "QSelect",
2420
2420
  inheritAttrs: !1,
2421
2421
  props: {
@@ -2502,9 +2502,9 @@ const bi = be({
2502
2502
  "filterAbort"
2503
2503
  ],
2504
2504
  setup(e, { slots: t, emit: l }) {
2505
- const { proxy: o } = le(), { $q: a } = o, i = T(!1), u = T(!1), d = T(-1), m = T(""), g = T(!1), c = T(!1);
2505
+ const { proxy: o } = le(), { $q: a } = o, u = T(!1), i = T(!1), d = T(-1), m = T(""), g = T(!1), c = T(!1);
2506
2506
  let y = null, C = null, r, v, _, S = null, P, E, q, R;
2507
- const D = T(null), B = T(null), L = T(null), H = T(null), Q = T(null), G = on(e), oe = hi(ol), A = f(() => Array.isArray(e.options) ? e.options.length : 0), U = f(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
2507
+ const D = T(null), B = T(null), L = T(null), H = T(null), Q = T(null), G = on(e), oe = hu(ol), A = f(() => Array.isArray(e.options) ? e.options.length : 0), U = f(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
2508
2508
  virtualScrollSliceRange: ne,
2509
2509
  virtualScrollSliceSizeComputed: te,
2510
2510
  localResetVirtualScroll: X,
@@ -2512,7 +2512,7 @@ const bi = be({
2512
2512
  onVirtualScrollEvt: k,
2513
2513
  scrollTo: M,
2514
2514
  setVirtualScrollSize: se
2515
- } = ci({
2515
+ } = cu({
2516
2516
  virtualScrollLength: A,
2517
2517
  getVirtualScrollTarget: ho,
2518
2518
  getVirtualScrollEl: tl,
@@ -2526,7 +2526,7 @@ const bi = be({
2526
2526
  return w;
2527
2527
  }), O = f(() => {
2528
2528
  const n = {};
2529
- return pi.forEach((w) => {
2529
+ return pu.forEach((w) => {
2530
2530
  const x = e[w];
2531
2531
  x !== void 0 && (n[w] = x);
2532
2532
  }), n;
@@ -2536,7 +2536,7 @@ const bi = be({
2536
2536
  }), z = f(
2537
2537
  () => (e.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (e.popupContentClass ? " " + e.popupContentClass : "")
2538
2538
  ), N = f(() => A.value === 0), b = f(
2539
- () => p.value.map((n) => ie.value(n)).join(", ")
2539
+ () => p.value.map((n) => ue.value(n)).join(", ")
2540
2540
  ), Z = f(() => e.displayValue !== void 0 ? e.displayValue : b.value), ve = f(() => e.optionsHtml === !0 ? () => !0 : (n) => n != null && n.html === !0), ze = f(() => e.displayValueHtml === !0 || e.displayValue === void 0 && (e.optionsHtml === !0 || p.value.some(ve.value))), me = f(() => s.focused.value === !0 ? e.tabindex : -1), nt = f(() => {
2541
2541
  const n = {
2542
2542
  tabindex: e.tabindex,
@@ -2544,7 +2544,7 @@ const bi = be({
2544
2544
  "aria-label": e.label,
2545
2545
  "aria-readonly": e.readonly === !0 ? "true" : "false",
2546
2546
  "aria-autocomplete": e.useInput === !0 ? "list" : "none",
2547
- "aria-expanded": i.value === !0 ? "true" : "false",
2547
+ "aria-expanded": u.value === !0 ? "true" : "false",
2548
2548
  "aria-controls": `${s.targetUid.value}_lb`
2549
2549
  };
2550
2550
  return d.value >= 0 && (n["aria-activedescendant"] = `${s.targetUid.value}_${d.value}`), n;
@@ -2560,7 +2560,7 @@ const bi = be({
2560
2560
  removeAtIndex: vo,
2561
2561
  toggleOption: Ve,
2562
2562
  tabindex: me.value
2563
- }))), it = f(() => {
2563
+ }))), ut = f(() => {
2564
2564
  if (A.value === 0)
2565
2565
  return [];
2566
2566
  const { from: n, to: w } = ne.value;
@@ -2583,12 +2583,12 @@ const bi = be({
2583
2583
  }
2584
2584
  };
2585
2585
  return j !== !0 && (d.value === J && (Y.focused = !0), a.platform.is.desktop === !0 && (Y.onMousemove = () => {
2586
- i.value === !0 && Me(J);
2586
+ u.value === !0 && Me(J);
2587
2587
  })), {
2588
2588
  index: J,
2589
2589
  opt: x,
2590
2590
  html: ve.value(x),
2591
- label: ie.value(x),
2591
+ label: ue.value(x),
2592
2592
  selected: Y.active,
2593
2593
  focused: Y.focused,
2594
2594
  toggleOption: Ve,
@@ -2598,7 +2598,7 @@ const bi = be({
2598
2598
  });
2599
2599
  }), Ne = f(() => e.dropdownIcon !== void 0 ? e.dropdownIcon : a.iconSet.arrow.dropdown), Vt = f(
2600
2600
  () => e.optionsCover === !1 && e.outlined !== !0 && e.standout !== !0 && e.borderless !== !0 && e.rounded !== !0
2601
- ), Ke = f(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), he = f(() => Pt(e.optionValue, "value")), ie = f(() => Pt(e.optionLabel, "label")), Fe = f(() => Pt(e.optionDisable, "disable")), ut = f(() => p.value.map(he.value)), fo = f(() => {
2601
+ ), Ke = f(() => e.optionsSelectedClass !== void 0 ? e.optionsSelectedClass : e.color !== void 0 ? `text-${e.color}` : ""), he = f(() => Pt(e.optionValue, "value")), ue = f(() => Pt(e.optionLabel, "label")), Fe = f(() => Pt(e.optionDisable, "disable")), it = f(() => p.value.map(he.value)), fo = f(() => {
2602
2602
  const n = {
2603
2603
  onInput: ol,
2604
2604
  // Safari < 10.2 & UIWebView doesn't fire compositionend when
@@ -2617,8 +2617,8 @@ const bi = be({
2617
2617
  return n.onCompositionstart = n.onCompositionupdate = n.onCompositionend = oe, n;
2618
2618
  });
2619
2619
  K(p, (n) => {
2620
- r = n, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && s.innerLoading.value !== !0 && (u.value !== !0 && i.value !== !0 || I.value !== !0) && (_ !== !0 && He(), (u.value === !0 || i.value === !0) && Le(""));
2621
- }, { immediate: !0 }), K(() => e.fillInput, He), K(i, Bt), K(A, _o);
2620
+ r = n, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && s.innerLoading.value !== !0 && (i.value !== !0 && u.value !== !0 || I.value !== !0) && (_ !== !0 && He(), (i.value === !0 || u.value === !0) && Le(""));
2621
+ }, { immediate: !0 }), K(() => e.fillInput, He), K(u, Bt), K(A, _o);
2622
2622
  function Ut(n) {
2623
2623
  return e.emitValue === !0 ? he.value(n) : n;
2624
2624
  }
@@ -2637,7 +2637,7 @@ const bi = be({
2637
2637
  const x = Ut(n);
2638
2638
  if (e.multiple !== !0) {
2639
2639
  e.fillInput === !0 && Qe(
2640
- ie.value(n),
2640
+ ue.value(n),
2641
2641
  !0,
2642
2642
  !0
2643
2643
  ), l("update:modelValue", x);
@@ -2658,7 +2658,7 @@ const bi = be({
2658
2658
  const x = he.value(n);
2659
2659
  if (e.multiple !== !0) {
2660
2660
  w !== !0 && (Qe(
2661
- e.fillInput === !0 ? ie.value(n) : "",
2661
+ e.fillInput === !0 ? ue.value(n) : "",
2662
2662
  !0,
2663
2663
  !0
2664
2664
  ), _e()), B.value !== null && B.value.focus(), (p.value.length === 0 || Ce(he.value(p.value[0]), x) !== !0) && l("update:modelValue", e.emitValue === !0 ? x : n);
@@ -2669,7 +2669,7 @@ const bi = be({
2669
2669
  l("add", { index: 0, value: W }), l("update:modelValue", e.multiple === !0 ? [W] : W);
2670
2670
  return;
2671
2671
  }
2672
- const $ = e.modelValue.slice(), j = ut.value.findIndex((W) => Ce(W, x));
2672
+ const $ = e.modelValue.slice(), j = it.value.findIndex((W) => Ce(W, x));
2673
2673
  if (j !== -1)
2674
2674
  l("remove", { index: j, value: $.splice(j, 1)[0] });
2675
2675
  else {
@@ -2686,7 +2686,7 @@ const bi = be({
2686
2686
  d.value !== w && (d.value = w);
2687
2687
  }
2688
2688
  function at(n = 1, w) {
2689
- if (i.value === !0) {
2689
+ if (u.value === !0) {
2690
2690
  let x = d.value;
2691
2691
  do
2692
2692
  x = Fl(
@@ -2696,7 +2696,7 @@ const bi = be({
2696
2696
  );
2697
2697
  while (x !== -1 && x !== d.value && Fe.value(e.options[x]) === !0);
2698
2698
  d.value !== x && (Me(x), M(x), w !== !0 && e.useInput === !0 && e.fillInput === !0 && rt(
2699
- x >= 0 ? ie.value(e.options[x]) : P,
2699
+ x >= 0 ? ue.value(e.options[x]) : P,
2700
2700
  !0
2701
2701
  ));
2702
2702
  }
@@ -2707,13 +2707,13 @@ const bi = be({
2707
2707
  }
2708
2708
  function Et(n) {
2709
2709
  const w = he.value(n);
2710
- return ut.value.find((x) => Ce(x, w)) !== void 0;
2710
+ return it.value.find((x) => Ce(x, w)) !== void 0;
2711
2711
  }
2712
2712
  function Yt(n) {
2713
2713
  e.useInput === !0 && B.value !== null && (n === void 0 || B.value === n.target && n.target.value === b.value) && B.value.select();
2714
2714
  }
2715
2715
  function Gt(n) {
2716
- qt(n, 27) === !0 && i.value === !0 && (De(n), _e(), He()), l("keyup", n);
2716
+ qt(n, 27) === !0 && u.value === !0 && (De(n), _e(), He()), l("keyup", n);
2717
2717
  }
2718
2718
  function Zt(n) {
2719
2719
  const { value: w } = n.target;
@@ -2726,7 +2726,7 @@ const bi = be({
2726
2726
  const J = e.options.find((Y) => String(W.value(Y)).toLocaleLowerCase() === x);
2727
2727
  return J === void 0 ? !1 : (p.value.indexOf(J) === -1 ? Ve(J) : _e(), !0);
2728
2728
  }, j = (W) => {
2729
- $(he) !== !0 && W !== !0 && $(ie) !== !0 && Le(w, !0, () => j(!0));
2729
+ $(he) !== !0 && W !== !0 && $(ue) !== !0 && Le(w, !0, () => j(!0));
2730
2730
  };
2731
2731
  j();
2732
2732
  } else
@@ -2748,7 +2748,7 @@ const bi = be({
2748
2748
  return;
2749
2749
  }
2750
2750
  if (n.target === void 0 || n.target.id !== s.targetUid.value || s.editable.value !== !0) return;
2751
- if (n.keyCode === 40 && s.innerLoading.value !== !0 && i.value === !1) {
2751
+ if (n.keyCode === 40 && s.innerLoading.value !== !0 && u.value === !1) {
2752
2752
  ae(n), Ie();
2753
2753
  return;
2754
2754
  }
@@ -2765,17 +2765,17 @@ const bi = be({
2765
2765
  ), at(n.keyCode === 33 ? 1 : -1, e.multiple)), (n.keyCode === 38 || n.keyCode === 40) && (ae(n), at(n.keyCode === 38 ? -1 : 1, e.multiple));
2766
2766
  const $ = A.value;
2767
2767
  if ((q === void 0 || R < Date.now()) && (q = ""), $ > 0 && e.useInput !== !0 && n.key !== void 0 && n.key.length === 1 && n.altKey === !1 && n.ctrlKey === !1 && n.metaKey === !1 && (n.keyCode !== 32 || q.length !== 0)) {
2768
- i.value !== !0 && Ie(n);
2768
+ u.value !== !0 && Ie(n);
2769
2769
  const j = n.key.toLocaleLowerCase(), W = q.length === 1 && q[0] === j;
2770
2770
  R = Date.now() + 1500, W === !1 && (ae(n), q += j);
2771
- const J = new RegExp("^" + q.split("").map((At) => gi.indexOf(At) !== -1 ? "\\" + At : At).join(".*"), "i");
2771
+ const J = new RegExp("^" + q.split("").map((At) => gu.indexOf(At) !== -1 ? "\\" + At : At).join(".*"), "i");
2772
2772
  let Y = d.value;
2773
- if (W === !0 || Y < 0 || J.test(ie.value(e.options[Y])) !== !0)
2773
+ if (W === !0 || Y < 0 || J.test(ue.value(e.options[Y])) !== !0)
2774
2774
  do
2775
2775
  Y = Fl(Y + 1, -1, $ - 1);
2776
- while (Y !== d.value && (Fe.value(e.options[Y]) === !0 || J.test(ie.value(e.options[Y])) !== !0));
2777
- d.value !== Y && ue(() => {
2778
- Me(Y), M(Y), Y >= 0 && e.useInput === !0 && e.fillInput === !0 && rt(ie.value(e.options[Y]), !0);
2776
+ while (Y !== d.value && (Fe.value(e.options[Y]) === !0 || J.test(ue.value(e.options[Y])) !== !0));
2777
+ d.value !== Y && ie(() => {
2778
+ Me(Y), M(Y), Y >= 0 && e.useInput === !0 && e.fillInput === !0 && rt(ue.value(e.options[Y]), !0);
2779
2779
  });
2780
2780
  return;
2781
2781
  }
@@ -2798,7 +2798,7 @@ const bi = be({
2798
2798
  if (e.onNewValue !== void 0 ? l("newValue", m.value, j) : j(m.value), e.multiple !== !0)
2799
2799
  return;
2800
2800
  }
2801
- i.value === !0 ? Oe() : s.innerLoading.value !== !0 && Ie();
2801
+ u.value === !0 ? Oe() : s.innerLoading.value !== !0 && Ie();
2802
2802
  }
2803
2803
  }
2804
2804
  function tl() {
@@ -2819,7 +2819,7 @@ const bi = be({
2819
2819
  }
2820
2820
  }, () => h("span", {
2821
2821
  class: "ellipsis",
2822
- [n.html === !0 ? "innerHTML" : "textContent"]: ie.value(n.opt)
2822
+ [n.html === !0 ? "innerHTML" : "textContent"]: ue.value(n.opt)
2823
2823
  }))) : [
2824
2824
  h("span", {
2825
2825
  [ze.value === !0 ? "innerHTML" : "textContent"]: Z.value
@@ -2841,7 +2841,7 @@ const bi = be({
2841
2841
  })
2842
2842
  )
2843
2843
  ));
2844
- let w = re("div", it.value.map(n));
2844
+ let w = re("div", ut.value.map(n));
2845
2845
  return t["before-options"] !== void 0 && (w = t["before-options"]().concat(w)), Hl(t["after-options"], w);
2846
2846
  }
2847
2847
  function po(n, w) {
@@ -2880,24 +2880,24 @@ const bi = be({
2880
2880
  function Le(n, w, x) {
2881
2881
  if (e.onFilter === void 0 || w !== !0 && s.focused.value !== !0)
2882
2882
  return;
2883
- s.innerLoading.value === !0 ? l("filterAbort") : (s.innerLoading.value = !0, c.value = !0), n !== "" && e.multiple !== !0 && p.value.length !== 0 && _ !== !0 && n === ie.value(p.value[0]) && (n = "");
2883
+ s.innerLoading.value === !0 ? l("filterAbort") : (s.innerLoading.value = !0, c.value = !0), n !== "" && e.multiple !== !0 && p.value.length !== 0 && _ !== !0 && n === ue.value(p.value[0]) && (n = "");
2884
2884
  const $ = setTimeout(() => {
2885
- i.value === !0 && (i.value = !1);
2885
+ u.value === !0 && (u.value = !1);
2886
2886
  }, 10);
2887
2887
  S !== null && clearTimeout(S), S = $, l(
2888
2888
  "filter",
2889
2889
  n,
2890
2890
  (j, W) => {
2891
- (w === !0 || s.focused.value === !0) && S === $ && (clearTimeout(S), typeof j == "function" && j(), c.value = !1, ue(() => {
2892
- s.innerLoading.value = !1, s.editable.value === !0 && (w === !0 ? i.value === !0 && _e() : i.value === !0 ? Bt(!0) : i.value = !0), typeof W == "function" && ue(() => {
2891
+ (w === !0 || s.focused.value === !0) && S === $ && (clearTimeout(S), typeof j == "function" && j(), c.value = !1, ie(() => {
2892
+ s.innerLoading.value = !1, s.editable.value === !0 && (w === !0 ? u.value === !0 && _e() : u.value === !0 ? Bt(!0) : u.value = !0), typeof W == "function" && ie(() => {
2893
2893
  W(o);
2894
- }), typeof x == "function" && ue(() => {
2894
+ }), typeof x == "function" && ie(() => {
2895
2895
  x(o);
2896
2896
  });
2897
2897
  }));
2898
2898
  },
2899
2899
  () => {
2900
- s.focused.value === !0 && S === $ && (clearTimeout(S), s.innerLoading.value = !1, c.value = !1), i.value === !0 && (i.value = !1);
2900
+ s.focused.value === !0 && S === $ && (clearTimeout(S), s.innerLoading.value = !1, c.value = !1), u.value === !0 && (u.value = !1);
2901
2901
  }
2902
2902
  );
2903
2903
  }
@@ -2906,7 +2906,7 @@ const bi = be({
2906
2906
  ref: L,
2907
2907
  class: z.value,
2908
2908
  style: e.popupContentStyle,
2909
- modelValue: i.value,
2909
+ modelValue: u.value,
2910
2910
  fit: e.menuShrink !== !0,
2911
2911
  cover: e.optionsCover === !0 && N.value !== !0 && e.useInput !== !0,
2912
2912
  anchor: e.menuAnchor,
@@ -2924,13 +2924,13 @@ const bi = be({
2924
2924
  separateClosePopup: !0,
2925
2925
  ...ke.value,
2926
2926
  onScrollPassive: k,
2927
- onBeforeShow: il,
2927
+ onBeforeShow: ul,
2928
2928
  onBeforeHide: yo,
2929
2929
  onShow: So
2930
2930
  }, ll);
2931
2931
  }
2932
2932
  function yo(n) {
2933
- ul(n), Oe();
2933
+ il(n), Oe();
2934
2934
  }
2935
2935
  function So() {
2936
2936
  se();
@@ -2939,7 +2939,7 @@ const bi = be({
2939
2939
  De(n), B.value !== null && B.value.focus(), g.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
2940
2940
  }
2941
2941
  function xo(n) {
2942
- De(n), ue(() => {
2942
+ De(n), ie(() => {
2943
2943
  g.value = !1;
2944
2944
  });
2945
2945
  }
@@ -2965,7 +2965,7 @@ const bi = be({
2965
2965
  after: void 0
2966
2966
  })
2967
2967
  ];
2968
- return i.value === !0 && n.push(
2968
+ return u.value === !0 && n.push(
2969
2969
  h("div", {
2970
2970
  ref: Q,
2971
2971
  class: z.value + " scroll",
@@ -2974,15 +2974,15 @@ const bi = be({
2974
2974
  onClick: pe,
2975
2975
  onScrollPassive: k
2976
2976
  }, ll())
2977
- ), h(ui, {
2977
+ ), h(iu, {
2978
2978
  ref: H,
2979
- modelValue: u.value,
2979
+ modelValue: i.value,
2980
2980
  position: e.useInput === !0 ? "top" : void 0,
2981
2981
  transitionShow: E,
2982
2982
  transitionHide: e.transitionHide,
2983
2983
  transitionDuration: e.transitionDuration,
2984
2984
  noRouteDismiss: e.popupNoRouteDismiss,
2985
- onBeforeShow: il,
2985
+ onBeforeShow: ul,
2986
2986
  onBeforeHide: ko,
2987
2987
  onHide: qo,
2988
2988
  onShow: Vo
@@ -2991,7 +2991,7 @@ const bi = be({
2991
2991
  }, n));
2992
2992
  }
2993
2993
  function ko(n) {
2994
- ul(n), H.value !== null && H.value.__updateRefocusTarget(
2994
+ il(n), H.value !== null && H.value.__updateRefocusTarget(
2995
2995
  s.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")
2996
2996
  ), s.focused.value = !1;
2997
2997
  }
@@ -3003,19 +3003,19 @@ const bi = be({
3003
3003
  (n === null || n.id !== s.targetUid.value) && B.value !== null && B.value !== n && B.value.focus(), se();
3004
3004
  }
3005
3005
  function Oe() {
3006
- u.value !== !0 && (d.value = -1, i.value === !0 && (i.value = !1), s.focused.value === !1 && (S !== null && (clearTimeout(S), S = null), s.innerLoading.value === !0 && (l("filterAbort"), s.innerLoading.value = !1, c.value = !1)));
3006
+ i.value !== !0 && (d.value = -1, u.value === !0 && (u.value = !1), s.focused.value === !1 && (S !== null && (clearTimeout(S), S = null), s.innerLoading.value === !0 && (l("filterAbort"), s.innerLoading.value = !1, c.value = !1)));
3007
3007
  }
3008
3008
  function Ie(n) {
3009
- s.editable.value === !0 && (v === !0 ? (s.onControlFocusin(n), u.value = !0, ue(() => {
3009
+ s.editable.value === !0 && (v === !0 ? (s.onControlFocusin(n), i.value = !0, ie(() => {
3010
3010
  s.focus();
3011
- })) : s.focus(), e.onFilter !== void 0 ? Le(m.value) : (N.value !== !0 || t["no-option"] !== void 0) && (i.value = !0));
3011
+ })) : s.focus(), e.onFilter !== void 0 ? Le(m.value) : (N.value !== !0 || t["no-option"] !== void 0) && (u.value = !0));
3012
3012
  }
3013
3013
  function _e() {
3014
- u.value = !1, Oe();
3014
+ i.value = !1, Oe();
3015
3015
  }
3016
3016
  function He() {
3017
3017
  e.useInput === !0 && Qe(
3018
- e.multiple !== !0 && e.fillInput === !0 && p.value.length !== 0 && ie.value(p.value[0]) || "",
3018
+ e.multiple !== !0 && e.fillInput === !0 && p.value.length !== 0 && ue.value(p.value[0]) || "",
3019
3019
  !0,
3020
3020
  !0
3021
3021
  );
@@ -3032,17 +3032,17 @@ const bi = be({
3032
3032
  Me(w);
3033
3033
  }
3034
3034
  function _o(n, w) {
3035
- i.value === !0 && s.innerLoading.value === !1 && (X(-1, !0), ue(() => {
3036
- i.value === !0 && s.innerLoading.value === !1 && (n > w ? X() : Bt(!0));
3035
+ u.value === !0 && s.innerLoading.value === !1 && (X(-1, !0), ie(() => {
3036
+ u.value === !0 && s.innerLoading.value === !1 && (n > w ? X() : Bt(!0));
3037
3037
  }));
3038
3038
  }
3039
3039
  function nl() {
3040
- u.value === !1 && L.value !== null && L.value.updatePosition();
3040
+ i.value === !1 && L.value !== null && L.value.updatePosition();
3041
3041
  }
3042
- function il(n) {
3042
+ function ul(n) {
3043
3043
  n !== void 0 && De(n), l("popupShow", n), s.hasPopupOpen = !0, s.onControlFocusin(n);
3044
3044
  }
3045
- function ul(n) {
3045
+ function il(n) {
3046
3046
  n !== void 0 && De(n), l("popupHide", n), s.hasPopupOpen = !1, s.onControlFocusout(n);
3047
3047
  }
3048
3048
  function al() {
@@ -3066,7 +3066,7 @@ const bi = be({
3066
3066
  getEmittingOptionValue: Ut,
3067
3067
  isOptionDisabled: (...n) => Fe.value.apply(null, n) === !0,
3068
3068
  getOptionValue: (...n) => he.value.apply(null, n),
3069
- getOptionLabel: (...n) => ie.value.apply(null, n)
3069
+ getOptionLabel: (...n) => ue.value.apply(null, n)
3070
3070
  }), Object.assign(s, {
3071
3071
  innerValue: p,
3072
3072
  fieldClass: f(
@@ -3080,7 +3080,7 @@ const bi = be({
3080
3080
  () => e.hideSelected !== !0 && I.value === !0 || typeof m.value == "number" || m.value.length !== 0 || jt(e.displayValue)
3081
3081
  ),
3082
3082
  getControlChild: () => {
3083
- if (s.editable.value !== !1 && (u.value === !0 || N.value !== !0 || t["no-option"] !== void 0))
3083
+ if (s.editable.value !== !1 && (i.value === !0 || N.value !== !0 || t["no-option"] !== void 0))
3084
3084
  return v === !0 ? Co() : bo();
3085
3085
  s.hasPopupOpen === !0 && (s.hasPopupOpen = !1);
3086
3086
  },
@@ -3094,7 +3094,7 @@ const bi = be({
3094
3094
  });
3095
3095
  },
3096
3096
  onClick(n) {
3097
- if (pe(n), v !== !0 && i.value === !0) {
3097
+ if (pe(n), v !== !0 && u.value === !0) {
3098
3098
  Oe(), B.value !== null && B.value.focus();
3099
3099
  return;
3100
3100
  }
@@ -3102,7 +3102,7 @@ const bi = be({
3102
3102
  }
3103
3103
  },
3104
3104
  getControl: (n) => {
3105
- const w = go(), x = n === !0 || u.value !== !0 || v !== !0;
3105
+ const w = go(), x = n === !0 || i.value !== !0 || v !== !0;
3106
3106
  if (e.useInput === !0)
3107
3107
  w.push(po(n, x));
3108
3108
  else if (s.editable.value === !0) {
@@ -3130,8 +3130,8 @@ const bi = be({
3130
3130
  })
3131
3131
  );
3132
3132
  }
3133
- if (G.value !== void 0 && e.disable !== !0 && ut.value.length !== 0) {
3134
- const j = ut.value.map((W) => h("option", { value: W, selected: !0 }));
3133
+ if (G.value !== void 0 && e.disable !== !0 && it.value.length !== 0) {
3134
+ const j = it.value.map((W) => h("option", { value: W, selected: !0 }));
3135
3135
  w.push(
3136
3136
  h("select", {
3137
3137
  class: "hidden",
@@ -3149,13 +3149,13 @@ const bi = be({
3149
3149
  },
3150
3150
  getInnerAppend: () => e.loading !== !0 && c.value !== !0 && e.hideDropdownIcon !== !0 ? [
3151
3151
  h(Ae, {
3152
- class: "q-select__dropdown-icon" + (i.value === !0 ? " rotate-180" : ""),
3152
+ class: "q-select__dropdown-icon" + (u.value === !0 ? " rotate-180" : ""),
3153
3153
  name: Ne.value
3154
3154
  })
3155
3155
  ] : null
3156
3156
  }), Zl(s);
3157
3157
  }
3158
- }), yi = { class: "app-select__amount" }, Si = /* @__PURE__ */ zo({
3158
+ }), yu = { class: "app-select__amount" }, Su = /* @__PURE__ */ zo({
3159
3159
  __name: "AppSelect",
3160
3160
  props: {
3161
3161
  modelValue: {},
@@ -3171,11 +3171,12 @@ const bi = be({
3171
3171
  filtering: { type: Boolean },
3172
3172
  autofocus: { type: Boolean },
3173
3173
  rules: {},
3174
- lazyRules: { type: [Boolean, String] }
3174
+ lazyRules: { type: [Boolean, String] },
3175
+ menuClass: {}
3175
3176
  },
3176
3177
  emits: ["update:modelValue"],
3177
3178
  setup(e, { emit: t }) {
3178
- const l = e, o = t, a = T(!1), i = T(""), u = f({
3179
+ const l = e, o = t, a = T(!1), u = T(""), i = f({
3179
3180
  get() {
3180
3181
  if (l.modelValue) {
3181
3182
  if (l.multiple && Array.isArray(l.modelValue))
@@ -3200,23 +3201,23 @@ const bi = be({
3200
3201
  }
3201
3202
  }), d = f(() => {
3202
3203
  var r;
3203
- if (Array.isArray(u.value)) {
3204
- if (l.multiple && u.value.length == 0)
3204
+ if (Array.isArray(i.value)) {
3205
+ if (l.multiple && i.value.length == 0)
3205
3206
  return l.placeholder;
3206
- } else return ((r = u.value) == null ? void 0 : r.label) || l.placeholder || "";
3207
+ } else return ((r = i.value) == null ? void 0 : r.label) || l.placeholder || "";
3207
3208
  return "";
3208
- }), m = f(() => !(!l.clearable || !l.modelValue || l.modelValue && Array.isArray(l.modelValue) && !l.modelValue.length)), g = f(() => i.value ? l.options.filter(
3209
- (r) => r.label.toLowerCase().includes(i.value.toLowerCase())
3209
+ }), m = f(() => !(!l.clearable || !l.modelValue || l.modelValue && Array.isArray(l.modelValue) && !l.modelValue.length)), g = f(() => u.value ? l.options.filter(
3210
+ (r) => r.label.toLowerCase().includes(u.value.toLowerCase())
3210
3211
  ) : l.options), c = f(() => {
3211
3212
  if (l.rules)
3212
3213
  return l.required ? [...l.rules, dl] : l.rules;
3213
3214
  if (l.required)
3214
3215
  return [dl];
3215
3216
  }), y = () => {
3216
- u.value = void 0;
3217
+ i.value = void 0;
3217
3218
  }, C = (r, v) => {
3218
3219
  v(() => {
3219
- i.value = r;
3220
+ u.value = r;
3220
3221
  });
3221
3222
  };
3222
3223
  return (r, v) => (de(), Tt(rl(en), null, {
@@ -3228,20 +3229,20 @@ const bi = be({
3228
3229
  key: 0,
3229
3230
  class: ct(["app-select__label", { "app-select__label_bold": r.required }])
3230
3231
  }, Ue(r.required ? `${r.label} *` : r.label), 3)) : Pe("", !0),
3231
- Xe(rl(bi), {
3232
+ Xe(rl(bu), {
3232
3233
  standout: "",
3233
3234
  "hide-bottom-space": "",
3234
3235
  "hide-dropdown-icon": "",
3235
3236
  "no-error-icon": "",
3236
3237
  behavior: "menu",
3237
- "popup-content-class": `app-select-menu app-select-menu_${r.size}`,
3238
+ "popup-content-class": `app-select-menu app-select-menu_${r.size} ${r.menuClass}`,
3238
3239
  placeholder: r.filtering && "Почніть вводити",
3239
3240
  "input-debounce": "50",
3240
- modelValue: u.value,
3241
- "onUpdate:modelValue": v[0] || (v[0] = (_) => u.value = _),
3241
+ modelValue: i.value,
3242
+ "onUpdate:modelValue": v[0] || (v[0] = (_) => i.value = _),
3242
3243
  options: g.value,
3243
3244
  multiple: r.multiple,
3244
- "use-input": r.filtering && (Array.isArray(u.value) || !u.value),
3245
+ "use-input": r.filtering && (Array.isArray(i.value) || !i.value),
3245
3246
  rules: c.value,
3246
3247
  "lazy-rules": r.lazyRules,
3247
3248
  autofocus: r.autofocus,
@@ -3262,29 +3263,29 @@ const bi = be({
3262
3263
  selected: ye(() => {
3263
3264
  var _, S;
3264
3265
  return [
3265
- Array.isArray(u.value) ? (de(), xe(dt, { key: 0 }, [
3266
- !r.filtering || u.value.length ? (de(), xe("span", {
3266
+ Array.isArray(i.value) ? (de(), xe(dt, { key: 0 }, [
3267
+ !r.filtering || i.value.length ? (de(), xe("span", {
3267
3268
  key: 0,
3268
3269
  class: ct([
3269
3270
  "app-select__selected",
3270
3271
  {
3271
- "app-select__placeholder": !((_ = u.value) != null && _.length) && r.placeholder
3272
+ "app-select__placeholder": !((_ = i.value) != null && _.length) && r.placeholder
3272
3273
  }
3273
3274
  ])
3274
3275
  }, [
3275
- (S = u.value) != null && S.length ? (de(), xe(dt, { key: 0 }, [
3276
+ (S = i.value) != null && S.length ? (de(), xe(dt, { key: 0 }, [
3276
3277
  v[4] || (v[4] = Rt(" Вибрано ")),
3277
- st("span", yi, Ue(u.value.length), 1)
3278
+ st("span", yu, Ue(i.value.length), 1)
3278
3279
  ], 64)) : (de(), xe(dt, { key: 1 }, [
3279
3280
  Rt(Ue(l.placeholder), 1)
3280
3281
  ], 64))
3281
3282
  ], 2)) : Pe("", !0)
3282
3283
  ], 64)) : (de(), xe(dt, { key: 1 }, [
3283
- !r.filtering || u.value ? (de(), xe("span", {
3284
+ !r.filtering || i.value ? (de(), xe("span", {
3284
3285
  key: 0,
3285
3286
  class: ct([
3286
3287
  "app-select__selected",
3287
- { "app-select__placeholder": !u.value && r.placeholder }
3288
+ { "app-select__placeholder": !i.value && r.placeholder }
3288
3289
  ])
3289
3290
  }, Ue(d.value), 3)) : Pe("", !0)
3290
3291
  ], 64))
@@ -3341,7 +3342,7 @@ const bi = be({
3341
3342
  _: 1
3342
3343
  }));
3343
3344
  }
3344
- }), ki = /* @__PURE__ */ Go(Si, [["__scopeId", "data-v-bd31170e"]]);
3345
+ }), ku = /* @__PURE__ */ Go(Su, [["__scopeId", "data-v-a7712493"]]);
3345
3346
  export {
3346
- ki as default
3347
+ ku as default
3347
3348
  };