@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.
- package/README.md +14 -5
- package/core/{SuspensedDashboard.ce.vue → client/SuspensedDashboard.ce.vue} +30 -16
- package/core/client/components/DashboardLayout.vue +59 -0
- package/core/{components → client/components}/ErrorAlert.vue +6 -1
- package/core/{components → client/components}/Footer.vue +6 -1
- package/core/{components → client/components}/Header.vue +6 -1
- package/core/{components → client/components}/IframeWrapper.vue +1 -1
- package/core/{components → client/components}/MobileLayout.vue +41 -10
- package/core/{composables → client/composables}/DefineEodash.js +2 -1
- package/core/{composables → client/composables}/DefineWidgets.js +14 -8
- package/core/{composables → client/composables}/index.js +18 -119
- package/core/{eodash.js → client/eodash.js} +38 -36
- package/core/{plugins → client/plugins}/index.js +3 -0
- package/core/{plugins → client/plugins}/vuetify.js +1 -1
- package/core/{types.d.ts → client/types.d.ts} +42 -85
- package/core/{utils → client/utils}/eodashSTAC.js +29 -25
- package/core/client/utils/index.js +32 -0
- package/core/{views → client/views}/Dashboard.vue +39 -10
- package/dist/client/DashboardLayout-BYROtP-7.js +156 -0
- package/dist/{DynamicWebComponent-CgDh2csQ.js → client/DynamicWebComponent-BQhxFPM0.js} +6 -6
- package/dist/client/EodashDatePicker-CFltnt5d.js +1194 -0
- package/dist/client/EodashItemFilter-DIBDAHcc.js +65 -0
- package/dist/{EodashMap-CyR-Ldpk.js → client/EodashMap-C6jJ2Lb_.js} +14337 -15676
- package/dist/client/Footer-BVIZms1S.js +115 -0
- package/dist/client/Header-TsTL1d2R.js +633 -0
- package/dist/{IframeWrapper-Csep3rMg.js → client/IframeWrapper-XKChM78a.js} +4 -4
- package/dist/client/MobileLayout-BlGcMQra.js +957 -0
- package/dist/{VMain-COrg6UtF.js → client/VMain-C9XV5Lyg.js} +8 -8
- package/dist/{WidgetsContainer-XA6_dKOm.js → client/WidgetsContainer-BQXHnZpa.js} +8 -8
- package/dist/client/asWebComponent-CbdGxelK.js +20188 -0
- package/dist/{decoder-kAoyGIq9-DjQanfeo.js → client/decoder-HRvnjnEI-CHAYOWhz.js} +1 -1
- package/dist/client/eo-dash.js +6 -0
- package/dist/{eox-map-BJ9SIixs.js → client/eox-map-C3DL31fp.js} +1882 -1809
- package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
- package/dist/client/forwardRefs-CyCJOFsz.js +192 -0
- package/dist/client/http-ZWiLaAeR.js +1337 -0
- package/dist/{index-Cskxla5D.js → client/index-CabQjjQg.js} +43 -74
- package/dist/{lerc-C9VL9kri-O4muG-MO.js → client/lerc-_E46UbWQ-TxBH4OeK.js} +1 -1
- package/dist/{ssrBoot-DCCAW5xY.js → client/ssrBoot-DWJ-z4I-.js} +3 -3
- package/dist/{style.css → client/style.css} +2 -2
- package/dist/client/transition-BlLt41wg.js +34 -0
- package/dist/node/cli.js +20 -0
- package/dist/node/main.js +2 -0
- package/{bin → dist/node}/types.d.ts +2 -2
- package/package.json +22 -21
- package/widgets/EodashDatePicker.vue +89 -36
- package/widgets/EodashItemFilter.vue +30 -14
- 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/utils.js +0 -103
- package/core/components/DashboardLayout.vue +0 -36
- package/core/utils/index.js +0 -28
- package/dist/DashboardLayout-lzEvtalW.js +0 -148
- package/dist/EodashDatePicker-bIyNUYaG.js +0 -1653
- package/dist/EodashItemFilter-CpgyrJRX.js +0 -51
- package/dist/Footer-C2sIHSym.js +0 -118
- package/dist/Header-DFz2BUnp.js +0 -605
- package/dist/MobileLayout-CXNJL_q6.js +0 -984
- package/dist/asWebComponent-fqvymeM-.js +0 -13092
- package/dist/eo-dash.js +0 -6
- package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
- package/dist/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/index-Zv5eTiB6.js +0 -34
- /package/core/{App.vue → client/App.vue} +0 -0
- /package/core/{asWebComponent.d.ts → client/asWebComponent.d.ts} +0 -0
- /package/core/{asWebComponent.js → client/asWebComponent.js} +0 -0
- /package/core/{components → client/components}/DynamicWebComponent.vue +0 -0
- /package/core/{components → client/components}/Loading.vue +0 -0
- /package/core/{main.js → client/main.js} +0 -0
- /package/core/{render.js → client/render.js} +0 -0
- /package/core/{store → client/store}/Actions.js +0 -0
- /package/core/{store → client/store}/States.js +0 -0
- /package/core/{store → client/store}/index.js +0 -0
- /package/core/{store → client/store}/stac.js +0 -0
- /package/core/{utils → client/utils}/helpers.js +0 -0
- /package/core/{utils → client/utils}/keys.js +0 -0
- /package/core/{vite-env.d.ts → client/vite-env.d.ts} +0 -0
- /package/dist/{.gitkeep → client/.gitkeep} +0 -0
- /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
- /package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-Qm25PwVp-CHo5Pomv.js} +0 -0
- /package/dist/{deflate-Be2Arps5-hDqMz3RA.js → client/deflate-Be2Arps5-hDqMz3RA.js} +0 -0
- /package/dist/{eox-itemfilter-DcQkRD2l.js → client/eox-itemfilter-DcQkRD2l.js} +0 -0
- /package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-DNfUpLwy-Fjan-04T.js} +0 -0
- /package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-BOMhmEDy-Dboc93VO.js} +0 -0
- /package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-DaUD6MLm-Bu1PoTGa.js} +0 -0
- /package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-C3kYPGGQ-BMki8cQY.js} +0 -0
- /package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CcGKjn8q-DFOt-i8n.js} +0 -0
- /package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-CyOFAuFB.js} +0 -0
- /package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-D2c098k3-DLj1LQxB.js} +0 -0
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { p as v, s as w, c as x, w as R, ah as b } from "./asWebComponent-CbdGxelK.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, f, a;
|
|
49
|
+
if (i.startsWith("matrix3d("))
|
|
50
|
+
s = i.slice(9, -1).split(/, /), t = +s[0], o = +s[5], f = +s[12], a = +s[13];
|
|
51
|
+
else if (i.startsWith("matrix("))
|
|
52
|
+
s = i.slice(7, -1).split(/, /), t = +s[0], o = +s[3], f = +s[4], a = +s[5];
|
|
53
|
+
else
|
|
54
|
+
return new d(r);
|
|
55
|
+
const u = n.transformOrigin, c = r.x - f - (1 - t) * parseFloat(u), l = r.y - a - (1 - o) * parseFloat(u.slice(u.indexOf(" ") + 1)), h = t ? r.width / t : e.offsetWidth + 1, m = o ? r.height / o : e.offsetHeight + 1;
|
|
56
|
+
return new d({
|
|
57
|
+
x: c,
|
|
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")
|
|
67
|
+
return {
|
|
68
|
+
finished: Promise.resolve()
|
|
69
|
+
};
|
|
70
|
+
let i;
|
|
71
|
+
try {
|
|
72
|
+
i = e.animate(r, n);
|
|
73
|
+
} catch {
|
|
74
|
+
return {
|
|
75
|
+
finished: Promise.resolve()
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
return typeof i.finished > "u" && (i.finished = new Promise((s) => {
|
|
79
|
+
i.onfinish = () => {
|
|
80
|
+
s(i);
|
|
81
|
+
};
|
|
82
|
+
})), i;
|
|
83
|
+
}
|
|
84
|
+
const I = "cubic-bezier(0.4, 0, 0.2, 1)", C = v({
|
|
85
|
+
eager: Boolean
|
|
86
|
+
}, "lazy");
|
|
87
|
+
function S(e, r) {
|
|
88
|
+
const n = w(!1), i = x(() => n.value || e.eager || r.value);
|
|
89
|
+
R(r, () => n.value = !0);
|
|
90
|
+
function s() {
|
|
91
|
+
e.eager || (n.value = !1);
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
isBooted: n,
|
|
95
|
+
hasContent: i,
|
|
96
|
+
onAfterLeave: s
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function _() {
|
|
100
|
+
const r = b("useScopeId").vnode.scopeId;
|
|
101
|
+
return {
|
|
102
|
+
scopeId: r ? {
|
|
103
|
+
[r]: ""
|
|
104
|
+
} : void 0
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
const p = Symbol("Forwarded refs");
|
|
108
|
+
function g(e, r) {
|
|
109
|
+
let n = e;
|
|
110
|
+
for (; n; ) {
|
|
111
|
+
const i = Reflect.getOwnPropertyDescriptor(n, r);
|
|
112
|
+
if (i)
|
|
113
|
+
return i;
|
|
114
|
+
n = Object.getPrototypeOf(n);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
function z(e) {
|
|
118
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
119
|
+
n[i - 1] = arguments[i];
|
|
120
|
+
return e[p] = n, new Proxy(e, {
|
|
121
|
+
get(s, t) {
|
|
122
|
+
if (Reflect.has(s, t))
|
|
123
|
+
return Reflect.get(s, t);
|
|
124
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
125
|
+
for (const o of n)
|
|
126
|
+
if (o.value && Reflect.has(o.value, t)) {
|
|
127
|
+
const f = Reflect.get(o.value, t);
|
|
128
|
+
return typeof f == "function" ? f.bind(o.value) : f;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
has(s, t) {
|
|
133
|
+
if (Reflect.has(s, t))
|
|
134
|
+
return !0;
|
|
135
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
136
|
+
return !1;
|
|
137
|
+
for (const o of n)
|
|
138
|
+
if (o.value && Reflect.has(o.value, t))
|
|
139
|
+
return !0;
|
|
140
|
+
return !1;
|
|
141
|
+
},
|
|
142
|
+
set(s, t, o) {
|
|
143
|
+
if (Reflect.has(s, t))
|
|
144
|
+
return Reflect.set(s, t, o);
|
|
145
|
+
if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
|
|
146
|
+
return !1;
|
|
147
|
+
for (const f of n)
|
|
148
|
+
if (f.value && Reflect.has(f.value, t))
|
|
149
|
+
return Reflect.set(f.value, t, o);
|
|
150
|
+
return !1;
|
|
151
|
+
},
|
|
152
|
+
getOwnPropertyDescriptor(s, t) {
|
|
153
|
+
const o = Reflect.getOwnPropertyDescriptor(s, t);
|
|
154
|
+
if (o)
|
|
155
|
+
return o;
|
|
156
|
+
if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
|
|
157
|
+
for (const f of n) {
|
|
158
|
+
if (!f.value)
|
|
159
|
+
continue;
|
|
160
|
+
const a = g(f.value, t) ?? ("_" in f.value ? g(f.value._?.setupState, t) : void 0);
|
|
161
|
+
if (a)
|
|
162
|
+
return a;
|
|
163
|
+
}
|
|
164
|
+
for (const f of n) {
|
|
165
|
+
const a = f.value && f.value[p];
|
|
166
|
+
if (!a)
|
|
167
|
+
continue;
|
|
168
|
+
const u = a.slice();
|
|
169
|
+
for (; u.length; ) {
|
|
170
|
+
const c = u.shift(), l = g(c.value, t);
|
|
171
|
+
if (l)
|
|
172
|
+
return l;
|
|
173
|
+
const h = c.value && c.value[p];
|
|
174
|
+
h && u.push(...h);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
export {
|
|
182
|
+
d as B,
|
|
183
|
+
B as a,
|
|
184
|
+
_ as b,
|
|
185
|
+
W as c,
|
|
186
|
+
z as f,
|
|
187
|
+
O as g,
|
|
188
|
+
C as m,
|
|
189
|
+
P as n,
|
|
190
|
+
I as s,
|
|
191
|
+
S as u
|
|
192
|
+
};
|