@selfeesas/shared-components 0.4.15 → 0.4.16
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.
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { computed as ee, markRaw as Ca, defineComponent as Ut, reactive as Kr, h as ne, withDirectives as
|
|
1
|
+
import { computed as ee, markRaw as Ca, defineComponent as Ut, reactive as Kr, h as ne, withDirectives as Jr, getCurrentInstance as dt, useAttrs as Hi, createBlock as _t, openBlock as Ze, mergeProps as ar, withCtx as et, createElementBlock as Ct, Fragment as Kt, renderList as ir, createVNode as st, unref as It, ref as Se, onBeforeUnmount as Rt, Transition as ur, inject as Sr, createCommentVNode as nr, toRaw as Nr, onMounted as Qt, nextTick as Et, watch as We, onDeactivated as jr, onActivated as mn, onUnmounted as Aa, Teleport as qo, onBeforeUpdate as Ea, onBeforeMount as Yi, onUpdated as zo, normalizeStyle as Zt, normalizeClass as Zr, resolveComponent as Vo, renderSlot as Tr, createElementVNode as ot, toDisplayString as Vt, provide as Qi, useSlots as Uo, withModifiers as Yr, createTextVNode as Cn, mergeDefaults as Wo } from "vue";
|
|
2
2
|
const Ti = {
|
|
3
3
|
xs: 18,
|
|
4
4
|
sm: 24,
|
|
5
5
|
md: 32,
|
|
6
6
|
lg: 38,
|
|
7
7
|
xl: 46
|
|
8
|
-
},
|
|
8
|
+
}, tn = {
|
|
9
9
|
size: String
|
|
10
10
|
};
|
|
11
|
-
function
|
|
11
|
+
function rn(l, B = Ti) {
|
|
12
12
|
return ee(() => l.size !== void 0 ? { fontSize: l.size in B ? `${B[l.size]}px` : l.size } : null);
|
|
13
13
|
}
|
|
14
14
|
function sr(l, B, t, v) {
|
|
@@ -62,7 +62,7 @@ function Ma(l, B) {
|
|
|
62
62
|
function Qo(l, B, t, v, m, f) {
|
|
63
63
|
B.key = v + m;
|
|
64
64
|
const a = ne(l, B, t);
|
|
65
|
-
return m === !0 ?
|
|
65
|
+
return m === !0 ? Jr(a, f()) : a;
|
|
66
66
|
}
|
|
67
67
|
const ks = "0 0 24 24", ui = (l) => l, ci = (l) => `ionicons ${l}`, Ta = {
|
|
68
68
|
"mdi-": (l) => `mdi ${l}`,
|
|
@@ -89,7 +89,7 @@ const ks = "0 0 24 24", ui = (l) => l, ci = (l) => `ionicons ${l}`, Ta = {
|
|
|
89
89
|
}, Ko = new RegExp("^(" + Object.keys(Ta).join("|") + ")"), Xo = new RegExp("^(" + Object.keys(Ra).join("|") + ")"), Cs = new RegExp("^(" + Object.keys(Oa).join("|") + ")"), Go = /^[Mm]\s?[-+]?\.?\d/, Jo = /^img:/, Zo = /^svguse:/, $o = /^ion-/, el = /^(fa-(classic|sharp|solid|regular|light|brands|duotone|thin)|[lf]a[srlbdk]?) /, Pt = lt({
|
|
90
90
|
name: "QIcon",
|
|
91
91
|
props: {
|
|
92
|
-
...
|
|
92
|
+
...tn,
|
|
93
93
|
tag: {
|
|
94
94
|
type: String,
|
|
95
95
|
default: "i"
|
|
@@ -100,7 +100,7 @@ const ks = "0 0 24 24", ui = (l) => l, ci = (l) => `ionicons ${l}`, Ta = {
|
|
|
100
100
|
right: Boolean
|
|
101
101
|
},
|
|
102
102
|
setup(l, { slots: B }) {
|
|
103
|
-
const { proxy: { $q: t } } = dt(), v =
|
|
103
|
+
const { proxy: { $q: t } } = dt(), v = rn(l), m = ee(
|
|
104
104
|
() => "q-icon" + (l.left === !0 ? " on-left" : "") + (l.right === !0 ? " on-right" : "") + (l.color !== void 0 ? ` text-${l.color}` : "")
|
|
105
105
|
), f = ee(() => {
|
|
106
106
|
let a, o = l.name;
|
|
@@ -622,7 +622,7 @@ function ri() {
|
|
|
622
622
|
function dl(l) {
|
|
623
623
|
return l.button === 0;
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function fn(l) {
|
|
626
626
|
return l.touches && l.touches[0] ? l = l.touches[0] : l.changedTouches && l.changedTouches[0] ? l = l.changedTouches[0] : l.targetTouches && l.targetTouches[0] && (l = l.targetTouches[0]), {
|
|
627
627
|
top: l.clientY,
|
|
628
628
|
left: l.clientX
|
|
@@ -691,7 +691,7 @@ function Ts(l, B, t, v) {
|
|
|
691
691
|
const m = t.modifiers.color;
|
|
692
692
|
let f = t.modifiers.center;
|
|
693
693
|
f = f === !0 || v === !0;
|
|
694
|
-
const a = document.createElement("span"), o = document.createElement("span"), n =
|
|
694
|
+
const a = document.createElement("span"), o = document.createElement("span"), n = fn(l), { left: e, top: r, width: u, height: s } = B.getBoundingClientRect(), i = Math.sqrt(u * u + s * s), d = i / 2, h = `${(u - i) / 2}px`, c = f ? h : `${n.left - e - d}px`, g = `${(s - i) / 2}px`, p = f ? g : `${n.top - r - d}px`;
|
|
695
695
|
o.className = "q-ripple__inner", Ri(o, {
|
|
696
696
|
height: `${i}px`,
|
|
697
697
|
width: `${i}px`,
|
|
@@ -776,7 +776,7 @@ function yl(l, B) {
|
|
|
776
776
|
return l.flat === !0 ? "flat" : l.outline === !0 ? "outline" : l.push === !0 ? "push" : l.unelevated === !0 ? "unelevated" : B;
|
|
777
777
|
}
|
|
778
778
|
const wl = {
|
|
779
|
-
...
|
|
779
|
+
...tn,
|
|
780
780
|
...Ba,
|
|
781
781
|
type: {
|
|
782
782
|
type: String,
|
|
@@ -822,7 +822,7 @@ const wl = {
|
|
|
822
822
|
round: Boolean
|
|
823
823
|
};
|
|
824
824
|
function Sl(l) {
|
|
825
|
-
const B =
|
|
825
|
+
const B = rn(l, ml), t = Da(l), { hasRouterLink: v, hasLink: m, linkTag: f, linkAttrs: a, navigateOnClick: o } = Zi({
|
|
826
826
|
fallbackTag: "button"
|
|
827
827
|
}), n = ee(() => {
|
|
828
828
|
const c = l.fab === !1 && l.fabMini === !1 ? B.value : {};
|
|
@@ -1022,7 +1022,7 @@ const Bt = lt({
|
|
|
1022
1022
|
class: "absolute-full flex flex-center"
|
|
1023
1023
|
}, B.loading !== void 0 ? B.loading() : [ne(La)])
|
|
1024
1024
|
] : null)
|
|
1025
|
-
),
|
|
1025
|
+
), Jr(
|
|
1026
1026
|
ne(
|
|
1027
1027
|
e.value,
|
|
1028
1028
|
j.value,
|
|
@@ -1146,7 +1146,7 @@ const El = {
|
|
|
1146
1146
|
xl: 60
|
|
1147
1147
|
}, Ml = {
|
|
1148
1148
|
...Xt,
|
|
1149
|
-
...
|
|
1149
|
+
...tn,
|
|
1150
1150
|
...ni,
|
|
1151
1151
|
modelValue: {
|
|
1152
1152
|
required: !0,
|
|
@@ -1173,7 +1173,7 @@ const El = {
|
|
|
1173
1173
|
tabindex: [String, Number]
|
|
1174
1174
|
}, Tl = ["update:modelValue"];
|
|
1175
1175
|
function Rl(l, B) {
|
|
1176
|
-
const { props: t, slots: v, emit: m, proxy: f } = dt(), { $q: a } = f, o = Gt(t, a), n = Se(null), { refocusTargetEl: e, refocusTarget: r } = Cl(t, n), u =
|
|
1176
|
+
const { props: t, slots: v, emit: m, proxy: f } = dt(), { $q: a } = f, o = Gt(t, a), n = Se(null), { refocusTargetEl: e, refocusTarget: r } = Cl(t, n), u = rn(t, El), s = ee(
|
|
1177
1177
|
() => t.val !== void 0 && Array.isArray(t.modelValue)
|
|
1178
1178
|
), i = ee(() => {
|
|
1179
1179
|
const N = Nr(t.val);
|
|
@@ -1324,7 +1324,7 @@ const Ol = () => ne("div", {
|
|
|
1324
1324
|
"aria-hidden": "true",
|
|
1325
1325
|
onMousedown: l.store.onHorizontalMousedown
|
|
1326
1326
|
}),
|
|
1327
|
-
|
|
1327
|
+
Jr(
|
|
1328
1328
|
ne("div", {
|
|
1329
1329
|
ref: l.store.scroll.vertical.ref,
|
|
1330
1330
|
class: l.store.scroll.vertical.thumbClass.value,
|
|
@@ -1333,7 +1333,7 @@ const Ol = () => ne("div", {
|
|
|
1333
1333
|
}),
|
|
1334
1334
|
l.store.thumbVertDir
|
|
1335
1335
|
),
|
|
1336
|
-
|
|
1336
|
+
Jr(
|
|
1337
1337
|
ne("div", {
|
|
1338
1338
|
ref: l.store.scroll.horizontal.ref,
|
|
1339
1339
|
class: l.store.scroll.horizontal.thumbClass.value,
|
|
@@ -1461,7 +1461,7 @@ function Dl() {
|
|
|
1461
1461
|
const Wa = typeof ResizeObserver < "u", Bs = Wa === !0 ? {} : {
|
|
1462
1462
|
style: "display:block;position:absolute;top:0;left:0;right:0;bottom:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1;",
|
|
1463
1463
|
url: "about:blank"
|
|
1464
|
-
},
|
|
1464
|
+
}, $r = lt({
|
|
1465
1465
|
name: "QResizeObserver",
|
|
1466
1466
|
props: {
|
|
1467
1467
|
debounce: {
|
|
@@ -1587,10 +1587,10 @@ function di(l, B, t) {
|
|
|
1587
1587
|
}
|
|
1588
1588
|
ji(l, B);
|
|
1589
1589
|
}
|
|
1590
|
-
let
|
|
1590
|
+
let An;
|
|
1591
1591
|
function zn() {
|
|
1592
|
-
if (
|
|
1593
|
-
return
|
|
1592
|
+
if (An !== void 0)
|
|
1593
|
+
return An;
|
|
1594
1594
|
const l = document.createElement("p"), B = document.createElement("div");
|
|
1595
1595
|
Ri(l, {
|
|
1596
1596
|
width: "100%",
|
|
@@ -1607,7 +1607,7 @@ function zn() {
|
|
|
1607
1607
|
const t = l.offsetWidth;
|
|
1608
1608
|
B.style.overflow = "scroll";
|
|
1609
1609
|
let v = l.offsetWidth;
|
|
1610
|
-
return t === v && (v = B.clientWidth), B.remove(),
|
|
1610
|
+
return t === v && (v = B.clientWidth), B.remove(), An = t - v, An;
|
|
1611
1611
|
}
|
|
1612
1612
|
function Nl(l, B = !0) {
|
|
1613
1613
|
return !l || l.nodeType !== Node.ELEMENT_NODE ? !1 : B ? l.scrollHeight > l.clientHeight && (l.classList.contains("scroll") || l.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(l)["overflow-y"])) : l.scrollWidth > l.clientWidth && (l.classList.contains("scroll") || l.classList.contains("overflow-auto") || ["auto", "scroll"].includes(window.getComputedStyle(l)["overflow-x"]));
|
|
@@ -1707,7 +1707,7 @@ function Yn() {
|
|
|
1707
1707
|
} else document.selection !== void 0 && document.selection.empty();
|
|
1708
1708
|
}
|
|
1709
1709
|
function hi(l, B, t) {
|
|
1710
|
-
const v =
|
|
1710
|
+
const v = fn(l);
|
|
1711
1711
|
let m, f = v.left - B.event.x, a = v.top - B.event.y, o = Math.abs(f), n = Math.abs(a);
|
|
1712
1712
|
const e = B.direction;
|
|
1713
1713
|
e.horizontal === !0 && e.vertical !== !0 ? m = f < 0 ? "left" : "right" : e.horizontal !== !0 && e.vertical === !0 ? m = a < 0 ? "up" : "down" : e.up === !0 && a < 0 ? (m = "up", o > n && (e.left === !0 && f < 0 ? m = "left" : e.right === !0 && f > 0 && (m = "right"))) : e.down === !0 && a > 0 ? (m = "down", o > n && (e.left === !0 && f < 0 ? m = "left" : e.right === !0 && f > 0 && (m = "right"))) : e.left === !0 && f < 0 ? (m = "left", o < n && (e.up === !0 && a < 0 ? m = "up" : e.down === !0 && a > 0 && (m = "down"))) : e.right === !0 && f > 0 && (m = "right", o < n && (e.up === !0 && a < 0 ? m = "up" : e.down === !0 && a > 0 && (m = "down")));
|
|
@@ -1790,7 +1790,7 @@ const Ls = Ki(
|
|
|
1790
1790
|
}
|
|
1791
1791
|
$t(f);
|
|
1792
1792
|
}
|
|
1793
|
-
const { left: o, top: n } =
|
|
1793
|
+
const { left: o, top: n } = fn(f);
|
|
1794
1794
|
m.event = {
|
|
1795
1795
|
x: o,
|
|
1796
1796
|
y: n,
|
|
@@ -1805,7 +1805,7 @@ const Ls = Ki(
|
|
|
1805
1805
|
},
|
|
1806
1806
|
move(f) {
|
|
1807
1807
|
if (m.event === void 0) return;
|
|
1808
|
-
const a =
|
|
1808
|
+
const a = fn(f), o = a.left - m.event.x, n = a.top - m.event.y;
|
|
1809
1809
|
if (o === 0 && n === 0) return;
|
|
1810
1810
|
m.lastEvt = f;
|
|
1811
1811
|
const e = m.event.mouse === !0, r = () => {
|
|
@@ -1875,7 +1875,7 @@ const Ls = Ki(
|
|
|
1875
1875
|
function Wl(l) {
|
|
1876
1876
|
return l.charAt(0).toUpperCase() + l.slice(1);
|
|
1877
1877
|
}
|
|
1878
|
-
function
|
|
1878
|
+
function sn(l, B, t) {
|
|
1879
1879
|
return t <= B ? B : Math.min(t, Math.max(B, l));
|
|
1880
1880
|
}
|
|
1881
1881
|
function Ns(l, B, t) {
|
|
@@ -1968,11 +1968,11 @@ const qs = ["vertical", "horizontal"], pi = {
|
|
|
1968
1968
|
const E = o.vertical.size.value - a.vertical.value;
|
|
1969
1969
|
if (E <= 0)
|
|
1970
1970
|
return 0;
|
|
1971
|
-
const _ =
|
|
1971
|
+
const _ = sn(o.vertical.position.value / E, 0, 1);
|
|
1972
1972
|
return Math.round(_ * 1e4) / 1e4;
|
|
1973
1973
|
}), o.vertical.thumbHidden = ee(() => (l.visible === null ? f.value : l.visible) !== !0 && v.value === !1 && m.value === !1 || o.vertical.size.value <= a.vertical.value + 1), o.vertical.thumbStart = ee(() => l.verticalOffset[0] + o.vertical.percentage.value * (a.verticalInner.value - o.vertical.thumbSize.value)), o.vertical.thumbSize = ee(
|
|
1974
1974
|
() => Math.round(
|
|
1975
|
-
|
|
1975
|
+
sn(
|
|
1976
1976
|
a.verticalInner.value * a.verticalInner.value / o.vertical.size.value,
|
|
1977
1977
|
Vs(a.verticalInner.value),
|
|
1978
1978
|
a.verticalInner.value
|
|
@@ -1988,11 +1988,11 @@ const qs = ["vertical", "horizontal"], pi = {
|
|
|
1988
1988
|
const E = o.horizontal.size.value - a.horizontal.value;
|
|
1989
1989
|
if (E <= 0)
|
|
1990
1990
|
return 0;
|
|
1991
|
-
const _ =
|
|
1991
|
+
const _ = sn(Math.abs(o.horizontal.position.value) / E, 0, 1);
|
|
1992
1992
|
return Math.round(_ * 1e4) / 1e4;
|
|
1993
1993
|
}), o.horizontal.thumbHidden = ee(() => (l.visible === null ? f.value : l.visible) !== !0 && v.value === !1 && m.value === !1 || o.horizontal.size.value <= a.horizontal.value + 1), o.horizontal.thumbStart = ee(() => l.horizontalOffset[0] + o.horizontal.percentage.value * (a.horizontalInner.value - o.horizontal.thumbSize.value)), o.horizontal.thumbSize = ee(
|
|
1994
1994
|
() => Math.round(
|
|
1995
|
-
|
|
1995
|
+
sn(
|
|
1996
1996
|
a.horizontalInner.value * a.horizontalInner.value / o.horizontal.size.value,
|
|
1997
1997
|
Vs(a.horizontalInner.value),
|
|
1998
1998
|
a.horizontalInner.value
|
|
@@ -2057,7 +2057,7 @@ const qs = ["vertical", "horizontal"], pi = {
|
|
|
2057
2057
|
if (b.thumbHidden.value !== !0) {
|
|
2058
2058
|
const y = _ === "vertical" ? l.verticalOffset[0] : l.horizontalOffset[0], w = E[pi[_].offset] - y, x = b.thumbStart.value - y;
|
|
2059
2059
|
if (w < x || w > x + b.thumbSize.value) {
|
|
2060
|
-
const A = w - b.thumbSize.value / 2, R =
|
|
2060
|
+
const A = w - b.thumbSize.value / 2, R = sn(A / (a[_ + "Inner"].value - b.thumbSize.value), 0, 1);
|
|
2061
2061
|
P(R * Math.max(0, b.size.value - a[_].value), _);
|
|
2062
2062
|
}
|
|
2063
2063
|
b.ref.value !== null && b.ref.value.dispatchEvent(new MouseEvent(E.type, E));
|
|
@@ -2091,7 +2091,7 @@ const qs = ["vertical", "horizontal"], pi = {
|
|
|
2091
2091
|
top: o.vertical.position.value,
|
|
2092
2092
|
left: o.horizontal.position.value
|
|
2093
2093
|
};
|
|
2094
|
-
}),
|
|
2094
|
+
}), mn(() => {
|
|
2095
2095
|
if (N === null) return;
|
|
2096
2096
|
const E = s.value;
|
|
2097
2097
|
E !== null && (di(E, N.left), js(E, N.top));
|
|
@@ -2154,7 +2154,7 @@ const qs = ["vertical", "horizontal"], pi = {
|
|
|
2154
2154
|
class: "q-scrollarea__content absolute",
|
|
2155
2155
|
style: d.value
|
|
2156
2156
|
}, tr(B.default, [
|
|
2157
|
-
ne(
|
|
2157
|
+
ne($r, {
|
|
2158
2158
|
debounce: 0,
|
|
2159
2159
|
onResize: k
|
|
2160
2160
|
})
|
|
@@ -2164,7 +2164,7 @@ const qs = ["vertical", "horizontal"], pi = {
|
|
|
2164
2164
|
onScroll: S
|
|
2165
2165
|
})
|
|
2166
2166
|
]),
|
|
2167
|
-
ne(
|
|
2167
|
+
ne($r, {
|
|
2168
2168
|
debounce: 0,
|
|
2169
2169
|
onResize: p
|
|
2170
2170
|
}),
|
|
@@ -2383,18 +2383,18 @@ function ls({
|
|
|
2383
2383
|
const g = { show: s, hide: d, toggle: u };
|
|
2384
2384
|
return Object.assign(e, g), g;
|
|
2385
2385
|
}
|
|
2386
|
-
let Mr = [],
|
|
2386
|
+
let Mr = [], dn = [];
|
|
2387
2387
|
function Za(l) {
|
|
2388
|
-
|
|
2388
|
+
dn = dn.filter((B) => B !== l);
|
|
2389
2389
|
}
|
|
2390
2390
|
function Yl(l) {
|
|
2391
|
-
Za(l),
|
|
2391
|
+
Za(l), dn.push(l);
|
|
2392
2392
|
}
|
|
2393
2393
|
function Us(l) {
|
|
2394
|
-
Za(l),
|
|
2394
|
+
Za(l), dn.length === 0 && Mr.length !== 0 && (Mr[Mr.length - 1](), Mr = []);
|
|
2395
2395
|
}
|
|
2396
|
-
function
|
|
2397
|
-
|
|
2396
|
+
function gn(l) {
|
|
2397
|
+
dn.length === 0 ? l() : Mr.push(l);
|
|
2398
2398
|
}
|
|
2399
2399
|
function Ql(l) {
|
|
2400
2400
|
Mr = Mr.filter((B) => B !== l);
|
|
@@ -2412,9 +2412,9 @@ function Gl(l, B) {
|
|
|
2412
2412
|
function Jl(l) {
|
|
2413
2413
|
l.remove();
|
|
2414
2414
|
}
|
|
2415
|
-
const
|
|
2415
|
+
const Xr = [];
|
|
2416
2416
|
function Zl(l) {
|
|
2417
|
-
return
|
|
2417
|
+
return Xr.find(
|
|
2418
2418
|
(B) => B.contentEl !== null && B.contentEl.contains(l)
|
|
2419
2419
|
);
|
|
2420
2420
|
}
|
|
@@ -2467,13 +2467,13 @@ function us(l, B, t, v) {
|
|
|
2467
2467
|
Us(o), f.value = !0;
|
|
2468
2468
|
return;
|
|
2469
2469
|
}
|
|
2470
|
-
f.value = !1, m.value === !1 && (n === !1 && a === null && (a = Gl(!1, v)), m.value = !0,
|
|
2470
|
+
f.value = !1, m.value === !1 && (n === !1 && a === null && (a = Gl(!1, v)), m.value = !0, Xr.push(l.proxy), Yl(o));
|
|
2471
2471
|
}
|
|
2472
2472
|
function r(u) {
|
|
2473
2473
|
if (f.value = !1, u !== !0) return;
|
|
2474
2474
|
Us(o), m.value = !1;
|
|
2475
|
-
const s =
|
|
2476
|
-
s !== -1 &&
|
|
2475
|
+
const s = Xr.indexOf(l.proxy);
|
|
2476
|
+
s !== -1 && Xr.splice(s, 1), a !== null && (Jl(a), a = null);
|
|
2477
2477
|
}
|
|
2478
2478
|
return Aa(() => {
|
|
2479
2479
|
r(!0);
|
|
@@ -2485,7 +2485,7 @@ function us(l, B, t, v) {
|
|
|
2485
2485
|
renderPortal: () => n === !0 ? t() : m.value === !0 ? [ne(qo, { to: a }, ne(eu, t))] : void 0
|
|
2486
2486
|
};
|
|
2487
2487
|
}
|
|
2488
|
-
const
|
|
2488
|
+
const cn = {
|
|
2489
2489
|
transitionShow: {
|
|
2490
2490
|
type: String,
|
|
2491
2491
|
default: "fade"
|
|
@@ -2549,18 +2549,18 @@ function ds() {
|
|
|
2549
2549
|
};
|
|
2550
2550
|
}
|
|
2551
2551
|
const Or = [];
|
|
2552
|
-
let
|
|
2552
|
+
let en;
|
|
2553
2553
|
function ru(l) {
|
|
2554
|
-
|
|
2554
|
+
en = l.keyCode === 27;
|
|
2555
2555
|
}
|
|
2556
2556
|
function nu() {
|
|
2557
|
-
|
|
2557
|
+
en === !0 && (en = !1);
|
|
2558
2558
|
}
|
|
2559
2559
|
function iu(l) {
|
|
2560
|
-
|
|
2560
|
+
en === !0 && (en = !1, _r(l, 27) === !0 && Or[Or.length - 1](l));
|
|
2561
2561
|
}
|
|
2562
2562
|
function eo(l) {
|
|
2563
|
-
window[l]("keydown", ru), window[l]("blur", nu), window[l]("keyup", iu),
|
|
2563
|
+
window[l]("keydown", ru), window[l]("blur", nu), window[l]("keyup", iu), en = !1;
|
|
2564
2564
|
}
|
|
2565
2565
|
function to(l) {
|
|
2566
2566
|
qt.is.desktop === !0 && (Or.push(l), Or.length === 1 && eo("addEventListener"));
|
|
@@ -2584,9 +2584,9 @@ const { notPassiveCapture: Kn } = Dt, Br = [];
|
|
|
2584
2584
|
function Xn(l) {
|
|
2585
2585
|
const B = l.target;
|
|
2586
2586
|
if (B === void 0 || B.nodeType === 8 || B.classList.contains("no-pointer-events") === !0) return;
|
|
2587
|
-
let t =
|
|
2587
|
+
let t = Xr.length - 1;
|
|
2588
2588
|
for (; t >= 0; ) {
|
|
2589
|
-
const v =
|
|
2589
|
+
const v = Xr[t].$;
|
|
2590
2590
|
if (v.type.name === "QTooltip") {
|
|
2591
2591
|
t--;
|
|
2592
2592
|
continue;
|
|
@@ -2777,7 +2777,7 @@ const ai = lt({
|
|
|
2777
2777
|
...Ga,
|
|
2778
2778
|
...as,
|
|
2779
2779
|
...Xt,
|
|
2780
|
-
...
|
|
2780
|
+
...cn,
|
|
2781
2781
|
persistent: Boolean,
|
|
2782
2782
|
autoClose: Boolean,
|
|
2783
2783
|
separateClosePopup: Boolean,
|
|
@@ -2849,14 +2849,14 @@ const ai = lt({
|
|
|
2849
2849
|
T === !0 ? (to(F), io(C)) : (Qn(F), Gn(C));
|
|
2850
2850
|
});
|
|
2851
2851
|
function x() {
|
|
2852
|
-
|
|
2852
|
+
gn(() => {
|
|
2853
2853
|
let T = u.value;
|
|
2854
2854
|
T && T.contains(document.activeElement) !== !0 && (T = T.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || T.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || T.querySelector("[autofocus], [data-autofocus]") || T, T.focus({ preventScroll: !0 }));
|
|
2855
2855
|
});
|
|
2856
2856
|
}
|
|
2857
2857
|
function A(T) {
|
|
2858
2858
|
if (m = l.noRefocus === !1 ? document.activeElement : null, no(Q), L(), U(), f = void 0, T !== void 0 && (l.touchPosition || l.contextMenu)) {
|
|
2859
|
-
const z =
|
|
2859
|
+
const z = fn(T);
|
|
2860
2860
|
if (z.left !== void 0) {
|
|
2861
2861
|
const { top: Y, left: Z } = q.value.getBoundingClientRect();
|
|
2862
2862
|
f = { left: z.left - Z, top: z.top - Y };
|
|
@@ -2930,7 +2930,7 @@ const ai = lt({
|
|
|
2930
2930
|
return Rt(O), Object.assign(e, { focus: x, updatePosition: H }), N;
|
|
2931
2931
|
}
|
|
2932
2932
|
});
|
|
2933
|
-
let gi,
|
|
2933
|
+
let gi, En = 0;
|
|
2934
2934
|
const zt = new Array(256);
|
|
2935
2935
|
for (let l = 0; l < 256; l++)
|
|
2936
2936
|
zt[l] = (l + 256).toString(16).substring(1);
|
|
@@ -2953,8 +2953,8 @@ const lu = (() => {
|
|
|
2953
2953
|
};
|
|
2954
2954
|
})(), Ks = 4096;
|
|
2955
2955
|
function Di() {
|
|
2956
|
-
(gi === void 0 ||
|
|
2957
|
-
const l = Array.prototype.slice.call(gi,
|
|
2956
|
+
(gi === void 0 || En + 16 > Ks) && (En = 0, gi = lu(Ks));
|
|
2957
|
+
const l = Array.prototype.slice.call(gi, En, En += 16);
|
|
2958
2958
|
return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, zt[l[0]] + zt[l[1]] + zt[l[2]] + zt[l[3]] + "-" + zt[l[4]] + zt[l[5]] + "-" + zt[l[6]] + zt[l[7]] + "-" + zt[l[8]] + zt[l[9]] + "-" + zt[l[10]] + zt[l[11]] + zt[l[12]] + zt[l[13]] + zt[l[14]] + zt[l[15]];
|
|
2959
2959
|
}
|
|
2960
2960
|
function uu(l) {
|
|
@@ -2990,7 +2990,7 @@ function fu() {
|
|
|
2990
2990
|
}
|
|
2991
2991
|
return Ea(v), v(), t;
|
|
2992
2992
|
}
|
|
2993
|
-
const
|
|
2993
|
+
const bn = "_q_l_", ao = "_q_pc_", oo = "_q_fo_";
|
|
2994
2994
|
function Ht() {
|
|
2995
2995
|
}
|
|
2996
2996
|
function du({ validate: l, resetValidation: B, requiresQForm: t }) {
|
|
@@ -3006,7 +3006,7 @@ function du({ validate: l, resetValidation: B, requiresQForm: t }) {
|
|
|
3006
3006
|
});
|
|
3007
3007
|
} else t === !0 && console.error("Parent QForm not found on useFormChild()!");
|
|
3008
3008
|
}
|
|
3009
|
-
const Js = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, Zs = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, $s = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/,
|
|
3009
|
+
const Js = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, Zs = /^#[0-9a-fA-F]{4}([0-9a-fA-F]{4})?$/, $s = /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/, Mn = /^rgb\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5])\)$/, Tn = /^rgba\(((0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),){2}(0|[1-9][\d]?|1[\d]{0,2}|2[\d]?|2[0-4][\d]|25[0-5]),(0|0\.[0-9]+[1-9]|0\.[1-9]+|1)\)$/, bi = {
|
|
3010
3010
|
date: (l) => /^-?[\d]+\/[0-1]\d\/[0-3]\d$/.test(l),
|
|
3011
3011
|
time: (l) => /^([0-1]?\d|2[0-3]):[0-5]\d$/.test(l),
|
|
3012
3012
|
fulltime: (l) => /^([0-1]?\d|2[0-3]):[0-5]\d:[0-5]\d$/.test(l),
|
|
@@ -3021,12 +3021,12 @@ const Js = /^#[0-9a-fA-F]{3}([0-9a-fA-F]{3})?$/, Zs = /^#[0-9a-fA-F]{4}([0-9a-fA
|
|
|
3021
3021
|
hexColor: (l) => Js.test(l),
|
|
3022
3022
|
hexaColor: (l) => Zs.test(l),
|
|
3023
3023
|
hexOrHexaColor: (l) => $s.test(l),
|
|
3024
|
-
rgbColor: (l) =>
|
|
3025
|
-
rgbaColor: (l) =>
|
|
3026
|
-
rgbOrRgbaColor: (l) =>
|
|
3027
|
-
hexOrRgbColor: (l) => Js.test(l) ||
|
|
3028
|
-
hexaOrRgbaColor: (l) => Zs.test(l) ||
|
|
3029
|
-
anyColor: (l) => $s.test(l) ||
|
|
3024
|
+
rgbColor: (l) => Mn.test(l),
|
|
3025
|
+
rgbaColor: (l) => Tn.test(l),
|
|
3026
|
+
rgbOrRgbaColor: (l) => Mn.test(l) || Tn.test(l),
|
|
3027
|
+
hexOrRgbColor: (l) => Js.test(l) || Mn.test(l),
|
|
3028
|
+
hexaOrRgbaColor: (l) => Zs.test(l) || Tn.test(l),
|
|
3029
|
+
anyColor: (l) => $s.test(l) || Mn.test(l) || Tn.test(l)
|
|
3030
3030
|
}, hu = [!0, !1, "ondemand"], pu = {
|
|
3031
3031
|
modelValue: {},
|
|
3032
3032
|
error: {
|
|
@@ -3105,7 +3105,7 @@ function mu(l, B) {
|
|
|
3105
3105
|
resetValidation: d
|
|
3106
3106
|
};
|
|
3107
3107
|
}
|
|
3108
|
-
function
|
|
3108
|
+
function hn(l) {
|
|
3109
3109
|
return l != null && ("" + l).length !== 0;
|
|
3110
3110
|
}
|
|
3111
3111
|
const gu = {
|
|
@@ -3187,7 +3187,7 @@ function ms({ requiredForAttr: l = !0, tagProp: B, changeEvent: t = !1 } = {}) {
|
|
|
3187
3187
|
function gs(l) {
|
|
3188
3188
|
const { props: B, emit: t, slots: v, attrs: m, proxy: f } = dt(), { $q: a } = f;
|
|
3189
3189
|
let o = null;
|
|
3190
|
-
l.hasValue === void 0 && (l.hasValue = ee(() =>
|
|
3190
|
+
l.hasValue === void 0 && (l.hasValue = ee(() => hn(B.modelValue))), l.emitValue === void 0 && (l.emitValue = (w) => {
|
|
3191
3191
|
t("update:modelValue", w);
|
|
3192
3192
|
}), l.controlEvents === void 0 && (l.controlEvents = {
|
|
3193
3193
|
onFocusin: D,
|
|
@@ -3236,7 +3236,7 @@ function gs(l) {
|
|
|
3236
3236
|
x && (w === null || w.id !== l.targetUid.value) && (x.hasAttribute("tabindex") === !0 || (x = x.querySelector("[tabindex]")), x !== w && x?.focus({ preventScroll: !0 }));
|
|
3237
3237
|
}
|
|
3238
3238
|
function q() {
|
|
3239
|
-
|
|
3239
|
+
gn(j);
|
|
3240
3240
|
}
|
|
3241
3241
|
function P() {
|
|
3242
3242
|
Ql(j);
|
|
@@ -3360,7 +3360,7 @@ function gs(l) {
|
|
|
3360
3360
|
let y = !1;
|
|
3361
3361
|
return jr(() => {
|
|
3362
3362
|
y = !0;
|
|
3363
|
-
}),
|
|
3363
|
+
}), mn(() => {
|
|
3364
3364
|
y === !0 && B.autofocus === !0 && f.focus();
|
|
3365
3365
|
}), B.autofocus === !0 && Qt(() => {
|
|
3366
3366
|
f.focus();
|
|
@@ -3429,7 +3429,7 @@ const bu = lt({
|
|
|
3429
3429
|
name: "QChip",
|
|
3430
3430
|
props: {
|
|
3431
3431
|
...Xt,
|
|
3432
|
-
...
|
|
3432
|
+
...tn,
|
|
3433
3433
|
dense: Boolean,
|
|
3434
3434
|
icon: String,
|
|
3435
3435
|
iconRight: String,
|
|
@@ -3460,7 +3460,7 @@ const bu = lt({
|
|
|
3460
3460
|
},
|
|
3461
3461
|
emits: ["update:modelValue", "update:selected", "remove", "click"],
|
|
3462
3462
|
setup(l, { slots: B, emit: t }) {
|
|
3463
|
-
const { proxy: { $q: v } } = dt(), m = Gt(l, v), f =
|
|
3463
|
+
const { proxy: { $q: v } } = dt(), m = Gt(l, v), f = rn(l, vu), a = ee(() => l.selected === !0 || l.icon !== void 0), o = ee(() => l.selected === !0 ? l.iconSelected || v.iconSet.chip.selected : l.icon), n = ee(() => l.iconRemove || v.iconSet.chip.remove), e = ee(
|
|
3464
3464
|
() => l.disable === !1 && (l.clickable === !0 || l.selected !== null)
|
|
3465
3465
|
), r = ee(() => {
|
|
3466
3466
|
const c = l.outline === !0 && l.color || l.textColor;
|
|
@@ -3646,7 +3646,7 @@ function xu(l, B, t) {
|
|
|
3646
3646
|
}
|
|
3647
3647
|
};
|
|
3648
3648
|
}
|
|
3649
|
-
let
|
|
3649
|
+
let an = 0, vi, yi, un, wi = !1, ea, ta, ra, Er = null;
|
|
3650
3650
|
function Su(l) {
|
|
3651
3651
|
_u(l) && jt(l);
|
|
3652
3652
|
}
|
|
@@ -3664,31 +3664,31 @@ function _u(l) {
|
|
|
3664
3664
|
function na(l) {
|
|
3665
3665
|
l.target === document && (document.scrollingElement.scrollTop = document.scrollingElement.scrollTop);
|
|
3666
3666
|
}
|
|
3667
|
-
function
|
|
3667
|
+
function Rn(l) {
|
|
3668
3668
|
wi !== !0 && (wi = !0, requestAnimationFrame(() => {
|
|
3669
3669
|
wi = !1;
|
|
3670
3670
|
const { height: B } = l.target, { clientHeight: t, scrollTop: v } = document.scrollingElement;
|
|
3671
|
-
(
|
|
3671
|
+
(un === void 0 || B !== window.innerHeight) && (un = t - B, document.scrollingElement.scrollTop = v), v > un && (document.scrollingElement.scrollTop -= Math.ceil((v - un) / 8));
|
|
3672
3672
|
}));
|
|
3673
3673
|
}
|
|
3674
3674
|
function ia(l) {
|
|
3675
3675
|
const B = document.body, t = window.visualViewport !== void 0;
|
|
3676
3676
|
if (l === "add") {
|
|
3677
3677
|
const { overflowY: v, overflowX: m } = window.getComputedStyle(B);
|
|
3678
|
-
vi = rs(window), yi = ts(window), ea = B.style.left, ta = B.style.top, ra = window.location.href, B.style.left = `-${vi}px`, B.style.top = `-${yi}px`, m !== "hidden" && (m === "scroll" || B.scrollWidth > window.innerWidth) && B.classList.add("q-body--force-scrollbar-x"), v !== "hidden" && (v === "scroll" || B.scrollHeight > window.innerHeight) && B.classList.add("q-body--force-scrollbar-y"), B.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, qt.is.ios === !0 && (t === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize",
|
|
3678
|
+
vi = rs(window), yi = ts(window), ea = B.style.left, ta = B.style.top, ra = window.location.href, B.style.left = `-${vi}px`, B.style.top = `-${yi}px`, m !== "hidden" && (m === "scroll" || B.scrollWidth > window.innerWidth) && B.classList.add("q-body--force-scrollbar-x"), v !== "hidden" && (v === "scroll" || B.scrollHeight > window.innerHeight) && B.classList.add("q-body--force-scrollbar-y"), B.classList.add("q-body--prevent-scroll"), document.qScrollPrevented = !0, qt.is.ios === !0 && (t === !0 ? (window.scrollTo(0, 0), window.visualViewport.addEventListener("resize", Rn, Dt.passiveCapture), window.visualViewport.addEventListener("scroll", Rn, Dt.passiveCapture), window.scrollTo(0, 0)) : window.addEventListener("scroll", na, Dt.passiveCapture));
|
|
3679
3679
|
}
|
|
3680
|
-
qt.is.desktop === !0 && qt.is.mac === !0 && window[`${l}EventListener`]("wheel", Su, Dt.notPassive), l === "remove" && (qt.is.ios === !0 && (t === !0 ? (window.visualViewport.removeEventListener("resize",
|
|
3680
|
+
qt.is.desktop === !0 && qt.is.mac === !0 && window[`${l}EventListener`]("wheel", Su, Dt.notPassive), l === "remove" && (qt.is.ios === !0 && (t === !0 ? (window.visualViewport.removeEventListener("resize", Rn, Dt.passiveCapture), window.visualViewport.removeEventListener("scroll", Rn, Dt.passiveCapture)) : window.removeEventListener("scroll", na, Dt.passiveCapture)), B.classList.remove("q-body--prevent-scroll"), B.classList.remove("q-body--force-scrollbar-x"), B.classList.remove("q-body--force-scrollbar-y"), document.qScrollPrevented = !1, B.style.left = ea, B.style.top = ta, window.location.href === ra && window.scrollTo(vi, yi), un = void 0);
|
|
3681
3681
|
}
|
|
3682
3682
|
function ku(l) {
|
|
3683
3683
|
let B = "add";
|
|
3684
3684
|
if (l === !0) {
|
|
3685
|
-
if (
|
|
3685
|
+
if (an++, Er !== null) {
|
|
3686
3686
|
clearTimeout(Er), Er = null;
|
|
3687
3687
|
return;
|
|
3688
3688
|
}
|
|
3689
|
-
if (
|
|
3689
|
+
if (an > 1) return;
|
|
3690
3690
|
} else {
|
|
3691
|
-
if (
|
|
3691
|
+
if (an === 0 || (an--, an > 0)) return;
|
|
3692
3692
|
if (B = "remove", qt.is.ios === !0 && qt.is.nativeMobile === !0) {
|
|
3693
3693
|
Er !== null && clearTimeout(Er), Er = setTimeout(() => {
|
|
3694
3694
|
ia(B), Er = null;
|
|
@@ -3706,7 +3706,7 @@ function Cu() {
|
|
|
3706
3706
|
}
|
|
3707
3707
|
};
|
|
3708
3708
|
}
|
|
3709
|
-
let
|
|
3709
|
+
let On = 0;
|
|
3710
3710
|
const Au = {
|
|
3711
3711
|
standard: "fixed-full flex-center",
|
|
3712
3712
|
top: "fixed-top justify-center",
|
|
@@ -3724,7 +3724,7 @@ const Au = {
|
|
|
3724
3724
|
inheritAttrs: !1,
|
|
3725
3725
|
props: {
|
|
3726
3726
|
...as,
|
|
3727
|
-
...
|
|
3727
|
+
...cn,
|
|
3728
3728
|
transitionShow: String,
|
|
3729
3729
|
// override useTransitionProps
|
|
3730
3730
|
transitionHide: String,
|
|
@@ -3810,7 +3810,7 @@ const Au = {
|
|
|
3810
3810
|
}, l.transitionDuration);
|
|
3811
3811
|
}
|
|
3812
3812
|
function _(W) {
|
|
3813
|
-
|
|
3813
|
+
gn(() => {
|
|
3814
3814
|
let Q = f.value;
|
|
3815
3815
|
if (Q !== null) {
|
|
3816
3816
|
if (W !== void 0) {
|
|
@@ -3838,7 +3838,7 @@ const Au = {
|
|
|
3838
3838
|
n !== null && (clearTimeout(n), n = null), (W === !0 || a.value === !0) && (x(!1), l.seamless !== !0 && (i(!1), Fi(O), Qn(y))), W !== !0 && (e = null);
|
|
3839
3839
|
}
|
|
3840
3840
|
function x(W) {
|
|
3841
|
-
W === !0 ? r !== !0 && (
|
|
3841
|
+
W === !0 ? r !== !0 && (On < 1 && document.body.classList.add("q-body--dialog"), On++, r = !0) : r === !0 && (On < 2 && document.body.classList.remove("q-body--dialog"), On--, r = !1);
|
|
3842
3842
|
}
|
|
3843
3843
|
function A(W) {
|
|
3844
3844
|
u !== !0 && (P(W), t("click", W));
|
|
@@ -3924,7 +3924,7 @@ const lr = 1e3, Eu = [
|
|
|
3924
3924
|
v?.dataset && (v.dataset.qVsAnchor = "");
|
|
3925
3925
|
}));
|
|
3926
3926
|
};
|
|
3927
|
-
function
|
|
3927
|
+
function Gr(l, B) {
|
|
3928
3928
|
return l + B;
|
|
3929
3929
|
}
|
|
3930
3930
|
function xi(l, B, t, v, m, f, a, o) {
|
|
@@ -3950,12 +3950,12 @@ function xi(l, B, t, v, m, f, a, o) {
|
|
|
3950
3950
|
function aa(l, B, t, v) {
|
|
3951
3951
|
B === "end" && (B = (l === window ? document.body : l)[t === !0 ? "scrollWidth" : "scrollHeight"]), l === window ? t === !0 ? (v === !0 && (B = ($n === !0 ? document.body.scrollWidth - document.documentElement.clientWidth : 0) - B), window.scrollTo(B, window.pageYOffset || window.scrollY || document.body.scrollTop || 0)) : window.scrollTo(window.pageXOffset || window.scrollX || document.body.scrollLeft || 0, B) : t === !0 ? (v === !0 && (B = ($n === !0 ? l.scrollWidth - l.offsetWidth : 0) - B), l.scrollLeft = B) : l.scrollTop = B;
|
|
3952
3952
|
}
|
|
3953
|
-
function
|
|
3953
|
+
function on(l, B, t, v) {
|
|
3954
3954
|
if (t >= v)
|
|
3955
3955
|
return 0;
|
|
3956
3956
|
const m = B.length, f = Math.floor(t / lr), a = Math.floor((v - 1) / lr) + 1;
|
|
3957
|
-
let o = l.slice(f, a).reduce(
|
|
3958
|
-
return t % lr !== 0 && (o -= B.slice(f * lr, t).reduce(
|
|
3957
|
+
let o = l.slice(f, a).reduce(Gr, 0);
|
|
3958
|
+
return t % lr !== 0 && (o -= B.slice(f * lr, t).reduce(Gr, 0)), v % lr !== 0 && v !== m && (o -= B.slice(v, a * lr).reduce(Gr, 0)), o;
|
|
3959
3959
|
}
|
|
3960
3960
|
const co = {
|
|
3961
3961
|
virtualScrollSliceSize: {
|
|
@@ -4057,7 +4057,7 @@ function ho({
|
|
|
4057
4057
|
R,
|
|
4058
4058
|
O,
|
|
4059
4059
|
U,
|
|
4060
|
-
O.scrollMaxSize - O.offsetEnd - s.reduce(
|
|
4060
|
+
O.scrollMaxSize - O.offsetEnd - s.reduce(Gr, 0)
|
|
4061
4061
|
);
|
|
4062
4062
|
return;
|
|
4063
4063
|
}
|
|
@@ -4089,17 +4089,17 @@ function ho({
|
|
|
4089
4089
|
Y === !0 && X !== null && X !== Z && X.contains(Z) === !0 && (X.addEventListener("focusout", E), setTimeout(() => {
|
|
4090
4090
|
X?.removeEventListener("focusout", E);
|
|
4091
4091
|
})), Mu(X, U - T);
|
|
4092
|
-
const $ = H !== void 0 ? i.slice(T, U).reduce(
|
|
4092
|
+
const $ = H !== void 0 ? i.slice(T, U).reduce(Gr, 0) : 0;
|
|
4093
4093
|
if (Y === !0) {
|
|
4094
4094
|
const le = z >= k.value.from && T <= k.value.to ? k.value.to : z;
|
|
4095
|
-
k.value = { from: T, to: le }, d.value =
|
|
4096
|
-
k.value.to !== z && e === O.scrollStart && (k.value = { from: k.value.from, to: z }, h.value =
|
|
4095
|
+
k.value = { from: T, to: le }, d.value = on(s, i, 0, T), h.value = on(s, i, z, l.value), requestAnimationFrame(() => {
|
|
4096
|
+
k.value.to !== z && e === O.scrollStart && (k.value = { from: k.value.from, to: z }, h.value = on(s, i, z, l.value));
|
|
4097
4097
|
});
|
|
4098
4098
|
}
|
|
4099
4099
|
requestAnimationFrame(() => {
|
|
4100
4100
|
if (e !== O.scrollStart) return;
|
|
4101
4101
|
Y === !0 && C(T);
|
|
4102
|
-
const le = i.slice(T, U).reduce(
|
|
4102
|
+
const le = i.slice(T, U).reduce(Gr, 0), ae = le + O.offsetStart + d.value, G = ae + i[U];
|
|
4103
4103
|
let ie = ae + W;
|
|
4104
4104
|
if (H !== void 0) {
|
|
4105
4105
|
const se = le - $, de = O.scrollStart + se;
|
|
@@ -4147,7 +4147,7 @@ function ho({
|
|
|
4147
4147
|
H += i[T];
|
|
4148
4148
|
s.push(H);
|
|
4149
4149
|
}
|
|
4150
|
-
r = -1, e = void 0, d.value =
|
|
4150
|
+
r = -1, e = void 0, d.value = on(s, i, 0, k.value.from), h.value = on(s, i, k.value.to, l.value), R >= 0 ? (C(k.value.from), Et(() => {
|
|
4151
4151
|
L(R);
|
|
4152
4152
|
})) : x();
|
|
4153
4153
|
}
|
|
@@ -4246,7 +4246,7 @@ function ho({
|
|
|
4246
4246
|
let A = !1;
|
|
4247
4247
|
return jr(() => {
|
|
4248
4248
|
A = !0;
|
|
4249
|
-
}),
|
|
4249
|
+
}), mn(() => {
|
|
4250
4250
|
if (A !== !0) return;
|
|
4251
4251
|
const R = B();
|
|
4252
4252
|
e !== void 0 && R !== void 0 && R !== null && R.nodeType !== 8 ? aa(
|
|
@@ -4476,7 +4476,7 @@ const bs = lt({
|
|
|
4476
4476
|
const J = l[De];
|
|
4477
4477
|
J !== void 0 && (oe[De] = J);
|
|
4478
4478
|
}), oe;
|
|
4479
|
-
}), W = ee(() => l.optionsDark === null ? R.isDark.value : l.optionsDark), Q = ee(() =>
|
|
4479
|
+
}), W = ee(() => l.optionsDark === null ? R.isDark.value : l.optionsDark), Q = ee(() => hn(O.value)), F = ee(() => {
|
|
4480
4480
|
let oe = "q-field__input q-placeholder col";
|
|
4481
4481
|
return l.hideSelected === !0 || O.value.length === 0 ? [oe, l.inputClass] : (oe += " q-field__input--padding", l.inputClass === void 0 ? oe : [oe, l.inputClass]);
|
|
4482
4482
|
}), H = ee(
|
|
@@ -5016,7 +5016,7 @@ const bs = lt({
|
|
|
5016
5016
|
hasValue: Q,
|
|
5017
5017
|
showPopup: Ae,
|
|
5018
5018
|
floatingLabel: ee(
|
|
5019
|
-
() => l.hideSelected !== !0 && Q.value === !0 || typeof n.value == "number" || n.value.length !== 0 ||
|
|
5019
|
+
() => l.hideSelected !== !0 && Q.value === !0 || typeof n.value == "number" || n.value.length !== 0 || hn(l.displayValue)
|
|
5020
5020
|
),
|
|
5021
5021
|
getControlChild: () => {
|
|
5022
5022
|
if (R.editable.value !== !1 && (a.value === !0 || I.value !== !0 || B["no-option"] !== void 0))
|
|
@@ -5134,7 +5134,7 @@ const bs = lt({
|
|
|
5134
5134
|
append: et(() => [
|
|
5135
5135
|
st(Pt, {
|
|
5136
5136
|
name: "arrow_drop_down",
|
|
5137
|
-
class:
|
|
5137
|
+
class: Zr(["cursor-pointer smooth-rotate", { "rotate-180": m.value }])
|
|
5138
5138
|
}, null, 8, ["class"])
|
|
5139
5139
|
]),
|
|
5140
5140
|
default: et(() => [
|
|
@@ -5272,7 +5272,7 @@ const bs = lt({
|
|
|
5272
5272
|
}), go = lt({
|
|
5273
5273
|
name: "QAvatar",
|
|
5274
5274
|
props: {
|
|
5275
|
-
...
|
|
5275
|
+
...tn,
|
|
5276
5276
|
fontSize: String,
|
|
5277
5277
|
color: String,
|
|
5278
5278
|
textColor: String,
|
|
@@ -5281,7 +5281,7 @@ const bs = lt({
|
|
|
5281
5281
|
rounded: Boolean
|
|
5282
5282
|
},
|
|
5283
5283
|
setup(l, { slots: B }) {
|
|
5284
|
-
const t =
|
|
5284
|
+
const t = rn(l), v = ee(
|
|
5285
5285
|
() => "q-avatar" + (l.color ? ` bg-${l.color}` : "") + (l.textColor ? ` text-${l.textColor} q-chip--colored` : "") + (l.square === !0 ? " q-avatar--square" : l.rounded === !0 ? " rounded-borders" : "")
|
|
5286
5286
|
), m = ee(() => l.fontSize ? { fontSize: l.fontSize } : null);
|
|
5287
5287
|
return () => {
|
|
@@ -5335,7 +5335,7 @@ const bs = lt({
|
|
|
5335
5335
|
},
|
|
5336
5336
|
emits: ["reveal", "focusin"],
|
|
5337
5337
|
setup(l, { slots: B, emit: t }) {
|
|
5338
|
-
const { proxy: { $q: v } } = dt(), m = Sr(
|
|
5338
|
+
const { proxy: { $q: v } } = dt(), m = Sr(bn, Ht);
|
|
5339
5339
|
if (m === Ht)
|
|
5340
5340
|
return console.error("QHeader needs to be child of QLayout"), Ht;
|
|
5341
5341
|
const f = Se(parseInt(l.heightHint, 10)), a = Se(!0), o = ee(
|
|
@@ -5393,7 +5393,7 @@ const bs = lt({
|
|
|
5393
5393
|
class: "q-layout__shadow absolute-full overflow-hidden no-pointer-events"
|
|
5394
5394
|
})
|
|
5395
5395
|
), p.push(
|
|
5396
|
-
ne(
|
|
5396
|
+
ne($r, {
|
|
5397
5397
|
debounce: 0,
|
|
5398
5398
|
onResize: h
|
|
5399
5399
|
})
|
|
@@ -5470,7 +5470,7 @@ const bs = lt({
|
|
|
5470
5470
|
},
|
|
5471
5471
|
emits: ["reveal", "focusin"],
|
|
5472
5472
|
setup(l, { slots: B, emit: t }) {
|
|
5473
|
-
const { proxy: { $q: v } } = dt(), m = Sr(
|
|
5473
|
+
const { proxy: { $q: v } } = dt(), m = Sr(bn, Ht);
|
|
5474
5474
|
if (m === Ht)
|
|
5475
5475
|
return console.error("QFooter needs to be child of QLayout"), Ht;
|
|
5476
5476
|
const f = Se(parseInt(l.heightHint, 10)), a = Se(!0), o = Se(
|
|
@@ -5527,7 +5527,7 @@ const bs = lt({
|
|
|
5527
5527
|
m.instances.footer === k && (m.instances.footer = void 0, h("size", 0), h("offset", 0), h("space", !1));
|
|
5528
5528
|
}), () => {
|
|
5529
5529
|
const M = tr(B.default, [
|
|
5530
|
-
ne(
|
|
5530
|
+
ne($r, {
|
|
5531
5531
|
debounce: 0,
|
|
5532
5532
|
onResize: g
|
|
5533
5533
|
})
|
|
@@ -5691,7 +5691,7 @@ const bs = lt({
|
|
|
5691
5691
|
}), Xu = lt({
|
|
5692
5692
|
name: "QPageContainer",
|
|
5693
5693
|
setup(l, { slots: B }) {
|
|
5694
|
-
const { proxy: { $q: t } } = dt(), v = Sr(
|
|
5694
|
+
const { proxy: { $q: t } } = dt(), v = Sr(bn, Ht);
|
|
5695
5695
|
if (v === Ht)
|
|
5696
5696
|
return console.error("QPageContainer needs to be child of QLayout"), Ht;
|
|
5697
5697
|
Qi(ao, !0);
|
|
@@ -5783,7 +5783,7 @@ const bs = lt({
|
|
|
5783
5783
|
S[k][M] = j;
|
|
5784
5784
|
}
|
|
5785
5785
|
};
|
|
5786
|
-
if (Qi(
|
|
5786
|
+
if (Qi(bn, S), zn() > 0) {
|
|
5787
5787
|
let k = function() {
|
|
5788
5788
|
q = null, P.classList.remove("hide-scrollbar");
|
|
5789
5789
|
}, M = function() {
|
|
@@ -5807,7 +5807,7 @@ const bs = lt({
|
|
|
5807
5807
|
return () => {
|
|
5808
5808
|
const k = tr(B.default, [
|
|
5809
5809
|
ne(Qa, { onScroll: d }),
|
|
5810
|
-
ne(
|
|
5810
|
+
ne($r, { onResize: h })
|
|
5811
5811
|
]), M = ne("div", {
|
|
5812
5812
|
class: r.value,
|
|
5813
5813
|
style: u.value,
|
|
@@ -5818,7 +5818,7 @@ const bs = lt({
|
|
|
5818
5818
|
class: "q-layout-container overflow-hidden",
|
|
5819
5819
|
ref: m
|
|
5820
5820
|
}, [
|
|
5821
|
-
ne(
|
|
5821
|
+
ne($r, { onResize: c }),
|
|
5822
5822
|
ne("div", {
|
|
5823
5823
|
class: "absolute-full",
|
|
5824
5824
|
style: s.value
|
|
@@ -5842,12 +5842,12 @@ const bs = lt({
|
|
|
5842
5842
|
setup(l) {
|
|
5843
5843
|
return (B, t) => (Ze(), _t(Gu, {
|
|
5844
5844
|
view: B.view,
|
|
5845
|
-
class:
|
|
5845
|
+
class: Zr(B.layoutClass)
|
|
5846
5846
|
}, {
|
|
5847
5847
|
default: et(() => [
|
|
5848
5848
|
Tr(B.$slots, "header"),
|
|
5849
5849
|
st(Xu, {
|
|
5850
|
-
class:
|
|
5850
|
+
class: Zr(B.pageContainerClass)
|
|
5851
5851
|
}, {
|
|
5852
5852
|
default: et(() => [
|
|
5853
5853
|
Tr(B.$slots, "default")
|
|
@@ -6463,7 +6463,7 @@ function Sc(l) {
|
|
|
6463
6463
|
B = Math.min(B, new Date(t));
|
|
6464
6464
|
}), B;
|
|
6465
6465
|
}
|
|
6466
|
-
function
|
|
6466
|
+
function In(l, B, t) {
|
|
6467
6467
|
return (l.getTime() - l.getTimezoneOffset() * Ui - (B.getTime() - B.getTimezoneOffset() * Ui)) / t;
|
|
6468
6468
|
}
|
|
6469
6469
|
function ws(l, B, t = "days") {
|
|
@@ -6478,16 +6478,16 @@ function ws(l, B, t = "days") {
|
|
|
6478
6478
|
case "days":
|
|
6479
6479
|
case "day":
|
|
6480
6480
|
case "date":
|
|
6481
|
-
return
|
|
6481
|
+
return In(cr(v, "day"), cr(m, "day"), So);
|
|
6482
6482
|
case "hours":
|
|
6483
6483
|
case "hour":
|
|
6484
|
-
return
|
|
6484
|
+
return In(cr(v, "hour"), cr(m, "hour"), ac);
|
|
6485
6485
|
case "minutes":
|
|
6486
6486
|
case "minute":
|
|
6487
|
-
return
|
|
6487
|
+
return In(cr(v, "minute"), cr(m, "minute"), Ui);
|
|
6488
6488
|
case "seconds":
|
|
6489
6489
|
case "second":
|
|
6490
|
-
return
|
|
6490
|
+
return In(cr(v, "second"), cr(m, "second"), 1e3);
|
|
6491
6491
|
}
|
|
6492
6492
|
}
|
|
6493
6493
|
function Wn(l) {
|
|
@@ -7958,7 +7958,7 @@ function Ic(l, B) {
|
|
|
7958
7958
|
return t();
|
|
7959
7959
|
});
|
|
7960
7960
|
}
|
|
7961
|
-
const
|
|
7961
|
+
const pn = lt({
|
|
7962
7962
|
name: "QInput",
|
|
7963
7963
|
inheritAttrs: !1,
|
|
7964
7964
|
props: {
|
|
@@ -7998,7 +7998,7 @@ const mn = lt({
|
|
|
7998
7998
|
onMaskedClick: p
|
|
7999
7999
|
} = Oc(l, B, b, u), S = Ic(
|
|
8000
8000
|
l
|
|
8001
|
-
), k = ee(() =>
|
|
8001
|
+
), k = ee(() => hn(i.value)), M = po(E), j = ms({ changeEvent: !0 }), q = ee(
|
|
8002
8002
|
() => l.type === "textarea" || l.autogrow === !0
|
|
8003
8003
|
), P = ee(
|
|
8004
8004
|
() => q.value === !0 || ["text", "search", "url", "tel", "password"].includes(l.type)
|
|
@@ -8046,7 +8046,7 @@ const mn = lt({
|
|
|
8046
8046
|
l.autogrow === !0 && Et(y);
|
|
8047
8047
|
});
|
|
8048
8048
|
function V() {
|
|
8049
|
-
|
|
8049
|
+
gn(() => {
|
|
8050
8050
|
const O = document.activeElement;
|
|
8051
8051
|
u.value !== null && u.value !== O && (O === null || O.id !== j.targetUid.value) && u.value.focus({ preventScroll: !0 });
|
|
8052
8052
|
});
|
|
@@ -8128,7 +8128,7 @@ const mn = lt({
|
|
|
8128
8128
|
emitValue: b,
|
|
8129
8129
|
hasValue: k,
|
|
8130
8130
|
floatingLabel: ee(
|
|
8131
|
-
() => k.value === !0 && (l.type !== "number" || isNaN(i.value) === !1) ||
|
|
8131
|
+
() => k.value === !0 && (l.type !== "number" || isNaN(i.value) === !1) || hn(l.displayValue)
|
|
8132
8132
|
),
|
|
8133
8133
|
getControl: () => ne(q.value === !0 ? "textarea" : "input", {
|
|
8134
8134
|
ref: u,
|
|
@@ -8219,7 +8219,7 @@ function ad(l) {
|
|
|
8219
8219
|
const B = l.getTimezoneOffset() * 6e4;
|
|
8220
8220
|
return new Date(l.getTime() + B);
|
|
8221
8221
|
}
|
|
8222
|
-
function
|
|
8222
|
+
function Bn(l) {
|
|
8223
8223
|
const B = /^\d{4}-\d{2}-\d{2}$/, t = /^\d{2}-\d{2}-\d{4}$/;
|
|
8224
8224
|
if (B.test(l)) return l;
|
|
8225
8225
|
if (t.test(l)) {
|
|
@@ -8229,19 +8229,19 @@ function Xr(l) {
|
|
|
8229
8229
|
return console.warn("'Invalid date format. Expected DD-MM-YYYY' or 'YYYY-MM-DD' but got: " + l), "";
|
|
8230
8230
|
}
|
|
8231
8231
|
function Bo(l, B, t, v = []) {
|
|
8232
|
-
const m = typeof l == "string" ? new Date(
|
|
8232
|
+
const m = typeof l == "string" ? new Date(Bn(l)) : new Date(l);
|
|
8233
8233
|
if (isNaN(m.getTime())) return !1;
|
|
8234
8234
|
if (B) {
|
|
8235
|
-
const f = typeof B == "string" ? new Date(
|
|
8235
|
+
const f = typeof B == "string" ? new Date(Bn(B)) : new Date(B);
|
|
8236
8236
|
if (m < f) return !1;
|
|
8237
8237
|
}
|
|
8238
8238
|
if (t) {
|
|
8239
|
-
const f = typeof t == "string" ? new Date(
|
|
8239
|
+
const f = typeof t == "string" ? new Date(Bn(t)) : new Date(t);
|
|
8240
8240
|
if (m > f) return !1;
|
|
8241
8241
|
}
|
|
8242
8242
|
return !v.some((f) => {
|
|
8243
8243
|
if (typeof f == "string") {
|
|
8244
|
-
const a = new Date(
|
|
8244
|
+
const a = new Date(Bn(f));
|
|
8245
8245
|
return m.getFullYear() === a.getFullYear() && m.getMonth() === a.getMonth() && m.getDate() === a.getDate();
|
|
8246
8246
|
} else {
|
|
8247
8247
|
if (f instanceof Date)
|
|
@@ -8257,13 +8257,10 @@ function Bo(l, B, t, v = []) {
|
|
|
8257
8257
|
}
|
|
8258
8258
|
const Hr = {
|
|
8259
8259
|
validateAndUpdate(l, B, t) {
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
return { ...l, to: B };
|
|
8265
|
-
const v = new Date(Xr(B)), m = new Date(Xr(t ? l.to : l.from));
|
|
8266
|
-
return t ? v > m ? l : { ...l, from: B } : v < m ? l : { ...l, to: B };
|
|
8260
|
+
return Bc.test(B) ? {
|
|
8261
|
+
...l,
|
|
8262
|
+
[t ? "from" : "to"]: B
|
|
8263
|
+
} : l;
|
|
8267
8264
|
},
|
|
8268
8265
|
handlePickerUpdate(l) {
|
|
8269
8266
|
return l === null ? { from: "", to: "" } : typeof l == "string" ? { from: l, to: l } : l;
|
|
@@ -8339,7 +8336,7 @@ const Hr = {
|
|
|
8339
8336
|
r !== f.value && (f.value = r, a.value = r);
|
|
8340
8337
|
}
|
|
8341
8338
|
), (r, u) => (Ze(), Ct("div", Fc, [
|
|
8342
|
-
st(
|
|
8339
|
+
st(pn, ar(It(m), {
|
|
8343
8340
|
class: "full-width",
|
|
8344
8341
|
"model-value": a.value,
|
|
8345
8342
|
mask: "##-##-####",
|
|
@@ -8374,7 +8371,7 @@ const Hr = {
|
|
|
8374
8371
|
}, {
|
|
8375
8372
|
default: et(() => [
|
|
8376
8373
|
ot("div", Pc, [
|
|
8377
|
-
|
|
8374
|
+
Jr(st(Bt, {
|
|
8378
8375
|
label: r.closeLabel,
|
|
8379
8376
|
color: "primary",
|
|
8380
8377
|
flat: ""
|
|
@@ -8464,7 +8461,7 @@ const Hr = {
|
|
|
8464
8461
|
resetDate: i
|
|
8465
8462
|
}), (d, h) => (Ze(), Ct("div", Lc, [
|
|
8466
8463
|
ot("div", Nc, [
|
|
8467
|
-
st(
|
|
8464
|
+
st(pn, ar(d.$attrs, {
|
|
8468
8465
|
"data-cy": a.value,
|
|
8469
8466
|
"model-value": f.value.from,
|
|
8470
8467
|
mask: "##-##-####",
|
|
@@ -8474,7 +8471,7 @@ const Hr = {
|
|
|
8474
8471
|
"hide-bottom-space": "",
|
|
8475
8472
|
"onUpdate:modelValue": r
|
|
8476
8473
|
}), null, 16, ["data-cy", "model-value", "label", "rules", "disable"]),
|
|
8477
|
-
st(
|
|
8474
|
+
st(pn, ar(d.$attrs, {
|
|
8478
8475
|
"model-value": f.value.to,
|
|
8479
8476
|
mask: "##-##-####",
|
|
8480
8477
|
label: d.labelEnd,
|
|
@@ -8517,7 +8514,7 @@ const Hr = {
|
|
|
8517
8514
|
}, {
|
|
8518
8515
|
default: et(() => [
|
|
8519
8516
|
ot("div", qc, [
|
|
8520
|
-
|
|
8517
|
+
Jr(st(Bt, {
|
|
8521
8518
|
label: d.closeLabel,
|
|
8522
8519
|
color: "primary",
|
|
8523
8520
|
flat: ""
|
|
@@ -8702,7 +8699,7 @@ const Hr = {
|
|
|
8702
8699
|
props: {
|
|
8703
8700
|
...Xa,
|
|
8704
8701
|
...as,
|
|
8705
|
-
...
|
|
8702
|
+
...cn,
|
|
8706
8703
|
maxHeight: {
|
|
8707
8704
|
type: String,
|
|
8708
8705
|
default: null
|
|
@@ -8712,11 +8709,11 @@ const Hr = {
|
|
|
8712
8709
|
default: null
|
|
8713
8710
|
},
|
|
8714
8711
|
transitionShow: {
|
|
8715
|
-
...
|
|
8712
|
+
...cn.transitionShow,
|
|
8716
8713
|
default: "jump-down"
|
|
8717
8714
|
},
|
|
8718
8715
|
transitionHide: {
|
|
8719
|
-
...
|
|
8716
|
+
...cn.transitionHide,
|
|
8720
8717
|
default: "jump-up"
|
|
8721
8718
|
},
|
|
8722
8719
|
anchor: {
|
|
@@ -8964,7 +8961,7 @@ const Qc = {
|
|
|
8964
8961
|
o();
|
|
8965
8962
|
}), Qt(() => {
|
|
8966
8963
|
h();
|
|
8967
|
-
}),
|
|
8964
|
+
}), mn(() => {
|
|
8968
8965
|
h();
|
|
8969
8966
|
}), jr(() => {
|
|
8970
8967
|
c();
|
|
@@ -9002,7 +8999,7 @@ const Jc = lt({
|
|
|
9002
8999
|
name: "QLinearProgress",
|
|
9003
9000
|
props: {
|
|
9004
9001
|
...Xt,
|
|
9005
|
-
...
|
|
9002
|
+
...tn,
|
|
9006
9003
|
value: {
|
|
9007
9004
|
type: Number,
|
|
9008
9005
|
default: 0
|
|
@@ -9022,7 +9019,7 @@ const Jc = lt({
|
|
|
9022
9019
|
instantFeedback: Boolean
|
|
9023
9020
|
},
|
|
9024
9021
|
setup(l, { slots: B }) {
|
|
9025
|
-
const { proxy: t } = dt(), v = Gt(l, t.$q), m =
|
|
9022
|
+
const { proxy: t } = dt(), v = Gt(l, t.$q), m = rn(l, Gc), f = ee(() => l.indeterminate === !0 || l.query === !0), a = ee(() => l.reverse !== l.query), o = ee(() => ({
|
|
9026
9023
|
...m.value !== null ? m.value : {},
|
|
9027
9024
|
"--q-linear-progress-speed": `${l.animationSpeed}ms`
|
|
9028
9025
|
})), n = ee(
|
|
@@ -9061,7 +9058,7 @@ const Jc = lt({
|
|
|
9061
9058
|
};
|
|
9062
9059
|
}
|
|
9063
9060
|
});
|
|
9064
|
-
let
|
|
9061
|
+
let ln = 0;
|
|
9065
9062
|
const Zc = {
|
|
9066
9063
|
fullscreen: Boolean,
|
|
9067
9064
|
noRouteFullscreenExit: Boolean
|
|
@@ -9081,10 +9078,10 @@ function ef() {
|
|
|
9081
9078
|
a.value === !0 ? e() : n();
|
|
9082
9079
|
}
|
|
9083
9080
|
function n() {
|
|
9084
|
-
a.value !== !0 && (a.value = !0, f = v.$el.parentNode, f.replaceChild(m, v.$el), document.body.appendChild(v.$el),
|
|
9081
|
+
a.value !== !0 && (a.value = !0, f = v.$el.parentNode, f.replaceChild(m, v.$el), document.body.appendChild(v.$el), ln++, ln === 1 && document.body.classList.add("q-body--fullscreen-mixin"));
|
|
9085
9082
|
}
|
|
9086
9083
|
function e() {
|
|
9087
|
-
a.value === !0 && (f.replaceChild(v.$el, m), a.value = !1,
|
|
9084
|
+
a.value === !0 && (f.replaceChild(v.$el, m), a.value = !1, ln = Math.max(0, ln - 1), ln === 0 && (document.body.classList.remove("q-body--fullscreen-mixin"), v.$el.scrollIntoView !== void 0 && setTimeout(() => {
|
|
9088
9085
|
v.$el.scrollIntoView();
|
|
9089
9086
|
})));
|
|
9090
9087
|
}
|
|
@@ -10171,13 +10168,13 @@ const xf = {
|
|
|
10171
10168
|
props: P
|
|
10172
10169
|
}, {
|
|
10173
10170
|
default: et(() => [
|
|
10174
|
-
|
|
10171
|
+
Cn(Vt(D.label), 1)
|
|
10175
10172
|
]),
|
|
10176
10173
|
_: 2
|
|
10177
10174
|
}, 1032, ["props"]))), 128)),
|
|
10178
10175
|
u.value ? (Ze(), _t(Hn, { key: 1 }, {
|
|
10179
10176
|
default: et(() => q[1] || (q[1] = [
|
|
10180
|
-
|
|
10177
|
+
Cn("Actions")
|
|
10181
10178
|
])),
|
|
10182
10179
|
_: 1,
|
|
10183
10180
|
__: [1]
|
|
@@ -10211,7 +10208,7 @@ const xf = {
|
|
|
10211
10208
|
key: 1,
|
|
10212
10209
|
"data-cy": `row-${P.row[j.rowKey]}`,
|
|
10213
10210
|
props: P,
|
|
10214
|
-
class:
|
|
10211
|
+
class: Zr({ "bg-grey-3": P.row.archived }),
|
|
10215
10212
|
onDblclick: (D) => c(P.row)
|
|
10216
10213
|
}, {
|
|
10217
10214
|
default: et(() => [
|
|
@@ -10269,7 +10266,7 @@ const xf = {
|
|
|
10269
10266
|
default: et(() => [
|
|
10270
10267
|
L.label ? (Ze(), _t(va, { key: 0 }, {
|
|
10271
10268
|
default: et(() => [
|
|
10272
|
-
|
|
10269
|
+
Cn(Vt(L.label), 1)
|
|
10273
10270
|
]),
|
|
10274
10271
|
_: 2
|
|
10275
10272
|
}, 1024)) : nr("", !0)
|
|
@@ -10310,7 +10307,7 @@ const xf = {
|
|
|
10310
10307
|
default: et(() => [
|
|
10311
10308
|
D.label ? (Ze(), _t(va, { key: 0 }, {
|
|
10312
10309
|
default: et(() => [
|
|
10313
|
-
|
|
10310
|
+
Cn(Vt(D.label), 1)
|
|
10314
10311
|
]),
|
|
10315
10312
|
_: 2
|
|
10316
10313
|
}, 1024)) : nr("", !0)
|
|
@@ -28567,7 +28564,7 @@ function Af() {
|
|
|
28567
28564
|
var yt = Ie(ke), wt = Ie(Be), St = "[object Array]", Ot = "[object Array]";
|
|
28568
28565
|
yt || (St = (St = Oe(ke)) == a ? n : St), wt || (Ot = (Ot = Oe(Be)) == a ? n : Ot);
|
|
28569
28566
|
var Nt = St == n && !N(ke), Wt = Ot == n && !N(Be), or = St == Ot;
|
|
28570
|
-
if (or && !Nt) return $e || ($e = new Ve()), yt || Ft(ke) ? pt(ke, Be, mt, ft, ht, $e) : function(xt, bt, pr, Ar,
|
|
28567
|
+
if (or && !Nt) return $e || ($e = new Ve()), yt || Ft(ke) ? pt(ke, Be, mt, ft, ht, $e) : function(xt, bt, pr, Ar, vn, Jt, fr) {
|
|
28571
28568
|
switch (pr) {
|
|
28572
28569
|
case "[object DataView]":
|
|
28573
28570
|
if (xt.byteLength != bt.byteLength || xt.byteOffset != bt.byteOffset) return !1;
|
|
@@ -28586,12 +28583,12 @@ function Af() {
|
|
|
28586
28583
|
case o:
|
|
28587
28584
|
var mr = C;
|
|
28588
28585
|
case e:
|
|
28589
|
-
var
|
|
28590
|
-
if (mr || (mr = E), xt.size != bt.size && !
|
|
28591
|
-
var
|
|
28592
|
-
if (
|
|
28586
|
+
var nn = 2 & Jt;
|
|
28587
|
+
if (mr || (mr = E), xt.size != bt.size && !nn) return !1;
|
|
28588
|
+
var yn = fr.get(xt);
|
|
28589
|
+
if (yn) return yn == bt;
|
|
28593
28590
|
Jt |= 1, fr.set(xt, bt);
|
|
28594
|
-
var Lr = pt(mr(xt), mr(bt), Ar,
|
|
28591
|
+
var Lr = pt(mr(xt), mr(bt), Ar, vn, Jt, fr);
|
|
28595
28592
|
return fr.delete(xt), Lr;
|
|
28596
28593
|
case "[object Symbol]":
|
|
28597
28594
|
if (ve) return ve.call(xt) == ve.call(bt);
|
|
@@ -28605,32 +28602,32 @@ function Af() {
|
|
|
28605
28602
|
return $e || ($e = new Ve()), mt(Pr, Dr, ft, ht, $e);
|
|
28606
28603
|
}
|
|
28607
28604
|
}
|
|
28608
|
-
return or ? ($e || ($e = new Ve()), function(xt, bt, pr, Ar,
|
|
28609
|
-
var fr = 2 &
|
|
28610
|
-
if (
|
|
28611
|
-
for (var Lr =
|
|
28605
|
+
return or ? ($e || ($e = new Ve()), function(xt, bt, pr, Ar, vn, Jt) {
|
|
28606
|
+
var fr = 2 & vn, mr = oe(xt), nn = mr.length, yn = oe(bt).length;
|
|
28607
|
+
if (nn != yn && !fr) return !1;
|
|
28608
|
+
for (var Lr = nn; Lr--; ) {
|
|
28612
28609
|
var gr = mr[Lr];
|
|
28613
28610
|
if (!(fr ? gr in bt : W.call(bt, gr))) return !1;
|
|
28614
28611
|
}
|
|
28615
28612
|
var Ss = Jt.get(xt);
|
|
28616
28613
|
if (Ss && Jt.get(bt)) return Ss == bt;
|
|
28617
|
-
var
|
|
28614
|
+
var wn = !0;
|
|
28618
28615
|
Jt.set(xt, bt), Jt.set(bt, xt);
|
|
28619
|
-
for (var li = fr; ++Lr <
|
|
28616
|
+
for (var li = fr; ++Lr < nn; ) {
|
|
28620
28617
|
gr = mr[Lr];
|
|
28621
|
-
var
|
|
28622
|
-
if (Ar) var _s = fr ? Ar(
|
|
28623
|
-
if (!(_s === void 0 ?
|
|
28624
|
-
|
|
28618
|
+
var xn = xt[gr], Sn = bt[gr];
|
|
28619
|
+
if (Ar) var _s = fr ? Ar(Sn, xn, gr, bt, xt, Jt) : Ar(xn, Sn, gr, xt, bt, Jt);
|
|
28620
|
+
if (!(_s === void 0 ? xn === Sn || pr(xn, Sn, Ar, vn, Jt) : _s)) {
|
|
28621
|
+
wn = !1;
|
|
28625
28622
|
break;
|
|
28626
28623
|
}
|
|
28627
28624
|
li || (li = gr == "constructor");
|
|
28628
28625
|
}
|
|
28629
|
-
if (
|
|
28630
|
-
var
|
|
28631
|
-
|
|
28626
|
+
if (wn && !li) {
|
|
28627
|
+
var _n = xt.constructor, kn = bt.constructor;
|
|
28628
|
+
_n == kn || !("constructor" in xt) || !("constructor" in bt) || typeof _n == "function" && _n instanceof _n && typeof kn == "function" && kn instanceof kn || (wn = !1);
|
|
28632
28629
|
}
|
|
28633
|
-
return Jt.delete(xt), Jt.delete(bt),
|
|
28630
|
+
return Jt.delete(xt), Jt.delete(bt), wn;
|
|
28634
28631
|
}(ke, Be, mt, ft, ht, $e)) : !1;
|
|
28635
28632
|
}(J, ce, it, ye, we, Ne));
|
|
28636
28633
|
}
|
|
@@ -33489,7 +33486,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
|
|
|
33489
33486
|
});
|
|
33490
33487
|
}
|
|
33491
33488
|
function u() {
|
|
33492
|
-
|
|
33489
|
+
gn(() => {
|
|
33493
33490
|
if (m.value === null) return;
|
|
33494
33491
|
(m.value.querySelector("[autofocus][tabindex], [data-autofocus][tabindex]") || m.value.querySelector("[autofocus] [tabindex], [data-autofocus] [tabindex]") || m.value.querySelector("[autofocus], [data-autofocus]") || Array.prototype.find.call(m.value.querySelectorAll("[tabindex]"), (d) => d.tabIndex !== -1))?.focus({ preventScroll: !0 });
|
|
33495
33492
|
});
|
|
@@ -33506,7 +33503,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
|
|
|
33506
33503
|
let s = !1;
|
|
33507
33504
|
return jr(() => {
|
|
33508
33505
|
s = !0;
|
|
33509
|
-
}),
|
|
33506
|
+
}), mn(() => {
|
|
33510
33507
|
s === !0 && l.autofocus === !0 && u();
|
|
33511
33508
|
}), Qt(() => {
|
|
33512
33509
|
l.autofocus === !0 && u();
|
|
@@ -33531,7 +33528,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
|
|
|
33531
33528
|
styleFn: Function
|
|
33532
33529
|
},
|
|
33533
33530
|
setup(l, { slots: B }) {
|
|
33534
|
-
const { proxy: { $q: t } } = dt(), v = Sr(
|
|
33531
|
+
const { proxy: { $q: t } } = dt(), v = Sr(bn, Ht);
|
|
33535
33532
|
if (v === Ht)
|
|
33536
33533
|
return console.error("QPage needs to be a deep child of QLayout"), Ht;
|
|
33537
33534
|
if (Sr(ao, Ht) === Ht)
|
|
@@ -33655,7 +33652,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
|
|
|
33655
33652
|
}, {
|
|
33656
33653
|
default: et(() => [
|
|
33657
33654
|
ot("div", Lf, [
|
|
33658
|
-
st(
|
|
33655
|
+
st(pn, {
|
|
33659
33656
|
modelValue: a.value.username,
|
|
33660
33657
|
"onUpdate:modelValue": e[0] || (e[0] = (r) => a.value.username = r),
|
|
33661
33658
|
label: "Identifiant",
|
|
@@ -33674,7 +33671,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
|
|
|
33674
33671
|
}, 8, ["modelValue", "rules"])
|
|
33675
33672
|
]),
|
|
33676
33673
|
ot("div", Nf, [
|
|
33677
|
-
st(
|
|
33674
|
+
st(pn, {
|
|
33678
33675
|
modelValue: a.value.password,
|
|
33679
33676
|
"onUpdate:modelValue": e[1] || (e[1] = (r) => a.value.password = r),
|
|
33680
33677
|
type: "password",
|
|
@@ -33806,7 +33803,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
|
|
|
33806
33803
|
ot("div", Qf, [
|
|
33807
33804
|
(Ze(!0), Ct(Kt, null, ir(n.projects, (r, u) => (Ze(), _t(Ka, {
|
|
33808
33805
|
key: u,
|
|
33809
|
-
class:
|
|
33806
|
+
class: Zr(["project-card", { "q-card--disabled": o(r) }]),
|
|
33810
33807
|
style: Zt({
|
|
33811
33808
|
background: n.cardBackground,
|
|
33812
33809
|
"border-color": n.cardBorderColor
|
|
@@ -33872,7 +33869,7 @@ const Mf = /* @__PURE__ */ Cf(Ef), Tf = async (l) => {
|
|
|
33872
33869
|
"--animation-speed": `${B.speed}s`
|
|
33873
33870
|
}));
|
|
33874
33871
|
return (v, m) => (Ze(), Ct("div", {
|
|
33875
|
-
class:
|
|
33872
|
+
class: Zr(["selfee-loader", [v.size, v.variant]]),
|
|
33876
33873
|
style: Zt(t.value)
|
|
33877
33874
|
}, [
|
|
33878
33875
|
ot("img", {
|
|
@@ -33905,7 +33902,7 @@ export {
|
|
|
33905
33902
|
Hr as dateRangeUtils,
|
|
33906
33903
|
ad as dateWithoutTimezone,
|
|
33907
33904
|
jc as defaultLocale,
|
|
33908
|
-
|
|
33905
|
+
Bn as formatDate,
|
|
33909
33906
|
Bo as isDateSelectable
|
|
33910
33907
|
};
|
|
33911
33908
|
//# sourceMappingURL=shared-components.es.js.map
|