@eodash/eodash 5.0.0-alpha.2.17 → 5.0.0-alpha.2.18
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/App.vue +2 -0
- package/core/client/composables/EodashMap.js +93 -40
- package/core/client/eodash.js +8 -9
- package/core/client/plugins/index.js +2 -1
- package/core/client/utils/createLayers.js +7 -1
- package/core/client/utils/eodashSTAC.js +9 -0
- package/core/client/utils/helpers.js +16 -11
- package/core/client/vite-env.d.ts +1 -0
- package/dist/client/{DashboardLayout-BR1lU9ER.js → DashboardLayout-Dk6lzKZA.js} +2 -2
- package/dist/client/{DynamicWebComponent-7z8VFsrZ.js → DynamicWebComponent-BkMCGU7a.js} +1 -1
- package/dist/client/EodashDatePicker-D27wn0jP.js +276 -0
- package/dist/client/{EodashItemFilter-lNjVkidr.js → EodashItemFilter-DS1mOc2p.js} +1 -1
- package/dist/client/{EodashLayerControl-B0N8_XmX.js → EodashLayerControl-BqGA6jbV.js} +2247 -2198
- package/dist/client/{EodashMap-DFT2R2Rk.js → EodashMap-BnVrfBnA.js} +8671 -8650
- package/dist/client/{EodashMapBtns-CoGjVl8Y.js → EodashMapBtns-rv-U1nI_.js} +2 -2
- package/dist/client/{ExportState-Dwv37MRw.js → ExportState-C3Z1ET5c.js} +40 -40
- package/dist/client/{Footer-DuScuHSx.js → Footer-BBkNiqPm.js} +1 -1
- package/dist/client/{Header-C4Y0u0E5.js → Header-BQKHLO5P.js} +4 -4
- package/dist/client/{IframeWrapper-D1TfK4xH.js → IframeWrapper-BX4e2uxq.js} +1 -1
- package/dist/client/{MobileLayout-C-b8DIFO.js → MobileLayout-C2aqobN5.js} +6 -6
- package/dist/client/{PopUp-DBMZX3l3.js → PopUp-DG3zrW12.js} +15 -15
- package/dist/client/{VImg-bAMQHnMM.js → VImg-BLpHACcB.js} +2 -2
- package/dist/client/{VMain-Df5VMG9r.js → VMain-DOyRcpub.js} +2 -2
- package/dist/client/{VOverlay-D5GzAYRY.js → VOverlay-DAiInZQP.js} +32 -32
- package/dist/client/{WidgetsContainer-yZDmY6_u.js → WidgetsContainer-BqoX7R5Z.js} +3 -3
- package/dist/client/{asWebComponent-DhR2_xlP.js → asWebComponent-tNU8_fkz.js} +1210 -1184
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-C0MQxvur.js → forwardRefs-BexjzXbg.js} +1 -1
- package/dist/client/{index-qNWeBhRh.js → index-F73os72i.js} +23 -23
- package/dist/client/{lerc-B4lXefGh-CsL-d8wY.js → lerc-B4lXefGh-DhdntrgS.js} +1 -1
- package/dist/client/{ssrBoot-Xmkz8T49.js → ssrBoot-C71RpKe4.js} +1 -1
- package/dist/client/style.css +1 -1
- package/dist/client/{transition-DRzZPWIN.js → transition-DNdd2Y-1.js} +1 -1
- package/dist/client/{webfontloader-CqD-lAx-.js → webfontloader-C7dpDL7m.js} +1 -1
- package/package.json +4 -5
- package/widgets/EodashDatePicker.vue +24 -12
- package/widgets/EodashLayerControl.vue +3 -1
- package/widgets/EodashMap.vue +43 -25
- package/dist/client/EodashDatePicker-o7ZOYIHL.js +0 -259
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as yt, B as oe, e as we, n as gt, m as ht, u as bt, b as wt, a as Et, s as St } from "./forwardRefs-
|
|
3
|
-
import { m as xt, M as Ot } from "./transition-
|
|
4
|
-
const
|
|
1
|
+
import { bs as Ce, bt as Pe, p as K, r as I, L as W, ap as se, w as B, bu as _, bv as Ie, bw as me, bx as te, by as ne, bz as ye, c as P, D as ce, bA as Ve, bB as ge, C as F, al as he, aq as ue, bC as Ae, bD as We, bn as fe, x as pe, bE as be, d as V, bF as qe, s as G, H as $e, Z as je, aB as Te, q as ze, as as Ye, bG as Ue, bH as Ge, e as Ke, ac as Xe, h as Ze, g as Je, y as Qe, i as et, j as tt, Q as nt, R as ot, ad as at, an as rt, bI as it, a as lt, b as D, bJ as st, t as ct, B as ut, v as ft, F as vt, ab as dt, bK as mt } from "./asWebComponent-tNU8_fkz.js";
|
|
2
|
+
import { g as yt, B as oe, e as we, n as gt, m as ht, u as bt, b as wt, a as Et, s as St } from "./forwardRefs-BexjzXbg.js";
|
|
3
|
+
import { m as xt, M as Ot } from "./transition-DNdd2Y-1.js";
|
|
4
|
+
const Z = /* @__PURE__ */ new WeakMap();
|
|
5
5
|
function kt(e, t) {
|
|
6
6
|
Object.keys(t).forEach((n) => {
|
|
7
7
|
if (Ce(n)) {
|
|
8
|
-
const o = Pe(n), a =
|
|
8
|
+
const o = Pe(n), a = Z.get(e);
|
|
9
9
|
if (t[n] == null)
|
|
10
10
|
a?.forEach((l) => {
|
|
11
11
|
const [r, c] = l;
|
|
@@ -14,7 +14,7 @@ function kt(e, t) {
|
|
|
14
14
|
else if (!a || ![...a].some((l) => l[0] === o && l[1] === t[n])) {
|
|
15
15
|
e.addEventListener(o, t[n]);
|
|
16
16
|
const l = a || /* @__PURE__ */ new Set();
|
|
17
|
-
l.add([o, t[n]]),
|
|
17
|
+
l.add([o, t[n]]), Z.has(e) || Z.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 Ct(e, t) {
|
|
24
24
|
Object.keys(t).forEach((n) => {
|
|
25
25
|
if (Ce(n)) {
|
|
26
|
-
const o = Pe(n), a =
|
|
26
|
+
const o = Pe(n), a = Z.get(e);
|
|
27
27
|
a?.forEach((l) => {
|
|
28
28
|
const [r, c] = l;
|
|
29
29
|
r === o && (e.removeEventListener(o, c), a.delete(l));
|
|
@@ -50,7 +50,7 @@ function Pt(e) {
|
|
|
50
50
|
}
|
|
51
51
|
return document.scrollingElement;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function J(e, t) {
|
|
54
54
|
const n = [];
|
|
55
55
|
if (t && e && !t.contains(e)) return n;
|
|
56
56
|
for (; e && (ve(e) && n.push(e), e !== t); )
|
|
@@ -170,7 +170,7 @@ const Me = {
|
|
|
170
170
|
// specific viewport position, usually centered
|
|
171
171
|
connected: Ht
|
|
172
172
|
// connected to a certain element
|
|
173
|
-
}, Mt =
|
|
173
|
+
}, Mt = K({
|
|
174
174
|
locationStrategy: {
|
|
175
175
|
type: [String, Function],
|
|
176
176
|
default: "static",
|
|
@@ -253,7 +253,7 @@ function Ht(e, t, n) {
|
|
|
253
253
|
});
|
|
254
254
|
function x() {
|
|
255
255
|
if (N = !1, requestAnimationFrame(() => N = !0), !e.target.value || !e.contentEl.value) return;
|
|
256
|
-
const v = yt(e.target.value), f = _t(e.contentEl.value, e.isRtl.value), O =
|
|
256
|
+
const v = yt(e.target.value), f = _t(e.contentEl.value, e.isRtl.value), O = J(e.contentEl.value), k = 12;
|
|
257
257
|
O.length || (O.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (f.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), f.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
|
258
258
|
const w = O.reduce((E, h) => {
|
|
259
259
|
const d = h.getBoundingClientRect(), y = new oe({
|
|
@@ -417,7 +417,7 @@ const Fe = {
|
|
|
417
417
|
close: Wt,
|
|
418
418
|
block: qt,
|
|
419
419
|
reposition: $t
|
|
420
|
-
}, It =
|
|
420
|
+
}, It = K({
|
|
421
421
|
scrollStrategy: {
|
|
422
422
|
type: [String, Function],
|
|
423
423
|
default: "block",
|
|
@@ -442,7 +442,7 @@ function Wt(e) {
|
|
|
442
442
|
Ne(e.targetEl.value ?? e.contentEl.value, t);
|
|
443
443
|
}
|
|
444
444
|
function qt(e, t) {
|
|
445
|
-
const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...
|
|
445
|
+
const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...J(e.targetEl.value, t.contained ? n : void 0), ...J(e.contentEl.value, t.contained ? n : void 0)])].filter((r) => !r.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, l = ((r) => ve(r) && r)(n || document.documentElement);
|
|
446
446
|
l && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((r, c) => {
|
|
447
447
|
r.style.setProperty("--v-body-scroll-x", F(-r.scrollLeft)), r.style.setProperty("--v-body-scroll-y", F(-r.scrollTop)), r !== document.documentElement && r.style.setProperty("--v-scrollbar-offset", F(a)), r.classList.add("v-overlay-scroll-blocked");
|
|
448
448
|
}), _(() => {
|
|
@@ -475,7 +475,7 @@ function $t(e, t, n) {
|
|
|
475
475
|
});
|
|
476
476
|
}
|
|
477
477
|
function Ne(e, t) {
|
|
478
|
-
const n = [document, ...
|
|
478
|
+
const n = [document, ...J(e)];
|
|
479
479
|
n.forEach((o) => {
|
|
480
480
|
o.addEventListener("scroll", t, {
|
|
481
481
|
passive: !0
|
|
@@ -486,7 +486,7 @@ function Ne(e, t) {
|
|
|
486
486
|
});
|
|
487
487
|
});
|
|
488
488
|
}
|
|
489
|
-
const jt = Symbol.for("vuetify:v-menu"), zt =
|
|
489
|
+
const jt = Symbol.for("vuetify:v-menu"), zt = K({
|
|
490
490
|
closeDelay: [Number, String],
|
|
491
491
|
openDelay: [Number, String]
|
|
492
492
|
}, "delay");
|
|
@@ -514,7 +514,7 @@ function Yt(e, t) {
|
|
|
514
514
|
runCloseDelay: l
|
|
515
515
|
};
|
|
516
516
|
}
|
|
517
|
-
const Ut =
|
|
517
|
+
const Ut = K({
|
|
518
518
|
target: [String, Object],
|
|
519
519
|
activator: [String, Object],
|
|
520
520
|
activatorProps: {
|
|
@@ -609,7 +609,7 @@ function Gt(e, t) {
|
|
|
609
609
|
let A;
|
|
610
610
|
return B(() => !!e.activator, (i) => {
|
|
611
611
|
i && W ? (A = Ae(), A.run(() => {
|
|
612
|
-
|
|
612
|
+
Kt(e, l, {
|
|
613
613
|
activatorEl: r,
|
|
614
614
|
activatorEvents: O
|
|
615
615
|
});
|
|
@@ -630,7 +630,7 @@ function Gt(e, t) {
|
|
|
630
630
|
scrimEvents: w
|
|
631
631
|
};
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function Kt(e, t, n) {
|
|
634
634
|
let {
|
|
635
635
|
activatorEl: o,
|
|
636
636
|
activatorEvents: a
|
|
@@ -673,7 +673,7 @@ function _e(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 Xt() {
|
|
677
677
|
if (!W) return G(!1);
|
|
678
678
|
const {
|
|
679
679
|
ssr: e
|
|
@@ -687,7 +687,7 @@ function Zt() {
|
|
|
687
687
|
return G(!0);
|
|
688
688
|
}
|
|
689
689
|
const ke = Symbol.for("vuetify:stack"), U = Te([]);
|
|
690
|
-
function
|
|
690
|
+
function Zt(e, t, n) {
|
|
691
691
|
const o = fe("useStack"), a = !n, l = pe(ke, void 0), r = Te({
|
|
692
692
|
activeChildren: /* @__PURE__ */ new Set()
|
|
693
693
|
});
|
|
@@ -717,7 +717,7 @@ function Jt(e, t, n) {
|
|
|
717
717
|
}))
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Jt(e) {
|
|
721
721
|
return {
|
|
722
722
|
teleportTarget: P(() => {
|
|
723
723
|
const n = e();
|
|
@@ -748,7 +748,7 @@ function Qt(e) {
|
|
|
748
748
|
}, o), null)]
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
|
-
const en =
|
|
751
|
+
const en = K({
|
|
752
752
|
absolute: Boolean,
|
|
753
753
|
attach: [Boolean, String, Object],
|
|
754
754
|
closeOnBack: {
|
|
@@ -772,14 +772,14 @@ const en = X({
|
|
|
772
772
|
default: 2e3
|
|
773
773
|
},
|
|
774
774
|
...Ut(),
|
|
775
|
+
...Ke(),
|
|
775
776
|
...Xe(),
|
|
776
|
-
...Ze(),
|
|
777
777
|
...ht(),
|
|
778
778
|
...Mt(),
|
|
779
779
|
...It(),
|
|
780
|
-
...
|
|
780
|
+
...Ze(),
|
|
781
781
|
...xt()
|
|
782
|
-
}, "VOverlay"), an =
|
|
782
|
+
}, "VOverlay"), an = Je()({
|
|
783
783
|
name: "VOverlay",
|
|
784
784
|
directives: {
|
|
785
785
|
ClickOutside: Bt
|
|
@@ -818,7 +818,7 @@ const en = X({
|
|
|
818
818
|
globalTop: k,
|
|
819
819
|
localTop: w,
|
|
820
820
|
stackStyles: b
|
|
821
|
-
} =
|
|
821
|
+
} = Zt(s, ot(e, "zIndex"), e._disableGlobalStack), {
|
|
822
822
|
activatorEl: T,
|
|
823
823
|
activatorRef: p,
|
|
824
824
|
target: L,
|
|
@@ -833,14 +833,14 @@ const en = X({
|
|
|
833
833
|
contentEl: u
|
|
834
834
|
}), {
|
|
835
835
|
teleportTarget: h
|
|
836
|
-
} =
|
|
836
|
+
} = Jt(() => {
|
|
837
837
|
const g = e.attach || e.contained;
|
|
838
838
|
if (g) return g;
|
|
839
839
|
const z = T?.value?.getRootNode() || l.proxy?.$el?.getRootNode();
|
|
840
840
|
return z instanceof ShadowRoot ? z : !1;
|
|
841
841
|
}), {
|
|
842
842
|
dimensionStyles: d
|
|
843
|
-
} = at(e), y =
|
|
843
|
+
} = at(e), y = Xt(), {
|
|
844
844
|
scopeId: R
|
|
845
845
|
} = wt();
|
|
846
846
|
B(() => e.disabled, (g) => {
|
|
@@ -863,7 +863,7 @@ const en = X({
|
|
|
863
863
|
updateLocation: q
|
|
864
864
|
});
|
|
865
865
|
function C(g) {
|
|
866
|
-
a("click:outside", g), e.persistent ?
|
|
866
|
+
a("click:outside", g), e.persistent ? X() : s.value = !1;
|
|
867
867
|
}
|
|
868
868
|
function H(g) {
|
|
869
869
|
return s.value && k.value && // If using scrim, only close if clicking on it rather than anything opened on top
|
|
@@ -877,12 +877,12 @@ const en = X({
|
|
|
877
877
|
W && window.removeEventListener("keydown", $);
|
|
878
878
|
});
|
|
879
879
|
function $(g) {
|
|
880
|
-
g.key === "Escape" && k.value && (e.persistent ?
|
|
880
|
+
g.key === "Escape" && k.value && (e.persistent ? X() : (s.value = !1, u.value?.contains(document.activeElement) && T.value?.focus()));
|
|
881
881
|
}
|
|
882
882
|
const j = it();
|
|
883
883
|
se(() => e.closeOnBack, () => {
|
|
884
884
|
mt(j, (g) => {
|
|
885
|
-
k.value && s.value ? (g(!1), e.persistent ?
|
|
885
|
+
k.value && s.value ? (g(!1), e.persistent ? X() : s.value = !1) : g();
|
|
886
886
|
});
|
|
887
887
|
});
|
|
888
888
|
const de = I();
|
|
@@ -892,7 +892,7 @@ const en = X({
|
|
|
892
892
|
z && z !== document.scrollingElement && (de.value = z.scrollTop);
|
|
893
893
|
}
|
|
894
894
|
});
|
|
895
|
-
function
|
|
895
|
+
function X() {
|
|
896
896
|
e.noClickAnimation || u.value && Et(u.value, [{
|
|
897
897
|
transformOrigin: "center"
|
|
898
898
|
}, {
|
|
@@ -959,7 +959,7 @@ const en = X({
|
|
|
959
959
|
activatorEl: T,
|
|
960
960
|
scrimEl: c,
|
|
961
961
|
target: L,
|
|
962
|
-
animateClick:
|
|
962
|
+
animateClick: X,
|
|
963
963
|
contentEl: u,
|
|
964
964
|
globalTop: k,
|
|
965
965
|
localTop: w,
|
|
@@ -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 A,
|
|
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 A, bL as D } from "./asWebComponent-tNU8_fkz.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 L = {
|
|
59
59
|
__name: "WidgetsContainer",
|
|
60
60
|
props: {
|
|
61
61
|
widgets: {
|
|
@@ -125,5 +125,5 @@ const b = {
|
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
export {
|
|
128
|
-
|
|
128
|
+
L as default
|
|
129
129
|
};
|