@abi-software/mapintegratedvuer 1.6.4-beta.2 → 1.6.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/cypress.config.js +0 -11
- package/dist/{ContentMixin-C2zqlbpz.js → ContentMixin-BN-CocZo.js} +5 -9
- package/dist/{Flatmap-BKEPnaCc.js → Flatmap-Bes3nf12.js} +55 -57
- package/dist/{Iframe-Bb9zxykf.js → Iframe-CNaYaOFI.js} +2 -2
- package/dist/{MultiFlatmap-Bbm63ncf.js → MultiFlatmap-DDE7fILJ.js} +7 -9
- package/dist/{Plot-CpP1m0-q.js → Plot-chQmaWkL.js} +2 -2
- package/dist/Scaffold-B8oEbUhR.js +43720 -0
- package/dist/{Simulation-B__4pHV9.js → Simulation-BR5RXJRJ.js} +2 -2
- package/dist/{index-D9zO35dX.js → index-DmhyWo8Q.js} +16194 -16084
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +609 -1070
- package/dist/{style-DZx9Oi9Q.js → style-BB12oJXK.js} +13952 -13968
- package/dist/style.css +1 -1
- package/package.json +4 -5
- package/src/components/viewers/Flatmap.vue +0 -2
- package/src/components/viewers/MultiFlatmap.vue +2 -5
- package/src/mixins/ContentMixin.js +0 -7
- package/src/stores/settings.js +0 -4
- package/dist/Scaffold-BOXf9pkx.js +0 -71951
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abi-software/mapintegratedvuer",
|
3
|
-
"version": "1.6.4
|
3
|
+
"version": "1.6.4",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"scripts": {
|
6
6
|
"serve": "vite --host --force",
|
@@ -50,9 +50,9 @@
|
|
50
50
|
"*.js"
|
51
51
|
],
|
52
52
|
"dependencies": {
|
53
|
-
"@abi-software/flatmapvuer": "^1.6.2
|
54
|
-
"@abi-software/map-side-bar": "^2.5.
|
55
|
-
"@abi-software/map-utilities": "^1.2.
|
53
|
+
"@abi-software/flatmapvuer": "^1.6.2",
|
54
|
+
"@abi-software/map-side-bar": "^2.5.2",
|
55
|
+
"@abi-software/map-utilities": "^1.2.1",
|
56
56
|
"@abi-software/plotvuer": "^1.0.3",
|
57
57
|
"@abi-software/scaffoldvuer": "^1.6.2",
|
58
58
|
"@abi-software/simulationvuer": "^1.0.1",
|
@@ -81,7 +81,6 @@
|
|
81
81
|
"concurrently": "^8.2.2",
|
82
82
|
"cypress": "^13.13.0",
|
83
83
|
"cypress-multi-reporters": "^1.6.4",
|
84
|
-
"cypress-visual-regression": "^5.2.2",
|
85
84
|
"cypress-wait-until": "^1.7.1",
|
86
85
|
"dom-parser": "^0.1.6",
|
87
86
|
"eslint": "^8.56.0",
|
@@ -3,7 +3,6 @@
|
|
3
3
|
<FlatmapVuer
|
4
4
|
:state="entry.state"
|
5
5
|
:entry="entry.resource"
|
6
|
-
:mapManager="mapManager"
|
7
6
|
@resource-selected="flatmaprResourceSelected(entry.type, $event)"
|
8
7
|
@pan-zoom-callback="flatmapPanZoomCallback"
|
9
8
|
:name="entry.resource"
|
@@ -33,7 +32,6 @@
|
|
33
32
|
:sparcAPI="apiLocation"
|
34
33
|
@open-map="openMap"
|
35
34
|
@pathway-selection-changed="onPathwaySelectionChanged"
|
36
|
-
@mapmanager-loaded="onMapmanagerLoaded"
|
37
35
|
/>
|
38
36
|
|
39
37
|
<HelpModeDialog
|
@@ -5,7 +5,6 @@
|
|
5
5
|
@flatmapChanged="flatmapChanged"
|
6
6
|
@ready="multiFlatmapReady"
|
7
7
|
:state="entry.state"
|
8
|
-
:mapManager="mapManager"
|
9
8
|
@resource-selected="flatmaprResourceSelected(entry.type, $event)"
|
10
9
|
style="height: 100%; width: 100%"
|
11
10
|
:initial="entry.resource"
|
@@ -34,7 +33,6 @@
|
|
34
33
|
@finish-help-mode="endHelp"
|
35
34
|
@pathway-selection-changed="onPathwaySelectionChanged"
|
36
35
|
@open-pubmed-url="onOpenPubmedUrl"
|
37
|
-
@mapmanager-loaded="onMapmanagerLoaded"
|
38
36
|
/>
|
39
37
|
|
40
38
|
<HelpModeDialog
|
@@ -452,9 +450,8 @@ export default {
|
|
452
450
|
this.getFeaturedDatasets();
|
453
451
|
|
454
452
|
EventBus.on('annotation-close', (payload) => {
|
455
|
-
if (payload?.tabClose && this
|
456
|
-
|
457
|
-
currentFlatmap.annotationEventCallback({}, { type: 'aborted' })
|
453
|
+
if (payload?.tabClose && this.$refs.multiflatmap.getCurrentFlatmap()) {
|
454
|
+
this.$refs.multiflatmap.getCurrentFlatmap().annotationEventCallback({}, { type: 'aborted' })
|
458
455
|
}
|
459
456
|
});
|
460
457
|
|
@@ -77,9 +77,6 @@ export default {
|
|
77
77
|
|
78
78
|
this.onConnectivityInfoClose();
|
79
79
|
},
|
80
|
-
onMapmanagerLoaded: function (mapManager) {
|
81
|
-
this.settingsStore.updateMapManager(mapManager);
|
82
|
-
},
|
83
80
|
trackOpenMap: function (category) {
|
84
81
|
// GA Tagging
|
85
82
|
// Open map tracking
|
@@ -528,7 +525,6 @@ export default {
|
|
528
525
|
scaffoldLoaded: false,
|
529
526
|
isInHelp: false,
|
530
527
|
hoverDelay: undefined,
|
531
|
-
mapManager: undefined,
|
532
528
|
};
|
533
529
|
},
|
534
530
|
created: function () {
|
@@ -538,9 +534,6 @@ export default {
|
|
538
534
|
this.flatmapAPI = this.settingsStore.flatmapAPI;
|
539
535
|
if (this.settingsStore.sparcApi)
|
540
536
|
this.apiLocation = this.settingsStore.sparcApi;
|
541
|
-
if (this.settingsStore.mapManager) {
|
542
|
-
this.mapManager = this.settingsStore.mapManager;
|
543
|
-
}
|
544
537
|
},
|
545
538
|
watch: {
|
546
539
|
helpMode: function (newVal) {
|
package/src/stores/settings.js
CHANGED
@@ -14,7 +14,6 @@ export const useSettingsStore = defineStore('settings', {
|
|
14
14
|
flatmapAPI: undefined,
|
15
15
|
nlLinkPrefix: undefined,
|
16
16
|
flatmapAPI2: "https://mapcore-demo.org/curation/flatmap/",
|
17
|
-
mapManager: undefined,
|
18
17
|
rootUrl: undefined,
|
19
18
|
facets: { species: [], gender: [], organ: [] },
|
20
19
|
numberOfDatasetsForFacets: [],
|
@@ -68,9 +67,6 @@ export const useSettingsStore = defineStore('settings', {
|
|
68
67
|
updateFlatmapAPI2(flatmapAPI2) {
|
69
68
|
this.flatmapAPI2 = flatmapAPI2;
|
70
69
|
},
|
71
|
-
updateMapManager(mapManager) {
|
72
|
-
this.mapManager = mapManager;
|
73
|
-
},
|
74
70
|
updateNLLinkPrefix(nlLinkPrefix) {
|
75
71
|
this.nlLinkPrefix = nlLinkPrefix;
|
76
72
|
},
|