@eodash/eodash 5.0.0-rc.2 → 5.0.0-rc.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/core/client/composables/EodashProcess.js +1 -1
  2. package/core/client/eodashSTAC/triggers.js +8 -4
  3. package/dist/client/{DashboardLayout-VrJIbhe8.js → DashboardLayout-BjUs7mYs.js} +2 -2
  4. package/dist/client/{DynamicWebComponent-BCwpocDX.js → DynamicWebComponent-rIFx5c0f.js} +1 -1
  5. package/dist/client/{EodashDatePicker-Bp5ec3BC.js → EodashDatePicker-brJlj1aQ.js} +2 -2
  6. package/dist/client/{EodashItemFilter-Cx0t-qeW.js → EodashItemFilter-C2i4lnM1.js} +1 -1
  7. package/dist/client/{EodashLayerControl-DERx00In.js → EodashLayerControl-DNQzPQQ4.js} +1 -1
  8. package/dist/client/{EodashLayoutSwitcher-DTS7otlk.js → EodashLayoutSwitcher-gLe7G8Qn.js} +2 -2
  9. package/dist/client/{EodashMap-C-I6puhb.js → EodashMap-LOzTlvrM.js} +1 -1
  10. package/dist/client/{EodashMapBtns-CWgtJiG4.js → EodashMapBtns-UXOupU5J.js} +4 -4
  11. package/dist/client/{EodashProcess-DWrTIyHT.js → EodashProcess-BlkqUdzj.js} +2 -2
  12. package/dist/client/{EodashStacInfo-Dvsk97Mz.js → EodashStacInfo-Df3LXKAw.js} +1 -1
  13. package/dist/client/{EodashTools-CdnjgTTl.js → EodashTools-BrqH4IDP.js} +4 -4
  14. package/dist/client/{ExportState-S4lcehm3.js → ExportState-DVosrSNY.js} +4 -4
  15. package/dist/client/{Footer-DlIEbXp-.js → Footer-tjsscQ7O.js} +1 -1
  16. package/dist/client/{Header-CTiEXLi0.js → Header-DYMnh4of.js} +3 -3
  17. package/dist/client/{MobileLayout-DRgyQYFz.js → MobileLayout-Df4Z1bMl.js} +5 -5
  18. package/dist/client/{PopUp-CzqV8BFZ.js → PopUp-BFcSuX3b.js} +3 -3
  19. package/dist/client/{VImg-Bn8bCvVM.js → VImg-BO2Ysvsu.js} +2 -2
  20. package/dist/client/{VMain-2GOqWb6m.js → VMain-fx1gaM7Y.js} +1 -1
  21. package/dist/client/{VOverlay-BetC0LGI.js → VOverlay-CiQn3F6n.js} +3 -3
  22. package/dist/client/{VTooltip-BWg0dxx5.js → VTooltip-DKOCofTl.js} +3 -3
  23. package/dist/client/{WidgetsContainer-Cv466WUW.js → WidgetsContainer-DL0bdnjh.js} +1 -1
  24. package/dist/client/{asWebComponent-CLUhauLl.js → asWebComponent-N7ChSAQG.js} +14 -10
  25. package/dist/client/eo-dash.js +1 -1
  26. package/dist/client/{forwardRefs-CxSsJulB.js → forwardRefs-C2UOEnvr.js} +1 -1
  27. package/dist/client/{index-BMj56LY3.js → index-BXi80Gr9.js} +1 -1
  28. package/dist/client/{transition-DidoPMgC.js → transition-w_2EtUxa.js} +1 -1
  29. package/package.json +1 -1
@@ -348,7 +348,7 @@ export async function processGeoTiff(links, jsonformValue, layerId, isPolling) {
348
348
  /** @type {Record<string,any>|undefined} */
349
349
  let style;
350
350
  if (flatStyleJSON) {
351
- const extracted = extractLayerConfig(flatStyleJSON);
351
+ const extracted = extractLayerConfig(layerId ?? "", flatStyleJSON);
352
352
  layerConfig = extracted.layerConfig;
353
353
  style = extracted.style;
354
354
  }
@@ -75,10 +75,14 @@ export function getStyleVariablesState(collectionId, variables) {
75
75
  }
76
76
 
77
77
  const olLayer = mapElement.getLayerById(matchingLayer.properties?.id ?? "");
78
- const oldVariablesState = /** @type {import("ol/layer").WebGLTile} */ (
79
- olLayer
80
- //@ts-expect-error todo
81
- ).getStyle()?.variables;
78
+ const oldVariablesState =
79
+ /** @type {import("ol/layer").Vector} */ (
80
+ olLayer
81
+ //@ts-expect-error variables doesn't exist in non-flat style
82
+ ).getStyle?.()?.variables ??
83
+ //@ts-expect-error (styleVariables_ is a private property)
84
+ /** @type {import("ol/layer").WebGLTile} */ (olLayer).styleVariables_;
85
+
82
86
  if (!oldVariablesState) {
83
87
  return variables;
84
88
  }
@@ -1,7 +1,7 @@
1
1
  import { openBlock, createBlock, withCtx, createElementVNode, unref, normalizeStyle, createElementBlock, Suspense, resolveDynamicComponent, mergeProps, createCommentVNode, Fragment, renderList, Transition } from 'vue';
2
2
  import '@eox/layout';
3
- import { _ as _export_sfc, F as useDefineTemplate } from './asWebComponent-CLUhauLl.js';
4
- import { V as VMain } from './VMain-2GOqWb6m.js';
3
+ import { _ as _export_sfc, F as useDefineTemplate } from './asWebComponent-N7ChSAQG.js';
4
+ import { V as VMain } from './VMain-fx1gaM7Y.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, openBlock, createElementBlock, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
2
- import { $ as useSTAcStore } from './asWebComponent-CLUhauLl.js';
2
+ import { $ as useSTAcStore } from './asWebComponent-N7ChSAQG.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, useTemplateRef, customRef, ref, computed, reactive, toRef, watch, onMounted, openBlock, createElementBlock, createVNode, unref, createSlots, withCtx, createElementVNode, withDirectives, createBlock, createCommentVNode, toHandlers } from 'vue';
2
2
  import { DatePicker } from 'v-calendar';
3
- import { E as isObject, Y as consoleError, t as useDisplay, Z as datetime, $ as useSTAcStore, a0 as eodashCollections, a1 as collectionsPalette, a2 as makePanelTransparent, V as VBtn, y as VIcon } from './asWebComponent-CLUhauLl.js';
3
+ import { E as isObject, Y as consoleError, t as useDisplay, Z as datetime, $ as useSTAcStore, a0 as eodashCollections, a1 as collectionsPalette, a2 as makePanelTransparent, V as VBtn, y as VIcon } from './asWebComponent-N7ChSAQG.js';
4
4
  import { mdiRayEndArrow, mdiRayStartArrow } from '@mdi/js';
5
5
  import log from 'loglevel';
6
- import { V as VTooltip } from './VTooltip-BWg0dxx5.js';
6
+ import { V as VTooltip } from './VTooltip-DKOCofTl.js';
7
7
 
8
8
  // Utilities
9
9
  function useDirectiveComponent(component, props) {
@@ -1,5 +1,5 @@
1
1
  import { computed, ref, openBlock, createElementBlock, mergeProps, unref, createElementVNode, toDisplayString } from 'vue';
2
- import { t as useDisplay, $ as useSTAcStore } from './asWebComponent-CLUhauLl.js';
2
+ import { t as useDisplay, $ as useSTAcStore } from './asWebComponent-N7ChSAQG.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-CLUhauLl.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-N7ChSAQG.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, openBlock, createElementBlock, createVNode, withCtx, mergeProps } from 'vue';
2
- import { a2 as makePanelTransparent, y as VIcon, al as activeTemplate } from './asWebComponent-CLUhauLl.js';
2
+ import { a2 as makePanelTransparent, y as VIcon, al as activeTemplate } from './asWebComponent-N7ChSAQG.js';
3
3
  import { mdiViewDashboard } from '@mdi/js';
4
- import { V as VTooltip } from './VTooltip-BWg0dxx5.js';
4
+ import { V as VTooltip } from './VTooltip-DKOCofTl.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, openBlock, createElementBlock, 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, a5 as eodashCompareCollections, a6 as layerControlFormValue } from './asWebComponent-CLUhauLl.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, a5 as eodashCompareCollections, a6 as layerControlFormValue } from './asWebComponent-N7ChSAQG.js';
5
5
  import { storeToRefs } from 'pinia';
6
6
  import log from 'loglevel';
7
7
  import { useEventBus } from '@vueuse/core';
@@ -1,9 +1,9 @@
1
1
  import { computed, ref, openBlock, createElementBlock, createBlock, unref, createCommentVNode, createVNode, withCtx } from 'vue';
2
- import { _ as _export_sfc, t as useDisplay, a2 as makePanelTransparent, V as VBtn, ae as availableMapProjection, af as changeMapProjection, ag as setActiveTemplate } from './asWebComponent-CLUhauLl.js';
2
+ import { _ as _export_sfc, t as useDisplay, a2 as makePanelTransparent, V as VBtn, ae as availableMapProjection, af as changeMapProjection, ag as setActiveTemplate } from './asWebComponent-N7ChSAQG.js';
3
3
  import { mdiMapPlus, mdiEarthBox, mdiCompare } from '@mdi/js';
4
- import ExportState from './ExportState-S4lcehm3.js';
5
- import _sfc_main$1 from './PopUp-CzqV8BFZ.js';
6
- import _sfc_main$2 from './EodashItemFilter-Cx0t-qeW.js';
4
+ import ExportState from './ExportState-DVosrSNY.js';
5
+ import _sfc_main$1 from './PopUp-BFcSuX3b.js';
6
+ import _sfc_main$2 from './EodashItemFilter-C2i4lnM1.js';
7
7
 
8
8
  const _sfc_main = {
9
9
  __name: 'EodashMapBtns',
@@ -2,7 +2,7 @@ import { createVNode, watch, onMounted, nextTick, ref, useTemplateRef, computed,
2
2
  import '@eox/chart';
3
3
  import '@eox/drawtools';
4
4
  import '@eox/jsonform';
5
- import { p as propsFactory, b as makeComponentProps, H as makeDimensionProps, c as makeTagProps, g as genericComponent, f as useRtl, J as useDimension, a as useRender, 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-CLUhauLl.js';
5
+ import { p as propsFactory, b as makeComponentProps, H as makeDimensionProps, c as makeTagProps, g as genericComponent, f as useRtl, J as useDimension, a as useRender, 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-N7ChSAQG.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';
@@ -382,7 +382,7 @@ async function processGeoTiff(links, jsonformValue, layerId, isPolling) {
382
382
  /** @type {Record<string,any>|undefined} */
383
383
  let style;
384
384
  if (flatStyleJSON) {
385
- const extracted = extractLayerConfig(flatStyleJSON);
385
+ const extracted = extractLayerConfig(layerId ?? "", flatStyleJSON);
386
386
  layerConfig = extracted.layerConfig;
387
387
  style = extracted.style;
388
388
  }
@@ -1,6 +1,6 @@
1
1
  import { openBlock, createElementBlock, createElementVNode, unref } from 'vue';
2
2
  import '@eox/stacinfo';
3
- import { ak as currentUrl } from './asWebComponent-CLUhauLl.js';
3
+ import { ak as currentUrl } from './asWebComponent-N7ChSAQG.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, openBlock, createElementBlock, createElementVNode, createBlock, unref, createCommentVNode, createVNode, withCtx, mergeProps } from 'vue';
2
- import _sfc_main$2 from './PopUp-CzqV8BFZ.js';
3
- import _sfc_main$3 from './EodashItemFilter-Cx0t-qeW.js';
4
- import _sfc_main$1 from './EodashLayoutSwitcher-DTS7otlk.js';
2
+ import _sfc_main$2 from './PopUp-BFcSuX3b.js';
3
+ import _sfc_main$3 from './EodashItemFilter-C2i4lnM1.js';
4
+ import _sfc_main$1 from './EodashLayoutSwitcher-gLe7G8Qn.js';
5
5
  import { mdiViewDashboard, mdiPlus } from '@mdi/js';
6
- import { t as useDisplay, a2 as makePanelTransparent, V as VBtn } from './asWebComponent-CLUhauLl.js';
6
+ import { t as useDisplay, a2 as makePanelTransparent, V as VBtn } from './asWebComponent-N7ChSAQG.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, openBlock, createBlock, 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-CzqV8BFZ.js';
4
- import { an as createSimpleFunctional, g as genericComponent, b as makeComponentProps, D as provideDefaults, a as useRender, p as propsFactory, c as makeTagProps, I as IconValue, K as makeBorderProps, A as makeDensityProps, M as makeRoundedProps, ao as makeSizeProps, d as makeThemeProps, ap as makeVariantProps, e as provideTheme, N as useBorder, aq as useVariant, B as useDensity, P as useRounded, ar as useSize, y as VIcon, Q as VDefaultsProvider, as as genOverlays, H as makeDimensionProps, L as makeElevationProps, at as makeLoaderProps, au as makeLocationProps, av as makePositionProps, aw as makeRouterProps, ax as Ripple, J as useDimension, O as useElevation, ay as useLoader, az as useLocation, aA as usePosition, aB as useLink, aC as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, ai as getLayers, aD as removeUnneededProperties, aE as VRow, aF as VCol, V as VBtn, aG as copyToClipBoard, ad as mapPosition, ae as availableMapProjection } from './asWebComponent-CLUhauLl.js';
5
- import { a as VExpandTransition } from './index-BMj56LY3.js';
6
- import { V as VImg } from './VImg-Bn8bCvVM.js';
3
+ import _sfc_main$1 from './PopUp-BFcSuX3b.js';
4
+ import { an as createSimpleFunctional, g as genericComponent, b as makeComponentProps, D as provideDefaults, a as useRender, p as propsFactory, c as makeTagProps, I as IconValue, K as makeBorderProps, A as makeDensityProps, M as makeRoundedProps, ao as makeSizeProps, d as makeThemeProps, ap as makeVariantProps, e as provideTheme, N as useBorder, aq as useVariant, B as useDensity, P as useRounded, ar as useSize, y as VIcon, Q as VDefaultsProvider, as as genOverlays, H as makeDimensionProps, L as makeElevationProps, at as makeLoaderProps, au as makeLocationProps, av as makePositionProps, aw as makeRouterProps, ax as Ripple, J as useDimension, O as useElevation, ay as useLoader, az as useLocation, aA as usePosition, aB as useLink, aC as LoaderSlot, u as useTextColor, q as convertToUnit, _ as _export_sfc, ai as getLayers, aD as removeUnneededProperties, aE as VRow, aF as VCol, V as VBtn, aG as copyToClipBoard, ad as mapPosition, ae as availableMapProjection } from './asWebComponent-N7ChSAQG.js';
5
+ import { a as VExpandTransition } from './index-BXi80Gr9.js';
6
+ import { V as VImg } from './VImg-BO2Ysvsu.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, createVNode, watchEffect, inject, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString, createTextVNode } from 'vue';
2
- import { p as propsFactory, K as makeBorderProps, b as makeComponentProps, L as makeElevationProps, T as makeLayoutItemProps, M as makeRoundedProps, c as makeTagProps, d as makeThemeProps, g as genericComponent, e as provideTheme, C as useBackgroundColor, N as useBorder, O as useElevation, P as useRounded, v as useResizeObserver, U as useToggleScope, a as useRender, q as convertToUnit, W as useLayoutItem, _ as _export_sfc, X as eodashKey, t as useDisplay } from './asWebComponent-CLUhauLl.js';
2
+ import { p as propsFactory, K as makeBorderProps, b as makeComponentProps, L as makeElevationProps, T as makeLayoutItemProps, M as makeRoundedProps, c as makeTagProps, d as makeThemeProps, g as genericComponent, e as provideTheme, C as useBackgroundColor, N as useBorder, O as useElevation, P as useRounded, v as useResizeObserver, U as useToggleScope, a as useRender, q as convertToUnit, W as useLayoutItem, _ as _export_sfc, X as eodashKey, t as useDisplay } from './asWebComponent-N7ChSAQG.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, mergeProps, watchEffect, inject, openBlock, createBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
2
- import { p as propsFactory, b as makeComponentProps, c as makeTagProps, g as genericComponent, a as useRender, K as makeBorderProps, L as makeElevationProps, M as makeRoundedProps, d as makeThemeProps, C as useBackgroundColor, N as useBorder, O as useElevation, P as useRounded, e as provideTheme, f as useRtl, D as provideDefaults, Q as VDefaultsProvider, q as convertToUnit, R as clamp, S as consoleWarn, T as makeLayoutItemProps, j as useProxiedModel, U as useToggleScope, W as useLayoutItem, _ as _export_sfc, X as eodashKey } from './asWebComponent-CLUhauLl.js';
3
- import { a as VExpandTransition } from './index-BMj56LY3.js';
4
- import { V as VImg } from './VImg-Bn8bCvVM.js';
2
+ import { p as propsFactory, b as makeComponentProps, c as makeTagProps, g as genericComponent, a as useRender, K as makeBorderProps, L as makeElevationProps, M as makeRoundedProps, d as makeThemeProps, C as useBackgroundColor, N as useBorder, O as useElevation, P as useRounded, e as provideTheme, f as useRtl, D as provideDefaults, Q as VDefaultsProvider, q as convertToUnit, R as clamp, S as consoleWarn, T as makeLayoutItemProps, j as useProxiedModel, U as useToggleScope, W as useLayoutItem, _ as _export_sfc, X as eodashKey } from './asWebComponent-N7ChSAQG.js';
3
+ import { a as VExpandTransition } from './index-BXi80Gr9.js';
4
+ import { V as VImg } from './VImg-BO2Ysvsu.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, openBlock, createBlock, withCtx, Suspense, unref, resolveDynamicComponent, createCommentVNode, createElementBlock, renderList, createElementVNode, createTextVNode, toDisplayString } from 'vue';
2
- import { k as keys, p as propsFactory, o as omit, m as makeVBtnProps, g as genericComponent, u as useTextColor, a as useRender, V as VBtn, b as makeComponentProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, f as useRtl, h as useLocale, i as useGroup, j as useProxiedModel, l as makeGroupItemProps, n as useGroupItem, q as convertToUnit, I as IconValue, r as makeDisplayProps, s as makeGroupProps, t as useDisplay, v as useResizeObserver, w as useGoTo, x as IN_BROWSER, y as VIcon, z as focusableChildren, A as makeDensityProps, B as useDensity, C as useBackgroundColor, D as provideDefaults, E as isObject, _ as _export_sfc, F as useDefineTemplate, G as useLayout } from './asWebComponent-CLUhauLl.js';
3
- import { V as VMain } from './VMain-2GOqWb6m.js';
4
- import { f as forwardRefs, a as animate, s as standardEasing, m as makeLazyProps, u as useLazy, b as useScopeId } from './forwardRefs-CxSsJulB.js';
2
+ import { k as keys, p as propsFactory, o as omit, m as makeVBtnProps, g as genericComponent, u as useTextColor, a as useRender, V as VBtn, b as makeComponentProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, f as useRtl, h as useLocale, i as useGroup, j as useProxiedModel, l as makeGroupItemProps, n as useGroupItem, q as convertToUnit, I as IconValue, r as makeDisplayProps, s as makeGroupProps, t as useDisplay, v as useResizeObserver, w as useGoTo, x as IN_BROWSER, y as VIcon, z as focusableChildren, A as makeDensityProps, B as useDensity, C as useBackgroundColor, D as provideDefaults, E as isObject, _ as _export_sfc, F as useDefineTemplate, G as useLayout } from './asWebComponent-N7ChSAQG.js';
3
+ import { V as VMain } from './VMain-fx1gaM7Y.js';
4
+ import { f as forwardRefs, a as animate, s as standardEasing, m as makeLazyProps, u as useLazy, b as useScopeId } from './forwardRefs-C2UOEnvr.js';
5
5
  import { u as useSsrBoot } from './ssrBoot-BP7SYRyC.js';
6
- import { M as MaybeTransition } from './transition-DidoPMgC.js';
7
- import { V as VFadeTransition } from './index-BMj56LY3.js';
6
+ import { M as MaybeTransition } from './transition-w_2EtUxa.js';
7
+ import { V as VFadeTransition } from './index-BXi80Gr9.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, openBlock, createElementBlock, withCtx, createBlock, resolveDynamicComponent, unref, createCommentVNode, renderSlot } from 'vue';
2
- import { g as genericComponent, p as propsFactory, j as useProxiedModel, x as IN_BROWSER, a as useRender, z as focusableChildren, Q as VDefaultsProvider, K as makeBorderProps, b as makeComponentProps, H as makeDimensionProps, L as makeElevationProps, au as makeLocationProps, av as makePositionProps, M as makeRoundedProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, C as useBackgroundColor, N as useBorder, J as useDimension, O as useElevation, az as useLocation, aA as usePosition, P as useRounded, aJ as useDefineWidgets } from './asWebComponent-CLUhauLl.js';
3
- import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-BetC0LGI.js';
4
- import { a as animate, d as deceleratedEasing, s as standardEasing, c as acceleratedEasing, g as getTargetBox, n as nullifyTransforms, b as useScopeId, f as forwardRefs } from './forwardRefs-CxSsJulB.js';
2
+ import { g as genericComponent, p as propsFactory, j as useProxiedModel, x as IN_BROWSER, a as useRender, z as focusableChildren, Q as VDefaultsProvider, K as makeBorderProps, b as makeComponentProps, H as makeDimensionProps, L as makeElevationProps, au as makeLocationProps, av as makePositionProps, M as makeRoundedProps, c as makeTagProps, d as makeThemeProps, e as provideTheme, C as useBackgroundColor, N as useBorder, J as useDimension, O as useElevation, az as useLocation, aA as usePosition, P as useRounded, aJ as useDefineWidgets } from './asWebComponent-N7ChSAQG.js';
3
+ import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-CiQn3F6n.js';
4
+ import { a as animate, d as deceleratedEasing, s as standardEasing, c as acceleratedEasing, g as getTargetBox, n as nullifyTransforms, b as useScopeId, f as forwardRefs } from './forwardRefs-C2UOEnvr.js';
5
5
 
6
6
  const makeVDialogTransitionProps = propsFactory({
7
7
  target: [Object, Array]
@@ -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, p as propsFactory, b as makeComponentProps, H as makeDimensionProps, g as genericComponent, J as useDimension, a as useRender, M as makeRoundedProps, C as useBackgroundColor, P as useRounded, aI as getCurrentInstance, q as convertToUnit } from './asWebComponent-CLUhauLl.js';
3
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-DidoPMgC.js';
2
+ import { aH as SUPPORTS_INTERSECTION, p as propsFactory, b as makeComponentProps, H as makeDimensionProps, g as genericComponent, J as useDimension, a as useRender, M as makeRoundedProps, C as useBackgroundColor, P as useRounded, aI as getCurrentInstance, q as convertToUnit } from './asWebComponent-N7ChSAQG.js';
3
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-w_2EtUxa.js';
4
4
 
5
5
  // Utilities
6
6
  function mounted(el, binding) {
@@ -1,5 +1,5 @@
1
1
  import { createVNode } from 'vue';
2
- import { p as propsFactory, b as makeComponentProps, H as makeDimensionProps, c as makeTagProps, g as genericComponent, J as useDimension, G as useLayout, a as useRender } from './asWebComponent-CLUhauLl.js';
2
+ import { p as propsFactory, b as makeComponentProps, H as makeDimensionProps, c as makeTagProps, g as genericComponent, J as useDimension, G as useLayout, a as useRender } from './asWebComponent-N7ChSAQG.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 { ref, watch, onScopeDispose, computed, nextTick, watchEffect, effectScope, inject, mergeProps, shallowRef, onMounted, reactive, provide, readonly, toRaw, warn, toRef, onBeforeUnmount, createVNode, Fragment, Teleport, withDirectives, vShow, resolveDirective, Transition } from 'vue';
2
- import { aK as isOn, aL as eventName, p as propsFactory, x as IN_BROWSER, U as useToggleScope, 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, aS as defer, aI as getCurrentInstance, aT as templateRef, aU as matchesSelector, t as useDisplay, b as makeComponentProps, H as makeDimensionProps, d as makeThemeProps, g as genericComponent, j as useProxiedModel, e as provideTheme, f as useRtl, C as useBackgroundColor, J as useDimension, aV as useRouter, a as useRender, aW as useBackButton } from './asWebComponent-CLUhauLl.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-CxSsJulB.js';
4
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-DidoPMgC.js';
2
+ import { aK as isOn, aL as eventName, p as propsFactory, x as IN_BROWSER, U as useToggleScope, 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, aS as defer, aI as getCurrentInstance, aT as templateRef, aU as matchesSelector, t as useDisplay, b as makeComponentProps, H as makeDimensionProps, d as makeThemeProps, g as genericComponent, j as useProxiedModel, e as provideTheme, f as useRtl, C as useBackgroundColor, J as useDimension, aV as useRouter, a as useRender, aW as useBackButton } from './asWebComponent-N7ChSAQG.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-C2UOEnvr.js';
4
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-w_2EtUxa.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-BetC0LGI.js';
3
- import { b as useScopeId, f as forwardRefs } from './forwardRefs-CxSsJulB.js';
4
- import { p as propsFactory, o as omit, g as genericComponent, j as useProxiedModel, am as getUid, a as useRender } from './asWebComponent-CLUhauLl.js';
2
+ import { m as makeVOverlayProps, V as VOverlay } from './VOverlay-CiQn3F6n.js';
3
+ import { b as useScopeId, f as forwardRefs } from './forwardRefs-C2UOEnvr.js';
4
+ import { p as propsFactory, o as omit, g as genericComponent, j as useProxiedModel, am as getUid, a as useRender } from './asWebComponent-N7ChSAQG.js';
5
5
 
6
6
  const makeVTooltipProps = propsFactory({
7
7
  id: String,
@@ -1,5 +1,5 @@
1
1
  import { ref, onMounted, nextTick, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, normalizeStyle, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
2
- import { aJ as useDefineWidgets, G as useLayout } from './asWebComponent-CLUhauLl.js';
2
+ import { aJ as useDefineWidgets, G as useLayout } from './asWebComponent-N7ChSAQG.js';
3
3
  import 'animated-details';
4
4
 
5
5
  const _sfc_main = {
@@ -8029,10 +8029,14 @@ function getStyleVariablesState(collectionId, variables) {
8029
8029
  }
8030
8030
 
8031
8031
  const olLayer = mapElement.getLayerById(matchingLayer.properties?.id ?? "");
8032
- const oldVariablesState = /** @type {import("ol/layer").WebGLTile} */ (
8033
- olLayer
8034
- //@ts-expect-error todo
8035
- ).getStyle()?.variables;
8032
+ const oldVariablesState =
8033
+ /** @type {import("ol/layer").Vector} */ (
8034
+ olLayer
8035
+ //@ts-expect-error variables doesn't exist in non-flat style
8036
+ ).getStyle?.()?.variables ??
8037
+ //@ts-expect-error (styleVariables_ is a private property)
8038
+ /** @type {import("ol/layer").WebGLTile} */ (olLayer).styleVariables_;
8039
+
8036
8040
  if (!oldVariablesState) {
8037
8041
  return variables;
8038
8042
  }
@@ -11448,7 +11452,7 @@ const ErrorAlert = /*#__PURE__*/_export_sfc(_sfc_main$3, [['__scopeId',"data-v-a
11448
11452
  const internalWidgets = (() => {
11449
11453
  /** @type {Record<string, () => Promise<import("vue").Component>>} */
11450
11454
  const importMap = {
11451
- .../* #__PURE__ */ Object.assign({"/widgets/EodashDatePicker.vue": () => import('./EodashDatePicker-Bp5ec3BC.js'),"/widgets/EodashItemFilter.vue": () => import('./EodashItemFilter-Cx0t-qeW.js'),"/widgets/EodashLayerControl.vue": () => import('./EodashLayerControl-DERx00In.js'),"/widgets/EodashLayoutSwitcher.vue": () => import('./EodashLayoutSwitcher-DTS7otlk.js'),"/widgets/EodashMap.vue": () => import('./EodashMap-C-I6puhb.js'),"/widgets/EodashMapBtns.vue": () => import('./EodashMapBtns-CWgtJiG4.js'),"/widgets/EodashProcess.vue": () => import('./EodashProcess-DWrTIyHT.js'),"/widgets/EodashStacInfo.vue": () => import('./EodashStacInfo-Dvsk97Mz.js'),"/widgets/EodashTools.vue": () => import('./EodashTools-CdnjgTTl.js'),"/widgets/ExportState.vue": () => import('./ExportState-S4lcehm3.js'),"/widgets/PopUp.vue": () => import('./PopUp-CzqV8BFZ.js'),"/widgets/WidgetsContainer.vue": () => import('./WidgetsContainer-Cv466WUW.js')}),
11455
+ .../* #__PURE__ */ Object.assign({"/widgets/EodashDatePicker.vue": () => import('./EodashDatePicker-brJlj1aQ.js'),"/widgets/EodashItemFilter.vue": () => import('./EodashItemFilter-C2i4lnM1.js'),"/widgets/EodashLayerControl.vue": () => import('./EodashLayerControl-DNQzPQQ4.js'),"/widgets/EodashLayoutSwitcher.vue": () => import('./EodashLayoutSwitcher-gLe7G8Qn.js'),"/widgets/EodashMap.vue": () => import('./EodashMap-LOzTlvrM.js'),"/widgets/EodashMapBtns.vue": () => import('./EodashMapBtns-UXOupU5J.js'),"/widgets/EodashProcess.vue": () => import('./EodashProcess-BlkqUdzj.js'),"/widgets/EodashStacInfo.vue": () => import('./EodashStacInfo-Df3LXKAw.js'),"/widgets/EodashTools.vue": () => import('./EodashTools-BrqH4IDP.js'),"/widgets/ExportState.vue": () => import('./ExportState-DVosrSNY.js'),"/widgets/PopUp.vue": () => import('./PopUp-BFcSuX3b.js'),"/widgets/WidgetsContainer.vue": () => import('./WidgetsContainer-DL0bdnjh.js')}),
11452
11456
  .../* #__PURE__ */ Object.assign({}),
11453
11457
  };
11454
11458
  for (const key in importMap) {
@@ -11556,7 +11560,7 @@ const getWidgetDefinition = (config) => {
11556
11560
 
11557
11561
  case "web-component":
11558
11562
  importedWidget.component = defineAsyncComponent({
11559
- loader: () => import('./DynamicWebComponent-BCwpocDX.js'),
11563
+ loader: () => import('./DynamicWebComponent-rIFx5c0f.js'),
11560
11564
  suspensible: true,
11561
11565
  });
11562
11566
  importedWidget.props = reactive(config.widget);
@@ -11992,15 +11996,15 @@ const { loadSTAC } = useSTAcStore();
11992
11996
  const { smAndDown } = useDisplay();
11993
11997
  const TemplateComponent = computed(() =>
11994
11998
  smAndDown.value
11995
- ? defineAsyncComponent(() => import('./MobileLayout-DRgyQYFz.js'))
11996
- : defineAsyncComponent(() => import('./DashboardLayout-VrJIbhe8.js')),
11999
+ ? defineAsyncComponent(() => import('./MobileLayout-Df4Z1bMl.js'))
12000
+ : defineAsyncComponent(() => import('./DashboardLayout-BjUs7mYs.js')),
11997
12001
  );
11998
12002
 
11999
12003
  const HeaderComponent = defineAsyncComponent(
12000
- () => import('./Header-CTiEXLi0.js'),
12004
+ () => import('./Header-DYMnh4of.js'),
12001
12005
  );
12002
12006
  const FooterComponent = defineAsyncComponent(
12003
- () => import('./Footer-DlIEbXp-.js'),
12007
+ () => import('./Footer-tjsscQ7O.js'),
12004
12008
  );
12005
12009
 
12006
12010
  const templateHeight = props.isWebComponent ? "100%" : "100dvh";
@@ -1,2 +1,2 @@
1
- export { aX as EodashConstructor, aY as register, aZ as store } from './asWebComponent-CLUhauLl.js';
1
+ export { aX as EodashConstructor, aY as register, aZ as store } from './asWebComponent-N7ChSAQG.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-CLUhauLl.js';
2
+ import { p as propsFactory, aI as getCurrentInstance } from './asWebComponent-N7ChSAQG.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-CLUhauLl.js';
2
+ import { g as genericComponent, p as propsFactory } from './asWebComponent-N7ChSAQG.js';
3
3
 
4
4
  // Utilities
5
5
  const makeTransitionProps = propsFactory({
@@ -1,5 +1,5 @@
1
1
  import { h, mergeProps, TransitionGroup, Transition } from 'vue';
2
- import { p as propsFactory } from './asWebComponent-CLUhauLl.js';
2
+ import { p as propsFactory } from './asWebComponent-N7ChSAQG.js';
3
3
 
4
4
  // Utilities
5
5
  const makeTransitionProps = propsFactory({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eodash/eodash",
3
- "version": "5.0.0-rc.2",
3
+ "version": "5.0.0-rc.2.1",
4
4
  "type": "module",
5
5
  "types": "./dist/types/core/client/types.d.ts",
6
6
  "files": [