@eodash/eodash 5.0.0-alpha.2.4 → 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 +12 -2
- package/core/client/SuspensedDashboard.ce.vue +1 -5
- package/core/client/components/DashboardLayout.vue +37 -14
- package/core/client/components/ErrorAlert.vue +6 -1
- package/core/client/components/Footer.vue +6 -1
- package/core/client/components/Header.vue +6 -1
- package/core/client/components/IframeWrapper.vue +1 -1
- package/core/client/components/MobileLayout.vue +41 -10
- package/core/client/composables/DefineEodash.js +2 -1
- package/core/client/composables/DefineWidgets.js +14 -8
- package/core/client/composables/index.js +18 -119
- package/core/client/eodash.js +38 -36
- package/core/client/plugins/index.js +3 -0
- package/core/client/types.d.ts +40 -83
- package/core/client/utils/eodashSTAC.js +29 -25
- package/core/client/utils/index.js +15 -11
- package/core/client/views/Dashboard.vue +22 -11
- package/dist/client/DashboardLayout-BYROtP-7.js +156 -0
- package/dist/client/{DynamicWebComponent-C4Hotc4H.js → DynamicWebComponent-BQhxFPM0.js} +6 -6
- package/dist/client/EodashDatePicker-CFltnt5d.js +1194 -0
- package/dist/client/EodashItemFilter-DIBDAHcc.js +65 -0
- package/dist/client/{EodashMap-CGrQjZ1P.js → EodashMap-C6jJ2Lb_.js} +14323 -15656
- package/dist/client/Footer-BVIZms1S.js +115 -0
- package/dist/client/Header-TsTL1d2R.js +633 -0
- package/dist/client/{IframeWrapper-Cg3GMmfW.js → IframeWrapper-XKChM78a.js} +4 -4
- package/dist/client/MobileLayout-BlGcMQra.js +957 -0
- package/dist/client/{VMain-BHYlmRic.js → VMain-C9XV5Lyg.js} +8 -8
- package/dist/client/{WidgetsContainer-dje9QSk0.js → WidgetsContainer-BQXHnZpa.js} +3 -3
- package/dist/client/asWebComponent-CbdGxelK.js +20188 -0
- package/dist/client/{decoder-HRvnjnEI-BQ2rajuJ.js → decoder-HRvnjnEI-CHAYOWhz.js} +1 -1
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/forwardRefs-CyCJOFsz.js +192 -0
- package/dist/client/http-ZWiLaAeR.js +1337 -0
- package/dist/client/{index-CaDDfJYE.js → index-CabQjjQg.js} +43 -74
- package/dist/client/{lerc-_E46UbWQ-Beu35ovS.js → lerc-_E46UbWQ-TxBH4OeK.js} +1 -1
- package/dist/client/{ssrBoot-Dd7m-btU.js → ssrBoot-DWJ-z4I-.js} +3 -3
- package/dist/client/style.css +2 -2
- package/dist/client/transition-BlLt41wg.js +34 -0
- package/dist/node/cli.js +3 -3
- package/package.json +3 -4
- package/widgets/EodashDatePicker.vue +89 -36
- package/widgets/EodashItemFilter.vue +29 -13
- 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/forwardRefs-Bxeu9Obx.js +0 -142
- package/dist/client/index-DlNICb3T.js +0 -34
|
@@ -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
|
+
};
|