@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
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
- {
2
- "name": "@abi-software/flatmapvuer",
3
- "version": "0.5.9",
4
- "license": "Apache-2.0",
5
- "main": "./dist/flatmapvuer.common.js",
6
- "files": [
7
- "dist/*",
8
- "src/*",
9
- "public/*",
10
- "*.json",
11
- "*.js"
12
- ],
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/ABI-Software/flatmapvuer.git"
16
- },
17
- "scripts": {
18
- "start": "vue-cli-service serve",
19
- "serve": "vue-cli-service serve --port 8082",
20
- "build": "vue-cli-service build --dest test_html --mode staging",
21
- "build-bundle": "vue-cli-service build --target lib --name flatmapvuer ./src/components/index.js",
22
- "lint": "vue-cli-service lint",
23
- "release:beta": "npm version prerelease --preid=beta; npm publish --tag beta",
24
- "release:minor": "npm version minor; npm publish",
25
- "release:patch": "npm version patch; npm publish",
26
- "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
27
- "version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md"
28
- },
29
- "dependencies": {
30
- "@abi-software/flatmap-viewer": "^2.4.3",
31
- "@abi-software/sparc-annotation": "0.0.5",
32
- "@abi-software/svg-sprite": "^0.3.0",
33
- "core-js": "^3.3.2",
34
- "css-element-queries": "^1.2.2",
35
- "current-script-polyfill": "^1.0.0",
36
- "element-ui": "^2.13.0",
37
- "file-loader": "^5.0.2",
38
- "lodash": "^4.17.21",
39
- "vue": "^2.6.10"
40
- },
41
- "devDependencies": {
42
- "@vue/cli-plugin-babel": "^4.0.0",
43
- "@vue/cli-plugin-eslint": "^4.0.0",
44
- "@vue/cli-service": "^4.5.13",
45
- "auto-changelog": "^2.4.0",
46
- "babel-eslint": "^10.0.3",
47
- "babel-plugin-component": "^1.1.1",
48
- "base64-inline-loader": "^2.0.1",
49
- "eslint": "^5.16.0",
50
- "eslint-plugin-vue": "^5.0.0",
51
- "node-sass": "^4.14.1",
52
- "sass-loader": "^8.0.2",
53
- "vue-template-compiler": "^2.6.10",
54
- "webpack-node-externals": "^2.5.2"
55
- },
56
- "eslintConfig": {
57
- "root": true,
58
- "env": {
59
- "node": true
60
- },
61
- "extends": [
62
- "plugin:vue/essential",
63
- "eslint:recommended"
64
- ],
65
- "rules": {},
66
- "parserOptions": {
67
- "parser": "babel-eslint"
68
- }
69
- },
70
- "postcss": {
71
- "plugins": {
72
- "autoprefixer": {}
73
- }
74
- },
75
- "browserslist": [
76
- "> 1%",
77
- "last 2 versions"
78
- ]
79
- }
1
+ {
2
+ "name": "@abi-software/flatmapvuer",
3
+ "version": "0.5.10",
4
+ "license": "Apache-2.0",
5
+ "main": "./dist/flatmapvuer.common.js",
6
+ "files": [
7
+ "dist/*",
8
+ "src/*",
9
+ "public/*",
10
+ "*.json",
11
+ "*.js"
12
+ ],
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/ABI-Software/flatmapvuer.git"
16
+ },
17
+ "scripts": {
18
+ "start": "vue-cli-service serve",
19
+ "serve": "vue-cli-service serve --port 8082",
20
+ "build": "vue-cli-service build --dest test_html --mode staging",
21
+ "build-bundle": "vue-cli-service build --target lib --name flatmapvuer ./src/components/index.js",
22
+ "lint": "vue-cli-service lint",
23
+ "release:beta": "npm version prerelease --preid=beta; npm publish --tag beta",
24
+ "release:minor": "npm version minor; npm publish",
25
+ "release:patch": "npm version patch; npm publish",
26
+ "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
27
+ "version": "npm run build-bundle;npm run changelog; git add CHANGELOG.md"
28
+ },
29
+ "dependencies": {
30
+ "@abi-software/flatmap-viewer": "^2.4.3",
31
+ "@abi-software/sparc-annotation": "0.0.5",
32
+ "@abi-software/svg-sprite": "^0.3.0",
33
+ "core-js": "^3.3.2",
34
+ "css-element-queries": "^1.2.2",
35
+ "current-script-polyfill": "^1.0.0",
36
+ "element-ui": "^2.13.0",
37
+ "file-loader": "^5.0.2",
38
+ "lodash": "^4.17.21",
39
+ "vue": "^2.6.10"
40
+ },
41
+ "devDependencies": {
42
+ "@vue/cli-plugin-babel": "^4.0.0",
43
+ "@vue/cli-plugin-eslint": "^4.0.0",
44
+ "@vue/cli-service": "^4.5.13",
45
+ "auto-changelog": "^2.4.0",
46
+ "babel-eslint": "^10.0.3",
47
+ "babel-plugin-component": "^1.1.1",
48
+ "base64-inline-loader": "^2.0.1",
49
+ "eslint": "^5.16.0",
50
+ "eslint-plugin-vue": "^5.0.0",
51
+ "node-sass": "^4.14.1",
52
+ "sass-loader": "^8.0.2",
53
+ "vue-template-compiler": "^2.6.10",
54
+ "webpack-node-externals": "^2.5.2"
55
+ },
56
+ "eslintConfig": {
57
+ "root": true,
58
+ "env": {
59
+ "node": true
60
+ },
61
+ "extends": [
62
+ "plugin:vue/essential",
63
+ "eslint:recommended"
64
+ ],
65
+ "rules": {},
66
+ "parserOptions": {
67
+ "parser": "babel-eslint"
68
+ }
69
+ },
70
+ "postcss": {
71
+ "plugins": {
72
+ "autoprefixer": {}
73
+ }
74
+ },
75
+ "browserslist": [
76
+ "> 1%",
77
+ "last 2 versions"
78
+ ]
79
+ }
package/public/index.html CHANGED
@@ -1,17 +1,17 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
- <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
- <title>flatmapvuer</title>
9
- </head>
10
- <body>
11
- <noscript>
12
- <strong>We're sorry but scaffoldvuer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
- </noscript>
14
- <div id="app"></div>
15
- <!-- built files will be auto injected -->
16
- </body>
17
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width,initial-scale=1.0">
7
+ <link rel="icon" href="<%= BASE_URL %>favicon.ico">
8
+ <title>flatmapvuer</title>
9
+ </head>
10
+ <body>
11
+ <noscript>
12
+ <strong>We're sorry but scaffoldvuer doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13
+ </noscript>
14
+ <div id="app"></div>
15
+ <!-- built files will be auto injected -->
16
+ </body>
17
+ </html>
package/src/App.vue CHANGED
@@ -1,228 +1,228 @@
1
- <template>
2
- <div id="app">
3
- <el-popover
4
- placement="bottom"
5
- trigger="click"
6
- width=500
7
- class="popover"
8
- :appendToBody=false
9
- >
10
- <div class="options-container">
11
- <el-row :gutter="20">
12
- <el-button @click="helpMode = !helpMode" size="mini">Help Mode</el-button>
13
- <el-button @click="saveSettings()" size="mini">Save Settings</el-button>
14
- <el-button :disabled="mapSettings.length === 0" @click="restoreSettings()" size="mini">Restore Settings</el-button>
15
- <el-autocomplete class="search-box" placeholder="Search"
16
- v-model="searchText"
17
- :fetch-suggestions="fetchSuggestions"
18
- @keyup.enter.native="search"
19
- @select="search"
20
- popper-class="autocomplete-popper">
21
- </el-autocomplete>
22
- </el-row>
23
- </div>
24
- <el-button class="options-button" icon="el-icon-setting" slot="reference">Options</el-button>
25
- </el-popover>
26
-
27
- <MultiFlatmapVuer ref="multi" :availableSpecies="availableSpecies"
28
- @resource-selected="FlatmapSelected" :minZoom="minZoom"
29
- @pan-zoom-callback="panZoomcallback" @open-map="openMap"
30
- @ready="FlatmapReady" :featureInfo="featureInfo" :searchable="searchable"
31
- :layerControl="layerControl"
32
- :initial="initial" :pathControls="pathControls" :helpMode="helpMode"
33
- :displayMinimap="true" :enableOpenMapUI="true" :flatmapAPI="flatmapAPI"/>
34
- </div>
35
- </template>
36
-
37
- <script>
38
- /* eslint-disable no-alert, no-console */
39
- import Vue from "vue";
40
- import MultiFlatmapVuer from './components/MultiFlatmapVuer.vue'
41
- import {
42
- Autocomplete,
43
- Button,
44
- Col,
45
- Popover,
46
- Row,
47
- } from 'element-ui';
48
- import "./icons/mapicon-species-style.css";
49
- Vue.use(Autocomplete);
50
- Vue.use(Button);
51
- Vue.use(Col);
52
- Vue.use(Popover);
53
- Vue.use(Row);
54
-
55
- export default {
56
- name: 'app',
57
- methods: {
58
- saveSettings: function() {
59
- this.mapSettings.push(this.$refs.multi.getState());
60
- },
61
- restoreSettings: function() {
62
- if (this.mapSettings.length > 0)
63
- this.$refs.multi.setState(this.mapSettings.pop());
64
- },
65
- FlatmapSelected: function(resource) {
66
- if (resource.eventType === "click") {
67
- console.log('resource', resource);
68
- }
69
- },
70
- FlatmapReady: function(component) {
71
- console.log(component);
72
- let taxon = component.mapImp.describes;
73
- let id = component.mapImp.addMarker("UBERON:0000948");
74
- window.flatmapImp = component.mapImp;
75
- component.enablePanZoomEvents(true);
76
- //component.showPathwaysDrawer(false);
77
- console.log(taxon, id);
78
- //component.searchAndShowResult("heart");
79
- },
80
- panZoomcallback: function(payload) {
81
- this.payload = payload
82
- },
83
- openMap: function (map) {
84
- console.log(map)
85
- },
86
- fetchSuggestions: function(term, cb) {
87
- if (term === "") {
88
- cb([]);
89
- } else {
90
- const suggestions = [];
91
- const results = this.$refs.multi.getCurrentFlatmap().searchSuggestions(term);
92
- results.__featureIds.forEach(id => {
93
- const annotation = this.$refs.multi.getCurrentFlatmap().mapImp.annotation(id);
94
- if (annotation && annotation.label)
95
- suggestions.push(annotation.label);
96
- });
97
- const unique = new Set(suggestions);
98
- suggestions.length = 0;
99
- for (const item of unique) {
100
- suggestions.push({"value": "\"" + item +"\""});
101
- }
102
- cb(suggestions);
103
- }
104
- },
105
- search: function() {
106
- console.log(this.searchText)
107
- this.$refs.multi.getCurrentFlatmap().searchAndShowResult(this.searchText, true);
108
- }
109
- },
110
- data: function(){
111
- return {
112
- searchText: "",
113
- featureInfo: true,
114
- searchable: true,
115
- pathControls: true,
116
- layerControl: true,
117
- minZoom: 4,
118
- availableSpecies : {
119
- "Human Female":{taxo: "NCBITaxon:9606", biologicalSex: "PATO:0000383", iconClass:"mapicon-icon_human", displayWarning:true},
120
- "Human Male":{taxo: "NCBITaxon:9606", biologicalSex: "PATO:0000384", iconClass:"mapicon-icon_human", displayWarning:true},
121
- "Rat":{taxo: "NCBITaxon:10114", iconClass:"mapicon-icon_rat", displayWarning:true, displayLatestChanges:true},
122
- "Rat (NPO)":{taxo: "NCBITaxon:10116", iconClass:"mapicon-icon_rat", displayWarning:true, displayLatestChanges:true},
123
- "Mouse":{taxo: "NCBITaxon:10090", iconClass:"mapicon-icon_mouse", displayWarning:true},
124
- "Kember":{taxo: "ABI:1000001", displayWarning:true},
125
- "Pig":{taxo: "NCBITaxon:9823", iconClass:"mapicon-icon_pig", displayWarning:true},
126
- "Cat":{taxo: "NCBITaxon:9685", iconClass:"mapicon-icon_cat", displayWarning:true},
127
- "Sample":{taxo: "NCBITaxon:1", displayWarning:true},
128
- "Functional Connectivity": {taxo: "FunctionalConnectivity", displayWarning:true},
129
- },
130
- tooltipContent: undefined,
131
- tStyle: {
132
- top: "200px",
133
- left: "200px",
134
- position: "absolute"
135
- },
136
- displayCloseButton: false,
137
- initial: "Rat (NPO)",
138
- helpMode: false,
139
- mapSettings: [],
140
- //flatmapAPI: "https://mapcore-demo.org/current/flatmap/v2/"
141
- //flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v3/"
142
- //flatmapAPI: "https://mapcore-demo.org/current/flatmap/v3/"
143
- flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v4/"
144
- //flatmapAPI: "https://mapcore-demo.org/fccb/flatmap/"
145
- //flatmapAPI: "https://mapcore-demo.org/staging/flatmap/v1/"
146
- // flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v1/"
147
- }
148
- },
149
- components: {
150
- MultiFlatmapVuer,
151
- }
152
- }
153
- </script>
154
-
155
- <style lang="scss">
156
- @import "~element-ui/packages/theme-chalk/src/autocomplete";
157
- @import "~element-ui/packages/theme-chalk/src/button";
158
- @import "~element-ui/packages/theme-chalk/src/col";
159
- @import "~element-ui/packages/theme-chalk/src/popover";
160
- @import "~element-ui/packages/theme-chalk/src/row";
161
-
162
- #app {
163
- font-family: 'Asap', 'Avenir', Helvetica, Arial, sans-serif;
164
- -webkit-font-smoothing: antialiased;
165
- -moz-osx-font-smoothing: grayscale;
166
- text-align: center;
167
- color: #2c3e50;
168
- height:100%;
169
- width: 100%;
170
- position:absolute;
171
- }
172
-
173
- .maplibregl-ctrl-top-left .maplibregl-ctrl {
174
- margin-top:120px;
175
- }
176
-
177
- .search-box {
178
- margin-top: 2px;
179
- height:28px;
180
- ::v-deep .el-input__inner {
181
- background-color: $background;
182
- height:28px;
183
- line-height:28px;
184
- border: 1px solid rgb(144, 147, 153);
185
- border-radius: 4px;
186
- &:focus {
187
- border-color: $app-primary-color;
188
- }
189
- }
190
- }
191
-
192
- ::v-deep .autocomplete-popper {
193
- min-width:137px!important;
194
- width: auto!important;
195
- }
196
-
197
- body {
198
- margin: 0px;
199
- }
200
-
201
- .maplibregl-ctrl-top-left .maplibregl-ctrl {
202
- margin-top:120px;
203
- }
204
-
205
- .popover{
206
- top:5px;
207
- right:calc( 50% - 20px);
208
- position:absolute;
209
- z-index:1000;
210
- }
211
-
212
- .el-row {
213
- margin-bottom: 5px;
214
- &:last-child {
215
- margin-bottom: 0;
216
- }
217
- }
218
-
219
- .options-container{
220
-
221
- text-align: center;
222
- }
223
-
224
- .el-tabs__content {
225
- height:100%;
226
- }
227
-
228
- </style>
1
+ <template>
2
+ <div id="app">
3
+ <el-popover
4
+ placement="bottom"
5
+ trigger="click"
6
+ width=500
7
+ class="popover"
8
+ :appendToBody=false
9
+ >
10
+ <div class="options-container">
11
+ <el-row :gutter="20">
12
+ <el-button @click="helpMode = !helpMode" size="mini">Help Mode</el-button>
13
+ <el-button @click="saveSettings()" size="mini">Save Settings</el-button>
14
+ <el-button :disabled="mapSettings.length === 0" @click="restoreSettings()" size="mini">Restore Settings</el-button>
15
+ <el-autocomplete class="search-box" placeholder="Search"
16
+ v-model="searchText"
17
+ :fetch-suggestions="fetchSuggestions"
18
+ @keyup.enter.native="search"
19
+ @select="search"
20
+ popper-class="autocomplete-popper">
21
+ </el-autocomplete>
22
+ </el-row>
23
+ </div>
24
+ <el-button class="options-button" icon="el-icon-setting" slot="reference">Options</el-button>
25
+ </el-popover>
26
+
27
+ <MultiFlatmapVuer ref="multi" :availableSpecies="availableSpecies"
28
+ @resource-selected="FlatmapSelected" :minZoom="minZoom"
29
+ @pan-zoom-callback="panZoomcallback" @open-map="openMap"
30
+ @ready="FlatmapReady" :featureInfo="featureInfo" :searchable="searchable"
31
+ :layerControl="layerControl"
32
+ :initial="initial" :pathControls="pathControls" :helpMode="helpMode"
33
+ :displayMinimap="true" :enableOpenMapUI="true" :flatmapAPI="flatmapAPI"/>
34
+ </div>
35
+ </template>
36
+
37
+ <script>
38
+ /* eslint-disable no-alert, no-console */
39
+ import Vue from "vue";
40
+ import MultiFlatmapVuer from './components/MultiFlatmapVuer.vue'
41
+ import {
42
+ Autocomplete,
43
+ Button,
44
+ Col,
45
+ Popover,
46
+ Row,
47
+ } from 'element-ui';
48
+ import "./icons/mapicon-species-style.css";
49
+ Vue.use(Autocomplete);
50
+ Vue.use(Button);
51
+ Vue.use(Col);
52
+ Vue.use(Popover);
53
+ Vue.use(Row);
54
+
55
+ export default {
56
+ name: 'app',
57
+ methods: {
58
+ saveSettings: function() {
59
+ this.mapSettings.push(this.$refs.multi.getState());
60
+ },
61
+ restoreSettings: function() {
62
+ if (this.mapSettings.length > 0)
63
+ this.$refs.multi.setState(this.mapSettings.pop());
64
+ },
65
+ FlatmapSelected: function(resource) {
66
+ if (resource.eventType === "click") {
67
+ console.log('resource', resource);
68
+ }
69
+ },
70
+ FlatmapReady: function(component) {
71
+ console.log(component);
72
+ let taxon = component.mapImp.describes;
73
+ let id = component.mapImp.addMarker("UBERON:0000948");
74
+ window.flatmapImp = component.mapImp;
75
+ component.enablePanZoomEvents(true);
76
+ //component.showPathwaysDrawer(false);
77
+ console.log(taxon, id);
78
+ //component.searchAndShowResult("heart");
79
+ },
80
+ panZoomcallback: function(payload) {
81
+ this.payload = payload
82
+ },
83
+ openMap: function (map) {
84
+ console.log(map)
85
+ },
86
+ fetchSuggestions: function(term, cb) {
87
+ if (term === "") {
88
+ cb([]);
89
+ } else {
90
+ const suggestions = [];
91
+ const results = this.$refs.multi.getCurrentFlatmap().searchSuggestions(term);
92
+ results.__featureIds.forEach(id => {
93
+ const annotation = this.$refs.multi.getCurrentFlatmap().mapImp.annotation(id);
94
+ if (annotation && annotation.label)
95
+ suggestions.push(annotation.label);
96
+ });
97
+ const unique = new Set(suggestions);
98
+ suggestions.length = 0;
99
+ for (const item of unique) {
100
+ suggestions.push({"value": "\"" + item +"\""});
101
+ }
102
+ cb(suggestions);
103
+ }
104
+ },
105
+ search: function() {
106
+ console.log(this.searchText)
107
+ this.$refs.multi.getCurrentFlatmap().searchAndShowResult(this.searchText, true);
108
+ }
109
+ },
110
+ data: function(){
111
+ return {
112
+ searchText: "",
113
+ featureInfo: true,
114
+ searchable: true,
115
+ pathControls: true,
116
+ layerControl: true,
117
+ minZoom: 4,
118
+ availableSpecies : {
119
+ "Human Female":{taxo: "NCBITaxon:9606", biologicalSex: "PATO:0000383", iconClass:"mapicon-icon_human", displayWarning:true},
120
+ "Human Male":{taxo: "NCBITaxon:9606", biologicalSex: "PATO:0000384", iconClass:"mapicon-icon_human", displayWarning:true},
121
+ "Rat":{taxo: "NCBITaxon:10114", iconClass:"mapicon-icon_rat", displayWarning:true, displayLatestChanges:true},
122
+ "Rat (NPO)":{taxo: "NCBITaxon:10116", iconClass:"mapicon-icon_rat", displayWarning:true, displayLatestChanges:true},
123
+ "Mouse":{taxo: "NCBITaxon:10090", iconClass:"mapicon-icon_mouse", displayWarning:true},
124
+ "Kember":{taxo: "ABI:1000001", displayWarning:true},
125
+ "Pig":{taxo: "NCBITaxon:9823", iconClass:"mapicon-icon_pig", displayWarning:true},
126
+ "Cat":{taxo: "NCBITaxon:9685", iconClass:"mapicon-icon_cat", displayWarning:true},
127
+ "Sample":{taxo: "NCBITaxon:1", displayWarning:true},
128
+ "Functional Connectivity": {taxo: "FunctionalConnectivity", displayWarning:true},
129
+ },
130
+ tooltipContent: undefined,
131
+ tStyle: {
132
+ top: "200px",
133
+ left: "200px",
134
+ position: "absolute"
135
+ },
136
+ displayCloseButton: false,
137
+ initial: "Rat (NPO)",
138
+ helpMode: false,
139
+ mapSettings: [],
140
+ //flatmapAPI: "https://mapcore-demo.org/current/flatmap/v2/"
141
+ //flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v3/"
142
+ //flatmapAPI: "https://mapcore-demo.org/current/flatmap/v3/"
143
+ flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v4/"
144
+ //flatmapAPI: "https://mapcore-demo.org/fccb/flatmap/"
145
+ //flatmapAPI: "https://mapcore-demo.org/staging/flatmap/v1/"
146
+ // flatmapAPI: "https://mapcore-demo.org/devel/flatmap/v1/"
147
+ }
148
+ },
149
+ components: {
150
+ MultiFlatmapVuer,
151
+ }
152
+ }
153
+ </script>
154
+
155
+ <style lang="scss">
156
+ @import "~element-ui/packages/theme-chalk/src/autocomplete";
157
+ @import "~element-ui/packages/theme-chalk/src/button";
158
+ @import "~element-ui/packages/theme-chalk/src/col";
159
+ @import "~element-ui/packages/theme-chalk/src/popover";
160
+ @import "~element-ui/packages/theme-chalk/src/row";
161
+
162
+ #app {
163
+ font-family: 'Asap', 'Avenir', Helvetica, Arial, sans-serif;
164
+ -webkit-font-smoothing: antialiased;
165
+ -moz-osx-font-smoothing: grayscale;
166
+ text-align: center;
167
+ color: #2c3e50;
168
+ height:100%;
169
+ width: 100%;
170
+ position:absolute;
171
+ }
172
+
173
+ .maplibregl-ctrl-top-left .maplibregl-ctrl {
174
+ margin-top:120px;
175
+ }
176
+
177
+ .search-box {
178
+ margin-top: 2px;
179
+ height:28px;
180
+ ::v-deep .el-input__inner {
181
+ background-color: $background;
182
+ height:28px;
183
+ line-height:28px;
184
+ border: 1px solid rgb(144, 147, 153);
185
+ border-radius: 4px;
186
+ &:focus {
187
+ border-color: $app-primary-color;
188
+ }
189
+ }
190
+ }
191
+
192
+ ::v-deep .autocomplete-popper {
193
+ min-width:137px!important;
194
+ width: auto!important;
195
+ }
196
+
197
+ body {
198
+ margin: 0px;
199
+ }
200
+
201
+ .maplibregl-ctrl-top-left .maplibregl-ctrl {
202
+ margin-top:120px;
203
+ }
204
+
205
+ .popover{
206
+ top:5px;
207
+ right:calc( 50% - 20px);
208
+ position:absolute;
209
+ z-index:1000;
210
+ }
211
+
212
+ .el-row {
213
+ margin-bottom: 5px;
214
+ &:last-child {
215
+ margin-bottom: 0;
216
+ }
217
+ }
218
+
219
+ .options-container{
220
+
221
+ text-align: center;
222
+ }
223
+
224
+ .el-tabs__content {
225
+ height:100%;
226
+ }
227
+
228
+ </style>