@quidgest/ui 0.14.5 → 0.14.7

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