@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/map-side-bar",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "main": "./dist/map-side-bar.common.js",
5
5
  "files": [
6
6
  "dist/*",
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="tabArray" :activeId="activeId" @tabClicked="tabClicked"
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: [null,{
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',
@@ -185,7 +185,7 @@ export default {
185
185
  this.resetPageNavigation()
186
186
  this.searchAlgolia(filters, this.searchInput)
187
187
  this.$emit("search-changed", {
188
- value: this.filter,
188
+ value: filters,
189
189
  type: "filter-update"
190
190
  });
191
191
  },