@abi-software/flatmapvuer 0.3.0-beta-2 → 0.3.0-beta-2-upstream-downstream

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -890,6 +890,17 @@ exports.default = {
890
890
  }
891
891
  };
892
892
 
893
+ /***/ }),
894
+
895
+ /***/ "2ee8":
896
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
897
+
898
+ "use strict";
899
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_db38767a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c017");
900
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_db38767a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_db38767a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
901
+ /* unused harmony reexport * */
902
+
903
+
893
904
  /***/ }),
894
905
 
895
906
  /***/ "2ff9":
@@ -1643,17 +1654,6 @@ main.install = function (Vue) {
1643
1654
 
1644
1655
  /******/ });
1645
1656
 
1646
- /***/ }),
1647
-
1648
- /***/ "3df9":
1649
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1650
-
1651
- "use strict";
1652
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_1a81b242_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7db6");
1653
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_1a81b242_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_1a81b242_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
1654
- /* unused harmony reexport * */
1655
-
1656
-
1657
1657
  /***/ }),
1658
1658
 
1659
1659
  /***/ "4010":
@@ -4557,6 +4557,13 @@ exports.PopupManager = _popupManager2.default;
4557
4557
 
4558
4558
  /***/ }),
4559
4559
 
4560
+ /***/ "52d1":
4561
+ /***/ (function(module, exports, __webpack_require__) {
4562
+
4563
+ // extracted by mini-css-extract-plugin
4564
+
4565
+ /***/ }),
4566
+
4560
4567
  /***/ "55d7":
4561
4568
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4562
4569
 
@@ -7430,13 +7437,6 @@ main.install = function (Vue) {
7430
7437
 
7431
7438
  /***/ }),
7432
7439
 
7433
- /***/ "7db6":
7434
- /***/ (function(module, exports, __webpack_require__) {
7435
-
7436
- // extracted by mini-css-extract-plugin
7437
-
7438
- /***/ }),
7439
-
7440
7440
  /***/ "7f4d":
7441
7441
  /***/ (function(module, exports, __webpack_require__) {
7442
7442
 
@@ -8708,13 +8708,6 @@ module.exports = __webpack_require__("7f4d");
8708
8708
 
8709
8709
  /***/ }),
8710
8710
 
8711
- /***/ "896e":
8712
- /***/ (function(module, exports, __webpack_require__) {
8713
-
8714
- // extracted by mini-css-extract-plugin
8715
-
8716
- /***/ }),
8717
-
8718
8711
  /***/ "8bbc":
8719
8712
  /***/ (function(module, exports, __webpack_require__) {
8720
8713
 
@@ -10686,6 +10679,13 @@ module.exports = require("core-js/modules/web.url.js");
10686
10679
 
10687
10680
  /***/ }),
10688
10681
 
10682
+ /***/ "c017":
10683
+ /***/ (function(module, exports, __webpack_require__) {
10684
+
10685
+ // extracted by mini-css-extract-plugin
10686
+
10687
+ /***/ }),
10688
+
10689
10689
  /***/ "c2cc":
10690
10690
  /***/ (function(module, exports) {
10691
10691
 
@@ -11260,17 +11260,6 @@ function isKorean(text) {
11260
11260
 
11261
11261
  // extracted by mini-css-extract-plugin
11262
11262
 
11263
- /***/ }),
11264
-
11265
- /***/ "d538":
11266
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
11267
-
11268
- "use strict";
11269
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_032efe9d_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("896e");
11270
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_032efe9d_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_032efe9d_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
11271
- /* unused harmony reexport * */
11272
-
11273
-
11274
11263
  /***/ }),
11275
11264
 
11276
11265
  /***/ "da6e":
@@ -11931,6 +11920,17 @@ src_checkbox.install = function (Vue) {
11931
11920
 
11932
11921
  // extracted by mini-css-extract-plugin
11933
11922
 
11923
+ /***/ }),
11924
+
11925
+ /***/ "e025":
11926
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
11927
+
11928
+ "use strict";
11929
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_212c9d5b_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("52d1");
11930
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_212c9d5b_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_212c9d5b_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
11931
+ /* unused harmony reexport * */
11932
+
11933
+
11934
11934
  /***/ }),
11935
11935
 
11936
11936
  /***/ "e62d":
@@ -14730,12 +14730,12 @@ if (typeof window !== 'undefined') {
14730
14730
  // Indicate to webpack that this file can be concatenated
14731
14731
  /* harmony default export */ var setPublicPath = (null);
14732
14732
 
14733
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2ee990ba-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=032efe9d&scoped=true&
14733
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cfef1d3c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=db38767a&scoped=true&
14734
14734
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"flatmap-container",attrs:{"element-loading-text":"Loading...","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.3)"}},[_c('map-svg-sprite-color'),_c('div',{staticStyle:{"height":"100%","width":"100%","position":"relative","overflow-y":"none"}},[_c('div',{ref:"display",staticStyle:{"height":"100%","width":"100%"}}),(_vm.displayWarning)?_c('el-popover',{ref:"warningPopover",attrs:{"content":_vm.warningMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[6].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[6], "value", $$v)},expression:"hoverVisibilities[6].value"}}):_vm._e(),(_vm.displayWarning)?_c('i',{directives:[{name:"popover",rawName:"v-popover:warningPopover",arg:"warningPopover"}],staticClass:"el-icon-warning warning-icon",on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]):_vm._e(),_c('div',{staticClass:"bottom-right-control"},[_c('el-popover',{attrs:{"content":"Zoom in","placement":"left","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper left-popper"},model:{value:(_vm.hoverVisibilities[0].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[0], "value", $$v)},expression:"hoverVisibilities[0].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomIn",attrs:{"slot":"reference","icon":"zoomIn"},nativeOn:{"click":function($event){return _vm.zoomIn()},"mouseover":function($event){return _vm.showToolitip(0)},"mouseout":function($event){return _vm.hideToolitip(0)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Zoom out","placement":"top-end","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-zoomout"},model:{value:(_vm.hoverVisibilities[1].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[1], "value", $$v)},expression:"hoverVisibilities[1].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomOut",attrs:{"slot":"reference","icon":"zoomOut"},nativeOn:{"click":function($event){return _vm.zoomOut()},"mouseover":function($event){return _vm.showToolitip(1)},"mouseout":function($event){return _vm.hideToolitip(1)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Reset","placement":"top","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper"},model:{value:(_vm.hoverVisibilities[2].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[2], "value", $$v)},expression:"hoverVisibilities[2].value"}},[_c('div',[_vm._v(" Fit to "),_c('br'),_vm._v(" window ")]),_c('map-svg-icon',{staticClass:"icon-button fitWindow",attrs:{"slot":"reference","icon":"fitWindow"},nativeOn:{"click":function($event){return _vm.resetView()},"mouseover":function($event){return _vm.showToolitip(2)},"mouseout":function($event){return _vm.hideToolitip(2)}},slot:"reference"})],1)],1),_c('el-popover',{ref:"checkBoxPopover",attrs:{"content":"Change pathway visibility","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[4].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[4], "value", $$v)},expression:"hoverVisibilities[4].value"}}),_c('div',{staticClass:"pathway-location",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen }},[(_vm.pathways.length > 0 && _vm.pathControls)?_c('div',{directives:[{name:"popover",rawName:"v-popover:checkBoxPopover",arg:"checkBoxPopover"}],staticClass:"pathway-container"},[_c('el-popover',{ref:"markerPopover",attrs:{"content":"Find these markers for data","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-bump-right right-popper"},model:{value:(_vm.hoverVisibilities[5].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[5], "value", $$v)},expression:"hoverVisibilities[5].value"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.hoverVisibilities[5].value),expression:"hoverVisibilities[5].value"},{name:"popover",rawName:"v-popover:markerPopover",arg:"markerPopover"}],staticClass:"flatmap-marker-help",domProps:{"innerHTML":_vm._s(_vm.flatmapMarker)}}),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('div',{staticClass:"pathways-display-text"},[_vm._v("Pathways")])]),_c('el-col',{attrs:{"span":12}},[_c('el-checkbox',{staticClass:"all-checkbox",attrs:{"indeterminate":_vm.isIndeterminate},on:{"change":_vm.handleCheckAllChange},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:"checkAll"}},[_vm._v("Display all")])],1)],1),_c('el-checkbox-group',{staticClass:"checkbox-group",attrs:{"size":"small"},on:{"change":_vm.handleCheckedItemsChange},model:{value:(_vm.checkedItems),callback:function ($$v) {_vm.checkedItems=$$v},expression:"checkedItems"}},[_c('div',{staticClass:"checkbox-group-inner"},_vm._l((_vm.pathways),function(item){return _c('el-row',{key:item.type,attrs:{"label":item.type}},[_c('div',{staticClass:"checkbox-container"},[_c('el-checkbox',{staticClass:"my-checkbox",attrs:{"label":item.type,"checked":true},on:{"change":function($event){return _vm.visibilityToggle()}}},[_c('div',{staticClass:"path-visual",class:item.type}),_vm._v(" "+_vm._s(item.label)+" ")])],1)])}),1)])],1):_vm._e(),_c('div',{staticClass:"drawer-button",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },on:{"click":_vm.toggleDrawer}},[_c('i',{staticClass:"el-icon-arrow-left"})])]),_c('el-popover',{ref:"backgroundPopover",attrs:{"placement":"top-start","width":"175","appendToBody":false,"trigger":"click","popper-class":"background-popper"}},[_c('el-row',{staticClass:"backgroundText"},[_vm._v("Organs display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setColour},model:{value:(_vm.colourRadio),callback:function ($$v) {_vm.colourRadio=$$v},expression:"colourRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Colour")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Greyscale")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Outlines display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setOutlines},model:{value:(_vm.outlinesRadio),callback:function ($$v) {_vm.outlinesRadio=$$v},expression:"outlinesRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Show")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Hide")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Change background")]),_c('el-row',{staticClass:"backgroundControl"},_vm._l((_vm.availableBackground),function(item){return _c('div',{key:item,class:['backgroundChoice', item, item == _vm.currentBackground ? 'active' :''],on:{"click":function($event){return _vm.backgroundChangeCallback(item)}}})}),0)],1),_c('el-popover',{attrs:{"content":"Change background color","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[3].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[3], "value", $$v)},expression:"hoverVisibilities[3].value"}},[_c('map-svg-icon',{directives:[{name:"popover",rawName:"v-popover:backgroundPopover",arg:"backgroundPopover"}],staticClass:"icon-button background-colour",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },attrs:{"slot":"reference","icon":"changeBckgd"},nativeOn:{"mouseover":function($event){return _vm.showToolitip(3)},"mouseout":function($event){return _vm.hideToolitip(3)}},slot:"reference"})],1),_c('Tooltip',{ref:"tooltip",staticClass:"tooltip",attrs:{"content":_vm.tooltipContent},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
14735
14735
  var staticRenderFns = []
14736
14736
 
14737
14737
 
14738
- // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=032efe9d&scoped=true&
14738
+ // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=db38767a&scoped=true&
14739
14739
 
14740
14740
  // EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
14741
14741
  var es_symbol_js_ = __webpack_require__("9b22");
@@ -14969,12 +14969,12 @@ var es_number_constructor_js_ = __webpack_require__("f989");
14969
14969
  var external_vue_ = __webpack_require__("8bbf");
14970
14970
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
14971
14971
 
14972
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2ee990ba-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=1a81b242&scoped=true&
14973
- var Tooltipvue_type_template_id_1a81b242_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" ")])})],2):_vm._e(),(this.dendrites)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Dendrites")]),_vm._l((_vm.dendrites),function(dendrite){return _c('div',{key:dendrite,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(dendrite))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.dendritesWithDatasets.length > 0),expression:"dendritesWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore dendrite data ")])],2):_vm._e(),(this.axons)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Axons")]),_vm._l((_vm.axons),function(axon){return _c('div',{key:axon,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(axon))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.axonsWithDatasets.length > 0),expression:"axonsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore axon data ")])],2):_vm._e(),(_vm.content.uberon)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Feature Id")]),_c('span',{staticClass:"attribute-content"},[_vm._v(_vm._s(_vm.content.uberon))])]):_vm._e(),_vm._l((_vm.content.actions),function(action){return _c('el-button',{key:action.title,staticClass:"button",attrs:{"round":""},on:{"click":function($event){return _vm.resourceSelected(action)}}},[(action.title === 'Search for dataset' || action.title === 'View Dataset' )?_c('i',{staticClass:"el-icon-coin"}):_vm._e(),_vm._v(" "+_vm._s(action.title)+" ")])}),(_vm.pubmedSearchUrl)?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],2):_vm._e()],1)}
14974
- var Tooltipvue_type_template_id_1a81b242_scoped_true_staticRenderFns = []
14972
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cfef1d3c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=212c9d5b&scoped=true&
14973
+ var Tooltipvue_type_template_id_212c9d5b_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" ")])})],2):_vm._e(),(this.origins)?_c('div',{staticClass:"block"},[_c('div',{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('div',[_vm._v(" Origin is the point of the neuron path closest to the brain (or spinal cord) ")])])],1),_vm._l((_vm.origins),function(origin){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.originsWithDatasets.length > 0),expression:"originsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore origin data ")])],2):_vm._e(),(this.destinations)?_c('div',{staticClass:"block"},[_c('div',{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('div',[_vm._v(" Destination is the point of the neuron path furthest from the brain (or spinal cord) ")])])],1),_vm._l((_vm.destinations),function(destination){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" ")])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.destinationsWithDatasets.length > 0),expression:"destinationsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore destination data ")])],2):_vm._e(),(_vm.content.uberon)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Feature Id")]),_c('span',{staticClass:"attribute-content"},[_vm._v(_vm._s(_vm.content.uberon))])]):_vm._e(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.componentsWithDatasets.length > 0),expression:"componentsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAll}},[_vm._v(" Search for data on components ")]),(_vm.pubmedSearchUrl)?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],1):_vm._e()],1)}
14974
+ var Tooltipvue_type_template_id_212c9d5b_scoped_true_staticRenderFns = []
14975
14975
 
14976
14976
 
14977
- // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=1a81b242&scoped=true&
14977
+ // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=212c9d5b&scoped=true&
14978
14978
 
14979
14979
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
14980
14980
  var main = __webpack_require__("de31");
@@ -15034,7 +15034,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
15034
15034
  var locale = __webpack_require__("4897");
15035
15035
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
15036
15036
 
15037
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2ee990ba-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=1d12a6d3&scoped=true&
15037
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cfef1d3c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=1d12a6d3&scoped=true&
15038
15038
  var PubmedViewervue_type_template_id_1d12a6d3_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pubmed-container"},[_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading.response),expression:"loading.response"}],staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Pubmed Resources")]),_c('br'),_c('el-carousel',{attrs:{"autoplay":false,"indicator-position":"outside","height":"250px","width":"200px"}},_vm._l((_vm.pubmeds),function(pub,i){return _c('el-carousel-item',{key:i},[_c('div',{staticClass:"attribute-content"},[_c('div',{domProps:{"innerHTML":_vm._s(pub.html)}}),_c('el-link',{staticClass:"el-link",attrs:{"href":pub.url,"underline":false,"target":"_blank"}},[_vm._v(_vm._s(pub.url))])],1)])}),1)],1)])}
15039
15039
  var PubmedViewervue_type_template_id_1d12a6d3_scoped_true_staticRenderFns = []
15040
15040
 
@@ -15519,6 +15519,36 @@ var EventBus = new external_vue_default.a();
15519
15519
  //
15520
15520
  //
15521
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
+ //
15522
15552
 
15523
15553
  /* eslint-disable no-alert, no-console */
15524
15554
 
@@ -15566,11 +15596,12 @@ var _capitalise = function capitalise(str) {
15566
15596
  appendToBody: false,
15567
15597
  pubmedSearchUrl: '',
15568
15598
  loading: false,
15569
- axons: [],
15570
- dendrites: [],
15599
+ destinations: [],
15600
+ origins: [],
15571
15601
  components: [],
15572
- axonsWithDatasets: [],
15573
- dendritesWithDatasets: [],
15602
+ destinationsWithDatasets: [],
15603
+ originsWithDatasets: [],
15604
+ componentsWithDatasets: [],
15574
15605
  uberons: [{
15575
15606
  id: undefined,
15576
15607
  name: undefined
@@ -15604,10 +15635,18 @@ var _capitalise = function capitalise(str) {
15604
15635
  openUrl: function openUrl(url) {
15605
15636
  window.open(url, '_blank');
15606
15637
  },
15638
+ openAll: function openAll() {
15639
+ components_EventBus.$emit('onActionClick', {
15640
+ type: 'Facets',
15641
+ labels: this.components.map(function (a) {
15642
+ return a.name;
15643
+ })
15644
+ });
15645
+ },
15607
15646
  openAxons: function openAxons() {
15608
15647
  components_EventBus.$emit('onActionClick', {
15609
15648
  type: 'Facets',
15610
- labels: this.axonsWithDatasets.map(function (a) {
15649
+ labels: this.destinationsWithDatasets.map(function (a) {
15611
15650
  return a.name;
15612
15651
  })
15613
15652
  });
@@ -15615,7 +15654,7 @@ var _capitalise = function capitalise(str) {
15615
15654
  openDendrites: function openDendrites() {
15616
15655
  components_EventBus.$emit('onActionClick', {
15617
15656
  type: 'Facets',
15618
- labels: this.dendritesWithDatasets.map(function (a) {
15657
+ labels: this.originsWithDatasets.map(function (a) {
15619
15658
  return a.name;
15620
15659
  })
15621
15660
  });
@@ -15634,7 +15673,7 @@ var _capitalise = function capitalise(str) {
15634
15673
  nodes.forEach(function (node) {
15635
15674
  var n = node.flat(); // Find all terms on the node
15636
15675
 
15637
- terminal = false; // Check if the node is an axon or dendrite
15676
+ terminal = false; // Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
15638
15677
 
15639
15678
  n.forEach(function (s) {
15640
15679
  if (connectivity.axons.includes(s)) {
@@ -15725,8 +15764,8 @@ var _capitalise = function capitalise(str) {
15725
15764
  pathwayQuery: function pathwayQuery(keastIds) {
15726
15765
  var _this3 = this;
15727
15766
 
15728
- this.axons = [];
15729
- this.dendrites = [];
15767
+ this.destinations = [];
15768
+ this.origins = [];
15730
15769
  this.components = [];
15731
15770
  this.loading = true;
15732
15771
  if (!keastIds || keastIds.length == 0) return;
@@ -15750,10 +15789,10 @@ var _capitalise = function capitalise(str) {
15750
15789
  var conIds = connectivity.axons.concat(connectivity.dendrites.concat(components));
15751
15790
 
15752
15791
  _this3.createLabelLookup(conIds).then(function (lookUp) {
15753
- _this3.axons = connectivity.axons.map(function (a) {
15792
+ _this3.destinations = connectivity.axons.map(function (a) {
15754
15793
  return lookUp[a];
15755
15794
  });
15756
- _this3.dendrites = connectivity.dendrites.map(function (d) {
15795
+ _this3.origins = connectivity.dendrites.map(function (d) {
15757
15796
  return lookUp[d];
15758
15797
  });
15759
15798
  _this3.components = components.map(function (c) {
@@ -15762,10 +15801,13 @@ var _capitalise = function capitalise(str) {
15762
15801
  }); // Filter for the anatomy which is annotated on datasets
15763
15802
 
15764
15803
 
15765
- _this3.axonsWithDatasets = _this3.uberons.filter(function (ub) {
15804
+ _this3.destinationsWithDatasets = _this3.uberons.filter(function (ub) {
15766
15805
  return connectivity.axons.indexOf(ub.id) !== -1;
15767
15806
  });
15768
- _this3.dendritesWithDatasets = _this3.uberons.filter(function (ub) {
15807
+ _this3.originsWithDatasets = _this3.uberons.filter(function (ub) {
15808
+ return connectivity.dendrites.indexOf(ub.id) !== -1;
15809
+ });
15810
+ _this3.componentsWithDatasets = _this3.uberons.filter(function (ub) {
15769
15811
  return connectivity.dendrites.indexOf(ub.id) !== -1;
15770
15812
  });
15771
15813
  _this3.loading = false;
@@ -15777,8 +15819,8 @@ var _capitalise = function capitalise(str) {
15777
15819
  });
15778
15820
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
15779
15821
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
15780
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=1a81b242&scoped=true&lang=scss&
15781
- var Tooltipvue_type_style_index_0_id_1a81b242_scoped_true_lang_scss_ = __webpack_require__("3df9");
15822
+ // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=212c9d5b&scoped=true&lang=scss&
15823
+ var Tooltipvue_type_style_index_0_id_212c9d5b_scoped_true_lang_scss_ = __webpack_require__("e025");
15782
15824
 
15783
15825
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
15784
15826
 
@@ -15791,11 +15833,11 @@ var Tooltipvue_type_style_index_0_id_1a81b242_scoped_true_lang_scss_ = __webpack
15791
15833
 
15792
15834
  var Tooltip_component = normalizeComponent(
15793
15835
  components_Tooltipvue_type_script_lang_js_,
15794
- Tooltipvue_type_template_id_1a81b242_scoped_true_render,
15795
- Tooltipvue_type_template_id_1a81b242_scoped_true_staticRenderFns,
15836
+ Tooltipvue_type_template_id_212c9d5b_scoped_true_render,
15837
+ Tooltipvue_type_template_id_212c9d5b_scoped_true_staticRenderFns,
15796
15838
  false,
15797
15839
  null,
15798
- "1a81b242",
15840
+ "212c9d5b",
15799
15841
  null
15800
15842
 
15801
15843
  )
@@ -16116,8 +16158,8 @@ var mapResize = function mapResize(map) {
16116
16158
  this.drawerOpen = !this.drawerOpen;
16117
16159
  },
16118
16160
 
16119
- /**
16120
- * Function to toggle colour/greyscale of organs.
16161
+ /**
16162
+ * Function to toggle colour/greyscale of organs.
16121
16163
  */
16122
16164
  setColour: function setColour(flag) {
16123
16165
  this.colourRadio = flag;
@@ -16130,8 +16172,8 @@ var mapResize = function mapResize(map) {
16130
16172
  }
16131
16173
  },
16132
16174
 
16133
- /**
16134
- * Function to toggle outlines f organs.
16175
+ /**
16176
+ * Function to toggle outlines f organs.
16135
16177
  */
16136
16178
  setOutlines: function setOutlines(flag) {
16137
16179
  this.outlineRadio = flag;
@@ -16144,9 +16186,9 @@ var mapResize = function mapResize(map) {
16144
16186
  }
16145
16187
  },
16146
16188
 
16147
- /**
16148
- * Function to toggle paths to default.
16149
- * Also called when the associated button is pressed.
16189
+ /**
16190
+ * Function to toggle paths to default.
16191
+ * Also called when the associated button is pressed.
16150
16192
  */
16151
16193
  resetView: function resetView() {
16152
16194
  if (this.mapImp) {
@@ -16159,9 +16201,9 @@ var mapResize = function mapResize(map) {
16159
16201
  }
16160
16202
  },
16161
16203
 
16162
- /**
16163
- * Function to zoom in.
16164
- * Also called when the associated button is pressed.
16204
+ /**
16205
+ * Function to zoom in.
16206
+ * Also called when the associated button is pressed.
16165
16207
  */
16166
16208
  zoomIn: function zoomIn() {
16167
16209
  if (this.mapImp) {
@@ -16169,9 +16211,9 @@ var mapResize = function mapResize(map) {
16169
16211
  }
16170
16212
  },
16171
16213
 
16172
- /**
16173
- * Function to zoom out.
16174
- * Also called when the associated button is pressed.
16214
+ /**
16215
+ * Function to zoom out.
16216
+ * Also called when the associated button is pressed.
16175
16217
  */
16176
16218
  zoomOut: function zoomOut() {
16177
16219
  if (this.mapImp) {
@@ -16234,14 +16276,16 @@ var mapResize = function mapResize(map) {
16234
16276
  },
16235
16277
  // checkNeuronClicked shows a neuron path pop up if a path was recently clicked
16236
16278
  checkAndCreatePopups: function checkAndCreatePopups(data) {
16237
- if (data.eventType == "click" && this.createTooltipFromNeuronCuration(data)) {
16279
+ if (data.eventType == "click" && this.hasNeuronTooltip(data)) {
16280
+ this.createTooltipFromNeuronCuration(data);
16238
16281
  this.mapImp.showPopup(this.mapImp.modelFeatureIds(data.resource[0])[0], this.$refs.tooltip.$el, {
16239
- className: "flatmap-tooltip-dialog"
16282
+ className: "flatmapvuer-popover",
16283
+ positionAtLastClick: true
16240
16284
  });
16241
- this.popUpCssHack();
16285
+ this.popUpCssHacks();
16242
16286
  }
16243
16287
  },
16244
- popUpCssHack: function popUpCssHack() {
16288
+ popUpCssHacks: function popUpCssHacks() {
16245
16289
  // Below is a hack to remove flatmap tooltips while popup is open
16246
16290
  var ftooltip = document.querySelector(".flatmap-tooltip-popup");
16247
16291
  if (ftooltip) ftooltip.style.display = "none";
@@ -16255,6 +16299,27 @@ var mapResize = function mapResize(map) {
16255
16299
  resourceSelected: function resourceSelected(action) {
16256
16300
  this.$emit("resource-selected", action);
16257
16301
  },
16302
+ hasNeuronTooltip: function hasNeuronTooltip(data) {
16303
+ // nerve cuff check
16304
+ if (data.feature.nodeId) {
16305
+ return true;
16306
+ } // neural data check
16307
+
16308
+
16309
+ if (data.resource[0]) {
16310
+ if (data.resource[0].includes('ilxtr:neuron')) {
16311
+ return true;
16312
+ }
16313
+ } // annotated with datset check
16314
+
16315
+
16316
+ if (data.dataset) {
16317
+ return true;
16318
+ } // if there is no cuff, neural data, or dataset we do not display neuron tooltip
16319
+
16320
+
16321
+ return false;
16322
+ },
16258
16323
  createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
16259
16324
  var feature = data.resource[0];
16260
16325
  var content = {
@@ -16264,14 +16329,12 @@ var mapResize = function mapResize(map) {
16264
16329
  distribution: undefined,
16265
16330
  actions: []
16266
16331
  };
16267
- var foundAnnotations = false;
16268
16332
  this.tooltipVisible = false; // nerve cuff check
16269
16333
 
16270
16334
  if (data.feature.nodeId) {
16271
16335
  var paths = this.mapImp.nodePathModels(data.feature.nodeId);
16272
16336
 
16273
16337
  if (paths.size > 0) {
16274
- foundAnnotations = true;
16275
16338
  this.tooltipVisible = true;
16276
16339
  this.tooltipContent = content;
16277
16340
  this.tooltipContent.uberon = feature;
@@ -16285,17 +16348,17 @@ var mapResize = function mapResize(map) {
16285
16348
 
16286
16349
  if (feature) {
16287
16350
  if (feature.includes('ilxtr:neuron')) {
16288
- foundAnnotations = true;
16289
16351
  this.tooltipVisible = true;
16290
16352
  this.tooltipContent = content;
16291
16353
  this.tooltipContent.uberon = feature;
16292
16354
  this.tooltipContent.title = data.label;
16293
16355
  this.tooltipContent.featureIds = [feature];
16294
16356
  this.tooltipContent.actions.push({
16295
- title: "Search for dataset",
16357
+ title: "Search for datasets",
16296
16358
  label: "Neuron Datasets",
16297
16359
  resource: feature.split(":")[1],
16298
16360
  type: "Neuron Search",
16361
+ feature: feature,
16299
16362
  nervePath: true
16300
16363
  });
16301
16364
  }
@@ -16303,7 +16366,6 @@ var mapResize = function mapResize(map) {
16303
16366
 
16304
16367
 
16305
16368
  if (data.dataset) {
16306
- foundAnnotations = true;
16307
16369
  this.tooltipVisible = true;
16308
16370
  this.tooltipContent = content;
16309
16371
  this.tooltipContent.uberon = feature;
@@ -16312,15 +16374,10 @@ var mapResize = function mapResize(map) {
16312
16374
  title: "View dataset",
16313
16375
  resource: data.dataset,
16314
16376
  type: "URL",
16377
+ feature: feature,
16315
16378
  nervePath: false
16316
16379
  });
16317
16380
  }
16318
-
16319
- if (foundAnnotations) {
16320
- return true;
16321
- } else {
16322
- return false;
16323
- }
16324
16381
  },
16325
16382
  // Keeping this as an API
16326
16383
  showPopup: function showPopup(featureId, node, options) {
@@ -16331,7 +16388,8 @@ var mapResize = function mapResize(map) {
16331
16388
  if (!myOptions.className) myOptions.className = "flatmapvuer-popover";
16332
16389
  } else {
16333
16390
  myOptions = {
16334
- className: "flatmapvuer-popover"
16391
+ className: "flatmapvuer-popover",
16392
+ positionAtLastClick: true
16335
16393
  };
16336
16394
  }
16337
16395
 
@@ -16485,8 +16543,8 @@ var mapResize = function mapResize(map) {
16485
16543
  this.drawerOpen = flag;
16486
16544
  },
16487
16545
 
16488
- /**
16489
- * Function to display features with annotation matching the provided term.
16546
+ /**
16547
+ * Function to display features with annotation matching the provided term.
16490
16548
  */
16491
16549
  searchAndShowResult: function searchAndShowResult(term) {
16492
16550
  if (this.mapImp) {
@@ -16549,16 +16607,16 @@ var mapResize = function mapResize(map) {
16549
16607
  default: "Beta feature - This map is based on the connectivity of a rat. New connectivity and species specificity will be added as the SPARC program progress."
16550
16608
  },
16551
16609
 
16552
- /**
16553
- * State containing state of the flatmap.
16610
+ /**
16611
+ * State containing state of the flatmap.
16554
16612
  */
16555
16613
  state: {
16556
16614
  type: Object,
16557
16615
  default: undefined
16558
16616
  },
16559
16617
 
16560
- /**
16561
- * Specify the endpoint of the flatmap server.
16618
+ /**
16619
+ * Specify the endpoint of the flatmap server.
16562
16620
  */
16563
16621
  flatmapAPI: {
16564
16622
  type: String,
@@ -16633,8 +16691,8 @@ var mapResize = function mapResize(map) {
16633
16691
  });
16634
16692
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
16635
16693
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
16636
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=032efe9d&scoped=true&lang=scss&
16637
- var FlatmapVuervue_type_style_index_0_id_032efe9d_scoped_true_lang_scss_ = __webpack_require__("d538");
16694
+ // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=db38767a&scoped=true&lang=scss&
16695
+ var FlatmapVuervue_type_style_index_0_id_db38767a_scoped_true_lang_scss_ = __webpack_require__("2ee8");
16638
16696
 
16639
16697
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
16640
16698
 
@@ -16651,13 +16709,13 @@ var FlatmapVuer_component = normalizeComponent(
16651
16709
  staticRenderFns,
16652
16710
  false,
16653
16711
  null,
16654
- "032efe9d",
16712
+ "db38767a",
16655
16713
  null
16656
16714
 
16657
16715
  )
16658
16716
 
16659
16717
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
16660
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2ee990ba-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=f20f0c88&scoped=true&
16718
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cfef1d3c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=f20f0c88&scoped=true&
16661
16719
  var MultiFlatmapVuervue_type_template_id_f20f0c88_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"multi-container"},[_c('div',{staticStyle:{"position":"absolute","z-index":"10"}},[_c('div',{staticClass:"species-display-text"},[_vm._v(" Species ")]),_c('el-popover',{ref:"selectPopover",attrs:{"content":"Select a species","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.helpMode),callback:function ($$v) {_vm.helpMode=$$v},expression:"helpMode"}}),_c('el-select',{directives:[{name:"popover",rawName:"v-popover:selectPopover",arg:"selectPopover"}],staticClass:"select-box",attrs:{"id":"flatmap-select","popper-append-to-body":_vm.appendToBody,"placeholder":"Select","popper-class":"flatmap_dropdown"},on:{"change":_vm.flatmapChanged},model:{value:(_vm.activeSpecies),callback:function ($$v) {_vm.activeSpecies=$$v},expression:"activeSpecies"}},_vm._l((_vm.speciesList),function(item,key){return _c('el-option',{key:key,attrs:{"label":key,"value":key}},[_c('el-row',[_c('el-col',{attrs:{"span":8}},[_c('i',{class:item.iconClass})]),_c('el-col',{attrs:{"span":12}},[_vm._v(_vm._s(key))])],1)],1)}),1)],1),_vm._l((_vm.speciesList),function(item,key){return _c('FlatmapVuer',{directives:[{name:"show",rawName:"v-show",value:(_vm.activeSpecies==key),expression:"activeSpecies==key"}],key:key,ref:key,refInFor:true,staticStyle:{"height":"100%"},attrs:{"showLayer":_vm.showLayer,"entry":item.taxo,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI,"sparcAPI":_vm.sparcAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
16662
16720
  var MultiFlatmapVuervue_type_template_id_f20f0c88_scoped_true_staticRenderFns = []
16663
16721
 
@@ -16858,11 +16916,11 @@ external_vue_default.a.use(lib_popover_default.a);
16858
16916
  this.$emit('flatmapChanged', this.activeSpecies);
16859
16917
  },
16860
16918
 
16861
- /**
16862
- * Function used for getting the current states of the scene. This exported states
16863
- * can be imported using the importStates method.
16864
- *
16865
- * @public
16919
+ /**
16920
+ * Function used for getting the current states of the scene. This exported states
16921
+ * can be imported using the importStates method.
16922
+ *
16923
+ * @public
16866
16924
  */
16867
16925
  getState: function getState() {
16868
16926
  var state = {
@@ -16874,11 +16932,11 @@ external_vue_default.a.use(lib_popover_default.a);
16874
16932
  return state;
16875
16933
  },
16876
16934
 
16877
- /**
16878
- * Function used for importing the states of the scene. This exported states
16879
- * can be imported using the read states method.
16880
- *
16881
- * @public
16935
+ /**
16936
+ * Function used for importing the states of the scene. This exported states
16937
+ * can be imported using the read states method.
16938
+ *
16939
+ * @public
16882
16940
  */
16883
16941
  setState: function setState(state) {
16884
16942
  var _this3 = this;
@@ -16926,9 +16984,9 @@ external_vue_default.a.use(lib_popover_default.a);
16926
16984
  default: false
16927
16985
  },
16928
16986
 
16929
- /**
16930
- * Initial species for the flatmap.
16931
- * This value will be ignored if a valid state object is provided.
16987
+ /**
16988
+ * Initial species for the flatmap.
16989
+ * This value will be ignored if a valid state object is provided.
16932
16990
  */
16933
16991
  initial: {
16934
16992
  type: String,
@@ -16956,16 +17014,16 @@ external_vue_default.a.use(lib_popover_default.a);
16956
17014
  },
16957
17015
  availableSpecies: {},
16958
17016
 
16959
- /**
16960
- * State containing state of the flatmap.
17017
+ /**
17018
+ * State containing state of the flatmap.
16961
17019
  */
16962
17020
  state: {
16963
17021
  type: Object,
16964
17022
  default: undefined
16965
17023
  },
16966
17024
 
16967
- /**
16968
- * Specify the endpoint of the flatmap server.
17025
+ /**
17026
+ * Specify the endpoint of the flatmap server.
16969
17027
  */
16970
17028
  flatmapAPI: {
16971
17029
  type: String,