@eodash/eodash 5.0.0-alpha.2.1 → 5.0.0-alpha.2.3

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 (48) hide show
  1. package/README.md +11 -1
  2. package/bin/types.d.ts +1 -0
  3. package/bin/utils.js +1 -1
  4. package/core/App.vue +12 -4
  5. package/core/SuspensedDashboard.ce.vue +13 -5
  6. package/core/components/DashboardLayout.vue +14 -22
  7. package/core/components/ErrorAlert.vue +19 -0
  8. package/core/components/Loading.vue +12 -1
  9. package/core/components/MobileLayout.vue +19 -11
  10. package/core/composables/DefineWidgets.js +11 -5
  11. package/core/composables/index.js +16 -13
  12. package/core/eodash.js +0 -2
  13. package/core/plugins/vuetify.js +9 -3
  14. package/core/store/stac.js +6 -2
  15. package/core/types.d.ts +9 -23
  16. package/core/views/Dashboard.vue +13 -2
  17. package/dist/DashboardLayout-lzEvtalW.js +148 -0
  18. package/dist/{DynamicWebComponent-BrHVTesn.js → DynamicWebComponent-CgDh2csQ.js} +12 -12
  19. package/dist/EodashDatePicker-bIyNUYaG.js +1653 -0
  20. package/dist/{EodashItemFilter-BLAGx2UD.js → EodashItemFilter-CpgyrJRX.js} +2 -2
  21. package/dist/{EodashMap-Bxl_aqY2.js → EodashMap-CyR-Ldpk.js} +4 -4
  22. package/dist/Footer-C2sIHSym.js +118 -0
  23. package/dist/{Header-DC50S6GR.js → Header-DFz2BUnp.js} +222 -226
  24. package/dist/{IframeWrapper-Dd9zrX9s.js → IframeWrapper-Csep3rMg.js} +1 -1
  25. package/dist/MobileLayout-CXNJL_q6.js +984 -0
  26. package/dist/VMain-COrg6UtF.js +39 -0
  27. package/dist/{WidgetsContainer-DxfCu0I3.js → WidgetsContainer-XA6_dKOm.js} +16 -16
  28. package/dist/asWebComponent-fqvymeM-.js +13092 -0
  29. package/dist/{decoder-kAoyGIq9-BBR5CgzS.js → decoder-kAoyGIq9-DjQanfeo.js} +1 -1
  30. package/dist/eo-dash.js +2 -2
  31. package/dist/{index-DTkOfh2g.js → index-Cskxla5D.js} +75 -43
  32. package/dist/index-Zv5eTiB6.js +34 -0
  33. package/dist/{lerc-C9VL9kri-cIdbW0sg.js → lerc-C9VL9kri-O4muG-MO.js} +1 -1
  34. package/dist/{ssrBoot-D-b4-M19.js → ssrBoot-DCCAW5xY.js} +3 -3
  35. package/dist/style.css +2 -2
  36. package/package.json +3 -3
  37. package/widgets/EodashDatePicker.vue +1 -0
  38. package/widgets/WidgetsContainer.vue +7 -5
  39. package/dist/DashboardLayout-Dp8AnYD9.js +0 -141
  40. package/dist/EodashDatePicker-D_udZ26j.js +0 -1645
  41. package/dist/Footer-AohCH8U7.js +0 -118
  42. package/dist/MobileLayout-CgToA7Gp.js +0 -523
  43. package/dist/VBtn-Bz7ruRUg.js +0 -1106
  44. package/dist/VMain-BHfWJU2j.js +0 -35
  45. package/dist/asWebComponent-C8rb3b1D.js +0 -11323
  46. package/dist/color-DpYEub1f.js +0 -115
  47. package/dist/dimensions-CJaGeSrj.js +0 -53
  48. package/dist/index-Sa2Vg_gx.js +0 -65
@@ -1,4 +1,4 @@
1
- import { V as e } from "./EodashMap-Bxl_aqY2.js";
1
+ import { V as e } from "./EodashMap-CyR-Ldpk.js";
2
2
  var t = Worker;
3
3
  const i = /* @__PURE__ */ e(t);
4
4
  function I() {
package/dist/eo-dash.js CHANGED
@@ -1,6 +1,6 @@
1
- import { aO as r, aP as e, aQ as o } from "./asWebComponent-C8rb3b1D.js";
1
+ import { b1 as a, b2 as e, b3 as o } from "./asWebComponent-fqvymeM-.js";
2
2
  export {
3
- r as Eodash,
3
+ a as Eodash,
4
4
  e as register,
5
5
  o as store
6
6
  };
@@ -1,5 +1,33 @@
1
- import { g as c, az as x, aw as g, a8 as p, p as S, a7 as b } from "./asWebComponent-C8rb3b1D.js";
2
- const w = S({
1
+ import { aR as c, d as S, p as m, aS as g, aT as p, g as h, aU as _ } from "./asWebComponent-fqvymeM-.js";
2
+ const L = m({
3
+ transition: {
4
+ type: [Boolean, String, Object],
5
+ default: "fade-transition",
6
+ validator: (s) => s !== !0
7
+ }
8
+ }, "transition"), B = (s, d) => {
9
+ let {
10
+ slots: i
11
+ } = d;
12
+ const {
13
+ transition: n,
14
+ disabled: r,
15
+ group: a,
16
+ ...t
17
+ } = s, {
18
+ component: e = a ? g : p,
19
+ ...l
20
+ } = typeof n == "object" ? n : {};
21
+ return c(e, S(typeof n == "string" ? {
22
+ name: r ? "" : n
23
+ } : l, typeof n == "string" ? {} : Object.fromEntries(Object.entries({
24
+ disabled: r,
25
+ group: a
26
+ }).filter((f) => {
27
+ let [u, y] = f;
28
+ return y !== void 0;
29
+ })), t), i);
30
+ }, w = m({
3
31
  disabled: Boolean,
4
32
  group: Boolean,
5
33
  hideOnLeave: Boolean,
@@ -7,9 +35,9 @@ const w = S({
7
35
  mode: String,
8
36
  origin: String
9
37
  }, "transition");
10
- function s(o, d, i) {
11
- return c()({
12
- name: o,
38
+ function o(s, d, i) {
39
+ return h()({
40
+ name: s,
13
41
  props: w({
14
42
  mode: i,
15
43
  origin: d
@@ -27,8 +55,8 @@ function s(o, d, i) {
27
55
  const {
28
56
  offsetTop: l,
29
57
  offsetLeft: f,
30
- offsetWidth: y,
31
- offsetHeight: u
58
+ offsetWidth: u,
59
+ offsetHeight: y
32
60
  } = e;
33
61
  e._transitionInitialStyles = {
34
62
  position: e.style.position,
@@ -36,7 +64,7 @@ function s(o, d, i) {
36
64
  left: e.style.left,
37
65
  width: e.style.width,
38
66
  height: e.style.height
39
- }, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${y}px`, e.style.height = `${u}px`;
67
+ }, e.style.position = "absolute", e.style.top = `${l}px`, e.style.left = `${f}px`, e.style.width = `${u}px`, e.style.height = `${y}px`;
40
68
  }
41
69
  n.hideOnLeave && e.style.setProperty("display", "none", "important");
42
70
  },
@@ -45,18 +73,18 @@ function s(o, d, i) {
45
73
  const {
46
74
  position: l,
47
75
  top: f,
48
- left: y,
49
- width: u,
50
- height: v
76
+ left: u,
77
+ width: y,
78
+ height: x
51
79
  } = e._transitionInitialStyles;
52
- delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = y || "", e.style.width = u || "", e.style.height = v || "";
80
+ delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = u || "", e.style.width = y || "", e.style.height = x || "";
53
81
  }
54
82
  }
55
83
  };
56
84
  return () => {
57
- const e = n.group ? x : g;
58
- return p(e, {
59
- name: n.disabled ? "" : o,
85
+ const e = n.group ? g : p;
86
+ return c(e, {
87
+ name: n.disabled ? "" : s,
60
88
  css: !n.disabled,
61
89
  ...n.group ? void 0 : {
62
90
  mode: n.mode
@@ -67,23 +95,25 @@ function s(o, d, i) {
67
95
  }
68
96
  });
69
97
  }
70
- function h(o, d) {
98
+ function v(s, d) {
71
99
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
72
- return c()({
73
- name: o,
100
+ return h()({
101
+ name: s,
74
102
  props: {
75
103
  mode: {
76
104
  type: String,
77
105
  default: i
78
106
  },
79
- disabled: Boolean
107
+ disabled: Boolean,
108
+ group: Boolean
80
109
  },
81
110
  setup(n, r) {
82
111
  let {
83
112
  slots: a
84
113
  } = r;
85
- return () => p(g, {
86
- name: n.disabled ? "" : o,
114
+ const t = n.group ? g : p;
115
+ return () => c(t, {
116
+ name: n.disabled ? "" : s,
87
117
  css: !n.disabled,
88
118
  // mode: props.mode, // TODO: vuejs/vue-next#3104
89
119
  ...n.disabled ? {} : d
@@ -91,9 +121,9 @@ function h(o, d) {
91
121
  }
92
122
  });
93
123
  }
94
- function m() {
95
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
96
- const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n = b(`offset-${i}`);
124
+ function b() {
125
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
126
+ const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n = _(`offset-${i}`);
97
127
  return {
98
128
  onBeforeEnter(t) {
99
129
  t._parent = t.parentNode, t._initialStyle = {
@@ -106,7 +136,7 @@ function m() {
106
136
  const e = t._initialStyle;
107
137
  t.style.setProperty("transition", "none", "important"), t.style.overflow = "hidden";
108
138
  const l = `${t[n]}px`;
109
- t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, o && t._parent && t._parent.classList.add(o), requestAnimationFrame(() => {
139
+ t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, s && t._parent && t._parent.classList.add(s), requestAnimationFrame(() => {
110
140
  t.style[i] = l;
111
141
  });
112
142
  },
@@ -123,30 +153,32 @@ function m() {
123
153
  onLeaveCancelled: r
124
154
  };
125
155
  function r(t) {
126
- o && t._parent && t._parent.classList.remove(o), a(t);
156
+ s && t._parent && t._parent.classList.remove(s), a(t);
127
157
  }
128
158
  function a(t) {
129
159
  const e = t._initialStyle[i];
130
160
  t.style.overflow = t._initialStyle.overflow, e != null && (t.style[i] = e), delete t._initialStyle;
131
161
  }
132
162
  }
133
- s("fab-transition", "center center", "out-in");
134
- s("dialog-bottom-transition");
135
- s("dialog-top-transition");
136
- const T = s("fade-transition");
137
- s("scale-transition");
138
- s("scroll-x-transition");
139
- s("scroll-x-reverse-transition");
140
- s("scroll-y-transition");
141
- s("scroll-y-reverse-transition");
142
- s("slide-x-transition");
143
- s("slide-x-reverse-transition");
144
- const L = s("slide-y-transition");
145
- s("slide-y-reverse-transition");
146
- const A = h("expand-transition", m()), E = h("expand-x-transition", m("", !0));
163
+ o("fab-transition", "center center", "out-in");
164
+ o("dialog-bottom-transition");
165
+ o("dialog-top-transition");
166
+ const E = o("fade-transition");
167
+ o("scale-transition");
168
+ o("scroll-x-transition");
169
+ o("scroll-x-reverse-transition");
170
+ o("scroll-y-transition");
171
+ o("scroll-y-reverse-transition");
172
+ o("slide-x-transition");
173
+ o("slide-x-reverse-transition");
174
+ const P = o("slide-y-transition");
175
+ o("slide-y-reverse-transition");
176
+ const A = v("expand-transition", b()), $ = v("expand-x-transition", b("", !0));
147
177
  export {
148
- T as V,
178
+ B as M,
179
+ E as V,
149
180
  A as a,
150
- L as b,
151
- E as c
181
+ P as b,
182
+ $ as c,
183
+ L as m
152
184
  };
@@ -0,0 +1,34 @@
1
+ import { ag as b } from "./asWebComponent-fqvymeM-.js";
2
+ function d(e, t) {
3
+ if (!b)
4
+ return;
5
+ const n = t.modifiers || {}, r = t.value, {
6
+ handler: i,
7
+ options: v
8
+ } = typeof r == "object" ? r : {
9
+ handler: r,
10
+ options: {}
11
+ }, c = new IntersectionObserver(function() {
12
+ let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], f = arguments.length > 1 ? arguments[1] : void 0;
13
+ const s = e._observe?.[t.instance.$.uid];
14
+ if (!s)
15
+ return;
16
+ const o = u.some((m) => m.isIntersecting);
17
+ i && (!n.quiet || s.init) && (!n.once || o || s.init) && i(o, u, f), o && n.once ? a(e, t) : s.init = !0;
18
+ }, v);
19
+ e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
20
+ init: !1,
21
+ observer: c
22
+ }, c.observe(e);
23
+ }
24
+ function a(e, t) {
25
+ const n = e._observe?.[t.instance.$.uid];
26
+ n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
27
+ }
28
+ const _ = {
29
+ mounted: d,
30
+ unmounted: a
31
+ }, g = _;
32
+ export {
33
+ g as i
34
+ };
@@ -1,5 +1,5 @@
1
1
  import { b as tA } from "./pako.esm-C3kYPGGQ-BMki8cQY.js";
2
- import { D as sA, G as gA, V as rA } from "./EodashMap-Bxl_aqY2.js";
2
+ import { D as sA, G as gA, V as rA } from "./EodashMap-CyR-Ldpk.js";
3
3
  import { g as DA } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
4
4
  var iA = { exports: {} };
5
5
  (function(W) {
@@ -1,7 +1,7 @@
1
- import { s, C as t, c as e, a5 as n } from "./asWebComponent-C8rb3b1D.js";
1
+ import { s as t, Z as s, c as e, at as n } from "./asWebComponent-fqvymeM-.js";
2
2
  function i() {
3
- const o = s(!1);
4
- return t(() => {
3
+ const o = t(!1);
4
+ return s(() => {
5
5
  window.requestAnimationFrame(() => {
6
6
  o.value = !0;
7
7
  });