@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
@@ -1,3 +1,3 @@
1
- import Vue from 'vue';
2
- const EventBus = new Vue();
1
+ import Vue from 'vue';
2
+ const EventBus = new Vue();
3
3
  export default EventBus;
@@ -1,99 +1,99 @@
1
- <template>
2
- <div class="resource-container">
3
- <template v-for="resource in resources">
4
- <div class="resource" :key="resource.id">
5
- <el-button v-if="resource.id === 'pubmed'" class="button" icon="el-icon-notebook-2" @click="openUrl(resource.url)">
6
- Open publications in pubmed
7
- </el-button>
8
- </div>
9
- </template>
10
- </div>
11
- </template>
12
-
13
-
14
-
15
- <script>
16
- /* eslint-disable no-alert, no-console */
17
- import Vue from "vue";
18
- import { Button } from "element-ui";
19
- Vue.use(Button);
20
-
21
- export default {
22
- name: "ExternalResourceCard",
23
- props: {
24
- resources: {
25
- type: Array,
26
- default: () => []
27
- },
28
- },
29
- data: function() {
30
- return {
31
- pubmeds: [],
32
- pubmedIds: [],
33
- };
34
- },
35
- methods: {
36
- capitalise: function(string) {
37
- return string.charAt(0).toUpperCase() + string.slice(1);
38
- },
39
- openUrl: function(url){
40
- window.open(url, '_blank')
41
- },
42
- }
43
- };
44
- </script>
45
-
46
- <style scoped lang="scss">
47
- @import "~element-ui/packages/theme-chalk/src/button";
48
-
49
- .attribute-title{
50
- font-size: 16px;
51
- font-weight: 600;
52
- /* font-weight: bold; */
53
- text-transform: uppercase;
54
- }
55
-
56
- .attribute-content{
57
- font-size: 14px;
58
- font-weight: 400;
59
- }
60
-
61
- .el-link {
62
- color: $app-primary-color;
63
- text-decoration: none;
64
- word-wrap: break-word;
65
- &:hover, &:focus{
66
- color: $app-primary-color;
67
- }
68
- }
69
-
70
- ::v-deep .el-carousel__button {
71
- background-color: $app-primary-color;
72
- }
73
-
74
- .attribute-title{
75
- font-size: 16px;
76
- font-weight: 600;
77
- /* font-weight: bold; */
78
- text-transform: uppercase;
79
- }
80
-
81
- .button {
82
- margin-left: 0px !important;
83
- margin-top: 0px !important;
84
- font-size: 14px !important;
85
- background-color: $app-primary-color;
86
- color: #fff;
87
- &:hover{
88
- color: #fff !important;
89
- background: #ac76c5 !important;
90
- border: 1px solid #ac76c5 !important;
91
- }
92
- &+.button {
93
- margin-top: 10px !important;
94
- background-color: $app-primary-color;
95
- color: #fff;
96
- }
97
- }
98
-
1
+ <template>
2
+ <div class="resource-container">
3
+ <template v-for="resource in resources">
4
+ <div class="resource" :key="resource.id">
5
+ <el-button v-if="resource.id === 'pubmed'" class="button" icon="el-icon-notebook-2" @click="openUrl(resource.url)">
6
+ Open publications in pubmed
7
+ </el-button>
8
+ </div>
9
+ </template>
10
+ </div>
11
+ </template>
12
+
13
+
14
+
15
+ <script>
16
+ /* eslint-disable no-alert, no-console */
17
+ import Vue from "vue";
18
+ import { Button } from "element-ui";
19
+ Vue.use(Button);
20
+
21
+ export default {
22
+ name: "ExternalResourceCard",
23
+ props: {
24
+ resources: {
25
+ type: Array,
26
+ default: () => []
27
+ },
28
+ },
29
+ data: function() {
30
+ return {
31
+ pubmeds: [],
32
+ pubmedIds: [],
33
+ };
34
+ },
35
+ methods: {
36
+ capitalise: function(string) {
37
+ return string.charAt(0).toUpperCase() + string.slice(1);
38
+ },
39
+ openUrl: function(url){
40
+ window.open(url, '_blank')
41
+ },
42
+ }
43
+ };
44
+ </script>
45
+
46
+ <style scoped lang="scss">
47
+ @import "~element-ui/packages/theme-chalk/src/button";
48
+
49
+ .attribute-title{
50
+ font-size: 16px;
51
+ font-weight: 600;
52
+ /* font-weight: bold; */
53
+ text-transform: uppercase;
54
+ }
55
+
56
+ .attribute-content{
57
+ font-size: 14px;
58
+ font-weight: 400;
59
+ }
60
+
61
+ .el-link {
62
+ color: $app-primary-color;
63
+ text-decoration: none;
64
+ word-wrap: break-word;
65
+ &:hover, &:focus{
66
+ color: $app-primary-color;
67
+ }
68
+ }
69
+
70
+ ::v-deep .el-carousel__button {
71
+ background-color: $app-primary-color;
72
+ }
73
+
74
+ .attribute-title{
75
+ font-size: 16px;
76
+ font-weight: 600;
77
+ /* font-weight: bold; */
78
+ text-transform: uppercase;
79
+ }
80
+
81
+ .button {
82
+ margin-left: 0px !important;
83
+ margin-top: 0px !important;
84
+ font-size: 14px !important;
85
+ background-color: $app-primary-color;
86
+ color: #fff;
87
+ &:hover{
88
+ color: #fff !important;
89
+ background: #ac76c5 !important;
90
+ border: 1px solid #ac76c5 !important;
91
+ }
92
+ &+.button {
93
+ margin-top: 10px !important;
94
+ background-color: $app-primary-color;
95
+ color: #fff;
96
+ }
97
+ }
98
+
99
99
  </style>