@abi-software/mapintegratedvuer 1.21.1 → 1.22.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/README.md +23 -5
- package/assets/location-icon.html +33 -1
- package/assets/styleguide.css +18 -18
- package/cypress.config.js +7 -9
- package/dist/{ConnectivityGraph-CZMROk9r.js → ConnectivityGraph-BBZ3Dgat.js} +3 -3
- package/dist/{ContentMixin-Vn34n5t2.js → ContentMixin-B-O_IwPg.js} +16 -18
- package/dist/{DynamicMarkerMixin-BS6t7w_i.js → DynamicMarkerMixin-B9iqtP_f.js} +1 -1
- package/dist/{Flatmap-BejxA0uz.js → Flatmap-BoEFI50b.js} +4 -4
- package/dist/{Iframe-BWbhTjCR.js → Iframe-Slj-LQTF.js} +4 -4
- package/dist/{MultiFlatmap-nlmsH-Ib.js → MultiFlatmap-l6aBn6x3.js} +17 -5
- package/dist/{Plot-ChbPsDZX.js → Plot-CIhEip5b.js} +2 -2
- package/dist/{Scaffold-C6f7c7Ha.js → Scaffold-D5ZGCDvt.js} +4 -4
- package/dist/{Simulation-DcJScRYo.js → Simulation-C5o5DXRb.js} +2 -2
- package/dist/{connectivities-UXTqf7_0.js → connectivities-Br3MpoAv.js} +154 -95
- package/dist/index.html +9 -6
- package/dist/mapintegratedvuer.js +5506 -5582
- package/dist/mapintegratedvuer.umd.cjs +196 -196
- package/dist/style.css +1 -1
- package/eslint.config.js +39 -15
- package/package.json +12 -6
- package/public/index.html +9 -6
- package/src/App.vue +224 -255
- package/src/assets/_variables.scss +12 -10
- package/src/assets/header-icon.scss +8 -9
- package/src/assets/mapicon-species-style.css +10 -8
- package/src/assets/styles.scss +1 -1
- package/src/components/ContentBar.vue +99 -106
- package/src/components/ContentVuer.vue +36 -39
- package/src/components/ContextCard.vue +238 -199
- package/src/components/ContextHelp.vue +22 -26
- package/src/components/CustomSplitter.vue +32 -43
- package/src/components/DatasetHeader.vue +37 -41
- package/src/components/DialogToolbarContent.vue +292 -256
- package/src/components/FlatmapContextCard.vue +52 -57
- package/src/components/MapContent.vue +111 -87
- package/src/components/ResizeSensor.vue +8 -13
- package/src/components/SearchControls.vue +26 -35
- package/src/components/SimulatedData.js +196 -219
- package/src/components/SplitDialog.vue +139 -129
- package/src/components/SplitFlow.vue +433 -239
- package/src/components/index.js +1 -3
- package/src/components/scripts/simulation_data.js +393 -397
- package/src/components/scripts/utilities.js +108 -78
- package/src/components/viewers/CellDLViewer.vue +9 -9
- package/src/components/viewers/ConnectivityGraph.vue +9 -12
- package/src/components/viewers/Flatmap.vue +23 -25
- package/src/components/viewers/Iframe.vue +8 -10
- package/src/components/viewers/MultiFlatmap.vue +73 -69
- package/src/components/viewers/Plot.vue +6 -7
- package/src/components/viewers/Scaffold.vue +73 -63
- package/src/components/viewers/Simulation.vue +10 -15
- package/src/main.js +16 -21
- package/src/mixins/ContentMixin.js +208 -178
- package/src/mixins/DynamicMarkerMixin.js +14 -18
- package/src/mixins/RetrieveContextCardMixin.js +35 -30
- package/src/mixins/S3Bucket.vue +10 -13
- package/src/services/knowledgeMapping.js +53 -53
- package/src/services/tagging.js +4 -4
- package/src/stores/connectivities.js +46 -8
- package/src/stores/entries.js +7 -9
- package/src/stores/index.js +7 -7
- package/src/stores/settings.js +23 -31
- package/src/stores/splitFlow.js +395 -298
- package/vite.bundle-build.js +24 -26
- package/vite.config.js +22 -21
- package/vite.static-build.js +4 -4
- package/vitest.workspace.js +1 -3
- package/vuese-generator.js +47 -55
|
@@ -1,29 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<SimulationVuer
|
|
3
|
-
:apiLocation="apiLocation"
|
|
4
|
-
:id="id"
|
|
5
|
-
ref="simulation"
|
|
6
|
-
/>
|
|
2
|
+
<SimulationVuer :apiLocation="apiLocation" :id="id" ref="simulation" />
|
|
7
3
|
</template>
|
|
8
4
|
|
|
9
5
|
<script>
|
|
10
|
-
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import "@abi-software/simulationvuer/dist/style.css";
|
|
6
|
+
import ContentMixin from '../../mixins/ContentMixin';
|
|
7
|
+
import { SimulationVuer } from '@abi-software/simulationvuer';
|
|
8
|
+
import '@abi-software/simulationvuer/dist/style.css';
|
|
14
9
|
|
|
15
10
|
export default {
|
|
16
|
-
name:
|
|
17
|
-
mixins: [
|
|
11
|
+
name: 'Simulation',
|
|
12
|
+
mixins: [ContentMixin],
|
|
18
13
|
components: {
|
|
19
14
|
SimulationVuer,
|
|
20
15
|
},
|
|
21
16
|
computed: {
|
|
22
|
-
id: function() {
|
|
17
|
+
id: function () {
|
|
23
18
|
//resource field is only available for simulation omex file and it will run locally.
|
|
24
19
|
//discoverId field is used for simulations running on O2SPARC.
|
|
25
|
-
return this.entry.resource ? this.entry.resource: this.entry.discoverId;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
20
|
+
return this.entry.resource ? this.entry.resource : this.entry.discoverId;
|
|
21
|
+
},
|
|
22
|
+
},
|
|
28
23
|
};
|
|
29
24
|
</script>
|
package/src/main.js
CHANGED
|
@@ -1,33 +1,28 @@
|
|
|
1
|
+
import { createApp } from 'vue';
|
|
2
|
+
import { createPinia } from 'pinia';
|
|
3
|
+
import * as VueRouter from 'vue-router';
|
|
4
|
+
import App from './App.vue';
|
|
5
|
+
import { useMainStore } from './stores/index';
|
|
6
|
+
import './assets/fonts.scss';
|
|
1
7
|
|
|
2
|
-
|
|
3
|
-
import { createPinia } from 'pinia'
|
|
4
|
-
import * as VueRouter from 'vue-router'
|
|
5
|
-
import App from './App.vue'
|
|
6
|
-
import { useMainStore } from './stores/index'
|
|
7
|
-
import './assets/fonts.scss'
|
|
8
|
-
|
|
9
|
-
const routes = [
|
|
10
|
-
{ path: '/' },
|
|
11
|
-
]
|
|
8
|
+
const routes = [{ path: '/' }];
|
|
12
9
|
|
|
13
10
|
const router = VueRouter.createRouter({
|
|
14
11
|
// 4. Provide the history implementation to use. We are using the hash history for simplicity here.
|
|
15
12
|
history: VueRouter.createWebHashHistory(),
|
|
16
13
|
routes,
|
|
17
|
-
})
|
|
14
|
+
});
|
|
18
15
|
|
|
19
|
-
const pinia = createPinia()
|
|
20
|
-
const app = createApp(App)
|
|
16
|
+
const pinia = createPinia();
|
|
17
|
+
const app = createApp(App);
|
|
21
18
|
|
|
22
|
-
app.use(pinia)
|
|
23
|
-
app.use(router)
|
|
19
|
+
app.use(pinia);
|
|
20
|
+
app.use(router);
|
|
24
21
|
|
|
25
|
-
const mainStore = useMainStore()
|
|
26
|
-
const token = document.cookie
|
|
27
|
-
.split("; ")
|
|
28
|
-
.find((row) => row.startsWith("user-token"))
|
|
22
|
+
const mainStore = useMainStore();
|
|
23
|
+
const token = document.cookie.split('; ').find((row) => row.startsWith('user-token'));
|
|
29
24
|
if (mainStore && token) {
|
|
30
|
-
mainStore.setUserToken(token.split(
|
|
25
|
+
mainStore.setUserToken(token.split('=')[1]);
|
|
31
26
|
}
|
|
32
27
|
|
|
33
|
-
app.mount('#app')
|
|
28
|
+
app.mount('#app');
|