@verdnatura/vn-front-lib 0.0.7 → 0.0.8

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.
@@ -1,112 +1,110 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as w, Y as T, Z as E, _ as ee, a as te, at as D, b as O, c as ne, ct as k, d as A, et as re, f as j, g as ie, h as ae, i as oe, it as M, j as se, k as ce, l as le, lt as N, m as P, n as F, nt as I, o as ue, ot as de, p as fe, q as L, r as pe, rt as R, s as me, st as z, t as B, tt as he, u as ge, v as _e, w as ve, x as ye, y as be, z as xe } from "./components-DrW3NFA9.js";
2
- import { n as Se, t as Ce } from "./useRequired-CTxBp3qy.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, N as m, O as h, P as g, Q as _, R as v, S as y, T as b, U as x, V as S, W as C, X as ee, Y as w, Z as T, _ as E, a as te, at as ne, b as D, c as O, ct as k, d as re, et as A, f as ie, g as ae, h as j, i as oe, it as M, j as se, k as N, l as P, lt as F, m as I, n as L, nt as ce, o as le, ot as ue, p as R, q as de, r as fe, rt as z, s as pe, st as B, t as me, tt as he, u as ge, v as _e, w as ve, x as V, y as ye, z as be } from "./components-DyCtjyed.js";
2
+ import { n as xe, t as Se } from "./useRequired-CTxBp3qy.js";
3
3
  import "./composables.js";
4
- import { t as V } from "./utils-DEjhADAQ.js";
4
+ import { t as Ce } from "./utils-DEjhADAQ.js";
5
5
  import { Transition as we, computed as H, getCurrentInstance as Te, h as U, nextTick as W, onActivated as Ee, onBeforeMount as G, onBeforeUnmount as De, onBeforeUpdate as Oe, onDeactivated as K, onUpdated as ke, ref as q, watch as J } from "vue";
6
6
  //#region lib/utils/defaults/qInput.js
7
- V(pe, "dense", !0);
7
+ Ce(fe, "dense", !0);
8
8
  //#endregion
9
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/field/QField.js
10
- var Ae = C({
9
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/field/QField.js
10
+ var Ae = x({
11
11
  name: "QField",
12
12
  inheritAttrs: !1,
13
13
  props: {
14
- ...ge,
14
+ ...P,
15
15
  tag: {
16
16
  type: String,
17
17
  default: "label"
18
18
  }
19
19
  },
20
- emits: le,
20
+ emits: O,
21
21
  setup() {
22
- return ne(A({ tagProp: !0 }));
22
+ return re(ge({ tagProp: !0 }));
23
23
  }
24
24
  });
25
25
  //#endregion
26
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/throttle/throttle.js
26
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/throttle/throttle.js
27
27
  function je(e, t = 250) {
28
28
  let n = !1, r;
29
- return function(...i) {
30
- return n || (n = !0, setTimeout(() => {
29
+ return function() {
30
+ return n === !1 && (n = !0, setTimeout(() => {
31
31
  n = !1;
32
- }, t), r = e.apply(this, i)), r;
32
+ }, t), r = e.apply(this, arguments)), r;
33
33
  };
34
34
  }
35
35
  //#endregion
36
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/directives/ripple/Ripple.js
36
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/directives/ripple/Ripple.js
37
37
  function Me(e, t, n, r) {
38
- n.modifiers.stop && z(e);
39
- let i = n.modifiers.color, a = n.modifiers.center || r === !0, o = document.createElement("span"), s = document.createElement("span"), c = D(e), { left: u, top: d, width: f, height: p } = t.getBoundingClientRect(), m = Math.hypot(f, p), h = m / 2, g = `${(f - m) / 2}px`, _ = a ? g : `${c.left - u - h}px`, v = `${(p - m) / 2}px`, y = a ? v : `${c.top - d - h}px`;
40
- s.className = "q-ripple__inner", l(s, {
38
+ n.modifiers.stop === !0 && B(e);
39
+ let i = n.modifiers.color, a = n.modifiers.center;
40
+ a = a === !0 || r === !0;
41
+ let s = document.createElement("span"), c = document.createElement("span"), l = ne(e), { left: u, top: d, width: f, height: p } = t.getBoundingClientRect(), m = Math.sqrt(f * f + p * p), h = m / 2, g = `${(f - m) / 2}px`, _ = a ? g : `${l.left - u - h}px`, v = `${(p - m) / 2}px`, y = a ? v : `${l.top - d - h}px`;
42
+ c.className = "q-ripple__inner", o(c, {
41
43
  height: `${m}px`,
42
44
  width: `${m}px`,
43
45
  transform: `translate3d(${_},${y},0) scale3d(.2,.2,1)`,
44
46
  opacity: 0
45
- }), o.className = `q-ripple${i ? " text-" + i : ""}`, o.setAttribute("dir", "ltr"), o.append(s), t.append(o);
47
+ }), s.className = `q-ripple${i ? " text-" + i : ""}`, s.setAttribute("dir", "ltr"), s.appendChild(c), t.appendChild(s);
46
48
  let b = () => {
47
- o.remove(), clearTimeout(x);
49
+ s.remove(), clearTimeout(x);
48
50
  };
49
51
  n.abort.push(b);
50
52
  let x = setTimeout(() => {
51
- s.classList.add("q-ripple__inner--enter"), s.style.transform = `translate3d(${g},${v},0) scale3d(1,1,1)`, s.style.opacity = .2, x = setTimeout(() => {
52
- s.classList.remove("q-ripple__inner--enter"), s.classList.add("q-ripple__inner--leave"), s.style.opacity = 0, x = setTimeout(() => {
53
- o.remove(), n.abort.splice(n.abort.indexOf(b), 1);
53
+ c.classList.add("q-ripple__inner--enter"), c.style.transform = `translate3d(${g},${v},0) scale3d(1,1,1)`, c.style.opacity = .2, x = setTimeout(() => {
54
+ c.classList.remove("q-ripple__inner--enter"), c.classList.add("q-ripple__inner--leave"), c.style.opacity = 0, x = setTimeout(() => {
55
+ s.remove(), n.abort.splice(n.abort.indexOf(b), 1);
54
56
  }, 275);
55
57
  }, 250);
56
58
  }, 50);
57
59
  }
58
60
  function Ne(e, { modifiers: t, value: n, arg: r }) {
59
- let i = {
60
- ...e.cfg.ripple,
61
- ...t,
62
- ...n
63
- };
61
+ let i = Object.assign({}, e.cfg.ripple, t, n);
64
62
  e.modifiers = {
65
63
  early: i.early === !0,
66
64
  stop: i.stop === !0,
67
65
  center: i.center === !0,
68
66
  color: i.color || r,
69
- keyCodes: [i.keyCodes || 13].flat()
67
+ keyCodes: [].concat(i.keyCodes || 13)
70
68
  };
71
69
  }
72
- var Pe = s({
70
+ var Pe = C({
73
71
  name: "ripple",
74
- beforeMount(t, n) {
75
- let r = n.instance.$.appContext.config.globalProperties.$q.config || {};
76
- if (r.ripple === !1) return;
77
- let i = {
78
- cfg: r,
79
- enabled: n.value !== !1,
72
+ beforeMount(e, t) {
73
+ let n = t.instance.$.appContext.config.globalProperties.$q.config || {};
74
+ if (n.ripple === !1) return;
75
+ let r = {
76
+ cfg: n,
77
+ enabled: t.value !== !1,
80
78
  modifiers: {},
81
79
  abort: [],
82
- start(e) {
83
- i.enabled && !e.qSkipRipple && e.type === (i.modifiers.early ? "pointerdown" : "click") && Me(e, t, i, e.qKeyEvent === !0);
80
+ start(t) {
81
+ r.enabled === !0 && t.qSkipRipple !== !0 && t.type === (r.modifiers.early === !0 ? "pointerdown" : "click") && Me(t, e, r, t.qKeyEvent === !0);
84
82
  },
85
- keystart: je((n) => {
86
- i.enabled && !n.qSkipRipple && e(n, i.modifiers.keyCodes) && n.type === `key${i.modifiers.early ? "down" : "up"}` && Me(n, t, i, !0);
83
+ keystart: je((t) => {
84
+ r.enabled === !0 && t.qSkipRipple !== !0 && _(t, r.modifiers.keyCodes) === !0 && t.type === `key${r.modifiers.early === !0 ? "down" : "up"}` && Me(t, e, r, !0);
87
85
  }, 300)
88
86
  };
89
- Ne(i, n), t.__qripple = i, he(i, "main", [
87
+ Ne(r, t), e.__qripple = r, A(r, "main", [
90
88
  [
91
- t,
89
+ e,
92
90
  "pointerdown",
93
91
  "start",
94
92
  "passive"
95
93
  ],
96
94
  [
97
- t,
95
+ e,
98
96
  "click",
99
97
  "start",
100
98
  "passive"
101
99
  ],
102
100
  [
103
- t,
101
+ e,
104
102
  "keydown",
105
103
  "keystart",
106
104
  "passive"
107
105
  ],
108
106
  [
109
- t,
107
+ e,
110
108
  "keyup",
111
109
  "keystart",
112
110
  "passive"
@@ -116,32 +114,26 @@ var Pe = s({
116
114
  updated(e, t) {
117
115
  if (t.oldValue !== t.value) {
118
116
  let n = e.__qripple;
119
- n !== void 0 && (n.enabled = t.value !== !1, n.enabled && Object(t.value) === t.value && Ne(n, t));
117
+ n !== void 0 && (n.enabled = t.value !== !1, n.enabled === !0 && Object(t.value) === t.value && Ne(n, t));
120
118
  }
121
119
  },
122
120
  beforeUnmount(e) {
123
121
  let t = e.__qripple;
124
122
  t !== void 0 && (t.abort.forEach((e) => {
125
123
  e();
126
- }), I(t, "main"), delete e.__qripple);
124
+ }), he(t, "main"), delete e._qripple);
127
125
  }
128
- });
129
- //#endregion
130
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/chip/QChip.js
131
- function Fe(e) {
132
- e.keyCode === 32 && k(e);
133
- }
134
- var Ie = {
126
+ }), Fe = {
135
127
  xs: 8,
136
128
  sm: 10,
137
129
  md: 14,
138
130
  lg: 20,
139
131
  xl: 24
140
- }, Le = C({
132
+ }, Ie = x({
141
133
  name: "QChip",
142
134
  props: {
143
- ...P,
144
- ...ee,
135
+ ...R,
136
+ ...ae,
145
137
  dense: Boolean,
146
138
  icon: String,
147
139
  iconRight: String,
@@ -177,18 +169,14 @@ var Ie = {
177
169
  "click"
178
170
  ],
179
171
  setup(e, { slots: t, emit: n }) {
180
- let { proxy: { $q: r } } = Te(), i = fe(e, r), o = ie(e, Ie), s = H(() => e.selected || e.icon !== void 0), c = H(() => e.selected ? e.iconSelected || r.iconSet.chip.selected : e.icon), l = H(() => e.iconRemove || r.iconSet.chip.remove), u = H(() => !e.disable && (e.clickable || e.selected !== null)), d = H(() => {
181
- let t = e.outline && e.color || e.textColor;
182
- return "q-chip row inline no-wrap items-center" + (!e.outline && e.color !== void 0 ? ` bg-${e.color}` : "") + (t ? ` text-${t} q-chip--colored` : "") + (e.disable ? " disabled" : "") + (e.dense ? " q-chip--dense" : "") + (e.outline ? " q-chip--outline" : "") + (e.selected ? " q-chip--selected" : "") + (u.value ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square ? " q-chip--square" : "") + (i.value ? " q-chip--dark q-dark" : "");
172
+ let { proxy: { $q: r } } = Te(), i = I(e, r), o = E(e, Fe), s = H(() => e.selected === !0 || e.icon !== void 0), c = H(() => e.selected === !0 ? e.iconSelected || r.iconSet.chip.selected : e.icon), l = H(() => e.iconRemove || r.iconSet.chip.remove), u = H(() => e.disable === !1 && (e.clickable === !0 || e.selected !== null)), d = H(() => {
173
+ let t = e.outline === !0 && e.color || e.textColor;
174
+ return "q-chip row inline no-wrap items-center" + (e.outline === !1 && e.color !== void 0 ? ` bg-${e.color}` : "") + (t ? ` text-${t} q-chip--colored` : "") + (e.disable === !0 ? " disabled" : "") + (e.dense === !0 ? " q-chip--dense" : "") + (e.outline === !0 ? " q-chip--outline" : "") + (e.selected === !0 ? " q-chip--selected" : "") + (u.value === !0 ? " q-chip--clickable cursor-pointer non-selectable q-hoverable" : "") + (e.square === !0 ? " q-chip--square" : "") + (i.value === !0 ? " q-chip--dark q-dark" : "");
183
175
  }), f = H(() => {
184
- let t = e.disable ? {
176
+ let t = e.disable === !0 ? {
185
177
  tabindex: -1,
186
178
  "aria-disabled": "true"
187
- } : {
188
- tabindex: e.tabindex || 0,
189
- role: "button",
190
- "aria-pressed": e.selected ? "true" : "false"
191
- };
179
+ } : { tabindex: e.tabindex || 0 };
192
180
  return {
193
181
  chip: t,
194
182
  remove: {
@@ -200,53 +188,51 @@ var Ie = {
200
188
  };
201
189
  });
202
190
  function p(e) {
203
- [13, 32].includes(e.keyCode) && (m(e), k(e));
191
+ e.keyCode === 13 && m(e);
204
192
  }
205
193
  function m(t) {
206
194
  e.disable || (n("update:selected", !e.selected), n("click", t));
207
195
  }
208
196
  function h(t) {
209
- (t.keyCode === void 0 || [13, 32].includes(t.keyCode)) && (k(t), e.disable || (n("update:modelValue", !1), n("remove")));
197
+ (t.keyCode === void 0 || t.keyCode === 13) && (k(t), e.disable === !1 && (n("update:modelValue", !1), n("remove")));
210
198
  }
211
199
  function g() {
212
200
  let n = [];
213
- u.value && n.push(U("div", { class: "q-focus-helper" })), s.value && n.push(U(ae, {
201
+ u.value === !0 && n.push(U("div", { class: "q-focus-helper" })), s.value === !0 && n.push(U(j, {
214
202
  class: "q-chip__icon q-chip__icon--left",
215
203
  name: c.value
216
204
  }));
217
205
  let r = e.label === void 0 ? void 0 : [U("div", { class: "ellipsis" }, [e.label])];
218
- return n.push(U("div", { class: "q-chip__content col row no-wrap items-center q-anchor--skip" }, a(t.default, r))), e.iconRight && n.push(U(ae, {
206
+ return n.push(U("div", { class: "q-chip__content col row no-wrap items-center q-anchor--skip" }, a(t.default, r))), e.iconRight && n.push(U(j, {
219
207
  class: "q-chip__icon q-chip__icon--right",
220
208
  name: e.iconRight
221
- })), e.removable && n.push(U(ae, {
209
+ })), e.removable === !0 && n.push(U(j, {
222
210
  class: "q-chip__icon q-chip__icon--remove cursor-pointer",
223
211
  name: l.value,
224
212
  ...f.value.remove,
225
213
  onClick: h,
226
- onKeydown: Fe,
227
214
  onKeyup: h
228
215
  })), n;
229
216
  }
230
217
  return () => {
231
- if (!e.modelValue) return;
218
+ if (e.modelValue === !1) return;
232
219
  let t = {
233
220
  class: d.value,
234
221
  style: o.value
235
222
  };
236
- return u.value && Object.assign(t, f.value.chip, {
223
+ return u.value === !0 && Object.assign(t, f.value.chip, {
237
224
  onClick: m,
238
- onKeydown: Fe,
239
225
  onKeyup: p
240
- }), ve("div", t, g(), "ripple", e.ripple !== !1 && !e.disable, () => [[Pe, e.ripple]]);
226
+ }), ve("div", t, g(), "ripple", e.ripple !== !1 && e.disable !== !0, () => [[Pe, e.ripple]]);
241
227
  };
242
228
  }
243
229
  });
244
230
  //#endregion
245
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js
246
- function Re(e) {
231
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js
232
+ function Le(e) {
247
233
  return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
248
234
  }
249
- function Y(e, t) {
235
+ function Re(e, t) {
250
236
  return (e.aliasOf || e) === (t.aliasOf || t);
251
237
  }
252
238
  function ze(e, t) {
@@ -254,19 +240,19 @@ function ze(e, t) {
254
240
  let r = t[n], i = e[n];
255
241
  if (typeof r == "string") {
256
242
  if (r !== i) return !1;
257
- } else if (!Array.isArray(i) || i.length !== r.length || r.some((e, t) => e !== i[t])) return !1;
243
+ } else if (Array.isArray(i) === !1 || i.length !== r.length || r.some((e, t) => e !== i[t])) return !1;
258
244
  }
259
245
  return !0;
260
246
  }
261
247
  function Be(e, t) {
262
- return Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e.length === 1 && e[0] === t;
248
+ return Array.isArray(t) === !0 ? e.length === t.length && e.every((e, n) => e === t[n]) : e.length === 1 && e[0] === t;
263
249
  }
264
250
  function Ve(e, t) {
265
- return Array.isArray(e) ? Be(e, t) : Array.isArray(t) ? Be(t, e) : e === t;
251
+ return Array.isArray(e) === !0 ? Be(e, t) : Array.isArray(t) === !0 ? Be(t, e) : e === t;
266
252
  }
267
253
  function He(e, t) {
268
254
  if (Object.keys(e).length !== Object.keys(t).length) return !1;
269
- for (let n in e) if (!Ve(e[n], t[n])) return !1;
255
+ for (let n in e) if (Ve(e[n], t[n]) === !1) return !1;
270
256
  return !0;
271
257
  }
272
258
  var Ue = {
@@ -286,63 +272,63 @@ var Ue = {
286
272
  }
287
273
  };
288
274
  function We({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
289
- let n = Te(), { props: r, proxy: i, emit: a } = n, o = T(n), s = H(() => !r.disable && r.href !== void 0), c = H(t ? () => o && !r.disable && !s.value && r.to !== void 0 && r.to !== null && r.to !== "" : () => o && !s.value && r.to !== void 0 && r.to !== null && r.to !== ""), l = H(() => c.value ? v(r.to) : null), u = H(() => l.value !== null), d = H(() => s.value || u.value), f = H(() => r.type === "a" || d.value ? "a" : r.tag || e || "div"), p = H(() => s.value ? {
275
+ let n = Te(), { props: r, proxy: i, emit: a } = n, o = u(n), s = H(() => r.disable !== !0 && r.href !== void 0), c = H(t === !0 ? () => o === !0 && r.disable !== !0 && s.value !== !0 && r.to !== void 0 && r.to !== null && r.to !== "" : () => o === !0 && s.value !== !0 && r.to !== void 0 && r.to !== null && r.to !== ""), l = H(() => c.value === !0 ? y(r.to) : null), d = H(() => l.value !== null), f = H(() => s.value === !0 || d.value === !0), p = H(() => r.type === "a" || f.value === !0 ? "a" : r.tag || e || "div"), m = H(() => s.value === !0 ? {
290
276
  href: r.href,
291
277
  target: r.target
292
- } : u.value ? {
278
+ } : d.value === !0 ? {
293
279
  href: l.value.href,
294
280
  target: r.target
295
- } : {}), m = H(() => {
296
- if (!u.value) return -1;
281
+ } : {}), h = H(() => {
282
+ if (d.value === !1) return -1;
297
283
  let { matched: e } = l.value, { length: t } = e, n = e[t - 1];
298
284
  if (n === void 0) return -1;
299
285
  let r = i.$route.matched;
300
286
  if (r.length === 0) return -1;
301
- let a = r.findIndex(Y.bind(null, n));
287
+ let a = r.findIndex(Re.bind(null, n));
302
288
  if (a !== -1) return a;
303
- let o = Re(e[t - 2]);
304
- return t > 1 && Re(n) === o && r.at(-1).path !== o ? r.findIndex(Y.bind(null, e[t - 2])) : a;
305
- }), h = H(() => u.value && m.value !== -1 && ze(i.$route.params, l.value.params)), g = H(() => h.value && m.value === i.$route.matched.length - 1 && He(i.$route.params, l.value.params)), _ = H(() => u.value ? g.value ? ` ${r.exactActiveClass} ${r.activeClass}` : r.exact ? "" : h.value ? ` ${r.activeClass}` : "" : "");
306
- function v(e) {
289
+ let o = Le(e[t - 2]);
290
+ return t > 1 && Le(n) === o && r[r.length - 1].path !== o ? r.findIndex(Re.bind(null, e[t - 2])) : a;
291
+ }), g = H(() => d.value === !0 && h.value !== -1 && ze(i.$route.params, l.value.params)), _ = H(() => g.value === !0 && h.value === i.$route.matched.length - 1 && He(i.$route.params, l.value.params)), v = H(() => d.value === !0 ? _.value === !0 ? ` ${r.exactActiveClass} ${r.activeClass}` : r.exact === !0 ? "" : g.value === !0 ? ` ${r.activeClass}` : "" : "");
292
+ function y(e) {
307
293
  try {
308
294
  return i.$router.resolve(e);
309
295
  } catch {}
310
296
  return null;
311
297
  }
312
- function y(e, { returnRouterError: t, to: n = r.to, replace: a = r.replace } = {}) {
313
- if (r.disable) return e.preventDefault(), Promise.resolve(!1);
298
+ function b(e, { returnRouterError: t, to: n = r.to, replace: a = r.replace } = {}) {
299
+ if (r.disable === !0) return e.preventDefault(), Promise.resolve(!1);
314
300
  if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey || e.button !== void 0 && e.button !== 0 || r.target === "_blank") return Promise.resolve(!1);
315
301
  e.preventDefault();
316
- let o = i.$router[a ? "replace" : "push"](n);
317
- return t ? o : o.then(() => {}).catch(() => {});
302
+ let o = i.$router[a === !0 ? "replace" : "push"](n);
303
+ return t === !0 ? o : o.then(() => {}).catch(() => {});
318
304
  }
319
- function b(e) {
320
- if (u.value) {
321
- let t = (t) => y(e, t);
322
- a("click", e, t), e.defaultPrevented || t();
305
+ function x(e) {
306
+ if (d.value === !0) {
307
+ let t = (t) => b(e, t);
308
+ a("click", e, t), e.defaultPrevented !== !0 && t();
323
309
  } else a("click", e);
324
310
  }
325
311
  return {
326
- hasRouterLink: u,
312
+ hasRouterLink: d,
327
313
  hasHrefLink: s,
328
- hasLink: d,
329
- linkTag: f,
314
+ hasLink: f,
315
+ linkTag: p,
330
316
  resolvedLink: l,
331
- linkIsActive: h,
332
- linkIsExactActive: g,
333
- linkClass: _,
334
- linkAttrs: p,
335
- getLink: v,
336
- navigateToRouterLink: y,
337
- navigateOnClick: b
317
+ linkIsActive: g,
318
+ linkIsExactActive: _,
319
+ linkClass: v,
320
+ linkAttrs: m,
321
+ getLink: y,
322
+ navigateToRouterLink: b,
323
+ navigateOnClick: x
338
324
  };
339
325
  }
340
326
  //#endregion
341
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/item/QItem.js
342
- var Ge = C({
327
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/item/QItem.js
328
+ var Ge = x({
343
329
  name: "QItem",
344
330
  props: {
345
- ...P,
331
+ ...R,
346
332
  ...Ue,
347
333
  tag: {
348
334
  type: String,
@@ -360,44 +346,40 @@ var Ge = C({
360
346
  manualFocus: Boolean
361
347
  },
362
348
  emits: ["click", "keyup"],
363
- setup(t, { slots: n, emit: r }) {
364
- let { proxy: { $q: i } } = Te(), a = fe(t, i), { hasLink: o, linkAttrs: s, linkClass: c, linkTag: l, navigateOnClick: u } = We(), d = q(null), f = q(null), p = H(() => t.clickable || o.value || t.tag === "label"), m = H(() => !t.disable && p.value), g = H(() => "q-item q-item-type row no-wrap" + (t.dense ? " q-item--dense" : "") + (a.value ? " q-item--dark" : "") + (o.value && t.active === null ? c.value : t.active ? ` q-item--active${t.activeClass === void 0 ? "" : ` ${t.activeClass}`}` : "") + (t.disable ? " disabled" : "") + (m.value ? " q-item--clickable q-link cursor-pointer " + (t.manualFocus ? "q-manual-focusable" : "q-focusable q-hoverable") + (t.focused ? " q-manual-focusable--focused" : "") : "")), _ = H(() => t.insetLevel === void 0 ? null : { ["padding" + (i.lang.rtl ? "Right" : "Left")]: 16 + t.insetLevel * 56 + "px" });
349
+ setup(e, { slots: t, emit: n }) {
350
+ let { proxy: { $q: r } } = Te(), i = I(e, r), { hasLink: a, linkAttrs: o, linkClass: s, linkTag: c, navigateOnClick: l } = We(), u = q(null), d = q(null), f = H(() => e.clickable === !0 || a.value === !0 || e.tag === "label"), p = H(() => e.disable !== !0 && f.value === !0), m = H(() => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (i.value === !0 ? " q-item--dark" : "") + (a.value === !0 && e.active === null ? s.value : e.active === !0 ? ` q-item--active${e.activeClass === void 0 ? "" : ` ${e.activeClass}`}` : "") + (e.disable === !0 ? " disabled" : "") + (p.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")), g = H(() => e.insetLevel === void 0 ? null : { ["padding" + (r.lang.rtl === !0 ? "Right" : "Left")]: 16 + e.insetLevel * 56 + "px" });
365
351
  function v(e) {
366
- m.value && (f.value !== null && !e.qAvoidFocus && (!e.qKeyEvent && document.activeElement === d.value ? f.value.focus() : document.activeElement === f.value && d.value.focus()), u(e));
352
+ p.value === !0 && (d.value !== null && e.qAvoidFocus !== !0 && (e.qKeyEvent !== !0 && document.activeElement === u.value ? d.value.focus() : document.activeElement === d.value && u.value.focus()), l(e));
367
353
  }
368
- function y(t) {
369
- if (m.value && e(t, [13, 32])) {
370
- k(t), t.qKeyEvent = !0;
371
- let e = new MouseEvent("click", t);
372
- e.qKeyEvent = !0, d.value.dispatchEvent(e);
354
+ function y(e) {
355
+ if (p.value === !0 && _(e, [13, 32]) === !0) {
356
+ k(e), e.qKeyEvent = !0;
357
+ let t = new MouseEvent("click", e);
358
+ t.qKeyEvent = !0, u.value.dispatchEvent(t);
373
359
  }
374
- r("keyup", t);
375
- }
376
- function b(e) {
377
- m.value && e.keyCode === 32 && k(e);
360
+ n("keyup", e);
378
361
  }
379
- function x() {
380
- let e = h(n.default, []);
381
- return m.value && e.unshift(U("div", {
362
+ function b() {
363
+ let e = h(t.default, []);
364
+ return p.value === !0 && e.unshift(U("div", {
382
365
  class: "q-focus-helper",
383
366
  tabindex: -1,
384
- ref: f
367
+ ref: d
385
368
  })), e;
386
369
  }
387
370
  return () => {
388
- let e = {
389
- ref: d,
390
- class: g.value,
391
- style: _.value,
392
- role: o.value ? void 0 : m.value ? "button" : "listitem",
371
+ let t = {
372
+ ref: u,
373
+ class: m.value,
374
+ style: g.value,
375
+ role: "listitem",
393
376
  onClick: v,
394
- onKeydown: b,
395
377
  onKeyup: y
396
378
  };
397
- return m.value ? (e.tabindex = t.tabindex || "0", Object.assign(e, s.value)) : p.value && (e["aria-disabled"] = "true"), U(l.value, e, x());
379
+ return p.value === !0 ? (t.tabindex = e.tabindex || "0", Object.assign(t, o.value)) : f.value === !0 && (t["aria-disabled"] = "true"), U(c.value, t, b());
398
380
  };
399
381
  }
400
- }), Ke = C({
382
+ }), Ke = x({
401
383
  name: "QItemSection",
402
384
  props: {
403
385
  avatar: Boolean,
@@ -407,10 +389,10 @@ var Ge = C({
407
389
  noWrap: Boolean
408
390
  },
409
391
  setup(e, { slots: t }) {
410
- let n = H(() => `q-item__section column q-item__section--${e.avatar || e.side || e.thumbnail ? "side" : "main"}` + (e.top ? " q-item__section--top justify-start" : " justify-center") + (e.avatar ? " q-item__section--avatar" : "") + (e.thumbnail ? " q-item__section--thumbnail" : "") + (e.noWrap ? " q-item__section--nowrap" : ""));
392
+ let n = H(() => `q-item__section column q-item__section--${e.avatar === !0 || e.side === !0 || e.thumbnail === !0 ? "side" : "main"}` + (e.top === !0 ? " q-item__section--top justify-start" : " justify-center") + (e.avatar === !0 ? " q-item__section--avatar" : "") + (e.thumbnail === !0 ? " q-item__section--thumbnail" : "") + (e.noWrap === !0 ? " q-item__section--nowrap" : ""));
411
393
  return () => U("div", { class: n.value }, i(t.default));
412
394
  }
413
- }), qe = C({
395
+ }), qe = x({
414
396
  name: "QItemLabel",
415
397
  props: {
416
398
  overline: Boolean,
@@ -419,7 +401,7 @@ var Ge = C({
419
401
  lines: [Number, String]
420
402
  },
421
403
  setup(e, { slots: t }) {
422
- let n = H(() => Number.parseInt(e.lines, 10)), r = H(() => "q-item__label" + (e.overline ? " q-item__label--overline text-overline" : "") + (e.caption ? " q-item__label--caption text-caption" : "") + (e.header ? " q-item__label--header" : "") + (n.value === 1 ? " ellipsis" : "")), a = H(() => e.lines !== void 0 && n.value > 1 ? {
404
+ let n = H(() => parseInt(e.lines, 10)), r = H(() => "q-item__label" + (e.overline === !0 ? " q-item__label--overline text-overline" : "") + (e.caption === !0 ? " q-item__label--caption text-caption" : "") + (e.header === !0 ? " q-item__label--header" : "") + (n.value === 1 ? " ellipsis" : "")), a = H(() => e.lines !== void 0 && n.value > 1 ? {
423
405
  overflow: "hidden",
424
406
  display: "-webkit-box",
425
407
  "-webkit-box-orient": "vertical",
@@ -430,27 +412,49 @@ var Ge = C({
430
412
  class: r.value
431
413
  }, i(t.default));
432
414
  }
433
- }), Je = [];
415
+ }), Y = [], Je;
434
416
  function Ye(e) {
435
- Je.at(-1)(e);
417
+ Je = e.keyCode === 27;
436
418
  }
437
- function Xe(e) {
438
- N.is.desktop && (Je.push(e), Je.length === 1 && document.body.addEventListener("focusin", Ye));
419
+ function Xe() {
420
+ Je === !0 && (Je = !1);
439
421
  }
440
422
  function Ze(e) {
441
- let t = Je.indexOf(e);
442
- t !== -1 && (Je.splice(t, 1), Je.length === 0 && document.body.removeEventListener("focusin", Ye));
423
+ Je === !0 && (Je = !1, _(e, 27) === !0 && Y[Y.length - 1](e));
424
+ }
425
+ function Qe(e) {
426
+ window[e]("keydown", Ye), window[e]("blur", Xe), window[e]("keyup", Ze), Je = !1;
427
+ }
428
+ function $e(e) {
429
+ F.is.desktop === !0 && (Y.push(e), Y.length === 1 && Qe("addEventListener"));
430
+ }
431
+ function et(e) {
432
+ let t = Y.indexOf(e);
433
+ t !== -1 && (Y.splice(t, 1), Y.length === 0 && Qe("removeEventListener"));
443
434
  }
444
435
  //#endregion
445
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/menu/QMenu.js
446
- var Qe = C({
436
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/private.focus/focusout.js
437
+ var tt = [];
438
+ function nt(e) {
439
+ tt[tt.length - 1](e);
440
+ }
441
+ function rt(e) {
442
+ F.is.desktop === !0 && (tt.push(e), tt.length === 1 && document.body.addEventListener("focusin", nt));
443
+ }
444
+ function it(e) {
445
+ let t = tt.indexOf(e);
446
+ t !== -1 && (tt.splice(t, 1), tt.length === 0 && document.body.removeEventListener("focusin", nt));
447
+ }
448
+ //#endregion
449
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/menu/QMenu.js
450
+ var at = x({
447
451
  name: "QMenu",
448
452
  inheritAttrs: !1,
449
453
  props: {
450
- ..._,
451
- ...u,
452
- ...P,
453
- ...n,
454
+ ...ee,
455
+ ...d,
456
+ ...R,
457
+ ...v,
454
458
  persistent: Boolean,
455
459
  autoClose: Boolean,
456
460
  separateClosePopup: Boolean,
@@ -463,17 +467,17 @@ var Qe = C({
463
467
  square: Boolean,
464
468
  anchor: {
465
469
  type: String,
466
- validator: ye
470
+ validator: V
467
471
  },
468
472
  self: {
469
473
  type: String,
470
- validator: ye
474
+ validator: V
471
475
  },
472
476
  offset: {
473
477
  type: Array,
474
- validator: O
478
+ validator: D
475
479
  },
476
- scrollTarget: g,
480
+ scrollTarget: m,
477
481
  touchPosition: Boolean,
478
482
  maxHeight: {
479
483
  type: String,
@@ -485,242 +489,240 @@ var Qe = C({
485
489
  }
486
490
  },
487
491
  emits: [
488
- ...L,
492
+ ...s,
489
493
  "click",
490
494
  "escapeKey"
491
495
  ],
492
- setup(e, { slots: n, emit: a, attrs: s }) {
493
- let l = null, u, m, h, g = Te(), { proxy: _ } = g, { $q: b } = _, C = q(null), T = q(!1), ee = H(() => !e.persistent && !e.noRouteDismiss), te = fe(e, b), { registerTick: O, removeTick: ne } = v(), { registerTimeout: A } = f(), { transitionProps: re, transitionStyle: j } = xe(e), { localScrollTarget: ie, changeScrollEvent: ae, unconfigureScrollTarget: oe } = w(e, ve), { anchorEl: M, canShow: se } = E({ showing: T }), { hide: le } = d({
494
- showing: T,
495
- canShow: se,
496
+ setup(e, { slots: a, emit: o, attrs: s }) {
497
+ let u = null, d, p, m, h = Te(), { proxy: _ } = h, { $q: v } = _, b = q(null), x = q(!1), C = H(() => e.persistent !== !0 && e.noRouteDismiss !== !0), ee = I(e, v), { registerTick: E, removeTick: te } = f(), { registerTimeout: D } = l(), { transitionProps: O, transitionStyle: re } = be(e), { localScrollTarget: A, changeScrollEvent: ie, unconfigureScrollTarget: ae } = w(e, me), { anchorEl: j, canShow: oe } = T({ showing: x }), { hide: M } = de({
498
+ showing: x,
499
+ canShow: oe,
496
500
  handleShow: z,
497
- handleHide: B,
498
- handleRouteChange: he,
499
- hideOnRouteChange: ee,
501
+ handleHide: pe,
502
+ hideOnRouteChange: C,
500
503
  processOnMount: !0
501
- }), { showPortal: N, hidePortal: P, renderPortal: F } = S(g, C, W, "menu"), I = {
502
- anchorEl: M,
503
- innerRef: C,
504
+ }), { showPortal: se, hidePortal: N, renderPortal: P } = n(h, b, xe, "menu"), F = {
505
+ anchorEl: j,
506
+ innerRef: b,
504
507
  onClickOutside(t) {
505
- if (!e.persistent && T.value) return le(t), (t.type === "touchstart" || t.target.classList.contains("q-dialog__backdrop")) && k(t), !0;
508
+ if (e.persistent !== !0 && x.value === !0) return M(t), (t.type === "touchstart" || t.target.classList.contains("q-dialog__backdrop")) && k(t), !0;
506
509
  }
507
- }, ue = H(() => _e(e.anchor || (e.cover ? "center middle" : "bottom start"), b.lang.rtl)), de = H(() => e.cover ? ue.value : _e(e.self || "top start", b.lang.rtl)), L = H(() => (e.square ? " q-menu--square" : "") + (te.value ? " q-menu--dark q-dark" : "")), pe = H(() => e.autoClose ? { onClick: ye } : {}), R = H(() => T.value && !e.persistent);
510
+ }, L = H(() => _e(e.anchor || (e.cover === !0 ? "center middle" : "bottom start"), v.lang.rtl)), ce = H(() => e.cover === !0 ? L.value : _e(e.self || "top start", v.lang.rtl)), le = H(() => (e.square === !0 ? " q-menu--square" : "") + (ee.value === !0 ? " q-menu--dark q-dark" : "")), ue = H(() => e.autoClose === !0 ? { onClick: he } : {}), R = H(() => x.value === !0 && e.persistent !== !0);
508
511
  J(R, (e) => {
509
- e ? (ce(Ce), y(I)) : (t(Ce), r(I));
512
+ e === !0 ? ($e(ve), y(F)) : (et(ve), r(F));
510
513
  });
511
- function me() {
514
+ function fe() {
512
515
  c(() => {
513
- let e = C.value;
514
- e && !e.contains(document.activeElement) && (e = e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || e.querySelector("[autofocus], [data-autofocus]") || e, e.focus({ preventScroll: !0 }));
516
+ let e = b.value;
517
+ e && e.contains(document.activeElement) !== !0 && (e = e.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || e.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || e.querySelector("[autofocus], [data-autofocus]") || e, e.focus({ preventScroll: !0 }));
515
518
  });
516
519
  }
517
520
  function z(t) {
518
- if (l = e.noRefocus ? null : document.activeElement, Xe(Se), N(), ve(), u = void 0, t !== void 0 && (e.touchPosition || e.contextMenu)) {
519
- let e = D(t);
521
+ if (u = e.noRefocus === !1 ? document.activeElement : null, rt(ge), se(), me(), d = void 0, t !== void 0 && (e.touchPosition || e.contextMenu)) {
522
+ let e = ne(t);
520
523
  if (e.left !== void 0) {
521
- let { top: t, left: n } = M.value.getBoundingClientRect();
522
- u = {
524
+ let { top: t, left: n } = j.value.getBoundingClientRect();
525
+ d = {
523
526
  left: e.left - n,
524
527
  top: e.top - t
525
528
  };
526
529
  }
527
530
  }
528
- m === void 0 && (m = J(() => b.screen.width + "|" + b.screen.height + "|" + e.self + "|" + e.anchor + "|" + b.lang.rtl, V)), e.noFocus || document.activeElement.blur(), O(() => {
529
- V(), e.noFocus || me();
530
- }), A(() => {
531
- b.platform.is.ios && (h = e.autoClose, C.value.click()), V(), N(!0), a("show", t);
531
+ p === void 0 && (p = J(() => v.screen.width + "|" + v.screen.height + "|" + e.self + "|" + e.anchor + "|" + v.lang.rtl, V)), e.noFocus !== !0 && document.activeElement.blur(), E(() => {
532
+ V(), e.noFocus !== !0 && fe();
533
+ }), D(() => {
534
+ v.platform.is.ios === !0 && (m = e.autoClose, b.value.click()), V(), se(!0), o("show", t);
532
535
  }, e.transitionDuration);
533
536
  }
534
- function B(t) {
535
- if (ne(), P(), ge(!0), l !== null && (t === void 0 || !t.qClickOutside)) {
536
- let e = (t?.type.indexOf("key") === 0 ? l.closest("[tabindex]:not([tabindex^=\"-\"])") : void 0) || l;
537
- l = null, c(() => {
538
- e.isConnected && e.focus();
539
- });
540
- }
541
- A(() => {
542
- P(!0), a("hide", t);
537
+ function pe(t) {
538
+ te(), N(), B(!0), u !== null && (t === void 0 || t.qClickOutside !== !0) && (((t?.type.indexOf("key") === 0 ? u.closest("[tabindex]:not([tabindex^=\"-\"])") : void 0) || u).focus(), u = null), D(() => {
539
+ N(!0), o("hide", t);
543
540
  }, e.transitionDuration);
544
541
  }
545
- function he() {
546
- l = null;
542
+ function B(e) {
543
+ d = void 0, p !== void 0 && (p(), p = void 0), (e === !0 || x.value === !0) && (it(ge), ae(), r(F), et(ve)), e !== !0 && (u = null);
547
544
  }
548
- function ge(e) {
549
- u = void 0, m !== void 0 && (m(), m = void 0), (e || T.value) && (Ze(Se), oe(), r(I), t(Ce)), e || (l = null);
550
- }
551
- function ve() {
552
- (M.value !== null || e.scrollTarget !== void 0) && (ie.value = p(M.value, e.scrollTarget), ae(ie.value, V));
545
+ function me() {
546
+ (j.value !== null || e.scrollTarget !== void 0) && (A.value = t(j.value, e.scrollTarget), ie(A.value, V));
553
547
  }
554
- function ye(e) {
555
- h ? h = !1 : (x(_, e), a("click", e));
548
+ function he(e) {
549
+ m === !0 ? m = !1 : (S(_, e), o("click", e));
556
550
  }
557
- function Se(t) {
558
- R.value && !e.noFocus && !o(C.value, t.target) && me();
551
+ function ge(t) {
552
+ R.value === !0 && e.noFocus !== !0 && g(b.value, t.target) !== !0 && fe();
559
553
  }
560
- function Ce(t) {
561
- e.noEscDismiss || (a("escapeKey"), le(t));
554
+ function ve(t) {
555
+ e.noEscDismiss !== !0 && (o("escapeKey"), M(t));
562
556
  }
563
557
  function V() {
564
- be({
565
- targetEl: C.value,
558
+ ye({
559
+ targetEl: b.value,
566
560
  offset: e.offset,
567
- anchorEl: M.value,
568
- anchorOrigin: ue.value,
569
- selfOrigin: de.value,
570
- absoluteOffset: u,
561
+ anchorEl: j.value,
562
+ anchorOrigin: L.value,
563
+ selfOrigin: ce.value,
564
+ absoluteOffset: d,
571
565
  fit: e.fit,
572
566
  cover: e.cover,
573
567
  maxHeight: e.maxHeight,
574
568
  maxWidth: e.maxWidth
575
569
  });
576
570
  }
577
- function W() {
578
- return U(we, re.value, () => T.value ? U("div", {
571
+ function xe() {
572
+ return U(we, O.value, () => x.value === !0 ? U("div", {
579
573
  role: "menu",
580
574
  ...s,
581
- ref: C,
575
+ ref: b,
582
576
  tabindex: -1,
583
- class: ["q-menu q-position-engine scroll" + L.value, s.class],
584
- style: [s.style, j.value],
585
- ...pe.value
586
- }, i(n.default)) : null);
587
- }
588
- return De(() => {
589
- ge();
590
- }), Object.assign(_, {
591
- focus: me,
577
+ class: ["q-menu q-position-engine scroll" + le.value, s.class],
578
+ style: [s.style, re.value],
579
+ ...ue.value
580
+ }, i(a.default)) : null);
581
+ }
582
+ return De(B), Object.assign(_, {
583
+ focus: fe,
592
584
  updatePosition: V
593
- }), F;
585
+ }), P;
594
586
  }
595
- }), $e = () => !0;
596
- function et(e) {
587
+ }), ot = () => !0;
588
+ function st(e) {
597
589
  return typeof e == "string" && e !== "" && e !== "/" && e !== "#/";
598
590
  }
599
- function tt(e) {
600
- return e.startsWith("#") && (e = e.slice(1)), e.startsWith("/") || (e = "/" + e), e.endsWith("/") && (e = e.slice(0, -1)), "#" + e;
591
+ function ct(e) {
592
+ return e.startsWith("#") === !0 && (e = e.substring(1)), e.startsWith("/") === !1 && (e = "/" + e), e.endsWith("/") === !0 && (e = e.substring(0, e.length - 1)), "#" + e;
601
593
  }
602
- function nt(e) {
594
+ function lt(e) {
603
595
  if (e.backButtonExit === !1) return () => !1;
604
- if (e.backButtonExit === "*") return $e;
596
+ if (e.backButtonExit === "*") return ot;
605
597
  let t = ["#/"];
606
- return Array.isArray(e.backButtonExit) && t.push(...e.backButtonExit.filter(et).map(tt)), () => t.includes(window.location.hash);
598
+ return Array.isArray(e.backButtonExit) === !0 && t.push(...e.backButtonExit.filter(st).map(ct)), () => t.includes(window.location.hash);
607
599
  }
608
- var rt = {
600
+ var ut = {
609
601
  __history: [],
610
602
  add: M,
611
603
  remove: M,
612
604
  install({ $q: e }) {
613
- if (this.__installed) return;
614
- let { cordova: t, capacitor: n } = N.is;
615
- if (!t && !n) return;
616
- let r = e.config[t ? "cordova" : "capacitor"];
617
- if (r?.backButton === !1 || n && (window.Capacitor === void 0 || window.Capacitor.Plugins.App === void 0)) return;
605
+ if (this.__installed === !0) return;
606
+ let { cordova: t, capacitor: n } = F.is;
607
+ if (t !== !0 && n !== !0) return;
608
+ let r = e.config[t === !0 ? "cordova" : "capacitor"];
609
+ if (r?.backButton === !1 || n === !0 && (window.Capacitor === void 0 || window.Capacitor.Plugins.App === void 0)) return;
618
610
  this.add = (e) => {
619
- e.condition === void 0 && (e.condition = $e), this.__history.push(e);
611
+ e.condition === void 0 && (e.condition = ot), this.__history.push(e);
620
612
  }, this.remove = (e) => {
621
613
  let t = this.__history.indexOf(e);
622
- t !== -1 && this.__history.splice(t, 1);
614
+ t >= 0 && this.__history.splice(t, 1);
623
615
  };
624
- let i = nt({
625
- backButtonExit: !0,
626
- ...r
627
- }), a = () => {
628
- if (this.__history.length !== 0) {
629
- let e = this.__history.at(-1);
630
- e.condition() && (this.__history.pop(), e.handler());
631
- } else i() ? navigator.app.exitApp() : window.history.back();
616
+ let i = lt(Object.assign({ backButtonExit: !0 }, r)), a = () => {
617
+ if (this.__history.length) {
618
+ let e = this.__history[this.__history.length - 1];
619
+ e.condition() === !0 && (this.__history.pop(), e.handler());
620
+ } else i() === !0 ? navigator.app.exitApp() : window.history.back();
632
621
  };
633
- t ? document.addEventListener("deviceready", () => {
622
+ t === !0 ? document.addEventListener("deviceready", () => {
634
623
  document.addEventListener("backbutton", a, !1);
635
624
  }) : window.Capacitor.Plugins.App.addListener("backButton", a);
636
625
  }
637
626
  };
638
627
  //#endregion
639
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-history/use-history.js
640
- function it(e, t, n) {
628
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-history/use-history.js
629
+ function dt(e, t, n) {
641
630
  let r;
642
631
  function i() {
643
- r !== void 0 && (rt.remove(r), r = void 0);
632
+ r !== void 0 && (ut.remove(r), r = void 0);
644
633
  }
645
634
  return De(() => {
646
- e.value && i();
635
+ e.value === !0 && i();
647
636
  }), {
648
637
  removeFromHistory: i,
649
638
  addToHistory() {
650
639
  r = {
651
- condition: () => n.value,
640
+ condition: () => n.value === !0,
652
641
  handler: t
653
- }, rt.add(r);
642
+ }, ut.add(r);
654
643
  }
655
644
  };
656
645
  }
657
646
  //#endregion
658
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/scroll/prevent-scroll.js
659
- var X = 0, Z, at, ot, st = !1, ct, lt, ut, dt = null;
660
- function ft(e) {
647
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/scroll/prevent-scroll.js
648
+ var ft = 0, pt, mt, ht, X = !1, gt, Z, _t, Q = null;
649
+ function vt(e) {
650
+ yt(e) && k(e);
651
+ }
652
+ function yt(e) {
653
+ if (e.target === document.body || e.target.classList.contains("q-layout__backdrop")) return !0;
654
+ let t = ce(e), n = e.shiftKey && !e.deltaX, r = !n && Math.abs(e.deltaX) <= Math.abs(e.deltaY), i = n || r ? e.deltaY : e.deltaX;
655
+ for (let e = 0; e < t.length; e++) {
656
+ let n = t[e];
657
+ if (p(n, r)) return r ? i < 0 && n.scrollTop === 0 || i > 0 && n.scrollTop + n.clientHeight === n.scrollHeight : i < 0 && n.scrollLeft === 0 || i > 0 && n.scrollLeft + n.clientWidth === n.scrollWidth;
658
+ }
659
+ return !0;
660
+ }
661
+ function bt(e) {
661
662
  e.target === document && (document.scrollingElement.scrollTop = document.scrollingElement.scrollTop);
662
663
  }
663
- function pt(e) {
664
- st || (st = !0, requestAnimationFrame(() => {
665
- st = !1;
664
+ function xt(e) {
665
+ X !== !0 && (X = !0, requestAnimationFrame(() => {
666
+ X = !1;
666
667
  let { height: t } = e.target, { clientHeight: n, scrollTop: r } = document.scrollingElement;
667
- (ot === void 0 || t !== window.innerHeight) && (ot = n - t, document.scrollingElement.scrollTop = r), r > ot && (document.scrollingElement.scrollTop -= Math.ceil((r - ot) / 8));
668
+ (ht === void 0 || t !== window.innerHeight) && (ht = n - t, document.scrollingElement.scrollTop = r), r > ht && (document.scrollingElement.scrollTop -= Math.ceil((r - ht) / 8));
668
669
  }));
669
670
  }
670
- function mt(e) {
671
+ function St(e) {
671
672
  let t = document.body, n = window.visualViewport !== void 0;
672
673
  if (e === "add") {
673
674
  let { overflowY: e, overflowX: r } = window.getComputedStyle(t);
674
- Z = se(window), at = m(window), ct = t.style.left, lt = t.style.top, ut = window.location.pathname, t.style.left = `-${Z}px`, t.style.top = `-${at}px`, r !== "hidden" && (r === "scroll" || t.scrollWidth > window.innerWidth) && t.classList.add("q-body--force-scrollbar-x"), e !== "hidden" && (e === "scroll" || t.scrollHeight > window.innerHeight) && t.classList.add("q-body--force-scrollbar-y"), document.documentElement.classList.add("q-document--prevent-scroll"), document.qScrollPrevented = !0, N.is.ios && (n ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", pt, R.passiveCapture), window.visualViewport.addEventListener("scroll", pt, R.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", ft, R.passiveCapture));
675
- } else N.is.ios && (n ? (window.visualViewport.removeEventListener("resize", pt, R.passiveCapture), window.visualViewport.removeEventListener("scroll", pt, R.passiveCapture)) : window.removeEventListener("scroll", ft, R.passiveCapture)), document.documentElement.classList.remove("q-document--prevent-scroll"), t.classList.remove("q-body--force-scrollbar-x", "q-body--force-scrollbar-y"), document.qScrollPrevented = !1, t.style.left = ct, t.style.top = lt, window.location.pathname === ut && window.scrollTo(Z, at), ot = void 0;
675
+ pt = N(window), mt = se(window), gt = t.style.left, Z = t.style.top, _t = window.location.href, t.style.left = `-${pt}px`, t.style.top = `-${mt}px`, r !== "hidden" && (r === "scroll" || t.scrollWidth > window.innerWidth) && t.classList.add("q-body--force-scrollbar-x"), e !== "hidden" && (e === "scroll" || t.scrollHeight > window.innerHeight) && t.classList.add("q-body--force-scrollbar-y"), t.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, F.is.ios === !0 && (n === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", xt, z.passiveCapture), window.visualViewport.addEventListener("scroll", xt, z.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", bt, z.passiveCapture));
676
+ }
677
+ F.is.desktop === !0 && F.is.mac === !0 && window[`${e}EventListener`]("wheel", vt, z.notPassive), e === "remove" && (F.is.ios === !0 && (n === !0 ? (window.visualViewport.removeEventListener("resize", xt, z.passiveCapture), window.visualViewport.removeEventListener("scroll", xt, z.passiveCapture)) : window.removeEventListener("scroll", bt, z.passiveCapture)), t.classList.remove("q-body--prevent-scroll"), t.classList.remove("q-body--force-scrollbar-x"), t.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, t.style.left = gt, t.style.top = Z, window.location.href === _t && window.scrollTo(pt, mt), ht = void 0);
676
678
  }
677
- function ht(e) {
679
+ function Ct(e) {
678
680
  let t = "add";
679
681
  if (e === !0) {
680
- if (X++, dt !== null) {
681
- clearTimeout(dt), dt = null;
682
+ if (ft++, Q !== null) {
683
+ clearTimeout(Q), Q = null;
682
684
  return;
683
685
  }
684
- if (X > 1) return;
686
+ if (ft > 1) return;
685
687
  } else {
686
- if (X === 0 || (X--, X > 0)) return;
687
- if (t = "remove", N.is.ios && N.is.nativeMobile) {
688
- dt !== null && clearTimeout(dt), dt = setTimeout(() => {
689
- mt(t), dt = null;
688
+ if (ft === 0 || (ft--, ft > 0)) return;
689
+ if (t = "remove", F.is.ios === !0 && F.is.nativeMobile === !0) {
690
+ Q !== null && clearTimeout(Q), Q = setTimeout(() => {
691
+ St(t), Q = null;
690
692
  }, 100);
691
693
  return;
692
694
  }
693
695
  }
694
- mt(t);
696
+ St(t);
695
697
  }
696
698
  //#endregion
697
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js
698
- function gt() {
699
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js
700
+ function wt() {
699
701
  let e;
700
702
  return { preventBodyScroll(t) {
701
- t !== e && (e !== void 0 || t) && (e = t, ht(t));
703
+ t !== e && (e !== void 0 || t === !0) && (e = t, Ct(t));
702
704
  } };
703
705
  }
704
706
  //#endregion
705
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/dialog/QDialog.js
706
- var Q = 0, _t = {
707
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/dialog/QDialog.js
708
+ var Tt = 0, Et = {
707
709
  standard: "fixed-full flex-center",
708
710
  top: "fixed-top justify-center",
709
711
  bottom: "fixed-bottom justify-center",
710
712
  right: "fixed-right items-center",
711
713
  left: "fixed-left items-center"
712
- }, vt = {
714
+ }, Dt = {
713
715
  standard: ["scale", "scale"],
714
716
  top: ["slide-down", "slide-up"],
715
717
  bottom: ["slide-up", "slide-down"],
716
718
  right: ["slide-left", "slide-right"],
717
719
  left: ["slide-right", "slide-left"]
718
- }, yt = C({
720
+ }, Ot = x({
719
721
  name: "QDialog",
720
722
  inheritAttrs: !1,
721
723
  props: {
722
- ...u,
723
- ...n,
724
+ ...d,
725
+ ...v,
724
726
  transitionShow: String,
725
727
  transitionHide: String,
726
728
  persistent: Boolean,
@@ -751,54 +753,44 @@ var Q = 0, _t = {
751
753
  }
752
754
  },
753
755
  emits: [
754
- ...L,
756
+ ...s,
755
757
  "shake",
756
758
  "click",
757
759
  "escapeKey"
758
760
  ],
759
- setup(e, { slots: n, emit: r, attrs: a }) {
760
- let s = Te(), l = q(null), u = q(!1), p = q(!1), m = null, h = null, g = !1, _ = !1, y = H(() => !e.persistent && !e.noRouteDismiss && !e.seamless), { preventBodyScroll: b } = gt(), { registerTimeout: x } = f(), { registerTick: C, removeTick: w } = v(), { transitionProps: T, transitionStyle: E } = xe(e, () => vt[e.position][0], () => vt[e.position][1]), ee = H(() => E.value + (e.backdropFilter === void 0 ? "" : `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)), { showPortal: te, hidePortal: D, portalIsAccessible: O, renderPortal: ne } = S(s, l, pe, "dialog"), { hide: k } = d({
761
+ setup(e, { slots: t, emit: r, attrs: a }) {
762
+ let o = Te(), s = q(null), u = q(!1), d = q(!1), p = null, m = null, h, _, v = H(() => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0), { preventBodyScroll: y } = wt(), { registerTimeout: b } = l(), { registerTick: x, removeTick: S } = f(), { transitionProps: C, transitionStyle: ee } = be(e, () => Dt[e.position][0], () => Dt[e.position][1]), w = H(() => ee.value + (e.backdropFilter === void 0 ? "" : `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)), { showPortal: T, hidePortal: E, portalIsAccessible: te, renderPortal: ne } = n(o, s, le, "dialog"), { hide: D } = de({
761
763
  showing: u,
762
- hideOnRouteChange: y,
763
- handleShow: M,
764
- handleHide: se,
765
- handleRouteChange: le,
764
+ hideOnRouteChange: v,
765
+ handleShow: j,
766
+ handleHide: oe,
766
767
  processOnMount: !0
767
- }), { addToHistory: A, removeFromHistory: re } = it(u, k, y), j = H(() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${_t[e.position]}` + (p.value ? " q-dialog__inner--animating" : "") + (e.fullWidth ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight ? " q-dialog__inner--fullheight" : "") + (e.square ? " q-dialog__inner--square" : "")), ie = H(() => u.value && !e.seamless), ae = H(() => e.autoClose ? { onClick: de } : {}), oe = H(() => [`q-dialog fullscreen no-pointer-events q-dialog--${ie.value ? "modal" : "seamless"}`, a.class]);
768
+ }), { addToHistory: O, removeFromHistory: k } = dt(u, D, v), re = H(() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized === !0 ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${Et[e.position]}` + (d.value === !0 ? " q-dialog__inner--animating" : "") + (e.fullWidth === !0 ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight === !0 ? " q-dialog__inner--fullheight" : "") + (e.square === !0 ? " q-dialog__inner--square" : "")), A = H(() => u.value === !0 && e.seamless !== !0), ie = H(() => e.autoClose === !0 ? { onClick: I } : {}), ae = H(() => [`q-dialog fullscreen no-pointer-events q-dialog--${A.value === !0 ? "modal" : "seamless"}`, a.class]);
768
769
  J(() => e.maximized, (e) => {
769
- u.value && ue(e);
770
- }), J(ie, (e) => {
771
- b(e), e ? (Xe(L), ce(F)) : (Ze(L), t(F));
770
+ u.value === !0 && F(e);
771
+ }), J(A, (e) => {
772
+ y(e), e === !0 ? (rt(ce), $e(N)) : (it(ce), et(N));
772
773
  });
773
- function M(t) {
774
- A(), h = !e.noRefocus && document.activeElement !== null ? document.activeElement : null, ue(e.maximized), te(), p.value = !0, e.noFocus ? w() : (document.activeElement?.blur(), C(N)), x(() => {
775
- if (s.proxy.$q.platform.is.ios) {
776
- if (!e.seamless && document.activeElement) {
774
+ function j(t) {
775
+ O(), m = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, F(e.maximized), T(), d.value = !0, e.noFocus === !0 ? S() : (document.activeElement?.blur(), x(M)), b(() => {
776
+ if (o.proxy.$q.platform.is.ios === !0) {
777
+ if (e.seamless !== !0 && document.activeElement) {
777
778
  let { top: e, bottom: t } = document.activeElement.getBoundingClientRect(), { innerHeight: n } = window, r = window.visualViewport === void 0 ? n : window.visualViewport.height;
778
779
  e > 0 && t > r / 2 && (document.scrollingElement.scrollTop = Math.min(document.scrollingElement.scrollHeight - r, t >= n ? Infinity : Math.ceil(document.scrollingElement.scrollTop + t - r / 2))), document.activeElement.scrollIntoView();
779
780
  }
780
- _ = !0, l.value.click(), _ = !1;
781
+ _ = !0, s.value.click(), _ = !1;
781
782
  }
782
- te(!0), p.value = !1, r("show", t);
783
+ T(!0), d.value = !1, r("show", t);
783
784
  }, e.transitionDuration);
784
785
  }
785
- function se(t) {
786
- if (w(), re(), I(!0), p.value = !0, D(), h !== null) {
787
- let e = (t?.type.indexOf("key") === 0 ? h.closest("[tabindex]:not([tabindex^=\"-\"])") : void 0) || h;
788
- h = null, c(() => {
789
- e.isConnected && e.focus();
790
- });
791
- }
792
- x(() => {
793
- D(!0), p.value = !1, r("hide", t);
786
+ function oe(t) {
787
+ S(), k(), P(!0), d.value = !0, E(), m !== null && (((t?.type.indexOf("key") === 0 ? m.closest("[tabindex]:not([tabindex^=\"-\"])") : void 0) || m).focus(), m = null), b(() => {
788
+ E(!0), d.value = !1, r("hide", t);
794
789
  }, e.transitionDuration);
795
790
  }
796
- function le() {
797
- h = null;
798
- }
799
- function N(e) {
791
+ function M(e) {
800
792
  c(() => {
801
- let t = l.value;
793
+ let t = s.value;
802
794
  if (t !== null) {
803
795
  if (e !== void 0) {
804
796
  let n = t.querySelector(e);
@@ -807,67 +799,68 @@ var Q = 0, _t = {
807
799
  return;
808
800
  }
809
801
  }
810
- t.contains(document.activeElement) || (t = t.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || t.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || t.querySelector("[autofocus], [data-autofocus]") || t, t.focus({ preventScroll: !0 }));
802
+ t.contains(document.activeElement) !== !0 && (t = t.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || t.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || t.querySelector("[autofocus], [data-autofocus]") || t, t.focus({ preventScroll: !0 }));
811
803
  }
812
804
  });
813
805
  }
814
- function P(e) {
815
- e && typeof e.focus == "function" ? e.focus({ preventScroll: !0 }) : N(), r("shake");
816
- let t = l.value;
817
- t !== null && (t.classList.remove("q-animate--scale"), t.classList.add("q-animate--scale"), m !== null && clearTimeout(m), m = setTimeout(() => {
818
- m = null, l.value !== null && (t.classList.remove("q-animate--scale"), N());
806
+ function se(e) {
807
+ e && typeof e.focus == "function" ? e.focus({ preventScroll: !0 }) : M(), r("shake");
808
+ let t = s.value;
809
+ t !== null && (t.classList.remove("q-animate--scale"), t.classList.add("q-animate--scale"), p !== null && clearTimeout(p), p = setTimeout(() => {
810
+ p = null, s.value !== null && (t.classList.remove("q-animate--scale"), M());
819
811
  }, 170));
820
812
  }
821
- function F() {
822
- e.seamless || (e.persistent || e.noEscDismiss ? !e.maximized && !e.noShake && P() : (r("escapeKey"), k()));
813
+ function N() {
814
+ e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && se() : (r("escapeKey"), D()));
823
815
  }
824
- function I(n) {
825
- m !== null && (clearTimeout(m), m = null), (n || u.value) && (ue(!1), e.seamless || (b(!1), Ze(L), t(F))), n || (h = null);
816
+ function P(t) {
817
+ p !== null && (clearTimeout(p), p = null), (t === !0 || u.value === !0) && (F(!1), e.seamless !== !0 && (y(!1), it(ce), et(N))), t !== !0 && (m = null);
826
818
  }
827
- function ue(e) {
828
- e ? g ||= (Q < 1 && document.body.classList.add("q-body--dialog"), Q++, !0) : g &&= (Q < 2 && document.body.classList.remove("q-body--dialog"), Q--, !1);
819
+ function F(e) {
820
+ e === !0 ? h !== !0 && (Tt < 1 && document.body.classList.add("q-body--dialog"), Tt++, h = !0) : h === !0 && (Tt < 2 && document.body.classList.remove("q-body--dialog"), Tt--, h = !1);
829
821
  }
830
- function de(e) {
831
- _ || (k(e), r("click", e));
832
- }
833
- function fe(t) {
834
- !e.persistent && !e.noBackdropDismiss ? k(t) : e.noShake || P();
822
+ function I(e) {
823
+ _ !== !0 && (D(e), r("click", e));
835
824
  }
836
825
  function L(t) {
837
- !e.allowFocusOutside && O.value && !o(l.value, t.target) && N("[tabindex]:not([tabindex=\"-1\"])");
826
+ e.persistent !== !0 && e.noBackdropDismiss !== !0 ? D(t) : e.noShake !== !0 && se();
827
+ }
828
+ function ce(t) {
829
+ e.allowFocusOutside !== !0 && te.value === !0 && g(s.value, t.target) !== !0 && M("[tabindex]:not([tabindex=\"-1\"])");
838
830
  }
839
- Object.assign(s.proxy, {
840
- focus: N,
841
- shake: P,
831
+ Object.assign(o.proxy, {
832
+ focus: M,
833
+ shake: se,
842
834
  __updateRefocusTarget(e) {
843
- h = e || null;
835
+ m = e || null;
844
836
  }
845
- }), De(I);
846
- function pe() {
837
+ }), De(P);
838
+ function le() {
847
839
  return U("div", {
848
840
  role: "dialog",
849
- "aria-modal": ie.value ? "true" : "false",
841
+ "aria-modal": A.value === !0 ? "true" : "false",
850
842
  ...a,
851
- class: oe.value
843
+ class: ae.value
852
844
  }, [U(we, {
853
845
  name: "q-transition--fade",
854
846
  appear: !0
855
- }, () => ie.value ? U("div", {
847
+ }, () => A.value === !0 ? U("div", {
856
848
  class: "q-dialog__backdrop fixed-full",
857
- style: ee.value,
849
+ style: w.value,
858
850
  "aria-hidden": "true",
859
- onClick: fe
860
- }) : null), U(we, T.value, () => u.value ? U("div", {
861
- ref: l,
862
- class: j.value,
863
- style: E.value,
864
851
  tabindex: -1,
865
- ...ae.value
866
- }, i(n.default)) : null)]);
852
+ onClick: L
853
+ }) : null), U(we, C.value, () => u.value === !0 ? U("div", {
854
+ ref: s,
855
+ class: re.value,
856
+ style: ee.value,
857
+ tabindex: -1,
858
+ ...ie.value
859
+ }, i(t.default)) : null)]);
867
860
  }
868
861
  return ne;
869
862
  }
870
- }), bt = !1;
863
+ }), kt = !1;
871
864
  {
872
865
  let e = document.createElement("div");
873
866
  e.setAttribute("dir", "rtl"), Object.assign(e.style, {
@@ -879,57 +872,57 @@ var Q = 0, _t = {
879
872
  Object.assign(t.style, {
880
873
  width: "1000px",
881
874
  height: "1px"
882
- }), document.body.append(e), e.append(t), e.scrollLeft = -1e3, bt = e.scrollLeft >= 0, e.remove();
875
+ }), document.body.appendChild(e), e.appendChild(t), e.scrollLeft = -1e3, kt = e.scrollLeft >= 0, e.remove();
883
876
  }
884
877
  //#endregion
885
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js
886
- var $ = 1e3, xt = [
878
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/virtual-scroll/use-virtual-scroll.js
879
+ var $ = 1e3, At = [
887
880
  "start",
888
881
  "center",
889
882
  "end",
890
883
  "start-force",
891
884
  "center-force",
892
885
  "end-force"
893
- ], St = Array.prototype.filter, Ct = window.getComputedStyle(document.body).overflowAnchor === void 0 ? M : function(e, t) {
886
+ ], jt = Array.prototype.filter, Mt = window.getComputedStyle(document.body).overflowAnchor === void 0 ? M : function(e, t) {
894
887
  e !== null && (e._qOverflowAnimationFrame !== void 0 && cancelAnimationFrame(e._qOverflowAnimationFrame), e._qOverflowAnimationFrame = requestAnimationFrame(() => {
895
888
  if (e === null) return;
896
889
  e._qOverflowAnimationFrame = void 0;
897
890
  let n = e.children || [];
898
- St.call(n, (e) => e.dataset && e.dataset.qVsAnchor !== void 0).forEach((e) => {
891
+ jt.call(n, (e) => e.dataset && e.dataset.qVsAnchor !== void 0).forEach((e) => {
899
892
  delete e.dataset.qVsAnchor;
900
893
  });
901
894
  let r = n[t];
902
895
  r?.dataset && (r.dataset.qVsAnchor = "");
903
896
  }));
904
897
  };
905
- function wt(e, t) {
898
+ function Nt(e, t) {
906
899
  return e + t;
907
900
  }
908
- function Tt(e, t, n, r, i, a, o, s) {
909
- let c = e === window ? document.scrollingElement || document.documentElement : e, l = i ? "offsetWidth" : "offsetHeight", u = {
901
+ function Pt(e, t, n, r, i, a, o, s) {
902
+ let c = e === window ? document.scrollingElement || document.documentElement : e, l = i === !0 ? "offsetWidth" : "offsetHeight", u = {
910
903
  scrollStart: 0,
911
904
  scrollViewSize: -o - s,
912
905
  scrollMaxSize: 0,
913
906
  offsetStart: -o,
914
907
  offsetEnd: -s
915
908
  };
916
- if (i ? (e === window ? (u.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, u.scrollViewSize += document.documentElement.clientWidth) : (u.scrollStart = c.scrollLeft, u.scrollViewSize += c.clientWidth), u.scrollMaxSize = c.scrollWidth, a && (u.scrollStart = (bt ? u.scrollMaxSize - u.scrollViewSize : 0) - u.scrollStart)) : (e === window ? (u.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, u.scrollViewSize += document.documentElement.clientHeight) : (u.scrollStart = c.scrollTop, u.scrollViewSize += c.clientHeight), u.scrollMaxSize = c.scrollHeight), n !== null) for (let e = n.previousElementSibling; e !== null; e = e.previousElementSibling) e.classList.contains("q-virtual-scroll--skip") || (u.offsetStart += e[l]);
917
- if (r !== null) for (let e = r.nextElementSibling; e !== null; e = e.nextElementSibling) e.classList.contains("q-virtual-scroll--skip") || (u.offsetEnd += e[l]);
909
+ if (i === !0 ? (e === window ? (u.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, u.scrollViewSize += document.documentElement.clientWidth) : (u.scrollStart = c.scrollLeft, u.scrollViewSize += c.clientWidth), u.scrollMaxSize = c.scrollWidth, a === !0 && (u.scrollStart = (kt === !0 ? u.scrollMaxSize - u.scrollViewSize : 0) - u.scrollStart)) : (e === window ? (u.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, u.scrollViewSize += document.documentElement.clientHeight) : (u.scrollStart = c.scrollTop, u.scrollViewSize += c.clientHeight), u.scrollMaxSize = c.scrollHeight), n !== null) for (let e = n.previousElementSibling; e !== null; e = e.previousElementSibling) e.classList.contains("q-virtual-scroll--skip") === !1 && (u.offsetStart += e[l]);
910
+ if (r !== null) for (let e = r.nextElementSibling; e !== null; e = e.nextElementSibling) e.classList.contains("q-virtual-scroll--skip") === !1 && (u.offsetEnd += e[l]);
918
911
  if (t !== e) {
919
912
  let n = c.getBoundingClientRect(), r = t.getBoundingClientRect();
920
- i ? (u.offsetStart += r.left - n.left, u.offsetEnd -= r.width) : (u.offsetStart += r.top - n.top, u.offsetEnd -= r.height), e !== window && (u.offsetStart += u.scrollStart), u.offsetEnd += u.scrollMaxSize - u.offsetStart;
913
+ i === !0 ? (u.offsetStart += r.left - n.left, u.offsetEnd -= r.width) : (u.offsetStart += r.top - n.top, u.offsetEnd -= r.height), e !== window && (u.offsetStart += u.scrollStart), u.offsetEnd += u.scrollMaxSize - u.offsetStart;
921
914
  }
922
915
  return u;
923
916
  }
924
- function Et(e, t, n, r) {
925
- t === "end" && (t = (e === window ? document.body : e)[n ? "scrollWidth" : "scrollHeight"]), e === window ? n ? (r && (t = (bt ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - t), window.scrollTo(t, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, t) : n ? (r && (t = (bt ? e.scrollWidth - e.offsetWidth : 0) - t), e.scrollLeft = t) : e.scrollTop = t;
917
+ function Ft(e, t, n, r) {
918
+ t === "end" && (t = (e === window ? document.body : e)[n === !0 ? "scrollWidth" : "scrollHeight"]), e === window ? n === !0 ? (r === !0 && (t = (kt === !0 ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - t), window.scrollTo(t, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, t) : n === !0 ? (r === !0 && (t = (kt === !0 ? e.scrollWidth - e.offsetWidth : 0) - t), e.scrollLeft = t) : e.scrollTop = t;
926
919
  }
927
- function Dt(e, t, n, r) {
920
+ function It(e, t, n, r) {
928
921
  if (n >= r) return 0;
929
- let i = t.length, a = Math.floor(n / $), o = Math.floor((r - 1) / $) + 1, s = e.slice(a, o).reduce(wt, 0);
930
- return n % $ !== 0 && (s -= t.slice(a * $, n).reduce(wt, 0)), r % $ !== 0 && r !== i && (s -= t.slice(r, o * $).reduce(wt, 0)), s;
922
+ let i = t.length, a = Math.floor(n / $), o = Math.floor((r - 1) / $) + 1, s = e.slice(a, o).reduce(Nt, 0);
923
+ return n % $ !== 0 && (s -= t.slice(a * $, n).reduce(Nt, 0)), r % $ !== 0 && r !== i && (s -= t.slice(r, o * $).reduce(Nt, 0)), s;
931
924
  }
932
- var Ot = {
925
+ var Lt = {
933
926
  virtualScrollSliceSize: {
934
927
  type: [Number, String],
935
928
  default: 10
@@ -956,47 +949,47 @@ var Ot = {
956
949
  },
957
950
  tableColspan: [Number, String]
958
951
  };
959
- Object.keys(Ot);
960
- var kt = {
952
+ Object.keys(Lt);
953
+ var Rt = {
961
954
  virtualScrollHorizontal: Boolean,
962
955
  onVirtualScroll: Function,
963
- ...Ot
956
+ ...Lt
964
957
  };
965
- function At({ virtualScrollLength: e, getVirtualScrollTarget: t, getVirtualScrollEl: n, virtualScrollItemSizeComputed: r }) {
958
+ function zt({ virtualScrollLength: e, getVirtualScrollTarget: t, getVirtualScrollEl: n, virtualScrollItemSizeComputed: r }) {
966
959
  let { props: i, emit: a, proxy: o } = Te(), { $q: s } = o, c, l, u, d = [], f, p = q(0), m = q(0), h = q({}), g = q(null), _ = q(null), v = q(null), y = q({
967
960
  from: 0,
968
961
  to: 0
969
962
  }), b = H(() => i.tableColspan === void 0 ? 100 : i.tableColspan);
970
963
  r === void 0 && (r = H(() => i.virtualScrollItemSize));
971
- let x = H(() => r.value + ";" + i.virtualScrollHorizontal);
972
- J(H(() => x.value + ";" + i.virtualScrollSliceRatioBefore + ";" + i.virtualScrollSliceRatioAfter), () => {
964
+ let x = H(() => r.value + ";" + i.virtualScrollHorizontal), S = H(() => x.value + ";" + i.virtualScrollSliceRatioBefore + ";" + i.virtualScrollSliceRatioAfter);
965
+ J(S, () => {
973
966
  O();
974
- }), J(x, S);
975
- function S() {
967
+ }), J(x, C);
968
+ function C() {
976
969
  D(l, !0);
977
970
  }
978
- function C(e) {
971
+ function ee(e) {
979
972
  D(e === void 0 ? l : e);
980
973
  }
981
974
  function w(r, a) {
982
975
  let o = t();
983
976
  if (o == null || o.nodeType === 8) return;
984
- let c = Tt(o, n(), g.value, _.value, i.virtualScrollHorizontal, s.lang.rtl, i.virtualScrollStickySizeStart, i.virtualScrollStickySizeEnd);
985
- u !== c.scrollViewSize && O(c.scrollViewSize), E(o, c, Math.min(e.value - 1, Math.max(0, Number.parseInt(r, 10) || 0)), 0, xt.includes(a) ? a : l !== -1 && r > l ? "end" : "start");
977
+ let c = Pt(o, n(), g.value, _.value, i.virtualScrollHorizontal, s.lang.rtl, i.virtualScrollStickySizeStart, i.virtualScrollStickySizeEnd);
978
+ u !== c.scrollViewSize && O(c.scrollViewSize), E(o, c, Math.min(e.value - 1, Math.max(0, parseInt(r, 10) || 0)), 0, At.indexOf(a) === -1 ? l !== -1 && r > l ? "end" : "start" : a);
986
979
  }
987
980
  function T() {
988
981
  let r = t();
989
982
  if (r == null || r.nodeType === 8) return;
990
- let a = Tt(r, n(), g.value, _.value, i.virtualScrollHorizontal, s.lang.rtl, i.virtualScrollStickySizeStart, i.virtualScrollStickySizeEnd), o = e.value - 1, l = a.scrollMaxSize - a.offsetStart - a.offsetEnd - m.value;
983
+ let a = Pt(r, n(), g.value, _.value, i.virtualScrollHorizontal, s.lang.rtl, i.virtualScrollStickySizeStart, i.virtualScrollStickySizeEnd), o = e.value - 1, l = a.scrollMaxSize - a.offsetStart - a.offsetEnd - m.value;
991
984
  if (c === a.scrollStart) return;
992
985
  if (a.scrollMaxSize <= 0) {
993
986
  E(r, a, 0, 0);
994
987
  return;
995
988
  }
996
- u !== a.scrollViewSize && O(a.scrollViewSize), ee(y.value.from);
989
+ u !== a.scrollViewSize && O(a.scrollViewSize), te(y.value.from);
997
990
  let h = Math.floor(a.scrollMaxSize - Math.max(a.scrollViewSize, a.offsetEnd) - Math.min(f[o], a.scrollViewSize / 2));
998
991
  if (h > 0 && Math.ceil(a.scrollStart) >= h) {
999
- E(r, a, o, a.scrollMaxSize - a.offsetEnd - d.reduce(wt, 0));
992
+ E(r, a, o, a.scrollMaxSize - a.offsetEnd - d.reduce(Nt, 0));
1000
993
  return;
1001
994
  }
1002
995
  let v = 0, b = a.scrollStart - a.offsetStart, x = b;
@@ -1006,57 +999,57 @@ function At({ virtualScrollLength: e, getVirtualScrollTarget: t, getVirtualScrol
1006
999
  E(r, a, v, x);
1007
1000
  }
1008
1001
  function E(t, n, r, a, o) {
1009
- let l = typeof o == "string" && o.includes("-force"), u = l ? o.replace("-force", "") : o, g = u === void 0 ? "start" : u, _ = Math.max(0, r - h.value[g]), b = _ + h.value.total;
1002
+ let l = typeof o == "string" && o.indexOf("-force") !== -1, u = l === !0 ? o.replace("-force", "") : o, g = u === void 0 ? "start" : u, _ = Math.max(0, r - h.value[g]), b = _ + h.value.total;
1010
1003
  b > e.value && (b = e.value, _ = Math.max(0, b - h.value.total)), c = n.scrollStart;
1011
1004
  let x = _ !== y.value.from || b !== y.value.to;
1012
- if (!x && u === void 0) {
1013
- k(r);
1005
+ if (x === !1 && u === void 0) {
1006
+ re(r);
1014
1007
  return;
1015
1008
  }
1016
1009
  let { activeElement: S } = document, C = v.value;
1017
- x && C !== null && C !== S && C.contains(S) && (C.addEventListener("focusout", te), setTimeout(() => {
1018
- C?.removeEventListener("focusout", te);
1019
- }, 0)), Ct(C, r - _);
1020
- let w = u === void 0 ? 0 : f.slice(_, r).reduce(wt, 0);
1021
- if (x) {
1010
+ x === !0 && C !== null && C !== S && C.contains(S) === !0 && (C.addEventListener("focusout", ne), setTimeout(() => {
1011
+ C?.removeEventListener("focusout", ne);
1012
+ })), Mt(C, r - _);
1013
+ let ee = u === void 0 ? 0 : f.slice(_, r).reduce(Nt, 0);
1014
+ if (x === !0) {
1022
1015
  let t = b >= y.value.from && _ <= y.value.to ? y.value.to : b;
1023
1016
  y.value = {
1024
1017
  from: _,
1025
1018
  to: t
1026
- }, p.value = Dt(d, f, 0, _), m.value = Dt(d, f, b, e.value), requestAnimationFrame(() => {
1019
+ }, p.value = It(d, f, 0, _), m.value = It(d, f, b, e.value), requestAnimationFrame(() => {
1027
1020
  y.value.to !== b && c === n.scrollStart && (y.value = {
1028
1021
  from: y.value.from,
1029
1022
  to: b
1030
- }, m.value = Dt(d, f, b, e.value));
1023
+ }, m.value = It(d, f, b, e.value));
1031
1024
  });
1032
1025
  }
1033
1026
  requestAnimationFrame(() => {
1034
1027
  if (c !== n.scrollStart) return;
1035
- x && ee(_);
1036
- let e = f.slice(_, r).reduce(wt, 0), o = e + n.offsetStart + p.value, d = o + f[r], m = o + a;
1028
+ x === !0 && te(_);
1029
+ let e = f.slice(_, r).reduce(Nt, 0), o = e + n.offsetStart + p.value, d = o + f[r], m = o + a;
1037
1030
  if (u !== void 0) {
1038
- let t = e - w, i = n.scrollStart + t;
1039
- m = !l && i < o && d < i + n.scrollViewSize ? i : u === "end" ? d - n.scrollViewSize : o - (u === "start" ? 0 : Math.round((n.scrollViewSize - f[r]) / 2));
1031
+ let t = e - ee, i = n.scrollStart + t;
1032
+ m = l !== !0 && i < o && d < i + n.scrollViewSize ? i : u === "end" ? d - n.scrollViewSize : o - (u === "start" ? 0 : Math.round((n.scrollViewSize - f[r]) / 2));
1040
1033
  }
1041
- c = m, Et(t, m, i.virtualScrollHorizontal, s.lang.rtl), k(r);
1034
+ c = m, Ft(t, m, i.virtualScrollHorizontal, s.lang.rtl), re(r);
1042
1035
  });
1043
1036
  }
1044
- function ee(e) {
1037
+ function te(e) {
1045
1038
  let t = v.value;
1046
1039
  if (t) {
1047
- let n = St.call(t.children, (e) => e.classList && !e.classList.contains("q-virtual-scroll--skip")), r = n.length, a = i.virtualScrollHorizontal ? (e) => e.getBoundingClientRect().width : (e) => e.offsetHeight, o = e, s, c;
1040
+ let n = jt.call(t.children, (e) => e.classList && e.classList.contains("q-virtual-scroll--skip") === !1), r = n.length, a = i.virtualScrollHorizontal === !0 ? (e) => e.getBoundingClientRect().width : (e) => e.offsetHeight, o = e, s, c;
1048
1041
  for (let e = 0; e < r;) {
1049
- for (s = a(n[e]), e++; e < r && n[e].classList.contains("q-virtual-scroll--with-prev");) s += a(n[e]), e++;
1042
+ for (s = a(n[e]), e++; e < r && n[e].classList.contains("q-virtual-scroll--with-prev") === !0;) s += a(n[e]), e++;
1050
1043
  c = s - f[o], c !== 0 && (f[o] += c, d[Math.floor(o / $)] += c), o++;
1051
1044
  }
1052
1045
  }
1053
1046
  }
1054
- function te() {
1047
+ function ne() {
1055
1048
  v.value?.focus();
1056
1049
  }
1057
1050
  function D(t, n) {
1058
- let i = Number(r.value);
1059
- (n || !Array.isArray(f)) && (f = []);
1051
+ let i = 1 * r.value;
1052
+ (n === !0 || Array.isArray(f) === !1) && (f = []);
1060
1053
  let a = f.length;
1061
1054
  f.length = e.value;
1062
1055
  for (let t = e.value - 1; t >= a; t--) f[t] = i;
@@ -1067,17 +1060,17 @@ function At({ virtualScrollLength: e, getVirtualScrollTarget: t, getVirtualScrol
1067
1060
  for (let e = t * $; e < r; e++) n += f[e];
1068
1061
  d.push(n);
1069
1062
  }
1070
- l = -1, c = void 0, p.value = Dt(d, f, 0, y.value.from), m.value = Dt(d, f, y.value.to, e.value), t >= 0 ? (ee(y.value.from), W(() => {
1063
+ l = -1, c = void 0, p.value = It(d, f, 0, y.value.from), m.value = It(d, f, y.value.to, e.value), t >= 0 ? (te(y.value.from), W(() => {
1071
1064
  w(t);
1072
1065
  })) : A();
1073
1066
  }
1074
1067
  function O(e) {
1075
1068
  if (e === void 0 && typeof window < "u") {
1076
1069
  let r = t();
1077
- r != null && r.nodeType !== 8 && (e = Tt(r, n(), g.value, _.value, i.virtualScrollHorizontal, s.lang.rtl, i.virtualScrollStickySizeStart, i.virtualScrollStickySizeEnd).scrollViewSize);
1070
+ r != null && r.nodeType !== 8 && (e = Pt(r, n(), g.value, _.value, i.virtualScrollHorizontal, s.lang.rtl, i.virtualScrollStickySizeStart, i.virtualScrollStickySizeEnd).scrollViewSize);
1078
1071
  }
1079
1072
  u = e;
1080
- let a = Number.parseFloat(i.virtualScrollSliceRatioBefore) || 0, o = Number.parseFloat(i.virtualScrollSliceRatioAfter) || 0, c = 1 + a + o, l = e === void 0 || e <= 0 ? 1 : Math.ceil(e / r.value), d = Math.max(1, l, Math.ceil((i.virtualScrollSliceSize > 0 ? i.virtualScrollSliceSize : 10) / c));
1073
+ let a = parseFloat(i.virtualScrollSliceRatioBefore) || 0, o = parseFloat(i.virtualScrollSliceRatioAfter) || 0, c = 1 + a + o, l = e === void 0 || e <= 0 ? 1 : Math.ceil(e / r.value), d = Math.max(1, l, Math.ceil((i.virtualScrollSliceSize > 0 ? i.virtualScrollSliceSize : 10) / c));
1081
1074
  h.value = {
1082
1075
  total: Math.ceil(d * c),
1083
1076
  start: Math.ceil(d * a),
@@ -1086,8 +1079,8 @@ function At({ virtualScrollLength: e, getVirtualScrollTarget: t, getVirtualScrol
1086
1079
  view: l
1087
1080
  };
1088
1081
  }
1089
- function ne(e, t) {
1090
- let n = i.virtualScrollHorizontal ? "width" : "height", a = { ["--q-virtual-scroll-item-" + n]: r.value + "px" };
1082
+ function k(e, t) {
1083
+ let n = i.virtualScrollHorizontal === !0 ? "width" : "height", a = { ["--q-virtual-scroll-item-" + n]: r.value + "px" };
1091
1084
  return [
1092
1085
  e === "tbody" ? U(e, {
1093
1086
  class: "q-virtual-scroll__padding",
@@ -1135,7 +1128,7 @@ function At({ virtualScrollLength: e, getVirtualScrollTarget: t, getVirtualScrol
1135
1128
  })
1136
1129
  ];
1137
1130
  }
1138
- function k(e) {
1131
+ function re(e) {
1139
1132
  l !== e && (i.onVirtualScroll !== void 0 && a("virtualScroll", {
1140
1133
  index: e,
1141
1134
  from: y.value.from,
@@ -1145,56 +1138,56 @@ function At({ virtualScrollLength: e, getVirtualScrollTarget: t, getVirtualScrol
1145
1138
  }), l = e);
1146
1139
  }
1147
1140
  O();
1148
- let A = j(T, s.platform.is.ios ? 120 : 35);
1141
+ let A = ie(T, s.platform.is.ios === !0 ? 120 : 35);
1149
1142
  G(() => {
1150
1143
  O();
1151
1144
  });
1152
- let re = !1;
1145
+ let ae = !1;
1153
1146
  return K(() => {
1154
- re = !0;
1147
+ ae = !0;
1155
1148
  }), Ee(() => {
1156
- if (!re) return;
1149
+ if (ae !== !0) return;
1157
1150
  let e = t();
1158
- c !== void 0 && e != null && e.nodeType !== 8 ? Et(e, c, i.virtualScrollHorizontal, s.lang.rtl) : w(l);
1151
+ c !== void 0 && e != null && e.nodeType !== 8 ? Ft(e, c, i.virtualScrollHorizontal, s.lang.rtl) : w(l);
1159
1152
  }), De(() => {
1160
1153
  A.cancel();
1161
1154
  }), Object.assign(o, {
1162
1155
  scrollTo: w,
1163
- reset: S,
1164
- refresh: C
1156
+ reset: C,
1157
+ refresh: ee
1165
1158
  }), {
1166
1159
  virtualScrollSliceRange: y,
1167
1160
  virtualScrollSliceSizeComputed: h,
1168
1161
  setVirtualScrollSize: O,
1169
1162
  onVirtualScrollEvt: A,
1170
1163
  localResetVirtualScroll: D,
1171
- padVirtualScroll: ne,
1164
+ padVirtualScroll: k,
1172
1165
  scrollTo: w,
1173
- reset: S,
1174
- refresh: C
1166
+ reset: C,
1167
+ refresh: ee
1175
1168
  };
1176
1169
  }
1177
1170
  //#endregion
1178
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/is/is.js
1179
- function jt(e, t) {
1171
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/is/is.js
1172
+ function Bt(e, t) {
1180
1173
  if (e === t) return !0;
1181
1174
  if (e !== null && t !== null && typeof e == "object" && typeof t == "object") {
1182
1175
  if (e.constructor !== t.constructor) return !1;
1183
1176
  let n, r;
1184
1177
  if (e.constructor === Array) {
1185
1178
  if (n = e.length, n !== t.length) return !1;
1186
- for (r = n; r-- !== 0;) if (!jt(e[r], t[r])) return !1;
1179
+ for (r = n; r-- !== 0;) if (Bt(e[r], t[r]) !== !0) return !1;
1187
1180
  return !0;
1188
1181
  }
1189
1182
  if (e.constructor === Map) {
1190
1183
  if (e.size !== t.size) return !1;
1191
1184
  let n = e.entries();
1192
- for (r = n.next(); !r.done;) {
1193
- if (!t.has(r.value[0])) return !1;
1185
+ for (r = n.next(); r.done !== !0;) {
1186
+ if (t.has(r.value[0]) !== !0) return !1;
1194
1187
  r = n.next();
1195
1188
  }
1196
- for (n = e.entries(), r = n.next(); !r.done;) {
1197
- if (!jt(r.value[1], t.get(r.value[0]))) return !1;
1189
+ for (n = e.entries(), r = n.next(); r.done !== !0;) {
1190
+ if (Bt(r.value[1], t.get(r.value[0])) !== !0) return !1;
1198
1191
  r = n.next();
1199
1192
  }
1200
1193
  return !0;
@@ -1202,8 +1195,8 @@ function jt(e, t) {
1202
1195
  if (e.constructor === Set) {
1203
1196
  if (e.size !== t.size) return !1;
1204
1197
  let n = e.entries();
1205
- for (r = n.next(); !r.done;) {
1206
- if (!t.has(r.value[0])) return !1;
1198
+ for (r = n.next(); r.done !== !0;) {
1199
+ if (t.has(r.value[0]) !== !0) return !1;
1207
1200
  r = n.next();
1208
1201
  }
1209
1202
  return !0;
@@ -1220,40 +1213,38 @@ function jt(e, t) {
1220
1213
  if (n = i.length, n !== Object.keys(t).filter((e) => t[e] !== void 0).length) return !1;
1221
1214
  for (r = n; r-- !== 0;) {
1222
1215
  let n = i[r];
1223
- if (!jt(e[n], t[n])) return !1;
1216
+ if (Bt(e[n], t[n]) !== !0) return !1;
1224
1217
  }
1225
1218
  return !0;
1226
1219
  }
1227
1220
  return e !== e && t !== t;
1228
1221
  }
1229
1222
  //#endregion
1230
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/format/format.js
1231
- function Mt(e, t, n) {
1223
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/utils/format/format.js
1224
+ function Vt(e, t, n) {
1232
1225
  if (n <= t) return t;
1233
1226
  let r = n - t + 1, i = t + (e - t) % r;
1234
1227
  return i < t && (i = r + i), i === 0 ? 0 : i;
1235
1228
  }
1236
1229
  //#endregion
1237
- //#region node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/select/QSelect.js
1238
- var Nt = (e) => [
1230
+ //#region ../lilium/node_modules/.pnpm/quasar@2.18.1/node_modules/quasar/src/components/select/QSelect.js
1231
+ var Ht = (e) => [
1239
1232
  "add",
1240
1233
  "add-unique",
1241
1234
  "toggle"
1242
- ].includes(e), Pt = ".*+?^${}()|[]\\", Ft = Object.keys(ge);
1243
- function It(e, t) {
1235
+ ].includes(e), Ut = ".*+?^${}()|[]\\", Wt = Object.keys(P);
1236
+ function Gt(e, t) {
1244
1237
  if (typeof e == "function") return e;
1245
1238
  let n = e === void 0 ? t : e;
1246
1239
  return (e) => typeof e == "object" && e && n in e ? e[n] : e;
1247
1240
  }
1248
- //#endregion
1249
- //#region lib/utils/defaults/qSelect.js
1250
- V(C({
1241
+ var Kt = x({
1251
1242
  name: "QSelect",
1252
1243
  inheritAttrs: !1,
1253
1244
  props: {
1254
- ...kt,
1255
- ...ue,
1256
- ...ge,
1245
+ ...Rt,
1246
+ ...le,
1247
+ ...P,
1257
1248
  modelValue: { required: !0 },
1258
1249
  multiple: Boolean,
1259
1250
  displayValue: [String, Number],
@@ -1293,7 +1284,7 @@ V(C({
1293
1284
  useChips: Boolean,
1294
1285
  newValueMode: {
1295
1286
  type: String,
1296
- validator: Nt
1287
+ validator: Ht
1297
1288
  },
1298
1289
  mapOptions: Boolean,
1299
1290
  emitValue: Boolean,
@@ -1329,12 +1320,12 @@ V(C({
1329
1320
  ].includes(e),
1330
1321
  default: "default"
1331
1322
  },
1332
- virtualScrollItemSize: kt.virtualScrollItemSize.type,
1323
+ virtualScrollItemSize: Rt.virtualScrollItemSize.type,
1333
1324
  onNewValue: Function,
1334
1325
  onFilter: Function
1335
1326
  },
1336
1327
  emits: [
1337
- ...le,
1328
+ ...O,
1338
1329
  "add",
1339
1330
  "remove",
1340
1331
  "inputValue",
@@ -1346,55 +1337,55 @@ V(C({
1346
1337
  "filterAbort"
1347
1338
  ],
1348
1339
  setup(t, { slots: n, emit: r }) {
1349
- let { proxy: i } = Te(), { $q: a } = i, o = q(!1), s = q(!1), c = q(-1), l = q(""), u = q(!1), d = q(!1), f = null, p = null, m, h, g, _ = null, v, y, x, S, C = q(null), w = q(null), T = q(null), E = q(null), ee = q(null), D = te(t), O = oe(rt), j = H(() => Array.isArray(t.options) ? t.options.length : 0), { virtualScrollSliceRange: ie, virtualScrollSliceSizeComputed: M, localResetVirtualScroll: se, padVirtualScroll: ce, onVirtualScrollEvt: le, scrollTo: N, setVirtualScrollSize: P } = At({
1350
- virtualScrollLength: j,
1351
- getVirtualScrollTarget: $e,
1340
+ let { proxy: i } = Te(), { $q: a } = i, o = q(!1), s = q(!1), c = q(-1), l = q(""), u = q(!1), d = q(!1), f = null, p = null, m, h, g, v = null, y, x, S, C, ee = q(null), w = q(null), T = q(null), E = q(null), ne = q(null), D = te(t), O = oe(nt), A = H(() => Array.isArray(t.options) ? t.options.length : 0), { virtualScrollSliceRange: ie, virtualScrollSliceSizeComputed: ae, localResetVirtualScroll: M, padVirtualScroll: se, onVirtualScrollEvt: N, scrollTo: P, setVirtualScrollSize: F } = zt({
1341
+ virtualScrollLength: A,
1342
+ getVirtualScrollTarget: Qe,
1352
1343
  getVirtualScrollEl: Ze,
1353
- virtualScrollItemSizeComputed: H(() => t.virtualScrollItemSize === void 0 ? t.optionsDense ? 24 : 48 : t.virtualScrollItemSize)
1354
- }), F = A(), I = H(() => {
1355
- let e = t.mapOptions && !t.multiple, n = t.modelValue !== void 0 && (t.modelValue !== null || e) ? t.multiple && Array.isArray(t.modelValue) ? t.modelValue : [t.modelValue] : [];
1356
- if (t.mapOptions && Array.isArray(t.options)) {
1357
- let r = t.mapOptions && m !== void 0 ? m : [], i = n.map((e) => Ve(e, r));
1358
- return t.modelValue === null && e ? i.filter((e) => e !== null) : i;
1344
+ virtualScrollItemSizeComputed: H(() => t.virtualScrollItemSize === void 0 ? t.optionsDense === !0 ? 24 : 48 : t.virtualScrollItemSize)
1345
+ }), I = ge(), L = H(() => {
1346
+ let e = t.mapOptions === !0 && t.multiple !== !0, n = t.modelValue !== void 0 && (t.modelValue !== null || e === !0) ? t.multiple === !0 && Array.isArray(t.modelValue) ? t.modelValue : [t.modelValue] : [];
1347
+ if (t.mapOptions === !0 && Array.isArray(t.options) === !0) {
1348
+ let r = t.mapOptions === !0 && m !== void 0 ? m : [], i = n.map((e) => He(e, r));
1349
+ return t.modelValue === null && e === !0 ? i.filter((e) => e !== null) : i;
1359
1350
  }
1360
1351
  return n;
1361
- }), ue = H(() => {
1352
+ }), ce = H(() => {
1362
1353
  let e = {};
1363
- return Ft.forEach((n) => {
1354
+ return Wt.forEach((n) => {
1364
1355
  let r = t[n];
1365
1356
  r !== void 0 && (e[n] = r);
1366
1357
  }), e;
1367
- }), fe = H(() => t.optionsDark === null ? F.isDark.value : t.optionsDark), L = H(() => me(I.value)), pe = H(() => {
1358
+ }), le = H(() => t.optionsDark === null ? I.isDark.value : t.optionsDark), R = H(() => pe(L.value)), de = H(() => {
1368
1359
  let e = "q-field__input q-placeholder col";
1369
- return t.hideSelected || I.value.length === 0 ? [e, t.inputClass] : (e += " q-field__input--padding", t.inputClass === void 0 ? e : [e, t.inputClass]);
1370
- }), R = H(() => (t.virtualScrollHorizontal ? "q-virtual-scroll--horizontal" : "") + (t.popupContentClass ? " " + t.popupContentClass : "")), B = H(() => j.value === 0), he = H(() => I.value.map((e) => K.value(e)).join(", ")), ge = H(() => t.displayValue === void 0 ? he.value : t.displayValue), _e = H(() => t.optionsHtml ? () => !0 : (e) => e?.html === !0), ve = H(() => t.displayValueHtml || t.displayValue === void 0 && (t.optionsHtml || I.value.some(_e.value))), ye = H(() => F.focused.value ? t.tabindex : -1), be = H(() => {
1360
+ return t.hideSelected === !0 || L.value.length === 0 ? [e, t.inputClass] : (e += " q-field__input--padding", t.inputClass === void 0 ? e : [e, t.inputClass]);
1361
+ }), fe = H(() => (t.virtualScrollHorizontal === !0 ? "q-virtual-scroll--horizontal" : "") + (t.popupContentClass ? " " + t.popupContentClass : "")), z = H(() => A.value === 0), me = H(() => L.value.map((e) => K.value(e)).join(", ")), he = H(() => t.displayValue === void 0 ? me.value : t.displayValue), _e = H(() => t.optionsHtml === !0 ? () => !0 : (e) => e?.html === !0), ve = H(() => t.displayValueHtml === !0 || t.displayValue === void 0 && (t.optionsHtml === !0 || L.value.some(_e.value))), V = H(() => I.focused.value === !0 ? t.tabindex : -1), ye = H(() => {
1371
1362
  let e = {
1372
1363
  tabindex: t.tabindex,
1373
1364
  role: "combobox",
1374
1365
  "aria-label": t.label,
1375
- "aria-readonly": t.readonly ? "true" : "false",
1376
- "aria-autocomplete": t.useInput ? "list" : "none",
1377
- "aria-expanded": o.value ? "true" : "false",
1378
- "aria-controls": `${F.targetUid.value}_lb`
1366
+ "aria-readonly": t.readonly === !0 ? "true" : "false",
1367
+ "aria-autocomplete": t.useInput === !0 ? "list" : "none",
1368
+ "aria-expanded": o.value === !0 ? "true" : "false",
1369
+ "aria-controls": `${I.targetUid.value}_lb`
1379
1370
  };
1380
- return c.value >= 0 && (e["aria-activedescendant"] = `${F.targetUid.value}_${c.value}`), e;
1381
- }), xe = H(() => ({
1382
- id: `${F.targetUid.value}_lb`,
1371
+ return c.value >= 0 && (e["aria-activedescendant"] = `${I.targetUid.value}_${c.value}`), e;
1372
+ }), be = H(() => ({
1373
+ id: `${I.targetUid.value}_lb`,
1383
1374
  role: "listbox",
1384
- "aria-multiselectable": t.multiple ? "true" : "false"
1385
- })), Se = H(() => I.value.map((e, t) => ({
1375
+ "aria-multiselectable": t.multiple === !0 ? "true" : "false"
1376
+ })), xe = H(() => L.value.map((e, t) => ({
1386
1377
  index: t,
1387
1378
  opt: e,
1388
1379
  html: _e.value(e),
1389
1380
  selected: !0,
1390
- removeAtIndex: Ie,
1391
- toggleOption: Y,
1392
- tabindex: ye.value
1393
- }))), Ce = H(() => {
1394
- if (j.value === 0) return [];
1381
+ removeAtIndex: Le,
1382
+ toggleOption: ze,
1383
+ tabindex: V.value
1384
+ }))), Se = H(() => {
1385
+ if (A.value === 0) return [];
1395
1386
  let { from: e, to: n } = ie.value;
1396
1387
  return t.options.slice(e, n).map((n, r) => {
1397
- let i = je.value(n) === !0, s = He(n), l = e + r, u = {
1388
+ let i = je.value(n) === !0, s = Ue(n) === !0, l = e + r, u = {
1398
1389
  clickable: !0,
1399
1390
  active: s,
1400
1391
  activeClass: Ee.value,
@@ -1403,16 +1394,16 @@ V(C({
1403
1394
  disable: i,
1404
1395
  tabindex: -1,
1405
1396
  dense: t.optionsDense,
1406
- dark: fe.value,
1397
+ dark: le.value,
1407
1398
  role: "option",
1408
- "aria-selected": s ? "true" : "false",
1409
- id: `${F.targetUid.value}_${l}`,
1399
+ "aria-selected": s === !0 ? "true" : "false",
1400
+ id: `${I.targetUid.value}_${l}`,
1410
1401
  onClick: () => {
1411
- Y(n);
1402
+ ze(n);
1412
1403
  }
1413
1404
  };
1414
- return i || (c.value === l && (u.focused = !0), a.platform.is.desktop && (u.onMousemove = () => {
1415
- o.value && ze(l);
1405
+ return i !== !0 && (c.value === l && (u.focused = !0), a.platform.is.desktop === !0 && (u.onMousemove = () => {
1406
+ o.value === !0 && Be(l);
1416
1407
  })), {
1417
1408
  index: l,
1418
1409
  opt: n,
@@ -1420,86 +1411,88 @@ V(C({
1420
1411
  label: K.value(n),
1421
1412
  selected: u.active,
1422
1413
  focused: u.focused,
1423
- toggleOption: Y,
1424
- setOptionIndex: ze,
1414
+ toggleOption: ze,
1415
+ setOptionIndex: Be,
1425
1416
  itemProps: u
1426
1417
  };
1427
1418
  });
1428
- }), V = H(() => t.dropdownIcon === void 0 ? a.iconSet.arrow.dropdown : t.dropdownIcon), we = H(() => !t.optionsCover && !t.outlined && !t.standout && !t.borderless && !t.rounded), Ee = H(() => t.optionsSelectedClass === void 0 ? t.color === void 0 ? "" : `text-${t.color}` : t.optionsSelectedClass), G = H(() => It(t.optionValue, "value")), K = H(() => It(t.optionLabel, "label")), je = H(() => It(t.optionDisable, "disable")), Me = H(() => I.value.map(G.value)), Ne = H(() => {
1419
+ }), Ce = H(() => t.dropdownIcon === void 0 ? a.iconSet.arrow.dropdown : t.dropdownIcon), we = H(() => t.optionsCover === !1 && t.outlined !== !0 && t.standout !== !0 && t.borderless !== !0 && t.rounded !== !0), Ee = H(() => t.optionsSelectedClass === void 0 ? t.color === void 0 ? "" : `text-${t.color}` : t.optionsSelectedClass), G = H(() => Gt(t.optionValue, "value")), K = H(() => Gt(t.optionLabel, "label")), je = H(() => Gt(t.optionDisable, "disable")), Me = H(() => L.value.map(G.value)), Ne = H(() => {
1429
1420
  let e = {
1430
- onInput: rt,
1421
+ onInput: nt,
1431
1422
  onChange: O,
1432
1423
  onKeydown: Xe,
1433
1424
  onKeyup: Je,
1434
1425
  onKeypress: Ye,
1435
- onFocus: Ue,
1426
+ onFocus: We,
1436
1427
  onClick(e) {
1437
- h && z(e);
1428
+ h === !0 && B(e);
1438
1429
  }
1439
1430
  };
1440
1431
  return e.onCompositionstart = e.onCompositionupdate = e.onCompositionend = O, e;
1441
1432
  });
1442
- J(I, (e) => {
1443
- m = e, t.useInput && t.fillInput && !t.multiple && !F.innerLoading.value && (!s.value && !o.value || !L.value) && (g || Q(), (s.value || o.value) && Z(""));
1444
- }, { immediate: !0 }), J(() => t.fillInput, Q), J(o, _t), J(j, vt);
1433
+ J(L, (e) => {
1434
+ m = e, t.useInput === !0 && t.fillInput === !0 && t.multiple !== !0 && I.innerLoading.value !== !0 && (s.value !== !0 && o.value !== !0 || R.value !== !0) && (g !== !0 && _t(), (s.value === !0 || o.value === !0) && ot(""));
1435
+ }, { immediate: !0 }), J(() => t.fillInput, _t), J(o, Q), J(A, vt);
1445
1436
  function Pe(e) {
1446
- return t.emitValue ? G.value(e) : e;
1437
+ return t.emitValue === !0 ? G.value(e) : e;
1447
1438
  }
1448
1439
  function Fe(e) {
1449
- if (e !== -1 && e < I.value.length) if (t.multiple) {
1450
- let n = [...t.modelValue];
1451
- r("remove", {
1452
- index: e,
1453
- value: n.splice(e, 1)[0]
1454
- }), r("update:modelValue", n);
1455
- } else r("update:modelValue", null);
1440
+ if (e !== -1 && e < L.value.length) {
1441
+ if (t.multiple === !0) {
1442
+ let n = t.modelValue.slice();
1443
+ r("remove", {
1444
+ index: e,
1445
+ value: n.splice(e, 1)[0]
1446
+ }), r("update:modelValue", n);
1447
+ } else r("update:modelValue", null);
1448
+ }
1456
1449
  }
1457
- function Ie(e) {
1458
- Fe(e), F.focus();
1450
+ function Le(e) {
1451
+ Fe(e), I.focus();
1459
1452
  }
1460
1453
  function Re(e, n) {
1461
1454
  let i = Pe(e);
1462
- if (!t.multiple) {
1463
- t.fillInput && X(K.value(e), !0, !0), r("update:modelValue", i);
1455
+ if (t.multiple !== !0) {
1456
+ t.fillInput === !0 && it(K.value(e), !0, !0), r("update:modelValue", i);
1464
1457
  return;
1465
1458
  }
1466
- if (I.value.length === 0) {
1459
+ if (L.value.length === 0) {
1467
1460
  r("add", {
1468
1461
  index: 0,
1469
1462
  value: i
1470
- }), r("update:modelValue", t.multiple ? [i] : i);
1463
+ }), r("update:modelValue", t.multiple === !0 ? [i] : i);
1471
1464
  return;
1472
1465
  }
1473
- if (n && He(e) || t.maxValues !== void 0 && t.modelValue.length >= t.maxValues) return;
1474
- let a = [...t.modelValue];
1466
+ if (n === !0 && Ue(e) === !0 || t.maxValues !== void 0 && t.modelValue.length >= t.maxValues) return;
1467
+ let a = t.modelValue.slice();
1475
1468
  r("add", {
1476
1469
  index: a.length,
1477
1470
  value: i
1478
1471
  }), a.push(i), r("update:modelValue", a);
1479
1472
  }
1480
- function Y(e, n) {
1481
- if (!F.editable.value || e === void 0 || je.value(e) === !0) return;
1473
+ function ze(e, n) {
1474
+ if (I.editable.value !== !0 || e === void 0 || je.value(e) === !0) return;
1482
1475
  let i = G.value(e);
1483
- if (!t.multiple) {
1484
- n || (X(t.fillInput ? K.value(e) : "", !0, !0), gt()), w.value?.focus(), (I.value.length === 0 || !jt(G.value(I.value[0]), i)) && r("update:modelValue", t.emitValue ? i : e);
1476
+ if (t.multiple !== !0) {
1477
+ n !== !0 && (it(t.fillInput === !0 ? K.value(e) : "", !0, !0), Z()), w.value?.focus(), (L.value.length === 0 || Bt(G.value(L.value[0]), i) !== !0) && r("update:modelValue", t.emitValue === !0 ? i : e);
1485
1478
  return;
1486
1479
  }
1487
- if ((!h || u.value) && F.focus(), Ue(), I.value.length === 0) {
1488
- let n = t.emitValue ? i : e;
1480
+ if ((h !== !0 || u.value === !0) && I.focus(), We(), L.value.length === 0) {
1481
+ let n = t.emitValue === !0 ? i : e;
1489
1482
  r("add", {
1490
1483
  index: 0,
1491
1484
  value: n
1492
- }), r("update:modelValue", t.multiple ? [n] : n);
1485
+ }), r("update:modelValue", t.multiple === !0 ? [n] : n);
1493
1486
  return;
1494
1487
  }
1495
- let a = [...t.modelValue], o = Me.value.findIndex((e) => jt(e, i));
1488
+ let a = t.modelValue.slice(), o = Me.value.findIndex((e) => Bt(e, i));
1496
1489
  if (o !== -1) r("remove", {
1497
1490
  index: o,
1498
1491
  value: a.splice(o, 1)[0]
1499
1492
  });
1500
1493
  else {
1501
1494
  if (t.maxValues !== void 0 && a.length >= t.maxValues) return;
1502
- let n = t.emitValue ? i : e;
1495
+ let n = t.emitValue === !0 ? i : e;
1503
1496
  r("add", {
1504
1497
  index: a.length,
1505
1498
  value: n
@@ -1507,202 +1500,202 @@ V(C({
1507
1500
  }
1508
1501
  r("update:modelValue", a);
1509
1502
  }
1510
- function ze(e) {
1511
- if (!a.platform.is.desktop) return;
1512
- let t = e !== -1 && e < j.value ? e : -1;
1503
+ function Be(e) {
1504
+ if (a.platform.is.desktop !== !0) return;
1505
+ let t = e !== -1 && e < A.value ? e : -1;
1513
1506
  c.value !== t && (c.value = t);
1514
1507
  }
1515
- function Be(e = 1, n) {
1516
- if (o.value) {
1508
+ function Ve(e = 1, n) {
1509
+ if (o.value === !0) {
1517
1510
  let r = c.value;
1518
1511
  do
1519
- r = Mt(r + e, -1, j.value - 1);
1512
+ r = Vt(r + e, -1, A.value - 1);
1520
1513
  while (r !== -1 && r !== c.value && je.value(t.options[r]) === !0);
1521
- c.value !== r && (ze(r), N(r), !n && t.useInput && t.fillInput && it(r >= 0 ? K.value(t.options[r]) : v, !0));
1514
+ c.value !== r && (Be(r), P(r), n !== !0 && t.useInput === !0 && t.fillInput === !0 && rt(r >= 0 ? K.value(t.options[r]) : y, !0));
1522
1515
  }
1523
1516
  }
1524
- function Ve(e, n) {
1525
- let r = (t) => jt(G.value(t), e);
1517
+ function He(e, n) {
1518
+ let r = (t) => Bt(G.value(t), e);
1526
1519
  return t.options.find(r) || n.find(r) || e;
1527
1520
  }
1528
- function He(e) {
1521
+ function Ue(e) {
1529
1522
  let t = G.value(e);
1530
- return Me.value.find((e) => jt(e, t)) !== void 0;
1523
+ return Me.value.find((e) => Bt(e, t)) !== void 0;
1531
1524
  }
1532
- function Ue(e) {
1533
- t.useInput && w.value !== null && (e === void 0 || w.value === e.target && e.target.value === he.value) && w.value.select();
1525
+ function We(e) {
1526
+ t.useInput === !0 && w.value !== null && (e === void 0 || w.value === e.target && e.target.value === me.value) && w.value.select();
1534
1527
  }
1535
- function We(t) {
1536
- e(t, 27) && o.value && (z(t), gt(), Q()), r("keyup", t);
1528
+ function Y(e) {
1529
+ _(e, 27) === !0 && o.value === !0 && (B(e), Z(), _t()), r("keyup", e);
1537
1530
  }
1538
1531
  function Je(e) {
1539
1532
  let { value: n } = e.target;
1540
1533
  if (e.keyCode !== void 0) {
1541
- We(e);
1534
+ Y(e);
1542
1535
  return;
1543
1536
  }
1544
- if (e.target.value = "", f !== null && (clearTimeout(f), f = null), p !== null && (clearTimeout(p), p = null), Q(), typeof n == "string" && n.length !== 0) {
1537
+ if (e.target.value = "", f !== null && (clearTimeout(f), f = null), p !== null && (clearTimeout(p), p = null), _t(), typeof n == "string" && n.length !== 0) {
1545
1538
  let e = n.toLocaleLowerCase(), r = (n) => {
1546
1539
  let r = t.options.find((t) => String(n.value(t)).toLocaleLowerCase() === e);
1547
- return r === void 0 ? !1 : (I.value.includes(r) ? gt() : Y(r), !0);
1540
+ return r !== void 0 && (L.value.indexOf(r) === -1 ? ze(r) : Z(), !0);
1548
1541
  }, i = (e) => {
1549
- !r(G) && !e && !r(K) && Z(n, !0, () => i(!0));
1542
+ r(G) !== !0 && e !== !0 && r(K) !== !0 && ot(n, !0, () => i(!0));
1550
1543
  };
1551
1544
  i();
1552
- } else F.clearValue(e);
1545
+ } else I.clearValue(e);
1553
1546
  }
1554
1547
  function Ye(e) {
1555
1548
  r("keypress", e);
1556
1549
  }
1557
- function Xe(e) {
1558
- if (r("keydown", e), re(e)) return;
1559
- let n = l.value.length !== 0 && (t.newValueMode !== void 0 || t.onNewValue !== void 0), i = !e.shiftKey && !t.disableTabSelection && !t.multiple && (c.value !== -1 || n);
1560
- if (e.keyCode === 27) {
1561
- de(e);
1550
+ function Xe(n) {
1551
+ if (r("keydown", n), e(n) === !0) return;
1552
+ let i = l.value.length !== 0 && (t.newValueMode !== void 0 || t.onNewValue !== void 0), a = n.shiftKey !== !0 && t.disableTabSelection !== !0 && t.multiple !== !0 && (c.value !== -1 || i === !0);
1553
+ if (n.keyCode === 27) {
1554
+ ue(n);
1562
1555
  return;
1563
1556
  }
1564
- if (e.keyCode === 9 && !i) {
1565
- mt();
1557
+ if (n.keyCode === 9 && a === !1) {
1558
+ X();
1566
1559
  return;
1567
1560
  }
1568
- if (e.target === void 0 || e.target.id !== F.targetUid.value || !F.editable.value) return;
1569
- if (e.keyCode === 40 && !F.innerLoading.value && !o.value) {
1570
- k(e), ht();
1561
+ if (n.target === void 0 || n.target.id !== I.targetUid.value || I.editable.value !== !0) return;
1562
+ if (n.keyCode === 40 && I.innerLoading.value !== !0 && o.value === !1) {
1563
+ k(n), gt();
1571
1564
  return;
1572
1565
  }
1573
- if (e.keyCode === 8 && (t.useChips || t.clearable) && !t.hideSelected && l.value.length === 0) {
1574
- t.multiple && Array.isArray(t.modelValue) ? Fe(t.modelValue.length - 1) : !t.multiple && t.modelValue !== null && r("update:modelValue", null);
1566
+ if (n.keyCode === 8 && (t.useChips === !0 || t.clearable === !0) && t.hideSelected !== !0 && l.value.length === 0) {
1567
+ t.multiple === !0 && Array.isArray(t.modelValue) === !0 ? Fe(t.modelValue.length - 1) : t.multiple !== !0 && t.modelValue !== null && r("update:modelValue", null);
1575
1568
  return;
1576
1569
  }
1577
- (e.keyCode === 35 || e.keyCode === 36) && (typeof l.value != "string" || l.value.length === 0) && (k(e), c.value = -1, Be(e.keyCode === 36 ? 1 : -1, t.multiple)), (e.keyCode === 33 || e.keyCode === 34) && M.value !== void 0 && (k(e), c.value = Math.max(-1, Math.min(j.value, c.value + (e.keyCode === 33 ? -1 : 1) * M.value.view)), Be(e.keyCode === 33 ? 1 : -1, t.multiple)), (e.keyCode === 38 || e.keyCode === 40) && (k(e), Be(e.keyCode === 38 ? -1 : 1, t.multiple));
1578
- let a = j.value;
1579
- if ((x === void 0 || S < Date.now()) && (x = ""), a > 0 && !t.useInput && e.key !== void 0 && e.key.length === 1 && !e.altKey && !e.ctrlKey && !e.metaKey && (e.keyCode !== 32 || x.length !== 0)) {
1580
- o.value || ht(e);
1581
- let n = e.key.toLocaleLowerCase(), r = x.length === 1 && x[0] === n;
1582
- S = Date.now() + 1500, r || (k(e), x += n);
1583
- let i = RegExp("^" + [...x].map((e) => Pt.includes(e) ? "\\" + e : e).join(".*"), "i"), s = c.value;
1584
- if (r || s < 0 || !i.test(K.value(t.options[s]))) do
1585
- s = Mt(s + 1, -1, a - 1);
1586
- while (s !== c.value && (je.value(t.options[s]) === !0 || !i.test(K.value(t.options[s]))));
1587
- c.value !== s && W(() => {
1588
- ze(s), N(s), s >= 0 && t.useInput && t.fillInput && it(K.value(t.options[s]), !0);
1570
+ (n.keyCode === 35 || n.keyCode === 36) && (typeof l.value != "string" || l.value.length === 0) && (k(n), c.value = -1, Ve(n.keyCode === 36 ? 1 : -1, t.multiple)), (n.keyCode === 33 || n.keyCode === 34) && ae.value !== void 0 && (k(n), c.value = Math.max(-1, Math.min(A.value, c.value + (n.keyCode === 33 ? -1 : 1) * ae.value.view)), Ve(n.keyCode === 33 ? 1 : -1, t.multiple)), (n.keyCode === 38 || n.keyCode === 40) && (k(n), Ve(n.keyCode === 38 ? -1 : 1, t.multiple));
1571
+ let s = A.value;
1572
+ if ((S === void 0 || C < Date.now()) && (S = ""), s > 0 && t.useInput !== !0 && n.key !== void 0 && n.key.length === 1 && n.altKey === !1 && n.ctrlKey === !1 && n.metaKey === !1 && (n.keyCode !== 32 || S.length !== 0)) {
1573
+ o.value !== !0 && gt(n);
1574
+ let e = n.key.toLocaleLowerCase(), r = S.length === 1 && S[0] === e;
1575
+ C = Date.now() + 1500, r === !1 && (k(n), S += e);
1576
+ let i = RegExp("^" + S.split("").map((e) => Ut.indexOf(e) === -1 ? e : "\\" + e).join(".*"), "i"), a = c.value;
1577
+ if (r === !0 || a < 0 || i.test(K.value(t.options[a])) !== !0) do
1578
+ a = Vt(a + 1, -1, s - 1);
1579
+ while (a !== c.value && (je.value(t.options[a]) === !0 || i.test(K.value(t.options[a])) !== !0));
1580
+ c.value !== a && W(() => {
1581
+ Be(a), P(a), a >= 0 && t.useInput === !0 && t.fillInput === !0 && rt(K.value(t.options[a]), !0);
1589
1582
  });
1590
1583
  return;
1591
1584
  }
1592
- if (!(e.keyCode !== 13 && (e.keyCode !== 32 || t.useInput || x !== "") && (e.keyCode !== 9 || !i))) {
1593
- if (e.keyCode !== 9 && k(e), c.value !== -1 && c.value < a) {
1594
- Y(t.options[c.value]);
1585
+ if (n.keyCode === 13 || n.keyCode === 32 && t.useInput !== !0 && S === "" || n.keyCode === 9 && a !== !1) {
1586
+ if (n.keyCode !== 9 && k(n), c.value !== -1 && c.value < s) {
1587
+ ze(t.options[c.value]);
1595
1588
  return;
1596
1589
  }
1597
- if (n) {
1590
+ if (i === !0) {
1598
1591
  let e = (e, n) => {
1599
1592
  if (n) {
1600
- if (!Nt(n)) return;
1593
+ if (Ht(n) !== !0) return;
1601
1594
  } else n = t.newValueMode;
1602
- X("", !t.multiple, !0), e != null && ((n === "toggle" ? Y : Re)(e, n === "add-unique"), t.multiple || (w.value?.focus(), gt()));
1595
+ it("", t.multiple !== !0, !0), e != null && ((n === "toggle" ? ze : Re)(e, n === "add-unique"), t.multiple !== !0 && (w.value?.focus(), Z()));
1603
1596
  };
1604
- if (t.onNewValue === void 0 ? e(l.value) : r("newValue", l.value, e), !t.multiple) return;
1597
+ if (t.onNewValue === void 0 ? e(l.value) : r("newValue", l.value, e), t.multiple !== !0) return;
1605
1598
  }
1606
- o.value ? mt() : F.innerLoading.value || ht();
1599
+ o.value === !0 ? X() : I.innerLoading.value !== !0 && gt();
1607
1600
  }
1608
1601
  }
1609
1602
  function Ze() {
1610
- return h ? ee.value : T.value !== null && T.value.contentEl !== null ? T.value.contentEl : void 0;
1603
+ return h === !0 ? ne.value : T.value !== null && T.value.contentEl !== null ? T.value.contentEl : void 0;
1611
1604
  }
1612
- function $e() {
1605
+ function Qe() {
1613
1606
  return Ze();
1614
1607
  }
1615
- function et() {
1616
- return t.hideSelected ? [] : n["selected-item"] === void 0 ? n.selected === void 0 ? t.useChips ? Se.value.map((e, n) => U(Le, {
1608
+ function $e() {
1609
+ return t.hideSelected === !0 ? [] : n["selected-item"] === void 0 ? n.selected === void 0 ? t.useChips === !0 ? xe.value.map((e, n) => U(Ie, {
1617
1610
  key: "option-" + n,
1618
- removable: F.editable.value && je.value(e.opt) !== !0,
1611
+ removable: I.editable.value === !0 && je.value(e.opt) !== !0,
1619
1612
  dense: !0,
1620
1613
  textColor: t.color,
1621
- tabindex: ye.value,
1614
+ tabindex: V.value,
1622
1615
  onRemove() {
1623
1616
  e.removeAtIndex(n);
1624
1617
  }
1625
1618
  }, () => U("span", {
1626
1619
  class: "ellipsis",
1627
- [e.html ? "innerHTML" : "textContent"]: K.value(e.opt)
1620
+ [e.html === !0 ? "innerHTML" : "textContent"]: K.value(e.opt)
1628
1621
  }))) : [U("span", {
1629
1622
  class: "ellipsis",
1630
- [ve.value ? "innerHTML" : "textContent"]: ge.value
1631
- })] : [n.selected()].flat() : Se.value.map((e) => n["selected-item"](e));
1623
+ [ve.value === !0 ? "innerHTML" : "textContent"]: he.value
1624
+ })] : [].concat(n.selected()) : xe.value.map((e) => n["selected-item"](e)).slice();
1632
1625
  }
1633
- function tt() {
1634
- if (B.value) return n["no-option"] === void 0 ? void 0 : n["no-option"]({ inputValue: l.value });
1626
+ function et() {
1627
+ if (z.value === !0) return n["no-option"] === void 0 ? void 0 : n["no-option"]({ inputValue: l.value });
1635
1628
  let e = n.option === void 0 ? (e) => U(Ge, {
1636
1629
  key: e.index,
1637
1630
  ...e.itemProps
1638
- }, () => U(Ke, () => U(qe, () => U("span", { [e.html ? "innerHTML" : "textContent"]: e.label })))) : n.option, t = ce("div", Ce.value.map(e));
1639
- return n["before-options"] !== void 0 && (t = [n["before-options"](), ...t].flat()), b(n["after-options"], t);
1631
+ }, () => U(Ke, () => U(qe, () => U("span", { [e.html === !0 ? "innerHTML" : "textContent"]: e.label })))) : n.option, t = se("div", Se.value.map(e));
1632
+ return n["before-options"] !== void 0 && (t = n["before-options"]().concat(t)), b(n["after-options"], t);
1640
1633
  }
1641
- function nt(e, n) {
1642
- let r = n ? {
1643
- ...be.value,
1644
- ...F.splitAttrs.attributes.value
1634
+ function tt(e, n) {
1635
+ let r = n === !0 ? {
1636
+ ...ye.value,
1637
+ ...I.splitAttrs.attributes.value
1645
1638
  } : void 0, i = {
1646
- ref: n ? w : void 0,
1639
+ ref: n === !0 ? w : void 0,
1647
1640
  key: "i_t",
1648
- class: pe.value,
1641
+ class: de.value,
1649
1642
  style: t.inputStyle,
1650
1643
  value: l.value === void 0 ? "" : l.value,
1651
1644
  type: "search",
1652
1645
  ...r,
1653
- id: n ? F.targetUid.value : void 0,
1646
+ id: n === !0 ? I.targetUid.value : void 0,
1654
1647
  maxlength: t.maxlength,
1655
1648
  autocomplete: t.autocomplete,
1656
- "data-autofocus": e === !0 || t.autofocus || void 0,
1657
- disabled: t.disable,
1658
- readonly: t.readonly,
1649
+ "data-autofocus": e === !0 || t.autofocus === !0 || void 0,
1650
+ disabled: t.disable === !0,
1651
+ readonly: t.readonly === !0,
1659
1652
  ...Ne.value
1660
1653
  };
1661
- return !e && h && (Array.isArray(i.class) ? i.class = [...i.class, "no-pointer-events"] : i.class += " no-pointer-events"), U("input", i);
1654
+ return e !== !0 && h === !0 && (Array.isArray(i.class) === !0 ? i.class = [...i.class, "no-pointer-events"] : i.class += " no-pointer-events"), U("input", i);
1662
1655
  }
1663
- function rt(e) {
1664
- f !== null && (clearTimeout(f), f = null), p !== null && (clearTimeout(p), p = null), !e?.target?.qComposing && (it(e.target.value || ""), g = !0, v = l.value, !F.focused.value && (!h || u.value) && F.focus(), t.onFilter !== void 0 && (f = setTimeout(() => {
1665
- f = null, Z(l.value);
1656
+ function nt(e) {
1657
+ f !== null && (clearTimeout(f), f = null), p !== null && (clearTimeout(p), p = null), !(e && e.target && e.target.qComposing === !0) && (rt(e.target.value || ""), g = !0, y = l.value, I.focused.value !== !0 && (h !== !0 || u.value === !0) && I.focus(), t.onFilter !== void 0 && (f = setTimeout(() => {
1658
+ f = null, ot(l.value);
1666
1659
  }, t.inputDebounce)));
1667
1660
  }
1668
- function it(e, n) {
1669
- l.value !== e && (p !== null && (clearTimeout(p), p = null), l.value = e, n || t.inputDebounce === 0 || t.inputDebounce === "0" ? r("inputValue", e) : p = setTimeout(() => {
1661
+ function rt(e, n) {
1662
+ l.value !== e && (l.value = e, n === !0 || t.inputDebounce === 0 || t.inputDebounce === "0" ? r("inputValue", e) : p = setTimeout(() => {
1670
1663
  p = null, r("inputValue", e);
1671
1664
  }, t.inputDebounce));
1672
1665
  }
1673
- function X(e, n, r) {
1674
- g = r !== !0, t.useInput && (it(e, !0), (n || g) && (v = e), n || Z(e));
1666
+ function it(e, n, r) {
1667
+ g = r !== !0, t.useInput === !0 && (rt(e, !0), (n === !0 || r !== !0) && (y = e), n !== !0 && ot(e));
1675
1668
  }
1676
- function Z(e, n, a) {
1677
- if (t.onFilter === void 0 || !n && !F.focused.value) return;
1678
- F.innerLoading.value ? r("filterAbort") : (F.innerLoading.value = !0, d.value = !0), e !== "" && !t.multiple && I.value.length !== 0 && !g && e === K.value(I.value[0]) && (e = "");
1669
+ function ot(e, n, a) {
1670
+ if (t.onFilter === void 0 || n !== !0 && I.focused.value !== !0) return;
1671
+ I.innerLoading.value === !0 ? r("filterAbort") : (I.innerLoading.value = !0, d.value = !0), e !== "" && t.multiple !== !0 && L.value.length !== 0 && g !== !0 && e === K.value(L.value[0]) && (e = "");
1679
1672
  let s = setTimeout(() => {
1680
- o.value &&= !1;
1673
+ o.value === !0 && (o.value = !1);
1681
1674
  }, 10);
1682
- _ !== null && clearTimeout(_), _ = s, r("filter", e, (e, t) => {
1683
- (n || F.focused.value) && _ === s && (clearTimeout(_), typeof e == "function" && e(), d.value = !1, W(() => {
1684
- F.innerLoading.value = !1, F.editable.value && (n ? o.value && gt() : o.value ? _t(!0) : o.value = !0), typeof t == "function" && W(() => {
1675
+ v !== null && clearTimeout(v), v = s, r("filter", e, (e, t) => {
1676
+ (n === !0 || I.focused.value === !0) && v === s && (clearTimeout(v), typeof e == "function" && e(), d.value = !1, W(() => {
1677
+ I.innerLoading.value = !1, I.editable.value === !0 && (n === !0 ? o.value === !0 && Z() : o.value === !0 ? Q(!0) : o.value = !0), typeof t == "function" && W(() => {
1685
1678
  t(i);
1686
1679
  }), typeof a == "function" && W(() => {
1687
1680
  a(i);
1688
1681
  });
1689
1682
  }));
1690
1683
  }, () => {
1691
- F.focused.value && _ === s && (clearTimeout(_), F.innerLoading.value = !1, d.value = !1), o.value &&= !1;
1684
+ I.focused.value === !0 && v === s && (clearTimeout(v), I.innerLoading.value = !1, d.value = !1), o.value === !0 && (o.value = !1);
1692
1685
  });
1693
1686
  }
1694
- function at() {
1695
- return U(Qe, {
1687
+ function st() {
1688
+ return U(at, {
1696
1689
  ref: T,
1697
- class: R.value,
1690
+ class: fe.value,
1698
1691
  style: t.popupContentStyle,
1699
1692
  modelValue: o.value,
1700
- fit: !t.menuShrink,
1701
- cover: t.optionsCover && !B.value && !t.useInput,
1693
+ fit: t.menuShrink !== !0,
1694
+ cover: t.optionsCover === !0 && z.value !== !0 && t.useInput !== !0,
1702
1695
  anchor: t.menuAnchor,
1703
1696
  self: t.menuSelf,
1704
1697
  offset: t.menuOffset,
1705
- dark: fe.value,
1698
+ dark: le.value,
1706
1699
  noParentEvent: !0,
1707
1700
  noRefocus: !0,
1708
1701
  noFocus: !0,
@@ -1712,193 +1705,193 @@ V(C({
1712
1705
  transitionHide: t.transitionHide,
1713
1706
  transitionDuration: t.transitionDuration,
1714
1707
  separateClosePopup: !0,
1715
- ...xe.value,
1716
- onScrollPassive: le,
1717
- onBeforeShow: $,
1718
- onBeforeHide: ot,
1719
- onShow: st
1720
- }, tt);
1708
+ ...be.value,
1709
+ onScrollPassive: N,
1710
+ onBeforeShow: bt,
1711
+ onBeforeHide: ct,
1712
+ onShow: lt
1713
+ }, et);
1721
1714
  }
1722
- function ot(e) {
1723
- xt(e), mt();
1715
+ function ct(e) {
1716
+ xt(e), X();
1724
1717
  }
1725
- function st() {
1726
- P();
1718
+ function lt() {
1719
+ F();
1727
1720
  }
1728
- function ct(e) {
1729
- z(e), w.value?.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
1721
+ function ut(e) {
1722
+ B(e), w.value?.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
1730
1723
  }
1731
- function lt(e) {
1732
- z(e), W(() => {
1724
+ function dt(e) {
1725
+ B(e), W(() => {
1733
1726
  u.value = !1;
1734
1727
  });
1735
1728
  }
1736
- function ut() {
1729
+ function ft() {
1737
1730
  let e = [U(Ae, {
1738
- class: `col-auto ${F.fieldClass.value}`,
1739
- ...ue.value,
1740
- for: F.targetUid.value,
1741
- dark: fe.value,
1731
+ class: `col-auto ${I.fieldClass.value}`,
1732
+ ...ce.value,
1733
+ for: I.targetUid.value,
1734
+ dark: le.value,
1742
1735
  square: !0,
1743
1736
  loading: d.value,
1744
1737
  itemAligned: !1,
1745
1738
  filled: !0,
1746
1739
  stackLabel: l.value.length !== 0,
1747
- ...F.splitAttrs.listeners.value,
1748
- onFocus: ct,
1749
- onBlur: lt
1740
+ ...I.splitAttrs.listeners.value,
1741
+ onFocus: ut,
1742
+ onBlur: dt
1750
1743
  }, {
1751
1744
  ...n,
1752
- rawControl: () => F.getControl(!0),
1745
+ rawControl: () => I.getControl(!0),
1753
1746
  before: void 0,
1754
1747
  after: void 0
1755
1748
  })];
1756
- return o.value && e.push(U("div", {
1757
- ref: ee,
1758
- class: R.value + " scroll",
1749
+ return o.value === !0 && e.push(U("div", {
1750
+ ref: ne,
1751
+ class: fe.value + " scroll",
1759
1752
  style: t.popupContentStyle,
1760
- ...xe.value,
1761
- onClick: de,
1762
- onScrollPassive: le
1763
- }, tt())), U(yt, {
1753
+ ...be.value,
1754
+ onClick: ue,
1755
+ onScrollPassive: N
1756
+ }, et())), U(Ot, {
1764
1757
  ref: E,
1765
1758
  modelValue: s.value,
1766
- position: t.useInput ? "top" : void 0,
1767
- transitionShow: y,
1759
+ position: t.useInput === !0 ? "top" : void 0,
1760
+ transitionShow: x,
1768
1761
  transitionHide: t.transitionHide,
1769
1762
  transitionDuration: t.transitionDuration,
1770
1763
  noRouteDismiss: t.popupNoRouteDismiss,
1771
- onBeforeShow: $,
1772
- onBeforeHide: dt,
1773
- onHide: ft,
1774
- onShow: pt
1775
- }, () => U("div", { class: "q-select__dialog" + (fe.value ? " q-select__dialog--dark q-dark" : "") + (u.value ? " q-select__dialog--focused" : "") }, e));
1764
+ onBeforeShow: bt,
1765
+ onBeforeHide: pt,
1766
+ onHide: mt,
1767
+ onShow: ht
1768
+ }, () => U("div", { class: "q-select__dialog" + (le.value === !0 ? " q-select__dialog--dark q-dark" : "") + (u.value === !0 ? " q-select__dialog--focused" : "") }, e));
1776
1769
  }
1777
- function dt(e) {
1778
- xt(e), E.value !== null && E.value.__updateRefocusTarget(F.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")), F.focused.value = !1;
1770
+ function pt(e) {
1771
+ xt(e), E.value !== null && E.value.__updateRefocusTarget(I.rootRef.value.querySelector(".q-field__native > [tabindex]:last-child")), I.focused.value = !1;
1779
1772
  }
1780
- function ft(e) {
1781
- gt(), F.focused.value || r("blur", e), Q();
1773
+ function mt(e) {
1774
+ Z(), I.focused.value === !1 && r("blur", e), _t();
1782
1775
  }
1783
- function pt() {
1776
+ function ht() {
1784
1777
  let e = document.activeElement;
1785
- (e === null || e.id !== F.targetUid.value) && w.value !== null && w.value !== e && w.value.focus(), P();
1778
+ (e === null || e.id !== I.targetUid.value) && w.value !== null && w.value !== e && w.value.focus(), F();
1786
1779
  }
1787
- function mt() {
1788
- s.value || (c.value = -1, o.value &&= !1, F.focused.value || (_ !== null && (clearTimeout(_), _ = null), F.innerLoading.value && (r("filterAbort"), F.innerLoading.value = !1, d.value = !1)));
1780
+ function X() {
1781
+ s.value !== !0 && (c.value = -1, o.value === !0 && (o.value = !1), I.focused.value === !1 && (v !== null && (clearTimeout(v), v = null), I.innerLoading.value === !0 && (r("filterAbort"), I.innerLoading.value = !1, d.value = !1)));
1789
1782
  }
1790
- function ht(e) {
1791
- F.editable.value && (h ? (F.onControlFocusin(e), s.value = !0, W(() => {
1792
- F.focus();
1793
- })) : F.focus(), t.onFilter === void 0 ? (!B.value || n["no-option"] !== void 0) && (o.value = !0) : Z(l.value));
1783
+ function gt(e) {
1784
+ I.editable.value === !0 && (h === !0 ? (I.onControlFocusin(e), s.value = !0, W(() => {
1785
+ I.focus();
1786
+ })) : I.focus(), t.onFilter === void 0 ? (z.value !== !0 || n["no-option"] !== void 0) && (o.value = !0) : ot(l.value));
1794
1787
  }
1795
- function gt() {
1796
- s.value = !1, mt();
1788
+ function Z() {
1789
+ s.value = !1, X();
1797
1790
  }
1798
- function Q() {
1799
- t.useInput && X(!t.multiple && t.fillInput && I.value.length !== 0 && K.value(I.value[0]) || "", !0, !0);
1791
+ function _t() {
1792
+ t.useInput === !0 && it(t.multiple !== !0 && t.fillInput === !0 && L.value.length !== 0 && K.value(L.value[0]) || "", !0, !0);
1800
1793
  }
1801
- function _t(e) {
1794
+ function Q(e) {
1802
1795
  let n = -1;
1803
- if (e) {
1804
- if (I.value.length !== 0) {
1805
- let e = G.value(I.value[0]);
1806
- n = t.options.findIndex((t) => jt(G.value(t), e));
1796
+ if (e === !0) {
1797
+ if (L.value.length !== 0) {
1798
+ let e = G.value(L.value[0]);
1799
+ n = t.options.findIndex((t) => Bt(G.value(t), e));
1807
1800
  }
1808
- se(n);
1801
+ M(n);
1809
1802
  }
1810
- ze(n);
1803
+ Be(n);
1811
1804
  }
1812
1805
  function vt(e, t) {
1813
- o.value && !F.innerLoading.value && (se(-1, !0), W(() => {
1814
- o.value && !F.innerLoading.value && (e > t ? se() : _t(!0));
1806
+ o.value === !0 && I.innerLoading.value === !1 && (M(-1, !0), W(() => {
1807
+ o.value === !0 && I.innerLoading.value === !1 && (e > t ? M() : Q(!0));
1815
1808
  }));
1816
1809
  }
1817
- function bt() {
1818
- s.value || T.value?.updatePosition();
1810
+ function yt() {
1811
+ s.value === !1 && T.value !== null && T.value.updatePosition();
1819
1812
  }
1820
- function $(e) {
1821
- e !== void 0 && z(e), r("popupShow", e), F.hasPopupOpen = !0, F.onControlFocusin(e);
1813
+ function bt(e) {
1814
+ e !== void 0 && B(e), r("popupShow", e), I.hasPopupOpen = !0, I.onControlFocusin(e);
1822
1815
  }
1823
1816
  function xt(e) {
1824
- e !== void 0 && z(e), r("popupHide", e), F.hasPopupOpen = !1, F.onControlFocusout(e);
1817
+ e !== void 0 && B(e), r("popupHide", e), I.hasPopupOpen = !1, I.onControlFocusout(e);
1825
1818
  }
1826
1819
  function St() {
1827
- h = !a.platform.is.mobile && t.behavior !== "dialog" ? !1 : t.behavior !== "menu" && (!t.useInput || n["no-option"] !== void 0 || t.onFilter !== void 0 || !B.value), y = a.platform.is.ios && h && t.useInput ? "fade" : t.transitionShow;
1820
+ h = a.platform.is.mobile !== !0 && t.behavior !== "dialog" ? !1 : t.behavior !== "menu" && (t.useInput !== !0 || n["no-option"] !== void 0 || t.onFilter !== void 0 || z.value === !1), x = a.platform.is.ios === !0 && h === !0 && t.useInput === !0 ? "fade" : t.transitionShow;
1828
1821
  }
1829
- return Oe(St), ke(bt), St(), De(() => {
1822
+ return Oe(St), ke(yt), St(), De(() => {
1830
1823
  f !== null && clearTimeout(f), p !== null && clearTimeout(p);
1831
1824
  }), Object.assign(i, {
1832
- showPopup: ht,
1833
- hidePopup: gt,
1825
+ showPopup: gt,
1826
+ hidePopup: Z,
1834
1827
  removeAtIndex: Fe,
1835
1828
  add: Re,
1836
- toggleOption: Y,
1829
+ toggleOption: ze,
1837
1830
  getOptionIndex: () => c.value,
1838
- setOptionIndex: ze,
1839
- moveOptionSelection: Be,
1840
- filter: Z,
1841
- updateMenuPosition: bt,
1842
- updateInputValue: X,
1843
- isOptionSelected: He,
1831
+ setOptionIndex: Be,
1832
+ moveOptionSelection: Ve,
1833
+ filter: ot,
1834
+ updateMenuPosition: yt,
1835
+ updateInputValue: it,
1836
+ isOptionSelected: Ue,
1844
1837
  getEmittingOptionValue: Pe,
1845
- isOptionDisabled: (...e) => je.value(...e) === !0,
1846
- getOptionValue: (...e) => G.value(...e),
1847
- getOptionLabel: (...e) => K.value(...e)
1848
- }), Object.assign(F, {
1849
- innerValue: I,
1850
- fieldClass: H(() => `q-select q-field--auto-height q-select--with${t.useInput ? "" : "out"}-input q-select--with${t.useChips ? "" : "out"}-chips q-select--${t.multiple ? "multiple" : "single"}`),
1851
- inputRef: C,
1838
+ isOptionDisabled: (...e) => je.value.apply(null, e) === !0,
1839
+ getOptionValue: (...e) => G.value.apply(null, e),
1840
+ getOptionLabel: (...e) => K.value.apply(null, e)
1841
+ }), Object.assign(I, {
1842
+ innerValue: L,
1843
+ fieldClass: H(() => `q-select q-field--auto-height q-select--with${t.useInput === !0 ? "" : "out"}-input q-select--with${t.useChips === !0 ? "" : "out"}-chips q-select--${t.multiple === !0 ? "multiple" : "single"}`),
1844
+ inputRef: ee,
1852
1845
  targetRef: w,
1853
- hasValue: L,
1854
- showPopup: ht,
1855
- floatingLabel: H(() => !t.hideSelected && L.value || typeof l.value == "number" || l.value.length !== 0 || me(t.displayValue)),
1846
+ hasValue: R,
1847
+ showPopup: gt,
1848
+ floatingLabel: H(() => t.hideSelected !== !0 && R.value === !0 || typeof l.value == "number" || l.value.length !== 0 || pe(t.displayValue)),
1856
1849
  getControlChild: () => {
1857
- if (F.editable.value && (s.value || !B.value || n["no-option"] !== void 0)) return h ? ut() : at();
1858
- F.hasPopupOpen &&= !1;
1850
+ if (I.editable.value !== !1 && (s.value === !0 || z.value !== !0 || n["no-option"] !== void 0)) return h === !0 ? ft() : st();
1851
+ I.hasPopupOpen === !0 && (I.hasPopupOpen = !1);
1859
1852
  },
1860
1853
  controlEvents: {
1861
1854
  onFocusin(e) {
1862
- F.onControlFocusin(e);
1855
+ I.onControlFocusin(e);
1863
1856
  },
1864
1857
  onFocusout(e) {
1865
- F.onControlFocusout(e, () => {
1866
- Q(), mt();
1858
+ I.onControlFocusout(e, () => {
1859
+ _t(), X();
1867
1860
  });
1868
1861
  },
1869
1862
  onClick(e) {
1870
- if (de(e), !h && o.value) {
1871
- mt(), w.value?.focus();
1863
+ if (ue(e), h !== !0 && o.value === !0) {
1864
+ X(), w.value?.focus();
1872
1865
  return;
1873
1866
  }
1874
- ht(e);
1867
+ gt(e);
1875
1868
  }
1876
1869
  },
1877
1870
  getControl: (e) => {
1878
- let n = et(), r = e === !0 || !s.value || !h;
1879
- if (t.useInput) n.push(nt(e, r));
1880
- else if (F.editable.value) {
1881
- let i = r ? be.value : void 0;
1871
+ let n = $e(), r = e === !0 || s.value !== !0 || h !== !0;
1872
+ if (t.useInput === !0) n.push(tt(e, r));
1873
+ else if (I.editable.value === !0) {
1874
+ let i = r === !0 ? ye.value : void 0;
1882
1875
  n.push(U("input", {
1883
- ref: r ? w : void 0,
1876
+ ref: r === !0 ? w : void 0,
1884
1877
  key: "d_t",
1885
1878
  class: "q-select__focus-target",
1886
- id: r ? F.targetUid.value : void 0,
1887
- value: ge.value,
1879
+ id: r === !0 ? I.targetUid.value : void 0,
1880
+ value: he.value,
1888
1881
  readonly: !0,
1889
- "data-autofocus": e === !0 || t.autofocus || void 0,
1882
+ "data-autofocus": e === !0 || t.autofocus === !0 || void 0,
1890
1883
  ...i,
1891
1884
  onKeydown: Xe,
1892
- onKeyup: We,
1885
+ onKeyup: Y,
1893
1886
  onKeypress: Ye
1894
- })), r && typeof t.autocomplete == "string" && t.autocomplete.length !== 0 && n.push(U("input", {
1887
+ })), r === !0 && typeof t.autocomplete == "string" && t.autocomplete.length !== 0 && n.push(U("input", {
1895
1888
  class: "q-select__autocomplete-input",
1896
1889
  autocomplete: t.autocomplete,
1897
1890
  tabindex: -1,
1898
1891
  onKeyup: Je
1899
1892
  }));
1900
1893
  }
1901
- if (D.value !== void 0 && !t.disable && Me.value.length !== 0) {
1894
+ if (D.value !== void 0 && t.disable !== !0 && Me.value.length !== 0) {
1902
1895
  let e = Me.value.map((e) => U("option", {
1903
1896
  value: e,
1904
1897
  selected: !0
@@ -1909,24 +1902,28 @@ V(C({
1909
1902
  multiple: t.multiple
1910
1903
  }, e));
1911
1904
  }
1905
+ let i = t.useInput === !0 || r !== !0 ? void 0 : I.splitAttrs.attributes.value;
1912
1906
  return U("div", {
1913
1907
  class: "q-field__native row items-center",
1914
- ...t.useInput || !r ? void 0 : F.splitAttrs.attributes.value,
1915
- ...F.splitAttrs.listeners.value
1908
+ ...i,
1909
+ ...I.splitAttrs.listeners.value
1916
1910
  }, n);
1917
1911
  },
1918
- getInnerAppend: () => !t.loading && !d.value && !t.hideDropdownIcon ? [U(ae, {
1919
- class: "q-select__dropdown-icon" + (o.value ? " rotate-180" : ""),
1920
- name: V.value
1912
+ getInnerAppend: () => t.loading !== !0 && d.value !== !0 && t.hideDropdownIcon !== !0 ? [U(j, {
1913
+ class: "q-select__dropdown-icon" + (o.value === !0 ? " rotate-180" : ""),
1914
+ name: Ce.value
1921
1915
  })] : null
1922
- }), ne(F);
1916
+ }), re(I);
1923
1917
  }
1924
- }), "dense", !0);
1918
+ });
1919
+ //#endregion
1920
+ //#region lib/utils/defaults/qSelect.js
1921
+ Ce(Kt, "dense", !0);
1925
1922
  //#endregion
1926
1923
  //#region lib/main.js
1927
- function Lt(e) {
1928
- for (let t in B) e.component(t, B[t]);
1924
+ function qt(e) {
1925
+ for (let t in me) e.component(t, me[t]);
1929
1926
  }
1930
- var Rt = { install: Lt };
1927
+ var Jt = { install: qt };
1931
1928
  //#endregion
1932
- export { F as VnInput, Rt as default, V as setDefault, Ce as useRequired, Se as useValidator };
1929
+ export { L as VnInput, Jt as default, Ce as setDefault, Se as useRequired, xe as useValidator };