@eodash/eodash 5.0.0-rc → 5.0.0-rc.1.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 (78) hide show
  1. package/core/client/eodashSTAC/createLayers.js +4 -3
  2. package/dist/client/{DashboardLayout-232tRmjz.js → DashboardLayout-B-4X57-t.js} +2 -2
  3. package/dist/client/{DynamicWebComponent-Cl4LqHU6.js → DynamicWebComponent-Dj3QYwag.js} +1 -1
  4. package/dist/client/{EodashDatePicker-Pok6bZwU.js → EodashDatePicker-DGRJrJ0s.js} +2 -2
  5. package/dist/client/{EodashItemFilter-16eMMjTV.js → EodashItemFilter-DBQwJQPh.js} +1 -1
  6. package/dist/client/{EodashLayerControl-De7IlCm_.js → EodashLayerControl-C5fOCvoI.js} +1 -1
  7. package/dist/client/{EodashLayoutSwitcher-C-3-jjn5.js → EodashLayoutSwitcher-BMO9k_20.js} +2 -2
  8. package/dist/client/{EodashMap-CMvbfI6-.js → EodashMap-D2bnMLAC.js} +1 -1
  9. package/dist/client/{EodashMapBtns-BeknGDtc.js → EodashMapBtns-l9B977id.js} +4 -4
  10. package/dist/client/EodashProcess-BtIlJvF1.js +714 -0
  11. package/dist/client/{EodashStacInfo-_BfonNUG.js → EodashStacInfo-CPVvp_Hm.js} +1 -1
  12. package/dist/client/{EodashTools-PD3XPYuR.js → EodashTools-DY2dlNXW.js} +4 -4
  13. package/dist/client/{ExportState-DOrT7M15.js → ExportState-BvD5A0XG.js} +13 -13
  14. package/dist/client/{Footer-CCigxYBo.js → Footer-w95gBnSH.js} +1 -1
  15. package/dist/client/{Header-C2cdx4gb.js → Header-BpiorKy9.js} +3 -3
  16. package/dist/client/{MobileLayout-BdiFjHg7.js → MobileLayout-CmVlZe7S.js} +5 -5
  17. package/dist/client/{PopUp--_xn1Cms.js → PopUp-CREaSybs.js} +3 -3
  18. package/dist/client/{VImg-9xu2l99m.js → VImg-DF9esgdd.js} +2 -2
  19. package/dist/client/{VMain-BUs3kDTd.js → VMain-BWLMf-rn.js} +1 -1
  20. package/dist/client/{VOverlay-D89omJis.js → VOverlay-DmNfblmy.js} +3 -3
  21. package/dist/client/{VTooltip-CDu3bErh.js → VTooltip-C3PeE7iO.js} +3 -3
  22. package/dist/client/{WidgetsContainer-aFG9yFT6.js → WidgetsContainer-6FHEEXns.js} +1 -1
  23. package/dist/client/{asWebComponent-BRGyP_j5.js → asWebComponent-BnFMd0T6.js} +10 -9
  24. package/dist/client/eo-dash.css +1 -1
  25. package/dist/client/eo-dash.js +1 -1
  26. package/dist/client/{forwardRefs-CYrR6bMw.js → forwardRefs-BF3Me2RX.js} +1 -1
  27. package/dist/client/{index-BZwk0V42.js → index-CRd5-RSy.js} +1 -1
  28. package/dist/client/{transition-DG9nRSW4.js → transition-Cpn_g5jE.js} +1 -1
  29. package/dist/types/core/client/App.vue.d.ts +7 -0
  30. package/dist/types/core/client/asWebComponent.d.ts +9 -0
  31. package/dist/types/core/client/components/DashboardLayout.vue.d.ts +2 -0
  32. package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +20 -0
  33. package/dist/types/core/client/components/ErrorAlert.vue.d.ts +2 -0
  34. package/dist/types/core/client/components/Footer.vue.d.ts +106 -0
  35. package/dist/types/core/client/components/Header.vue.d.ts +2 -0
  36. package/dist/types/core/client/components/IframeWrapper.vue.d.ts +7 -0
  37. package/dist/types/core/client/components/Loading.vue.d.ts +2 -0
  38. package/dist/types/core/client/components/MobileLayout.vue.d.ts +312 -0
  39. package/dist/types/core/client/composables/DefineEodash.d.ts +2 -0
  40. package/dist/types/core/client/composables/DefineTemplate.d.ts +15 -0
  41. package/dist/types/core/client/composables/DefineWidgets.d.ts +14 -0
  42. package/dist/types/core/client/composables/EodashMap.d.ts +5 -0
  43. package/dist/types/core/client/composables/EodashProcess.d.ts +156 -0
  44. package/dist/types/core/client/composables/index.d.ts +9 -0
  45. package/dist/types/core/client/eodash.d.ts +8 -0
  46. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +108 -0
  47. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +45 -0
  48. package/dist/types/core/client/eodashSTAC/helpers.d.ts +80 -0
  49. package/dist/types/core/client/eodashSTAC/triggers.d.ts +1 -0
  50. package/dist/types/core/client/main.d.ts +2 -0
  51. package/dist/types/core/client/plugins/axios.d.ts +2 -0
  52. package/dist/types/core/client/plugins/index.d.ts +3 -0
  53. package/dist/types/core/client/plugins/vuetify.d.ts +82 -0
  54. package/dist/types/core/client/render.d.ts +1 -0
  55. package/dist/types/core/client/store/actions.d.ts +12 -0
  56. package/dist/types/core/client/store/index.d.ts +11 -0
  57. package/dist/types/core/client/store/stac.d.ts +25 -0
  58. package/dist/types/core/client/store/states.d.ts +22 -0
  59. package/dist/types/core/client/types.d.ts +269 -0
  60. package/dist/types/core/client/utils/index.d.ts +2 -0
  61. package/dist/types/core/client/utils/keys.d.ts +8 -0
  62. package/dist/types/core/client/utils/states.d.ts +18 -0
  63. package/dist/types/core/client/views/Dashboard.vue.d.ts +9 -0
  64. package/dist/types/widgets/EodashDatePicker.vue.d.ts +13 -0
  65. package/dist/types/widgets/EodashItemFilter.vue.d.ts +44 -0
  66. package/dist/types/widgets/EodashLayerControl.vue.d.ts +13 -0
  67. package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +11 -0
  68. package/dist/types/widgets/EodashMap.vue.d.ts +14 -0
  69. package/dist/types/widgets/EodashMapBtns.vue.d.ts +13 -0
  70. package/dist/types/widgets/EodashProcess.vue.d.ts +4 -0
  71. package/dist/types/widgets/EodashStacInfo.vue.d.ts +21 -0
  72. package/dist/types/widgets/EodashTools.vue.d.ts +19 -0
  73. package/dist/types/widgets/ExportState.vue.d.ts +7 -0
  74. package/dist/types/widgets/PopUp.vue.d.ts +28 -0
  75. package/dist/types/widgets/WidgetsContainer.vue.d.ts +10 -0
  76. package/package.json +5 -8
  77. package/widgets/ExportState.vue +10 -10
  78. package/dist/client/EodashProcess-BwKAa9Ee.js +0 -1476
@@ -42,13 +42,14 @@ export async function createLayersFromAssets(
42
42
  );
43
43
  await registerProjection(assetProjection);
44
44
 
45
- if (assets[ast]?.type === "application/geo+json") {
45
+ if (assets[ast]?.type === "application/geo+json" || assets[ast]?.type === "application/vnd.flatgeobuf") {
46
46
  const assetId = createAssetID(collectionId, item.id, idx);
47
- log.debug("Creating Vector layer from GeoJSON", assetId);
47
+ const sourceType = assets[ast]?.type === "application/geo+json" ? "GeoJSON" : "FlatGeoBuf";
48
+ log.debug(`Creating Vector layer from ${sourceType}`, assetId);
48
49
  const layer = {
49
50
  type: "Vector",
50
51
  source: {
51
- type: "Vector",
52
+ type: sourceType,
52
53
  url: assets[ast].href,
53
54
  format: "GeoJSON",
54
55
  },
@@ -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-BRGyP_j5.js';
4
- import { V as VMain } from './VMain-BUs3kDTd.js';
3
+ import { _ as _export_sfc, F as useDefineTemplate } from './asWebComponent-BnFMd0T6.js';
4
+ import { V as VMain } from './VMain-BWLMf-rn.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-BRGyP_j5.js';
2
+ import { $ as useSTAcStore } from './asWebComponent-BnFMd0T6.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, customRef, ref, reactive, toRef, watch, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, withDirectives, createBlock, createCommentVNode } from 'vue';
2
2
  import { DatePicker } from 'v-calendar';
3
- import { E as isObject, Y as consoleError, Z as datetime, $ as useSTAcStore, a0 as eodashCollections, a1 as makePanelTransparent, V as VBtn, y as VIcon } from './asWebComponent-BRGyP_j5.js';
3
+ import { E as isObject, Y as consoleError, Z as datetime, $ as useSTAcStore, a0 as eodashCollections, a1 as makePanelTransparent, V as VBtn, y as VIcon } from './asWebComponent-BnFMd0T6.js';
4
4
  import { mdiRayEndArrow, mdiRayStartArrow } from '@mdi/js';
5
5
  import log from 'loglevel';
6
- import { V as VTooltip } from './VTooltip-CDu3bErh.js';
6
+ import { V as VTooltip } from './VTooltip-C3PeE7iO.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-BRGyP_j5.js';
2
+ import { t as useDisplay, $ as useSTAcStore } from './asWebComponent-BnFMd0T6.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, a2 as mapCompareEl, a3 as mapEl, a4 as eodashCompareCollections, a0 as eodashCollections, a5 as getColFromLayer } from './asWebComponent-BRGyP_j5.js';
6
+ import { $ as useSTAcStore, a2 as mapCompareEl, a3 as mapEl, a4 as eodashCompareCollections, a0 as eodashCollections, a5 as getColFromLayer } from './asWebComponent-BnFMd0T6.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 { a1 as makePanelTransparent, y as VIcon, ak as activeTemplate } from './asWebComponent-BRGyP_j5.js';
2
+ import { a1 as makePanelTransparent, y as VIcon, ak as activeTemplate } from './asWebComponent-BnFMd0T6.js';
3
3
  import { mdiViewDashboard } from '@mdi/js';
4
- import { V as VTooltip } from './VTooltip-CDu3bErh.js';
4
+ import { V as VTooltip } from './VTooltip-C3PeE7iO.js';
5
5
 
6
6
  const _sfc_main = {
7
7
  __name: 'EodashLayoutSwitcher',
@@ -1,7 +1,7 @@
1
1
  import { onMounted, onUnmounted, watch, nextTick, toRaw, ref, computed, openBlock, createElementBlock, createElementVNode, unref } from 'vue';
2
2
  import '@eox/map';
3
3
  import '@eox/map/src/plugins/advancedLayersAndSources';
4
- import { a6 as registerProjection, a7 as getProjectionCode, a8 as availableMapProjection, a9 as changeMapProjection, aa as eoxLayersKey, $ as useSTAcStore, ab as posIsSetFromUrl, ac as EodashCollection, ad as mapPosition, a3 as mapEl, a2 as mapCompareEl, Z as datetime, a4 as eodashCompareCollections, a0 as eodashCollections } from './asWebComponent-BRGyP_j5.js';
4
+ import { a6 as registerProjection, a7 as getProjectionCode, a8 as availableMapProjection, a9 as changeMapProjection, aa as eoxLayersKey, $ as useSTAcStore, ab as posIsSetFromUrl, ac as EodashCollection, ad as mapPosition, a3 as mapEl, a2 as mapCompareEl, Z as datetime, a4 as eodashCompareCollections, a0 as eodashCollections } from './asWebComponent-BnFMd0T6.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, a1 as makePanelTransparent, V as VBtn, a8 as availableMapProjection, a9 as changeMapProjection, ae as setActiveTemplate } from './asWebComponent-BRGyP_j5.js';
2
+ import { _ as _export_sfc, t as useDisplay, a1 as makePanelTransparent, V as VBtn, a8 as availableMapProjection, a9 as changeMapProjection, ae as setActiveTemplate } from './asWebComponent-BnFMd0T6.js';
3
3
  import { mdiMapPlus, mdiEarthBox, mdiCompare } from '@mdi/js';
4
- import ExportState from './ExportState-DOrT7M15.js';
5
- import _sfc_main$1 from './PopUp--_xn1Cms.js';
6
- import _sfc_main$2 from './EodashItemFilter-16eMMjTV.js';
4
+ import ExportState from './ExportState-BvD5A0XG.js';
5
+ import _sfc_main$1 from './PopUp-CREaSybs.js';
6
+ import _sfc_main$2 from './EodashItemFilter-DBQwJQPh.js';
7
7
 
8
8
  const _sfc_main = {
9
9
  __name: 'EodashMapBtns',