@quidgest/ui 0.12.0 → 0.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/ui.css +22 -0
  2. package/dist/ui.esm.js +575 -575
  3. package/dist/ui.js +6 -6
  4. package/dist/ui.min.css +1 -1
  5. package/dist/ui.min.js +97 -108
  6. package/dist/ui.scss +23 -1
  7. package/esm/components/QButton/QButton.d.ts.map +1 -1
  8. package/esm/components/QButton/QButton.vue.js +14 -15
  9. package/esm/components/QButton/index.d.ts +196 -2
  10. package/esm/components/QButton/index.d.ts.map +1 -1
  11. package/esm/components/QButton/index.js +6 -0
  12. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  13. package/esm/components/QButtonGroup/index.d.ts +79 -2
  14. package/esm/components/QButtonGroup/index.d.ts.map +1 -1
  15. package/esm/components/QButtonGroup/index.js +6 -0
  16. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  17. package/esm/components/QButtonToggle/QButtonToggle.vue.js +17 -17
  18. package/esm/components/QButtonToggle/index.d.ts +115 -2
  19. package/esm/components/QButtonToggle/index.d.ts.map +1 -1
  20. package/esm/components/QButtonToggle/index.js +6 -0
  21. package/esm/components/QCombobox/QCombobox.d.ts +4 -4
  22. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  23. package/esm/components/QCombobox/QCombobox.vue.js +106 -111
  24. package/esm/components/QCombobox/index.d.ts +1083 -2
  25. package/esm/components/QCombobox/index.d.ts.map +1 -1
  26. package/esm/components/QCombobox/index.js +6 -0
  27. package/esm/components/QField/QField.d.ts.map +1 -1
  28. package/esm/components/QField/index.d.ts +168 -1
  29. package/esm/components/QField/index.d.ts.map +1 -1
  30. package/esm/components/QField/index.js +2 -2
  31. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  32. package/esm/components/QIcon/QIcon.vue.js +9 -12
  33. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  34. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  35. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  36. package/esm/components/QIcon/index.d.ts +156 -4
  37. package/esm/components/QIcon/index.d.ts.map +1 -1
  38. package/esm/components/QIcon/index.js +8 -11
  39. package/esm/components/QInputGroup/QInputGroup.d.ts +1 -1
  40. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  41. package/esm/components/QInputGroup/QInputGroup.vue.js +25 -27
  42. package/esm/components/QInputGroup/index.d.ts +153 -2
  43. package/esm/components/QInputGroup/index.d.ts.map +1 -1
  44. package/esm/components/QInputGroup/index.js +6 -0
  45. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  46. package/esm/components/QLineLoader/index.d.ts +13 -2
  47. package/esm/components/QLineLoader/index.d.ts.map +1 -1
  48. package/esm/components/QLineLoader/index.js +6 -0
  49. package/esm/components/QList/QList.d.ts +1 -1
  50. package/esm/components/QList/QList.d.ts.map +1 -1
  51. package/esm/components/QList/QList.vue.js +48 -49
  52. package/esm/components/QList/QListItem.d.ts +8 -1
  53. package/esm/components/QList/QListItem.d.ts.map +1 -1
  54. package/esm/components/QList/QListItem.vue.js +63 -37
  55. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  56. package/esm/components/QList/index.d.ts +418 -3
  57. package/esm/components/QList/index.d.ts.map +1 -1
  58. package/esm/components/QList/index.js +8 -10
  59. package/esm/components/QOverlay/QOverlay.d.ts +1 -1
  60. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  61. package/esm/components/QOverlay/index.d.ts +320 -2
  62. package/esm/components/QOverlay/index.d.ts.map +1 -1
  63. package/esm/components/QOverlay/index.js +4 -4
  64. package/esm/components/QPopover/QPopover.d.ts +1 -1
  65. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  66. package/esm/components/QPopover/QPopover.vue.js +11 -12
  67. package/esm/components/QPopover/index.d.ts +180 -2
  68. package/esm/components/QPopover/index.d.ts.map +1 -1
  69. package/esm/components/QPopover/index.js +6 -0
  70. package/esm/components/QSelect/QSelect.d.ts +3 -3
  71. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  72. package/esm/components/QSelect/QSelect.vue.js +68 -73
  73. package/esm/components/QSelect/index.d.ts +377 -2
  74. package/esm/components/QSelect/index.d.ts.map +1 -1
  75. package/esm/components/QSelect/index.js +6 -0
  76. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  77. package/esm/components/QSkeletonLoader/index.d.ts +31 -2
  78. package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
  79. package/esm/components/QSkeletonLoader/index.js +6 -0
  80. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  81. package/esm/components/QSpinnerLoader/index.d.ts +22 -2
  82. package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
  83. package/esm/components/QSpinnerLoader/index.js +4 -4
  84. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  85. package/esm/components/QTextField/QTextField.vue.js +7 -8
  86. package/esm/components/QTextField/index.d.ts +229 -2
  87. package/esm/components/QTextField/index.d.ts.map +1 -1
  88. package/esm/components/QTextField/index.js +2 -2
  89. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  90. package/esm/components/QThemeProvider/index.d.ts +37 -2
  91. package/esm/components/QThemeProvider/index.d.ts.map +1 -1
  92. package/esm/components/QThemeProvider/index.js +6 -0
  93. package/esm/components/QTooltip/QTooltip.d.ts +1 -1
  94. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  95. package/esm/components/QTooltip/QTooltip.vue.js +8 -9
  96. package/esm/components/QTooltip/index.d.ts +259 -2
  97. package/esm/components/QTooltip/index.d.ts.map +1 -1
  98. package/esm/components/QTooltip/index.js +6 -0
  99. package/esm/components/index.js +39 -44
  100. package/esm/composables/defaults.js +5 -5
  101. package/esm/framework.d.ts +2 -2
  102. package/package.json +16 -15
package/dist/ui.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as L, computed as k, openBlock as u, createElementBlock as m, normalizeClass as V, normalizeStyle as ie, ref as B, provide as We, inject as Re, getCurrentInstance as Xe, withModifiers as ue, createVNode as z, unref as b, createCommentVNode as q, createElementVNode as le, Fragment as ae, createTextVNode as he, toDisplayString as R, renderSlot as h, toRef as Pe, mergeModels as X, useModel as oe, createBlock as E, withCtx as w, renderList as Le, resolveDynamicComponent as Ye, h as Ue, normalizeProps as se, mergeProps as ce, reactive as Ne, watch as j, nextTick as G, onMounted as Ze, onBeforeUnmount as lt, Teleport as at, Transition as st, withKeys as it, createSlots as Ie, withDirectives as rt, vModelDynamic as dt, guardReactiveProps as fe } from "vue";
1
+ import { defineComponent as L, computed as k, openBlock as u, createElementBlock as m, normalizeClass as C, normalizeStyle as ie, getCurrentInstance as Ue, ref as V, provide as Ne, inject as He, withModifiers as ce, createVNode as Q, unref as y, createCommentVNode as q, createElementVNode as K, Fragment as se, createTextVNode as ve, toDisplayString as j, renderSlot as h, toRef as Ae, mergeModels as Z, useModel as ne, createBlock as D, withCtx as w, renderList as xe, resolveDynamicComponent as Ke, h as ze, normalizeProps as ae, mergeProps as fe, guardReactiveProps as re, reactive as Qe, watch as R, nextTick as X, onMounted as je, onBeforeUnmount as lt, Teleport as at, Transition as st, withKeys as it, createSlots as $e, withDirectives as rt, vModelDynamic as dt } from "vue";
2
2
  /*!
3
- * Quidgest UI v0.12.0
3
+ * Quidgest UI v0.12.2
4
4
  * (c) 2024 Quidgest - Consultores de Gestão, S.A.
5
5
  * Released under the MIT License.
6
6
  */
7
- const Se = {
7
+ const Le = {
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
+ }, Ge = {
39
39
  primary: "#009ff5",
40
40
  primaryLight: "#ade2ff",
41
41
  primaryDark: "#164965",
@@ -66,11 +66,11 @@ const Se = {
66
66
  onWarning: "#fff",
67
67
  onDanger: "#fff",
68
68
  onInfo: "#fff"
69
- }, To = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69
+ }, nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70
70
  __proto__: null,
71
- defaultDarkColorScheme: Je,
72
- defaultLightColorScheme: Se
73
- }, Symbol.toStringTag, { value: "Module" })), be = /* @__PURE__ */ L({
71
+ defaultDarkColorScheme: Ge,
72
+ defaultLightColorScheme: Le
73
+ }, Symbol.toStringTag, { value: "Module" })), ut = /* @__PURE__ */ L({
74
74
  __name: "QSpinnerLoader",
75
75
  props: {
76
76
  size: { default: 48 },
@@ -81,25 +81,25 @@ const Se = {
81
81
  "font-size": o.size !== 48 ? `${o.size}px` : void 0
82
82
  }));
83
83
  return (n, l) => (u(), m("div", {
84
- class: V(["q-spinner-loader", o.class]),
84
+ class: C(["q-spinner-loader", o.class]),
85
85
  style: ie(e.value)
86
86
  }, null, 6));
87
87
  }
88
88
  });
89
- function Be(t) {
89
+ function Se(t) {
90
90
  return t == null ? !0 : typeof t == "string" || Array.isArray(t) ? t.length === 0 : typeof t == "object" ? Object.keys(t).length === 0 : !1;
91
91
  }
92
- function He(t) {
92
+ function Me(t) {
93
93
  return t !== null && typeof t == "object" && !Array.isArray(t);
94
94
  }
95
- function Ve(t = {}, o = {}) {
95
+ function Be(t = {}, o = {}) {
96
96
  const e = {};
97
97
  for (const n in t)
98
98
  e[n] = t[n];
99
99
  for (const n in o) {
100
100
  const l = t[n], s = o[n];
101
- if (He(l) && He(s)) {
102
- e[n] = Ve(
101
+ if (Me(l) && Me(s)) {
102
+ e[n] = Be(
103
103
  l,
104
104
  s
105
105
  );
@@ -109,62 +109,61 @@ function Ve(t = {}, o = {}) {
109
109
  }
110
110
  return e;
111
111
  }
112
- const Ce = "q-defaults";
113
- function ut() {
112
+ const Ve = "q-defaults";
113
+ function ct() {
114
114
  var s, i;
115
- const t = Xe();
115
+ const t = Ue();
116
116
  if (!t)
117
117
  throw new Error("[Quidgest UI] useDefaults must be called from inside a setup function");
118
118
  const o = t.type.name ?? t.type.__name;
119
119
  if (!o)
120
120
  throw new Error("[Quidgest UI] Could not determine component name");
121
- const e = tt(), n = (s = e.value) == null ? void 0 : s.Global, l = (i = e.value) == null ? void 0 : i[o];
122
- return k(() => Ve(n, l));
121
+ const e = Re(), n = (s = e.value) == null ? void 0 : s.Global, l = (i = e.value) == null ? void 0 : i[o];
122
+ return k(() => Be(n, l));
123
123
  }
124
- function et(t) {
125
- if (Be(t))
124
+ function We(t) {
125
+ if (Se(t))
126
126
  return;
127
- const o = tt(), e = B(t), n = k(() => Be(e.value) ? o.value : Ve(o.value, e.value));
128
- We(Ce, n);
127
+ const o = Re(), e = V(t), n = k(() => Se(e.value) ? o.value : Be(o.value, e.value));
128
+ Ne(Ve, n);
129
129
  }
130
- function tt() {
131
- const t = Re(Ce, void 0);
130
+ function Re() {
131
+ const t = He(Ve, void 0);
132
132
  if (!t)
133
133
  throw new Error("[Quidgest UI] Could not find defaults instance");
134
134
  return t;
135
135
  }
136
- function ot(t) {
136
+ function Xe(t) {
137
137
  return t.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();
138
138
  }
139
- function ct(t, o) {
139
+ function ft(t, o) {
140
140
  var n;
141
- const e = ot(o);
141
+ const e = Xe(o);
142
142
  return e ? typeof ((n = t.props) == null ? void 0 : n[e]) < "u" : !1;
143
143
  }
144
- function Y(t) {
144
+ function S(t) {
145
145
  const o = t.setup;
146
146
  return o && (t.setup = (e, n) => {
147
- const l = ut();
148
- if (Be(l.value))
147
+ const l = ct();
148
+ if (Se(l.value))
149
149
  return o(e, n);
150
- const s = Xe();
150
+ const s = Ue();
151
151
  if (s === null)
152
152
  return o(e, n);
153
153
  const i = new Proxy(e, {
154
154
  get(a, c) {
155
155
  var x;
156
156
  const v = Reflect.get(a, c), $ = (x = l.value) == null ? void 0 : x[c];
157
- return typeof c == "string" && !ct(s.vnode, c) ? $ ?? v : v;
157
+ return typeof c == "string" && !ft(s.vnode, c) ? $ ?? v : v;
158
158
  }
159
159
  });
160
160
  return o(i, n);
161
161
  }), t;
162
162
  }
163
- Y(be);
164
- const ft = ["disabled"], pt = {
163
+ const qe = S(ut), pt = ["disabled"], mt = {
165
164
  key: 0,
166
165
  class: "q-btn__spinner"
167
- }, mt = { class: "q-btn__content" }, pe = /* @__PURE__ */ L({
166
+ }, vt = { class: "q-btn__content" }, ht = /* @__PURE__ */ L({
168
167
  __name: "QButton",
169
168
  props: {
170
169
  active: { type: Boolean },
@@ -203,25 +202,25 @@ const ft = ["disabled"], pt = {
203
202
  });
204
203
  return (a, c) => (u(), m("button", {
205
204
  type: "button",
206
- class: V(i.value),
205
+ class: C(i.value),
207
206
  disabled: l.value,
208
- onClick: ue(s, ["stop", "prevent"])
207
+ onClick: ce(s, ["stop", "prevent"])
209
208
  }, [
210
- a.loading ? (u(), m("div", pt, [
211
- z(b(be), { size: 20 })
209
+ a.loading ? (u(), m("div", mt, [
210
+ Q(y(qe), { size: 20 })
212
211
  ])) : q("", !0),
213
- le("span", mt, [
214
- a.iconOnRight ? (u(), m(ae, { key: 0 }, [
215
- he(R(e.label), 1)
212
+ K("span", vt, [
213
+ a.iconOnRight ? (u(), m(se, { key: 0 }, [
214
+ ve(j(e.label), 1)
216
215
  ], 64)) : q("", !0),
217
216
  h(a.$slots, "default"),
218
- a.iconOnRight ? q("", !0) : (u(), m(ae, { key: 1 }, [
219
- he(R(e.label), 1)
217
+ a.iconOnRight ? q("", !0) : (u(), m(se, { key: 1 }, [
218
+ ve(j(e.label), 1)
220
219
  ], 64))
221
220
  ])
222
- ], 10, ft));
221
+ ], 10, pt));
223
222
  }
224
- }), nt = /* @__PURE__ */ L({
223
+ }), pe = S(ht), yt = /* @__PURE__ */ L({
225
224
  __name: "QButtonGroup",
226
225
  props: {
227
226
  disabled: { type: Boolean },
@@ -231,15 +230,15 @@ const ft = ["disabled"], pt = {
231
230
  },
232
231
  setup(t) {
233
232
  const o = t;
234
- return et({
233
+ return We({
235
234
  QButton: {
236
235
  bStyle: "secondary",
237
- disabled: Pe(o, "disabled"),
238
- borderless: Pe(o, "borderless"),
236
+ disabled: Ae(o, "disabled"),
237
+ borderless: Ae(o, "borderless"),
239
238
  elevated: !1
240
239
  }
241
240
  }), (e, n) => (u(), m("div", {
242
- class: V([
241
+ class: C([
243
242
  "q-btn-group",
244
243
  {
245
244
  "q-btn-group--elevated": o.elevated
@@ -250,9 +249,9 @@ const ft = ["disabled"], pt = {
250
249
  h(e.$slots, "default")
251
250
  ], 2));
252
251
  }
253
- }), vt = /* @__PURE__ */ L({
252
+ }), Ye = S(yt), bt = /* @__PURE__ */ L({
254
253
  __name: "QButtonToggle",
255
- props: /* @__PURE__ */ X({
254
+ props: /* @__PURE__ */ Z({
256
255
  options: {},
257
256
  disabled: { type: Boolean },
258
257
  borderless: { type: Boolean },
@@ -265,19 +264,19 @@ const ft = ["disabled"], pt = {
265
264
  }),
266
265
  emits: ["update:modelValue"],
267
266
  setup(t) {
268
- const o = t, e = oe(t, "modelValue");
267
+ const o = t, e = ne(t, "modelValue");
269
268
  function n(l) {
270
269
  e.value === l.key && !o.required ? e.value = void 0 : e.value = l.key;
271
270
  }
272
- return (l, s) => (u(), E(b(nt), {
271
+ return (l, s) => (u(), D(y(Ye), {
273
272
  "b-style": "secondary",
274
- class: V(o.class),
273
+ class: C(o.class),
275
274
  disabled: o.disabled,
276
275
  borderless: o.borderless,
277
276
  elevated: o.elevated
278
277
  }, {
279
278
  default: w(() => [
280
- (u(!0), m(ae, null, Le(o.options, (i) => (u(), E(b(pe), {
279
+ (u(!0), m(se, null, xe(o.options, (i) => (u(), D(y(pe), {
281
280
  key: i.key,
282
281
  title: i.title,
283
282
  label: i.label,
@@ -293,7 +292,7 @@ const ft = ["disabled"], pt = {
293
292
  _: 3
294
293
  }, 8, ["class", "disabled", "borderless", "elevated"]));
295
294
  }
296
- }), W = /* @__PURE__ */ L({
295
+ }), gt = S(bt), _t = /* @__PURE__ */ L({
297
296
  __name: "QIcon",
298
297
  props: {
299
298
  icon: {},
@@ -305,22 +304,22 @@ const ft = ["disabled"], pt = {
305
304
  const o = t, e = k(() => {
306
305
  switch (o.type) {
307
306
  case "svg":
308
- return De;
307
+ return et;
309
308
  case "font":
310
- return Te;
309
+ return Ze;
311
310
  case "img":
312
- return Ee;
311
+ return Je;
313
312
  default:
314
313
  return;
315
314
  }
316
315
  });
317
- return (n, l) => (u(), E(Ye(e.value), {
318
- class: V(o.class),
316
+ return (n, l) => (u(), D(Ke(e.value), {
317
+ class: C(o.class),
319
318
  icon: o.icon,
320
319
  size: o.size
321
320
  }, null, 8, ["class", "icon", "size"]));
322
321
  }
323
- }), Te = /* @__PURE__ */ L({
322
+ }), kt = /* @__PURE__ */ L({
324
323
  __name: "QIconFont",
325
324
  props: {
326
325
  icon: {},
@@ -334,11 +333,11 @@ const ft = ["disabled"], pt = {
334
333
  "font-size": o.size !== void 0 ? `${o.size}px` : void 0
335
334
  }));
336
335
  return (s, i) => (u(), m("i", {
337
- class: V(["q-icon", "q-icon__font", e.value, n.value, o.class]),
336
+ class: C(["q-icon", "q-icon__font", e.value, n.value, o.class]),
338
337
  style: ie(l.value)
339
338
  }, null, 6));
340
339
  }
341
- }), ht = ["src"], Ee = /* @__PURE__ */ L({
340
+ }), wt = ["src"], $t = /* @__PURE__ */ L({
342
341
  __name: "QIconImg",
343
342
  props: {
344
343
  icon: {},
@@ -351,11 +350,11 @@ const ft = ["disabled"], pt = {
351
350
  }));
352
351
  return (n, l) => (u(), m("img", {
353
352
  src: o.icon,
354
- class: V(["q-icon", "q-icon__img", o.class]),
353
+ class: C(["q-icon", "q-icon__img", o.class]),
355
354
  style: ie(e.value)
356
- }, null, 14, ht));
355
+ }, null, 14, wt));
357
356
  }
358
- }), ve = {}, yt = L({
357
+ }), me = {}, qt = L({
359
358
  name: "InlineSvg",
360
359
  emits: {
361
360
  loaded: (t) => typeof t == "object",
@@ -368,9 +367,9 @@ const ft = ["disabled"], pt = {
368
367
  return null;
369
368
  const t = this.getSvgContent(this.svgElSource);
370
369
  if (!t)
371
- return Ue("div", this.$attrs);
370
+ return ze("div", this.$attrs);
372
371
  const o = {};
373
- return this.copySvgAttrs(o, this.svgElSource), this.copySvgAttrs(o, t), this.copyComponentAttrs(o, this.$attrs), o.innerHTML = t.innerHTML, Ue("svg", o);
372
+ return this.copySvgAttrs(o, this.svgElSource), this.copySvgAttrs(o, t), this.copyComponentAttrs(o, this.$attrs), o.innerHTML = t.innerHTML, ze("svg", o);
374
373
  },
375
374
  props: {
376
375
  /**
@@ -432,7 +431,7 @@ const ft = ["disabled"], pt = {
432
431
  n !== !1 && n !== null && n !== void 0 && (t[e] = n);
433
432
  },
434
433
  getSvgContent(t) {
435
- return this.symbol && (t = t.getElementById(this.symbol), !t) ? null : (this.transformSource && (t = t.cloneNode(!0), t = this.transformSource(t)), this.title && (this.transformSource || (t = t.cloneNode(!0)), bt(t, this.title)), t);
434
+ return this.symbol && (t = t.getElementById(this.symbol), !t) ? null : (this.transformSource && (t = t.cloneNode(!0), t = this.transformSource(t)), this.title && (this.transformSource || (t = t.cloneNode(!0)), It(t, this.title)), t);
436
435
  },
437
436
  /**
438
437
  * Get svgElSource
@@ -440,11 +439,11 @@ const ft = ["disabled"], pt = {
440
439
  */
441
440
  async getSource(t) {
442
441
  try {
443
- ve[t] || (ve[t] = gt(this.download(t))), this.svgElSource && ve[t].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
444
- const o = await ve[t];
442
+ me[t] || (me[t] = xt(this.download(t))), this.svgElSource && me[t].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
443
+ const o = await me[t];
445
444
  this.svgElSource = o, await this.$nextTick(), this.$emit("loaded", this.$el);
446
445
  } catch (o) {
447
- this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete ve[t], this.$emit("error", o);
446
+ this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete me[t], this.$emit("error", o);
448
447
  }
449
448
  },
450
449
  /**
@@ -469,7 +468,7 @@ const ft = ["disabled"], pt = {
469
468
  },
470
469
  expose: []
471
470
  });
472
- function bt(t, o) {
471
+ function It(t, o) {
473
472
  const e = t.getElementsByTagName("title");
474
473
  if (e.length)
475
474
  e[0].textContent = o;
@@ -478,7 +477,7 @@ function bt(t, o) {
478
477
  n.textContent = o, t.insertBefore(n, t.firstChild);
479
478
  }
480
479
  }
481
- function gt(t) {
480
+ function xt(t) {
482
481
  if (t.getIsPending)
483
482
  return t;
484
483
  let o = !0;
@@ -490,7 +489,7 @@ function gt(t) {
490
489
  );
491
490
  return e.getIsPending = () => o, e;
492
491
  }
493
- const De = /* @__PURE__ */ L({
492
+ const Lt = /* @__PURE__ */ L({
494
493
  __name: "QIconSvg",
495
494
  props: {
496
495
  icon: {},
@@ -509,8 +508,8 @@ const De = /* @__PURE__ */ L({
509
508
  function i() {
510
509
  n("unloaded");
511
510
  }
512
- return (a, c) => (u(), E(b(yt), {
513
- class: V(["q-icon", "q-icon__svg", e.class]),
511
+ return (a, c) => (u(), D(y(qt), {
512
+ class: C(["q-icon", "q-icon__svg", e.class]),
514
513
  src: e.bundle,
515
514
  symbol: e.icon,
516
515
  style: ie(l.value),
@@ -518,14 +517,9 @@ const De = /* @__PURE__ */ L({
518
517
  onUnloaded: i
519
518
  }, null, 8, ["class", "src", "symbol", "style"]));
520
519
  }
521
- });
522
- Y(W);
523
- Y(Te);
524
- Y(Ee);
525
- Y(De);
526
- const xe = /* @__PURE__ */ L({
520
+ }), Y = S(_t), Ze = S(kt), Je = S($t), et = S(Lt), St = /* @__PURE__ */ L({
527
521
  __name: "QList",
528
- props: /* @__PURE__ */ X({
522
+ props: /* @__PURE__ */ Z({
529
523
  highlighted: { type: [String, Number, Boolean, Symbol], default: void 0 },
530
524
  items: {},
531
525
  groups: { default: () => [] },
@@ -541,9 +535,9 @@ const xe = /* @__PURE__ */ L({
541
535
  }),
542
536
  emits: ["update:modelValue"],
543
537
  setup(t, { expose: o }) {
544
- const e = t, n = oe(t, "modelValue"), l = B(!1), s = k(() => i.value.length > 1 ? "div" : "ul"), i = k(() => e.groups.length ? e.groups.filter(
538
+ const e = t, n = ne(t, "modelValue"), l = V(!1), s = k(() => i.value.length > 1 ? "div" : "ul"), i = k(() => e.groups.length ? e.groups.filter(
545
539
  (f) => e.items.some((g) => g.group === f.id)
546
- ) : [{ id: "", title: "" }]), a = B(null);
540
+ ) : [{ id: "", title: "" }]), a = V(null);
547
541
  function c(f) {
548
542
  n.value = f;
549
543
  }
@@ -558,116 +552,117 @@ const xe = /* @__PURE__ */ L({
558
552
  if ((p = a.value) != null && p.contains(f.relatedTarget))
559
553
  return;
560
554
  let g;
561
- n.value ? g = e.items.findIndex((M) => M[e.itemValue] === n.value) : g = N();
555
+ n.value ? g = e.items.findIndex((F) => F[e.itemValue] === n.value) : g = H();
562
556
  const d = l.value;
563
557
  I(g, d);
564
558
  }
565
- function A(f) {
559
+ function z(f) {
566
560
  switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(f.key) && f.preventDefault(), f.key) {
567
561
  case "ArrowDown":
568
- C("next");
562
+ T("next");
569
563
  break;
570
564
  case "ArrowUp":
571
- C("prev");
565
+ T("prev");
572
566
  break;
573
567
  case "Home":
574
- C("first");
568
+ T("first");
575
569
  break;
576
570
  case "End":
577
- C("last");
571
+ T("last");
578
572
  break;
579
573
  }
580
574
  }
581
- function C(f) {
575
+ function T(f) {
582
576
  switch (f) {
583
577
  case "next":
584
578
  case "prev":
585
- I(O(f));
579
+ I(P(f));
586
580
  break;
587
581
  case "first":
588
- I(N());
582
+ I(H());
589
583
  break;
590
584
  case "last":
591
- I(Q());
585
+ I(M());
592
586
  break;
593
587
  }
594
588
  }
595
589
  function I(f, g = !1) {
596
590
  var p;
597
- (p = S()[f]) == null || p.focus({ preventScroll: g });
591
+ (p = B()[f]) == null || p.focus({ preventScroll: g });
598
592
  }
599
- function S() {
593
+ function B() {
600
594
  var g;
601
595
  const f = (g = a.value) == null ? void 0 : g.querySelectorAll("li");
602
596
  return f ? Array.from(f) : [];
603
597
  }
604
- function H(f) {
605
- return S()[f];
598
+ function G(f) {
599
+ return B()[f];
606
600
  }
607
- function Z() {
608
- return S().indexOf(document.activeElement);
601
+ function J() {
602
+ return B().indexOf(document.activeElement);
609
603
  }
610
- function N() {
611
- const f = S(), g = f.find((d) => D(d));
604
+ function H() {
605
+ const f = B(), g = f.find((d) => A(d));
612
606
  return g ? f.indexOf(g) : -1;
613
607
  }
614
- function Q() {
615
- const f = S(), g = [...f].reverse().find((d) => D(d));
608
+ function M() {
609
+ const f = B(), g = [...f].reverse().find((d) => A(d));
616
610
  return g ? f.indexOf(g) : -1;
617
611
  }
618
- function J(f, g, d) {
612
+ function ee(f, g, d) {
619
613
  return g === "prev" && f === 0 || g === "next" && f === d.length - 1;
620
614
  }
621
- function O(f) {
622
- const g = Z();
623
- return ee(g, f);
615
+ function P(f) {
616
+ const g = J();
617
+ return te(g, f);
624
618
  }
625
- function ee(f, g) {
626
- const d = S();
627
- if (J(f, g, d))
619
+ function te(f, g) {
620
+ const d = B();
621
+ if (ee(f, g, d))
628
622
  return f;
629
623
  let p = f + (g === "next" ? 1 : -1);
630
- for (; !D(d[p]); ) {
631
- if (J(p, g, d))
624
+ for (; !A(d[p]); ) {
625
+ if (ee(p, g, d))
632
626
  return f;
633
627
  p += g === "next" ? 1 : -1;
634
628
  }
635
629
  return p;
636
630
  }
637
- function D(f) {
631
+ function A(f) {
638
632
  return f.tabIndex === -2;
639
633
  }
640
- function K(f) {
634
+ function W(f) {
641
635
  return f ? e.items.filter((g) => g.group === f) : e.items;
642
636
  }
643
637
  return o({
644
638
  focusItem: I,
645
- getItem: H,
646
- getAdjacentItemIndex: ee,
647
- getFirstFocusableItemIndex: N,
648
- getLastFocusableItemIndex: Q
649
- }), (f, g) => (u(), E(Ye(s.value), {
639
+ getItem: G,
640
+ getAdjacentItemIndex: te,
641
+ getFirstFocusableItemIndex: H,
642
+ getLastFocusableItemIndex: M
643
+ }), (f, g) => (u(), D(Ke(s.value), {
650
644
  ref_key: "listRef",
651
645
  ref: a,
652
- class: V(["q-list", { "q-list--disabled": e.disabled }, e.class]),
646
+ class: C(["q-list", { "q-list--disabled": e.disabled }, e.class]),
653
647
  role: "listbox",
654
648
  tabindex: e.disabled ? -1 : 0,
655
649
  onFocus: x,
656
650
  onMousedown: v,
657
651
  onMouseup: $,
658
- onKeydown: A
652
+ onKeydown: z
659
653
  }, {
660
654
  default: w(() => [
661
- (u(!0), m(ae, null, Le(i.value, (d) => (u(), E(b(ze), {
655
+ (u(!0), m(se, null, xe(i.value, (d) => (u(), D(y(ot), {
662
656
  key: d.id,
663
657
  id: d.id,
664
658
  title: i.value.length === 1 ? void 0 : d.title
665
659
  }, {
666
660
  default: w(() => [
667
- (u(!0), m(ae, null, Le(K(d.id), (p) => (u(), E(b(Ae), {
661
+ (u(!0), m(se, null, xe(W(d.id), (p) => (u(), D(y(tt), {
668
662
  key: p[e.itemValue],
669
663
  value: p[e.itemValue],
670
664
  label: p[e.itemLabel],
665
+ description: p.description,
671
666
  icon: p.icon,
672
667
  disabled: e.disabled || d.disabled || p.disabled,
673
668
  highlighted: e.highlighted === p[e.itemValue],
@@ -678,7 +673,7 @@ const xe = /* @__PURE__ */ L({
678
673
  h(f.$slots, "item", { item: p })
679
674
  ]),
680
675
  _: 2
681
- }, 1032, ["value", "label", "icon", "disabled", "highlighted", "selected"]))), 128))
676
+ }, 1032, ["value", "label", "description", "icon", "disabled", "highlighted", "selected"]))), 128))
682
677
  ]),
683
678
  _: 2
684
679
  }, 1032, ["id", "title"]))), 128))
@@ -687,15 +682,21 @@ const xe = /* @__PURE__ */ L({
687
682
  }, 40, ["class", "tabindex"]));
688
683
  }
689
684
  });
690
- let _t = 0;
691
- function ge(t) {
692
- return t || `uid-${++_t}`;
685
+ let Bt = 0;
686
+ function ye(t) {
687
+ return t || `uid-${++Bt}`;
693
688
  }
694
- const kt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], wt = { class: "q-list-item__check-container" }, $t = {
689
+ const Vt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Ct = { class: "q-list-item__container" }, Tt = { class: "q-list-item__content" }, Et = {
690
+ key: 0,
691
+ class: "q-list-item__description"
692
+ }, Dt = { class: "q-list-item__check-container" }, At = {
695
693
  check: {
696
694
  icon: "check"
695
+ },
696
+ description: {
697
+ icon: "information-outline"
697
698
  }
698
- }, Ae = /* @__PURE__ */ L({
699
+ }, zt = /* @__PURE__ */ L({
699
700
  __name: "QListItem",
700
701
  props: {
701
702
  value: { type: [String, Number, Boolean, Symbol] },
@@ -703,12 +704,13 @@ const kt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], wt = {
703
704
  icon: { default: void 0 },
704
705
  selected: { type: Boolean },
705
706
  highlighted: { type: Boolean },
706
- icons: { default: () => $t },
707
- disabled: { type: Boolean }
707
+ icons: { default: () => At },
708
+ disabled: { type: Boolean },
709
+ description: { default: void 0 }
708
710
  },
709
711
  emits: ["select"],
710
712
  setup(t, { emit: o }) {
711
- const e = t, n = o, l = ge();
713
+ const e = t, n = o, l = ye();
712
714
  function s() {
713
715
  e.disabled || n("select", e.value);
714
716
  }
@@ -716,11 +718,11 @@ const kt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], wt = {
716
718
  a.key === "Tab" && s(), (a.key === "Enter" || a.key === " ") && (a.preventDefault(), a.stopPropagation(), s());
717
719
  }
718
720
  return (a, c) => (u(), m("li", {
719
- id: b(l),
721
+ id: y(l),
720
722
  "data-key": e.value,
721
723
  role: "option",
722
724
  tabindex: e.disabled ? void 0 : -2,
723
- class: V([
725
+ class: C([
724
726
  "q-list-item",
725
727
  {
726
728
  "q-list-item--disabled": e.disabled,
@@ -731,89 +733,93 @@ const kt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], wt = {
731
733
  "aria-label": e.label,
732
734
  "aria-selected": e.disabled ? void 0 : e.selected,
733
735
  onKeydown: i,
734
- onClick: ue(s, ["stop", "prevent"])
736
+ onClick: ce(s, ["stop", "prevent"])
735
737
  }, [
736
- h(a.$slots, "default", {}, () => [
737
- e.icon ? (u(), E(b(W), se(ce({ key: 0 }, e.icon)), null, 16)) : q("", !0),
738
- he(" " + R(e.label), 1)
738
+ K("div", Ct, [
739
+ K("div", Tt, [
740
+ h(a.$slots, "default", {}, () => [
741
+ e.icon ? (u(), D(y(Y), ae(fe({ key: 0 }, e.icon)), null, 16)) : q("", !0),
742
+ ve(" " + j(e.label), 1)
743
+ ])
744
+ ]),
745
+ e.description ? (u(), m("div", Et, [
746
+ Q(y(Y), ae(re(e.icons.description)), null, 16),
747
+ K("span", null, j(e.description), 1)
748
+ ])) : q("", !0)
739
749
  ]),
740
- le("div", wt, [
741
- e.selected ? (u(), E(b(W), ce({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : q("", !0)
750
+ K("div", Dt, [
751
+ e.selected ? (u(), D(y(Y), fe({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : q("", !0)
742
752
  ])
743
- ], 42, kt));
753
+ ], 42, Vt));
744
754
  }
745
- }), qt = ["data-key", "aria-labelledby"], It = ["id"], ze = /* @__PURE__ */ L({
755
+ }), Qt = ["data-key", "aria-labelledby"], Mt = ["id"], Ft = /* @__PURE__ */ L({
746
756
  __name: "QListItemGroup",
747
757
  props: {
748
758
  id: {},
749
759
  title: { default: "" }
750
760
  },
751
761
  setup(t) {
752
- const o = t, e = ge();
762
+ const o = t, e = ye();
753
763
  return (n, l) => (u(), m("ul", {
754
764
  class: "q-list-item-group",
755
765
  role: "group",
756
766
  "data-key": o.id,
757
- "aria-labelledby": o.title ? b(e) : void 0
767
+ "aria-labelledby": o.title ? y(e) : void 0
758
768
  }, [
759
769
  o.title ? (u(), m("li", {
760
770
  key: 0,
761
- id: b(e),
771
+ id: y(e),
762
772
  class: "q-list-item-group__title",
763
773
  role: "presentation"
764
- }, R(o.title), 9, It)) : q("", !0),
774
+ }, j(o.title), 9, Mt)) : q("", !0),
765
775
  h(n.$slots, "default")
766
- ], 8, qt));
776
+ ], 8, Qt));
767
777
  }
768
- });
769
- Y(xe);
770
- Y(Ae);
771
- Y(ze);
772
- const $e = 8;
773
- function xt(t, o, e, n) {
774
- const l = (n == null ? void 0 : n.offset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", i = t.getBoundingClientRect(), a = o.getBoundingClientRect(), c = e == null ? void 0 : e.getBoundingClientRect(), v = Lt(i, a, s, l), $ = Ct(i, a, v), x = Bt($, v, l), A = St(x, a, v);
775
- let C;
778
+ }), Ce = S(St), tt = S(zt), ot = S(Ft), ke = 8;
779
+ function Ot(t, o, e, n) {
780
+ const l = (n == null ? void 0 : n.offset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", i = t.getBoundingClientRect(), a = o.getBoundingClientRect(), c = e == null ? void 0 : e.getBoundingClientRect(), v = Pt(i, a, s, l), $ = Kt(i, a, v), x = Nt($, v, l), z = Ut(x, a, v);
781
+ let T;
776
782
  if (n != null && n.arrow) {
777
783
  if (!c)
778
784
  throw new Error("[Quidgest UI] The arrow element must exist to compute its position");
779
- C = Vt(A, i, a, c, v);
785
+ T = Ht(z, i, a, c, v);
780
786
  }
781
- return { overlayCoords: A, arrowCoords: C, placement: v };
787
+ return { overlayCoords: z, arrowCoords: T, placement: v };
782
788
  }
783
- function Lt(t, o, e, n) {
784
- const l = Ke(t, o, e, n);
785
- if (je(l)) {
786
- const s = _e(e), a = {
789
+ function Pt(t, o, e, n) {
790
+ const l = Fe(t, o, e, n);
791
+ if (Oe(l)) {
792
+ const s = be(e), a = {
787
793
  top: "bottom",
788
794
  bottom: "top",
789
795
  left: "right",
790
796
  right: "left"
791
- }[s], c = Ke(
797
+ }[s], c = Fe(
792
798
  t,
793
799
  o,
794
800
  a,
795
801
  n
796
802
  );
797
- if (je(c))
803
+ if (Oe(c))
798
804
  return e;
799
- const v = Dt(e);
805
+ const v = Wt(e);
800
806
  return v ? `${a}-${v}` : a;
801
807
  }
802
808
  return e;
803
809
  }
804
- function St(t, o, e) {
805
- const n = qe(e), l = (i, a, c) => Math.min(Math.max(i, a), c), s = { ...t };
806
- return n === "x" ? s.x = l(t.x, $e, window.innerWidth - o.width - $e) : s.y = l(t.y, $e, window.innerHeight - o.height - $e), s;
810
+ function Ut(t, o, e) {
811
+ const n = we(e), l = (i, a, c) => Math.min(Math.max(i, a), c), s = { ...t };
812
+ return n === "x" ? s.x = l(t.x, ke, window.innerWidth - o.width - ke) : s.y = l(t.y, ke, window.innerHeight - o.height - ke), s;
807
813
  }
808
- function Bt(t, o, e) {
809
- const n = _e(o);
814
+ function Nt(t, o, e) {
815
+ const n = be(o);
810
816
  return {
811
817
  x: t.x + (n === "left" ? -e : n === "right" ? e : 0),
812
818
  y: t.y + (n === "top" ? -e : n === "bottom" ? e : 0)
813
819
  };
814
820
  }
815
- function Vt(t, o, e, n, l) {
816
- if (qe(l) === "y") {
821
+ function Ht(t, o, e, n, l) {
822
+ if (we(l) === "y") {
817
823
  const i = o.top + o.height / 2, a = t.y + e.height / 2, c = a - i, v = e.height / 2 - c - n.height / 2 + 2;
818
824
  if (v > 0 && v < e.height - n.height)
819
825
  return {
@@ -827,7 +833,7 @@ function Vt(t, o, e, n, l) {
827
833
  };
828
834
  }
829
835
  }
830
- function Ct(t, o, e) {
836
+ function Kt(t, o, e) {
831
837
  const [n, l] = e.split("-"), s = t.x + t.width / 2 - o.width / 2, i = t.y + t.height / 2 - o.height / 2;
832
838
  let a;
833
839
  switch (n) {
@@ -848,7 +854,7 @@ function Ct(t, o, e) {
848
854
  }
849
855
  if (!l)
850
856
  return a;
851
- const v = qe(e) === "y" ? "height" : "width", $ = qe(e), x = t[v] / 2 - o[v] / 2;
857
+ const v = we(e) === "y" ? "height" : "width", $ = we(e), x = t[v] / 2 - o[v] / 2;
852
858
  switch (l) {
853
859
  case "start":
854
860
  a[$] -= x;
@@ -861,8 +867,8 @@ function Ct(t, o, e) {
861
867
  }
862
868
  return a;
863
869
  }
864
- function Ke(t, o, e, n) {
865
- const l = _e(e);
870
+ function Fe(t, o, e, n) {
871
+ const l = be(e);
866
872
  let s = 0;
867
873
  switch (l) {
868
874
  case "top":
@@ -882,34 +888,34 @@ function Ke(t, o, e, n) {
882
888
  }
883
889
  return s;
884
890
  }
885
- function Tt(t) {
891
+ function jt(t) {
886
892
  return t === "x" ? "y" : "x";
887
893
  }
888
- function Et(t) {
889
- const o = _e(t);
894
+ function Gt(t) {
895
+ const o = be(t);
890
896
  return ["left", "right"].includes(o) ? "x" : "y";
891
897
  }
892
- function qe(t) {
893
- return Tt(Et(t));
898
+ function we(t) {
899
+ return jt(Gt(t));
894
900
  }
895
- function _e(t) {
901
+ function be(t) {
896
902
  const [o] = t.split("-");
897
903
  return o;
898
904
  }
899
- function Dt(t) {
905
+ function Wt(t) {
900
906
  const [, o] = t.split("-");
901
907
  return o;
902
908
  }
903
- function je(t) {
909
+ function Oe(t) {
904
910
  return t < 0;
905
911
  }
906
- function At(t) {
912
+ function Rt(t) {
907
913
  return typeof t == "string" ? document.querySelector(t) : t;
908
914
  }
909
- const zt = ["role"], me = /* @__PURE__ */ L({
915
+ const Xt = ["role"], Yt = /* @__PURE__ */ L({
910
916
  inheritAttrs: !1,
911
917
  __name: "QOverlay",
912
- props: /* @__PURE__ */ X({
918
+ props: /* @__PURE__ */ Z({
913
919
  anchor: { default: void 0 },
914
920
  appearance: { default: "regular" },
915
921
  arrow: { type: Boolean },
@@ -931,36 +937,36 @@ const zt = ["role"], me = /* @__PURE__ */ L({
931
937
  modelValue: { type: Boolean },
932
938
  modelModifiers: {}
933
939
  }),
934
- emits: /* @__PURE__ */ X(["enter", "leave"], ["update:modelValue"]),
940
+ emits: /* @__PURE__ */ Z(["enter", "leave"], ["update:modelValue"]),
935
941
  setup(t, { emit: o }) {
936
- const e = t, n = o, l = oe(t, "modelValue"), s = k(() => [
942
+ const e = t, n = o, l = ne(t, "modelValue"), s = k(() => [
937
943
  "q-overlay",
938
- `q-overlay--${_e(a.placement)}`,
944
+ `q-overlay--${be(a.placement)}`,
939
945
  {
940
946
  "q-overlay--independent": e.anchor === void 0,
941
947
  "q-overlay--inverted": e.appearance === "inverted"
942
948
  },
943
949
  e.class
944
- ]), i = k(() => (l.value || a.animating) && !e.nonModal), a = Ne({
950
+ ]), i = k(() => (l.value || a.animating) && !e.nonModal), a = Qe({
945
951
  animating: !1,
946
952
  top: 0,
947
953
  left: 0,
948
954
  width: 0,
949
955
  placement: e.placement
950
- }), c = Ne({
956
+ }), c = Qe({
951
957
  top: void 0,
952
958
  left: void 0,
953
959
  hidden: !0
954
960
  }), v = k(() => a.top !== 0 && a.left !== 0);
955
- j(l, () => a.animating = !0);
961
+ R(l, () => a.animating = !0);
956
962
  const $ = k(() => {
957
963
  if (e.anchor === void 0)
958
964
  return;
959
- const y = D(), re = e.width === "anchor", U = re ? y == null ? void 0 : y.getBoundingClientRect().width : void 0;
965
+ const b = A(), de = e.width === "anchor", N = de ? b == null ? void 0 : b.getBoundingClientRect().width : void 0;
960
966
  return {
961
967
  top: `${a.top}px`,
962
968
  left: `${a.left}px`,
963
- width: U !== void 0 ? `${U}px` : void 0
969
+ width: N !== void 0 ? `${N}px` : void 0
964
970
  };
965
971
  }), x = k(() => {
966
972
  if (e.arrow)
@@ -969,84 +975,84 @@ const zt = ["role"], me = /* @__PURE__ */ L({
969
975
  left: c.left !== void 0 ? `${c.left}px` : void 0,
970
976
  opacity: c.hidden ? 0 : 1
971
977
  };
972
- }), A = B(null), C = B(null);
978
+ }), z = V(null), T = V(null);
973
979
  function I() {
974
- const y = D();
975
- if (!y || !C.value)
980
+ const b = A();
981
+ if (!b || !T.value)
976
982
  return;
977
- const re = {
983
+ const de = {
978
984
  placement: e.placement,
979
985
  width: e.width,
980
986
  offset: e.offset,
981
987
  arrow: e.arrow
982
- }, U = xt(
983
- y,
984
- C.value,
985
- (A == null ? void 0 : A.value) ?? void 0,
986
- re
988
+ }, N = Ot(
989
+ b,
990
+ T.value,
991
+ (z == null ? void 0 : z.value) ?? void 0,
992
+ de
987
993
  );
988
- a.left = U.overlayCoords.x, a.top = U.overlayCoords.y, a.placement = U.placement, c.hidden = U.arrowCoords === void 0, U.arrowCoords && (c.top = U.arrowCoords.y, c.left = U.arrowCoords.x);
994
+ a.left = N.overlayCoords.x, a.top = N.overlayCoords.y, a.placement = N.placement, c.hidden = N.arrowCoords === void 0, N.arrowCoords && (c.top = N.arrowCoords.y, c.left = N.arrowCoords.x);
989
995
  }
990
- j(
996
+ R(
991
997
  () => e.placement,
992
- () => G(I)
998
+ () => X(I)
993
999
  );
994
- let S;
995
- function H() {
996
- N(0);
1000
+ let B;
1001
+ function G() {
1002
+ H(0);
997
1003
  }
998
- function Z() {
999
- N(e.delay);
1004
+ function J() {
1005
+ H(e.delay);
1000
1006
  }
1001
- function N(y) {
1002
- S || (S = window.setTimeout(() => {
1007
+ function H(b) {
1008
+ B || (B = window.setTimeout(() => {
1003
1009
  l.value = !0;
1004
- }, y));
1010
+ }, b));
1005
1011
  }
1006
- function Q() {
1007
- if (clearTimeout(S), S = void 0, l.value = !1, e.anchor && e.trigger === "click") {
1008
- const y = D();
1009
- y == null || y.focus();
1012
+ function M() {
1013
+ if (clearTimeout(B), B = void 0, l.value = !1, e.anchor && e.trigger === "click") {
1014
+ const b = A();
1015
+ b == null || b.focus();
1010
1016
  }
1011
1017
  }
1012
- j(v, () => G(J));
1013
- function J() {
1018
+ R(v, () => X(ee));
1019
+ function ee() {
1014
1020
  n("enter");
1015
1021
  }
1016
- let O;
1017
- function ee() {
1018
- window.clearTimeout(O), O = window.setTimeout(() => a.animating = !1, 200), n("leave");
1022
+ let P;
1023
+ function te() {
1024
+ window.clearTimeout(P), P = window.setTimeout(() => a.animating = !1, 200), n("leave");
1019
1025
  }
1020
- function D() {
1021
- return e.anchor ? At(e.anchor) : null;
1026
+ function A() {
1027
+ return e.anchor ? Rt(e.anchor) : null;
1022
1028
  }
1023
- let K;
1029
+ let W;
1024
1030
  function f() {
1025
- const y = D();
1026
- if (y)
1027
- switch (K = new MutationObserver(I), K.observe(y, {
1031
+ const b = A();
1032
+ if (b)
1033
+ switch (W = new MutationObserver(I), W.observe(b, {
1028
1034
  attributes: !1,
1029
1035
  childList: !0,
1030
1036
  characterData: !0,
1031
1037
  subtree: !0
1032
1038
  }), e.trigger) {
1033
1039
  case "click":
1034
- y.addEventListener("click", H);
1040
+ b.addEventListener("click", G);
1035
1041
  break;
1036
1042
  case "hover":
1037
- y.addEventListener("mouseenter", Z), y.addEventListener("mouseleave", Q), y.addEventListener("focusin", H), y.addEventListener("focusout", Q);
1043
+ b.addEventListener("mouseenter", J), b.addEventListener("mouseleave", M), b.addEventListener("focusin", G), b.addEventListener("focusout", M);
1038
1044
  break;
1039
1045
  }
1040
1046
  }
1041
1047
  function g() {
1042
- const y = D();
1043
- if (y)
1044
- switch (K == null || K.disconnect(), e.trigger) {
1048
+ const b = A();
1049
+ if (b)
1050
+ switch (W == null || W.disconnect(), e.trigger) {
1045
1051
  case "click":
1046
- y.removeEventListener("click", H);
1052
+ b.removeEventListener("click", G);
1047
1053
  break;
1048
1054
  case "hover":
1049
- y.removeEventListener("mouseenter", Z), y.removeEventListener("mouseleave", Q), y.removeEventListener("focusin", H), y.removeEventListener("focusout", Q);
1055
+ b.removeEventListener("mouseenter", J), b.removeEventListener("mouseleave", M), b.removeEventListener("focusin", G), b.removeEventListener("focusout", M);
1050
1056
  break;
1051
1057
  }
1052
1058
  }
@@ -1056,95 +1062,93 @@ const zt = ["role"], me = /* @__PURE__ */ L({
1056
1062
  function p() {
1057
1063
  window.removeEventListener("resize", I), e.scrollLock || window.removeEventListener("scroll", I);
1058
1064
  }
1059
- let M;
1060
- function te() {
1061
- D() ? (I(), M = window.setTimeout(te, 100)) : Q();
1065
+ let F;
1066
+ function oe() {
1067
+ A() ? (I(), F = window.setTimeout(oe, 100)) : M();
1062
1068
  }
1063
- function P() {
1064
- d(), e.spy ? te() : I(), e.scrollLock && document.body.classList.add("no-scroll"), (e.anchor === void 0 || e.trigger === "click") && G(() => {
1065
- var y;
1066
- return (y = C.value) == null ? void 0 : y.focus();
1069
+ function U() {
1070
+ d(), e.spy ? oe() : I(), e.scrollLock && document.body.classList.add("no-scroll"), (e.anchor === void 0 || e.trigger === "click") && X(() => {
1071
+ var b;
1072
+ return (b = T.value) == null ? void 0 : b.focus();
1067
1073
  });
1068
1074
  }
1069
- function ne() {
1070
- p(), e.spy && (clearTimeout(M), M = void 0), e.scrollLock && document.body.classList.remove("no-scroll"), a.top = 0, a.left = 0;
1075
+ function le() {
1076
+ p(), e.spy && (clearTimeout(F), F = void 0), e.scrollLock && document.body.classList.remove("no-scroll"), a.top = 0, a.left = 0;
1071
1077
  }
1072
- function we() {
1073
- e.persistent || Q();
1078
+ function _e() {
1079
+ e.persistent || M();
1074
1080
  }
1075
- return Ze(() => {
1076
- G(f);
1081
+ return je(() => {
1082
+ X(f);
1077
1083
  }), lt(() => {
1078
- g(), ne();
1079
- }), j(
1084
+ g(), le();
1085
+ }), R(
1080
1086
  l,
1081
- (y) => {
1082
- G(() => y ? P() : ne());
1087
+ (b) => {
1088
+ X(() => b ? U() : le());
1083
1089
  },
1084
1090
  { immediate: !0 }
1085
- ), (y, re) => (u(), E(at, {
1091
+ ), (b, de) => (u(), D(at, {
1086
1092
  disabled: !l.value && !a.animating || e.inline,
1087
1093
  to: e.attach
1088
1094
  }, [
1089
1095
  i.value ? (u(), m("div", {
1090
1096
  key: 0,
1091
- class: V([
1097
+ class: C([
1092
1098
  "q-overlay__underlay",
1093
1099
  { "q-overlay__underlay--blur": e.backdropBlur }
1094
1100
  ])
1095
1101
  }, null, 2)) : q("", !0),
1096
- z(st, {
1102
+ Q(st, {
1097
1103
  name: e.transition,
1098
1104
  appear: "",
1099
- onLeave: ee
1105
+ onLeave: te
1100
1106
  }, {
1101
1107
  default: w(() => [
1102
1108
  l.value ? (u(), m("div", {
1103
1109
  key: 0,
1104
- class: V(s.value),
1110
+ class: C(s.value),
1105
1111
  style: ie($.value)
1106
1112
  }, [
1107
- le("div", ce({
1113
+ K("div", fe({
1108
1114
  class: "q-overlay__content",
1109
1115
  ref_key: "overlayRef",
1110
- ref: C,
1116
+ ref: T,
1111
1117
  tabindex: "-1",
1112
1118
  role: i.value ? "dialog" : void 0
1113
- }, y.$attrs, {
1114
- onKeydown: it(we, ["escape"]),
1115
- onBlur: we
1119
+ }, b.$attrs, {
1120
+ onKeydown: it(_e, ["escape"]),
1121
+ onBlur: _e
1116
1122
  }), [
1117
1123
  e.arrow ? (u(), m("div", {
1118
1124
  key: 0,
1119
1125
  ref_key: "arrowRef",
1120
- ref: A,
1126
+ ref: z,
1121
1127
  role: "presentation",
1122
1128
  class: "q-overlay__arrow",
1123
1129
  style: ie(x.value)
1124
1130
  }, null, 4)) : q("", !0),
1125
- h(y.$slots, "default")
1126
- ], 16, zt)
1131
+ h(b.$slots, "default")
1132
+ ], 16, Xt)
1127
1133
  ], 6)) : q("", !0)
1128
1134
  ]),
1129
1135
  _: 3
1130
1136
  }, 8, ["name"])
1131
1137
  ], 8, ["disabled", "to"]));
1132
1138
  }
1133
- });
1134
- Y(me);
1135
- const Qt = ["id"], Mt = {
1139
+ }), ge = S(Yt), Zt = ["id"], Jt = {
1136
1140
  key: 0,
1137
1141
  class: "q-field__label"
1138
- }, Ft = ["for"], Ot = {
1142
+ }, eo = ["for"], to = {
1139
1143
  key: 0,
1140
1144
  class: "q-field__prepend"
1141
- }, Pt = {
1145
+ }, oo = {
1142
1146
  key: 1,
1143
1147
  class: "q-field__append"
1144
- }, Ut = {
1148
+ }, no = {
1145
1149
  key: 1,
1146
1150
  class: "q-field__extras"
1147
- }, ke = /* @__PURE__ */ L({
1151
+ }, lo = /* @__PURE__ */ L({
1148
1152
  inheritAttrs: !1,
1149
1153
  __name: "QField",
1150
1154
  props: {
@@ -1158,12 +1162,12 @@ const Qt = ["id"], Mt = {
1158
1162
  class: { default: void 0 }
1159
1163
  },
1160
1164
  setup(t, { expose: o }) {
1161
- const e = t, n = ge(e.id), l = B(null), s = k(() => e.required && !e.readonly && !e.disabled);
1165
+ const e = t, n = ye(e.id), l = V(null), s = k(() => e.required && !e.readonly && !e.disabled);
1162
1166
  return o({
1163
1167
  fieldRef: l
1164
1168
  }), (i, a) => (u(), m("div", {
1165
- id: b(n),
1166
- class: V([
1169
+ id: y(n),
1170
+ class: C([
1167
1171
  "q-field",
1168
1172
  `q-field--${e.size}`,
1169
1173
  {
@@ -1174,39 +1178,37 @@ const Qt = ["id"], Mt = {
1174
1178
  e.class
1175
1179
  ])
1176
1180
  }, [
1177
- e.label ? (u(), m("div", Mt, [
1181
+ e.label ? (u(), m("div", Jt, [
1178
1182
  h(i.$slots, "label.prepend"),
1179
- le("label", {
1183
+ K("label", {
1180
1184
  for: e.for
1181
- }, R(e.label), 9, Ft),
1185
+ }, j(e.label), 9, eo),
1182
1186
  h(i.$slots, "label.append")
1183
1187
  ])) : q("", !0),
1184
1188
  h(i.$slots, "control", {}, () => [
1185
- le("div", ce({
1189
+ K("div", fe({
1186
1190
  class: "q-field__control",
1187
1191
  ref_key: "fieldRef",
1188
1192
  ref: l
1189
1193
  }, i.$attrs), [
1190
- i.$slots.prepend ? (u(), m("div", Ot, [
1194
+ i.$slots.prepend ? (u(), m("div", to, [
1191
1195
  h(i.$slots, "prepend")
1192
1196
  ])) : q("", !0),
1193
1197
  h(i.$slots, "default"),
1194
- i.$slots.append ? (u(), m("div", Pt, [
1198
+ i.$slots.append ? (u(), m("div", oo, [
1195
1199
  h(i.$slots, "append")
1196
1200
  ])) : q("", !0)
1197
1201
  ], 16)
1198
1202
  ]),
1199
- i.$slots.extras ? (u(), m("div", Ut, [
1203
+ i.$slots.extras ? (u(), m("div", no, [
1200
1204
  h(i.$slots, "extras")
1201
1205
  ])) : q("", !0)
1202
- ], 10, Qt));
1206
+ ], 10, Zt));
1203
1207
  }
1204
- });
1205
- Y(ke);
1206
- const Nt = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], Qe = /* @__PURE__ */ L({
1208
+ }), Ie = S(lo), ao = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], so = /* @__PURE__ */ L({
1207
1209
  inheritAttrs: !1,
1208
1210
  __name: "QTextField",
1209
- props: /* @__PURE__ */ X({
1211
+ props: /* @__PURE__ */ Z({
1210
1212
  id: { default: void 0 },
1211
1213
  placeholder: { default: "" },
1212
1214
  label: { default: "" },
@@ -1224,7 +1226,7 @@ const Nt = ["id", "type", "role", "required", "placeholder", "readonly", "disabl
1224
1226
  }),
1225
1227
  emits: ["update:modelValue"],
1226
1228
  setup(t, { expose: o }) {
1227
- const e = t, n = oe(t, "modelValue"), l = ge(e.id), s = B(null), i = B(null), a = k(
1229
+ const e = t, n = ne(t, "modelValue"), l = ye(e.id), s = V(null), i = V(null), a = k(
1228
1230
  () => e.readonly || e.disabled ? "" : e.placeholder
1229
1231
  );
1230
1232
  return o({
@@ -1233,17 +1235,17 @@ const Nt = ["id", "type", "role", "required", "placeholder", "readonly", "disabl
1233
1235
  return (c = s.value) == null ? void 0 : c.fieldRef;
1234
1236
  }),
1235
1237
  inputRef: i
1236
- }), (c, v) => (u(), E(b(ke), {
1238
+ }), (c, v) => (u(), D(y(Ie), {
1237
1239
  ref_key: "fieldRef",
1238
1240
  ref: s,
1239
- class: V(["q-text-field", e.class]),
1240
- for: b(l),
1241
+ class: C(["q-text-field", e.class]),
1242
+ for: y(l),
1241
1243
  label: e.label,
1242
1244
  size: e.size,
1243
1245
  readonly: e.readonly,
1244
1246
  disabled: e.disabled,
1245
1247
  required: e.required
1246
- }, Ie({
1248
+ }, $e({
1247
1249
  "label.prepend": w(() => [
1248
1250
  h(c.$slots, "label.prepend")
1249
1251
  ]),
@@ -1251,11 +1253,11 @@ const Nt = ["id", "type", "role", "required", "placeholder", "readonly", "disabl
1251
1253
  h(c.$slots, "label.append")
1252
1254
  ]),
1253
1255
  default: w(() => [
1254
- rt(le("input", ce({
1256
+ rt(K("input", fe({
1255
1257
  "onUpdate:modelValue": v[0] || (v[0] = ($) => n.value = $),
1256
1258
  ref_key: "inputRef",
1257
1259
  ref: i,
1258
- id: b(l),
1260
+ id: y(l),
1259
1261
  class: "q-text-field__input",
1260
1262
  type: e.type,
1261
1263
  role: e.role,
@@ -1264,7 +1266,7 @@ const Nt = ["id", "type", "role", "required", "placeholder", "readonly", "disabl
1264
1266
  readonly: e.readonly,
1265
1267
  disabled: e.disabled,
1266
1268
  maxlength: e.maxLength
1267
- }, c.$attrs), null, 16, Nt), [
1269
+ }, c.$attrs), null, 16, ao), [
1268
1270
  [dt, n.value]
1269
1271
  ])
1270
1272
  ]),
@@ -1293,26 +1295,24 @@ const Nt = ["id", "type", "role", "required", "placeholder", "readonly", "disabl
1293
1295
  } : void 0
1294
1296
  ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
1295
1297
  }
1296
- });
1297
- Y(Qe);
1298
- const Ht = ["data-key"], Kt = {
1298
+ }), nt = S(so), io = ["data-key"], ro = {
1299
1299
  key: 0,
1300
1300
  class: "q-select__loader"
1301
- }, jt = {
1301
+ }, uo = {
1302
1302
  key: 2,
1303
1303
  class: "q-select__loader"
1304
- }, Gt = {
1304
+ }, co = {
1305
1305
  noData: "No data available"
1306
- }, Wt = {
1306
+ }, fo = {
1307
1307
  chevron: {
1308
1308
  icon: "chevron-down"
1309
1309
  },
1310
1310
  clear: {
1311
1311
  icon: "close"
1312
1312
  }
1313
- }, Rt = /* @__PURE__ */ L({
1313
+ }, po = /* @__PURE__ */ L({
1314
1314
  __name: "QCombobox",
1315
- props: /* @__PURE__ */ X({
1315
+ props: /* @__PURE__ */ Z({
1316
1316
  id: { default: void 0 },
1317
1317
  placeholder: { default: "" },
1318
1318
  selectionMode: { default: "automatic" },
@@ -1329,8 +1329,8 @@ const Ht = ["data-key"], Kt = {
1329
1329
  itemLabel: { default: "label" },
1330
1330
  emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
1331
1331
  size: { default: void 0 },
1332
- texts: { default: () => Gt },
1333
- icons: { default: () => Wt },
1332
+ texts: { default: () => co },
1333
+ icons: { default: () => fo },
1334
1334
  class: { default: void 0 }
1335
1335
  }, {
1336
1336
  modelValue: {
@@ -1342,153 +1342,153 @@ const Ht = ["data-key"], Kt = {
1342
1342
  search: { default: "" },
1343
1343
  searchModifiers: {}
1344
1344
  }),
1345
- emits: /* @__PURE__ */ X(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
1345
+ emits: /* @__PURE__ */ Z(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
1346
1346
  setup(t, { expose: o, emit: e }) {
1347
- const n = t, l = e, s = oe(t, "modelValue"), i = oe(t, "open"), a = oe(t, "search"), c = B(void 0), v = B(null), $ = B(null), x = B(null), A = B(null);
1348
- Ze(O);
1349
- const C = k(() => n.clearable && !n.readonly && !n.disabled), I = k(() => {
1347
+ const n = t, l = e, s = ne(t, "modelValue"), i = ne(t, "open"), a = ne(t, "search"), c = V(void 0), v = V(null), $ = V(null), x = V(null), z = V(null);
1348
+ je(P);
1349
+ const T = k(() => n.clearable && !n.readonly && !n.disabled), I = k(() => {
1350
1350
  var r;
1351
- return n.filterMode === "manual" || !Q.value ? n.items : (r = n.items) == null ? void 0 : r.filter(
1351
+ return n.filterMode === "manual" || !M.value ? n.items : (r = n.items) == null ? void 0 : r.filter(
1352
1352
  (_) => _[n.itemLabel].toLowerCase().startsWith(a.value.toLowerCase())
1353
1353
  );
1354
- }), S = k(() => {
1354
+ }), B = k(() => {
1355
1355
  var r;
1356
1356
  return (r = n.items) == null ? void 0 : r.find((_) => _[n.itemValue] === s.value);
1357
- }), H = k(() => S.value === void 0), Z = k(() => {
1357
+ }), G = k(() => B.value === void 0), J = k(() => {
1358
1358
  const r = c.value;
1359
1359
  if (r !== void 0 && I.value[r])
1360
1360
  return I.value[r];
1361
- }), N = k(() => {
1361
+ }), H = k(() => {
1362
1362
  var _;
1363
1363
  if (c.value === void 0)
1364
1364
  return;
1365
1365
  const r = (_ = $.value) == null ? void 0 : _.getItem(c.value);
1366
1366
  return r == null ? void 0 : r.id;
1367
- }), Q = k(() => {
1367
+ }), M = k(() => {
1368
1368
  var r;
1369
- return a.value.length > 0 && a.value !== ((r = S.value) == null ? void 0 : r[n.itemLabel]);
1369
+ return a.value.length > 0 && a.value !== ((r = B.value) == null ? void 0 : r[n.itemLabel]);
1370
1370
  });
1371
- function J(r) {
1372
- s.value = r, D();
1371
+ function ee(r) {
1372
+ s.value = r, A();
1373
1373
  }
1374
- function O() {
1374
+ function P() {
1375
1375
  var _;
1376
- const r = ((_ = S.value) == null ? void 0 : _[n.itemLabel]) || "";
1376
+ const r = ((_ = B.value) == null ? void 0 : _[n.itemLabel]) || "";
1377
1377
  a.value !== r && (a.value = r);
1378
1378
  }
1379
- function ee() {
1380
- i.value || n.readonly || n.disabled || (l("before-show"), i.value = !0, ne());
1379
+ function te() {
1380
+ i.value || n.readonly || n.disabled || (l("before-show"), i.value = !0, le());
1381
1381
  }
1382
- function D() {
1382
+ function A() {
1383
1383
  i.value && (l("before-hide"), i.value = !1, c.value = void 0);
1384
1384
  }
1385
- function K() {
1386
- i.value ? D() : g();
1385
+ function W() {
1386
+ i.value ? A() : g();
1387
1387
  }
1388
1388
  function f() {
1389
- C.value && (s.value = n.emptyValue, c.value = void 0, ne());
1389
+ T.value && (s.value = n.emptyValue, c.value = void 0, le());
1390
1390
  }
1391
1391
  function g() {
1392
- if (ee(), S.value !== void 0) {
1393
- const r = I.value.indexOf(S.value);
1394
- r !== -1 && G(() => U(r));
1392
+ if (te(), B.value !== void 0) {
1393
+ const r = I.value.indexOf(B.value);
1394
+ r !== -1 && X(() => N(r));
1395
1395
  }
1396
1396
  }
1397
1397
  function d(r) {
1398
- var _, T;
1398
+ var _, E;
1399
1399
  if (!(!r.key || n.readonly || n.disabled))
1400
1400
  if (["ArrowDown", "ArrowUp", "Home", "End"].includes(r.key) && (r.preventDefault(), r.stopPropagation()), r.key === "Escape")
1401
- O(), i.value && D();
1401
+ P(), i.value && A();
1402
1402
  else if (["ArrowDown", "ArrowUp"].includes(r.key))
1403
- i.value ? G(() => {
1403
+ i.value ? X(() => {
1404
1404
  if (c.value === void 0)
1405
1405
  p();
1406
1406
  else {
1407
- const F = r.key === "ArrowDown" ? "next" : "prev";
1408
- te(c.value, F);
1407
+ const O = r.key === "ArrowDown" ? "next" : "prev";
1408
+ oe(c.value, O);
1409
1409
  }
1410
- }) : (ee(), G(() => {
1411
- r.key === "ArrowDown" ? p() : M();
1410
+ }) : (te(), X(() => {
1411
+ r.key === "ArrowDown" ? p() : F();
1412
1412
  }));
1413
1413
  else if (r.key === "Enter") {
1414
- if (Z.value === void 0)
1414
+ if (J.value === void 0)
1415
1415
  return;
1416
- J(Z.value[n.itemValue]);
1416
+ ee(J.value[n.itemValue]);
1417
1417
  } else
1418
- r.key === "Home" ? c.value = (_ = $.value) == null ? void 0 : _.getFirstFocusableItemIndex() : r.key === "End" ? c.value = (T = $.value) == null ? void 0 : T.getLastFocusableItemIndex() : (/^[a-z]$/i.test(r.key) || r.key === "Backspace") && ee();
1418
+ r.key === "Home" ? c.value = (_ = $.value) == null ? void 0 : _.getFirstFocusableItemIndex() : r.key === "End" ? c.value = (E = $.value) == null ? void 0 : E.getLastFocusableItemIndex() : (/^[a-z]$/i.test(r.key) || r.key === "Backspace") && te();
1419
1419
  }
1420
1420
  function p() {
1421
1421
  var r, _;
1422
- if (H.value)
1422
+ if (G.value)
1423
1423
  c.value = (_ = $.value) == null ? void 0 : _.getFirstFocusableItemIndex();
1424
1424
  else {
1425
- const T = I.value.findIndex(
1426
- (F) => F[n.itemValue] === s.value
1425
+ const E = I.value.findIndex(
1426
+ (O) => O[n.itemValue] === s.value
1427
1427
  );
1428
- T === -1 ? c.value = (r = $.value) == null ? void 0 : r.getFirstFocusableItemIndex() : c.value = T;
1428
+ E === -1 ? c.value = (r = $.value) == null ? void 0 : r.getFirstFocusableItemIndex() : c.value = E;
1429
1429
  }
1430
1430
  }
1431
- function M() {
1431
+ function F() {
1432
1432
  var r;
1433
1433
  c.value = (r = $.value) == null ? void 0 : r.getLastFocusableItemIndex();
1434
1434
  }
1435
- function te(r, _) {
1436
- var T;
1437
- c.value = (T = $.value) == null ? void 0 : T.getAdjacentItemIndex(r, _);
1435
+ function oe(r, _) {
1436
+ var E;
1437
+ c.value = (E = $.value) == null ? void 0 : E.getAdjacentItemIndex(r, _);
1438
1438
  }
1439
- function P(r) {
1440
- var de, Me, Fe, Oe;
1441
- const _ = ((de = x == null ? void 0 : x.value) == null ? void 0 : de.$el) === r.relatedTarget, T = (Fe = (Me = v == null ? void 0 : v.value) == null ? void 0 : Me.$el) == null ? void 0 : Fe.contains(r.relatedTarget), F = (Oe = A == null ? void 0 : A.value) == null ? void 0 : Oe.contains(r.relatedTarget);
1442
- if (_ || F || T) {
1439
+ function U(r) {
1440
+ var ue, Te, Ee, De;
1441
+ const _ = ((ue = x == null ? void 0 : x.value) == null ? void 0 : ue.$el) === r.relatedTarget, E = (Ee = (Te = v == null ? void 0 : v.value) == null ? void 0 : Te.$el) == null ? void 0 : Ee.contains(r.relatedTarget), O = (De = z == null ? void 0 : z.value) == null ? void 0 : De.contains(r.relatedTarget);
1442
+ if (_ || O || E) {
1443
1443
  r.preventDefault(), r.stopPropagation();
1444
1444
  return;
1445
1445
  }
1446
- D(), C.value && !a.value && (s.value = n.emptyValue), O();
1446
+ A(), T.value && !a.value && (s.value = n.emptyValue), P();
1447
1447
  }
1448
- function ne() {
1448
+ function le() {
1449
1449
  var r, _;
1450
1450
  (_ = (r = v.value) == null ? void 0 : r.inputRef) == null || _.focus();
1451
1451
  }
1452
- function we() {
1453
- ne();
1452
+ function _e() {
1453
+ le();
1454
1454
  }
1455
- function y() {
1455
+ function b() {
1456
1456
  l("show");
1457
1457
  }
1458
- function re() {
1458
+ function de() {
1459
1459
  l("hide");
1460
1460
  }
1461
- function U(r) {
1462
- var T;
1463
- const _ = (T = $.value) == null ? void 0 : T.getItem(r);
1461
+ function N(r) {
1462
+ var E;
1463
+ const _ = (E = $.value) == null ? void 0 : E.getItem(r);
1464
1464
  $.value && ($.value.$el.scrollTop = _ == null ? void 0 : _.offsetTop);
1465
1465
  }
1466
- return j(s, O), j(
1466
+ return R(s, P), R(
1467
1467
  () => n.items,
1468
1468
  (r, _) => {
1469
- if (!H.value) {
1470
- const T = _.find((F) => F[n.itemValue] === s.value);
1471
- a.value === (T == null ? void 0 : T[n.itemLabel]) && O();
1469
+ if (!G.value) {
1470
+ const E = _.find((O) => O[n.itemValue] === s.value);
1471
+ a.value === (E == null ? void 0 : E[n.itemLabel]) && P();
1472
1472
  }
1473
1473
  },
1474
1474
  { deep: !0 }
1475
- ), j(c, (r) => {
1476
- r !== void 0 && U(r);
1477
- }), j(a, (r) => {
1478
- r && i.value && n.selectionMode === "automatic" && G(p);
1479
- }), j(
1475
+ ), R(c, (r) => {
1476
+ r !== void 0 && N(r);
1477
+ }), R(a, (r) => {
1478
+ r && i.value && n.selectionMode === "automatic" && X(p);
1479
+ }), R(
1480
1480
  () => n.loading,
1481
1481
  (r) => {
1482
- !r && i.value && G(p);
1482
+ !r && i.value && X(p);
1483
1483
  }
1484
1484
  ), o({
1485
1485
  triggerEl: v
1486
1486
  }), (r, _) => {
1487
- var T;
1488
- return u(), m(ae, null, [
1489
- z(b(Qe), {
1487
+ var E;
1488
+ return u(), m(se, null, [
1489
+ Q(y(nt), {
1490
1490
  modelValue: a.value,
1491
- "onUpdate:modelValue": _[0] || (_[0] = (F) => a.value = F),
1491
+ "onUpdate:modelValue": _[0] || (_[0] = (O) => a.value = O),
1492
1492
  id: n.id,
1493
1493
  label: n.label,
1494
1494
  required: n.required,
@@ -1496,7 +1496,7 @@ const Ht = ["data-key"], Kt = {
1496
1496
  ref: v,
1497
1497
  role: "combobox",
1498
1498
  placeholder: n.placeholder,
1499
- class: V([
1499
+ class: C([
1500
1500
  "q-combobox",
1501
1501
  {
1502
1502
  "q-combobox--readonly": n.readonly,
@@ -1512,12 +1512,12 @@ const Ht = ["data-key"], Kt = {
1512
1512
  "aria-expanded": i.value,
1513
1513
  "aria-haspopup": "listbox",
1514
1514
  "aria-autocomplete": "list",
1515
- "aria-activedescendant": N.value,
1515
+ "aria-activedescendant": H.value,
1516
1516
  size: n.size,
1517
1517
  onClick: g,
1518
- onFocusout: P,
1519
- onKeydown: ue(d, ["stop"])
1520
- }, Ie({
1518
+ onFocusout: U,
1519
+ onKeydown: ce(d, ["stop"])
1520
+ }, $e({
1521
1521
  "label.prepend": w(() => [
1522
1522
  h(r.$slots, "label.prepend")
1523
1523
  ]),
@@ -1526,7 +1526,7 @@ const Ht = ["data-key"], Kt = {
1526
1526
  ]),
1527
1527
  append: w(() => [
1528
1528
  h(r.$slots, "append"),
1529
- C.value && a.value ? (u(), E(b(pe), {
1529
+ T.value && a.value ? (u(), D(y(pe), {
1530
1530
  key: 0,
1531
1531
  class: "q-combobox__clear",
1532
1532
  "b-style": "plain",
@@ -1535,11 +1535,11 @@ const Ht = ["data-key"], Kt = {
1535
1535
  onClick: f
1536
1536
  }, {
1537
1537
  default: w(() => [
1538
- z(b(W), se(fe(n.icons.clear)), null, 16)
1538
+ Q(y(Y), ae(re(n.icons.clear)), null, 16)
1539
1539
  ]),
1540
1540
  _: 1
1541
1541
  })) : q("", !0),
1542
- n.readonly ? q("", !0) : (u(), E(b(pe), {
1542
+ n.readonly ? q("", !0) : (u(), D(y(pe), {
1543
1543
  key: 1,
1544
1544
  ref_key: "toggleRef",
1545
1545
  ref: x,
@@ -1548,10 +1548,10 @@ const Ht = ["data-key"], Kt = {
1548
1548
  borderless: "",
1549
1549
  tabindex: "-1",
1550
1550
  disabled: n.disabled,
1551
- onMousedown: ue(K, ["stop", "prevent"])
1551
+ onMousedown: ce(W, ["stop", "prevent"])
1552
1552
  }, {
1553
1553
  default: w(() => [
1554
- z(b(W), se(fe(n.icons.chevron)), null, 16)
1554
+ Q(y(Y), ae(re(n.icons.chevron)), null, 16)
1555
1555
  ]),
1556
1556
  _: 1
1557
1557
  }, 8, ["disabled"]))
@@ -1573,57 +1573,57 @@ const Ht = ["data-key"], Kt = {
1573
1573
  key: "1"
1574
1574
  } : void 0
1575
1575
  ]), 1032, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
1576
- z(b(me), {
1576
+ Q(y(ge), {
1577
1577
  modelValue: i.value,
1578
- "onUpdate:modelValue": _[2] || (_[2] = (F) => i.value = F),
1578
+ "onUpdate:modelValue": _[2] || (_[2] = (O) => i.value = O),
1579
1579
  spy: "",
1580
1580
  "non-modal": "",
1581
1581
  trigger: "manual",
1582
1582
  placement: "bottom-start",
1583
1583
  width: "anchor",
1584
1584
  offset: 4,
1585
- anchor: (T = v.value) == null ? void 0 : T.$el,
1586
- onEnter: y,
1587
- onLeave: re
1585
+ anchor: (E = v.value) == null ? void 0 : E.$el,
1586
+ onEnter: b,
1587
+ onLeave: de
1588
1588
  }, {
1589
1589
  default: w(() => {
1590
- var F;
1590
+ var O;
1591
1591
  return [
1592
- le("div", {
1592
+ K("div", {
1593
1593
  ref_key: "contentRef",
1594
- ref: A,
1594
+ ref: z,
1595
1595
  class: "q-select__body",
1596
1596
  "data-testid": "combobox-dropdown",
1597
1597
  "data-key": n.id,
1598
- onFocusout: P
1598
+ onFocusout: U
1599
1599
  }, [
1600
1600
  h(r.$slots, "body.prepend"),
1601
- n.loading ? (u(), m("div", Kt, [
1602
- z(b(be), { size: 24 })
1603
- ])) : I.value.length ? (u(), E(b(xe), {
1601
+ n.loading ? (u(), m("div", ro, [
1602
+ Q(y(qe), { size: 24 })
1603
+ ])) : I.value.length ? (u(), D(y(Ce), {
1604
1604
  key: 1,
1605
1605
  ref_key: "listRef",
1606
1606
  ref: $,
1607
1607
  class: "q-select__items",
1608
1608
  modelValue: s.value,
1609
1609
  "onUpdate:modelValue": [
1610
- _[1] || (_[1] = (de) => s.value = de),
1611
- J
1610
+ _[1] || (_[1] = (ue) => s.value = ue),
1611
+ ee
1612
1612
  ],
1613
- highlighted: (F = Z.value) == null ? void 0 : F[n.itemValue],
1613
+ highlighted: (O = J.value) == null ? void 0 : O[n.itemValue],
1614
1614
  items: I.value,
1615
1615
  groups: r.groups,
1616
1616
  "item-label": n.itemLabel,
1617
1617
  "item-value": n.itemValue,
1618
- onMouseup: we
1618
+ onMouseup: _e
1619
1619
  }, {
1620
- item: w(({ item: de }) => [
1621
- h(r.$slots, "item", { item: de })
1620
+ item: w(({ item: ue }) => [
1621
+ h(r.$slots, "item", { item: ue })
1622
1622
  ]),
1623
1623
  _: 3
1624
- }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (u(), m("div", jt, R(r.texts.noData), 1)),
1624
+ }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (u(), m("div", uo, j(r.texts.noData), 1)),
1625
1625
  h(r.$slots, "body.append")
1626
- ], 40, Ht)
1626
+ ], 40, io)
1627
1627
  ];
1628
1628
  }),
1629
1629
  _: 3
@@ -1631,13 +1631,13 @@ const Ht = ["data-key"], Kt = {
1631
1631
  ], 64);
1632
1632
  };
1633
1633
  }
1634
- }), Xt = {
1634
+ }), mo = S(po), vo = {
1635
1635
  key: 0,
1636
1636
  class: "q-input-group__prepend"
1637
- }, Yt = { key: 0 }, Zt = {
1637
+ }, ho = { key: 0 }, yo = {
1638
1638
  key: 1,
1639
1639
  class: "q-input-group__append"
1640
- }, Jt = { key: 0 }, eo = /* @__PURE__ */ L({
1640
+ }, bo = { key: 0 }, go = /* @__PURE__ */ L({
1641
1641
  __name: "QInputGroup",
1642
1642
  props: {
1643
1643
  id: { default: void 0 },
@@ -1650,28 +1650,28 @@ const Ht = ["data-key"], Kt = {
1650
1650
  },
1651
1651
  setup(t) {
1652
1652
  const o = t;
1653
- return et({
1653
+ return We({
1654
1654
  QField: {
1655
1655
  size: "block"
1656
1656
  }
1657
- }), (e, n) => (u(), E(b(ke), {
1657
+ }), (e, n) => (u(), D(y(Ie), {
1658
1658
  id: o.id,
1659
- class: V(["q-input-group", o.class]),
1659
+ class: C(["q-input-group", o.class]),
1660
1660
  label: o.label,
1661
1661
  required: o.required,
1662
1662
  size: o.size
1663
- }, Ie({
1663
+ }, $e({
1664
1664
  default: w(() => [
1665
- e.$slots.prepend || o.prependIcon ? (u(), m("div", Xt, [
1666
- o.prependIcon ? (u(), m("span", Yt, [
1667
- z(b(W), se(fe(o.prependIcon)), null, 16)
1665
+ e.$slots.prepend || o.prependIcon ? (u(), m("div", vo, [
1666
+ o.prependIcon ? (u(), m("span", ho, [
1667
+ Q(y(Y), ae(re(o.prependIcon)), null, 16)
1668
1668
  ])) : q("", !0),
1669
1669
  h(e.$slots, "prepend")
1670
1670
  ])) : q("", !0),
1671
1671
  h(e.$slots, "default"),
1672
- e.$slots.append || o.appendIcon ? (u(), m("div", Zt, [
1673
- o.appendIcon ? (u(), m("span", Jt, [
1674
- z(b(W), se(fe(o.appendIcon)), null, 16)
1672
+ e.$slots.append || o.appendIcon ? (u(), m("div", yo, [
1673
+ o.appendIcon ? (u(), m("span", bo, [
1674
+ Q(y(Y), ae(re(o.appendIcon)), null, 16)
1675
1675
  ])) : q("", !0),
1676
1676
  h(e.$slots, "append")
1677
1677
  ])) : q("", !0)
@@ -1687,7 +1687,7 @@ const Ht = ["data-key"], Kt = {
1687
1687
  } : void 0
1688
1688
  ]), 1032, ["id", "class", "label", "required", "size"]));
1689
1689
  }
1690
- }), to = /* @__PURE__ */ L({
1690
+ }), _o = S(go), ko = /* @__PURE__ */ L({
1691
1691
  __name: "QLineLoader",
1692
1692
  props: {
1693
1693
  class: { default: void 0 }
@@ -1695,19 +1695,19 @@ const Ht = ["data-key"], Kt = {
1695
1695
  setup(t) {
1696
1696
  const o = t;
1697
1697
  return (e, n) => (u(), m("div", {
1698
- class: V(["q-line-loader", o.class])
1698
+ class: C(["q-line-loader", o.class])
1699
1699
  }, null, 2));
1700
1700
  }
1701
- }), oo = {
1701
+ }), wo = S(ko), $o = {
1702
1702
  key: 0,
1703
1703
  class: "q-popover__header"
1704
- }, no = {
1704
+ }, qo = {
1705
1705
  key: 1,
1706
1706
  class: "q-popover__body"
1707
- }, lo = ["innerHTML"], ao = { key: 1 }, so = /* @__PURE__ */ L({
1707
+ }, Io = ["innerHTML"], xo = { key: 1 }, Lo = /* @__PURE__ */ L({
1708
1708
  inheritAttrs: !1,
1709
1709
  __name: "QPopover",
1710
- props: /* @__PURE__ */ X({
1710
+ props: /* @__PURE__ */ Z({
1711
1711
  anchor: {},
1712
1712
  arrow: { type: Boolean, default: !0 },
1713
1713
  attach: { default: "body" },
@@ -1723,8 +1723,8 @@ const Ht = ["data-key"], Kt = {
1723
1723
  }),
1724
1724
  emits: ["update:modelValue"],
1725
1725
  setup(t) {
1726
- const o = t, e = oe(t, "modelValue");
1727
- return (n, l) => (u(), E(b(me), {
1726
+ const o = t, e = ne(t, "modelValue");
1727
+ return (n, l) => (u(), D(y(ge), {
1728
1728
  "model-value": e.value,
1729
1729
  class: "q-popover",
1730
1730
  trigger: "click",
@@ -1736,42 +1736,42 @@ const Ht = ["data-key"], Kt = {
1736
1736
  placement: o.placement
1737
1737
  }, {
1738
1738
  default: w(() => [
1739
- o.title || n.$slots.header ? (u(), m("h3", oo, [
1740
- he(R(o.title) + " ", 1),
1739
+ o.title || n.$slots.header ? (u(), m("h3", $o, [
1740
+ ve(j(o.title) + " ", 1),
1741
1741
  h(n.$slots, "header")
1742
1742
  ])) : q("", !0),
1743
- o.text || n.$slots.body ? (u(), m("div", no, [
1743
+ o.text || n.$slots.body ? (u(), m("div", qo, [
1744
1744
  o.html ? (u(), m("span", {
1745
1745
  key: 0,
1746
1746
  innerHTML: o.text
1747
- }, null, 8, lo)) : (u(), m("span", ao, R(o.text), 1)),
1747
+ }, null, 8, Io)) : (u(), m("span", xo, j(o.text), 1)),
1748
1748
  h(n.$slots, "body")
1749
1749
  ])) : q("", !0)
1750
1750
  ]),
1751
1751
  _: 3
1752
1752
  }, 8, ["model-value", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
1753
1753
  }
1754
- }), io = {
1754
+ }), So = S(Lo), Bo = {
1755
1755
  key: 0,
1756
1756
  class: "q-select__value"
1757
- }, ro = {
1757
+ }, Vo = {
1758
1758
  key: 1,
1759
1759
  class: "q-select__placeholder"
1760
- }, uo = ["data-key"], co = {
1760
+ }, Co = ["data-key"], To = {
1761
1761
  key: 0,
1762
1762
  class: "q-select__loader"
1763
- }, fo = {
1763
+ }, Eo = {
1764
1764
  placeholder: "Choose..."
1765
- }, po = {
1765
+ }, Do = {
1766
1766
  chevron: {
1767
1767
  icon: "chevron-down"
1768
1768
  },
1769
1769
  clear: {
1770
1770
  icon: "close"
1771
1771
  }
1772
- }, mo = /* @__PURE__ */ L({
1772
+ }, Ao = /* @__PURE__ */ L({
1773
1773
  __name: "QSelect",
1774
- props: /* @__PURE__ */ X({
1774
+ props: /* @__PURE__ */ Z({
1775
1775
  id: { default: void 0 },
1776
1776
  label: { default: "" },
1777
1777
  clearable: { type: Boolean },
@@ -1779,14 +1779,14 @@ const Ht = ["data-key"], Kt = {
1779
1779
  disabled: { type: Boolean },
1780
1780
  required: { type: Boolean },
1781
1781
  loading: { type: Boolean },
1782
- icons: { default: () => po },
1782
+ icons: { default: () => Do },
1783
1783
  items: {},
1784
1784
  groups: { default: () => [] },
1785
1785
  itemValue: { default: "key" },
1786
1786
  itemLabel: { default: "label" },
1787
1787
  emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
1788
1788
  size: { default: void 0 },
1789
- texts: { default: () => fo },
1789
+ texts: { default: () => Eo },
1790
1790
  class: { default: "" }
1791
1791
  }, {
1792
1792
  modelValue: {
@@ -1794,41 +1794,41 @@ const Ht = ["data-key"], Kt = {
1794
1794
  },
1795
1795
  modelModifiers: {}
1796
1796
  }),
1797
- emits: /* @__PURE__ */ X(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
1797
+ emits: /* @__PURE__ */ Z(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
1798
1798
  setup(t, { emit: o }) {
1799
- const e = t, n = o, l = oe(t, "modelValue"), s = B(!1), i = B(""), a = B(null), c = B(null), v = B(null), $ = k(() => x.value === void 0), x = k(
1799
+ const e = t, n = o, l = ne(t, "modelValue"), s = V(!1), i = V(""), a = V(null), c = V(null), v = V(null), $ = k(() => x.value === void 0), x = k(
1800
1800
  () => {
1801
1801
  var d;
1802
1802
  return (d = e.items) == null ? void 0 : d.find((p) => p[e.itemValue] === l.value);
1803
1803
  }
1804
- ), A = k(
1804
+ ), z = k(
1805
1805
  () => x.value ? x.value[e.itemLabel] : ""
1806
- ), C = k(
1806
+ ), T = k(
1807
1807
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
1808
1808
  );
1809
1809
  function I(d) {
1810
- l.value = d, N();
1810
+ l.value = d, H();
1811
1811
  }
1812
- function S() {
1813
- C.value && I(e.emptyValue);
1812
+ function B() {
1813
+ T.value && I(e.emptyValue);
1814
1814
  }
1815
- function H(d) {
1816
- var p, M, te;
1817
- !((p = v.value) != null && p.contains(d.relatedTarget)) && !((te = (M = a.value) == null ? void 0 : M.fieldRef) != null && te.contains(d.relatedTarget)) && N();
1815
+ function G(d) {
1816
+ var p, F, oe;
1817
+ !((p = v.value) != null && p.contains(d.relatedTarget)) && !((oe = (F = a.value) == null ? void 0 : F.fieldRef) != null && oe.contains(d.relatedTarget)) && H();
1818
1818
  }
1819
- function Z() {
1819
+ function J() {
1820
1820
  s.value || (n("before-show"), s.value = !0);
1821
1821
  }
1822
- function N() {
1822
+ function H() {
1823
1823
  s.value && (n("before-hide"), s.value = !1);
1824
1824
  }
1825
- function Q() {
1826
- e.readonly || e.disabled || (s.value ? N() : Z());
1825
+ function M() {
1826
+ e.readonly || e.disabled || (s.value ? H() : J());
1827
1827
  }
1828
- let J;
1829
- function O(d) {
1828
+ let ee;
1829
+ function P(d) {
1830
1830
  if (!(!d.key || e.readonly || e.disabled)) {
1831
- if (window.clearTimeout(J), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(d.key) && (d.preventDefault(), d.stopPropagation()), ["Enter", " "].includes(d.key) && (s.value = !0), ["Escape", "Tab"].includes(d.key) && (s.value ? s.value = !1 : C.value && d.key === "Escape" && S()), d.key === "Delete" && e.clearable && S(), /^[a-z]$/i.test(d.key)) {
1831
+ if (window.clearTimeout(ee), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(d.key) && (d.preventDefault(), d.stopPropagation()), ["Enter", " "].includes(d.key) && (s.value = !0), ["Escape", "Tab"].includes(d.key) && (s.value ? s.value = !1 : T.value && d.key === "Escape" && B()), d.key === "Delete" && e.clearable && B(), /^[a-z]$/i.test(d.key)) {
1832
1832
  i.value += d.key.toLowerCase();
1833
1833
  for (let p = 0; p < e.items.length; p++)
1834
1834
  if (e.items[p][e.itemLabel].toLowerCase().startsWith(i.value)) {
@@ -1836,19 +1836,19 @@ const Ht = ["data-key"], Kt = {
1836
1836
  break;
1837
1837
  }
1838
1838
  }
1839
- J = window.setTimeout(function() {
1839
+ ee = window.setTimeout(function() {
1840
1840
  i.value = "";
1841
1841
  }, 500);
1842
1842
  }
1843
1843
  }
1844
- function ee() {
1844
+ function te() {
1845
1845
  var d;
1846
1846
  e.loading ? (d = v.value) == null || d.focus() : f(), n("show");
1847
1847
  }
1848
- function D() {
1849
- K(), n("hide");
1848
+ function A() {
1849
+ W(), n("hide");
1850
1850
  }
1851
- function K() {
1851
+ function W() {
1852
1852
  var d, p;
1853
1853
  (p = (d = a.value) == null ? void 0 : d.fieldRef) == null || p.focus();
1854
1854
  }
@@ -1860,15 +1860,15 @@ const Ht = ["data-key"], Kt = {
1860
1860
  var p;
1861
1861
  (p = c.value) == null || p.focusItem(d);
1862
1862
  }
1863
- return j(
1863
+ return R(
1864
1864
  () => e.loading,
1865
1865
  (d) => {
1866
- !d && s.value && G(f);
1866
+ !d && s.value && X(f);
1867
1867
  }
1868
1868
  ), (d, p) => {
1869
- var M, te;
1870
- return u(), m(ae, null, [
1871
- z(b(ke), {
1869
+ var F, oe;
1870
+ return u(), m(se, null, [
1871
+ Q(y(Ie), {
1872
1872
  id: e.id,
1873
1873
  label: e.label,
1874
1874
  required: e.required,
@@ -1876,7 +1876,7 @@ const Ht = ["data-key"], Kt = {
1876
1876
  ref: a,
1877
1877
  role: "combobox",
1878
1878
  tabindex: e.disabled ? -1 : 0,
1879
- class: V([
1879
+ class: C([
1880
1880
  "q-select",
1881
1881
  {
1882
1882
  "q-select--readonly": e.readonly,
@@ -1891,55 +1891,55 @@ const Ht = ["data-key"], Kt = {
1891
1891
  "aria-expanded": s.value,
1892
1892
  "aria-haspopup": "listbox",
1893
1893
  size: e.size,
1894
- onClick: Q,
1895
- onKeydown: ue(O, ["stop"])
1896
- }, Ie({
1894
+ onClick: M,
1895
+ onKeydown: ce(P, ["stop"])
1896
+ }, $e({
1897
1897
  append: w(() => [
1898
1898
  h(d.$slots, "append"),
1899
- C.value && l.value ? (u(), E(b(pe), {
1899
+ T.value && l.value ? (u(), D(y(pe), {
1900
1900
  key: 0,
1901
1901
  class: "q-select__clear",
1902
1902
  "b-style": "plain",
1903
1903
  borderless: "",
1904
1904
  tabindex: "-1",
1905
- onClick: S
1905
+ onClick: B
1906
1906
  }, {
1907
1907
  default: w(() => [
1908
- z(b(W), se(fe(e.icons.clear)), null, 16)
1908
+ Q(y(Y), ae(re(e.icons.clear)), null, 16)
1909
1909
  ]),
1910
1910
  _: 1
1911
1911
  })) : q("", !0),
1912
- e.readonly ? q("", !0) : (u(), E(b(pe), {
1912
+ e.readonly ? q("", !0) : (u(), D(y(pe), {
1913
1913
  key: 1,
1914
1914
  class: "q-select__chevron",
1915
1915
  "b-style": "plain",
1916
1916
  borderless: "",
1917
1917
  tabindex: "-1",
1918
1918
  disabled: e.disabled,
1919
- onClick: Q
1919
+ onClick: M
1920
1920
  }, {
1921
1921
  default: w(() => [
1922
- z(b(W), se(fe(e.icons.chevron)), null, 16)
1922
+ Q(y(Y), ae(re(e.icons.chevron)), null, 16)
1923
1923
  ]),
1924
1924
  _: 1
1925
1925
  }, 8, ["disabled"]))
1926
1926
  ]),
1927
1927
  default: w(() => [
1928
- $.value ? (u(), m("span", ro, [
1929
- !e.readonly && !e.disabled ? (u(), m(ae, { key: 0 }, [
1930
- he(R(d.texts.placeholder), 1)
1928
+ $.value ? (u(), m("span", Vo, [
1929
+ !e.readonly && !e.disabled ? (u(), m(se, { key: 0 }, [
1930
+ ve(j(d.texts.placeholder), 1)
1931
1931
  ], 64)) : q("", !0)
1932
- ])) : (u(), m("span", io, R(A.value), 1))
1932
+ ])) : (u(), m("span", Bo, j(z.value), 1))
1933
1933
  ]),
1934
1934
  _: 2
1935
1935
  }, [
1936
- (M = x.value) != null && M.icon || d.$slots.prepend ? {
1936
+ (F = x.value) != null && F.icon || d.$slots.prepend ? {
1937
1937
  name: "prepend",
1938
1938
  fn: w(() => {
1939
- var P, ne;
1939
+ var U, le;
1940
1940
  return [
1941
1941
  h(d.$slots, "prepend"),
1942
- (P = x.value) != null && P.icon ? (u(), E(b(W), se(ce({ key: 0 }, (ne = x.value) == null ? void 0 : ne.icon)), null, 16)) : q("", !0)
1942
+ (U = x.value) != null && U.icon ? (u(), D(y(Y), ae(fe({ key: 0 }, (le = x.value) == null ? void 0 : le.icon)), null, 16)) : q("", !0)
1943
1943
  ];
1944
1944
  }),
1945
1945
  key: "0"
@@ -1952,41 +1952,41 @@ const Ht = ["data-key"], Kt = {
1952
1952
  key: "1"
1953
1953
  } : void 0
1954
1954
  ]), 1032, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
1955
- z(b(me), {
1955
+ Q(y(ge), {
1956
1956
  modelValue: s.value,
1957
- "onUpdate:modelValue": p[1] || (p[1] = (P) => s.value = P),
1957
+ "onUpdate:modelValue": p[1] || (p[1] = (U) => s.value = U),
1958
1958
  spy: "",
1959
1959
  trigger: "manual",
1960
1960
  placement: "bottom-start",
1961
1961
  width: "anchor",
1962
1962
  "scroll-lock": "",
1963
- anchor: (te = a.value) == null ? void 0 : te.$el,
1963
+ anchor: (oe = a.value) == null ? void 0 : oe.$el,
1964
1964
  offset: 2,
1965
- onEnter: ee,
1966
- onLeave: D
1965
+ onEnter: te,
1966
+ onLeave: A
1967
1967
  }, {
1968
1968
  default: w(() => [
1969
- le("div", {
1969
+ K("div", {
1970
1970
  ref_key: "contentRef",
1971
1971
  ref: v,
1972
1972
  "data-testid": "combobox-dropdown",
1973
1973
  "data-key": e.id,
1974
1974
  class: "q-select__body",
1975
1975
  tabindex: "-1",
1976
- onFocusout: H,
1977
- onKeydown: ue(O, ["stop"])
1976
+ onFocusout: G,
1977
+ onKeydown: ce(P, ["stop"])
1978
1978
  }, [
1979
1979
  h(d.$slots, "body.prepend"),
1980
- e.loading ? (u(), m("div", co, [
1981
- z(b(be), { size: 24 })
1982
- ])) : (u(), E(b(xe), {
1980
+ e.loading ? (u(), m("div", To, [
1981
+ Q(y(qe), { size: 24 })
1982
+ ])) : (u(), D(y(Ce), {
1983
1983
  key: 1,
1984
1984
  ref_key: "listRef",
1985
1985
  ref: c,
1986
1986
  class: "q-select__items",
1987
1987
  modelValue: l.value,
1988
1988
  "onUpdate:modelValue": [
1989
- p[0] || (p[0] = (P) => l.value = P),
1989
+ p[0] || (p[0] = (U) => l.value = U),
1990
1990
  I
1991
1991
  ],
1992
1992
  items: e.items,
@@ -1994,22 +1994,22 @@ const Ht = ["data-key"], Kt = {
1994
1994
  "item-label": e.itemLabel,
1995
1995
  "item-value": e.itemValue
1996
1996
  }, {
1997
- item: w(({ item: P }) => [
1998
- h(d.$slots, "item", { item: P })
1997
+ item: w(({ item: U }) => [
1998
+ h(d.$slots, "item", { item: U })
1999
1999
  ]),
2000
2000
  _: 3
2001
2001
  }, 8, ["modelValue", "items", "groups", "item-label", "item-value"])),
2002
2002
  h(d.$slots, "body.append")
2003
- ], 40, uo)
2003
+ ], 40, Co)
2004
2004
  ]),
2005
2005
  _: 3
2006
2006
  }, 8, ["modelValue", "anchor"])
2007
2007
  ], 64);
2008
2008
  };
2009
2009
  }
2010
- }), vo = /* @__PURE__ */ le("div", { class: "q-skeleton-loader__bone" }, null, -1), ho = [
2011
- vo
2012
- ], yo = /* @__PURE__ */ L({
2010
+ }), zo = S(Ao), Qo = /* @__PURE__ */ K("div", { class: "q-skeleton-loader__bone" }, null, -1), Mo = [
2011
+ Qo
2012
+ ], Fo = /* @__PURE__ */ L({
2013
2013
  __name: "QSkeletonLoader",
2014
2014
  props: {
2015
2015
  type: { default: void 0 },
@@ -2025,11 +2025,11 @@ const Ht = ["data-key"], Kt = {
2025
2025
  };
2026
2026
  });
2027
2027
  return (l, s) => (u(), m("div", {
2028
- class: V(["q-skeleton-loader", e.value]),
2028
+ class: C(["q-skeleton-loader", e.value]),
2029
2029
  style: ie(n.value)
2030
- }, ho, 6));
2030
+ }, Mo, 6));
2031
2031
  }
2032
- }), bo = /* @__PURE__ */ L({
2032
+ }), Oo = S(Fo), Po = /* @__PURE__ */ L({
2033
2033
  __name: "QThemeProvider",
2034
2034
  props: {
2035
2035
  theme: {}
@@ -2037,14 +2037,14 @@ const Ht = ["data-key"], Kt = {
2037
2037
  setup(t) {
2038
2038
  const o = t;
2039
2039
  return (e, n) => (u(), m("div", {
2040
- class: V(["q-theme-provider", `q-theme--${o.theme}`])
2040
+ class: C(["q-theme-provider", `q-theme--${o.theme}`])
2041
2041
  }, [
2042
2042
  h(e.$slots, "default")
2043
2043
  ], 2));
2044
2044
  }
2045
- }), go = ["innerHTML"], _o = { key: 1 }, ko = /* @__PURE__ */ L({
2045
+ }), Uo = S(Po), No = ["innerHTML"], Ho = { key: 1 }, Ko = /* @__PURE__ */ L({
2046
2046
  __name: "QTooltip",
2047
- props: /* @__PURE__ */ X({
2047
+ props: /* @__PURE__ */ Z({
2048
2048
  id: { default: void 0 },
2049
2049
  anchor: {},
2050
2050
  appearance: { default: "inverted" },
@@ -2064,22 +2064,22 @@ const Ht = ["data-key"], Kt = {
2064
2064
  }),
2065
2065
  emits: ["update:modelValue"],
2066
2066
  setup(t) {
2067
- const o = t, e = oe(t, "modelValue"), n = ge(o.id);
2068
- return (l, s) => (u(), m(ae, null, [
2067
+ const o = t, e = ne(t, "modelValue"), n = ye(o.id);
2068
+ return (l, s) => (u(), m(se, null, [
2069
2069
  h(l.$slots, "anchor", {
2070
- props: { "aria-describedby": b(n) }
2070
+ props: { "aria-describedby": y(n) }
2071
2071
  }),
2072
- z(b(me), {
2072
+ Q(y(ge), {
2073
2073
  "model-value": e.value,
2074
2074
  anchor: o.anchor,
2075
2075
  role: "tooltip",
2076
2076
  "non-modal": "",
2077
- id: b(n),
2077
+ id: y(n),
2078
2078
  appearance: o.appearance,
2079
2079
  arrow: o.arrow,
2080
2080
  attach: o.attach,
2081
2081
  inline: o.inline,
2082
- class: V(["q-tooltip", o.class]),
2082
+ class: C(["q-tooltip", o.class]),
2083
2083
  delay: o.delay,
2084
2084
  disabled: o.disabled,
2085
2085
  placement: o.placement,
@@ -2089,67 +2089,67 @@ const Ht = ["data-key"], Kt = {
2089
2089
  o.html ? (u(), m("span", {
2090
2090
  key: 0,
2091
2091
  innerHTML: o.text
2092
- }, null, 8, go)) : (u(), m("span", _o, R(o.text), 1))
2092
+ }, null, 8, No)) : (u(), m("span", Ho, j(o.text), 1))
2093
2093
  ]),
2094
2094
  _: 1
2095
2095
  }, 8, ["model-value", "anchor", "id", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
2096
2096
  ], 64));
2097
2097
  }
2098
- }), wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2098
+ }), jo = S(Ko), Go = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2099
2099
  __proto__: null,
2100
2100
  QButton: pe,
2101
- QButtonGroup: nt,
2102
- QButtonToggle: vt,
2103
- QCombobox: Rt,
2104
- QField: ke,
2105
- QIcon: W,
2106
- QIconFont: Te,
2107
- QIconImg: Ee,
2108
- QIconSvg: De,
2109
- QInputGroup: eo,
2110
- QLineLoader: to,
2111
- QList: xe,
2112
- QListItem: Ae,
2113
- QListItemGroup: ze,
2114
- QOverlay: me,
2115
- QPopover: so,
2116
- QSelect: mo,
2117
- QSkeletonLoader: yo,
2118
- QSpinnerLoader: be,
2119
- QTextField: Qe,
2120
- QThemeProvider: bo,
2121
- QTooltip: ko
2122
- }, Symbol.toStringTag, { value: "Module" })), ye = "q-theme";
2123
- function $o() {
2124
- const t = Re(ye);
2101
+ QButtonGroup: Ye,
2102
+ QButtonToggle: gt,
2103
+ QCombobox: mo,
2104
+ QField: Ie,
2105
+ QIcon: Y,
2106
+ QIconFont: Ze,
2107
+ QIconImg: Je,
2108
+ QIconSvg: et,
2109
+ QInputGroup: _o,
2110
+ QLineLoader: wo,
2111
+ QList: Ce,
2112
+ QListItem: tt,
2113
+ QListItemGroup: ot,
2114
+ QOverlay: ge,
2115
+ QPopover: So,
2116
+ QSelect: zo,
2117
+ QSkeletonLoader: Oo,
2118
+ QSpinnerLoader: qe,
2119
+ QTextField: nt,
2120
+ QThemeProvider: Uo,
2121
+ QTooltip: jo
2122
+ }, Symbol.toStringTag, { value: "Module" })), he = "q-theme";
2123
+ function Wo() {
2124
+ const t = He(he);
2125
2125
  if (!t)
2126
2126
  throw new Error("[Quidgest UI] Could not find theme instance");
2127
2127
  return t;
2128
2128
  }
2129
- function Eo(t) {
2130
- const o = $o(), e = {
2131
- activeTheme: B(t),
2129
+ function ln(t) {
2130
+ const o = Wo(), e = {
2131
+ activeTheme: V(t),
2132
2132
  themes: o.themes
2133
2133
  };
2134
- return We(ye, e), e;
2134
+ return Ne(he, e), e;
2135
2135
  }
2136
- function qo(t) {
2136
+ function Ro(t) {
2137
2137
  return /^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$/.test(t);
2138
2138
  }
2139
- function Io(t) {
2140
- if (!qo(t))
2139
+ function Xo(t) {
2140
+ if (!Ro(t))
2141
2141
  throw new Error("Invalid color format");
2142
2142
  t.length === 4 && (t = "#" + t[1] + t[1] + t[2] + t[2] + t[3] + t[3]);
2143
2143
  const o = parseInt(t.slice(1, 3), 16), e = parseInt(t.slice(3, 5), 16), n = parseInt(t.slice(5, 7), 16);
2144
2144
  return { r: o, g: e, b: n };
2145
2145
  }
2146
- function xo() {
2146
+ function Yo() {
2147
2147
  let t = document.getElementById(
2148
- ye
2148
+ he
2149
2149
  );
2150
- return t || (t = document.createElement("style"), t.id = ye, document.head.appendChild(t)), t;
2150
+ return t || (t = document.createElement("style"), t.id = he, document.head.appendChild(t)), t;
2151
2151
  }
2152
- function Lo(t) {
2152
+ function Zo(t) {
2153
2153
  let o = "";
2154
2154
  for (const n of t) {
2155
2155
  o += `.q-theme--${n.name} {
@@ -2159,43 +2159,43 @@ function Lo(t) {
2159
2159
  for (s in l) {
2160
2160
  const i = l[s];
2161
2161
  if (i) {
2162
- o += ` ${Ge(s)}: ${i};
2162
+ o += ` ${Pe(s)}: ${i};
2163
2163
  `;
2164
- const a = Io(i);
2165
- o += ` ${Ge(s)}-rgb: ${a.r} ${a.g} ${a.b};
2164
+ const a = Xo(i);
2165
+ o += ` ${Pe(s)}-rgb: ${a.r} ${a.g} ${a.b};
2166
2166
  `;
2167
2167
  }
2168
2168
  }
2169
2169
  o += `}
2170
2170
  `;
2171
2171
  }
2172
- const e = xo();
2172
+ const e = Yo();
2173
2173
  e.textContent = o;
2174
2174
  }
2175
- function Ge(t) {
2176
- return t ? `--q-theme-${ot(t)}` : "";
2175
+ function Pe(t) {
2176
+ return t ? `--q-theme-${Xe(t)}` : "";
2177
2177
  }
2178
- function So(t = {}) {
2178
+ function Jo(t = {}) {
2179
2179
  return { install: (e) => {
2180
2180
  const n = t.components || {};
2181
2181
  for (const s in n)
2182
2182
  e.component(s, n[s]);
2183
2183
  const l = t.defaults || {};
2184
- e.provide(Ce, B(l)), Bo(e, t.themes);
2184
+ e.provide(Ve, V(l)), en(e, t.themes);
2185
2185
  } };
2186
2186
  }
2187
- function Bo(t, o) {
2187
+ function en(t, o) {
2188
2188
  const e = [];
2189
2189
  let n;
2190
2190
  if (!o)
2191
2191
  n = "default", e.push({
2192
2192
  name: n,
2193
2193
  mode: "light",
2194
- scheme: Se
2194
+ scheme: Le
2195
2195
  });
2196
2196
  else
2197
2197
  for (const l of o.themes) {
2198
- const i = { ...l.mode === "light" ? Se : Je, ...l.colors };
2198
+ const i = { ...l.mode === "light" ? Le : Ge, ...l.colors };
2199
2199
  e.push({
2200
2200
  name: l.name,
2201
2201
  mode: l.mode,
@@ -2204,21 +2204,21 @@ function Bo(t, o) {
2204
2204
  }
2205
2205
  if (n) {
2206
2206
  const l = {
2207
- activeTheme: B(n),
2207
+ activeTheme: V(n),
2208
2208
  themes: e
2209
2209
  };
2210
- Lo(e), j(l.activeTheme, Vo, { immediate: !0 }), t.provide(ye, l);
2210
+ Zo(e), R(l.activeTheme, tn, { immediate: !0 }), t.provide(he, l);
2211
2211
  }
2212
2212
  }
2213
- function Vo(t) {
2213
+ function tn(t) {
2214
2214
  const o = document.documentElement, n = Array.from(o.classList).filter((l) => !l.startsWith("q-theme"));
2215
2215
  o.className = n.join(" "), o.classList.add(`q-theme--${t}`);
2216
2216
  }
2217
- const Do = (t = {}) => So({ components: wo, ...t });
2217
+ const an = (t = {}) => Jo({ components: Go, ...t });
2218
2218
  export {
2219
- wo as components,
2220
- Do as createFramework,
2221
- Eo as provideTheme,
2222
- To as templates,
2223
- $o as useTheme
2219
+ Go as components,
2220
+ an as createFramework,
2221
+ ln as provideTheme,
2222
+ nn as templates,
2223
+ Wo as useTheme
2224
2224
  };