@quidgest/ui 0.7.0 → 0.7.2

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/ui.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance as Le, computed as y, ref as w, provide as Ue, inject as Be, watch as A, defineComponent as S, openBlock as u, createElementBlock as m, normalizeStyle as ae, createElementVNode as R, normalizeClass as H, withModifiers as Z, createVNode as J, unref as v, createCommentVNode as q, Fragment as Y, createTextVNode as re, toDisplayString as U, renderSlot as $, toRef as fe, createBlock as I, withCtx as D, renderList as me, resolveDynamicComponent as Ve, h as ke, normalizeProps as de, mergeProps as ee, reactive as Ne, onBeforeUnmount as He, onMounted as Te, Teleport as Ke, Transition as We, nextTick as P, createSlots as De, withDirectives as Ge, vModelText as je, useAttrs as Xe, guardReactiveProps as he } from "vue";
1
+ import { getCurrentInstance as Le, computed as y, ref as $, provide as Ue, inject as Be, watch as A, defineComponent as L, openBlock as u, createElementBlock as m, normalizeStyle as ae, createElementVNode as M, normalizeClass as H, withModifiers as Z, createVNode as J, unref as v, createCommentVNode as I, Fragment as Y, createTextVNode as re, toDisplayString as U, renderSlot as _, toRef as fe, createBlock as q, withCtx as S, renderList as me, resolveDynamicComponent as Ve, h as ke, normalizeProps as de, mergeProps as ee, reactive as Ne, onBeforeUnmount as He, onMounted as Te, Teleport as Ke, Transition as We, nextTick as P, createSlots as De, withDirectives as Ge, vModelText as je, useAttrs as Xe, guardReactiveProps as he } from "vue";
2
2
  function ve(n) {
3
3
  return n == null ? !0 : typeof n == "string" || Array.isArray(n) ? n.length === 0 : typeof n == "object" ? Object.keys(n).length === 0 : !1;
4
4
  }
@@ -39,7 +39,7 @@ function Ye() {
39
39
  function Pe(n) {
40
40
  if (ve(n))
41
41
  return;
42
- const t = Ce(), e = w(n), o = y(() => ve(e.value) ? t.value : Ee(t.value, e.value));
42
+ const t = Ce(), e = $(n), o = y(() => ve(e.value) ? t.value : Ee(t.value, e.value));
43
43
  Ue(ye, o);
44
44
  }
45
45
  function Ce() {
@@ -217,7 +217,7 @@ function tt(n, t) {
217
217
  };
218
218
  }
219
219
  if (e) {
220
- const o = w({
220
+ const o = $({
221
221
  activeTheme: e.name,
222
222
  themes: t.themes
223
223
  });
@@ -265,11 +265,11 @@ function Bn(n = {}) {
265
265
  for (const i in l)
266
266
  e.directive(i, l[i]);
267
267
  const a = n.defaults || {};
268
- e.provide(ye, w(a)), tt(e, n.themes);
268
+ e.provide(ye, $(a)), tt(e, n.themes);
269
269
  } };
270
270
  }
271
- const lt = /* @__PURE__ */ R("svg", { viewBox: "25 25 50 50" }, [
272
- /* @__PURE__ */ R("circle", {
271
+ const lt = /* @__PURE__ */ M("svg", { viewBox: "25 25 50 50" }, [
272
+ /* @__PURE__ */ M("circle", {
273
273
  class: "path",
274
274
  cx: "50",
275
275
  cy: "50",
@@ -281,7 +281,7 @@ const lt = /* @__PURE__ */ R("svg", { viewBox: "25 25 50 50" }, [
281
281
  })
282
282
  ], -1), at = [
283
283
  lt
284
- ], st = /* @__PURE__ */ S({
284
+ ], st = /* @__PURE__ */ L({
285
285
  __name: "QSpinnerLoader",
286
286
  props: {
287
287
  size: { default: 48 }
@@ -300,7 +300,7 @@ function it(n, t) {
300
300
  var e;
301
301
  return typeof ((e = n.props) == null ? void 0 : e[t]) < "u";
302
302
  }
303
- function L(n) {
303
+ function B(n) {
304
304
  const t = n.setup;
305
305
  return t && (n.setup = (e, o) => {
306
306
  const l = Ye();
@@ -311,18 +311,18 @@ function L(n) {
311
311
  return t(e, o);
312
312
  const i = new Proxy(e, {
313
313
  get(c, d) {
314
- var _;
315
- const p = Reflect.get(c, d), x = (_ = l.value) == null ? void 0 : _[d];
314
+ var k;
315
+ const p = Reflect.get(c, d), x = (k = l.value) == null ? void 0 : k[d];
316
316
  return typeof d == "string" && !it(a.vnode, d) ? x ?? p : p;
317
317
  }
318
318
  });
319
319
  return t(i, o);
320
320
  }), n;
321
321
  }
322
- const be = L(st), rt = ["disabled", "onClick"], dt = {
322
+ const be = B(st), rt = ["disabled", "onClick"], dt = {
323
323
  key: 0,
324
324
  class: "q-btn__spinner"
325
- }, ut = { class: "q-btn__content" }, ct = /* @__PURE__ */ S({
325
+ }, ut = { class: "q-btn__content" }, ct = /* @__PURE__ */ L({
326
326
  __name: "QButton",
327
327
  props: {
328
328
  active: { type: Boolean },
@@ -365,19 +365,19 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
365
365
  }, [
366
366
  i.loading ? (u(), m("div", dt, [
367
367
  J(v(be), { size: 23 })
368
- ])) : q("", !0),
369
- R("span", ut, [
368
+ ])) : I("", !0),
369
+ M("span", ut, [
370
370
  i.iconOnRight ? (u(), m(Y, { key: 0 }, [
371
371
  re(U(e.label), 1)
372
- ], 64)) : q("", !0),
373
- $(i.$slots, "default"),
374
- i.iconOnRight ? q("", !0) : (u(), m(Y, { key: 1 }, [
372
+ ], 64)) : I("", !0),
373
+ _(i.$slots, "default"),
374
+ i.iconOnRight ? I("", !0) : (u(), m(Y, { key: 1 }, [
375
375
  re(U(e.label), 1)
376
376
  ], 64))
377
377
  ])
378
378
  ], 10, rt));
379
379
  }
380
- }), ft = L(ct), pt = /* @__PURE__ */ S({
380
+ }), ft = B(ct), pt = /* @__PURE__ */ L({
381
381
  __name: "QButtonGroup",
382
382
  props: {
383
383
  bStyle: {},
@@ -404,10 +404,10 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
404
404
  return (o, l) => (u(), m("div", {
405
405
  class: H(e.value)
406
406
  }, [
407
- $(o.$slots, "default")
407
+ _(o.$slots, "default")
408
408
  ], 2));
409
409
  }
410
- }), mt = L(pt), ht = /* @__PURE__ */ S({
410
+ }), mt = B(pt), ht = /* @__PURE__ */ L({
411
411
  __name: "QButtonToggle",
412
412
  props: {
413
413
  modelValue: {},
@@ -419,7 +419,7 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
419
419
  },
420
420
  emits: ["update:modelValue"],
421
421
  setup(n, { emit: t }) {
422
- const e = n, o = w(e.modelValue);
422
+ const e = n, o = $(e.modelValue);
423
423
  A(
424
424
  () => e.modelValue,
425
425
  (i) => o.value = i
@@ -435,22 +435,22 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
435
435
  function a(i) {
436
436
  l.value === i.key && !e.mandatory ? l.value = void 0 : l.value = i.key;
437
437
  }
438
- return (i, c) => (u(), I(v(mt), {
438
+ return (i, c) => (u(), q(v(mt), {
439
439
  "b-style": "secondary",
440
440
  disabled: e.disabled,
441
441
  borderless: e.borderless,
442
442
  elevated: e.elevated
443
443
  }, {
444
- default: D(() => [
445
- (u(!0), m(Y, null, me(e.options, (d) => (u(), I(v(ft), {
444
+ default: S(() => [
445
+ (u(!0), m(Y, null, me(e.options, (d) => (u(), q(v(ft), {
446
446
  key: d.key,
447
447
  title: d.title,
448
448
  label: d.label,
449
449
  active: l.value === d.key,
450
450
  onClick: () => a(d)
451
451
  }, {
452
- default: D(() => [
453
- $(i.$slots, d.key)
452
+ default: S(() => [
453
+ _(i.$slots, d.key)
454
454
  ]),
455
455
  _: 2
456
456
  }, 1032, ["title", "label", "active", "onClick"]))), 128))
@@ -458,7 +458,7 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
458
458
  _: 3
459
459
  }, 8, ["disabled", "borderless", "elevated"]));
460
460
  }
461
- }), Vn = L(ht), vt = /* @__PURE__ */ S({
461
+ }), Vn = B(ht), vt = /* @__PURE__ */ L({
462
462
  __name: "QIcon",
463
463
  props: {
464
464
  icon: {},
@@ -478,12 +478,12 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
478
478
  return;
479
479
  }
480
480
  });
481
- return (o, l) => (u(), I(Ve(e.value), {
481
+ return (o, l) => (u(), q(Ve(e.value), {
482
482
  icon: t.icon,
483
483
  size: t.size
484
484
  }, null, 8, ["icon", "size"]));
485
485
  }
486
- }), yt = /* @__PURE__ */ S({
486
+ }), yt = /* @__PURE__ */ L({
487
487
  __name: "QIconFont",
488
488
  props: {
489
489
  icon: {},
@@ -500,7 +500,7 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
500
500
  style: ae(l.value)
501
501
  }, null, 6));
502
502
  }
503
- }), bt = ["src"], gt = /* @__PURE__ */ S({
503
+ }), bt = ["src"], gt = /* @__PURE__ */ L({
504
504
  __name: "QIconImg",
505
505
  props: {
506
506
  icon: {},
@@ -516,7 +516,7 @@ const be = L(st), rt = ["disabled", "onClick"], dt = {
516
516
  style: ae(e.value)
517
517
  }, null, 12, bt));
518
518
  }
519
- }), le = {}, _t = S({
519
+ }), le = {}, _t = L({
520
520
  name: "InlineSvg",
521
521
  emits: ["loaded", "unloaded", "error"],
522
522
  inheritAttrs: !1,
@@ -629,7 +629,7 @@ function wt(n) {
629
629
  );
630
630
  return e.getIsPending = () => t, e;
631
631
  }
632
- const $t = /* @__PURE__ */ S({
632
+ const $t = /* @__PURE__ */ L({
633
633
  __name: "QIconSvg",
634
634
  props: {
635
635
  icon: {},
@@ -647,7 +647,7 @@ const $t = /* @__PURE__ */ S({
647
647
  function a() {
648
648
  t("unloaded");
649
649
  }
650
- return (i, c) => (u(), I(v(_t), {
650
+ return (i, c) => (u(), q(v(_t), {
651
651
  class: "q-icon q-icon__svg",
652
652
  src: e.bundle,
653
653
  symbol: e.icon,
@@ -656,7 +656,7 @@ const $t = /* @__PURE__ */ S({
656
656
  onUnloaded: a
657
657
  }, null, 8, ["src", "symbol", "style"]));
658
658
  }
659
- }), X = L(vt), It = L(yt), qt = L(gt), xt = L($t), St = /* @__PURE__ */ S({
659
+ }), X = B(vt), It = B(yt), qt = B(gt), xt = B($t), St = /* @__PURE__ */ L({
660
660
  __name: "QList",
661
661
  props: {
662
662
  modelValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
@@ -669,24 +669,24 @@ const $t = /* @__PURE__ */ S({
669
669
  },
670
670
  emits: ["update:modelValue"],
671
671
  setup(n, { expose: t, emit: e }) {
672
- const o = n, l = w(o.modelValue), a = w(!1), i = y(() => c.value.length > 1 ? "div" : "ul"), c = y(() => o.groups.length ? o.groups : [{ title: "" }]), d = w(null);
672
+ const o = n, l = $(o.modelValue), a = $(!1), i = y(() => c.value.length > 1 ? "div" : "ul"), c = y(() => o.groups.length ? o.groups : [{ title: "" }]), d = $(null);
673
673
  function p(s) {
674
674
  l.value = s, e("update:modelValue", s);
675
675
  }
676
676
  function x() {
677
677
  a.value = !0;
678
678
  }
679
- function _() {
679
+ function k() {
680
680
  a.value = !1;
681
681
  }
682
682
  function E(s) {
683
- var k;
684
- if ((k = d.value) != null && k.contains(s.relatedTarget))
683
+ var w;
684
+ if ((w = d.value) != null && w.contains(s.relatedTarget))
685
685
  return;
686
686
  let f;
687
687
  l.value ? f = o.items.findIndex((ne) => ne[o.itemValue] === l.value) : f = Q();
688
688
  const g = a.value;
689
- O(f, g);
689
+ R(f, g);
690
690
  }
691
691
  function F(s) {
692
692
  switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(s.key) && s.preventDefault(), s.key) {
@@ -708,40 +708,40 @@ const $t = /* @__PURE__ */ S({
708
708
  switch (s) {
709
709
  case "next":
710
710
  case "prev":
711
- O(K(s));
711
+ R(K(s));
712
712
  break;
713
713
  case "first":
714
- O(Q());
714
+ R(Q());
715
715
  break;
716
716
  case "last":
717
- O(z());
717
+ R(z());
718
718
  break;
719
719
  }
720
720
  }
721
- function O(s, f = !1) {
722
- var k;
723
- (k = T().at(s)) == null || k.focus({ preventScroll: f });
721
+ function R(s, f = !1) {
722
+ var w;
723
+ (w = D().at(s)) == null || w.focus({ preventScroll: f });
724
724
  }
725
- function T() {
725
+ function D() {
726
726
  var f;
727
727
  const s = (f = d.value) == null ? void 0 : f.querySelectorAll("li");
728
728
  return s ? Array.from(s) : [];
729
729
  }
730
730
  function j(s) {
731
- return T().at(s);
731
+ return D().at(s);
732
732
  }
733
733
  function N() {
734
- return T().indexOf(document.activeElement);
734
+ return D().indexOf(document.activeElement);
735
735
  }
736
736
  function Q() {
737
- const s = T(), f = s.find((g) => h(g));
737
+ const s = D(), f = s.find((g) => h(g));
738
738
  return f ? s.indexOf(f) : -1;
739
739
  }
740
740
  function z() {
741
- const s = T(), f = [...s].reverse().find((g) => h(g));
741
+ const s = D(), f = [...s].reverse().find((g) => h(g));
742
742
  return f ? s.indexOf(f) : -1;
743
743
  }
744
- function M(s, f, g) {
744
+ function O(s, f, g) {
745
745
  return f === "prev" && s === 0 || f === "next" && s === g.length - 1;
746
746
  }
747
747
  function K(s) {
@@ -749,21 +749,21 @@ const $t = /* @__PURE__ */ S({
749
749
  return W(f, s);
750
750
  }
751
751
  function W(s, f) {
752
- const g = T();
753
- if (M(s, f, g))
752
+ const g = D();
753
+ if (O(s, f, g))
754
754
  return s;
755
- let k = s + (f === "next" ? 1 : -1);
756
- for (; !h(g[k]); ) {
757
- if (M(k, f, g))
755
+ let w = s + (f === "next" ? 1 : -1);
756
+ for (; !h(g[w]); ) {
757
+ if (O(w, f, g))
758
758
  return s;
759
- k += f === "next" ? 1 : -1;
759
+ w += f === "next" ? 1 : -1;
760
760
  }
761
- return k;
761
+ return w;
762
762
  }
763
763
  function h(s) {
764
764
  return s.tabIndex === -2;
765
765
  }
766
- function B(s) {
766
+ function V(s) {
767
767
  return s ? o.items.filter((f) => f.group === s) : o.items;
768
768
  }
769
769
  return A(
@@ -772,12 +772,12 @@ const $t = /* @__PURE__ */ S({
772
772
  l.value = s;
773
773
  }
774
774
  ), t({
775
- focusItem: O,
775
+ focusItem: R,
776
776
  getItem: j,
777
777
  getAdjacentItemIndex: W,
778
778
  getFirstFocusableItemIndex: Q,
779
779
  getLastFocusableItemIndex: z
780
- }), (s, f) => (u(), I(Ve(i.value), {
780
+ }), (s, f) => (u(), q(Ve(i.value), {
781
781
  ref_key: "listRef",
782
782
  ref: d,
783
783
  class: H(["q-list", { "q-list--disabled": o.disabled }]),
@@ -785,24 +785,24 @@ const $t = /* @__PURE__ */ S({
785
785
  tabindex: o.disabled ? -1 : 0,
786
786
  onFocus: E,
787
787
  onMousedown: x,
788
- onMouseup: _,
788
+ onMouseup: k,
789
789
  onKeydown: F
790
790
  }, {
791
- default: D(() => [
792
- (u(!0), m(Y, null, me(c.value, (g) => (u(), I(v(Ft), {
791
+ default: S(() => [
792
+ (u(!0), m(Y, null, me(c.value, (g) => (u(), q(v(Ft), {
793
793
  key: g.id,
794
794
  title: g.title,
795
795
  disabled: g.disabled
796
796
  }, {
797
- default: D(() => [
798
- (u(!0), m(Y, null, me(B(g.id), (k) => (u(), I(v(zt), {
799
- key: k[o.itemValue],
800
- value: k[o.itemValue],
801
- label: k[o.itemLabel],
802
- icon: k.icon,
803
- disabled: o.disabled || k.disabled,
804
- highlighted: o.highlighted === k[o.itemValue],
805
- selected: l.value === k[o.itemValue],
797
+ default: S(() => [
798
+ (u(!0), m(Y, null, me(V(g.id), (w) => (u(), q(v(zt), {
799
+ key: w[o.itemValue],
800
+ value: w[o.itemValue],
801
+ label: w[o.itemLabel],
802
+ icon: w.icon,
803
+ disabled: o.disabled || w.disabled,
804
+ highlighted: o.highlighted === w[o.itemValue],
805
+ selected: l.value === w[o.itemValue],
806
806
  onSelect: p
807
807
  }, null, 8, ["value", "label", "icon", "disabled", "highlighted", "selected"]))), 128))
808
808
  ]),
@@ -821,7 +821,7 @@ const Bt = ["id", "tabindex", "aria-label", "aria-selected", "onClick"], Vt = {
821
821
  check: {
822
822
  icon: "check"
823
823
  }
824
- }, Dt = /* @__PURE__ */ S({
824
+ }, Dt = /* @__PURE__ */ L({
825
825
  __name: "QListItem",
826
826
  props: {
827
827
  value: { type: [String, Number, Boolean, Symbol] },
@@ -858,14 +858,14 @@ const Bt = ["id", "tabindex", "aria-label", "aria-selected", "onClick"], Vt = {
858
858
  onKeydown: a,
859
859
  onClick: Z(l, ["stop", "prevent"])
860
860
  }, [
861
- e.icon ? (u(), I(v(X), de(ee({ key: 0 }, e.icon)), null, 16)) : q("", !0),
861
+ e.icon ? (u(), q(v(X), de(ee({ key: 0 }, e.icon)), null, 16)) : I("", !0),
862
862
  re(" " + U(e.label) + " ", 1),
863
- R("div", Vt, [
864
- e.selected ? (u(), I(v(X), ee({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : q("", !0)
863
+ M("div", Vt, [
864
+ e.selected ? (u(), q(v(X), ee({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : I("", !0)
865
865
  ])
866
866
  ], 42, Bt));
867
867
  }
868
- }), Et = ["aria-labelledby"], Ct = ["id"], At = /* @__PURE__ */ S({
868
+ }), Et = ["aria-labelledby"], Ct = ["id"], At = /* @__PURE__ */ L({
869
869
  __name: "QListItemGroup",
870
870
  props: {
871
871
  title: { default: "" },
@@ -883,31 +883,31 @@ const Bt = ["id", "tabindex", "aria-label", "aria-selected", "onClick"], Vt = {
883
883
  id: v(e),
884
884
  class: "q-list-item-group__title",
885
885
  role: "presentation"
886
- }, U(t.title), 9, Ct)) : q("", !0),
887
- $(o.$slots, "default")
886
+ }, U(t.title), 9, Ct)) : I("", !0),
887
+ _(o.$slots, "default")
888
888
  ], 8, Et));
889
889
  }
890
- }), Qe = L(St), zt = L(Dt), Ft = L(At);
890
+ }), Qe = B(St), zt = B(Dt), Ft = B(At);
891
891
  function Qt(n, t, e = "right", o) {
892
892
  const l = n.getBoundingClientRect(), a = l.x + window.scrollX, i = l.y + window.scrollY, c = t == null ? void 0 : t.getBoundingClientRect(), d = (c == null ? void 0 : c.width) ?? 0, p = (c == null ? void 0 : c.height) ?? 0;
893
893
  let x = e;
894
894
  c && !Re(l, c, x) && (x = Rt(l, c, x));
895
- const _ = { x: 0, y: 0, placement: x };
895
+ const k = { x: 0, y: 0, placement: x };
896
896
  switch (x) {
897
897
  case "top":
898
- o === "anchor" ? _.x = a : _.x = a + (l.width - d) / 2, _.y = i - p;
898
+ o === "anchor" ? k.x = a : k.x = a + (l.width - d) / 2, k.y = i - p;
899
899
  break;
900
900
  case "bottom":
901
- o === "anchor" ? _.x = a : _.x = a + (l.width - d) / 2, _.y = i + l.height;
901
+ o === "anchor" ? k.x = a : k.x = a + (l.width - d) / 2, k.y = i + l.height;
902
902
  break;
903
903
  case "left":
904
- _.x = a - d, _.y = i + l.height / 2 - p / 2;
904
+ k.x = a - d, k.y = i + l.height / 2 - p / 2;
905
905
  break;
906
906
  case "right":
907
- _.x = a + l.width, _.y = i + l.height / 2 - p / 2;
907
+ k.x = a + l.width, k.y = i + l.height / 2 - p / 2;
908
908
  break;
909
909
  }
910
- return o === "anchor" && l.width >= d && (_.width = l.width), _;
910
+ return o === "anchor" && l.width >= d && (k.width = l.width), k;
911
911
  }
912
912
  function Re(n, t, e) {
913
913
  let o = !1, l = !1;
@@ -951,7 +951,7 @@ function ie(n) {
951
951
  const Ot = {
952
952
  key: 0,
953
953
  class: "q-overlay__arrow"
954
- }, Mt = /* @__PURE__ */ S({
954
+ }, Mt = /* @__PURE__ */ L({
955
955
  inheritAttrs: !1,
956
956
  __name: "QOverlay",
957
957
  props: {
@@ -993,13 +993,13 @@ const Ot = {
993
993
  () => l.animating = !0
994
994
  );
995
995
  const i = y(() => {
996
- let h = 0, B = 0;
996
+ let h = 0, V = 0;
997
997
  switch (l.placement) {
998
998
  case "top":
999
- B = -(e.offset || 0);
999
+ V = -(e.offset || 0);
1000
1000
  break;
1001
1001
  case "bottom":
1002
- B = e.offset || 0;
1002
+ V = e.offset || 0;
1003
1003
  break;
1004
1004
  case "left":
1005
1005
  h = -(e.offset || 0);
@@ -1009,16 +1009,16 @@ const Ot = {
1009
1009
  break;
1010
1010
  }
1011
1011
  const s = {
1012
- top: `${l.top + B}px`,
1012
+ top: `${l.top + V}px`,
1013
1013
  left: `${l.left + h}px`
1014
1014
  };
1015
1015
  return l.width !== void 0 && ["top", "bottom"].includes(l.placement) && (s.width = `${l.width}px`), s;
1016
- }), c = w(null);
1016
+ }), c = $(null);
1017
1017
  function d() {
1018
1018
  const h = ie(e.anchor);
1019
1019
  if (h) {
1020
- const B = Qt(h, c.value, e.placement, e.width);
1021
- l.left = B.x, l.top = B.y, l.width = B.width, l.placement = B.placement;
1020
+ const V = Qt(h, c.value, e.placement, e.width);
1021
+ l.left = V.x, l.top = V.y, l.width = V.width, l.placement = V.placement;
1022
1022
  }
1023
1023
  }
1024
1024
  A([() => a.value, () => e.placement], d);
@@ -1027,20 +1027,20 @@ const Ot = {
1027
1027
  const h = e.trigger === "hover" ? e.delay : 0;
1028
1028
  p || (p = window.setTimeout(() => l.visible = !0, h));
1029
1029
  }
1030
- function _() {
1030
+ function k() {
1031
1031
  clearTimeout(p), p = void 0, l.visible = !1;
1032
1032
  }
1033
1033
  function E() {
1034
- a.value ? _() : x();
1034
+ a.value ? k() : x();
1035
1035
  }
1036
1036
  let F;
1037
1037
  function C() {
1038
1038
  t("enter");
1039
1039
  }
1040
- function O() {
1040
+ function R() {
1041
1041
  window.clearTimeout(F), F = window.setTimeout(() => l.animating = !1, 200), t("leave");
1042
1042
  }
1043
- let T;
1043
+ let D;
1044
1044
  function j() {
1045
1045
  P(() => {
1046
1046
  const h = ie(e.anchor);
@@ -1050,7 +1050,7 @@ const Ot = {
1050
1050
  h.addEventListener("click", E);
1051
1051
  break;
1052
1052
  case "hover":
1053
- h.addEventListener("mouseenter", x), h.addEventListener("mouseleave", _);
1053
+ h.addEventListener("mouseenter", x), h.addEventListener("mouseleave", k);
1054
1054
  break;
1055
1055
  }
1056
1056
  });
@@ -1058,7 +1058,7 @@ const Ot = {
1058
1058
  function N() {
1059
1059
  P(() => {
1060
1060
  const h = ie(e.anchor);
1061
- h && (window.addEventListener("scroll", d), window.addEventListener("resize", d), T = new MutationObserver(d), T.observe(h, {
1061
+ h && (window.addEventListener("scroll", d), window.addEventListener("resize", d), D = new MutationObserver(d), D.observe(h, {
1062
1062
  attributes: !1,
1063
1063
  childList: !0,
1064
1064
  characterData: !0,
@@ -1067,14 +1067,14 @@ const Ot = {
1067
1067
  });
1068
1068
  }
1069
1069
  function Q() {
1070
- window.removeEventListener("scroll", d), window.removeEventListener("resize", d), T == null || T.disconnect();
1070
+ window.removeEventListener("scroll", d), window.removeEventListener("resize", d), D == null || D.disconnect();
1071
1071
  }
1072
1072
  let z;
1073
- function M() {
1074
- ie(e.anchor) ? (d(), z = window.setTimeout(M, 100)) : _();
1073
+ function O() {
1074
+ ie(e.anchor) ? (d(), z = window.setTimeout(O, 100)) : k();
1075
1075
  }
1076
1076
  function K() {
1077
- N(), e.spy && M();
1077
+ N(), e.spy && O();
1078
1078
  }
1079
1079
  function W() {
1080
1080
  Q(), e.spy && (clearTimeout(z), z = void 0);
@@ -1091,9 +1091,9 @@ const Ot = {
1091
1091
  h ? K() : W();
1092
1092
  },
1093
1093
  { immediate: !0 }
1094
- ), (h, B) => (u(), m(Y, null, [
1095
- $(h.$slots, "trigger", { open: a.value }),
1096
- a.value || l.animating ? (u(), I(Ke, {
1094
+ ), (h, V) => (u(), m(Y, null, [
1095
+ _(h.$slots, "trigger", { open: a.value }),
1096
+ a.value || l.animating ? (u(), q(Ke, {
1097
1097
  key: 0,
1098
1098
  disabled: !e.attach,
1099
1099
  to: e.attach
@@ -1102,39 +1102,42 @@ const Ot = {
1102
1102
  name: e.transition,
1103
1103
  appear: "",
1104
1104
  onEnter: C,
1105
- onLeave: O
1105
+ onLeave: R
1106
1106
  }, {
1107
- default: D(() => [
1107
+ default: S(() => [
1108
1108
  a.value ? (u(), m("div", {
1109
1109
  key: 0,
1110
1110
  class: H(o.value),
1111
1111
  style: ae(i.value)
1112
1112
  }, [
1113
- R("div", {
1113
+ M("div", {
1114
1114
  class: H(["q-overlay__content"]),
1115
1115
  ref_key: "overlay",
1116
1116
  ref: c
1117
1117
  }, [
1118
- e.arrow ? (u(), m("div", Ot)) : q("", !0),
1119
- $(h.$slots, "default")
1118
+ e.arrow ? (u(), m("div", Ot)) : I("", !0),
1119
+ _(h.$slots, "default")
1120
1120
  ], 512)
1121
- ], 6)) : q("", !0)
1121
+ ], 6)) : I("", !0)
1122
1122
  ]),
1123
1123
  _: 3
1124
1124
  }, 8, ["name"])
1125
- ], 8, ["disabled", "to"])) : q("", !0)
1125
+ ], 8, ["disabled", "to"])) : I("", !0)
1126
1126
  ], 64));
1127
1127
  }
1128
- }), ce = L(Mt), Ut = ["id"], Nt = { class: "q-field__label" }, Ht = ["for"], Kt = {
1128
+ }), ce = B(Mt), Ut = ["id"], Nt = {
1129
+ key: 0,
1130
+ class: "q-field__label"
1131
+ }, Ht = ["for"], Kt = {
1129
1132
  key: 0,
1130
1133
  class: "q-field__prepend"
1131
1134
  }, Wt = {
1132
1135
  key: 1,
1133
1136
  class: "q-field__append"
1134
1137
  }, Gt = {
1135
- key: 0,
1138
+ key: 1,
1136
1139
  class: "q-field__extras"
1137
- }, jt = /* @__PURE__ */ S({
1140
+ }, jt = /* @__PURE__ */ L({
1138
1141
  inheritAttrs: !1,
1139
1142
  __name: "QField",
1140
1143
  props: {
@@ -1146,7 +1149,7 @@ const Ot = {
1146
1149
  required: { type: Boolean }
1147
1150
  },
1148
1151
  setup(n, { expose: t }) {
1149
- const e = n, o = w(null), l = y(() => e.required && !e.readonly && !e.disabled);
1152
+ const e = n, o = $(null), l = y(() => e.required && !e.readonly && !e.disabled);
1150
1153
  return t({
1151
1154
  fieldRef: o
1152
1155
  }), (a, i) => (u(), m("div", {
@@ -1161,34 +1164,34 @@ const Ot = {
1161
1164
  }
1162
1165
  ])
1163
1166
  }, [
1164
- R("div", Nt, [
1165
- $(a.$slots, "label.prepend"),
1166
- R("label", {
1167
+ e.label ? (u(), m("div", Nt, [
1168
+ _(a.$slots, "label.prepend"),
1169
+ M("label", {
1167
1170
  for: e.id
1168
1171
  }, U(e.label), 9, Ht),
1169
- $(a.$slots, "label.append")
1170
- ]),
1171
- $(a.$slots, "control", {}, () => [
1172
- R("div", ee({
1172
+ _(a.$slots, "label.append")
1173
+ ])) : I("", !0),
1174
+ _(a.$slots, "control", {}, () => [
1175
+ M("div", ee({
1173
1176
  class: "q-field__control",
1174
1177
  ref_key: "fieldRef",
1175
1178
  ref: o
1176
1179
  }, a.$attrs), [
1177
1180
  a.$slots.prepend ? (u(), m("div", Kt, [
1178
- $(a.$slots, "prepend")
1179
- ])) : q("", !0),
1180
- $(a.$slots, "default"),
1181
+ _(a.$slots, "prepend")
1182
+ ])) : I("", !0),
1183
+ _(a.$slots, "default"),
1181
1184
  a.$slots.append ? (u(), m("div", Wt, [
1182
- $(a.$slots, "append")
1183
- ])) : q("", !0)
1185
+ _(a.$slots, "append")
1186
+ ])) : I("", !0)
1184
1187
  ], 16)
1185
1188
  ]),
1186
1189
  a.$slots.extras ? (u(), m("div", Gt, [
1187
- $(a.$slots, "extras")
1188
- ])) : q("", !0)
1190
+ _(a.$slots, "extras")
1191
+ ])) : I("", !0)
1189
1192
  ], 10, Ut));
1190
1193
  }
1191
- }), ge = L(jt), Xt = ["required", "placeholder", "readonly", "disabled", "maxlength"], Yt = /* @__PURE__ */ S({
1194
+ }), ge = B(jt), Xt = ["required", "placeholder", "readonly", "disabled", "maxlength"], Yt = /* @__PURE__ */ L({
1192
1195
  __name: "QTextField",
1193
1196
  props: {
1194
1197
  modelValue: { default: "" },
@@ -1203,7 +1206,7 @@ const Ot = {
1203
1206
  },
1204
1207
  emits: ["update:modelValue"],
1205
1208
  setup(n, { expose: t, emit: e }) {
1206
- const o = n, l = w(o.modelValue), a = w(null), i = w(null), c = y({
1209
+ const o = n, l = $(o.modelValue), a = $(null), i = $(null), c = y({
1207
1210
  get() {
1208
1211
  return l.value;
1209
1212
  },
@@ -1220,7 +1223,7 @@ const Ot = {
1220
1223
  return (d = a.value) == null ? void 0 : d.fieldRef;
1221
1224
  }),
1222
1225
  inputRef: i
1223
- }), (d, p) => (u(), I(v(ge), {
1226
+ }), (d, p) => (u(), q(v(ge), {
1224
1227
  ref_key: "fieldRef",
1225
1228
  ref: a,
1226
1229
  class: "q-text-field",
@@ -1231,8 +1234,14 @@ const Ot = {
1231
1234
  disabled: o.disabled,
1232
1235
  required: o.required
1233
1236
  }, De({
1234
- default: D(() => [
1235
- Ge(R("input", {
1237
+ "label.prepend": S(() => [
1238
+ _(d.$slots, "label.prepend")
1239
+ ]),
1240
+ "label.append": S(() => [
1241
+ _(d.$slots, "label.append")
1242
+ ]),
1243
+ default: S(() => [
1244
+ Ge(M("input", {
1236
1245
  "onUpdate:modelValue": p[0] || (p[0] = (x) => c.value = x),
1237
1246
  ref_key: "inputRef",
1238
1247
  ref: i,
@@ -1249,16 +1258,30 @@ const Ot = {
1249
1258
  ]),
1250
1259
  _: 2
1251
1260
  }, [
1261
+ d.$slots.prepend ? {
1262
+ name: "prepend",
1263
+ fn: S(() => [
1264
+ _(d.$slots, "prepend")
1265
+ ]),
1266
+ key: "0"
1267
+ } : void 0,
1252
1268
  d.$slots.append ? {
1253
1269
  name: "append",
1254
- fn: D(() => [
1255
- $(d.$slots, "append")
1270
+ fn: S(() => [
1271
+ _(d.$slots, "append")
1256
1272
  ]),
1257
- key: "0"
1273
+ key: "1"
1274
+ } : void 0,
1275
+ d.$slots.extras ? {
1276
+ name: "extras",
1277
+ fn: S(() => [
1278
+ _(d.$slots, "extras")
1279
+ ]),
1280
+ key: "2"
1258
1281
  } : void 0
1259
1282
  ]), 1032, ["id", "label", "size", "readonly", "disabled", "required"]));
1260
1283
  }
1261
- }), Pt = L(Yt);
1284
+ }), Pt = B(Yt);
1262
1285
  function Oe() {
1263
1286
  const n = Xe(), t = {};
1264
1287
  return typeof n.class == "string" ? t.class = n.class.split(" ") : Array.isArray(n.class) ? t.class = n.class : t.class = [], t;
@@ -1272,7 +1295,7 @@ const Zt = {
1272
1295
  clear: {
1273
1296
  icon: "close"
1274
1297
  }
1275
- }, tn = /* @__PURE__ */ S({
1298
+ }, tn = /* @__PURE__ */ L({
1276
1299
  inheritAttrs: !1,
1277
1300
  __name: "QCombobox",
1278
1301
  props: {
@@ -1296,13 +1319,13 @@ const Zt = {
1296
1319
  },
1297
1320
  emits: ["update:modelValue", "update:inputValue", "before-show", "before-hide", "show", "hide"],
1298
1321
  setup(n, { emit: t }) {
1299
- const e = n, o = Oe(), l = w(e.modelValue), a = w(!1), i = w(""), c = w(void 0), d = w(null), p = w(null), x = w(null);
1322
+ const e = n, o = Oe(), l = $(e.modelValue), a = $(!1), i = $(""), c = $(void 0), d = $(null), p = $(null), x = $(null);
1300
1323
  Te(Q);
1301
- const _ = y(
1324
+ const k = y(
1302
1325
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
1303
1326
  ), E = y(() => {
1304
1327
  var r;
1305
- return e.filterMode === "manual" || !T.value ? e.items : (r = e.items) == null ? void 0 : r.filter(
1328
+ return e.filterMode === "manual" || !D.value ? e.items : (r = e.items) == null ? void 0 : r.filter(
1306
1329
  (b) => b[e.itemLabel].toLowerCase().startsWith(i.value.toLowerCase())
1307
1330
  );
1308
1331
  }), F = y(() => {
@@ -1312,13 +1335,13 @@ const Zt = {
1312
1335
  const r = c.value;
1313
1336
  if (r !== void 0 && E.value[r])
1314
1337
  return E.value[r];
1315
- }), O = y(() => {
1338
+ }), R = y(() => {
1316
1339
  var b;
1317
1340
  if (c.value === void 0)
1318
1341
  return;
1319
1342
  const r = (b = p.value) == null ? void 0 : b.getItem(c.value);
1320
1343
  return r == null ? void 0 : r.id;
1321
- }), T = y(() => {
1344
+ }), D = y(() => {
1322
1345
  var r;
1323
1346
  return i.value.length > 0 && i.value !== ((r = F.value) == null ? void 0 : r[e.itemLabel]);
1324
1347
  });
@@ -1326,7 +1349,7 @@ const Zt = {
1326
1349
  l.value = r, Q(), t("update:modelValue", r);
1327
1350
  }
1328
1351
  function N(r) {
1329
- j(r), M();
1352
+ j(r), O();
1330
1353
  }
1331
1354
  function Q() {
1332
1355
  var r;
@@ -1335,7 +1358,7 @@ const Zt = {
1335
1358
  function z() {
1336
1359
  a.value || e.readonly || e.disabled || (t("before-show"), a.value = !0);
1337
1360
  }
1338
- function M() {
1361
+ function O() {
1339
1362
  a.value && (t("before-hide"), a.value = !1, c.value = void 0);
1340
1363
  }
1341
1364
  function K() {
@@ -1348,35 +1371,35 @@ const Zt = {
1348
1371
  }
1349
1372
  }
1350
1373
  function h(r) {
1351
- var b, V;
1374
+ var b, T;
1352
1375
  if (!(!r.key || e.readonly || e.disabled))
1353
1376
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(r.key) && (r.preventDefault(), r.stopPropagation()), r.key === "Escape")
1354
- a.value ? M() : K();
1377
+ a.value ? O() : K();
1355
1378
  else if (["ArrowDown", "ArrowUp"].includes(r.key))
1356
1379
  a.value ? P(() => {
1357
1380
  if (c.value === void 0)
1358
- B();
1381
+ V();
1359
1382
  else {
1360
1383
  const G = r.key === "ArrowDown" ? "next" : "prev";
1361
1384
  f(c.value, G);
1362
1385
  }
1363
1386
  }) : (z(), P(() => {
1364
- r.key === "ArrowDown" ? B() : s();
1387
+ r.key === "ArrowDown" ? V() : s();
1365
1388
  }));
1366
1389
  else if (r.key === "Enter") {
1367
1390
  if (C.value === void 0)
1368
1391
  return;
1369
1392
  N(C.value[e.itemValue]);
1370
1393
  } else
1371
- r.key === "Home" ? c.value = (b = p.value) == null ? void 0 : b.getFirstFocusableItemIndex() : r.key === "End" ? c.value = (V = p.value) == null ? void 0 : V.getLastFocusableItemIndex() : (/^[a-z]$/i.test(r.key) || r.key === "Backspace") && z();
1394
+ r.key === "Home" ? c.value = (b = p.value) == null ? void 0 : b.getFirstFocusableItemIndex() : r.key === "End" ? c.value = (T = p.value) == null ? void 0 : T.getLastFocusableItemIndex() : (/^[a-z]$/i.test(r.key) || r.key === "Backspace") && z();
1372
1395
  }
1373
- function B() {
1396
+ function V() {
1374
1397
  var r, b;
1375
1398
  if (l.value !== void 0) {
1376
- const V = E.value.findIndex(
1399
+ const T = E.value.findIndex(
1377
1400
  (G) => G[e.itemValue] === l.value
1378
1401
  );
1379
- V === -1 ? c.value = (r = p.value) == null ? void 0 : r.getFirstFocusableItemIndex() : c.value = V;
1402
+ T === -1 ? c.value = (r = p.value) == null ? void 0 : r.getFirstFocusableItemIndex() : c.value = T;
1380
1403
  } else
1381
1404
  c.value = (b = p.value) == null ? void 0 : b.getFirstFocusableItemIndex();
1382
1405
  }
@@ -1385,14 +1408,14 @@ const Zt = {
1385
1408
  c.value = (r = p.value) == null ? void 0 : r.getLastFocusableItemIndex();
1386
1409
  }
1387
1410
  function f(r, b) {
1388
- var V;
1389
- c.value = (V = p.value) == null ? void 0 : V.getAdjacentItemIndex(r, b);
1411
+ var T;
1412
+ c.value = (T = p.value) == null ? void 0 : T.getAdjacentItemIndex(r, b);
1390
1413
  }
1391
1414
  function g(r) {
1392
- var b, V, G;
1393
- !((b = x.value) != null && b.contains(r.relatedTarget)) && !((G = (V = d.value) == null ? void 0 : V.fieldRef) != null && G.contains(r.relatedTarget)) && (M(), Q());
1415
+ var b, T, G;
1416
+ !((b = x.value) != null && b.contains(r.relatedTarget)) && !((G = (T = d.value) == null ? void 0 : T.fieldRef) != null && G.contains(r.relatedTarget)) && (O(), Q());
1394
1417
  }
1395
- function k() {
1418
+ function w() {
1396
1419
  var r, b;
1397
1420
  (b = (r = d.value) == null ? void 0 : r.inputRef) == null || b.focus();
1398
1421
  }
@@ -1403,8 +1426,8 @@ const Zt = {
1403
1426
  t("hide");
1404
1427
  }
1405
1428
  function _e(r) {
1406
- var V;
1407
- const b = (V = p.value) == null ? void 0 : V.getItem(r);
1429
+ var T;
1430
+ const b = (T = p.value) == null ? void 0 : T.getItem(r);
1408
1431
  b == null || b.scrollIntoView({ block: "nearest", inline: "start" });
1409
1432
  }
1410
1433
  return A(
@@ -1415,9 +1438,9 @@ const Zt = {
1415
1438
  ), A(c, (r) => {
1416
1439
  r !== void 0 && _e(r);
1417
1440
  }), A(i, (r) => {
1418
- !r && _.value ? K() : a.value && e.selectionMode === "automatic" && P(B);
1441
+ !r && k.value ? K() : a.value && e.selectionMode === "automatic" && P(V);
1419
1442
  }), (r, b) => {
1420
- var V, G;
1443
+ var T, G;
1421
1444
  return u(), m(Y, null, [
1422
1445
  J(v(Pt), {
1423
1446
  modelValue: i.value,
@@ -1434,21 +1457,21 @@ const Zt = {
1434
1457
  "aria-expanded": a.value,
1435
1458
  "aria-haspopup": "listbox",
1436
1459
  "aria-autocomplete": "list",
1437
- "aria-activedescendant": O.value,
1460
+ "aria-activedescendant": R.value,
1438
1461
  size: e.size,
1439
1462
  onClick: W,
1440
1463
  onFocusout: g,
1441
1464
  onKeydown: Z(h, ["stop"])
1442
1465
  }, {
1443
- append: D(() => [
1444
- _.value && i.value ? (u(), I(v(X), ee({ key: 0 }, e.icons.clear, {
1466
+ append: S(() => [
1467
+ k.value && i.value ? (u(), q(v(X), ee({ key: 0 }, e.icons.clear, {
1445
1468
  class: "q-combobox__clear",
1446
1469
  onClick: Z(K, ["stop", "prevent"])
1447
- }), null, 16, ["onClick"])) : q("", !0)
1470
+ }), null, 16, ["onClick"])) : I("", !0)
1448
1471
  ]),
1449
1472
  _: 1
1450
1473
  }, 8, ["modelValue", "id", "label", "required", "class", "readonly", "disabled", "aria-expanded", "aria-activedescendant", "size", "onKeydown"]),
1451
- (V = d.value) != null && V.fieldRef ? (u(), I(v(ce), {
1474
+ (T = d.value) != null && T.fieldRef ? (u(), q(v(ce), {
1452
1475
  key: 0,
1453
1476
  "model-value": a.value,
1454
1477
  spy: "",
@@ -1460,21 +1483,21 @@ const Zt = {
1460
1483
  onEnter: ne,
1461
1484
  onLeave: oe
1462
1485
  }, {
1463
- default: D(() => {
1486
+ default: S(() => {
1464
1487
  var se;
1465
1488
  return [
1466
- R("div", {
1489
+ M("div", {
1467
1490
  ref_key: "contentRef",
1468
1491
  ref: x,
1469
1492
  class: "q-select__body",
1470
1493
  onFocusout: g
1471
1494
  }, [
1472
- $(r.$slots, "body.prepend"),
1473
- e.loading ? (u(), I(v(be), {
1495
+ _(r.$slots, "body.prepend"),
1496
+ e.loading ? (u(), q(v(be), {
1474
1497
  key: 0,
1475
1498
  class: "q-select__loader",
1476
1499
  size: 24
1477
- })) : E.value.length ? (u(), I(v(Qe), {
1500
+ })) : E.value.length ? (u(), q(v(Qe), {
1478
1501
  key: 1,
1479
1502
  ref_key: "listRef",
1480
1503
  ref: p,
@@ -1489,24 +1512,24 @@ const Zt = {
1489
1512
  groups: r.groups,
1490
1513
  "item-label": e.itemLabel,
1491
1514
  "item-value": e.itemValue,
1492
- onMouseup: k
1515
+ onMouseup: w
1493
1516
  }, null, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (u(), m("div", Zt, U(r.texts.noData), 1)),
1494
- $(r.$slots, "body.append")
1517
+ _(r.$slots, "body.append")
1495
1518
  ], 544)
1496
1519
  ];
1497
1520
  }),
1498
1521
  _: 3
1499
- }, 8, ["model-value", "anchor"])) : q("", !0)
1522
+ }, 8, ["model-value", "anchor"])) : I("", !0)
1500
1523
  ], 64);
1501
1524
  };
1502
1525
  }
1503
- }), Tn = L(tn), nn = {
1526
+ }), Tn = B(tn), nn = {
1504
1527
  key: 0,
1505
1528
  class: "q-input-group__prepend"
1506
1529
  }, on = { key: 0 }, ln = {
1507
1530
  key: 1,
1508
1531
  class: "q-input-group__append"
1509
- }, an = { key: 0 }, sn = /* @__PURE__ */ S({
1532
+ }, an = { key: 0 }, sn = /* @__PURE__ */ L({
1510
1533
  inheritAttrs: !1,
1511
1534
  __name: "QInputGroup",
1512
1535
  props: {
@@ -1520,34 +1543,34 @@ const Zt = {
1520
1543
  },
1521
1544
  setup(n) {
1522
1545
  const t = n;
1523
- return (e, o) => (u(), I(v(ge), {
1546
+ return (e, o) => (u(), q(v(ge), {
1524
1547
  id: t.id,
1525
1548
  label: t.label,
1526
1549
  readonly: t.readonly,
1527
1550
  disabled: t.disabled,
1528
1551
  required: t.required
1529
1552
  }, {
1530
- control: D(() => [
1531
- R("div", ee({ class: "q-input-group" }, e.$attrs), [
1553
+ control: S(() => [
1554
+ M("div", ee({ class: "q-input-group" }, e.$attrs), [
1532
1555
  e.$slots.prepend || t.prependIcon ? (u(), m("div", nn, [
1533
1556
  t.prependIcon ? (u(), m("span", on, [
1534
1557
  J(v(X), de(he(t.prependIcon)), null, 16)
1535
- ])) : q("", !0),
1536
- $(e.$slots, "prepend")
1537
- ])) : q("", !0),
1538
- $(e.$slots, "default"),
1558
+ ])) : I("", !0),
1559
+ _(e.$slots, "prepend")
1560
+ ])) : I("", !0),
1561
+ _(e.$slots, "default"),
1539
1562
  e.$slots.append || t.appendIcon ? (u(), m("div", ln, [
1540
1563
  t.appendIcon ? (u(), m("span", an, [
1541
1564
  J(v(X), de(he(t.appendIcon)), null, 16)
1542
- ])) : q("", !0),
1543
- $(e.$slots, "append")
1544
- ])) : q("", !0)
1565
+ ])) : I("", !0),
1566
+ _(e.$slots, "append")
1567
+ ])) : I("", !0)
1545
1568
  ], 16)
1546
1569
  ]),
1547
1570
  _: 3
1548
1571
  }, 8, ["id", "label", "readonly", "disabled", "required"]));
1549
1572
  }
1550
- }), Dn = L(sn), rn = (n, t) => {
1573
+ }), Dn = B(sn), rn = (n, t) => {
1551
1574
  const e = n.__vccOpts || n;
1552
1575
  for (const [o, l] of t)
1553
1576
  e[o] = l;
@@ -1556,13 +1579,13 @@ const Zt = {
1556
1579
  function cn(n, t) {
1557
1580
  return u(), m("div", un);
1558
1581
  }
1559
- const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1582
+ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = B(fn), pn = {
1560
1583
  key: 0,
1561
1584
  class: "q-popover__header"
1562
1585
  }, mn = {
1563
1586
  key: 1,
1564
1587
  class: "q-popover__body"
1565
- }, hn = ["innerHTML"], vn = { key: 1 }, yn = /* @__PURE__ */ S({
1588
+ }, hn = ["innerHTML"], vn = { key: 1 }, yn = /* @__PURE__ */ L({
1566
1589
  inheritAttrs: !1,
1567
1590
  __name: "QPopover",
1568
1591
  props: {
@@ -1579,7 +1602,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1579
1602
  },
1580
1603
  setup(n) {
1581
1604
  const t = n;
1582
- return (e, o) => (u(), I(v(ce), {
1605
+ return (e, o) => (u(), q(v(ce), {
1583
1606
  "model-value": t.modelValue,
1584
1607
  trigger: "click",
1585
1608
  anchor: t.anchor,
@@ -1590,23 +1613,23 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1590
1613
  placement: t.placement,
1591
1614
  spy: t.spy
1592
1615
  }, {
1593
- default: D(() => [
1616
+ default: S(() => [
1594
1617
  t.title || e.$slots.header ? (u(), m("h3", pn, [
1595
1618
  re(U(t.title) + " ", 1),
1596
- $(e.$slots, "header")
1597
- ])) : q("", !0),
1619
+ _(e.$slots, "header")
1620
+ ])) : I("", !0),
1598
1621
  t.text || e.$slots.body ? (u(), m("div", mn, [
1599
1622
  t.html ? (u(), m("span", {
1600
1623
  key: 0,
1601
1624
  innerHTML: t.text
1602
1625
  }, null, 8, hn)) : (u(), m("span", vn, U(t.text), 1)),
1603
- $(e.$slots, "body")
1604
- ])) : q("", !0)
1626
+ _(e.$slots, "body")
1627
+ ])) : I("", !0)
1605
1628
  ]),
1606
1629
  _: 3
1607
1630
  }, 8, ["model-value", "anchor", "arrow", "attach", "disabled", "placement", "spy"]));
1608
1631
  }
1609
- }), Cn = L(yn), bn = {
1632
+ }), Cn = B(yn), bn = {
1610
1633
  key: 0,
1611
1634
  class: "q-select__value"
1612
1635
  }, gn = {
@@ -1621,7 +1644,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1621
1644
  clear: {
1622
1645
  icon: "close"
1623
1646
  }
1624
- }, $n = /* @__PURE__ */ S({
1647
+ }, $n = /* @__PURE__ */ L({
1625
1648
  inheritAttrs: !1,
1626
1649
  __name: "QSelect",
1627
1650
  props: {
@@ -1643,12 +1666,12 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1643
1666
  },
1644
1667
  emits: ["update:modelValue", "before-show", "before-hide", "show", "hide"],
1645
1668
  setup(n, { emit: t }) {
1646
- const e = n, o = Oe(), l = w(e.modelValue), a = w(!1), i = w(""), c = w(null), d = w(null), p = w(null), x = y(
1669
+ const e = n, o = Oe(), l = $(e.modelValue), a = $(!1), i = $(""), c = $(null), d = $(null), p = $(null), x = y(
1647
1670
  () => {
1648
1671
  var s;
1649
1672
  return (s = e.items) == null ? void 0 : s.find((f) => f[e.itemValue] === l.value);
1650
1673
  }
1651
- ), _ = y(
1674
+ ), k = y(
1652
1675
  () => x.value ? x.value[e.itemLabel] : ""
1653
1676
  ), E = y(
1654
1677
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
@@ -1659,12 +1682,12 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1659
1682
  function C() {
1660
1683
  E.value && F(void 0);
1661
1684
  }
1662
- function O() {
1685
+ function R() {
1663
1686
  e.readonly || e.disabled || (a.value ? N() : j());
1664
1687
  }
1665
- function T(s) {
1666
- var f, g, k;
1667
- !((f = p.value) != null && f.contains(s.relatedTarget)) && !((k = (g = c.value) == null ? void 0 : g.fieldRef) != null && k.contains(s.relatedTarget)) && N();
1688
+ function D(s) {
1689
+ var f, g, w;
1690
+ !((f = p.value) != null && f.contains(s.relatedTarget)) && !((w = (g = c.value) == null ? void 0 : g.fieldRef) != null && w.contains(s.relatedTarget)) && N();
1668
1691
  }
1669
1692
  function j() {
1670
1693
  a.value || (t("before-show"), a.value = !0);
@@ -1679,7 +1702,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1679
1702
  i.value += s.key.toLowerCase();
1680
1703
  for (let f = 0; f < e.items.length; f++)
1681
1704
  if (e.items[f][e.itemLabel].toLowerCase().startsWith(i.value)) {
1682
- B(f);
1705
+ V(f);
1683
1706
  break;
1684
1707
  }
1685
1708
  }
@@ -1688,7 +1711,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1688
1711
  }, 500);
1689
1712
  }
1690
1713
  }
1691
- function M() {
1714
+ function O() {
1692
1715
  var s;
1693
1716
  e.loading ? (s = p.value) == null || s.focus() : h(), t("show");
1694
1717
  }
@@ -1703,7 +1726,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1703
1726
  var s;
1704
1727
  (s = d.value) == null || s.$el.focus();
1705
1728
  }
1706
- function B(s) {
1729
+ function V(s) {
1707
1730
  var f;
1708
1731
  (f = d.value) == null || f.focusItem(s);
1709
1732
  }
@@ -1718,7 +1741,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1718
1741
  !s && a.value && P(h);
1719
1742
  }
1720
1743
  ), (s, f) => {
1721
- var g, k, ne;
1744
+ var g, w, ne;
1722
1745
  return u(), m(Y, null, [
1723
1746
  J(v(ge), {
1724
1747
  id: e.id,
@@ -1742,24 +1765,24 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1742
1765
  "aria-expanded": a.value,
1743
1766
  "aria-haspopup": "listbox",
1744
1767
  size: e.size,
1745
- onClick: O,
1768
+ onClick: R,
1746
1769
  onKeydown: Z(z, ["stop"])
1747
1770
  }, De({
1748
- append: D(() => [
1749
- E.value && l.value ? (u(), I(v(X), ee({ key: 0 }, e.icons.clear, {
1771
+ append: S(() => [
1772
+ E.value && l.value ? (u(), q(v(X), ee({ key: 0 }, e.icons.clear, {
1750
1773
  class: "q-select__clear",
1751
1774
  onClick: Z(C, ["stop", "prevent"])
1752
- }), null, 16, ["onClick"])) : q("", !0),
1753
- !e.readonly && !e.disabled ? (u(), I(v(X), ee({ key: 1 }, e.icons.chevron, { class: "q-select__chevron" }), null, 16)) : q("", !0)
1775
+ }), null, 16, ["onClick"])) : I("", !0),
1776
+ !e.readonly && !e.disabled ? (u(), q(v(X), ee({ key: 1 }, e.icons.chevron, { class: "q-select__chevron" }), null, 16)) : I("", !0)
1754
1777
  ]),
1755
- default: D(() => [
1756
- l.value ? (u(), m("span", bn, U(_.value), 1)) : (u(), m("span", gn, U(s.texts.placeholder), 1))
1778
+ default: S(() => [
1779
+ l.value ? (u(), m("span", bn, U(k.value), 1)) : (u(), m("span", gn, U(s.texts.placeholder), 1))
1757
1780
  ]),
1758
1781
  _: 2
1759
1782
  }, [
1760
1783
  (g = x.value) != null && g.icon ? {
1761
1784
  name: "prepend",
1762
- fn: D(() => {
1785
+ fn: S(() => {
1763
1786
  var oe;
1764
1787
  return [
1765
1788
  J(v(X), de(he((oe = x.value) == null ? void 0 : oe.icon)), null, 16)
@@ -1768,7 +1791,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1768
1791
  key: "0"
1769
1792
  } : void 0
1770
1793
  ]), 1032, ["id", "label", "required", "class", "readonly", "disabled", "aria-expanded", "size", "onKeydown"]),
1771
- (k = c.value) != null && k.fieldRef ? (u(), I(v(ce), {
1794
+ (w = c.value) != null && w.fieldRef ? (u(), q(v(ce), {
1772
1795
  key: 0,
1773
1796
  "model-value": a.value,
1774
1797
  spy: "",
@@ -1777,24 +1800,24 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1777
1800
  width: "anchor",
1778
1801
  offset: 2,
1779
1802
  anchor: (ne = c.value) == null ? void 0 : ne.fieldRef,
1780
- onEnter: M,
1803
+ onEnter: O,
1781
1804
  onLeave: K
1782
1805
  }, {
1783
- default: D(() => [
1784
- R("div", {
1806
+ default: S(() => [
1807
+ M("div", {
1785
1808
  ref_key: "contentRef",
1786
1809
  ref: p,
1787
1810
  class: "q-select__body",
1788
1811
  tabindex: "-1",
1789
- onFocusout: T,
1812
+ onFocusout: D,
1790
1813
  onKeydown: Z(z, ["stop"])
1791
1814
  }, [
1792
- $(s.$slots, "body.prepend"),
1793
- e.loading ? (u(), I(v(be), {
1815
+ _(s.$slots, "body.prepend"),
1816
+ e.loading ? (u(), q(v(be), {
1794
1817
  key: 0,
1795
1818
  class: "q-select__loader",
1796
1819
  size: 24
1797
- })) : (u(), I(v(Qe), {
1820
+ })) : (u(), q(v(Qe), {
1798
1821
  key: 1,
1799
1822
  ref_key: "listRef",
1800
1823
  ref: d,
@@ -1809,15 +1832,15 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1809
1832
  "item-label": e.itemLabel,
1810
1833
  "item-value": e.itemValue
1811
1834
  }, null, 8, ["modelValue", "items", "groups", "item-label", "item-value"])),
1812
- $(s.$slots, "body.append")
1835
+ _(s.$slots, "body.append")
1813
1836
  ], 40, _n)
1814
1837
  ]),
1815
1838
  _: 3
1816
- }, 8, ["model-value", "anchor"])) : q("", !0)
1839
+ }, 8, ["model-value", "anchor"])) : I("", !0)
1817
1840
  ], 64);
1818
1841
  };
1819
1842
  }
1820
- }), An = L($n), In = ["innerHTML"], qn = { key: 1 }, xn = /* @__PURE__ */ S({
1843
+ }), An = B($n), In = ["innerHTML"], qn = { key: 1 }, xn = /* @__PURE__ */ L({
1821
1844
  inheritAttrs: !1,
1822
1845
  __name: "QTooltip",
1823
1846
  props: {
@@ -1835,7 +1858,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1835
1858
  },
1836
1859
  setup(n) {
1837
1860
  const t = n;
1838
- return (e, o) => (u(), I(v(ce), {
1861
+ return (e, o) => (u(), q(v(ce), {
1839
1862
  "model-value": t.modelValue,
1840
1863
  anchor: t.anchor,
1841
1864
  appearance: t.appearance,
@@ -1847,7 +1870,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1847
1870
  placement: t.placement,
1848
1871
  trigger: t.trigger
1849
1872
  }, {
1850
- default: D(() => [
1873
+ default: S(() => [
1851
1874
  t.html ? (u(), m("span", {
1852
1875
  key: 0,
1853
1876
  innerHTML: t.text
@@ -1856,7 +1879,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1856
1879
  _: 1
1857
1880
  }, 8, ["model-value", "anchor", "appearance", "arrow", "attach", "delay", "disabled", "placement", "trigger"]));
1858
1881
  }
1859
- }), zn = L(xn), Fn = {
1882
+ }), zn = B(xn), Fn = {
1860
1883
  mounted(n, t) {
1861
1884
  n.clickOutsideEvent = function(e) {
1862
1885
  const o = e.target;