@quidgest/ui 0.14.1 → 0.14.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,6 +1,6 @@
1
- import { defineComponent as B, computed as g, openBlock as r, createElementBlock as p, normalizeClass as V, normalizeStyle as ue, getCurrentInstance as Ne, ref as D, provide as He, inject as Ge, withModifiers as ve, createVNode as z, unref as m, createCommentVNode as x, createElementVNode as L, Fragment as K, createTextVNode as ce, toDisplayString as O, renderSlot as h, createBlock as S, resolveDynamicComponent as Be, h as Qe, withCtx as _, normalizeProps as j, guardReactiveProps as le, toRef as Fe, mergeModels as Z, useModel as ne, renderList as he, mergeProps as J, reactive as ze, watch as te, nextTick as oe, onMounted as Re, onBeforeUnmount as ut, Teleport as ct, Transition as ft, withKeys as pt, createSlots as qe, withDirectives as mt, vModelDynamic as vt } from "vue";
1
+ import { defineComponent as B, computed as g, openBlock as r, createElementBlock as p, normalizeClass as V, normalizeStyle as ue, getCurrentInstance as Ne, ref as D, provide as He, inject as Ge, withModifiers as ve, createVNode as z, unref as m, createCommentVNode as q, createElementVNode as I, Fragment as K, createTextVNode as ce, toDisplayString as O, renderSlot as h, createBlock as S, resolveDynamicComponent as Be, h as Qe, withCtx as _, normalizeProps as j, guardReactiveProps as le, toRef as Fe, mergeModels as Z, useModel as ne, renderList as he, mergeProps as J, reactive as ze, watch as te, nextTick as oe, onMounted as Re, onBeforeUnmount as ut, Teleport as ct, Transition as ft, withKeys as pt, createSlots as qe, withDirectives as mt, vModelDynamic as vt } from "vue";
2
2
  /*!
3
- * Quidgest UI v0.14.1
3
+ * Quidgest UI v0.14.2
4
4
  * (c) 2024 Quidgest - Consultores de Gestão, S.A.
5
5
  * Released under the MIT License.
6
6
  */
@@ -147,8 +147,8 @@ function C(o) {
147
147
  if (s === null) return t(e, n);
148
148
  const i = new Proxy(e, {
149
149
  get(a, d) {
150
- var I;
151
- const c = Reflect.get(a, d), w = (I = l.value) == null ? void 0 : I[d];
150
+ var L;
151
+ const c = Reflect.get(a, d), w = (L = l.value) == null ? void 0 : L[d];
152
152
  return typeof d == "string" && !bt(s.vnode, d) ? w ?? c : c;
153
153
  }
154
154
  });
@@ -203,13 +203,13 @@ const xe = C(ht), gt = ["disabled"], _t = {
203
203
  }, [
204
204
  a.loading ? (r(), p("div", _t, [
205
205
  z(m(xe), { size: 20 })
206
- ])) : x("", !0),
207
- L("span", kt, [
206
+ ])) : q("", !0),
207
+ I("span", kt, [
208
208
  a.iconOnRight ? (r(), p(K, { key: 0 }, [
209
209
  ce(O(e.label), 1)
210
- ], 64)) : x("", !0),
210
+ ], 64)) : q("", !0),
211
211
  h(a.$slots, "default"),
212
- a.iconOnRight ? x("", !0) : (r(), p(K, { key: 1 }, [
212
+ a.iconOnRight ? q("", !0) : (r(), p(K, { key: 1 }, [
213
213
  ce(O(e.label), 1)
214
214
  ], 64))
215
215
  ])
@@ -511,8 +511,8 @@ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
511
511
  if (d = e.color, e.variant === "tonal")
512
512
  c = e.color;
513
513
  else {
514
- const w = et(d), I = Dt(w);
515
- c = At(I.l);
514
+ const w = et(d), L = Dt(w);
515
+ c = At(L.l);
516
516
  }
517
517
  return {
518
518
  "--q-badge-color": d,
@@ -527,8 +527,8 @@ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
527
527
  role: "presentation",
528
528
  style: ue(i.value)
529
529
  }, [
530
- c[0] || (c[0] = L("div", { class: "q-badge__underlay" }, null, -1)),
531
- L("div", Qt, [
530
+ c[0] || (c[0] = I("div", { class: "q-badge__underlay" }, null, -1)),
531
+ I("div", Qt, [
532
532
  h(d.$slots, "default"),
533
533
  e.removable ? (r(), S(m(re), {
534
534
  key: 0,
@@ -541,7 +541,7 @@ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
541
541
  z(m(N), j(le(e.icons.remove)), null, 16)
542
542
  ]),
543
543
  _: 1
544
- })) : x("", !0)
544
+ })) : q("", !0)
545
545
  ])
546
546
  ], 6));
547
547
  }
@@ -598,7 +598,8 @@ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
598
598
  class: V(t.class),
599
599
  disabled: t.disabled,
600
600
  borderless: t.borderless,
601
- elevated: t.elevated
601
+ elevated: t.elevated,
602
+ role: "listbox"
602
603
  }, {
603
604
  default: _(() => [
604
605
  (r(!0), p(K, null, he(t.options, (i) => (r(), S(m(re), {
@@ -606,13 +607,15 @@ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
606
607
  title: i.title,
607
608
  label: i.label,
608
609
  active: e.value === i.key,
610
+ role: "option",
611
+ "aria-selected": e.value === i.key,
609
612
  onClick: () => n(i)
610
613
  }, {
611
614
  default: _(() => [
612
615
  h(l.$slots, i.key)
613
616
  ]),
614
617
  _: 2
615
- }, 1032, ["title", "label", "active", "onClick"]))), 128))
618
+ }, 1032, ["title", "label", "active", "aria-selected", "onClick"]))), 128))
616
619
  ]),
617
620
  _: 3
618
621
  }, 8, ["class", "disabled", "borderless", "elevated"]));
@@ -648,7 +651,7 @@ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
648
651
  function w() {
649
652
  l.value = !1;
650
653
  }
651
- function I(v) {
654
+ function L(v) {
652
655
  var b;
653
656
  if ((b = a.value) != null && b.contains(v.relatedTarget))
654
657
  return;
@@ -747,7 +750,7 @@ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
747
750
  class: V(["q-list", { "q-list--disabled": e.disabled }, e.class]),
748
751
  role: "listbox",
749
752
  tabindex: e.disabled ? -1 : 0,
750
- onFocus: I,
753
+ onFocus: L,
751
754
  onMousedown: c,
752
755
  onMouseup: w,
753
756
  onKeydown: P
@@ -836,20 +839,20 @@ const Gt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Rt = {
836
839
  onKeydown: i,
837
840
  onClick: ve(s, ["stop", "prevent"])
838
841
  }, [
839
- L("div", Rt, [
840
- L("div", Kt, [
842
+ I("div", Rt, [
843
+ I("div", Kt, [
841
844
  h(a.$slots, "default", {}, () => [
842
- e.icon ? (r(), S(m(N), j(J({ key: 0 }, e.icon)), null, 16)) : x("", !0),
845
+ e.icon ? (r(), S(m(N), j(J({ key: 0 }, e.icon)), null, 16)) : q("", !0),
843
846
  ce(" " + O(e.label), 1)
844
847
  ])
845
848
  ]),
846
849
  e.description ? (r(), p("div", jt, [
847
850
  z(m(N), j(le(e.icons.description)), null, 16),
848
- L("span", null, O(e.description), 1)
849
- ])) : x("", !0)
851
+ I("span", null, O(e.description), 1)
852
+ ])) : q("", !0)
850
853
  ]),
851
- L("div", Wt, [
852
- e.selected ? (r(), S(m(N), J({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : x("", !0)
854
+ I("div", Wt, [
855
+ e.selected ? (r(), S(m(N), J({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : q("", !0)
853
856
  ])
854
857
  ], 42, Gt));
855
858
  }
@@ -872,13 +875,13 @@ const Gt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Rt = {
872
875
  id: m(e),
873
876
  class: "q-list-item-group__title",
874
877
  role: "presentation"
875
- }, O(t.title), 9, Zt)) : x("", !0),
878
+ }, O(t.title), 9, Zt)) : q("", !0),
876
879
  h(n.$slots, "default")
877
880
  ], 8, Yt));
878
881
  }
879
882
  }), Ve = C(Ut), ot = C(Xt), nt = C(Jt), we = 8;
880
883
  function eo(o, t, e, n) {
881
- const l = (n == null ? void 0 : n.offset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", i = o.getBoundingClientRect(), a = t.getBoundingClientRect(), d = e == null ? void 0 : e.getBoundingClientRect(), c = to(i, a, s, l), w = so(i, a, c), I = no(w, c, l), P = oo(I, a, c);
884
+ const l = (n == null ? void 0 : n.offset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", i = o.getBoundingClientRect(), a = t.getBoundingClientRect(), d = e == null ? void 0 : e.getBoundingClientRect(), c = to(i, a, s, l), w = so(i, a, c), L = no(w, c, l), P = oo(L, a, c);
882
885
  let A;
883
886
  if (n != null && n.arrow) {
884
887
  if (!d)
@@ -955,13 +958,13 @@ function so(o, t, e) {
955
958
  }
956
959
  if (!l)
957
960
  return a;
958
- const c = $e(e) === "y" ? "height" : "width", w = $e(e), I = o[c] / 2 - t[c] / 2;
961
+ const c = $e(e) === "y" ? "height" : "width", w = $e(e), L = o[c] / 2 - t[c] / 2;
959
962
  switch (l) {
960
963
  case "start":
961
- a[w] -= I;
964
+ a[w] -= L;
962
965
  break;
963
966
  case "end":
964
- a[w] += I;
967
+ a[w] += L;
965
968
  break;
966
969
  default:
967
970
  throw new Error(`[Quidgest UI] Invalid alignment value: ${l}`);
@@ -1069,7 +1072,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1069
1072
  left: `${a.left}px`,
1070
1073
  width: X !== void 0 ? `${X}px` : void 0
1071
1074
  };
1072
- }), I = g(() => {
1075
+ }), L = g(() => {
1073
1076
  if (e.arrow)
1074
1077
  return {
1075
1078
  top: d.top !== void 0 ? `${d.top}px` : void 0,
@@ -1200,7 +1203,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1200
1203
  "q-overlay__underlay",
1201
1204
  { "q-overlay__underlay--blur": e.backdropBlur }
1202
1205
  ])
1203
- }, null, 2)) : x("", !0),
1206
+ }, null, 2)) : q("", !0),
1204
1207
  z(ft, {
1205
1208
  name: e.transition,
1206
1209
  appear: "",
@@ -1212,7 +1215,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1212
1215
  class: V(s.value),
1213
1216
  style: ue(w.value)
1214
1217
  }, [
1215
- L("div", J({
1218
+ I("div", J({
1216
1219
  class: "q-overlay__content",
1217
1220
  ref_key: "overlayRef",
1218
1221
  ref: A,
@@ -1228,11 +1231,11 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1228
1231
  ref: P,
1229
1232
  role: "presentation",
1230
1233
  class: "q-overlay__arrow",
1231
- style: ue(I.value)
1232
- }, null, 4)) : x("", !0),
1234
+ style: ue(L.value)
1235
+ }, null, 4)) : q("", !0),
1233
1236
  h(k.$slots, "default")
1234
1237
  ], 16, co)
1235
- ], 6)) : x("", !0)
1238
+ ], 6)) : q("", !0)
1236
1239
  ]),
1237
1240
  _: 3
1238
1241
  }, 8, ["name"])
@@ -1282,29 +1285,29 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1282
1285
  }, [
1283
1286
  e.label ? (r(), p("div", mo, [
1284
1287
  h(i.$slots, "label.prepend"),
1285
- L("label", {
1288
+ I("label", {
1286
1289
  for: e.for
1287
1290
  }, O(e.label), 9, vo),
1288
1291
  h(i.$slots, "label.append")
1289
- ])) : x("", !0),
1292
+ ])) : q("", !0),
1290
1293
  h(i.$slots, "control", {}, () => [
1291
- L("div", J({
1294
+ I("div", J({
1292
1295
  class: "q-field__control",
1293
1296
  ref_key: "fieldRef",
1294
1297
  ref: l
1295
1298
  }, i.$attrs), [
1296
1299
  i.$slots.prepend ? (r(), p("div", ho, [
1297
1300
  h(i.$slots, "prepend")
1298
- ])) : x("", !0),
1301
+ ])) : q("", !0),
1299
1302
  h(i.$slots, "default"),
1300
1303
  i.$slots.append ? (r(), p("div", yo, [
1301
1304
  h(i.$slots, "append")
1302
- ])) : x("", !0)
1305
+ ])) : q("", !0)
1303
1306
  ], 16)
1304
1307
  ]),
1305
1308
  i.$slots.extras ? (r(), p("div", bo, [
1306
1309
  h(i.$slots, "extras")
1307
- ])) : x("", !0)
1310
+ ])) : q("", !0)
1308
1311
  ], 10, po));
1309
1312
  }
1310
1313
  }), Le = C(go), _o = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], ko = /* @__PURE__ */ B({
@@ -1355,7 +1358,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1355
1358
  h(d.$slots, "label.append")
1356
1359
  ]),
1357
1360
  default: _(() => [
1358
- mt(L("input", J({
1361
+ mt(I("input", J({
1359
1362
  "onUpdate:modelValue": c[0] || (c[0] = (w) => n.value = w),
1360
1363
  ref_key: "inputRef",
1361
1364
  ref: i,
@@ -1449,25 +1452,25 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1449
1452
  }),
1450
1453
  emits: /* @__PURE__ */ Z(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
1451
1454
  setup(o, { expose: t, emit: e }) {
1452
- const n = o, l = e, s = ne(o, "modelValue"), i = ne(o, "open"), a = ne(o, "search"), d = D(void 0), c = D(null), w = D(null), I = D(null), P = D(null);
1455
+ const n = o, l = e, s = ne(o, "modelValue"), i = ne(o, "open"), a = ne(o, "search"), d = D(void 0), c = D(null), w = D(null), L = D(null), P = D(null);
1453
1456
  Re(W);
1454
1457
  const A = g(() => n.clearable && !n.readonly && !n.disabled), T = g(() => {
1455
1458
  var u;
1456
1459
  return n.filterMode === "manual" || !H.value ? n.items : (u = n.items) == null ? void 0 : u.filter(
1457
- (q) => q[n.itemLabel].toLowerCase().startsWith(a.value.toLowerCase())
1460
+ (x) => x[n.itemLabel].toLowerCase().startsWith(a.value.toLowerCase())
1458
1461
  );
1459
1462
  }), y = g(() => {
1460
1463
  var u;
1461
- return (u = n.items) == null ? void 0 : u.find((q) => q[n.itemValue] === s.value);
1464
+ return (u = n.items) == null ? void 0 : u.find((x) => x[n.itemValue] === s.value);
1462
1465
  }), E = g(() => y.value === void 0), M = g(() => {
1463
1466
  const u = d.value;
1464
1467
  if (u !== void 0 && T.value[u])
1465
1468
  return T.value[u];
1466
1469
  }), Q = g(() => {
1467
- var q;
1470
+ var x;
1468
1471
  if (d.value === void 0)
1469
1472
  return;
1470
- const u = (q = w.value) == null ? void 0 : q.getItem(d.value);
1473
+ const u = (x = w.value) == null ? void 0 : x.getItem(d.value);
1471
1474
  return u == null ? void 0 : u.id;
1472
1475
  }), H = g(() => {
1473
1476
  var u;
@@ -1477,8 +1480,8 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1477
1480
  s.value = u, U();
1478
1481
  }
1479
1482
  function W() {
1480
- var q;
1481
- const u = ((q = y.value) == null ? void 0 : q[n.itemLabel]) || "";
1483
+ var x;
1484
+ const u = ((x = y.value) == null ? void 0 : x[n.itemLabel]) || "";
1482
1485
  a.value !== u && (a.value = u);
1483
1486
  }
1484
1487
  function ae() {
@@ -1500,7 +1503,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1500
1503
  }
1501
1504
  }
1502
1505
  function f(u) {
1503
- var q, F;
1506
+ var x, F;
1504
1507
  if (!(!u.key || n.readonly || n.disabled))
1505
1508
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(u.key) && (u.preventDefault(), u.stopPropagation()), u.key === "Escape")
1506
1509
  W(), i.value && U();
@@ -1518,12 +1521,12 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1518
1521
  else if (u.key === "Enter") {
1519
1522
  if (M.value === void 0) return;
1520
1523
  se(M.value[n.itemValue]);
1521
- } else u.key === "Home" ? d.value = (q = w.value) == null ? void 0 : q.getFirstFocusableItemIndex() : u.key === "End" ? d.value = (F = w.value) == null ? void 0 : F.getLastFocusableItemIndex() : (/^[a-z]$/i.test(u.key) || u.key === "Backspace") && ae();
1524
+ } else u.key === "Home" ? d.value = (x = w.value) == null ? void 0 : x.getFirstFocusableItemIndex() : u.key === "End" ? d.value = (F = w.value) == null ? void 0 : F.getLastFocusableItemIndex() : (/^[a-z]$/i.test(u.key) || u.key === "Backspace") && ae();
1522
1525
  }
1523
1526
  function b() {
1524
- var u, q;
1527
+ var u, x;
1525
1528
  if (E.value)
1526
- d.value = (q = w.value) == null ? void 0 : q.getFirstFocusableItemIndex();
1529
+ d.value = (x = w.value) == null ? void 0 : x.getFirstFocusableItemIndex();
1527
1530
  else {
1528
1531
  const F = T.value.findIndex(
1529
1532
  (R) => R[n.itemValue] === s.value
@@ -1535,22 +1538,22 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1535
1538
  var u;
1536
1539
  d.value = (u = w.value) == null ? void 0 : u.getLastFocusableItemIndex();
1537
1540
  }
1538
- function ie(u, q) {
1541
+ function ie(u, x) {
1539
1542
  var F;
1540
- d.value = (F = w.value) == null ? void 0 : F.getAdjacentItemIndex(u, q);
1543
+ d.value = (F = w.value) == null ? void 0 : F.getAdjacentItemIndex(u, x);
1541
1544
  }
1542
1545
  function ee(u) {
1543
1546
  var me, Ee, De, Ae;
1544
- const q = ((me = I == null ? void 0 : I.value) == null ? void 0 : me.$el) === u.relatedTarget, F = (De = (Ee = c == null ? void 0 : c.value) == null ? void 0 : Ee.$el) == null ? void 0 : De.contains(u.relatedTarget), R = (Ae = P == null ? void 0 : P.value) == null ? void 0 : Ae.contains(u.relatedTarget);
1545
- if (q || R || F) {
1547
+ const x = ((me = L == null ? void 0 : L.value) == null ? void 0 : me.$el) === u.relatedTarget, F = (De = (Ee = c == null ? void 0 : c.value) == null ? void 0 : Ee.$el) == null ? void 0 : De.contains(u.relatedTarget), R = (Ae = P == null ? void 0 : P.value) == null ? void 0 : Ae.contains(u.relatedTarget);
1548
+ if (x || R || F) {
1546
1549
  u.preventDefault(), u.stopPropagation();
1547
1550
  return;
1548
1551
  }
1549
1552
  U(), A.value && !a.value && (s.value = n.emptyValue), W();
1550
1553
  }
1551
1554
  function de() {
1552
- var u, q;
1553
- (q = (u = c.value) == null ? void 0 : u.inputRef) == null || q.focus();
1555
+ var u, x;
1556
+ (x = (u = c.value) == null ? void 0 : u.inputRef) == null || x.focus();
1554
1557
  }
1555
1558
  function ke() {
1556
1559
  de();
@@ -1563,14 +1566,14 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1563
1566
  }
1564
1567
  function X(u) {
1565
1568
  var F;
1566
- const q = (F = w.value) == null ? void 0 : F.getItem(u);
1567
- w.value && (w.value.$el.scrollTop = q == null ? void 0 : q.offsetTop);
1569
+ const x = (F = w.value) == null ? void 0 : F.getItem(u);
1570
+ w.value && (w.value.$el.scrollTop = x == null ? void 0 : x.offsetTop);
1568
1571
  }
1569
1572
  return te(s, W), te(
1570
1573
  () => n.items,
1571
- (u, q) => {
1574
+ (u, x) => {
1572
1575
  if (!E.value) {
1573
- const F = q.find((R) => R[n.itemValue] === s.value);
1576
+ const F = x.find((R) => R[n.itemValue] === s.value);
1574
1577
  a.value === (F == null ? void 0 : F[n.itemLabel]) && W();
1575
1578
  }
1576
1579
  },
@@ -1586,12 +1589,12 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1586
1589
  }
1587
1590
  ), t({
1588
1591
  triggerEl: c
1589
- }), (u, q) => {
1592
+ }), (u, x) => {
1590
1593
  var F;
1591
1594
  return r(), p(K, null, [
1592
1595
  z(m(lt), J({
1593
1596
  modelValue: a.value,
1594
- "onUpdate:modelValue": q[0] || (q[0] = (R) => a.value = R),
1597
+ "onUpdate:modelValue": x[0] || (x[0] = (R) => a.value = R),
1595
1598
  id: n.id,
1596
1599
  label: n.label,
1597
1600
  required: n.required,
@@ -1643,11 +1646,11 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1643
1646
  z(m(N), j(le(n.icons.clear)), null, 16)
1644
1647
  ]),
1645
1648
  _: 1
1646
- }, 8, ["aria-label"])) : x("", !0),
1647
- n.readonly ? x("", !0) : (r(), S(m(re), {
1649
+ }, 8, ["aria-label"])) : q("", !0),
1650
+ n.readonly ? q("", !0) : (r(), S(m(re), {
1648
1651
  key: 1,
1649
1652
  ref_key: "toggleRef",
1650
- ref: I,
1653
+ ref: L,
1651
1654
  class: "q-combobox__chevron",
1652
1655
  "aria-label": n.texts.showOptions,
1653
1656
  "b-style": "plain",
@@ -1681,7 +1684,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1681
1684
  ]), 1040, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
1682
1685
  z(m(ye), {
1683
1686
  modelValue: i.value,
1684
- "onUpdate:modelValue": q[2] || (q[2] = (R) => i.value = R),
1687
+ "onUpdate:modelValue": x[2] || (x[2] = (R) => i.value = R),
1685
1688
  spy: "",
1686
1689
  "non-modal": "",
1687
1690
  trigger: "manual",
@@ -1695,7 +1698,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1695
1698
  default: _(() => {
1696
1699
  var R;
1697
1700
  return [
1698
- L("div", {
1701
+ I("div", {
1699
1702
  ref_key: "contentRef",
1700
1703
  ref: P,
1701
1704
  class: "q-select__body",
@@ -1714,7 +1717,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1714
1717
  selectable: "",
1715
1718
  modelValue: s.value,
1716
1719
  "onUpdate:modelValue": [
1717
- q[1] || (q[1] = (me) => s.value = me),
1720
+ x[1] || (x[1] = (me) => s.value = me),
1718
1721
  se
1719
1722
  ],
1720
1723
  highlighted: (R = M.value) == null ? void 0 : R[n.itemValue],
@@ -1798,11 +1801,11 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1798
1801
  persistent: ""
1799
1802
  }, {
1800
1803
  default: _(() => [
1801
- L("div", {
1804
+ I("div", {
1802
1805
  class: V(l.value)
1803
1806
  }, [
1804
- L("div", Vo, [
1805
- L("span", Eo, O(t.title), 1),
1807
+ I("div", Vo, [
1808
+ I("span", Eo, O(t.title), 1),
1806
1809
  t.dismissible ? (r(), S(m(re), {
1807
1810
  key: 0,
1808
1811
  "b-style": "tertiary",
@@ -1812,16 +1815,16 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1812
1815
  z(m(N), j(le(t.icons.close)), null, 16)
1813
1816
  ]),
1814
1817
  _: 1
1815
- })) : x("", !0)
1818
+ })) : q("", !0)
1816
1819
  ]),
1817
1820
  h(a.$slots, "body.content", {}, () => [
1818
- L("div", Do, [
1821
+ I("div", Do, [
1819
1822
  h(a.$slots, "body.icon", {}, () => [
1820
1823
  t.icon ? (r(), p("span", Ao, [
1821
1824
  z(m(N), j(le(t.icon)), null, 16)
1822
- ])) : x("", !0)
1825
+ ])) : q("", !0)
1823
1826
  ]),
1824
- L("div", Qo, [
1827
+ I("div", Qo, [
1825
1828
  t.html ? (r(), p("span", {
1826
1829
  key: 0,
1827
1830
  innerHTML: t.text
@@ -1830,7 +1833,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1830
1833
  h(a.$slots, "body.append")
1831
1834
  ])
1832
1835
  ]),
1833
- L("div", Mo, [
1836
+ I("div", Mo, [
1834
1837
  (r(!0), p(K, null, he(t.buttons, (c) => (r(), S(m(re), J({ ref_for: !0 }, c.props, {
1835
1838
  key: c.id,
1836
1839
  onClick: () => i(c)
@@ -1839,7 +1842,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1839
1842
  c.icon ? (r(), S(m(N), J({
1840
1843
  key: 0,
1841
1844
  ref_for: !0
1842
- }, c.icon), null, 16)) : x("", !0)
1845
+ }, c.icon), null, 16)) : q("", !0)
1843
1846
  ]),
1844
1847
  _: 2
1845
1848
  }, 1040, ["onClick"]))), 128))
@@ -1883,16 +1886,16 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1883
1886
  e.$slots.prepend || t.prependIcon ? (r(), p("div", Uo, [
1884
1887
  t.prependIcon ? (r(), p("span", No, [
1885
1888
  z(m(N), j(le(t.prependIcon)), null, 16)
1886
- ])) : x("", !0),
1889
+ ])) : q("", !0),
1887
1890
  h(e.$slots, "prepend")
1888
- ])) : x("", !0),
1891
+ ])) : q("", !0),
1889
1892
  h(e.$slots, "default"),
1890
1893
  e.$slots.append || t.appendIcon ? (r(), p("div", Ho, [
1891
1894
  t.appendIcon ? (r(), p("span", Go, [
1892
1895
  z(m(N), j(le(t.appendIcon)), null, 16)
1893
- ])) : x("", !0),
1896
+ ])) : q("", !0),
1894
1897
  h(e.$slots, "append")
1895
- ])) : x("", !0)
1898
+ ])) : q("", !0)
1896
1899
  ]),
1897
1900
  _: 2
1898
1901
  }, [
@@ -1958,14 +1961,14 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1958
1961
  t.title || n.$slots.header ? (r(), p("h3", Xo, [
1959
1962
  ce(O(t.title) + " ", 1),
1960
1963
  h(n.$slots, "header")
1961
- ])) : x("", !0),
1964
+ ])) : q("", !0),
1962
1965
  t.text || n.$slots.body ? (r(), p("div", Yo, [
1963
1966
  t.html ? (r(), p("span", {
1964
1967
  key: 0,
1965
1968
  innerHTML: t.text
1966
1969
  }, null, 8, Zo)) : (r(), p("span", Jo, O(t.text), 1)),
1967
1970
  h(n.$slots, "body")
1968
- ])) : x("", !0)
1971
+ ])) : q("", !0)
1969
1972
  ]),
1970
1973
  _: 3
1971
1974
  }, 8, ["modelValue", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
@@ -1987,8 +1990,8 @@ const co = ["role"], fo = /* @__PURE__ */ B({
1987
1990
  noToggle: { type: Boolean },
1988
1991
  panelPosition: { default: "bottom" },
1989
1992
  groups: { default: () => [] },
1990
- class: { default: void 0 },
1991
1993
  readonly: { type: Boolean },
1994
+ class: { default: void 0 },
1992
1995
  icons: { default: () => at },
1993
1996
  texts: { default: () => st }
1994
1997
  },
@@ -2009,7 +2012,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2009
2012
  function w(y) {
2010
2013
  return y ? e.fields.filter((E) => E.group === y) : e.fields;
2011
2014
  }
2012
- function I(y) {
2015
+ function L(y) {
2013
2016
  const E = l.value.indexOf(y);
2014
2017
  E === -1 ? l.value.push(y) : l.value.splice(E, 1);
2015
2018
  }
@@ -2036,13 +2039,13 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2036
2039
  ref: i,
2037
2040
  onFocusout: c
2038
2041
  }, [
2039
- L("table", on, [
2040
- E[0] || (E[0] = L("thead", { class: "q-property-list__header" }, [
2041
- L("tr", null, [
2042
- L("th", { colspan: "2" })
2042
+ I("table", on, [
2043
+ E[0] || (E[0] = I("thead", { class: "q-property-list__header" }, [
2044
+ I("tr", null, [
2045
+ I("th", { colspan: "2" })
2043
2046
  ])
2044
2047
  ], -1)),
2045
- L("tbody", null, [
2048
+ I("tbody", null, [
2046
2049
  (r(!0), p(K, null, he(a.value, (M) => (r(), p(K, {
2047
2050
  key: M.id
2048
2051
  }, [
@@ -2052,8 +2055,8 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2052
2055
  title: M.title,
2053
2056
  icons: e.icons,
2054
2057
  "no-toggle": e.noToggle,
2055
- onToggleGroup: I
2056
- }, null, 8, ["id", "title", "icons", "no-toggle"])) : x("", !0),
2058
+ onToggleGroup: L
2059
+ }, null, 8, ["id", "title", "icons", "no-toggle"])) : q("", !0),
2057
2060
  (r(!0), p(K, null, he(w(M.id), (Q) => (r(), S(m(it), {
2058
2061
  key: Q.id,
2059
2062
  class: V(P(Q)),
@@ -2070,7 +2073,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2070
2073
  ], 64))), 128))
2071
2074
  ])
2072
2075
  ]),
2073
- e.noPanel ? x("", !0) : (r(), S(m(dt), {
2076
+ e.noPanel ? q("", !0) : (r(), S(m(dt), {
2074
2077
  key: 0,
2075
2078
  field: s.value,
2076
2079
  texts: e.texts
@@ -2079,13 +2082,16 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2079
2082
  s.value ? h(y.$slots, "panel", {
2080
2083
  key: 0,
2081
2084
  field: s.value
2082
- }) : x("", !0)
2085
+ }) : q("", !0)
2083
2086
  ]),
2084
2087
  _: 3
2085
2088
  }, 8, ["field", "texts"]))
2086
2089
  ], 34));
2087
2090
  }
2088
- }), ln = { class: "q-property-list-field__container" }, sn = /* @__PURE__ */ B({
2091
+ }), ln = {
2092
+ key: 0,
2093
+ class: "q-property-list-field__container"
2094
+ }, sn = /* @__PURE__ */ B({
2089
2095
  __name: "QPropertyListRow",
2090
2096
  props: {
2091
2097
  field: {},
@@ -2095,9 +2101,9 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2095
2101
  emits: ["focus", "field-change"],
2096
2102
  setup(o, { emit: t }) {
2097
2103
  const e = o, n = t, l = g(() => ["q-property-list__row", e.class]), s = g(() => {
2098
- var I;
2104
+ var L;
2099
2105
  const w = ["q-property-list__cell", "q-property-list__cell--label"];
2100
- return (I = e.field.props) != null && I.required && w.push("q-property-list__cell--required"), w;
2106
+ return (L = e.field.props) != null && L.required && w.push("q-property-list__cell--required"), w;
2101
2107
  }), i = g(() => e.readonly || (e.field.props.readonly ?? !1));
2102
2108
  function a() {
2103
2109
  n("focus", e.field);
@@ -2109,25 +2115,25 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2109
2115
  ...e.field.props,
2110
2116
  readonly: i.value
2111
2117
  }));
2112
- return (w, I) => (r(), p("tr", {
2118
+ return (w, L) => (r(), p("tr", {
2113
2119
  class: V(l.value),
2114
2120
  onFocusin: a
2115
2121
  }, [
2116
- L("td", {
2122
+ I("td", {
2117
2123
  class: V(s.value),
2118
2124
  onClick: a
2119
2125
  }, O(e.field.label), 3),
2120
- L("td", {
2126
+ I("td", {
2121
2127
  class: "q-property-list__cell",
2122
2128
  onClick: a
2123
2129
  }, [
2124
2130
  h(w.$slots, "default", {}, () => [
2125
- L("div", ln, [
2131
+ e.field.component ? (r(), p("div", ln, [
2126
2132
  (r(), S(Be(e.field.component), J(c.value, {
2127
2133
  "model-value": e.field.props.modelValue,
2128
2134
  "onUpdate:modelValue": d
2129
2135
  }), null, 16, ["model-value"]))
2130
- ])
2136
+ ])) : q("", !0)
2131
2137
  ])
2132
2138
  ])
2133
2139
  ], 34));
@@ -2159,12 +2165,12 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2159
2165
  "aria-labelledby": m(s),
2160
2166
  onClick: d
2161
2167
  }, [
2162
- L("td", {
2168
+ I("td", {
2163
2169
  id: m(s),
2164
2170
  colspan: "2"
2165
2171
  }, [
2166
- L("div", dn, [
2167
- e.noToggle ? x("", !0) : (r(), S(m(re), {
2172
+ I("div", dn, [
2173
+ e.noToggle ? q("", !0) : (r(), S(m(re), {
2168
2174
  key: 0,
2169
2175
  "b-style": "tertiary",
2170
2176
  borderless: "",
@@ -2194,8 +2200,8 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2194
2200
  const t = o;
2195
2201
  return (e, n) => (r(), p("div", cn, [
2196
2202
  t.field ? h(e.$slots, "default", { key: 0 }, () => [
2197
- L("div", fn, O(t.field.label), 1),
2198
- L("div", pn, O(t.field.description), 1)
2203
+ I("div", fn, O(t.field.label), 1),
2204
+ I("div", pn, O(t.field.description), 1)
2199
2205
  ]) : (r(), p("div", mn, O(t.texts.emptyMessage), 1))
2200
2206
  ]));
2201
2207
  }
@@ -2247,13 +2253,13 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2247
2253
  }),
2248
2254
  emits: /* @__PURE__ */ Z(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
2249
2255
  setup(o, { emit: t }) {
2250
- const e = o, n = t, l = ne(o, "modelValue"), s = D(!1), i = D(""), a = D(null), d = D(null), c = D(null), w = g(() => I.value === void 0), I = g(
2256
+ const e = o, n = t, l = ne(o, "modelValue"), s = D(!1), i = D(""), a = D(null), d = D(null), c = D(null), w = g(() => L.value === void 0), L = g(
2251
2257
  () => {
2252
2258
  var f;
2253
2259
  return (f = e.items) == null ? void 0 : f.find((b) => b[e.itemValue] === l.value);
2254
2260
  }
2255
2261
  ), P = g(
2256
- () => I.value ? I.value[e.itemLabel] : ""
2262
+ () => L.value ? L.value[e.itemLabel] : ""
2257
2263
  ), A = g(
2258
2264
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
2259
2265
  );
@@ -2361,8 +2367,8 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2361
2367
  z(m(N), j(le(e.icons.clear)), null, 16)
2362
2368
  ]),
2363
2369
  _: 1
2364
- }, 8, ["aria-label"])) : x("", !0),
2365
- e.readonly ? x("", !0) : (r(), S(m(re), {
2370
+ }, 8, ["aria-label"])) : q("", !0),
2371
+ e.readonly ? q("", !0) : (r(), S(m(re), {
2366
2372
  key: 1,
2367
2373
  class: "q-select__chevron",
2368
2374
  "aria-label": e.texts.showOptions,
@@ -2382,18 +2388,18 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2382
2388
  w.value ? (r(), p("span", _n, [
2383
2389
  !e.readonly && !e.disabled ? (r(), p(K, { key: 0 }, [
2384
2390
  ce(O(e.texts.placeholder), 1)
2385
- ], 64)) : x("", !0)
2391
+ ], 64)) : q("", !0)
2386
2392
  ])) : (r(), p("span", gn, O(P.value), 1))
2387
2393
  ]),
2388
2394
  _: 2
2389
2395
  }, [
2390
- (G = I.value) != null && G.icon || f.$slots.prepend ? {
2396
+ (G = L.value) != null && G.icon || f.$slots.prepend ? {
2391
2397
  name: "prepend",
2392
2398
  fn: _(() => {
2393
2399
  var ee, de;
2394
2400
  return [
2395
2401
  h(f.$slots, "prepend"),
2396
- (ee = I.value) != null && ee.icon ? (r(), S(m(N), j(J({ key: 0 }, (de = I.value) == null ? void 0 : de.icon)), null, 16)) : x("", !0)
2402
+ (ee = L.value) != null && ee.icon ? (r(), S(m(N), j(J({ key: 0 }, (de = L.value) == null ? void 0 : de.icon)), null, 16)) : q("", !0)
2397
2403
  ];
2398
2404
  }),
2399
2405
  key: "0"
@@ -2420,7 +2426,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2420
2426
  onLeave: U
2421
2427
  }, {
2422
2428
  default: _(() => [
2423
- L("div", {
2429
+ I("div", {
2424
2430
  ref_key: "contentRef",
2425
2431
  ref: c,
2426
2432
  "data-testid": "combobox-dropdown",
@@ -2478,7 +2484,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2478
2484
  class: V(["q-skeleton-loader", e.value]),
2479
2485
  style: ue(n.value)
2480
2486
  }, s[0] || (s[0] = [
2481
- L("div", { class: "q-skeleton-loader__bone" }, null, -1)
2487
+ I("div", { class: "q-skeleton-loader__bone" }, null, -1)
2482
2488
  ]), 6));
2483
2489
  }
2484
2490
  }), Ln = C(xn), In = /* @__PURE__ */ B({
@@ -2498,7 +2504,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2498
2504
  __name: "QTooltip",
2499
2505
  props: /* @__PURE__ */ Z({
2500
2506
  id: { default: void 0 },
2501
- anchor: {},
2507
+ anchor: { default: void 0 },
2502
2508
  appearance: { default: "inverted" },
2503
2509
  arrow: { type: Boolean, default: !0 },
2504
2510
  attach: { default: "body" },
@@ -2540,7 +2546,7 @@ const co = ["role"], fo = /* @__PURE__ */ B({
2540
2546
  }, {
2541
2547
  default: _(() => [
2542
2548
  h(l.$slots, "default", {}, () => [
2543
- t.icon ? (r(), S(m(N), j(J({ key: 0 }, t.icon)), null, 16)) : x("", !0),
2549
+ t.icon ? (r(), S(m(N), j(J({ key: 0 }, t.icon)), null, 16)) : q("", !0),
2544
2550
  t.html ? (r(), p("span", {
2545
2551
  key: 1,
2546
2552
  innerHTML: t.text