@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
|
@@ -1412,6 +1412,13 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
1412
1412
|
|
|
1413
1413
|
/***/ }),
|
|
1414
1414
|
|
|
1415
|
+
/***/ "4484":
|
|
1416
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1417
|
+
|
|
1418
|
+
// extracted by mini-css-extract-plugin
|
|
1419
|
+
|
|
1420
|
+
/***/ }),
|
|
1421
|
+
|
|
1415
1422
|
/***/ "450d":
|
|
1416
1423
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1417
1424
|
|
|
@@ -4154,13 +4161,6 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4154
4161
|
|
|
4155
4162
|
/***/ }),
|
|
4156
4163
|
|
|
4157
|
-
/***/ "5160":
|
|
4158
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4159
|
-
|
|
4160
|
-
// extracted by mini-css-extract-plugin
|
|
4161
|
-
|
|
4162
|
-
/***/ }),
|
|
4163
|
-
|
|
4164
4164
|
/***/ "5488":
|
|
4165
4165
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4166
4166
|
|
|
@@ -13009,17 +13009,6 @@ tag.install = function (Vue) {
|
|
|
13009
13009
|
|
|
13010
13010
|
module.exports = require("vue");
|
|
13011
13011
|
|
|
13012
|
-
/***/ }),
|
|
13013
|
-
|
|
13014
|
-
/***/ "9798":
|
|
13015
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13016
|
-
|
|
13017
|
-
"use strict";
|
|
13018
|
-
/* 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");
|
|
13019
|
-
/* 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__);
|
|
13020
|
-
/* unused harmony reexport * */
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
13012
|
/***/ }),
|
|
13024
13013
|
|
|
13025
13014
|
/***/ "97d3":
|
|
@@ -13661,6 +13650,17 @@ exports.default = {
|
|
|
13661
13650
|
|
|
13662
13651
|
// extracted by mini-css-extract-plugin
|
|
13663
13652
|
|
|
13653
|
+
/***/ }),
|
|
13654
|
+
|
|
13655
|
+
/***/ "c237":
|
|
13656
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13657
|
+
|
|
13658
|
+
"use strict";
|
|
13659
|
+
/* 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");
|
|
13660
|
+
/* 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__);
|
|
13661
|
+
/* unused harmony reexport * */
|
|
13662
|
+
|
|
13663
|
+
|
|
13664
13664
|
/***/ }),
|
|
13665
13665
|
|
|
13666
13666
|
/***/ "c2cc":
|
|
@@ -17740,7 +17740,7 @@ if (typeof window !== 'undefined') {
|
|
|
17740
17740
|
// Indicate to webpack that this file can be concatenated
|
|
17741
17741
|
/* harmony default export */ var setPublicPath = (null);
|
|
17742
17742
|
|
|
17743
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
17743
|
+
// 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&
|
|
17744
17744
|
var render = function render() {
|
|
17745
17745
|
var _vm = this,
|
|
17746
17746
|
_c = _vm._self._c;
|
|
@@ -18308,7 +18308,7 @@ var render = function render() {
|
|
|
18308
18308
|
};
|
|
18309
18309
|
var staticRenderFns = [];
|
|
18310
18310
|
|
|
18311
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
18311
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=76169acb&scoped=true&
|
|
18312
18312
|
|
|
18313
18313
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
18314
18314
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -18914,7 +18914,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
18914
18914
|
var external_vue_ = __webpack_require__("8bbf");
|
|
18915
18915
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
18916
18916
|
|
|
18917
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
18917
|
+
// 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&
|
|
18918
18918
|
var Tooltipvue_type_template_id_3440f7c4_scoped_true_render = function render() {
|
|
18919
18919
|
var _vm = this,
|
|
18920
18920
|
_c = _vm._self._c;
|
|
@@ -19102,7 +19102,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
|
19102
19102
|
|
|
19103
19103
|
var EventBus = new external_vue_default.a();
|
|
19104
19104
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
19105
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19105
|
+
// 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&
|
|
19106
19106
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
19107
19107
|
var _vm = this,
|
|
19108
19108
|
_c = _vm._self._c;
|
|
@@ -19474,7 +19474,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
19474
19474
|
)
|
|
19475
19475
|
|
|
19476
19476
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
19477
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19477
|
+
// 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&
|
|
19478
19478
|
var SelectionsGroupvue_type_template_id_b125dcae_scoped_true_render = function render() {
|
|
19479
19479
|
var _vm = this,
|
|
19480
19480
|
_c = _vm._self._c;
|
|
@@ -19607,9 +19607,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
19607
19607
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
19608
19608
|
name: "SelectionsGroup",
|
|
19609
19609
|
methods: {
|
|
19610
|
-
/**
|
|
19611
|
-
* Function to toggle paths to default.
|
|
19612
|
-
* Also called when the associated button is pressed.
|
|
19610
|
+
/**
|
|
19611
|
+
* Function to toggle paths to default.
|
|
19612
|
+
* Also called when the associated button is pressed.
|
|
19613
19613
|
*/
|
|
19614
19614
|
reset: function reset() {
|
|
19615
19615
|
var _this = this;
|
|
@@ -19740,7 +19740,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
19740
19740
|
)
|
|
19741
19741
|
|
|
19742
19742
|
/* harmony default export */ var SelectionsGroup = (SelectionsGroup_component.exports);
|
|
19743
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19743
|
+
// 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&
|
|
19744
19744
|
var TreeControlsvue_type_template_id_4c70eb11_scoped_true_render = function render() {
|
|
19745
19745
|
var _vm = this,
|
|
19746
19746
|
_c = _vm._self._c;
|
|
@@ -19840,8 +19840,8 @@ external_vue_default.a.use(lib_color_picker_default.a);
|
|
|
19840
19840
|
external_vue_default.a.use(lib_row_default.a);
|
|
19841
19841
|
external_vue_default.a.use(lib_tree_default.a);
|
|
19842
19842
|
|
|
19843
|
-
/**
|
|
19844
|
-
* A vue component for toggling visibility of various regions.
|
|
19843
|
+
/**
|
|
19844
|
+
* A vue component for toggling visibility of various regions.
|
|
19845
19845
|
*/
|
|
19846
19846
|
/* harmony default export */ var TreeControlsvue_type_script_lang_js_ = ({
|
|
19847
19847
|
name: "TreeControls",
|
|
@@ -19936,7 +19936,7 @@ var TreeControls_component = normalizeComponent(
|
|
|
19936
19936
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
19937
19937
|
var svg_sprite_ = __webpack_require__("429c");
|
|
19938
19938
|
|
|
19939
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
19939
|
+
// 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&
|
|
19940
19940
|
var SvgLegendsvue_type_template_id_863a3716_scoped_true_render = function render() {
|
|
19941
19941
|
var _vm = this,
|
|
19942
19942
|
_c = _vm._self._c;
|
|
@@ -20454,21 +20454,25 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20454
20454
|
var componentsFlat = this.flattenConntectivity(components);
|
|
20455
20455
|
var axonsFlat = this.flattenConntectivity(axons);
|
|
20456
20456
|
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
20457
|
+
console.log("uber in flattehn find datasets", this.uberons);
|
|
20458
|
+
window.uberons = this.uberons;
|
|
20459
|
+
window.componentsFlat = componentsFlat;
|
|
20457
20460
|
|
|
20458
20461
|
// Filter for the anatomy which is annotated on datasets
|
|
20459
20462
|
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
20460
|
-
return axonsFlat.indexOf(ub
|
|
20463
|
+
return axonsFlat.indexOf(ub) !== -1;
|
|
20461
20464
|
});
|
|
20462
20465
|
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
20463
|
-
return dendritesFlat.indexOf(ub
|
|
20466
|
+
return dendritesFlat.indexOf(ub) !== -1;
|
|
20464
20467
|
});
|
|
20465
20468
|
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
20466
|
-
return componentsFlat.indexOf(ub
|
|
20469
|
+
return componentsFlat.indexOf(ub) !== -1;
|
|
20467
20470
|
});
|
|
20468
20471
|
};
|
|
20469
20472
|
this.processConnectivity = function (connectivity) {
|
|
20470
20473
|
var _this4 = this;
|
|
20471
20474
|
return new Promise(function (resolve) {
|
|
20475
|
+
console.log(connectivity);
|
|
20472
20476
|
// Filter the origin and destinations from components
|
|
20473
20477
|
var components = _this4.findComponents(connectivity);
|
|
20474
20478
|
|
|
@@ -20478,9 +20482,11 @@ var flatmapQueries_FlatmapQueries = function FlatmapQueries() {
|
|
|
20478
20482
|
|
|
20479
20483
|
// Create list of ids to get labels for
|
|
20480
20484
|
var conIds = _this4.findAllIdsFromConnectivity(connectivity);
|
|
20485
|
+
console.log(conIds);
|
|
20481
20486
|
|
|
20482
20487
|
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
20483
20488
|
_this4.createLabelLookup(conIds).then(function (lookUp) {
|
|
20489
|
+
console.log("after label lookup", _this4.uberons);
|
|
20484
20490
|
_this4.destinations = axons.map(function (a) {
|
|
20485
20491
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
20486
20492
|
});
|
|
@@ -20775,8 +20781,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20775
20781
|
toggleDrawer: function toggleDrawer() {
|
|
20776
20782
|
this.drawerOpen = !this.drawerOpen;
|
|
20777
20783
|
},
|
|
20778
|
-
/**
|
|
20779
|
-
* Function to toggle colour/greyscale of organs.
|
|
20784
|
+
/**
|
|
20785
|
+
* Function to toggle colour/greyscale of organs.
|
|
20780
20786
|
*/
|
|
20781
20787
|
setColour: function setColour(flag) {
|
|
20782
20788
|
this.colourRadio = flag;
|
|
@@ -20787,8 +20793,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20787
20793
|
});
|
|
20788
20794
|
}
|
|
20789
20795
|
},
|
|
20790
|
-
/**
|
|
20791
|
-
* Function to toggle outlines f organs.
|
|
20796
|
+
/**
|
|
20797
|
+
* Function to toggle outlines f organs.
|
|
20792
20798
|
*/
|
|
20793
20799
|
setOutlines: function setOutlines(flag) {
|
|
20794
20800
|
this.outlineRadio = flag;
|
|
@@ -20799,9 +20805,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20799
20805
|
});
|
|
20800
20806
|
}
|
|
20801
20807
|
},
|
|
20802
|
-
/**
|
|
20803
|
-
* Function to toggle paths to default.
|
|
20804
|
-
* Also called when the associated button is pressed.
|
|
20808
|
+
/**
|
|
20809
|
+
* Function to toggle paths to default.
|
|
20810
|
+
* Also called when the associated button is pressed.
|
|
20805
20811
|
*/
|
|
20806
20812
|
resetView: function resetView() {
|
|
20807
20813
|
if (this.mapImp) {
|
|
@@ -20823,18 +20829,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20823
20829
|
}
|
|
20824
20830
|
}
|
|
20825
20831
|
},
|
|
20826
|
-
/**
|
|
20827
|
-
* Function to zoom in.
|
|
20828
|
-
* Also called when the associated button is pressed.
|
|
20832
|
+
/**
|
|
20833
|
+
* Function to zoom in.
|
|
20834
|
+
* Also called when the associated button is pressed.
|
|
20829
20835
|
*/
|
|
20830
20836
|
zoomIn: function zoomIn() {
|
|
20831
20837
|
if (this.mapImp) {
|
|
20832
20838
|
this.mapImp.zoomIn();
|
|
20833
20839
|
}
|
|
20834
20840
|
},
|
|
20835
|
-
/**
|
|
20836
|
-
* Function to zoom out.
|
|
20837
|
-
* Also called when the associated button is pressed.
|
|
20841
|
+
/**
|
|
20842
|
+
* Function to zoom out.
|
|
20843
|
+
* Also called when the associated button is pressed.
|
|
20838
20844
|
*/
|
|
20839
20845
|
zoomOut: function zoomOut() {
|
|
20840
20846
|
if (this.mapImp) {
|
|
@@ -20947,6 +20953,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
20947
20953
|
if (data && data.type !== "marker" && eventType === "click") {
|
|
20948
20954
|
_this6.checkAndCreatePopups(payload);
|
|
20949
20955
|
}
|
|
20956
|
+
_this6.$emit("resource-selected", payload);
|
|
20950
20957
|
} else {
|
|
20951
20958
|
_this6.$emit("pan-zoom-callback", data);
|
|
20952
20959
|
}
|
|
@@ -21289,9 +21296,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21289
21296
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
21290
21297
|
this.drawerOpen = flag;
|
|
21291
21298
|
},
|
|
21292
|
-
/**
|
|
21293
|
-
* Function to display features with annotation matching the provided term,
|
|
21294
|
-
* with the option to display the label using displayLabel flag.
|
|
21299
|
+
/**
|
|
21300
|
+
* Function to display features with annotation matching the provided term,
|
|
21301
|
+
* with the option to display the label using displayLabel flag.
|
|
21295
21302
|
*/
|
|
21296
21303
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
21297
21304
|
if (this.mapImp) {
|
|
@@ -21316,8 +21323,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21316
21323
|
}
|
|
21317
21324
|
return false;
|
|
21318
21325
|
},
|
|
21319
|
-
/**
|
|
21320
|
-
* Get the list of suggested terms
|
|
21326
|
+
/**
|
|
21327
|
+
* Get the list of suggested terms
|
|
21321
21328
|
*/
|
|
21322
21329
|
searchSuggestions: function searchSuggestions(term) {
|
|
21323
21330
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -21370,9 +21377,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21370
21377
|
type: Boolean,
|
|
21371
21378
|
default: false
|
|
21372
21379
|
},
|
|
21373
|
-
/**
|
|
21374
|
-
* Flag to determine rather open map UI should be
|
|
21375
|
-
* presented or not.
|
|
21380
|
+
/**
|
|
21381
|
+
* Flag to determine rather open map UI should be
|
|
21382
|
+
* presented or not.
|
|
21376
21383
|
*/
|
|
21377
21384
|
enableOpenMapUI: {
|
|
21378
21385
|
type: Boolean,
|
|
@@ -21405,15 +21412,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21405
21412
|
type: String,
|
|
21406
21413
|
default: "'Observed In' controls and information are now included in AC maps. System control with FTU information has been added to the FC map."
|
|
21407
21414
|
},
|
|
21408
|
-
/**
|
|
21409
|
-
* State containing state of the flatmap.
|
|
21415
|
+
/**
|
|
21416
|
+
* State containing state of the flatmap.
|
|
21410
21417
|
*/
|
|
21411
21418
|
state: {
|
|
21412
21419
|
type: Object,
|
|
21413
21420
|
default: undefined
|
|
21414
21421
|
},
|
|
21415
|
-
/**
|
|
21416
|
-
* Specify the endpoint of the flatmap server.
|
|
21422
|
+
/**
|
|
21423
|
+
* Specify the endpoint of the flatmap server.
|
|
21417
21424
|
*/
|
|
21418
21425
|
flatmapAPI: {
|
|
21419
21426
|
type: String,
|
|
@@ -21522,8 +21529,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
21522
21529
|
});
|
|
21523
21530
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
21524
21531
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
21525
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
21526
|
-
var
|
|
21532
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=76169acb&prod&scoped=true&lang=scss&
|
|
21533
|
+
var FlatmapVuervue_type_style_index_0_id_76169acb_prod_scoped_true_lang_scss_ = __webpack_require__("c237");
|
|
21527
21534
|
|
|
21528
21535
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
21529
21536
|
|
|
@@ -21540,13 +21547,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
21540
21547
|
staticRenderFns,
|
|
21541
21548
|
false,
|
|
21542
21549
|
null,
|
|
21543
|
-
"
|
|
21550
|
+
"76169acb",
|
|
21544
21551
|
null
|
|
21545
21552
|
|
|
21546
21553
|
)
|
|
21547
21554
|
|
|
21548
21555
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
21549
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
21556
|
+
// 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&
|
|
21550
21557
|
var MultiFlatmapVuervue_type_template_id_8a1ab60a_scoped_true_render = function render() {
|
|
21551
21558
|
var _vm = this,
|
|
21552
21559
|
_c = _vm._self._c;
|
|
@@ -21852,11 +21859,11 @@ var TAXON_UUID = {
|
|
|
21852
21859
|
}
|
|
21853
21860
|
}
|
|
21854
21861
|
},
|
|
21855
|
-
/**
|
|
21856
|
-
* Function to switch to the latest existing map from
|
|
21857
|
-
* a legacy map of the same species.
|
|
21858
|
-
*
|
|
21859
|
-
* @private
|
|
21862
|
+
/**
|
|
21863
|
+
* Function to switch to the latest existing map from
|
|
21864
|
+
* a legacy map of the same species.
|
|
21865
|
+
*
|
|
21866
|
+
* @private
|
|
21860
21867
|
*/
|
|
21861
21868
|
viewLatestMap: function viewLatestMap(state) {
|
|
21862
21869
|
var keys = Object.keys(this.speciesList);
|
|
@@ -21868,10 +21875,10 @@ var TAXON_UUID = {
|
|
|
21868
21875
|
}
|
|
21869
21876
|
}
|
|
21870
21877
|
},
|
|
21871
|
-
/**
|
|
21872
|
-
* Create a legacy entry with the provided information
|
|
21873
|
-
*
|
|
21874
|
-
* @private
|
|
21878
|
+
/**
|
|
21879
|
+
* Create a legacy entry with the provided information
|
|
21880
|
+
*
|
|
21881
|
+
* @private
|
|
21875
21882
|
*/
|
|
21876
21883
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
21877
21884
|
if (uuid && taxo) {
|
|
@@ -21895,11 +21902,11 @@ var TAXON_UUID = {
|
|
|
21895
21902
|
};
|
|
21896
21903
|
}
|
|
21897
21904
|
},
|
|
21898
|
-
/**
|
|
21899
|
-
* Function used to translate the legacy map state to one that can be used in current
|
|
21900
|
-
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
21901
|
-
*
|
|
21902
|
-
* @private
|
|
21905
|
+
/**
|
|
21906
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
21907
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
21908
|
+
*
|
|
21909
|
+
* @private
|
|
21903
21910
|
*/
|
|
21904
21911
|
updateState: function updateState(state) {
|
|
21905
21912
|
var _this4 = this;
|
|
@@ -21940,11 +21947,11 @@ var TAXON_UUID = {
|
|
|
21940
21947
|
resolve(state);
|
|
21941
21948
|
});
|
|
21942
21949
|
},
|
|
21943
|
-
/**
|
|
21944
|
-
* Function used for getting the current states of the scene. This exported states
|
|
21945
|
-
* can be imported using the importStates method.
|
|
21946
|
-
*
|
|
21947
|
-
* @public
|
|
21950
|
+
/**
|
|
21951
|
+
* Function used for getting the current states of the scene. This exported states
|
|
21952
|
+
* can be imported using the importStates method.
|
|
21953
|
+
*
|
|
21954
|
+
* @public
|
|
21948
21955
|
*/
|
|
21949
21956
|
getState: function getState() {
|
|
21950
21957
|
var state = {
|
|
@@ -21955,11 +21962,11 @@ var TAXON_UUID = {
|
|
|
21955
21962
|
state.state = map.getState();
|
|
21956
21963
|
return state;
|
|
21957
21964
|
},
|
|
21958
|
-
/**
|
|
21959
|
-
* Function used for importing the states of the scene. This exported states
|
|
21960
|
-
* can be imported using the read states method.
|
|
21961
|
-
*
|
|
21962
|
-
* @public
|
|
21965
|
+
/**
|
|
21966
|
+
* Function used for importing the states of the scene. This exported states
|
|
21967
|
+
* can be imported using the read states method.
|
|
21968
|
+
*
|
|
21969
|
+
* @public
|
|
21963
21970
|
*/
|
|
21964
21971
|
setState: function setState(state) {
|
|
21965
21972
|
var _this5 = this;
|
|
@@ -22002,9 +22009,9 @@ var TAXON_UUID = {
|
|
|
22002
22009
|
type: Boolean,
|
|
22003
22010
|
default: false
|
|
22004
22011
|
},
|
|
22005
|
-
/**
|
|
22006
|
-
* Initial species for the flatmap.
|
|
22007
|
-
* This value will be ignored if a valid state object is provided.
|
|
22012
|
+
/**
|
|
22013
|
+
* Initial species for the flatmap.
|
|
22014
|
+
* This value will be ignored if a valid state object is provided.
|
|
22008
22015
|
*/
|
|
22009
22016
|
initial: {
|
|
22010
22017
|
type: String,
|
|
@@ -22026,9 +22033,9 @@ var TAXON_UUID = {
|
|
|
22026
22033
|
type: Boolean,
|
|
22027
22034
|
default: false
|
|
22028
22035
|
},
|
|
22029
|
-
/**
|
|
22030
|
-
* Flag to determine rather open map UI should be
|
|
22031
|
-
* presented or not.
|
|
22036
|
+
/**
|
|
22037
|
+
* Flag to determine rather open map UI should be
|
|
22038
|
+
* presented or not.
|
|
22032
22039
|
*/
|
|
22033
22040
|
enableOpenMapUI: {
|
|
22034
22041
|
type: Boolean,
|
|
@@ -22076,15 +22083,15 @@ var TAXON_UUID = {
|
|
|
22076
22083
|
};
|
|
22077
22084
|
}
|
|
22078
22085
|
},
|
|
22079
|
-
/**
|
|
22080
|
-
* State containing state of the flatmap.
|
|
22086
|
+
/**
|
|
22087
|
+
* State containing state of the flatmap.
|
|
22081
22088
|
*/
|
|
22082
22089
|
state: {
|
|
22083
22090
|
type: Object,
|
|
22084
22091
|
default: undefined
|
|
22085
22092
|
},
|
|
22086
|
-
/**
|
|
22087
|
-
* Specify the endpoint of the flatmap server.
|
|
22093
|
+
/**
|
|
22094
|
+
* Specify the endpoint of the flatmap server.
|
|
22088
22095
|
*/
|
|
22089
22096
|
flatmapAPI: {
|
|
22090
22097
|
type: String,
|