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

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 (94) hide show
  1. package/README.md +10 -1
  2. package/core/client/App.vue +27 -0
  3. package/core/client/SuspensedDashboard.ce.vue +91 -0
  4. package/core/client/components/DashboardLayout.vue +36 -0
  5. package/core/client/components/ErrorAlert.vue +19 -0
  6. package/core/{components → client/components}/Loading.vue +12 -1
  7. package/core/{components → client/components}/MobileLayout.vue +19 -11
  8. package/core/{composables → client/composables}/DefineWidgets.js +11 -5
  9. package/core/{composables → client/composables}/index.js +16 -13
  10. package/core/{eodash.js → client/eodash.js} +0 -2
  11. package/core/{plugins → client/plugins}/vuetify.js +9 -3
  12. package/core/{store → client/store}/stac.js +6 -2
  13. package/core/{types.d.ts → client/types.d.ts} +11 -25
  14. package/core/{views → client/views}/Dashboard.vue +35 -6
  15. package/dist/client/DashboardLayout-ZaSRMD1M.js +149 -0
  16. package/dist/{DynamicWebComponent-BrHVTesn.js → client/DynamicWebComponent-C4Hotc4H.js} +12 -12
  17. package/dist/client/EodashDatePicker-C4kKjxKy.js +1653 -0
  18. package/dist/{EodashItemFilter-BLAGx2UD.js → client/EodashItemFilter-cBHC0YEM.js} +2 -2
  19. package/dist/{EodashMap-Bxl_aqY2.js → client/EodashMap-CGrQjZ1P.js} +2490 -2496
  20. package/dist/client/Footer-pS636dEP.js +118 -0
  21. package/dist/{Header-DC50S6GR.js → client/Header-DQuaLdjl.js} +225 -229
  22. package/dist/{IframeWrapper-Dd9zrX9s.js → client/IframeWrapper-Cg3GMmfW.js} +1 -1
  23. package/dist/client/MobileLayout-BLXFBWI_.js +987 -0
  24. package/dist/client/VMain-BHYlmRic.js +39 -0
  25. package/dist/{WidgetsContainer-DxfCu0I3.js → client/WidgetsContainer-dje9QSk0.js} +18 -18
  26. package/dist/client/asWebComponent-Bvb3xkxI.js +13311 -0
  27. package/dist/{decoder-kAoyGIq9-BBR5CgzS.js → client/decoder-HRvnjnEI-BQ2rajuJ.js} +1 -1
  28. package/dist/client/eo-dash.js +6 -0
  29. package/dist/{eox-map-BJ9SIixs.js → client/eox-map-C3DL31fp.js} +1882 -1809
  30. package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
  31. package/dist/{index-DTkOfh2g.js → client/index-CaDDfJYE.js} +75 -43
  32. package/dist/client/index-DlNICb3T.js +34 -0
  33. package/dist/{lerc-C9VL9kri-cIdbW0sg.js → client/lerc-_E46UbWQ-Beu35ovS.js} +1 -1
  34. package/dist/{ssrBoot-D-b4-M19.js → client/ssrBoot-Dd7m-btU.js} +3 -3
  35. package/dist/client/style.css +5 -0
  36. package/dist/node/cli.js +20 -0
  37. package/dist/node/main.js +2 -0
  38. package/{bin → dist/node}/types.d.ts +3 -2
  39. package/package.json +22 -20
  40. package/widgets/EodashDatePicker.vue +1 -0
  41. package/widgets/EodashItemFilter.vue +1 -1
  42. package/widgets/WidgetsContainer.vue +7 -5
  43. package/bin/app.js +0 -22
  44. package/bin/cli.js +0 -62
  45. package/bin/main.js +0 -9
  46. package/bin/serverConfig.js +0 -165
  47. package/bin/utils.js +0 -103
  48. package/core/App.vue +0 -19
  49. package/core/SuspensedDashboard.ce.vue +0 -65
  50. package/core/components/DashboardLayout.vue +0 -44
  51. package/dist/DashboardLayout-Dp8AnYD9.js +0 -141
  52. package/dist/EodashDatePicker-D_udZ26j.js +0 -1645
  53. package/dist/Footer-AohCH8U7.js +0 -118
  54. package/dist/MobileLayout-CgToA7Gp.js +0 -523
  55. package/dist/VBtn-Bz7ruRUg.js +0 -1106
  56. package/dist/VMain-BHfWJU2j.js +0 -35
  57. package/dist/asWebComponent-C8rb3b1D.js +0 -11323
  58. package/dist/color-DpYEub1f.js +0 -115
  59. package/dist/dimensions-CJaGeSrj.js +0 -53
  60. package/dist/eo-dash.js +0 -6
  61. package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
  62. package/dist/index-Sa2Vg_gx.js +0 -65
  63. package/dist/style.css +0 -5
  64. /package/core/{asWebComponent.d.ts → client/asWebComponent.d.ts} +0 -0
  65. /package/core/{asWebComponent.js → client/asWebComponent.js} +0 -0
  66. /package/core/{components → client/components}/DynamicWebComponent.vue +0 -0
  67. /package/core/{components → client/components}/Footer.vue +0 -0
  68. /package/core/{components → client/components}/Header.vue +0 -0
  69. /package/core/{components → client/components}/IframeWrapper.vue +0 -0
  70. /package/core/{composables → client/composables}/DefineEodash.js +0 -0
  71. /package/core/{main.js → client/main.js} +0 -0
  72. /package/core/{plugins → client/plugins}/index.js +0 -0
  73. /package/core/{render.js → client/render.js} +0 -0
  74. /package/core/{store → client/store}/Actions.js +0 -0
  75. /package/core/{store → client/store}/States.js +0 -0
  76. /package/core/{store → client/store}/index.js +0 -0
  77. /package/core/{utils → client/utils}/eodashSTAC.js +0 -0
  78. /package/core/{utils → client/utils}/helpers.js +0 -0
  79. /package/core/{utils → client/utils}/index.js +0 -0
  80. /package/core/{utils → client/utils}/keys.js +0 -0
  81. /package/core/{vite-env.d.ts → client/vite-env.d.ts} +0 -0
  82. /package/dist/{.gitkeep → client/.gitkeep} +0 -0
  83. /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
  84. /package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-Qm25PwVp-CHo5Pomv.js} +0 -0
  85. /package/dist/{deflate-Be2Arps5-hDqMz3RA.js → client/deflate-Be2Arps5-hDqMz3RA.js} +0 -0
  86. /package/dist/{eox-itemfilter-DcQkRD2l.js → client/eox-itemfilter-DcQkRD2l.js} +0 -0
  87. /package/dist/{forwardRefs-Bxeu9Obx.js → client/forwardRefs-Bxeu9Obx.js} +0 -0
  88. /package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-DNfUpLwy-Fjan-04T.js} +0 -0
  89. /package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-BOMhmEDy-Dboc93VO.js} +0 -0
  90. /package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-DaUD6MLm-Bu1PoTGa.js} +0 -0
  91. /package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-C3kYPGGQ-BMki8cQY.js} +0 -0
  92. /package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CcGKjn8q-DFOt-i8n.js} +0 -0
  93. /package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-CyOFAuFB.js} +0 -0
  94. /package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-D2c098k3-DLj1LQxB.js} +0 -0
@@ -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-Bvb3xkxI.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-Bvb3xkxI.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
+ }, u = new IntersectionObserver(function() {
12
+ let c = 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 = c.some((m) => m.isIntersecting);
17
+ i && (!n.quiet || s.init) && (!n.once || o || s.init) && i(o, c, 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: u
22
+ }, u.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 I = {
29
+ mounted: d,
30
+ unmounted: a
31
+ };
32
+ export {
33
+ 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-CGrQjZ1P.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-Bvb3xkxI.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
  });