@verdnatura/vn-front-lib 0.0.5 → 0.0.6

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.
@@ -0,0 +1,2473 @@
1
+ import { t as e } from "./useRequired-CTxBp3qy.js";
2
+ import { Teleport as t, Transition as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, h as f, inject as p, markRaw as m, mergeModels as h, mergeProps as g, nextTick as _, normalizeStyle as v, onActivated as y, onBeforeUnmount as b, onBeforeUpdate as x, onDeactivated as S, onMounted as C, onUnmounted as w, openBlock as T, reactive as E, ref as D, renderSlot as O, toDisplayString as k, unref as A, useAttrs as ee, useModel as j, watch as M, withCtx as N } from "vue";
3
+ import { useI18n as P } from "vue-i18n";
4
+ //#region \0rolldown/runtime.js
5
+ var F = Object.defineProperty, I = (e, t) => {
6
+ let n = {};
7
+ for (var r in e) F(n, r, {
8
+ get: e[r],
9
+ enumerable: !0
10
+ });
11
+ return t || F(n, Symbol.toStringTag, { value: "Module" }), n;
12
+ };
13
+ //#endregion
14
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js
15
+ function L(e, t, n, r) {
16
+ return Object.defineProperty(e, t, {
17
+ get: n,
18
+ set: r,
19
+ enumerable: !0
20
+ }), e;
21
+ }
22
+ //#endregion
23
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/plugins/platform/Platform.js
24
+ var R = D(!1), z, B = 512;
25
+ function te(e) {
26
+ return typeof e == "string" ? e.slice(0, B).toLowerCase() : "";
27
+ }
28
+ var V = /(?:^|\s)version\/([\w.]+)/, H = /(?:^|\s)applewebkit\/[\w.]+/, ne = /(?:^|\s)safari\/[\w.]+/;
29
+ function U(e) {
30
+ let t = V.exec(e);
31
+ return t !== null && H.test(e) && ne.test(e) ? {
32
+ browser: "safari",
33
+ version: t[1]
34
+ } : null;
35
+ }
36
+ var re = /(?:^|\s)opera\/([\w.]+)/, ie = /(?:^|\s)version\/([\w.]+)/;
37
+ function ae(e) {
38
+ let t = re.exec(e);
39
+ return t === null ? null : {
40
+ browser: "opera",
41
+ version: ie.exec(e)?.[1] || t[1]
42
+ };
43
+ }
44
+ var oe = /(edg|edge|edga|edgios)\/([\w.]+)/, se = /(opr)[\/]([\w.]+)/, ce = /(vivaldi)[\/]([\w.]+)/, le = /(chrome|crios)[\/]([\w.]+)/, ue = /(firefox|fxios)[\/]([\w.]+)/, de = /(webkit)[\/]([\w.]+)/;
45
+ function fe(e, t) {
46
+ let n = oe.exec(e) || se.exec(e) || ce.exec(e) || le.exec(e);
47
+ if (n === null) {
48
+ let r = U(e);
49
+ if (r !== null) return {
50
+ ...r,
51
+ platform: t[0] || ""
52
+ };
53
+ if (n = ue.exec(e) || de.exec(e), n === null) {
54
+ let r = ae(e);
55
+ if (r !== null) return {
56
+ ...r,
57
+ platform: t[0] || ""
58
+ };
59
+ n = [];
60
+ }
61
+ }
62
+ return {
63
+ browser: n[5] || n[3] || n[1] || "",
64
+ version: n[4] || n[2] || "0",
65
+ platform: t[0] || ""
66
+ };
67
+ }
68
+ var pe = /(ipad)/, me = /(ipod)/, he = /(iphone)/, ge = /(windows phone)/, _e = /(kindle)/, ve = /(silk)/, ye = /(android)/, be = /(win)/, xe = /(mac)/, Se = /(linux)/, Ce = /(cros)/;
69
+ function we(e) {
70
+ return pe.exec(e) || me.exec(e) || ge.exec(e) || he.exec(e) || _e.exec(e) || ve.exec(e) || ye.exec(e) || be.exec(e) || xe.exec(e) || Se.exec(e) || Ce.exec(e) || [];
71
+ }
72
+ var Te = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
73
+ function Ee(e) {
74
+ let t = te(e), n = fe(t, we(t)), r = {
75
+ mobile: !1,
76
+ desktop: !1,
77
+ cordova: !1,
78
+ capacitor: !1,
79
+ nativeMobile: !1,
80
+ electron: !1,
81
+ bex: !1,
82
+ linux: !1,
83
+ mac: !1,
84
+ win: !1,
85
+ cros: !1,
86
+ chrome: !1,
87
+ firefox: !1,
88
+ opera: !1,
89
+ safari: !1,
90
+ vivaldi: !1,
91
+ edge: !1,
92
+ edgeChromium: !1,
93
+ ie: !1,
94
+ webkit: !1,
95
+ android: !1,
96
+ ios: !1,
97
+ ipad: !1,
98
+ iphone: !1,
99
+ ipod: !1,
100
+ kindle: !1,
101
+ winphone: !1,
102
+ silk: !1
103
+ };
104
+ n.browser && (r[n.browser] = !0, r.version = n.version, r.versionNumber = Number.parseInt(n.version, 10)), n.platform && (r[n.platform] = !0), r["windows phone"] && (r.winphone = !0, delete r["windows phone"]);
105
+ let i = r.android || r.ios || r.ipad || r.iphone || r.ipod || r.kindle || r.silk || r.winphone;
106
+ if (i === !0 || t.includes("mobile") ? r.mobile = !0 : r.desktop = !0, r.edga || r.edgios || r.edg ? (r.edge = !0, n.browser = "edge") : r.crios ? (r.chrome = !0, n.browser = "chrome") : r.fxios && (r.firefox = !0, n.browser = "firefox"), (r.ipod || r.ipad || r.iphone) && (r.ios = !0), r.vivaldi &&= (n.browser = "vivaldi", !0), (r.chrome || r.opr || r.safari || r.vivaldi || r.mobile && !r.ios && !i) && (r.webkit = !0), r.opr && (n.browser = "opera", r.opera = !0), r.safari && (r.android ? (n.browser = "android", r.android = !0) : r.kindle ? (n.browser = "kindle", r.kindle = !0) : r.silk &&= (n.browser = "silk", !0)), r.name = n.browser, r.platform = n.platform, t.includes("electron")) r.electron = !0;
107
+ else if (document.location.href.includes("-extension://")) r.bex = !0;
108
+ else {
109
+ if (window.Capacitor === void 0 ? (window._cordovaNative !== void 0 || window.cordova !== void 0) && (r.cordova = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "cordova") : (r.capacitor = !0, r.nativeMobile = !0, r.nativeMobileWrapper = "capacitor"), R.value && (z = { is: { ...r } }), Te && r.mac && (r.desktop && r.safari || r.nativeMobile && !r.android && !r.ios && !r.ipad)) {
110
+ delete r.mac, delete r.desktop;
111
+ let e = Math.min(window.innerHeight, window.innerWidth) > 414 ? "ipad" : "iphone";
112
+ Object.assign(r, {
113
+ mobile: !0,
114
+ ios: !0,
115
+ platform: e,
116
+ [e]: !0
117
+ });
118
+ }
119
+ !r.mobile && window.navigator.userAgentData && window.navigator.userAgentData.mobile && (delete r.desktop, r.mobile = !0);
120
+ }
121
+ return r;
122
+ }
123
+ var De = navigator.userAgent || navigator.vendor || window.opera, Oe = {
124
+ has: {
125
+ touch: !1,
126
+ webStorage: !1
127
+ },
128
+ within: { iframe: !1 }
129
+ }, W = {
130
+ userAgent: De,
131
+ is: Ee(De),
132
+ has: { touch: Te },
133
+ within: { iframe: window.self !== window.top }
134
+ }, ke = { install(e) {
135
+ let { $q: t } = e;
136
+ R.value ? (e.onSSRHydrated.push(() => {
137
+ Object.assign(t.platform, W), R.value = !1;
138
+ }), t.platform = E(this)) : t.platform = this;
139
+ } };
140
+ {
141
+ let e;
142
+ L(W.has, "webStorage", () => {
143
+ if (e !== void 0) return e;
144
+ try {
145
+ if (window.localStorage) return e = !0, !0;
146
+ } catch {}
147
+ return e = !1, !1;
148
+ }), Object.assign(ke, W), R.value && (Object.assign(ke, z, Oe), z = null);
149
+ }
150
+ //#endregion
151
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.selection/selection.js
152
+ function Ae() {
153
+ if (window.getSelection !== void 0) {
154
+ let e = window.getSelection();
155
+ e.empty === void 0 ? e.removeAllRanges !== void 0 && (e.removeAllRanges(), ke.is.mobile || e.addRange(document.createRange())) : e.empty();
156
+ } else document.selection !== void 0 && document.selection.empty();
157
+ }
158
+ //#endregion
159
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/event/event.js
160
+ var G = {
161
+ hasPassive: !1,
162
+ passiveCapture: !0,
163
+ notPassiveCapture: !0
164
+ };
165
+ try {
166
+ let e = Object.defineProperty({}, "passive", { get() {
167
+ Object.assign(G, {
168
+ hasPassive: !0,
169
+ passive: { passive: !0 },
170
+ notPassive: { passive: !1 },
171
+ passiveCapture: {
172
+ passive: !0,
173
+ capture: !0
174
+ },
175
+ notPassiveCapture: {
176
+ passive: !1,
177
+ capture: !0
178
+ }
179
+ });
180
+ } });
181
+ window.addEventListener("qtest", null, e), window.removeEventListener("qtest", null, e);
182
+ } catch {}
183
+ function je(e) {
184
+ e.stopPropagation();
185
+ }
186
+ function K(e) {
187
+ e.cancelable !== !1 && e.preventDefault();
188
+ }
189
+ function Me(e) {
190
+ e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
191
+ }
192
+ function Ne(e, t, n) {
193
+ let r = `__q_${t}_evt`;
194
+ e[r] = [...e[r] ?? [], ...n], n.forEach((t) => {
195
+ t[0].addEventListener(t[1], e[t[2]], G[t[3]]);
196
+ });
197
+ }
198
+ function Pe(e, t) {
199
+ let n = `__q_${t}_evt`;
200
+ e[n] !== void 0 && (e[n].forEach((t) => {
201
+ t[0].removeEventListener(t[1], e[t[2]], G[t[3]]);
202
+ }), e[n] = void 0);
203
+ }
204
+ //#endregion
205
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.keyboard/key-composition.js
206
+ var Fe = !1;
207
+ function Ie(e) {
208
+ return Fe || e !== Object(e) || e.isComposing || e.qKeyEvent;
209
+ }
210
+ function Le(e, t) {
211
+ return !Ie(e) && [t].flat().includes(e.keyCode);
212
+ }
213
+ //#endregion
214
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js
215
+ var Re = {
216
+ target: {
217
+ type: [
218
+ Boolean,
219
+ String,
220
+ Element
221
+ ],
222
+ default: !0
223
+ },
224
+ noParentEvent: Boolean
225
+ };
226
+ ({ ...Re });
227
+ function ze({ showing: e, avoidEmit: t, configureAnchorEl: n }) {
228
+ let { props: r, proxy: i, emit: a } = d(), o = D(null), s = null;
229
+ function c(e) {
230
+ return o.value === null ? !1 : e === void 0 || e.touches === void 0 || e.touches.length <= 1;
231
+ }
232
+ let l = {};
233
+ n === void 0 && (Object.assign(l, {
234
+ hide(e) {
235
+ i.hide(e);
236
+ },
237
+ toggle(e) {
238
+ i.toggle(e), e.qAnchorHandled = !0;
239
+ },
240
+ toggleKey(e) {
241
+ Le(e, 13) && l.toggle(e);
242
+ },
243
+ contextClick(e) {
244
+ i.hide(e), K(e), _(() => {
245
+ i.show(e), e.qAnchorHandled = !0;
246
+ });
247
+ },
248
+ prevent: K,
249
+ mobileTouch(e) {
250
+ if (l.mobileCleanup(e), !c(e)) return;
251
+ i.hide(e), o.value.classList.add("non-selectable");
252
+ let t = e.target;
253
+ Ne(l, "anchor", [
254
+ [
255
+ t,
256
+ "touchmove",
257
+ "mobileCleanup",
258
+ "passive"
259
+ ],
260
+ [
261
+ t,
262
+ "touchend",
263
+ "mobileCleanup",
264
+ "passive"
265
+ ],
266
+ [
267
+ t,
268
+ "touchcancel",
269
+ "mobileCleanup",
270
+ "passive"
271
+ ],
272
+ [
273
+ o.value,
274
+ "contextmenu",
275
+ "prevent",
276
+ "notPassive"
277
+ ]
278
+ ]), s = setTimeout(() => {
279
+ s = null, i.show(e), e.qAnchorHandled = !0;
280
+ }, 300);
281
+ },
282
+ mobileCleanup(t) {
283
+ o.value.classList.remove("non-selectable"), s !== null && (clearTimeout(s), s = null), e.value && t !== void 0 && Ae();
284
+ }
285
+ }), n = function(e = r.contextMenu) {
286
+ if (r.noParentEvent || o.value === null) return;
287
+ let t = e ? i.$q.platform.is.mobile ? [[
288
+ o.value,
289
+ "touchstart",
290
+ "mobileTouch",
291
+ "passive"
292
+ ]] : [[
293
+ o.value,
294
+ "mousedown",
295
+ "hide",
296
+ "passive"
297
+ ], [
298
+ o.value,
299
+ "contextmenu",
300
+ "contextClick",
301
+ "notPassive"
302
+ ]] : [[
303
+ o.value,
304
+ "click",
305
+ "toggle",
306
+ "passive"
307
+ ], [
308
+ o.value,
309
+ "keyup",
310
+ "toggleKey",
311
+ "passive"
312
+ ]];
313
+ Ne(l, "anchor", t);
314
+ });
315
+ function u() {
316
+ Pe(l, "anchor");
317
+ }
318
+ function f(e) {
319
+ for (o.value = e; o.value.classList.contains("q-anchor--skip");) o.value = o.value.parentNode;
320
+ n();
321
+ }
322
+ function p() {
323
+ if (r.target === !1 || r.target === "" || i.$el.parentNode === null) o.value = null;
324
+ else if (r.target === !0) f(i.$el.parentNode);
325
+ else {
326
+ let e = r.target;
327
+ if (typeof r.target == "string") try {
328
+ e = document.querySelector(r.target);
329
+ } catch {
330
+ e = void 0;
331
+ }
332
+ e == null ? (o.value = null, console.error(`Anchor: target "${r.target}" not found`)) : (o.value = e.$el || e, n());
333
+ }
334
+ }
335
+ return M(() => r.contextMenu, (e) => {
336
+ o.value !== null && (u(), n(e));
337
+ }), M(() => r.target, () => {
338
+ o.value !== null && u(), p();
339
+ }), M(() => r.noParentEvent, (e) => {
340
+ o.value !== null && (e ? u() : n());
341
+ }), C(() => {
342
+ p(), !t && r.modelValue && o.value === null && a("update:modelValue", !1);
343
+ }), b(() => {
344
+ s !== null && clearTimeout(s), u();
345
+ }), {
346
+ anchorEl: o,
347
+ canShow: c,
348
+ anchorEvents: l
349
+ };
350
+ }
351
+ //#endregion
352
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-scroll-target/use-scroll-target.js
353
+ function Be(e, t) {
354
+ let n = D(null), r;
355
+ function i(e, t) {
356
+ let n = `${t === void 0 ? "remove" : "add"}EventListener`, i = t === void 0 ? r : t;
357
+ e !== window && e[n]("scroll", i, G.passive), window[n]("scroll", i, G.passive), r = t;
358
+ }
359
+ function a() {
360
+ n.value !== null && (i(n.value), n.value = null);
361
+ }
362
+ let o = M(() => e.noParentEvent, () => {
363
+ n.value !== null && (a(), t());
364
+ });
365
+ return b(o), {
366
+ localScrollTarget: n,
367
+ unconfigureScrollTarget: a,
368
+ changeScrollEvent: i
369
+ };
370
+ }
371
+ //#endregion
372
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.vm/vm.js
373
+ function Ve(e) {
374
+ return e.appContext.config.globalProperties.$router !== void 0;
375
+ }
376
+ function He(e) {
377
+ return e.isUnmounted === !0 || e.isDeactivated === !0;
378
+ }
379
+ //#endregion
380
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js
381
+ var Ue = {
382
+ modelValue: {
383
+ type: Boolean,
384
+ default: null
385
+ },
386
+ "onUpdate:modelValue": [Function, Array]
387
+ }, We = [
388
+ "beforeShow",
389
+ "show",
390
+ "beforeHide",
391
+ "hide"
392
+ ];
393
+ function Ge({ showing: e, canShow: t, hideOnRouteChange: n, handleShow: r, handleHide: i, handleRouteChange: a, processOnMount: o }) {
394
+ let s = d(), { props: c, emit: l, proxy: u } = s, f;
395
+ function p(t) {
396
+ e.value ? g(t) : m(t);
397
+ }
398
+ function m(e) {
399
+ if (c.disable || e?.qAnchorHandled === !0 || t !== void 0 && !t(e)) return;
400
+ let n = c["onUpdate:modelValue"] !== void 0;
401
+ n && (l("update:modelValue", !0), f = e, _(() => {
402
+ f === e && (f = void 0);
403
+ })), (c.modelValue === null || !n) && h(e);
404
+ }
405
+ function h(t) {
406
+ e.value || (e.value = !0, l("beforeShow", t), r === void 0 ? l("show", t) : r(t));
407
+ }
408
+ function g(e) {
409
+ if (c.disable) return;
410
+ let t = c["onUpdate:modelValue"] !== void 0;
411
+ t && (l("update:modelValue", !1), f = e, _(() => {
412
+ f === e && (f = void 0);
413
+ })), (c.modelValue === null || !t) && v(e);
414
+ }
415
+ function v(t) {
416
+ e.value && (e.value = !1, l("beforeHide", t), i === void 0 ? l("hide", t) : i(t));
417
+ }
418
+ function y(t) {
419
+ c.disable && t ? c["onUpdate:modelValue"] !== void 0 && l("update:modelValue", !1) : t === !0 !== e.value && (t ? h : v)(f);
420
+ }
421
+ M(() => c.modelValue, y), n !== void 0 && Ve(s) && M(() => u.$route.fullPath, () => {
422
+ n.value && e.value && (a?.(), g());
423
+ }), o && C(() => {
424
+ y(c.modelValue);
425
+ });
426
+ let b = {
427
+ show: m,
428
+ hide: g,
429
+ toggle: p
430
+ };
431
+ return Object.assign(u, b), b;
432
+ }
433
+ //#endregion
434
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.create/create.js
435
+ function Ke(e) {
436
+ return m(u(e));
437
+ }
438
+ //#endregion
439
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.portal/portal.js
440
+ var q = [], J = [], qe = [];
441
+ function Je(e) {
442
+ qe = qe.filter((t) => t !== e);
443
+ }
444
+ function Ye(e) {
445
+ Je(e), qe.push(e);
446
+ }
447
+ function Xe(e) {
448
+ Je(e), qe.length === 0 && J.length !== 0 && (J.at(-1)(), J = []);
449
+ }
450
+ function Ze(e) {
451
+ qe.length === 0 ? e() : J.push(e);
452
+ }
453
+ function Qe(e) {
454
+ J = J.filter((t) => t !== e);
455
+ }
456
+ //#endregion
457
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.config/instance-config.js
458
+ var $e = {}, et = [], tt = [], nt = 1, rt = document.body;
459
+ function it(e, t) {
460
+ let n = document.createElement("div");
461
+ if (n.id = t === void 0 ? e : `q-portal--${t}--${nt++}`, $e.globalNodes !== void 0) {
462
+ let e = $e.globalNodes.class;
463
+ e !== void 0 && (n.className = e);
464
+ }
465
+ return rt.append(n), et.push(n), tt.push(t), n;
466
+ }
467
+ function at(e) {
468
+ let t = et.indexOf(e);
469
+ t !== -1 && (et.splice(t, 1), tt.splice(t, 1)), e.remove();
470
+ }
471
+ //#endregion
472
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-portal/use-portal.js
473
+ var ot = Ke({
474
+ name: "QPortal",
475
+ setup(e, { slots: t }) {
476
+ return () => t.default();
477
+ }
478
+ });
479
+ function st(e) {
480
+ for (e = e.parent; e != null;) {
481
+ if (e.type.name === "QGlobalDialog") return !0;
482
+ if (e.type.name === "QDialog" || e.type.name === "QMenu") return !1;
483
+ e = e.parent;
484
+ }
485
+ return !1;
486
+ }
487
+ function ct(e, n, r, i) {
488
+ let a = D(!1), o = D(!1), s = null, c = {}, l = i === "dialog" && st(e);
489
+ function u(t) {
490
+ if (t) {
491
+ Xe(c), o.value = !0;
492
+ return;
493
+ }
494
+ o.value = !1, a.value || (!l && s === null && (s = it(!1, i)), a.value = !0, q.push(e.proxy), Ye(c));
495
+ }
496
+ function d(t) {
497
+ if (o.value = !1, !t) return;
498
+ Xe(c), a.value = !1;
499
+ let n = q.indexOf(e.proxy);
500
+ n !== -1 && q.splice(n, 1), s !== null && (at(s), s = null);
501
+ }
502
+ return w(() => {
503
+ d(!0);
504
+ }), e.proxy.__qPortal = !0, L(e.proxy, "contentEl", () => n.value), {
505
+ showPortal: u,
506
+ hidePortal: d,
507
+ portalIsActive: a,
508
+ portalIsAccessible: o,
509
+ renderPortal: () => l ? r() : a.value ? [f(t, { to: s }, f(ot, r))] : void 0
510
+ };
511
+ }
512
+ //#endregion
513
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-transition/use-transition.js
514
+ var lt = {
515
+ transitionShow: {
516
+ type: String,
517
+ default: "fade"
518
+ },
519
+ transitionHide: {
520
+ type: String,
521
+ default: "fade"
522
+ },
523
+ transitionDuration: {
524
+ type: [String, Number],
525
+ default: 300
526
+ }
527
+ };
528
+ function ut(e, t = () => {}, n = () => {}) {
529
+ return {
530
+ transitionProps: r(() => {
531
+ let r = `q-transition--${e.transitionShow || t()}`, i = `q-transition--${e.transitionHide || n()}`;
532
+ return {
533
+ appear: !0,
534
+ enterFromClass: `${r}-enter-from`,
535
+ enterActiveClass: `${r}-enter-active`,
536
+ enterToClass: `${r}-enter-to`,
537
+ leaveFromClass: `${i}-leave-from`,
538
+ leaveActiveClass: `${i}-leave-active`,
539
+ leaveToClass: `${i}-leave-to`
540
+ };
541
+ }),
542
+ transitionStyle: r(() => `--q-transition-duration: ${e.transitionDuration}ms`)
543
+ };
544
+ }
545
+ //#endregion
546
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-tick/use-tick.js
547
+ function dt() {
548
+ let e, t = d();
549
+ function n() {
550
+ e = void 0;
551
+ }
552
+ return S(n), b(n), {
553
+ removeTick: n,
554
+ registerTick(n) {
555
+ e = n, _(() => {
556
+ e === n && (He(t) || e(), e = void 0);
557
+ });
558
+ }
559
+ };
560
+ }
561
+ //#endregion
562
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-timeout/use-timeout.js
563
+ function ft() {
564
+ let e = null, t = d();
565
+ function n() {
566
+ e !== null && (clearTimeout(e), e = null);
567
+ }
568
+ return S(n), b(n), {
569
+ removeTimeout: n,
570
+ registerTimeout(r, i) {
571
+ n(), He(t) || (e = setTimeout(() => {
572
+ e = null, r();
573
+ }, i));
574
+ }
575
+ };
576
+ }
577
+ //#endregion
578
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/uid/uid.js
579
+ function pt() {
580
+ if (typeof crypto > "u") return () => {
581
+ throw Error("[Quasar uid()] Secure RNG not available. Cannot generate collision-resistant UUID.");
582
+ };
583
+ if (crypto.randomUUID) return () => crypto.randomUUID();
584
+ let e = Array.from({ length: 256 }, (e, t) => (t + 256).toString(16).slice(1)), t, n;
585
+ return () => {
586
+ (t === void 0 || n + 16 > 4096) && (n = 0, t = /* @__PURE__ */ new Uint8Array(4096), crypto.getRandomValues(t));
587
+ let r = n;
588
+ return n += 16, t[r + 6] = t[r + 6] & 15 | 64, t[r + 8] = t[r + 8] & 63 | 128, e[t[r]] + e[t[r + 1]] + e[t[r + 2]] + e[t[r + 3]] + "-" + e[t[r + 4]] + e[t[r + 5]] + "-" + e[t[r + 6]] + e[t[r + 7]] + "-" + e[t[r + 8]] + e[t[r + 9]] + "-" + e[t[r + 10]] + e[t[r + 11]] + e[t[r + 12]] + e[t[r + 13]] + e[t[r + 14]] + e[t[r + 15]];
589
+ };
590
+ }
591
+ var mt = pt();
592
+ //#endregion
593
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-id/use-id.js
594
+ function ht(e) {
595
+ return e ?? null;
596
+ }
597
+ function gt(e, t) {
598
+ return e ?? (t ? `f_${mt()}` : null);
599
+ }
600
+ function _t({ getValue: e, required: t = !0 } = {}) {
601
+ if (R.value) {
602
+ let n = D(e === void 0 ? null : ht(e()));
603
+ return t && n.value === null && C(() => {
604
+ n.value = `f_${mt()}`;
605
+ }), e !== void 0 && M(e, (e) => {
606
+ n.value = gt(e, t);
607
+ }), n;
608
+ }
609
+ return e === void 0 ? D(`f_${mt()}`) : r(() => gt(e(), t));
610
+ }
611
+ //#endregion
612
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/dom/dom.js
613
+ function vt(e, t) {
614
+ let n = e.style;
615
+ for (let e in t) n[e] = t[e];
616
+ }
617
+ function yt(e) {
618
+ if (e == null) return;
619
+ if (typeof e == "string") try {
620
+ return document.querySelector(e) || void 0;
621
+ } catch {
622
+ return;
623
+ }
624
+ let t = A(e);
625
+ if (t) return t.$el || t;
626
+ }
627
+ //#endregion
628
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/scroll/scroll.js
629
+ var bt = [Element, String], xt = [
630
+ null,
631
+ document,
632
+ document.body,
633
+ document.scrollingElement,
634
+ document.documentElement
635
+ ];
636
+ function St(e, t) {
637
+ let n = yt(t);
638
+ if (n === void 0) {
639
+ if (e == null) return window;
640
+ n = e.closest(".scroll,.scroll-y,.overflow-auto");
641
+ }
642
+ return xt.includes(n) ? window : n;
643
+ }
644
+ var Ct;
645
+ function wt() {
646
+ if (Ct !== void 0) return Ct;
647
+ let e = document.createElement("p"), t = document.createElement("div");
648
+ vt(e, {
649
+ width: "100%",
650
+ height: "200px"
651
+ }), vt(t, {
652
+ position: "absolute",
653
+ top: "0px",
654
+ left: "0px",
655
+ visibility: "hidden",
656
+ width: "200px",
657
+ height: "150px",
658
+ overflow: "hidden"
659
+ }), t.append(e), document.body.append(t);
660
+ let n = e.offsetWidth;
661
+ t.style.overflow = "scroll";
662
+ let r = e.offsetWidth;
663
+ return n === r && (r = t.clientWidth), t.remove(), Ct = n - r, Ct;
664
+ }
665
+ //#endregion
666
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.keyboard/escape-key.js
667
+ var Y = [], Tt;
668
+ function Et(e) {
669
+ e.keyCode === 27 && (Tt = !0);
670
+ }
671
+ function Dt() {
672
+ Tt &&= !1;
673
+ }
674
+ function Ot(e) {
675
+ Tt && Le(e, 27) && (Tt = !1, Y.at(-1)(e));
676
+ }
677
+ function kt(e) {
678
+ window[e]("keydown", Et), window[e]("blur", Dt), window[e]("keyup", Ot), Tt = !1;
679
+ }
680
+ function At(e) {
681
+ W.is.desktop && (Y.push(e), Y.length === 1 && kt("addEventListener"));
682
+ }
683
+ function jt(e) {
684
+ let t = Y.indexOf(e);
685
+ t !== -1 && (Y.splice(t, 1), Y.length === 0 && kt("removeEventListener"));
686
+ }
687
+ //#endregion
688
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.render/render.js
689
+ function X(e, t) {
690
+ return e === void 0 ? t : e() || t;
691
+ }
692
+ function Mt(e, t) {
693
+ return e === void 0 ? t : t.concat(e());
694
+ }
695
+ //#endregion
696
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.click-outside/click-outside.js
697
+ var Z = null, { notPassiveCapture: Nt } = G, Q = [];
698
+ function Pt(e) {
699
+ Z !== null && (clearTimeout(Z), Z = null);
700
+ let t = e.target;
701
+ if (t === void 0 || t.nodeType === 8 || t.classList.contains("no-pointer-events")) return;
702
+ let n = null, r = !1;
703
+ for (let e = q.length - 1; e >= 0; e--) {
704
+ let t = q[e].$, i = t.type.name;
705
+ if (i !== "QTooltip") {
706
+ if (i === "QDialog") {
707
+ if (t.props.seamless !== !0) {
708
+ if (r === !1) return;
709
+ n = new Set(q.slice(e + 1).map((e) => e.contentEl));
710
+ break;
711
+ }
712
+ continue;
713
+ }
714
+ r = !0;
715
+ }
716
+ }
717
+ for (let r = Q.length - 1; r >= 0; r--) {
718
+ let i = Q[r];
719
+ if (n !== null && !n.has(i.innerRef.value)) return;
720
+ if ((i.anchorEl.value === null || !i.anchorEl.value.contains(t)) && (t === document.body || i.innerRef.value !== null && !i.innerRef.value.contains(t))) e.qClickOutside = !0, i.onClickOutside(e);
721
+ else return;
722
+ }
723
+ }
724
+ function Ft(e) {
725
+ Q.push(e), Q.length === 1 && (document.addEventListener("mousedown", Pt, Nt), document.addEventListener("touchstart", Pt, Nt));
726
+ }
727
+ function It(e) {
728
+ let t = Q.indexOf(e);
729
+ t !== -1 && (Q.splice(t, 1), Q.length === 0 && (Z !== null && (clearTimeout(Z), Z = null), document.removeEventListener("mousedown", Pt, Nt), document.removeEventListener("touchstart", Pt, Nt)));
730
+ }
731
+ //#endregion
732
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.position-engine/position-engine.js
733
+ var Lt, Rt, zt = [
734
+ "top",
735
+ "center",
736
+ "bottom"
737
+ ], Bt = [
738
+ "left",
739
+ "middle",
740
+ "right",
741
+ "start",
742
+ "end"
743
+ ];
744
+ function Vt(e) {
745
+ let t = e.split(" ");
746
+ return t.length === 2 ? zt.includes(t[0]) ? Bt.includes(t[1]) ? !0 : (console.error("Anchor/Self position must end with one of left/middle/right/start/end"), !1) : (console.error("Anchor/Self position must start with one of top/center/bottom"), !1) : !1;
747
+ }
748
+ function Ht(e) {
749
+ return !e || e.length === 2 && typeof e[0] == "number" && typeof e[1] == "number";
750
+ }
751
+ var Ut = {
752
+ "start#ltr": "left",
753
+ "start#rtl": "right",
754
+ "end#ltr": "right",
755
+ "end#rtl": "left"
756
+ };
757
+ [
758
+ "left",
759
+ "middle",
760
+ "right"
761
+ ].forEach((e) => {
762
+ Ut[`${e}#ltr`] = e, Ut[`${e}#rtl`] = e;
763
+ });
764
+ function Wt(e, t) {
765
+ let n = e.split(" ");
766
+ return {
767
+ vertical: n[0],
768
+ horizontal: Ut[`${n[1]}#${t ? "rtl" : "ltr"}`]
769
+ };
770
+ }
771
+ function Gt(e, t) {
772
+ let { top: n, left: r, right: i, bottom: a, width: o, height: s } = e.getBoundingClientRect();
773
+ return t !== void 0 && (n -= t[1], r -= t[0], a += t[1], i += t[0], o += t[0], s += t[1]), {
774
+ top: n,
775
+ bottom: a,
776
+ height: s,
777
+ left: r,
778
+ right: i,
779
+ width: o,
780
+ middle: r + (i - r) / 2,
781
+ center: n + (a - n) / 2
782
+ };
783
+ }
784
+ function Kt(e, t, n) {
785
+ let { top: r, left: i } = e.getBoundingClientRect();
786
+ return r += t.top, i += t.left, n !== void 0 && (r += n[1], i += n[0]), {
787
+ top: r,
788
+ bottom: r + 1,
789
+ height: 1,
790
+ left: i,
791
+ right: i + 1,
792
+ width: 1,
793
+ middle: i,
794
+ center: r
795
+ };
796
+ }
797
+ function qt(e, t) {
798
+ return {
799
+ top: 0,
800
+ center: t / 2,
801
+ bottom: t,
802
+ left: 0,
803
+ middle: e / 2,
804
+ right: e
805
+ };
806
+ }
807
+ function Jt(e, t, n, r) {
808
+ return {
809
+ top: e[n.vertical] - t[r.vertical],
810
+ left: e[n.horizontal] - t[r.horizontal]
811
+ };
812
+ }
813
+ function Yt(e, t = 0) {
814
+ if (e.targetEl === null || e.anchorEl === null || t > 5) return;
815
+ if (e.targetEl.offsetHeight === 0 || e.targetEl.offsetWidth === 0) {
816
+ setTimeout(() => {
817
+ Yt(e, t + 1);
818
+ }, 10);
819
+ return;
820
+ }
821
+ let { targetEl: n, offset: r, anchorEl: i, anchorOrigin: a, selfOrigin: o, absoluteOffset: s, fit: c, cover: l, maxHeight: u, maxWidth: d } = e;
822
+ if (W.is.ios && window.visualViewport !== void 0) {
823
+ let e = document.body.style, { offsetLeft: t, offsetTop: n } = window.visualViewport;
824
+ t !== Lt && (e.setProperty("--q-pe-left", t + "px"), Lt = t), n !== Rt && (e.setProperty("--q-pe-top", n + "px"), Rt = n);
825
+ }
826
+ let { scrollLeft: f, scrollTop: p } = n, m = s === void 0 ? Gt(i, l ? [0, 0] : r) : Kt(i, s, r);
827
+ Object.assign(n.style, {
828
+ top: 0,
829
+ left: 0,
830
+ minWidth: null,
831
+ minHeight: null,
832
+ maxWidth: d,
833
+ maxHeight: u,
834
+ visibility: "visible"
835
+ });
836
+ let { offsetWidth: h, offsetHeight: g } = n, { elWidth: _, elHeight: v } = c || l ? {
837
+ elWidth: Math.max(m.width, h),
838
+ elHeight: l ? Math.max(m.height, g) : g
839
+ } : {
840
+ elWidth: h,
841
+ elHeight: g
842
+ }, y = {
843
+ maxWidth: d,
844
+ maxHeight: u
845
+ };
846
+ (c || l) && (y.minWidth = m.width + "px", l && (y.minHeight = m.height + "px")), Object.assign(n.style, y);
847
+ let b = qt(_, v), x = Jt(m, b, a, o);
848
+ if (s === void 0 || r === void 0) Xt(x, m, b, a, o);
849
+ else {
850
+ let { top: e, left: t } = x;
851
+ Xt(x, m, b, a, o);
852
+ let n = !1;
853
+ if (x.top !== e) {
854
+ n = !0;
855
+ let e = 2 * r[1];
856
+ m.center = m.top -= e, m.bottom -= e + 2;
857
+ }
858
+ if (x.left !== t) {
859
+ n = !0;
860
+ let e = 2 * r[0];
861
+ m.middle = m.left -= e, m.right -= e + 2;
862
+ }
863
+ n && (x = Jt(m, b, a, o), Xt(x, m, b, a, o));
864
+ }
865
+ y = {
866
+ top: x.top + "px",
867
+ left: x.left + "px"
868
+ }, x.maxHeight !== void 0 && (y.maxHeight = x.maxHeight + "px", m.height > x.maxHeight && (y.minHeight = y.maxHeight)), x.maxWidth !== void 0 && (y.maxWidth = x.maxWidth + "px", m.width > x.maxWidth && (y.minWidth = y.maxWidth)), Object.assign(n.style, y), n.scrollTop !== p && (n.scrollTop = p), n.scrollLeft !== f && (n.scrollLeft = f);
869
+ }
870
+ function Xt(e, t, n, r, i) {
871
+ let a = n.bottom, o = n.right, s = wt(), c = window.innerHeight - s, l = document.body.clientWidth;
872
+ if (e.top < 0 || e.top + a > c) {
873
+ if (i.vertical === "center") e.top = t[r.vertical] > c / 2 ? Math.max(0, c - a) : 0, e.maxHeight = Math.min(a, c);
874
+ else if (t[r.vertical] > c / 2) {
875
+ let n = Math.min(c, r.vertical === "center" ? t.center : r.vertical === i.vertical ? t.bottom : t.top);
876
+ e.maxHeight = Math.min(a, n), e.top = Math.max(0, n - a);
877
+ } else e.top = Math.max(0, r.vertical === "center" ? t.center : r.vertical === i.vertical ? t.top : t.bottom), e.maxHeight = Math.min(a, c - e.top);
878
+ }
879
+ if (e.left < 0 || e.left + o > l) {
880
+ if (e.maxWidth = Math.min(o, l), i.horizontal === "middle") e.left = t[r.horizontal] > l / 2 ? Math.max(0, l - o) : 0;
881
+ else if (t[r.horizontal] > l / 2) {
882
+ let n = Math.min(l, r.horizontal === "middle" ? t.middle : r.horizontal === i.horizontal ? t.right : t.left);
883
+ e.maxWidth = Math.min(o, n), e.left = Math.max(0, n - e.maxWidth);
884
+ } else e.left = Math.max(0, r.horizontal === "middle" ? t.middle : r.horizontal === i.horizontal ? t.left : t.right), e.maxWidth = Math.min(o, l - e.left);
885
+ }
886
+ }
887
+ //#endregion
888
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/tooltip/QTooltip.js
889
+ var Zt = 0, Qt = Ke({
890
+ name: "QTooltip",
891
+ inheritAttrs: !1,
892
+ props: {
893
+ ...Re,
894
+ ...Ue,
895
+ ...lt,
896
+ maxHeight: {
897
+ type: String,
898
+ default: null
899
+ },
900
+ maxWidth: {
901
+ type: String,
902
+ default: null
903
+ },
904
+ transitionShow: {
905
+ ...lt.transitionShow,
906
+ default: "jump-down"
907
+ },
908
+ transitionHide: {
909
+ ...lt.transitionHide,
910
+ default: "jump-up"
911
+ },
912
+ anchor: {
913
+ type: String,
914
+ default: "bottom middle",
915
+ validator: Vt
916
+ },
917
+ self: {
918
+ type: String,
919
+ default: "top middle",
920
+ validator: Vt
921
+ },
922
+ offset: {
923
+ type: Array,
924
+ default: () => [14, 14],
925
+ validator: Ht
926
+ },
927
+ scrollTarget: bt,
928
+ delay: {
929
+ type: Number,
930
+ default: 0
931
+ },
932
+ hideDelay: {
933
+ type: Number,
934
+ default: 0
935
+ },
936
+ persistent: Boolean
937
+ },
938
+ emits: [...We],
939
+ setup(e, { slots: t, emit: i, attrs: a }) {
940
+ let o, s, c, l = !1, u, p = d(), { proxy: { $q: m } } = p, h = D(null), g = D(!1), _ = _t(), v = r(() => a.id || _.value), y = r(() => Wt(e.anchor, m.lang.rtl)), x = r(() => Wt(e.self, m.lang.rtl)), S = r(() => !e.persistent), { registerTick: C, removeTick: w } = dt(), { registerTimeout: T } = ft(), { transitionProps: E, transitionStyle: O } = ut(e), { localScrollTarget: k, changeScrollEvent: A, unconfigureScrollTarget: ee } = Be(e, le), { anchorEl: j, canShow: N, anchorEvents: P } = ze({
941
+ showing: g,
942
+ configureAnchorEl: ae
943
+ }), { show: F, hide: I } = Ge({
944
+ showing: g,
945
+ canShow: N,
946
+ handleShow: B,
947
+ handleHide: te,
948
+ hideOnRouteChange: S,
949
+ processOnMount: !0
950
+ });
951
+ Object.assign(P, {
952
+ delayShow: ne,
953
+ delayHide: U,
954
+ onFocusin: re
955
+ });
956
+ let { showPortal: L, hidePortal: R, renderPortal: z } = ct(p, h, de, "tooltip");
957
+ if (m.platform.is.mobile) {
958
+ let t = {
959
+ anchorEl: j,
960
+ innerRef: h,
961
+ onClickOutside(e) {
962
+ return I(e), e.target.classList.contains("q-dialog__backdrop") && Me(e), !0;
963
+ }
964
+ }, n = r(() => e.modelValue === null && !e.persistent && g.value);
965
+ M(n, (e) => {
966
+ (e ? Ft : It)(t);
967
+ }), b(() => {
968
+ It(t);
969
+ });
970
+ } else M(() => (e.modelValue === null || e["onUpdate:modelValue"]) && g.value === !0 && e.persistent !== !0, (e) => {
971
+ (e === !0 ? At : jt)(ie);
972
+ });
973
+ function B(t) {
974
+ L(), se(), C(() => {
975
+ if (s?.disconnect(), h.value === null) {
976
+ s = void 0;
977
+ return;
978
+ }
979
+ s = new MutationObserver(() => H()), s.observe(h.value, {
980
+ attributes: !1,
981
+ childList: !0,
982
+ characterData: !0,
983
+ subtree: !0
984
+ }), H(), le();
985
+ }), o === void 0 && (o = M(() => m.screen.width + "|" + m.screen.height + "|" + e.self + "|" + e.anchor + "|" + m.lang.rtl, H)), T(() => {
986
+ L(!0), i("show", t);
987
+ }, e.transitionDuration);
988
+ }
989
+ function te(t) {
990
+ w(), R(), V(), T(() => {
991
+ R(!0), i("hide", t);
992
+ }, e.transitionDuration);
993
+ }
994
+ function V() {
995
+ s !== void 0 && (s.disconnect(), s = void 0), o !== void 0 && (o(), o = void 0), ee(), jt(ie), Pe(P, "tooltipTemp"), ce(), oe(!1);
996
+ }
997
+ function H() {
998
+ Yt({
999
+ targetEl: h.value,
1000
+ offset: e.offset,
1001
+ anchorEl: j.value,
1002
+ anchorOrigin: y.value,
1003
+ selfOrigin: x.value,
1004
+ maxHeight: e.maxHeight,
1005
+ maxWidth: e.maxWidth
1006
+ });
1007
+ }
1008
+ function ne(t) {
1009
+ if (m.platform.is.mobile) {
1010
+ c !== void 0 && (clearTimeout(c), c = void 0), Ae(), oe(!0);
1011
+ let e = j.value, t = [
1012
+ "touchmove",
1013
+ "touchcancel",
1014
+ "touchend",
1015
+ "click"
1016
+ ].map((t) => [
1017
+ e,
1018
+ t,
1019
+ "delayHide",
1020
+ "passiveCapture"
1021
+ ]);
1022
+ Ne(P, "tooltipTemp", t);
1023
+ }
1024
+ T(() => {
1025
+ F(t);
1026
+ }, e.delay);
1027
+ }
1028
+ function U(t) {
1029
+ m.platform.is.mobile && (Pe(P, "tooltipTemp"), Ae(), c = setTimeout(() => {
1030
+ c = void 0, oe(!1);
1031
+ }, 10)), T(() => {
1032
+ I(t);
1033
+ }, e.hideDelay);
1034
+ }
1035
+ function re(e) {
1036
+ let t = e.target;
1037
+ if (t) {
1038
+ try {
1039
+ if (t.matches(":focus-visible") === !1) return;
1040
+ } catch {}
1041
+ ne(e);
1042
+ }
1043
+ }
1044
+ function ie(e) {
1045
+ I(e);
1046
+ }
1047
+ function ae() {
1048
+ if (e.noParentEvent || j.value === null) return;
1049
+ let t = m.platform.is.mobile ? [[
1050
+ j.value,
1051
+ "touchstart",
1052
+ "delayShow",
1053
+ "passive"
1054
+ ]] : [
1055
+ [
1056
+ j.value,
1057
+ "mouseenter",
1058
+ "delayShow",
1059
+ "passive"
1060
+ ],
1061
+ [
1062
+ j.value,
1063
+ "mouseleave",
1064
+ "delayHide",
1065
+ "passive"
1066
+ ],
1067
+ [
1068
+ j.value,
1069
+ "focusin",
1070
+ "onFocusin",
1071
+ "passive"
1072
+ ],
1073
+ [
1074
+ j.value,
1075
+ "focusout",
1076
+ "delayHide",
1077
+ "passive"
1078
+ ]
1079
+ ];
1080
+ Ne(P, "anchor", t);
1081
+ }
1082
+ function oe(e) {
1083
+ l !== e && (l = e, Zt += e ? 1 : -1, document.body.classList.toggle("non-selectable", Zt > 0), !e && c !== void 0 && (clearTimeout(c), c = void 0));
1084
+ }
1085
+ function se() {
1086
+ let e = j.value, t = v.value;
1087
+ if (e === null || t === void 0) return;
1088
+ let n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean);
1089
+ u = {
1090
+ el: e,
1091
+ id: t,
1092
+ added: !n.includes(t)
1093
+ }, u.added && (n.push(t), e.setAttribute("aria-describedby", n.join(" ")));
1094
+ }
1095
+ function ce() {
1096
+ if (u?.added === !0) {
1097
+ let { el: e, id: t } = u, n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter((e) => e !== "" && e !== t);
1098
+ n.length === 0 ? e.removeAttribute("aria-describedby") : e.setAttribute("aria-describedby", n.join(" "));
1099
+ }
1100
+ u = void 0;
1101
+ }
1102
+ function le() {
1103
+ if (j.value !== null || e.scrollTarget !== void 0) {
1104
+ k.value = St(j.value, e.scrollTarget);
1105
+ let t = e.noParentEvent ? H : I;
1106
+ A(k.value, t);
1107
+ }
1108
+ }
1109
+ function ue() {
1110
+ return g.value ? f("div", {
1111
+ ...a,
1112
+ id: v.value,
1113
+ ref: h,
1114
+ class: ["q-tooltip q-tooltip--style q-position-engine no-pointer-events", a.class],
1115
+ style: [a.style, O.value],
1116
+ role: "tooltip"
1117
+ }, X(t.default)) : null;
1118
+ }
1119
+ function de() {
1120
+ return f(n, E.value, ue);
1121
+ }
1122
+ return b(V), Object.assign(p.proxy, { updatePosition: H }), z;
1123
+ }
1124
+ }), $t = {
1125
+ xs: 18,
1126
+ sm: 24,
1127
+ md: 32,
1128
+ lg: 38,
1129
+ xl: 46
1130
+ }, en = { size: String };
1131
+ function tn(e, t = $t) {
1132
+ return r(() => e.size === void 0 ? null : { fontSize: e.size in t ? `${t[e.size]}px` : e.size });
1133
+ }
1134
+ //#endregion
1135
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/icon/QIcon.js
1136
+ var nn = "0 0 24 24", rn = (e) => e, an = (e) => `ionicons ${e}`, on = {
1137
+ "mdi-": (e) => `mdi ${e}`,
1138
+ "icon-": rn,
1139
+ "bt-": (e) => `bt ${e}`,
1140
+ "eva-": (e) => `eva ${e}`,
1141
+ "ion-md": an,
1142
+ "ion-ios": an,
1143
+ "ion-logo": an,
1144
+ "iconfont ": rn,
1145
+ "ti-": (e) => `themify-icon ${e}`,
1146
+ "bi-": (e) => `bootstrap-icons ${e}`,
1147
+ "i-": rn
1148
+ }, sn = {
1149
+ o_: "-outlined",
1150
+ r_: "-round",
1151
+ s_: "-sharp"
1152
+ }, cn = {
1153
+ sym_o_: "-outlined",
1154
+ sym_r_: "-rounded",
1155
+ sym_s_: "-sharp"
1156
+ }, ln = RegExp("^(" + Object.keys(on).join("|") + ")"), un = RegExp("^(" + Object.keys(sn).join("|") + ")"), dn = RegExp("^(" + Object.keys(cn).join("|") + ")"), fn = /^[Mm]\s?[-+]?\.?\d/, pn = /^img:/, mn = /^svguse:/, hn = /^ion-/, gn = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, _n = Ke({
1157
+ name: "QIcon",
1158
+ props: {
1159
+ ...en,
1160
+ tag: {
1161
+ type: String,
1162
+ default: "i"
1163
+ },
1164
+ name: String,
1165
+ color: String,
1166
+ left: Boolean,
1167
+ right: Boolean
1168
+ },
1169
+ setup(e, { slots: t }) {
1170
+ let { proxy: { $q: n } } = d(), i = tn(e), a = r(() => "q-icon" + (e.left ? " on-left" : "") + (e.right ? " on-right" : "") + (e.color === void 0 ? "" : ` text-${e.color}`)), o = r(() => {
1171
+ let t, r = e.name;
1172
+ if (r === "none" || !r) return { none: !0 };
1173
+ if (n.iconMapFn !== null) {
1174
+ let e = n.iconMapFn(r);
1175
+ if (e !== void 0) {
1176
+ if (e.icon !== void 0) {
1177
+ if (r = e.icon, r === "none" || !r) return { none: !0 };
1178
+ } else return {
1179
+ cls: e.cls,
1180
+ content: e.content === void 0 ? " " : e.content
1181
+ };
1182
+ }
1183
+ }
1184
+ if (fn.test(r)) {
1185
+ let [e, t = nn] = r.split("|");
1186
+ return {
1187
+ svg: !0,
1188
+ viewBox: t,
1189
+ nodes: e.split("&&").map((e) => {
1190
+ let [t, n, r] = e.split("@@");
1191
+ return f("path", {
1192
+ style: n,
1193
+ d: t,
1194
+ transform: r
1195
+ });
1196
+ })
1197
+ };
1198
+ }
1199
+ if (pn.test(r)) return {
1200
+ img: !0,
1201
+ src: r.slice(4)
1202
+ };
1203
+ if (mn.test(r)) {
1204
+ let [e, t = nn] = r.split("|");
1205
+ return {
1206
+ svguse: !0,
1207
+ src: e.slice(7),
1208
+ viewBox: t
1209
+ };
1210
+ }
1211
+ let i = " ", a = r.match(ln);
1212
+ if (a !== null) t = on[a[1]](r);
1213
+ else if (gn.test(r)) t = r;
1214
+ else if (hn.test(r)) t = `ionicons ion-${n.platform.is.ios ? "ios" : "md"}${r.slice(3)}`;
1215
+ else if (dn.test(r)) {
1216
+ t = "notranslate material-symbols";
1217
+ let e = r.match(dn);
1218
+ e !== null && (r = r.slice(6), t += cn[e[1]]), i = r;
1219
+ } else {
1220
+ t = "notranslate material-icons";
1221
+ let e = r.match(un);
1222
+ e !== null && (r = r.slice(2), t += sn[e[1]]), i = r;
1223
+ }
1224
+ return {
1225
+ cls: t,
1226
+ content: i
1227
+ };
1228
+ });
1229
+ return () => {
1230
+ let n = {
1231
+ class: a.value,
1232
+ style: i.value,
1233
+ "aria-hidden": "true"
1234
+ };
1235
+ return o.value.none ? f(e.tag, n, X(t.default)) : o.value.img ? f(e.tag, n, Mt(t.default, [f("img", { src: o.value.src })])) : o.value.svg ? f(e.tag, n, Mt(t.default, [f("svg", { viewBox: o.value.viewBox || "0 0 24 24" }, o.value.nodes)])) : o.value.svguse ? f(e.tag, n, Mt(t.default, [f("svg", { viewBox: o.value.viewBox }, [f("use", { "xlink:href": o.value.src })])])) : (o.value.cls !== void 0 && (n.class += " " + o.value.cls), f(e.tag, n, Mt(t.default, [o.value.content])));
1236
+ };
1237
+ }
1238
+ }), vn = {
1239
+ size: {
1240
+ type: [String, Number],
1241
+ default: "1em"
1242
+ },
1243
+ color: String
1244
+ };
1245
+ function yn(e) {
1246
+ return {
1247
+ cSize: r(() => e.size in $t ? `${$t[e.size]}px` : e.size),
1248
+ classes: r(() => "q-spinner" + (e.color ? ` text-${e.color}` : ""))
1249
+ };
1250
+ }
1251
+ //#endregion
1252
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/spinner/QSpinner.js
1253
+ var bn = Ke({
1254
+ name: "QSpinner",
1255
+ props: {
1256
+ ...vn,
1257
+ thickness: {
1258
+ type: Number,
1259
+ default: 5
1260
+ }
1261
+ },
1262
+ setup(e) {
1263
+ let { cSize: t, classes: n } = yn(e);
1264
+ return () => f("svg", {
1265
+ class: n.value + " q-spinner-mat",
1266
+ width: t.value,
1267
+ height: t.value,
1268
+ viewBox: "25 25 50 50"
1269
+ }, [f("circle", {
1270
+ class: "path",
1271
+ cx: "50",
1272
+ cy: "50",
1273
+ r: "20",
1274
+ fill: "none",
1275
+ stroke: "currentColor",
1276
+ "stroke-width": e.thickness,
1277
+ "stroke-miterlimit": "10"
1278
+ })]);
1279
+ }
1280
+ }), xn = /^on[A-Z]/;
1281
+ function Sn() {
1282
+ let e = d(), { attrs: t } = e, n = {
1283
+ listeners: D({}),
1284
+ attributes: D({})
1285
+ };
1286
+ function r() {
1287
+ let r = {}, i = {};
1288
+ for (let e in t) e !== "class" && e !== "style" && !xn.test(e) && (r[e] = t[e]);
1289
+ for (let t in e.vnode.props) xn.test(t) && (i[t] = e.vnode.props[t]);
1290
+ n.attributes.value = r, n.listeners.value = i;
1291
+ }
1292
+ return x(r), r(), n;
1293
+ }
1294
+ //#endregion
1295
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-dark/use-dark.js
1296
+ var Cn = { dark: {
1297
+ type: Boolean,
1298
+ default: null
1299
+ } };
1300
+ function wn(e, t) {
1301
+ return r(() => e.dark === null ? t.dark.isActive : e.dark);
1302
+ }
1303
+ //#endregion
1304
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/private.symbols/symbols.js
1305
+ var Tn = "_q_fo_";
1306
+ //#endregion
1307
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-form/use-form-child.js
1308
+ function En({ validate: e, resetValidation: t, requiresQForm: n }) {
1309
+ let r = p(Tn, !1);
1310
+ if (r !== !1) {
1311
+ let { props: n, proxy: i } = d();
1312
+ Object.assign(i, {
1313
+ validate: e,
1314
+ resetValidation: t
1315
+ }), M(() => n.disable, (e) => {
1316
+ e ? (typeof t == "function" && t(), r.unbindComponent(i)) : r.bindComponent(i);
1317
+ }), C(() => {
1318
+ n.disable || r.bindComponent(i);
1319
+ }), b(() => {
1320
+ n.disable || r.unbindComponent(i);
1321
+ });
1322
+ } else n && console.error("Parent QForm not found on useFormChild()!");
1323
+ }
1324
+ //#endregion
1325
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/patterns/patterns.js
1326
+ var Dn = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, On = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, kn = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, An = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, jn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0(\.[\d]+)?|1(\.0+)?)\)$/, Mn = /^-?[\d]+\/(0[1-9]|1[0-2])\/(0[1-9]|[12]\d|3[01])$/, Nn = /^([0-1]?\d|2[0-3]):[0-5]\d$/, Pn = /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/, Fn = /^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/, In = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, Ln = {
1327
+ date: (e) => Mn.test(e),
1328
+ time: (e) => Nn.test(e),
1329
+ fulltime: (e) => Pn.test(e),
1330
+ timeOrFulltime: (e) => Fn.test(e),
1331
+ email: (e) => In.test(e),
1332
+ hexColor: (e) => Dn.test(e),
1333
+ hexaColor: (e) => On.test(e),
1334
+ hexOrHexaColor: (e) => kn.test(e),
1335
+ rgbColor: (e) => An.test(e),
1336
+ rgbaColor: (e) => jn.test(e),
1337
+ rgbOrRgbaColor: (e) => An.test(e) || jn.test(e),
1338
+ hexOrRgbColor: (e) => Dn.test(e) || An.test(e),
1339
+ hexaOrRgbaColor: (e) => On.test(e) || jn.test(e),
1340
+ anyColor: (e) => kn.test(e) || An.test(e) || jn.test(e)
1341
+ };
1342
+ //#endregion
1343
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/utils/debounce/debounce.js
1344
+ function Rn(e, t = 250, n) {
1345
+ let r = null;
1346
+ function i(...i) {
1347
+ r === null ? n && e.apply(this, i) : clearTimeout(r), r = setTimeout(() => {
1348
+ r = null, n || e.apply(this, i);
1349
+ }, t);
1350
+ }
1351
+ return i.cancel = () => {
1352
+ r !== null && (clearTimeout(r), r = null);
1353
+ }, i;
1354
+ }
1355
+ //#endregion
1356
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-validate/use-validate.js
1357
+ var zn = [
1358
+ !0,
1359
+ !1,
1360
+ "ondemand"
1361
+ ], Bn = {
1362
+ modelValue: {},
1363
+ error: {
1364
+ type: Boolean,
1365
+ default: null
1366
+ },
1367
+ errorMessage: String,
1368
+ noErrorIcon: Boolean,
1369
+ rules: Array,
1370
+ reactiveRules: Boolean,
1371
+ lazyRules: {
1372
+ type: [Boolean, String],
1373
+ default: !1,
1374
+ validator: (e) => zn.includes(e)
1375
+ }
1376
+ };
1377
+ function Vn(e, t) {
1378
+ let { props: n, proxy: i } = d(), a = D(!1), o = D(null), s = D(!1);
1379
+ En({
1380
+ validate: _,
1381
+ resetValidation: g
1382
+ });
1383
+ let c = 0, l, u = r(() => n.rules !== void 0 && n.rules !== null && n.rules.length !== 0), f = r(() => !n.disable && u.value && !t.value), p = r(() => n.error === !0 || a.value), m = r(() => typeof n.errorMessage == "string" && n.errorMessage.length !== 0 ? n.errorMessage : o.value);
1384
+ M(() => n.modelValue, () => {
1385
+ s.value = !0, f.value && n.lazyRules === !1 && v();
1386
+ });
1387
+ function h() {
1388
+ n.lazyRules !== "ondemand" && f.value && s.value && v();
1389
+ }
1390
+ M(() => n.reactiveRules, (e) => {
1391
+ e ? l === void 0 && (l = M(() => n.rules, h, {
1392
+ immediate: !0,
1393
+ deep: !0
1394
+ })) : l !== void 0 && (l(), l = void 0);
1395
+ }, { immediate: !0 }), M(() => n.lazyRules, h), M(e, (e) => {
1396
+ e ? s.value = !0 : f.value && n.lazyRules !== "ondemand" && v();
1397
+ });
1398
+ function g() {
1399
+ c++, t.value = !1, s.value = !1, a.value = !1, o.value = null, v.cancel();
1400
+ }
1401
+ function _(e = n.modelValue) {
1402
+ if (n.disable || !u.value) return !0;
1403
+ let r = ++c, i = t.value ? () => {} : () => {
1404
+ s.value = !0;
1405
+ }, l = (e, n) => {
1406
+ e && i(), a.value = e, o.value = n || null, t.value = !1;
1407
+ }, d = [];
1408
+ for (let t = 0; t < n.rules.length; t++) {
1409
+ let r = n.rules[t], i;
1410
+ if (typeof r == "function" ? i = r(e, Ln) : typeof r == "string" && Ln[r] !== void 0 && (i = Ln[r](e)), i === !1 || typeof i == "string") return l(!0, i), !1;
1411
+ i !== !0 && i !== void 0 && d.push(i);
1412
+ }
1413
+ return d.length === 0 ? (l(!1), !0) : (t.value = !0, Promise.all(d).then((e) => {
1414
+ if (e === void 0 || !Array.isArray(e) || e.length === 0) return r === c && l(!1), !0;
1415
+ let t = e.find((e) => e === !1 || typeof e == "string");
1416
+ return r === c && l(t !== void 0, t), t === void 0;
1417
+ }, (e) => (r === c && (console.error(e), l(!0)), !1)));
1418
+ }
1419
+ let v = Rn(_, 0);
1420
+ return b(() => {
1421
+ l?.(), v.cancel();
1422
+ }), Object.assign(i, {
1423
+ resetValidation: g,
1424
+ validate: _
1425
+ }), L(i, "hasError", () => p.value), {
1426
+ isDirtyModel: s,
1427
+ hasRules: u,
1428
+ hasError: p,
1429
+ errorMessage: m,
1430
+ validate: _,
1431
+ resetValidation: g
1432
+ };
1433
+ }
1434
+ //#endregion
1435
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-field/use-field.js
1436
+ function Hn(e) {
1437
+ return e != null && String(e).length !== 0;
1438
+ }
1439
+ var Un = {
1440
+ ...Cn,
1441
+ ...Bn,
1442
+ label: String,
1443
+ stackLabel: Boolean,
1444
+ hint: String,
1445
+ hideHint: Boolean,
1446
+ prefix: String,
1447
+ suffix: String,
1448
+ labelColor: String,
1449
+ color: String,
1450
+ bgColor: String,
1451
+ filled: Boolean,
1452
+ outlined: Boolean,
1453
+ borderless: Boolean,
1454
+ standout: [Boolean, String],
1455
+ square: Boolean,
1456
+ loading: Boolean,
1457
+ labelSlot: Boolean,
1458
+ bottomSlots: Boolean,
1459
+ hideBottomSpace: Boolean,
1460
+ rounded: Boolean,
1461
+ dense: Boolean,
1462
+ itemAligned: Boolean,
1463
+ counter: Boolean,
1464
+ clearable: Boolean,
1465
+ clearIcon: String,
1466
+ disable: Boolean,
1467
+ readonly: Boolean,
1468
+ autofocus: Boolean,
1469
+ for: String,
1470
+ maxlength: [Number, String]
1471
+ }, Wn = [
1472
+ "update:modelValue",
1473
+ "clear",
1474
+ "focus",
1475
+ "blur"
1476
+ ];
1477
+ function Gn({ requiredForAttr: e = !0, tagProp: t, changeEvent: n = !1 } = {}) {
1478
+ let { props: i, proxy: a } = d(), o = wn(i, a.$q), s = _t({
1479
+ required: e,
1480
+ getValue: () => i.for
1481
+ });
1482
+ return {
1483
+ requiredForAttr: e,
1484
+ changeEvent: n,
1485
+ tag: t ? r(() => i.tag) : { value: "label" },
1486
+ isDark: o,
1487
+ editable: r(() => !i.disable && !i.readonly),
1488
+ innerLoading: D(!1),
1489
+ focused: D(!1),
1490
+ hasPopupOpen: !1,
1491
+ splitAttrs: Sn(),
1492
+ targetUid: s,
1493
+ rootRef: D(null),
1494
+ targetRef: D(null),
1495
+ controlRef: D(null)
1496
+ };
1497
+ }
1498
+ function Kn(e, t) {
1499
+ return t === null ? null : f("div", {
1500
+ key: e,
1501
+ class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
1502
+ }, t);
1503
+ }
1504
+ function qn(e) {
1505
+ let { props: t, emit: i, slots: a, attrs: o, proxy: s } = d(), { $q: c } = s, l = null;
1506
+ e.hasValue === void 0 && (e.hasValue = r(() => Hn(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (e) => {
1507
+ i("update:modelValue", e);
1508
+ }), e.controlEvents === void 0 && (e.controlEvents = {
1509
+ onFocusin: N,
1510
+ onFocusout: P
1511
+ }), Object.assign(e, {
1512
+ clearValue: F,
1513
+ onControlFocusin: N,
1514
+ onControlFocusout: P,
1515
+ focus: j
1516
+ }), e.computedCounter === void 0 && (e.computedCounter = r(() => {
1517
+ if (t.counter) {
1518
+ let e = typeof t.modelValue == "string" || typeof t.modelValue == "number" ? String(t.modelValue).length : Array.isArray(t.modelValue) ? t.modelValue.length : 0, n = t.maxlength === void 0 ? t.maxValues : t.maxlength;
1519
+ return e + (n === void 0 ? "" : " / " + n);
1520
+ }
1521
+ }));
1522
+ let { isDirtyModel: u, hasRules: p, hasError: m, errorMessage: h, resetValidation: g } = Vn(e.focused, e.innerLoading), v = e.floatingLabel === void 0 ? r(() => t.stackLabel || e.focused.value || e.hasValue.value) : r(() => t.stackLabel || e.focused.value || e.floatingLabel.value), x = r(() => t.bottomSlots || t.hint !== void 0 || p.value || t.counter || t.error !== null), w = r(() => t.filled ? "filled" : t.outlined ? "outlined" : t.borderless ? "borderless" : t.standout ? "standout" : "standard"), T = r(() => `q-field row no-wrap items-start q-field--${w.value}` + (e.fieldClass === void 0 ? "" : ` ${e.fieldClass.value}`) + (t.rounded ? " q-field--rounded" : "") + (t.square ? " q-field--square" : "") + (v.value ? " q-field--float" : "") + (D.value ? " q-field--labeled" : "") + (t.dense ? " q-field--dense" : "") + (t.itemAligned ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value ? " q-field--focused" : "") + (m.value ? " q-field--error" : "") + (m.value || e.focused.value ? " q-field--highlighted" : "") + (!t.hideBottomSpace && x.value ? " q-field--with-bottom" : "") + (t.disable ? " q-field--disabled" : t.readonly ? " q-field--readonly" : "")), E = r(() => "q-field__control relative-position row no-wrap" + (t.bgColor === void 0 ? "" : ` bg-${t.bgColor}`) + (m.value ? " text-negative" : typeof t.standout == "string" && t.standout.length !== 0 && e.focused.value ? ` ${t.standout}` : t.color === void 0 ? "" : ` text-${t.color}`)), D = r(() => t.labelSlot || t.label !== void 0), O = r(() => "q-field__label no-pointer-events absolute ellipsis" + (t.labelColor !== void 0 && !m.value ? ` text-${t.labelColor}` : "")), k = r(() => ({
1523
+ id: e.targetUid.value,
1524
+ editable: e.editable.value,
1525
+ focused: e.focused.value,
1526
+ floatingLabel: v.value,
1527
+ modelValue: t.modelValue,
1528
+ emitValue: e.emitValue
1529
+ })), A = r(() => {
1530
+ let n = {};
1531
+ return e.targetUid.value && (n.for = e.targetUid.value), t.disable && (n["aria-disabled"] = "true"), n;
1532
+ });
1533
+ function ee() {
1534
+ let t = document.activeElement, n = e.targetRef?.value;
1535
+ n && (t === null || t.id !== e.targetUid.value) && (n.hasAttribute("tabindex") || (n = n.querySelector("[tabindex]")), n !== t && n?.focus({ preventScroll: !0 }));
1536
+ }
1537
+ function j() {
1538
+ Ze(ee);
1539
+ }
1540
+ function M() {
1541
+ Qe(ee);
1542
+ let t = document.activeElement;
1543
+ t !== null && e.rootRef.value.contains(t) && t.blur();
1544
+ }
1545
+ function N(t) {
1546
+ l !== null && (clearTimeout(l), l = null), e.editable.value && !e.focused.value && (e.focused.value = !0, i("focus", t));
1547
+ }
1548
+ function P(t, n) {
1549
+ l !== null && clearTimeout(l), l = setTimeout(() => {
1550
+ l = null, !(document.hasFocus() && (e.hasPopupOpen || e.controlRef === void 0 || e.controlRef.value === null || e.controlRef.value.contains(document.activeElement))) && (e.focused.value && (e.focused.value = !1, i("blur", t)), n?.());
1551
+ }, 0);
1552
+ }
1553
+ function F(n) {
1554
+ Me(n), c.platform.is.mobile ? e.rootRef.value.contains(document.activeElement) && document.activeElement.blur() : (e.targetRef?.value || e.rootRef.value).focus(), t.type === "file" && (e.inputRef.value.value = null), e.onClear?.(), i("update:modelValue", null), e.changeEvent && i("change", null), i("clear", t.modelValue), _(() => {
1555
+ let e = u.value;
1556
+ g(), u.value = e;
1557
+ });
1558
+ }
1559
+ function I(e) {
1560
+ [13, 32].includes(e.keyCode) && F(e);
1561
+ }
1562
+ function L() {
1563
+ let n = [];
1564
+ return a.prepend !== void 0 && n.push(f("div", {
1565
+ class: "q-field__prepend q-field__marginal row no-wrap items-center",
1566
+ key: "prepend",
1567
+ onClick: K
1568
+ }, a.prepend())), n.push(f("div", { class: "q-field__control-container col relative-position row no-wrap q-anchor--skip" }, R())), m.value && !t.noErrorIcon && n.push(Kn("error", [f(_n, {
1569
+ name: c.iconSet.field.error,
1570
+ color: "negative"
1571
+ })])), t.loading || e.innerLoading.value ? n.push(Kn("inner-loading-append", a.loading === void 0 ? [f(bn, { color: t.color })] : a.loading())) : t.clearable && e.hasValue.value && e.editable.value && n.push(Kn("inner-clearable-append", [f(_n, {
1572
+ class: "q-field__focusable-action",
1573
+ name: t.clearIcon || c.iconSet.field.clear,
1574
+ tabindex: 0,
1575
+ role: "button",
1576
+ "aria-hidden": "false",
1577
+ "aria-label": c.lang.label.clear,
1578
+ onKeyup: I,
1579
+ onClick: F
1580
+ })])), a.append !== void 0 && n.push(f("div", {
1581
+ class: "q-field__append q-field__marginal row no-wrap items-center",
1582
+ key: "append",
1583
+ onClick: K
1584
+ }, a.append())), e.getInnerAppend !== void 0 && n.push(Kn("inner-append", e.getInnerAppend())), e.getControlChild !== void 0 && n.push(e.getControlChild()), n;
1585
+ }
1586
+ function R() {
1587
+ let n = [];
1588
+ return t.prefix !== void 0 && t.prefix !== null && n.push(f("div", { class: "q-field__prefix no-pointer-events row items-center" }, t.prefix)), e.getShadowControl !== void 0 && e.hasShadow.value && n.push(e.getShadowControl()), D.value && n.push(f("div", { class: O.value }, X(a.label, t.label))), e.getControl === void 0 ? a.rawControl === void 0 ? a.control !== void 0 && n.push(f("div", {
1589
+ ref: e.targetRef,
1590
+ class: "q-field__native row",
1591
+ tabindex: -1,
1592
+ ...e.splitAttrs.attributes.value,
1593
+ "data-autofocus": t.autofocus || void 0
1594
+ }, a.control(k.value))) : n.push(a.rawControl()) : n.push(e.getControl()), t.suffix !== void 0 && t.suffix !== null && n.push(f("div", { class: "q-field__suffix no-pointer-events row items-center" }, t.suffix)), n.concat(X(a.default));
1595
+ }
1596
+ function z() {
1597
+ let r, i;
1598
+ m.value ? h.value === null ? (r = X(a.error), i = "q--slot-error") : (r = [f("div", { role: "alert" }, h.value)], i = `q--slot-error-${h.value}`) : (!t.hideHint || e.focused.value) && (t.hint === void 0 ? (r = X(a.hint), i = "q--slot-hint") : (r = [f("div", t.hint)], i = `q--slot-hint-${t.hint}`));
1599
+ let o = t.counter || a.counter !== void 0;
1600
+ if (t.hideBottomSpace && !o && r === void 0) return;
1601
+ let s = f("div", {
1602
+ key: i,
1603
+ class: "q-field__messages col"
1604
+ }, r);
1605
+ return f("div", {
1606
+ class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace ? "stale" : "animated"),
1607
+ onClick: K
1608
+ }, [t.hideBottomSpace ? s : f(n, { name: "q-transition--field-message" }, () => s), o ? f("div", { class: "q-field__counter" }, a.counter === void 0 ? e.computedCounter.value : a.counter()) : null]);
1609
+ }
1610
+ let B = !1;
1611
+ return S(() => {
1612
+ B = !0;
1613
+ }), y(() => {
1614
+ B && t.autofocus && s.focus();
1615
+ }), t.autofocus && C(() => {
1616
+ s.focus();
1617
+ }), b(() => {
1618
+ l !== null && clearTimeout(l);
1619
+ }), Object.assign(s, {
1620
+ focus: j,
1621
+ blur: M
1622
+ }), function() {
1623
+ let n = e.getControl === void 0 && a.control === void 0 ? {
1624
+ ...e.splitAttrs.attributes.value,
1625
+ "data-autofocus": t.autofocus || void 0,
1626
+ ...A.value
1627
+ } : A.value;
1628
+ return f(e.tag.value, {
1629
+ ref: e.rootRef,
1630
+ class: [T.value, o.class],
1631
+ style: o.style,
1632
+ ...n
1633
+ }, [
1634
+ a.before === void 0 ? null : f("div", {
1635
+ class: "q-field__before q-field__marginal row no-wrap items-center",
1636
+ onClick: K
1637
+ }, a.before()),
1638
+ f("div", { class: "q-field__inner relative-position col self-stretch" }, [f("div", {
1639
+ ref: e.controlRef,
1640
+ class: E.value,
1641
+ tabindex: -1,
1642
+ ...e.controlEvents
1643
+ }, L()), x.value ? z() : null]),
1644
+ a.after === void 0 ? null : f("div", {
1645
+ class: "q-field__after q-field__marginal row no-wrap items-center",
1646
+ onClick: K
1647
+ }, a.after())
1648
+ ]);
1649
+ };
1650
+ }
1651
+ //#endregion
1652
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/input/use-mask.js
1653
+ var Jn = {
1654
+ date: "####/##/##",
1655
+ datetime: "####/##/## ##:##",
1656
+ time: "##:##",
1657
+ fulltime: "##:##:##",
1658
+ phone: "(###) ### - ####",
1659
+ card: "#### #### #### ####"
1660
+ }, { tokenMap: Yn, tokenKeys: Xn } = Zn({
1661
+ "#": {
1662
+ pattern: "[\\d]",
1663
+ negate: "[^\\d]"
1664
+ },
1665
+ S: {
1666
+ pattern: "[a-zA-Z]",
1667
+ negate: "[^a-zA-Z]"
1668
+ },
1669
+ N: {
1670
+ pattern: "[0-9a-zA-Z]",
1671
+ negate: "[^0-9a-zA-Z]"
1672
+ },
1673
+ A: {
1674
+ pattern: "[a-zA-Z]",
1675
+ negate: "[^a-zA-Z]",
1676
+ transform: (e) => e.toLocaleUpperCase()
1677
+ },
1678
+ a: {
1679
+ pattern: "[a-zA-Z]",
1680
+ negate: "[^a-zA-Z]",
1681
+ transform: (e) => e.toLocaleLowerCase()
1682
+ },
1683
+ X: {
1684
+ pattern: "[0-9a-zA-Z]",
1685
+ negate: "[^0-9a-zA-Z]",
1686
+ transform: (e) => e.toLocaleUpperCase()
1687
+ },
1688
+ x: {
1689
+ pattern: "[0-9a-zA-Z]",
1690
+ negate: "[^0-9a-zA-Z]",
1691
+ transform: (e) => e.toLocaleLowerCase()
1692
+ }
1693
+ });
1694
+ function Zn(e) {
1695
+ let t = Object.keys(e), n = {};
1696
+ return t.forEach((t) => {
1697
+ let r = e[t];
1698
+ n[t] = {
1699
+ ...r,
1700
+ regex: new RegExp(r.pattern)
1701
+ };
1702
+ }), {
1703
+ tokenMap: n,
1704
+ tokenKeys: t
1705
+ };
1706
+ }
1707
+ function Qn(e) {
1708
+ return RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + e.join("") + "])|(.)", "g");
1709
+ }
1710
+ var $n = /[.*+?^${}()|[\]\\]/g, er = Qn(Xn), $ = String.fromCodePoint(1), tr = {
1711
+ mask: String,
1712
+ reverseFillMask: Boolean,
1713
+ fillMask: [Boolean, String],
1714
+ unmaskedValue: Boolean,
1715
+ maskTokens: Object
1716
+ };
1717
+ function nr(e, t, n, i) {
1718
+ let a, o, s, c, l, u, d = r(() => {
1719
+ if (e.maskTokens === void 0 || e.maskTokens === null) return {
1720
+ tokenMap: Yn,
1721
+ tokenRegexMask: er
1722
+ };
1723
+ let { tokenMap: t } = Zn(e.maskTokens), n = {
1724
+ ...Yn,
1725
+ ...t
1726
+ };
1727
+ return {
1728
+ tokenMap: n,
1729
+ tokenRegexMask: Qn(Object.keys(n))
1730
+ };
1731
+ }), f = D(null), p = D(h());
1732
+ function m() {
1733
+ return e.autogrow || [
1734
+ "textarea",
1735
+ "text",
1736
+ "search",
1737
+ "url",
1738
+ "tel",
1739
+ "password"
1740
+ ].includes(e.type);
1741
+ }
1742
+ M(() => e.type + e.autogrow, v), M(() => e.mask, (n) => {
1743
+ if (n !== void 0) y(p.value, !0);
1744
+ else {
1745
+ let n = E(p.value);
1746
+ v(), e.modelValue !== n && t("update:modelValue", n);
1747
+ }
1748
+ }), M(() => e.fillMask + e.reverseFillMask, () => {
1749
+ f.value && y(p.value, !0);
1750
+ }), M(() => e.unmaskedValue, () => {
1751
+ f.value && y(p.value);
1752
+ }), M(() => e.maskTokens, () => {
1753
+ f.value && y(p.value, !0);
1754
+ }, { deep: !0 });
1755
+ function h() {
1756
+ if (v(), f.value) {
1757
+ let t = w(E(e.modelValue));
1758
+ return e.fillMask === !1 ? t : O(t);
1759
+ }
1760
+ return e.modelValue;
1761
+ }
1762
+ function g(e) {
1763
+ if (e < a.length) return a.slice(-e);
1764
+ let t = "", n = a, r = n.indexOf($);
1765
+ if (r !== -1) {
1766
+ for (let r = e - n.length; r > 0; r--) t += $;
1767
+ n = n.slice(0, r) + t + n.slice(r);
1768
+ }
1769
+ return n;
1770
+ }
1771
+ function v() {
1772
+ if (f.value = e.mask !== void 0 && e.mask.length !== 0 && m(), !f.value) {
1773
+ c = void 0, a = "", o = "";
1774
+ return;
1775
+ }
1776
+ let t = Jn[e.mask] === void 0 ? e.mask : Jn[e.mask], n = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", r = n.replace($n, String.raw`\$&`), i = [], l = [], u = [], p = e.reverseFillMask, h = "", g = "";
1777
+ t.replace(d.value.tokenRegexMask, (e, t, n, r, a) => {
1778
+ if (r !== void 0) {
1779
+ let e = d.value.tokenMap[r];
1780
+ u.push(e), g = e.negate, p &&= (l.push("(?:" + g + "+)?(" + e.pattern + "+)?(?:" + g + "+)?(" + e.pattern + "+)?"), !1), l.push("(?:" + g + "+)?(" + e.pattern + ")?");
1781
+ return;
1782
+ }
1783
+ if (n !== void 0) h = "\\" + (n === "\\" ? "" : n), u.push(n);
1784
+ else {
1785
+ let e = t === void 0 ? a : t;
1786
+ h = e === "\\" ? String.raw`\\\\` : e.replace($n, String.raw`\\$&`), u.push(e);
1787
+ }
1788
+ i.push("([^" + h + "]+)?" + h + "?");
1789
+ });
1790
+ let _ = RegExp("^" + i.join("") + "(" + (h === "" ? "." : "[^" + h + "]") + "+)?" + (h === "" ? "" : "[" + h + "]*") + "$"), v = l.length - 1, y = l.map((t, n) => n === 0 && e.reverseFillMask ? RegExp("^" + r + "*" + t) : RegExp(n === v ? "^" + t + "(" + (g === "" ? "." : g) + "+)?" + (e.reverseFillMask ? "$" : r + "*") : "^" + t));
1791
+ s = u, c = (t) => {
1792
+ let n = _.exec(e.reverseFillMask ? t : t.slice(0, u.length + 1));
1793
+ n !== null && (t = n.slice(1).join(""));
1794
+ let r = [], i = y.length;
1795
+ for (let e = 0, n = t; e < i; e++) {
1796
+ let t = y[e].exec(n);
1797
+ if (t === null) break;
1798
+ n = n.slice(t.shift().length), r.push(...t);
1799
+ }
1800
+ return r.length === 0 ? t : r.join("");
1801
+ }, a = u.map((e) => typeof e == "string" ? e : $).join(""), o = a.split($).join(n);
1802
+ }
1803
+ function y(t, r, s) {
1804
+ let c = i.value, u = c?.selectionEnd ?? 0, d = c === null ? 0 : c.value.length - u, f = E(t);
1805
+ r === !0 && v();
1806
+ let m = w(f, r), h = e.fillMask === !1 ? m : O(m), g = p.value !== h;
1807
+ c !== null && c.value !== h && (c.value = h), g && (p.value = h), c !== null && document.activeElement === c && _(() => {
1808
+ if (h === o) {
1809
+ let t = e.reverseFillMask ? o.length : 0;
1810
+ c.setSelectionRange(t, t, "forward");
1811
+ return;
1812
+ }
1813
+ if (s === "insertFromPaste" && !e.reverseFillMask) {
1814
+ let e = c.selectionEnd, t = u - 1;
1815
+ for (let n = l; n <= t && n < e; n++) a[n] !== $ && t++;
1816
+ x.right(c, t);
1817
+ return;
1818
+ }
1819
+ if (["deleteContentBackward", "deleteContentForward"].includes(s)) {
1820
+ let t = e.reverseFillMask ? u === 0 ? +(h.length > m.length) : Math.max(0, h.length - (h === o ? 0 : Math.min(m.length, d) + 1)) + 1 : u;
1821
+ c.setSelectionRange(t, t, "forward");
1822
+ return;
1823
+ }
1824
+ if (e.reverseFillMask) {
1825
+ if (g) {
1826
+ let e = Math.max(0, h.length - (h === o ? 0 : Math.min(m.length, d + 1)));
1827
+ e === 1 && u === 1 ? c.setSelectionRange(e, e, "forward") : x.rightReverse(c, e);
1828
+ } else {
1829
+ let e = h.length - d;
1830
+ c.setSelectionRange(e, e, "backward");
1831
+ }
1832
+ } else if (g) {
1833
+ let e = Math.max(0, a.indexOf($), Math.min(m.length, u) - 1);
1834
+ x.right(c, e);
1835
+ } else {
1836
+ let e = u - 1;
1837
+ x.right(c, e);
1838
+ }
1839
+ });
1840
+ let y = e.unmaskedValue ? E(h) : h;
1841
+ String(e.modelValue) !== y && (e.modelValue !== null || y !== "") && n(y, !0);
1842
+ }
1843
+ function b(e, t, n) {
1844
+ let r = w(E(e.value));
1845
+ t = Math.max(0, a.indexOf($), Math.min(r.length, t)), l = t, e.setSelectionRange(t, n, "forward");
1846
+ }
1847
+ let x = {
1848
+ left(e, t) {
1849
+ let n = !a.slice(t - 1).includes($), r = Math.max(0, t - 1);
1850
+ for (; r >= 0; r--) if (a[r] === $) {
1851
+ t = r, n && t++;
1852
+ break;
1853
+ }
1854
+ if (r < 0 && a[t] !== void 0 && a[t] !== $) return x.right(e, 0);
1855
+ t >= 0 && e.setSelectionRange(t, t, "backward");
1856
+ },
1857
+ right(e, t) {
1858
+ let n = e.value.length, r = Math.min(n, t + 1);
1859
+ for (; r <= n; r++) if (a[r] === $) {
1860
+ t = r;
1861
+ break;
1862
+ } else a[r - 1] === $ && (t = r);
1863
+ if (r > n && a[t - 1] !== void 0 && a[t - 1] !== $) return x.left(e, n);
1864
+ e.setSelectionRange(t, t, "forward");
1865
+ },
1866
+ leftReverse(e, t) {
1867
+ let n = g(e.value.length), r = Math.max(0, t - 1);
1868
+ for (; r >= 0; r--) if (n[r - 1] === $) {
1869
+ t = r;
1870
+ break;
1871
+ } else if (n[r] === $ && (t = r, r === 0)) break;
1872
+ if (r < 0 && n[t] !== void 0 && n[t] !== $) return x.rightReverse(e, 0);
1873
+ t >= 0 && e.setSelectionRange(t, t, "backward");
1874
+ },
1875
+ rightReverse(e, t) {
1876
+ let n = e.value.length, r = g(n), i = !r.slice(0, t + 1).includes($), a = Math.min(n, t + 1);
1877
+ for (; a <= n; a++) if (r[a - 1] === $) {
1878
+ t = a, t > 0 && i && t--;
1879
+ break;
1880
+ }
1881
+ if (a > n && r[t - 1] !== void 0 && r[t - 1] !== $) return x.leftReverse(e, n);
1882
+ e.setSelectionRange(t, t, "forward");
1883
+ }
1884
+ };
1885
+ function S(e) {
1886
+ t("click", e), u = void 0;
1887
+ }
1888
+ function C(n) {
1889
+ if (t("keydown", n), Ie(n) || n.altKey) return;
1890
+ let r = i.value, a = r.selectionStart, o = r.selectionEnd;
1891
+ if (n.shiftKey || (u = void 0), n.keyCode === 37 || n.keyCode === 39) {
1892
+ n.shiftKey && u === void 0 && (u = r.selectionDirection === "forward" ? a : o);
1893
+ let t = x[(n.keyCode === 39 ? "right" : "left") + (e.reverseFillMask ? "Reverse" : "")];
1894
+ if (n.preventDefault(), t(r, u === a ? o : a), n.shiftKey) {
1895
+ let e = r.selectionStart;
1896
+ r.setSelectionRange(Math.min(u, e), Math.max(u, e), "forward");
1897
+ }
1898
+ } else n.keyCode === 8 && !e.reverseFillMask && a === o ? (x.left(r, a), r.setSelectionRange(r.selectionStart, o, "backward")) : n.keyCode === 46 && e.reverseFillMask && a === o && (x.rightReverse(r, o), r.setSelectionRange(a, r.selectionEnd, "forward"));
1899
+ }
1900
+ function w(t, n) {
1901
+ if (t == null || t === "") return "";
1902
+ if (e.reverseFillMask) return T(t, n);
1903
+ let r = s, i = 0, a = "";
1904
+ for (let e = 0; e < r.length; e++) {
1905
+ let o = t[i], s = r[e];
1906
+ if (typeof s == "string") a += s, n === !0 && o === s && i++;
1907
+ else if (o !== void 0 && s.regex.test(o)) a += s.transform === void 0 ? o : s.transform(o), i++;
1908
+ else return a;
1909
+ }
1910
+ return a;
1911
+ }
1912
+ function T(e, t) {
1913
+ let n = s, r = a.indexOf($), i = e.length - 1, o = "";
1914
+ for (let a = n.length - 1; a >= 0 && i !== -1; a--) {
1915
+ let s = n[a], c = e[i];
1916
+ if (typeof s == "string") o = s + o, t === !0 && c === s && i--;
1917
+ else if (c !== void 0 && s.regex.test(c)) do
1918
+ o = (s.transform === void 0 ? c : s.transform(c)) + o, i--, c = e[i];
1919
+ while (r === a && c !== void 0 && s.regex.test(c));
1920
+ else return o;
1921
+ }
1922
+ return o;
1923
+ }
1924
+ function E(e) {
1925
+ return typeof e != "string" || c === void 0 ? typeof e == "number" ? c(String(e)) : e : c(e);
1926
+ }
1927
+ function O(t) {
1928
+ return o.length - t.length <= 0 ? t : e.reverseFillMask && t.length !== 0 ? o.slice(0, -t.length) + t : t + o.slice(t.length);
1929
+ }
1930
+ return {
1931
+ innerValue: p,
1932
+ hasMask: f,
1933
+ moveCursorForPaste: b,
1934
+ updateMaskValue: y,
1935
+ onMaskedKeydown: C,
1936
+ onMaskedClick: S
1937
+ };
1938
+ }
1939
+ //#endregion
1940
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/use-form/private.use-form.js
1941
+ var rr = { name: String };
1942
+ function ir(e) {
1943
+ return r(() => e.name || e.for);
1944
+ }
1945
+ //#endregion
1946
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js
1947
+ function ar(e, t) {
1948
+ function n() {
1949
+ let t = e.modelValue;
1950
+ try {
1951
+ let e = "DataTransfer" in window ? new DataTransfer() : "ClipboardEvent" in window ? new ClipboardEvent("").clipboardData : void 0;
1952
+ return Object(t) === t && ("length" in t ? [...t] : [t]).forEach((t) => {
1953
+ e.items.add(t);
1954
+ }), { files: e.files };
1955
+ } catch {
1956
+ return { files: void 0 };
1957
+ }
1958
+ }
1959
+ return r(t ? () => {
1960
+ if (e.type === "file") return n();
1961
+ } : n);
1962
+ }
1963
+ //#endregion
1964
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js
1965
+ var or = /[\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFF9F\u4E00-\u9FAF\u3400-\u4DBF]/, sr = /[\u4E00-\u9FFF\u3400-\u4DBF\u{20000}-\u{2A6DF}\u{2A700}-\u{2B73F}\u{2B740}-\u{2B81F}\u{2B820}-\u{2CEAF}\uF900-\uFAFF\u3300-\u33FF\uFE30-\uFE4F\uF900-\uFAFF\u{2F800}-\u{2FA1F}]/u, cr = /[\u3131-\u314E\u314F-\u3163\uAC00-\uD7A3]/, lr = /[a-z0-9_ -]$/i;
1966
+ function ur(e) {
1967
+ return function(t) {
1968
+ if (t.type === "compositionend" || t.type === "change") {
1969
+ if (!t.target.qComposing) return;
1970
+ t.target.qComposing = !1, e(t);
1971
+ } else t.type === "compositionupdate" && !t.target.qComposing && typeof t.data == "string" && (W.is.firefox ? !lr.test(t.data) : or.test(t.data) || sr.test(t.data) || cr.test(t.data)) && (t.target.qComposing = !0);
1972
+ };
1973
+ }
1974
+ //#endregion
1975
+ //#region ../lilium/node_modules/.pnpm/quasar@2.23.3/node_modules/quasar/src/components/input/QInput.js
1976
+ var dr = Ke({
1977
+ name: "QInput",
1978
+ inheritAttrs: !1,
1979
+ props: {
1980
+ ...Un,
1981
+ ...tr,
1982
+ ...rr,
1983
+ modelValue: [
1984
+ String,
1985
+ Number,
1986
+ FileList
1987
+ ],
1988
+ modelModifiers: Object,
1989
+ shadowText: String,
1990
+ type: {
1991
+ type: String,
1992
+ default: "text"
1993
+ },
1994
+ debounce: [String, Number],
1995
+ autogrow: Boolean,
1996
+ inputClass: [
1997
+ Array,
1998
+ String,
1999
+ Object
2000
+ ],
2001
+ inputStyle: [
2002
+ Array,
2003
+ String,
2004
+ Object
2005
+ ]
2006
+ },
2007
+ emits: [
2008
+ ...Wn,
2009
+ "paste",
2010
+ "change",
2011
+ "keydown",
2012
+ "click",
2013
+ "animationend"
2014
+ ],
2015
+ setup(e, { emit: t, attrs: n }) {
2016
+ let { proxy: i } = d(), { $q: a } = i, o = {}, s = NaN, c = !1, l = !1, u = null, p, m = D(null), h = ir(e), { innerValue: g, hasMask: v, moveCursorForPaste: y, updateMaskValue: x, onMaskedKeydown: S, onMaskedClick: w } = nr(e, t, V, m), T = ar(e, !0), E = r(() => Hn(g.value)), O = ur(B), k = Gn({ changeEvent: !0 }), A = r(() => e.type === "textarea" || e.autogrow), ee = r(() => A.value || [
2017
+ "text",
2018
+ "search",
2019
+ "url",
2020
+ "tel",
2021
+ "password"
2022
+ ].includes(e.type)), j = r(() => {
2023
+ let t = {
2024
+ ...k.splitAttrs.listeners.value,
2025
+ onInput: B,
2026
+ onPaste: z,
2027
+ onChange: re,
2028
+ onBlur: ie,
2029
+ onFocus: je
2030
+ };
2031
+ return t.onCompositionstart = t.onCompositionupdate = t.onCompositionend = O, v.value && (t.onKeydown = S, t.onClick = w), e.autogrow && (t.onAnimationend = te), t;
2032
+ }), N = r(() => {
2033
+ let t = {
2034
+ tabindex: 0,
2035
+ "data-autofocus": e.autofocus || void 0,
2036
+ rows: e.type === "textarea" ? 6 : void 0,
2037
+ "aria-label": e.label,
2038
+ name: h.value,
2039
+ ...k.splitAttrs.attributes.value,
2040
+ id: k.targetUid.value,
2041
+ maxlength: e.maxlength,
2042
+ disabled: e.disable,
2043
+ readonly: e.readonly
2044
+ };
2045
+ return A.value || (t.type = e.type), e.autogrow && (t.rows = 1), t;
2046
+ });
2047
+ M(() => e.type, () => {
2048
+ m.value && (m.value.value = e.modelValue);
2049
+ }), M(() => e.modelValue, (t) => {
2050
+ if (u !== null && (H(), c = !1, l = !1, delete o.value), v.value) {
2051
+ if (l && (l = !1, String(t) === s)) return;
2052
+ x(t);
2053
+ } else g.value !== t && (g.value = t, e.type === "number" && Object.hasOwn(o, "value") && (c ? c = !1 : delete o.value), e.modelModifiers?.trim === !0 && Object.hasOwn(o, "value") && (typeof o.value != "string" || o.value.trim() !== t) && delete o.value);
2054
+ e.autogrow && _(U);
2055
+ }), M(() => e.autogrow, (e) => {
2056
+ e ? _(U) : m.value !== null && n.rows > 0 && (m.value.style.height = "auto");
2057
+ }), M(() => e.dense, () => {
2058
+ e.autogrow && _(U);
2059
+ });
2060
+ function P() {
2061
+ let e = document.activeElement;
2062
+ m.value !== null && m.value !== e && (e === null || e.id !== k.targetUid.value) && m.value.focus({ preventScroll: !0 });
2063
+ }
2064
+ function F() {
2065
+ Ze(P);
2066
+ }
2067
+ function I() {
2068
+ Qe(P);
2069
+ let e = document.activeElement;
2070
+ e !== null && k.rootRef.value.contains(e) && e.blur();
2071
+ }
2072
+ function R() {
2073
+ m.value?.select();
2074
+ }
2075
+ function z(n) {
2076
+ if (v.value && e.reverseFillMask !== !0) {
2077
+ let e = n.target;
2078
+ y(e, e.selectionStart, e.selectionEnd);
2079
+ }
2080
+ t("paste", n);
2081
+ }
2082
+ function B(n) {
2083
+ if (!n || !n.target) return;
2084
+ if (e.type === "file") {
2085
+ t("update:modelValue", n.target.files);
2086
+ return;
2087
+ }
2088
+ let r = n.target.value;
2089
+ if (n.target.qComposing) {
2090
+ o.value = r;
2091
+ return;
2092
+ }
2093
+ if (v.value) x(r, !1, n.inputType);
2094
+ else if (e.modelModifiers?.trim === !0 && (o.value = r), V(r), ee.value && n.target === document.activeElement) {
2095
+ let { selectionStart: e, selectionEnd: t } = n.target;
2096
+ e !== void 0 && t !== void 0 && _(() => {
2097
+ n.target === document.activeElement && r.indexOf(n.target.value) === 0 && n.target.setSelectionRange(e, t);
2098
+ });
2099
+ }
2100
+ e.autogrow && U();
2101
+ }
2102
+ function te(e) {
2103
+ t("animationend", e), U();
2104
+ }
2105
+ function V(n, r) {
2106
+ p = () => {
2107
+ u = null, e.type !== "number" && (e.modelModifiers?.trim !== !0 || v.value) && Object.hasOwn(o, "value") && delete o.value, e.modelValue !== n && s !== n && (s = n, r === !0 && (l = !0), t("update:modelValue", n), _(() => {
2108
+ s === n && (s = NaN);
2109
+ })), p = void 0;
2110
+ }, e.type === "number" && (c = !0, o.value = n), e.debounce === void 0 ? p() : (u !== null && clearTimeout(u), o.value = n, u = setTimeout(p, e.debounce));
2111
+ }
2112
+ function H() {
2113
+ u !== null && (clearTimeout(u), u = null), p = void 0;
2114
+ }
2115
+ function ne() {
2116
+ H(), c = !1, l = !1, delete o.value;
2117
+ }
2118
+ function U() {
2119
+ requestAnimationFrame(() => {
2120
+ let e = m.value;
2121
+ if (e !== null) {
2122
+ let t = e.parentNode.style, { scrollTop: n } = e, { overflowY: r, maxHeight: i } = a.platform.is.firefox ? {} : window.getComputedStyle(e), o = r !== void 0 && r !== "scroll";
2123
+ o && (e.style.overflowY = "hidden"), t.marginBottom = e.scrollHeight - 1 + "px", e.style.height = "1px", e.style.height = e.scrollHeight + "px", o && (e.style.overflowY = Number.parseInt(i, 10) < e.scrollHeight ? "auto" : "hidden"), t.marginBottom = "", e.scrollTop = n;
2124
+ }
2125
+ });
2126
+ }
2127
+ function re(e) {
2128
+ O(e), u !== null && (clearTimeout(u), u = null), p?.(), t("change", e.target.value);
2129
+ }
2130
+ function ie(t) {
2131
+ t !== void 0 && je(t), u !== null && (clearTimeout(u), u = null), p?.(), c = !1, l = !1, delete o.value, e.type !== "file" && setTimeout(() => {
2132
+ m.value !== null && (m.value.value = g.value === void 0 ? "" : g.value);
2133
+ }, 0);
2134
+ }
2135
+ function ae() {
2136
+ return Object.hasOwn(o, "value") ? o.value : g.value === void 0 ? "" : g.value;
2137
+ }
2138
+ b(() => {
2139
+ ie();
2140
+ }), C(() => {
2141
+ e.autogrow && U();
2142
+ }), Object.assign(k, {
2143
+ innerValue: g,
2144
+ fieldClass: r(() => `q-${A.value ? "textarea" : "input"}` + (e.autogrow ? " q-textarea--autogrow" : "")),
2145
+ hasShadow: r(() => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0),
2146
+ inputRef: m,
2147
+ emitValue: V,
2148
+ onClear: ne,
2149
+ hasValue: E,
2150
+ floatingLabel: r(() => E.value && (e.type !== "number" || Number.isFinite(Number(g.value))) || Hn(e.displayValue)),
2151
+ getControl: () => f(A.value ? "textarea" : "input", {
2152
+ ref: m,
2153
+ class: ["q-field__native q-placeholder", e.inputClass],
2154
+ style: e.inputStyle,
2155
+ ...N.value,
2156
+ ...j.value,
2157
+ ...e.type === "file" ? T.value : { value: ae() }
2158
+ }),
2159
+ getShadowControl: () => f("div", { class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (A.value ? "" : " text-no-wrap") }, [f("span", { class: "invisible" }, ae()), f("span", e.shadowText)])
2160
+ });
2161
+ let oe = qn(k);
2162
+ return Object.assign(i, {
2163
+ focus: F,
2164
+ blur: I,
2165
+ select: R,
2166
+ getNativeElement: () => m.value
2167
+ }), L(i, "nativeEl", () => m.value), oe;
2168
+ }
2169
+ });
2170
+ //#endregion
2171
+ //#region lib/components/inputs/VnInput.vue?vue&type=i18n&index=0&lang.i18n
2172
+ function fr(e) {
2173
+ let t = e;
2174
+ t.__i18n = t.__i18n || [], t.__i18n.push({
2175
+ locale: "",
2176
+ resource: {
2177
+ en: {
2178
+ inputMin: {
2179
+ t: 0,
2180
+ b: {
2181
+ t: 2,
2182
+ i: [{
2183
+ t: 3,
2184
+ v: "Must be more than "
2185
+ }, {
2186
+ t: 4,
2187
+ k: "value"
2188
+ }]
2189
+ }
2190
+ },
2191
+ maxLength: {
2192
+ t: 0,
2193
+ b: {
2194
+ t: 2,
2195
+ i: [
2196
+ {
2197
+ t: 3,
2198
+ v: "The value exceeds "
2199
+ },
2200
+ {
2201
+ t: 4,
2202
+ k: "value"
2203
+ },
2204
+ {
2205
+ t: 3,
2206
+ v: " characters"
2207
+ }
2208
+ ]
2209
+ }
2210
+ },
2211
+ inputMax: {
2212
+ t: 0,
2213
+ b: {
2214
+ t: 2,
2215
+ i: [{
2216
+ t: 3,
2217
+ v: "Must be less than "
2218
+ }, {
2219
+ t: 4,
2220
+ k: "value"
2221
+ }]
2222
+ }
2223
+ }
2224
+ },
2225
+ es: {
2226
+ inputMin: {
2227
+ t: 0,
2228
+ b: {
2229
+ t: 2,
2230
+ i: [{
2231
+ t: 3,
2232
+ v: "Debe ser mayor a "
2233
+ }, {
2234
+ t: 4,
2235
+ k: "value"
2236
+ }]
2237
+ }
2238
+ },
2239
+ maxLength: {
2240
+ t: 0,
2241
+ b: {
2242
+ t: 2,
2243
+ i: [
2244
+ {
2245
+ t: 3,
2246
+ v: "El valor excede los "
2247
+ },
2248
+ {
2249
+ t: 4,
2250
+ k: "value"
2251
+ },
2252
+ {
2253
+ t: 3,
2254
+ v: " carácteres"
2255
+ }
2256
+ ]
2257
+ }
2258
+ },
2259
+ inputMax: {
2260
+ t: 0,
2261
+ b: {
2262
+ t: 2,
2263
+ i: [{
2264
+ t: 3,
2265
+ v: "Debe ser menor a "
2266
+ }, {
2267
+ t: 4,
2268
+ k: "value"
2269
+ }]
2270
+ }
2271
+ },
2272
+ "Convert to uppercase": {
2273
+ t: 0,
2274
+ b: {
2275
+ t: 2,
2276
+ i: [{ t: 3 }],
2277
+ s: "Convertir a mayúsculas"
2278
+ }
2279
+ },
2280
+ Remove: {
2281
+ t: 0,
2282
+ b: {
2283
+ t: 2,
2284
+ i: [{ t: 3 }],
2285
+ s: "Eliminar"
2286
+ }
2287
+ }
2288
+ }
2289
+ }
2290
+ });
2291
+ }
2292
+ //#endregion
2293
+ //#region lib/components/inputs/VnInput.vue
2294
+ var pr = {
2295
+ __name: "VnInput",
2296
+ props: /*@__PURE__*/ h({
2297
+ isOutlined: {
2298
+ type: Boolean,
2299
+ default: !1
2300
+ },
2301
+ info: {
2302
+ type: String,
2303
+ default: ""
2304
+ },
2305
+ clearable: {
2306
+ type: Boolean,
2307
+ default: !0
2308
+ },
2309
+ emptyToNull: {
2310
+ type: Boolean,
2311
+ default: !0
2312
+ },
2313
+ insertable: {
2314
+ type: Boolean,
2315
+ default: !1
2316
+ },
2317
+ maxlength: {
2318
+ type: Number,
2319
+ default: null
2320
+ },
2321
+ uppercase: {
2322
+ type: Boolean,
2323
+ default: !1
2324
+ }
2325
+ }, {
2326
+ modelValue: { default: null },
2327
+ modelModifiers: {}
2328
+ }),
2329
+ emits: /*@__PURE__*/ h(["remove"], ["update:modelValue"]),
2330
+ setup(t, { expose: n, emit: u }) {
2331
+ let d = ee(), { isRequired: f, requiredFieldRule: p } = e(d), { t: m } = P(), h = u, y = t, b = j(t, "modelValue"), x = [
2332
+ "number",
2333
+ "search",
2334
+ "tel",
2335
+ "url",
2336
+ "password"
2337
+ ], S = (e) => {
2338
+ let t = e;
2339
+ y.emptyToNull && t === "" && (t = null), b.value = t;
2340
+ }, w = D(null), E = D(!1), M = r(() => y.isOutlined ? {
2341
+ dense: !0,
2342
+ outlined: !0,
2343
+ rounded: !0
2344
+ } : {}), F = (e) => {
2345
+ w.value?.focus(e);
2346
+ }, I = (e) => {
2347
+ _(() => {
2348
+ let t = e.target || w.value?.$el?.querySelector("input"), n = e.target.type || t?.getAttribute("type");
2349
+ if (n !== "email") {
2350
+ if (!x.includes(n)) {
2351
+ if (t?.setSelectionRange) {
2352
+ let e = t.value?.length ?? 0;
2353
+ t.setSelectionRange(e, e);
2354
+ }
2355
+ return;
2356
+ }
2357
+ t?.select?.();
2358
+ }
2359
+ });
2360
+ };
2361
+ n({
2362
+ focus: F,
2363
+ vnInputRef: w
2364
+ });
2365
+ let L = r(() => [
2366
+ p,
2367
+ ...d.rules ?? [],
2368
+ (e) => {
2369
+ let t = y.maxlength;
2370
+ if (t && +e?.length > t) return m("maxLength", { value: t });
2371
+ let { min: n, max: r } = d, i = n === void 0 ? void 0 : Number(n), a = r === void 0 ? void 0 : Number(r);
2372
+ return i !== void 0 && i >= 0 && Math.floor(e) < i ? m("inputMin", { value: i }) : a !== void 0 && a > 0 && Math.floor(e) > a ? m("inputMax", { value: a }) : !0;
2373
+ }
2374
+ ]), R = (e) => {
2375
+ e.key !== "Backspace" && y.insertable && e.key.match(/[0-9]/) && z(e);
2376
+ }, z = (e) => {
2377
+ e.preventDefault();
2378
+ let t = e.target, n = t.selectionStart, r = y.maxlength, i = b.value;
2379
+ i ||= e.key;
2380
+ let a = e.key;
2381
+ a && !isNaN(a) && n < r && S(i.substring(0, n) + a + i.substring(n + 1)), _(() => {
2382
+ t.setSelectionRange(n + 1, n + 1);
2383
+ });
2384
+ }, B = () => {
2385
+ b.value = b.value?.toUpperCase() || "";
2386
+ };
2387
+ return C(() => {
2388
+ d.autofocus && F();
2389
+ }), (e, n) => (T(), o("div", {
2390
+ onMouseover: n[1] ||= (e) => E.value = !0,
2391
+ onMouseleave: n[2] ||= (e) => E.value = !1
2392
+ }, [l(dr, g({
2393
+ ref_key: "vnInputRef",
2394
+ ref: w,
2395
+ "model-value": A(b),
2396
+ "onUpdate:modelValue": S
2397
+ }, {
2398
+ ...A(d),
2399
+ ...M.value
2400
+ }, {
2401
+ class: { required: A(f) },
2402
+ onKeydown: R,
2403
+ onFocus: I,
2404
+ clearable: !1,
2405
+ rules: L.value,
2406
+ "lazy-rules": !0,
2407
+ "hide-bottom-space": "",
2408
+ "data-cy": (A(d)["data-cy"] ?? A(d).label) + "_input"
2409
+ }), s({
2410
+ append: N(() => [
2411
+ l(_n, {
2412
+ name: "close",
2413
+ size: "xs",
2414
+ class: "cursor-pointer",
2415
+ style: v({ visibility: E.value && A(b) && !A(d).disabled && !A(d).readonly && y.clearable ? "visible" : "hidden" }),
2416
+ onClick: n[0] ||= () => {
2417
+ S(null), w.value?.focus(), h("remove");
2418
+ }
2419
+ }, {
2420
+ default: N(() => [l(Qt, null, {
2421
+ default: N(() => [c(k(A(m)("Remove")), 1)]),
2422
+ _: 1
2423
+ })]),
2424
+ _: 1
2425
+ }, 8, ["style"]),
2426
+ !A(d).disabled && !A(d).readonly && y.uppercase ? (T(), i(_n, {
2427
+ key: 0,
2428
+ name: "match_case",
2429
+ size: "xs",
2430
+ onClick: B,
2431
+ class: "uppercase-icon"
2432
+ }, {
2433
+ default: N(() => [l(Qt, null, {
2434
+ default: N(() => [c(k(A(m)("Convert to uppercase")), 1)]),
2435
+ _: 1
2436
+ })]),
2437
+ _: 1
2438
+ })) : a("", !0),
2439
+ e.$slots.append && !A(d).disabled ? O(e.$slots, "append", {}, void 0, void 0, 1) : a("", !0),
2440
+ t.info ? (T(), i(_n, {
2441
+ key: 2,
2442
+ name: "info"
2443
+ }, {
2444
+ default: N(() => [l(Qt, { "max-width": "350px" }, {
2445
+ default: N(() => [c(k(t.info), 1)]),
2446
+ _: 1
2447
+ })]),
2448
+ _: 1
2449
+ })) : a("", !0)
2450
+ ]),
2451
+ _: 2
2452
+ }, [e.$slots.hint ? {
2453
+ name: "hint",
2454
+ fn: N(() => [O(e.$slots, "hint")]),
2455
+ key: "0"
2456
+ } : void 0, e.$slots.prepend ? {
2457
+ name: "prepend",
2458
+ fn: N(() => [O(e.$slots, "prepend")]),
2459
+ key: "1"
2460
+ } : void 0]), 1040, [
2461
+ "model-value",
2462
+ "class",
2463
+ "rules",
2464
+ "data-cy"
2465
+ ])], 32));
2466
+ }
2467
+ };
2468
+ typeof fr == "function" && fr(pr);
2469
+ //#endregion
2470
+ //#region lib/components/index.js
2471
+ var mr = /* @__PURE__ */ I({ VnInput: () => pr });
2472
+ //#endregion
2473
+ export { pr as n, mr as t };