@abi-software/mapintegratedvuer 1.6.4-beta.1 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/mapintegratedvuer",
3
- "version": "1.6.4-beta.1",
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-beta.2",
54
- "@abi-software/map-side-bar": "^2.5.3-beta.5",
55
- "@abi-software/map-utilities": "^1.2.2-beta.1",
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.flatmapReady && this.$refs.multiflatmap) {
456
- const currentFlatmap = this.$refs.multiflatmap.getCurrentFlatmap();
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) {
@@ -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
  },
@@ -12,13 +12,11 @@ export default defineConfig((configEnv) => {
12
12
  fileName: "mapintegratedvuer",
13
13
  },
14
14
  rollupOptions: {
15
- external: ["vue", "pinia", "@abi-software/plotvuer", "@abi-software/simulationvuer"],
15
+ external: ["vue", "pinia"],
16
16
  output: {
17
17
  globals: {
18
18
  vue: "Vue",
19
19
  pinia: "pinia",
20
- "@abi-software/simulationvuer": "simulationvuer",
21
- "@abi-software/plotvuer": "plotvuer",
22
20
  },
23
21
  },
24
22
  },