@abi-software/mapintegratedvuer 1.3.4-beta.7 → 1.3.4-beta.8
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/{ContentMixin-Bi0UWJRB.js → ContentMixin-DOsFoWgc.js} +1 -1
- package/dist/{Flatmap-DIY__mys.js → Flatmap-oE6MGkVh.js} +6 -8
- package/dist/{Iframe-Evw_43Oy.js → Iframe-wxShj_4p.js} +2 -2
- package/dist/{MultiFlatmap-EynyfgSh.js → MultiFlatmap-CAOVXWnw.js} +10 -12
- package/dist/{Plot-CLrwiVZo.js → Plot-DoQKNBIB.js} +2 -2
- package/dist/{Scaffold-STqxwRuV.js → Scaffold-CUmecqSk.js} +4300 -4280
- package/dist/{Simulation-DdfgYBRl.js → Simulation-DmKZAUId.js} +2 -2
- package/dist/{index-CeeUmoIw.js → index-CxxWkeZL.js} +71 -74
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +99 -99
- package/dist/{style-BZjoqF0W.js → style-907L63ni.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/App.vue +3 -3
- package/src/components/MapContent.vue +2 -5
- package/src/components/viewers/Flatmap.vue +0 -3
- package/src/components/viewers/MultiFlatmap.vue +0 -5
- package/src/components/viewers/Scaffold.vue +0 -5
- package/src/stores/index.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abi-software/mapintegratedvuer",
|
3
|
-
"version": "1.3.4-beta.
|
3
|
+
"version": "1.3.4-beta.8",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"scripts": {
|
6
6
|
"serve": "vite --host --force",
|
@@ -54,7 +54,7 @@
|
|
54
54
|
"@abi-software/map-side-bar": "^2.3.2-beta.4",
|
55
55
|
"@abi-software/map-utilities": "^1.0.1-beta.2",
|
56
56
|
"@abi-software/plotvuer": "1.0.0",
|
57
|
-
"@abi-software/scaffoldvuer": "^1.3.3-beta.
|
57
|
+
"@abi-software/scaffoldvuer": "^1.3.3-beta.1",
|
58
58
|
"@abi-software/simulationvuer": "1.0.0",
|
59
59
|
"@abi-software/svg-sprite": "1.0.0",
|
60
60
|
"@element-plus/icons-vue": "^2.3.1",
|
package/src/App.vue
CHANGED
@@ -168,9 +168,9 @@ export default {
|
|
168
168
|
setSearch: function() {
|
169
169
|
this.$refs.map.openSearch([], "10.26275/1uno-tynt");
|
170
170
|
},
|
171
|
-
mapIsLoaded: function() {
|
172
|
-
console.log("map is loaded")
|
173
|
-
|
171
|
+
mapIsLoaded: function(map) {
|
172
|
+
console.log("map is loaded", map)
|
173
|
+
map.changeViewingMode('Annotation')
|
174
174
|
},
|
175
175
|
viewerIsReady: function() {
|
176
176
|
console.log("viewer is ready")
|
@@ -280,9 +280,6 @@ export default {
|
|
280
280
|
'category': this.startingMap
|
281
281
|
});
|
282
282
|
},
|
283
|
-
changeViewingMode: function(modeName) {
|
284
|
-
EventBus.emit("changeViewingMode", modeName);
|
285
|
-
},
|
286
283
|
},
|
287
284
|
computed: {
|
288
285
|
...mapStores(useSettingsStore, useSplitFlowStore),
|
@@ -329,11 +326,11 @@ export default {
|
|
329
326
|
if (!this.state) {
|
330
327
|
this.initialState = await initialState(this.startingMap, this.options.sparcApi);
|
331
328
|
}
|
332
|
-
EventBus.on("mapLoaded", () => {
|
329
|
+
EventBus.on("mapLoaded", (map) => {
|
333
330
|
/**
|
334
331
|
* This event emit when the map is loaded.
|
335
332
|
*/
|
336
|
-
this.$emit("mapLoaded");
|
333
|
+
this.$emit("mapLoaded", map);
|
337
334
|
});
|
338
335
|
this.isReady = true;
|
339
336
|
this.settingsStore.updateUseHelpModeDialog(this.useHelpModeDialog);
|
@@ -459,11 +459,6 @@ export default {
|
|
459
459
|
this.mapHoverHighlight(this.$refs.multiflatmap.getCurrentFlatmap().mapImp);
|
460
460
|
}
|
461
461
|
});
|
462
|
-
EventBus.on("changeViewingMode", (modeName) => {
|
463
|
-
if (this.flatmapReady) {
|
464
|
-
this.changeViewingMode(modeName);
|
465
|
-
}
|
466
|
-
});
|
467
462
|
},
|
468
463
|
};
|
469
464
|
</script>
|
package/src/stores/index.js
CHANGED
@@ -8,7 +8,7 @@ import { defineStore } from 'pinia'
|
|
8
8
|
export const useMainStore = defineStore('main', {
|
9
9
|
state: () => ({
|
10
10
|
userProfile: {
|
11
|
-
token: ''
|
11
|
+
token: 'eyJraWQiOiJ1UUMzRDl1RGpTTlhoNzZJRW1ldExcL05uOGRMazFyaU1LWSt5T2ZTUytHaz0iLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJjNDhmZDkyOS0wYjIwLTQxNjEtOTEyZi03NTBmMGZiY2VkNWQiLCJ0b2tlbl91c2UiOiJhY2Nlc3MiLCJzY29wZSI6Im9wZW5pZCIsImF1dGhfdGltZSI6MTcyMzU4NDMwMywiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfRlZMaEo3Q1FBIiwiZXhwIjoxNzIzNTg3OTAzLCJpYXQiOjE3MjM1ODQzMDMsInZlcnNpb24iOjIsImp0aSI6Ijc5ZjIyODVhLTIwNjYtNGE3My1iYWNhLWI1ZWU5MmM3ZmEyZCIsImNsaWVudF9pZCI6IjcwM2xtNWQ4b2RjY3UyMXBhZ2NmamtlYWVhIiwidXNlcm5hbWUiOiJjNDhmZDkyOS0wYjIwLTQxNjEtOTEyZi03NTBmMGZiY2VkNWQifQ.kkkDHoHfruqyuWxa8MyVCtfgO9oKRjilrNWa2tbHZPwhkGuolLPfGOETVQH2qqru0cvXTCvB7Y69YNP0vhLis2ikAL5p0qhC5x4Wr4Igii48LqglKtozql2Oyn5dgxC4945sb9-lnhH4Ao-YB8SRL0XhM5wMIB0nwdyaEkth8ain_YGXknBmrSnyaspHP3zmXpPm5WJDJdfkJ2BWf_mZx-wMfOjBlVVf1eMHuVd6rw89mZnBW7fM1GPaI6auYxbYD5Vqj3JOcCr6HU6dImP6bOaL9Rusjd7u_lE10nSVPPO1nMGhFX9npqL3OHiDpAT_5c-5I1IN2IRQ-Dm3rcuLhg'
|
12
12
|
},
|
13
13
|
}),
|
14
14
|
getters: {
|