@verdnatura/vn-front-lib 0.0.13 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components-BAAsDbKC.js +8587 -0
- package/dist/components-zdOTH0ZE.cjs +9 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +2 -2
- package/dist/composables-BTDp8DJ1.cjs +56 -0
- package/dist/composables-CAAnziP1.js +3595 -0
- package/dist/composables.cjs +1 -1
- package/dist/composables.js +1 -1
- package/dist/vn-front-lib.cjs +1 -1
- package/dist/vn-front-lib.css +1 -1
- package/dist/vn-front-lib.js +7 -6
- package/lib/components/index.js +2 -0
- package/lib/components/inputs/VnDate.vue +34 -0
- package/lib/components/inputs/VnInputDate.vue +275 -0
- package/lib/composables/useGlobalMessages.js +4 -1
- package/lib/main.js +3 -1
- package/package.json +5 -3
- package/dist/components-D0h9vBQX.js +0 -4789
- package/dist/components-cImd3SSZ.cjs +0 -2
- package/dist/composables-BRRRUB-j.cjs +0 -4
- package/dist/composables-DKarSsx2.js +0 -2283
|
@@ -1,4789 +0,0 @@
|
|
|
1
|
-
import { _ as e, b as t, g as n, h as r, m as i, p as a, t as o, u as s, v as c, y as l } from "./composables-DKarSsx2.js";
|
|
2
|
-
import { useStateStore as u } from "./stores.js";
|
|
3
|
-
import { onBeforeSave as d } from "./filters.js";
|
|
4
|
-
import { Fragment as f, Teleport as p, Transition as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as b, createTextVNode as x, createVNode as S, defineComponent as C, getCurrentInstance as w, h as T, inject as E, markRaw as D, mergeModels as O, mergeProps as k, nextTick as A, normalizeClass as j, normalizeStyle as M, onActivated as N, onBeforeUnmount as P, onBeforeUpdate as F, onDeactivated as I, onMounted as L, onUnmounted as R, openBlock as z, provide as B, reactive as ee, ref as V, renderSlot as H, shallowRef as U, toDisplayString as te, unref as W, useAttrs as G, useModel as ne, vShow as K, watch as q, withCtx as J, withDirectives as re, withModifiers as ie } from "vue";
|
|
5
|
-
import * as ae from "quasar";
|
|
6
|
-
import { useI18n as oe } from "vue-i18n";
|
|
7
|
-
import se from "axios";
|
|
8
|
-
import { onBeforeRouteLeave as ce, useRoute as le, useRouter as ue } from "vue-router";
|
|
9
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-size/use-size.js
|
|
10
|
-
var de = {
|
|
11
|
-
xs: 18,
|
|
12
|
-
sm: 24,
|
|
13
|
-
md: 32,
|
|
14
|
-
lg: 38,
|
|
15
|
-
xl: 46
|
|
16
|
-
}, fe = { size: String };
|
|
17
|
-
function pe(e) {
|
|
18
|
-
let t = /* @__PURE__ */ new Map();
|
|
19
|
-
return (n) => {
|
|
20
|
-
if (n === void 0) return null;
|
|
21
|
-
let r = t.get(n);
|
|
22
|
-
return r === void 0 && (t.size > 500 && t.clear(), r = { fontSize: n in e ? `${e[n]}px` : n }, t.set(n, r)), r;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
var me = /*#__PURE__*/ pe(de);
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.inject-obj-prop/inject-obj-prop.js
|
|
28
|
-
function he(e, t, n, r) {
|
|
29
|
-
return Object.defineProperty(e, t, {
|
|
30
|
-
get: n,
|
|
31
|
-
set: r,
|
|
32
|
-
enumerable: !0
|
|
33
|
-
}), e;
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.create/create.js
|
|
37
|
-
function Y(e) {
|
|
38
|
-
return D(C(e));
|
|
39
|
-
}
|
|
40
|
-
function ge(e) {
|
|
41
|
-
return D(e);
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.render/render.js
|
|
45
|
-
function X(e, t) {
|
|
46
|
-
return e === void 0 ? t : e() || t;
|
|
47
|
-
}
|
|
48
|
-
function _e(e, t) {
|
|
49
|
-
return e === void 0 ? t : t.concat(e());
|
|
50
|
-
}
|
|
51
|
-
function ve(e, t) {
|
|
52
|
-
return e === void 0 ? t : t === void 0 ? e() : t.concat(e());
|
|
53
|
-
}
|
|
54
|
-
//#endregion
|
|
55
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/icon/QIcon.js
|
|
56
|
-
var ye = "0 0 24 24", be = {
|
|
57
|
-
"mdi-": "mdi ",
|
|
58
|
-
"icon-": "",
|
|
59
|
-
"fa-": "",
|
|
60
|
-
"bt-": "bt ",
|
|
61
|
-
"eva-": "eva ",
|
|
62
|
-
"iconfont ": "",
|
|
63
|
-
"ti-": "themify-icon ",
|
|
64
|
-
"bi-": "bootstrap-icons ",
|
|
65
|
-
"i-": ""
|
|
66
|
-
}, xe = Object.keys(be), Se = {
|
|
67
|
-
o_: "-outlined",
|
|
68
|
-
r_: "-round",
|
|
69
|
-
s_: "-sharp"
|
|
70
|
-
}, Ce = {
|
|
71
|
-
sym_o_: "-outlined",
|
|
72
|
-
sym_r_: "-rounded",
|
|
73
|
-
sym_s_: "-sharp"
|
|
74
|
-
};
|
|
75
|
-
function we(e) {
|
|
76
|
-
let t = e.codePointAt(0);
|
|
77
|
-
if (t !== 102 && t !== 108 || e.codePointAt(1) !== 97) return !1;
|
|
78
|
-
let n = e.codePointAt(2);
|
|
79
|
-
return n === 32 || e.codePointAt(3) === 32 && (n === 115 || n === 114 || n === 108 || n === 98 || n === 100 || n === 107);
|
|
80
|
-
}
|
|
81
|
-
function Te(e) {
|
|
82
|
-
return e === 32 || e >= 9 && e <= 13 || e === 160 || e === 5760 || e >= 8192 && e <= 8202 || e === 8232 || e === 8233 || e === 8239 || e === 8287 || e === 12288 || e === 65279;
|
|
83
|
-
}
|
|
84
|
-
function Ee(e) {
|
|
85
|
-
let t = e.codePointAt(0);
|
|
86
|
-
if (t !== 77 && t !== 109) return !1;
|
|
87
|
-
let n = 1, r = e.codePointAt(n);
|
|
88
|
-
return Te(r) && (r = e.codePointAt(++n)), (r === 43 || r === 45) && (r = e.codePointAt(++n)), r === 46 && (r = e.codePointAt(++n)), r >= 48 && r <= 57;
|
|
89
|
-
}
|
|
90
|
-
var De = { cls: "" }, Oe = { "aria-hidden": "true" };
|
|
91
|
-
function ke(e, t) {
|
|
92
|
-
if (e.startsWith("img:")) return {
|
|
93
|
-
cls: "",
|
|
94
|
-
img: !0,
|
|
95
|
-
src: e.slice(4)
|
|
96
|
-
};
|
|
97
|
-
if (e.startsWith("svguse:")) {
|
|
98
|
-
let [t, n] = e.split("|");
|
|
99
|
-
return {
|
|
100
|
-
cls: "",
|
|
101
|
-
svguse: !0,
|
|
102
|
-
src: t.slice(7),
|
|
103
|
-
viewBox: n || ye
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
if (e.startsWith("ion-")) return { cls: " ionicons " + (e.startsWith("ion-md") || e.startsWith("ion-ios") || e.startsWith("ion-logo") ? e : `ion-${t ? "ios" : "md"}${e.slice(3)}`) };
|
|
107
|
-
if (e.startsWith("sym_")) {
|
|
108
|
-
let t = Ce[e.slice(0, 6)];
|
|
109
|
-
if (t !== void 0) return {
|
|
110
|
-
cls: " notranslate material-symbols" + t,
|
|
111
|
-
content: e.slice(6),
|
|
112
|
-
ligature: !0
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
for (let t of xe) if (e.startsWith(t)) return { cls: ` ${be[t]}${e}` };
|
|
116
|
-
if (we(e)) return { cls: " " + e };
|
|
117
|
-
if (Ee(e)) {
|
|
118
|
-
let [t, n] = e.split("|");
|
|
119
|
-
return {
|
|
120
|
-
cls: "",
|
|
121
|
-
svg: !0,
|
|
122
|
-
viewBox: n || ye,
|
|
123
|
-
nodes: t.split("&&").map((e) => {
|
|
124
|
-
let [t, n, r] = e.split("@@");
|
|
125
|
-
return {
|
|
126
|
-
d: t,
|
|
127
|
-
style: n,
|
|
128
|
-
transform: r
|
|
129
|
-
};
|
|
130
|
-
})
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
let n = " notranslate material-icons", r = Se[e.slice(0, 2)];
|
|
134
|
-
return r === void 0 ? {
|
|
135
|
-
cls: n,
|
|
136
|
-
content: e,
|
|
137
|
-
ligature: !0
|
|
138
|
-
} : {
|
|
139
|
-
cls: n + r,
|
|
140
|
-
content: e.slice(2),
|
|
141
|
-
ligature: !0
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
var Ae = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map();
|
|
145
|
-
function Me(e, t) {
|
|
146
|
-
let n = t ? je : Ae, r = n.get(e);
|
|
147
|
-
return r === void 0 && (n.size > 1e3 && n.clear(), r = ke(e, t), n.set(e, r)), r;
|
|
148
|
-
}
|
|
149
|
-
var Ne = /* @__PURE__ */ new WeakMap();
|
|
150
|
-
function Pe(e, t, n) {
|
|
151
|
-
let r = Ne.get(e);
|
|
152
|
-
r === void 0 && (r = /* @__PURE__ */ new Map(), Ne.set(e, r));
|
|
153
|
-
let i = (n === !0 ? "ios;" : "md;") + t, a = r.get(i);
|
|
154
|
-
if (a === void 0) {
|
|
155
|
-
r.size > 1e3 && r.clear();
|
|
156
|
-
let o = e(t);
|
|
157
|
-
if (o === void 0) a = Me(t, n);
|
|
158
|
-
else if (o.icon !== void 0) a = o.icon === "none" || !o.icon ? De : Me(o.icon, n);
|
|
159
|
-
else {
|
|
160
|
-
let { cls: e, content: t } = o;
|
|
161
|
-
a = {
|
|
162
|
-
cls: e === void 0 ? "" : " " + e,
|
|
163
|
-
content: t,
|
|
164
|
-
ligature: t !== void 0 && t.trim().length !== 0
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
r.set(i, a);
|
|
168
|
-
}
|
|
169
|
-
return a;
|
|
170
|
-
}
|
|
171
|
-
var Fe = /*#__PURE__*/ Y({
|
|
172
|
-
name: "QIcon",
|
|
173
|
-
props: {
|
|
174
|
-
...fe,
|
|
175
|
-
tag: {
|
|
176
|
-
type: String,
|
|
177
|
-
default: "i"
|
|
178
|
-
},
|
|
179
|
-
name: String,
|
|
180
|
-
color: String,
|
|
181
|
-
left: Boolean,
|
|
182
|
-
right: Boolean
|
|
183
|
-
},
|
|
184
|
-
setup(e, { slots: t }) {
|
|
185
|
-
let n = c(), r = n.platform.is.ios, i = null, a = De, o = null;
|
|
186
|
-
return () => {
|
|
187
|
-
let s = e.name;
|
|
188
|
-
(s !== i || n.iconMapFn !== o) && (i = s, o = n.iconMapFn, a = s === "none" || !s ? De : o === null ? Me(s, r) : Pe(o, s, r));
|
|
189
|
-
let c = a, l = {
|
|
190
|
-
"aria-hidden": "true",
|
|
191
|
-
class: "q-icon" + (e.left ? " on-left" : "") + (e.right ? " on-right" : "") + (e.color === void 0 ? "" : ` text-${e.color}`) + c.cls
|
|
192
|
-
};
|
|
193
|
-
return e.size !== void 0 && (l.style = me(e.size)), c.content === void 0 ? c.img ? T(e.tag, l, _e(t.default, [T("img", { src: c.src })])) : c.svg ? T(e.tag, l, _e(t.default, [T("svg", { viewBox: c.viewBox }, c.nodes.map((e) => T("path", e)))])) : c.svguse ? T(e.tag, l, _e(t.default, [T("svg", { viewBox: c.viewBox }, [T("use", { "xlink:href": c.src })])])) : T(e.tag, l, X(t.default)) : T(e.tag, l, _e(t.default, [c.ligature ? T("span", Oe, c.content) : c.content]));
|
|
194
|
-
};
|
|
195
|
-
}
|
|
196
|
-
}), Ie = /*#__PURE__*/ Y({
|
|
197
|
-
name: "QAvatar",
|
|
198
|
-
props: {
|
|
199
|
-
...fe,
|
|
200
|
-
fontSize: String,
|
|
201
|
-
color: String,
|
|
202
|
-
textColor: String,
|
|
203
|
-
icon: String,
|
|
204
|
-
square: Boolean,
|
|
205
|
-
rounded: Boolean
|
|
206
|
-
},
|
|
207
|
-
setup(e, { slots: t }) {
|
|
208
|
-
let n = h(() => "q-avatar" + (e.color ? ` bg-${e.color}` : "") + (e.textColor ? ` text-${e.textColor} q-chip--colored` : "") + (e.square ? " q-avatar--square" : e.rounded ? " rounded-borders" : "")), r = h(() => e.fontSize ? { fontSize: e.fontSize } : null);
|
|
209
|
-
return () => {
|
|
210
|
-
let i = e.icon === void 0 ? void 0 : [T(Fe, { name: e.icon })], a = { class: n.value };
|
|
211
|
-
return e.size !== void 0 && (a.style = me(e.size)), T("div", a, [T("div", {
|
|
212
|
-
class: "q-avatar__content row flex-center overflow-hidden",
|
|
213
|
-
style: r.value
|
|
214
|
-
}, ve(t.default, i))]);
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
}), Le = /*#__PURE__*/ Y({
|
|
218
|
-
name: "QSpace",
|
|
219
|
-
setup() {
|
|
220
|
-
let e = T("div", { class: "q-space" });
|
|
221
|
-
return () => e;
|
|
222
|
-
}
|
|
223
|
-
}), Re = {
|
|
224
|
-
size: {
|
|
225
|
-
type: [String, Number],
|
|
226
|
-
default: "1em"
|
|
227
|
-
},
|
|
228
|
-
color: String
|
|
229
|
-
};
|
|
230
|
-
function ze(e) {
|
|
231
|
-
return e in de ? `${de[e]}px` : e;
|
|
232
|
-
}
|
|
233
|
-
function Be(e, t) {
|
|
234
|
-
return "q-spinner" + (t ? ` q-spinner-${t}` : "") + (e ? ` text-${e}` : "");
|
|
235
|
-
}
|
|
236
|
-
//#endregion
|
|
237
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/spinner/QSpinner.js
|
|
238
|
-
var Ve = /*#__PURE__*/ Y({
|
|
239
|
-
name: "QSpinner",
|
|
240
|
-
props: {
|
|
241
|
-
...Re,
|
|
242
|
-
thickness: {
|
|
243
|
-
type: Number,
|
|
244
|
-
default: 5
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
setup(e) {
|
|
248
|
-
return () => {
|
|
249
|
-
let t = ze(e.size);
|
|
250
|
-
return T("svg", {
|
|
251
|
-
class: Be(e.color, "mat"),
|
|
252
|
-
width: t,
|
|
253
|
-
height: t,
|
|
254
|
-
viewBox: "0 0 50 50"
|
|
255
|
-
}, [T("circle", {
|
|
256
|
-
class: "path",
|
|
257
|
-
cx: "25",
|
|
258
|
-
cy: "25",
|
|
259
|
-
r: "20",
|
|
260
|
-
fill: "none",
|
|
261
|
-
stroke: "currentColor",
|
|
262
|
-
"stroke-width": e.thickness,
|
|
263
|
-
"stroke-miterlimit": "10"
|
|
264
|
-
})]);
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
});
|
|
268
|
-
//#endregion
|
|
269
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/dom/dom.js
|
|
270
|
-
function He(e, t) {
|
|
271
|
-
let n = e.style;
|
|
272
|
-
for (let e in t) n[e] = t[e];
|
|
273
|
-
}
|
|
274
|
-
function Ue(e, t) {
|
|
275
|
-
if (e == null || e.contains(t)) return !0;
|
|
276
|
-
for (let n = e.nextElementSibling; n !== null; n = n.nextElementSibling) if (n.contains(t)) return !0;
|
|
277
|
-
return !1;
|
|
278
|
-
}
|
|
279
|
-
//#endregion
|
|
280
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/event/event.js
|
|
281
|
-
var Z = {
|
|
282
|
-
hasPassive: !0,
|
|
283
|
-
passive: { passive: !0 },
|
|
284
|
-
notPassive: { passive: !1 },
|
|
285
|
-
passiveCapture: {
|
|
286
|
-
passive: !0,
|
|
287
|
-
capture: !0
|
|
288
|
-
},
|
|
289
|
-
notPassiveCapture: {
|
|
290
|
-
passive: !1,
|
|
291
|
-
capture: !0
|
|
292
|
-
}
|
|
293
|
-
};
|
|
294
|
-
function We() {}
|
|
295
|
-
function Ge(e) {
|
|
296
|
-
return e.touches && e.touches[0] ? e = e.touches[0] : e.changedTouches && e.changedTouches[0] ? e = e.changedTouches[0] : e.targetTouches && e.targetTouches[0] && (e = e.targetTouches[0]), {
|
|
297
|
-
top: e.clientY,
|
|
298
|
-
left: e.clientX
|
|
299
|
-
};
|
|
300
|
-
}
|
|
301
|
-
function Ke(e) {
|
|
302
|
-
e.stopPropagation();
|
|
303
|
-
}
|
|
304
|
-
function qe(e) {
|
|
305
|
-
e.cancelable !== !1 && e.preventDefault();
|
|
306
|
-
}
|
|
307
|
-
function Je(e) {
|
|
308
|
-
e.cancelable !== !1 && e.preventDefault(), e.stopPropagation();
|
|
309
|
-
}
|
|
310
|
-
function Ye(e, t, n) {
|
|
311
|
-
let r = `__q_${t}_evt`;
|
|
312
|
-
e[r] = [...e[r] ?? [], ...n], n.forEach((t) => {
|
|
313
|
-
t[0].addEventListener(t[1], e[t[2]], Z[t[3]]);
|
|
314
|
-
});
|
|
315
|
-
}
|
|
316
|
-
function Xe(e, t) {
|
|
317
|
-
let n = `__q_${t}_evt`;
|
|
318
|
-
e[n] !== void 0 && (e[n].forEach((t) => {
|
|
319
|
-
t[0].removeEventListener(t[1], e[t[2]], Z[t[3]]);
|
|
320
|
-
}), e[n] = void 0);
|
|
321
|
-
}
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.keyboard/key-composition.js
|
|
324
|
-
var Ze = !1;
|
|
325
|
-
function Qe(e) {
|
|
326
|
-
return Ze || e !== Object(e) || e.isComposing || e.qKeyEvent;
|
|
327
|
-
}
|
|
328
|
-
function $e(e, t) {
|
|
329
|
-
return !Qe(e) && (Array.isArray(t) ? t.includes(e.keyCode) : t === e.keyCode);
|
|
330
|
-
}
|
|
331
|
-
//#endregion
|
|
332
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/directives/ripple/Ripple.js
|
|
333
|
-
var et = 50, tt = 100, nt = 300, { passive: rt } = Z, it = [
|
|
334
|
-
[],
|
|
335
|
-
[["click", ot], ["keyup", st]],
|
|
336
|
-
[
|
|
337
|
-
["pointerdown", ot],
|
|
338
|
-
["pointercancel", ct],
|
|
339
|
-
["pointerleave", ct],
|
|
340
|
-
["keydown", st]
|
|
341
|
-
]
|
|
342
|
-
];
|
|
343
|
-
function at(e, t, n, r) {
|
|
344
|
-
n.stop && Ke(e);
|
|
345
|
-
let i = n.color, a = n.center || r === !0, o = document.createElement("span"), s = document.createElement("span"), c = Ge(e), { left: l, top: u, width: d, height: f } = t.getBoundingClientRect(), p = Math.hypot(d, f), m = p / 2, h = `${(d - p) / 2}px`, g = a ? h : `${c.left - l - m}px`, _ = `${(f - p) / 2}px`, v = a ? _ : `${c.top - u - m}px`;
|
|
346
|
-
s.className = "q-ripple__inner", He(s, {
|
|
347
|
-
height: `${p}px`,
|
|
348
|
-
width: `${p}px`,
|
|
349
|
-
transform: `translate(${g},${v}) scale(.2)`,
|
|
350
|
-
opacity: 0
|
|
351
|
-
}), o.className = `q-ripple${i ? " text-" + i : ""}`, o.setAttribute("dir", "ltr"), o.append(s), t.append(o);
|
|
352
|
-
let y, b = 0, x = () => {
|
|
353
|
-
o.remove();
|
|
354
|
-
let e = n.ripples.indexOf(w);
|
|
355
|
-
e !== -1 && n.ripples.splice(e, 1);
|
|
356
|
-
}, S = () => {
|
|
357
|
-
b = 2, s.classList.remove("q-ripple__inner--enter"), s.classList.add("q-ripple__inner--leave"), s.style.opacity = 0, y = setTimeout(x, 275);
|
|
358
|
-
}, C = () => {
|
|
359
|
-
b = 1, s.classList.add("q-ripple__inner--enter"), s.style.transform = `translate(${h},${_}) scale(1)`, s.style.opacity = .2, y = setTimeout(S, 250);
|
|
360
|
-
}, w = {
|
|
361
|
-
pointerId: e.type === "pointerdown" ? e.pointerId : null,
|
|
362
|
-
abort() {
|
|
363
|
-
clearTimeout(y), o.remove();
|
|
364
|
-
},
|
|
365
|
-
cancel() {
|
|
366
|
-
w.pointerId = null, b !== 2 && (clearTimeout(y), b === 0 ? x() : S());
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
n.ripples.push(w), y = setTimeout(C, e.type === "pointerdown" && e.pointerType === "touch" ? tt : et);
|
|
370
|
-
}
|
|
371
|
-
function ot(e) {
|
|
372
|
-
if (!e.qSkipRipple) {
|
|
373
|
-
let t = e.currentTarget;
|
|
374
|
-
at(e, t, t.__qripple, e.qKeyEvent === !0);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
function st(e) {
|
|
378
|
-
let t = e.currentTarget, n = t.__qripple;
|
|
379
|
-
if (!e.qSkipRipple && $e(e, n.keyCodes)) {
|
|
380
|
-
let r = Date.now();
|
|
381
|
-
r - n.keyTime >= nt && (n.keyTime = r, at(e, t, n, !0));
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
function ct(e) {
|
|
385
|
-
if (e.type === "pointerleave" && e.buttons === 0) return;
|
|
386
|
-
let { ripples: t } = e.currentTarget.__qripple;
|
|
387
|
-
for (let n = t.length - 1; n >= 0; n--) {
|
|
388
|
-
let r = t[n];
|
|
389
|
-
r.pointerId === e.pointerId && r.cancel();
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
function lt(e, t) {
|
|
393
|
-
return e !== t && (e.early !== t.early || e.stop !== t.stop || e.center !== t.center);
|
|
394
|
-
}
|
|
395
|
-
function ut(e, { modifiers: t, value: n, arg: r }) {
|
|
396
|
-
let i = {
|
|
397
|
-
...e.cfg,
|
|
398
|
-
...t,
|
|
399
|
-
...n
|
|
400
|
-
}, a = i.keyCodes || 13;
|
|
401
|
-
e.arg = r, e.modifiers = t, e.early = i.early === !0, e.stop = i.stop === !0, e.center = i.center === !0, e.color = i.color || r, e.keyCodes = Array.isArray(a) ? a.flat() : a;
|
|
402
|
-
}
|
|
403
|
-
function dt(e, t) {
|
|
404
|
-
let n = t.enabled ? t.early ? 2 : 1 : 0;
|
|
405
|
-
if (n !== t.bound) {
|
|
406
|
-
for (let [n, r] of it[t.bound]) e.removeEventListener(n, r, rt);
|
|
407
|
-
for (let [t, r] of it[n]) e.addEventListener(t, r, rt);
|
|
408
|
-
t.bound = n;
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
var ft = /*#__PURE__*/ ge({
|
|
412
|
-
name: "ripple",
|
|
413
|
-
beforeMount(e, t) {
|
|
414
|
-
let n = t.instance.$.appContext.config.globalProperties.$q.config || {};
|
|
415
|
-
if (n.ripple === !1) return;
|
|
416
|
-
let r = {
|
|
417
|
-
cfg: n.ripple,
|
|
418
|
-
enabled: t.value !== !1,
|
|
419
|
-
arg: void 0,
|
|
420
|
-
modifiers: void 0,
|
|
421
|
-
early: !1,
|
|
422
|
-
stop: !1,
|
|
423
|
-
center: !1,
|
|
424
|
-
color: void 0,
|
|
425
|
-
keyCodes: 13,
|
|
426
|
-
keyTime: 0,
|
|
427
|
-
bound: 0,
|
|
428
|
-
ripples: []
|
|
429
|
-
};
|
|
430
|
-
ut(r, t), e.__qripple = r, dt(e, r);
|
|
431
|
-
},
|
|
432
|
-
updated(e, t) {
|
|
433
|
-
let n = e.__qripple;
|
|
434
|
-
if (n === void 0) return;
|
|
435
|
-
let { value: r, oldValue: i, arg: a, modifiers: o } = t;
|
|
436
|
-
n.enabled = r !== !1, n.enabled && (r !== i || a !== n.arg || lt(o, n.modifiers)) && ut(n, t), dt(e, n);
|
|
437
|
-
},
|
|
438
|
-
beforeUnmount(e) {
|
|
439
|
-
let t = e.__qripple;
|
|
440
|
-
t !== void 0 && (t.ripples.forEach((e) => {
|
|
441
|
-
e.abort();
|
|
442
|
-
}), t.enabled = !1, dt(e, t), e.__qripple = void 0);
|
|
443
|
-
}
|
|
444
|
-
}), pt = {
|
|
445
|
-
left: "start",
|
|
446
|
-
center: "center",
|
|
447
|
-
right: "end",
|
|
448
|
-
between: "between",
|
|
449
|
-
around: "around",
|
|
450
|
-
evenly: "evenly",
|
|
451
|
-
stretch: "stretch"
|
|
452
|
-
}, mt = Object.keys(pt), ht = { align: {
|
|
453
|
-
type: String,
|
|
454
|
-
validator: (e) => mt.includes(e)
|
|
455
|
-
} };
|
|
456
|
-
function gt(e) {
|
|
457
|
-
return () => {
|
|
458
|
-
let t = e.align === void 0 ? e.vertical ? "stretch" : "left" : e.align;
|
|
459
|
-
return `${e.vertical ? "items" : "justify"}-${pt[t]}`;
|
|
460
|
-
};
|
|
461
|
-
}
|
|
462
|
-
//#endregion
|
|
463
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.vm/vm.js
|
|
464
|
-
function _t(e) {
|
|
465
|
-
return e.appContext.config.globalProperties.$router !== void 0;
|
|
466
|
-
}
|
|
467
|
-
function vt(e) {
|
|
468
|
-
return e.isUnmounted === !0 || e.isDeactivated === !0;
|
|
469
|
-
}
|
|
470
|
-
//#endregion
|
|
471
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-router-link/use-router-link.js
|
|
472
|
-
function yt(e) {
|
|
473
|
-
return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
|
|
474
|
-
}
|
|
475
|
-
function bt(e, t) {
|
|
476
|
-
return (e.aliasOf || e) === (t.aliasOf || t);
|
|
477
|
-
}
|
|
478
|
-
function xt(e, t) {
|
|
479
|
-
for (let n in t) {
|
|
480
|
-
let r = t[n], i = e[n];
|
|
481
|
-
if (typeof r == "string") {
|
|
482
|
-
if (r !== i) return !1;
|
|
483
|
-
} else if (!Array.isArray(i) || i.length !== r.length || r.some((e, t) => e !== i[t])) return !1;
|
|
484
|
-
}
|
|
485
|
-
return !0;
|
|
486
|
-
}
|
|
487
|
-
function St(e, t) {
|
|
488
|
-
return Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e.length === 1 && e[0] === t;
|
|
489
|
-
}
|
|
490
|
-
function Ct(e, t) {
|
|
491
|
-
return Array.isArray(e) ? St(e, t) : Array.isArray(t) ? St(t, e) : e === t;
|
|
492
|
-
}
|
|
493
|
-
function wt(e, t) {
|
|
494
|
-
if (Object.keys(e).length !== Object.keys(t).length) return !1;
|
|
495
|
-
for (let n in e) if (!Ct(e[n], t[n])) return !1;
|
|
496
|
-
return !0;
|
|
497
|
-
}
|
|
498
|
-
var Tt = {
|
|
499
|
-
to: [String, Object],
|
|
500
|
-
replace: Boolean,
|
|
501
|
-
href: String,
|
|
502
|
-
target: String,
|
|
503
|
-
disable: Boolean
|
|
504
|
-
};
|
|
505
|
-
({ ...Tt });
|
|
506
|
-
var Et = {}, Dt = { value: !1 }, Ot = { value: null }, kt = { value: "" };
|
|
507
|
-
function At({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
508
|
-
let n = w(), { props: r, proxy: i, emit: a } = n, o = h(() => !r.disable && r.href !== void 0);
|
|
509
|
-
if (!_t(n)) return {
|
|
510
|
-
hasRouterLink: Dt,
|
|
511
|
-
hasHrefLink: o,
|
|
512
|
-
hasLink: o,
|
|
513
|
-
linkTag: h(() => r.type === "a" || o.value ? "a" : r.tag || e || "div"),
|
|
514
|
-
resolvedLink: Ot,
|
|
515
|
-
linkIsActive: Dt,
|
|
516
|
-
linkIsExactActive: Dt,
|
|
517
|
-
linkClass: kt,
|
|
518
|
-
linkAttrs: h(() => o.value ? {
|
|
519
|
-
href: r.href,
|
|
520
|
-
target: r.target
|
|
521
|
-
} : Et),
|
|
522
|
-
getLink: () => null,
|
|
523
|
-
navigateToRouterLink(e) {
|
|
524
|
-
return e.preventDefault(), Promise.resolve(!1);
|
|
525
|
-
},
|
|
526
|
-
navigateOnClick(e) {
|
|
527
|
-
a("click", e);
|
|
528
|
-
}
|
|
529
|
-
};
|
|
530
|
-
let s = h(t ? () => !r.disable && !o.value && r.to !== void 0 && r.to !== null && r.to !== "" : () => !o.value && r.to !== void 0 && r.to !== null && r.to !== ""), c = h(() => s.value ? v(r.to) : null), l = h(() => c.value !== null), u = h(() => o.value || l.value), d = h(() => r.type === "a" || u.value ? "a" : r.tag || e || "div"), f = h(() => o.value ? {
|
|
531
|
-
href: r.href,
|
|
532
|
-
target: r.target
|
|
533
|
-
} : l.value ? {
|
|
534
|
-
href: c.value.href,
|
|
535
|
-
target: r.target
|
|
536
|
-
} : Et), p = h(() => {
|
|
537
|
-
if (!l.value) return -1;
|
|
538
|
-
let { matched: e } = c.value, { length: t } = e, n = e[t - 1];
|
|
539
|
-
if (n === void 0) return -1;
|
|
540
|
-
let r = i.$route.matched;
|
|
541
|
-
if (r.length === 0) return -1;
|
|
542
|
-
let a = r.findIndex(bt.bind(null, n));
|
|
543
|
-
if (a !== -1) return a;
|
|
544
|
-
let o = yt(e[t - 2]);
|
|
545
|
-
return t > 1 && yt(n) === o && r.at(-1).path !== o ? r.findIndex(bt.bind(null, e[t - 2])) : a;
|
|
546
|
-
}), m = h(() => l.value && p.value !== -1 && xt(i.$route.params, c.value.params)), g = h(() => m.value && p.value === i.$route.matched.length - 1 && wt(i.$route.params, c.value.params)), _ = h(() => l.value ? g.value ? ` ${r.exactActiveClass} ${r.activeClass}` : r.exact ? "" : m.value ? ` ${r.activeClass}` : "" : "");
|
|
547
|
-
function v(e) {
|
|
548
|
-
try {
|
|
549
|
-
return i.$router.resolve(e);
|
|
550
|
-
} catch {}
|
|
551
|
-
return null;
|
|
552
|
-
}
|
|
553
|
-
function y(e, { returnRouterError: t, to: n = r.to, replace: a = r.replace } = {}) {
|
|
554
|
-
if (r.disable) return e.preventDefault(), Promise.resolve(!1);
|
|
555
|
-
if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey || e.button !== void 0 && e.button !== 0 || r.target === "_blank") return Promise.resolve(!1);
|
|
556
|
-
e.preventDefault();
|
|
557
|
-
let o = i.$router[a ? "replace" : "push"](n);
|
|
558
|
-
return t ? o : o.then(() => {}).catch(() => {});
|
|
559
|
-
}
|
|
560
|
-
function b(e) {
|
|
561
|
-
if (l.value) {
|
|
562
|
-
let t = (t) => y(e, t);
|
|
563
|
-
a("click", e, t), e.defaultPrevented || t();
|
|
564
|
-
} else a("click", e);
|
|
565
|
-
}
|
|
566
|
-
return {
|
|
567
|
-
hasRouterLink: l,
|
|
568
|
-
hasHrefLink: o,
|
|
569
|
-
hasLink: u,
|
|
570
|
-
linkTag: d,
|
|
571
|
-
resolvedLink: c,
|
|
572
|
-
linkIsActive: m,
|
|
573
|
-
linkIsExactActive: g,
|
|
574
|
-
linkClass: _,
|
|
575
|
-
linkAttrs: f,
|
|
576
|
-
getLink: v,
|
|
577
|
-
navigateToRouterLink: y,
|
|
578
|
-
navigateOnClick: b
|
|
579
|
-
};
|
|
580
|
-
}
|
|
581
|
-
//#endregion
|
|
582
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/btn/use-btn.js
|
|
583
|
-
var jt = {
|
|
584
|
-
none: 0,
|
|
585
|
-
xs: 4,
|
|
586
|
-
sm: 8,
|
|
587
|
-
md: 16,
|
|
588
|
-
lg: 24,
|
|
589
|
-
xl: 32
|
|
590
|
-
}, Mt = /*#__PURE__*/ pe({
|
|
591
|
-
xs: 8,
|
|
592
|
-
sm: 10,
|
|
593
|
-
md: 14,
|
|
594
|
-
lg: 20,
|
|
595
|
-
xl: 24
|
|
596
|
-
}), Nt = [
|
|
597
|
-
"button",
|
|
598
|
-
"submit",
|
|
599
|
-
"reset"
|
|
600
|
-
], Pt = /[^\s]\/[^\s]/, Ft = [
|
|
601
|
-
"flat",
|
|
602
|
-
"outline",
|
|
603
|
-
"push",
|
|
604
|
-
"unelevated"
|
|
605
|
-
];
|
|
606
|
-
function It(e, t) {
|
|
607
|
-
return e.flat ? "flat" : e.outline ? "outline" : e.push ? "push" : e.unelevated ? "unelevated" : t;
|
|
608
|
-
}
|
|
609
|
-
var Lt = {
|
|
610
|
-
...fe,
|
|
611
|
-
...Tt,
|
|
612
|
-
type: {
|
|
613
|
-
type: String,
|
|
614
|
-
default: "button"
|
|
615
|
-
},
|
|
616
|
-
label: [Number, String],
|
|
617
|
-
icon: String,
|
|
618
|
-
iconRight: String,
|
|
619
|
-
...Ft.reduce((e, t) => (e[t] = Boolean) && e, {}),
|
|
620
|
-
square: Boolean,
|
|
621
|
-
rounded: Boolean,
|
|
622
|
-
glossy: Boolean,
|
|
623
|
-
size: String,
|
|
624
|
-
fab: Boolean,
|
|
625
|
-
fabMini: Boolean,
|
|
626
|
-
padding: String,
|
|
627
|
-
color: String,
|
|
628
|
-
textColor: String,
|
|
629
|
-
noCaps: Boolean,
|
|
630
|
-
noWrap: Boolean,
|
|
631
|
-
dense: Boolean,
|
|
632
|
-
tabindex: [Number, String],
|
|
633
|
-
ripple: {
|
|
634
|
-
type: [Boolean, Object],
|
|
635
|
-
default: !0
|
|
636
|
-
},
|
|
637
|
-
align: {
|
|
638
|
-
...ht.align,
|
|
639
|
-
default: "center"
|
|
640
|
-
},
|
|
641
|
-
stack: Boolean,
|
|
642
|
-
stretch: Boolean,
|
|
643
|
-
loading: {
|
|
644
|
-
type: Boolean,
|
|
645
|
-
default: null
|
|
646
|
-
},
|
|
647
|
-
disable: Boolean,
|
|
648
|
-
round: Boolean
|
|
649
|
-
};
|
|
650
|
-
function Rt(e) {
|
|
651
|
-
let t = gt(e), { hasRouterLink: n, hasLink: r, linkTag: i, linkAttrs: a, navigateOnClick: o } = At({ fallbackTag: "button" }), s = h(() => {
|
|
652
|
-
let t = e.fab || e.fabMini ? {} : Mt(e.size);
|
|
653
|
-
return e.padding === void 0 ? t : {
|
|
654
|
-
...t,
|
|
655
|
-
padding: e.padding.split(/\s+/).map((e) => e in jt ? jt[e] + "px" : e).join(" "),
|
|
656
|
-
minWidth: "0",
|
|
657
|
-
minHeight: "0"
|
|
658
|
-
};
|
|
659
|
-
}), c = h(() => e.rounded || e.fab || e.fabMini), l = h(() => !e.disable && !e.loading), u = h(() => l.value ? e.tabindex || 0 : -1), d = h(() => It(e, "standard")), f = h(() => {
|
|
660
|
-
let t = { tabindex: u.value };
|
|
661
|
-
return r.value ? Object.assign(t, a.value) : Nt.includes(e.type) && (t.type = e.type), i.value === "a" ? (e.disable && (t["aria-disabled"] = "true"), t.href === void 0 && (t.role = "button"), !n.value && Pt.test(e.type) && (t.type = e.type)) : e.disable && (t.disabled = "", t["aria-disabled"] = "true"), e.loading && e.percentage !== void 0 && Object.assign(t, {
|
|
662
|
-
role: "progressbar",
|
|
663
|
-
"aria-valuemin": 0,
|
|
664
|
-
"aria-valuemax": 100,
|
|
665
|
-
"aria-valuenow": e.percentage
|
|
666
|
-
}), t;
|
|
667
|
-
});
|
|
668
|
-
return {
|
|
669
|
-
classes: h(() => {
|
|
670
|
-
let t;
|
|
671
|
-
e.color === void 0 ? e.textColor && (t = `text-${e.textColor}`) : t = e.flat || e.outline ? `text-${e.textColor || e.color}` : `bg-${e.color} text-${e.textColor || "white"}`;
|
|
672
|
-
let n = e.round ? "round" : `rectangle${c.value ? " q-btn--rounded" : e.square ? " q-btn--square" : ""}`;
|
|
673
|
-
return `q-btn--${d.value} q-btn--${n}` + (t === void 0 ? "" : " " + t) + (l.value ? " q-btn--actionable q-focusable q-hoverable" : e.disable ? " disabled" : "") + (e.fab ? " q-btn--fab" : e.fabMini ? " q-btn--fab-mini" : "") + (e.noCaps ? " q-btn--no-uppercase" : "") + (e.dense ? " q-btn--dense" : "") + (e.stretch ? " no-border-radius self-stretch" : "") + (e.glossy ? " glossy" : "") + (e.square ? " q-btn--square" : "");
|
|
674
|
-
}),
|
|
675
|
-
style: s,
|
|
676
|
-
innerClasses: h(() => t() + (e.stack ? " column" : " row") + (e.noWrap ? " no-wrap text-no-wrap" : "") + (e.loading ? " q-btn__content--hidden" : "")),
|
|
677
|
-
attributes: f,
|
|
678
|
-
hasLink: r,
|
|
679
|
-
linkTag: i,
|
|
680
|
-
navigateOnClick: o,
|
|
681
|
-
isActionable: l
|
|
682
|
-
};
|
|
683
|
-
}
|
|
684
|
-
//#endregion
|
|
685
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/btn/QBtn.js
|
|
686
|
-
var { passiveCapture: Q } = Z, zt = null, Bt = null, Vt = null;
|
|
687
|
-
function Ht(e) {
|
|
688
|
-
Je(e), e.qSkipRipple = !0;
|
|
689
|
-
}
|
|
690
|
-
var Ut = /*#__PURE__*/ Y({
|
|
691
|
-
name: "QBtn",
|
|
692
|
-
props: {
|
|
693
|
-
...Lt,
|
|
694
|
-
percentage: Number,
|
|
695
|
-
darkPercentage: Boolean,
|
|
696
|
-
onTouchstart: [Function, Array]
|
|
697
|
-
},
|
|
698
|
-
emits: [
|
|
699
|
-
"click",
|
|
700
|
-
"keydown",
|
|
701
|
-
"mousedown",
|
|
702
|
-
"keyup"
|
|
703
|
-
],
|
|
704
|
-
setup(e, { slots: t, emit: n }) {
|
|
705
|
-
let { proxy: r } = w(), i = c(), { classes: a, style: o, innerClasses: s, attributes: l, hasLink: u, linkTag: d, navigateOnClick: f, isActionable: p } = Rt(e), g = U(null), _ = U(null), v = null, y, b = null, x = null, S = h(() => e.label !== void 0 && e.label !== null && e.label !== ""), C = h(() => e.disable || e.ripple === !1 ? !1 : {
|
|
706
|
-
keyCodes: u.value ? [13, 32] : [13],
|
|
707
|
-
...e.ripple === !0 ? {} : e.ripple
|
|
708
|
-
}), E = h(() => ({ center: e.round })), D = h(() => {
|
|
709
|
-
let t = Math.max(0, Math.min(100, e.percentage));
|
|
710
|
-
return t > 0 ? {
|
|
711
|
-
transition: "transform 0.6s",
|
|
712
|
-
transform: `translateX(${t - 100}%)`
|
|
713
|
-
} : {};
|
|
714
|
-
}), O = h(() => {
|
|
715
|
-
if (e.loading) return {
|
|
716
|
-
onMousedown: Ht,
|
|
717
|
-
onTouchstart: Ht,
|
|
718
|
-
onClick: Ht,
|
|
719
|
-
onKeydown: Ht,
|
|
720
|
-
onKeyup: Ht
|
|
721
|
-
};
|
|
722
|
-
if (p.value) {
|
|
723
|
-
let t = {
|
|
724
|
-
onClick: A,
|
|
725
|
-
onKeydown: j,
|
|
726
|
-
onMousedown: N
|
|
727
|
-
};
|
|
728
|
-
if (i.platform.has.touch) {
|
|
729
|
-
let n = e.onTouchstart === void 0 ? "Passive" : "";
|
|
730
|
-
t[`onTouchstart${n}`] = M;
|
|
731
|
-
}
|
|
732
|
-
return t;
|
|
733
|
-
}
|
|
734
|
-
return { onClick: Je };
|
|
735
|
-
}), k = h(() => ({
|
|
736
|
-
ref: g,
|
|
737
|
-
class: "q-btn q-btn-item non-selectable no-outline " + a.value,
|
|
738
|
-
style: o.value,
|
|
739
|
-
...l.value,
|
|
740
|
-
...O.value
|
|
741
|
-
}));
|
|
742
|
-
function A(t) {
|
|
743
|
-
if (g.value !== null) {
|
|
744
|
-
if (t !== void 0) {
|
|
745
|
-
if (t.defaultPrevented) return;
|
|
746
|
-
let n = document.activeElement;
|
|
747
|
-
if (e.type === "submit" && n !== document.body && !g.value.contains(n) && !n.contains(g.value)) {
|
|
748
|
-
t.qAvoidFocus || g.value.focus();
|
|
749
|
-
let e = () => {
|
|
750
|
-
x = null, document.removeEventListener("keydown", Je, !0), document.removeEventListener("keyup", e, Q), g.value?.removeEventListener("blur", e, Q);
|
|
751
|
-
};
|
|
752
|
-
x = e, document.addEventListener("keydown", Je, !0), document.addEventListener("keyup", e, Q), g.value.addEventListener("blur", e, Q);
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
f(t);
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
function j(e) {
|
|
759
|
-
g.value !== null && (n("keydown", e), $e(e, [13, 32]) && Bt !== g.value && (Bt !== null && I(), e.defaultPrevented || (e.qAvoidFocus || g.value.focus(), Bt = g.value, g.value.classList.add("q-btn--active"), document.addEventListener("keyup", F, !0), g.value.addEventListener("blur", F, Q)), Je(e)));
|
|
760
|
-
}
|
|
761
|
-
function M(e) {
|
|
762
|
-
g.value !== null && (n("touchstart", e), !e.defaultPrevented && (zt !== g.value && (zt !== null && I(), zt = g.value, v = e.target, v.addEventListener("touchcancel", F, Q), v.addEventListener("touchend", F, Q)), y = !0, b !== null && clearTimeout(b), b = setTimeout(() => {
|
|
763
|
-
b = null, y = !1;
|
|
764
|
-
}, 200)));
|
|
765
|
-
}
|
|
766
|
-
function N(e) {
|
|
767
|
-
g.value !== null && (e.qSkipRipple = y === !0, n("mousedown", e), !e.defaultPrevented && Vt !== g.value && (Vt !== null && I(), Vt = g.value, g.value.classList.add("q-btn--active"), document.addEventListener("mouseup", F, Q)));
|
|
768
|
-
}
|
|
769
|
-
function F(e) {
|
|
770
|
-
if (g.value !== null) {
|
|
771
|
-
if (e?.type === "keyup") {
|
|
772
|
-
if (Bt === g.value && $e(e, [13, 32])) {
|
|
773
|
-
let t = new MouseEvent("click", e);
|
|
774
|
-
t.qKeyEvent = !0, e.defaultPrevented && qe(t), e.cancelBubble && Ke(t), g.value.dispatchEvent(t), Je(e), e.qKeyEvent = !0;
|
|
775
|
-
}
|
|
776
|
-
n("keyup", e);
|
|
777
|
-
}
|
|
778
|
-
I();
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
function I(e) {
|
|
782
|
-
x?.();
|
|
783
|
-
let t = _.value;
|
|
784
|
-
!e && (zt === g.value || Vt === g.value) && t !== null && t !== document.activeElement && (t.setAttribute("tabindex", -1), t.focus({ preventScroll: !0 })), zt === g.value && (v !== null && (v.removeEventListener("touchcancel", F, Q), v.removeEventListener("touchend", F, Q)), zt = v = null), Vt === g.value && (document.removeEventListener("mouseup", F, Q), Vt = null), Bt === g.value && (document.removeEventListener("keyup", F, !0), g.value?.removeEventListener("blur", F, Q), Bt = null), g.value?.classList.remove("q-btn--active");
|
|
785
|
-
}
|
|
786
|
-
return P(() => {
|
|
787
|
-
I(!0);
|
|
788
|
-
}), Object.assign(r, { click: (e) => {
|
|
789
|
-
p.value && A(e);
|
|
790
|
-
} }), () => {
|
|
791
|
-
let n = [];
|
|
792
|
-
e.icon !== void 0 && n.push(T(Fe, {
|
|
793
|
-
name: e.icon,
|
|
794
|
-
left: !e.stack && S.value,
|
|
795
|
-
role: "img"
|
|
796
|
-
})), S.value && n.push(T("span", { class: "block" }, [e.label])), n = _e(t.default, n), e.iconRight !== void 0 && !e.round && n.push(T(Fe, {
|
|
797
|
-
name: e.iconRight,
|
|
798
|
-
right: !e.stack && S.value,
|
|
799
|
-
role: "img"
|
|
800
|
-
}));
|
|
801
|
-
let r = [T("span", {
|
|
802
|
-
class: "q-focus-helper",
|
|
803
|
-
ref: _
|
|
804
|
-
})];
|
|
805
|
-
return e.loading && e.percentage !== void 0 && r.push(T("span", { class: "q-btn__progress absolute-full overflow-hidden" + (e.darkPercentage ? " q-btn__progress--dark" : "") }, [T("span", {
|
|
806
|
-
class: "q-btn__progress-indicator fit block",
|
|
807
|
-
style: D.value
|
|
808
|
-
})])), r.push(T("span", { class: "q-btn__content text-center col items-center q-anchor--skip " + s.value }, n)), e.loading !== null && r.push(T(m, { name: "q-transition--fade" }, () => e.loading ? [T("span", {
|
|
809
|
-
key: "loading",
|
|
810
|
-
class: "absolute-full flex flex-center"
|
|
811
|
-
}, t.loading === void 0 ? [T(Ve)] : t.loading())] : null)), re(T(d.value, k.value, r), [[
|
|
812
|
-
ft,
|
|
813
|
-
C.value,
|
|
814
|
-
void 0,
|
|
815
|
-
E.value
|
|
816
|
-
]]);
|
|
817
|
-
};
|
|
818
|
-
}
|
|
819
|
-
}), Wt = /*#__PURE__*/ Y({
|
|
820
|
-
name: "QCardSection",
|
|
821
|
-
props: {
|
|
822
|
-
tag: {
|
|
823
|
-
type: String,
|
|
824
|
-
default: "div"
|
|
825
|
-
},
|
|
826
|
-
horizontal: Boolean
|
|
827
|
-
},
|
|
828
|
-
setup(e, { slots: t }) {
|
|
829
|
-
let n = h(() => `q-card__section q-card__section--${e.horizontal ? "horiz row no-wrap" : "vert"}`);
|
|
830
|
-
return () => T(e.tag, { class: n.value }, X(t.default));
|
|
831
|
-
}
|
|
832
|
-
}), Gt = /*#__PURE__*/ Y({
|
|
833
|
-
name: "QCardActions",
|
|
834
|
-
props: {
|
|
835
|
-
...ht,
|
|
836
|
-
vertical: Boolean
|
|
837
|
-
},
|
|
838
|
-
setup(e, { slots: t }) {
|
|
839
|
-
let n = gt(e), r = h(() => `q-card__actions ${n()} q-card__actions--${e.vertical ? "vert column" : "horiz row"}`);
|
|
840
|
-
return () => T("div", { class: r.value }, X(t.default));
|
|
841
|
-
}
|
|
842
|
-
}), Kt = { dark: {
|
|
843
|
-
type: Boolean,
|
|
844
|
-
default: null
|
|
845
|
-
} };
|
|
846
|
-
function qt(e, t) {
|
|
847
|
-
return () => e.dark === null ? t.dark.isActive : e.dark;
|
|
848
|
-
}
|
|
849
|
-
//#endregion
|
|
850
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/card/QCard.js
|
|
851
|
-
var Jt = /*#__PURE__*/ Y({
|
|
852
|
-
name: "QCard",
|
|
853
|
-
props: {
|
|
854
|
-
...Kt,
|
|
855
|
-
tag: {
|
|
856
|
-
type: String,
|
|
857
|
-
default: "div"
|
|
858
|
-
},
|
|
859
|
-
square: Boolean,
|
|
860
|
-
flat: Boolean,
|
|
861
|
-
bordered: Boolean
|
|
862
|
-
},
|
|
863
|
-
setup(e, { slots: t }) {
|
|
864
|
-
let n = qt(e, c()), r = h(() => "q-card" + (n() ? " q-card--dark q-dark" : "") + (e.bordered ? " q-card--bordered" : "") + (e.square ? " q-card--square no-border-radius" : "") + (e.flat ? " q-card--flat no-shadow" : ""));
|
|
865
|
-
return () => T(e.tag, { class: r.value }, X(t.default));
|
|
866
|
-
}
|
|
867
|
-
}), Yt = V(!1), Xt, Zt = 512;
|
|
868
|
-
function Qt(e) {
|
|
869
|
-
return typeof e == "string" ? e.slice(0, Zt).toLowerCase() : "";
|
|
870
|
-
}
|
|
871
|
-
var $t = /(?:^|\s)version\/([\w.]+)/, en = /(?:^|\s)applewebkit\/[\w.]+/, tn = /(?:^|\s)safari\/[\w.]+/;
|
|
872
|
-
function nn(e) {
|
|
873
|
-
let t = $t.exec(e);
|
|
874
|
-
return t !== null && en.test(e) && tn.test(e) ? {
|
|
875
|
-
browser: "safari",
|
|
876
|
-
version: t[1]
|
|
877
|
-
} : null;
|
|
878
|
-
}
|
|
879
|
-
var rn = /(edg|edga|edgios)\/([\w.]+)/, an = /(opr)[\/]([\w.]+)/, on = /(vivaldi)[\/]([\w.]+)/, sn = /(chrome|crios)[\/]([\w.]+)/, cn = /(firefox|fxios)[\/]([\w.]+)/, ln = /(webkit)[\/]([\w.]+)/;
|
|
880
|
-
function un(e, t) {
|
|
881
|
-
let n = rn.exec(e) || an.exec(e) || on.exec(e) || sn.exec(e);
|
|
882
|
-
if (n === null) {
|
|
883
|
-
let r = nn(e);
|
|
884
|
-
if (r !== null) return {
|
|
885
|
-
...r,
|
|
886
|
-
platform: t[0] || ""
|
|
887
|
-
};
|
|
888
|
-
n = cn.exec(e) || ln.exec(e) || [];
|
|
889
|
-
}
|
|
890
|
-
return {
|
|
891
|
-
browser: n[5] || n[3] || n[1] || "",
|
|
892
|
-
version: n[4] || n[2] || "0",
|
|
893
|
-
platform: t[0] || ""
|
|
894
|
-
};
|
|
895
|
-
}
|
|
896
|
-
var dn = /(ipad)/, fn = /(ipod)/, pn = /(iphone)/, mn = /(android)/, hn = /(win)/, gn = /(mac)/, _n = /(linux)/, vn = /(cros)/;
|
|
897
|
-
function yn(e) {
|
|
898
|
-
return dn.exec(e) || fn.exec(e) || pn.exec(e) || mn.exec(e) || hn.exec(e) || gn.exec(e) || _n.exec(e) || vn.exec(e) || [];
|
|
899
|
-
}
|
|
900
|
-
var bn = "ontouchstart" in window || window.navigator.maxTouchPoints > 0;
|
|
901
|
-
function xn(e) {
|
|
902
|
-
let t = Qt(e), n = un(t, yn(t)), r = {
|
|
903
|
-
mobile: !1,
|
|
904
|
-
desktop: !1,
|
|
905
|
-
cordova: !1,
|
|
906
|
-
capacitor: !1,
|
|
907
|
-
nativeMobile: !1,
|
|
908
|
-
electron: !1,
|
|
909
|
-
bex: !1,
|
|
910
|
-
linux: !1,
|
|
911
|
-
mac: !1,
|
|
912
|
-
win: !1,
|
|
913
|
-
cros: !1,
|
|
914
|
-
chrome: !1,
|
|
915
|
-
firefox: !1,
|
|
916
|
-
opera: !1,
|
|
917
|
-
safari: !1,
|
|
918
|
-
vivaldi: !1,
|
|
919
|
-
edge: !1,
|
|
920
|
-
webkit: !1,
|
|
921
|
-
android: !1,
|
|
922
|
-
ios: !1,
|
|
923
|
-
ipad: !1,
|
|
924
|
-
iphone: !1,
|
|
925
|
-
ipod: !1
|
|
926
|
-
};
|
|
927
|
-
n.browser && (r[n.browser] = !0, r.version = n.version, r.versionNumber = Number.parseInt(n.version, 10)), n.platform && (r[n.platform] = !0);
|
|
928
|
-
let i = r.android || r.ios || r.ipad || r.iphone || r.ipod;
|
|
929
|
-
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.name = n.browser, r.platform = n.platform, t.includes("electron")) r.electron = !0;
|
|
930
|
-
else if (document.location.href.includes("-extension://")) r.bex = !0;
|
|
931
|
-
else {
|
|
932
|
-
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"), Yt.value && (Xt = { is: { ...r } }), bn && r.mac && (r.desktop && r.safari || r.nativeMobile && !r.android && !r.ios && !r.ipad)) {
|
|
933
|
-
delete r.mac, delete r.desktop;
|
|
934
|
-
let e = Math.min(window.innerHeight, window.innerWidth) > 414 ? "ipad" : "iphone";
|
|
935
|
-
Object.assign(r, {
|
|
936
|
-
mobile: !0,
|
|
937
|
-
ios: !0,
|
|
938
|
-
platform: e,
|
|
939
|
-
[e]: !0
|
|
940
|
-
});
|
|
941
|
-
}
|
|
942
|
-
!r.mobile && window.navigator.userAgentData && window.navigator.userAgentData.mobile && (delete r.desktop, r.mobile = !0);
|
|
943
|
-
}
|
|
944
|
-
return r;
|
|
945
|
-
}
|
|
946
|
-
var Sn = navigator.userAgent, Cn = {
|
|
947
|
-
has: {
|
|
948
|
-
touch: !1,
|
|
949
|
-
webStorage: !1
|
|
950
|
-
},
|
|
951
|
-
within: { iframe: !1 }
|
|
952
|
-
}, wn = {
|
|
953
|
-
userAgent: Sn,
|
|
954
|
-
is: xn(Sn),
|
|
955
|
-
has: { touch: bn },
|
|
956
|
-
within: { iframe: window.self !== window.top }
|
|
957
|
-
}, Tn = { install(e) {
|
|
958
|
-
let { $q: t } = e;
|
|
959
|
-
Yt.value ? (e.onSSRHydrated.push(() => {
|
|
960
|
-
Object.assign(t.platform, wn), Yt.value = !1;
|
|
961
|
-
}), t.platform = ee(this)) : t.platform = this;
|
|
962
|
-
} };
|
|
963
|
-
{
|
|
964
|
-
let e;
|
|
965
|
-
he(wn.has, "webStorage", () => {
|
|
966
|
-
if (e !== void 0) return e;
|
|
967
|
-
try {
|
|
968
|
-
if (window.localStorage) return e = !0, !0;
|
|
969
|
-
} catch {}
|
|
970
|
-
return e = !1, !1;
|
|
971
|
-
}), Object.assign(Tn, wn), Yt.value && (Object.assign(Tn, Xt, Cn), Xt = null);
|
|
972
|
-
}
|
|
973
|
-
//#endregion
|
|
974
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/plugins/private.history/History.js
|
|
975
|
-
var En = () => !0;
|
|
976
|
-
function Dn(e) {
|
|
977
|
-
return typeof e == "string" && e !== "" && e !== "/" && e !== "#/";
|
|
978
|
-
}
|
|
979
|
-
function On(e) {
|
|
980
|
-
return e.startsWith("#") && (e = e.slice(1)), e.startsWith("/") || (e = "/" + e), e.endsWith("/") && (e = e.slice(0, -1)), "#" + e;
|
|
981
|
-
}
|
|
982
|
-
function kn(e) {
|
|
983
|
-
if (e.backButtonExit === !1) return () => !1;
|
|
984
|
-
if (e.backButtonExit === "*") return En;
|
|
985
|
-
let t = ["#/"];
|
|
986
|
-
return Array.isArray(e.backButtonExit) && t.push(...e.backButtonExit.filter(Dn).map(On)), () => t.includes(window.location.hash);
|
|
987
|
-
}
|
|
988
|
-
var An = {
|
|
989
|
-
__history: [],
|
|
990
|
-
add: We,
|
|
991
|
-
remove: We,
|
|
992
|
-
install({ $q: e }) {
|
|
993
|
-
if (this.__installed) return;
|
|
994
|
-
let { cordova: t, capacitor: n } = wn.is;
|
|
995
|
-
if (!t && !n) return;
|
|
996
|
-
let r = e.config[t ? "cordova" : "capacitor"];
|
|
997
|
-
if (r?.backButton === !1 || n && (window.Capacitor === void 0 || window.Capacitor.Plugins.App === void 0)) return;
|
|
998
|
-
this.add = (e) => {
|
|
999
|
-
e.condition === void 0 && (e.condition = En), this.__history.push(e);
|
|
1000
|
-
}, this.remove = (e) => {
|
|
1001
|
-
let t = this.__history.indexOf(e);
|
|
1002
|
-
t !== -1 && this.__history.splice(t, 1);
|
|
1003
|
-
};
|
|
1004
|
-
let i = kn({
|
|
1005
|
-
backButtonExit: !0,
|
|
1006
|
-
...r
|
|
1007
|
-
}), a = () => {
|
|
1008
|
-
if (this.__history.length !== 0) {
|
|
1009
|
-
let e = this.__history.at(-1);
|
|
1010
|
-
e.condition() && (this.__history.pop(), e.handler());
|
|
1011
|
-
} else i() ? navigator.app.exitApp() : window.history.back();
|
|
1012
|
-
};
|
|
1013
|
-
t ? document.addEventListener("deviceready", () => {
|
|
1014
|
-
document.addEventListener("backbutton", a, !1);
|
|
1015
|
-
}) : window.Capacitor.Plugins.App.addListener("backButton", a);
|
|
1016
|
-
}
|
|
1017
|
-
};
|
|
1018
|
-
//#endregion
|
|
1019
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-history/use-history.js
|
|
1020
|
-
function jn(e, t, n) {
|
|
1021
|
-
let r;
|
|
1022
|
-
function i() {
|
|
1023
|
-
r !== void 0 && (An.remove(r), r = void 0);
|
|
1024
|
-
}
|
|
1025
|
-
return P(() => {
|
|
1026
|
-
e.value && i();
|
|
1027
|
-
}), {
|
|
1028
|
-
removeFromHistory: i,
|
|
1029
|
-
addToHistory() {
|
|
1030
|
-
r = {
|
|
1031
|
-
condition: () => n.value,
|
|
1032
|
-
handler: t
|
|
1033
|
-
}, An.add(r);
|
|
1034
|
-
}
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
//#endregion
|
|
1038
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/use-timeout/use-timeout.js
|
|
1039
|
-
function Mn() {
|
|
1040
|
-
let e = null, t = w();
|
|
1041
|
-
function n() {
|
|
1042
|
-
e !== null && (clearTimeout(e), e = null);
|
|
1043
|
-
}
|
|
1044
|
-
return I(n), P(n), {
|
|
1045
|
-
removeTimeout: n,
|
|
1046
|
-
registerTimeout(r, i) {
|
|
1047
|
-
n(), vt(t) || (e = setTimeout(() => {
|
|
1048
|
-
e = null, r();
|
|
1049
|
-
}, i));
|
|
1050
|
-
}
|
|
1051
|
-
};
|
|
1052
|
-
}
|
|
1053
|
-
//#endregion
|
|
1054
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-transition-end/use-transition-end.js
|
|
1055
|
-
function Nn(e) {
|
|
1056
|
-
let { registerTimeout: t, removeTimeout: n } = Mn(), r = null;
|
|
1057
|
-
return I(() => {
|
|
1058
|
-
r?.();
|
|
1059
|
-
}), {
|
|
1060
|
-
registerTimeout: t,
|
|
1061
|
-
removeTimeout: n,
|
|
1062
|
-
registerTransitionEnd(n) {
|
|
1063
|
-
r = () => {
|
|
1064
|
-
r = null, n();
|
|
1065
|
-
}, t(r, e.transitionDuration);
|
|
1066
|
-
}
|
|
1067
|
-
};
|
|
1068
|
-
}
|
|
1069
|
-
//#endregion
|
|
1070
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/use-tick/use-tick.js
|
|
1071
|
-
function Pn() {
|
|
1072
|
-
let e, t = w();
|
|
1073
|
-
function n() {
|
|
1074
|
-
e = void 0;
|
|
1075
|
-
}
|
|
1076
|
-
return I(n), P(n), {
|
|
1077
|
-
removeTick: n,
|
|
1078
|
-
registerTick(n) {
|
|
1079
|
-
e = n, A(() => {
|
|
1080
|
-
e === n && (vt(t) || e(), e = void 0);
|
|
1081
|
-
});
|
|
1082
|
-
}
|
|
1083
|
-
};
|
|
1084
|
-
}
|
|
1085
|
-
//#endregion
|
|
1086
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-model-toggle/use-model-toggle.js
|
|
1087
|
-
var Fn = {
|
|
1088
|
-
modelValue: {
|
|
1089
|
-
type: Boolean,
|
|
1090
|
-
default: null
|
|
1091
|
-
},
|
|
1092
|
-
"onUpdate:modelValue": [Function, Array]
|
|
1093
|
-
}, In = [
|
|
1094
|
-
"beforeShow",
|
|
1095
|
-
"show",
|
|
1096
|
-
"beforeHide",
|
|
1097
|
-
"hide"
|
|
1098
|
-
];
|
|
1099
|
-
function Ln({ showing: e, canShow: t, canHide: n, hideOnRouteChange: r, handleShow: i, handleHide: a, handleRouteChange: o, processOnMount: s }) {
|
|
1100
|
-
let c = w(), { props: l, emit: u, proxy: d } = c, f;
|
|
1101
|
-
function p(t) {
|
|
1102
|
-
e.value ? g(t) : m(t);
|
|
1103
|
-
}
|
|
1104
|
-
function m(e) {
|
|
1105
|
-
if (l.disable || e?.qAnchorHandled === !0 || t !== void 0 && !t(e)) return;
|
|
1106
|
-
let n = l["onUpdate:modelValue"] !== void 0;
|
|
1107
|
-
n && (u("update:modelValue", !0), f = e, A(() => {
|
|
1108
|
-
f === e && (f = void 0);
|
|
1109
|
-
})), (l.modelValue === null || !n) && h(e);
|
|
1110
|
-
}
|
|
1111
|
-
function h(t) {
|
|
1112
|
-
e.value || (e.value = !0, u("beforeShow", t), i === void 0 ? u("show", t) : i(t));
|
|
1113
|
-
}
|
|
1114
|
-
function g(e) {
|
|
1115
|
-
if (l.disable || n !== void 0 && !n(e)) return;
|
|
1116
|
-
let t = l["onUpdate:modelValue"] !== void 0;
|
|
1117
|
-
t && (u("update:modelValue", !1), f = e, A(() => {
|
|
1118
|
-
f === e && (f = void 0);
|
|
1119
|
-
})), (l.modelValue === null || !t) && _(e);
|
|
1120
|
-
}
|
|
1121
|
-
function _(t) {
|
|
1122
|
-
e.value && (e.value = !1, u("beforeHide", t), a === void 0 ? u("hide", t) : a(t));
|
|
1123
|
-
}
|
|
1124
|
-
function v(t) {
|
|
1125
|
-
l.disable && t ? l["onUpdate:modelValue"] !== void 0 && u("update:modelValue", !1) : t === !0 !== e.value && (t ? h : _)(f);
|
|
1126
|
-
}
|
|
1127
|
-
q(() => l.modelValue, v), r !== void 0 && _t(c) && q(() => d.$route.fullPath, () => {
|
|
1128
|
-
r.value && e.value && (o?.(), g());
|
|
1129
|
-
}), s && L(() => {
|
|
1130
|
-
v(l.modelValue);
|
|
1131
|
-
});
|
|
1132
|
-
let y = {
|
|
1133
|
-
show: m,
|
|
1134
|
-
hide: g,
|
|
1135
|
-
toggle: p
|
|
1136
|
-
};
|
|
1137
|
-
return Object.assign(d, y), y;
|
|
1138
|
-
}
|
|
1139
|
-
//#endregion
|
|
1140
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-transition/use-transition.js
|
|
1141
|
-
var Rn = {
|
|
1142
|
-
transitionShow: {
|
|
1143
|
-
type: String,
|
|
1144
|
-
default: "fade"
|
|
1145
|
-
},
|
|
1146
|
-
transitionHide: {
|
|
1147
|
-
type: String,
|
|
1148
|
-
default: "fade"
|
|
1149
|
-
},
|
|
1150
|
-
transitionDuration: {
|
|
1151
|
-
type: [String, Number],
|
|
1152
|
-
default: 300
|
|
1153
|
-
}
|
|
1154
|
-
}, zn = /* @__PURE__ */ new Map();
|
|
1155
|
-
function Bn(e, t = () => {}, n = () => {}) {
|
|
1156
|
-
return {
|
|
1157
|
-
transitionProps: () => {
|
|
1158
|
-
let r = e.transitionShow || t(), i = e.transitionHide || n(), a = `${r}|${i}`, o = zn.get(a);
|
|
1159
|
-
if (o === void 0) {
|
|
1160
|
-
zn.size > 200 && zn.clear();
|
|
1161
|
-
let e = `q-transition--${r}`, t = `q-transition--${i}`;
|
|
1162
|
-
o = {
|
|
1163
|
-
appear: !0,
|
|
1164
|
-
enterFromClass: `${e}-enter-from`,
|
|
1165
|
-
enterActiveClass: `${e}-enter-active`,
|
|
1166
|
-
enterToClass: `${e}-enter-to`,
|
|
1167
|
-
leaveFromClass: `${t}-leave-from`,
|
|
1168
|
-
leaveActiveClass: `${t}-leave-active`,
|
|
1169
|
-
leaveToClass: `${t}-leave-to`
|
|
1170
|
-
}, zn.set(a, o);
|
|
1171
|
-
}
|
|
1172
|
-
return o;
|
|
1173
|
-
},
|
|
1174
|
-
transitionStyle: () => `--q-transition-duration: ${e.transitionDuration}ms`
|
|
1175
|
-
};
|
|
1176
|
-
}
|
|
1177
|
-
//#endregion
|
|
1178
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.portal/portal.js
|
|
1179
|
-
var Vn = [], Hn = [], Un = [];
|
|
1180
|
-
function Wn(e) {
|
|
1181
|
-
Un = Un.filter((t) => t !== e);
|
|
1182
|
-
}
|
|
1183
|
-
function Gn(e) {
|
|
1184
|
-
Wn(e), Un.push(e);
|
|
1185
|
-
}
|
|
1186
|
-
function Kn(e) {
|
|
1187
|
-
Wn(e), Un.length === 0 && Hn.length !== 0 && (Hn.at(-1)(), Hn = []);
|
|
1188
|
-
}
|
|
1189
|
-
function qn(e) {
|
|
1190
|
-
Un.length === 0 ? e() : Hn.push(e);
|
|
1191
|
-
}
|
|
1192
|
-
function Jn(e) {
|
|
1193
|
-
Hn = Hn.filter((t) => t !== e);
|
|
1194
|
-
}
|
|
1195
|
-
//#endregion
|
|
1196
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.config/instance-config.js
|
|
1197
|
-
var Yn = {}, Xn = [], Zn = [], Qn = 1, $n = document.body;
|
|
1198
|
-
function er(e, t, n) {
|
|
1199
|
-
let r = document.createElement("div");
|
|
1200
|
-
if (r.id = t === void 0 ? e : `q-portal--${t}--${Qn++}`, Yn.globalNodes !== void 0) {
|
|
1201
|
-
let e = Yn.globalNodes.class;
|
|
1202
|
-
e !== void 0 && (r.className = e);
|
|
1203
|
-
}
|
|
1204
|
-
return (n || $n).append(r), Xn.push(r), Zn.push(t), r;
|
|
1205
|
-
}
|
|
1206
|
-
function tr(e) {
|
|
1207
|
-
let t = Xn.indexOf(e);
|
|
1208
|
-
t !== -1 && (Xn.splice(t, 1), Zn.splice(t, 1)), e.remove();
|
|
1209
|
-
}
|
|
1210
|
-
//#endregion
|
|
1211
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-portal/use-portal.js
|
|
1212
|
-
var nr = /*#__PURE__*/ Y({
|
|
1213
|
-
name: "QPortal",
|
|
1214
|
-
setup(e, { slots: t }) {
|
|
1215
|
-
return () => t.default();
|
|
1216
|
-
}
|
|
1217
|
-
});
|
|
1218
|
-
function rr(e) {
|
|
1219
|
-
for (e = e.parent; e != null;) {
|
|
1220
|
-
if (e.type.name === "QGlobalDialog") return !0;
|
|
1221
|
-
if (e.type.name === "QDialog" || e.type.name === "QMenu") return !1;
|
|
1222
|
-
e = e.parent;
|
|
1223
|
-
}
|
|
1224
|
-
return !1;
|
|
1225
|
-
}
|
|
1226
|
-
function ir(e) {
|
|
1227
|
-
let t = e.parent;
|
|
1228
|
-
for (; t != null;) {
|
|
1229
|
-
if (t.type.name === "QDialog") {
|
|
1230
|
-
let e = t.proxy?.__getAriaModalEl?.();
|
|
1231
|
-
if (e != null) return e;
|
|
1232
|
-
}
|
|
1233
|
-
t = t.parent;
|
|
1234
|
-
}
|
|
1235
|
-
return null;
|
|
1236
|
-
}
|
|
1237
|
-
function ar(e, t, n, r) {
|
|
1238
|
-
let i = V(!1), a = !1, o = null, s = {}, c = r === "dialog" && rr(e), l = r !== "tooltip", u = !1;
|
|
1239
|
-
function d(t) {
|
|
1240
|
-
e.vnode.el?.dispatchEvent(new CustomEvent(t, { bubbles: !0 }));
|
|
1241
|
-
}
|
|
1242
|
-
function f() {
|
|
1243
|
-
u && (u = !1, d("popup-hide"));
|
|
1244
|
-
}
|
|
1245
|
-
function m(t, n) {
|
|
1246
|
-
if (t) {
|
|
1247
|
-
Kn(s), a = !1;
|
|
1248
|
-
return;
|
|
1249
|
-
}
|
|
1250
|
-
if (a = !0, !i.value) {
|
|
1251
|
-
if (!c && o === null) {
|
|
1252
|
-
let t = r === "menu" ? ir(e) : null;
|
|
1253
|
-
o = er(!1, r, t), t !== null && o.classList.add("all-pointer-events");
|
|
1254
|
-
}
|
|
1255
|
-
i.value = !0, Vn.push(e.proxy), Gn(s), l && !n && (u = !0, d("popup-show"));
|
|
1256
|
-
}
|
|
1257
|
-
}
|
|
1258
|
-
function h(t) {
|
|
1259
|
-
if (a = !1, f(), !t) return;
|
|
1260
|
-
Kn(s), i.value = !1;
|
|
1261
|
-
let n = Vn.indexOf(e.proxy);
|
|
1262
|
-
n !== -1 && Vn.splice(n, 1), o !== null && (tr(o), o = null);
|
|
1263
|
-
}
|
|
1264
|
-
return P(f), R(() => {
|
|
1265
|
-
h(!0);
|
|
1266
|
-
}), e.proxy.__qPortal = !0, he(e.proxy, "contentEl", () => t.value), {
|
|
1267
|
-
showPortal: m,
|
|
1268
|
-
hidePortal: h,
|
|
1269
|
-
portalIsActive: i,
|
|
1270
|
-
portalIsOpening: () => a,
|
|
1271
|
-
renderPortal: () => c ? n() : i.value ? [T(p, { to: o }, T(nr, n))] : void 0
|
|
1272
|
-
};
|
|
1273
|
-
}
|
|
1274
|
-
//#endregion
|
|
1275
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-portal-refocus/use-portal-refocus.js
|
|
1276
|
-
function or(e, t) {
|
|
1277
|
-
let { proxy: n } = w(), r = null;
|
|
1278
|
-
function i(t) {
|
|
1279
|
-
r = e.noRefocus || t === !0 ? null : document.activeElement;
|
|
1280
|
-
}
|
|
1281
|
-
function a(e) {
|
|
1282
|
-
r = e || null;
|
|
1283
|
-
}
|
|
1284
|
-
function o() {
|
|
1285
|
-
r = null;
|
|
1286
|
-
}
|
|
1287
|
-
function s(e) {
|
|
1288
|
-
return (e?.type.indexOf("key") === 0 ? r.closest("[tabindex]:not([tabindex^=\"-\"])") : void 0) || r;
|
|
1289
|
-
}
|
|
1290
|
-
function c(e) {
|
|
1291
|
-
if (r === null) return;
|
|
1292
|
-
let t = s(e);
|
|
1293
|
-
r = null;
|
|
1294
|
-
let i = Vn.indexOf(n);
|
|
1295
|
-
if (i !== -1) {
|
|
1296
|
-
for (let e = Vn.length - 1; e > i; e--) if (Vn[e].__adoptRefocusTarget?.(t, n.contentEl) === !0) return;
|
|
1297
|
-
}
|
|
1298
|
-
qn(() => {
|
|
1299
|
-
t.isConnected && t.focus({ preventScroll: !0 });
|
|
1300
|
-
});
|
|
1301
|
-
}
|
|
1302
|
-
function l(e) {
|
|
1303
|
-
r !== null && (r.isConnected && s(e).focus({ preventScroll: !0 }), r = null);
|
|
1304
|
-
}
|
|
1305
|
-
function u(n, i) {
|
|
1306
|
-
return t() ? (!e.noRefocus && (r === null || i?.contains(r) === !0) && (r = n), !0) : !1;
|
|
1307
|
-
}
|
|
1308
|
-
return {
|
|
1309
|
-
captureRefocusTarget: i,
|
|
1310
|
-
setRefocusTarget: a,
|
|
1311
|
-
clearRefocusTarget: o,
|
|
1312
|
-
restoreFocus: c,
|
|
1313
|
-
restoreFocusSync: l,
|
|
1314
|
-
adoptRefocusTarget: u
|
|
1315
|
-
};
|
|
1316
|
-
}
|
|
1317
|
-
document.body, document.scrollingElement, document.documentElement;
|
|
1318
|
-
function sr(e) {
|
|
1319
|
-
return e === window ? window.scrollY : e.scrollTop;
|
|
1320
|
-
}
|
|
1321
|
-
function cr(e) {
|
|
1322
|
-
return e === window ? window.scrollX : e.scrollLeft;
|
|
1323
|
-
}
|
|
1324
|
-
//#endregion
|
|
1325
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/scroll/prevent-scroll.js
|
|
1326
|
-
var lr = 0, ur, dr, fr, pr = !1, mr, hr, gr = !1, _r, vr = null, yr = /* @__PURE__ */ new Set();
|
|
1327
|
-
function br(e) {
|
|
1328
|
-
pr || (pr = !0, requestAnimationFrame(() => {
|
|
1329
|
-
pr = !1;
|
|
1330
|
-
let { height: t, scale: n } = e.target;
|
|
1331
|
-
if (Math.abs(n - 1) > .01) return;
|
|
1332
|
-
let { clientHeight: r, scrollTop: i } = document.scrollingElement;
|
|
1333
|
-
(fr === void 0 || t !== window.innerHeight) && (fr = r - t, document.scrollingElement.scrollTop = i), i > fr && (document.scrollingElement.scrollTop -= Math.ceil((i - fr) / 8));
|
|
1334
|
-
}));
|
|
1335
|
-
}
|
|
1336
|
-
function xr(e) {
|
|
1337
|
-
let t = document.body;
|
|
1338
|
-
if (e === "add") {
|
|
1339
|
-
ur = cr(window), dr = sr(window), _r = window.location.pathname, gr = wn.is.ios;
|
|
1340
|
-
let e = ["q-document--prevent-scroll"];
|
|
1341
|
-
gr ? (mr = t.style.left, hr = t.style.top, t.style.left = `-${ur}px`, t.style.top = `-${dr}px`, e.push("q-document--pin-body")) : (e.push("q-document--clip-scroll"), window.innerWidth - document.documentElement.clientWidth > 0 && e.push("q-document--reserve-scrollbar")), document.documentElement.classList.add(...e), document.qScrollPrevented = !0, gr && (window.scrollTo(0, 0), window.visualViewport?.addEventListener("resize", br, Z.passiveCapture), window.visualViewport?.addEventListener("scroll", br, Z.passiveCapture), window.scrollTo(0, 0));
|
|
1342
|
-
} else gr && (window.visualViewport?.removeEventListener("resize", br, Z.passiveCapture), window.visualViewport?.removeEventListener("scroll", br, Z.passiveCapture)), document.documentElement.classList.remove("q-document--prevent-scroll", "q-document--clip-scroll", "q-document--reserve-scrollbar", "q-document--pin-body"), document.qScrollPrevented = !1, gr && (t.style.left = mr, t.style.top = hr), gr && window.location.pathname === _r && (cr(window) !== ur || sr(window) !== dr) ? window.scrollTo(ur, dr) : yr.forEach((e) => {
|
|
1343
|
-
e();
|
|
1344
|
-
}), fr = void 0;
|
|
1345
|
-
}
|
|
1346
|
-
function Sr(e) {
|
|
1347
|
-
let t = "add";
|
|
1348
|
-
if (e === !0) {
|
|
1349
|
-
if (lr++, vr !== null) {
|
|
1350
|
-
clearTimeout(vr), vr = null;
|
|
1351
|
-
return;
|
|
1352
|
-
}
|
|
1353
|
-
if (lr > 1) return;
|
|
1354
|
-
} else {
|
|
1355
|
-
if (lr === 0 || (lr--, lr > 0)) return;
|
|
1356
|
-
if (t = "remove", gr && wn.is.nativeMobile) {
|
|
1357
|
-
vr !== null && clearTimeout(vr), vr = setTimeout(() => {
|
|
1358
|
-
xr(t), vr = null;
|
|
1359
|
-
}, 100);
|
|
1360
|
-
return;
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
xr(t);
|
|
1364
|
-
}
|
|
1365
|
-
//#endregion
|
|
1366
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-prevent-scroll/use-prevent-scroll.js
|
|
1367
|
-
function Cr() {
|
|
1368
|
-
let e;
|
|
1369
|
-
return { preventBodyScroll(t) {
|
|
1370
|
-
t !== e && (e !== void 0 || t) && (e = t, Sr(t));
|
|
1371
|
-
} };
|
|
1372
|
-
}
|
|
1373
|
-
//#endregion
|
|
1374
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.keyboard/escape-key.js
|
|
1375
|
-
var wr = [], Tr;
|
|
1376
|
-
function Er(e) {
|
|
1377
|
-
e.keyCode === 27 && (Tr = !0);
|
|
1378
|
-
}
|
|
1379
|
-
function Dr() {
|
|
1380
|
-
Tr &&= !1;
|
|
1381
|
-
}
|
|
1382
|
-
function Or(e) {
|
|
1383
|
-
Tr && $e(e, 27) && (Tr = !1, wr.at(-1)(e));
|
|
1384
|
-
}
|
|
1385
|
-
function kr(e) {
|
|
1386
|
-
window[e]("keydown", Er), window[e]("blur", Dr), window[e]("keyup", Or), Tr = !1;
|
|
1387
|
-
}
|
|
1388
|
-
function Ar(e) {
|
|
1389
|
-
wr.push(e), wr.length === 1 && kr("addEventListener");
|
|
1390
|
-
}
|
|
1391
|
-
function jr(e) {
|
|
1392
|
-
let t = wr.indexOf(e);
|
|
1393
|
-
t !== -1 && (wr.splice(t, 1), wr.length === 0 && kr("removeEventListener"));
|
|
1394
|
-
}
|
|
1395
|
-
//#endregion
|
|
1396
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.focus/focusout.js
|
|
1397
|
-
var Mr = [];
|
|
1398
|
-
function Nr(e) {
|
|
1399
|
-
Mr.at(-1)(e);
|
|
1400
|
-
}
|
|
1401
|
-
function Pr(e) {
|
|
1402
|
-
Mr.push(e), Mr.length === 1 && document.body.addEventListener("focusin", Nr);
|
|
1403
|
-
}
|
|
1404
|
-
function Fr(e) {
|
|
1405
|
-
let t = Mr.indexOf(e);
|
|
1406
|
-
t !== -1 && (Mr.splice(t, 1), Mr.length === 0 && document.body.removeEventListener("focusin", Nr));
|
|
1407
|
-
}
|
|
1408
|
-
//#endregion
|
|
1409
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.focus/detached-fullscreen.js
|
|
1410
|
-
var Ir = /* @__PURE__ */ new Map(), Lr = [];
|
|
1411
|
-
function Rr(e) {
|
|
1412
|
-
Lr.push(e);
|
|
1413
|
-
}
|
|
1414
|
-
function zr(e) {
|
|
1415
|
-
let t = Lr.indexOf(e);
|
|
1416
|
-
t !== -1 && Lr.splice(t, 1);
|
|
1417
|
-
}
|
|
1418
|
-
function Br(e) {
|
|
1419
|
-
for (let [t, n] of Ir) if (n.$el.contains(e) === !0) return t;
|
|
1420
|
-
}
|
|
1421
|
-
function Vr(e, t, n) {
|
|
1422
|
-
if (e == null) return !1;
|
|
1423
|
-
let r = /* @__PURE__ */ new Set();
|
|
1424
|
-
for (let i = Br(t); i !== void 0 && !r.has(i); i = Br(i)) {
|
|
1425
|
-
if (n(e, i) === !0) return !0;
|
|
1426
|
-
r.add(i);
|
|
1427
|
-
}
|
|
1428
|
-
return !1;
|
|
1429
|
-
}
|
|
1430
|
-
function Hr(e, t) {
|
|
1431
|
-
return Vr(e, t, Ue);
|
|
1432
|
-
}
|
|
1433
|
-
//#endregion
|
|
1434
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/dialog/QDialog.js
|
|
1435
|
-
var Ur = 0, Wr = {
|
|
1436
|
-
standard: "fixed-full flex-center",
|
|
1437
|
-
top: "fixed-top justify-center",
|
|
1438
|
-
bottom: "fixed-bottom justify-center",
|
|
1439
|
-
right: "fixed-right items-center",
|
|
1440
|
-
left: "fixed-left items-center"
|
|
1441
|
-
}, Gr = {
|
|
1442
|
-
standard: ["scale", "scale"],
|
|
1443
|
-
top: ["slide-down", "slide-up"],
|
|
1444
|
-
bottom: ["slide-up", "slide-down"],
|
|
1445
|
-
right: ["slide-left", "slide-right"],
|
|
1446
|
-
left: ["slide-right", "slide-left"]
|
|
1447
|
-
}, Kr = /*#__PURE__*/ Y({
|
|
1448
|
-
name: "QDialog",
|
|
1449
|
-
inheritAttrs: !1,
|
|
1450
|
-
props: {
|
|
1451
|
-
...Fn,
|
|
1452
|
-
...Rn,
|
|
1453
|
-
transitionShow: String,
|
|
1454
|
-
transitionHide: String,
|
|
1455
|
-
persistent: Boolean,
|
|
1456
|
-
autoClose: Boolean,
|
|
1457
|
-
allowFocusOutside: Boolean,
|
|
1458
|
-
noEscDismiss: Boolean,
|
|
1459
|
-
noBackdropDismiss: Boolean,
|
|
1460
|
-
noRouteDismiss: Boolean,
|
|
1461
|
-
noRefocus: Boolean,
|
|
1462
|
-
noFocus: Boolean,
|
|
1463
|
-
noShake: Boolean,
|
|
1464
|
-
seamless: Boolean,
|
|
1465
|
-
maximized: Boolean,
|
|
1466
|
-
fullWidth: Boolean,
|
|
1467
|
-
fullHeight: Boolean,
|
|
1468
|
-
square: Boolean,
|
|
1469
|
-
backdropFilter: String,
|
|
1470
|
-
position: {
|
|
1471
|
-
type: String,
|
|
1472
|
-
default: "standard",
|
|
1473
|
-
validator: (e) => [
|
|
1474
|
-
"standard",
|
|
1475
|
-
"top",
|
|
1476
|
-
"bottom",
|
|
1477
|
-
"left",
|
|
1478
|
-
"right"
|
|
1479
|
-
].includes(e)
|
|
1480
|
-
}
|
|
1481
|
-
},
|
|
1482
|
-
emits: [
|
|
1483
|
-
...In,
|
|
1484
|
-
"shake",
|
|
1485
|
-
"click",
|
|
1486
|
-
"escapeKey"
|
|
1487
|
-
],
|
|
1488
|
-
setup(e, { slots: t, emit: n, attrs: r }) {
|
|
1489
|
-
let i = w(), a = c(), o = U(null), s = U(null), l = V(!1), u = V(!1), d = V(null), f = null, p = !1, g = !1, _ = !1, v = h(() => !e.persistent && !e.noRouteDismiss && !e.seamless), { preventBodyScroll: y } = Cr(), { registerTransitionEnd: b } = Nn(e), { registerTick: x, removeTick: S } = Pn(), { transitionProps: C, transitionStyle: E } = Bn(e, () => Gr[e.position][0], () => Gr[e.position][1]), D = h(() => E() + (e.backdropFilter === void 0 ? "" : `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}`)), { showPortal: O, hidePortal: k, portalIsOpening: A, renderPortal: j } = ar(i, s, pe, "dialog"), { captureRefocusTarget: M, setRefocusTarget: N, clearRefocusTarget: F, restoreFocus: I, adoptRefocusTarget: L } = or(e, () => !e.noFocus && A()), { hide: R } = Ln({
|
|
1490
|
-
showing: l,
|
|
1491
|
-
hideOnRouteChange: v,
|
|
1492
|
-
handleShow: J,
|
|
1493
|
-
handleHide: re,
|
|
1494
|
-
handleRouteChange: ie,
|
|
1495
|
-
processOnMount: !0
|
|
1496
|
-
}), { addToHistory: z, removeFromHistory: B } = jn(l, R, v), ee = h(() => `q-dialog__inner flex no-pointer-events q-dialog__inner--${e.maximized ? "maximized" : "minimized"} q-dialog__inner--${e.position} ${Wr[e.position]}` + (u.value ? " q-dialog__inner--animating" : "") + (d.value === null ? "" : " q-dialog__inner--keyboard") + (e.fullWidth ? " q-dialog__inner--fullwidth" : "") + (e.fullHeight ? " q-dialog__inner--fullheight" : "") + (e.square ? " q-dialog__inner--square" : "")), H = h(() => l.value && !e.seamless), te = h(() => e.autoClose ? { onClick: ue } : {}), W = h(() => `q-dialog fullscreen no-pointer-events q-dialog--${H.value ? "modal" : "seamless"}`);
|
|
1497
|
-
q(() => e.maximized, (e) => {
|
|
1498
|
-
l.value && le(e);
|
|
1499
|
-
}), q(H, (e) => {
|
|
1500
|
-
y(e), e ? (Pr(fe), Ar(se)) : (Fr(fe), jr(se));
|
|
1501
|
-
});
|
|
1502
|
-
function G() {
|
|
1503
|
-
let { offsetTop: e, height: t, scale: n } = window.visualViewport, { innerHeight: r } = window;
|
|
1504
|
-
if (Math.abs(n - 1) > .01 || r - t < 1) {
|
|
1505
|
-
d.value = null;
|
|
1506
|
-
return;
|
|
1507
|
-
}
|
|
1508
|
-
let i = Math.round(e), a = Math.round(r - e - t), o = d.value;
|
|
1509
|
-
(o === null || o.top !== i || o.bottom !== a) && (d.value = {
|
|
1510
|
-
top: i,
|
|
1511
|
-
bottom: a,
|
|
1512
|
-
height: Math.round(t)
|
|
1513
|
-
});
|
|
1514
|
-
}
|
|
1515
|
-
function ne(e) {
|
|
1516
|
-
let t = e ? "addEventListener" : "removeEventListener";
|
|
1517
|
-
_ = e, window.visualViewport?.[t]("resize", G, Z.passive), window.visualViewport?.[t]("scroll", G, Z.passive), e && window.visualViewport !== void 0 ? G() : d.value = null;
|
|
1518
|
-
}
|
|
1519
|
-
function K() {
|
|
1520
|
-
let t = d.value;
|
|
1521
|
-
return t === null ? E() : `${E()};--q-dialog-viewport-height:${t.height}px` + (e.position === "bottom" ? "" : `;top:${t.top}px`) + (e.position === "top" ? "" : `;bottom:${t.bottom}px`);
|
|
1522
|
-
}
|
|
1523
|
-
function J(t) {
|
|
1524
|
-
z(), M(), le(e.maximized), O(), u.value = !0, a.platform.is.ios && ne(!0), e.noFocus ? S() : (document.activeElement?.blur(), x(ae)), b(() => {
|
|
1525
|
-
if (a.platform.is.ios) {
|
|
1526
|
-
if (!e.seamless && document.activeElement) {
|
|
1527
|
-
let { top: e, bottom: t } = document.activeElement.getBoundingClientRect(), { innerHeight: n } = window, r = window.visualViewport?.height ?? n;
|
|
1528
|
-
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();
|
|
1529
|
-
}
|
|
1530
|
-
g = !0, s.value.click(), g = !1;
|
|
1531
|
-
}
|
|
1532
|
-
O(!0), u.value = !1, n("show", t);
|
|
1533
|
-
});
|
|
1534
|
-
}
|
|
1535
|
-
function re(e) {
|
|
1536
|
-
S(), B(), ce(!0), u.value = !0, k(), I(e), b(() => {
|
|
1537
|
-
k(!0), u.value = !1, n("hide", e);
|
|
1538
|
-
});
|
|
1539
|
-
}
|
|
1540
|
-
function ie() {
|
|
1541
|
-
F();
|
|
1542
|
-
}
|
|
1543
|
-
function ae(e) {
|
|
1544
|
-
qn(() => {
|
|
1545
|
-
let t = s.value;
|
|
1546
|
-
if (t !== null && t.contains !== void 0) {
|
|
1547
|
-
if (e !== void 0) {
|
|
1548
|
-
let n = t.querySelector(e);
|
|
1549
|
-
if (n !== null) {
|
|
1550
|
-
n.focus({ preventScroll: !0 });
|
|
1551
|
-
return;
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
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 }));
|
|
1555
|
-
}
|
|
1556
|
-
});
|
|
1557
|
-
}
|
|
1558
|
-
function oe(e) {
|
|
1559
|
-
e && typeof e.focus == "function" ? e.focus({ preventScroll: !0 }) : ae(), n("shake");
|
|
1560
|
-
let t = s.value;
|
|
1561
|
-
t !== null && (t.classList.remove("q-animate--scale"), t.classList.add("q-animate--scale"), f !== null && clearTimeout(f), f = setTimeout(() => {
|
|
1562
|
-
f = null, s.value !== null && (t.classList.remove("q-animate--scale"), ae());
|
|
1563
|
-
}, 170));
|
|
1564
|
-
}
|
|
1565
|
-
function se(t) {
|
|
1566
|
-
e.seamless || (e.persistent || e.noEscDismiss ? !e.maximized && !e.noShake && oe() : (n("escapeKey"), R(t)));
|
|
1567
|
-
}
|
|
1568
|
-
function ce(t) {
|
|
1569
|
-
f !== null && (clearTimeout(f), f = null), (t || l.value) && (le(!1), _ && ne(!1), e.seamless || (y(!1), Fr(fe), jr(se))), t || F();
|
|
1570
|
-
}
|
|
1571
|
-
function le(e) {
|
|
1572
|
-
e ? p ||= (Ur < 1 && document.body.classList.add("q-body--dialog"), Ur++, !0) : p &&= (Ur < 2 && document.body.classList.remove("q-body--dialog"), Ur--, !1);
|
|
1573
|
-
}
|
|
1574
|
-
function ue(e) {
|
|
1575
|
-
g || (R(e), n("click", e));
|
|
1576
|
-
}
|
|
1577
|
-
function de(t) {
|
|
1578
|
-
t.button === 0 && (!e.persistent && !e.noBackdropDismiss ? R(t) : e.noShake || oe());
|
|
1579
|
-
}
|
|
1580
|
-
function fe(t) {
|
|
1581
|
-
!e.allowFocusOutside && !A() && !Ue(s.value, t.target) && !Hr(s.value, t.target) && ae("[tabindex]:not([tabindex=\"-1\"])");
|
|
1582
|
-
}
|
|
1583
|
-
Object.assign(i.proxy, {
|
|
1584
|
-
focus: ae,
|
|
1585
|
-
shake: oe,
|
|
1586
|
-
__updateRefocusTarget: N,
|
|
1587
|
-
__adoptRefocusTarget: L,
|
|
1588
|
-
__getAriaModalEl: () => H.value ? o.value : null
|
|
1589
|
-
}), P(ce);
|
|
1590
|
-
function pe() {
|
|
1591
|
-
return T("div", {
|
|
1592
|
-
ref: o,
|
|
1593
|
-
role: "dialog",
|
|
1594
|
-
"aria-modal": H.value ? "true" : "false",
|
|
1595
|
-
...r,
|
|
1596
|
-
class: [W.value, r.class]
|
|
1597
|
-
}, [T(m, {
|
|
1598
|
-
name: "q-transition--fade",
|
|
1599
|
-
appear: !0
|
|
1600
|
-
}, () => H.value ? T("div", {
|
|
1601
|
-
class: "q-dialog__backdrop fixed-full",
|
|
1602
|
-
style: D.value,
|
|
1603
|
-
"aria-hidden": "true",
|
|
1604
|
-
onMousedown: de
|
|
1605
|
-
}) : null), T(m, C(), () => l.value ? T("div", {
|
|
1606
|
-
ref: s,
|
|
1607
|
-
class: ee.value,
|
|
1608
|
-
style: K(),
|
|
1609
|
-
tabindex: -1,
|
|
1610
|
-
...te.value
|
|
1611
|
-
}, X(t.default)) : null)]);
|
|
1612
|
-
}
|
|
1613
|
-
return j;
|
|
1614
|
-
}
|
|
1615
|
-
});
|
|
1616
|
-
//#endregion
|
|
1617
|
-
//#region lib/components/dialogs/VnConfirm.vue?vue&type=i18n&index=0&lang.i18n
|
|
1618
|
-
function qr(e) {
|
|
1619
|
-
let t = e;
|
|
1620
|
-
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
1621
|
-
locale: "",
|
|
1622
|
-
resource: { es: {
|
|
1623
|
-
Confirm: {
|
|
1624
|
-
t: 0,
|
|
1625
|
-
b: {
|
|
1626
|
-
t: 2,
|
|
1627
|
-
i: [{ t: 3 }],
|
|
1628
|
-
s: "Confirmar"
|
|
1629
|
-
}
|
|
1630
|
-
},
|
|
1631
|
-
"Are you sure you want to continue?": {
|
|
1632
|
-
t: 0,
|
|
1633
|
-
b: {
|
|
1634
|
-
t: 2,
|
|
1635
|
-
i: [{ t: 3 }],
|
|
1636
|
-
s: "¿Seguro que quieres continuar?"
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
} }
|
|
1640
|
-
});
|
|
1641
|
-
}
|
|
1642
|
-
//#endregion
|
|
1643
|
-
//#region \0plugin-vue:export-helper
|
|
1644
|
-
var Jr = (e, t) => {
|
|
1645
|
-
let n = e.__vccOpts || e;
|
|
1646
|
-
for (let [e, r] of t) n[e] = r;
|
|
1647
|
-
return n;
|
|
1648
|
-
}, Yr = { class: "text-h6" }, Xr = ["innerHTML"], Zr = {
|
|
1649
|
-
__name: "VnConfirm",
|
|
1650
|
-
props: {
|
|
1651
|
-
icon: {
|
|
1652
|
-
type: String,
|
|
1653
|
-
default: null
|
|
1654
|
-
},
|
|
1655
|
-
title: {
|
|
1656
|
-
type: String,
|
|
1657
|
-
default: null
|
|
1658
|
-
},
|
|
1659
|
-
message: {
|
|
1660
|
-
type: [String, Boolean],
|
|
1661
|
-
default: null
|
|
1662
|
-
},
|
|
1663
|
-
data: {
|
|
1664
|
-
type: Object,
|
|
1665
|
-
required: !1,
|
|
1666
|
-
default: null
|
|
1667
|
-
},
|
|
1668
|
-
promise: {
|
|
1669
|
-
type: Function,
|
|
1670
|
-
required: !1,
|
|
1671
|
-
default: null
|
|
1672
|
-
},
|
|
1673
|
-
persistent: {
|
|
1674
|
-
type: Boolean,
|
|
1675
|
-
default: !1
|
|
1676
|
-
},
|
|
1677
|
-
closable: {
|
|
1678
|
-
type: Boolean,
|
|
1679
|
-
default: !0
|
|
1680
|
-
},
|
|
1681
|
-
cardClass: {
|
|
1682
|
-
type: String,
|
|
1683
|
-
default: null
|
|
1684
|
-
}
|
|
1685
|
-
},
|
|
1686
|
-
emits: [
|
|
1687
|
-
"confirm",
|
|
1688
|
-
"cancel",
|
|
1689
|
-
...ae.useDialogPluginComponent.emits
|
|
1690
|
-
],
|
|
1691
|
-
setup(e, { expose: t, emit: n }) {
|
|
1692
|
-
let { t: r } = oe(), i = e, a = n;
|
|
1693
|
-
t({
|
|
1694
|
-
show: () => o.value.show(),
|
|
1695
|
-
hide: () => o.value.hide()
|
|
1696
|
-
});
|
|
1697
|
-
let { dialogRef: o, onDialogHide: s, onDialogOK: c, onDialogCancel: l } = ae.useDialogPluginComponent(), u = i.title || r("Confirm"), d = i.message || i.message !== !1 && r("Are you sure you want to continue?"), f = V(!1);
|
|
1698
|
-
async function p() {
|
|
1699
|
-
if (f.value = !0, i.promise) try {
|
|
1700
|
-
await i.promise(i.data);
|
|
1701
|
-
} finally {
|
|
1702
|
-
f.value = !1;
|
|
1703
|
-
}
|
|
1704
|
-
c(i.data);
|
|
1705
|
-
}
|
|
1706
|
-
function m() {
|
|
1707
|
-
a("cancel"), l();
|
|
1708
|
-
}
|
|
1709
|
-
return (t, n) => (z(), g(Kr, {
|
|
1710
|
-
ref_key: "dialogRef",
|
|
1711
|
-
ref: o,
|
|
1712
|
-
persistent: e.persistent,
|
|
1713
|
-
onHide: W(s)
|
|
1714
|
-
}, {
|
|
1715
|
-
default: J(() => [S(Jt, { class: j(["q-pa-sm", e.cardClass]) }, {
|
|
1716
|
-
default: J(() => [
|
|
1717
|
-
S(Wt, { class: "row items-center q-pb-none" }, {
|
|
1718
|
-
default: J(() => [
|
|
1719
|
-
e.icon ? (z(), g(Ie, {
|
|
1720
|
-
key: 0,
|
|
1721
|
-
icon: e.icon,
|
|
1722
|
-
color: "primary",
|
|
1723
|
-
"text-color": "white",
|
|
1724
|
-
size: "xl"
|
|
1725
|
-
}, null, 8, ["icon"])) : _("", !0),
|
|
1726
|
-
y("span", Yr, te(W(u)), 1),
|
|
1727
|
-
S(Le),
|
|
1728
|
-
e.closable ? (z(), g(Ut, {
|
|
1729
|
-
key: 1,
|
|
1730
|
-
icon: "close",
|
|
1731
|
-
disable: f.value,
|
|
1732
|
-
flat: "",
|
|
1733
|
-
round: "",
|
|
1734
|
-
dense: "",
|
|
1735
|
-
onClick: n[0] ||= (e) => m()
|
|
1736
|
-
}, null, 8, ["disable"])) : _("", !0)
|
|
1737
|
-
]),
|
|
1738
|
-
_: 1
|
|
1739
|
-
}),
|
|
1740
|
-
S(Wt, {
|
|
1741
|
-
class: "q-pb-none",
|
|
1742
|
-
"data-cy": "VnConfirm_message"
|
|
1743
|
-
}, {
|
|
1744
|
-
default: J(() => [W(d) === !1 ? _("", !0) : (z(), v("span", {
|
|
1745
|
-
key: 0,
|
|
1746
|
-
innerHTML: W(d)
|
|
1747
|
-
}, null, 8, Xr))]),
|
|
1748
|
-
_: 1
|
|
1749
|
-
}),
|
|
1750
|
-
S(Wt, { class: "row items-center q-pt-none" }, {
|
|
1751
|
-
default: J(() => [H(t.$slots, "custom-html", {}, void 0, !0)]),
|
|
1752
|
-
_: 3
|
|
1753
|
-
}),
|
|
1754
|
-
t.$slots.actions ? (z(), g(Gt, {
|
|
1755
|
-
key: 0,
|
|
1756
|
-
align: "right"
|
|
1757
|
-
}, {
|
|
1758
|
-
default: J(() => [H(t.$slots, "actions", { actions: {
|
|
1759
|
-
confirm: p,
|
|
1760
|
-
cancel: m
|
|
1761
|
-
} }, void 0, !0)]),
|
|
1762
|
-
_: 3
|
|
1763
|
-
})) : (z(), g(Gt, {
|
|
1764
|
-
key: 1,
|
|
1765
|
-
align: "right"
|
|
1766
|
-
}, {
|
|
1767
|
-
default: J(() => [S(Ut, {
|
|
1768
|
-
label: W(r)("globals.cancel"),
|
|
1769
|
-
color: "primary",
|
|
1770
|
-
disable: f.value,
|
|
1771
|
-
flat: "",
|
|
1772
|
-
onClick: n[1] ||= (e) => m(),
|
|
1773
|
-
"data-cy": "VnConfirm_cancel"
|
|
1774
|
-
}, null, 8, ["label", "disable"]), S(Ut, {
|
|
1775
|
-
label: W(r)("globals.confirm"),
|
|
1776
|
-
title: W(r)("globals.confirm"),
|
|
1777
|
-
color: "primary",
|
|
1778
|
-
loading: f.value,
|
|
1779
|
-
onClick: n[2] ||= (e) => p(),
|
|
1780
|
-
unelevated: "",
|
|
1781
|
-
autofocus: "",
|
|
1782
|
-
"data-cy": "VnConfirm_confirm"
|
|
1783
|
-
}, null, 8, [
|
|
1784
|
-
"label",
|
|
1785
|
-
"title",
|
|
1786
|
-
"loading"
|
|
1787
|
-
])]),
|
|
1788
|
-
_: 1
|
|
1789
|
-
}))
|
|
1790
|
-
]),
|
|
1791
|
-
_: 3
|
|
1792
|
-
}, 8, ["class"])]),
|
|
1793
|
-
_: 3
|
|
1794
|
-
}, 8, ["persistent", "onHide"]));
|
|
1795
|
-
}
|
|
1796
|
-
};
|
|
1797
|
-
typeof qr == "function" && qr(Zr);
|
|
1798
|
-
var Qr = /*#__PURE__*/ Jr(Zr, [["__scopeId", "data-v-67508d3b"]]), $r = [
|
|
1799
|
-
"text",
|
|
1800
|
-
"rect",
|
|
1801
|
-
"circle",
|
|
1802
|
-
"QBtn",
|
|
1803
|
-
"QBadge",
|
|
1804
|
-
"QChip",
|
|
1805
|
-
"QToolbar",
|
|
1806
|
-
"QCheckbox",
|
|
1807
|
-
"QRadio",
|
|
1808
|
-
"QToggle",
|
|
1809
|
-
"QSlider",
|
|
1810
|
-
"QRange",
|
|
1811
|
-
"QInput",
|
|
1812
|
-
"QAvatar"
|
|
1813
|
-
], ei = [
|
|
1814
|
-
"wave",
|
|
1815
|
-
"pulse",
|
|
1816
|
-
"pulse-x",
|
|
1817
|
-
"pulse-y",
|
|
1818
|
-
"fade",
|
|
1819
|
-
"blink",
|
|
1820
|
-
"none"
|
|
1821
|
-
], ti = /*#__PURE__*/ Y({
|
|
1822
|
-
name: "QSkeleton",
|
|
1823
|
-
props: {
|
|
1824
|
-
...Kt,
|
|
1825
|
-
tag: {
|
|
1826
|
-
type: String,
|
|
1827
|
-
default: "div"
|
|
1828
|
-
},
|
|
1829
|
-
type: {
|
|
1830
|
-
type: String,
|
|
1831
|
-
validator: (e) => $r.includes(e),
|
|
1832
|
-
default: "rect"
|
|
1833
|
-
},
|
|
1834
|
-
animation: {
|
|
1835
|
-
type: String,
|
|
1836
|
-
validator: (e) => ei.includes(e),
|
|
1837
|
-
default: "wave"
|
|
1838
|
-
},
|
|
1839
|
-
animationSpeed: {
|
|
1840
|
-
type: [String, Number],
|
|
1841
|
-
default: 1500
|
|
1842
|
-
},
|
|
1843
|
-
square: Boolean,
|
|
1844
|
-
bordered: Boolean,
|
|
1845
|
-
size: String,
|
|
1846
|
-
width: String,
|
|
1847
|
-
height: String
|
|
1848
|
-
},
|
|
1849
|
-
setup(e, { slots: t }) {
|
|
1850
|
-
let n = qt(e, c()), r = h(() => {
|
|
1851
|
-
let t = e.size === void 0 ? [e.width, e.height] : [e.size, e.size];
|
|
1852
|
-
return {
|
|
1853
|
-
"--q-skeleton-speed": `${e.animationSpeed}ms`,
|
|
1854
|
-
width: t[0],
|
|
1855
|
-
height: t[1]
|
|
1856
|
-
};
|
|
1857
|
-
}), i = h(() => `q-skeleton q-skeleton--${n() ? "dark" : "light"} q-skeleton--type-${e.type}` + (e.animation === "none" ? "" : ` q-skeleton--anim q-skeleton--anim-${e.animation}`) + (e.square ? " q-skeleton--square" : "") + (e.bordered ? " q-skeleton--bordered" : ""));
|
|
1858
|
-
return () => T(e.tag, {
|
|
1859
|
-
class: i.value,
|
|
1860
|
-
style: r.value
|
|
1861
|
-
}, X(t.default));
|
|
1862
|
-
}
|
|
1863
|
-
}), ni = {}, ri = { class: "row q-gutter-md q-mb-md" }, ii = { class: "row q-gutter-md q-mb-md" }, ai = { class: "row q-gutter-md q-mb-md" };
|
|
1864
|
-
function oi(e, t) {
|
|
1865
|
-
return z(), v(f, null, [
|
|
1866
|
-
y("div", ri, [S(ti, {
|
|
1867
|
-
type: "QInput",
|
|
1868
|
-
class: "col",
|
|
1869
|
-
square: ""
|
|
1870
|
-
}), S(ti, {
|
|
1871
|
-
type: "QInput",
|
|
1872
|
-
class: "col",
|
|
1873
|
-
square: ""
|
|
1874
|
-
})]),
|
|
1875
|
-
y("div", ii, [S(ti, {
|
|
1876
|
-
type: "QInput",
|
|
1877
|
-
class: "col",
|
|
1878
|
-
square: ""
|
|
1879
|
-
}), S(ti, {
|
|
1880
|
-
type: "QInput",
|
|
1881
|
-
class: "col",
|
|
1882
|
-
square: ""
|
|
1883
|
-
})]),
|
|
1884
|
-
y("div", ai, [S(ti, {
|
|
1885
|
-
type: "QInput",
|
|
1886
|
-
class: "col",
|
|
1887
|
-
square: ""
|
|
1888
|
-
}), S(ti, {
|
|
1889
|
-
type: "QInput",
|
|
1890
|
-
class: "col",
|
|
1891
|
-
square: ""
|
|
1892
|
-
})])
|
|
1893
|
-
], 64);
|
|
1894
|
-
}
|
|
1895
|
-
var si = /*#__PURE__*/ Jr(ni, [["render", oi]]), ci = /*#__PURE__*/ Jr({
|
|
1896
|
-
__name: "VnSpinner",
|
|
1897
|
-
props: {
|
|
1898
|
-
size: {
|
|
1899
|
-
type: String,
|
|
1900
|
-
default: "40px"
|
|
1901
|
-
},
|
|
1902
|
-
noTransition: {
|
|
1903
|
-
type: Boolean,
|
|
1904
|
-
default: !1
|
|
1905
|
-
}
|
|
1906
|
-
},
|
|
1907
|
-
setup(e) {
|
|
1908
|
-
let t = {
|
|
1909
|
-
xs: "16px",
|
|
1910
|
-
sm: "24px",
|
|
1911
|
-
md: "40px",
|
|
1912
|
-
lg: "56px",
|
|
1913
|
-
xl: "72px"
|
|
1914
|
-
};
|
|
1915
|
-
return (n, r) => e.noTransition ? (z(), v("div", {
|
|
1916
|
-
key: 1,
|
|
1917
|
-
class: "vn-spinner",
|
|
1918
|
-
style: M({
|
|
1919
|
-
width: t[e.size] || e.size,
|
|
1920
|
-
height: t[e.size] || e.size
|
|
1921
|
-
})
|
|
1922
|
-
}, null, 4)) : (z(), g(m, {
|
|
1923
|
-
key: 0,
|
|
1924
|
-
name: "vn-spinner-fade",
|
|
1925
|
-
appear: ""
|
|
1926
|
-
}, {
|
|
1927
|
-
default: J(() => [y("div", {
|
|
1928
|
-
class: "vn-spinner",
|
|
1929
|
-
style: M({
|
|
1930
|
-
width: t[e.size] || e.size,
|
|
1931
|
-
height: t[e.size] || e.size
|
|
1932
|
-
})
|
|
1933
|
-
}, null, 4)]),
|
|
1934
|
-
_: 1
|
|
1935
|
-
}));
|
|
1936
|
-
}
|
|
1937
|
-
}, [["__scopeId", "data-v-e5edebae"]]);
|
|
1938
|
-
//#endregion
|
|
1939
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.selection/selection.js
|
|
1940
|
-
function li() {
|
|
1941
|
-
if (window.getSelection !== void 0) {
|
|
1942
|
-
let e = window.getSelection();
|
|
1943
|
-
e.empty === void 0 ? e.removeAllRanges !== void 0 && (e.removeAllRanges(), Tn.is.mobile || e.addRange(document.createRange())) : e.empty();
|
|
1944
|
-
} else document.selection !== void 0 && document.selection.empty();
|
|
1945
|
-
}
|
|
1946
|
-
//#endregion
|
|
1947
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-anchor/use-anchor.js
|
|
1948
|
-
var ui = {
|
|
1949
|
-
target: {
|
|
1950
|
-
type: [
|
|
1951
|
-
Boolean,
|
|
1952
|
-
String,
|
|
1953
|
-
Element
|
|
1954
|
-
],
|
|
1955
|
-
default: !0
|
|
1956
|
-
},
|
|
1957
|
-
noParentEvent: Boolean
|
|
1958
|
-
};
|
|
1959
|
-
({ ...ui });
|
|
1960
|
-
var di = {
|
|
1961
|
-
application: !0,
|
|
1962
|
-
button: !0,
|
|
1963
|
-
checkbox: !0,
|
|
1964
|
-
columnheader: !0,
|
|
1965
|
-
combobox: !0,
|
|
1966
|
-
gridcell: !0,
|
|
1967
|
-
link: !0,
|
|
1968
|
-
listbox: !0,
|
|
1969
|
-
menuitem: !0,
|
|
1970
|
-
menuitemcheckbox: !0,
|
|
1971
|
-
menuitemradio: !0,
|
|
1972
|
-
row: !0,
|
|
1973
|
-
rowheader: !0,
|
|
1974
|
-
switch: !0,
|
|
1975
|
-
tab: !0,
|
|
1976
|
-
treeitem: !0
|
|
1977
|
-
}, fi = {
|
|
1978
|
-
button: !0,
|
|
1979
|
-
image: !0,
|
|
1980
|
-
reset: !0,
|
|
1981
|
-
submit: !0
|
|
1982
|
-
}, pi = {
|
|
1983
|
-
dialog: !0,
|
|
1984
|
-
grid: !0,
|
|
1985
|
-
listbox: !0,
|
|
1986
|
-
menu: !0,
|
|
1987
|
-
tree: !0
|
|
1988
|
-
};
|
|
1989
|
-
function mi(e) {
|
|
1990
|
-
let t = e.getAttribute("role")?.trim();
|
|
1991
|
-
if (t) return Object.hasOwn(di, t.split(/\s+/)[0]);
|
|
1992
|
-
let n = e.tagName;
|
|
1993
|
-
return n === "BUTTON" || n === "A" && e.hasAttribute("href") || n === "INPUT" && Object.hasOwn(fi, e.type);
|
|
1994
|
-
}
|
|
1995
|
-
function hi({ showing: e, avoidEmit: t, configureAnchorEl: n, getPopupRole: r }) {
|
|
1996
|
-
let { props: i, proxy: a, emit: o } = w(), s = U(null), c = null, l = !1, u = !1, d = null, f = !1;
|
|
1997
|
-
function p(e) {
|
|
1998
|
-
return s.value === null ? !1 : e === void 0 || e.touches === void 0 || e.touches.length <= 1;
|
|
1999
|
-
}
|
|
2000
|
-
let m = {};
|
|
2001
|
-
n === void 0 && (Object.assign(m, {
|
|
2002
|
-
hide(e) {
|
|
2003
|
-
e?.pointerType !== "touch" && (f = !1, a.hide(e));
|
|
2004
|
-
},
|
|
2005
|
-
toggle(e) {
|
|
2006
|
-
a.toggle(e), e.qAnchorHandled = !0;
|
|
2007
|
-
},
|
|
2008
|
-
toggleKey(e) {
|
|
2009
|
-
$e(e, 13) && m.toggle(e);
|
|
2010
|
-
},
|
|
2011
|
-
contextClick(e) {
|
|
2012
|
-
if (f) {
|
|
2013
|
-
f = !1, qe(e);
|
|
2014
|
-
return;
|
|
2015
|
-
}
|
|
2016
|
-
a.hide(e), qe(e), A(() => {
|
|
2017
|
-
a.show(e), e.qAnchorHandled = !0;
|
|
2018
|
-
});
|
|
2019
|
-
},
|
|
2020
|
-
touchHold(e) {
|
|
2021
|
-
if (m.touchHoldCleanup(e), !p(e)) return;
|
|
2022
|
-
f = !0, a.hide(e), s.value.classList.add("non-selectable");
|
|
2023
|
-
let t = e.target;
|
|
2024
|
-
Ye(m, "anchor", [
|
|
2025
|
-
[
|
|
2026
|
-
t,
|
|
2027
|
-
"touchmove",
|
|
2028
|
-
"touchHoldCleanup",
|
|
2029
|
-
"passive"
|
|
2030
|
-
],
|
|
2031
|
-
[
|
|
2032
|
-
t,
|
|
2033
|
-
"touchend",
|
|
2034
|
-
"touchHoldCleanup",
|
|
2035
|
-
"passive"
|
|
2036
|
-
],
|
|
2037
|
-
[
|
|
2038
|
-
t,
|
|
2039
|
-
"touchcancel",
|
|
2040
|
-
"touchHoldCleanup",
|
|
2041
|
-
"passive"
|
|
2042
|
-
]
|
|
2043
|
-
]), d = setTimeout(() => {
|
|
2044
|
-
d = null, a.show(e), e.qAnchorHandled = !0;
|
|
2045
|
-
}, 300);
|
|
2046
|
-
},
|
|
2047
|
-
touchHoldCleanup(t) {
|
|
2048
|
-
s.value.classList.remove("non-selectable"), d !== null && (clearTimeout(d), d = null, f = !1), e.value && t !== void 0 && li();
|
|
2049
|
-
}
|
|
2050
|
-
}), q(e, (e) => {
|
|
2051
|
-
e || (f = !1);
|
|
2052
|
-
}), n = function(e = i.contextMenu) {
|
|
2053
|
-
if (i.noParentEvent || s.value === null) return;
|
|
2054
|
-
let t = e ? [
|
|
2055
|
-
[
|
|
2056
|
-
s.value,
|
|
2057
|
-
"touchstart",
|
|
2058
|
-
"touchHold",
|
|
2059
|
-
"passive"
|
|
2060
|
-
],
|
|
2061
|
-
[
|
|
2062
|
-
s.value,
|
|
2063
|
-
"pointerdown",
|
|
2064
|
-
"hide",
|
|
2065
|
-
"passive"
|
|
2066
|
-
],
|
|
2067
|
-
[
|
|
2068
|
-
s.value,
|
|
2069
|
-
"contextmenu",
|
|
2070
|
-
"contextClick",
|
|
2071
|
-
"notPassive"
|
|
2072
|
-
]
|
|
2073
|
-
] : [[
|
|
2074
|
-
s.value,
|
|
2075
|
-
"click",
|
|
2076
|
-
"toggle",
|
|
2077
|
-
"passive"
|
|
2078
|
-
], [
|
|
2079
|
-
s.value,
|
|
2080
|
-
"keyup",
|
|
2081
|
-
"toggleKey",
|
|
2082
|
-
"passive"
|
|
2083
|
-
]];
|
|
2084
|
-
!e && i.hover === !0 && t.push([
|
|
2085
|
-
s.value,
|
|
2086
|
-
"pointerenter",
|
|
2087
|
-
"hoverShow",
|
|
2088
|
-
"passive"
|
|
2089
|
-
], [
|
|
2090
|
-
s.value,
|
|
2091
|
-
"pointerleave",
|
|
2092
|
-
"hoverHide",
|
|
2093
|
-
"passive"
|
|
2094
|
-
]), Ye(m, "anchor", t);
|
|
2095
|
-
});
|
|
2096
|
-
function h() {
|
|
2097
|
-
Xe(m, "anchor");
|
|
2098
|
-
}
|
|
2099
|
-
function g() {
|
|
2100
|
-
if (r === void 0 || s.value === null || i.contextMenu) return;
|
|
2101
|
-
let e = s.value;
|
|
2102
|
-
mi(e) && (l = !e.hasAttribute("aria-expanded"), u = !e.hasAttribute("aria-haspopup"), (l || u) && (c = e, _()));
|
|
2103
|
-
}
|
|
2104
|
-
function _() {
|
|
2105
|
-
if (c !== null && (l && c.setAttribute("aria-expanded", e.value ? "true" : "false"), u)) {
|
|
2106
|
-
let e = r();
|
|
2107
|
-
Object.hasOwn(pi, e) ? c.setAttribute("aria-haspopup", e) : c.removeAttribute("aria-haspopup");
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
function v() {
|
|
2111
|
-
c !== null && (l && c.removeAttribute("aria-expanded"), u && c.removeAttribute("aria-haspopup"), c = null, l = !1, u = !1);
|
|
2112
|
-
}
|
|
2113
|
-
function y(e) {
|
|
2114
|
-
for (s.value = e; s.value.classList.contains("q-anchor--skip");) s.value = s.value.parentNode;
|
|
2115
|
-
n();
|
|
2116
|
-
}
|
|
2117
|
-
function b() {
|
|
2118
|
-
if (i.target === !1 || i.target === "" || a.$el.parentNode === null) s.value = null;
|
|
2119
|
-
else if (i.target === !0) y(a.$el.parentNode);
|
|
2120
|
-
else {
|
|
2121
|
-
let e = i.target;
|
|
2122
|
-
if (typeof i.target == "string") try {
|
|
2123
|
-
e = document.querySelector(i.target);
|
|
2124
|
-
} catch {
|
|
2125
|
-
e = void 0;
|
|
2126
|
-
}
|
|
2127
|
-
e == null ? (s.value = null, console.error(`Anchor: target "${i.target}" not found`)) : (s.value = e.$el || e, n());
|
|
2128
|
-
}
|
|
2129
|
-
g();
|
|
2130
|
-
}
|
|
2131
|
-
return q(() => i.contextMenu, (e) => {
|
|
2132
|
-
s.value !== null && (h(), n(e), v(), g());
|
|
2133
|
-
}), q(() => i.hover, () => {
|
|
2134
|
-
s.value !== null && (h(), n());
|
|
2135
|
-
}), q(() => i.target, () => {
|
|
2136
|
-
s.value !== null && (h(), v()), b();
|
|
2137
|
-
}), q(() => i.noParentEvent, (e) => {
|
|
2138
|
-
s.value !== null && (e ? h() : n());
|
|
2139
|
-
}), r !== void 0 && q(e, _), L(() => {
|
|
2140
|
-
b(), !t && i.modelValue && s.value === null && o("update:modelValue", !1);
|
|
2141
|
-
}), P(() => {
|
|
2142
|
-
d !== null && clearTimeout(d), h(), v();
|
|
2143
|
-
}), {
|
|
2144
|
-
anchorEl: s,
|
|
2145
|
-
canShow: p,
|
|
2146
|
-
anchorEvents: m
|
|
2147
|
-
};
|
|
2148
|
-
}
|
|
2149
|
-
//#endregion
|
|
2150
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/uid/uid.js
|
|
2151
|
-
function gi() {
|
|
2152
|
-
if (typeof crypto > "u") return () => {
|
|
2153
|
-
throw Error("[Quasar uid()] Secure RNG not available. Cannot generate collision-resistant UUID.");
|
|
2154
|
-
};
|
|
2155
|
-
if (crypto.randomUUID) return () => crypto.randomUUID();
|
|
2156
|
-
let e = Array.from({ length: 256 }, (e, t) => (t + 256).toString(16).slice(1)), t, n;
|
|
2157
|
-
return () => {
|
|
2158
|
-
(t === void 0 || n + 16 > 4096) && (n = 0, t = /* @__PURE__ */ new Uint8Array(4096), crypto.getRandomValues(t));
|
|
2159
|
-
let r = n;
|
|
2160
|
-
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]];
|
|
2161
|
-
};
|
|
2162
|
-
}
|
|
2163
|
-
var _i = /*#__PURE__*/ gi();
|
|
2164
|
-
//#endregion
|
|
2165
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/use-id/use-id.js
|
|
2166
|
-
function vi(e) {
|
|
2167
|
-
return e ?? null;
|
|
2168
|
-
}
|
|
2169
|
-
function yi(e, t) {
|
|
2170
|
-
return e ?? (t ? `f_${_i()}` : null);
|
|
2171
|
-
}
|
|
2172
|
-
function bi({ getValue: e, required: t = !0 } = {}) {
|
|
2173
|
-
if (Yt.value) {
|
|
2174
|
-
let n = V(e === void 0 ? null : vi(e()));
|
|
2175
|
-
return t && n.value === null && L(() => {
|
|
2176
|
-
n.value = `f_${_i()}`;
|
|
2177
|
-
}), e !== void 0 && q(e, (e) => {
|
|
2178
|
-
n.value = yi(e, t);
|
|
2179
|
-
}), n;
|
|
2180
|
-
}
|
|
2181
|
-
return e === void 0 ? V(`f_${_i()}`) : h(() => yi(e(), t));
|
|
2182
|
-
}
|
|
2183
|
-
//#endregion
|
|
2184
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-position-engine/engine/core.js
|
|
2185
|
-
var xi = [
|
|
2186
|
-
"top",
|
|
2187
|
-
"center",
|
|
2188
|
-
"bottom"
|
|
2189
|
-
], Si = [
|
|
2190
|
-
"left",
|
|
2191
|
-
"middle",
|
|
2192
|
-
"right",
|
|
2193
|
-
"start",
|
|
2194
|
-
"end"
|
|
2195
|
-
], Ci = null;
|
|
2196
|
-
function wi() {
|
|
2197
|
-
return Ci === null && (Ci = typeof CSS < "u" && navigator.userAgentData?.brands?.some((e) => e.brand === "Chromium") === !0 && CSS.supports("position-anchor: --q") && CSS.supports("justify-self: anchor-center")), Ci;
|
|
2198
|
-
}
|
|
2199
|
-
function Ti(e) {
|
|
2200
|
-
let t = e.split(" ");
|
|
2201
|
-
return t.length === 2 ? xi.includes(t[0]) ? Si.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;
|
|
2202
|
-
}
|
|
2203
|
-
function Ei(e) {
|
|
2204
|
-
return !e || e.length === 2 && typeof e[0] == "number" && typeof e[1] == "number";
|
|
2205
|
-
}
|
|
2206
|
-
var Di = {
|
|
2207
|
-
"start#ltr": "left",
|
|
2208
|
-
"start#rtl": "right",
|
|
2209
|
-
"end#ltr": "right",
|
|
2210
|
-
"end#rtl": "left"
|
|
2211
|
-
};
|
|
2212
|
-
[
|
|
2213
|
-
"left",
|
|
2214
|
-
"middle",
|
|
2215
|
-
"right"
|
|
2216
|
-
].forEach((e) => {
|
|
2217
|
-
Di[`${e}#ltr`] = e, Di[`${e}#rtl`] = e;
|
|
2218
|
-
});
|
|
2219
|
-
var Oi = /* @__PURE__ */ new Map();
|
|
2220
|
-
function ki(e, t) {
|
|
2221
|
-
let n = `${e}#${t ? "rtl" : "ltr"}`, r = Oi.get(n);
|
|
2222
|
-
if (r === void 0) {
|
|
2223
|
-
let i = e.split(" ");
|
|
2224
|
-
r = {
|
|
2225
|
-
vertical: i[0],
|
|
2226
|
-
horizontal: Di[`${i[1]}#${t ? "rtl" : "ltr"}`]
|
|
2227
|
-
}, Oi.set(n, r);
|
|
2228
|
-
}
|
|
2229
|
-
return r;
|
|
2230
|
-
}
|
|
2231
|
-
function Ai({ el: e, anchorEl: t, anchorOrigin: n, selfOrigin: r, offset: i, cover: a, maxHeight: o, maxWidth: s }) {
|
|
2232
|
-
e.style.maxHeight = o || "", e.style.maxWidth = s || "", e.style.visibility = "";
|
|
2233
|
-
let { offsetWidth: c, offsetHeight: l } = e, u = getComputedStyle(e), d = t.getBoundingClientRect(), [f, p] = i !== void 0 && a !== !0 ? i : [0, 0], m = {
|
|
2234
|
-
top: d.top - p,
|
|
2235
|
-
bottom: d.bottom + p,
|
|
2236
|
-
center: d.top + (d.bottom - d.top) / 2,
|
|
2237
|
-
left: d.left - f,
|
|
2238
|
-
right: d.right + f,
|
|
2239
|
-
middle: d.left + (d.right - d.left) / 2
|
|
2240
|
-
}, { clientWidth: h, clientHeight: g } = document.documentElement, _ = {
|
|
2241
|
-
anchorOrigin: n,
|
|
2242
|
-
selfOrigin: r,
|
|
2243
|
-
maxHeight: null,
|
|
2244
|
-
maxWidth: null
|
|
2245
|
-
}, v = n.vertical, y = r.vertical, b = n.horizontal, x = r.horizontal, S = !1;
|
|
2246
|
-
if (y !== "center") {
|
|
2247
|
-
let e = m[v] - (y === "bottom" ? l : 0);
|
|
2248
|
-
if (e < 0 || e + l > g) {
|
|
2249
|
-
S = !0;
|
|
2250
|
-
let [e, t] = v === "center" ? ["center", "center"] : v === y ? ["top", "bottom"] : ["bottom", "top"], n = g - Math.max(0, m[e]), r = Math.min(g, m[t]), i;
|
|
2251
|
-
(y === "top" ? n >= r : n > r) ? (v = e, y = "top", i = n) : (v = t, y = "bottom", i = r), _.maxHeight = u.maxHeight === "none" ? `${i}px` : `min(${i}px, ${u.maxHeight})`;
|
|
2252
|
-
}
|
|
2253
|
-
}
|
|
2254
|
-
if (x !== "middle") {
|
|
2255
|
-
let e = m[b] - (x === "right" ? c : 0);
|
|
2256
|
-
if (e < 0 || e + c > h) {
|
|
2257
|
-
S = !0;
|
|
2258
|
-
let [e, t] = b === "middle" ? ["middle", "middle"] : b === x ? ["left", "right"] : ["right", "left"], n = h - Math.max(0, m[e]), r = Math.min(h, m[t]), i;
|
|
2259
|
-
(x === "left" ? n >= r : n > r) ? (b = e, x = "left", i = n) : (b = t, x = "right", i = r), _.maxWidth = u.maxWidth === "none" ? `${i}px` : `min(${i}px, ${u.maxWidth})`;
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2262
|
-
return S && (_.anchorOrigin = {
|
|
2263
|
-
vertical: v,
|
|
2264
|
-
horizontal: b
|
|
2265
|
-
}, _.selfOrigin = {
|
|
2266
|
-
vertical: y,
|
|
2267
|
-
horizontal: x
|
|
2268
|
-
}), _.maxHeight !== null && (e.style.maxHeight = _.maxHeight), _.maxWidth !== null && (e.style.maxWidth = _.maxWidth), _;
|
|
2269
|
-
}
|
|
2270
|
-
function ji(e, t) {
|
|
2271
|
-
return e === "bottom" || e === "right" ? -t : t;
|
|
2272
|
-
}
|
|
2273
|
-
function Mi({ el: e, anchorEl: t, point: n, selfOrigin: r, offset: i }) {
|
|
2274
|
-
let { offsetWidth: a, offsetHeight: o } = e, s = t.getBoundingClientRect(), { clientWidth: c, clientHeight: l } = document.documentElement, [u = 0, d = 0] = i ?? [], { vertical: f, horizontal: p } = r, m = {
|
|
2275
|
-
top: n.top,
|
|
2276
|
-
left: n.left
|
|
2277
|
-
}, h = !1, g = s.top + n.top + ji(f, d);
|
|
2278
|
-
if (f === "center") {
|
|
2279
|
-
let e = g - o / 2, t = Math.max(0, Math.min(e, l - o)) - e;
|
|
2280
|
-
t !== 0 && (m.top += t, h = !0);
|
|
2281
|
-
} else f === "top" && g + o > l ? (f = "bottom", h = !0) : f === "bottom" && g - o < 0 && (f = "top", h = !0);
|
|
2282
|
-
let _ = s.left + n.left + ji(p, u);
|
|
2283
|
-
if (p === "middle") {
|
|
2284
|
-
let e = _ - a / 2, t = Math.max(0, Math.min(e, c - a)) - e;
|
|
2285
|
-
t !== 0 && (m.left += t, h = !0);
|
|
2286
|
-
} else p === "left" && _ + a > c ? (p = "right", h = !0) : p === "right" && _ - a < 0 && (p = "left", h = !0);
|
|
2287
|
-
return h ? {
|
|
2288
|
-
selfOrigin: {
|
|
2289
|
-
vertical: f,
|
|
2290
|
-
horizontal: p
|
|
2291
|
-
},
|
|
2292
|
-
point: m
|
|
2293
|
-
} : null;
|
|
2294
|
-
}
|
|
2295
|
-
function Ni(e, t, n) {
|
|
2296
|
-
e.scrollTop !== t && (e.scrollTop = t), e.scrollLeft !== n && (e.scrollLeft = n);
|
|
2297
|
-
}
|
|
2298
|
-
//#endregion
|
|
2299
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-position-engine/engine/anchor-engine.js
|
|
2300
|
-
var Pi = /* @__PURE__ */ new Map(), Fi = 0;
|
|
2301
|
-
function Ii(e) {
|
|
2302
|
-
let t = Pi.get(e);
|
|
2303
|
-
return t === void 0 && (t = {
|
|
2304
|
-
name: `--q-pe-${++Fi}`,
|
|
2305
|
-
count: 0,
|
|
2306
|
-
prev: e.style.getPropertyValue("anchor-name")
|
|
2307
|
-
}, Pi.set(e, t), e.style.setProperty("anchor-name", t.name)), t.count++, t.name;
|
|
2308
|
-
}
|
|
2309
|
-
function Li(e) {
|
|
2310
|
-
let t = Pi.get(e);
|
|
2311
|
-
t !== void 0 && (t.count--, t.count === 0 && (Pi.delete(e), t.prev === "" ? e.style.removeProperty("anchor-name") : e.style.setProperty("anchor-name", t.prev)));
|
|
2312
|
-
}
|
|
2313
|
-
var Ri = {
|
|
2314
|
-
top: "top",
|
|
2315
|
-
center: "center",
|
|
2316
|
-
bottom: "bottom",
|
|
2317
|
-
left: "left",
|
|
2318
|
-
middle: "center",
|
|
2319
|
-
right: "right"
|
|
2320
|
-
};
|
|
2321
|
-
function zi(e, t) {
|
|
2322
|
-
return t === 0 ? `anchor(${e})` : `calc(anchor(${e}) ${t > 0 ? "+" : "-"} ${Math.abs(t)}px)`;
|
|
2323
|
-
}
|
|
2324
|
-
function Bi(e, { line: t, self: n, offset: r, start: i, end: a, alignProp: o }) {
|
|
2325
|
-
if (n === "center" || n === "middle") return t === "center" || t === "middle" ? (e[i] = "0px", e[a] = "0px", e[o] = "anchor-center", !1) : (e[i] = zi(Ri[t], 0), !0);
|
|
2326
|
-
let s = n === "top" || n === "left", c = t === "center" || t === "middle" ? 0 : (t === "top" || t === "left" ? -1 : 1) * r;
|
|
2327
|
-
return s ? e[i] = zi(Ri[t], c) : e[a] = zi(Ri[t], -c), !1;
|
|
2328
|
-
}
|
|
2329
|
-
function Vi({ anchorName: e, anchorOrigin: t, selfOrigin: n, offset: r, point: i, fit: a, cover: o, maxHeight: s, maxWidth: c }) {
|
|
2330
|
-
let l = {
|
|
2331
|
-
positionAnchor: e,
|
|
2332
|
-
top: null,
|
|
2333
|
-
right: null,
|
|
2334
|
-
bottom: null,
|
|
2335
|
-
left: null,
|
|
2336
|
-
translate: null,
|
|
2337
|
-
alignSelf: null,
|
|
2338
|
-
justifySelf: null,
|
|
2339
|
-
minWidth: null,
|
|
2340
|
-
minHeight: null,
|
|
2341
|
-
maxWidth: c || null,
|
|
2342
|
-
maxHeight: s || null
|
|
2343
|
-
}, u = r !== void 0 && !o ? r[0] : 0, d = r !== void 0 && !o ? r[1] : 0;
|
|
2344
|
-
if ((a || o) && (l.minWidth = c == null ? "anchor-size(width)" : `min(anchor-size(width), ${c})`, o && (l.minHeight = s == null ? "anchor-size(height)" : `min(anchor-size(height), ${s})`)), i !== void 0) {
|
|
2345
|
-
let e = i.top + ji(n.vertical, d), t = i.left + ji(n.horizontal, u);
|
|
2346
|
-
return n.vertical === "bottom" ? l.bottom = zi("top", -e) : l.top = zi("top", e), n.horizontal === "right" ? l.right = zi("left", -t) : l.left = zi("left", t), (n.horizontal === "middle" || n.vertical === "center") && (l.translate = `${n.horizontal === "middle" ? "-50%" : "0px"} ${n.vertical === "center" ? "-50%" : "0px"}`), l;
|
|
2347
|
-
}
|
|
2348
|
-
let f = Bi(l, {
|
|
2349
|
-
line: t.vertical,
|
|
2350
|
-
self: n.vertical,
|
|
2351
|
-
offset: d,
|
|
2352
|
-
start: "top",
|
|
2353
|
-
end: "bottom",
|
|
2354
|
-
alignProp: "alignSelf"
|
|
2355
|
-
}), p = Bi(l, {
|
|
2356
|
-
line: t.horizontal,
|
|
2357
|
-
self: n.horizontal,
|
|
2358
|
-
offset: u,
|
|
2359
|
-
start: "left",
|
|
2360
|
-
end: "right",
|
|
2361
|
-
alignProp: "justifySelf"
|
|
2362
|
-
});
|
|
2363
|
-
return (f || p) && (l.translate = `${p ? "-50%" : "0px"} ${f ? "-50%" : "0px"}`), l;
|
|
2364
|
-
}
|
|
2365
|
-
function Hi(e, { anchorEl: t, innerRef: n, anchorOrigin: r, selfOrigin: i }) {
|
|
2366
|
-
let a = null, o = V(""), s = V(null), c = V(null), l = V(null), u = V(!1), d = h(() => {
|
|
2367
|
-
if (o.value === "") return "";
|
|
2368
|
-
let t = s.value === null ? l.value : null, n = s.value === null ? null : c.value, a = Vi({
|
|
2369
|
-
anchorName: o.value,
|
|
2370
|
-
anchorOrigin: t === null ? r.value : t.anchorOrigin,
|
|
2371
|
-
selfOrigin: n === null ? t === null ? i.value : t.selfOrigin : n.selfOrigin,
|
|
2372
|
-
offset: e.offset,
|
|
2373
|
-
point: n === null ? s.value ?? void 0 : n.point,
|
|
2374
|
-
fit: e.fit,
|
|
2375
|
-
cover: e.cover,
|
|
2376
|
-
maxHeight: e.maxHeight,
|
|
2377
|
-
maxWidth: e.maxWidth
|
|
2378
|
-
});
|
|
2379
|
-
return t !== null && (t.maxHeight !== null && (a.maxHeight = t.maxHeight), t.maxWidth !== null && (a.maxWidth = t.maxWidth)), u.value || (a.visibility = "hidden"), a;
|
|
2380
|
-
}), f = () => {
|
|
2381
|
-
let a = n.value;
|
|
2382
|
-
if (a !== null && t.value !== null) {
|
|
2383
|
-
if (s.value === null) {
|
|
2384
|
-
let { scrollTop: n, scrollLeft: o } = a;
|
|
2385
|
-
l.value = Ai({
|
|
2386
|
-
el: a,
|
|
2387
|
-
anchorEl: t.value,
|
|
2388
|
-
anchorOrigin: r.value,
|
|
2389
|
-
selfOrigin: i.value,
|
|
2390
|
-
offset: e.offset,
|
|
2391
|
-
cover: e.cover,
|
|
2392
|
-
maxHeight: e.maxHeight,
|
|
2393
|
-
maxWidth: e.maxWidth
|
|
2394
|
-
}), Ni(a, n, o);
|
|
2395
|
-
} else a.style.visibility = "", c.value = Mi({
|
|
2396
|
-
el: a,
|
|
2397
|
-
anchorEl: t.value,
|
|
2398
|
-
point: s.value,
|
|
2399
|
-
selfOrigin: i.value,
|
|
2400
|
-
offset: e.offset
|
|
2401
|
-
});
|
|
2402
|
-
u.value = !0;
|
|
2403
|
-
}
|
|
2404
|
-
}, p = (e) => {
|
|
2405
|
-
e || (a !== null && (Li(a), a = null), o.value = "");
|
|
2406
|
-
};
|
|
2407
|
-
return {
|
|
2408
|
-
positionStyle: d,
|
|
2409
|
-
updatePosition: f,
|
|
2410
|
-
handleTick: f,
|
|
2411
|
-
releaseAnchor: p,
|
|
2412
|
-
setAnchorPoint(e) {
|
|
2413
|
-
s.value = e, c.value = null;
|
|
2414
|
-
},
|
|
2415
|
-
handleShow() {
|
|
2416
|
-
s.value = null, c.value = null, l.value = null, u.value = !1, a !== t.value && (p(!1), a = t.value, o.value = Ii(a));
|
|
2417
|
-
}
|
|
2418
|
-
};
|
|
2419
|
-
}
|
|
2420
|
-
//#endregion
|
|
2421
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/private.scroll-tracking/scroll-tracking.js
|
|
2422
|
-
var Ui = /* @__PURE__ */ new Set();
|
|
2423
|
-
function Wi(e) {
|
|
2424
|
-
Ui.forEach((t) => {
|
|
2425
|
-
t(e);
|
|
2426
|
-
});
|
|
2427
|
-
}
|
|
2428
|
-
function Gi(e) {
|
|
2429
|
-
document[e]("scroll", Wi, Z.passiveCapture), wn.is.ios && (window.visualViewport?.[e]("scroll", Wi, Z.passive), window.visualViewport?.[e]("resize", Wi, Z.passive));
|
|
2430
|
-
}
|
|
2431
|
-
function Ki(e) {
|
|
2432
|
-
Ui.size === 0 && Gi("addEventListener"), Ui.add(e);
|
|
2433
|
-
}
|
|
2434
|
-
function qi(e) {
|
|
2435
|
-
Ui.delete(e) && Ui.size === 0 && Gi("removeEventListener");
|
|
2436
|
-
}
|
|
2437
|
-
//#endregion
|
|
2438
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-position-engine/engine/fallback-engine.js
|
|
2439
|
-
var Ji, Yi;
|
|
2440
|
-
function Xi({ targetEl: e, anchorEl: t, anchorOrigin: n, selfOrigin: r, offset: i, point: a, fit: o, cover: s, maxHeight: c, maxWidth: l, capHeight: u, capWidth: d, centerShift: f = null }) {
|
|
2441
|
-
if (wn.is.ios) {
|
|
2442
|
-
let e = document.body.style, { offsetLeft: t = 0, offsetTop: n = 0 } = window.visualViewport ?? {};
|
|
2443
|
-
t !== Ji && (e.setProperty("--q-pe-left", t + "px"), Ji = t), n !== Yi && (e.setProperty("--q-pe-top", n + "px"), Yi = n);
|
|
2444
|
-
}
|
|
2445
|
-
let p = t.getBoundingClientRect(), m = i !== void 0 && s !== !0, h = m ? i[0] : 0, g = m ? i[1] : 0, _ = {
|
|
2446
|
-
visibility: "visible",
|
|
2447
|
-
maxHeight: u ?? c,
|
|
2448
|
-
maxWidth: d ?? l,
|
|
2449
|
-
minWidth: null,
|
|
2450
|
-
minHeight: null
|
|
2451
|
-
};
|
|
2452
|
-
(o === !0 || s === !0) && (_.minWidth = l ? `min(${p.width}px, ${l})` : p.width + "px", s === !0 && (_.minHeight = c ? `min(${p.height}px, ${c})` : p.height + "px")), Object.assign(e.style, _);
|
|
2453
|
-
let { offsetWidth: v, offsetHeight: y } = e, { clientWidth: b, clientHeight: x } = document.documentElement, S = {
|
|
2454
|
-
top: 0,
|
|
2455
|
-
left: 0
|
|
2456
|
-
}, C, w;
|
|
2457
|
-
if (a !== void 0) C = p.top + a.top + ji(r.vertical, g), w = p.left + a.left + ji(r.horizontal, h);
|
|
2458
|
-
else {
|
|
2459
|
-
let e = {
|
|
2460
|
-
top: p.top - g,
|
|
2461
|
-
bottom: p.bottom + g,
|
|
2462
|
-
center: p.top + (p.bottom - p.top) / 2,
|
|
2463
|
-
left: p.left - h,
|
|
2464
|
-
right: p.right + h,
|
|
2465
|
-
middle: p.left + (p.right - p.left) / 2
|
|
2466
|
-
};
|
|
2467
|
-
C = e[n.vertical], w = e[n.horizontal];
|
|
2468
|
-
}
|
|
2469
|
-
let T = {
|
|
2470
|
-
top: "",
|
|
2471
|
-
bottom: "",
|
|
2472
|
-
left: "",
|
|
2473
|
-
right: ""
|
|
2474
|
-
}, E = "0", D = "0";
|
|
2475
|
-
if (r.vertical === "center") {
|
|
2476
|
-
if (a === void 0 && n.vertical === "center") {
|
|
2477
|
-
let e = C - y / 2;
|
|
2478
|
-
S.top = f === null ? Math.max(0, Math.min(e, x - y)) - e : f.top;
|
|
2479
|
-
}
|
|
2480
|
-
T.top = C + S.top + "px", D = "-50%";
|
|
2481
|
-
} else r.vertical === "bottom" ? T.bottom = x - C + "px" : T.top = C + "px";
|
|
2482
|
-
if (r.horizontal === "middle") {
|
|
2483
|
-
if (a === void 0 && n.horizontal === "middle") {
|
|
2484
|
-
let e = w - v / 2;
|
|
2485
|
-
S.left = f === null ? Math.max(0, Math.min(e, b - v)) - e : f.left;
|
|
2486
|
-
}
|
|
2487
|
-
T.left = w + S.left + "px", E = "-50%";
|
|
2488
|
-
} else r.horizontal === "right" ? T.right = b - w + "px" : T.left = w + "px";
|
|
2489
|
-
return T.translate = E === "0" && D === "0" ? "" : `${E} ${D}`, Object.assign(e.style, T), S;
|
|
2490
|
-
}
|
|
2491
|
-
function Zi(e, t, n) {
|
|
2492
|
-
let r = performance.now() + Number(n), i = e(), a = i === null ? null : i.getBoundingClientRect(), o = requestAnimationFrame(function n() {
|
|
2493
|
-
if (o = null, i = e(), i === null || !i.isConnected) return;
|
|
2494
|
-
let s = i.getBoundingClientRect();
|
|
2495
|
-
a !== null && (s.top !== a.top || s.left !== a.left || s.width !== a.width || s.height !== a.height) && t(), a = s, performance.now() < r && (o = requestAnimationFrame(n));
|
|
2496
|
-
});
|
|
2497
|
-
return () => {
|
|
2498
|
-
o !== null && (cancelAnimationFrame(o), o = null);
|
|
2499
|
-
};
|
|
2500
|
-
}
|
|
2501
|
-
function Qi(e, { anchorEl: t, innerRef: n, showing: r, anchorOrigin: i, selfOrigin: a, trackContent: o }) {
|
|
2502
|
-
let s, c, l = null, u = null, d = null, f = null, p = 0, m = () => {
|
|
2503
|
-
if (n.value === null || t.value === null) return;
|
|
2504
|
-
let r = l === null ? d : null, o = l === null ? null : u;
|
|
2505
|
-
f = Xi({
|
|
2506
|
-
targetEl: n.value,
|
|
2507
|
-
anchorEl: t.value,
|
|
2508
|
-
anchorOrigin: r === null ? i.value : r.anchorOrigin,
|
|
2509
|
-
selfOrigin: o === null ? r === null ? a.value : r.selfOrigin : o.selfOrigin,
|
|
2510
|
-
offset: e.offset,
|
|
2511
|
-
point: o === null ? l ?? void 0 : o.point,
|
|
2512
|
-
fit: e.fit,
|
|
2513
|
-
cover: e.cover,
|
|
2514
|
-
maxHeight: e.maxHeight,
|
|
2515
|
-
maxWidth: e.maxWidth,
|
|
2516
|
-
capHeight: r === null ? null : r.maxHeight,
|
|
2517
|
-
capWidth: r === null ? null : r.maxWidth,
|
|
2518
|
-
centerShift: f
|
|
2519
|
-
});
|
|
2520
|
-
}, h = () => {
|
|
2521
|
-
let r = n.value;
|
|
2522
|
-
if (r === null || t.value === null) return;
|
|
2523
|
-
if (r.offsetWidth === 0 || r.offsetHeight === 0) {
|
|
2524
|
-
p < 5 && (p++, setTimeout(h, 10));
|
|
2525
|
-
return;
|
|
2526
|
-
}
|
|
2527
|
-
p = 0;
|
|
2528
|
-
let { scrollTop: o, scrollLeft: s } = r;
|
|
2529
|
-
l === null ? (d = null, f = null, m(), d = Ai({
|
|
2530
|
-
el: r,
|
|
2531
|
-
anchorEl: t.value,
|
|
2532
|
-
anchorOrigin: i.value,
|
|
2533
|
-
selfOrigin: a.value,
|
|
2534
|
-
offset: e.offset,
|
|
2535
|
-
cover: e.cover,
|
|
2536
|
-
maxHeight: e.maxHeight,
|
|
2537
|
-
maxWidth: e.maxWidth
|
|
2538
|
-
})) : (u = null, f = null, m(), u = Mi({
|
|
2539
|
-
el: r,
|
|
2540
|
-
anchorEl: t.value,
|
|
2541
|
-
point: l,
|
|
2542
|
-
selfOrigin: a.value,
|
|
2543
|
-
offset: e.offset
|
|
2544
|
-
})), f = null, m(), Ni(r, o, s);
|
|
2545
|
-
}, g = (e) => {
|
|
2546
|
-
n.value !== null && (!(e.target instanceof Node) || !n.value.contains(e.target)) && m();
|
|
2547
|
-
}, _ = () => {
|
|
2548
|
-
A(() => {
|
|
2549
|
-
requestAnimationFrame(() => {
|
|
2550
|
-
r.value && t.value !== null && t.value.isConnected && m();
|
|
2551
|
-
});
|
|
2552
|
-
});
|
|
2553
|
-
};
|
|
2554
|
-
return {
|
|
2555
|
-
positionStyle: { value: "" },
|
|
2556
|
-
track: m,
|
|
2557
|
-
updatePosition: h,
|
|
2558
|
-
setAnchorPoint(e) {
|
|
2559
|
-
l = e, u = null;
|
|
2560
|
-
},
|
|
2561
|
-
handleShow() {
|
|
2562
|
-
l = null, u = null, d = null, f = null, p = 0, Rr(_), Ki(g);
|
|
2563
|
-
},
|
|
2564
|
-
handleTick() {
|
|
2565
|
-
o && (s?.disconnect(), s = void 0, n.value !== null && (s = new MutationObserver(m), s.observe(n.value, {
|
|
2566
|
-
attributes: !1,
|
|
2567
|
-
childList: !0,
|
|
2568
|
-
characterData: !0,
|
|
2569
|
-
subtree: !0
|
|
2570
|
-
}))), h(), c = Zi(() => t.value, m, e.transitionDuration);
|
|
2571
|
-
},
|
|
2572
|
-
releaseAnchor(e) {
|
|
2573
|
-
s !== void 0 && (s.disconnect(), s = void 0), c !== void 0 && (c(), c = void 0), zr(_), e || (qi(g), l = null, u = null, d = null, f = null);
|
|
2574
|
-
}
|
|
2575
|
-
};
|
|
2576
|
-
}
|
|
2577
|
-
//#endregion
|
|
2578
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-position-engine/use-position-engine.js
|
|
2579
|
-
function $i({ props: e, $q: t, anchorEl: n, innerRef: r, showing: i, anchorOrigin: a, selfOrigin: o, trackContent: s = !1 }) {
|
|
2580
|
-
let c, l = wi(), u = (l ? Hi : Qi)(e, {
|
|
2581
|
-
anchorEl: n,
|
|
2582
|
-
innerRef: r,
|
|
2583
|
-
showing: i,
|
|
2584
|
-
anchorOrigin: a,
|
|
2585
|
-
selfOrigin: o,
|
|
2586
|
-
trackContent: s
|
|
2587
|
-
});
|
|
2588
|
-
return {
|
|
2589
|
-
viaCssAnchor: l,
|
|
2590
|
-
positionStyle: u.positionStyle,
|
|
2591
|
-
updatePosition: u.updatePosition,
|
|
2592
|
-
handleTick: u.handleTick,
|
|
2593
|
-
track: u.track,
|
|
2594
|
-
handleShow(r) {
|
|
2595
|
-
if (u.handleShow(), r !== void 0 && n.value !== null) {
|
|
2596
|
-
let e = Ge(r);
|
|
2597
|
-
if (e.left !== void 0) {
|
|
2598
|
-
let { top: t, left: r } = n.value.getBoundingClientRect();
|
|
2599
|
-
u.setAnchorPoint({
|
|
2600
|
-
left: e.left - r,
|
|
2601
|
-
top: e.top - t
|
|
2602
|
-
});
|
|
2603
|
-
}
|
|
2604
|
-
}
|
|
2605
|
-
c === void 0 && (c = q(() => `${t.screen.width}|${t.screen.height}|${e.self}|${e.anchor}|${t.lang.rtl}`, () => {
|
|
2606
|
-
i.value && u.updatePosition();
|
|
2607
|
-
}));
|
|
2608
|
-
},
|
|
2609
|
-
releaseAnchor(e) {
|
|
2610
|
-
c !== void 0 && (c(), c = void 0), u.releaseAnchor(e);
|
|
2611
|
-
}
|
|
2612
|
-
};
|
|
2613
|
-
}
|
|
2614
|
-
//#endregion
|
|
2615
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/tooltip/QTooltip.js
|
|
2616
|
-
var ea = 0, ta = 100, na = 4;
|
|
2617
|
-
function ra(e) {
|
|
2618
|
-
return e.pointerType === "touch" || e.pointerType === "pen" && e.buttons !== 0;
|
|
2619
|
-
}
|
|
2620
|
-
var ia = /*#__PURE__*/ Y({
|
|
2621
|
-
name: "QTooltip",
|
|
2622
|
-
inheritAttrs: !1,
|
|
2623
|
-
props: {
|
|
2624
|
-
...ui,
|
|
2625
|
-
...Fn,
|
|
2626
|
-
...Rn,
|
|
2627
|
-
maxHeight: {
|
|
2628
|
-
type: String,
|
|
2629
|
-
default: null
|
|
2630
|
-
},
|
|
2631
|
-
maxWidth: {
|
|
2632
|
-
type: String,
|
|
2633
|
-
default: null
|
|
2634
|
-
},
|
|
2635
|
-
transitionShow: {
|
|
2636
|
-
...Rn.transitionShow,
|
|
2637
|
-
default: "jump-down"
|
|
2638
|
-
},
|
|
2639
|
-
transitionHide: {
|
|
2640
|
-
...Rn.transitionHide,
|
|
2641
|
-
default: "jump-up"
|
|
2642
|
-
},
|
|
2643
|
-
anchor: {
|
|
2644
|
-
type: String,
|
|
2645
|
-
default: "bottom middle",
|
|
2646
|
-
validator: Ti
|
|
2647
|
-
},
|
|
2648
|
-
self: {
|
|
2649
|
-
type: String,
|
|
2650
|
-
default: "top middle",
|
|
2651
|
-
validator: Ti
|
|
2652
|
-
},
|
|
2653
|
-
offset: {
|
|
2654
|
-
type: Array,
|
|
2655
|
-
default: () => [14, 14],
|
|
2656
|
-
validator: Ei
|
|
2657
|
-
},
|
|
2658
|
-
cursorPosition: Boolean,
|
|
2659
|
-
delay: {
|
|
2660
|
-
type: Number,
|
|
2661
|
-
default: 0
|
|
2662
|
-
},
|
|
2663
|
-
hideDelay: {
|
|
2664
|
-
type: Number,
|
|
2665
|
-
default: 0
|
|
2666
|
-
},
|
|
2667
|
-
persistent: Boolean
|
|
2668
|
-
},
|
|
2669
|
-
emits: [...In],
|
|
2670
|
-
setup(e, { slots: t, emit: n, attrs: r }) {
|
|
2671
|
-
let i, a = !1, o = null, s = null, l, u = w(), d = c(), f = U(null), p = V(!1), g = bi();
|
|
2672
|
-
function _() {
|
|
2673
|
-
return r.id || g.value;
|
|
2674
|
-
}
|
|
2675
|
-
let v = h(() => ki(e.anchor, d.lang.rtl)), y = h(() => ki(e.self, d.lang.rtl)), b = h(() => !e.persistent), { registerTimeout: x, registerTransitionEnd: S } = Nn(e), { transitionProps: C, transitionStyle: E } = Bn(e), { anchorEl: D, canShow: O, anchorEvents: k } = hi({
|
|
2676
|
-
showing: p,
|
|
2677
|
-
configureAnchorEl: ie
|
|
2678
|
-
}), { show: A, hide: j } = Ln({
|
|
2679
|
-
showing: p,
|
|
2680
|
-
canShow: O,
|
|
2681
|
-
handleShow: z,
|
|
2682
|
-
handleHide: B,
|
|
2683
|
-
hideOnRouteChange: b,
|
|
2684
|
-
processOnMount: !0
|
|
2685
|
-
});
|
|
2686
|
-
Object.assign(k, {
|
|
2687
|
-
delayShow: H,
|
|
2688
|
-
delayHide: K,
|
|
2689
|
-
onFocusin: J,
|
|
2690
|
-
onPointerdown: ne,
|
|
2691
|
-
onCursorMove: W
|
|
2692
|
-
});
|
|
2693
|
-
let { showPortal: M, hidePortal: N, renderPortal: F } = ar(u, f, le, "tooltip"), { registerTick: I, removeTick: L } = Pn(), R = $i({
|
|
2694
|
-
props: e,
|
|
2695
|
-
$q: d,
|
|
2696
|
-
anchorEl: D,
|
|
2697
|
-
innerRef: f,
|
|
2698
|
-
showing: p,
|
|
2699
|
-
anchorOrigin: v,
|
|
2700
|
-
selfOrigin: y,
|
|
2701
|
-
trackContent: !0
|
|
2702
|
-
});
|
|
2703
|
-
q(() => (e.modelValue === null || e["onUpdate:modelValue"]) && p.value === !0 && e.persistent !== !0, (e) => {
|
|
2704
|
-
(e === !0 ? Ar : jr)(re);
|
|
2705
|
-
});
|
|
2706
|
-
function z(t) {
|
|
2707
|
-
Xe(k, "cursorTemp"), M(), oe(), R.handleShow(e.cursorPosition ? t : void 0), I(R.handleTick), S(() => {
|
|
2708
|
-
M(!0), n("show", t);
|
|
2709
|
-
});
|
|
2710
|
-
}
|
|
2711
|
-
function B(e) {
|
|
2712
|
-
L(), N(), ee(!0), S(() => {
|
|
2713
|
-
N(!0), R.releaseAnchor(!1), n("hide", e);
|
|
2714
|
-
});
|
|
2715
|
-
}
|
|
2716
|
-
function ee(e) {
|
|
2717
|
-
R.releaseAnchor(e), jr(re), o = null, Xe(k, "tooltipTemp"), Xe(k, "cursorTemp"), se(), ae(!1);
|
|
2718
|
-
}
|
|
2719
|
-
function H(t) {
|
|
2720
|
-
if (t.pointerType === "touch" && t.isPrimary === !1) return;
|
|
2721
|
-
let n = ra(t);
|
|
2722
|
-
if (n && G(t), e.cursorPosition && !n) {
|
|
2723
|
-
let e = Ge(t);
|
|
2724
|
-
if (e.left !== void 0) {
|
|
2725
|
-
s = e, Ye(k, "cursorTemp", [[
|
|
2726
|
-
D.value,
|
|
2727
|
-
"pointermove",
|
|
2728
|
-
"onCursorMove",
|
|
2729
|
-
"passive"
|
|
2730
|
-
]]), te(t);
|
|
2731
|
-
return;
|
|
2732
|
-
}
|
|
2733
|
-
}
|
|
2734
|
-
x(() => {
|
|
2735
|
-
A(t);
|
|
2736
|
-
}, e.delay);
|
|
2737
|
-
}
|
|
2738
|
-
function te(t) {
|
|
2739
|
-
x(() => {
|
|
2740
|
-
A(t);
|
|
2741
|
-
}, Math.max(e.delay, ta));
|
|
2742
|
-
}
|
|
2743
|
-
function W(e) {
|
|
2744
|
-
let t = Ge(e);
|
|
2745
|
-
Math.abs(t.left - s.left) <= na && Math.abs(t.top - s.top) <= na || (s = t, te(e));
|
|
2746
|
-
}
|
|
2747
|
-
function G(e) {
|
|
2748
|
-
o = e.pointerType, i !== void 0 && (clearTimeout(i), i = void 0), li(), ae(!0);
|
|
2749
|
-
let t = D.value, n = [
|
|
2750
|
-
"touchmove",
|
|
2751
|
-
"touchcancel",
|
|
2752
|
-
"touchend",
|
|
2753
|
-
"click"
|
|
2754
|
-
].map((e) => [
|
|
2755
|
-
t,
|
|
2756
|
-
e,
|
|
2757
|
-
"delayHide",
|
|
2758
|
-
"passiveCapture"
|
|
2759
|
-
]);
|
|
2760
|
-
Ye(k, "tooltipTemp", n);
|
|
2761
|
-
}
|
|
2762
|
-
function ne(e) {
|
|
2763
|
-
e.pointerType === "pen" && o === null && G(e);
|
|
2764
|
-
}
|
|
2765
|
-
function K(t) {
|
|
2766
|
-
if ((t.pointerType !== "touch" || t.isPrimary !== !1) && !(t.type === "focusout" && D.value !== null && D.value.contains(t.relatedTarget))) {
|
|
2767
|
-
if (Xe(k, "cursorTemp"), o !== null) {
|
|
2768
|
-
let e = o === "pen" && (t.type === "click" || t.type === "touchend");
|
|
2769
|
-
if (o = null, Xe(k, "tooltipTemp"), li(), i = setTimeout(() => {
|
|
2770
|
-
i = void 0, ae(!1);
|
|
2771
|
-
}, 10), e) return;
|
|
2772
|
-
}
|
|
2773
|
-
x(() => {
|
|
2774
|
-
j(t);
|
|
2775
|
-
}, e.hideDelay);
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
|
-
function J(e) {
|
|
2779
|
-
let t = e.target;
|
|
2780
|
-
t && t.matches(":focus-visible") && H(e);
|
|
2781
|
-
}
|
|
2782
|
-
function re(e) {
|
|
2783
|
-
j(e);
|
|
2784
|
-
}
|
|
2785
|
-
function ie() {
|
|
2786
|
-
if (e.noParentEvent || D.value === null) return;
|
|
2787
|
-
let t = [
|
|
2788
|
-
[
|
|
2789
|
-
D.value,
|
|
2790
|
-
"pointerenter",
|
|
2791
|
-
"delayShow",
|
|
2792
|
-
"passive"
|
|
2793
|
-
],
|
|
2794
|
-
[
|
|
2795
|
-
D.value,
|
|
2796
|
-
"pointerdown",
|
|
2797
|
-
"onPointerdown",
|
|
2798
|
-
"passive"
|
|
2799
|
-
],
|
|
2800
|
-
[
|
|
2801
|
-
D.value,
|
|
2802
|
-
"pointerleave",
|
|
2803
|
-
"delayHide",
|
|
2804
|
-
"passive"
|
|
2805
|
-
],
|
|
2806
|
-
[
|
|
2807
|
-
D.value,
|
|
2808
|
-
"focusin",
|
|
2809
|
-
"onFocusin",
|
|
2810
|
-
"passive"
|
|
2811
|
-
],
|
|
2812
|
-
[
|
|
2813
|
-
D.value,
|
|
2814
|
-
"focusout",
|
|
2815
|
-
"delayHide",
|
|
2816
|
-
"passive"
|
|
2817
|
-
]
|
|
2818
|
-
];
|
|
2819
|
-
Ye(k, "anchor", t);
|
|
2820
|
-
}
|
|
2821
|
-
function ae(e) {
|
|
2822
|
-
a !== e && (a = e, ea += e ? 1 : -1, document.body.classList.toggle("non-selectable", ea > 0), !e && i !== void 0 && (clearTimeout(i), i = void 0));
|
|
2823
|
-
}
|
|
2824
|
-
function oe() {
|
|
2825
|
-
let e = D.value, t = _();
|
|
2826
|
-
if (e === null || t === void 0) return;
|
|
2827
|
-
let n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter(Boolean);
|
|
2828
|
-
l = {
|
|
2829
|
-
el: e,
|
|
2830
|
-
id: t,
|
|
2831
|
-
added: !n.includes(t)
|
|
2832
|
-
}, l.added && (n.push(t), e.setAttribute("aria-describedby", n.join(" ")));
|
|
2833
|
-
}
|
|
2834
|
-
function se() {
|
|
2835
|
-
if (l?.added === !0) {
|
|
2836
|
-
let { el: e, id: t } = l, n = (e.getAttribute("aria-describedby") || "").split(/\s+/).filter((e) => e !== "" && e !== t);
|
|
2837
|
-
n.length === 0 ? e.removeAttribute("aria-describedby") : e.setAttribute("aria-describedby", n.join(" "));
|
|
2838
|
-
}
|
|
2839
|
-
l = void 0;
|
|
2840
|
-
}
|
|
2841
|
-
function ce() {
|
|
2842
|
-
return p.value ? T("div", {
|
|
2843
|
-
...r,
|
|
2844
|
-
id: _(),
|
|
2845
|
-
ref: f,
|
|
2846
|
-
class: ["q-tooltip q-tooltip--style no-pointer-events" + (R.viaCssAnchor ? "" : " q-position-engine"), r.class],
|
|
2847
|
-
style: [
|
|
2848
|
-
r.style,
|
|
2849
|
-
E(),
|
|
2850
|
-
R.positionStyle.value
|
|
2851
|
-
],
|
|
2852
|
-
role: "tooltip"
|
|
2853
|
-
}, X(t.default)) : null;
|
|
2854
|
-
}
|
|
2855
|
-
function le() {
|
|
2856
|
-
return T(m, C(), ce);
|
|
2857
|
-
}
|
|
2858
|
-
return P(() => {
|
|
2859
|
-
ee(!1);
|
|
2860
|
-
}), Object.assign(u.proxy, { updatePosition: R.updatePosition }), F;
|
|
2861
|
-
}
|
|
2862
|
-
});
|
|
2863
|
-
//#endregion
|
|
2864
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/use-split-attrs/use-split-attrs.js
|
|
2865
|
-
function aa(e) {
|
|
2866
|
-
if (e.codePointAt(0) !== 111 || e.codePointAt(1) !== 110) return !1;
|
|
2867
|
-
let t = e.codePointAt(2);
|
|
2868
|
-
return t >= 65 && t <= 90;
|
|
2869
|
-
}
|
|
2870
|
-
function oa(e, t) {
|
|
2871
|
-
let n = Object.keys(e);
|
|
2872
|
-
if (n.length !== Object.keys(t).length) return !0;
|
|
2873
|
-
for (let r of n) if (e[r] !== t[r] || !(r in t)) return !0;
|
|
2874
|
-
return !1;
|
|
2875
|
-
}
|
|
2876
|
-
function sa() {
|
|
2877
|
-
let e = w(), { attrs: t } = e, n = {
|
|
2878
|
-
listeners: V({}),
|
|
2879
|
-
attributes: V({})
|
|
2880
|
-
};
|
|
2881
|
-
function r() {
|
|
2882
|
-
let r = {}, i = {};
|
|
2883
|
-
for (let e in t) e !== "class" && e !== "style" && !aa(e) && (r[e] = t[e]);
|
|
2884
|
-
for (let t in e.vnode.props) aa(t) && (i[t] = e.vnode.props[t]);
|
|
2885
|
-
oa(r, n.attributes.value) && (n.attributes.value = r), oa(i, n.listeners.value) && (n.listeners.value = i);
|
|
2886
|
-
}
|
|
2887
|
-
return F(r), r(), n;
|
|
2888
|
-
}
|
|
2889
|
-
//#endregion
|
|
2890
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/use-form/use-form-child.js
|
|
2891
|
-
function ca({ validate: e, resetValidation: t, requiresQForm: n }) {
|
|
2892
|
-
let r = E(l, !1);
|
|
2893
|
-
if (r !== !1) {
|
|
2894
|
-
let { props: n, proxy: i } = w();
|
|
2895
|
-
Object.assign(i, {
|
|
2896
|
-
validate: e,
|
|
2897
|
-
resetValidation: t
|
|
2898
|
-
}), q(() => n.disable, (e) => {
|
|
2899
|
-
e ? (typeof t == "function" && t(), r.unbindComponent(i)) : r.bindComponent(i);
|
|
2900
|
-
}), L(() => {
|
|
2901
|
-
n.disable || r.bindComponent(i);
|
|
2902
|
-
}), P(() => {
|
|
2903
|
-
n.disable || r.unbindComponent(i);
|
|
2904
|
-
});
|
|
2905
|
-
} else n && console.error("Parent QForm not found on useFormChild()!");
|
|
2906
|
-
}
|
|
2907
|
-
//#endregion
|
|
2908
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/patterns/patterns.js
|
|
2909
|
-
var la = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, ua = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, da = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, fa = /^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])\)$/, pa = /^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+)?)\)$/, ma = /^-?[\d]+\/(0[1-9]|1[0-2])\/(0[1-9]|[12]\d|3[01])$/, ha = /^([0-1]?\d|2[0-3]):[0-5]\d$/, ga = /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/, _a = /^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/, va = /^(([^<>()[\]\\.,;:\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,}))$/, ya = {
|
|
2910
|
-
date: (e) => ma.test(e),
|
|
2911
|
-
time: (e) => ha.test(e),
|
|
2912
|
-
fulltime: (e) => ga.test(e),
|
|
2913
|
-
timeOrFulltime: (e) => _a.test(e),
|
|
2914
|
-
email: (e) => va.test(e),
|
|
2915
|
-
hexColor: (e) => la.test(e),
|
|
2916
|
-
hexaColor: (e) => ua.test(e),
|
|
2917
|
-
hexOrHexaColor: (e) => da.test(e),
|
|
2918
|
-
rgbColor: (e) => fa.test(e),
|
|
2919
|
-
rgbaColor: (e) => pa.test(e),
|
|
2920
|
-
rgbOrRgbaColor: (e) => fa.test(e) || pa.test(e),
|
|
2921
|
-
hexOrRgbColor: (e) => la.test(e) || fa.test(e),
|
|
2922
|
-
hexaOrRgbaColor: (e) => ua.test(e) || pa.test(e),
|
|
2923
|
-
anyColor: (e) => da.test(e) || fa.test(e) || pa.test(e)
|
|
2924
|
-
};
|
|
2925
|
-
//#endregion
|
|
2926
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/utils/debounce/debounce.js
|
|
2927
|
-
function ba(e, t = 250, n) {
|
|
2928
|
-
let r = null;
|
|
2929
|
-
function i(...i) {
|
|
2930
|
-
let a = n && r === null;
|
|
2931
|
-
r !== null && clearTimeout(r), r = setTimeout(() => {
|
|
2932
|
-
r = null, n || e.apply(this, i);
|
|
2933
|
-
}, t), a && e.apply(this, i);
|
|
2934
|
-
}
|
|
2935
|
-
return i.cancel = () => {
|
|
2936
|
-
r !== null && (clearTimeout(r), r = null);
|
|
2937
|
-
}, i;
|
|
2938
|
-
}
|
|
2939
|
-
//#endregion
|
|
2940
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-validate/use-validate.js
|
|
2941
|
-
var xa = [
|
|
2942
|
-
!0,
|
|
2943
|
-
!1,
|
|
2944
|
-
"ondemand"
|
|
2945
|
-
], Sa = {
|
|
2946
|
-
modelValue: {},
|
|
2947
|
-
error: {
|
|
2948
|
-
type: Boolean,
|
|
2949
|
-
default: null
|
|
2950
|
-
},
|
|
2951
|
-
errorMessage: String,
|
|
2952
|
-
noErrorIcon: Boolean,
|
|
2953
|
-
rules: Array,
|
|
2954
|
-
reactiveRules: Boolean,
|
|
2955
|
-
lazyRules: {
|
|
2956
|
-
type: [Boolean, String],
|
|
2957
|
-
default: !1,
|
|
2958
|
-
validator: (e) => xa.includes(e)
|
|
2959
|
-
}
|
|
2960
|
-
};
|
|
2961
|
-
function Ca(e, t) {
|
|
2962
|
-
let { props: n, proxy: r } = w(), i = V(!1), a = V(null), o = V(!1);
|
|
2963
|
-
ca({
|
|
2964
|
-
validate: v,
|
|
2965
|
-
resetValidation: _
|
|
2966
|
-
});
|
|
2967
|
-
let s = 0, c, l = !1, u = !1, d = h(() => n.rules !== void 0 && n.rules !== null && n.rules.length !== 0), f = h(() => !n.disable && d.value && !t.value), p = h(() => n.error === !0 || i.value), m = h(() => typeof n.errorMessage == "string" && n.errorMessage.length !== 0 ? n.errorMessage : a.value);
|
|
2968
|
-
q(() => n.modelValue, () => {
|
|
2969
|
-
o.value = !0, f.value && (n.lazyRules === !1 || n.lazyRules === !0 && i.value) && y();
|
|
2970
|
-
});
|
|
2971
|
-
function g() {
|
|
2972
|
-
n.lazyRules !== "ondemand" && f.value && o.value && y();
|
|
2973
|
-
}
|
|
2974
|
-
q(() => n.reactiveRules, (e) => {
|
|
2975
|
-
e ? c === void 0 && (c = q(() => n.rules, g, {
|
|
2976
|
-
immediate: !0,
|
|
2977
|
-
deep: !0
|
|
2978
|
-
})) : c !== void 0 && (c(), c = void 0);
|
|
2979
|
-
}, { immediate: !0 }), q(() => n.lazyRules, g), q(e, (e) => {
|
|
2980
|
-
e ? o.value = !0 : n.lazyRules !== "ondemand" && (f.value ? y() : !n.disable && d.value && t.value && (u = !0));
|
|
2981
|
-
});
|
|
2982
|
-
function _() {
|
|
2983
|
-
s++, t.value = !1, o.value = !1, i.value = !1, a.value = null, u = !1, y.cancel();
|
|
2984
|
-
}
|
|
2985
|
-
function v(e = n.modelValue) {
|
|
2986
|
-
if (n.disable || !d.value) return !0;
|
|
2987
|
-
let r = ++s, c = n.modelValue;
|
|
2988
|
-
u = !1;
|
|
2989
|
-
let p = () => {
|
|
2990
|
-
let e = u;
|
|
2991
|
-
u = !1, !l && n.modelValue !== c && f.value && n.lazyRules !== "ondemand" && (n.lazyRules === !1 || i.value || e) && y();
|
|
2992
|
-
}, m = t.value ? () => {} : () => {
|
|
2993
|
-
o.value = !0;
|
|
2994
|
-
}, h = (e, n) => {
|
|
2995
|
-
e && m(), i.value = e, a.value = n || null, t.value = !1;
|
|
2996
|
-
}, g = [];
|
|
2997
|
-
for (let t = 0; t < n.rules.length; t++) {
|
|
2998
|
-
let r = n.rules[t], i;
|
|
2999
|
-
if (typeof r == "function" ? i = r(e, ya) : typeof r == "string" && (ya[r] === void 0 ? (console.error(`Unknown validation pattern rule: "${r}"`), i = !1) : i = ya[r](e)), i === !1 || typeof i == "string") return h(!0, i), !1;
|
|
3000
|
-
i !== !0 && i !== void 0 && g.push(i);
|
|
3001
|
-
}
|
|
3002
|
-
return g.length === 0 ? (h(!1), !0) : (t.value = !0, Promise.all(g).then((e) => {
|
|
3003
|
-
if (e === void 0 || !Array.isArray(e) || e.length === 0) return r === s && (h(!1), p()), !0;
|
|
3004
|
-
let t = e.find((e) => e === !1 || typeof e == "string");
|
|
3005
|
-
return r === s && (h(t !== void 0, t), p()), t === void 0;
|
|
3006
|
-
}, (e) => (r === s && (console.error(e), h(!0), p()), !1)));
|
|
3007
|
-
}
|
|
3008
|
-
let y = ba(v, 0);
|
|
3009
|
-
return P(() => {
|
|
3010
|
-
l = !0, c?.(), y.cancel();
|
|
3011
|
-
}), Object.assign(r, {
|
|
3012
|
-
resetValidation: _,
|
|
3013
|
-
validate: v
|
|
3014
|
-
}), he(r, "hasError", () => p.value), {
|
|
3015
|
-
isDirtyModel: o,
|
|
3016
|
-
hasRules: d,
|
|
3017
|
-
hasError: p,
|
|
3018
|
-
errorMessage: m,
|
|
3019
|
-
validate: v,
|
|
3020
|
-
resetValidation: _
|
|
3021
|
-
};
|
|
3022
|
-
}
|
|
3023
|
-
//#endregion
|
|
3024
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-field/use-field.js
|
|
3025
|
-
function wa(e) {
|
|
3026
|
-
return e != null && String(e).length !== 0;
|
|
3027
|
-
}
|
|
3028
|
-
var Ta = {
|
|
3029
|
-
...Kt,
|
|
3030
|
-
...Sa,
|
|
3031
|
-
label: String,
|
|
3032
|
-
stackLabel: Boolean,
|
|
3033
|
-
hint: String,
|
|
3034
|
-
hideHint: Boolean,
|
|
3035
|
-
prefix: String,
|
|
3036
|
-
suffix: String,
|
|
3037
|
-
labelColor: String,
|
|
3038
|
-
color: String,
|
|
3039
|
-
bgColor: String,
|
|
3040
|
-
filled: Boolean,
|
|
3041
|
-
outlined: Boolean,
|
|
3042
|
-
borderless: Boolean,
|
|
3043
|
-
standout: [Boolean, String],
|
|
3044
|
-
square: Boolean,
|
|
3045
|
-
loading: Boolean,
|
|
3046
|
-
labelSlot: Boolean,
|
|
3047
|
-
bottomSlots: Boolean,
|
|
3048
|
-
hideBottomSpace: Boolean,
|
|
3049
|
-
rounded: Boolean,
|
|
3050
|
-
dense: Boolean,
|
|
3051
|
-
itemAligned: Boolean,
|
|
3052
|
-
counter: Boolean,
|
|
3053
|
-
clearable: Boolean,
|
|
3054
|
-
clearIcon: String,
|
|
3055
|
-
disable: Boolean,
|
|
3056
|
-
readonly: Boolean,
|
|
3057
|
-
autofocus: Boolean,
|
|
3058
|
-
for: String,
|
|
3059
|
-
maxlength: [Number, String]
|
|
3060
|
-
}, Ea = [
|
|
3061
|
-
"update:modelValue",
|
|
3062
|
-
"clear",
|
|
3063
|
-
"focus",
|
|
3064
|
-
"blur"
|
|
3065
|
-
];
|
|
3066
|
-
function Da({ requiredForAttr: e = !0, tagProp: t, changeEvent: n = !1 } = {}) {
|
|
3067
|
-
let { props: r } = w(), i = qt(r, c()), a = bi({
|
|
3068
|
-
required: e,
|
|
3069
|
-
getValue: () => r.for
|
|
3070
|
-
});
|
|
3071
|
-
return {
|
|
3072
|
-
requiredForAttr: e,
|
|
3073
|
-
changeEvent: n,
|
|
3074
|
-
tag: t ? { get value() {
|
|
3075
|
-
return r.tag;
|
|
3076
|
-
} } : { value: "label" },
|
|
3077
|
-
isDark: i,
|
|
3078
|
-
editable: h(() => !r.disable && !r.readonly),
|
|
3079
|
-
innerLoading: V(!1),
|
|
3080
|
-
focused: V(!1),
|
|
3081
|
-
hasPopupOpen: !1,
|
|
3082
|
-
splitAttrs: sa(),
|
|
3083
|
-
targetUid: a,
|
|
3084
|
-
rootRef: U(null),
|
|
3085
|
-
targetRef: U(null),
|
|
3086
|
-
controlRef: U(null)
|
|
3087
|
-
};
|
|
3088
|
-
}
|
|
3089
|
-
var Oa = {
|
|
3090
|
-
class: "q-field__prepend q-field__marginal row no-wrap items-center",
|
|
3091
|
-
key: "prepend",
|
|
3092
|
-
onClick: qe
|
|
3093
|
-
}, ka = {
|
|
3094
|
-
class: "q-field__append q-field__marginal row no-wrap items-center",
|
|
3095
|
-
key: "append",
|
|
3096
|
-
onClick: qe
|
|
3097
|
-
}, Aa = "input:not([disabled]):not([type=\"hidden\"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), a[href], [tabindex]:not([disabled]), [contenteditable]:not([contenteditable=\"false\"])", ja = { class: "q-field__control-container col relative-position row no-wrap q-anchor--skip" }, Ma = { class: "q-field__prefix no-pointer-events row items-center" }, Na = { class: "q-field__suffix no-pointer-events row items-center" }, Pa = { class: "q-field__inner relative-position col self-stretch" }, Fa = {
|
|
3098
|
-
class: "q-field__before q-field__marginal row no-wrap items-center",
|
|
3099
|
-
onClick: qe
|
|
3100
|
-
}, Ia = {
|
|
3101
|
-
class: "q-field__after q-field__marginal row no-wrap items-center",
|
|
3102
|
-
onClick: qe
|
|
3103
|
-
}, La = {};
|
|
3104
|
-
function Ra(e, t) {
|
|
3105
|
-
return t === null ? null : T("div", {
|
|
3106
|
-
key: e,
|
|
3107
|
-
class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
|
|
3108
|
-
}, t);
|
|
3109
|
-
}
|
|
3110
|
-
function za(e) {
|
|
3111
|
-
let { props: t, emit: n, slots: r, attrs: i, proxy: a } = w(), o = c(), s = null;
|
|
3112
|
-
e.hasValue === void 0 && (e.hasValue = h(() => wa(t.modelValue))), e.emitValue === void 0 && (e.emitValue = (e) => {
|
|
3113
|
-
n("update:modelValue", e);
|
|
3114
|
-
}), e.controlEvents === void 0 && (e.controlEvents = {
|
|
3115
|
-
onFocusin: M,
|
|
3116
|
-
onFocusout: F,
|
|
3117
|
-
onPopupShow: R,
|
|
3118
|
-
onPopupHide: z
|
|
3119
|
-
}), Object.assign(e, {
|
|
3120
|
-
clearValue: B,
|
|
3121
|
-
onControlFocusin: M,
|
|
3122
|
-
onControlFocusout: F,
|
|
3123
|
-
focus: O
|
|
3124
|
-
}), e.computedCounter === void 0 && (e.computedCounter = h(() => {
|
|
3125
|
-
if (t.counter) {
|
|
3126
|
-
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;
|
|
3127
|
-
return e + (n === void 0 ? "" : " / " + n);
|
|
3128
|
-
}
|
|
3129
|
-
}));
|
|
3130
|
-
let { isDirtyModel: l, hasRules: u, hasError: d, errorMessage: f, resetValidation: p } = Ca(e.focused, e.innerLoading), m = h(() => d.value && e.targetUid.value ? `${e.targetUid.value}_error` : void 0);
|
|
3131
|
-
function g(e) {
|
|
3132
|
-
if (d.value !== !0) return La;
|
|
3133
|
-
let n = { "aria-invalid": "true" };
|
|
3134
|
-
return m.value !== void 0 && (!t.hideBottomSpace || t.counter || r.counter !== void 0 || f.value !== null || r.error !== void 0) && (n["aria-errormessage"] = e?.["aria-errormessage"] === void 0 ? m.value : e["aria-errormessage"], n["aria-describedby"] = e?.["aria-describedby"] === void 0 ? m.value : `${e["aria-describedby"]} ${m.value}`), n;
|
|
3135
|
-
}
|
|
3136
|
-
Object.assign(e, {
|
|
3137
|
-
hasError: d,
|
|
3138
|
-
errorMessage: f,
|
|
3139
|
-
errorMessageId: m,
|
|
3140
|
-
getErrorAriaAttrs: g
|
|
3141
|
-
});
|
|
3142
|
-
let _ = e.floatingLabel === void 0 ? h(() => t.stackLabel || e.focused.value || e.hasValue.value) : h(() => t.stackLabel || e.focused.value || e.floatingLabel.value), v = h(() => t.bottomSlots || t.hint !== void 0 || u.value || t.counter || t.error !== null), y = h(() => "q-field row no-wrap items-start q-field--" + (t.filled ? "filled" : t.outlined ? "outlined" : t.borderless ? "borderless" : t.standout ? "standout" : "standard") + (e.fieldClass === void 0 ? "" : ` ${e.fieldClass.value}`) + (t.rounded ? " q-field--rounded" : "") + (t.square ? " q-field--square" : "") + (_.value ? " q-field--float" : "") + (x.value ? " q-field--labeled" : "") + (t.dense ? " q-field--dense" : "") + (t.itemAligned ? " q-field--item-aligned q-item-type" : "") + (e.isDark() ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value ? " q-field--focused" : "") + (d.value ? " q-field--error" : "") + (d.value || e.focused.value ? " q-field--highlighted" : "") + (!t.hideBottomSpace && v.value ? " q-field--with-bottom" : "") + (t.disable ? " q-field--disabled" : t.readonly ? " q-field--readonly" : "")), b = h(() => "q-field__control relative-position row no-wrap" + (t.bgColor === void 0 ? "" : ` bg-${t.bgColor}`) + (d.value ? " text-negative" : typeof t.standout == "string" && t.standout.length !== 0 && e.focused.value ? ` ${t.standout}` : t.color === void 0 ? "" : ` text-${t.color}`)), x = h(() => t.labelSlot || t.label !== void 0), S = h(() => "q-field__label no-pointer-events absolute ellipsis" + (t.labelColor !== void 0 && !d.value ? ` text-${t.labelColor}` : "")), C = h(() => he({
|
|
3143
|
-
id: e.targetUid.value,
|
|
3144
|
-
editable: e.editable.value,
|
|
3145
|
-
focused: e.focused.value,
|
|
3146
|
-
floatingLabel: _.value,
|
|
3147
|
-
modelValue: t.modelValue,
|
|
3148
|
-
emitValue: e.emitValue,
|
|
3149
|
-
ariaInvalid: d.value === !0 ? "true" : void 0,
|
|
3150
|
-
ariaDescribedby: m.value,
|
|
3151
|
-
ariaErrormessage: m.value
|
|
3152
|
-
}, "field", () => e.rootRef.value)), E = h(() => {
|
|
3153
|
-
let n = {};
|
|
3154
|
-
return e.targetUid.value && (n.for = e.targetUid.value), t.disable && (n["aria-disabled"] = "true"), n;
|
|
3155
|
-
});
|
|
3156
|
-
function D() {
|
|
3157
|
-
let t = document.activeElement, n = e.targetRef?.value;
|
|
3158
|
-
n && (t === null || t.id !== e.targetUid.value) && (n.hasAttribute("tabindex") || (n = n.querySelector("[tabindex]")), n !== t && n?.focus({ preventScroll: !0 }));
|
|
3159
|
-
}
|
|
3160
|
-
function O() {
|
|
3161
|
-
qn(D);
|
|
3162
|
-
}
|
|
3163
|
-
function k(t) {
|
|
3164
|
-
let n = t.target, r = e.targetUid.value === null ? null : document.getElementById(e.targetUid.value);
|
|
3165
|
-
if (!(r !== null && n.contains(r) && (r.focus({ preventScroll: !0 }), document.activeElement === r))) {
|
|
3166
|
-
for (let e of n.querySelectorAll(Aa)) if (e.focus({ preventScroll: !0 }), document.activeElement === e) return;
|
|
3167
|
-
}
|
|
3168
|
-
}
|
|
3169
|
-
function j() {
|
|
3170
|
-
Jn(D);
|
|
3171
|
-
let t = document.activeElement;
|
|
3172
|
-
t !== null && e.rootRef.value.contains(t) && t.blur();
|
|
3173
|
-
}
|
|
3174
|
-
function M(r) {
|
|
3175
|
-
s !== null && (clearTimeout(s), s = null), !t.disable && !e.focused.value && (e.focused.value = !0, n("focus", r));
|
|
3176
|
-
}
|
|
3177
|
-
function F(t, r) {
|
|
3178
|
-
s !== null && clearTimeout(s), s = setTimeout(() => {
|
|
3179
|
-
s = 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, n("blur", t)), r?.());
|
|
3180
|
-
}, 0);
|
|
3181
|
-
}
|
|
3182
|
-
function R(t) {
|
|
3183
|
-
e.hasPopupOpen = !0, M(t);
|
|
3184
|
-
}
|
|
3185
|
-
function z(t) {
|
|
3186
|
-
e.hasPopupOpen = !1, F(t);
|
|
3187
|
-
}
|
|
3188
|
-
function B(r) {
|
|
3189
|
-
Je(r), o.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?.(), n("update:modelValue", null), e.changeEvent && n("change", null), n("clear", t.modelValue), A(() => {
|
|
3190
|
-
let e = l.value;
|
|
3191
|
-
p(), l.value = e;
|
|
3192
|
-
});
|
|
3193
|
-
}
|
|
3194
|
-
function ee(e) {
|
|
3195
|
-
[13, 32].includes(e.keyCode) && B(e);
|
|
3196
|
-
}
|
|
3197
|
-
function V() {
|
|
3198
|
-
let n = [];
|
|
3199
|
-
r.prepend !== void 0 && n.push(T("div", Oa, r.prepend())), n.push(T("div", ja, H())), d.value && !t.noErrorIcon && n.push(Ra("error", [T(Fe, {
|
|
3200
|
-
name: o.iconSet.field.error,
|
|
3201
|
-
color: "negative"
|
|
3202
|
-
})]));
|
|
3203
|
-
let i = t.loading || e.innerLoading.value ? r.loading === void 0 ? e.shouldHideLoadingIndicator?.() ? null : [T(Ve, { color: t.color })] : r.loading() : null;
|
|
3204
|
-
return i === null ? t.clearable && e.hasValue.value && e.editable.value && n.push(Ra("inner-clearable-append", [T(Fe, {
|
|
3205
|
-
class: "q-field__focusable-action",
|
|
3206
|
-
name: t.clearIcon || o.iconSet.field.clear,
|
|
3207
|
-
tabindex: 0,
|
|
3208
|
-
role: "button",
|
|
3209
|
-
"aria-hidden": "false",
|
|
3210
|
-
"aria-label": o.lang.label.clear,
|
|
3211
|
-
onKeyup: ee,
|
|
3212
|
-
onClick: B
|
|
3213
|
-
})])) : n.push(Ra("inner-loading-append", i)), r.append !== void 0 && n.push(T("div", ka, r.append())), e.getInnerAppend !== void 0 && n.push(Ra("inner-append", e.getInnerAppend())), e.getControlChild !== void 0 && n.push(e.getControlChild()), n;
|
|
3214
|
-
}
|
|
3215
|
-
function H() {
|
|
3216
|
-
let n = [];
|
|
3217
|
-
return t.prefix !== void 0 && t.prefix !== null && n.push(T("div", Ma, t.prefix)), e.getShadowControl !== void 0 && e.hasShadow.value && n.push(e.getShadowControl()), x.value && n.push(T("div", { class: S.value }, X(r.label, t.label))), e.getControl === void 0 ? r.rawControl === void 0 ? r.control !== void 0 && n.push(T("div", {
|
|
3218
|
-
ref: e.targetRef,
|
|
3219
|
-
class: "q-field__native row",
|
|
3220
|
-
tabindex: -1,
|
|
3221
|
-
...e.splitAttrs.attributes.value,
|
|
3222
|
-
"data-autofocus": t.autofocus || void 0,
|
|
3223
|
-
onFocus: k
|
|
3224
|
-
}, r.control(C.value))) : n.push(r.rawControl()) : n.push(e.getControl()), t.suffix !== void 0 && t.suffix !== null && n.push(T("div", Na, t.suffix)), n.concat(X(r.default));
|
|
3225
|
-
}
|
|
3226
|
-
let U = null, te = !1;
|
|
3227
|
-
function W() {
|
|
3228
|
-
let n, i;
|
|
3229
|
-
d.value ? f.value === null ? (n = X(r.error), i = "q--slot-error") : (n = [T("div", { role: "alert" }, f.value)], i = `q--slot-error-${f.value}`) : (!t.hideHint || e.focused.value) && (t.hint === void 0 ? (n = X(r.hint), i = "q--slot-hint") : (n = [T("div", t.hint)], i = `q--slot-hint-${t.hint}`));
|
|
3230
|
-
let a = t.counter || r.counter !== void 0;
|
|
3231
|
-
if (!t.hideBottomSpace || a || n !== void 0) return i !== U && (te = U !== null, U = i), T("div", {
|
|
3232
|
-
class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace ? "stale" : "animated"),
|
|
3233
|
-
onClick: qe
|
|
3234
|
-
}, [T("div", {
|
|
3235
|
-
key: i,
|
|
3236
|
-
id: d.value === !0 ? m.value : void 0,
|
|
3237
|
-
class: "q-field__messages col" + (te && !t.hideBottomSpace ? " q-field__messages--animated" : "")
|
|
3238
|
-
}, n), a ? T("div", { class: "q-field__counter" }, r.counter === void 0 ? e.computedCounter.value : r.counter()) : null]);
|
|
3239
|
-
}
|
|
3240
|
-
let G = !1;
|
|
3241
|
-
return I(() => {
|
|
3242
|
-
G = !0;
|
|
3243
|
-
}), N(() => {
|
|
3244
|
-
G && t.autofocus && a.focus();
|
|
3245
|
-
}), t.autofocus && L(() => {
|
|
3246
|
-
a.focus();
|
|
3247
|
-
}), P(() => {
|
|
3248
|
-
s !== null && clearTimeout(s);
|
|
3249
|
-
}), Object.assign(a, {
|
|
3250
|
-
focus: O,
|
|
3251
|
-
blur: j
|
|
3252
|
-
}), function() {
|
|
3253
|
-
let n = e.getControl === void 0 && r.control === void 0 ? {
|
|
3254
|
-
...e.splitAttrs.attributes.value,
|
|
3255
|
-
"data-autofocus": t.autofocus || void 0,
|
|
3256
|
-
...E.value
|
|
3257
|
-
} : E.value;
|
|
3258
|
-
return T(e.tag.value, {
|
|
3259
|
-
ref: e.rootRef,
|
|
3260
|
-
class: [y.value, i.class],
|
|
3261
|
-
style: i.style,
|
|
3262
|
-
...n
|
|
3263
|
-
}, [
|
|
3264
|
-
r.before === void 0 ? null : T("div", Fa, r.before()),
|
|
3265
|
-
T("div", Pa, [T("div", {
|
|
3266
|
-
ref: e.controlRef,
|
|
3267
|
-
class: b.value,
|
|
3268
|
-
tabindex: -1,
|
|
3269
|
-
...e.controlEvents
|
|
3270
|
-
}, V()), v.value ? W() : null]),
|
|
3271
|
-
r.after === void 0 ? null : T("div", Ia, r.after())
|
|
3272
|
-
]);
|
|
3273
|
-
};
|
|
3274
|
-
}
|
|
3275
|
-
//#endregion
|
|
3276
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/input/use-mask.js
|
|
3277
|
-
var Ba = {
|
|
3278
|
-
date: "####/##/##",
|
|
3279
|
-
datetime: "####/##/## ##:##",
|
|
3280
|
-
time: "##:##",
|
|
3281
|
-
fulltime: "##:##:##",
|
|
3282
|
-
phone: "(###) ### - ####",
|
|
3283
|
-
card: "#### #### #### ####"
|
|
3284
|
-
}, Va = {
|
|
3285
|
-
"[\\d]": (e) => {
|
|
3286
|
-
let t = e.codePointAt(0);
|
|
3287
|
-
return t > 47 && t < 58;
|
|
3288
|
-
},
|
|
3289
|
-
"[a-zA-Z]": (e) => {
|
|
3290
|
-
let t = e.codePointAt(0);
|
|
3291
|
-
return t > 64 && t < 91 || t > 96 && t < 123;
|
|
3292
|
-
},
|
|
3293
|
-
"[0-9a-zA-Z]": (e) => {
|
|
3294
|
-
let t = e.codePointAt(0);
|
|
3295
|
-
return t > 47 && t < 58 || t > 64 && t < 91 || t > 96 && t < 123;
|
|
3296
|
-
}
|
|
3297
|
-
}, { tokenMap: Ha, tokenKeys: Ua } = /*#__PURE__*/ Wa({
|
|
3298
|
-
"#": {
|
|
3299
|
-
pattern: "[\\d]",
|
|
3300
|
-
negate: "[^\\d]"
|
|
3301
|
-
},
|
|
3302
|
-
S: {
|
|
3303
|
-
pattern: "[a-zA-Z]",
|
|
3304
|
-
negate: "[^a-zA-Z]"
|
|
3305
|
-
},
|
|
3306
|
-
N: {
|
|
3307
|
-
pattern: "[0-9a-zA-Z]",
|
|
3308
|
-
negate: "[^0-9a-zA-Z]"
|
|
3309
|
-
},
|
|
3310
|
-
A: {
|
|
3311
|
-
pattern: "[a-zA-Z]",
|
|
3312
|
-
negate: "[^a-zA-Z]",
|
|
3313
|
-
transform: (e) => e.toLocaleUpperCase()
|
|
3314
|
-
},
|
|
3315
|
-
a: {
|
|
3316
|
-
pattern: "[a-zA-Z]",
|
|
3317
|
-
negate: "[^a-zA-Z]",
|
|
3318
|
-
transform: (e) => e.toLocaleLowerCase()
|
|
3319
|
-
},
|
|
3320
|
-
X: {
|
|
3321
|
-
pattern: "[0-9a-zA-Z]",
|
|
3322
|
-
negate: "[^0-9a-zA-Z]",
|
|
3323
|
-
transform: (e) => e.toLocaleUpperCase()
|
|
3324
|
-
},
|
|
3325
|
-
x: {
|
|
3326
|
-
pattern: "[0-9a-zA-Z]",
|
|
3327
|
-
negate: "[^0-9a-zA-Z]",
|
|
3328
|
-
transform: (e) => e.toLocaleLowerCase()
|
|
3329
|
-
}
|
|
3330
|
-
});
|
|
3331
|
-
function Wa(e) {
|
|
3332
|
-
let t = Object.keys(e), n = {};
|
|
3333
|
-
return t.forEach((t) => {
|
|
3334
|
-
let r = e[t], i;
|
|
3335
|
-
if (Object.hasOwn(Va, r.pattern)) i = Va[r.pattern];
|
|
3336
|
-
else {
|
|
3337
|
-
let e = new RegExp(r.pattern);
|
|
3338
|
-
i = (t) => e.test(t);
|
|
3339
|
-
}
|
|
3340
|
-
n[t] = {
|
|
3341
|
-
...r,
|
|
3342
|
-
test: i
|
|
3343
|
-
};
|
|
3344
|
-
}), {
|
|
3345
|
-
tokenMap: n,
|
|
3346
|
-
tokenKeys: t
|
|
3347
|
-
};
|
|
3348
|
-
}
|
|
3349
|
-
function Ga(e) {
|
|
3350
|
-
return RegExp("\\\\([^.*+?^${}()|([\\]])|([.*+?^${}()|[\\]])|([" + e.join("") + "])|(.)", "g");
|
|
3351
|
-
}
|
|
3352
|
-
var Ka = [
|
|
3353
|
-
"insertText",
|
|
3354
|
-
"deleteContentBackward",
|
|
3355
|
-
"deleteContentForward",
|
|
3356
|
-
"deleteWordBackward",
|
|
3357
|
-
"deleteWordForward",
|
|
3358
|
-
"deleteByCut"
|
|
3359
|
-
], qa = /[.*+?^${}()|[\]\\]/g, Ja = /*#__PURE__*/ Ga(Ua), $ = String.fromCodePoint(1), Ya = {
|
|
3360
|
-
mask: String,
|
|
3361
|
-
reverseFillMask: Boolean,
|
|
3362
|
-
fillMask: [Boolean, String],
|
|
3363
|
-
unmaskedValue: Boolean,
|
|
3364
|
-
maskTokens: Object
|
|
3365
|
-
};
|
|
3366
|
-
function Xa(e, t, n, r, i) {
|
|
3367
|
-
let a, o, s, c, l, u, d, f = h(() => {
|
|
3368
|
-
if (e.maskTokens === void 0 || e.maskTokens === null) return {
|
|
3369
|
-
tokenMap: Ha,
|
|
3370
|
-
tokenRegexMask: Ja
|
|
3371
|
-
};
|
|
3372
|
-
let { tokenMap: t } = Wa(e.maskTokens), n = {
|
|
3373
|
-
...Ha,
|
|
3374
|
-
...t
|
|
3375
|
-
};
|
|
3376
|
-
return {
|
|
3377
|
-
tokenMap: n,
|
|
3378
|
-
tokenRegexMask: Ga(Object.keys(n))
|
|
3379
|
-
};
|
|
3380
|
-
}), p = V(null), m = V(_());
|
|
3381
|
-
function g() {
|
|
3382
|
-
return e.autogrow || [
|
|
3383
|
-
"textarea",
|
|
3384
|
-
"text",
|
|
3385
|
-
"search",
|
|
3386
|
-
"url",
|
|
3387
|
-
"tel",
|
|
3388
|
-
"password"
|
|
3389
|
-
].includes(e.type);
|
|
3390
|
-
}
|
|
3391
|
-
q(() => e.type + e.autogrow, y), q(() => e.mask, (n) => {
|
|
3392
|
-
if (n !== void 0) S(m.value, !0);
|
|
3393
|
-
else {
|
|
3394
|
-
let n = j(p.value ? M(m.value, d) : m.value);
|
|
3395
|
-
y(), e.modelValue !== n && t("update:modelValue", n);
|
|
3396
|
-
}
|
|
3397
|
-
}), q(() => e.fillMask + e.reverseFillMask, () => {
|
|
3398
|
-
p.value && S(m.value, !0);
|
|
3399
|
-
}), q(() => e.unmaskedValue, () => {
|
|
3400
|
-
p.value && S(m.value);
|
|
3401
|
-
}), q(() => e.maskTokens, () => {
|
|
3402
|
-
p.value && S(m.value, !0);
|
|
3403
|
-
}, { deep: !0 });
|
|
3404
|
-
function _() {
|
|
3405
|
-
if (y(), p.value) {
|
|
3406
|
-
let t = D(j(e.modelValue));
|
|
3407
|
-
return d = t.length, e.fillMask === !1 ? t : N(t);
|
|
3408
|
-
}
|
|
3409
|
-
return d = 0, e.modelValue;
|
|
3410
|
-
}
|
|
3411
|
-
function v(e) {
|
|
3412
|
-
if (e < a.length) return a.slice(-e);
|
|
3413
|
-
let t = "", n = a, r = n.indexOf($);
|
|
3414
|
-
if (r !== -1) {
|
|
3415
|
-
for (let r = e - n.length; r > 0; r--) t += $;
|
|
3416
|
-
n = n.slice(0, r) + t + n.slice(r);
|
|
3417
|
-
}
|
|
3418
|
-
return n;
|
|
3419
|
-
}
|
|
3420
|
-
function y() {
|
|
3421
|
-
if (p.value = e.mask !== void 0 && e.mask.length !== 0 && g(), !p.value) {
|
|
3422
|
-
c = void 0, a = "", o = "";
|
|
3423
|
-
return;
|
|
3424
|
-
}
|
|
3425
|
-
let t = Ba[e.mask] === void 0 ? e.mask : Ba[e.mask], n = typeof e.fillMask == "string" && e.fillMask.length !== 0 ? e.fillMask.slice(0, 1) : "_", r = n.replace(qa, String.raw`\$&`), i = [], l = [], u = [], d = e.reverseFillMask, m = "", h = "";
|
|
3426
|
-
t.replace(f.value.tokenRegexMask, (e, t, n, r, a) => {
|
|
3427
|
-
if (r !== void 0) {
|
|
3428
|
-
let e = f.value.tokenMap[r];
|
|
3429
|
-
u.push(e), h = e.negate, d &&= (l.push({
|
|
3430
|
-
c: e,
|
|
3431
|
-
overflow: !0
|
|
3432
|
-
}), !1), l.push({ c: e });
|
|
3433
|
-
return;
|
|
3434
|
-
}
|
|
3435
|
-
if (n !== void 0) m = "\\" + (n === "\\" ? "" : n), u.push(n);
|
|
3436
|
-
else {
|
|
3437
|
-
let e = t === void 0 ? a : t;
|
|
3438
|
-
m = e === "\\" ? String.raw`\\\\` : e.replace(qa, String.raw`\\$&`), u.push(e);
|
|
3439
|
-
}
|
|
3440
|
-
i.push("([^" + m + "]+)?" + m + "?");
|
|
3441
|
-
});
|
|
3442
|
-
let _ = [...new Set(u.filter((e) => typeof e != "string").map(({ pattern: e }) => e))], v = RegExp("^" + i.join("") + "(" + (m === "" ? "." : "[^" + m + "]") + "+)?" + (m === "" ? "" : "[" + m + "]*") + "$"), y = l.length - 1, b = _.length === 1 ? h : "(?:" + _.map((e) => "(?!" + e + ")").join("") + String.raw`[\s\S])`, x = ({ c: e, overflow: t }) => t === !0 ? "(?:" + b + "+)?(" + e.pattern + "+)?(?:" + b + "+)?(" + e.pattern + "+)?" : "(?:" + b + "+)?(" + e.pattern + ")?", S = l.map((t, n) => {
|
|
3443
|
-
let i = x(t);
|
|
3444
|
-
return n === 0 && e.reverseFillMask ? RegExp("^" + r + "*" + i) : RegExp(n === y ? "^" + i + "(" + (h === "" ? "." : h) + "+)?" + (e.reverseFillMask ? "$" : r + "*") : "^" + i);
|
|
3445
|
-
});
|
|
3446
|
-
s = u, c = (t) => {
|
|
3447
|
-
let n = v.exec(e.reverseFillMask ? t : t.slice(0, u.length + 1));
|
|
3448
|
-
n !== null && (t = n.slice(1).join(""));
|
|
3449
|
-
let r = [], i = S.length;
|
|
3450
|
-
for (let e = 0, n = t; e < i; e++) {
|
|
3451
|
-
let t = S[e].exec(n);
|
|
3452
|
-
if (t === null) break;
|
|
3453
|
-
n = n.slice(t.shift().length), r.push(...t);
|
|
3454
|
-
}
|
|
3455
|
-
return r.length === 0 ? t : r.join("");
|
|
3456
|
-
}, a = u.map((e) => typeof e == "string" ? e : $).join(""), o = a.split($).join(n);
|
|
3457
|
-
}
|
|
3458
|
-
function b(t, n) {
|
|
3459
|
-
let r = t.length, i = e.reverseFillMask ? v(r) : a, o = e.reverseFillMask ? s.length - r : 0, c = e.reverseFillMask ? 0 : Math.min(n, r), l = e.reverseFillMask ? r - n : r;
|
|
3460
|
-
return (e) => {
|
|
3461
|
-
if (i[e] !== $ || e >= c && e < l) return !1;
|
|
3462
|
-
let n = s[o + e];
|
|
3463
|
-
return n === void 0 || typeof n == "string" || n.test(t[e]);
|
|
3464
|
-
};
|
|
3465
|
-
}
|
|
3466
|
-
function x(e, t, n) {
|
|
3467
|
-
let r = b(e, n), i = 0;
|
|
3468
|
-
for (let e = 0; e < t; e++) r(e) && i++;
|
|
3469
|
-
return i;
|
|
3470
|
-
}
|
|
3471
|
-
function S(t, s, c) {
|
|
3472
|
-
let u = r.value, f = u?.selectionEnd ?? 0, p = u === null ? 0 : u.value.length - f, h = s !== !0 && typeof m.value == "string" && Ka.includes(c) ? k(m.value, d, t, c) : j(t), g;
|
|
3473
|
-
s === !0 && u !== null && a.length !== 0 && (g = x(u.value, f, d)), s === !0 && y();
|
|
3474
|
-
let _ = D(h, s), v = e.fillMask === !1 ? _ : N(_), b = _.length, S = m.value !== v, C = S || b !== d;
|
|
3475
|
-
d = b;
|
|
3476
|
-
let T = e.fillMask !== !1 && b === 0;
|
|
3477
|
-
u !== null && u.value !== v && (u.value = v), S && (m.value = v), u !== null && document.activeElement === u && A(() => {
|
|
3478
|
-
if (T) {
|
|
3479
|
-
let t = e.reverseFillMask ? o.length : 0;
|
|
3480
|
-
u.setSelectionRange(t, t, "forward");
|
|
3481
|
-
return;
|
|
3482
|
-
}
|
|
3483
|
-
if (g !== void 0) {
|
|
3484
|
-
let e = 0, t = 0;
|
|
3485
|
-
for (; e < v.length && t < g;) t = x(v, e + 1, b), e++;
|
|
3486
|
-
u.setSelectionRange(e, e, "forward");
|
|
3487
|
-
return;
|
|
3488
|
-
}
|
|
3489
|
-
if (c === "insertFromPaste" && !e.reverseFillMask) {
|
|
3490
|
-
let e = u.selectionEnd, t = f - 1;
|
|
3491
|
-
for (let n = l; n <= t && n < e; n++) a[n] !== $ && t++;
|
|
3492
|
-
w.right(u, t);
|
|
3493
|
-
return;
|
|
3494
|
-
}
|
|
3495
|
-
if (["deleteContentBackward", "deleteContentForward"].includes(c)) {
|
|
3496
|
-
let t = e.reverseFillMask ? f === 0 ? +(v.length > _.length) : Math.max(0, v.length - (T ? 0 : Math.min(_.length, p) + 1)) + 1 : f;
|
|
3497
|
-
u.setSelectionRange(t, t, "forward");
|
|
3498
|
-
return;
|
|
3499
|
-
}
|
|
3500
|
-
if (e.reverseFillMask) {
|
|
3501
|
-
if (C) {
|
|
3502
|
-
let e = Math.max(0, v.length - (T ? 0 : Math.min(_.length, p + 1)));
|
|
3503
|
-
e === 1 && f === 1 ? u.setSelectionRange(e, e, "forward") : w.rightReverse(u, e);
|
|
3504
|
-
} else {
|
|
3505
|
-
let e = v.length - p;
|
|
3506
|
-
u.setSelectionRange(e, e, "backward");
|
|
3507
|
-
}
|
|
3508
|
-
} else if (C) {
|
|
3509
|
-
let e = Math.max(0, a.indexOf($), Math.min(_.length, f) - 1);
|
|
3510
|
-
w.right(u, e);
|
|
3511
|
-
} else {
|
|
3512
|
-
let e = f - 1;
|
|
3513
|
-
w.right(u, e);
|
|
3514
|
-
}
|
|
3515
|
-
});
|
|
3516
|
-
let E = e.unmaskedValue ? j(_) : v;
|
|
3517
|
-
String(e.modelValue) !== E && (e.modelValue !== null || E !== "") ? n(E, !0) : i !== void 0 && i();
|
|
3518
|
-
}
|
|
3519
|
-
function C(e, t, n) {
|
|
3520
|
-
let r = D(j(e.value));
|
|
3521
|
-
t = Math.max(0, a.indexOf($), Math.min(r.length, t)), l = t, e.setSelectionRange(t, n, "forward");
|
|
3522
|
-
}
|
|
3523
|
-
let w = {
|
|
3524
|
-
left(e, t) {
|
|
3525
|
-
let n = !a.slice(t - 1).includes($), r = Math.max(0, t - 1);
|
|
3526
|
-
for (; r >= 0; r--) if (a[r] === $) {
|
|
3527
|
-
t = r, n && t++;
|
|
3528
|
-
break;
|
|
3529
|
-
}
|
|
3530
|
-
if (r < 0 && a[t] !== void 0 && a[t] !== $) return w.right(e, 0);
|
|
3531
|
-
t >= 0 && e.setSelectionRange(t, t, "backward");
|
|
3532
|
-
},
|
|
3533
|
-
right(e, t) {
|
|
3534
|
-
let n = e.value.length, r = Math.min(n, t + 1);
|
|
3535
|
-
for (; r <= n; r++) if (a[r] === $) {
|
|
3536
|
-
t = r;
|
|
3537
|
-
break;
|
|
3538
|
-
} else a[r - 1] === $ && (t = r);
|
|
3539
|
-
if (r > n && a[t - 1] !== void 0 && a[t - 1] !== $) return w.left(e, n);
|
|
3540
|
-
e.setSelectionRange(t, t, "forward");
|
|
3541
|
-
},
|
|
3542
|
-
leftReverse(e, t) {
|
|
3543
|
-
let n = v(e.value.length), r = Math.max(0, t - 1);
|
|
3544
|
-
for (; r >= 0; r--) if (n[r - 1] === $) {
|
|
3545
|
-
t = r;
|
|
3546
|
-
break;
|
|
3547
|
-
} else if (n[r] === $ && (t = r, r === 0)) break;
|
|
3548
|
-
if (r < 0 && n[t] !== void 0 && n[t] !== $) return w.rightReverse(e, 0);
|
|
3549
|
-
t >= 0 && e.setSelectionRange(t, t, "backward");
|
|
3550
|
-
},
|
|
3551
|
-
rightReverse(e, t) {
|
|
3552
|
-
let n = e.value.length, r = v(n), i = !r.slice(0, t + 1).includes($), a = Math.min(n, t + 1);
|
|
3553
|
-
for (; a <= n; a++) if (r[a - 1] === $) {
|
|
3554
|
-
t = a, t > 0 && i && t--;
|
|
3555
|
-
break;
|
|
3556
|
-
}
|
|
3557
|
-
if (a > n && r[t - 1] !== void 0 && r[t - 1] !== $) return w.leftReverse(e, n);
|
|
3558
|
-
e.setSelectionRange(t, t, "forward");
|
|
3559
|
-
}
|
|
3560
|
-
};
|
|
3561
|
-
function T(e) {
|
|
3562
|
-
t("click", e), u = void 0;
|
|
3563
|
-
}
|
|
3564
|
-
function E(n) {
|
|
3565
|
-
if (t("keydown", n), n.defaultPrevented || n.altKey || Qe(n)) return;
|
|
3566
|
-
let i = r.value, a = i.selectionStart, o = i.selectionEnd;
|
|
3567
|
-
if (n.shiftKey || (u = void 0), n.keyCode === 37 || n.keyCode === 39) {
|
|
3568
|
-
n.shiftKey && u === void 0 && (u = i.selectionDirection === "forward" ? a : o);
|
|
3569
|
-
let t = w[(n.keyCode === 39 ? "right" : "left") + (e.reverseFillMask ? "Reverse" : "")];
|
|
3570
|
-
if (n.preventDefault(), t(i, u === a ? o : a), n.shiftKey) {
|
|
3571
|
-
let e = i.selectionStart;
|
|
3572
|
-
i.setSelectionRange(Math.min(u, e), Math.max(u, e), "forward");
|
|
3573
|
-
}
|
|
3574
|
-
} else n.keyCode === 8 && !e.reverseFillMask && a === o ? (w.left(i, a), i.setSelectionRange(i.selectionStart, o, "backward")) : n.keyCode === 46 && e.reverseFillMask && a === o && (w.rightReverse(i, o), i.setSelectionRange(a, i.selectionEnd, "forward"));
|
|
3575
|
-
}
|
|
3576
|
-
function D(t, n) {
|
|
3577
|
-
if (t == null || t === "") return "";
|
|
3578
|
-
if (e.reverseFillMask) return O(t, n);
|
|
3579
|
-
let r = s, i = 0, a = "";
|
|
3580
|
-
for (let e = 0; e < r.length; e++) {
|
|
3581
|
-
let o = t[i], s = r[e];
|
|
3582
|
-
if (typeof s == "string") a += s, n === !0 && o === s && i++;
|
|
3583
|
-
else if (o !== void 0 && s.test(o)) a += s.transform === void 0 ? o : s.transform(o), i++;
|
|
3584
|
-
else return a;
|
|
3585
|
-
}
|
|
3586
|
-
return a;
|
|
3587
|
-
}
|
|
3588
|
-
function O(e, t) {
|
|
3589
|
-
let n = s, r = a.indexOf($), i = e.length - 1, o = "", c = "";
|
|
3590
|
-
for (let a = n.length - 1; a >= 0 && i !== -1; a--) {
|
|
3591
|
-
let s = n[a], l = e[i];
|
|
3592
|
-
if (typeof s == "string") c = s + c, t === !0 && l === s && i--;
|
|
3593
|
-
else if (l !== void 0 && s.test(l)) {
|
|
3594
|
-
o = c + o, c = "";
|
|
3595
|
-
do
|
|
3596
|
-
o = (s.transform === void 0 ? l : s.transform(l)) + o, i--, l = e[i];
|
|
3597
|
-
while (r === a && l !== void 0 && s.test(l));
|
|
3598
|
-
} else return o;
|
|
3599
|
-
}
|
|
3600
|
-
return o;
|
|
3601
|
-
}
|
|
3602
|
-
function k(t, n, r, i) {
|
|
3603
|
-
let a = t.length, o = r.length, c = Math.min(a, o), l = 0;
|
|
3604
|
-
for (; l < c && t[l] === r[l];) l++;
|
|
3605
|
-
let u = 0;
|
|
3606
|
-
for (; u < c - l && t[a - 1 - u] === r[o - 1 - u];) u++;
|
|
3607
|
-
let d = b(t, n), f = "", p = "";
|
|
3608
|
-
for (let e = 0; e < l; e++) d(e) && (f += t[e]);
|
|
3609
|
-
for (let e = a - u; e < a; e++) d(e) && (p += t[e]);
|
|
3610
|
-
let m = "", h = r.slice(l, o - u);
|
|
3611
|
-
if (h.length !== 0) {
|
|
3612
|
-
if (e.reverseFillMask) for (let e of h) s.some((t) => typeof t != "string" && t.test(e)) && (m += e);
|
|
3613
|
-
else {
|
|
3614
|
-
let e = s.filter((e) => typeof e != "string"), t = f.length;
|
|
3615
|
-
for (let n of h) e[t] !== void 0 && e[t].test(n) && (m += n, t++);
|
|
3616
|
-
}
|
|
3617
|
-
} else if (!e.reverseFillMask && l + u < a) {
|
|
3618
|
-
let e = !1;
|
|
3619
|
-
for (let t = l; t < a - u; t++) if (d(t)) {
|
|
3620
|
-
e = !0;
|
|
3621
|
-
break;
|
|
3622
|
-
}
|
|
3623
|
-
e || (i === "deleteContentForward" ? p = p.slice(1) : f = f.slice(0, -1));
|
|
3624
|
-
}
|
|
3625
|
-
return f + m + p;
|
|
3626
|
-
}
|
|
3627
|
-
function j(e) {
|
|
3628
|
-
return typeof e != "string" || c === void 0 ? typeof e == "number" ? c(String(e)) : e : c(e);
|
|
3629
|
-
}
|
|
3630
|
-
function M(t, n) {
|
|
3631
|
-
return n >= t.length ? t : e.reverseFillMask ? t.slice(t.length - n) : t.slice(0, n);
|
|
3632
|
-
}
|
|
3633
|
-
function N(t) {
|
|
3634
|
-
return o.length - t.length <= 0 ? t : e.reverseFillMask && t.length !== 0 ? o.slice(0, -t.length) + t : t + o.slice(t.length);
|
|
3635
|
-
}
|
|
3636
|
-
return {
|
|
3637
|
-
innerValue: m,
|
|
3638
|
-
hasMask: p,
|
|
3639
|
-
moveCursorForPaste: C,
|
|
3640
|
-
updateMaskValue: S,
|
|
3641
|
-
onMaskedKeydown: E,
|
|
3642
|
-
onMaskedClick: T
|
|
3643
|
-
};
|
|
3644
|
-
}
|
|
3645
|
-
//#endregion
|
|
3646
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/use-form/private.use-form.js
|
|
3647
|
-
var Za = { name: String };
|
|
3648
|
-
function Qa(e) {
|
|
3649
|
-
return () => e.name || e.for;
|
|
3650
|
-
}
|
|
3651
|
-
//#endregion
|
|
3652
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-file/use-file-dom-props.js
|
|
3653
|
-
function $a(e, t) {
|
|
3654
|
-
function n() {
|
|
3655
|
-
let t = e.modelValue;
|
|
3656
|
-
try {
|
|
3657
|
-
let e = new DataTransfer();
|
|
3658
|
-
return Object(t) === t && ("length" in t ? [...t] : [t]).forEach((t) => {
|
|
3659
|
-
e.items.add(t);
|
|
3660
|
-
}), { files: e.files };
|
|
3661
|
-
} catch {
|
|
3662
|
-
return { files: void 0 };
|
|
3663
|
-
}
|
|
3664
|
-
}
|
|
3665
|
-
return h(t ? () => {
|
|
3666
|
-
if (e.type === "file") return n();
|
|
3667
|
-
} : n);
|
|
3668
|
-
}
|
|
3669
|
-
//#endregion
|
|
3670
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/composables/private.use-key-composition/use-key-composition.js
|
|
3671
|
-
var eo = /[\u3000-\u303F\u3040-\u309F\u30A0-\u30FF\uFF00-\uFF9F\u4E00-\u9FAF\u3400-\u4DBF]/, to = /[\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, no = /[\u3131-\u314E\u314F-\u3163\uAC00-\uD7A3]/, ro = /[a-z0-9_ -]$/i;
|
|
3672
|
-
function io(e) {
|
|
3673
|
-
return function(t) {
|
|
3674
|
-
if (t.type === "compositionend" || t.type === "change") {
|
|
3675
|
-
if (!t.target.qComposing) return;
|
|
3676
|
-
t.target.qComposing = !1, e(t);
|
|
3677
|
-
} else t.type === "compositionupdate" && !t.target.qComposing && typeof t.data == "string" && (wn.is.firefox ? !ro.test(t.data) : eo.test(t.data) || to.test(t.data) || no.test(t.data)) && (t.target.qComposing = !0);
|
|
3678
|
-
};
|
|
3679
|
-
}
|
|
3680
|
-
//#endregion
|
|
3681
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/input/QInput.js
|
|
3682
|
-
var ao = /*#__PURE__*/ Y({
|
|
3683
|
-
name: "QInput",
|
|
3684
|
-
inheritAttrs: !1,
|
|
3685
|
-
props: {
|
|
3686
|
-
...Ta,
|
|
3687
|
-
...Ya,
|
|
3688
|
-
...Za,
|
|
3689
|
-
modelValue: [
|
|
3690
|
-
String,
|
|
3691
|
-
Number,
|
|
3692
|
-
FileList
|
|
3693
|
-
],
|
|
3694
|
-
modelModifiers: Object,
|
|
3695
|
-
shadowText: String,
|
|
3696
|
-
type: {
|
|
3697
|
-
type: String,
|
|
3698
|
-
default: "text"
|
|
3699
|
-
},
|
|
3700
|
-
debounce: [String, Number],
|
|
3701
|
-
autogrow: Boolean,
|
|
3702
|
-
inputClass: [
|
|
3703
|
-
Array,
|
|
3704
|
-
String,
|
|
3705
|
-
Object
|
|
3706
|
-
],
|
|
3707
|
-
inputStyle: [
|
|
3708
|
-
Array,
|
|
3709
|
-
String,
|
|
3710
|
-
Object
|
|
3711
|
-
]
|
|
3712
|
-
},
|
|
3713
|
-
emits: [
|
|
3714
|
-
...Ea,
|
|
3715
|
-
"paste",
|
|
3716
|
-
"change",
|
|
3717
|
-
"keydown",
|
|
3718
|
-
"click",
|
|
3719
|
-
"animationend"
|
|
3720
|
-
],
|
|
3721
|
-
setup(e, { emit: t, attrs: n }) {
|
|
3722
|
-
let { proxy: r } = w(), i = c(), a = {}, o = NaN, s = !1, l = !1, u = null, d, f = U(null), p = Qa(e), { innerValue: m, hasMask: g, moveCursorForPaste: _, updateMaskValue: v, onMaskedKeydown: y, onMaskedClick: b } = Xa(e, t, V, f, () => {
|
|
3723
|
-
H(), delete a.value;
|
|
3724
|
-
}), x = $a(e, !0), S = h(() => wa(m.value)), C = io(B);
|
|
3725
|
-
function E(e) {
|
|
3726
|
-
if (g.value && e.type === "compositionstart") {
|
|
3727
|
-
e.target.qComposing = !0;
|
|
3728
|
-
return;
|
|
3729
|
-
}
|
|
3730
|
-
C(e);
|
|
3731
|
-
}
|
|
3732
|
-
let D = Da({ changeEvent: !0 }), O = h(() => e.type === "textarea" || e.autogrow), k = h(() => O.value || [
|
|
3733
|
-
"text",
|
|
3734
|
-
"search",
|
|
3735
|
-
"url",
|
|
3736
|
-
"tel",
|
|
3737
|
-
"password"
|
|
3738
|
-
].includes(e.type)), j = h(() => {
|
|
3739
|
-
let t = {
|
|
3740
|
-
...D.splitAttrs.listeners.value,
|
|
3741
|
-
onInput: B,
|
|
3742
|
-
onPaste: z,
|
|
3743
|
-
onChange: G,
|
|
3744
|
-
onBlur: ne,
|
|
3745
|
-
onFocus: Ke
|
|
3746
|
-
};
|
|
3747
|
-
return t.onCompositionstart = t.onCompositionupdate = t.onCompositionend = E, g.value && (t.onKeydown = y, t.onClick = b), e.autogrow && (t.onAnimationend = ee), t;
|
|
3748
|
-
}), M = h(() => {
|
|
3749
|
-
let t = {
|
|
3750
|
-
tabindex: 0,
|
|
3751
|
-
"data-autofocus": e.autofocus || void 0,
|
|
3752
|
-
rows: e.type === "textarea" ? 6 : void 0,
|
|
3753
|
-
"aria-label": e.label,
|
|
3754
|
-
name: p(),
|
|
3755
|
-
...D.splitAttrs.attributes.value,
|
|
3756
|
-
id: D.targetUid.value,
|
|
3757
|
-
maxlength: e.maxlength,
|
|
3758
|
-
disabled: e.disable,
|
|
3759
|
-
readonly: e.readonly
|
|
3760
|
-
};
|
|
3761
|
-
return O.value || (t.type = e.type), e.autogrow && (t.rows = 1), t;
|
|
3762
|
-
});
|
|
3763
|
-
q(() => e.type, () => {
|
|
3764
|
-
f.value && (f.value.value = e.modelValue);
|
|
3765
|
-
}), q(() => e.modelValue, (t) => {
|
|
3766
|
-
if (d !== void 0 && (H(), s = !1, l = !1, delete a.value), g.value) {
|
|
3767
|
-
if (l && (l = !1, String(t) === o)) return;
|
|
3768
|
-
v(t);
|
|
3769
|
-
} else m.value !== t && (m.value = t, e.type === "number" && Object.hasOwn(a, "value") && (s ? s = !1 : delete a.value), e.modelModifiers?.trim === !0 && Object.hasOwn(a, "value") && (typeof a.value != "string" || a.value.trim() !== t) && delete a.value);
|
|
3770
|
-
e.autogrow && A(W);
|
|
3771
|
-
}), q(() => e.autogrow, (e) => {
|
|
3772
|
-
if (e) A(W);
|
|
3773
|
-
else if (f.value !== null) {
|
|
3774
|
-
let { style: e } = f.value;
|
|
3775
|
-
e.overflowY = "", e.height = n.rows > 0 ? "auto" : "";
|
|
3776
|
-
}
|
|
3777
|
-
}), q(() => e.dense, () => {
|
|
3778
|
-
e.autogrow && A(W);
|
|
3779
|
-
});
|
|
3780
|
-
function N() {
|
|
3781
|
-
let e = document.activeElement;
|
|
3782
|
-
f.value !== null && f.value !== e && (e === null || e.id !== D.targetUid.value) && f.value.focus({ preventScroll: !0 });
|
|
3783
|
-
}
|
|
3784
|
-
function F() {
|
|
3785
|
-
qn(N);
|
|
3786
|
-
}
|
|
3787
|
-
function I() {
|
|
3788
|
-
Jn(N);
|
|
3789
|
-
let e = document.activeElement;
|
|
3790
|
-
e !== null && D.rootRef.value.contains(e) && e.blur();
|
|
3791
|
-
}
|
|
3792
|
-
function R() {
|
|
3793
|
-
f.value?.select();
|
|
3794
|
-
}
|
|
3795
|
-
function z(n) {
|
|
3796
|
-
if (g.value && e.reverseFillMask !== !0) {
|
|
3797
|
-
let e = n.target;
|
|
3798
|
-
_(e, e.selectionStart, e.selectionEnd);
|
|
3799
|
-
}
|
|
3800
|
-
t("paste", n);
|
|
3801
|
-
}
|
|
3802
|
-
function B(n) {
|
|
3803
|
-
if (!n || !n.target) return;
|
|
3804
|
-
if (e.type === "file") {
|
|
3805
|
-
t("update:modelValue", n.target.files);
|
|
3806
|
-
return;
|
|
3807
|
-
}
|
|
3808
|
-
let r = n.target.value;
|
|
3809
|
-
if (n.target.qComposing) {
|
|
3810
|
-
a.value = r;
|
|
3811
|
-
return;
|
|
3812
|
-
}
|
|
3813
|
-
if (g.value) v(r, !1, n.inputType);
|
|
3814
|
-
else if (e.modelModifiers?.trim === !0 && (a.value = r), V(r), k.value && n.target === document.activeElement) {
|
|
3815
|
-
let { selectionStart: e, selectionEnd: t } = n.target;
|
|
3816
|
-
e !== void 0 && t !== void 0 && A(() => {
|
|
3817
|
-
n.target === document.activeElement && r.indexOf(n.target.value) === 0 && n.target.setSelectionRange(e, t);
|
|
3818
|
-
});
|
|
3819
|
-
}
|
|
3820
|
-
e.autogrow && W();
|
|
3821
|
-
}
|
|
3822
|
-
function ee(e) {
|
|
3823
|
-
t("animationend", e), W();
|
|
3824
|
-
}
|
|
3825
|
-
function V(n, r) {
|
|
3826
|
-
d = () => {
|
|
3827
|
-
u = null, e.type !== "number" && (e.modelModifiers?.trim !== !0 || g.value) && Object.hasOwn(a, "value") && delete a.value, e.modelValue !== n && o !== n && (o = n, r === !0 && (l = !0), t("update:modelValue", n), A(() => {
|
|
3828
|
-
o === n && (o = NaN);
|
|
3829
|
-
})), d = void 0;
|
|
3830
|
-
}, e.type === "number" && (s = !0, a.value = n);
|
|
3831
|
-
let i = () => {
|
|
3832
|
-
g.value ? delete a.value : a.value = n;
|
|
3833
|
-
};
|
|
3834
|
-
e.modelModifiers?.lazy === !0 ? i() : e.debounce === void 0 ? d() : (u !== null && clearTimeout(u), i(), u = setTimeout(d, e.debounce));
|
|
3835
|
-
}
|
|
3836
|
-
function H() {
|
|
3837
|
-
u !== null && (clearTimeout(u), u = null), d = void 0;
|
|
3838
|
-
}
|
|
3839
|
-
function te() {
|
|
3840
|
-
H(), s = !1, l = !1, delete a.value;
|
|
3841
|
-
}
|
|
3842
|
-
function W() {
|
|
3843
|
-
requestAnimationFrame(() => {
|
|
3844
|
-
let e = f.value;
|
|
3845
|
-
if (e !== null) {
|
|
3846
|
-
let t = e.parentNode.style, { scrollTop: n } = e, { overflowY: r, maxHeight: a } = i.platform.is.firefox ? {} : window.getComputedStyle(e), o = r !== void 0 && r !== "scroll";
|
|
3847
|
-
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(a, 10) < e.scrollHeight ? "auto" : "hidden"), t.marginBottom = "", e.scrollTop = n;
|
|
3848
|
-
}
|
|
3849
|
-
});
|
|
3850
|
-
}
|
|
3851
|
-
function G(e) {
|
|
3852
|
-
E(e), u !== null && (clearTimeout(u), u = null), d?.(), t("change", e.target.value);
|
|
3853
|
-
}
|
|
3854
|
-
function ne(t) {
|
|
3855
|
-
t !== void 0 && Ke(t), u !== null && (clearTimeout(u), u = null), d?.(), s = !1, l = !1, delete a.value, e.type !== "file" && setTimeout(() => {
|
|
3856
|
-
f.value !== null && (f.value.value = m.value === void 0 ? "" : m.value);
|
|
3857
|
-
}, 0);
|
|
3858
|
-
}
|
|
3859
|
-
function K() {
|
|
3860
|
-
return Object.hasOwn(a, "value") ? a.value : m.value === void 0 ? "" : m.value;
|
|
3861
|
-
}
|
|
3862
|
-
P(() => {
|
|
3863
|
-
ne();
|
|
3864
|
-
}), L(() => {
|
|
3865
|
-
e.autogrow && W();
|
|
3866
|
-
}), Object.assign(D, {
|
|
3867
|
-
innerValue: m,
|
|
3868
|
-
fieldClass: h(() => `q-${O.value ? "textarea" : "input"}` + (e.autogrow ? " q-textarea--autogrow" : "")),
|
|
3869
|
-
hasShadow: h(() => e.type !== "file" && typeof e.shadowText == "string" && e.shadowText.length !== 0),
|
|
3870
|
-
inputRef: f,
|
|
3871
|
-
emitValue: V,
|
|
3872
|
-
onClear: te,
|
|
3873
|
-
hasValue: S,
|
|
3874
|
-
floatingLabel: h(() => S.value && (e.type !== "number" || Number.isFinite(Number(m.value))) || wa(e.displayValue)),
|
|
3875
|
-
getControl: () => {
|
|
3876
|
-
let t = M.value;
|
|
3877
|
-
return T(O.value ? "textarea" : "input", {
|
|
3878
|
-
ref: f,
|
|
3879
|
-
class: ["q-field__native q-placeholder", e.inputClass],
|
|
3880
|
-
style: e.inputStyle,
|
|
3881
|
-
...t,
|
|
3882
|
-
...D.getErrorAriaAttrs(t),
|
|
3883
|
-
...j.value,
|
|
3884
|
-
...e.type === "file" ? x.value : { value: K() }
|
|
3885
|
-
});
|
|
3886
|
-
},
|
|
3887
|
-
getShadowControl: () => T("div", { class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (O.value ? "" : " text-no-wrap") }, [T("span", { class: "invisible" }, K()), T("span", e.shadowText)])
|
|
3888
|
-
});
|
|
3889
|
-
let J = za(D);
|
|
3890
|
-
return Object.assign(r, {
|
|
3891
|
-
focus: F,
|
|
3892
|
-
blur: I,
|
|
3893
|
-
select: R,
|
|
3894
|
-
getNativeElement: () => f.value
|
|
3895
|
-
}), he(r, "nativeEl", () => f.value), J;
|
|
3896
|
-
}
|
|
3897
|
-
});
|
|
3898
|
-
//#endregion
|
|
3899
|
-
//#region lib/components/inputs/VnInput.vue?vue&type=i18n&index=0&lang.i18n
|
|
3900
|
-
function oo(e) {
|
|
3901
|
-
let t = e;
|
|
3902
|
-
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
3903
|
-
locale: "",
|
|
3904
|
-
resource: {
|
|
3905
|
-
en: {
|
|
3906
|
-
inputMin: {
|
|
3907
|
-
t: 0,
|
|
3908
|
-
b: {
|
|
3909
|
-
t: 2,
|
|
3910
|
-
i: [{
|
|
3911
|
-
t: 3,
|
|
3912
|
-
v: "Must be more than "
|
|
3913
|
-
}, {
|
|
3914
|
-
t: 4,
|
|
3915
|
-
k: "value"
|
|
3916
|
-
}]
|
|
3917
|
-
}
|
|
3918
|
-
},
|
|
3919
|
-
maxLength: {
|
|
3920
|
-
t: 0,
|
|
3921
|
-
b: {
|
|
3922
|
-
t: 2,
|
|
3923
|
-
i: [
|
|
3924
|
-
{
|
|
3925
|
-
t: 3,
|
|
3926
|
-
v: "The value exceeds "
|
|
3927
|
-
},
|
|
3928
|
-
{
|
|
3929
|
-
t: 4,
|
|
3930
|
-
k: "value"
|
|
3931
|
-
},
|
|
3932
|
-
{
|
|
3933
|
-
t: 3,
|
|
3934
|
-
v: " characters"
|
|
3935
|
-
}
|
|
3936
|
-
]
|
|
3937
|
-
}
|
|
3938
|
-
},
|
|
3939
|
-
inputMax: {
|
|
3940
|
-
t: 0,
|
|
3941
|
-
b: {
|
|
3942
|
-
t: 2,
|
|
3943
|
-
i: [{
|
|
3944
|
-
t: 3,
|
|
3945
|
-
v: "Must be less than "
|
|
3946
|
-
}, {
|
|
3947
|
-
t: 4,
|
|
3948
|
-
k: "value"
|
|
3949
|
-
}]
|
|
3950
|
-
}
|
|
3951
|
-
}
|
|
3952
|
-
},
|
|
3953
|
-
es: {
|
|
3954
|
-
inputMin: {
|
|
3955
|
-
t: 0,
|
|
3956
|
-
b: {
|
|
3957
|
-
t: 2,
|
|
3958
|
-
i: [{
|
|
3959
|
-
t: 3,
|
|
3960
|
-
v: "Debe ser mayor a "
|
|
3961
|
-
}, {
|
|
3962
|
-
t: 4,
|
|
3963
|
-
k: "value"
|
|
3964
|
-
}]
|
|
3965
|
-
}
|
|
3966
|
-
},
|
|
3967
|
-
maxLength: {
|
|
3968
|
-
t: 0,
|
|
3969
|
-
b: {
|
|
3970
|
-
t: 2,
|
|
3971
|
-
i: [
|
|
3972
|
-
{
|
|
3973
|
-
t: 3,
|
|
3974
|
-
v: "El valor excede los "
|
|
3975
|
-
},
|
|
3976
|
-
{
|
|
3977
|
-
t: 4,
|
|
3978
|
-
k: "value"
|
|
3979
|
-
},
|
|
3980
|
-
{
|
|
3981
|
-
t: 3,
|
|
3982
|
-
v: " carácteres"
|
|
3983
|
-
}
|
|
3984
|
-
]
|
|
3985
|
-
}
|
|
3986
|
-
},
|
|
3987
|
-
inputMax: {
|
|
3988
|
-
t: 0,
|
|
3989
|
-
b: {
|
|
3990
|
-
t: 2,
|
|
3991
|
-
i: [{
|
|
3992
|
-
t: 3,
|
|
3993
|
-
v: "Debe ser menor a "
|
|
3994
|
-
}, {
|
|
3995
|
-
t: 4,
|
|
3996
|
-
k: "value"
|
|
3997
|
-
}]
|
|
3998
|
-
}
|
|
3999
|
-
},
|
|
4000
|
-
"Convert to uppercase": {
|
|
4001
|
-
t: 0,
|
|
4002
|
-
b: {
|
|
4003
|
-
t: 2,
|
|
4004
|
-
i: [{ t: 3 }],
|
|
4005
|
-
s: "Convertir a mayúsculas"
|
|
4006
|
-
}
|
|
4007
|
-
},
|
|
4008
|
-
Remove: {
|
|
4009
|
-
t: 0,
|
|
4010
|
-
b: {
|
|
4011
|
-
t: 2,
|
|
4012
|
-
i: [{ t: 3 }],
|
|
4013
|
-
s: "Eliminar"
|
|
4014
|
-
}
|
|
4015
|
-
}
|
|
4016
|
-
}
|
|
4017
|
-
}
|
|
4018
|
-
});
|
|
4019
|
-
}
|
|
4020
|
-
//#endregion
|
|
4021
|
-
//#region lib/components/inputs/VnInput.vue
|
|
4022
|
-
var so = {
|
|
4023
|
-
__name: "VnInput",
|
|
4024
|
-
props: /*@__PURE__*/ O({
|
|
4025
|
-
isOutlined: {
|
|
4026
|
-
type: Boolean,
|
|
4027
|
-
default: !1
|
|
4028
|
-
},
|
|
4029
|
-
info: {
|
|
4030
|
-
type: String,
|
|
4031
|
-
default: ""
|
|
4032
|
-
},
|
|
4033
|
-
clearable: {
|
|
4034
|
-
type: Boolean,
|
|
4035
|
-
default: !0
|
|
4036
|
-
},
|
|
4037
|
-
emptyToNull: {
|
|
4038
|
-
type: Boolean,
|
|
4039
|
-
default: !0
|
|
4040
|
-
},
|
|
4041
|
-
insertable: {
|
|
4042
|
-
type: Boolean,
|
|
4043
|
-
default: !1
|
|
4044
|
-
},
|
|
4045
|
-
maxlength: {
|
|
4046
|
-
type: Number,
|
|
4047
|
-
default: null
|
|
4048
|
-
},
|
|
4049
|
-
uppercase: {
|
|
4050
|
-
type: Boolean,
|
|
4051
|
-
default: !1
|
|
4052
|
-
},
|
|
4053
|
-
clearOnHover: {
|
|
4054
|
-
type: Boolean,
|
|
4055
|
-
default: !1
|
|
4056
|
-
}
|
|
4057
|
-
}, {
|
|
4058
|
-
modelValue: { default: null },
|
|
4059
|
-
modelModifiers: {}
|
|
4060
|
-
}),
|
|
4061
|
-
emits: /*@__PURE__*/ O(["remove"], ["update:modelValue"]),
|
|
4062
|
-
setup(e, { expose: t, emit: r }) {
|
|
4063
|
-
let i = G(), { isRequired: a, requiredFieldRule: o } = n(i), { t: s } = oe(), c = r, l = e, u = ne(e, "modelValue"), d = [
|
|
4064
|
-
"number",
|
|
4065
|
-
"search",
|
|
4066
|
-
"tel",
|
|
4067
|
-
"url",
|
|
4068
|
-
"password"
|
|
4069
|
-
], f = (e) => {
|
|
4070
|
-
let t = e;
|
|
4071
|
-
l.emptyToNull && t === "" && (t = null), u.value = t;
|
|
4072
|
-
}, p = V(null), m = V(!1), y = h(() => l.isOutlined ? {
|
|
4073
|
-
dense: !0,
|
|
4074
|
-
outlined: !0,
|
|
4075
|
-
rounded: !0
|
|
4076
|
-
} : {}), C = (e) => {
|
|
4077
|
-
p.value?.focus(e);
|
|
4078
|
-
}, w = (e) => {
|
|
4079
|
-
A(() => {
|
|
4080
|
-
let t = e.target || p.value?.$el?.querySelector("input"), n = e.target.type || t?.getAttribute("type");
|
|
4081
|
-
if (n !== "email") {
|
|
4082
|
-
if (!d.includes(n)) {
|
|
4083
|
-
if (t?.setSelectionRange) {
|
|
4084
|
-
let e = t.value?.length ?? 0;
|
|
4085
|
-
t.setSelectionRange(e, e);
|
|
4086
|
-
}
|
|
4087
|
-
return;
|
|
4088
|
-
}
|
|
4089
|
-
t?.select?.();
|
|
4090
|
-
}
|
|
4091
|
-
});
|
|
4092
|
-
};
|
|
4093
|
-
t({
|
|
4094
|
-
focus: C,
|
|
4095
|
-
vnInputRef: p
|
|
4096
|
-
});
|
|
4097
|
-
let T = h(() => [
|
|
4098
|
-
o,
|
|
4099
|
-
...i.rules ?? [],
|
|
4100
|
-
(e) => {
|
|
4101
|
-
let t = l.maxlength;
|
|
4102
|
-
if (t && +e?.length > t) return s("maxLength", { value: t });
|
|
4103
|
-
let { min: n, max: r } = i, a = n === void 0 ? void 0 : Number(n), o = r === void 0 ? void 0 : Number(r);
|
|
4104
|
-
return a !== void 0 && a >= 0 && Math.floor(e) < a ? s("inputMin", { value: a }) : o !== void 0 && o > 0 && Math.floor(e) > o ? s("inputMax", { value: o }) : !0;
|
|
4105
|
-
}
|
|
4106
|
-
]), E = (e) => {
|
|
4107
|
-
e.key !== "Backspace" && l.insertable && e.key.match(/[0-9]/) && D(e);
|
|
4108
|
-
}, D = (e) => {
|
|
4109
|
-
e.preventDefault();
|
|
4110
|
-
let t = e.target, n = t.selectionStart, r = l.maxlength, i = u.value;
|
|
4111
|
-
i ||= e.key;
|
|
4112
|
-
let a = e.key;
|
|
4113
|
-
a && !isNaN(a) && n < r && f(i.substring(0, n) + a + i.substring(n + 1)), A(() => {
|
|
4114
|
-
t.setSelectionRange(n + 1, n + 1);
|
|
4115
|
-
});
|
|
4116
|
-
}, O = () => {
|
|
4117
|
-
u.value = u.value?.toUpperCase() || "";
|
|
4118
|
-
};
|
|
4119
|
-
return L(() => {
|
|
4120
|
-
i.autofocus && C();
|
|
4121
|
-
}), (t, n) => (z(), v("div", {
|
|
4122
|
-
onMouseover: n[1] ||= (e) => m.value = !0,
|
|
4123
|
-
onMouseleave: n[2] ||= (e) => m.value = !1
|
|
4124
|
-
}, [S(ao, k({
|
|
4125
|
-
ref_key: "vnInputRef",
|
|
4126
|
-
ref: p,
|
|
4127
|
-
"model-value": W(u),
|
|
4128
|
-
"onUpdate:modelValue": f
|
|
4129
|
-
}, {
|
|
4130
|
-
...W(i),
|
|
4131
|
-
...y.value
|
|
4132
|
-
}, {
|
|
4133
|
-
class: { required: W(a) },
|
|
4134
|
-
onKeydown: E,
|
|
4135
|
-
onFocus: w,
|
|
4136
|
-
clearable: !1,
|
|
4137
|
-
rules: T.value,
|
|
4138
|
-
"lazy-rules": !0,
|
|
4139
|
-
"hide-bottom-space": "",
|
|
4140
|
-
"data-cy": (W(i)["data-cy"] ?? W(i).label) + "_input",
|
|
4141
|
-
dense: ""
|
|
4142
|
-
}), b({
|
|
4143
|
-
append: J(() => [
|
|
4144
|
-
re(S(Fe, {
|
|
4145
|
-
name: "close",
|
|
4146
|
-
size: "xs",
|
|
4147
|
-
class: "cursor-pointer",
|
|
4148
|
-
style: M({ visibility: m.value && W(u) && !W(i).disabled && !W(i).readonly && l.clearable ? "visible" : "hidden" }),
|
|
4149
|
-
onClick: n[0] ||= () => {
|
|
4150
|
-
f(null), p.value?.focus(), c("remove");
|
|
4151
|
-
}
|
|
4152
|
-
}, {
|
|
4153
|
-
default: J(() => [S(ia, null, {
|
|
4154
|
-
default: J(() => [x(te(W(s)("Remove")), 1)]),
|
|
4155
|
-
_: 1
|
|
4156
|
-
})]),
|
|
4157
|
-
_: 1
|
|
4158
|
-
}, 8, ["style"]), [[K, !e.clearOnHover || m.value]]),
|
|
4159
|
-
!W(i).disabled && !W(i).readonly && l.uppercase ? (z(), g(Fe, {
|
|
4160
|
-
key: 0,
|
|
4161
|
-
name: "match_case",
|
|
4162
|
-
size: "xs",
|
|
4163
|
-
onClick: O,
|
|
4164
|
-
class: "uppercase-icon"
|
|
4165
|
-
}, {
|
|
4166
|
-
default: J(() => [S(ia, null, {
|
|
4167
|
-
default: J(() => [x(te(W(s)("Convert to uppercase")), 1)]),
|
|
4168
|
-
_: 1
|
|
4169
|
-
})]),
|
|
4170
|
-
_: 1
|
|
4171
|
-
})) : _("", !0),
|
|
4172
|
-
t.$slots.append && !W(i).disabled ? H(t.$slots, "append", {}, void 0, void 0, 1) : _("", !0),
|
|
4173
|
-
e.info ? (z(), g(Fe, {
|
|
4174
|
-
key: 2,
|
|
4175
|
-
name: "info"
|
|
4176
|
-
}, {
|
|
4177
|
-
default: J(() => [S(ia, { "max-width": "350px" }, {
|
|
4178
|
-
default: J(() => [x(te(e.info), 1)]),
|
|
4179
|
-
_: 1
|
|
4180
|
-
})]),
|
|
4181
|
-
_: 1
|
|
4182
|
-
})) : _("", !0)
|
|
4183
|
-
]),
|
|
4184
|
-
_: 2
|
|
4185
|
-
}, [t.$slots.hint ? {
|
|
4186
|
-
name: "hint",
|
|
4187
|
-
fn: J(() => [H(t.$slots, "hint")]),
|
|
4188
|
-
key: "0"
|
|
4189
|
-
} : void 0, t.$slots.prepend ? {
|
|
4190
|
-
name: "prepend",
|
|
4191
|
-
fn: J(() => [H(t.$slots, "prepend")]),
|
|
4192
|
-
key: "1"
|
|
4193
|
-
} : void 0]), 1040, [
|
|
4194
|
-
"model-value",
|
|
4195
|
-
"class",
|
|
4196
|
-
"rules",
|
|
4197
|
-
"data-cy"
|
|
4198
|
-
])], 32));
|
|
4199
|
-
}
|
|
4200
|
-
};
|
|
4201
|
-
typeof oo == "function" && oo(so);
|
|
4202
|
-
//#endregion
|
|
4203
|
-
//#region lib/components/models/VnFetch.vue
|
|
4204
|
-
var co = {
|
|
4205
|
-
__name: "VnFetch",
|
|
4206
|
-
props: {
|
|
4207
|
-
autoLoad: {
|
|
4208
|
-
type: Boolean,
|
|
4209
|
-
default: !1
|
|
4210
|
-
},
|
|
4211
|
-
url: {
|
|
4212
|
-
type: String,
|
|
4213
|
-
default: ""
|
|
4214
|
-
},
|
|
4215
|
-
filter: {
|
|
4216
|
-
type: Object,
|
|
4217
|
-
default: null
|
|
4218
|
-
},
|
|
4219
|
-
where: {
|
|
4220
|
-
type: Object,
|
|
4221
|
-
default: null
|
|
4222
|
-
},
|
|
4223
|
-
sortBy: {
|
|
4224
|
-
type: String,
|
|
4225
|
-
default: ""
|
|
4226
|
-
},
|
|
4227
|
-
limit: {
|
|
4228
|
-
type: [String, Number],
|
|
4229
|
-
default: ""
|
|
4230
|
-
},
|
|
4231
|
-
params: {
|
|
4232
|
-
type: Object,
|
|
4233
|
-
default: null
|
|
4234
|
-
}
|
|
4235
|
-
},
|
|
4236
|
-
emits: ["onFetch"],
|
|
4237
|
-
setup(e, { expose: t, emit: n }) {
|
|
4238
|
-
let r = e, i = n;
|
|
4239
|
-
t({ fetch: a }), L(async () => {
|
|
4240
|
-
r.autoLoad && await a();
|
|
4241
|
-
});
|
|
4242
|
-
async function a(e = {}) {
|
|
4243
|
-
try {
|
|
4244
|
-
let t = {
|
|
4245
|
-
...e,
|
|
4246
|
-
...r.filter
|
|
4247
|
-
};
|
|
4248
|
-
r.where && !e.where && (t.where = r.where), r.sortBy && (t.order = r.sortBy), r.limit && (t.limit = r.limit);
|
|
4249
|
-
let { data: n } = await se.get(r.url, { params: {
|
|
4250
|
-
filter: JSON.stringify(t),
|
|
4251
|
-
...r.params
|
|
4252
|
-
} });
|
|
4253
|
-
return i("onFetch", n), n;
|
|
4254
|
-
} catch {}
|
|
4255
|
-
}
|
|
4256
|
-
return (e, t) => (z(), v("template"));
|
|
4257
|
-
}
|
|
4258
|
-
}, lo = /*#__PURE__*/ Y({
|
|
4259
|
-
name: "QInnerLoading",
|
|
4260
|
-
props: {
|
|
4261
|
-
...Kt,
|
|
4262
|
-
...Rn,
|
|
4263
|
-
showing: Boolean,
|
|
4264
|
-
color: String,
|
|
4265
|
-
size: {
|
|
4266
|
-
type: [String, Number],
|
|
4267
|
-
default: "42px"
|
|
4268
|
-
},
|
|
4269
|
-
label: String,
|
|
4270
|
-
labelClass: String,
|
|
4271
|
-
labelStyle: [
|
|
4272
|
-
String,
|
|
4273
|
-
Array,
|
|
4274
|
-
Object
|
|
4275
|
-
]
|
|
4276
|
-
},
|
|
4277
|
-
setup(e, { slots: t }) {
|
|
4278
|
-
let n = qt(e, c()), { transitionProps: r, transitionStyle: i } = Bn(e), a = h(() => "q-inner-loading q--avoid-card-border absolute-full column flex-center" + (n() ? " q-inner-loading--dark" : "")), o = h(() => "q-inner-loading__label" + (e.labelClass === void 0 ? "" : ` ${e.labelClass}`));
|
|
4279
|
-
function s() {
|
|
4280
|
-
let t = [T(Ve, {
|
|
4281
|
-
size: e.size,
|
|
4282
|
-
color: e.color
|
|
4283
|
-
})];
|
|
4284
|
-
return e.label !== void 0 && t.push(T("div", {
|
|
4285
|
-
class: o.value,
|
|
4286
|
-
style: e.labelStyle
|
|
4287
|
-
}, [e.label])), t;
|
|
4288
|
-
}
|
|
4289
|
-
function l() {
|
|
4290
|
-
return e.showing ? T("div", {
|
|
4291
|
-
class: a.value,
|
|
4292
|
-
style: i()
|
|
4293
|
-
}, t.default === void 0 ? s() : t.default()) : null;
|
|
4294
|
-
}
|
|
4295
|
-
return () => T(m, r(), l);
|
|
4296
|
-
}
|
|
4297
|
-
});
|
|
4298
|
-
//#endregion
|
|
4299
|
-
//#region ../lilium/node_modules/.pnpm/quasar@2.31.0/node_modules/quasar/src/components/form/QForm.js
|
|
4300
|
-
function uo(e) {
|
|
4301
|
-
let t;
|
|
4302
|
-
try {
|
|
4303
|
-
t = e.validate();
|
|
4304
|
-
} catch (t) {
|
|
4305
|
-
return Promise.resolve({
|
|
4306
|
-
valid: !1,
|
|
4307
|
-
comp: e,
|
|
4308
|
-
err: t
|
|
4309
|
-
});
|
|
4310
|
-
}
|
|
4311
|
-
return typeof t?.then == "function" ? t.then((t) => ({
|
|
4312
|
-
valid: t,
|
|
4313
|
-
comp: e
|
|
4314
|
-
}), (t) => ({
|
|
4315
|
-
valid: !1,
|
|
4316
|
-
comp: e,
|
|
4317
|
-
err: t
|
|
4318
|
-
})) : Promise.resolve({
|
|
4319
|
-
valid: t,
|
|
4320
|
-
comp: e
|
|
4321
|
-
});
|
|
4322
|
-
}
|
|
4323
|
-
var fo = /*#__PURE__*/ Y({
|
|
4324
|
-
name: "QForm",
|
|
4325
|
-
props: {
|
|
4326
|
-
autofocus: Boolean,
|
|
4327
|
-
noErrorFocus: Boolean,
|
|
4328
|
-
noResetFocus: Boolean,
|
|
4329
|
-
greedy: Boolean,
|
|
4330
|
-
onSubmit: Function
|
|
4331
|
-
},
|
|
4332
|
-
emits: [
|
|
4333
|
-
"reset",
|
|
4334
|
-
"validationSuccess",
|
|
4335
|
-
"validationError"
|
|
4336
|
-
],
|
|
4337
|
-
setup(e, { slots: t, emit: n }) {
|
|
4338
|
-
let r = w(), i = U(null), a = 0, o = [];
|
|
4339
|
-
function s(t) {
|
|
4340
|
-
let r = typeof t == "boolean" ? t : !e.noErrorFocus, i = ++a, s = (e, t) => {
|
|
4341
|
-
n(`validation${e ? "Success" : "Error"}`, t);
|
|
4342
|
-
};
|
|
4343
|
-
return (e.greedy ? Promise.all(o.map(uo)).then((e) => e.filter((e) => !e.valid)) : o.reduce((e, t) => e.then(() => uo(t)).then((e) => {
|
|
4344
|
-
if (!e.valid) throw e;
|
|
4345
|
-
}), Promise.resolve()).catch((e) => [e])).then((e) => {
|
|
4346
|
-
if (e === void 0 || e.length === 0) return i === a && s(!0), !0;
|
|
4347
|
-
if (i === a) {
|
|
4348
|
-
let { comp: t, err: n } = e[0];
|
|
4349
|
-
if (n !== void 0 && console.error(n), s(!1, t), r) {
|
|
4350
|
-
let t = e.find(({ comp: e }) => typeof e.focus == "function" && !vt(e.$));
|
|
4351
|
-
t !== void 0 && t.comp.focus();
|
|
4352
|
-
}
|
|
4353
|
-
}
|
|
4354
|
-
return !1;
|
|
4355
|
-
});
|
|
4356
|
-
}
|
|
4357
|
-
function c() {
|
|
4358
|
-
a++, o.forEach((e) => {
|
|
4359
|
-
typeof e.resetValidation == "function" && e.resetValidation();
|
|
4360
|
-
});
|
|
4361
|
-
}
|
|
4362
|
-
function u(t) {
|
|
4363
|
-
t !== void 0 && Je(t);
|
|
4364
|
-
let r = a + 1;
|
|
4365
|
-
s().then((i) => {
|
|
4366
|
-
r === a && i && (e.onSubmit === void 0 ? t?.target !== void 0 && typeof t.target.submit == "function" && t.target.submit() : n("submit", t));
|
|
4367
|
-
});
|
|
4368
|
-
}
|
|
4369
|
-
function d(t) {
|
|
4370
|
-
t !== void 0 && Je(t), n("reset"), A(() => {
|
|
4371
|
-
c(), e.autofocus && !e.noResetFocus && f();
|
|
4372
|
-
});
|
|
4373
|
-
}
|
|
4374
|
-
function f() {
|
|
4375
|
-
qn(() => {
|
|
4376
|
-
i.value !== null && (i.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || i.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || i.value.querySelector("[autofocus], [data-autofocus]") || Array.prototype.find.call(i.value.querySelectorAll("[tabindex]"), (e) => e.tabIndex !== -1))?.focus({ preventScroll: !0 });
|
|
4377
|
-
});
|
|
4378
|
-
}
|
|
4379
|
-
B(l, {
|
|
4380
|
-
bindComponent(e) {
|
|
4381
|
-
o.push(e);
|
|
4382
|
-
},
|
|
4383
|
-
unbindComponent(e) {
|
|
4384
|
-
let t = o.indexOf(e);
|
|
4385
|
-
t !== -1 && o.splice(t, 1);
|
|
4386
|
-
}
|
|
4387
|
-
});
|
|
4388
|
-
let p = !1;
|
|
4389
|
-
return I(() => {
|
|
4390
|
-
p = !0;
|
|
4391
|
-
}), N(() => {
|
|
4392
|
-
p && e.autofocus && f();
|
|
4393
|
-
}), L(() => {
|
|
4394
|
-
e.autofocus && f();
|
|
4395
|
-
}), Object.assign(r.proxy, {
|
|
4396
|
-
validate: s,
|
|
4397
|
-
resetValidation: c,
|
|
4398
|
-
submit: u,
|
|
4399
|
-
reset: d,
|
|
4400
|
-
focus: f,
|
|
4401
|
-
getValidationComponents: () => o
|
|
4402
|
-
}), () => T("form", {
|
|
4403
|
-
class: "q-form",
|
|
4404
|
-
ref: i,
|
|
4405
|
-
onSubmit: u,
|
|
4406
|
-
onReset: d
|
|
4407
|
-
}, X(t.default));
|
|
4408
|
-
}
|
|
4409
|
-
}), po = /*#__PURE__*/ Y({
|
|
4410
|
-
name: "QBtnGroup",
|
|
4411
|
-
props: {
|
|
4412
|
-
unelevated: Boolean,
|
|
4413
|
-
outline: Boolean,
|
|
4414
|
-
flat: Boolean,
|
|
4415
|
-
rounded: Boolean,
|
|
4416
|
-
square: Boolean,
|
|
4417
|
-
push: Boolean,
|
|
4418
|
-
stretch: Boolean,
|
|
4419
|
-
glossy: Boolean,
|
|
4420
|
-
spread: Boolean
|
|
4421
|
-
},
|
|
4422
|
-
setup(e, { slots: t }) {
|
|
4423
|
-
let n = h(() => {
|
|
4424
|
-
let t = [
|
|
4425
|
-
"unelevated",
|
|
4426
|
-
"outline",
|
|
4427
|
-
"flat",
|
|
4428
|
-
"rounded",
|
|
4429
|
-
"square",
|
|
4430
|
-
"push",
|
|
4431
|
-
"stretch",
|
|
4432
|
-
"glossy"
|
|
4433
|
-
].filter((t) => e[t]).map((e) => `q-btn-group--${e}`).join(" ");
|
|
4434
|
-
return `q-btn-group row no-wrap${t.length === 0 ? "" : " " + t}` + (e.spread ? " q-btn-group--spread" : " inline");
|
|
4435
|
-
});
|
|
4436
|
-
return () => T("div", { class: n.value }, X(t.default));
|
|
4437
|
-
}
|
|
4438
|
-
}), mo = {
|
|
4439
|
-
class: "column items-center full-width",
|
|
4440
|
-
style: { position: "relative" }
|
|
4441
|
-
}, ho = ["textContent"], go = /*#__PURE__*/ Jr({
|
|
4442
|
-
__name: "VnForm",
|
|
4443
|
-
props: {
|
|
4444
|
-
url: {
|
|
4445
|
-
type: String,
|
|
4446
|
-
default: ""
|
|
4447
|
-
},
|
|
4448
|
-
model: {
|
|
4449
|
-
type: String,
|
|
4450
|
-
default: null
|
|
4451
|
-
},
|
|
4452
|
-
filter: {
|
|
4453
|
-
type: Object,
|
|
4454
|
-
default: null
|
|
4455
|
-
},
|
|
4456
|
-
urlUpdate: {
|
|
4457
|
-
type: String,
|
|
4458
|
-
default: null
|
|
4459
|
-
},
|
|
4460
|
-
urlCreate: {
|
|
4461
|
-
type: String,
|
|
4462
|
-
default: null
|
|
4463
|
-
},
|
|
4464
|
-
defaultActions: {
|
|
4465
|
-
type: Boolean,
|
|
4466
|
-
default: !0
|
|
4467
|
-
},
|
|
4468
|
-
defaultButtons: {
|
|
4469
|
-
type: Object,
|
|
4470
|
-
default: () => {}
|
|
4471
|
-
},
|
|
4472
|
-
autoLoad: {
|
|
4473
|
-
type: Boolean,
|
|
4474
|
-
default: !1
|
|
4475
|
-
},
|
|
4476
|
-
formInitialData: {
|
|
4477
|
-
type: Object,
|
|
4478
|
-
default: () => {}
|
|
4479
|
-
},
|
|
4480
|
-
observeFormChanges: {
|
|
4481
|
-
type: Boolean,
|
|
4482
|
-
default: !0,
|
|
4483
|
-
description: "Esto se usa principalmente para permitir guardar sin hacer cambios (Útil para la feature de clonar ya que en este caso queremos poder guardar de primeras)"
|
|
4484
|
-
},
|
|
4485
|
-
mapper: {
|
|
4486
|
-
type: Function,
|
|
4487
|
-
default: d
|
|
4488
|
-
},
|
|
4489
|
-
clearStoreOnUnmount: {
|
|
4490
|
-
type: Boolean,
|
|
4491
|
-
default: !0
|
|
4492
|
-
},
|
|
4493
|
-
saveFn: {
|
|
4494
|
-
type: Function,
|
|
4495
|
-
default: null
|
|
4496
|
-
},
|
|
4497
|
-
goTo: {
|
|
4498
|
-
type: String,
|
|
4499
|
-
default: "",
|
|
4500
|
-
description: "It is used for redirect on click \"save and continue\""
|
|
4501
|
-
},
|
|
4502
|
-
reload: {
|
|
4503
|
-
type: Boolean,
|
|
4504
|
-
default: !0
|
|
4505
|
-
},
|
|
4506
|
-
defaultTrim: {
|
|
4507
|
-
type: Boolean,
|
|
4508
|
-
default: !0
|
|
4509
|
-
},
|
|
4510
|
-
maxWidth: {
|
|
4511
|
-
type: [String, Boolean],
|
|
4512
|
-
default: "800px"
|
|
4513
|
-
},
|
|
4514
|
-
onDataSaved: {
|
|
4515
|
-
type: Function,
|
|
4516
|
-
default: () => {}
|
|
4517
|
-
},
|
|
4518
|
-
preventSubmit: {
|
|
4519
|
-
type: Boolean,
|
|
4520
|
-
default: !1
|
|
4521
|
-
},
|
|
4522
|
-
customMethod: {
|
|
4523
|
-
type: String,
|
|
4524
|
-
default: null
|
|
4525
|
-
},
|
|
4526
|
-
formUrl: {
|
|
4527
|
-
type: [String, Boolean],
|
|
4528
|
-
default: "createForm"
|
|
4529
|
-
},
|
|
4530
|
-
paddingClass: {
|
|
4531
|
-
type: String,
|
|
4532
|
-
default: "q-pa-md"
|
|
4533
|
-
},
|
|
4534
|
-
showTitle: {
|
|
4535
|
-
type: Boolean,
|
|
4536
|
-
default: !1
|
|
4537
|
-
},
|
|
4538
|
-
title: {
|
|
4539
|
-
type: String,
|
|
4540
|
-
default: null
|
|
4541
|
-
}
|
|
4542
|
-
},
|
|
4543
|
-
emits: [
|
|
4544
|
-
"onFetch",
|
|
4545
|
-
"onDataSaved",
|
|
4546
|
-
"onDataSaveFail",
|
|
4547
|
-
"submit"
|
|
4548
|
-
],
|
|
4549
|
-
setup(t, { expose: n, emit: c }) {
|
|
4550
|
-
let { push: l } = ue(), d = ae.useQuasar(), m = o(), b = u(), { t: x } = oe(), { validate: C, validations: w } = e(), { notify: T } = s(), E = le(), D = V(null), O = t, j = c, M = h(() => O.model ?? `formModel_${E?.meta?.title ?? E.name}`).value, N = V(!1), P = i(M), F = V(!1), I = V(!1), B = V(!O.observeFormChanges), ee = {}, U = h(() => m.get(M)), G = V(), ne = h(() => D.value?.$el), K = h(() => ({
|
|
4551
|
-
save: {
|
|
4552
|
-
dataCy: "saveDefaultBtn",
|
|
4553
|
-
color: "primary",
|
|
4554
|
-
icon: "save",
|
|
4555
|
-
label: "globals.save",
|
|
4556
|
-
click: async (e) => re(e),
|
|
4557
|
-
type: "submit"
|
|
4558
|
-
},
|
|
4559
|
-
reset: {
|
|
4560
|
-
dataCy: "resetDefaultBtn",
|
|
4561
|
-
color: "primary",
|
|
4562
|
-
icon: "restart_alt",
|
|
4563
|
-
label: "globals.reset",
|
|
4564
|
-
click: () => he()
|
|
4565
|
-
},
|
|
4566
|
-
...O.defaultButtons
|
|
4567
|
-
})), re = async (e) => {
|
|
4568
|
-
await D.value.validate() && await pe(e);
|
|
4569
|
-
};
|
|
4570
|
-
function de() {
|
|
4571
|
-
ee = O.formUrl ? JSON.parse(E?.query[O.formUrl] ?? "{}") : void 0;
|
|
4572
|
-
}
|
|
4573
|
-
L(async () => {
|
|
4574
|
-
!P.store.url && O.url && P.setOptions({
|
|
4575
|
-
url: O.url,
|
|
4576
|
-
filter: O.filter
|
|
4577
|
-
}), de(), A(() => N.value = !0), O.formInitialData && ee && m.set(M, {
|
|
4578
|
-
...O.formInitialData,
|
|
4579
|
-
...ee
|
|
4580
|
-
}), O.formInitialData || (O.autoLoad && O.url ? await fe() : P.store.data && ge("onFetch", { val: P.store.data })), O.observeFormChanges && q(() => G.value, (e, t) => {
|
|
4581
|
-
t && (B.value = !I.value && JSON.stringify(e) !== JSON.stringify(U.value), I.value = !1);
|
|
4582
|
-
}, { deep: !0 });
|
|
4583
|
-
}), O.url || q(() => P.store.data, (e) => ge("onFetch", { val: e })), q(U, async (e) => {
|
|
4584
|
-
e && (G.value = JSON.parse(JSON.stringify(e))), await A(), ne.value && a(ne.value);
|
|
4585
|
-
}, { immediate: !0 }), q(() => [O.url, O.filter], async () => {
|
|
4586
|
-
m.set(M, null), he(), await fe();
|
|
4587
|
-
}), O.formInitialData && q(() => O.formInitialData, (e) => {
|
|
4588
|
-
e && m.set(M, {
|
|
4589
|
-
...e,
|
|
4590
|
-
...ee
|
|
4591
|
-
});
|
|
4592
|
-
}), ce((e, t, n) => {
|
|
4593
|
-
B.value && O.observeFormChanges ? d.dialog({
|
|
4594
|
-
component: Qr,
|
|
4595
|
-
componentProps: {
|
|
4596
|
-
title: x("globals.unsavedPopup.title"),
|
|
4597
|
-
message: x("globals.unsavedPopup.subtitle"),
|
|
4598
|
-
promise: () => n()
|
|
4599
|
-
}
|
|
4600
|
-
}) : n();
|
|
4601
|
-
}), R(() => {
|
|
4602
|
-
if (B.value) return m.set(M, U.value);
|
|
4603
|
-
O.clearStoreOnUnmount && m.unset(M);
|
|
4604
|
-
});
|
|
4605
|
-
async function fe() {
|
|
4606
|
-
try {
|
|
4607
|
-
let e;
|
|
4608
|
-
e = O.model ? (await P.addFilter({ filter: O.filter })).response?.data : (await se.get(O.url, { params: { filter: JSON.stringify(O.filter) } })).data, Array.isArray(e) && (e = e[0] ?? {}), ge("onFetch", { val: e });
|
|
4609
|
-
} catch (e) {
|
|
4610
|
-
throw m.set(M, {}), e;
|
|
4611
|
-
}
|
|
4612
|
-
}
|
|
4613
|
-
async function pe() {
|
|
4614
|
-
if (O.observeFormChanges && !B.value) return T("globals.noChanges", "negative");
|
|
4615
|
-
F.value = !0;
|
|
4616
|
-
try {
|
|
4617
|
-
G.value = X(G.value);
|
|
4618
|
-
let e = O.urlCreate ? "post" : "patch", t = e === "post" ? O.mapper(G.value) : O.mapper(G.value, U.value), n = O.urlCreate || O.urlUpdate || O.url || P.store.url, r = await Promise.resolve(O.saveFn ? O.saveFn(t) : se[O.customMethod ?? e](n, t));
|
|
4619
|
-
O.urlCreate && T("globals.dataCreated", "positive"), B.value = !1, ge("onDataSaved", {
|
|
4620
|
-
val: G.value,
|
|
4621
|
-
res: r?.data,
|
|
4622
|
-
old: U.value,
|
|
4623
|
-
rawRes: r
|
|
4624
|
-
}), O.reload && await P.fetch({});
|
|
4625
|
-
} catch (e) {
|
|
4626
|
-
throw j("onDataSaveFail", G.value), e;
|
|
4627
|
-
} finally {
|
|
4628
|
-
F.value = !1;
|
|
4629
|
-
}
|
|
4630
|
-
}
|
|
4631
|
-
async function me() {
|
|
4632
|
-
await pe(!0), l({ path: O.goTo });
|
|
4633
|
-
}
|
|
4634
|
-
function he() {
|
|
4635
|
-
G.value = JSON.parse(JSON.stringify(U.value)), ge("onFetch", { val: U.value }), O.observeFormChanges && (B.value = !1, I.value = !0);
|
|
4636
|
-
}
|
|
4637
|
-
function Y(e, t, n) {
|
|
4638
|
-
t(() => {
|
|
4639
|
-
let { options: t, filterFn: r } = n;
|
|
4640
|
-
t.value = r(t, e);
|
|
4641
|
-
}, (e) => {
|
|
4642
|
-
e.setOptionIndex(-1), e.moveOptionSelection(1, !0);
|
|
4643
|
-
});
|
|
4644
|
-
}
|
|
4645
|
-
async function ge(e, { val: t, res: n, old: r, rawRes: i } = {
|
|
4646
|
-
val: null,
|
|
4647
|
-
res: null,
|
|
4648
|
-
old: null,
|
|
4649
|
-
rawRes: null
|
|
4650
|
-
}) {
|
|
4651
|
-
m.set(M, t), O.url || (P.store.data = t), j(e, m.get(M), n, r, G, i), ne.value && a(ne.value);
|
|
4652
|
-
}
|
|
4653
|
-
function X(e) {
|
|
4654
|
-
if (!O.defaultTrim) return e;
|
|
4655
|
-
for (let t in e) typeof e[t] == "string" && (e[t] = e[t].trim());
|
|
4656
|
-
return e;
|
|
4657
|
-
}
|
|
4658
|
-
async function _e(e) {
|
|
4659
|
-
if (e.key === "Enter" && !O.preventSubmit && B.value) {
|
|
4660
|
-
let t = e.target;
|
|
4661
|
-
if (t.type == "textarea" && e.shiftKey) {
|
|
4662
|
-
let { selectionStart: e, selectionEnd: n } = t;
|
|
4663
|
-
t.value = t.value.substring(0, e) + "\n" + t.value.substring(n), e = n = e + 1;
|
|
4664
|
-
return;
|
|
4665
|
-
}
|
|
4666
|
-
await D.value.submit(e);
|
|
4667
|
-
}
|
|
4668
|
-
}
|
|
4669
|
-
return n({
|
|
4670
|
-
submitForm: re,
|
|
4671
|
-
myForm: D,
|
|
4672
|
-
save: pe,
|
|
4673
|
-
isLoading: F,
|
|
4674
|
-
hasChanges: B,
|
|
4675
|
-
reset: he,
|
|
4676
|
-
fetch: fe,
|
|
4677
|
-
formData: G
|
|
4678
|
-
}), (e, n) => (z(), v(f, null, [y("div", mo, [S(lo, {
|
|
4679
|
-
showing: F.value,
|
|
4680
|
-
label: W(x)("globals.pleaseWait"),
|
|
4681
|
-
color: "primary",
|
|
4682
|
-
style: { "min-width": "100%" }
|
|
4683
|
-
}, {
|
|
4684
|
-
default: J(() => [S(W(ci), { size: "md" })]),
|
|
4685
|
-
_: 1
|
|
4686
|
-
}, 8, ["showing", "label"]), G.value ? (z(), g(fo, k({
|
|
4687
|
-
key: 0,
|
|
4688
|
-
id: "vnForm"
|
|
4689
|
-
}, e.$attrs, {
|
|
4690
|
-
ref_key: "myForm",
|
|
4691
|
-
ref: D,
|
|
4692
|
-
onSubmit: ie(pe, ["prevent"]),
|
|
4693
|
-
onKeyup: ie(_e, ["prevent"]),
|
|
4694
|
-
onReset: he,
|
|
4695
|
-
class: ["full-width", [t.paddingClass]],
|
|
4696
|
-
style: {
|
|
4697
|
-
maxWidth: t.maxWidth || "none",
|
|
4698
|
-
width: "100%"
|
|
4699
|
-
}
|
|
4700
|
-
}), {
|
|
4701
|
-
default: J(() => [S(Jt, { class: "q-pa-none" }, {
|
|
4702
|
-
default: J(() => [t.showTitle ? (z(), g(Wt, {
|
|
4703
|
-
key: 0,
|
|
4704
|
-
class: "vn-basic-data__header q-px-none q-pb-none"
|
|
4705
|
-
}, {
|
|
4706
|
-
default: J(() => [y("span", {
|
|
4707
|
-
class: "text-h6",
|
|
4708
|
-
textContent: te(t.title || e.$t("globals.pageTitles.basicData"))
|
|
4709
|
-
}, null, 8, ho)]),
|
|
4710
|
-
_: 1
|
|
4711
|
-
})) : _("", !0), G.value ? H(e.$slots, "form", {
|
|
4712
|
-
data: G.value,
|
|
4713
|
-
validate: W(C),
|
|
4714
|
-
validations: W(w)(),
|
|
4715
|
-
filter: Y
|
|
4716
|
-
}, void 0, !0, 1) : (z(), g(W(si), { key: 2 }))]),
|
|
4717
|
-
_: 3
|
|
4718
|
-
})]),
|
|
4719
|
-
_: 3
|
|
4720
|
-
}, 16, ["class", "style"])) : _("", !0)]), O.defaultActions && W(b)?.isSubToolbarShown() && N.value ? (z(), g(p, {
|
|
4721
|
-
key: 0,
|
|
4722
|
-
to: "#st-actions"
|
|
4723
|
-
}, [S(po, {
|
|
4724
|
-
push: "",
|
|
4725
|
-
class: "q-gutter-x-sm"
|
|
4726
|
-
}, {
|
|
4727
|
-
default: J(() => [
|
|
4728
|
-
H(e.$slots, "moreActions", {}, void 0, !0),
|
|
4729
|
-
S(Ut, {
|
|
4730
|
-
label: W(r)(K.value.reset.label),
|
|
4731
|
-
color: K.value.reset.color,
|
|
4732
|
-
icon: K.value.reset.icon,
|
|
4733
|
-
flat: "",
|
|
4734
|
-
onClick: K.value.reset.click,
|
|
4735
|
-
disable: !B.value,
|
|
4736
|
-
title: W(x)(K.value.reset.label),
|
|
4737
|
-
"data-cy": "resetDefaultBtn"
|
|
4738
|
-
}, null, 8, [
|
|
4739
|
-
"label",
|
|
4740
|
-
"color",
|
|
4741
|
-
"icon",
|
|
4742
|
-
"onClick",
|
|
4743
|
-
"disable",
|
|
4744
|
-
"title"
|
|
4745
|
-
]),
|
|
4746
|
-
S(Ut, {
|
|
4747
|
-
"data-cy": "saveDefaultBtn",
|
|
4748
|
-
label: W(r)("globals.save"),
|
|
4749
|
-
color: "primary",
|
|
4750
|
-
icon: "save",
|
|
4751
|
-
onClick: K.value.save.click,
|
|
4752
|
-
disable: !B.value,
|
|
4753
|
-
title: W(x)(K.value.save.label),
|
|
4754
|
-
flat: !!O.goTo
|
|
4755
|
-
}, null, 8, [
|
|
4756
|
-
"label",
|
|
4757
|
-
"onClick",
|
|
4758
|
-
"disable",
|
|
4759
|
-
"title",
|
|
4760
|
-
"flat"
|
|
4761
|
-
]),
|
|
4762
|
-
O.goTo ? (z(), g(Ut, {
|
|
4763
|
-
key: 0,
|
|
4764
|
-
"data-cy": "saveAndContinueDefaultBtn",
|
|
4765
|
-
onClick: me,
|
|
4766
|
-
label: W(r)("globals.saveAndContinue") + " " + W(x)("globals." + O.goTo.split("/").pop()),
|
|
4767
|
-
title: W(x)("globals.saveAndContinue") + " " + W(x)("globals." + O.goTo.split("/").pop()),
|
|
4768
|
-
disable: !B.value,
|
|
4769
|
-
color: "primary",
|
|
4770
|
-
icon: "save"
|
|
4771
|
-
}, null, 8, [
|
|
4772
|
-
"label",
|
|
4773
|
-
"title",
|
|
4774
|
-
"disable"
|
|
4775
|
-
])) : _("", !0)
|
|
4776
|
-
]),
|
|
4777
|
-
_: 3
|
|
4778
|
-
})])) : _("", !0)], 64));
|
|
4779
|
-
}
|
|
4780
|
-
}, [["__scopeId", "data-v-4f7a49f7"]]), _o = /* @__PURE__ */ t({
|
|
4781
|
-
VnConfirm: () => Qr,
|
|
4782
|
-
VnFetch: () => co,
|
|
4783
|
-
VnForm: () => go,
|
|
4784
|
-
VnInput: () => so,
|
|
4785
|
-
VnSkeletonForm: () => si,
|
|
4786
|
-
VnSpinner: () => ci
|
|
4787
|
-
});
|
|
4788
|
-
//#endregion
|
|
4789
|
-
export { ci as a, so as i, go as n, si as o, co as r, Qr as s, _o as t };
|