@abi-software/flatmapvuer 0.5.5 → 0.5.7-alpha
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 -379
- package/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +103 -96
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +103 -96
- 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 -1836
- package/src/components/MultiFlatmapVuer.vue +523 -523
- package/src/components/SelectionsGroup.vue +249 -249
- package/src/components/Tooltip.vue +422 -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 +420 -412
- package/vue.config.js +31 -31
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -1421,6 +1421,13 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
1421
1421
|
|
|
1422
1422
|
/***/ }),
|
|
1423
1423
|
|
|
1424
|
+
/***/ "4484":
|
|
1425
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1426
|
+
|
|
1427
|
+
// extracted by mini-css-extract-plugin
|
|
1428
|
+
|
|
1429
|
+
/***/ }),
|
|
1430
|
+
|
|
1424
1431
|
/***/ "450d":
|
|
1425
1432
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1426
1433
|
|
|
@@ -4163,13 +4170,6 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4163
4170
|
|
|
4164
4171
|
/***/ }),
|
|
4165
4172
|
|
|
4166
|
-
/***/ "5160":
|
|
4167
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4168
|
-
|
|
4169
|
-
// extracted by mini-css-extract-plugin
|
|
4170
|
-
|
|
4171
|
-
/***/ }),
|
|
4172
|
-
|
|
4173
4173
|
/***/ "5488":
|
|
4174
4174
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4175
4175
|
|
|
@@ -13018,17 +13018,6 @@ tag.install = function (Vue) {
|
|
|
13018
13018
|
|
|
13019
13019
|
module.exports = require("vue");
|
|
13020
13020
|
|
|
13021
|
-
/***/ }),
|
|
13022
|
-
|
|
13023
|
-
/***/ "9798":
|
|
13024
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13025
|
-
|
|
13026
|
-
"use strict";
|
|
13027
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_b64c3e1c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5160");
|
|
13028
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_b64c3e1c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_b64c3e1c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
13029
|
-
/* unused harmony reexport * */
|
|
13030
|
-
|
|
13031
|
-
|
|
13032
13021
|
/***/ }),
|
|
13033
13022
|
|
|
13034
13023
|
/***/ "97d3":
|
|
@@ -13670,6 +13659,17 @@ exports.default = {
|
|
|
13670
13659
|
|
|
13671
13660
|
// extracted by mini-css-extract-plugin
|
|
13672
13661
|
|
|
13662
|
+
/***/ }),
|
|
13663
|
+
|
|
13664
|
+
/***/ "c237":
|
|
13665
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13666
|
+
|
|
13667
|
+
"use strict";
|
|
13668
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_76169acb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4484");
|
|
13669
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_76169acb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_76169acb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
13670
|
+
/* unused harmony reexport * */
|
|
13671
|
+
|
|
13672
|
+
|
|
13673
13673
|
/***/ }),
|
|
13674
13674
|
|
|
13675
13675
|
/***/ "c2cc":
|
|
@@ -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;
|
|
@@ -18317,7 +18317,7 @@ var render = function render() {
|
|
|
18317
18317
|
};
|
|
18318
18318
|
var staticRenderFns = [];
|
|
18319
18319
|
|
|
18320
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
18320
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=76169acb&scoped=true&
|
|
18321
18321
|
|
|
18322
18322
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
18323
18323
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -18923,7 +18923,7 @@ 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":"
|
|
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=3440f7c4&scoped=true&
|
|
18927
18927
|
var Tooltipvue_type_template_id_3440f7c4_scoped_true_render = function render() {
|
|
18928
18928
|
var _vm = this,
|
|
18929
18929
|
_c = _vm._self._c;
|
|
@@ -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;
|
|
@@ -19483,7 +19483,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
19483
19483
|
)
|
|
19484
19484
|
|
|
19485
19485
|
/* 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":"
|
|
19486
|
+
// 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
19487
|
var SelectionsGroupvue_type_template_id_b125dcae_scoped_true_render = function render() {
|
|
19488
19488
|
var _vm = this,
|
|
19489
19489
|
_c = _vm._self._c;
|
|
@@ -19616,9 +19616,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
19616
19616
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
19617
19617
|
name: "SelectionsGroup",
|
|
19618
19618
|
methods: {
|
|
19619
|
-
/**
|
|
19620
|
-
* Function to toggle paths to default.
|
|
19621
|
-
* Also called when the associated button is pressed.
|
|
19619
|
+
/**
|
|
19620
|
+
* Function to toggle paths to default.
|
|
19621
|
+
* Also called when the associated button is pressed.
|
|
19622
19622
|
*/
|
|
19623
19623
|
reset: function reset() {
|
|
19624
19624
|
var _this = this;
|
|
@@ -19749,7 +19749,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
19749
19749
|
)
|
|
19750
19750
|
|
|
19751
19751
|
/* 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":"
|
|
19752
|
+
// 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
19753
|
var TreeControlsvue_type_template_id_4c70eb11_scoped_true_render = function render() {
|
|
19754
19754
|
var _vm = this,
|
|
19755
19755
|
_c = _vm._self._c;
|
|
@@ -19849,8 +19849,8 @@ external_vue_default.a.use(lib_color_picker_default.a);
|
|
|
19849
19849
|
external_vue_default.a.use(lib_row_default.a);
|
|
19850
19850
|
external_vue_default.a.use(lib_tree_default.a);
|
|
19851
19851
|
|
|
19852
|
-
/**
|
|
19853
|
-
* A vue component for toggling visibility of various regions.
|
|
19852
|
+
/**
|
|
19853
|
+
* A vue component for toggling visibility of various regions.
|
|
19854
19854
|
*/
|
|
19855
19855
|
/* harmony default export */ var TreeControlsvue_type_script_lang_js_ = ({
|
|
19856
19856
|
name: "TreeControls",
|
|
@@ -19945,7 +19945,7 @@ var TreeControls_component = normalizeComponent(
|
|
|
19945
19945
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
19946
19946
|
var svg_sprite_ = __webpack_require__("429c");
|
|
19947
19947
|
|
|
19948
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19948
|
+
// 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
19949
|
var SvgLegendsvue_type_template_id_863a3716_scoped_true_render = function render() {
|
|
19950
19950
|
var _vm = this,
|
|
19951
19951
|
_c = _vm._self._c;
|
|
@@ -20463,21 +20463,25 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20463
20463
|
var componentsFlat = this.flattenConntectivity(components);
|
|
20464
20464
|
var axonsFlat = this.flattenConntectivity(axons);
|
|
20465
20465
|
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
20466
|
+
console.log("uber in flattehn find datasets", this.uberons);
|
|
20467
|
+
window.uberons = this.uberons;
|
|
20468
|
+
window.componentsFlat = componentsFlat;
|
|
20466
20469
|
|
|
20467
20470
|
// Filter for the anatomy which is annotated on datasets
|
|
20468
20471
|
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
20469
|
-
return axonsFlat.indexOf(ub
|
|
20472
|
+
return axonsFlat.indexOf(ub) !== -1;
|
|
20470
20473
|
});
|
|
20471
20474
|
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
20472
|
-
return dendritesFlat.indexOf(ub
|
|
20475
|
+
return dendritesFlat.indexOf(ub) !== -1;
|
|
20473
20476
|
});
|
|
20474
20477
|
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
20475
|
-
return componentsFlat.indexOf(ub
|
|
20478
|
+
return componentsFlat.indexOf(ub) !== -1;
|
|
20476
20479
|
});
|
|
20477
20480
|
};
|
|
20478
20481
|
this.processConnectivity = function (connectivity) {
|
|
20479
20482
|
var _this4 = this;
|
|
20480
20483
|
return new Promise(function (resolve) {
|
|
20484
|
+
console.log(connectivity);
|
|
20481
20485
|
// Filter the origin and destinations from components
|
|
20482
20486
|
var components = _this4.findComponents(connectivity);
|
|
20483
20487
|
|
|
@@ -20487,9 +20491,11 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20487
20491
|
|
|
20488
20492
|
// Create list of ids to get labels for
|
|
20489
20493
|
var conIds = _this4.findAllIdsFromConnectivity(connectivity);
|
|
20494
|
+
console.log(conIds);
|
|
20490
20495
|
|
|
20491
20496
|
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
20492
20497
|
_this4.createLabelLookup(conIds).then(function (lookUp) {
|
|
20498
|
+
console.log("after label lookup", _this4.uberons);
|
|
20493
20499
|
_this4.destinations = axons.map(function (a) {
|
|
20494
20500
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
20495
20501
|
});
|
|
@@ -20784,8 +20790,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20784
20790
|
toggleDrawer: function toggleDrawer() {
|
|
20785
20791
|
this.drawerOpen = !this.drawerOpen;
|
|
20786
20792
|
},
|
|
20787
|
-
/**
|
|
20788
|
-
* Function to toggle colour/greyscale of organs.
|
|
20793
|
+
/**
|
|
20794
|
+
* Function to toggle colour/greyscale of organs.
|
|
20789
20795
|
*/
|
|
20790
20796
|
setColour: function setColour(flag) {
|
|
20791
20797
|
this.colourRadio = flag;
|
|
@@ -20796,8 +20802,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20796
20802
|
});
|
|
20797
20803
|
}
|
|
20798
20804
|
},
|
|
20799
|
-
/**
|
|
20800
|
-
* Function to toggle outlines f organs.
|
|
20805
|
+
/**
|
|
20806
|
+
* Function to toggle outlines f organs.
|
|
20801
20807
|
*/
|
|
20802
20808
|
setOutlines: function setOutlines(flag) {
|
|
20803
20809
|
this.outlineRadio = flag;
|
|
@@ -20808,9 +20814,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20808
20814
|
});
|
|
20809
20815
|
}
|
|
20810
20816
|
},
|
|
20811
|
-
/**
|
|
20812
|
-
* Function to toggle paths to default.
|
|
20813
|
-
* Also called when the associated button is pressed.
|
|
20817
|
+
/**
|
|
20818
|
+
* Function to toggle paths to default.
|
|
20819
|
+
* Also called when the associated button is pressed.
|
|
20814
20820
|
*/
|
|
20815
20821
|
resetView: function resetView() {
|
|
20816
20822
|
if (this.mapImp) {
|
|
@@ -20832,18 +20838,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20832
20838
|
}
|
|
20833
20839
|
}
|
|
20834
20840
|
},
|
|
20835
|
-
/**
|
|
20836
|
-
* Function to zoom in.
|
|
20837
|
-
* Also called when the associated button is pressed.
|
|
20841
|
+
/**
|
|
20842
|
+
* Function to zoom in.
|
|
20843
|
+
* Also called when the associated button is pressed.
|
|
20838
20844
|
*/
|
|
20839
20845
|
zoomIn: function zoomIn() {
|
|
20840
20846
|
if (this.mapImp) {
|
|
20841
20847
|
this.mapImp.zoomIn();
|
|
20842
20848
|
}
|
|
20843
20849
|
},
|
|
20844
|
-
/**
|
|
20845
|
-
* Function to zoom out.
|
|
20846
|
-
* Also called when the associated button is pressed.
|
|
20850
|
+
/**
|
|
20851
|
+
* Function to zoom out.
|
|
20852
|
+
* Also called when the associated button is pressed.
|
|
20847
20853
|
*/
|
|
20848
20854
|
zoomOut: function zoomOut() {
|
|
20849
20855
|
if (this.mapImp) {
|
|
@@ -20956,6 +20962,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20956
20962
|
if (data && data.type !== "marker" && eventType === "click") {
|
|
20957
20963
|
_this6.checkAndCreatePopups(payload);
|
|
20958
20964
|
}
|
|
20965
|
+
_this6.$emit("resource-selected", payload);
|
|
20959
20966
|
} else {
|
|
20960
20967
|
_this6.$emit("pan-zoom-callback", data);
|
|
20961
20968
|
}
|
|
@@ -21298,9 +21305,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21298
21305
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
21299
21306
|
this.drawerOpen = flag;
|
|
21300
21307
|
},
|
|
21301
|
-
/**
|
|
21302
|
-
* Function to display features with annotation matching the provided term,
|
|
21303
|
-
* with the option to display the label using displayLabel flag.
|
|
21308
|
+
/**
|
|
21309
|
+
* Function to display features with annotation matching the provided term,
|
|
21310
|
+
* with the option to display the label using displayLabel flag.
|
|
21304
21311
|
*/
|
|
21305
21312
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
21306
21313
|
if (this.mapImp) {
|
|
@@ -21325,8 +21332,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21325
21332
|
}
|
|
21326
21333
|
return false;
|
|
21327
21334
|
},
|
|
21328
|
-
/**
|
|
21329
|
-
* Get the list of suggested terms
|
|
21335
|
+
/**
|
|
21336
|
+
* Get the list of suggested terms
|
|
21330
21337
|
*/
|
|
21331
21338
|
searchSuggestions: function searchSuggestions(term) {
|
|
21332
21339
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -21379,9 +21386,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21379
21386
|
type: Boolean,
|
|
21380
21387
|
default: false
|
|
21381
21388
|
},
|
|
21382
|
-
/**
|
|
21383
|
-
* Flag to determine rather open map UI should be
|
|
21384
|
-
* presented or not.
|
|
21389
|
+
/**
|
|
21390
|
+
* Flag to determine rather open map UI should be
|
|
21391
|
+
* presented or not.
|
|
21385
21392
|
*/
|
|
21386
21393
|
enableOpenMapUI: {
|
|
21387
21394
|
type: Boolean,
|
|
@@ -21414,15 +21421,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21414
21421
|
type: String,
|
|
21415
21422
|
default: "'Observed In' controls and information are now included in AC maps. System control with FTU information has been added to the FC map."
|
|
21416
21423
|
},
|
|
21417
|
-
/**
|
|
21418
|
-
* State containing state of the flatmap.
|
|
21424
|
+
/**
|
|
21425
|
+
* State containing state of the flatmap.
|
|
21419
21426
|
*/
|
|
21420
21427
|
state: {
|
|
21421
21428
|
type: Object,
|
|
21422
21429
|
default: undefined
|
|
21423
21430
|
},
|
|
21424
|
-
/**
|
|
21425
|
-
* Specify the endpoint of the flatmap server.
|
|
21431
|
+
/**
|
|
21432
|
+
* Specify the endpoint of the flatmap server.
|
|
21426
21433
|
*/
|
|
21427
21434
|
flatmapAPI: {
|
|
21428
21435
|
type: String,
|
|
@@ -21531,8 +21538,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21531
21538
|
});
|
|
21532
21539
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
21533
21540
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
21534
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
21535
|
-
var
|
|
21541
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=76169acb&prod&scoped=true&lang=scss&
|
|
21542
|
+
var FlatmapVuervue_type_style_index_0_id_76169acb_prod_scoped_true_lang_scss_ = __webpack_require__("c237");
|
|
21536
21543
|
|
|
21537
21544
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
21538
21545
|
|
|
@@ -21549,13 +21556,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
21549
21556
|
staticRenderFns,
|
|
21550
21557
|
false,
|
|
21551
21558
|
null,
|
|
21552
|
-
"
|
|
21559
|
+
"76169acb",
|
|
21553
21560
|
null
|
|
21554
21561
|
|
|
21555
21562
|
)
|
|
21556
21563
|
|
|
21557
21564
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
21558
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21565
|
+
// 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&
|
|
21559
21566
|
var MultiFlatmapVuervue_type_template_id_8a1ab60a_scoped_true_render = function render() {
|
|
21560
21567
|
var _vm = this,
|
|
21561
21568
|
_c = _vm._self._c;
|
|
@@ -21861,11 +21868,11 @@ var TAXON_UUID = {
|
|
|
21861
21868
|
}
|
|
21862
21869
|
}
|
|
21863
21870
|
},
|
|
21864
|
-
/**
|
|
21865
|
-
* Function to switch to the latest existing map from
|
|
21866
|
-
* a legacy map of the same species.
|
|
21867
|
-
*
|
|
21868
|
-
* @private
|
|
21871
|
+
/**
|
|
21872
|
+
* Function to switch to the latest existing map from
|
|
21873
|
+
* a legacy map of the same species.
|
|
21874
|
+
*
|
|
21875
|
+
* @private
|
|
21869
21876
|
*/
|
|
21870
21877
|
viewLatestMap: function viewLatestMap(state) {
|
|
21871
21878
|
var keys = Object.keys(this.speciesList);
|
|
@@ -21877,10 +21884,10 @@ var TAXON_UUID = {
|
|
|
21877
21884
|
}
|
|
21878
21885
|
}
|
|
21879
21886
|
},
|
|
21880
|
-
/**
|
|
21881
|
-
* Create a legacy entry with the provided information
|
|
21882
|
-
*
|
|
21883
|
-
* @private
|
|
21887
|
+
/**
|
|
21888
|
+
* Create a legacy entry with the provided information
|
|
21889
|
+
*
|
|
21890
|
+
* @private
|
|
21884
21891
|
*/
|
|
21885
21892
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
21886
21893
|
if (uuid && taxo) {
|
|
@@ -21904,11 +21911,11 @@ var TAXON_UUID = {
|
|
|
21904
21911
|
};
|
|
21905
21912
|
}
|
|
21906
21913
|
},
|
|
21907
|
-
/**
|
|
21908
|
-
* Function used to translate the legacy map state to one that can be used in current
|
|
21909
|
-
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
21910
|
-
*
|
|
21911
|
-
* @private
|
|
21914
|
+
/**
|
|
21915
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
21916
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
21917
|
+
*
|
|
21918
|
+
* @private
|
|
21912
21919
|
*/
|
|
21913
21920
|
updateState: function updateState(state) {
|
|
21914
21921
|
var _this4 = this;
|
|
@@ -21949,11 +21956,11 @@ var TAXON_UUID = {
|
|
|
21949
21956
|
resolve(state);
|
|
21950
21957
|
});
|
|
21951
21958
|
},
|
|
21952
|
-
/**
|
|
21953
|
-
* Function used for getting the current states of the scene. This exported states
|
|
21954
|
-
* can be imported using the importStates method.
|
|
21955
|
-
*
|
|
21956
|
-
* @public
|
|
21959
|
+
/**
|
|
21960
|
+
* Function used for getting the current states of the scene. This exported states
|
|
21961
|
+
* can be imported using the importStates method.
|
|
21962
|
+
*
|
|
21963
|
+
* @public
|
|
21957
21964
|
*/
|
|
21958
21965
|
getState: function getState() {
|
|
21959
21966
|
var state = {
|
|
@@ -21964,11 +21971,11 @@ var TAXON_UUID = {
|
|
|
21964
21971
|
state.state = map.getState();
|
|
21965
21972
|
return state;
|
|
21966
21973
|
},
|
|
21967
|
-
/**
|
|
21968
|
-
* Function used for importing the states of the scene. This exported states
|
|
21969
|
-
* can be imported using the read states method.
|
|
21970
|
-
*
|
|
21971
|
-
* @public
|
|
21974
|
+
/**
|
|
21975
|
+
* Function used for importing the states of the scene. This exported states
|
|
21976
|
+
* can be imported using the read states method.
|
|
21977
|
+
*
|
|
21978
|
+
* @public
|
|
21972
21979
|
*/
|
|
21973
21980
|
setState: function setState(state) {
|
|
21974
21981
|
var _this5 = this;
|
|
@@ -22011,9 +22018,9 @@ var TAXON_UUID = {
|
|
|
22011
22018
|
type: Boolean,
|
|
22012
22019
|
default: false
|
|
22013
22020
|
},
|
|
22014
|
-
/**
|
|
22015
|
-
* Initial species for the flatmap.
|
|
22016
|
-
* This value will be ignored if a valid state object is provided.
|
|
22021
|
+
/**
|
|
22022
|
+
* Initial species for the flatmap.
|
|
22023
|
+
* This value will be ignored if a valid state object is provided.
|
|
22017
22024
|
*/
|
|
22018
22025
|
initial: {
|
|
22019
22026
|
type: String,
|
|
@@ -22035,9 +22042,9 @@ var TAXON_UUID = {
|
|
|
22035
22042
|
type: Boolean,
|
|
22036
22043
|
default: false
|
|
22037
22044
|
},
|
|
22038
|
-
/**
|
|
22039
|
-
* Flag to determine rather open map UI should be
|
|
22040
|
-
* presented or not.
|
|
22045
|
+
/**
|
|
22046
|
+
* Flag to determine rather open map UI should be
|
|
22047
|
+
* presented or not.
|
|
22041
22048
|
*/
|
|
22042
22049
|
enableOpenMapUI: {
|
|
22043
22050
|
type: Boolean,
|
|
@@ -22085,15 +22092,15 @@ var TAXON_UUID = {
|
|
|
22085
22092
|
};
|
|
22086
22093
|
}
|
|
22087
22094
|
},
|
|
22088
|
-
/**
|
|
22089
|
-
* State containing state of the flatmap.
|
|
22095
|
+
/**
|
|
22096
|
+
* State containing state of the flatmap.
|
|
22090
22097
|
*/
|
|
22091
22098
|
state: {
|
|
22092
22099
|
type: Object,
|
|
22093
22100
|
default: undefined
|
|
22094
22101
|
},
|
|
22095
|
-
/**
|
|
22096
|
-
* Specify the endpoint of the flatmap server.
|
|
22102
|
+
/**
|
|
22103
|
+
* Specify the endpoint of the flatmap server.
|
|
22097
22104
|
*/
|
|
22098
22105
|
flatmapAPI: {
|
|
22099
22106
|
type: String,
|