@abi-software/flatmapvuer 0.3.6-upstream-downstream → 0.3.6

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.
@@ -9036,6 +9036,13 @@ module.exports = require("core-js/modules/es.object.to-string.js");
9036
9036
 
9037
9037
  /***/ }),
9038
9038
 
9039
+ /***/ "99f8":
9040
+ /***/ (function(module, exports, __webpack_require__) {
9041
+
9042
+ // extracted by mini-css-extract-plugin
9043
+
9044
+ /***/ }),
9045
+
9039
9046
  /***/ "9b22":
9040
9047
  /***/ (function(module, exports) {
9041
9048
 
@@ -10524,17 +10531,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
10524
10531
 
10525
10532
  module.exports = require("css-element-queries/src/ResizeSensor");
10526
10533
 
10527
- /***/ }),
10528
-
10529
- /***/ "b2d3":
10530
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
10531
-
10532
- "use strict";
10533
- /* 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_b8a1a320_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f37d");
10534
- /* 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_b8a1a320_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_b8a1a320_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
10535
- /* unused harmony reexport * */
10536
-
10537
-
10538
10534
  /***/ }),
10539
10535
 
10540
10536
  /***/ "b2d6":
@@ -11193,6 +11189,17 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
11193
11189
 
11194
11190
  module.exports = require("core-js/modules/es.array.concat.js");
11195
11191
 
11192
+ /***/ }),
11193
+
11194
+ /***/ "d006":
11195
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
11196
+
11197
+ "use strict";
11198
+ /* 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_1e355414_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("99f8");
11199
+ /* 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_1e355414_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_1e355414_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
11200
+ /* unused harmony reexport * */
11201
+
11202
+
11196
11203
  /***/ }),
11197
11204
 
11198
11205
  /***/ "d010":
@@ -13183,13 +13190,6 @@ exports.default = {
13183
13190
 
13184
13191
  /***/ }),
13185
13192
 
13186
- /***/ "f37d":
13187
- /***/ (function(module, exports, __webpack_require__) {
13188
-
13189
- // extracted by mini-css-extract-plugin
13190
-
13191
- /***/ }),
13192
-
13193
13193
  /***/ "f3ad":
13194
13194
  /***/ (function(module, exports, __webpack_require__) {
13195
13195
 
@@ -14739,7 +14739,7 @@ if (typeof window !== 'undefined') {
14739
14739
  // Indicate to webpack that this file can be concatenated
14740
14740
  /* harmony default export */ var setPublicPath = (null);
14741
14741
 
14742
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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=b0476142&scoped=true&
14742
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e512028c-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=b0476142&scoped=true&
14743
14743
  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%"}}),_c('div',{staticClass:"beta-popovers"},[_c('div',[_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.displayWarning && _vm.warningMessage)?_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()],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('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)}
14744
14744
  var staticRenderFns = []
14745
14745
 
@@ -14949,12 +14949,12 @@ var es_number_constructor_js_ = __webpack_require__("f989");
14949
14949
  var external_vue_ = __webpack_require__("8bbf");
14950
14950
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
14951
14951
 
14952
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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=b8a1a320&scoped=true&
14953
- var Tooltipvue_type_template_id_b8a1a320_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))])]),_c('div',{staticClass:"content-container scrollbar"},[(_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.origins)?_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.origins),function(origin){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),_c('div',{staticClass:"seperator"})])}),_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.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))+" "),_c('div',{staticClass:"seperator"})])})],2):_vm._e(),(this.destinations)?_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.destinations),function(destination){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),_c('div',{staticClass:"seperator"})])}),_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(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.components.length > 0),expression:"components.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)}
14954
- var Tooltipvue_type_template_id_b8a1a320_scoped_true_staticRenderFns = []
14952
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e512028c-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=1e355414&scoped=true&
14953
+ var Tooltipvue_type_template_id_1e355414_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))])]),_c('div',{staticClass:"content-container scrollbar"},[(_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.origins)?_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.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.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.destinations)?_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.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(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.components.length > 0),expression:"components.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)}
14954
+ var Tooltipvue_type_template_id_1e355414_scoped_true_staticRenderFns = []
14955
14955
 
14956
14956
 
14957
- // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=b8a1a320&scoped=true&
14957
+ // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=1e355414&scoped=true&
14958
14958
 
14959
14959
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
14960
14960
 
@@ -15043,7 +15043,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
15043
15043
  var locale = __webpack_require__("4897");
15044
15044
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
15045
15045
 
15046
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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&
15046
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e512028c-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&
15047
15047
  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)])}
15048
15048
  var PubmedViewervue_type_template_id_1d12a6d3_scoped_true_staticRenderFns = []
15049
15049
 
@@ -15559,9 +15559,6 @@ var EventBus = new external_vue_default.a();
15559
15559
  //
15560
15560
  //
15561
15561
  //
15562
- //
15563
- //
15564
- //
15565
15562
 
15566
15563
  /* eslint-disable no-alert, no-console */
15567
15564
 
@@ -15583,12 +15580,6 @@ var _titleCase = function titleCase(str) {
15583
15580
  });
15584
15581
  };
15585
15582
 
15586
- var inArray = function inArray(ar1, ar2) {
15587
- var as1 = JSON.stringify(ar1);
15588
- var as2 = JSON.stringify(ar2);
15589
- return as1.indexOf(as2) !== -1;
15590
- };
15591
-
15592
15583
  var _capitalise = function capitalise(str) {
15593
15584
  if (str) return str.charAt(0).toUpperCase() + str.slice(1);
15594
15585
  return "";
@@ -15692,38 +15683,6 @@ var _capitalise = function capitalise(str) {
15692
15683
  pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
15693
15684
  this.pubmedSearchUrl = val;
15694
15685
  },
15695
- findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
15696
- var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
15697
-
15698
- var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
15699
-
15700
-
15701
- var found = [];
15702
- nodes.forEach(function (n) {
15703
- if (Array.isArray(n)) {
15704
- found.push(n.flat());
15705
- } else {
15706
- found.push(n);
15707
- }
15708
- });
15709
- return _toConsumableArray(new Set(found.flat()));
15710
- },
15711
- flattenConntectivity: function flattenConntectivity(connectivity) {
15712
- var dnodes = connectivity.flat(); // get nodes from edgelist
15713
-
15714
- var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
15715
-
15716
-
15717
- var found = [];
15718
- nodes.forEach(function (n) {
15719
- if (Array.isArray(n)) {
15720
- found.push(n.flat());
15721
- } else {
15722
- found.push(n);
15723
- }
15724
- });
15725
- return found.flat();
15726
- },
15727
15686
  findComponents: function findComponents(connectivity) {
15728
15687
  var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
15729
15688
 
@@ -15733,21 +15692,30 @@ var _capitalise = function capitalise(str) {
15733
15692
  var found = [];
15734
15693
  var terminal = false;
15735
15694
  nodes.forEach(function (node) {
15695
+ var n = node.flat(); // Find all terms on the node
15696
+
15736
15697
  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)
15737
15698
 
15738
- if (inArray(connectivity.axons, node)) {
15739
- terminal = true;
15740
- }
15699
+ n.forEach(function (s) {
15700
+ if (connectivity.axons.includes(s)) {
15701
+ terminal = true;
15702
+ }
15741
15703
 
15742
- if (inArray(connectivity.dendrites, node)) {
15743
- terminal = true;
15744
- }
15704
+ if (connectivity.dendrites.includes(s)) {
15705
+ terminal = true;
15706
+ }
15707
+ });
15745
15708
 
15746
15709
  if (!terminal) {
15747
15710
  found.push(node);
15748
15711
  }
15749
- });
15750
- return found;
15712
+ }); // remove duplicates
15713
+
15714
+ var foundUnique = _toConsumableArray(new Set(found.map(function (n) {
15715
+ return n[0];
15716
+ })));
15717
+
15718
+ return foundUnique;
15751
15719
  },
15752
15720
  getOrganCuries: function getOrganCuries() {
15753
15721
  var _this = this;
@@ -15814,36 +15782,8 @@ var _capitalise = function capitalise(str) {
15814
15782
  });
15815
15783
  });
15816
15784
  },
15817
- createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
15818
- var _this3 = this;
15819
-
15820
- var labelList = [];
15821
- components.forEach(function (n) {
15822
- labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
15823
-
15824
- if (n.length === 2) {
15825
- labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
15826
- }
15827
- });
15828
- return labelList;
15829
- },
15830
- createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
15831
- var label = lookUp[node[0]];
15832
-
15833
- if (node.length === 2 && node[1].length > 0) {
15834
- node[1].forEach(function (n) {
15835
- if (lookUp[n] == undefined) {
15836
- label += ", ".concat(n);
15837
- } else {
15838
- label += ", ".concat(lookUp[n]);
15839
- }
15840
- });
15841
- }
15842
-
15843
- return label;
15844
- },
15845
15785
  pathwayQuery: function pathwayQuery(keastIds) {
15846
- var _this4 = this;
15786
+ var _this3 = this;
15847
15787
 
15848
15788
  this.destinations = [];
15849
15789
  this.origins = [];
@@ -15862,47 +15802,36 @@ var _capitalise = function capitalise(str) {
15862
15802
  }).then(function (response) {
15863
15803
  return response.json();
15864
15804
  }).then(function (data) {
15865
- var connectivity = JSON.parse(data.values[0][0]); // Filter the origin and destinations from components
15866
-
15867
- var components = _this4.findComponents(connectivity); // process the nodes for finding datasets
15868
-
15869
-
15870
- var componentsFlat = _this4.flattenConntectivity(components);
15871
-
15872
- var axons = connectivity.axons;
15873
- var dendrites = connectivity.dendrites;
15874
-
15875
- var axonsFlat = _this4.flattenConntectivity(axons);
15805
+ var connectivity = JSON.parse(data.values[0][0]);
15876
15806
 
15877
- var dendritesFlat = _this4.flattenConntectivity(dendrites);
15807
+ var components = _this3.findComponents(connectivity); // Create list of ids to get labels for
15878
15808
 
15879
- var conIds = _this4.findAllIdsFromConnectivity(connectivity); // Create list of ids to get labels for
15880
- // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
15881
15809
 
15810
+ var conIds = connectivity.axons.concat(connectivity.dendrites.concat(components));
15882
15811
 
15883
- _this4.createLabelLookup(conIds).then(function (lookUp) {
15884
- _this4.destinations = axons.map(function (a) {
15885
- return _this4.createLabelFromNeuralNode(a, lookUp);
15812
+ _this3.createLabelLookup(conIds).then(function (lookUp) {
15813
+ _this3.destinations = connectivity.axons.map(function (a) {
15814
+ return lookUp[a];
15886
15815
  });
15887
- _this4.origins = dendrites.map(function (d) {
15888
- return _this4.createLabelFromNeuralNode(d, lookUp);
15816
+ _this3.origins = connectivity.dendrites.map(function (d) {
15817
+ return lookUp[d];
15889
15818
  });
15890
- _this4.components = components.map(function (c) {
15891
- return _this4.createLabelFromNeuralNode(c, lookUp);
15819
+ _this3.components = components.map(function (c) {
15820
+ return lookUp[c];
15892
15821
  });
15893
15822
  }); // Filter for the anatomy which is annotated on datasets
15894
15823
 
15895
15824
 
15896
- _this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
15897
- return axonsFlat.indexOf(ub.id) !== -1;
15825
+ _this3.destinationsWithDatasets = _this3.uberons.filter(function (ub) {
15826
+ return connectivity.axons.indexOf(ub.id) !== -1;
15898
15827
  });
15899
- _this4.originsWithDatasets = _this4.uberons.filter(function (ub) {
15900
- return dendritesFlat.indexOf(ub.id) !== -1;
15828
+ _this3.originsWithDatasets = _this3.uberons.filter(function (ub) {
15829
+ return connectivity.dendrites.indexOf(ub.id) !== -1;
15901
15830
  });
15902
- _this4.componentsWithDatasets = _this4.uberons.filter(function (ub) {
15903
- return componentsFlat.indexOf(ub.id) !== -1;
15831
+ _this3.componentsWithDatasets = _this3.uberons.filter(function (ub) {
15832
+ return connectivity.dendrites.indexOf(ub.id) !== -1;
15904
15833
  });
15905
- _this4.loading = false;
15834
+ _this3.loading = false;
15906
15835
  }).catch(function (error) {
15907
15836
  console.error('Error:', error);
15908
15837
  });
@@ -15911,8 +15840,8 @@ var _capitalise = function capitalise(str) {
15911
15840
  });
15912
15841
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
15913
15842
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
15914
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=b8a1a320&scoped=true&lang=scss&
15915
- var Tooltipvue_type_style_index_0_id_b8a1a320_scoped_true_lang_scss_ = __webpack_require__("b2d3");
15843
+ // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=1e355414&scoped=true&lang=scss&
15844
+ var Tooltipvue_type_style_index_0_id_1e355414_scoped_true_lang_scss_ = __webpack_require__("d006");
15916
15845
 
15917
15846
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
15918
15847
 
@@ -15925,11 +15854,11 @@ var Tooltipvue_type_style_index_0_id_b8a1a320_scoped_true_lang_scss_ = __webpack
15925
15854
 
15926
15855
  var Tooltip_component = normalizeComponent(
15927
15856
  components_Tooltipvue_type_script_lang_js_,
15928
- Tooltipvue_type_template_id_b8a1a320_scoped_true_render,
15929
- Tooltipvue_type_template_id_b8a1a320_scoped_true_staticRenderFns,
15857
+ Tooltipvue_type_template_id_1e355414_scoped_true_render,
15858
+ Tooltipvue_type_template_id_1e355414_scoped_true_staticRenderFns,
15930
15859
  false,
15931
15860
  null,
15932
- "b8a1a320",
15861
+ "1e355414",
15933
15862
  null
15934
15863
 
15935
15864
  )
@@ -16819,7 +16748,7 @@ var FlatmapVuer_component = normalizeComponent(
16819
16748
  )
16820
16749
 
16821
16750
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
16822
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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=61ad0a54&scoped=true&
16751
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"e512028c-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=61ad0a54&scoped=true&
16823
16752
  var MultiFlatmapVuervue_type_template_id_61ad0a54_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,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"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)}
16824
16753
  var MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_staticRenderFns = []
16825
16754