@eodash/eodash 5.0.0-alpha.2.1 → 5.0.0-alpha.2.11
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.
- package/README.md +36 -3
- package/core/client/App.vue +26 -0
- package/core/client/SuspensedDashboard.ce.vue +105 -0
- package/core/client/asWebComponent.d.ts +23 -0
- package/core/client/asWebComponent.js +12 -0
- package/core/client/components/DashboardLayout.vue +77 -0
- package/core/client/components/DynamicWebComponent.vue +68 -0
- package/core/client/components/ErrorAlert.vue +36 -0
- package/core/{components → client/components}/Footer.vue +34 -15
- package/core/client/components/Header.vue +19 -0
- package/core/client/components/IframeWrapper.vue +11 -0
- package/core/client/components/Loading.vue +37 -0
- package/core/client/components/MobileLayout.vue +109 -0
- package/core/client/composables/DefineEodash.js +67 -0
- package/core/client/composables/DefineWidgets.js +161 -0
- package/core/client/composables/index.js +155 -0
- package/core/client/eodash.js +129 -0
- package/core/client/main.js +2 -0
- package/core/client/plugins/index.js +20 -0
- package/core/client/plugins/vuetify.js +35 -0
- package/core/client/render.js +12 -0
- package/core/client/store/Actions.js +38 -0
- package/core/client/store/States.js +24 -0
- package/core/client/store/index.js +20 -0
- package/core/client/store/stac.js +81 -0
- package/core/client/types.d.ts +287 -0
- package/core/client/utils/createLayers.js +131 -0
- package/core/client/utils/eodashSTAC.js +259 -0
- package/core/client/utils/helpers.js +152 -0
- package/core/client/utils/index.js +51 -0
- package/core/{utils → client/utils}/keys.js +2 -2
- package/core/client/views/Dashboard.vue +116 -0
- package/core/client/vite-env.d.ts +39 -0
- package/dist/client/DashboardLayout-D5c2wAGC.js +156 -0
- package/dist/{DynamicWebComponent-BrHVTesn.js → client/DynamicWebComponent-CBuMCUIj.js} +11 -11
- package/dist/client/EodashDatePicker-D0qdMMTE.js +252 -0
- package/dist/client/EodashItemFilter-CTRnGRRS.js +10067 -0
- package/dist/client/EodashLayerControl-Bpm0BwcW.js +31499 -0
- package/dist/client/EodashMap-DaMtQefq.js +114367 -0
- package/dist/client/EodashMapBtns-B5z8h8mr.js +50 -0
- package/dist/client/ExportState-Bp3n6gba.js +558 -0
- package/dist/client/Footer-BROOTKhV.js +115 -0
- package/dist/client/Header-C_fKVTsg.js +350 -0
- package/dist/{IframeWrapper-Dd9zrX9s.js → client/IframeWrapper-32Q3DBYr.js} +4 -4
- package/dist/client/MobileLayout-TVGrYpNT.js +945 -0
- package/dist/client/PopUp-BJzmeeKG.js +300 -0
- package/dist/client/VImg-BT4Vb0UT.js +291 -0
- package/dist/client/VMain-BDVUXNEk.js +39 -0
- package/dist/client/VOverlay-Ck_4Lxcb.js +972 -0
- package/dist/{WidgetsContainer-DxfCu0I3.js → client/WidgetsContainer-DjjX_n1U.js} +25 -18
- package/dist/client/asWebComponent-wn9bbgx9.js +20404 -0
- package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/{decoder-kAoyGIq9-BBR5CgzS.js → client/decoder-Cth6J7EK-CLlwAswr.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +6 -0
- package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
- package/dist/client/forwardRefs--PLRH8zp.js +185 -0
- package/dist/client/helpers-CoqJPYdE.js +1391 -0
- package/dist/{index-DTkOfh2g.js → client/index-Dt0NRXIq.js} +21 -20
- package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/{lerc-C9VL9kri-cIdbW0sg.js → client/lerc-BgbQqdFI-CCpDWUne.js} +37 -39
- package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-LAGDNbSC-DkP96qO9.js} +1 -1
- package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
- package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
- package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CMGvRjfu-BRi6E4i1.js} +1 -1
- package/dist/{ssrBoot-D-b4-M19.js → client/ssrBoot-DjZDIkG_.js} +1 -1
- package/dist/client/style.css +5 -0
- package/dist/client/transition-C8OQt_kp.js +34 -0
- package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-qotgY98I.js} +56 -92
- package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
- package/dist/node/cli.js +20 -0
- package/dist/node/main.js +2 -0
- package/dist/node/types.d.ts +47 -0
- package/package.json +57 -51
- package/widgets/EodashDatePicker.vue +146 -40
- package/widgets/EodashItemFilter.vue +81 -41
- package/widgets/EodashLayerControl.vue +16 -0
- package/widgets/EodashMap.vue +186 -42
- package/widgets/EodashMapBtns.vue +50 -0
- package/widgets/ExportState.vue +112 -0
- package/widgets/PopUp.vue +40 -0
- package/widgets/WidgetsContainer.vue +47 -27
- package/bin/app.js +0 -22
- package/bin/cli.js +0 -62
- package/bin/main.js +0 -9
- package/bin/serverConfig.js +0 -165
- package/bin/types.d.ts +0 -52
- package/bin/utils.js +0 -103
- package/core/App.vue +0 -19
- package/core/SuspensedDashboard.ce.vue +0 -65
- package/core/asWebComponent.d.ts +0 -18
- package/core/asWebComponent.js +0 -12
- package/core/components/DashboardLayout.vue +0 -44
- package/core/components/DynamicWebComponent.vue +0 -68
- package/core/components/Header.vue +0 -14
- package/core/components/IframeWrapper.vue +0 -11
- package/core/components/Loading.vue +0 -27
- package/core/components/MobileLayout.vue +0 -49
- package/core/composables/DefineEodash.js +0 -57
- package/core/composables/DefineWidgets.js +0 -129
- package/core/composables/index.js +0 -219
- package/core/eodash.js +0 -100
- package/core/main.js +0 -2
- package/core/plugins/index.js +0 -18
- package/core/plugins/vuetify.js +0 -30
- package/core/render.js +0 -13
- package/core/store/Actions.js +0 -0
- package/core/store/States.js +0 -21
- package/core/store/index.js +0 -17
- package/core/store/stac.js +0 -63
- package/core/types.d.ts +0 -356
- package/core/utils/eodashSTAC.js +0 -164
- package/core/utils/helpers.js +0 -40
- package/core/utils/index.js +0 -28
- package/core/views/Dashboard.vue +0 -59
- package/core/vite-env.d.ts +0 -31
- package/dist/DashboardLayout-Dp8AnYD9.js +0 -141
- package/dist/EodashDatePicker-D_udZ26j.js +0 -1645
- package/dist/EodashItemFilter-BLAGx2UD.js +0 -51
- package/dist/EodashMap-Bxl_aqY2.js +0 -53405
- package/dist/Footer-AohCH8U7.js +0 -118
- package/dist/Header-DC50S6GR.js +0 -609
- package/dist/MobileLayout-CgToA7Gp.js +0 -523
- package/dist/VBtn-Bz7ruRUg.js +0 -1106
- package/dist/VMain-BHfWJU2j.js +0 -35
- package/dist/asWebComponent-C8rb3b1D.js +0 -11323
- package/dist/color-DpYEub1f.js +0 -115
- package/dist/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/dimensions-CJaGeSrj.js +0 -53
- package/dist/eo-dash.js +0 -6
- package/dist/eox-itemfilter-DcQkRD2l.js +0 -7537
- package/dist/eox-map-BJ9SIixs.js +0 -36205
- package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
- package/dist/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/index-Sa2Vg_gx.js +0 -65
- package/dist/style.css +0 -5
- /package/dist/{.gitkeep → client/.gitkeep} +0 -0
- /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { p as v, s as w, c as x, w as R, bf as b } from "./asWebComponent-wn9bbgx9.js";
|
|
2
|
+
class d {
|
|
3
|
+
constructor(r) {
|
|
4
|
+
let {
|
|
5
|
+
x: n,
|
|
6
|
+
y: i,
|
|
7
|
+
width: s,
|
|
8
|
+
height: t
|
|
9
|
+
} = r;
|
|
10
|
+
this.x = n, this.y = i, this.width = s, this.height = t;
|
|
11
|
+
}
|
|
12
|
+
get top() {
|
|
13
|
+
return this.y;
|
|
14
|
+
}
|
|
15
|
+
get bottom() {
|
|
16
|
+
return this.y + this.height;
|
|
17
|
+
}
|
|
18
|
+
get left() {
|
|
19
|
+
return this.x;
|
|
20
|
+
}
|
|
21
|
+
get right() {
|
|
22
|
+
return this.x + this.width;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function W(e, r) {
|
|
26
|
+
return {
|
|
27
|
+
x: {
|
|
28
|
+
before: Math.max(0, r.left - e.left),
|
|
29
|
+
after: Math.max(0, e.right - r.right)
|
|
30
|
+
},
|
|
31
|
+
y: {
|
|
32
|
+
before: Math.max(0, r.top - e.top),
|
|
33
|
+
after: Math.max(0, e.bottom - r.bottom)
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function O(e) {
|
|
38
|
+
return Array.isArray(e) ? new d({
|
|
39
|
+
x: e[0],
|
|
40
|
+
y: e[1],
|
|
41
|
+
width: 0,
|
|
42
|
+
height: 0
|
|
43
|
+
}) : e.getBoundingClientRect();
|
|
44
|
+
}
|
|
45
|
+
function P(e) {
|
|
46
|
+
const r = e.getBoundingClientRect(), n = getComputedStyle(e), i = n.transform;
|
|
47
|
+
if (i) {
|
|
48
|
+
let s, t, o, a, f;
|
|
49
|
+
if (i.startsWith("matrix3d("))
|
|
50
|
+
s = i.slice(9, -1).split(/, /), t = +s[0], o = +s[5], a = +s[12], f = +s[13];
|
|
51
|
+
else if (i.startsWith("matrix("))
|
|
52
|
+
s = i.slice(7, -1).split(/, /), t = +s[0], o = +s[3], a = +s[4], f = +s[5];
|
|
53
|
+
else
|
|
54
|
+
return new d(r);
|
|
55
|
+
const c = n.transformOrigin, u = r.x - a - (1 - t) * parseFloat(c), l = r.y - f - (1 - o) * parseFloat(c.slice(c.indexOf(" ") + 1)), h = t ? r.width / t : e.offsetWidth + 1, m = o ? r.height / o : e.offsetHeight + 1;
|
|
56
|
+
return new d({
|
|
57
|
+
x: u,
|
|
58
|
+
y: l,
|
|
59
|
+
width: h,
|
|
60
|
+
height: m
|
|
61
|
+
});
|
|
62
|
+
} else
|
|
63
|
+
return new d(r);
|
|
64
|
+
}
|
|
65
|
+
function B(e, r, n) {
|
|
66
|
+
if (typeof e.animate > "u") return {
|
|
67
|
+
finished: Promise.resolve()
|
|
68
|
+
};
|
|
69
|
+
let i;
|
|
70
|
+
try {
|
|
71
|
+
i = e.animate(r, n);
|
|
72
|
+
} catch {
|
|
73
|
+
return {
|
|
74
|
+
finished: Promise.resolve()
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
return typeof i.finished > "u" && (i.finished = new Promise((s) => {
|
|
78
|
+
i.onfinish = () => {
|
|
79
|
+
s(i);
|
|
80
|
+
};
|
|
81
|
+
})), i;
|
|
82
|
+
}
|
|
83
|
+
const z = "cubic-bezier(0.4, 0, 0.2, 1)", I = "cubic-bezier(0.0, 0, 0.2, 1)", C = "cubic-bezier(0.4, 0, 1, 1)", S = v({
|
|
84
|
+
eager: Boolean
|
|
85
|
+
}, "lazy");
|
|
86
|
+
function _(e, r) {
|
|
87
|
+
const n = w(!1), i = x(() => n.value || e.eager || r.value);
|
|
88
|
+
R(r, () => n.value = !0);
|
|
89
|
+
function s() {
|
|
90
|
+
e.eager || (n.value = !1);
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
isBooted: n,
|
|
94
|
+
hasContent: i,
|
|
95
|
+
onAfterLeave: s
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function A() {
|
|
99
|
+
const r = b("useScopeId").vnode.scopeId;
|
|
100
|
+
return {
|
|
101
|
+
scopeId: r ? {
|
|
102
|
+
[r]: ""
|
|
103
|
+
} : void 0
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
const p = Symbol("Forwarded refs");
|
|
107
|
+
function g(e, r) {
|
|
108
|
+
let n = e;
|
|
109
|
+
for (; n; ) {
|
|
110
|
+
const i = Reflect.getOwnPropertyDescriptor(n, r);
|
|
111
|
+
if (i) return i;
|
|
112
|
+
n = Object.getPrototypeOf(n);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
function D(e) {
|
|
116
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
117
|
+
n[i - 1] = arguments[i];
|
|
118
|
+
return e[p] = n, new Proxy(e, {
|
|
119
|
+
get(s, t) {
|
|
120
|
+
if (Reflect.has(s, t))
|
|
121
|
+
return Reflect.get(s, t);
|
|
122
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
123
|
+
for (const o of n)
|
|
124
|
+
if (o.value && Reflect.has(o.value, t)) {
|
|
125
|
+
const a = Reflect.get(o.value, t);
|
|
126
|
+
return typeof a == "function" ? a.bind(o.value) : a;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
has(s, t) {
|
|
131
|
+
if (Reflect.has(s, t))
|
|
132
|
+
return !0;
|
|
133
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
134
|
+
for (const o of n)
|
|
135
|
+
if (o.value && Reflect.has(o.value, t))
|
|
136
|
+
return !0;
|
|
137
|
+
return !1;
|
|
138
|
+
},
|
|
139
|
+
set(s, t, o) {
|
|
140
|
+
if (Reflect.has(s, t))
|
|
141
|
+
return Reflect.set(s, t, o);
|
|
142
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
|
|
143
|
+
for (const a of n)
|
|
144
|
+
if (a.value && Reflect.has(a.value, t))
|
|
145
|
+
return Reflect.set(a.value, t, o);
|
|
146
|
+
return !1;
|
|
147
|
+
},
|
|
148
|
+
getOwnPropertyDescriptor(s, t) {
|
|
149
|
+
const o = Reflect.getOwnPropertyDescriptor(s, t);
|
|
150
|
+
if (o) return o;
|
|
151
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
152
|
+
for (const a of n) {
|
|
153
|
+
if (!a.value) continue;
|
|
154
|
+
const f = g(a.value, t) ?? ("_" in a.value ? g(a.value._?.setupState, t) : void 0);
|
|
155
|
+
if (f) return f;
|
|
156
|
+
}
|
|
157
|
+
for (const a of n) {
|
|
158
|
+
const f = a.value && a.value[p];
|
|
159
|
+
if (!f) continue;
|
|
160
|
+
const c = f.slice();
|
|
161
|
+
for (; c.length; ) {
|
|
162
|
+
const u = c.shift(), l = g(u.value, t);
|
|
163
|
+
if (l) return l;
|
|
164
|
+
const h = u.value && u.value[p];
|
|
165
|
+
h && c.push(...h);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
export {
|
|
173
|
+
d as B,
|
|
174
|
+
B as a,
|
|
175
|
+
A as b,
|
|
176
|
+
C as c,
|
|
177
|
+
I as d,
|
|
178
|
+
W as e,
|
|
179
|
+
D as f,
|
|
180
|
+
O as g,
|
|
181
|
+
S as m,
|
|
182
|
+
P as n,
|
|
183
|
+
z as s,
|
|
184
|
+
_ as u
|
|
185
|
+
};
|