@quidgest/ui 0.14.4 → 0.14.6

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