@quidgest/ui 0.10.0 → 0.10.1

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 Ue, computed as k, ref as B, provide as Pe, inject as Ne, watch as W, defineComponent as L, openBlock as c, createElementBlock as m, normalizeClass as D, normalizeStyle as de, withModifiers as ue, createVNode as Q, unref as b, createCommentVNode as q, createElementVNode as se, Fragment as le, createTextVNode as me, toDisplayString as R, renderSlot as h, toRef as Ee, mergeModels as X, useModel as te, createBlock as E, withCtx as w, renderList as qe, resolveDynamicComponent as He, h as De, normalizeProps as ae, mergeProps as ce, reactive as Ae, nextTick as j, onMounted as Ke, onBeforeUnmount as Xe, Teleport as Ye, Transition as Ze, withKeys as Je, createSlots as ke, withDirectives as et, vModelDynamic as tt, guardReactiveProps as fe } from "vue";
1
+ import { getCurrentInstance as Ue, computed as w, ref as B, provide as Pe, inject as Ne, watch as W, defineComponent as L, openBlock as c, createElementBlock as m, normalizeClass as D, normalizeStyle as de, withModifiers as ue, createVNode as Q, unref as b, createCommentVNode as q, createElementVNode as se, Fragment as le, createTextVNode as me, toDisplayString as R, renderSlot as h, toRef as Ee, mergeModels as X, useModel as te, createBlock as E, withCtx as k, renderList as qe, resolveDynamicComponent as He, h as De, normalizeProps as ae, mergeProps as ce, reactive as Ae, nextTick as j, onMounted as Ke, onBeforeUnmount as Xe, Teleport as Ye, Transition as Ze, withKeys as Je, createSlots as we, withDirectives as et, vModelDynamic as tt, guardReactiveProps as fe } from "vue";
2
2
  function Ie(t) {
3
3
  return t == null ? !0 : typeof t == "string" || Array.isArray(t) ? t.length === 0 : typeof t == "object" ? Object.keys(t).length === 0 : !1;
4
4
  }
@@ -32,12 +32,12 @@ function ot() {
32
32
  if (!o)
33
33
  throw new Error("[Quidgest UI] Could not determine component name");
34
34
  const e = We(), n = (s = e.value) == null ? void 0 : s.Global, l = (i = e.value) == null ? void 0 : i[o];
35
- return k(() => xe(n, l));
35
+ return w(() => xe(n, l));
36
36
  }
37
37
  function Ge(t) {
38
38
  if (Ie(t))
39
39
  return;
40
- const o = We(), e = B(t), n = k(() => Ie(e.value) ? o.value : xe(o.value, e.value));
40
+ const o = We(), e = B(t), n = w(() => Ie(e.value) ? o.value : xe(o.value, e.value));
41
41
  Pe(Le, n);
42
42
  }
43
43
  function We() {
@@ -214,7 +214,7 @@ const ct = /* @__PURE__ */ L({
214
214
  class: { default: void 0 }
215
215
  },
216
216
  setup(t) {
217
- const o = t, e = k(() => ({
217
+ const o = t, e = w(() => ({
218
218
  "font-size": o.size !== 48 ? `${o.size}px` : void 0
219
219
  }));
220
220
  return (n, l) => (c(), m("div", {
@@ -267,11 +267,11 @@ const Se = V(ct), pt = ["disabled"], mt = {
267
267
  },
268
268
  emits: ["click"],
269
269
  setup(t, { emit: o }) {
270
- const e = t, n = o, l = k(() => e.disabled || e.loading);
270
+ const e = t, n = o, l = w(() => e.disabled || e.loading);
271
271
  function s(a) {
272
272
  l.value || n("click", a);
273
273
  }
274
- const i = k(() => {
274
+ const i = w(() => {
275
275
  const a = e.size !== "regular" ? `q-btn--${e.size}` : void 0;
276
276
  return [
277
277
  "q-btn",
@@ -362,7 +362,7 @@ const Se = V(ct), pt = ["disabled"], mt = {
362
362
  borderless: o.borderless,
363
363
  elevated: o.elevated
364
364
  }, {
365
- default: w(() => [
365
+ default: k(() => [
366
366
  (c(!0), m(le, null, qe(o.options, (i) => (c(), E(b(he), {
367
367
  key: i.key,
368
368
  title: i.title,
@@ -370,7 +370,7 @@ const Se = V(ct), pt = ["disabled"], mt = {
370
370
  active: e.value === i.key,
371
371
  onClick: () => n(i)
372
372
  }, {
373
- default: w(() => [
373
+ default: k(() => [
374
374
  h(l.$slots, i.key)
375
375
  ]),
376
376
  _: 2
@@ -388,7 +388,7 @@ const Se = V(ct), pt = ["disabled"], mt = {
388
388
  class: { default: void 0 }
389
389
  },
390
390
  setup(t) {
391
- const o = t, e = k(() => {
391
+ const o = t, e = w(() => {
392
392
  switch (o.type) {
393
393
  case "svg":
394
394
  return Vt;
@@ -406,7 +406,7 @@ const Se = V(ct), pt = ["disabled"], mt = {
406
406
  size: o.size
407
407
  }, null, 8, ["class", "icon", "size"]));
408
408
  }
409
- }), wt = /* @__PURE__ */ L({
409
+ }), kt = /* @__PURE__ */ L({
410
410
  __name: "QIconFont",
411
411
  props: {
412
412
  icon: {},
@@ -416,7 +416,7 @@ const Se = V(ct), pt = ["disabled"], mt = {
416
416
  class: { default: void 0 }
417
417
  },
418
418
  setup(t) {
419
- const o = t, e = k(() => o.variant ? `${o.library}-${o.variant}` : o.library), n = k(() => o.library && o.icon ? `${o.library}-${o.icon}` : o.icon), l = k(() => ({
419
+ const o = t, e = w(() => o.variant ? `${o.library}-${o.variant}` : o.library), n = w(() => o.library && o.icon ? `${o.library}-${o.icon}` : o.icon), l = w(() => ({
420
420
  "font-size": o.size !== void 0 ? `${o.size}px` : void 0
421
421
  }));
422
422
  return (s, i) => (c(), m("i", {
@@ -424,7 +424,7 @@ const Se = V(ct), pt = ["disabled"], mt = {
424
424
  style: de(l.value)
425
425
  }, null, 6));
426
426
  }
427
- }), kt = ["src"], $t = /* @__PURE__ */ L({
427
+ }), wt = ["src"], $t = /* @__PURE__ */ L({
428
428
  __name: "QIconImg",
429
429
  props: {
430
430
  icon: {},
@@ -432,14 +432,14 @@ const Se = V(ct), pt = ["disabled"], mt = {
432
432
  class: {}
433
433
  },
434
434
  setup(t) {
435
- const o = t, e = k(() => ({
435
+ const o = t, e = w(() => ({
436
436
  "font-size": o.size !== void 0 ? `${o.size}px` : void 0
437
437
  }));
438
438
  return (n, l) => (c(), m("img", {
439
439
  src: o.icon,
440
440
  class: D(["q-icon", "q-icon__img", o.class]),
441
441
  style: de(e.value)
442
- }, null, 14, kt));
442
+ }, null, 14, wt));
443
443
  }
444
444
  }), pe = {}, qt = L({
445
445
  name: "InlineSvg",
@@ -586,7 +586,7 @@ const Lt = /* @__PURE__ */ L({
586
586
  },
587
587
  emits: ["loaded", "unloaded"],
588
588
  setup(t, { emit: o }) {
589
- const e = t, n = o, l = k(() => ({
589
+ const e = t, n = o, l = w(() => ({
590
590
  "font-size": e.size !== void 0 ? `${e.size}px` : void 0
591
591
  }));
592
592
  function s(a) {
@@ -604,7 +604,7 @@ const Lt = /* @__PURE__ */ L({
604
604
  onUnloaded: i
605
605
  }, null, 8, ["class", "src", "symbol", "style"]));
606
606
  }
607
- }), ne = V(_t), St = V(wt), Bt = V($t), Vt = V(Lt), Ct = /* @__PURE__ */ L({
607
+ }), ne = V(_t), St = V(kt), Bt = V($t), Vt = V(Lt), Ct = /* @__PURE__ */ L({
608
608
  __name: "QList",
609
609
  props: /* @__PURE__ */ X({
610
610
  highlighted: { type: [String, Number, Boolean, Symbol], default: void 0 },
@@ -622,7 +622,7 @@ const Lt = /* @__PURE__ */ L({
622
622
  }),
623
623
  emits: ["update:modelValue"],
624
624
  setup(t, { expose: o }) {
625
- const e = t, n = te(t, "modelValue"), l = B(!1), s = k(() => i.value.length > 1 ? "div" : "ul"), i = k(() => e.groups.length ? e.groups.filter(
625
+ const e = t, n = te(t, "modelValue"), l = B(!1), s = w(() => i.value.length > 1 ? "div" : "ul"), i = w(() => e.groups.length ? e.groups.filter(
626
626
  (f) => e.items.some((g) => g.group === f.id)
627
627
  ) : [{ id: "", title: "" }]), a = B(null);
628
628
  function u(f) {
@@ -738,31 +738,31 @@ const Lt = /* @__PURE__ */ L({
738
738
  onMouseup: $,
739
739
  onKeydown: z
740
740
  }, {
741
- default: w(() => [
741
+ default: k(() => [
742
742
  (c(!0), m(le, null, qe(i.value, (d) => (c(), E(b(Ut), {
743
743
  key: d.id,
744
- title: i.value.length === 1 ? void 0 : d.title,
745
- disabled: d.disabled
744
+ id: d.id,
745
+ title: i.value.length === 1 ? void 0 : d.title
746
746
  }, {
747
- default: w(() => [
747
+ default: k(() => [
748
748
  (c(!0), m(le, null, qe(G(d.id), (p) => (c(), E(b(Ot), {
749
749
  key: p[e.itemValue],
750
750
  value: p[e.itemValue],
751
751
  label: p[e.itemLabel],
752
752
  icon: p.icon,
753
- disabled: e.disabled || p.disabled,
753
+ disabled: e.disabled || d.disabled || p.disabled,
754
754
  highlighted: e.highlighted === p[e.itemValue],
755
755
  selected: n.value === p[e.itemValue],
756
756
  onSelect: u
757
757
  }, {
758
- default: w(() => [
758
+ default: k(() => [
759
759
  h(f.$slots, "item", { item: p })
760
760
  ]),
761
761
  _: 2
762
762
  }, 1032, ["value", "label", "icon", "disabled", "highlighted", "selected"]))), 128))
763
763
  ]),
764
764
  _: 2
765
- }, 1032, ["title", "disabled"]))), 128))
765
+ }, 1032, ["id", "title"]))), 128))
766
766
  ]),
767
767
  _: 3
768
768
  }, 40, ["class", "tabindex"]));
@@ -823,17 +823,18 @@ const Et = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Dt = {
823
823
  ])
824
824
  ], 42, Et));
825
825
  }
826
- }), Qt = ["aria-labelledby"], Mt = ["id"], Ft = /* @__PURE__ */ L({
826
+ }), Qt = ["data-key", "aria-labelledby"], Mt = ["id"], Ft = /* @__PURE__ */ L({
827
827
  __name: "QListItemGroup",
828
828
  props: {
829
- title: { default: "" },
830
- disabled: { type: Boolean }
829
+ id: {},
830
+ title: { default: "" }
831
831
  },
832
832
  setup(t) {
833
833
  const o = t, e = ye();
834
834
  return (n, l) => (c(), m("ul", {
835
835
  class: "q-list-item-group",
836
836
  role: "group",
837
+ "data-key": o.id,
837
838
  "aria-labelledby": o.title ? b(e) : void 0
838
839
  }, [
839
840
  o.title ? (c(), m("li", {
@@ -878,7 +879,7 @@ function Nt(t, o, e, n) {
878
879
  return e;
879
880
  }
880
881
  function Ht(t, o, e) {
881
- const n = we(e), l = (i, a, u) => Math.min(Math.max(i, a), u), s = { ...t };
882
+ const n = ke(e), l = (i, a, u) => Math.min(Math.max(i, a), u), s = { ...t };
882
883
  return n === "x" ? s.x = l(t.x, _e, window.innerWidth - o.width - _e) : s.y = l(t.y, _e, window.innerHeight - o.height - _e), s;
883
884
  }
884
885
  function Kt(t, o, e) {
@@ -889,7 +890,7 @@ function Kt(t, o, e) {
889
890
  };
890
891
  }
891
892
  function Gt(t, o, e, n, l) {
892
- if (we(l) === "y") {
893
+ if (ke(l) === "y") {
893
894
  const i = o.top + o.height / 2, a = t.y + e.height / 2, u = a - i, v = e.height / 2 - u - n.height / 2 + 2;
894
895
  if (v > 0 && v < e.height - n.height)
895
896
  return {
@@ -924,7 +925,7 @@ function Wt(t, o, e) {
924
925
  }
925
926
  if (!l)
926
927
  return a;
927
- const v = we(e) === "y" ? "height" : "width", $ = we(e), x = t[v] / 2 - o[v] / 2;
928
+ const v = ke(e) === "y" ? "height" : "width", $ = ke(e), x = t[v] / 2 - o[v] / 2;
928
929
  switch (l) {
929
930
  case "start":
930
931
  a[$] -= x;
@@ -965,7 +966,7 @@ function Rt(t) {
965
966
  const o = be(t);
966
967
  return ["left", "right"].includes(o) ? "x" : "y";
967
968
  }
968
- function we(t) {
969
+ function ke(t) {
969
970
  return jt(Rt(t));
970
971
  }
971
972
  function be(t) {
@@ -1008,7 +1009,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1008
1009
  }),
1009
1010
  emits: /* @__PURE__ */ X(["enter", "leave"], ["update:modelValue"]),
1010
1011
  setup(t, { emit: o }) {
1011
- const e = t, n = o, l = te(t, "modelValue"), s = k(() => [
1012
+ const e = t, n = o, l = te(t, "modelValue"), s = w(() => [
1012
1013
  "q-overlay",
1013
1014
  `q-overlay--${be(a.placement)}`,
1014
1015
  {
@@ -1016,7 +1017,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1016
1017
  "q-overlay--inverted": e.appearance === "inverted"
1017
1018
  },
1018
1019
  e.class
1019
- ]), i = k(() => (l.value || a.animating) && !e.nonModal), a = Ae({
1020
+ ]), i = w(() => (l.value || a.animating) && !e.nonModal), a = Ae({
1020
1021
  animating: !1,
1021
1022
  top: 0,
1022
1023
  left: 0,
@@ -1026,9 +1027,9 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1026
1027
  top: void 0,
1027
1028
  left: void 0,
1028
1029
  hidden: !0
1029
- }), v = k(() => a.top !== 0 && a.left !== 0);
1030
+ }), v = w(() => a.top !== 0 && a.left !== 0);
1030
1031
  W(l, () => a.animating = !0);
1031
- const $ = k(() => {
1032
+ const $ = w(() => {
1032
1033
  if (e.anchor === void 0)
1033
1034
  return;
1034
1035
  const y = A(), ie = e.width === "anchor", N = ie ? y == null ? void 0 : y.getBoundingClientRect().width : void 0;
@@ -1037,7 +1038,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1037
1038
  left: `${a.left}px`,
1038
1039
  width: N !== void 0 ? `${N}px` : void 0
1039
1040
  };
1040
- }), x = k(() => {
1041
+ }), x = w(() => {
1041
1042
  if (e.arrow)
1042
1043
  return {
1043
1044
  top: u.top !== void 0 ? `${u.top}px` : void 0,
@@ -1173,7 +1174,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1173
1174
  appear: "",
1174
1175
  onLeave: J
1175
1176
  }, {
1176
- default: w(() => [
1177
+ default: k(() => [
1177
1178
  l.value ? (c(), m("div", {
1178
1179
  key: 0,
1179
1180
  class: D(s.value),
@@ -1231,7 +1232,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1231
1232
  class: { default: void 0 }
1232
1233
  },
1233
1234
  setup(t, { expose: o }) {
1234
- const e = t, n = ye(e.id), l = B(null), s = k(() => e.required && !e.readonly && !e.disabled);
1235
+ const e = t, n = ye(e.id), l = B(null), s = w(() => e.required && !e.readonly && !e.disabled);
1235
1236
  return o({
1236
1237
  fieldRef: l
1237
1238
  }), (i, a) => (c(), m("div", {
@@ -1295,11 +1296,11 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1295
1296
  }),
1296
1297
  emits: ["update:modelValue"],
1297
1298
  setup(t, { expose: o }) {
1298
- const e = t, n = te(t, "modelValue"), l = ye(e.id), s = B(null), i = B(null), a = k(
1299
+ const e = t, n = te(t, "modelValue"), l = ye(e.id), s = B(null), i = B(null), a = w(
1299
1300
  () => e.readonly || e.disabled ? "" : e.placeholder
1300
1301
  );
1301
1302
  return o({
1302
- fieldRef: k(() => {
1303
+ fieldRef: w(() => {
1303
1304
  var u;
1304
1305
  return (u = s.value) == null ? void 0 : u.fieldRef;
1305
1306
  }),
@@ -1314,14 +1315,14 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1314
1315
  readonly: e.readonly,
1315
1316
  disabled: e.disabled,
1316
1317
  required: e.required
1317
- }, ke({
1318
- "label.prepend": w(() => [
1318
+ }, we({
1319
+ "label.prepend": k(() => [
1319
1320
  h(u.$slots, "label.prepend")
1320
1321
  ]),
1321
- "label.append": w(() => [
1322
+ "label.append": k(() => [
1322
1323
  h(u.$slots, "label.append")
1323
1324
  ]),
1324
- default: w(() => [
1325
+ default: k(() => [
1325
1326
  et(se("input", ce({
1326
1327
  "onUpdate:modelValue": v[0] || (v[0] = ($) => n.value = $),
1327
1328
  ref_key: "inputRef",
@@ -1343,21 +1344,21 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1343
1344
  }, [
1344
1345
  u.$slots.prepend ? {
1345
1346
  name: "prepend",
1346
- fn: w(() => [
1347
+ fn: k(() => [
1347
1348
  h(u.$slots, "prepend")
1348
1349
  ]),
1349
1350
  key: "0"
1350
1351
  } : void 0,
1351
1352
  u.$slots.append ? {
1352
1353
  name: "append",
1353
- fn: w(() => [
1354
+ fn: k(() => [
1354
1355
  h(u.$slots, "append")
1355
1356
  ]),
1356
1357
  key: "1"
1357
1358
  } : void 0,
1358
1359
  u.$slots.extras ? {
1359
1360
  name: "extras",
1360
- fn: w(() => [
1361
+ fn: k(() => [
1361
1362
  h(u.$slots, "extras")
1362
1363
  ]),
1363
1364
  key: "2"
@@ -1415,25 +1416,25 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1415
1416
  setup(t, { expose: o, emit: e }) {
1416
1417
  const n = t, l = e, s = te(t, "modelValue"), i = te(t, "open"), a = te(t, "search"), u = B(void 0), v = B(null), $ = B(null), x = B(null), z = B(null);
1417
1418
  Ke(U);
1418
- const C = k(() => n.clearable && !n.readonly && !n.disabled), I = k(() => {
1419
+ const C = w(() => n.clearable && !n.readonly && !n.disabled), I = w(() => {
1419
1420
  var r;
1420
1421
  return n.filterMode === "manual" || !M.value ? n.items : (r = n.items) == null ? void 0 : r.filter(
1421
1422
  (_) => _[n.itemLabel].toLowerCase().startsWith(a.value.toLowerCase())
1422
1423
  );
1423
- }), S = k(() => {
1424
+ }), S = w(() => {
1424
1425
  var r;
1425
1426
  return (r = n.items) == null ? void 0 : r.find((_) => _[n.itemValue] === s.value);
1426
- }), K = k(() => S.value === void 0), Y = k(() => {
1427
+ }), K = w(() => S.value === void 0), Y = w(() => {
1427
1428
  const r = u.value;
1428
1429
  if (r !== void 0 && I.value[r])
1429
1430
  return I.value[r];
1430
- }), H = k(() => {
1431
+ }), H = w(() => {
1431
1432
  var _;
1432
1433
  if (u.value === void 0)
1433
1434
  return;
1434
1435
  const r = (_ = $.value) == null ? void 0 : _.getItem(u.value);
1435
1436
  return r == null ? void 0 : r.id;
1436
- }), M = k(() => {
1437
+ }), M = w(() => {
1437
1438
  var r;
1438
1439
  return a.value.length > 0 && a.value !== ((r = S.value) == null ? void 0 : r[n.itemLabel]);
1439
1440
  });
@@ -1586,14 +1587,14 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1586
1587
  onClick: g,
1587
1588
  onFocusout: P,
1588
1589
  onKeydown: ue(d, ["stop"])
1589
- }, ke({
1590
- "label.prepend": w(() => [
1590
+ }, we({
1591
+ "label.prepend": k(() => [
1591
1592
  h(r.$slots, "label.prepend")
1592
1593
  ]),
1593
- "label.append": w(() => [
1594
+ "label.append": k(() => [
1594
1595
  h(r.$slots, "label.append")
1595
1596
  ]),
1596
- append: w(() => [
1597
+ append: k(() => [
1597
1598
  h(r.$slots, "append"),
1598
1599
  C.value && a.value ? (c(), E(b(he), {
1599
1600
  key: 0,
@@ -1603,7 +1604,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1603
1604
  tabindex: "-1",
1604
1605
  onClick: f
1605
1606
  }, {
1606
- default: w(() => [
1607
+ default: k(() => [
1607
1608
  Q(b(ne), ae(fe(n.icons.clear)), null, 16)
1608
1609
  ]),
1609
1610
  _: 1
@@ -1619,7 +1620,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1619
1620
  disabled: n.disabled,
1620
1621
  onMousedown: ue(G, ["stop", "prevent"])
1621
1622
  }, {
1622
- default: w(() => [
1623
+ default: k(() => [
1623
1624
  Q(b(ne), ae(fe(n.icons.chevron)), null, 16)
1624
1625
  ]),
1625
1626
  _: 1
@@ -1629,14 +1630,14 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1629
1630
  }, [
1630
1631
  r.$slots.prepend ? {
1631
1632
  name: "prepend",
1632
- fn: w(() => [
1633
+ fn: k(() => [
1633
1634
  h(r.$slots, "prepend")
1634
1635
  ]),
1635
1636
  key: "0"
1636
1637
  } : void 0,
1637
1638
  r.$slots.extras ? {
1638
1639
  name: "extras",
1639
- fn: w(() => [
1640
+ fn: k(() => [
1640
1641
  h(r.$slots, "extras")
1641
1642
  ]),
1642
1643
  key: "1"
@@ -1655,7 +1656,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1655
1656
  onEnter: y,
1656
1657
  onLeave: ie
1657
1658
  }, {
1658
- default: w(() => {
1659
+ default: k(() => {
1659
1660
  var O;
1660
1661
  return [
1661
1662
  se("div", {
@@ -1686,7 +1687,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1686
1687
  "item-value": n.itemValue,
1687
1688
  onMouseup: ge
1688
1689
  }, {
1689
- item: w(({ item: re }) => [
1690
+ item: k(({ item: re }) => [
1690
1691
  h(r.$slots, "item", { item: re })
1691
1692
  ]),
1692
1693
  _: 3
@@ -1706,7 +1707,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1706
1707
  }, bo = { key: 0 }, go = {
1707
1708
  key: 1,
1708
1709
  class: "q-input-group__append"
1709
- }, _o = { key: 0 }, wo = /* @__PURE__ */ L({
1710
+ }, _o = { key: 0 }, ko = /* @__PURE__ */ L({
1710
1711
  __name: "QInputGroup",
1711
1712
  props: {
1712
1713
  id: { default: void 0 },
@@ -1729,8 +1730,8 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1729
1730
  label: o.label,
1730
1731
  required: o.required,
1731
1732
  size: o.size
1732
- }, ke({
1733
- default: w(() => [
1733
+ }, we({
1734
+ default: k(() => [
1734
1735
  e.$slots.prepend || o.prependIcon ? (c(), m("div", yo, [
1735
1736
  o.prependIcon ? (c(), m("span", bo, [
1736
1737
  Q(b(ne), ae(fe(o.prependIcon)), null, 16)
@@ -1749,14 +1750,14 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1749
1750
  }, [
1750
1751
  e.$slots.extras ? {
1751
1752
  name: "extras",
1752
- fn: w(() => [
1753
+ fn: k(() => [
1753
1754
  h(e.$slots, "extras")
1754
1755
  ]),
1755
1756
  key: "0"
1756
1757
  } : void 0
1757
1758
  ]), 1032, ["id", "class", "label", "required", "size"]));
1758
1759
  }
1759
- }), Ho = V(wo), ko = /* @__PURE__ */ L({
1760
+ }), Ho = V(ko), wo = /* @__PURE__ */ L({
1760
1761
  __name: "QLineLoader",
1761
1762
  props: {
1762
1763
  class: { default: void 0 }
@@ -1767,7 +1768,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1767
1768
  class: D(["q-line-loader", o.class])
1768
1769
  }, null, 2));
1769
1770
  }
1770
- }), Ko = V(ko), $o = {
1771
+ }), Ko = V(wo), $o = {
1771
1772
  key: 0,
1772
1773
  class: "q-popover__header"
1773
1774
  }, qo = {
@@ -1802,7 +1803,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1802
1803
  disabled: o.disabled,
1803
1804
  placement: o.placement
1804
1805
  }, {
1805
- default: w(() => [
1806
+ default: k(() => [
1806
1807
  o.title || n.$slots.header ? (c(), m("h3", $o, [
1807
1808
  me(R(o.title) + " ", 1),
1808
1809
  h(n.$slots, "header")
@@ -1863,14 +1864,14 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1863
1864
  }),
1864
1865
  emits: /* @__PURE__ */ X(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
1865
1866
  setup(t, { emit: o }) {
1866
- const e = t, n = o, l = te(t, "modelValue"), s = B(!1), i = B(""), a = B(null), u = B(null), v = B(null), $ = k(() => x.value === void 0), x = k(
1867
+ const e = t, n = o, l = te(t, "modelValue"), s = B(!1), i = B(""), a = B(null), u = B(null), v = B(null), $ = w(() => x.value === void 0), x = w(
1867
1868
  () => {
1868
1869
  var d;
1869
1870
  return (d = e.items) == null ? void 0 : d.find((p) => p[e.itemValue] === l.value);
1870
1871
  }
1871
- ), z = k(
1872
+ ), z = w(
1872
1873
  () => x.value ? x.value[e.itemLabel] : ""
1873
- ), C = k(
1874
+ ), C = w(
1874
1875
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
1875
1876
  );
1876
1877
  function I(d) {
@@ -1960,8 +1961,8 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1960
1961
  size: e.size,
1961
1962
  onClick: M,
1962
1963
  onKeydown: ue(U, ["stop"])
1963
- }, ke({
1964
- append: w(() => [
1964
+ }, we({
1965
+ append: k(() => [
1965
1966
  h(d.$slots, "append"),
1966
1967
  C.value && l.value ? (c(), E(b(he), {
1967
1968
  key: 0,
@@ -1971,7 +1972,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1971
1972
  tabindex: "-1",
1972
1973
  onClick: S
1973
1974
  }, {
1974
- default: w(() => [
1975
+ default: k(() => [
1975
1976
  Q(b(ne), ae(fe(e.icons.clear)), null, 16)
1976
1977
  ]),
1977
1978
  _: 1
@@ -1985,13 +1986,13 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
1985
1986
  disabled: e.disabled,
1986
1987
  onClick: M
1987
1988
  }, {
1988
- default: w(() => [
1989
+ default: k(() => [
1989
1990
  Q(b(ne), ae(fe(e.icons.chevron)), null, 16)
1990
1991
  ]),
1991
1992
  _: 1
1992
1993
  }, 8, ["disabled"]))
1993
1994
  ]),
1994
- default: w(() => [
1995
+ default: k(() => [
1995
1996
  $.value ? (c(), m("span", Bo, [
1996
1997
  !e.readonly && !e.disabled ? (c(), m(le, { key: 0 }, [
1997
1998
  me(R(d.texts.placeholder), 1)
@@ -2002,7 +2003,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
2002
2003
  }, [
2003
2004
  (F = x.value) != null && F.icon || d.$slots.prepend ? {
2004
2005
  name: "prepend",
2005
- fn: w(() => {
2006
+ fn: k(() => {
2006
2007
  var P, oe;
2007
2008
  return [
2008
2009
  h(d.$slots, "prepend"),
@@ -2013,7 +2014,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
2013
2014
  } : void 0,
2014
2015
  d.$slots.extras ? {
2015
2016
  name: "extras",
2016
- fn: w(() => [
2017
+ fn: k(() => [
2017
2018
  h(d.$slots, "extras")
2018
2019
  ]),
2019
2020
  key: "1"
@@ -2032,7 +2033,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
2032
2033
  onEnter: J,
2033
2034
  onLeave: A
2034
2035
  }, {
2035
- default: w(() => [
2036
+ default: k(() => [
2036
2037
  se("div", {
2037
2038
  ref_key: "contentRef",
2038
2039
  ref: v,
@@ -2061,7 +2062,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
2061
2062
  "item-label": e.itemLabel,
2062
2063
  "item-value": e.itemValue
2063
2064
  }, {
2064
- item: w(({ item: P }) => [
2065
+ item: k(({ item: P }) => [
2065
2066
  h(d.$slots, "item", { item: P })
2066
2067
  ]),
2067
2068
  _: 3
@@ -2128,7 +2129,7 @@ const Zt = ["role"], Jt = /* @__PURE__ */ L({
2128
2129
  placement: o.placement,
2129
2130
  trigger: o.trigger
2130
2131
  }, {
2131
- default: w(() => [
2132
+ default: k(() => [
2132
2133
  o.html ? (c(), m("span", {
2133
2134
  key: 0,
2134
2135
  innerHTML: o.text