@eodash/eodash 5.3.3 → 5.5.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.
- package/core/client/asWebComponent.js +1 -1
- package/core/client/composables/DefineEodash.js +3 -1
- package/core/client/composables/DefineWidgets.js +12 -2
- package/core/client/eodashSTAC/EodashCollection.js +20 -37
- package/core/client/eodashSTAC/createLayers.js +306 -136
- package/core/client/eodashSTAC/helpers.js +60 -40
- package/core/client/eodashSTAC/parquet.js +2 -0
- package/core/client/eodashSTAC/triggers.js +5 -5
- package/core/client/store/actions.js +17 -17
- package/core/client/store/states.js +26 -4
- package/core/client/types.ts +12 -1
- package/core/client/utils/index.js +18 -1
- package/dist/client/{DashboardLayout-Cp8Rv3Ef.js → DashboardLayout-CkSgvaFF.js} +2 -2
- package/dist/client/{DynamicWebComponent-CBsxC82P.js → DynamicWebComponent-Ncsg6fb9.js} +1 -1
- package/dist/client/EodashChart-5v7adDpG.js +144 -0
- package/dist/client/{EodashDatePicker-Dewym-cx.js → EodashDatePicker-RoQJe6ss.js} +4 -4
- package/dist/client/{EodashItemFilter-CAsZpOoQ.js → EodashItemFilter-CCoVC5BE.js} +2 -2
- package/dist/client/{EodashLayerControl-fn-rt8Ac.js → EodashLayerControl-weVj7aQA.js} +2 -2
- package/dist/client/{EodashLayoutSwitcher-B9XqQXCS.js → EodashLayoutSwitcher-CL-Z9d5_.js} +3 -3
- package/dist/client/EodashMapBtns-CXU8IuPO.js +433 -0
- package/dist/client/{EodashStacInfo-lxBKoav9.js → EodashStacInfo-BbMnjf-n.js} +11 -15
- package/dist/client/{EodashTimeSlider-DI97QkNT.js → EodashTimeSlider-BZXnqfax.js} +2 -2
- package/dist/client/{EodashTools-D5ShUT1g.js → EodashTools-DUJlkkgx.js} +4 -4
- package/dist/client/{ExportState-ruNyRS2E.js → ExportState-CT3FQOHW.js} +46 -21
- package/dist/client/{Footer-IQNyfd78.js → Footer-D_iqP-1K.js} +1 -1
- package/dist/client/{Header-BBdi_-Lp.js → Header-Dzhnvsy-.js} +127 -17
- package/dist/client/MobileLayout-6Rg_PSO8.js +118 -0
- package/dist/client/{PopUp-DRgOmD7-.js → PopUp-DPPv_GSA.js} +8 -59
- package/dist/client/{ProcessList-DxyCFQdz.js → ProcessList-BIN_Mb27.js} +9 -13
- package/dist/client/{VImg-hwmwzSwG.js → VImg-DhbuvNrA.js} +2 -2
- package/dist/client/{VMain-vk4-rkw-.js → VMain-CVabY_NY.js} +1 -1
- package/dist/client/{VTooltip-BYUZeia1.js → VTooltip-Cc6au3Sn.js} +3 -4
- package/dist/client/{WidgetsContainer-DXD_8rqh.js → WidgetsContainer-ChqTJS4h.js} +1 -1
- package/dist/client/asWebComponent-DaIxULaA.js +9207 -0
- package/dist/client/{async-D1MvO_Z_.js → async-D6Lvv-fT.js} +15 -5
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-DM-E2MfG.js → forwardRefs--IccUBdR.js} +196 -37
- package/dist/client/{handling-CbgeKrqT.js → handling-DSA67d6E.js} +160 -37
- package/dist/client/{helpers-CtUlAW0N.js → helpers-BBSdbOmv.js} +239 -126
- package/dist/client/{index-DBo0F4Fv.js → index-6LlXNkke.js} +5 -3
- package/dist/client/{index-BJvLt3Xf.js → index-BS-8Y5FE.js} +34 -77
- package/dist/client/{index-BkW06-Lg.js → index-CQihL_c6.js} +55 -15
- package/dist/client/{index-BxDh5v-H.js → index-qsZhYR_6.js} +15 -16
- package/dist/client/templates.js +52 -2
- package/dist/client/{transition-BdzATvPB.js → transition-DFr4cXu8.js} +1 -1
- package/dist/node/cli.js +1 -1
- package/dist/types/core/client/App.vue.d.ts +16 -6
- package/dist/types/core/client/asWebComponent.d.ts +2 -2
- package/dist/types/core/client/components/DashboardLayout.vue.d.ts +2 -1
- package/dist/types/core/client/components/DynamicWebComponent.vue.d.ts +36 -16
- package/dist/types/core/client/components/EodashOverlay.vue.d.ts +2 -1
- package/dist/types/core/client/components/ErrorAlert.vue.d.ts +9 -1
- package/dist/types/core/client/components/Footer.vue.d.ts +2 -1
- package/dist/types/core/client/components/Header.vue.d.ts +2 -1
- package/dist/types/core/client/components/IframeWrapper.vue.d.ts +12 -6
- package/dist/types/core/client/components/Loading.vue.d.ts +2 -1
- package/dist/types/core/client/components/MobileLayout.vue.d.ts +2 -1
- package/dist/types/core/client/composables/DefineEodash.d.ts +1 -1
- package/dist/types/core/client/eodashSTAC/EodashCollection.d.ts +27 -11
- package/dist/types/core/client/eodashSTAC/createLayers.d.ts +30 -23
- package/dist/types/core/client/eodashSTAC/helpers.d.ts +11 -4
- package/dist/types/core/client/store/actions.d.ts +1 -2
- package/dist/types/core/client/store/states.d.ts +22 -4
- package/dist/types/core/client/types.d.ts +7 -2
- package/dist/types/core/client/utils/index.d.ts +1 -0
- package/dist/types/core/client/views/Dashboard.vue.d.ts +20 -8
- package/dist/types/templates/compare.d.ts +20 -0
- package/dist/types/templates/expert.d.ts +30 -1
- package/dist/types/widgets/EodashChart.vue.d.ts +28 -0
- package/dist/types/widgets/EodashDatePicker.vue.d.ts +38 -9
- package/dist/types/widgets/EodashItemCatalog/index.vue.d.ts +88 -13
- package/dist/types/widgets/EodashItemCatalog/methods/map.d.ts +1 -1
- package/dist/types/widgets/EodashItemFilter.vue.d.ts +169 -26
- package/dist/types/widgets/EodashLayerControl.vue.d.ts +38 -10
- package/dist/types/widgets/EodashLayoutSwitcher.vue.d.ts +22 -7
- package/dist/types/widgets/EodashMap/EodashMapBtns.vue.d.ts +94 -19
- package/dist/types/widgets/EodashMap/index.vue.d.ts +647 -92
- package/dist/types/widgets/EodashMap/methods/btns.d.ts +14 -0
- package/dist/types/widgets/EodashProcess/ProcessList.vue.d.ts +24 -7
- package/dist/types/widgets/EodashProcess/index.vue.d.ts +26 -7
- package/dist/types/widgets/EodashProcess/methods/composables.d.ts +1 -2
- package/dist/types/widgets/EodashProcess/methods/handling.d.ts +18 -11
- package/dist/types/widgets/EodashProcess/methods/outputs.d.ts +2 -2
- package/dist/types/widgets/EodashProcess/methods/utils.d.ts +1 -0
- package/dist/types/widgets/EodashStacInfo.vue.d.ts +67 -18
- package/dist/types/widgets/EodashTimeSlider.vue.d.ts +14 -6
- package/dist/types/widgets/EodashTools.vue.d.ts +437 -47
- package/dist/types/widgets/ExportState.vue.d.ts +26 -8
- package/dist/types/widgets/PopUp.vue.d.ts +61 -11
- package/dist/types/widgets/WidgetsContainer.vue.d.ts +22 -6
- package/package.json +33 -34
- package/templates/baseConfig.js +2 -1
- package/templates/compare.js +28 -1
- package/templates/expert.js +23 -1
- package/widgets/EodashChart.vue +139 -0
- package/widgets/EodashItemCatalog/index.vue +2 -2
- package/widgets/EodashItemCatalog/methods/map.js +9 -10
- package/widgets/EodashMap/EodashMapBtns.vue +73 -93
- package/widgets/EodashMap/index.vue +14 -2
- package/widgets/EodashMap/methods/btns.js +155 -0
- package/widgets/EodashMap/methods/create-layers-config.js +26 -3
- package/widgets/EodashMap/methods/index.js +2 -1
- package/widgets/EodashProcess/ProcessList.vue +2 -3
- package/widgets/EodashProcess/index.vue +19 -70
- package/widgets/EodashProcess/methods/async.js +1 -1
- package/widgets/EodashProcess/methods/composables.js +13 -6
- package/widgets/EodashProcess/methods/custom-endpoints/chart/veda-endpoint.js +20 -7
- package/widgets/EodashProcess/methods/handling.js +100 -22
- package/widgets/EodashProcess/methods/outputs.js +44 -4
- package/widgets/EodashProcess/methods/utils.js +11 -1
- package/widgets/EodashStacInfo.vue +10 -23
- package/widgets/ExportState.vue +9 -15
- package/dist/client/EodashMapBtns-nFY6MIAX.js +0 -301
- package/dist/client/MobileLayout-BfBeF-JF.js +0 -118
- package/dist/client/asWebComponent-DdguWGDI.js +0 -8967
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createVNode, Transition, mergeProps, ref,
|
|
2
|
-
import { g as genericComponent, p as propsFactory,
|
|
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
|
|
1
|
+
import { createVNode, Transition, mergeProps, ref, watch, nextTick, normalizeStyle, normalizeClass, mergeModels, useModel, createElementBlock, openBlock, withCtx, createBlock, createCommentVNode, resolveDynamicComponent, unref, renderSlot } from 'vue';
|
|
2
|
+
import { g as genericComponent, p as propsFactory, ak as PREFERS_REDUCED_MOTION, am as acceleratedEasing, an as deceleratedEasing, ao as standardEasing, x as useProxiedModel, c as useRender, $ as omit, V as VDefaultsProvider, k as provideTheme, f as useBackgroundColor, h as useBorder, b as useDimension, i as useElevation, a9 as useLocation, aa as usePosition, j as useRounded, q as makeThemeProps, m as makeTagProps, r as makeRoundedProps, ad as makePositionProps, ae as makeLocationProps, s as makeElevationProps, d as makeDimensionProps, e as makeComponentProps, t as makeBorderProps, ap as useDefineWidgets } from './asWebComponent-DaIxULaA.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--IccUBdR.js';
|
|
4
4
|
|
|
5
5
|
// Utilities
|
|
6
6
|
const makeVDialogTransitionProps = propsFactory({
|
|
@@ -169,19 +169,17 @@ function getDimensions(target, el) {
|
|
|
169
169
|
|
|
170
170
|
const makeVDialogProps = propsFactory({
|
|
171
171
|
fullscreen: Boolean,
|
|
172
|
-
retainFocus: {
|
|
173
|
-
type: Boolean,
|
|
174
|
-
default: true
|
|
175
|
-
},
|
|
176
172
|
scrollable: Boolean,
|
|
177
|
-
...makeVOverlayProps({
|
|
173
|
+
...omit(makeVOverlayProps({
|
|
174
|
+
captureFocus: true,
|
|
178
175
|
origin: 'center center',
|
|
179
176
|
scrollStrategy: 'block',
|
|
180
177
|
transition: {
|
|
181
178
|
component: VDialogTransition
|
|
182
179
|
},
|
|
183
|
-
zIndex: 2400
|
|
184
|
-
|
|
180
|
+
zIndex: 2400,
|
|
181
|
+
retainFocus: true
|
|
182
|
+
}), ['disableInitialFocus'])
|
|
185
183
|
}, 'VDialog');
|
|
186
184
|
const VDialog = genericComponent()({
|
|
187
185
|
name: 'VDialog',
|
|
@@ -201,55 +199,6 @@ const VDialog = genericComponent()({
|
|
|
201
199
|
scopeId
|
|
202
200
|
} = useScopeId();
|
|
203
201
|
const overlay = ref();
|
|
204
|
-
async function onFocusin(e) {
|
|
205
|
-
const before = e.relatedTarget;
|
|
206
|
-
const after = e.target;
|
|
207
|
-
await nextTick();
|
|
208
|
-
if (isActive.value && before !== after && overlay.value?.contentEl &&
|
|
209
|
-
// We're the topmost dialog
|
|
210
|
-
overlay.value?.globalTop &&
|
|
211
|
-
// It isn't the document or the dialog body
|
|
212
|
-
![document, overlay.value.contentEl].includes(after) &&
|
|
213
|
-
// It isn't inside the dialog body
|
|
214
|
-
!overlay.value.contentEl.contains(after)) {
|
|
215
|
-
const focusable = focusableChildren(overlay.value.contentEl);
|
|
216
|
-
focusable[0]?.focus();
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
function onKeydown(e) {
|
|
220
|
-
if (e.key !== 'Tab' || !overlay.value?.contentEl) return;
|
|
221
|
-
const focusable = focusableChildren(overlay.value.contentEl);
|
|
222
|
-
if (!focusable.length) return;
|
|
223
|
-
const firstElement = focusable[0];
|
|
224
|
-
const lastElement = focusable[focusable.length - 1];
|
|
225
|
-
const active = document.activeElement;
|
|
226
|
-
if (e.shiftKey && active === firstElement) {
|
|
227
|
-
e.preventDefault();
|
|
228
|
-
lastElement.focus();
|
|
229
|
-
} else if (!e.shiftKey && active === lastElement) {
|
|
230
|
-
e.preventDefault();
|
|
231
|
-
firstElement.focus();
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
onBeforeUnmount(() => {
|
|
235
|
-
document.removeEventListener('focusin', onFocusin);
|
|
236
|
-
document.removeEventListener('keydown', onKeydown);
|
|
237
|
-
});
|
|
238
|
-
if (IN_BROWSER) {
|
|
239
|
-
watch(() => isActive.value && props.retainFocus, val => {
|
|
240
|
-
if (val) {
|
|
241
|
-
document.addEventListener('focusin', onFocusin, {
|
|
242
|
-
once: true
|
|
243
|
-
});
|
|
244
|
-
document.addEventListener('keydown', onKeydown);
|
|
245
|
-
} else {
|
|
246
|
-
document.removeEventListener('focusin', onFocusin);
|
|
247
|
-
document.removeEventListener('keydown', onKeydown);
|
|
248
|
-
}
|
|
249
|
-
}, {
|
|
250
|
-
immediate: true
|
|
251
|
-
});
|
|
252
|
-
}
|
|
253
202
|
function onAfterEnter() {
|
|
254
203
|
emit('afterEnter');
|
|
255
204
|
if ((props.scrim || props.retainFocus) && overlay.value?.contentEl && !overlay.value.contentEl.contains(document.activeElement)) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref, createVNode, normalizeStyle, normalizeClass, createElementVNode, toRefs, onMounted, createElementBlock, openBlock, createBlock, createCommentVNode, unref, withCtx, Fragment, renderList, withDirectives, createTextVNode, toDisplayString, toRef } from 'vue';
|
|
2
|
-
import { mdiUploadBox, mdiDownloadBox, mdiTrashCanOutline } from '@mdi/js';
|
|
3
|
-
import { g as genericComponent, p as propsFactory, k as provideTheme,
|
|
4
|
-
import {
|
|
5
|
-
import { u as updateJobsStatus,
|
|
6
|
-
import { T as Tooltip } from './index-
|
|
2
|
+
import { mdiOpenInNew, mdiUploadBox, mdiDownloadBox, mdiTrashCanOutline } from '@mdi/js';
|
|
3
|
+
import { g as genericComponent, p as propsFactory, k as provideTheme, W as useDensity, c as useRender, q as makeThemeProps, m as makeTagProps, X 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-DaIxULaA.js';
|
|
4
|
+
import { I as compareIndicator, G as indicator } from './helpers-BBSdbOmv.js';
|
|
5
|
+
import { u as updateJobsStatus, k as getJobStatusUrl, l as loadProcess, m as downloadPreviousResults, n as deleteJob } from './async-D6Lvv-fT.js';
|
|
6
|
+
import { T as Tooltip } from './index-6LlXNkke.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The list of job result from the server
|
|
@@ -90,7 +90,6 @@ const _sfc_main = {
|
|
|
90
90
|
},
|
|
91
91
|
setup(__props) {
|
|
92
92
|
|
|
93
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
94
93
|
|
|
95
94
|
const { selectedStac, selectedCompareStac } = toRefs(useSTAcStore());
|
|
96
95
|
const currentJobs = __props.enableCompare ? compareJobs : jobs;
|
|
@@ -117,7 +116,7 @@ return (_ctx, _cache) => {
|
|
|
117
116
|
style: {"background-color":"transparent"}
|
|
118
117
|
}, {
|
|
119
118
|
default: withCtx(() => [
|
|
120
|
-
_cache[
|
|
119
|
+
_cache[0] || (_cache[0] = createElementVNode("thead", null, [
|
|
121
120
|
createElementVNode("tr", null, [
|
|
122
121
|
createElementVNode("th", { class: "text-left" }, "Executed on"),
|
|
123
122
|
createElementVNode("th", { class: "text-left" }, "Status"),
|
|
@@ -138,12 +137,9 @@ return (_ctx, _cache) => {
|
|
|
138
137
|
href: unref(getJobStatusUrl)(item.jobID, unref(currentIndicator))
|
|
139
138
|
}, [
|
|
140
139
|
createTextVNode(toDisplayString(new Date(item.job_start_datetime).toISOString().slice(0, 16)) + " ", 1 /* TEXT */),
|
|
141
|
-
createVNode(VIcon,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
]))]),
|
|
145
|
-
_: 1 /* STABLE */
|
|
146
|
-
})
|
|
140
|
+
createVNode(VIcon, {
|
|
141
|
+
icon: [unref(mdiOpenInNew)]
|
|
142
|
+
}, null, 8 /* PROPS */, ["icon"])
|
|
147
143
|
], 8 /* PROPS */, _hoisted_1)), [
|
|
148
144
|
[Tooltip, 'Process details']
|
|
149
145
|
])
|
|
@@ -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 {
|
|
3
|
-
import { m as makeTransitionProps$1, M as MaybeTransition } from './transition-
|
|
2
|
+
import { aj as SUPPORTS_INTERSECTION, g as genericComponent, ak 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, al as getCurrentInstance, o as convertToUnit, r as makeRoundedProps } from './asWebComponent-DaIxULaA.js';
|
|
3
|
+
import { m as makeTransitionProps$1, M as MaybeTransition } from './transition-DFr4cXu8.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-
|
|
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-DaIxULaA.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
|
|
3
|
-
import { g as genericComponent, p as propsFactory, x as useProxiedModel, c as useRender,
|
|
2
|
+
import { u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs--IccUBdR.js';
|
|
3
|
+
import { g as genericComponent, p as propsFactory, x as useProxiedModel, c as useRender, $ as omit } from './asWebComponent-DaIxULaA.js';
|
|
4
4
|
|
|
5
5
|
const makeVTooltipProps = propsFactory({
|
|
6
6
|
id: String,
|
|
@@ -19,7 +19,7 @@ const makeVTooltipProps = propsFactory({
|
|
|
19
19
|
scrim: false,
|
|
20
20
|
scrollStrategy: 'reposition',
|
|
21
21
|
transition: null
|
|
22
|
-
}), ['absolute', '
|
|
22
|
+
}), ['absolute', 'retainFocus', 'captureFocus', 'disableInitialFocus'])
|
|
23
23
|
}, 'VTooltip');
|
|
24
24
|
const VTooltip = genericComponent()({
|
|
25
25
|
name: 'VTooltip',
|
|
@@ -67,7 +67,6 @@ const VTooltip = genericComponent()({
|
|
|
67
67
|
"absolute": true,
|
|
68
68
|
"location": location.value,
|
|
69
69
|
"origin": origin.value,
|
|
70
|
-
"persistent": true,
|
|
71
70
|
"role": "tooltip",
|
|
72
71
|
"activatorProps": activatorProps.value,
|
|
73
72
|
"_disableGlobalStack": true
|
|
@@ -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 {
|
|
2
|
+
import { ap as useDefineWidgets, a as useLayout } from './asWebComponent-DaIxULaA.js';
|
|
3
3
|
import 'animated-details';
|
|
4
4
|
|
|
5
5
|
const _sfc_main = {
|