@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.
@@ -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
- 221: {
3
- "description": "3D digital tracings of the enteric plexus obtained from seven subjects (M11, M16, M134, 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.",
4
- "heading": "Digital tracings of enteric plexus",
5
- "id": "sparc.science.context_data",
6
- "samples": [
7
- {
8
- "annotation": "",
9
- "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.",
10
- "doi": "",
11
- "heading": "Digital tracing for subject M11 ",
12
- "id": "Sample 1",
13
- "path": "derivative/sub-M11/sam-pCm11/digital-traces/pC PHPS XFP M11 20XZ 180425_180713_2_NL_20.xml",
14
- "view": "View 1"
15
- },
16
- {
17
- "annotation": "",
18
- "description": "Digital traces demonstrate 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.",
19
- "doi": "",
20
- "heading": "Digital tracing for subject M16",
21
- "id": "Sample 2",
22
- "path": "derivative/sub-M16/sam-pCm16/digital-traces/pC PHPS XFP M16 20XZ 180425_180524.xml",
23
- "view": "View 2"
24
- },
25
- {
26
- "annotation": "",
27
- "description": "Digital traces demonstrate how the nerve fibers (dark green and orange) contact several neurons and/or run together with other fibers.",
28
- "doi": "",
29
- "heading": "Digital tracing for subject M134",
30
- "id": "Sample 3",
31
- "path": "derivative/sub-M134/sam-pCm134/digital-traces/pC XFP M134 20XZ 190806_191012_200130D_lx.xml",
32
- "view": "View 3"
33
- },
34
- {
35
- "annotation": "",
36
- "description": "Various types of labeled neurons located in one large ganglion. Long nerve fibers from different directions cross the ganglion, and two fibers (magenta and green) run closely apposed in segments with axons of neurons (white and red). Two axons (aqua and peach on the top) are adjacent to each other, as well as two somas (red and yellow). One neuron (cyan) displays complex wiring with neurons nearby via the axon-soma, axon-dendritic and axon-axon contacts. Vertically projecting fibers in the left side are the fibers innervating the circular muscle. ",
37
- "doi": "",
38
- "heading": "Digital tracing for subject M162",
39
- "id": "Sample 4",
40
- "path": "derivative/sub-M162/sam-pCm162/digital-traces/pCm162_AAV_Z_20x_20200204_S1D_lx_li_z-flip.xml",
41
- "view": "View 4"
42
- },
43
- {
44
- "annotation": "",
45
- "description": "Digital tracings from subject M163 are annotated into the following groups to highlight their interactions:\n\nF peach connex: A nerve fiber (peach) displays close appositions with a few neuronal processes. \n\nInterganglionic strand joined by Ns Fs:Axons (with contacts) and a long crossing fiber (dark green) join an interganglionic strand.\n\nN12 Connex: One neuron (green) is in contact with four others via axon-soma, axon-dendrites and axon-axon connections, as well as one passing fiber.\n",
46
- "doi": "",
47
- "heading": "Digital tracing for subject M163",
48
- "id": "Sample 5",
49
- "path": "derivative/sub-M163/sam-pCm163/digital-traces/pCm163_AAV_Z_20x_20200206_S3-ab.xml",
50
- "view": "View 5"
51
- },
52
- {
53
- "annotation": "",
54
- "description": "Digital tracings for subject M164 demonstrates wiring of neuronal clusters.",
55
- "doi": "",
56
- "heading": "Digital tracing for subject M164",
57
- "id": "Sample 6",
58
- "path": "derivative/sub-M164/sam-pCm164/digital-traces/pCm164_AAV_Z_20x_20200211_S2A.xml",
59
- "view": "View 6"
60
- },
61
- {
62
- "annotation": "",
63
- "description": "Digital tracings from subject M168 are annotated into the following groups to highlight their interactions:\n\nF Beige connex: Connections of one ganglion-crossing fiber (beige) with neurons and ganglion-crossing nerve fibers. \n\nF Green connex : Interganglionic connections.\n\nInterganglionic connex: Connections of one ganglion-crossing fiber (green) with neurons in two ganglia and ganglion-crossing nerve fibers. A nerve fiber (red) runs a long distance together with another fiber (green). \n\nIntraganglionic strand: Ganglia crossing fibers and axons of neurons join an interganglionic strand.",
64
- "doi": "",
65
- "heading": "Digital tracing for subject M168",
66
- "id": "Sample 7",
67
- "path": "derivative/sub-M168/digital-traces/pCm168_AAV_Z_20x_191211_S3B_lx.xml",
68
- "view": "View 7"
69
- }
70
- ],
71
- "version": "0.1.0",
72
- "views": [
73
- {
74
- "annotation": "",
75
- "description": "Digital tracing of neurons for subject M16.",
76
- "id": "View 2",
77
- "path": "derivative/Scaffolds/AAV_M16_view.json",
78
- "sample": "Sample 7",
79
- "thumbnail": "derivative/Scaffolds/AAV_M16_thumbnail.jpeg"
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
  // }
@@ -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
+ }