@eodash/eodash 5.0.0-alpha.2.10 → 5.0.0-alpha.2.12
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/core/client/composables/index.js +37 -18
- package/core/client/eodash.js +3 -10
- package/core/client/store/Actions.js +9 -33
- package/core/client/store/States.js +3 -0
- package/core/client/utils/createLayers.js +131 -0
- package/core/client/utils/eodashSTAC.js +149 -227
- package/core/client/utils/helpers.js +49 -69
- package/dist/client/{DashboardLayout-C_3q8Y10.js → DashboardLayout-g4rqjeWc.js} +2 -2
- package/dist/client/{DynamicWebComponent-IiTTLBt-.js → DynamicWebComponent-BKV7nbud.js} +4 -4
- package/dist/client/{EodashDatePicker-DgC1lccp.js → EodashDatePicker-D4zsy9eq.js} +43 -43
- package/dist/client/EodashItemFilter-CRA5Ksjy.js +10067 -0
- package/dist/client/EodashLayerControl-CcFkORFA.js +31500 -0
- package/dist/client/{EodashMap-C96D3LLv.js → EodashMap-Bq6kJxfa.js} +8326 -8311
- package/dist/client/{EodashMapBtns-DDtzV94u.js → EodashMapBtns-Tzefzyf2.js} +5 -5
- package/dist/client/{ExportState-CduS2mFs.js → ExportState-CbK0FtDG.js} +37 -37
- package/dist/client/{Footer-DHQcutCv.js → Footer-BrNqLnRu.js} +1 -1
- package/dist/client/{Header-DC0y7rLK.js → Header-CbTE-BoI.js} +4 -4
- package/dist/client/{IframeWrapper-BK-10FbS.js → IframeWrapper-Ph5bZpJZ.js} +1 -1
- package/dist/client/{MobileLayout-BpLoMY4i.js → MobileLayout-kdgmpNhM.js} +6 -6
- package/dist/client/{PopUp-CNMCWL0z.js → PopUp-BWbFe1C1.js} +9 -9
- package/dist/client/{VImg-DT7eb8V-.js → VImg-CzQmrZjo.js} +2 -2
- package/dist/client/{VMain-OenWyy46.js → VMain-DfQqCpW9.js} +2 -2
- package/dist/client/{VOverlay-x3UXpKhr.js → VOverlay-sx4v7gXf.js} +71 -71
- package/dist/client/{WidgetsContainer-qMUwtN0W.js → WidgetsContainer-BrWo2pW8.js} +5 -5
- package/dist/client/{asWebComponent-DQrnLsI2.js → asWebComponent-CVFLR8Hh.js} +4117 -4117
- package/dist/client/{decoder-Cth6J7EK-CtUoHA6r.js → decoder-Cth6J7EK-DlG9ScOz.js} +1 -1
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-CpNjL95t.js → forwardRefs-BOAfCdT0.js} +1 -1
- package/dist/client/{helpers-KCSgmfim.js → helpers-BjdrMtvO.js} +206 -232
- package/dist/client/{index-DopVrUzM.js → index-Ct9AYlRj.js} +5 -5
- package/dist/client/{lerc-BgbQqdFI-D986ErVw.js → lerc-BgbQqdFI-B1NkI4BO.js} +1 -1
- package/dist/client/{ssrBoot-DkjdOWvj.js → ssrBoot-BfIptj2L.js} +1 -1
- package/dist/client/style.css +1 -1
- package/dist/client/{transition-BtJHh7JK.js → transition-YJj28Lgx.js} +1 -1
- package/dist/node/cli.js +2 -2
- package/package.json +6 -3
- package/widgets/EodashDatePicker.vue +4 -3
- package/widgets/EodashItemFilter.vue +17 -12
- package/widgets/EodashLayerControl.vue +18 -0
- package/widgets/EodashMap.vue +46 -75
- package/widgets/ExportState.vue +3 -2
- package/dist/client/EodashItemFilter-DoWZGe6r.js +0 -7671
- package/dist/client/eox-jsonform-DCErgjhw.js +0 -17515
- package/dist/client/eox-layercontrol-D0Ht7Mag.js +0 -21298
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as mt, B as oe, e as he, n as yt, m as gt, u as ht, b as bt, a as wt, s as Et } from "./forwardRefs-
|
|
3
|
-
import { m as St, M as xt } from "./transition-
|
|
4
|
-
const
|
|
1
|
+
import { bk as ke, bl as Oe, p as U, r as I, L as q, ap as se, w as L, bm as _, bn as De, bo as ve, bp as te, bq as ne, br as de, c as P, D as ce, bs as Ie, bt as me, C as F, al as ye, aq as ue, bu as Pe, bv as Ve, bf as Ce, x as pe, bw as ge, d as W, bx as We, s as Y, H as qe, Z as je, aK as Ae, q as ze, as as $e, by as Ye, bz as Ue, e as Ge, ac as Ke, h as Xe, g as Ze, y as Qe, i as Je, j as et, Q as tt, R as nt, ad as ot, an as at, bA as rt, a as it, b as D, bB as lt, t as st, B as ct, v as ut, F as ft, ab as vt, bC as dt } from "./asWebComponent-CVFLR8Hh.js";
|
|
2
|
+
import { g as mt, B as oe, e as he, n as yt, m as gt, u as ht, b as bt, a as wt, s as Et } from "./forwardRefs-BOAfCdT0.js";
|
|
3
|
+
import { m as St, M as xt } from "./transition-YJj28Lgx.js";
|
|
4
|
+
const X = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function kt(e, t) {
|
|
6
6
|
Object.keys(t).forEach((n) => {
|
|
7
7
|
if (ke(n)) {
|
|
8
|
-
const o = Oe(n), r =
|
|
8
|
+
const o = Oe(n), r = X.get(e);
|
|
9
9
|
if (t[n] == null)
|
|
10
10
|
r?.forEach((l) => {
|
|
11
11
|
const [a, s] = l;
|
|
@@ -14,7 +14,7 @@ function kt(e, t) {
|
|
|
14
14
|
else if (!r || ![...r].some((l) => l[0] === o && l[1] === t[n])) {
|
|
15
15
|
e.addEventListener(o, t[n]);
|
|
16
16
|
const l = r || /* @__PURE__ */ new Set();
|
|
17
|
-
l.add([o, t[n]]),
|
|
17
|
+
l.add([o, t[n]]), X.has(e) || X.set(e, l);
|
|
18
18
|
}
|
|
19
19
|
} else
|
|
20
20
|
t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]);
|
|
@@ -23,7 +23,7 @@ function kt(e, t) {
|
|
|
23
23
|
function Ot(e, t) {
|
|
24
24
|
Object.keys(t).forEach((n) => {
|
|
25
25
|
if (ke(n)) {
|
|
26
|
-
const o = Oe(n), r =
|
|
26
|
+
const o = Oe(n), r = X.get(e);
|
|
27
27
|
r?.forEach((l) => {
|
|
28
28
|
const [a, s] = l;
|
|
29
29
|
a === o && (e.removeEventListener(o, s), r.delete(l));
|
|
@@ -45,12 +45,12 @@ function Te(e) {
|
|
|
45
45
|
function Pt(e) {
|
|
46
46
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
47
47
|
for (; e; ) {
|
|
48
|
-
if (t ?
|
|
48
|
+
if (t ? Ct(e) : fe(e)) return e;
|
|
49
49
|
e = e.parentElement;
|
|
50
50
|
}
|
|
51
51
|
return document.scrollingElement;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function Z(e, t) {
|
|
54
54
|
const n = [];
|
|
55
55
|
if (t && e && !t.contains(e)) return n;
|
|
56
56
|
for (; e && (fe(e) && n.push(e), e !== t); )
|
|
@@ -62,12 +62,12 @@ function fe(e) {
|
|
|
62
62
|
const t = window.getComputedStyle(e);
|
|
63
63
|
return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Ct(e) {
|
|
66
66
|
if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
|
|
67
67
|
const t = window.getComputedStyle(e);
|
|
68
68
|
return ["scroll", "auto"].includes(t.overflowY);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function pt(e) {
|
|
71
71
|
for (; e; ) {
|
|
72
72
|
if (window.getComputedStyle(e).position === "fixed")
|
|
73
73
|
return !0;
|
|
@@ -211,7 +211,7 @@ function Nt(e, t) {
|
|
|
211
211
|
return t ? n.x += parseFloat(e.style.right || 0) : n.x -= parseFloat(e.style.left || 0), n.y -= parseFloat(e.style.top || 0), n;
|
|
212
212
|
}
|
|
213
213
|
function _t(e, t, n) {
|
|
214
|
-
(Array.isArray(e.target.value) ||
|
|
214
|
+
(Array.isArray(e.target.value) || pt(e.target.value)) && Object.assign(n.value, {
|
|
215
215
|
position: "fixed",
|
|
216
216
|
top: 0,
|
|
217
217
|
[e.isRtl.value ? "right" : "left"]: 0
|
|
@@ -240,9 +240,9 @@ function _t(e, t, n) {
|
|
|
240
240
|
}
|
|
241
241
|
return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
|
|
242
242
|
});
|
|
243
|
-
let
|
|
243
|
+
let C = !1;
|
|
244
244
|
const k = new ResizeObserver(() => {
|
|
245
|
-
|
|
245
|
+
C && S();
|
|
246
246
|
});
|
|
247
247
|
L([e.target, e.contentEl], (u, c) => {
|
|
248
248
|
let [x, A] = u, [h, w] = c;
|
|
@@ -253,8 +253,8 @@ function _t(e, t, n) {
|
|
|
253
253
|
k.disconnect();
|
|
254
254
|
});
|
|
255
255
|
function S() {
|
|
256
|
-
if (
|
|
257
|
-
const u = mt(e.target.value), c = Nt(e.contentEl.value, e.isRtl.value), x =
|
|
256
|
+
if (C = !1, requestAnimationFrame(() => C = !0), !e.target.value || !e.contentEl.value) return;
|
|
257
|
+
const u = mt(e.target.value), c = Nt(e.contentEl.value, e.isRtl.value), x = Z(e.contentEl.value), A = 12;
|
|
258
258
|
x.length || (x.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (c.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), c.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
|
259
259
|
const h = x.reduce((E, g) => {
|
|
260
260
|
const f = g.getBoundingClientRect(), v = new oe({
|
|
@@ -315,7 +315,7 @@ function _t(e, t, n) {
|
|
|
315
315
|
y: T
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
let B = 0,
|
|
318
|
+
let B = 0, p = 0;
|
|
319
319
|
const i = {
|
|
320
320
|
x: 0,
|
|
321
321
|
y: 0
|
|
@@ -323,9 +323,9 @@ function _t(e, t, n) {
|
|
|
323
323
|
x: !1,
|
|
324
324
|
y: !1
|
|
325
325
|
};
|
|
326
|
-
let
|
|
326
|
+
let J = -1;
|
|
327
327
|
for (; ; ) {
|
|
328
|
-
if (
|
|
328
|
+
if (J++ > 10) {
|
|
329
329
|
Ie("Infinite loop detected in connectedLocationStrategy");
|
|
330
330
|
break;
|
|
331
331
|
}
|
|
@@ -334,7 +334,7 @@ function _t(e, t, n) {
|
|
|
334
334
|
y: g,
|
|
335
335
|
overflows: f
|
|
336
336
|
} = H(w);
|
|
337
|
-
B += E,
|
|
337
|
+
B += E, p += g, c.x += E, c.y += g;
|
|
338
338
|
{
|
|
339
339
|
const v = me(w.anchor), M = f.x.before || f.x.after, T = f.y.before || f.y.after;
|
|
340
340
|
let z = !1;
|
|
@@ -356,10 +356,10 @@ function _t(e, t, n) {
|
|
|
356
356
|
}
|
|
357
357
|
}), z) continue;
|
|
358
358
|
}
|
|
359
|
-
f.x.before && (B += f.x.before, c.x += f.x.before), f.x.after && (B -= f.x.after, c.x -= f.x.after), f.y.before && (
|
|
359
|
+
f.x.before && (B += f.x.before, c.x += f.x.before), f.x.after && (B -= f.x.after, c.x -= f.x.after), f.y.before && (p += f.y.before, c.y += f.y.before), f.y.after && (p -= f.y.after, c.y -= f.y.after);
|
|
360
360
|
{
|
|
361
361
|
const v = he(c, h);
|
|
362
|
-
i.x = h.width - v.x.before - v.x.after, i.y = h.height - v.y.before - v.y.after, B += v.x.before, c.x += v.x.before,
|
|
362
|
+
i.x = h.width - v.x.before - v.x.after, i.y = h.height - v.y.before - v.y.after, B += v.x.before, c.x += v.x.before, p += v.y.before, c.y += v.y.before;
|
|
363
363
|
}
|
|
364
364
|
break;
|
|
365
365
|
}
|
|
@@ -368,7 +368,7 @@ function _t(e, t, n) {
|
|
|
368
368
|
"--v-overlay-anchor-origin": `${w.anchor.side} ${w.anchor.align}`,
|
|
369
369
|
transformOrigin: `${w.origin.side} ${w.origin.align}`,
|
|
370
370
|
// transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
|
|
371
|
-
top: F(re(
|
|
371
|
+
top: F(re(p)),
|
|
372
372
|
left: e.isRtl.value ? void 0 : F(re(B)),
|
|
373
373
|
right: e.isRtl.value ? F(re(-B)) : void 0,
|
|
374
374
|
minWidth: F(ee === "y" ? Math.min(a.value, u.width) : a.value),
|
|
@@ -402,15 +402,15 @@ function Ee(e) {
|
|
|
402
402
|
return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
|
|
403
403
|
}
|
|
404
404
|
let ie = !0;
|
|
405
|
-
const
|
|
405
|
+
const Q = [];
|
|
406
406
|
function Ht(e) {
|
|
407
|
-
!ie ||
|
|
407
|
+
!ie || Q.length ? (Q.push(e), le()) : (ie = !1, e(), le());
|
|
408
408
|
}
|
|
409
409
|
let Se = -1;
|
|
410
410
|
function le() {
|
|
411
411
|
cancelAnimationFrame(Se), Se = requestAnimationFrame(() => {
|
|
412
|
-
const e =
|
|
413
|
-
e && e(),
|
|
412
|
+
const e = Q.shift();
|
|
413
|
+
e && e(), Q.length ? le() : ie = !0;
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
const Re = {
|
|
@@ -443,7 +443,7 @@ function Vt(e) {
|
|
|
443
443
|
Fe(e.targetEl.value ?? e.contentEl.value, t);
|
|
444
444
|
}
|
|
445
445
|
function Wt(e, t) {
|
|
446
|
-
const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...
|
|
446
|
+
const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...Z(e.targetEl.value, t.contained ? n : void 0), ...Z(e.contentEl.value, t.contained ? n : void 0)])].filter((a) => !a.classList.contains("v-overlay-scroll-blocked")), r = window.innerWidth - document.documentElement.offsetWidth, l = ((a) => fe(a) && a)(n || document.documentElement);
|
|
447
447
|
l && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((a, s) => {
|
|
448
448
|
a.style.setProperty("--v-body-scroll-x", F(-a.scrollLeft)), a.style.setProperty("--v-body-scroll-y", F(-a.scrollTop)), a !== document.documentElement && a.style.setProperty("--v-scrollbar-offset", F(r)), a.classList.add("v-overlay-scroll-blocked");
|
|
449
449
|
}), _(() => {
|
|
@@ -476,7 +476,7 @@ function qt(e, t, n) {
|
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
478
|
function Fe(e, t) {
|
|
479
|
-
const n = [document, ...
|
|
479
|
+
const n = [document, ...Z(e)];
|
|
480
480
|
n.forEach((o) => {
|
|
481
481
|
o.addEventListener("scroll", t, {
|
|
482
482
|
passive: !0
|
|
@@ -539,10 +539,10 @@ function Ut(e, t) {
|
|
|
539
539
|
isActive: n,
|
|
540
540
|
isTop: o
|
|
541
541
|
} = t;
|
|
542
|
-
const r =
|
|
542
|
+
const r = Ce("useActivator"), l = I();
|
|
543
543
|
let a = !1, s = !1, d = !0;
|
|
544
544
|
const m = P(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), y = P(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !m.value), {
|
|
545
|
-
runOpenDelay:
|
|
545
|
+
runOpenDelay: C,
|
|
546
546
|
runCloseDelay: k
|
|
547
547
|
} = $t(e, (i) => {
|
|
548
548
|
i === (e.openOnHover && a || m.value && s) && !(e.openOnHover && n.value && !o.value) && (n.value !== i && (d = !0), n.value = i);
|
|
@@ -551,13 +551,13 @@ function Ut(e, t) {
|
|
|
551
551
|
i.stopPropagation(), l.value = i.currentTarget || i.target, n.value || (S.value = [i.clientX, i.clientY]), n.value = !n.value;
|
|
552
552
|
},
|
|
553
553
|
onMouseenter: (i) => {
|
|
554
|
-
i.sourceCapabilities?.firesTouchEvents || (a = !0, l.value = i.currentTarget || i.target,
|
|
554
|
+
i.sourceCapabilities?.firesTouchEvents || (a = !0, l.value = i.currentTarget || i.target, C());
|
|
555
555
|
},
|
|
556
556
|
onMouseleave: (i) => {
|
|
557
557
|
a = !1, k();
|
|
558
558
|
},
|
|
559
559
|
onFocus: (i) => {
|
|
560
|
-
We(i.target, ":focus-visible") !== !1 && (s = !0, i.stopPropagation(), l.value = i.currentTarget || i.target,
|
|
560
|
+
We(i.target, ":focus-visible") !== !1 && (s = !0, i.stopPropagation(), l.value = i.currentTarget || i.target, C());
|
|
561
561
|
},
|
|
562
562
|
onBlur: (i) => {
|
|
563
563
|
s = !1, i.stopPropagation(), k();
|
|
@@ -568,15 +568,15 @@ function Ut(e, t) {
|
|
|
568
568
|
}), x = P(() => {
|
|
569
569
|
const i = {};
|
|
570
570
|
if (e.openOnHover && (i.onMouseenter = () => {
|
|
571
|
-
a = !0,
|
|
571
|
+
a = !0, C();
|
|
572
572
|
}, i.onMouseleave = () => {
|
|
573
573
|
a = !1, k();
|
|
574
574
|
}), m.value && (i.onFocusin = () => {
|
|
575
|
-
s = !0,
|
|
575
|
+
s = !0, C();
|
|
576
576
|
}, i.onFocusout = () => {
|
|
577
577
|
s = !1, k();
|
|
578
578
|
}), e.closeOnContentClick) {
|
|
579
|
-
const N =
|
|
579
|
+
const N = pe(jt, null);
|
|
580
580
|
i.onClick = () => {
|
|
581
581
|
n.value = !1, N?.closeParents();
|
|
582
582
|
};
|
|
@@ -585,7 +585,7 @@ function Ut(e, t) {
|
|
|
585
585
|
}), A = P(() => {
|
|
586
586
|
const i = {};
|
|
587
587
|
return e.openOnHover && (i.onMouseenter = () => {
|
|
588
|
-
d && (a = !0, d = !1,
|
|
588
|
+
d && (a = !0, d = !1, C());
|
|
589
589
|
}, i.onMouseleave = () => {
|
|
590
590
|
a = !1, k();
|
|
591
591
|
}), i;
|
|
@@ -606,19 +606,19 @@ function Ut(e, t) {
|
|
|
606
606
|
});
|
|
607
607
|
});
|
|
608
608
|
const w = ge(), H = P(() => e.target === "cursor" && S.value ? S.value : w.value ? w.el : Ne(e.target, r) || l.value), B = P(() => Array.isArray(H.value) ? void 0 : H.value);
|
|
609
|
-
let
|
|
609
|
+
let p;
|
|
610
610
|
return L(() => !!e.activator, (i) => {
|
|
611
|
-
i && q ? (
|
|
611
|
+
i && q ? (p = Pe(), p.run(() => {
|
|
612
612
|
Gt(e, r, {
|
|
613
613
|
activatorEl: l,
|
|
614
614
|
activatorEvents: c
|
|
615
615
|
});
|
|
616
|
-
})) :
|
|
616
|
+
})) : p && p.stop();
|
|
617
617
|
}, {
|
|
618
618
|
flush: "post",
|
|
619
619
|
immediate: !0
|
|
620
620
|
}), _(() => {
|
|
621
|
-
|
|
621
|
+
p?.stop();
|
|
622
622
|
}), {
|
|
623
623
|
activatorEl: l,
|
|
624
624
|
activatorRef: h,
|
|
@@ -673,7 +673,7 @@ function Ne(e, t) {
|
|
|
673
673
|
} else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e;
|
|
674
674
|
return n;
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Kt() {
|
|
677
677
|
if (!q) return Y(!1);
|
|
678
678
|
const {
|
|
679
679
|
ssr: e
|
|
@@ -687,8 +687,8 @@ function Xt() {
|
|
|
687
687
|
return Y(!0);
|
|
688
688
|
}
|
|
689
689
|
const xe = Symbol.for("vuetify:stack"), $ = Ae([]);
|
|
690
|
-
function
|
|
691
|
-
const o =
|
|
690
|
+
function Xt(e, t, n) {
|
|
691
|
+
const o = Ce("useStack"), r = !n, l = pe(xe, void 0), a = Ae({
|
|
692
692
|
activeChildren: /* @__PURE__ */ new Set()
|
|
693
693
|
});
|
|
694
694
|
ze(xe, a);
|
|
@@ -697,8 +697,8 @@ function Zt(e, t, n) {
|
|
|
697
697
|
const y = $.at(-1)?.[1];
|
|
698
698
|
s.value = y ? y + 10 : +t.value, r && $.push([o.uid, s.value]), l?.activeChildren.add(o.uid), _(() => {
|
|
699
699
|
if (r) {
|
|
700
|
-
const
|
|
701
|
-
$.splice(
|
|
700
|
+
const C = Ye($).findIndex((k) => k[0] === o.uid);
|
|
701
|
+
$.splice(C, 1);
|
|
702
702
|
}
|
|
703
703
|
l?.activeChildren.delete(o.uid);
|
|
704
704
|
});
|
|
@@ -717,7 +717,7 @@ function Zt(e, t, n) {
|
|
|
717
717
|
}))
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Zt(e) {
|
|
721
721
|
return {
|
|
722
722
|
teleportTarget: P(() => {
|
|
723
723
|
const n = e();
|
|
@@ -732,7 +732,7 @@ function Jt(e) {
|
|
|
732
732
|
})
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Qt(e) {
|
|
736
736
|
const {
|
|
737
737
|
modelValue: t,
|
|
738
738
|
color: n,
|
|
@@ -748,7 +748,7 @@ function Kt(e) {
|
|
|
748
748
|
}, o), null)]
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
|
-
const
|
|
751
|
+
const Jt = U({
|
|
752
752
|
absolute: Boolean,
|
|
753
753
|
attach: [Boolean, String, Object],
|
|
754
754
|
closeOnBack: {
|
|
@@ -773,13 +773,13 @@ const Qt = U({
|
|
|
773
773
|
},
|
|
774
774
|
...Yt(),
|
|
775
775
|
...Ge(),
|
|
776
|
-
...
|
|
776
|
+
...Ke(),
|
|
777
777
|
...gt(),
|
|
778
778
|
...Mt(),
|
|
779
779
|
...Dt(),
|
|
780
|
-
...
|
|
780
|
+
...Xe(),
|
|
781
781
|
...St()
|
|
782
|
-
}, "VOverlay"), on =
|
|
782
|
+
}, "VOverlay"), on = Ze()({
|
|
783
783
|
name: "VOverlay",
|
|
784
784
|
directives: {
|
|
785
785
|
ClickOutside: Lt
|
|
@@ -787,7 +787,7 @@ const Qt = U({
|
|
|
787
787
|
inheritAttrs: !1,
|
|
788
788
|
props: {
|
|
789
789
|
_disableGlobalStack: Boolean,
|
|
790
|
-
...
|
|
790
|
+
...Jt()
|
|
791
791
|
},
|
|
792
792
|
emits: {
|
|
793
793
|
"click:outside": (e) => !0,
|
|
@@ -801,45 +801,45 @@ const Qt = U({
|
|
|
801
801
|
attrs: o,
|
|
802
802
|
emit: r
|
|
803
803
|
} = t;
|
|
804
|
-
const l =
|
|
804
|
+
const l = Qe(e, "modelValue"), a = P({
|
|
805
805
|
get: () => l.value,
|
|
806
806
|
set: (b) => {
|
|
807
807
|
b && e.disabled || (l.value = b);
|
|
808
808
|
}
|
|
809
809
|
}), {
|
|
810
810
|
themeClasses: s
|
|
811
|
-
} =
|
|
811
|
+
} = Je(e), {
|
|
812
812
|
rtlClasses: d,
|
|
813
813
|
isRtl: m
|
|
814
814
|
} = et(), {
|
|
815
815
|
hasContent: y,
|
|
816
|
-
onAfterLeave:
|
|
816
|
+
onAfterLeave: C
|
|
817
817
|
} = ht(e, a), k = tt(P(() => typeof e.scrim == "string" ? e.scrim : null)), {
|
|
818
818
|
globalTop: S,
|
|
819
819
|
localTop: u,
|
|
820
820
|
stackStyles: c
|
|
821
|
-
} =
|
|
821
|
+
} = Xt(a, nt(e, "zIndex"), e._disableGlobalStack), {
|
|
822
822
|
activatorEl: x,
|
|
823
823
|
activatorRef: A,
|
|
824
824
|
target: h,
|
|
825
825
|
targetEl: w,
|
|
826
826
|
targetRef: H,
|
|
827
827
|
activatorEvents: B,
|
|
828
|
-
contentEvents:
|
|
828
|
+
contentEvents: p,
|
|
829
829
|
scrimEvents: i
|
|
830
830
|
} = Ut(e, {
|
|
831
831
|
isActive: a,
|
|
832
832
|
isTop: u
|
|
833
833
|
}), {
|
|
834
834
|
teleportTarget: N
|
|
835
|
-
} =
|
|
835
|
+
} = Zt(() => {
|
|
836
836
|
const b = e.attach || e.contained;
|
|
837
837
|
if (b) return b;
|
|
838
838
|
const j = x?.value?.getRootNode();
|
|
839
839
|
return j instanceof ShadowRoot ? j : !1;
|
|
840
840
|
}), {
|
|
841
|
-
dimensionStyles:
|
|
842
|
-
} = ot(e), ee =
|
|
841
|
+
dimensionStyles: J
|
|
842
|
+
} = ot(e), ee = Kt(), {
|
|
843
843
|
scopeId: E
|
|
844
844
|
} = bt();
|
|
845
845
|
L(() => e.disabled, (b) => {
|
|
@@ -862,7 +862,7 @@ const Qt = U({
|
|
|
862
862
|
updateLocation: T
|
|
863
863
|
});
|
|
864
864
|
function z(b) {
|
|
865
|
-
r("click:outside", b), e.persistent ?
|
|
865
|
+
r("click:outside", b), e.persistent ? K() : a.value = !1;
|
|
866
866
|
}
|
|
867
867
|
function O(b) {
|
|
868
868
|
return a.value && S.value && // If using scrim, only close if clicking on it rather than anything opened on top
|
|
@@ -876,12 +876,12 @@ const Qt = U({
|
|
|
876
876
|
q && window.removeEventListener("keydown", R);
|
|
877
877
|
});
|
|
878
878
|
function R(b) {
|
|
879
|
-
b.key === "Escape" && S.value && (e.persistent ?
|
|
879
|
+
b.key === "Escape" && S.value && (e.persistent ? K() : (a.value = !1, v.value?.contains(document.activeElement) && x.value?.focus()));
|
|
880
880
|
}
|
|
881
881
|
const G = rt();
|
|
882
882
|
se(() => e.closeOnBack, () => {
|
|
883
883
|
dt(G, (b) => {
|
|
884
|
-
S.value && a.value ? (b(!1), e.persistent ?
|
|
884
|
+
S.value && a.value ? (b(!1), e.persistent ? K() : a.value = !1) : b();
|
|
885
885
|
});
|
|
886
886
|
});
|
|
887
887
|
const V = I();
|
|
@@ -891,7 +891,7 @@ const Qt = U({
|
|
|
891
891
|
j && j !== document.scrollingElement && (V.value = j.scrollTop);
|
|
892
892
|
}
|
|
893
893
|
});
|
|
894
|
-
function
|
|
894
|
+
function K() {
|
|
895
895
|
e.noClickAnimation || v.value && wt(v.value, [{
|
|
896
896
|
transformOrigin: "center"
|
|
897
897
|
}, {
|
|
@@ -907,7 +907,7 @@ const Qt = U({
|
|
|
907
907
|
r("afterEnter");
|
|
908
908
|
}
|
|
909
909
|
function He() {
|
|
910
|
-
|
|
910
|
+
C(), r("afterLeave");
|
|
911
911
|
}
|
|
912
912
|
return it(() => D(ft, null, [n.activator?.({
|
|
913
913
|
isActive: a.value,
|
|
@@ -930,7 +930,7 @@ const Qt = U({
|
|
|
930
930
|
top: F(V.value)
|
|
931
931
|
}, e.style],
|
|
932
932
|
ref: g
|
|
933
|
-
}, E, o), [D(
|
|
933
|
+
}, E, o), [D(Qt, W({
|
|
934
934
|
color: k,
|
|
935
935
|
modelValue: a.value && !!e.scrim,
|
|
936
936
|
ref: f
|
|
@@ -945,8 +945,8 @@ const Qt = U({
|
|
|
945
945
|
default: () => [st(D("div", W({
|
|
946
946
|
ref: v,
|
|
947
947
|
class: ["v-overlay__content", e.contentClass],
|
|
948
|
-
style: [
|
|
949
|
-
},
|
|
948
|
+
style: [J.value, M.value]
|
|
949
|
+
}, p.value, e.contentProps), [n.default?.({
|
|
950
950
|
isActive: a
|
|
951
951
|
})]), [[ct, a.value], [ut("click-outside"), {
|
|
952
952
|
handler: z,
|
|
@@ -958,7 +958,7 @@ const Qt = U({
|
|
|
958
958
|
activatorEl: x,
|
|
959
959
|
scrimEl: f,
|
|
960
960
|
target: h,
|
|
961
|
-
animateClick:
|
|
961
|
+
animateClick: K,
|
|
962
962
|
contentEl: v,
|
|
963
963
|
globalTop: S,
|
|
964
964
|
localTop: u,
|
|
@@ -968,5 +968,5 @@ const Qt = U({
|
|
|
968
968
|
});
|
|
969
969
|
export {
|
|
970
970
|
on as V,
|
|
971
|
-
|
|
971
|
+
Jt as m
|
|
972
972
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { X as g, r as i, Y as y, Z as x, D as v, $ as n, a6 as m, a7 as E, a3 as H, F as k, a9 as f, aa as C, a0 as _, d as w, a4 as
|
|
1
|
+
import { X as g, r as i, Y as y, Z as x, D as v, $ as n, a6 as m, a7 as E, a3 as H, F as k, a9 as f, aa as C, a0 as _, d as w, a4 as D, bD as A } from "./asWebComponent-CVFLR8Hh.js";
|
|
2
2
|
class F extends HTMLDetailsElement {
|
|
3
3
|
// this is an adaptation of // https://css-tricks.com/how-to-animate-the-details-element-using-waapi/
|
|
4
4
|
// which turns the class into a custom element
|
|
@@ -55,7 +55,7 @@ class F extends HTMLDetailsElement {
|
|
|
55
55
|
customElements.define("animated-details", F, {
|
|
56
56
|
extends: "details"
|
|
57
57
|
});
|
|
58
|
-
const
|
|
58
|
+
const b = {
|
|
59
59
|
__name: "WidgetsContainer",
|
|
60
60
|
props: {
|
|
61
61
|
widgets: {
|
|
@@ -103,12 +103,12 @@ const B = {
|
|
|
103
103
|
f(
|
|
104
104
|
"span",
|
|
105
105
|
{
|
|
106
|
-
style:
|
|
106
|
+
style: A({ height: h.value }),
|
|
107
107
|
class: "d-flex flex-column"
|
|
108
108
|
},
|
|
109
109
|
[
|
|
110
110
|
(n(), _(
|
|
111
|
-
|
|
111
|
+
D(s.value.component),
|
|
112
112
|
w({ ref_for: !0 }, s.value.props),
|
|
113
113
|
null,
|
|
114
114
|
16
|
|
@@ -125,5 +125,5 @@ const B = {
|
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
b as default
|
|
129
129
|
};
|