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

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 (91) hide show
  1. package/README.md +14 -5
  2. package/core/{SuspensedDashboard.ce.vue → client/SuspensedDashboard.ce.vue} +30 -16
  3. package/core/client/components/DashboardLayout.vue +59 -0
  4. package/core/{components → client/components}/ErrorAlert.vue +6 -1
  5. package/core/{components → client/components}/Footer.vue +6 -1
  6. package/core/{components → client/components}/Header.vue +6 -1
  7. package/core/{components → client/components}/IframeWrapper.vue +1 -1
  8. package/core/{components → client/components}/MobileLayout.vue +41 -10
  9. package/core/{composables → client/composables}/DefineEodash.js +2 -1
  10. package/core/{composables → client/composables}/DefineWidgets.js +14 -8
  11. package/core/{composables → client/composables}/index.js +18 -119
  12. package/core/{eodash.js → client/eodash.js} +38 -36
  13. package/core/{plugins → client/plugins}/index.js +3 -0
  14. package/core/{plugins → client/plugins}/vuetify.js +1 -1
  15. package/core/{types.d.ts → client/types.d.ts} +42 -85
  16. package/core/{utils → client/utils}/eodashSTAC.js +29 -25
  17. package/core/client/utils/index.js +32 -0
  18. package/core/{views → client/views}/Dashboard.vue +39 -10
  19. package/dist/client/DashboardLayout-BYROtP-7.js +156 -0
  20. package/dist/{DynamicWebComponent-CgDh2csQ.js → client/DynamicWebComponent-BQhxFPM0.js} +6 -6
  21. package/dist/client/EodashDatePicker-CFltnt5d.js +1194 -0
  22. package/dist/client/EodashItemFilter-DIBDAHcc.js +65 -0
  23. package/dist/{EodashMap-CyR-Ldpk.js → client/EodashMap-C6jJ2Lb_.js} +14337 -15676
  24. package/dist/client/Footer-BVIZms1S.js +115 -0
  25. package/dist/client/Header-TsTL1d2R.js +633 -0
  26. package/dist/{IframeWrapper-Csep3rMg.js → client/IframeWrapper-XKChM78a.js} +4 -4
  27. package/dist/client/MobileLayout-BlGcMQra.js +957 -0
  28. package/dist/{VMain-COrg6UtF.js → client/VMain-C9XV5Lyg.js} +8 -8
  29. package/dist/{WidgetsContainer-XA6_dKOm.js → client/WidgetsContainer-BQXHnZpa.js} +8 -8
  30. package/dist/client/asWebComponent-CbdGxelK.js +20188 -0
  31. package/dist/{decoder-kAoyGIq9-DjQanfeo.js → client/decoder-HRvnjnEI-CHAYOWhz.js} +1 -1
  32. package/dist/client/eo-dash.js +6 -0
  33. package/dist/{eox-map-BJ9SIixs.js → client/eox-map-C3DL31fp.js} +1882 -1809
  34. package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
  35. package/dist/client/forwardRefs-CyCJOFsz.js +192 -0
  36. package/dist/client/http-ZWiLaAeR.js +1337 -0
  37. package/dist/{index-Cskxla5D.js → client/index-CabQjjQg.js} +43 -74
  38. package/dist/{lerc-C9VL9kri-O4muG-MO.js → client/lerc-_E46UbWQ-TxBH4OeK.js} +1 -1
  39. package/dist/{ssrBoot-DCCAW5xY.js → client/ssrBoot-DWJ-z4I-.js} +3 -3
  40. package/dist/{style.css → client/style.css} +2 -2
  41. package/dist/client/transition-BlLt41wg.js +34 -0
  42. package/dist/node/cli.js +20 -0
  43. package/dist/node/main.js +2 -0
  44. package/{bin → dist/node}/types.d.ts +2 -2
  45. package/package.json +22 -21
  46. package/widgets/EodashDatePicker.vue +89 -36
  47. package/widgets/EodashItemFilter.vue +30 -14
  48. package/bin/app.js +0 -22
  49. package/bin/cli.js +0 -62
  50. package/bin/main.js +0 -9
  51. package/bin/serverConfig.js +0 -165
  52. package/bin/utils.js +0 -103
  53. package/core/components/DashboardLayout.vue +0 -36
  54. package/core/utils/index.js +0 -28
  55. package/dist/DashboardLayout-lzEvtalW.js +0 -148
  56. package/dist/EodashDatePicker-bIyNUYaG.js +0 -1653
  57. package/dist/EodashItemFilter-CpgyrJRX.js +0 -51
  58. package/dist/Footer-C2sIHSym.js +0 -118
  59. package/dist/Header-DFz2BUnp.js +0 -605
  60. package/dist/MobileLayout-CXNJL_q6.js +0 -984
  61. package/dist/asWebComponent-fqvymeM-.js +0 -13092
  62. package/dist/eo-dash.js +0 -6
  63. package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
  64. package/dist/forwardRefs-Bxeu9Obx.js +0 -142
  65. package/dist/index-Zv5eTiB6.js +0 -34
  66. /package/core/{App.vue → client/App.vue} +0 -0
  67. /package/core/{asWebComponent.d.ts → client/asWebComponent.d.ts} +0 -0
  68. /package/core/{asWebComponent.js → client/asWebComponent.js} +0 -0
  69. /package/core/{components → client/components}/DynamicWebComponent.vue +0 -0
  70. /package/core/{components → client/components}/Loading.vue +0 -0
  71. /package/core/{main.js → client/main.js} +0 -0
  72. /package/core/{render.js → client/render.js} +0 -0
  73. /package/core/{store → client/store}/Actions.js +0 -0
  74. /package/core/{store → client/store}/States.js +0 -0
  75. /package/core/{store → client/store}/index.js +0 -0
  76. /package/core/{store → client/store}/stac.js +0 -0
  77. /package/core/{utils → client/utils}/helpers.js +0 -0
  78. /package/core/{utils → client/utils}/keys.js +0 -0
  79. /package/core/{vite-env.d.ts → client/vite-env.d.ts} +0 -0
  80. /package/dist/{.gitkeep → client/.gitkeep} +0 -0
  81. /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
  82. /package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-Qm25PwVp-CHo5Pomv.js} +0 -0
  83. /package/dist/{deflate-Be2Arps5-hDqMz3RA.js → client/deflate-Be2Arps5-hDqMz3RA.js} +0 -0
  84. /package/dist/{eox-itemfilter-DcQkRD2l.js → client/eox-itemfilter-DcQkRD2l.js} +0 -0
  85. /package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-DNfUpLwy-Fjan-04T.js} +0 -0
  86. /package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-BOMhmEDy-Dboc93VO.js} +0 -0
  87. /package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-DaUD6MLm-Bu1PoTGa.js} +0 -0
  88. /package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-C3kYPGGQ-BMki8cQY.js} +0 -0
  89. /package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CcGKjn8q-DFOt-i8n.js} +0 -0
  90. /package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-CyOFAuFB.js} +0 -0
  91. /package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-D2c098k3-DLj1LQxB.js} +0 -0
@@ -1,33 +1,5 @@
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({
1
+ import { g, av as c, ab as p, aw as h, p as b, ax as w } from "./asWebComponent-CbdGxelK.js";
2
+ const S = b({
31
3
  disabled: Boolean,
32
4
  group: Boolean,
33
5
  hideOnLeave: Boolean,
@@ -35,10 +7,10 @@ const L = m({
35
7
  mode: String,
36
8
  origin: String
37
9
  }, "transition");
38
- function o(s, d, i) {
39
- return h()({
40
- name: s,
41
- props: w({
10
+ function s(o, d, i) {
11
+ return g()({
12
+ name: o,
13
+ props: S({
42
14
  mode: i,
43
15
  origin: d
44
16
  }),
@@ -55,8 +27,8 @@ function o(s, d, i) {
55
27
  const {
56
28
  offsetTop: l,
57
29
  offsetLeft: f,
58
- offsetWidth: u,
59
- offsetHeight: y
30
+ offsetWidth: y,
31
+ offsetHeight: u
60
32
  } = e;
61
33
  e._transitionInitialStyles = {
62
34
  position: e.style.position,
@@ -64,7 +36,7 @@ function o(s, d, i) {
64
36
  left: e.style.left,
65
37
  width: e.style.width,
66
38
  height: e.style.height
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`;
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`;
68
40
  }
69
41
  n.hideOnLeave && e.style.setProperty("display", "none", "important");
70
42
  },
@@ -73,18 +45,18 @@ function o(s, d, i) {
73
45
  const {
74
46
  position: l,
75
47
  top: f,
76
- left: u,
77
- width: y,
48
+ left: y,
49
+ width: u,
78
50
  height: x
79
51
  } = e._transitionInitialStyles;
80
- delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = u || "", e.style.width = y || "", e.style.height = x || "";
52
+ delete e._transitionInitialStyles, e.style.position = l || "", e.style.top = f || "", e.style.left = y || "", e.style.width = u || "", e.style.height = x || "";
81
53
  }
82
54
  }
83
55
  };
84
56
  return () => {
85
- const e = n.group ? g : p;
86
- return c(e, {
87
- name: n.disabled ? "" : s,
57
+ const e = n.group ? c : p;
58
+ return h(e, {
59
+ name: n.disabled ? "" : o,
88
60
  css: !n.disabled,
89
61
  ...n.group ? void 0 : {
90
62
  mode: n.mode
@@ -95,10 +67,10 @@ function o(s, d, i) {
95
67
  }
96
68
  });
97
69
  }
98
- function v(s, d) {
70
+ function m(o, d) {
99
71
  let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
100
- return h()({
101
- name: s,
72
+ return g()({
73
+ name: o,
102
74
  props: {
103
75
  mode: {
104
76
  type: String,
@@ -111,9 +83,9 @@ function v(s, d) {
111
83
  let {
112
84
  slots: a
113
85
  } = r;
114
- const t = n.group ? g : p;
115
- return () => c(t, {
116
- name: n.disabled ? "" : s,
86
+ const t = n.group ? c : p;
87
+ return () => h(t, {
88
+ name: n.disabled ? "" : o,
117
89
  css: !n.disabled,
118
90
  // mode: props.mode, // TODO: vuejs/vue-next#3104
119
91
  ...n.disabled ? {} : d
@@ -121,9 +93,9 @@ function v(s, d) {
121
93
  }
122
94
  });
123
95
  }
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}`);
96
+ function v() {
97
+ let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
98
+ const i = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", n = w(`offset-${i}`);
127
99
  return {
128
100
  onBeforeEnter(t) {
129
101
  t._parent = t.parentNode, t._initialStyle = {
@@ -136,7 +108,7 @@ function b() {
136
108
  const e = t._initialStyle;
137
109
  t.style.setProperty("transition", "none", "important"), t.style.overflow = "hidden";
138
110
  const l = `${t[n]}px`;
139
- t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, s && t._parent && t._parent.classList.add(s), requestAnimationFrame(() => {
111
+ t.style[i] = "0", t.offsetHeight, t.style.transition = e.transition, o && t._parent && t._parent.classList.add(o), requestAnimationFrame(() => {
140
112
  t.style[i] = l;
141
113
  });
142
114
  },
@@ -153,32 +125,29 @@ function b() {
153
125
  onLeaveCancelled: r
154
126
  };
155
127
  function r(t) {
156
- s && t._parent && t._parent.classList.remove(s), a(t);
128
+ o && t._parent && t._parent.classList.remove(o), a(t);
157
129
  }
158
130
  function a(t) {
159
131
  const e = t._initialStyle[i];
160
132
  t.style.overflow = t._initialStyle.overflow, e != null && (t.style[i] = e), delete t._initialStyle;
161
133
  }
162
134
  }
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));
135
+ s("fab-transition", "center center", "out-in");
136
+ s("dialog-bottom-transition");
137
+ s("dialog-top-transition");
138
+ const L = s("fade-transition");
139
+ s("scale-transition");
140
+ s("scroll-x-transition");
141
+ s("scroll-x-reverse-transition");
142
+ s("scroll-y-transition");
143
+ s("scroll-y-reverse-transition");
144
+ s("slide-x-transition");
145
+ s("slide-x-reverse-transition");
146
+ s("slide-y-transition");
147
+ s("slide-y-reverse-transition");
148
+ const T = m("expand-transition", v());
149
+ m("expand-x-transition", v("", !0));
177
150
  export {
178
- B as M,
179
- E as V,
180
- A as a,
181
- P as b,
182
- $ as c,
183
- L as m
151
+ L as V,
152
+ T as a
184
153
  };
@@ -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-CyR-Ldpk.js";
2
+ import { D as sA, G as gA, V as rA } from "./EodashMap-C6jJ2Lb_.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 as t, Z as s, c as e, at as n } from "./asWebComponent-fqvymeM-.js";
1
+ import { s, Z as t, c as e, ay as n } from "./asWebComponent-CbdGxelK.js";
2
2
  function i() {
3
- const o = t(!1);
4
- return s(() => {
3
+ const o = s(!1);
4
+ return t(() => {
5
5
  window.requestAnimationFrame(() => {
6
6
  o.value = !0;
7
7
  });