@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
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"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.",
|
|
3
|
-
"heading": "Mapped ICN samples",
|
|
4
|
-
"id": "sparc.science.context_data",
|
|
5
|
-
"samples": [
|
|
6
|
-
{
|
|
7
|
-
"annotation": "",
|
|
8
|
-
"description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
9
|
-
"doi": "",
|
|
10
|
-
"heading": "ICNS from subject M54-8",
|
|
11
|
-
"id": "Sample 1",
|
|
12
|
-
"path": "",
|
|
13
|
-
"view": "View 1",
|
|
14
|
-
"color": "#FFFF00",
|
|
15
|
-
"thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/orange.png"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"annotation": "",
|
|
19
|
-
"description": "Spatial location of isolated ICNS mapped onto a generic heart scaffold",
|
|
20
|
-
"doi": "",
|
|
21
|
-
"heading": "ICNS from subject M54-5",
|
|
22
|
-
"id": "Sample 2",
|
|
23
|
-
"path": "",
|
|
24
|
-
"view": "View 2",
|
|
25
|
-
"color": "#FFA500",
|
|
26
|
-
"thumbnail": "https://raw.githubusercontent.com/ABI-Software/map-sidebar/main/assets/temp-pics/teal.png"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"version": "0.1.0"
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default function (filters) {
|
|
2
|
-
for (let filter of filters) {
|
|
3
|
-
if (filter.includes['UBERON']) {
|
|
4
|
-
uberonMap[filter]
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
return
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const _get_uberon_map = function (apiLocation) {
|
|
11
|
-
fetch(`${apiLocation}/getOrganCuries/`)
|
|
12
|
-
.then((response) => {
|
|
13
|
-
if (!response.ok) {
|
|
14
|
-
throw Error(response.statusText)
|
|
15
|
-
} else {
|
|
16
|
-
return response.json()
|
|
17
|
-
}
|
|
18
|
-
})
|
|
19
|
-
.then((data) => {
|
|
20
|
-
return data
|
|
21
|
-
})
|
|
22
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
77: {
|
|
3
|
-
version: 2, meta_file: 'integrated_metadata.json', contextCard: {
|
|
4
|
-
title: "ICN fitted Scaffold",
|
|
5
|
-
description: "Points are mapped to their positions on a 3d heart that is mapped to the data.",
|
|
6
|
-
bannerImage: 'https://raw.githubusercontent.com/Tehsurfer/map-sidebar/tabs/assets/temp-pics/icn.png',
|
|
7
|
-
keys: [{
|
|
8
|
-
image: "https://raw.githubusercontent.com/Tehsurfer/map-sidebar/tabs/assets/temp-pics/orange.png",
|
|
9
|
-
text: "ICN Subject 54-8"
|
|
10
|
-
}, {
|
|
11
|
-
image: "https://raw.githubusercontent.com/Tehsurfer/map-sidebar/tabs/assets/temp-pics/teal.png",
|
|
12
|
-
text: "ICN Subject 54-5"
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
76: { version: 2, meta_file: 'mouseColon_metadata.json' },
|
|
18
|
-
32: {
|
|
19
|
-
version: 3, meta_file: 'mouse-heart-071020_metadata.json', contextCard: {
|
|
20
|
-
title: "Neural paths mapped to a heart scaffold",
|
|
21
|
-
description: "Points are mapped to their positions on a 3d heart that is mapped to the data.",
|
|
22
|
-
bannerImage: 'https://raw.githubusercontent.com/Tehsurfer/map-sidebar/tabs/assets/temp-pics/aNIksBFARaKwlKhpnDCKbA.png',
|
|
23
|
-
keys: [{
|
|
24
|
-
image: "https://raw.githubusercontent.com/Tehsurfer/map-sidebar/tabs/assets/temp-pics/VqNcZ8fSQJu5TJEf9ahwvA.png",
|
|
25
|
-
text: "Neural path"
|
|
26
|
-
}],
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|