@eodash/eodash 5.6.1 → 5.7.1
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/core/client/components/DashboardLayout.vue +1 -1
- package/core/client/components/EodashOverlay.vue +27 -4
- package/core/client/composables/DefineEodash.js +0 -1
- package/core/client/composables/DefineWidgets.js +3 -1
- package/core/client/composables/index.js +6 -2
- package/core/client/eodashSTAC/EodashCollection.js +79 -45
- package/core/client/eodashSTAC/cql.js +64 -0
- package/core/client/eodashSTAC/createLayers.js +192 -125
- package/core/client/eodashSTAC/helpers.js +423 -97
- package/core/client/eodashSTAC/mosaic.js +416 -0
- package/core/client/plugins/axios.js +31 -1
- package/core/client/store/actions.js +1 -1
- package/core/client/store/stac.js +25 -4
- package/core/client/store/states.js +20 -2
- package/core/client/types.ts +155 -29
- package/core/client/utils/bands-editor/exampleSchema.json +50 -50
- package/core/client/utils/index.js +4 -0
- package/core/client/utils/states.js +10 -0
- package/dist/client/{DashboardLayout-CqMb7OXc.js → DashboardLayout-ePbdvUTE.js} +5 -5
- package/dist/client/{DynamicWebComponent-DqKqTf7l.js → DynamicWebComponent-g5SdRbjY.js} +1 -1
- package/dist/client/{EodashChart-PkUQfH0k.js → EodashChart-ChrkA5oS.js} +7 -6
- package/dist/client/{EodashDatePicker-DLJGdTtX.js → EodashDatePicker-CY1TrsDo.js} +3 -3
- package/dist/client/{EodashItemFilter-Dk8KjFcX.js → EodashItemFilter-DzshHDlS.js} +2 -1
- package/dist/client/{EodashLayerControl-CC1Cogrn.js → EodashLayerControl-DMCeMkSd.js} +70 -22
- package/dist/client/{EodashLayoutSwitcher-5WZYd6rr.js → EodashLayoutSwitcher-iJ8mX1rF.js} +3 -3
- package/dist/client/EodashMapBtns-C7Cr7q5Y.js +592 -0
- package/dist/client/EodashStacInfo-K7-iuXa7.js +169 -0
- package/dist/client/{EodashTools-CGZtTh45.js → EodashTools-BEK7e7JM.js} +4 -4
- package/dist/client/{ExportState-Ce0ZnrX_.js → ExportState-CqIzfMYQ.js} +6 -168
- package/dist/client/{Footer-CnZqEiop.js → Footer-1P0cmBOZ.js} +1 -1
- package/dist/client/{Header-Dr5PBIm8.js → Header-CkkBaBNh.js} +2 -2
- package/dist/client/MobileLayout-BPf49kDU.js +118 -0
- package/dist/client/{PopUp-DjvE_71e.js → PopUp-DPZq5SWI.js} +4 -168
- package/dist/client/{ProcessList-kf3olI7W.js → ProcessList-DuI6WpS1.js} +5 -5
- package/dist/client/VDivider-Bj9LG_JV.js +168 -0
- package/dist/client/{VImg-Bj6uWt6j.js → VImg-Ddv5OyMz.js} +2 -2
- package/dist/client/{VMain-Cm0UmKGi.js → VMain-7yqk_qC3.js} +1 -1
- package/dist/client/{VTooltip-DbBu-ky3.js → VTooltip-2hAJyEoa.js} +2 -2
- package/dist/client/{WidgetsContainer-CfLnd44U.js → WidgetsContainer-2DOrlwCB.js} +1 -1
- package/dist/client/{asWebComponent-DfULAbpq.js → asWebComponent-BlFN2lkB.js} +493 -335
- package/dist/client/{async-CIbKXEEe.js → async-B2H8ZwUK.js} +21 -10
- package/dist/client/create-layers-config-u_vn5hPk.js +182 -0
- package/dist/client/dialog-transition-BrMkMiNa.js +170 -0
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-yj3VWOK5.js → forwardRefs-DAlror6d.js} +8 -87
- package/dist/client/{handling-s8xt2JwF.js → handling-B6I1V5eG.js} +123 -85
- package/dist/client/{helpers-DAVGYl_f.js → helpers-CBqIUSXJ.js} +3034 -1649
- package/dist/client/index-BWq1ZKaV.js +3168 -0
- package/dist/client/{index-CYz6dT7K.js → index-CJ9UI3ln.js} +2 -2
- package/dist/client/index-DXLz4sFR.js +442 -0
- package/dist/client/{index-4TrjfJ32.js → index-DhKU6KqM.js} +230 -231
- package/dist/client/{index-Bu8BMA9q.js → index-DjQlbWbJ.js} +70 -83
- package/dist/client/material-symbols-outlined.woff2 +0 -0
- package/dist/client/material-symbols-rounded.woff2 +0 -0
- package/dist/client/material-symbols-sharp.woff2 +0 -0
- package/dist/client/material-symbols-subset.woff2 +0 -0
- package/dist/client/mosaic-BFYLEwyx.js +455 -0
- package/dist/client/templates.js +250 -119
- package/dist/client/{transition-DaOsiD4u.js → transition-D_W6Wn9v.js} +1 -1
- package/dist/node/cli.js +5 -5
- package/dist/node/types.d.ts +4 -0
- package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
- package/dist/types/core/client/composables/index.d.ts +1 -3
- package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +62 -31
- package/dist/types/core/client/eodashSTAC/cql.d.ts +15 -0
- package/dist/types/core/client/eodashSTAC/createLayers.d.ts +44 -25
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +78 -18
- package/dist/types/core/client/eodashSTAC/mosaic.d.ts +56 -0
- package/dist/types/core/client/store/stac.d.ts +31 -7
- package/dist/types/core/client/store/states.d.ts +24 -2
- package/dist/types/core/client/types.d.ts +131 -25
- package/dist/types/core/client/utils/states.d.ts +12 -0
- package/dist/types/templates/baseConfig.d.ts +1 -88
- package/dist/types/templates/compare.d.ts +32 -3
- package/dist/types/templates/expert.d.ts +18 -0
- package/dist/types/templates/explore.d.ts +9 -1
- package/dist/types/templates/lite.d.ts +11 -0
- package/dist/types/widgets/EodashChart.vue.d.ts +5 -3
- package/dist/types/widgets/EodashItemCatalog/index.vue.d.ts +129 -2
- package/dist/types/widgets/EodashItemCatalog/methods/filters.d.ts +28 -6
- package/dist/types/widgets/EodashItemCatalog/methods/handlers.d.ts +17 -4
- package/dist/types/widgets/EodashItemCatalog/methods/map.d.ts +16 -4
- package/dist/types/widgets/EodashLayerControl.vue.d.ts +36 -17
- package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +23 -10
- package/dist/types/widgets/EodashMap/index.vue.d.ts +91 -35
- package/dist/types/widgets/EodashMap/methods/create-layers-config.d.ts +1 -8
- package/dist/types/widgets/EodashMap/methods/index.d.ts +5 -1
- package/dist/types/widgets/EodashMap/methods/use-map-loading.d.ts +1 -0
- package/dist/types/widgets/EodashProcess/index.vue.d.ts +5 -3
- package/dist/types/widgets/EodashProcess/methods/composables.d.ts +1 -1
- package/dist/types/widgets/EodashProcess/methods/handling.d.ts +13 -8
- package/dist/types/widgets/EodashProcess/states.d.ts +1 -1
- package/dist/types/widgets/EodashStacInfo.vue.d.ts +20 -0
- package/dist/types/widgets/EodashTimeSlider/index.vue.d.ts +54 -0
- package/dist/types/widgets/EodashTimeSlider/methods/index.d.ts +34 -0
- package/dist/types/widgets/EodashTimeSlider/types.d.ts +52 -0
- package/dist/types/widgets/EodashTools.vue.d.ts +5 -5
- package/package.json +46 -46
- package/templates/baseConfig.js +36 -6
- package/templates/compare.js +62 -7
- package/templates/expert.js +23 -0
- package/templates/explore.js +11 -5
- package/templates/lite.js +14 -0
- package/widgets/EodashChart.vue +1 -0
- package/widgets/EodashItemCatalog/index.vue +363 -35
- package/widgets/EodashItemCatalog/methods/filters.js +134 -70
- package/widgets/EodashItemCatalog/methods/handlers.js +113 -19
- package/widgets/EodashItemCatalog/methods/map.js +142 -28
- package/widgets/EodashLayerControl.vue +64 -14
- package/widgets/EodashMap/EodashMapBtns.vue +153 -47
- package/widgets/EodashMap/index.vue +101 -105
- package/widgets/EodashMap/methods/btns.js +37 -5
- package/widgets/EodashMap/methods/create-layers-config.js +18 -16
- package/widgets/EodashMap/methods/index.js +89 -8
- package/widgets/EodashMap/methods/use-map-loading.js +52 -0
- package/widgets/EodashProcess/index.vue +2 -1
- package/widgets/EodashProcess/methods/async.js +19 -8
- package/widgets/EodashProcess/methods/composables.js +63 -77
- package/widgets/EodashProcess/methods/custom-endpoints/chart/sentinelhub-endpoint.js +9 -5
- package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +7 -4
- package/widgets/EodashProcess/methods/handling.js +105 -72
- package/widgets/EodashProcess/states.js +1 -1
- package/widgets/EodashStacInfo.vue +64 -2
- package/widgets/EodashTimeSlider/index.vue +208 -0
- package/widgets/EodashTimeSlider/methods/index.js +236 -0
- package/widgets/EodashTimeSlider/types.ts +54 -0
- package/dist/client/EodashMapBtns-BHrSDNoC.js +0 -435
- package/dist/client/EodashStacInfo-B90wobPc.js +0 -107
- package/dist/client/EodashTimeSlider-5vm7F3ju.js +0 -53
- package/dist/client/MobileLayout-DyMjaeif.js +0 -118
- package/dist/client/index-CugS__t5.js +0 -570
- package/dist/types/widgets/EodashTimeSlider.vue.d.ts +0 -15
- package/widgets/EodashTimeSlider.vue +0 -40
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { openBlock, createElementBlock, createElementVNode, unref } from 'vue';
|
|
2
|
-
import '@eox/stacinfo';
|
|
3
|
-
import { G as currentUrl } from './helpers-DAVGYl_f.js';
|
|
4
|
-
|
|
5
|
-
const _hoisted_1 = { class: "flex-grow-1" };
|
|
6
|
-
const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".header", ".tags"];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const _sfc_main = {
|
|
10
|
-
__name: 'EodashStacInfo',
|
|
11
|
-
props: {
|
|
12
|
-
allowHtml: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: true,
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
header: {
|
|
18
|
-
/**
|
|
19
|
-
* @type {import("vue").PropType<
|
|
20
|
-
* (string | {
|
|
21
|
-
* key: string,
|
|
22
|
-
* filter?: (item: any) => boolean
|
|
23
|
-
* })[]
|
|
24
|
-
* >}
|
|
25
|
-
*/
|
|
26
|
-
type: Array,
|
|
27
|
-
default: () => ["title"],
|
|
28
|
-
},
|
|
29
|
-
tags: {
|
|
30
|
-
/**
|
|
31
|
-
* @type {import("vue").PropType<
|
|
32
|
-
* (string | {
|
|
33
|
-
* key: string,
|
|
34
|
-
* filter?: (item: any) => boolean
|
|
35
|
-
* })[]
|
|
36
|
-
* >}
|
|
37
|
-
*/
|
|
38
|
-
type: Array,
|
|
39
|
-
default: () => ["themes"],
|
|
40
|
-
},
|
|
41
|
-
body: {
|
|
42
|
-
/**
|
|
43
|
-
* @type {import("vue").PropType<
|
|
44
|
-
* (string | {
|
|
45
|
-
* key: string,
|
|
46
|
-
* filter?: (item: any) => boolean
|
|
47
|
-
* })[]
|
|
48
|
-
* >}
|
|
49
|
-
*/
|
|
50
|
-
type: Array,
|
|
51
|
-
default: () => [
|
|
52
|
-
"satellite",
|
|
53
|
-
"sensor",
|
|
54
|
-
"insituSources",
|
|
55
|
-
"otherSources",
|
|
56
|
-
"agency",
|
|
57
|
-
"extent",
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
featured: {
|
|
61
|
-
/**
|
|
62
|
-
* @type {import("vue").PropType<
|
|
63
|
-
* (string | {
|
|
64
|
-
* key: string,
|
|
65
|
-
* filter?: (item: any) => boolean
|
|
66
|
-
* })[]
|
|
67
|
-
* >}
|
|
68
|
-
*/
|
|
69
|
-
type: Array,
|
|
70
|
-
default: () => ["description", "providers", "assets", "links"],
|
|
71
|
-
},
|
|
72
|
-
footer: {
|
|
73
|
-
/**
|
|
74
|
-
* @type {import("vue").PropType<
|
|
75
|
-
* (string | {
|
|
76
|
-
* key: string,
|
|
77
|
-
* filter?: (item: any) => boolean
|
|
78
|
-
* })[]
|
|
79
|
-
* >}
|
|
80
|
-
*/
|
|
81
|
-
type: Array,
|
|
82
|
-
default: () => ["sci:citation", "sci:doi", "sci:publication"],
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
setup(__props) {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return (_ctx, _cache) => {
|
|
90
|
-
return (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
91
|
-
createElementVNode("eox-stacinfo", {
|
|
92
|
-
".for": unref(currentUrl),
|
|
93
|
-
".allowHtml": __props.allowHtml,
|
|
94
|
-
".body": __props.body,
|
|
95
|
-
".featured": __props.featured,
|
|
96
|
-
".footer": __props.footer,
|
|
97
|
-
".header": __props.header,
|
|
98
|
-
".tags": __props.tags,
|
|
99
|
-
style: {"--color-primary-lighter":"none"}
|
|
100
|
-
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_2)
|
|
101
|
-
]))
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
export { _sfc_main as default };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { computed, openBlock, createElementBlock, unref, createCommentVNode } from 'vue';
|
|
2
|
-
import { i as mapEl, B as datetime } from './helpers-DAVGYl_f.js';
|
|
3
|
-
import { L as eodashCollections } from './asWebComponent-DfULAbpq.js';
|
|
4
|
-
import '@eox/timeslider';
|
|
5
|
-
|
|
6
|
-
const _hoisted_1 = [".filters"];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const _sfc_main = {
|
|
10
|
-
__name: 'EodashTimeSlider',
|
|
11
|
-
props: {
|
|
12
|
-
filters: {
|
|
13
|
-
type: Array,
|
|
14
|
-
default: () => [],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
setup(__props) {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const hasMultipleItems = computed(() => {
|
|
22
|
-
return eodashCollections.some((ec) => {
|
|
23
|
-
const itemLinks = ec.collectionStac?.links.filter((l) => l.rel === "item");
|
|
24
|
-
const itemsLink = ec.collectionStac?.links.some((l) => l.rel === "items");
|
|
25
|
-
return (itemLinks && itemLinks.length > 1) || itemsLink;
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @param {CustomEvent} e
|
|
31
|
-
*/
|
|
32
|
-
const update = (e) => {
|
|
33
|
-
datetime.value = e.detail.date.toISOString();
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
return (_ctx, _cache) => {
|
|
37
|
-
return (hasMultipleItems.value)
|
|
38
|
-
? (openBlock(), createElementBlock("eox-timeslider", {
|
|
39
|
-
key: unref(mapEl),
|
|
40
|
-
onUpdate: update,
|
|
41
|
-
".externalMapRendering": true,
|
|
42
|
-
".filters": __props.filters,
|
|
43
|
-
titleKey: "title",
|
|
44
|
-
layerIdKey: "id",
|
|
45
|
-
for: "eox-map#main"
|
|
46
|
-
}, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_1))
|
|
47
|
-
: createCommentVNode("v-if", true)
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export { _sfc_main as default };
|