@abi-software/flatmapvuer 1.5.1 → 1.5.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.5.1",
3
+ "version": "1.5.3",
4
4
  "license": "Apache-2.0",
5
5
  "files": [
6
6
  "dist/*",
@@ -43,10 +43,10 @@
43
43
  "./src/*": "./src/*"
44
44
  },
45
45
  "dependencies": {
46
- "@abi-software/flatmap-viewer": "3.1.8",
47
- "@abi-software/map-utilities": "1.1.0",
46
+ "@abi-software/flatmap-viewer": "3.1.9",
47
+ "@abi-software/map-utilities": "^1.1.1",
48
48
  "@abi-software/sparc-annotation": "0.3.1",
49
- "@abi-software/svg-sprite": "1.0.0",
49
+ "@abi-software/svg-sprite": "^1.0.1",
50
50
  "@element-plus/icons-vue": "^2.3.1",
51
51
  "css-element-queries": "^1.2.2",
52
52
  "element-plus": "2.5.5",
@@ -56,10 +56,8 @@
56
56
  "vue": "^3.4.15"
57
57
  },
58
58
  "devDependencies": {
59
- "@cypress/webpack-dev-server": "^3.6.1",
60
59
  "@vitejs/plugin-vue": "^4.6.2",
61
60
  "@vuese/markdown-render": "^2.11.3",
62
- "@vuese/parser": "^2.10.3",
63
61
  "auto-changelog": "^2.4.0",
64
62
  "babel-eslint": "^10.1.0",
65
63
  "chokidar": "^3.6.0",
@@ -73,7 +71,8 @@
73
71
  "mochawesome": "^7.1.3",
74
72
  "sass": "^1.69.5",
75
73
  "vite": "^5.0.10",
76
- "vitepress": "^1.0.0-rc.44"
74
+ "vitepress": "^1.0.0-rc.44",
75
+ "vue-docgen-api": "^4.79.2"
77
76
  },
78
77
  "eslintConfig": {
79
78
  "root": true,
package/src/App.vue CHANGED
@@ -133,6 +133,15 @@ export default {
133
133
  FlatmapSelected: function (resource) {
134
134
  if (resource.eventType === 'click') {
135
135
  if (this.consoleOn) console.log('resource', resource)
136
+
137
+ // Show marker on centreline of right vagus X nerve trunk
138
+ const { kind, models, location } = resource.feature;
139
+ if (window.flatmapImp && models && location && kind === 'centreline') {
140
+ window.flatmapImp.clearMarkers();
141
+ window.flatmapImp.addMarker(models, {
142
+ location: location
143
+ });
144
+ }
136
145
  }
137
146
  },
138
147
  onOpenPubmedUrl: function (url) {