@abi-software/flatmapvuer 0.5.6 → 0.5.7-alpha.2
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.
- package/CHANGELOG.md +385 -385
- package/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +106 -108
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +106 -108
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +2 -2
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +14390 -14390
- package/package.json +78 -78
- package/public/index.html +17 -17
- package/src/App.vue +226 -226
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +2 -2
- package/src/components/ExternalResourceCard.vue +98 -98
- package/src/components/FlatmapVuer.vue +1837 -1837
- package/src/components/MultiFlatmapVuer.vue +523 -523
- package/src/components/SelectionsGroup.vue +249 -249
- package/src/components/Tooltip.vue +417 -422
- package/src/components/TreeControls.vue +231 -231
- package/src/components/index.js +9 -9
- package/src/components/legends/DynamicLegends.vue +112 -112
- package/src/components/legends/SvgLegends.vue +66 -66
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/legends/legend.svg +25 -25
- package/src/main.js +8 -8
- package/src/nerve-map.js +99 -0
- package/src/services/flatmapQueries.js +415 -412
- package/vue.config.js +31 -31
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -101,6 +101,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
101
101
|
|
|
102
102
|
// extracted by mini-css-extract-plugin
|
|
103
103
|
|
|
104
|
+
/***/ }),
|
|
105
|
+
|
|
106
|
+
/***/ "0838":
|
|
107
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
108
|
+
|
|
109
|
+
"use strict";
|
|
110
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_1b717f3e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a5ca");
|
|
111
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_1b717f3e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_1b717f3e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
112
|
+
/* unused harmony reexport * */
|
|
113
|
+
|
|
114
|
+
|
|
104
115
|
/***/ }),
|
|
105
116
|
|
|
106
117
|
/***/ "0e78":
|
|
@@ -12047,13 +12058,6 @@ module.exports = require("throttle-debounce");
|
|
|
12047
12058
|
|
|
12048
12059
|
/***/ }),
|
|
12049
12060
|
|
|
12050
|
-
/***/ "8491":
|
|
12051
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
12052
|
-
|
|
12053
|
-
// extracted by mini-css-extract-plugin
|
|
12054
|
-
|
|
12055
|
-
/***/ }),
|
|
12056
|
-
|
|
12057
12061
|
/***/ "8535":
|
|
12058
12062
|
/***/ (function(module, exports) {
|
|
12059
12063
|
|
|
@@ -13402,6 +13406,13 @@ icon.install = function (Vue) {
|
|
|
13402
13406
|
|
|
13403
13407
|
/***/ }),
|
|
13404
13408
|
|
|
13409
|
+
/***/ "a5ca":
|
|
13410
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13411
|
+
|
|
13412
|
+
// extracted by mini-css-extract-plugin
|
|
13413
|
+
|
|
13414
|
+
/***/ }),
|
|
13415
|
+
|
|
13405
13416
|
/***/ "a673":
|
|
13406
13417
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13407
13418
|
|
|
@@ -17185,17 +17196,6 @@ module.exports = __webpack_require__("7f4d");
|
|
|
17185
17196
|
|
|
17186
17197
|
/******/ });
|
|
17187
17198
|
|
|
17188
|
-
/***/ }),
|
|
17189
|
-
|
|
17190
|
-
/***/ "f476":
|
|
17191
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17192
|
-
|
|
17193
|
-
"use strict";
|
|
17194
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_3440f7c4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8491");
|
|
17195
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_3440f7c4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_3440f7c4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
17196
|
-
/* unused harmony reexport * */
|
|
17197
|
-
|
|
17198
|
-
|
|
17199
17199
|
/***/ }),
|
|
17200
17200
|
|
|
17201
17201
|
/***/ "f494":
|
|
@@ -17749,7 +17749,7 @@ if (typeof window !== 'undefined') {
|
|
|
17749
17749
|
// Indicate to webpack that this file can be concatenated
|
|
17750
17750
|
/* harmony default export */ var setPublicPath = (null);
|
|
17751
17751
|
|
|
17752
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17752
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28e619b9-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=76169acb&scoped=true&
|
|
17753
17753
|
var render = function render() {
|
|
17754
17754
|
var _vm = this,
|
|
17755
17755
|
_c = _vm._self._c;
|
|
@@ -18923,8 +18923,8 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
18923
18923
|
var external_vue_ = __webpack_require__("8bbf");
|
|
18924
18924
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
18925
18925
|
|
|
18926
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18927
|
-
var
|
|
18926
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28e619b9-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=1b717f3e&scoped=true&
|
|
18927
|
+
var Tooltipvue_type_template_id_1b717f3e_scoped_true_render = function render() {
|
|
18928
18928
|
var _vm = this,
|
|
18929
18929
|
_c = _vm._self._c;
|
|
18930
18930
|
return _c('div', {
|
|
@@ -19055,9 +19055,9 @@ var Tooltipvue_type_template_id_3440f7c4_scoped_true_render = function render()
|
|
|
19055
19055
|
}
|
|
19056
19056
|
})], 1)]) : _vm._e()], 1);
|
|
19057
19057
|
};
|
|
19058
|
-
var
|
|
19058
|
+
var Tooltipvue_type_template_id_1b717f3e_scoped_true_staticRenderFns = [];
|
|
19059
19059
|
|
|
19060
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=
|
|
19060
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=1b717f3e&scoped=true&
|
|
19061
19061
|
|
|
19062
19062
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
19063
19063
|
var main = __webpack_require__("de31");
|
|
@@ -19111,7 +19111,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
|
19111
19111
|
|
|
19112
19112
|
var EventBus = new external_vue_default.a();
|
|
19113
19113
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
19114
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19114
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28e619b9-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
|
|
19115
19115
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
19116
19116
|
var _vm = this,
|
|
19117
19117
|
_c = _vm._self._c;
|
|
@@ -19374,11 +19374,6 @@ var _capitalise = function capitalise(str) {
|
|
|
19374
19374
|
pubmedSearchUrl: '',
|
|
19375
19375
|
loading: false,
|
|
19376
19376
|
showToolip: false,
|
|
19377
|
-
destinations: [],
|
|
19378
|
-
origins: [],
|
|
19379
|
-
components: [],
|
|
19380
|
-
destinationsWithDatasets: [],
|
|
19381
|
-
originsWithDatasets: [],
|
|
19382
19377
|
originDescriptions: {
|
|
19383
19378
|
'motor': 'is the location of the initial cell body of the circuit',
|
|
19384
19379
|
'sensory': 'is the location of the initial cell body in the PNS circuit'
|
|
@@ -19431,7 +19426,7 @@ var _capitalise = function capitalise(str) {
|
|
|
19431
19426
|
openAll: function openAll() {
|
|
19432
19427
|
components_EventBus.$emit('onActionClick', {
|
|
19433
19428
|
type: 'Facets',
|
|
19434
|
-
labels: this.componentsWithDatasets.map(function (a) {
|
|
19429
|
+
labels: this.entry.componentsWithDatasets.map(function (a) {
|
|
19435
19430
|
return a.name;
|
|
19436
19431
|
})
|
|
19437
19432
|
});
|
|
@@ -19439,7 +19434,7 @@ var _capitalise = function capitalise(str) {
|
|
|
19439
19434
|
openAxons: function openAxons() {
|
|
19440
19435
|
components_EventBus.$emit('onActionClick', {
|
|
19441
19436
|
type: 'Facets',
|
|
19442
|
-
labels: this.destinationsWithDatasets.map(function (a) {
|
|
19437
|
+
labels: this.entry.destinationsWithDatasets.map(function (a) {
|
|
19443
19438
|
return a.name;
|
|
19444
19439
|
})
|
|
19445
19440
|
});
|
|
@@ -19447,7 +19442,7 @@ var _capitalise = function capitalise(str) {
|
|
|
19447
19442
|
openDendrites: function openDendrites() {
|
|
19448
19443
|
components_EventBus.$emit('onActionClick', {
|
|
19449
19444
|
type: 'Facets',
|
|
19450
|
-
labels: this.originsWithDatasets.map(function (a) {
|
|
19445
|
+
labels: this.entry.originsWithDatasets.map(function (a) {
|
|
19451
19446
|
return a.name;
|
|
19452
19447
|
})
|
|
19453
19448
|
});
|
|
@@ -19459,8 +19454,8 @@ var _capitalise = function capitalise(str) {
|
|
|
19459
19454
|
});
|
|
19460
19455
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
19461
19456
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
19462
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
19463
|
-
var
|
|
19457
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=1b717f3e&prod&scoped=true&lang=scss&
|
|
19458
|
+
var Tooltipvue_type_style_index_0_id_1b717f3e_prod_scoped_true_lang_scss_ = __webpack_require__("0838");
|
|
19464
19459
|
|
|
19465
19460
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
19466
19461
|
|
|
@@ -19473,17 +19468,17 @@ var Tooltipvue_type_style_index_0_id_3440f7c4_prod_scoped_true_lang_scss_ = __we
|
|
|
19473
19468
|
|
|
19474
19469
|
var Tooltip_component = normalizeComponent(
|
|
19475
19470
|
components_Tooltipvue_type_script_lang_js_,
|
|
19476
|
-
|
|
19477
|
-
|
|
19471
|
+
Tooltipvue_type_template_id_1b717f3e_scoped_true_render,
|
|
19472
|
+
Tooltipvue_type_template_id_1b717f3e_scoped_true_staticRenderFns,
|
|
19478
19473
|
false,
|
|
19479
19474
|
null,
|
|
19480
|
-
"
|
|
19475
|
+
"1b717f3e",
|
|
19481
19476
|
null
|
|
19482
19477
|
|
|
19483
19478
|
)
|
|
19484
19479
|
|
|
19485
19480
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
19486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19481
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28e619b9-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectionsGroup.vue?vue&type=template&id=b125dcae&scoped=true&
|
|
19487
19482
|
var SelectionsGroupvue_type_template_id_b125dcae_scoped_true_render = function render() {
|
|
19488
19483
|
var _vm = this,
|
|
19489
19484
|
_c = _vm._self._c;
|
|
@@ -19616,9 +19611,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
19616
19611
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
19617
19612
|
name: "SelectionsGroup",
|
|
19618
19613
|
methods: {
|
|
19619
|
-
/**
|
|
19620
|
-
* Function to toggle paths to default.
|
|
19621
|
-
* Also called when the associated button is pressed.
|
|
19614
|
+
/**
|
|
19615
|
+
* Function to toggle paths to default.
|
|
19616
|
+
* Also called when the associated button is pressed.
|
|
19622
19617
|
*/
|
|
19623
19618
|
reset: function reset() {
|
|
19624
19619
|
var _this = this;
|
|
@@ -19749,7 +19744,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
19749
19744
|
)
|
|
19750
19745
|
|
|
19751
19746
|
/* harmony default export */ var SelectionsGroup = (SelectionsGroup_component.exports);
|
|
19752
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19747
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28e619b9-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TreeControls.vue?vue&type=template&id=4c70eb11&scoped=true&
|
|
19753
19748
|
var TreeControlsvue_type_template_id_4c70eb11_scoped_true_render = function render() {
|
|
19754
19749
|
var _vm = this,
|
|
19755
19750
|
_c = _vm._self._c;
|
|
@@ -19849,8 +19844,8 @@ external_vue_default.a.use(lib_color_picker_default.a);
|
|
|
19849
19844
|
external_vue_default.a.use(lib_row_default.a);
|
|
19850
19845
|
external_vue_default.a.use(lib_tree_default.a);
|
|
19851
19846
|
|
|
19852
|
-
/**
|
|
19853
|
-
* A vue component for toggling visibility of various regions.
|
|
19847
|
+
/**
|
|
19848
|
+
* A vue component for toggling visibility of various regions.
|
|
19854
19849
|
*/
|
|
19855
19850
|
/* harmony default export */ var TreeControlsvue_type_script_lang_js_ = ({
|
|
19856
19851
|
name: "TreeControls",
|
|
@@ -19945,7 +19940,7 @@ var TreeControls_component = normalizeComponent(
|
|
|
19945
19940
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
19946
19941
|
var svg_sprite_ = __webpack_require__("429c");
|
|
19947
19942
|
|
|
19948
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19943
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28e619b9-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/SvgLegends.vue?vue&type=template&id=863a3716&scoped=true&
|
|
19949
19944
|
var SvgLegendsvue_type_template_id_863a3716_scoped_true_render = function render() {
|
|
19950
19945
|
var _vm = this,
|
|
19951
19946
|
_c = _vm._self._c;
|
|
@@ -20188,7 +20183,6 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20188
20183
|
this.destinations = [];
|
|
20189
20184
|
this.origins = [];
|
|
20190
20185
|
this.components = [];
|
|
20191
|
-
this.uberons = [];
|
|
20192
20186
|
this.urls = [];
|
|
20193
20187
|
this.controller = undefined;
|
|
20194
20188
|
this.uberons = [];
|
|
@@ -20275,6 +20269,7 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20275
20269
|
var _this2 = this;
|
|
20276
20270
|
return new Promise(function (resolve) {
|
|
20277
20271
|
var uberonMap = {};
|
|
20272
|
+
_this2.uberons = [];
|
|
20278
20273
|
var data = {
|
|
20279
20274
|
sql: _this2.buildLabelSqlStatement(uberons)
|
|
20280
20275
|
};
|
|
@@ -20292,6 +20287,10 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20292
20287
|
if (entity > -1 && label > -1) {
|
|
20293
20288
|
payload.values.forEach(function (pair) {
|
|
20294
20289
|
uberonMap[pair[entity]] = pair[label];
|
|
20290
|
+
_this2.uberons.push({
|
|
20291
|
+
id: pair[entity],
|
|
20292
|
+
name: pair[label]
|
|
20293
|
+
});
|
|
20295
20294
|
});
|
|
20296
20295
|
}
|
|
20297
20296
|
resolve(uberonMap);
|
|
@@ -20331,8 +20330,7 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20331
20330
|
found.push(n);
|
|
20332
20331
|
}
|
|
20333
20332
|
});
|
|
20334
|
-
|
|
20335
|
-
return this.uberons;
|
|
20333
|
+
return _toConsumableArray(new Set(found.flat()));
|
|
20336
20334
|
};
|
|
20337
20335
|
this.flattenConntectivity = function (connectivity) {
|
|
20338
20336
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
@@ -20784,8 +20782,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20784
20782
|
toggleDrawer: function toggleDrawer() {
|
|
20785
20783
|
this.drawerOpen = !this.drawerOpen;
|
|
20786
20784
|
},
|
|
20787
|
-
/**
|
|
20788
|
-
* Function to toggle colour/greyscale of organs.
|
|
20785
|
+
/**
|
|
20786
|
+
* Function to toggle colour/greyscale of organs.
|
|
20789
20787
|
*/
|
|
20790
20788
|
setColour: function setColour(flag) {
|
|
20791
20789
|
this.colourRadio = flag;
|
|
@@ -20796,8 +20794,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20796
20794
|
});
|
|
20797
20795
|
}
|
|
20798
20796
|
},
|
|
20799
|
-
/**
|
|
20800
|
-
* Function to toggle outlines f organs.
|
|
20797
|
+
/**
|
|
20798
|
+
* Function to toggle outlines f organs.
|
|
20801
20799
|
*/
|
|
20802
20800
|
setOutlines: function setOutlines(flag) {
|
|
20803
20801
|
this.outlineRadio = flag;
|
|
@@ -20808,9 +20806,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20808
20806
|
});
|
|
20809
20807
|
}
|
|
20810
20808
|
},
|
|
20811
|
-
/**
|
|
20812
|
-
* Function to toggle paths to default.
|
|
20813
|
-
* Also called when the associated button is pressed.
|
|
20809
|
+
/**
|
|
20810
|
+
* Function to toggle paths to default.
|
|
20811
|
+
* Also called when the associated button is pressed.
|
|
20814
20812
|
*/
|
|
20815
20813
|
resetView: function resetView() {
|
|
20816
20814
|
if (this.mapImp) {
|
|
@@ -20832,18 +20830,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20832
20830
|
}
|
|
20833
20831
|
}
|
|
20834
20832
|
},
|
|
20835
|
-
/**
|
|
20836
|
-
* Function to zoom in.
|
|
20837
|
-
* Also called when the associated button is pressed.
|
|
20833
|
+
/**
|
|
20834
|
+
* Function to zoom in.
|
|
20835
|
+
* Also called when the associated button is pressed.
|
|
20838
20836
|
*/
|
|
20839
20837
|
zoomIn: function zoomIn() {
|
|
20840
20838
|
if (this.mapImp) {
|
|
20841
20839
|
this.mapImp.zoomIn();
|
|
20842
20840
|
}
|
|
20843
20841
|
},
|
|
20844
|
-
/**
|
|
20845
|
-
* Function to zoom out.
|
|
20846
|
-
* Also called when the associated button is pressed.
|
|
20842
|
+
/**
|
|
20843
|
+
* Function to zoom out.
|
|
20844
|
+
* Also called when the associated button is pressed.
|
|
20847
20845
|
*/
|
|
20848
20846
|
zoomOut: function zoomOut() {
|
|
20849
20847
|
if (this.mapImp) {
|
|
@@ -21299,9 +21297,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21299
21297
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
21300
21298
|
this.drawerOpen = flag;
|
|
21301
21299
|
},
|
|
21302
|
-
/**
|
|
21303
|
-
* Function to display features with annotation matching the provided term,
|
|
21304
|
-
* with the option to display the label using displayLabel flag.
|
|
21300
|
+
/**
|
|
21301
|
+
* Function to display features with annotation matching the provided term,
|
|
21302
|
+
* with the option to display the label using displayLabel flag.
|
|
21305
21303
|
*/
|
|
21306
21304
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
21307
21305
|
if (this.mapImp) {
|
|
@@ -21326,8 +21324,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21326
21324
|
}
|
|
21327
21325
|
return false;
|
|
21328
21326
|
},
|
|
21329
|
-
/**
|
|
21330
|
-
* Get the list of suggested terms
|
|
21327
|
+
/**
|
|
21328
|
+
* Get the list of suggested terms
|
|
21331
21329
|
*/
|
|
21332
21330
|
searchSuggestions: function searchSuggestions(term) {
|
|
21333
21331
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -21380,9 +21378,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21380
21378
|
type: Boolean,
|
|
21381
21379
|
default: false
|
|
21382
21380
|
},
|
|
21383
|
-
/**
|
|
21384
|
-
* Flag to determine rather open map UI should be
|
|
21385
|
-
* presented or not.
|
|
21381
|
+
/**
|
|
21382
|
+
* Flag to determine rather open map UI should be
|
|
21383
|
+
* presented or not.
|
|
21386
21384
|
*/
|
|
21387
21385
|
enableOpenMapUI: {
|
|
21388
21386
|
type: Boolean,
|
|
@@ -21415,15 +21413,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21415
21413
|
type: String,
|
|
21416
21414
|
default: "'Observed In' controls and information are now included in AC maps. System control with FTU information has been added to the FC map."
|
|
21417
21415
|
},
|
|
21418
|
-
/**
|
|
21419
|
-
* State containing state of the flatmap.
|
|
21416
|
+
/**
|
|
21417
|
+
* State containing state of the flatmap.
|
|
21420
21418
|
*/
|
|
21421
21419
|
state: {
|
|
21422
21420
|
type: Object,
|
|
21423
21421
|
default: undefined
|
|
21424
21422
|
},
|
|
21425
|
-
/**
|
|
21426
|
-
* Specify the endpoint of the flatmap server.
|
|
21423
|
+
/**
|
|
21424
|
+
* Specify the endpoint of the flatmap server.
|
|
21427
21425
|
*/
|
|
21428
21426
|
flatmapAPI: {
|
|
21429
21427
|
type: String,
|
|
@@ -21556,7 +21554,7 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
21556
21554
|
)
|
|
21557
21555
|
|
|
21558
21556
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
21559
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21557
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28e619b9-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=8a1ab60a&scoped=true&
|
|
21560
21558
|
var MultiFlatmapVuervue_type_template_id_8a1ab60a_scoped_true_render = function render() {
|
|
21561
21559
|
var _vm = this,
|
|
21562
21560
|
_c = _vm._self._c;
|
|
@@ -21862,11 +21860,11 @@ var TAXON_UUID = {
|
|
|
21862
21860
|
}
|
|
21863
21861
|
}
|
|
21864
21862
|
},
|
|
21865
|
-
/**
|
|
21866
|
-
* Function to switch to the latest existing map from
|
|
21867
|
-
* a legacy map of the same species.
|
|
21868
|
-
*
|
|
21869
|
-
* @private
|
|
21863
|
+
/**
|
|
21864
|
+
* Function to switch to the latest existing map from
|
|
21865
|
+
* a legacy map of the same species.
|
|
21866
|
+
*
|
|
21867
|
+
* @private
|
|
21870
21868
|
*/
|
|
21871
21869
|
viewLatestMap: function viewLatestMap(state) {
|
|
21872
21870
|
var keys = Object.keys(this.speciesList);
|
|
@@ -21878,10 +21876,10 @@ var TAXON_UUID = {
|
|
|
21878
21876
|
}
|
|
21879
21877
|
}
|
|
21880
21878
|
},
|
|
21881
|
-
/**
|
|
21882
|
-
* Create a legacy entry with the provided information
|
|
21883
|
-
*
|
|
21884
|
-
* @private
|
|
21879
|
+
/**
|
|
21880
|
+
* Create a legacy entry with the provided information
|
|
21881
|
+
*
|
|
21882
|
+
* @private
|
|
21885
21883
|
*/
|
|
21886
21884
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
21887
21885
|
if (uuid && taxo) {
|
|
@@ -21905,11 +21903,11 @@ var TAXON_UUID = {
|
|
|
21905
21903
|
};
|
|
21906
21904
|
}
|
|
21907
21905
|
},
|
|
21908
|
-
/**
|
|
21909
|
-
* Function used to translate the legacy map state to one that can be used in current
|
|
21910
|
-
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
21911
|
-
*
|
|
21912
|
-
* @private
|
|
21906
|
+
/**
|
|
21907
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
21908
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
21909
|
+
*
|
|
21910
|
+
* @private
|
|
21913
21911
|
*/
|
|
21914
21912
|
updateState: function updateState(state) {
|
|
21915
21913
|
var _this4 = this;
|
|
@@ -21950,11 +21948,11 @@ var TAXON_UUID = {
|
|
|
21950
21948
|
resolve(state);
|
|
21951
21949
|
});
|
|
21952
21950
|
},
|
|
21953
|
-
/**
|
|
21954
|
-
* Function used for getting the current states of the scene. This exported states
|
|
21955
|
-
* can be imported using the importStates method.
|
|
21956
|
-
*
|
|
21957
|
-
* @public
|
|
21951
|
+
/**
|
|
21952
|
+
* Function used for getting the current states of the scene. This exported states
|
|
21953
|
+
* can be imported using the importStates method.
|
|
21954
|
+
*
|
|
21955
|
+
* @public
|
|
21958
21956
|
*/
|
|
21959
21957
|
getState: function getState() {
|
|
21960
21958
|
var state = {
|
|
@@ -21965,11 +21963,11 @@ var TAXON_UUID = {
|
|
|
21965
21963
|
state.state = map.getState();
|
|
21966
21964
|
return state;
|
|
21967
21965
|
},
|
|
21968
|
-
/**
|
|
21969
|
-
* Function used for importing the states of the scene. This exported states
|
|
21970
|
-
* can be imported using the read states method.
|
|
21971
|
-
*
|
|
21972
|
-
* @public
|
|
21966
|
+
/**
|
|
21967
|
+
* Function used for importing the states of the scene. This exported states
|
|
21968
|
+
* can be imported using the read states method.
|
|
21969
|
+
*
|
|
21970
|
+
* @public
|
|
21973
21971
|
*/
|
|
21974
21972
|
setState: function setState(state) {
|
|
21975
21973
|
var _this5 = this;
|
|
@@ -22012,9 +22010,9 @@ var TAXON_UUID = {
|
|
|
22012
22010
|
type: Boolean,
|
|
22013
22011
|
default: false
|
|
22014
22012
|
},
|
|
22015
|
-
/**
|
|
22016
|
-
* Initial species for the flatmap.
|
|
22017
|
-
* This value will be ignored if a valid state object is provided.
|
|
22013
|
+
/**
|
|
22014
|
+
* Initial species for the flatmap.
|
|
22015
|
+
* This value will be ignored if a valid state object is provided.
|
|
22018
22016
|
*/
|
|
22019
22017
|
initial: {
|
|
22020
22018
|
type: String,
|
|
@@ -22036,9 +22034,9 @@ var TAXON_UUID = {
|
|
|
22036
22034
|
type: Boolean,
|
|
22037
22035
|
default: false
|
|
22038
22036
|
},
|
|
22039
|
-
/**
|
|
22040
|
-
* Flag to determine rather open map UI should be
|
|
22041
|
-
* presented or not.
|
|
22037
|
+
/**
|
|
22038
|
+
* Flag to determine rather open map UI should be
|
|
22039
|
+
* presented or not.
|
|
22042
22040
|
*/
|
|
22043
22041
|
enableOpenMapUI: {
|
|
22044
22042
|
type: Boolean,
|
|
@@ -22086,15 +22084,15 @@ var TAXON_UUID = {
|
|
|
22086
22084
|
};
|
|
22087
22085
|
}
|
|
22088
22086
|
},
|
|
22089
|
-
/**
|
|
22090
|
-
* State containing state of the flatmap.
|
|
22087
|
+
/**
|
|
22088
|
+
* State containing state of the flatmap.
|
|
22091
22089
|
*/
|
|
22092
22090
|
state: {
|
|
22093
22091
|
type: Object,
|
|
22094
22092
|
default: undefined
|
|
22095
22093
|
},
|
|
22096
|
-
/**
|
|
22097
|
-
* Specify the endpoint of the flatmap server.
|
|
22094
|
+
/**
|
|
22095
|
+
* Specify the endpoint of the flatmap server.
|
|
22098
22096
|
*/
|
|
22099
22097
|
flatmapAPI: {
|
|
22100
22098
|
type: String,
|