@abi-software/map-side-bar 1.2.3-hardcoded-1 → 1.3.1
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/LICENSE +201 -201
- package/README.md +53 -53
- package/babel.config.js +14 -14
- package/dist/map-side-bar.common.js +1147 -623
- 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 +1147 -623
- 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-lock.json +13698 -13548
- package/package.json +65 -64
- package/public/index.html +17 -17
- package/src/App.vue +133 -130
- package/src/algolia/algolia.js +127 -119
- package/src/algolia/utils.js +51 -51
- package/src/components/BadgesGroup.vue +141 -0
- package/src/components/Cascader.vue +49 -49
- package/src/components/ContextCard.vue +241 -259
- package/src/components/DatasetCard.vue +325 -405
- package/src/components/EventBus.js +3 -3
- package/src/components/ImageGallery.vue +505 -0
- package/src/components/SearchFilters.vue +557 -557
- package/src/components/SideBar.vue +239 -239
- package/src/components/SidebarContent.vue +476 -459
- package/src/components/Tabs.vue +78 -78
- package/src/components/hardcoded-context-info.js +79 -288
- package/src/components/index.js +8 -8
- package/src/components/species-map.js +8 -8
- package/src/main.js +8 -8
- package/static.json +6 -6
- package/vue.config.js +11 -11
- package/scaffold_context_info.json +0 -30
- package/src/components/processFilters.js +0 -22
- package/src/components/scaffold-meta-map.js +0 -29
package/src/components/Tabs.vue
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="tab-container">
|
|
3
|
-
<div class="title" v-for="title in tabTitles" :key="title.id">
|
|
4
|
-
<div class="title-text-table" v-bind:class="{ highlightText : (title.id==activeId) }" v-on:click="titleClicked(title.id)">
|
|
5
|
-
<div class="title-text">
|
|
6
|
-
{{title.title}}
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script>
|
|
14
|
-
/* eslint-disable no-alert, no-console */
|
|
15
|
-
|
|
16
|
-
export default {
|
|
17
|
-
name: "Tabs",
|
|
18
|
-
props: {
|
|
19
|
-
tabTitles: {
|
|
20
|
-
type: Array,
|
|
21
|
-
default: () => []
|
|
22
|
-
},
|
|
23
|
-
activeId: {
|
|
24
|
-
type: Number,
|
|
25
|
-
default: 1
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
methods: {
|
|
29
|
-
titleClicked: function(id) {
|
|
30
|
-
this.$emit("titleClicked", id);
|
|
31
|
-
},
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
</script>
|
|
36
|
-
|
|
37
|
-
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
38
|
-
<style scoped>
|
|
39
|
-
|
|
40
|
-
.tab-container{
|
|
41
|
-
height: 28px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.title {
|
|
45
|
-
width: 101px;
|
|
46
|
-
height: 28px;
|
|
47
|
-
border: solid 1px #dcdfe6;
|
|
48
|
-
border-bottom: none;
|
|
49
|
-
background-color: white;
|
|
50
|
-
display:inline-block;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.title:hover {
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.title-text {
|
|
58
|
-
text-align:center;
|
|
59
|
-
display: table-cell;
|
|
60
|
-
vertical-align: middle;
|
|
61
|
-
font-size: 14px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.title-text-table {
|
|
65
|
-
display:table;
|
|
66
|
-
height: 100%;
|
|
67
|
-
width: 100%;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.parent-dialog:hover .title-text {
|
|
71
|
-
color:#8300bf;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.highlightText {
|
|
75
|
-
color:#8300bf;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="tab-container">
|
|
3
|
+
<div class="title" v-for="title in tabTitles" :key="title.id">
|
|
4
|
+
<div class="title-text-table" v-bind:class="{ highlightText : (title.id==activeId) }" v-on:click="titleClicked(title.id)">
|
|
5
|
+
<div class="title-text">
|
|
6
|
+
{{title.title}}
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
/* eslint-disable no-alert, no-console */
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
name: "Tabs",
|
|
18
|
+
props: {
|
|
19
|
+
tabTitles: {
|
|
20
|
+
type: Array,
|
|
21
|
+
default: () => []
|
|
22
|
+
},
|
|
23
|
+
activeId: {
|
|
24
|
+
type: Number,
|
|
25
|
+
default: 1
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
methods: {
|
|
29
|
+
titleClicked: function(id) {
|
|
30
|
+
this.$emit("titleClicked", id);
|
|
31
|
+
},
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
};
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
38
|
+
<style scoped>
|
|
39
|
+
|
|
40
|
+
.tab-container{
|
|
41
|
+
height: 28px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.title {
|
|
45
|
+
width: 101px;
|
|
46
|
+
height: 28px;
|
|
47
|
+
border: solid 1px #dcdfe6;
|
|
48
|
+
border-bottom: none;
|
|
49
|
+
background-color: white;
|
|
50
|
+
display:inline-block;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.title:hover {
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.title-text {
|
|
58
|
+
text-align:center;
|
|
59
|
+
display: table-cell;
|
|
60
|
+
vertical-align: middle;
|
|
61
|
+
font-size: 14px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.title-text-table {
|
|
65
|
+
display:table;
|
|
66
|
+
height: 100%;
|
|
67
|
+
width: 100%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.parent-dialog:hover .title-text {
|
|
71
|
+
color:#8300bf;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.highlightText {
|
|
75
|
+
color:#8300bf;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
</style>
|
|
@@ -1,289 +1,80 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"annotation": "",
|
|
83
|
-
"description": "Digital tracing of neurons for subject M134.",
|
|
84
|
-
"id": "View 3",
|
|
85
|
-
"path": "derivative/Scaffolds/AAV_M134_view.json",
|
|
86
|
-
"sample": "Sample 7",
|
|
87
|
-
"thumbnail": "derivative/Scaffolds/AAV_M134_thumbnail.jpeg"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"annotation": "",
|
|
91
|
-
"description": "Digital tracing of neurons for subject M162.",
|
|
92
|
-
"id": "View 4",
|
|
93
|
-
"path": "derivative/Scaffolds/AAV_M162_view.json",
|
|
94
|
-
"sample": "Sample 7",
|
|
95
|
-
"thumbnail": "derivative/Scaffolds/AAV_M162_thumbnail.jpeg"
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"annotation": "",
|
|
99
|
-
"description": "Digital tracing of neurons for subject M163.",
|
|
100
|
-
"id": "View 5",
|
|
101
|
-
"path": "derivative/Scaffolds/AAV_M163_view.json",
|
|
102
|
-
"sample": "Sample 7",
|
|
103
|
-
"thumbnail": "derivative/Scaffolds/AAV_M163_thumbnail.jpeg"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"annotation": "",
|
|
107
|
-
"description": "Digital tracing of neurons for subject M164.",
|
|
108
|
-
"id": "View 6",
|
|
109
|
-
"path": "derivative/Scaffolds/AAV_M164_view.json",
|
|
110
|
-
"sample": "Sample 7",
|
|
111
|
-
"thumbnail": "derivative/Scaffolds/AAV_M164_thumbnail.jpeg"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"annotation": "",
|
|
115
|
-
"description": "Digital tracing of neurons for subject M168.",
|
|
116
|
-
"id": "View 7",
|
|
117
|
-
"path": "derivative/Scaffolds/AAV_M168_view.json",
|
|
118
|
-
"sample": "Sample 7",
|
|
119
|
-
"thumbnail": "derivative/Scaffolds/AAV_M168_thumbnail.jpeg"
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"annotation": "",
|
|
123
|
-
"description": "Digital tracing of neurons for subject M11.",
|
|
124
|
-
"id": "View 1",
|
|
125
|
-
"path": "derivative/Scaffolds/AAV_M11_view.json",
|
|
126
|
-
"sample": "Sample 1",
|
|
127
|
-
"thumbnail": "derivative/Scaffolds/AAV_M11_thumbnail.jpeg"
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
125: {
|
|
132
|
-
"description": "Cumulative distributions of retrogradely labeled motor neurons from 8 inter-tenial longitudinal muscle preparations and 7 preparations from the tenial region are mapped onto the human colon scaffold. \n\nNote that the distributions are mapped to the descending colon but consistent pattern were observed along the entire length of the colon.",
|
|
133
|
-
"heading": "Mapped LMMN projections",
|
|
134
|
-
"id": "sparc.science.context_data",
|
|
135
|
-
"samples": [
|
|
136
|
-
{
|
|
137
|
-
"annotation": "",
|
|
138
|
-
"description": "Excitatory motor neurons (ChAT+) are predominantly located aboral to the DiI application site, whereas inhibitory motor neurons (NOS+) are scattered across the distribution.",
|
|
139
|
-
"doi": "",
|
|
140
|
-
"heading": "Distribution of LMMN in inter-tenial region",
|
|
141
|
-
"id": "Sample 2",
|
|
142
|
-
"path": "",
|
|
143
|
-
"view": "View 2"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"annotation": "",
|
|
147
|
-
"description": "Excitatory motor neuron cell bodies (ChAT+) are clustered anal to the DiI application site and thus mostly had ascending projections while inhibitory motor neurons (NOS+) are located on both sides of the application site.",
|
|
148
|
-
"doi": "",
|
|
149
|
-
"heading": "Distribution of LMMN in tenial region",
|
|
150
|
-
"id": "Sample 1",
|
|
151
|
-
"path": "",
|
|
152
|
-
"view": "View 1"
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
"version": "0.1.0",
|
|
156
|
-
"views": [
|
|
157
|
-
{
|
|
158
|
-
"annotation": "",
|
|
159
|
-
"description": "Distribution of LMMN in tenial region",
|
|
160
|
-
"id": "View 1",
|
|
161
|
-
"path": "derivative/Scaffolds/scaffoldMap_tenial_view.json",
|
|
162
|
-
"sample": "Sample 1",
|
|
163
|
-
"thumbnail": "derivative/Scaffolds/scaffoldMap_tenial_thumbnail.jpeg"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"annotation": "",
|
|
167
|
-
"description": "Distribution of LMMN in inter-tenial region",
|
|
168
|
-
"id": "View 2",
|
|
169
|
-
"path": "derivative/Scaffolds/scaffoldMap_intertenial_view.json",
|
|
170
|
-
"sample": "Sample 2",
|
|
171
|
-
"thumbnail": "derivative/Scaffolds/scaffoldMap_intertenial_thumbnail.jpeg"
|
|
172
|
-
}
|
|
173
|
-
]
|
|
174
|
-
},
|
|
175
|
-
34: {
|
|
176
|
-
"description": "Relative contraction and mean luminal pressure (represented by a color field with red as high pressure and blue as low pressure) are mapped on the proximal, transverse and distal sections of the pig colon scaffold. Only sections monitored with manometry probes are displayed here and these sections are not contiguous. \n\nBaseline data was collected for 30min, followed by 15min of stimulation and 30min of post-stimulation.\n\nDuring stimulation, the distal colon was also observed to display longitudinal contraction which is not captured on the scaffold due to the lack of measurements. \n\n",
|
|
177
|
-
"heading": "Direct distal colon stimulation",
|
|
178
|
-
"id": "sparc.science.context_data",
|
|
179
|
-
"samples": [
|
|
180
|
-
{
|
|
181
|
-
"annotation": "",
|
|
182
|
-
"description": "",
|
|
183
|
-
"doi": "",
|
|
184
|
-
"heading": "Direct distal colon stimulation",
|
|
185
|
-
"id": "Sample 1",
|
|
186
|
-
"path": "derivative/sub-all_direct-stim_manometry_distal-colon.xlsx",
|
|
187
|
-
"view": ""
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
"version": "0.1.0",
|
|
191
|
-
"views": []
|
|
192
|
-
},
|
|
193
|
-
150: {
|
|
194
|
-
"description": "Relative contraction and mean luminal pressure (represented by a color field with red as high pressure and blue as low pressure) are mapped on the proximal, transverse and distal sections of the pig colon scaffold. Only sections monitored with manometry probes are displayed here and these sections are not contiguous. \n\nBaseline data was collected for 15min, followed by 10min of stimulation and 30min of post-stimulation.",
|
|
195
|
-
"heading": "Acute CBVN 300us pulse-train without block",
|
|
196
|
-
"id": "sparc.science.context_data",
|
|
197
|
-
"samples": [
|
|
198
|
-
{
|
|
199
|
-
"annotation": "",
|
|
200
|
-
"description": "",
|
|
201
|
-
"doi": "",
|
|
202
|
-
"heading": "Acute CBVN 300us pulse-train without block",
|
|
203
|
-
"id": "Sample 1",
|
|
204
|
-
"path": "derivative/perf-CBVN-stim_300us_5mA_PT/sub-all_CBVN-stim_300us_5_mA_PT_woB_manometry.xlsx",
|
|
205
|
-
"view": ""
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"version": "0.1.0",
|
|
209
|
-
"views": []
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
// //Uncomment the code below to add in hardcoded data
|
|
214
|
-
// export default {
|
|
215
|
-
// 77: {
|
|
216
|
-
// "description": "This dataset contains single cell scale anatomical map of the rat intrinsic cardiac nervous system (ICNS) across four male and three female hearts. These cell clusters can be seen by the yellow data points on the image as well as spherical markers on the 3D heart scaffold. The dataset provides an integrative framework to visualise the spatial distribution of ICNS across different hearts.",
|
|
217
|
-
// "heading": "Mapped ICN samples",
|
|
218
|
-
// "id": "sparc.science.context_data",
|
|
219
|
-
// "samples": [
|
|
220
|
-
// {
|
|
221
|
-
// "annotation": "",
|
|
222
|
-
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
223
|
-
// "doi": "",
|
|
224
|
-
// "heading": "ICNS from subject M54-8",
|
|
225
|
-
// "id": "Sample 1",
|
|
226
|
-
// "path": "",
|
|
227
|
-
// "view": "View 1",
|
|
228
|
-
// "color": "#FFFF00",
|
|
229
|
-
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
230
|
-
// },
|
|
231
|
-
// {
|
|
232
|
-
// "annotation": "",
|
|
233
|
-
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
234
|
-
// "doi": "",
|
|
235
|
-
// "heading": "ICNS from subject M54-5",
|
|
236
|
-
// "id": "Sample 2",
|
|
237
|
-
// "path": "",
|
|
238
|
-
// "view": "View 2",
|
|
239
|
-
// "color": "#FFA500",
|
|
240
|
-
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
241
|
-
// }
|
|
242
|
-
// ],
|
|
243
|
-
// "version": "0.1.0",
|
|
244
|
-
// },
|
|
245
|
-
// 221: {
|
|
246
|
-
// "description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M162, M163, M164, M168) are mapped randomly on mouse proximal colon. The data depicts individual neural wiring patterns in enteric microcircuits, and revealed both neuron and fiber units wired in a complex organization.",
|
|
247
|
-
// "heading": "Digital tracings of enteric plexus",
|
|
248
|
-
// "id": "sparc.science.context_data",
|
|
249
|
-
// "samples": [
|
|
250
|
-
// {
|
|
251
|
-
// "annotation": "",
|
|
252
|
-
// "description": "Neuronal soma and fibers in a myenteric ganglion in this subject are annotated into the following groups to highlight their interactions:\n\nNeuron1,2,3 Connex: Connections between 3 neurons and cross-ganglionic fibers\n\nNeuron4_Connex: A small neuron contacts fibers passing the ganglion\n\nNeuron5: Multiple projections of a neuron in an myenteric ganglion\n\nNeuron5,3,7 Connex: Connections between 3 neurons, nerve fibers, IGNEx (complex type of intraganglionic nerve endings) and fibers in the circular muscles.\n\nNeuron8,9,10 Connex: Connections of 3 neurons with each other and with long passing fibers. \n\nIntraganglionic Nerve Ending (IGNE): Digital traces of neurites consist of complex intraganglionic nerve endings. The blue fiber has branched terminals, more likely the afferent nerve endings; the violet and cyan terminals also interweave into the fiber nest; the orange, pink and peach fibers and one process of the neuron cross the IGNE to make 1-2 conjunctions. \n",
|
|
253
|
-
// "doi": "",
|
|
254
|
-
// "heading": "Digital tracing for subject M11",
|
|
255
|
-
// "id": "Sample 1",
|
|
256
|
-
// "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
257
|
-
// "view": "View 1"
|
|
258
|
-
// },
|
|
259
|
-
// {
|
|
260
|
-
// "annotation": "",
|
|
261
|
-
// "description": "This digital trace demonstrates some types of wiring. A long process of the green neuron terminates in the intraganglionic nerve endings (IGNE) while in contact with a nerve fiber (cyan), soma of a neuron (peach) and processes of 3 neurons (magenta, yellow and red). Two neurons and one fiber are traced to an IGNE. ",
|
|
262
|
-
// "doi": "",
|
|
263
|
-
// "heading": "Digital tracing for subject M16",
|
|
264
|
-
// "id": "Sample 2",
|
|
265
|
-
// "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
266
|
-
// "view": "View 2"
|
|
267
|
-
// }
|
|
268
|
-
// ],
|
|
269
|
-
// "version": "0.1.0",
|
|
270
|
-
// "views": [
|
|
271
|
-
// {
|
|
272
|
-
// "annotation": "",
|
|
273
|
-
// "description": "Digital tracing of neurons for subject M11.",
|
|
274
|
-
// "id": "View 1",
|
|
275
|
-
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
276
|
-
// "sample": "Sample 1",
|
|
277
|
-
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
278
|
-
// },
|
|
279
|
-
// {
|
|
280
|
-
// "annotation": "",
|
|
281
|
-
// "description": "Digital tracing of neurons for subject M16.",
|
|
282
|
-
// "id": "View 2",
|
|
283
|
-
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
284
|
-
// "sample": "Sample 2",
|
|
285
|
-
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
|
|
286
|
-
// }
|
|
287
|
-
// ]
|
|
288
|
-
// }
|
|
1
|
+
export default {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
// //Uncomment the code below to add in hardcoded data
|
|
5
|
+
// export default {
|
|
6
|
+
// 77: {
|
|
7
|
+
// "description": "This dataset contains single cell scale anatomical map of the rat intrinsic cardiac nervous system (ICNS) across four male and three female hearts. These cell clusters can be seen by the yellow data points on the image as well as spherical markers on the 3D heart scaffold. The dataset provides an integrative framework to visualise the spatial distribution of ICNS across different hearts.",
|
|
8
|
+
// "heading": "Mapped ICN samples",
|
|
9
|
+
// "id": "sparc.science.context_data",
|
|
10
|
+
// "samples": [
|
|
11
|
+
// {
|
|
12
|
+
// "annotation": "",
|
|
13
|
+
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
14
|
+
// "doi": "",
|
|
15
|
+
// "heading": "ICNS from subject M54-8",
|
|
16
|
+
// "id": "Sample 1",
|
|
17
|
+
// "path": "",
|
|
18
|
+
// "view": "View 1",
|
|
19
|
+
// "color": "#FFFF00",
|
|
20
|
+
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
21
|
+
// },
|
|
22
|
+
// {
|
|
23
|
+
// "annotation": "",
|
|
24
|
+
// "description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
25
|
+
// "doi": "",
|
|
26
|
+
// "heading": "ICNS from subject M54-5",
|
|
27
|
+
// "id": "Sample 2",
|
|
28
|
+
// "path": "",
|
|
29
|
+
// "view": "View 2",
|
|
30
|
+
// "color": "#FFA500",
|
|
31
|
+
// "thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
32
|
+
// }
|
|
33
|
+
// ],
|
|
34
|
+
// "version": "0.1.0",
|
|
35
|
+
// },
|
|
36
|
+
// 221: {
|
|
37
|
+
// "description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M162, M163, M164, M168) are mapped randomly on mouse proximal colon. The data depicts individual neural wiring patterns in enteric microcircuits, and revealed both neuron and fiber units wired in a complex organization.",
|
|
38
|
+
// "heading": "Digital tracings of enteric plexus",
|
|
39
|
+
// "id": "sparc.science.context_data",
|
|
40
|
+
// "samples": [
|
|
41
|
+
// {
|
|
42
|
+
// "annotation": "",
|
|
43
|
+
// "description": "Neuronal soma and fibers in a myenteric ganglion in this subject are annotated into the following groups to highlight their interactions:\n\nNeuron1,2,3 Connex: Connections between 3 neurons and cross-ganglionic fibers\n\nNeuron4_Connex: A small neuron contacts fibers passing the ganglion\n\nNeuron5: Multiple projections of a neuron in an myenteric ganglion\n\nNeuron5,3,7 Connex: Connections between 3 neurons, nerve fibers, IGNEx (complex type of intraganglionic nerve endings) and fibers in the circular muscles.\n\nNeuron8,9,10 Connex: Connections of 3 neurons with each other and with long passing fibers. \n\nIntraganglionic Nerve Ending (IGNE): Digital traces of neurites consist of complex intraganglionic nerve endings. The blue fiber has branched terminals, more likely the afferent nerve endings; the violet and cyan terminals also interweave into the fiber nest; the orange, pink and peach fibers and one process of the neuron cross the IGNE to make 1-2 conjunctions. \n",
|
|
44
|
+
// "doi": "",
|
|
45
|
+
// "heading": "Digital tracing for subject M11",
|
|
46
|
+
// "id": "Sample 1",
|
|
47
|
+
// "path": "files/derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
|
|
48
|
+
// "view": "View 1"
|
|
49
|
+
// },
|
|
50
|
+
// {
|
|
51
|
+
// "annotation": "",
|
|
52
|
+
// "description": "This digital trace demonstrates some types of wiring. A long process of the green neuron terminates in the intraganglionic nerve endings (IGNE) while in contact with a nerve fiber (cyan), soma of a neuron (peach) and processes of 3 neurons (magenta, yellow and red). Two neurons and one fiber are traced to an IGNE. ",
|
|
53
|
+
// "doi": "",
|
|
54
|
+
// "heading": "Digital tracing for subject M16",
|
|
55
|
+
// "id": "Sample 2",
|
|
56
|
+
// "path": "files/derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
|
|
57
|
+
// "view": "View 2"
|
|
58
|
+
// }
|
|
59
|
+
// ],
|
|
60
|
+
// "version": "0.1.0",
|
|
61
|
+
// "views": [
|
|
62
|
+
// {
|
|
63
|
+
// "annotation": "--",
|
|
64
|
+
// "description": "Digital tracing of neurons for subject M11.",
|
|
65
|
+
// "id": "View 1",
|
|
66
|
+
// "path": "files/derivative/Scaffolds/M11_view.json",
|
|
67
|
+
// "sample": "Sample 1",
|
|
68
|
+
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M11_thumbnail.jpeg"
|
|
69
|
+
// },
|
|
70
|
+
// {
|
|
71
|
+
// "annotation": "--",
|
|
72
|
+
// "description": "Digital tracing of neurons for subject M16.",
|
|
73
|
+
// "id": "View 2",
|
|
74
|
+
// "path": "files/derivative/Scaffolds/M16_view.json",
|
|
75
|
+
// "sample": "Sample 2",
|
|
76
|
+
// "thumbnail": "https://api.sparc.science/s3-resource/221/2/files/derivative/Scaffolds/M16_thumbnail.jpeg"
|
|
77
|
+
// }
|
|
78
|
+
// ]
|
|
79
|
+
// }
|
|
289
80
|
// }
|
package/src/components/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import SideBar from "./SideBar.vue"
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
SideBar
|
|
5
|
-
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import SideBar from "./SideBar.vue"
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
SideBar
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
'homo sapiens': 'Human',
|
|
3
|
-
'rattus norvegicus': 'Rat',
|
|
4
|
-
'mus musculus': 'Mouse',
|
|
5
|
-
'sus scrofa domesticus': 'Pig',
|
|
6
|
-
'sus scrofa': 'Boar',
|
|
7
|
-
'felis catus': 'Cat'
|
|
8
|
-
}
|
|
1
|
+
export default {
|
|
2
|
+
'homo sapiens': 'Human',
|
|
3
|
+
'rattus norvegicus': 'Rat',
|
|
4
|
+
'mus musculus': 'Mouse',
|
|
5
|
+
'sus scrofa domesticus': 'Pig',
|
|
6
|
+
'sus scrofa': 'Boar',
|
|
7
|
+
'felis catus': 'Cat'
|
|
8
|
+
}
|
package/src/main.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import App from './App.vue'
|
|
3
|
-
|
|
4
|
-
import vueCustomElement from 'vue-custom-element'
|
|
5
|
-
Vue.use(vueCustomElement)
|
|
6
|
-
|
|
7
|
-
Vue.config.productionTip = false
|
|
8
|
-
Vue.customElement('map-side-bar', App)
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import App from './App.vue'
|
|
3
|
+
|
|
4
|
+
import vueCustomElement from 'vue-custom-element'
|
|
5
|
+
Vue.use(vueCustomElement)
|
|
6
|
+
|
|
7
|
+
Vue.config.productionTip = false
|
|
8
|
+
Vue.customElement('map-side-bar', App)
|
package/static.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"root": "dist",
|
|
3
|
-
"clean_urls": true,
|
|
4
|
-
"routes": {
|
|
5
|
-
"/**": "index.html"
|
|
6
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"root": "dist",
|
|
3
|
+
"clean_urls": true,
|
|
4
|
+
"routes": {
|
|
5
|
+
"/**": "index.html"
|
|
6
|
+
}
|
|
7
7
|
}
|
package/vue.config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const nodeExternals = require('webpack-node-externals');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
configureWebpack: config => {
|
|
5
|
-
if(process.env.NODE_ENV === 'production') {
|
|
6
|
-
//By including element-ui and all abi projects, the problem with element-ui
|
|
7
|
-
//stylesheet can be avoided.
|
|
8
|
-
config.externals = [ nodeExternals() ];
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
}
|
|
1
|
+
const nodeExternals = require('webpack-node-externals');
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
configureWebpack: config => {
|
|
5
|
+
if(process.env.NODE_ENV === 'production') {
|
|
6
|
+
//By including element-ui and all abi projects, the problem with element-ui
|
|
7
|
+
//stylesheet can be avoided.
|
|
8
|
+
config.externals = [ nodeExternals() ];
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
}
|