@eodash/eodash 5.0.0-alpha.1.9 → 5.0.0-alpha.2
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 +1 -1
- package/bin/cli.js +15 -8
- package/bin/main.js +9 -0
- package/bin/serverConfig.js +58 -29
- package/bin/types.d.ts +52 -0
- package/bin/utils.js +70 -20
- package/core/App.vue +10 -12
- package/core/SuspensedDashboard.ce.vue +59 -0
- package/core/asWebComponent.d.ts +18 -0
- package/core/asWebComponent.js +12 -0
- package/core/components/DashboardLayout.vue +23 -27
- package/core/components/DynamicWebComponent.vue +6 -6
- package/core/components/Footer.vue +11 -12
- package/core/components/Header.vue +5 -29
- package/core/components/Loading.vue +27 -0
- package/core/components/MobileLayout.vue +34 -63
- package/core/composables/DefineEodash.js +57 -0
- package/core/composables/DefineWidgets.js +26 -15
- package/core/composables/index.js +139 -67
- package/core/eodash.js +100 -0
- package/core/main.js +2 -4
- package/core/plugins/index.js +3 -12
- package/core/plugins/vuetify.js +5 -2
- package/core/store/Actions.js +0 -28
- package/core/store/States.js +12 -3
- package/core/store/stac.js +7 -5
- package/core/types.d.ts +148 -124
- package/core/utils/eodashSTAC.js +164 -0
- package/core/utils/helpers.js +40 -0
- package/core/utils/index.js +28 -0
- package/core/utils/keys.js +6 -0
- package/core/views/Dashboard.vue +33 -23
- package/core/vite-env.d.ts +16 -2
- package/dist/.gitkeep +0 -0
- package/dist/DashboardLayout-YLfAa8wH.js +168 -0
- package/dist/DynamicWebComponent-BDOQsEcj.js +57 -0
- package/dist/EodashDatePicker-DlehqSgz.js +1645 -0
- package/dist/EodashItemFilter-TSp7XRGy.js +51 -0
- package/dist/EodashMap-DInb9cfS.js +53405 -0
- package/dist/Footer-CIzHgJbK.js +118 -0
- package/dist/Header-C5PSB8Uc.js +609 -0
- package/dist/IframeWrapper-DYHQQRUh.js +19 -0
- package/dist/MobileLayout-DZmqrpub.js +523 -0
- package/dist/VBtn-CFPhsIX8.js +1106 -0
- package/dist/VMain-deI9jyIf.js +35 -0
- package/dist/WidgetsContainer-D_PLP1qf.js +122 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/asWebComponent-BKe6Spni.js +11323 -0
- package/dist/basedecoder-Qm25PwVp-CHo5Pomv.js +89 -0
- package/dist/color-D72nEBIR.js +115 -0
- package/dist/decoder-kAoyGIq9-HAkjSTCt.js +10 -0
- package/dist/deflate-Be2Arps5-hDqMz3RA.js +10 -0
- package/dist/dimensions-BZkmIizV.js +53 -0
- package/dist/eo-dash.js +6 -0
- package/dist/eox-itemfilter-DcQkRD2l.js +7537 -0
- package/dist/eox-map-BJ9SIixs.js +36205 -0
- package/dist/eox-stacinfo-B-YrT7Ug.js +13698 -0
- package/dist/forwardRefs-Bxeu9Obx.js +142 -0
- package/dist/index-8ch8xKfa.js +152 -0
- package/dist/index-DIt8GjSR.js +65 -0
- package/dist/jpeg-DNfUpLwy-Fjan-04T.js +515 -0
- package/dist/lerc-C9VL9kri-DyVxBvsf.js +1029 -0
- package/dist/lzw-BOMhmEDy-Dboc93VO.js +84 -0
- package/dist/packbits-DaUD6MLm-Bu1PoTGa.js +24 -0
- package/dist/pako.esm-C3kYPGGQ-BMki8cQY.js +1087 -0
- package/dist/raw-CcGKjn8q-DFOt-i8n.js +9 -0
- package/dist/ssrBoot-Cm5pWM14.js +17 -0
- package/dist/style.css +5 -0
- package/dist/webfontloader-CyOFAuFB.js +471 -0
- package/dist/webimage-D2c098k3-DLj1LQxB.js +19 -0
- package/package.json +40 -12
- package/widgets/EodashDatePicker.vue +56 -0
- package/widgets/EodashItemFilter.vue +60 -0
- package/widgets/EodashMap.vue +82 -0
- package/widgets/WidgetsContainer.vue +1 -1
- package/core/composables/DefineConfig.js +0 -45
- package/core/eodashConfig.js +0 -136
- package/core/plugins/router.js +0 -20
- package/core/store/Keys.js +0 -6
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { D as n, E as s, aI as a } from "./asWebComponent-BKe6Spni.js";
|
|
2
|
+
import p from "./DynamicWebComponent-BDOQsEcj.js";
|
|
3
|
+
const u = {
|
|
4
|
+
__name: "EodashItemFilter",
|
|
5
|
+
setup(m) {
|
|
6
|
+
const l = () => 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: !0
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
key: "themes",
|
|
18
|
+
title: "Theme",
|
|
19
|
+
type: "multiselect",
|
|
20
|
+
featured: !0
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
aggregateResults: "themes",
|
|
24
|
+
enableHighlighting: !0
|
|
25
|
+
}
|
|
26
|
+
}, r = (i, t) => {
|
|
27
|
+
if (i.apply(
|
|
28
|
+
// Only list child elements in list
|
|
29
|
+
t.stac?.filter((e) => e.rel === "child")
|
|
30
|
+
), a && a.value !== "") {
|
|
31
|
+
const e = t.stac?.find((c) => c.id === a.value);
|
|
32
|
+
e && (i.selectedResult = e, t.loadSelectedSTAC(e.href));
|
|
33
|
+
}
|
|
34
|
+
i.config.onSelect = /**
|
|
35
|
+
* @param {Item} item
|
|
36
|
+
* */
|
|
37
|
+
async (e) => {
|
|
38
|
+
console.log(e), await t.loadSelectedSTAC(e.href);
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
return (i, t) => (n(), s(p, {
|
|
42
|
+
link: l,
|
|
43
|
+
"tag-name": "eox-itemfilter",
|
|
44
|
+
properties: o,
|
|
45
|
+
"on-mounted": r
|
|
46
|
+
}));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
u as default
|
|
51
|
+
};
|