@eodash/eodash 5.3.2 → 5.4.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 (67) hide show
  1. package/core/client/composables/DefineEodash.js +3 -1
  2. package/core/client/eodashSTAC/EodashCollection.js +29 -43
  3. package/core/client/eodashSTAC/auth.js +19 -15
  4. package/core/client/eodashSTAC/createLayers.js +318 -163
  5. package/core/client/eodashSTAC/helpers.js +64 -42
  6. package/core/client/eodashSTAC/parquet.js +1 -0
  7. package/core/client/eodashSTAC/triggers.js +7 -6
  8. package/core/client/store/states.js +1 -1
  9. package/core/client/types.ts +15 -9
  10. package/core/client/utils/states.js +32 -0
  11. package/dist/client/{DashboardLayout-BHQnHqWW.js → DashboardLayout-CQOGHPW_.js} +2 -2
  12. package/dist/client/{DynamicWebComponent-B4PdeZ9P.js → DynamicWebComponent-CoLO8FEf.js} +1 -1
  13. package/dist/client/{EodashDatePicker-Ch_AXVas.js → EodashDatePicker-BZeQ6bcu.js} +3 -3
  14. package/dist/client/{EodashItemFilter-lTuzCl08.js → EodashItemFilter-CmZkk7GK.js} +1 -1
  15. package/dist/client/{EodashLayerControl-CBSGRlIi.js → EodashLayerControl-D54fY-bX.js} +2 -2
  16. package/dist/client/{EodashLayoutSwitcher-DdwQYoI4.js → EodashLayoutSwitcher-BCP3FvDb.js} +3 -3
  17. package/dist/client/{EodashMapBtns-B910ylV6.js → EodashMapBtns-D-HulIl1.js} +14 -9
  18. package/dist/client/{EodashStacInfo-CeHGMZ8x.js → EodashStacInfo-BZbmT8vT.js} +1 -1
  19. package/dist/client/{EodashTimeSlider-BApJJK0u.js → EodashTimeSlider-DIcAJr6D.js} +2 -2
  20. package/dist/client/{EodashTools-CJVm0k-Q.js → EodashTools-Cz6X6hsF.js} +4 -4
  21. package/dist/client/{ExportState-NXzNGWYq.js → ExportState-DFVFAgKz.js} +4 -4
  22. package/dist/client/{Footer-DfXUC8IK.js → Footer-DLzQcjkI.js} +1 -1
  23. package/dist/client/{Header-BHgaNMEH.js → Header-_D9Z-zFJ.js} +2 -2
  24. package/dist/client/{MobileLayout-B77RzrNe.js → MobileLayout-3Ko9XSfO.js} +2 -2
  25. package/dist/client/{PopUp-BJwqRDNq.js → PopUp-DwI8V2gW.js} +2 -2
  26. package/dist/client/{ProcessList-BFvV4RvS.js → ProcessList-C9eAg2Sb.js} +20 -8
  27. package/dist/client/{VImg-RGGIQ_yA.js → VImg-COXTnCWE.js} +2 -2
  28. package/dist/client/{VMain-CniQR94B.js → VMain-C74l1bv-.js} +1 -1
  29. package/dist/client/{VTooltip-D5dnTfem.js → VTooltip-BLS-cQ9N.js} +2 -2
  30. package/dist/client/{WidgetsContainer-CvnR4J1T.js → WidgetsContainer-D-VfMRxE.js} +1 -1
  31. package/dist/client/{asWebComponent-Dptqds6-.js → asWebComponent-Bw03Jutr.js} +390 -220
  32. package/dist/client/{async-C1hb39Tc.js → async-D4G-FOIc.js} +13 -3
  33. package/dist/client/eo-dash.js +1 -1
  34. package/dist/client/{forwardRefs-CiSZZEn2.js → forwardRefs-CRMFoNYN.js} +2 -2
  35. package/dist/client/{handling-CZ537GCL.js → handling-DTAhQuPh.js} +94 -10
  36. package/dist/client/{helpers-DoQGyrvY.js → helpers-CsjKHAcK.js} +72 -50
  37. package/dist/client/{index-4sC2BIcK.js → index-BHilH1qx.js} +17 -13
  38. package/dist/client/{index-wcTqj0PZ.js → index-BIcmbjr0.js} +55 -16
  39. package/dist/client/{index--uKz-mt4.js → index-BoCcZ0l4.js} +3 -3
  40. package/dist/client/{index-DTxo2ysK.js → index-DEmHaCL3.js} +2 -2
  41. package/dist/client/templates.js +6 -2
  42. package/dist/client/{transition-CFfv5MCB.js → transition-6MJLK-_H.js} +1 -1
  43. package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
  44. package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +28 -11
  45. package/dist/types/core/client/eodashSTAC/auth.d.ts +5 -5
  46. package/dist/types/core/client/eodashSTAC/createLayers.d.ts +30 -23
  47. package/dist/types/core/client/eodashSTAC/helpers.d.ts +19 -4
  48. package/dist/types/core/client/types.d.ts +2 -1
  49. package/dist/types/core/client/utils/states.d.ts +28 -0
  50. package/dist/types/templates/index.d.ts +1 -0
  51. package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +2 -0
  52. package/dist/types/widgets/EodashMap/index.vue.d.ts +2 -0
  53. package/dist/types/widgets/EodashProcess/methods/handling.d.ts +13 -0
  54. package/dist/types/widgets/EodashProcess/methods/utils.d.ts +1 -0
  55. package/package.json +2 -2
  56. package/templates/expert.js +4 -0
  57. package/templates/index.js +2 -0
  58. package/widgets/EodashMap/EodashMapBtns.vue +15 -0
  59. package/widgets/EodashMap/index.vue +17 -4
  60. package/widgets/EodashMap/methods/create-layers-config.js +23 -0
  61. package/widgets/EodashMap/methods/index.js +9 -7
  62. package/widgets/EodashProcess/ProcessList.vue +10 -2
  63. package/widgets/EodashProcess/index.vue +1 -9
  64. package/widgets/EodashProcess/methods/composables.js +13 -1
  65. package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +15 -6
  66. package/widgets/EodashProcess/methods/handling.js +77 -0
  67. package/widgets/EodashProcess/methods/utils.js +10 -0
@@ -1,6 +1,6 @@
1
1
  import { createVNode, Transition, mergeProps, ref, onBeforeUnmount, watch, nextTick, normalizeStyle, normalizeClass, mergeModels, useModel, createElementBlock, openBlock, withCtx, createBlock, createCommentVNode, resolveDynamicComponent, unref, renderSlot } from 'vue';
2
- import { g as genericComponent, p as propsFactory, aj as PREFERS_REDUCED_MOTION, al as acceleratedEasing, am as deceleratedEasing, an as standardEasing, x as useProxiedModel, ao as IN_BROWSER, c as useRender, ap as focusableChildren, V as VDefaultsProvider, k as provideTheme, f as useBackgroundColor, h as useBorder, b as useDimension, i as useElevation, a8 as useLocation, a9 as usePosition, j as useRounded, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, ac as makePositionProps, ad as makeLocationProps, s as makeElevationProps, d as makeDimensionProps, e as makeComponentProps, t as makeBorderProps, aq as useDefineWidgets } from './asWebComponent-Dptqds6-.js';
3
- import { a as animate, g as getTargetBox, n as nullifyTransforms, u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs-CiSZZEn2.js';
2
+ import { g as genericComponent, p as propsFactory, aj as PREFERS_REDUCED_MOTION, al as acceleratedEasing, am as deceleratedEasing, an as standardEasing, x as useProxiedModel, ao as IN_BROWSER, c as useRender, ap as focusableChildren, V as VDefaultsProvider, k as provideTheme, f as useBackgroundColor, h as useBorder, b as useDimension, i as useElevation, a8 as useLocation, a9 as usePosition, j as useRounded, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, ac as makePositionProps, ad as makeLocationProps, s as makeElevationProps, d as makeDimensionProps, e as makeComponentProps, t as makeBorderProps, aq as useDefineWidgets } from './asWebComponent-Bw03Jutr.js';
3
+ import { a as animate, g as getTargetBox, n as nullifyTransforms, u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs-CRMFoNYN.js';
4
4
 
5
5
  // Utilities
6
6
  const makeVDialogTransitionProps = propsFactory({
@@ -1,9 +1,9 @@
1
- import { ref, createVNode, normalizeStyle, normalizeClass, createElementVNode, toRefs, onMounted, createElementBlock, openBlock, createBlock, createCommentVNode, unref, withCtx, Fragment, renderList, toDisplayString, withDirectives, toRef } from 'vue';
1
+ import { ref, createVNode, normalizeStyle, normalizeClass, createElementVNode, toRefs, onMounted, createElementBlock, openBlock, createBlock, createCommentVNode, unref, withCtx, Fragment, renderList, withDirectives, createTextVNode, toDisplayString, toRef } from 'vue';
2
2
  import { mdiUploadBox, mdiDownloadBox, mdiTrashCanOutline } from '@mdi/js';
3
- import { g as genericComponent, p as propsFactory, k as provideTheme, U as useDensity, c as useRender, q as makeThemeProps, m as makeTagProps, W as makeDensityProps, e as makeComponentProps, o as convertToUnit, _ as _export_sfc, E as useSTAcStore, K as useOnLayersUpdate, G as VBtn } from './asWebComponent-Dptqds6-.js';
4
- import { H as compareIndicator, F as indicator } from './helpers-DoQGyrvY.js';
5
- import { u as updateJobsStatus, j as getJobStatusUrl, l as loadProcess, k as downloadPreviousResults, m as deleteJob } from './async-C1hb39Tc.js';
6
- import { T as Tooltip } from './index-DTxo2ysK.js';
3
+ import { g as genericComponent, p as propsFactory, k as provideTheme, U as useDensity, c as useRender, q as makeThemeProps, m as makeTagProps, W as makeDensityProps, e as makeComponentProps, o as convertToUnit, _ as _export_sfc, E as useSTAcStore, K as useOnLayersUpdate, H as VIcon, G as VBtn } from './asWebComponent-Bw03Jutr.js';
4
+ import { I as compareIndicator, G as indicator } from './helpers-CsjKHAcK.js';
5
+ import { u as updateJobsStatus, k as getJobStatusUrl, l as loadProcess, m as downloadPreviousResults, n as deleteJob } from './async-D4G-FOIc.js';
6
+ import { T as Tooltip } from './index-DEmHaCL3.js';
7
7
 
8
8
  /**
9
9
  * The list of job result from the server
@@ -90,6 +90,7 @@ const _sfc_main = {
90
90
  },
91
91
  setup(__props) {
92
92
 
93
+ /* eslint-disable @typescript-eslint/no-unused-vars */
93
94
 
94
95
  const { selectedStac, selectedCompareStac } = toRefs(useSTAcStore());
95
96
  const currentJobs = __props.enableCompare ? compareJobs : jobs;
@@ -103,6 +104,7 @@ onMounted(() => {
103
104
  useOnLayersUpdate(() => updateJobsStatus(currentJobs, currentIndicator.value));
104
105
 
105
106
  return (_ctx, _cache) => {
107
+
106
108
 
107
109
 
108
110
 
@@ -115,7 +117,7 @@ return (_ctx, _cache) => {
115
117
  style: {"background-color":"transparent"}
116
118
  }, {
117
119
  default: withCtx(() => [
118
- _cache[0] || (_cache[0] = createElementVNode("thead", null, [
120
+ _cache[1] || (_cache[1] = createElementVNode("thead", null, [
119
121
  createElementVNode("tr", null, [
120
122
  createElementVNode("th", { class: "text-left" }, "Executed on"),
121
123
  createElementVNode("th", { class: "text-left" }, "Status"),
@@ -130,11 +132,21 @@ return (_ctx, _cache) => {
130
132
  key: item.jobID
131
133
  }, [
132
134
  createElementVNode("td", null, [
133
- createElementVNode("a", {
135
+ withDirectives((openBlock(), createElementBlock("a", {
134
136
  class: "processUrl",
135
137
  target: "_blank",
136
138
  href: unref(getJobStatusUrl)(item.jobID, unref(currentIndicator))
137
- }, toDisplayString(new Date(item.job_start_datetime).toISOString().slice(0, 16)), 9 /* TEXT, PROPS */, _hoisted_1)
139
+ }, [
140
+ createTextVNode(toDisplayString(new Date(item.job_start_datetime).toISOString().slice(0, 16)) + " ", 1 /* TEXT */),
141
+ createVNode(VIcon, null, {
142
+ default: withCtx(() => [...(_cache[0] || (_cache[0] = [
143
+ createTextVNode("mdi-open-in-new", -1 /* CACHED */)
144
+ ]))]),
145
+ _: 1 /* STABLE */
146
+ })
147
+ ], 8 /* PROPS */, _hoisted_1)), [
148
+ [Tooltip, 'Process details']
149
+ ])
138
150
  ]),
139
151
  createElementVNode("td", null, toDisplayString(item.status), 1 /* TEXT */),
140
152
  createElementVNode("td", _hoisted_2, [
@@ -1,6 +1,6 @@
1
1
  import { h, TransitionGroup, Transition, camelize, createElementVNode, normalizeStyle, normalizeClass, computed, shallowRef, ref, watch, onBeforeMount, nextTick, onBeforeUnmount, toRef, withDirectives, createVNode, mergeProps, Fragment, vShow } from 'vue';
2
- import { ai as SUPPORTS_INTERSECTION, g as genericComponent, aj as PREFERS_REDUCED_MOTION, p as propsFactory, b as useDimension, c as useRender, d as makeDimensionProps, e as makeComponentProps, f as useBackgroundColor, j as useRounded, ak as getCurrentInstance, o as convertToUnit, r as makeRoundedProps } from './asWebComponent-Dptqds6-.js';
3
- import { m as makeTransitionProps$1, M as MaybeTransition } from './transition-CFfv5MCB.js';
2
+ import { ai as SUPPORTS_INTERSECTION, g as genericComponent, aj as PREFERS_REDUCED_MOTION, p as propsFactory, b as useDimension, c as useRender, d as makeDimensionProps, e as makeComponentProps, f as useBackgroundColor, j as useRounded, ak as getCurrentInstance, o as convertToUnit, r as makeRoundedProps } from './asWebComponent-Bw03Jutr.js';
3
+ import { m as makeTransitionProps$1, M as MaybeTransition } from './transition-6MJLK-_H.js';
4
4
 
5
5
  // Utilities
6
6
  function mounted(el, binding) {
@@ -1,5 +1,5 @@
1
1
  import { createVNode, normalizeStyle, normalizeClass, createElementVNode } from 'vue';
2
- import { g as genericComponent, p as propsFactory, b as useDimension, a as useLayout, c as useRender, m as makeTagProps, d as makeDimensionProps, e as makeComponentProps } from './asWebComponent-Dptqds6-.js';
2
+ import { g as genericComponent, p as propsFactory, b as useDimension, a as useLayout, c as useRender, m as makeTagProps, d as makeDimensionProps, e as makeComponentProps } from './asWebComponent-Bw03Jutr.js';
3
3
  import { u as useSsrBoot } from './ssrBoot-Zgc_Ttvi.js';
4
4
 
5
5
  const makeVMainProps = propsFactory({
@@ -1,6 +1,6 @@
1
1
  import { useId, toRef, ref, computed, mergeProps, createVNode } from 'vue';
2
- import { u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs-CiSZZEn2.js';
3
- import { g as genericComponent, p as propsFactory, x as useProxiedModel, c as useRender, Z as omit } from './asWebComponent-Dptqds6-.js';
2
+ import { u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs-CRMFoNYN.js';
3
+ import { g as genericComponent, p as propsFactory, x as useProxiedModel, c as useRender, Z as omit } from './asWebComponent-Bw03Jutr.js';
4
4
 
5
5
  const makeVTooltipProps = propsFactory({
6
6
  id: String,
@@ -1,5 +1,5 @@
1
1
  import { ref, onMounted, nextTick, createElementBlock, openBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, normalizeStyle, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
2
- import { aq as useDefineWidgets, a as useLayout } from './asWebComponent-Dptqds6-.js';
2
+ import { aq as useDefineWidgets, a as useLayout } from './asWebComponent-Bw03Jutr.js';
3
3
  import 'animated-details';
4
4
 
5
5
  const _sfc_main = {