@abi-software/flatmapvuer 0.2.5-beta-1 → 0.2.5-upstream-downstream
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 +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +527 -202
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +527 -202
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +13916 -13916
- package/package.json +66 -66
- package/public/index.html +17 -17
- package/src/App.vue +161 -159
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +3 -0
- package/src/components/FlatmapVuer.vue +1297 -1287
- package/src/components/MultiFlatmapVuer.vue +344 -340
- package/src/components/PubmedViewer.vue +201 -180
- package/src/components/Tooltip.vue +434 -267
- package/src/components/flatmapQueries.js +0 -0
- package/src/components/index.js +9 -9
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/main.js +8 -8
- package/src/nerve-map.js +99 -0
- package/vue.config.js +31 -31
|
@@ -129,6 +129,13 @@ module.exports = require("element-ui/lib/theme-chalk/radio-group.css");
|
|
|
129
129
|
|
|
130
130
|
/***/ }),
|
|
131
131
|
|
|
132
|
+
/***/ "12ab":
|
|
133
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
134
|
+
|
|
135
|
+
// extracted by mini-css-extract-plugin
|
|
136
|
+
|
|
137
|
+
/***/ }),
|
|
138
|
+
|
|
132
139
|
/***/ "13e3":
|
|
133
140
|
/***/ (function(module, exports) {
|
|
134
141
|
|
|
@@ -143,6 +150,13 @@ module.exports = require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
143
150
|
|
|
144
151
|
/***/ }),
|
|
145
152
|
|
|
153
|
+
/***/ "1a89":
|
|
154
|
+
/***/ (function(module, exports) {
|
|
155
|
+
|
|
156
|
+
module.exports = require("core-js/modules/es.array.filter.js");
|
|
157
|
+
|
|
158
|
+
/***/ }),
|
|
159
|
+
|
|
146
160
|
/***/ "1ac9":
|
|
147
161
|
/***/ (function(module, exports) {
|
|
148
162
|
|
|
@@ -213,15 +227,22 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
213
227
|
|
|
214
228
|
/***/ }),
|
|
215
229
|
|
|
216
|
-
/***/ "
|
|
230
|
+
/***/ "30e8":
|
|
217
231
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
218
232
|
|
|
219
233
|
"use strict";
|
|
220
|
-
/* harmony import */ var
|
|
221
|
-
/* harmony import */ var
|
|
234
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_3d2da278_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("12ab");
|
|
235
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_3d2da278_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_3d2da278_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
222
236
|
/* unused harmony reexport * */
|
|
223
237
|
|
|
224
238
|
|
|
239
|
+
/***/ }),
|
|
240
|
+
|
|
241
|
+
/***/ "35cd":
|
|
242
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
243
|
+
|
|
244
|
+
// extracted by mini-css-extract-plugin
|
|
245
|
+
|
|
225
246
|
/***/ }),
|
|
226
247
|
|
|
227
248
|
/***/ "376d":
|
|
@@ -271,17 +292,6 @@ module.exports = require("@abi-software/flatmap-viewer");
|
|
|
271
292
|
|
|
272
293
|
module.exports = require("core-js/modules/es.array.iterator.js");
|
|
273
294
|
|
|
274
|
-
/***/ }),
|
|
275
|
-
|
|
276
|
-
/***/ "4e01":
|
|
277
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
278
|
-
|
|
279
|
-
"use strict";
|
|
280
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_83b8535e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("daf3");
|
|
281
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_83b8535e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_83b8535e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
282
|
-
/* unused harmony reexport * */
|
|
283
|
-
|
|
284
|
-
|
|
285
295
|
/***/ }),
|
|
286
296
|
|
|
287
297
|
/***/ "51c7":
|
|
@@ -305,6 +315,13 @@ module.exports = require("element-ui/lib/theme-chalk/checkbox.css");
|
|
|
305
315
|
|
|
306
316
|
/***/ }),
|
|
307
317
|
|
|
318
|
+
/***/ "5d4c":
|
|
319
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
320
|
+
|
|
321
|
+
// extracted by mini-css-extract-plugin
|
|
322
|
+
|
|
323
|
+
/***/ }),
|
|
324
|
+
|
|
308
325
|
/***/ "5d8c":
|
|
309
326
|
/***/ (function(module, exports) {
|
|
310
327
|
|
|
@@ -366,6 +383,17 @@ module.exports = require("element-ui/lib/locale");
|
|
|
366
383
|
|
|
367
384
|
module.exports = require("element-ui/lib/theme-chalk/option.css");
|
|
368
385
|
|
|
386
|
+
/***/ }),
|
|
387
|
+
|
|
388
|
+
/***/ "83b5":
|
|
389
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
390
|
+
|
|
391
|
+
"use strict";
|
|
392
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_54147954_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("86da");
|
|
393
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_54147954_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_54147954_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
394
|
+
/* unused harmony reexport * */
|
|
395
|
+
|
|
396
|
+
|
|
369
397
|
/***/ }),
|
|
370
398
|
|
|
371
399
|
/***/ "8535":
|
|
@@ -382,6 +410,13 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
382
410
|
|
|
383
411
|
/***/ }),
|
|
384
412
|
|
|
413
|
+
/***/ "86da":
|
|
414
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
415
|
+
|
|
416
|
+
// extracted by mini-css-extract-plugin
|
|
417
|
+
|
|
418
|
+
/***/ }),
|
|
419
|
+
|
|
385
420
|
/***/ "8bbf":
|
|
386
421
|
/***/ (function(module, exports) {
|
|
387
422
|
|
|
@@ -394,6 +429,17 @@ module.exports = require("vue");
|
|
|
394
429
|
|
|
395
430
|
module.exports = require("element-ui/lib/theme-chalk/icon.css");
|
|
396
431
|
|
|
432
|
+
/***/ }),
|
|
433
|
+
|
|
434
|
+
/***/ "9379":
|
|
435
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
436
|
+
|
|
437
|
+
"use strict";
|
|
438
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_0e7b9568_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5d4c");
|
|
439
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_0e7b9568_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_0e7b9568_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
440
|
+
/* unused harmony reexport * */
|
|
441
|
+
|
|
442
|
+
|
|
397
443
|
/***/ }),
|
|
398
444
|
|
|
399
445
|
/***/ "93e6":
|
|
@@ -410,24 +456,6 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
410
456
|
|
|
411
457
|
/***/ }),
|
|
412
458
|
|
|
413
|
-
/***/ "97da":
|
|
414
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
415
|
-
|
|
416
|
-
"use strict";
|
|
417
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_01b30450_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9996");
|
|
418
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_01b30450_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_01b30450_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
419
|
-
/* unused harmony reexport * */
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
/***/ }),
|
|
423
|
-
|
|
424
|
-
/***/ "9996":
|
|
425
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
426
|
-
|
|
427
|
-
// extracted by mini-css-extract-plugin
|
|
428
|
-
|
|
429
|
-
/***/ }),
|
|
430
|
-
|
|
431
459
|
/***/ "9a25":
|
|
432
460
|
/***/ (function(module, exports) {
|
|
433
461
|
|
|
@@ -503,6 +531,17 @@ module.exports = require("element-ui/lib/theme-chalk/container.css");
|
|
|
503
531
|
|
|
504
532
|
module.exports = require("element-ui/lib/icon");
|
|
505
533
|
|
|
534
|
+
/***/ }),
|
|
535
|
+
|
|
536
|
+
/***/ "b3b8":
|
|
537
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
538
|
+
|
|
539
|
+
"use strict";
|
|
540
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_6fa856d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("35cd");
|
|
541
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_6fa856d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_6fa856d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
542
|
+
/* unused harmony reexport * */
|
|
543
|
+
|
|
544
|
+
|
|
506
545
|
/***/ }),
|
|
507
546
|
|
|
508
547
|
/***/ "b777":
|
|
@@ -519,13 +558,6 @@ module.exports = require("core-js/modules/web.url.js");
|
|
|
519
558
|
|
|
520
559
|
/***/ }),
|
|
521
560
|
|
|
522
|
-
/***/ "b9c9":
|
|
523
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
524
|
-
|
|
525
|
-
// extracted by mini-css-extract-plugin
|
|
526
|
-
|
|
527
|
-
/***/ }),
|
|
528
|
-
|
|
529
561
|
/***/ "bf03":
|
|
530
562
|
/***/ (function(module, exports) {
|
|
531
563
|
|
|
@@ -547,28 +579,24 @@ module.exports = require("element-ui/lib/carousel-item");
|
|
|
547
579
|
|
|
548
580
|
/***/ }),
|
|
549
581
|
|
|
550
|
-
/***/ "
|
|
551
|
-
/***/ (function(module,
|
|
552
|
-
|
|
553
|
-
"use strict";
|
|
554
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4802b201_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b9c9");
|
|
555
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4802b201_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4802b201_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
556
|
-
/* unused harmony reexport * */
|
|
582
|
+
/***/ "c8a6":
|
|
583
|
+
/***/ (function(module, exports) {
|
|
557
584
|
|
|
585
|
+
module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
558
586
|
|
|
559
587
|
/***/ }),
|
|
560
588
|
|
|
561
|
-
/***/ "
|
|
589
|
+
/***/ "ccb0":
|
|
562
590
|
/***/ (function(module, exports) {
|
|
563
591
|
|
|
564
|
-
module.exports = require("core-js/modules/es.
|
|
592
|
+
module.exports = require("core-js/modules/es.array.concat.js");
|
|
565
593
|
|
|
566
594
|
/***/ }),
|
|
567
595
|
|
|
568
|
-
/***/ "
|
|
569
|
-
/***/ (function(module, exports
|
|
596
|
+
/***/ "da6e":
|
|
597
|
+
/***/ (function(module, exports) {
|
|
570
598
|
|
|
571
|
-
|
|
599
|
+
module.exports = require("core-js/modules/es.array.flat.js");
|
|
572
600
|
|
|
573
601
|
/***/ }),
|
|
574
602
|
|
|
@@ -600,13 +628,6 @@ module.exports = require("core-js/modules/es.promise.js");
|
|
|
600
628
|
|
|
601
629
|
/***/ }),
|
|
602
630
|
|
|
603
|
-
/***/ "ee47":
|
|
604
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
605
|
-
|
|
606
|
-
// extracted by mini-css-extract-plugin
|
|
607
|
-
|
|
608
|
-
/***/ }),
|
|
609
|
-
|
|
610
631
|
/***/ "f989":
|
|
611
632
|
/***/ (function(module, exports) {
|
|
612
633
|
|
|
@@ -649,12 +670,12 @@ if (typeof window !== 'undefined') {
|
|
|
649
670
|
// Indicate to webpack that this file can be concatenated
|
|
650
671
|
/* harmony default export */ var setPublicPath = (null);
|
|
651
672
|
|
|
652
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
673
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ca368ab4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=3d2da278&scoped=true&
|
|
653
674
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"flatmap-container",attrs:{"element-loading-text":"Loading...","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.3)"}},[_c('map-svg-sprite-color'),_c('div',{staticStyle:{"height":"100%","width":"100%","position":"relative","overflow-y":"none"}},[_c('div',{ref:"display",staticStyle:{"height":"100%","width":"100%"}}),(_vm.displayWarning)?_c('el-popover',{ref:"warningPopover",attrs:{"content":_vm.warningMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[6].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[6], "value", $$v)},expression:"hoverVisibilities[6].value"}}):_vm._e(),(_vm.displayWarning)?_c('i',{directives:[{name:"popover",rawName:"v-popover:warningPopover",arg:"warningPopover"}],staticClass:"el-icon-warning warning-icon",on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]):_vm._e(),_c('div',{staticClass:"bottom-right-control"},[_c('el-popover',{attrs:{"content":"Zoom in","placement":"left","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper left-popper"},model:{value:(_vm.hoverVisibilities[0].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[0], "value", $$v)},expression:"hoverVisibilities[0].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomIn",attrs:{"slot":"reference","icon":"zoomIn"},nativeOn:{"click":function($event){return _vm.zoomIn()},"mouseover":function($event){return _vm.showToolitip(0)},"mouseout":function($event){return _vm.hideToolitip(0)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Zoom out","placement":"top-end","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-zoomout"},model:{value:(_vm.hoverVisibilities[1].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[1], "value", $$v)},expression:"hoverVisibilities[1].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomOut",attrs:{"slot":"reference","icon":"zoomOut"},nativeOn:{"click":function($event){return _vm.zoomOut()},"mouseover":function($event){return _vm.showToolitip(1)},"mouseout":function($event){return _vm.hideToolitip(1)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Reset","placement":"top","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper"},model:{value:(_vm.hoverVisibilities[2].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[2], "value", $$v)},expression:"hoverVisibilities[2].value"}},[_c('div',[_vm._v(" Fit to "),_c('br'),_vm._v(" window ")]),_c('map-svg-icon',{staticClass:"icon-button fitWindow",attrs:{"slot":"reference","icon":"fitWindow"},nativeOn:{"click":function($event){return _vm.resetView()},"mouseover":function($event){return _vm.showToolitip(2)},"mouseout":function($event){return _vm.hideToolitip(2)}},slot:"reference"})],1)],1),_c('el-popover',{ref:"checkBoxPopover",attrs:{"content":"Change pathway visibility","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[4].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[4], "value", $$v)},expression:"hoverVisibilities[4].value"}}),_c('div',{staticClass:"pathway-location",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen }},[(_vm.pathways.length > 0 && _vm.pathControls)?_c('div',{directives:[{name:"popover",rawName:"v-popover:checkBoxPopover",arg:"checkBoxPopover"}],staticClass:"pathway-container"},[_c('el-popover',{ref:"markerPopover",attrs:{"content":"Find these markers for data","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-bump-right right-popper"},model:{value:(_vm.hoverVisibilities[5].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[5], "value", $$v)},expression:"hoverVisibilities[5].value"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.hoverVisibilities[5].value),expression:"hoverVisibilities[5].value"},{name:"popover",rawName:"v-popover:markerPopover",arg:"markerPopover"}],staticClass:"flatmap-marker-help",domProps:{"innerHTML":_vm._s(_vm.flatmapMarker)}}),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('div',{staticClass:"pathways-display-text"},[_vm._v("Pathways")])]),_c('el-col',{attrs:{"span":12}},[_c('el-checkbox',{staticClass:"all-checkbox",attrs:{"indeterminate":_vm.isIndeterminate},on:{"change":_vm.handleCheckAllChange},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:"checkAll"}},[_vm._v("Display all")])],1)],1),_c('el-checkbox-group',{staticClass:"checkbox-group",attrs:{"size":"small"},on:{"change":_vm.handleCheckedItemsChange},model:{value:(_vm.checkedItems),callback:function ($$v) {_vm.checkedItems=$$v},expression:"checkedItems"}},[_c('div',{staticClass:"checkbox-group-inner"},_vm._l((_vm.pathways),function(item){return _c('el-row',{key:item.type,attrs:{"label":item.type}},[_c('div',{staticClass:"checkbox-container"},[_c('el-checkbox',{staticClass:"my-checkbox",attrs:{"label":item.type,"checked":true},on:{"change":function($event){return _vm.visibilityToggle()}}},[_c('div',{staticClass:"path-visual",class:item.type}),_vm._v(" "+_vm._s(item.label)+" ")])],1)])}),1)])],1):_vm._e(),_c('div',{staticClass:"drawer-button",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },on:{"click":_vm.toggleDrawer}},[_c('i',{staticClass:"el-icon-arrow-left"})])]),_c('el-popover',{ref:"backgroundPopover",attrs:{"placement":"top-start","width":"175","appendToBody":false,"trigger":"click","popper-class":"background-popper"}},[_c('el-row',{staticClass:"backgroundText"},[_vm._v("Organs display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setColour},model:{value:(_vm.colourRadio),callback:function ($$v) {_vm.colourRadio=$$v},expression:"colourRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Colour")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Greyscale")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Outlines display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setOutlines},model:{value:(_vm.outlinesRadio),callback:function ($$v) {_vm.outlinesRadio=$$v},expression:"outlinesRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Show")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Hide")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Change background")]),_c('el-row',{staticClass:"backgroundControl"},_vm._l((_vm.availableBackground),function(item){return _c('div',{key:item,class:['backgroundChoice', item, item == _vm.currentBackground ? 'active' :''],on:{"click":function($event){return _vm.backgroundChangeCallback(item)}}})}),0)],1),_c('el-popover',{attrs:{"content":"Change background color","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[3].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[3], "value", $$v)},expression:"hoverVisibilities[3].value"}},[_c('map-svg-icon',{directives:[{name:"popover",rawName:"v-popover:backgroundPopover",arg:"backgroundPopover"}],staticClass:"icon-button background-colour",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },attrs:{"slot":"reference","icon":"changeBckgd"},nativeOn:{"mouseover":function($event){return _vm.showToolitip(3)},"mouseout":function($event){return _vm.hideToolitip(3)}},slot:"reference"})],1),_c('Tooltip',{ref:"tooltip",staticClass:"tooltip",attrs:{"content":_vm.tooltipContent,"flatmapAPI":_vm.flatmapAPI},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
|
|
654
675
|
var staticRenderFns = []
|
|
655
676
|
|
|
656
677
|
|
|
657
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
678
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=3d2da278&scoped=true&
|
|
658
679
|
|
|
659
680
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
660
681
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -776,6 +797,35 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
776
797
|
}
|
|
777
798
|
};
|
|
778
799
|
}
|
|
800
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
801
|
+
|
|
802
|
+
function _arrayWithoutHoles(arr) {
|
|
803
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
804
|
+
}
|
|
805
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
function _iterableToArray(iter) {
|
|
815
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
816
|
+
}
|
|
817
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
818
|
+
function _nonIterableSpread() {
|
|
819
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
820
|
+
}
|
|
821
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
822
|
+
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
function _toConsumableArray(arr) {
|
|
827
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
828
|
+
}
|
|
779
829
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/row.css"
|
|
780
830
|
var row_css_ = __webpack_require__("fd9c");
|
|
781
831
|
|
|
@@ -859,12 +909,12 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
859
909
|
var external_vue_ = __webpack_require__("8bbf");
|
|
860
910
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
861
911
|
|
|
862
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
863
|
-
var
|
|
864
|
-
var
|
|
912
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ca368ab4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=0e7b9568&scoped=true&
|
|
913
|
+
var Tooltipvue_type_template_id_0e7b9568_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"flatmapAPI":_vm.flatmapAPI,"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" ")])})],2):_vm._e(),(this.dendrites)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Dendrites")]),_vm._l((_vm.dendrites),function(dendrite){return _c('div',{key:dendrite,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(dendrite))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.dendritesWithDatasets.length > 0),expression:"dendritesWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore dendrite data ")])],2):_vm._e(),(this.axons)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Axons")]),_vm._l((_vm.axons),function(axon){return _c('div',{key:axon,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(axon))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.axonsWithDatasets.length > 0),expression:"axonsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore axon data ")])],2):_vm._e(),(_vm.content.uberon)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Feature Id")]),_c('span',{staticClass:"attribute-content"},[_vm._v(_vm._s(_vm.content.uberon))])]):_vm._e(),_vm._l((_vm.content.actions),function(action){return _c('el-button',{key:action.title,staticClass:"button",attrs:{"round":""},on:{"click":function($event){return _vm.resourceSelected(action)}}},[(action.title === 'Search for dataset' || action.title === 'View Dataset' )?_c('i',{staticClass:"el-icon-coin"}):_vm._e(),_vm._v(" "+_vm._s(action.title)+" ")])}),(_vm.pubmedSearchUrl)?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],2):_vm._e()],1)}
|
|
914
|
+
var Tooltipvue_type_template_id_0e7b9568_scoped_true_staticRenderFns = []
|
|
865
915
|
|
|
866
916
|
|
|
867
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=
|
|
917
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=0e7b9568&scoped=true&
|
|
868
918
|
|
|
869
919
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/main.css"
|
|
870
920
|
var main_css_ = __webpack_require__("73ef");
|
|
@@ -904,6 +954,18 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
|
904
954
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
905
955
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
906
956
|
|
|
957
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
958
|
+
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
959
|
+
|
|
960
|
+
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
961
|
+
var es_promise_js_ = __webpack_require__("ec71");
|
|
962
|
+
|
|
963
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
964
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
965
|
+
|
|
966
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
967
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
968
|
+
|
|
907
969
|
// EXTERNAL MODULE: external "element-ui/lib/locale/lang/en"
|
|
908
970
|
var en_ = __webpack_require__("6bfd");
|
|
909
971
|
var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
@@ -912,12 +974,12 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
912
974
|
var locale_ = __webpack_require__("7f9f");
|
|
913
975
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
914
976
|
|
|
915
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
916
|
-
var
|
|
917
|
-
var
|
|
977
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ca368ab4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=6fa856d7&scoped=true&
|
|
978
|
+
var PubmedViewervue_type_template_id_6fa856d7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pubmed-container"},[_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading.response),expression:"loading.response"}],staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Pubmed Resources")]),_c('br'),_c('el-carousel',{attrs:{"autoplay":false,"indicator-position":"outside","height":"250px","width":"200px"}},_vm._l((_vm.pubmeds),function(pub,i){return _c('el-carousel-item',{key:i},[_c('div',{staticClass:"attribute-content"},[_c('div',{domProps:{"innerHTML":_vm._s(pub.html)}}),_c('el-link',{staticClass:"el-link",attrs:{"href":pub.url,"underline":false,"target":"_blank"}},[_vm._v(_vm._s(pub.url))])],1)])}),1)],1)])}
|
|
979
|
+
var PubmedViewervue_type_template_id_6fa856d7_scoped_true_staticRenderFns = []
|
|
918
980
|
|
|
919
981
|
|
|
920
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=
|
|
982
|
+
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=6fa856d7&scoped=true&
|
|
921
983
|
|
|
922
984
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
923
985
|
function _arrayWithHoles(arr) {
|
|
@@ -993,9 +1055,6 @@ var link_css_ = __webpack_require__("230a");
|
|
|
993
1055
|
var link_ = __webpack_require__("7db7");
|
|
994
1056
|
var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
995
1057
|
|
|
996
|
-
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
997
|
-
var es_promise_js_ = __webpack_require__("ec71");
|
|
998
|
-
|
|
999
1058
|
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
1000
1059
|
var web_url_js_ = __webpack_require__("b94f");
|
|
1001
1060
|
|
|
@@ -1019,6 +1078,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
1019
1078
|
|
|
1020
1079
|
|
|
1021
1080
|
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
|
|
1022
1085
|
|
|
1023
1086
|
|
|
1024
1087
|
|
|
@@ -1055,31 +1118,39 @@ locale_default.a.use(en_default.a);
|
|
|
1055
1118
|
external_vue_default.a.use(link_default.a);
|
|
1056
1119
|
external_vue_default.a.use(carousel_default.a);
|
|
1057
1120
|
external_vue_default.a.use(carousel_item_default.a);
|
|
1121
|
+
external_vue_default.a.use(button_default.a);
|
|
1058
1122
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
1059
1123
|
name: "Tooltip",
|
|
1060
1124
|
props: {
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
},
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* Specify the endpoint of the flatmap server.
|
|
1068
|
-
*/
|
|
1125
|
+
/**
|
|
1126
|
+
* Specify the endpoint of the flatmap server.
|
|
1127
|
+
*/
|
|
1069
1128
|
flatmapAPI: {
|
|
1070
1129
|
type: String,
|
|
1071
|
-
default:
|
|
1130
|
+
default: 'https://mapcore-demo.org/current/flatmap/v2/'
|
|
1131
|
+
},
|
|
1132
|
+
entry: {
|
|
1133
|
+
type: Object,
|
|
1134
|
+
default: function _default() {}
|
|
1072
1135
|
}
|
|
1073
1136
|
},
|
|
1074
1137
|
watch: {
|
|
1075
|
-
'featureId': function
|
|
1076
|
-
|
|
1077
|
-
|
|
1138
|
+
'entry.featureId': function entryFeatureId(val) {
|
|
1139
|
+
var _this = this;
|
|
1140
|
+
|
|
1141
|
+
this.flatmapQuery(val).then(function (pb) {
|
|
1142
|
+
return _this.pubmeds = pb;
|
|
1143
|
+
});
|
|
1144
|
+
},
|
|
1145
|
+
'entry.featureIds': {
|
|
1146
|
+
handler: function handler(ids) {
|
|
1147
|
+
this.flatmapQuery(ids);
|
|
1148
|
+
}
|
|
1078
1149
|
}
|
|
1079
1150
|
},
|
|
1080
|
-
computed: {},
|
|
1081
1151
|
data: function data() {
|
|
1082
1152
|
return {
|
|
1153
|
+
data: {},
|
|
1083
1154
|
pubmeds: [],
|
|
1084
1155
|
pubmedIds: [],
|
|
1085
1156
|
loading: {
|
|
@@ -1089,7 +1160,7 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1089
1160
|
};
|
|
1090
1161
|
},
|
|
1091
1162
|
mounted: function mounted() {
|
|
1092
|
-
this.flatmapQuery(this.
|
|
1163
|
+
if (this.entry.featureIds) this.flatmapQuery(this.entry.featureIds);
|
|
1093
1164
|
},
|
|
1094
1165
|
methods: {
|
|
1095
1166
|
stripPMIDPrefix: function stripPMIDPrefix(pubmedId) {
|
|
@@ -1110,17 +1181,31 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1110
1181
|
var split = bibliographyString.split('https');
|
|
1111
1182
|
return [split[0], 'https' + split[1]];
|
|
1112
1183
|
},
|
|
1113
|
-
|
|
1114
|
-
var
|
|
1184
|
+
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
1185
|
+
var sql = 'select distinct publication from publications where entity in (';
|
|
1186
|
+
|
|
1187
|
+
if (keastIds.length === 1) {
|
|
1188
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1189
|
+
} else if (keastIds.length > 1) {
|
|
1190
|
+
for (var i in keastIds) {
|
|
1191
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
return sql;
|
|
1196
|
+
},
|
|
1197
|
+
flatmapQuery: function flatmapQuery(keastIds) {
|
|
1198
|
+
var _this2 = this;
|
|
1115
1199
|
|
|
1200
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
1116
1201
|
this.pubmeds = [];
|
|
1117
|
-
this.loading.response = true;
|
|
1118
|
-
|
|
1202
|
+
this.loading.response = true; // fetch pubmed publications for the given ids
|
|
1203
|
+
|
|
1119
1204
|
var data = {
|
|
1120
|
-
sql:
|
|
1121
|
-
"params": [identifier]
|
|
1205
|
+
sql: this.buildPubmedSqlStatement(keastIds)
|
|
1122
1206
|
};
|
|
1123
|
-
|
|
1207
|
+
console.log(data);
|
|
1208
|
+
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
1124
1209
|
method: 'POST',
|
|
1125
1210
|
headers: {
|
|
1126
1211
|
'Content-Type': 'application/json'
|
|
@@ -1129,18 +1214,19 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1129
1214
|
}).then(function (response) {
|
|
1130
1215
|
return response.json();
|
|
1131
1216
|
}).then(function (data) {
|
|
1132
|
-
|
|
1133
|
-
|
|
1217
|
+
_this2.responseData = data;
|
|
1218
|
+
_this2.loading.response = false; // create links for each pubmedId
|
|
1219
|
+
|
|
1134
1220
|
data.values.forEach(function (identifier) {
|
|
1135
|
-
var ids =
|
|
1221
|
+
var ids = _this2.stripPMIDPrefix(identifier[0]);
|
|
1136
1222
|
|
|
1137
|
-
|
|
1138
|
-
var
|
|
1139
|
-
|
|
1140
|
-
html =
|
|
1141
|
-
link =
|
|
1223
|
+
_this2.titleFromPubmed(ids).then(function (bib) {
|
|
1224
|
+
var _this2$splitLink = _this2.splitLink(bib),
|
|
1225
|
+
_this2$splitLink2 = _slicedToArray(_this2$splitLink, 2),
|
|
1226
|
+
html = _this2$splitLink2[0],
|
|
1227
|
+
link = _this2$splitLink2[1];
|
|
1142
1228
|
|
|
1143
|
-
|
|
1229
|
+
_this2.pubmeds.push({
|
|
1144
1230
|
identifier: identifier[0],
|
|
1145
1231
|
html: html,
|
|
1146
1232
|
url: link
|
|
@@ -1148,8 +1234,8 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1148
1234
|
});
|
|
1149
1235
|
});
|
|
1150
1236
|
|
|
1151
|
-
|
|
1152
|
-
return
|
|
1237
|
+
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
1238
|
+
return _this2.stripPMIDPrefix(id[0]);
|
|
1153
1239
|
})));
|
|
1154
1240
|
}).catch(function (error) {
|
|
1155
1241
|
console.error('Error:', error);
|
|
@@ -1165,8 +1251,8 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1165
1251
|
});
|
|
1166
1252
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
1167
1253
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
1168
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=
|
|
1169
|
-
var
|
|
1254
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=6fa856d7&scoped=true&lang=scss&
|
|
1255
|
+
var PubmedViewervue_type_style_index_0_id_6fa856d7_scoped_true_lang_scss_ = __webpack_require__("b3b8");
|
|
1170
1256
|
|
|
1171
1257
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1172
1258
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -1279,16 +1365,20 @@ function normalizeComponent (
|
|
|
1279
1365
|
|
|
1280
1366
|
var component = normalizeComponent(
|
|
1281
1367
|
components_PubmedViewervue_type_script_lang_js_,
|
|
1282
|
-
|
|
1283
|
-
|
|
1368
|
+
PubmedViewervue_type_template_id_6fa856d7_scoped_true_render,
|
|
1369
|
+
PubmedViewervue_type_template_id_6fa856d7_scoped_true_staticRenderFns,
|
|
1284
1370
|
false,
|
|
1285
1371
|
null,
|
|
1286
|
-
"
|
|
1372
|
+
"6fa856d7",
|
|
1287
1373
|
null
|
|
1288
1374
|
|
|
1289
1375
|
)
|
|
1290
1376
|
|
|
1291
1377
|
/* harmony default export */ var PubmedViewer = (component.exports);
|
|
1378
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
1379
|
+
|
|
1380
|
+
var EventBus = new external_vue_default.a();
|
|
1381
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
1292
1382
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
1293
1383
|
|
|
1294
1384
|
|
|
@@ -1307,6 +1397,38 @@ var component = normalizeComponent(
|
|
|
1307
1397
|
|
|
1308
1398
|
|
|
1309
1399
|
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
//
|
|
1417
|
+
//
|
|
1418
|
+
//
|
|
1419
|
+
//
|
|
1420
|
+
//
|
|
1421
|
+
//
|
|
1422
|
+
//
|
|
1423
|
+
//
|
|
1424
|
+
//
|
|
1425
|
+
//
|
|
1426
|
+
//
|
|
1427
|
+
//
|
|
1428
|
+
//
|
|
1429
|
+
//
|
|
1430
|
+
//
|
|
1431
|
+
//
|
|
1310
1432
|
//
|
|
1311
1433
|
//
|
|
1312
1434
|
//
|
|
@@ -1354,7 +1476,9 @@ external_vue_default.a.use(button_default.a);
|
|
|
1354
1476
|
external_vue_default.a.use(container_default.a);
|
|
1355
1477
|
external_vue_default.a.use(header_default.a);
|
|
1356
1478
|
external_vue_default.a.use(icon_default.a);
|
|
1357
|
-
external_vue_default.a.use(main_default.a);
|
|
1479
|
+
external_vue_default.a.use(main_default.a); // pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
1480
|
+
|
|
1481
|
+
|
|
1358
1482
|
|
|
1359
1483
|
|
|
1360
1484
|
var _titleCase = function titleCase(str) {
|
|
@@ -1363,12 +1487,20 @@ var _titleCase = function titleCase(str) {
|
|
|
1363
1487
|
});
|
|
1364
1488
|
};
|
|
1365
1489
|
|
|
1490
|
+
var _capitalise = function capitalise(str) {
|
|
1491
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1366
1494
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
1367
1495
|
components: {
|
|
1368
1496
|
PubmedViewer: PubmedViewer
|
|
1369
1497
|
},
|
|
1370
1498
|
name: "Tooltip",
|
|
1371
1499
|
props: {
|
|
1500
|
+
flatmapAPI: {
|
|
1501
|
+
type: String,
|
|
1502
|
+
default: 'https://mapcore-demo.org/current/flatmap/v2/'
|
|
1503
|
+
},
|
|
1372
1504
|
visible: {
|
|
1373
1505
|
type: Boolean,
|
|
1374
1506
|
default: false
|
|
@@ -1376,23 +1508,35 @@ var _titleCase = function titleCase(str) {
|
|
|
1376
1508
|
content: {
|
|
1377
1509
|
type: Object,
|
|
1378
1510
|
default: undefined
|
|
1379
|
-
},
|
|
1380
|
-
|
|
1381
|
-
/**
|
|
1382
|
-
* Specify the endpoint of the flatmap server.
|
|
1383
|
-
*/
|
|
1384
|
-
flatmapAPI: {
|
|
1385
|
-
type: String,
|
|
1386
|
-
default: "https://mapcore-demo.org/flatmaps/"
|
|
1387
1511
|
}
|
|
1388
1512
|
},
|
|
1389
1513
|
data: function data() {
|
|
1390
1514
|
return {
|
|
1391
1515
|
activeSpecies: undefined,
|
|
1392
1516
|
appendToBody: false,
|
|
1393
|
-
pubmedSearchUrl: ''
|
|
1517
|
+
pubmedSearchUrl: '',
|
|
1518
|
+
loading: false,
|
|
1519
|
+
axons: [],
|
|
1520
|
+
dendrites: [],
|
|
1521
|
+
components: [],
|
|
1522
|
+
axonsWithDatasets: [],
|
|
1523
|
+
dendritesWithDatasets: [],
|
|
1524
|
+
uberons: [{
|
|
1525
|
+
id: undefined,
|
|
1526
|
+
name: undefined
|
|
1527
|
+
}]
|
|
1394
1528
|
};
|
|
1395
1529
|
},
|
|
1530
|
+
watch: {
|
|
1531
|
+
'content.featureIds': {
|
|
1532
|
+
handler: function handler() {
|
|
1533
|
+
this.pathwayQuery(this.content.featureIds);
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
mounted: function mounted() {
|
|
1538
|
+
this.getOrganCuries();
|
|
1539
|
+
},
|
|
1396
1540
|
methods: {
|
|
1397
1541
|
resourceSelected: function resourceSelected(action) {
|
|
1398
1542
|
this.$emit("resource-selected", action);
|
|
@@ -1400,21 +1544,184 @@ var _titleCase = function titleCase(str) {
|
|
|
1400
1544
|
titleCase: function titleCase(title) {
|
|
1401
1545
|
return _titleCase(title);
|
|
1402
1546
|
},
|
|
1547
|
+
capitalise: function capitalise(text) {
|
|
1548
|
+
return _capitalise(text);
|
|
1549
|
+
},
|
|
1403
1550
|
onClose: function onClose() {
|
|
1404
1551
|
this.$emit("onClose");
|
|
1405
1552
|
},
|
|
1406
1553
|
openUrl: function openUrl(url) {
|
|
1407
1554
|
window.open(url, '_blank');
|
|
1408
1555
|
},
|
|
1556
|
+
openAxons: function openAxons() {
|
|
1557
|
+
components_EventBus.$emit('onActionClick', {
|
|
1558
|
+
type: 'Facets',
|
|
1559
|
+
labels: this.axonsWithDatasets.map(function (a) {
|
|
1560
|
+
return a.name;
|
|
1561
|
+
})
|
|
1562
|
+
});
|
|
1563
|
+
},
|
|
1564
|
+
openDendrites: function openDendrites() {
|
|
1565
|
+
components_EventBus.$emit('onActionClick', {
|
|
1566
|
+
type: 'Facets',
|
|
1567
|
+
labels: this.dendritesWithDatasets.map(function (a) {
|
|
1568
|
+
return a.name;
|
|
1569
|
+
})
|
|
1570
|
+
});
|
|
1571
|
+
},
|
|
1409
1572
|
pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
|
|
1410
1573
|
this.pubmedSearchUrl = val;
|
|
1574
|
+
},
|
|
1575
|
+
findComponents: function findComponents(connectivity) {
|
|
1576
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
1577
|
+
|
|
1578
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
1579
|
+
|
|
1580
|
+
|
|
1581
|
+
var found = [];
|
|
1582
|
+
var terminal = false;
|
|
1583
|
+
nodes.forEach(function (node) {
|
|
1584
|
+
var n = node.flat(); // Find all terms on the node
|
|
1585
|
+
|
|
1586
|
+
terminal = false; // Check if the node is an axon or dendrite
|
|
1587
|
+
|
|
1588
|
+
n.forEach(function (s) {
|
|
1589
|
+
if (connectivity.axons.includes(s)) {
|
|
1590
|
+
terminal = true;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
if (connectivity.dendrites.includes(s)) {
|
|
1594
|
+
terminal = true;
|
|
1595
|
+
}
|
|
1596
|
+
});
|
|
1597
|
+
|
|
1598
|
+
if (!terminal) {
|
|
1599
|
+
found.push(node);
|
|
1600
|
+
}
|
|
1601
|
+
}); // remove duplicates
|
|
1602
|
+
|
|
1603
|
+
var foundUnique = _toConsumableArray(new Set(found.map(function (n) {
|
|
1604
|
+
return n[0];
|
|
1605
|
+
})));
|
|
1606
|
+
|
|
1607
|
+
return foundUnique;
|
|
1608
|
+
},
|
|
1609
|
+
getOrganCuries: function getOrganCuries() {
|
|
1610
|
+
var _this = this;
|
|
1611
|
+
|
|
1612
|
+
fetch('https://api.sparc.science/get-organ-curies/').then(function (response) {
|
|
1613
|
+
return response.json();
|
|
1614
|
+
}).then(function (data) {
|
|
1615
|
+
_this.uberons = data.uberon.array;
|
|
1616
|
+
});
|
|
1617
|
+
},
|
|
1618
|
+
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
1619
|
+
var sql = 'select knowledge from knowledge where entity in (';
|
|
1620
|
+
|
|
1621
|
+
if (keastIds.length === 1) {
|
|
1622
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1623
|
+
} else if (keastIds.length > 1) {
|
|
1624
|
+
for (var i in keastIds) {
|
|
1625
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
return sql;
|
|
1630
|
+
},
|
|
1631
|
+
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
1632
|
+
var sql = 'select label from labels where entity in (';
|
|
1633
|
+
|
|
1634
|
+
if (uberons.length === 1) {
|
|
1635
|
+
sql += "'".concat(uberons[0], "')");
|
|
1636
|
+
} else if (uberons.length > 1) {
|
|
1637
|
+
for (var i in uberons) {
|
|
1638
|
+
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
return sql;
|
|
1643
|
+
},
|
|
1644
|
+
createLabelLookup: function createLabelLookup(uberons) {
|
|
1645
|
+
var _this2 = this;
|
|
1646
|
+
|
|
1647
|
+
return new Promise(function (resolve) {
|
|
1648
|
+
var uberonMap = {};
|
|
1649
|
+
var data = {
|
|
1650
|
+
sql: _this2.buildLabelSqlStatement(uberons)
|
|
1651
|
+
};
|
|
1652
|
+
fetch("".concat(_this2.flatmapAPI, "knowledge/query/"), {
|
|
1653
|
+
method: 'POST',
|
|
1654
|
+
headers: {
|
|
1655
|
+
'Content-Type': 'application/json'
|
|
1656
|
+
},
|
|
1657
|
+
body: JSON.stringify(data)
|
|
1658
|
+
}).then(function (response) {
|
|
1659
|
+
return response.json();
|
|
1660
|
+
}).then(function (data) {
|
|
1661
|
+
uberons.forEach(function (el, i) {
|
|
1662
|
+
uberonMap[el] = data.values[i][0];
|
|
1663
|
+
});
|
|
1664
|
+
resolve(uberonMap);
|
|
1665
|
+
});
|
|
1666
|
+
});
|
|
1667
|
+
},
|
|
1668
|
+
pathwayQuery: function pathwayQuery(keastIds) {
|
|
1669
|
+
var _this3 = this;
|
|
1670
|
+
|
|
1671
|
+
this.axons = [];
|
|
1672
|
+
this.dendrites = [];
|
|
1673
|
+
this.components = [];
|
|
1674
|
+
this.loading = true;
|
|
1675
|
+
if (!keastIds || keastIds.length == 0) return;
|
|
1676
|
+
var data = {
|
|
1677
|
+
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
1678
|
+
};
|
|
1679
|
+
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
1680
|
+
method: 'POST',
|
|
1681
|
+
headers: {
|
|
1682
|
+
'Content-Type': 'application/json'
|
|
1683
|
+
},
|
|
1684
|
+
body: JSON.stringify(data)
|
|
1685
|
+
}).then(function (response) {
|
|
1686
|
+
return response.json();
|
|
1687
|
+
}).then(function (data) {
|
|
1688
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
1689
|
+
|
|
1690
|
+
var components = _this3.findComponents(connectivity); // Create list of ids to get labels for
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
var conIds = connectivity.axons.concat(connectivity.dendrites.concat(components));
|
|
1694
|
+
|
|
1695
|
+
_this3.createLabelLookup(conIds).then(function (lookUp) {
|
|
1696
|
+
_this3.axons = connectivity.axons.map(function (a) {
|
|
1697
|
+
return lookUp[a];
|
|
1698
|
+
});
|
|
1699
|
+
_this3.dendrites = connectivity.dendrites.map(function (d) {
|
|
1700
|
+
return lookUp[d];
|
|
1701
|
+
});
|
|
1702
|
+
_this3.components = components.map(function (c) {
|
|
1703
|
+
return lookUp[c];
|
|
1704
|
+
});
|
|
1705
|
+
}); // Filter for the anatomy which is annotated on datasets
|
|
1706
|
+
|
|
1707
|
+
|
|
1708
|
+
_this3.axonsWithDatasets = _this3.uberons.filter(function (ub) {
|
|
1709
|
+
return connectivity.axons.indexOf(ub.id) !== -1;
|
|
1710
|
+
});
|
|
1711
|
+
_this3.dendritesWithDatasets = _this3.uberons.filter(function (ub) {
|
|
1712
|
+
return connectivity.dendrites.indexOf(ub.id) !== -1;
|
|
1713
|
+
});
|
|
1714
|
+
_this3.loading = false;
|
|
1715
|
+
}).catch(function (error) {
|
|
1716
|
+
console.error('Error:', error);
|
|
1717
|
+
});
|
|
1411
1718
|
}
|
|
1412
1719
|
}
|
|
1413
1720
|
});
|
|
1414
1721
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
1415
1722
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
1416
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
1417
|
-
var
|
|
1723
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=0e7b9568&scoped=true&lang=scss&
|
|
1724
|
+
var Tooltipvue_type_style_index_0_id_0e7b9568_scoped_true_lang_scss_ = __webpack_require__("9379");
|
|
1418
1725
|
|
|
1419
1726
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
1420
1727
|
|
|
@@ -1427,11 +1734,11 @@ var Tooltipvue_type_style_index_0_id_4802b201_scoped_true_lang_scss_ = __webpack
|
|
|
1427
1734
|
|
|
1428
1735
|
var Tooltip_component = normalizeComponent(
|
|
1429
1736
|
components_Tooltipvue_type_script_lang_js_,
|
|
1430
|
-
|
|
1431
|
-
|
|
1737
|
+
Tooltipvue_type_template_id_0e7b9568_scoped_true_render,
|
|
1738
|
+
Tooltipvue_type_template_id_0e7b9568_scoped_true_staticRenderFns,
|
|
1432
1739
|
false,
|
|
1433
1740
|
null,
|
|
1434
|
-
"
|
|
1741
|
+
"0e7b9568",
|
|
1435
1742
|
null
|
|
1436
1743
|
|
|
1437
1744
|
)
|
|
@@ -1477,6 +1784,7 @@ var svg_sprite_ = __webpack_require__("429c");
|
|
|
1477
1784
|
|
|
1478
1785
|
|
|
1479
1786
|
|
|
1787
|
+
|
|
1480
1788
|
|
|
1481
1789
|
|
|
1482
1790
|
//
|
|
@@ -1752,8 +2060,8 @@ var mapResize = function mapResize(map) {
|
|
|
1752
2060
|
this.drawerOpen = !this.drawerOpen;
|
|
1753
2061
|
},
|
|
1754
2062
|
|
|
1755
|
-
/**
|
|
1756
|
-
* Function to toggle colour/greyscale of organs.
|
|
2063
|
+
/**
|
|
2064
|
+
* Function to toggle colour/greyscale of organs.
|
|
1757
2065
|
*/
|
|
1758
2066
|
setColour: function setColour(flag) {
|
|
1759
2067
|
this.colourRadio = flag;
|
|
@@ -1766,8 +2074,8 @@ var mapResize = function mapResize(map) {
|
|
|
1766
2074
|
}
|
|
1767
2075
|
},
|
|
1768
2076
|
|
|
1769
|
-
/**
|
|
1770
|
-
* Function to toggle outlines f organs.
|
|
2077
|
+
/**
|
|
2078
|
+
* Function to toggle outlines f organs.
|
|
1771
2079
|
*/
|
|
1772
2080
|
setOutlines: function setOutlines(flag) {
|
|
1773
2081
|
this.outlineRadio = flag;
|
|
@@ -1780,9 +2088,9 @@ var mapResize = function mapResize(map) {
|
|
|
1780
2088
|
}
|
|
1781
2089
|
},
|
|
1782
2090
|
|
|
1783
|
-
/**
|
|
1784
|
-
* Function to toggle paths to default.
|
|
1785
|
-
* Also called when the associated button is pressed.
|
|
2091
|
+
/**
|
|
2092
|
+
* Function to toggle paths to default.
|
|
2093
|
+
* Also called when the associated button is pressed.
|
|
1786
2094
|
*/
|
|
1787
2095
|
resetView: function resetView() {
|
|
1788
2096
|
if (this.mapImp) {
|
|
@@ -1795,9 +2103,9 @@ var mapResize = function mapResize(map) {
|
|
|
1795
2103
|
}
|
|
1796
2104
|
},
|
|
1797
2105
|
|
|
1798
|
-
/**
|
|
1799
|
-
* Function to zoom in.
|
|
1800
|
-
* Also called when the associated button is pressed.
|
|
2106
|
+
/**
|
|
2107
|
+
* Function to zoom in.
|
|
2108
|
+
* Also called when the associated button is pressed.
|
|
1801
2109
|
*/
|
|
1802
2110
|
zoomIn: function zoomIn() {
|
|
1803
2111
|
if (this.mapImp) {
|
|
@@ -1805,9 +2113,9 @@ var mapResize = function mapResize(map) {
|
|
|
1805
2113
|
}
|
|
1806
2114
|
},
|
|
1807
2115
|
|
|
1808
|
-
/**
|
|
1809
|
-
* Function to zoom out.
|
|
1810
|
-
* Also called when the associated button is pressed.
|
|
2116
|
+
/**
|
|
2117
|
+
* Function to zoom out.
|
|
2118
|
+
* Also called when the associated button is pressed.
|
|
1811
2119
|
*/
|
|
1812
2120
|
zoomOut: function zoomOut() {
|
|
1813
2121
|
if (this.mapImp) {
|
|
@@ -1860,7 +2168,7 @@ var mapResize = function mapResize(map) {
|
|
|
1860
2168
|
eventType: eventType
|
|
1861
2169
|
}; // Disable the nueron pop up for now.
|
|
1862
2170
|
|
|
1863
|
-
if (data && data.type !== "marker") _this.checkAndCreatePopups(
|
|
2171
|
+
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
1864
2172
|
|
|
1865
2173
|
_this.$emit("resource-selected", payload);
|
|
1866
2174
|
} else {
|
|
@@ -1901,16 +2209,32 @@ var mapResize = function mapResize(map) {
|
|
|
1901
2209
|
actions: []
|
|
1902
2210
|
};
|
|
1903
2211
|
var foundAnnotations = false;
|
|
1904
|
-
this.tooltipVisible = false; //
|
|
2212
|
+
this.tooltipVisible = false; // nerve cuff check
|
|
2213
|
+
|
|
2214
|
+
if (data.feature.nodeId) {
|
|
2215
|
+
var paths = this.mapImp.nodePathModels(data.feature.nodeId);
|
|
2216
|
+
|
|
2217
|
+
if (paths.size > 0) {
|
|
2218
|
+
foundAnnotations = true;
|
|
2219
|
+
this.tooltipVisible = true;
|
|
2220
|
+
this.tooltipContent = content;
|
|
2221
|
+
this.tooltipContent.uberon = feature;
|
|
2222
|
+
this.tooltipContent.title = data.label;
|
|
2223
|
+
this.tooltipContent.featureIds = _toConsumableArray(paths);
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
return true;
|
|
2227
|
+
} // neural data check
|
|
2228
|
+
|
|
1905
2229
|
|
|
1906
2230
|
if (feature) {
|
|
1907
|
-
if (feature.includes(
|
|
2231
|
+
if (feature.includes('ilxtr:neuron')) {
|
|
1908
2232
|
foundAnnotations = true;
|
|
1909
2233
|
this.tooltipVisible = true;
|
|
1910
2234
|
this.tooltipContent = content;
|
|
1911
2235
|
this.tooltipContent.uberon = feature;
|
|
1912
2236
|
this.tooltipContent.title = data.label;
|
|
1913
|
-
this.tooltipContent.
|
|
2237
|
+
this.tooltipContent.featureIds = [feature];
|
|
1914
2238
|
this.tooltipContent.actions.push({
|
|
1915
2239
|
title: "Search for dataset",
|
|
1916
2240
|
label: "Neuron Datasets",
|
|
@@ -2105,25 +2429,18 @@ var mapResize = function mapResize(map) {
|
|
|
2105
2429
|
this.drawerOpen = flag;
|
|
2106
2430
|
},
|
|
2107
2431
|
|
|
2108
|
-
/**
|
|
2109
|
-
* Function to display features with annotation matching the provided term.
|
|
2432
|
+
/**
|
|
2433
|
+
* Function to display features with annotation matching the provided term.
|
|
2110
2434
|
*/
|
|
2111
2435
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
2112
2436
|
if (this.mapImp) {
|
|
2113
2437
|
if (term === undefined || term === "") {
|
|
2114
2438
|
this.mapImp.clearSearchResults();
|
|
2115
|
-
return true;
|
|
2116
2439
|
} else {
|
|
2117
2440
|
var searchResults = this.mapImp.search(term);
|
|
2118
|
-
|
|
2119
|
-
if (searchResults && searchResults.__featureIds.length > 0) {
|
|
2120
|
-
this.mapImp.showSearchResults(searchResults);
|
|
2121
|
-
return true;
|
|
2122
|
-
} else this.mapImp.clearSearchResults();
|
|
2441
|
+
if (searchResults && searchResults.__featureIds.length > 0) this.mapImp.showSearchResults(searchResults);else this.mapImp.clearSearchResults();
|
|
2123
2442
|
}
|
|
2124
2443
|
}
|
|
2125
|
-
|
|
2126
|
-
return false;
|
|
2127
2444
|
}
|
|
2128
2445
|
},
|
|
2129
2446
|
props: {
|
|
@@ -2169,16 +2486,16 @@ var mapResize = function mapResize(map) {
|
|
|
2169
2486
|
default: "Beta feature - This map is based on the connectivity of a rat. New connectivity and species specificity will be added as the SPARC program progress."
|
|
2170
2487
|
},
|
|
2171
2488
|
|
|
2172
|
-
/**
|
|
2173
|
-
* State containing state of the flatmap.
|
|
2489
|
+
/**
|
|
2490
|
+
* State containing state of the flatmap.
|
|
2174
2491
|
*/
|
|
2175
2492
|
state: {
|
|
2176
2493
|
type: Object,
|
|
2177
2494
|
default: undefined
|
|
2178
2495
|
},
|
|
2179
2496
|
|
|
2180
|
-
/**
|
|
2181
|
-
* Specify the endpoint of the flatmap server.
|
|
2497
|
+
/**
|
|
2498
|
+
* Specify the endpoint of the flatmap server.
|
|
2182
2499
|
*/
|
|
2183
2500
|
flatmapAPI: {
|
|
2184
2501
|
type: String,
|
|
@@ -2212,7 +2529,9 @@ var mapResize = function mapResize(map) {
|
|
|
2212
2529
|
loading: false,
|
|
2213
2530
|
flatmapMarker: flatmap_marker,
|
|
2214
2531
|
drawerOpen: true,
|
|
2215
|
-
tooltipContent: {
|
|
2532
|
+
tooltipContent: {
|
|
2533
|
+
featureIds: []
|
|
2534
|
+
},
|
|
2216
2535
|
colourRadio: true,
|
|
2217
2536
|
outlinesRadio: true
|
|
2218
2537
|
};
|
|
@@ -2241,8 +2560,8 @@ var mapResize = function mapResize(map) {
|
|
|
2241
2560
|
});
|
|
2242
2561
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
2243
2562
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
2244
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2245
|
-
var
|
|
2563
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=3d2da278&scoped=true&lang=scss&
|
|
2564
|
+
var FlatmapVuervue_type_style_index_0_id_3d2da278_scoped_true_lang_scss_ = __webpack_require__("30e8");
|
|
2246
2565
|
|
|
2247
2566
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
2248
2567
|
|
|
@@ -2259,18 +2578,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
2259
2578
|
staticRenderFns,
|
|
2260
2579
|
false,
|
|
2261
2580
|
null,
|
|
2262
|
-
"
|
|
2581
|
+
"3d2da278",
|
|
2263
2582
|
null
|
|
2264
2583
|
|
|
2265
2584
|
)
|
|
2266
2585
|
|
|
2267
2586
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
2268
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2269
|
-
var
|
|
2270
|
-
var
|
|
2587
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ca368ab4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=54147954&scoped=true&
|
|
2588
|
+
var MultiFlatmapVuervue_type_template_id_54147954_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"multi-container"},[_c('div',{staticStyle:{"position":"absolute","z-index":"10"}},[_c('div',{staticClass:"species-display-text"},[_vm._v(" Species ")]),_c('el-popover',{ref:"selectPopover",attrs:{"content":"Select a species","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.helpMode),callback:function ($$v) {_vm.helpMode=$$v},expression:"helpMode"}}),_c('el-select',{directives:[{name:"popover",rawName:"v-popover:selectPopover",arg:"selectPopover"}],staticClass:"select-box",attrs:{"id":"flatmap-select","popper-append-to-body":_vm.appendToBody,"placeholder":"Select","popper-class":"flatmap_dropdown"},on:{"change":_vm.flatmapChanged},model:{value:(_vm.activeSpecies),callback:function ($$v) {_vm.activeSpecies=$$v},expression:"activeSpecies"}},_vm._l((_vm.speciesList),function(item,key){return _c('el-option',{key:key,attrs:{"label":key,"value":key}},[_c('el-row',[_c('el-col',{attrs:{"span":8}},[_c('i',{class:item.iconClass})]),_c('el-col',{attrs:{"span":12}},[_vm._v(_vm._s(key))])],1)],1)}),1)],1),_vm._l((_vm.speciesList),function(item,key){return _c('FlatmapVuer',{directives:[{name:"show",rawName:"v-show",value:(_vm.activeSpecies==key),expression:"activeSpecies==key"}],key:key,ref:key,refInFor:true,staticStyle:{"height":"100%"},attrs:{"showLayer":_vm.showLayer,"entry":item.taxo,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
|
|
2589
|
+
var MultiFlatmapVuervue_type_template_id_54147954_scoped_true_staticRenderFns = []
|
|
2271
2590
|
|
|
2272
2591
|
|
|
2273
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
2592
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=54147954&scoped=true&
|
|
2274
2593
|
|
|
2275
2594
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/popover.css"
|
|
2276
2595
|
var popover_css_ = __webpack_require__("a525");
|
|
@@ -2376,6 +2695,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
2376
2695
|
|
|
2377
2696
|
|
|
2378
2697
|
|
|
2698
|
+
|
|
2379
2699
|
locale_default.a.use(en_default.a);
|
|
2380
2700
|
external_vue_default.a.use(col_default.a);
|
|
2381
2701
|
external_vue_default.a.use(row_default.a);
|
|
@@ -2388,35 +2708,40 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2388
2708
|
FlatmapVuer: FlatmapVuer
|
|
2389
2709
|
},
|
|
2390
2710
|
mounted: function mounted() {
|
|
2711
|
+
var _this = this;
|
|
2712
|
+
|
|
2391
2713
|
this.initialise();
|
|
2714
|
+
components_EventBus.$on('onActionClick', function (action) {
|
|
2715
|
+
_this.FlatmapSelected(action);
|
|
2716
|
+
});
|
|
2392
2717
|
},
|
|
2393
2718
|
methods: {
|
|
2394
2719
|
initialise: function initialise() {
|
|
2395
|
-
var
|
|
2720
|
+
var _this2 = this;
|
|
2396
2721
|
|
|
2397
2722
|
return new Promise(function (resolve) {
|
|
2398
|
-
fetch(
|
|
2723
|
+
fetch(_this2.flatmapAPI).then(function (response) {
|
|
2399
2724
|
return response.json();
|
|
2400
2725
|
}).then(function (data) {
|
|
2401
|
-
|
|
2402
|
-
Object.keys(
|
|
2726
|
+
_this2.speciesLis = {};
|
|
2727
|
+
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
2403
2728
|
for (var i = 0; i < data.length; i++) {
|
|
2404
|
-
if (data[i].describes ==
|
|
2405
|
-
|
|
2729
|
+
if (data[i].describes == _this2.availableSpecies[key].taxo) {
|
|
2730
|
+
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
2406
2731
|
break;
|
|
2407
2732
|
}
|
|
2408
2733
|
}
|
|
2409
2734
|
});
|
|
2410
2735
|
|
|
2411
|
-
if (!
|
|
2412
|
-
if (
|
|
2413
|
-
|
|
2736
|
+
if (!_this2.state) {
|
|
2737
|
+
if (_this2.initial && _this2.speciesList[_this2.initial] !== undefined) {
|
|
2738
|
+
_this2.activeSpecies = _this2.initial;
|
|
2414
2739
|
} else {
|
|
2415
|
-
|
|
2740
|
+
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
2416
2741
|
}
|
|
2417
2742
|
|
|
2418
2743
|
external_vue_default.a.nextTick(function () {
|
|
2419
|
-
if (
|
|
2744
|
+
if (_this2.$refs[_this2.activeSpecies]) _this2.$refs[_this2.activeSpecies][0].createFlatmap();
|
|
2420
2745
|
});
|
|
2421
2746
|
}
|
|
2422
2747
|
|
|
@@ -2459,11 +2784,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2459
2784
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
2460
2785
|
},
|
|
2461
2786
|
|
|
2462
|
-
/**
|
|
2463
|
-
* Function used for getting the current states of the scene. This exported states
|
|
2464
|
-
* can be imported using the importStates method.
|
|
2465
|
-
*
|
|
2466
|
-
* @public
|
|
2787
|
+
/**
|
|
2788
|
+
* Function used for getting the current states of the scene. This exported states
|
|
2789
|
+
* can be imported using the importStates method.
|
|
2790
|
+
*
|
|
2791
|
+
* @public
|
|
2467
2792
|
*/
|
|
2468
2793
|
getState: function getState() {
|
|
2469
2794
|
var state = {
|
|
@@ -2475,30 +2800,30 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2475
2800
|
return state;
|
|
2476
2801
|
},
|
|
2477
2802
|
|
|
2478
|
-
/**
|
|
2479
|
-
* Function used for importing the states of the scene. This exported states
|
|
2480
|
-
* can be imported using the read states method.
|
|
2481
|
-
*
|
|
2482
|
-
* @public
|
|
2803
|
+
/**
|
|
2804
|
+
* Function used for importing the states of the scene. This exported states
|
|
2805
|
+
* can be imported using the read states method.
|
|
2806
|
+
*
|
|
2807
|
+
* @public
|
|
2483
2808
|
*/
|
|
2484
2809
|
setState: function setState(state) {
|
|
2485
|
-
var
|
|
2810
|
+
var _this3 = this;
|
|
2486
2811
|
|
|
2487
2812
|
if (state) {
|
|
2488
2813
|
this.initialise().then(function () {
|
|
2489
|
-
if (state.species && state.species !==
|
|
2490
|
-
|
|
2814
|
+
if (state.species && state.species !== _this3.activeSpecies) {
|
|
2815
|
+
_this3.activeSpecies = state.species;
|
|
2491
2816
|
|
|
2492
2817
|
if (state.state) {
|
|
2493
2818
|
//Wait for next tick when the refs are ready for rendering
|
|
2494
|
-
|
|
2495
|
-
|
|
2819
|
+
_this3.$nextTick(function () {
|
|
2820
|
+
_this3.$refs[_this3.activeSpecies][0].createFlatmap(state.state);
|
|
2496
2821
|
|
|
2497
|
-
|
|
2822
|
+
_this3.$emit('flatmapChanged', _this3.activeSpecies);
|
|
2498
2823
|
});
|
|
2499
2824
|
}
|
|
2500
2825
|
} else if (state.state) {
|
|
2501
|
-
var map =
|
|
2826
|
+
var map = _this3.getCurrentFlatmap();
|
|
2502
2827
|
|
|
2503
2828
|
map.setState(state.state);
|
|
2504
2829
|
}
|
|
@@ -2527,9 +2852,9 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2527
2852
|
default: false
|
|
2528
2853
|
},
|
|
2529
2854
|
|
|
2530
|
-
/**
|
|
2531
|
-
* Initial species for the flatmap.
|
|
2532
|
-
* This value will be ignored if a valid state object is provided.
|
|
2855
|
+
/**
|
|
2856
|
+
* Initial species for the flatmap.
|
|
2857
|
+
* This value will be ignored if a valid state object is provided.
|
|
2533
2858
|
*/
|
|
2534
2859
|
initial: {
|
|
2535
2860
|
type: String,
|
|
@@ -2557,16 +2882,16 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2557
2882
|
},
|
|
2558
2883
|
availableSpecies: {},
|
|
2559
2884
|
|
|
2560
|
-
/**
|
|
2561
|
-
* State containing state of the flatmap.
|
|
2885
|
+
/**
|
|
2886
|
+
* State containing state of the flatmap.
|
|
2562
2887
|
*/
|
|
2563
2888
|
state: {
|
|
2564
2889
|
type: Object,
|
|
2565
2890
|
default: undefined
|
|
2566
2891
|
},
|
|
2567
2892
|
|
|
2568
|
-
/**
|
|
2569
|
-
* Specify the endpoint of the flatmap server.
|
|
2893
|
+
/**
|
|
2894
|
+
* Specify the endpoint of the flatmap server.
|
|
2570
2895
|
*/
|
|
2571
2896
|
flatmapAPI: {
|
|
2572
2897
|
type: String,
|
|
@@ -2592,8 +2917,8 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2592
2917
|
});
|
|
2593
2918
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
2594
2919
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
2595
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2596
|
-
var
|
|
2920
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=54147954&scoped=true&lang=scss&
|
|
2921
|
+
var MultiFlatmapVuervue_type_style_index_0_id_54147954_scoped_true_lang_scss_ = __webpack_require__("83b5");
|
|
2597
2922
|
|
|
2598
2923
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
2599
2924
|
|
|
@@ -2606,11 +2931,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_01b30450_scoped_true_lang_scss_ =
|
|
|
2606
2931
|
|
|
2607
2932
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
2608
2933
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
2609
|
-
|
|
2610
|
-
|
|
2934
|
+
MultiFlatmapVuervue_type_template_id_54147954_scoped_true_render,
|
|
2935
|
+
MultiFlatmapVuervue_type_template_id_54147954_scoped_true_staticRenderFns,
|
|
2611
2936
|
false,
|
|
2612
2937
|
null,
|
|
2613
|
-
"
|
|
2938
|
+
"54147954",
|
|
2614
2939
|
null
|
|
2615
2940
|
|
|
2616
2941
|
)
|