@abi-software/mapintegratedvuer 1.3.4-beta.5 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/mapintegratedvuer",
3
- "version": "1.3.4-beta.5",
3
+ "version": "1.3.4-beta.6",
4
4
  "license": "Apache-2.0",
5
5
  "scripts": {
6
6
  "serve": "vite --host --force",
@@ -329,11 +329,11 @@ export default {
329
329
  if (!this.state) {
330
330
  this.initialState = await initialState(this.startingMap, this.options.sparcApi);
331
331
  }
332
- EventBus.on('mapReady', () => {
332
+ EventBus.on('isLoaded', () => {
333
333
  /**
334
334
  * This event emit when the map is loaded.
335
335
  */
336
- if (this._flowMounted) this.$emit("isLoaded");
336
+ this.$emit('isLoaded');
337
337
  });
338
338
  this.isReady = true;
339
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("mapReady", flatmap);
106
+ EventBus.emit("isLoaded", flatmap);
107
107
  },
108
108
  onPathwaySelectionChanged: function (data) {
109
109
  const { label, property, checked, selectionsTitle } = data;
@@ -329,7 +329,7 @@ export default {
329
329
  const flatmapImp = flatmap.mapImp;
330
330
  this.flatmapMarkerUpdate(flatmapImp);
331
331
  this.updateProvCard();
332
- EventBus.emit("mapReady", flatmap);
332
+ EventBus.emit("isLoaded", flatmap);
333
333
  }
334
334
  },
335
335
  getFlatmapImp: function () {
@@ -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("mapReady", this.$refs.scaffold);
142
+ EventBus.emit("isLoaded", this.$refs.scaffold);
143
143
  },
144
144
  requestSynchronisedEvent: function (flag) {
145
145
  if (this.scaffoldLoaded) {
@@ -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
  })