@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.
@@ -94,6 +94,13 @@ module.exports =
94
94
 
95
95
  /***/ }),
96
96
 
97
+ /***/ "0f13":
98
+ /***/ (function(module, exports, __webpack_require__) {
99
+
100
+ // extracted by mini-css-extract-plugin
101
+
102
+ /***/ }),
103
+
97
104
  /***/ "0f6c":
98
105
  /***/ (function(module, exports) {
99
106
 
@@ -754,13 +761,6 @@ module.exports = require("core-js/modules/es.string.search.js");
754
761
 
755
762
  /***/ }),
756
763
 
757
- /***/ "222e":
758
- /***/ (function(module, exports, __webpack_require__) {
759
-
760
- // extracted by mini-css-extract-plugin
761
-
762
- /***/ }),
763
-
764
764
  /***/ "2439":
765
765
  /***/ (function(module, exports) {
766
766
 
@@ -887,6 +887,17 @@ exports.default = {
887
887
  }
888
888
  };
889
889
 
890
+ /***/ }),
891
+
892
+ /***/ "2e89":
893
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
894
+
895
+ "use strict";
896
+ /* 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");
897
+ /* 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__);
898
+ /* unused harmony reexport * */
899
+
900
+
890
901
  /***/ }),
891
902
 
892
903
  /***/ "2ff9":
@@ -3887,6 +3898,17 @@ src_select.install = function (Vue) {
3887
3898
 
3888
3899
  /******/ });
3889
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
+
3890
3912
  /***/ }),
3891
3913
 
3892
3914
  /***/ "5054":
@@ -5673,6 +5695,13 @@ module.exports = require("core-js/modules/es.string.replace.js");
5673
5695
 
5674
5696
  /***/ }),
5675
5697
 
5698
+ /***/ "67db":
5699
+ /***/ (function(module, exports, __webpack_require__) {
5700
+
5701
+ // extracted by mini-css-extract-plugin
5702
+
5703
+ /***/ }),
5704
+
5676
5705
  /***/ "6ac5":
5677
5706
  /***/ (function(module, exports, __webpack_require__) {
5678
5707
 
@@ -6743,13 +6772,6 @@ module.exports = require("throttle-debounce/debounce");
6743
6772
 
6744
6773
  /***/ }),
6745
6774
 
6746
- /***/ "77b8":
6747
- /***/ (function(module, exports, __webpack_require__) {
6748
-
6749
- // extracted by mini-css-extract-plugin
6750
-
6751
- /***/ }),
6752
-
6753
6775
  /***/ "7949":
6754
6776
  /***/ (function(module, exports) {
6755
6777
 
@@ -8656,28 +8678,6 @@ tag.install = function (Vue) {
8656
8678
 
8657
8679
  module.exports = require("vue");
8658
8680
 
8659
- /***/ }),
8660
-
8661
- /***/ "93b4":
8662
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8663
-
8664
- "use strict";
8665
- /* 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");
8666
- /* 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__);
8667
- /* unused harmony reexport * */
8668
-
8669
-
8670
- /***/ }),
8671
-
8672
- /***/ "9566":
8673
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8674
-
8675
- "use strict";
8676
- /* 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");
8677
- /* 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__);
8678
- /* unused harmony reexport * */
8679
-
8680
-
8681
8681
  /***/ }),
8682
8682
 
8683
8683
  /***/ "97d3":
@@ -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":"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&
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=08f35f66&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,139 +13964,12 @@ 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":"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&
14463
- var Tooltipvue_type_template_id_4ffcf7c8_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_4ffcf7c8_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 = []
14593
13970
 
14594
- // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4ffcf7c8&scoped=true&
13971
+
13972
+ // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=63935114&scoped=true&
14595
13973
 
14596
13974
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
14597
13975
  var main = __webpack_require__("de31");
@@ -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":"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&
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);
@@ -14859,75 +14232,153 @@ var component = normalizeComponent(
14859
14232
 
14860
14233
 
14861
14234
 
14862
- /* eslint-disable no-alert, no-console */
14863
-
14864
-
14865
-
14866
- locale_default.a.use(en_default.a);
14867
- external_vue_default.a.use(lib_button_default.a);
14868
- external_vue_default.a.use(lib_container_default.a);
14869
- external_vue_default.a.use(lib_header_default.a);
14870
- external_vue_default.a.use(lib_icon_default.a);
14871
- external_vue_default.a.use(lib_main_default.a);
14872
-
14873
-
14874
- var _titleCase = function titleCase(str) {
14875
- return str.replace(/\w\S*/g, function (t) {
14876
- return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
14877
- });
14878
- };
14879
- var _capitalise = function capitalise(str) {
14880
- if (str) return str.charAt(0).toUpperCase() + str.slice(1);
14881
- return "";
14882
- };
14883
- /* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
14884
- components: {
14885
- ExternalResourceCard: ExternalResourceCard
14886
- },
14887
- name: "Tooltip",
14888
- props: {
14889
- visible: {
14890
- type: Boolean,
14891
- default: false
14892
- },
14893
- entry: {
14894
- type: Object,
14895
- default: function _default() {
14896
- return {
14897
- destinations: [],
14898
- origins: [],
14899
- components: [],
14900
- destinationsWithDatasets: [],
14901
- originsWithDatasets: [],
14902
- componentsWithDatasets: [],
14903
- resource: undefined
14904
- };
14905
- }
14906
- }
14907
- },
14908
- data: function data() {
14909
- return {
14910
- controller: undefined,
14911
- activeSpecies: undefined,
14912
- appendToBody: false,
14913
- pubmedSearchUrl: '',
14914
- loading: false,
14915
- showToolip: false,
14916
- destinations: [],
14917
- origins: [],
14918
- components: [],
14919
- destinationsWithDatasets: [],
14920
- originsWithDatasets: [],
14921
- originDescriptions: {
14922
- 'motor': 'is the location of the initial cell body of the circuit',
14923
- 'sensory': 'is the location of the initial cell body in the PNS circuit'
14924
- },
14925
- componentsWithDatasets: [],
14926
- uberons: [{
14927
- id: undefined,
14928
- name: undefined
14929
- }]
14930
- };
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
+ //
14312
+
14313
+ /* eslint-disable no-alert, no-console */
14314
+
14315
+
14316
+
14317
+ locale_default.a.use(en_default.a);
14318
+ external_vue_default.a.use(lib_button_default.a);
14319
+ external_vue_default.a.use(lib_container_default.a);
14320
+ external_vue_default.a.use(lib_header_default.a);
14321
+ external_vue_default.a.use(lib_icon_default.a);
14322
+ external_vue_default.a.use(lib_main_default.a);
14323
+
14324
+
14325
+ var _titleCase = function titleCase(str) {
14326
+ return str.replace(/\w\S*/g, function (t) {
14327
+ return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
14328
+ });
14329
+ };
14330
+ var _capitalise = function capitalise(str) {
14331
+ if (str) return str.charAt(0).toUpperCase() + str.slice(1);
14332
+ return "";
14333
+ };
14334
+ /* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
14335
+ components: {
14336
+ ExternalResourceCard: ExternalResourceCard
14337
+ },
14338
+ name: "Tooltip",
14339
+ props: {
14340
+ visible: {
14341
+ type: Boolean,
14342
+ default: false
14343
+ },
14344
+ entry: {
14345
+ type: Object,
14346
+ default: function _default() {
14347
+ return {
14348
+ destinations: [],
14349
+ origins: [],
14350
+ components: [],
14351
+ destinationsWithDatasets: [],
14352
+ originsWithDatasets: [],
14353
+ componentsWithDatasets: [],
14354
+ resource: undefined
14355
+ };
14356
+ }
14357
+ }
14358
+ },
14359
+ data: function data() {
14360
+ return {
14361
+ controller: undefined,
14362
+ activeSpecies: undefined,
14363
+ appendToBody: false,
14364
+ pubmedSearchUrl: '',
14365
+ loading: false,
14366
+ showToolip: false,
14367
+ destinations: [],
14368
+ origins: [],
14369
+ components: [],
14370
+ destinationsWithDatasets: [],
14371
+ originsWithDatasets: [],
14372
+ originDescriptions: {
14373
+ 'motor': 'is the location of the initial cell body of the circuit',
14374
+ 'sensory': 'is the location of the initial cell body in the PNS circuit'
14375
+ },
14376
+ componentsWithDatasets: [],
14377
+ uberons: [{
14378
+ id: undefined,
14379
+ name: undefined
14380
+ }]
14381
+ };
14931
14382
  },
14932
14383
  computed: {
14933
14384
  resources: function resources() {
@@ -14992,8 +14443,8 @@ var _capitalise = function capitalise(str) {
14992
14443
  });
14993
14444
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
14994
14445
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
14995
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4ffcf7c8&prod&scoped=true&lang=scss&
14996
- var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __webpack_require__("93b4");
14446
+ // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=63935114&prod&scoped=true&lang=scss&
14447
+ var Tooltipvue_type_style_index_0_id_63935114_prod_scoped_true_lang_scss_ = __webpack_require__("2e89");
14997
14448
 
14998
14449
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
14999
14450
 
@@ -15006,103 +14457,20 @@ var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __we
15006
14457
 
15007
14458
  var Tooltip_component = normalizeComponent(
15008
14459
  components_Tooltipvue_type_script_lang_js_,
15009
- Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render,
15010
- Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns,
14460
+ Tooltipvue_type_template_id_63935114_scoped_true_render,
14461
+ Tooltipvue_type_template_id_63935114_scoped_true_staticRenderFns,
15011
14462
  false,
15012
14463
  null,
15013
- "4ffcf7c8",
14464
+ "63935114",
15014
14465
  null
15015
14466
 
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":"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&
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,6 +14509,55 @@ var es_array_concat_js_ = __webpack_require__("ccb0");
15141
14509
 
15142
14510
 
15143
14511
 
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
+
15144
14561
  /* eslint-disable no-alert, no-console */
15145
14562
 
15146
14563
 
@@ -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":"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&
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
  }
@@ -16181,9 +15858,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16181
15858
  // Below is a hack to remove flatmap tooltips while popup is open
16182
15859
  var ftooltip = document.querySelector(".flatmap-tooltip-popup");
16183
15860
  if (ftooltip) ftooltip.style.display = "none";
16184
- document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
15861
+ document.querySelector(".maplibregl-popup-close-button").style.display = "block";
16185
15862
  this.$refs.tooltip.$el.style.display = "flex";
16186
- document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
15863
+ document.querySelector(".maplibregl-popup-close-button").onclick = function () {
16187
15864
  document.querySelector(".flatmap-tooltip-popup").style.display = "block";
16188
15865
  };
16189
15866
  },
@@ -16285,7 +15962,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16285
15962
  }
16286
15963
  },
16287
15964
  closeFlatmapHelpPopup: function closeFlatmapHelpPopup() {
16288
- this.$el.querySelectorAll(".mapboxgl-popup-close-button").forEach(function (item) {
15965
+ this.$el.querySelectorAll(".maplibregl-popup-close-button").forEach(function (item) {
16289
15966
  item.click();
16290
15967
  });
16291
15968
  },
@@ -16481,7 +16158,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16481
16158
  if (searchResults && searchResults.results && searchResults.results.length > 0) {
16482
16159
  this.mapImp.showSearchResults(searchResults);
16483
16160
  if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
16484
- this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
16161
+ var annotation = this.mapImp.annotation(searchResults.results[0].featureId);
16162
+ this.mapImp.showPopup(searchResults.results[0].featureId, annotation.label, {
16485
16163
  className: "custom-popup",
16486
16164
  positionAtLastClick: false,
16487
16165
  preserveSelection: true
@@ -16671,8 +16349,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
16671
16349
  });
16672
16350
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
16673
16351
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
16674
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=08f35f66&prod&scoped=true&lang=scss&
16675
- var FlatmapVuervue_type_style_index_0_id_08f35f66_prod_scoped_true_lang_scss_ = __webpack_require__("9566");
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");
16676
16354
 
16677
16355
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
16678
16356
 
@@ -16689,126 +16367,16 @@ var FlatmapVuer_component = normalizeComponent(
16689
16367
  staticRenderFns,
16690
16368
  false,
16691
16369
  null,
16692
- "08f35f66",
16370
+ "37e16dd3",
16693
16371
  null
16694
16372
 
16695
16373
  )
16696
16374
 
16697
16375
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
16698
- // 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&
16699
- var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function render() {
16700
- var _vm = this,
16701
- _c = _vm._self._c;
16702
- return _c('div', {
16703
- ref: "multiContainer",
16704
- staticClass: "multi-container"
16705
- }, [_c('div', {
16706
- staticStyle: {
16707
- "position": "absolute",
16708
- "z-index": "10"
16709
- }
16710
- }, [_c('div', {
16711
- staticClass: "species-display-text"
16712
- }, [_vm._v(" Species ")]), _c('el-popover', {
16713
- ref: "selectPopover",
16714
- attrs: {
16715
- "content": "Select a species",
16716
- "placement": "right",
16717
- "appendToBody": false,
16718
- "trigger": "manual",
16719
- "popper-class": "flatmap-popper right-popper"
16720
- },
16721
- model: {
16722
- value: _vm.helpMode,
16723
- callback: function callback($$v) {
16724
- _vm.helpMode = $$v;
16725
- },
16726
- expression: "helpMode"
16727
- }
16728
- }), _c('el-select', {
16729
- directives: [{
16730
- name: "popover",
16731
- rawName: "v-popover:selectPopover",
16732
- arg: "selectPopover"
16733
- }],
16734
- staticClass: "select-box",
16735
- attrs: {
16736
- "id": "flatmap-select",
16737
- "popper-append-to-body": _vm.appendToBody,
16738
- "placeholder": "Select",
16739
- "popper-class": "flatmap_dropdown"
16740
- },
16741
- on: {
16742
- "change": _vm.setSpecies
16743
- },
16744
- model: {
16745
- value: _vm.activeSpecies,
16746
- callback: function callback($$v) {
16747
- _vm.activeSpecies = $$v;
16748
- },
16749
- expression: "activeSpecies"
16750
- }
16751
- }, _vm._l(_vm.speciesList, function (item, key) {
16752
- return _c('el-option', {
16753
- key: key,
16754
- attrs: {
16755
- "label": key,
16756
- "value": key
16757
- }
16758
- }, [_c('el-row', [_c('el-col', {
16759
- attrs: {
16760
- "span": 8
16761
- }
16762
- }, [_c('i', {
16763
- class: item.iconClass
16764
- })]), _c('el-col', {
16765
- attrs: {
16766
- "span": 12
16767
- }
16768
- }, [_vm._v(_vm._s(key))])], 1)], 1);
16769
- }), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
16770
- return _c('FlatmapVuer', {
16771
- directives: [{
16772
- name: "show",
16773
- rawName: "v-show",
16774
- value: _vm.activeSpecies == key,
16775
- expression: "activeSpecies==key"
16776
- }],
16777
- key: key,
16778
- ref: key,
16779
- refInFor: true,
16780
- staticStyle: {
16781
- "height": "100%"
16782
- },
16783
- attrs: {
16784
- "showLayer": _vm.showLayer,
16785
- "entry": item.taxo,
16786
- "biologicalSex": item.biologicalSex,
16787
- "displayWarning": item.displayWarning,
16788
- "displayLatestChanges": item.displayLatestChanges,
16789
- "latestChangesMessage": item.latestChangesMessage,
16790
- "isLegacy": item.isLegacy,
16791
- "featureInfo": _vm.featureInfo,
16792
- "minZoom": _vm.minZoom,
16793
- "pathControls": _vm.pathControls,
16794
- "searchable": _vm.searchable,
16795
- "layerControl": _vm.layerControl,
16796
- "helpMode": _vm.helpMode,
16797
- "renderAtMounted": _vm.renderAtMounted,
16798
- "displayMinimap": _vm.displayMinimap,
16799
- "flatmapAPI": _vm.flatmapAPI,
16800
- "sparcAPI": _vm.sparcAPI
16801
- },
16802
- on: {
16803
- "view-latest-map": _vm.viewLatestMap,
16804
- "resource-selected": _vm.FlatmapSelected,
16805
- "ready": _vm.FlatmapReady,
16806
- "pan-zoom-callback": _vm.panZoomCallback
16807
- }
16808
- });
16809
- })], 2);
16810
- };
16811
- 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
+
16812
16380
 
16813
16381
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0732c3a0&scoped=true&
16814
16382
 
@@ -16858,6 +16426,66 @@ var es_object_keys_js_ = __webpack_require__("ea64");
16858
16426
 
16859
16427
 
16860
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
+ //
16861
16489
 
16862
16490
  /* eslint-disable no-alert, no-console */
16863
16491