@eodash/eodash 5.0.0-alpha.2.8 → 5.0.0-alpha.2.9

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 (28) hide show
  1. package/dist/client/{DashboardLayout-CKOExc7r.js → DashboardLayout-D0ZF6V2S.js} +2 -2
  2. package/dist/client/{DynamicWebComponent-m1Zbbw6n.js → DynamicWebComponent-CPsMSBHi.js} +1 -1
  3. package/dist/client/{EodashDatePicker-CGdJRGZJ.js → EodashDatePicker-CBQP7u2X.js} +4 -4
  4. package/dist/client/{eox-itemfilter-TaBxgqq_.js → EodashItemFilter-DL2ScI-5.js} +1146 -1040
  5. package/dist/client/{EodashMap-61UMC8sv.js → EodashMap-CkKoQlmR.js} +4 -4
  6. package/dist/client/{EodashMapBtns-DVITfAFx.js → EodashMapBtns-yuO2QmiR.js} +2 -2
  7. package/dist/client/{ExportState-DhpK09GR.js → ExportState-CCzOhppU.js} +4 -4
  8. package/dist/client/{Footer-CIwjaddz.js → Footer-BPAND0yG.js} +1 -1
  9. package/dist/client/{Header-BcM-pZFi.js → Header-DLhebNvG.js} +4 -4
  10. package/dist/client/{IframeWrapper-CAe6HPqe.js → IframeWrapper-1GEMHlsW.js} +1 -1
  11. package/dist/client/{MobileLayout-DcZOQX8r.js → MobileLayout-mGkOYRhu.js} +6 -6
  12. package/dist/client/{PopUp-DCaITceG.js → PopUp-1d2bBFjw.js} +3 -3
  13. package/dist/client/{VImg-C-I_7puM.js → VImg-DxHcztfM.js} +2 -2
  14. package/dist/client/{VMain-Cd3P0YTG.js → VMain-BLX5vRRn.js} +2 -2
  15. package/dist/client/{VOverlay-AcvFgk39.js → VOverlay-CvrYEmLu.js} +3 -3
  16. package/dist/client/{WidgetsContainer-B0-q0EMO.js → WidgetsContainer-CmYjvGm7.js} +1 -1
  17. package/dist/client/{asWebComponent-zuKR9I1w.js → asWebComponent-B91uK0U7.js} +6 -6
  18. package/dist/client/{decoder-CP4lv0Kb-DdKalImK.js → decoder-CP4lv0Kb-B6yqkcfC.js} +1 -1
  19. package/dist/client/eo-dash.js +1 -1
  20. package/dist/client/{eodashSTAC-DGB50vNk.js → eodashSTAC-DBjqe_Ho.js} +1 -1
  21. package/dist/client/{forwardRefs-BnxE4iKQ.js → forwardRefs-BJJiadQP.js} +1 -1
  22. package/dist/client/{index-hSIi5Ygk.js → index-Q-bHLjxx.js} +1 -1
  23. package/dist/client/{lerc-DzVumYtB-cTUap6k_.js → lerc-DzVumYtB-P-KXC0TO.js} +1 -1
  24. package/dist/client/{ssrBoot-D3KF5Thc.js → ssrBoot-yo11mybw.js} +1 -1
  25. package/dist/client/{transition-D3a4tiJv.js → transition-CSJhuYGK.js} +1 -1
  26. package/package.json +1 -1
  27. package/widgets/EodashItemFilter.vue +57 -41
  28. package/dist/client/EodashItemFilter-BjM_LHaE.js +0 -63
@@ -1,5 +1,5 @@
1
- import { x as zL, r as UL, aH as BL, aI as Ia, aA as WL, Z as XL, az as VL, w as qL, aJ as YL, $ as ZL, a6 as HL, W as KL, aG as JL } from "./asWebComponent-zuKR9I1w.js";
2
- import { t as QL, e as tO, E as eO } from "./eodashSTAC-DGB50vNk.js";
1
+ import { x as zL, r as UL, aH as BL, aI as Ia, aA as WL, Z as XL, az as VL, w as qL, aJ as YL, $ as ZL, a6 as HL, W as KL, aG as JL } from "./asWebComponent-B91uK0U7.js";
2
+ import { t as QL, e as tO, E as eO } from "./eodashSTAC-DBjqe_Ho.js";
3
3
  var nO = Object.defineProperty, iO = (n, t, e) => t in n ? nO(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, sO = (n, t, e) => iO(n, t + "", e);
4
4
  /**
5
5
  * @license
@@ -72972,7 +72972,7 @@ Sa([8, 32946], () => import("./deflate-BXt-9JA_-CWfClgpK.js").then((n) => n.defa
72972
72972
  Sa(32773, () => import("./packbits-BlDR4Kj5-C66n1-zr.js").then((n) => n.default));
72973
72973
  Sa(
72974
72974
  34887,
72975
- () => import("./lerc-DzVumYtB-cTUap6k_.js").then(async (n) => (await n.zstd.init(), n)).then((n) => n.default)
72975
+ () => import("./lerc-DzVumYtB-P-KXC0TO.js").then(async (n) => (await n.zstd.init(), n)).then((n) => n.default)
72976
72976
  );
72977
72977
  Sa(50001, () => import("./webimage-BM_pbLN3-L2cGWK5l.js").then((n) => n.default));
72978
72978
  function cm(n, t, e, i = 1) {
@@ -73898,7 +73898,7 @@ class CQ {
73898
73898
  */
73899
73899
  constructor(t = bQ, e) {
73900
73900
  this.workers = null, this._awaitingDecoder = null, this.size = t, this.messageId = 0, t && (this._awaitingDecoder = e ? Promise.resolve(e) : new Promise((i) => {
73901
- import("./decoder-CP4lv0Kb-DdKalImK.js").then((s) => {
73901
+ import("./decoder-CP4lv0Kb-B6yqkcfC.js").then((s) => {
73902
73902
  i(s.create);
73903
73903
  });
73904
73904
  }), this._awaitingDecoder.then((i) => {
@@ -1,5 +1,5 @@
1
- import { _ as l, r as s, aL as r, $ as d, a6 as p, b as n, a3 as c, V as u, aM as f } from "./asWebComponent-zuKR9I1w.js";
2
- import m from "./ExportState-DhpK09GR.js";
1
+ import { _ as l, r as s, aL as r, $ as d, a6 as p, b as n, a3 as c, V as u, aM as f } from "./asWebComponent-B91uK0U7.js";
2
+ import m from "./ExportState-CCzOhppU.js";
3
3
  const i = "Export Map", _ = `<h2>
4
4
  code example
5
5
  </h2>`, v = {
@@ -1,7 +1,7 @@
1
- import { aN as M, g as m, e as y, S as ve, a as g, b as a, p as f, f as x, I as k, O as T, ag as j, aO as me, h as B, aP as J, i as N, aQ as U, P as W, aj as q, aR as ye, M as S, ak as _, aS as H, F as P, ae as ge, ac as fe, af as be, aT as ke, aU as he, aV as Ce, aW as Ve, aX as pe, ah as Se, ad as _e, ai as xe, aY as Ie, aZ as Ae, a_ as Pe, a$ as Te, c as h, t as Be, v as Ne, b0 as we, u as Le, R as $e, C as L, _ as De, b1 as Re, b2 as ze, r as Fe, $ as I, a0 as Oe, a1 as c, b3 as Ee, a9 as C, aa as $, a6 as D, a3 as R, b4 as Me, a5 as je, aB as Je, b5 as Ue, a7 as We, V as z, b6 as qe, a8 as F, b7 as A, aI as O, at as He, au as Qe } from "./asWebComponent-zuKR9I1w.js";
2
- import Xe from "./PopUp-DCaITceG.js";
3
- import { a as Ye } from "./index-hSIi5Ygk.js";
4
- import { V as Q } from "./VImg-C-I_7puM.js";
1
+ import { aN as M, g as m, e as y, S as ve, a as g, b as a, p as f, f as x, I as k, O as T, ag as j, aO as me, h as B, aP as J, i as N, aQ as U, P as W, aj as q, aR as ye, M as S, ak as _, aS as H, F as P, ae as ge, ac as fe, af as be, aT as ke, aU as he, aV as Ce, aW as Ve, aX as pe, ah as Se, ad as _e, ai as xe, aY as Ie, aZ as Ae, a_ as Pe, a$ as Te, c as h, t as Be, v as Ne, b0 as we, u as Le, R as $e, C as L, _ as De, b1 as Re, b2 as ze, r as Fe, $ as I, a0 as Oe, a1 as c, b3 as Ee, a9 as C, aa as $, a6 as D, a3 as R, b4 as Me, a5 as je, aB as Je, b5 as Ue, a7 as We, V as z, b6 as qe, a8 as F, b7 as A, aI as O, at as He, au as Qe } from "./asWebComponent-B91uK0U7.js";
2
+ import Xe from "./PopUp-1d2bBFjw.js";
3
+ import { a as Ye } from "./index-Q-bHLjxx.js";
4
+ import { V as Q } from "./VImg-DxHcztfM.js";
5
5
  const Ze = M("v-spacer", "div", "VSpacer"), X = m()({
6
6
  name: "VCardActions",
7
7
  props: y(),
@@ -1,4 +1,4 @@
1
- import { p as y, ae as x, e as w, af as k, ao as b, ag as C, f as I, h as S, g as R, i as B, Q as P, R as f, ah as z, ai as F, aj as M, s as V, J as T, c as e, ar as X, a as Z, b as j, C as L, _ as N, r as D, x as H, W as E, H as $, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, at as U, au as W } from "./asWebComponent-zuKR9I1w.js";
1
+ import { p as y, ae as x, e as w, af as k, ao as b, ag as C, f as I, h as S, g as R, i as B, Q as P, R as f, ah as z, ai as F, aj as M, s as V, J as T, c as e, ar as X, a as Z, b as j, C as L, _ as N, r as D, x as H, W as E, H as $, $ as A, a0 as J, a1 as K, a9 as t, aa as O, a3 as n, a8 as Q, at as U, au as W } from "./asWebComponent-B91uK0U7.js";
2
2
  const q = y({
3
3
  app: Boolean,
4
4
  color: String,
@@ -1,7 +1,7 @@
1
- import { p as V, e as I, f as N, g as _, a as p, b as o, ae as $, af as q, ag as z, h as F, Q as K, R as k, ah as O, ai as Q, aj as Y, i as Z, j as G, s as y, c as n, S as J, ak as B, C as x, r as R, al as X, w as T, Z as ee, am as te, an as ae, ao as le, y as oe, ap as se, aq as ne, ar as re, d as E, _ as ue, x as ie, W as ce, $ as de, a0 as ve, a1 as P, a8 as me, aa as ge, a3 as w } from "./asWebComponent-zuKR9I1w.js";
2
- import { V as A } from "./VImg-C-I_7puM.js";
3
- import { a as fe } from "./index-hSIi5Ygk.js";
4
- import { u as he } from "./ssrBoot-D3KF5Thc.js";
1
+ import { p as V, e as I, f as N, g as _, a as p, b as o, ae as $, af as q, ag as z, h as F, Q as K, R as k, ah as O, ai as Q, aj as Y, i as Z, j as G, s as y, c as n, S as J, ak as B, C as x, r as R, al as X, w as T, Z as ee, am as te, an as ae, ao as le, y as oe, ap as se, aq as ne, ar as re, d as E, _ as ue, x as ie, W as ce, $ as de, a0 as ve, a1 as P, a8 as me, aa as ge, a3 as w } from "./asWebComponent-B91uK0U7.js";
2
+ import { V as A } from "./VImg-DxHcztfM.js";
3
+ import { a as fe } from "./index-Q-bHLjxx.js";
4
+ import { u as he } from "./ssrBoot-yo11mybw.js";
5
5
  const L = V({
6
6
  text: String,
7
7
  ...I(),
@@ -1,4 +1,4 @@
1
- import { $ as r, a6 as t } from "./asWebComponent-zuKR9I1w.js";
1
+ import { $ as r, a6 as t } from "./asWebComponent-B91uK0U7.js";
2
2
  const s = ["src"], i = {
3
3
  __name: "IframeWrapper",
4
4
  props: {
@@ -1,9 +1,9 @@
1
- import { k as Ie, p as R, o as Pe, m as Xe, g as $, u as Ye, r as I, c as y, a as M, V as G, b as v, F as O, d as z, e as ie, f as ue, h as Ge, i as De, j as pe, l as Ue, n as Be, s as E, w as Ee, q as je, t as q, v as Ne, x as re, y as ze, z as qe, A as Ke, B as le, C as ae, D as Qe, I as fe, E as Je, G as Ze, H as et, J as me, K as tt, L as he, M as ge, N as nt, O as ot, P as st, Q as lt, R as W, S as at, T as it, _ as ut, U as rt, W as ct, X as be, Y as dt, Z as vt, $ as C, a0 as A, a1 as F, a2 as ye, a3 as X, a4 as Se, a5 as se, a6 as Y, a7 as we, a8 as xe, a9 as ft, aa as mt } from "./asWebComponent-zuKR9I1w.js";
2
- import { f as ht, a as gt, s as bt, m as yt, u as St, b as wt } from "./forwardRefs-BnxE4iKQ.js";
3
- import { u as xt } from "./ssrBoot-D3KF5Thc.js";
4
- import { M as kt } from "./transition-D3a4tiJv.js";
5
- import { V as ke } from "./index-hSIi5Ygk.js";
6
- import { V as Tt } from "./VMain-Cd3P0YTG.js";
1
+ import { k as Ie, p as R, o as Pe, m as Xe, g as $, u as Ye, r as I, c as y, a as M, V as G, b as v, F as O, d as z, e as ie, f as ue, h as Ge, i as De, j as pe, l as Ue, n as Be, s as E, w as Ee, q as je, t as q, v as Ne, x as re, y as ze, z as qe, A as Ke, B as le, C as ae, D as Qe, I as fe, E as Je, G as Ze, H as et, J as me, K as tt, L as he, M as ge, N as nt, O as ot, P as st, Q as lt, R as W, S as at, T as it, _ as ut, U as rt, W as ct, X as be, Y as dt, Z as vt, $ as C, a0 as A, a1 as F, a2 as ye, a3 as X, a4 as Se, a5 as se, a6 as Y, a7 as we, a8 as xe, a9 as ft, aa as mt } from "./asWebComponent-B91uK0U7.js";
2
+ import { f as ht, a as gt, s as bt, m as yt, u as St, b as wt } from "./forwardRefs-BJJiadQP.js";
3
+ import { u as xt } from "./ssrBoot-yo11mybw.js";
4
+ import { M as kt } from "./transition-CSJhuYGK.js";
5
+ import { V as ke } from "./index-Q-bHLjxx.js";
6
+ import { V as Tt } from "./VMain-BLX5vRRn.js";
7
7
  const Vt = (e) => {
8
8
  const {
9
9
  touchstartX: n,
@@ -1,6 +1,6 @@
1
- import { g as E, b as p, d as h, ab as w, p as b, y as R, r as O, L as M, w as x, a as T, D as q, ak as I, N, ae as U, e as W, ac as j, af as X, aU as Y, aV as z, ag as H, f as Q, h as Z, i as G, Q as J, R as K, ah as _, ad as ee, ai as te, aZ as ae, a_ as oe, aj as se, b1 as ne, b2 as re, X as ie, $ as P, a6 as k, a1 as S, a0 as le, a3 as V, a4 as ce, a5 as C, bd as ue } from "./asWebComponent-zuKR9I1w.js";
2
- import { m as de, V as B } from "./VOverlay-AcvFgk39.js";
3
- import { a as y, d as me, s as D, c as fe, g as ge, n as ve, b as pe, f as he } from "./forwardRefs-BnxE4iKQ.js";
1
+ import { g as E, b as p, d as h, ab as w, p as b, y as R, r as O, L as M, w as x, a as T, D as q, ak as I, N, ae as U, e as W, ac as j, af as X, aU as Y, aV as z, ag as H, f as Q, h as Z, i as G, Q as J, R as K, ah as _, ad as ee, ai as te, aZ as ae, a_ as oe, aj as se, b1 as ne, b2 as re, X as ie, $ as P, a6 as k, a1 as S, a0 as le, a3 as V, a4 as ce, a5 as C, bd as ue } from "./asWebComponent-B91uK0U7.js";
2
+ import { m as de, V as B } from "./VOverlay-CvrYEmLu.js";
3
+ import { a as y, d as me, s as D, c as fe, g as ge, n as ve, b as pe, f as he } from "./forwardRefs-BJJiadQP.js";
4
4
  const ye = b({
5
5
  target: [Object, Array]
6
6
  }, "v-dialog-transition"), Pe = E()({
@@ -1,5 +1,5 @@
1
- import { b8 as O, p as W, e as D, ac as G, g as $, ad as J, a as E, b as n, c as h, ag as K, Q as X, R as Y, aj as Z, b9 as p, s as f, r as ee, w as C, ba as te, D as ne, an as re, t as U, v as ae, F as se, d as ie, C as le, B as oe } from "./asWebComponent-zuKR9I1w.js";
2
- import { m as ue, M as b } from "./transition-D3a4tiJv.js";
1
+ import { b8 as O, p as W, e as D, ac as G, g as $, ad as J, a as E, b as n, c as h, ag as K, Q as X, R as Y, aj as Z, b9 as p, s as f, r as ee, w as C, ba as te, D as ne, an as re, t as U, v as ae, F as se, d as ie, C as le, B as oe } from "./asWebComponent-B91uK0U7.js";
2
+ import { m as ue, M as b } from "./transition-CSJhuYGK.js";
3
3
  function ce(e, s) {
4
4
  if (!O) return;
5
5
  const i = s.modifiers || {}, l = s.value, {
@@ -1,5 +1,5 @@
1
- import { p as i, e as m, ac as c, f as u, g as d, ad as y, Y as v, a as f, b as e } from "./asWebComponent-zuKR9I1w.js";
2
- import { u as V } from "./ssrBoot-D3KF5Thc.js";
1
+ import { p as i, e as m, ac as c, f as u, g as d, ad as y, Y as v, a as f, b as e } from "./asWebComponent-B91uK0U7.js";
2
+ import { u as V } from "./ssrBoot-yo11mybw.js";
3
3
  const b = i({
4
4
  scrollable: Boolean,
5
5
  ...m(),
@@ -1,6 +1,6 @@
1
- import { be as Oe, bf as Pe, p as G, r as I, L as W, ap as se, w as L, bg as F, bh as Ie, bi as de, bj as te, bk as ne, bl as me, c as O, D as ce, bm as Ve, bn as ye, C as M, al as ge, aq as ue, bo as pe, bp as We, b9 as Ce, x as Ae, bq as he, d as V, br as qe, s as U, H as je, Z as $e, aH as Te, q as ze, as as Ye, bs as Ue, bt as Ge, e as Xe, ac as Ze, h as Ke, g as Qe, y as Je, i as et, j as tt, Q as nt, R as ot, ad as at, an as rt, bu as it, a as lt, b as D, bv as st, t as ct, B as ut, v as ft, F as vt, ab as dt, bw as mt } from "./asWebComponent-zuKR9I1w.js";
2
- import { g as yt, B as oe, e as be, n as gt, m as ht, u as bt, b as wt, a as Et, s as St } from "./forwardRefs-BnxE4iKQ.js";
3
- import { m as xt, M as kt } from "./transition-D3a4tiJv.js";
1
+ import { be as Oe, bf as Pe, p as G, r as I, L as W, ap as se, w as L, bg as F, bh as Ie, bi as de, bj as te, bk as ne, bl as me, c as O, D as ce, bm as Ve, bn as ye, C as M, al as ge, aq as ue, bo as pe, bp as We, b9 as Ce, x as Ae, bq as he, d as V, br as qe, s as U, H as je, Z as $e, aH as Te, q as ze, as as Ye, bs as Ue, bt as Ge, e as Xe, ac as Ze, h as Ke, g as Qe, y as Je, i as et, j as tt, Q as nt, R as ot, ad as at, an as rt, bu as it, a as lt, b as D, bv as st, t as ct, B as ut, v as ft, F as vt, ab as dt, bw as mt } from "./asWebComponent-B91uK0U7.js";
2
+ import { g as yt, B as oe, e as be, n as gt, m as ht, u as bt, b as wt, a as Et, s as St } from "./forwardRefs-BJJiadQP.js";
3
+ import { m as xt, M as kt } from "./transition-CSJhuYGK.js";
4
4
  const Z = /* @__PURE__ */ new WeakMap();
5
5
  function Ot(e, t) {
6
6
  Object.keys(t).forEach((n) => {
@@ -1,4 +1,4 @@
1
- import { X as g, r as i, Y as y, Z as x, D as v, $ as n, a6 as m, a7 as E, a3 as H, F as k, a9 as f, aa as C, a0 as _, d as w, a4 as A, bx as D } from "./asWebComponent-zuKR9I1w.js";
1
+ import { X as g, r as i, Y as y, Z as x, D as v, $ as n, a6 as m, a7 as E, a3 as H, F as k, a9 as f, aa as C, a0 as _, d as w, a4 as A, bx as D } from "./asWebComponent-B91uK0U7.js";
2
2
  class F extends HTMLDetailsElement {
3
3
  // this is an adaptation of // https://css-tricks.com/how-to-animate-the-details-element-using-waapi/
4
4
  // which turns the class into a custom element
@@ -11502,7 +11502,7 @@ const BO = (e = "", t = ea.stacEndpoint) => {
11502
11502
  }, 2e3);
11503
11503
  }, ZO = (() => {
11504
11504
  const e = {
11505
- .../* @__PURE__ */ Object.assign({ "/widgets/EodashDatePicker.vue": () => import("./EodashDatePicker-CGdJRGZJ.js"), "/widgets/EodashItemFilter.vue": () => import("./EodashItemFilter-BjM_LHaE.js"), "/widgets/EodashMap.vue": () => import("./EodashMap-61UMC8sv.js").then((t) => t.E), "/widgets/EodashMapBtns.vue": () => import("./EodashMapBtns-DVITfAFx.js"), "/widgets/ExportState.vue": () => import("./ExportState-DhpK09GR.js"), "/widgets/PopUp.vue": () => import("./PopUp-DCaITceG.js"), "/widgets/WidgetsContainer.vue": () => import("./WidgetsContainer-B0-q0EMO.js") }),
11505
+ .../* @__PURE__ */ Object.assign({ "/widgets/EodashDatePicker.vue": () => import("./EodashDatePicker-CBQP7u2X.js"), "/widgets/EodashItemFilter.vue": () => import("./EodashItemFilter-DL2ScI-5.js"), "/widgets/EodashMap.vue": () => import("./EodashMap-CkKoQlmR.js").then((t) => t.E), "/widgets/EodashMapBtns.vue": () => import("./EodashMapBtns-yuO2QmiR.js"), "/widgets/ExportState.vue": () => import("./ExportState-CCzOhppU.js"), "/widgets/PopUp.vue": () => import("./PopUp-1d2bBFjw.js"), "/widgets/WidgetsContainer.vue": () => import("./WidgetsContainer-CmYjvGm7.js") }),
11506
11506
  .../* @__PURE__ */ Object.assign({})
11507
11507
  };
11508
11508
  for (const t in e) {
@@ -11572,13 +11572,13 @@ const BO = (e = "", t = ea.stacEndpoint) => {
11572
11572
  break;
11573
11573
  case "web-component":
11574
11574
  t.component = /* @__PURE__ */ Tr({
11575
- loader: () => import("./DynamicWebComponent-m1Zbbw6n.js"),
11575
+ loader: () => import("./DynamicWebComponent-CPsMSBHi.js"),
11576
11576
  suspensible: !0
11577
11577
  }), t.props = We(e.widget);
11578
11578
  break;
11579
11579
  case "iframe":
11580
11580
  t.component = /* @__PURE__ */ Tr({
11581
- loader: () => import("./IframeWrapper-CAe6HPqe.js"),
11581
+ loader: () => import("./IframeWrapper-1GEMHlsW.js"),
11582
11582
  suspensible: !0
11583
11583
  }), t.props = We(e.widget);
11584
11584
  break;
@@ -13308,10 +13308,10 @@ const X$ = Ne({
13308
13308
  )), await t, n();
13309
13309
  const { loadSTAC: i } = za();
13310
13310
  [t, n] = fl(() => i()), await t, n();
13311
- const { smAndDown: a } = $O(), l = a.value ? /* @__PURE__ */ Tr(() => import("./MobileLayout-DcZOQX8r.js")) : /* @__PURE__ */ Tr(() => import("./DashboardLayout-CKOExc7r.js")), u = /* @__PURE__ */ Tr(
13312
- () => import("./Header-BcM-pZFi.js")
13311
+ const { smAndDown: a } = $O(), l = a.value ? /* @__PURE__ */ Tr(() => import("./MobileLayout-mGkOYRhu.js")) : /* @__PURE__ */ Tr(() => import("./DashboardLayout-D0ZF6V2S.js")), u = /* @__PURE__ */ Tr(
13312
+ () => import("./Header-DLhebNvG.js")
13313
13313
  ), c = /* @__PURE__ */ Tr(
13314
- () => import("./Footer-CIwjaddz.js")
13314
+ () => import("./Footer-BPAND0yG.js")
13315
13315
  ), { mainRect: f } = VO(), d = o.brand.noLayout ? r.onTemplateMount ? "100%" : "90dvh" : `calc(100dvh - ${f.value.top + f.value.bottom}px)`, p = ue(null), h = ue(null), m = [p, h];
13316
13316
  on(() => {
13317
13317
  r.onTemplateMount && !o.brand.noLayout && m.forEach((y) => {
@@ -1,4 +1,4 @@
1
- import { K as e } from "./EodashMap-61UMC8sv.js";
1
+ import { K as e } from "./EodashMap-CkKoQlmR.js";
2
2
  var t = Worker;
3
3
  const i = /* @__PURE__ */ e(t);
4
4
  function I() {
@@ -1,4 +1,4 @@
1
- import { bz as a, bA as e, bB as o } from "./asWebComponent-zuKR9I1w.js";
1
+ import { bz as a, bA as e, bB as o } from "./asWebComponent-B91uK0U7.js";
2
2
  export {
3
3
  a as Eodash,
4
4
  e as register,
@@ -1,5 +1,5 @@
1
1
  import { c as X, g as Te } from "./_commonjsHelpers-DaMA6jEr.js";
2
- import { aK as Ce } from "./asWebComponent-zuKR9I1w.js";
2
+ import { aK as Ce } from "./asWebComponent-B91uK0U7.js";
3
3
  var Ae = { exports: {} }, ee = { exports: {} };
4
4
  /*! https://mths.be/punycode v1.4.0 by @mathias */
5
5
  ee.exports;
@@ -1,4 +1,4 @@
1
- import { p as v, s as w, c as x, w as R, b9 as b } from "./asWebComponent-zuKR9I1w.js";
1
+ import { p as v, s as w, c as x, w as R, b9 as b } from "./asWebComponent-B91uK0U7.js";
2
2
  class d {
3
3
  constructor(r) {
4
4
  let {
@@ -1,4 +1,4 @@
1
- import { g as c, bb as g, ab as p, ay as h, p as b, bc as S } from "./asWebComponent-zuKR9I1w.js";
1
+ import { g as c, bb as g, ab as p, ay as h, p as b, bc as S } from "./asWebComponent-B91uK0U7.js";
2
2
  const _ = b({
3
3
  disabled: Boolean,
4
4
  group: Boolean,
@@ -1,5 +1,5 @@
1
1
  import { b as tA } from "./pako.esm-CB1uQYY0-DB0PYm1P.js";
2
- import { z as sA, B as gA, K as rA } from "./EodashMap-61UMC8sv.js";
2
+ import { z as sA, B as gA, K as rA } from "./EodashMap-CkKoQlmR.js";
3
3
  import { g as DA } from "./basedecoder-DHcBySSe-BmCFNFnw.js";
4
4
  var iA = { exports: {} };
5
5
  (function(W) {
@@ -1,4 +1,4 @@
1
- import { s, Z as t, c as e, as as n } from "./asWebComponent-zuKR9I1w.js";
1
+ import { s, Z as t, c as e, as as n } from "./asWebComponent-B91uK0U7.js";
2
2
  function i() {
3
3
  const o = s(!1);
4
4
  return t(() => {
@@ -1,4 +1,4 @@
1
- import { p as f, ay as m, d, bb as l, ab as u } from "./asWebComponent-zuKR9I1w.js";
1
+ import { p as f, ay as m, d, bb as l, ab as u } from "./asWebComponent-B91uK0U7.js";
2
2
  const j = f({
3
3
  transition: {
4
4
  type: [Boolean, String, Object],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eodash/eodash",
3
- "version": "5.0.0-alpha.2.8",
3
+ "version": "5.0.0-alpha.2.9",
4
4
  "type": "module",
5
5
  "types": "./core/client/types.d.ts",
6
6
  "files": [
@@ -1,45 +1,73 @@
1
1
  <template>
2
- <DynamicWebComponent
3
- :link="link"
4
- tag-name="eox-itemfilter"
5
- :properties="properties"
6
- :on-mounted="onMounted"
7
- />
2
+ <eox-itemfilter class="fill-height" :config="config" ref="eoxItemFilter">
3
+ <h4 slot="filterstitle" style="margin: 14px 8px">{{ filtersTitle }}</h4>
4
+
5
+ <h4 slot="resultstitle" style="margin: 14px 8px">{{ resultsTitle }}</h4>
6
+ </eox-itemfilter>
8
7
  </template>
9
8
  <script setup>
10
- import DynamicWebComponent from "@/components/DynamicWebComponent.vue";
9
+ import { useSTAcStore } from "@/store/stac";
10
+ import "@eox/itemfilter";
11
+ import { onMounted, ref } from "vue";
11
12
 
12
- const link = () => import("@eox/itemfilter");
13
+ const props = defineProps({
14
+ filtersTitle: {
15
+ type: String,
16
+ default: "Indicators",
17
+ },
18
+ resultsTitle: {
19
+ type: String,
20
+ default: "",
21
+ },
22
+ titleProperty: {
23
+ type: String,
24
+ default: "title",
25
+ },
13
26
 
14
- const properties = {
15
- config: {
16
- titleProperty: "title",
17
- filterProperties: [
27
+ aggregateResults: {
28
+ type: String,
29
+ default: "themes",
30
+ },
31
+ enableHighlighting: { type: Boolean, default: true },
32
+ expandMultipleFilters: { type: Boolean, default: false },
33
+ expandMultipleResults: { type: Boolean, default: false },
34
+ filterProperties: {
35
+ /** @type {import("vue").PropType<{
36
+ * keys:string[];
37
+ * title:string;
38
+ * type:string;
39
+ * expanded?:boolean
40
+ * }[]> }*/
41
+ type: Array,
42
+ default: () => [
18
43
  {
19
- keys: ["title", "themes"],
44
+ keys: ["title", "themes", "description"],
20
45
  title: "Search",
21
46
  type: "text",
22
- // expanded: true,
23
47
  },
24
48
  {
25
49
  key: "themes",
26
50
  title: "Theme Filter",
27
51
  type: "multiselect",
28
- // featured: true,
29
- // expanded: true
30
52
  },
31
53
  ],
32
- aggregateResults: "themes",
33
- enableHighlighting: true,
34
- expandMultipleFilters: false,
35
- expandMultipleResults: false,
36
54
  },
55
+ });
56
+
57
+ const config = {
58
+ titleProperty: props.titleProperty,
59
+ filterProperties: props.filterProperties,
60
+ aggregateResults: props.aggregateResults,
61
+ enableHighlighting: props.enableHighlighting,
62
+ expandMultipleFilters: props.expandMultipleFilters,
63
+ expandMultipleResults: props.expandMultipleResults,
37
64
  };
65
+ /** @type {import("vue").Ref<HTMLElement & Record<string,any> | null>} */
66
+ const eoxItemFilter = ref(null);
38
67
 
39
- /** @type {import("@/types").WebComponentProps["onMounted"]} */
40
- const onMounted = (el, store) => {
41
- /** @type {any} */ (el).style.height = "100%";
68
+ const store = useSTAcStore();
42
69
 
70
+ onMounted(() => {
43
71
  const style = document.createElement("style");
44
72
  style.innerHTML = `
45
73
  section {
@@ -51,29 +79,17 @@ const onMounted = (el, store) => {
51
79
  right: 8px;
52
80
  }
53
81
  `;
54
- el?.shadowRoot?.appendChild(style);
82
+ eoxItemFilter.value?.shadowRoot?.appendChild(style);
55
83
 
56
- const filterstitle = document.createElement("div");
57
- filterstitle.setAttribute("slot", "filterstitle");
58
- filterstitle.innerHTML = `<h4 style="margin: 14px 8px">Indicators</h4>`;
59
- /** @type {any} */ (el).appendChild(filterstitle);
60
- const resultstitle = document.createElement("div");
61
- resultstitle.setAttribute("slot", "resultstitle");
62
- /** @type {any} */ (el).appendChild(resultstitle);
63
-
64
- /**
65
- * @typedef {object} Item
66
- * @property {string} href
67
- */
68
- /** @type {any} */ (el).apply(
84
+ eoxItemFilter.value?.apply(
69
85
  // Only list child elements in list
70
86
  store.stac?.filter((item) => item.rel === "child"),
71
87
  );
72
- /** @type {any} */ (el).config.onSelect =
73
- /** @param {Item} item */
88
+ /** @type {any} */ (eoxItemFilter.value).config.onSelect =
89
+ /** @param {import('stac-ts').StacLink} item */
74
90
  async (item) => {
75
- console.log(item);
76
91
  await store.loadSelectedSTAC(item.href);
92
+ console.log(item, store.selectedStac);
77
93
  };
78
- };
94
+ });
79
95
  </script>
@@ -1,63 +0,0 @@
1
- import { $ as p, a0 as c } from "./asWebComponent-zuKR9I1w.js";
2
- import m from "./DynamicWebComponent-m1Zbbw6n.js";
3
- const f = {
4
- __name: "EodashItemFilter",
5
- setup(d) {
6
- const r = () => import("./eox-itemfilter-TaBxgqq_.js"), o = {
7
- config: {
8
- titleProperty: "title",
9
- filterProperties: [
10
- {
11
- keys: ["title", "themes"],
12
- title: "Search",
13
- type: "text"
14
- // expanded: true,
15
- },
16
- {
17
- key: "themes",
18
- title: "Theme Filter",
19
- type: "multiselect"
20
- // featured: true,
21
- // expanded: true
22
- }
23
- ],
24
- aggregateResults: "themes",
25
- enableHighlighting: !0,
26
- expandMultipleFilters: !1,
27
- expandMultipleResults: !1
28
- }
29
- }, a = (t, i) => {
30
- t.style.height = "100%";
31
- const s = document.createElement("style");
32
- s.innerHTML = `
33
- section {
34
- margin: 0 !important;
35
- }
36
- section button#filter-reset {
37
- padding: 0 8px;
38
- top: 8px;
39
- right: 8px;
40
- }
41
- `, t?.shadowRoot?.appendChild(s);
42
- const l = document.createElement("div");
43
- l.setAttribute("slot", "filterstitle"), l.innerHTML = '<h4 style="margin: 14px 8px">Indicators</h4>', t.appendChild(l);
44
- const n = document.createElement("div");
45
- n.setAttribute("slot", "resultstitle"), t.appendChild(n), t.apply(
46
- // Only list child elements in list
47
- i.stac?.filter((e) => e.rel === "child")
48
- ), t.config.onSelect = /** @param {Item} item */
49
- async (e) => {
50
- console.log(e), await i.loadSelectedSTAC(e.href);
51
- };
52
- };
53
- return (t, i) => (p(), c(m, {
54
- link: r,
55
- "tag-name": "eox-itemfilter",
56
- properties: o,
57
- "on-mounted": a
58
- }));
59
- }
60
- };
61
- export {
62
- f as default
63
- };