shared-ritm 1.2.40 → 1.2.42
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var js = Object.defineProperty;
|
|
2
2
|
var zs = (e, t, n) => t in e ? js(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Nl = (e, t, n) => zs(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { markRaw as ri, defineComponent as Qe, reactive as En, h as
|
|
4
|
+
import { markRaw as ri, defineComponent as Qe, reactive as En, h as g, withDirectives as Rt, computed as f, ref as P, getCurrentInstance as we, nextTick as Le, watch as K, onMounted as ut, onBeforeUnmount as Pe, onUnmounted as li, Teleport as Is, onDeactivated as kn, unref as Gn, Transition as $t, useCssVars as Fn, createBlock as pe, openBlock as I, mergeProps as Hs, withCtx as le, renderSlot as Et, createCommentVNode as We, createTextVNode as ot, toDisplayString as ze, toRaw as Zt, normalizeClass as Ce, createElementBlock as de, createVNode as ve, createElementVNode as U, onBeforeUpdate as ai, inject as pn, onActivated as lo, createSlots as Pn, provide as il, normalizeStyle as Ul, getCurrentScope as Ns, onScopeDispose as Us, createStaticVNode as At, resolveDynamicComponent as Ws, Fragment as en, renderList as yn, vShow as ii, onBeforeMount as sl, onUpdated as Ys, shallowReactive as Qs, resolveComponent as Zs, withModifiers as Ro } from "vue";
|
|
5
5
|
function Bt(e, t, n, o) {
|
|
6
6
|
return Object.defineProperty(e, t, {
|
|
7
7
|
get: n,
|
|
@@ -52,7 +52,7 @@ function Js(e, t) {
|
|
|
52
52
|
}
|
|
53
53
|
function jr(e, t, n, o, r, l) {
|
|
54
54
|
t.key = o + r;
|
|
55
|
-
const a =
|
|
55
|
+
const a = g(e, t, n);
|
|
56
56
|
return r === !0 ? Rt(a, l()) : a;
|
|
57
57
|
}
|
|
58
58
|
const Gs = ["top", "middle", "bottom"], eu = be({
|
|
@@ -76,7 +76,7 @@ const Gs = ["top", "middle", "bottom"], eu = be({
|
|
|
76
76
|
const r = e.outline === !0 && e.color || e.textColor;
|
|
77
77
|
return `q-badge flex inline items-center no-wrap q-badge--${e.multiLine === !0 ? "multi" : "single"}-line` + (e.outline === !0 ? " q-badge--outline" : e.color !== void 0 ? ` bg-${e.color}` : "") + (r !== void 0 ? ` text-${r}` : "") + (e.floating === !0 ? " q-badge--floating" : "") + (e.rounded === !0 ? " q-badge--rounded" : "") + (e.transparent === !0 ? " q-badge--transparent" : "");
|
|
78
78
|
});
|
|
79
|
-
return () =>
|
|
79
|
+
return () => g("div", {
|
|
80
80
|
class: o.value,
|
|
81
81
|
style: n.value,
|
|
82
82
|
role: "status",
|
|
@@ -321,11 +321,11 @@ function fl({
|
|
|
321
321
|
mobileTouch(v) {
|
|
322
322
|
if (c.mobileCleanup(v), u(v) !== !0) return;
|
|
323
323
|
r.hide(v), a.value.classList.add("non-selectable");
|
|
324
|
-
const
|
|
324
|
+
const p = v.target;
|
|
325
325
|
Nt(c, "anchor", [
|
|
326
|
-
[
|
|
327
|
-
[
|
|
328
|
-
[
|
|
326
|
+
[p, "touchmove", "mobileCleanup", "passive"],
|
|
327
|
+
[p, "touchend", "mobileCleanup", "passive"],
|
|
328
|
+
[p, "touchcancel", "mobileCleanup", "passive"],
|
|
329
329
|
[a.value, "contextmenu", "prevent", "notPassive"]
|
|
330
330
|
]), i = setTimeout(() => {
|
|
331
331
|
i = null, r.show(v), v.qAnchorHandled = !0;
|
|
@@ -336,16 +336,16 @@ function fl({
|
|
|
336
336
|
}
|
|
337
337
|
}), n = function(v = o.contextMenu) {
|
|
338
338
|
if (o.noParentEvent === !0 || a.value === null) return;
|
|
339
|
-
let
|
|
340
|
-
v === !0 ? r.$q.platform.is.mobile === !0 ?
|
|
339
|
+
let p;
|
|
340
|
+
v === !0 ? r.$q.platform.is.mobile === !0 ? p = [
|
|
341
341
|
[a.value, "touchstart", "mobileTouch", "passive"]
|
|
342
|
-
] :
|
|
342
|
+
] : p = [
|
|
343
343
|
[a.value, "mousedown", "hide", "passive"],
|
|
344
344
|
[a.value, "contextmenu", "contextClick", "notPassive"]
|
|
345
|
-
] :
|
|
345
|
+
] : p = [
|
|
346
346
|
[a.value, "click", "toggle", "passive"],
|
|
347
347
|
[a.value, "keyup", "toggleKey", "passive"]
|
|
348
|
-
], Nt(c, "anchor",
|
|
348
|
+
], Nt(c, "anchor", p);
|
|
349
349
|
});
|
|
350
350
|
function s() {
|
|
351
351
|
fn(c, "anchor");
|
|
@@ -450,7 +450,7 @@ function so({
|
|
|
450
450
|
const a = we(), { props: i, emit: u, proxy: c } = a;
|
|
451
451
|
let s;
|
|
452
452
|
function d(S) {
|
|
453
|
-
e.value === !0 ?
|
|
453
|
+
e.value === !0 ? p(S) : h(S);
|
|
454
454
|
}
|
|
455
455
|
function h(S) {
|
|
456
456
|
if (i.disable === !0 || (S == null ? void 0 : S.qAnchorHandled) === !0 || t !== void 0 && t(S) !== !0) return;
|
|
@@ -462,25 +462,25 @@ function so({
|
|
|
462
462
|
function v(S) {
|
|
463
463
|
e.value !== !0 && (e.value = !0, u("beforeShow", S), o !== void 0 ? o(S) : u("show", S));
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function p(S) {
|
|
466
466
|
if (i.disable === !0) return;
|
|
467
467
|
const x = i["onUpdate:modelValue"] !== void 0;
|
|
468
468
|
x === !0 && (u("update:modelValue", !1), s = S, Le(() => {
|
|
469
469
|
s === S && (s = void 0);
|
|
470
|
-
})), (i.modelValue === null || x === !1) &&
|
|
470
|
+
})), (i.modelValue === null || x === !1) && y(S);
|
|
471
471
|
}
|
|
472
|
-
function
|
|
472
|
+
function y(S) {
|
|
473
473
|
e.value !== !1 && (e.value = !1, u("beforeHide", S), r !== void 0 ? r(S) : u("hide", S));
|
|
474
474
|
}
|
|
475
475
|
function m(S) {
|
|
476
|
-
i.disable === !0 && S === !0 ? i["onUpdate:modelValue"] !== void 0 && u("update:modelValue", !1) : S === !0 !== e.value && (S === !0 ? v :
|
|
476
|
+
i.disable === !0 && S === !0 ? i["onUpdate:modelValue"] !== void 0 && u("update:modelValue", !1) : S === !0 !== e.value && (S === !0 ? v : y)(s);
|
|
477
477
|
}
|
|
478
478
|
K(() => i.modelValue, m), n !== void 0 && vl(a) === !0 && K(() => c.$route.fullPath, () => {
|
|
479
|
-
n.value === !0 && e.value === !0 &&
|
|
479
|
+
n.value === !0 && e.value === !0 && p();
|
|
480
480
|
}), l === !0 && ut(() => {
|
|
481
481
|
m(i.modelValue);
|
|
482
482
|
});
|
|
483
|
-
const C = { show: h, hide:
|
|
483
|
+
const C = { show: h, hide: p, toggle: d };
|
|
484
484
|
return Object.assign(c, C), C;
|
|
485
485
|
}
|
|
486
486
|
let cn = [], to = [];
|
|
@@ -582,7 +582,7 @@ function ml(e, t, n, o) {
|
|
|
582
582
|
hidePortal: s,
|
|
583
583
|
portalIsActive: r,
|
|
584
584
|
portalIsAccessible: l,
|
|
585
|
-
renderPortal: () => u === !0 ? n() : r.value === !0 ? [
|
|
585
|
+
renderPortal: () => u === !0 ? n() : r.value === !0 ? [g(Is, { to: a }, g(mu, n))] : void 0
|
|
586
586
|
};
|
|
587
587
|
}
|
|
588
588
|
const An = {
|
|
@@ -886,7 +886,7 @@ function wl(e, t = 0) {
|
|
|
886
886
|
const D = document.body.style, { offsetLeft: F, offsetTop: Q } = window.visualViewport;
|
|
887
887
|
F !== Kl && (D.setProperty("--q-pe-left", F + "px"), Kl = F), Q !== Xl && (D.setProperty("--q-pe-top", Q + "px"), Xl = Q);
|
|
888
888
|
}
|
|
889
|
-
const { scrollLeft: h, scrollTop: v } = n,
|
|
889
|
+
const { scrollLeft: h, scrollTop: v } = n, p = i === void 0 ? wu(r, c === !0 ? [0, 0] : o) : ku(r, i, o);
|
|
890
890
|
Object.assign(n.style, {
|
|
891
891
|
top: 0,
|
|
892
892
|
left: 0,
|
|
@@ -896,33 +896,33 @@ function wl(e, t = 0) {
|
|
|
896
896
|
maxHeight: s,
|
|
897
897
|
visibility: "visible"
|
|
898
898
|
});
|
|
899
|
-
const { offsetWidth:
|
|
899
|
+
const { offsetWidth: y, offsetHeight: m } = n, { elWidth: C, elHeight: S } = u === !0 || c === !0 ? { elWidth: Math.max(p.width, y), elHeight: c === !0 ? Math.max(p.height, m) : m } : { elWidth: y, elHeight: m };
|
|
900
900
|
let x = { maxWidth: d, maxHeight: s };
|
|
901
|
-
(u === !0 || c === !0) && (x.minWidth =
|
|
901
|
+
(u === !0 || c === !0) && (x.minWidth = p.width + "px", c === !0 && (x.minHeight = p.height + "px")), Object.assign(n.style, x);
|
|
902
902
|
const w = _u(C, S);
|
|
903
|
-
let q = Jl(
|
|
903
|
+
let q = Jl(p, w, l, a);
|
|
904
904
|
if (i === void 0 || o === void 0)
|
|
905
|
-
dr(q,
|
|
905
|
+
dr(q, p, w, l, a);
|
|
906
906
|
else {
|
|
907
907
|
const { top: D, left: F } = q;
|
|
908
|
-
dr(q,
|
|
908
|
+
dr(q, p, w, l, a);
|
|
909
909
|
let Q = !1;
|
|
910
910
|
if (q.top !== D) {
|
|
911
911
|
Q = !0;
|
|
912
912
|
const E = 2 * o[1];
|
|
913
|
-
|
|
913
|
+
p.center = p.top -= E, p.bottom -= E + 2;
|
|
914
914
|
}
|
|
915
915
|
if (q.left !== F) {
|
|
916
916
|
Q = !0;
|
|
917
917
|
const E = 2 * o[0];
|
|
918
|
-
|
|
918
|
+
p.middle = p.left -= E, p.right -= E + 2;
|
|
919
919
|
}
|
|
920
|
-
Q === !0 && (q = Jl(
|
|
920
|
+
Q === !0 && (q = Jl(p, w, l, a), dr(q, p, w, l, a));
|
|
921
921
|
}
|
|
922
922
|
x = {
|
|
923
923
|
top: q.top + "px",
|
|
924
924
|
left: q.left + "px"
|
|
925
|
-
}, q.maxHeight !== void 0 && (x.maxHeight = q.maxHeight + "px",
|
|
925
|
+
}, q.maxHeight !== void 0 && (x.maxHeight = q.maxHeight + "px", p.height > q.maxHeight && (x.minHeight = x.maxHeight)), q.maxWidth !== void 0 && (x.maxWidth = q.maxWidth + "px", p.width > q.maxWidth && (x.minWidth = x.maxWidth)), Object.assign(n.style, x), n.scrollTop !== v && (n.scrollTop = v), n.scrollLeft !== h && (n.scrollLeft = h);
|
|
926
926
|
}
|
|
927
927
|
function dr(e, t, n, o, r) {
|
|
928
928
|
const l = n.bottom, a = n.right, i = Mo(), u = window.innerHeight - i, c = document.body.clientWidth;
|
|
@@ -1009,7 +1009,7 @@ const jo = be({
|
|
|
1009
1009
|
],
|
|
1010
1010
|
setup(e, { slots: t, emit: n, attrs: o }) {
|
|
1011
1011
|
let r, l;
|
|
1012
|
-
const a = we(), { proxy: { $q: i } } = a, u = P(null), c = P(!1), s = f(() => Fo(e.anchor, i.lang.rtl)), d = f(() => Fo(e.self, i.lang.rtl)), h = f(() => e.persistent !== !0), { registerTick: v, removeTick:
|
|
1012
|
+
const a = we(), { proxy: { $q: i } } = a, u = P(null), c = P(!1), s = f(() => Fo(e.anchor, i.lang.rtl)), d = f(() => Fo(e.self, i.lang.rtl)), h = f(() => e.persistent !== !0), { registerTick: v, removeTick: p } = pl(), { registerTimeout: y } = Ko(), { transitionProps: m, transitionStyle: C } = gl(e), { localScrollTarget: S, changeScrollEvent: x, unconfigureScrollTarget: w } = di(e, ce), { anchorEl: q, canShow: D, anchorEvents: F } = fl({ showing: c, configureAnchorEl: G }), { show: Q, hide: E } = so({
|
|
1013
1013
|
showing: c,
|
|
1014
1014
|
canShow: D,
|
|
1015
1015
|
handleShow: J,
|
|
@@ -1045,12 +1045,12 @@ const jo = be({
|
|
|
1045
1045
|
}), r === void 0 && (r = K(
|
|
1046
1046
|
() => i.screen.width + "|" + i.screen.height + "|" + e.self + "|" + e.anchor + "|" + i.lang.rtl,
|
|
1047
1047
|
H
|
|
1048
|
-
)),
|
|
1048
|
+
)), y(() => {
|
|
1049
1049
|
V(!0), n("show", Z);
|
|
1050
1050
|
}, e.transitionDuration);
|
|
1051
1051
|
}
|
|
1052
1052
|
function M(Z) {
|
|
1053
|
-
|
|
1053
|
+
p(), z(), O(), y(() => {
|
|
1054
1054
|
z(!0), n("hide", Z);
|
|
1055
1055
|
}, e.transitionDuration);
|
|
1056
1056
|
}
|
|
@@ -1074,14 +1074,14 @@ const jo = be({
|
|
|
1074
1074
|
const ee = q.value, ae = ["touchmove", "touchcancel", "touchend", "click"].map((re) => [ee, re, "delayHide", "passiveCapture"]);
|
|
1075
1075
|
Nt(F, "tooltipTemp", ae);
|
|
1076
1076
|
}
|
|
1077
|
-
|
|
1077
|
+
y(() => {
|
|
1078
1078
|
Q(Z);
|
|
1079
1079
|
}, e.delay);
|
|
1080
1080
|
}
|
|
1081
1081
|
function N(Z) {
|
|
1082
1082
|
i.platform.is.mobile === !0 && (fn(F, "tooltipTemp"), Ao(), setTimeout(() => {
|
|
1083
1083
|
document.body.classList.remove("non-selectable");
|
|
1084
|
-
}, 10)),
|
|
1084
|
+
}, 10)), y(() => {
|
|
1085
1085
|
E(Z);
|
|
1086
1086
|
}, e.hideDelay);
|
|
1087
1087
|
}
|
|
@@ -1103,7 +1103,7 @@ const jo = be({
|
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
1105
|
function B() {
|
|
1106
|
-
return c.value === !0 ?
|
|
1106
|
+
return c.value === !0 ? g("div", {
|
|
1107
1107
|
...o,
|
|
1108
1108
|
ref: u,
|
|
1109
1109
|
class: [
|
|
@@ -1118,7 +1118,7 @@ const jo = be({
|
|
|
1118
1118
|
}, Te(t.default)) : null;
|
|
1119
1119
|
}
|
|
1120
1120
|
function $() {
|
|
1121
|
-
return
|
|
1121
|
+
return g($t, m.value, B);
|
|
1122
1122
|
}
|
|
1123
1123
|
return Pe(O), Object.assign(a.proxy, { updatePosition: H }), L;
|
|
1124
1124
|
}
|
|
@@ -1194,8 +1194,8 @@ const Gl = "0 0 24 24", fr = (e) => e, vr = (e) => `ionicons ${e}`, bi = {
|
|
|
1194
1194
|
svg: !0,
|
|
1195
1195
|
viewBox: d,
|
|
1196
1196
|
nodes: s.split("&&").map((h) => {
|
|
1197
|
-
const [v,
|
|
1198
|
-
return
|
|
1197
|
+
const [v, p, y] = h.split("@@");
|
|
1198
|
+
return g("path", { style: p, d: v, transform: y });
|
|
1199
1199
|
})
|
|
1200
1200
|
};
|
|
1201
1201
|
}
|
|
@@ -1240,19 +1240,19 @@ const Gl = "0 0 24 24", fr = (e) => e, vr = (e) => `ionicons ${e}`, bi = {
|
|
|
1240
1240
|
style: o.value,
|
|
1241
1241
|
"aria-hidden": "true"
|
|
1242
1242
|
};
|
|
1243
|
-
return l.value.none === !0 ?
|
|
1244
|
-
|
|
1245
|
-
])) : l.value.svg === !0 ?
|
|
1246
|
-
|
|
1243
|
+
return l.value.none === !0 ? g(e.tag, a, Te(t.default)) : l.value.img === !0 ? g(e.tag, a, xt(t.default, [
|
|
1244
|
+
g("img", { src: l.value.src })
|
|
1245
|
+
])) : l.value.svg === !0 ? g(e.tag, a, xt(t.default, [
|
|
1246
|
+
g("svg", {
|
|
1247
1247
|
viewBox: l.value.viewBox || "0 0 24 24"
|
|
1248
1248
|
}, l.value.nodes)
|
|
1249
|
-
])) : l.value.svguse === !0 ?
|
|
1250
|
-
|
|
1249
|
+
])) : l.value.svguse === !0 ? g(e.tag, a, xt(t.default, [
|
|
1250
|
+
g("svg", {
|
|
1251
1251
|
viewBox: l.value.viewBox
|
|
1252
1252
|
}, [
|
|
1253
|
-
|
|
1253
|
+
g("use", { "xlink:href": l.value.src })
|
|
1254
1254
|
])
|
|
1255
|
-
])) : (l.value.cls !== void 0 && (a.class += " " + l.value.cls),
|
|
1255
|
+
])) : (l.value.cls !== void 0 && (a.class += " " + l.value.cls), g(e.tag, a, xt(t.default, [
|
|
1256
1256
|
l.value.content
|
|
1257
1257
|
])));
|
|
1258
1258
|
};
|
|
@@ -1283,13 +1283,13 @@ const kl = be({
|
|
|
1283
1283
|
},
|
|
1284
1284
|
setup(e) {
|
|
1285
1285
|
const { cSize: t, classes: n } = Ci(e);
|
|
1286
|
-
return () =>
|
|
1286
|
+
return () => g("svg", {
|
|
1287
1287
|
class: n.value + " q-spinner-mat",
|
|
1288
1288
|
width: t.value,
|
|
1289
1289
|
height: t.value,
|
|
1290
1290
|
viewBox: "25 25 50 50"
|
|
1291
1291
|
}, [
|
|
1292
|
-
|
|
1292
|
+
g("circle", {
|
|
1293
1293
|
class: "path",
|
|
1294
1294
|
cx: "50",
|
|
1295
1295
|
cy: "50",
|
|
@@ -1315,7 +1315,7 @@ function ta(e, t, n, o) {
|
|
|
1315
1315
|
const r = n.modifiers.color;
|
|
1316
1316
|
let l = n.modifiers.center;
|
|
1317
1317
|
l = l === !0 || o === !0;
|
|
1318
|
-
const a = document.createElement("span"), i = document.createElement("span"), u = eo(e), { left: c, top: s, width: d, height: h } = t.getBoundingClientRect(), v = Math.sqrt(d * d + h * h),
|
|
1318
|
+
const a = document.createElement("span"), i = document.createElement("span"), u = eo(e), { left: c, top: s, width: d, height: h } = t.getBoundingClientRect(), v = Math.sqrt(d * d + h * h), p = v / 2, y = `${(d - v) / 2}px`, m = l ? y : `${u.left - c - p}px`, C = `${(h - v) / 2}px`, S = l ? C : `${u.top - s - p}px`;
|
|
1319
1319
|
i.className = "q-ripple__inner", Hr(i, {
|
|
1320
1320
|
height: `${v}px`,
|
|
1321
1321
|
width: `${v}px`,
|
|
@@ -1327,7 +1327,7 @@ function ta(e, t, n, o) {
|
|
|
1327
1327
|
};
|
|
1328
1328
|
n.abort.push(x);
|
|
1329
1329
|
let w = setTimeout(() => {
|
|
1330
|
-
i.classList.add("q-ripple__inner--enter"), i.style.transform = `translate3d(${
|
|
1330
|
+
i.classList.add("q-ripple__inner--enter"), i.style.transform = `translate3d(${y},${C},0) scale3d(1,1,1)`, i.style.opacity = 0.2, w = setTimeout(() => {
|
|
1331
1331
|
i.classList.remove("q-ripple__inner--enter"), i.classList.add("q-ripple__inner--leave"), i.style.opacity = 0, w = setTimeout(() => {
|
|
1332
1332
|
a.remove(), n.abort.splice(n.abort.indexOf(x), 1);
|
|
1333
1333
|
}, 275);
|
|
@@ -1466,7 +1466,7 @@ function $i({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1466
1466
|
} : s.value === !0 ? {
|
|
1467
1467
|
href: c.value.href,
|
|
1468
1468
|
target: o.target
|
|
1469
|
-
} : {}),
|
|
1469
|
+
} : {}), p = f(() => {
|
|
1470
1470
|
if (s.value === !1)
|
|
1471
1471
|
return -1;
|
|
1472
1472
|
const { matched: q } = c.value, { length: D } = q, F = q[D - 1];
|
|
@@ -1487,11 +1487,11 @@ function $i({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1487
1487
|
ra.bind(null, q[D - 2])
|
|
1488
1488
|
) : E
|
|
1489
1489
|
);
|
|
1490
|
-
}),
|
|
1491
|
-
() => s.value === !0 &&
|
|
1490
|
+
}), y = f(
|
|
1491
|
+
() => s.value === !0 && p.value !== -1 && Eu(r.$route.params, c.value.params)
|
|
1492
1492
|
), m = f(
|
|
1493
|
-
() =>
|
|
1494
|
-
), C = f(() => s.value === !0 ? m.value === !0 ? ` ${o.exactActiveClass} ${o.activeClass}` : o.exact === !0 ? "" :
|
|
1493
|
+
() => y.value === !0 && p.value === r.$route.matched.length - 1 && Au(r.$route.params, c.value.params)
|
|
1494
|
+
), C = f(() => s.value === !0 ? m.value === !0 ? ` ${o.exactActiveClass} ${o.activeClass}` : o.exact === !0 ? "" : y.value === !0 ? ` ${o.activeClass}` : "" : "");
|
|
1495
1495
|
function S(q) {
|
|
1496
1496
|
try {
|
|
1497
1497
|
return r.$router.resolve(q);
|
|
@@ -1527,7 +1527,7 @@ function $i({ fallbackTag: e, useDisableForRouterLinkProps: t = !0 } = {}) {
|
|
|
1527
1527
|
hasLink: d,
|
|
1528
1528
|
linkTag: h,
|
|
1529
1529
|
resolvedLink: c,
|
|
1530
|
-
linkIsActive:
|
|
1530
|
+
linkIsActive: y,
|
|
1531
1531
|
linkIsExactActive: m,
|
|
1532
1532
|
linkClass: C,
|
|
1533
1533
|
linkAttrs: v,
|
|
@@ -1625,18 +1625,18 @@ function zu(e) {
|
|
|
1625
1625
|
"aria-valuemax": 100,
|
|
1626
1626
|
"aria-valuenow": e.percentage
|
|
1627
1627
|
}), m;
|
|
1628
|
-
}),
|
|
1628
|
+
}), p = f(() => {
|
|
1629
1629
|
let m;
|
|
1630
1630
|
e.color !== void 0 ? e.flat === !0 || e.outline === !0 ? m = `text-${e.textColor || e.color}` : m = `bg-${e.color} text-${e.textColor || "white"}` : e.textColor && (m = `text-${e.textColor}`);
|
|
1631
1631
|
const C = e.round === !0 ? "round" : `rectangle${c.value === !0 ? " q-btn--rounded" : e.square === !0 ? " q-btn--square" : ""}`;
|
|
1632
1632
|
return `q-btn--${h.value} q-btn--${C}` + (m !== void 0 ? " " + m : "") + (s.value === !0 ? " q-btn--actionable q-focusable q-hoverable" : e.disable === !0 ? " disabled" : "") + (e.fab === !0 ? " q-btn--fab" : e.fabMini === !0 ? " q-btn--fab-mini" : "") + (e.noCaps === !0 ? " q-btn--no-uppercase" : "") + (e.dense === !0 ? " q-btn--dense" : "") + (e.stretch === !0 ? " no-border-radius self-stretch" : "") + (e.glossy === !0 ? " glossy" : "") + (e.square ? " q-btn--square" : "");
|
|
1633
|
-
}),
|
|
1633
|
+
}), y = f(
|
|
1634
1634
|
() => n.value + (e.stack === !0 ? " column" : " row") + (e.noWrap === !0 ? " no-wrap text-no-wrap" : "") + (e.loading === !0 ? " q-btn__content--hidden" : "")
|
|
1635
1635
|
);
|
|
1636
1636
|
return {
|
|
1637
|
-
classes:
|
|
1637
|
+
classes: p,
|
|
1638
1638
|
style: u,
|
|
1639
|
-
innerClasses:
|
|
1639
|
+
innerClasses: y,
|
|
1640
1640
|
attributes: v,
|
|
1641
1641
|
hasLink: r,
|
|
1642
1642
|
linkTag: l,
|
|
@@ -1666,7 +1666,7 @@ const Ve = be({
|
|
|
1666
1666
|
navigateOnClick: s,
|
|
1667
1667
|
isActionable: d
|
|
1668
1668
|
} = zu(e), h = P(null), v = P(null);
|
|
1669
|
-
let
|
|
1669
|
+
let p = null, y, m = null;
|
|
1670
1670
|
const C = f(
|
|
1671
1671
|
() => e.label !== void 0 && e.label !== null && e.label !== ""
|
|
1672
1672
|
), S = f(() => e.disable === !0 || e.ripple === !1 ? !1 : {
|
|
@@ -1728,12 +1728,12 @@ const Ve = be({
|
|
|
1728
1728
|
h.value !== null && (n("keydown", M), Gt(M, [13, 32]) === !0 && $n !== h.value && ($n !== null && L(), M.defaultPrevented !== !0 && (M.qAvoidFocus !== !0 && h.value.focus(), $n = h.value, h.value.classList.add("q-btn--active"), document.addEventListener("keyup", z, !0), h.value.addEventListener("blur", z, Mt)), je(M)));
|
|
1729
1729
|
}
|
|
1730
1730
|
function E(M) {
|
|
1731
|
-
h.value !== null && (n("touchstart", M), M.defaultPrevented !== !0 && (Mn !== h.value && (Mn !== null && L(), Mn = h.value,
|
|
1732
|
-
m = null,
|
|
1731
|
+
h.value !== null && (n("touchstart", M), M.defaultPrevented !== !0 && (Mn !== h.value && (Mn !== null && L(), Mn = h.value, p = M.target, p.addEventListener("touchcancel", z, Mt), p.addEventListener("touchend", z, Mt)), y = !0, m !== null && clearTimeout(m), m = setTimeout(() => {
|
|
1732
|
+
m = null, y = !1;
|
|
1733
1733
|
}, 200)));
|
|
1734
1734
|
}
|
|
1735
1735
|
function V(M) {
|
|
1736
|
-
h.value !== null && (M.qSkipRipple =
|
|
1736
|
+
h.value !== null && (M.qSkipRipple = y === !0, n("mousedown", M), M.defaultPrevented !== !0 && Bn !== h.value && (Bn !== null && L(), Bn = h.value, h.value.classList.add("q-btn--active"), document.addEventListener("mouseup", z, Mt)));
|
|
1737
1737
|
}
|
|
1738
1738
|
function z(M) {
|
|
1739
1739
|
if (h.value !== null && !((M == null ? void 0 : M.type) === "blur" && document.activeElement === h.value)) {
|
|
@@ -1750,7 +1750,7 @@ const Ve = be({
|
|
|
1750
1750
|
function L(M) {
|
|
1751
1751
|
var H, j;
|
|
1752
1752
|
const O = v.value;
|
|
1753
|
-
M !== !0 && (Mn === h.value || Bn === h.value) && O !== null && O !== document.activeElement && (O.setAttribute("tabindex", -1), O.focus()), Mn === h.value && (
|
|
1753
|
+
M !== !0 && (Mn === h.value || Bn === h.value) && O !== null && O !== document.activeElement && (O.setAttribute("tabindex", -1), O.focus()), Mn === h.value && (p !== null && (p.removeEventListener("touchcancel", z, Mt), p.removeEventListener("touchend", z, Mt)), Mn = p = null), Bn === h.value && (document.removeEventListener("mouseup", z, Mt), Bn = null), $n === h.value && (document.removeEventListener("keyup", z, !0), (H = h.value) == null || H.removeEventListener("blur", z, Mt), $n = null), (j = h.value) == null || j.classList.remove("q-btn--active");
|
|
1754
1754
|
}
|
|
1755
1755
|
function J(M) {
|
|
1756
1756
|
je(M), M.qSkipRipple = !0;
|
|
@@ -1764,50 +1764,50 @@ const Ve = be({
|
|
|
1764
1764
|
}), () => {
|
|
1765
1765
|
let M = [];
|
|
1766
1766
|
e.icon !== void 0 && M.push(
|
|
1767
|
-
|
|
1767
|
+
g(Ye, {
|
|
1768
1768
|
name: e.icon,
|
|
1769
1769
|
left: e.stack !== !0 && C.value === !0,
|
|
1770
1770
|
role: "img"
|
|
1771
1771
|
})
|
|
1772
1772
|
), C.value === !0 && M.push(
|
|
1773
|
-
|
|
1773
|
+
g("span", { class: "block" }, [e.label])
|
|
1774
1774
|
), M = xt(t.default, M), e.iconRight !== void 0 && e.round === !1 && M.push(
|
|
1775
|
-
|
|
1775
|
+
g(Ye, {
|
|
1776
1776
|
name: e.iconRight,
|
|
1777
1777
|
right: e.stack !== !0 && C.value === !0,
|
|
1778
1778
|
role: "img"
|
|
1779
1779
|
})
|
|
1780
1780
|
);
|
|
1781
1781
|
const O = [
|
|
1782
|
-
|
|
1782
|
+
g("span", {
|
|
1783
1783
|
class: "q-focus-helper",
|
|
1784
1784
|
ref: v
|
|
1785
1785
|
})
|
|
1786
1786
|
];
|
|
1787
1787
|
return e.loading === !0 && e.percentage !== void 0 && O.push(
|
|
1788
|
-
|
|
1788
|
+
g("span", {
|
|
1789
1789
|
class: "q-btn__progress absolute-full overflow-hidden" + (e.darkPercentage === !0 ? " q-btn__progress--dark" : "")
|
|
1790
1790
|
}, [
|
|
1791
|
-
|
|
1791
|
+
g("span", {
|
|
1792
1792
|
class: "q-btn__progress-indicator fit block",
|
|
1793
1793
|
style: w.value
|
|
1794
1794
|
})
|
|
1795
1795
|
])
|
|
1796
1796
|
), O.push(
|
|
1797
|
-
|
|
1797
|
+
g("span", {
|
|
1798
1798
|
class: "q-btn__content text-center col items-center q-anchor--skip " + a.value
|
|
1799
1799
|
}, M)
|
|
1800
1800
|
), e.loading !== null && O.push(
|
|
1801
|
-
|
|
1801
|
+
g($t, {
|
|
1802
1802
|
name: "q-transition--fade"
|
|
1803
1803
|
}, () => e.loading === !0 ? [
|
|
1804
|
-
|
|
1804
|
+
g("span", {
|
|
1805
1805
|
key: "loading",
|
|
1806
1806
|
class: "absolute-full flex flex-center"
|
|
1807
|
-
}, t.loading !== void 0 ? t.loading() : [
|
|
1807
|
+
}, t.loading !== void 0 ? t.loading() : [g(kl)])
|
|
1808
1808
|
] : null)
|
|
1809
1809
|
), Rt(
|
|
1810
|
-
|
|
1810
|
+
g(
|
|
1811
1811
|
c.value,
|
|
1812
1812
|
D.value,
|
|
1813
1813
|
O
|
|
@@ -1944,7 +1944,7 @@ function dt(e, t) {
|
|
|
1944
1944
|
return f(() => e.dark === null ? t.dark.isActive : e.dark);
|
|
1945
1945
|
}
|
|
1946
1946
|
function Li(e, t) {
|
|
1947
|
-
const n = P(null), o = f(() => e.disable === !0 ? null :
|
|
1947
|
+
const n = P(null), o = f(() => e.disable === !0 ? null : g("span", {
|
|
1948
1948
|
ref: n,
|
|
1949
1949
|
class: "no-outline",
|
|
1950
1950
|
tabindex: -1
|
|
@@ -1971,7 +1971,7 @@ function Wu(e) {
|
|
|
1971
1971
|
function Sl(e = {}) {
|
|
1972
1972
|
return (t, n, o) => {
|
|
1973
1973
|
t[n](
|
|
1974
|
-
|
|
1974
|
+
g("input", {
|
|
1975
1975
|
class: "hidden" + (o || ""),
|
|
1976
1976
|
...e.value
|
|
1977
1977
|
})
|
|
@@ -2021,19 +2021,19 @@ function Vi(e, t) {
|
|
|
2021
2021
|
), v = f(() => {
|
|
2022
2022
|
const L = Zt(n.val);
|
|
2023
2023
|
return h.value === !0 ? n.modelValue.findIndex((J) => Zt(J) === L) : -1;
|
|
2024
|
-
}),
|
|
2025
|
-
() =>
|
|
2024
|
+
}), p = f(() => h.value === !0 ? v.value !== -1 : Zt(n.modelValue) === Zt(n.trueValue)), y = f(() => h.value === !0 ? v.value === -1 : Zt(n.modelValue) === Zt(n.falseValue)), m = f(
|
|
2025
|
+
() => p.value === !1 && y.value === !1
|
|
2026
2026
|
), C = f(() => n.disable === !0 ? -1 : n.tabindex || 0), S = f(
|
|
2027
2027
|
() => `q-${e} cursor-pointer no-outline row inline no-wrap items-center` + (n.disable === !0 ? " disabled" : "") + (i.value === !0 ? ` q-${e}--dark` : "") + (n.dense === !0 ? ` q-${e}--dense` : "") + (n.leftLabel === !0 ? " reverse" : "")
|
|
2028
2028
|
), x = f(() => {
|
|
2029
|
-
const L =
|
|
2029
|
+
const L = p.value === !0 ? "truthy" : y.value === !0 ? "falsy" : "indet", J = n.color !== void 0 && (n.keepColor === !0 || (e === "toggle" ? p.value === !0 : y.value !== !0)) ? ` text-${n.color}` : "";
|
|
2030
2030
|
return `q-${e}__inner relative-position non-selectable q-${e}__inner--${L}${J}`;
|
|
2031
2031
|
}), w = f(() => {
|
|
2032
2032
|
const L = { type: "checkbox" };
|
|
2033
2033
|
return n.name !== void 0 && Object.assign(L, {
|
|
2034
2034
|
// see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
|
|
2035
|
-
".checked":
|
|
2036
|
-
"^checked":
|
|
2035
|
+
".checked": p.value,
|
|
2036
|
+
"^checked": p.value === !0 ? "checked" : void 0,
|
|
2037
2037
|
name: n.name,
|
|
2038
2038
|
value: h.value === !0 ? n.val : n.trueValue
|
|
2039
2039
|
}), L;
|
|
@@ -2042,7 +2042,7 @@ function Vi(e, t) {
|
|
|
2042
2042
|
tabindex: C.value,
|
|
2043
2043
|
role: e === "toggle" ? "switch" : "checkbox",
|
|
2044
2044
|
"aria-label": n.label,
|
|
2045
|
-
"aria-checked": m.value === !0 ? "mixed" :
|
|
2045
|
+
"aria-checked": m.value === !0 ? "mixed" : p.value === !0 ? "true" : "false"
|
|
2046
2046
|
};
|
|
2047
2047
|
return n.disable === !0 && (L["aria-disabled"] = "true"), L;
|
|
2048
2048
|
});
|
|
@@ -2051,16 +2051,16 @@ function Vi(e, t) {
|
|
|
2051
2051
|
}
|
|
2052
2052
|
function Q() {
|
|
2053
2053
|
if (h.value === !0) {
|
|
2054
|
-
if (
|
|
2054
|
+
if (p.value === !0) {
|
|
2055
2055
|
const L = n.modelValue.slice();
|
|
2056
2056
|
return L.splice(v.value, 1), L;
|
|
2057
2057
|
}
|
|
2058
2058
|
return n.modelValue.concat([n.val]);
|
|
2059
2059
|
}
|
|
2060
|
-
if (
|
|
2060
|
+
if (p.value === !0) {
|
|
2061
2061
|
if (n.toggleOrder !== "ft" || n.toggleIndeterminate === !1)
|
|
2062
2062
|
return n.falseValue;
|
|
2063
|
-
} else if (
|
|
2063
|
+
} else if (y.value === !0) {
|
|
2064
2064
|
if (n.toggleOrder === "ft" || n.toggleIndeterminate === !1)
|
|
2065
2065
|
return n.trueValue;
|
|
2066
2066
|
} else
|
|
@@ -2073,7 +2073,7 @@ function Vi(e, t) {
|
|
|
2073
2073
|
function V(L) {
|
|
2074
2074
|
(L.keyCode === 13 || L.keyCode === 32) && F(L);
|
|
2075
2075
|
}
|
|
2076
|
-
const z = t(
|
|
2076
|
+
const z = t(p, m);
|
|
2077
2077
|
return Object.assign(l, { toggle: F }), () => {
|
|
2078
2078
|
const L = z();
|
|
2079
2079
|
n.disable !== !0 && q(
|
|
@@ -2082,7 +2082,7 @@ function Vi(e, t) {
|
|
|
2082
2082
|
` q-${e}__native absolute q-ma-none q-pa-none`
|
|
2083
2083
|
);
|
|
2084
2084
|
const J = [
|
|
2085
|
-
|
|
2085
|
+
g("div", {
|
|
2086
2086
|
class: x.value,
|
|
2087
2087
|
style: d.value,
|
|
2088
2088
|
"aria-hidden": "true"
|
|
@@ -2091,10 +2091,10 @@ function Vi(e, t) {
|
|
|
2091
2091
|
c.value !== null && J.push(c.value);
|
|
2092
2092
|
const M = n.label !== void 0 ? xt(o.default, [n.label]) : Te(o.default);
|
|
2093
2093
|
return M !== void 0 && J.push(
|
|
2094
|
-
|
|
2094
|
+
g("div", {
|
|
2095
2095
|
class: `q-${e}__label q-anchor--skip`
|
|
2096
2096
|
}, M)
|
|
2097
|
-
),
|
|
2097
|
+
), g("div", {
|
|
2098
2098
|
ref: u,
|
|
2099
2099
|
class: S.value,
|
|
2100
2100
|
...D.value,
|
|
@@ -2104,20 +2104,20 @@ function Vi(e, t) {
|
|
|
2104
2104
|
}, J);
|
|
2105
2105
|
};
|
|
2106
2106
|
}
|
|
2107
|
-
const Yu = () =>
|
|
2107
|
+
const Yu = () => g("div", {
|
|
2108
2108
|
key: "svg",
|
|
2109
2109
|
class: "q-checkbox__bg absolute"
|
|
2110
2110
|
}, [
|
|
2111
|
-
|
|
2111
|
+
g("svg", {
|
|
2112
2112
|
class: "q-checkbox__svg fit absolute-full",
|
|
2113
2113
|
viewBox: "0 0 24 24"
|
|
2114
2114
|
}, [
|
|
2115
|
-
|
|
2115
|
+
g("path", {
|
|
2116
2116
|
class: "q-checkbox__truthy",
|
|
2117
2117
|
fill: "none",
|
|
2118
2118
|
d: "M1.73,12.91 8.1,19.28 22.79,4.59"
|
|
2119
2119
|
}),
|
|
2120
|
-
|
|
2120
|
+
g("path", {
|
|
2121
2121
|
class: "q-checkbox__indet",
|
|
2122
2122
|
d: "M4,14H20V10H4"
|
|
2123
2123
|
})
|
|
@@ -2133,11 +2133,11 @@ const Yu = () => y("div", {
|
|
|
2133
2133
|
() => (o.value === !0 ? e.checkedIcon : r.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || null
|
|
2134
2134
|
);
|
|
2135
2135
|
return () => l.value !== null ? [
|
|
2136
|
-
|
|
2136
|
+
g("div", {
|
|
2137
2137
|
key: "icon",
|
|
2138
2138
|
class: "q-checkbox__icon-container absolute-full flex flex-center no-wrap"
|
|
2139
2139
|
}, [
|
|
2140
|
-
|
|
2140
|
+
g(Ye, {
|
|
2141
2141
|
class: "q-checkbox__icon",
|
|
2142
2142
|
name: l.value
|
|
2143
2143
|
})
|
|
@@ -2700,8 +2700,8 @@ function cc(e, t, n, o, r) {
|
|
|
2700
2700
|
const v = parseInt(d[s.X !== void 0 ? s.X : s.x], 10);
|
|
2701
2701
|
if (isNaN(v) === !0 || v < 0)
|
|
2702
2702
|
return l;
|
|
2703
|
-
const
|
|
2704
|
-
l.year =
|
|
2703
|
+
const p = new Date(v * (s.X !== void 0 ? 1e3 : 1));
|
|
2704
|
+
l.year = p.getFullYear(), l.month = p.getMonth() + 1, l.day = p.getDate(), l.hour = p.getHours(), l.minute = p.getMinutes(), l.second = p.getSeconds(), l.millisecond = p.getMilliseconds();
|
|
2705
2705
|
} else {
|
|
2706
2706
|
if (s.YYYY !== void 0)
|
|
2707
2707
|
l.year = parseInt(d[s.YYYY], 10);
|
|
@@ -3047,17 +3047,17 @@ const vc = be({
|
|
|
3047
3047
|
setup(e, { slots: t, emit: n }) {
|
|
3048
3048
|
const { proxy: o } = we(), { $q: r } = o, l = dt(e, r), { getCache: a } = Xu(), { tabindex: i, headerClass: u, getLocale: c, getCurrentDate: s } = lc(e, r);
|
|
3049
3049
|
let d;
|
|
3050
|
-
const h = Wu(e), v = Sl(h),
|
|
3050
|
+
const h = Wu(e), v = Sl(h), p = P(null), y = P(on()), m = P(c()), C = f(() => on()), S = f(() => c()), x = f(() => s()), w = P(at(y.value, m.value)), q = P(e.defaultView), D = f(() => r.lang.rtl === !0 ? "right" : "left"), F = P(D.value), Q = P(D.value), E = w.value.year, V = P(E - E % zt - (E < 0 ? zt : 0)), z = P(null), L = f(() => {
|
|
3051
3051
|
const b = e.landscape === !0 ? "landscape" : "portrait";
|
|
3052
3052
|
return `q-date q-date--${b} q-date--${b}-${e.minimal === !0 ? "minimal" : "standard"}` + (l.value === !0 ? " q-date--dark q-dark" : "") + (e.bordered === !0 ? " q-date--bordered" : "") + (e.square === !0 ? " q-date--square no-border-radius" : "") + (e.flat === !0 ? " q-date--flat no-shadow" : "") + (e.disable === !0 ? " disabled" : e.readonly === !0 ? " q-date--readonly" : "");
|
|
3053
3053
|
}), J = f(() => e.color || "primary"), M = f(() => e.textColor || "white"), O = f(
|
|
3054
3054
|
() => e.emitImmediately === !0 && e.multiple !== !0 && e.range !== !0
|
|
3055
3055
|
), H = f(() => Array.isArray(e.modelValue) === !0 ? e.modelValue : e.modelValue !== null && e.modelValue !== void 0 ? [e.modelValue] : []), j = f(
|
|
3056
|
-
() => H.value.filter((b) => typeof b == "string").map((b) => ht(b,
|
|
3056
|
+
() => H.value.filter((b) => typeof b == "string").map((b) => ht(b, y.value, m.value)).filter(
|
|
3057
3057
|
(b) => b.dateHash !== null && b.day !== null && b.month !== null && b.year !== null
|
|
3058
3058
|
)
|
|
3059
3059
|
), N = f(() => {
|
|
3060
|
-
const b = (k) => ht(k,
|
|
3060
|
+
const b = (k) => ht(k, y.value, m.value);
|
|
3061
3061
|
return H.value.filter((k) => Di(k) === !0 && k.from !== void 0 && k.to !== void 0).map((k) => ({ from: b(k.from), to: b(k.to) })).filter((k) => k.from.dateHash !== null && k.to.dateHash !== null && k.from.dateHash < k.to.dateHash);
|
|
3062
3062
|
}), G = f(() => e.calendar !== "persian" ? (b) => new Date(b.year, b.month - 1, b.day) : (b) => {
|
|
3063
3063
|
const k = ia(b.year, b.month, b.day);
|
|
@@ -3072,7 +3072,7 @@ const vc = be({
|
|
|
3072
3072
|
b.second,
|
|
3073
3073
|
b.millisecond
|
|
3074
3074
|
),
|
|
3075
|
-
k === void 0 ?
|
|
3075
|
+
k === void 0 ? y.value : k,
|
|
3076
3076
|
A === void 0 ? m.value : A,
|
|
3077
3077
|
b.year,
|
|
3078
3078
|
b.timezoneOffset
|
|
@@ -3285,17 +3285,17 @@ const vc = be({
|
|
|
3285
3285
|
if (d === JSON.stringify(b))
|
|
3286
3286
|
d = 0;
|
|
3287
3287
|
else {
|
|
3288
|
-
const k = at(
|
|
3288
|
+
const k = at(y.value, m.value);
|
|
3289
3289
|
yt(k.year, k.month, k);
|
|
3290
3290
|
}
|
|
3291
3291
|
}), K(q, () => {
|
|
3292
|
-
|
|
3292
|
+
p.value !== null && o.$el.contains(document.activeElement) === !0 && p.value.focus();
|
|
3293
3293
|
}), K(() => w.value.year + "|" + w.value.month, () => {
|
|
3294
3294
|
n("navigation", { year: w.value.year, month: w.value.month });
|
|
3295
3295
|
}), K(C, (b) => {
|
|
3296
|
-
te(b, m.value, "mask"),
|
|
3296
|
+
te(b, m.value, "mask"), y.value = b;
|
|
3297
3297
|
}), K(S, (b) => {
|
|
3298
|
-
te(
|
|
3298
|
+
te(y.value, b, "locale"), m.value = b;
|
|
3299
3299
|
});
|
|
3300
3300
|
function Ee(b) {
|
|
3301
3301
|
d = JSON.stringify(b);
|
|
@@ -3479,15 +3479,15 @@ const vc = be({
|
|
|
3479
3479
|
}
|
|
3480
3480
|
function ge() {
|
|
3481
3481
|
if (e.minimal !== !0)
|
|
3482
|
-
return
|
|
3482
|
+
return g("div", {
|
|
3483
3483
|
class: "q-date__header " + u.value
|
|
3484
3484
|
}, [
|
|
3485
|
-
|
|
3485
|
+
g("div", {
|
|
3486
3486
|
class: "relative-position"
|
|
3487
3487
|
}, [
|
|
3488
|
-
|
|
3488
|
+
g($t, {
|
|
3489
3489
|
name: "q-transition--fade"
|
|
3490
|
-
}, () =>
|
|
3490
|
+
}, () => g("div", {
|
|
3491
3491
|
key: "h-yr-" + ae.value,
|
|
3492
3492
|
class: "q-date__header-subtitle q-date__header-link " + (q.value === "Years" ? "q-date__header-link--active" : "cursor-pointer"),
|
|
3493
3493
|
tabindex: i.value,
|
|
@@ -3501,15 +3501,15 @@ const vc = be({
|
|
|
3501
3501
|
})
|
|
3502
3502
|
}, [ae.value]))
|
|
3503
3503
|
]),
|
|
3504
|
-
|
|
3504
|
+
g("div", {
|
|
3505
3505
|
class: "q-date__header-title relative-position flex no-wrap"
|
|
3506
3506
|
}, [
|
|
3507
|
-
|
|
3507
|
+
g("div", {
|
|
3508
3508
|
class: "relative-position col"
|
|
3509
3509
|
}, [
|
|
3510
|
-
|
|
3510
|
+
g($t, {
|
|
3511
3511
|
name: "q-transition--fade"
|
|
3512
|
-
}, () =>
|
|
3512
|
+
}, () => g("div", {
|
|
3513
3513
|
key: "h-sub" + $.value,
|
|
3514
3514
|
class: "q-date__header-title-label q-date__header-link " + (q.value === "Calendar" ? "q-date__header-link--active" : "cursor-pointer"),
|
|
3515
3515
|
tabindex: i.value,
|
|
@@ -3523,7 +3523,7 @@ const vc = be({
|
|
|
3523
3523
|
})
|
|
3524
3524
|
}, [$.value]))
|
|
3525
3525
|
]),
|
|
3526
|
-
e.todayBtn === !0 ?
|
|
3526
|
+
e.todayBtn === !0 ? g(Ve, {
|
|
3527
3527
|
class: "q-date__header-today self-start",
|
|
3528
3528
|
icon: r.iconSet.datetime.today,
|
|
3529
3529
|
ariaLabel: r.lang.date.today,
|
|
@@ -3538,10 +3538,10 @@ const vc = be({
|
|
|
3538
3538
|
}
|
|
3539
3539
|
function he({ label: b, type: k, key: A, dir: X, goTo: ne, boundaries: xe, cls: se }) {
|
|
3540
3540
|
return [
|
|
3541
|
-
|
|
3541
|
+
g("div", {
|
|
3542
3542
|
class: "row items-center q-date__arrow"
|
|
3543
3543
|
}, [
|
|
3544
|
-
|
|
3544
|
+
g(Ve, {
|
|
3545
3545
|
round: !0,
|
|
3546
3546
|
dense: !0,
|
|
3547
3547
|
size: "sm",
|
|
@@ -3555,13 +3555,13 @@ const vc = be({
|
|
|
3555
3555
|
} })
|
|
3556
3556
|
})
|
|
3557
3557
|
]),
|
|
3558
|
-
|
|
3558
|
+
g("div", {
|
|
3559
3559
|
class: "relative-position overflow-hidden flex flex-center" + se
|
|
3560
3560
|
}, [
|
|
3561
|
-
|
|
3561
|
+
g($t, {
|
|
3562
3562
|
name: "q-transition--jump-" + X
|
|
3563
|
-
}, () =>
|
|
3564
|
-
|
|
3563
|
+
}, () => g("div", { key: A }, [
|
|
3564
|
+
g(Ve, {
|
|
3565
3565
|
flat: !0,
|
|
3566
3566
|
dense: !0,
|
|
3567
3567
|
noCaps: !0,
|
|
@@ -3573,10 +3573,10 @@ const vc = be({
|
|
|
3573
3573
|
})
|
|
3574
3574
|
]))
|
|
3575
3575
|
]),
|
|
3576
|
-
|
|
3576
|
+
g("div", {
|
|
3577
3577
|
class: "row items-center q-date__arrow"
|
|
3578
3578
|
}, [
|
|
3579
|
-
|
|
3579
|
+
g(Ve, {
|
|
3580
3580
|
round: !0,
|
|
3581
3581
|
dense: !0,
|
|
3582
3582
|
size: "sm",
|
|
@@ -3594,11 +3594,11 @@ const vc = be({
|
|
|
3594
3594
|
}
|
|
3595
3595
|
const _e = {
|
|
3596
3596
|
Calendar: () => [
|
|
3597
|
-
|
|
3597
|
+
g("div", {
|
|
3598
3598
|
key: "calendar-view",
|
|
3599
3599
|
class: "q-date__view q-date__calendar"
|
|
3600
3600
|
}, [
|
|
3601
|
-
|
|
3601
|
+
g("div", {
|
|
3602
3602
|
class: "q-date__navigation row items-center no-wrap"
|
|
3603
3603
|
}, he({
|
|
3604
3604
|
label: m.value.months[w.value.month - 1],
|
|
@@ -3617,19 +3617,19 @@ const vc = be({
|
|
|
3617
3617
|
boundaries: Ue.value.year,
|
|
3618
3618
|
cls: ""
|
|
3619
3619
|
}))),
|
|
3620
|
-
|
|
3620
|
+
g("div", {
|
|
3621
3621
|
class: "q-date__calendar-weekdays row items-center no-wrap"
|
|
3622
|
-
}, Me.value.map((b) =>
|
|
3623
|
-
|
|
3622
|
+
}, Me.value.map((b) => g("div", { class: "q-date__calendar-item" }, [g("div", b)]))),
|
|
3623
|
+
g("div", {
|
|
3624
3624
|
class: "q-date__calendar-days-container relative-position overflow-hidden"
|
|
3625
3625
|
}, [
|
|
3626
|
-
|
|
3626
|
+
g($t, {
|
|
3627
3627
|
name: "q-transition--slide-" + F.value
|
|
3628
|
-
}, () =>
|
|
3628
|
+
}, () => g("div", {
|
|
3629
3629
|
key: Ie.value,
|
|
3630
3630
|
class: "q-date__calendar-days fit"
|
|
3631
|
-
}, W.value.map((b) =>
|
|
3632
|
-
b.in === !0 ?
|
|
3631
|
+
}, W.value.map((b) => g("div", { class: b.classes }, [
|
|
3632
|
+
b.in === !0 ? g(
|
|
3633
3633
|
Ve,
|
|
3634
3634
|
{
|
|
3635
3635
|
class: b.today === !0 ? "q-date__today" : "",
|
|
@@ -3649,8 +3649,8 @@ const vc = be({
|
|
|
3649
3649
|
}
|
|
3650
3650
|
})
|
|
3651
3651
|
},
|
|
3652
|
-
b.event !== !1 ? () =>
|
|
3653
|
-
) :
|
|
3652
|
+
b.event !== !1 ? () => g("div", { class: "q-date__event bg-" + b.event }) : null
|
|
3653
|
+
) : g("div", "" + b.i)
|
|
3654
3654
|
]))))
|
|
3655
3655
|
])
|
|
3656
3656
|
])
|
|
@@ -3658,10 +3658,10 @@ const vc = be({
|
|
|
3658
3658
|
Months() {
|
|
3659
3659
|
const b = w.value.year === x.value.year, k = (X) => ke.value !== null && w.value.year === ke.value.year && ke.value.month > X || $e.value !== null && w.value.year === $e.value.year && $e.value.month < X, A = m.value.monthsShort.map((X, ne) => {
|
|
3660
3660
|
const xe = w.value.month === ne + 1;
|
|
3661
|
-
return
|
|
3661
|
+
return g("div", {
|
|
3662
3662
|
class: "q-date__months-item flex flex-center"
|
|
3663
3663
|
}, [
|
|
3664
|
-
|
|
3664
|
+
g(Ve, {
|
|
3665
3665
|
class: b === !0 && x.value.month === ne + 1 ? "q-date__today" : null,
|
|
3666
3666
|
flat: xe !== !0,
|
|
3667
3667
|
label: X,
|
|
@@ -3677,7 +3677,7 @@ const vc = be({
|
|
|
3677
3677
|
]);
|
|
3678
3678
|
});
|
|
3679
3679
|
return e.yearsInMonthView === !0 && A.unshift(
|
|
3680
|
-
|
|
3680
|
+
g("div", { class: "row no-wrap full-width" }, [
|
|
3681
3681
|
he({
|
|
3682
3682
|
label: w.value.year,
|
|
3683
3683
|
type: "Years",
|
|
@@ -3688,7 +3688,7 @@ const vc = be({
|
|
|
3688
3688
|
cls: " col"
|
|
3689
3689
|
})
|
|
3690
3690
|
])
|
|
3691
|
-
),
|
|
3691
|
+
), g("div", {
|
|
3692
3692
|
key: "months-view",
|
|
3693
3693
|
class: "q-date__view q-date__months flex flex-center"
|
|
3694
3694
|
}, A);
|
|
@@ -3698,10 +3698,10 @@ const vc = be({
|
|
|
3698
3698
|
for (let ne = b; ne <= k; ne++) {
|
|
3699
3699
|
const xe = w.value.year === ne;
|
|
3700
3700
|
A.push(
|
|
3701
|
-
|
|
3701
|
+
g("div", {
|
|
3702
3702
|
class: "q-date__years-item flex flex-center"
|
|
3703
3703
|
}, [
|
|
3704
|
-
|
|
3704
|
+
g(Ve, {
|
|
3705
3705
|
key: "yr" + ne,
|
|
3706
3706
|
class: x.value.year === ne ? "q-date__today" : null,
|
|
3707
3707
|
flat: !xe,
|
|
@@ -3719,13 +3719,13 @@ const vc = be({
|
|
|
3719
3719
|
])
|
|
3720
3720
|
);
|
|
3721
3721
|
}
|
|
3722
|
-
return
|
|
3722
|
+
return g("div", {
|
|
3723
3723
|
class: "q-date__view q-date__years flex flex-center"
|
|
3724
3724
|
}, [
|
|
3725
|
-
|
|
3725
|
+
g("div", {
|
|
3726
3726
|
class: "col-auto"
|
|
3727
3727
|
}, [
|
|
3728
|
-
|
|
3728
|
+
g(Ve, {
|
|
3729
3729
|
round: !0,
|
|
3730
3730
|
dense: !0,
|
|
3731
3731
|
flat: !0,
|
|
@@ -3738,13 +3738,13 @@ const vc = be({
|
|
|
3738
3738
|
} })
|
|
3739
3739
|
})
|
|
3740
3740
|
]),
|
|
3741
|
-
|
|
3741
|
+
g("div", {
|
|
3742
3742
|
class: "q-date__years-content col self-stretch row items-center"
|
|
3743
3743
|
}, A),
|
|
3744
|
-
|
|
3744
|
+
g("div", {
|
|
3745
3745
|
class: "col-auto"
|
|
3746
3746
|
}, [
|
|
3747
|
-
|
|
3747
|
+
g(Ve, {
|
|
3748
3748
|
round: !0,
|
|
3749
3749
|
dense: !0,
|
|
3750
3750
|
flat: !0,
|
|
@@ -3808,23 +3808,23 @@ const vc = be({
|
|
|
3808
3808
|
setEditingRange: Nn
|
|
3809
3809
|
}), () => {
|
|
3810
3810
|
const b = [
|
|
3811
|
-
|
|
3811
|
+
g("div", {
|
|
3812
3812
|
class: "q-date__content col relative-position"
|
|
3813
3813
|
}, [
|
|
3814
|
-
|
|
3814
|
+
g($t, {
|
|
3815
3815
|
name: "q-transition--fade"
|
|
3816
3816
|
}, _e[q.value])
|
|
3817
3817
|
])
|
|
3818
3818
|
], k = Te(t.default);
|
|
3819
3819
|
return k !== void 0 && b.push(
|
|
3820
|
-
|
|
3821
|
-
), e.name !== void 0 && e.disable !== !0 && v(b, "push"),
|
|
3820
|
+
g("div", { class: "q-date__actions" }, k)
|
|
3821
|
+
), e.name !== void 0 && e.disable !== !0 && v(b, "push"), g("div", {
|
|
3822
3822
|
class: L.value,
|
|
3823
3823
|
...me.value
|
|
3824
3824
|
}, [
|
|
3825
3825
|
ge(),
|
|
3826
|
-
|
|
3827
|
-
ref:
|
|
3826
|
+
g("div", {
|
|
3827
|
+
ref: p,
|
|
3828
3828
|
class: "q-date__main col column",
|
|
3829
3829
|
tabindex: -1
|
|
3830
3830
|
}, b)
|
|
@@ -3990,7 +3990,7 @@ const wc = {
|
|
|
3990
3990
|
let u = null, c = null, s, d;
|
|
3991
3991
|
const h = f(
|
|
3992
3992
|
() => e.persistent !== !0 && e.noRouteDismiss !== !0 && e.seamless !== !0
|
|
3993
|
-
), { preventBodyScroll: v } = Ni(), { registerTimeout:
|
|
3993
|
+
), { preventBodyScroll: v } = Ni(), { registerTimeout: p } = Ko(), { registerTick: y, removeTick: m } = pl(), { transitionProps: C, transitionStyle: S } = gl(
|
|
3994
3994
|
e,
|
|
3995
3995
|
() => wa[e.position][0],
|
|
3996
3996
|
() => wa[e.position][1]
|
|
@@ -4020,7 +4020,7 @@ const wc = {
|
|
|
4020
4020
|
});
|
|
4021
4021
|
function J(ee) {
|
|
4022
4022
|
var ae;
|
|
4023
|
-
c = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, G(e.maximized), w(), i.value = !0, e.noFocus !== !0 ? ((ae = document.activeElement) == null || ae.blur(),
|
|
4023
|
+
c = e.noRefocus === !1 && document.activeElement !== null ? document.activeElement : null, G(e.maximized), w(), i.value = !0, e.noFocus !== !0 ? ((ae = document.activeElement) == null || ae.blur(), y(O)) : m(), p(() => {
|
|
4024
4024
|
if (r.proxy.$q.platform.is.ios === !0) {
|
|
4025
4025
|
if (e.seamless !== !0 && document.activeElement) {
|
|
4026
4026
|
const { top: re, bottom: ue } = document.activeElement.getBoundingClientRect(), { innerHeight: Me } = window, Y = window.visualViewport !== void 0 ? window.visualViewport.height : Me;
|
|
@@ -4035,7 +4035,7 @@ const wc = {
|
|
|
4035
4035
|
}, e.transitionDuration);
|
|
4036
4036
|
}
|
|
4037
4037
|
function M(ee) {
|
|
4038
|
-
m(), N(!0), i.value = !0, q(), c !== null && ((((ee == null ? void 0 : ee.type.indexOf("key")) === 0 ? c.closest('[tabindex]:not([tabindex^="-"])') : void 0) || c).focus(), c = null),
|
|
4038
|
+
m(), N(!0), i.value = !0, q(), c !== null && ((((ee == null ? void 0 : ee.type.indexOf("key")) === 0 ? c.closest('[tabindex]:not([tabindex^="-"])') : void 0) || c).focus(), c = null), p(() => {
|
|
4039
4039
|
q(!0), i.value = !1, n("hide", ee);
|
|
4040
4040
|
}, e.transitionDuration);
|
|
4041
4041
|
}
|
|
@@ -4089,26 +4089,26 @@ const wc = {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
}), Pe(N);
|
|
4091
4091
|
function Z() {
|
|
4092
|
-
return
|
|
4092
|
+
return g("div", {
|
|
4093
4093
|
role: "dialog",
|
|
4094
4094
|
"aria-modal": V.value === !0 ? "true" : "false",
|
|
4095
4095
|
...o,
|
|
4096
4096
|
class: L.value
|
|
4097
4097
|
}, [
|
|
4098
|
-
|
|
4098
|
+
g($t, {
|
|
4099
4099
|
name: "q-transition--fade",
|
|
4100
4100
|
appear: !0
|
|
4101
|
-
}, () => V.value === !0 ?
|
|
4101
|
+
}, () => V.value === !0 ? g("div", {
|
|
4102
4102
|
class: "q-dialog__backdrop fixed-full",
|
|
4103
4103
|
style: x.value,
|
|
4104
4104
|
"aria-hidden": "true",
|
|
4105
4105
|
tabindex: -1,
|
|
4106
4106
|
onClick: B
|
|
4107
4107
|
}) : null),
|
|
4108
|
-
|
|
4108
|
+
g(
|
|
4109
4109
|
$t,
|
|
4110
4110
|
C.value,
|
|
4111
|
-
() => a.value === !0 ?
|
|
4111
|
+
() => a.value === !0 ? g("div", {
|
|
4112
4112
|
ref: l,
|
|
4113
4113
|
class: E.value,
|
|
4114
4114
|
style: S.value,
|
|
@@ -4170,7 +4170,7 @@ const wc = {
|
|
|
4170
4170
|
let r = null, l, a, i;
|
|
4171
4171
|
const u = we(), { proxy: c } = u, { $q: s } = c, d = P(null), h = P(!1), v = f(
|
|
4172
4172
|
() => e.persistent !== !0 && e.noRouteDismiss !== !0
|
|
4173
|
-
),
|
|
4173
|
+
), p = dt(e, s), { registerTick: y, removeTick: m } = pl(), { registerTimeout: C } = Ko(), { transitionProps: S, transitionStyle: x } = gl(e), { localScrollTarget: w, changeScrollEvent: q, unconfigureScrollTarget: D } = di(e, Z), { anchorEl: F, canShow: Q } = fl({ showing: h }), { hide: E } = so({
|
|
4174
4174
|
showing: h,
|
|
4175
4175
|
canShow: Q,
|
|
4176
4176
|
handleShow: ce,
|
|
@@ -4191,7 +4191,7 @@ const wc = {
|
|
|
4191
4191
|
s.lang.rtl
|
|
4192
4192
|
)
|
|
4193
4193
|
), O = f(() => e.cover === !0 ? M.value : Fo(e.self || "top start", s.lang.rtl)), H = f(
|
|
4194
|
-
() => (e.square === !0 ? " q-menu--square" : "") + (
|
|
4194
|
+
() => (e.square === !0 ? " q-menu--square" : "") + (p.value === !0 ? " q-menu--dark q-dark" : "")
|
|
4195
4195
|
), j = f(() => e.autoClose === !0 ? { onClick: ee } : {}), N = f(
|
|
4196
4196
|
() => h.value === !0 && e.persistent !== !0
|
|
4197
4197
|
);
|
|
@@ -4215,7 +4215,7 @@ const wc = {
|
|
|
4215
4215
|
a === void 0 && (a = K(
|
|
4216
4216
|
() => s.screen.width + "|" + s.screen.height + "|" + e.self + "|" + e.anchor + "|" + s.lang.rtl,
|
|
4217
4217
|
ue
|
|
4218
|
-
)), e.noFocus !== !0 && document.activeElement.blur(),
|
|
4218
|
+
)), e.noFocus !== !0 && document.activeElement.blur(), y(() => {
|
|
4219
4219
|
ue(), e.noFocus !== !0 && G();
|
|
4220
4220
|
}), C(() => {
|
|
4221
4221
|
s.platform.is.ios === !0 && (i = e.autoClose, d.value.click()), ue(), V(!0), n("show", Y);
|
|
@@ -4257,10 +4257,10 @@ const wc = {
|
|
|
4257
4257
|
});
|
|
4258
4258
|
}
|
|
4259
4259
|
function Me() {
|
|
4260
|
-
return
|
|
4260
|
+
return g(
|
|
4261
4261
|
$t,
|
|
4262
4262
|
S.value,
|
|
4263
|
-
() => h.value === !0 ?
|
|
4263
|
+
() => h.value === !0 ? g("div", {
|
|
4264
4264
|
role: "menu",
|
|
4265
4265
|
...o,
|
|
4266
4266
|
ref: d,
|
|
@@ -4297,43 +4297,43 @@ const wc = {
|
|
|
4297
4297
|
const d = P(s()), h = f(
|
|
4298
4298
|
() => d.value === "menu" ? { maxHeight: "99vh" } : {}
|
|
4299
4299
|
);
|
|
4300
|
-
K(() => s(), (
|
|
4301
|
-
a.value !== !0 && (d.value =
|
|
4300
|
+
K(() => s(), (y) => {
|
|
4301
|
+
a.value !== !0 && (d.value = y);
|
|
4302
4302
|
});
|
|
4303
|
-
function v(
|
|
4304
|
-
a.value = !0, n("show",
|
|
4303
|
+
function v(y) {
|
|
4304
|
+
a.value = !0, n("show", y);
|
|
4305
4305
|
}
|
|
4306
|
-
function
|
|
4307
|
-
a.value = !1, d.value = s(), n("hide",
|
|
4306
|
+
function p(y) {
|
|
4307
|
+
a.value = !1, d.value = s(), n("hide", y);
|
|
4308
4308
|
}
|
|
4309
4309
|
return Object.assign(r, {
|
|
4310
|
-
show(
|
|
4311
|
-
c(
|
|
4310
|
+
show(y) {
|
|
4311
|
+
c(y) === !0 && i.value.show(y);
|
|
4312
4312
|
},
|
|
4313
|
-
hide(
|
|
4314
|
-
i.value.hide(
|
|
4313
|
+
hide(y) {
|
|
4314
|
+
i.value.hide(y);
|
|
4315
4315
|
},
|
|
4316
|
-
toggle(
|
|
4317
|
-
i.value.toggle(
|
|
4316
|
+
toggle(y) {
|
|
4317
|
+
i.value.toggle(y);
|
|
4318
4318
|
}
|
|
4319
4319
|
}), Bt(r, "currentComponent", () => ({
|
|
4320
4320
|
type: d.value,
|
|
4321
4321
|
ref: i.value
|
|
4322
4322
|
})), () => {
|
|
4323
|
-
const
|
|
4323
|
+
const y = {
|
|
4324
4324
|
ref: i,
|
|
4325
4325
|
...h.value,
|
|
4326
4326
|
...o,
|
|
4327
4327
|
onShow: v,
|
|
4328
|
-
onHide:
|
|
4328
|
+
onHide: p
|
|
4329
4329
|
};
|
|
4330
4330
|
let m;
|
|
4331
|
-
return d.value === "dialog" ? m = fo : (m = vo, Object.assign(
|
|
4331
|
+
return d.value === "dialog" ? m = fo : (m = vo, Object.assign(y, {
|
|
4332
4332
|
target: e.target,
|
|
4333
4333
|
contextMenu: e.contextMenu,
|
|
4334
4334
|
noParentEvent: !0,
|
|
4335
4335
|
separateClosePopup: !0
|
|
4336
|
-
})),
|
|
4336
|
+
})), g(m, y, t.default);
|
|
4337
4337
|
};
|
|
4338
4338
|
}
|
|
4339
4339
|
}), _c = { class: "date-picker" }, Cc = { class: "date-picker__content" }, Sc = /* @__PURE__ */ Qe({
|
|
@@ -4535,7 +4535,7 @@ const Lc = [!0, !1, "ondemand"], Tc = {
|
|
|
4535
4535
|
};
|
|
4536
4536
|
function Ec(e, t) {
|
|
4537
4537
|
const { props: n, proxy: o } = we(), r = P(!1), l = P(null), a = P(!1);
|
|
4538
|
-
Bc({ validate:
|
|
4538
|
+
Bc({ validate: y, resetValidation: p });
|
|
4539
4539
|
let i = 0, u;
|
|
4540
4540
|
const c = f(
|
|
4541
4541
|
() => n.rules !== void 0 && n.rules !== null && n.rules.length !== 0
|
|
@@ -4553,10 +4553,10 @@ function Ec(e, t) {
|
|
|
4553
4553
|
}, { immediate: !0 }), K(() => n.lazyRules, v), K(e, (C) => {
|
|
4554
4554
|
C === !0 ? a.value = !0 : s.value === !0 && n.lazyRules !== "ondemand" && m();
|
|
4555
4555
|
});
|
|
4556
|
-
function
|
|
4556
|
+
function p() {
|
|
4557
4557
|
i++, t.value = !1, a.value = !1, r.value = !1, l.value = null, m.cancel();
|
|
4558
4558
|
}
|
|
4559
|
-
function
|
|
4559
|
+
function y(C = n.modelValue) {
|
|
4560
4560
|
if (n.disable === !0 || c.value === !1)
|
|
4561
4561
|
return !0;
|
|
4562
4562
|
const S = ++i, x = t.value !== !0 ? () => {
|
|
@@ -4582,16 +4582,16 @@ function Ec(e, t) {
|
|
|
4582
4582
|
(D) => (S === i && (console.error(D), w(!0)), !1)
|
|
4583
4583
|
));
|
|
4584
4584
|
}
|
|
4585
|
-
const m = Ml(
|
|
4585
|
+
const m = Ml(y, 0);
|
|
4586
4586
|
return Pe(() => {
|
|
4587
4587
|
u == null || u(), m.cancel();
|
|
4588
|
-
}), Object.assign(o, { resetValidation:
|
|
4588
|
+
}), Object.assign(o, { resetValidation: p, validate: y }), Bt(o, "hasError", () => d.value), {
|
|
4589
4589
|
isDirtyModel: a,
|
|
4590
4590
|
hasRules: c,
|
|
4591
4591
|
hasError: d,
|
|
4592
4592
|
errorMessage: h,
|
|
4593
|
-
validate:
|
|
4594
|
-
resetValidation:
|
|
4593
|
+
validate: y,
|
|
4594
|
+
resetValidation: p
|
|
4595
4595
|
};
|
|
4596
4596
|
}
|
|
4597
4597
|
function no(e) {
|
|
@@ -4698,10 +4698,10 @@ function Ll(e) {
|
|
|
4698
4698
|
hasError: s,
|
|
4699
4699
|
errorMessage: d,
|
|
4700
4700
|
resetValidation: h
|
|
4701
|
-
} = Ec(e.focused, e.innerLoading), v = e.floatingLabel !== void 0 ? f(() => t.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : f(() => t.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0),
|
|
4701
|
+
} = Ec(e.focused, e.innerLoading), v = e.floatingLabel !== void 0 ? f(() => t.stackLabel === !0 || e.focused.value === !0 || e.floatingLabel.value === !0) : f(() => t.stackLabel === !0 || e.focused.value === !0 || e.hasValue.value === !0), p = f(
|
|
4702
4702
|
() => t.bottomSlots === !0 || t.hint !== void 0 || c.value === !0 || t.counter === !0 || t.error !== null
|
|
4703
|
-
),
|
|
4704
|
-
() => `q-field row no-wrap items-start q-field--${
|
|
4703
|
+
), y = f(() => t.filled === !0 ? "filled" : t.outlined === !0 ? "outlined" : t.borderless === !0 ? "borderless" : t.standout ? "standout" : "standard"), m = f(
|
|
4704
|
+
() => `q-field row no-wrap items-start q-field--${y.value}` + (e.fieldClass !== void 0 ? ` ${e.fieldClass.value}` : "") + (t.rounded === !0 ? " q-field--rounded" : "") + (t.square === !0 ? " q-field--square" : "") + (v.value === !0 ? " q-field--float" : "") + (S.value === !0 ? " q-field--labeled" : "") + (t.dense === !0 ? " q-field--dense" : "") + (t.itemAligned === !0 ? " q-field--item-aligned q-item-type" : "") + (e.isDark.value === !0 ? " q-field--dark" : "") + (e.getControl === void 0 ? " q-field--auto-height" : "") + (e.focused.value === !0 ? " q-field--focused" : "") + (s.value === !0 ? " q-field--error" : "") + (s.value === !0 || e.focused.value === !0 ? " q-field--highlighted" : "") + (t.hideBottomSpace !== !0 && p.value === !0 ? " q-field--with-bottom" : "") + (t.disable === !0 ? " q-field--disabled" : t.readonly === !0 ? " q-field--readonly" : "")
|
|
4705
4705
|
), C = f(
|
|
4706
4706
|
() => "q-field__control relative-position row no-wrap" + (t.bgColor !== void 0 ? ` bg-${t.bgColor}` : "") + (s.value === !0 ? " text-negative" : typeof t.standout == "string" && t.standout.length !== 0 && e.focused.value === !0 ? ` ${t.standout}` : t.color !== void 0 ? ` text-${t.color}` : "")
|
|
4707
4707
|
), S = f(
|
|
@@ -4754,27 +4754,27 @@ function Ll(e) {
|
|
|
4754
4754
|
function J() {
|
|
4755
4755
|
const N = [];
|
|
4756
4756
|
return o.prepend !== void 0 && N.push(
|
|
4757
|
-
|
|
4757
|
+
g("div", {
|
|
4758
4758
|
class: "q-field__prepend q-field__marginal row no-wrap items-center",
|
|
4759
4759
|
key: "prepend",
|
|
4760
4760
|
onClick: gt
|
|
4761
4761
|
}, o.prepend())
|
|
4762
4762
|
), N.push(
|
|
4763
|
-
|
|
4763
|
+
g("div", {
|
|
4764
4764
|
class: "q-field__control-container col relative-position row no-wrap q-anchor--skip"
|
|
4765
4765
|
}, M())
|
|
4766
4766
|
), s.value === !0 && t.noErrorIcon === !1 && N.push(
|
|
4767
4767
|
H("error", [
|
|
4768
|
-
|
|
4768
|
+
g(Ye, { name: a.iconSet.field.error, color: "negative" })
|
|
4769
4769
|
])
|
|
4770
4770
|
), t.loading === !0 || e.innerLoading.value === !0 ? N.push(
|
|
4771
4771
|
H(
|
|
4772
4772
|
"inner-loading-append",
|
|
4773
|
-
o.loading !== void 0 ? o.loading() : [
|
|
4773
|
+
o.loading !== void 0 ? o.loading() : [g(kl, { color: t.color })]
|
|
4774
4774
|
)
|
|
4775
4775
|
) : t.clearable === !0 && e.hasValue.value === !0 && e.editable.value === !0 && N.push(
|
|
4776
4776
|
H("inner-clearable-append", [
|
|
4777
|
-
|
|
4777
|
+
g(Ye, {
|
|
4778
4778
|
class: "q-field__focusable-action",
|
|
4779
4779
|
name: t.clearIcon || a.iconSet.field.clear,
|
|
4780
4780
|
tabindex: 0,
|
|
@@ -4786,7 +4786,7 @@ function Ll(e) {
|
|
|
4786
4786
|
})
|
|
4787
4787
|
])
|
|
4788
4788
|
), o.append !== void 0 && N.push(
|
|
4789
|
-
|
|
4789
|
+
g("div", {
|
|
4790
4790
|
class: "q-field__append q-field__marginal row no-wrap items-center",
|
|
4791
4791
|
key: "append",
|
|
4792
4792
|
onClick: gt
|
|
@@ -4800,13 +4800,13 @@ function Ll(e) {
|
|
|
4800
4800
|
function M() {
|
|
4801
4801
|
const N = [];
|
|
4802
4802
|
return t.prefix !== void 0 && t.prefix !== null && N.push(
|
|
4803
|
-
|
|
4803
|
+
g("div", {
|
|
4804
4804
|
class: "q-field__prefix no-pointer-events row items-center"
|
|
4805
4805
|
}, t.prefix)
|
|
4806
4806
|
), e.getShadowControl !== void 0 && e.hasShadow.value === !0 && N.push(
|
|
4807
4807
|
e.getShadowControl()
|
|
4808
4808
|
), e.getControl !== void 0 ? N.push(e.getControl()) : o.rawControl !== void 0 ? N.push(o.rawControl()) : o.control !== void 0 && N.push(
|
|
4809
|
-
|
|
4809
|
+
g("div", {
|
|
4810
4810
|
ref: e.targetRef,
|
|
4811
4811
|
class: "q-field__native row",
|
|
4812
4812
|
tabindex: -1,
|
|
@@ -4814,36 +4814,36 @@ function Ll(e) {
|
|
|
4814
4814
|
"data-autofocus": t.autofocus === !0 || void 0
|
|
4815
4815
|
}, o.control(w.value))
|
|
4816
4816
|
), S.value === !0 && N.push(
|
|
4817
|
-
|
|
4817
|
+
g("div", {
|
|
4818
4818
|
class: x.value
|
|
4819
4819
|
}, Te(o.label, t.label))
|
|
4820
4820
|
), t.suffix !== void 0 && t.suffix !== null && N.push(
|
|
4821
|
-
|
|
4821
|
+
g("div", {
|
|
4822
4822
|
class: "q-field__suffix no-pointer-events row items-center"
|
|
4823
4823
|
}, t.suffix)
|
|
4824
4824
|
), N.concat(Te(o.default));
|
|
4825
4825
|
}
|
|
4826
4826
|
function O() {
|
|
4827
4827
|
let N, G;
|
|
4828
|
-
s.value === !0 ? d.value !== null ? (N = [
|
|
4828
|
+
s.value === !0 ? d.value !== null ? (N = [g("div", { role: "alert" }, d.value)], G = `q--slot-error-${d.value}`) : (N = Te(o.error), G = "q--slot-error") : (t.hideHint !== !0 || e.focused.value === !0) && (t.hint !== void 0 ? (N = [g("div", t.hint)], G = `q--slot-hint-${t.hint}`) : (N = Te(o.hint), G = "q--slot-hint"));
|
|
4829
4829
|
const ce = t.counter === !0 || o.counter !== void 0;
|
|
4830
4830
|
if (t.hideBottomSpace === !0 && ce === !1 && N === void 0) return;
|
|
4831
|
-
const B =
|
|
4831
|
+
const B = g("div", {
|
|
4832
4832
|
key: G,
|
|
4833
4833
|
class: "q-field__messages col"
|
|
4834
4834
|
}, N);
|
|
4835
|
-
return
|
|
4835
|
+
return g("div", {
|
|
4836
4836
|
class: "q-field__bottom row items-start q-field__bottom--" + (t.hideBottomSpace !== !0 ? "animated" : "stale"),
|
|
4837
4837
|
onClick: gt
|
|
4838
4838
|
}, [
|
|
4839
|
-
t.hideBottomSpace === !0 ? B :
|
|
4840
|
-
ce === !0 ?
|
|
4839
|
+
t.hideBottomSpace === !0 ? B : g($t, { name: "q-transition--field-message" }, () => B),
|
|
4840
|
+
ce === !0 ? g("div", {
|
|
4841
4841
|
class: "q-field__counter"
|
|
4842
4842
|
}, o.counter !== void 0 ? o.counter() : e.computedCounter.value) : null
|
|
4843
4843
|
]);
|
|
4844
4844
|
}
|
|
4845
4845
|
function H(N, G) {
|
|
4846
|
-
return G === null ? null :
|
|
4846
|
+
return G === null ? null : g("div", {
|
|
4847
4847
|
key: N,
|
|
4848
4848
|
class: "q-field__append q-field__marginal row no-wrap items-center q-anchor--skip"
|
|
4849
4849
|
}, G);
|
|
@@ -4863,7 +4863,7 @@ function Ll(e) {
|
|
|
4863
4863
|
"data-autofocus": t.autofocus === !0 || void 0,
|
|
4864
4864
|
...q.value
|
|
4865
4865
|
} : q.value;
|
|
4866
|
-
return
|
|
4866
|
+
return g(e.tag.value, {
|
|
4867
4867
|
ref: e.rootRef,
|
|
4868
4868
|
class: [
|
|
4869
4869
|
m.value,
|
|
@@ -4872,22 +4872,22 @@ function Ll(e) {
|
|
|
4872
4872
|
style: r.style,
|
|
4873
4873
|
...G
|
|
4874
4874
|
}, [
|
|
4875
|
-
o.before !== void 0 ?
|
|
4875
|
+
o.before !== void 0 ? g("div", {
|
|
4876
4876
|
class: "q-field__before q-field__marginal row no-wrap items-center",
|
|
4877
4877
|
onClick: gt
|
|
4878
4878
|
}, o.before()) : null,
|
|
4879
|
-
|
|
4879
|
+
g("div", {
|
|
4880
4880
|
class: "q-field__inner relative-position col self-stretch"
|
|
4881
4881
|
}, [
|
|
4882
|
-
|
|
4882
|
+
g("div", {
|
|
4883
4883
|
ref: e.controlRef,
|
|
4884
4884
|
class: C.value,
|
|
4885
4885
|
tabindex: -1,
|
|
4886
4886
|
...e.controlEvents
|
|
4887
4887
|
}, J()),
|
|
4888
|
-
|
|
4888
|
+
p.value === !0 ? O() : null
|
|
4889
4889
|
]),
|
|
4890
|
-
o.after !== void 0 ?
|
|
4890
|
+
o.after !== void 0 ? g("div", {
|
|
4891
4891
|
class: "q-field__after q-field__marginal row no-wrap items-center",
|
|
4892
4892
|
onClick: gt
|
|
4893
4893
|
}, o.after()) : null
|
|
@@ -4925,12 +4925,12 @@ function Pc(e, t, n, o) {
|
|
|
4925
4925
|
function h() {
|
|
4926
4926
|
return e.autogrow === !0 || ["textarea", "text", "search", "url", "tel", "password"].includes(e.type);
|
|
4927
4927
|
}
|
|
4928
|
-
K(() => e.type + e.autogrow,
|
|
4928
|
+
K(() => e.type + e.autogrow, y), K(() => e.mask, (E) => {
|
|
4929
4929
|
if (E !== void 0)
|
|
4930
4930
|
m(d.value, !0);
|
|
4931
4931
|
else {
|
|
4932
4932
|
const V = F(d.value);
|
|
4933
|
-
|
|
4933
|
+
y(), e.modelValue !== V && t("update:modelValue", V);
|
|
4934
4934
|
}
|
|
4935
4935
|
}), K(() => e.fillMask + e.reverseFillMask, () => {
|
|
4936
4936
|
s.value === !0 && m(d.value, !0);
|
|
@@ -4938,13 +4938,13 @@ function Pc(e, t, n, o) {
|
|
|
4938
4938
|
s.value === !0 && m(d.value);
|
|
4939
4939
|
});
|
|
4940
4940
|
function v() {
|
|
4941
|
-
if (
|
|
4941
|
+
if (y(), s.value === !0) {
|
|
4942
4942
|
const E = q(F(e.modelValue));
|
|
4943
4943
|
return e.fillMask !== !1 ? Q(E) : E;
|
|
4944
4944
|
}
|
|
4945
4945
|
return e.modelValue;
|
|
4946
4946
|
}
|
|
4947
|
-
function
|
|
4947
|
+
function p(E) {
|
|
4948
4948
|
if (E < r.length)
|
|
4949
4949
|
return r.slice(-E);
|
|
4950
4950
|
let V = "", z = r;
|
|
@@ -4956,7 +4956,7 @@ function Pc(e, t, n, o) {
|
|
|
4956
4956
|
}
|
|
4957
4957
|
return z;
|
|
4958
4958
|
}
|
|
4959
|
-
function
|
|
4959
|
+
function y() {
|
|
4960
4960
|
if (s.value = e.mask !== void 0 && e.mask.length !== 0 && h(), s.value === !1) {
|
|
4961
4961
|
i = void 0, r = "", l = "";
|
|
4962
4962
|
return;
|
|
@@ -4994,7 +4994,7 @@ function Pc(e, t, n, o) {
|
|
|
4994
4994
|
}
|
|
4995
4995
|
function m(E, V, z) {
|
|
4996
4996
|
const L = o.value, J = L.selectionEnd, M = L.value.length - J, O = F(E);
|
|
4997
|
-
V === !0 &&
|
|
4997
|
+
V === !0 && y();
|
|
4998
4998
|
const H = q(O), j = e.fillMask !== !1 ? Q(H) : H, N = d.value !== j;
|
|
4999
4999
|
L.value !== j && (L.value = j), N === !0 && (d.value = j), document.activeElement === L && Le(() => {
|
|
5000
5000
|
if (j === l) {
|
|
@@ -5064,7 +5064,7 @@ function Pc(e, t, n, o) {
|
|
|
5064
5064
|
E.setSelectionRange(V, V, "forward");
|
|
5065
5065
|
},
|
|
5066
5066
|
leftReverse(E, V) {
|
|
5067
|
-
const z =
|
|
5067
|
+
const z = p(E.value.length);
|
|
5068
5068
|
let L = Math.max(0, V - 1);
|
|
5069
5069
|
for (; L >= 0; L--)
|
|
5070
5070
|
if (z[L - 1] === et) {
|
|
@@ -5077,7 +5077,7 @@ function Pc(e, t, n, o) {
|
|
|
5077
5077
|
V >= 0 && E.setSelectionRange(V, V, "backward");
|
|
5078
5078
|
},
|
|
5079
5079
|
rightReverse(E, V) {
|
|
5080
|
-
const z = E.value.length, L =
|
|
5080
|
+
const z = E.value.length, L = p(z), J = L.slice(0, V + 1).indexOf(et) === -1;
|
|
5081
5081
|
let M = Math.min(z, V + 1);
|
|
5082
5082
|
for (; M <= z; M++)
|
|
5083
5083
|
if (L[M - 1] === et) {
|
|
@@ -5217,8 +5217,8 @@ const mo = be({
|
|
|
5217
5217
|
let a = NaN, i, u, c = null, s;
|
|
5218
5218
|
const d = P(null), h = Ti(e), {
|
|
5219
5219
|
innerValue: v,
|
|
5220
|
-
hasMask:
|
|
5221
|
-
moveCursorForPaste:
|
|
5220
|
+
hasMask: p,
|
|
5221
|
+
moveCursorForPaste: y,
|
|
5222
5222
|
updateMaskValue: m,
|
|
5223
5223
|
onMaskedKeydown: C,
|
|
5224
5224
|
onMaskedClick: S
|
|
@@ -5241,7 +5241,7 @@ const mo = be({
|
|
|
5241
5241
|
onBlur: G,
|
|
5242
5242
|
onFocus: bt
|
|
5243
5243
|
};
|
|
5244
|
-
return $.onCompositionstart = $.onCompositionupdate = $.onCompositionend = q,
|
|
5244
|
+
return $.onCompositionstart = $.onCompositionupdate = $.onCompositionend = q, p.value === !0 && ($.onKeydown = C, $.onClick = S), e.autogrow === !0 && ($.onAnimationend = O), $;
|
|
5245
5245
|
}), V = f(() => {
|
|
5246
5246
|
const $ = {
|
|
5247
5247
|
tabindex: 0,
|
|
@@ -5260,7 +5260,7 @@ const mo = be({
|
|
|
5260
5260
|
K(() => e.type, () => {
|
|
5261
5261
|
d.value && (d.value.value = e.modelValue);
|
|
5262
5262
|
}), K(() => e.modelValue, ($) => {
|
|
5263
|
-
if (
|
|
5263
|
+
if (p.value === !0) {
|
|
5264
5264
|
if (u === !0 && (u = !1, String($) === a))
|
|
5265
5265
|
return;
|
|
5266
5266
|
m($);
|
|
@@ -5282,9 +5282,9 @@ const mo = be({
|
|
|
5282
5282
|
($ = d.value) == null || $.select();
|
|
5283
5283
|
}
|
|
5284
5284
|
function J($) {
|
|
5285
|
-
if (
|
|
5285
|
+
if (p.value === !0 && e.reverseFillMask !== !0) {
|
|
5286
5286
|
const Z = $.target;
|
|
5287
|
-
|
|
5287
|
+
y(Z, Z.selectionStart, Z.selectionEnd);
|
|
5288
5288
|
}
|
|
5289
5289
|
t("paste", $);
|
|
5290
5290
|
}
|
|
@@ -5299,7 +5299,7 @@ const mo = be({
|
|
|
5299
5299
|
l.value = Z;
|
|
5300
5300
|
return;
|
|
5301
5301
|
}
|
|
5302
|
-
if (
|
|
5302
|
+
if (p.value === !0)
|
|
5303
5303
|
m(Z, !1, $.inputType);
|
|
5304
5304
|
else if (H(Z), Q.value === !0 && $.target === document.activeElement) {
|
|
5305
5305
|
const { selectionStart: ee, selectionEnd: ae } = $.target;
|
|
@@ -5357,7 +5357,7 @@ const mo = be({
|
|
|
5357
5357
|
floatingLabel: f(
|
|
5358
5358
|
() => w.value === !0 && (e.type !== "number" || isNaN(v.value) === !1) || no(e.displayValue)
|
|
5359
5359
|
),
|
|
5360
|
-
getControl: () =>
|
|
5360
|
+
getControl: () => g(F.value === !0 ? "textarea" : "input", {
|
|
5361
5361
|
ref: d,
|
|
5362
5362
|
class: [
|
|
5363
5363
|
"q-field__native q-placeholder",
|
|
@@ -5368,11 +5368,11 @@ const mo = be({
|
|
|
5368
5368
|
...E.value,
|
|
5369
5369
|
...e.type !== "file" ? { value: ce() } : x.value
|
|
5370
5370
|
}),
|
|
5371
|
-
getShadowControl: () =>
|
|
5371
|
+
getShadowControl: () => g("div", {
|
|
5372
5372
|
class: "q-field__native q-field__shadow absolute-bottom no-pointer-events" + (F.value === !0 ? "" : " text-no-wrap")
|
|
5373
5373
|
}, [
|
|
5374
|
-
|
|
5375
|
-
|
|
5374
|
+
g("span", { class: "invisible" }, ce()),
|
|
5375
|
+
g("span", e.shadowText)
|
|
5376
5376
|
])
|
|
5377
5377
|
});
|
|
5378
5378
|
const B = Ll(D);
|
|
@@ -5636,7 +5636,7 @@ const mo = be({
|
|
|
5636
5636
|
const l = {};
|
|
5637
5637
|
return o.header.space === !0 && (l.paddingTop = `${o.header.size}px`), o.right.space === !0 && (l[`padding${n.lang.rtl === !0 ? "Left" : "Right"}`] = `${o.right.size}px`), o.footer.space === !0 && (l.paddingBottom = `${o.footer.size}px`), o.left.space === !0 && (l[`padding${n.lang.rtl === !0 ? "Right" : "Left"}`] = `${o.left.size}px`), l;
|
|
5638
5638
|
});
|
|
5639
|
-
return () =>
|
|
5639
|
+
return () => g("div", {
|
|
5640
5640
|
class: "q-page-container",
|
|
5641
5641
|
style: r.value
|
|
5642
5642
|
}, Te(t.default));
|
|
@@ -5681,8 +5681,8 @@ const mo = be({
|
|
|
5681
5681
|
left: h - n.position.left
|
|
5682
5682
|
};
|
|
5683
5683
|
if (e.axis === "vertical" && v.top === 0 || e.axis === "horizontal" && v.left === 0) return;
|
|
5684
|
-
const
|
|
5685
|
-
n.position = { top: d, left: h }, n.directionChanged = n.direction !==
|
|
5684
|
+
const p = Math.abs(v.top) >= Math.abs(v.left) ? v.top < 0 ? "up" : "down" : v.left < 0 ? "left" : "right";
|
|
5685
|
+
n.position = { top: d, left: h }, n.directionChanged = n.direction !== p, n.delta = v, n.directionChanged === !0 && (n.direction = p, n.inflectionPoint = n.position), t("scroll", { ...n });
|
|
5686
5686
|
}
|
|
5687
5687
|
function i() {
|
|
5688
5688
|
r = Jo(l, e.scrollTarget), r.addEventListener("scroll", c, Ba), c(!0);
|
|
@@ -5767,7 +5767,7 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
5767
5767
|
});
|
|
5768
5768
|
}), Pe(u), () => {
|
|
5769
5769
|
if (s.value === !0)
|
|
5770
|
-
return
|
|
5770
|
+
return g("object", {
|
|
5771
5771
|
class: "q--avoid-card-border",
|
|
5772
5772
|
style: La.style,
|
|
5773
5773
|
tabindex: -1,
|
|
@@ -5801,7 +5801,7 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
5801
5801
|
[o.lang.rtl === !0 ? "left" : "right"]: `-${c.value}px`,
|
|
5802
5802
|
width: `calc(100% + ${c.value}px)`
|
|
5803
5803
|
} : null);
|
|
5804
|
-
function
|
|
5804
|
+
function p(w) {
|
|
5805
5805
|
if (e.container === !0 || document.qScrollPrevented !== !0) {
|
|
5806
5806
|
const q = {
|
|
5807
5807
|
position: w.position.top,
|
|
@@ -5813,7 +5813,7 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
5813
5813
|
i.value = q, e.onScroll !== void 0 && n("scroll", q);
|
|
5814
5814
|
}
|
|
5815
5815
|
}
|
|
5816
|
-
function
|
|
5816
|
+
function y(w) {
|
|
5817
5817
|
const { height: q, width: D } = w;
|
|
5818
5818
|
let F = !1;
|
|
5819
5819
|
l.value !== q && (F = !0, l.value = q, e.onScrollHeight !== void 0 && n("scrollHeight", q), C()), a.value !== D && (F = !0, a.value = D), F === !0 && e.onResize !== void 0 && n("resize", w);
|
|
@@ -5882,24 +5882,24 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
5882
5882
|
}
|
|
5883
5883
|
return () => {
|
|
5884
5884
|
const w = xt(t.default, [
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
]), q =
|
|
5885
|
+
g(Gi, { onScroll: p }),
|
|
5886
|
+
g(oo, { onResize: y })
|
|
5887
|
+
]), q = g("div", {
|
|
5888
5888
|
class: s.value,
|
|
5889
5889
|
style: d.value,
|
|
5890
5890
|
ref: e.container === !0 ? void 0 : r,
|
|
5891
5891
|
tabindex: -1
|
|
5892
5892
|
}, w);
|
|
5893
|
-
return e.container === !0 ?
|
|
5893
|
+
return e.container === !0 ? g("div", {
|
|
5894
5894
|
class: "q-layout-container overflow-hidden",
|
|
5895
5895
|
ref: r
|
|
5896
5896
|
}, [
|
|
5897
|
-
|
|
5898
|
-
|
|
5897
|
+
g(oo, { onResize: m }),
|
|
5898
|
+
g("div", {
|
|
5899
5899
|
class: "absolute-full",
|
|
5900
5900
|
style: h.value
|
|
5901
5901
|
}, [
|
|
5902
|
-
|
|
5902
|
+
g("div", {
|
|
5903
5903
|
class: "scroll",
|
|
5904
5904
|
style: v.value
|
|
5905
5905
|
}, [q])
|
|
@@ -6026,7 +6026,7 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
6026
6026
|
}
|
|
6027
6027
|
return u;
|
|
6028
6028
|
});
|
|
6029
|
-
return () =>
|
|
6029
|
+
return () => g("hr", {
|
|
6030
6030
|
class: a.value,
|
|
6031
6031
|
style: i.value,
|
|
6032
6032
|
"aria-orientation": o.value
|
|
@@ -6058,9 +6058,9 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
6058
6058
|
() => e.clickable === !0 || l.value === !0 || e.tag === "label"
|
|
6059
6059
|
), v = f(
|
|
6060
6060
|
() => e.disable !== !0 && h.value === !0
|
|
6061
|
-
),
|
|
6061
|
+
), p = f(
|
|
6062
6062
|
() => "q-item q-item-type row no-wrap" + (e.dense === !0 ? " q-item--dense" : "") + (r.value === !0 ? " q-item--dark" : "") + (l.value === !0 && e.active === null ? i.value : e.active === !0 ? ` q-item--active${e.activeClass !== void 0 ? ` ${e.activeClass}` : ""}` : "") + (e.disable === !0 ? " disabled" : "") + (v.value === !0 ? " q-item--clickable q-link cursor-pointer " + (e.manualFocus === !0 ? "q-manual-focusable" : "q-focusable q-hoverable") + (e.focused === !0 ? " q-manual-focusable--focused" : "") : "")
|
|
6063
|
-
),
|
|
6063
|
+
), y = f(() => e.insetLevel === void 0 ? null : {
|
|
6064
6064
|
["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: 16 + e.insetLevel * 56 + "px"
|
|
6065
6065
|
});
|
|
6066
6066
|
function m(x) {
|
|
@@ -6077,19 +6077,19 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
6077
6077
|
function S() {
|
|
6078
6078
|
const x = cl(t.default, []);
|
|
6079
6079
|
return v.value === !0 && x.unshift(
|
|
6080
|
-
|
|
6080
|
+
g("div", { class: "q-focus-helper", tabindex: -1, ref: d })
|
|
6081
6081
|
), x;
|
|
6082
6082
|
}
|
|
6083
6083
|
return () => {
|
|
6084
6084
|
const x = {
|
|
6085
6085
|
ref: s,
|
|
6086
|
-
class:
|
|
6087
|
-
style:
|
|
6086
|
+
class: p.value,
|
|
6087
|
+
style: y.value,
|
|
6088
6088
|
role: "listitem",
|
|
6089
6089
|
onClick: m,
|
|
6090
6090
|
onKeyup: C
|
|
6091
6091
|
};
|
|
6092
|
-
return v.value === !0 ? (x.tabindex = e.tabindex || "0", Object.assign(x, a.value)) : h.value === !0 && (x["aria-disabled"] = "true"),
|
|
6092
|
+
return v.value === !0 ? (x.tabindex = e.tabindex || "0", Object.assign(x, a.value)) : h.value === !0 && (x["aria-disabled"] = "true"), g(
|
|
6093
6093
|
u.value,
|
|
6094
6094
|
x,
|
|
6095
6095
|
S()
|
|
@@ -6115,7 +6115,7 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
6115
6115
|
), l = f(
|
|
6116
6116
|
() => "q-list" + (e.bordered === !0 ? " q-list--bordered" : "") + (e.dense === !0 ? " q-list--dense" : "") + (e.separator === !0 ? " q-list--separator" : "") + (o.value === !0 ? " q-list--dark" : "") + (e.padding === !0 ? " q-list--padding" : "")
|
|
6117
6117
|
);
|
|
6118
|
-
return () =>
|
|
6118
|
+
return () => g(e.tag, { class: l.value, role: r.value }, Te(t.default));
|
|
6119
6119
|
}
|
|
6120
6120
|
}), ad = be({
|
|
6121
6121
|
name: "QToolbar",
|
|
@@ -6126,7 +6126,7 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
6126
6126
|
const n = f(
|
|
6127
6127
|
() => "q-toolbar row no-wrap items-center" + (e.inset === !0 ? " q-toolbar--inset" : "")
|
|
6128
6128
|
);
|
|
6129
|
-
return () =>
|
|
6129
|
+
return () => g("div", { class: n.value, role: "toolbar" }, Te(t.default));
|
|
6130
6130
|
}
|
|
6131
6131
|
}), id = be({
|
|
6132
6132
|
name: "QHeader",
|
|
@@ -6174,25 +6174,25 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
6174
6174
|
function v(S, x) {
|
|
6175
6175
|
r.update("header", S, x);
|
|
6176
6176
|
}
|
|
6177
|
-
function
|
|
6177
|
+
function p(S, x) {
|
|
6178
6178
|
S.value !== x && (S.value = x);
|
|
6179
6179
|
}
|
|
6180
|
-
function
|
|
6181
|
-
|
|
6180
|
+
function y({ height: S }) {
|
|
6181
|
+
p(l, S), v("size", S);
|
|
6182
6182
|
}
|
|
6183
6183
|
function m(S) {
|
|
6184
|
-
s.value === !0 &&
|
|
6184
|
+
s.value === !0 && p(a, !0), n("focusin", S);
|
|
6185
6185
|
}
|
|
6186
6186
|
K(() => e.modelValue, (S) => {
|
|
6187
|
-
v("space", S),
|
|
6187
|
+
v("space", S), p(a, !0), r.animate();
|
|
6188
6188
|
}), K(u, (S) => {
|
|
6189
6189
|
v("offset", S);
|
|
6190
6190
|
}), K(() => e.reveal, (S) => {
|
|
6191
|
-
S === !1 &&
|
|
6191
|
+
S === !1 && p(a, e.modelValue);
|
|
6192
6192
|
}), K(a, (S) => {
|
|
6193
6193
|
r.animate(), n("reveal", S);
|
|
6194
6194
|
}), K(r.scroll, (S) => {
|
|
6195
|
-
e.reveal === !0 &&
|
|
6195
|
+
e.reveal === !0 && p(
|
|
6196
6196
|
a,
|
|
6197
6197
|
S.direction === "up" || S.position <= e.revealOffset || S.position - S.inflectionPoint < 100
|
|
6198
6198
|
);
|
|
@@ -6203,15 +6203,15 @@ const es = typeof ResizeObserver < "u", La = es === !0 ? {} : {
|
|
|
6203
6203
|
}), () => {
|
|
6204
6204
|
const S = cl(t.default, []);
|
|
6205
6205
|
return e.elevated === !0 && S.push(
|
|
6206
|
-
|
|
6206
|
+
g("div", {
|
|
6207
6207
|
class: "q-layout__shadow absolute-full overflow-hidden no-pointer-events"
|
|
6208
6208
|
})
|
|
6209
6209
|
), S.push(
|
|
6210
|
-
|
|
6210
|
+
g(oo, {
|
|
6211
6211
|
debounce: 0,
|
|
6212
|
-
onResize:
|
|
6212
|
+
onResize: y
|
|
6213
6213
|
})
|
|
6214
|
-
),
|
|
6214
|
+
), g("header", {
|
|
6215
6215
|
class: d.value,
|
|
6216
6216
|
style: h.value,
|
|
6217
6217
|
onFocusin: m
|
|
@@ -6288,7 +6288,7 @@ function Sr(...e) {
|
|
|
6288
6288
|
return;
|
|
6289
6289
|
const h = cd(d) ? { ...d } : d;
|
|
6290
6290
|
l.push(
|
|
6291
|
-
...n.flatMap((v) => o.map((
|
|
6291
|
+
...n.flatMap((v) => o.map((p) => i(s, v, p, h)))
|
|
6292
6292
|
);
|
|
6293
6293
|
},
|
|
6294
6294
|
{ immediate: !0, flush: "post" }
|
|
@@ -6306,10 +6306,10 @@ function vd(e, t, n = {}) {
|
|
|
6306
6306
|
let i = !0;
|
|
6307
6307
|
const u = (h) => r.some((v) => {
|
|
6308
6308
|
if (typeof v == "string")
|
|
6309
|
-
return Array.from(o.document.querySelectorAll(v)).some((
|
|
6309
|
+
return Array.from(o.document.querySelectorAll(v)).some((p) => p === h.target || h.composedPath().includes(p));
|
|
6310
6310
|
{
|
|
6311
|
-
const
|
|
6312
|
-
return
|
|
6311
|
+
const p = Kn(v);
|
|
6312
|
+
return p && (h.target === p || h.composedPath().includes(p));
|
|
6313
6313
|
}
|
|
6314
6314
|
}), s = [
|
|
6315
6315
|
Sr(o, "click", (h) => {
|
|
@@ -6329,8 +6329,8 @@ function vd(e, t, n = {}) {
|
|
|
6329
6329
|
a && Sr(o, "blur", (h) => {
|
|
6330
6330
|
setTimeout(() => {
|
|
6331
6331
|
var v;
|
|
6332
|
-
const
|
|
6333
|
-
((v = o.document.activeElement) == null ? void 0 : v.tagName) === "IFRAME" && !(
|
|
6332
|
+
const p = Kn(e);
|
|
6333
|
+
((v = o.document.activeElement) == null ? void 0 : v.tagName) === "IFRAME" && !(p != null && p.contains(o.document.activeElement)) && t(h);
|
|
6334
6334
|
}, 0);
|
|
6335
6335
|
})
|
|
6336
6336
|
].filter(Boolean);
|
|
@@ -7205,8 +7205,8 @@ const O1 = /* @__PURE__ */ fe(A1, [["render", P1]]), D1 = /* @__PURE__ */ Qe({
|
|
|
7205
7205
|
setup(e, { emit: t }) {
|
|
7206
7206
|
const n = t, o = e, r = P(null), l = P(!1), a = f(
|
|
7207
7207
|
() => {
|
|
7208
|
-
var d, h, v,
|
|
7209
|
-
return `${(d = o.userData) == null ? void 0 : d.last_name} ${(h = o.userData) == null ? void 0 : h.first_name} ${((
|
|
7208
|
+
var d, h, v, p, y, m;
|
|
7209
|
+
return `${(d = o.userData) == null ? void 0 : d.last_name} ${(h = o.userData) == null ? void 0 : h.first_name} ${((p = (v = o.userData) == null ? void 0 : v.patronymic) == null ? void 0 : p[0]) || ""}${(m = (y = o.userData) == null ? void 0 : y.patronymic) != null && m[0] ? "." : ""}`;
|
|
7210
7210
|
}
|
|
7211
7211
|
), i = f(() => {
|
|
7212
7212
|
var d, h, v;
|
|
@@ -7272,7 +7272,7 @@ const O1 = /* @__PURE__ */ fe(A1, [["render", P1]]), D1 = /* @__PURE__ */ Qe({
|
|
|
7272
7272
|
Rt((I(), pe(Ft, {
|
|
7273
7273
|
class: Ce(d.$style["settings-menu__item"]),
|
|
7274
7274
|
clickable: "",
|
|
7275
|
-
onClick: (
|
|
7275
|
+
onClick: (p) => s(v)
|
|
7276
7276
|
}, {
|
|
7277
7277
|
default: le(() => [
|
|
7278
7278
|
ot(ze(v.label), 1)
|
|
@@ -7343,7 +7343,7 @@ const O1 = /* @__PURE__ */ fe(A1, [["render", P1]]), D1 = /* @__PURE__ */ Qe({
|
|
|
7343
7343
|
}), a = f(
|
|
7344
7344
|
() => `q-page${e.padding === !0 ? " q-layout-padding" : ""}`
|
|
7345
7345
|
);
|
|
7346
|
-
return () =>
|
|
7346
|
+
return () => g("main", {
|
|
7347
7347
|
class: a.value,
|
|
7348
7348
|
style: l.value
|
|
7349
7349
|
}, Te(t.default));
|
|
@@ -7418,36 +7418,36 @@ const f2 = /* @__PURE__ */ fe(e0, [["render", t0], ["__scopeId", "data-v-27ae3e7
|
|
|
7418
7418
|
function v(m) {
|
|
7419
7419
|
e.disable || (n("update:selected", !e.selected), n("click", m));
|
|
7420
7420
|
}
|
|
7421
|
-
function
|
|
7421
|
+
function p(m) {
|
|
7422
7422
|
(m.keyCode === void 0 || m.keyCode === 13) && (je(m), e.disable === !1 && (n("update:modelValue", !1), n("remove")));
|
|
7423
7423
|
}
|
|
7424
|
-
function
|
|
7424
|
+
function y() {
|
|
7425
7425
|
const m = [];
|
|
7426
7426
|
c.value === !0 && m.push(
|
|
7427
|
-
|
|
7427
|
+
g("div", { class: "q-focus-helper" })
|
|
7428
7428
|
), a.value === !0 && m.push(
|
|
7429
|
-
|
|
7429
|
+
g(Ye, {
|
|
7430
7430
|
class: "q-chip__icon q-chip__icon--left",
|
|
7431
7431
|
name: i.value
|
|
7432
7432
|
})
|
|
7433
7433
|
);
|
|
7434
|
-
const C = e.label !== void 0 ? [
|
|
7434
|
+
const C = e.label !== void 0 ? [g("div", { class: "ellipsis" }, [e.label])] : void 0;
|
|
7435
7435
|
return m.push(
|
|
7436
|
-
|
|
7436
|
+
g("div", {
|
|
7437
7437
|
class: "q-chip__content col row no-wrap items-center q-anchor--skip"
|
|
7438
7438
|
}, Js(t.default, C))
|
|
7439
7439
|
), e.iconRight && m.push(
|
|
7440
|
-
|
|
7440
|
+
g(Ye, {
|
|
7441
7441
|
class: "q-chip__icon q-chip__icon--right",
|
|
7442
7442
|
name: e.iconRight
|
|
7443
7443
|
})
|
|
7444
7444
|
), e.removable === !0 && m.push(
|
|
7445
|
-
|
|
7445
|
+
g(Ye, {
|
|
7446
7446
|
class: "q-chip__icon q-chip__icon--remove cursor-pointer",
|
|
7447
7447
|
name: u.value,
|
|
7448
7448
|
...d.value.remove,
|
|
7449
|
-
onClick:
|
|
7450
|
-
onKeyup:
|
|
7449
|
+
onClick: p,
|
|
7450
|
+
onKeyup: p
|
|
7451
7451
|
})
|
|
7452
7452
|
), m;
|
|
7453
7453
|
}
|
|
@@ -7464,7 +7464,7 @@ const f2 = /* @__PURE__ */ fe(e0, [["render", t0], ["__scopeId", "data-v-27ae3e7
|
|
|
7464
7464
|
), jr(
|
|
7465
7465
|
"div",
|
|
7466
7466
|
m,
|
|
7467
|
-
|
|
7467
|
+
y(),
|
|
7468
7468
|
"ripple",
|
|
7469
7469
|
e.ripple !== !1 && e.disable !== !0,
|
|
7470
7470
|
() => [[Go, e.ripple]]
|
|
@@ -7500,7 +7500,7 @@ const f2 = /* @__PURE__ */ fe(e0, [["render", t0], ["__scopeId", "data-v-27ae3e7
|
|
|
7500
7500
|
const n = f(
|
|
7501
7501
|
() => `q-item__section column q-item__section--${e.avatar === !0 || e.side === !0 || e.thumbnail === !0 ? "side" : "main"}` + (e.top === !0 ? " q-item__section--top justify-start" : " justify-center") + (e.avatar === !0 ? " q-item__section--avatar" : "") + (e.thumbnail === !0 ? " q-item__section--thumbnail" : "") + (e.noWrap === !0 ? " q-item__section--nowrap" : "")
|
|
7502
7502
|
);
|
|
7503
|
-
return () =>
|
|
7503
|
+
return () => g("div", { class: n.value }, Te(t.default));
|
|
7504
7504
|
}
|
|
7505
7505
|
}), Gr = be({
|
|
7506
7506
|
name: "QItemLabel",
|
|
@@ -7519,7 +7519,7 @@ const f2 = /* @__PURE__ */ fe(e0, [["render", t0], ["__scopeId", "data-v-27ae3e7
|
|
|
7519
7519
|
"-webkit-box-orient": "vertical",
|
|
7520
7520
|
"-webkit-line-clamp": n.value
|
|
7521
7521
|
} : null);
|
|
7522
|
-
return () =>
|
|
7522
|
+
return () => g("div", {
|
|
7523
7523
|
style: r.value,
|
|
7524
7524
|
class: o.value
|
|
7525
7525
|
}, Te(t.default));
|
|
@@ -7631,7 +7631,7 @@ function us({
|
|
|
7631
7631
|
}) {
|
|
7632
7632
|
const r = we(), { props: l, emit: a, proxy: i } = r, { $q: u } = i;
|
|
7633
7633
|
let c, s, d, h = [], v;
|
|
7634
|
-
const
|
|
7634
|
+
const p = P(0), y = P(0), m = P({}), C = P(null), S = P(null), x = P(null), w = P({ from: 0, to: 0 }), q = f(() => l.tableColspan !== void 0 ? l.tableColspan : 100);
|
|
7635
7635
|
o === void 0 && (o = f(() => l.virtualScrollItemSize));
|
|
7636
7636
|
const D = f(() => o.value + ";" + l.virtualScrollHorizontal), F = f(
|
|
7637
7637
|
() => D.value + ";" + l.virtualScrollSliceRatioBefore + ";" + l.virtualScrollSliceRatioAfter
|
|
@@ -7678,7 +7678,7 @@ function us({
|
|
|
7678
7678
|
u.lang.rtl,
|
|
7679
7679
|
l.virtualScrollStickySizeStart,
|
|
7680
7680
|
l.virtualScrollStickySizeEnd
|
|
7681
|
-
), Z = e.value - 1, ee = $.scrollMaxSize - $.offsetStart - $.offsetEnd -
|
|
7681
|
+
), Z = e.value - 1, ee = $.scrollMaxSize - $.offsetStart - $.offsetEnd - y.value;
|
|
7682
7682
|
if (c === $.scrollStart) return;
|
|
7683
7683
|
if ($.scrollMaxSize <= 0) {
|
|
7684
7684
|
L(B, $, 0, 0);
|
|
@@ -7696,8 +7696,8 @@ function us({
|
|
|
7696
7696
|
return;
|
|
7697
7697
|
}
|
|
7698
7698
|
let re = 0, ue = $.scrollStart - $.offsetStart, Me = ue;
|
|
7699
|
-
if (ue <= ee && ue + $.scrollViewSize >=
|
|
7700
|
-
ue -=
|
|
7699
|
+
if (ue <= ee && ue + $.scrollViewSize >= p.value)
|
|
7700
|
+
ue -= p.value, re = w.value.from, Me = ue;
|
|
7701
7701
|
else
|
|
7702
7702
|
for (let Y = 0; ue >= h[Y] && re < Z; Y++)
|
|
7703
7703
|
ue -= h[Y], re += Tt;
|
|
@@ -7726,14 +7726,14 @@ function us({
|
|
|
7726
7726
|
const ft = ue !== void 0 ? v.slice(Y, Z).reduce(Vn, 0) : 0;
|
|
7727
7727
|
if (ke === !0) {
|
|
7728
7728
|
const lt = Re >= w.value.from && Y <= w.value.to ? w.value.to : Re;
|
|
7729
|
-
w.value = { from: Y, to: lt },
|
|
7730
|
-
w.value.to !== Re && c === $.scrollStart && (w.value = { from: w.value.from, to: Re },
|
|
7729
|
+
w.value = { from: Y, to: lt }, p.value = Wn(h, v, 0, Y), y.value = Wn(h, v, Re, e.value), requestAnimationFrame(() => {
|
|
7730
|
+
w.value.to !== Re && c === $.scrollStart && (w.value = { from: w.value.from, to: Re }, y.value = Wn(h, v, Re, e.value));
|
|
7731
7731
|
});
|
|
7732
7732
|
}
|
|
7733
7733
|
requestAnimationFrame(() => {
|
|
7734
7734
|
if (c !== $.scrollStart) return;
|
|
7735
7735
|
ke === !0 && J(Y);
|
|
7736
|
-
const lt = v.slice(Y, Z).reduce(Vn, 0), Ge = lt + $.offsetStart +
|
|
7736
|
+
const lt = v.slice(Y, Z).reduce(Vn, 0), Ge = lt + $.offsetStart + p.value, Ie = Ge + v[Z];
|
|
7737
7737
|
let tt = Ge + ee;
|
|
7738
7738
|
if (ue !== void 0) {
|
|
7739
7739
|
const jt = lt - ft, _t = $.scrollStart + jt;
|
|
@@ -7782,7 +7782,7 @@ function us({
|
|
|
7782
7782
|
ue += v[Y];
|
|
7783
7783
|
h.push(ue);
|
|
7784
7784
|
}
|
|
7785
|
-
s = -1, c = void 0,
|
|
7785
|
+
s = -1, c = void 0, p.value = Wn(h, v, 0, w.value.from), y.value = Wn(h, v, w.value.to, e.value), B >= 0 ? (J(w.value.from), Le(() => {
|
|
7786
7786
|
V(B);
|
|
7787
7787
|
})) : G();
|
|
7788
7788
|
}
|
|
@@ -7819,45 +7819,45 @@ function us({
|
|
|
7819
7819
|
["--q-virtual-scroll-item-" + Z]: o.value + "px"
|
|
7820
7820
|
};
|
|
7821
7821
|
return [
|
|
7822
|
-
B === "tbody" ?
|
|
7822
|
+
B === "tbody" ? g(B, {
|
|
7823
7823
|
class: "q-virtual-scroll__padding",
|
|
7824
7824
|
key: "before",
|
|
7825
7825
|
ref: C
|
|
7826
7826
|
}, [
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
style: { [Z]: `${
|
|
7827
|
+
g("tr", [
|
|
7828
|
+
g("td", {
|
|
7829
|
+
style: { [Z]: `${p.value}px`, ...ee },
|
|
7830
7830
|
colspan: q.value
|
|
7831
7831
|
})
|
|
7832
7832
|
])
|
|
7833
|
-
]) :
|
|
7833
|
+
]) : g(B, {
|
|
7834
7834
|
class: "q-virtual-scroll__padding",
|
|
7835
7835
|
key: "before",
|
|
7836
7836
|
ref: C,
|
|
7837
|
-
style: { [Z]: `${
|
|
7837
|
+
style: { [Z]: `${p.value}px`, ...ee }
|
|
7838
7838
|
}),
|
|
7839
|
-
|
|
7839
|
+
g(B, {
|
|
7840
7840
|
class: "q-virtual-scroll__content",
|
|
7841
7841
|
key: "content",
|
|
7842
7842
|
ref: x,
|
|
7843
7843
|
tabindex: -1
|
|
7844
7844
|
}, $.flat()),
|
|
7845
|
-
B === "tbody" ?
|
|
7845
|
+
B === "tbody" ? g(B, {
|
|
7846
7846
|
class: "q-virtual-scroll__padding",
|
|
7847
7847
|
key: "after",
|
|
7848
7848
|
ref: S
|
|
7849
7849
|
}, [
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
style: { [Z]: `${
|
|
7850
|
+
g("tr", [
|
|
7851
|
+
g("td", {
|
|
7852
|
+
style: { [Z]: `${y.value}px`, ...ee },
|
|
7853
7853
|
colspan: q.value
|
|
7854
7854
|
})
|
|
7855
7855
|
])
|
|
7856
|
-
]) :
|
|
7856
|
+
]) : g(B, {
|
|
7857
7857
|
class: "q-virtual-scroll__padding",
|
|
7858
7858
|
key: "after",
|
|
7859
7859
|
ref: S,
|
|
7860
|
-
style: { [Z]: `${
|
|
7860
|
+
style: { [Z]: `${y.value}px`, ...ee }
|
|
7861
7861
|
})
|
|
7862
7862
|
];
|
|
7863
7863
|
}
|
|
@@ -7998,7 +7998,7 @@ const Rl = be({
|
|
|
7998
7998
|
],
|
|
7999
7999
|
setup(e, { slots: t, emit: n }) {
|
|
8000
8000
|
const { proxy: o } = we(), { $q: r } = o, l = P(!1), a = P(!1), i = P(-1), u = P(""), c = P(!1), s = P(!1);
|
|
8001
|
-
let d = null, h = null, v,
|
|
8001
|
+
let d = null, h = null, v, p, y, m = null, C, S, x, w;
|
|
8002
8002
|
const q = P(null), D = P(null), F = P(null), Q = P(null), E = P(null), V = Ti(e), z = Ji(T), L = f(() => Array.isArray(e.options) ? e.options.length : 0), J = f(() => e.virtualScrollItemSize === void 0 ? e.optionsDense === !0 ? 24 : 48 : e.virtualScrollItemSize), {
|
|
8003
8003
|
virtualScrollSliceRange: M,
|
|
8004
8004
|
virtualScrollSliceSizeComputed: O,
|
|
@@ -8106,13 +8106,13 @@ const Rl = be({
|
|
|
8106
8106
|
onKeypress: Ct,
|
|
8107
8107
|
onFocus: rn,
|
|
8108
8108
|
onClick(oe) {
|
|
8109
|
-
|
|
8109
|
+
p === !0 && bt(oe);
|
|
8110
8110
|
}
|
|
8111
8111
|
};
|
|
8112
8112
|
return _.onCompositionstart = _.onCompositionupdate = _.onCompositionend = z, _;
|
|
8113
8113
|
});
|
|
8114
8114
|
K($, (_) => {
|
|
8115
|
-
v = _, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && B.innerLoading.value !== !0 && (a.value !== !0 && l.value !== !0 || ae.value !== !0) && (
|
|
8115
|
+
v = _, e.useInput === !0 && e.fillInput === !0 && e.multiple !== !0 && B.innerLoading.value !== !0 && (a.value !== !0 && l.value !== !0 || ae.value !== !0) && (y !== !0 && qt(), (a.value === !0 || l.value === !0) && he(""));
|
|
8116
8116
|
}, { immediate: !0 }), K(() => e.fillInput, qt), K(l, sr), K(L, Fs);
|
|
8117
8117
|
function _n(_) {
|
|
8118
8118
|
return e.emitValue === !0 ? W.value(_) : _;
|
|
@@ -8158,7 +8158,7 @@ const Rl = be({
|
|
|
8158
8158
|
), Be()), (Ze = D.value) == null || Ze.focus(), ($.value.length === 0 || Xt(W.value($.value[0]), ie) !== !0) && n("update:modelValue", e.emitValue === !0 ? ie : _);
|
|
8159
8159
|
return;
|
|
8160
8160
|
}
|
|
8161
|
-
if ((
|
|
8161
|
+
if ((p !== !0 || c.value === !0) && B.focus(), rn(), $.value.length === 0) {
|
|
8162
8162
|
const Fe = e.emitValue === !0 ? ie : _;
|
|
8163
8163
|
n("add", { index: 0, value: Fe }), n("update:modelValue", e.multiple === !0 ? [Fe] : Fe);
|
|
8164
8164
|
return;
|
|
@@ -8292,13 +8292,13 @@ const Rl = be({
|
|
|
8292
8292
|
}
|
|
8293
8293
|
}
|
|
8294
8294
|
function ln() {
|
|
8295
|
-
return
|
|
8295
|
+
return p === !0 ? E.value : F.value !== null && F.value.contentEl !== null ? F.value.contentEl : void 0;
|
|
8296
8296
|
}
|
|
8297
8297
|
function Wt() {
|
|
8298
8298
|
return ln();
|
|
8299
8299
|
}
|
|
8300
8300
|
function xn() {
|
|
8301
|
-
return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Ge.value.map((_) => t["selected-item"](_)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Ge.value.map((_, oe) =>
|
|
8301
|
+
return e.hideSelected === !0 ? [] : t["selected-item"] !== void 0 ? Ge.value.map((_) => t["selected-item"](_)).slice() : t.selected !== void 0 ? [].concat(t.selected()) : e.useChips === !0 ? Ge.value.map((_, oe) => g(ls, {
|
|
8302
8302
|
key: "option-" + oe,
|
|
8303
8303
|
removable: B.editable.value === !0 && Ee.value(_.opt) !== !0,
|
|
8304
8304
|
dense: !0,
|
|
@@ -8307,11 +8307,11 @@ const Rl = be({
|
|
|
8307
8307
|
onRemove() {
|
|
8308
8308
|
_.removeAtIndex(oe);
|
|
8309
8309
|
}
|
|
8310
|
-
}, () =>
|
|
8310
|
+
}, () => g("span", {
|
|
8311
8311
|
class: "ellipsis",
|
|
8312
8312
|
[_.html === !0 ? "innerHTML" : "textContent"]: me.value(_.opt)
|
|
8313
8313
|
}))) : [
|
|
8314
|
-
|
|
8314
|
+
g("span", {
|
|
8315
8315
|
class: "ellipsis",
|
|
8316
8316
|
[$e.value === !0 ? "innerHTML" : "textContent"]: Re.value
|
|
8317
8317
|
})
|
|
@@ -8320,14 +8320,14 @@ const Rl = be({
|
|
|
8320
8320
|
function Lt() {
|
|
8321
8321
|
if (Me.value === !0)
|
|
8322
8322
|
return t["no-option"] !== void 0 ? t["no-option"]({ inputValue: u.value }) : void 0;
|
|
8323
|
-
const _ = t.option !== void 0 ? t.option : (ie) =>
|
|
8323
|
+
const _ = t.option !== void 0 ? t.option : (ie) => g(Ft, {
|
|
8324
8324
|
key: ie.index,
|
|
8325
8325
|
...ie.itemProps
|
|
8326
|
-
}, () =>
|
|
8326
|
+
}, () => g(
|
|
8327
8327
|
it,
|
|
8328
|
-
() =>
|
|
8328
|
+
() => g(
|
|
8329
8329
|
Gr,
|
|
8330
|
-
() =>
|
|
8330
|
+
() => g("span", {
|
|
8331
8331
|
[ie.html === !0 ? "innerHTML" : "textContent"]: ie.label
|
|
8332
8332
|
})
|
|
8333
8333
|
)
|
|
@@ -8353,10 +8353,10 @@ const Rl = be({
|
|
|
8353
8353
|
readonly: e.readonly === !0,
|
|
8354
8354
|
...nn.value
|
|
8355
8355
|
};
|
|
8356
|
-
return _ !== !0 &&
|
|
8356
|
+
return _ !== !0 && p === !0 && (Array.isArray(qe.class) === !0 ? qe.class = [...qe.class, "no-pointer-events"] : qe.class += " no-pointer-events"), g("input", qe);
|
|
8357
8357
|
}
|
|
8358
8358
|
function T(_) {
|
|
8359
|
-
d !== null && (clearTimeout(d), d = null), h !== null && (clearTimeout(h), h = null), !(_ && _.target && _.target.qComposing === !0) && (te(_.target.value || ""),
|
|
8359
|
+
d !== null && (clearTimeout(d), d = null), h !== null && (clearTimeout(h), h = null), !(_ && _.target && _.target.qComposing === !0) && (te(_.target.value || ""), y = !0, C = u.value, B.focused.value !== !0 && (p !== !0 || c.value === !0) && B.focus(), e.onFilter !== void 0 && (d = setTimeout(() => {
|
|
8360
8360
|
d = null, he(u.value);
|
|
8361
8361
|
}, e.inputDebounce)));
|
|
8362
8362
|
}
|
|
@@ -8366,11 +8366,11 @@ const Rl = be({
|
|
|
8366
8366
|
}, e.inputDebounce));
|
|
8367
8367
|
}
|
|
8368
8368
|
function ge(_, oe, ie) {
|
|
8369
|
-
|
|
8369
|
+
y = ie !== !0, e.useInput === !0 && (te(_, !0), (oe === !0 || ie !== !0) && (C = _), oe !== !0 && he(_));
|
|
8370
8370
|
}
|
|
8371
8371
|
function he(_, oe, ie) {
|
|
8372
8372
|
if (e.onFilter === void 0 || oe !== !0 && B.focused.value !== !0) return;
|
|
8373
|
-
B.innerLoading.value === !0 ? n("filterAbort") : (B.innerLoading.value = !0, s.value = !0), _ !== "" && e.multiple !== !0 && $.value.length !== 0 &&
|
|
8373
|
+
B.innerLoading.value === !0 ? n("filterAbort") : (B.innerLoading.value = !0, s.value = !0), _ !== "" && e.multiple !== !0 && $.value.length !== 0 && y !== !0 && _ === me.value($.value[0]) && (_ = "");
|
|
8374
8374
|
const qe = setTimeout(() => {
|
|
8375
8375
|
l.value === !0 && (l.value = !1);
|
|
8376
8376
|
}, 10);
|
|
@@ -8392,7 +8392,7 @@ const Rl = be({
|
|
|
8392
8392
|
);
|
|
8393
8393
|
}
|
|
8394
8394
|
function _e() {
|
|
8395
|
-
return
|
|
8395
|
+
return g(vo, {
|
|
8396
8396
|
ref: F,
|
|
8397
8397
|
class: ue.value,
|
|
8398
8398
|
style: e.popupContentStyle,
|
|
@@ -8436,7 +8436,7 @@ const Rl = be({
|
|
|
8436
8436
|
}
|
|
8437
8437
|
function A() {
|
|
8438
8438
|
const _ = [
|
|
8439
|
-
|
|
8439
|
+
g(o0, {
|
|
8440
8440
|
class: `col-auto ${B.fieldClass.value}`,
|
|
8441
8441
|
...Z.value,
|
|
8442
8442
|
for: B.targetUid.value,
|
|
@@ -8457,7 +8457,7 @@ const Rl = be({
|
|
|
8457
8457
|
})
|
|
8458
8458
|
];
|
|
8459
8459
|
return l.value === !0 && _.push(
|
|
8460
|
-
|
|
8460
|
+
g("div", {
|
|
8461
8461
|
ref: E,
|
|
8462
8462
|
class: ue.value + " scroll",
|
|
8463
8463
|
style: e.popupContentStyle,
|
|
@@ -8465,7 +8465,7 @@ const Rl = be({
|
|
|
8465
8465
|
onClick: gt,
|
|
8466
8466
|
onScrollPassive: N
|
|
8467
8467
|
}, Lt())
|
|
8468
|
-
),
|
|
8468
|
+
), g(fo, {
|
|
8469
8469
|
ref: Q,
|
|
8470
8470
|
modelValue: a.value,
|
|
8471
8471
|
position: e.useInput === !0 ? "top" : void 0,
|
|
@@ -8477,7 +8477,7 @@ const Rl = be({
|
|
|
8477
8477
|
onBeforeHide: X,
|
|
8478
8478
|
onHide: ne,
|
|
8479
8479
|
onShow: xe
|
|
8480
|
-
}, () =>
|
|
8480
|
+
}, () => g("div", {
|
|
8481
8481
|
class: "q-select__dialog" + (ee.value === !0 ? " q-select__dialog--dark q-dark" : "") + (c.value === !0 ? " q-select__dialog--focused" : "")
|
|
8482
8482
|
}, _));
|
|
8483
8483
|
}
|
|
@@ -8497,7 +8497,7 @@ const Rl = be({
|
|
|
8497
8497
|
a.value !== !0 && (i.value = -1, l.value === !0 && (l.value = !1), B.focused.value === !1 && (m !== null && (clearTimeout(m), m = null), B.innerLoading.value === !0 && (n("filterAbort"), B.innerLoading.value = !1, s.value = !1)));
|
|
8498
8498
|
}
|
|
8499
8499
|
function ye(_) {
|
|
8500
|
-
B.editable.value === !0 && (
|
|
8500
|
+
B.editable.value === !0 && (p === !0 ? (B.onControlFocusin(_), a.value = !0, Le(() => {
|
|
8501
8501
|
B.focus();
|
|
8502
8502
|
})) : B.focus(), e.onFilter !== void 0 ? he(u.value) : (Me.value !== !0 || t["no-option"] !== void 0) && (l.value = !0));
|
|
8503
8503
|
}
|
|
@@ -8537,7 +8537,7 @@ const Rl = be({
|
|
|
8537
8537
|
_ !== void 0 && bt(_), n("popupHide", _), B.hasPopupOpen = !1, B.onControlFocusout(_);
|
|
8538
8538
|
}
|
|
8539
8539
|
function Hl() {
|
|
8540
|
-
|
|
8540
|
+
p = r.platform.is.mobile !== !0 && e.behavior !== "dialog" ? !1 : e.behavior !== "menu" && (e.useInput === !0 ? t["no-option"] !== void 0 || e.onFilter !== void 0 || Me.value === !1 : !0), S = r.platform.is.ios === !0 && p === !0 && e.useInput === !0 ? "fade" : e.transitionShow;
|
|
8541
8541
|
}
|
|
8542
8542
|
return ai(Hl), Ys(jl), Hl(), Pe(() => {
|
|
8543
8543
|
d !== null && clearTimeout(d), h !== null && clearTimeout(h);
|
|
@@ -8572,7 +8572,7 @@ const Rl = be({
|
|
|
8572
8572
|
),
|
|
8573
8573
|
getControlChild: () => {
|
|
8574
8574
|
if (B.editable.value !== !1 && (a.value === !0 || Me.value !== !0 || t["no-option"] !== void 0))
|
|
8575
|
-
return
|
|
8575
|
+
return p === !0 ? A() : _e();
|
|
8576
8576
|
B.hasPopupOpen === !0 && (B.hasPopupOpen = !1);
|
|
8577
8577
|
},
|
|
8578
8578
|
controlEvents: {
|
|
@@ -8586,7 +8586,7 @@ const Rl = be({
|
|
|
8586
8586
|
},
|
|
8587
8587
|
onClick(_) {
|
|
8588
8588
|
var oe;
|
|
8589
|
-
if (gt(_),
|
|
8589
|
+
if (gt(_), p !== !0 && l.value === !0) {
|
|
8590
8590
|
se(), (oe = D.value) == null || oe.focus();
|
|
8591
8591
|
return;
|
|
8592
8592
|
}
|
|
@@ -8594,13 +8594,13 @@ const Rl = be({
|
|
|
8594
8594
|
}
|
|
8595
8595
|
},
|
|
8596
8596
|
getControl: (_) => {
|
|
8597
|
-
const oe = xn(), ie = _ === !0 || a.value !== !0 ||
|
|
8597
|
+
const oe = xn(), ie = _ === !0 || a.value !== !0 || p !== !0;
|
|
8598
8598
|
if (e.useInput === !0)
|
|
8599
8599
|
oe.push(an(_, ie));
|
|
8600
8600
|
else if (B.editable.value === !0) {
|
|
8601
8601
|
const De = ie === !0 ? ft.value : void 0;
|
|
8602
8602
|
oe.push(
|
|
8603
|
-
|
|
8603
|
+
g("input", {
|
|
8604
8604
|
ref: ie === !0 ? D : void 0,
|
|
8605
8605
|
key: "d_t",
|
|
8606
8606
|
class: "q-select__focus-target",
|
|
@@ -8614,7 +8614,7 @@ const Rl = be({
|
|
|
8614
8614
|
onKeypress: Ct
|
|
8615
8615
|
})
|
|
8616
8616
|
), ie === !0 && typeof e.autocomplete == "string" && e.autocomplete.length !== 0 && oe.push(
|
|
8617
|
-
|
|
8617
|
+
g("input", {
|
|
8618
8618
|
class: "q-select__autocomplete-input",
|
|
8619
8619
|
autocomplete: e.autocomplete,
|
|
8620
8620
|
tabindex: -1,
|
|
@@ -8623,9 +8623,9 @@ const Rl = be({
|
|
|
8623
8623
|
);
|
|
8624
8624
|
}
|
|
8625
8625
|
if (V.value !== void 0 && e.disable !== !0 && vt.value.length !== 0) {
|
|
8626
|
-
const De = vt.value.map((Ze) =>
|
|
8626
|
+
const De = vt.value.map((Ze) => g("option", { value: Ze, selected: !0 }));
|
|
8627
8627
|
oe.push(
|
|
8628
|
-
|
|
8628
|
+
g("select", {
|
|
8629
8629
|
class: "hidden",
|
|
8630
8630
|
name: V.value,
|
|
8631
8631
|
multiple: e.multiple
|
|
@@ -8633,14 +8633,14 @@ const Rl = be({
|
|
|
8633
8633
|
);
|
|
8634
8634
|
}
|
|
8635
8635
|
const qe = e.useInput === !0 || ie !== !0 ? void 0 : B.splitAttrs.attributes.value;
|
|
8636
|
-
return
|
|
8636
|
+
return g("div", {
|
|
8637
8637
|
class: "q-field__native row items-center",
|
|
8638
8638
|
...qe,
|
|
8639
8639
|
...B.splitAttrs.listeners.value
|
|
8640
8640
|
}, oe);
|
|
8641
8641
|
},
|
|
8642
8642
|
getInnerAppend: () => e.loading !== !0 && s.value !== !0 && e.hideDropdownIcon !== !0 ? [
|
|
8643
|
-
|
|
8643
|
+
g(Ye, {
|
|
8644
8644
|
class: "q-select__dropdown-icon" + (l.value === !0 ? " rotate-180" : ""),
|
|
8645
8645
|
name: tt.value
|
|
8646
8646
|
})
|
|
@@ -8761,7 +8761,7 @@ const Rl = be({
|
|
|
8761
8761
|
props: _i,
|
|
8762
8762
|
setup(e) {
|
|
8763
8763
|
const { cSize: t, classes: n } = Ci(e);
|
|
8764
|
-
return () =>
|
|
8764
|
+
return () => g("svg", {
|
|
8765
8765
|
class: n.value,
|
|
8766
8766
|
fill: "currentColor",
|
|
8767
8767
|
width: t.value,
|
|
@@ -8787,7 +8787,7 @@ const Rl = be({
|
|
|
8787
8787
|
const { proxy: { $q: n } } = we(), o = dt(e, n), r = f(
|
|
8788
8788
|
() => "q-card" + (o.value === !0 ? " q-card--dark q-dark" : "") + (e.bordered === !0 ? " q-card--bordered" : "") + (e.square === !0 ? " q-card--square no-border-radius" : "") + (e.flat === !0 ? " q-card--flat no-shadow" : "")
|
|
8789
8789
|
);
|
|
8790
|
-
return () =>
|
|
8790
|
+
return () => g(e.tag, { class: r.value }, Te(t.default));
|
|
8791
8791
|
}
|
|
8792
8792
|
}), h0 = { class: "wrapper" }, m0 = { class: "sheet-header" }, g0 = { class: "close-button" }, p0 = {
|
|
8793
8793
|
key: 0,
|
|
@@ -9004,21 +9004,21 @@ const Jn = ul(
|
|
|
9004
9004
|
const c = r.event.mouse === !0, s = () => {
|
|
9005
9005
|
o(l, c);
|
|
9006
9006
|
let v;
|
|
9007
|
-
n.preserveCursor !== !0 && n.preservecursor !== !0 && (v = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), c === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), Ao(), r.styleCleanup = (
|
|
9007
|
+
n.preserveCursor !== !0 && n.preservecursor !== !0 && (v = document.documentElement.style.cursor || "", document.documentElement.style.cursor = "grabbing"), c === !0 && document.body.classList.add("no-pointer-events--children"), document.body.classList.add("non-selectable"), Ao(), r.styleCleanup = (p) => {
|
|
9008
9008
|
if (r.styleCleanup = void 0, v !== void 0 && (document.documentElement.style.cursor = v), document.body.classList.remove("non-selectable"), c === !0) {
|
|
9009
|
-
const
|
|
9009
|
+
const y = () => {
|
|
9010
9010
|
document.body.classList.remove("no-pointer-events--children");
|
|
9011
9011
|
};
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
}, 50) :
|
|
9015
|
-
} else
|
|
9012
|
+
p !== void 0 ? setTimeout(() => {
|
|
9013
|
+
y(), p();
|
|
9014
|
+
}, 50) : y();
|
|
9015
|
+
} else p !== void 0 && p();
|
|
9016
9016
|
};
|
|
9017
9017
|
};
|
|
9018
9018
|
if (r.event.detected === !0) {
|
|
9019
9019
|
r.event.isFirst !== !0 && o(l, r.event.mouse);
|
|
9020
|
-
const { payload: v, synthetic:
|
|
9021
|
-
v !== void 0 && (r.handler(v) === !1 ? r.end(l) : (r.styleCleanup === void 0 && r.event.isFirst === !0 && s(), r.event.lastX = v.position.left, r.event.lastY = v.position.top, r.event.lastDir =
|
|
9020
|
+
const { payload: v, synthetic: p } = Mr(l, r, !1);
|
|
9021
|
+
v !== void 0 && (r.handler(v) === !1 ? r.end(l) : (r.styleCleanup === void 0 && r.event.isFirst === !0 && s(), r.event.lastX = v.position.left, r.event.lastY = v.position.top, r.event.lastDir = p === !0 ? void 0 : v.direction, r.event.isFirst = !1));
|
|
9022
9022
|
return;
|
|
9023
9023
|
}
|
|
9024
9024
|
if (r.direction.all === !0 || c === !0 && (r.modifiers.mouseAllDir === !0 || r.modifiers.mousealldir === !0)) {
|
|
@@ -9116,17 +9116,17 @@ const Jn = ul(
|
|
|
9116
9116
|
if (s === mt)
|
|
9117
9117
|
return console.error("QDrawer needs to be child of QLayout"), mt;
|
|
9118
9118
|
let d, h = null, v;
|
|
9119
|
-
const
|
|
9119
|
+
const p = P(
|
|
9120
9120
|
e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint
|
|
9121
|
-
),
|
|
9122
|
-
() => e.mini === !0 &&
|
|
9123
|
-
), m = f(() =>
|
|
9124
|
-
e.showIfAbove === !0 &&
|
|
9121
|
+
), y = f(
|
|
9122
|
+
() => e.mini === !0 && p.value !== !0
|
|
9123
|
+
), m = f(() => y.value === !0 ? e.miniWidth : e.width), C = P(
|
|
9124
|
+
e.showIfAbove === !0 && p.value === !1 ? !0 : e.modelValue === !0
|
|
9125
9125
|
), S = f(
|
|
9126
|
-
() => e.persistent !== !0 && (
|
|
9126
|
+
() => e.persistent !== !0 && (p.value === !0 || N.value === !0)
|
|
9127
9127
|
);
|
|
9128
9128
|
function x(W, me) {
|
|
9129
|
-
if (W !== !1 && s.animate(), ke(0),
|
|
9129
|
+
if (W !== !1 && s.animate(), ke(0), p.value === !0) {
|
|
9130
9130
|
const Ee = s.instances[M.value];
|
|
9131
9131
|
(Ee == null ? void 0 : Ee.belowBreakpoint) === !0 && Ee.hide(!1), $e(1), s.isContainer.value !== !0 && i(!0);
|
|
9132
9132
|
} else
|
|
@@ -9148,19 +9148,19 @@ const Jn = ul(
|
|
|
9148
9148
|
});
|
|
9149
9149
|
Hi(C);
|
|
9150
9150
|
const F = {
|
|
9151
|
-
belowBreakpoint:
|
|
9151
|
+
belowBreakpoint: p,
|
|
9152
9152
|
hide: D
|
|
9153
9153
|
}, Q = f(() => e.side === "right"), E = f(
|
|
9154
9154
|
() => (l.lang.rtl === !0 ? -1 : 1) * (Q.value === !0 ? 1 : -1)
|
|
9155
9155
|
), V = P(0), z = P(!1), L = P(!1), J = P(
|
|
9156
9156
|
// starting with "hidden" for SSR
|
|
9157
9157
|
m.value * E.value
|
|
9158
|
-
), M = f(() => Q.value === !0 ? "left" : "right"), O = f(() => C.value === !0 &&
|
|
9158
|
+
), M = f(() => Q.value === !0 ? "left" : "right"), O = f(() => C.value === !0 && p.value === !1 && e.overlay === !1 ? e.miniToOverlay === !0 ? e.miniWidth : m.value : 0), H = f(
|
|
9159
9159
|
() => e.overlay === !0 || e.miniToOverlay === !0 || s.view.value.indexOf(Q.value ? "R" : "L") !== -1 || l.platform.is.ios === !0 && s.isContainer.value === !0
|
|
9160
9160
|
), j = f(
|
|
9161
|
-
() => e.overlay === !1 && C.value === !0 &&
|
|
9161
|
+
() => e.overlay === !1 && C.value === !0 && p.value === !1
|
|
9162
9162
|
), N = f(
|
|
9163
|
-
() => e.overlay === !0 && C.value === !0 &&
|
|
9163
|
+
() => e.overlay === !0 && C.value === !0 && p.value === !1
|
|
9164
9164
|
), G = f(
|
|
9165
9165
|
() => "fullscreen q-drawer__backdrop" + (C.value === !1 && z.value === !1 ? " hidden" : "")
|
|
9166
9166
|
), ce = f(() => ({
|
|
@@ -9173,11 +9173,11 @@ const Jn = ul(
|
|
|
9173
9173
|
width: `${m.value}px`,
|
|
9174
9174
|
transform: `translateX(${J.value}px)`
|
|
9175
9175
|
};
|
|
9176
|
-
return
|
|
9176
|
+
return p.value === !0 ? W : Object.assign(W, Z.value);
|
|
9177
9177
|
}), ae = f(
|
|
9178
9178
|
() => "q-drawer__content fit " + (s.isContainer.value !== !0 ? "scroll" : "overflow-auto")
|
|
9179
9179
|
), re = f(
|
|
9180
|
-
() => `q-drawer q-drawer--${e.side}` + (L.value === !0 ? " q-drawer--mini-animate" : "") + (e.bordered === !0 ? " q-drawer--bordered" : "") + (a.value === !0 ? " q-drawer--dark q-dark" : "") + (z.value === !0 ? " no-transition" : C.value === !0 ? "" : " q-layout--prevent-focus") + (
|
|
9180
|
+
() => `q-drawer q-drawer--${e.side}` + (L.value === !0 ? " q-drawer--mini-animate" : "") + (e.bordered === !0 ? " q-drawer--bordered" : "") + (a.value === !0 ? " q-drawer--dark q-dark" : "") + (z.value === !0 ? " no-transition" : C.value === !0 ? "" : " q-layout--prevent-focus") + (p.value === !0 ? " fixed q-drawer--on-top q-drawer--mobile q-drawer--top-padding" : ` q-drawer--${y.value === !0 ? "mini" : "standard"}` + (H.value === !0 || j.value !== !0 ? " fixed" : "") + (e.overlay === !0 || e.miniToOverlay === !0 ? " q-drawer--on-top" : "") + (B.value === !0 ? " q-drawer--top-padding" : ""))
|
|
9181
9181
|
), ue = f(() => {
|
|
9182
9182
|
const W = l.lang.rtl === !0 ? e.side : M.value;
|
|
9183
9183
|
return [[
|
|
@@ -9214,9 +9214,9 @@ const Jn = ul(
|
|
|
9214
9214
|
]];
|
|
9215
9215
|
});
|
|
9216
9216
|
function Re() {
|
|
9217
|
-
jt(
|
|
9217
|
+
jt(p, e.behavior === "mobile" || e.behavior !== "desktop" && s.totalWidth.value <= e.breakpoint);
|
|
9218
9218
|
}
|
|
9219
|
-
K(
|
|
9219
|
+
K(p, (W) => {
|
|
9220
9220
|
W === !0 ? (d = C.value, C.value === !0 && D(!1)) : e.overlay === !1 && e.behavior !== "mobile" && d !== !1 && (C.value === !0 ? (ke(0), $e(0), Ie()) : q(!1));
|
|
9221
9221
|
}), K(() => e.side, (W, me) => {
|
|
9222
9222
|
s.instances[me] === F && (s.instances[me] = void 0, s[me].space = !1, s[me].offset = 0), s.instances[W] = F, s[W].size = m.value, s[W].space = j.value, s[W].offset = O.value;
|
|
@@ -9243,13 +9243,13 @@ const Jn = ul(
|
|
|
9243
9243
|
ke();
|
|
9244
9244
|
}), K(() => e.mini, () => {
|
|
9245
9245
|
e.noMiniAnimation || e.modelValue === !0 && (ft(), s.animate());
|
|
9246
|
-
}), K(
|
|
9246
|
+
}), K(y, (W) => {
|
|
9247
9247
|
n("miniState", W);
|
|
9248
9248
|
});
|
|
9249
9249
|
function ke(W) {
|
|
9250
9250
|
W === void 0 ? Le(() => {
|
|
9251
9251
|
W = C.value === !0 ? 0 : m.value, ke(E.value * W);
|
|
9252
|
-
}) : (s.isContainer.value === !0 && Q.value === !0 && (
|
|
9252
|
+
}) : (s.isContainer.value === !0 && Q.value === !0 && (p.value === !0 || Math.abs(W) === m.value) && (W += E.value * s.scrollbarWidth.value), J.value = W);
|
|
9253
9253
|
}
|
|
9254
9254
|
function $e(W) {
|
|
9255
9255
|
V.value = W;
|
|
@@ -9301,7 +9301,7 @@ const Jn = ul(
|
|
|
9301
9301
|
tt("size", W === !0 ? e.miniWidth : me);
|
|
9302
9302
|
}
|
|
9303
9303
|
return s.instances[e.side] = F, _t(e.miniToOverlay, m.value), tt("space", j.value), tt("offset", O.value), e.showIfAbove === !0 && e.modelValue !== !0 && C.value === !0 && e["onUpdate:modelValue"] !== void 0 && n("update:modelValue", !0), ut(() => {
|
|
9304
|
-
n("onLayout", j.value), n("miniState",
|
|
9304
|
+
n("onLayout", j.value), n("miniState", y.value), d = e.showIfAbove === !0;
|
|
9305
9305
|
const W = () => {
|
|
9306
9306
|
(C.value === !0 ? x : w)(!1, !0);
|
|
9307
9307
|
};
|
|
@@ -9310,15 +9310,15 @@ const Jn = ul(
|
|
|
9310
9310
|
return;
|
|
9311
9311
|
}
|
|
9312
9312
|
v = K(s.totalWidth, () => {
|
|
9313
|
-
v(), v = void 0, C.value === !1 && e.showIfAbove === !0 &&
|
|
9313
|
+
v(), v = void 0, C.value === !1 && e.showIfAbove === !0 && p.value === !1 ? q(!1) : W();
|
|
9314
9314
|
});
|
|
9315
9315
|
}), Pe(() => {
|
|
9316
9316
|
v == null || v(), h !== null && (clearTimeout(h), h = null), C.value === !0 && Ie(), s.instances[e.side] === F && (s.instances[e.side] = void 0, tt("size", 0), tt("offset", 0), tt("space", !1));
|
|
9317
9317
|
}), () => {
|
|
9318
9318
|
const W = [];
|
|
9319
|
-
|
|
9319
|
+
p.value === !0 && (e.noSwipeOpen === !1 && W.push(
|
|
9320
9320
|
Rt(
|
|
9321
|
-
|
|
9321
|
+
g("div", {
|
|
9322
9322
|
key: "open",
|
|
9323
9323
|
class: `q-drawer__opener fixed-${e.side}`,
|
|
9324
9324
|
"aria-hidden": "true"
|
|
@@ -9341,8 +9341,8 @@ const Jn = ul(
|
|
|
9341
9341
|
() => Y.value
|
|
9342
9342
|
)
|
|
9343
9343
|
));
|
|
9344
|
-
const me =
|
|
9345
|
-
|
|
9344
|
+
const me = y.value === !0 && t.mini !== void 0, Ee = [
|
|
9345
|
+
g(
|
|
9346
9346
|
"div",
|
|
9347
9347
|
{
|
|
9348
9348
|
...o,
|
|
@@ -9357,7 +9357,7 @@ const Jn = ul(
|
|
|
9357
9357
|
)
|
|
9358
9358
|
];
|
|
9359
9359
|
return e.elevated === !0 && C.value === !0 && Ee.push(
|
|
9360
|
-
|
|
9360
|
+
g("div", {
|
|
9361
9361
|
class: "q-layout__shadow absolute-full overflow-hidden no-pointer-events"
|
|
9362
9362
|
})
|
|
9363
9363
|
), W.push(
|
|
@@ -9366,10 +9366,10 @@ const Jn = ul(
|
|
|
9366
9366
|
{ ref: "content", class: re.value, style: ee.value },
|
|
9367
9367
|
Ee,
|
|
9368
9368
|
"contentclose",
|
|
9369
|
-
e.noSwipeClose !== !0 &&
|
|
9369
|
+
e.noSwipeClose !== !0 && p.value === !0,
|
|
9370
9370
|
() => Me.value
|
|
9371
9371
|
)
|
|
9372
|
-
),
|
|
9372
|
+
), g("div", { class: "q-drawer-container" }, W);
|
|
9373
9373
|
};
|
|
9374
9374
|
}
|
|
9375
9375
|
}), M0 = be({
|
|
@@ -9387,35 +9387,35 @@ const Jn = ul(
|
|
|
9387
9387
|
function s() {
|
|
9388
9388
|
r == null || r(), r = null, o = !1, a !== null && (clearTimeout(a), a = null), i !== null && (clearTimeout(i), i = null), l == null || l.removeEventListener("transitionend", u), u = null;
|
|
9389
9389
|
}
|
|
9390
|
-
function d(
|
|
9391
|
-
m !== void 0 && (
|
|
9390
|
+
function d(y, m, C) {
|
|
9391
|
+
m !== void 0 && (y.style.height = `${m}px`), y.style.transition = `height ${e.duration}ms cubic-bezier(.25, .8, .50, 1)`, o = !0, r = C;
|
|
9392
9392
|
}
|
|
9393
|
-
function h(
|
|
9394
|
-
|
|
9393
|
+
function h(y, m) {
|
|
9394
|
+
y.style.overflowY = null, y.style.height = null, y.style.transition = null, s(), m !== c && n(m);
|
|
9395
9395
|
}
|
|
9396
|
-
function v(
|
|
9396
|
+
function v(y, m) {
|
|
9397
9397
|
let C = 0;
|
|
9398
|
-
l =
|
|
9399
|
-
a = null,
|
|
9400
|
-
i = null, (Object(S) !== S || S.target ===
|
|
9401
|
-
},
|
|
9398
|
+
l = y, o === !0 ? (s(), C = y.offsetHeight === y.scrollHeight ? 0 : void 0) : (c = "hide", y.style.overflowY = "hidden"), d(y, C, m), a = setTimeout(() => {
|
|
9399
|
+
a = null, y.style.height = `${y.scrollHeight}px`, u = (S) => {
|
|
9400
|
+
i = null, (Object(S) !== S || S.target === y) && h(y, "show");
|
|
9401
|
+
}, y.addEventListener("transitionend", u), i = setTimeout(u, e.duration * 1.1);
|
|
9402
9402
|
}, 100);
|
|
9403
9403
|
}
|
|
9404
|
-
function
|
|
9404
|
+
function p(y, m) {
|
|
9405
9405
|
let C;
|
|
9406
|
-
l =
|
|
9407
|
-
a = null,
|
|
9408
|
-
i = null, (Object(S) !== S || S.target ===
|
|
9409
|
-
},
|
|
9406
|
+
l = y, o === !0 ? s() : (c = "show", y.style.overflowY = "hidden", C = y.scrollHeight), d(y, C, m), a = setTimeout(() => {
|
|
9407
|
+
a = null, y.style.height = 0, u = (S) => {
|
|
9408
|
+
i = null, (Object(S) !== S || S.target === y) && h(y, "hide");
|
|
9409
|
+
}, y.addEventListener("transitionend", u), i = setTimeout(u, e.duration * 1.1);
|
|
9410
9410
|
}, 100);
|
|
9411
9411
|
}
|
|
9412
9412
|
return Pe(() => {
|
|
9413
9413
|
o === !0 && s();
|
|
9414
|
-
}), () =>
|
|
9414
|
+
}), () => g($t, {
|
|
9415
9415
|
css: !1,
|
|
9416
9416
|
appear: e.appear,
|
|
9417
9417
|
onEnter: v,
|
|
9418
|
-
onLeave:
|
|
9418
|
+
onLeave: p
|
|
9419
9419
|
}, t.default);
|
|
9420
9420
|
}
|
|
9421
9421
|
}), un = Qs({}), $0 = Object.keys(_l), B0 = be({
|
|
@@ -9461,9 +9461,9 @@ const Jn = ul(
|
|
|
9461
9461
|
let d, h;
|
|
9462
9462
|
const v = f(
|
|
9463
9463
|
() => `q-expansion-item q-item-type q-expansion-item--${l.value === !0 ? "expanded" : "collapsed"} q-expansion-item--${e.popup === !0 ? "popup" : "standard"}`
|
|
9464
|
-
),
|
|
9464
|
+
), p = f(() => e.contentInsetLevel === void 0 ? null : {
|
|
9465
9465
|
["padding" + (o.lang.rtl === !0 ? "Right" : "Left")]: e.contentInsetLevel * 56 + "px"
|
|
9466
|
-
}),
|
|
9466
|
+
}), y = f(
|
|
9467
9467
|
() => e.disable !== !0 && (e.href !== void 0 || e.to !== void 0 && e.to !== null && e.to !== "")
|
|
9468
9468
|
), m = f(() => {
|
|
9469
9469
|
const j = {};
|
|
@@ -9471,9 +9471,9 @@ const Jn = ul(
|
|
|
9471
9471
|
j[N] = e[N];
|
|
9472
9472
|
}), j;
|
|
9473
9473
|
}), C = f(
|
|
9474
|
-
() =>
|
|
9474
|
+
() => y.value === !0 || e.expandIconToggle !== !0
|
|
9475
9475
|
), S = f(() => e.expandedIcon !== void 0 && l.value === !0 ? e.expandedIcon : e.expandIcon || o.iconSet.expansionItem[e.denseToggle === !0 ? "denseIcon" : "icon"]), x = f(
|
|
9476
|
-
() => e.disable !== !0 && (
|
|
9476
|
+
() => e.disable !== !0 && (y.value === !0 || e.expandIconToggle === !0)
|
|
9477
9477
|
), w = f(() => ({
|
|
9478
9478
|
expanded: l.value === !0,
|
|
9479
9479
|
detailsId: i.value,
|
|
@@ -9493,7 +9493,7 @@ const Jn = ul(
|
|
|
9493
9493
|
h == null || h(), j !== void 0 && z();
|
|
9494
9494
|
});
|
|
9495
9495
|
function D(j) {
|
|
9496
|
-
|
|
9496
|
+
y.value !== !0 && s(j), n("click", j);
|
|
9497
9497
|
}
|
|
9498
9498
|
function F(j) {
|
|
9499
9499
|
j.keyCode === 13 && Q(j, !0);
|
|
@@ -9531,7 +9531,7 @@ const Jn = ul(
|
|
|
9531
9531
|
side: e.switchToggleSide !== !0,
|
|
9532
9532
|
avatar: e.switchToggleSide
|
|
9533
9533
|
}, N = [
|
|
9534
|
-
|
|
9534
|
+
g(Ye, {
|
|
9535
9535
|
class: "q-expansion-item__toggle-icon" + (e.expandedIcon === void 0 && l.value === !0 ? " q-expansion-item__toggle-icon--rotated" : ""),
|
|
9536
9536
|
name: S.value
|
|
9537
9537
|
})
|
|
@@ -9542,25 +9542,25 @@ const Jn = ul(
|
|
|
9542
9542
|
onClick: Q,
|
|
9543
9543
|
onKeyup: F
|
|
9544
9544
|
}), N.unshift(
|
|
9545
|
-
|
|
9545
|
+
g("div", {
|
|
9546
9546
|
ref: a,
|
|
9547
9547
|
class: "q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",
|
|
9548
9548
|
tabindex: -1
|
|
9549
9549
|
})
|
|
9550
|
-
)),
|
|
9550
|
+
)), g(it, j, () => N);
|
|
9551
9551
|
}
|
|
9552
9552
|
function J() {
|
|
9553
9553
|
let j;
|
|
9554
9554
|
return t.header !== void 0 ? j = [].concat(t.header(w.value)) : (j = [
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
e.caption ?
|
|
9555
|
+
g(it, () => [
|
|
9556
|
+
g(Gr, { lines: e.labelLines }, () => e.label || ""),
|
|
9557
|
+
e.caption ? g(Gr, { lines: e.captionLines, caption: !0 }, () => e.caption) : null
|
|
9558
9558
|
])
|
|
9559
9559
|
], e.icon && j[e.switchToggleSide === !0 ? "push" : "unshift"](
|
|
9560
|
-
|
|
9560
|
+
g(it, {
|
|
9561
9561
|
side: e.switchToggleSide === !0,
|
|
9562
9562
|
avatar: e.switchToggleSide !== !0
|
|
9563
|
-
}, () =>
|
|
9563
|
+
}, () => g(Ye, { name: e.icon }))
|
|
9564
9564
|
)), e.disable !== !0 && e.hideExpandIcon !== !0 && j[e.switchToggleSide === !0 ? "unshift" : "push"](
|
|
9565
9565
|
L()
|
|
9566
9566
|
), j;
|
|
@@ -9577,15 +9577,15 @@ const Jn = ul(
|
|
|
9577
9577
|
};
|
|
9578
9578
|
return C.value === !0 && (j.clickable = !0, j.onClick = D, Object.assign(
|
|
9579
9579
|
j,
|
|
9580
|
-
|
|
9581
|
-
)),
|
|
9580
|
+
y.value === !0 ? m.value : q.value
|
|
9581
|
+
)), g(Ft, j, J);
|
|
9582
9582
|
}
|
|
9583
9583
|
function O() {
|
|
9584
9584
|
return Rt(
|
|
9585
|
-
|
|
9585
|
+
g("div", {
|
|
9586
9586
|
key: "e-content",
|
|
9587
9587
|
class: "q-expansion-item__content relative-position",
|
|
9588
|
-
style:
|
|
9588
|
+
style: p.value,
|
|
9589
9589
|
id: i.value
|
|
9590
9590
|
}, Te(t.default)),
|
|
9591
9591
|
[[
|
|
@@ -9597,18 +9597,18 @@ const Jn = ul(
|
|
|
9597
9597
|
function H() {
|
|
9598
9598
|
const j = [
|
|
9599
9599
|
M(),
|
|
9600
|
-
|
|
9600
|
+
g(M0, {
|
|
9601
9601
|
duration: e.duration,
|
|
9602
9602
|
onShow: E,
|
|
9603
9603
|
onHide: V
|
|
9604
9604
|
}, O)
|
|
9605
9605
|
];
|
|
9606
9606
|
return e.expandSeparator === !0 && j.push(
|
|
9607
|
-
|
|
9607
|
+
g(No, {
|
|
9608
9608
|
class: "q-expansion-item__border q-expansion-item__border--top absolute-top",
|
|
9609
9609
|
dark: r.value
|
|
9610
9610
|
}),
|
|
9611
|
-
|
|
9611
|
+
g(No, {
|
|
9612
9612
|
class: "q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",
|
|
9613
9613
|
dark: r.value
|
|
9614
9614
|
})
|
|
@@ -9616,8 +9616,8 @@ const Jn = ul(
|
|
|
9616
9616
|
}
|
|
9617
9617
|
return e.group !== void 0 && z(), Pe(() => {
|
|
9618
9618
|
h == null || h();
|
|
9619
|
-
}), () =>
|
|
9620
|
-
|
|
9619
|
+
}), () => g("div", { class: v.value }, [
|
|
9620
|
+
g("div", { class: "q-expansion-item__container relative-position" }, H())
|
|
9621
9621
|
]);
|
|
9622
9622
|
}
|
|
9623
9623
|
}), L0 = /* @__PURE__ */ Qe({
|
|
@@ -9783,8 +9783,8 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9783
9783
|
emits: ["logout"],
|
|
9784
9784
|
setup(e, { emit: t }) {
|
|
9785
9785
|
const n = t, o = F0(), r = P(!0), l = P(!0), a = P(!1), i = f(() => o.screen.lt.lg), u = f(() => l.value ? "menu" : "close"), c = f(() => i.value ? 250 : 275), s = f(() => i.value ? 47 : 72);
|
|
9786
|
-
function d(
|
|
9787
|
-
!a.value && !i.value && (l.value =
|
|
9786
|
+
function d(p) {
|
|
9787
|
+
!a.value && !i.value && (l.value = p);
|
|
9788
9788
|
}
|
|
9789
9789
|
function h() {
|
|
9790
9790
|
a.value = !a.value, l.value = !l.value;
|
|
@@ -9794,27 +9794,27 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9794
9794
|
}
|
|
9795
9795
|
return K(
|
|
9796
9796
|
() => i.value,
|
|
9797
|
-
(
|
|
9798
|
-
a.value =
|
|
9797
|
+
(p) => {
|
|
9798
|
+
a.value = p;
|
|
9799
9799
|
}
|
|
9800
|
-
), (
|
|
9800
|
+
), (p, y) => (I(), pe(q0, {
|
|
9801
9801
|
key: `${r.value}`,
|
|
9802
9802
|
modelValue: r.value,
|
|
9803
|
-
"onUpdate:modelValue":
|
|
9804
|
-
class: Ce(
|
|
9803
|
+
"onUpdate:modelValue": y[3] || (y[3] = (m) => r.value = m),
|
|
9804
|
+
class: Ce(p.$style.drawer),
|
|
9805
9805
|
mini: l.value,
|
|
9806
9806
|
overlay: !a.value,
|
|
9807
9807
|
width: c.value,
|
|
9808
9808
|
"mini-width": s.value,
|
|
9809
9809
|
breakpoint: 960,
|
|
9810
9810
|
"show-if-above": "",
|
|
9811
|
-
onMouseover:
|
|
9812
|
-
onMouseout:
|
|
9811
|
+
onMouseover: y[4] || (y[4] = (m) => d(!1)),
|
|
9812
|
+
onMouseout: y[5] || (y[5] = (m) => d(!0))
|
|
9813
9813
|
}, {
|
|
9814
9814
|
default: le(() => [
|
|
9815
9815
|
i.value ? (I(), pe(Ft, {
|
|
9816
9816
|
key: 0,
|
|
9817
|
-
class: Ce(
|
|
9817
|
+
class: Ce(p.$style["tablet-logo"])
|
|
9818
9818
|
}, {
|
|
9819
9819
|
default: le(() => [
|
|
9820
9820
|
ve(it, { avatar: "" }, {
|
|
@@ -9822,17 +9822,17 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9822
9822
|
ve(Ve, {
|
|
9823
9823
|
round: "",
|
|
9824
9824
|
unelevated: "",
|
|
9825
|
-
class: Ce(
|
|
9825
|
+
class: Ce(p.$style["tablet-logo__btn"]),
|
|
9826
9826
|
icon: u.value,
|
|
9827
|
-
onClick:
|
|
9827
|
+
onClick: y[0] || (y[0] = (m) => h())
|
|
9828
9828
|
}, null, 8, ["class", "icon"])
|
|
9829
9829
|
]),
|
|
9830
9830
|
_: 1
|
|
9831
9831
|
}),
|
|
9832
9832
|
ve(it, {
|
|
9833
|
-
class: Ce(
|
|
9833
|
+
class: Ce(p.$style.logo__text)
|
|
9834
9834
|
}, {
|
|
9835
|
-
default: le(() =>
|
|
9835
|
+
default: le(() => y[6] || (y[6] = [
|
|
9836
9836
|
ot("РИТМ")
|
|
9837
9837
|
])),
|
|
9838
9838
|
_: 1
|
|
@@ -9841,7 +9841,7 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9841
9841
|
_: 1
|
|
9842
9842
|
}, 8, ["class"])) : (I(), de(en, { key: 1 }, [
|
|
9843
9843
|
ve(Ft, {
|
|
9844
|
-
class: Ce(
|
|
9844
|
+
class: Ce(p.$style.logo)
|
|
9845
9845
|
}, {
|
|
9846
9846
|
default: le(() => [
|
|
9847
9847
|
ve(it, { avatar: "" }, {
|
|
@@ -9851,9 +9851,9 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9851
9851
|
_: 1
|
|
9852
9852
|
}),
|
|
9853
9853
|
ve(it, {
|
|
9854
|
-
class: Ce(
|
|
9854
|
+
class: Ce(p.$style.logo__text)
|
|
9855
9855
|
}, {
|
|
9856
|
-
default: le(() =>
|
|
9856
|
+
default: le(() => y[7] || (y[7] = [
|
|
9857
9857
|
ot("РИТМ")
|
|
9858
9858
|
])),
|
|
9859
9859
|
_: 1
|
|
@@ -9865,13 +9865,13 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9865
9865
|
dense: "",
|
|
9866
9866
|
round: "",
|
|
9867
9867
|
unelevated: "",
|
|
9868
|
-
class: Ce(["q-mini-drawer-hide",
|
|
9868
|
+
class: Ce(["q-mini-drawer-hide", p.$style["minify-btn"]]),
|
|
9869
9869
|
icon: "chevron_left",
|
|
9870
|
-
onClick:
|
|
9870
|
+
onClick: y[1] || (y[1] = (m) => a.value = !a.value)
|
|
9871
9871
|
}, {
|
|
9872
9872
|
default: le(() => [
|
|
9873
9873
|
ve(jo, null, {
|
|
9874
|
-
default: le(() =>
|
|
9874
|
+
default: le(() => y[8] || (y[8] = [
|
|
9875
9875
|
ot("Закрепить сайдбар")
|
|
9876
9876
|
])),
|
|
9877
9877
|
_: 1
|
|
@@ -9881,15 +9881,15 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9881
9881
|
}, 8, ["class"])
|
|
9882
9882
|
], 64)),
|
|
9883
9883
|
ve(D0, {
|
|
9884
|
-
main:
|
|
9885
|
-
"menu-items":
|
|
9884
|
+
main: p.main,
|
|
9885
|
+
"menu-items": p.menuItems,
|
|
9886
9886
|
minify: l.value,
|
|
9887
|
-
"is-route-active":
|
|
9887
|
+
"is-route-active": p.isRouteActive
|
|
9888
9888
|
}, null, 8, ["main", "menu-items", "minify", "is-route-active"]),
|
|
9889
9889
|
Rt((I(), pe(Ft, {
|
|
9890
|
-
class: Ce(
|
|
9890
|
+
class: Ce(p.$style["menu-exit"]),
|
|
9891
9891
|
clickable: "",
|
|
9892
|
-
onClick:
|
|
9892
|
+
onClick: y[2] || (y[2] = (m) => v())
|
|
9893
9893
|
}, {
|
|
9894
9894
|
default: le(() => [
|
|
9895
9895
|
ve(it, { avatar: "" }, {
|
|
@@ -9903,9 +9903,9 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9903
9903
|
_: 1
|
|
9904
9904
|
}),
|
|
9905
9905
|
ve(it, {
|
|
9906
|
-
class: Ce(
|
|
9906
|
+
class: Ce(p.$style["menu-exit__label"])
|
|
9907
9907
|
}, {
|
|
9908
|
-
default: le(() =>
|
|
9908
|
+
default: le(() => y[9] || (y[9] = [
|
|
9909
9909
|
ot("Выход")
|
|
9910
9910
|
])),
|
|
9911
9911
|
_: 1
|
|
@@ -9944,14 +9944,14 @@ const j0 = /* @__PURE__ */ Qe({
|
|
|
9944
9944
|
() => (n.value === !0 ? e.checkedIcon : o.value === !0 ? e.indeterminateIcon : e.uncheckedIcon) || e.icon
|
|
9945
9945
|
), l = f(() => n.value === !0 ? e.iconColor : null);
|
|
9946
9946
|
return () => [
|
|
9947
|
-
|
|
9948
|
-
|
|
9947
|
+
g("div", { class: "q-toggle__track" }),
|
|
9948
|
+
g(
|
|
9949
9949
|
"div",
|
|
9950
9950
|
{
|
|
9951
9951
|
class: "q-toggle__thumb absolute flex flex-center no-wrap"
|
|
9952
9952
|
},
|
|
9953
9953
|
r.value !== void 0 ? [
|
|
9954
|
-
|
|
9954
|
+
g(Ye, {
|
|
9955
9955
|
name: r.value,
|
|
9956
9956
|
color: l.value
|
|
9957
9957
|
})
|
|
@@ -9998,7 +9998,7 @@ const p2 = /* @__PURE__ */ fe(Y0, [["render", Z0], ["__scopeId", "data-v-f769f37
|
|
|
9998
9998
|
const n = f(
|
|
9999
9999
|
() => `q-card__section q-card__section--${e.horizontal === !0 ? "horiz row no-wrap" : "vert"}`
|
|
10000
10000
|
);
|
|
10001
|
-
return () =>
|
|
10001
|
+
return () => g(e.tag, { class: n.value }, Te(t.default));
|
|
10002
10002
|
}
|
|
10003
10003
|
}), K0 = () => !0;
|
|
10004
10004
|
function X0(e) {
|
|
@@ -10152,7 +10152,7 @@ const lv = /* @__PURE__ */ fe(nv, [["render", rv]]), av = /* @__PURE__ */ Qe({
|
|
|
10152
10152
|
const o = ["unelevated", "outline", "flat", "rounded", "square", "push", "stretch", "glossy"].filter((r) => e[r] === !0).map((r) => `q-btn-group--${r}`).join(" ");
|
|
10153
10153
|
return `q-btn-group row no-wrap${o.length !== 0 ? " " + o : ""}` + (e.spread === !0 ? " q-btn-group--spread" : " inline");
|
|
10154
10154
|
});
|
|
10155
|
-
return () =>
|
|
10155
|
+
return () => g("div", { class: n.value }, Te(t.default));
|
|
10156
10156
|
}
|
|
10157
10157
|
}), hv = Object.keys(Cl);
|
|
10158
10158
|
function mv(e) {
|
|
@@ -10218,10 +10218,10 @@ const gv = be({
|
|
|
10218
10218
|
function v(w) {
|
|
10219
10219
|
r.value = !1, n("beforeHide", w);
|
|
10220
10220
|
}
|
|
10221
|
-
function
|
|
10221
|
+
function p(w) {
|
|
10222
10222
|
n("hide", w), n("update:modelValue", !1);
|
|
10223
10223
|
}
|
|
10224
|
-
function
|
|
10224
|
+
function y(w) {
|
|
10225
10225
|
n("click", w);
|
|
10226
10226
|
}
|
|
10227
10227
|
function m(w) {
|
|
@@ -10247,13 +10247,13 @@ const gv = be({
|
|
|
10247
10247
|
e.modelValue === !0 && S();
|
|
10248
10248
|
}), () => {
|
|
10249
10249
|
const w = [
|
|
10250
|
-
|
|
10250
|
+
g(Ye, {
|
|
10251
10251
|
class: u.value,
|
|
10252
10252
|
name: e.dropdownIcon || o.$q.iconSet.arrow.dropdown
|
|
10253
10253
|
})
|
|
10254
10254
|
];
|
|
10255
10255
|
return e.disableDropdown !== !0 && w.push(
|
|
10256
|
-
|
|
10256
|
+
g(vo, {
|
|
10257
10257
|
ref: l,
|
|
10258
10258
|
id: a.value,
|
|
10259
10259
|
class: e.contentClass,
|
|
@@ -10276,20 +10276,20 @@ const gv = be({
|
|
|
10276
10276
|
onBeforeShow: d,
|
|
10277
10277
|
onShow: h,
|
|
10278
10278
|
onBeforeHide: v,
|
|
10279
|
-
onHide:
|
|
10279
|
+
onHide: p
|
|
10280
10280
|
}, t.default)
|
|
10281
|
-
), e.split === !1 ?
|
|
10281
|
+
), e.split === !1 ? g(Ve, {
|
|
10282
10282
|
class: "q-btn-dropdown q-btn-dropdown--simple",
|
|
10283
10283
|
...s.value,
|
|
10284
10284
|
...i.value,
|
|
10285
10285
|
disable: e.disable === !0 || e.disableMainBtn === !0,
|
|
10286
10286
|
noWrap: !0,
|
|
10287
10287
|
round: !1,
|
|
10288
|
-
onClick:
|
|
10288
|
+
onClick: y
|
|
10289
10289
|
}, {
|
|
10290
10290
|
default: () => Te(t.label, []).concat(w),
|
|
10291
10291
|
loading: t.loading
|
|
10292
|
-
}) :
|
|
10292
|
+
}) : g(vv, {
|
|
10293
10293
|
class: "q-btn-dropdown q-btn-dropdown--split no-wrap q-btn-item",
|
|
10294
10294
|
rounded: e.rounded,
|
|
10295
10295
|
square: e.square,
|
|
@@ -10297,7 +10297,7 @@ const gv = be({
|
|
|
10297
10297
|
glossy: e.glossy,
|
|
10298
10298
|
stretch: e.stretch
|
|
10299
10299
|
}, () => [
|
|
10300
|
-
|
|
10300
|
+
g(Ve, {
|
|
10301
10301
|
class: "q-btn-dropdown--current",
|
|
10302
10302
|
...s.value,
|
|
10303
10303
|
disable: e.disable === !0 || e.disableMainBtn === !0,
|
|
@@ -10308,7 +10308,7 @@ const gv = be({
|
|
|
10308
10308
|
default: t.label,
|
|
10309
10309
|
loading: t.loading
|
|
10310
10310
|
}),
|
|
10311
|
-
|
|
10311
|
+
g(Ve, {
|
|
10312
10312
|
class: "q-btn-dropdown__arrow-container q-anchor--skip",
|
|
10313
10313
|
...i.value,
|
|
10314
10314
|
...c.value,
|
|
@@ -10471,7 +10471,7 @@ const gv = be({
|
|
|
10471
10471
|
let l = 0;
|
|
10472
10472
|
const a = [];
|
|
10473
10473
|
function i(v) {
|
|
10474
|
-
const
|
|
10474
|
+
const p = typeof v == "boolean" ? v : e.noErrorFocus !== !0, y = ++l, m = (x, w) => {
|
|
10475
10475
|
n(`validation${x === !0 ? "Success" : "Error"}`, w);
|
|
10476
10476
|
}, C = (x) => {
|
|
10477
10477
|
const w = x.validate();
|
|
@@ -10488,10 +10488,10 @@ const gv = be({
|
|
|
10488
10488
|
Promise.resolve()
|
|
10489
10489
|
).catch((x) => [x])).then((x) => {
|
|
10490
10490
|
if (x === void 0 || x.length === 0)
|
|
10491
|
-
return
|
|
10492
|
-
if (
|
|
10491
|
+
return y === l && m(!0), !0;
|
|
10492
|
+
if (y === l) {
|
|
10493
10493
|
const { comp: w, err: q } = x[0];
|
|
10494
|
-
if (q !== void 0 && console.error(q), m(!1, w),
|
|
10494
|
+
if (q !== void 0 && console.error(q), m(!1, w), p === !0) {
|
|
10495
10495
|
const D = x.find(({ comp: F }) => typeof F.focus == "function" && hl(F.$) === !1);
|
|
10496
10496
|
D !== void 0 && D.comp.focus();
|
|
10497
10497
|
}
|
|
@@ -10506,9 +10506,9 @@ const gv = be({
|
|
|
10506
10506
|
}
|
|
10507
10507
|
function c(v) {
|
|
10508
10508
|
v !== void 0 && je(v);
|
|
10509
|
-
const
|
|
10510
|
-
i().then((
|
|
10511
|
-
|
|
10509
|
+
const p = l + 1;
|
|
10510
|
+
i().then((y) => {
|
|
10511
|
+
p === l && y === !0 && (e.onSubmit !== void 0 ? n("submit", v) : (v == null ? void 0 : v.target) !== void 0 && typeof v.target.submit == "function" && v.target.submit());
|
|
10512
10512
|
});
|
|
10513
10513
|
}
|
|
10514
10514
|
function s(v) {
|
|
@@ -10519,7 +10519,7 @@ const gv = be({
|
|
|
10519
10519
|
function d() {
|
|
10520
10520
|
uo(() => {
|
|
10521
10521
|
if (r.value === null) return;
|
|
10522
|
-
const v = r.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || r.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || r.value.querySelector("[autofocus], [data-autofocus]") || Array.prototype.find.call(r.value.querySelectorAll("[tabindex]"), (
|
|
10522
|
+
const v = r.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || r.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || r.value.querySelector("[autofocus], [data-autofocus]") || Array.prototype.find.call(r.value.querySelectorAll("[tabindex]"), (p) => p.tabIndex !== -1);
|
|
10523
10523
|
v == null || v.focus({ preventScroll: !0 });
|
|
10524
10524
|
});
|
|
10525
10525
|
}
|
|
@@ -10528,8 +10528,8 @@ const gv = be({
|
|
|
10528
10528
|
a.push(v);
|
|
10529
10529
|
},
|
|
10530
10530
|
unbindComponent(v) {
|
|
10531
|
-
const
|
|
10532
|
-
|
|
10531
|
+
const p = a.indexOf(v);
|
|
10532
|
+
p !== -1 && a.splice(p, 1);
|
|
10533
10533
|
}
|
|
10534
10534
|
});
|
|
10535
10535
|
let h = !1;
|
|
@@ -10546,7 +10546,7 @@ const gv = be({
|
|
|
10546
10546
|
reset: s,
|
|
10547
10547
|
focus: d,
|
|
10548
10548
|
getValidationComponents: () => a
|
|
10549
|
-
}), () =>
|
|
10549
|
+
}), () => g("form", {
|
|
10550
10550
|
class: "q-form",
|
|
10551
10551
|
ref: r,
|
|
10552
10552
|
onSubmit: c,
|
|
@@ -10563,7 +10563,7 @@ const gv = be({
|
|
|
10563
10563
|
const n = qi(e), o = f(
|
|
10564
10564
|
() => `q-card__actions ${n.value} q-card__actions--${e.vertical === !0 ? "vert column" : "horiz row"}`
|
|
10565
10565
|
);
|
|
10566
|
-
return () =>
|
|
10566
|
+
return () => g("div", { class: o.value }, Te(t.default));
|
|
10567
10567
|
}
|
|
10568
10568
|
}), Mv = { class: "modal-title" }, $v = { class: "field-label" }, Bv = {
|
|
10569
10569
|
key: 0,
|
|
@@ -10582,20 +10582,20 @@ const gv = be({
|
|
|
10582
10582
|
const n = e, o = t, r = P({}), l = P();
|
|
10583
10583
|
K(
|
|
10584
10584
|
() => n.modelValue,
|
|
10585
|
-
(
|
|
10586
|
-
|
|
10585
|
+
(y) => {
|
|
10586
|
+
y && (r.value = { ...n.initialData ?? {} });
|
|
10587
10587
|
},
|
|
10588
10588
|
{ immediate: !0 }
|
|
10589
10589
|
);
|
|
10590
|
-
function a(
|
|
10591
|
-
return Array.isArray(
|
|
10590
|
+
function a(y, m) {
|
|
10591
|
+
return Array.isArray(y) && Array.isArray(m) ? y.length !== m.length ? !1 : y.every((C, S) => a(C, m[S])) : typeof y == "object" && typeof m == "object" ? JSON.stringify(y) === JSON.stringify(m) : y === m;
|
|
10592
10592
|
}
|
|
10593
|
-
function i(
|
|
10594
|
-
return Array.isArray(
|
|
10593
|
+
function i(y) {
|
|
10594
|
+
return Array.isArray(y) ? y.map((m) => typeof m == "object" && m !== null ? m.value ?? m : m) : typeof y == "object" && y !== null ? y.value ?? y : y;
|
|
10595
10595
|
}
|
|
10596
10596
|
function u() {
|
|
10597
|
-
var
|
|
10598
|
-
(
|
|
10597
|
+
var y;
|
|
10598
|
+
(y = l.value) == null || y.validate().then((m) => {
|
|
10599
10599
|
var S;
|
|
10600
10600
|
if (!m) return;
|
|
10601
10601
|
const C = {};
|
|
@@ -10606,9 +10606,9 @@ const gv = be({
|
|
|
10606
10606
|
o("submit", C);
|
|
10607
10607
|
});
|
|
10608
10608
|
}
|
|
10609
|
-
function c(
|
|
10610
|
-
const m = n.fields.find((C) => C.key ===
|
|
10611
|
-
r.value[
|
|
10609
|
+
function c(y) {
|
|
10610
|
+
const m = n.fields.find((C) => C.key === y);
|
|
10611
|
+
r.value[y] = (m == null ? void 0 : m.type) === "select" ? [] : "", Le(() => {
|
|
10612
10612
|
var C;
|
|
10613
10613
|
(C = l.value) == null || C.validate();
|
|
10614
10614
|
});
|
|
@@ -10623,27 +10623,27 @@ const gv = be({
|
|
|
10623
10623
|
return !a(x, w);
|
|
10624
10624
|
}));
|
|
10625
10625
|
function d() {
|
|
10626
|
-
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(
|
|
10626
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(y) {
|
|
10627
10627
|
const m = Math.random() * 16 | 0;
|
|
10628
|
-
return (
|
|
10628
|
+
return (y === "x" ? m : m & 3 | 8).toString(16);
|
|
10629
10629
|
});
|
|
10630
10630
|
}
|
|
10631
10631
|
function h() {
|
|
10632
10632
|
r.value.uuid = d();
|
|
10633
10633
|
}
|
|
10634
10634
|
const v = P({});
|
|
10635
|
-
function
|
|
10635
|
+
function p(y) {
|
|
10636
10636
|
return (m, C) => {
|
|
10637
10637
|
C(() => {
|
|
10638
|
-
const S = n.fields.find((w) => w.key ===
|
|
10638
|
+
const S = n.fields.find((w) => w.key === y);
|
|
10639
10639
|
if (!(S != null && S.options)) return;
|
|
10640
10640
|
const x = m.toLowerCase();
|
|
10641
|
-
v.value[
|
|
10641
|
+
v.value[y] = S.options.filter((w) => w.label.toLowerCase().includes(x));
|
|
10642
10642
|
});
|
|
10643
10643
|
};
|
|
10644
10644
|
}
|
|
10645
|
-
return (
|
|
10646
|
-
"model-value":
|
|
10645
|
+
return (y, m) => (I(), pe(fo, {
|
|
10646
|
+
"model-value": y.modelValue,
|
|
10647
10647
|
"onUpdate:modelValue": m[2] || (m[2] = (C) => o("update:modelValue", C))
|
|
10648
10648
|
}, {
|
|
10649
10649
|
default: le(() => [
|
|
@@ -10651,7 +10651,7 @@ const gv = be({
|
|
|
10651
10651
|
default: le(() => [
|
|
10652
10652
|
ve(Wo, null, {
|
|
10653
10653
|
default: le(() => [
|
|
10654
|
-
U("div", Mv, ze(
|
|
10654
|
+
U("div", Mv, ze(y.title), 1)
|
|
10655
10655
|
]),
|
|
10656
10656
|
_: 1
|
|
10657
10657
|
}),
|
|
@@ -10663,7 +10663,7 @@ const gv = be({
|
|
|
10663
10663
|
onSubmit: Ro(u, ["prevent"])
|
|
10664
10664
|
}, {
|
|
10665
10665
|
default: le(() => [
|
|
10666
|
-
(I(!0), de(en, null, yn(
|
|
10666
|
+
(I(!0), de(en, null, yn(y.fields, (C) => {
|
|
10667
10667
|
var S;
|
|
10668
10668
|
return I(), de("div", {
|
|
10669
10669
|
key: C.key,
|
|
@@ -10671,27 +10671,27 @@ const gv = be({
|
|
|
10671
10671
|
}, [
|
|
10672
10672
|
U("label", $v, [
|
|
10673
10673
|
ot(ze(C.label) + " ", 1),
|
|
10674
|
-
(S = C.rules) != null && S.length &&
|
|
10674
|
+
(S = C.rules) != null && S.length && y.mode !== "view" ? (I(), de("span", Bv, "*")) : We("", !0)
|
|
10675
10675
|
]),
|
|
10676
10676
|
C.type === "text" ? (I(), pe(mo, {
|
|
10677
10677
|
key: 0,
|
|
10678
10678
|
modelValue: r.value[C.key],
|
|
10679
10679
|
"onUpdate:modelValue": (x) => r.value[C.key] = x,
|
|
10680
10680
|
rules: C.rules,
|
|
10681
|
-
readonly:
|
|
10681
|
+
readonly: y.mode === "view" || C.key === "uuid" && y.mode === "edit",
|
|
10682
10682
|
filled: "",
|
|
10683
10683
|
placeholder: C.placeholder
|
|
10684
10684
|
}, Pn({ _: 2 }, [
|
|
10685
|
-
|
|
10685
|
+
y.mode !== "view" ? {
|
|
10686
10686
|
name: "append",
|
|
10687
10687
|
fn: le(() => [
|
|
10688
|
-
r.value[C.key] && !(C.key === "uuid" &&
|
|
10688
|
+
r.value[C.key] && !(C.key === "uuid" && y.mode === "edit") ? (I(), pe(Ye, {
|
|
10689
10689
|
key: 0,
|
|
10690
10690
|
name: "close",
|
|
10691
10691
|
class: "cursor-pointer clear-input",
|
|
10692
10692
|
onClick: () => c(C.key)
|
|
10693
10693
|
}, null, 8, ["onClick"])) : We("", !0),
|
|
10694
|
-
C.key === "uuid" &&
|
|
10694
|
+
C.key === "uuid" && y.mode === "create" ? (I(), pe(Ve, {
|
|
10695
10695
|
key: 1,
|
|
10696
10696
|
flat: "",
|
|
10697
10697
|
"no-caps": "",
|
|
@@ -10709,8 +10709,8 @@ const gv = be({
|
|
|
10709
10709
|
"onUpdate:modelValue": (x) => r.value[C.key] = x,
|
|
10710
10710
|
options: v.value[C.key] || C.options,
|
|
10711
10711
|
rules: C.rules,
|
|
10712
|
-
readonly:
|
|
10713
|
-
placeholder:
|
|
10712
|
+
readonly: y.mode === "view",
|
|
10713
|
+
placeholder: y.mode === "view" ? "" : C.placeholder,
|
|
10714
10714
|
filled: "",
|
|
10715
10715
|
multiple: "",
|
|
10716
10716
|
"use-input": "",
|
|
@@ -10720,9 +10720,9 @@ const gv = be({
|
|
|
10720
10720
|
"use-chips": "",
|
|
10721
10721
|
"stack-label": "",
|
|
10722
10722
|
"popup-content-class": "custom-select-menu",
|
|
10723
|
-
onFilter: (x, w) =>
|
|
10723
|
+
onFilter: (x, w) => p(C.key)(x, w)
|
|
10724
10724
|
}, Pn({ _: 2 }, [
|
|
10725
|
-
|
|
10725
|
+
y.mode !== "view" ? {
|
|
10726
10726
|
name: "append",
|
|
10727
10727
|
fn: le(() => {
|
|
10728
10728
|
var x;
|
|
@@ -10756,18 +10756,18 @@ const gv = be({
|
|
|
10756
10756
|
}),
|
|
10757
10757
|
ve(qv, { align: "center" }, {
|
|
10758
10758
|
default: le(() => [
|
|
10759
|
-
|
|
10759
|
+
y.mode === "view" ? (I(), pe(Ve, {
|
|
10760
10760
|
key: 0,
|
|
10761
10761
|
class: "remove",
|
|
10762
10762
|
flat: "",
|
|
10763
10763
|
label: "Удалить",
|
|
10764
10764
|
onClick: m[0] || (m[0] = (C) => o("delete"))
|
|
10765
10765
|
})) : We("", !0),
|
|
10766
|
-
|
|
10766
|
+
y.mode !== "view" ? (I(), pe(Ve, {
|
|
10767
10767
|
key: 1,
|
|
10768
10768
|
class: "confirm",
|
|
10769
10769
|
flat: "",
|
|
10770
|
-
label:
|
|
10770
|
+
label: y.mode === "edit" ? "Сохранить" : "Создать",
|
|
10771
10771
|
disable: s.value,
|
|
10772
10772
|
onClick: u
|
|
10773
10773
|
}, null, 8, ["label", "disable"])) : (I(), pe(Ve, {
|
|
@@ -10775,7 +10775,7 @@ const gv = be({
|
|
|
10775
10775
|
class: "confirm",
|
|
10776
10776
|
flat: "",
|
|
10777
10777
|
label: "Редактировать",
|
|
10778
|
-
onClick: m[1] || (m[1] = (C) =>
|
|
10778
|
+
onClick: m[1] || (m[1] = (C) => y.$emit("edit"))
|
|
10779
10779
|
})),
|
|
10780
10780
|
Rt(ve(Ve, {
|
|
10781
10781
|
class: "cancel",
|
|
@@ -10807,25 +10807,25 @@ const gv = be({
|
|
|
10807
10807
|
);
|
|
10808
10808
|
return () => {
|
|
10809
10809
|
if (e.props === void 0)
|
|
10810
|
-
return
|
|
10810
|
+
return g("td", { class: o.value }, Te(t.default));
|
|
10811
10811
|
const r = n.vnode.key, l = (e.props.colsMap !== void 0 ? e.props.colsMap[r] : null) || e.props.col;
|
|
10812
10812
|
if (l === void 0) return;
|
|
10813
10813
|
const { row: a } = e.props;
|
|
10814
|
-
return
|
|
10814
|
+
return g("td", {
|
|
10815
10815
|
class: o.value + l.__tdClass(a),
|
|
10816
10816
|
style: l.__tdStyle(a)
|
|
10817
10817
|
}, Te(t.default));
|
|
10818
10818
|
};
|
|
10819
10819
|
}
|
|
10820
|
-
}), Ev = () =>
|
|
10820
|
+
}), Ev = () => g("svg", {
|
|
10821
10821
|
key: "svg",
|
|
10822
10822
|
class: "q-radio__bg absolute non-selectable",
|
|
10823
10823
|
viewBox: "0 0 24 24"
|
|
10824
10824
|
}, [
|
|
10825
|
-
|
|
10825
|
+
g("path", {
|
|
10826
10826
|
d: "M12,22a10,10 0 0 1 -10,-10a10,10 0 0 1 10,-10a10,10 0 0 1 10,10a10,10 0 0 1 -10,10m0,-22a12,12 0 0 0 -12,12a12,12 0 0 0 12,12a12,12 0 0 0 12,-12a12,12 0 0 0 -12,-12"
|
|
10827
10827
|
}),
|
|
10828
|
-
|
|
10828
|
+
g("path", {
|
|
10829
10829
|
class: "q-radio__check",
|
|
10830
10830
|
d: "M12,6a6,6 0 0 0 -6,6a6,6 0 0 0 6,6a6,6 0 0 0 6,-6a6,6 0 0 0 -6,-6"
|
|
10831
10831
|
})
|
|
@@ -10856,7 +10856,7 @@ const gv = be({
|
|
|
10856
10856
|
return `q-radio__inner relative-position q-radio__inner--${c.value === !0 ? "truthy" : "falsy"}${w}`;
|
|
10857
10857
|
}), h = f(
|
|
10858
10858
|
() => (c.value === !0 ? e.checkedIcon : e.uncheckedIcon) || null
|
|
10859
|
-
), v = f(() => e.disable === !0 ? -1 : e.tabindex || 0),
|
|
10859
|
+
), v = f(() => e.disable === !0 ? -1 : e.tabindex || 0), p = f(() => {
|
|
10860
10860
|
const w = { type: "radio" };
|
|
10861
10861
|
return e.name !== void 0 && Object.assign(w, {
|
|
10862
10862
|
// see https://vuejs.org/guide/extras/render-function.html#creating-vnodes (.prop)
|
|
@@ -10865,7 +10865,7 @@ const gv = be({
|
|
|
10865
10865
|
name: e.name,
|
|
10866
10866
|
value: e.val
|
|
10867
10867
|
}), w;
|
|
10868
|
-
}),
|
|
10868
|
+
}), y = Sl(p);
|
|
10869
10869
|
function m(w) {
|
|
10870
10870
|
w !== void 0 && (je(w), u(w)), e.disable !== !0 && c.value !== !0 && n("update:modelValue", e.val, w);
|
|
10871
10871
|
}
|
|
@@ -10879,23 +10879,23 @@ const gv = be({
|
|
|
10879
10879
|
const x = Ev();
|
|
10880
10880
|
return () => {
|
|
10881
10881
|
const w = h.value !== null ? [
|
|
10882
|
-
|
|
10882
|
+
g("div", {
|
|
10883
10883
|
key: "icon",
|
|
10884
10884
|
class: "q-radio__icon-container absolute-full flex flex-center no-wrap"
|
|
10885
10885
|
}, [
|
|
10886
|
-
|
|
10886
|
+
g(Ye, {
|
|
10887
10887
|
class: "q-radio__icon",
|
|
10888
10888
|
name: h.value
|
|
10889
10889
|
})
|
|
10890
10890
|
])
|
|
10891
10891
|
] : [x];
|
|
10892
|
-
e.disable !== !0 &&
|
|
10892
|
+
e.disable !== !0 && y(
|
|
10893
10893
|
w,
|
|
10894
10894
|
"unshift",
|
|
10895
10895
|
" q-radio__native q-ma-none q-pa-none"
|
|
10896
10896
|
);
|
|
10897
10897
|
const q = [
|
|
10898
|
-
|
|
10898
|
+
g("div", {
|
|
10899
10899
|
class: d.value,
|
|
10900
10900
|
style: l.value,
|
|
10901
10901
|
"aria-hidden": "true"
|
|
@@ -10904,10 +10904,10 @@ const gv = be({
|
|
|
10904
10904
|
i.value !== null && q.push(i.value);
|
|
10905
10905
|
const D = e.label !== void 0 ? xt(t.default, [e.label]) : Te(t.default);
|
|
10906
10906
|
return D !== void 0 && q.push(
|
|
10907
|
-
|
|
10907
|
+
g("div", {
|
|
10908
10908
|
class: "q-radio__label q-anchor--skip"
|
|
10909
10909
|
}, D)
|
|
10910
|
-
),
|
|
10910
|
+
), g("div", {
|
|
10911
10911
|
ref: a,
|
|
10912
10912
|
class: s.value,
|
|
10913
10913
|
tabindex: v.value,
|
|
@@ -10930,20 +10930,20 @@ const gv = be({
|
|
|
10930
10930
|
],
|
|
10931
10931
|
setup(e) {
|
|
10932
10932
|
return () => [
|
|
10933
|
-
|
|
10933
|
+
g("div", {
|
|
10934
10934
|
class: e.store.scroll.vertical.barClass.value,
|
|
10935
10935
|
style: [e.barStyle, e.verticalBarStyle],
|
|
10936
10936
|
"aria-hidden": "true",
|
|
10937
10937
|
onMousedown: e.store.onVerticalMousedown
|
|
10938
10938
|
}),
|
|
10939
|
-
|
|
10939
|
+
g("div", {
|
|
10940
10940
|
class: e.store.scroll.horizontal.barClass.value,
|
|
10941
10941
|
style: [e.barStyle, e.horizontalBarStyle],
|
|
10942
10942
|
"aria-hidden": "true",
|
|
10943
10943
|
onMousedown: e.store.onHorizontalMousedown
|
|
10944
10944
|
}),
|
|
10945
10945
|
Rt(
|
|
10946
|
-
|
|
10946
|
+
g("div", {
|
|
10947
10947
|
ref: e.store.scroll.vertical.ref,
|
|
10948
10948
|
class: e.store.scroll.vertical.thumbClass.value,
|
|
10949
10949
|
style: e.store.scroll.vertical.style.value,
|
|
@@ -10952,7 +10952,7 @@ const gv = be({
|
|
|
10952
10952
|
e.store.thumbVertDir
|
|
10953
10953
|
),
|
|
10954
10954
|
Rt(
|
|
10955
|
-
|
|
10955
|
+
g("div", {
|
|
10956
10956
|
ref: e.store.scroll.horizontal.ref,
|
|
10957
10957
|
class: e.store.scroll.horizontal.thumbClass.value,
|
|
10958
10958
|
style: e.store.scroll.horizontal.style.value,
|
|
@@ -11064,8 +11064,8 @@ const gv = be({
|
|
|
11064
11064
|
width: `${i.horizontal.thumbSize.value}px`,
|
|
11065
11065
|
bottom: `${e.verticalOffset[1]}px`
|
|
11066
11066
|
})), i.horizontal.thumbClass = f(() => "q-scrollarea__thumb q-scrollarea__thumb--h absolute-bottom" + (i.horizontal.thumbHidden.value === !0 ? " q-scrollarea__thumb--invisible" : "")), i.horizontal.barClass = f(() => "q-scrollarea__bar q-scrollarea__bar--h absolute-bottom" + (i.horizontal.thumbHidden.value === !0 ? " q-scrollarea__bar--invisible" : ""));
|
|
11067
|
-
const
|
|
11068
|
-
function
|
|
11067
|
+
const p = f(() => i.vertical.thumbHidden.value === !0 && i.horizontal.thumbHidden.value === !0 ? e.contentStyle : e.contentActiveStyle);
|
|
11068
|
+
function y() {
|
|
11069
11069
|
const M = {};
|
|
11070
11070
|
return Fa.forEach((O) => {
|
|
11071
11071
|
const H = i[O];
|
|
@@ -11079,7 +11079,7 @@ const gv = be({
|
|
|
11079
11079
|
}), M;
|
|
11080
11080
|
}
|
|
11081
11081
|
const m = Ml(() => {
|
|
11082
|
-
const M =
|
|
11082
|
+
const M = y();
|
|
11083
11083
|
M.ref = u, n("scroll", M);
|
|
11084
11084
|
}, 0);
|
|
11085
11085
|
function C(M, O, H) {
|
|
@@ -11156,7 +11156,7 @@ const gv = be({
|
|
|
11156
11156
|
M !== null && (cr(M, L.left), Zl(M, L.top));
|
|
11157
11157
|
}), Pe(m.cancel), Object.assign(u, {
|
|
11158
11158
|
getScrollTarget: () => h.value,
|
|
11159
|
-
getScroll:
|
|
11159
|
+
getScroll: y,
|
|
11160
11160
|
getScrollPosition: () => ({
|
|
11161
11161
|
top: i.vertical.position.value,
|
|
11162
11162
|
left: i.horizontal.position.value
|
|
@@ -11199,35 +11199,35 @@ const gv = be({
|
|
|
11199
11199
|
D(M, "horizontal");
|
|
11200
11200
|
}
|
|
11201
11201
|
};
|
|
11202
|
-
return () =>
|
|
11202
|
+
return () => g("div", {
|
|
11203
11203
|
class: v.value,
|
|
11204
11204
|
onMouseenter: V,
|
|
11205
11205
|
onMouseleave: z
|
|
11206
11206
|
}, [
|
|
11207
|
-
|
|
11207
|
+
g("div", {
|
|
11208
11208
|
ref: h,
|
|
11209
11209
|
class: "q-scrollarea__container scroll relative-position fit hide-scrollbar",
|
|
11210
11210
|
tabindex: e.tabindex !== void 0 ? e.tabindex : void 0
|
|
11211
11211
|
}, [
|
|
11212
|
-
|
|
11212
|
+
g("div", {
|
|
11213
11213
|
class: "q-scrollarea__content absolute",
|
|
11214
|
-
style:
|
|
11214
|
+
style: p.value
|
|
11215
11215
|
}, xt(t.default, [
|
|
11216
|
-
|
|
11216
|
+
g(oo, {
|
|
11217
11217
|
debounce: 0,
|
|
11218
11218
|
onResize: w
|
|
11219
11219
|
})
|
|
11220
11220
|
])),
|
|
11221
|
-
|
|
11221
|
+
g(Gi, {
|
|
11222
11222
|
axis: "both",
|
|
11223
11223
|
onScroll: x
|
|
11224
11224
|
})
|
|
11225
11225
|
]),
|
|
11226
|
-
|
|
11226
|
+
g(oo, {
|
|
11227
11227
|
debounce: 0,
|
|
11228
11228
|
onResize: S
|
|
11229
11229
|
}),
|
|
11230
|
-
|
|
11230
|
+
g(Av, {
|
|
11231
11231
|
store: J,
|
|
11232
11232
|
barStyle: e.barStyle,
|
|
11233
11233
|
verticalBarStyle: e.verticalBarStyle,
|
|
@@ -11248,7 +11248,7 @@ const gv = be({
|
|
|
11248
11248
|
};
|
|
11249
11249
|
return () => {
|
|
11250
11250
|
if (e.props === void 0)
|
|
11251
|
-
return
|
|
11251
|
+
return g("th", {
|
|
11252
11252
|
class: e.autoWidth === !0 ? "q-table--col-auto-width" : "",
|
|
11253
11253
|
onClick: l
|
|
11254
11254
|
}, Te(t.default));
|
|
@@ -11261,7 +11261,7 @@ const gv = be({
|
|
|
11261
11261
|
if (a.sortable === !0) {
|
|
11262
11262
|
const s = a.align === "right" ? "unshift" : "push";
|
|
11263
11263
|
i = cl(t.default, []), i[s](
|
|
11264
|
-
|
|
11264
|
+
g(Ye, {
|
|
11265
11265
|
class: a.__iconClass,
|
|
11266
11266
|
name: r.iconSet.table.arrowUp
|
|
11267
11267
|
})
|
|
@@ -11275,7 +11275,7 @@ const gv = be({
|
|
|
11275
11275
|
a.sortable === !0 && e.props.sort(a), l(s);
|
|
11276
11276
|
}
|
|
11277
11277
|
};
|
|
11278
|
-
return
|
|
11278
|
+
return g("th", c, i);
|
|
11279
11279
|
};
|
|
11280
11280
|
}
|
|
11281
11281
|
}), Pv = ["horizontal", "vertical", "cell", "none"], Ov = be({
|
|
@@ -11297,16 +11297,16 @@ const gv = be({
|
|
|
11297
11297
|
const n = we(), o = dt(e, n.proxy.$q), r = f(
|
|
11298
11298
|
() => `q-markup-table q-table__container q-table__card q-table--${e.separator}-separator` + (o.value === !0 ? " q-table--dark q-table__card--dark q-dark" : "") + (e.dense === !0 ? " q-table--dense" : "") + (e.flat === !0 ? " q-table--flat" : "") + (e.bordered === !0 ? " q-table--bordered" : "") + (e.square === !0 ? " q-table--square" : "") + (e.wrapCells === !1 ? " q-table--no-wrap" : "")
|
|
11299
11299
|
);
|
|
11300
|
-
return () =>
|
|
11300
|
+
return () => g("div", {
|
|
11301
11301
|
class: r.value
|
|
11302
11302
|
}, [
|
|
11303
|
-
|
|
11303
|
+
g("table", { class: "q-table" }, Te(t.default))
|
|
11304
11304
|
]);
|
|
11305
11305
|
}
|
|
11306
11306
|
});
|
|
11307
11307
|
function fs(e, t) {
|
|
11308
|
-
return
|
|
11309
|
-
|
|
11308
|
+
return g("div", e, [
|
|
11309
|
+
g("table", { class: "q-table" }, t)
|
|
11310
11310
|
]);
|
|
11311
11311
|
}
|
|
11312
11312
|
const Dv = {
|
|
@@ -11338,7 +11338,7 @@ const Dv = {
|
|
|
11338
11338
|
onVirtualScrollEvt: c
|
|
11339
11339
|
} = us({
|
|
11340
11340
|
virtualScrollLength: l,
|
|
11341
|
-
getVirtualScrollTarget:
|
|
11341
|
+
getVirtualScrollTarget: p,
|
|
11342
11342
|
getVirtualScrollEl: v
|
|
11343
11343
|
}), s = f(() => {
|
|
11344
11344
|
if (l.value === 0)
|
|
@@ -11354,15 +11354,15 @@ const Dv = {
|
|
|
11354
11354
|
K(l, () => {
|
|
11355
11355
|
i();
|
|
11356
11356
|
}), K(() => e.scrollTarget, () => {
|
|
11357
|
-
m(),
|
|
11357
|
+
m(), y();
|
|
11358
11358
|
});
|
|
11359
11359
|
function v() {
|
|
11360
11360
|
return r.value.$el || r.value;
|
|
11361
11361
|
}
|
|
11362
|
-
function
|
|
11362
|
+
function p() {
|
|
11363
11363
|
return o;
|
|
11364
11364
|
}
|
|
11365
|
-
function
|
|
11365
|
+
function y() {
|
|
11366
11366
|
o = Jo(v(), e.scrollTarget), o.addEventListener("scroll", c, Xe.passive);
|
|
11367
11367
|
}
|
|
11368
11368
|
function m() {
|
|
@@ -11378,9 +11378,9 @@ const Dv = {
|
|
|
11378
11378
|
return sl(() => {
|
|
11379
11379
|
i();
|
|
11380
11380
|
}), ut(() => {
|
|
11381
|
-
|
|
11381
|
+
y();
|
|
11382
11382
|
}), lo(() => {
|
|
11383
|
-
|
|
11383
|
+
y();
|
|
11384
11384
|
}), kn(() => {
|
|
11385
11385
|
m();
|
|
11386
11386
|
}), Pe(() => {
|
|
@@ -11393,7 +11393,7 @@ const Dv = {
|
|
|
11393
11393
|
return e.type === "__qtable" ? fs(
|
|
11394
11394
|
{ ref: r, class: "q-table__middle " + d.value },
|
|
11395
11395
|
C()
|
|
11396
|
-
) :
|
|
11396
|
+
) : g(Dv[e.type], {
|
|
11397
11397
|
...n,
|
|
11398
11398
|
ref: r,
|
|
11399
11399
|
class: [n.class, d.value],
|
|
@@ -11446,26 +11446,26 @@ const Iv = be({
|
|
|
11446
11446
|
() => `q-linear-progress__track absolute-full q-linear-progress__track--${s.value} q-linear-progress__track--${o.value === !0 ? "dark" : "light"}` + (e.trackColor !== void 0 ? ` bg-${e.trackColor}` : "")
|
|
11447
11447
|
), h = f(() => Ia(l.value === !0 ? 1 : e.value, a.value, n.$q)), v = f(
|
|
11448
11448
|
() => `q-linear-progress__model absolute-full q-linear-progress__model--${s.value} q-linear-progress__model--${l.value === !0 ? "in" : ""}determinate`
|
|
11449
|
-
),
|
|
11449
|
+
), p = f(() => ({ width: `${e.value * 100}%` })), y = f(
|
|
11450
11450
|
() => `q-linear-progress__stripe absolute-${e.reverse === !0 ? "right" : "left"} q-linear-progress__stripe--${s.value}`
|
|
11451
11451
|
);
|
|
11452
11452
|
return () => {
|
|
11453
11453
|
const m = [
|
|
11454
|
-
|
|
11454
|
+
g("div", {
|
|
11455
11455
|
class: d.value,
|
|
11456
11456
|
style: c.value
|
|
11457
11457
|
}),
|
|
11458
|
-
|
|
11458
|
+
g("div", {
|
|
11459
11459
|
class: v.value,
|
|
11460
11460
|
style: h.value
|
|
11461
11461
|
})
|
|
11462
11462
|
];
|
|
11463
11463
|
return e.stripe === !0 && l.value === !1 && m.push(
|
|
11464
|
-
|
|
11465
|
-
class:
|
|
11466
|
-
style:
|
|
11464
|
+
g("div", {
|
|
11465
|
+
class: y.value,
|
|
11466
|
+
style: p.value
|
|
11467
11467
|
})
|
|
11468
|
-
),
|
|
11468
|
+
), g("div", {
|
|
11469
11469
|
class: u.value,
|
|
11470
11470
|
style: i.value,
|
|
11471
11471
|
role: "progressbar",
|
|
@@ -11537,9 +11537,9 @@ function Qv(e, t, n, o) {
|
|
|
11537
11537
|
if (s === void 0 || s.field === void 0)
|
|
11538
11538
|
return i;
|
|
11539
11539
|
const d = c === !0 ? -1 : 1, h = typeof s.field == "function" ? (v) => s.field(v) : (v) => v[s.field];
|
|
11540
|
-
return i.sort((v,
|
|
11541
|
-
let
|
|
11542
|
-
return s.rawSort !== void 0 ? s.rawSort(
|
|
11540
|
+
return i.sort((v, p) => {
|
|
11541
|
+
let y = h(v), m = h(p);
|
|
11542
|
+
return s.rawSort !== void 0 ? s.rawSort(y, m, v, p) * d : y == null ? -1 * d : m == null ? 1 * d : s.sort !== void 0 ? s.sort(y, m, v, p) * d : Zr(y) === !0 && Zr(m) === !0 ? (y - m) * d : ca(y) === !0 && ca(m) === !0 ? Wv(y, m) * d : typeof y == "boolean" && typeof m == "boolean" ? (y - m) * d : ([y, m] = [y, m].map((C) => (C + "").toLocaleString().toLowerCase()), y < m ? -1 * d : y === m ? 0 : d);
|
|
11543
11543
|
});
|
|
11544
11544
|
});
|
|
11545
11545
|
function a(i) {
|
|
@@ -11660,7 +11660,7 @@ function eh(e, t, n, o, r, l) {
|
|
|
11660
11660
|
}), h = f(() => n.value.page === 1), v = f(() => n.value.rowsPerPage === 0 ? 1 : Math.max(
|
|
11661
11661
|
1,
|
|
11662
11662
|
Math.ceil(c.value / n.value.rowsPerPage)
|
|
11663
|
-
)),
|
|
11663
|
+
)), p = f(() => d.value === 0 ? !0 : n.value.page >= v.value), y = f(() => (a.rowsPerPageOptions.includes(t.value.rowsPerPage) ? a.rowsPerPageOptions : [t.value.rowsPerPage].concat(a.rowsPerPageOptions)).map((q) => ({
|
|
11664
11664
|
label: q === 0 ? u.lang.table.allRows : "" + q,
|
|
11665
11665
|
value: q
|
|
11666
11666
|
})));
|
|
@@ -11687,9 +11687,9 @@ function eh(e, t, n, o, r, l) {
|
|
|
11687
11687
|
firstRowIndex: s,
|
|
11688
11688
|
lastRowIndex: d,
|
|
11689
11689
|
isFirstPage: h,
|
|
11690
|
-
isLastPage:
|
|
11690
|
+
isLastPage: p,
|
|
11691
11691
|
pagesNumber: v,
|
|
11692
|
-
computedRowsPerPageOptions:
|
|
11692
|
+
computedRowsPerPageOptions: y,
|
|
11693
11693
|
computedRowsNumber: c,
|
|
11694
11694
|
firstPage: m,
|
|
11695
11695
|
prevPage: C,
|
|
@@ -11710,27 +11710,27 @@ const th = {
|
|
|
11710
11710
|
}, nh = ["update:selected", "selection"];
|
|
11711
11711
|
function oh(e, t, n, o) {
|
|
11712
11712
|
const r = f(() => {
|
|
11713
|
-
const
|
|
11714
|
-
return e.selected.map(o.value).forEach((
|
|
11715
|
-
|
|
11716
|
-
}),
|
|
11713
|
+
const p = {};
|
|
11714
|
+
return e.selected.map(o.value).forEach((y) => {
|
|
11715
|
+
p[y] = !0;
|
|
11716
|
+
}), p;
|
|
11717
11717
|
}), l = f(() => e.selection !== "none"), a = f(() => e.selection === "single"), i = f(() => e.selection === "multiple"), u = f(
|
|
11718
11718
|
() => n.value.length !== 0 && n.value.every(
|
|
11719
|
-
(
|
|
11719
|
+
(p) => r.value[o.value(p)] === !0
|
|
11720
11720
|
)
|
|
11721
11721
|
), c = f(
|
|
11722
|
-
() => u.value !== !0 && n.value.some((
|
|
11722
|
+
() => u.value !== !0 && n.value.some((p) => r.value[o.value(p)] === !0)
|
|
11723
11723
|
), s = f(() => e.selected.length);
|
|
11724
|
-
function d(
|
|
11725
|
-
return r.value[
|
|
11724
|
+
function d(p) {
|
|
11725
|
+
return r.value[p] === !0;
|
|
11726
11726
|
}
|
|
11727
11727
|
function h() {
|
|
11728
11728
|
t("update:selected", []);
|
|
11729
11729
|
}
|
|
11730
|
-
function v(
|
|
11731
|
-
t("selection", { rows:
|
|
11732
|
-
const S = a.value === !0 ? m === !0 ?
|
|
11733
|
-
(x) =>
|
|
11730
|
+
function v(p, y, m, C) {
|
|
11731
|
+
t("selection", { rows: y, added: m, keys: p, evt: C });
|
|
11732
|
+
const S = a.value === !0 ? m === !0 ? y : [] : m === !0 ? e.selected.concat(y) : e.selected.filter(
|
|
11733
|
+
(x) => p.includes(o.value(x)) === !1
|
|
11734
11734
|
);
|
|
11735
11735
|
t("update:selected", S);
|
|
11736
11736
|
}
|
|
@@ -11904,7 +11904,7 @@ const uh = be({
|
|
|
11904
11904
|
() => " q-table__card" + (l.value === !0 ? " q-table__card--dark q-dark" : "") + (e.square === !0 ? " q-table--square" : "") + (e.flat === !0 ? " q-table--flat" : "") + (e.bordered === !0 ? " q-table--bordered" : "")
|
|
11905
11905
|
), v = f(
|
|
11906
11906
|
() => `q-table__container q-table--${e.separator}-separator column no-wrap` + (e.grid === !0 ? " q-table--grid" : h.value) + (l.value === !0 ? " q-table--dark" : "") + (e.dense === !0 ? " q-table--dense" : "") + (e.wrapCells === !1 ? " q-table--no-wrap" : "") + (a.value === !0 ? " fullscreen scroll" : "")
|
|
11907
|
-
),
|
|
11907
|
+
), p = f(
|
|
11908
11908
|
() => v.value + (e.loading === !0 ? " q-table--loading" : "")
|
|
11909
11909
|
);
|
|
11910
11910
|
K(
|
|
@@ -11915,7 +11915,7 @@ const uh = be({
|
|
|
11915
11915
|
}
|
|
11916
11916
|
);
|
|
11917
11917
|
const {
|
|
11918
|
-
innerPagination:
|
|
11918
|
+
innerPagination: y,
|
|
11919
11919
|
computedPagination: m,
|
|
11920
11920
|
isServerSide: C,
|
|
11921
11921
|
requestServerInteraction: S,
|
|
@@ -11958,7 +11958,7 @@ const uh = be({
|
|
|
11958
11958
|
prevPage: lt,
|
|
11959
11959
|
nextPage: Ge,
|
|
11960
11960
|
lastPage: Ie
|
|
11961
|
-
} = eh(o,
|
|
11961
|
+
} = eh(o, y, m, C, x, E), tt = f(() => V.value.length === 0), jt = f(() => {
|
|
11962
11962
|
const T = {};
|
|
11963
11963
|
return ss.forEach((te) => {
|
|
11964
11964
|
T[te] = e[te];
|
|
@@ -11976,10 +11976,10 @@ const uh = be({
|
|
|
11976
11976
|
default: (He) => nn(He.item, t.body, He.index)
|
|
11977
11977
|
};
|
|
11978
11978
|
if (ge !== void 0) {
|
|
11979
|
-
const He =
|
|
11979
|
+
const He = g("tbody", ge({ cols: B.value }));
|
|
11980
11980
|
_e.before = T === null ? () => He : () => [T()].concat(He);
|
|
11981
11981
|
} else T !== null && (_e.before = T);
|
|
11982
|
-
return he !== void 0 && (_e.after = () =>
|
|
11982
|
+
return he !== void 0 && (_e.after = () => g("tbody", he({ cols: B.value }))), g(jv, {
|
|
11983
11983
|
ref: s,
|
|
11984
11984
|
class: e.tableClass,
|
|
11985
11985
|
style: e.tableStyle,
|
|
@@ -12011,7 +12011,7 @@ const uh = be({
|
|
|
12011
12011
|
he.scrollTop = _e, n("virtualScroll", {
|
|
12012
12012
|
index: T,
|
|
12013
12013
|
from: 0,
|
|
12014
|
-
to:
|
|
12014
|
+
to: y.value.rowsPerPage - 1,
|
|
12015
12015
|
direction: He
|
|
12016
12016
|
});
|
|
12017
12017
|
}
|
|
@@ -12021,7 +12021,7 @@ const uh = be({
|
|
|
12021
12021
|
}
|
|
12022
12022
|
function vt() {
|
|
12023
12023
|
return [
|
|
12024
|
-
|
|
12024
|
+
g(Iv, {
|
|
12025
12025
|
class: "q-table__linear-progress",
|
|
12026
12026
|
color: e.color,
|
|
12027
12027
|
dark: l.value,
|
|
@@ -12049,14 +12049,14 @@ const uh = be({
|
|
|
12049
12049
|
}
|
|
12050
12050
|
const He = t["body-cell"], Oe = B.value.map((k) => {
|
|
12051
12051
|
const A = t[`body-cell-${k.name}`], X = A !== void 0 ? A : He;
|
|
12052
|
-
return X !== void 0 ? X(Nn({ key: he, row: T, pageIndex: ge, col: k })) :
|
|
12052
|
+
return X !== void 0 ? X(Nn({ key: he, row: T, pageIndex: ge, col: k })) : g("td", {
|
|
12053
12053
|
class: k.__tdClass(T),
|
|
12054
12054
|
style: k.__tdStyle(T)
|
|
12055
12055
|
}, at(k, T));
|
|
12056
12056
|
});
|
|
12057
12057
|
if (z.value === !0) {
|
|
12058
12058
|
const k = t["body-selection"], A = k !== void 0 ? k(on({ key: he, row: T, pageIndex: ge })) : [
|
|
12059
|
-
|
|
12059
|
+
g(Xn, {
|
|
12060
12060
|
modelValue: _e,
|
|
12061
12061
|
color: e.color,
|
|
12062
12062
|
dark: l.value,
|
|
@@ -12067,7 +12067,7 @@ const uh = be({
|
|
|
12067
12067
|
})
|
|
12068
12068
|
];
|
|
12069
12069
|
Oe.unshift(
|
|
12070
|
-
|
|
12070
|
+
g("td", { class: "q-table--col-auto-width" }, A)
|
|
12071
12071
|
);
|
|
12072
12072
|
}
|
|
12073
12073
|
const b = { key: he, class: { selected: _e } };
|
|
@@ -12081,14 +12081,14 @@ const uh = be({
|
|
|
12081
12081
|
const k = e.tableRowClassFn(T);
|
|
12082
12082
|
k && (b.class[k] = !0);
|
|
12083
12083
|
}
|
|
12084
|
-
return
|
|
12084
|
+
return g("tr", b, Oe);
|
|
12085
12085
|
}
|
|
12086
12086
|
function _n() {
|
|
12087
12087
|
const T = t.body, te = t["top-row"], ge = t["bottom-row"];
|
|
12088
12088
|
let he = V.value.map(
|
|
12089
12089
|
(_e, He) => nn(_e, T, He)
|
|
12090
12090
|
);
|
|
12091
|
-
return te !== void 0 && (he = te({ cols: B.value }).concat(he)), ge !== void 0 && (he = he.concat(ge({ cols: B.value }))),
|
|
12091
|
+
return te !== void 0 && (he = te({ cols: B.value }).concat(he)), ge !== void 0 && (he = he.concat(ge({ cols: B.value }))), g("tbody", he);
|
|
12092
12092
|
}
|
|
12093
12093
|
function Pt(T) {
|
|
12094
12094
|
return ht(T), T.cols = T.cols.map(
|
|
@@ -12145,38 +12145,38 @@ const uh = be({
|
|
|
12145
12145
|
function Cn() {
|
|
12146
12146
|
const T = t.top, te = t["top-left"], ge = t["top-right"], he = t["top-selection"], _e = z.value === !0 && he !== void 0 && H.value > 0, He = "q-table__top relative-position row items-center";
|
|
12147
12147
|
if (T !== void 0)
|
|
12148
|
-
return
|
|
12148
|
+
return g("div", { class: He }, [T(pt.value)]);
|
|
12149
12149
|
let Oe;
|
|
12150
12150
|
if (_e === !0 ? Oe = he(pt.value).slice() : (Oe = [], te !== void 0 ? Oe.push(
|
|
12151
|
-
|
|
12151
|
+
g("div", { class: "q-table__control" }, [
|
|
12152
12152
|
te(pt.value)
|
|
12153
12153
|
])
|
|
12154
12154
|
) : e.title && Oe.push(
|
|
12155
|
-
|
|
12156
|
-
|
|
12155
|
+
g("div", { class: "q-table__control" }, [
|
|
12156
|
+
g("div", {
|
|
12157
12157
|
class: ["q-table__title", e.titleClass]
|
|
12158
12158
|
}, e.title)
|
|
12159
12159
|
])
|
|
12160
12160
|
)), ge !== void 0 && (Oe.push(
|
|
12161
|
-
|
|
12161
|
+
g("div", { class: "q-table__separator col" })
|
|
12162
12162
|
), Oe.push(
|
|
12163
|
-
|
|
12163
|
+
g("div", { class: "q-table__control" }, [
|
|
12164
12164
|
ge(pt.value)
|
|
12165
12165
|
])
|
|
12166
12166
|
)), Oe.length !== 0)
|
|
12167
|
-
return
|
|
12167
|
+
return g("div", { class: He }, Oe);
|
|
12168
12168
|
}
|
|
12169
12169
|
const Ot = f(() => O.value === !0 ? null : M.value);
|
|
12170
12170
|
function rn() {
|
|
12171
12171
|
const T = Sn();
|
|
12172
12172
|
return e.loading === !0 && t.loading === void 0 && T.push(
|
|
12173
|
-
|
|
12174
|
-
|
|
12173
|
+
g("tr", { class: "q-table__progress" }, [
|
|
12174
|
+
g("th", {
|
|
12175
12175
|
class: "relative-position",
|
|
12176
12176
|
colspan: Z.value
|
|
12177
12177
|
}, vt())
|
|
12178
12178
|
])
|
|
12179
|
-
),
|
|
12179
|
+
), g("thead", T);
|
|
12180
12180
|
}
|
|
12181
12181
|
function Sn() {
|
|
12182
12182
|
const T = t.header, te = t["header-cell"];
|
|
@@ -12186,18 +12186,18 @@ const uh = be({
|
|
|
12186
12186
|
).slice();
|
|
12187
12187
|
const ge = B.value.map((he) => {
|
|
12188
12188
|
const _e = t[`header-cell-${he.name}`], He = _e !== void 0 ? _e : te, Oe = Ut({ col: he });
|
|
12189
|
-
return He !== void 0 ? He(Oe) :
|
|
12189
|
+
return He !== void 0 ? He(Oe) : g(ds, {
|
|
12190
12190
|
key: he.name,
|
|
12191
12191
|
props: Oe
|
|
12192
12192
|
}, () => he.label);
|
|
12193
12193
|
});
|
|
12194
12194
|
if (L.value === !0 && e.grid !== !0)
|
|
12195
12195
|
ge.unshift(
|
|
12196
|
-
|
|
12196
|
+
g("th", { class: "q-table--col-auto-width" }, " ")
|
|
12197
12197
|
);
|
|
12198
12198
|
else if (J.value === !0) {
|
|
12199
12199
|
const he = t["header-selection"], _e = he !== void 0 ? he(Ut({})) : [
|
|
12200
|
-
|
|
12200
|
+
g(Xn, {
|
|
12201
12201
|
color: e.color,
|
|
12202
12202
|
modelValue: Ot.value,
|
|
12203
12203
|
dark: l.value,
|
|
@@ -12206,11 +12206,11 @@ const uh = be({
|
|
|
12206
12206
|
})
|
|
12207
12207
|
];
|
|
12208
12208
|
ge.unshift(
|
|
12209
|
-
|
|
12209
|
+
g("th", { class: "q-table--col-auto-width" }, _e)
|
|
12210
12210
|
);
|
|
12211
12211
|
}
|
|
12212
12212
|
return [
|
|
12213
|
-
|
|
12213
|
+
g("tr", {
|
|
12214
12214
|
class: e.tableHeaderClass,
|
|
12215
12215
|
style: e.tableHeaderStyle
|
|
12216
12216
|
}, ge)
|
|
@@ -12252,30 +12252,30 @@ const uh = be({
|
|
|
12252
12252
|
if (tt.value === !0) {
|
|
12253
12253
|
if (e.hideNoData === !0) return;
|
|
12254
12254
|
const ge = e.loading === !0 ? e.loadingLabel || r.lang.table.loading : e.filter ? e.noResultsLabel || r.lang.table.noResults : e.noDataLabel || r.lang.table.noData, he = t["no-data"], _e = he !== void 0 ? [he({ message: ge, icon: r.iconSet.table.warning, filter: e.filter })] : [
|
|
12255
|
-
|
|
12255
|
+
g(Ye, {
|
|
12256
12256
|
class: "q-table__bottom-nodata-icon",
|
|
12257
12257
|
name: r.iconSet.table.warning
|
|
12258
12258
|
}),
|
|
12259
12259
|
ge
|
|
12260
12260
|
];
|
|
12261
|
-
return
|
|
12261
|
+
return g("div", { class: xo + " q-table__bottom--nodata" }, _e);
|
|
12262
12262
|
}
|
|
12263
12263
|
const T = t.bottom;
|
|
12264
12264
|
if (T !== void 0)
|
|
12265
|
-
return
|
|
12265
|
+
return g("div", { class: xo }, [T(pt.value)]);
|
|
12266
12266
|
const te = e.hideSelectedBanner !== !0 && z.value === !0 && H.value > 0 ? [
|
|
12267
|
-
|
|
12268
|
-
|
|
12267
|
+
g("div", { class: "q-table__control" }, [
|
|
12268
|
+
g("div", [
|
|
12269
12269
|
(e.selectedRowsLabel || r.lang.table.selectedRecords)(H.value)
|
|
12270
12270
|
])
|
|
12271
12271
|
])
|
|
12272
12272
|
] : [];
|
|
12273
12273
|
if (e.hidePagination !== !0)
|
|
12274
|
-
return
|
|
12274
|
+
return g("div", {
|
|
12275
12275
|
class: xo + " justify-end"
|
|
12276
12276
|
}, xn(te));
|
|
12277
12277
|
if (te.length !== 0)
|
|
12278
|
-
return
|
|
12278
|
+
return g("div", { class: xo }, te);
|
|
12279
12279
|
}
|
|
12280
12280
|
function Wt(T) {
|
|
12281
12281
|
x({
|
|
@@ -12287,13 +12287,13 @@ const uh = be({
|
|
|
12287
12287
|
let te;
|
|
12288
12288
|
const { rowsPerPage: ge } = m.value, he = e.paginationLabel || r.lang.table.pagination, _e = t.pagination, He = e.rowsPerPageOptions.length > 1;
|
|
12289
12289
|
if (T.push(
|
|
12290
|
-
|
|
12290
|
+
g("div", { class: "q-table__separator col" })
|
|
12291
12291
|
), He === !0 && T.push(
|
|
12292
|
-
|
|
12293
|
-
|
|
12292
|
+
g("div", { class: "q-table__control" }, [
|
|
12293
|
+
g("span", { class: "q-table__bottom-item" }, [
|
|
12294
12294
|
e.rowsPerPageLabel || r.lang.table.recordsPerPage
|
|
12295
12295
|
]),
|
|
12296
|
-
|
|
12296
|
+
g(Rl, {
|
|
12297
12297
|
class: "q-table__select inline q-table__bottom-item",
|
|
12298
12298
|
color: e.color,
|
|
12299
12299
|
modelValue: ge,
|
|
@@ -12310,7 +12310,7 @@ const uh = be({
|
|
|
12310
12310
|
), _e !== void 0)
|
|
12311
12311
|
te = _e(pt.value);
|
|
12312
12312
|
else if (te = [
|
|
12313
|
-
|
|
12313
|
+
g("span", ge !== 0 ? { class: "q-table__bottom-item" } : {}, [
|
|
12314
12314
|
ge ? he(ue.value + 1, Math.min(Me.value, Ue.value), Ue.value) : he(1, E.value, Ue.value)
|
|
12315
12315
|
])
|
|
12316
12316
|
], ge !== 0 && ke.value > 1) {
|
|
@@ -12321,7 +12321,7 @@ const uh = be({
|
|
|
12321
12321
|
flat: !0
|
|
12322
12322
|
};
|
|
12323
12323
|
e.dense === !0 && (Oe.size = "sm"), ke.value > 2 && te.push(
|
|
12324
|
-
|
|
12324
|
+
g(Ve, {
|
|
12325
12325
|
key: "pgFirst",
|
|
12326
12326
|
...Oe,
|
|
12327
12327
|
icon: yt.value[0],
|
|
@@ -12330,7 +12330,7 @@ const uh = be({
|
|
|
12330
12330
|
onClick: ft
|
|
12331
12331
|
})
|
|
12332
12332
|
), te.push(
|
|
12333
|
-
|
|
12333
|
+
g(Ve, {
|
|
12334
12334
|
key: "pgPrev",
|
|
12335
12335
|
...Oe,
|
|
12336
12336
|
icon: yt.value[1],
|
|
@@ -12338,7 +12338,7 @@ const uh = be({
|
|
|
12338
12338
|
ariaLabel: r.lang.pagination.prev,
|
|
12339
12339
|
onClick: lt
|
|
12340
12340
|
}),
|
|
12341
|
-
|
|
12341
|
+
g(Ve, {
|
|
12342
12342
|
key: "pgNext",
|
|
12343
12343
|
...Oe,
|
|
12344
12344
|
icon: yt.value[2],
|
|
@@ -12347,7 +12347,7 @@ const uh = be({
|
|
|
12347
12347
|
onClick: Ge
|
|
12348
12348
|
})
|
|
12349
12349
|
), ke.value > 2 && te.push(
|
|
12350
|
-
|
|
12350
|
+
g(Ve, {
|
|
12351
12351
|
key: "pgLast",
|
|
12352
12352
|
...Oe,
|
|
12353
12353
|
icon: yt.value[3],
|
|
@@ -12358,28 +12358,28 @@ const uh = be({
|
|
|
12358
12358
|
);
|
|
12359
12359
|
}
|
|
12360
12360
|
return T.push(
|
|
12361
|
-
|
|
12361
|
+
g("div", { class: "q-table__control" }, te)
|
|
12362
12362
|
), T;
|
|
12363
12363
|
}
|
|
12364
12364
|
function Lt() {
|
|
12365
12365
|
const T = e.gridHeader === !0 ? [
|
|
12366
|
-
|
|
12366
|
+
g("table", { class: "q-table" }, [
|
|
12367
12367
|
rn()
|
|
12368
12368
|
])
|
|
12369
12369
|
] : e.loading === !0 && t.loading === void 0 ? vt() : void 0;
|
|
12370
|
-
return
|
|
12370
|
+
return g("div", { class: "q-table__middle" }, T);
|
|
12371
12371
|
}
|
|
12372
12372
|
function an() {
|
|
12373
12373
|
const T = t.item !== void 0 ? t.item : (te) => {
|
|
12374
12374
|
const ge = te.cols.map(
|
|
12375
|
-
(_e) =>
|
|
12376
|
-
|
|
12377
|
-
|
|
12375
|
+
(_e) => g("div", { class: "q-table__grid-item-row" }, [
|
|
12376
|
+
g("div", { class: "q-table__grid-item-title" }, [_e.label]),
|
|
12377
|
+
g("div", { class: "q-table__grid-item-value" }, [_e.value])
|
|
12378
12378
|
])
|
|
12379
12379
|
);
|
|
12380
12380
|
if (z.value === !0) {
|
|
12381
12381
|
const _e = t["body-selection"], He = _e !== void 0 ? _e(te) : [
|
|
12382
|
-
|
|
12382
|
+
g(Xn, {
|
|
12383
12383
|
modelValue: te.selected,
|
|
12384
12384
|
color: e.color,
|
|
12385
12385
|
dark: l.value,
|
|
@@ -12390,8 +12390,8 @@ const uh = be({
|
|
|
12390
12390
|
})
|
|
12391
12391
|
];
|
|
12392
12392
|
ge.unshift(
|
|
12393
|
-
|
|
12394
|
-
|
|
12393
|
+
g("div", { class: "q-table__grid-item-row" }, He),
|
|
12394
|
+
g(No, { dark: l.value })
|
|
12395
12395
|
);
|
|
12396
12396
|
}
|
|
12397
12397
|
const he = {
|
|
@@ -12411,13 +12411,13 @@ const uh = be({
|
|
|
12411
12411
|
n("RowDblclick", _e, te.row, te.pageIndex);
|
|
12412
12412
|
}), e.onRowContextmenu !== void 0 && (he.onContextmenu = (_e) => {
|
|
12413
12413
|
n("rowContextmenu", _e, te.row, te.pageIndex);
|
|
12414
|
-
})),
|
|
12414
|
+
})), g("div", {
|
|
12415
12415
|
class: "q-table__grid-item col-xs-12 col-sm-6 col-md-4 col-lg-3" + (te.selected === !0 ? " q-table__grid-item--selected" : "")
|
|
12416
12416
|
}, [
|
|
12417
|
-
|
|
12417
|
+
g("div", he, ge)
|
|
12418
12418
|
]);
|
|
12419
12419
|
};
|
|
12420
|
-
return
|
|
12420
|
+
return g("div", {
|
|
12421
12421
|
class: [
|
|
12422
12422
|
"q-table__grid-content row",
|
|
12423
12423
|
e.cardContainerClass
|
|
@@ -12449,7 +12449,7 @@ const uh = be({
|
|
|
12449
12449
|
computedRows: () => V.value,
|
|
12450
12450
|
computedRowsNumber: () => Ue.value
|
|
12451
12451
|
}), () => {
|
|
12452
|
-
const T = [Cn()], te = { ref: c, class:
|
|
12452
|
+
const T = [Cn()], te = { ref: c, class: p.value };
|
|
12453
12453
|
return e.grid === !0 ? T.push(Lt()) : Object.assign(te, {
|
|
12454
12454
|
class: [te.class, e.cardClass],
|
|
12455
12455
|
style: e.cardStyle
|
|
@@ -12458,7 +12458,7 @@ const uh = be({
|
|
|
12458
12458
|
ln()
|
|
12459
12459
|
), e.loading === !0 && t.loading !== void 0 && T.push(
|
|
12460
12460
|
t.loading()
|
|
12461
|
-
),
|
|
12461
|
+
), g("div", te, T);
|
|
12462
12462
|
};
|
|
12463
12463
|
}
|
|
12464
12464
|
}), ch = {}, dh = {
|
|
@@ -12608,7 +12608,7 @@ const vh = /* @__PURE__ */ fe(ch, [["render", fh]]), hh = ["onClick"], mh = {
|
|
|
12608
12608
|
dense: "",
|
|
12609
12609
|
"model-value": a.columnFilters.value[u.name],
|
|
12610
12610
|
val: h.name,
|
|
12611
|
-
"onUpdate:modelValue": (
|
|
12611
|
+
"onUpdate:modelValue": (p) => n("toggle-filter-value", u.name, p)
|
|
12612
12612
|
}, null, 8, ["model-value", "val", "onUpdate:modelValue"]))
|
|
12613
12613
|
];
|
|
12614
12614
|
}),
|
|
@@ -12952,53 +12952,53 @@ function lr(e, t, n) {
|
|
|
12952
12952
|
metaTokens: !0,
|
|
12953
12953
|
dots: !1,
|
|
12954
12954
|
indexes: !1
|
|
12955
|
-
}, !1, function(
|
|
12956
|
-
return !R.isUndefined(m[
|
|
12955
|
+
}, !1, function(y, m) {
|
|
12956
|
+
return !R.isUndefined(m[y]);
|
|
12957
12957
|
});
|
|
12958
12958
|
const o = n.metaTokens, r = n.visitor || s, l = n.dots, a = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && R.isSpecCompliantForm(t);
|
|
12959
12959
|
if (!R.isFunction(r))
|
|
12960
12960
|
throw new TypeError("visitor must be a function");
|
|
12961
|
-
function c(
|
|
12962
|
-
if (
|
|
12963
|
-
if (R.isDate(
|
|
12964
|
-
return
|
|
12965
|
-
if (!u && R.isBlob(
|
|
12961
|
+
function c(p) {
|
|
12962
|
+
if (p === null) return "";
|
|
12963
|
+
if (R.isDate(p))
|
|
12964
|
+
return p.toISOString();
|
|
12965
|
+
if (!u && R.isBlob(p))
|
|
12966
12966
|
throw new Se("Blob is not supported. Use a Buffer instead.");
|
|
12967
|
-
return R.isArrayBuffer(
|
|
12968
|
-
}
|
|
12969
|
-
function s(
|
|
12970
|
-
let C =
|
|
12971
|
-
if (
|
|
12972
|
-
if (R.endsWith(
|
|
12973
|
-
|
|
12974
|
-
else if (R.isArray(
|
|
12975
|
-
return
|
|
12967
|
+
return R.isArrayBuffer(p) || R.isTypedArray(p) ? u && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
12968
|
+
}
|
|
12969
|
+
function s(p, y, m) {
|
|
12970
|
+
let C = p;
|
|
12971
|
+
if (p && !m && typeof p == "object") {
|
|
12972
|
+
if (R.endsWith(y, "{}"))
|
|
12973
|
+
y = o ? y : y.slice(0, -2), p = JSON.stringify(p);
|
|
12974
|
+
else if (R.isArray(p) && am(p) || (R.isFileList(p) || R.endsWith(y, "[]")) && (C = R.toArray(p)))
|
|
12975
|
+
return y = Ss(y), C.forEach(function(x, w) {
|
|
12976
12976
|
!(R.isUndefined(x) || x === null) && t.append(
|
|
12977
12977
|
// eslint-disable-next-line no-nested-ternary
|
|
12978
|
-
a === !0 ? Wa([
|
|
12978
|
+
a === !0 ? Wa([y], w, l) : a === null ? y : y + "[]",
|
|
12979
12979
|
c(x)
|
|
12980
12980
|
);
|
|
12981
12981
|
}), !1;
|
|
12982
12982
|
}
|
|
12983
|
-
return nl(
|
|
12983
|
+
return nl(p) ? !0 : (t.append(Wa(m, y, l), c(p)), !1);
|
|
12984
12984
|
}
|
|
12985
12985
|
const d = [], h = Object.assign(im, {
|
|
12986
12986
|
defaultVisitor: s,
|
|
12987
12987
|
convertValue: c,
|
|
12988
12988
|
isVisitable: nl
|
|
12989
12989
|
});
|
|
12990
|
-
function v(
|
|
12991
|
-
if (!R.isUndefined(
|
|
12992
|
-
if (d.indexOf(
|
|
12993
|
-
throw Error("Circular reference detected in " +
|
|
12994
|
-
d.push(
|
|
12990
|
+
function v(p, y) {
|
|
12991
|
+
if (!R.isUndefined(p)) {
|
|
12992
|
+
if (d.indexOf(p) !== -1)
|
|
12993
|
+
throw Error("Circular reference detected in " + y.join("."));
|
|
12994
|
+
d.push(p), R.forEach(p, function(C, S) {
|
|
12995
12995
|
(!(R.isUndefined(C) || C === null) && r.call(
|
|
12996
12996
|
t,
|
|
12997
12997
|
C,
|
|
12998
12998
|
R.isString(S) ? S.trim() : S,
|
|
12999
|
-
|
|
12999
|
+
y,
|
|
13000
13000
|
h
|
|
13001
|
-
)) === !0 && v(C,
|
|
13001
|
+
)) === !0 && v(C, y ? y.concat(S) : [S]);
|
|
13002
13002
|
}), d.pop();
|
|
13003
13003
|
}
|
|
13004
13004
|
}
|
|
@@ -13660,9 +13660,9 @@ const Es = (e) => {
|
|
|
13660
13660
|
const r = Es(e);
|
|
13661
13661
|
let l = r.data;
|
|
13662
13662
|
const a = kt.from(r.headers).normalize();
|
|
13663
|
-
let { responseType: i, onUploadProgress: u, onDownloadProgress: c } = r, s, d, h, v,
|
|
13664
|
-
function
|
|
13665
|
-
v && v(),
|
|
13663
|
+
let { responseType: i, onUploadProgress: u, onDownloadProgress: c } = r, s, d, h, v, p;
|
|
13664
|
+
function y() {
|
|
13665
|
+
v && v(), p && p(), r.cancelToken && r.cancelToken.unsubscribe(s), r.signal && r.signal.removeEventListener("abort", s);
|
|
13666
13666
|
}
|
|
13667
13667
|
let m = new XMLHttpRequest();
|
|
13668
13668
|
m.open(r.method.toUpperCase(), r.url, !0), m.timeout = r.timeout;
|
|
@@ -13680,9 +13680,9 @@ const Es = (e) => {
|
|
|
13680
13680
|
request: m
|
|
13681
13681
|
};
|
|
13682
13682
|
Ls(function(F) {
|
|
13683
|
-
n(F),
|
|
13683
|
+
n(F), y();
|
|
13684
13684
|
}, function(F) {
|
|
13685
|
-
o(F),
|
|
13685
|
+
o(F), y();
|
|
13686
13686
|
}, q), m = null;
|
|
13687
13687
|
}
|
|
13688
13688
|
"onloadend" in m ? m.onloadend = C : m.onreadystatechange = function() {
|
|
@@ -13702,7 +13702,7 @@ const Es = (e) => {
|
|
|
13702
13702
|
)), m = null;
|
|
13703
13703
|
}, l === void 0 && a.setContentType(null), "setRequestHeader" in m && R.forEach(a.toJSON(), function(w, q) {
|
|
13704
13704
|
m.setRequestHeader(q, w);
|
|
13705
|
-
}), R.isUndefined(r.withCredentials) || (m.withCredentials = !!r.withCredentials), i && i !== "json" && (m.responseType = r.responseType), c && ([h,
|
|
13705
|
+
}), R.isUndefined(r.withCredentials) || (m.withCredentials = !!r.withCredentials), i && i !== "json" && (m.responseType = r.responseType), c && ([h, p] = Yo(c, !0), m.addEventListener("progress", h)), u && m.upload && ([d, v] = Yo(u), m.upload.addEventListener("progress", d), m.upload.addEventListener("loadend", v)), (r.cancelToken || r.signal) && (s = (x) => {
|
|
13706
13706
|
m && (o(!x || x.type ? new Hn(null, e, m) : x), m.abort(), m = null);
|
|
13707
13707
|
}, r.cancelToken && r.cancelToken.subscribe(s), r.signal && (r.signal.aborted ? s() : r.signal.addEventListener("abort", s)));
|
|
13708
13708
|
const S = Mm(r.url);
|
|
@@ -13851,8 +13851,8 @@ const Im = async (e) => {
|
|
|
13851
13851
|
fetchOptions: h
|
|
13852
13852
|
} = Es(e);
|
|
13853
13853
|
c = c ? (c + "").toLowerCase() : "text";
|
|
13854
|
-
let v = Pm([r, l && l.toAbortSignal()], a),
|
|
13855
|
-
const
|
|
13854
|
+
let v = Pm([r, l && l.toAbortSignal()], a), p;
|
|
13855
|
+
const y = v && v.unsubscribe && (() => {
|
|
13856
13856
|
v.unsubscribe();
|
|
13857
13857
|
});
|
|
13858
13858
|
let m;
|
|
@@ -13873,7 +13873,7 @@ const Im = async (e) => {
|
|
|
13873
13873
|
}
|
|
13874
13874
|
R.isString(d) || (d = d ? "include" : "omit");
|
|
13875
13875
|
const C = "credentials" in Request.prototype;
|
|
13876
|
-
|
|
13876
|
+
p = new Request(t, {
|
|
13877
13877
|
...h,
|
|
13878
13878
|
signal: v,
|
|
13879
13879
|
method: n.toUpperCase(),
|
|
@@ -13882,9 +13882,9 @@ const Im = async (e) => {
|
|
|
13882
13882
|
duplex: "half",
|
|
13883
13883
|
credentials: C ? d : void 0
|
|
13884
13884
|
});
|
|
13885
|
-
let S = await fetch(
|
|
13885
|
+
let S = await fetch(p);
|
|
13886
13886
|
const x = rl && (c === "stream" || c === "response");
|
|
13887
|
-
if (rl && (i || x &&
|
|
13887
|
+
if (rl && (i || x && y)) {
|
|
13888
13888
|
const q = {};
|
|
13889
13889
|
["status", "statusText", "headers"].forEach((E) => {
|
|
13890
13890
|
q[E] = S[E];
|
|
@@ -13895,30 +13895,30 @@ const Im = async (e) => {
|
|
|
13895
13895
|
) || [];
|
|
13896
13896
|
S = new Response(
|
|
13897
13897
|
Ga(S.body, ei, F, () => {
|
|
13898
|
-
Q && Q(),
|
|
13898
|
+
Q && Q(), y && y();
|
|
13899
13899
|
}),
|
|
13900
13900
|
q
|
|
13901
13901
|
);
|
|
13902
13902
|
}
|
|
13903
13903
|
c = c || "text";
|
|
13904
13904
|
let w = await Qo[R.findKey(Qo, c) || "text"](S, e);
|
|
13905
|
-
return !x &&
|
|
13905
|
+
return !x && y && y(), await new Promise((q, D) => {
|
|
13906
13906
|
Ls(q, D, {
|
|
13907
13907
|
data: w,
|
|
13908
13908
|
headers: kt.from(S.headers),
|
|
13909
13909
|
status: S.status,
|
|
13910
13910
|
statusText: S.statusText,
|
|
13911
13911
|
config: e,
|
|
13912
|
-
request:
|
|
13912
|
+
request: p
|
|
13913
13913
|
});
|
|
13914
13914
|
});
|
|
13915
13915
|
} catch (C) {
|
|
13916
|
-
throw
|
|
13917
|
-
new Se("Network Error", Se.ERR_NETWORK, e,
|
|
13916
|
+
throw y && y(), C && C.name === "TypeError" && /Load failed|fetch/i.test(C.message) ? Object.assign(
|
|
13917
|
+
new Se("Network Error", Se.ERR_NETWORK, e, p),
|
|
13918
13918
|
{
|
|
13919
13919
|
cause: C.cause || C
|
|
13920
13920
|
}
|
|
13921
|
-
) : Se.from(C, C && C.code, e,
|
|
13921
|
+
) : Se.from(C, C && C.code, e, p);
|
|
13922
13922
|
}
|
|
13923
13923
|
}), ll = {
|
|
13924
13924
|
http: lm,
|
|
@@ -14090,41 +14090,41 @@ let gn = class {
|
|
|
14090
14090
|
);
|
|
14091
14091
|
l && R.forEach(
|
|
14092
14092
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
14093
|
-
(
|
|
14094
|
-
delete l[
|
|
14093
|
+
(p) => {
|
|
14094
|
+
delete l[p];
|
|
14095
14095
|
}
|
|
14096
14096
|
), n.headers = kt.concat(a, l);
|
|
14097
14097
|
const i = [];
|
|
14098
14098
|
let u = !0;
|
|
14099
|
-
this.interceptors.request.forEach(function(
|
|
14100
|
-
typeof
|
|
14099
|
+
this.interceptors.request.forEach(function(y) {
|
|
14100
|
+
typeof y.runWhen == "function" && y.runWhen(n) === !1 || (u = u && y.synchronous, i.unshift(y.fulfilled, y.rejected));
|
|
14101
14101
|
});
|
|
14102
14102
|
const c = [];
|
|
14103
|
-
this.interceptors.response.forEach(function(
|
|
14104
|
-
c.push(
|
|
14103
|
+
this.interceptors.response.forEach(function(y) {
|
|
14104
|
+
c.push(y.fulfilled, y.rejected);
|
|
14105
14105
|
});
|
|
14106
14106
|
let s, d = 0, h;
|
|
14107
14107
|
if (!u) {
|
|
14108
|
-
const
|
|
14109
|
-
for (
|
|
14110
|
-
s = s.then(
|
|
14108
|
+
const p = [ni.bind(this), void 0];
|
|
14109
|
+
for (p.unshift.apply(p, i), p.push.apply(p, c), h = p.length, s = Promise.resolve(n); d < h; )
|
|
14110
|
+
s = s.then(p[d++], p[d++]);
|
|
14111
14111
|
return s;
|
|
14112
14112
|
}
|
|
14113
14113
|
h = i.length;
|
|
14114
14114
|
let v = n;
|
|
14115
14115
|
for (d = 0; d < h; ) {
|
|
14116
|
-
const
|
|
14116
|
+
const p = i[d++], y = i[d++];
|
|
14117
14117
|
try {
|
|
14118
|
-
v =
|
|
14118
|
+
v = p(v);
|
|
14119
14119
|
} catch (m) {
|
|
14120
|
-
|
|
14120
|
+
y.call(this, m);
|
|
14121
14121
|
break;
|
|
14122
14122
|
}
|
|
14123
14123
|
}
|
|
14124
14124
|
try {
|
|
14125
14125
|
s = ni.call(this, v);
|
|
14126
|
-
} catch (
|
|
14127
|
-
return Promise.reject(
|
|
14126
|
+
} catch (p) {
|
|
14127
|
+
return Promise.reject(p);
|
|
14128
14128
|
}
|
|
14129
14129
|
for (d = 0, h = c.length; d < h; )
|
|
14130
14130
|
s = s.then(c[d++], c[d++]);
|
|
@@ -14369,11 +14369,7 @@ class tn {
|
|
|
14369
14369
|
},
|
|
14370
14370
|
(t) => Promise.reject(t)
|
|
14371
14371
|
), this.axiosInstance.interceptors.response.use(
|
|
14372
|
-
(t) =>
|
|
14373
|
-
var o;
|
|
14374
|
-
const n = t.data;
|
|
14375
|
-
return ((o = n == null ? void 0 : n.data) == null ? void 0 : o.filter_value) !== void 0 ? t : n;
|
|
14376
|
-
},
|
|
14372
|
+
(t) => t.data,
|
|
14377
14373
|
(t) => {
|
|
14378
14374
|
var n, o;
|
|
14379
14375
|
return (((n = t.response) == null ? void 0 : n.status) === 401 || ((o = t.response) == null ? void 0 : o.status) === 403) && this.logout(), Promise.reject(t);
|
|
@@ -14795,49 +14791,39 @@ function Z2() {
|
|
|
14795
14791
|
}
|
|
14796
14792
|
const K2 = (e) => {
|
|
14797
14793
|
const t = P({}), n = P({});
|
|
14798
|
-
e.columns.forEach(({ name:
|
|
14799
|
-
|
|
14794
|
+
e.columns.forEach(({ name: u, filterType: c }) => {
|
|
14795
|
+
c && (t.value[u] = c === "multi" ? [] : void 0, n.value[u] = !1);
|
|
14800
14796
|
});
|
|
14801
|
-
const o =
|
|
14802
|
-
() =>
|
|
14803
|
-
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
const v = o(s, d);
|
|
14807
|
-
return d.filterType === "single" ? v === h : Array.isArray(v) ? v.some((g) => h.includes(g)) : h.includes(v);
|
|
14808
|
-
})
|
|
14809
|
-
)
|
|
14810
|
-
), a = (s, d) => {
|
|
14811
|
-
const h = e.columns.find((v) => v.name === s);
|
|
14812
|
-
if ((h == null ? void 0 : h.filterType) === "multi") {
|
|
14813
|
-
const v = t.value[s], g = v.indexOf(d);
|
|
14814
|
-
g > -1 ? v.splice(g, 1) : v.push(d), t.value[s] = [...v];
|
|
14797
|
+
const o = f(() => Array.isArray(e.rows) ? e.rows : e.rows.value), r = (u, c) => {
|
|
14798
|
+
const s = e.columns.find((d) => d.name === u);
|
|
14799
|
+
if ((s == null ? void 0 : s.filterType) === "multi") {
|
|
14800
|
+
const d = t.value[u], h = d.indexOf(c);
|
|
14801
|
+
h > -1 ? d.splice(h, 1) : d.push(c), t.value[u] = [...d];
|
|
14815
14802
|
} else
|
|
14816
|
-
t.value[
|
|
14817
|
-
},
|
|
14818
|
-
var
|
|
14819
|
-
const
|
|
14820
|
-
for (const
|
|
14821
|
-
const
|
|
14822
|
-
|
|
14823
|
-
}
|
|
14824
|
-
return
|
|
14825
|
-
}),
|
|
14826
|
-
const
|
|
14827
|
-
t.value[
|
|
14828
|
-
},
|
|
14829
|
-
n.value[
|
|
14803
|
+
t.value[u] = c, n.value[u] = !1;
|
|
14804
|
+
}, l = f(() => {
|
|
14805
|
+
var c;
|
|
14806
|
+
const u = {};
|
|
14807
|
+
for (const s of e.columns) {
|
|
14808
|
+
const d = t.value[s.name], h = ((c = e.filtersOptions) == null ? void 0 : c.value[s.name]) || [];
|
|
14809
|
+
d && (u[s.name] = Array.isArray(d) ? h.filter((v) => d.includes(v.name)).map((v) => v.id) : h.filter((v) => v.name === d).map((v) => v.id));
|
|
14810
|
+
}
|
|
14811
|
+
return u;
|
|
14812
|
+
}), a = (u) => {
|
|
14813
|
+
const c = e.columns.find((s) => s.name === u);
|
|
14814
|
+
t.value[u] = (c == null ? void 0 : c.filterType) === "multi" ? [] : void 0;
|
|
14815
|
+
}, i = (u, c) => {
|
|
14816
|
+
n.value[u] = c;
|
|
14830
14817
|
};
|
|
14831
14818
|
return {
|
|
14832
|
-
rows:
|
|
14819
|
+
rows: o,
|
|
14833
14820
|
columns: f(() => e.columns),
|
|
14834
14821
|
columnFilters: t,
|
|
14835
14822
|
filterMenus: n,
|
|
14836
|
-
|
|
14837
|
-
|
|
14838
|
-
|
|
14839
|
-
|
|
14840
|
-
selectedFilters: i
|
|
14823
|
+
toggleFilterValue: r,
|
|
14824
|
+
clearFilter: a,
|
|
14825
|
+
openFilterMenu: i,
|
|
14826
|
+
selectedFilters: l
|
|
14841
14827
|
};
|
|
14842
14828
|
}, X2 = (e, t) => ({
|
|
14843
14829
|
message: t,
|