@abi-software/flatmapvuer 0.3.0-beta-2-upstream-downstream → 0.3.0-beta-2-upstream-downstream-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/dist/flatmapvuer.common.js +44 -34
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +44 -34
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +5 -5
- package/package.json +1 -1
- package/src/components/Tooltip.vue +20 -7
package/package-lock.json
CHANGED
|
@@ -4573,7 +4573,7 @@
|
|
|
4573
4573
|
"csscolorparser": {
|
|
4574
4574
|
"version": "1.0.3",
|
|
4575
4575
|
"resolved": "https://registry.npmjs.org/csscolorparser/-/csscolorparser-1.0.3.tgz",
|
|
4576
|
-
"integrity": "
|
|
4576
|
+
"integrity": "sha512-umPSgYwZkdFoUrH5hIq5kf0wPSXiro51nPw0j2K/c83KflkPSTBGMz6NJvMB+07VlL0y7VPo6QJcDjcgKTTm3w=="
|
|
4577
4577
|
},
|
|
4578
4578
|
"cssesc": {
|
|
4579
4579
|
"version": "3.0.0",
|
|
@@ -5204,9 +5204,9 @@
|
|
|
5204
5204
|
}
|
|
5205
5205
|
},
|
|
5206
5206
|
"earcut": {
|
|
5207
|
-
"version": "2.2.
|
|
5208
|
-
"resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.
|
|
5209
|
-
"integrity": "sha512
|
|
5207
|
+
"version": "2.2.4",
|
|
5208
|
+
"resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.4.tgz",
|
|
5209
|
+
"integrity": "sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ=="
|
|
5210
5210
|
},
|
|
5211
5211
|
"easy-stack": {
|
|
5212
5212
|
"version": "1.0.1",
|
|
@@ -8558,7 +8558,7 @@
|
|
|
8558
8558
|
"murmurhash-js": {
|
|
8559
8559
|
"version": "1.0.0",
|
|
8560
8560
|
"resolved": "https://registry.npmjs.org/murmurhash-js/-/murmurhash-js-1.0.0.tgz",
|
|
8561
|
-
"integrity": "
|
|
8561
|
+
"integrity": "sha512-TvmkNhkv8yct0SVBSy+o8wYzXjE4Zz3PCesbfs8HiCXXdcTuocApFv11UWlNFWKYsP2okqrhb7JNlSm9InBhIw=="
|
|
8562
8562
|
},
|
|
8563
8563
|
"mute-stream": {
|
|
8564
8564
|
"version": "0.0.8",
|
package/package.json
CHANGED
|
@@ -10,12 +10,6 @@
|
|
|
10
10
|
<!-- Currently we don't show the pubmed viewer, will remove once we are certain it won't be used -->
|
|
11
11
|
<pubmed-viewer v-if="content.featureIds" v-show="false" class="block" :entry="content" @pubmedSearchUrl="pubmedSearchUrlUpdate"/>
|
|
12
12
|
{{content.paths}}
|
|
13
|
-
<div v-if="this.components" class="block">
|
|
14
|
-
<div class="attribute-title">Components</div>
|
|
15
|
-
<div v-for="component in components" class="attribute-content" :key="component">
|
|
16
|
-
{{ capitalise(component) }}
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
13
|
<div v-if="this.origins" class="block">
|
|
20
14
|
<div>
|
|
21
15
|
<span class="attribute-title">Origin</span>
|
|
@@ -27,7 +21,7 @@
|
|
|
27
21
|
>
|
|
28
22
|
<i slot="reference" class="el-icon-warning-outline info"/>
|
|
29
23
|
<span style="word-break: keep-all;">
|
|
30
|
-
<i>Origin</i>
|
|
24
|
+
<i>Origin</i> {{originDescription}}
|
|
31
25
|
</span>
|
|
32
26
|
</el-popover>
|
|
33
27
|
</div>
|
|
@@ -38,6 +32,12 @@
|
|
|
38
32
|
Explore origin data
|
|
39
33
|
</el-button>
|
|
40
34
|
</div>
|
|
35
|
+
<div v-if="this.components" class="block">
|
|
36
|
+
<div class="attribute-title">Components</div>
|
|
37
|
+
<div v-for="component in components" class="attribute-content" :key="component">
|
|
38
|
+
{{ capitalise(component) }}
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
41
|
<div v-if="this.destinations" class="block">
|
|
42
42
|
<div>
|
|
43
43
|
<span class="attribute-title">Destination</span>
|
|
@@ -137,6 +137,10 @@ export default {
|
|
|
137
137
|
components: [],
|
|
138
138
|
destinationsWithDatasets: [],
|
|
139
139
|
originsWithDatasets: [],
|
|
140
|
+
originDescriptions: {
|
|
141
|
+
'motor': 'is the location of the initial cell body of the circuit',
|
|
142
|
+
'sensory': 'is the location of the initial cell body in the PNS circuit'
|
|
143
|
+
},
|
|
140
144
|
componentsWithDatasets: [],
|
|
141
145
|
uberons: [{id: undefined, name: undefined}]
|
|
142
146
|
};
|
|
@@ -152,6 +156,15 @@ export default {
|
|
|
152
156
|
mounted: function(){
|
|
153
157
|
this.getOrganCuries()
|
|
154
158
|
},
|
|
159
|
+
computed: {
|
|
160
|
+
originDescription: function(){
|
|
161
|
+
if(this.content && this.content.title && this.content.title.toLowerCase().includes('motor')){
|
|
162
|
+
return this.originDescriptions.motor
|
|
163
|
+
} else {
|
|
164
|
+
return this.originDescriptions.sensory
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
},
|
|
155
168
|
methods: {
|
|
156
169
|
resourceSelected: function(action) {
|
|
157
170
|
this.$emit("resource-selected", action);
|