@abi-software/flatmapvuer 0.3.4 → 0.3.6-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.
@@ -4320,17 +4320,6 @@ src_select.install = function (Vue) {
4320
4320
 
4321
4321
  /******/ });
4322
4322
 
4323
- /***/ }),
4324
-
4325
- /***/ "5097":
4326
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4327
-
4328
- "use strict";
4329
- /* 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_09d0c8ed_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("559b");
4330
- /* 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_09d0c8ed_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_09d0c8ed_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
4331
- /* unused harmony reexport * */
4332
-
4333
-
4334
4323
  /***/ }),
4335
4324
 
4336
4325
  /***/ "5128":
@@ -4573,13 +4562,6 @@ exports.PopupManager = _popupManager2.default;
4573
4562
 
4574
4563
  /***/ }),
4575
4564
 
4576
- /***/ "559b":
4577
- /***/ (function(module, exports, __webpack_require__) {
4578
-
4579
- // extracted by mini-css-extract-plugin
4580
-
4581
- /***/ }),
4582
-
4583
4565
  /***/ "55d7":
4584
4566
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4585
4567
 
@@ -10542,6 +10524,17 @@ var isDefined = exports.isDefined = function isDefined(val) {
10542
10524
 
10543
10525
  module.exports = require("css-element-queries/src/ResizeSensor");
10544
10526
 
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
+
10545
10538
  /***/ }),
10546
10539
 
10547
10540
  /***/ "b2d6":
@@ -13190,6 +13183,13 @@ exports.default = {
13190
13183
 
13191
13184
  /***/ }),
13192
13185
 
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
 
@@ -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=09d0c8ed&scoped=true&
14953
- var Tooltipvue_type_template_id_09d0c8ed_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_09d0c8ed_scoped_true_staticRenderFns = []
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 = []
14955
14955
 
14956
14956
 
14957
- // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=09d0c8ed&scoped=true&
14957
+ // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=b8a1a320&scoped=true&
14958
14958
 
14959
14959
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
14960
14960
 
@@ -15559,6 +15559,9 @@ var EventBus = new external_vue_default.a();
15559
15559
  //
15560
15560
  //
15561
15561
  //
15562
+ //
15563
+ //
15564
+ //
15562
15565
 
15563
15566
  /* eslint-disable no-alert, no-console */
15564
15567
 
@@ -15580,6 +15583,12 @@ var _titleCase = function titleCase(str) {
15580
15583
  });
15581
15584
  };
15582
15585
 
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
+
15583
15592
  var _capitalise = function capitalise(str) {
15584
15593
  if (str) return str.charAt(0).toUpperCase() + str.slice(1);
15585
15594
  return "";
@@ -15683,6 +15692,38 @@ var _capitalise = function capitalise(str) {
15683
15692
  pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
15684
15693
  this.pubmedSearchUrl = val;
15685
15694
  },
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
+ },
15686
15727
  findComponents: function findComponents(connectivity) {
15687
15728
  var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
15688
15729
 
@@ -15692,30 +15733,21 @@ var _capitalise = function capitalise(str) {
15692
15733
  var found = [];
15693
15734
  var terminal = false;
15694
15735
  nodes.forEach(function (node) {
15695
- var n = node.flat(); // Find all terms on the node
15696
-
15697
15736
  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)
15698
15737
 
15699
- n.forEach(function (s) {
15700
- if (connectivity.axons.includes(s)) {
15701
- terminal = true;
15702
- }
15738
+ if (inArray(connectivity.axons, node)) {
15739
+ terminal = true;
15740
+ }
15703
15741
 
15704
- if (connectivity.dendrites.includes(s)) {
15705
- terminal = true;
15706
- }
15707
- });
15742
+ if (inArray(connectivity.dendrites, node)) {
15743
+ terminal = true;
15744
+ }
15708
15745
 
15709
15746
  if (!terminal) {
15710
15747
  found.push(node);
15711
15748
  }
15712
- }); // remove duplicates
15713
-
15714
- var foundUnique = _toConsumableArray(new Set(found.map(function (n) {
15715
- return n[0];
15716
- })));
15717
-
15718
- return foundUnique;
15749
+ });
15750
+ return found;
15719
15751
  },
15720
15752
  getOrganCuries: function getOrganCuries() {
15721
15753
  var _this = this;
@@ -15782,9 +15814,37 @@ var _capitalise = function capitalise(str) {
15782
15814
  });
15783
15815
  });
15784
15816
  },
15785
- pathwayQuery: function pathwayQuery(keastIds) {
15817
+ createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
15786
15818
  var _this3 = this;
15787
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
+ pathwayQuery: function pathwayQuery(keastIds) {
15846
+ var _this4 = this;
15847
+
15788
15848
  this.destinations = [];
15789
15849
  this.origins = [];
15790
15850
  this.components = [];
@@ -15802,44 +15862,47 @@ var _capitalise = function capitalise(str) {
15802
15862
  }).then(function (response) {
15803
15863
  return response.json();
15804
15864
  }).then(function (data) {
15805
- var connectivity = JSON.parse(data.values[0][0]);
15865
+ var connectivity = JSON.parse(data.values[0][0]); // Filter the origin and destinations from components
15806
15866
 
15807
- var components = _this3.findComponents(connectivity); // Create list of ids to get labels for
15867
+ var components = _this4.findComponents(connectivity); // process the nodes for finding datasets
15808
15868
 
15809
15869
 
15810
- window.connectivity = connectivity;
15811
- var axons = connectivity.axons.map(function (a) {
15812
- return a[0];
15813
- });
15814
- var dendrites = connectivity.dendrites.map(function (d) {
15815
- return d[0];
15816
- });
15817
- var conIds = axons.concat(dendrites.concat(components));
15818
- window.conIds = conIds;
15870
+ var componentsFlat = _this4.flattenConntectivity(components);
15871
+
15872
+ var axons = connectivity.axons;
15873
+ var dendrites = connectivity.dendrites;
15874
+
15875
+ var axonsFlat = _this4.flattenConntectivity(axons);
15876
+
15877
+ var dendritesFlat = _this4.flattenConntectivity(dendrites);
15878
+
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
+
15819
15882
 
15820
- _this3.createLabelLookup(conIds).then(function (lookUp) {
15821
- _this3.destinations = axons.map(function (a) {
15822
- return lookUp[a];
15883
+ _this4.createLabelLookup(conIds).then(function (lookUp) {
15884
+ _this4.destinations = axons.map(function (a) {
15885
+ return _this4.createLabelFromNeuralNode(a, lookUp);
15823
15886
  });
15824
- _this3.origins = dendrites.map(function (d) {
15825
- return lookUp[d];
15887
+ _this4.origins = dendrites.map(function (d) {
15888
+ return _this4.createLabelFromNeuralNode(d, lookUp);
15826
15889
  });
15827
- _this3.components = components.map(function (c) {
15828
- return lookUp[c];
15890
+ _this4.components = components.map(function (c) {
15891
+ return _this4.createLabelFromNeuralNode(c, lookUp);
15829
15892
  });
15830
15893
  }); // Filter for the anatomy which is annotated on datasets
15831
15894
 
15832
15895
 
15833
- _this3.destinationsWithDatasets = _this3.uberons.filter(function (ub) {
15834
- return axons.indexOf(ub.id) !== -1;
15896
+ _this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
15897
+ return axonsFlat.indexOf(ub.id) !== -1;
15835
15898
  });
15836
- _this3.originsWithDatasets = _this3.uberons.filter(function (ub) {
15837
- return dendrites.indexOf(ub.id) !== -1;
15899
+ _this4.originsWithDatasets = _this4.uberons.filter(function (ub) {
15900
+ return dendritesFlat.indexOf(ub.id) !== -1;
15838
15901
  });
15839
- _this3.componentsWithDatasets = _this3.uberons.filter(function (ub) {
15840
- return dendrites.indexOf(ub.id) !== -1;
15902
+ _this4.componentsWithDatasets = _this4.uberons.filter(function (ub) {
15903
+ return componentsFlat.indexOf(ub.id) !== -1;
15841
15904
  });
15842
- _this3.loading = false;
15905
+ _this4.loading = false;
15843
15906
  }).catch(function (error) {
15844
15907
  console.error('Error:', error);
15845
15908
  });
@@ -15848,8 +15911,8 @@ var _capitalise = function capitalise(str) {
15848
15911
  });
15849
15912
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
15850
15913
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
15851
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=09d0c8ed&scoped=true&lang=scss&
15852
- var Tooltipvue_type_style_index_0_id_09d0c8ed_scoped_true_lang_scss_ = __webpack_require__("5097");
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");
15853
15916
 
15854
15917
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
15855
15918
 
@@ -15862,11 +15925,11 @@ var Tooltipvue_type_style_index_0_id_09d0c8ed_scoped_true_lang_scss_ = __webpack
15862
15925
 
15863
15926
  var Tooltip_component = normalizeComponent(
15864
15927
  components_Tooltipvue_type_script_lang_js_,
15865
- Tooltipvue_type_template_id_09d0c8ed_scoped_true_render,
15866
- Tooltipvue_type_template_id_09d0c8ed_scoped_true_staticRenderFns,
15928
+ Tooltipvue_type_template_id_b8a1a320_scoped_true_render,
15929
+ Tooltipvue_type_template_id_b8a1a320_scoped_true_staticRenderFns,
15867
15930
  false,
15868
15931
  null,
15869
- "09d0c8ed",
15932
+ "b8a1a320",
15870
15933
  null
15871
15934
 
15872
15935
  )