@abi-software/mapintegratedvuer 1.21.0 → 1.21.2
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-DrSaFEDd.js} +3 -3
- package/dist/{ContentMixin-Vn34n5t2.js → ContentMixin-Xg0PjBqG.js} +2 -2
- package/dist/{DynamicMarkerMixin-B087dVL_.js → DynamicMarkerMixin-D5Ruu_hd.js} +2 -2
- package/dist/{Flatmap-Bm7m_5m_.js → Flatmap-CxN8TbnS.js} +4 -4
- package/dist/{Iframe-BWbhTjCR.js → Iframe-CkgbLfJt.js} +4 -4
- package/dist/{MultiFlatmap-JziqSEwL.js → MultiFlatmap-CkejvAJe.js} +4 -4
- package/dist/{Plot-ChbPsDZX.js → Plot-BfwoipSl.js} +2 -2
- package/dist/{Scaffold-C6f7c7Ha.js → Scaffold-DCqsTKpg.js} +4 -4
- package/dist/{Simulation-DcJScRYo.js → Simulation-BOtU3kTT.js} +2 -2
- package/dist/{connectivities-UXTqf7_0.js → connectivities-DyeS8w0c.js} +126 -95
- package/dist/index.html +9 -6
- package/dist/mapintegratedvuer.js +5489 -5578
- 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 +234 -249
- 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 +98 -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 +90 -86
- 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 +421 -237
- 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 +59 -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 +17 -21
- 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 +364 -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
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');
|