@eodash/eodash 5.5.2 → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/client/App.vue +1 -1
- package/core/client/eodashSTAC/EodashCollection.js +12 -5
- package/core/client/eodashSTAC/auth.js +19 -9
- package/core/client/eodashSTAC/createLayers.js +130 -24
- package/core/client/eodashSTAC/helpers.js +27 -60
- package/core/client/store/stac.js +9 -0
- package/core/client/types.ts +1 -0
- package/dist/client/{DashboardLayout-BAB1tPv0.js → DashboardLayout-CqMb7OXc.js} +3 -3
- package/dist/client/{DynamicWebComponent-qVeu4sqS.js → DynamicWebComponent-DqKqTf7l.js} +2 -2
- package/dist/client/{EodashChart-CXnNxlhk.js → EodashChart-PkUQfH0k.js} +5 -5
- package/dist/client/{EodashDatePicker-KyJXPgAq.js → EodashDatePicker-DLJGdTtX.js} +4 -4
- package/dist/client/{EodashItemFilter-CAlyUnje.js → EodashItemFilter-Dk8KjFcX.js} +2 -2
- package/dist/client/{EodashLayerControl-D8VobuZJ.js → EodashLayerControl-CC1Cogrn.js} +18 -4
- package/dist/client/{EodashLayoutSwitcher-DI6uGF_7.js → EodashLayoutSwitcher-5WZYd6rr.js} +4 -4
- package/dist/client/EodashMapBtns-BHrSDNoC.js +435 -0
- package/dist/client/{EodashStacInfo-Cb28jVEr.js → EodashStacInfo-B90wobPc.js} +42 -7
- package/dist/client/{EodashTimeSlider-UIpnhO4N.js → EodashTimeSlider-5vm7F3ju.js} +3 -3
- package/dist/client/{EodashTools-vxReGN8p.js → EodashTools-CGZtTh45.js} +5 -5
- package/dist/client/{ExportState-D6CBpKUU.js → ExportState-Ce0ZnrX_.js} +9 -7
- package/dist/client/{Footer-CUgMupXk.js → Footer-CnZqEiop.js} +2 -2
- package/dist/client/{Header-BZ53ACvp.js → Header-Dr5PBIm8.js} +10 -6
- package/dist/client/{IframeWrapper-XzQDZy0T.js → IframeWrapper-BgM9aU8f.js} +1 -1
- package/dist/client/MobileLayout-DyMjaeif.js +118 -0
- package/dist/client/{PopUp-C6HJH8wM.js → PopUp-DjvE_71e.js} +3 -3
- package/dist/client/{ProcessList-DQjvv7Cc.js → ProcessList-kf3olI7W.js} +5 -5
- package/dist/client/{VImg-CWCCg87G.js → VImg-Bj6uWt6j.js} +51 -22
- package/dist/client/{VMain-CAzXMN4O.js → VMain-Cm0UmKGi.js} +1 -1
- package/dist/client/{VTooltip-B1_FzBl_.js → VTooltip-DbBu-ky3.js} +2 -2
- package/dist/client/{WidgetsContainer-Bc8pGq_X.js → WidgetsContainer-CfLnd44U.js} +2 -2
- package/dist/client/asWebComponent-DfULAbpq.js +9387 -0
- package/dist/client/{async-Byq11ZKl.js → async-CIbKXEEe.js} +32 -51
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-D3na5VY2.js → forwardRefs-yj3VWOK5.js} +2 -2
- package/dist/client/{handling-7IVxQxtQ.js → handling-s8xt2JwF.js} +390 -90
- package/dist/client/{helpers-Bi-qmnbZ.js → helpers-DAVGYl_f.js} +353 -320
- package/dist/client/{index-Ch4PgFGP.js → index-4TrjfJ32.js} +24 -11
- package/dist/client/{index-FQrkgCu_.js → index-Bu8BMA9q.js} +40 -32
- package/dist/client/{index-CJOvBxMx.js → index-CYz6dT7K.js} +2 -2
- package/dist/client/{index-Dk5_G7Aw.js → index-CugS__t5.js} +4 -4
- package/dist/client/templates.js +6 -15
- package/dist/client/{transition-Bp5R_Vzd.js → transition-DaOsiD4u.js} +1 -1
- package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +2 -5
- package/dist/types/core/client/eodashSTAC/auth.d.ts +6 -2
- package/dist/types/core/client/eodashSTAC/createLayers.d.ts +1 -4
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +1 -2
- package/dist/types/core/client/store/stac.d.ts +4 -1
- package/dist/types/core/client/types.d.ts +1 -0
- package/dist/types/templates/baseConfig.d.ts +1 -0
- package/dist/types/widgets/EodashMap/methods/index.d.ts +1 -1
- package/dist/types/widgets/EodashProcess/methods/composables.d.ts +1 -2
- package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +1 -1
- package/dist/types/widgets/EodashProcess/methods/handling.d.ts +6 -6
- package/dist/types/widgets/EodashProcess/methods/outputs.d.ts +3 -1
- package/dist/types/widgets/EodashProcess/methods/template-helpers.d.ts +99 -0
- package/dist/types/widgets/EodashProcess/methods/utils.d.ts +1 -6
- package/dist/types/widgets/EodashProcess/types.d.ts +1 -0
- package/dist/types/widgets/EodashStacInfo.vue.d.ts +140 -25
- package/package.json +31 -31
- package/templates/baseConfig.js +5 -14
- package/widgets/EodashMap/EodashMapBtns.vue +15 -12
- package/widgets/EodashMap/index.vue +5 -1
- package/widgets/EodashMap/methods/index.js +13 -4
- package/widgets/EodashProcess/index.vue +16 -12
- package/widgets/EodashProcess/methods/composables.js +18 -15
- package/widgets/EodashProcess/methods/handling.js +78 -62
- package/widgets/EodashProcess/methods/outputs.js +74 -29
- package/widgets/EodashProcess/methods/template-helpers.js +246 -0
- package/widgets/EodashProcess/methods/utils.js +29 -48
- package/widgets/EodashProcess/types.ts +1 -0
- package/widgets/EodashStacInfo.vue +40 -5
- package/dist/client/EodashMapBtns-BjF8Yrpd.js +0 -433
- package/dist/client/MobileLayout-jnu24OJM.js +0 -118
- package/dist/client/asWebComponent-C-6K08Kk.js +0 -9206
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { t as replaceLayer, b as extractLayerConfig, x as extractLayerLegend, m as mergeGeojsons, d as axios, w as getCompareLayers, v as getLayers, $ as axios$1, I as compareIndicator, F as indicator } from './helpers-DAVGYl_f.js';
|
|
2
|
+
import { S as useEmitLayersUpdate } from './asWebComponent-DfULAbpq.js';
|
|
3
3
|
import { isMulti } from '@eox/jsonform/src/custom-inputs/spatial/utils';
|
|
4
4
|
import log from 'loglevel';
|
|
5
5
|
|
|
@@ -360,37 +360,28 @@ async function creatAsyncProcessLayerDefinitions(
|
|
|
360
360
|
break;
|
|
361
361
|
}
|
|
362
362
|
case "application/vnd.flatgeobuf": {
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
id
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
...(layerConfig && {
|
|
386
|
-
layerConfig: {
|
|
387
|
-
...layerConfig,
|
|
388
|
-
style,
|
|
389
|
-
},
|
|
390
|
-
}),
|
|
391
|
-
...extraProperties,
|
|
392
|
-
},
|
|
393
|
-
});
|
|
363
|
+
layers.push({
|
|
364
|
+
type: "Vector",
|
|
365
|
+
source: {
|
|
366
|
+
type: "FlatGeoBuf",
|
|
367
|
+
url: resultItem.urls,
|
|
368
|
+
},
|
|
369
|
+
properties: {
|
|
370
|
+
id: endpointLink.id + "_process_" + resultItem.id + postfixId,
|
|
371
|
+
title:
|
|
372
|
+
"Results " +
|
|
373
|
+
(selectedStac?.id ?? "") +
|
|
374
|
+
" " +
|
|
375
|
+
(resultItem.id ?? ""),
|
|
376
|
+
layerControlToolsExpand: true,
|
|
377
|
+
...(layerConfig && {
|
|
378
|
+
layerConfig: {
|
|
379
|
+
...layerConfig,
|
|
380
|
+
style,
|
|
381
|
+
},
|
|
382
|
+
}),
|
|
383
|
+
...extraProperties,
|
|
384
|
+
},
|
|
394
385
|
});
|
|
395
386
|
break;
|
|
396
387
|
}
|
|
@@ -503,13 +494,17 @@ function extractAsyncResults(resultItem) {
|
|
|
503
494
|
return extracted;
|
|
504
495
|
}
|
|
505
496
|
|
|
506
|
-
/** @param {*} jsonformSchema
|
|
507
|
-
|
|
497
|
+
/** @param {*} jsonformSchema
|
|
498
|
+
* @returns { string[] }
|
|
499
|
+
*/
|
|
500
|
+
const getDrawToolsProperties = (jsonformSchema) => {
|
|
501
|
+
const properties = [];
|
|
508
502
|
for (const property in jsonformSchema.properties) {
|
|
509
503
|
if (jsonformSchema.properties[property]?.options?.drawtools) {
|
|
510
|
-
|
|
504
|
+
properties.push(property);
|
|
511
505
|
}
|
|
512
506
|
}
|
|
507
|
+
return properties;
|
|
513
508
|
};
|
|
514
509
|
|
|
515
510
|
/**
|
|
@@ -556,20 +551,6 @@ const applyProcessLayersToMap = (mapElement, processLayers) => {
|
|
|
556
551
|
mapElement.layers = layers;
|
|
557
552
|
}
|
|
558
553
|
};
|
|
559
|
-
/**
|
|
560
|
-
* Updates the jsonform schema to target the compare map
|
|
561
|
-
* @param {Record<string,any> | null | undefined} jsonformSchema
|
|
562
|
-
*/
|
|
563
|
-
function updateJsonformSchemaTarget(jsonformSchema) {
|
|
564
|
-
if (!jsonformSchema) {
|
|
565
|
-
return jsonformSchema;
|
|
566
|
-
}
|
|
567
|
-
const stringified = JSON.stringify(jsonformSchema).replaceAll(
|
|
568
|
-
"eox-map#main",
|
|
569
|
-
"eox-map#compare",
|
|
570
|
-
);
|
|
571
|
-
return JSON.parse(stringified);
|
|
572
|
-
}
|
|
573
554
|
|
|
574
555
|
/**
|
|
575
556
|
* Polls the process status and fetches a result item when the process is successful.
|
|
@@ -809,4 +790,4 @@ const getJobStatusUrl = (jobID, indicator) => {
|
|
|
809
790
|
return jobUrl;
|
|
810
791
|
};
|
|
811
792
|
|
|
812
|
-
export { creatAsyncProcessLayerDefinitions as a, getBboxProperty as b, createTiffLayerDefinition as c, download as d, extractAsyncResults as e, generateTimePairs as f,
|
|
793
|
+
export { creatAsyncProcessLayerDefinitions as a, getBboxProperty as b, createTiffLayerDefinition as c, download as d, extractAsyncResults as e, generateTimePairs as f, getDrawToolsProperties as g, extractGeometries as h, applyProcessLayersToMap as i, getJobStatusUrl as j, downloadPreviousResults as k, loadProcess as l, deleteJob as m, pollProcessStatus as p, separateEndpointLinks as s, updateJobsStatus as u };
|
package/dist/client/eo-dash.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aI as EodashConstructor, aJ as register, aK as store } from './asWebComponent-DfULAbpq.js';
|
|
2
2
|
import 'vue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, watch, onScopeDispose, nextTick, ref, watchEffect, effectScope, inject, mergeProps, toRef, toValue, shallowRef, onMounted, reactive, provide, toRaw, readonly, warn, onBeforeUnmount, createElementVNode, Fragment, createVNode, Teleport, withDirectives, vShow, Transition } from 'vue';
|
|
2
|
-
import { aq as isOn, ar as eventName, p as propsFactory, as as destructComputed, at as parseAnchor, au as flipSide, av as flipAlign, aw as flipCorner, ax as CircularBuffer, ay as deepEqual,
|
|
3
|
-
import { m as makeTransitionProps, M as MaybeTransition } from './transition-
|
|
2
|
+
import { aq as isOn, ar as eventName, p as propsFactory, as as destructComputed, at as parseAnchor, au as flipSide, av as flipAlign, aw as flipCorner, ax as CircularBuffer, ay as deepEqual, a0 as consoleError, az as getAxis, q as convertToUnit, x as clamp, aA as IN_BROWSER, A as useToggleScope, aB as defer, al as getCurrentInstance, aC as templateRef, aD as matchesSelector, aE as focusableChildren, G as useDisplay, r as makeThemeProps, d as makeDimensionProps, e as makeComponentProps, g as genericComponent, z as useProxiedModel, l as provideTheme, n as useRtl, f as useBackgroundColor, b as useDimension, aF as useRouter, aG as useBackButton, ao as standardEasing, c as useRender, C as omit } from './asWebComponent-DfULAbpq.js';
|
|
3
|
+
import { m as makeTransitionProps, M as MaybeTransition } from './transition-DaOsiD4u.js';
|
|
4
4
|
|
|
5
5
|
class Box {
|
|
6
6
|
constructor(args) {
|