@abi-software/mapintegratedvuer 1.3.4-beta.4 → 1.3.4-beta.6
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-v2XE-wpb.js → ContentMixin-BFNQwpnH.js} +1 -1
- package/dist/{Flatmap-CIV4v_eO.js → Flatmap-2HBPCy-_.js} +5 -5
- package/dist/{Iframe-BEN0xhvg.js → Iframe-VsNAew31.js} +2 -2
- package/dist/{MultiFlatmap-viJLOlim.js → MultiFlatmap-idyRjbhs.js} +6 -6
- package/dist/{Plot-3ibOkRaS.js → Plot-DAj-afal.js} +2 -2
- package/dist/{Scaffold-CrlXw6AR.js → Scaffold-BFQCXv7m.js} +161 -161
- package/dist/{Simulation-BasUCxtH.js → Simulation-Bw4nkk8k.js} +2 -2
- package/dist/{index-7AwO7LC4.js → index-C4Z7CW9f.js} +6 -6
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +4 -4
- package/dist/{style-CbkWycj2.js → style-BhfrDa4y.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +8 -4
- package/src/components/MapContent.vue +8 -3
- package/src/components/viewers/Flatmap.vue +1 -1
- package/src/components/viewers/MultiFlatmap.vue +1 -1
- package/src/components/viewers/Scaffold.vue +1 -1
- package/src/stores/splitFlow.js +1 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -41,7 +41,8 @@
|
|
41
41
|
:useHelpModeDialog="true"
|
42
42
|
:connectivityInfoSidebar="true"
|
43
43
|
@updateShareLinkRequested="updateUUID"
|
44
|
-
@isReady="
|
44
|
+
@isReady="viewerIsReady"
|
45
|
+
@isLoaded="mapIsLoaded"
|
45
46
|
/>
|
46
47
|
</div>
|
47
48
|
</div>
|
@@ -167,9 +168,12 @@ export default {
|
|
167
168
|
setSearch: function() {
|
168
169
|
this.$refs.map.openSearch([], "10.26275/1uno-tynt");
|
169
170
|
},
|
170
|
-
|
171
|
-
console.log("map is
|
172
|
-
this.changeViewingMode('Annotation')
|
171
|
+
mapIsLoaded: function() {
|
172
|
+
console.log("map is loaded")
|
173
|
+
// this.changeViewingMode('Annotation')
|
174
|
+
},
|
175
|
+
viewerIsReady: function() {
|
176
|
+
console.log("viewer is ready")
|
173
177
|
},
|
174
178
|
parseQuery: function () {
|
175
179
|
this.$router.isReady().then(() => {
|
@@ -266,6 +266,11 @@ export default {
|
|
266
266
|
*/
|
267
267
|
flowMounted: function () {
|
268
268
|
this._flowMounted = true;
|
269
|
+
/**
|
270
|
+
* This event emit when the component is mounted.
|
271
|
+
*/
|
272
|
+
this.$emit("isReady");
|
273
|
+
|
269
274
|
// GA Tagging
|
270
275
|
// Page view tracking for maps' buttons click on portal
|
271
276
|
// category: AC | FC | WholeBody
|
@@ -324,11 +329,11 @@ export default {
|
|
324
329
|
if (!this.state) {
|
325
330
|
this.initialState = await initialState(this.startingMap, this.options.sparcApi);
|
326
331
|
}
|
327
|
-
EventBus.on('
|
332
|
+
EventBus.on('isLoaded', () => {
|
328
333
|
/**
|
329
|
-
* This event emit when the
|
334
|
+
* This event emit when the map is loaded.
|
330
335
|
*/
|
331
|
-
|
336
|
+
this.$emit('isLoaded');
|
332
337
|
});
|
333
338
|
this.isReady = true;
|
334
339
|
this.settingsStore.updateUseHelpModeDialog(this.useHelpModeDialog);
|
@@ -103,7 +103,7 @@ export default {
|
|
103
103
|
if (this.entry.resource !== "FunctionalConnectivity"){
|
104
104
|
this.flatmapReadyForMarkerUpdates(flatmap);
|
105
105
|
}
|
106
|
-
EventBus.emit("
|
106
|
+
EventBus.emit("isLoaded", flatmap);
|
107
107
|
},
|
108
108
|
onPathwaySelectionChanged: function (data) {
|
109
109
|
const { label, property, checked, selectionsTitle } = data;
|
@@ -139,7 +139,7 @@ export default {
|
|
139
139
|
this.$refs.scaffold.toggleSyncControl(this.splitFlowStore.globalCallback, rotation);
|
140
140
|
if (this.splitFlowStore.syncMode) this.$refs.scaffold.fitWindow();
|
141
141
|
}
|
142
|
-
EventBus.emit("
|
142
|
+
EventBus.emit("isLoaded", this.$refs.scaffold);
|
143
143
|
},
|
144
144
|
requestSynchronisedEvent: function (flag) {
|
145
145
|
if (this.scaffoldLoaded) {
|
package/src/stores/splitFlow.js
CHANGED
@@ -208,7 +208,7 @@ export const useSplitFlowStore = defineStore('splitFlow', {
|
|
208
208
|
if (this._controller) this._controller.abort();
|
209
209
|
this._controller = new AbortController();
|
210
210
|
let signal = this._controller.signal;
|
211
|
-
console.log("getAvailableTerms")
|
211
|
+
// console.log("getAvailableTerms")
|
212
212
|
fetch(`${apiLocation}get-organ-curies`, {
|
213
213
|
signal,
|
214
214
|
})
|