@eodash/eodash 5.0.0-alpha.2.7 → 5.0.0-alpha.2.8

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 (38) hide show
  1. package/core/client/components/DashboardLayout.vue +1 -2
  2. package/core/client/components/MobileLayout.vue +1 -2
  3. package/core/client/composables/index.js +1 -0
  4. package/core/client/store/Actions.js +8 -2
  5. package/core/client/types.d.ts +1 -1
  6. package/dist/client/{DashboardLayout-Cbci3g7o.js → DashboardLayout-CKOExc7r.js} +4 -4
  7. package/dist/client/{DynamicWebComponent-DzmQ3Fr3.js → DynamicWebComponent-m1Zbbw6n.js} +4 -4
  8. package/dist/client/{EodashDatePicker-SP5bYISd.js → EodashDatePicker-CGdJRGZJ.js} +4 -4
  9. package/dist/client/{EodashItemFilter-B9Tf2TBw.js → EodashItemFilter-BjM_LHaE.js} +2 -2
  10. package/dist/client/EodashMap-61UMC8sv.js +86917 -0
  11. package/dist/client/{EodashMapBtns-BOKugQ88.js → EodashMapBtns-DVITfAFx.js} +7 -8
  12. package/dist/client/{ExportState-D7m9s4T8.js → ExportState-DhpK09GR.js} +143 -143
  13. package/dist/client/{Footer-C2uV1-zu.js → Footer-CIwjaddz.js} +1 -1
  14. package/dist/client/{Header-C2ROtxo_.js → Header-BcM-pZFi.js} +4 -4
  15. package/dist/client/{IframeWrapper-Wwou4pwf.js → IframeWrapper-CAe6HPqe.js} +1 -1
  16. package/dist/client/{MobileLayout-DR27Ctiz.js → MobileLayout-DcZOQX8r.js} +11 -11
  17. package/dist/client/{PopUp-bPGAY43o.js → PopUp-DCaITceG.js} +25 -25
  18. package/dist/client/{VImg-swqiqth2.js → VImg-C-I_7puM.js} +2 -2
  19. package/dist/client/{VMain-Bu1bPjvK.js → VMain-Cd3P0YTG.js} +2 -2
  20. package/dist/client/{VOverlay-D_MKJ4vQ.js → VOverlay-AcvFgk39.js} +3 -3
  21. package/dist/client/{WidgetsContainer-CpxYT8YI.js → WidgetsContainer-B0-q0EMO.js} +1 -1
  22. package/dist/client/{asWebComponent-DeaU3QoK.js → asWebComponent-zuKR9I1w.js} +65 -65
  23. package/dist/client/{decoder-CP4lv0Kb-nokx54iM.js → decoder-CP4lv0Kb-DdKalImK.js} +1 -1
  24. package/dist/client/eo-dash.js +1 -1
  25. package/dist/client/{eodashSTAC-CFQuZ_cI.js → eodashSTAC-DGB50vNk.js} +1 -1
  26. package/dist/client/{forwardRefs-D0a135Tc.js → forwardRefs-BnxE4iKQ.js} +1 -1
  27. package/dist/client/{index-CoqcWt6E.js → index-hSIi5Ygk.js} +5 -5
  28. package/dist/client/{lerc-DzVumYtB-B3rx9xzz.js → lerc-DzVumYtB-cTUap6k_.js} +1 -1
  29. package/dist/client/{ssrBoot-C-inWOiD.js → ssrBoot-D3KF5Thc.js} +1 -1
  30. package/dist/client/style.css +1 -1
  31. package/dist/client/{transition-C8le0YwQ.js → transition-D3a4tiJv.js} +5 -5
  32. package/dist/node/cli.js +2 -2
  33. package/package.json +1 -1
  34. package/widgets/EodashMap.vue +33 -29
  35. package/widgets/EodashMapBtns.vue +0 -1
  36. package/widgets/ExportState.vue +8 -8
  37. package/dist/client/EodashMap-D_znzmX7.js +0 -50707
  38. package/dist/client/eox-map-L7abwKTR.js +0 -36260
@@ -22,7 +22,7 @@
22
22
  <eox-layout-item
23
23
  v-if="importedWidget.value.component"
24
24
  :key="importedWidget.value.id"
25
- class="panel"
25
+ class="panel bg-surface"
26
26
  :h="importedWidget.value.layout.h"
27
27
  :w="importedWidget.value.layout.w"
28
28
  :x="importedWidget.value.layout.x"
@@ -59,7 +59,6 @@ const importedWidgets = useDefineWidgets(eodash.template?.widgets);
59
59
  overflow: visible;
60
60
  z-index: 1;
61
61
  border-radius: 0px;
62
- background: rgb(var(--v-theme-surface));
63
62
  }
64
63
 
65
64
  .bg-panel {
@@ -14,7 +14,7 @@
14
14
  v-if="importedWidget.value.component"
15
15
  v-show="activeIdx === idx"
16
16
  id="overlay"
17
- class="pa-2 panel"
17
+ class="pa-2 panel bg-surface"
18
18
  >
19
19
  <v-btn icon variant="text" class="close-btn" @click="activeIdx = -1"
20
20
  >&#x2715;</v-btn
@@ -90,7 +90,6 @@ onMounted(() => {
90
90
  width: 100%;
91
91
  left: 0;
92
92
  z-index: 1;
93
- background: rgb(var(--v-theme-surface));
94
93
  }
95
94
 
96
95
  .component-container {
@@ -128,6 +128,7 @@ export const makePanelTransparent = (root) => {
128
128
  onMounted(() => {
129
129
  const eoxItem = root.value?.parentElement;
130
130
  if (eoxItem?.tagName === "EOX-LAYOUT-ITEM") {
131
+ eoxItem.classList.remove("bg-surface");
131
132
  eoxItem.style.background = "transparent";
132
133
  eoxItem.style.border = "transparent";
133
134
  }
@@ -4,5 +4,11 @@
4
4
  * @returns {object[]}
5
5
  */
6
6
  export const getLayers = (el = "eox-map") =>
7
- //@ts-expect-error layers doesn't exist on type element
8
- document.querySelector(el)?.layers.toReversed();
7
+ customElements.get("eo-dash")
8
+ ? document
9
+ .querySelector("eo-dash")
10
+ ?.shadowRoot?.querySelector(el)
11
+ //@ts-expect-error `layers` doesn't exist on type element
12
+ ?.layers.toReversed()
13
+ : //@ts-expect-error `layers` doesn't exist on type element
14
+ document.querySelector(el)?.layers.toReversed();
@@ -249,7 +249,7 @@ export interface EodashStore {
249
249
  /** returns the layers of the `eox-map`
250
250
  * @param `eox-map` element selector
251
251
  */
252
- getLayers: (el: string = "eox-map") => object[];
252
+ getLayers: (el: string) => object[];
253
253
  };
254
254
  /** Pinia store definition used to navigate the root STAC catalog. */
255
255
  stac: {
@@ -1,5 +1,5 @@
1
- import { _ as y, x as m, W as x, X as d, $ as t, a0 as r, a1 as l, a9 as _, a3 as n, a6 as u, a2 as c, a4 as p, d as h, a5 as g, F as f, a7 as v, ab as w } from "./asWebComponent-DeaU3QoK.js";
2
- import { V as k } from "./VMain-Bu1bPjvK.js";
1
+ import { _ as y, x as m, W as x, X as d, $ as t, a0 as r, a1 as l, a9 as _, a3 as n, a6 as u, a2 as c, a4 as p, d as h, a5 as g, F as f, a7 as v, ab as w } from "./asWebComponent-zuKR9I1w.js";
2
+ import { V as k } from "./VMain-Cd3P0YTG.js";
3
3
  class A extends HTMLElement {
4
4
  static get observedAttributes() {
5
5
  return ["gap"];
@@ -105,7 +105,7 @@ const L = ["gap"], $ = {
105
105
  default: l(() => [
106
106
  e.value.component ? (t(), u("eox-layout-item", {
107
107
  key: e.value.id,
108
- class: "panel",
108
+ class: "panel bg-surface",
109
109
  h: e.value.layout.h,
110
110
  w: e.value.layout.w,
111
111
  x: e.value.layout.x,
@@ -150,7 +150,7 @@ const L = ["gap"], $ = {
150
150
  /* STABLE */
151
151
  }));
152
152
  }
153
- }, V = /* @__PURE__ */ y(M, [["__scopeId", "data-v-34c69bd3"]]);
153
+ }, V = /* @__PURE__ */ y(M, [["__scopeId", "data-v-a859692c"]]);
154
154
  export {
155
155
  V as default
156
156
  };
@@ -1,5 +1,5 @@
1
- import { bx as i, aA as m, r as p, Z as d, by as f, $ as c, a6 as g, a0 as y, d as _, a4 as k } from "./asWebComponent-DeaU3QoK.js";
2
- const h = { class: "d-flex flex-column fill-height overflow-auto" }, C = {
1
+ import { by as i, aA as m, r as p, Z as d, aJ as f, $ as c, a6 as g, a0 as y, d as _, a4 as k } from "./asWebComponent-zuKR9I1w.js";
2
+ const h = { class: "d-flex flex-column fill-height overflow-auto" }, N = {
3
3
  __name: "DynamicWebComponent",
4
4
  props: {
5
5
  link: {
@@ -38,7 +38,7 @@ const h = { class: "d-flex flex-column fill-height overflow-auto" }, C = {
38
38
  e.onMounted?.(r.value, s);
39
39
  }), f(() => {
40
40
  e.onUnmounted?.(r.value, s);
41
- }), (n, b) => (c(), g("span", h, [
41
+ }), (n, x) => (c(), g("span", h, [
42
42
  (c(), y(
43
43
  k(o.tagName),
44
44
  _(o.properties, {
@@ -53,5 +53,5 @@ const h = { class: "d-flex flex-column fill-height overflow-auto" }, C = {
53
53
  }
54
54
  };
55
55
  export {
56
- C as default
56
+ N as default
57
57
  };
@@ -1,7 +1,7 @@
1
- import { p as B, o as $, g as j, y as _, av as I, c as v, r as V, d as w, a as M, b as p, aw as R, ax as O, T as U, ay as F, x as N, Z as Y, az as H, aA as z, w as G, $ as h, a6 as W, a1 as y, a3 as C, aB as K, F as L, W as Z, a9 as k, aC as q, aD as J, t as S, a0 as T, M as D, aE as Q, V as P, aF as X, aG as x } from "./asWebComponent-DeaU3QoK.js";
2
- import { t as tt, e as et } from "./eodashSTAC-CFQuZ_cI.js";
3
- import { m as at, V as E } from "./VOverlay-D_MKJ4vQ.js";
4
- import { b as ot, f as nt } from "./forwardRefs-D0a135Tc.js";
1
+ import { p as B, o as $, g as j, y as _, av as I, c as v, r as V, d as w, a as M, b as p, aw as R, ax as O, T as U, ay as F, x as N, Z as Y, az as H, aA as z, w as G, $ as h, a6 as W, a1 as y, a3 as C, aB as K, F as L, W as Z, a9 as k, aC as q, aD as J, t as S, a0 as T, M as D, aE as Q, V as P, aF as X, aG as x } from "./asWebComponent-zuKR9I1w.js";
2
+ import { t as tt, e as et } from "./eodashSTAC-DGB50vNk.js";
3
+ import { m as at, V as E } from "./VOverlay-AcvFgk39.js";
4
+ import { b as ot, f as nt } from "./forwardRefs-BnxE4iKQ.js";
5
5
  const st = B({
6
6
  id: String,
7
7
  text: String,
@@ -1,5 +1,5 @@
1
- import { $ as p, a0 as c } from "./asWebComponent-DeaU3QoK.js";
2
- import m from "./DynamicWebComponent-DzmQ3Fr3.js";
1
+ import { $ as p, a0 as c } from "./asWebComponent-zuKR9I1w.js";
2
+ import m from "./DynamicWebComponent-m1Zbbw6n.js";
3
3
  const f = {
4
4
  __name: "EodashItemFilter",
5
5
  setup(d) {