@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.
- package/core/client/App.vue +1 -1
- package/core/client/eodashSTAC/EodashCollection.js +7 -4
- package/core/client/eodashSTAC/auth.js +19 -9
- package/core/client/eodashSTAC/createLayers.js +130 -24
- package/core/client/eodashSTAC/helpers.js +23 -56
- package/core/client/store/stac.js +9 -0
- package/core/client/types.ts +1 -0
- package/dist/client/{DashboardLayout-BAB1tPv0.js → DashboardLayout-DkKDhfgH.js} +3 -3
- package/dist/client/{DynamicWebComponent-qVeu4sqS.js → DynamicWebComponent-BrpkA-e3.js} +2 -2
- package/dist/client/{EodashChart-CXnNxlhk.js → EodashChart-p7_1FRlF.js} +5 -5
- package/dist/client/{EodashDatePicker-KyJXPgAq.js → EodashDatePicker-HK0Jl7wQ.js} +4 -4
- package/dist/client/{EodashItemFilter-CAlyUnje.js → EodashItemFilter-BYQDA78B.js} +2 -2
- package/dist/client/{EodashLayerControl-D8VobuZJ.js → EodashLayerControl-NcrNncGn.js} +18 -4
- package/dist/client/{EodashLayoutSwitcher-DI6uGF_7.js → EodashLayoutSwitcher-CC2Znd0I.js} +4 -4
- package/dist/client/EodashMapBtns-BJSh7qT-.js +435 -0
- package/dist/client/{EodashStacInfo-Cb28jVEr.js → EodashStacInfo-BA-0UjvT.js} +42 -7
- package/dist/client/{EodashTimeSlider-UIpnhO4N.js → EodashTimeSlider-GDv1hbw7.js} +3 -3
- package/dist/client/{EodashTools-vxReGN8p.js → EodashTools-CWmoH0g_.js} +5 -5
- package/dist/client/{ExportState-D6CBpKUU.js → ExportState-CfAfX4RN.js} +9 -7
- package/dist/client/{Footer-CUgMupXk.js → Footer-DLGxQTZt.js} +2 -2
- package/dist/client/{Header-BZ53ACvp.js → Header-eyEyyzD6.js} +10 -6
- package/dist/client/{IframeWrapper-XzQDZy0T.js → IframeWrapper-BgM9aU8f.js} +1 -1
- package/dist/client/MobileLayout-RzLOyXwL.js +118 -0
- package/dist/client/{PopUp-C6HJH8wM.js → PopUp-WNs6Io2N.js} +3 -3
- package/dist/client/{ProcessList-DQjvv7Cc.js → ProcessList-RzVqbd5E.js} +5 -5
- package/dist/client/{VImg-CWCCg87G.js → VImg-GKUTFoV-.js} +51 -22
- package/dist/client/{VMain-CAzXMN4O.js → VMain-D7_72mHr.js} +1 -1
- package/dist/client/{VTooltip-B1_FzBl_.js → VTooltip-BbmvtvYw.js} +2 -2
- package/dist/client/{WidgetsContainer-Bc8pGq_X.js → WidgetsContainer-Dw5d7SOW.js} +2 -2
- package/dist/client/asWebComponent-DDt7V3Bl.js +9383 -0
- package/dist/client/{async-Byq11ZKl.js → async-CT3KEV52.js} +24 -33
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-D3na5VY2.js → forwardRefs-CVzxyoSq.js} +2 -2
- package/dist/client/{handling-7IVxQxtQ.js → handling-C285F_Mq.js} +3 -3
- package/dist/client/{helpers-Bi-qmnbZ.js → helpers-CZFH0EVN.js} +349 -316
- package/dist/client/{index-Ch4PgFGP.js → index-B-m7V3Kb.js} +24 -11
- package/dist/client/{index-FQrkgCu_.js → index-B_6H-N14.js} +7 -7
- package/dist/client/{index-Dk5_G7Aw.js → index-CF3ZMzTz.js} +4 -4
- package/dist/client/{index-CJOvBxMx.js → index-DgOXD7wd.js} +2 -2
- package/dist/client/templates.js +6 -15
- package/dist/client/{transition-Bp5R_Vzd.js → transition-C2gnrWg0.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/custom-endpoints/layers/eoxhub-workspaces-endpoint.d.ts +1 -1
- 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/methods/utils.js +22 -31
- 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 {
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode, unref } from 'vue';
|
|
2
2
|
import '@eox/stacinfo';
|
|
3
|
-
import {
|
|
3
|
+
import { G as currentUrl } from './helpers-CZFH0EVN.js';
|
|
4
4
|
|
|
5
5
|
const _hoisted_1 = { class: "flex-grow-1" };
|
|
6
6
|
const _hoisted_2 = [".for", ".allowHtml", ".body", ".featured", ".footer", ".header", ".tags"];
|
|
@@ -15,17 +15,38 @@ const _sfc_main = {
|
|
|
15
15
|
},
|
|
16
16
|
|
|
17
17
|
header: {
|
|
18
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* @type {import("vue").PropType<
|
|
20
|
+
* (string | {
|
|
21
|
+
* key: string,
|
|
22
|
+
* filter?: (item: any) => boolean
|
|
23
|
+
* })[]
|
|
24
|
+
* >}
|
|
25
|
+
*/
|
|
19
26
|
type: Array,
|
|
20
27
|
default: () => ["title"],
|
|
21
28
|
},
|
|
22
29
|
tags: {
|
|
23
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* @type {import("vue").PropType<
|
|
32
|
+
* (string | {
|
|
33
|
+
* key: string,
|
|
34
|
+
* filter?: (item: any) => boolean
|
|
35
|
+
* })[]
|
|
36
|
+
* >}
|
|
37
|
+
*/
|
|
24
38
|
type: Array,
|
|
25
39
|
default: () => ["themes"],
|
|
26
40
|
},
|
|
27
41
|
body: {
|
|
28
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* @type {import("vue").PropType<
|
|
44
|
+
* (string | {
|
|
45
|
+
* key: string,
|
|
46
|
+
* filter?: (item: any) => boolean
|
|
47
|
+
* })[]
|
|
48
|
+
* >}
|
|
49
|
+
*/
|
|
29
50
|
type: Array,
|
|
30
51
|
default: () => [
|
|
31
52
|
"satellite",
|
|
@@ -37,12 +58,26 @@ const _sfc_main = {
|
|
|
37
58
|
],
|
|
38
59
|
},
|
|
39
60
|
featured: {
|
|
40
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* @type {import("vue").PropType<
|
|
63
|
+
* (string | {
|
|
64
|
+
* key: string,
|
|
65
|
+
* filter?: (item: any) => boolean
|
|
66
|
+
* })[]
|
|
67
|
+
* >}
|
|
68
|
+
*/
|
|
41
69
|
type: Array,
|
|
42
70
|
default: () => ["description", "providers", "assets", "links"],
|
|
43
71
|
},
|
|
44
72
|
footer: {
|
|
45
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* @type {import("vue").PropType<
|
|
75
|
+
* (string | {
|
|
76
|
+
* key: string,
|
|
77
|
+
* filter?: (item: any) => boolean
|
|
78
|
+
* })[]
|
|
79
|
+
* >}
|
|
80
|
+
*/
|
|
46
81
|
type: Array,
|
|
47
82
|
default: () => ["sci:citation", "sci:doi", "sci:publication"],
|
|
48
83
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { computed, openBlock, createElementBlock, unref, createCommentVNode } from 'vue';
|
|
2
|
+
import { i as mapEl, B as datetime } from './helpers-CZFH0EVN.js';
|
|
3
|
+
import { L as eodashCollections } from './asWebComponent-DDt7V3Bl.js';
|
|
4
4
|
import '@eox/timeslider';
|
|
5
5
|
|
|
6
6
|
const _hoisted_1 = [".filters"];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref, computed,
|
|
2
|
-
import _sfc_main$2 from './PopUp-
|
|
3
|
-
import EodashItemFilter from './EodashItemFilter-
|
|
4
|
-
import _sfc_main$1 from './EodashLayoutSwitcher-
|
|
1
|
+
import { ref, computed, openBlock, createElementBlock, createElementVNode, createBlock, unref, createCommentVNode, createVNode, withCtx, mergeProps } from 'vue';
|
|
2
|
+
import _sfc_main$2 from './PopUp-WNs6Io2N.js';
|
|
3
|
+
import EodashItemFilter from './EodashItemFilter-BYQDA78B.js';
|
|
4
|
+
import _sfc_main$1 from './EodashLayoutSwitcher-CC2Znd0I.js';
|
|
5
5
|
import { mdiViewDashboard, mdiPlusCircleOutline } from '@mdi/js';
|
|
6
|
-
import { _ as _export_sfc,
|
|
6
|
+
import { _ as _export_sfc, G as useDisplay, I as useTransparentPanel, J as VBtn } from './asWebComponent-DDt7V3Bl.js';
|
|
7
7
|
|
|
8
8
|
const _style_0 = ".v-btn--size-default[data-v-73449028]{--v-btn-height: 30px}";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, Fragment, toDisplayString, shallowRef, watch, withDirectives, mergeProps, computed, toRef,
|
|
1
|
+
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, Fragment, toDisplayString, shallowRef, watch, withDirectives, mergeProps, computed, toRef, useModel, ref, openBlock, createBlock, withCtx, createElementBlock, renderList, unref, createTextVNode, vShow, createCommentVNode, mergeModels } from 'vue';
|
|
2
2
|
import { mdiContentCopy, mdiClipboardCheckOutline } from '@mdi/js';
|
|
3
|
-
import _sfc_main$1 from './PopUp-
|
|
4
|
-
import {
|
|
5
|
-
import { N as chartSpec,
|
|
3
|
+
import _sfc_main$1 from './PopUp-WNs6Io2N.js';
|
|
4
|
+
import { a2 as createSimpleFunctional, g as genericComponent, o as provideDefaults, c as useRender, p as propsFactory, m as makeTagProps, e as makeComponentProps, l as provideTheme, h as useBorder, a3 as useVariant, Z as useDensity, k as useRounded, a4 as useSize, K as VIcon, V as VDefaultsProvider, a5 as genOverlays, a6 as IconValue, a7 as makeVariantProps, r as makeThemeProps, a8 as makeSizeProps, s as makeRoundedProps, $ as makeDensityProps, w as makeBorderProps, a9 as Ripple, b as useDimension, i as useElevation, aa as useLoader, j as useLocation, ab as usePosition, ac as useLink, ad as makeRouterProps, ae as makePositionProps, t as makeLocationProps, af as makeLoaderProps, v as makeElevationProps, d as makeDimensionProps, q as convertToUnit, ag as LoaderSlot, ah as useTextColor, _ as _export_sfc, J as VBtn, ai as copyToClipBoard } from './asWebComponent-DDt7V3Bl.js';
|
|
5
|
+
import { N as chartSpec, a0 as removeUnneededProperties, v as getLayers, E as mapPosition, X as availableMapProjection } from './helpers-CZFH0EVN.js';
|
|
6
6
|
import { base64EncodeSpec } from '@eox/chart';
|
|
7
|
-
import { V as VImg, a as VExpandTransition } from './VImg-
|
|
7
|
+
import { V as VImg, a as VExpandTransition } from './VImg-GKUTFoV-.js';
|
|
8
8
|
|
|
9
9
|
// Styles
|
|
10
10
|
const VSpacer = createSimpleFunctional('v-spacer', 'div', 'VSpacer');
|
|
@@ -376,8 +376,10 @@ const VCard = genericComponent()({
|
|
|
376
376
|
'v-card--hover': props.hover && !(props.disabled || props.flat),
|
|
377
377
|
'v-card--link': isClickable
|
|
378
378
|
}, themeClasses.value, borderClasses.value, colorClasses.value, densityClasses.value, elevationClasses.value, loaderClasses.value, positionClasses.value, roundedClasses.value, variantClasses.value, props.class],
|
|
379
|
-
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value,
|
|
380
|
-
|
|
379
|
+
"style": [colorStyles.value, dimensionStyles.value, locationStyles.value, {
|
|
380
|
+
'--v-card-height': convertToUnit(props.height)
|
|
381
|
+
}, props.style],
|
|
382
|
+
"onClick": isClickable && link.navigate.value,
|
|
381
383
|
"tabindex": props.disabled ? -1 : undefined
|
|
382
384
|
}), {
|
|
383
385
|
default: () => [hasImage && createElementVNode("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, shallowRef, computed, toRef, watchEffect, createVNode, normalizeStyle, normalizeClass, inject,
|
|
2
|
-
import { g as genericComponent,
|
|
1
|
+
import { ref, shallowRef, computed, toRef, watchEffect, createVNode, normalizeStyle, normalizeClass, inject, openBlock, createBlock, unref, withCtx, createElementVNode, toDisplayString } from 'vue';
|
|
2
|
+
import { g as genericComponent, l as provideTheme, f as useBackgroundColor, h as useBorder, i as useElevation, k as useRounded, F as useResizeObserver, A as useToggleScope, B as useLayoutItem, c as useRender, q as convertToUnit, p as propsFactory, r as makeThemeProps, m as makeTagProps, s as makeRoundedProps, D as makeLayoutItemProps, v as makeElevationProps, e as makeComponentProps, w as makeBorderProps, _ as _export_sfc, E as eodashKey, G as useDisplay } from './asWebComponent-DDt7V3Bl.js';
|
|
3
3
|
|
|
4
4
|
const _style_0 = ".footer-text[data-v-f0fd061e]{font-size:.8rem}";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, toRef, watchEffect, mergeProps, inject,
|
|
2
|
-
import {
|
|
3
|
-
import { V as VImg, a as VExpandTransition } from './VImg-
|
|
1
|
+
import { createVNode, normalizeStyle, normalizeClass, createElementVNode, shallowRef, computed, ref, watch, onMounted, onBeforeUnmount, toRef, watchEffect, mergeProps, inject, openBlock, createBlock, withCtx, createTextVNode, toDisplayString, unref } from 'vue';
|
|
2
|
+
import { g as genericComponent, c as useRender, p as propsFactory, m as makeTagProps, e as makeComponentProps, f as useBackgroundColor, h as useBorder, i as useElevation, j as useLocation, k as useRounded, l as provideTheme, n as useRtl, o as provideDefaults, V as VDefaultsProvider, q as convertToUnit, r as makeThemeProps, s as makeRoundedProps, t as makeLocationProps, v as makeElevationProps, w as makeBorderProps, x as clamp, y as consoleWarn, z as useProxiedModel, A as useToggleScope, B as useLayoutItem, C as omit, D as makeLayoutItemProps, _ as _export_sfc, E as eodashKey } from './asWebComponent-DDt7V3Bl.js';
|
|
3
|
+
import { V as VImg, a as VExpandTransition } from './VImg-GKUTFoV-.js';
|
|
4
4
|
import { u as useSsrBoot } from './ssrBoot-Zgc_Ttvi.js';
|
|
5
5
|
|
|
6
6
|
const _style_0 = ".logo[data-v-86c95219]{max-width:140px}";
|
|
@@ -65,6 +65,7 @@ const makeVToolbarProps = propsFactory({
|
|
|
65
65
|
...makeBorderProps(),
|
|
66
66
|
...makeComponentProps(),
|
|
67
67
|
...makeElevationProps(),
|
|
68
|
+
...makeLocationProps(),
|
|
68
69
|
...makeRoundedProps(),
|
|
69
70
|
...makeTagProps({
|
|
70
71
|
tag: 'header'
|
|
@@ -88,6 +89,9 @@ const VToolbar = genericComponent()({
|
|
|
88
89
|
const {
|
|
89
90
|
elevationClasses
|
|
90
91
|
} = useElevation(props);
|
|
92
|
+
const {
|
|
93
|
+
locationStyles
|
|
94
|
+
} = useLocation(props);
|
|
91
95
|
const {
|
|
92
96
|
roundedClasses
|
|
93
97
|
} = useRounded(props);
|
|
@@ -118,7 +122,7 @@ const VToolbar = genericComponent()({
|
|
|
118
122
|
'v-toolbar--floating': props.floating,
|
|
119
123
|
[`v-toolbar--density-${props.density}`]: true
|
|
120
124
|
}, backgroundColorClasses.value, borderClasses.value, elevationClasses.value, roundedClasses.value, themeClasses.value, rtlClasses.value, props.class]),
|
|
121
|
-
"style": normalizeStyle([backgroundColorStyles.value, props.style])
|
|
125
|
+
"style": normalizeStyle([backgroundColorStyles.value, locationStyles.value, props.style])
|
|
122
126
|
}, {
|
|
123
127
|
default: () => [hasImage && createElementVNode("div", {
|
|
124
128
|
"key": "image",
|
|
@@ -369,7 +373,7 @@ const makeVAppBarProps = propsFactory({
|
|
|
369
373
|
default: 'top',
|
|
370
374
|
validator: value => ['top', 'bottom'].includes(value)
|
|
371
375
|
},
|
|
372
|
-
...makeVToolbarProps(),
|
|
376
|
+
...omit(makeVToolbarProps(), ['location']),
|
|
373
377
|
...makeLayoutItemProps(),
|
|
374
378
|
...makeScrollProps(),
|
|
375
379
|
height: {
|
|
@@ -479,7 +483,7 @@ const VAppBar = genericComponent()({
|
|
|
479
483
|
absolute: toRef(() => props.absolute)
|
|
480
484
|
});
|
|
481
485
|
useRender(() => {
|
|
482
|
-
const toolbarProps = VToolbar.filterProps(props);
|
|
486
|
+
const toolbarProps = omit(VToolbar.filterProps(props), ['location']);
|
|
483
487
|
return createVNode(VToolbar, mergeProps({
|
|
484
488
|
"ref": vToolbarRef,
|
|
485
489
|
"class": ['v-app-bar', {
|