@abi-software/flatmapvuer 0.5.9 → 0.5.10

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +402 -402
  2. package/LICENSE +201 -201
  3. package/README.md +105 -105
  4. package/babel.config.js +14 -14
  5. package/package-lock.json +18473 -18473
  6. package/package.json +79 -79
  7. package/public/index.html +17 -17
  8. package/src/App.vue +228 -228
  9. package/src/assets/_variables.scss +43 -43
  10. package/src/assets/styles.scss +7 -7
  11. package/src/components/AnnotationTool.vue +403 -403
  12. package/src/components/EventBus.js +2 -2
  13. package/src/components/ExternalResourceCard.vue +98 -98
  14. package/src/components/FlatmapVuer.vue +2070 -2059
  15. package/src/components/MultiFlatmapVuer.vue +535 -536
  16. package/src/components/ProvenancePopup.vue +422 -422
  17. package/src/components/SelectionsGroup.vue +249 -249
  18. package/src/components/Tooltip.vue +52 -52
  19. package/src/components/TreeControls.vue +231 -231
  20. package/src/components/index.js +9 -9
  21. package/src/components/legends/DynamicLegends.vue +112 -112
  22. package/src/components/legends/SvgLegends.vue +67 -67
  23. package/src/icons/fonts/mapicon-species.eot +0 -0
  24. package/src/icons/fonts/mapicon-species.svg +14 -14
  25. package/src/icons/fonts/mapicon-species.ttf +0 -0
  26. package/src/icons/fonts/mapicon-species.woff +0 -0
  27. package/src/icons/mapicon-species-style.css +42 -42
  28. package/src/icons/yellowstar.js +5 -5
  29. package/src/legends/legend.svg +25 -25
  30. package/src/main.js +8 -8
  31. package/src/nerve-map.js +99 -0
  32. package/src/services/flatmapQueries.js +415 -415
  33. package/vue.config.js +31 -31
  34. package/dist/demo.html +0 -10
  35. package/dist/flatmapvuer.common.js +0 -22741
  36. package/dist/flatmapvuer.common.js.map +0 -1
  37. package/dist/flatmapvuer.css +0 -1
  38. package/dist/flatmapvuer.umd.js +0 -22751
  39. package/dist/flatmapvuer.umd.js.map +0 -1
  40. package/dist/flatmapvuer.umd.min.js +0 -4
  41. package/dist/flatmapvuer.umd.min.js.map +0 -1
@@ -0,0 +1,99 @@
1
+ // nerve-map.js
2
+
3
+ // A temporary hard-coded mapping file used for demonstrating the types of info
4
+ // neural paths will show on click
5
+
6
+ export default {
7
+ 'UBERON:0011390': {
8
+ title: 'Pudendal nerve', components: 'sensory (afferent) neuron', start: 'First sacral spinal cord segment, Sixth lumbar spinal cord segment', distribution: 'External urethral sphincter', actions: [{
9
+ title: "View source",
10
+ resource: "https://www.ncbi.nlm.nih.gov/books/NBK554736/",
11
+ type: "URL"
12
+ }],
13
+ },
14
+ 'UBERON:0003715': {
15
+ title: 'Splanchnic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
16
+ title: "View source",
17
+ resource: "https://doi.org/10.1002/ca.23296",
18
+ type: "URL"
19
+ }],
20
+ },
21
+ 'UBERON:0001884': {
22
+ title: 'Phrenic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
23
+ title: "View source",
24
+ resource: "https://doi.org/10.1002/ca.23296",
25
+ type: "URL"
26
+ }],
27
+ },
28
+ 'ILX:0738374': {
29
+ title: 'External laryngeal nerve', components: 'visceral efferent', start: undefined, distribution: 'cricothyroid', actions: [{
30
+ title: "View source",
31
+ resource: "https://doi.org/10.1002/ca.23296",
32
+ type: "URL"
33
+ }],
34
+ },
35
+ 'ILX:0738309': {
36
+ title: 'Internal laryngeal nerve', components: 'general afferent, general visceral affarent, visceral parasympathetic', start: undefined, distribution: undefined, actions: [{
37
+ title: "View source",
38
+ resource: "https://doi.org/10.1002/ca.23296",
39
+ type: "URL"
40
+ }],
41
+ },
42
+ 'UBERON:0018675': {
43
+ title: 'Pelvic splanchnic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
44
+ title: "View source",
45
+ resource: "https://doi.org/10.1002/ca.23296",
46
+ type: "URL"
47
+ }],
48
+ },
49
+ 'UBERON:0018683': {
50
+ title: 'Lumbar splanchnic nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
51
+ title: "View source",
52
+ resource: "https://doi.org/10.1002/ca.23296",
53
+ type: "URL"
54
+ }],
55
+ },
56
+ 'UBERON:0001650': {
57
+ title: 'Hypoglossal nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
58
+ title: "View source",
59
+ resource: "https://doi.org/10.1002/ca.23296",
60
+ type: "URL"
61
+ }],
62
+ },
63
+ 'UBERON:0005303': {
64
+ title: 'Hypogastric nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
65
+ title: "View source",
66
+ resource: "https://doi.org/10.1002/ca.23296",
67
+ type: "URL"
68
+ }],
69
+ },
70
+ 'UBERON:0001759': {
71
+ title: 'Vagus nerve', components: undefined, start: undefined, distribution: undefined, actions: [{
72
+ title: "View source",
73
+ resource: "https://doi.org/10.1002/ca.23296",
74
+ type: "URL"
75
+ }, {
76
+ title: "Explore data",
77
+ label: "Stimulation",
78
+ resource: "https://sparc.science/data?type=dataset&q=stimulation",
79
+ type: "Search",
80
+ nervePath: true,
81
+ filter: {
82
+ facet: 'Vagus Nerve',
83
+ term: 'genotype'
84
+ },
85
+ },
86
+ ],
87
+ },
88
+ 'http://uri.interlex.org/base/ilx_0738443': {
89
+ title: 'Fascicle of Vagus Nerve', components: undefined, start: undefined, distribution: undefined, actions: [ {
90
+ title: "View dataset",
91
+ label: "Stimulation",
92
+ resource: "https://sparc.science/datasets/64?type=dataset",
93
+ type: "URL",
94
+ nervePath: false,
95
+ },
96
+ ],
97
+ }
98
+
99
+ }