@eodash/eodash 5.5.2 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/core/client/App.vue +1 -1
  2. package/core/client/eodashSTAC/EodashCollection.js +7 -4
  3. package/core/client/eodashSTAC/auth.js +19 -9
  4. package/core/client/eodashSTAC/createLayers.js +130 -24
  5. package/core/client/eodashSTAC/helpers.js +23 -56
  6. package/core/client/store/stac.js +9 -0
  7. package/core/client/types.ts +1 -0
  8. package/dist/client/{DashboardLayout-BAB1tPv0.js → DashboardLayout-DkKDhfgH.js} +3 -3
  9. package/dist/client/{DynamicWebComponent-qVeu4sqS.js → DynamicWebComponent-BrpkA-e3.js} +2 -2
  10. package/dist/client/{EodashChart-CXnNxlhk.js → EodashChart-p7_1FRlF.js} +5 -5
  11. package/dist/client/{EodashDatePicker-KyJXPgAq.js → EodashDatePicker-HK0Jl7wQ.js} +4 -4
  12. package/dist/client/{EodashItemFilter-CAlyUnje.js → EodashItemFilter-BYQDA78B.js} +2 -2
  13. package/dist/client/{EodashLayerControl-D8VobuZJ.js → EodashLayerControl-NcrNncGn.js} +18 -4
  14. package/dist/client/{EodashLayoutSwitcher-DI6uGF_7.js → EodashLayoutSwitcher-CC2Znd0I.js} +4 -4
  15. package/dist/client/EodashMapBtns-BJSh7qT-.js +435 -0
  16. package/dist/client/{EodashStacInfo-Cb28jVEr.js → EodashStacInfo-BA-0UjvT.js} +42 -7
  17. package/dist/client/{EodashTimeSlider-UIpnhO4N.js → EodashTimeSlider-GDv1hbw7.js} +3 -3
  18. package/dist/client/{EodashTools-vxReGN8p.js → EodashTools-CWmoH0g_.js} +5 -5
  19. package/dist/client/{ExportState-D6CBpKUU.js → ExportState-CfAfX4RN.js} +9 -7
  20. package/dist/client/{Footer-CUgMupXk.js → Footer-DLGxQTZt.js} +2 -2
  21. package/dist/client/{Header-BZ53ACvp.js → Header-eyEyyzD6.js} +10 -6
  22. package/dist/client/{IframeWrapper-XzQDZy0T.js → IframeWrapper-BgM9aU8f.js} +1 -1
  23. package/dist/client/MobileLayout-RzLOyXwL.js +118 -0
  24. package/dist/client/{PopUp-C6HJH8wM.js → PopUp-WNs6Io2N.js} +3 -3
  25. package/dist/client/{ProcessList-DQjvv7Cc.js → ProcessList-RzVqbd5E.js} +5 -5
  26. package/dist/client/{VImg-CWCCg87G.js → VImg-GKUTFoV-.js} +51 -22
  27. package/dist/client/{VMain-CAzXMN4O.js → VMain-D7_72mHr.js} +1 -1
  28. package/dist/client/{VTooltip-B1_FzBl_.js → VTooltip-BbmvtvYw.js} +2 -2
  29. package/dist/client/{WidgetsContainer-Bc8pGq_X.js → WidgetsContainer-Dw5d7SOW.js} +2 -2
  30. package/dist/client/asWebComponent-DDt7V3Bl.js +9383 -0
  31. package/dist/client/{async-Byq11ZKl.js → async-CT3KEV52.js} +24 -33
  32. package/dist/client/eo-dash.js +1 -1
  33. package/dist/client/{forwardRefs-D3na5VY2.js → forwardRefs-CVzxyoSq.js} +2 -2
  34. package/dist/client/{handling-7IVxQxtQ.js → handling-C285F_Mq.js} +3 -3
  35. package/dist/client/{helpers-Bi-qmnbZ.js → helpers-CZFH0EVN.js} +349 -316
  36. package/dist/client/{index-Ch4PgFGP.js → index-B-m7V3Kb.js} +24 -11
  37. package/dist/client/{index-FQrkgCu_.js → index-B_6H-N14.js} +7 -7
  38. package/dist/client/{index-Dk5_G7Aw.js → index-CF3ZMzTz.js} +4 -4
  39. package/dist/client/{index-CJOvBxMx.js → index-DgOXD7wd.js} +2 -2
  40. package/dist/client/templates.js +6 -15
  41. package/dist/client/{transition-Bp5R_Vzd.js → transition-C2gnrWg0.js} +1 -1
  42. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +2 -5
  43. package/dist/types/core/client/eodashSTAC/auth.d.ts +6 -2
  44. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +1 -4
  45. package/dist/types/core/client/eodashSTAC/helpers.d.ts +1 -2
  46. package/dist/types/core/client/store/stac.d.ts +4 -1
  47. package/dist/types/core/client/types.d.ts +1 -0
  48. package/dist/types/templates/baseConfig.d.ts +1 -0
  49. package/dist/types/widgets/EodashMap/methods/index.d.ts +1 -1
  50. package/dist/types/widgets/EodashProcess/methods/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +1 -1
  51. package/dist/types/widgets/EodashStacInfo.vue.d.ts +140 -25
  52. package/package.json +31 -31
  53. package/templates/baseConfig.js +5 -14
  54. package/widgets/EodashMap/EodashMapBtns.vue +15 -12
  55. package/widgets/EodashMap/index.vue +5 -1
  56. package/widgets/EodashMap/methods/index.js +13 -4
  57. package/widgets/EodashProcess/methods/utils.js +22 -31
  58. package/widgets/EodashStacInfo.vue +40 -5
  59. package/dist/client/EodashMapBtns-BjF8Yrpd.js +0 -433
  60. package/dist/client/MobileLayout-jnu24OJM.js +0 -118
  61. package/dist/client/asWebComponent-C-6K08Kk.js +0 -9206
@@ -1,5 +1,5 @@
1
- import { x as getCompareLayers, w as getLayers, $ as replaceLayer, b as extractLayerConfig, v as extractLayerLegend, m as mergeGeojsons, d as axios, a0 as axios$1, I as compareIndicator, G as indicator } from './helpers-Bi-qmnbZ.js';
2
- import { P as useEmitLayersUpdate } from './asWebComponent-C-6K08Kk.js';
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-CZFH0EVN.js';
2
+ import { S as useEmitLayersUpdate } from './asWebComponent-DDt7V3Bl.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
- // TODO after more flatgeobuf urls are possible in EOxMap https://github.com/EOX-A/EOxElements/issues/1789
364
- // we should change this handler to only create one layer instead of many
365
- resultItem.urls.forEach((url, i) => {
366
- layers.push({
367
- type: "Vector",
368
- source: {
369
- type: "FlatGeoBuf",
370
- url,
371
- },
372
- properties: {
373
- id:
374
- endpointLink.id +
375
- "_process_" +
376
- resultItem.id +
377
- postfixId +
378
- `_${i}`,
379
- title:
380
- "Results " +
381
- (selectedStac?.id ?? "") +
382
- " " +
383
- (resultItem.id ?? ""),
384
- layerControlToolsExpand: true,
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
  }
@@ -1,2 +1,2 @@
1
- export { aJ as EodashConstructor, aI as register, aK as store } from './asWebComponent-C-6K08Kk.js';
1
+ export { aI as EodashConstructor, aJ as register, aK as store } from './asWebComponent-DDt7V3Bl.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, Y as consoleError, az as getAxis, o as convertToUnit, v as clamp, aA as IN_BROWSER, y as useToggleScope, aB as defer, al as getCurrentInstance, aC as templateRef, aD as matchesSelector, aE as focusableChildren, D as useDisplay, q as makeThemeProps, d as makeDimensionProps, e as makeComponentProps, g as genericComponent, $ as omit, x as useProxiedModel, k as provideTheme, l as useRtl, f as useBackgroundColor, b as useDimension, aF as useRouter, aG as useBackButton, ao as standardEasing, c as useRender } from './asWebComponent-C-6K08Kk.js';
3
- import { m as makeTransitionProps, M as MaybeTransition } from './transition-Bp5R_Vzd.js';
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-DDt7V3Bl.js';
3
+ import { m as makeTransitionProps, M as MaybeTransition } from './transition-C2gnrWg0.js';
4
4
 
5
5
  class Box {
6
6
  constructor(args) {
@@ -1,8 +1,8 @@
1
1
  import log from 'loglevel';
2
- import { s as separateEndpointLinks, c as createTiffLayerDefinition, p as pollProcessStatus, e as extractAsyncResults, u as updateJobsStatus, a as creatAsyncProcessLayerDefinitions, b as getBboxProperty, f as generateTimePairs, h as updateJsonformSchemaTarget, i as extractGeometries, j as applyProcessLayersToMap, g as getDrawToolsProperty } from './async-Byq11ZKl.js';
3
- import { d as axios, b as extractLayerConfig, I as compareIndicator, G as indicator, y as extractCollectionUrls, H as currentCompareUrl, B as currentUrl, z as generateLinksFromItems, o as getDatetimeProperty, J as comparePoi, C as datetime, Z as compareChartData, _ as chartData, O as compareChartSpec, N as chartSpec, D as poi, w as getLayers } from './helpers-Bi-qmnbZ.js';
2
+ import { s as separateEndpointLinks, c as createTiffLayerDefinition, p as pollProcessStatus, e as extractAsyncResults, u as updateJobsStatus, a as creatAsyncProcessLayerDefinitions, b as getBboxProperty, f as generateTimePairs, h as updateJsonformSchemaTarget, i as extractGeometries, j as applyProcessLayersToMap, g as getDrawToolsProperty } from './async-CT3KEV52.js';
3
+ import { d as axios, b as extractLayerConfig, I as compareIndicator, F as indicator, y as extractCollectionUrls, H as currentCompareUrl, G as currentUrl, z as generateLinksFromItems, o as getDatetimeProperty, J as comparePoi, B as datetime, Z as compareChartData, _ as chartData, O as compareChartSpec, N as chartSpec, C as poi, v as getLayers } from './helpers-CZFH0EVN.js';
4
4
  import mustache from 'mustache';
5
- import { Q as isFirstLoad, E as useSTAcStore, T as readParquetItems, U as useGetSubCodeId } from './asWebComponent-C-6K08Kk.js';
5
+ import { T as isFirstLoad, H as useSTAcStore, X as readParquetItems, Y as useGetSubCodeId } from './asWebComponent-DDt7V3Bl.js';
6
6
  import { toAbsolute } from 'stac-js/src/http.js';
7
7
 
8
8
  ////// --- CHARTS --- //////