@eodash/eodash 5.3.0 → 5.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/client/eodashSTAC/EodashCollection.js +16 -10
- package/core/client/eodashSTAC/createLayers.js +28 -8
- package/core/client/eodashSTAC/helpers.js +85 -16
- package/dist/client/{DashboardLayout-Cq15p4TH.js → DashboardLayout-BHQnHqWW.js} +2 -2
- package/dist/client/{DynamicWebComponent-Cv-fPRG1.js → DynamicWebComponent-B4PdeZ9P.js} +1 -1
- package/dist/client/{EodashDatePicker-CPlJwEIO.js → EodashDatePicker-Ch_AXVas.js} +3 -3
- package/dist/client/{EodashItemFilter-Ydebgbjj.js → EodashItemFilter-lTuzCl08.js} +1 -1
- package/dist/client/{EodashLayerControl-COhrkNEs.js → EodashLayerControl-CBSGRlIi.js} +2 -2
- package/dist/client/{EodashLayoutSwitcher-pnKhTRZV.js → EodashLayoutSwitcher-DdwQYoI4.js} +3 -3
- package/dist/client/{EodashMapBtns-Cj0Fx119.js → EodashMapBtns-B910ylV6.js} +6 -6
- package/dist/client/{EodashStacInfo-Dadkg_Nj.js → EodashStacInfo-CeHGMZ8x.js} +1 -1
- package/dist/client/{EodashTimeSlider-CpoHX0S7.js → EodashTimeSlider-BApJJK0u.js} +2 -2
- package/dist/client/{EodashTools-UGBG7KC9.js → EodashTools-CJVm0k-Q.js} +4 -4
- package/dist/client/{ExportState-GtJkAqeZ.js → ExportState-NXzNGWYq.js} +4 -4
- package/dist/client/{Footer-D3ZPG5c4.js → Footer-DfXUC8IK.js} +1 -1
- package/dist/client/{Header-z6AK-wpN.js → Header-BHgaNMEH.js} +2 -2
- package/dist/client/{MobileLayout-BXNsNftb.js → MobileLayout-B77RzrNe.js} +2 -2
- package/dist/client/{PopUp-BbQdjENV.js → PopUp-BJwqRDNq.js} +2 -2
- package/dist/client/{ProcessList-C6VsdsYI.js → ProcessList-BFvV4RvS.js} +4 -4
- package/dist/client/{VImg-CxaMSB99.js → VImg-RGGIQ_yA.js} +2 -2
- package/dist/client/{VMain-Ds7yw0wj.js → VMain-CniQR94B.js} +1 -1
- package/dist/client/{VTooltip-Cze6CEVh.js → VTooltip-D5dnTfem.js} +2 -2
- package/dist/client/{WidgetsContainer-D66bj-JJ.js → WidgetsContainer-CvnR4J1T.js} +1 -1
- package/dist/client/{asWebComponent-CWbNRdf9.js → asWebComponent-Dptqds6-.js} +50 -25
- package/dist/client/{async-BA7oWCMX.js → async-C1hb39Tc.js} +2 -2
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-BUfxOIo-.js → forwardRefs-CiSZZEn2.js} +2 -2
- package/dist/client/{handling-DlNTtKB-.js → handling-CZ537GCL.js} +3 -3
- package/dist/client/{helpers-CtE0W7iu.js → helpers-DoQGyrvY.js} +86 -17
- package/dist/client/{index-DeECc3lV.js → index--uKz-mt4.js} +3 -3
- package/dist/client/{index-CeEZIjO6.js → index-4sC2BIcK.js} +5 -5
- package/dist/client/{index-D4_NRKrf.js → index-DTxo2ysK.js} +2 -2
- package/dist/client/{index-CsKbRDeN.js → index-wcTqj0PZ.js} +12 -12
- package/dist/client/templates.js +1 -1
- package/dist/client/{transition-Byvp3L6Y.js → transition-CFfv5MCB.js} +1 -1
- package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +1 -1
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +3 -1
- package/package.json +5 -5
- package/widgets/EodashMap/index.vue +8 -7
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
generateFeatures,
|
|
11
11
|
getDatetimeProperty,
|
|
12
12
|
isSTACItem,
|
|
13
|
-
|
|
13
|
+
findLayersByLayerPrefix,
|
|
14
|
+
replaceLayersInStructure,
|
|
14
15
|
extractLayerLegend,
|
|
15
16
|
extractLayerTimeValues,
|
|
16
17
|
} from "./helpers";
|
|
@@ -363,14 +364,18 @@ export class EodashCollection {
|
|
|
363
364
|
**/
|
|
364
365
|
async getItem(date) {
|
|
365
366
|
if (!date) {
|
|
366
|
-
|
|
367
|
+
const items = await this.getItems(false, true);
|
|
368
|
+
// in case no datetime property is found, return the last item
|
|
369
|
+
return items && items.at(-1);
|
|
367
370
|
}
|
|
368
371
|
|
|
369
372
|
const items = await this.getItems();
|
|
370
373
|
const datetimeProperty = getDatetimeProperty(items);
|
|
371
374
|
if (!datetimeProperty) {
|
|
372
|
-
// in case no datetime property is found, return the
|
|
373
|
-
|
|
375
|
+
// in case no datetime property is found, return the last item
|
|
376
|
+
const items = await this.getItems(false, true);
|
|
377
|
+
// in case no datetime property is found, return the last item
|
|
378
|
+
return items && items.at(-1);
|
|
374
379
|
}
|
|
375
380
|
return (await this.getItems())?.sort((a, b) => {
|
|
376
381
|
const distanceA = Math.abs(
|
|
@@ -461,15 +466,16 @@ export class EodashCollection {
|
|
|
461
466
|
currentLayers = getCompareLayers();
|
|
462
467
|
}
|
|
463
468
|
|
|
464
|
-
/** @type {string | undefined} */
|
|
465
|
-
const oldLayerID = findLayer(currentLayers, layer)?.properties?.id;
|
|
466
469
|
|
|
467
|
-
|
|
470
|
+
const oldLayer = findLayer(currentLayers, layer);
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
const toBeReplacedLayers = findLayersByLayerPrefix(currentLayers, oldLayer);
|
|
474
|
+
|
|
475
|
+
if (!toBeReplacedLayers) {
|
|
468
476
|
return;
|
|
469
477
|
}
|
|
470
|
-
|
|
471
|
-
//@ts-expect-error TODO
|
|
472
|
-
const updatedLayers = replaceLayer(currentLayers, oldLayerID, newLayers);
|
|
478
|
+
const updatedLayers = replaceLayersInStructure(currentLayers, toBeReplacedLayers, newLayers);
|
|
473
479
|
|
|
474
480
|
return updatedLayers;
|
|
475
481
|
}
|
|
@@ -39,7 +39,7 @@ export async function createLayersFromAssets(
|
|
|
39
39
|
let geoTIFFSources = [];
|
|
40
40
|
/** @type {number|null} */
|
|
41
41
|
let geoTIFFIdx = null;
|
|
42
|
-
|
|
42
|
+
|
|
43
43
|
let geoJsonIdx = 0;
|
|
44
44
|
let geoJsonAttributions = [];
|
|
45
45
|
|
|
@@ -113,14 +113,33 @@ export async function createLayersFromAssets(
|
|
|
113
113
|
);
|
|
114
114
|
continue;
|
|
115
115
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
116
|
+
/** @type {Record<string,any>[]} */
|
|
117
|
+
const features = [];
|
|
118
|
+
responseData.forEach((ftr, i) => {
|
|
119
|
+
const { geometry, ...properties } = ftr;
|
|
120
|
+
if (geometry.type === 'MultiPoint' || geometry.type === 'MultiPolygon') {
|
|
121
|
+
geometry.coordinates.forEach((/** @type {Record<string,any>[]} */ coordPair, /** @type {number} */j) => {
|
|
122
|
+
const singleGeometry = {
|
|
123
|
+
type: geometry.type === 'MultiPoint' ? 'Point' : 'Polygon',
|
|
124
|
+
coordinates: coordPair,
|
|
125
|
+
};
|
|
126
|
+
features.push({
|
|
127
|
+
type: 'Feature',
|
|
128
|
+
id: `${i}_${j}`,
|
|
129
|
+
properties,
|
|
130
|
+
geometry: singleGeometry,
|
|
131
|
+
});
|
|
132
|
+
});
|
|
133
|
+
} else {
|
|
134
|
+
features.push({
|
|
135
|
+
type: 'Feature',
|
|
136
|
+
properties,
|
|
137
|
+
id: `${i}`,
|
|
138
|
+
geometry: geometry,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
123
141
|
});
|
|
142
|
+
|
|
124
143
|
const geojson = {
|
|
125
144
|
type: "FeatureCollection",
|
|
126
145
|
features: features,
|
|
@@ -454,6 +473,7 @@ export const createLayersFromLinks = async (
|
|
|
454
473
|
format: {
|
|
455
474
|
type: "MVT",
|
|
456
475
|
idProperty: vectorTileLink.idProperty,
|
|
476
|
+
layers: vectorTileLink.layers,
|
|
457
477
|
},
|
|
458
478
|
url: href,
|
|
459
479
|
projection: projectionCode,
|
|
@@ -321,6 +321,38 @@ export const extractLayerTimeValues = (items, currentStep) => {
|
|
|
321
321
|
};
|
|
322
322
|
};
|
|
323
323
|
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Recursively find all layers whose ID up to the first ; is same as given layer
|
|
327
|
+
*
|
|
328
|
+
* @param {import("@eox/map").EoxLayer[]} layers
|
|
329
|
+
* @param {import("@eox/map").EoxLayer | undefined} referenceLayer - layer
|
|
330
|
+
* @returns {import("@eox/map").EoxLayer[]} Matching layer objects.
|
|
331
|
+
*/
|
|
332
|
+
export const findLayersByLayerPrefix = (layers, referenceLayer) => {
|
|
333
|
+
const refId = referenceLayer?.properties?.id;
|
|
334
|
+
|
|
335
|
+
if (typeof refId !== "string" || !refId.includes(";")) {
|
|
336
|
+
throw new Error("Reference layer ID must contain a ';' separator.");
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
const prefix = refId.split(";")[0];
|
|
340
|
+
const matches = [];
|
|
341
|
+
|
|
342
|
+
for (const layer of layers) {
|
|
343
|
+
if (layer.type === "Group" && Array.isArray(layer.layers)) {
|
|
344
|
+
matches.push(...findLayersByLayerPrefix(layer.layers, referenceLayer));
|
|
345
|
+
} else {
|
|
346
|
+
const id = layer?.properties?.id;
|
|
347
|
+
if (typeof id === "string" && id.startsWith(prefix)) {
|
|
348
|
+
matches.push(layer);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
return matches;
|
|
354
|
+
};
|
|
355
|
+
|
|
324
356
|
/**
|
|
325
357
|
* Find JSON layer by ID
|
|
326
358
|
* @param {string} layer
|
|
@@ -342,6 +374,51 @@ export const findLayer = (layers, layer) => {
|
|
|
342
374
|
}
|
|
343
375
|
};
|
|
344
376
|
|
|
377
|
+
/**
|
|
378
|
+
* Removes a list of layers (and nested ones) from a layer/group structure,
|
|
379
|
+
* and inserts new layers in place of the first removed one.
|
|
380
|
+
*
|
|
381
|
+
* @param {import("@eox/map").EoxLayer[]} layers - Array of layers or groups.
|
|
382
|
+
* @param {import("@eox/map").EoxLayer[]} toRemove - Array of layers to remove (by id).
|
|
383
|
+
* @param {Record<string, any>[]} toInsert - Array of layers to insert instead.
|
|
384
|
+
* @returns {Record<string, any>[]} New array with replacements applied.
|
|
385
|
+
*/
|
|
386
|
+
export const replaceLayersInStructure = (layers, toRemove, toInsert) => {
|
|
387
|
+
const result = [];
|
|
388
|
+
let inserted = false;
|
|
389
|
+
|
|
390
|
+
for (const layer of layers) {
|
|
391
|
+
if (layer.type === "Group" && Array.isArray(layer.layers)) {
|
|
392
|
+
// Recurse into group layers
|
|
393
|
+
const newGroupLayers = replaceLayersInStructure(layer.layers, toRemove, toInsert);
|
|
394
|
+
result.push({ ...layer, layers: newGroupLayers });
|
|
395
|
+
continue;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
// Match by reference or id
|
|
399
|
+
const id = layer?.properties?.id;
|
|
400
|
+
const isToRemove = toRemove.some((rem) => {
|
|
401
|
+
const remId = rem?.properties?.id;
|
|
402
|
+
return remId === id;
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
if (isToRemove) {
|
|
406
|
+
// On first removed occurrence, insert the new layers
|
|
407
|
+
if (!inserted) {
|
|
408
|
+
result.push(...toInsert);
|
|
409
|
+
inserted = true;
|
|
410
|
+
}
|
|
411
|
+
// Skip this layer (it’s removed)
|
|
412
|
+
continue;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
result.push(layer);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
return result;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
|
|
345
422
|
/**
|
|
346
423
|
* Removes the layer with the id provided and injects an array of layers in its position
|
|
347
424
|
* @param {import("@eox/map").EoxLayer[]} currentLayers
|
|
@@ -381,25 +458,17 @@ export const replaceLayer = (currentLayers, oldLayer, newLayers) => {
|
|
|
381
458
|
* @param {import('../eodashSTAC/EodashCollection.js').EodashCollection[]} indicators
|
|
382
459
|
* @param {import('ol/layer').Layer} layer
|
|
383
460
|
*/
|
|
384
|
-
export const getColFromLayer = (indicators, layer) => {
|
|
385
|
-
// init cols
|
|
386
|
-
// const collections = indicators.map((ind) => ind.collectionStac);
|
|
461
|
+
export const getColFromLayer = async (indicators, layer) => {
|
|
387
462
|
const [collectionId, itemId, ..._other] = layer.get("id").split(";:;");
|
|
388
463
|
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
464
|
+
for (const ind of indicators) {
|
|
465
|
+
if (ind.collectionStac?.id !== collectionId) continue;
|
|
466
|
+
const items = await ind.getItems();
|
|
467
|
+
const itemIds = items?.map(item => item.id || item.datetime) ?? [];
|
|
468
|
+
if (itemIds.includes(itemId)) {
|
|
469
|
+
return ind;
|
|
393
470
|
}
|
|
394
|
-
|
|
395
|
-
const itemIds = [];
|
|
396
|
-
await ind.getItems().then((items) => {
|
|
397
|
-
itemIds.push(
|
|
398
|
-
...(items?.map((item) => /** @type {string} */ (item.id)) ?? []),
|
|
399
|
-
);
|
|
400
|
-
});
|
|
401
|
-
return itemIds.includes(itemId);
|
|
402
|
-
});
|
|
471
|
+
}
|
|
403
472
|
};
|
|
404
473
|
|
|
405
474
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createBlock, openBlock, withCtx, createElementVNode, unref, createElementBlock, createCommentVNode, normalizeStyle, Suspense, resolveDynamicComponent, mergeProps, Fragment, renderList, Transition } from 'vue';
|
|
2
2
|
import '@eox/layout';
|
|
3
|
-
import { _ as _export_sfc, u as useDefineTemplate } from './asWebComponent-
|
|
4
|
-
import { V as VMain } from './VMain-
|
|
3
|
+
import { _ as _export_sfc, u as useDefineTemplate } from './asWebComponent-Dptqds6-.js';
|
|
4
|
+
import { V as VMain } from './VMain-CniQR94B.js';
|
|
5
5
|
|
|
6
6
|
const _style_0 = ".panel[data-v-9c8477cc]{position:relative;overflow:auto;z-index:1;pointer-events:none}.pointer[data-v-9c8477cc]{pointer-events:all}.bg-panel[data-v-9c8477cc]{z-index:0;border-radius:0!important}.fade-enter-active[data-v-9c8477cc],.fade-leave-active[data-v-9c8477cc]{transition:opacity .25s ease}.fade-enter-from[data-v-9c8477cc],.fade-leave-to[data-v-9c8477cc]{opacity:0}.bg-surface[data-v-9c8477cc],.bg-primary[data-v-9c8477cc]{backdrop-filter:blur(10px)!important;border-radius:8px;border:none;box-shadow:0 0 1px #18274b38,0 6px 12px -6px #18274b1f,0 8px 24px -4px #18274b14;max-height:100%;overflow:auto;scrollbar-color:rgba(var(--v-theme-on-surface),.2) transparent;scrollbar-width:thin}.bg-surface[data-v-9c8477cc]{background-color:rgba(var(--v-theme-surface),var(--v-surface-opacity, .8))!important}.bg-primary[data-v-9c8477cc]{background-color:rgba(var(--v-theme-primary),var(--v-primary-opacity, .8))!important}";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withAsyncContext, ref, onMounted, onUnmounted, createElementBlock, openBlock, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
|
|
2
|
-
import { E as useSTAcStore } from './asWebComponent-
|
|
2
|
+
import { E as useSTAcStore } from './asWebComponent-Dptqds6-.js';
|
|
3
3
|
|
|
4
4
|
const _hoisted_1 = { class: "d-flex flex-column fill-height overflow-auto" };
|
|
5
5
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useCssVars, ref, useTemplateRef, customRef, computed, reactive, watch, onMounted, createElementBlock, openBlock, createVNode, unref, createSlots, withCtx, createElementVNode, withDirectives, createCommentVNode, createBlock, mergeProps, toHandlers } from 'vue';
|
|
2
2
|
import { DatePicker } from 'v-calendar';
|
|
3
|
-
import { _ as _export_sfc, D as useDisplay, E as useSTAcStore, F as useTransparentPanel, G as VBtn, H as VIcon, I as eodashCollections, J as eodashCompareCollections } from './asWebComponent-
|
|
4
|
-
import {
|
|
3
|
+
import { _ as _export_sfc, D as useDisplay, E as useSTAcStore, F as useTransparentPanel, G as VBtn, H as VIcon, I as eodashCollections, J as eodashCompareCollections } from './asWebComponent-Dptqds6-.js';
|
|
4
|
+
import { B as datetime } from './helpers-DoQGyrvY.js';
|
|
5
5
|
import { mdiRayEndArrow, mdiRayStartArrow } from '@mdi/js';
|
|
6
6
|
import log from 'loglevel';
|
|
7
7
|
import { storeToRefs } from 'pinia';
|
|
8
|
-
import { T as Tooltip } from './index-
|
|
8
|
+
import { T as Tooltip } from './index-DTxo2ysK.js';
|
|
9
9
|
|
|
10
10
|
const _style_0 = ".vc-popover-content{--vc-nav-hover-bg: rgba(var(--v-theme-on-surface), .1);--vc-nav-item-active-color: rgb(var(--v-theme-on-secondary));--vc-nav-item-active-bg: rgba(var(--v-theme-secondary), .8);--vc-focus-ring: 0 0 0 2px rgba(var(--v-theme-secondary), .5)}.vc-container{--vc-day-content-hover-bg: rgba(var(--v-theme-on-surface), .2);--vc-focus-ring: 0 0 0 2px rgba(var(--v-theme-secondary), .4);--vc-header-arrow-hover-bg: rgba(var(--v-theme-secondary), .1)}.vc-attr{--vc-accent-600: rgba(var(--v-theme-secondary), .8)}.datePicker{--vc-day-content-hover-bg: red}@media (min-width: 960px){.datePicker{position:absolute;bottom:0;left:0;right:0;margin-inline:auto;width:fit-content}}.vc-day-content{color:#5e5e5e;font-weight:400}.vc-highlight-content-solid{color:#fff!important}.vc-popover-content-wrapper{transform:var(--v5270a4d4)!important}.vc-date-picker-content,.datePicker{backdrop-filter:blur(10px)!important;border-radius:8px;border:none;box-shadow:0 0 1px #18274b38,0 6px 12px -6px #18274b1f,0 8px 24px -4px #18274b14;background-color:rgba(var(--v-theme-surface),var(--v-surface-opacity, .8))!important}.vc-popover-caret.direction-top.align-left{clip-path:polygon(0% 0%,100% 0%,0% 100%,0% 100%)}.vc-bordered{border:none}";
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withAsyncContext, computed, ref, createElementBlock, openBlock, mergeProps, unref, createElementVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { _ as _export_sfc, E as useSTAcStore, Q as isFirstLoad } from './asWebComponent-
|
|
2
|
+
import { _ as _export_sfc, E as useSTAcStore, Q as isFirstLoad } from './asWebComponent-Dptqds6-.js';
|
|
3
3
|
|
|
4
4
|
const _style_0 = "eox-itemfilter[data-v-88d0abc7]{--form-flex-direction: row}@media (max-width: 768px){eox-itemfilter[data-v-88d0abc7]{--form-flex-direction: column}}";
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { withAsyncContext, computed, ref, createElementBlock, openBlock, createCommentVNode, mergeProps, unref, renderSlot, createElementVNode, toDisplayString } from 'vue';
|
|
2
2
|
import 'color-legend-element';
|
|
3
3
|
import '@eox/timecontrol';
|
|
4
|
-
import {
|
|
5
|
-
import { _ as _export_sfc, E as useSTAcStore, M as layerControlFormValueCompare, N as layerControlFormValue, J as eodashCompareCollections, I as eodashCollections } from './asWebComponent-
|
|
4
|
+
import { N as mapCompareEl, h as mapEl, O as getColFromLayer } from './helpers-DoQGyrvY.js';
|
|
5
|
+
import { _ as _export_sfc, E as useSTAcStore, M as layerControlFormValueCompare, N as layerControlFormValue, J as eodashCompareCollections, I as eodashCollections } from './asWebComponent-Dptqds6-.js';
|
|
6
6
|
import { storeToRefs } from 'pinia';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref, createElementBlock, openBlock, createBlock, unref, withCtx, createVNode, mergeProps } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { D as activeTemplate } from './helpers-DoQGyrvY.js';
|
|
3
3
|
import { mdiViewDashboard } from '@mdi/js';
|
|
4
|
-
import { D as useDisplay, F as useTransparentPanel, H as VIcon } from './asWebComponent-
|
|
5
|
-
import { V as VTooltip } from './VTooltip-
|
|
4
|
+
import { D as useDisplay, F as useTransparentPanel, H as VIcon } from './asWebComponent-Dptqds6-.js';
|
|
5
|
+
import { V as VTooltip } from './VTooltip-D5dnTfem.js';
|
|
6
6
|
|
|
7
7
|
const _sfc_main = {
|
|
8
8
|
__name: 'EodashLayoutSwitcher',
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed, ref, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, createElementVNode, unref, withCtx, mergeProps, triggerRef } from 'vue';
|
|
2
|
-
import { _ as _export_sfc, E as useSTAcStore, D as useDisplay, F as useTransparentPanel } from './asWebComponent-
|
|
3
|
-
import {
|
|
2
|
+
import { _ as _export_sfc, E as useSTAcStore, D as useDisplay, F as useTransparentPanel } from './asWebComponent-Dptqds6-.js';
|
|
3
|
+
import { D as activeTemplate, Q as availableMapProjection, R as changeMapProjection, C as poi, I as comparePoi, h as mapEl, S as setActiveTemplate } from './helpers-DoQGyrvY.js';
|
|
4
4
|
import { mdiCompareRemove, mdiCompare, mdiPlus, mdiMinus, mdiMapPlus, mdiEarthBox, mdiStarFourPointsCircleOutline } from '@mdi/js';
|
|
5
|
-
import ExportState from './ExportState-
|
|
6
|
-
import _sfc_main$1 from './PopUp-
|
|
7
|
-
import EodashItemFilter from './EodashItemFilter-
|
|
5
|
+
import ExportState from './ExportState-NXzNGWYq.js';
|
|
6
|
+
import _sfc_main$1 from './PopUp-BJwqRDNq.js';
|
|
7
|
+
import EodashItemFilter from './EodashItemFilter-lTuzCl08.js';
|
|
8
8
|
import { storeToRefs } from 'pinia';
|
|
9
|
-
import { l as loadPOiIndicator } from './handling-
|
|
9
|
+
import { l as loadPOiIndicator } from './handling-CZ537GCL.js';
|
|
10
10
|
import { e as easeOut } from './easing-CH0-9wR8.js';
|
|
11
11
|
import '@eox/geosearch';
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock, openBlock, createElementVNode, unref } from 'vue';
|
|
2
2
|
import '@eox/stacinfo';
|
|
3
|
-
import {
|
|
3
|
+
import { A as currentUrl } from './helpers-DoQGyrvY.js';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1 = { class: "flex-grow-1" };
|
|
6
6
|
const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".styleOverride", ".header", ".subheader", ".tags"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, createElementBlock, createCommentVNode, openBlock, unref } from 'vue';
|
|
2
|
-
import { h as mapEl,
|
|
3
|
-
import { I as eodashCollections } from './asWebComponent-
|
|
2
|
+
import { h as mapEl, B as datetime } from './helpers-DoQGyrvY.js';
|
|
3
|
+
import { I as eodashCollections } from './asWebComponent-Dptqds6-.js';
|
|
4
4
|
import '@eox/timeslider';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1 = [".filters"];
|
|
@@ -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-
|
|
3
|
-
import EodashItemFilter from './EodashItemFilter-
|
|
4
|
-
import _sfc_main$1 from './EodashLayoutSwitcher-
|
|
2
|
+
import _sfc_main$2 from './PopUp-BJwqRDNq.js';
|
|
3
|
+
import EodashItemFilter from './EodashItemFilter-lTuzCl08.js';
|
|
4
|
+
import _sfc_main$1 from './EodashLayoutSwitcher-DdwQYoI4.js';
|
|
5
5
|
import { mdiViewDashboard, mdiPlusCircleOutline } from '@mdi/js';
|
|
6
|
-
import { _ as _export_sfc, D as useDisplay, F as useTransparentPanel, G as VBtn } from './asWebComponent-
|
|
6
|
+
import { _ as _export_sfc, D as useDisplay, F as useTransparentPanel, G as VBtn } from './asWebComponent-Dptqds6-.js';
|
|
7
7
|
|
|
8
8
|
const _style_0 = ".v-btn--size-default[data-v-73449028]{--v-btn-height: 30px}";
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, Fragment, toDisplayString, withDirectives, mergeProps, computed, mergeModels, useModel, ref, createBlock, openBlock, withCtx, createElementBlock, createCommentVNode, renderList, unref, createTextVNode, vShow } from 'vue';
|
|
2
2
|
import { mdiContentCopy, mdiClipboardCheckOutline } from '@mdi/js';
|
|
3
|
-
import _sfc_main$1 from './PopUp-
|
|
4
|
-
import { $ as createSimpleFunctional, g as genericComponent, p as propsFactory, n as provideDefaults, c as useRender, m as makeTagProps, e as makeComponentProps, k as provideTheme, h as useBorder, a0 as useVariant, U as useDensity, j as useRounded, a1 as useSize, a2 as genOverlays, H as VIcon, V as VDefaultsProvider, a3 as makeVariantProps, q as makeThemeProps, a4 as makeSizeProps, r as makeRoundedProps, W as makeDensityProps, t as makeBorderProps, a5 as IconValue, a6 as Ripple, b as useDimension, i as useElevation, a7 as useLoader, a8 as useLocation, a9 as usePosition, aa as useLink, ab as makeRouterProps, ac as makePositionProps, ad as makeLocationProps, ae as makeLoaderProps, s as makeElevationProps, d as makeDimensionProps, af as LoaderSlot, ag as useTextColor, o as convertToUnit, _ as _export_sfc, ah as copyToClipBoard, G as VBtn } from './asWebComponent-
|
|
5
|
-
import {
|
|
6
|
-
import { V as VImg, a as VExpandTransition } from './VImg-
|
|
3
|
+
import _sfc_main$1 from './PopUp-BJwqRDNq.js';
|
|
4
|
+
import { $ as createSimpleFunctional, g as genericComponent, p as propsFactory, n as provideDefaults, c as useRender, m as makeTagProps, e as makeComponentProps, k as provideTheme, h as useBorder, a0 as useVariant, U as useDensity, j as useRounded, a1 as useSize, a2 as genOverlays, H as VIcon, V as VDefaultsProvider, a3 as makeVariantProps, q as makeThemeProps, a4 as makeSizeProps, r as makeRoundedProps, W as makeDensityProps, t as makeBorderProps, a5 as IconValue, a6 as Ripple, b as useDimension, i as useElevation, a7 as useLoader, a8 as useLocation, a9 as usePosition, aa as useLink, ab as makeRouterProps, ac as makePositionProps, ad as makeLocationProps, ae as makeLoaderProps, s as makeElevationProps, d as makeDimensionProps, af as LoaderSlot, ag as useTextColor, o as convertToUnit, _ as _export_sfc, ah as copyToClipBoard, G as VBtn } from './asWebComponent-Dptqds6-.js';
|
|
5
|
+
import { X as removeUnneededProperties, Y as getChartSpec, p as getLayers, E as mapPosition, Q as availableMapProjection } from './helpers-DoQGyrvY.js';
|
|
6
|
+
import { V as VImg, a as VExpandTransition } from './VImg-RGGIQ_yA.js';
|
|
7
7
|
|
|
8
8
|
// Styles
|
|
9
9
|
const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, shallowRef, computed, toRef, watchEffect, createVNode, normalizeStyle, normalizeClass, inject, createBlock, openBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { g as genericComponent, p as propsFactory, k as provideTheme, f as useBackgroundColor, h as useBorder, i as useElevation, j as useRounded, C as useResizeObserver, y as useToggleScope, z as useLayoutItem, c as useRender, o as convertToUnit, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, A as makeLayoutItemProps, s as makeElevationProps, e as makeComponentProps, t as makeBorderProps, _ as _export_sfc, B as eodashKey, D as useDisplay } from './asWebComponent-
|
|
2
|
+
import { g as genericComponent, p as propsFactory, k as provideTheme, f as useBackgroundColor, h as useBorder, i as useElevation, j as useRounded, C as useResizeObserver, y as useToggleScope, z as useLayoutItem, c as useRender, o as convertToUnit, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, A as makeLayoutItemProps, s as makeElevationProps, e as makeComponentProps, t as makeBorderProps, _ as _export_sfc, B as eodashKey, D as useDisplay } from './asWebComponent-Dptqds6-.js';
|
|
3
3
|
|
|
4
4
|
const _style_0 = ".footer-text[data-v-f0fd061e]{font-size:.8rem}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, toRef, watchEffect, mergeProps, inject, createBlock, openBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
|
|
2
|
-
import { p as propsFactory, g as genericComponent, m as makeTagProps, e as makeComponentProps, c as useRender, f as useBackgroundColor, h as useBorder, i as useElevation, j as useRounded, k as provideTheme, l as useRtl, n as provideDefaults, V as VDefaultsProvider, o as convertToUnit, q as makeThemeProps, r as makeRoundedProps, s as makeElevationProps, t as makeBorderProps, v as clamp, w as consoleWarn, x as useProxiedModel, y as useToggleScope, z as useLayoutItem, A as makeLayoutItemProps, _ as _export_sfc, B as eodashKey } from './asWebComponent-
|
|
3
|
-
import { V as VImg, a as VExpandTransition } from './VImg-
|
|
2
|
+
import { p as propsFactory, g as genericComponent, m as makeTagProps, e as makeComponentProps, c as useRender, f as useBackgroundColor, h as useBorder, i as useElevation, j as useRounded, k as provideTheme, l as useRtl, n as provideDefaults, V as VDefaultsProvider, o as convertToUnit, q as makeThemeProps, r as makeRoundedProps, s as makeElevationProps, t as makeBorderProps, v as clamp, w as consoleWarn, x as useProxiedModel, y as useToggleScope, z as useLayoutItem, A as makeLayoutItemProps, _ as _export_sfc, B as eodashKey } from './asWebComponent-Dptqds6-.js';
|
|
3
|
+
import { V as VImg, a as VExpandTransition } from './VImg-RGGIQ_yA.js';
|
|
4
4
|
import { u as useSsrBoot } from './ssrBoot-Zgc_Ttvi.js';
|
|
5
5
|
|
|
6
6
|
const _style_0 = ".logo[data-v-86c95219]{max-width:140px}";
|