@abi-software/mapintegratedvuer 1.16.3-simulation.1 → 1.17.0
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-DbqPx-8k.js +125 -0
- package/dist/{ContentMixin-CN4E1Tcm.js → ContentMixin-R9Bw7Ou4.js} +545 -270
- package/dist/Flatmap-BYUfDJ9B.js +202 -0
- package/dist/{Iframe-NY9zAQZz.js → Iframe-2ofJ9NJW.js} +2 -2
- package/dist/{MultiFlatmap-C8gAg-MI.js → MultiFlatmap-CYxpB20e.js} +25 -18
- package/dist/{Plot-DH_Px9IB.js → Plot-DmQzP7lz.js} +2 -2
- package/dist/{Scaffold-C6XY3IQb.js → Scaffold-C8x1IHb9.js} +53 -79
- package/dist/Simulation-D9pblkqI.js +28 -0
- package/dist/{index-DaB85Tpy.js → index-raNlNgsS.js} +30069 -28444
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +238 -4270
- package/dist/{DynamicMarkerMixin-ToiTtIcj.js → style-QpNSY6to.js} +1 -1
- package/dist/style.css +1 -1
- package/package.json +6 -11
- package/src/App.vue +265 -283
- package/src/assets/styles.scss +1 -1
- package/src/components/ContentVuer.vue +5 -1
- package/src/components/ContextCard.vue +1 -0
- package/src/components/EventBus.js +3 -0
- package/src/components/MapContent.vue +9 -8
- package/src/components/SplitDialog.vue +5 -6
- package/src/components/SplitFlow.vue +491 -469
- package/src/components/scripts/utilities.js +16 -1
- package/src/components/viewers/ConnectivityGraph.vue +146 -0
- package/src/components/viewers/Flatmap.vue +84 -136
- package/src/components/viewers/MultiFlatmap.vue +9 -5
- package/src/components/viewers/Simulation.vue +15 -66
- package/src/components.d.ts +1 -3
- package/src/main.js +3 -9
- package/src/mixins/ContentMixin.js +391 -420
- package/src/stores/connectivities.js +6 -1
- package/src/stores/entries.js +1 -1
- package/src/stores/splitFlow.js +366 -427
- package/dist/Flatmap-D7eEw_Q5.js +0 -103398
- package/dist/Simulation-Bb3HbeD4.js +0 -72
- package/src/components/DummyRouteComponent.vue +0 -1
- package/src/components/EventBus.ts +0 -13
- package/src/components/FloatingWindow.vue +0 -125
- package/src/components/PlotComponent.vue +0 -56
- package/src/services/mapping.js +0 -69
- package/src/stores/mapping.js +0 -29
- package/src/stores/simulationPlotStore.js +0 -104
- package/src/types/simulation.js +0 -18
package/src/assets/styles.scss
CHANGED
|
@@ -49,6 +49,7 @@ import { useSplitFlowStore } from '../stores/splitFlow';
|
|
|
49
49
|
const Flatmap = defineAsyncComponent(() => import("./viewers/Flatmap.vue"));
|
|
50
50
|
const Iframe = defineAsyncComponent(() => import("./viewers/Iframe.vue"));
|
|
51
51
|
const MultiFlatmap = defineAsyncComponent(() => import("./viewers/MultiFlatmap.vue"));
|
|
52
|
+
const ConnectivityGraph = defineAsyncComponent(() => import("./viewers/ConnectivityGraph.vue"));
|
|
52
53
|
const Plot = defineAsyncComponent(() => import("./viewers/Plot.vue"));
|
|
53
54
|
const Scaffold = defineAsyncComponent(() => import("./viewers/Scaffold.vue"));
|
|
54
55
|
const Simulation = defineAsyncComponent(() => import("./viewers/Simulation.vue"));
|
|
@@ -70,6 +71,7 @@ export default {
|
|
|
70
71
|
//DatasetHeader,
|
|
71
72
|
Button,
|
|
72
73
|
ContentBar,
|
|
74
|
+
ConnectivityGraph,
|
|
73
75
|
Flatmap,
|
|
74
76
|
Iframe,
|
|
75
77
|
MultiFlatmap,
|
|
@@ -157,7 +159,9 @@ export default {
|
|
|
157
159
|
this.$refs.viewer?.setVisibilityFilter(payload);
|
|
158
160
|
},
|
|
159
161
|
onLoadConnectivityDetail: function(payload) {
|
|
160
|
-
this.$refs.viewer?.
|
|
162
|
+
if (this.$refs.viewer?.entry.type !== 'ConnectivityGraph') {
|
|
163
|
+
this.$refs.viewer?.getKnowledgeTooltip(payload);
|
|
164
|
+
}
|
|
161
165
|
},
|
|
162
166
|
toggleMinimap: function(option, prevState) {
|
|
163
167
|
this.$refs.viewer?.toggleMinimap(option, prevState);
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
v-if="isReady"
|
|
12
12
|
@onFullscreen="onFullscreen"
|
|
13
13
|
:state="stateToSet"
|
|
14
|
+
:showLongLabel="showLongLabel"
|
|
14
15
|
ref="flow"
|
|
15
16
|
@vue:mounted="flowMounted"
|
|
16
17
|
/>
|
|
@@ -24,7 +25,6 @@ import SplitFlow from './SplitFlow.vue';
|
|
|
24
25
|
import EventBus from './EventBus';
|
|
25
26
|
import { mapStores } from 'pinia';
|
|
26
27
|
import { useSettingsStore } from '../stores/settings';
|
|
27
|
-
import { useSimulationPlotStore } from '../stores/simulationPlotStore'
|
|
28
28
|
import { useSplitFlowStore } from '../stores/splitFlow';
|
|
29
29
|
import { defaultSpecies, findSpeciesKey } from './scripts/utilities.js';
|
|
30
30
|
import { MapSvgSpriteColor} from '@abi-software/svg-sprite';
|
|
@@ -60,6 +60,10 @@ export default {
|
|
|
60
60
|
type: Object,
|
|
61
61
|
default: undefined
|
|
62
62
|
},
|
|
63
|
+
showLongLabel: {
|
|
64
|
+
type: Boolean,
|
|
65
|
+
default: true,
|
|
66
|
+
},
|
|
63
67
|
/**
|
|
64
68
|
* The options include APIs and Keys.
|
|
65
69
|
*/
|
|
@@ -330,7 +334,7 @@ export default {
|
|
|
330
334
|
this.$refs.flow.setState(currentState);
|
|
331
335
|
//Do not create a new entry, instead set the multiflatmap viewer
|
|
332
336
|
//to the primary slot
|
|
333
|
-
this.$refs.flow.
|
|
337
|
+
this.$refs.flow.setIdToPrimaryPane(entry.id);
|
|
334
338
|
break;
|
|
335
339
|
}
|
|
336
340
|
}
|
|
@@ -385,7 +389,7 @@ export default {
|
|
|
385
389
|
},
|
|
386
390
|
},
|
|
387
391
|
computed: {
|
|
388
|
-
...mapStores(useSettingsStore,
|
|
392
|
+
...mapStores(useSettingsStore, useSplitFlowStore),
|
|
389
393
|
stateToSet() {
|
|
390
394
|
return this.state ? this.state : this.initialState;
|
|
391
395
|
},
|
|
@@ -446,16 +450,13 @@ export default {
|
|
|
446
450
|
this.settingsStore.updateUseHelpModeDialog(this.useHelpModeDialog);
|
|
447
451
|
this.settingsStore.updateConnectivityInfoSidebar(this.connectivityInfoSidebar);
|
|
448
452
|
this.settingsStore.updateAnnotationSidebar(this.annotationSidebar);
|
|
449
|
-
|
|
450
|
-
},
|
|
451
|
-
beforeUnmount: function () {
|
|
452
|
-
this.simulationPlotStore.cleanupListeners();
|
|
453
|
-
},
|
|
453
|
+
}
|
|
454
454
|
}
|
|
455
455
|
|
|
456
456
|
</script>
|
|
457
457
|
|
|
458
458
|
<style scoped lang="scss">
|
|
459
|
+
|
|
459
460
|
:deep(.el-loading-spinner) {
|
|
460
461
|
.path {
|
|
461
462
|
stroke: $app-primary-color;
|
|
@@ -203,12 +203,11 @@ export default {
|
|
|
203
203
|
|
|
204
204
|
// mix connectivites of available maps
|
|
205
205
|
if (uuids.length) {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
EventBus.emit("connectivity-filter-options", uniqueFilters);
|
|
206
|
+
// emit connectivity-knowledge event only if active connectivity keys are updated
|
|
207
|
+
if (this.connectivitiesStore.updateActiveConnectivityKeys(uuids)) {
|
|
208
|
+
const uniqueFilters = this.connectivitiesStore.getUniqueFilterOptionsByKeys;
|
|
209
|
+
EventBus.emit("connectivity-filter-options", uniqueFilters);
|
|
210
|
+
}
|
|
212
211
|
} else {
|
|
213
212
|
const connectivityData = this.connectivitiesStore.globalConnectivities[sckanVersion] || [];
|
|
214
213
|
EventBus.emit("connectivity-knowledge", {
|