@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.
- package/dist/{ConnectivityGraph-9pXPgFJR.js → ConnectivityGraph-CNtSLKGZ.js} +19 -21
- package/dist/{ContentMixin-DIqgKIz6.js → ContentMixin-BImmmP1E.js} +521 -295
- package/dist/Flatmap-CakK_75H.js +202 -0
- package/dist/{Iframe-CCEA3d9c.js → Iframe-C7E9XJu7.js} +2 -2
- package/dist/{MultiFlatmap-Cuke1uNp.js → MultiFlatmap-DnDXuvTw.js} +3 -3
- package/dist/{Plot-B4oTBVAT.js → Plot-CxCj3uTj.js} +2 -2
- package/dist/Scaffold-D1NyLNzW.js +304 -0
- package/dist/Simulation-Br3Grrd6.js +28 -0
- package/dist/{index-_b4VBGHk.js → index-qyfmiqHe.js} +22862 -27602
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +232 -4291
- package/dist/style-DezYtA61.js +57 -0
- package/dist/style.css +1 -1
- package/package.json +5 -10
- package/src/App.vue +258 -285
- package/src/assets/styles.scss +1 -1
- package/src/components/ContextCard.vue +1 -0
- package/src/components/EventBus.js +3 -0
- package/src/components/MapContent.vue +4 -9
- package/src/components/SplitDialog.vue +6 -2
- package/src/components/SplitFlow.vue +445 -504
- package/src/components/scripts/utilities.js +1 -1
- package/src/components/viewers/ConnectivityGraph.vue +1 -9
- package/src/components/viewers/Flatmap.vue +83 -166
- package/src/components/viewers/Scaffold.vue +130 -78
- package/src/components/viewers/Simulation.vue +11 -118
- package/src/components.d.ts +0 -3
- package/src/main.js +3 -9
- package/src/mixins/ContentMixin.js +384 -496
- package/src/mixins/DynamicMarkerMixin.js +17 -50
- package/src/stores/connectivities.js +10 -1
- package/src/stores/entries.js +1 -1
- package/src/stores/settings.js +0 -4
- package/src/stores/splitFlow.js +352 -425
- package/dist/Flatmap-D7GVPV7o.js +0 -103422
- package/dist/Scaffold-Czz8X5kL.js +0 -310
- package/dist/Simulation-BKmz8zwm.js +0 -107
- package/dist/style-CM86xE3J.js +0 -119
- package/src/components/DummyRouteComponent.vue +0 -1
- package/src/components/EventBus.ts +0 -13
- package/src/components/FloatingWindow.vue +0 -142
- package/src/components/PlotComponent.vue +0 -56
- package/src/services/mapping.js +0 -69
- package/src/services/testData.js +0 -71
- package/src/stores/mapping.js +0 -29
- package/src/stores/simulationPlotStore.js +0 -124
- package/src/types/simulation.js +0 -18
package/src/assets/styles.scss
CHANGED
|
@@ -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.
|
|
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,
|
|
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
|
-
|
|
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
|
-
|
|
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) {
|