@abi-software/flatmapvuer 0.4.6 → 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.
@@ -103,6 +103,13 @@ return /******/ (function(modules) { // webpackBootstrap
103
103
 
104
104
  /***/ }),
105
105
 
106
+ /***/ "0f13":
107
+ /***/ (function(module, exports, __webpack_require__) {
108
+
109
+ // extracted by mini-css-extract-plugin
110
+
111
+ /***/ }),
112
+
106
113
  /***/ "0f6c":
107
114
  /***/ (function(module, exports) {
108
115
 
@@ -763,13 +770,6 @@ module.exports = require("core-js/modules/es.string.search.js");
763
770
 
764
771
  /***/ }),
765
772
 
766
- /***/ "222e":
767
- /***/ (function(module, exports, __webpack_require__) {
768
-
769
- // extracted by mini-css-extract-plugin
770
-
771
- /***/ }),
772
-
773
773
  /***/ "2439":
774
774
  /***/ (function(module, exports) {
775
775
 
@@ -896,6 +896,17 @@ exports.default = {
896
896
  }
897
897
  };
898
898
 
899
+ /***/ }),
900
+
901
+ /***/ "2e89":
902
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
903
+
904
+ "use strict";
905
+ /* 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_Tooltip_vue_vue_type_style_index_0_id_63935114_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0f13");
906
+ /* 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_Tooltip_vue_vue_type_style_index_0_id_63935114_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_Tooltip_vue_vue_type_style_index_0_id_63935114_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
907
+ /* unused harmony reexport * */
908
+
909
+
899
910
  /***/ }),
900
911
 
901
912
  /***/ "2ff9":
@@ -3896,6 +3907,17 @@ src_select.install = function (Vue) {
3896
3907
 
3897
3908
  /******/ });
3898
3909
 
3910
+ /***/ }),
3911
+
3912
+ /***/ "4e5b":
3913
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3914
+
3915
+ "use strict";
3916
+ /* 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");
3917
+ /* 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__);
3918
+ /* unused harmony reexport * */
3919
+
3920
+
3899
3921
  /***/ }),
3900
3922
 
3901
3923
  /***/ "5054":
@@ -5682,6 +5704,13 @@ module.exports = require("core-js/modules/es.string.replace.js");
5682
5704
 
5683
5705
  /***/ }),
5684
5706
 
5707
+ /***/ "67db":
5708
+ /***/ (function(module, exports, __webpack_require__) {
5709
+
5710
+ // extracted by mini-css-extract-plugin
5711
+
5712
+ /***/ }),
5713
+
5685
5714
  /***/ "6ac5":
5686
5715
  /***/ (function(module, exports, __webpack_require__) {
5687
5716
 
@@ -6752,13 +6781,6 @@ module.exports = require("throttle-debounce/debounce");
6752
6781
 
6753
6782
  /***/ }),
6754
6783
 
6755
- /***/ "77b8":
6756
- /***/ (function(module, exports, __webpack_require__) {
6757
-
6758
- // extracted by mini-css-extract-plugin
6759
-
6760
- /***/ }),
6761
-
6762
6784
  /***/ "7949":
6763
6785
  /***/ (function(module, exports) {
6764
6786
 
@@ -8665,28 +8687,6 @@ tag.install = function (Vue) {
8665
8687
 
8666
8688
  module.exports = require("vue");
8667
8689
 
8668
- /***/ }),
8669
-
8670
- /***/ "93b4":
8671
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8672
-
8673
- "use strict";
8674
- /* 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_Tooltip_vue_vue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("222e");
8675
- /* 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_Tooltip_vue_vue_type_style_index_0_id_4ffcf7c8_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_Tooltip_vue_vue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
8676
- /* unused harmony reexport * */
8677
-
8678
-
8679
- /***/ }),
8680
-
8681
- /***/ "9566":
8682
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8683
-
8684
- "use strict";
8685
- /* 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_08f35f66_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("77b8");
8686
- /* 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_08f35f66_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_08f35f66_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
8687
- /* unused harmony reexport * */
8688
-
8689
-
8690
8690
  /***/ }),
8691
8691
 
8692
8692
  /***/ "97d3":
@@ -13378,507 +13378,12 @@ if (typeof window !== 'undefined') {
13378
13378
  // Indicate to webpack that this file can be concatenated
13379
13379
  /* harmony default export */ var setPublicPath = (null);
13380
13380
 
13381
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-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=08f35f66&scoped=true&
13382
- var render = function render() {
13383
- var _vm = this,
13384
- _c = _vm._self._c;
13385
- return _c('div', {
13386
- directives: [{
13387
- name: "loading",
13388
- rawName: "v-loading",
13389
- value: _vm.loading,
13390
- expression: "loading"
13391
- }],
13392
- ref: "flatmapContainer",
13393
- staticClass: "flatmap-container",
13394
- attrs: {
13395
- "element-loading-text": "Loading...",
13396
- "element-loading-spinner": "el-icon-loading",
13397
- "element-loading-background": "rgba(0, 0, 0, 0.3)"
13398
- }
13399
- }, [_c('map-svg-sprite-color'), _c('div', {
13400
- staticStyle: {
13401
- "height": "100%",
13402
- "width": "100%",
13403
- "position": "relative",
13404
- "overflow-y": "none"
13405
- }
13406
- }, [_c('div', {
13407
- ref: "display",
13408
- staticStyle: {
13409
- "height": "100%",
13410
- "width": "100%"
13411
- }
13412
- }), _c('div', {
13413
- staticClass: "beta-popovers"
13414
- }, [_c('div', [_c('el-popover', {
13415
- ref: "warningPopover",
13416
- attrs: {
13417
- "placement": "right",
13418
- "appendToBody": false,
13419
- "trigger": "manual",
13420
- "popper-class": "warning-popper flatmap-popper right-popper"
13421
- },
13422
- model: {
13423
- value: _vm.hoverVisibilities[6].value,
13424
- callback: function callback($$v) {
13425
- _vm.$set(_vm.hoverVisibilities[6], "value", $$v);
13426
- },
13427
- expression: "hoverVisibilities[6].value"
13428
- }
13429
- }, [_vm.isLegacy ? _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 is a legacy map, you may view the latest map instead. ")]) : _vm.isFC ? _c('p', {
13439
- on: {
13440
- "mouseover": function mouseover($event) {
13441
- return _vm.showToolitip(6);
13442
- },
13443
- "mouseout": function mouseout($event) {
13444
- return _vm.hideToolitip(6);
13445
- }
13446
- }
13447
- }, [_vm._v(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "), _c('a', {
13448
- attrs: {
13449
- "href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
13450
- "target": "_blank"
13451
- }
13452
- }, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
13453
- attrs: {
13454
- "href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
13455
- "target": "_blank"
13456
- }
13457
- }, [_vm._v(" SCKAN ")]), _vm._v(". ")]) : _c('p', {
13458
- on: {
13459
- "mouseover": function mouseover($event) {
13460
- return _vm.showToolitip(6);
13461
- },
13462
- "mouseout": function mouseout($event) {
13463
- return _vm.hideToolitip(6);
13464
- }
13465
- }
13466
- }, [_vm._v(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "), _c('a', {
13467
- attrs: {
13468
- "href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
13469
- "target": "_blank"
13470
- }
13471
- }, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
13472
- attrs: {
13473
- "href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
13474
- "target": "_blank"
13475
- }
13476
- }, [_vm._v(" SCKAN ")]), _vm._v(". New connectivity and species specificity will be added as the SPARC program progresses. ")])]), _vm.displayWarning ? _c('i', {
13477
- directives: [{
13478
- name: "popover",
13479
- rawName: "v-popover:warningPopover",
13480
- arg: "warningPopover"
13481
- }],
13482
- staticClass: "el-icon-warning warning-icon",
13483
- on: {
13484
- "mouseover": function mouseover($event) {
13485
- return _vm.showToolitip(6);
13486
- },
13487
- "mouseout": function mouseout($event) {
13488
- return _vm.hideToolitip(6);
13489
- }
13490
- }
13491
- }, [_vm.isLegacy ? [_c('span', {
13492
- staticClass: "warning-text"
13493
- }, [_vm._v("Legacy Map")]), _c('div', {
13494
- staticClass: "latest-map-text",
13495
- on: {
13496
- "click": _vm.viewLatestMap
13497
- }
13498
- }, [_vm._v("Click here for the latest map")])] : [_c('span', {
13499
- staticClass: "warning-text"
13500
- }, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
13501
- ref: "latestChangesPopover",
13502
- attrs: {
13503
- "content": _vm.latestChangesMessage,
13504
- "placement": "right",
13505
- "appendToBody": false,
13506
- "trigger": "manual",
13507
- "popper-class": "warning-popper flatmap-popper right-popper"
13508
- },
13509
- model: {
13510
- value: _vm.hoverVisibilities[7].value,
13511
- callback: function callback($$v) {
13512
- _vm.$set(_vm.hoverVisibilities[7], "value", $$v);
13513
- },
13514
- expression: "hoverVisibilities[7].value"
13515
- }
13516
- }) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
13517
- directives: [{
13518
- name: "popover",
13519
- rawName: "v-popover:latestChangesPopover",
13520
- arg: "latestChangesPopover"
13521
- }],
13522
- staticClass: "el-icon-warning latest-changesicon",
13523
- on: {
13524
- "mouseover": function mouseover($event) {
13525
- return _vm.showToolitip(7);
13526
- },
13527
- "mouseout": function mouseout($event) {
13528
- return _vm.hideToolitip(7);
13529
- }
13530
- }
13531
- }, [_c('span', {
13532
- staticClass: "warning-text"
13533
- }, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('i', {
13534
- directives: [{
13535
- name: "show",
13536
- rawName: "v-show",
13537
- value: _vm.minimapResizeShow,
13538
- expression: "minimapResizeShow"
13539
- }],
13540
- ref: "minimapResize",
13541
- staticClass: "el-icon-arrow-down minimap-resize",
13542
- class: {
13543
- enlarge: _vm.minimapSmall,
13544
- shrink: !_vm.minimapSmall
13545
- },
13546
- on: {
13547
- "click": _vm.closeMinimap
13548
- }
13549
- }), _c('div', {
13550
- staticClass: "bottom-right-control"
13551
- }, [_c('el-popover', {
13552
- attrs: {
13553
- "content": "Zoom in",
13554
- "placement": "left",
13555
- "appendToBody": false,
13556
- "trigger": "manual",
13557
- "popper-class": "flatmap-popper left-popper"
13558
- },
13559
- model: {
13560
- value: _vm.hoverVisibilities[0].value,
13561
- callback: function callback($$v) {
13562
- _vm.$set(_vm.hoverVisibilities[0], "value", $$v);
13563
- },
13564
- expression: "hoverVisibilities[0].value"
13565
- }
13566
- }, [_c('map-svg-icon', {
13567
- staticClass: "icon-button zoomIn",
13568
- attrs: {
13569
- "slot": "reference",
13570
- "icon": "zoomIn"
13571
- },
13572
- nativeOn: {
13573
- "click": function click($event) {
13574
- return _vm.zoomIn();
13575
- },
13576
- "mouseover": function mouseover($event) {
13577
- return _vm.showToolitip(0);
13578
- },
13579
- "mouseout": function mouseout($event) {
13580
- return _vm.hideToolitip(0);
13581
- }
13582
- },
13583
- slot: "reference"
13584
- })], 1), _c('el-popover', {
13585
- attrs: {
13586
- "content": "Zoom out",
13587
- "placement": "top-end",
13588
- "appendToBody": false,
13589
- "trigger": "manual",
13590
- "popper-class": "flatmap-popper popper-zoomout"
13591
- },
13592
- model: {
13593
- value: _vm.hoverVisibilities[1].value,
13594
- callback: function callback($$v) {
13595
- _vm.$set(_vm.hoverVisibilities[1], "value", $$v);
13596
- },
13597
- expression: "hoverVisibilities[1].value"
13598
- }
13599
- }, [_c('map-svg-icon', {
13600
- staticClass: "icon-button zoomOut",
13601
- attrs: {
13602
- "slot": "reference",
13603
- "icon": "zoomOut"
13604
- },
13605
- nativeOn: {
13606
- "click": function click($event) {
13607
- return _vm.zoomOut();
13608
- },
13609
- "mouseover": function mouseover($event) {
13610
- return _vm.showToolitip(1);
13611
- },
13612
- "mouseout": function mouseout($event) {
13613
- return _vm.hideToolitip(1);
13614
- }
13615
- },
13616
- slot: "reference"
13617
- })], 1), _c('el-popover', {
13618
- attrs: {
13619
- "content": "Reset",
13620
- "placement": "top",
13621
- "appendToBody": false,
13622
- "trigger": "manual",
13623
- "popper-class": "flatmap-popper"
13624
- },
13625
- model: {
13626
- value: _vm.hoverVisibilities[2].value,
13627
- callback: function callback($$v) {
13628
- _vm.$set(_vm.hoverVisibilities[2], "value", $$v);
13629
- },
13630
- expression: "hoverVisibilities[2].value"
13631
- }
13632
- }, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
13633
- staticClass: "icon-button fitWindow",
13634
- attrs: {
13635
- "slot": "reference",
13636
- "icon": "fitWindow"
13637
- },
13638
- nativeOn: {
13639
- "click": function click($event) {
13640
- return _vm.resetView();
13641
- },
13642
- "mouseover": function mouseover($event) {
13643
- return _vm.showToolitip(2);
13644
- },
13645
- "mouseout": function mouseout($event) {
13646
- return _vm.hideToolitip(2);
13647
- }
13648
- },
13649
- slot: "reference"
13650
- })], 1)], 1), _c('el-popover', {
13651
- ref: "checkBoxPopover",
13652
- attrs: {
13653
- "content": "Change pathway visibility",
13654
- "placement": "right",
13655
- "appendToBody": false,
13656
- "trigger": "manual",
13657
- "popper-class": "flatmap-popper right-popper"
13658
- },
13659
- model: {
13660
- value: _vm.hoverVisibilities[4].value,
13661
- callback: function callback($$v) {
13662
- _vm.$set(_vm.hoverVisibilities[4], "value", $$v);
13663
- },
13664
- expression: "hoverVisibilities[4].value"
13665
- }
13666
- }), _c('div', {
13667
- staticClass: "pathway-location",
13668
- class: {
13669
- open: _vm.drawerOpen,
13670
- close: !_vm.drawerOpen
13671
- }
13672
- }, [_vm.pathControls ? _c('div', {
13673
- directives: [{
13674
- name: "popover",
13675
- rawName: "v-popover:checkBoxPopover",
13676
- arg: "checkBoxPopover"
13677
- }],
13678
- staticClass: "pathway-container",
13679
- style: {
13680
- 'max-height': _vm.pathwaysMaxHeight + 'px'
13681
- }
13682
- }, [!_vm.isFC ? _c('svg-legends', {
13683
- staticClass: "svg-legends-container"
13684
- }) : _vm._e(), _c('el-popover', {
13685
- ref: "markerPopover",
13686
- attrs: {
13687
- "content": "Find these markers for data",
13688
- "placement": "right",
13689
- "appendToBody": false,
13690
- "trigger": "manual",
13691
- "popper-class": "flatmap-popper popper-bump-right right-popper"
13692
- },
13693
- model: {
13694
- value: _vm.hoverVisibilities[5].value,
13695
- callback: function callback($$v) {
13696
- _vm.$set(_vm.hoverVisibilities[5], "value", $$v);
13697
- },
13698
- expression: "hoverVisibilities[5].value"
13699
- }
13700
- }), _c('div', {
13701
- directives: [{
13702
- name: "show",
13703
- rawName: "v-show",
13704
- value: _vm.hoverVisibilities[5].value,
13705
- expression: "hoverVisibilities[5].value"
13706
- }, {
13707
- name: "popover",
13708
- rawName: "v-popover:markerPopover",
13709
- arg: "markerPopover"
13710
- }],
13711
- staticClass: "flatmap-marker-help",
13712
- domProps: {
13713
- "innerHTML": _vm._s(_vm.flatmapMarker)
13714
- }
13715
- }), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('selections-group', {
13716
- key: "systemsSelection",
13717
- ref: "systemsSelection",
13718
- attrs: {
13719
- "title": "Systems",
13720
- "labelKey": "name",
13721
- "identifierKey": "id",
13722
- "selections": _vm.systems,
13723
- "colourStyle": "background"
13724
- },
13725
- on: {
13726
- "changed": _vm.systemSelected,
13727
- "checkAll": _vm.checkAllSystems
13728
- }
13729
- }) : _vm._e(), _vm.pathways && _vm.pathways.length > 0 ? _c('selections-group', {
13730
- key: "pathwaysSelection",
13731
- ref: "pathwaysSelection",
13732
- attrs: {
13733
- "title": "Pathways",
13734
- "labelKey": "label",
13735
- "identifierKey": "type",
13736
- "colourStyle": "line",
13737
- "selections": _vm.pathways
13738
- },
13739
- on: {
13740
- "changed": _vm.pathwaysSelected,
13741
- "checkAll": _vm.checkAllPathways
13742
- }
13743
- }) : _vm._e()], 1) : _vm._e(), _c('div', {
13744
- staticClass: "drawer-button",
13745
- class: {
13746
- open: _vm.drawerOpen,
13747
- close: !_vm.drawerOpen
13748
- },
13749
- on: {
13750
- "click": _vm.toggleDrawer
13751
- }
13752
- }, [_c('i', {
13753
- staticClass: "el-icon-arrow-left"
13754
- })])]), _c('el-popover', {
13755
- ref: "backgroundPopover",
13756
- attrs: {
13757
- "placement": "top-start",
13758
- "width": "175",
13759
- "appendToBody": false,
13760
- "trigger": "click",
13761
- "popper-class": "background-popper"
13762
- }
13763
- }, [_c('el-row', {
13764
- staticClass: "backgroundText"
13765
- }, [_vm._v("Organs display")]), _c('el-row', {
13766
- staticClass: "backgroundControl"
13767
- }, [_c('el-radio-group', {
13768
- staticClass: "flatmap-radio",
13769
- on: {
13770
- "change": _vm.setColour
13771
- },
13772
- model: {
13773
- value: _vm.colourRadio,
13774
- callback: function callback($$v) {
13775
- _vm.colourRadio = $$v;
13776
- },
13777
- expression: "colourRadio"
13778
- }
13779
- }, [_c('el-radio', {
13780
- attrs: {
13781
- "label": true
13782
- }
13783
- }, [_vm._v("Colour")]), _c('el-radio', {
13784
- attrs: {
13785
- "label": false
13786
- }
13787
- }, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
13788
- staticClass: "backgroundSpacer"
13789
- }), _c('el-row', {
13790
- staticClass: "backgroundText"
13791
- }, [_vm._v("Outlines display")]), _c('el-row', {
13792
- staticClass: "backgroundControl"
13793
- }, [_c('el-radio-group', {
13794
- staticClass: "flatmap-radio",
13795
- on: {
13796
- "change": _vm.setOutlines
13797
- },
13798
- model: {
13799
- value: _vm.outlinesRadio,
13800
- callback: function callback($$v) {
13801
- _vm.outlinesRadio = $$v;
13802
- },
13803
- expression: "outlinesRadio"
13804
- }
13805
- }, [_c('el-radio', {
13806
- attrs: {
13807
- "label": true
13808
- }
13809
- }, [_vm._v("Show")]), _c('el-radio', {
13810
- attrs: {
13811
- "label": false
13812
- }
13813
- }, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
13814
- staticClass: "backgroundSpacer"
13815
- }), _c('el-row', {
13816
- staticClass: "backgroundText"
13817
- }, [_vm._v("Change background")]), _c('el-row', {
13818
- staticClass: "backgroundControl"
13819
- }, _vm._l(_vm.availableBackground, function (item) {
13820
- return _c('div', {
13821
- key: item,
13822
- class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
13823
- on: {
13824
- "click": function click($event) {
13825
- return _vm.backgroundChangeCallback(item);
13826
- }
13827
- }
13828
- });
13829
- }), 0)], 1), _c('el-popover', {
13830
- attrs: {
13831
- "content": "Change settings",
13832
- "placement": "right",
13833
- "appendToBody": false,
13834
- "trigger": "manual",
13835
- "popper-class": "flatmap-popper right-popper"
13836
- },
13837
- model: {
13838
- value: _vm.hoverVisibilities[3].value,
13839
- callback: function callback($$v) {
13840
- _vm.$set(_vm.hoverVisibilities[3], "value", $$v);
13841
- },
13842
- expression: "hoverVisibilities[3].value"
13843
- }
13844
- }, [_c('map-svg-icon', {
13845
- directives: [{
13846
- name: "popover",
13847
- rawName: "v-popover:backgroundPopover",
13848
- arg: "backgroundPopover"
13849
- }],
13850
- staticClass: "icon-button background-colour",
13851
- class: {
13852
- open: _vm.drawerOpen,
13853
- close: !_vm.drawerOpen
13854
- },
13855
- attrs: {
13856
- "slot": "reference",
13857
- "icon": "changeBckgd"
13858
- },
13859
- nativeOn: {
13860
- "mouseover": function mouseover($event) {
13861
- return _vm.showToolitip(3);
13862
- },
13863
- "mouseout": function mouseout($event) {
13864
- return _vm.hideToolitip(3);
13865
- }
13866
- },
13867
- slot: "reference"
13868
- })], 1), _c('Tooltip', {
13869
- ref: "tooltip",
13870
- staticClass: "tooltip",
13871
- attrs: {
13872
- "entry": _vm.tooltipEntry
13873
- },
13874
- on: {
13875
- "resource-selected": _vm.resourceSelected
13876
- }
13877
- })], 1)], 1);
13878
- };
13879
- var staticRenderFns = [];
13381
+ // 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&
13382
+ 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)}
13383
+ var staticRenderFns = []
13880
13384
 
13881
- // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=08f35f66&scoped=true&
13385
+
13386
+ // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=37e16dd3&scoped=true&
13882
13387
 
13883
13388
  // EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
13884
13389
  var es_symbol_js_ = __webpack_require__("9b22");
@@ -14468,139 +13973,12 @@ var es_number_constructor_js_ = __webpack_require__("f989");
14468
13973
  var external_vue_ = __webpack_require__("8bbf");
14469
13974
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
14470
13975
 
14471
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-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=4ffcf7c8&scoped=true&
14472
- var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
14473
- var _vm = this,
14474
- _c = _vm._self._c;
14475
- return _c('div', {
14476
- staticClass: "tooltip-container"
14477
- }, [_vm.entry ? _c('el-main', {
14478
- directives: [{
14479
- name: "loading",
14480
- rawName: "v-loading",
14481
- value: _vm.loading,
14482
- expression: "loading"
14483
- }],
14484
- staticClass: "main"
14485
- }, [_vm.entry.title ? _c('div', {
14486
- staticClass: "block"
14487
- }, [_c('span', {
14488
- staticClass: "title"
14489
- }, [_vm._v(_vm._s(_vm.capitalise(_vm.entry.title)))])]) : _c('div', {
14490
- staticClass: "block"
14491
- }, [_c('span', {
14492
- staticClass: "title"
14493
- }, [_vm._v(_vm._s(_vm.entry.featureId))])]), _c('div', {
14494
- staticClass: "content-container scrollbar"
14495
- }, [_vm._v(" " + _vm._s(_vm.entry.paths) + " "), _vm.entry.origins && _vm.entry.origins.length > 0 ? _c('div', {
14496
- staticClass: "block"
14497
- }, [_c('div', [_c('span', {
14498
- staticClass: "attribute-title"
14499
- }, [_vm._v("Origin")]), _c('el-popover', {
14500
- attrs: {
14501
- "width": "250",
14502
- "trigger": "hover",
14503
- "append-to-body": false,
14504
- "popper-class": "popover-origin-help"
14505
- }
14506
- }, [_c('i', {
14507
- staticClass: "el-icon-warning-outline info",
14508
- attrs: {
14509
- "slot": "reference"
14510
- },
14511
- slot: "reference"
14512
- }), _c('span', {
14513
- staticStyle: {
14514
- "word-break": "keep-all"
14515
- }
14516
- }, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.entry.origins, function (origin, i) {
14517
- return _c('div', {
14518
- key: origin,
14519
- staticClass: "attribute-content"
14520
- }, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.entry.origins.length - 1 ? _c('div', {
14521
- staticClass: "seperator"
14522
- }) : _vm._e()]);
14523
- }), _c('el-button', {
14524
- directives: [{
14525
- name: "show",
14526
- rawName: "v-show",
14527
- value: _vm.entry.originsWithDatasets && _vm.entry.originsWithDatasets.length > 0,
14528
- expression: "entry.originsWithDatasets && entry.originsWithDatasets.length > 0"
14529
- }],
14530
- staticClass: "button",
14531
- on: {
14532
- "click": _vm.openDendrites
14533
- }
14534
- }, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.entry.components && _vm.entry.components.length > 0 ? _c('div', {
14535
- staticClass: "block"
14536
- }, [_c('div', {
14537
- staticClass: "attribute-title"
14538
- }, [_vm._v("Components")]), _vm._l(_vm.entry.components, function (component, i) {
14539
- return _c('div', {
14540
- key: component,
14541
- staticClass: "attribute-content"
14542
- }, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.entry.components.length - 1 ? _c('div', {
14543
- staticClass: "seperator"
14544
- }) : _vm._e()]);
14545
- })], 2) : _vm._e(), _vm.entry.destinations && _vm.entry.destinations.length > 0 ? _c('div', {
14546
- staticClass: "block"
14547
- }, [_c('div', [_c('span', {
14548
- staticClass: "attribute-title"
14549
- }, [_vm._v("Destination")]), _c('el-popover', {
14550
- attrs: {
14551
- "width": "250",
14552
- "trigger": "hover",
14553
- "append-to-body": false,
14554
- "popper-class": "popover-origin-help"
14555
- }
14556
- }, [_c('i', {
14557
- staticClass: "el-icon-warning-outline info",
14558
- attrs: {
14559
- "slot": "reference"
14560
- },
14561
- slot: "reference"
14562
- }), _c('span', {
14563
- staticStyle: {
14564
- "word-break": "keep-all"
14565
- }
14566
- }, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.entry.destinations, function (destination, i) {
14567
- return _c('div', {
14568
- key: destination,
14569
- staticClass: "attribute-content"
14570
- }, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.entry.destinations.length - 1 ? _c('div', {
14571
- staticClass: "seperator"
14572
- }) : _vm._e()]);
14573
- }), _c('el-button', {
14574
- directives: [{
14575
- name: "show",
14576
- rawName: "v-show",
14577
- value: _vm.entry.destinationsWithDatasets && _vm.entry.destinationsWithDatasets.length > 0,
14578
- expression: "entry.destinationsWithDatasets && entry.destinationsWithDatasets.length > 0"
14579
- }],
14580
- staticClass: "button",
14581
- on: {
14582
- "click": _vm.openAxons
14583
- }
14584
- }, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
14585
- directives: [{
14586
- name: "show",
14587
- rawName: "v-show",
14588
- value: _vm.entry.componentsWithDatasets && _vm.entry.componentsWithDatasets.length > 0,
14589
- expression: "entry.componentsWithDatasets && entry.componentsWithDatasets.length > 0"
14590
- }],
14591
- staticClass: "button",
14592
- on: {
14593
- "click": _vm.openAll
14594
- }
14595
- }, [_vm._v(" Search for data on components ")]), _c('external-resource-card', {
14596
- attrs: {
14597
- "resources": _vm.resources
14598
- }
14599
- })], 1)]) : _vm._e()], 1);
14600
- };
14601
- var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns = [];
13976
+ // 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&
13977
+ 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)}
13978
+ var Tooltipvue_type_template_id_63935114_scoped_true_staticRenderFns = []
14602
13979
 
14603
- // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4ffcf7c8&scoped=true&
13980
+
13981
+ // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=63935114&scoped=true&
14604
13982
 
14605
13983
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
14606
13984
  var main = __webpack_require__("de31");
@@ -14661,30 +14039,10 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
14661
14039
 
14662
14040
  var EventBus = new external_vue_default.a();
14663
14041
  /* harmony default export */ var components_EventBus = (EventBus);
14664
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-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&
14665
- var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
14666
- var _vm = this,
14667
- _c = _vm._self._c;
14668
- return _c('div', {
14669
- staticClass: "resource-container"
14670
- }, [_vm._l(_vm.resources, function (resource) {
14671
- return [_c('div', {
14672
- key: resource.id,
14673
- staticClass: "resource"
14674
- }, [resource.id === 'pubmed' ? _c('el-button', {
14675
- staticClass: "button",
14676
- attrs: {
14677
- "icon": "el-icon-notebook-2"
14678
- },
14679
- on: {
14680
- "click": function click($event) {
14681
- return _vm.openUrl(resource.url);
14682
- }
14683
- }
14684
- }, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)];
14685
- })], 2);
14686
- };
14687
- var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = [];
14042
+ // 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&
14043
+ 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)}
14044
+ var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = []
14045
+
14688
14046
 
14689
14047
  // CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
14690
14048
 
@@ -14693,6 +14051,21 @@ var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFn
14693
14051
 
14694
14052
 
14695
14053
 
14054
+ //
14055
+ //
14056
+ //
14057
+ //
14058
+ //
14059
+ //
14060
+ //
14061
+ //
14062
+ //
14063
+ //
14064
+ //
14065
+ //
14066
+ //
14067
+ //
14068
+
14696
14069
  /* eslint-disable no-alert, no-console */
14697
14070
 
14698
14071
  external_vue_default.a.use(lib_button_default.a);
@@ -14868,75 +14241,153 @@ var component = normalizeComponent(
14868
14241
 
14869
14242
 
14870
14243
 
14871
- /* eslint-disable no-alert, no-console */
14872
-
14873
-
14874
-
14875
- locale_default.a.use(en_default.a);
14876
- external_vue_default.a.use(lib_button_default.a);
14877
- external_vue_default.a.use(lib_container_default.a);
14878
- external_vue_default.a.use(lib_header_default.a);
14879
- external_vue_default.a.use(lib_icon_default.a);
14880
- external_vue_default.a.use(lib_main_default.a);
14881
-
14882
-
14883
- var _titleCase = function titleCase(str) {
14884
- return str.replace(/\w\S*/g, function (t) {
14885
- return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
14886
- });
14887
- };
14888
- var _capitalise = function capitalise(str) {
14889
- if (str) return str.charAt(0).toUpperCase() + str.slice(1);
14890
- return "";
14891
- };
14892
- /* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
14893
- components: {
14894
- ExternalResourceCard: ExternalResourceCard
14895
- },
14896
- name: "Tooltip",
14897
- props: {
14898
- visible: {
14899
- type: Boolean,
14900
- default: false
14901
- },
14902
- entry: {
14903
- type: Object,
14904
- default: function _default() {
14905
- return {
14906
- destinations: [],
14907
- origins: [],
14908
- components: [],
14909
- destinationsWithDatasets: [],
14910
- originsWithDatasets: [],
14911
- componentsWithDatasets: [],
14912
- resource: undefined
14913
- };
14914
- }
14915
- }
14916
- },
14917
- data: function data() {
14918
- return {
14919
- controller: undefined,
14920
- activeSpecies: undefined,
14921
- appendToBody: false,
14922
- pubmedSearchUrl: '',
14923
- loading: false,
14924
- showToolip: false,
14925
- destinations: [],
14926
- origins: [],
14927
- components: [],
14928
- destinationsWithDatasets: [],
14929
- originsWithDatasets: [],
14930
- originDescriptions: {
14931
- 'motor': 'is the location of the initial cell body of the circuit',
14932
- 'sensory': 'is the location of the initial cell body in the PNS circuit'
14933
- },
14934
- componentsWithDatasets: [],
14935
- uberons: [{
14936
- id: undefined,
14937
- name: undefined
14938
- }]
14939
- };
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
+ //
14312
+ //
14313
+ //
14314
+ //
14315
+ //
14316
+ //
14317
+ //
14318
+ //
14319
+ //
14320
+ //
14321
+
14322
+ /* eslint-disable no-alert, no-console */
14323
+
14324
+
14325
+
14326
+ locale_default.a.use(en_default.a);
14327
+ external_vue_default.a.use(lib_button_default.a);
14328
+ external_vue_default.a.use(lib_container_default.a);
14329
+ external_vue_default.a.use(lib_header_default.a);
14330
+ external_vue_default.a.use(lib_icon_default.a);
14331
+ external_vue_default.a.use(lib_main_default.a);
14332
+
14333
+
14334
+ var _titleCase = function titleCase(str) {
14335
+ return str.replace(/\w\S*/g, function (t) {
14336
+ return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
14337
+ });
14338
+ };
14339
+ var _capitalise = function capitalise(str) {
14340
+ if (str) return str.charAt(0).toUpperCase() + str.slice(1);
14341
+ return "";
14342
+ };
14343
+ /* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
14344
+ components: {
14345
+ ExternalResourceCard: ExternalResourceCard
14346
+ },
14347
+ name: "Tooltip",
14348
+ props: {
14349
+ visible: {
14350
+ type: Boolean,
14351
+ default: false
14352
+ },
14353
+ entry: {
14354
+ type: Object,
14355
+ default: function _default() {
14356
+ return {
14357
+ destinations: [],
14358
+ origins: [],
14359
+ components: [],
14360
+ destinationsWithDatasets: [],
14361
+ originsWithDatasets: [],
14362
+ componentsWithDatasets: [],
14363
+ resource: undefined
14364
+ };
14365
+ }
14366
+ }
14367
+ },
14368
+ data: function data() {
14369
+ return {
14370
+ controller: undefined,
14371
+ activeSpecies: undefined,
14372
+ appendToBody: false,
14373
+ pubmedSearchUrl: '',
14374
+ loading: false,
14375
+ showToolip: false,
14376
+ destinations: [],
14377
+ origins: [],
14378
+ components: [],
14379
+ destinationsWithDatasets: [],
14380
+ originsWithDatasets: [],
14381
+ originDescriptions: {
14382
+ 'motor': 'is the location of the initial cell body of the circuit',
14383
+ 'sensory': 'is the location of the initial cell body in the PNS circuit'
14384
+ },
14385
+ componentsWithDatasets: [],
14386
+ uberons: [{
14387
+ id: undefined,
14388
+ name: undefined
14389
+ }]
14390
+ };
14940
14391
  },
14941
14392
  computed: {
14942
14393
  resources: function resources() {
@@ -15001,8 +14452,8 @@ var _capitalise = function capitalise(str) {
15001
14452
  });
15002
14453
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
15003
14454
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
15004
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4ffcf7c8&prod&scoped=true&lang=scss&
15005
- var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __webpack_require__("93b4");
14455
+ // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=63935114&prod&scoped=true&lang=scss&
14456
+ var Tooltipvue_type_style_index_0_id_63935114_prod_scoped_true_lang_scss_ = __webpack_require__("2e89");
15006
14457
 
15007
14458
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
15008
14459
 
@@ -15015,103 +14466,20 @@ var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __we
15015
14466
 
15016
14467
  var Tooltip_component = normalizeComponent(
15017
14468
  components_Tooltipvue_type_script_lang_js_,
15018
- Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render,
15019
- Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns,
14469
+ Tooltipvue_type_template_id_63935114_scoped_true_render,
14470
+ Tooltipvue_type_template_id_63935114_scoped_true_staticRenderFns,
15020
14471
  false,
15021
14472
  null,
15022
- "4ffcf7c8",
14473
+ "63935114",
15023
14474
  null
15024
14475
 
15025
14476
  )
15026
14477
 
15027
14478
  /* harmony default export */ var Tooltip = (Tooltip_component.exports);
15028
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-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&
15029
- var SelectionsGroupvue_type_template_id_404813f2_scoped_true_render = function render() {
15030
- var _vm = this,
15031
- _c = _vm._self._c;
15032
- return _c('div', {
15033
- staticClass: "selections-container"
15034
- }, [_c('el-row', [_c('el-col', {
15035
- attrs: {
15036
- "span": 12
15037
- }
15038
- }, [_c('div', {
15039
- staticClass: "checkall-display-text"
15040
- }, [_vm._v(_vm._s(_vm.title))])]), _c('el-col', {
15041
- attrs: {
15042
- "span": 12
15043
- }
15044
- }, [_vm.selections && _vm.selections.length > 1 ? _c('el-checkbox', {
15045
- staticClass: "all-checkbox",
15046
- attrs: {
15047
- "indeterminate": _vm.isIndeterminate
15048
- },
15049
- on: {
15050
- "change": _vm.handleCheckAllChange
15051
- },
15052
- model: {
15053
- value: _vm.checkAll,
15054
- callback: function callback($$v) {
15055
- _vm.checkAll = $$v;
15056
- },
15057
- expression: "checkAll"
15058
- }
15059
- }, [_vm._v("Display all")]) : _vm._e()], 1)], 1), _c('el-checkbox-group', {
15060
- staticClass: "checkbox-group",
15061
- attrs: {
15062
- "size": "small"
15063
- },
15064
- on: {
15065
- "change": _vm.handleCheckedItemsChange
15066
- },
15067
- model: {
15068
- value: _vm.checkedItems,
15069
- callback: function callback($$v) {
15070
- _vm.checkedItems = $$v;
15071
- },
15072
- expression: "checkedItems"
15073
- }
15074
- }, [_c('div', {
15075
- staticClass: "checkbox-group-inner"
15076
- }, _vm._l(_vm.selections, function (item) {
15077
- return _c('el-row', {
15078
- key: item[_vm.identifierKey],
15079
- attrs: {
15080
- "label": item[_vm.identifierKey]
15081
- }
15082
- }, [_c('div', {
15083
- staticClass: "checkbox-container"
15084
- }, [_c('el-checkbox', {
15085
- staticClass: "my-checkbox",
15086
- attrs: {
15087
- "label": item[_vm.identifierKey],
15088
- "checked": !('enabled' in item) || item.enabled === true
15089
- },
15090
- on: {
15091
- "change": function change($event) {
15092
- return _vm.visibilityToggle(item[_vm.identifierKey], $event);
15093
- }
15094
- }
15095
- }, [_c('el-row', {
15096
- staticClass: "checkbox-row"
15097
- }, [_c('el-col', {
15098
- attrs: {
15099
- "span": 4
15100
- }
15101
- }, [_c('div', {
15102
- staticClass: "path-visual",
15103
- style: _vm.getLineStyles(item)
15104
- })]), _c('el-col', {
15105
- attrs: {
15106
- "span": 20
15107
- }
15108
- }, [_c('div', {
15109
- staticClass: "label-text",
15110
- style: _vm.getBackgroundStyles(item)
15111
- }, [_vm._v(" " + _vm._s(item[_vm.labelKey]) + " ")])])], 1)], 1)], 1)]);
15112
- }), 1)])], 1);
15113
- };
15114
- var SelectionsGroupvue_type_template_id_404813f2_scoped_true_staticRenderFns = [];
14479
+ // 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&
14480
+ 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)}
14481
+ var SelectionsGroupvue_type_template_id_404813f2_scoped_true_staticRenderFns = []
14482
+
15115
14483
 
15116
14484
  // CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=404813f2&scoped=true&
15117
14485
 
@@ -15150,6 +14518,55 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
15150
14518
 
15151
14519
 
15152
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
+ //
14562
+ //
14563
+ //
14564
+ //
14565
+ //
14566
+ //
14567
+ //
14568
+ //
14569
+
15153
14570
  /* eslint-disable no-alert, no-console */
15154
14571
 
15155
14572
 
@@ -15298,91 +14715,37 @@ var SelectionsGroup_component = normalizeComponent(
15298
14715
  // EXTERNAL MODULE: external "@abi-software/svg-sprite"
15299
14716
  var svg_sprite_ = __webpack_require__("429c");
15300
14717
 
15301
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-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&
15302
- var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
15303
- var _vm = this,
15304
- _c = _vm._self._c;
15305
- return _c('div', {
15306
- staticClass: "legends-container"
15307
- }, [_c('svg', {
15308
- staticStyle: {
15309
- "enable-background": "new 0 0 500 500"
15310
- },
15311
- attrs: {
15312
- "version": "1.1",
15313
- "id": "Layer_1",
15314
- "x": "0px",
15315
- "y": "0px",
15316
- "viewBox": "0 0 500 500",
15317
- "xmlns": "http://www.w3.org/2000/svg",
15318
- "xmlns:bx": "https://boxy-svg.com"
15319
- }
15320
- }, [_c('defs', [_c('bx:grid', {
15321
- attrs: {
15322
- "height": "30.447",
15323
- "width": "32.516",
15324
- "x": "0",
15325
- "y": "0"
15326
- }
15327
- })], 1), _c('path', {
15328
- staticClass: "st0 st0-translate",
15329
- attrs: {
15330
- "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"
15331
- }
15332
- }), _c('path', {
15333
- staticClass: "st1",
15334
- attrs: {
15335
- "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"
15336
- }
15337
- }), _c('path', {
15338
- staticClass: "st2",
15339
- attrs: {
15340
- "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"
15341
- }
15342
- }), _c('text', {
15343
- staticClass: "st3 st4 st5",
15344
- staticStyle: {
15345
- "white-space": "pre"
15346
- },
15347
- attrs: {
15348
- "transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
15349
- }
15350
- }, [_vm._v("Tissue region")]), _c('path', {
15351
- staticClass: "st6",
15352
- attrs: {
15353
- "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"
15354
- }
15355
- }), _c('text', {
15356
- staticClass: "st3 st4 st5",
15357
- staticStyle: {
15358
- "white-space": "pre"
15359
- },
15360
- attrs: {
15361
- "transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
15362
- }
15363
- }, [_vm._v("Brain nuclei")]), _c('text', {
15364
- staticClass: "st3 st4 st5",
15365
- staticStyle: {
15366
- "white-space": "pre"
15367
- },
15368
- attrs: {
15369
- "transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
15370
- }
15371
- }, [_vm._v("Ganglia")]), _c('text', {
15372
- staticClass: "st3 st4 st5",
15373
- staticStyle: {
15374
- "white-space": "pre"
15375
- },
15376
- attrs: {
15377
- "transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
15378
- }
15379
- }, [_vm._v("Nerve plexus")])])]);
15380
- };
15381
- var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns = [];
14718
+ // 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&
14719
+ 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")])])])}
14720
+ var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns = []
14721
+
15382
14722
 
15383
14723
  // CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
15384
14724
 
15385
14725
  // 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&
14726
+ //
14727
+ //
14728
+ //
14729
+ //
14730
+ //
14731
+ //
14732
+ //
14733
+ //
14734
+ //
14735
+ //
14736
+ //
14737
+ //
14738
+ //
14739
+ //
14740
+ //
14741
+ //
14742
+ //
14743
+ //
14744
+ //
14745
+ //
14746
+ //
14747
+ //
14748
+
15386
14749
  /* harmony default export */ var SvgLegendsvue_type_script_lang_js_ = ({
15387
14750
  name: 'SvgLegends'
15388
14751
  });
@@ -15706,13 +15069,16 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15706
15069
  resolve(false);
15707
15070
  });
15708
15071
  });
15709
- prom2 = this.pubmedQueryOnIds(eventData);
15710
- _context.next = 14;
15072
+ _context.next = 13;
15073
+ return this.pubmedQueryOnIds(eventData);
15074
+ case 13:
15075
+ prom2 = _context.sent;
15076
+ _context.next = 16;
15711
15077
  return Promise.all([prom1, prom2]);
15712
- case 14:
15713
- results = _context.sent;
15714
- return _context.abrupt("return", results.every(Boolean));
15715
15078
  case 16:
15079
+ results = _context.sent;
15080
+ return _context.abrupt("return", results);
15081
+ case 18:
15716
15082
  case "end":
15717
15083
  return _context.stop();
15718
15084
  }
@@ -15855,26 +15221,28 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15855
15221
  console.error('Error:', error);
15856
15222
  });
15857
15223
  };
15224
+ // Note that this functin WILL run to the end, as it doesn not catch the second level of promises
15858
15225
  this.pubmedQueryOnIds = function (eventData) {
15859
15226
  var _this7 = this;
15860
- var keastIds = eventData.resource;
15861
- var source = eventData.feature.source;
15862
- if (!keastIds || keastIds.length === 0) return;
15863
- var sql = this.buildPubmedSqlStatement(keastIds);
15864
- return this.flatmapQuery(sql).then(function (data) {
15865
- // Create pubmed url on paths if we have them
15866
- if (data.values.length > 0) {
15867
- _this7.urls = [_this7.pubmedSearchUrl(data.values.map(function (id) {
15868
- return _this7.stripPMIDPrefix(id[0]);
15869
- }))];
15870
- return true;
15871
- } else {
15872
- // Create pubmed url on models
15873
- _this7.pubmedQueryOnModels(source).then(function () {
15874
- return true;
15875
- });
15876
- }
15877
- return false;
15227
+ return new Promise(function (resolve) {
15228
+ var keastIds = eventData.resource;
15229
+ var source = eventData.feature.source;
15230
+ if (!keastIds || keastIds.length === 0) return;
15231
+ var sql = _this7.buildPubmedSqlStatement(keastIds);
15232
+ _this7.flatmapQuery(sql).then(function (data) {
15233
+ // Create pubmed url on paths if we have them
15234
+ if (data.values.length > 0) {
15235
+ _this7.urls = [_this7.pubmedSearchUrl(data.values.map(function (id) {
15236
+ return _this7.stripPMIDPrefix(id[0]);
15237
+ }))];
15238
+ resolve(true);
15239
+ } else {
15240
+ // Create pubmed url on models
15241
+ _this7.pubmedQueryOnModels(source).then(function (result) {
15242
+ resolve(result);
15243
+ });
15244
+ }
15245
+ });
15878
15246
  });
15879
15247
  };
15880
15248
  this.pubmedQueryOnModels = function (source) {
@@ -15884,11 +15252,12 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15884
15252
  _this8.urls = [_this8.pubmedSearchUrl(data.values.map(function (id) {
15885
15253
  return _this8.stripPMIDPrefix(id[0]);
15886
15254
  }))];
15255
+ return true;
15887
15256
  } else {
15888
15257
  _this8.urls = []; // Clears the pubmed search button
15889
15258
  }
15890
15259
 
15891
- return;
15260
+ return false;
15892
15261
  });
15893
15262
  };
15894
15263
  this.pubmedSearchUrl = function (ids) {
@@ -15928,6 +15297,317 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
15928
15297
 
15929
15298
 
15930
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
+ //
15602
+ //
15603
+ //
15604
+ //
15605
+ //
15606
+ //
15607
+ //
15608
+ //
15609
+ //
15610
+ //
15931
15611
 
15932
15612
  /* eslint-disable no-alert, no-console */
15933
15613
 
@@ -16165,12 +15845,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16165
15845
  return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
16166
15846
  case 2:
16167
15847
  results = _context.sent;
16168
- if (!results) {
16169
- if (data.feature.hyperlinks && data.feature.hyperlinks.length > 0) {
16170
- this.resourceForTooltip = data.resource[0];
16171
- this.createTooltipFromNeuronCuration(data);
16172
- }
16173
- } else {
15848
+ // The line below only creates the tooltip if some data was found on the path
15849
+ // result 0 is the connection, result 1 is the pubmed results from flatmap
15850
+ if (results[0] || results[1] || data.feature.hyperlinks && data.feature.hyperlinks.length > 0) {
16174
15851
  this.resourceForTooltip = data.resource[0];
16175
15852
  this.createTooltipFromNeuronCuration(data);
16176
15853
  }
@@ -16190,9 +15867,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16190
15867
  // Below is a hack to remove flatmap tooltips while popup is open
16191
15868
  var ftooltip = document.querySelector(".flatmap-tooltip-popup");
16192
15869
  if (ftooltip) ftooltip.style.display = "none";
16193
- document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
15870
+ document.querySelector(".maplibregl-popup-close-button").style.display = "block";
16194
15871
  this.$refs.tooltip.$el.style.display = "flex";
16195
- document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
15872
+ document.querySelector(".maplibregl-popup-close-button").onclick = function () {
16196
15873
  document.querySelector(".flatmap-tooltip-popup").style.display = "block";
16197
15874
  };
16198
15875
  },
@@ -16294,7 +15971,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16294
15971
  }
16295
15972
  },
16296
15973
  closeFlatmapHelpPopup: function closeFlatmapHelpPopup() {
16297
- this.$el.querySelectorAll(".mapboxgl-popup-close-button").forEach(function (item) {
15974
+ this.$el.querySelectorAll(".maplibregl-popup-close-button").forEach(function (item) {
16298
15975
  item.click();
16299
15976
  });
16300
15977
  },
@@ -16490,7 +16167,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16490
16167
  if (searchResults && searchResults.results && searchResults.results.length > 0) {
16491
16168
  this.mapImp.showSearchResults(searchResults);
16492
16169
  if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
16493
- this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
16170
+ var annotation = this.mapImp.annotation(searchResults.results[0].featureId);
16171
+ this.mapImp.showPopup(searchResults.results[0].featureId, annotation.label, {
16494
16172
  className: "custom-popup",
16495
16173
  positionAtLastClick: false,
16496
16174
  preserveSelection: true
@@ -16680,8 +16358,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16680
16358
  });
16681
16359
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
16682
16360
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
16683
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=08f35f66&prod&scoped=true&lang=scss&
16684
- var FlatmapVuervue_type_style_index_0_id_08f35f66_prod_scoped_true_lang_scss_ = __webpack_require__("9566");
16361
+ // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=37e16dd3&prod&scoped=true&lang=scss&
16362
+ var FlatmapVuervue_type_style_index_0_id_37e16dd3_prod_scoped_true_lang_scss_ = __webpack_require__("4e5b");
16685
16363
 
16686
16364
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
16687
16365
 
@@ -16698,126 +16376,16 @@ var FlatmapVuer_component = normalizeComponent(
16698
16376
  staticRenderFns,
16699
16377
  false,
16700
16378
  null,
16701
- "08f35f66",
16379
+ "37e16dd3",
16702
16380
  null
16703
16381
 
16704
16382
  )
16705
16383
 
16706
16384
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
16707
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-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&
16708
- var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function render() {
16709
- var _vm = this,
16710
- _c = _vm._self._c;
16711
- return _c('div', {
16712
- ref: "multiContainer",
16713
- staticClass: "multi-container"
16714
- }, [_c('div', {
16715
- staticStyle: {
16716
- "position": "absolute",
16717
- "z-index": "10"
16718
- }
16719
- }, [_c('div', {
16720
- staticClass: "species-display-text"
16721
- }, [_vm._v(" Species ")]), _c('el-popover', {
16722
- ref: "selectPopover",
16723
- attrs: {
16724
- "content": "Select a species",
16725
- "placement": "right",
16726
- "appendToBody": false,
16727
- "trigger": "manual",
16728
- "popper-class": "flatmap-popper right-popper"
16729
- },
16730
- model: {
16731
- value: _vm.helpMode,
16732
- callback: function callback($$v) {
16733
- _vm.helpMode = $$v;
16734
- },
16735
- expression: "helpMode"
16736
- }
16737
- }), _c('el-select', {
16738
- directives: [{
16739
- name: "popover",
16740
- rawName: "v-popover:selectPopover",
16741
- arg: "selectPopover"
16742
- }],
16743
- staticClass: "select-box",
16744
- attrs: {
16745
- "id": "flatmap-select",
16746
- "popper-append-to-body": _vm.appendToBody,
16747
- "placeholder": "Select",
16748
- "popper-class": "flatmap_dropdown"
16749
- },
16750
- on: {
16751
- "change": _vm.setSpecies
16752
- },
16753
- model: {
16754
- value: _vm.activeSpecies,
16755
- callback: function callback($$v) {
16756
- _vm.activeSpecies = $$v;
16757
- },
16758
- expression: "activeSpecies"
16759
- }
16760
- }, _vm._l(_vm.speciesList, function (item, key) {
16761
- return _c('el-option', {
16762
- key: key,
16763
- attrs: {
16764
- "label": key,
16765
- "value": key
16766
- }
16767
- }, [_c('el-row', [_c('el-col', {
16768
- attrs: {
16769
- "span": 8
16770
- }
16771
- }, [_c('i', {
16772
- class: item.iconClass
16773
- })]), _c('el-col', {
16774
- attrs: {
16775
- "span": 12
16776
- }
16777
- }, [_vm._v(_vm._s(key))])], 1)], 1);
16778
- }), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
16779
- return _c('FlatmapVuer', {
16780
- directives: [{
16781
- name: "show",
16782
- rawName: "v-show",
16783
- value: _vm.activeSpecies == key,
16784
- expression: "activeSpecies==key"
16785
- }],
16786
- key: key,
16787
- ref: key,
16788
- refInFor: true,
16789
- staticStyle: {
16790
- "height": "100%"
16791
- },
16792
- attrs: {
16793
- "showLayer": _vm.showLayer,
16794
- "entry": item.taxo,
16795
- "biologicalSex": item.biologicalSex,
16796
- "displayWarning": item.displayWarning,
16797
- "displayLatestChanges": item.displayLatestChanges,
16798
- "latestChangesMessage": item.latestChangesMessage,
16799
- "isLegacy": item.isLegacy,
16800
- "featureInfo": _vm.featureInfo,
16801
- "minZoom": _vm.minZoom,
16802
- "pathControls": _vm.pathControls,
16803
- "searchable": _vm.searchable,
16804
- "layerControl": _vm.layerControl,
16805
- "helpMode": _vm.helpMode,
16806
- "renderAtMounted": _vm.renderAtMounted,
16807
- "displayMinimap": _vm.displayMinimap,
16808
- "flatmapAPI": _vm.flatmapAPI,
16809
- "sparcAPI": _vm.sparcAPI
16810
- },
16811
- on: {
16812
- "view-latest-map": _vm.viewLatestMap,
16813
- "resource-selected": _vm.FlatmapSelected,
16814
- "ready": _vm.FlatmapReady,
16815
- "pan-zoom-callback": _vm.panZoomCallback
16816
- }
16817
- });
16818
- })], 2);
16819
- };
16820
- var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_staticRenderFns = [];
16385
+ // 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&
16386
+ 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)}
16387
+ var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_staticRenderFns = []
16388
+
16821
16389
 
16822
16390
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0732c3a0&scoped=true&
16823
16391
 
@@ -16867,6 +16435,66 @@ var es_object_keys_js_ = __webpack_require__("ea64");
16867
16435
 
16868
16436
 
16869
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
+ //
16489
+ //
16490
+ //
16491
+ //
16492
+ //
16493
+ //
16494
+ //
16495
+ //
16496
+ //
16497
+ //
16870
16498
 
16871
16499
  /* eslint-disable no-alert, no-console */
16872
16500