@abi-software/mapintegratedvuer 1.5.1 → 1.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/mapintegratedvuer",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "license": "Apache-2.0",
5
5
  "scripts": {
6
6
  "serve": "vite --host --force",
@@ -50,11 +50,11 @@
50
50
  "*.js"
51
51
  ],
52
52
  "dependencies": {
53
- "@abi-software/flatmapvuer": "^1.5.5",
53
+ "@abi-software/flatmapvuer": "^1.5.6",
54
54
  "@abi-software/map-side-bar": "^2.4.2",
55
55
  "@abi-software/map-utilities": "^1.1.2",
56
56
  "@abi-software/plotvuer": "^1.0.3",
57
- "@abi-software/scaffoldvuer": "^1.4.2",
57
+ "@abi-software/scaffoldvuer": "^1.5.1",
58
58
  "@abi-software/simulationvuer": "^1.0.1",
59
59
  "@abi-software/svg-sprite": "^1.0.1",
60
60
  "@element-plus/icons-vue": "^2.3.1",
@@ -121,6 +121,7 @@ export default {
121
121
  },
122
122
  speciesChanged: function (species) {
123
123
  this.activeSpecies = species;
124
+ this.$emit("species-changed", species);
124
125
  },
125
126
  receiveSynchronisedEvent: async function (data) {
126
127
  this.$refs.viewer?.receiveSynchronisedEvent(data);
@@ -15,6 +15,7 @@
15
15
  :entry="entry"
16
16
  ref="content"
17
17
  @resource-selected="resourceSelected"
18
+ @species-changed="speciesChanged"
18
19
  :visible="isIdVisible(entry.id)"
19
20
  />
20
21
  </div>
@@ -56,6 +57,9 @@ export default {
56
57
  resourceSelected: function(result) {
57
58
  this.$emit("resource-selected", result);
58
59
  },
60
+ speciesChanged: function (species) {
61
+ this.$emit("species-changed", species);
62
+ },
59
63
  getClass: function(id) {
60
64
  if (this.isIdVisible(id)) {
61
65
  return this.getRefsName(id);
@@ -41,6 +41,7 @@
41
41
  :entries="entries"
42
42
  ref="splitdialog"
43
43
  @resource-selected="resourceSelected"
44
+ @species-changed="speciesChanged"
44
45
  />
45
46
  </div>
46
47
  </el-main>
@@ -451,6 +452,11 @@ export default {
451
452
  this.$refs.splitdialog.sendSynchronisedEvent(result);
452
453
  }
453
454
  },
455
+ speciesChanged: function (species) {
456
+ if (this.$refs.sideBar) {
457
+ this.$refs.sideBar.close();
458
+ }
459
+ },
454
460
  tabClicked: function ({id, type}) {
455
461
  this.activeDockedId = id;
456
462
  },