@abi-software/mapintegratedvuer 1.17.3-simulation.2 → 1.17.4

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.
Files changed (47) hide show
  1. package/dist/{ConnectivityGraph-9pXPgFJR.js → ConnectivityGraph-CNtSLKGZ.js} +19 -21
  2. package/dist/{ContentMixin-DIqgKIz6.js → ContentMixin-BImmmP1E.js} +521 -295
  3. package/dist/Flatmap-CakK_75H.js +202 -0
  4. package/dist/{Iframe-CCEA3d9c.js → Iframe-C7E9XJu7.js} +2 -2
  5. package/dist/{MultiFlatmap-Cuke1uNp.js → MultiFlatmap-DnDXuvTw.js} +3 -3
  6. package/dist/{Plot-B4oTBVAT.js → Plot-CxCj3uTj.js} +2 -2
  7. package/dist/Scaffold-D1NyLNzW.js +304 -0
  8. package/dist/Simulation-Br3Grrd6.js +28 -0
  9. package/dist/{index-_b4VBGHk.js → index-qyfmiqHe.js} +22862 -27602
  10. package/dist/mapintegratedvuer.js +1 -1
  11. package/dist/mapintegratedvuer.umd.cjs +232 -4291
  12. package/dist/style-DezYtA61.js +57 -0
  13. package/dist/style.css +1 -1
  14. package/package.json +5 -10
  15. package/src/App.vue +258 -285
  16. package/src/assets/styles.scss +1 -1
  17. package/src/components/ContextCard.vue +1 -0
  18. package/src/components/EventBus.js +3 -0
  19. package/src/components/MapContent.vue +4 -9
  20. package/src/components/SplitDialog.vue +6 -2
  21. package/src/components/SplitFlow.vue +445 -504
  22. package/src/components/scripts/utilities.js +1 -1
  23. package/src/components/viewers/ConnectivityGraph.vue +1 -9
  24. package/src/components/viewers/Flatmap.vue +83 -166
  25. package/src/components/viewers/Scaffold.vue +130 -78
  26. package/src/components/viewers/Simulation.vue +11 -118
  27. package/src/components.d.ts +0 -3
  28. package/src/main.js +3 -9
  29. package/src/mixins/ContentMixin.js +384 -496
  30. package/src/mixins/DynamicMarkerMixin.js +17 -50
  31. package/src/stores/connectivities.js +10 -1
  32. package/src/stores/entries.js +1 -1
  33. package/src/stores/settings.js +0 -4
  34. package/src/stores/splitFlow.js +352 -425
  35. package/dist/Flatmap-D7GVPV7o.js +0 -103422
  36. package/dist/Scaffold-Czz8X5kL.js +0 -310
  37. package/dist/Simulation-BKmz8zwm.js +0 -107
  38. package/dist/style-CM86xE3J.js +0 -119
  39. package/src/components/DummyRouteComponent.vue +0 -1
  40. package/src/components/EventBus.ts +0 -13
  41. package/src/components/FloatingWindow.vue +0 -142
  42. package/src/components/PlotComponent.vue +0 -56
  43. package/src/services/mapping.js +0 -69
  44. package/src/services/testData.js +0 -71
  45. package/src/stores/mapping.js +0 -29
  46. package/src/stores/simulationPlotStore.js +0 -124
  47. package/src/types/simulation.js +0 -18
@@ -1,5 +1,5 @@
1
+ @import '_variables';
1
2
 
2
- @import '_variables.scss';
3
3
  @import url('https://fonts.googleapis.com/css?family=Asap:400,400i,500,600,700&display=swap');
4
4
 
5
5
  /* icon font path, required */
@@ -94,6 +94,7 @@
94
94
  </div>
95
95
  </template>
96
96
 
97
+
97
98
  <script>
98
99
  /* eslint-disable no-alert, no-console */
99
100
  import { CopyToClipboard } from "@abi-software/map-utilities";
@@ -0,0 +1,3 @@
1
+ import mitt from 'mitt';
2
+ const EventBus = new mitt();
3
+ export default EventBus;
@@ -25,7 +25,6 @@ import SplitFlow from './SplitFlow.vue';
25
25
  import EventBus from './EventBus';
26
26
  import { mapStores } from 'pinia';
27
27
  import { useSettingsStore } from '../stores/settings';
28
- import { useSimulationPlotStore } from '../stores/simulationPlotStore'
29
28
  import { useSplitFlowStore } from '../stores/splitFlow';
30
29
  import { defaultSpecies, findSpeciesKey } from './scripts/utilities.js';
31
30
  import { MapSvgSpriteColor} from '@abi-software/svg-sprite';
@@ -335,7 +334,7 @@ export default {
335
334
  this.$refs.flow.setState(currentState);
336
335
  //Do not create a new entry, instead set the multiflatmap viewer
337
336
  //to the primary slot
338
- this.$refs.flow.setIdToPane(entry.id);
337
+ this.$refs.flow.setIdToPrimaryPane(entry.id);
339
338
  break;
340
339
  }
341
340
  }
@@ -390,7 +389,7 @@ export default {
390
389
  },
391
390
  },
392
391
  computed: {
393
- ...mapStores(useSettingsStore, useSimulationPlotStore, useSplitFlowStore),
392
+ ...mapStores(useSettingsStore, useSplitFlowStore),
394
393
  stateToSet() {
395
394
  return this.state ? this.state : this.initialState;
396
395
  },
@@ -413,7 +412,6 @@ export default {
413
412
  this.options.pennsieveApi ? this.settingsStore.updatePennsieveApi(this.options.pennsieveApi) : null;
414
413
  this.options.flatmapAPI ? this.settingsStore.updateFlatmapAPI(this.options.flatmapAPI) : null;
415
414
  this.options.rootUrl ? this.settingsStore.updateRootUrl(this.options.rootUrl) : null;
416
- this.options.testDataLocation ? this.settingsStore.updateTestDataLocation(this.options.testDataLocation) : null;
417
415
  }
418
416
  this.settingsStore.updateAllClosable(this.allClosable);
419
417
  this.splitFlowStore?.reset();
@@ -452,16 +450,13 @@ export default {
452
450
  this.settingsStore.updateUseHelpModeDialog(this.useHelpModeDialog);
453
451
  this.settingsStore.updateConnectivityInfoSidebar(this.connectivityInfoSidebar);
454
452
  this.settingsStore.updateAnnotationSidebar(this.annotationSidebar);
455
- this.simulationPlotStore.initListeners();
456
- },
457
- beforeUnmount: function () {
458
- this.simulationPlotStore.cleanupListeners();
459
- },
453
+ }
460
454
  }
461
455
 
462
456
  </script>
463
457
 
464
458
  <style scoped lang="scss">
459
+
465
460
  :deep(.el-loading-spinner) {
466
461
  .path {
467
462
  stroke: $app-primary-color;
@@ -109,7 +109,12 @@ export default {
109
109
  return activeContents;
110
110
  },
111
111
  isIdVisible: function(id) {
112
- return this.splitFlowStore.isIdVisible(id);
112
+ const paneName = this.splitFlowStore.getPaneNameById(id);
113
+ let visible = false;
114
+ if (paneName !== undefined) {
115
+ visible = this.splitFlowStore.isPaneActive(paneName);
116
+ }
117
+ return visible;
113
118
  },
114
119
  getContentsWithId: function(id) {
115
120
  let contents = this.$refs["content"];
@@ -348,7 +353,6 @@ export default {
348
353
  const uniqueFilters = this.connectivitiesStore.getUniqueFilterOptionsByKeys;
349
354
  const uniqueFilterSources = this.connectivitiesStore.getUniqueFilterSourcesByKeys;
350
355
  let results = this.connectivitiesStore.getUniqueConnectivitiesByKeys;
351
-
352
356
  for (const activeContent of activeContents) {
353
357
  const viewer = activeContent.$refs.viewer;
354
358
  if (viewer) {