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