@eodash/eodash 5.0.0-alpha.2.1 → 5.0.0-alpha.2.10
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 +136 -0
- package/core/client/eodash.js +136 -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 +62 -0
- package/core/client/store/States.js +21 -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/eodashSTAC.js +337 -0
- package/core/client/utils/helpers.js +172 -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-C_3q8Y10.js +156 -0
- package/dist/{DynamicWebComponent-BrHVTesn.js → client/DynamicWebComponent-IiTTLBt-.js} +11 -11
- package/dist/client/EodashDatePicker-DgC1lccp.js +252 -0
- package/dist/{eox-itemfilter-DcQkRD2l.js → client/EodashItemFilter-DoWZGe6r.js} +1515 -1381
- package/dist/client/EodashMap-C96D3LLv.js +114352 -0
- package/dist/client/EodashMapBtns-DDtzV94u.js +50 -0
- package/dist/client/ExportState-CduS2mFs.js +558 -0
- package/dist/client/Footer-DHQcutCv.js +115 -0
- package/dist/client/Header-DC0y7rLK.js +350 -0
- package/dist/{IframeWrapper-Dd9zrX9s.js → client/IframeWrapper-BK-10FbS.js} +4 -4
- package/dist/client/MobileLayout-BpLoMY4i.js +945 -0
- package/dist/client/PopUp-CNMCWL0z.js +300 -0
- package/dist/client/VImg-DT7eb8V-.js +291 -0
- package/dist/client/VMain-OenWyy46.js +39 -0
- package/dist/client/VOverlay-x3UXpKhr.js +972 -0
- package/dist/{WidgetsContainer-DxfCu0I3.js → client/WidgetsContainer-qMUwtN0W.js} +24 -17
- package/dist/client/asWebComponent-DQrnLsI2.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-CtUoHA6r.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-jsonform-DCErgjhw.js +17515 -0
- package/dist/client/eox-layercontrol-D0Ht7Mag.js +21298 -0
- package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
- package/dist/client/forwardRefs-CpNjL95t.js +185 -0
- package/dist/client/helpers-KCSgmfim.js +1417 -0
- package/dist/{index-DTkOfh2g.js → client/index-DopVrUzM.js} +22 -21
- package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/{lerc-C9VL9kri-cIdbW0sg.js → client/lerc-BgbQqdFI-D986ErVw.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-DkjdOWvj.js} +1 -1
- package/dist/client/style.css +5 -0
- package/dist/client/transition-BtJHh7JK.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 +54 -51
- package/widgets/EodashDatePicker.vue +145 -40
- package/widgets/EodashItemFilter.vue +73 -38
- package/widgets/EodashMap.vue +210 -37
- 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-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
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
class d {
|
|
2
|
-
constructor(o) {
|
|
3
|
-
let {
|
|
4
|
-
x: s,
|
|
5
|
-
y: r,
|
|
6
|
-
width: e,
|
|
7
|
-
height: t
|
|
8
|
-
} = o;
|
|
9
|
-
this.x = s, this.y = r, this.width = e, this.height = t;
|
|
10
|
-
}
|
|
11
|
-
get top() {
|
|
12
|
-
return this.y;
|
|
13
|
-
}
|
|
14
|
-
get bottom() {
|
|
15
|
-
return this.y + this.height;
|
|
16
|
-
}
|
|
17
|
-
get left() {
|
|
18
|
-
return this.x;
|
|
19
|
-
}
|
|
20
|
-
get right() {
|
|
21
|
-
return this.x + this.width;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function v(f) {
|
|
25
|
-
const o = f.getBoundingClientRect(), s = getComputedStyle(f), r = s.transform;
|
|
26
|
-
if (r) {
|
|
27
|
-
let e, t, i, n, u;
|
|
28
|
-
if (r.startsWith("matrix3d("))
|
|
29
|
-
e = r.slice(9, -1).split(/, /), t = +e[0], i = +e[5], n = +e[12], u = +e[13];
|
|
30
|
-
else if (r.startsWith("matrix("))
|
|
31
|
-
e = r.slice(7, -1).split(/, /), t = +e[0], i = +e[3], n = +e[4], u = +e[5];
|
|
32
|
-
else
|
|
33
|
-
return new d(o);
|
|
34
|
-
const a = s.transformOrigin, c = o.x - n - (1 - t) * parseFloat(a), l = o.y - u - (1 - i) * parseFloat(a.slice(a.indexOf(" ") + 1)), h = t ? o.width / t : f.offsetWidth + 1, m = i ? o.height / i : f.offsetHeight + 1;
|
|
35
|
-
return new d({
|
|
36
|
-
x: c,
|
|
37
|
-
y: l,
|
|
38
|
-
width: h,
|
|
39
|
-
height: m
|
|
40
|
-
});
|
|
41
|
-
} else
|
|
42
|
-
return new d(o);
|
|
43
|
-
}
|
|
44
|
-
function w(f, o, s) {
|
|
45
|
-
if (typeof f.animate > "u")
|
|
46
|
-
return {
|
|
47
|
-
finished: Promise.resolve()
|
|
48
|
-
};
|
|
49
|
-
let r;
|
|
50
|
-
try {
|
|
51
|
-
r = f.animate(o, s);
|
|
52
|
-
} catch {
|
|
53
|
-
return {
|
|
54
|
-
finished: Promise.resolve()
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
return typeof r.finished > "u" && (r.finished = new Promise((e) => {
|
|
58
|
-
r.onfinish = () => {
|
|
59
|
-
e(r);
|
|
60
|
-
};
|
|
61
|
-
})), r;
|
|
62
|
-
}
|
|
63
|
-
const R = "cubic-bezier(0.4, 0, 0.2, 1)", p = Symbol("Forwarded refs");
|
|
64
|
-
function g(f, o) {
|
|
65
|
-
let s = f;
|
|
66
|
-
for (; s; ) {
|
|
67
|
-
const r = Reflect.getOwnPropertyDescriptor(s, o);
|
|
68
|
-
if (r)
|
|
69
|
-
return r;
|
|
70
|
-
s = Object.getPrototypeOf(s);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
function x(f) {
|
|
74
|
-
for (var o = arguments.length, s = new Array(o > 1 ? o - 1 : 0), r = 1; r < o; r++)
|
|
75
|
-
s[r - 1] = arguments[r];
|
|
76
|
-
return f[p] = s, new Proxy(f, {
|
|
77
|
-
get(e, t) {
|
|
78
|
-
if (Reflect.has(e, t))
|
|
79
|
-
return Reflect.get(e, t);
|
|
80
|
-
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
81
|
-
for (const i of s)
|
|
82
|
-
if (i.value && Reflect.has(i.value, t)) {
|
|
83
|
-
const n = Reflect.get(i.value, t);
|
|
84
|
-
return typeof n == "function" ? n.bind(i.value) : n;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
has(e, t) {
|
|
89
|
-
if (Reflect.has(e, t))
|
|
90
|
-
return !0;
|
|
91
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
92
|
-
return !1;
|
|
93
|
-
for (const i of s)
|
|
94
|
-
if (i.value && Reflect.has(i.value, t))
|
|
95
|
-
return !0;
|
|
96
|
-
return !1;
|
|
97
|
-
},
|
|
98
|
-
set(e, t, i) {
|
|
99
|
-
if (Reflect.has(e, t))
|
|
100
|
-
return Reflect.set(e, t, i);
|
|
101
|
-
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
102
|
-
return !1;
|
|
103
|
-
for (const n of s)
|
|
104
|
-
if (n.value && Reflect.has(n.value, t))
|
|
105
|
-
return Reflect.set(n.value, t, i);
|
|
106
|
-
return !1;
|
|
107
|
-
},
|
|
108
|
-
getOwnPropertyDescriptor(e, t) {
|
|
109
|
-
const i = Reflect.getOwnPropertyDescriptor(e, t);
|
|
110
|
-
if (i)
|
|
111
|
-
return i;
|
|
112
|
-
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
113
|
-
for (const n of s) {
|
|
114
|
-
if (!n.value)
|
|
115
|
-
continue;
|
|
116
|
-
const u = g(n.value, t) ?? ("_" in n.value ? g(n.value._?.setupState, t) : void 0);
|
|
117
|
-
if (u)
|
|
118
|
-
return u;
|
|
119
|
-
}
|
|
120
|
-
for (const n of s) {
|
|
121
|
-
const u = n.value && n.value[p];
|
|
122
|
-
if (!u)
|
|
123
|
-
continue;
|
|
124
|
-
const a = u.slice();
|
|
125
|
-
for (; a.length; ) {
|
|
126
|
-
const c = a.shift(), l = g(c.value, t);
|
|
127
|
-
if (l)
|
|
128
|
-
return l;
|
|
129
|
-
const h = c.value && c.value[p];
|
|
130
|
-
h && a.push(...h);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
export {
|
|
138
|
-
w as a,
|
|
139
|
-
x as f,
|
|
140
|
-
v as n,
|
|
141
|
-
R as s
|
|
142
|
-
};
|
package/dist/index-Sa2Vg_gx.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { p as v, a8 as b, m as d, az as l, aw as g, W as _ } from "./asWebComponent-C8rb3b1D.js";
|
|
2
|
-
const j = v({
|
|
3
|
-
transition: {
|
|
4
|
-
type: [Boolean, String, Object],
|
|
5
|
-
default: "fade-transition",
|
|
6
|
-
validator: (e) => e !== !0
|
|
7
|
-
}
|
|
8
|
-
}, "transition"), I = (e, t) => {
|
|
9
|
-
let {
|
|
10
|
-
slots: s
|
|
11
|
-
} = t;
|
|
12
|
-
const {
|
|
13
|
-
transition: n,
|
|
14
|
-
disabled: r,
|
|
15
|
-
group: i,
|
|
16
|
-
...a
|
|
17
|
-
} = e, {
|
|
18
|
-
component: c = i ? l : g,
|
|
19
|
-
...f
|
|
20
|
-
} = typeof n == "object" ? n : {};
|
|
21
|
-
return b(c, d(typeof n == "string" ? {
|
|
22
|
-
name: r ? "" : n
|
|
23
|
-
} : f, typeof n == "string" ? {} : Object.fromEntries(Object.entries({
|
|
24
|
-
disabled: r,
|
|
25
|
-
group: i
|
|
26
|
-
}).filter((o) => {
|
|
27
|
-
let [u, m] = o;
|
|
28
|
-
return m !== void 0;
|
|
29
|
-
})), a), s);
|
|
30
|
-
};
|
|
31
|
-
function y(e, t) {
|
|
32
|
-
if (!_)
|
|
33
|
-
return;
|
|
34
|
-
const s = t.modifiers || {}, n = t.value, {
|
|
35
|
-
handler: r,
|
|
36
|
-
options: i
|
|
37
|
-
} = typeof n == "object" ? n : {
|
|
38
|
-
handler: n,
|
|
39
|
-
options: {}
|
|
40
|
-
}, a = new IntersectionObserver(function() {
|
|
41
|
-
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], f = arguments.length > 1 ? arguments[1] : void 0;
|
|
42
|
-
const o = e._observe?.[t.instance.$.uid];
|
|
43
|
-
if (!o)
|
|
44
|
-
return;
|
|
45
|
-
const u = c.some((m) => m.isIntersecting);
|
|
46
|
-
r && (!s.quiet || o.init) && (!s.once || u || o.init) && r(u, c, f), u && s.once ? p(e, t) : o.init = !0;
|
|
47
|
-
}, i);
|
|
48
|
-
e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
|
|
49
|
-
init: !1,
|
|
50
|
-
observer: a
|
|
51
|
-
}, a.observe(e);
|
|
52
|
-
}
|
|
53
|
-
function p(e, t) {
|
|
54
|
-
const s = e._observe?.[t.instance.$.uid];
|
|
55
|
-
s && (s.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
|
|
56
|
-
}
|
|
57
|
-
const O = {
|
|
58
|
-
mounted: y,
|
|
59
|
-
unmounted: p
|
|
60
|
-
}, h = O;
|
|
61
|
-
export {
|
|
62
|
-
I as M,
|
|
63
|
-
h as i,
|
|
64
|
-
j as m
|
|
65
|
-
};
|