@eodash/eodash 5.0.0-rc.2.4 → 5.0.0-rc.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/core/client/composables/EodashProcess.js +34 -4
  2. package/core/client/eodashSTAC/createLayers.js +1 -0
  3. package/core/client/types.ts +3 -3
  4. package/core/client/vite-env.d.ts +0 -13
  5. package/dist/client/{DashboardLayout-D1UcB3RV.js → DashboardLayout-BX3Sm_Vx.js} +2 -2
  6. package/dist/client/{DynamicWebComponent-DtZ_mHL9.js → DynamicWebComponent-BqoHM1np.js} +1 -1
  7. package/dist/client/{EodashDatePicker-CYU0MZX5.js → EodashDatePicker-BoWV2vc8.js} +2 -2
  8. package/dist/client/{EodashItemFilter-SE9oW3oZ.js → EodashItemFilter-127fZLyK.js} +1 -1
  9. package/dist/client/{EodashLayerControl-BuGe29Nt.js → EodashLayerControl-B-pZaizw.js} +1 -1
  10. package/dist/client/{EodashLayoutSwitcher-6wLl-Gtd.js → EodashLayoutSwitcher-DwexHfOD.js} +2 -2
  11. package/dist/client/{EodashMap-DhVCoYMi.js → EodashMap-BSR7_wRA.js} +7 -3
  12. package/dist/client/{EodashMapBtns-BWWu6eHG.js → EodashMapBtns-Jfn3bpWD.js} +4 -4
  13. package/dist/client/{EodashProcess-GSj_LMsK.js → EodashProcess-CpbZPYBp.js} +35 -7
  14. package/dist/client/{EodashStacInfo-DjRSGLHM.js → EodashStacInfo-STq_bW7S.js} +1 -1
  15. package/dist/client/{EodashTools-CJ4hBH_X.js → EodashTools-uxSuJhVJ.js} +4 -4
  16. package/dist/client/{ExportState-BqnlEpzR.js → ExportState-Ckcb6u01.js} +4 -4
  17. package/dist/client/{Footer-C_3WrfI4.js → Footer-C8JP-coH.js} +1 -1
  18. package/dist/client/{Header-D_hcGpNG.js → Header-Dxx7q9FW.js} +3 -3
  19. package/dist/client/{MobileLayout-CDbupC9v.js → MobileLayout-BE19Peep.js} +5 -5
  20. package/dist/client/{PopUp-Ba6mY2jQ.js → PopUp-D3IyjsN4.js} +3 -3
  21. package/dist/client/{VImg-Yc9F9pYq.js → VImg-BmCNSu3X.js} +2 -2
  22. package/dist/client/{VMain-BiS7HPEk.js → VMain-eZDKIfmJ.js} +1 -1
  23. package/dist/client/{VOverlay-B9mxXaCv.js → VOverlay-BS-E4Z6g.js} +3 -3
  24. package/dist/client/{VTooltip-XJLaLrZQ.js → VTooltip-BMsliOuh.js} +3 -3
  25. package/dist/client/{WidgetsContainer-DRVb_73N.js → WidgetsContainer-Cl6M5R5c.js} +1 -1
  26. package/dist/client/{asWebComponent-DZpMGxEY.js → asWebComponent-Df8nUiLs.js} +8 -7
  27. package/dist/client/eo-dash.js +1 -1
  28. package/dist/client/{forwardRefs-BtkfywIE.js → forwardRefs-lhDuXD-N.js} +1 -1
  29. package/dist/client/{index-f55xuyof.js → index-Bt5GEGxl.js} +1 -1
  30. package/dist/client/{transition-CtL4BoVi.js → transition-DHEuQX4I.js} +1 -1
  31. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +11 -6
  32. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +6 -5
  33. package/dist/types/core/client/eodashSTAC/helpers.d.ts +382 -2
  34. package/dist/types/core/client/types.d.ts +2 -2
  35. package/dist/types/widgets/PopUp.vue.d.ts +2 -2
  36. package/package.json +6 -5
  37. package/widgets/EodashMap.vue +6 -2
  38. package/widgets/EodashProcess.vue +0 -2
@@ -184,7 +184,6 @@ export function extractGeometries(jsonformValue, jsonformSchema) {
184
184
  * @param {import("@eox/jsonform").EOxJSONForm | null} jsonFormEl
185
185
  **/
186
186
  export function injectJsonformCSS(jsonFormEl) {
187
- //@ts-expect-error TODO
188
187
  if (!jsonFormEl?.shadowRoot) {
189
188
  console.error("jsonform has no shadowRoot");
190
189
  return;
@@ -193,7 +192,6 @@ export function injectJsonformCSS(jsonFormEl) {
193
192
  stylesheet.replaceSync(`.je-indented-panel {
194
193
  border: none !important;
195
194
  }`);
196
- //@ts-expect-error TODO
197
195
  jsonFormEl.shadowRoot.adoptedStyleSheets = [stylesheet];
198
196
  }
199
197
 
@@ -440,6 +438,9 @@ export async function handleProcesses({
440
438
  isPolling,
441
439
  processResults,
442
440
  }) {
441
+ if (!jsonformEl.value || !jsonformSchema.value || !selectedStac.value) {
442
+ return;
443
+ }
443
444
  log.debug("Processing...");
444
445
  loading.value = true;
445
446
  try {
@@ -448,7 +449,6 @@ export async function handleProcesses({
448
449
  );
449
450
  const bboxProperty = getBboxProperty(jsonformSchema.value);
450
451
  const jsonformValue = /** @type {Record<string,any>} */ (
451
- //@ts-expect-error todo
452
452
  jsonformEl.value?.value
453
453
  );
454
454
 
@@ -604,13 +604,43 @@ export async function initProcess({
604
604
  processResults,
605
605
  });
606
606
  if (selectedStac.value["eodash:jsonform"]) {
607
- //@ts-expect-error todo
608
607
  jsonformEl.value?.editor.destroy();
609
608
  // wait for the layers to be rendered
610
609
  jsonformSchema.value = await axios
611
610
  //@ts-expect-error eodash extention
612
611
  .get(selectedStac.value["eodash:jsonform"])
613
612
  .then((resp) => resp.data);
613
+ // jsonformSchema.value = {
614
+ // "options": {
615
+ // "execute": true
616
+ // },
617
+ // "type": "object",
618
+ // "properties": {
619
+ // "feature": {
620
+ // "type": "string",
621
+ // "title": "Select feature on map",
622
+ // "options": {
623
+ // drawtools:{
624
+ // "for": "eox-map#main",
625
+ // "layerId": "geodb-collection",
626
+ // featureStyles:{
627
+ // /** @type {import("ol/")} */
628
+ // layer: {
629
+
630
+ // },
631
+ // // hover:{},
632
+ // click:{
633
+ // "stroke-width": 2,
634
+ // "stroke-color": "red",
635
+ // }
636
+ // }
637
+ // },
638
+ // "featureProperty": "id"
639
+ // },
640
+ // "format": "feature"
641
+ // }
642
+ // }
643
+ // }
614
644
  // remove borders from jsonform
615
645
  await nextTick(() => {
616
646
  injectJsonformCSS(jsonformEl.value);
@@ -137,6 +137,7 @@ export async function createLayersFromAssets(
137
137
  }),
138
138
  },
139
139
  ...(!style?.variables && { style }),
140
+ interactions:[],
140
141
  };
141
142
 
142
143
  layer.properties = { ...layer.properties, ...(extraProperties ?? {}) };
@@ -323,10 +323,10 @@ export declare const store: typeof import("@/store").default;
323
323
  /////
324
324
 
325
325
  export * from "./main.js";
326
- //@ts-expect-error todo
327
- export type EodashStyleJson = import("ol/style/webgl.js").WebGLStyle & {
326
+
327
+ export type EodashStyleJson = import("ol/style/flat").FlatStyleLike & {
328
328
  variables?: Record<string, string | number | boolean | null | undefined>;
329
329
  legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
330
- jsonform?: Record<string, any>;
330
+ jsonform?: import("json-schema").JSONSchema7;
331
331
  tooltip?: { id: string; title?: string; appendix?: string }[];
332
332
  };
@@ -5,19 +5,6 @@ declare module "*.vue" {
5
5
  const component: DefineComponent<object, object, unknown>;
6
6
  export default component;
7
7
  }
8
- declare module "@eox/jsonform" {
9
- class EOxJSONForm extends import("lit").LitElement{
10
- constructor(){
11
- super();
12
- }
13
- }
14
- export { EOxJSONForm };
15
- }
16
-
17
- declare module "@eox/jsonform/src/custom-inputs/spatial/utils" {
18
- const isMulti:(value:any)=> boolean;
19
- export { isMulti };
20
- }
21
8
  declare interface Window {
22
9
  eodashStore: typeof import("@/store").default;
23
10
  setEodashLoglevel: typeof import("loglevel").setLevel;
@@ -1,7 +1,7 @@
1
1
  import { createBlock, openBlock, withCtx, createElementVNode, normalizeStyle, unref, createElementBlock, createCommentVNode, Suspense, resolveDynamicComponent, mergeProps, Fragment, renderList, Transition } from 'vue';
2
2
  import '@eox/layout';
3
- import { _ as _export_sfc, F as useDefineTemplate } from './asWebComponent-DZpMGxEY.js';
4
- import { V as VMain } from './VMain-BiS7HPEk.js';
3
+ import { _ as _export_sfc, F as useDefineTemplate } from './asWebComponent-Df8nUiLs.js';
4
+ import { V as VMain } from './VMain-eZDKIfmJ.js';
5
5
 
6
6
  const _hoisted_1 = ["gap"];
7
7
  const _hoisted_2 = ["id", "h", "w", "x", "y"];
@@ -1,5 +1,5 @@
1
1
  import { withAsyncContext, ref, onMounted, onUnmounted, createElementBlock, openBlock, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
2
- import { $ as useSTAcStore } from './asWebComponent-DZpMGxEY.js';
2
+ import { $ as useSTAcStore } from './asWebComponent-Df8nUiLs.js';
3
3
 
4
4
  const _hoisted_1 = { class: "d-flex flex-column fill-height overflow-auto" };
5
5
 
@@ -1,9 +1,9 @@
1
1
  import { resolveComponent, render, h, mergeProps, useCssVars, ref, useTemplateRef, customRef, computed, reactive, toRef, watch, onMounted, createElementBlock, openBlock, createVNode, unref, createSlots, withCtx, createElementVNode, withDirectives, createCommentVNode, createBlock, toHandlers } from 'vue';
2
2
  import { DatePicker } from 'v-calendar';
3
- import { E as isObject, Y as consoleError, r as useDisplay, Z as datetime, $ as useSTAcStore, a0 as eodashCollections, a1 as collectionsPalette, a2 as makePanelTransparent, V as VBtn, v as VIcon } from './asWebComponent-DZpMGxEY.js';
3
+ import { E as isObject, Y as consoleError, r as useDisplay, Z as datetime, $ as useSTAcStore, a0 as eodashCollections, a1 as collectionsPalette, a2 as makePanelTransparent, V as VBtn, v as VIcon } from './asWebComponent-Df8nUiLs.js';
4
4
  import { mdiRayEndArrow, mdiRayStartArrow } from '@mdi/js';
5
5
  import log from 'loglevel';
6
- import { V as VTooltip } from './VTooltip-XJLaLrZQ.js';
6
+ import { V as VTooltip } from './VTooltip-BMsliOuh.js';
7
7
 
8
8
  // Utilities
9
9
  function useDirectiveComponent(component, props) {
@@ -1,5 +1,5 @@
1
1
  import { computed, ref, createElementBlock, openBlock, mergeProps, unref, createElementVNode, toDisplayString } from 'vue';
2
- import { r as useDisplay, $ as useSTAcStore } from './asWebComponent-DZpMGxEY.js';
2
+ import { r as useDisplay, $ as useSTAcStore } from './asWebComponent-Df8nUiLs.js';
3
3
  import '@eox/itemfilter';
4
4
 
5
5
  const _hoisted_1 = [".items"];
@@ -3,7 +3,7 @@ import '@eox/layercontrol';
3
3
  import '@eox/jsonform';
4
4
  import '@eox/timecontrol';
5
5
  import 'color-legend-element';
6
- import { $ as useSTAcStore, a3 as mapCompareEl, a4 as mapEl, a5 as eodashCompareCollections, a0 as eodashCollections, a6 as layerControlFormValue, a7 as getColFromLayer } from './asWebComponent-DZpMGxEY.js';
6
+ import { $ as useSTAcStore, a3 as mapCompareEl, a4 as mapEl, a5 as eodashCompareCollections, a0 as eodashCollections, a6 as layerControlFormValue, a7 as getColFromLayer } from './asWebComponent-Df8nUiLs.js';
7
7
  import { storeToRefs } from 'pinia';
8
8
 
9
9
  const _hoisted_1 = { class: "d-flex flex-column fill-height overflow-auto" };
@@ -1,7 +1,7 @@
1
1
  import { ref, createElementBlock, openBlock, createVNode, withCtx, mergeProps } from 'vue';
2
- import { a2 as makePanelTransparent, v as VIcon, al as activeTemplate } from './asWebComponent-DZpMGxEY.js';
2
+ import { a2 as makePanelTransparent, v as VIcon, al as activeTemplate } from './asWebComponent-Df8nUiLs.js';
3
3
  import { mdiViewDashboard } from '@mdi/js';
4
- import { V as VTooltip } from './VTooltip-XJLaLrZQ.js';
4
+ import { V as VTooltip } from './VTooltip-BMsliOuh.js';
5
5
 
6
6
  const _sfc_main = {
7
7
  __name: 'EodashLayoutSwitcher',
@@ -1,7 +1,7 @@
1
1
  import { onMounted, onUnmounted, watch, nextTick, ref, toRaw, computed, createElementBlock, openBlock, createElementVNode, unref, normalizeStyle } from 'vue';
2
2
  import '@eox/map';
3
3
  import '@eox/map/src/plugins/advancedLayersAndSources';
4
- import { a8 as eoxLayersKey, $ as useSTAcStore, a9 as setMapProjFromCol, aa as posIsSetFromUrl, ab as useOnLayersUpdate, ac as EodashCollection, ad as mapPosition, a4 as mapEl, a3 as mapCompareEl, Z as datetime, a0 as eodashCollections, a6 as layerControlFormValue, a5 as eodashCompareCollections } from './asWebComponent-DZpMGxEY.js';
4
+ import { a8 as eoxLayersKey, $ as useSTAcStore, a9 as setMapProjFromCol, aa as posIsSetFromUrl, ab as useOnLayersUpdate, ac as EodashCollection, ad as mapPosition, a4 as mapEl, a3 as mapCompareEl, Z as datetime, a0 as eodashCollections, a6 as layerControlFormValue, a5 as eodashCompareCollections } from './asWebComponent-Df8nUiLs.js';
5
5
  import { storeToRefs } from 'pinia';
6
6
  import log from 'loglevel';
7
7
  import { useEventBus } from '@vueuse/core';
@@ -527,7 +527,6 @@ const tooltipPropertyTransform = (param) => {
527
527
  }),
528
528
  );
529
529
 
530
- //@ts-expect-error todo
531
530
  const tooltipProp = updatedProperties?.find((prop) => prop.id === param.key);
532
531
  if (!tooltipProp) {
533
532
  return undefined;
@@ -574,7 +573,12 @@ return (_ctx, _cache) => {
574
573
  ref_key: "compareMap",
575
574
  ref: compareMap,
576
575
  ".layers": eoxMapCompareLayers.value
577
- }, null, 40 /* PROPS, NEED_HYDRATION */, _hoisted_3)
576
+ }, [
577
+ createElementVNode("eox-map-tooltip", {
578
+ style: normalizeStyle(tooltipStyles.value),
579
+ ".propertyTransform": tooltipPropertyTransform
580
+ }, null, 36 /* STYLE, NEED_HYDRATION */)
581
+ ], 40 /* PROPS, NEED_HYDRATION */, _hoisted_3)
578
582
  ], 40 /* PROPS, NEED_HYDRATION */, _hoisted_1))
579
583
  }
580
584
  }
@@ -1,9 +1,9 @@
1
1
  import { computed, ref, createElementBlock, openBlock, createBlock, createCommentVNode, createVNode, unref, withCtx } from 'vue';
2
- import { _ as _export_sfc, r as useDisplay, a2 as makePanelTransparent, V as VBtn, ae as availableMapProjection, af as changeMapProjection, ag as setActiveTemplate } from './asWebComponent-DZpMGxEY.js';
2
+ import { _ as _export_sfc, r as useDisplay, a2 as makePanelTransparent, V as VBtn, ae as availableMapProjection, af as changeMapProjection, ag as setActiveTemplate } from './asWebComponent-Df8nUiLs.js';
3
3
  import { mdiMapPlus, mdiEarthBox, mdiCompare } from '@mdi/js';
4
- import ExportState from './ExportState-BqnlEpzR.js';
5
- import _sfc_main$1 from './PopUp-Ba6mY2jQ.js';
6
- import _sfc_main$2 from './EodashItemFilter-SE9oW3oZ.js';
4
+ import ExportState from './ExportState-Ckcb6u01.js';
5
+ import _sfc_main$1 from './PopUp-D3IyjsN4.js';
6
+ import _sfc_main$2 from './EodashItemFilter-127fZLyK.js';
7
7
 
8
8
  const _sfc_main = {
9
9
  __name: 'EodashMapBtns',
@@ -2,7 +2,7 @@ import { createVNode, nextTick, watch, onMounted, ref, useTemplateRef, computed,
2
2
  import '@eox/chart';
3
3
  import '@eox/drawtools';
4
4
  import '@eox/jsonform';
5
- import { g as genericComponent, p as propsFactory, c as useRtl, H as useDimension, a as useRender, h as makeTagProps, J as makeDimensionProps, i as makeComponentProps, ah as axios, ai as getLayers, a4 as mapEl, aj as extractLayerConfig, a8 as eoxLayersKey, $ as useSTAcStore, ab as useOnLayersUpdate, V as VBtn } from './asWebComponent-DZpMGxEY.js';
5
+ import { g as genericComponent, p as propsFactory, c as useRtl, H as useDimension, a as useRender, h as makeTagProps, J as makeDimensionProps, i as makeComponentProps, ah as axios, ai as getLayers, a4 as mapEl, aj as extractLayerConfig, a8 as eoxLayersKey, $ as useSTAcStore, ab as useOnLayersUpdate, V as VBtn } from './asWebComponent-Df8nUiLs.js';
6
6
  import { storeToRefs } from 'pinia';
7
7
  import { useEventBus } from '@vueuse/core';
8
8
  import { isMulti } from '@eox/jsonform/src/custom-inputs/spatial/utils';
@@ -218,7 +218,6 @@ function extractGeometries(jsonformValue, jsonformSchema) {
218
218
  * @param {import("@eox/jsonform").EOxJSONForm | null} jsonFormEl
219
219
  **/
220
220
  function injectJsonformCSS(jsonFormEl) {
221
- //@ts-expect-error TODO
222
221
  if (!jsonFormEl?.shadowRoot) {
223
222
  console.error("jsonform has no shadowRoot");
224
223
  return;
@@ -227,7 +226,6 @@ function injectJsonformCSS(jsonFormEl) {
227
226
  stylesheet.replaceSync(`.je-indented-panel {
228
227
  border: none !important;
229
228
  }`);
230
- //@ts-expect-error TODO
231
229
  jsonFormEl.shadowRoot.adoptedStyleSheets = [stylesheet];
232
230
  }
233
231
 
@@ -474,6 +472,9 @@ async function handleProcesses({
474
472
  isPolling,
475
473
  processResults,
476
474
  }) {
475
+ if (!jsonformEl.value || !jsonformSchema.value || !selectedStac.value) {
476
+ return;
477
+ }
477
478
  log.debug("Processing...");
478
479
  loading.value = true;
479
480
  try {
@@ -482,7 +483,6 @@ async function handleProcesses({
482
483
  );
483
484
  const bboxProperty = getBboxProperty(jsonformSchema.value);
484
485
  const jsonformValue = /** @type {Record<string,any>} */ (
485
- //@ts-expect-error todo
486
486
  jsonformEl.value?.value
487
487
  );
488
488
 
@@ -638,13 +638,43 @@ async function initProcess({
638
638
  processResults,
639
639
  });
640
640
  if (selectedStac.value["eodash:jsonform"]) {
641
- //@ts-expect-error todo
642
641
  jsonformEl.value?.editor.destroy();
643
642
  // wait for the layers to be rendered
644
643
  jsonformSchema.value = await axios
645
644
  //@ts-expect-error eodash extention
646
645
  .get(selectedStac.value["eodash:jsonform"])
647
646
  .then((resp) => resp.data);
647
+ // jsonformSchema.value = {
648
+ // "options": {
649
+ // "execute": true
650
+ // },
651
+ // "type": "object",
652
+ // "properties": {
653
+ // "feature": {
654
+ // "type": "string",
655
+ // "title": "Select feature on map",
656
+ // "options": {
657
+ // drawtools:{
658
+ // "for": "eox-map#main",
659
+ // "layerId": "geodb-collection",
660
+ // featureStyles:{
661
+ // /** @type {import("ol/")} */
662
+ // layer: {
663
+
664
+ // },
665
+ // // hover:{},
666
+ // click:{
667
+ // "stroke-width": 2,
668
+ // "stroke-color": "red",
669
+ // }
670
+ // }
671
+ // },
672
+ // "featureProperty": "id"
673
+ // },
674
+ // "format": "feature"
675
+ // }
676
+ // }
677
+ // }
648
678
  // remove borders from jsonform
649
679
  await nextTick(() => {
650
680
  injectJsonformCSS(jsonformEl.value);
@@ -773,7 +803,6 @@ useOnLayersUpdate(async (evt, _payload) => {
773
803
  });
774
804
 
775
805
  const startProcess = async () => {
776
- //@ts-expect-error todo
777
806
  const errors = jsonformEl.value?.editor.validate();
778
807
  if (errors?.length) {
779
808
  console.warn("[eodash] Form validation failed", errors);
@@ -802,7 +831,6 @@ const chartStyles = computed(() => {
802
831
  styles["height"] =
803
832
  Math.max(
804
833
  (containerEl.value?.offsetHeight ?? 0) -
805
- //@ts-expect-error TODO
806
834
  (jsonformEl.value?.offsetHeight ?? 0),
807
835
  200,
808
836
  ) + "px";
@@ -1,6 +1,6 @@
1
1
  import { createElementBlock, openBlock, createElementVNode, unref } from 'vue';
2
2
  import '@eox/stacinfo';
3
- import { ak as currentUrl } from './asWebComponent-DZpMGxEY.js';
3
+ import { ak as currentUrl } from './asWebComponent-Df8nUiLs.js';
4
4
 
5
5
  const _hoisted_1 = { class: "flex-grow-1 fill-height overflow-auto" };
6
6
  const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".styleOverride", ".header", ".subheader", ".tags"];
@@ -1,9 +1,9 @@
1
1
  import { ref, computed, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, unref, withCtx, mergeProps } from 'vue';
2
- import _sfc_main$2 from './PopUp-Ba6mY2jQ.js';
3
- import _sfc_main$3 from './EodashItemFilter-SE9oW3oZ.js';
4
- import _sfc_main$1 from './EodashLayoutSwitcher-6wLl-Gtd.js';
2
+ import _sfc_main$2 from './PopUp-D3IyjsN4.js';
3
+ import _sfc_main$3 from './EodashItemFilter-127fZLyK.js';
4
+ import _sfc_main$1 from './EodashLayoutSwitcher-DwexHfOD.js';
5
5
  import { mdiViewDashboard, mdiPlus } from '@mdi/js';
6
- import { r as useDisplay, a2 as makePanelTransparent, V as VBtn } from './asWebComponent-DZpMGxEY.js';
6
+ import { r as useDisplay, a2 as makePanelTransparent, V as VBtn } from './asWebComponent-Df8nUiLs.js';
7
7
 
8
8
  const _hoisted_1 = { class: "d-flex flex-row justify-space-between pa-4 align-center" };
9
9
 
@@ -1,9 +1,9 @@
1
1
  import { createVNode, Fragment, computed, withDirectives, mergeProps, resolveDirective, toRef, mergeModels, useModel, ref, createBlock, openBlock, withCtx, createElementVNode, createTextVNode, toDisplayString, unref, createElementBlock, createCommentVNode, renderList } from 'vue';
2
2
  import { mdiClipboardCheckOutline, mdiContentCopy } from '@mdi/js';
3
- import _sfc_main$1 from './PopUp-Ba6mY2jQ.js';
4
- import { an as createSimpleFunctional, g as genericComponent, i as makeComponentProps, C as provideDefaults, a as useRender, p as propsFactory, h as makeTagProps, b as provideTheme, K as useBorder, ao as useVariant, A as useDensity, M as useRounded, ap as useSize, aq as genOverlays, v as VIcon, N as VDefaultsProvider, ar as makeVariantProps, f as makeThemeProps, as as makeSizeProps, O as makeRoundedProps, D as makeDensityProps, Q as makeBorderProps, y as IconValue, at as Ripple, H as useDimension, L as useElevation, au as useLoader, av as useLocation, aw as usePosition, ax as useLink, ay as makeRouterProps, az as makePositionProps, aA as makeLocationProps, aB as makeLoaderProps, P as makeElevationProps, J as makeDimensionProps, aC as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, aD as removeUnneededProperties, aE as VRow, aF as VCol, aG as copyToClipBoard, V as VBtn, ai as getLayers, ad as mapPosition, ae as availableMapProjection } from './asWebComponent-DZpMGxEY.js';
5
- import { a as VExpandTransition } from './index-f55xuyof.js';
6
- import { V as VImg } from './VImg-Yc9F9pYq.js';
3
+ import _sfc_main$1 from './PopUp-D3IyjsN4.js';
4
+ import { an as createSimpleFunctional, g as genericComponent, i as makeComponentProps, C as provideDefaults, a as useRender, p as propsFactory, h as makeTagProps, b as provideTheme, K as useBorder, ao as useVariant, A as useDensity, M as useRounded, ap as useSize, aq as genOverlays, v as VIcon, N as VDefaultsProvider, ar as makeVariantProps, f as makeThemeProps, as as makeSizeProps, O as makeRoundedProps, D as makeDensityProps, Q as makeBorderProps, y as IconValue, at as Ripple, H as useDimension, L as useElevation, au as useLoader, av as useLocation, aw as usePosition, ax as useLink, ay as makeRouterProps, az as makePositionProps, aA as makeLocationProps, aB as makeLoaderProps, P as makeElevationProps, J as makeDimensionProps, aC as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, aD as removeUnneededProperties, aE as VRow, aF as VCol, aG as copyToClipBoard, V as VBtn, ai as getLayers, ad as mapPosition, ae as availableMapProjection } from './asWebComponent-Df8nUiLs.js';
5
+ import { a as VExpandTransition } from './index-Bt5GEGxl.js';
6
+ import { V as VImg } from './VImg-BmCNSu3X.js';
7
7
 
8
8
  // Styles
9
9
  const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
@@ -1,5 +1,5 @@
1
1
  import { ref, toRef, shallowRef, computed, watchEffect, createVNode, inject, createBlock, openBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
2
- import { g as genericComponent, p as propsFactory, b as provideTheme, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, s as useResizeObserver, T as useToggleScope, U as useLayoutItem, a as useRender, q as convertToUnit, f as makeThemeProps, h as makeTagProps, O as makeRoundedProps, W as makeLayoutItemProps, P as makeElevationProps, i as makeComponentProps, Q as makeBorderProps, _ as _export_sfc, X as eodashKey, r as useDisplay } from './asWebComponent-DZpMGxEY.js';
2
+ import { g as genericComponent, p as propsFactory, b as provideTheme, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, s as useResizeObserver, T as useToggleScope, U as useLayoutItem, a as useRender, q as convertToUnit, f as makeThemeProps, h as makeTagProps, O as makeRoundedProps, W as makeLayoutItemProps, P as makeElevationProps, i as makeComponentProps, Q as makeBorderProps, _ as _export_sfc, X as eodashKey, r as useDisplay } from './asWebComponent-Df8nUiLs.js';
3
3
 
4
4
  const makeVFooterProps = propsFactory({
5
5
  app: Boolean,
@@ -1,7 +1,7 @@
1
1
  import { createVNode, toRef, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, watchEffect, mergeProps, inject, createBlock, openBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
2
- import { p as propsFactory, g as genericComponent, h as makeTagProps, i as makeComponentProps, a as useRender, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, b as provideTheme, c as useRtl, C as provideDefaults, N as VDefaultsProvider, q as convertToUnit, f as makeThemeProps, O as makeRoundedProps, P as makeElevationProps, Q as makeBorderProps, R as clamp, S as consoleWarn, j as useProxiedModel, T as useToggleScope, U as useLayoutItem, W as makeLayoutItemProps, _ as _export_sfc, X as eodashKey } from './asWebComponent-DZpMGxEY.js';
3
- import { a as VExpandTransition } from './index-f55xuyof.js';
4
- import { V as VImg } from './VImg-Yc9F9pYq.js';
2
+ import { p as propsFactory, g as genericComponent, h as makeTagProps, i as makeComponentProps, a as useRender, B as useBackgroundColor, K as useBorder, L as useElevation, M as useRounded, b as provideTheme, c as useRtl, C as provideDefaults, N as VDefaultsProvider, q as convertToUnit, f as makeThemeProps, O as makeRoundedProps, P as makeElevationProps, Q as makeBorderProps, R as clamp, S as consoleWarn, j as useProxiedModel, T as useToggleScope, U as useLayoutItem, W as makeLayoutItemProps, _ as _export_sfc, X as eodashKey } from './asWebComponent-Df8nUiLs.js';
3
+ import { a as VExpandTransition } from './index-Bt5GEGxl.js';
4
+ import { V as VImg } from './VImg-BmCNSu3X.js';
5
5
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
6
6
 
7
7
  const makeVToolbarTitleProps = propsFactory({
@@ -1,10 +1,10 @@
1
1
  import { ref, computed, createVNode, mergeProps, Fragment, shallowRef, watch, provide, withDirectives, resolveDirective, inject, vShow, nextTick, toRef, useCssVars, onMounted, createBlock, openBlock, withCtx, createElementBlock, Suspense, createCommentVNode, unref, resolveDynamicComponent, renderList, createElementVNode, createTextVNode, toDisplayString } from 'vue';
2
- import { k as keys, g as genericComponent, p as propsFactory, u as useTextColor, a as useRender, V as VBtn, o as omit, m as makeVBtnProps, b as provideTheme, c as useRtl, d as useLocale, e as useGroup, f as makeThemeProps, h as makeTagProps, i as makeComponentProps, j as useProxiedModel, l as useGroupItem, n as makeGroupItemProps, q as convertToUnit, r as useDisplay, s as useResizeObserver, t as useGoTo, I as IN_BROWSER, v as VIcon, w as makeGroupProps, x as makeDisplayProps, y as IconValue, z as focusableChildren, A as useDensity, B as useBackgroundColor, C as provideDefaults, D as makeDensityProps, E as isObject, _ as _export_sfc, F as useDefineTemplate, G as useLayout } from './asWebComponent-DZpMGxEY.js';
3
- import { V as VMain } from './VMain-BiS7HPEk.js';
4
- import { f as forwardRefs, a as animate, s as standardEasing, u as useLazy, m as makeLazyProps, b as useScopeId } from './forwardRefs-BtkfywIE.js';
2
+ import { k as keys, g as genericComponent, p as propsFactory, u as useTextColor, a as useRender, V as VBtn, o as omit, m as makeVBtnProps, b as provideTheme, c as useRtl, d as useLocale, e as useGroup, f as makeThemeProps, h as makeTagProps, i as makeComponentProps, j as useProxiedModel, l as useGroupItem, n as makeGroupItemProps, q as convertToUnit, r as useDisplay, s as useResizeObserver, t as useGoTo, I as IN_BROWSER, v as VIcon, w as makeGroupProps, x as makeDisplayProps, y as IconValue, z as focusableChildren, A as useDensity, B as useBackgroundColor, C as provideDefaults, D as makeDensityProps, E as isObject, _ as _export_sfc, F as useDefineTemplate, G as useLayout } from './asWebComponent-Df8nUiLs.js';
3
+ import { V as VMain } from './VMain-eZDKIfmJ.js';
4
+ import { f as forwardRefs, a as animate, s as standardEasing, u as useLazy, m as makeLazyProps, b as useScopeId } from './forwardRefs-lhDuXD-N.js';
5
5
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
6
- import { M as MaybeTransition } from './transition-CtL4BoVi.js';
7
- import { V as VFadeTransition } from './index-f55xuyof.js';
6
+ import { M as MaybeTransition } from './transition-DHEuQX4I.js';
7
+ import { V as VFadeTransition } from './index-Bt5GEGxl.js';
8
8
 
9
9
  // Utilities
10
10
  const handleGesture = wrapper => {
@@ -1,7 +1,7 @@
1
1
  import { createVNode, Transition, mergeProps, ref, onBeforeUnmount, watch, nextTick, toRef, mergeModels, useModel, createElementBlock, openBlock, withCtx, createBlock, createCommentVNode, resolveDynamicComponent, unref, renderSlot } from 'vue';
2
- import { g as genericComponent, p as propsFactory, j as useProxiedModel, I as IN_BROWSER, a as useRender, z as focusableChildren, N as VDefaultsProvider, b as provideTheme, B as useBackgroundColor, K as useBorder, H as useDimension, L as useElevation, av as useLocation, aw as usePosition, M as useRounded, f as makeThemeProps, h as makeTagProps, O as makeRoundedProps, az as makePositionProps, aA as makeLocationProps, P as makeElevationProps, J as makeDimensionProps, i as makeComponentProps, Q as makeBorderProps, aJ as useDefineWidgets } from './asWebComponent-DZpMGxEY.js';
3
- import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-B9mxXaCv.js';
4
- import { a as animate, g as getTargetBox, n as nullifyTransforms, c as acceleratedEasing, d as deceleratedEasing, s as standardEasing, b as useScopeId, f as forwardRefs } from './forwardRefs-BtkfywIE.js';
2
+ import { g as genericComponent, p as propsFactory, j as useProxiedModel, I as IN_BROWSER, a as useRender, z as focusableChildren, N as VDefaultsProvider, b as provideTheme, B as useBackgroundColor, K as useBorder, H as useDimension, L as useElevation, av as useLocation, aw as usePosition, M as useRounded, f as makeThemeProps, h as makeTagProps, O as makeRoundedProps, az as makePositionProps, aA as makeLocationProps, P as makeElevationProps, J as makeDimensionProps, i as makeComponentProps, Q as makeBorderProps, aJ as useDefineWidgets } from './asWebComponent-Df8nUiLs.js';
3
+ import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-BS-E4Z6g.js';
4
+ import { a as animate, g as getTargetBox, n as nullifyTransforms, c as acceleratedEasing, d as deceleratedEasing, s as standardEasing, b as useScopeId, f as forwardRefs } from './forwardRefs-lhDuXD-N.js';
5
5
 
6
6
  // Utilities
7
7
  const makeVDialogTransitionProps = propsFactory({
@@ -1,6 +1,6 @@
1
1
  import { createVNode, computed, toRef, shallowRef, ref, watch, onBeforeMount, nextTick, onBeforeUnmount, withDirectives, mergeProps, Fragment, resolveDirective, vShow } from 'vue';
2
- import { aH as SUPPORTS_INTERSECTION, g as genericComponent, p as propsFactory, H as useDimension, a as useRender, J as makeDimensionProps, i as makeComponentProps, B as useBackgroundColor, M as useRounded, aI as getCurrentInstance, q as convertToUnit, O as makeRoundedProps } from './asWebComponent-DZpMGxEY.js';
3
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-CtL4BoVi.js';
2
+ import { aH as SUPPORTS_INTERSECTION, g as genericComponent, p as propsFactory, H as useDimension, a as useRender, J as makeDimensionProps, i as makeComponentProps, B as useBackgroundColor, M as useRounded, aI as getCurrentInstance, q as convertToUnit, O as makeRoundedProps } from './asWebComponent-Df8nUiLs.js';
3
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-DHEuQX4I.js';
4
4
 
5
5
  // Utilities
6
6
  function mounted(el, binding) {
@@ -1,5 +1,5 @@
1
1
  import { createVNode } from 'vue';
2
- import { g as genericComponent, p as propsFactory, H as useDimension, G as useLayout, a as useRender, h as makeTagProps, J as makeDimensionProps, i as makeComponentProps } from './asWebComponent-DZpMGxEY.js';
2
+ import { g as genericComponent, p as propsFactory, H as useDimension, G as useLayout, a as useRender, h as makeTagProps, J as makeDimensionProps, i as makeComponentProps } from './asWebComponent-Df8nUiLs.js';
3
3
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
4
4
 
5
5
  const makeVMainProps = propsFactory({
@@ -1,7 +1,7 @@
1
1
  import { computed, watch, onScopeDispose, nextTick, ref, watchEffect, effectScope, inject, mergeProps, shallowRef, onMounted, reactive, provide, toRaw, readonly, warn, toRef, onBeforeUnmount, createVNode, Fragment, Teleport, withDirectives, vShow, resolveDirective, Transition } from 'vue';
2
- import { aK as isOn, aL as eventName, p as propsFactory, aM as destructComputed, aN as parseAnchor, aO as flipSide, aP as flipAlign, aQ as flipCorner, Y as consoleError, aR as getAxis, q as convertToUnit, R as clamp, I as IN_BROWSER, T as useToggleScope, aS as defer, aI as getCurrentInstance, aT as templateRef, aU as matchesSelector, r as useDisplay, f as makeThemeProps, J as makeDimensionProps, i as makeComponentProps, g as genericComponent, j as useProxiedModel, b as provideTheme, c as useRtl, B as useBackgroundColor, H as useDimension, aV as useRouter, aW as useBackButton, a as useRender } from './asWebComponent-DZpMGxEY.js';
3
- import { g as getTargetBox, B as Box, e as getOverflow, n as nullifyTransforms, m as makeLazyProps, u as useLazy, b as useScopeId, a as animate, s as standardEasing } from './forwardRefs-BtkfywIE.js';
4
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-CtL4BoVi.js';
2
+ import { aK as isOn, aL as eventName, p as propsFactory, aM as destructComputed, aN as parseAnchor, aO as flipSide, aP as flipAlign, aQ as flipCorner, Y as consoleError, aR as getAxis, q as convertToUnit, R as clamp, I as IN_BROWSER, T as useToggleScope, aS as defer, aI as getCurrentInstance, aT as templateRef, aU as matchesSelector, r as useDisplay, f as makeThemeProps, J as makeDimensionProps, i as makeComponentProps, g as genericComponent, j as useProxiedModel, b as provideTheme, c as useRtl, B as useBackgroundColor, H as useDimension, aV as useRouter, aW as useBackButton, a as useRender } from './asWebComponent-Df8nUiLs.js';
3
+ import { g as getTargetBox, B as Box, e as getOverflow, n as nullifyTransforms, m as makeLazyProps, u as useLazy, b as useScopeId, a as animate, s as standardEasing } from './forwardRefs-lhDuXD-N.js';
4
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-DHEuQX4I.js';
5
5
 
6
6
  // Utilities
7
7
  const handlers = new WeakMap();
@@ -1,7 +1,7 @@
1
1
  import { computed, ref, mergeProps, createVNode } from 'vue';
2
- import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-B9mxXaCv.js';
3
- import { b as useScopeId, f as forwardRefs } from './forwardRefs-BtkfywIE.js';
4
- import { g as genericComponent, p as propsFactory, j as useProxiedModel, am as getUid, a as useRender, o as omit } from './asWebComponent-DZpMGxEY.js';
2
+ import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-BS-E4Z6g.js';
3
+ import { b as useScopeId, f as forwardRefs } from './forwardRefs-lhDuXD-N.js';
4
+ import { g as genericComponent, p as propsFactory, j as useProxiedModel, am as getUid, a as useRender, o as omit } from './asWebComponent-Df8nUiLs.js';
5
5
 
6
6
  const makeVTooltipProps = propsFactory({
7
7
  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 { aJ as useDefineWidgets, G as useLayout } from './asWebComponent-DZpMGxEY.js';
2
+ import { aJ as useDefineWidgets, G as useLayout } from './asWebComponent-Df8nUiLs.js';
3
3
  import 'animated-details';
4
4
 
5
5
  const _sfc_main = {
@@ -8717,6 +8717,7 @@ async function createLayersFromAssets(
8717
8717
  }),
8718
8718
  },
8719
8719
  ...(!style?.variables && { style }),
8720
+ interactions:[],
8720
8721
  };
8721
8722
 
8722
8723
  layer.properties = { ...layer.properties, ...(extraProperties ?? {}) };
@@ -11653,7 +11654,7 @@ const ErrorAlert = /*#__PURE__*/_export_sfc(_sfc_main$4, [['__scopeId',"data-v-a
11653
11654
  const internalWidgets = (() => {
11654
11655
  /** @type {Record<string, () => Promise<import("vue").Component>>} */
11655
11656
  const importMap = {
11656
- .../* #__PURE__ */ Object.assign({"/widgets/EodashDatePicker.vue": () => import('./EodashDatePicker-CYU0MZX5.js'),"/widgets/EodashItemFilter.vue": () => import('./EodashItemFilter-SE9oW3oZ.js'),"/widgets/EodashLayerControl.vue": () => import('./EodashLayerControl-BuGe29Nt.js'),"/widgets/EodashLayoutSwitcher.vue": () => import('./EodashLayoutSwitcher-6wLl-Gtd.js'),"/widgets/EodashMap.vue": () => import('./EodashMap-DhVCoYMi.js'),"/widgets/EodashMapBtns.vue": () => import('./EodashMapBtns-BWWu6eHG.js'),"/widgets/EodashProcess.vue": () => import('./EodashProcess-GSj_LMsK.js'),"/widgets/EodashStacInfo.vue": () => import('./EodashStacInfo-DjRSGLHM.js'),"/widgets/EodashTools.vue": () => import('./EodashTools-CJ4hBH_X.js'),"/widgets/ExportState.vue": () => import('./ExportState-BqnlEpzR.js'),"/widgets/PopUp.vue": () => import('./PopUp-Ba6mY2jQ.js'),"/widgets/WidgetsContainer.vue": () => import('./WidgetsContainer-DRVb_73N.js')}),
11657
+ .../* #__PURE__ */ Object.assign({"/widgets/EodashDatePicker.vue": () => import('./EodashDatePicker-BoWV2vc8.js'),"/widgets/EodashItemFilter.vue": () => import('./EodashItemFilter-127fZLyK.js'),"/widgets/EodashLayerControl.vue": () => import('./EodashLayerControl-B-pZaizw.js'),"/widgets/EodashLayoutSwitcher.vue": () => import('./EodashLayoutSwitcher-DwexHfOD.js'),"/widgets/EodashMap.vue": () => import('./EodashMap-BSR7_wRA.js'),"/widgets/EodashMapBtns.vue": () => import('./EodashMapBtns-Jfn3bpWD.js'),"/widgets/EodashProcess.vue": () => import('./EodashProcess-CpbZPYBp.js'),"/widgets/EodashStacInfo.vue": () => import('./EodashStacInfo-STq_bW7S.js'),"/widgets/EodashTools.vue": () => import('./EodashTools-uxSuJhVJ.js'),"/widgets/ExportState.vue": () => import('./ExportState-Ckcb6u01.js'),"/widgets/PopUp.vue": () => import('./PopUp-D3IyjsN4.js'),"/widgets/WidgetsContainer.vue": () => import('./WidgetsContainer-Cl6M5R5c.js')}),
11657
11658
  .../* #__PURE__ */ Object.assign({}),
11658
11659
  };
11659
11660
  for (const key in importMap) {
@@ -11766,7 +11767,7 @@ const getWidgetDefinition = (config) => {
11766
11767
 
11767
11768
  case "web-component":
11768
11769
  importedWidget.component = defineAsyncComponent({
11769
- loader: () => import('./DynamicWebComponent-DtZ_mHL9.js'),
11770
+ loader: () => import('./DynamicWebComponent-BqoHM1np.js'),
11770
11771
  suspensible: true,
11771
11772
  });
11772
11773
  importedWidget.props = reactive(config.widget);
@@ -12161,7 +12162,7 @@ return (_ctx, _cache) => {
12161
12162
 
12162
12163
  };
12163
12164
 
12164
- const version = "5.0.0-rc.2.4";
12165
+ const version = "5.0.0-rc.2.5";
12165
12166
  const pkgJson = {
12166
12167
  version};
12167
12168
 
@@ -12263,15 +12264,15 @@ const { loadSTAC } = useSTAcStore();
12263
12264
  const { smAndDown } = useDisplay();
12264
12265
  const TemplateComponent = computed(() =>
12265
12266
  smAndDown.value
12266
- ? defineAsyncComponent(() => import('./MobileLayout-CDbupC9v.js'))
12267
- : defineAsyncComponent(() => import('./DashboardLayout-D1UcB3RV.js')),
12267
+ ? defineAsyncComponent(() => import('./MobileLayout-BE19Peep.js'))
12268
+ : defineAsyncComponent(() => import('./DashboardLayout-BX3Sm_Vx.js')),
12268
12269
  );
12269
12270
 
12270
12271
  const HeaderComponent = defineAsyncComponent(
12271
- () => import('./Header-D_hcGpNG.js'),
12272
+ () => import('./Header-Dxx7q9FW.js'),
12272
12273
  );
12273
12274
  const FooterComponent = defineAsyncComponent(
12274
- () => import('./Footer-C_3WrfI4.js'),
12275
+ () => import('./Footer-C8JP-coH.js'),
12275
12276
  );
12276
12277
 
12277
12278
  const templateHeight = props.isWebComponent ? "100%" : "100dvh";
@@ -1,2 +1,2 @@
1
- export { aX as EodashConstructor, aY as register, aZ as store } from './asWebComponent-DZpMGxEY.js';
1
+ export { aX as EodashConstructor, aY as register, aZ as store } from './asWebComponent-Df8nUiLs.js';
2
2
  import 'vue';
@@ -1,5 +1,5 @@
1
1
  import { shallowRef, computed, watch } from 'vue';
2
- import { p as propsFactory, aI as getCurrentInstance } from './asWebComponent-DZpMGxEY.js';
2
+ import { p as propsFactory, aI as getCurrentInstance } from './asWebComponent-Df8nUiLs.js';
3
3
 
4
4
  class Box {
5
5
  constructor(_ref) {
@@ -1,5 +1,5 @@
1
1
  import { TransitionGroup, Transition, h, camelize } from 'vue';
2
- import { g as genericComponent, p as propsFactory } from './asWebComponent-DZpMGxEY.js';
2
+ import { g as genericComponent, p as propsFactory } from './asWebComponent-Df8nUiLs.js';
3
3
 
4
4
  // Utilities
5
5
  const makeTransitionProps = propsFactory({
@@ -1,5 +1,5 @@
1
1
  import { TransitionGroup, Transition, h, mergeProps } from 'vue';
2
- import { p as propsFactory } from './asWebComponent-DZpMGxEY.js';
2
+ import { p as propsFactory } from './asWebComponent-Df8nUiLs.js';
3
3
 
4
4
  // Utilities
5
5
  const makeTransitionProps = propsFactory({
@@ -5,7 +5,7 @@ export class EodashCollection {
5
5
  * @param {import("stac-ts").StacCollection} indicator */
6
6
  static getIndicatorLayers(indicator: import("stac-ts").StacCollection): Promise<(Record<string, any> | {
7
7
  interactions: never[];
8
- style?: any;
8
+ style?: import("../types").EodashStyleJson | undefined;
9
9
  type: string;
10
10
  source: {
11
11
  type: string;
@@ -15,14 +15,15 @@ export class EodashCollection {
15
15
  };
16
16
  properties: {
17
17
  layerConfig?: {
18
- style: any;
18
+ style: import("../types").EodashStyleJson | undefined;
19
19
  } | undefined;
20
20
  id: string;
21
21
  title: string;
22
22
  layerDatetime: Record<string, unknown> | undefined;
23
23
  };
24
24
  } | {
25
- style?: any;
25
+ interactions: never[];
26
+ style?: import("../types").EodashStyleJson | undefined;
26
27
  type: string;
27
28
  source: {
28
29
  type: string;
@@ -32,7 +33,7 @@ export class EodashCollection {
32
33
  };
33
34
  properties: {
34
35
  layerConfig?: {
35
- style: any;
36
+ style: import("../types").EodashStyleJson | undefined;
36
37
  } | undefined;
37
38
  id: string;
38
39
  title: string;
@@ -55,7 +56,7 @@ export class EodashCollection {
55
56
  layerConfig: Record<string, unknown> | undefined;
56
57
  layerDatetime: Record<string, unknown> | undefined;
57
58
  };
58
- style: any;
59
+ style: import("../types").EodashStyleJson | undefined;
59
60
  })[]>;
60
61
  /**
61
62
  * Returns GeoDB layer from a list of EodashCollections
@@ -128,7 +129,11 @@ export class EodashCollection {
128
129
  * @param {Date} [date]
129
130
  **/
130
131
  getItem(date?: Date): import("stac-ts").StacLink | undefined;
131
- getToolTipProperties(): Promise<any>;
132
+ getToolTipProperties(): Promise<{
133
+ id: string;
134
+ title?: string;
135
+ appendix?: string;
136
+ }[]>;
132
137
  /**
133
138
  *
134
139
  * @param {string} datetime
@@ -10,7 +10,7 @@
10
10
  **/
11
11
  export function createLayersFromAssets(collectionId: string, title: string, assets: Record<string, import("stac-ts").StacAsset>, item: import("stac-ts").StacItem, style?: import("../types").EodashStyleJson, layerConfig?: Record<string, unknown>, layerDatetime?: Record<string, unknown>, extraProperties?: object | null): Promise<({
12
12
  interactions: never[];
13
- style?: any;
13
+ style?: import("../types").EodashStyleJson | undefined;
14
14
  type: string;
15
15
  source: {
16
16
  type: string;
@@ -20,14 +20,15 @@ export function createLayersFromAssets(collectionId: string, title: string, asse
20
20
  };
21
21
  properties: {
22
22
  layerConfig?: {
23
- style: any;
23
+ style: import("../types").EodashStyleJson | undefined;
24
24
  } | undefined;
25
25
  id: string;
26
26
  title: string;
27
27
  layerDatetime: Record<string, unknown> | undefined;
28
28
  };
29
29
  } | {
30
- style?: any;
30
+ interactions: never[];
31
+ style?: import("../types").EodashStyleJson | undefined;
31
32
  type: string;
32
33
  source: {
33
34
  type: string;
@@ -37,7 +38,7 @@ export function createLayersFromAssets(collectionId: string, title: string, asse
37
38
  };
38
39
  properties: {
39
40
  layerConfig?: {
40
- style: any;
41
+ style: import("../types").EodashStyleJson | undefined;
41
42
  } | undefined;
42
43
  id: string;
43
44
  title: string;
@@ -60,6 +61,6 @@ export function createLayersFromAssets(collectionId: string, title: string, asse
60
61
  layerConfig: Record<string, unknown> | undefined;
61
62
  layerDatetime: Record<string, unknown> | undefined;
62
63
  };
63
- style: any;
64
+ style: import("../types").EodashStyleJson | undefined;
64
65
  })[]>;
65
66
  export function createLayersFromLinks(collectionId: string, title: string, item: import("stac-ts").StacItem, layerDatetime?: Record<string, any>, extraProperties?: object | null): Promise<Record<string, any>[]>;
@@ -19,8 +19,11 @@ export function generateFeatures(links?: import("stac-ts").StacLink[], extraProp
19
19
  * @param { import("../types").EodashStyleJson} [style]
20
20
  * */
21
21
  export function extractLayerConfig(collectionId: string, style?: import("../types").EodashStyleJson): {
22
+ layerConfig: undefined;
23
+ style: undefined;
24
+ } | {
22
25
  layerConfig: Record<string, unknown> | undefined;
23
- style: any;
26
+ style: import("../types").EodashStyleJson;
24
27
  };
25
28
  /**
26
29
  * Function to extract collection urls from an indicator
@@ -50,7 +53,384 @@ export function assignProjID(item: import("stac-ts").StacItem, linkOrAsset: impo
50
53
  */
51
54
  export function mergeGeojsons(geojsonUrls: string[]): Promise<string | undefined>;
52
55
  export function extractRoles(properties: Record<string, any>, linkOrAsset: import("stac-ts").StacLink | import("stac-ts").StacAsset): Record<string, any>;
53
- export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string): Promise<any>;
56
+ export function fetchStyle(item: import("stac-ts").StacItem, itemUrl: string): Promise<{
57
+ "fill-color"?: import("ol/style/flat.js").ColorExpression | undefined;
58
+ "fill-pattern-src"?: import("ol/style/flat.js").StringExpression | undefined;
59
+ "fill-pattern-size"?: import("ol/style/flat.js").SizeExpression | undefined;
60
+ "fill-pattern-offset"?: import("ol/style/flat.js").SizeExpression | undefined;
61
+ "fill-pattern-offset-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
62
+ "stroke-color"?: import("ol/style/flat.js").ColorExpression | undefined;
63
+ "stroke-width"?: import("ol/style/flat.js").NumberExpression | undefined;
64
+ "stroke-line-cap"?: import("ol/style/flat.js").StringExpression | undefined;
65
+ "stroke-line-join"?: import("ol/style/flat.js").StringExpression | undefined;
66
+ "stroke-line-dash"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
67
+ "stroke-line-dash-offset"?: import("ol/style/flat.js").NumberExpression | undefined;
68
+ "stroke-miter-limit"?: import("ol/style/flat.js").NumberExpression | undefined;
69
+ "stroke-offset"?: import("ol/style/flat.js").NumberExpression | undefined;
70
+ "stroke-pattern-src"?: string | undefined;
71
+ "stroke-pattern-offset"?: import("ol/style/flat.js").SizeExpression | undefined;
72
+ "stroke-pattern-offset-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
73
+ "stroke-pattern-size"?: import("ol/style/flat.js").SizeExpression | undefined;
74
+ "stroke-pattern-spacing"?: import("ol/style/flat.js").NumberExpression | undefined;
75
+ "z-index"?: import("ol/style/flat.js").NumberExpression | undefined;
76
+ "text-value"?: import("ol/style/flat.js").StringExpression | undefined;
77
+ "text-font"?: import("ol/style/flat.js").StringExpression | undefined;
78
+ "text-max-angle"?: import("ol/style/flat.js").NumberExpression | undefined;
79
+ "text-offset-x"?: import("ol/style/flat.js").NumberExpression | undefined;
80
+ "text-offset-y"?: import("ol/style/flat.js").NumberExpression | undefined;
81
+ "text-overflow"?: import("ol/style/flat.js").BooleanExpression | undefined;
82
+ "text-placement"?: import("ol/style/flat.js").StringExpression | undefined;
83
+ "text-repeat"?: import("ol/style/flat.js").NumberExpression | undefined;
84
+ "text-scale"?: import("ol/style/flat.js").SizeExpression | undefined;
85
+ "text-rotate-with-view"?: import("ol/style/flat.js").BooleanExpression | undefined;
86
+ "text-rotation"?: import("ol/style/flat.js").NumberExpression | undefined;
87
+ "text-align"?: import("ol/style/flat.js").StringExpression | undefined;
88
+ "text-justify"?: import("ol/style/flat.js").StringExpression | undefined;
89
+ "text-baseline"?: import("ol/style/flat.js").StringExpression | undefined;
90
+ "text-padding"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
91
+ "text-fill-color"?: import("ol/style/flat.js").ColorExpression | undefined;
92
+ "text-background-fill-color"?: import("ol/style/flat.js").ColorExpression | undefined;
93
+ "text-stroke-color"?: import("ol/style/flat.js").ColorExpression | undefined;
94
+ "text-stroke-line-cap"?: import("ol/style/flat.js").StringExpression | undefined;
95
+ "text-stroke-line-join"?: import("ol/style/flat.js").StringExpression | undefined;
96
+ "text-stroke-line-dash"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
97
+ "text-stroke-line-dash-offset"?: import("ol/style/flat.js").NumberExpression | undefined;
98
+ "text-stroke-miter-limit"?: import("ol/style/flat.js").NumberExpression | undefined;
99
+ "text-stroke-width"?: import("ol/style/flat.js").NumberExpression | undefined;
100
+ "text-background-stroke-color"?: import("ol/style/flat.js").ColorExpression | undefined;
101
+ "text-background-stroke-line-cap"?: import("ol/style/flat.js").StringExpression | undefined;
102
+ "text-background-stroke-line-join"?: import("ol/style/flat.js").StringExpression | undefined;
103
+ "text-background-stroke-line-dash"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
104
+ "text-background-stroke-line-dash-offset"?: import("ol/style/flat.js").NumberExpression | undefined;
105
+ "text-background-stroke-miter-limit"?: import("ol/style/flat.js").NumberExpression | undefined;
106
+ "text-background-stroke-width"?: import("ol/style/flat.js").NumberExpression | undefined;
107
+ "text-declutter-mode"?: import("ol/style/Style.js").DeclutterMode | undefined;
108
+ "icon-src"?: string | undefined;
109
+ "icon-anchor"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
110
+ "icon-anchor-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
111
+ "icon-anchor-x-units"?: import("ol/style/Icon.js").IconAnchorUnits | undefined;
112
+ "icon-anchor-y-units"?: import("ol/style/Icon.js").IconAnchorUnits | undefined;
113
+ "icon-color"?: import("ol/style/flat.js").ColorExpression | undefined;
114
+ "icon-cross-origin"?: string | null | undefined;
115
+ "icon-offset"?: import("ol/style/flat.js").SizeExpression | undefined;
116
+ "icon-displacement"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
117
+ "icon-offset-origin"?: import("ol/style/Icon.js").IconOrigin | undefined;
118
+ "icon-opacity"?: import("ol/style/flat.js").NumberExpression | undefined;
119
+ "icon-scale"?: import("ol/style/flat.js").SizeExpression | undefined;
120
+ "icon-width"?: import("ol/style/flat.js").NumberExpression | undefined;
121
+ "icon-height"?: import("ol/style/flat.js").NumberExpression | undefined;
122
+ "icon-rotation"?: import("ol/style/flat.js").NumberExpression | undefined;
123
+ "icon-rotate-with-view"?: import("ol/style/flat.js").BooleanExpression | undefined;
124
+ "icon-size"?: import("ol/style/flat.js").SizeExpression | undefined;
125
+ "icon-declutter-mode"?: import("ol/style/Style.js").DeclutterMode | undefined;
126
+ "shape-points"?: import("ol/style/flat.js").NumberExpression | undefined;
127
+ "shape-fill-color"?: import("ol/style/flat.js").ColorExpression | undefined;
128
+ "shape-stroke-color"?: import("ol/style/flat.js").ColorExpression | undefined;
129
+ "shape-stroke-width"?: import("ol/style/flat.js").NumberExpression | undefined;
130
+ "shape-stroke-line-cap"?: import("ol/style/flat.js").StringExpression | undefined;
131
+ "shape-stroke-line-join"?: import("ol/style/flat.js").StringExpression | undefined;
132
+ "shape-stroke-line-dash"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
133
+ "shape-stroke-line-dash-offset"?: import("ol/style/flat.js").NumberExpression | undefined;
134
+ "shape-stroke-miter-limit"?: import("ol/style/flat.js").NumberExpression | undefined;
135
+ "shape-radius"?: import("ol/style/flat.js").NumberExpression | undefined;
136
+ "shape-radius2"?: import("ol/style/flat.js").NumberExpression | undefined;
137
+ "shape-angle"?: import("ol/style/flat.js").NumberExpression | undefined;
138
+ "shape-displacement"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
139
+ "shape-opacity"?: import("ol/style/flat.js").NumberExpression | undefined;
140
+ "shape-rotation"?: import("ol/style/flat.js").NumberExpression | undefined;
141
+ "shape-rotate-with-view"?: import("ol/style/flat.js").BooleanExpression | undefined;
142
+ "shape-scale"?: import("ol/style/flat.js").SizeExpression | undefined;
143
+ "shape-declutter-mode"?: import("ol/style/Style.js").DeclutterMode | undefined;
144
+ "circle-radius"?: import("ol/style/flat.js").NumberExpression | undefined;
145
+ "circle-fill-color"?: import("ol/style/flat.js").ColorExpression | undefined;
146
+ "circle-stroke-color"?: import("ol/style/flat.js").ColorExpression | undefined;
147
+ "circle-stroke-width"?: import("ol/style/flat.js").NumberExpression | undefined;
148
+ "circle-stroke-line-cap"?: import("ol/style/flat.js").StringExpression | undefined;
149
+ "circle-stroke-line-join"?: import("ol/style/flat.js").StringExpression | undefined;
150
+ "circle-stroke-line-dash"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
151
+ "circle-stroke-line-dash-offset"?: import("ol/style/flat.js").NumberExpression | undefined;
152
+ "circle-stroke-miter-limit"?: import("ol/style/flat.js").NumberExpression | undefined;
153
+ "circle-displacement"?: import("ol/style/flat.js").NumberArrayExpression | undefined;
154
+ "circle-scale"?: import("ol/style/flat.js").SizeExpression | undefined;
155
+ "circle-opacity"?: import("ol/style/flat.js").NumberExpression | undefined;
156
+ "circle-rotation"?: import("ol/style/flat.js").NumberExpression | undefined;
157
+ "circle-rotate-with-view"?: import("ol/style/flat.js").BooleanExpression | undefined;
158
+ "circle-declutter-mode"?: import("ol/style/Style.js").DeclutterMode | undefined;
159
+ variables?: Record<string, string | number | boolean | null | undefined>;
160
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
161
+ jsonform?: import("json-schema").JSONSchema7;
162
+ tooltip?: {
163
+ id: string;
164
+ title?: string;
165
+ appendix?: string;
166
+ }[];
167
+ } | {
168
+ [x: number]: import("ol/style/flat.js").FlatStyle;
169
+ length: number;
170
+ toString(): string;
171
+ toLocaleString(): string;
172
+ toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
173
+ pop(): import("ol/style/flat.js").FlatStyle | undefined;
174
+ push(...items: import("ol/style/flat.js").FlatStyle[]): number;
175
+ concat(...items: ConcatArray<import("ol/style/flat.js").FlatStyle>[]): import("ol/style/flat.js").FlatStyle[];
176
+ concat(...items: (import("ol/style/flat.js").FlatStyle | ConcatArray<import("ol/style/flat.js").FlatStyle>)[]): import("ol/style/flat.js").FlatStyle[];
177
+ join(separator?: string): string;
178
+ reverse(): import("ol/style/flat.js").FlatStyle[];
179
+ shift(): import("ol/style/flat.js").FlatStyle | undefined;
180
+ slice(start?: number, end?: number): import("ol/style/flat.js").FlatStyle[];
181
+ sort(compareFn?: ((a: import("ol/style/flat.js").FlatStyle, b: import("ol/style/flat.js").FlatStyle) => number) | undefined): import("ol/style/flat.js").FlatStyle[] & {
182
+ variables?: Record<string, string | number | boolean | null | undefined>;
183
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
184
+ jsonform?: import("json-schema").JSONSchema7;
185
+ tooltip?: {
186
+ id: string;
187
+ title?: string;
188
+ appendix?: string;
189
+ }[];
190
+ };
191
+ splice(start: number, deleteCount?: number): import("ol/style/flat.js").FlatStyle[];
192
+ splice(start: number, deleteCount: number, ...items: import("ol/style/flat.js").FlatStyle[]): import("ol/style/flat.js").FlatStyle[];
193
+ unshift(...items: import("ol/style/flat.js").FlatStyle[]): number;
194
+ indexOf(searchElement: import("ol/style/flat.js").FlatStyle, fromIndex?: number): number;
195
+ lastIndexOf(searchElement: import("ol/style/flat.js").FlatStyle, fromIndex?: number): number;
196
+ every<S extends import("ol/style/flat.js").FlatStyle>(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => value is S, thisArg?: any): this is S[];
197
+ every(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => unknown, thisArg?: any): boolean;
198
+ some(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => unknown, thisArg?: any): boolean;
199
+ forEach(callbackfn: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => void, thisArg?: any): void;
200
+ map<U>(callbackfn: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => U, thisArg?: any): U[];
201
+ filter<S extends import("ol/style/flat.js").FlatStyle>(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => value is S, thisArg?: any): S[];
202
+ filter(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => unknown, thisArg?: any): import("ol/style/flat.js").FlatStyle[];
203
+ reduce(callbackfn: (previousValue: import("ol/style/flat.js").FlatStyle, currentValue: import("ol/style/flat.js").FlatStyle, currentIndex: number, array: import("ol/style/flat.js").FlatStyle[]) => import("ol/style/flat.js").FlatStyle): import("ol/style/flat.js").FlatStyle;
204
+ reduce(callbackfn: (previousValue: import("ol/style/flat.js").FlatStyle, currentValue: import("ol/style/flat.js").FlatStyle, currentIndex: number, array: import("ol/style/flat.js").FlatStyle[]) => import("ol/style/flat.js").FlatStyle, initialValue: import("ol/style/flat.js").FlatStyle): import("ol/style/flat.js").FlatStyle;
205
+ reduce<U>(callbackfn: (previousValue: U, currentValue: import("ol/style/flat.js").FlatStyle, currentIndex: number, array: import("ol/style/flat.js").FlatStyle[]) => U, initialValue: U): U;
206
+ reduceRight(callbackfn: (previousValue: import("ol/style/flat.js").FlatStyle, currentValue: import("ol/style/flat.js").FlatStyle, currentIndex: number, array: import("ol/style/flat.js").FlatStyle[]) => import("ol/style/flat.js").FlatStyle): import("ol/style/flat.js").FlatStyle;
207
+ reduceRight(callbackfn: (previousValue: import("ol/style/flat.js").FlatStyle, currentValue: import("ol/style/flat.js").FlatStyle, currentIndex: number, array: import("ol/style/flat.js").FlatStyle[]) => import("ol/style/flat.js").FlatStyle, initialValue: import("ol/style/flat.js").FlatStyle): import("ol/style/flat.js").FlatStyle;
208
+ reduceRight<U>(callbackfn: (previousValue: U, currentValue: import("ol/style/flat.js").FlatStyle, currentIndex: number, array: import("ol/style/flat.js").FlatStyle[]) => U, initialValue: U): U;
209
+ find<S extends import("ol/style/flat.js").FlatStyle>(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, obj: import("ol/style/flat.js").FlatStyle[]) => value is S, thisArg?: any): S | undefined;
210
+ find(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, obj: import("ol/style/flat.js").FlatStyle[]) => unknown, thisArg?: any): import("ol/style/flat.js").FlatStyle | undefined;
211
+ findIndex(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, obj: import("ol/style/flat.js").FlatStyle[]) => unknown, thisArg?: any): number;
212
+ fill(value: import("ol/style/flat.js").FlatStyle, start?: number, end?: number): import("ol/style/flat.js").FlatStyle[] & {
213
+ variables?: Record<string, string | number | boolean | null | undefined>;
214
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
215
+ jsonform?: import("json-schema").JSONSchema7;
216
+ tooltip?: {
217
+ id: string;
218
+ title?: string;
219
+ appendix?: string;
220
+ }[];
221
+ };
222
+ copyWithin(target: number, start: number, end?: number): import("ol/style/flat.js").FlatStyle[] & {
223
+ variables?: Record<string, string | number | boolean | null | undefined>;
224
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
225
+ jsonform?: import("json-schema").JSONSchema7;
226
+ tooltip?: {
227
+ id: string;
228
+ title?: string;
229
+ appendix?: string;
230
+ }[];
231
+ };
232
+ entries(): ArrayIterator<[number, import("ol/style/flat.js").FlatStyle]>;
233
+ keys(): ArrayIterator<number>;
234
+ values(): ArrayIterator<import("ol/style/flat.js").FlatStyle>;
235
+ includes(searchElement: import("ol/style/flat.js").FlatStyle, fromIndex?: number): boolean;
236
+ flatMap<U, This = undefined>(callback: (this: This, value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => U | readonly U[], thisArg?: This | undefined): U[];
237
+ flat<A, D extends number = 1>(this: A, depth?: D | undefined): FlatArray<A, D>[];
238
+ at(index: number): import("ol/style/flat.js").FlatStyle | undefined;
239
+ findLast<S extends import("ol/style/flat.js").FlatStyle>(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => value is S, thisArg?: any): S | undefined;
240
+ findLast(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => unknown, thisArg?: any): import("ol/style/flat.js").FlatStyle | undefined;
241
+ findLastIndex(predicate: (value: import("ol/style/flat.js").FlatStyle, index: number, array: import("ol/style/flat.js").FlatStyle[]) => unknown, thisArg?: any): number;
242
+ toReversed(): import("ol/style/flat.js").FlatStyle[];
243
+ toSorted(compareFn?: ((a: import("ol/style/flat.js").FlatStyle, b: import("ol/style/flat.js").FlatStyle) => number) | undefined): import("ol/style/flat.js").FlatStyle[];
244
+ toSpliced(start: number, deleteCount: number, ...items: import("ol/style/flat.js").FlatStyle[]): import("ol/style/flat.js").FlatStyle[];
245
+ toSpliced(start: number, deleteCount?: number): import("ol/style/flat.js").FlatStyle[];
246
+ with(index: number, value: import("ol/style/flat.js").FlatStyle): import("ol/style/flat.js").FlatStyle[];
247
+ [Symbol.iterator](): ArrayIterator<import("ol/style/flat.js").FlatStyle>;
248
+ [Symbol.unscopables]: {
249
+ [x: number]: boolean | undefined;
250
+ length?: boolean | undefined;
251
+ toString?: boolean | undefined;
252
+ toLocaleString?: boolean | undefined;
253
+ pop?: boolean | undefined;
254
+ push?: boolean | undefined;
255
+ concat?: boolean | undefined;
256
+ join?: boolean | undefined;
257
+ reverse?: boolean | undefined;
258
+ shift?: boolean | undefined;
259
+ slice?: boolean | undefined;
260
+ sort?: boolean | undefined;
261
+ splice?: boolean | undefined;
262
+ unshift?: boolean | undefined;
263
+ indexOf?: boolean | undefined;
264
+ lastIndexOf?: boolean | undefined;
265
+ every?: boolean | undefined;
266
+ some?: boolean | undefined;
267
+ forEach?: boolean | undefined;
268
+ map?: boolean | undefined;
269
+ filter?: boolean | undefined;
270
+ reduce?: boolean | undefined;
271
+ reduceRight?: boolean | undefined;
272
+ find?: boolean | undefined;
273
+ findIndex?: boolean | undefined;
274
+ fill?: boolean | undefined;
275
+ copyWithin?: boolean | undefined;
276
+ entries?: boolean | undefined;
277
+ keys?: boolean | undefined;
278
+ values?: boolean | undefined;
279
+ includes?: boolean | undefined;
280
+ flatMap?: boolean | undefined;
281
+ flat?: boolean | undefined;
282
+ at?: boolean | undefined;
283
+ findLast?: boolean | undefined;
284
+ findLastIndex?: boolean | undefined;
285
+ toReversed?: boolean | undefined;
286
+ toSorted?: boolean | undefined;
287
+ toSpliced?: boolean | undefined;
288
+ with?: boolean | undefined;
289
+ [Symbol.iterator]?: boolean | undefined;
290
+ readonly [Symbol.unscopables]?: boolean | undefined;
291
+ };
292
+ variables?: Record<string, string | number | boolean | null | undefined>;
293
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
294
+ jsonform?: import("json-schema").JSONSchema7;
295
+ tooltip?: {
296
+ id: string;
297
+ title?: string;
298
+ appendix?: string;
299
+ }[];
300
+ } | {
301
+ [x: number]: import("ol/style/flat.js").Rule;
302
+ length: number;
303
+ toString(): string;
304
+ toLocaleString(): string;
305
+ toLocaleString(locales: string | string[], options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions): string;
306
+ pop(): import("ol/style/flat.js").Rule | undefined;
307
+ push(...items: import("ol/style/flat.js").Rule[]): number;
308
+ concat(...items: ConcatArray<import("ol/style/flat.js").Rule>[]): import("ol/style/flat.js").Rule[];
309
+ concat(...items: (import("ol/style/flat.js").Rule | ConcatArray<import("ol/style/flat.js").Rule>)[]): import("ol/style/flat.js").Rule[];
310
+ join(separator?: string): string;
311
+ reverse(): import("ol/style/flat.js").Rule[];
312
+ shift(): import("ol/style/flat.js").Rule | undefined;
313
+ slice(start?: number, end?: number): import("ol/style/flat.js").Rule[];
314
+ sort(compareFn?: ((a: import("ol/style/flat.js").Rule, b: import("ol/style/flat.js").Rule) => number) | undefined): import("ol/style/flat.js").Rule[] & {
315
+ variables?: Record<string, string | number | boolean | null | undefined>;
316
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
317
+ jsonform?: import("json-schema").JSONSchema7;
318
+ tooltip?: {
319
+ id: string;
320
+ title?: string;
321
+ appendix?: string;
322
+ }[];
323
+ };
324
+ splice(start: number, deleteCount?: number): import("ol/style/flat.js").Rule[];
325
+ splice(start: number, deleteCount: number, ...items: import("ol/style/flat.js").Rule[]): import("ol/style/flat.js").Rule[];
326
+ unshift(...items: import("ol/style/flat.js").Rule[]): number;
327
+ indexOf(searchElement: import("ol/style/flat.js").Rule, fromIndex?: number): number;
328
+ lastIndexOf(searchElement: import("ol/style/flat.js").Rule, fromIndex?: number): number;
329
+ every<S extends import("ol/style/flat.js").Rule>(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => value is S, thisArg?: any): this is S[];
330
+ every(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => unknown, thisArg?: any): boolean;
331
+ some(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => unknown, thisArg?: any): boolean;
332
+ forEach(callbackfn: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => void, thisArg?: any): void;
333
+ map<U>(callbackfn: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => U, thisArg?: any): U[];
334
+ filter<S extends import("ol/style/flat.js").Rule>(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => value is S, thisArg?: any): S[];
335
+ filter(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => unknown, thisArg?: any): import("ol/style/flat.js").Rule[];
336
+ reduce(callbackfn: (previousValue: import("ol/style/flat.js").Rule, currentValue: import("ol/style/flat.js").Rule, currentIndex: number, array: import("ol/style/flat.js").Rule[]) => import("ol/style/flat.js").Rule): import("ol/style/flat.js").Rule;
337
+ reduce(callbackfn: (previousValue: import("ol/style/flat.js").Rule, currentValue: import("ol/style/flat.js").Rule, currentIndex: number, array: import("ol/style/flat.js").Rule[]) => import("ol/style/flat.js").Rule, initialValue: import("ol/style/flat.js").Rule): import("ol/style/flat.js").Rule;
338
+ reduce<U>(callbackfn: (previousValue: U, currentValue: import("ol/style/flat.js").Rule, currentIndex: number, array: import("ol/style/flat.js").Rule[]) => U, initialValue: U): U;
339
+ reduceRight(callbackfn: (previousValue: import("ol/style/flat.js").Rule, currentValue: import("ol/style/flat.js").Rule, currentIndex: number, array: import("ol/style/flat.js").Rule[]) => import("ol/style/flat.js").Rule): import("ol/style/flat.js").Rule;
340
+ reduceRight(callbackfn: (previousValue: import("ol/style/flat.js").Rule, currentValue: import("ol/style/flat.js").Rule, currentIndex: number, array: import("ol/style/flat.js").Rule[]) => import("ol/style/flat.js").Rule, initialValue: import("ol/style/flat.js").Rule): import("ol/style/flat.js").Rule;
341
+ reduceRight<U>(callbackfn: (previousValue: U, currentValue: import("ol/style/flat.js").Rule, currentIndex: number, array: import("ol/style/flat.js").Rule[]) => U, initialValue: U): U;
342
+ find<S extends import("ol/style/flat.js").Rule>(predicate: (value: import("ol/style/flat.js").Rule, index: number, obj: import("ol/style/flat.js").Rule[]) => value is S, thisArg?: any): S | undefined;
343
+ find(predicate: (value: import("ol/style/flat.js").Rule, index: number, obj: import("ol/style/flat.js").Rule[]) => unknown, thisArg?: any): import("ol/style/flat.js").Rule | undefined;
344
+ findIndex(predicate: (value: import("ol/style/flat.js").Rule, index: number, obj: import("ol/style/flat.js").Rule[]) => unknown, thisArg?: any): number;
345
+ fill(value: import("ol/style/flat.js").Rule, start?: number, end?: number): import("ol/style/flat.js").Rule[] & {
346
+ variables?: Record<string, string | number | boolean | null | undefined>;
347
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
348
+ jsonform?: import("json-schema").JSONSchema7;
349
+ tooltip?: {
350
+ id: string;
351
+ title?: string;
352
+ appendix?: string;
353
+ }[];
354
+ };
355
+ copyWithin(target: number, start: number, end?: number): import("ol/style/flat.js").Rule[] & {
356
+ variables?: Record<string, string | number | boolean | null | undefined>;
357
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
358
+ jsonform?: import("json-schema").JSONSchema7;
359
+ tooltip?: {
360
+ id: string;
361
+ title?: string;
362
+ appendix?: string;
363
+ }[];
364
+ };
365
+ entries(): ArrayIterator<[number, import("ol/style/flat.js").Rule]>;
366
+ keys(): ArrayIterator<number>;
367
+ values(): ArrayIterator<import("ol/style/flat.js").Rule>;
368
+ includes(searchElement: import("ol/style/flat.js").Rule, fromIndex?: number): boolean;
369
+ flatMap<U, This = undefined>(callback: (this: This, value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => U | readonly U[], thisArg?: This | undefined): U[];
370
+ flat<A, D extends number = 1>(this: A, depth?: D | undefined): FlatArray<A, D>[];
371
+ at(index: number): import("ol/style/flat.js").Rule | undefined;
372
+ findLast<S extends import("ol/style/flat.js").Rule>(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => value is S, thisArg?: any): S | undefined;
373
+ findLast(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => unknown, thisArg?: any): import("ol/style/flat.js").Rule | undefined;
374
+ findLastIndex(predicate: (value: import("ol/style/flat.js").Rule, index: number, array: import("ol/style/flat.js").Rule[]) => unknown, thisArg?: any): number;
375
+ toReversed(): import("ol/style/flat.js").Rule[];
376
+ toSorted(compareFn?: ((a: import("ol/style/flat.js").Rule, b: import("ol/style/flat.js").Rule) => number) | undefined): import("ol/style/flat.js").Rule[];
377
+ toSpliced(start: number, deleteCount: number, ...items: import("ol/style/flat.js").Rule[]): import("ol/style/flat.js").Rule[];
378
+ toSpliced(start: number, deleteCount?: number): import("ol/style/flat.js").Rule[];
379
+ with(index: number, value: import("ol/style/flat.js").Rule): import("ol/style/flat.js").Rule[];
380
+ [Symbol.iterator](): ArrayIterator<import("ol/style/flat.js").Rule>;
381
+ [Symbol.unscopables]: {
382
+ [x: number]: boolean | undefined;
383
+ length?: boolean | undefined;
384
+ toString?: boolean | undefined;
385
+ toLocaleString?: boolean | undefined;
386
+ pop?: boolean | undefined;
387
+ push?: boolean | undefined;
388
+ concat?: boolean | undefined;
389
+ join?: boolean | undefined;
390
+ reverse?: boolean | undefined;
391
+ shift?: boolean | undefined;
392
+ slice?: boolean | undefined;
393
+ sort?: boolean | undefined;
394
+ splice?: boolean | undefined;
395
+ unshift?: boolean | undefined;
396
+ indexOf?: boolean | undefined;
397
+ lastIndexOf?: boolean | undefined;
398
+ every?: boolean | undefined;
399
+ some?: boolean | undefined;
400
+ forEach?: boolean | undefined;
401
+ map?: boolean | undefined;
402
+ filter?: boolean | undefined;
403
+ reduce?: boolean | undefined;
404
+ reduceRight?: boolean | undefined;
405
+ find?: boolean | undefined;
406
+ findIndex?: boolean | undefined;
407
+ fill?: boolean | undefined;
408
+ copyWithin?: boolean | undefined;
409
+ entries?: boolean | undefined;
410
+ keys?: boolean | undefined;
411
+ values?: boolean | undefined;
412
+ includes?: boolean | undefined;
413
+ flatMap?: boolean | undefined;
414
+ flat?: boolean | undefined;
415
+ at?: boolean | undefined;
416
+ findLast?: boolean | undefined;
417
+ findLastIndex?: boolean | undefined;
418
+ toReversed?: boolean | undefined;
419
+ toSorted?: boolean | undefined;
420
+ toSpliced?: boolean | undefined;
421
+ with?: boolean | undefined;
422
+ [Symbol.iterator]?: boolean | undefined;
423
+ readonly [Symbol.unscopables]?: boolean | undefined;
424
+ };
425
+ variables?: Record<string, string | number | boolean | null | undefined>;
426
+ legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
427
+ jsonform?: import("json-schema").JSONSchema7;
428
+ tooltip?: {
429
+ id: string;
430
+ title?: string;
431
+ appendix?: string;
432
+ }[];
433
+ } | undefined>;
54
434
  export function getProjectionCode(projection?: string | number | {
55
435
  name: string;
56
436
  def: string;
@@ -273,10 +273,10 @@ export declare function register(): void;
273
273
  */
274
274
  export declare const store: typeof import("./store").default;
275
275
  export * from "./main.js";
276
- export type EodashStyleJson = import("ol/style/webgl.js").WebGLStyle & {
276
+ export type EodashStyleJson = import("ol/style/flat").FlatStyleLike & {
277
277
  variables?: Record<string, string | number | boolean | null | undefined>;
278
278
  legend?: import("@eox/layercontrol/src/components/layer-config.js").EOxLayerControlLayerConfig["layerConfig"]["legend"];
279
- jsonform?: Record<string, any>;
279
+ jsonform?: import("json-schema").JSONSchema7;
280
280
  tooltip?: {
281
281
  id: string;
282
282
  title?: string;
@@ -4,16 +4,16 @@ type __VLS_WithTemplateSlots<T, S> = T & (new () => {
4
4
  $slots: S;
5
5
  });
6
6
  declare const __VLS_component: import("vue").DefineComponent<{}, {
7
+ width: string;
7
8
  height: string;
8
9
  maxHeight: string;
9
10
  maxWidth: string;
10
- width: string;
11
11
  widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
12
12
  $props: {
13
+ readonly width?: string | undefined;
13
14
  readonly height?: string | undefined;
14
15
  readonly maxHeight?: string | undefined;
15
16
  readonly maxWidth?: string | undefined;
16
- readonly width?: string | undefined;
17
17
  readonly widget?: import("../core/client/types").Widget<"compiletime"> | undefined;
18
18
  };
19
19
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLSpanElement>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eodash/eodash",
3
- "version": "5.0.0-rc.2.4",
3
+ "version": "5.0.0-rc.2.5",
4
4
  "type": "module",
5
5
  "types": "./dist/types/core/client/types.d.ts",
6
6
  "files": [
@@ -59,15 +59,15 @@
59
59
  "docs:generate": "typedoc --options typedoc.config.json"
60
60
  },
61
61
  "dependencies": {
62
- "@eox/chart": "^0.3.1",
63
- "@eox/drawtools": "^0.13.5",
62
+ "@eox/chart": "^0.4.0",
63
+ "@eox/drawtools": "^0.14.0",
64
64
  "@eox/itemfilter": "^1.7.1",
65
- "@eox/jsonform": "^0.15.3",
65
+ "@eox/jsonform": "^0.15.4",
66
66
  "@eox/layercontrol": "^0.29.0",
67
67
  "@eox/layout": "^0.3.0",
68
68
  "@eox/map": "^1.19.4",
69
69
  "@eox/stacinfo": "^0.6.2",
70
- "@eox/timecontrol": "^0.12.2",
70
+ "@eox/timecontrol": "^0.12.3",
71
71
  "@mdi/js": "^7.4.47",
72
72
  "@vitejs/plugin-vue": "^5.2.1",
73
73
  "@vueuse/core": "^12.0.0",
@@ -97,6 +97,7 @@
97
97
  "@babel/types": "^7.26.9",
98
98
  "@eox/eslint-config": "^2.0.0",
99
99
  "@pinia/testing": "^0.1.7",
100
+ "@types/json-schema": "^7.0.15",
100
101
  "@types/mustache": "^4.2.5",
101
102
  "@types/node": "^22.13.5",
102
103
  "@types/openlayers": "^4.6.23",
@@ -25,7 +25,12 @@
25
25
  slot="second"
26
26
  ref="compareMap"
27
27
  .layers="eoxMapCompareLayers"
28
- />
28
+ >
29
+ <eox-map-tooltip
30
+ :style="tooltipStyles"
31
+ .propertyTransform="tooltipPropertyTransform"
32
+ />
33
+ </eox-map>
29
34
  </eox-map-compare>
30
35
  </template>
31
36
  <script setup>
@@ -173,7 +178,6 @@ const tooltipPropertyTransform = (param) => {
173
178
  }),
174
179
  );
175
180
 
176
- //@ts-expect-error todo
177
181
  const tooltipProp = updatedProperties?.find((prop) => prop.id === param.key);
178
182
  if (!tooltipProp) {
179
183
  return undefined;
@@ -156,7 +156,6 @@ useOnLayersUpdate(async (evt, _payload) => {
156
156
  });
157
157
 
158
158
  const startProcess = async () => {
159
- //@ts-expect-error todo
160
159
  const errors = jsonformEl.value?.editor.validate();
161
160
  if (errors?.length) {
162
161
  console.warn("[eodash] Form validation failed", errors);
@@ -186,7 +185,6 @@ const chartStyles = computed(() => {
186
185
  styles["height"] =
187
186
  Math.max(
188
187
  (containerEl.value?.offsetHeight ?? 0) -
189
- //@ts-expect-error TODO
190
188
  (jsonformEl.value?.offsetHeight ?? 0),
191
189
  200,
192
190
  ) + "px";