@abi-software/flatmapvuer 1.11.1 → 1.11.3

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/flatmapvuer",
3
- "version": "1.11.1",
3
+ "version": "1.11.3",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -44,7 +44,7 @@
44
44
  "./src/*": "./src/*"
45
45
  },
46
46
  "dependencies": {
47
- "@abi-software/map-utilities": "^1.7.0",
47
+ "@abi-software/map-utilities": "1.7.2",
48
48
  "@abi-software/sparc-annotation": "0.3.2",
49
49
  "@abi-software/svg-sprite": "1.0.2",
50
50
  "@element-plus/icons-vue": "^2.3.1",
@@ -643,7 +643,7 @@ import {
643
643
  import { capitalise } from './utilities.js'
644
644
  import yellowstar from '../icons/yellowstar'
645
645
  import ResizeSensor from 'css-element-queries/src/ResizeSensor'
646
- import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.2.13/+esm'
646
+ import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.3.0/+esm'
647
647
  import { AnnotationService } from '@abi-software/sparc-annotation'
648
648
  import { mapState } from 'pinia'
649
649
  import { useMainStore } from '@/store/index'
@@ -3424,19 +3424,14 @@ export default {
3424
3424
  this.drawerOpen = false
3425
3425
  return false
3426
3426
  }
3427
- if (!this.isFC) {
3427
+ if ((this.systems?.length > 0) ||
3428
+ (this.containsAlert && this.alertOptions) ||
3429
+ (this.pathways?.length > 0) ||
3430
+ (this.taxonConnectivity?.length > 0) ||
3431
+ (this.legendEntry?.length > 0)
3432
+ ) {
3428
3433
  this.drawerOpen = true
3429
3434
  return true
3430
- } else {
3431
- if ((this.systems?.length > 0) ||
3432
- (this.containsAlert && this.alertOptions) ||
3433
- (this.pathways?.length > 0) ||
3434
- (this.taxonConnectivity?.length > 0) ||
3435
- (this.legendEntry?.length > 0)
3436
- ) {
3437
- this.drawerOpen = true
3438
- return true
3439
- }
3440
3435
  }
3441
3436
  this.drawerOpen = false
3442
3437
  return false
@@ -101,7 +101,7 @@
101
101
  import { markRaw } from 'vue'
102
102
  import EventBus from './EventBus'
103
103
  import FlatmapVuer from './FlatmapVuer.vue'
104
- import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.2.13/+esm'
104
+ import * as flatmap from 'https://cdn.jsdelivr.net/npm/@abi-software/flatmap-viewer@4.3.0/+esm'
105
105
  import {
106
106
  ElCol as Col,
107
107
  ElOption as Option,