@quidgest/ui 0.7.1 → 0.7.3

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 = ["role", "required", "placeholder", "readonly", "disabled", "maxlength"], Yt = /* @__PURE__ */ L({
1192
1195
  __name: "QTextField",
1193
1196
  props: {
1194
1197
  modelValue: { default: "" },
@@ -1199,11 +1202,12 @@ const Ot = {
1199
1202
  maxLength: { default: void 0 },
1200
1203
  readonly: { type: Boolean },
1201
1204
  disabled: { type: Boolean },
1202
- required: { type: Boolean }
1205
+ required: { type: Boolean },
1206
+ role: { default: void 0 }
1203
1207
  },
1204
1208
  emits: ["update:modelValue"],
1205
1209
  setup(n, { expose: t, emit: e }) {
1206
- const o = n, l = w(o.modelValue), a = w(null), i = w(null), c = y({
1210
+ const o = n, l = $(o.modelValue), a = $(null), i = $(null), c = y({
1207
1211
  get() {
1208
1212
  return l.value;
1209
1213
  },
@@ -1220,7 +1224,7 @@ const Ot = {
1220
1224
  return (d = a.value) == null ? void 0 : d.fieldRef;
1221
1225
  }),
1222
1226
  inputRef: i
1223
- }), (d, p) => (u(), I(v(ge), {
1227
+ }), (d, p) => (u(), q(v(ge), {
1224
1228
  ref_key: "fieldRef",
1225
1229
  ref: a,
1226
1230
  class: "q-text-field",
@@ -1231,13 +1235,20 @@ const Ot = {
1231
1235
  disabled: o.disabled,
1232
1236
  required: o.required
1233
1237
  }, De({
1234
- default: D(() => [
1235
- Ge(R("input", {
1238
+ "label.prepend": S(() => [
1239
+ _(d.$slots, "label.prepend")
1240
+ ]),
1241
+ "label.append": S(() => [
1242
+ _(d.$slots, "label.append")
1243
+ ]),
1244
+ default: S(() => [
1245
+ Ge(M("input", {
1236
1246
  "onUpdate:modelValue": p[0] || (p[0] = (x) => c.value = x),
1237
1247
  ref_key: "inputRef",
1238
1248
  ref: i,
1239
1249
  class: "q-text-field__input",
1240
1250
  type: "text",
1251
+ role: o.role,
1241
1252
  required: o.required,
1242
1253
  placeholder: o.placeholder,
1243
1254
  readonly: o.readonly,
@@ -1249,16 +1260,30 @@ const Ot = {
1249
1260
  ]),
1250
1261
  _: 2
1251
1262
  }, [
1263
+ d.$slots.prepend ? {
1264
+ name: "prepend",
1265
+ fn: S(() => [
1266
+ _(d.$slots, "prepend")
1267
+ ]),
1268
+ key: "0"
1269
+ } : void 0,
1252
1270
  d.$slots.append ? {
1253
1271
  name: "append",
1254
- fn: D(() => [
1255
- $(d.$slots, "append")
1272
+ fn: S(() => [
1273
+ _(d.$slots, "append")
1256
1274
  ]),
1257
- key: "0"
1275
+ key: "1"
1276
+ } : void 0,
1277
+ d.$slots.extras ? {
1278
+ name: "extras",
1279
+ fn: S(() => [
1280
+ _(d.$slots, "extras")
1281
+ ]),
1282
+ key: "2"
1258
1283
  } : void 0
1259
1284
  ]), 1032, ["id", "label", "size", "readonly", "disabled", "required"]));
1260
1285
  }
1261
- }), Pt = L(Yt);
1286
+ }), Pt = B(Yt);
1262
1287
  function Oe() {
1263
1288
  const n = Xe(), t = {};
1264
1289
  return typeof n.class == "string" ? t.class = n.class.split(" ") : Array.isArray(n.class) ? t.class = n.class : t.class = [], t;
@@ -1272,7 +1297,7 @@ const Zt = {
1272
1297
  clear: {
1273
1298
  icon: "close"
1274
1299
  }
1275
- }, tn = /* @__PURE__ */ S({
1300
+ }, tn = /* @__PURE__ */ L({
1276
1301
  inheritAttrs: !1,
1277
1302
  __name: "QCombobox",
1278
1303
  props: {
@@ -1296,13 +1321,13 @@ const Zt = {
1296
1321
  },
1297
1322
  emits: ["update:modelValue", "update:inputValue", "before-show", "before-hide", "show", "hide"],
1298
1323
  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);
1324
+ const e = n, o = Oe(), l = $(e.modelValue), a = $(!1), i = $(""), c = $(void 0), d = $(null), p = $(null), x = $(null);
1300
1325
  Te(Q);
1301
- const _ = y(
1326
+ const k = y(
1302
1327
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
1303
1328
  ), E = y(() => {
1304
1329
  var r;
1305
- return e.filterMode === "manual" || !T.value ? e.items : (r = e.items) == null ? void 0 : r.filter(
1330
+ return e.filterMode === "manual" || !D.value ? e.items : (r = e.items) == null ? void 0 : r.filter(
1306
1331
  (b) => b[e.itemLabel].toLowerCase().startsWith(i.value.toLowerCase())
1307
1332
  );
1308
1333
  }), F = y(() => {
@@ -1312,13 +1337,13 @@ const Zt = {
1312
1337
  const r = c.value;
1313
1338
  if (r !== void 0 && E.value[r])
1314
1339
  return E.value[r];
1315
- }), O = y(() => {
1340
+ }), R = y(() => {
1316
1341
  var b;
1317
1342
  if (c.value === void 0)
1318
1343
  return;
1319
1344
  const r = (b = p.value) == null ? void 0 : b.getItem(c.value);
1320
1345
  return r == null ? void 0 : r.id;
1321
- }), T = y(() => {
1346
+ }), D = y(() => {
1322
1347
  var r;
1323
1348
  return i.value.length > 0 && i.value !== ((r = F.value) == null ? void 0 : r[e.itemLabel]);
1324
1349
  });
@@ -1326,7 +1351,7 @@ const Zt = {
1326
1351
  l.value = r, Q(), t("update:modelValue", r);
1327
1352
  }
1328
1353
  function N(r) {
1329
- j(r), M();
1354
+ j(r), O();
1330
1355
  }
1331
1356
  function Q() {
1332
1357
  var r;
@@ -1335,7 +1360,7 @@ const Zt = {
1335
1360
  function z() {
1336
1361
  a.value || e.readonly || e.disabled || (t("before-show"), a.value = !0);
1337
1362
  }
1338
- function M() {
1363
+ function O() {
1339
1364
  a.value && (t("before-hide"), a.value = !1, c.value = void 0);
1340
1365
  }
1341
1366
  function K() {
@@ -1348,35 +1373,35 @@ const Zt = {
1348
1373
  }
1349
1374
  }
1350
1375
  function h(r) {
1351
- var b, V;
1376
+ var b, T;
1352
1377
  if (!(!r.key || e.readonly || e.disabled))
1353
1378
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(r.key) && (r.preventDefault(), r.stopPropagation()), r.key === "Escape")
1354
- a.value ? M() : K();
1379
+ a.value ? O() : K();
1355
1380
  else if (["ArrowDown", "ArrowUp"].includes(r.key))
1356
1381
  a.value ? P(() => {
1357
1382
  if (c.value === void 0)
1358
- B();
1383
+ V();
1359
1384
  else {
1360
1385
  const G = r.key === "ArrowDown" ? "next" : "prev";
1361
1386
  f(c.value, G);
1362
1387
  }
1363
1388
  }) : (z(), P(() => {
1364
- r.key === "ArrowDown" ? B() : s();
1389
+ r.key === "ArrowDown" ? V() : s();
1365
1390
  }));
1366
1391
  else if (r.key === "Enter") {
1367
1392
  if (C.value === void 0)
1368
1393
  return;
1369
1394
  N(C.value[e.itemValue]);
1370
1395
  } 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();
1396
+ 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
1397
  }
1373
- function B() {
1398
+ function V() {
1374
1399
  var r, b;
1375
1400
  if (l.value !== void 0) {
1376
- const V = E.value.findIndex(
1401
+ const T = E.value.findIndex(
1377
1402
  (G) => G[e.itemValue] === l.value
1378
1403
  );
1379
- V === -1 ? c.value = (r = p.value) == null ? void 0 : r.getFirstFocusableItemIndex() : c.value = V;
1404
+ T === -1 ? c.value = (r = p.value) == null ? void 0 : r.getFirstFocusableItemIndex() : c.value = T;
1380
1405
  } else
1381
1406
  c.value = (b = p.value) == null ? void 0 : b.getFirstFocusableItemIndex();
1382
1407
  }
@@ -1385,14 +1410,14 @@ const Zt = {
1385
1410
  c.value = (r = p.value) == null ? void 0 : r.getLastFocusableItemIndex();
1386
1411
  }
1387
1412
  function f(r, b) {
1388
- var V;
1389
- c.value = (V = p.value) == null ? void 0 : V.getAdjacentItemIndex(r, b);
1413
+ var T;
1414
+ c.value = (T = p.value) == null ? void 0 : T.getAdjacentItemIndex(r, b);
1390
1415
  }
1391
1416
  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());
1417
+ var b, T, G;
1418
+ !((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
1419
  }
1395
- function k() {
1420
+ function w() {
1396
1421
  var r, b;
1397
1422
  (b = (r = d.value) == null ? void 0 : r.inputRef) == null || b.focus();
1398
1423
  }
@@ -1403,8 +1428,8 @@ const Zt = {
1403
1428
  t("hide");
1404
1429
  }
1405
1430
  function _e(r) {
1406
- var V;
1407
- const b = (V = p.value) == null ? void 0 : V.getItem(r);
1431
+ var T;
1432
+ const b = (T = p.value) == null ? void 0 : T.getItem(r);
1408
1433
  b == null || b.scrollIntoView({ block: "nearest", inline: "start" });
1409
1434
  }
1410
1435
  return A(
@@ -1415,9 +1440,9 @@ const Zt = {
1415
1440
  ), A(c, (r) => {
1416
1441
  r !== void 0 && _e(r);
1417
1442
  }), A(i, (r) => {
1418
- !r && _.value ? K() : a.value && e.selectionMode === "automatic" && P(B);
1443
+ !r && k.value ? K() : a.value && e.selectionMode === "automatic" && P(V);
1419
1444
  }), (r, b) => {
1420
- var V, G;
1445
+ var T, G;
1421
1446
  return u(), m(Y, null, [
1422
1447
  J(v(Pt), {
1423
1448
  modelValue: i.value,
@@ -1434,21 +1459,21 @@ const Zt = {
1434
1459
  "aria-expanded": a.value,
1435
1460
  "aria-haspopup": "listbox",
1436
1461
  "aria-autocomplete": "list",
1437
- "aria-activedescendant": O.value,
1462
+ "aria-activedescendant": R.value,
1438
1463
  size: e.size,
1439
1464
  onClick: W,
1440
1465
  onFocusout: g,
1441
1466
  onKeydown: Z(h, ["stop"])
1442
1467
  }, {
1443
- append: D(() => [
1444
- _.value && i.value ? (u(), I(v(X), ee({ key: 0 }, e.icons.clear, {
1468
+ append: S(() => [
1469
+ k.value && i.value ? (u(), q(v(X), ee({ key: 0 }, e.icons.clear, {
1445
1470
  class: "q-combobox__clear",
1446
1471
  onClick: Z(K, ["stop", "prevent"])
1447
- }), null, 16, ["onClick"])) : q("", !0)
1472
+ }), null, 16, ["onClick"])) : I("", !0)
1448
1473
  ]),
1449
1474
  _: 1
1450
1475
  }, 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), {
1476
+ (T = d.value) != null && T.fieldRef ? (u(), q(v(ce), {
1452
1477
  key: 0,
1453
1478
  "model-value": a.value,
1454
1479
  spy: "",
@@ -1460,21 +1485,21 @@ const Zt = {
1460
1485
  onEnter: ne,
1461
1486
  onLeave: oe
1462
1487
  }, {
1463
- default: D(() => {
1488
+ default: S(() => {
1464
1489
  var se;
1465
1490
  return [
1466
- R("div", {
1491
+ M("div", {
1467
1492
  ref_key: "contentRef",
1468
1493
  ref: x,
1469
1494
  class: "q-select__body",
1470
1495
  onFocusout: g
1471
1496
  }, [
1472
- $(r.$slots, "body.prepend"),
1473
- e.loading ? (u(), I(v(be), {
1497
+ _(r.$slots, "body.prepend"),
1498
+ e.loading ? (u(), q(v(be), {
1474
1499
  key: 0,
1475
1500
  class: "q-select__loader",
1476
1501
  size: 24
1477
- })) : E.value.length ? (u(), I(v(Qe), {
1502
+ })) : E.value.length ? (u(), q(v(Qe), {
1478
1503
  key: 1,
1479
1504
  ref_key: "listRef",
1480
1505
  ref: p,
@@ -1489,24 +1514,24 @@ const Zt = {
1489
1514
  groups: r.groups,
1490
1515
  "item-label": e.itemLabel,
1491
1516
  "item-value": e.itemValue,
1492
- onMouseup: k
1517
+ onMouseup: w
1493
1518
  }, null, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (u(), m("div", Zt, U(r.texts.noData), 1)),
1494
- $(r.$slots, "body.append")
1519
+ _(r.$slots, "body.append")
1495
1520
  ], 544)
1496
1521
  ];
1497
1522
  }),
1498
1523
  _: 3
1499
- }, 8, ["model-value", "anchor"])) : q("", !0)
1524
+ }, 8, ["model-value", "anchor"])) : I("", !0)
1500
1525
  ], 64);
1501
1526
  };
1502
1527
  }
1503
- }), Tn = L(tn), nn = {
1528
+ }), Tn = B(tn), nn = {
1504
1529
  key: 0,
1505
1530
  class: "q-input-group__prepend"
1506
1531
  }, on = { key: 0 }, ln = {
1507
1532
  key: 1,
1508
1533
  class: "q-input-group__append"
1509
- }, an = { key: 0 }, sn = /* @__PURE__ */ S({
1534
+ }, an = { key: 0 }, sn = /* @__PURE__ */ L({
1510
1535
  inheritAttrs: !1,
1511
1536
  __name: "QInputGroup",
1512
1537
  props: {
@@ -1520,34 +1545,34 @@ const Zt = {
1520
1545
  },
1521
1546
  setup(n) {
1522
1547
  const t = n;
1523
- return (e, o) => (u(), I(v(ge), {
1548
+ return (e, o) => (u(), q(v(ge), {
1524
1549
  id: t.id,
1525
1550
  label: t.label,
1526
1551
  readonly: t.readonly,
1527
1552
  disabled: t.disabled,
1528
1553
  required: t.required
1529
1554
  }, {
1530
- control: D(() => [
1531
- R("div", ee({ class: "q-input-group" }, e.$attrs), [
1555
+ control: S(() => [
1556
+ M("div", ee({ class: "q-input-group" }, e.$attrs), [
1532
1557
  e.$slots.prepend || t.prependIcon ? (u(), m("div", nn, [
1533
1558
  t.prependIcon ? (u(), m("span", on, [
1534
1559
  J(v(X), de(he(t.prependIcon)), null, 16)
1535
- ])) : q("", !0),
1536
- $(e.$slots, "prepend")
1537
- ])) : q("", !0),
1538
- $(e.$slots, "default"),
1560
+ ])) : I("", !0),
1561
+ _(e.$slots, "prepend")
1562
+ ])) : I("", !0),
1563
+ _(e.$slots, "default"),
1539
1564
  e.$slots.append || t.appendIcon ? (u(), m("div", ln, [
1540
1565
  t.appendIcon ? (u(), m("span", an, [
1541
1566
  J(v(X), de(he(t.appendIcon)), null, 16)
1542
- ])) : q("", !0),
1543
- $(e.$slots, "append")
1544
- ])) : q("", !0)
1567
+ ])) : I("", !0),
1568
+ _(e.$slots, "append")
1569
+ ])) : I("", !0)
1545
1570
  ], 16)
1546
1571
  ]),
1547
1572
  _: 3
1548
1573
  }, 8, ["id", "label", "readonly", "disabled", "required"]));
1549
1574
  }
1550
- }), Dn = L(sn), rn = (n, t) => {
1575
+ }), Dn = B(sn), rn = (n, t) => {
1551
1576
  const e = n.__vccOpts || n;
1552
1577
  for (const [o, l] of t)
1553
1578
  e[o] = l;
@@ -1556,13 +1581,13 @@ const Zt = {
1556
1581
  function cn(n, t) {
1557
1582
  return u(), m("div", un);
1558
1583
  }
1559
- const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1584
+ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = B(fn), pn = {
1560
1585
  key: 0,
1561
1586
  class: "q-popover__header"
1562
1587
  }, mn = {
1563
1588
  key: 1,
1564
1589
  class: "q-popover__body"
1565
- }, hn = ["innerHTML"], vn = { key: 1 }, yn = /* @__PURE__ */ S({
1590
+ }, hn = ["innerHTML"], vn = { key: 1 }, yn = /* @__PURE__ */ L({
1566
1591
  inheritAttrs: !1,
1567
1592
  __name: "QPopover",
1568
1593
  props: {
@@ -1579,7 +1604,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1579
1604
  },
1580
1605
  setup(n) {
1581
1606
  const t = n;
1582
- return (e, o) => (u(), I(v(ce), {
1607
+ return (e, o) => (u(), q(v(ce), {
1583
1608
  "model-value": t.modelValue,
1584
1609
  trigger: "click",
1585
1610
  anchor: t.anchor,
@@ -1590,23 +1615,23 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1590
1615
  placement: t.placement,
1591
1616
  spy: t.spy
1592
1617
  }, {
1593
- default: D(() => [
1618
+ default: S(() => [
1594
1619
  t.title || e.$slots.header ? (u(), m("h3", pn, [
1595
1620
  re(U(t.title) + " ", 1),
1596
- $(e.$slots, "header")
1597
- ])) : q("", !0),
1621
+ _(e.$slots, "header")
1622
+ ])) : I("", !0),
1598
1623
  t.text || e.$slots.body ? (u(), m("div", mn, [
1599
1624
  t.html ? (u(), m("span", {
1600
1625
  key: 0,
1601
1626
  innerHTML: t.text
1602
1627
  }, null, 8, hn)) : (u(), m("span", vn, U(t.text), 1)),
1603
- $(e.$slots, "body")
1604
- ])) : q("", !0)
1628
+ _(e.$slots, "body")
1629
+ ])) : I("", !0)
1605
1630
  ]),
1606
1631
  _: 3
1607
1632
  }, 8, ["model-value", "anchor", "arrow", "attach", "disabled", "placement", "spy"]));
1608
1633
  }
1609
- }), Cn = L(yn), bn = {
1634
+ }), Cn = B(yn), bn = {
1610
1635
  key: 0,
1611
1636
  class: "q-select__value"
1612
1637
  }, gn = {
@@ -1621,7 +1646,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1621
1646
  clear: {
1622
1647
  icon: "close"
1623
1648
  }
1624
- }, $n = /* @__PURE__ */ S({
1649
+ }, $n = /* @__PURE__ */ L({
1625
1650
  inheritAttrs: !1,
1626
1651
  __name: "QSelect",
1627
1652
  props: {
@@ -1643,12 +1668,12 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1643
1668
  },
1644
1669
  emits: ["update:modelValue", "before-show", "before-hide", "show", "hide"],
1645
1670
  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(
1671
+ const e = n, o = Oe(), l = $(e.modelValue), a = $(!1), i = $(""), c = $(null), d = $(null), p = $(null), x = y(
1647
1672
  () => {
1648
1673
  var s;
1649
1674
  return (s = e.items) == null ? void 0 : s.find((f) => f[e.itemValue] === l.value);
1650
1675
  }
1651
- ), _ = y(
1676
+ ), k = y(
1652
1677
  () => x.value ? x.value[e.itemLabel] : ""
1653
1678
  ), E = y(
1654
1679
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
@@ -1659,12 +1684,12 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1659
1684
  function C() {
1660
1685
  E.value && F(void 0);
1661
1686
  }
1662
- function O() {
1687
+ function R() {
1663
1688
  e.readonly || e.disabled || (a.value ? N() : j());
1664
1689
  }
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();
1690
+ function D(s) {
1691
+ var f, g, w;
1692
+ !((f = p.value) != null && f.contains(s.relatedTarget)) && !((w = (g = c.value) == null ? void 0 : g.fieldRef) != null && w.contains(s.relatedTarget)) && N();
1668
1693
  }
1669
1694
  function j() {
1670
1695
  a.value || (t("before-show"), a.value = !0);
@@ -1679,7 +1704,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1679
1704
  i.value += s.key.toLowerCase();
1680
1705
  for (let f = 0; f < e.items.length; f++)
1681
1706
  if (e.items[f][e.itemLabel].toLowerCase().startsWith(i.value)) {
1682
- B(f);
1707
+ V(f);
1683
1708
  break;
1684
1709
  }
1685
1710
  }
@@ -1688,7 +1713,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1688
1713
  }, 500);
1689
1714
  }
1690
1715
  }
1691
- function M() {
1716
+ function O() {
1692
1717
  var s;
1693
1718
  e.loading ? (s = p.value) == null || s.focus() : h(), t("show");
1694
1719
  }
@@ -1703,7 +1728,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1703
1728
  var s;
1704
1729
  (s = d.value) == null || s.$el.focus();
1705
1730
  }
1706
- function B(s) {
1731
+ function V(s) {
1707
1732
  var f;
1708
1733
  (f = d.value) == null || f.focusItem(s);
1709
1734
  }
@@ -1718,7 +1743,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1718
1743
  !s && a.value && P(h);
1719
1744
  }
1720
1745
  ), (s, f) => {
1721
- var g, k, ne;
1746
+ var g, w, ne;
1722
1747
  return u(), m(Y, null, [
1723
1748
  J(v(ge), {
1724
1749
  id: e.id,
@@ -1742,24 +1767,24 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1742
1767
  "aria-expanded": a.value,
1743
1768
  "aria-haspopup": "listbox",
1744
1769
  size: e.size,
1745
- onClick: O,
1770
+ onClick: R,
1746
1771
  onKeydown: Z(z, ["stop"])
1747
1772
  }, De({
1748
- append: D(() => [
1749
- E.value && l.value ? (u(), I(v(X), ee({ key: 0 }, e.icons.clear, {
1773
+ append: S(() => [
1774
+ E.value && l.value ? (u(), q(v(X), ee({ key: 0 }, e.icons.clear, {
1750
1775
  class: "q-select__clear",
1751
1776
  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)
1777
+ }), null, 16, ["onClick"])) : I("", !0),
1778
+ !e.readonly && !e.disabled ? (u(), q(v(X), ee({ key: 1 }, e.icons.chevron, { class: "q-select__chevron" }), null, 16)) : I("", !0)
1754
1779
  ]),
1755
- default: D(() => [
1756
- l.value ? (u(), m("span", bn, U(_.value), 1)) : (u(), m("span", gn, U(s.texts.placeholder), 1))
1780
+ default: S(() => [
1781
+ l.value ? (u(), m("span", bn, U(k.value), 1)) : (u(), m("span", gn, U(s.texts.placeholder), 1))
1757
1782
  ]),
1758
1783
  _: 2
1759
1784
  }, [
1760
1785
  (g = x.value) != null && g.icon ? {
1761
1786
  name: "prepend",
1762
- fn: D(() => {
1787
+ fn: S(() => {
1763
1788
  var oe;
1764
1789
  return [
1765
1790
  J(v(X), de(he((oe = x.value) == null ? void 0 : oe.icon)), null, 16)
@@ -1768,7 +1793,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1768
1793
  key: "0"
1769
1794
  } : void 0
1770
1795
  ]), 1032, ["id", "label", "required", "class", "readonly", "disabled", "aria-expanded", "size", "onKeydown"]),
1771
- (k = c.value) != null && k.fieldRef ? (u(), I(v(ce), {
1796
+ (w = c.value) != null && w.fieldRef ? (u(), q(v(ce), {
1772
1797
  key: 0,
1773
1798
  "model-value": a.value,
1774
1799
  spy: "",
@@ -1777,24 +1802,24 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1777
1802
  width: "anchor",
1778
1803
  offset: 2,
1779
1804
  anchor: (ne = c.value) == null ? void 0 : ne.fieldRef,
1780
- onEnter: M,
1805
+ onEnter: O,
1781
1806
  onLeave: K
1782
1807
  }, {
1783
- default: D(() => [
1784
- R("div", {
1808
+ default: S(() => [
1809
+ M("div", {
1785
1810
  ref_key: "contentRef",
1786
1811
  ref: p,
1787
1812
  class: "q-select__body",
1788
1813
  tabindex: "-1",
1789
- onFocusout: T,
1814
+ onFocusout: D,
1790
1815
  onKeydown: Z(z, ["stop"])
1791
1816
  }, [
1792
- $(s.$slots, "body.prepend"),
1793
- e.loading ? (u(), I(v(be), {
1817
+ _(s.$slots, "body.prepend"),
1818
+ e.loading ? (u(), q(v(be), {
1794
1819
  key: 0,
1795
1820
  class: "q-select__loader",
1796
1821
  size: 24
1797
- })) : (u(), I(v(Qe), {
1822
+ })) : (u(), q(v(Qe), {
1798
1823
  key: 1,
1799
1824
  ref_key: "listRef",
1800
1825
  ref: d,
@@ -1809,15 +1834,15 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1809
1834
  "item-label": e.itemLabel,
1810
1835
  "item-value": e.itemValue
1811
1836
  }, null, 8, ["modelValue", "items", "groups", "item-label", "item-value"])),
1812
- $(s.$slots, "body.append")
1837
+ _(s.$slots, "body.append")
1813
1838
  ], 40, _n)
1814
1839
  ]),
1815
1840
  _: 3
1816
- }, 8, ["model-value", "anchor"])) : q("", !0)
1841
+ }, 8, ["model-value", "anchor"])) : I("", !0)
1817
1842
  ], 64);
1818
1843
  };
1819
1844
  }
1820
- }), An = L($n), In = ["innerHTML"], qn = { key: 1 }, xn = /* @__PURE__ */ S({
1845
+ }), An = B($n), In = ["innerHTML"], qn = { key: 1 }, xn = /* @__PURE__ */ L({
1821
1846
  inheritAttrs: !1,
1822
1847
  __name: "QTooltip",
1823
1848
  props: {
@@ -1835,7 +1860,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1835
1860
  },
1836
1861
  setup(n) {
1837
1862
  const t = n;
1838
- return (e, o) => (u(), I(v(ce), {
1863
+ return (e, o) => (u(), q(v(ce), {
1839
1864
  "model-value": t.modelValue,
1840
1865
  anchor: t.anchor,
1841
1866
  appearance: t.appearance,
@@ -1847,7 +1872,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1847
1872
  placement: t.placement,
1848
1873
  trigger: t.trigger
1849
1874
  }, {
1850
- default: D(() => [
1875
+ default: S(() => [
1851
1876
  t.html ? (u(), m("span", {
1852
1877
  key: 0,
1853
1878
  innerHTML: t.text
@@ -1856,7 +1881,7 @@ const fn = /* @__PURE__ */ rn(dn, [["render", cn]]), En = L(fn), pn = {
1856
1881
  _: 1
1857
1882
  }, 8, ["model-value", "anchor", "appearance", "arrow", "attach", "delay", "disabled", "placement", "trigger"]));
1858
1883
  }
1859
- }), zn = L(xn), Fn = {
1884
+ }), zn = B(xn), Fn = {
1860
1885
  mounted(n, t) {
1861
1886
  n.clickOutsideEvent = function(e) {
1862
1887
  const o = e.target;