@quidgest/ui 0.14.9 → 0.14.11

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.
Files changed (47) hide show
  1. package/dist/manifest/components.json +1 -0
  2. package/dist/ui.css +30 -4
  3. package/dist/ui.esm.js +1228 -1028
  4. package/dist/ui.js +22 -22
  5. package/dist/ui.min.css +1 -1
  6. package/dist/ui.min.js +90 -74
  7. package/dist/ui.scss +30 -5
  8. package/esm/components/QCombobox/QCombobox.d.ts +5 -0
  9. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  10. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +16 -0
  11. package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -0
  12. package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +38 -0
  13. package/esm/components/QDropdownMenu/QDropdownMenu.vue2.js +4 -0
  14. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +148 -0
  15. package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -0
  16. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +153 -0
  17. package/esm/components/QDropdownMenu/QDropdownMenuContent.vue2.js +4 -0
  18. package/esm/components/QDropdownMenu/index.d.ts +4 -0
  19. package/esm/components/QDropdownMenu/index.d.ts.map +1 -0
  20. package/esm/components/QDropdownMenu/index.js +6 -0
  21. package/esm/components/QDropdownMenu/types.d.ts +95 -0
  22. package/esm/components/QDropdownMenu/types.d.ts.map +1 -0
  23. package/esm/components/QDropdownMenu/types.js +8 -0
  24. package/esm/components/QList/QList.d.ts +74 -0
  25. package/esm/components/QList/QList.d.ts.map +1 -1
  26. package/esm/components/QList/QList.vue.js +118 -100
  27. package/esm/components/QList/QListItem.d.ts +2 -0
  28. package/esm/components/QList/QListItem.d.ts.map +1 -1
  29. package/esm/components/QList/QListItem.vue.js +32 -30
  30. package/esm/components/QList/types.d.ts +0 -7
  31. package/esm/components/QList/types.d.ts.map +1 -1
  32. package/esm/components/QOverlay/QOverlay.d.ts +1 -0
  33. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  34. package/esm/components/QOverlay/QOverlay.vue.js +87 -82
  35. package/esm/components/QOverlay/types.d.ts +4 -0
  36. package/esm/components/QOverlay/types.d.ts.map +1 -1
  37. package/esm/components/QSelect/QSelect.d.ts +5 -0
  38. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  39. package/esm/components/index.d.ts +1 -0
  40. package/esm/components/index.d.ts.map +1 -1
  41. package/esm/components/index.js +44 -42
  42. package/esm/composables/overlay.d.ts +4 -0
  43. package/esm/composables/overlay.d.ts.map +1 -1
  44. package/esm/composables/overlay.js +69 -62
  45. package/esm/index.d.ts +1 -0
  46. package/package.json +2 -33
  47. /package/{LICENSE.md → LICENSE} +0 -0
package/dist/ui.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { getCurrentInstance as Je, computed as y, ref as A, provide as De, inject as ze, watch as Z, defineComponent as C, mergeModels as G, toRef as Ve, useModel as K, openBlock as i, createElementBlock as f, renderSlot as p, normalizeClass as T, normalizeStyle as fe, withModifiers as ue, createVNode as D, unref as m, createCommentVNode as g, createElementVNode as q, Fragment as U, createTextVNode as ae, toDisplayString as E, createBlock as B, resolveDynamicComponent as Se, h as He, withCtx as w, normalizeProps as W, guardReactiveProps as ne, renderList as he, useAttrs as bt, createSlots as ye, withKeys as Ae, mergeProps as H, onMounted as Me, onUnmounted as gt, reactive as je, nextTick as te, onBeforeUnmount as _t, Teleport as $t, Transition as kt, withDirectives as wt, vModelDynamic as qt } from "vue";
1
+ import { getCurrentInstance as Je, computed as y, ref as V, provide as Me, inject as ze, watch as ne, defineComponent as S, mergeModels as G, toRef as Ae, useModel as j, openBlock as u, createElementBlock as m, renderSlot as p, normalizeClass as A, normalizeStyle as fe, withModifiers as re, createVNode as O, unref as h, createCommentVNode as $, createElementVNode as w, Fragment as R, createTextVNode as de, toDisplayString as Q, createBlock as I, resolveDynamicComponent as Le, h as He, withCtx as _, normalizeProps as J, guardReactiveProps as se, renderList as ve, useAttrs as bt, createSlots as ye, withKeys as Ee, mergeProps as X, onMounted as Oe, onUnmounted as gt, reactive as Ke, nextTick as oe, onBeforeUnmount as _t, Teleport as $t, Transition as kt, withDirectives as wt, vModelDynamic as qt } from "vue";
2
2
  /*!
3
- * Quidgest UI v0.14.9
3
+ * Quidgest UI v0.14.11
4
4
  * (c) 2025 Quidgest - Consultores de Gestão, S.A.
5
5
  * Released under the MIT License.
6
6
  */
7
- const Ee = {
7
+ const De = {
8
8
  primary: "#008ad2",
9
9
  primaryLight: "#cde5ff",
10
10
  primaryDark: "#006398",
@@ -66,15 +66,15 @@ const Ee = {
66
66
  onWarning: "#fff",
67
67
  onDanger: "#fff",
68
68
  onInfo: "#fff"
69
- }, zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69
+ }, No = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70
70
  __proto__: null,
71
71
  defaultDarkColorScheme: et,
72
- defaultLightColorScheme: Ee
72
+ defaultLightColorScheme: De
73
73
  }, Symbol.toStringTag, { value: "Module" }));
74
74
  function Qe(n) {
75
75
  return n == null ? !0 : typeof n == "string" || Array.isArray(n) ? n.length === 0 : typeof n == "object" ? Object.keys(n).length === 0 : !1;
76
76
  }
77
- function Ke(n) {
77
+ function We(n) {
78
78
  return n !== null && typeof n == "object" && !Array.isArray(n);
79
79
  }
80
80
  function Fe(n = {}, t = {}) {
@@ -83,7 +83,7 @@ function Fe(n = {}, t = {}) {
83
83
  e[l] = n[l];
84
84
  for (const l in t) {
85
85
  const o = n[l], s = t[l];
86
- if (Ke(o) && Ke(s)) {
86
+ if (We(o) && We(s)) {
87
87
  e[l] = Fe(
88
88
  o,
89
89
  s
@@ -94,7 +94,7 @@ function Fe(n = {}, t = {}) {
94
94
  }
95
95
  return e;
96
96
  }
97
- const Oe = "q-defaults";
97
+ const Pe = "q-defaults";
98
98
  function xt() {
99
99
  var s, a;
100
100
  const n = Je();
@@ -105,34 +105,34 @@ function xt() {
105
105
  const e = tt(), l = (s = e.value) == null ? void 0 : s.Global, o = (a = e.value) == null ? void 0 : a[t];
106
106
  return y(() => Fe(l, o));
107
107
  }
108
- function Pe(n) {
108
+ function Ue(n) {
109
109
  if (Qe(n)) return;
110
- const t = tt(), e = A(n), l = y(() => Qe(e.value) ? t.value : Fe(t.value, e.value));
111
- De(Oe, l);
110
+ const t = tt(), e = V(n), l = y(() => Qe(e.value) ? t.value : Fe(t.value, e.value));
111
+ Me(Pe, l);
112
112
  }
113
113
  function tt() {
114
- const n = ze(Oe, void 0);
114
+ const n = ze(Pe, void 0);
115
115
  if (!n) throw new Error("[Quidgest UI] Could not find defaults instance");
116
116
  return n;
117
117
  }
118
118
  const nt = "q-group";
119
- function St(n) {
119
+ function Lt(n) {
120
120
  var e, l;
121
121
  const t = {
122
- active: A(((e = n.active) == null ? void 0 : e.value) ?? ((l = n.multiple) == null ? void 0 : l.value) ? [] : null),
122
+ active: V(((e = n.active) == null ? void 0 : e.value) ?? ((l = n.multiple) == null ? void 0 : l.value) ? [] : null),
123
123
  multiple: y(() => {
124
124
  var o;
125
125
  return ((o = n.multiple) == null ? void 0 : o.value) || !1;
126
126
  })
127
127
  };
128
- return Z(
128
+ return ne(
129
129
  () => t.multiple.value,
130
130
  (o) => {
131
131
  o && t.active.value ? t.active.value = [t.active.value] : o ? t.active.value = [] : Array.isArray(t.active.value) && t.active.value.length === 1 ? t.active.value = t.active.value[0] : t.active.value = null;
132
132
  }
133
- ), De(nt, t), t;
133
+ ), Me(nt, t), t;
134
134
  }
135
- function Lt(n) {
135
+ function It(n) {
136
136
  const t = ze(nt, void 0);
137
137
  if (!t) return;
138
138
  const e = y(() => {
@@ -144,7 +144,7 @@ function Lt(n) {
144
144
  Array.isArray(t.active.value) ? e.value ? t.active.value = (o = t.active.value) == null ? void 0 : o.filter((s) => s !== n) : t.active.value.push(n) : t.active.value = n;
145
145
  } };
146
146
  }
147
- const Bt = { class: "q-accordion" }, Ct = /* @__PURE__ */ C({
147
+ const St = { class: "q-accordion" }, Bt = /* @__PURE__ */ S({
148
148
  __name: "QAccordion",
149
149
  props: /* @__PURE__ */ G({
150
150
  variant: {}
@@ -154,13 +154,13 @@ const Bt = { class: "q-accordion" }, Ct = /* @__PURE__ */ C({
154
154
  }),
155
155
  emits: ["update:modelValue"],
156
156
  setup(n) {
157
- Pe({
157
+ Ue({
158
158
  QCollapsible: {
159
- variant: Ve(n, "variant")
159
+ variant: Ae(n, "variant")
160
160
  }
161
161
  });
162
- const e = K(n, "modelValue");
163
- return St({ active: e }), (l, o) => (i(), f("div", Bt, [
162
+ const e = j(n, "modelValue");
163
+ return Lt({ active: e }), (l, o) => (u(), m("div", St, [
164
164
  p(l.$slots, "default")
165
165
  ]));
166
166
  }
@@ -168,12 +168,12 @@ const Bt = { class: "q-accordion" }, Ct = /* @__PURE__ */ C({
168
168
  function lt(n) {
169
169
  return n.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/([0-9])([A-Za-z])/g, "$1-$2").replace(/([A-Za-z])([0-9])/g, "$1-$2").toLowerCase();
170
170
  }
171
- function It(n, t) {
171
+ function Ct(n, t) {
172
172
  var l;
173
173
  const e = lt(t);
174
174
  return e ? typeof ((l = n.props) == null ? void 0 : l[e]) < "u" : !1;
175
175
  }
176
- function I(n) {
176
+ function C(n) {
177
177
  const t = n.setup;
178
178
  return t && (n.setup = (e, l) => {
179
179
  const o = xt();
@@ -181,16 +181,16 @@ function I(n) {
181
181
  const s = Je();
182
182
  if (s === null) return t(e, l);
183
183
  const a = new Proxy(e, {
184
- get(d, r) {
185
- var x;
186
- const u = Reflect.get(d, r), b = (x = o.value) == null ? void 0 : x[r];
187
- return typeof r == "string" && !It(s.vnode, r) ? b ?? u : u;
184
+ get(d, i) {
185
+ var k;
186
+ const c = Reflect.get(d, i), v = (k = o.value) == null ? void 0 : k[i];
187
+ return typeof i == "string" && !Ct(s.vnode, i) ? v ?? c : c;
188
188
  }
189
189
  });
190
190
  return t(a, l);
191
191
  }), n;
192
192
  }
193
- const Tt = I(Ct), Vt = /* @__PURE__ */ C({
193
+ const Vt = C(Bt), Tt = /* @__PURE__ */ S({
194
194
  __name: "QSpinnerLoader",
195
195
  props: {
196
196
  size: { default: 48 },
@@ -200,15 +200,15 @@ const Tt = I(Ct), Vt = /* @__PURE__ */ C({
200
200
  const t = n, e = y(() => ({
201
201
  "font-size": t.size !== 48 ? `${t.size}px` : void 0
202
202
  }));
203
- return (l, o) => (i(), f("div", {
204
- class: T(["q-spinner-loader", t.class]),
203
+ return (l, o) => (u(), m("div", {
204
+ class: A(["q-spinner-loader", t.class]),
205
205
  style: fe(e.value)
206
206
  }, null, 6));
207
207
  }
208
- }), _e = I(Vt), At = ["disabled"], Et = {
208
+ }), ke = C(Tt), At = ["disabled"], Et = {
209
209
  key: 0,
210
210
  class: "q-btn__spinner"
211
- }, Qt = { class: "q-btn__content" }, Dt = /* @__PURE__ */ C({
211
+ }, Dt = { class: "q-btn__content" }, Qt = /* @__PURE__ */ S({
212
212
  __name: "QButton",
213
213
  props: {
214
214
  active: { type: Boolean },
@@ -245,27 +245,27 @@ const Tt = I(Ct), Vt = /* @__PURE__ */ C({
245
245
  e.class
246
246
  ];
247
247
  });
248
- return (d, r) => (i(), f("button", {
248
+ return (d, i) => (u(), m("button", {
249
249
  type: "button",
250
- class: T(a.value),
250
+ class: A(a.value),
251
251
  disabled: o.value,
252
- onClick: ue(s, ["stop", "prevent"])
252
+ onClick: re(s, ["stop", "prevent"])
253
253
  }, [
254
- d.loading ? (i(), f("div", Et, [
255
- D(m(_e), { size: 20 })
256
- ])) : g("", !0),
257
- q("span", Qt, [
258
- d.iconOnRight ? (i(), f(U, { key: 0 }, [
259
- ae(E(e.label), 1)
260
- ], 64)) : g("", !0),
254
+ d.loading ? (u(), m("div", Et, [
255
+ O(h(ke), { size: 20 })
256
+ ])) : $("", !0),
257
+ w("span", Dt, [
258
+ d.iconOnRight ? (u(), m(R, { key: 0 }, [
259
+ de(Q(e.label), 1)
260
+ ], 64)) : $("", !0),
261
261
  p(d.$slots, "default"),
262
- d.iconOnRight ? g("", !0) : (i(), f(U, { key: 1 }, [
263
- ae(E(e.label), 1)
262
+ d.iconOnRight ? $("", !0) : (u(), m(R, { key: 1 }, [
263
+ de(Q(e.label), 1)
264
264
  ], 64))
265
265
  ])
266
266
  ], 10, At));
267
267
  }
268
- }), le = I(Dt), zt = /* @__PURE__ */ C({
268
+ }), ae = C(Qt), Mt = /* @__PURE__ */ S({
269
269
  __name: "QIcon",
270
270
  props: {
271
271
  icon: {},
@@ -286,13 +286,13 @@ const Tt = I(Ct), Vt = /* @__PURE__ */ C({
286
286
  return;
287
287
  }
288
288
  });
289
- return (l, o) => (i(), B(Se(e.value), {
290
- class: T(t.class),
289
+ return (l, o) => (u(), I(Le(e.value), {
290
+ class: A(t.class),
291
291
  icon: t.icon,
292
292
  size: t.size
293
293
  }, null, 8, ["class", "icon", "size"]));
294
294
  }
295
- }), Mt = /* @__PURE__ */ C({
295
+ }), zt = /* @__PURE__ */ S({
296
296
  __name: "QIconFont",
297
297
  props: {
298
298
  icon: {},
@@ -305,12 +305,12 @@ const Tt = I(Ct), Vt = /* @__PURE__ */ C({
305
305
  const t = n, e = y(() => t.variant ? `${t.library}-${t.variant}` : t.library), l = y(() => t.library && t.icon ? `${t.library}-${t.icon}` : t.icon), o = y(() => ({
306
306
  "font-size": t.size !== void 0 ? `${t.size}px` : void 0
307
307
  }));
308
- return (s, a) => (i(), f("i", {
309
- class: T(["q-icon", "q-icon__font", e.value, l.value, t.class]),
308
+ return (s, a) => (u(), m("i", {
309
+ class: A(["q-icon", "q-icon__font", e.value, l.value, t.class]),
310
310
  style: fe(o.value)
311
311
  }, null, 6));
312
312
  }
313
- }), Ft = ["src"], Ot = /* @__PURE__ */ C({
313
+ }), Ot = ["src"], Ft = /* @__PURE__ */ S({
314
314
  __name: "QIconImg",
315
315
  props: {
316
316
  icon: {},
@@ -321,13 +321,13 @@ const Tt = I(Ct), Vt = /* @__PURE__ */ C({
321
321
  const t = n, e = y(() => ({
322
322
  "font-size": t.size !== void 0 ? `${t.size}px` : void 0
323
323
  }));
324
- return (l, o) => (i(), f("img", {
324
+ return (l, o) => (u(), m("img", {
325
325
  src: t.icon,
326
- class: T(["q-icon", "q-icon__img", t.class]),
326
+ class: A(["q-icon", "q-icon__img", t.class]),
327
327
  style: fe(e.value)
328
- }, null, 14, Ft));
328
+ }, null, 14, Ot));
329
329
  }
330
- }), be = {}, Pt = C({
330
+ }), _e = {}, Pt = S({
331
331
  name: "InlineSvg",
332
332
  emits: {
333
333
  loaded: (n) => typeof n == "object",
@@ -408,11 +408,11 @@ const Tt = I(Ct), Vt = /* @__PURE__ */ C({
408
408
  */
409
409
  async getSource(n) {
410
410
  try {
411
- be[n] || (be[n] = Nt(this.download(n))), this.svgElSource && be[n].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
412
- const t = await be[n];
411
+ _e[n] || (_e[n] = Nt(this.download(n))), this.svgElSource && _e[n].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
412
+ const t = await _e[n];
413
413
  this.svgElSource = t, await this.$nextTick(), this.$emit("loaded", this.$el);
414
414
  } catch (t) {
415
- this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete be[n], this.$emit("error", t);
415
+ this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete _e[n], this.$emit("error", t);
416
416
  }
417
417
  },
418
418
  /**
@@ -455,7 +455,7 @@ function Nt(n) {
455
455
  );
456
456
  return e.getIsPending = () => t, e;
457
457
  }
458
- const Rt = /* @__PURE__ */ C({
458
+ const Rt = /* @__PURE__ */ S({
459
459
  __name: "QIconSvg",
460
460
  props: {
461
461
  icon: {},
@@ -474,8 +474,8 @@ const Rt = /* @__PURE__ */ C({
474
474
  function a() {
475
475
  l("unloaded");
476
476
  }
477
- return (d, r) => (i(), B(m(Pt), {
478
- class: T(["q-icon", "q-icon__svg", e.class]),
477
+ return (d, i) => (u(), I(h(Pt), {
478
+ class: A(["q-icon", "q-icon__svg", e.class]),
479
479
  src: e.bundle,
480
480
  symbol: e.icon,
481
481
  style: fe(o.value),
@@ -483,7 +483,7 @@ const Rt = /* @__PURE__ */ C({
483
483
  onUnloaded: a
484
484
  }, null, 8, ["class", "src", "symbol", "style"]));
485
485
  }
486
- }), O = I(zt), ot = I(Mt), st = I(Ot), at = I(Rt), Gt = {
486
+ }), N = C(Mt), ot = C(zt), st = C(Ft), at = C(Rt), Gt = {
487
487
  remove: {
488
488
  icon: "close"
489
489
  }
@@ -491,7 +491,7 @@ const Rt = /* @__PURE__ */ C({
491
491
  function Ht(n) {
492
492
  return /^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/.test(n);
493
493
  }
494
- function jt(n) {
494
+ function Kt(n) {
495
495
  const t = n.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
496
496
  if (t) {
497
497
  const e = parseInt(t[1], 10), l = parseInt(t[2], 10), o = parseInt(t[3], 10);
@@ -504,28 +504,28 @@ function it(n) {
504
504
  const t = parseInt(n.slice(1, 3), 16), e = parseInt(n.slice(3, 5), 16), l = parseInt(n.slice(5, 7), 16);
505
505
  return { r: t, g: e, b: l };
506
506
  } else {
507
- const t = jt(n);
507
+ const t = Kt(n);
508
508
  if (t) return t;
509
509
  }
510
510
  throw new Error("Invalid color format");
511
511
  }
512
- function Kt(n) {
512
+ function Wt(n) {
513
513
  const t = n.r / 255, e = n.g / 255, l = n.b / 255, o = Math.max(t, e, l), s = Math.min(t, e, l);
514
514
  let a = 0, d;
515
- const r = (o + s) / 2;
515
+ const i = (o + s) / 2;
516
516
  if (o === s)
517
517
  a = d = 0;
518
518
  else {
519
- const u = o - s;
520
- switch (d = r > 0.5 ? u / (2 - o - s) : u / (o + s), o) {
519
+ const c = o - s;
520
+ switch (d = i > 0.5 ? c / (2 - o - s) : c / (o + s), o) {
521
521
  case t:
522
- a = (e - l) / u + (e < l ? 6 : 0);
522
+ a = (e - l) / c + (e < l ? 6 : 0);
523
523
  break;
524
524
  case e:
525
- a = (l - t) / u + 2;
525
+ a = (l - t) / c + 2;
526
526
  break;
527
527
  case l:
528
- a = (t - e) / u + 4;
528
+ a = (t - e) / c + 4;
529
529
  break;
530
530
  }
531
531
  a /= 6;
@@ -533,13 +533,13 @@ function Kt(n) {
533
533
  return {
534
534
  h: Math.round(a * 360),
535
535
  s: Math.round(d * 100),
536
- l: Math.round(r * 100)
536
+ l: Math.round(i * 100)
537
537
  };
538
538
  }
539
- function Wt(n) {
539
+ function jt(n) {
540
540
  return n > 50 ? "#000" : "#fff";
541
541
  }
542
- const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ C({
542
+ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ S({
543
543
  __name: "QBadge",
544
544
  props: {
545
545
  color: { default: "primary" },
@@ -553,49 +553,49 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ C({
553
553
  const e = n, l = t, o = y(
554
554
  () => ["primary", "info", "success", "warning", "danger"].includes(e.color)
555
555
  ), s = y(() => {
556
- const r = o.value ? `q-badge--${e.color}` : void 0;
557
- return ["q-badge", `q-badge--${e.variant}`, r, { "q-badge--pill": e.pill }];
556
+ const i = o.value ? `q-badge--${e.color}` : void 0;
557
+ return ["q-badge", `q-badge--${e.variant}`, i, { "q-badge--pill": e.pill }];
558
558
  }), a = y(() => {
559
- let r, u;
559
+ let i, c;
560
560
  if (!o.value)
561
- if (r = e.color, e.variant === "tonal")
562
- u = e.color;
561
+ if (i = e.color, e.variant === "tonal")
562
+ c = e.color;
563
563
  else {
564
- const b = it(r), x = Kt(b);
565
- u = Wt(x.l);
564
+ const v = it(i), k = Wt(v);
565
+ c = jt(k.l);
566
566
  }
567
567
  return {
568
- "--q-badge-color": r,
569
- "--q-badge-text-color": u
568
+ "--q-badge-color": i,
569
+ "--q-badge-text-color": c
570
570
  };
571
571
  });
572
572
  function d() {
573
573
  l("click:remove");
574
574
  }
575
- return (r, u) => (i(), f("span", {
576
- class: T(s.value),
575
+ return (i, c) => (u(), m("span", {
576
+ class: A(s.value),
577
577
  role: "presentation",
578
578
  style: fe(a.value)
579
579
  }, [
580
- u[0] || (u[0] = q("div", { class: "q-badge__underlay" }, null, -1)),
581
- q("div", Xt, [
582
- p(r.$slots, "default"),
583
- e.removable ? (i(), B(m(le), {
580
+ c[0] || (c[0] = w("div", { class: "q-badge__underlay" }, null, -1)),
581
+ w("div", Xt, [
582
+ p(i.$slots, "default"),
583
+ e.removable ? (u(), I(h(ae), {
584
584
  key: 0,
585
585
  class: "q-badge__remove",
586
586
  borderless: "",
587
587
  tabindex: "0",
588
588
  onClick: d
589
589
  }, {
590
- default: w(() => [
591
- D(m(O), W(ne(e.icons.remove)), null, 16)
590
+ default: _(() => [
591
+ O(h(N), J(se(e.icons.remove)), null, 16)
592
592
  ]),
593
593
  _: 1
594
- })) : g("", !0)
594
+ })) : $("", !0)
595
595
  ])
596
596
  ], 6));
597
597
  }
598
- }), Zt = I(Yt), Jt = /* @__PURE__ */ C({
598
+ }), Zt = C(Yt), Jt = /* @__PURE__ */ S({
599
599
  __name: "QButtonGroup",
600
600
  props: {
601
601
  disabled: { type: Boolean },
@@ -605,15 +605,15 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ C({
605
605
  },
606
606
  setup(n) {
607
607
  const t = n;
608
- return Pe({
608
+ return Ue({
609
609
  QButton: {
610
610
  bStyle: "secondary",
611
- disabled: Ve(t, "disabled"),
612
- borderless: Ve(t, "borderless"),
611
+ disabled: Ae(t, "disabled"),
612
+ borderless: Ae(t, "borderless"),
613
613
  elevated: !1
614
614
  }
615
- }), (e, l) => (i(), f("div", {
616
- class: T([
615
+ }), (e, l) => (u(), m("div", {
616
+ class: A([
617
617
  "q-btn-group",
618
618
  {
619
619
  "q-btn-group--elevated": t.elevated
@@ -624,7 +624,7 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ C({
624
624
  p(e.$slots, "default")
625
625
  ], 2));
626
626
  }
627
- }), rt = I(Jt), en = /* @__PURE__ */ C({
627
+ }), rt = C(Jt), en = /* @__PURE__ */ S({
628
628
  __name: "QButtonToggle",
629
629
  props: /* @__PURE__ */ G({
630
630
  options: {},
@@ -639,20 +639,20 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ C({
639
639
  }),
640
640
  emits: ["update:modelValue"],
641
641
  setup(n) {
642
- const t = n, e = K(n, "modelValue");
642
+ const t = n, e = j(n, "modelValue");
643
643
  function l(o) {
644
644
  e.value === o.key && !t.required ? e.value = void 0 : e.value = o.key;
645
645
  }
646
- return (o, s) => (i(), B(m(rt), {
646
+ return (o, s) => (u(), I(h(rt), {
647
647
  "b-style": "secondary",
648
- class: T(t.class),
648
+ class: A(t.class),
649
649
  disabled: t.disabled,
650
650
  borderless: t.borderless,
651
651
  elevated: t.elevated,
652
652
  role: "listbox"
653
653
  }, {
654
- default: w(() => [
655
- (i(!0), f(U, null, he(t.options, (a) => (i(), B(m(le), {
654
+ default: _(() => [
655
+ (u(!0), m(R, null, ve(t.options, (a) => (u(), I(h(ae), {
656
656
  key: a.key,
657
657
  title: a.title,
658
658
  label: a.label,
@@ -661,7 +661,7 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ C({
661
661
  "aria-selected": e.value === a.key,
662
662
  onClick: () => l(a)
663
663
  }, {
664
- default: w(() => [
664
+ default: _(() => [
665
665
  p(o.$slots, a.key)
666
666
  ]),
667
667
  _: 2
@@ -670,9 +670,9 @@ const Xt = { class: "q-badge__content" }, Yt = /* @__PURE__ */ C({
670
670
  _: 3
671
671
  }, 8, ["class", "disabled", "borderless", "elevated"]));
672
672
  }
673
- }), tn = I(en);
673
+ }), tn = C(en);
674
674
  let nn = 0;
675
- function ie(n) {
675
+ function ue(n) {
676
676
  return n || `uid-${++nn}`;
677
677
  }
678
678
  const ln = { class: "q-card__header" }, on = {
@@ -689,7 +689,7 @@ const ln = { class: "q-card__header" }, on = {
689
689
  }, dn = { class: "q-card__content" }, un = {
690
690
  key: 0,
691
691
  class: "q-card__footer"
692
- }, cn = /* @__PURE__ */ C({
692
+ }, cn = /* @__PURE__ */ S({
693
693
  __name: "QCard",
694
694
  props: {
695
695
  id: { default: void 0 },
@@ -704,13 +704,13 @@ const ln = { class: "q-card__header" }, on = {
704
704
  width: { default: void 0 }
705
705
  },
706
706
  setup(n) {
707
- const t = n, e = bt(), l = ie(t.id), o = y(() => {
708
- const r = t.width ? `q-card--${t.width}` : void 0, u = t.variant && t.variant !== "default" ? `q-card--${t.variant}` : void 0, b = t.elevation && t.elevation !== "none" ? `q-card--elevation-${t.elevation}` : void 0;
707
+ const t = n, e = bt(), l = ue(t.id), o = y(() => {
708
+ const i = t.width ? `q-card--${t.width}` : void 0, c = t.variant && t.variant !== "default" ? `q-card--${t.variant}` : void 0, v = t.elevation && t.elevation !== "none" ? `q-card--elevation-${t.elevation}` : void 0;
709
709
  return [
710
710
  "q-card",
711
- r,
712
- u,
713
- b,
711
+ i,
712
+ c,
713
+ v,
714
714
  {
715
715
  "q-card--clickable": s.value,
716
716
  "q-card--loading": t.loading,
@@ -718,66 +718,66 @@ const ln = { class: "q-card__header" }, on = {
718
718
  "q-card--disabled": t.disabled
719
719
  }
720
720
  ];
721
- }), s = y(() => !!e.onClick || t.href), a = y(() => t.disabled || t.loading), d = (r) => {
722
- a.value && r.stopImmediatePropagation();
721
+ }), s = y(() => !!e.onClick || t.href), a = y(() => t.disabled || t.loading), d = (i) => {
722
+ a.value && i.stopImmediatePropagation();
723
723
  };
724
- return (r, u) => (i(), B(Se(t.href ? "a" : "div"), {
725
- id: m(l),
726
- class: T([...o.value, r.$attrs.class]),
724
+ return (i, c) => (u(), I(Le(t.href ? "a" : "div"), {
725
+ id: h(l),
726
+ class: A([...o.value, i.$attrs.class]),
727
727
  href: t.href && !a.value ? t.href : void 0,
728
728
  onClick: d
729
729
  }, {
730
- default: w(() => [
731
- t.loading ? (i(), B(m(_e), {
730
+ default: _(() => [
731
+ t.loading ? (u(), I(h(ke), {
732
732
  key: 0,
733
733
  size: 36
734
- })) : (i(), f(U, { key: 1 }, [
735
- q("div", ln, [
736
- p(r.$slots, "header", {}, () => [
737
- p(r.$slots, "header.prepend"),
738
- r.$slots.title || t.title || r.$slots.subtitle || t.subtitle ? (i(), f("div", on, [
739
- p(r.$slots, "header.content.prepend"),
740
- q("div", sn, [
741
- r.$slots.title || t.title ? (i(), f("p", an, [
742
- r.$slots.title ? p(r.$slots, "title", { key: 0 }) : (i(), f(U, { key: 1 }, [
743
- ae(E(r.$props.title), 1)
734
+ })) : (u(), m(R, { key: 1 }, [
735
+ w("div", ln, [
736
+ p(i.$slots, "header", {}, () => [
737
+ p(i.$slots, "header.prepend"),
738
+ i.$slots.title || t.title || i.$slots.subtitle || t.subtitle ? (u(), m("div", on, [
739
+ p(i.$slots, "header.content.prepend"),
740
+ w("div", sn, [
741
+ i.$slots.title || t.title ? (u(), m("p", an, [
742
+ i.$slots.title ? p(i.$slots, "title", { key: 0 }) : (u(), m(R, { key: 1 }, [
743
+ de(Q(i.$props.title), 1)
744
744
  ], 64))
745
- ])) : g("", !0),
746
- r.$slots.subtitle || t.subtitle ? (i(), f("p", rn, [
747
- r.$slots.subtitle ? p(r.$slots, "subtitle", { key: 0 }) : (i(), f(U, { key: 1 }, [
748
- ae(E(r.$props.subtitle), 1)
745
+ ])) : $("", !0),
746
+ i.$slots.subtitle || t.subtitle ? (u(), m("p", rn, [
747
+ i.$slots.subtitle ? p(i.$slots, "subtitle", { key: 0 }) : (u(), m(R, { key: 1 }, [
748
+ de(Q(i.$props.subtitle), 1)
749
749
  ], 64))
750
- ])) : g("", !0)
750
+ ])) : $("", !0)
751
751
  ]),
752
- p(r.$slots, "header.content.append")
753
- ])) : g("", !0),
754
- p(r.$slots, "header.append")
752
+ p(i.$slots, "header.content.append")
753
+ ])) : $("", !0),
754
+ p(i.$slots, "header.append")
755
755
  ])
756
756
  ]),
757
- q("div", dn, [
758
- p(r.$slots, "default")
757
+ w("div", dn, [
758
+ p(i.$slots, "default")
759
759
  ]),
760
- r.$slots.footer ? (i(), f("div", un, [
761
- p(r.$slots, "footer")
762
- ])) : g("", !0)
760
+ i.$slots.footer ? (u(), m("div", un, [
761
+ p(i.$slots, "footer")
762
+ ])) : $("", !0)
763
763
  ], 64))
764
764
  ]),
765
765
  _: 3
766
766
  }, 8, ["id", "class", "href"]));
767
767
  }
768
- }), dt = I(cn), fn = { key: 0 }, pn = { class: "q-field__extras" }, mn = { key: 1 }, We = /* @__PURE__ */ C({
768
+ }), dt = C(cn), fn = { key: 0 }, pn = { class: "q-field__extras" }, mn = { key: 1 }, je = /* @__PURE__ */ S({
769
769
  __name: "QCheckboxLabel",
770
770
  props: {
771
771
  label: { default: "" }
772
772
  },
773
773
  setup(n) {
774
774
  const t = n;
775
- return (e, l) => e.$slots.extras ? (i(), f("div", fn, [
776
- q("span", null, E(t.label), 1),
777
- q("div", pn, [
775
+ return (e, l) => e.$slots.extras ? (u(), m("div", fn, [
776
+ w("span", null, Q(t.label), 1),
777
+ w("div", pn, [
778
778
  p(e.$slots, "extras")
779
779
  ])
780
- ])) : (i(), f("span", mn, E(t.label), 1));
780
+ ])) : (u(), m("span", mn, Q(t.label), 1));
781
781
  }
782
782
  }), hn = {
783
783
  checked: {
@@ -786,7 +786,7 @@ const ln = { class: "q-card__header" }, on = {
786
786
  indeterminate: {
787
787
  icon: "minus"
788
788
  }
789
- }, yn = ["id", "aria-checked", "disabled", "onKeydown"], vn = ["checked", "disabled"], bn = /* @__PURE__ */ C({
789
+ }, vn = ["id", "aria-checked", "disabled", "onKeydown"], yn = ["checked", "disabled"], bn = /* @__PURE__ */ S({
790
790
  __name: "QCheckbox",
791
791
  props: /* @__PURE__ */ G({
792
792
  label: { default: "" },
@@ -805,7 +805,7 @@ const ln = { class: "q-card__header" }, on = {
805
805
  }),
806
806
  emits: ["update:modelValue"],
807
807
  setup(n) {
808
- const t = n, e = K(n, "modelValue"), l = ie(t.id), o = y(() => [
808
+ const t = n, e = j(n, "modelValue"), l = ue(t.id), o = y(() => [
809
809
  "q-checkbox",
810
810
  `q-checkbox--${t.size}`,
811
811
  `q-checkbox--${t.color}`,
@@ -820,62 +820,62 @@ const ln = { class: "q-card__header" }, on = {
820
820
  function s() {
821
821
  !t.disabled && !t.readonly && (e.value = !e.value);
822
822
  }
823
- return (a, d) => (i(), f(U, null, [
824
- q("label", {
825
- class: T(o.value)
823
+ return (a, d) => (u(), m(R, null, [
824
+ w("label", {
825
+ class: A(o.value)
826
826
  }, [
827
- t.labelPlacement !== "right" ? (i(), B(We, {
827
+ t.labelPlacement !== "right" ? (u(), I(je, {
828
828
  key: 0,
829
829
  label: t.label
830
830
  }, ye({ _: 2 }, [
831
831
  a.$slots.extras ? {
832
832
  name: "extras",
833
- fn: w(() => [
833
+ fn: _(() => [
834
834
  p(a.$slots, "extras")
835
835
  ]),
836
836
  key: "0"
837
837
  } : void 0
838
- ]), 1032, ["label"])) : g("", !0),
839
- q("button", {
840
- id: m(l),
838
+ ]), 1032, ["label"])) : $("", !0),
839
+ w("button", {
840
+ id: h(l),
841
841
  role: "checkbox",
842
842
  type: "button",
843
843
  "aria-checked": t.indeterminate ? "mixed" : e.value,
844
844
  disabled: t.disabled || t.readonly,
845
845
  class: "q-checkbox__input",
846
- onClick: ue(s, ["prevent"]),
846
+ onClick: re(s, ["prevent"]),
847
847
  onKeydown: [
848
- Ae(ue(s, ["prevent"]), ["space"]),
849
- d[0] || (d[0] = Ae(ue(() => {
848
+ Ee(re(s, ["prevent"]), ["space"]),
849
+ d[0] || (d[0] = Ee(re(() => {
850
850
  }, ["prevent"]), ["enter"]))
851
851
  ]
852
852
  }, [
853
- e.value || a.indeterminate ? (i(), B(m(O), H({ key: 0 }, e.value ? t.icons.checked : t.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : g("", !0)
854
- ], 40, yn),
855
- t.labelPlacement === "right" ? (i(), B(We, {
853
+ e.value || a.indeterminate ? (u(), I(h(N), X({ key: 0 }, e.value ? t.icons.checked : t.icons.indeterminate, { class: "q-checkbox__input-icon" }), null, 16)) : $("", !0)
854
+ ], 40, vn),
855
+ t.labelPlacement === "right" ? (u(), I(je, {
856
856
  key: 1,
857
857
  label: t.label
858
858
  }, ye({ _: 2 }, [
859
859
  a.$slots.extras ? {
860
860
  name: "extras",
861
- fn: w(() => [
861
+ fn: _(() => [
862
862
  p(a.$slots, "extras")
863
863
  ]),
864
864
  key: "0"
865
865
  } : void 0
866
- ]), 1032, ["label"])) : g("", !0)
866
+ ]), 1032, ["label"])) : $("", !0)
867
867
  ], 2),
868
- q("input", {
868
+ w("input", {
869
869
  type: "checkbox",
870
870
  tabindex: "-1",
871
871
  "aria-hidden": "true",
872
872
  class: "q-checkbox__native-input",
873
873
  checked: !!e.value,
874
874
  disabled: t.disabled || t.readonly
875
- }, null, 8, vn)
875
+ }, null, 8, yn)
876
876
  ], 64));
877
877
  }
878
- }), gn = I(bn), _n = {
878
+ }), gn = C(bn), _n = {
879
879
  chevron: {
880
880
  icon: "chevron-down"
881
881
  }
@@ -888,7 +888,7 @@ const ln = { class: "q-card__header" }, on = {
888
888
  }, xn = {
889
889
  key: 0,
890
890
  class: "q-collapsible__subtitle"
891
- }, Sn = { class: "q-collapsible__content-inner" }, Ln = { class: "q-collapsible__content" }, Bn = /* @__PURE__ */ C({
891
+ }, Ln = { class: "q-collapsible__content-inner" }, In = { class: "q-collapsible__content" }, Sn = /* @__PURE__ */ S({
892
892
  __name: "QCollapsible",
893
893
  props: /* @__PURE__ */ G({
894
894
  id: { default: void 0 },
@@ -906,12 +906,12 @@ const ln = { class: "q-card__header" }, on = {
906
906
  }),
907
907
  emits: ["update:modelValue"],
908
908
  setup(n) {
909
- const t = n, e = K(n, "modelValue"), l = ie(t.id), o = Lt(l), s = y(() => t.width === "block" ? "block" : void 0), a = y(() => {
910
- const u = t.spacing && t.spacing !== "comfortable" ? `q-collapsible--${t.spacing}` : void 0, b = t.variant && t.variant !== "default" ? `q-collapsible--${t.variant}` : void 0;
909
+ const t = n, e = j(n, "modelValue"), l = ue(t.id), o = It(l), s = y(() => t.width === "block" ? "block" : void 0), a = y(() => {
910
+ const c = t.spacing && t.spacing !== "comfortable" ? `q-collapsible--${t.spacing}` : void 0, v = t.variant && t.variant !== "default" ? `q-collapsible--${t.variant}` : void 0;
911
911
  return [
912
912
  "q-collapsible",
913
- u,
914
- b,
913
+ c,
914
+ v,
915
915
  {
916
916
  "q-collapsible--icon-right": t.iconRight,
917
917
  "q-collapsible--expanded": e.value
@@ -922,54 +922,54 @@ const ln = { class: "q-card__header" }, on = {
922
922
  {
923
923
  "q-collapsible__content-show": e.value
924
924
  }
925
- ]), r = () => {
925
+ ]), i = () => {
926
926
  e.value = !e.value, o == null || o.toggle();
927
927
  };
928
- return Z(
928
+ return ne(
929
929
  () => o == null ? void 0 : o.isActive.value,
930
930
  () => e.value = o == null ? void 0 : o.isActive.value
931
- ), (u, b) => (i(), B(m(dt), {
932
- id: m(l),
933
- class: T(a.value),
931
+ ), (c, v) => (u(), I(h(dt), {
932
+ id: h(l),
933
+ class: A(a.value),
934
934
  width: s.value
935
935
  }, {
936
- header: w(() => [
937
- u.title ? (i(), f("div", $n, [
938
- D(m(le), {
936
+ header: _(() => [
937
+ c.title ? (u(), m("div", $n, [
938
+ O(h(ae), {
939
939
  "b-style": "tertiary",
940
940
  class: "q-collapsible__btn",
941
- onClick: r
941
+ onClick: i
942
942
  }, {
943
- default: w(() => [
944
- q("div", kn, [
945
- u.iconRight ? g("", !0) : p(u.$slots, "icon", { key: 0 }, () => [
946
- D(m(O), H({ class: "q-collapsible__chevron" }, t.icons.chevron), null, 16)
943
+ default: _(() => [
944
+ w("div", kn, [
945
+ c.iconRight ? $("", !0) : p(c.$slots, "icon", { key: 0 }, () => [
946
+ O(h(N), X({ class: "q-collapsible__chevron" }, t.icons.chevron), null, 16)
947
947
  ]),
948
- p(u.$slots, "title.prepend"),
949
- q("h4", wn, E(u.title), 1),
950
- t.required ? (i(), f("span", qn, " * ")) : g("", !0),
951
- p(u.$slots, "title.append"),
952
- u.iconRight ? p(u.$slots, "icon", { key: 2 }, () => [
953
- D(m(O), H({ class: "q-collapsible__chevron q-collapsible__chevron-right" }, t.icons.chevron), null, 16)
954
- ]) : g("", !0)
948
+ p(c.$slots, "title.prepend"),
949
+ w("h4", wn, Q(c.title), 1),
950
+ t.required ? (u(), m("span", qn, " * ")) : $("", !0),
951
+ p(c.$slots, "title.append"),
952
+ c.iconRight ? p(c.$slots, "icon", { key: 2 }, () => [
953
+ O(h(N), X({ class: "q-collapsible__chevron q-collapsible__chevron-right" }, t.icons.chevron), null, 16)
954
+ ]) : $("", !0)
955
955
  ]),
956
- u.$slots.subtitle || u.subtitle ? (i(), f("div", xn, [
957
- p(u.$slots, "subtitle", {}, () => [
958
- ae(E(u.subtitle), 1)
956
+ c.$slots.subtitle || c.subtitle ? (u(), m("div", xn, [
957
+ p(c.$slots, "subtitle", {}, () => [
958
+ de(Q(c.subtitle), 1)
959
959
  ])
960
- ])) : g("", !0)
960
+ ])) : $("", !0)
961
961
  ]),
962
962
  _: 3
963
963
  })
964
- ])) : g("", !0)
964
+ ])) : $("", !0)
965
965
  ]),
966
- default: w(() => [
967
- q("div", {
968
- class: T(d.value)
966
+ default: _(() => [
967
+ w("div", {
968
+ class: A(d.value)
969
969
  }, [
970
- q("div", Sn, [
971
- q("div", Ln, [
972
- p(u.$slots, "default")
970
+ w("div", Ln, [
971
+ w("div", In, [
972
+ p(c.$slots, "default")
973
973
  ])
974
974
  ])
975
975
  ], 2)
@@ -977,7 +977,7 @@ const ln = { class: "q-card__header" }, on = {
977
977
  _: 3
978
978
  }, 8, ["id", "class", "width"]));
979
979
  }
980
- }), Cn = I(Bn), In = /* @__PURE__ */ C({
980
+ }), Bn = C(Sn), Cn = /* @__PURE__ */ S({
981
981
  __name: "QList",
982
982
  props: /* @__PURE__ */ G({
983
983
  highlighted: { type: [String, Number, Boolean, Symbol], default: void 0 },
@@ -996,143 +996,161 @@ const ln = { class: "q-card__header" }, on = {
996
996
  }),
997
997
  emits: ["update:modelValue"],
998
998
  setup(n, { expose: t }) {
999
- const e = n, l = K(n, "modelValue"), o = A(!1), s = y(() => a.value.length > 1 ? "div" : "ul"), a = y(() => e.groups.length ? e.groups.filter(
1000
- (v) => e.items.some((S) => S.group === v.id)
1001
- ) : [{ id: "", title: "" }]), d = A(null);
1002
- function r(v) {
1003
- l.value = v;
999
+ const e = n, l = j(n, "modelValue"), o = V(!1), s = y(() => a.value.length > 1 ? "div" : "ul"), a = y(() => e.groups.length ? e.groups.filter(
1000
+ (b) => e.items.some((f) => f.group === b.id)
1001
+ ) : [{ id: "", title: "" }]), d = V(null), i = V(null);
1002
+ function c(b) {
1003
+ l.value = b;
1004
1004
  }
1005
- function u() {
1005
+ function v() {
1006
1006
  o.value = !0;
1007
1007
  }
1008
- function b() {
1008
+ function k() {
1009
1009
  o.value = !1;
1010
1010
  }
1011
- function x(v) {
1012
- var $;
1013
- if (($ = d.value) != null && $.contains(v.relatedTarget))
1011
+ function H(b) {
1012
+ var z;
1013
+ if ((z = d.value) != null && z.contains(b.relatedTarget))
1014
1014
  return;
1015
- let S;
1016
- l.value ? S = e.items.findIndex((J) => J[e.itemValue] === l.value) : S = Q();
1017
- const h = o.value;
1018
- z(S, h);
1015
+ let f;
1016
+ l.value ? f = e.items.findIndex((U) => U[e.itemValue] === l.value) : f = ee();
1017
+ const q = o.value;
1018
+ g(f, q);
1019
1019
  }
1020
- function R(v) {
1021
- switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(v.key) && v.preventDefault(), v.key) {
1020
+ function K(b) {
1021
+ switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(b.key) && b.preventDefault(), b.key) {
1022
1022
  case "ArrowDown":
1023
- P("next");
1023
+ D("next");
1024
1024
  break;
1025
1025
  case "ArrowUp":
1026
- P("prev");
1026
+ D("prev");
1027
1027
  break;
1028
1028
  case "Home":
1029
- P("first");
1029
+ D("first");
1030
1030
  break;
1031
1031
  case "End":
1032
- P("last");
1032
+ D("last");
1033
1033
  break;
1034
1034
  }
1035
1035
  }
1036
- function P(v) {
1037
- switch (v) {
1036
+ function D(b) {
1037
+ switch (b) {
1038
1038
  case "next":
1039
1039
  case "prev":
1040
- z(N(v));
1040
+ g(E(b));
1041
1041
  break;
1042
1042
  case "first":
1043
- z(Q());
1043
+ g(ee());
1044
1044
  break;
1045
1045
  case "last":
1046
- z(oe());
1046
+ g(te());
1047
1047
  break;
1048
1048
  }
1049
1049
  }
1050
- function z(v, S = !1) {
1051
- var $;
1052
- ($ = _()[v]) == null || $.focus({ preventScroll: S });
1053
- }
1054
- function _() {
1055
- var S;
1056
- const v = (S = d.value) == null ? void 0 : S.querySelectorAll("li");
1057
- return v ? Array.from(v) : [];
1058
- }
1059
- function V(v) {
1060
- return _()[v];
1061
- }
1062
- function M() {
1063
- return _().indexOf(document.activeElement);
1064
- }
1065
- function Q() {
1066
- const v = _(), S = v.find((h) => X(h));
1067
- return S ? v.indexOf(S) : -1;
1068
- }
1069
- function oe() {
1070
- const v = _(), S = [...v].reverse().find((h) => X(h));
1071
- return S ? v.indexOf(S) : -1;
1072
- }
1073
- function ee(v, S, h) {
1074
- return S === "prev" && v === 0 || S === "next" && v === h.length - 1;
1075
- }
1076
- function N(v) {
1077
- const S = M();
1078
- return se(S, v);
1079
- }
1080
- function se(v, S) {
1081
- const h = _();
1082
- if (ee(v, S, h))
1083
- return v;
1084
- let $ = v + (S === "next" ? 1 : -1);
1085
- for (; !X(h[$]); ) {
1086
- if (ee($, S, h))
1087
- return v;
1088
- $ += S === "next" ? 1 : -1;
1050
+ function g(b, f = !1) {
1051
+ var z;
1052
+ (z = B()[b]) == null || z.focus({ preventScroll: f });
1053
+ }
1054
+ function B() {
1055
+ var f;
1056
+ const b = (f = d.value) == null ? void 0 : f.querySelectorAll("li");
1057
+ return b ? Array.from(b) : [];
1058
+ }
1059
+ function M(b) {
1060
+ return B()[b];
1061
+ }
1062
+ function F() {
1063
+ return B().indexOf(document.activeElement);
1064
+ }
1065
+ function ee() {
1066
+ const b = B(), f = b.find((q) => le(q));
1067
+ return f ? b.indexOf(f) : -1;
1068
+ }
1069
+ function te() {
1070
+ const b = B(), f = [...b].reverse().find((q) => le(q));
1071
+ return f ? b.indexOf(f) : -1;
1072
+ }
1073
+ function x(b, f, q) {
1074
+ return f === "prev" && b <= 0 || f === "next" && b === q.length - 1;
1075
+ }
1076
+ function E(b) {
1077
+ const f = F();
1078
+ return P(f, b);
1079
+ }
1080
+ function P(b, f) {
1081
+ const q = B();
1082
+ if (x(b, f, q))
1083
+ return b;
1084
+ let z = b + (f === "next" ? 1 : -1);
1085
+ for (; !le(q[z]); ) {
1086
+ if (x(z, f, q))
1087
+ return b;
1088
+ z += f === "next" ? 1 : -1;
1089
1089
  }
1090
- return $;
1090
+ return z;
1091
1091
  }
1092
- function X(v) {
1093
- return v.tabIndex === -2;
1092
+ function le(b) {
1093
+ return b.tabIndex === -2;
1094
1094
  }
1095
- function ce(v) {
1096
- return v ? e.items.filter((S) => S.group === v) : e.items;
1095
+ function ce(b) {
1096
+ return b ? e.items.filter((f) => f.group === b) : e.items;
1097
1097
  }
1098
1098
  return t({
1099
- focusItem: z,
1100
- getItem: V,
1101
- getAdjacentItemIndex: se,
1102
- getFirstFocusableItemIndex: Q,
1103
- getLastFocusableItemIndex: oe
1104
- }), (v, S) => (i(), B(Se(s.value), {
1099
+ focusItem: g,
1100
+ getItem: M,
1101
+ getAdjacentItemIndex: P,
1102
+ getFirstFocusableItemIndex: ee,
1103
+ getLastFocusableItemIndex: te
1104
+ }), (b, f) => (u(), I(Le(s.value), {
1105
1105
  ref_key: "listRef",
1106
1106
  ref: d,
1107
- class: T(["q-list", { "q-list--disabled": e.disabled }, e.class]),
1107
+ class: A(["q-list", { "q-list--disabled": e.disabled }, e.class]),
1108
1108
  role: "listbox",
1109
1109
  tabindex: e.disabled ? -1 : 0,
1110
- onFocus: x,
1111
- onMousedown: u,
1112
- onMouseup: b,
1113
- onKeydown: R
1110
+ onFocus: H,
1111
+ onMousedown: v,
1112
+ onMouseup: k,
1113
+ onKeydown: K
1114
1114
  }, {
1115
- default: w(() => [
1116
- (i(!0), f(U, null, he(a.value, (h) => (i(), B(m(ct), {
1117
- id: h.id,
1118
- key: h.id,
1119
- title: a.value.length === 1 ? void 0 : h.title
1115
+ default: _(() => [
1116
+ (u(!0), m(R, null, ve(a.value, (q, z) => (u(), I(h(ct), {
1117
+ id: q.id,
1118
+ key: q.id,
1119
+ title: a.value.length === 1 ? void 0 : q.title
1120
1120
  }, {
1121
- default: w(() => [
1122
- (i(!0), f(U, null, he(ce(h.id), ($) => (i(), B(m(ut), {
1123
- key: $[e.itemValue],
1124
- value: $[e.itemValue],
1125
- label: $[e.itemLabel],
1126
- description: $.description,
1127
- icon: $.icon,
1128
- disabled: e.disabled || h.disabled || $.disabled,
1129
- highlighted: e.highlighted === $[e.itemValue],
1130
- selected: v.selectable && l.value === $[e.itemValue],
1131
- onSelect: r
1121
+ default: _(() => [
1122
+ (u(!0), m(R, null, ve(ce(q.id), (U, Y) => (u(), I(h(ut), {
1123
+ key: U[e.itemValue],
1124
+ ref_for: !0,
1125
+ ref_key: "listItemsRef",
1126
+ ref: i,
1127
+ value: U[e.itemValue],
1128
+ label: U[e.itemLabel],
1129
+ description: U.description,
1130
+ icon: U.icon,
1131
+ disabled: e.disabled || q.disabled || U.disabled,
1132
+ highlighted: e.highlighted === U[e.itemValue],
1133
+ selected: b.selectable && l.value === U[e.itemValue],
1134
+ onSelect: c
1132
1135
  }, {
1133
- default: w(() => [
1134
- p(v.$slots, "item", { item: $ })
1135
- ]),
1136
+ append: _(() => {
1137
+ var W, ie;
1138
+ return [
1139
+ p(b.$slots, "item.append", {
1140
+ item: U,
1141
+ element: (ie = (W = i.value) == null ? void 0 : W[Y + z * a.value.length]) == null ? void 0 : ie.$el
1142
+ })
1143
+ ];
1144
+ }),
1145
+ default: _(() => {
1146
+ var W, ie;
1147
+ return [
1148
+ p(b.$slots, "item", {
1149
+ item: U,
1150
+ element: (ie = (W = i.value) == null ? void 0 : W[Y + z * a.value.length]) == null ? void 0 : ie.$el
1151
+ })
1152
+ ];
1153
+ }),
1136
1154
  _: 2
1137
1155
  }, 1032, ["value", "label", "description", "icon", "disabled", "highlighted", "selected"]))), 128))
1138
1156
  ]),
@@ -1142,17 +1160,17 @@ const ln = { class: "q-card__header" }, on = {
1142
1160
  _: 3
1143
1161
  }, 40, ["class", "tabindex"]));
1144
1162
  }
1145
- }), Tn = {
1163
+ }), Vn = {
1146
1164
  check: {
1147
1165
  icon: "check"
1148
1166
  },
1149
1167
  description: {
1150
1168
  icon: "information-outline"
1151
1169
  }
1152
- }, Vn = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], An = { class: "q-list-item__container" }, En = { class: "q-list-item__content" }, Qn = {
1170
+ }, Tn = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], An = { class: "q-list-item__container" }, En = { class: "q-list-item__content" }, Dn = {
1153
1171
  key: 0,
1154
1172
  class: "q-list-item__description"
1155
- }, Dn = { class: "q-list-item__check-container" }, zn = /* @__PURE__ */ C({
1173
+ }, Qn = { class: "q-list-item__check-container" }, Mn = /* @__PURE__ */ S({
1156
1174
  __name: "QListItem",
1157
1175
  props: {
1158
1176
  value: { type: [String, Number, Boolean, Symbol] },
@@ -1162,23 +1180,23 @@ const ln = { class: "q-card__header" }, on = {
1162
1180
  highlighted: { type: Boolean },
1163
1181
  disabled: { type: Boolean },
1164
1182
  description: { default: void 0 },
1165
- icons: { default: () => Tn }
1183
+ icons: { default: () => Vn }
1166
1184
  },
1167
1185
  emits: ["select"],
1168
1186
  setup(n, { emit: t }) {
1169
- const e = n, l = t, o = ie();
1187
+ const e = n, l = t, o = ue();
1170
1188
  function s() {
1171
1189
  e.disabled || l("select", e.value);
1172
1190
  }
1173
1191
  function a(d) {
1174
1192
  d.key === "Tab" && s(), (d.key === "Enter" || d.key === " ") && (d.preventDefault(), d.stopPropagation(), s());
1175
1193
  }
1176
- return (d, r) => (i(), f("li", {
1177
- id: m(o),
1194
+ return (d, i) => (u(), m("li", {
1195
+ id: h(o),
1178
1196
  "data-key": e.value,
1179
1197
  role: "option",
1180
1198
  tabindex: e.disabled ? void 0 : -2,
1181
- class: T([
1199
+ class: A([
1182
1200
  "q-list-item",
1183
1201
  {
1184
1202
  "q-list-item--disabled": e.disabled,
@@ -1189,49 +1207,51 @@ const ln = { class: "q-card__header" }, on = {
1189
1207
  "aria-label": e.label,
1190
1208
  "aria-selected": e.disabled ? void 0 : e.selected,
1191
1209
  onKeydown: a,
1192
- onClick: ue(s, ["stop", "prevent"])
1210
+ onClick: re(s, ["stop", "prevent"])
1193
1211
  }, [
1194
- q("div", An, [
1195
- q("div", En, [
1212
+ p(d.$slots, "prepend"),
1213
+ w("div", An, [
1214
+ w("div", En, [
1196
1215
  p(d.$slots, "default", {}, () => [
1197
- e.icon ? (i(), B(m(O), W(H({ key: 0 }, e.icon)), null, 16)) : g("", !0),
1198
- ae(" " + E(e.label), 1)
1216
+ e.icon ? (u(), I(h(N), J(X({ key: 0 }, e.icon)), null, 16)) : $("", !0),
1217
+ de(" " + Q(e.label), 1)
1199
1218
  ])
1200
1219
  ]),
1201
- e.description ? (i(), f("div", Qn, [
1202
- D(m(O), W(ne(e.icons.description)), null, 16),
1203
- q("span", null, E(e.description), 1)
1204
- ])) : g("", !0)
1220
+ e.description ? (u(), m("div", Dn, [
1221
+ O(h(N), J(se(e.icons.description)), null, 16),
1222
+ w("span", null, Q(e.description), 1)
1223
+ ])) : $("", !0)
1205
1224
  ]),
1206
- q("div", Dn, [
1207
- e.selected ? (i(), B(m(O), H({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : g("", !0)
1225
+ p(d.$slots, "append"),
1226
+ w("div", Qn, [
1227
+ e.selected ? (u(), I(h(N), X({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : $("", !0)
1208
1228
  ])
1209
- ], 42, Vn));
1229
+ ], 42, Tn));
1210
1230
  }
1211
- }), Mn = ["data-key", "aria-labelledby"], Fn = ["id"], On = /* @__PURE__ */ C({
1231
+ }), zn = ["data-key", "aria-labelledby"], On = ["id"], Fn = /* @__PURE__ */ S({
1212
1232
  __name: "QListItemGroup",
1213
1233
  props: {
1214
1234
  id: {},
1215
1235
  title: { default: "" }
1216
1236
  },
1217
1237
  setup(n) {
1218
- const t = n, e = ie();
1219
- return (l, o) => (i(), f("ul", {
1238
+ const t = n, e = ue();
1239
+ return (l, o) => (u(), m("ul", {
1220
1240
  class: "q-list-item-group",
1221
1241
  role: "group",
1222
1242
  "data-key": t.id,
1223
- "aria-labelledby": t.title ? m(e) : void 0
1243
+ "aria-labelledby": t.title ? h(e) : void 0
1224
1244
  }, [
1225
- t.title ? (i(), f("li", {
1245
+ t.title ? (u(), m("li", {
1226
1246
  key: 0,
1227
- id: m(e),
1247
+ id: h(e),
1228
1248
  class: "q-list-item-group__title",
1229
1249
  role: "presentation"
1230
- }, E(t.title), 9, Fn)) : g("", !0),
1250
+ }, Q(t.title), 9, On)) : $("", !0),
1231
1251
  p(l.$slots, "default")
1232
- ], 8, Mn));
1252
+ ], 8, zn));
1233
1253
  }
1234
- }), Ue = I(In), ut = I(zn), ct = I(On), me = "data-scroll-locked", Ce = "right-scroll-bar-position", Ie = "width-before-scroll-bar", Pn = "with-scroll-bars-hidden", Un = "--removed-body-scroll-bar-size", Nn = {
1254
+ }), Ie = C(Cn), ut = C(Mn), ct = C(Fn), he = "data-scroll-locked", Ce = "right-scroll-bar-position", Ve = "width-before-scroll-bar", Pn = "with-scroll-bars-hidden", Un = "--removed-body-scroll-bar-size", Nn = {
1235
1255
  left: 0,
1236
1256
  top: 0,
1237
1257
  right: 0,
@@ -1253,24 +1273,24 @@ const ln = { class: "q-card__header" }, on = {
1253
1273
  function Hn() {
1254
1274
  return document ? document.createElement("style") : null;
1255
1275
  }
1256
- function jn(n, t) {
1276
+ function Kn(n, t) {
1257
1277
  n.appendChild(document.createTextNode(t));
1258
1278
  }
1259
- function Kn(n) {
1279
+ function Wn(n) {
1260
1280
  (document.head || document.getElementsByTagName("head")[0]).appendChild(n);
1261
1281
  }
1262
- const Wn = () => {
1282
+ const jn = () => {
1263
1283
  let n = 0, t = null;
1264
1284
  return {
1265
1285
  add: (e) => {
1266
- n === 0 && (t = Hn()) && (jn(t, e), Kn(t)), n++;
1286
+ n === 0 && (t = Hn()) && (Kn(t, e), Wn(t)), n++;
1267
1287
  },
1268
1288
  remove: () => {
1269
1289
  var e;
1270
1290
  n--, !n && t && ((e = t.parentNode) == null || e.removeChild(t), t = null);
1271
1291
  }
1272
1292
  };
1273
- }, Xn = /* @__PURE__ */ C({
1293
+ }, Xn = /* @__PURE__ */ S({
1274
1294
  __name: "QRemoveScrollBar",
1275
1295
  props: {
1276
1296
  noRelative: { type: Boolean, default: !1 },
@@ -1278,121 +1298,128 @@ const Wn = () => {
1278
1298
  gapMode: { default: "margin" }
1279
1299
  },
1280
1300
  setup(n) {
1281
- const t = n, e = Wn(), l = () => {
1282
- const s = parseInt(document.body.getAttribute(me) || "0", 10);
1301
+ const t = n, e = jn(), l = () => {
1302
+ const s = parseInt(document.body.getAttribute(he) || "0", 10);
1283
1303
  return isFinite(s) ? s : 0;
1284
- }, o = ({ left: s, top: a, right: d, gap: r }, u, b = "margin", x) => `
1304
+ }, o = ({ left: s, top: a, right: d, gap: i }, c, v = "margin", k) => `
1285
1305
  .${Pn} {
1286
- overflow: hidden ${x};
1287
- padding-right: ${r}px ${x};
1306
+ overflow: hidden ${k};
1307
+ padding-right: ${i}px ${k};
1288
1308
  }
1289
- body[${me}] {
1290
- overflow: hidden ${x};
1309
+ body[${he}] {
1310
+ overflow: hidden ${k};
1291
1311
  overscroll-behavior: contain;
1292
1312
  ${[
1293
- u && `position: relative ${x};`,
1294
- b === "margin" && `
1313
+ c && `position: relative ${k};`,
1314
+ v === "margin" && `
1295
1315
  padding-left: ${s}px;
1296
1316
  padding-top: ${a}px;
1297
1317
  padding-right: ${d}px;
1298
1318
  margin-left:0;
1299
1319
  margin-top:0;
1300
- margin-right: ${r}px ${x};
1320
+ margin-right: ${i}px ${k};
1301
1321
  `,
1302
- b === "padding" && `padding-right: ${r}px ${x};`
1322
+ v === "padding" && `padding-right: ${i}px ${k};`
1303
1323
  ].filter(Boolean).join("")}
1304
1324
  }
1305
1325
 
1306
1326
  .${Ce} {
1307
- right: ${r}px ${x};
1327
+ right: ${i}px ${k};
1308
1328
  }
1309
1329
 
1310
- .${Ie} {
1311
- margin-right: ${r}px ${x};
1330
+ .${Ve} {
1331
+ margin-right: ${i}px ${k};
1312
1332
  }
1313
1333
 
1314
1334
  .${Ce} .${Ce} {
1315
- right: 0 ${x};
1335
+ right: 0 ${k};
1316
1336
  }
1317
1337
 
1318
- .${Ie} .${Ie} {
1319
- margin-right: 0 ${x};
1338
+ .${Ve} .${Ve} {
1339
+ margin-right: 0 ${k};
1320
1340
  }
1321
1341
 
1322
- body[${me}] {
1323
- ${Un}: ${r}px;
1342
+ body[${he}] {
1343
+ ${Un}: ${i}px;
1324
1344
  }
1325
1345
  `;
1326
- return Me(() => {
1327
- document.body.setAttribute(me, (l() + 1).toString());
1346
+ return Oe(() => {
1347
+ document.body.setAttribute(he, (l() + 1).toString());
1328
1348
  const s = Gn(t.gapMode);
1329
1349
  e.add(
1330
1350
  o(s, !t.noRelative, t.gapMode, t.noImportant ? "" : "!important")
1331
1351
  );
1332
1352
  }), gt(() => {
1333
1353
  const s = l() - 1;
1334
- s <= 0 ? document.body.removeAttribute(me) : document.body.setAttribute(me, s.toString()), e.remove();
1354
+ s <= 0 ? document.body.removeAttribute(he) : document.body.setAttribute(he, s.toString()), e.remove();
1335
1355
  }), (s, a) => p(s.$slots, "default");
1336
1356
  }
1337
- }), Yn = I(Xn), qe = 8;
1357
+ }), Yn = C(Xn), qe = 8;
1338
1358
  function Zn(n, t, e, l) {
1339
- const o = (l == null ? void 0 : l.offset) ?? 0, s = (l == null ? void 0 : l.placement) ?? "bottom", a = n.getBoundingClientRect(), d = t.getBoundingClientRect(), r = e == null ? void 0 : e.getBoundingClientRect(), u = Jn(a, d, s, o), b = ll(a, d, u), x = tl(b, u, o), R = el(x, d, u);
1340
- let P;
1359
+ const o = (l == null ? void 0 : l.offset) ?? 0, s = (l == null ? void 0 : l.crossOffset) ?? 0, a = (l == null ? void 0 : l.placement) ?? "bottom", d = n.getBoundingClientRect(), i = t.getBoundingClientRect(), c = e == null ? void 0 : e.getBoundingClientRect(), v = Jn(d, i, a, o), k = ol(d, i, v), H = tl(k, v, o), K = nl(H, v, s), D = el(K, i, v);
1360
+ let g;
1341
1361
  if (l != null && l.arrow) {
1342
- if (!r)
1362
+ if (!c)
1343
1363
  throw new Error("[Quidgest UI] The arrow element must exist to compute its position");
1344
- P = nl(R, a, d, r, u);
1364
+ g = ll(D, d, i, c, v);
1345
1365
  }
1346
- return { overlayCoords: R, arrowCoords: P, placement: u };
1366
+ return { overlayCoords: D, arrowCoords: g, placement: v };
1347
1367
  }
1348
1368
  function Jn(n, t, e, l) {
1349
1369
  const o = Xe(n, t, e, l);
1350
1370
  if (Ye(o)) {
1351
- const s = $e(e), d = {
1371
+ const s = be(e), d = {
1352
1372
  top: "bottom",
1353
1373
  bottom: "top",
1354
1374
  left: "right",
1355
1375
  right: "left"
1356
- }[s], r = Xe(
1376
+ }[s], i = Xe(
1357
1377
  n,
1358
1378
  t,
1359
1379
  d,
1360
1380
  l
1361
1381
  );
1362
- if (Ye(r))
1382
+ if (Ye(i))
1363
1383
  return e;
1364
- const u = al(e);
1365
- return u ? `${d}-${u}` : d;
1384
+ const c = il(e);
1385
+ return c ? `${d}-${c}` : d;
1366
1386
  }
1367
1387
  return e;
1368
1388
  }
1369
1389
  function el(n, t, e) {
1370
- const l = xe(e), o = (a, d, r) => Math.min(Math.max(a, d), r), s = { ...n };
1390
+ const l = xe(e), o = (a, d, i) => Math.min(Math.max(a, d), i), s = { ...n };
1371
1391
  return l === "x" ? s.x = o(n.x, qe, window.innerWidth - t.width - qe) : s.y = o(n.y, qe, window.innerHeight - t.height - qe), s;
1372
1392
  }
1373
1393
  function tl(n, t, e) {
1374
- const l = $e(t);
1394
+ const l = be(t);
1375
1395
  return {
1376
1396
  x: n.x + (l === "left" ? -e : l === "right" ? e : 0),
1377
1397
  y: n.y + (l === "top" ? -e : l === "bottom" ? e : 0)
1378
1398
  };
1379
1399
  }
1380
- function nl(n, t, e, l, o) {
1400
+ function nl(n, t, e) {
1401
+ const l = be(t);
1402
+ return {
1403
+ x: n.x + (l === "top" || l === "bottom" ? e : 0),
1404
+ y: n.y + (l === "right" || l === "left" ? e : 0)
1405
+ };
1406
+ }
1407
+ function ll(n, t, e, l, o) {
1381
1408
  if (xe(o) === "y") {
1382
- const a = t.top + t.height / 2, d = n.y + e.height / 2, r = d - a, u = e.height / 2 - r - l.height / 2 + 2;
1383
- if (u > 0 && u < e.height - l.height)
1409
+ const a = t.top + t.height / 2, d = n.y + e.height / 2, i = d - a, c = e.height / 2 - i - l.height / 2 + 2;
1410
+ if (c > 0 && c < e.height - l.height)
1384
1411
  return {
1385
- y: u
1412
+ y: c
1386
1413
  };
1387
1414
  } else {
1388
- const a = t.left + t.width / 2, d = n.x + e.width / 2, r = d - a, u = e.width / 2 - r - l.width / 2 + 2;
1389
- if (u > 0 && u < e.width - l.width)
1415
+ const a = t.left + t.width / 2, d = n.x + e.width / 2, i = d - a, c = e.width / 2 - i - l.width / 2 + 2;
1416
+ if (c > 0 && c < e.width - l.width)
1390
1417
  return {
1391
- x: u
1418
+ x: c
1392
1419
  };
1393
1420
  }
1394
1421
  }
1395
- function ll(n, t, e) {
1422
+ function ol(n, t, e) {
1396
1423
  const [l, o] = e.split("-"), s = n.x + n.width / 2 - t.width / 2, a = n.y + n.height / 2 - t.height / 2;
1397
1424
  let d;
1398
1425
  switch (l) {
@@ -1413,13 +1440,13 @@ function ll(n, t, e) {
1413
1440
  }
1414
1441
  if (!o)
1415
1442
  return d;
1416
- const u = xe(e) === "y" ? "height" : "width", b = xe(e), x = n[u] / 2 - t[u] / 2;
1443
+ const c = xe(e) === "y" ? "height" : "width", v = xe(e), k = n[c] / 2 - t[c] / 2;
1417
1444
  switch (o) {
1418
1445
  case "start":
1419
- d[b] -= x;
1446
+ d[v] -= k;
1420
1447
  break;
1421
1448
  case "end":
1422
- d[b] += x;
1449
+ d[v] += k;
1423
1450
  break;
1424
1451
  default:
1425
1452
  throw new Error(`[Quidgest UI] Invalid alignment value: ${o}`);
@@ -1427,7 +1454,7 @@ function ll(n, t, e) {
1427
1454
  return d;
1428
1455
  }
1429
1456
  function Xe(n, t, e, l) {
1430
- const o = $e(e);
1457
+ const o = be(e);
1431
1458
  let s = 0;
1432
1459
  switch (o) {
1433
1460
  case "top":
@@ -1447,31 +1474,31 @@ function Xe(n, t, e, l) {
1447
1474
  }
1448
1475
  return s;
1449
1476
  }
1450
- function ol(n) {
1477
+ function sl(n) {
1451
1478
  return n === "x" ? "y" : "x";
1452
1479
  }
1453
- function sl(n) {
1454
- const t = $e(n);
1480
+ function al(n) {
1481
+ const t = be(n);
1455
1482
  return ["left", "right"].includes(t) ? "x" : "y";
1456
1483
  }
1457
1484
  function xe(n) {
1458
- return ol(sl(n));
1485
+ return sl(al(n));
1459
1486
  }
1460
- function $e(n) {
1487
+ function be(n) {
1461
1488
  const [t] = n.split("-");
1462
1489
  return t;
1463
1490
  }
1464
- function al(n) {
1491
+ function il(n) {
1465
1492
  const [, t] = n.split("-");
1466
1493
  return t;
1467
1494
  }
1468
1495
  function Ye(n) {
1469
1496
  return n < 0;
1470
1497
  }
1471
- function il(n) {
1498
+ function rl(n) {
1472
1499
  return typeof n == "string" ? document.querySelector(n) : n;
1473
1500
  }
1474
- const rl = ["role"], dl = /* @__PURE__ */ C({
1501
+ const dl = ["role"], ul = /* @__PURE__ */ S({
1475
1502
  inheritAttrs: !1,
1476
1503
  __name: "QOverlay",
1477
1504
  props: /* @__PURE__ */ G({
@@ -1486,6 +1513,7 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1486
1513
  nonModal: { type: Boolean },
1487
1514
  scrollLock: { type: Boolean },
1488
1515
  offset: { default: 8 },
1516
+ crossOffset: { default: 0 },
1489
1517
  persistent: { type: Boolean },
1490
1518
  placement: { default: "right" },
1491
1519
  spy: { type: Boolean },
@@ -1499,219 +1527,223 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1499
1527
  }),
1500
1528
  emits: /* @__PURE__ */ G(["enter", "leave"], ["update:modelValue"]),
1501
1529
  setup(n, { emit: t }) {
1502
- const e = n, l = t, o = K(n, "modelValue"), s = y(() => [
1530
+ const e = n, l = t, o = j(n, "modelValue"), s = y(() => [
1503
1531
  "q-overlay",
1504
- `q-overlay--${$e(u.placement)}`,
1532
+ `q-overlay--${be(c.placement)}`,
1505
1533
  {
1506
1534
  "q-overlay--independent": a.value,
1507
1535
  "q-overlay--inverted": e.appearance === "inverted"
1508
1536
  },
1509
1537
  e.class
1510
- ]), a = y(() => e.anchor === void 0), d = y(() => (o.value || u.animating) && !e.nonModal), r = y(() => (o.value || u.animating) && e.scrollLock), u = je({
1538
+ ]), a = y(() => e.anchor === void 0), d = y(() => (o.value || c.animating) && !e.nonModal), i = y(() => (o.value || c.animating) && e.scrollLock), c = Ke({
1511
1539
  animating: !1,
1512
1540
  top: 0,
1513
1541
  left: 0,
1514
1542
  width: 0,
1515
1543
  placement: e.placement
1516
- }), b = je({
1544
+ }), v = Ke({
1517
1545
  top: void 0,
1518
1546
  left: void 0,
1519
1547
  hidden: !0
1520
- }), x = y(() => u.top !== 0 && u.left !== 0);
1521
- Z(o, () => u.animating = !0);
1522
- const R = y(() => {
1548
+ }), k = y(() => c.top !== 0 && c.left !== 0);
1549
+ ne(o, () => c.animating = !0);
1550
+ const H = y(() => {
1523
1551
  if (a.value) return;
1524
- const L = v(), c = e.width === "anchor", k = c ? L == null ? void 0 : L.getBoundingClientRect().width : void 0;
1552
+ const r = b(), L = e.width === "anchor", T = L ? r == null ? void 0 : r.getBoundingClientRect().width : void 0;
1525
1553
  return {
1526
- top: `${u.top}px`,
1527
- left: `${u.left}px`,
1528
- width: k !== void 0 ? `${k}px` : void 0
1554
+ top: `${c.top}px`,
1555
+ left: `${c.left}px`,
1556
+ width: T !== void 0 ? `${T}px` : void 0
1529
1557
  };
1530
- }), P = y(() => {
1558
+ }), K = y(() => {
1531
1559
  if (e.arrow)
1532
1560
  return {
1533
- top: b.top !== void 0 ? `${b.top}px` : void 0,
1534
- left: b.left !== void 0 ? `${b.left}px` : void 0,
1535
- opacity: b.hidden ? 0 : 1
1561
+ top: v.top !== void 0 ? `${v.top}px` : void 0,
1562
+ left: v.left !== void 0 ? `${v.left}px` : void 0,
1563
+ opacity: v.hidden ? 0 : 1
1536
1564
  };
1537
- }), z = A(null), _ = A(null);
1538
- function V() {
1539
- const L = v();
1540
- if (!L || !_.value)
1565
+ }), D = V(null), g = V(null);
1566
+ function B() {
1567
+ const r = b();
1568
+ if (!r || !g.value)
1541
1569
  return;
1542
- const c = {
1570
+ const L = {
1543
1571
  placement: e.placement,
1544
1572
  width: e.width,
1545
1573
  offset: e.offset,
1574
+ crossOffset: e.crossOffset,
1546
1575
  arrow: e.arrow
1547
- }, k = Zn(
1548
- L,
1549
- _.value,
1550
- (z == null ? void 0 : z.value) ?? void 0,
1551
- c
1576
+ }, T = Zn(
1577
+ r,
1578
+ g.value,
1579
+ (D == null ? void 0 : D.value) ?? void 0,
1580
+ L
1552
1581
  );
1553
- u.left = k.overlayCoords.x, u.top = k.overlayCoords.y, u.placement = k.placement, b.hidden = k.arrowCoords === void 0, k.arrowCoords && (b.top = k.arrowCoords.y, b.left = k.arrowCoords.x);
1582
+ c.left = T.overlayCoords.x, c.top = T.overlayCoords.y, c.placement = T.placement, v.hidden = T.arrowCoords === void 0, T.arrowCoords && (v.top = T.arrowCoords.y, v.left = T.arrowCoords.x);
1554
1583
  }
1555
- Z(
1584
+ ne(
1556
1585
  () => e.placement,
1557
- () => te(V)
1586
+ () => oe(B)
1558
1587
  );
1559
1588
  let M;
1560
- function Q() {
1561
- ee(0);
1589
+ function F() {
1590
+ te(0);
1562
1591
  }
1563
- function oe() {
1564
- ee(e.delay);
1592
+ function ee() {
1593
+ te(e.delay);
1565
1594
  }
1566
- function ee(L) {
1567
- M || (M = window.setTimeout(() => {
1595
+ function te(r) {
1596
+ M && E(), M = window.setTimeout(() => {
1568
1597
  o.value = !0;
1569
- }, L));
1598
+ }, r);
1570
1599
  }
1571
- function N() {
1572
- if (clearTimeout(M), M = void 0, o.value = !1, e.anchor && e.trigger === "click") {
1573
- const L = v();
1574
- L == null || L.focus();
1600
+ function x() {
1601
+ if (M && E(), o.value = !1, e.anchor && e.trigger === "click") {
1602
+ const r = b();
1603
+ r == null || r.focus();
1575
1604
  }
1576
1605
  }
1577
- Z(x, () => te(se));
1578
- function se() {
1606
+ function E() {
1607
+ clearTimeout(M), M = void 0;
1608
+ }
1609
+ ne(k, () => oe(P));
1610
+ function P() {
1579
1611
  l("enter");
1580
1612
  }
1581
- let X;
1613
+ let le;
1582
1614
  function ce() {
1583
- window.clearTimeout(X), X = window.setTimeout(() => u.animating = !1, 200), l("leave");
1615
+ window.clearTimeout(le), le = window.setTimeout(() => c.animating = !1, 200), l("leave");
1584
1616
  }
1585
- function v() {
1586
- return e.anchor ? il(e.anchor) : null;
1617
+ function b() {
1618
+ return e.anchor ? rl(e.anchor) : null;
1587
1619
  }
1588
- let S;
1589
- function h() {
1590
- const L = v();
1591
- if (L)
1592
- switch (S = new MutationObserver(V), S.observe(L, {
1620
+ let f;
1621
+ function q() {
1622
+ const r = b();
1623
+ if (r)
1624
+ switch (f = new MutationObserver(B), f.observe(r, {
1593
1625
  attributes: !1,
1594
1626
  childList: !0,
1595
1627
  characterData: !0,
1596
1628
  subtree: !0
1597
1629
  }), e.trigger) {
1598
1630
  case "click":
1599
- L.addEventListener("click", Q);
1631
+ r.addEventListener("click", F);
1600
1632
  break;
1601
1633
  case "hover":
1602
- L.addEventListener("mouseenter", oe), L.addEventListener("mouseleave", N), L.addEventListener("focusin", Q), L.addEventListener("focusout", N);
1634
+ r.addEventListener("mouseenter", ee), r.addEventListener("mouseleave", x), r.addEventListener("focusin", F), r.addEventListener("focusout", x);
1603
1635
  break;
1604
1636
  }
1605
1637
  }
1606
- function $() {
1607
- const L = v();
1608
- if (L)
1609
- switch (S == null || S.disconnect(), e.trigger) {
1638
+ function z() {
1639
+ const r = b();
1640
+ if (r)
1641
+ switch (f == null || f.disconnect(), e.trigger) {
1610
1642
  case "click":
1611
- L.removeEventListener("click", Q);
1643
+ r.removeEventListener("click", F);
1612
1644
  break;
1613
1645
  case "hover":
1614
- L.removeEventListener("mouseenter", oe), L.removeEventListener("mouseleave", N), L.removeEventListener("focusin", Q), L.removeEventListener("focusout", N);
1646
+ r.removeEventListener("mouseenter", ee), r.removeEventListener("mouseleave", x), r.removeEventListener("focusin", F), r.removeEventListener("focusout", x);
1615
1647
  break;
1616
1648
  }
1617
1649
  }
1618
- function J() {
1619
- window.addEventListener("resize", V), e.scrollLock || window.addEventListener("scroll", V);
1650
+ function U() {
1651
+ window.addEventListener("resize", B), e.scrollLock || window.addEventListener("scroll", B);
1620
1652
  }
1621
- function re() {
1622
- window.removeEventListener("resize", V), e.scrollLock || window.removeEventListener("scroll", V);
1653
+ function Y() {
1654
+ window.removeEventListener("resize", B), e.scrollLock || window.removeEventListener("scroll", B);
1623
1655
  }
1624
- let Y;
1625
- function de() {
1626
- v() ? (V(), Y = window.setTimeout(de, 100)) : N();
1656
+ let W;
1657
+ function ie() {
1658
+ b() ? (B(), W = window.setTimeout(ie, 100)) : x();
1627
1659
  }
1628
1660
  function Be() {
1629
- a.value || (J(), e.spy ? de() : V()), (a.value || e.trigger === "click") && te(() => {
1630
- var L;
1631
- return (L = _.value) == null ? void 0 : L.focus();
1661
+ a.value || (U(), e.spy ? ie() : B()), (a.value || e.trigger === "click") && oe(() => {
1662
+ var r;
1663
+ return (r = g.value) == null ? void 0 : r.focus();
1632
1664
  });
1633
1665
  }
1634
- function ke() {
1635
- a.value || re(), e.spy && (clearTimeout(Y), Y = void 0), u.top = 0, u.left = 0;
1636
- }
1637
1666
  function we() {
1638
- e.persistent || N();
1667
+ a.value || Y(), e.spy && (clearTimeout(W), W = void 0), c.top = 0, c.left = 0;
1639
1668
  }
1640
- return Me(() => {
1641
- te(h);
1669
+ function ge() {
1670
+ e.persistent || x();
1671
+ }
1672
+ return Oe(() => {
1673
+ oe(q);
1642
1674
  }), _t(() => {
1643
- $(), ke();
1644
- }), Z(
1675
+ z(), we();
1676
+ }), ne(
1645
1677
  o,
1646
- (L) => {
1647
- te(() => L ? Be() : ke());
1678
+ (r) => {
1679
+ oe(() => r ? Be() : we());
1648
1680
  },
1649
1681
  { immediate: !0 }
1650
- ), (L, c) => (i(), f(U, null, [
1651
- (i(), B($t, {
1652
- disabled: !o.value && !u.animating || e.inline,
1682
+ ), (r, L) => (u(), m(R, null, [
1683
+ (u(), I($t, {
1684
+ disabled: !o.value && !c.animating || e.inline,
1653
1685
  to: e.attach
1654
1686
  }, [
1655
- d.value ? (i(), f("div", {
1687
+ d.value ? (u(), m("div", {
1656
1688
  key: 0,
1657
- class: T([
1689
+ class: A([
1658
1690
  e.backdropClass,
1659
1691
  "q-overlay__underlay",
1660
1692
  { "q-overlay__underlay--blur": e.backdropBlur }
1661
1693
  ])
1662
- }, null, 2)) : g("", !0),
1663
- D(kt, {
1694
+ }, null, 2)) : $("", !0),
1695
+ O(kt, {
1664
1696
  name: e.transition,
1665
1697
  appear: "",
1666
1698
  onLeave: ce
1667
1699
  }, {
1668
- default: w(() => [
1669
- o.value ? (i(), f("div", {
1700
+ default: _(() => [
1701
+ o.value ? (u(), m("div", {
1670
1702
  key: 0,
1671
- class: T(s.value),
1672
- style: fe(R.value)
1703
+ class: A(s.value),
1704
+ style: fe(H.value)
1673
1705
  }, [
1674
- q("div", H({
1706
+ w("div", X({
1675
1707
  ref_key: "overlayRef",
1676
- ref: _,
1708
+ ref: g,
1677
1709
  class: "q-overlay__content",
1678
1710
  tabindex: "-1",
1679
1711
  role: d.value ? "dialog" : void 0
1680
- }, L.$attrs, {
1681
- onKeydown: Ae(we, ["escape"]),
1682
- onBlur: we
1712
+ }, r.$attrs, {
1713
+ onKeydown: Ee(ge, ["escape"]),
1714
+ onBlur: ge
1683
1715
  }), [
1684
- e.arrow ? (i(), f("div", {
1716
+ e.arrow ? (u(), m("div", {
1685
1717
  key: 0,
1686
1718
  ref_key: "arrowRef",
1687
- ref: z,
1719
+ ref: D,
1688
1720
  role: "presentation",
1689
1721
  class: "q-overlay__arrow",
1690
- style: fe(P.value)
1691
- }, null, 4)) : g("", !0),
1692
- p(L.$slots, "default")
1693
- ], 16, rl)
1694
- ], 6)) : g("", !0)
1722
+ style: fe(K.value)
1723
+ }, null, 4)) : $("", !0),
1724
+ p(r.$slots, "default")
1725
+ ], 16, dl)
1726
+ ], 6)) : $("", !0)
1695
1727
  ]),
1696
1728
  _: 3
1697
1729
  }, 8, ["name"])
1698
1730
  ], 8, ["disabled", "to"])),
1699
- r.value ? (i(), B(m(Yn), { key: 0 })) : g("", !0)
1731
+ i.value ? (u(), I(h(Yn), { key: 0 })) : $("", !0)
1700
1732
  ], 64));
1701
1733
  }
1702
- }), ve = I(dl), ul = ["id"], cl = {
1734
+ }), pe = C(ul), cl = ["id"], fl = {
1703
1735
  key: 0,
1704
1736
  class: "q-field__label"
1705
- }, fl = ["for"], pl = {
1737
+ }, pl = ["for"], ml = {
1706
1738
  key: 0,
1707
1739
  class: "q-field__prepend"
1708
- }, ml = {
1740
+ }, hl = {
1709
1741
  key: 1,
1710
1742
  class: "q-field__append"
1711
- }, hl = {
1743
+ }, vl = {
1712
1744
  key: 1,
1713
1745
  class: "q-field__extras"
1714
- }, yl = /* @__PURE__ */ C({
1746
+ }, yl = /* @__PURE__ */ S({
1715
1747
  inheritAttrs: !1,
1716
1748
  __name: "QField",
1717
1749
  props: {
@@ -1725,12 +1757,12 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1725
1757
  class: { default: void 0 }
1726
1758
  },
1727
1759
  setup(n, { expose: t }) {
1728
- const e = n, l = ie(e.id), o = A(null), s = y(() => e.required && !e.readonly && !e.disabled);
1760
+ const e = n, l = ue(e.id), o = V(null), s = y(() => e.required && !e.readonly && !e.disabled);
1729
1761
  return t({
1730
1762
  fieldRef: o
1731
- }), (a, d) => (i(), f("div", {
1732
- id: m(l),
1733
- class: T([
1763
+ }), (a, d) => (u(), m("div", {
1764
+ id: h(l),
1765
+ class: A([
1734
1766
  "q-field",
1735
1767
  `q-field--${e.size}`,
1736
1768
  {
@@ -1741,34 +1773,34 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1741
1773
  e.class
1742
1774
  ])
1743
1775
  }, [
1744
- e.label ? (i(), f("div", cl, [
1776
+ e.label ? (u(), m("div", fl, [
1745
1777
  p(a.$slots, "label.prepend"),
1746
- q("label", {
1778
+ w("label", {
1747
1779
  for: e.for
1748
- }, E(e.label), 9, fl),
1780
+ }, Q(e.label), 9, pl),
1749
1781
  p(a.$slots, "label.append")
1750
- ])) : g("", !0),
1782
+ ])) : $("", !0),
1751
1783
  p(a.$slots, "control", {}, () => [
1752
- q("div", H({
1784
+ w("div", X({
1753
1785
  ref_key: "fieldRef",
1754
1786
  ref: o,
1755
1787
  class: "q-field__control"
1756
1788
  }, a.$attrs), [
1757
- a.$slots.prepend ? (i(), f("div", pl, [
1789
+ a.$slots.prepend ? (u(), m("div", ml, [
1758
1790
  p(a.$slots, "prepend")
1759
- ])) : g("", !0),
1791
+ ])) : $("", !0),
1760
1792
  p(a.$slots, "default"),
1761
- a.$slots.append ? (i(), f("div", ml, [
1793
+ a.$slots.append ? (u(), m("div", hl, [
1762
1794
  p(a.$slots, "append")
1763
- ])) : g("", !0)
1795
+ ])) : $("", !0)
1764
1796
  ], 16)
1765
1797
  ]),
1766
- a.$slots.extras ? (i(), f("div", hl, [
1798
+ a.$slots.extras ? (u(), m("div", vl, [
1767
1799
  p(a.$slots, "extras")
1768
- ])) : g("", !0)
1769
- ], 10, ul));
1800
+ ])) : $("", !0)
1801
+ ], 10, cl));
1770
1802
  }
1771
- }), Le = I(yl), vl = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], bl = /* @__PURE__ */ C({
1803
+ }), Se = C(yl), bl = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], gl = /* @__PURE__ */ S({
1772
1804
  inheritAttrs: !1,
1773
1805
  __name: "QTextField",
1774
1806
  props: /* @__PURE__ */ G({
@@ -1789,38 +1821,38 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1789
1821
  }),
1790
1822
  emits: ["update:modelValue"],
1791
1823
  setup(n, { expose: t }) {
1792
- const e = n, l = K(n, "modelValue"), o = ie(e.id), s = A(null), a = A(null), d = y(
1824
+ const e = n, l = j(n, "modelValue"), o = ue(e.id), s = V(null), a = V(null), d = y(
1793
1825
  () => e.readonly || e.disabled ? "" : e.placeholder
1794
1826
  );
1795
1827
  return t({
1796
1828
  fieldRef: y(() => {
1797
- var r;
1798
- return (r = s.value) == null ? void 0 : r.fieldRef;
1829
+ var i;
1830
+ return (i = s.value) == null ? void 0 : i.fieldRef;
1799
1831
  }),
1800
1832
  inputRef: a
1801
- }), (r, u) => (i(), B(m(Le), {
1833
+ }), (i, c) => (u(), I(h(Se), {
1802
1834
  ref_key: "fieldRef",
1803
1835
  ref: s,
1804
- class: T(["q-text-field", e.class]),
1805
- for: m(o),
1836
+ class: A(["q-text-field", e.class]),
1837
+ for: h(o),
1806
1838
  label: e.label,
1807
1839
  size: e.size,
1808
1840
  readonly: e.readonly,
1809
1841
  disabled: e.disabled,
1810
1842
  required: e.required
1811
1843
  }, ye({
1812
- "label.prepend": w(() => [
1813
- p(r.$slots, "label.prepend")
1844
+ "label.prepend": _(() => [
1845
+ p(i.$slots, "label.prepend")
1814
1846
  ]),
1815
- "label.append": w(() => [
1816
- p(r.$slots, "label.append")
1847
+ "label.append": _(() => [
1848
+ p(i.$slots, "label.append")
1817
1849
  ]),
1818
- default: w(() => [
1819
- wt(q("input", H({
1820
- id: m(o),
1850
+ default: _(() => [
1851
+ wt(w("input", X({
1852
+ id: h(o),
1821
1853
  ref_key: "inputRef",
1822
1854
  ref: a,
1823
- "onUpdate:modelValue": u[0] || (u[0] = (b) => l.value = b),
1855
+ "onUpdate:modelValue": c[0] || (c[0] = (v) => l.value = v),
1824
1856
  class: "q-text-field__input",
1825
1857
  type: e.type,
1826
1858
  role: e.role,
@@ -1829,53 +1861,53 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1829
1861
  readonly: e.readonly,
1830
1862
  disabled: e.disabled,
1831
1863
  maxlength: e.maxLength
1832
- }, r.$attrs), null, 16, vl), [
1864
+ }, i.$attrs), null, 16, bl), [
1833
1865
  [qt, l.value]
1834
1866
  ])
1835
1867
  ]),
1836
1868
  _: 2
1837
1869
  }, [
1838
- r.$slots.prepend ? {
1870
+ i.$slots.prepend ? {
1839
1871
  name: "prepend",
1840
- fn: w(() => [
1841
- p(r.$slots, "prepend")
1872
+ fn: _(() => [
1873
+ p(i.$slots, "prepend")
1842
1874
  ]),
1843
1875
  key: "0"
1844
1876
  } : void 0,
1845
- r.$slots.append ? {
1877
+ i.$slots.append ? {
1846
1878
  name: "append",
1847
- fn: w(() => [
1848
- p(r.$slots, "append")
1879
+ fn: _(() => [
1880
+ p(i.$slots, "append")
1849
1881
  ]),
1850
1882
  key: "1"
1851
1883
  } : void 0,
1852
- r.$slots.extras ? {
1884
+ i.$slots.extras ? {
1853
1885
  name: "extras",
1854
- fn: w(() => [
1855
- p(r.$slots, "extras")
1886
+ fn: _(() => [
1887
+ p(i.$slots, "extras")
1856
1888
  ]),
1857
1889
  key: "2"
1858
1890
  } : void 0
1859
1891
  ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
1860
1892
  }
1861
- }), ft = I(bl), gl = {
1893
+ }), ft = C(gl), _l = {
1862
1894
  noData: "No data available",
1863
1895
  clearValue: "Clear value",
1864
1896
  showOptions: "Show options"
1865
- }, _l = {
1897
+ }, $l = {
1866
1898
  chevron: {
1867
1899
  icon: "chevron-down"
1868
1900
  },
1869
1901
  clear: {
1870
1902
  icon: "close"
1871
1903
  }
1872
- }, $l = ["data-key"], kl = {
1904
+ }, kl = ["data-key"], wl = {
1873
1905
  key: 0,
1874
1906
  class: "q-select__loader"
1875
- }, wl = {
1907
+ }, ql = {
1876
1908
  key: 2,
1877
1909
  class: "q-select__loader"
1878
- }, ql = /* @__PURE__ */ C({
1910
+ }, xl = /* @__PURE__ */ S({
1879
1911
  inheritAttrs: !1,
1880
1912
  __name: "QCombobox",
1881
1913
  props: /* @__PURE__ */ G({
@@ -1896,8 +1928,8 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1896
1928
  emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
1897
1929
  size: { default: void 0 },
1898
1930
  class: { default: void 0 },
1899
- icons: { default: () => _l },
1900
- texts: { default: () => gl }
1931
+ icons: { default: () => $l },
1932
+ texts: { default: () => _l }
1901
1933
  }, {
1902
1934
  modelValue: {
1903
1935
  type: [String, Number, Boolean, Symbol]
@@ -1910,152 +1942,152 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
1910
1942
  }),
1911
1943
  emits: /* @__PURE__ */ G(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
1912
1944
  setup(n, { expose: t, emit: e }) {
1913
- const l = n, o = e, s = K(n, "modelValue"), a = K(n, "open"), d = K(n, "search"), r = A(void 0), u = A(null), b = A(null), x = A(null), R = A(null);
1914
- Me(N);
1915
- const P = y(() => l.clearable && !l.readonly && !l.disabled), z = y(() => {
1916
- var c;
1917
- return l.filterMode === "manual" || !oe.value ? l.items : (c = l.items) == null ? void 0 : c.filter(
1918
- (k) => k[l.itemLabel].toLowerCase().startsWith(d.value.toLowerCase())
1945
+ const l = n, o = e, s = j(n, "modelValue"), a = j(n, "open"), d = j(n, "search"), i = V(void 0), c = V(null), v = V(null), k = V(null), H = V(null);
1946
+ Oe(x);
1947
+ const K = y(() => l.clearable && !l.readonly && !l.disabled), D = y(() => {
1948
+ var r;
1949
+ return l.filterMode === "manual" || !ee.value ? l.items : (r = l.items) == null ? void 0 : r.filter(
1950
+ (L) => L[l.itemLabel].toLowerCase().startsWith(d.value.toLowerCase())
1919
1951
  );
1920
- }), _ = y(() => {
1921
- var c;
1922
- return (c = l.items) == null ? void 0 : c.find((k) => k[l.itemValue] === s.value);
1923
- }), V = y(() => _.value === void 0), M = y(() => {
1924
- const c = r.value;
1925
- if (c !== void 0 && z.value[c])
1926
- return z.value[c];
1927
- }), Q = y(() => {
1928
- var k;
1929
- if (r.value === void 0)
1952
+ }), g = y(() => {
1953
+ var r;
1954
+ return (r = l.items) == null ? void 0 : r.find((L) => L[l.itemValue] === s.value);
1955
+ }), B = y(() => g.value === void 0), M = y(() => {
1956
+ const r = i.value;
1957
+ if (r !== void 0 && D.value[r])
1958
+ return D.value[r];
1959
+ }), F = y(() => {
1960
+ var L;
1961
+ if (i.value === void 0)
1930
1962
  return;
1931
- const c = (k = b.value) == null ? void 0 : k.getItem(r.value);
1932
- return c == null ? void 0 : c.id;
1933
- }), oe = y(() => {
1934
- var c;
1935
- return d.value.length > 0 && d.value !== ((c = _.value) == null ? void 0 : c[l.itemLabel]);
1963
+ const r = (L = v.value) == null ? void 0 : L.getItem(i.value);
1964
+ return r == null ? void 0 : r.id;
1965
+ }), ee = y(() => {
1966
+ var r;
1967
+ return d.value.length > 0 && d.value !== ((r = g.value) == null ? void 0 : r[l.itemLabel]);
1936
1968
  });
1937
- function ee(c) {
1938
- s.value = c, X();
1969
+ function te(r) {
1970
+ s.value = r, P();
1939
1971
  }
1940
- function N() {
1941
- var k;
1942
- const c = ((k = _.value) == null ? void 0 : k[l.itemLabel]) || "";
1943
- d.value !== c && (d.value = c);
1972
+ function x() {
1973
+ var L;
1974
+ const r = ((L = g.value) == null ? void 0 : L[l.itemLabel]) || "";
1975
+ d.value !== r && (d.value = r);
1944
1976
  }
1945
- function se() {
1946
- a.value || l.readonly || l.disabled || (o("before-show"), a.value = !0, de());
1977
+ function E() {
1978
+ a.value || l.readonly || l.disabled || (o("before-show"), a.value = !0, W());
1947
1979
  }
1948
- function X() {
1949
- a.value && (o("before-hide"), a.value = !1, r.value = void 0);
1980
+ function P() {
1981
+ a.value && (o("before-hide"), a.value = !1, i.value = void 0);
1950
1982
  }
1951
- function ce() {
1952
- a.value ? X() : S();
1983
+ function le() {
1984
+ a.value ? P() : b();
1953
1985
  }
1954
- function v() {
1955
- P.value && (s.value = l.emptyValue, r.value = void 0, de());
1986
+ function ce() {
1987
+ K.value && (s.value = l.emptyValue, i.value = void 0, W());
1956
1988
  }
1957
- function S() {
1958
- if (se(), _.value !== void 0) {
1959
- const c = z.value.indexOf(_.value);
1960
- c !== -1 && te(() => L(c));
1989
+ function b() {
1990
+ if (E(), g.value !== void 0) {
1991
+ const r = D.value.indexOf(g.value);
1992
+ r !== -1 && oe(() => ge(r));
1961
1993
  }
1962
1994
  }
1963
- function h(c) {
1964
- var k, F;
1965
- if (!(!c.key || l.readonly || l.disabled))
1966
- if (["ArrowDown", "ArrowUp", "Home", "End"].includes(c.key) && (c.preventDefault(), c.stopPropagation()), c.key === "Escape")
1967
- N(), a.value && X();
1968
- else if (["ArrowDown", "ArrowUp"].includes(c.key))
1969
- a.value ? te(() => {
1970
- if (r.value === void 0)
1971
- $();
1995
+ function f(r) {
1996
+ var L, T;
1997
+ if (!(!r.key || l.readonly || l.disabled))
1998
+ if (["ArrowDown", "ArrowUp", "Home", "End"].includes(r.key) && (r.preventDefault(), r.stopPropagation()), r.key === "Escape")
1999
+ x(), a.value && P();
2000
+ else if (["ArrowDown", "ArrowUp"].includes(r.key))
2001
+ a.value ? oe(() => {
2002
+ if (i.value === void 0)
2003
+ q();
1972
2004
  else {
1973
- const j = c.key === "ArrowDown" ? "next" : "prev";
1974
- re(r.value, j);
2005
+ const Z = r.key === "ArrowDown" ? "next" : "prev";
2006
+ U(i.value, Z);
1975
2007
  }
1976
- }) : (se(), te(() => {
1977
- c.key === "ArrowDown" ? $() : J();
2008
+ }) : (E(), oe(() => {
2009
+ r.key === "ArrowDown" ? q() : z();
1978
2010
  }));
1979
- else if (c.key === "Enter") {
2011
+ else if (r.key === "Enter") {
1980
2012
  if (M.value === void 0) return;
1981
- ee(M.value[l.itemValue]);
1982
- } else c.key === "Home" ? r.value = (k = b.value) == null ? void 0 : k.getFirstFocusableItemIndex() : c.key === "End" ? r.value = (F = b.value) == null ? void 0 : F.getLastFocusableItemIndex() : (/^[a-z]$/i.test(c.key) || c.key === "Backspace") && se();
2013
+ te(M.value[l.itemValue]);
2014
+ } else r.key === "Home" ? i.value = (L = v.value) == null ? void 0 : L.getFirstFocusableItemIndex() : r.key === "End" ? i.value = (T = v.value) == null ? void 0 : T.getLastFocusableItemIndex() : (/^[a-z]$/i.test(r.key) || r.key === "Backspace") && E();
1983
2015
  }
1984
- function $() {
1985
- var c, k;
1986
- if (V.value)
1987
- r.value = (k = b.value) == null ? void 0 : k.getFirstFocusableItemIndex();
2016
+ function q() {
2017
+ var r, L;
2018
+ if (B.value)
2019
+ i.value = (L = v.value) == null ? void 0 : L.getFirstFocusableItemIndex();
1988
2020
  else {
1989
- const F = z.value.findIndex(
1990
- (j) => j[l.itemValue] === s.value
2021
+ const T = D.value.findIndex(
2022
+ (Z) => Z[l.itemValue] === s.value
1991
2023
  );
1992
- F === -1 ? r.value = (c = b.value) == null ? void 0 : c.getFirstFocusableItemIndex() : r.value = F;
2024
+ T === -1 ? i.value = (r = v.value) == null ? void 0 : r.getFirstFocusableItemIndex() : i.value = T;
1993
2025
  }
1994
2026
  }
1995
- function J() {
1996
- var c;
1997
- r.value = (c = b.value) == null ? void 0 : c.getLastFocusableItemIndex();
2027
+ function z() {
2028
+ var r;
2029
+ i.value = (r = v.value) == null ? void 0 : r.getLastFocusableItemIndex();
1998
2030
  }
1999
- function re(c, k) {
2000
- var F;
2001
- r.value = (F = b.value) == null ? void 0 : F.getAdjacentItemIndex(c, k);
2031
+ function U(r, L) {
2032
+ var T;
2033
+ i.value = (T = v.value) == null ? void 0 : T.getAdjacentItemIndex(r, L);
2002
2034
  }
2003
- function Y(c) {
2004
- var pe, Ne, Re, Ge;
2005
- const k = ((pe = x == null ? void 0 : x.value) == null ? void 0 : pe.$el) === c.relatedTarget, F = (Re = (Ne = u == null ? void 0 : u.value) == null ? void 0 : Ne.$el) == null ? void 0 : Re.contains(c.relatedTarget), j = (Ge = R == null ? void 0 : R.value) == null ? void 0 : Ge.contains(c.relatedTarget);
2006
- if (k || j || F) {
2007
- c.preventDefault(), c.stopPropagation();
2035
+ function Y(r) {
2036
+ var me, Ne, Re, Ge;
2037
+ const L = ((me = k == null ? void 0 : k.value) == null ? void 0 : me.$el) === r.relatedTarget, T = (Re = (Ne = c == null ? void 0 : c.value) == null ? void 0 : Ne.$el) == null ? void 0 : Re.contains(r.relatedTarget), Z = (Ge = H == null ? void 0 : H.value) == null ? void 0 : Ge.contains(r.relatedTarget);
2038
+ if (L || Z || T) {
2039
+ r.preventDefault(), r.stopPropagation();
2008
2040
  return;
2009
2041
  }
2010
- X(), P.value && !d.value && (s.value = l.emptyValue), N();
2042
+ P(), K.value && !d.value && (s.value = l.emptyValue), x();
2011
2043
  }
2012
- function de() {
2013
- var c, k;
2014
- (k = (c = u.value) == null ? void 0 : c.inputRef) == null || k.focus();
2044
+ function W() {
2045
+ var r, L;
2046
+ (L = (r = c.value) == null ? void 0 : r.inputRef) == null || L.focus();
2015
2047
  }
2016
- function Be() {
2017
- de();
2048
+ function ie() {
2049
+ W();
2018
2050
  }
2019
- function ke() {
2051
+ function Be() {
2020
2052
  o("show");
2021
2053
  }
2022
2054
  function we() {
2023
2055
  o("hide");
2024
2056
  }
2025
- function L(c) {
2026
- var F;
2027
- const k = (F = b.value) == null ? void 0 : F.getItem(c);
2028
- b.value && (b.value.$el.scrollTop = k == null ? void 0 : k.offsetTop);
2057
+ function ge(r) {
2058
+ var T;
2059
+ const L = (T = v.value) == null ? void 0 : T.getItem(r);
2060
+ v.value && (v.value.$el.scrollTop = L == null ? void 0 : L.offsetTop);
2029
2061
  }
2030
- return Z(s, N), Z(
2062
+ return ne(s, x), ne(
2031
2063
  () => l.items,
2032
- (c, k) => {
2033
- if (!V.value) {
2034
- const F = k.find((j) => j[l.itemValue] === s.value);
2035
- d.value === (F == null ? void 0 : F[l.itemLabel]) && N();
2064
+ (r, L) => {
2065
+ if (!B.value) {
2066
+ const T = L.find((Z) => Z[l.itemValue] === s.value);
2067
+ d.value === (T == null ? void 0 : T[l.itemLabel]) && x();
2036
2068
  }
2037
2069
  },
2038
2070
  { deep: !0 }
2039
- ), Z(r, (c) => {
2040
- c !== void 0 && L(c);
2041
- }), Z(d, (c) => {
2042
- c && a.value && l.selectionMode === "automatic" && te($);
2043
- }), Z(
2071
+ ), ne(i, (r) => {
2072
+ r !== void 0 && ge(r);
2073
+ }), ne(d, (r) => {
2074
+ r && a.value && l.selectionMode === "automatic" && oe(q);
2075
+ }), ne(
2044
2076
  () => l.loading,
2045
- (c) => {
2046
- !c && a.value && te($);
2077
+ (r) => {
2078
+ !r && a.value && oe(q);
2047
2079
  }
2048
2080
  ), t({
2049
- triggerEl: u
2050
- }), (c, k) => {
2051
- var F;
2052
- return i(), f(U, null, [
2053
- D(m(ft), H({
2081
+ triggerEl: c
2082
+ }), (r, L) => {
2083
+ var T;
2084
+ return u(), m(R, null, [
2085
+ O(h(ft), X({
2054
2086
  id: l.id,
2055
2087
  ref_key: "triggerEl",
2056
- ref: u,
2088
+ ref: c,
2057
2089
  modelValue: d.value,
2058
- "onUpdate:modelValue": k[0] || (k[0] = (j) => d.value = j),
2090
+ "onUpdate:modelValue": L[0] || (L[0] = (Z) => d.value = Z),
2059
2091
  label: l.label,
2060
2092
  required: l.required,
2061
2093
  role: "combobox",
@@ -2076,122 +2108,122 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2076
2108
  "aria-expanded": a.value,
2077
2109
  "aria-haspopup": "listbox",
2078
2110
  "aria-autocomplete": "list",
2079
- "aria-activedescendant": Q.value,
2111
+ "aria-activedescendant": F.value,
2080
2112
  size: l.size
2081
- }, c.$attrs, {
2082
- onClick: S,
2113
+ }, r.$attrs, {
2114
+ onClick: b,
2083
2115
  onFocusout: Y,
2084
- onKeydown: ue(h, ["stop"])
2116
+ onKeydown: re(f, ["stop"])
2085
2117
  }), ye({
2086
- "label.prepend": w(() => [
2087
- p(c.$slots, "label.prepend")
2118
+ "label.prepend": _(() => [
2119
+ p(r.$slots, "label.prepend")
2088
2120
  ]),
2089
- "label.append": w(() => [
2090
- p(c.$slots, "label.append")
2121
+ "label.append": _(() => [
2122
+ p(r.$slots, "label.append")
2091
2123
  ]),
2092
- append: w(() => [
2093
- p(c.$slots, "append"),
2094
- P.value && d.value ? (i(), B(m(le), {
2124
+ append: _(() => [
2125
+ p(r.$slots, "append"),
2126
+ K.value && d.value ? (u(), I(h(ae), {
2095
2127
  key: 0,
2096
2128
  class: "q-combobox__clear",
2097
2129
  "aria-label": l.texts.clearValue,
2098
2130
  "b-style": "plain",
2099
2131
  borderless: "",
2100
2132
  tabindex: "-1",
2101
- onClick: v
2133
+ onClick: ce
2102
2134
  }, {
2103
- default: w(() => [
2104
- D(m(O), W(ne(l.icons.clear)), null, 16)
2135
+ default: _(() => [
2136
+ O(h(N), J(se(l.icons.clear)), null, 16)
2105
2137
  ]),
2106
2138
  _: 1
2107
- }, 8, ["aria-label"])) : g("", !0),
2108
- l.readonly ? g("", !0) : (i(), B(m(le), {
2139
+ }, 8, ["aria-label"])) : $("", !0),
2140
+ l.readonly ? $("", !0) : (u(), I(h(ae), {
2109
2141
  key: 1,
2110
2142
  ref_key: "toggleRef",
2111
- ref: x,
2143
+ ref: k,
2112
2144
  class: "q-combobox__chevron",
2113
2145
  "aria-label": l.texts.showOptions,
2114
2146
  "b-style": "plain",
2115
2147
  borderless: "",
2116
2148
  tabindex: "-1",
2117
2149
  disabled: l.disabled,
2118
- onMousedown: ue(ce, ["stop", "prevent"])
2150
+ onMousedown: re(le, ["stop", "prevent"])
2119
2151
  }, {
2120
- default: w(() => [
2121
- D(m(O), W(ne(l.icons.chevron)), null, 16)
2152
+ default: _(() => [
2153
+ O(h(N), J(se(l.icons.chevron)), null, 16)
2122
2154
  ]),
2123
2155
  _: 1
2124
2156
  }, 8, ["aria-label", "disabled"]))
2125
2157
  ]),
2126
2158
  _: 2
2127
2159
  }, [
2128
- c.$slots.prepend ? {
2160
+ r.$slots.prepend ? {
2129
2161
  name: "prepend",
2130
- fn: w(() => [
2131
- p(c.$slots, "prepend")
2162
+ fn: _(() => [
2163
+ p(r.$slots, "prepend")
2132
2164
  ]),
2133
2165
  key: "0"
2134
2166
  } : void 0,
2135
- c.$slots.extras ? {
2167
+ r.$slots.extras ? {
2136
2168
  name: "extras",
2137
- fn: w(() => [
2138
- p(c.$slots, "extras")
2169
+ fn: _(() => [
2170
+ p(r.$slots, "extras")
2139
2171
  ]),
2140
2172
  key: "1"
2141
2173
  } : void 0
2142
2174
  ]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
2143
- D(m(ve), {
2175
+ O(h(pe), {
2144
2176
  modelValue: a.value,
2145
- "onUpdate:modelValue": k[2] || (k[2] = (j) => a.value = j),
2177
+ "onUpdate:modelValue": L[2] || (L[2] = (Z) => a.value = Z),
2146
2178
  spy: "",
2147
2179
  "non-modal": "",
2148
2180
  trigger: "manual",
2149
2181
  placement: "bottom-start",
2150
2182
  width: "anchor",
2151
2183
  offset: 4,
2152
- anchor: (F = u.value) == null ? void 0 : F.$el,
2153
- onEnter: ke,
2184
+ anchor: (T = c.value) == null ? void 0 : T.$el,
2185
+ onEnter: Be,
2154
2186
  onLeave: we
2155
2187
  }, {
2156
- default: w(() => {
2157
- var j;
2188
+ default: _(() => {
2189
+ var Z;
2158
2190
  return [
2159
- q("div", {
2191
+ w("div", {
2160
2192
  ref_key: "contentRef",
2161
- ref: R,
2193
+ ref: H,
2162
2194
  class: "q-select__body",
2163
2195
  "data-testid": "combobox-dropdown",
2164
2196
  "data-key": l.id,
2165
2197
  onFocusout: Y
2166
2198
  }, [
2167
- p(c.$slots, "body.prepend"),
2168
- l.loading ? (i(), f("div", kl, [
2169
- D(m(_e), { size: 24 })
2170
- ])) : z.value.length ? (i(), B(m(Ue), {
2199
+ p(r.$slots, "body.prepend"),
2200
+ l.loading ? (u(), m("div", wl, [
2201
+ O(h(ke), { size: 24 })
2202
+ ])) : D.value.length ? (u(), I(h(Ie), {
2171
2203
  key: 1,
2172
2204
  ref_key: "listRef",
2173
- ref: b,
2205
+ ref: v,
2174
2206
  modelValue: s.value,
2175
2207
  "onUpdate:modelValue": [
2176
- k[1] || (k[1] = (pe) => s.value = pe),
2177
- ee
2208
+ L[1] || (L[1] = (me) => s.value = me),
2209
+ te
2178
2210
  ],
2179
2211
  class: "q-select__items",
2180
2212
  selectable: "",
2181
- highlighted: (j = M.value) == null ? void 0 : j[l.itemValue],
2182
- items: z.value,
2183
- groups: c.groups,
2213
+ highlighted: (Z = M.value) == null ? void 0 : Z[l.itemValue],
2214
+ items: D.value,
2215
+ groups: r.groups,
2184
2216
  "item-label": l.itemLabel,
2185
2217
  "item-value": l.itemValue,
2186
- onMouseup: Be
2218
+ onMouseup: ie
2187
2219
  }, {
2188
- item: w(({ item: pe }) => [
2189
- p(c.$slots, "item", { item: pe })
2220
+ item: _(({ item: me }) => [
2221
+ p(r.$slots, "item", { item: me })
2190
2222
  ]),
2191
2223
  _: 3
2192
- }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (i(), f("div", wl, E(l.texts.noData), 1)),
2193
- p(c.$slots, "body.append")
2194
- ], 40, $l)
2224
+ }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (u(), m("div", ql, Q(l.texts.noData), 1)),
2225
+ p(r.$slots, "body.append")
2226
+ ], 40, kl)
2195
2227
  ];
2196
2228
  }),
2197
2229
  _: 3
@@ -2199,7 +2231,7 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2199
2231
  ], 64);
2200
2232
  };
2201
2233
  }
2202
- }), xl = I(ql), Sl = [
2234
+ }), Ll = C(xl), Il = [
2203
2235
  {
2204
2236
  id: "button",
2205
2237
  icon: {
@@ -2210,26 +2242,26 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2210
2242
  label: "Ok"
2211
2243
  }
2212
2244
  }
2213
- ], Ll = {
2245
+ ], Sl = {
2214
2246
  icon: "check-circle-outline"
2215
2247
  }, Bl = {
2216
2248
  close: {
2217
2249
  icon: "close"
2218
2250
  }
2219
- }, Cl = { class: "q-dialog__header" }, Il = { class: "q-dialog__header-title" }, Tl = { class: "q-dialog__body" }, Vl = {
2251
+ }, Cl = { class: "q-dialog__header" }, Vl = { class: "q-dialog__header-title" }, Tl = { class: "q-dialog__body" }, Al = {
2220
2252
  key: 0,
2221
2253
  class: "q-dialog__body-icon"
2222
- }, Al = { class: "q-dialog__body-text" }, El = ["innerHTML"], Ql = { key: 1 }, Dl = { class: "q-dialog__body-actions" }, zl = /* @__PURE__ */ C({
2254
+ }, El = { class: "q-dialog__body-text" }, Dl = ["innerHTML"], Ql = { key: 1 }, Ml = { class: "q-dialog__body-actions" }, zl = /* @__PURE__ */ S({
2223
2255
  __name: "QDialog",
2224
2256
  props: /* @__PURE__ */ G({
2225
2257
  text: { default: "" },
2226
2258
  attach: { default: "body" },
2227
2259
  inline: { type: Boolean },
2228
2260
  backdropBlur: { type: Boolean, default: !0 },
2229
- buttons: { default: () => Sl },
2261
+ buttons: { default: () => Il },
2230
2262
  dismissible: { type: Boolean },
2231
2263
  html: { type: Boolean, default: !0 },
2232
- icon: { default: () => Ll },
2264
+ icon: { default: () => Sl },
2233
2265
  id: { default: void 0 },
2234
2266
  title: { default: "" },
2235
2267
  class: { default: void 0 },
@@ -2240,16 +2272,16 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2240
2272
  }),
2241
2273
  emits: ["update:modelValue"],
2242
2274
  setup(n) {
2243
- const t = n, e = K(n, "modelValue"), l = ie(t.id), o = y(() => ["q-dialog", t.class]);
2275
+ const t = n, e = j(n, "modelValue"), l = ue(t.id), o = y(() => ["q-dialog", t.class]);
2244
2276
  function s() {
2245
2277
  e.value = !1;
2246
2278
  }
2247
2279
  function a(d) {
2248
- var r;
2249
- (r = d.action) == null || r.call(d), s();
2280
+ var i;
2281
+ (i = d.action) == null || i.call(d), s();
2250
2282
  }
2251
- return (d, r) => (i(), B(m(ve), {
2252
- id: m(l),
2283
+ return (d, i) => (u(), I(h(pe), {
2284
+ id: h(l),
2253
2285
  "model-value": e.value,
2254
2286
  inline: t.inline,
2255
2287
  attach: t.attach,
@@ -2258,49 +2290,49 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2258
2290
  "scroll-lock": "",
2259
2291
  persistent: ""
2260
2292
  }, {
2261
- default: w(() => [
2262
- q("div", {
2263
- class: T(o.value)
2293
+ default: _(() => [
2294
+ w("div", {
2295
+ class: A(o.value)
2264
2296
  }, [
2265
- q("div", Cl, [
2266
- q("span", Il, E(t.title), 1),
2267
- t.dismissible ? (i(), B(m(le), {
2297
+ w("div", Cl, [
2298
+ w("span", Vl, Q(t.title), 1),
2299
+ t.dismissible ? (u(), I(h(ae), {
2268
2300
  key: 0,
2269
2301
  "b-style": "tertiary",
2270
2302
  onClick: s
2271
2303
  }, {
2272
- default: w(() => [
2273
- D(m(O), W(ne(t.icons.close)), null, 16)
2304
+ default: _(() => [
2305
+ O(h(N), J(se(t.icons.close)), null, 16)
2274
2306
  ]),
2275
2307
  _: 1
2276
- })) : g("", !0)
2308
+ })) : $("", !0)
2277
2309
  ]),
2278
2310
  p(d.$slots, "body.content", {}, () => [
2279
- q("div", Tl, [
2311
+ w("div", Tl, [
2280
2312
  p(d.$slots, "body.icon", {}, () => [
2281
- t.icon ? (i(), f("span", Vl, [
2282
- D(m(O), W(ne(t.icon)), null, 16)
2283
- ])) : g("", !0)
2313
+ t.icon ? (u(), m("span", Al, [
2314
+ O(h(N), J(se(t.icon)), null, 16)
2315
+ ])) : $("", !0)
2284
2316
  ]),
2285
- q("div", Al, [
2286
- t.html ? (i(), f("span", {
2317
+ w("div", El, [
2318
+ t.html ? (u(), m("span", {
2287
2319
  key: 0,
2288
2320
  innerHTML: t.text
2289
- }, null, 8, El)) : (i(), f("span", Ql, E(t.text), 1))
2321
+ }, null, 8, Dl)) : (u(), m("span", Ql, Q(t.text), 1))
2290
2322
  ]),
2291
2323
  p(d.$slots, "body.append")
2292
2324
  ])
2293
2325
  ]),
2294
- q("div", Dl, [
2295
- (i(!0), f(U, null, he(t.buttons, (u) => (i(), B(m(le), H({ ref_for: !0 }, u.props, {
2296
- key: u.id,
2297
- onClick: () => a(u)
2326
+ w("div", Ml, [
2327
+ (u(!0), m(R, null, ve(t.buttons, (c) => (u(), I(h(ae), X({ ref_for: !0 }, c.props, {
2328
+ key: c.id,
2329
+ onClick: () => a(c)
2298
2330
  }), {
2299
- default: w(() => [
2300
- u.icon ? (i(), B(m(O), H({
2331
+ default: _(() => [
2332
+ c.icon ? (u(), I(h(N), X({
2301
2333
  key: 0,
2302
2334
  ref_for: !0
2303
- }, u.icon), null, 16)) : g("", !0)
2335
+ }, c.icon), null, 16)) : $("", !0)
2304
2336
  ]),
2305
2337
  _: 2
2306
2338
  }, 1040, ["onClick"]))), 128))
@@ -2310,13 +2342,180 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2310
2342
  _: 3
2311
2343
  }, 8, ["id", "model-value", "inline", "attach", "backdrop-blur"]));
2312
2344
  }
2313
- }), Ml = I(zl), Fl = {
2345
+ }), Ol = C(zl), Fl = {
2346
+ expand: {
2347
+ icon: "chevron-right"
2348
+ }
2349
+ }, Pl = {
2350
+ key: 0,
2351
+ class: "q-dropdown-menu__extra"
2352
+ }, Ul = /* @__PURE__ */ S({
2353
+ __name: "QDropdownMenuContent",
2354
+ props: /* @__PURE__ */ G({
2355
+ activator: { default: void 0 },
2356
+ appearance: { default: "regular" },
2357
+ inline: { type: Boolean },
2358
+ delay: { default: 500 },
2359
+ placement: { default: "right-start" },
2360
+ transition: { default: "fade" },
2361
+ class: { default: void 0 },
2362
+ items: {},
2363
+ groups: { default: () => [] },
2364
+ itemValue: { default: "key" },
2365
+ itemLabel: { default: "label" },
2366
+ icons: { default: () => Fl },
2367
+ trigger: { default: "click" },
2368
+ offset: { default: 0 },
2369
+ crossOffset: { default: -5 },
2370
+ depth: { default: 0 }
2371
+ }, {
2372
+ modelValue: { type: Boolean },
2373
+ modelModifiers: {}
2374
+ }),
2375
+ emits: /* @__PURE__ */ G(["select"], ["update:modelValue"]),
2376
+ setup(n, { emit: t }) {
2377
+ const e = n, l = t, o = j(n, "modelValue"), s = V(void 0), a = V([]), d = V(""), i = y(() => e.depth !== 0 ? e.offset : 4), c = y(() => e.depth !== 0 ? e.crossOffset : void 0);
2378
+ let v;
2379
+ const k = V(null), H = V(null);
2380
+ function K(x) {
2381
+ s.value = x;
2382
+ const E = e.items.find((P) => P[e.itemValue] === x);
2383
+ E && (a.value = (E == null ? void 0 : E.items) ?? []), a.value.length || (l("select", x), s.value = void 0, g());
2384
+ }
2385
+ function D() {
2386
+ o.value || (o.value = !0);
2387
+ }
2388
+ function g() {
2389
+ o.value && (o.value = !1);
2390
+ }
2391
+ function B() {
2392
+ o.value ? g() : D();
2393
+ }
2394
+ function M(x) {
2395
+ if (x.key) {
2396
+ if (window.clearTimeout(v), ["Escape", "Tab", "Delete"].includes(x.key)) {
2397
+ g();
2398
+ return;
2399
+ }
2400
+ if (["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(x.key) && (x.preventDefault(), x.stopPropagation()), /^[a-z]$/i.test(x.key)) {
2401
+ d.value += x.key.toLowerCase();
2402
+ for (let E = 0; E < e.items.length; E++) {
2403
+ const P = e.items[E];
2404
+ if (P[e.itemLabel] && P[e.itemLabel].toLowerCase().startsWith(d.value)) {
2405
+ te(E);
2406
+ break;
2407
+ }
2408
+ }
2409
+ }
2410
+ v = window.setTimeout(function() {
2411
+ d.value = "";
2412
+ }, 500);
2413
+ }
2414
+ }
2415
+ function F(x) {
2416
+ var E;
2417
+ (E = H.value) != null && E.contains(x.relatedTarget) || g();
2418
+ }
2419
+ function ee() {
2420
+ var x;
2421
+ (x = k.value) == null || x.$el.focus();
2422
+ }
2423
+ function te(x) {
2424
+ var E;
2425
+ (E = k.value) == null || E.focusItem(x);
2426
+ }
2427
+ return (x, E) => (u(), I(h(pe), {
2428
+ "model-value": o.value,
2429
+ anchor: e.activator,
2430
+ appearance: e.appearance,
2431
+ inline: e.inline,
2432
+ delay: e.delay,
2433
+ offset: i.value,
2434
+ "cross-offset": c.value,
2435
+ placement: e.placement,
2436
+ transition: e.transition,
2437
+ class: A(e.class),
2438
+ trigger: e.trigger,
2439
+ "non-modal": "",
2440
+ "scroll-lock": "",
2441
+ persistent: "",
2442
+ "onUpdate:modelValue": B,
2443
+ onEnter: ee
2444
+ }, {
2445
+ default: _(() => [
2446
+ w("div", {
2447
+ ref_key: "contentRef",
2448
+ ref: H,
2449
+ "data-testid": "dropdown-content",
2450
+ tabindex: "-1",
2451
+ onFocusout: F,
2452
+ onKeydown: re(M, ["stop"])
2453
+ }, [
2454
+ O(h(Ie), {
2455
+ ref_key: "listRef",
2456
+ ref: k,
2457
+ class: "q-dropdown-menu__items",
2458
+ highlighted: s.value,
2459
+ items: e.items,
2460
+ groups: e.groups,
2461
+ "item-label": e.itemLabel,
2462
+ "item-value": e.itemValue,
2463
+ "onUpdate:modelValue": K
2464
+ }, {
2465
+ item: _(({ item: P }) => [
2466
+ p(x.$slots, "item", { item: P })
2467
+ ]),
2468
+ "item.append": _(({ item: P }) => [
2469
+ p(x.$slots, "item.append", { item: P }, () => [
2470
+ P.extraInfo ? (u(), m("span", Pl, Q(P.extraInfo), 1)) : $("", !0)
2471
+ ])
2472
+ ]),
2473
+ _: 3
2474
+ }, 8, ["highlighted", "items", "groups", "item-label", "item-value"])
2475
+ ], 544)
2476
+ ]),
2477
+ _: 3
2478
+ }, 8, ["model-value", "anchor", "appearance", "inline", "delay", "offset", "cross-offset", "placement", "transition", "class", "trigger"]));
2479
+ }
2480
+ }), Nl = /* @__PURE__ */ S({
2481
+ inheritAttrs: !1,
2482
+ __name: "QDropdownMenu",
2483
+ props: /* @__PURE__ */ G({
2484
+ activator: {},
2485
+ appearance: {},
2486
+ inline: { type: Boolean },
2487
+ delay: {},
2488
+ placement: {},
2489
+ transition: {},
2490
+ class: {},
2491
+ items: {},
2492
+ groups: {},
2493
+ itemValue: {},
2494
+ itemLabel: {},
2495
+ icons: {}
2496
+ }, {
2497
+ modelValue: { type: Boolean },
2498
+ modelModifiers: {}
2499
+ }),
2500
+ emits: /* @__PURE__ */ G(["select"], ["update:modelValue"]),
2501
+ setup(n, { emit: t }) {
2502
+ const e = n, l = t, o = j(n, "modelValue");
2503
+ function s(a) {
2504
+ l("select", a);
2505
+ }
2506
+ return (a, d) => (u(), I(Ul, X(e, {
2507
+ modelValue: o.value,
2508
+ "onUpdate:modelValue": d[0] || (d[0] = (i) => o.value = i),
2509
+ onSelect: s
2510
+ }), null, 16, ["modelValue"]));
2511
+ }
2512
+ }), Rl = C(Nl), Gl = {
2314
2513
  key: 0,
2315
2514
  class: "q-input-group__prepend"
2316
- }, Ol = { key: 0 }, Pl = {
2515
+ }, Hl = { key: 0 }, Kl = {
2317
2516
  key: 1,
2318
2517
  class: "q-input-group__append"
2319
- }, Ul = { key: 0 }, Nl = /* @__PURE__ */ C({
2518
+ }, Wl = { key: 0 }, jl = /* @__PURE__ */ S({
2320
2519
  __name: "QInputGroup",
2321
2520
  props: {
2322
2521
  id: { default: void 0 },
@@ -2329,61 +2528,61 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2329
2528
  },
2330
2529
  setup(n) {
2331
2530
  const t = n;
2332
- return Pe({
2531
+ return Ue({
2333
2532
  QField: {
2334
2533
  size: "block"
2335
2534
  }
2336
- }), (e, l) => (i(), B(m(Le), {
2535
+ }), (e, l) => (u(), I(h(Se), {
2337
2536
  id: t.id,
2338
- class: T(["q-input-group", t.class]),
2537
+ class: A(["q-input-group", t.class]),
2339
2538
  label: t.label,
2340
2539
  required: t.required,
2341
2540
  size: t.size
2342
2541
  }, ye({
2343
- default: w(() => [
2344
- e.$slots.prepend || t.prependIcon ? (i(), f("div", Fl, [
2345
- t.prependIcon ? (i(), f("span", Ol, [
2346
- D(m(O), W(ne(t.prependIcon)), null, 16)
2347
- ])) : g("", !0),
2542
+ default: _(() => [
2543
+ e.$slots.prepend || t.prependIcon ? (u(), m("div", Gl, [
2544
+ t.prependIcon ? (u(), m("span", Hl, [
2545
+ O(h(N), J(se(t.prependIcon)), null, 16)
2546
+ ])) : $("", !0),
2348
2547
  p(e.$slots, "prepend")
2349
- ])) : g("", !0),
2548
+ ])) : $("", !0),
2350
2549
  p(e.$slots, "default"),
2351
- e.$slots.append || t.appendIcon ? (i(), f("div", Pl, [
2352
- t.appendIcon ? (i(), f("span", Ul, [
2353
- D(m(O), W(ne(t.appendIcon)), null, 16)
2354
- ])) : g("", !0),
2550
+ e.$slots.append || t.appendIcon ? (u(), m("div", Kl, [
2551
+ t.appendIcon ? (u(), m("span", Wl, [
2552
+ O(h(N), J(se(t.appendIcon)), null, 16)
2553
+ ])) : $("", !0),
2355
2554
  p(e.$slots, "append")
2356
- ])) : g("", !0)
2555
+ ])) : $("", !0)
2357
2556
  ]),
2358
2557
  _: 2
2359
2558
  }, [
2360
2559
  e.$slots.extras ? {
2361
2560
  name: "extras",
2362
- fn: w(() => [
2561
+ fn: _(() => [
2363
2562
  p(e.$slots, "extras")
2364
2563
  ]),
2365
2564
  key: "0"
2366
2565
  } : void 0
2367
2566
  ]), 1032, ["id", "class", "label", "required", "size"]));
2368
2567
  }
2369
- }), Rl = I(Nl), Gl = /* @__PURE__ */ C({
2568
+ }), Xl = C(jl), Yl = /* @__PURE__ */ S({
2370
2569
  __name: "QLineLoader",
2371
2570
  props: {
2372
2571
  class: { default: void 0 }
2373
2572
  },
2374
2573
  setup(n) {
2375
2574
  const t = n;
2376
- return (e, l) => (i(), f("div", {
2377
- class: T(["q-line-loader", t.class])
2575
+ return (e, l) => (u(), m("div", {
2576
+ class: A(["q-line-loader", t.class])
2378
2577
  }, null, 2));
2379
2578
  }
2380
- }), Hl = I(Gl), jl = {
2579
+ }), Zl = C(Yl), Jl = {
2381
2580
  key: 0,
2382
2581
  class: "q-popover__header"
2383
- }, Kl = {
2582
+ }, eo = {
2384
2583
  key: 1,
2385
2584
  class: "q-popover__body"
2386
- }, Wl = ["innerHTML"], Xl = { key: 1 }, Yl = /* @__PURE__ */ C({
2585
+ }, to = ["innerHTML"], no = { key: 1 }, lo = /* @__PURE__ */ S({
2387
2586
  inheritAttrs: !1,
2388
2587
  __name: "QPopover",
2389
2588
  props: /* @__PURE__ */ G({
@@ -2402,8 +2601,8 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2402
2601
  }),
2403
2602
  emits: ["update:modelValue"],
2404
2603
  setup(n) {
2405
- const t = n, e = K(n, "modelValue");
2406
- return (l, o) => (i(), B(m(ve), {
2604
+ const t = n, e = j(n, "modelValue");
2605
+ return (l, o) => (u(), I(h(pe), {
2407
2606
  modelValue: e.value,
2408
2607
  "onUpdate:modelValue": o[0] || (o[0] = (s) => e.value = s),
2409
2608
  class: "q-popover",
@@ -2415,23 +2614,23 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2415
2614
  disabled: t.disabled,
2416
2615
  placement: t.placement
2417
2616
  }, {
2418
- default: w(() => [
2419
- t.title || l.$slots.header ? (i(), f("h3", jl, [
2420
- ae(E(t.title) + " ", 1),
2617
+ default: _(() => [
2618
+ t.title || l.$slots.header ? (u(), m("h3", Jl, [
2619
+ de(Q(t.title) + " ", 1),
2421
2620
  p(l.$slots, "header")
2422
- ])) : g("", !0),
2423
- t.text || l.$slots.body ? (i(), f("div", Kl, [
2424
- t.html ? (i(), f("span", {
2621
+ ])) : $("", !0),
2622
+ t.text || l.$slots.body ? (u(), m("div", eo, [
2623
+ t.html ? (u(), m("span", {
2425
2624
  key: 0,
2426
2625
  innerHTML: t.text
2427
- }, null, 8, Wl)) : (i(), f("span", Xl, E(t.text), 1)),
2626
+ }, null, 8, to)) : (u(), m("span", no, Q(t.text), 1)),
2428
2627
  p(l.$slots, "body")
2429
- ])) : g("", !0)
2628
+ ])) : $("", !0)
2430
2629
  ]),
2431
2630
  _: 3
2432
2631
  }, 8, ["modelValue", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
2433
2632
  }
2434
- }), Zl = I(Yl), pt = {
2633
+ }), oo = C(lo), pt = {
2435
2634
  emptyMessage: "Select a field to view details."
2436
2635
  }, mt = {
2437
2636
  open: {
@@ -2440,7 +2639,7 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2440
2639
  close: {
2441
2640
  icon: "plus-box"
2442
2641
  }
2443
- }, Jl = { class: "q-property-list__table" }, eo = /* @__PURE__ */ C({
2642
+ }, so = { class: "q-property-list__table" }, ao = /* @__PURE__ */ S({
2444
2643
  __name: "QPropertyList",
2445
2644
  props: {
2446
2645
  fields: { default: () => [] },
@@ -2455,101 +2654,101 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2455
2654
  },
2456
2655
  emits: ["field-change"],
2457
2656
  setup(n, { emit: t }) {
2458
- const e = n, l = t, o = A(e.groups.map((_) => _.id)), s = A(void 0), a = A(null), d = y(() => e.groups.length ? e.groups.filter(
2459
- (_) => e.fields.some((V) => V.group === _.id)
2460
- ) : [{ id: "", title: "" }]), r = y(() => [
2657
+ const e = n, l = t, o = V(e.groups.map((g) => g.id)), s = V(void 0), a = V(null), d = y(() => e.groups.length ? e.groups.filter(
2658
+ (g) => e.fields.some((B) => B.group === g.id)
2659
+ ) : [{ id: "", title: "" }]), i = y(() => [
2461
2660
  e.class,
2462
2661
  {
2463
2662
  "q-property-list--side-panel": e.panelPosition === "right"
2464
2663
  }
2465
2664
  ]);
2466
- function u() {
2467
- var _;
2468
- (_ = a.value) != null && _.contains(document.activeElement) || (s.value = void 0);
2665
+ function c() {
2666
+ var g;
2667
+ (g = a.value) != null && g.contains(document.activeElement) || (s.value = void 0);
2469
2668
  }
2470
- function b(_) {
2471
- return _ ? e.fields.filter((V) => V.group === _) : e.fields;
2669
+ function v(g) {
2670
+ return g ? e.fields.filter((B) => B.group === g) : e.fields;
2472
2671
  }
2473
- function x(_) {
2474
- const V = o.value.indexOf(_);
2475
- V === -1 ? o.value.push(_) : o.value.splice(V, 1);
2672
+ function k(g) {
2673
+ const B = o.value.indexOf(g);
2674
+ B === -1 ? o.value.push(g) : o.value.splice(B, 1);
2476
2675
  }
2477
- function R(_) {
2478
- var Q;
2479
- const V = _.group && !o.value.includes(_.group), M = ((Q = s.value) == null ? void 0 : Q.id) === _.id;
2676
+ function H(g) {
2677
+ var F;
2678
+ const B = g.group && !o.value.includes(g.group), M = ((F = s.value) == null ? void 0 : F.id) === g.id;
2480
2679
  return [
2481
2680
  {
2482
- "q-property-list__row--closed": V,
2681
+ "q-property-list__row--closed": B,
2483
2682
  "q-property-list__row--selected": M
2484
2683
  }
2485
2684
  ];
2486
2685
  }
2487
- function P(_) {
2488
- s.value = _;
2686
+ function K(g) {
2687
+ s.value = g;
2489
2688
  }
2490
- function z(_, V) {
2491
- e.readonly || (_.props.readonly ?? !1) || (_.props.modelValue = V, l("field-change", _));
2689
+ function D(g, B) {
2690
+ e.readonly || (g.props.readonly ?? !1) || (g.props.modelValue = B, l("field-change", g));
2492
2691
  }
2493
- return (_, V) => (i(), f("div", {
2692
+ return (g, B) => (u(), m("div", {
2494
2693
  ref_key: "componentRoot",
2495
2694
  ref: a,
2496
2695
  tabindex: "0",
2497
- class: T(["q-property-list", r.value]),
2498
- onFocusout: u
2696
+ class: A(["q-property-list", i.value]),
2697
+ onFocusout: c
2499
2698
  }, [
2500
- q("table", Jl, [
2501
- V[0] || (V[0] = q("thead", { class: "q-property-list__header" }, [
2502
- q("tr", null, [
2503
- q("th", { colspan: "2" })
2699
+ w("table", so, [
2700
+ B[0] || (B[0] = w("thead", { class: "q-property-list__header" }, [
2701
+ w("tr", null, [
2702
+ w("th", { colspan: "2" })
2504
2703
  ])
2505
2704
  ], -1)),
2506
- q("tbody", null, [
2507
- (i(!0), f(U, null, he(d.value, (M) => (i(), f(U, {
2705
+ w("tbody", null, [
2706
+ (u(!0), m(R, null, ve(d.value, (M) => (u(), m(R, {
2508
2707
  key: M.id
2509
2708
  }, [
2510
- M.title ? (i(), B(m(yt), {
2709
+ M.title ? (u(), I(h(vt), {
2511
2710
  key: 0,
2512
2711
  id: M.id,
2513
2712
  title: M.title,
2514
2713
  icons: e.icons,
2515
2714
  "no-toggle": e.noToggle,
2516
- onToggleGroup: x
2517
- }, null, 8, ["id", "title", "icons", "no-toggle"])) : g("", !0),
2518
- (i(!0), f(U, null, he(b(M.id), (Q) => (i(), B(m(ht), {
2519
- key: Q.id,
2520
- class: T(R(Q)),
2521
- field: Q,
2715
+ onToggleGroup: k
2716
+ }, null, 8, ["id", "title", "icons", "no-toggle"])) : $("", !0),
2717
+ (u(!0), m(R, null, ve(v(M.id), (F) => (u(), I(h(ht), {
2718
+ key: F.id,
2719
+ class: A(H(F)),
2720
+ field: F,
2522
2721
  readonly: e.readonly,
2523
- onFocus: P,
2524
- onFieldChange: z
2722
+ onFocus: K,
2723
+ onFieldChange: D
2525
2724
  }, {
2526
- default: w(() => [
2527
- p(_.$slots, Q.id, { field: Q })
2725
+ default: _(() => [
2726
+ p(g.$slots, F.id, { field: F })
2528
2727
  ]),
2529
2728
  _: 2
2530
2729
  }, 1032, ["class", "field", "readonly"]))), 128))
2531
2730
  ], 64))), 128))
2532
2731
  ])
2533
2732
  ]),
2534
- e.noPanel ? g("", !0) : (i(), B(m(vt), {
2733
+ e.noPanel ? $("", !0) : (u(), I(h(yt), {
2535
2734
  key: 0,
2536
2735
  field: s.value,
2537
2736
  texts: e.texts
2538
2737
  }, {
2539
- default: w(() => [
2540
- s.value ? p(_.$slots, "panel", {
2738
+ default: _(() => [
2739
+ s.value ? p(g.$slots, "panel", {
2541
2740
  key: 0,
2542
2741
  field: s.value
2543
- }) : g("", !0)
2742
+ }) : $("", !0)
2544
2743
  ]),
2545
2744
  _: 3
2546
2745
  }, 8, ["field", "texts"]))
2547
2746
  ], 34));
2548
2747
  }
2549
- }), to = {
2748
+ }), io = {
2550
2749
  key: 0,
2551
2750
  class: "q-property-list-field__container"
2552
- }, no = /* @__PURE__ */ C({
2751
+ }, ro = /* @__PURE__ */ S({
2553
2752
  __name: "QPropertyListRow",
2554
2753
  props: {
2555
2754
  field: {},
@@ -2559,44 +2758,44 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2559
2758
  emits: ["focus", "field-change"],
2560
2759
  setup(n, { emit: t }) {
2561
2760
  const e = n, l = t, o = y(() => ["q-property-list__row", e.class]), s = y(() => {
2562
- var x;
2563
- const b = ["q-property-list__cell", "q-property-list__cell--label"];
2564
- return (x = e.field.props) != null && x.required && b.push("q-property-list__cell--required"), b;
2761
+ var k;
2762
+ const v = ["q-property-list__cell", "q-property-list__cell--label"];
2763
+ return (k = e.field.props) != null && k.required && v.push("q-property-list__cell--required"), v;
2565
2764
  }), a = y(() => e.readonly || (e.field.props.readonly ?? !1));
2566
2765
  function d() {
2567
2766
  l("focus", e.field);
2568
2767
  }
2569
- function r(b) {
2570
- l("field-change", e.field, b);
2768
+ function i(v) {
2769
+ l("field-change", e.field, v);
2571
2770
  }
2572
- const u = y(() => ({
2771
+ const c = y(() => ({
2573
2772
  ...e.field.props,
2574
2773
  readonly: a.value
2575
2774
  }));
2576
- return (b, x) => (i(), f("tr", {
2577
- class: T(o.value),
2775
+ return (v, k) => (u(), m("tr", {
2776
+ class: A(o.value),
2578
2777
  onFocusin: d
2579
2778
  }, [
2580
- q("td", {
2581
- class: T(s.value),
2779
+ w("td", {
2780
+ class: A(s.value),
2582
2781
  onClick: d
2583
- }, E(e.field.label), 3),
2584
- q("td", {
2782
+ }, Q(e.field.label), 3),
2783
+ w("td", {
2585
2784
  class: "q-property-list__cell",
2586
2785
  onClick: d
2587
2786
  }, [
2588
- p(b.$slots, "default", {}, () => [
2589
- e.field.component ? (i(), f("div", to, [
2590
- (i(), B(Se(e.field.component), H(u.value, {
2787
+ p(v.$slots, "default", {}, () => [
2788
+ e.field.component ? (u(), m("div", io, [
2789
+ (u(), I(Le(e.field.component), X(c.value, {
2591
2790
  "model-value": e.field.props.modelValue,
2592
- "onUpdate:modelValue": r
2791
+ "onUpdate:modelValue": i
2593
2792
  }), null, 16, ["model-value"]))
2594
- ])) : g("", !0)
2793
+ ])) : $("", !0)
2595
2794
  ])
2596
2795
  ])
2597
2796
  ], 34));
2598
2797
  }
2599
- }), lo = ["data-key", "aria-labelledby"], oo = ["id"], so = { class: "q-property-list-group__content" }, ao = /* @__PURE__ */ C({
2798
+ }), uo = ["data-key", "aria-labelledby"], co = ["id"], fo = { class: "q-property-list-group__content" }, po = /* @__PURE__ */ S({
2600
2799
  __name: "QPropertyListGroup",
2601
2800
  props: {
2602
2801
  id: {},
@@ -2607,47 +2806,47 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2607
2806
  },
2608
2807
  emits: ["toggle-group"],
2609
2808
  setup(n, { emit: t }) {
2610
- const e = n, l = t, o = A(!0), s = ie(), a = y(() => o.value ? e.icons.open : e.icons.close), d = y(() => [
2809
+ const e = n, l = t, o = V(!0), s = ue(), a = y(() => o.value ? e.icons.open : e.icons.close), d = y(() => [
2611
2810
  "q-property-list-group",
2612
2811
  {
2613
2812
  "q-property-list-group--no-toggle": e.noToggle
2614
2813
  }
2615
2814
  ]);
2616
- function r() {
2815
+ function i() {
2617
2816
  e.noToggle || (o.value = !o.value, l("toggle-group", e.id));
2618
2817
  }
2619
- return (u, b) => (i(), f("tr", {
2620
- class: T(d.value),
2818
+ return (c, v) => (u(), m("tr", {
2819
+ class: A(d.value),
2621
2820
  role: "group",
2622
2821
  "data-key": e.id,
2623
- "aria-labelledby": m(s),
2624
- onClick: r
2822
+ "aria-labelledby": h(s),
2823
+ onClick: i
2625
2824
  }, [
2626
- q("td", {
2627
- id: m(s),
2825
+ w("td", {
2826
+ id: h(s),
2628
2827
  colspan: "2"
2629
2828
  }, [
2630
- q("div", so, [
2631
- e.noToggle ? g("", !0) : (i(), B(m(le), {
2829
+ w("div", fo, [
2830
+ e.noToggle ? $("", !0) : (u(), I(h(ae), {
2632
2831
  key: 0,
2633
2832
  "b-style": "tertiary",
2634
2833
  borderless: "",
2635
- onClick: r
2834
+ onClick: i
2636
2835
  }, {
2637
- default: w(() => [
2638
- D(m(O), W(ne(a.value)), null, 16)
2836
+ default: _(() => [
2837
+ O(h(N), J(se(a.value)), null, 16)
2639
2838
  ]),
2640
2839
  _: 1
2641
2840
  })),
2642
- ae(" " + E(e.title), 1)
2841
+ de(" " + Q(e.title), 1)
2643
2842
  ])
2644
- ], 8, oo)
2645
- ], 10, lo));
2843
+ ], 8, co)
2844
+ ], 10, uo));
2646
2845
  }
2647
- }), io = { class: "q-property-list-panel__container" }, ro = { class: "q-property-list-panel__label" }, uo = { class: "q-property-list-panel__description" }, co = {
2846
+ }), mo = { class: "q-property-list-panel__container" }, ho = { class: "q-property-list-panel__label" }, vo = { class: "q-property-list-panel__description" }, yo = {
2648
2847
  key: 1,
2649
2848
  class: "q-property-list-panel__empty"
2650
- }, fo = /* @__PURE__ */ C({
2849
+ }, bo = /* @__PURE__ */ S({
2651
2850
  __name: "QPropertyListPanel",
2652
2851
  props: {
2653
2852
  field: { default: void 0 },
@@ -2656,34 +2855,34 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2656
2855
  },
2657
2856
  setup(n) {
2658
2857
  const t = n;
2659
- return (e, l) => (i(), f("div", io, [
2858
+ return (e, l) => (u(), m("div", mo, [
2660
2859
  t.field ? p(e.$slots, "default", { key: 0 }, () => [
2661
- q("div", ro, E(t.field.label), 1),
2662
- q("div", uo, E(t.field.description), 1)
2663
- ]) : (i(), f("div", co, E(t.texts.emptyMessage), 1))
2860
+ w("div", ho, Q(t.field.label), 1),
2861
+ w("div", vo, Q(t.field.description), 1)
2862
+ ]) : (u(), m("div", yo, Q(t.texts.emptyMessage), 1))
2664
2863
  ]));
2665
2864
  }
2666
- }), po = I(eo), ht = I(no), yt = I(ao), vt = I(fo), mo = {
2865
+ }), go = C(ao), ht = C(ro), vt = C(po), yt = C(bo), _o = {
2667
2866
  placeholder: "Choose...",
2668
2867
  clearValue: "Clear value",
2669
2868
  showOptions: "Show options"
2670
- }, ho = {
2869
+ }, $o = {
2671
2870
  chevron: {
2672
2871
  icon: "chevron-down"
2673
2872
  },
2674
2873
  clear: {
2675
2874
  icon: "close"
2676
2875
  }
2677
- }, yo = {
2876
+ }, ko = {
2678
2877
  key: 0,
2679
2878
  class: "q-select__value"
2680
- }, vo = {
2879
+ }, wo = {
2681
2880
  key: 1,
2682
2881
  class: "q-select__placeholder"
2683
- }, bo = ["data-key"], go = {
2882
+ }, qo = ["data-key"], xo = {
2684
2883
  key: 0,
2685
2884
  class: "q-select__loader"
2686
- }, _o = /* @__PURE__ */ C({
2885
+ }, Lo = /* @__PURE__ */ S({
2687
2886
  inheritAttrs: !1,
2688
2887
  __name: "QSelect",
2689
2888
  props: /* @__PURE__ */ G({
@@ -2701,8 +2900,8 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2701
2900
  emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
2702
2901
  size: { default: void 0 },
2703
2902
  class: { default: "" },
2704
- icons: { default: () => ho },
2705
- texts: { default: () => mo }
2903
+ icons: { default: () => $o },
2904
+ texts: { default: () => _o }
2706
2905
  }, {
2707
2906
  modelValue: {
2708
2907
  type: [String, Number, Boolean, Symbol]
@@ -2711,79 +2910,79 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2711
2910
  }),
2712
2911
  emits: /* @__PURE__ */ G(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
2713
2912
  setup(n, { emit: t }) {
2714
- const e = n, l = t, o = K(n, "modelValue"), s = A(!1), a = A(""), d = A(null), r = A(null), u = A(null), b = y(() => x.value === void 0), x = y(
2913
+ const e = n, l = t, o = j(n, "modelValue"), s = V(!1), a = V(""), d = V(null), i = V(null), c = V(null), v = y(() => k.value === void 0), k = y(
2715
2914
  () => {
2716
- var h;
2717
- return (h = e.items) == null ? void 0 : h.find(($) => $[e.itemValue] === o.value);
2915
+ var f;
2916
+ return (f = e.items) == null ? void 0 : f.find((q) => q[e.itemValue] === o.value);
2718
2917
  }
2719
- ), R = y(
2720
- () => x.value ? x.value[e.itemLabel] : ""
2721
- ), P = y(
2918
+ ), H = y(
2919
+ () => k.value ? k.value[e.itemLabel] : ""
2920
+ ), K = y(
2722
2921
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
2723
2922
  );
2724
- function z(h) {
2725
- o.value = h, Q();
2923
+ function D(f) {
2924
+ o.value = f, F();
2726
2925
  }
2727
- function _() {
2728
- P.value && (z(e.emptyValue), ce());
2926
+ function g() {
2927
+ K.value && (D(e.emptyValue), le());
2729
2928
  }
2730
- function V(h) {
2731
- var $, J, re;
2732
- !(($ = u.value) != null && $.contains(h.relatedTarget)) && !((re = (J = d.value) == null ? void 0 : J.fieldRef) != null && re.contains(h.relatedTarget)) && Q();
2929
+ function B(f) {
2930
+ var q, z, U;
2931
+ !((q = c.value) != null && q.contains(f.relatedTarget)) && !((U = (z = d.value) == null ? void 0 : z.fieldRef) != null && U.contains(f.relatedTarget)) && F();
2733
2932
  }
2734
2933
  function M() {
2735
2934
  s.value || (l("before-show"), s.value = !0);
2736
2935
  }
2737
- function Q() {
2936
+ function F() {
2738
2937
  s.value && (l("before-hide"), s.value = !1);
2739
2938
  }
2740
- function oe() {
2741
- e.readonly || e.disabled || (s.value ? Q() : M());
2742
- }
2743
- let ee;
2744
- function N(h) {
2745
- if (!(!h.key || e.readonly || e.disabled)) {
2746
- if (window.clearTimeout(ee), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(h.key) && (h.preventDefault(), h.stopPropagation()), ["Enter", " "].includes(h.key) && (s.value = !0), ["Escape", "Tab"].includes(h.key) && (s.value ? s.value = !1 : P.value && h.key === "Escape" && _()), h.key === "Delete" && e.clearable && _(), /^[a-z]$/i.test(h.key)) {
2747
- a.value += h.key.toLowerCase();
2748
- for (let $ = 0; $ < e.items.length; $++)
2749
- if (e.items[$][e.itemLabel].toLowerCase().startsWith(a.value)) {
2750
- S($);
2939
+ function ee() {
2940
+ e.readonly || e.disabled || (s.value ? F() : M());
2941
+ }
2942
+ let te;
2943
+ function x(f) {
2944
+ if (!(!f.key || e.readonly || e.disabled)) {
2945
+ if (window.clearTimeout(te), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(f.key) && (f.preventDefault(), f.stopPropagation()), ["Enter", " "].includes(f.key) && (s.value = !0), ["Escape", "Tab"].includes(f.key) && (s.value ? s.value = !1 : K.value && f.key === "Escape" && g()), f.key === "Delete" && e.clearable && g(), /^[a-z]$/i.test(f.key)) {
2946
+ a.value += f.key.toLowerCase();
2947
+ for (let q = 0; q < e.items.length; q++)
2948
+ if (e.items[q][e.itemLabel].toLowerCase().startsWith(a.value)) {
2949
+ b(q);
2751
2950
  break;
2752
2951
  }
2753
2952
  }
2754
- ee = window.setTimeout(function() {
2953
+ te = window.setTimeout(function() {
2755
2954
  a.value = "";
2756
2955
  }, 500);
2757
2956
  }
2758
2957
  }
2759
- function se() {
2760
- var h;
2761
- e.loading ? (h = u.value) == null || h.focus() : v(), l("show");
2958
+ function E() {
2959
+ var f;
2960
+ e.loading ? (f = c.value) == null || f.focus() : ce(), l("show");
2762
2961
  }
2763
- function X() {
2764
- ce(), l("hide");
2962
+ function P() {
2963
+ le(), l("hide");
2765
2964
  }
2766
- function ce() {
2767
- var h, $;
2768
- ($ = (h = d.value) == null ? void 0 : h.fieldRef) == null || $.focus();
2965
+ function le() {
2966
+ var f, q;
2967
+ (q = (f = d.value) == null ? void 0 : f.fieldRef) == null || q.focus();
2769
2968
  }
2770
- function v() {
2771
- var h;
2772
- (h = r.value) == null || h.$el.focus();
2969
+ function ce() {
2970
+ var f;
2971
+ (f = i.value) == null || f.$el.focus();
2773
2972
  }
2774
- function S(h) {
2775
- var $;
2776
- ($ = r.value) == null || $.focusItem(h);
2973
+ function b(f) {
2974
+ var q;
2975
+ (q = i.value) == null || q.focusItem(f);
2777
2976
  }
2778
- return Z(
2977
+ return ne(
2779
2978
  () => e.loading,
2780
- (h) => {
2781
- !h && s.value && te(v);
2979
+ (f) => {
2980
+ !f && s.value && oe(ce);
2782
2981
  }
2783
- ), (h, $) => {
2784
- var J, re;
2785
- return i(), f(U, null, [
2786
- D(m(Le), H({
2982
+ ), (f, q) => {
2983
+ var z, U;
2984
+ return u(), m(R, null, [
2985
+ O(h(Se), X({
2787
2986
  id: e.id,
2788
2987
  ref_key: "triggerEl",
2789
2988
  ref: d,
@@ -2806,27 +3005,27 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2806
3005
  "aria-expanded": s.value,
2807
3006
  "aria-haspopup": "listbox",
2808
3007
  size: e.size
2809
- }, h.$attrs, {
2810
- onClick: oe,
2811
- onKeydown: ue(N, ["stop"])
3008
+ }, f.$attrs, {
3009
+ onClick: ee,
3010
+ onKeydown: re(x, ["stop"])
2812
3011
  }), ye({
2813
- append: w(() => [
2814
- p(h.$slots, "append"),
2815
- P.value && o.value ? (i(), B(m(le), {
3012
+ append: _(() => [
3013
+ p(f.$slots, "append"),
3014
+ K.value && o.value ? (u(), I(h(ae), {
2816
3015
  key: 0,
2817
3016
  class: "q-select__clear",
2818
3017
  "aria-label": e.texts.clearValue,
2819
3018
  "b-style": "plain",
2820
3019
  borderless: "",
2821
3020
  tabindex: "-1",
2822
- onClick: _
3021
+ onClick: g
2823
3022
  }, {
2824
- default: w(() => [
2825
- D(m(O), W(ne(e.icons.clear)), null, 16)
3023
+ default: _(() => [
3024
+ O(h(N), J(se(e.icons.clear)), null, 16)
2826
3025
  ]),
2827
3026
  _: 1
2828
- }, 8, ["aria-label"])) : g("", !0),
2829
- e.readonly ? g("", !0) : (i(), B(m(le), {
3027
+ }, 8, ["aria-label"])) : $("", !0),
3028
+ e.readonly ? $("", !0) : (u(), I(h(ae), {
2830
3029
  key: 1,
2831
3030
  class: "q-select__chevron",
2832
3031
  "aria-label": e.texts.showOptions,
@@ -2834,96 +3033,96 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2834
3033
  borderless: "",
2835
3034
  tabindex: "-1",
2836
3035
  disabled: e.disabled,
2837
- onClick: oe
3036
+ onClick: ee
2838
3037
  }, {
2839
- default: w(() => [
2840
- D(m(O), W(ne(e.icons.chevron)), null, 16)
3038
+ default: _(() => [
3039
+ O(h(N), J(se(e.icons.chevron)), null, 16)
2841
3040
  ]),
2842
3041
  _: 1
2843
3042
  }, 8, ["aria-label", "disabled"]))
2844
3043
  ]),
2845
- default: w(() => [
2846
- b.value ? (i(), f("span", vo, [
2847
- !e.readonly && !e.disabled ? (i(), f(U, { key: 0 }, [
2848
- ae(E(e.texts.placeholder), 1)
2849
- ], 64)) : g("", !0)
2850
- ])) : (i(), f("span", yo, E(R.value), 1))
3044
+ default: _(() => [
3045
+ v.value ? (u(), m("span", wo, [
3046
+ !e.readonly && !e.disabled ? (u(), m(R, { key: 0 }, [
3047
+ de(Q(e.texts.placeholder), 1)
3048
+ ], 64)) : $("", !0)
3049
+ ])) : (u(), m("span", ko, Q(H.value), 1))
2851
3050
  ]),
2852
3051
  _: 2
2853
3052
  }, [
2854
- (J = x.value) != null && J.icon || h.$slots.prepend ? {
3053
+ (z = k.value) != null && z.icon || f.$slots.prepend ? {
2855
3054
  name: "prepend",
2856
- fn: w(() => {
2857
- var Y, de;
3055
+ fn: _(() => {
3056
+ var Y, W;
2858
3057
  return [
2859
- p(h.$slots, "prepend"),
2860
- (Y = x.value) != null && Y.icon ? (i(), B(m(O), W(H({ key: 0 }, (de = x.value) == null ? void 0 : de.icon)), null, 16)) : g("", !0)
3058
+ p(f.$slots, "prepend"),
3059
+ (Y = k.value) != null && Y.icon ? (u(), I(h(N), J(X({ key: 0 }, (W = k.value) == null ? void 0 : W.icon)), null, 16)) : $("", !0)
2861
3060
  ];
2862
3061
  }),
2863
3062
  key: "0"
2864
3063
  } : void 0,
2865
- h.$slots.extras ? {
3064
+ f.$slots.extras ? {
2866
3065
  name: "extras",
2867
- fn: w(() => [
2868
- p(h.$slots, "extras")
3066
+ fn: _(() => [
3067
+ p(f.$slots, "extras")
2869
3068
  ]),
2870
3069
  key: "1"
2871
3070
  } : void 0
2872
3071
  ]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
2873
- D(m(ve), {
3072
+ O(h(pe), {
2874
3073
  modelValue: s.value,
2875
- "onUpdate:modelValue": $[0] || ($[0] = (Y) => s.value = Y),
3074
+ "onUpdate:modelValue": q[0] || (q[0] = (Y) => s.value = Y),
2876
3075
  spy: "",
2877
3076
  trigger: "manual",
2878
3077
  placement: "bottom-start",
2879
3078
  width: "anchor",
2880
3079
  "scroll-lock": "",
2881
- anchor: (re = d.value) == null ? void 0 : re.$el,
3080
+ anchor: (U = d.value) == null ? void 0 : U.$el,
2882
3081
  offset: 2,
2883
- onEnter: se,
2884
- onLeave: X
3082
+ onEnter: E,
3083
+ onLeave: P
2885
3084
  }, {
2886
- default: w(() => [
2887
- q("div", {
3085
+ default: _(() => [
3086
+ w("div", {
2888
3087
  ref_key: "contentRef",
2889
- ref: u,
3088
+ ref: c,
2890
3089
  "data-testid": "combobox-dropdown",
2891
3090
  "data-key": e.id,
2892
3091
  class: "q-select__body",
2893
3092
  tabindex: "-1",
2894
- onFocusout: V,
2895
- onKeydown: ue(N, ["stop"])
3093
+ onFocusout: B,
3094
+ onKeydown: re(x, ["stop"])
2896
3095
  }, [
2897
- p(h.$slots, "body.prepend"),
2898
- e.loading ? (i(), f("div", go, [
2899
- D(m(_e), { size: 24 })
2900
- ])) : (i(), B(m(Ue), {
3096
+ p(f.$slots, "body.prepend"),
3097
+ e.loading ? (u(), m("div", xo, [
3098
+ O(h(ke), { size: 24 })
3099
+ ])) : (u(), I(h(Ie), {
2901
3100
  key: 1,
2902
3101
  ref_key: "listRef",
2903
- ref: r,
3102
+ ref: i,
2904
3103
  class: "q-select__items",
2905
3104
  selectable: "",
2906
3105
  "model-value": o.value,
2907
3106
  items: e.items,
2908
- groups: h.groups,
3107
+ groups: f.groups,
2909
3108
  "item-label": e.itemLabel,
2910
3109
  "item-value": e.itemValue,
2911
- "onUpdate:modelValue": z
3110
+ "onUpdate:modelValue": D
2912
3111
  }, {
2913
- item: w(({ item: Y }) => [
2914
- p(h.$slots, "item", { item: Y })
3112
+ item: _(({ item: Y }) => [
3113
+ p(f.$slots, "item", { item: Y })
2915
3114
  ]),
2916
3115
  _: 3
2917
3116
  }, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
2918
- p(h.$slots, "body.append")
2919
- ], 40, bo)
3117
+ p(f.$slots, "body.append")
3118
+ ], 40, qo)
2920
3119
  ]),
2921
3120
  _: 3
2922
3121
  }, 8, ["modelValue", "anchor"])
2923
3122
  ], 64);
2924
3123
  };
2925
3124
  }
2926
- }), $o = I(_o), ko = /* @__PURE__ */ C({
3125
+ }), Io = C(Lo), So = /* @__PURE__ */ S({
2927
3126
  __name: "QSkeletonLoader",
2928
3127
  props: {
2929
3128
  type: { default: void 0 },
@@ -2938,27 +3137,27 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2938
3137
  height: s
2939
3138
  };
2940
3139
  });
2941
- return (o, s) => (i(), f("div", {
2942
- class: T(["q-skeleton-loader", e.value]),
3140
+ return (o, s) => (u(), m("div", {
3141
+ class: A(["q-skeleton-loader", e.value]),
2943
3142
  style: fe(l.value)
2944
3143
  }, s[0] || (s[0] = [
2945
- q("div", { class: "q-skeleton-loader__bone" }, null, -1)
3144
+ w("div", { class: "q-skeleton-loader__bone" }, null, -1)
2946
3145
  ]), 6));
2947
3146
  }
2948
- }), wo = I(ko), qo = /* @__PURE__ */ C({
3147
+ }), Bo = C(So), Co = /* @__PURE__ */ S({
2949
3148
  __name: "QThemeProvider",
2950
3149
  props: {
2951
3150
  theme: {}
2952
3151
  },
2953
3152
  setup(n) {
2954
3153
  const t = n;
2955
- return (e, l) => (i(), f("div", {
2956
- class: T(["q-theme-provider", `q-theme--${t.theme}`])
3154
+ return (e, l) => (u(), m("div", {
3155
+ class: A(["q-theme-provider", `q-theme--${t.theme}`])
2957
3156
  }, [
2958
3157
  p(e.$slots, "default")
2959
3158
  ], 2));
2960
3159
  }
2961
- }), xo = I(qo), So = ["innerHTML"], Lo = /* @__PURE__ */ C({
3160
+ }), Vo = C(Co), To = ["innerHTML"], Ao = /* @__PURE__ */ S({
2962
3161
  __name: "QTooltip",
2963
3162
  props: /* @__PURE__ */ G({
2964
3163
  id: { default: void 0 },
@@ -2981,13 +3180,13 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2981
3180
  }),
2982
3181
  emits: ["update:modelValue"],
2983
3182
  setup(n) {
2984
- const t = n, e = K(n, "modelValue"), l = ie(t.id);
2985
- return (o, s) => (i(), f(U, null, [
3183
+ const t = n, e = j(n, "modelValue"), l = ue(t.id);
3184
+ return (o, s) => (u(), m(R, null, [
2986
3185
  p(o.$slots, "anchor", {
2987
- props: { "aria-describedby": m(l) }
3186
+ props: { "aria-describedby": h(l) }
2988
3187
  }),
2989
- D(m(ve), {
2990
- id: m(l),
3188
+ O(h(pe), {
3189
+ id: h(l),
2991
3190
  "model-value": e.value,
2992
3191
  anchor: t.anchor,
2993
3192
  role: "tooltip",
@@ -2996,20 +3195,20 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
2996
3195
  arrow: t.arrow,
2997
3196
  attach: t.attach,
2998
3197
  inline: t.inline,
2999
- class: T(["q-tooltip", t.class]),
3198
+ class: A(["q-tooltip", t.class]),
3000
3199
  delay: t.delay,
3001
3200
  disabled: t.disabled,
3002
3201
  placement: t.placement,
3003
3202
  trigger: t.trigger
3004
3203
  }, {
3005
- default: w(() => [
3204
+ default: _(() => [
3006
3205
  p(o.$slots, "default", {}, () => [
3007
- t.icon ? (i(), B(m(O), W(H({ key: 0 }, t.icon)), null, 16)) : g("", !0),
3008
- t.html ? (i(), f("span", {
3206
+ t.icon ? (u(), I(h(N), J(X({ key: 0 }, t.icon)), null, 16)) : $("", !0),
3207
+ t.html ? (u(), m("span", {
3009
3208
  key: 1,
3010
3209
  innerHTML: t.text
3011
- }, null, 8, So)) : (i(), f(U, { key: 2 }, [
3012
- ae(E(t.text), 1)
3210
+ }, null, 8, To)) : (u(), m(R, { key: 2 }, [
3211
+ de(Q(t.text), 1)
3013
3212
  ], 64))
3014
3213
  ])
3015
3214
  ]),
@@ -3017,61 +3216,62 @@ const rl = ["role"], dl = /* @__PURE__ */ C({
3017
3216
  }, 8, ["id", "model-value", "anchor", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
3018
3217
  ], 64));
3019
3218
  }
3020
- }), Bo = I(Lo), Co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3219
+ }), Eo = C(Ao), Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3021
3220
  __proto__: null,
3022
- QAccordion: Tt,
3221
+ QAccordion: Vt,
3023
3222
  QBadge: Zt,
3024
- QButton: le,
3223
+ QButton: ae,
3025
3224
  QButtonGroup: rt,
3026
3225
  QButtonToggle: tn,
3027
3226
  QCard: dt,
3028
3227
  QCheckbox: gn,
3029
- QCollapsible: Cn,
3030
- QCombobox: xl,
3031
- QDialog: Ml,
3032
- QField: Le,
3033
- QIcon: O,
3228
+ QCollapsible: Bn,
3229
+ QCombobox: Ll,
3230
+ QDialog: Ol,
3231
+ QDropdownMenu: Rl,
3232
+ QField: Se,
3233
+ QIcon: N,
3034
3234
  QIconFont: ot,
3035
3235
  QIconImg: st,
3036
3236
  QIconSvg: at,
3037
- QInputGroup: Rl,
3038
- QLineLoader: Hl,
3039
- QList: Ue,
3237
+ QInputGroup: Xl,
3238
+ QLineLoader: Zl,
3239
+ QList: Ie,
3040
3240
  QListItem: ut,
3041
3241
  QListItemGroup: ct,
3042
- QOverlay: ve,
3043
- QPopover: Zl,
3044
- QPropertyList: po,
3045
- QPropertyListGroup: yt,
3046
- QPropertyListPanel: vt,
3242
+ QOverlay: pe,
3243
+ QPopover: oo,
3244
+ QPropertyList: go,
3245
+ QPropertyListGroup: vt,
3246
+ QPropertyListPanel: yt,
3047
3247
  QPropertyListRow: ht,
3048
- QSelect: $o,
3049
- QSkeletonLoader: wo,
3050
- QSpinnerLoader: _e,
3248
+ QSelect: Io,
3249
+ QSkeletonLoader: Bo,
3250
+ QSpinnerLoader: ke,
3051
3251
  QTextField: ft,
3052
- QThemeProvider: xo,
3053
- QTooltip: Bo
3054
- }, Symbol.toStringTag, { value: "Module" })), ge = "q-theme";
3055
- function Io() {
3056
- const n = ze(ge);
3252
+ QThemeProvider: Vo,
3253
+ QTooltip: Eo
3254
+ }, Symbol.toStringTag, { value: "Module" })), $e = "q-theme";
3255
+ function Qo() {
3256
+ const n = ze($e);
3057
3257
  if (!n)
3058
3258
  throw new Error("[Quidgest UI] Could not find theme instance");
3059
3259
  return n;
3060
3260
  }
3061
- function Mo(n) {
3062
- const t = Io(), e = {
3063
- activeTheme: A(n),
3261
+ function Ro(n) {
3262
+ const t = Qo(), e = {
3263
+ activeTheme: V(n),
3064
3264
  themes: t.themes
3065
3265
  };
3066
- return De(ge, e), e;
3266
+ return Me($e, e), e;
3067
3267
  }
3068
- function To() {
3268
+ function Mo() {
3069
3269
  let n = document.getElementById(
3070
- ge
3270
+ $e
3071
3271
  );
3072
- return n || (n = document.createElement("style"), n.id = ge, document.head.appendChild(n)), n;
3272
+ return n || (n = document.createElement("style"), n.id = $e, document.head.appendChild(n)), n;
3073
3273
  }
3074
- function Vo(n) {
3274
+ function zo(n) {
3075
3275
  let t = "";
3076
3276
  for (const l of n) {
3077
3277
  t += `.q-theme--${l.name} {
@@ -3091,33 +3291,33 @@ function Vo(n) {
3091
3291
  t += `}
3092
3292
  `;
3093
3293
  }
3094
- const e = To();
3294
+ const e = Mo();
3095
3295
  e.textContent = t;
3096
3296
  }
3097
3297
  function Ze(n) {
3098
3298
  return n ? `--q-theme-${lt(n)}` : "";
3099
3299
  }
3100
- function Ao(n = {}) {
3300
+ function Oo(n = {}) {
3101
3301
  return { install: (e) => {
3102
3302
  const l = n.components || {};
3103
3303
  for (const s in l)
3104
3304
  e.component(s, l[s]);
3105
3305
  const o = n.defaults || {};
3106
- e.provide(Oe, A(o)), Eo(e, n.themes);
3306
+ e.provide(Pe, V(o)), Fo(e, n.themes);
3107
3307
  } };
3108
3308
  }
3109
- function Eo(n, t) {
3309
+ function Fo(n, t) {
3110
3310
  const e = [];
3111
3311
  let l;
3112
3312
  if (!t)
3113
3313
  l = "default", e.push({
3114
3314
  name: l,
3115
3315
  mode: "light",
3116
- scheme: Ee
3316
+ scheme: De
3117
3317
  });
3118
3318
  else
3119
3319
  for (const o of t.themes) {
3120
- const a = { ...o.mode === "light" ? Ee : et, ...o.colors };
3320
+ const a = { ...o.mode === "light" ? De : et, ...o.colors };
3121
3321
  e.push({
3122
3322
  name: o.name,
3123
3323
  mode: o.mode,
@@ -3126,21 +3326,21 @@ function Eo(n, t) {
3126
3326
  }
3127
3327
  if (l) {
3128
3328
  const o = {
3129
- activeTheme: A(l),
3329
+ activeTheme: V(l),
3130
3330
  themes: e
3131
3331
  };
3132
- Vo(e), Z(o.activeTheme, Qo, { immediate: !0 }), n.provide(ge, o);
3332
+ zo(e), ne(o.activeTheme, Po, { immediate: !0 }), n.provide($e, o);
3133
3333
  }
3134
3334
  }
3135
- function Qo(n) {
3335
+ function Po(n) {
3136
3336
  const t = document.documentElement, l = Array.from(t.classList).filter((o) => !o.startsWith("q-theme"));
3137
3337
  t.className = l.join(" "), t.classList.add(`q-theme--${n}`);
3138
3338
  }
3139
- const Fo = (n = {}) => Ao({ components: Co, ...n });
3339
+ const Go = (n = {}) => Oo({ components: Do, ...n });
3140
3340
  export {
3141
- Co as components,
3142
- Fo as createFramework,
3143
- Mo as provideTheme,
3144
- zo as templates,
3145
- Io as useTheme
3341
+ Do as components,
3342
+ Go as createFramework,
3343
+ Ro as provideTheme,
3344
+ No as templates,
3345
+ Qo as useTheme
3146
3346
  };