@eodash/eodash 5.5.1 → 5.6.0

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.
Files changed (62) hide show
  1. package/core/client/App.vue +1 -1
  2. package/core/client/eodashSTAC/EodashCollection.js +7 -4
  3. package/core/client/eodashSTAC/auth.js +19 -9
  4. package/core/client/eodashSTAC/createLayers.js +130 -24
  5. package/core/client/eodashSTAC/helpers.js +23 -56
  6. package/core/client/store/stac.js +9 -0
  7. package/core/client/types.ts +1 -0
  8. package/dist/client/{DashboardLayout-D_590Zle.js → DashboardLayout-DkKDhfgH.js} +3 -3
  9. package/dist/client/{DynamicWebComponent-67cfzL4o.js → DynamicWebComponent-BrpkA-e3.js} +2 -2
  10. package/dist/client/{EodashChart-BsW18Em1.js → EodashChart-p7_1FRlF.js} +5 -5
  11. package/dist/client/{EodashDatePicker-BwyFIBlK.js → EodashDatePicker-HK0Jl7wQ.js} +4 -4
  12. package/dist/client/{EodashItemFilter-CgdrG-pX.js → EodashItemFilter-BYQDA78B.js} +2 -2
  13. package/dist/client/{EodashLayerControl-V98fahVJ.js → EodashLayerControl-NcrNncGn.js} +18 -4
  14. package/dist/client/{EodashLayoutSwitcher-B4oI5PAx.js → EodashLayoutSwitcher-CC2Znd0I.js} +4 -4
  15. package/dist/client/EodashMapBtns-BJSh7qT-.js +435 -0
  16. package/dist/client/{EodashStacInfo-Cb28jVEr.js → EodashStacInfo-BA-0UjvT.js} +42 -7
  17. package/dist/client/{EodashTimeSlider-B5boxpCK.js → EodashTimeSlider-GDv1hbw7.js} +3 -3
  18. package/dist/client/{EodashTools-RwiXxELa.js → EodashTools-CWmoH0g_.js} +5 -5
  19. package/dist/client/{ExportState-Cp4ftu4f.js → ExportState-CfAfX4RN.js} +9 -7
  20. package/dist/client/{Footer-xGfh2LUv.js → Footer-DLGxQTZt.js} +2 -2
  21. package/dist/client/{Header-BggV8BVC.js → Header-eyEyyzD6.js} +10 -6
  22. package/dist/client/{IframeWrapper-XzQDZy0T.js → IframeWrapper-BgM9aU8f.js} +1 -1
  23. package/dist/client/MobileLayout-RzLOyXwL.js +118 -0
  24. package/dist/client/{PopUp-C6x6Rpv0.js → PopUp-WNs6Io2N.js} +3 -3
  25. package/dist/client/{ProcessList-DDwo71cD.js → ProcessList-RzVqbd5E.js} +5 -5
  26. package/dist/client/{VImg-DN23k6uX.js → VImg-GKUTFoV-.js} +51 -22
  27. package/dist/client/{VMain-BT2ZxPLy.js → VMain-D7_72mHr.js} +1 -1
  28. package/dist/client/{VTooltip-CAkym6KY.js → VTooltip-BbmvtvYw.js} +2 -2
  29. package/dist/client/{WidgetsContainer-CLYZgRgc.js → WidgetsContainer-Dw5d7SOW.js} +2 -2
  30. package/dist/client/asWebComponent-DDt7V3Bl.js +9383 -0
  31. package/dist/client/{async-DHmiD7O-.js → async-CT3KEV52.js} +24 -33
  32. package/dist/client/eo-dash.js +1 -1
  33. package/dist/client/{forwardRefs-YqjFe8WZ.js → forwardRefs-CVzxyoSq.js} +2 -2
  34. package/dist/client/{handling-DRaAJMSG.js → handling-C285F_Mq.js} +3 -3
  35. package/dist/client/{helpers-Bi-qmnbZ.js → helpers-CZFH0EVN.js} +349 -316
  36. package/dist/client/{index-DYLTaaU8.js → index-B-m7V3Kb.js} +24 -11
  37. package/dist/client/{index-bSHJLUNu.js → index-B_6H-N14.js} +7 -7
  38. package/dist/client/{index-BtY2y1sL.js → index-CF3ZMzTz.js} +4 -4
  39. package/dist/client/{index-D4GBjamF.js → index-DgOXD7wd.js} +2 -2
  40. package/dist/client/templates.js +7 -16
  41. package/dist/client/{transition-C4YbXuIb.js → transition-C2gnrWg0.js} +1 -1
  42. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +2 -5
  43. package/dist/types/core/client/eodashSTAC/auth.d.ts +6 -2
  44. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +1 -4
  45. package/dist/types/core/client/eodashSTAC/helpers.d.ts +1 -2
  46. package/dist/types/core/client/store/stac.d.ts +4 -1
  47. package/dist/types/core/client/types.d.ts +1 -0
  48. package/dist/types/templates/baseConfig.d.ts +1 -0
  49. package/dist/types/widgets/EodashMap/methods/index.d.ts +1 -1
  50. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +1 -1
  51. package/dist/types/widgets/EodashStacInfo.vue.d.ts +140 -25
  52. package/package.json +35 -31
  53. package/templates/baseConfig.js +5 -14
  54. package/templates/compare.js +1 -1
  55. package/widgets/EodashMap/EodashMapBtns.vue +15 -12
  56. package/widgets/EodashMap/index.vue +5 -1
  57. package/widgets/EodashMap/methods/index.js +13 -4
  58. package/widgets/EodashProcess/methods/utils.js +22 -31
  59. package/widgets/EodashStacInfo.vue +40 -5
  60. package/dist/client/EodashMapBtns-Ce2tFjJK.js +0 -433
  61. package/dist/client/MobileLayout-BwXCBKFL.js +0 -118
  62. package/dist/client/asWebComponent-C5YMrXyg.js +0 -9206
@@ -1,13 +1,13 @@
1
- import { onMounted, onUnmounted, watch, computed, withAsyncContext, useTemplateRef, ref, toRaw, createElementBlock, openBlock, createElementVNode, createCommentVNode, unref, normalizeStyle, createVNode } from 'vue';
1
+ import { onMounted, onUnmounted, watch, computed, withAsyncContext, useTemplateRef, ref, toRaw, openBlock, createElementBlock, createElementVNode, unref, normalizeStyle, createCommentVNode, 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-Bi-qmnbZ.js';
4
+ import { U as setMapProjFromCol, E as mapPosition, R as sanitizeBbox, i as mapEl, S as mapCompareEl, F as indicator, I as compareIndicator, C as poi, V as isGlobe, B as datetime } from './helpers-CZFH0EVN.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-C5YMrXyg.js';
6
+ import { R as EodashCollection, H as useSTAcStore, S as useEmitLayersUpdate, T as isFirstLoad, N as useOnLayersUpdate, _ as _export_sfc, G as useDisplay, a as useLayout, Q as layerControlFormValue, P as layerControlFormValueCompare, M as eodashCompareCollections, L as eodashCollections } from './asWebComponent-DDt7V3Bl.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-Ce2tFjJK.js';
10
+ import EodashMapBtns from './EodashMapBtns-BJSh7qT-.js';
11
11
 
12
12
  /**
13
13
  * Creates full layer configuration from indicator and time information
@@ -414,15 +414,24 @@ const useInitMap = (
414
414
  *
415
415
  * @param {import("@/eodashSTAC/EodashCollection").EodashCollection[]} eodashCols
416
416
  * @param {import("vue").Ref<Exclude<import("@/types").EodashStyleJson["tooltip"],undefined>>} tooltipProperties
417
+ * @param {boolean} enableCompare
417
418
  */
418
419
 
419
- const useUpdateTooltipProperties = (eodashCols, tooltipProperties) => {
420
+ const useUpdateTooltipProperties = (
421
+ eodashCols,
422
+ tooltipProperties,
423
+ enableCompare = false,
424
+ ) => {
425
+ /**
426
+ * Listen to events related to the main or compare map based on the enableCompare flag
427
+ * @param {string} evt */
428
+ const listenTo = (evt) =>
429
+ enableCompare ? evt.includes("compare") : !evt.includes("compare");
420
430
  useOnLayersUpdate(async (evt, _payload) => {
421
- if (evt.includes("compare")) {
422
- // TODO: support compare map tooltips
423
- // Do not update tooltip properties on compare map
431
+ if (!listenTo(evt)) {
424
432
  return;
425
433
  }
434
+
426
435
  const tooltips = [];
427
436
  for (const ec of eodashCols) {
428
437
  tooltips.push(...(await ec.getToolTipProperties()));
@@ -432,7 +441,7 @@ const useUpdateTooltipProperties = (eodashCols, tooltipProperties) => {
432
441
  });
433
442
  };
434
443
 
435
- const _style_0 = "#cursor-coordinates[data-v-965b3ae7]{position:fixed;left:24px;bottom:54px;color:#000000e6;font-size:10px;font-family:var(--eox-body-font-family);background:#fffe;border-radius:4px;border:none;padding:0 3px;max-height:24px}@media(max-width:959px){#cursor-coordinates[data-v-965b3ae7]{display:none}}#scale-line[data-v-965b3ae7]{position:fixed;left:24px;bottom:28px;color:#fff}@media(max-width:959px){#scale-line[data-v-965b3ae7]{bottom:102px}}[data-v-965b3ae7] .ol-scale-line{background:#fffe!important;border-radius:4px!important;border:none!important;padding:0 3px 3px!important;font-size:10px!important;font-family:var(--eox-body-font-family);max-height:20px}[data-v-965b3ae7] .ol-scale-line-inner{display:flex;justify-content:center;border:1px solid rgba(0,0,0,.5)!important;border-top:none!important;color:#333!important;font-weight:500!important;transform:translateY(1px)}.map-buttons-container[data-v-965b3ae7]{position:fixed;left:0;width:100%;height:100%;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(12,1fr);pointer-events:none;z-index:1}.map-buttons-container[data-v-965b3ae7]>*{pointer-events:auto}";
444
+ const _style_0 = "#cursor-coordinates[data-v-df7611e7]{position:fixed;left:24px;bottom:54px;color:#000000e6;font-size:10px;font-family:var(--eox-body-font-family);background:#fffe;border-radius:4px;border:none;padding:0 3px;max-height:24px}@media(max-width:959px){#cursor-coordinates[data-v-df7611e7]{display:none}}#scale-line[data-v-df7611e7]{position:fixed;left:24px;bottom:28px;color:#fff}@media(max-width:959px){#scale-line[data-v-df7611e7]{bottom:102px}}[data-v-df7611e7] .ol-scale-line{background:#fffe!important;border-radius:4px!important;border:none!important;padding:0 3px 3px!important;font-size:10px!important;font-family:var(--eox-body-font-family);max-height:20px}[data-v-df7611e7] .ol-scale-line-inner{display:flex;justify-content:center;border:1px solid rgba(0,0,0,.5)!important;border-top:none!important;color:#333!important;font-weight:500!important;transform:translateY(1px)}.map-buttons-container[data-v-df7611e7]{position:fixed;left:0;width:100%;height:100%;display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:repeat(12,1fr);pointer-events:none;z-index:1}.map-buttons-container[data-v-df7611e7]>*{pointer-events:auto}";
436
445
 
437
446
  const _hoisted_1 = [".enabled"];
438
447
  const _hoisted_2 = [".center", ".zoom", ".layers", ".controls"];
@@ -677,7 +686,11 @@ onMounted(() => {
677
686
  false,
678
687
  );
679
688
 
680
- useUpdateTooltipProperties(eodashCollections, compareTooltipProperties);
689
+ useUpdateTooltipProperties(
690
+ eodashCollections,
691
+ compareTooltipProperties,
692
+ true,
693
+ );
681
694
  }
682
695
 
683
696
  useInitMap(
@@ -824,6 +837,6 @@ return (_ctx, _cache) => {
824
837
  }
825
838
 
826
839
  };
827
- const index = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-965b3ae7"]]);
840
+ const index = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]],['__scopeId',"data-v-df7611e7"]]);
828
841
 
829
842
  export { index as default };
@@ -1,15 +1,15 @@
1
- import { onMounted, watch, nextTick, ref, useTemplateRef, computed, createElementBlock, openBlock, createVNode, createCommentVNode, createBlock, createElementVNode, unref, withCtx, createTextVNode } from 'vue';
1
+ import { onMounted, watch, nextTick, ref, useTemplateRef, computed, openBlock, createElementBlock, createVNode, unref, createCommentVNode, createBlock, createElementVNode, withCtx, createTextVNode } from 'vue';
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-C5YMrXyg.js';
5
+ import { U as eoxLayersKey, N as useOnLayersUpdate, _ as _export_sfc, H as useSTAcStore, J as VBtn } from './asWebComponent-DDt7V3Bl.js';
6
6
  import { storeToRefs } from 'pinia';
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';
7
+ import { P as ProcessList, c as compareJobs, j as jobs } from './ProcessList-RzVqbd5E.js';
8
+ import EodashChart from './EodashChart-p7_1FRlF.js';
9
+ import { i as initProcess, u as updateJsonformIdentifier, h as handleProcesses } from './handling-C285F_Mq.js';
10
10
  import { useEventBus } from '@vueuse/core';
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';
11
+ import { u as updateJobsStatus, d as download, g as getDrawToolsProperty } from './async-CT3KEV52.js';
12
+ import { I as compareIndicator, F as indicator, S as mapCompareEl, i as mapEl, M as areChartsSeparateLayout, O as compareChartSpec, N as chartSpec } from './helpers-CZFH0EVN.js';
13
13
  import { mdiCogPlayOutline, mdiDownloadCircleOutline } from '@mdi/js';
14
14
 
15
15
  /**
@@ -1,9 +1,9 @@
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-C5YMrXyg.js';
3
- import { G as indicator, j as mapEl, R as sanitizeBbox, d as axios } from './helpers-Bi-qmnbZ.js';
1
+ import { onMounted, onUnmounted, withAsyncContext, useTemplateRef, ref, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, unref, toDisplayString } from 'vue';
2
+ import { H as useSTAcStore, N as useOnLayersUpdate, _ as _export_sfc, O as VRow } from './asWebComponent-DDt7V3Bl.js';
3
+ import { F as indicator, i as mapEl, R as sanitizeBbox, d as axios } from './helpers-CZFH0EVN.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-B4oI5PAx.js';
6
+ import _sfc_main$1 from './EodashLayoutSwitcher-CC2Znd0I.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-C5YMrXyg.js';
3
- import { V as VTooltip } from './VTooltip-CAkym6KY.js';
2
+ import { a0 as consoleError, a1 as isObject } from './asWebComponent-DDt7V3Bl.js';
3
+ import { V as VTooltip } from './VTooltip-BbmvtvYw.js';
4
4
 
5
5
  // Utilities
6
6
  function useDirectiveComponent(component, props) {
@@ -1,5 +1,5 @@
1
1
  import { mdiViewDashboardVariant, mdiViewDashboard } from '@mdi/js';
2
- import { P as includesProcess, Q as shouldShowChartWidget } from './helpers-Bi-qmnbZ.js';
2
+ import { P as includesProcess, Q as shouldShowChartWidget } from './helpers-CZFH0EVN.js';
3
3
 
4
4
  /**
5
5
  * Special values that tell deepmerge to perform a certain action.
@@ -812,7 +812,7 @@ const compare = {
812
812
  widget: {
813
813
  name: "EodashDatePicker",
814
814
  properties: {
815
- hintText: `<b>Hint:</b> closest available date is displayed<br />
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,21 +896,12 @@ const baseConfig = {
896
896
  stacEndpoint: {
897
897
  endpoint:
898
898
  "https://esa-eodashboards.github.io/eodashboard-catalog/trilateral/catalog.json",
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",
899
+ // "https://api.explorer.eopf.copernicus.eu/stac",
911
900
  // api: true,
912
- // rasterEndpoint: "https://api.explorer.eopf.copernicus.eu/raster/",
913
- api: false,
901
+ supportedUpscalingEndpoints: [
902
+ "openveda.cloud",
903
+ "api.explorer.eopf.copernicus.eu",
904
+ ],
914
905
  },
915
906
  brand: {
916
907
  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-C5YMrXyg.js';
2
+ import { p as propsFactory, a1 as isObject, aH as onlyDefinedProps } from './asWebComponent-DDt7V3Bl.js';
3
3
 
4
4
  // Utilities
5
5
  const makeTransitionProps = propsFactory({
@@ -37,7 +37,7 @@ export class EodashCollection {
37
37
  type: string;
38
38
  projection: string;
39
39
  attributions: unknown;
40
- url: string;
40
+ url: string | string[];
41
41
  };
42
42
  properties: {
43
43
  layerConfig?: {
@@ -61,9 +61,6 @@ export class EodashCollection {
61
61
  sources: {
62
62
  url: string;
63
63
  attributions: unknown;
64
- } | {
65
- url: string;
66
- attributions: unknown;
67
64
  }[];
68
65
  };
69
66
  properties: {
@@ -174,6 +171,6 @@ export class EodashCollection {
174
171
  * @param {string} layer
175
172
  * @param {string} map
176
173
  */
177
- updateLayerJson(datetime: string, layer: string, map: string): Promise<Record<string, any>[] | undefined>;
174
+ updateLayerJson(datetime: string, layer: string, map: string): Promise<import("@eox/map/src/layers").EoxLayer[] | undefined>;
178
175
  #private;
179
176
  }
@@ -2,6 +2,10 @@
2
2
  * Generic handler for possible authentications schemes as defined in STAC authentication extension.
3
3
  * @param {import("../types").StacAuthItem } item
4
4
  * @param {import("../types").StacAuthLink | import("../types").StacAuthAsset} linkOrAsset
5
- * @returns {string}
5
+ * @param { object | undefined } optionsObject // generic object to pass options to handlers and modify them if needed
6
+ * @returns {{url: string, optionsObject: object | undefined}}
6
7
  */
7
- export function handleAuthenticationOfLink(item: import("../types").StacAuthItem, linkOrAsset: import("../types").StacAuthLink | import("../types").StacAuthAsset): string;
8
+ export function handleAuthenticationOfLink(item: import("../types").StacAuthItem, linkOrAsset: import("../types").StacAuthLink | import("../types").StacAuthAsset, optionsObject: object | undefined): {
9
+ url: string;
10
+ optionsObject: object | undefined;
11
+ };
@@ -40,7 +40,7 @@ export function createLayersFromAssets(collectionId: string, title: string, asse
40
40
  type: string;
41
41
  projection: string;
42
42
  attributions: unknown;
43
- url: string;
43
+ url: string | string[];
44
44
  };
45
45
  properties: {
46
46
  layerConfig?: {
@@ -64,9 +64,6 @@ export function createLayersFromAssets(collectionId: string, title: string, asse
64
64
  sources: {
65
65
  url: string;
66
66
  attributions: unknown;
67
- } | {
68
- url: string;
69
- attributions: unknown;
70
67
  }[];
71
68
  };
72
69
  properties: {
@@ -513,8 +513,7 @@ export function extractLayerTimeValues(items?: import("stac-ts").StacLink[] | im
513
513
  };
514
514
  export function findLayersByLayerPrefix(layers: import("@eox/map").EoxLayer[], referenceLayer: import("@eox/map").EoxLayer | undefined): import("@eox/map").EoxLayer[];
515
515
  export function findLayer(layers: import("@eox/map").EoxLayer[], layer: string): import("@eox/map").EoxLayer | undefined;
516
- export function replaceLayersInStructure(layers: import("@eox/map").EoxLayer[], toRemove: import("@eox/map").EoxLayer[], toInsert: Record<string, any>[]): Record<string, any>[];
517
- export function replaceLayer(currentLayers: import("@eox/map").EoxLayer[], oldLayer: string, newLayers: import("@eox/map").EoxLayer[]): import("@eox/map").EoxLayer[];
516
+ export function replaceLayer(layers: import("@eox/map").EoxLayer[], toRemove: string | string[], toInsert: import("@eox/map").EoxLayer[]): import("@eox/map").EoxLayer[];
518
517
  export function getColFromLayer(indicators: import("../eodashSTAC/EodashCollection.js").EodashCollection[], layer: import("ol/layer").Layer): Promise<import("../eodashSTAC/EodashCollection.js").EodashCollection | undefined>;
519
518
  export function createLayerID(collectionId: string, itemId: string, link: import("stac-ts").StacLink, projectionCode: string | import("ol/proj").ProjectionLike): string;
520
519
  export function createAssetID(collectionId: string, itemId: string, index: number): string;
@@ -10,7 +10,8 @@ export const useSTAcStore: import("pinia").StoreDefinition<"stac", Pick<{
10
10
  selectedStac: import("vue").Ref<import("stac-ts").StacCollection | null, import("stac-ts").StacCollection | null>;
11
11
  selectedCompareStac: import("vue").Ref<import("stac-ts").StacCollection | null, import("stac-ts").StacCollection | null>;
12
12
  selectedItem: import("vue").Ref<import("stac-ts").StacLink | import("stac-ts").StacItem | null, import("stac-ts").StacLink | import("stac-ts").StacItem | null>;
13
- }, "stacEndpoint" | "isApi" | "stac" | "selectedStac" | "selectedCompareStac" | "selectedItem">, Pick<{
13
+ supportedUpscalingEndpoints: import("vue").Ref<string[], string[]>;
14
+ }, "stac" | "stacEndpoint" | "isApi" | "selectedStac" | "selectedCompareStac" | "selectedItem" | "supportedUpscalingEndpoints">, Pick<{
14
15
  stacEndpoint: import("vue").Ref<string | null, string | null>;
15
16
  isApi: import("vue").Ref<boolean, boolean>;
16
17
  stac: import("vue").Ref<import("stac-ts").StacLink[] | null, import("stac-ts").StacLink[] | null>;
@@ -22,6 +23,7 @@ export const useSTAcStore: import("pinia").StoreDefinition<"stac", Pick<{
22
23
  selectedStac: import("vue").Ref<import("stac-ts").StacCollection | null, import("stac-ts").StacCollection | null>;
23
24
  selectedCompareStac: import("vue").Ref<import("stac-ts").StacCollection | null, import("stac-ts").StacCollection | null>;
24
25
  selectedItem: import("vue").Ref<import("stac-ts").StacLink | import("stac-ts").StacItem | null, import("stac-ts").StacLink | import("stac-ts").StacItem | null>;
26
+ supportedUpscalingEndpoints: import("vue").Ref<string[], string[]>;
25
27
  }, never>, Pick<{
26
28
  stacEndpoint: import("vue").Ref<string | null, string | null>;
27
29
  isApi: import("vue").Ref<boolean, boolean>;
@@ -34,4 +36,5 @@ export const useSTAcStore: import("pinia").StoreDefinition<"stac", Pick<{
34
36
  selectedStac: import("vue").Ref<import("stac-ts").StacCollection | null, import("stac-ts").StacCollection | null>;
35
37
  selectedCompareStac: import("vue").Ref<import("stac-ts").StacCollection | null, import("stac-ts").StacCollection | null>;
36
38
  selectedItem: import("vue").Ref<import("stac-ts").StacLink | import("stac-ts").StacItem | null, import("stac-ts").StacLink | import("stac-ts").StacItem | null>;
39
+ supportedUpscalingEndpoints: import("vue").Ref<string[], string[]>;
37
40
  }, "init" | "loadSTAC" | "loadSelectedSTAC" | "loadSelectedCompareSTAC" | "resetSelectedCompareSTAC">>;
@@ -251,6 +251,7 @@ export type StacEndpoint = string | {
251
251
  api?: boolean;
252
252
  rasterEndpoint?: string;
253
253
  vectorEndpoint?: string;
254
+ supportedUpscalingEndpoints?: string[];
254
255
  };
255
256
  /** @group Eodash */
256
257
  export interface EodashFont {
@@ -30,6 +30,7 @@ export function getBaseConfig(config: import("vega-lite").DeepPartial<import("..
30
30
  api?: boolean;
31
31
  rasterEndpoint?: string;
32
32
  vectorEndpoint?: string;
33
+ supportedUpscalingEndpoints?: string[];
33
34
  });
34
35
  brand: {
35
36
  noLayout?: boolean;
@@ -2,4 +2,4 @@ export function useHandleMapMoveEnd(mapElement: import("vue").Ref<(HTMLElement &
2
2
  map: import("ol").Map;
3
3
  }) | null>, mapPosition: import("vue").Ref<(number | undefined)[]>): void;
4
4
  export function useInitMap(mapElement: import("vue").Ref<import("@eox/map").EOxMap | null>, selectedIndicator: import("vue").Ref<import("stac-ts").StacCollection | null>, eodashCols: import("../../../core/client/eodashSTAC/EodashCollection").EodashCollection[], datetime: import("vue").Ref<string>, mapLayers: import("vue").Ref<Record<string, any>[]>, partnerMap: import("vue").Ref<import("@eox/map").EOxMap | null>, zoomToExtent: boolean, selectedItem?: import("vue").Ref<import("stac-ts").StacItem | import("stac-ts").StacLink | null>): void;
5
- export function useUpdateTooltipProperties(eodashCols: import("../../../core/client/eodashSTAC/EodashCollection").EodashCollection[], tooltipProperties: import("vue").Ref<Exclude<import("../../../core/client/types").EodashStyleJson["tooltip"], undefined>>): void;
5
+ export function useUpdateTooltipProperties(eodashCols: import("../../../core/client/eodashSTAC/EodashCollection").EodashCollection[], tooltipProperties: import("vue").Ref<Exclude<import("../../../core/client/types").EodashStyleJson["tooltip"], undefined>>, enableCompare?: boolean): void;
@@ -2,4 +2,4 @@
2
2
  *
3
3
  * @param {import("../../../../EodashProcess/types").CustomEnpointInput} param0
4
4
  */
5
- export function handleEOxHubEndpoint({ links, jsonformValue, isPolling, selectedStac, jobs, enableCompare, }: import("../../../../EodashProcess/types").CustomEnpointInput): Promise<(import("@eox/map/src/layers").EOxLayerType<"Vector", "Vector"> | import("@eox/map/src/layers").EOxLayerType<"Vector", "FlatGeoBuf"> | import("@eox/map/src/layers").EOxLayerType<"Vector", "Cluster"> | import("@eox/map/src/layers").EOxLayerType<"VectorTile", "VectorTile"> | import("@eox/map/src/layers").EOxLayerType<"WebGLTile", "GeoTIFF"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "OSM"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "WMTSCapabilities"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "StadiaMaps"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "WMTS"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "XYZ"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileJSON"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileArcGISRest"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileDebug"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileImage"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileWMS"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "UrlTile"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "BingMaps"> | import("@eox/map/src/layers").EOxLayerType<"Image", "Image"> | import("@eox/map/src/layers").EOxLayerType<"Image", "ImageCanvas"> | import("@eox/map/src/layers").EOxLayerType<"Image", "ImageStatic"> | import("@eox/map/src/layers").EOxLayerType<"Image", "ImageWMS"> | import("@eox/map/src/layers").EOxLayerType<"Image", "Raster"> | import("@eox/map/src/layers").EOxLayerType<"Image", "IIIF"> | import("@eox/map/src/layers").EOxLayerTypeMapboxStyle | import("@eox/map/src/layers").EOxLayerTypeGroup)[] | undefined>;
5
+ export function handleEOxHubEndpoint({ links, jsonformValue, isPolling, selectedStac, jobs, enableCompare, }: import("../../../../EodashProcess/types").CustomEnpointInput): Promise<(import("@eox/map/src/layers").EOxLayerType<"Vector", "Vector"> | import("@eox/map/src/layers").EOxLayerType<"Vector", "FlatGeoBuf"> | import("@eox/map/src/layers").EOxLayerType<"Vector", "Cluster"> | import("@eox/map/src/layers").EOxLayerType<"VectorTile", "VectorTile"> | import("@eox/map/src/layers").EOxLayerType<"WebGLTile", "GeoTIFF"> | import("@eox/map/src/layers").EOxLayerType<"WebGLTile", "GeoZarr"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "OSM"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "WMTSCapabilities"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "StadiaMaps"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "WMTS"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "XYZ"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileJSON"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileArcGISRest"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileDebug"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileImage"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "TileWMS"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "UrlTile"> | import("@eox/map/src/layers").EOxLayerType<"Tile", "BingMaps"> | import("@eox/map/src/layers").EOxLayerType<"Image", "Image"> | import("@eox/map/src/layers").EOxLayerType<"Image", "ImageCanvas"> | import("@eox/map/src/layers").EOxLayerType<"Image", "ImageStatic"> | import("@eox/map/src/layers").EOxLayerType<"Image", "ImageWMS"> | import("@eox/map/src/layers").EOxLayerType<"Image", "Raster"> | import("@eox/map/src/layers").EOxLayerType<"Image", "IIIF"> | import("@eox/map/src/layers").EOxLayerTypeMapboxStyle | import("@eox/map/src/layers").EOxLayerTypeGroup)[] | undefined>;
@@ -6,28 +6,78 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
6
6
  default: boolean;
7
7
  };
8
8
  header: {
9
- /** @type {import("vue").PropType<string[]>} */
10
- type: import("vue").PropType<string[]>;
9
+ /**
10
+ * @type {import("vue").PropType<
11
+ * (string | {
12
+ * key: string,
13
+ * filter?: (item: any) => boolean
14
+ * })[]
15
+ * >}
16
+ */
17
+ type: import("vue").PropType<(string | {
18
+ key: string;
19
+ filter?: (item: any) => boolean;
20
+ })[]>;
11
21
  default: () => string[];
12
22
  };
13
23
  tags: {
14
- /** @type {import("vue").PropType<string[]>} */
15
- type: import("vue").PropType<string[]>;
24
+ /**
25
+ * @type {import("vue").PropType<
26
+ * (string | {
27
+ * key: string,
28
+ * filter?: (item: any) => boolean
29
+ * })[]
30
+ * >}
31
+ */
32
+ type: import("vue").PropType<(string | {
33
+ key: string;
34
+ filter?: (item: any) => boolean;
35
+ })[]>;
16
36
  default: () => string[];
17
37
  };
18
38
  body: {
19
- /** @type {import("vue").PropType<string[]>} */
20
- type: import("vue").PropType<string[]>;
39
+ /**
40
+ * @type {import("vue").PropType<
41
+ * (string | {
42
+ * key: string,
43
+ * filter?: (item: any) => boolean
44
+ * })[]
45
+ * >}
46
+ */
47
+ type: import("vue").PropType<(string | {
48
+ key: string;
49
+ filter?: (item: any) => boolean;
50
+ })[]>;
21
51
  default: () => string[];
22
52
  };
23
53
  featured: {
24
- /** @type {import("vue").PropType<string[]>} */
25
- type: import("vue").PropType<string[]>;
54
+ /**
55
+ * @type {import("vue").PropType<
56
+ * (string | {
57
+ * key: string,
58
+ * filter?: (item: any) => boolean
59
+ * })[]
60
+ * >}
61
+ */
62
+ type: import("vue").PropType<(string | {
63
+ key: string;
64
+ filter?: (item: any) => boolean;
65
+ })[]>;
26
66
  default: () => string[];
27
67
  };
28
68
  footer: {
29
- /** @type {import("vue").PropType<string[]>} */
30
- type: import("vue").PropType<string[]>;
69
+ /**
70
+ * @type {import("vue").PropType<
71
+ * (string | {
72
+ * key: string,
73
+ * filter?: (item: any) => boolean
74
+ * })[]
75
+ * >}
76
+ */
77
+ type: import("vue").PropType<(string | {
78
+ key: string;
79
+ filter?: (item: any) => boolean;
80
+ })[]>;
31
81
  default: () => string[];
32
82
  };
33
83
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -36,35 +86,100 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
36
86
  default: boolean;
37
87
  };
38
88
  header: {
39
- /** @type {import("vue").PropType<string[]>} */
40
- type: import("vue").PropType<string[]>;
89
+ /**
90
+ * @type {import("vue").PropType<
91
+ * (string | {
92
+ * key: string,
93
+ * filter?: (item: any) => boolean
94
+ * })[]
95
+ * >}
96
+ */
97
+ type: import("vue").PropType<(string | {
98
+ key: string;
99
+ filter?: (item: any) => boolean;
100
+ })[]>;
41
101
  default: () => string[];
42
102
  };
43
103
  tags: {
44
- /** @type {import("vue").PropType<string[]>} */
45
- type: import("vue").PropType<string[]>;
104
+ /**
105
+ * @type {import("vue").PropType<
106
+ * (string | {
107
+ * key: string,
108
+ * filter?: (item: any) => boolean
109
+ * })[]
110
+ * >}
111
+ */
112
+ type: import("vue").PropType<(string | {
113
+ key: string;
114
+ filter?: (item: any) => boolean;
115
+ })[]>;
46
116
  default: () => string[];
47
117
  };
48
118
  body: {
49
- /** @type {import("vue").PropType<string[]>} */
50
- type: import("vue").PropType<string[]>;
119
+ /**
120
+ * @type {import("vue").PropType<
121
+ * (string | {
122
+ * key: string,
123
+ * filter?: (item: any) => boolean
124
+ * })[]
125
+ * >}
126
+ */
127
+ type: import("vue").PropType<(string | {
128
+ key: string;
129
+ filter?: (item: any) => boolean;
130
+ })[]>;
51
131
  default: () => string[];
52
132
  };
53
133
  featured: {
54
- /** @type {import("vue").PropType<string[]>} */
55
- type: import("vue").PropType<string[]>;
134
+ /**
135
+ * @type {import("vue").PropType<
136
+ * (string | {
137
+ * key: string,
138
+ * filter?: (item: any) => boolean
139
+ * })[]
140
+ * >}
141
+ */
142
+ type: import("vue").PropType<(string | {
143
+ key: string;
144
+ filter?: (item: any) => boolean;
145
+ })[]>;
56
146
  default: () => string[];
57
147
  };
58
148
  footer: {
59
- /** @type {import("vue").PropType<string[]>} */
60
- type: import("vue").PropType<string[]>;
149
+ /**
150
+ * @type {import("vue").PropType<
151
+ * (string | {
152
+ * key: string,
153
+ * filter?: (item: any) => boolean
154
+ * })[]
155
+ * >}
156
+ */
157
+ type: import("vue").PropType<(string | {
158
+ key: string;
159
+ filter?: (item: any) => boolean;
160
+ })[]>;
61
161
  default: () => string[];
62
162
  };
63
163
  }>> & Readonly<{}>, {
64
- body: string[];
65
- footer: string[];
66
- header: string[];
164
+ body: (string | {
165
+ key: string;
166
+ filter?: (item: any) => boolean;
167
+ })[];
168
+ footer: (string | {
169
+ key: string;
170
+ filter?: (item: any) => boolean;
171
+ })[];
172
+ header: (string | {
173
+ key: string;
174
+ filter?: (item: any) => boolean;
175
+ })[];
67
176
  allowHtml: boolean;
68
- tags: string[];
69
- featured: string[];
177
+ tags: (string | {
178
+ key: string;
179
+ filter?: (item: any) => boolean;
180
+ })[];
181
+ featured: (string | {
182
+ key: string;
183
+ filter?: (item: any) => boolean;
184
+ })[];
70
185
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;