@eodash/eodash 5.0.0-alpha.2.4 → 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.
- package/README.md +31 -7
- package/core/client/App.vue +6 -7
- package/core/client/SuspensedDashboard.ce.vue +59 -45
- package/core/client/asWebComponent.d.ts +10 -5
- package/core/client/asWebComponent.js +6 -6
- package/core/client/components/DashboardLayout.vue +63 -21
- package/core/client/components/DynamicWebComponent.vue +44 -44
- package/core/client/components/ErrorAlert.vue +24 -7
- package/core/client/components/Footer.vue +34 -15
- package/core/client/components/Header.vue +10 -5
- package/core/client/components/IframeWrapper.vue +4 -4
- package/core/client/components/Loading.vue +17 -18
- package/core/client/components/MobileLayout.vue +82 -29
- package/core/client/composables/DefineEodash.js +38 -28
- package/core/client/composables/DefineWidgets.js +105 -79
- package/core/client/composables/index.js +43 -141
- package/core/client/eodash.js +46 -39
- package/core/client/main.js +2 -2
- package/core/client/plugins/index.js +11 -9
- package/core/client/plugins/vuetify.js +9 -10
- package/core/client/render.js +4 -5
- package/core/client/store/States.js +8 -13
- package/core/client/store/index.js +14 -11
- package/core/client/store/stac.js +51 -37
- package/core/client/types.d.ts +173 -248
- package/core/client/utils/eodashSTAC.js +151 -66
- package/core/client/utils/helpers.js +18 -20
- package/core/client/utils/index.js +25 -14
- package/core/client/utils/keys.js +2 -2
- package/core/client/views/Dashboard.vue +70 -42
- package/core/client/vite-env.d.ts +19 -17
- package/dist/client/DashboardLayout-BuDcv6LM.js +156 -0
- package/dist/client/{DynamicWebComponent-C4Hotc4H.js → DynamicWebComponent-BEP4rVce.js} +7 -7
- package/dist/client/EodashDatePicker-oFb1zt5E.js +1211 -0
- package/dist/client/EodashItemFilter-BElmgrST.js +63 -0
- package/dist/client/{EodashMap-CGrQjZ1P.js → EodashMap-DXyOgcEd.js} +11333 -14025
- package/dist/client/Footer-CoPx6UXQ.js +115 -0
- package/dist/client/Header-C-zX31Ys.js +635 -0
- package/dist/client/{IframeWrapper-Cg3GMmfW.js → IframeWrapper-2w2ye0zM.js} +4 -4
- package/dist/client/MobileLayout-C9OVcP12.js +945 -0
- package/dist/client/{VMain-BHYlmRic.js → VMain-Dm43jd43.js} +8 -8
- package/dist/client/{WidgetsContainer-dje9QSk0.js → WidgetsContainer-BS87sLqk.js} +12 -5
- package/dist/client/asWebComponent-CpQUVi2N.js +20135 -0
- package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
- package/dist/client/{decoder-HRvnjnEI-BQ2rajuJ.js → decoder-CP4lv0Kb-BHrv68IA.js} +1 -1
- package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
- package/dist/client/eo-dash.js +3 -3
- package/dist/client/eodashSTAC-Q7kbX1Gy.js +2788 -0
- package/dist/client/{eox-itemfilter-DcQkRD2l.js → eox-itemfilter-TaBxgqq_.js} +1002 -974
- package/dist/client/{eox-map-C3DL31fp.js → eox-map-L7abwKTR.js} +5677 -5695
- package/dist/client/forwardRefs-BVFQ82G4.js +183 -0
- package/dist/client/{index-CaDDfJYE.js → index-dOzyv_xR.js} +43 -74
- package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
- package/dist/client/{lerc-_E46UbWQ-Beu35ovS.js → lerc-DzVumYtB-rm1Xco54.js} +5 -7
- package/dist/client/{lzw-BOMhmEDy-Dboc93VO.js → lzw-LAGDNbSC-DkP96qO9.js} +1 -1
- package/dist/client/{packbits-DaUD6MLm-Bu1PoTGa.js → packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
- package/dist/client/{pako.esm-C3kYPGGQ-BMki8cQY.js → pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
- package/dist/client/{raw-CcGKjn8q-DFOt-i8n.js → raw-CMGvRjfu-BRi6E4i1.js} +1 -1
- package/dist/client/{ssrBoot-Dd7m-btU.js → ssrBoot-L9KejErM.js} +3 -3
- package/dist/client/style.css +2 -2
- package/dist/client/transition-DCePIwYR.js +34 -0
- package/dist/client/{webfontloader-CyOFAuFB.js → webfontloader-qotgY98I.js} +56 -92
- package/dist/client/{webimage-D2c098k3-DLj1LQxB.js → webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
- package/dist/node/cli.js +3 -3
- package/dist/node/types.d.ts +32 -38
- package/package.json +13 -14
- package/widgets/EodashDatePicker.vue +145 -41
- package/widgets/EodashItemFilter.vue +41 -22
- package/widgets/EodashMap.vue +87 -20
- package/widgets/WidgetsContainer.vue +45 -27
- package/dist/client/DashboardLayout-ZaSRMD1M.js +0 -149
- package/dist/client/EodashDatePicker-C4kKjxKy.js +0 -1653
- package/dist/client/EodashItemFilter-cBHC0YEM.js +0 -51
- package/dist/client/Footer-pS636dEP.js +0 -118
- package/dist/client/Header-DQuaLdjl.js +0 -605
- package/dist/client/MobileLayout-BLXFBWI_.js +0 -987
- package/dist/client/asWebComponent-Bvb3xkxI.js +0 -13311
- package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
- package/dist/client/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/client/index-DlNICb3T.js +0 -34
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { $ as p, a0 as c } from "./asWebComponent-CpQUVi2N.js";
|
|
2
|
+
import m from "./DynamicWebComponent-BEP4rVce.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
|
+
};
|