@quidgest/ui 0.14.4 → 0.14.5

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