@eodash/eodash 5.0.0-rc → 5.0.0-rc.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/dist/client/{DashboardLayout-232tRmjz.js → DashboardLayout-FS5inBIm.js} +2 -2
- package/dist/client/{DynamicWebComponent-Cl4LqHU6.js → DynamicWebComponent-CBSgT677.js} +1 -1
- package/dist/client/{EodashDatePicker-Pok6bZwU.js → EodashDatePicker-BGSS2ZYK.js} +2 -2
- package/dist/client/{EodashItemFilter-16eMMjTV.js → EodashItemFilter-CFNKjm_Z.js} +1 -1
- package/dist/client/{EodashLayerControl-De7IlCm_.js → EodashLayerControl-CzffoPUs.js} +1 -1
- package/dist/client/{EodashLayoutSwitcher-C-3-jjn5.js → EodashLayoutSwitcher-DM0zDhvI.js} +2 -2
- package/dist/client/{EodashMap-CMvbfI6-.js → EodashMap-BdFZ657e.js} +1 -1
- package/dist/client/{EodashMapBtns-BeknGDtc.js → EodashMapBtns-rC_IPD-Z.js} +4 -4
- package/dist/client/EodashProcess-SLsTISKV.js +714 -0
- package/dist/client/{EodashStacInfo-_BfonNUG.js → EodashStacInfo-DFD0gtWm.js} +1 -1
- package/dist/client/{EodashTools-PD3XPYuR.js → EodashTools-ImohD2ys.js} +4 -4
- package/dist/client/{ExportState-DOrT7M15.js → ExportState-LNZAovzM.js} +13 -13
- package/dist/client/{Footer-CCigxYBo.js → Footer-c19dV1ZR.js} +1 -1
- package/dist/client/{Header-C2cdx4gb.js → Header-CcvXFqqt.js} +3 -3
- package/dist/client/{MobileLayout-BdiFjHg7.js → MobileLayout-OM6Wc-vj.js} +5 -5
- package/dist/client/{PopUp--_xn1Cms.js → PopUp-B0_c0207.js} +3 -3
- package/dist/client/{VImg-9xu2l99m.js → VImg-BpDhCbL0.js} +2 -2
- package/dist/client/{VMain-BUs3kDTd.js → VMain-DC05bDwX.js} +1 -1
- package/dist/client/{VOverlay-D89omJis.js → VOverlay-C7EUyVe_.js} +3 -3
- package/dist/client/{VTooltip-CDu3bErh.js → VTooltip-C78suika.js} +3 -3
- package/dist/client/{WidgetsContainer-aFG9yFT6.js → WidgetsContainer-sD1vDnhF.js} +1 -1
- package/dist/client/{asWebComponent-BRGyP_j5.js → asWebComponent-D8bMMCEr.js} +6 -6
- package/dist/client/eo-dash.css +1 -1
- package/dist/client/eo-dash.js +1 -1
- package/dist/client/{forwardRefs-CYrR6bMw.js → forwardRefs-yw6tFXER.js} +1 -1
- package/dist/client/{index-BZwk0V42.js → index-CpK_Yaom.js} +1 -1
- package/dist/client/{transition-DG9nRSW4.js → transition-B2YwqAYJ.js} +1 -1
- package/package.json +2 -5
- package/widgets/ExportState.vue +10 -10
- package/dist/client/EodashProcess-BwKAa9Ee.js +0 -1476
package/dist/client/eo-dash.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { aW as EodashConstructor, aX as register, aY as store } from './asWebComponent-
|
|
1
|
+
export { aW as EodashConstructor, aX as register, aY as store } from './asWebComponent-D8bMMCEr.js';
|
|
2
2
|
import 'vue';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { shallowRef, computed, watch } from 'vue';
|
|
2
|
-
import { p as propsFactory, aH as getCurrentInstance } from './asWebComponent-
|
|
2
|
+
import { p as propsFactory, aH as getCurrentInstance } from './asWebComponent-D8bMMCEr.js';
|
|
3
3
|
|
|
4
4
|
class Box {
|
|
5
5
|
constructor(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransitionGroup, Transition, h, camelize } from 'vue';
|
|
2
|
-
import { g as genericComponent, p as propsFactory } from './asWebComponent-
|
|
2
|
+
import { g as genericComponent, p as propsFactory } from './asWebComponent-D8bMMCEr.js';
|
|
3
3
|
|
|
4
4
|
// Utilities
|
|
5
5
|
const makeTransitionProps = propsFactory({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eodash/eodash",
|
|
3
|
-
"version": "5.0.0-rc",
|
|
3
|
+
"version": "5.0.0-rc.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./dist/types/core/client/types.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -23,16 +23,13 @@
|
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
26
|
-
"types": "./dist/types/core/client/types.d.ts",
|
|
27
26
|
"default": "./core/client/main.js"
|
|
28
27
|
},
|
|
29
28
|
"./webcomponent": {
|
|
30
|
-
"types": "./dist/types/core/client/asWebComponent.d.ts",
|
|
31
29
|
"default": "./dist/client/eo-dash.js"
|
|
32
30
|
},
|
|
33
31
|
"./webcomponent.css": "./dist/client/eo-dash.css",
|
|
34
32
|
"./config": {
|
|
35
|
-
"types": "./dist/node/types.d.ts",
|
|
36
33
|
"default": "./dist/node/main.js"
|
|
37
34
|
}
|
|
38
35
|
},
|
|
@@ -81,6 +78,7 @@
|
|
|
81
78
|
"commander": "^12.1.0",
|
|
82
79
|
"core-js": "^3.39.0",
|
|
83
80
|
"loglevel": "^1.9.2",
|
|
81
|
+
"mustache": "^4.2.0",
|
|
84
82
|
"pinia": "^2.3.0",
|
|
85
83
|
"sass": "^1.83.0",
|
|
86
84
|
"stac-js": "^0.0.9",
|
|
@@ -105,7 +103,6 @@
|
|
|
105
103
|
"cypress": "^13.17.0",
|
|
106
104
|
"eslint": "^9.17.0",
|
|
107
105
|
"eslint-plugin-vue": "^9.32.0",
|
|
108
|
-
"mustache": "^4.2.0",
|
|
109
106
|
"prettier": "^3.4.2",
|
|
110
107
|
"rollup": "^4.28.1",
|
|
111
108
|
"stac-ts": "^1.0.4",
|
package/widgets/ExportState.vue
CHANGED
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
import { mdiClipboardCheckOutline, mdiContentCopy } from "@mdi/js";
|
|
53
53
|
import PopUp from "./PopUp.vue";
|
|
54
54
|
import { copyToClipBoard } from "@/utils";
|
|
55
|
-
import {
|
|
55
|
+
import { ref } from "vue";
|
|
56
56
|
import { getLayers as getLayerAction } from "@/store/actions";
|
|
57
|
-
import { mapPosition } from "@/store/states";
|
|
57
|
+
import { mapPosition, availableMapProjection } from "@/store/states";
|
|
58
58
|
import { removeUnneededProperties } from "@/eodashSTAC/helpers";
|
|
59
59
|
|
|
60
60
|
const dialog = defineModel({ type: Boolean, required: true, default: false });
|
|
@@ -71,7 +71,7 @@ const copySuccess = ref(false);
|
|
|
71
71
|
const copyBtns = [
|
|
72
72
|
{
|
|
73
73
|
id: Symbol(),
|
|
74
|
-
copyFn: async () => await copyToClipBoard(
|
|
74
|
+
copyFn: async () => await copyToClipBoard(getMapEntryCode(), copySuccess),
|
|
75
75
|
copyAs: "simple map",
|
|
76
76
|
},
|
|
77
77
|
{
|
|
@@ -82,28 +82,28 @@ const copyBtns = [
|
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
id: Symbol(),
|
|
85
|
-
copyFn: async () => await copyToClipBoard(
|
|
85
|
+
copyFn: async () => await copyToClipBoard(getMapStepCode(), copySuccess),
|
|
86
86
|
copyAs: "map tour section",
|
|
87
87
|
},
|
|
88
88
|
];
|
|
89
89
|
|
|
90
|
-
const
|
|
90
|
+
const getMapStepCode = () => {
|
|
91
91
|
const [x, y, z] = mapPosition.value;
|
|
92
92
|
const preTag = "### <!" + "--{ layers=";
|
|
93
|
-
const endTag = `zoom="${z}" center=[${[x, y]}] animationOptions={duration:500}}-->
|
|
93
|
+
const endTag = `zoom="${z}" center=[${[x, y]}] projection="${availableMapProjection.value}" animationOptions={duration:500}}-->
|
|
94
94
|
#### Tour step title
|
|
95
95
|
Text describing the current step of the tour and why it is interesting what the map shows currently
|
|
96
96
|
`;
|
|
97
97
|
return `${preTag}'${JSON.stringify(removeUnneededProperties(props.getLayers()))}' ${endTag}`;
|
|
98
|
-
}
|
|
99
|
-
const
|
|
98
|
+
};
|
|
99
|
+
const getMapEntryCode = () => {
|
|
100
100
|
const [x, y, z] = mapPosition.value;
|
|
101
101
|
const preTag =
|
|
102
102
|
"## Map Example <!" +
|
|
103
103
|
'--{as="eox-map" style="width: 100%; height: 500px;" layers=';
|
|
104
|
-
const endTag = `zoom="${z}" center=[${[x, y]}] }-->`;
|
|
104
|
+
const endTag = `zoom="${z}" center=[${[x, y]}] projection="${availableMapProjection.value}" }-->`;
|
|
105
105
|
return `${preTag}'${JSON.stringify(removeUnneededProperties(props.getLayers()))}' ${endTag}`;
|
|
106
|
-
}
|
|
106
|
+
};
|
|
107
107
|
</script>
|
|
108
108
|
<style scoped>
|
|
109
109
|
.code-block {
|