@quidgest/ui 0.14.0 → 0.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/ui.css +4 -0
  2. package/dist/ui.esm.js +752 -739
  3. package/dist/ui.js +4 -4
  4. package/dist/ui.min.js +51 -51
  5. package/dist/ui.scss +1053 -1049
  6. package/esm/components/QBadge/QBadge.d.ts +14 -41
  7. package/esm/components/QBadge/QBadge.d.ts.map +1 -1
  8. package/esm/components/QBadge/QBadge.vue.js +33 -33
  9. package/esm/components/QBadge/index.d.ts +0 -1
  10. package/esm/components/QBadge/types.d.ts +6 -7
  11. package/esm/components/QBadge/types.d.ts.map +1 -1
  12. package/esm/components/QButton/QButton.d.ts +12 -35
  13. package/esm/components/QButton/QButton.d.ts.map +1 -1
  14. package/esm/components/QButton/index.d.ts +0 -1
  15. package/esm/components/QButtonGroup/QButtonGroup.d.ts +9 -26
  16. package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
  17. package/esm/components/QButtonGroup/index.d.ts +0 -1
  18. package/esm/components/QButtonToggle/QButtonToggle.d.ts +17 -47
  19. package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
  20. package/esm/components/QButtonToggle/QButtonToggle.vue.js +26 -23
  21. package/esm/components/QButtonToggle/index.d.ts +0 -1
  22. package/esm/components/QCombobox/QCombobox.d.ts +373 -485
  23. package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
  24. package/esm/components/QCombobox/QCombobox.vue.js +92 -87
  25. package/esm/components/QCombobox/index.d.ts +0 -1
  26. package/esm/components/QCombobox/types.d.ts +9 -8
  27. package/esm/components/QCombobox/types.d.ts.map +1 -1
  28. package/esm/components/QCombobox/types.js +3 -1
  29. package/esm/components/QDialog/QDialog.d.ts +21 -109
  30. package/esm/components/QDialog/QDialog.d.ts.map +1 -1
  31. package/esm/components/QDialog/QDialog.vue.js +16 -16
  32. package/esm/components/QDialog/index.d.ts +0 -1
  33. package/esm/components/QDialog/types.d.ts +6 -8
  34. package/esm/components/QDialog/types.d.ts.map +1 -1
  35. package/esm/components/QField/QField.d.ts +18 -41
  36. package/esm/components/QField/QField.d.ts.map +1 -1
  37. package/esm/components/QField/index.d.ts +0 -1
  38. package/esm/components/QIcon/InlineSvg.d.ts +6 -6
  39. package/esm/components/QIcon/QIcon.d.ts +2 -28
  40. package/esm/components/QIcon/QIcon.d.ts.map +1 -1
  41. package/esm/components/QIcon/QIconFont.d.ts +2 -30
  42. package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
  43. package/esm/components/QIcon/QIconImg.d.ts +1 -11
  44. package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
  45. package/esm/components/QIcon/QIconSvg.d.ts +6 -32
  46. package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
  47. package/esm/components/QIcon/index.d.ts +0 -1
  48. package/esm/components/QInputGroup/QInputGroup.d.ts +12 -39
  49. package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
  50. package/esm/components/QInputGroup/index.d.ts +0 -1
  51. package/esm/components/QInputGroup/types.d.ts +0 -1
  52. package/esm/components/QLineLoader/QLineLoader.d.ts +2 -24
  53. package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
  54. package/esm/components/QLineLoader/index.d.ts +0 -1
  55. package/esm/components/QList/QList.d.ts +22 -72
  56. package/esm/components/QList/QList.d.ts.map +1 -1
  57. package/esm/components/QList/QListItem.d.ts +14 -39
  58. package/esm/components/QList/QListItem.d.ts.map +1 -1
  59. package/esm/components/QList/QListItem.vue.js +5 -5
  60. package/esm/components/QList/QListItemGroup.d.ts +9 -26
  61. package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
  62. package/esm/components/QList/index.d.ts +0 -1
  63. package/esm/components/QList/types.d.ts +5 -7
  64. package/esm/components/QList/types.d.ts.map +1 -1
  65. package/esm/components/QOverlay/QOverlay.d.ts +23 -141
  66. package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
  67. package/esm/components/QOverlay/index.d.ts +0 -1
  68. package/esm/components/QOverlay/types.d.ts +0 -1
  69. package/esm/components/QPopover/QPopover.d.ts +19 -77
  70. package/esm/components/QPopover/QPopover.d.ts.map +1 -1
  71. package/esm/components/QPopover/index.d.ts +0 -1
  72. package/esm/components/QPopover/types.d.ts +0 -1
  73. package/esm/components/QPropertyList/QPropertyList.d.ts +28 -56
  74. package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
  75. package/esm/components/QPropertyList/QPropertyList.vue.js +61 -62
  76. package/esm/components/QPropertyList/QPropertyListGroup.d.ts +7 -44
  77. package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
  78. package/esm/components/QPropertyList/QPropertyListGroup.vue.js +22 -26
  79. package/esm/components/QPropertyList/QPropertyListPanel.d.ts +11 -43
  80. package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
  81. package/esm/components/QPropertyList/QPropertyListPanel.vue.js +14 -16
  82. package/esm/components/QPropertyList/QPropertyListRow.d.ts +12 -17
  83. package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
  84. package/esm/components/QPropertyList/QPropertyListRow.vue.js +28 -25
  85. package/esm/components/QPropertyList/index.d.ts +0 -1
  86. package/esm/components/QPropertyList/types.d.ts +66 -34
  87. package/esm/components/QPropertyList/types.d.ts.map +1 -1
  88. package/esm/components/QSelect/QSelect.d.ts +199 -147
  89. package/esm/components/QSelect/QSelect.d.ts.map +1 -1
  90. package/esm/components/QSelect/QSelect.vue.js +130 -125
  91. package/esm/components/QSelect/index.d.ts +0 -1
  92. package/esm/components/QSelect/types.d.ts +9 -8
  93. package/esm/components/QSelect/types.d.ts.map +1 -1
  94. package/esm/components/QSelect/types.js +5 -3
  95. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +2 -28
  96. package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
  97. package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +19 -19
  98. package/esm/components/QSkeletonLoader/index.d.ts +0 -1
  99. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +2 -26
  100. package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
  101. package/esm/components/QSpinnerLoader/index.d.ts +0 -1
  102. package/esm/components/QTextField/QTextField.d.ts +100 -96
  103. package/esm/components/QTextField/QTextField.d.ts.map +1 -1
  104. package/esm/components/QTextField/index.d.ts +0 -1
  105. package/esm/components/QTextField/types.d.ts +0 -1
  106. package/esm/components/QThemeProvider/QThemeProvider.d.ts +8 -13
  107. package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
  108. package/esm/components/QThemeProvider/index.d.ts +0 -1
  109. package/esm/components/QTooltip/QTooltip.d.ts +24 -121
  110. package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
  111. package/esm/components/QTooltip/QTooltip.vue.js +1 -1
  112. package/esm/components/QTooltip/index.d.ts +0 -1
  113. package/esm/components/QTooltip/types.d.ts +1 -2
  114. package/esm/components/QTooltip/types.d.ts.map +1 -1
  115. package/esm/composables/defaults.d.ts +0 -1
  116. package/esm/composables/theme.d.ts +0 -1
  117. package/esm/framework.d.ts +0 -1
  118. package/esm/templates/theme.d.ts +0 -1
  119. package/esm/utils/setupPropsProxy.d.ts +0 -1
  120. package/esm/utils/theme.d.ts +0 -1
  121. package/package.json +35 -33
package/dist/ui.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { defineComponent as B, computed as b, openBlock as r, createElementBlock as p, normalizeClass as C, normalizeStyle as ce, getCurrentInstance as Ge, ref as E, provide as Re, inject as Ke, withModifiers as ve, createVNode as F, unref as m, createCommentVNode as x, createElementVNode as L, Fragment as K, createTextVNode as ue, toDisplayString as z, renderSlot as h, createBlock as S, resolveDynamicComponent as Be, h as ze, withCtx as _, normalizeProps as j, guardReactiveProps as ne, toRef as Me, mergeModels as Z, useModel as oe, renderList as he, mergeProps as ie, reactive as Pe, watch as ee, nextTick as te, onMounted as je, onBeforeUnmount as ct, Teleport as ut, Transition as ft, withKeys as pt, createSlots as qe, withDirectives as mt, vModelDynamic as vt } from "vue";
1
+ import { defineComponent as B, computed as g, openBlock as r, createElementBlock as p, normalizeClass as V, normalizeStyle as ue, getCurrentInstance as Ne, ref as D, provide as He, inject as Ge, withModifiers as ve, createVNode as z, unref as m, createCommentVNode as q, createElementVNode as I, Fragment as K, createTextVNode as ce, toDisplayString as O, renderSlot as h, createBlock as S, resolveDynamicComponent as Be, h as Qe, withCtx as _, normalizeProps as j, guardReactiveProps as le, toRef as Fe, mergeModels as Z, useModel as ne, renderList as he, mergeProps as J, reactive as ze, watch as te, nextTick as oe, onMounted as Re, onBeforeUnmount as ut, Teleport as ct, Transition as ft, withKeys as pt, createSlots as qe, withDirectives as mt, vModelDynamic as vt } from "vue";
2
2
  /*!
3
- * Quidgest UI v0.14.0
3
+ * Quidgest UI v0.14.2
4
4
  * (c) 2024 Quidgest - Consultores de Gestão, S.A.
5
5
  * Released under the MIT License.
6
6
  */
@@ -35,7 +35,7 @@ const Ie = {
35
35
  onWarning: "#fff",
36
36
  onDanger: "#fff",
37
37
  onInfo: "#fff"
38
- }, We = {
38
+ }, Ke = {
39
39
  primary: "#009ff5",
40
40
  primaryLight: "#ade2ff",
41
41
  primaryDark: "#164965",
@@ -66,9 +66,9 @@ const Ie = {
66
66
  onWarning: "#fff",
67
67
  onDanger: "#fff",
68
68
  onInfo: "#fff"
69
- }, Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69
+ }, On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
70
70
  __proto__: null,
71
- defaultDarkColorScheme: We,
71
+ defaultDarkColorScheme: Ke,
72
72
  defaultLightColorScheme: Ie
73
73
  }, Symbol.toStringTag, { value: "Module" })), ht = /* @__PURE__ */ B({
74
74
  __name: "QSpinnerLoader",
@@ -77,19 +77,19 @@ const Ie = {
77
77
  class: { default: void 0 }
78
78
  },
79
79
  setup(o) {
80
- const t = o, e = b(() => ({
80
+ const t = o, e = g(() => ({
81
81
  "font-size": t.size !== 48 ? `${t.size}px` : void 0
82
82
  }));
83
83
  return (n, l) => (r(), p("div", {
84
- class: C(["q-spinner-loader", t.class]),
85
- style: ce(e.value)
84
+ class: V(["q-spinner-loader", t.class]),
85
+ style: ue(e.value)
86
86
  }, null, 6));
87
87
  }
88
88
  });
89
89
  function Se(o) {
90
90
  return o == null ? !0 : typeof o == "string" || Array.isArray(o) ? o.length === 0 : typeof o == "object" ? Object.keys(o).length === 0 : !1;
91
91
  }
92
- function Oe(o) {
92
+ function Me(o) {
93
93
  return o !== null && typeof o == "object" && !Array.isArray(o);
94
94
  }
95
95
  function Ce(o = {}, t = {}) {
@@ -98,7 +98,7 @@ function Ce(o = {}, t = {}) {
98
98
  e[n] = o[n];
99
99
  for (const n in t) {
100
100
  const l = o[n], s = t[n];
101
- if (Oe(l) && Oe(s)) {
101
+ if (Me(l) && Me(s)) {
102
102
  e[n] = Ce(
103
103
  l,
104
104
  s
@@ -112,53 +112,53 @@ function Ce(o = {}, t = {}) {
112
112
  const Te = "q-defaults";
113
113
  function yt() {
114
114
  var s, i;
115
- const o = Ge();
115
+ const o = Ne();
116
116
  if (!o)
117
117
  throw new Error("[Quidgest UI] useDefaults must be called from inside a setup function");
118
118
  const t = o.type.name ?? o.type.__name;
119
119
  if (!t) throw new Error("[Quidgest UI] Could not determine component name");
120
- const e = Ye(), n = (s = e.value) == null ? void 0 : s.Global, l = (i = e.value) == null ? void 0 : i[t];
121
- return b(() => Ce(n, l));
120
+ const e = We(), n = (s = e.value) == null ? void 0 : s.Global, l = (i = e.value) == null ? void 0 : i[t];
121
+ return g(() => Ce(n, l));
122
122
  }
123
- function Xe(o) {
123
+ function je(o) {
124
124
  if (Se(o)) return;
125
- const t = Ye(), e = E(o), n = b(() => Se(e.value) ? t.value : Ce(t.value, e.value));
126
- Re(Te, n);
125
+ const t = We(), e = D(o), n = g(() => Se(e.value) ? t.value : Ce(t.value, e.value));
126
+ He(Te, n);
127
127
  }
128
- function Ye() {
129
- const o = Ke(Te, void 0);
128
+ function We() {
129
+ const o = Ge(Te, void 0);
130
130
  if (!o) throw new Error("[Quidgest UI] Could not find defaults instance");
131
131
  return o;
132
132
  }
133
- function Ze(o) {
133
+ function Xe(o) {
134
134
  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
135
  }
136
- function gt(o, t) {
136
+ function bt(o, t) {
137
137
  var n;
138
- const e = Ze(t);
138
+ const e = Xe(t);
139
139
  return e ? typeof ((n = o.props) == null ? void 0 : n[e]) < "u" : !1;
140
140
  }
141
- function T(o) {
141
+ function C(o) {
142
142
  const t = o.setup;
143
143
  return t && (o.setup = (e, n) => {
144
144
  const l = yt();
145
145
  if (Se(l.value)) return t(e, n);
146
- const s = Ge();
146
+ const s = Ne();
147
147
  if (s === null) return t(e, n);
148
148
  const i = new Proxy(e, {
149
149
  get(a, d) {
150
- var I;
151
- const f = Reflect.get(a, d), $ = (I = l.value) == null ? void 0 : I[d];
152
- return typeof d == "string" && !gt(s.vnode, d) ? $ ?? f : f;
150
+ var L;
151
+ const c = Reflect.get(a, d), w = (L = l.value) == null ? void 0 : L[d];
152
+ return typeof d == "string" && !bt(s.vnode, d) ? w ?? c : c;
153
153
  }
154
154
  });
155
155
  return t(i, n);
156
156
  }), o;
157
157
  }
158
- const xe = T(ht), bt = ["disabled"], _t = {
158
+ const xe = C(ht), gt = ["disabled"], _t = {
159
159
  key: 0,
160
160
  class: "q-btn__spinner"
161
- }, kt = { class: "q-btn__content" }, $t = /* @__PURE__ */ B({
161
+ }, kt = { class: "q-btn__content" }, wt = /* @__PURE__ */ B({
162
162
  __name: "QButton",
163
163
  props: {
164
164
  active: { type: Boolean },
@@ -175,11 +175,11 @@ const xe = T(ht), bt = ["disabled"], _t = {
175
175
  },
176
176
  emits: ["click"],
177
177
  setup(o, { emit: t }) {
178
- const e = o, n = t, l = b(() => e.disabled || e.loading);
178
+ const e = o, n = t, l = g(() => e.disabled || e.loading);
179
179
  function s(a) {
180
180
  l.value || n("click", a);
181
181
  }
182
- const i = b(() => {
182
+ const i = g(() => {
183
183
  const a = e.size !== "regular" ? `q-btn--${e.size}` : void 0;
184
184
  return [
185
185
  "q-btn",
@@ -197,25 +197,25 @@ const xe = T(ht), bt = ["disabled"], _t = {
197
197
  });
198
198
  return (a, d) => (r(), p("button", {
199
199
  type: "button",
200
- class: C(i.value),
200
+ class: V(i.value),
201
201
  disabled: l.value,
202
202
  onClick: ve(s, ["stop", "prevent"])
203
203
  }, [
204
204
  a.loading ? (r(), p("div", _t, [
205
- F(m(xe), { size: 20 })
206
- ])) : x("", !0),
207
- L("span", kt, [
205
+ z(m(xe), { size: 20 })
206
+ ])) : q("", !0),
207
+ I("span", kt, [
208
208
  a.iconOnRight ? (r(), p(K, { key: 0 }, [
209
- ue(z(e.label), 1)
210
- ], 64)) : x("", !0),
209
+ ce(O(e.label), 1)
210
+ ], 64)) : q("", !0),
211
211
  h(a.$slots, "default"),
212
- a.iconOnRight ? x("", !0) : (r(), p(K, { key: 1 }, [
213
- ue(z(e.label), 1)
212
+ a.iconOnRight ? q("", !0) : (r(), p(K, { key: 1 }, [
213
+ ce(O(e.label), 1)
214
214
  ], 64))
215
215
  ])
216
- ], 10, bt));
216
+ ], 10, gt));
217
217
  }
218
- }), re = T($t), wt = /* @__PURE__ */ B({
218
+ }), re = C(wt), $t = /* @__PURE__ */ B({
219
219
  __name: "QIcon",
220
220
  props: {
221
221
  icon: {},
@@ -224,20 +224,20 @@ const xe = T(ht), bt = ["disabled"], _t = {
224
224
  type: { default: "svg" }
225
225
  },
226
226
  setup(o) {
227
- const t = o, e = b(() => {
227
+ const t = o, e = g(() => {
228
228
  switch (t.type) {
229
229
  case "svg":
230
- return tt;
231
- case "font":
232
230
  return Je;
231
+ case "font":
232
+ return Ye;
233
233
  case "img":
234
- return et;
234
+ return Ze;
235
235
  default:
236
236
  return;
237
237
  }
238
238
  });
239
239
  return (n, l) => (r(), S(Be(e.value), {
240
- class: C(t.class),
240
+ class: V(t.class),
241
241
  icon: t.icon,
242
242
  size: t.size
243
243
  }, null, 8, ["class", "icon", "size"]));
@@ -252,12 +252,12 @@ const xe = T(ht), bt = ["disabled"], _t = {
252
252
  variant: { default: "" }
253
253
  },
254
254
  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(() => ({
255
+ const t = o, e = g(() => t.variant ? `${t.library}-${t.variant}` : t.library), n = g(() => t.library && t.icon ? `${t.library}-${t.icon}` : t.icon), l = g(() => ({
256
256
  "font-size": t.size !== void 0 ? `${t.size}px` : void 0
257
257
  }));
258
258
  return (s, i) => (r(), p("i", {
259
- class: C(["q-icon", "q-icon__font", e.value, n.value, t.class]),
260
- style: ce(l.value)
259
+ class: V(["q-icon", "q-icon__font", e.value, n.value, t.class]),
260
+ style: ue(l.value)
261
261
  }, null, 6));
262
262
  }
263
263
  }), xt = ["src"], Lt = /* @__PURE__ */ B({
@@ -268,16 +268,16 @@ const xe = T(ht), bt = ["disabled"], _t = {
268
268
  class: {}
269
269
  },
270
270
  setup(o) {
271
- const t = o, e = b(() => ({
271
+ const t = o, e = g(() => ({
272
272
  "font-size": t.size !== void 0 ? `${t.size}px` : void 0
273
273
  }));
274
274
  return (n, l) => (r(), p("img", {
275
275
  src: t.icon,
276
- class: C(["q-icon", "q-icon__img", t.class]),
277
- style: ce(e.value)
276
+ class: V(["q-icon", "q-icon__img", t.class]),
277
+ style: ue(e.value)
278
278
  }, null, 14, xt));
279
279
  }
280
- }), ge = {}, It = B({
280
+ }), be = {}, It = B({
281
281
  name: "InlineSvg",
282
282
  emits: {
283
283
  loaded: (o) => typeof o == "object",
@@ -288,9 +288,9 @@ const xe = T(ht), bt = ["disabled"], _t = {
288
288
  render() {
289
289
  if (!this.svgElSource) return null;
290
290
  const o = this.getSvgContent(this.svgElSource);
291
- if (!o) return ze("div", this.$attrs);
291
+ if (!o) return Qe("div", this.$attrs);
292
292
  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);
293
+ return this.copySvgAttrs(t, this.svgElSource), this.copySvgAttrs(t, o), this.copyComponentAttrs(t, this.$attrs), t.innerHTML = o.innerHTML, Qe("svg", t);
294
294
  },
295
295
  props: {
296
296
  /**
@@ -358,11 +358,11 @@ const xe = T(ht), bt = ["disabled"], _t = {
358
358
  */
359
359
  async getSource(o) {
360
360
  try {
361
- ge[o] || (ge[o] = Bt(this.download(o))), this.svgElSource && ge[o].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
362
- const t = await ge[o];
361
+ be[o] || (be[o] = Bt(this.download(o))), this.svgElSource && be[o].getIsPending() && !this.keepDuringLoading && (this.svgElSource = null, this.$emit("unloaded"));
362
+ const t = await be[o];
363
363
  this.svgElSource = t, await this.$nextTick(), this.$emit("loaded", this.$el);
364
364
  } catch (t) {
365
- this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete ge[o], this.$emit("error", t);
365
+ this.svgElSource && (this.svgElSource = null, this.$emit("unloaded")), delete be[o], this.$emit("error", t);
366
366
  }
367
367
  },
368
368
  /**
@@ -415,7 +415,7 @@ const Ct = /* @__PURE__ */ B({
415
415
  },
416
416
  emits: ["loaded", "unloaded"],
417
417
  setup(o, { emit: t }) {
418
- const e = o, n = t, l = b(() => ({
418
+ const e = o, n = t, l = g(() => ({
419
419
  "font-size": e.size !== void 0 ? `${e.size}px` : void 0
420
420
  }));
421
421
  function s(a) {
@@ -425,15 +425,15 @@ const Ct = /* @__PURE__ */ B({
425
425
  n("unloaded");
426
426
  }
427
427
  return (a, d) => (r(), S(m(It), {
428
- class: C(["q-icon", "q-icon__svg", e.class]),
428
+ class: V(["q-icon", "q-icon__svg", e.class]),
429
429
  src: e.bundle,
430
430
  symbol: e.icon,
431
- style: ce(l.value),
431
+ style: ue(l.value),
432
432
  onLoaded: s,
433
433
  onUnloaded: i
434
434
  }, null, 8, ["class", "src", "symbol", "style"]));
435
435
  }
436
- }), N = T(wt), Je = T(qt), et = T(Lt), tt = T(Ct), Tt = {
436
+ }), N = C($t), Ye = C(qt), Ze = C(Lt), Je = C(Ct), Tt = {
437
437
  remove: {
438
438
  icon: "close"
439
439
  }
@@ -448,7 +448,7 @@ function Et(o) {
448
448
  return { r: e, g: n, b: l };
449
449
  }
450
450
  }
451
- function ot(o) {
451
+ function et(o) {
452
452
  if (Vt(o)) {
453
453
  o.length === 4 && (o = "#" + o[1] + o[1] + o[2] + o[2] + o[3] + o[3]);
454
454
  const t = parseInt(o.slice(1, 3), 16), e = parseInt(o.slice(3, 5), 16), n = parseInt(o.slice(5, 7), 16);
@@ -466,16 +466,16 @@ function Dt(o) {
466
466
  if (l === s)
467
467
  i = a = 0;
468
468
  else {
469
- const f = l - s;
470
- switch (a = d > 0.5 ? f / (2 - l - s) : f / (l + s), l) {
469
+ const c = l - s;
470
+ switch (a = d > 0.5 ? c / (2 - l - s) : c / (l + s), l) {
471
471
  case t:
472
- i = (e - n) / f + (e < n ? 6 : 0);
472
+ i = (e - n) / c + (e < n ? 6 : 0);
473
473
  break;
474
474
  case e:
475
- i = (n - t) / f + 2;
475
+ i = (n - t) / c + 2;
476
476
  break;
477
477
  case n:
478
- i = (t - e) / f + 4;
478
+ i = (t - e) / c + 4;
479
479
  break;
480
480
  }
481
481
  i /= 6;
@@ -489,46 +489,46 @@ function Dt(o) {
489
489
  function At(o) {
490
490
  return o > 50 ? "#000" : "#fff";
491
491
  }
492
- const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), Ft = { class: "q-badge__content" }, zt = /* @__PURE__ */ B({
492
+ const Qt = { class: "q-badge__content" }, Ft = /* @__PURE__ */ B({
493
493
  __name: "QBadge",
494
494
  props: {
495
495
  color: { default: "primary" },
496
496
  variant: { default: "tonal" },
497
497
  removable: { type: Boolean },
498
498
  pill: { type: Boolean },
499
- internals: { default: () => ({ icons: Tt }) }
499
+ icons: { default: () => Tt }
500
500
  },
501
501
  emits: ["click:remove"],
502
502
  setup(o, { emit: t }) {
503
- const e = o, n = t, l = b(
503
+ const e = o, n = t, l = g(
504
504
  () => ["primary", "info", "success", "warning", "danger"].includes(e.color)
505
- ), s = b(() => {
505
+ ), s = g(() => {
506
506
  const d = l.value ? `q-badge--${e.color}` : void 0;
507
507
  return ["q-badge", `q-badge--${e.variant}`, d, { "q-badge--pill": e.pill }];
508
- }), i = b(() => {
509
- let d, f;
508
+ }), i = g(() => {
509
+ let d, c;
510
510
  if (!l.value)
511
511
  if (d = e.color, e.variant === "tonal")
512
- f = e.color;
512
+ c = e.color;
513
513
  else {
514
- const $ = ot(d), I = Dt($);
515
- f = At(I.l);
514
+ const w = et(d), L = Dt(w);
515
+ c = At(L.l);
516
516
  }
517
517
  return {
518
518
  "--q-badge-color": d,
519
- "--q-badge-text-color": f
519
+ "--q-badge-text-color": c
520
520
  };
521
521
  });
522
522
  function a() {
523
523
  n("click:remove");
524
524
  }
525
- return (d, f) => (r(), p("span", {
526
- class: C(s.value),
525
+ return (d, c) => (r(), p("span", {
526
+ class: V(s.value),
527
527
  role: "presentation",
528
- style: ce(i.value)
528
+ style: ue(i.value)
529
529
  }, [
530
- Qt,
531
- L("div", Ft, [
530
+ c[0] || (c[0] = I("div", { class: "q-badge__underlay" }, null, -1)),
531
+ I("div", Qt, [
532
532
  h(d.$slots, "default"),
533
533
  e.removable ? (r(), S(m(re), {
534
534
  key: 0,
@@ -538,14 +538,14 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
538
538
  onClick: a
539
539
  }, {
540
540
  default: _(() => [
541
- F(m(N), j(ne(e.internals.icons.remove)), null, 16)
541
+ z(m(N), j(le(e.icons.remove)), null, 16)
542
542
  ]),
543
543
  _: 1
544
- })) : x("", !0)
544
+ })) : q("", !0)
545
545
  ])
546
546
  ], 6));
547
547
  }
548
- }), Mt = T(zt), Pt = /* @__PURE__ */ B({
548
+ }), zt = C(Ft), Mt = /* @__PURE__ */ B({
549
549
  __name: "QButtonGroup",
550
550
  props: {
551
551
  disabled: { type: Boolean },
@@ -555,15 +555,15 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
555
555
  },
556
556
  setup(o) {
557
557
  const t = o;
558
- return Xe({
558
+ return je({
559
559
  QButton: {
560
560
  bStyle: "secondary",
561
- disabled: Me(t, "disabled"),
562
- borderless: Me(t, "borderless"),
561
+ disabled: Fe(t, "disabled"),
562
+ borderless: Fe(t, "borderless"),
563
563
  elevated: !1
564
564
  }
565
565
  }), (e, n) => (r(), p("div", {
566
- class: C([
566
+ class: V([
567
567
  "q-btn-group",
568
568
  {
569
569
  "q-btn-group--elevated": t.elevated
@@ -574,7 +574,7 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
574
574
  h(e.$slots, "default")
575
575
  ], 2));
576
576
  }
577
- }), nt = T(Pt), Ot = /* @__PURE__ */ B({
577
+ }), tt = C(Mt), Ot = /* @__PURE__ */ B({
578
578
  __name: "QButtonToggle",
579
579
  props: /* @__PURE__ */ Z({
580
580
  options: {},
@@ -589,16 +589,17 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
589
589
  }),
590
590
  emits: ["update:modelValue"],
591
591
  setup(o) {
592
- const t = o, e = oe(o, "modelValue");
592
+ const t = o, e = ne(o, "modelValue");
593
593
  function n(l) {
594
594
  e.value === l.key && !t.required ? e.value = void 0 : e.value = l.key;
595
595
  }
596
- return (l, s) => (r(), S(m(nt), {
596
+ return (l, s) => (r(), S(m(tt), {
597
597
  "b-style": "secondary",
598
- class: C(t.class),
598
+ class: V(t.class),
599
599
  disabled: t.disabled,
600
600
  borderless: t.borderless,
601
- elevated: t.elevated
601
+ elevated: t.elevated,
602
+ role: "listbox"
602
603
  }, {
603
604
  default: _(() => [
604
605
  (r(!0), p(K, null, he(t.options, (i) => (r(), S(m(re), {
@@ -606,18 +607,20 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
606
607
  title: i.title,
607
608
  label: i.label,
608
609
  active: e.value === i.key,
610
+ role: "option",
611
+ "aria-selected": e.value === i.key,
609
612
  onClick: () => n(i)
610
613
  }, {
611
614
  default: _(() => [
612
615
  h(l.$slots, i.key)
613
616
  ]),
614
617
  _: 2
615
- }, 1032, ["title", "label", "active", "onClick"]))), 128))
618
+ }, 1032, ["title", "label", "active", "aria-selected", "onClick"]))), 128))
616
619
  ]),
617
620
  _: 3
618
621
  }, 8, ["class", "disabled", "borderless", "elevated"]));
619
622
  }
620
- }), Ut = T(Ot), Nt = /* @__PURE__ */ B({
623
+ }), Pt = C(Ot), Ut = /* @__PURE__ */ B({
621
624
  __name: "QList",
622
625
  props: /* @__PURE__ */ Z({
623
626
  highlighted: { type: [String, Number, Boolean, Symbol], default: void 0 },
@@ -636,28 +639,28 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
636
639
  }),
637
640
  emits: ["update:modelValue"],
638
641
  setup(o, { expose: t }) {
639
- const e = o, n = oe(o, "modelValue"), l = E(!1), s = b(() => i.value.length > 1 ? "div" : "ul"), i = b(() => e.groups.length ? e.groups.filter(
640
- (v) => e.items.some((w) => w.group === v.id)
641
- ) : [{ id: "", title: "" }]), a = E(null);
642
+ const e = o, n = ne(o, "modelValue"), l = D(!1), s = g(() => i.value.length > 1 ? "div" : "ul"), i = g(() => e.groups.length ? e.groups.filter(
643
+ (v) => e.items.some(($) => $.group === v.id)
644
+ ) : [{ id: "", title: "" }]), a = D(null);
642
645
  function d(v) {
643
646
  n.value = v;
644
647
  }
645
- function f() {
648
+ function c() {
646
649
  l.value = !0;
647
650
  }
648
- function $() {
651
+ function w() {
649
652
  l.value = !1;
650
653
  }
651
- function I(v) {
652
- var g;
653
- if ((g = a.value) != null && g.contains(v.relatedTarget))
654
+ function L(v) {
655
+ var b;
656
+ if ((b = a.value) != null && b.contains(v.relatedTarget))
654
657
  return;
655
- let w;
656
- n.value ? w = e.items.findIndex((G) => G[e.itemValue] === n.value) : w = P();
657
- const u = l.value;
658
- V(w, u);
658
+ let $;
659
+ n.value ? $ = e.items.findIndex((G) => G[e.itemValue] === n.value) : $ = Q();
660
+ const f = l.value;
661
+ T($, f);
659
662
  }
660
- function M(v) {
663
+ function P(v) {
661
664
  switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(v.key) && v.preventDefault(), v.key) {
662
665
  case "ArrowDown":
663
666
  A("next");
@@ -677,101 +680,101 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
677
680
  switch (v) {
678
681
  case "next":
679
682
  case "prev":
680
- V(W(v));
683
+ T(W(v));
681
684
  break;
682
685
  case "first":
683
- V(P());
686
+ T(Q());
684
687
  break;
685
688
  case "last":
686
- V(H());
689
+ T(H());
687
690
  break;
688
691
  }
689
692
  }
690
- function V(v, w = !1) {
691
- var g;
692
- (g = y()[v]) == null || g.focus({ preventScroll: w });
693
+ function T(v, $ = !1) {
694
+ var b;
695
+ (b = y()[v]) == null || b.focus({ preventScroll: $ });
693
696
  }
694
697
  function y() {
695
- var w;
696
- const v = (w = a.value) == null ? void 0 : w.querySelectorAll("li");
698
+ var $;
699
+ const v = ($ = a.value) == null ? void 0 : $.querySelectorAll("li");
697
700
  return v ? Array.from(v) : [];
698
701
  }
699
- function D(v) {
702
+ function E(v) {
700
703
  return y()[v];
701
704
  }
702
- function O() {
705
+ function M() {
703
706
  return y().indexOf(document.activeElement);
704
707
  }
705
- function P() {
706
- const v = y(), w = v.find((u) => U(u));
707
- return w ? v.indexOf(w) : -1;
708
+ function Q() {
709
+ const v = y(), $ = v.find((f) => U(f));
710
+ return $ ? v.indexOf($) : -1;
708
711
  }
709
712
  function H() {
710
- const v = y(), w = [...v].reverse().find((u) => U(u));
711
- return w ? v.indexOf(w) : -1;
713
+ const v = y(), $ = [...v].reverse().find((f) => U(f));
714
+ return $ ? v.indexOf($) : -1;
712
715
  }
713
- function le(v, w, u) {
714
- return w === "prev" && v === 0 || w === "next" && v === u.length - 1;
716
+ function se(v, $, f) {
717
+ return $ === "prev" && v === 0 || $ === "next" && v === f.length - 1;
715
718
  }
716
719
  function W(v) {
717
- const w = O();
718
- return se(w, v);
720
+ const $ = M();
721
+ return ae($, v);
719
722
  }
720
- function se(v, w) {
721
- const u = y();
722
- if (le(v, w, u))
723
+ function ae(v, $) {
724
+ const f = y();
725
+ if (se(v, $, f))
723
726
  return v;
724
- let g = v + (w === "next" ? 1 : -1);
725
- for (; !U(u[g]); ) {
726
- if (le(g, w, u))
727
+ let b = v + ($ === "next" ? 1 : -1);
728
+ for (; !U(f[b]); ) {
729
+ if (se(b, $, f))
727
730
  return v;
728
- g += w === "next" ? 1 : -1;
731
+ b += $ === "next" ? 1 : -1;
729
732
  }
730
- return g;
733
+ return b;
731
734
  }
732
735
  function U(v) {
733
736
  return v.tabIndex === -2;
734
737
  }
735
738
  function Y(v) {
736
- return v ? e.items.filter((w) => w.group === v) : e.items;
739
+ return v ? e.items.filter(($) => $.group === v) : e.items;
737
740
  }
738
741
  return t({
739
- focusItem: V,
740
- getItem: D,
741
- getAdjacentItemIndex: se,
742
- getFirstFocusableItemIndex: P,
742
+ focusItem: T,
743
+ getItem: E,
744
+ getAdjacentItemIndex: ae,
745
+ getFirstFocusableItemIndex: Q,
743
746
  getLastFocusableItemIndex: H
744
- }), (v, w) => (r(), S(Be(s.value), {
747
+ }), (v, $) => (r(), S(Be(s.value), {
745
748
  ref_key: "listRef",
746
749
  ref: a,
747
- class: C(["q-list", { "q-list--disabled": e.disabled }, e.class]),
750
+ class: V(["q-list", { "q-list--disabled": e.disabled }, e.class]),
748
751
  role: "listbox",
749
752
  tabindex: e.disabled ? -1 : 0,
750
- onFocus: I,
751
- onMousedown: f,
752
- onMouseup: $,
753
- onKeydown: M
753
+ onFocus: L,
754
+ onMousedown: c,
755
+ onMouseup: w,
756
+ onKeydown: P
754
757
  }, {
755
758
  default: _(() => [
756
- (r(!0), p(K, null, he(i.value, (u) => (r(), S(m(st), {
757
- key: u.id,
758
- id: u.id,
759
- title: i.value.length === 1 ? void 0 : u.title
759
+ (r(!0), p(K, null, he(i.value, (f) => (r(), S(m(nt), {
760
+ key: f.id,
761
+ id: f.id,
762
+ title: i.value.length === 1 ? void 0 : f.title
760
763
  }, {
761
764
  default: _(() => [
762
- (r(!0), p(K, null, he(Y(u.id), (g) => (r(), S(m(lt), {
763
- key: g[e.itemValue],
764
- value: g[e.itemValue],
765
- label: g[e.itemLabel],
766
- description: g.description,
767
- icon: g.icon,
768
- disabled: e.disabled || u.disabled || g.disabled,
769
- highlighted: e.highlighted === g[e.itemValue],
770
- selected: v.selectable && n.value === g[e.itemValue],
765
+ (r(!0), p(K, null, he(Y(f.id), (b) => (r(), S(m(ot), {
766
+ key: b[e.itemValue],
767
+ value: b[e.itemValue],
768
+ label: b[e.itemLabel],
769
+ description: b.description,
770
+ icon: b.icon,
771
+ disabled: e.disabled || f.disabled || b.disabled,
772
+ highlighted: e.highlighted === b[e.itemValue],
773
+ selected: v.selectable && n.value === b[e.itemValue],
771
774
  onSelect: d
772
775
  }, {
773
776
  default: _(() => [
774
- h(v.$slots, "item", { item: g })
777
+ h(v.$slots, "item", { item: b })
775
778
  ]),
776
779
  _: 2
777
780
  }, 1032, ["value", "label", "description", "icon", "disabled", "highlighted", "selected"]))), 128))
@@ -782,7 +785,7 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
782
785
  _: 3
783
786
  }, 40, ["class", "tabindex"]));
784
787
  }
785
- }), Ht = {
788
+ }), Nt = {
786
789
  check: {
787
790
  icon: "check"
788
791
  },
@@ -790,14 +793,14 @@ const Qt = /* @__PURE__ */ L("div", { class: "q-badge__underlay" }, null, -1), F
790
793
  icon: "information-outline"
791
794
  }
792
795
  };
793
- let Gt = 0;
796
+ let Ht = 0;
794
797
  function fe(o) {
795
- return o || `uid-${++Gt}`;
798
+ return o || `uid-${++Ht}`;
796
799
  }
797
- const Rt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Kt = { class: "q-list-item__container" }, jt = { class: "q-list-item__content" }, Wt = {
800
+ const Gt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Rt = { class: "q-list-item__container" }, Kt = { class: "q-list-item__content" }, jt = {
798
801
  key: 0,
799
802
  class: "q-list-item__description"
800
- }, Xt = { class: "q-list-item__check-container" }, Yt = /* @__PURE__ */ B({
803
+ }, Wt = { class: "q-list-item__check-container" }, Xt = /* @__PURE__ */ B({
801
804
  __name: "QListItem",
802
805
  props: {
803
806
  value: { type: [String, Number, Boolean, Symbol] },
@@ -807,7 +810,7 @@ const Rt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Kt = {
807
810
  highlighted: { type: Boolean },
808
811
  disabled: { type: Boolean },
809
812
  description: { default: void 0 },
810
- internals: { default: () => ({ icons: Ht }) }
813
+ icons: { default: () => Nt }
811
814
  },
812
815
  emits: ["select"],
813
816
  setup(o, { emit: t }) {
@@ -823,7 +826,7 @@ const Rt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Kt = {
823
826
  "data-key": e.value,
824
827
  role: "option",
825
828
  tabindex: e.disabled ? void 0 : -2,
826
- class: C([
829
+ class: V([
827
830
  "q-list-item",
828
831
  {
829
832
  "q-list-item--disabled": e.disabled,
@@ -836,24 +839,24 @@ const Rt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Kt = {
836
839
  onKeydown: i,
837
840
  onClick: ve(s, ["stop", "prevent"])
838
841
  }, [
839
- L("div", Kt, [
840
- L("div", jt, [
842
+ I("div", Rt, [
843
+ I("div", Kt, [
841
844
  h(a.$slots, "default", {}, () => [
842
- e.icon ? (r(), S(m(N), j(ie({ key: 0 }, e.icon)), null, 16)) : x("", !0),
843
- ue(" " + z(e.label), 1)
845
+ e.icon ? (r(), S(m(N), j(J({ key: 0 }, e.icon)), null, 16)) : q("", !0),
846
+ ce(" " + O(e.label), 1)
844
847
  ])
845
848
  ]),
846
- e.description ? (r(), p("div", Wt, [
847
- F(m(N), j(ne(e.internals.icons.description)), null, 16),
848
- L("span", null, z(e.description), 1)
849
- ])) : x("", !0)
849
+ e.description ? (r(), p("div", jt, [
850
+ z(m(N), j(le(e.icons.description)), null, 16),
851
+ I("span", null, O(e.description), 1)
852
+ ])) : q("", !0)
850
853
  ]),
851
- L("div", Xt, [
852
- e.selected ? (r(), S(m(N), ie({ key: 0 }, e.internals.icons.check, { class: "q-list-item__check" }), null, 16)) : x("", !0)
854
+ I("div", Wt, [
855
+ e.selected ? (r(), S(m(N), J({ key: 0 }, e.icons.check, { class: "q-list-item__check" }), null, 16)) : q("", !0)
853
856
  ])
854
- ], 42, Rt));
857
+ ], 42, Gt));
855
858
  }
856
- }), Zt = ["data-key", "aria-labelledby"], Jt = ["id"], eo = /* @__PURE__ */ B({
859
+ }), Yt = ["data-key", "aria-labelledby"], Zt = ["id"], Jt = /* @__PURE__ */ B({
857
860
  __name: "QListItemGroup",
858
861
  props: {
859
862
  id: {},
@@ -872,69 +875,69 @@ const Rt = ["id", "data-key", "tabindex", "aria-label", "aria-selected"], Kt = {
872
875
  id: m(e),
873
876
  class: "q-list-item-group__title",
874
877
  role: "presentation"
875
- }, z(t.title), 9, Jt)) : x("", !0),
878
+ }, O(t.title), 9, Zt)) : q("", !0),
876
879
  h(n.$slots, "default")
877
- ], 8, Zt));
880
+ ], 8, Yt));
878
881
  }
879
- }), Ve = T(Nt), lt = T(Yt), st = T(eo), $e = 8;
880
- function to(o, t, e, n) {
881
- const l = (n == null ? void 0 : n.offset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", i = o.getBoundingClientRect(), a = t.getBoundingClientRect(), d = e == null ? void 0 : e.getBoundingClientRect(), f = oo(i, a, s, l), $ = ao(i, a, f), I = lo($, f, l), M = no(I, a, f);
882
+ }), Ve = C(Ut), ot = C(Xt), nt = C(Jt), we = 8;
883
+ function eo(o, t, e, n) {
884
+ const l = (n == null ? void 0 : n.offset) ?? 0, s = (n == null ? void 0 : n.placement) ?? "bottom", i = o.getBoundingClientRect(), a = t.getBoundingClientRect(), d = e == null ? void 0 : e.getBoundingClientRect(), c = to(i, a, s, l), w = so(i, a, c), L = no(w, c, l), P = oo(L, a, c);
882
885
  let A;
883
886
  if (n != null && n.arrow) {
884
887
  if (!d)
885
888
  throw new Error("[Quidgest UI] The arrow element must exist to compute its position");
886
- A = so(M, i, a, d, f);
889
+ A = lo(P, i, a, d, c);
887
890
  }
888
- return { overlayCoords: M, arrowCoords: A, placement: f };
891
+ return { overlayCoords: P, arrowCoords: A, placement: c };
889
892
  }
890
- function oo(o, t, e, n) {
891
- const l = Ue(o, t, e, n);
892
- if (Ne(l)) {
893
+ function to(o, t, e, n) {
894
+ const l = Oe(o, t, e, n);
895
+ if (Pe(l)) {
893
896
  const s = _e(e), a = {
894
897
  top: "bottom",
895
898
  bottom: "top",
896
899
  left: "right",
897
900
  right: "left"
898
- }[s], d = Ue(
901
+ }[s], d = Oe(
899
902
  o,
900
903
  t,
901
904
  a,
902
905
  n
903
906
  );
904
- if (Ne(d))
907
+ if (Pe(d))
905
908
  return e;
906
- const f = co(e);
907
- return f ? `${a}-${f}` : a;
909
+ const c = ro(e);
910
+ return c ? `${a}-${c}` : a;
908
911
  }
909
912
  return e;
910
913
  }
911
- function no(o, t, e) {
912
- const n = we(e), l = (i, a, d) => Math.min(Math.max(i, a), d), s = { ...o };
913
- 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;
914
+ function oo(o, t, e) {
915
+ const n = $e(e), l = (i, a, d) => Math.min(Math.max(i, a), d), s = { ...o };
916
+ return n === "x" ? s.x = l(o.x, we, window.innerWidth - t.width - we) : s.y = l(o.y, we, window.innerHeight - t.height - we), s;
914
917
  }
915
- function lo(o, t, e) {
918
+ function no(o, t, e) {
916
919
  const n = _e(t);
917
920
  return {
918
921
  x: o.x + (n === "left" ? -e : n === "right" ? e : 0),
919
922
  y: o.y + (n === "top" ? -e : n === "bottom" ? e : 0)
920
923
  };
921
924
  }
922
- function so(o, t, e, n, l) {
923
- if (we(l) === "y") {
924
- const i = t.top + t.height / 2, a = o.y + e.height / 2, d = a - i, f = e.height / 2 - d - n.height / 2 + 2;
925
- if (f > 0 && f < e.height - n.height)
925
+ function lo(o, t, e, n, l) {
926
+ if ($e(l) === "y") {
927
+ const i = t.top + t.height / 2, a = o.y + e.height / 2, d = a - i, c = e.height / 2 - d - n.height / 2 + 2;
928
+ if (c > 0 && c < e.height - n.height)
926
929
  return {
927
- y: f
930
+ y: c
928
931
  };
929
932
  } else {
930
- const i = t.left + t.width / 2, a = o.x + e.width / 2, d = a - i, f = e.width / 2 - d - n.width / 2 + 2;
931
- if (f > 0 && f < e.width - n.width)
933
+ const i = t.left + t.width / 2, a = o.x + e.width / 2, d = a - i, c = e.width / 2 - d - n.width / 2 + 2;
934
+ if (c > 0 && c < e.width - n.width)
932
935
  return {
933
- x: f
936
+ x: c
934
937
  };
935
938
  }
936
939
  }
937
- function ao(o, t, e) {
940
+ function so(o, t, e) {
938
941
  const [n, l] = e.split("-"), s = o.x + o.width / 2 - t.width / 2, i = o.y + o.height / 2 - t.height / 2;
939
942
  let a;
940
943
  switch (n) {
@@ -955,20 +958,20 @@ function ao(o, t, e) {
955
958
  }
956
959
  if (!l)
957
960
  return a;
958
- const f = we(e) === "y" ? "height" : "width", $ = we(e), I = o[f] / 2 - t[f] / 2;
961
+ const c = $e(e) === "y" ? "height" : "width", w = $e(e), L = o[c] / 2 - t[c] / 2;
959
962
  switch (l) {
960
963
  case "start":
961
- a[$] -= I;
964
+ a[w] -= L;
962
965
  break;
963
966
  case "end":
964
- a[$] += I;
967
+ a[w] += L;
965
968
  break;
966
969
  default:
967
970
  throw new Error(`[Quidgest UI] Invalid alignment value: ${l}`);
968
971
  }
969
972
  return a;
970
973
  }
971
- function Ue(o, t, e, n) {
974
+ function Oe(o, t, e, n) {
972
975
  const l = _e(e);
973
976
  let s = 0;
974
977
  switch (l) {
@@ -989,31 +992,31 @@ function Ue(o, t, e, n) {
989
992
  }
990
993
  return s;
991
994
  }
992
- function io(o) {
995
+ function ao(o) {
993
996
  return o === "x" ? "y" : "x";
994
997
  }
995
- function ro(o) {
998
+ function io(o) {
996
999
  const t = _e(o);
997
1000
  return ["left", "right"].includes(t) ? "x" : "y";
998
1001
  }
999
- function we(o) {
1000
- return io(ro(o));
1002
+ function $e(o) {
1003
+ return ao(io(o));
1001
1004
  }
1002
1005
  function _e(o) {
1003
1006
  const [t] = o.split("-");
1004
1007
  return t;
1005
1008
  }
1006
- function co(o) {
1009
+ function ro(o) {
1007
1010
  const [, t] = o.split("-");
1008
1011
  return t;
1009
1012
  }
1010
- function Ne(o) {
1013
+ function Pe(o) {
1011
1014
  return o < 0;
1012
1015
  }
1013
1016
  function uo(o) {
1014
1017
  return typeof o == "string" ? document.querySelector(o) : o;
1015
1018
  }
1016
- const fo = ["role"], po = /* @__PURE__ */ B({
1019
+ const co = ["role"], fo = /* @__PURE__ */ B({
1017
1020
  inheritAttrs: !1,
1018
1021
  __name: "QOverlay",
1019
1022
  props: /* @__PURE__ */ Z({
@@ -1041,7 +1044,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1041
1044
  }),
1042
1045
  emits: /* @__PURE__ */ Z(["enter", "leave"], ["update:modelValue"]),
1043
1046
  setup(o, { emit: t }) {
1044
- const e = o, n = t, l = oe(o, "modelValue"), s = b(() => [
1047
+ const e = o, n = t, l = ne(o, "modelValue"), s = g(() => [
1045
1048
  "q-overlay",
1046
1049
  `q-overlay--${_e(a.placement)}`,
1047
1050
  {
@@ -1049,19 +1052,19 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1049
1052
  "q-overlay--inverted": e.appearance === "inverted"
1050
1053
  },
1051
1054
  e.class
1052
- ]), i = b(() => (l.value || a.animating) && !e.nonModal), a = Pe({
1055
+ ]), i = g(() => (l.value || a.animating) && !e.nonModal), a = ze({
1053
1056
  animating: !1,
1054
1057
  top: 0,
1055
1058
  left: 0,
1056
1059
  width: 0,
1057
1060
  placement: e.placement
1058
- }), d = Pe({
1061
+ }), d = ze({
1059
1062
  top: void 0,
1060
1063
  left: void 0,
1061
1064
  hidden: !0
1062
- }), f = b(() => a.top !== 0 && a.left !== 0);
1063
- ee(l, () => a.animating = !0);
1064
- const $ = b(() => {
1065
+ }), c = g(() => a.top !== 0 && a.left !== 0);
1066
+ te(l, () => a.animating = !0);
1067
+ const w = g(() => {
1065
1068
  if (e.anchor === void 0) return;
1066
1069
  const k = U(), pe = e.width === "anchor", X = pe ? k == null ? void 0 : k.getBoundingClientRect().width : void 0;
1067
1070
  return {
@@ -1069,15 +1072,15 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1069
1072
  left: `${a.left}px`,
1070
1073
  width: X !== void 0 ? `${X}px` : void 0
1071
1074
  };
1072
- }), I = b(() => {
1075
+ }), L = g(() => {
1073
1076
  if (e.arrow)
1074
1077
  return {
1075
1078
  top: d.top !== void 0 ? `${d.top}px` : void 0,
1076
1079
  left: d.left !== void 0 ? `${d.left}px` : void 0,
1077
1080
  opacity: d.hidden ? 0 : 1
1078
1081
  };
1079
- }), M = E(null), A = E(null);
1080
- function V() {
1082
+ }), P = D(null), A = D(null);
1083
+ function T() {
1081
1084
  const k = U();
1082
1085
  if (!k || !A.value)
1083
1086
  return;
@@ -1086,26 +1089,26 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1086
1089
  width: e.width,
1087
1090
  offset: e.offset,
1088
1091
  arrow: e.arrow
1089
- }, X = to(
1092
+ }, X = eo(
1090
1093
  k,
1091
1094
  A.value,
1092
- (M == null ? void 0 : M.value) ?? void 0,
1095
+ (P == null ? void 0 : P.value) ?? void 0,
1093
1096
  pe
1094
1097
  );
1095
1098
  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);
1096
1099
  }
1097
- ee(
1100
+ te(
1098
1101
  () => e.placement,
1099
- () => te(V)
1102
+ () => oe(T)
1100
1103
  );
1101
1104
  let y;
1102
- function D() {
1103
- P(0);
1105
+ function E() {
1106
+ Q(0);
1104
1107
  }
1105
- function O() {
1106
- P(e.delay);
1108
+ function M() {
1109
+ Q(e.delay);
1107
1110
  }
1108
- function P(k) {
1111
+ function Q(k) {
1109
1112
  y || (y = window.setTimeout(() => {
1110
1113
  l.value = !0;
1111
1114
  }, k));
@@ -1116,12 +1119,12 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1116
1119
  k == null || k.focus();
1117
1120
  }
1118
1121
  }
1119
- ee(f, () => te(le));
1120
- function le() {
1122
+ te(c, () => oe(se));
1123
+ function se() {
1121
1124
  n("enter");
1122
1125
  }
1123
1126
  let W;
1124
- function se() {
1127
+ function ae() {
1125
1128
  window.clearTimeout(W), W = window.setTimeout(() => a.animating = !1, 200), n("leave");
1126
1129
  }
1127
1130
  function U() {
@@ -1131,88 +1134,88 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1131
1134
  function v() {
1132
1135
  const k = U();
1133
1136
  if (k)
1134
- switch (Y = new MutationObserver(V), Y.observe(k, {
1137
+ switch (Y = new MutationObserver(T), Y.observe(k, {
1135
1138
  attributes: !1,
1136
1139
  childList: !0,
1137
1140
  characterData: !0,
1138
1141
  subtree: !0
1139
1142
  }), e.trigger) {
1140
1143
  case "click":
1141
- k.addEventListener("click", D);
1144
+ k.addEventListener("click", E);
1142
1145
  break;
1143
1146
  case "hover":
1144
- k.addEventListener("mouseenter", O), k.addEventListener("mouseleave", H), k.addEventListener("focusin", D), k.addEventListener("focusout", H);
1147
+ k.addEventListener("mouseenter", M), k.addEventListener("mouseleave", H), k.addEventListener("focusin", E), k.addEventListener("focusout", H);
1145
1148
  break;
1146
1149
  }
1147
1150
  }
1148
- function w() {
1151
+ function $() {
1149
1152
  const k = U();
1150
1153
  if (k)
1151
1154
  switch (Y == null || Y.disconnect(), e.trigger) {
1152
1155
  case "click":
1153
- k.removeEventListener("click", D);
1156
+ k.removeEventListener("click", E);
1154
1157
  break;
1155
1158
  case "hover":
1156
- k.removeEventListener("mouseenter", O), k.removeEventListener("mouseleave", H), k.removeEventListener("focusin", D), k.removeEventListener("focusout", H);
1159
+ k.removeEventListener("mouseenter", M), k.removeEventListener("mouseleave", H), k.removeEventListener("focusin", E), k.removeEventListener("focusout", H);
1157
1160
  break;
1158
1161
  }
1159
1162
  }
1160
- function u() {
1161
- window.addEventListener("resize", V), e.scrollLock || window.addEventListener("scroll", V);
1163
+ function f() {
1164
+ window.addEventListener("resize", T), e.scrollLock || window.addEventListener("scroll", T);
1162
1165
  }
1163
- function g() {
1164
- window.removeEventListener("resize", V), e.scrollLock || window.removeEventListener("scroll", V);
1166
+ function b() {
1167
+ window.removeEventListener("resize", T), e.scrollLock || window.removeEventListener("scroll", T);
1165
1168
  }
1166
1169
  let G;
1167
- function ae() {
1168
- U() ? (V(), G = window.setTimeout(ae, 100)) : H();
1170
+ function ie() {
1171
+ U() ? (T(), G = window.setTimeout(ie, 100)) : H();
1169
1172
  }
1170
- function J() {
1171
- u(), e.spy ? ae() : V(), e.scrollLock && document.body.classList.add("no-scroll"), (e.anchor === void 0 || e.trigger === "click") && te(() => {
1173
+ function ee() {
1174
+ f(), e.spy ? ie() : T(), e.scrollLock && document.body.classList.add("no-scroll"), (e.anchor === void 0 || e.trigger === "click") && oe(() => {
1172
1175
  var k;
1173
1176
  return (k = A.value) == null ? void 0 : k.focus();
1174
1177
  });
1175
1178
  }
1176
1179
  function de() {
1177
- g(), e.spy && (clearTimeout(G), G = void 0), e.scrollLock && document.body.classList.remove("no-scroll"), a.top = 0, a.left = 0;
1180
+ b(), e.spy && (clearTimeout(G), G = void 0), e.scrollLock && document.body.classList.remove("no-scroll"), a.top = 0, a.left = 0;
1178
1181
  }
1179
1182
  function ke() {
1180
1183
  e.persistent || H();
1181
1184
  }
1182
- return je(() => {
1183
- te(v);
1184
- }), ct(() => {
1185
- w(), de();
1186
- }), ee(
1185
+ return Re(() => {
1186
+ oe(v);
1187
+ }), ut(() => {
1188
+ $(), de();
1189
+ }), te(
1187
1190
  l,
1188
1191
  (k) => {
1189
- te(() => k ? J() : de());
1192
+ oe(() => k ? ee() : de());
1190
1193
  },
1191
1194
  { immediate: !0 }
1192
- ), (k, pe) => (r(), S(ut, {
1195
+ ), (k, pe) => (r(), S(ct, {
1193
1196
  disabled: !l.value && !a.animating || e.inline,
1194
1197
  to: e.attach
1195
1198
  }, [
1196
1199
  i.value ? (r(), p("div", {
1197
1200
  key: 0,
1198
- class: C([
1201
+ class: V([
1199
1202
  e.backdropClass,
1200
1203
  "q-overlay__underlay",
1201
1204
  { "q-overlay__underlay--blur": e.backdropBlur }
1202
1205
  ])
1203
- }, null, 2)) : x("", !0),
1204
- F(ft, {
1206
+ }, null, 2)) : q("", !0),
1207
+ z(ft, {
1205
1208
  name: e.transition,
1206
1209
  appear: "",
1207
- onLeave: se
1210
+ onLeave: ae
1208
1211
  }, {
1209
1212
  default: _(() => [
1210
1213
  l.value ? (r(), p("div", {
1211
1214
  key: 0,
1212
- class: C(s.value),
1213
- style: ce($.value)
1215
+ class: V(s.value),
1216
+ style: ue(w.value)
1214
1217
  }, [
1215
- L("div", ie({
1218
+ I("div", J({
1216
1219
  class: "q-overlay__content",
1217
1220
  ref_key: "overlayRef",
1218
1221
  ref: A,
@@ -1225,32 +1228,32 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1225
1228
  e.arrow ? (r(), p("div", {
1226
1229
  key: 0,
1227
1230
  ref_key: "arrowRef",
1228
- ref: M,
1231
+ ref: P,
1229
1232
  role: "presentation",
1230
1233
  class: "q-overlay__arrow",
1231
- style: ce(I.value)
1232
- }, null, 4)) : x("", !0),
1234
+ style: ue(L.value)
1235
+ }, null, 4)) : q("", !0),
1233
1236
  h(k.$slots, "default")
1234
- ], 16, fo)
1235
- ], 6)) : x("", !0)
1237
+ ], 16, co)
1238
+ ], 6)) : q("", !0)
1236
1239
  ]),
1237
1240
  _: 3
1238
1241
  }, 8, ["name"])
1239
1242
  ], 8, ["disabled", "to"]));
1240
1243
  }
1241
- }), ye = T(po), mo = ["id"], vo = {
1244
+ }), ye = C(fo), po = ["id"], mo = {
1242
1245
  key: 0,
1243
1246
  class: "q-field__label"
1244
- }, ho = ["for"], yo = {
1247
+ }, vo = ["for"], ho = {
1245
1248
  key: 0,
1246
1249
  class: "q-field__prepend"
1247
- }, go = {
1250
+ }, yo = {
1248
1251
  key: 1,
1249
1252
  class: "q-field__append"
1250
1253
  }, bo = {
1251
1254
  key: 1,
1252
1255
  class: "q-field__extras"
1253
- }, _o = /* @__PURE__ */ B({
1256
+ }, go = /* @__PURE__ */ B({
1254
1257
  inheritAttrs: !1,
1255
1258
  __name: "QField",
1256
1259
  props: {
@@ -1264,12 +1267,12 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1264
1267
  class: { default: void 0 }
1265
1268
  },
1266
1269
  setup(o, { expose: t }) {
1267
- const e = o, n = fe(e.id), l = E(null), s = b(() => e.required && !e.readonly && !e.disabled);
1270
+ const e = o, n = fe(e.id), l = D(null), s = g(() => e.required && !e.readonly && !e.disabled);
1268
1271
  return t({
1269
1272
  fieldRef: l
1270
1273
  }), (i, a) => (r(), p("div", {
1271
1274
  id: m(n),
1272
- class: C([
1275
+ class: V([
1273
1276
  "q-field",
1274
1277
  `q-field--${e.size}`,
1275
1278
  {
@@ -1280,34 +1283,34 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1280
1283
  e.class
1281
1284
  ])
1282
1285
  }, [
1283
- e.label ? (r(), p("div", vo, [
1286
+ e.label ? (r(), p("div", mo, [
1284
1287
  h(i.$slots, "label.prepend"),
1285
- L("label", {
1288
+ I("label", {
1286
1289
  for: e.for
1287
- }, z(e.label), 9, ho),
1290
+ }, O(e.label), 9, vo),
1288
1291
  h(i.$slots, "label.append")
1289
- ])) : x("", !0),
1292
+ ])) : q("", !0),
1290
1293
  h(i.$slots, "control", {}, () => [
1291
- L("div", ie({
1294
+ I("div", J({
1292
1295
  class: "q-field__control",
1293
1296
  ref_key: "fieldRef",
1294
1297
  ref: l
1295
1298
  }, i.$attrs), [
1296
- i.$slots.prepend ? (r(), p("div", yo, [
1299
+ i.$slots.prepend ? (r(), p("div", ho, [
1297
1300
  h(i.$slots, "prepend")
1298
- ])) : x("", !0),
1301
+ ])) : q("", !0),
1299
1302
  h(i.$slots, "default"),
1300
- i.$slots.append ? (r(), p("div", go, [
1303
+ i.$slots.append ? (r(), p("div", yo, [
1301
1304
  h(i.$slots, "append")
1302
- ])) : x("", !0)
1305
+ ])) : q("", !0)
1303
1306
  ], 16)
1304
1307
  ]),
1305
1308
  i.$slots.extras ? (r(), p("div", bo, [
1306
1309
  h(i.$slots, "extras")
1307
- ])) : x("", !0)
1308
- ], 10, mo));
1310
+ ])) : q("", !0)
1311
+ ], 10, po));
1309
1312
  }
1310
- }), Le = T(_o), ko = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], $o = /* @__PURE__ */ B({
1313
+ }), Le = C(go), _o = ["id", "type", "role", "required", "placeholder", "readonly", "disabled", "maxlength"], ko = /* @__PURE__ */ B({
1311
1314
  inheritAttrs: !1,
1312
1315
  __name: "QTextField",
1313
1316
  props: /* @__PURE__ */ Z({
@@ -1328,19 +1331,19 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1328
1331
  }),
1329
1332
  emits: ["update:modelValue"],
1330
1333
  setup(o, { expose: t }) {
1331
- const e = o, n = oe(o, "modelValue"), l = fe(e.id), s = E(null), i = E(null), a = b(
1334
+ const e = o, n = ne(o, "modelValue"), l = fe(e.id), s = D(null), i = D(null), a = g(
1332
1335
  () => e.readonly || e.disabled ? "" : e.placeholder
1333
1336
  );
1334
1337
  return t({
1335
- fieldRef: b(() => {
1338
+ fieldRef: g(() => {
1336
1339
  var d;
1337
1340
  return (d = s.value) == null ? void 0 : d.fieldRef;
1338
1341
  }),
1339
1342
  inputRef: i
1340
- }), (d, f) => (r(), S(m(Le), {
1343
+ }), (d, c) => (r(), S(m(Le), {
1341
1344
  ref_key: "fieldRef",
1342
1345
  ref: s,
1343
- class: C(["q-text-field", e.class]),
1346
+ class: V(["q-text-field", e.class]),
1344
1347
  for: m(l),
1345
1348
  label: e.label,
1346
1349
  size: e.size,
@@ -1355,8 +1358,8 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1355
1358
  h(d.$slots, "label.append")
1356
1359
  ]),
1357
1360
  default: _(() => [
1358
- mt(L("input", ie({
1359
- "onUpdate:modelValue": f[0] || (f[0] = ($) => n.value = $),
1361
+ mt(I("input", J({
1362
+ "onUpdate:modelValue": c[0] || (c[0] = (w) => n.value = w),
1360
1363
  ref_key: "inputRef",
1361
1364
  ref: i,
1362
1365
  id: m(l),
@@ -1368,7 +1371,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1368
1371
  readonly: e.readonly,
1369
1372
  disabled: e.disabled,
1370
1373
  maxlength: e.maxLength
1371
- }, d.$attrs), null, 16, ko), [
1374
+ }, d.$attrs), null, 16, _o), [
1372
1375
  [vt, n.value]
1373
1376
  ])
1374
1377
  ]),
@@ -1397,22 +1400,25 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1397
1400
  } : void 0
1398
1401
  ]), 1032, ["class", "for", "label", "size", "readonly", "disabled", "required"]));
1399
1402
  }
1400
- }), at = T($o), wo = {
1401
- noData: "No data available"
1402
- }, qo = {
1403
+ }), lt = C(ko), wo = {
1404
+ noData: "No data available",
1405
+ clearValue: "Clear value",
1406
+ showOptions: "Show options"
1407
+ }, $o = {
1403
1408
  chevron: {
1404
1409
  icon: "chevron-down"
1405
1410
  },
1406
1411
  clear: {
1407
1412
  icon: "close"
1408
1413
  }
1409
- }, xo = ["data-key"], Lo = {
1414
+ }, qo = ["data-key"], xo = {
1410
1415
  key: 0,
1411
1416
  class: "q-select__loader"
1412
- }, Io = {
1417
+ }, Lo = {
1413
1418
  key: 2,
1414
1419
  class: "q-select__loader"
1415
- }, So = /* @__PURE__ */ B({
1420
+ }, Io = /* @__PURE__ */ B({
1421
+ inheritAttrs: !1,
1416
1422
  __name: "QCombobox",
1417
1423
  props: /* @__PURE__ */ Z({
1418
1424
  id: { default: void 0 },
@@ -1432,7 +1438,8 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1432
1438
  emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
1433
1439
  size: { default: void 0 },
1434
1440
  class: { default: void 0 },
1435
- internals: { default: () => ({ icons: qo, texts: wo }) }
1441
+ icons: { default: () => $o },
1442
+ texts: { default: () => wo }
1436
1443
  }, {
1437
1444
  modelValue: {
1438
1445
  type: [String, Number, Boolean, Symbol]
@@ -1445,108 +1452,108 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1445
1452
  }),
1446
1453
  emits: /* @__PURE__ */ Z(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
1447
1454
  setup(o, { expose: t, emit: e }) {
1448
- const n = o, l = e, s = oe(o, "modelValue"), i = oe(o, "open"), a = oe(o, "search"), d = E(void 0), f = E(null), $ = E(null), I = E(null), M = E(null);
1449
- je(W);
1450
- const A = b(() => n.clearable && !n.readonly && !n.disabled), V = b(() => {
1451
- var c;
1452
- return n.filterMode === "manual" || !H.value ? n.items : (c = n.items) == null ? void 0 : c.filter(
1453
- (q) => q[n.itemLabel].toLowerCase().startsWith(a.value.toLowerCase())
1455
+ const n = o, l = e, s = ne(o, "modelValue"), i = ne(o, "open"), a = ne(o, "search"), d = D(void 0), c = D(null), w = D(null), L = D(null), P = D(null);
1456
+ Re(W);
1457
+ const A = g(() => n.clearable && !n.readonly && !n.disabled), T = g(() => {
1458
+ var u;
1459
+ return n.filterMode === "manual" || !H.value ? n.items : (u = n.items) == null ? void 0 : u.filter(
1460
+ (x) => x[n.itemLabel].toLowerCase().startsWith(a.value.toLowerCase())
1454
1461
  );
1455
- }), y = b(() => {
1456
- var c;
1457
- return (c = n.items) == null ? void 0 : c.find((q) => q[n.itemValue] === s.value);
1458
- }), D = b(() => y.value === void 0), O = b(() => {
1459
- const c = d.value;
1460
- if (c !== void 0 && V.value[c])
1461
- return V.value[c];
1462
- }), P = b(() => {
1463
- var q;
1462
+ }), y = g(() => {
1463
+ var u;
1464
+ return (u = n.items) == null ? void 0 : u.find((x) => x[n.itemValue] === s.value);
1465
+ }), E = g(() => y.value === void 0), M = g(() => {
1466
+ const u = d.value;
1467
+ if (u !== void 0 && T.value[u])
1468
+ return T.value[u];
1469
+ }), Q = g(() => {
1470
+ var x;
1464
1471
  if (d.value === void 0)
1465
1472
  return;
1466
- const c = (q = $.value) == null ? void 0 : q.getItem(d.value);
1467
- return c == null ? void 0 : c.id;
1468
- }), H = b(() => {
1469
- var c;
1470
- return a.value.length > 0 && a.value !== ((c = y.value) == null ? void 0 : c[n.itemLabel]);
1473
+ const u = (x = w.value) == null ? void 0 : x.getItem(d.value);
1474
+ return u == null ? void 0 : u.id;
1475
+ }), H = g(() => {
1476
+ var u;
1477
+ return a.value.length > 0 && a.value !== ((u = y.value) == null ? void 0 : u[n.itemLabel]);
1471
1478
  });
1472
- function le(c) {
1473
- s.value = c, U();
1479
+ function se(u) {
1480
+ s.value = u, U();
1474
1481
  }
1475
1482
  function W() {
1476
- var q;
1477
- const c = ((q = y.value) == null ? void 0 : q[n.itemLabel]) || "";
1478
- a.value !== c && (a.value = c);
1483
+ var x;
1484
+ const u = ((x = y.value) == null ? void 0 : x[n.itemLabel]) || "";
1485
+ a.value !== u && (a.value = u);
1479
1486
  }
1480
- function se() {
1487
+ function ae() {
1481
1488
  i.value || n.readonly || n.disabled || (l("before-show"), i.value = !0, de());
1482
1489
  }
1483
1490
  function U() {
1484
1491
  i.value && (l("before-hide"), i.value = !1, d.value = void 0);
1485
1492
  }
1486
1493
  function Y() {
1487
- i.value ? U() : w();
1494
+ i.value ? U() : $();
1488
1495
  }
1489
1496
  function v() {
1490
1497
  A.value && (s.value = n.emptyValue, d.value = void 0, de());
1491
1498
  }
1492
- function w() {
1493
- if (se(), y.value !== void 0) {
1494
- const c = V.value.indexOf(y.value);
1495
- c !== -1 && te(() => X(c));
1499
+ function $() {
1500
+ if (ae(), y.value !== void 0) {
1501
+ const u = T.value.indexOf(y.value);
1502
+ u !== -1 && oe(() => X(u));
1496
1503
  }
1497
1504
  }
1498
- function u(c) {
1499
- var q, Q;
1500
- if (!(!c.key || n.readonly || n.disabled))
1501
- if (["ArrowDown", "ArrowUp", "Home", "End"].includes(c.key) && (c.preventDefault(), c.stopPropagation()), c.key === "Escape")
1505
+ function f(u) {
1506
+ var x, F;
1507
+ if (!(!u.key || n.readonly || n.disabled))
1508
+ if (["ArrowDown", "ArrowUp", "Home", "End"].includes(u.key) && (u.preventDefault(), u.stopPropagation()), u.key === "Escape")
1502
1509
  W(), i.value && U();
1503
- else if (["ArrowDown", "ArrowUp"].includes(c.key))
1504
- i.value ? te(() => {
1510
+ else if (["ArrowDown", "ArrowUp"].includes(u.key))
1511
+ i.value ? oe(() => {
1505
1512
  if (d.value === void 0)
1506
- g();
1513
+ b();
1507
1514
  else {
1508
- const R = c.key === "ArrowDown" ? "next" : "prev";
1509
- ae(d.value, R);
1515
+ const R = u.key === "ArrowDown" ? "next" : "prev";
1516
+ ie(d.value, R);
1510
1517
  }
1511
- }) : (se(), te(() => {
1512
- c.key === "ArrowDown" ? g() : G();
1518
+ }) : (ae(), oe(() => {
1519
+ u.key === "ArrowDown" ? b() : G();
1513
1520
  }));
1514
- else if (c.key === "Enter") {
1515
- if (O.value === void 0) return;
1516
- le(O.value[n.itemValue]);
1517
- } else c.key === "Home" ? d.value = (q = $.value) == null ? void 0 : q.getFirstFocusableItemIndex() : c.key === "End" ? d.value = (Q = $.value) == null ? void 0 : Q.getLastFocusableItemIndex() : (/^[a-z]$/i.test(c.key) || c.key === "Backspace") && se();
1518
- }
1519
- function g() {
1520
- var c, q;
1521
- if (D.value)
1522
- d.value = (q = $.value) == null ? void 0 : q.getFirstFocusableItemIndex();
1521
+ else if (u.key === "Enter") {
1522
+ if (M.value === void 0) return;
1523
+ se(M.value[n.itemValue]);
1524
+ } else u.key === "Home" ? d.value = (x = w.value) == null ? void 0 : x.getFirstFocusableItemIndex() : u.key === "End" ? d.value = (F = w.value) == null ? void 0 : F.getLastFocusableItemIndex() : (/^[a-z]$/i.test(u.key) || u.key === "Backspace") && ae();
1525
+ }
1526
+ function b() {
1527
+ var u, x;
1528
+ if (E.value)
1529
+ d.value = (x = w.value) == null ? void 0 : x.getFirstFocusableItemIndex();
1523
1530
  else {
1524
- const Q = V.value.findIndex(
1531
+ const F = T.value.findIndex(
1525
1532
  (R) => R[n.itemValue] === s.value
1526
1533
  );
1527
- Q === -1 ? d.value = (c = $.value) == null ? void 0 : c.getFirstFocusableItemIndex() : d.value = Q;
1534
+ F === -1 ? d.value = (u = w.value) == null ? void 0 : u.getFirstFocusableItemIndex() : d.value = F;
1528
1535
  }
1529
1536
  }
1530
1537
  function G() {
1531
- var c;
1532
- d.value = (c = $.value) == null ? void 0 : c.getLastFocusableItemIndex();
1538
+ var u;
1539
+ d.value = (u = w.value) == null ? void 0 : u.getLastFocusableItemIndex();
1533
1540
  }
1534
- function ae(c, q) {
1535
- var Q;
1536
- d.value = (Q = $.value) == null ? void 0 : Q.getAdjacentItemIndex(c, q);
1541
+ function ie(u, x) {
1542
+ var F;
1543
+ d.value = (F = w.value) == null ? void 0 : F.getAdjacentItemIndex(u, x);
1537
1544
  }
1538
- function J(c) {
1539
- var me, Ae, Qe, Fe;
1540
- const q = ((me = I == null ? void 0 : I.value) == null ? void 0 : me.$el) === c.relatedTarget, Q = (Qe = (Ae = f == null ? void 0 : f.value) == null ? void 0 : Ae.$el) == null ? void 0 : Qe.contains(c.relatedTarget), R = (Fe = M == null ? void 0 : M.value) == null ? void 0 : Fe.contains(c.relatedTarget);
1541
- if (q || R || Q) {
1542
- c.preventDefault(), c.stopPropagation();
1545
+ function ee(u) {
1546
+ var me, Ee, De, Ae;
1547
+ const x = ((me = L == null ? void 0 : L.value) == null ? void 0 : me.$el) === u.relatedTarget, F = (De = (Ee = c == null ? void 0 : c.value) == null ? void 0 : Ee.$el) == null ? void 0 : De.contains(u.relatedTarget), R = (Ae = P == null ? void 0 : P.value) == null ? void 0 : Ae.contains(u.relatedTarget);
1548
+ if (x || R || F) {
1549
+ u.preventDefault(), u.stopPropagation();
1543
1550
  return;
1544
1551
  }
1545
1552
  U(), A.value && !a.value && (s.value = n.emptyValue), W();
1546
1553
  }
1547
1554
  function de() {
1548
- var c, q;
1549
- (q = (c = f.value) == null ? void 0 : c.inputRef) == null || q.focus();
1555
+ var u, x;
1556
+ (x = (u = c.value) == null ? void 0 : u.inputRef) == null || x.focus();
1550
1557
  }
1551
1558
  function ke() {
1552
1559
  de();
@@ -1557,45 +1564,45 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1557
1564
  function pe() {
1558
1565
  l("hide");
1559
1566
  }
1560
- function X(c) {
1561
- var Q;
1562
- const q = (Q = $.value) == null ? void 0 : Q.getItem(c);
1563
- $.value && ($.value.$el.scrollTop = q == null ? void 0 : q.offsetTop);
1567
+ function X(u) {
1568
+ var F;
1569
+ const x = (F = w.value) == null ? void 0 : F.getItem(u);
1570
+ w.value && (w.value.$el.scrollTop = x == null ? void 0 : x.offsetTop);
1564
1571
  }
1565
- return ee(s, W), ee(
1572
+ return te(s, W), te(
1566
1573
  () => n.items,
1567
- (c, q) => {
1568
- if (!D.value) {
1569
- const Q = q.find((R) => R[n.itemValue] === s.value);
1570
- a.value === (Q == null ? void 0 : Q[n.itemLabel]) && W();
1574
+ (u, x) => {
1575
+ if (!E.value) {
1576
+ const F = x.find((R) => R[n.itemValue] === s.value);
1577
+ a.value === (F == null ? void 0 : F[n.itemLabel]) && W();
1571
1578
  }
1572
1579
  },
1573
1580
  { deep: !0 }
1574
- ), ee(d, (c) => {
1575
- c !== void 0 && X(c);
1576
- }), ee(a, (c) => {
1577
- c && i.value && n.selectionMode === "automatic" && te(g);
1578
- }), ee(
1581
+ ), te(d, (u) => {
1582
+ u !== void 0 && X(u);
1583
+ }), te(a, (u) => {
1584
+ u && i.value && n.selectionMode === "automatic" && oe(b);
1585
+ }), te(
1579
1586
  () => n.loading,
1580
- (c) => {
1581
- !c && i.value && te(g);
1587
+ (u) => {
1588
+ !u && i.value && oe(b);
1582
1589
  }
1583
1590
  ), t({
1584
- triggerEl: f
1585
- }), (c, q) => {
1586
- var Q;
1591
+ triggerEl: c
1592
+ }), (u, x) => {
1593
+ var F;
1587
1594
  return r(), p(K, null, [
1588
- F(m(at), {
1595
+ z(m(lt), J({
1589
1596
  modelValue: a.value,
1590
- "onUpdate:modelValue": q[0] || (q[0] = (R) => a.value = R),
1597
+ "onUpdate:modelValue": x[0] || (x[0] = (R) => a.value = R),
1591
1598
  id: n.id,
1592
1599
  label: n.label,
1593
1600
  required: n.required,
1594
1601
  ref_key: "triggerEl",
1595
- ref: f,
1602
+ ref: c,
1596
1603
  role: "combobox",
1597
1604
  placeholder: n.placeholder,
1598
- class: C([
1605
+ class: [
1599
1606
  "q-combobox",
1600
1607
  {
1601
1608
  "q-combobox--readonly": n.readonly,
@@ -1603,7 +1610,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1603
1610
  "q-combobox--expanded": i.value
1604
1611
  },
1605
1612
  n.class
1606
- ]),
1613
+ ],
1607
1614
  readonly: n.readonly,
1608
1615
  disabled: n.disabled,
1609
1616
  "data-loading": n.loading,
@@ -1611,38 +1618,41 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1611
1618
  "aria-expanded": i.value,
1612
1619
  "aria-haspopup": "listbox",
1613
1620
  "aria-autocomplete": "list",
1614
- "aria-activedescendant": P.value,
1615
- size: n.size,
1616
- onClick: w,
1617
- onFocusout: J,
1618
- onKeydown: ve(u, ["stop"])
1619
- }, qe({
1621
+ "aria-activedescendant": Q.value,
1622
+ size: n.size
1623
+ }, u.$attrs, {
1624
+ onClick: $,
1625
+ onFocusout: ee,
1626
+ onKeydown: ve(f, ["stop"])
1627
+ }), qe({
1620
1628
  "label.prepend": _(() => [
1621
- h(c.$slots, "label.prepend")
1629
+ h(u.$slots, "label.prepend")
1622
1630
  ]),
1623
1631
  "label.append": _(() => [
1624
- h(c.$slots, "label.append")
1632
+ h(u.$slots, "label.append")
1625
1633
  ]),
1626
1634
  append: _(() => [
1627
- h(c.$slots, "append"),
1635
+ h(u.$slots, "append"),
1628
1636
  A.value && a.value ? (r(), S(m(re), {
1629
1637
  key: 0,
1630
1638
  class: "q-combobox__clear",
1639
+ "aria-label": n.texts.clearValue,
1631
1640
  "b-style": "plain",
1632
1641
  borderless: "",
1633
1642
  tabindex: "-1",
1634
1643
  onClick: v
1635
1644
  }, {
1636
1645
  default: _(() => [
1637
- F(m(N), j(ne(n.internals.icons.clear)), null, 16)
1646
+ z(m(N), j(le(n.icons.clear)), null, 16)
1638
1647
  ]),
1639
1648
  _: 1
1640
- })) : x("", !0),
1641
- n.readonly ? x("", !0) : (r(), S(m(re), {
1649
+ }, 8, ["aria-label"])) : q("", !0),
1650
+ n.readonly ? q("", !0) : (r(), S(m(re), {
1642
1651
  key: 1,
1643
1652
  ref_key: "toggleRef",
1644
- ref: I,
1653
+ ref: L,
1645
1654
  class: "q-combobox__chevron",
1655
+ "aria-label": n.texts.showOptions,
1646
1656
  "b-style": "plain",
1647
1657
  borderless: "",
1648
1658
  tabindex: "-1",
@@ -1650,80 +1660,80 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1650
1660
  onMousedown: ve(Y, ["stop", "prevent"])
1651
1661
  }, {
1652
1662
  default: _(() => [
1653
- F(m(N), j(ne(n.internals.icons.chevron)), null, 16)
1663
+ z(m(N), j(le(n.icons.chevron)), null, 16)
1654
1664
  ]),
1655
1665
  _: 1
1656
- }, 8, ["disabled"]))
1666
+ }, 8, ["aria-label", "disabled"]))
1657
1667
  ]),
1658
1668
  _: 2
1659
1669
  }, [
1660
- c.$slots.prepend ? {
1670
+ u.$slots.prepend ? {
1661
1671
  name: "prepend",
1662
1672
  fn: _(() => [
1663
- h(c.$slots, "prepend")
1673
+ h(u.$slots, "prepend")
1664
1674
  ]),
1665
1675
  key: "0"
1666
1676
  } : void 0,
1667
- c.$slots.extras ? {
1677
+ u.$slots.extras ? {
1668
1678
  name: "extras",
1669
1679
  fn: _(() => [
1670
- h(c.$slots, "extras")
1680
+ h(u.$slots, "extras")
1671
1681
  ]),
1672
1682
  key: "1"
1673
1683
  } : void 0
1674
- ]), 1032, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
1675
- F(m(ye), {
1684
+ ]), 1040, ["modelValue", "id", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
1685
+ z(m(ye), {
1676
1686
  modelValue: i.value,
1677
- "onUpdate:modelValue": q[2] || (q[2] = (R) => i.value = R),
1687
+ "onUpdate:modelValue": x[2] || (x[2] = (R) => i.value = R),
1678
1688
  spy: "",
1679
1689
  "non-modal": "",
1680
1690
  trigger: "manual",
1681
1691
  placement: "bottom-start",
1682
1692
  width: "anchor",
1683
1693
  offset: 4,
1684
- anchor: (Q = f.value) == null ? void 0 : Q.$el,
1694
+ anchor: (F = c.value) == null ? void 0 : F.$el,
1685
1695
  onEnter: k,
1686
1696
  onLeave: pe
1687
1697
  }, {
1688
1698
  default: _(() => {
1689
1699
  var R;
1690
1700
  return [
1691
- L("div", {
1701
+ I("div", {
1692
1702
  ref_key: "contentRef",
1693
- ref: M,
1703
+ ref: P,
1694
1704
  class: "q-select__body",
1695
1705
  "data-testid": "combobox-dropdown",
1696
1706
  "data-key": n.id,
1697
- onFocusout: J
1707
+ onFocusout: ee
1698
1708
  }, [
1699
- h(c.$slots, "body.prepend"),
1700
- n.loading ? (r(), p("div", Lo, [
1701
- F(m(xe), { size: 24 })
1702
- ])) : V.value.length ? (r(), S(m(Ve), {
1709
+ h(u.$slots, "body.prepend"),
1710
+ n.loading ? (r(), p("div", xo, [
1711
+ z(m(xe), { size: 24 })
1712
+ ])) : T.value.length ? (r(), S(m(Ve), {
1703
1713
  key: 1,
1704
1714
  ref_key: "listRef",
1705
- ref: $,
1715
+ ref: w,
1706
1716
  class: "q-select__items",
1707
1717
  selectable: "",
1708
1718
  modelValue: s.value,
1709
1719
  "onUpdate:modelValue": [
1710
- q[1] || (q[1] = (me) => s.value = me),
1711
- le
1720
+ x[1] || (x[1] = (me) => s.value = me),
1721
+ se
1712
1722
  ],
1713
- highlighted: (R = O.value) == null ? void 0 : R[n.itemValue],
1714
- items: V.value,
1715
- groups: c.groups,
1723
+ highlighted: (R = M.value) == null ? void 0 : R[n.itemValue],
1724
+ items: T.value,
1725
+ groups: u.groups,
1716
1726
  "item-label": n.itemLabel,
1717
1727
  "item-value": n.itemValue,
1718
1728
  onMouseup: ke
1719
1729
  }, {
1720
1730
  item: _(({ item: me }) => [
1721
- h(c.$slots, "item", { item: me })
1731
+ h(u.$slots, "item", { item: me })
1722
1732
  ]),
1723
1733
  _: 3
1724
- }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (r(), p("div", Io, z(c.internals.texts.noData), 1)),
1725
- h(c.$slots, "body.append")
1726
- ], 40, xo)
1734
+ }, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (r(), p("div", Lo, O(n.texts.noData), 1)),
1735
+ h(u.$slots, "body.append")
1736
+ ], 40, qo)
1727
1737
  ];
1728
1738
  }),
1729
1739
  _: 3
@@ -1731,7 +1741,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1731
1741
  ], 64);
1732
1742
  };
1733
1743
  }
1734
- }), Bo = T(So), Co = [
1744
+ }), So = C(Io), Bo = [
1735
1745
  {
1736
1746
  id: "button",
1737
1747
  icon: {
@@ -1742,37 +1752,37 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1742
1752
  label: "Ok"
1743
1753
  }
1744
1754
  }
1745
- ], To = {
1755
+ ], Co = {
1746
1756
  icon: "check-circle-outline"
1747
- }, Vo = {
1757
+ }, To = {
1748
1758
  close: {
1749
1759
  icon: "close"
1750
1760
  }
1751
- }, Eo = { class: "q-dialog__header" }, Do = { class: "q-dialog__header-title" }, Ao = { class: "q-dialog__body" }, Qo = {
1761
+ }, Vo = { class: "q-dialog__header" }, Eo = { class: "q-dialog__header-title" }, Do = { class: "q-dialog__body" }, Ao = {
1752
1762
  key: 0,
1753
1763
  class: "q-dialog__body-icon"
1754
- }, Fo = { class: "q-dialog__body-text" }, zo = ["innerHTML"], Mo = { key: 1 }, Po = { class: "q-dialog__body-actions" }, Oo = /* @__PURE__ */ B({
1764
+ }, Qo = { class: "q-dialog__body-text" }, Fo = ["innerHTML"], zo = { key: 1 }, Mo = { class: "q-dialog__body-actions" }, Oo = /* @__PURE__ */ B({
1755
1765
  __name: "QDialog",
1756
1766
  props: /* @__PURE__ */ Z({
1757
1767
  text: { default: "" },
1758
1768
  attach: { default: "body" },
1759
1769
  inline: { type: Boolean },
1760
1770
  backdropBlur: { type: Boolean, default: !0 },
1761
- buttons: { default: () => Co },
1771
+ buttons: { default: () => Bo },
1762
1772
  dismissible: { type: Boolean },
1763
1773
  html: { type: Boolean, default: !0 },
1764
- icon: { default: () => To },
1774
+ icon: { default: () => Co },
1765
1775
  id: { default: void 0 },
1766
1776
  title: { default: "" },
1767
1777
  class: { default: void 0 },
1768
- internals: { default: () => ({ icons: Vo }) }
1778
+ icons: { default: () => To }
1769
1779
  }, {
1770
1780
  modelValue: { type: Boolean },
1771
1781
  modelModifiers: {}
1772
1782
  }),
1773
1783
  emits: ["update:modelValue"],
1774
1784
  setup(o) {
1775
- const t = o, e = oe(o, "modelValue"), n = fe(t.id), l = b(() => ["q-dialog", t.class]);
1785
+ const t = o, e = ne(o, "modelValue"), n = fe(t.id), l = g(() => ["q-dialog", t.class]);
1776
1786
  function s() {
1777
1787
  e.value = !1;
1778
1788
  }
@@ -1791,48 +1801,48 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1791
1801
  persistent: ""
1792
1802
  }, {
1793
1803
  default: _(() => [
1794
- L("div", {
1795
- class: C(l.value)
1804
+ I("div", {
1805
+ class: V(l.value)
1796
1806
  }, [
1797
- L("div", Eo, [
1798
- L("span", Do, z(t.title), 1),
1807
+ I("div", Vo, [
1808
+ I("span", Eo, O(t.title), 1),
1799
1809
  t.dismissible ? (r(), S(m(re), {
1800
1810
  key: 0,
1801
1811
  "b-style": "tertiary",
1802
1812
  onClick: s
1803
1813
  }, {
1804
1814
  default: _(() => [
1805
- F(m(N), j(ne(t.internals.icons.close)), null, 16)
1815
+ z(m(N), j(le(t.icons.close)), null, 16)
1806
1816
  ]),
1807
1817
  _: 1
1808
- })) : x("", !0)
1818
+ })) : q("", !0)
1809
1819
  ]),
1810
1820
  h(a.$slots, "body.content", {}, () => [
1811
- L("div", Ao, [
1821
+ I("div", Do, [
1812
1822
  h(a.$slots, "body.icon", {}, () => [
1813
- t.icon ? (r(), p("span", Qo, [
1814
- F(m(N), j(ne(t.icon)), null, 16)
1815
- ])) : x("", !0)
1823
+ t.icon ? (r(), p("span", Ao, [
1824
+ z(m(N), j(le(t.icon)), null, 16)
1825
+ ])) : q("", !0)
1816
1826
  ]),
1817
- L("div", Fo, [
1827
+ I("div", Qo, [
1818
1828
  t.html ? (r(), p("span", {
1819
1829
  key: 0,
1820
1830
  innerHTML: t.text
1821
- }, null, 8, zo)) : (r(), p("span", Mo, z(t.text), 1))
1831
+ }, null, 8, Fo)) : (r(), p("span", zo, O(t.text), 1))
1822
1832
  ]),
1823
1833
  h(a.$slots, "body.append")
1824
1834
  ])
1825
1835
  ]),
1826
- L("div", Po, [
1827
- (r(!0), p(K, null, he(t.buttons, (f) => (r(), S(m(re), ie({ ref_for: !0 }, f.props, {
1828
- key: f.id,
1829
- onClick: () => i(f)
1836
+ I("div", Mo, [
1837
+ (r(!0), p(K, null, he(t.buttons, (c) => (r(), S(m(re), J({ ref_for: !0 }, c.props, {
1838
+ key: c.id,
1839
+ onClick: () => i(c)
1830
1840
  }), {
1831
1841
  default: _(() => [
1832
- f.icon ? (r(), S(m(N), ie({
1842
+ c.icon ? (r(), S(m(N), J({
1833
1843
  key: 0,
1834
1844
  ref_for: !0
1835
- }, f.icon), null, 16)) : x("", !0)
1845
+ }, c.icon), null, 16)) : q("", !0)
1836
1846
  ]),
1837
1847
  _: 2
1838
1848
  }, 1040, ["onClick"]))), 128))
@@ -1842,13 +1852,13 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1842
1852
  _: 3
1843
1853
  }, 8, ["model-value", "id", "inline", "attach", "backdrop-blur"]));
1844
1854
  }
1845
- }), Uo = T(Oo), No = {
1855
+ }), Po = C(Oo), Uo = {
1846
1856
  key: 0,
1847
1857
  class: "q-input-group__prepend"
1848
- }, Ho = { key: 0 }, Go = {
1858
+ }, No = { key: 0 }, Ho = {
1849
1859
  key: 1,
1850
1860
  class: "q-input-group__append"
1851
- }, Ro = { key: 0 }, Ko = /* @__PURE__ */ B({
1861
+ }, Go = { key: 0 }, Ro = /* @__PURE__ */ B({
1852
1862
  __name: "QInputGroup",
1853
1863
  props: {
1854
1864
  id: { default: void 0 },
@@ -1861,31 +1871,31 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1861
1871
  },
1862
1872
  setup(o) {
1863
1873
  const t = o;
1864
- return Xe({
1874
+ return je({
1865
1875
  QField: {
1866
1876
  size: "block"
1867
1877
  }
1868
1878
  }), (e, n) => (r(), S(m(Le), {
1869
1879
  id: t.id,
1870
- class: C(["q-input-group", t.class]),
1880
+ class: V(["q-input-group", t.class]),
1871
1881
  label: t.label,
1872
1882
  required: t.required,
1873
1883
  size: t.size
1874
1884
  }, qe({
1875
1885
  default: _(() => [
1876
- e.$slots.prepend || t.prependIcon ? (r(), p("div", No, [
1877
- t.prependIcon ? (r(), p("span", Ho, [
1878
- F(m(N), j(ne(t.prependIcon)), null, 16)
1879
- ])) : x("", !0),
1886
+ e.$slots.prepend || t.prependIcon ? (r(), p("div", Uo, [
1887
+ t.prependIcon ? (r(), p("span", No, [
1888
+ z(m(N), j(le(t.prependIcon)), null, 16)
1889
+ ])) : q("", !0),
1880
1890
  h(e.$slots, "prepend")
1881
- ])) : x("", !0),
1891
+ ])) : q("", !0),
1882
1892
  h(e.$slots, "default"),
1883
- e.$slots.append || t.appendIcon ? (r(), p("div", Go, [
1884
- t.appendIcon ? (r(), p("span", Ro, [
1885
- F(m(N), j(ne(t.appendIcon)), null, 16)
1886
- ])) : x("", !0),
1893
+ e.$slots.append || t.appendIcon ? (r(), p("div", Ho, [
1894
+ t.appendIcon ? (r(), p("span", Go, [
1895
+ z(m(N), j(le(t.appendIcon)), null, 16)
1896
+ ])) : q("", !0),
1887
1897
  h(e.$slots, "append")
1888
- ])) : x("", !0)
1898
+ ])) : q("", !0)
1889
1899
  ]),
1890
1900
  _: 2
1891
1901
  }, [
@@ -1898,7 +1908,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1898
1908
  } : void 0
1899
1909
  ]), 1032, ["id", "class", "label", "required", "size"]));
1900
1910
  }
1901
- }), jo = T(Ko), Wo = /* @__PURE__ */ B({
1911
+ }), Ko = C(Ro), jo = /* @__PURE__ */ B({
1902
1912
  __name: "QLineLoader",
1903
1913
  props: {
1904
1914
  class: { default: void 0 }
@@ -1906,16 +1916,16 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1906
1916
  setup(o) {
1907
1917
  const t = o;
1908
1918
  return (e, n) => (r(), p("div", {
1909
- class: C(["q-line-loader", t.class])
1919
+ class: V(["q-line-loader", t.class])
1910
1920
  }, null, 2));
1911
1921
  }
1912
- }), Xo = T(Wo), Yo = {
1922
+ }), Wo = C(jo), Xo = {
1913
1923
  key: 0,
1914
1924
  class: "q-popover__header"
1915
- }, Zo = {
1925
+ }, Yo = {
1916
1926
  key: 1,
1917
1927
  class: "q-popover__body"
1918
- }, Jo = ["innerHTML"], en = { key: 1 }, tn = /* @__PURE__ */ B({
1928
+ }, Zo = ["innerHTML"], Jo = { key: 1 }, en = /* @__PURE__ */ B({
1919
1929
  inheritAttrs: !1,
1920
1930
  __name: "QPopover",
1921
1931
  props: /* @__PURE__ */ Z({
@@ -1934,7 +1944,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1934
1944
  }),
1935
1945
  emits: ["update:modelValue"],
1936
1946
  setup(o) {
1937
- const t = o, e = oe(o, "modelValue");
1947
+ const t = o, e = ne(o, "modelValue");
1938
1948
  return (n, l) => (r(), S(m(ye), {
1939
1949
  modelValue: e.value,
1940
1950
  "onUpdate:modelValue": l[0] || (l[0] = (s) => e.value = s),
@@ -1948,35 +1958,31 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1948
1958
  placement: t.placement
1949
1959
  }, {
1950
1960
  default: _(() => [
1951
- t.title || n.$slots.header ? (r(), p("h3", Yo, [
1952
- ue(z(t.title) + " ", 1),
1961
+ t.title || n.$slots.header ? (r(), p("h3", Xo, [
1962
+ ce(O(t.title) + " ", 1),
1953
1963
  h(n.$slots, "header")
1954
- ])) : x("", !0),
1955
- t.text || n.$slots.body ? (r(), p("div", Zo, [
1964
+ ])) : q("", !0),
1965
+ t.text || n.$slots.body ? (r(), p("div", Yo, [
1956
1966
  t.html ? (r(), p("span", {
1957
1967
  key: 0,
1958
1968
  innerHTML: t.text
1959
- }, null, 8, Jo)) : (r(), p("span", en, z(t.text), 1)),
1969
+ }, null, 8, Zo)) : (r(), p("span", Jo, O(t.text), 1)),
1960
1970
  h(n.$slots, "body")
1961
- ])) : x("", !0)
1971
+ ])) : q("", !0)
1962
1972
  ]),
1963
1973
  _: 3
1964
1974
  }, 8, ["modelValue", "anchor", "arrow", "attach", "inline", "disabled", "placement"]));
1965
1975
  }
1966
- }), on = T(tn), Ee = {
1976
+ }), tn = C(en), st = {
1967
1977
  emptyMessage: "Select a field to view details."
1968
- }, De = {
1978
+ }, at = {
1969
1979
  open: {
1970
1980
  icon: "minus-box"
1971
1981
  },
1972
1982
  close: {
1973
1983
  icon: "plus-box"
1974
1984
  }
1975
- }, nn = { class: "q-property-list__table" }, ln = /* @__PURE__ */ L("thead", { class: "q-property-list__header" }, [
1976
- /* @__PURE__ */ L("tr", null, [
1977
- /* @__PURE__ */ L("th", { colspan: "2" })
1978
- ])
1979
- ], -1), sn = /* @__PURE__ */ B({
1985
+ }, on = { class: "q-property-list__table" }, nn = /* @__PURE__ */ B({
1980
1986
  __name: "QPropertyList",
1981
1987
  props: {
1982
1988
  fields: { default: () => [] },
@@ -1984,102 +1990,108 @@ const fo = ["role"], po = /* @__PURE__ */ B({
1984
1990
  noToggle: { type: Boolean },
1985
1991
  panelPosition: { default: "bottom" },
1986
1992
  groups: { default: () => [] },
1993
+ readonly: { type: Boolean },
1987
1994
  class: { default: void 0 },
1988
- internals: { default: () => ({
1989
- icons: De,
1990
- texts: Ee
1991
- }) },
1992
- readonly: { type: Boolean }
1995
+ icons: { default: () => at },
1996
+ texts: { default: () => st }
1993
1997
  },
1994
1998
  emits: ["field-change"],
1995
1999
  setup(o, { emit: t }) {
1996
- const e = o, n = t, l = E(e.groups.map((y) => y.id)), s = E(void 0), i = E(null), a = b(() => e.groups.length ? e.groups.filter(
1997
- (y) => e.fields.some((D) => D.group === y.id)
1998
- ) : [{ id: "", title: "" }]), d = b(() => [
2000
+ const e = o, n = t, l = D(e.groups.map((y) => y.id)), s = D(void 0), i = D(null), a = g(() => e.groups.length ? e.groups.filter(
2001
+ (y) => e.fields.some((E) => E.group === y.id)
2002
+ ) : [{ id: "", title: "" }]), d = g(() => [
1999
2003
  e.class,
2000
2004
  {
2001
2005
  "q-property-list--side-panel": e.panelPosition === "right"
2002
2006
  }
2003
2007
  ]);
2004
- function f() {
2008
+ function c() {
2005
2009
  var y;
2006
2010
  (y = i.value) != null && y.contains(document.activeElement) || (s.value = void 0);
2007
2011
  }
2008
- function $(y) {
2009
- return y ? e.fields.filter((D) => D.group === y) : e.fields;
2012
+ function w(y) {
2013
+ return y ? e.fields.filter((E) => E.group === y) : e.fields;
2010
2014
  }
2011
- function I(y) {
2012
- const D = l.value.indexOf(y);
2013
- D === -1 ? l.value.push(y) : l.value.splice(D, 1);
2015
+ function L(y) {
2016
+ const E = l.value.indexOf(y);
2017
+ E === -1 ? l.value.push(y) : l.value.splice(E, 1);
2014
2018
  }
2015
- function M(y) {
2016
- var D;
2019
+ function P(y) {
2020
+ var Q;
2021
+ const E = y.group && !l.value.includes(y.group), M = ((Q = s.value) == null ? void 0 : Q.id) === y.id;
2017
2022
  return [
2018
2023
  {
2019
- "q-property-list__row--closed": y.group && !l.value.includes(y.group),
2020
- "q-property-list__row--selected": ((D = s.value) == null ? void 0 : D.id) === y.id
2024
+ "q-property-list__row--closed": E,
2025
+ "q-property-list__row--selected": M
2021
2026
  }
2022
2027
  ];
2023
2028
  }
2024
2029
  function A(y) {
2025
2030
  s.value = y;
2026
2031
  }
2027
- function V(y, D) {
2028
- e.readonly || (y.props.readonly ?? !1) || (y.props.modelValue = D, n("field-change", y));
2032
+ function T(y, E) {
2033
+ e.readonly || (y.props.readonly ?? !1) || (y.props.modelValue = E, n("field-change", y));
2029
2034
  }
2030
- return (y, D) => (r(), p("div", {
2035
+ return (y, E) => (r(), p("div", {
2031
2036
  tabindex: "0",
2032
- class: C(["q-property-list", d.value]),
2037
+ class: V(["q-property-list", d.value]),
2033
2038
  ref_key: "componentRoot",
2034
2039
  ref: i,
2035
- onFocusout: f
2040
+ onFocusout: c
2036
2041
  }, [
2037
- L("table", nn, [
2038
- ln,
2039
- L("tbody", null, [
2040
- (r(!0), p(K, null, he(a.value, (O) => (r(), p(K, {
2041
- key: O.id
2042
+ I("table", on, [
2043
+ E[0] || (E[0] = I("thead", { class: "q-property-list__header" }, [
2044
+ I("tr", null, [
2045
+ I("th", { colspan: "2" })
2046
+ ])
2047
+ ], -1)),
2048
+ I("tbody", null, [
2049
+ (r(!0), p(K, null, he(a.value, (M) => (r(), p(K, {
2050
+ key: M.id
2042
2051
  }, [
2043
- O.title ? (r(), S(m(rt), {
2052
+ M.title ? (r(), S(m(rt), {
2044
2053
  key: 0,
2045
- id: O.id,
2046
- title: O.title,
2047
- internals: e.internals,
2054
+ id: M.id,
2055
+ title: M.title,
2056
+ icons: e.icons,
2048
2057
  "no-toggle": e.noToggle,
2049
- onToggleGroup: I
2050
- }, null, 8, ["id", "title", "internals", "no-toggle"])) : x("", !0),
2051
- (r(!0), p(K, null, he($(O.id), (P) => (r(), S(m(it), {
2052
- key: P.id,
2053
- class: C(M(P)),
2054
- field: P,
2058
+ onToggleGroup: L
2059
+ }, null, 8, ["id", "title", "icons", "no-toggle"])) : q("", !0),
2060
+ (r(!0), p(K, null, he(w(M.id), (Q) => (r(), S(m(it), {
2061
+ key: Q.id,
2062
+ class: V(P(Q)),
2063
+ field: Q,
2055
2064
  readonly: e.readonly,
2056
2065
  onFocus: A,
2057
- onFieldChange: V
2066
+ onFieldChange: T
2058
2067
  }, {
2059
2068
  default: _(() => [
2060
- h(y.$slots, P.id, { field: P })
2069
+ h(y.$slots, Q.id, { field: Q })
2061
2070
  ]),
2062
2071
  _: 2
2063
2072
  }, 1032, ["class", "field", "readonly"]))), 128))
2064
2073
  ], 64))), 128))
2065
2074
  ])
2066
2075
  ]),
2067
- e.noPanel ? x("", !0) : (r(), S(m(dt), {
2076
+ e.noPanel ? q("", !0) : (r(), S(m(dt), {
2068
2077
  key: 0,
2069
- internals: e.internals,
2070
- field: s.value
2078
+ field: s.value,
2079
+ texts: e.texts
2071
2080
  }, {
2072
2081
  default: _(() => [
2073
2082
  s.value ? h(y.$slots, "panel", {
2074
2083
  key: 0,
2075
2084
  field: s.value
2076
- }) : x("", !0)
2085
+ }) : q("", !0)
2077
2086
  ]),
2078
2087
  _: 3
2079
- }, 8, ["internals", "field"]))
2088
+ }, 8, ["field", "texts"]))
2080
2089
  ], 34));
2081
2090
  }
2082
- }), an = { class: "q-property-list-field__container" }, rn = /* @__PURE__ */ B({
2091
+ }), ln = {
2092
+ key: 0,
2093
+ class: "q-property-list-field__container"
2094
+ }, sn = /* @__PURE__ */ B({
2083
2095
  __name: "QPropertyListRow",
2084
2096
  props: {
2085
2097
  field: {},
@@ -2088,60 +2100,56 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2088
2100
  },
2089
2101
  emits: ["focus", "field-change"],
2090
2102
  setup(o, { emit: t }) {
2091
- const e = o, n = t, l = b(() => ["q-property-list__row", e.class]), s = b(() => {
2092
- var I;
2093
- const $ = ["q-property-list__cell", "q-property-list__cell--label"];
2094
- return (I = e.field.props) != null && I.required && $.push("q-property-list__cell--required"), $;
2095
- }), i = b(() => e.readonly || (e.field.props.readonly ?? !1));
2103
+ const e = o, n = t, l = g(() => ["q-property-list__row", e.class]), s = g(() => {
2104
+ var L;
2105
+ const w = ["q-property-list__cell", "q-property-list__cell--label"];
2106
+ return (L = e.field.props) != null && L.required && w.push("q-property-list__cell--required"), w;
2107
+ }), i = g(() => e.readonly || (e.field.props.readonly ?? !1));
2096
2108
  function a() {
2097
2109
  n("focus", e.field);
2098
2110
  }
2099
- function d($) {
2100
- n("field-change", e.field, $);
2111
+ function d(w) {
2112
+ n("field-change", e.field, w);
2101
2113
  }
2102
- const f = b(() => ({
2114
+ const c = g(() => ({
2103
2115
  ...e.field.props,
2104
2116
  readonly: i.value
2105
2117
  }));
2106
- return ($, I) => (r(), p("tr", {
2107
- class: C(l.value),
2118
+ return (w, L) => (r(), p("tr", {
2119
+ class: V(l.value),
2108
2120
  onFocusin: a
2109
2121
  }, [
2110
- L("td", {
2111
- class: C(s.value),
2122
+ I("td", {
2123
+ class: V(s.value),
2112
2124
  onClick: a
2113
- }, z(e.field.label), 3),
2114
- L("td", {
2125
+ }, O(e.field.label), 3),
2126
+ I("td", {
2115
2127
  class: "q-property-list__cell",
2116
2128
  onClick: a
2117
2129
  }, [
2118
- h($.$slots, "default", {}, () => [
2119
- L("div", an, [
2120
- (r(), S(Be(e.field.component), ie(f.value, {
2130
+ h(w.$slots, "default", {}, () => [
2131
+ e.field.component ? (r(), p("div", ln, [
2132
+ (r(), S(Be(e.field.component), J(c.value, {
2121
2133
  "model-value": e.field.props.modelValue,
2122
2134
  "onUpdate:modelValue": d
2123
2135
  }), null, 16, ["model-value"]))
2124
- ])
2136
+ ])) : q("", !0)
2125
2137
  ])
2126
2138
  ])
2127
2139
  ], 34));
2128
2140
  }
2129
- }), dn = ["data-key", "aria-labelledby"], cn = ["id"], un = { class: "q-property-list-group__content" }, fn = /* @__PURE__ */ B({
2141
+ }), an = ["data-key", "aria-labelledby"], rn = ["id"], dn = { class: "q-property-list-group__content" }, un = /* @__PURE__ */ B({
2130
2142
  __name: "QPropertyListGroup",
2131
2143
  props: {
2132
2144
  id: {},
2133
2145
  title: {},
2134
2146
  noToggle: { type: Boolean, default: !1 },
2135
- internals: { default: () => ({
2136
- icons: De,
2137
- texts: Ee
2138
- }) }
2147
+ icons: { default: () => at },
2148
+ texts: {}
2139
2149
  },
2140
2150
  emits: ["toggle-group"],
2141
2151
  setup(o, { emit: t }) {
2142
- const e = o, n = t, l = E(!0), s = fe(), i = b(
2143
- () => l.value ? e.internals.icons.open : e.internals.icons.close
2144
- ), a = b(() => [
2152
+ const e = o, n = t, l = D(!0), s = fe(), i = g(() => l.value ? e.icons.open : e.icons.close), a = g(() => [
2145
2153
  "q-property-list-group",
2146
2154
  {
2147
2155
  "q-property-list-group--no-toggle": e.noToggle
@@ -2150,74 +2158,75 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2150
2158
  function d() {
2151
2159
  e.noToggle || (l.value = !l.value, n("toggle-group", e.id));
2152
2160
  }
2153
- return (f, $) => (r(), p("tr", {
2154
- class: C(a.value),
2161
+ return (c, w) => (r(), p("tr", {
2162
+ class: V(a.value),
2155
2163
  role: "group",
2156
2164
  "data-key": e.id,
2157
2165
  "aria-labelledby": m(s),
2158
2166
  onClick: d
2159
2167
  }, [
2160
- L("td", {
2168
+ I("td", {
2161
2169
  id: m(s),
2162
2170
  colspan: "2"
2163
2171
  }, [
2164
- L("div", un, [
2165
- e.noToggle ? x("", !0) : (r(), S(m(re), {
2172
+ I("div", dn, [
2173
+ e.noToggle ? q("", !0) : (r(), S(m(re), {
2166
2174
  key: 0,
2167
2175
  "b-style": "tertiary",
2168
2176
  borderless: "",
2169
2177
  onClick: d
2170
2178
  }, {
2171
2179
  default: _(() => [
2172
- F(m(N), j(ne(i.value)), null, 16)
2180
+ z(m(N), j(le(i.value)), null, 16)
2173
2181
  ]),
2174
2182
  _: 1
2175
2183
  })),
2176
- ue(" " + z(e.title), 1)
2184
+ ce(" " + O(e.title), 1)
2177
2185
  ])
2178
- ], 8, cn)
2179
- ], 10, dn));
2186
+ ], 8, rn)
2187
+ ], 10, an));
2180
2188
  }
2181
- }), pn = { class: "q-property-list-panel__container" }, mn = { class: "q-property-list-panel__label" }, vn = { class: "q-property-list-panel__description" }, hn = {
2189
+ }), cn = { class: "q-property-list-panel__container" }, fn = { class: "q-property-list-panel__label" }, pn = { class: "q-property-list-panel__description" }, mn = {
2182
2190
  key: 1,
2183
2191
  class: "q-property-list-panel__empty"
2184
- }, yn = /* @__PURE__ */ B({
2192
+ }, vn = /* @__PURE__ */ B({
2185
2193
  __name: "QPropertyListPanel",
2186
2194
  props: {
2187
2195
  field: { default: void 0 },
2188
- internals: { default: () => ({
2189
- icons: De,
2190
- texts: Ee
2191
- }) }
2196
+ icons: {},
2197
+ texts: { default: () => st }
2192
2198
  },
2193
2199
  setup(o) {
2194
2200
  const t = o;
2195
- return (e, n) => (r(), p("div", pn, [
2201
+ return (e, n) => (r(), p("div", cn, [
2196
2202
  t.field ? h(e.$slots, "default", { key: 0 }, () => [
2197
- L("div", mn, z(t.field.label), 1),
2198
- L("div", vn, z(t.field.description), 1)
2199
- ]) : (r(), p("div", hn, z(t.internals.texts.emptyMessage), 1))
2203
+ I("div", fn, O(t.field.label), 1),
2204
+ I("div", pn, O(t.field.description), 1)
2205
+ ]) : (r(), p("div", mn, O(t.texts.emptyMessage), 1))
2200
2206
  ]));
2201
2207
  }
2202
- }), gn = T(sn), it = T(rn), rt = T(fn), dt = T(yn), bn = {
2203
- placeholder: "Choose..."
2204
- }, _n = {
2208
+ }), hn = C(nn), it = C(sn), rt = C(un), dt = C(vn), yn = {
2209
+ placeholder: "Choose...",
2210
+ clearValue: "Clear value",
2211
+ showOptions: "Show options"
2212
+ }, bn = {
2205
2213
  chevron: {
2206
2214
  icon: "chevron-down"
2207
2215
  },
2208
2216
  clear: {
2209
2217
  icon: "close"
2210
2218
  }
2211
- }, kn = {
2219
+ }, gn = {
2212
2220
  key: 0,
2213
2221
  class: "q-select__value"
2214
- }, $n = {
2222
+ }, _n = {
2215
2223
  key: 1,
2216
2224
  class: "q-select__placeholder"
2217
- }, wn = ["data-key"], qn = {
2225
+ }, kn = ["data-key"], wn = {
2218
2226
  key: 0,
2219
2227
  class: "q-select__loader"
2220
- }, xn = /* @__PURE__ */ B({
2228
+ }, $n = /* @__PURE__ */ B({
2229
+ inheritAttrs: !1,
2221
2230
  __name: "QSelect",
2222
2231
  props: /* @__PURE__ */ Z({
2223
2232
  id: { default: void 0 },
@@ -2234,7 +2243,8 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2234
2243
  emptyValue: { type: [String, Number, Boolean, Symbol], default: void 0 },
2235
2244
  size: { default: void 0 },
2236
2245
  class: { default: "" },
2237
- internals: { default: () => ({ icons: _n, texts: bn }) }
2246
+ icons: { default: () => bn },
2247
+ texts: { default: () => yn }
2238
2248
  }, {
2239
2249
  modelValue: {
2240
2250
  type: [String, Number, Boolean, Symbol]
@@ -2243,79 +2253,79 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2243
2253
  }),
2244
2254
  emits: /* @__PURE__ */ Z(["before-show", "before-hide", "show", "hide"], ["update:modelValue"]),
2245
2255
  setup(o, { emit: t }) {
2246
- const e = o, n = t, l = oe(o, "modelValue"), s = E(!1), i = E(""), a = E(null), d = E(null), f = E(null), $ = b(() => I.value === void 0), I = b(
2256
+ const e = o, n = t, l = ne(o, "modelValue"), s = D(!1), i = D(""), a = D(null), d = D(null), c = D(null), w = g(() => L.value === void 0), L = g(
2247
2257
  () => {
2248
- var u;
2249
- return (u = e.items) == null ? void 0 : u.find((g) => g[e.itemValue] === l.value);
2258
+ var f;
2259
+ return (f = e.items) == null ? void 0 : f.find((b) => b[e.itemValue] === l.value);
2250
2260
  }
2251
- ), M = b(
2252
- () => I.value ? I.value[e.itemLabel] : ""
2253
- ), A = b(
2261
+ ), P = g(
2262
+ () => L.value ? L.value[e.itemLabel] : ""
2263
+ ), A = g(
2254
2264
  () => e.clearable && !e.readonly && !e.disabled && !e.loading
2255
2265
  );
2256
- function V(u) {
2257
- l.value = u, P();
2266
+ function T(f) {
2267
+ l.value = f, Q();
2258
2268
  }
2259
2269
  function y() {
2260
- A.value && (V(e.emptyValue), Y());
2270
+ A.value && (T(e.emptyValue), Y());
2261
2271
  }
2262
- function D(u) {
2263
- var g, G, ae;
2264
- !((g = f.value) != null && g.contains(u.relatedTarget)) && !((ae = (G = a.value) == null ? void 0 : G.fieldRef) != null && ae.contains(u.relatedTarget)) && P();
2272
+ function E(f) {
2273
+ var b, G, ie;
2274
+ !((b = c.value) != null && b.contains(f.relatedTarget)) && !((ie = (G = a.value) == null ? void 0 : G.fieldRef) != null && ie.contains(f.relatedTarget)) && Q();
2265
2275
  }
2266
- function O() {
2276
+ function M() {
2267
2277
  s.value || (n("before-show"), s.value = !0);
2268
2278
  }
2269
- function P() {
2279
+ function Q() {
2270
2280
  s.value && (n("before-hide"), s.value = !1);
2271
2281
  }
2272
2282
  function H() {
2273
- e.readonly || e.disabled || (s.value ? P() : O());
2274
- }
2275
- let le;
2276
- function W(u) {
2277
- if (!(!u.key || e.readonly || e.disabled)) {
2278
- if (window.clearTimeout(le), ["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(u.key) && (u.preventDefault(), u.stopPropagation()), ["Enter", " "].includes(u.key) && (s.value = !0), ["Escape", "Tab"].includes(u.key) && (s.value ? s.value = !1 : A.value && u.key === "Escape" && y()), u.key === "Delete" && e.clearable && y(), /^[a-z]$/i.test(u.key)) {
2279
- i.value += u.key.toLowerCase();
2280
- for (let g = 0; g < e.items.length; g++)
2281
- if (e.items[g][e.itemLabel].toLowerCase().startsWith(i.value)) {
2282
- w(g);
2283
+ e.readonly || e.disabled || (s.value ? Q() : M());
2284
+ }
2285
+ let se;
2286
+ function W(f) {
2287
+ if (!(!f.key || e.readonly || e.disabled)) {
2288
+ 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)) {
2289
+ i.value += f.key.toLowerCase();
2290
+ for (let b = 0; b < e.items.length; b++)
2291
+ if (e.items[b][e.itemLabel].toLowerCase().startsWith(i.value)) {
2292
+ $(b);
2283
2293
  break;
2284
2294
  }
2285
2295
  }
2286
- le = window.setTimeout(function() {
2296
+ se = window.setTimeout(function() {
2287
2297
  i.value = "";
2288
2298
  }, 500);
2289
2299
  }
2290
2300
  }
2291
- function se() {
2292
- var u;
2293
- e.loading ? (u = f.value) == null || u.focus() : v(), n("show");
2301
+ function ae() {
2302
+ var f;
2303
+ e.loading ? (f = c.value) == null || f.focus() : v(), n("show");
2294
2304
  }
2295
2305
  function U() {
2296
2306
  Y(), n("hide");
2297
2307
  }
2298
2308
  function Y() {
2299
- var u, g;
2300
- (g = (u = a.value) == null ? void 0 : u.fieldRef) == null || g.focus();
2309
+ var f, b;
2310
+ (b = (f = a.value) == null ? void 0 : f.fieldRef) == null || b.focus();
2301
2311
  }
2302
2312
  function v() {
2303
- var u;
2304
- (u = d.value) == null || u.$el.focus();
2313
+ var f;
2314
+ (f = d.value) == null || f.$el.focus();
2305
2315
  }
2306
- function w(u) {
2307
- var g;
2308
- (g = d.value) == null || g.focusItem(u);
2316
+ function $(f) {
2317
+ var b;
2318
+ (b = d.value) == null || b.focusItem(f);
2309
2319
  }
2310
- return ee(
2320
+ return te(
2311
2321
  () => e.loading,
2312
- (u) => {
2313
- !u && s.value && te(v);
2322
+ (f) => {
2323
+ !f && s.value && oe(v);
2314
2324
  }
2315
- ), (u, g) => {
2316
- var G, ae;
2325
+ ), (f, b) => {
2326
+ var G, ie;
2317
2327
  return r(), p(K, null, [
2318
- F(m(Le), {
2328
+ z(m(Le), J({
2319
2329
  id: e.id,
2320
2330
  label: e.label,
2321
2331
  required: e.required,
@@ -2323,7 +2333,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2323
2333
  ref: a,
2324
2334
  role: "combobox",
2325
2335
  tabindex: e.disabled ? -1 : 0,
2326
- class: C([
2336
+ class: [
2327
2337
  "q-select",
2328
2338
  {
2329
2339
  "q-select--readonly": e.readonly,
@@ -2331,34 +2341,37 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2331
2341
  "q-select--expanded": s.value
2332
2342
  },
2333
2343
  e.class
2334
- ]),
2344
+ ],
2335
2345
  readonly: e.readonly,
2336
2346
  disabled: e.disabled,
2337
2347
  "data-loading": e.loading,
2338
2348
  "aria-expanded": s.value,
2339
2349
  "aria-haspopup": "listbox",
2340
- size: e.size,
2350
+ size: e.size
2351
+ }, f.$attrs, {
2341
2352
  onClick: H,
2342
2353
  onKeydown: ve(W, ["stop"])
2343
- }, qe({
2354
+ }), qe({
2344
2355
  append: _(() => [
2345
- h(u.$slots, "append"),
2356
+ h(f.$slots, "append"),
2346
2357
  A.value && l.value ? (r(), S(m(re), {
2347
2358
  key: 0,
2348
2359
  class: "q-select__clear",
2360
+ "aria-label": e.texts.clearValue,
2349
2361
  "b-style": "plain",
2350
2362
  borderless: "",
2351
2363
  tabindex: "-1",
2352
2364
  onClick: y
2353
2365
  }, {
2354
2366
  default: _(() => [
2355
- F(m(N), j(ne(e.internals.icons.clear)), null, 16)
2367
+ z(m(N), j(le(e.icons.clear)), null, 16)
2356
2368
  ]),
2357
2369
  _: 1
2358
- })) : x("", !0),
2359
- e.readonly ? x("", !0) : (r(), S(m(re), {
2370
+ }, 8, ["aria-label"])) : q("", !0),
2371
+ e.readonly ? q("", !0) : (r(), S(m(re), {
2360
2372
  key: 1,
2361
2373
  class: "q-select__chevron",
2374
+ "aria-label": e.texts.showOptions,
2362
2375
  "b-style": "plain",
2363
2376
  borderless: "",
2364
2377
  tabindex: "-1",
@@ -2366,66 +2379,66 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2366
2379
  onClick: H
2367
2380
  }, {
2368
2381
  default: _(() => [
2369
- F(m(N), j(ne(e.internals.icons.chevron)), null, 16)
2382
+ z(m(N), j(le(e.icons.chevron)), null, 16)
2370
2383
  ]),
2371
2384
  _: 1
2372
- }, 8, ["disabled"]))
2385
+ }, 8, ["aria-label", "disabled"]))
2373
2386
  ]),
2374
2387
  default: _(() => [
2375
- $.value ? (r(), p("span", $n, [
2388
+ w.value ? (r(), p("span", _n, [
2376
2389
  !e.readonly && !e.disabled ? (r(), p(K, { key: 0 }, [
2377
- ue(z(u.internals.texts.placeholder), 1)
2378
- ], 64)) : x("", !0)
2379
- ])) : (r(), p("span", kn, z(M.value), 1))
2390
+ ce(O(e.texts.placeholder), 1)
2391
+ ], 64)) : q("", !0)
2392
+ ])) : (r(), p("span", gn, O(P.value), 1))
2380
2393
  ]),
2381
2394
  _: 2
2382
2395
  }, [
2383
- (G = I.value) != null && G.icon || u.$slots.prepend ? {
2396
+ (G = L.value) != null && G.icon || f.$slots.prepend ? {
2384
2397
  name: "prepend",
2385
2398
  fn: _(() => {
2386
- var J, de;
2399
+ var ee, de;
2387
2400
  return [
2388
- h(u.$slots, "prepend"),
2389
- (J = I.value) != null && J.icon ? (r(), S(m(N), j(ie({ key: 0 }, (de = I.value) == null ? void 0 : de.icon)), null, 16)) : x("", !0)
2401
+ h(f.$slots, "prepend"),
2402
+ (ee = L.value) != null && ee.icon ? (r(), S(m(N), j(J({ key: 0 }, (de = L.value) == null ? void 0 : de.icon)), null, 16)) : q("", !0)
2390
2403
  ];
2391
2404
  }),
2392
2405
  key: "0"
2393
2406
  } : void 0,
2394
- u.$slots.extras ? {
2407
+ f.$slots.extras ? {
2395
2408
  name: "extras",
2396
2409
  fn: _(() => [
2397
- h(u.$slots, "extras")
2410
+ h(f.$slots, "extras")
2398
2411
  ]),
2399
2412
  key: "1"
2400
2413
  } : void 0
2401
- ]), 1032, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
2402
- F(m(ye), {
2414
+ ]), 1040, ["id", "label", "required", "tabindex", "class", "readonly", "disabled", "data-loading", "aria-expanded", "size"]),
2415
+ z(m(ye), {
2403
2416
  modelValue: s.value,
2404
- "onUpdate:modelValue": g[0] || (g[0] = (J) => s.value = J),
2417
+ "onUpdate:modelValue": b[0] || (b[0] = (ee) => s.value = ee),
2405
2418
  spy: "",
2406
2419
  trigger: "manual",
2407
2420
  placement: "bottom-start",
2408
2421
  width: "anchor",
2409
2422
  "scroll-lock": "",
2410
- anchor: (ae = a.value) == null ? void 0 : ae.$el,
2423
+ anchor: (ie = a.value) == null ? void 0 : ie.$el,
2411
2424
  offset: 2,
2412
- onEnter: se,
2425
+ onEnter: ae,
2413
2426
  onLeave: U
2414
2427
  }, {
2415
2428
  default: _(() => [
2416
- L("div", {
2429
+ I("div", {
2417
2430
  ref_key: "contentRef",
2418
- ref: f,
2431
+ ref: c,
2419
2432
  "data-testid": "combobox-dropdown",
2420
2433
  "data-key": e.id,
2421
2434
  class: "q-select__body",
2422
2435
  tabindex: "-1",
2423
- onFocusout: D,
2436
+ onFocusout: E,
2424
2437
  onKeydown: ve(W, ["stop"])
2425
2438
  }, [
2426
- h(u.$slots, "body.prepend"),
2427
- e.loading ? (r(), p("div", qn, [
2428
- F(m(xe), { size: 24 })
2439
+ h(f.$slots, "body.prepend"),
2440
+ e.loading ? (r(), p("div", wn, [
2441
+ z(m(xe), { size: 24 })
2429
2442
  ])) : (r(), S(m(Ve), {
2430
2443
  key: 1,
2431
2444
  ref_key: "listRef",
@@ -2434,27 +2447,25 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2434
2447
  selectable: "",
2435
2448
  "model-value": l.value,
2436
2449
  items: e.items,
2437
- groups: u.groups,
2450
+ groups: f.groups,
2438
2451
  "item-label": e.itemLabel,
2439
2452
  "item-value": e.itemValue,
2440
- "onUpdate:modelValue": V
2453
+ "onUpdate:modelValue": T
2441
2454
  }, {
2442
- item: _(({ item: J }) => [
2443
- h(u.$slots, "item", { item: J })
2455
+ item: _(({ item: ee }) => [
2456
+ h(f.$slots, "item", { item: ee })
2444
2457
  ]),
2445
2458
  _: 3
2446
2459
  }, 8, ["model-value", "items", "groups", "item-label", "item-value"])),
2447
- h(u.$slots, "body.append")
2448
- ], 40, wn)
2460
+ h(f.$slots, "body.append")
2461
+ ], 40, kn)
2449
2462
  ]),
2450
2463
  _: 3
2451
2464
  }, 8, ["modelValue", "anchor"])
2452
2465
  ], 64);
2453
2466
  };
2454
2467
  }
2455
- }), Ln = T(xn), In = /* @__PURE__ */ L("div", { class: "q-skeleton-loader__bone" }, null, -1), Sn = [
2456
- In
2457
- ], Bn = /* @__PURE__ */ B({
2468
+ }), qn = C($n), xn = /* @__PURE__ */ B({
2458
2469
  __name: "QSkeletonLoader",
2459
2470
  props: {
2460
2471
  type: { default: void 0 },
@@ -2462,7 +2473,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2462
2473
  height: { default: void 0 }
2463
2474
  },
2464
2475
  setup(o) {
2465
- const t = o, e = b(() => t.type ? `q-skeleton-loader--${t.type}` : void 0), n = b(() => {
2476
+ const t = o, e = g(() => t.type ? `q-skeleton-loader--${t.type}` : void 0), n = g(() => {
2466
2477
  const l = typeof t.width == "number" ? `${t.width}px` : t.width, s = typeof t.height == "number" ? `${t.height}px` : t.height;
2467
2478
  return {
2468
2479
  width: l,
@@ -2470,11 +2481,13 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2470
2481
  };
2471
2482
  });
2472
2483
  return (l, s) => (r(), p("div", {
2473
- class: C(["q-skeleton-loader", e.value]),
2474
- style: ce(n.value)
2475
- }, Sn, 6));
2484
+ class: V(["q-skeleton-loader", e.value]),
2485
+ style: ue(n.value)
2486
+ }, s[0] || (s[0] = [
2487
+ I("div", { class: "q-skeleton-loader__bone" }, null, -1)
2488
+ ]), 6));
2476
2489
  }
2477
- }), Cn = T(Bn), Tn = /* @__PURE__ */ B({
2490
+ }), Ln = C(xn), In = /* @__PURE__ */ B({
2478
2491
  __name: "QThemeProvider",
2479
2492
  props: {
2480
2493
  theme: {}
@@ -2482,16 +2495,16 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2482
2495
  setup(o) {
2483
2496
  const t = o;
2484
2497
  return (e, n) => (r(), p("div", {
2485
- class: C(["q-theme-provider", `q-theme--${t.theme}`])
2498
+ class: V(["q-theme-provider", `q-theme--${t.theme}`])
2486
2499
  }, [
2487
2500
  h(e.$slots, "default")
2488
2501
  ], 2));
2489
2502
  }
2490
- }), Vn = T(Tn), En = ["innerHTML"], Dn = /* @__PURE__ */ B({
2503
+ }), Sn = C(In), Bn = ["innerHTML"], Cn = /* @__PURE__ */ B({
2491
2504
  __name: "QTooltip",
2492
2505
  props: /* @__PURE__ */ Z({
2493
2506
  id: { default: void 0 },
2494
- anchor: {},
2507
+ anchor: { default: void 0 },
2495
2508
  appearance: { default: "inverted" },
2496
2509
  arrow: { type: Boolean, default: !0 },
2497
2510
  attach: { default: "body" },
@@ -2510,12 +2523,12 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2510
2523
  }),
2511
2524
  emits: ["update:modelValue"],
2512
2525
  setup(o) {
2513
- const t = o, e = oe(o, "modelValue"), n = fe(t.id);
2526
+ const t = o, e = ne(o, "modelValue"), n = fe(t.id);
2514
2527
  return (l, s) => (r(), p(K, null, [
2515
2528
  h(l.$slots, "anchor", {
2516
2529
  props: { "aria-describedby": m(n) }
2517
2530
  }),
2518
- F(m(ye), {
2531
+ z(m(ye), {
2519
2532
  "model-value": e.value,
2520
2533
  anchor: t.anchor,
2521
2534
  role: "tooltip",
@@ -2525,7 +2538,7 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2525
2538
  arrow: t.arrow,
2526
2539
  attach: t.attach,
2527
2540
  inline: t.inline,
2528
- class: C(["q-tooltip", t.class]),
2541
+ class: V(["q-tooltip", t.class]),
2529
2542
  delay: t.delay,
2530
2543
  disabled: t.disabled,
2531
2544
  placement: t.placement,
@@ -2533,12 +2546,12 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2533
2546
  }, {
2534
2547
  default: _(() => [
2535
2548
  h(l.$slots, "default", {}, () => [
2536
- t.icon ? (r(), S(m(N), j(ie({ key: 0 }, t.icon)), null, 16)) : x("", !0),
2549
+ t.icon ? (r(), S(m(N), j(J({ key: 0 }, t.icon)), null, 16)) : q("", !0),
2537
2550
  t.html ? (r(), p("span", {
2538
2551
  key: 1,
2539
2552
  innerHTML: t.text
2540
- }, null, 8, En)) : (r(), p(K, { key: 2 }, [
2541
- ue(z(t.text), 1)
2553
+ }, null, 8, Bn)) : (r(), p(K, { key: 2 }, [
2554
+ ce(O(t.text), 1)
2542
2555
  ], 64))
2543
2556
  ])
2544
2557
  ]),
@@ -2546,57 +2559,57 @@ const fo = ["role"], po = /* @__PURE__ */ B({
2546
2559
  }, 8, ["model-value", "anchor", "id", "appearance", "arrow", "attach", "inline", "class", "delay", "disabled", "placement", "trigger"])
2547
2560
  ], 64));
2548
2561
  }
2549
- }), An = T(Dn), Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2562
+ }), Tn = C(Cn), Vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2550
2563
  __proto__: null,
2551
- QBadge: Mt,
2564
+ QBadge: zt,
2552
2565
  QButton: re,
2553
- QButtonGroup: nt,
2554
- QButtonToggle: Ut,
2555
- QCombobox: Bo,
2556
- QDialog: Uo,
2566
+ QButtonGroup: tt,
2567
+ QButtonToggle: Pt,
2568
+ QCombobox: So,
2569
+ QDialog: Po,
2557
2570
  QField: Le,
2558
2571
  QIcon: N,
2559
- QIconFont: Je,
2560
- QIconImg: et,
2561
- QIconSvg: tt,
2562
- QInputGroup: jo,
2563
- QLineLoader: Xo,
2572
+ QIconFont: Ye,
2573
+ QIconImg: Ze,
2574
+ QIconSvg: Je,
2575
+ QInputGroup: Ko,
2576
+ QLineLoader: Wo,
2564
2577
  QList: Ve,
2565
- QListItem: lt,
2566
- QListItemGroup: st,
2578
+ QListItem: ot,
2579
+ QListItemGroup: nt,
2567
2580
  QOverlay: ye,
2568
- QPopover: on,
2569
- QPropertyList: gn,
2581
+ QPopover: tn,
2582
+ QPropertyList: hn,
2570
2583
  QPropertyListGroup: rt,
2571
2584
  QPropertyListPanel: dt,
2572
2585
  QPropertyListRow: it,
2573
- QSelect: Ln,
2574
- QSkeletonLoader: Cn,
2586
+ QSelect: qn,
2587
+ QSkeletonLoader: Ln,
2575
2588
  QSpinnerLoader: xe,
2576
- QTextField: at,
2577
- QThemeProvider: Vn,
2578
- QTooltip: An
2579
- }, Symbol.toStringTag, { value: "Module" })), be = "q-theme";
2580
- function Fn() {
2581
- const o = Ke(be);
2589
+ QTextField: lt,
2590
+ QThemeProvider: Sn,
2591
+ QTooltip: Tn
2592
+ }, Symbol.toStringTag, { value: "Module" })), ge = "q-theme";
2593
+ function En() {
2594
+ const o = Ge(ge);
2582
2595
  if (!o)
2583
2596
  throw new Error("[Quidgest UI] Could not find theme instance");
2584
2597
  return o;
2585
2598
  }
2586
- function Gn(o) {
2587
- const t = Fn(), e = {
2588
- activeTheme: E(o),
2599
+ function Pn(o) {
2600
+ const t = En(), e = {
2601
+ activeTheme: D(o),
2589
2602
  themes: t.themes
2590
2603
  };
2591
- return Re(be, e), e;
2604
+ return He(ge, e), e;
2592
2605
  }
2593
- function zn() {
2606
+ function Dn() {
2594
2607
  let o = document.getElementById(
2595
- be
2608
+ ge
2596
2609
  );
2597
- return o || (o = document.createElement("style"), o.id = be, document.head.appendChild(o)), o;
2610
+ return o || (o = document.createElement("style"), o.id = ge, document.head.appendChild(o)), o;
2598
2611
  }
2599
- function Mn(o) {
2612
+ function An(o) {
2600
2613
  let t = "";
2601
2614
  for (const n of o) {
2602
2615
  t += `.q-theme--${n.name} {
@@ -2606,32 +2619,32 @@ function Mn(o) {
2606
2619
  for (s in l) {
2607
2620
  const i = l[s];
2608
2621
  if (i) {
2609
- t += ` ${He(s)}: ${i};
2622
+ t += ` ${Ue(s)}: ${i};
2610
2623
  `;
2611
- const a = ot(i);
2612
- t += ` ${He(s)}-rgb: ${a.r} ${a.g} ${a.b};
2624
+ const a = et(i);
2625
+ t += ` ${Ue(s)}-rgb: ${a.r} ${a.g} ${a.b};
2613
2626
  `;
2614
2627
  }
2615
2628
  }
2616
2629
  t += `}
2617
2630
  `;
2618
2631
  }
2619
- const e = zn();
2632
+ const e = Dn();
2620
2633
  e.textContent = t;
2621
2634
  }
2622
- function He(o) {
2623
- return o ? `--q-theme-${Ze(o)}` : "";
2635
+ function Ue(o) {
2636
+ return o ? `--q-theme-${Xe(o)}` : "";
2624
2637
  }
2625
- function Pn(o = {}) {
2638
+ function Qn(o = {}) {
2626
2639
  return { install: (e) => {
2627
2640
  const n = o.components || {};
2628
2641
  for (const s in n)
2629
2642
  e.component(s, n[s]);
2630
2643
  const l = o.defaults || {};
2631
- e.provide(Te, E(l)), On(e, o.themes);
2644
+ e.provide(Te, D(l)), Fn(e, o.themes);
2632
2645
  } };
2633
2646
  }
2634
- function On(o, t) {
2647
+ function Fn(o, t) {
2635
2648
  const e = [];
2636
2649
  let n;
2637
2650
  if (!t)
@@ -2642,7 +2655,7 @@ function On(o, t) {
2642
2655
  });
2643
2656
  else
2644
2657
  for (const l of t.themes) {
2645
- const i = { ...l.mode === "light" ? Ie : We, ...l.colors };
2658
+ const i = { ...l.mode === "light" ? Ie : Ke, ...l.colors };
2646
2659
  e.push({
2647
2660
  name: l.name,
2648
2661
  mode: l.mode,
@@ -2651,21 +2664,21 @@ function On(o, t) {
2651
2664
  }
2652
2665
  if (n) {
2653
2666
  const l = {
2654
- activeTheme: E(n),
2667
+ activeTheme: D(n),
2655
2668
  themes: e
2656
2669
  };
2657
- Mn(e), ee(l.activeTheme, Un, { immediate: !0 }), o.provide(be, l);
2670
+ An(e), te(l.activeTheme, zn, { immediate: !0 }), o.provide(ge, l);
2658
2671
  }
2659
2672
  }
2660
- function Un(o) {
2673
+ function zn(o) {
2661
2674
  const t = document.documentElement, n = Array.from(t.classList).filter((l) => !l.startsWith("q-theme"));
2662
2675
  t.className = n.join(" "), t.classList.add(`q-theme--${o}`);
2663
2676
  }
2664
- const Rn = (o = {}) => Pn({ components: Qn, ...o });
2677
+ const Un = (o = {}) => Qn({ components: Vn, ...o });
2665
2678
  export {
2666
- Qn as components,
2667
- Rn as createFramework,
2668
- Gn as provideTheme,
2669
- Hn as templates,
2670
- Fn as useTheme
2679
+ Vn as components,
2680
+ Un as createFramework,
2681
+ Pn as provideTheme,
2682
+ On as templates,
2683
+ En as useTheme
2671
2684
  };