@eodash/eodash 5.0.0-alpha.1.9 → 5.0.0-alpha.2
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 +1 -1
- package/bin/cli.js +15 -8
- package/bin/main.js +9 -0
- package/bin/serverConfig.js +58 -29
- package/bin/types.d.ts +52 -0
- package/bin/utils.js +70 -20
- package/core/App.vue +10 -12
- package/core/SuspensedDashboard.ce.vue +59 -0
- package/core/asWebComponent.d.ts +18 -0
- package/core/asWebComponent.js +12 -0
- package/core/components/DashboardLayout.vue +23 -27
- package/core/components/DynamicWebComponent.vue +6 -6
- package/core/components/Footer.vue +11 -12
- package/core/components/Header.vue +5 -29
- package/core/components/Loading.vue +27 -0
- package/core/components/MobileLayout.vue +34 -63
- package/core/composables/DefineEodash.js +57 -0
- package/core/composables/DefineWidgets.js +26 -15
- package/core/composables/index.js +139 -67
- package/core/eodash.js +100 -0
- package/core/main.js +2 -4
- package/core/plugins/index.js +3 -12
- package/core/plugins/vuetify.js +5 -2
- package/core/store/Actions.js +0 -28
- package/core/store/States.js +12 -3
- package/core/store/stac.js +7 -5
- package/core/types.d.ts +148 -124
- package/core/utils/eodashSTAC.js +164 -0
- package/core/utils/helpers.js +40 -0
- package/core/utils/index.js +28 -0
- package/core/utils/keys.js +6 -0
- package/core/views/Dashboard.vue +33 -23
- package/core/vite-env.d.ts +16 -2
- package/dist/.gitkeep +0 -0
- package/dist/DashboardLayout-YLfAa8wH.js +168 -0
- package/dist/DynamicWebComponent-BDOQsEcj.js +57 -0
- package/dist/EodashDatePicker-DlehqSgz.js +1645 -0
- package/dist/EodashItemFilter-TSp7XRGy.js +51 -0
- package/dist/EodashMap-DInb9cfS.js +53405 -0
- package/dist/Footer-CIzHgJbK.js +118 -0
- package/dist/Header-C5PSB8Uc.js +609 -0
- package/dist/IframeWrapper-DYHQQRUh.js +19 -0
- package/dist/MobileLayout-DZmqrpub.js +523 -0
- package/dist/VBtn-CFPhsIX8.js +1106 -0
- package/dist/VMain-deI9jyIf.js +35 -0
- package/dist/WidgetsContainer-D_PLP1qf.js +122 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/asWebComponent-BKe6Spni.js +11323 -0
- package/dist/basedecoder-Qm25PwVp-CHo5Pomv.js +89 -0
- package/dist/color-D72nEBIR.js +115 -0
- package/dist/decoder-kAoyGIq9-HAkjSTCt.js +10 -0
- package/dist/deflate-Be2Arps5-hDqMz3RA.js +10 -0
- package/dist/dimensions-BZkmIizV.js +53 -0
- package/dist/eo-dash.js +6 -0
- package/dist/eox-itemfilter-DcQkRD2l.js +7537 -0
- package/dist/eox-map-BJ9SIixs.js +36205 -0
- package/dist/eox-stacinfo-B-YrT7Ug.js +13698 -0
- package/dist/forwardRefs-Bxeu9Obx.js +142 -0
- package/dist/index-8ch8xKfa.js +152 -0
- package/dist/index-DIt8GjSR.js +65 -0
- package/dist/jpeg-DNfUpLwy-Fjan-04T.js +515 -0
- package/dist/lerc-C9VL9kri-DyVxBvsf.js +1029 -0
- package/dist/lzw-BOMhmEDy-Dboc93VO.js +84 -0
- package/dist/packbits-DaUD6MLm-Bu1PoTGa.js +24 -0
- package/dist/pako.esm-C3kYPGGQ-BMki8cQY.js +1087 -0
- package/dist/raw-CcGKjn8q-DFOt-i8n.js +9 -0
- package/dist/ssrBoot-Cm5pWM14.js +17 -0
- package/dist/style.css +5 -0
- package/dist/webfontloader-CyOFAuFB.js +471 -0
- package/dist/webimage-D2c098k3-DLj1LQxB.js +19 -0
- package/package.json +40 -12
- package/widgets/EodashDatePicker.vue +56 -0
- package/widgets/EodashItemFilter.vue +60 -0
- package/widgets/EodashMap.vue +82 -0
- package/widgets/WidgetsContainer.vue +1 -1
- package/core/composables/DefineConfig.js +0 -45
- package/core/eodashConfig.js +0 -136
- package/core/plugins/router.js +0 -20
- package/core/store/Keys.js +0 -6
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { g as E } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
|
|
2
|
+
const A = 9, y = 256, x = 257, b = 12;
|
|
3
|
+
function U(f, r, o) {
|
|
4
|
+
const i = r % 8, t = Math.floor(r / 8), d = 8 - i, g = r + o - (t + 1) * 8;
|
|
5
|
+
let u = 8 * (t + 2) - (r + o);
|
|
6
|
+
const w = (t + 2) * 8 - r;
|
|
7
|
+
if (u = Math.max(0, u), t >= f.length)
|
|
8
|
+
return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"), x;
|
|
9
|
+
let a = f[t] & 2 ** (8 - i) - 1;
|
|
10
|
+
a <<= o - d;
|
|
11
|
+
let s = a;
|
|
12
|
+
if (t + 1 < f.length) {
|
|
13
|
+
let l = f[t + 1] >>> u;
|
|
14
|
+
l <<= Math.max(0, o - w), s += l;
|
|
15
|
+
}
|
|
16
|
+
if (g > 8 && t + 2 < f.length) {
|
|
17
|
+
const l = (t + 3) * 8 - (r + o), e = f[t + 2] >>> l;
|
|
18
|
+
s += e;
|
|
19
|
+
}
|
|
20
|
+
return s;
|
|
21
|
+
}
|
|
22
|
+
function m(f, r) {
|
|
23
|
+
for (let o = r.length - 1; o >= 0; o--)
|
|
24
|
+
f.push(r[o]);
|
|
25
|
+
return f;
|
|
26
|
+
}
|
|
27
|
+
function $(f) {
|
|
28
|
+
const r = new Uint16Array(4093), o = new Uint8Array(4093);
|
|
29
|
+
for (let n = 0; n <= 257; n++)
|
|
30
|
+
r[n] = 4096, o[n] = n;
|
|
31
|
+
let i = 258, t = A, d = 0;
|
|
32
|
+
function g() {
|
|
33
|
+
i = 258, t = A;
|
|
34
|
+
}
|
|
35
|
+
function u(n) {
|
|
36
|
+
const h = U(n, d, t);
|
|
37
|
+
return d += t, h;
|
|
38
|
+
}
|
|
39
|
+
function w(n, h) {
|
|
40
|
+
return o[i] = h, r[i] = n, i++, i - 1;
|
|
41
|
+
}
|
|
42
|
+
function a(n) {
|
|
43
|
+
const h = [];
|
|
44
|
+
for (let p = n; p !== 4096; p = r[p])
|
|
45
|
+
h.push(o[p]);
|
|
46
|
+
return h;
|
|
47
|
+
}
|
|
48
|
+
const s = [];
|
|
49
|
+
g();
|
|
50
|
+
const l = new Uint8Array(f);
|
|
51
|
+
let e = u(l), c;
|
|
52
|
+
for (; e !== x; ) {
|
|
53
|
+
if (e === y) {
|
|
54
|
+
for (g(), e = u(l); e === y; )
|
|
55
|
+
e = u(l);
|
|
56
|
+
if (e === x)
|
|
57
|
+
break;
|
|
58
|
+
if (e > y)
|
|
59
|
+
throw new Error(`corrupted code at scanline ${e}`);
|
|
60
|
+
{
|
|
61
|
+
const n = a(e);
|
|
62
|
+
m(s, n), c = e;
|
|
63
|
+
}
|
|
64
|
+
} else if (e < i) {
|
|
65
|
+
const n = a(e);
|
|
66
|
+
m(s, n), w(c, n[n.length - 1]), c = e;
|
|
67
|
+
} else {
|
|
68
|
+
const n = a(c);
|
|
69
|
+
if (!n)
|
|
70
|
+
throw new Error(`Bogus entry. Not in dictionary, ${c} / ${i}, position: ${d}`);
|
|
71
|
+
m(s, n), s.push(n[n.length - 1]), w(c, n[n.length - 1]), c = e;
|
|
72
|
+
}
|
|
73
|
+
i + 1 >= 2 ** t && (t === b ? c = void 0 : t++), e = u(l);
|
|
74
|
+
}
|
|
75
|
+
return new Uint8Array(s);
|
|
76
|
+
}
|
|
77
|
+
class B extends E {
|
|
78
|
+
decodeBlock(r) {
|
|
79
|
+
return $(r).buffer;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
B as default
|
|
84
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { g as s } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
|
|
2
|
+
class c extends s {
|
|
3
|
+
decodeBlock(l) {
|
|
4
|
+
const o = new DataView(l), r = [];
|
|
5
|
+
for (let e = 0; e < l.byteLength; ++e) {
|
|
6
|
+
let t = o.getInt8(e);
|
|
7
|
+
if (t < 0) {
|
|
8
|
+
const n = o.getUint8(e + 1);
|
|
9
|
+
t = -t;
|
|
10
|
+
for (let f = 0; f <= t; ++f)
|
|
11
|
+
r.push(n);
|
|
12
|
+
e += 1;
|
|
13
|
+
} else {
|
|
14
|
+
for (let n = 0; n <= t; ++n)
|
|
15
|
+
r.push(o.getUint8(e + n + 1));
|
|
16
|
+
e += t + 1;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return new Uint8Array(r).buffer;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
c as default
|
|
24
|
+
};
|