@eodash/eodash 5.0.0-alpha.1.9 → 5.0.0-alpha.2.1

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 (80) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/bin/cli.js +15 -8
  4. package/bin/main.js +9 -0
  5. package/bin/serverConfig.js +58 -29
  6. package/bin/types.d.ts +52 -0
  7. package/bin/utils.js +70 -20
  8. package/core/App.vue +10 -12
  9. package/core/SuspensedDashboard.ce.vue +65 -0
  10. package/core/asWebComponent.d.ts +18 -0
  11. package/core/asWebComponent.js +12 -0
  12. package/core/components/DashboardLayout.vue +11 -25
  13. package/core/components/DynamicWebComponent.vue +6 -6
  14. package/core/components/Footer.vue +11 -12
  15. package/core/components/Header.vue +5 -29
  16. package/core/components/Loading.vue +27 -0
  17. package/core/components/MobileLayout.vue +34 -63
  18. package/core/composables/DefineEodash.js +57 -0
  19. package/core/composables/DefineWidgets.js +26 -15
  20. package/core/composables/index.js +139 -67
  21. package/core/eodash.js +100 -0
  22. package/core/main.js +2 -4
  23. package/core/plugins/index.js +3 -12
  24. package/core/plugins/vuetify.js +5 -2
  25. package/core/store/Actions.js +0 -28
  26. package/core/store/States.js +12 -3
  27. package/core/store/stac.js +7 -5
  28. package/core/types.d.ts +149 -124
  29. package/core/utils/eodashSTAC.js +164 -0
  30. package/core/utils/helpers.js +40 -0
  31. package/core/utils/index.js +28 -0
  32. package/core/utils/keys.js +6 -0
  33. package/core/views/Dashboard.vue +33 -23
  34. package/core/vite-env.d.ts +16 -2
  35. package/dist/.gitkeep +0 -0
  36. package/dist/DashboardLayout-Dp8AnYD9.js +141 -0
  37. package/dist/DynamicWebComponent-BrHVTesn.js +57 -0
  38. package/dist/EodashDatePicker-D_udZ26j.js +1645 -0
  39. package/dist/EodashItemFilter-BLAGx2UD.js +51 -0
  40. package/dist/EodashMap-Bxl_aqY2.js +53405 -0
  41. package/dist/Footer-AohCH8U7.js +118 -0
  42. package/dist/Header-DC50S6GR.js +609 -0
  43. package/dist/IframeWrapper-Dd9zrX9s.js +19 -0
  44. package/dist/MobileLayout-CgToA7Gp.js +523 -0
  45. package/dist/VBtn-Bz7ruRUg.js +1106 -0
  46. package/dist/VMain-BHfWJU2j.js +35 -0
  47. package/dist/WidgetsContainer-DxfCu0I3.js +122 -0
  48. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  49. package/dist/asWebComponent-C8rb3b1D.js +11323 -0
  50. package/dist/basedecoder-Qm25PwVp-CHo5Pomv.js +89 -0
  51. package/dist/color-DpYEub1f.js +115 -0
  52. package/dist/decoder-kAoyGIq9-BBR5CgzS.js +10 -0
  53. package/dist/deflate-Be2Arps5-hDqMz3RA.js +10 -0
  54. package/dist/dimensions-CJaGeSrj.js +53 -0
  55. package/dist/eo-dash.js +6 -0
  56. package/dist/eox-itemfilter-DcQkRD2l.js +7537 -0
  57. package/dist/eox-map-BJ9SIixs.js +36205 -0
  58. package/dist/eox-stacinfo-B-YrT7Ug.js +13698 -0
  59. package/dist/forwardRefs-Bxeu9Obx.js +142 -0
  60. package/dist/index-DTkOfh2g.js +152 -0
  61. package/dist/index-Sa2Vg_gx.js +65 -0
  62. package/dist/jpeg-DNfUpLwy-Fjan-04T.js +515 -0
  63. package/dist/lerc-C9VL9kri-cIdbW0sg.js +1029 -0
  64. package/dist/lzw-BOMhmEDy-Dboc93VO.js +84 -0
  65. package/dist/packbits-DaUD6MLm-Bu1PoTGa.js +24 -0
  66. package/dist/pako.esm-C3kYPGGQ-BMki8cQY.js +1087 -0
  67. package/dist/raw-CcGKjn8q-DFOt-i8n.js +9 -0
  68. package/dist/ssrBoot-D-b4-M19.js +17 -0
  69. package/dist/style.css +5 -0
  70. package/dist/webfontloader-CyOFAuFB.js +471 -0
  71. package/dist/webimage-D2c098k3-DLj1LQxB.js +19 -0
  72. package/package.json +40 -12
  73. package/widgets/EodashDatePicker.vue +56 -0
  74. package/widgets/EodashItemFilter.vue +60 -0
  75. package/widgets/EodashMap.vue +82 -0
  76. package/widgets/WidgetsContainer.vue +1 -1
  77. package/core/composables/DefineConfig.js +0 -45
  78. package/core/eodashConfig.js +0 -136
  79. package/core/plugins/router.js +0 -20
  80. 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
+ };