@abi-software/flatmapvuer 0.4.6-fixes-2 → 0.5.0

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.
@@ -3898,6 +3898,17 @@ src_select.install = function (Vue) {
3898
3898
 
3899
3899
  /******/ });
3900
3900
 
3901
+ /***/ }),
3902
+
3903
+ /***/ "4e5b":
3904
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3905
+
3906
+ "use strict";
3907
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_37e16dd3_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("67db");
3908
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_37e16dd3_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_37e16dd3_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
3909
+ /* unused harmony reexport * */
3910
+
3911
+
3901
3912
  /***/ }),
3902
3913
 
3903
3914
  /***/ "5054":
@@ -5684,7 +5695,7 @@ module.exports = require("core-js/modules/es.string.replace.js");
5684
5695
 
5685
5696
  /***/ }),
5686
5697
 
5687
- /***/ "69e6":
5698
+ /***/ "67db":
5688
5699
  /***/ (function(module, exports, __webpack_require__) {
5689
5700
 
5690
5701
  // extracted by mini-css-extract-plugin
@@ -7055,17 +7066,6 @@ main.install = function (Vue) {
7055
7066
 
7056
7067
  /******/ });
7057
7068
 
7058
- /***/ }),
7059
-
7060
- /***/ "7c2d":
7061
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7062
-
7063
- "use strict";
7064
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_69c17286_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("69e6");
7065
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_69c17286_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_69c17286_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
7066
- /* unused harmony reexport * */
7067
-
7068
-
7069
7069
  /***/ }),
7070
7070
 
7071
7071
  /***/ "7f4d":
@@ -13369,507 +13369,12 @@ if (typeof window !== 'undefined') {
13369
13369
  // Indicate to webpack that this file can be concatenated
13370
13370
  /* harmony default export */ var setPublicPath = (null);
13371
13371
 
13372
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b3db984-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=69c17286&scoped=true&
13373
- var render = function render() {
13374
- var _vm = this,
13375
- _c = _vm._self._c;
13376
- return _c('div', {
13377
- directives: [{
13378
- name: "loading",
13379
- rawName: "v-loading",
13380
- value: _vm.loading,
13381
- expression: "loading"
13382
- }],
13383
- ref: "flatmapContainer",
13384
- staticClass: "flatmap-container",
13385
- attrs: {
13386
- "element-loading-text": "Loading...",
13387
- "element-loading-spinner": "el-icon-loading",
13388
- "element-loading-background": "rgba(0, 0, 0, 0.3)"
13389
- }
13390
- }, [_c('map-svg-sprite-color'), _c('div', {
13391
- staticStyle: {
13392
- "height": "100%",
13393
- "width": "100%",
13394
- "position": "relative",
13395
- "overflow-y": "none"
13396
- }
13397
- }, [_c('div', {
13398
- ref: "display",
13399
- staticStyle: {
13400
- "height": "100%",
13401
- "width": "100%"
13402
- }
13403
- }), _c('div', {
13404
- staticClass: "beta-popovers"
13405
- }, [_c('div', [_c('el-popover', {
13406
- ref: "warningPopover",
13407
- attrs: {
13408
- "placement": "right",
13409
- "appendToBody": false,
13410
- "trigger": "manual",
13411
- "popper-class": "warning-popper flatmap-popper right-popper"
13412
- },
13413
- model: {
13414
- value: _vm.hoverVisibilities[6].value,
13415
- callback: function callback($$v) {
13416
- _vm.$set(_vm.hoverVisibilities[6], "value", $$v);
13417
- },
13418
- expression: "hoverVisibilities[6].value"
13419
- }
13420
- }, [_vm.isLegacy ? _c('p', {
13421
- on: {
13422
- "mouseover": function mouseover($event) {
13423
- return _vm.showToolitip(6);
13424
- },
13425
- "mouseout": function mouseout($event) {
13426
- return _vm.hideToolitip(6);
13427
- }
13428
- }
13429
- }, [_vm._v(" This is a legacy map, you may view the latest map instead. ")]) : _vm.isFC ? _c('p', {
13430
- on: {
13431
- "mouseover": function mouseover($event) {
13432
- return _vm.showToolitip(6);
13433
- },
13434
- "mouseout": function mouseout($event) {
13435
- return _vm.hideToolitip(6);
13436
- }
13437
- }
13438
- }, [_vm._v(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "), _c('a', {
13439
- attrs: {
13440
- "href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
13441
- "target": "_blank"
13442
- }
13443
- }, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
13444
- attrs: {
13445
- "href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
13446
- "target": "_blank"
13447
- }
13448
- }, [_vm._v(" SCKAN ")]), _vm._v(". ")]) : _c('p', {
13449
- on: {
13450
- "mouseover": function mouseover($event) {
13451
- return _vm.showToolitip(6);
13452
- },
13453
- "mouseout": function mouseout($event) {
13454
- return _vm.hideToolitip(6);
13455
- }
13456
- }
13457
- }, [_vm._v(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "), _c('a', {
13458
- attrs: {
13459
- "href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
13460
- "target": "_blank"
13461
- }
13462
- }, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
13463
- attrs: {
13464
- "href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
13465
- "target": "_blank"
13466
- }
13467
- }, [_vm._v(" SCKAN ")]), _vm._v(". New connectivity and species specificity will be added as the SPARC program progresses. ")])]), _vm.displayWarning ? _c('i', {
13468
- directives: [{
13469
- name: "popover",
13470
- rawName: "v-popover:warningPopover",
13471
- arg: "warningPopover"
13472
- }],
13473
- staticClass: "el-icon-warning warning-icon",
13474
- on: {
13475
- "mouseover": function mouseover($event) {
13476
- return _vm.showToolitip(6);
13477
- },
13478
- "mouseout": function mouseout($event) {
13479
- return _vm.hideToolitip(6);
13480
- }
13481
- }
13482
- }, [_vm.isLegacy ? [_c('span', {
13483
- staticClass: "warning-text"
13484
- }, [_vm._v("Legacy Map")]), _c('div', {
13485
- staticClass: "latest-map-text",
13486
- on: {
13487
- "click": _vm.viewLatestMap
13488
- }
13489
- }, [_vm._v("Click here for the latest map")])] : [_c('span', {
13490
- staticClass: "warning-text"
13491
- }, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
13492
- ref: "latestChangesPopover",
13493
- attrs: {
13494
- "content": _vm.latestChangesMessage,
13495
- "placement": "right",
13496
- "appendToBody": false,
13497
- "trigger": "manual",
13498
- "popper-class": "warning-popper flatmap-popper right-popper"
13499
- },
13500
- model: {
13501
- value: _vm.hoverVisibilities[7].value,
13502
- callback: function callback($$v) {
13503
- _vm.$set(_vm.hoverVisibilities[7], "value", $$v);
13504
- },
13505
- expression: "hoverVisibilities[7].value"
13506
- }
13507
- }) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
13508
- directives: [{
13509
- name: "popover",
13510
- rawName: "v-popover:latestChangesPopover",
13511
- arg: "latestChangesPopover"
13512
- }],
13513
- staticClass: "el-icon-warning latest-changesicon",
13514
- on: {
13515
- "mouseover": function mouseover($event) {
13516
- return _vm.showToolitip(7);
13517
- },
13518
- "mouseout": function mouseout($event) {
13519
- return _vm.hideToolitip(7);
13520
- }
13521
- }
13522
- }, [_c('span', {
13523
- staticClass: "warning-text"
13524
- }, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('i', {
13525
- directives: [{
13526
- name: "show",
13527
- rawName: "v-show",
13528
- value: _vm.minimapResizeShow,
13529
- expression: "minimapResizeShow"
13530
- }],
13531
- ref: "minimapResize",
13532
- staticClass: "el-icon-arrow-down minimap-resize",
13533
- class: {
13534
- enlarge: _vm.minimapSmall,
13535
- shrink: !_vm.minimapSmall
13536
- },
13537
- on: {
13538
- "click": _vm.closeMinimap
13539
- }
13540
- }), _c('div', {
13541
- staticClass: "bottom-right-control"
13542
- }, [_c('el-popover', {
13543
- attrs: {
13544
- "content": "Zoom in",
13545
- "placement": "left",
13546
- "appendToBody": false,
13547
- "trigger": "manual",
13548
- "popper-class": "flatmap-popper left-popper"
13549
- },
13550
- model: {
13551
- value: _vm.hoverVisibilities[0].value,
13552
- callback: function callback($$v) {
13553
- _vm.$set(_vm.hoverVisibilities[0], "value", $$v);
13554
- },
13555
- expression: "hoverVisibilities[0].value"
13556
- }
13557
- }, [_c('map-svg-icon', {
13558
- staticClass: "icon-button zoomIn",
13559
- attrs: {
13560
- "slot": "reference",
13561
- "icon": "zoomIn"
13562
- },
13563
- nativeOn: {
13564
- "click": function click($event) {
13565
- return _vm.zoomIn();
13566
- },
13567
- "mouseover": function mouseover($event) {
13568
- return _vm.showToolitip(0);
13569
- },
13570
- "mouseout": function mouseout($event) {
13571
- return _vm.hideToolitip(0);
13572
- }
13573
- },
13574
- slot: "reference"
13575
- })], 1), _c('el-popover', {
13576
- attrs: {
13577
- "content": "Zoom out",
13578
- "placement": "top-end",
13579
- "appendToBody": false,
13580
- "trigger": "manual",
13581
- "popper-class": "flatmap-popper popper-zoomout"
13582
- },
13583
- model: {
13584
- value: _vm.hoverVisibilities[1].value,
13585
- callback: function callback($$v) {
13586
- _vm.$set(_vm.hoverVisibilities[1], "value", $$v);
13587
- },
13588
- expression: "hoverVisibilities[1].value"
13589
- }
13590
- }, [_c('map-svg-icon', {
13591
- staticClass: "icon-button zoomOut",
13592
- attrs: {
13593
- "slot": "reference",
13594
- "icon": "zoomOut"
13595
- },
13596
- nativeOn: {
13597
- "click": function click($event) {
13598
- return _vm.zoomOut();
13599
- },
13600
- "mouseover": function mouseover($event) {
13601
- return _vm.showToolitip(1);
13602
- },
13603
- "mouseout": function mouseout($event) {
13604
- return _vm.hideToolitip(1);
13605
- }
13606
- },
13607
- slot: "reference"
13608
- })], 1), _c('el-popover', {
13609
- attrs: {
13610
- "content": "Reset",
13611
- "placement": "top",
13612
- "appendToBody": false,
13613
- "trigger": "manual",
13614
- "popper-class": "flatmap-popper"
13615
- },
13616
- model: {
13617
- value: _vm.hoverVisibilities[2].value,
13618
- callback: function callback($$v) {
13619
- _vm.$set(_vm.hoverVisibilities[2], "value", $$v);
13620
- },
13621
- expression: "hoverVisibilities[2].value"
13622
- }
13623
- }, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
13624
- staticClass: "icon-button fitWindow",
13625
- attrs: {
13626
- "slot": "reference",
13627
- "icon": "fitWindow"
13628
- },
13629
- nativeOn: {
13630
- "click": function click($event) {
13631
- return _vm.resetView();
13632
- },
13633
- "mouseover": function mouseover($event) {
13634
- return _vm.showToolitip(2);
13635
- },
13636
- "mouseout": function mouseout($event) {
13637
- return _vm.hideToolitip(2);
13638
- }
13639
- },
13640
- slot: "reference"
13641
- })], 1)], 1), _c('el-popover', {
13642
- ref: "checkBoxPopover",
13643
- attrs: {
13644
- "content": "Change pathway visibility",
13645
- "placement": "right",
13646
- "appendToBody": false,
13647
- "trigger": "manual",
13648
- "popper-class": "flatmap-popper right-popper"
13649
- },
13650
- model: {
13651
- value: _vm.hoverVisibilities[4].value,
13652
- callback: function callback($$v) {
13653
- _vm.$set(_vm.hoverVisibilities[4], "value", $$v);
13654
- },
13655
- expression: "hoverVisibilities[4].value"
13656
- }
13657
- }), _c('div', {
13658
- staticClass: "pathway-location",
13659
- class: {
13660
- open: _vm.drawerOpen,
13661
- close: !_vm.drawerOpen
13662
- }
13663
- }, [_vm.pathControls ? _c('div', {
13664
- directives: [{
13665
- name: "popover",
13666
- rawName: "v-popover:checkBoxPopover",
13667
- arg: "checkBoxPopover"
13668
- }],
13669
- staticClass: "pathway-container",
13670
- style: {
13671
- 'max-height': _vm.pathwaysMaxHeight + 'px'
13672
- }
13673
- }, [!_vm.isFC ? _c('svg-legends', {
13674
- staticClass: "svg-legends-container"
13675
- }) : _vm._e(), _c('el-popover', {
13676
- ref: "markerPopover",
13677
- attrs: {
13678
- "content": "Find these markers for data",
13679
- "placement": "right",
13680
- "appendToBody": false,
13681
- "trigger": "manual",
13682
- "popper-class": "flatmap-popper popper-bump-right right-popper"
13683
- },
13684
- model: {
13685
- value: _vm.hoverVisibilities[5].value,
13686
- callback: function callback($$v) {
13687
- _vm.$set(_vm.hoverVisibilities[5], "value", $$v);
13688
- },
13689
- expression: "hoverVisibilities[5].value"
13690
- }
13691
- }), _c('div', {
13692
- directives: [{
13693
- name: "show",
13694
- rawName: "v-show",
13695
- value: _vm.hoverVisibilities[5].value,
13696
- expression: "hoverVisibilities[5].value"
13697
- }, {
13698
- name: "popover",
13699
- rawName: "v-popover:markerPopover",
13700
- arg: "markerPopover"
13701
- }],
13702
- staticClass: "flatmap-marker-help",
13703
- domProps: {
13704
- "innerHTML": _vm._s(_vm.flatmapMarker)
13705
- }
13706
- }), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('selections-group', {
13707
- key: "systemsSelection",
13708
- ref: "systemsSelection",
13709
- attrs: {
13710
- "title": "Systems",
13711
- "labelKey": "name",
13712
- "identifierKey": "id",
13713
- "selections": _vm.systems,
13714
- "colourStyle": "background"
13715
- },
13716
- on: {
13717
- "changed": _vm.systemSelected,
13718
- "checkAll": _vm.checkAllSystems
13719
- }
13720
- }) : _vm._e(), _vm.pathways && _vm.pathways.length > 0 ? _c('selections-group', {
13721
- key: "pathwaysSelection",
13722
- ref: "pathwaysSelection",
13723
- attrs: {
13724
- "title": "Pathways",
13725
- "labelKey": "label",
13726
- "identifierKey": "type",
13727
- "colourStyle": "line",
13728
- "selections": _vm.pathways
13729
- },
13730
- on: {
13731
- "changed": _vm.pathwaysSelected,
13732
- "checkAll": _vm.checkAllPathways
13733
- }
13734
- }) : _vm._e()], 1) : _vm._e(), _c('div', {
13735
- staticClass: "drawer-button",
13736
- class: {
13737
- open: _vm.drawerOpen,
13738
- close: !_vm.drawerOpen
13739
- },
13740
- on: {
13741
- "click": _vm.toggleDrawer
13742
- }
13743
- }, [_c('i', {
13744
- staticClass: "el-icon-arrow-left"
13745
- })])]), _c('el-popover', {
13746
- ref: "backgroundPopover",
13747
- attrs: {
13748
- "placement": "top-start",
13749
- "width": "175",
13750
- "appendToBody": false,
13751
- "trigger": "click",
13752
- "popper-class": "background-popper"
13753
- }
13754
- }, [_c('el-row', {
13755
- staticClass: "backgroundText"
13756
- }, [_vm._v("Organs display")]), _c('el-row', {
13757
- staticClass: "backgroundControl"
13758
- }, [_c('el-radio-group', {
13759
- staticClass: "flatmap-radio",
13760
- on: {
13761
- "change": _vm.setColour
13762
- },
13763
- model: {
13764
- value: _vm.colourRadio,
13765
- callback: function callback($$v) {
13766
- _vm.colourRadio = $$v;
13767
- },
13768
- expression: "colourRadio"
13769
- }
13770
- }, [_c('el-radio', {
13771
- attrs: {
13772
- "label": true
13773
- }
13774
- }, [_vm._v("Colour")]), _c('el-radio', {
13775
- attrs: {
13776
- "label": false
13777
- }
13778
- }, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
13779
- staticClass: "backgroundSpacer"
13780
- }), _c('el-row', {
13781
- staticClass: "backgroundText"
13782
- }, [_vm._v("Outlines display")]), _c('el-row', {
13783
- staticClass: "backgroundControl"
13784
- }, [_c('el-radio-group', {
13785
- staticClass: "flatmap-radio",
13786
- on: {
13787
- "change": _vm.setOutlines
13788
- },
13789
- model: {
13790
- value: _vm.outlinesRadio,
13791
- callback: function callback($$v) {
13792
- _vm.outlinesRadio = $$v;
13793
- },
13794
- expression: "outlinesRadio"
13795
- }
13796
- }, [_c('el-radio', {
13797
- attrs: {
13798
- "label": true
13799
- }
13800
- }, [_vm._v("Show")]), _c('el-radio', {
13801
- attrs: {
13802
- "label": false
13803
- }
13804
- }, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
13805
- staticClass: "backgroundSpacer"
13806
- }), _c('el-row', {
13807
- staticClass: "backgroundText"
13808
- }, [_vm._v("Change background")]), _c('el-row', {
13809
- staticClass: "backgroundControl"
13810
- }, _vm._l(_vm.availableBackground, function (item) {
13811
- return _c('div', {
13812
- key: item,
13813
- class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
13814
- on: {
13815
- "click": function click($event) {
13816
- return _vm.backgroundChangeCallback(item);
13817
- }
13818
- }
13819
- });
13820
- }), 0)], 1), _c('el-popover', {
13821
- attrs: {
13822
- "content": "Change settings",
13823
- "placement": "right",
13824
- "appendToBody": false,
13825
- "trigger": "manual",
13826
- "popper-class": "flatmap-popper right-popper"
13827
- },
13828
- model: {
13829
- value: _vm.hoverVisibilities[3].value,
13830
- callback: function callback($$v) {
13831
- _vm.$set(_vm.hoverVisibilities[3], "value", $$v);
13832
- },
13833
- expression: "hoverVisibilities[3].value"
13834
- }
13835
- }, [_c('map-svg-icon', {
13836
- directives: [{
13837
- name: "popover",
13838
- rawName: "v-popover:backgroundPopover",
13839
- arg: "backgroundPopover"
13840
- }],
13841
- staticClass: "icon-button background-colour",
13842
- class: {
13843
- open: _vm.drawerOpen,
13844
- close: !_vm.drawerOpen
13845
- },
13846
- attrs: {
13847
- "slot": "reference",
13848
- "icon": "changeBckgd"
13849
- },
13850
- nativeOn: {
13851
- "mouseover": function mouseover($event) {
13852
- return _vm.showToolitip(3);
13853
- },
13854
- "mouseout": function mouseout($event) {
13855
- return _vm.hideToolitip(3);
13856
- }
13857
- },
13858
- slot: "reference"
13859
- })], 1), _c('Tooltip', {
13860
- ref: "tooltip",
13861
- staticClass: "tooltip",
13862
- attrs: {
13863
- "entry": _vm.tooltipEntry
13864
- },
13865
- on: {
13866
- "resource-selected": _vm.resourceSelected
13867
- }
13868
- })], 1)], 1);
13869
- };
13870
- var staticRenderFns = [];
13372
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"82e3b2d4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=37e16dd3&scoped=true&
13373
+ 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"}],ref:"flatmapContainer",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%"}}),_c('div',{staticClass:"beta-popovers"},[_c('div',[_c('el-popover',{ref:"warningPopover",attrs:{"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.isLegacy)?_c('p',{on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_vm._v(" This is a legacy map, you may view the latest map instead. ")]):(_vm.isFC)?_c('p',{on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_vm._v(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "),_c('a',{attrs:{"href":"https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew","target":"_blank"}},[_vm._v(" ApiNATOMY ")]),_vm._v(" models available in "),_c('a',{attrs:{"href":"https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD","target":"_blank"}},[_vm._v(" SCKAN ")]),_vm._v(". ")]):_c('p',{on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_vm._v(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "),_c('a',{attrs:{"href":"https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew","target":"_blank"}},[_vm._v(" ApiNATOMY ")]),_vm._v(" models available in "),_c('a',{attrs:{"href":"https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD","target":"_blank"}},[_vm._v(" SCKAN ")]),_vm._v(". New connectivity and species specificity will be added as the SPARC program progresses. ")])]),(_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)}}},[(_vm.isLegacy)?[_c('span',{staticClass:"warning-text"},[_vm._v("Legacy Map")]),_c('div',{staticClass:"latest-map-text",on:{"click":_vm.viewLatestMap}},[_vm._v("Click here for the latest map")])]:[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]],2):_vm._e()],1),(_vm.displayLatestChanges)?_c('el-popover',{ref:"latestChangesPopover",attrs:{"content":_vm.latestChangesMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[7].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[7], "value", $$v)},expression:"hoverVisibilities[7].value"}}):_vm._e(),(_vm.displayLatestChanges && _vm.latestChangesMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:latestChangesPopover",arg:"latestChangesPopover"}],staticClass:"el-icon-warning latest-changesicon",on:{"mouseover":function($event){return _vm.showToolitip(7)},"mouseout":function($event){return _vm.hideToolitip(7)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("What's new?")])]):_vm._e()],1),_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.minimapResizeShow),expression:"minimapResizeShow"}],ref:"minimapResize",staticClass:"el-icon-arrow-down minimap-resize",class:{ enlarge: _vm.minimapSmall, shrink: !_vm.minimapSmall},on:{"click":_vm.closeMinimap}}),_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.pathControls)?_c('div',{directives:[{name:"popover",rawName:"v-popover:checkBoxPopover",arg:"checkBoxPopover"}],staticClass:"pathway-container",style:({'max-height': _vm.pathwaysMaxHeight + 'px'})},[(!_vm.isFC)?_c('svg-legends',{staticClass:"svg-legends-container"}):_vm._e(),_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)}}),(_vm.isFC && _vm.systems && _vm.systems.length > 0)?_c('selections-group',{key:"systemsSelection",ref:"systemsSelection",attrs:{"title":"Systems","labelKey":"name","identifierKey":"id","selections":_vm.systems,"colourStyle":"background"},on:{"changed":_vm.systemSelected,"checkAll":_vm.checkAllSystems}}):_vm._e(),(_vm.pathways && _vm.pathways.length > 0)?_c('selections-group',{key:"pathwaysSelection",ref:"pathwaysSelection",attrs:{"title":"Pathways","labelKey":"label","identifierKey":"type","colourStyle":"line","selections":_vm.pathways},on:{"changed":_vm.pathwaysSelected,"checkAll":_vm.checkAllPathways}}):_vm._e()],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 settings","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:{"entry":_vm.tooltipEntry},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
13374
+ var staticRenderFns = []
13871
13375
 
13872
- // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=69c17286&scoped=true&
13376
+
13377
+ // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=37e16dd3&scoped=true&
13873
13378
 
13874
13379
  // EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
13875
13380
  var es_symbol_js_ = __webpack_require__("9b22");
@@ -14459,137 +13964,10 @@ var es_number_constructor_js_ = __webpack_require__("f989");
14459
13964
  var external_vue_ = __webpack_require__("8bbf");
14460
13965
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
14461
13966
 
14462
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b3db984-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=63935114&scoped=true&
14463
- var Tooltipvue_type_template_id_63935114_scoped_true_render = function render() {
14464
- var _vm = this,
14465
- _c = _vm._self._c;
14466
- return _c('div', {
14467
- staticClass: "tooltip-container"
14468
- }, [_vm.entry ? _c('el-main', {
14469
- directives: [{
14470
- name: "loading",
14471
- rawName: "v-loading",
14472
- value: _vm.loading,
14473
- expression: "loading"
14474
- }],
14475
- staticClass: "main"
14476
- }, [_vm.entry.title ? _c('div', {
14477
- staticClass: "block"
14478
- }, [_c('span', {
14479
- staticClass: "title"
14480
- }, [_vm._v(_vm._s(_vm.capitalise(_vm.entry.title)))])]) : _c('div', {
14481
- staticClass: "block"
14482
- }, [_c('span', {
14483
- staticClass: "title"
14484
- }, [_vm._v(_vm._s(_vm.entry.featureId))])]), _c('div', {
14485
- staticClass: "content-container scrollbar"
14486
- }, [_vm._v(" " + _vm._s(_vm.entry.paths) + " "), _vm.entry.origins && _vm.entry.origins.length > 0 ? _c('div', {
14487
- staticClass: "block"
14488
- }, [_c('div', [_c('span', {
14489
- staticClass: "attribute-title"
14490
- }, [_vm._v("Origin")]), _c('el-popover', {
14491
- attrs: {
14492
- "width": "250",
14493
- "trigger": "hover",
14494
- "append-to-body": false,
14495
- "popper-class": "popover-origin-help"
14496
- }
14497
- }, [_c('i', {
14498
- staticClass: "el-icon-warning-outline info",
14499
- attrs: {
14500
- "slot": "reference"
14501
- },
14502
- slot: "reference"
14503
- }), _c('span', {
14504
- staticStyle: {
14505
- "word-break": "keep-all"
14506
- }
14507
- }, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.entry.origins, function (origin, i) {
14508
- return _c('div', {
14509
- key: origin,
14510
- staticClass: "attribute-content"
14511
- }, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.entry.origins.length - 1 ? _c('div', {
14512
- staticClass: "seperator"
14513
- }) : _vm._e()]);
14514
- }), _c('el-button', {
14515
- directives: [{
14516
- name: "show",
14517
- rawName: "v-show",
14518
- value: _vm.entry.originsWithDatasets && _vm.entry.originsWithDatasets.length > 0,
14519
- expression: "entry.originsWithDatasets && entry.originsWithDatasets.length > 0"
14520
- }],
14521
- staticClass: "button",
14522
- on: {
14523
- "click": _vm.openDendrites
14524
- }
14525
- }, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.entry.components && _vm.entry.components.length > 0 ? _c('div', {
14526
- staticClass: "block"
14527
- }, [_c('div', {
14528
- staticClass: "attribute-title"
14529
- }, [_vm._v("Components")]), _vm._l(_vm.entry.components, function (component, i) {
14530
- return _c('div', {
14531
- key: component,
14532
- staticClass: "attribute-content"
14533
- }, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.entry.components.length - 1 ? _c('div', {
14534
- staticClass: "seperator"
14535
- }) : _vm._e()]);
14536
- })], 2) : _vm._e(), _vm.entry.destinations && _vm.entry.destinations.length > 0 ? _c('div', {
14537
- staticClass: "block"
14538
- }, [_c('div', [_c('span', {
14539
- staticClass: "attribute-title"
14540
- }, [_vm._v("Destination")]), _c('el-popover', {
14541
- attrs: {
14542
- "width": "250",
14543
- "trigger": "hover",
14544
- "append-to-body": false,
14545
- "popper-class": "popover-origin-help"
14546
- }
14547
- }, [_c('i', {
14548
- staticClass: "el-icon-warning-outline info",
14549
- attrs: {
14550
- "slot": "reference"
14551
- },
14552
- slot: "reference"
14553
- }), _c('span', {
14554
- staticStyle: {
14555
- "word-break": "keep-all"
14556
- }
14557
- }, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.entry.destinations, function (destination, i) {
14558
- return _c('div', {
14559
- key: destination,
14560
- staticClass: "attribute-content"
14561
- }, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.entry.destinations.length - 1 ? _c('div', {
14562
- staticClass: "seperator"
14563
- }) : _vm._e()]);
14564
- }), _c('el-button', {
14565
- directives: [{
14566
- name: "show",
14567
- rawName: "v-show",
14568
- value: _vm.entry.destinationsWithDatasets && _vm.entry.destinationsWithDatasets.length > 0,
14569
- expression: "entry.destinationsWithDatasets && entry.destinationsWithDatasets.length > 0"
14570
- }],
14571
- staticClass: "button",
14572
- on: {
14573
- "click": _vm.openAxons
14574
- }
14575
- }, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
14576
- directives: [{
14577
- name: "show",
14578
- rawName: "v-show",
14579
- value: _vm.entry.componentsWithDatasets && _vm.entry.componentsWithDatasets.length > 0,
14580
- expression: "entry.componentsWithDatasets && entry.componentsWithDatasets.length > 0"
14581
- }],
14582
- staticClass: "button",
14583
- on: {
14584
- "click": _vm.openAll
14585
- }
14586
- }, [_vm._v(" Search for data on components ")]), _c('external-resource-card', {
14587
- attrs: {
14588
- "resources": _vm.resources
14589
- }
14590
- })], 1)]) : _vm._e()], 1);
14591
- };
14592
- var Tooltipvue_type_template_id_63935114_scoped_true_staticRenderFns = [];
13967
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"82e3b2d4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=63935114&scoped=true&
13968
+ var Tooltipvue_type_template_id_63935114_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.entry)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.entry.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.entry.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.entry.featureId))])]),_c('div',{staticClass:"content-container scrollbar"},[_vm._v(" "+_vm._s(_vm.entry.paths)+" "),(_vm.entry.origins && _vm.entry.origins.length > 0)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Origin")]),_vm._v(" "+_vm._s(_vm.originDescription)+" ")])])],1),_vm._l((_vm.entry.origins),function(origin,i){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),(i != _vm.entry.origins.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.entry.originsWithDatasets && _vm.entry.originsWithDatasets.length > 0),expression:"entry.originsWithDatasets && entry.originsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore origin data ")])],2):_vm._e(),(_vm.entry.components && _vm.entry.components.length > 0)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.entry.components),function(component,i){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" "),(i != _vm.entry.components.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])})],2):_vm._e(),(_vm.entry.destinations && _vm.entry.destinations.length > 0)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Destination")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Destination")]),_vm._v(" is where the axons terminate ")])])],1),_vm._l((_vm.entry.destinations),function(destination,i){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),(i != _vm.entry.destinations.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.entry.destinationsWithDatasets && _vm.entry.destinationsWithDatasets.length > 0),expression:"entry.destinationsWithDatasets && entry.destinationsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore destination data ")])],2):_vm._e(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.entry.componentsWithDatasets && _vm.entry.componentsWithDatasets.length > 0),expression:"entry.componentsWithDatasets && entry.componentsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAll}},[_vm._v(" Search for data on components ")]),_c('external-resource-card',{attrs:{"resources":_vm.resources}})],1)]):_vm._e()],1)}
13969
+ var Tooltipvue_type_template_id_63935114_scoped_true_staticRenderFns = []
13970
+
14593
13971
 
14594
13972
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=63935114&scoped=true&
14595
13973
 
@@ -14652,30 +14030,10 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
14652
14030
 
14653
14031
  var EventBus = new external_vue_default.a();
14654
14032
  /* harmony default export */ var components_EventBus = (EventBus);
14655
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b3db984-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
14656
- var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
14657
- var _vm = this,
14658
- _c = _vm._self._c;
14659
- return _c('div', {
14660
- staticClass: "resource-container"
14661
- }, [_vm._l(_vm.resources, function (resource) {
14662
- return [_c('div', {
14663
- key: resource.id,
14664
- staticClass: "resource"
14665
- }, [resource.id === 'pubmed' ? _c('el-button', {
14666
- staticClass: "button",
14667
- attrs: {
14668
- "icon": "el-icon-notebook-2"
14669
- },
14670
- on: {
14671
- "click": function click($event) {
14672
- return _vm.openUrl(resource.url);
14673
- }
14674
- }
14675
- }, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)];
14676
- })], 2);
14677
- };
14678
- var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = [];
14033
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"82e3b2d4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
14034
+ var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"resource-container"},[_vm._l((_vm.resources),function(resource){return [_c('div',{key:resource.id,staticClass:"resource"},[(resource.id === 'pubmed')?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(resource.url)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],1)]})],2)}
14035
+ var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = []
14036
+
14679
14037
 
14680
14038
  // CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
14681
14039
 
@@ -14684,6 +14042,21 @@ var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFn
14684
14042
 
14685
14043
 
14686
14044
 
14045
+ //
14046
+ //
14047
+ //
14048
+ //
14049
+ //
14050
+ //
14051
+ //
14052
+ //
14053
+ //
14054
+ //
14055
+ //
14056
+ //
14057
+ //
14058
+ //
14059
+
14687
14060
  /* eslint-disable no-alert, no-console */
14688
14061
 
14689
14062
  external_vue_default.a.use(lib_button_default.a);
@@ -14858,6 +14231,84 @@ var component = normalizeComponent(
14858
14231
 
14859
14232
 
14860
14233
 
14234
+
14235
+ //
14236
+ //
14237
+ //
14238
+ //
14239
+ //
14240
+ //
14241
+ //
14242
+ //
14243
+ //
14244
+ //
14245
+ //
14246
+ //
14247
+ //
14248
+ //
14249
+ //
14250
+ //
14251
+ //
14252
+ //
14253
+ //
14254
+ //
14255
+ //
14256
+ //
14257
+ //
14258
+ //
14259
+ //
14260
+ //
14261
+ //
14262
+ //
14263
+ //
14264
+ //
14265
+ //
14266
+ //
14267
+ //
14268
+ //
14269
+ //
14270
+ //
14271
+ //
14272
+ //
14273
+ //
14274
+ //
14275
+ //
14276
+ //
14277
+ //
14278
+ //
14279
+ //
14280
+ //
14281
+ //
14282
+ //
14283
+ //
14284
+ //
14285
+ //
14286
+ //
14287
+ //
14288
+ //
14289
+ //
14290
+ //
14291
+ //
14292
+ //
14293
+ //
14294
+ //
14295
+ //
14296
+ //
14297
+ //
14298
+ //
14299
+ //
14300
+ //
14301
+ //
14302
+ //
14303
+ //
14304
+ //
14305
+ //
14306
+ //
14307
+ //
14308
+ //
14309
+ //
14310
+ //
14311
+ //
14861
14312
 
14862
14313
  /* eslint-disable no-alert, no-console */
14863
14314
 
@@ -15016,93 +14467,10 @@ var Tooltip_component = normalizeComponent(
15016
14467
  )
15017
14468
 
15018
14469
  /* harmony default export */ var Tooltip = (Tooltip_component.exports);
15019
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b3db984-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectionsGroup.vue?vue&type=template&id=404813f2&scoped=true&
15020
- var SelectionsGroupvue_type_template_id_404813f2_scoped_true_render = function render() {
15021
- var _vm = this,
15022
- _c = _vm._self._c;
15023
- return _c('div', {
15024
- staticClass: "selections-container"
15025
- }, [_c('el-row', [_c('el-col', {
15026
- attrs: {
15027
- "span": 12
15028
- }
15029
- }, [_c('div', {
15030
- staticClass: "checkall-display-text"
15031
- }, [_vm._v(_vm._s(_vm.title))])]), _c('el-col', {
15032
- attrs: {
15033
- "span": 12
15034
- }
15035
- }, [_vm.selections && _vm.selections.length > 1 ? _c('el-checkbox', {
15036
- staticClass: "all-checkbox",
15037
- attrs: {
15038
- "indeterminate": _vm.isIndeterminate
15039
- },
15040
- on: {
15041
- "change": _vm.handleCheckAllChange
15042
- },
15043
- model: {
15044
- value: _vm.checkAll,
15045
- callback: function callback($$v) {
15046
- _vm.checkAll = $$v;
15047
- },
15048
- expression: "checkAll"
15049
- }
15050
- }, [_vm._v("Display all")]) : _vm._e()], 1)], 1), _c('el-checkbox-group', {
15051
- staticClass: "checkbox-group",
15052
- attrs: {
15053
- "size": "small"
15054
- },
15055
- on: {
15056
- "change": _vm.handleCheckedItemsChange
15057
- },
15058
- model: {
15059
- value: _vm.checkedItems,
15060
- callback: function callback($$v) {
15061
- _vm.checkedItems = $$v;
15062
- },
15063
- expression: "checkedItems"
15064
- }
15065
- }, [_c('div', {
15066
- staticClass: "checkbox-group-inner"
15067
- }, _vm._l(_vm.selections, function (item) {
15068
- return _c('el-row', {
15069
- key: item[_vm.identifierKey],
15070
- attrs: {
15071
- "label": item[_vm.identifierKey]
15072
- }
15073
- }, [_c('div', {
15074
- staticClass: "checkbox-container"
15075
- }, [_c('el-checkbox', {
15076
- staticClass: "my-checkbox",
15077
- attrs: {
15078
- "label": item[_vm.identifierKey],
15079
- "checked": !('enabled' in item) || item.enabled === true
15080
- },
15081
- on: {
15082
- "change": function change($event) {
15083
- return _vm.visibilityToggle(item[_vm.identifierKey], $event);
15084
- }
15085
- }
15086
- }, [_c('el-row', {
15087
- staticClass: "checkbox-row"
15088
- }, [_c('el-col', {
15089
- attrs: {
15090
- "span": 4
15091
- }
15092
- }, [_c('div', {
15093
- staticClass: "path-visual",
15094
- style: _vm.getLineStyles(item)
15095
- })]), _c('el-col', {
15096
- attrs: {
15097
- "span": 20
15098
- }
15099
- }, [_c('div', {
15100
- staticClass: "label-text",
15101
- style: _vm.getBackgroundStyles(item)
15102
- }, [_vm._v(" " + _vm._s(item[_vm.labelKey]) + " ")])])], 1)], 1)], 1)]);
15103
- }), 1)])], 1);
15104
- };
15105
- var SelectionsGroupvue_type_template_id_404813f2_scoped_true_staticRenderFns = [];
14470
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"82e3b2d4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectionsGroup.vue?vue&type=template&id=404813f2&scoped=true&
14471
+ var SelectionsGroupvue_type_template_id_404813f2_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"selections-container"},[_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('div',{staticClass:"checkall-display-text"},[_vm._v(_vm._s(_vm.title))])]),_c('el-col',{attrs:{"span":12}},[(_vm.selections && _vm.selections.length > 1)?_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")]):_vm._e()],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.selections),function(item){return _c('el-row',{key:item[_vm.identifierKey],attrs:{"label":item[_vm.identifierKey]}},[_c('div',{staticClass:"checkbox-container"},[_c('el-checkbox',{staticClass:"my-checkbox",attrs:{"label":item[_vm.identifierKey],"checked":!('enabled' in item) || (item.enabled === true)},on:{"change":function($event){return _vm.visibilityToggle(item[_vm.identifierKey], $event)}}},[_c('el-row',{staticClass:"checkbox-row"},[_c('el-col',{attrs:{"span":4}},[_c('div',{staticClass:"path-visual",style:(_vm.getLineStyles(item))})]),_c('el-col',{attrs:{"span":20}},[_c('div',{staticClass:"label-text",style:(_vm.getBackgroundStyles(item))},[_vm._v(" "+_vm._s(item[_vm.labelKey])+" ")])])],1)],1)],1)])}),1)])],1)}
14472
+ var SelectionsGroupvue_type_template_id_404813f2_scoped_true_staticRenderFns = []
14473
+
15106
14474
 
15107
14475
  // CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=404813f2&scoped=true&
15108
14476
 
@@ -15141,12 +14509,61 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
15141
14509
 
15142
14510
 
15143
14511
 
15144
- /* eslint-disable no-alert, no-console */
15145
-
15146
-
15147
-
15148
- locale_default.a.use(en_default.a);
15149
- external_vue_default.a.use(lib_checkbox_default.a);
14512
+ //
14513
+ //
14514
+ //
14515
+ //
14516
+ //
14517
+ //
14518
+ //
14519
+ //
14520
+ //
14521
+ //
14522
+ //
14523
+ //
14524
+ //
14525
+ //
14526
+ //
14527
+ //
14528
+ //
14529
+ //
14530
+ //
14531
+ //
14532
+ //
14533
+ //
14534
+ //
14535
+ //
14536
+ //
14537
+ //
14538
+ //
14539
+ //
14540
+ //
14541
+ //
14542
+ //
14543
+ //
14544
+ //
14545
+ //
14546
+ //
14547
+ //
14548
+ //
14549
+ //
14550
+ //
14551
+ //
14552
+ //
14553
+ //
14554
+ //
14555
+ //
14556
+ //
14557
+ //
14558
+ //
14559
+ //
14560
+
14561
+ /* eslint-disable no-alert, no-console */
14562
+
14563
+
14564
+
14565
+ locale_default.a.use(en_default.a);
14566
+ external_vue_default.a.use(lib_checkbox_default.a);
15150
14567
  external_vue_default.a.use(lib_checkbox_group_default.a);
15151
14568
  external_vue_default.a.use(lib_col_default.a);
15152
14569
  external_vue_default.a.use(lib_row_default.a);
@@ -15289,91 +14706,37 @@ var SelectionsGroup_component = normalizeComponent(
15289
14706
  // EXTERNAL MODULE: external "@abi-software/svg-sprite"
15290
14707
  var svg_sprite_ = __webpack_require__("429c");
15291
14708
 
15292
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b3db984-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
15293
- var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
15294
- var _vm = this,
15295
- _c = _vm._self._c;
15296
- return _c('div', {
15297
- staticClass: "legends-container"
15298
- }, [_c('svg', {
15299
- staticStyle: {
15300
- "enable-background": "new 0 0 500 500"
15301
- },
15302
- attrs: {
15303
- "version": "1.1",
15304
- "id": "Layer_1",
15305
- "x": "0px",
15306
- "y": "0px",
15307
- "viewBox": "0 0 500 500",
15308
- "xmlns": "http://www.w3.org/2000/svg",
15309
- "xmlns:bx": "https://boxy-svg.com"
15310
- }
15311
- }, [_c('defs', [_c('bx:grid', {
15312
- attrs: {
15313
- "height": "30.447",
15314
- "width": "32.516",
15315
- "x": "0",
15316
- "y": "0"
15317
- }
15318
- })], 1), _c('path', {
15319
- staticClass: "st0 st0-translate",
15320
- attrs: {
15321
- "d": "M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"
15322
- }
15323
- }), _c('path', {
15324
- staticClass: "st1",
15325
- attrs: {
15326
- "d": "M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"
15327
- }
15328
- }), _c('path', {
15329
- staticClass: "st2",
15330
- attrs: {
15331
- "d": "M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"
15332
- }
15333
- }), _c('text', {
15334
- staticClass: "st3 st4 st5",
15335
- staticStyle: {
15336
- "white-space": "pre"
15337
- },
15338
- attrs: {
15339
- "transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
15340
- }
15341
- }, [_vm._v("Tissue region")]), _c('path', {
15342
- staticClass: "st6",
15343
- attrs: {
15344
- "d": "M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"
15345
- }
15346
- }), _c('text', {
15347
- staticClass: "st3 st4 st5",
15348
- staticStyle: {
15349
- "white-space": "pre"
15350
- },
15351
- attrs: {
15352
- "transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
15353
- }
15354
- }, [_vm._v("Brain nuclei")]), _c('text', {
15355
- staticClass: "st3 st4 st5",
15356
- staticStyle: {
15357
- "white-space": "pre"
15358
- },
15359
- attrs: {
15360
- "transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
15361
- }
15362
- }, [_vm._v("Ganglia")]), _c('text', {
15363
- staticClass: "st3 st4 st5",
15364
- staticStyle: {
15365
- "white-space": "pre"
15366
- },
15367
- attrs: {
15368
- "transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
15369
- }
15370
- }, [_vm._v("Nerve plexus")])])]);
15371
- };
15372
- var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns = [];
14709
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"82e3b2d4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
14710
+ var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"legends-container"},[_c('svg',{staticStyle:{"enable-background":"new 0 0 500 500"},attrs:{"version":"1.1","id":"Layer_1","x":"0px","y":"0px","viewBox":"0 0 500 500","xmlns":"http://www.w3.org/2000/svg","xmlns:bx":"https://boxy-svg.com"}},[_c('defs',[_c('bx:grid',{attrs:{"height":"30.447","width":"32.516","x":"0","y":"0"}})],1),_c('path',{staticClass:"st0 st0-translate",attrs:{"d":"M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"}}),_c('path',{staticClass:"st1",attrs:{"d":"M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"}}),_c('path',{staticClass:"st2",attrs:{"d":"M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 171.7975)"}},[_vm._v("Tissue region")]),_c('path',{staticClass:"st6",attrs:{"d":"M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 257.675)"}},[_vm._v("Brain nuclei")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 345.5266)"}},[_vm._v("Ganglia")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 433.1613)"}},[_vm._v("Nerve plexus")])])])}
14711
+ var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns = []
14712
+
15373
14713
 
15374
14714
  // CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
15375
14715
 
15376
14716
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/SvgLegends.vue?vue&type=script&lang=js&
14717
+ //
14718
+ //
14719
+ //
14720
+ //
14721
+ //
14722
+ //
14723
+ //
14724
+ //
14725
+ //
14726
+ //
14727
+ //
14728
+ //
14729
+ //
14730
+ //
14731
+ //
14732
+ //
14733
+ //
14734
+ //
14735
+ //
14736
+ //
14737
+ //
14738
+ //
14739
+
15377
14740
  /* harmony default export */ var SvgLegendsvue_type_script_lang_js_ = ({
15378
14741
  name: 'SvgLegends'
15379
14742
  });
@@ -15697,13 +15060,16 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15697
15060
  resolve(false);
15698
15061
  });
15699
15062
  });
15700
- prom2 = this.pubmedQueryOnIds(eventData);
15701
- _context.next = 14;
15063
+ _context.next = 13;
15064
+ return this.pubmedQueryOnIds(eventData);
15065
+ case 13:
15066
+ prom2 = _context.sent;
15067
+ _context.next = 16;
15702
15068
  return Promise.all([prom1, prom2]);
15703
- case 14:
15704
- results = _context.sent;
15705
- return _context.abrupt("return", results.every(Boolean));
15706
15069
  case 16:
15070
+ results = _context.sent;
15071
+ return _context.abrupt("return", results);
15072
+ case 18:
15707
15073
  case "end":
15708
15074
  return _context.stop();
15709
15075
  }
@@ -15846,26 +15212,28 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15846
15212
  console.error('Error:', error);
15847
15213
  });
15848
15214
  };
15215
+ // Note that this functin WILL run to the end, as it doesn not catch the second level of promises
15849
15216
  this.pubmedQueryOnIds = function (eventData) {
15850
15217
  var _this7 = this;
15851
- var keastIds = eventData.resource;
15852
- var source = eventData.feature.source;
15853
- if (!keastIds || keastIds.length === 0) return;
15854
- var sql = this.buildPubmedSqlStatement(keastIds);
15855
- return this.flatmapQuery(sql).then(function (data) {
15856
- // Create pubmed url on paths if we have them
15857
- if (data.values.length > 0) {
15858
- _this7.urls = [_this7.pubmedSearchUrl(data.values.map(function (id) {
15859
- return _this7.stripPMIDPrefix(id[0]);
15860
- }))];
15861
- return true;
15862
- } else {
15863
- // Create pubmed url on models
15864
- _this7.pubmedQueryOnModels(source).then(function () {
15865
- return true;
15866
- });
15867
- }
15868
- return false;
15218
+ return new Promise(function (resolve) {
15219
+ var keastIds = eventData.resource;
15220
+ var source = eventData.feature.source;
15221
+ if (!keastIds || keastIds.length === 0) return;
15222
+ var sql = _this7.buildPubmedSqlStatement(keastIds);
15223
+ _this7.flatmapQuery(sql).then(function (data) {
15224
+ // Create pubmed url on paths if we have them
15225
+ if (data.values.length > 0) {
15226
+ _this7.urls = [_this7.pubmedSearchUrl(data.values.map(function (id) {
15227
+ return _this7.stripPMIDPrefix(id[0]);
15228
+ }))];
15229
+ resolve(true);
15230
+ } else {
15231
+ // Create pubmed url on models
15232
+ _this7.pubmedQueryOnModels(source).then(function (result) {
15233
+ resolve(result);
15234
+ });
15235
+ }
15236
+ });
15869
15237
  });
15870
15238
  };
15871
15239
  this.pubmedQueryOnModels = function (source) {
@@ -15875,11 +15243,12 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15875
15243
  _this8.urls = [_this8.pubmedSearchUrl(data.values.map(function (id) {
15876
15244
  return _this8.stripPMIDPrefix(id[0]);
15877
15245
  }))];
15246
+ return true;
15878
15247
  } else {
15879
15248
  _this8.urls = []; // Clears the pubmed search button
15880
15249
  }
15881
15250
 
15882
- return;
15251
+ return false;
15883
15252
  });
15884
15253
  };
15885
15254
  this.pubmedSearchUrl = function (ids) {
@@ -15919,6 +15288,317 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15919
15288
 
15920
15289
 
15921
15290
 
15291
+
15292
+ //
15293
+ //
15294
+ //
15295
+ //
15296
+ //
15297
+ //
15298
+ //
15299
+ //
15300
+ //
15301
+ //
15302
+ //
15303
+ //
15304
+ //
15305
+ //
15306
+ //
15307
+ //
15308
+ //
15309
+ //
15310
+ //
15311
+ //
15312
+ //
15313
+ //
15314
+ //
15315
+ //
15316
+ //
15317
+ //
15318
+ //
15319
+ //
15320
+ //
15321
+ //
15322
+ //
15323
+ //
15324
+ //
15325
+ //
15326
+ //
15327
+ //
15328
+ //
15329
+ //
15330
+ //
15331
+ //
15332
+ //
15333
+ //
15334
+ //
15335
+ //
15336
+ //
15337
+ //
15338
+ //
15339
+ //
15340
+ //
15341
+ //
15342
+ //
15343
+ //
15344
+ //
15345
+ //
15346
+ //
15347
+ //
15348
+ //
15349
+ //
15350
+ //
15351
+ //
15352
+ //
15353
+ //
15354
+ //
15355
+ //
15356
+ //
15357
+ //
15358
+ //
15359
+ //
15360
+ //
15361
+ //
15362
+ //
15363
+ //
15364
+ //
15365
+ //
15366
+ //
15367
+ //
15368
+ //
15369
+ //
15370
+ //
15371
+ //
15372
+ //
15373
+ //
15374
+ //
15375
+ //
15376
+ //
15377
+ //
15378
+ //
15379
+ //
15380
+ //
15381
+ //
15382
+ //
15383
+ //
15384
+ //
15385
+ //
15386
+ //
15387
+ //
15388
+ //
15389
+ //
15390
+ //
15391
+ //
15392
+ //
15393
+ //
15394
+ //
15395
+ //
15396
+ //
15397
+ //
15398
+ //
15399
+ //
15400
+ //
15401
+ //
15402
+ //
15403
+ //
15404
+ //
15405
+ //
15406
+ //
15407
+ //
15408
+ //
15409
+ //
15410
+ //
15411
+ //
15412
+ //
15413
+ //
15414
+ //
15415
+ //
15416
+ //
15417
+ //
15418
+ //
15419
+ //
15420
+ //
15421
+ //
15422
+ //
15423
+ //
15424
+ //
15425
+ //
15426
+ //
15427
+ //
15428
+ //
15429
+ //
15430
+ //
15431
+ //
15432
+ //
15433
+ //
15434
+ //
15435
+ //
15436
+ //
15437
+ //
15438
+ //
15439
+ //
15440
+ //
15441
+ //
15442
+ //
15443
+ //
15444
+ //
15445
+ //
15446
+ //
15447
+ //
15448
+ //
15449
+ //
15450
+ //
15451
+ //
15452
+ //
15453
+ //
15454
+ //
15455
+ //
15456
+ //
15457
+ //
15458
+ //
15459
+ //
15460
+ //
15461
+ //
15462
+ //
15463
+ //
15464
+ //
15465
+ //
15466
+ //
15467
+ //
15468
+ //
15469
+ //
15470
+ //
15471
+ //
15472
+ //
15473
+ //
15474
+ //
15475
+ //
15476
+ //
15477
+ //
15478
+ //
15479
+ //
15480
+ //
15481
+ //
15482
+ //
15483
+ //
15484
+ //
15485
+ //
15486
+ //
15487
+ //
15488
+ //
15489
+ //
15490
+ //
15491
+ //
15492
+ //
15493
+ //
15494
+ //
15495
+ //
15496
+ //
15497
+ //
15498
+ //
15499
+ //
15500
+ //
15501
+ //
15502
+ //
15503
+ //
15504
+ //
15505
+ //
15506
+ //
15507
+ //
15508
+ //
15509
+ //
15510
+ //
15511
+ //
15512
+ //
15513
+ //
15514
+ //
15515
+ //
15516
+ //
15517
+ //
15518
+ //
15519
+ //
15520
+ //
15521
+ //
15522
+ //
15523
+ //
15524
+ //
15525
+ //
15526
+ //
15527
+ //
15528
+ //
15529
+ //
15530
+ //
15531
+ //
15532
+ //
15533
+ //
15534
+ //
15535
+ //
15536
+ //
15537
+ //
15538
+ //
15539
+ //
15540
+ //
15541
+ //
15542
+ //
15543
+ //
15544
+ //
15545
+ //
15546
+ //
15547
+ //
15548
+ //
15549
+ //
15550
+ //
15551
+ //
15552
+ //
15553
+ //
15554
+ //
15555
+ //
15556
+ //
15557
+ //
15558
+ //
15559
+ //
15560
+ //
15561
+ //
15562
+ //
15563
+ //
15564
+ //
15565
+ //
15566
+ //
15567
+ //
15568
+ //
15569
+ //
15570
+ //
15571
+ //
15572
+ //
15573
+ //
15574
+ //
15575
+ //
15576
+ //
15577
+ //
15578
+ //
15579
+ //
15580
+ //
15581
+ //
15582
+ //
15583
+ //
15584
+ //
15585
+ //
15586
+ //
15587
+ //
15588
+ //
15589
+ //
15590
+ //
15591
+ //
15592
+ //
15593
+ //
15594
+ //
15595
+ //
15596
+ //
15597
+ //
15598
+ //
15599
+ //
15600
+ //
15601
+ //
15922
15602
 
15923
15603
  /* eslint-disable no-alert, no-console */
15924
15604
 
@@ -16156,12 +15836,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16156
15836
  return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
16157
15837
  case 2:
16158
15838
  results = _context.sent;
16159
- if (!results) {
16160
- if (data.feature.hyperlinks && data.feature.hyperlinks.length > 0) {
16161
- this.resourceForTooltip = data.resource[0];
16162
- this.createTooltipFromNeuronCuration(data);
16163
- }
16164
- } else {
15839
+ // The line below only creates the tooltip if some data was found on the path
15840
+ // result 0 is the connection, result 1 is the pubmed results from flatmap
15841
+ if (results[0] || results[1] || data.feature.hyperlinks && data.feature.hyperlinks.length > 0) {
16165
15842
  this.resourceForTooltip = data.resource[0];
16166
15843
  this.createTooltipFromNeuronCuration(data);
16167
15844
  }
@@ -16672,8 +16349,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16672
16349
  });
16673
16350
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
16674
16351
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
16675
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=69c17286&prod&scoped=true&lang=scss&
16676
- var FlatmapVuervue_type_style_index_0_id_69c17286_prod_scoped_true_lang_scss_ = __webpack_require__("7c2d");
16352
+ // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=37e16dd3&prod&scoped=true&lang=scss&
16353
+ var FlatmapVuervue_type_style_index_0_id_37e16dd3_prod_scoped_true_lang_scss_ = __webpack_require__("4e5b");
16677
16354
 
16678
16355
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
16679
16356
 
@@ -16690,126 +16367,16 @@ var FlatmapVuer_component = normalizeComponent(
16690
16367
  staticRenderFns,
16691
16368
  false,
16692
16369
  null,
16693
- "69c17286",
16370
+ "37e16dd3",
16694
16371
  null
16695
16372
 
16696
16373
  )
16697
16374
 
16698
16375
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
16699
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0b3db984-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0732c3a0&scoped=true&
16700
- var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function render() {
16701
- var _vm = this,
16702
- _c = _vm._self._c;
16703
- return _c('div', {
16704
- ref: "multiContainer",
16705
- staticClass: "multi-container"
16706
- }, [_c('div', {
16707
- staticStyle: {
16708
- "position": "absolute",
16709
- "z-index": "10"
16710
- }
16711
- }, [_c('div', {
16712
- staticClass: "species-display-text"
16713
- }, [_vm._v(" Species ")]), _c('el-popover', {
16714
- ref: "selectPopover",
16715
- attrs: {
16716
- "content": "Select a species",
16717
- "placement": "right",
16718
- "appendToBody": false,
16719
- "trigger": "manual",
16720
- "popper-class": "flatmap-popper right-popper"
16721
- },
16722
- model: {
16723
- value: _vm.helpMode,
16724
- callback: function callback($$v) {
16725
- _vm.helpMode = $$v;
16726
- },
16727
- expression: "helpMode"
16728
- }
16729
- }), _c('el-select', {
16730
- directives: [{
16731
- name: "popover",
16732
- rawName: "v-popover:selectPopover",
16733
- arg: "selectPopover"
16734
- }],
16735
- staticClass: "select-box",
16736
- attrs: {
16737
- "id": "flatmap-select",
16738
- "popper-append-to-body": _vm.appendToBody,
16739
- "placeholder": "Select",
16740
- "popper-class": "flatmap_dropdown"
16741
- },
16742
- on: {
16743
- "change": _vm.setSpecies
16744
- },
16745
- model: {
16746
- value: _vm.activeSpecies,
16747
- callback: function callback($$v) {
16748
- _vm.activeSpecies = $$v;
16749
- },
16750
- expression: "activeSpecies"
16751
- }
16752
- }, _vm._l(_vm.speciesList, function (item, key) {
16753
- return _c('el-option', {
16754
- key: key,
16755
- attrs: {
16756
- "label": key,
16757
- "value": key
16758
- }
16759
- }, [_c('el-row', [_c('el-col', {
16760
- attrs: {
16761
- "span": 8
16762
- }
16763
- }, [_c('i', {
16764
- class: item.iconClass
16765
- })]), _c('el-col', {
16766
- attrs: {
16767
- "span": 12
16768
- }
16769
- }, [_vm._v(_vm._s(key))])], 1)], 1);
16770
- }), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
16771
- return _c('FlatmapVuer', {
16772
- directives: [{
16773
- name: "show",
16774
- rawName: "v-show",
16775
- value: _vm.activeSpecies == key,
16776
- expression: "activeSpecies==key"
16777
- }],
16778
- key: key,
16779
- ref: key,
16780
- refInFor: true,
16781
- staticStyle: {
16782
- "height": "100%"
16783
- },
16784
- attrs: {
16785
- "showLayer": _vm.showLayer,
16786
- "entry": item.taxo,
16787
- "biologicalSex": item.biologicalSex,
16788
- "displayWarning": item.displayWarning,
16789
- "displayLatestChanges": item.displayLatestChanges,
16790
- "latestChangesMessage": item.latestChangesMessage,
16791
- "isLegacy": item.isLegacy,
16792
- "featureInfo": _vm.featureInfo,
16793
- "minZoom": _vm.minZoom,
16794
- "pathControls": _vm.pathControls,
16795
- "searchable": _vm.searchable,
16796
- "layerControl": _vm.layerControl,
16797
- "helpMode": _vm.helpMode,
16798
- "renderAtMounted": _vm.renderAtMounted,
16799
- "displayMinimap": _vm.displayMinimap,
16800
- "flatmapAPI": _vm.flatmapAPI,
16801
- "sparcAPI": _vm.sparcAPI
16802
- },
16803
- on: {
16804
- "view-latest-map": _vm.viewLatestMap,
16805
- "resource-selected": _vm.FlatmapSelected,
16806
- "ready": _vm.FlatmapReady,
16807
- "pan-zoom-callback": _vm.panZoomCallback
16808
- }
16809
- });
16810
- })], 2);
16811
- };
16812
- var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_staticRenderFns = [];
16376
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"82e3b2d4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0732c3a0&scoped=true&
16377
+ var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"multiContainer",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.setSpecies},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,"biologicalSex":item.biologicalSex,"displayWarning":item.displayWarning,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"isLegacy":item.isLegacy,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"layerControl":_vm.layerControl,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI,"sparcAPI":_vm.sparcAPI},on:{"view-latest-map":_vm.viewLatestMap,"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
16378
+ var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_staticRenderFns = []
16379
+
16813
16380
 
16814
16381
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0732c3a0&scoped=true&
16815
16382
 
@@ -16859,6 +16426,66 @@ var es_object_keys_js_ = __webpack_require__("ea64");
16859
16426
 
16860
16427
 
16861
16428
 
16429
+
16430
+ //
16431
+ //
16432
+ //
16433
+ //
16434
+ //
16435
+ //
16436
+ //
16437
+ //
16438
+ //
16439
+ //
16440
+ //
16441
+ //
16442
+ //
16443
+ //
16444
+ //
16445
+ //
16446
+ //
16447
+ //
16448
+ //
16449
+ //
16450
+ //
16451
+ //
16452
+ //
16453
+ //
16454
+ //
16455
+ //
16456
+ //
16457
+ //
16458
+ //
16459
+ //
16460
+ //
16461
+ //
16462
+ //
16463
+ //
16464
+ //
16465
+ //
16466
+ //
16467
+ //
16468
+ //
16469
+ //
16470
+ //
16471
+ //
16472
+ //
16473
+ //
16474
+ //
16475
+ //
16476
+ //
16477
+ //
16478
+ //
16479
+ //
16480
+ //
16481
+ //
16482
+ //
16483
+ //
16484
+ //
16485
+ //
16486
+ //
16487
+ //
16488
+ //
16862
16489
 
16863
16490
  /* eslint-disable no-alert, no-console */
16864
16491