@eodash/eodash 5.0.0-alpha.2.3 → 5.0.0-alpha.2.5
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 +14 -5
- package/core/{SuspensedDashboard.ce.vue → client/SuspensedDashboard.ce.vue} +30 -16
- package/core/client/components/DashboardLayout.vue +59 -0
- package/core/{components → client/components}/ErrorAlert.vue +6 -1
- package/core/{components → client/components}/Footer.vue +6 -1
- package/core/{components → client/components}/Header.vue +6 -1
- package/core/{components → client/components}/IframeWrapper.vue +1 -1
- package/core/{components → client/components}/MobileLayout.vue +41 -10
- package/core/{composables → client/composables}/DefineEodash.js +2 -1
- package/core/{composables → client/composables}/DefineWidgets.js +14 -8
- package/core/{composables → client/composables}/index.js +18 -119
- package/core/{eodash.js → client/eodash.js} +38 -36
- package/core/{plugins → client/plugins}/index.js +3 -0
- package/core/{plugins → client/plugins}/vuetify.js +1 -1
- package/core/{types.d.ts → client/types.d.ts} +42 -85
- package/core/{utils → client/utils}/eodashSTAC.js +29 -25
- package/core/client/utils/index.js +32 -0
- package/core/{views → client/views}/Dashboard.vue +39 -10
- package/dist/client/DashboardLayout-BYROtP-7.js +156 -0
- package/dist/{DynamicWebComponent-CgDh2csQ.js → client/DynamicWebComponent-BQhxFPM0.js} +6 -6
- package/dist/client/EodashDatePicker-CFltnt5d.js +1194 -0
- package/dist/client/EodashItemFilter-DIBDAHcc.js +65 -0
- package/dist/{EodashMap-CyR-Ldpk.js → client/EodashMap-C6jJ2Lb_.js} +14337 -15676
- package/dist/client/Footer-BVIZms1S.js +115 -0
- package/dist/client/Header-TsTL1d2R.js +633 -0
- package/dist/{IframeWrapper-Csep3rMg.js → client/IframeWrapper-XKChM78a.js} +4 -4
- package/dist/client/MobileLayout-BlGcMQra.js +957 -0
- package/dist/{VMain-COrg6UtF.js → client/VMain-C9XV5Lyg.js} +8 -8
- package/dist/{WidgetsContainer-XA6_dKOm.js → client/WidgetsContainer-BQXHnZpa.js} +8 -8
- package/dist/client/asWebComponent-CbdGxelK.js +20188 -0
- package/dist/{decoder-kAoyGIq9-DjQanfeo.js → client/decoder-HRvnjnEI-CHAYOWhz.js} +1 -1
- package/dist/client/eo-dash.js +6 -0
- package/dist/{eox-map-BJ9SIixs.js → client/eox-map-C3DL31fp.js} +1882 -1809
- package/dist/client/eox-stacinfo-l7ALSV90.js +13969 -0
- package/dist/client/forwardRefs-CyCJOFsz.js +192 -0
- package/dist/client/http-ZWiLaAeR.js +1337 -0
- package/dist/{index-Cskxla5D.js → client/index-CabQjjQg.js} +43 -74
- package/dist/{lerc-C9VL9kri-O4muG-MO.js → client/lerc-_E46UbWQ-TxBH4OeK.js} +1 -1
- package/dist/{ssrBoot-DCCAW5xY.js → client/ssrBoot-DWJ-z4I-.js} +3 -3
- package/dist/{style.css → client/style.css} +2 -2
- package/dist/client/transition-BlLt41wg.js +34 -0
- package/dist/node/cli.js +20 -0
- package/dist/node/main.js +2 -0
- package/{bin → dist/node}/types.d.ts +2 -2
- package/package.json +22 -21
- package/widgets/EodashDatePicker.vue +89 -36
- package/widgets/EodashItemFilter.vue +30 -14
- package/bin/app.js +0 -22
- package/bin/cli.js +0 -62
- package/bin/main.js +0 -9
- package/bin/serverConfig.js +0 -165
- package/bin/utils.js +0 -103
- package/core/components/DashboardLayout.vue +0 -36
- package/core/utils/index.js +0 -28
- package/dist/DashboardLayout-lzEvtalW.js +0 -148
- package/dist/EodashDatePicker-bIyNUYaG.js +0 -1653
- package/dist/EodashItemFilter-CpgyrJRX.js +0 -51
- package/dist/Footer-C2sIHSym.js +0 -118
- package/dist/Header-DFz2BUnp.js +0 -605
- package/dist/MobileLayout-CXNJL_q6.js +0 -984
- package/dist/asWebComponent-fqvymeM-.js +0 -13092
- package/dist/eo-dash.js +0 -6
- package/dist/eox-stacinfo-B-YrT7Ug.js +0 -13698
- package/dist/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/index-Zv5eTiB6.js +0 -34
- /package/core/{App.vue → client/App.vue} +0 -0
- /package/core/{asWebComponent.d.ts → client/asWebComponent.d.ts} +0 -0
- /package/core/{asWebComponent.js → client/asWebComponent.js} +0 -0
- /package/core/{components → client/components}/DynamicWebComponent.vue +0 -0
- /package/core/{components → client/components}/Loading.vue +0 -0
- /package/core/{main.js → client/main.js} +0 -0
- /package/core/{render.js → client/render.js} +0 -0
- /package/core/{store → client/store}/Actions.js +0 -0
- /package/core/{store → client/store}/States.js +0 -0
- /package/core/{store → client/store}/index.js +0 -0
- /package/core/{store → client/store}/stac.js +0 -0
- /package/core/{utils → client/utils}/helpers.js +0 -0
- /package/core/{utils → client/utils}/keys.js +0 -0
- /package/core/{vite-env.d.ts → client/vite-env.d.ts} +0 -0
- /package/dist/{.gitkeep → client/.gitkeep} +0 -0
- /package/dist/{_commonjsHelpers-DaMA6jEr.js → client/_commonjsHelpers-DaMA6jEr.js} +0 -0
- /package/dist/{basedecoder-Qm25PwVp-CHo5Pomv.js → client/basedecoder-Qm25PwVp-CHo5Pomv.js} +0 -0
- /package/dist/{deflate-Be2Arps5-hDqMz3RA.js → client/deflate-Be2Arps5-hDqMz3RA.js} +0 -0
- /package/dist/{eox-itemfilter-DcQkRD2l.js → client/eox-itemfilter-DcQkRD2l.js} +0 -0
- /package/dist/{jpeg-DNfUpLwy-Fjan-04T.js → client/jpeg-DNfUpLwy-Fjan-04T.js} +0 -0
- /package/dist/{lzw-BOMhmEDy-Dboc93VO.js → client/lzw-BOMhmEDy-Dboc93VO.js} +0 -0
- /package/dist/{packbits-DaUD6MLm-Bu1PoTGa.js → client/packbits-DaUD6MLm-Bu1PoTGa.js} +0 -0
- /package/dist/{pako.esm-C3kYPGGQ-BMki8cQY.js → client/pako.esm-C3kYPGGQ-BMki8cQY.js} +0 -0
- /package/dist/{raw-CcGKjn8q-DFOt-i8n.js → client/raw-CcGKjn8q-DFOt-i8n.js} +0 -0
- /package/dist/{webfontloader-CyOFAuFB.js → client/webfontloader-CyOFAuFB.js} +0 -0
- /package/dist/{webimage-D2c098k3-DLj1LQxB.js → client/webimage-D2c098k3-DLj1LQxB.js} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { $ as p, a0 as c } from "./asWebComponent-CbdGxelK.js";
|
|
2
|
+
import m from "./DynamicWebComponent-BQhxFPM0.js";
|
|
3
|
+
const f = {
|
|
4
|
+
__name: "EodashItemFilter",
|
|
5
|
+
setup(d) {
|
|
6
|
+
const r = () => import("./eox-itemfilter-DcQkRD2l.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 = /**
|
|
49
|
+
* @param {Item} item
|
|
50
|
+
* */
|
|
51
|
+
async (e) => {
|
|
52
|
+
console.log(e), await i.loadSelectedSTAC(e.href);
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
return (t, i) => (p(), c(m, {
|
|
56
|
+
link: r,
|
|
57
|
+
"tag-name": "eox-itemfilter",
|
|
58
|
+
properties: o,
|
|
59
|
+
"on-mounted": a
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
f as default
|
|
65
|
+
};
|