@eodash/eodash 5.5.0 → 5.5.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/App.vue +1 -1
- package/core/client/eodashSTAC/EodashCollection.js +9 -10
- package/core/client/eodashSTAC/createLayers.js +1 -1
- package/core/client/eodashSTAC/helpers.js +1 -0
- package/dist/client/{DashboardLayout-CkSgvaFF.js → DashboardLayout-D_590Zle.js} +2 -2
- package/dist/client/{DynamicWebComponent-Ncsg6fb9.js → DynamicWebComponent-67cfzL4o.js} +1 -1
- package/dist/client/{EodashChart-5v7adDpG.js → EodashChart-BsW18Em1.js} +7 -7
- package/dist/client/{EodashDatePicker-RoQJe6ss.js → EodashDatePicker-BwyFIBlK.js} +10 -7
- package/dist/client/{EodashItemFilter-CCoVC5BE.js → EodashItemFilter-CgdrG-pX.js} +1 -1
- package/dist/client/{EodashLayerControl-weVj7aQA.js → EodashLayerControl-V98fahVJ.js} +2 -2
- package/dist/client/{EodashLayoutSwitcher-CL-Z9d5_.js → EodashLayoutSwitcher-B4oI5PAx.js} +3 -3
- package/dist/client/{EodashMapBtns-CXU8IuPO.js → EodashMapBtns-Ce2tFjJK.js} +6 -6
- package/dist/client/{EodashStacInfo-BbMnjf-n.js → EodashStacInfo-Cb28jVEr.js} +1 -1
- package/dist/client/{EodashTimeSlider-BZXnqfax.js → EodashTimeSlider-B5boxpCK.js} +2 -2
- package/dist/client/{EodashTools-DUJlkkgx.js → EodashTools-RwiXxELa.js} +4 -4
- package/dist/client/{ExportState-CT3FQOHW.js → ExportState-Cp4ftu4f.js} +4 -4
- package/dist/client/{Footer-D_iqP-1K.js → Footer-xGfh2LUv.js} +1 -1
- package/dist/client/{Header-Dzhnvsy-.js → Header-BggV8BVC.js} +2 -2
- package/dist/client/{MobileLayout-6Rg_PSO8.js → MobileLayout-BwXCBKFL.js} +2 -2
- package/dist/client/{PopUp-DPPv_GSA.js → PopUp-C6x6Rpv0.js} +2 -2
- package/dist/client/{ProcessList-BIN_Mb27.js → ProcessList-DDwo71cD.js} +4 -4
- package/dist/client/{VImg-DhbuvNrA.js → VImg-DN23k6uX.js} +2 -2
- package/dist/client/{VMain-CVabY_NY.js → VMain-BT2ZxPLy.js} +1 -1
- package/dist/client/{VTooltip-Cc6au3Sn.js → VTooltip-CAkym6KY.js} +2 -2
- package/dist/client/{WidgetsContainer-ChqTJS4h.js → WidgetsContainer-CLYZgRgc.js} +1 -1
- package/dist/client/{asWebComponent-DaIxULaA.js → asWebComponent-C5YMrXyg.js} +19 -20
- package/dist/client/{async-D6Lvv-fT.js → async-DHmiD7O-.js} +4 -6
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs--IccUBdR.js → forwardRefs-YqjFe8WZ.js} +2 -2
- package/dist/client/{handling-DSA67d6E.js → handling-DRaAJMSG.js} +23 -22
- package/dist/client/{helpers-BBSdbOmv.js → helpers-Bi-qmnbZ.js} +1 -0
- package/dist/client/{index-qsZhYR_6.js → index-BtY2y1sL.js} +3 -3
- package/dist/client/{index-6LlXNkke.js → index-D4GBjamF.js} +2 -2
- package/dist/client/{index-CQihL_c6.js → index-DYLTaaU8.js} +3 -3
- package/dist/client/{index-BS-8Y5FE.js → index-bSHJLUNu.js} +15 -11
- package/dist/client/templates.js +19 -6
- package/dist/client/{transition-DFr4cXu8.js → transition-C4YbXuIb.js} +1 -1
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +1 -0
- package/dist/types/widgets/EodashProcess/methods/handling.d.ts +4 -3
- package/dist/types/widgets/EodashProcess/methods/utils.d.ts +2 -2
- package/package.json +3 -3
- package/templates/baseConfig.js +14 -1
- package/templates/compare.js +2 -2
- package/templates/expert.js +1 -1
- package/templates/lite.js +1 -1
- package/widgets/EodashChart.vue +3 -3
- package/widgets/EodashDatePicker.vue +5 -2
- package/widgets/EodashProcess/index.vue +7 -3
- package/widgets/EodashProcess/methods/composables.js +1 -1
- package/widgets/EodashProcess/methods/handling.js +20 -19
- package/widgets/EodashProcess/methods/utils.js +2 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createVNode, Transition, mergeProps, ref, watch, nextTick, normalizeStyle, normalizeClass, mergeModels, useModel, createElementBlock, openBlock, withCtx, createBlock, createCommentVNode, resolveDynamicComponent, unref, renderSlot } from 'vue';
|
|
2
|
-
import { g as genericComponent, p as propsFactory, ak as PREFERS_REDUCED_MOTION, am as acceleratedEasing, an as deceleratedEasing, ao as standardEasing, x as useProxiedModel, c as useRender, $ as omit, V as VDefaultsProvider, k as provideTheme, f as useBackgroundColor, h as useBorder, b as useDimension, i as useElevation, a9 as useLocation, aa as usePosition, j as useRounded, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, ad as makePositionProps, ae as makeLocationProps, s as makeElevationProps, d as makeDimensionProps, e as makeComponentProps, t as makeBorderProps, ap as useDefineWidgets } from './asWebComponent-
|
|
3
|
-
import { a as animate, g as getTargetBox, n as nullifyTransforms, u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs
|
|
2
|
+
import { g as genericComponent, p as propsFactory, ak as PREFERS_REDUCED_MOTION, am as acceleratedEasing, an as deceleratedEasing, ao as standardEasing, x as useProxiedModel, c as useRender, $ as omit, V as VDefaultsProvider, k as provideTheme, f as useBackgroundColor, h as useBorder, b as useDimension, i as useElevation, a9 as useLocation, aa as usePosition, j as useRounded, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, ad as makePositionProps, ae as makeLocationProps, s as makeElevationProps, d as makeDimensionProps, e as makeComponentProps, t as makeBorderProps, ap as useDefineWidgets } from './asWebComponent-C5YMrXyg.js';
|
|
3
|
+
import { a as animate, g as getTargetBox, n as nullifyTransforms, u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs-YqjFe8WZ.js';
|
|
4
4
|
|
|
5
5
|
// Utilities
|
|
6
6
|
const makeVDialogTransitionProps = propsFactory({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref, createVNode, normalizeStyle, normalizeClass, createElementVNode, toRefs, onMounted, createElementBlock, openBlock, createBlock, createCommentVNode, unref, withCtx, Fragment, renderList, withDirectives, createTextVNode, toDisplayString, toRef } from 'vue';
|
|
2
2
|
import { mdiOpenInNew, mdiUploadBox, mdiDownloadBox, mdiTrashCanOutline } from '@mdi/js';
|
|
3
|
-
import { g as genericComponent, p as propsFactory, k as provideTheme, W as useDensity, c as useRender, q as makeThemeProps, m as makeTagProps, X as makeDensityProps, e as makeComponentProps, o as convertToUnit, _ as _export_sfc, E as useSTAcStore, K as useOnLayersUpdate, H as VIcon, G as VBtn } from './asWebComponent-
|
|
4
|
-
import { I as compareIndicator, G as indicator } from './helpers-
|
|
5
|
-
import { u as updateJobsStatus, k as getJobStatusUrl, l as loadProcess, m as downloadPreviousResults, n as deleteJob } from './async-
|
|
6
|
-
import { T as Tooltip } from './index-
|
|
3
|
+
import { g as genericComponent, p as propsFactory, k as provideTheme, W as useDensity, c as useRender, q as makeThemeProps, m as makeTagProps, X as makeDensityProps, e as makeComponentProps, o as convertToUnit, _ as _export_sfc, E as useSTAcStore, K as useOnLayersUpdate, H as VIcon, G as VBtn } from './asWebComponent-C5YMrXyg.js';
|
|
4
|
+
import { I as compareIndicator, G as indicator } from './helpers-Bi-qmnbZ.js';
|
|
5
|
+
import { u as updateJobsStatus, k as getJobStatusUrl, l as loadProcess, m as downloadPreviousResults, n as deleteJob } from './async-DHmiD7O-.js';
|
|
6
|
+
import { T as Tooltip } from './index-D4GBjamF.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The list of job result from the server
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, TransitionGroup, Transition, camelize, createElementVNode, normalizeStyle, normalizeClass, computed, shallowRef, ref, watch, onBeforeMount, nextTick, onBeforeUnmount, toRef, withDirectives, createVNode, mergeProps, Fragment, vShow } from 'vue';
|
|
2
|
-
import { aj as SUPPORTS_INTERSECTION, g as genericComponent, ak as PREFERS_REDUCED_MOTION, p as propsFactory, b as useDimension, c as useRender, d as makeDimensionProps, e as makeComponentProps, f as useBackgroundColor, j as useRounded, al as getCurrentInstance, o as convertToUnit, r as makeRoundedProps } from './asWebComponent-
|
|
3
|
-
import { m as makeTransitionProps$1, M as MaybeTransition } from './transition-
|
|
2
|
+
import { aj as SUPPORTS_INTERSECTION, g as genericComponent, ak as PREFERS_REDUCED_MOTION, p as propsFactory, b as useDimension, c as useRender, d as makeDimensionProps, e as makeComponentProps, f as useBackgroundColor, j as useRounded, al as getCurrentInstance, o as convertToUnit, r as makeRoundedProps } from './asWebComponent-C5YMrXyg.js';
|
|
3
|
+
import { m as makeTransitionProps$1, M as MaybeTransition } from './transition-C4YbXuIb.js';
|
|
4
4
|
|
|
5
5
|
// Utilities
|
|
6
6
|
function mounted(el, binding) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createVNode, normalizeStyle, normalizeClass, createElementVNode } from 'vue';
|
|
2
|
-
import { g as genericComponent, p as propsFactory, b as useDimension, a as useLayout, c as useRender, m as makeTagProps, d as makeDimensionProps, e as makeComponentProps } from './asWebComponent-
|
|
2
|
+
import { g as genericComponent, p as propsFactory, b as useDimension, a as useLayout, c as useRender, m as makeTagProps, d as makeDimensionProps, e as makeComponentProps } from './asWebComponent-C5YMrXyg.js';
|
|
3
3
|
import { u as useSsrBoot } from './ssrBoot-Zgc_Ttvi.js';
|
|
4
4
|
|
|
5
5
|
const makeVMainProps = propsFactory({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useId, toRef, ref, computed, mergeProps, createVNode } from 'vue';
|
|
2
|
-
import { u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs
|
|
3
|
-
import { g as genericComponent, p as propsFactory, x as useProxiedModel, c as useRender, $ as omit } from './asWebComponent-
|
|
2
|
+
import { u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs-YqjFe8WZ.js';
|
|
3
|
+
import { g as genericComponent, p as propsFactory, x as useProxiedModel, c as useRender, $ as omit } from './asWebComponent-C5YMrXyg.js';
|
|
4
4
|
|
|
5
5
|
const makeVTooltipProps = propsFactory({
|
|
6
6
|
id: String,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, onMounted, nextTick, createElementBlock, openBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, normalizeStyle, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
|
|
2
|
-
import { ap as useDefineWidgets, a as useLayout } from './asWebComponent-
|
|
2
|
+
import { ap as useDefineWidgets, a as useLayout } from './asWebComponent-C5YMrXyg.js';
|
|
3
3
|
import 'animated-details';
|
|
4
4
|
|
|
5
5
|
const _sfc_main = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { warn, capitalize, reactive, watchEffect, toRef, shallowRef, Fragment, getCurrentInstance as getCurrentInstance$1, ref, computed, unref, provide, inject as inject$1, defineComponent as defineComponent$1, h, camelize, toValue, createVNode, mergeProps, createElementVNode, normalizeClass, watch, onScopeDispose, effectScope, toRaw, toRefs, getCurrentScope, onBeforeUnmount, readonly, onMounted, useId, onDeactivated, onActivated, nextTick, shallowReactive, onUnmounted, isRef, normalizeStyle, onUpdated, Text, Transition, resolveDynamicComponent, withDirectives, toDisplayString, useModel, createBlock, createCommentVNode, openBlock, withCtx, createTextVNode, defineAsyncComponent, onErrorCaptured, Suspense, createElementBlock, normalizeProps, withAsyncContext, defineCustomElement } from 'vue';
|
|
2
2
|
import { storeToRefs, defineStore, createPinia } from 'pinia';
|
|
3
|
-
import { r as registerProjection, c as createLayerID, e as extractRoles, a as extractEoxLegendLink, g as getProjectionCode, f as fetchStyle, b as extractLayerConfig, d as axios, h as addTooltipInteraction, i as createAssetID, m as mergeGeojsons, j as mapEl, k as isSTACItem, l as extractLayerTimeValues, n as fetchApiItems, o as getDatetimeProperty, p as fetchAllStyles, q as findLayer, s as findLayersByLayerPrefix, t as replaceLayersInStructure, u as generateFeatures, v as extractLayerLegend, w as getLayers, x as getCompareLayers, y as extractCollectionUrls, z as generateLinksFromItems, A as revokeCollectionBlobUrls, B as currentUrl, C as datetime, D as poi, E as activeTemplate, F as mapPosition, G as indicator, H as currentCompareUrl, I as compareIndicator, J as comparePoi, K as states, L as actions, M as areChartsSeparateLayout, N as chartSpec, O as compareChartSpec } from './helpers-
|
|
3
|
+
import { r as registerProjection, c as createLayerID, e as extractRoles, a as extractEoxLegendLink, g as getProjectionCode, f as fetchStyle, b as extractLayerConfig, d as axios, h as addTooltipInteraction, i as createAssetID, m as mergeGeojsons, j as mapEl, k as isSTACItem, l as extractLayerTimeValues, n as fetchApiItems, o as getDatetimeProperty, p as fetchAllStyles, q as findLayer, s as findLayersByLayerPrefix, t as replaceLayersInStructure, u as generateFeatures, v as extractLayerLegend, w as getLayers, x as getCompareLayers, y as extractCollectionUrls, z as generateLinksFromItems, A as revokeCollectionBlobUrls, B as currentUrl, C as datetime, D as poi, E as activeTemplate, F as mapPosition, G as indicator, H as currentCompareUrl, I as compareIndicator, J as comparePoi, K as states, L as actions, M as areChartsSeparateLayout, N as chartSpec, O as compareChartSpec } from './helpers-Bi-qmnbZ.js';
|
|
4
4
|
import log from 'loglevel';
|
|
5
5
|
import { useEventBus, useMutationObserver, createSharedComposable } from '@vueuse/core';
|
|
6
6
|
import { mdiWrench, mdiSnowflake, mdiVolleyball, mdiHiking, mdiLightningBolt, mdiLeaf, mdiAccountMultiple, mdiCurrencyEur, mdiWeatherWindy, mdiSetCenter, mdiHospitalBoxOutline, mdiImageFilterHdr, mdiWater, mdiBarley, mdiClose, mdiAlertCircle, mdiPlus, mdiMenuDown, mdiChevronLeft, mdiChevronRight } from '@mdi/js';
|
|
@@ -4101,7 +4101,7 @@ const createLayersFromLinks = async (
|
|
|
4101
4101
|
}
|
|
4102
4102
|
}
|
|
4103
4103
|
|
|
4104
|
-
if (wmtsLink.
|
|
4104
|
+
if (wmtsLink.href.includes("marine.copernicus")) {
|
|
4105
4105
|
log.debug(
|
|
4106
4106
|
"Warning: WMTS Layer from capabilities added, function needs to be updated",
|
|
4107
4107
|
linkId,
|
|
@@ -4648,6 +4648,15 @@ class EodashCollection {
|
|
|
4648
4648
|
);
|
|
4649
4649
|
|
|
4650
4650
|
jsonArray.push(
|
|
4651
|
+
...links,
|
|
4652
|
+
...(await createLayersFromAssets(
|
|
4653
|
+
this.#collectionStac?.id ?? "",
|
|
4654
|
+
title || this.#collectionStac?.title || item.id,
|
|
4655
|
+
dataAssets,
|
|
4656
|
+
item,
|
|
4657
|
+
layerDatetime,
|
|
4658
|
+
extraProperties,
|
|
4659
|
+
)),
|
|
4651
4660
|
...((this.rasterEndpoint &&
|
|
4652
4661
|
(await createLayerFromRender(
|
|
4653
4662
|
this.rasterEndpoint,
|
|
@@ -4659,16 +4668,6 @@ class EodashCollection {
|
|
|
4659
4668
|
},
|
|
4660
4669
|
))) ||
|
|
4661
4670
|
[]),
|
|
4662
|
-
...(await createLayersFromAssets(
|
|
4663
|
-
this.#collectionStac?.id ?? "",
|
|
4664
|
-
title || this.#collectionStac?.title || item.id,
|
|
4665
|
-
dataAssets,
|
|
4666
|
-
item,
|
|
4667
|
-
layerDatetime,
|
|
4668
|
-
extraProperties,
|
|
4669
|
-
)),
|
|
4670
|
-
// We add the links after the assets so they are layered underneath assets
|
|
4671
|
-
...links,
|
|
4672
4671
|
);
|
|
4673
4672
|
} else {
|
|
4674
4673
|
// get the correct style which is not attached to a link
|
|
@@ -8279,7 +8278,7 @@ const ErrorAlert = /*#__PURE__*/_export_sfc(_sfc_main$4, [['styles',[_style_0$2]
|
|
|
8279
8278
|
const internalWidgets = (() => {
|
|
8280
8279
|
/** @type {Record<string, () => Promise<import("vue").Component>>} */
|
|
8281
8280
|
const importMap = {
|
|
8282
|
-
.../* #__PURE__ */ Object.assign({"/widgets/EodashChart.vue": () => import('./EodashChart-
|
|
8281
|
+
.../* #__PURE__ */ Object.assign({"/widgets/EodashChart.vue": () => import('./EodashChart-BsW18Em1.js'),"/widgets/EodashDatePicker.vue": () => import('./EodashDatePicker-BwyFIBlK.js'),"/widgets/EodashItemCatalog/index.vue": () => import('./index-BtY2y1sL.js'),"/widgets/EodashItemFilter.vue": () => import('./EodashItemFilter-CgdrG-pX.js'),"/widgets/EodashLayerControl.vue": () => import('./EodashLayerControl-V98fahVJ.js'),"/widgets/EodashLayoutSwitcher.vue": () => import('./EodashLayoutSwitcher-B4oI5PAx.js'),"/widgets/EodashMap/EodashMapBtns.vue": () => import('./EodashMapBtns-Ce2tFjJK.js'),"/widgets/EodashMap/index.vue": () => import('./index-DYLTaaU8.js'),"/widgets/EodashProcess/ProcessList.vue": () => import('./ProcessList-DDwo71cD.js').then(n => n.a),"/widgets/EodashProcess/index.vue": () => import('./index-bSHJLUNu.js'),"/widgets/EodashStacInfo.vue": () => import('./EodashStacInfo-Cb28jVEr.js'),"/widgets/EodashTimeSlider.vue": () => import('./EodashTimeSlider-B5boxpCK.js'),"/widgets/EodashTools.vue": () => import('./EodashTools-RwiXxELa.js'),"/widgets/ExportState.vue": () => import('./ExportState-Cp4ftu4f.js'),"/widgets/PopUp.vue": () => import('./PopUp-C6x6Rpv0.js'),"/widgets/WidgetsContainer.vue": () => import('./WidgetsContainer-CLYZgRgc.js')}),
|
|
8283
8282
|
.../* #__PURE__ */ Object.assign({}),
|
|
8284
8283
|
};
|
|
8285
8284
|
for (const key in importMap) {
|
|
@@ -8411,7 +8410,7 @@ const getWidgetDefinition = (config) => {
|
|
|
8411
8410
|
|
|
8412
8411
|
case "web-component":
|
|
8413
8412
|
importedWidget.component = defineAsyncComponent({
|
|
8414
|
-
loader: () => import('./DynamicWebComponent-
|
|
8413
|
+
loader: () => import('./DynamicWebComponent-67cfzL4o.js'),
|
|
8415
8414
|
suspensible: true,
|
|
8416
8415
|
});
|
|
8417
8416
|
importedWidget.props = reactive(config.widget);
|
|
@@ -8808,7 +8807,7 @@ return (_ctx, _cache) => {
|
|
|
8808
8807
|
|
|
8809
8808
|
};
|
|
8810
8809
|
|
|
8811
|
-
const version = "5.5.
|
|
8810
|
+
const version = "5.5.1";
|
|
8812
8811
|
const pkgJson = {
|
|
8813
8812
|
version};
|
|
8814
8813
|
|
|
@@ -8918,15 +8917,15 @@ const { smAndDown } = useDisplay();
|
|
|
8918
8917
|
|
|
8919
8918
|
const TemplateComponent = computed(() =>
|
|
8920
8919
|
smAndDown.value
|
|
8921
|
-
? defineAsyncComponent(() => import('./MobileLayout-
|
|
8922
|
-
: defineAsyncComponent(() => import('./DashboardLayout-
|
|
8920
|
+
? defineAsyncComponent(() => import('./MobileLayout-BwXCBKFL.js'))
|
|
8921
|
+
: defineAsyncComponent(() => import('./DashboardLayout-D_590Zle.js')),
|
|
8923
8922
|
);
|
|
8924
8923
|
|
|
8925
8924
|
const HeaderComponent = defineAsyncComponent(
|
|
8926
|
-
() => import('./Header-
|
|
8925
|
+
() => import('./Header-BggV8BVC.js'),
|
|
8927
8926
|
);
|
|
8928
8927
|
const FooterComponent = defineAsyncComponent(
|
|
8929
|
-
() => import('./Footer-
|
|
8928
|
+
() => import('./Footer-xGfh2LUv.js'),
|
|
8930
8929
|
);
|
|
8931
8930
|
|
|
8932
8931
|
const error = ref("");
|
|
@@ -9024,7 +9023,7 @@ const _sfc_main = {
|
|
|
9024
9023
|
|
|
9025
9024
|
|
|
9026
9025
|
|
|
9027
|
-
|
|
9026
|
+
window.setEodashLoglevel("DEBUG");
|
|
9028
9027
|
|
|
9029
9028
|
const error = ref("");
|
|
9030
9029
|
const isWebComponent = !!document.querySelector("eo-dash");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { x as getCompareLayers, w as getLayers, $ as replaceLayer, b as extractLayerConfig, v as extractLayerLegend, m as mergeGeojsons, d as axios, a0 as axios$1, I as compareIndicator, G as indicator } from './helpers-
|
|
2
|
-
import { P as useEmitLayersUpdate } from './asWebComponent-
|
|
1
|
+
import { x as getCompareLayers, w as getLayers, $ as replaceLayer, b as extractLayerConfig, v as extractLayerLegend, m as mergeGeojsons, d as axios, a0 as axios$1, I as compareIndicator, G as indicator } from './helpers-Bi-qmnbZ.js';
|
|
2
|
+
import { P as useEmitLayersUpdate } from './asWebComponent-C5YMrXyg.js';
|
|
3
3
|
import { isMulti } from '@eox/jsonform/src/custom-inputs/spatial/utils';
|
|
4
4
|
import log from 'loglevel';
|
|
5
5
|
|
|
@@ -558,7 +558,7 @@ const applyProcessLayersToMap = (mapElement, processLayers) => {
|
|
|
558
558
|
};
|
|
559
559
|
/**
|
|
560
560
|
* Updates the jsonform schema to target the compare map
|
|
561
|
-
* @param {
|
|
561
|
+
* @param {Record<string,any> | null | undefined} jsonformSchema
|
|
562
562
|
*/
|
|
563
563
|
function updateJsonformSchemaTarget(jsonformSchema) {
|
|
564
564
|
if (!jsonformSchema) {
|
|
@@ -568,9 +568,7 @@ function updateJsonformSchemaTarget(jsonformSchema) {
|
|
|
568
568
|
"eox-map#main",
|
|
569
569
|
"eox-map#compare",
|
|
570
570
|
);
|
|
571
|
-
return
|
|
572
|
-
JSON.parse(stringified)
|
|
573
|
-
);
|
|
571
|
+
return JSON.parse(stringified);
|
|
574
572
|
}
|
|
575
573
|
|
|
576
574
|
/**
|
package/dist/client/eo-dash.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { aJ as EodashConstructor, aI as register, aK as store } from './asWebComponent-
|
|
1
|
+
export { aJ as EodashConstructor, aI as register, aK as store } from './asWebComponent-C5YMrXyg.js';
|
|
2
2
|
import 'vue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, watch, onScopeDispose, nextTick, ref, watchEffect, effectScope, inject, mergeProps, toRef, toValue, shallowRef, onMounted, reactive, provide, toRaw, readonly, warn, onBeforeUnmount, createElementVNode, Fragment, createVNode, Teleport, withDirectives, vShow, Transition } from 'vue';
|
|
2
|
-
import { aq as isOn, ar as eventName, p as propsFactory, as as destructComputed, at as parseAnchor, au as flipSide, av as flipAlign, aw as flipCorner, ax as CircularBuffer, ay as deepEqual, Y as consoleError, az as getAxis, o as convertToUnit, v as clamp, aA as IN_BROWSER, y as useToggleScope, aB as defer, al as getCurrentInstance, aC as templateRef, aD as matchesSelector, aE as focusableChildren, D as useDisplay, q as makeThemeProps, d as makeDimensionProps, e as makeComponentProps, g as genericComponent, $ as omit, x as useProxiedModel, k as provideTheme, l as useRtl, f as useBackgroundColor, b as useDimension, aF as useRouter, aG as useBackButton, ao as standardEasing, c as useRender } from './asWebComponent-
|
|
3
|
-
import { m as makeTransitionProps, M as MaybeTransition } from './transition-
|
|
2
|
+
import { aq as isOn, ar as eventName, p as propsFactory, as as destructComputed, at as parseAnchor, au as flipSide, av as flipAlign, aw as flipCorner, ax as CircularBuffer, ay as deepEqual, Y as consoleError, az as getAxis, o as convertToUnit, v as clamp, aA as IN_BROWSER, y as useToggleScope, aB as defer, al as getCurrentInstance, aC as templateRef, aD as matchesSelector, aE as focusableChildren, D as useDisplay, q as makeThemeProps, d as makeDimensionProps, e as makeComponentProps, g as genericComponent, $ as omit, x as useProxiedModel, k as provideTheme, l as useRtl, f as useBackgroundColor, b as useDimension, aF as useRouter, aG as useBackButton, ao as standardEasing, c as useRender } from './asWebComponent-C5YMrXyg.js';
|
|
3
|
+
import { m as makeTransitionProps, M as MaybeTransition } from './transition-C4YbXuIb.js';
|
|
4
4
|
|
|
5
5
|
class Box {
|
|
6
6
|
constructor(args) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import log from 'loglevel';
|
|
2
|
-
import { s as separateEndpointLinks, c as createTiffLayerDefinition, p as pollProcessStatus, e as extractAsyncResults, u as updateJobsStatus, a as creatAsyncProcessLayerDefinitions, b as getBboxProperty, f as generateTimePairs, h as updateJsonformSchemaTarget, i as extractGeometries, j as applyProcessLayersToMap, g as getDrawToolsProperty } from './async-
|
|
3
|
-
import { d as axios, b as extractLayerConfig, I as compareIndicator, G as indicator, y as extractCollectionUrls, H as currentCompareUrl, B as currentUrl, z as generateLinksFromItems, o as getDatetimeProperty, J as comparePoi, C as datetime,
|
|
2
|
+
import { s as separateEndpointLinks, c as createTiffLayerDefinition, p as pollProcessStatus, e as extractAsyncResults, u as updateJobsStatus, a as creatAsyncProcessLayerDefinitions, b as getBboxProperty, f as generateTimePairs, h as updateJsonformSchemaTarget, i as extractGeometries, j as applyProcessLayersToMap, g as getDrawToolsProperty } from './async-DHmiD7O-.js';
|
|
3
|
+
import { d as axios, b as extractLayerConfig, I as compareIndicator, G as indicator, y as extractCollectionUrls, H as currentCompareUrl, B as currentUrl, z as generateLinksFromItems, o as getDatetimeProperty, J as comparePoi, C as datetime, Z as compareChartData, _ as chartData, O as compareChartSpec, N as chartSpec, D as poi, w as getLayers } from './helpers-Bi-qmnbZ.js';
|
|
4
4
|
import mustache from 'mustache';
|
|
5
|
-
import { Q as isFirstLoad, E as useSTAcStore, T as readParquetItems, U as useGetSubCodeId } from './asWebComponent-
|
|
5
|
+
import { Q as isFirstLoad, E as useSTAcStore, T as readParquetItems, U as useGetSubCodeId } from './asWebComponent-C5YMrXyg.js';
|
|
6
6
|
import { toAbsolute } from 'stac-js/src/http.js';
|
|
7
7
|
|
|
8
8
|
////// --- CHARTS --- //////
|
|
@@ -1048,16 +1048,18 @@ async function initProcess({
|
|
|
1048
1048
|
await jsonformEl.value?.editor.destroy();
|
|
1049
1049
|
if (updatedJsonform) {
|
|
1050
1050
|
// make sure correct target layer id is used in jsonform
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
}
|
|
1051
|
+
let newJsonForm = null;
|
|
1052
|
+
newJsonForm = await updateJsonformIdentifier({
|
|
1053
|
+
jsonformSchema: updatedJsonform,
|
|
1054
|
+
newLayers: getLayers(),
|
|
1055
|
+
});
|
|
1057
1056
|
if (enableCompare) {
|
|
1058
|
-
|
|
1057
|
+
newJsonForm = updateJsonformSchemaTarget(newJsonForm);
|
|
1059
1058
|
}
|
|
1060
|
-
|
|
1059
|
+
// trigger jsonform update in next tick
|
|
1060
|
+
jsonformSchema.value = null;
|
|
1061
|
+
await new Promise((resolve) => setTimeout(resolve, 0));
|
|
1062
|
+
jsonformSchema.value = newJsonForm;
|
|
1061
1063
|
}
|
|
1062
1064
|
}
|
|
1063
1065
|
|
|
@@ -1067,11 +1069,12 @@ async function initProcess({
|
|
|
1067
1069
|
* @export
|
|
1068
1070
|
* @async
|
|
1069
1071
|
* @param {Object} params
|
|
1070
|
-
* @param {
|
|
1072
|
+
* @param {Record<string,any> | null} params.jsonformSchema params.jsonformSchema
|
|
1071
1073
|
* @param {Record<string, any>[] | undefined} params.newLayers params.newLayers
|
|
1074
|
+
* @returns {Promise<Record<string,any> | null | undefined>} updated jsonform schema
|
|
1072
1075
|
*/
|
|
1073
1076
|
async function updateJsonformIdentifier({ jsonformSchema, newLayers }) {
|
|
1074
|
-
const form = jsonformSchema
|
|
1077
|
+
const form = jsonformSchema;
|
|
1075
1078
|
if (!form) {
|
|
1076
1079
|
return;
|
|
1077
1080
|
}
|
|
@@ -1103,9 +1106,8 @@ async function updateJsonformIdentifier({ jsonformSchema, newLayers }) {
|
|
|
1103
1106
|
return;
|
|
1104
1107
|
}
|
|
1105
1108
|
for (const layer of layersArray) {
|
|
1106
|
-
if (layer.layers) {
|
|
1107
|
-
|
|
1108
|
-
traverseLayers(layer);
|
|
1109
|
+
if (layer.type === "Group" && Array.isArray(layer.layers)) {
|
|
1110
|
+
traverseLayers(layer.layers);
|
|
1109
1111
|
} else {
|
|
1110
1112
|
if (layer.properties?.id?.startsWith(layerId)) {
|
|
1111
1113
|
matchedLayerId = layer.properties.id;
|
|
@@ -1117,16 +1119,15 @@ async function updateJsonformIdentifier({ jsonformSchema, newLayers }) {
|
|
|
1117
1119
|
traverseLayers(layers);
|
|
1118
1120
|
if (matchedLayerId) {
|
|
1119
1121
|
form.properties.feature.options.drawtools.layerId = matchedLayerId;
|
|
1120
|
-
|
|
1121
|
-
jsonformSchema.value = null;
|
|
1122
|
-
await new Promise((resolve) => setTimeout(resolve, 0));
|
|
1123
|
-
jsonformSchema.value = form;
|
|
1122
|
+
return form;
|
|
1124
1123
|
} else {
|
|
1125
|
-
|
|
1124
|
+
console.warn(
|
|
1126
1125
|
`Could not find matching layer for processing form with id: ${layerId}`,
|
|
1127
1126
|
);
|
|
1127
|
+
return null;
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
|
+
return form;
|
|
1130
1131
|
}
|
|
1131
1132
|
|
|
1132
1133
|
/**
|
|
@@ -1196,7 +1197,7 @@ async function handleProcesses({
|
|
|
1196
1197
|
}
|
|
1197
1198
|
|
|
1198
1199
|
//@ts-expect-error we assume that the spec data is of type InlineData
|
|
1199
|
-
if (tempChartSpec
|
|
1200
|
+
if (Object.keys(tempChartSpec?.data?.values ?? {}).length) {
|
|
1200
1201
|
//@ts-expect-error we assume that the spec data is of type InlineData
|
|
1201
1202
|
processResults.value.push(tempChartSpec?.data.values);
|
|
1202
1203
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { onMounted, onUnmounted, withAsyncContext, useTemplateRef, ref, createElementBlock, openBlock, createVNode, createElementVNode, withCtx, unref, toDisplayString } from 'vue';
|
|
2
|
-
import { E as useSTAcStore, K as useOnLayersUpdate, _ as _export_sfc, L as VRow } from './asWebComponent-
|
|
3
|
-
import { G as indicator, j as mapEl, R as sanitizeBbox, d as axios } from './helpers-
|
|
2
|
+
import { E as useSTAcStore, K as useOnLayersUpdate, _ as _export_sfc, L as VRow } from './asWebComponent-C5YMrXyg.js';
|
|
3
|
+
import { G as indicator, j as mapEl, R as sanitizeBbox, d as axios } from './helpers-Bi-qmnbZ.js';
|
|
4
4
|
import { i as inAndOut } from './easing-CH0-9wR8.js';
|
|
5
5
|
import { mdiViewDashboard } from '@mdi/js';
|
|
6
|
-
import _sfc_main$1 from './EodashLayoutSwitcher-
|
|
6
|
+
import _sfc_main$1 from './EodashLayoutSwitcher-B4oI5PAx.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveComponent, render, h, mergeProps } from 'vue';
|
|
2
|
-
import { Y as consoleError, Z as isObject } from './asWebComponent-
|
|
3
|
-
import { V as VTooltip } from './VTooltip-
|
|
2
|
+
import { Y as consoleError, Z as isObject } from './asWebComponent-C5YMrXyg.js';
|
|
3
|
+
import { V as VTooltip } from './VTooltip-CAkym6KY.js';
|
|
4
4
|
|
|
5
5
|
// Utilities
|
|
6
6
|
function useDirectiveComponent(component, props) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { onMounted, onUnmounted, watch, computed, withAsyncContext, useTemplateRef, ref, toRaw, createElementBlock, openBlock, createElementVNode, createCommentVNode, unref, normalizeStyle, createVNode } from 'vue';
|
|
2
2
|
import { transformExtent } from '@eox/map';
|
|
3
3
|
import '@eox/map/src/plugins/advancedLayersAndSources';
|
|
4
|
-
import { U as setMapProjFromCol, F as mapPosition, R as sanitizeBbox, j as mapEl, S as mapCompareEl, G as indicator, I as compareIndicator, D as poi, V as isGlobe, C as datetime } from './helpers-
|
|
4
|
+
import { U as setMapProjFromCol, F as mapPosition, R as sanitizeBbox, j as mapEl, S as mapCompareEl, G as indicator, I as compareIndicator, D as poi, V as isGlobe, C as datetime } from './helpers-Bi-qmnbZ.js';
|
|
5
5
|
import { storeToRefs } from 'pinia';
|
|
6
|
-
import { O as EodashCollection, E as useSTAcStore, P as useEmitLayersUpdate, Q as isFirstLoad, K as useOnLayersUpdate, _ as _export_sfc, D as useDisplay, a as useLayout, N as layerControlFormValue, M as layerControlFormValueCompare, J as eodashCompareCollections, I as eodashCollections } from './asWebComponent-
|
|
6
|
+
import { O as EodashCollection, E as useSTAcStore, P as useEmitLayersUpdate, Q as isFirstLoad, K as useOnLayersUpdate, _ as _export_sfc, D as useDisplay, a as useLayout, N as layerControlFormValue, M as layerControlFormValueCompare, J as eodashCompareCollections, I as eodashCollections } from './asWebComponent-C5YMrXyg.js';
|
|
7
7
|
import log from 'loglevel';
|
|
8
8
|
import { i as inAndOut } from './easing-CH0-9wR8.js';
|
|
9
9
|
import mustache from 'mustache';
|
|
10
|
-
import EodashMapBtns from './EodashMapBtns-
|
|
10
|
+
import EodashMapBtns from './EodashMapBtns-Ce2tFjJK.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Creates full layer configuration from indicator and time information
|
|
@@ -2,14 +2,14 @@ import { onMounted, watch, nextTick, ref, useTemplateRef, computed, createElemen
|
|
|
2
2
|
import '@eox/chart';
|
|
3
3
|
import '@eox/drawtools';
|
|
4
4
|
import '@eox/jsonform';
|
|
5
|
-
import { R as eoxLayersKey, K as useOnLayersUpdate, _ as _export_sfc, E as useSTAcStore, G as VBtn } from './asWebComponent-
|
|
5
|
+
import { R as eoxLayersKey, K as useOnLayersUpdate, _ as _export_sfc, E as useSTAcStore, G as VBtn } from './asWebComponent-C5YMrXyg.js';
|
|
6
6
|
import { storeToRefs } from 'pinia';
|
|
7
|
-
import { P as ProcessList, c as compareJobs, j as jobs } from './ProcessList-
|
|
8
|
-
import EodashChart from './EodashChart-
|
|
9
|
-
import { i as initProcess, u as updateJsonformIdentifier, h as handleProcesses } from './handling-
|
|
7
|
+
import { P as ProcessList, c as compareJobs, j as jobs } from './ProcessList-DDwo71cD.js';
|
|
8
|
+
import EodashChart from './EodashChart-BsW18Em1.js';
|
|
9
|
+
import { i as initProcess, u as updateJsonformIdentifier, h as handleProcesses } from './handling-DRaAJMSG.js';
|
|
10
10
|
import { useEventBus } from '@vueuse/core';
|
|
11
|
-
import { u as updateJobsStatus, d as download, g as getDrawToolsProperty } from './async-
|
|
12
|
-
import { I as compareIndicator, G as indicator, S as mapCompareEl, j as mapEl, M as areChartsSeparateLayout, O as compareChartSpec, N as chartSpec } from './helpers-
|
|
11
|
+
import { u as updateJobsStatus, d as download, g as getDrawToolsProperty } from './async-DHmiD7O-.js';
|
|
12
|
+
import { I as compareIndicator, G as indicator, S as mapCompareEl, j as mapEl, M as areChartsSeparateLayout, O as compareChartSpec, N as chartSpec } from './helpers-Bi-qmnbZ.js';
|
|
13
13
|
import { mdiCogPlayOutline, mdiDownloadCircleOutline } from '@mdi/js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -78,7 +78,7 @@ const useInitProcess = ({
|
|
|
78
78
|
evt == "compareTime:updated"
|
|
79
79
|
) {
|
|
80
80
|
await updateJsonformIdentifier({
|
|
81
|
-
jsonformSchema,
|
|
81
|
+
jsonformSchema: jsonformSchema.value,
|
|
82
82
|
// @ts-expect-error TODO payload coming from time update events is not an object with layers property
|
|
83
83
|
newLayers: _payload,
|
|
84
84
|
});
|
|
@@ -157,7 +157,7 @@ const _hoisted_1 = {
|
|
|
157
157
|
class: "py-1"
|
|
158
158
|
};
|
|
159
159
|
const _hoisted_2 = [".schema"];
|
|
160
|
-
const _hoisted_3 = { class: "
|
|
160
|
+
const _hoisted_3 = { class: "text-right" };
|
|
161
161
|
|
|
162
162
|
|
|
163
163
|
const _sfc_main = {
|
|
@@ -311,10 +311,11 @@ return (_ctx, _cache) => {
|
|
|
311
311
|
? (openBlock(), createBlock(VBtn, {
|
|
312
312
|
key: 0,
|
|
313
313
|
loading: loading.value,
|
|
314
|
-
style: {"margin-right":"
|
|
314
|
+
style: {"margin-right":"8px"},
|
|
315
315
|
"append-icon": [unref(mdiCogPlayOutline)],
|
|
316
316
|
onClick: startProcess,
|
|
317
|
-
|
|
317
|
+
density: "comfortable",
|
|
318
|
+
size: "small"
|
|
318
319
|
}, {
|
|
319
320
|
default: withCtx(() => [...(_cache[0] || (_cache[0] = [
|
|
320
321
|
createTextVNode(" Execute ", -1 /* CACHED */)
|
|
@@ -326,8 +327,11 @@ return (_ctx, _cache) => {
|
|
|
326
327
|
? (openBlock(), createBlock(VBtn, {
|
|
327
328
|
key: 1,
|
|
328
329
|
color: "primary",
|
|
330
|
+
style: {"margin-right":"8px"},
|
|
329
331
|
"append-icon": [unref(mdiDownloadCircleOutline)],
|
|
330
|
-
onClick: downloadResults
|
|
332
|
+
onClick: downloadResults,
|
|
333
|
+
size: "small",
|
|
334
|
+
density: "comfortable"
|
|
331
335
|
}, {
|
|
332
336
|
default: withCtx(() => [...(_cache[1] || (_cache[1] = [
|
|
333
337
|
createTextVNode(" Download ", -1 /* CACHED */)
|
package/dist/client/templates.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { mdiViewDashboardVariant, mdiViewDashboard } from '@mdi/js';
|
|
2
|
-
import { P as includesProcess, Q as shouldShowChartWidget } from './helpers-
|
|
2
|
+
import { P as includesProcess, Q as shouldShowChartWidget } from './helpers-Bi-qmnbZ.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Special values that tell deepmerge to perform a certain action.
|
|
@@ -496,7 +496,7 @@ const lite = {
|
|
|
496
496
|
? {
|
|
497
497
|
id: "light-datepicker",
|
|
498
498
|
type: "internal",
|
|
499
|
-
layout: { x: 4, y:
|
|
499
|
+
layout: { x: 4, y: 3, w: 4, h: 9 },
|
|
500
500
|
title: "Date",
|
|
501
501
|
widget: {
|
|
502
502
|
name: "EodashDatePicker",
|
|
@@ -615,7 +615,7 @@ const expert = {
|
|
|
615
615
|
? {
|
|
616
616
|
id: "expert-datepicker",
|
|
617
617
|
type: "internal",
|
|
618
|
-
layout: { x: 4, y:
|
|
618
|
+
layout: { x: 4, y: 3, w: 4, h: 9 },
|
|
619
619
|
title: "Date",
|
|
620
620
|
widget: {
|
|
621
621
|
name: "EodashDatePicker",
|
|
@@ -807,12 +807,12 @@ const compare = {
|
|
|
807
807
|
? {
|
|
808
808
|
id: "expert-Datepicker",
|
|
809
809
|
type: "internal",
|
|
810
|
-
layout: { x: 4, y:
|
|
810
|
+
layout: { x: 4, y: 3, w: 4, h: 9 },
|
|
811
811
|
title: "Date",
|
|
812
812
|
widget: {
|
|
813
813
|
name: "EodashDatePicker",
|
|
814
814
|
properties: {
|
|
815
|
-
hintText: `<b>Hint:</b> closest available date is displayed
|
|
815
|
+
hintText: `<b>Hint:</b> closest available date is displayed<br />
|
|
816
816
|
on map (see Analysis Layers)`,
|
|
817
817
|
toggleCalendar: true,
|
|
818
818
|
},
|
|
@@ -896,8 +896,21 @@ const baseConfig = {
|
|
|
896
896
|
stacEndpoint: {
|
|
897
897
|
endpoint:
|
|
898
898
|
"https://esa-eodashboards.github.io/eodashboard-catalog/trilateral/catalog.json",
|
|
899
|
-
|
|
899
|
+
// "http://gtif-cerulean.github.io/cerulean-catalog/cerulean/catalog.json",
|
|
900
|
+
// "https://gtif-ukif.github.io/gtif-ukif-catalog/gtif-ukif/catalog.json",
|
|
901
|
+
// "https://esa-eodashboards.github.io/RACE-catalog/RACE/catalog.json",
|
|
902
|
+
// "https://gtif-austria.github.io/public-catalog/GTIF-Austria/catalog.json",
|
|
903
|
+
// "http://0.0.0.0:8000/baltic/catalog.json",
|
|
904
|
+
// "http://0.0.0.0:8000/gtif-ukif/catalog.json",
|
|
905
|
+
// "http://0.0.0.0:8002/RACE/catalog.json",
|
|
906
|
+
// "http://0.0.0.0:8000/trilateral/catalog.json",
|
|
907
|
+
// "http://0.0.0.0:8003/gtif-ukif/catalog.json",
|
|
908
|
+
// "http://0.0.0.0:8002/cerulean/catalog.json",
|
|
909
|
+
// "http://0.0.0.0:8001/trilateral/catalog.json",
|
|
910
|
+
// "http://0.0.0.0:8001/GTIF-Austria/catalog.json",
|
|
900
911
|
// api: true,
|
|
912
|
+
// rasterEndpoint: "https://api.explorer.eopf.copernicus.eu/raster/",
|
|
913
|
+
api: false,
|
|
901
914
|
},
|
|
902
915
|
brand: {
|
|
903
916
|
noLayout: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { mergeProps, h, TransitionGroup, Transition } from 'vue';
|
|
2
|
-
import { p as propsFactory, Z as isObject, aH as onlyDefinedProps } from './asWebComponent-
|
|
2
|
+
import { p as propsFactory, Z as isObject, aH as onlyDefinedProps } from './asWebComponent-C5YMrXyg.js';
|
|
3
3
|
|
|
4
4
|
// Utilities
|
|
5
5
|
const makeTransitionProps = propsFactory({
|
|
@@ -29,13 +29,14 @@ export function initProcess({ selectedStac, jsonformEl, jsonformSchema, isProces
|
|
|
29
29
|
* @export
|
|
30
30
|
* @async
|
|
31
31
|
* @param {Object} params
|
|
32
|
-
* @param {
|
|
32
|
+
* @param {Record<string,any> | null} params.jsonformSchema params.jsonformSchema
|
|
33
33
|
* @param {Record<string, any>[] | undefined} params.newLayers params.newLayers
|
|
34
|
+
* @returns {Promise<Record<string,any> | null | undefined>} updated jsonform schema
|
|
34
35
|
*/
|
|
35
36
|
export function updateJsonformIdentifier({ jsonformSchema, newLayers }: {
|
|
36
|
-
jsonformSchema:
|
|
37
|
+
jsonformSchema: Record<string, any> | null;
|
|
37
38
|
newLayers: Record<string, any>[] | undefined;
|
|
38
|
-
}): Promise<
|
|
39
|
+
}): Promise<Record<string, any> | null | undefined>;
|
|
39
40
|
/**
|
|
40
41
|
*
|
|
41
42
|
* @param {object} params
|
|
@@ -55,9 +55,9 @@ export function creatAsyncProcessLayerDefinitions(processResults: import("../../
|
|
|
55
55
|
export function extractAsyncResults(resultItem: import("../../EodashProcess/types").EOxHubProcessResults): import("../../EodashProcess/types").AsyncProcessResults;
|
|
56
56
|
/**
|
|
57
57
|
* Updates the jsonform schema to target the compare map
|
|
58
|
-
* @param {
|
|
58
|
+
* @param {Record<string,any> | null | undefined} jsonformSchema
|
|
59
59
|
*/
|
|
60
|
-
export function updateJsonformSchemaTarget(jsonformSchema:
|
|
60
|
+
export function updateJsonformSchemaTarget(jsonformSchema: Record<string, any> | null | undefined): any;
|
|
61
61
|
export function download(fileName: string, content: string | Record<string, any>): void;
|
|
62
62
|
export function getDrawToolsProperty(jsonformSchema: any): string | undefined;
|
|
63
63
|
export function applyProcessLayersToMap(mapElement: import("@eox/map").EOxMap | null, processLayers: import("@eox/map").EoxLayer[]): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eodash/eodash",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/types/core/client/types.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
"@eox/geosearch": "^1.1.0",
|
|
71
71
|
"@eox/itemfilter": "^1.13.3",
|
|
72
72
|
"@eox/jsonform": "^1.8.0",
|
|
73
|
-
"@eox/layercontrol": "^1.
|
|
73
|
+
"@eox/layercontrol": "^1.4.0",
|
|
74
74
|
"@eox/layout": "^1.0.0",
|
|
75
75
|
"@eox/map": "^2.0.2",
|
|
76
76
|
"@eox/stacinfo": "^1.0.2",
|
|
77
|
-
"@eox/timecontrol": "^2.0
|
|
77
|
+
"@eox/timecontrol": "^2.1.0",
|
|
78
78
|
"@eox/timeslider": "https://pkg.pr.new/EOX-A/EOxElements/@eox/timeslider@9873028",
|
|
79
79
|
"@eox/ui": "^0.5.1",
|
|
80
80
|
"@mdi/js": "^7.4.47",
|
package/templates/baseConfig.js
CHANGED
|
@@ -13,8 +13,21 @@ const baseConfig = {
|
|
|
13
13
|
stacEndpoint: {
|
|
14
14
|
endpoint:
|
|
15
15
|
"https://esa-eodashboards.github.io/eodashboard-catalog/trilateral/catalog.json",
|
|
16
|
-
|
|
16
|
+
// "http://gtif-cerulean.github.io/cerulean-catalog/cerulean/catalog.json",
|
|
17
|
+
// "https://gtif-ukif.github.io/gtif-ukif-catalog/gtif-ukif/catalog.json",
|
|
18
|
+
// "https://esa-eodashboards.github.io/RACE-catalog/RACE/catalog.json",
|
|
19
|
+
// "https://gtif-austria.github.io/public-catalog/GTIF-Austria/catalog.json",
|
|
20
|
+
// "http://0.0.0.0:8000/baltic/catalog.json",
|
|
21
|
+
// "http://0.0.0.0:8000/gtif-ukif/catalog.json",
|
|
22
|
+
// "http://0.0.0.0:8002/RACE/catalog.json",
|
|
23
|
+
// "http://0.0.0.0:8000/trilateral/catalog.json",
|
|
24
|
+
// "http://0.0.0.0:8003/gtif-ukif/catalog.json",
|
|
25
|
+
// "http://0.0.0.0:8002/cerulean/catalog.json",
|
|
26
|
+
// "http://0.0.0.0:8001/trilateral/catalog.json",
|
|
27
|
+
// "http://0.0.0.0:8001/GTIF-Austria/catalog.json",
|
|
17
28
|
// api: true,
|
|
29
|
+
// rasterEndpoint: "https://api.explorer.eopf.copernicus.eu/raster/",
|
|
30
|
+
api: false,
|
|
18
31
|
},
|
|
19
32
|
brand: {
|
|
20
33
|
noLayout: true,
|
package/templates/compare.js
CHANGED
|
@@ -151,12 +151,12 @@ export default {
|
|
|
151
151
|
? {
|
|
152
152
|
id: "expert-Datepicker",
|
|
153
153
|
type: "internal",
|
|
154
|
-
layout: { x: 4, y:
|
|
154
|
+
layout: { x: 4, y: 3, w: 4, h: 9 },
|
|
155
155
|
title: "Date",
|
|
156
156
|
widget: {
|
|
157
157
|
name: "EodashDatePicker",
|
|
158
158
|
properties: {
|
|
159
|
-
hintText: `<b>Hint:</b> closest available date is displayed
|
|
159
|
+
hintText: `<b>Hint:</b> closest available date is displayed<br />
|
|
160
160
|
on map (see Analysis Layers)`,
|
|
161
161
|
toggleCalendar: true,
|
|
162
162
|
},
|