@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.
Files changed (39) hide show
  1. package/core/client/App.vue +2 -0
  2. package/core/client/composables/EodashMap.js +93 -40
  3. package/core/client/eodash.js +8 -9
  4. package/core/client/plugins/index.js +2 -1
  5. package/core/client/utils/createLayers.js +7 -1
  6. package/core/client/utils/eodashSTAC.js +9 -0
  7. package/core/client/utils/helpers.js +16 -11
  8. package/core/client/vite-env.d.ts +1 -0
  9. package/dist/client/{DashboardLayout-BR1lU9ER.js → DashboardLayout-Dk6lzKZA.js} +2 -2
  10. package/dist/client/{DynamicWebComponent-7z8VFsrZ.js → DynamicWebComponent-BkMCGU7a.js} +1 -1
  11. package/dist/client/EodashDatePicker-D27wn0jP.js +276 -0
  12. package/dist/client/{EodashItemFilter-lNjVkidr.js → EodashItemFilter-DS1mOc2p.js} +1 -1
  13. package/dist/client/{EodashLayerControl-B0N8_XmX.js → EodashLayerControl-BqGA6jbV.js} +2247 -2198
  14. package/dist/client/{EodashMap-DFT2R2Rk.js → EodashMap-BnVrfBnA.js} +8671 -8650
  15. package/dist/client/{EodashMapBtns-CoGjVl8Y.js → EodashMapBtns-rv-U1nI_.js} +2 -2
  16. package/dist/client/{ExportState-Dwv37MRw.js → ExportState-C3Z1ET5c.js} +40 -40
  17. package/dist/client/{Footer-DuScuHSx.js → Footer-BBkNiqPm.js} +1 -1
  18. package/dist/client/{Header-C4Y0u0E5.js → Header-BQKHLO5P.js} +4 -4
  19. package/dist/client/{IframeWrapper-D1TfK4xH.js → IframeWrapper-BX4e2uxq.js} +1 -1
  20. package/dist/client/{MobileLayout-C-b8DIFO.js → MobileLayout-C2aqobN5.js} +6 -6
  21. package/dist/client/{PopUp-DBMZX3l3.js → PopUp-DG3zrW12.js} +15 -15
  22. package/dist/client/{VImg-bAMQHnMM.js → VImg-BLpHACcB.js} +2 -2
  23. package/dist/client/{VMain-Df5VMG9r.js → VMain-DOyRcpub.js} +2 -2
  24. package/dist/client/{VOverlay-D5GzAYRY.js → VOverlay-DAiInZQP.js} +32 -32
  25. package/dist/client/{WidgetsContainer-yZDmY6_u.js → WidgetsContainer-BqoX7R5Z.js} +3 -3
  26. package/dist/client/{asWebComponent-DhR2_xlP.js → asWebComponent-tNU8_fkz.js} +1210 -1184
  27. package/dist/client/eo-dash.js +1 -1
  28. package/dist/client/{forwardRefs-C0MQxvur.js → forwardRefs-BexjzXbg.js} +1 -1
  29. package/dist/client/{index-qNWeBhRh.js → index-F73os72i.js} +23 -23
  30. package/dist/client/{lerc-B4lXefGh-CsL-d8wY.js → lerc-B4lXefGh-DhdntrgS.js} +1 -1
  31. package/dist/client/{ssrBoot-Xmkz8T49.js → ssrBoot-C71RpKe4.js} +1 -1
  32. package/dist/client/style.css +1 -1
  33. package/dist/client/{transition-DRzZPWIN.js → transition-DNdd2Y-1.js} +1 -1
  34. package/dist/client/{webfontloader-CqD-lAx-.js → webfontloader-C7dpDL7m.js} +1 -1
  35. package/package.json +4 -5
  36. package/widgets/EodashDatePicker.vue +24 -12
  37. package/widgets/EodashLayerControl.vue +3 -1
  38. package/widgets/EodashMap.vue +43 -25
  39. package/dist/client/EodashDatePicker-o7ZOYIHL.js +0 -259
@@ -1,11 +1,11 @@
1
- import { br as Ce, bs as Pe, p as X, r as I, L as W, ap as se, w as B, bt as _, bu as Ie, bv as me, bw as te, bx as ne, by as ye, c as P, D as ce, bz as Ve, bA as ge, C as F, al as he, aq as ue, bB as Ae, bC as We, bm as fe, x as pe, bD as be, d as V, bE as qe, s as G, H as $e, Z as je, aB as Te, q as ze, as as Ye, bF as Ue, bG as Ge, e as Xe, ac as Ze, h as Je, g as Ke, y as Qe, i as et, j as tt, Q as nt, R as ot, ad as at, an as rt, bH as it, a as lt, b as D, bI as st, t as ct, B as ut, v as ft, F as vt, ab as dt, bJ as mt } from "./asWebComponent-DhR2_xlP.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-C0MQxvur.js";
3
- import { m as xt, M as Ot } from "./transition-DRzZPWIN.js";
4
- const J = /* @__PURE__ */ new WeakMap();
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 = J.get(e);
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]]), J.has(e) || J.set(e, l);
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 = J.get(e);
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 K(e, t) {
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 = X({
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 = K(e.contentEl.value), k = 12;
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 = X({
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([...K(e.targetEl.value, t.contained ? n : void 0), ...K(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);
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, ...K(e)];
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 = X({
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 = X({
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
- Xt(e, l, {
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 Xt(e, t, n) {
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 Zt() {
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 Jt(e, t, n) {
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 Kt(e) {
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 = X({
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
- ...Je(),
780
+ ...Ze(),
781
781
  ...xt()
782
- }, "VOverlay"), an = Ke()({
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
- } = Jt(s, ot(e, "zIndex"), e._disableGlobalStack), {
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
- } = Kt(() => {
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 = Zt(), {
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 ? Z() : s.value = !1;
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 ? Z() : (s.value = !1, u.value?.contains(document.activeElement) && T.value?.focus()));
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 ? Z() : s.value = !1) : g();
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 Z() {
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: Z,
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, bK as D } from "./asWebComponent-DhR2_xlP.js";
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 b = {
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
- b as default
128
+ L as default
129
129
  };