shared-ritm 1.0.48 → 1.0.50
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/shared-ritm.es.js
CHANGED
|
@@ -226,7 +226,7 @@ function ha(e) {
|
|
|
226
226
|
function je(e) {
|
|
227
227
|
e.stopPropagation();
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Te(e) {
|
|
230
230
|
e.cancelable !== !1 && e.preventDefault();
|
|
231
231
|
}
|
|
232
232
|
function we(e) {
|
|
@@ -236,9 +236,9 @@ function Jn(e, t) {
|
|
|
236
236
|
if (e === void 0 || t === !0 && e.__dragPrevented === !0)
|
|
237
237
|
return;
|
|
238
238
|
const n = t === !0 ? (o) => {
|
|
239
|
-
o.__dragPrevented = !0, o.addEventListener("dragstart",
|
|
239
|
+
o.__dragPrevented = !0, o.addEventListener("dragstart", Te, _e.notPassiveCapture);
|
|
240
240
|
} : (o) => {
|
|
241
|
-
delete o.__dragPrevented, o.removeEventListener("dragstart",
|
|
241
|
+
delete o.__dragPrevented, o.removeEventListener("dragstart", Te, _e.notPassiveCapture);
|
|
242
242
|
};
|
|
243
243
|
e.querySelectorAll("a, img").forEach(n);
|
|
244
244
|
}
|
|
@@ -271,7 +271,7 @@ const Li = {
|
|
|
271
271
|
...Li,
|
|
272
272
|
contextMenu: Boolean
|
|
273
273
|
};
|
|
274
|
-
function
|
|
274
|
+
function $i({
|
|
275
275
|
showing: e,
|
|
276
276
|
avoidEmit: t,
|
|
277
277
|
// required for QPopupProxy (true)
|
|
@@ -295,11 +295,11 @@ function Ti({
|
|
|
295
295
|
Et(p, 13) === !0 && u.toggle(p);
|
|
296
296
|
},
|
|
297
297
|
contextClick(p) {
|
|
298
|
-
r.hide(p),
|
|
298
|
+
r.hide(p), Te(p), ge(() => {
|
|
299
299
|
r.show(p), p.qAnchorHandled = !0;
|
|
300
300
|
});
|
|
301
301
|
},
|
|
302
|
-
prevent:
|
|
302
|
+
prevent: Te,
|
|
303
303
|
mobileTouch(p) {
|
|
304
304
|
if (u.mobileCleanup(p), c(p) !== !0)
|
|
305
305
|
return;
|
|
@@ -370,7 +370,7 @@ function Ti({
|
|
|
370
370
|
anchorEvents: u
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Ti(e, t) {
|
|
374
374
|
const n = H(null);
|
|
375
375
|
let o;
|
|
376
376
|
function r(a, c) {
|
|
@@ -804,8 +804,8 @@ function Qo(e, t = 0) {
|
|
|
804
804
|
maxWidth: d
|
|
805
805
|
} = e;
|
|
806
806
|
if (xe.is.ios === !0 && window.visualViewport !== void 0) {
|
|
807
|
-
const
|
|
808
|
-
R !== _r && (
|
|
807
|
+
const T = document.body.style, { offsetLeft: R, offsetTop: D } = window.visualViewport;
|
|
808
|
+
R !== _r && (T.setProperty("--q-pe-left", R + "px"), _r = R), D !== xr && (T.setProperty("--q-pe-top", D + "px"), xr = D);
|
|
809
809
|
}
|
|
810
810
|
const { scrollLeft: g, scrollTop: p } = n, f = a === void 0 ? Ba(r, u === !0 ? [0, 0] : o) : qa(r, a, o);
|
|
811
811
|
Object.assign(n.style, {
|
|
@@ -820,15 +820,15 @@ function Qo(e, t = 0) {
|
|
|
820
820
|
const { offsetWidth: y, offsetHeight: m } = n, { elWidth: E, elHeight: w } = c === !0 || u === !0 ? { elWidth: Math.max(f.width, y), elHeight: u === !0 ? Math.max(f.height, m) : m } : { elWidth: y, elHeight: m };
|
|
821
821
|
let B = { maxWidth: d, maxHeight: s };
|
|
822
822
|
(c === !0 || u === !0) && (B.minWidth = f.width + "px", u === !0 && (B.minHeight = f.height + "px")), Object.assign(n.style, B);
|
|
823
|
-
const
|
|
824
|
-
let M = Er(f,
|
|
823
|
+
const $ = Ma(E, w);
|
|
824
|
+
let M = Er(f, $, i, l);
|
|
825
825
|
if (a === void 0 || o === void 0)
|
|
826
|
-
to(M, f,
|
|
826
|
+
to(M, f, $, i, l);
|
|
827
827
|
else {
|
|
828
|
-
const { top:
|
|
829
|
-
to(M, f,
|
|
828
|
+
const { top: T, left: R } = M;
|
|
829
|
+
to(M, f, $, i, l);
|
|
830
830
|
let D = !1;
|
|
831
|
-
if (M.top !==
|
|
831
|
+
if (M.top !== T) {
|
|
832
832
|
D = !0;
|
|
833
833
|
const x = 2 * o[1];
|
|
834
834
|
f.center = f.top -= x, f.bottom -= x + 2;
|
|
@@ -838,7 +838,7 @@ function Qo(e, t = 0) {
|
|
|
838
838
|
const x = 2 * o[0];
|
|
839
839
|
f.middle = f.left -= x, f.right -= x + 2;
|
|
840
840
|
}
|
|
841
|
-
D === !0 && (M = Er(f,
|
|
841
|
+
D === !0 && (M = Er(f, $, i, l), to(M, f, $, i, l));
|
|
842
842
|
}
|
|
843
843
|
B = {
|
|
844
844
|
top: M.top + "px",
|
|
@@ -930,9 +930,9 @@ const qn = de({
|
|
|
930
930
|
],
|
|
931
931
|
setup(e, { slots: t, emit: n, attrs: o }) {
|
|
932
932
|
let r, i;
|
|
933
|
-
const l = ue(), { proxy: { $q: a } } = l, c = H(null), u = H(!1), s = h(() => Bn(e.anchor, a.lang.rtl)), d = h(() => Bn(e.self, a.lang.rtl)), g = h(() => e.persistent !== !0), { registerTick: p, removeTick: f } = Uo(), { registerTimeout: y } = Fn(), { transitionProps: m, transitionStyle: E } = No(e), { localScrollTarget: w, changeScrollEvent: B, unconfigureScrollTarget:
|
|
933
|
+
const l = ue(), { proxy: { $q: a } } = l, c = H(null), u = H(!1), s = h(() => Bn(e.anchor, a.lang.rtl)), d = h(() => Bn(e.self, a.lang.rtl)), g = h(() => e.persistent !== !0), { registerTick: p, removeTick: f } = Uo(), { registerTimeout: y } = Fn(), { transitionProps: m, transitionStyle: E } = No(e), { localScrollTarget: w, changeScrollEvent: B, unconfigureScrollTarget: $ } = Ti(e, ee), { anchorEl: M, canShow: T, anchorEvents: R } = $i({ showing: u, configureAnchorEl: Q }), { show: D, hide: x } = on({
|
|
934
934
|
showing: u,
|
|
935
|
-
canShow:
|
|
935
|
+
canShow: T,
|
|
936
936
|
handleShow: z,
|
|
937
937
|
handleHide: L,
|
|
938
938
|
hideOnRouteChange: g,
|
|
@@ -976,7 +976,7 @@ const qn = de({
|
|
|
976
976
|
}, e.transitionDuration);
|
|
977
977
|
}
|
|
978
978
|
function X() {
|
|
979
|
-
i !== void 0 && (i.disconnect(), i = void 0), r !== void 0 && (r(), r = void 0),
|
|
979
|
+
i !== void 0 && (i.disconnect(), i = void 0), r !== void 0 && (r(), r = void 0), $(), yt(R, "tooltipTemp");
|
|
980
980
|
}
|
|
981
981
|
function N() {
|
|
982
982
|
Qo({
|
|
@@ -1075,7 +1075,7 @@ const Br = "0 0 24 24", qr = (e) => e, no = (e) => `ionicons ${e}`, Hi = {
|
|
|
1075
1075
|
sym_o_: "-outlined",
|
|
1076
1076
|
sym_r_: "-rounded",
|
|
1077
1077
|
sym_s_: "-sharp"
|
|
1078
|
-
}, La = new RegExp("^(" + Object.keys(Hi).join("|") + ")"),
|
|
1078
|
+
}, La = new RegExp("^(" + Object.keys(Hi).join("|") + ")"), $a = new RegExp("^(" + Object.keys(zi).join("|") + ")"), Mr = new RegExp("^(" + Object.keys(Di).join("|") + ")"), Ta = /^[Mm]\s?[-+]?\.?\d/, Ra = /^img:/, Aa = /^svguse:/, Va = /^ion-/, Oa = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Ue = de({
|
|
1079
1079
|
name: "QIcon",
|
|
1080
1080
|
props: {
|
|
1081
1081
|
...Hn,
|
|
@@ -1107,7 +1107,7 @@ const Br = "0 0 24 24", qr = (e) => e, no = (e) => `ionicons ${e}`, Hi = {
|
|
|
1107
1107
|
content: s.content !== void 0 ? s.content : " "
|
|
1108
1108
|
};
|
|
1109
1109
|
}
|
|
1110
|
-
if (
|
|
1110
|
+
if (Ta.test(a) === !0) {
|
|
1111
1111
|
const [s, d = Br] = a.split("|");
|
|
1112
1112
|
return {
|
|
1113
1113
|
svg: !0,
|
|
@@ -1145,7 +1145,7 @@ const Br = "0 0 24 24", qr = (e) => e, no = (e) => `ionicons ${e}`, Hi = {
|
|
|
1145
1145
|
s !== null && (a = a.substring(6), l += Di[s[1]]), c = a;
|
|
1146
1146
|
} else {
|
|
1147
1147
|
l = "notranslate material-icons";
|
|
1148
|
-
const s = a.match(
|
|
1148
|
+
const s = a.match($a);
|
|
1149
1149
|
s !== null && (a = a.substring(2), l += zi[s[1]]), c = a;
|
|
1150
1150
|
}
|
|
1151
1151
|
return {
|
|
@@ -1243,18 +1243,18 @@ function Lr(e, t, n, o) {
|
|
|
1243
1243
|
opacity: 0
|
|
1244
1244
|
}), l.className = `q-ripple${r ? " text-" + r : ""}`, l.setAttribute("dir", "ltr"), l.appendChild(a), t.appendChild(l);
|
|
1245
1245
|
const B = () => {
|
|
1246
|
-
l.remove(), clearTimeout(
|
|
1246
|
+
l.remove(), clearTimeout($);
|
|
1247
1247
|
};
|
|
1248
1248
|
n.abort.push(B);
|
|
1249
|
-
let
|
|
1250
|
-
a.classList.add("q-ripple__inner--enter"), a.style.transform = `translate3d(${y},${E},0) scale3d(1,1,1)`, a.style.opacity = 0.2,
|
|
1251
|
-
a.classList.remove("q-ripple__inner--enter"), a.classList.add("q-ripple__inner--leave"), a.style.opacity = 0,
|
|
1249
|
+
let $ = setTimeout(() => {
|
|
1250
|
+
a.classList.add("q-ripple__inner--enter"), a.style.transform = `translate3d(${y},${E},0) scale3d(1,1,1)`, a.style.opacity = 0.2, $ = setTimeout(() => {
|
|
1251
|
+
a.classList.remove("q-ripple__inner--enter"), a.classList.add("q-ripple__inner--leave"), a.style.opacity = 0, $ = setTimeout(() => {
|
|
1252
1252
|
l.remove(), n.abort.splice(n.abort.indexOf(B), 1);
|
|
1253
1253
|
}, 275);
|
|
1254
1254
|
}, 250);
|
|
1255
1255
|
}, 50);
|
|
1256
1256
|
}
|
|
1257
|
-
function
|
|
1257
|
+
function $r(e, { modifiers: t, value: n, arg: o }) {
|
|
1258
1258
|
const r = Object.assign({}, e.cfg.ripple, t, n);
|
|
1259
1259
|
e.modifiers = {
|
|
1260
1260
|
early: r.early === !0,
|
|
@@ -1283,7 +1283,7 @@ const Dn = Bi(
|
|
|
1283
1283
|
o.enabled === !0 && r.qSkipRipple !== !0 && Et(r, o.modifiers.keyCodes) === !0 && r.type === `key${o.modifiers.early === !0 ? "down" : "up"}` && Lr(r, e, o, !0);
|
|
1284
1284
|
}, 300)
|
|
1285
1285
|
};
|
|
1286
|
-
|
|
1286
|
+
$r(o, t), e.__qripple = o, ot(o, "main", [
|
|
1287
1287
|
[e, "pointerdown", "start", "passive"],
|
|
1288
1288
|
[e, "click", "start", "passive"],
|
|
1289
1289
|
[e, "keydown", "keystart", "passive"],
|
|
@@ -1293,7 +1293,7 @@ const Dn = Bi(
|
|
|
1293
1293
|
updated(e, t) {
|
|
1294
1294
|
if (t.oldValue !== t.value) {
|
|
1295
1295
|
const n = e.__qripple;
|
|
1296
|
-
n !== void 0 && (n.enabled = t.value !== !1, n.enabled === !0 && Object(t.value) === t.value &&
|
|
1296
|
+
n !== void 0 && (n.enabled = t.value !== !1, n.enabled === !0 && Object(t.value) === t.value && $r(n, t));
|
|
1297
1297
|
}
|
|
1298
1298
|
},
|
|
1299
1299
|
beforeUnmount(e) {
|
|
@@ -1323,7 +1323,7 @@ function za(e) {
|
|
|
1323
1323
|
return `${e.vertical === !0 ? "items" : "justify"}-${Ni[t]}`;
|
|
1324
1324
|
});
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function Tr(e) {
|
|
1327
1327
|
return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
|
|
1328
1328
|
}
|
|
1329
1329
|
function Rr(e, t) {
|
|
@@ -1390,7 +1390,7 @@ function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1390
1390
|
} : {}), f = h(() => {
|
|
1391
1391
|
if (s.value === !1)
|
|
1392
1392
|
return -1;
|
|
1393
|
-
const { matched: M } = u.value, { length:
|
|
1393
|
+
const { matched: M } = u.value, { length: T } = M, R = M[T - 1];
|
|
1394
1394
|
if (R === void 0)
|
|
1395
1395
|
return -1;
|
|
1396
1396
|
const D = r.$route.matched;
|
|
@@ -1401,11 +1401,11 @@ function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1401
1401
|
);
|
|
1402
1402
|
if (x !== -1)
|
|
1403
1403
|
return x;
|
|
1404
|
-
const q =
|
|
1404
|
+
const q = Tr(M[T - 2]);
|
|
1405
1405
|
return (
|
|
1406
1406
|
// we are dealing with nested routes
|
|
1407
|
-
|
|
1408
|
-
Rr.bind(null, M[
|
|
1407
|
+
T > 1 && Tr(R) === q && D[D.length - 1].path !== q ? D.findIndex(
|
|
1408
|
+
Rr.bind(null, M[T - 2])
|
|
1409
1409
|
) : x
|
|
1410
1410
|
);
|
|
1411
1411
|
}), y = h(
|
|
@@ -1420,7 +1420,7 @@ function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
return null;
|
|
1422
1422
|
}
|
|
1423
|
-
function B(M, { returnRouterError:
|
|
1423
|
+
function B(M, { returnRouterError: T, to: R = o.to, replace: D = o.replace } = {}) {
|
|
1424
1424
|
if (o.disable === !0)
|
|
1425
1425
|
return M.preventDefault(), Promise.resolve(!1);
|
|
1426
1426
|
if (
|
|
@@ -1431,14 +1431,14 @@ function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1431
1431
|
return Promise.resolve(!1);
|
|
1432
1432
|
M.preventDefault();
|
|
1433
1433
|
const x = r.$router[D === !0 ? "replace" : "push"](R);
|
|
1434
|
-
return
|
|
1434
|
+
return T === !0 ? x : x.then(() => {
|
|
1435
1435
|
}).catch(() => {
|
|
1436
1436
|
});
|
|
1437
1437
|
}
|
|
1438
|
-
function
|
|
1438
|
+
function $(M) {
|
|
1439
1439
|
if (s.value === !0) {
|
|
1440
|
-
const
|
|
1441
|
-
i("click", M,
|
|
1440
|
+
const T = (R) => B(M, R);
|
|
1441
|
+
i("click", M, T), M.defaultPrevented !== !0 && T();
|
|
1442
1442
|
} else
|
|
1443
1443
|
i("click", M);
|
|
1444
1444
|
}
|
|
@@ -1454,7 +1454,7 @@ function Wi({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1454
1454
|
linkAttrs: p,
|
|
1455
1455
|
getLink: w,
|
|
1456
1456
|
navigateToRouterLink: B,
|
|
1457
|
-
navigateOnClick:
|
|
1457
|
+
navigateOnClick: $
|
|
1458
1458
|
};
|
|
1459
1459
|
}
|
|
1460
1460
|
const Vr = {
|
|
@@ -1589,7 +1589,7 @@ const Mo = de({
|
|
|
1589
1589
|
), w = h(() => e.disable === !0 || e.ripple === !1 ? !1 : {
|
|
1590
1590
|
keyCodes: c.value === !0 ? [13, 32] : [13],
|
|
1591
1591
|
...e.ripple === !0 ? {} : e.ripple
|
|
1592
|
-
}), B = h(() => ({ center: e.round })),
|
|
1592
|
+
}), B = h(() => ({ center: e.round })), $ = h(() => {
|
|
1593
1593
|
const L = Math.max(0, Math.min(100, e.percentage));
|
|
1594
1594
|
return L > 0 ? { transition: "transform 0.6s", transform: `translateX(${L - 100}%)` } : {};
|
|
1595
1595
|
}), M = h(() => {
|
|
@@ -1617,7 +1617,7 @@ const Mo = de({
|
|
|
1617
1617
|
// needed; especially for disabled <a> tags
|
|
1618
1618
|
onClick: we
|
|
1619
1619
|
};
|
|
1620
|
-
}),
|
|
1620
|
+
}), T = h(() => ({
|
|
1621
1621
|
ref: g,
|
|
1622
1622
|
class: "q-btn q-btn-item non-selectable no-outline " + r.value,
|
|
1623
1623
|
style: i.value,
|
|
@@ -1657,7 +1657,7 @@ const Mo = de({
|
|
|
1657
1657
|
if (L !== void 0 && L.type === "keyup") {
|
|
1658
1658
|
if (Ot === g.value && Et(L, [13, 32]) === !0) {
|
|
1659
1659
|
const X = new MouseEvent("click", L);
|
|
1660
|
-
X.qKeyEvent = !0, L.defaultPrevented === !0 &&
|
|
1660
|
+
X.qKeyEvent = !0, L.defaultPrevented === !0 && Te(X), L.cancelBubble === !0 && je(X), g.value.dispatchEvent(X), we(L), L.qKeyEvent = !0;
|
|
1661
1661
|
}
|
|
1662
1662
|
n("keyup", L);
|
|
1663
1663
|
}
|
|
@@ -1706,7 +1706,7 @@ const Mo = de({
|
|
|
1706
1706
|
}, [
|
|
1707
1707
|
k("span", {
|
|
1708
1708
|
class: "q-btn__progress-indicator fit block",
|
|
1709
|
-
style:
|
|
1709
|
+
style: $.value
|
|
1710
1710
|
})
|
|
1711
1711
|
])
|
|
1712
1712
|
), X.push(
|
|
@@ -1725,7 +1725,7 @@ const Mo = de({
|
|
|
1725
1725
|
), Ht(
|
|
1726
1726
|
k(
|
|
1727
1727
|
u.value,
|
|
1728
|
-
|
|
1728
|
+
T.value,
|
|
1729
1729
|
X
|
|
1730
1730
|
),
|
|
1731
1731
|
[[
|
|
@@ -1910,7 +1910,7 @@ function ut(e, t) {
|
|
|
1910
1910
|
return h(() => e.dark === null ? t.dark.isActive : e.dark);
|
|
1911
1911
|
}
|
|
1912
1912
|
const ss = "_q_", rn = "_q_l_", Qi = "_q_pc_", us = "_q_fo_";
|
|
1913
|
-
function
|
|
1913
|
+
function $e() {
|
|
1914
1914
|
}
|
|
1915
1915
|
function cs({ validate: e, resetValidation: t, requiresQForm: n }) {
|
|
1916
1916
|
const o = _t(us, !1);
|
|
@@ -2005,24 +2005,24 @@ function hs(e, t) {
|
|
|
2005
2005
|
const w = ++a, B = t.value !== !0 ? () => {
|
|
2006
2006
|
l.value = !0;
|
|
2007
2007
|
} : () => {
|
|
2008
|
-
},
|
|
2009
|
-
|
|
2008
|
+
}, $ = (T, R) => {
|
|
2009
|
+
T === !0 && B(), r.value = T, i.value = R || null, t.value = !1;
|
|
2010
2010
|
}, M = [];
|
|
2011
|
-
for (let
|
|
2012
|
-
const R = n.rules[
|
|
2011
|
+
for (let T = 0; T < n.rules.length; T++) {
|
|
2012
|
+
const R = n.rules[T];
|
|
2013
2013
|
let D;
|
|
2014
2014
|
if (typeof R == "function" ? D = R(E, ro) : typeof R == "string" && ro[R] !== void 0 && (D = ro[R](E)), D === !1 || typeof D == "string")
|
|
2015
|
-
return
|
|
2015
|
+
return $(!0, D), !1;
|
|
2016
2016
|
D !== !0 && D !== void 0 && M.push(D);
|
|
2017
2017
|
}
|
|
2018
|
-
return M.length === 0 ? (
|
|
2019
|
-
(
|
|
2020
|
-
if (
|
|
2021
|
-
return w === a &&
|
|
2022
|
-
const R =
|
|
2023
|
-
return w === a &&
|
|
2018
|
+
return M.length === 0 ? ($(!1), !0) : (t.value = !0, Promise.all(M).then(
|
|
2019
|
+
(T) => {
|
|
2020
|
+
if (T === void 0 || Array.isArray(T) === !1 || T.length === 0)
|
|
2021
|
+
return w === a && $(!1), !0;
|
|
2022
|
+
const R = T.find((D) => D === !1 || typeof D == "string");
|
|
2023
|
+
return w === a && $(R !== void 0, R), R === void 0;
|
|
2024
2024
|
},
|
|
2025
|
-
(
|
|
2025
|
+
(T) => (w === a && (console.error(T), $(!0)), !1)
|
|
2026
2026
|
));
|
|
2027
2027
|
}
|
|
2028
2028
|
const m = Zi(y, 0);
|
|
@@ -2151,7 +2151,7 @@ function Jo(e) {
|
|
|
2151
2151
|
() => t.labelSlot === !0 || t.label !== void 0
|
|
2152
2152
|
), B = h(
|
|
2153
2153
|
() => "q-field__label no-pointer-events absolute ellipsis" + (t.labelColor !== void 0 && s.value !== !0 ? ` text-${t.labelColor}` : "")
|
|
2154
|
-
),
|
|
2154
|
+
), $ = h(() => ({
|
|
2155
2155
|
id: e.targetUid.value,
|
|
2156
2156
|
editable: e.editable.value,
|
|
2157
2157
|
focused: e.focused.value,
|
|
@@ -2162,16 +2162,16 @@ function Jo(e) {
|
|
|
2162
2162
|
const A = {};
|
|
2163
2163
|
return e.targetUid.value && (A.for = e.targetUid.value), t.disable === !0 && (A["aria-disabled"] = "true"), A;
|
|
2164
2164
|
});
|
|
2165
|
-
function
|
|
2165
|
+
function T() {
|
|
2166
2166
|
const A = document.activeElement;
|
|
2167
2167
|
let Q = e.targetRef !== void 0 && e.targetRef.value;
|
|
2168
2168
|
Q && (A === null || A.id !== e.targetUid.value) && (Q.hasAttribute("tabindex") === !0 || (Q = Q.querySelector("[tabindex]")), Q && Q !== A && Q.focus({ preventScroll: !0 }));
|
|
2169
2169
|
}
|
|
2170
2170
|
function R() {
|
|
2171
|
-
In(
|
|
2171
|
+
In(T);
|
|
2172
2172
|
}
|
|
2173
2173
|
function D() {
|
|
2174
|
-
pa(
|
|
2174
|
+
pa(T);
|
|
2175
2175
|
const A = document.activeElement;
|
|
2176
2176
|
A !== null && e.rootRef.value.contains(A) && A.blur();
|
|
2177
2177
|
}
|
|
@@ -2198,7 +2198,7 @@ function Jo(e) {
|
|
|
2198
2198
|
k("div", {
|
|
2199
2199
|
class: "q-field__prepend q-field__marginal row no-wrap items-center",
|
|
2200
2200
|
key: "prepend",
|
|
2201
|
-
onClick:
|
|
2201
|
+
onClick: Te
|
|
2202
2202
|
}, o.prepend())
|
|
2203
2203
|
), A.push(
|
|
2204
2204
|
k("div", {
|
|
@@ -2230,7 +2230,7 @@ function Jo(e) {
|
|
|
2230
2230
|
k("div", {
|
|
2231
2231
|
class: "q-field__append q-field__marginal row no-wrap items-center",
|
|
2232
2232
|
key: "append",
|
|
2233
|
-
onClick:
|
|
2233
|
+
onClick: Te
|
|
2234
2234
|
}, o.append())
|
|
2235
2235
|
), e.getInnerAppend !== void 0 && A.push(
|
|
2236
2236
|
N("inner-append", e.getInnerAppend())
|
|
@@ -2253,7 +2253,7 @@ function Jo(e) {
|
|
|
2253
2253
|
tabindex: -1,
|
|
2254
2254
|
...e.splitAttrs.attributes.value,
|
|
2255
2255
|
"data-autofocus": t.autofocus === !0 || void 0
|
|
2256
|
-
}, o.control(
|
|
2256
|
+
}, o.control($.value))
|
|
2257
2257
|
), w.value === !0 && A.push(
|
|
2258
2258
|
k("div", {
|
|
2259
2259
|
class: B.value
|
|
@@ -2276,7 +2276,7 @@ function Jo(e) {
|
|
|
2276
2276
|
}, A);
|
|
2277
2277
|
return k("div", {
|
|
2278
2278
|
class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace !== !0 ? "animated" : "stale"),
|
|
2279
|
-
onClick:
|
|
2279
|
+
onClick: Te
|
|
2280
2280
|
}, [
|
|
2281
2281
|
t.hideBottomSpace === !0 ? C : k(St, { name: "q-transition--field-message" }, () => C),
|
|
2282
2282
|
ee === !0 ? k("div", {
|
|
@@ -2316,7 +2316,7 @@ function Jo(e) {
|
|
|
2316
2316
|
}, [
|
|
2317
2317
|
o.before !== void 0 ? k("div", {
|
|
2318
2318
|
class: "q-field__before q-field__marginal row no-wrap items-center",
|
|
2319
|
-
onClick:
|
|
2319
|
+
onClick: Te
|
|
2320
2320
|
}, o.before()) : null,
|
|
2321
2321
|
k("div", {
|
|
2322
2322
|
class: "q-field__inner relative-position col self-stretch"
|
|
@@ -2331,7 +2331,7 @@ function Jo(e) {
|
|
|
2331
2331
|
]),
|
|
2332
2332
|
o.after !== void 0 ? k("div", {
|
|
2333
2333
|
class: "q-field__after q-field__marginal row no-wrap items-center",
|
|
2334
|
-
onClick:
|
|
2334
|
+
onClick: Te
|
|
2335
2335
|
}, o.after()) : null
|
|
2336
2336
|
]);
|
|
2337
2337
|
};
|
|
@@ -2534,7 +2534,7 @@ function gs(e, t, n, o) {
|
|
|
2534
2534
|
function B(x) {
|
|
2535
2535
|
t("click", x), u = void 0;
|
|
2536
2536
|
}
|
|
2537
|
-
function
|
|
2537
|
+
function $(x) {
|
|
2538
2538
|
if (t("keydown", x), zo(x) === !0 || x.altKey === !0)
|
|
2539
2539
|
return;
|
|
2540
2540
|
const q = o.value, O = q.selectionStart, S = q.selectionEnd;
|
|
@@ -2551,7 +2551,7 @@ function gs(e, t, n, o) {
|
|
|
2551
2551
|
if (x == null || x === "")
|
|
2552
2552
|
return "";
|
|
2553
2553
|
if (e.reverseFillMask === !0)
|
|
2554
|
-
return
|
|
2554
|
+
return T(x);
|
|
2555
2555
|
const q = l;
|
|
2556
2556
|
let O = 0, S = "";
|
|
2557
2557
|
for (let z = 0; z < q.length; z++) {
|
|
@@ -2565,7 +2565,7 @@ function gs(e, t, n, o) {
|
|
|
2565
2565
|
}
|
|
2566
2566
|
return S;
|
|
2567
2567
|
}
|
|
2568
|
-
function
|
|
2568
|
+
function T(x) {
|
|
2569
2569
|
const q = l, O = r.indexOf(Ce);
|
|
2570
2570
|
let S = x.length - 1, z = "";
|
|
2571
2571
|
for (let L = q.length - 1; L >= 0 && S !== -1; L--) {
|
|
@@ -2593,7 +2593,7 @@ function gs(e, t, n, o) {
|
|
|
2593
2593
|
hasMask: s,
|
|
2594
2594
|
moveCursorForPaste: E,
|
|
2595
2595
|
updateMaskValue: m,
|
|
2596
|
-
onMaskedKeydown:
|
|
2596
|
+
onMaskedKeydown: $,
|
|
2597
2597
|
onMaskedClick: B
|
|
2598
2598
|
};
|
|
2599
2599
|
}
|
|
@@ -2683,13 +2683,13 @@ const Ji = de({
|
|
|
2683
2683
|
onMaskedClick: w
|
|
2684
2684
|
} = gs(e, t, N, d), B = bs(
|
|
2685
2685
|
e
|
|
2686
|
-
),
|
|
2686
|
+
), $ = h(() => Jt(p.value)), M = Gi(L), T = Go({ changeEvent: !0 }), R = h(
|
|
2687
2687
|
() => e.type === "textarea" || e.autogrow === !0
|
|
2688
2688
|
), D = h(
|
|
2689
2689
|
() => R.value === !0 || ["text", "search", "url", "tel", "password"].includes(e.type)
|
|
2690
2690
|
), x = h(() => {
|
|
2691
2691
|
const b = {
|
|
2692
|
-
|
|
2692
|
+
...T.splitAttrs.listeners.value,
|
|
2693
2693
|
onInput: L,
|
|
2694
2694
|
onPaste: z,
|
|
2695
2695
|
// Safari < 10.2 & UIWebView doesn't fire compositionend when
|
|
@@ -2708,8 +2708,8 @@ const Ji = de({
|
|
|
2708
2708
|
rows: e.type === "textarea" ? 6 : void 0,
|
|
2709
2709
|
"aria-label": e.label,
|
|
2710
2710
|
name: g.value,
|
|
2711
|
-
|
|
2712
|
-
id:
|
|
2711
|
+
...T.splitAttrs.attributes.value,
|
|
2712
|
+
id: T.targetUid.value,
|
|
2713
2713
|
maxlength: e.maxlength,
|
|
2714
2714
|
disabled: e.disable === !0,
|
|
2715
2715
|
readonly: e.readonly === !0
|
|
@@ -2733,7 +2733,7 @@ const Ji = de({
|
|
|
2733
2733
|
function O() {
|
|
2734
2734
|
In(() => {
|
|
2735
2735
|
const b = document.activeElement;
|
|
2736
|
-
d.value !== null && d.value !== b && (b === null || b.id !==
|
|
2736
|
+
d.value !== null && d.value !== b && (b === null || b.id !== T.targetUid.value) && d.value.focus({ preventScroll: !0 });
|
|
2737
2737
|
});
|
|
2738
2738
|
}
|
|
2739
2739
|
function S() {
|
|
@@ -2802,7 +2802,7 @@ const Ji = de({
|
|
|
2802
2802
|
Q();
|
|
2803
2803
|
}), Qe(() => {
|
|
2804
2804
|
e.autogrow === !0 && j();
|
|
2805
|
-
}), Object.assign(
|
|
2805
|
+
}), Object.assign(T, {
|
|
2806
2806
|
innerValue: p,
|
|
2807
2807
|
fieldClass: h(
|
|
2808
2808
|
() => `q-${R.value === !0 ? "textarea" : "input"}` + (e.autogrow === !0 ? " q-textarea--autogrow" : "")
|
|
@@ -2812,9 +2812,9 @@ const Ji = de({
|
|
|
2812
2812
|
),
|
|
2813
2813
|
inputRef: d,
|
|
2814
2814
|
emitValue: N,
|
|
2815
|
-
hasValue:
|
|
2815
|
+
hasValue: $,
|
|
2816
2816
|
floatingLabel: h(
|
|
2817
|
-
() =>
|
|
2817
|
+
() => $.value === !0 && (e.type !== "number" || isNaN(p.value) === !1) || Jt(e.displayValue)
|
|
2818
2818
|
),
|
|
2819
2819
|
getControl: () => k(R.value === !0 ? "textarea" : "input", {
|
|
2820
2820
|
ref: d,
|
|
@@ -2834,7 +2834,7 @@ const Ji = de({
|
|
|
2834
2834
|
k("span", e.shadowText)
|
|
2835
2835
|
])
|
|
2836
2836
|
});
|
|
2837
|
-
const C = Jo(
|
|
2837
|
+
const C = Jo(T);
|
|
2838
2838
|
return Object.assign(o, {
|
|
2839
2839
|
focus: O,
|
|
2840
2840
|
select: S,
|
|
@@ -3112,7 +3112,7 @@ const qs = {
|
|
|
3112
3112
|
disable: Boolean,
|
|
3113
3113
|
tabindex: [String, Number]
|
|
3114
3114
|
}, Ls = ["update:modelValue"];
|
|
3115
|
-
function
|
|
3115
|
+
function $s(e, t) {
|
|
3116
3116
|
const { props: n, slots: o, emit: r, proxy: i } = ue(), { $q: l } = i, a = ut(n, l), c = H(null), { refocusTargetEl: u, refocusTarget: s } = Bs(n, c), d = zn(n, qs), g = h(
|
|
3117
3117
|
() => n.val !== void 0 && Array.isArray(n.modelValue)
|
|
3118
3118
|
), p = h(() => {
|
|
@@ -3125,7 +3125,7 @@ function Ts(e, t) {
|
|
|
3125
3125
|
), B = h(() => {
|
|
3126
3126
|
const S = f.value === !0 ? "truthy" : y.value === !0 ? "falsy" : "indet", z = n.color !== void 0 && (n.keepColor === !0 || f.value === !0) ? ` text-${n.color}` : "";
|
|
3127
3127
|
return `q-${e}__inner relative-position non-selectable q-${e}__inner--${S}${z}`;
|
|
3128
|
-
}),
|
|
3128
|
+
}), $ = h(() => {
|
|
3129
3129
|
const S = { type: "checkbox" };
|
|
3130
3130
|
return n.name !== void 0 && Object.assign(S, {
|
|
3131
3131
|
// see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
|
|
@@ -3134,7 +3134,7 @@ function Ts(e, t) {
|
|
|
3134
3134
|
name: n.name,
|
|
3135
3135
|
value: g.value === !0 ? n.val : n.trueValue
|
|
3136
3136
|
}), S;
|
|
3137
|
-
}), M = ys(
|
|
3137
|
+
}), M = ys($), T = h(() => {
|
|
3138
3138
|
const S = {
|
|
3139
3139
|
tabindex: E.value,
|
|
3140
3140
|
role: "switch",
|
|
@@ -3194,14 +3194,14 @@ function Ts(e, t) {
|
|
|
3194
3194
|
), k("div", {
|
|
3195
3195
|
ref: c,
|
|
3196
3196
|
class: w.value,
|
|
3197
|
-
|
|
3197
|
+
...T.value,
|
|
3198
3198
|
onClick: R,
|
|
3199
3199
|
onKeydown: x,
|
|
3200
3200
|
onKeyup: q
|
|
3201
3201
|
}, z);
|
|
3202
3202
|
};
|
|
3203
3203
|
}
|
|
3204
|
-
const
|
|
3204
|
+
const Ts = de({
|
|
3205
3205
|
name: "QToggle",
|
|
3206
3206
|
props: {
|
|
3207
3207
|
...Ms,
|
|
@@ -3230,7 +3230,7 @@ const $s = de({
|
|
|
3230
3230
|
)
|
|
3231
3231
|
];
|
|
3232
3232
|
}
|
|
3233
|
-
return
|
|
3233
|
+
return $s("toggle", t);
|
|
3234
3234
|
}
|
|
3235
3235
|
}), G1 = /* @__PURE__ */ He({
|
|
3236
3236
|
__name: "index",
|
|
@@ -3244,7 +3244,7 @@ const $s = de({
|
|
|
3244
3244
|
set: (i) => o("update:modelValue", i)
|
|
3245
3245
|
});
|
|
3246
3246
|
return (i, l) => (Y(), ie("div", null, [
|
|
3247
|
-
ve(
|
|
3247
|
+
ve(Ts, {
|
|
3248
3248
|
modelValue: r.value,
|
|
3249
3249
|
"onUpdate:modelValue": l[0] || (l[0] = (a) => r.value = a)
|
|
3250
3250
|
}, null, 8, ["modelValue"])
|
|
@@ -3257,11 +3257,11 @@ const $s = de({
|
|
|
3257
3257
|
styleFn: Function
|
|
3258
3258
|
},
|
|
3259
3259
|
setup(e, { slots: t }) {
|
|
3260
|
-
const { proxy: { $q: n } } = ue(), o = _t(rn,
|
|
3261
|
-
if (o ===
|
|
3262
|
-
return console.error("QPage needs to be a deep child of QLayout"),
|
|
3263
|
-
if (_t(Qi,
|
|
3264
|
-
return console.error("QPage needs to be child of QPageContainer"),
|
|
3260
|
+
const { proxy: { $q: n } } = ue(), o = _t(rn, $e);
|
|
3261
|
+
if (o === $e)
|
|
3262
|
+
return console.error("QPage needs to be a deep child of QLayout"), $e;
|
|
3263
|
+
if (_t(Qi, $e) === $e)
|
|
3264
|
+
return console.error("QPage needs to be child of QPageContainer"), $e;
|
|
3265
3265
|
const i = h(() => {
|
|
3266
3266
|
const a = (o.header.space === !0 ? o.header.size : 0) + (o.footer.space === !0 ? o.footer.size : 0);
|
|
3267
3267
|
if (typeof e.styleFn == "function") {
|
|
@@ -3282,9 +3282,9 @@ const $s = de({
|
|
|
3282
3282
|
}), As = de({
|
|
3283
3283
|
name: "QPageContainer",
|
|
3284
3284
|
setup(e, { slots: t }) {
|
|
3285
|
-
const { proxy: { $q: n } } = ue(), o = _t(rn,
|
|
3286
|
-
if (o ===
|
|
3287
|
-
return console.error("QPageContainer needs to be child of QLayout"),
|
|
3285
|
+
const { proxy: { $q: n } } = ue(), o = _t(rn, $e);
|
|
3286
|
+
if (o === $e)
|
|
3287
|
+
return console.error("QPageContainer needs to be child of QLayout"), $e;
|
|
3288
3288
|
xi(Qi, !0);
|
|
3289
3289
|
const r = h(() => {
|
|
3290
3290
|
const i = {};
|
|
@@ -3456,30 +3456,30 @@ const el = typeof ResizeObserver < "u", Ur = el === !0 ? {} : {
|
|
|
3456
3456
|
[o.lang.rtl === !0 ? "left" : "right"]: `-${u.value}px`,
|
|
3457
3457
|
width: `calc(100% + ${u.value}px)`
|
|
3458
3458
|
} : null);
|
|
3459
|
-
function f(
|
|
3459
|
+
function f($) {
|
|
3460
3460
|
if (e.container === !0 || document.qScrollPrevented !== !0) {
|
|
3461
3461
|
const M = {
|
|
3462
|
-
position:
|
|
3463
|
-
direction:
|
|
3464
|
-
directionChanged:
|
|
3465
|
-
inflectionPoint:
|
|
3466
|
-
delta:
|
|
3462
|
+
position: $.position.top,
|
|
3463
|
+
direction: $.direction,
|
|
3464
|
+
directionChanged: $.directionChanged,
|
|
3465
|
+
inflectionPoint: $.inflectionPoint.top,
|
|
3466
|
+
delta: $.delta.top
|
|
3467
3467
|
};
|
|
3468
3468
|
a.value = M, e.onScroll !== void 0 && n("scroll", M);
|
|
3469
3469
|
}
|
|
3470
3470
|
}
|
|
3471
|
-
function y(
|
|
3472
|
-
const { height: M, width:
|
|
3471
|
+
function y($) {
|
|
3472
|
+
const { height: M, width: T } = $;
|
|
3473
3473
|
let R = !1;
|
|
3474
|
-
i.value !== M && (R = !0, i.value = M, e.onScrollHeight !== void 0 && n("scrollHeight", M), E()), l.value !==
|
|
3474
|
+
i.value !== M && (R = !0, i.value = M, e.onScrollHeight !== void 0 && n("scrollHeight", M), E()), l.value !== T && (R = !0, l.value = T), R === !0 && e.onResize !== void 0 && n("resize", $);
|
|
3475
3475
|
}
|
|
3476
|
-
function m({ height:
|
|
3477
|
-
c.value !==
|
|
3476
|
+
function m({ height: $ }) {
|
|
3477
|
+
c.value !== $ && (c.value = $, E());
|
|
3478
3478
|
}
|
|
3479
3479
|
function E() {
|
|
3480
3480
|
if (e.container === !0) {
|
|
3481
|
-
const
|
|
3482
|
-
u.value !==
|
|
3481
|
+
const $ = i.value > c.value ? bn() : 0;
|
|
3482
|
+
u.value !== $ && (u.value = $);
|
|
3483
3483
|
}
|
|
3484
3484
|
}
|
|
3485
3485
|
let w = null;
|
|
@@ -3493,11 +3493,11 @@ const el = typeof ResizeObserver < "u", Ur = el === !0 ? {} : {
|
|
|
3493
3493
|
scrollbarWidth: u,
|
|
3494
3494
|
totalWidth: h(() => l.value + u.value),
|
|
3495
3495
|
rows: h(() => {
|
|
3496
|
-
const
|
|
3496
|
+
const $ = e.view.toLowerCase().split(" ");
|
|
3497
3497
|
return {
|
|
3498
|
-
top:
|
|
3499
|
-
middle:
|
|
3500
|
-
bottom:
|
|
3498
|
+
top: $[0].split(""),
|
|
3499
|
+
middle: $[1].split(""),
|
|
3500
|
+
bottom: $[2].split("")
|
|
3501
3501
|
};
|
|
3502
3502
|
}),
|
|
3503
3503
|
header: jt({ size: 0, offset: 0, space: !1 }),
|
|
@@ -3510,12 +3510,12 @@ const el = typeof ResizeObserver < "u", Ur = el === !0 ? {} : {
|
|
|
3510
3510
|
w = null, document.body.classList.remove("q-body--layout-animate");
|
|
3511
3511
|
}, 155);
|
|
3512
3512
|
},
|
|
3513
|
-
update(
|
|
3514
|
-
B[
|
|
3513
|
+
update($, M, T) {
|
|
3514
|
+
B[$][M] = T;
|
|
3515
3515
|
}
|
|
3516
3516
|
};
|
|
3517
3517
|
if (xi(rn, B), bn() > 0) {
|
|
3518
|
-
let
|
|
3518
|
+
let $ = function() {
|
|
3519
3519
|
R = null, D.classList.remove("hide-scrollbar");
|
|
3520
3520
|
}, M = function() {
|
|
3521
3521
|
if (R === null) {
|
|
@@ -3524,20 +3524,20 @@ const el = typeof ResizeObserver < "u", Ur = el === !0 ? {} : {
|
|
|
3524
3524
|
D.classList.add("hide-scrollbar");
|
|
3525
3525
|
} else
|
|
3526
3526
|
clearTimeout(R);
|
|
3527
|
-
R = setTimeout(
|
|
3528
|
-
},
|
|
3529
|
-
R !== null && x === "remove" && (clearTimeout(R),
|
|
3527
|
+
R = setTimeout($, 300);
|
|
3528
|
+
}, T = function(x) {
|
|
3529
|
+
R !== null && x === "remove" && (clearTimeout(R), $()), window[`${x}EventListener`]("resize", M);
|
|
3530
3530
|
}, R = null;
|
|
3531
3531
|
const D = document.body;
|
|
3532
3532
|
G(
|
|
3533
3533
|
() => e.container !== !0 ? "add" : "remove",
|
|
3534
|
-
|
|
3535
|
-
), e.container !== !0 &&
|
|
3536
|
-
|
|
3534
|
+
T
|
|
3535
|
+
), e.container !== !0 && T("add"), ki(() => {
|
|
3536
|
+
T("remove");
|
|
3537
3537
|
});
|
|
3538
3538
|
}
|
|
3539
3539
|
return () => {
|
|
3540
|
-
const
|
|
3540
|
+
const $ = nt(t.default, [
|
|
3541
3541
|
k(Os, { onScroll: f }),
|
|
3542
3542
|
k(Lo, { onResize: y })
|
|
3543
3543
|
]), M = k("div", {
|
|
@@ -3545,7 +3545,7 @@ const el = typeof ResizeObserver < "u", Ur = el === !0 ? {} : {
|
|
|
3545
3545
|
style: d.value,
|
|
3546
3546
|
ref: e.container === !0 ? void 0 : r,
|
|
3547
3547
|
tabindex: -1
|
|
3548
|
-
},
|
|
3548
|
+
}, $);
|
|
3549
3549
|
return e.container === !0 ? k("div", {
|
|
3550
3550
|
class: "q-layout-container overflow-hidden",
|
|
3551
3551
|
ref: r
|
|
@@ -3784,8 +3784,8 @@ const el = typeof ResizeObserver < "u", Ur = el === !0 ? {} : {
|
|
|
3784
3784
|
function E(B) {
|
|
3785
3785
|
if (p.value === !0 && Et(B, [13, 32]) === !0) {
|
|
3786
3786
|
we(B), B.qKeyEvent = !0;
|
|
3787
|
-
const
|
|
3788
|
-
|
|
3787
|
+
const $ = new MouseEvent("click", B);
|
|
3788
|
+
$.qKeyEvent = !0, s.value.dispatchEvent($);
|
|
3789
3789
|
}
|
|
3790
3790
|
n("keyup", B);
|
|
3791
3791
|
}
|
|
@@ -3842,7 +3842,7 @@ const el = typeof ResizeObserver < "u", Ur = el === !0 ? {} : {
|
|
|
3842
3842
|
);
|
|
3843
3843
|
return () => k("div", { class: n.value }, Le(t.default));
|
|
3844
3844
|
}
|
|
3845
|
-
}),
|
|
3845
|
+
}), $o = de({
|
|
3846
3846
|
name: "QItemLabel",
|
|
3847
3847
|
props: {
|
|
3848
3848
|
overline: Boolean,
|
|
@@ -3881,7 +3881,7 @@ function nl(e) {
|
|
|
3881
3881
|
function ol(e) {
|
|
3882
3882
|
xe.is.desktop === !0 && (wt.push(e), wt.length === 1 && nl("addEventListener"));
|
|
3883
3883
|
}
|
|
3884
|
-
function
|
|
3884
|
+
function $n(e) {
|
|
3885
3885
|
const t = wt.indexOf(e);
|
|
3886
3886
|
t !== -1 && (wt.splice(t, 1), wt.length === 0 && nl("removeEventListener"));
|
|
3887
3887
|
}
|
|
@@ -3892,7 +3892,7 @@ function rl(e) {
|
|
|
3892
3892
|
function il(e) {
|
|
3893
3893
|
xe.is.desktop === !0 && (kt.push(e), kt.length === 1 && document.body.addEventListener("focusin", rl));
|
|
3894
3894
|
}
|
|
3895
|
-
function
|
|
3895
|
+
function To(e) {
|
|
3896
3896
|
const t = kt.indexOf(e);
|
|
3897
3897
|
t !== -1 && (kt.splice(t, 1), kt.length === 0 && document.body.removeEventListener("focusin", rl));
|
|
3898
3898
|
}
|
|
@@ -3945,7 +3945,7 @@ const Xs = de({
|
|
|
3945
3945
|
let r = null, i, l, a;
|
|
3946
3946
|
const c = ue(), { proxy: u } = c, { $q: s } = u, d = H(null), g = H(!1), p = h(
|
|
3947
3947
|
() => e.persistent !== !0 && e.noRouteDismiss !== !0
|
|
3948
|
-
), f = ut(e, s), { registerTick: y, removeTick: m } = Uo(), { registerTimeout: E } = Fn(), { transitionProps: w, transitionStyle: B } = No(e), { localScrollTarget:
|
|
3948
|
+
), f = ut(e, s), { registerTick: y, removeTick: m } = Uo(), { registerTimeout: E } = Fn(), { transitionProps: w, transitionStyle: B } = No(e), { localScrollTarget: $, changeScrollEvent: M, unconfigureScrollTarget: T } = Ti(e, I), { anchorEl: R, canShow: D } = $i({ showing: g }), { hide: x } = on({
|
|
3949
3949
|
showing: g,
|
|
3950
3950
|
canShow: D,
|
|
3951
3951
|
handleShow: ee,
|
|
@@ -3971,7 +3971,7 @@ const Xs = de({
|
|
|
3971
3971
|
() => g.value === !0 && e.persistent !== !0
|
|
3972
3972
|
);
|
|
3973
3973
|
G(A, (F) => {
|
|
3974
|
-
F === !0 ? (ol(V), Ii(z)) : (
|
|
3974
|
+
F === !0 ? (ol(V), Ii(z)) : ($n(V), xn(z));
|
|
3975
3975
|
});
|
|
3976
3976
|
function Q() {
|
|
3977
3977
|
In(() => {
|
|
@@ -4003,10 +4003,10 @@ const Xs = de({
|
|
|
4003
4003
|
}, e.transitionDuration);
|
|
4004
4004
|
}
|
|
4005
4005
|
function b(F) {
|
|
4006
|
-
i = void 0, l !== void 0 && (l(), l = void 0), (F === !0 || g.value === !0) && (
|
|
4006
|
+
i = void 0, l !== void 0 && (l(), l = void 0), (F === !0 || g.value === !0) && (To(te), T(), xn(z), $n(V)), F !== !0 && (r = null);
|
|
4007
4007
|
}
|
|
4008
4008
|
function I() {
|
|
4009
|
-
(R.value !== null || e.scrollTarget !== void 0) && (
|
|
4009
|
+
(R.value !== null || e.scrollTarget !== void 0) && ($.value = Ko(R.value, e.scrollTarget), M($.value, U));
|
|
4010
4010
|
}
|
|
4011
4011
|
function J(F) {
|
|
4012
4012
|
a !== !0 ? (ka(u, F), n("click", F)) : a = !1;
|
|
@@ -4187,7 +4187,7 @@ const eu = {
|
|
|
4187
4187
|
e,
|
|
4188
4188
|
() => Yr[e.position][0],
|
|
4189
4189
|
() => Yr[e.position][1]
|
|
4190
|
-
), B = h(() => w.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal:
|
|
4190
|
+
), B = h(() => w.value + (e.backdropFilter !== void 0 ? `;backdrop-filter:${e.backdropFilter};-webkit-backdrop-filter:${e.backdropFilter}` : "")), { showPortal: $, hidePortal: M, portalIsAccessible: T, renderPortal: R } = Do(
|
|
4191
4191
|
r,
|
|
4192
4192
|
i,
|
|
4193
4193
|
te,
|
|
@@ -4207,10 +4207,10 @@ const eu = {
|
|
|
4207
4207
|
G(() => e.maximized, (V) => {
|
|
4208
4208
|
l.value === !0 && C(V);
|
|
4209
4209
|
}), G(S, (V) => {
|
|
4210
|
-
p(V), V === !0 ? (il(J), ol(Q)) : (
|
|
4210
|
+
p(V), V === !0 ? (il(J), ol(Q)) : (To(J), $n(Q));
|
|
4211
4211
|
});
|
|
4212
4212
|
function X(V) {
|
|
4213
|
-
x(), u = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, C(e.maximized),
|
|
4213
|
+
x(), u = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, C(e.maximized), $(), a.value = !0, e.noFocus !== !0 ? (document.activeElement !== null && document.activeElement.blur(), y(j)) : m(), f(() => {
|
|
4214
4214
|
if (r.proxy.$q.platform.is.ios === !0) {
|
|
4215
4215
|
if (e.seamless !== !0 && document.activeElement) {
|
|
4216
4216
|
const { top: U, bottom: se } = document.activeElement.getBoundingClientRect(), { innerHeight: F } = window, me = window.visualViewport !== void 0 ? window.visualViewport.height : F;
|
|
@@ -4221,7 +4221,7 @@ const eu = {
|
|
|
4221
4221
|
}
|
|
4222
4222
|
d = !0, i.value.click(), d = !1;
|
|
4223
4223
|
}
|
|
4224
|
-
|
|
4224
|
+
$(!0), a.value = !1, n("show", V);
|
|
4225
4225
|
}, e.transitionDuration);
|
|
4226
4226
|
}
|
|
4227
4227
|
function N(V) {
|
|
@@ -4255,7 +4255,7 @@ const eu = {
|
|
|
4255
4255
|
e.seamless !== !0 && (e.persistent === !0 || e.noEscDismiss === !0 ? e.maximized !== !0 && e.noShake !== !0 && A() : (n("escapeKey"), D()));
|
|
4256
4256
|
}
|
|
4257
4257
|
function ee(V) {
|
|
4258
|
-
c !== null && (clearTimeout(c), c = null), (V === !0 || l.value === !0) && (C(!1), e.seamless !== !0 && (p(!1),
|
|
4258
|
+
c !== null && (clearTimeout(c), c = null), (V === !0 || l.value === !0) && (C(!1), e.seamless !== !0 && (p(!1), To(J), $n(Q))), V !== !0 && (u = null);
|
|
4259
4259
|
}
|
|
4260
4260
|
function C(V) {
|
|
4261
4261
|
V === !0 ? s !== !0 && (gn < 1 && document.body.classList.add("q-body--dialog"), gn++, s = !0) : s === !0 && (gn < 2 && document.body.classList.remove("q-body--dialog"), gn--, s = !1);
|
|
@@ -4267,7 +4267,7 @@ const eu = {
|
|
|
4267
4267
|
e.persistent !== !0 && e.noBackdropDismiss !== !0 ? D(V) : e.noShake !== !0 && A();
|
|
4268
4268
|
}
|
|
4269
4269
|
function J(V) {
|
|
4270
|
-
e.allowFocusOutside !== !0 &&
|
|
4270
|
+
e.allowFocusOutside !== !0 && T.value === !0 && Oi(i.value, V.target) !== !0 && j('[tabindex]:not([tabindex="-1"])');
|
|
4271
4271
|
}
|
|
4272
4272
|
Object.assign(r.proxy, {
|
|
4273
4273
|
// expose public methods
|
|
@@ -4311,7 +4311,7 @@ const eu = {
|
|
|
4311
4311
|
return R;
|
|
4312
4312
|
}
|
|
4313
4313
|
});
|
|
4314
|
-
let
|
|
4314
|
+
let Tn = !1;
|
|
4315
4315
|
{
|
|
4316
4316
|
const e = document.createElement("div");
|
|
4317
4317
|
e.setAttribute("dir", "rtl"), Object.assign(e.style, {
|
|
@@ -4323,7 +4323,7 @@ let $n = !1;
|
|
|
4323
4323
|
Object.assign(t.style, {
|
|
4324
4324
|
width: "1000px",
|
|
4325
4325
|
height: "1px"
|
|
4326
|
-
}), document.body.appendChild(e), e.appendChild(t), e.scrollLeft = -1e3,
|
|
4326
|
+
}), document.body.appendChild(e), e.appendChild(t), e.scrollLeft = -1e3, Tn = e.scrollLeft >= 0, e.remove();
|
|
4327
4327
|
}
|
|
4328
4328
|
const Ke = 1e3, nu = [
|
|
4329
4329
|
"start",
|
|
@@ -4356,7 +4356,7 @@ function so(e, t, n, o, r, i, l, a) {
|
|
|
4356
4356
|
offsetStart: -l,
|
|
4357
4357
|
offsetEnd: -a
|
|
4358
4358
|
};
|
|
4359
|
-
if (r === !0 ? (e === window ? (s.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, s.scrollViewSize += document.documentElement.clientWidth) : (s.scrollStart = c.scrollLeft, s.scrollViewSize += c.clientWidth), s.scrollMaxSize = c.scrollWidth, i === !0 && (s.scrollStart = (
|
|
4359
|
+
if (r === !0 ? (e === window ? (s.scrollStart = window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, s.scrollViewSize += document.documentElement.clientWidth) : (s.scrollStart = c.scrollLeft, s.scrollViewSize += c.clientWidth), s.scrollMaxSize = c.scrollWidth, i === !0 && (s.scrollStart = (Tn === !0 ? s.scrollMaxSize - s.scrollViewSize : 0) - s.scrollStart)) : (e === window ? (s.scrollStart = window.pageYOffset || window.scrollY || document.body.scrollTop || 0, s.scrollViewSize += document.documentElement.clientHeight) : (s.scrollStart = c.scrollTop, s.scrollViewSize += c.clientHeight), s.scrollMaxSize = c.scrollHeight), n !== null)
|
|
4360
4360
|
for (let d = n.previousElementSibling; d !== null; d = d.previousElementSibling)
|
|
4361
4361
|
d.classList.contains("q-virtual-scroll--skip") === !1 && (s.offsetStart += d[u]);
|
|
4362
4362
|
if (o !== null)
|
|
@@ -4369,7 +4369,7 @@ function so(e, t, n, o, r, i, l, a) {
|
|
|
4369
4369
|
return s;
|
|
4370
4370
|
}
|
|
4371
4371
|
function Gr(e, t, n, o) {
|
|
4372
|
-
t === "end" && (t = (e === window ? document.body : e)[n === !0 ? "scrollWidth" : "scrollHeight"]), e === window ? n === !0 ? (o === !0 && (t = (
|
|
4372
|
+
t === "end" && (t = (e === window ? document.body : e)[n === !0 ? "scrollWidth" : "scrollHeight"]), e === window ? n === !0 ? (o === !0 && (t = (Tn === !0 ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - t), window.scrollTo(t, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, t) : n === !0 ? (o === !0 && (t = (Tn === !0 ? e.scrollWidth - e.offsetWidth : 0) - t), e.scrollLeft = t) : e.scrollTop = t;
|
|
4373
4373
|
}
|
|
4374
4374
|
function Wt(e, t, n, o) {
|
|
4375
4375
|
if (n >= o)
|
|
@@ -4418,14 +4418,14 @@ function iu({
|
|
|
4418
4418
|
}) {
|
|
4419
4419
|
const r = ue(), { props: i, emit: l, proxy: a } = r, { $q: c } = a;
|
|
4420
4420
|
let u, s, d, g = [], p;
|
|
4421
|
-
const f = H(0), y = H(0), m = H({}), E = H(null), w = H(null), B = H(null),
|
|
4421
|
+
const f = H(0), y = H(0), m = H({}), E = H(null), w = H(null), B = H(null), $ = H({ from: 0, to: 0 }), M = h(() => i.tableColspan !== void 0 ? i.tableColspan : 100);
|
|
4422
4422
|
o === void 0 && (o = h(() => i.virtualScrollItemSize));
|
|
4423
|
-
const
|
|
4424
|
-
() =>
|
|
4423
|
+
const T = h(() => o.value + ";" + i.virtualScrollHorizontal), R = h(
|
|
4424
|
+
() => T.value + ";" + i.virtualScrollSliceRatioBefore + ";" + i.virtualScrollSliceRatioAfter
|
|
4425
4425
|
);
|
|
4426
4426
|
G(R, () => {
|
|
4427
4427
|
N();
|
|
4428
|
-
}), G(
|
|
4428
|
+
}), G(T, D);
|
|
4429
4429
|
function D() {
|
|
4430
4430
|
X(s, !0);
|
|
4431
4431
|
}
|
|
@@ -4474,7 +4474,7 @@ function iu({
|
|
|
4474
4474
|
S(C, b, 0, 0);
|
|
4475
4475
|
return;
|
|
4476
4476
|
}
|
|
4477
|
-
d !== b.scrollViewSize && N(b.scrollViewSize), z(
|
|
4477
|
+
d !== b.scrollViewSize && N(b.scrollViewSize), z($.value.from);
|
|
4478
4478
|
const te = Math.floor(b.scrollMaxSize - Math.max(b.scrollViewSize, b.offsetEnd) - Math.min(p[I], b.scrollViewSize / 2));
|
|
4479
4479
|
if (te > 0 && Math.ceil(b.scrollStart) >= te) {
|
|
4480
4480
|
S(
|
|
@@ -4487,7 +4487,7 @@ function iu({
|
|
|
4487
4487
|
}
|
|
4488
4488
|
let V = 0, U = b.scrollStart - b.offsetStart, se = U;
|
|
4489
4489
|
if (U <= J && U + b.scrollViewSize >= f.value)
|
|
4490
|
-
U -= f.value, V =
|
|
4490
|
+
U -= f.value, V = $.value.from, se = U;
|
|
4491
4491
|
else
|
|
4492
4492
|
for (let F = 0; U >= g[F] && V < I; F++)
|
|
4493
4493
|
U -= g[F], V += Ke;
|
|
@@ -4504,7 +4504,7 @@ function iu({
|
|
|
4504
4504
|
const V = typeof te == "string" && te.indexOf("-force") !== -1, U = V === !0 ? te.replace("-force", "") : te, se = U !== void 0 ? U : "start";
|
|
4505
4505
|
let F = Math.max(0, I - m.value[se]), me = F + m.value.total;
|
|
4506
4506
|
me > e.value && (me = e.value, F = Math.max(0, me - m.value.total)), u = b.scrollStart;
|
|
4507
|
-
const ze = F !==
|
|
4507
|
+
const ze = F !== $.value.from || me !== $.value.to;
|
|
4508
4508
|
if (ze === !1 && U === void 0) {
|
|
4509
4509
|
A(I);
|
|
4510
4510
|
return;
|
|
@@ -4515,9 +4515,9 @@ function iu({
|
|
|
4515
4515
|
})), ou(pe, I - F);
|
|
4516
4516
|
const Pe = U !== void 0 ? p.slice(F, I).reduce(It, 0) : 0;
|
|
4517
4517
|
if (ze === !0) {
|
|
4518
|
-
const We = me >=
|
|
4519
|
-
|
|
4520
|
-
|
|
4518
|
+
const We = me >= $.value.from && F <= $.value.to ? $.value.to : me;
|
|
4519
|
+
$.value = { from: F, to: We }, f.value = Wt(g, p, 0, F), y.value = Wt(g, p, me, e.value), requestAnimationFrame(() => {
|
|
4520
|
+
$.value.to !== me && u === b.scrollStart && ($.value = { from: $.value.from, to: me }, y.value = Wt(g, p, me, e.value));
|
|
4521
4521
|
});
|
|
4522
4522
|
}
|
|
4523
4523
|
requestAnimationFrame(() => {
|
|
@@ -4572,7 +4572,7 @@ function iu({
|
|
|
4572
4572
|
U += p[F];
|
|
4573
4573
|
g.push(U);
|
|
4574
4574
|
}
|
|
4575
|
-
s = -1, u = void 0, f.value = Wt(g, p, 0,
|
|
4575
|
+
s = -1, u = void 0, f.value = Wt(g, p, 0, $.value.from), y.value = Wt(g, p, $.value.to, e.value), C >= 0 ? (z($.value.from), ge(() => {
|
|
4576
4576
|
q(C);
|
|
4577
4577
|
})) : Q();
|
|
4578
4578
|
}
|
|
@@ -4654,8 +4654,8 @@ function iu({
|
|
|
4654
4654
|
function A(C) {
|
|
4655
4655
|
s !== C && (i.onVirtualScroll !== void 0 && l("virtualScroll", {
|
|
4656
4656
|
index: C,
|
|
4657
|
-
from:
|
|
4658
|
-
to:
|
|
4657
|
+
from: $.value.from,
|
|
4658
|
+
to: $.value.to - 1,
|
|
4659
4659
|
direction: C < s ? "decrease" : "increase",
|
|
4660
4660
|
ref: a
|
|
4661
4661
|
}), s = C);
|
|
@@ -4683,7 +4683,7 @@ function iu({
|
|
|
4683
4683
|
}), be(() => {
|
|
4684
4684
|
Q.cancel();
|
|
4685
4685
|
}), Object.assign(a, { scrollTo: q, reset: D, refresh: x }), {
|
|
4686
|
-
virtualScrollSliceRange:
|
|
4686
|
+
virtualScrollSliceRange: $,
|
|
4687
4687
|
virtualScrollSliceSizeComputed: m,
|
|
4688
4688
|
setVirtualScrollSize: N,
|
|
4689
4689
|
onVirtualScrollEvt: Q,
|
|
@@ -4866,8 +4866,8 @@ const su = de({
|
|
|
4866
4866
|
],
|
|
4867
4867
|
setup(e, { slots: t, emit: n }) {
|
|
4868
4868
|
const { proxy: o } = ue(), { $q: r } = o, i = H(!1), l = H(!1), a = H(-1), c = H(""), u = H(!1), s = H(!1);
|
|
4869
|
-
let d = null, g = null, p, f, y, m = null, E, w, B,
|
|
4870
|
-
const M = H(null),
|
|
4869
|
+
let d = null, g = null, p, f, y, m = null, E, w, B, $;
|
|
4870
|
+
const M = H(null), T = H(null), R = H(null), D = H(null), x = H(null), q = Yi(e), O = Gi(mr), S = h(() => e.options.length), z = h(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
|
|
4871
4871
|
virtualScrollSliceRange: L,
|
|
4872
4872
|
virtualScrollSliceSizeComputed: X,
|
|
4873
4873
|
localResetVirtualScroll: N,
|
|
@@ -5024,7 +5024,7 @@ const su = de({
|
|
|
5024
5024
|
e.fillInput === !0 ? Ee.value(v) : "",
|
|
5025
5025
|
!0,
|
|
5026
5026
|
!0
|
|
5027
|
-
), ht()),
|
|
5027
|
+
), ht()), T.value !== null && T.value.focus(), (b.value.length === 0 || lt(De.value(b.value[0]), K) !== !0) && n("update:modelValue", e.emitValue === !0 ? K : v);
|
|
5028
5028
|
return;
|
|
5029
5029
|
}
|
|
5030
5030
|
if ((f !== !0 || u.value === !0) && C.focus(), sr(), b.value.length === 0) {
|
|
@@ -5073,7 +5073,7 @@ const su = de({
|
|
|
5073
5073
|
return re.value.find((K) => lt(K, W)) !== void 0;
|
|
5074
5074
|
}
|
|
5075
5075
|
function sr(v) {
|
|
5076
|
-
e.useInput === !0 &&
|
|
5076
|
+
e.useInput === !0 && T.value !== null && (v === void 0 || T.value === v.target && v.target.value === F.value) && T.value.select();
|
|
5077
5077
|
}
|
|
5078
5078
|
function ur(v) {
|
|
5079
5079
|
Et(v, 27) === !0 && i.value === !0 && (je(v), ht(), Rt()), n("keyup", v);
|
|
@@ -5103,16 +5103,16 @@ const su = de({
|
|
|
5103
5103
|
return;
|
|
5104
5104
|
const W = c.value.length !== 0 && (e.newValueMode !== void 0 || e.onNewValue !== void 0), K = v.shiftKey !== !0 && e.disableTabSelection !== !0 && e.multiple !== !0 && (a.value !== -1 || W === !0);
|
|
5105
5105
|
if (v.keyCode === 27) {
|
|
5106
|
-
|
|
5106
|
+
Te(v);
|
|
5107
5107
|
return;
|
|
5108
5108
|
}
|
|
5109
5109
|
if (v.keyCode === 9 && K === !1) {
|
|
5110
|
-
|
|
5110
|
+
$t();
|
|
5111
5111
|
return;
|
|
5112
5112
|
}
|
|
5113
5113
|
if (v.target === void 0 || v.target.id !== C.targetUid.value || C.editable.value !== !0) return;
|
|
5114
5114
|
if (v.keyCode === 40 && C.innerLoading.value !== !0 && i.value === !1) {
|
|
5115
|
-
we(v),
|
|
5115
|
+
we(v), Tt();
|
|
5116
5116
|
return;
|
|
5117
5117
|
}
|
|
5118
5118
|
if (v.keyCode === 8 && (e.useChips === !0 || e.clearable === !0) && e.hideSelected !== !0 && c.value.length === 0) {
|
|
@@ -5127,10 +5127,10 @@ const su = de({
|
|
|
5127
5127
|
)
|
|
5128
5128
|
), cn(v.keyCode === 33 ? 1 : -1, e.multiple)), (v.keyCode === 38 || v.keyCode === 40) && (we(v), cn(v.keyCode === 38 ? -1 : 1, e.multiple));
|
|
5129
5129
|
const le = S.value;
|
|
5130
|
-
if ((B === void 0 ||
|
|
5131
|
-
i.value !== !0 &&
|
|
5130
|
+
if ((B === void 0 || $ < Date.now()) && (B = ""), le > 0 && e.useInput !== !0 && v.key !== void 0 && v.key.length === 1 && v.altKey === !1 && v.ctrlKey === !1 && v.metaKey === !1 && (v.keyCode !== 32 || B.length !== 0)) {
|
|
5131
|
+
i.value !== !0 && Tt(v);
|
|
5132
5132
|
const fe = v.key.toLocaleLowerCase(), ce = B.length === 1 && B[0] === fe;
|
|
5133
|
-
|
|
5133
|
+
$ = Date.now() + 1500, ce === !1 && (we(v), B += fe);
|
|
5134
5134
|
const Be = new RegExp("^" + B.split("").map((Gn) => lu.indexOf(Gn) !== -1 ? "\\" + Gn : Gn).join(".*"), "i");
|
|
5135
5135
|
let ke = a.value;
|
|
5136
5136
|
if (ce === !0 || ke < 0 || Be.test(Ee.value(e.options[ke])) !== !0)
|
|
@@ -5156,12 +5156,12 @@ const su = de({
|
|
|
5156
5156
|
Be = e.newValueMode;
|
|
5157
5157
|
if (Nt("", e.multiple !== !0, !0), ce == null)
|
|
5158
5158
|
return;
|
|
5159
|
-
(Be === "toggle" ? ft : ar)(ce, Be === "add-unique"), e.multiple !== !0 && (
|
|
5159
|
+
(Be === "toggle" ? ft : ar)(ce, Be === "add-unique"), e.multiple !== !0 && (T.value !== null && T.value.focus(), ht());
|
|
5160
5160
|
};
|
|
5161
5161
|
if (e.onNewValue !== void 0 ? n("newValue", c.value, fe) : fe(c.value), e.multiple !== !0)
|
|
5162
5162
|
return;
|
|
5163
5163
|
}
|
|
5164
|
-
i.value === !0 ?
|
|
5164
|
+
i.value === !0 ? $t() : C.innerLoading.value !== !0 && Tt();
|
|
5165
5165
|
}
|
|
5166
5166
|
}
|
|
5167
5167
|
function hr() {
|
|
@@ -5198,7 +5198,7 @@ const su = de({
|
|
|
5198
5198
|
}, () => k(
|
|
5199
5199
|
Ae,
|
|
5200
5200
|
() => k(
|
|
5201
|
-
|
|
5201
|
+
$o,
|
|
5202
5202
|
() => k("span", {
|
|
5203
5203
|
[K.html === !0 ? "innerHTML" : "textContent"]: K.label
|
|
5204
5204
|
})
|
|
@@ -5209,7 +5209,7 @@ const su = de({
|
|
|
5209
5209
|
}
|
|
5210
5210
|
function Pl(v, W) {
|
|
5211
5211
|
const K = W === !0 ? { ...Pe.value, ...C.splitAttrs.attributes.value } : void 0, le = {
|
|
5212
|
-
ref: W === !0 ?
|
|
5212
|
+
ref: W === !0 ? T : void 0,
|
|
5213
5213
|
key: "i_t",
|
|
5214
5214
|
class: V.value,
|
|
5215
5215
|
style: e.inputStyle,
|
|
@@ -5293,13 +5293,13 @@ const su = de({
|
|
|
5293
5293
|
}, vr);
|
|
5294
5294
|
}
|
|
5295
5295
|
function Il(v) {
|
|
5296
|
-
yr(v),
|
|
5296
|
+
yr(v), $t();
|
|
5297
5297
|
}
|
|
5298
5298
|
function Fl() {
|
|
5299
5299
|
ee();
|
|
5300
5300
|
}
|
|
5301
5301
|
function Hl(v) {
|
|
5302
|
-
je(v),
|
|
5302
|
+
je(v), T.value !== null && T.value.focus(), u.value = !0, window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, 0);
|
|
5303
5303
|
}
|
|
5304
5304
|
function zl(v) {
|
|
5305
5305
|
je(v), ge(() => {
|
|
@@ -5334,7 +5334,7 @@ const su = de({
|
|
|
5334
5334
|
class: U.value + " scroll",
|
|
5335
5335
|
style: e.popupContentStyle,
|
|
5336
5336
|
...We.value,
|
|
5337
|
-
onClick:
|
|
5337
|
+
onClick: Te,
|
|
5338
5338
|
onScrollPassive: A
|
|
5339
5339
|
}, vr())
|
|
5340
5340
|
), k(tu, {
|
|
@@ -5363,18 +5363,18 @@ const su = de({
|
|
|
5363
5363
|
}
|
|
5364
5364
|
function Wl() {
|
|
5365
5365
|
const v = document.activeElement;
|
|
5366
|
-
(v === null || v.id !== C.targetUid.value) &&
|
|
5366
|
+
(v === null || v.id !== C.targetUid.value) && T.value !== null && T.value !== v && T.value.focus(), ee();
|
|
5367
5367
|
}
|
|
5368
|
-
function
|
|
5368
|
+
function $t() {
|
|
5369
5369
|
l.value !== !0 && (a.value = -1, i.value === !0 && (i.value = !1), C.focused.value === !1 && (m !== null && (clearTimeout(m), m = null), C.innerLoading.value === !0 && (n("filterAbort"), C.innerLoading.value = !1, s.value = !1)));
|
|
5370
5370
|
}
|
|
5371
|
-
function
|
|
5371
|
+
function Tt(v) {
|
|
5372
5372
|
C.editable.value === !0 && (f === !0 ? (C.onControlFocusin(v), l.value = !0, ge(() => {
|
|
5373
5373
|
C.focus();
|
|
5374
5374
|
})) : C.focus(), e.onFilter !== void 0 ? Lt(c.value) : (se.value !== !0 || t["no-option"] !== void 0) && (i.value = !0));
|
|
5375
5375
|
}
|
|
5376
5376
|
function ht() {
|
|
5377
|
-
l.value = !1,
|
|
5377
|
+
l.value = !1, $t();
|
|
5378
5378
|
}
|
|
5379
5379
|
function Rt() {
|
|
5380
5380
|
e.useInput === !0 && Nt(
|
|
@@ -5414,7 +5414,7 @@ const su = de({
|
|
|
5414
5414
|
return Si(br), Jl(pr), br(), be(() => {
|
|
5415
5415
|
d !== null && clearTimeout(d), g !== null && clearTimeout(g);
|
|
5416
5416
|
}), Object.assign(o, {
|
|
5417
|
-
showPopup:
|
|
5417
|
+
showPopup: Tt,
|
|
5418
5418
|
hidePopup: ht,
|
|
5419
5419
|
removeAtIndex: un,
|
|
5420
5420
|
add: ar,
|
|
@@ -5436,9 +5436,9 @@ const su = de({
|
|
|
5436
5436
|
() => `q-select q-field--auto-height q-select--with${e.useInput !== !0 ? "out" : ""}-input q-select--with${e.useChips !== !0 ? "out" : ""}-chips q-select--${e.multiple === !0 ? "multiple" : "single"}`
|
|
5437
5437
|
),
|
|
5438
5438
|
inputRef: M,
|
|
5439
|
-
targetRef:
|
|
5439
|
+
targetRef: T,
|
|
5440
5440
|
hasValue: te,
|
|
5441
|
-
showPopup:
|
|
5441
|
+
showPopup: Tt,
|
|
5442
5442
|
floatingLabel: h(
|
|
5443
5443
|
() => e.hideSelected !== !0 && te.value === !0 || typeof c.value == "number" || c.value.length !== 0 || Jt(e.displayValue)
|
|
5444
5444
|
),
|
|
@@ -5453,15 +5453,15 @@ const su = de({
|
|
|
5453
5453
|
},
|
|
5454
5454
|
onFocusout(v) {
|
|
5455
5455
|
C.onControlFocusout(v, () => {
|
|
5456
|
-
Rt(),
|
|
5456
|
+
Rt(), $t();
|
|
5457
5457
|
});
|
|
5458
5458
|
},
|
|
5459
5459
|
onClick(v) {
|
|
5460
|
-
if (
|
|
5461
|
-
|
|
5460
|
+
if (Te(v), f !== !0 && i.value === !0) {
|
|
5461
|
+
$t(), T.value !== null && T.value.focus();
|
|
5462
5462
|
return;
|
|
5463
5463
|
}
|
|
5464
|
-
|
|
5464
|
+
Tt(v);
|
|
5465
5465
|
}
|
|
5466
5466
|
},
|
|
5467
5467
|
getControl: (v) => {
|
|
@@ -5472,7 +5472,7 @@ const su = de({
|
|
|
5472
5472
|
const fe = K === !0 ? Pe.value : void 0;
|
|
5473
5473
|
W.push(
|
|
5474
5474
|
k("input", {
|
|
5475
|
-
ref: K === !0 ?
|
|
5475
|
+
ref: K === !0 ? T : void 0,
|
|
5476
5476
|
key: "d_t",
|
|
5477
5477
|
class: "q-select__focus-target",
|
|
5478
5478
|
id: K === !0 ? C.targetUid.value : void 0,
|
|
@@ -5694,7 +5694,7 @@ const fo = Bi(
|
|
|
5694
5694
|
if (n.mouse !== !0 && xe.has.touch !== !0)
|
|
5695
5695
|
return;
|
|
5696
5696
|
function o(i, l) {
|
|
5697
|
-
n.mouse === !0 && l === !0 ? we(i) : (n.stop === !0 && je(i), n.prevent === !0 &&
|
|
5697
|
+
n.mouse === !0 && l === !0 ? we(i) : (n.stop === !0 && je(i), n.prevent === !0 && Te(i));
|
|
5698
5698
|
}
|
|
5699
5699
|
const r = {
|
|
5700
5700
|
uid: "qvtp_" + bu++,
|
|
@@ -5722,7 +5722,7 @@ const fo = Bi(
|
|
|
5722
5722
|
if (xe.is.firefox === !0 && Jn(e, !0), r.lastEvt = i, l === !0 || n.stop === !0) {
|
|
5723
5723
|
if (r.direction.all !== !0 && (l !== !0 || r.modifiers.mouseAllDir !== !0 && r.modifiers.mousealldir !== !0)) {
|
|
5724
5724
|
const u = i.type.indexOf("mouse") !== -1 ? new MouseEvent(i.type, i) : new TouchEvent(i.type, i);
|
|
5725
|
-
i.defaultPrevented === !0 &&
|
|
5725
|
+
i.defaultPrevented === !0 && Te(u), i.cancelBubble === !0 && je(u), Object.assign(u, {
|
|
5726
5726
|
qKeyEvent: i.qKeyEvent,
|
|
5727
5727
|
qClickOutside: i.qClickOutside,
|
|
5728
5728
|
qAnchorHandled: i.qAnchorHandled,
|
|
@@ -5863,9 +5863,9 @@ const fo = Bi(
|
|
|
5863
5863
|
"miniState"
|
|
5864
5864
|
],
|
|
5865
5865
|
setup(e, { slots: t, emit: n, attrs: o }) {
|
|
5866
|
-
const r = ue(), { proxy: { $q: i } } = r, l = ut(e, i), { preventBodyScroll: a } = al(), { registerTimeout: c, removeTimeout: u } = Fn(), s = _t(rn,
|
|
5867
|
-
if (s ===
|
|
5868
|
-
return console.error("QDrawer needs to be child of QLayout"),
|
|
5866
|
+
const r = ue(), { proxy: { $q: i } } = r, l = ut(e, i), { preventBodyScroll: a } = al(), { registerTimeout: c, removeTimeout: u } = Fn(), s = _t(rn, $e);
|
|
5867
|
+
if (s === $e)
|
|
5868
|
+
return console.error("QDrawer needs to be child of QLayout"), $e;
|
|
5869
5869
|
let d, g = null, p;
|
|
5870
5870
|
const f = H(
|
|
5871
5871
|
e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint
|
|
@@ -5886,19 +5886,19 @@ const fo = Bi(
|
|
|
5886
5886
|
P !== !1 && We(!0), re !== !0 && n("show", P);
|
|
5887
5887
|
}, ri);
|
|
5888
5888
|
}
|
|
5889
|
-
function
|
|
5889
|
+
function $(P, re) {
|
|
5890
5890
|
D(), P !== !1 && s.animate(), Pe(0), pe(O.value * m.value), ct(), re !== !0 ? c(() => {
|
|
5891
5891
|
n("hide", P);
|
|
5892
5892
|
}, ri) : u();
|
|
5893
5893
|
}
|
|
5894
|
-
const { show: M, hide:
|
|
5894
|
+
const { show: M, hide: T } = on({
|
|
5895
5895
|
showing: E,
|
|
5896
5896
|
hideOnRouteChange: w,
|
|
5897
5897
|
handleShow: B,
|
|
5898
|
-
handleHide:
|
|
5898
|
+
handleHide: $
|
|
5899
5899
|
}), { addToHistory: R, removeFromHistory: D } = ll(E), x = {
|
|
5900
5900
|
belowBreakpoint: f,
|
|
5901
|
-
hide:
|
|
5901
|
+
hide: T
|
|
5902
5902
|
}, q = h(() => e.side === "right"), O = h(
|
|
5903
5903
|
() => (i.lang.rtl === !0 ? -1 : 1) * (q.value === !0 ? 1 : -1)
|
|
5904
5904
|
), S = H(0), z = H(!1), L = H(!1), X = H(
|
|
@@ -5966,7 +5966,7 @@ const fo = Bi(
|
|
|
5966
5966
|
De(f, e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint);
|
|
5967
5967
|
}
|
|
5968
5968
|
G(f, (P) => {
|
|
5969
|
-
P === !0 ? (d = E.value, E.value === !0 &&
|
|
5969
|
+
P === !0 ? (d = E.value, E.value === !0 && T(!1)) : e.overlay === !1 && e.behavior !== "mobile" && d !== !1 && (E.value === !0 ? (pe(0), Pe(0), ct()) : M(!1));
|
|
5970
5970
|
}), G(() => e.side, (P, re) => {
|
|
5971
5971
|
s.instances[re] === x && (s.instances[re] = void 0, s[re].space = !1, s[re].offset = 0), s.instances[P] = x, s[P].size = m.value, s[P].space = Q.value, s[P].offset = j.value;
|
|
5972
5972
|
}), G(s.totalWidth, () => {
|
|
@@ -6031,7 +6031,7 @@ const fo = Bi(
|
|
|
6031
6031
|
return;
|
|
6032
6032
|
const re = m.value, Me = P.direction === e.side, dt = (i.lang.rtl === !0 ? Me !== !0 : Me) ? yn(P.distance.x, 0, re) : 0;
|
|
6033
6033
|
if (P.isFinal === !0) {
|
|
6034
|
-
Math.abs(dt) < Math.min(75, re) === !0 ? (s.animate(), Pe(1), pe(0)) :
|
|
6034
|
+
Math.abs(dt) < Math.min(75, re) === !0 ? (s.animate(), Pe(1), pe(0)) : T(), z.value = !1;
|
|
6035
6035
|
return;
|
|
6036
6036
|
}
|
|
6037
6037
|
pe(O.value * dt), Pe(yn(1 - dt / re, 0, 1)), P.isFirst === !0 && (z.value = !0);
|
|
@@ -6051,7 +6051,7 @@ const fo = Bi(
|
|
|
6051
6051
|
return s.instances[e.side] = x, Ee(e.miniToOverlay, m.value), Re("space", Q.value), Re("offset", j.value), e.showIfAbove === !0 && e.modelValue !== !0 && E.value === !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", !0), Qe(() => {
|
|
6052
6052
|
n("onLayout", Q.value), n("miniState", y.value), d = e.showIfAbove === !0;
|
|
6053
6053
|
const P = () => {
|
|
6054
|
-
(E.value === !0 ? B :
|
|
6054
|
+
(E.value === !0 ? B : $)(!1, !0);
|
|
6055
6055
|
};
|
|
6056
6056
|
if (s.totalWidth.value !== 0) {
|
|
6057
6057
|
ge(P);
|
|
@@ -6081,7 +6081,7 @@ const fo = Bi(
|
|
|
6081
6081
|
class: C.value,
|
|
6082
6082
|
style: b.value,
|
|
6083
6083
|
"aria-hidden": "true",
|
|
6084
|
-
onClick:
|
|
6084
|
+
onClick: T
|
|
6085
6085
|
},
|
|
6086
6086
|
void 0,
|
|
6087
6087
|
"backdrop",
|
|
@@ -6259,7 +6259,7 @@ const fo = Bi(
|
|
|
6259
6259
|
() => y.value === !0 || e.expandIconToggle !== !0
|
|
6260
6260
|
), w = h(() => e.expandedIcon !== void 0 && i.value === !0 ? e.expandedIcon : e.expandIcon || o.iconSet.expansionItem[e.denseToggle === !0 ? "denseIcon" : "icon"]), B = h(
|
|
6261
6261
|
() => e.disable !== !0 && (y.value === !0 || e.expandIconToggle === !0)
|
|
6262
|
-
),
|
|
6262
|
+
), $ = h(() => ({
|
|
6263
6263
|
expanded: i.value === !0,
|
|
6264
6264
|
detailsId: a.value,
|
|
6265
6265
|
toggle: s,
|
|
@@ -6277,7 +6277,7 @@ const fo = Bi(
|
|
|
6277
6277
|
G(() => e.group, (j) => {
|
|
6278
6278
|
g !== void 0 && g(), j !== void 0 && O();
|
|
6279
6279
|
});
|
|
6280
|
-
function
|
|
6280
|
+
function T(j) {
|
|
6281
6281
|
y.value !== !0 && s(j), n("click", j);
|
|
6282
6282
|
}
|
|
6283
6283
|
function R(j) {
|
|
@@ -6335,10 +6335,10 @@ const fo = Bi(
|
|
|
6335
6335
|
}
|
|
6336
6336
|
function z() {
|
|
6337
6337
|
let j;
|
|
6338
|
-
return t.header !== void 0 ? j = [].concat(t.header(
|
|
6338
|
+
return t.header !== void 0 ? j = [].concat(t.header($.value)) : (j = [
|
|
6339
6339
|
k(Ae, () => [
|
|
6340
|
-
k(
|
|
6341
|
-
e.caption ? k(
|
|
6340
|
+
k($o, { lines: e.labelLines }, () => e.label || ""),
|
|
6341
|
+
e.caption ? k($o, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
|
|
6342
6342
|
])
|
|
6343
6343
|
], e.icon && j[e.switchToggleSide === !0 ? "push" : "unshift"](
|
|
6344
6344
|
k(Ae, {
|
|
@@ -6359,7 +6359,7 @@ const fo = Bi(
|
|
|
6359
6359
|
dense: e.dense,
|
|
6360
6360
|
insetLevel: e.headerInsetLevel
|
|
6361
6361
|
};
|
|
6362
|
-
return E.value === !0 && (j.clickable = !0, j.onClick =
|
|
6362
|
+
return E.value === !0 && (j.clickable = !0, j.onClick = T, Object.assign(
|
|
6363
6363
|
j,
|
|
6364
6364
|
y.value === !0 ? m.value : M.value
|
|
6365
6365
|
)), k(at, j, z);
|
|
@@ -6443,7 +6443,7 @@ const qu = /* @__PURE__ */ oe(xu, [["render", Bu]]), Mu = {}, Lu = {
|
|
|
6443
6443
|
viewBox: "0 0 24 24",
|
|
6444
6444
|
fill: "none"
|
|
6445
6445
|
};
|
|
6446
|
-
function
|
|
6446
|
+
function $u(e, t) {
|
|
6447
6447
|
return Y(), ie("svg", Lu, t[0] || (t[0] = [
|
|
6448
6448
|
Z("path", {
|
|
6449
6449
|
d: "M12 14.9999C13.6569 14.9999 15 13.6567 15 11.9999C15 10.343 13.6569 8.99988 12 8.99988C10.3431 8.99988 9 10.343 9 11.9999C9 13.6567 10.3431 14.9999 12 14.9999Z",
|
|
@@ -6463,7 +6463,7 @@ function Tu(e, t) {
|
|
|
6463
6463
|
}, null, -1)
|
|
6464
6464
|
]));
|
|
6465
6465
|
}
|
|
6466
|
-
const
|
|
6466
|
+
const Tu = /* @__PURE__ */ oe(Mu, [["render", $u]]), Ru = {}, Au = {
|
|
6467
6467
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6468
6468
|
width: "24",
|
|
6469
6469
|
height: "24",
|
|
@@ -6748,15 +6748,15 @@ function qc(e, t) {
|
|
|
6748
6748
|
Ze('<path class="icon-section" d="M8.5 14.25C8.5 16.17 10.08 17.75 12 17.75C13.92 17.75 15.5 16.17 15.5 14.25" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path class="icon-section" d="M8.80994 2L5.18994 5.63" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path class="icon-section" d="M15.1899 2L18.8099 5.63" stroke="currentStroke" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path class="icon-section" d="M2 7.8501C2 6.0001 2.99 5.8501 4.22 5.8501H19.78C21.01 5.8501 22 6.0001 22 7.8501C22 10.0001 21.01 9.8501 19.78 9.8501H4.22C2.99 9.8501 2 10.0001 2 7.8501Z" stroke="currentStroke" stroke-width="1.5"></path><path class="icon-section" d="M3.5 10L4.91 18.64C5.23 20.58 6 22 8.86 22H14.89C18 22 18.46 20.64 18.82 18.76L20.5 10" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round"></path>', 5)
|
|
6749
6749
|
]));
|
|
6750
6750
|
}
|
|
6751
|
-
const Mc = /* @__PURE__ */ oe(Ec, [["render", qc]]), Lc = {},
|
|
6751
|
+
const Mc = /* @__PURE__ */ oe(Ec, [["render", qc]]), Lc = {}, $c = {
|
|
6752
6752
|
width: "24",
|
|
6753
6753
|
height: "24",
|
|
6754
6754
|
viewBox: "0 0 24 24",
|
|
6755
6755
|
fill: "none",
|
|
6756
6756
|
xmlns: "http://www.w3.org/2000/svg"
|
|
6757
6757
|
};
|
|
6758
|
-
function
|
|
6759
|
-
return Y(), ie("svg",
|
|
6758
|
+
function Tc(e, t) {
|
|
6759
|
+
return Y(), ie("svg", $c, t[0] || (t[0] = [
|
|
6760
6760
|
Z("path", {
|
|
6761
6761
|
d: "M2 13H22",
|
|
6762
6762
|
stroke: "currentStroke",
|
|
@@ -6787,7 +6787,7 @@ function $c(e, t) {
|
|
|
6787
6787
|
}, null, -1)
|
|
6788
6788
|
]));
|
|
6789
6789
|
}
|
|
6790
|
-
const Rc = /* @__PURE__ */ oe(Lc, [["render",
|
|
6790
|
+
const Rc = /* @__PURE__ */ oe(Lc, [["render", Tc]]), Ac = {}, Vc = {
|
|
6791
6791
|
width: "24",
|
|
6792
6792
|
height: "24",
|
|
6793
6793
|
viewBox: "0 0 24 24",
|
|
@@ -7091,7 +7091,7 @@ function Ld(e, t) {
|
|
|
7091
7091
|
Ze('<path d="M12.3701 8.87988H17.6201" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.37988 8.87988L7.12988 9.62988L9.37988 7.37988" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.3701 15.8799H17.6201" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.37988 15.8799L7.12988 16.6299L9.37988 14.3799" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9 22H15C20 22 22 20 22 15V9C22 4 20 2 15 2H9C4 2 2 4 2 9V15C2 20 4 22 9 22Z" stroke="currentStroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>', 5)
|
|
7092
7092
|
]));
|
|
7093
7093
|
}
|
|
7094
|
-
const
|
|
7094
|
+
const $d = /* @__PURE__ */ oe(qd, [["render", Ld]]), Td = {}, Rd = {
|
|
7095
7095
|
width: "24",
|
|
7096
7096
|
height: "24",
|
|
7097
7097
|
viewBox: "0 0 24 24",
|
|
@@ -7125,7 +7125,7 @@ function Ad(e, t) {
|
|
|
7125
7125
|
}, null, -1)
|
|
7126
7126
|
]));
|
|
7127
7127
|
}
|
|
7128
|
-
const Vd = /* @__PURE__ */ oe(
|
|
7128
|
+
const Vd = /* @__PURE__ */ oe(Td, [["render", Ad]]), Od = {}, Pd = {
|
|
7129
7129
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7130
7130
|
width: "24",
|
|
7131
7131
|
height: "24",
|
|
@@ -7171,7 +7171,7 @@ const Id = /* @__PURE__ */ oe(Od, [["render", jd]]), Fd = /* @__PURE__ */ He({
|
|
|
7171
7171
|
const o = h(
|
|
7172
7172
|
() => ({
|
|
7173
7173
|
ProjectsIcon: qu,
|
|
7174
|
-
RepairsIcon:
|
|
7174
|
+
RepairsIcon: Tu,
|
|
7175
7175
|
RepairObjectIcon: Fu,
|
|
7176
7176
|
InstrumentHistoryIcon: Ou,
|
|
7177
7177
|
StatusHistoryIcon: Nu,
|
|
@@ -7198,7 +7198,7 @@ const Id = /* @__PURE__ */ oe(Od, [["render", jd]]), Fd = /* @__PURE__ */ He({
|
|
|
7198
7198
|
PreorderIcon: bd,
|
|
7199
7199
|
VideowallIcon: Sd,
|
|
7200
7200
|
VideosourcesIcon: Bd,
|
|
7201
|
-
Tasks_tasksIcon:
|
|
7201
|
+
Tasks_tasksIcon: $d,
|
|
7202
7202
|
Tasks_todayIcon: Vd,
|
|
7203
7203
|
ArrowFrameIcon: Id
|
|
7204
7204
|
})[n(t.name)]
|
|
@@ -7543,9 +7543,9 @@ const Jd = /* @__PURE__ */ He({
|
|
|
7543
7543
|
},
|
|
7544
7544
|
emits: ["reveal", "focusin"],
|
|
7545
7545
|
setup(e, { slots: t, emit: n }) {
|
|
7546
|
-
const { proxy: { $q: o } } = ue(), r = _t(rn,
|
|
7547
|
-
if (r ===
|
|
7548
|
-
return console.error("QHeader needs to be child of QLayout"),
|
|
7546
|
+
const { proxy: { $q: o } } = ue(), r = _t(rn, $e);
|
|
7547
|
+
if (r === $e)
|
|
7548
|
+
return console.error("QHeader needs to be child of QLayout"), $e;
|
|
7549
7549
|
const i = H(parseInt(e.heightHint, 10)), l = H(!0), a = h(
|
|
7550
7550
|
() => e.reveal === !0 || r.view.value.indexOf("H") !== -1 || o.platform.is.ios && r.isContainer.value === !0
|
|
7551
7551
|
), c = h(() => {
|
|
@@ -7726,9 +7726,9 @@ function Ro() {
|
|
|
7726
7726
|
arguments[o] && ln(arguments[o], n);
|
|
7727
7727
|
return t;
|
|
7728
7728
|
}
|
|
7729
|
-
const
|
|
7729
|
+
const $f = (e, t, n, { allOwnKeys: o } = {}) => (ln(t, (r, i) => {
|
|
7730
7730
|
n && Fe(r) ? e[i] = ul(r, n) : e[i] = r;
|
|
7731
|
-
}, { allOwnKeys: o }), e),
|
|
7731
|
+
}, { allOwnKeys: o }), e), Tf = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Rf = (e, t, n, o) => {
|
|
7732
7732
|
e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
7733
7733
|
value: t.prototype
|
|
7734
7734
|
}), n && Object.assign(e.prototype, n);
|
|
@@ -7867,9 +7867,9 @@ const Zf = (e) => {
|
|
|
7867
7867
|
isFileList: Cf,
|
|
7868
7868
|
forEach: ln,
|
|
7869
7869
|
merge: Ro,
|
|
7870
|
-
extend:
|
|
7870
|
+
extend: $f,
|
|
7871
7871
|
trim: Lf,
|
|
7872
|
-
stripBOM:
|
|
7872
|
+
stripBOM: Tf,
|
|
7873
7873
|
inherits: Rf,
|
|
7874
7874
|
toFlatObject: Af,
|
|
7875
7875
|
kindOf: Un,
|
|
@@ -7995,10 +7995,10 @@ function Qn(e, t, n) {
|
|
|
7995
7995
|
if (_.endsWith(y, "{}"))
|
|
7996
7996
|
y = o ? y : y.slice(0, -2), f = JSON.stringify(f);
|
|
7997
7997
|
else if (_.isArray(f) && e1(f) || (_.isFileList(f) || _.endsWith(y, "[]")) && (E = _.toArray(f)))
|
|
7998
|
-
return y = bl(y), E.forEach(function(B,
|
|
7998
|
+
return y = bl(y), E.forEach(function(B, $) {
|
|
7999
7999
|
!(_.isUndefined(B) || B === null) && t.append(
|
|
8000
8000
|
// eslint-disable-next-line no-nested-ternary
|
|
8001
|
-
l === !0 ? si([y],
|
|
8001
|
+
l === !0 ? si([y], $, i) : l === null ? y : y + "[]",
|
|
8002
8002
|
u(B)
|
|
8003
8003
|
);
|
|
8004
8004
|
}), !1;
|
|
@@ -8730,16 +8730,16 @@ const Bl = (e) => {
|
|
|
8730
8730
|
}, m.onerror = function() {
|
|
8731
8731
|
o(new ne("Network Error", ne.ERR_NETWORK, e, m)), m = null;
|
|
8732
8732
|
}, m.ontimeout = function() {
|
|
8733
|
-
let
|
|
8733
|
+
let $ = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
|
|
8734
8734
|
const M = r.transitional || Cl;
|
|
8735
|
-
r.timeoutErrorMessage && (
|
|
8736
|
-
|
|
8735
|
+
r.timeoutErrorMessage && ($ = r.timeoutErrorMessage), o(new ne(
|
|
8736
|
+
$,
|
|
8737
8737
|
M.clarifyTimeoutError ? ne.ETIMEDOUT : ne.ECONNABORTED,
|
|
8738
8738
|
e,
|
|
8739
8739
|
m
|
|
8740
8740
|
)), m = null;
|
|
8741
|
-
}, i === void 0 && l.setContentType(null), "setRequestHeader" in m && _.forEach(l.toJSON(), function(
|
|
8742
|
-
m.setRequestHeader(M,
|
|
8741
|
+
}, i === void 0 && l.setContentType(null), "setRequestHeader" in m && _.forEach(l.toJSON(), function($, M) {
|
|
8742
|
+
m.setRequestHeader(M, $);
|
|
8743
8743
|
}), _.isUndefined(r.withCredentials) || (m.withCredentials = !!r.withCredentials), a && a !== "json" && (m.responseType = r.responseType), u && ([g, f] = An(u, !0), m.addEventListener("progress", g)), c && m.upload && ([d, p] = An(c), m.upload.addEventListener("progress", d), m.upload.addEventListener("loadend", p)), (r.cancelToken || r.signal) && (s = (B) => {
|
|
8744
8744
|
m && (o(!B || B.type ? new Dt(null, e, m) : B), m.abort(), m = null);
|
|
8745
8745
|
}, r.cancelToken && r.cancelToken.subscribe(s), r.signal && (r.signal.aborted ? s() : r.signal.addEventListener("abort", s)));
|
|
@@ -8773,7 +8773,7 @@ const Bl = (e) => {
|
|
|
8773
8773
|
const { signal: c } = o;
|
|
8774
8774
|
return c.unsubscribe = () => _.asap(a), c;
|
|
8775
8775
|
}
|
|
8776
|
-
},
|
|
8776
|
+
}, $1 = function* (e, t) {
|
|
8777
8777
|
let n = e.byteLength;
|
|
8778
8778
|
if (n < t) {
|
|
8779
8779
|
yield e;
|
|
@@ -8782,9 +8782,9 @@ const Bl = (e) => {
|
|
|
8782
8782
|
let o = 0, r;
|
|
8783
8783
|
for (; o < n; )
|
|
8784
8784
|
r = o + t, yield e.slice(o, r), o = r;
|
|
8785
|
-
},
|
|
8785
|
+
}, T1 = async function* (e, t) {
|
|
8786
8786
|
for await (const n of R1(e))
|
|
8787
|
-
yield*
|
|
8787
|
+
yield* $1(n, t);
|
|
8788
8788
|
}, R1 = async function* (e) {
|
|
8789
8789
|
if (e[Symbol.asyncIterator]) {
|
|
8790
8790
|
yield* e;
|
|
@@ -8802,7 +8802,7 @@ const Bl = (e) => {
|
|
|
8802
8802
|
await t.cancel();
|
|
8803
8803
|
}
|
|
8804
8804
|
}, mi = (e, t, n, o) => {
|
|
8805
|
-
const r =
|
|
8805
|
+
const r = T1(e, t);
|
|
8806
8806
|
let i = 0, l, a = (c) => {
|
|
8807
8807
|
l || (l = !0, o && o(c));
|
|
8808
8808
|
};
|
|
@@ -8900,8 +8900,8 @@ const O1 = async (e) => {
|
|
|
8900
8900
|
method: "POST",
|
|
8901
8901
|
body: o,
|
|
8902
8902
|
duplex: "half"
|
|
8903
|
-
}),
|
|
8904
|
-
if (_.isFormData(o) && (
|
|
8903
|
+
}), T;
|
|
8904
|
+
if (_.isFormData(o) && (T = M.headers.get("content-type")) && s.setContentType(T), M.body) {
|
|
8905
8905
|
const [R, D] = fi(
|
|
8906
8906
|
m,
|
|
8907
8907
|
An(hi(c))
|
|
@@ -8927,8 +8927,8 @@ const O1 = async (e) => {
|
|
|
8927
8927
|
["status", "statusText", "headers"].forEach((x) => {
|
|
8928
8928
|
M[x] = w[x];
|
|
8929
8929
|
});
|
|
8930
|
-
const
|
|
8931
|
-
|
|
8930
|
+
const T = _.toFiniteNumber(w.headers.get("content-length")), [R, D] = a && fi(
|
|
8931
|
+
T,
|
|
8932
8932
|
An(hi(a), !0)
|
|
8933
8933
|
) || [];
|
|
8934
8934
|
w = new Response(
|
|
@@ -8939,10 +8939,10 @@ const O1 = async (e) => {
|
|
|
8939
8939
|
);
|
|
8940
8940
|
}
|
|
8941
8941
|
u = u || "text";
|
|
8942
|
-
let
|
|
8943
|
-
return !B && y && y(), await new Promise((M,
|
|
8944
|
-
xl(M,
|
|
8945
|
-
data:
|
|
8942
|
+
let $ = await Vn[_.findKey(Vn, u) || "text"](w, e);
|
|
8943
|
+
return !B && y && y(), await new Promise((M, T) => {
|
|
8944
|
+
xl(M, T, {
|
|
8945
|
+
data: $,
|
|
8946
8946
|
headers: Oe.from(w.headers),
|
|
8947
8947
|
status: w.status,
|
|
8948
8948
|
statusText: w.statusText,
|
|
@@ -9025,7 +9025,7 @@ function yi(e) {
|
|
|
9025
9025
|
), o.response.headers = Oe.from(o.response.headers))), Promise.reject(o);
|
|
9026
9026
|
});
|
|
9027
9027
|
}
|
|
9028
|
-
const
|
|
9028
|
+
const $l = "1.7.7", ir = {};
|
|
9029
9029
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
9030
9030
|
ir[e] = function(o) {
|
|
9031
9031
|
return typeof o === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -9034,7 +9034,7 @@ const Tl = "1.7.7", ir = {};
|
|
|
9034
9034
|
const bi = {};
|
|
9035
9035
|
ir.transitional = function(t, n, o) {
|
|
9036
9036
|
function r(i, l) {
|
|
9037
|
-
return "[Axios v" +
|
|
9037
|
+
return "[Axios v" + $l + "] Transitional option '" + i + "'" + l + (o ? ". " + o : "");
|
|
9038
9038
|
}
|
|
9039
9039
|
return (i, l, a) => {
|
|
9040
9040
|
if (t === !1)
|
|
@@ -9341,18 +9341,18 @@ const Io = {
|
|
|
9341
9341
|
Object.entries(Io).forEach(([e, t]) => {
|
|
9342
9342
|
Io[t] = e;
|
|
9343
9343
|
});
|
|
9344
|
-
function
|
|
9344
|
+
function Tl(e) {
|
|
9345
9345
|
const t = new Ct(e), n = ul(Ct.prototype.request, t);
|
|
9346
9346
|
return _.extend(n, Ct.prototype, t, { allOwnKeys: !0 }), _.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
|
|
9347
|
-
return
|
|
9347
|
+
return Tl(Bt(e, r));
|
|
9348
9348
|
}, n;
|
|
9349
9349
|
}
|
|
9350
|
-
const Se =
|
|
9350
|
+
const Se = Tl(an);
|
|
9351
9351
|
Se.Axios = Ct;
|
|
9352
9352
|
Se.CanceledError = Dt;
|
|
9353
9353
|
Se.CancelToken = lr;
|
|
9354
9354
|
Se.isCancel = _l;
|
|
9355
|
-
Se.VERSION =
|
|
9355
|
+
Se.VERSION = $l;
|
|
9356
9356
|
Se.toFormData = Qn;
|
|
9357
9357
|
Se.AxiosError = ne;
|
|
9358
9358
|
Se.Cancel = Se.CanceledError;
|
|
@@ -9510,7 +9510,39 @@ function i0() {
|
|
|
9510
9510
|
}
|
|
9511
9511
|
class U1 extends sn {
|
|
9512
9512
|
async fetchProjectById(t) {
|
|
9513
|
-
return
|
|
9513
|
+
return this.get(`/projects/${t}`);
|
|
9514
|
+
}
|
|
9515
|
+
createProject(t) {
|
|
9516
|
+
return this.post("/projects", t);
|
|
9517
|
+
}
|
|
9518
|
+
editProject(t, n) {
|
|
9519
|
+
return this.put(`/projects/${t}`, n);
|
|
9520
|
+
}
|
|
9521
|
+
fetchProjects(t) {
|
|
9522
|
+
return this.get("/get_list_project", { params: t });
|
|
9523
|
+
}
|
|
9524
|
+
cloneProject(t) {
|
|
9525
|
+
return this.post(`projects/${t.id}/clone`, t);
|
|
9526
|
+
}
|
|
9527
|
+
archiveProject(t, n) {
|
|
9528
|
+
return this.put(`/projects/${t}`, n);
|
|
9529
|
+
}
|
|
9530
|
+
unArchiveProject(t, n) {
|
|
9531
|
+
return this.put(`/projects/${t}`, n);
|
|
9532
|
+
}
|
|
9533
|
+
moveAprProject(t) {
|
|
9534
|
+
return this.post("repairs/move_plan_to_real", {
|
|
9535
|
+
repairs: [t]
|
|
9536
|
+
});
|
|
9537
|
+
}
|
|
9538
|
+
restoreProject(t) {
|
|
9539
|
+
return this.post("/restore_project", { projects_ids: [t] });
|
|
9540
|
+
}
|
|
9541
|
+
importTasks(t) {
|
|
9542
|
+
return this.post("tasks/import", t);
|
|
9543
|
+
}
|
|
9544
|
+
fetchProjectTeamList(t) {
|
|
9545
|
+
return this.put(`/projects/${t}`, null);
|
|
9514
9546
|
}
|
|
9515
9547
|
}
|
|
9516
9548
|
let wo;
|