@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,6 +1,6 @@
|
|
|
1
|
-
import { createVNode, Transition, mergeProps, ref, watch, nextTick, normalizeStyle, normalizeClass,
|
|
2
|
-
import { g as genericComponent,
|
|
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, useModel, openBlock, createElementBlock, withCtx, createBlock, resolveDynamicComponent, unref, createCommentVNode, renderSlot, mergeModels } from 'vue';
|
|
2
|
+
import { g as genericComponent, ak as PREFERS_REDUCED_MOTION, p as propsFactory, am as acceleratedEasing, an as deceleratedEasing, ao as standardEasing, z as useProxiedModel, c as useRender, C as omit, V as VDefaultsProvider, l as provideTheme, f as useBackgroundColor, h as useBorder, b as useDimension, i as useElevation, j as useLocation, ab as usePosition, k as useRounded, r as makeThemeProps, m as makeTagProps, s as makeRoundedProps, ae as makePositionProps, t as makeLocationProps, v as makeElevationProps, d as makeDimensionProps, e as makeComponentProps, w as makeBorderProps, ap as useDefineWidgets } from './asWebComponent-DfULAbpq.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-yj3VWOK5.js';
|
|
4
4
|
|
|
5
5
|
// Utilities
|
|
6
6
|
const makeVDialogTransitionProps = propsFactory({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref, createVNode, normalizeStyle, normalizeClass, createElementVNode, toRefs, onMounted,
|
|
1
|
+
import { ref, createVNode, normalizeStyle, normalizeClass, createElementVNode, toRefs, onMounted, openBlock, createElementBlock, unref, createBlock, withCtx, Fragment, renderList, withDirectives, createTextVNode, toDisplayString, toRef, createCommentVNode } from 'vue';
|
|
2
2
|
import { mdiOpenInNew, mdiUploadBox, mdiDownloadBox, mdiTrashCanOutline } from '@mdi/js';
|
|
3
|
-
import { g as genericComponent,
|
|
4
|
-
import { I as compareIndicator,
|
|
5
|
-
import { u as updateJobsStatus,
|
|
6
|
-
import { T as Tooltip } from './index-
|
|
3
|
+
import { g as genericComponent, l as provideTheme, Z as useDensity, c as useRender, p as propsFactory, r as makeThemeProps, m as makeTagProps, $ as makeDensityProps, e as makeComponentProps, q as convertToUnit, _ as _export_sfc, H as useSTAcStore, N as useOnLayersUpdate, K as VIcon, J as VBtn } from './asWebComponent-DfULAbpq.js';
|
|
4
|
+
import { I as compareIndicator, F as indicator } from './helpers-DAVGYl_f.js';
|
|
5
|
+
import { u as updateJobsStatus, j as getJobStatusUrl, l as loadProcess, k as downloadPreviousResults, m as deleteJob } from './async-CIbKXEEe.js';
|
|
6
|
+
import { T as Tooltip } from './index-CYz6dT7K.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The list of job result from the server
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h, TransitionGroup, 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,
|
|
3
|
-
import {
|
|
1
|
+
import { h, TransitionGroup, Transition, createElementVNode, normalizeStyle, normalizeClass, computed, shallowRef, ref, watch, onBeforeMount, nextTick, onBeforeUnmount, toRef, withDirectives, createVNode, mergeProps, Fragment, vShow } from 'vue';
|
|
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, k as useRounded, al as getCurrentInstance, q as convertToUnit, s as makeRoundedProps } from './asWebComponent-DfULAbpq.js';
|
|
3
|
+
import { M as MaybeTransition, m as makeTransitionProps$1 } from './transition-DaOsiD4u.js';
|
|
4
4
|
|
|
5
5
|
// Utilities
|
|
6
6
|
function mounted(el, binding) {
|
|
@@ -44,7 +44,13 @@ function unmounted(el, binding) {
|
|
|
44
44
|
}
|
|
45
45
|
const Intersect = {
|
|
46
46
|
mounted,
|
|
47
|
-
unmounted
|
|
47
|
+
unmounted,
|
|
48
|
+
updated: (el, binding) => {
|
|
49
|
+
if (el._observe?.[binding.instance.$.uid]) {
|
|
50
|
+
unmounted(el, binding);
|
|
51
|
+
mounted(el, binding);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
48
54
|
};
|
|
49
55
|
|
|
50
56
|
// Utilities
|
|
@@ -143,7 +149,8 @@ function createJavascriptTransition(name, functions) {
|
|
|
143
149
|
type: Boolean,
|
|
144
150
|
default: PREFERS_REDUCED_MOTION()
|
|
145
151
|
},
|
|
146
|
-
group: Boolean
|
|
152
|
+
group: Boolean,
|
|
153
|
+
hideOnLeave: Boolean
|
|
147
154
|
},
|
|
148
155
|
setup(props, _ref2) {
|
|
149
156
|
let {
|
|
@@ -155,26 +162,33 @@ function createJavascriptTransition(name, functions) {
|
|
|
155
162
|
name: props.disabled ? '' : name,
|
|
156
163
|
css: !props.disabled,
|
|
157
164
|
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
|
158
|
-
...(props.disabled ? {} :
|
|
165
|
+
...(props.disabled ? {} : {
|
|
166
|
+
...functions,
|
|
167
|
+
onLeave: el => {
|
|
168
|
+
if (props.hideOnLeave) {
|
|
169
|
+
el.style.setProperty('display', 'none', 'important');
|
|
170
|
+
} else {
|
|
171
|
+
functions.onLeave?.(el);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
})
|
|
159
175
|
}, slots.default);
|
|
160
176
|
};
|
|
161
177
|
}
|
|
162
178
|
});
|
|
163
179
|
}
|
|
164
180
|
|
|
165
|
-
// Utilities
|
|
166
181
|
function ExpandTransitionGenerator () {
|
|
167
182
|
let expandedParentClass = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
168
|
-
let
|
|
169
|
-
const sizeProperty = x ? 'width' : 'height';
|
|
170
|
-
const offsetProperty = camelize(`offset-${sizeProperty}`);
|
|
183
|
+
let type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'y';
|
|
171
184
|
return {
|
|
172
185
|
onBeforeEnter(el) {
|
|
173
186
|
el._parent = el.parentNode;
|
|
174
187
|
el._initialStyle = {
|
|
175
188
|
transition: el.style.transition,
|
|
176
189
|
overflow: el.style.overflow,
|
|
177
|
-
|
|
190
|
+
width: el.style.width,
|
|
191
|
+
height: el.style.height
|
|
178
192
|
};
|
|
179
193
|
},
|
|
180
194
|
onEnter(el) {
|
|
@@ -183,15 +197,18 @@ function ExpandTransitionGenerator () {
|
|
|
183
197
|
el.style.setProperty('transition', 'none', 'important');
|
|
184
198
|
// Hide overflow to account for collapsed margins in the calculated height
|
|
185
199
|
el.style.overflow = 'hidden';
|
|
186
|
-
const
|
|
187
|
-
|
|
200
|
+
const offsetWidth = `${el.offsetWidth}px`;
|
|
201
|
+
const offsetHeight = `${el.offsetHeight}px`;
|
|
202
|
+
if (['x', 'both'].includes(type)) el.style.width = '0';
|
|
203
|
+
if (['y', 'both'].includes(type)) el.style.height = '0';
|
|
188
204
|
|
|
189
205
|
el.style.transition = initialStyle.transition;
|
|
190
206
|
if (expandedParentClass && el._parent) {
|
|
191
207
|
el._parent.classList.add(expandedParentClass);
|
|
192
208
|
}
|
|
193
209
|
requestAnimationFrame(() => {
|
|
194
|
-
el.style
|
|
210
|
+
if (['x', 'both'].includes(type)) el.style.width = offsetWidth;
|
|
211
|
+
if (['y', 'both'].includes(type)) el.style.height = offsetHeight;
|
|
195
212
|
});
|
|
196
213
|
},
|
|
197
214
|
onAfterEnter: resetStyles,
|
|
@@ -200,12 +217,17 @@ function ExpandTransitionGenerator () {
|
|
|
200
217
|
el._initialStyle = {
|
|
201
218
|
transition: '',
|
|
202
219
|
overflow: el.style.overflow,
|
|
203
|
-
|
|
220
|
+
width: el.style.width,
|
|
221
|
+
height: el.style.height
|
|
204
222
|
};
|
|
205
223
|
el.style.overflow = 'hidden';
|
|
206
|
-
el.style
|
|
224
|
+
if (['x', 'both'].includes(type)) el.style.width = `${el.offsetWidth}px`;
|
|
225
|
+
if (['y', 'both'].includes(type)) el.style.height = `${el.offsetHeight}px`;
|
|
207
226
|
|
|
208
|
-
requestAnimationFrame(() =>
|
|
227
|
+
requestAnimationFrame(() => {
|
|
228
|
+
if (['x', 'both'].includes(type)) el.style.width = '0';
|
|
229
|
+
if (['y', 'both'].includes(type)) el.style.height = '0';
|
|
230
|
+
});
|
|
209
231
|
},
|
|
210
232
|
onAfterLeave,
|
|
211
233
|
onLeaveCancelled: onAfterLeave
|
|
@@ -218,9 +240,13 @@ function ExpandTransitionGenerator () {
|
|
|
218
240
|
}
|
|
219
241
|
function resetStyles(el) {
|
|
220
242
|
if (!el._initialStyle) return;
|
|
221
|
-
const
|
|
243
|
+
const {
|
|
244
|
+
width: w,
|
|
245
|
+
height: h
|
|
246
|
+
} = el._initialStyle;
|
|
222
247
|
el.style.overflow = el._initialStyle.overflow;
|
|
223
|
-
if (
|
|
248
|
+
if (w != null && ['x', 'both'].includes(type)) el.style.width = w;
|
|
249
|
+
if (h != null && ['y', 'both'].includes(type)) el.style.height = h;
|
|
224
250
|
delete el._initialStyle;
|
|
225
251
|
}
|
|
226
252
|
}
|
|
@@ -243,7 +269,8 @@ createCssTransition('slide-y-reverse-transition');
|
|
|
243
269
|
|
|
244
270
|
// Javascript transitions
|
|
245
271
|
const VExpandTransition = createJavascriptTransition('expand-transition', ExpandTransitionGenerator());
|
|
246
|
-
createJavascriptTransition('expand-x-transition', ExpandTransitionGenerator('',
|
|
272
|
+
createJavascriptTransition('expand-x-transition', ExpandTransitionGenerator('', 'x'));
|
|
273
|
+
createJavascriptTransition('expand-both-transition', ExpandTransitionGenerator('', 'both'));
|
|
247
274
|
|
|
248
275
|
function useAspectStyles(props) {
|
|
249
276
|
return {
|
|
@@ -302,6 +329,7 @@ const makeVImgProps = propsFactory({
|
|
|
302
329
|
},
|
|
303
330
|
eager: Boolean,
|
|
304
331
|
gradient: String,
|
|
332
|
+
imageClass: null,
|
|
305
333
|
lazySrc: String,
|
|
306
334
|
options: {
|
|
307
335
|
type: Object,
|
|
@@ -460,7 +488,7 @@ const VImg = genericComponent()({
|
|
|
460
488
|
const __image = () => {
|
|
461
489
|
if (!normalisedSrc.value.src || state.value === 'idle') return null;
|
|
462
490
|
const img = createElementVNode("img", {
|
|
463
|
-
"class": normalizeClass(['v-img__img', containClasses.value]),
|
|
491
|
+
"class": normalizeClass(['v-img__img', containClasses.value, props.imageClass]),
|
|
464
492
|
"style": {
|
|
465
493
|
objectPosition: props.position
|
|
466
494
|
},
|
|
@@ -550,7 +578,8 @@ const VImg = genericComponent()({
|
|
|
550
578
|
return withDirectives(createVNode(VResponsive, mergeProps({
|
|
551
579
|
"class": ['v-img', {
|
|
552
580
|
'v-img--absolute': props.absolute,
|
|
553
|
-
'v-img--booting': !isBooted.value
|
|
581
|
+
'v-img--booting': !isBooted.value,
|
|
582
|
+
'v-img--fit-content': props.width === 'fit-content'
|
|
554
583
|
}, backgroundColorClasses.value, roundedClasses.value, props.class],
|
|
555
584
|
"style": [{
|
|
556
585
|
width: convertToUnit(props.width === 'auto' ? naturalWidth.value : props.width)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createVNode, normalizeStyle, normalizeClass, createElementVNode } from 'vue';
|
|
2
|
-
import { g as genericComponent,
|
|
2
|
+
import { g as genericComponent, b as useDimension, a as useLayout, c as useRender, p as propsFactory, m as makeTagProps, d as makeDimensionProps, e as makeComponentProps } from './asWebComponent-DfULAbpq.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,
|
|
2
|
+
import { u as useScopeId, f as forwardRefs, m as makeVOverlayProps, V as VOverlay } from './forwardRefs-yj3VWOK5.js';
|
|
3
|
+
import { g as genericComponent, z as useProxiedModel, c as useRender, p as propsFactory, C as omit } from './asWebComponent-DfULAbpq.js';
|
|
4
4
|
|
|
5
5
|
const makeVTooltipProps = propsFactory({
|
|
6
6
|
id: String,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, onMounted, nextTick,
|
|
2
|
-
import { ap as useDefineWidgets, a as useLayout } from './asWebComponent-
|
|
1
|
+
import { ref, onMounted, nextTick, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, toDisplayString, normalizeStyle, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
|
|
2
|
+
import { ap as useDefineWidgets, a as useLayout } from './asWebComponent-DfULAbpq.js';
|
|
3
3
|
import 'animated-details';
|
|
4
4
|
|
|
5
5
|
const _sfc_main = {
|