@abi-software/map-side-bar 1.1.12 → 1.1.13
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/map-side-bar.common.js +28 -28
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +28 -28
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +1 -1
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/App.vue +32 -2
- package/src/components/SidebarContent.vue +1 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<el-button @click="multiFacets">multiple facets</el-button>
|
|
9
9
|
<el-button @click="neuronSearch">open neuron search</el-button>
|
|
10
10
|
<SideBar :envVars="envVars" class="side-bar" ref="sideBar" :visible="sideBarVisibility"
|
|
11
|
-
:tabs="
|
|
11
|
+
:tabs="tabs" :activeId="activeId" @tabClicked="tabClicked"
|
|
12
12
|
@search-changed="searchChanged($event)" @actionClick="action"/>
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
@@ -18,6 +18,36 @@
|
|
|
18
18
|
// optionally import default styles
|
|
19
19
|
import SideBar from './components/SideBar'
|
|
20
20
|
|
|
21
|
+
let testContext = {
|
|
22
|
+
"version": "0.1.0",
|
|
23
|
+
"heading": "Generic mouse colon scaffold",
|
|
24
|
+
"description": "Annotated mouse colon scaffold available for registration of segmented neural anatomical-functional mapping of enteric neural circuits.",
|
|
25
|
+
"samples": [],
|
|
26
|
+
"views": [
|
|
27
|
+
{
|
|
28
|
+
"annotation": "UBERON:0008971",
|
|
29
|
+
"id": "View 1",
|
|
30
|
+
"path": "derivative/distalColon_view.json",
|
|
31
|
+
"sample": "--",
|
|
32
|
+
"thumbnail": "derivative/distalColon_thumbnail.jpeg"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"annotation": "UBERON:0008972",
|
|
36
|
+
"id": "View 2",
|
|
37
|
+
"path": "derivative/proximalColon_view.json",
|
|
38
|
+
"sample": "--",
|
|
39
|
+
"thumbnail": "derivative/proximalColon_thumbnail.jpeg"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"annotation": "UBERON:0001157",
|
|
43
|
+
"id": "View 3",
|
|
44
|
+
"path": "derivative/transverseColon_view.json",
|
|
45
|
+
"sample": "--",
|
|
46
|
+
"thumbnail": "derivative/transverseColon_thumbnail.jpeg"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
|
|
21
51
|
export default {
|
|
22
52
|
name: 'app',
|
|
23
53
|
components: {
|
|
@@ -35,7 +65,7 @@ export default {
|
|
|
35
65
|
data: function(){
|
|
36
66
|
return {
|
|
37
67
|
tabArray: [{title: 'Flatmap', id:1},{title: 'Heart Scaffold', id:2},{title: 'Stomach Scaffold', id:3}],
|
|
38
|
-
contextArray: [
|
|
68
|
+
contextArray: [testContext,{
|
|
39
69
|
title: "Neural paths mapped to a heart scaffold",
|
|
40
70
|
description: "Points are mapped to their positions on a 3d heart that is mapped to the data.",
|
|
41
71
|
bannerImage: 'https://image.prntscr.com/image/aNIksBFARaKwlKhpnDCKbA.png',
|