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