@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -138,6 +138,13 @@ module.exports = require("element-ui/lib/theme-chalk/radio-group.css");
|
|
|
138
138
|
|
|
139
139
|
/***/ }),
|
|
140
140
|
|
|
141
|
+
/***/ "12ab":
|
|
142
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
143
|
+
|
|
144
|
+
// extracted by mini-css-extract-plugin
|
|
145
|
+
|
|
146
|
+
/***/ }),
|
|
147
|
+
|
|
141
148
|
/***/ "13e3":
|
|
142
149
|
/***/ (function(module, exports) {
|
|
143
150
|
|
|
@@ -152,6 +159,13 @@ module.exports = require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
152
159
|
|
|
153
160
|
/***/ }),
|
|
154
161
|
|
|
162
|
+
/***/ "1a89":
|
|
163
|
+
/***/ (function(module, exports) {
|
|
164
|
+
|
|
165
|
+
module.exports = require("core-js/modules/es.array.filter.js");
|
|
166
|
+
|
|
167
|
+
/***/ }),
|
|
168
|
+
|
|
155
169
|
/***/ "1ac9":
|
|
156
170
|
/***/ (function(module, exports) {
|
|
157
171
|
|
|
@@ -222,15 +236,22 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
222
236
|
|
|
223
237
|
/***/ }),
|
|
224
238
|
|
|
225
|
-
/***/ "
|
|
239
|
+
/***/ "30e8":
|
|
226
240
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
227
241
|
|
|
228
242
|
"use strict";
|
|
229
|
-
/* harmony import */ var
|
|
230
|
-
/* harmony import */ var
|
|
243
|
+
/* 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");
|
|
244
|
+
/* 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__);
|
|
231
245
|
/* unused harmony reexport * */
|
|
232
246
|
|
|
233
247
|
|
|
248
|
+
/***/ }),
|
|
249
|
+
|
|
250
|
+
/***/ "35cd":
|
|
251
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
252
|
+
|
|
253
|
+
// extracted by mini-css-extract-plugin
|
|
254
|
+
|
|
234
255
|
/***/ }),
|
|
235
256
|
|
|
236
257
|
/***/ "376d":
|
|
@@ -280,17 +301,6 @@ module.exports = require("@abi-software/flatmap-viewer");
|
|
|
280
301
|
|
|
281
302
|
module.exports = require("core-js/modules/es.array.iterator.js");
|
|
282
303
|
|
|
283
|
-
/***/ }),
|
|
284
|
-
|
|
285
|
-
/***/ "4e01":
|
|
286
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
287
|
-
|
|
288
|
-
"use strict";
|
|
289
|
-
/* 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");
|
|
290
|
-
/* 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__);
|
|
291
|
-
/* unused harmony reexport * */
|
|
292
|
-
|
|
293
|
-
|
|
294
304
|
/***/ }),
|
|
295
305
|
|
|
296
306
|
/***/ "51c7":
|
|
@@ -314,6 +324,13 @@ module.exports = require("element-ui/lib/theme-chalk/checkbox.css");
|
|
|
314
324
|
|
|
315
325
|
/***/ }),
|
|
316
326
|
|
|
327
|
+
/***/ "5d4c":
|
|
328
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
329
|
+
|
|
330
|
+
// extracted by mini-css-extract-plugin
|
|
331
|
+
|
|
332
|
+
/***/ }),
|
|
333
|
+
|
|
317
334
|
/***/ "5d8c":
|
|
318
335
|
/***/ (function(module, exports) {
|
|
319
336
|
|
|
@@ -375,6 +392,17 @@ module.exports = require("element-ui/lib/locale");
|
|
|
375
392
|
|
|
376
393
|
module.exports = require("element-ui/lib/theme-chalk/option.css");
|
|
377
394
|
|
|
395
|
+
/***/ }),
|
|
396
|
+
|
|
397
|
+
/***/ "83b5":
|
|
398
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
399
|
+
|
|
400
|
+
"use strict";
|
|
401
|
+
/* 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");
|
|
402
|
+
/* 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__);
|
|
403
|
+
/* unused harmony reexport * */
|
|
404
|
+
|
|
405
|
+
|
|
378
406
|
/***/ }),
|
|
379
407
|
|
|
380
408
|
/***/ "8535":
|
|
@@ -391,6 +419,13 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
391
419
|
|
|
392
420
|
/***/ }),
|
|
393
421
|
|
|
422
|
+
/***/ "86da":
|
|
423
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
424
|
+
|
|
425
|
+
// extracted by mini-css-extract-plugin
|
|
426
|
+
|
|
427
|
+
/***/ }),
|
|
428
|
+
|
|
394
429
|
/***/ "8bbf":
|
|
395
430
|
/***/ (function(module, exports) {
|
|
396
431
|
|
|
@@ -403,6 +438,17 @@ module.exports = require("vue");
|
|
|
403
438
|
|
|
404
439
|
module.exports = require("element-ui/lib/theme-chalk/icon.css");
|
|
405
440
|
|
|
441
|
+
/***/ }),
|
|
442
|
+
|
|
443
|
+
/***/ "9379":
|
|
444
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
445
|
+
|
|
446
|
+
"use strict";
|
|
447
|
+
/* 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");
|
|
448
|
+
/* 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__);
|
|
449
|
+
/* unused harmony reexport * */
|
|
450
|
+
|
|
451
|
+
|
|
406
452
|
/***/ }),
|
|
407
453
|
|
|
408
454
|
/***/ "93e6":
|
|
@@ -419,24 +465,6 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
419
465
|
|
|
420
466
|
/***/ }),
|
|
421
467
|
|
|
422
|
-
/***/ "97da":
|
|
423
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
424
|
-
|
|
425
|
-
"use strict";
|
|
426
|
-
/* 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");
|
|
427
|
-
/* 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__);
|
|
428
|
-
/* unused harmony reexport * */
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
/***/ }),
|
|
432
|
-
|
|
433
|
-
/***/ "9996":
|
|
434
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
435
|
-
|
|
436
|
-
// extracted by mini-css-extract-plugin
|
|
437
|
-
|
|
438
|
-
/***/ }),
|
|
439
|
-
|
|
440
468
|
/***/ "9a25":
|
|
441
469
|
/***/ (function(module, exports) {
|
|
442
470
|
|
|
@@ -512,6 +540,17 @@ module.exports = require("element-ui/lib/theme-chalk/container.css");
|
|
|
512
540
|
|
|
513
541
|
module.exports = require("element-ui/lib/icon");
|
|
514
542
|
|
|
543
|
+
/***/ }),
|
|
544
|
+
|
|
545
|
+
/***/ "b3b8":
|
|
546
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
547
|
+
|
|
548
|
+
"use strict";
|
|
549
|
+
/* 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");
|
|
550
|
+
/* 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__);
|
|
551
|
+
/* unused harmony reexport * */
|
|
552
|
+
|
|
553
|
+
|
|
515
554
|
/***/ }),
|
|
516
555
|
|
|
517
556
|
/***/ "b777":
|
|
@@ -528,13 +567,6 @@ module.exports = require("core-js/modules/web.url.js");
|
|
|
528
567
|
|
|
529
568
|
/***/ }),
|
|
530
569
|
|
|
531
|
-
/***/ "b9c9":
|
|
532
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
533
|
-
|
|
534
|
-
// extracted by mini-css-extract-plugin
|
|
535
|
-
|
|
536
|
-
/***/ }),
|
|
537
|
-
|
|
538
570
|
/***/ "bf03":
|
|
539
571
|
/***/ (function(module, exports) {
|
|
540
572
|
|
|
@@ -556,28 +588,24 @@ module.exports = require("element-ui/lib/carousel-item");
|
|
|
556
588
|
|
|
557
589
|
/***/ }),
|
|
558
590
|
|
|
559
|
-
/***/ "
|
|
560
|
-
/***/ (function(module,
|
|
561
|
-
|
|
562
|
-
"use strict";
|
|
563
|
-
/* 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");
|
|
564
|
-
/* 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__);
|
|
565
|
-
/* unused harmony reexport * */
|
|
591
|
+
/***/ "c8a6":
|
|
592
|
+
/***/ (function(module, exports) {
|
|
566
593
|
|
|
594
|
+
module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
567
595
|
|
|
568
596
|
/***/ }),
|
|
569
597
|
|
|
570
|
-
/***/ "
|
|
598
|
+
/***/ "ccb0":
|
|
571
599
|
/***/ (function(module, exports) {
|
|
572
600
|
|
|
573
|
-
module.exports = require("core-js/modules/es.
|
|
601
|
+
module.exports = require("core-js/modules/es.array.concat.js");
|
|
574
602
|
|
|
575
603
|
/***/ }),
|
|
576
604
|
|
|
577
|
-
/***/ "
|
|
578
|
-
/***/ (function(module, exports
|
|
605
|
+
/***/ "da6e":
|
|
606
|
+
/***/ (function(module, exports) {
|
|
579
607
|
|
|
580
|
-
|
|
608
|
+
module.exports = require("core-js/modules/es.array.flat.js");
|
|
581
609
|
|
|
582
610
|
/***/ }),
|
|
583
611
|
|
|
@@ -609,13 +637,6 @@ module.exports = require("core-js/modules/es.promise.js");
|
|
|
609
637
|
|
|
610
638
|
/***/ }),
|
|
611
639
|
|
|
612
|
-
/***/ "ee47":
|
|
613
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
614
|
-
|
|
615
|
-
// extracted by mini-css-extract-plugin
|
|
616
|
-
|
|
617
|
-
/***/ }),
|
|
618
|
-
|
|
619
640
|
/***/ "f989":
|
|
620
641
|
/***/ (function(module, exports) {
|
|
621
642
|
|
|
@@ -658,12 +679,12 @@ if (typeof window !== 'undefined') {
|
|
|
658
679
|
// Indicate to webpack that this file can be concatenated
|
|
659
680
|
/* harmony default export */ var setPublicPath = (null);
|
|
660
681
|
|
|
661
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
682
|
+
// 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&
|
|
662
683
|
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)}
|
|
663
684
|
var staticRenderFns = []
|
|
664
685
|
|
|
665
686
|
|
|
666
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
687
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=3d2da278&scoped=true&
|
|
667
688
|
|
|
668
689
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
669
690
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -785,6 +806,35 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
785
806
|
}
|
|
786
807
|
};
|
|
787
808
|
}
|
|
809
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
810
|
+
|
|
811
|
+
function _arrayWithoutHoles(arr) {
|
|
812
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
813
|
+
}
|
|
814
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
|
|
823
|
+
function _iterableToArray(iter) {
|
|
824
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
825
|
+
}
|
|
826
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
827
|
+
function _nonIterableSpread() {
|
|
828
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
829
|
+
}
|
|
830
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
function _toConsumableArray(arr) {
|
|
836
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
837
|
+
}
|
|
788
838
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/row.css"
|
|
789
839
|
var row_css_ = __webpack_require__("fd9c");
|
|
790
840
|
|
|
@@ -868,12 +918,12 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
868
918
|
var external_vue_ = __webpack_require__("8bbf");
|
|
869
919
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
870
920
|
|
|
871
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
872
|
-
var
|
|
873
|
-
var
|
|
921
|
+
// 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&
|
|
922
|
+
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)}
|
|
923
|
+
var Tooltipvue_type_template_id_0e7b9568_scoped_true_staticRenderFns = []
|
|
874
924
|
|
|
875
925
|
|
|
876
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=
|
|
926
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=0e7b9568&scoped=true&
|
|
877
927
|
|
|
878
928
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/main.css"
|
|
879
929
|
var main_css_ = __webpack_require__("73ef");
|
|
@@ -913,6 +963,18 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
|
|
|
913
963
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
914
964
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
915
965
|
|
|
966
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
967
|
+
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
968
|
+
|
|
969
|
+
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
970
|
+
var es_promise_js_ = __webpack_require__("ec71");
|
|
971
|
+
|
|
972
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
973
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
974
|
+
|
|
975
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
976
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
977
|
+
|
|
916
978
|
// EXTERNAL MODULE: external "element-ui/lib/locale/lang/en"
|
|
917
979
|
var en_ = __webpack_require__("6bfd");
|
|
918
980
|
var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
@@ -921,12 +983,12 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
921
983
|
var locale_ = __webpack_require__("7f9f");
|
|
922
984
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
923
985
|
|
|
924
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
925
|
-
var
|
|
926
|
-
var
|
|
986
|
+
// 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&
|
|
987
|
+
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)])}
|
|
988
|
+
var PubmedViewervue_type_template_id_6fa856d7_scoped_true_staticRenderFns = []
|
|
927
989
|
|
|
928
990
|
|
|
929
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=
|
|
991
|
+
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=6fa856d7&scoped=true&
|
|
930
992
|
|
|
931
993
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
932
994
|
function _arrayWithHoles(arr) {
|
|
@@ -1002,9 +1064,6 @@ var link_css_ = __webpack_require__("230a");
|
|
|
1002
1064
|
var link_ = __webpack_require__("7db7");
|
|
1003
1065
|
var link_default = /*#__PURE__*/__webpack_require__.n(link_);
|
|
1004
1066
|
|
|
1005
|
-
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
1006
|
-
var es_promise_js_ = __webpack_require__("ec71");
|
|
1007
|
-
|
|
1008
1067
|
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
1009
1068
|
var web_url_js_ = __webpack_require__("b94f");
|
|
1010
1069
|
|
|
@@ -1028,6 +1087,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
1028
1087
|
|
|
1029
1088
|
|
|
1030
1089
|
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
|
|
1093
|
+
|
|
1031
1094
|
|
|
1032
1095
|
|
|
1033
1096
|
|
|
@@ -1064,31 +1127,39 @@ locale_default.a.use(en_default.a);
|
|
|
1064
1127
|
external_vue_default.a.use(link_default.a);
|
|
1065
1128
|
external_vue_default.a.use(carousel_default.a);
|
|
1066
1129
|
external_vue_default.a.use(carousel_item_default.a);
|
|
1130
|
+
external_vue_default.a.use(button_default.a);
|
|
1067
1131
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
1068
1132
|
name: "Tooltip",
|
|
1069
1133
|
props: {
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
},
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
* Specify the endpoint of the flatmap server.
|
|
1077
|
-
*/
|
|
1134
|
+
/**
|
|
1135
|
+
* Specify the endpoint of the flatmap server.
|
|
1136
|
+
*/
|
|
1078
1137
|
flatmapAPI: {
|
|
1079
1138
|
type: String,
|
|
1080
|
-
default:
|
|
1139
|
+
default: 'https://mapcore-demo.org/current/flatmap/v2/'
|
|
1140
|
+
},
|
|
1141
|
+
entry: {
|
|
1142
|
+
type: Object,
|
|
1143
|
+
default: function _default() {}
|
|
1081
1144
|
}
|
|
1082
1145
|
},
|
|
1083
1146
|
watch: {
|
|
1084
|
-
'featureId': function
|
|
1085
|
-
|
|
1086
|
-
|
|
1147
|
+
'entry.featureId': function entryFeatureId(val) {
|
|
1148
|
+
var _this = this;
|
|
1149
|
+
|
|
1150
|
+
this.flatmapQuery(val).then(function (pb) {
|
|
1151
|
+
return _this.pubmeds = pb;
|
|
1152
|
+
});
|
|
1153
|
+
},
|
|
1154
|
+
'entry.featureIds': {
|
|
1155
|
+
handler: function handler(ids) {
|
|
1156
|
+
this.flatmapQuery(ids);
|
|
1157
|
+
}
|
|
1087
1158
|
}
|
|
1088
1159
|
},
|
|
1089
|
-
computed: {},
|
|
1090
1160
|
data: function data() {
|
|
1091
1161
|
return {
|
|
1162
|
+
data: {},
|
|
1092
1163
|
pubmeds: [],
|
|
1093
1164
|
pubmedIds: [],
|
|
1094
1165
|
loading: {
|
|
@@ -1098,7 +1169,7 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1098
1169
|
};
|
|
1099
1170
|
},
|
|
1100
1171
|
mounted: function mounted() {
|
|
1101
|
-
this.flatmapQuery(this.
|
|
1172
|
+
if (this.entry.featureIds) this.flatmapQuery(this.entry.featureIds);
|
|
1102
1173
|
},
|
|
1103
1174
|
methods: {
|
|
1104
1175
|
stripPMIDPrefix: function stripPMIDPrefix(pubmedId) {
|
|
@@ -1119,17 +1190,31 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1119
1190
|
var split = bibliographyString.split('https');
|
|
1120
1191
|
return [split[0], 'https' + split[1]];
|
|
1121
1192
|
},
|
|
1122
|
-
|
|
1123
|
-
var
|
|
1193
|
+
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
1194
|
+
var sql = 'select distinct publication from publications where entity in (';
|
|
1195
|
+
|
|
1196
|
+
if (keastIds.length === 1) {
|
|
1197
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1198
|
+
} else if (keastIds.length > 1) {
|
|
1199
|
+
for (var i in keastIds) {
|
|
1200
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
return sql;
|
|
1205
|
+
},
|
|
1206
|
+
flatmapQuery: function flatmapQuery(keastIds) {
|
|
1207
|
+
var _this2 = this;
|
|
1124
1208
|
|
|
1209
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
1125
1210
|
this.pubmeds = [];
|
|
1126
|
-
this.loading.response = true;
|
|
1127
|
-
|
|
1211
|
+
this.loading.response = true; // fetch pubmed publications for the given ids
|
|
1212
|
+
|
|
1128
1213
|
var data = {
|
|
1129
|
-
sql:
|
|
1130
|
-
"params": [identifier]
|
|
1214
|
+
sql: this.buildPubmedSqlStatement(keastIds)
|
|
1131
1215
|
};
|
|
1132
|
-
|
|
1216
|
+
console.log(data);
|
|
1217
|
+
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
1133
1218
|
method: 'POST',
|
|
1134
1219
|
headers: {
|
|
1135
1220
|
'Content-Type': 'application/json'
|
|
@@ -1138,18 +1223,19 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1138
1223
|
}).then(function (response) {
|
|
1139
1224
|
return response.json();
|
|
1140
1225
|
}).then(function (data) {
|
|
1141
|
-
|
|
1142
|
-
|
|
1226
|
+
_this2.responseData = data;
|
|
1227
|
+
_this2.loading.response = false; // create links for each pubmedId
|
|
1228
|
+
|
|
1143
1229
|
data.values.forEach(function (identifier) {
|
|
1144
|
-
var ids =
|
|
1230
|
+
var ids = _this2.stripPMIDPrefix(identifier[0]);
|
|
1145
1231
|
|
|
1146
|
-
|
|
1147
|
-
var
|
|
1148
|
-
|
|
1149
|
-
html =
|
|
1150
|
-
link =
|
|
1232
|
+
_this2.titleFromPubmed(ids).then(function (bib) {
|
|
1233
|
+
var _this2$splitLink = _this2.splitLink(bib),
|
|
1234
|
+
_this2$splitLink2 = _slicedToArray(_this2$splitLink, 2),
|
|
1235
|
+
html = _this2$splitLink2[0],
|
|
1236
|
+
link = _this2$splitLink2[1];
|
|
1151
1237
|
|
|
1152
|
-
|
|
1238
|
+
_this2.pubmeds.push({
|
|
1153
1239
|
identifier: identifier[0],
|
|
1154
1240
|
html: html,
|
|
1155
1241
|
url: link
|
|
@@ -1157,8 +1243,8 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1157
1243
|
});
|
|
1158
1244
|
});
|
|
1159
1245
|
|
|
1160
|
-
|
|
1161
|
-
return
|
|
1246
|
+
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
1247
|
+
return _this2.stripPMIDPrefix(id[0]);
|
|
1162
1248
|
})));
|
|
1163
1249
|
}).catch(function (error) {
|
|
1164
1250
|
console.error('Error:', error);
|
|
@@ -1174,8 +1260,8 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1174
1260
|
});
|
|
1175
1261
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
1176
1262
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
1177
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=
|
|
1178
|
-
var
|
|
1263
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=6fa856d7&scoped=true&lang=scss&
|
|
1264
|
+
var PubmedViewervue_type_style_index_0_id_6fa856d7_scoped_true_lang_scss_ = __webpack_require__("b3b8");
|
|
1179
1265
|
|
|
1180
1266
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1181
1267
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -1288,16 +1374,20 @@ function normalizeComponent (
|
|
|
1288
1374
|
|
|
1289
1375
|
var component = normalizeComponent(
|
|
1290
1376
|
components_PubmedViewervue_type_script_lang_js_,
|
|
1291
|
-
|
|
1292
|
-
|
|
1377
|
+
PubmedViewervue_type_template_id_6fa856d7_scoped_true_render,
|
|
1378
|
+
PubmedViewervue_type_template_id_6fa856d7_scoped_true_staticRenderFns,
|
|
1293
1379
|
false,
|
|
1294
1380
|
null,
|
|
1295
|
-
"
|
|
1381
|
+
"6fa856d7",
|
|
1296
1382
|
null
|
|
1297
1383
|
|
|
1298
1384
|
)
|
|
1299
1385
|
|
|
1300
1386
|
/* harmony default export */ var PubmedViewer = (component.exports);
|
|
1387
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
1388
|
+
|
|
1389
|
+
var EventBus = new external_vue_default.a();
|
|
1390
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
1301
1391
|
// 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&
|
|
1302
1392
|
|
|
1303
1393
|
|
|
@@ -1316,6 +1406,38 @@ var component = normalizeComponent(
|
|
|
1316
1406
|
|
|
1317
1407
|
|
|
1318
1408
|
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
//
|
|
1426
|
+
//
|
|
1427
|
+
//
|
|
1428
|
+
//
|
|
1429
|
+
//
|
|
1430
|
+
//
|
|
1431
|
+
//
|
|
1432
|
+
//
|
|
1433
|
+
//
|
|
1434
|
+
//
|
|
1435
|
+
//
|
|
1436
|
+
//
|
|
1437
|
+
//
|
|
1438
|
+
//
|
|
1439
|
+
//
|
|
1440
|
+
//
|
|
1319
1441
|
//
|
|
1320
1442
|
//
|
|
1321
1443
|
//
|
|
@@ -1363,7 +1485,9 @@ external_vue_default.a.use(button_default.a);
|
|
|
1363
1485
|
external_vue_default.a.use(container_default.a);
|
|
1364
1486
|
external_vue_default.a.use(header_default.a);
|
|
1365
1487
|
external_vue_default.a.use(icon_default.a);
|
|
1366
|
-
external_vue_default.a.use(main_default.a);
|
|
1488
|
+
external_vue_default.a.use(main_default.a); // pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
1489
|
+
|
|
1490
|
+
|
|
1367
1491
|
|
|
1368
1492
|
|
|
1369
1493
|
var _titleCase = function titleCase(str) {
|
|
@@ -1372,12 +1496,20 @@ var _titleCase = function titleCase(str) {
|
|
|
1372
1496
|
});
|
|
1373
1497
|
};
|
|
1374
1498
|
|
|
1499
|
+
var _capitalise = function capitalise(str) {
|
|
1500
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1375
1503
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
1376
1504
|
components: {
|
|
1377
1505
|
PubmedViewer: PubmedViewer
|
|
1378
1506
|
},
|
|
1379
1507
|
name: "Tooltip",
|
|
1380
1508
|
props: {
|
|
1509
|
+
flatmapAPI: {
|
|
1510
|
+
type: String,
|
|
1511
|
+
default: 'https://mapcore-demo.org/current/flatmap/v2/'
|
|
1512
|
+
},
|
|
1381
1513
|
visible: {
|
|
1382
1514
|
type: Boolean,
|
|
1383
1515
|
default: false
|
|
@@ -1385,23 +1517,35 @@ var _titleCase = function titleCase(str) {
|
|
|
1385
1517
|
content: {
|
|
1386
1518
|
type: Object,
|
|
1387
1519
|
default: undefined
|
|
1388
|
-
},
|
|
1389
|
-
|
|
1390
|
-
/**
|
|
1391
|
-
* Specify the endpoint of the flatmap server.
|
|
1392
|
-
*/
|
|
1393
|
-
flatmapAPI: {
|
|
1394
|
-
type: String,
|
|
1395
|
-
default: "https://mapcore-demo.org/flatmaps/"
|
|
1396
1520
|
}
|
|
1397
1521
|
},
|
|
1398
1522
|
data: function data() {
|
|
1399
1523
|
return {
|
|
1400
1524
|
activeSpecies: undefined,
|
|
1401
1525
|
appendToBody: false,
|
|
1402
|
-
pubmedSearchUrl: ''
|
|
1526
|
+
pubmedSearchUrl: '',
|
|
1527
|
+
loading: false,
|
|
1528
|
+
axons: [],
|
|
1529
|
+
dendrites: [],
|
|
1530
|
+
components: [],
|
|
1531
|
+
axonsWithDatasets: [],
|
|
1532
|
+
dendritesWithDatasets: [],
|
|
1533
|
+
uberons: [{
|
|
1534
|
+
id: undefined,
|
|
1535
|
+
name: undefined
|
|
1536
|
+
}]
|
|
1403
1537
|
};
|
|
1404
1538
|
},
|
|
1539
|
+
watch: {
|
|
1540
|
+
'content.featureIds': {
|
|
1541
|
+
handler: function handler() {
|
|
1542
|
+
this.pathwayQuery(this.content.featureIds);
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
mounted: function mounted() {
|
|
1547
|
+
this.getOrganCuries();
|
|
1548
|
+
},
|
|
1405
1549
|
methods: {
|
|
1406
1550
|
resourceSelected: function resourceSelected(action) {
|
|
1407
1551
|
this.$emit("resource-selected", action);
|
|
@@ -1409,21 +1553,184 @@ var _titleCase = function titleCase(str) {
|
|
|
1409
1553
|
titleCase: function titleCase(title) {
|
|
1410
1554
|
return _titleCase(title);
|
|
1411
1555
|
},
|
|
1556
|
+
capitalise: function capitalise(text) {
|
|
1557
|
+
return _capitalise(text);
|
|
1558
|
+
},
|
|
1412
1559
|
onClose: function onClose() {
|
|
1413
1560
|
this.$emit("onClose");
|
|
1414
1561
|
},
|
|
1415
1562
|
openUrl: function openUrl(url) {
|
|
1416
1563
|
window.open(url, '_blank');
|
|
1417
1564
|
},
|
|
1565
|
+
openAxons: function openAxons() {
|
|
1566
|
+
components_EventBus.$emit('onActionClick', {
|
|
1567
|
+
type: 'Facets',
|
|
1568
|
+
labels: this.axonsWithDatasets.map(function (a) {
|
|
1569
|
+
return a.name;
|
|
1570
|
+
})
|
|
1571
|
+
});
|
|
1572
|
+
},
|
|
1573
|
+
openDendrites: function openDendrites() {
|
|
1574
|
+
components_EventBus.$emit('onActionClick', {
|
|
1575
|
+
type: 'Facets',
|
|
1576
|
+
labels: this.dendritesWithDatasets.map(function (a) {
|
|
1577
|
+
return a.name;
|
|
1578
|
+
})
|
|
1579
|
+
});
|
|
1580
|
+
},
|
|
1418
1581
|
pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
|
|
1419
1582
|
this.pubmedSearchUrl = val;
|
|
1583
|
+
},
|
|
1584
|
+
findComponents: function findComponents(connectivity) {
|
|
1585
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
1586
|
+
|
|
1587
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
var found = [];
|
|
1591
|
+
var terminal = false;
|
|
1592
|
+
nodes.forEach(function (node) {
|
|
1593
|
+
var n = node.flat(); // Find all terms on the node
|
|
1594
|
+
|
|
1595
|
+
terminal = false; // Check if the node is an axon or dendrite
|
|
1596
|
+
|
|
1597
|
+
n.forEach(function (s) {
|
|
1598
|
+
if (connectivity.axons.includes(s)) {
|
|
1599
|
+
terminal = true;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1602
|
+
if (connectivity.dendrites.includes(s)) {
|
|
1603
|
+
terminal = true;
|
|
1604
|
+
}
|
|
1605
|
+
});
|
|
1606
|
+
|
|
1607
|
+
if (!terminal) {
|
|
1608
|
+
found.push(node);
|
|
1609
|
+
}
|
|
1610
|
+
}); // remove duplicates
|
|
1611
|
+
|
|
1612
|
+
var foundUnique = _toConsumableArray(new Set(found.map(function (n) {
|
|
1613
|
+
return n[0];
|
|
1614
|
+
})));
|
|
1615
|
+
|
|
1616
|
+
return foundUnique;
|
|
1617
|
+
},
|
|
1618
|
+
getOrganCuries: function getOrganCuries() {
|
|
1619
|
+
var _this = this;
|
|
1620
|
+
|
|
1621
|
+
fetch('https://api.sparc.science/get-organ-curies/').then(function (response) {
|
|
1622
|
+
return response.json();
|
|
1623
|
+
}).then(function (data) {
|
|
1624
|
+
_this.uberons = data.uberon.array;
|
|
1625
|
+
});
|
|
1626
|
+
},
|
|
1627
|
+
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
1628
|
+
var sql = 'select knowledge from knowledge where entity in (';
|
|
1629
|
+
|
|
1630
|
+
if (keastIds.length === 1) {
|
|
1631
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1632
|
+
} else if (keastIds.length > 1) {
|
|
1633
|
+
for (var i in keastIds) {
|
|
1634
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
return sql;
|
|
1639
|
+
},
|
|
1640
|
+
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
1641
|
+
var sql = 'select label from labels where entity in (';
|
|
1642
|
+
|
|
1643
|
+
if (uberons.length === 1) {
|
|
1644
|
+
sql += "'".concat(uberons[0], "')");
|
|
1645
|
+
} else if (uberons.length > 1) {
|
|
1646
|
+
for (var i in uberons) {
|
|
1647
|
+
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
1648
|
+
}
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1651
|
+
return sql;
|
|
1652
|
+
},
|
|
1653
|
+
createLabelLookup: function createLabelLookup(uberons) {
|
|
1654
|
+
var _this2 = this;
|
|
1655
|
+
|
|
1656
|
+
return new Promise(function (resolve) {
|
|
1657
|
+
var uberonMap = {};
|
|
1658
|
+
var data = {
|
|
1659
|
+
sql: _this2.buildLabelSqlStatement(uberons)
|
|
1660
|
+
};
|
|
1661
|
+
fetch("".concat(_this2.flatmapAPI, "knowledge/query/"), {
|
|
1662
|
+
method: 'POST',
|
|
1663
|
+
headers: {
|
|
1664
|
+
'Content-Type': 'application/json'
|
|
1665
|
+
},
|
|
1666
|
+
body: JSON.stringify(data)
|
|
1667
|
+
}).then(function (response) {
|
|
1668
|
+
return response.json();
|
|
1669
|
+
}).then(function (data) {
|
|
1670
|
+
uberons.forEach(function (el, i) {
|
|
1671
|
+
uberonMap[el] = data.values[i][0];
|
|
1672
|
+
});
|
|
1673
|
+
resolve(uberonMap);
|
|
1674
|
+
});
|
|
1675
|
+
});
|
|
1676
|
+
},
|
|
1677
|
+
pathwayQuery: function pathwayQuery(keastIds) {
|
|
1678
|
+
var _this3 = this;
|
|
1679
|
+
|
|
1680
|
+
this.axons = [];
|
|
1681
|
+
this.dendrites = [];
|
|
1682
|
+
this.components = [];
|
|
1683
|
+
this.loading = true;
|
|
1684
|
+
if (!keastIds || keastIds.length == 0) return;
|
|
1685
|
+
var data = {
|
|
1686
|
+
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
1687
|
+
};
|
|
1688
|
+
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
1689
|
+
method: 'POST',
|
|
1690
|
+
headers: {
|
|
1691
|
+
'Content-Type': 'application/json'
|
|
1692
|
+
},
|
|
1693
|
+
body: JSON.stringify(data)
|
|
1694
|
+
}).then(function (response) {
|
|
1695
|
+
return response.json();
|
|
1696
|
+
}).then(function (data) {
|
|
1697
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
1698
|
+
|
|
1699
|
+
var components = _this3.findComponents(connectivity); // Create list of ids to get labels for
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
var conIds = connectivity.axons.concat(connectivity.dendrites.concat(components));
|
|
1703
|
+
|
|
1704
|
+
_this3.createLabelLookup(conIds).then(function (lookUp) {
|
|
1705
|
+
_this3.axons = connectivity.axons.map(function (a) {
|
|
1706
|
+
return lookUp[a];
|
|
1707
|
+
});
|
|
1708
|
+
_this3.dendrites = connectivity.dendrites.map(function (d) {
|
|
1709
|
+
return lookUp[d];
|
|
1710
|
+
});
|
|
1711
|
+
_this3.components = components.map(function (c) {
|
|
1712
|
+
return lookUp[c];
|
|
1713
|
+
});
|
|
1714
|
+
}); // Filter for the anatomy which is annotated on datasets
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
_this3.axonsWithDatasets = _this3.uberons.filter(function (ub) {
|
|
1718
|
+
return connectivity.axons.indexOf(ub.id) !== -1;
|
|
1719
|
+
});
|
|
1720
|
+
_this3.dendritesWithDatasets = _this3.uberons.filter(function (ub) {
|
|
1721
|
+
return connectivity.dendrites.indexOf(ub.id) !== -1;
|
|
1722
|
+
});
|
|
1723
|
+
_this3.loading = false;
|
|
1724
|
+
}).catch(function (error) {
|
|
1725
|
+
console.error('Error:', error);
|
|
1726
|
+
});
|
|
1420
1727
|
}
|
|
1421
1728
|
}
|
|
1422
1729
|
});
|
|
1423
1730
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
1424
1731
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
1425
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
1426
|
-
var
|
|
1732
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=0e7b9568&scoped=true&lang=scss&
|
|
1733
|
+
var Tooltipvue_type_style_index_0_id_0e7b9568_scoped_true_lang_scss_ = __webpack_require__("9379");
|
|
1427
1734
|
|
|
1428
1735
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
1429
1736
|
|
|
@@ -1436,11 +1743,11 @@ var Tooltipvue_type_style_index_0_id_4802b201_scoped_true_lang_scss_ = __webpack
|
|
|
1436
1743
|
|
|
1437
1744
|
var Tooltip_component = normalizeComponent(
|
|
1438
1745
|
components_Tooltipvue_type_script_lang_js_,
|
|
1439
|
-
|
|
1440
|
-
|
|
1746
|
+
Tooltipvue_type_template_id_0e7b9568_scoped_true_render,
|
|
1747
|
+
Tooltipvue_type_template_id_0e7b9568_scoped_true_staticRenderFns,
|
|
1441
1748
|
false,
|
|
1442
1749
|
null,
|
|
1443
|
-
"
|
|
1750
|
+
"0e7b9568",
|
|
1444
1751
|
null
|
|
1445
1752
|
|
|
1446
1753
|
)
|
|
@@ -1486,6 +1793,7 @@ var svg_sprite_ = __webpack_require__("429c");
|
|
|
1486
1793
|
|
|
1487
1794
|
|
|
1488
1795
|
|
|
1796
|
+
|
|
1489
1797
|
|
|
1490
1798
|
|
|
1491
1799
|
//
|
|
@@ -1761,8 +2069,8 @@ var mapResize = function mapResize(map) {
|
|
|
1761
2069
|
this.drawerOpen = !this.drawerOpen;
|
|
1762
2070
|
},
|
|
1763
2071
|
|
|
1764
|
-
/**
|
|
1765
|
-
* Function to toggle colour/greyscale of organs.
|
|
2072
|
+
/**
|
|
2073
|
+
* Function to toggle colour/greyscale of organs.
|
|
1766
2074
|
*/
|
|
1767
2075
|
setColour: function setColour(flag) {
|
|
1768
2076
|
this.colourRadio = flag;
|
|
@@ -1775,8 +2083,8 @@ var mapResize = function mapResize(map) {
|
|
|
1775
2083
|
}
|
|
1776
2084
|
},
|
|
1777
2085
|
|
|
1778
|
-
/**
|
|
1779
|
-
* Function to toggle outlines f organs.
|
|
2086
|
+
/**
|
|
2087
|
+
* Function to toggle outlines f organs.
|
|
1780
2088
|
*/
|
|
1781
2089
|
setOutlines: function setOutlines(flag) {
|
|
1782
2090
|
this.outlineRadio = flag;
|
|
@@ -1789,9 +2097,9 @@ var mapResize = function mapResize(map) {
|
|
|
1789
2097
|
}
|
|
1790
2098
|
},
|
|
1791
2099
|
|
|
1792
|
-
/**
|
|
1793
|
-
* Function to toggle paths to default.
|
|
1794
|
-
* Also called when the associated button is pressed.
|
|
2100
|
+
/**
|
|
2101
|
+
* Function to toggle paths to default.
|
|
2102
|
+
* Also called when the associated button is pressed.
|
|
1795
2103
|
*/
|
|
1796
2104
|
resetView: function resetView() {
|
|
1797
2105
|
if (this.mapImp) {
|
|
@@ -1804,9 +2112,9 @@ var mapResize = function mapResize(map) {
|
|
|
1804
2112
|
}
|
|
1805
2113
|
},
|
|
1806
2114
|
|
|
1807
|
-
/**
|
|
1808
|
-
* Function to zoom in.
|
|
1809
|
-
* Also called when the associated button is pressed.
|
|
2115
|
+
/**
|
|
2116
|
+
* Function to zoom in.
|
|
2117
|
+
* Also called when the associated button is pressed.
|
|
1810
2118
|
*/
|
|
1811
2119
|
zoomIn: function zoomIn() {
|
|
1812
2120
|
if (this.mapImp) {
|
|
@@ -1814,9 +2122,9 @@ var mapResize = function mapResize(map) {
|
|
|
1814
2122
|
}
|
|
1815
2123
|
},
|
|
1816
2124
|
|
|
1817
|
-
/**
|
|
1818
|
-
* Function to zoom out.
|
|
1819
|
-
* Also called when the associated button is pressed.
|
|
2125
|
+
/**
|
|
2126
|
+
* Function to zoom out.
|
|
2127
|
+
* Also called when the associated button is pressed.
|
|
1820
2128
|
*/
|
|
1821
2129
|
zoomOut: function zoomOut() {
|
|
1822
2130
|
if (this.mapImp) {
|
|
@@ -1869,7 +2177,7 @@ var mapResize = function mapResize(map) {
|
|
|
1869
2177
|
eventType: eventType
|
|
1870
2178
|
}; // Disable the nueron pop up for now.
|
|
1871
2179
|
|
|
1872
|
-
if (data && data.type !== "marker") _this.checkAndCreatePopups(
|
|
2180
|
+
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
1873
2181
|
|
|
1874
2182
|
_this.$emit("resource-selected", payload);
|
|
1875
2183
|
} else {
|
|
@@ -1910,16 +2218,32 @@ var mapResize = function mapResize(map) {
|
|
|
1910
2218
|
actions: []
|
|
1911
2219
|
};
|
|
1912
2220
|
var foundAnnotations = false;
|
|
1913
|
-
this.tooltipVisible = false; //
|
|
2221
|
+
this.tooltipVisible = false; // nerve cuff check
|
|
2222
|
+
|
|
2223
|
+
if (data.feature.nodeId) {
|
|
2224
|
+
var paths = this.mapImp.nodePathModels(data.feature.nodeId);
|
|
2225
|
+
|
|
2226
|
+
if (paths.size > 0) {
|
|
2227
|
+
foundAnnotations = true;
|
|
2228
|
+
this.tooltipVisible = true;
|
|
2229
|
+
this.tooltipContent = content;
|
|
2230
|
+
this.tooltipContent.uberon = feature;
|
|
2231
|
+
this.tooltipContent.title = data.label;
|
|
2232
|
+
this.tooltipContent.featureIds = _toConsumableArray(paths);
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
return true;
|
|
2236
|
+
} // neural data check
|
|
2237
|
+
|
|
1914
2238
|
|
|
1915
2239
|
if (feature) {
|
|
1916
|
-
if (feature.includes(
|
|
2240
|
+
if (feature.includes('ilxtr:neuron')) {
|
|
1917
2241
|
foundAnnotations = true;
|
|
1918
2242
|
this.tooltipVisible = true;
|
|
1919
2243
|
this.tooltipContent = content;
|
|
1920
2244
|
this.tooltipContent.uberon = feature;
|
|
1921
2245
|
this.tooltipContent.title = data.label;
|
|
1922
|
-
this.tooltipContent.
|
|
2246
|
+
this.tooltipContent.featureIds = [feature];
|
|
1923
2247
|
this.tooltipContent.actions.push({
|
|
1924
2248
|
title: "Search for dataset",
|
|
1925
2249
|
label: "Neuron Datasets",
|
|
@@ -2114,25 +2438,18 @@ var mapResize = function mapResize(map) {
|
|
|
2114
2438
|
this.drawerOpen = flag;
|
|
2115
2439
|
},
|
|
2116
2440
|
|
|
2117
|
-
/**
|
|
2118
|
-
* Function to display features with annotation matching the provided term.
|
|
2441
|
+
/**
|
|
2442
|
+
* Function to display features with annotation matching the provided term.
|
|
2119
2443
|
*/
|
|
2120
2444
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
2121
2445
|
if (this.mapImp) {
|
|
2122
2446
|
if (term === undefined || term === "") {
|
|
2123
2447
|
this.mapImp.clearSearchResults();
|
|
2124
|
-
return true;
|
|
2125
2448
|
} else {
|
|
2126
2449
|
var searchResults = this.mapImp.search(term);
|
|
2127
|
-
|
|
2128
|
-
if (searchResults && searchResults.__featureIds.length > 0) {
|
|
2129
|
-
this.mapImp.showSearchResults(searchResults);
|
|
2130
|
-
return true;
|
|
2131
|
-
} else this.mapImp.clearSearchResults();
|
|
2450
|
+
if (searchResults && searchResults.__featureIds.length > 0) this.mapImp.showSearchResults(searchResults);else this.mapImp.clearSearchResults();
|
|
2132
2451
|
}
|
|
2133
2452
|
}
|
|
2134
|
-
|
|
2135
|
-
return false;
|
|
2136
2453
|
}
|
|
2137
2454
|
},
|
|
2138
2455
|
props: {
|
|
@@ -2178,16 +2495,16 @@ var mapResize = function mapResize(map) {
|
|
|
2178
2495
|
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."
|
|
2179
2496
|
},
|
|
2180
2497
|
|
|
2181
|
-
/**
|
|
2182
|
-
* State containing state of the flatmap.
|
|
2498
|
+
/**
|
|
2499
|
+
* State containing state of the flatmap.
|
|
2183
2500
|
*/
|
|
2184
2501
|
state: {
|
|
2185
2502
|
type: Object,
|
|
2186
2503
|
default: undefined
|
|
2187
2504
|
},
|
|
2188
2505
|
|
|
2189
|
-
/**
|
|
2190
|
-
* Specify the endpoint of the flatmap server.
|
|
2506
|
+
/**
|
|
2507
|
+
* Specify the endpoint of the flatmap server.
|
|
2191
2508
|
*/
|
|
2192
2509
|
flatmapAPI: {
|
|
2193
2510
|
type: String,
|
|
@@ -2221,7 +2538,9 @@ var mapResize = function mapResize(map) {
|
|
|
2221
2538
|
loading: false,
|
|
2222
2539
|
flatmapMarker: flatmap_marker,
|
|
2223
2540
|
drawerOpen: true,
|
|
2224
|
-
tooltipContent: {
|
|
2541
|
+
tooltipContent: {
|
|
2542
|
+
featureIds: []
|
|
2543
|
+
},
|
|
2225
2544
|
colourRadio: true,
|
|
2226
2545
|
outlinesRadio: true
|
|
2227
2546
|
};
|
|
@@ -2250,8 +2569,8 @@ var mapResize = function mapResize(map) {
|
|
|
2250
2569
|
});
|
|
2251
2570
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
2252
2571
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
2253
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2254
|
-
var
|
|
2572
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=3d2da278&scoped=true&lang=scss&
|
|
2573
|
+
var FlatmapVuervue_type_style_index_0_id_3d2da278_scoped_true_lang_scss_ = __webpack_require__("30e8");
|
|
2255
2574
|
|
|
2256
2575
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
2257
2576
|
|
|
@@ -2268,18 +2587,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
2268
2587
|
staticRenderFns,
|
|
2269
2588
|
false,
|
|
2270
2589
|
null,
|
|
2271
|
-
"
|
|
2590
|
+
"3d2da278",
|
|
2272
2591
|
null
|
|
2273
2592
|
|
|
2274
2593
|
)
|
|
2275
2594
|
|
|
2276
2595
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
2277
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2278
|
-
var
|
|
2279
|
-
var
|
|
2596
|
+
// 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&
|
|
2597
|
+
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)}
|
|
2598
|
+
var MultiFlatmapVuervue_type_template_id_54147954_scoped_true_staticRenderFns = []
|
|
2280
2599
|
|
|
2281
2600
|
|
|
2282
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
2601
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=54147954&scoped=true&
|
|
2283
2602
|
|
|
2284
2603
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/popover.css"
|
|
2285
2604
|
var popover_css_ = __webpack_require__("a525");
|
|
@@ -2385,6 +2704,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
2385
2704
|
|
|
2386
2705
|
|
|
2387
2706
|
|
|
2707
|
+
|
|
2388
2708
|
locale_default.a.use(en_default.a);
|
|
2389
2709
|
external_vue_default.a.use(col_default.a);
|
|
2390
2710
|
external_vue_default.a.use(row_default.a);
|
|
@@ -2397,35 +2717,40 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2397
2717
|
FlatmapVuer: FlatmapVuer
|
|
2398
2718
|
},
|
|
2399
2719
|
mounted: function mounted() {
|
|
2720
|
+
var _this = this;
|
|
2721
|
+
|
|
2400
2722
|
this.initialise();
|
|
2723
|
+
components_EventBus.$on('onActionClick', function (action) {
|
|
2724
|
+
_this.FlatmapSelected(action);
|
|
2725
|
+
});
|
|
2401
2726
|
},
|
|
2402
2727
|
methods: {
|
|
2403
2728
|
initialise: function initialise() {
|
|
2404
|
-
var
|
|
2729
|
+
var _this2 = this;
|
|
2405
2730
|
|
|
2406
2731
|
return new Promise(function (resolve) {
|
|
2407
|
-
fetch(
|
|
2732
|
+
fetch(_this2.flatmapAPI).then(function (response) {
|
|
2408
2733
|
return response.json();
|
|
2409
2734
|
}).then(function (data) {
|
|
2410
|
-
|
|
2411
|
-
Object.keys(
|
|
2735
|
+
_this2.speciesLis = {};
|
|
2736
|
+
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
2412
2737
|
for (var i = 0; i < data.length; i++) {
|
|
2413
|
-
if (data[i].describes ==
|
|
2414
|
-
|
|
2738
|
+
if (data[i].describes == _this2.availableSpecies[key].taxo) {
|
|
2739
|
+
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
2415
2740
|
break;
|
|
2416
2741
|
}
|
|
2417
2742
|
}
|
|
2418
2743
|
});
|
|
2419
2744
|
|
|
2420
|
-
if (!
|
|
2421
|
-
if (
|
|
2422
|
-
|
|
2745
|
+
if (!_this2.state) {
|
|
2746
|
+
if (_this2.initial && _this2.speciesList[_this2.initial] !== undefined) {
|
|
2747
|
+
_this2.activeSpecies = _this2.initial;
|
|
2423
2748
|
} else {
|
|
2424
|
-
|
|
2749
|
+
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
2425
2750
|
}
|
|
2426
2751
|
|
|
2427
2752
|
external_vue_default.a.nextTick(function () {
|
|
2428
|
-
if (
|
|
2753
|
+
if (_this2.$refs[_this2.activeSpecies]) _this2.$refs[_this2.activeSpecies][0].createFlatmap();
|
|
2429
2754
|
});
|
|
2430
2755
|
}
|
|
2431
2756
|
|
|
@@ -2468,11 +2793,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2468
2793
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
2469
2794
|
},
|
|
2470
2795
|
|
|
2471
|
-
/**
|
|
2472
|
-
* Function used for getting the current states of the scene. This exported states
|
|
2473
|
-
* can be imported using the importStates method.
|
|
2474
|
-
*
|
|
2475
|
-
* @public
|
|
2796
|
+
/**
|
|
2797
|
+
* Function used for getting the current states of the scene. This exported states
|
|
2798
|
+
* can be imported using the importStates method.
|
|
2799
|
+
*
|
|
2800
|
+
* @public
|
|
2476
2801
|
*/
|
|
2477
2802
|
getState: function getState() {
|
|
2478
2803
|
var state = {
|
|
@@ -2484,30 +2809,30 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2484
2809
|
return state;
|
|
2485
2810
|
},
|
|
2486
2811
|
|
|
2487
|
-
/**
|
|
2488
|
-
* Function used for importing the states of the scene. This exported states
|
|
2489
|
-
* can be imported using the read states method.
|
|
2490
|
-
*
|
|
2491
|
-
* @public
|
|
2812
|
+
/**
|
|
2813
|
+
* Function used for importing the states of the scene. This exported states
|
|
2814
|
+
* can be imported using the read states method.
|
|
2815
|
+
*
|
|
2816
|
+
* @public
|
|
2492
2817
|
*/
|
|
2493
2818
|
setState: function setState(state) {
|
|
2494
|
-
var
|
|
2819
|
+
var _this3 = this;
|
|
2495
2820
|
|
|
2496
2821
|
if (state) {
|
|
2497
2822
|
this.initialise().then(function () {
|
|
2498
|
-
if (state.species && state.species !==
|
|
2499
|
-
|
|
2823
|
+
if (state.species && state.species !== _this3.activeSpecies) {
|
|
2824
|
+
_this3.activeSpecies = state.species;
|
|
2500
2825
|
|
|
2501
2826
|
if (state.state) {
|
|
2502
2827
|
//Wait for next tick when the refs are ready for rendering
|
|
2503
|
-
|
|
2504
|
-
|
|
2828
|
+
_this3.$nextTick(function () {
|
|
2829
|
+
_this3.$refs[_this3.activeSpecies][0].createFlatmap(state.state);
|
|
2505
2830
|
|
|
2506
|
-
|
|
2831
|
+
_this3.$emit('flatmapChanged', _this3.activeSpecies);
|
|
2507
2832
|
});
|
|
2508
2833
|
}
|
|
2509
2834
|
} else if (state.state) {
|
|
2510
|
-
var map =
|
|
2835
|
+
var map = _this3.getCurrentFlatmap();
|
|
2511
2836
|
|
|
2512
2837
|
map.setState(state.state);
|
|
2513
2838
|
}
|
|
@@ -2536,9 +2861,9 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2536
2861
|
default: false
|
|
2537
2862
|
},
|
|
2538
2863
|
|
|
2539
|
-
/**
|
|
2540
|
-
* Initial species for the flatmap.
|
|
2541
|
-
* This value will be ignored if a valid state object is provided.
|
|
2864
|
+
/**
|
|
2865
|
+
* Initial species for the flatmap.
|
|
2866
|
+
* This value will be ignored if a valid state object is provided.
|
|
2542
2867
|
*/
|
|
2543
2868
|
initial: {
|
|
2544
2869
|
type: String,
|
|
@@ -2566,16 +2891,16 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2566
2891
|
},
|
|
2567
2892
|
availableSpecies: {},
|
|
2568
2893
|
|
|
2569
|
-
/**
|
|
2570
|
-
* State containing state of the flatmap.
|
|
2894
|
+
/**
|
|
2895
|
+
* State containing state of the flatmap.
|
|
2571
2896
|
*/
|
|
2572
2897
|
state: {
|
|
2573
2898
|
type: Object,
|
|
2574
2899
|
default: undefined
|
|
2575
2900
|
},
|
|
2576
2901
|
|
|
2577
|
-
/**
|
|
2578
|
-
* Specify the endpoint of the flatmap server.
|
|
2902
|
+
/**
|
|
2903
|
+
* Specify the endpoint of the flatmap server.
|
|
2579
2904
|
*/
|
|
2580
2905
|
flatmapAPI: {
|
|
2581
2906
|
type: String,
|
|
@@ -2601,8 +2926,8 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2601
2926
|
});
|
|
2602
2927
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
2603
2928
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
2604
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2605
|
-
var
|
|
2929
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=54147954&scoped=true&lang=scss&
|
|
2930
|
+
var MultiFlatmapVuervue_type_style_index_0_id_54147954_scoped_true_lang_scss_ = __webpack_require__("83b5");
|
|
2606
2931
|
|
|
2607
2932
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
2608
2933
|
|
|
@@ -2615,11 +2940,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_01b30450_scoped_true_lang_scss_ =
|
|
|
2615
2940
|
|
|
2616
2941
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
2617
2942
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
2618
|
-
|
|
2619
|
-
|
|
2943
|
+
MultiFlatmapVuervue_type_template_id_54147954_scoped_true_render,
|
|
2944
|
+
MultiFlatmapVuervue_type_template_id_54147954_scoped_true_staticRenderFns,
|
|
2620
2945
|
false,
|
|
2621
2946
|
null,
|
|
2622
|
-
"
|
|
2947
|
+
"54147954",
|
|
2623
2948
|
null
|
|
2624
2949
|
|
|
2625
2950
|
)
|