@abi-software/flatmapvuer 0.2.5-alpha.0 → 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/dist/flatmapvuer.common.js +486 -154
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +486 -154
- 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 +6 -6
- package/package.json +2 -2
- package/src/App.vue +4 -2
- package/src/components/EventBus.js +3 -0
- package/src/components/FlatmapVuer.vue +25 -10
- package/src/components/MultiFlatmapVuer.vue +4 -0
- package/src/components/PubmedViewer.vue +42 -21
- package/src/components/Tooltip.vue +189 -22
- package/src/components/flatmapQueries.js +0 -0
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,18 +236,18 @@ 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
|
|
|
234
248
|
/***/ }),
|
|
235
249
|
|
|
236
|
-
/***/ "
|
|
250
|
+
/***/ "35cd":
|
|
237
251
|
/***/ (function(module, exports, __webpack_require__) {
|
|
238
252
|
|
|
239
253
|
// extracted by mini-css-extract-plugin
|
|
@@ -310,6 +324,13 @@ module.exports = require("element-ui/lib/theme-chalk/checkbox.css");
|
|
|
310
324
|
|
|
311
325
|
/***/ }),
|
|
312
326
|
|
|
327
|
+
/***/ "5d4c":
|
|
328
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
329
|
+
|
|
330
|
+
// extracted by mini-css-extract-plugin
|
|
331
|
+
|
|
332
|
+
/***/ }),
|
|
333
|
+
|
|
313
334
|
/***/ "5d8c":
|
|
314
335
|
/***/ (function(module, exports) {
|
|
315
336
|
|
|
@@ -371,6 +392,17 @@ module.exports = require("element-ui/lib/locale");
|
|
|
371
392
|
|
|
372
393
|
module.exports = require("element-ui/lib/theme-chalk/option.css");
|
|
373
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
|
+
|
|
374
406
|
/***/ }),
|
|
375
407
|
|
|
376
408
|
/***/ "8535":
|
|
@@ -387,6 +419,13 @@ module.exports = require("core-js/modules/es.array.includes.js");
|
|
|
387
419
|
|
|
388
420
|
/***/ }),
|
|
389
421
|
|
|
422
|
+
/***/ "86da":
|
|
423
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
424
|
+
|
|
425
|
+
// extracted by mini-css-extract-plugin
|
|
426
|
+
|
|
427
|
+
/***/ }),
|
|
428
|
+
|
|
390
429
|
/***/ "8bbf":
|
|
391
430
|
/***/ (function(module, exports) {
|
|
392
431
|
|
|
@@ -399,6 +438,17 @@ module.exports = require("vue");
|
|
|
399
438
|
|
|
400
439
|
module.exports = require("element-ui/lib/theme-chalk/icon.css");
|
|
401
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
|
+
|
|
402
452
|
/***/ }),
|
|
403
453
|
|
|
404
454
|
/***/ "93e6":
|
|
@@ -415,24 +465,6 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
415
465
|
|
|
416
466
|
/***/ }),
|
|
417
467
|
|
|
418
|
-
/***/ "97da":
|
|
419
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
420
|
-
|
|
421
|
-
"use strict";
|
|
422
|
-
/* 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");
|
|
423
|
-
/* 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__);
|
|
424
|
-
/* unused harmony reexport * */
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
/***/ }),
|
|
428
|
-
|
|
429
|
-
/***/ "9996":
|
|
430
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
431
|
-
|
|
432
|
-
// extracted by mini-css-extract-plugin
|
|
433
|
-
|
|
434
|
-
/***/ }),
|
|
435
|
-
|
|
436
468
|
/***/ "9a25":
|
|
437
469
|
/***/ (function(module, exports) {
|
|
438
470
|
|
|
@@ -508,6 +540,17 @@ module.exports = require("element-ui/lib/theme-chalk/container.css");
|
|
|
508
540
|
|
|
509
541
|
module.exports = require("element-ui/lib/icon");
|
|
510
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
|
+
|
|
511
554
|
/***/ }),
|
|
512
555
|
|
|
513
556
|
/***/ "b777":
|
|
@@ -522,24 +565,6 @@ module.exports = require("element-ui/lib/checkbox");
|
|
|
522
565
|
|
|
523
566
|
module.exports = require("core-js/modules/web.url.js");
|
|
524
567
|
|
|
525
|
-
/***/ }),
|
|
526
|
-
|
|
527
|
-
/***/ "b9c9":
|
|
528
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
529
|
-
|
|
530
|
-
// extracted by mini-css-extract-plugin
|
|
531
|
-
|
|
532
|
-
/***/ }),
|
|
533
|
-
|
|
534
|
-
/***/ "bbed":
|
|
535
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
536
|
-
|
|
537
|
-
"use strict";
|
|
538
|
-
/* 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_5fb00c0b_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("36e5");
|
|
539
|
-
/* 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_5fb00c0b_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_5fb00c0b_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
540
|
-
/* unused harmony reexport * */
|
|
541
|
-
|
|
542
|
-
|
|
543
568
|
/***/ }),
|
|
544
569
|
|
|
545
570
|
/***/ "bf03":
|
|
@@ -563,21 +588,24 @@ module.exports = require("element-ui/lib/carousel-item");
|
|
|
563
588
|
|
|
564
589
|
/***/ }),
|
|
565
590
|
|
|
566
|
-
/***/ "
|
|
567
|
-
/***/ (function(module,
|
|
591
|
+
/***/ "c8a6":
|
|
592
|
+
/***/ (function(module, exports) {
|
|
568
593
|
|
|
569
|
-
|
|
570
|
-
/* 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");
|
|
571
|
-
/* 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__);
|
|
572
|
-
/* unused harmony reexport * */
|
|
594
|
+
module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
573
595
|
|
|
596
|
+
/***/ }),
|
|
597
|
+
|
|
598
|
+
/***/ "ccb0":
|
|
599
|
+
/***/ (function(module, exports) {
|
|
600
|
+
|
|
601
|
+
module.exports = require("core-js/modules/es.array.concat.js");
|
|
574
602
|
|
|
575
603
|
/***/ }),
|
|
576
604
|
|
|
577
|
-
/***/ "
|
|
605
|
+
/***/ "da6e":
|
|
578
606
|
/***/ (function(module, exports) {
|
|
579
607
|
|
|
580
|
-
module.exports = require("core-js/modules/es.
|
|
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
|
-
featureId: {
|
|
1071
|
-
type: String,
|
|
1072
|
-
default: ''
|
|
1073
|
-
},
|
|
1074
|
-
|
|
1075
1134
|
/**
|
|
1076
|
-
|
|
1077
|
-
|
|
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
|
+
}
|
|
1124
1203
|
|
|
1204
|
+
return sql;
|
|
1205
|
+
},
|
|
1206
|
+
flatmapQuery: function flatmapQuery(keastIds) {
|
|
1207
|
+
var _this2 = this;
|
|
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
|
//
|
|
@@ -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",
|
|
@@ -2214,7 +2538,9 @@ var mapResize = function mapResize(map) {
|
|
|
2214
2538
|
loading: false,
|
|
2215
2539
|
flatmapMarker: flatmap_marker,
|
|
2216
2540
|
drawerOpen: true,
|
|
2217
|
-
tooltipContent: {
|
|
2541
|
+
tooltipContent: {
|
|
2542
|
+
featureIds: []
|
|
2543
|
+
},
|
|
2218
2544
|
colourRadio: true,
|
|
2219
2545
|
outlinesRadio: true
|
|
2220
2546
|
};
|
|
@@ -2243,8 +2569,8 @@ var mapResize = function mapResize(map) {
|
|
|
2243
2569
|
});
|
|
2244
2570
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
2245
2571
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
2246
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2247
|
-
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");
|
|
2248
2574
|
|
|
2249
2575
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
2250
2576
|
|
|
@@ -2261,18 +2587,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
2261
2587
|
staticRenderFns,
|
|
2262
2588
|
false,
|
|
2263
2589
|
null,
|
|
2264
|
-
"
|
|
2590
|
+
"3d2da278",
|
|
2265
2591
|
null
|
|
2266
2592
|
|
|
2267
2593
|
)
|
|
2268
2594
|
|
|
2269
2595
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
2270
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2271
|
-
var
|
|
2272
|
-
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 = []
|
|
2273
2599
|
|
|
2274
2600
|
|
|
2275
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
2601
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=54147954&scoped=true&
|
|
2276
2602
|
|
|
2277
2603
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/popover.css"
|
|
2278
2604
|
var popover_css_ = __webpack_require__("a525");
|
|
@@ -2378,6 +2704,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
2378
2704
|
|
|
2379
2705
|
|
|
2380
2706
|
|
|
2707
|
+
|
|
2381
2708
|
locale_default.a.use(en_default.a);
|
|
2382
2709
|
external_vue_default.a.use(col_default.a);
|
|
2383
2710
|
external_vue_default.a.use(row_default.a);
|
|
@@ -2390,35 +2717,40 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2390
2717
|
FlatmapVuer: FlatmapVuer
|
|
2391
2718
|
},
|
|
2392
2719
|
mounted: function mounted() {
|
|
2720
|
+
var _this = this;
|
|
2721
|
+
|
|
2393
2722
|
this.initialise();
|
|
2723
|
+
components_EventBus.$on('onActionClick', function (action) {
|
|
2724
|
+
_this.FlatmapSelected(action);
|
|
2725
|
+
});
|
|
2394
2726
|
},
|
|
2395
2727
|
methods: {
|
|
2396
2728
|
initialise: function initialise() {
|
|
2397
|
-
var
|
|
2729
|
+
var _this2 = this;
|
|
2398
2730
|
|
|
2399
2731
|
return new Promise(function (resolve) {
|
|
2400
|
-
fetch(
|
|
2732
|
+
fetch(_this2.flatmapAPI).then(function (response) {
|
|
2401
2733
|
return response.json();
|
|
2402
2734
|
}).then(function (data) {
|
|
2403
|
-
|
|
2404
|
-
Object.keys(
|
|
2735
|
+
_this2.speciesLis = {};
|
|
2736
|
+
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
2405
2737
|
for (var i = 0; i < data.length; i++) {
|
|
2406
|
-
if (data[i].describes ==
|
|
2407
|
-
|
|
2738
|
+
if (data[i].describes == _this2.availableSpecies[key].taxo) {
|
|
2739
|
+
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
2408
2740
|
break;
|
|
2409
2741
|
}
|
|
2410
2742
|
}
|
|
2411
2743
|
});
|
|
2412
2744
|
|
|
2413
|
-
if (!
|
|
2414
|
-
if (
|
|
2415
|
-
|
|
2745
|
+
if (!_this2.state) {
|
|
2746
|
+
if (_this2.initial && _this2.speciesList[_this2.initial] !== undefined) {
|
|
2747
|
+
_this2.activeSpecies = _this2.initial;
|
|
2416
2748
|
} else {
|
|
2417
|
-
|
|
2749
|
+
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
2418
2750
|
}
|
|
2419
2751
|
|
|
2420
2752
|
external_vue_default.a.nextTick(function () {
|
|
2421
|
-
if (
|
|
2753
|
+
if (_this2.$refs[_this2.activeSpecies]) _this2.$refs[_this2.activeSpecies][0].createFlatmap();
|
|
2422
2754
|
});
|
|
2423
2755
|
}
|
|
2424
2756
|
|
|
@@ -2484,23 +2816,23 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2484
2816
|
* @public
|
|
2485
2817
|
*/
|
|
2486
2818
|
setState: function setState(state) {
|
|
2487
|
-
var
|
|
2819
|
+
var _this3 = this;
|
|
2488
2820
|
|
|
2489
2821
|
if (state) {
|
|
2490
2822
|
this.initialise().then(function () {
|
|
2491
|
-
if (state.species && state.species !==
|
|
2492
|
-
|
|
2823
|
+
if (state.species && state.species !== _this3.activeSpecies) {
|
|
2824
|
+
_this3.activeSpecies = state.species;
|
|
2493
2825
|
|
|
2494
2826
|
if (state.state) {
|
|
2495
2827
|
//Wait for next tick when the refs are ready for rendering
|
|
2496
|
-
|
|
2497
|
-
|
|
2828
|
+
_this3.$nextTick(function () {
|
|
2829
|
+
_this3.$refs[_this3.activeSpecies][0].createFlatmap(state.state);
|
|
2498
2830
|
|
|
2499
|
-
|
|
2831
|
+
_this3.$emit('flatmapChanged', _this3.activeSpecies);
|
|
2500
2832
|
});
|
|
2501
2833
|
}
|
|
2502
2834
|
} else if (state.state) {
|
|
2503
|
-
var map =
|
|
2835
|
+
var map = _this3.getCurrentFlatmap();
|
|
2504
2836
|
|
|
2505
2837
|
map.setState(state.state);
|
|
2506
2838
|
}
|
|
@@ -2594,8 +2926,8 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2594
2926
|
});
|
|
2595
2927
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
2596
2928
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
2597
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2598
|
-
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");
|
|
2599
2931
|
|
|
2600
2932
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
2601
2933
|
|
|
@@ -2608,11 +2940,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_01b30450_scoped_true_lang_scss_ =
|
|
|
2608
2940
|
|
|
2609
2941
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
2610
2942
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
2611
|
-
|
|
2612
|
-
|
|
2943
|
+
MultiFlatmapVuervue_type_template_id_54147954_scoped_true_render,
|
|
2944
|
+
MultiFlatmapVuervue_type_template_id_54147954_scoped_true_staticRenderFns,
|
|
2613
2945
|
false,
|
|
2614
2946
|
null,
|
|
2615
|
-
"
|
|
2947
|
+
"54147954",
|
|
2616
2948
|
null
|
|
2617
2949
|
|
|
2618
2950
|
)
|