@eodash/eodash 5.0.0-alpha.2.5 → 5.0.0-alpha.2.6

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 (73) hide show
  1. package/README.md +19 -5
  2. package/core/client/App.vue +6 -7
  3. package/core/client/SuspensedDashboard.ce.vue +58 -40
  4. package/core/client/asWebComponent.d.ts +10 -5
  5. package/core/client/asWebComponent.js +6 -6
  6. package/core/client/components/DashboardLayout.vue +35 -16
  7. package/core/client/components/DynamicWebComponent.vue +44 -44
  8. package/core/client/components/ErrorAlert.vue +19 -7
  9. package/core/client/components/Footer.vue +28 -14
  10. package/core/client/components/Header.vue +4 -4
  11. package/core/client/components/IframeWrapper.vue +3 -3
  12. package/core/client/components/Loading.vue +17 -18
  13. package/core/client/components/MobileLayout.vue +48 -26
  14. package/core/client/composables/DefineEodash.js +38 -29
  15. package/core/client/composables/DefineWidgets.js +101 -81
  16. package/core/client/composables/index.js +32 -29
  17. package/core/client/eodash.js +44 -39
  18. package/core/client/main.js +2 -2
  19. package/core/client/plugins/index.js +9 -10
  20. package/core/client/plugins/vuetify.js +9 -10
  21. package/core/client/render.js +4 -5
  22. package/core/client/store/States.js +8 -13
  23. package/core/client/store/index.js +14 -11
  24. package/core/client/store/stac.js +51 -37
  25. package/core/client/types.d.ts +169 -201
  26. package/core/client/utils/eodashSTAC.js +130 -49
  27. package/core/client/utils/helpers.js +18 -20
  28. package/core/client/utils/index.js +17 -10
  29. package/core/client/utils/keys.js +2 -2
  30. package/core/client/views/Dashboard.vue +53 -36
  31. package/core/client/vite-env.d.ts +19 -17
  32. package/dist/client/{DashboardLayout-BYROtP-7.js → DashboardLayout-BuDcv6LM.js} +9 -9
  33. package/dist/client/{DynamicWebComponent-BQhxFPM0.js → DynamicWebComponent-BEP4rVce.js} +2 -2
  34. package/dist/client/EodashDatePicker-oFb1zt5E.js +1211 -0
  35. package/dist/client/{EodashItemFilter-DIBDAHcc.js → EodashItemFilter-BElmgrST.js} +4 -6
  36. package/dist/client/{EodashMap-C6jJ2Lb_.js → EodashMap-DXyOgcEd.js} +13131 -14490
  37. package/dist/client/{Footer-BVIZms1S.js → Footer-CoPx6UXQ.js} +3 -3
  38. package/dist/client/{Header-TsTL1d2R.js → Header-C-zX31Ys.js} +169 -167
  39. package/dist/client/{IframeWrapper-XKChM78a.js → IframeWrapper-2w2ye0zM.js} +1 -1
  40. package/dist/client/{MobileLayout-BlGcMQra.js → MobileLayout-C9OVcP12.js} +45 -57
  41. package/dist/client/{VMain-C9XV5Lyg.js → VMain-Dm43jd43.js} +2 -2
  42. package/dist/client/{WidgetsContainer-BQXHnZpa.js → WidgetsContainer-BS87sLqk.js} +10 -3
  43. package/dist/client/{asWebComponent-CbdGxelK.js → asWebComponent-CpQUVi2N.js} +5508 -5561
  44. package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
  45. package/dist/client/{decoder-HRvnjnEI-CHAYOWhz.js → decoder-CP4lv0Kb-BHrv68IA.js} +1 -1
  46. package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
  47. package/dist/client/eo-dash.js +3 -3
  48. package/dist/client/eodashSTAC-Q7kbX1Gy.js +2788 -0
  49. package/dist/client/{eox-itemfilter-DcQkRD2l.js → eox-itemfilter-TaBxgqq_.js} +1002 -974
  50. package/dist/client/{eox-map-C3DL31fp.js → eox-map-L7abwKTR.js} +5677 -5695
  51. package/dist/client/{forwardRefs-CyCJOFsz.js → forwardRefs-BVFQ82G4.js} +12 -21
  52. package/dist/client/{index-CabQjjQg.js → index-dOzyv_xR.js} +1 -1
  53. package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
  54. package/dist/client/{lerc-_E46UbWQ-TxBH4OeK.js → lerc-DzVumYtB-rm1Xco54.js} +5 -7
  55. package/dist/client/{lzw-BOMhmEDy-Dboc93VO.js → lzw-LAGDNbSC-DkP96qO9.js} +1 -1
  56. package/dist/client/{packbits-DaUD6MLm-Bu1PoTGa.js → packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
  57. package/dist/client/{pako.esm-C3kYPGGQ-BMki8cQY.js → pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
  58. package/dist/client/{raw-CcGKjn8q-DFOt-i8n.js → raw-CMGvRjfu-BRi6E4i1.js} +1 -1
  59. package/dist/client/{ssrBoot-DWJ-z4I-.js → ssrBoot-L9KejErM.js} +1 -1
  60. package/dist/client/style.css +2 -2
  61. package/dist/client/{transition-BlLt41wg.js → transition-DCePIwYR.js} +1 -1
  62. package/dist/client/{webfontloader-CyOFAuFB.js → webfontloader-qotgY98I.js} +56 -92
  63. package/dist/client/{webimage-D2c098k3-DLj1LQxB.js → webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
  64. package/dist/node/cli.js +1 -1
  65. package/dist/node/types.d.ts +32 -38
  66. package/package.json +11 -11
  67. package/widgets/EodashDatePicker.vue +94 -43
  68. package/widgets/EodashItemFilter.vue +13 -10
  69. package/widgets/EodashMap.vue +87 -20
  70. package/widgets/WidgetsContainer.vue +45 -27
  71. package/dist/client/EodashDatePicker-CFltnt5d.js +0 -1194
  72. package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
  73. package/dist/client/http-ZWiLaAeR.js +0 -1337
@@ -1,4 +1,4 @@
1
- import { p as v, s as w, c as x, w as R, ah as b } from "./asWebComponent-CbdGxelK.js";
1
+ import { p as v, s as w, c as x, w as R, ah as b } from "./asWebComponent-CpQUVi2N.js";
2
2
  class d {
3
3
  constructor(r) {
4
4
  let {
@@ -63,10 +63,9 @@ function P(e) {
63
63
  return new d(r);
64
64
  }
65
65
  function B(e, r, n) {
66
- if (typeof e.animate > "u")
67
- return {
68
- finished: Promise.resolve()
69
- };
66
+ if (typeof e.animate > "u") return {
67
+ finished: Promise.resolve()
68
+ };
70
69
  let i;
71
70
  try {
72
71
  i = e.animate(r, n);
@@ -109,8 +108,7 @@ function g(e, r) {
109
108
  let n = e;
110
109
  for (; n; ) {
111
110
  const i = Reflect.getOwnPropertyDescriptor(n, r);
112
- if (i)
113
- return i;
111
+ if (i) return i;
114
112
  n = Object.getPrototypeOf(n);
115
113
  }
116
114
  }
@@ -132,8 +130,7 @@ function z(e) {
132
130
  has(s, t) {
133
131
  if (Reflect.has(s, t))
134
132
  return !0;
135
- if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
136
- return !1;
133
+ if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
137
134
  for (const o of n)
138
135
  if (o.value && Reflect.has(o.value, t))
139
136
  return !0;
@@ -142,8 +139,7 @@ function z(e) {
142
139
  set(s, t, o) {
143
140
  if (Reflect.has(s, t))
144
141
  return Reflect.set(s, t, o);
145
- if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))
146
- return !1;
142
+ if (typeof t == "symbol" || t.startsWith("$") || t.startsWith("__")) return !1;
147
143
  for (const f of n)
148
144
  if (f.value && Reflect.has(f.value, t))
149
145
  return Reflect.set(f.value, t, o);
@@ -151,25 +147,20 @@ function z(e) {
151
147
  },
152
148
  getOwnPropertyDescriptor(s, t) {
153
149
  const o = Reflect.getOwnPropertyDescriptor(s, t);
154
- if (o)
155
- return o;
150
+ if (o) return o;
156
151
  if (!(typeof t == "symbol" || t.startsWith("$") || t.startsWith("__"))) {
157
152
  for (const f of n) {
158
- if (!f.value)
159
- continue;
153
+ if (!f.value) continue;
160
154
  const a = g(f.value, t) ?? ("_" in f.value ? g(f.value._?.setupState, t) : void 0);
161
- if (a)
162
- return a;
155
+ if (a) return a;
163
156
  }
164
157
  for (const f of n) {
165
158
  const a = f.value && f.value[p];
166
- if (!a)
167
- continue;
159
+ if (!a) continue;
168
160
  const u = a.slice();
169
161
  for (; u.length; ) {
170
162
  const c = u.shift(), l = g(c.value, t);
171
- if (l)
172
- return l;
163
+ if (l) return l;
173
164
  const h = c.value && c.value[p];
174
165
  h && u.push(...h);
175
166
  }
@@ -1,4 +1,4 @@
1
- import { g, av as c, ab as p, aw as h, p as b, ax as w } from "./asWebComponent-CbdGxelK.js";
1
+ import { g, av as c, ab as p, aw as h, p as b, ax as w } from "./asWebComponent-CpQUVi2N.js";
2
2
  const S = b({
3
3
  disabled: Boolean,
4
4
  group: Boolean,
@@ -1,4 +1,4 @@
1
- import { g as oe } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
1
+ import { g as oe } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
2
2
  const J = new Int32Array([
3
3
  0,
4
4
  1,
@@ -380,11 +380,10 @@ class ae {
380
380
  }
381
381
  else
382
382
  throw new Error("DQT: invalid table spec");
383
- else
384
- for (let o = 0; o < 64; o++) {
385
- const i = J[o];
386
- m[i] = a[s++];
387
- }
383
+ else for (let o = 0; o < 64; o++) {
384
+ const i = J[o];
385
+ m[i] = a[s++];
386
+ }
388
387
  this.quantizationTables[f & 15] = m;
389
388
  }
390
389
  break;
@@ -1,6 +1,6 @@
1
- import { b as tA } from "./pako.esm-C3kYPGGQ-BMki8cQY.js";
2
- import { D as sA, G as gA, V as rA } from "./EodashMap-C6jJ2Lb_.js";
3
- import { g as DA } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
1
+ import { b as tA } from "./pako.esm-CB1uQYY0-DB0PYm1P.js";
2
+ import { z as sA, B as gA, K as rA } from "./EodashMap-DXyOgcEd.js";
3
+ import { g as DA } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
4
4
  var iA = { exports: {} };
5
5
  (function(W) {
6
6
  /* Copyright 2015-2021 Esri. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 @preserve */
@@ -122,8 +122,7 @@ var iA = { exports: {} };
122
122
  if (t !== -32768 || s < C.length)
123
123
  throw "Unexpected end of mask RLE encoding";
124
124
  g.mask.bitset = C, a += g.mask.numBytes;
125
- } else
126
- g.mask.numBytes | g.mask.numBlocksY | g.mask.maxValue || (g.mask.bitset = new Uint8Array(Math.ceil(g.width * g.height / 8)));
125
+ } else g.mask.numBytes | g.mask.numBlocksY | g.mask.maxValue || (g.mask.bitset = new Uint8Array(Math.ceil(g.width * g.height / 8)));
127
126
  B = new DataView(I, a, 16), g.pixels = {}, g.pixels.numBlocksY = B.getUint32(0, !0), g.pixels.numBlocksX = B.getUint32(4, !0), g.pixels.numBytes = B.getUint32(8, !0), g.pixels.maxValue = B.getFloat32(12, !0), a += 16;
128
127
  var e = g.pixels.numBlocksX, i = g.pixels.numBlocksY, h = e + (g.width % e > 0 ? 1 : 0), y = i + (g.height % i > 0 ? 1 : 0);
129
128
  g.pixels.blocks = new Array(h * y);
@@ -994,8 +993,7 @@ class wA {
994
993
  K = u.instance, BA.env.emscripten_notify_memory_growth(0);
995
994
  }
996
995
  decode(u, P = 0) {
997
- if (!K)
998
- throw new Error("ZSTDDecoder: Await .init() before decoding.");
996
+ if (!K) throw new Error("ZSTDDecoder: Await .init() before decoding.");
999
997
  const Z = u.byteLength, v = K.exports.malloc(Z);
1000
998
  QA.set(u, v), P = P || Number(K.exports.ZSTD_findDecompressedSize(v, Z));
1001
999
  const N = K.exports.malloc(P), d = K.exports.ZSTD_decompress(N, P, v, Z), m = QA.slice(N, N + d);
@@ -1,4 +1,4 @@
1
- import { g as E } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
1
+ import { g as E } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
2
2
  const A = 9, y = 256, x = 257, b = 12;
3
3
  function U(f, r, o) {
4
4
  const i = r % 8, t = Math.floor(r / 8), d = 8 - i, g = r + o - (t + 1) * 8;
@@ -1,4 +1,4 @@
1
- import { g as s } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
1
+ import { g as s } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
2
2
  class c extends s {
3
3
  decodeBlock(l) {
4
4
  const o = new DataView(l), r = [];
@@ -620,8 +620,7 @@ const je = (e) => {
620
620
  d--, n += s[r++] << i, i += 8;
621
621
  }
622
622
  t.length = n, t.head && (t.head.extra_len = n), t.flags & 512 && t.wrap & 4 && (u[0] = n & 255, u[1] = n >>> 8 & 255, t.check = T(t.check, u, 2, 0)), n = 0, i = 0;
623
- } else
624
- t.head && (t.head.extra = null);
623
+ } else t.head && (t.head.extra = null);
625
624
  t.mode = pt;
626
625
  case pt:
627
626
  if (t.flags & 1024 && (l = t.length, l > d && (l = d), l && (t.head && (_ = t.head.extra_len - t.length, t.head.extra || (t.head.extra = new Uint8Array(t.head.extra_len)), t.head.extra.set(
@@ -646,8 +645,7 @@ const je = (e) => {
646
645
  while (_ && l < d);
647
646
  if (t.flags & 512 && t.wrap & 4 && (t.check = T(t.check, s, l, r)), d -= l, r += l, _)
648
647
  break t;
649
- } else
650
- t.head && (t.head.name = null);
648
+ } else t.head && (t.head.name = null);
651
649
  t.length = 0, t.mode = yt;
652
650
  case yt:
653
651
  if (t.flags & 4096) {
@@ -659,8 +657,7 @@ const je = (e) => {
659
657
  while (_ && l < d);
660
658
  if (t.flags & 512 && t.wrap & 4 && (t.check = T(t.check, s, l, r)), d -= l, r += l, _)
661
659
  break t;
662
- } else
663
- t.head && (t.head.comment = null);
660
+ } else t.head && (t.head.comment = null);
664
661
  t.mode = xt;
665
662
  case xt:
666
663
  if (t.flags & 512) {
@@ -1031,8 +1028,7 @@ function H(e) {
1031
1028
  H.prototype.push = function(e, a) {
1032
1029
  const t = this.strm, s = this.options.chunkSize, o = this.options.dictionary;
1033
1030
  let r, c, d;
1034
- if (this.ended)
1035
- return !1;
1031
+ if (this.ended) return !1;
1036
1032
  for (a === ~~a ? c = a : c = a === !0 ? la : oa, ee.call(e) === "[object ArrayBuffer]" ? t.input = new Uint8Array(e) : t.input = e, t.next_in = 0, t.avail_in = t.input.length; ; ) {
1037
1033
  for (t.avail_out === 0 && (t.output = new Uint8Array(s), t.next_out = 0, t.avail_out = s), r = O.inflate(t, c), r === nt && o && (r = O.inflateSetDictionary(t, o), r === M ? r = O.inflate(t, c) : r === Lt && (r = nt)); t.avail_in > 0 && r === at && t.state.wrap > 0 && e[t.next_in] !== 0; )
1038
1034
  O.inflateReset(t), r = O.inflate(t, c);
@@ -1052,8 +1048,7 @@ H.prototype.push = function(e, a) {
1052
1048
  if (!(r === M && d === 0)) {
1053
1049
  if (r === at)
1054
1050
  return r = O.inflateEnd(this.strm), this.onEnd(r), this.ended = !0, !0;
1055
- if (t.avail_in === 0)
1056
- break;
1051
+ if (t.avail_in === 0) break;
1057
1052
  }
1058
1053
  }
1059
1054
  return !0;
@@ -1066,8 +1061,7 @@ H.prototype.onEnd = function(e) {
1066
1061
  };
1067
1062
  function lt(e, a) {
1068
1063
  const t = new H(a);
1069
- if (t.push(e), t.err)
1070
- throw t.msg || rt[t.err];
1064
+ if (t.push(e), t.err) throw t.msg || rt[t.err];
1071
1065
  return t.result;
1072
1066
  }
1073
1067
  function ca(e, a) {
@@ -1,4 +1,4 @@
1
- import { g as d } from "./basedecoder-Qm25PwVp-CHo5Pomv.js";
1
+ import { g as d } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
2
2
  class t extends d {
3
3
  decodeBlock(e) {
4
4
  return e;
@@ -1,4 +1,4 @@
1
- import { s, Z as t, c as e, ay as n } from "./asWebComponent-CbdGxelK.js";
1
+ import { s, Z as t, c as e, ay as n } from "./asWebComponent-CpQUVi2N.js";
2
2
  function i() {
3
3
  const o = s(!1);
4
4
  return t(() => {