@abi-software/flatmapvuer 0.4.4 → 0.4.6-fixes-0
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/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +146 -104
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +146 -104
- 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 +14228 -14228
- package/package.json +72 -72
- package/public/index.html +17 -17
- package/src/App.vue +221 -221
- 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 +1649 -1627
- package/src/components/MultiFlatmapVuer.vue +509 -509
- package/src/components/SelectionsGroup.vue +248 -248
- package/src/components/Tooltip.vue +405 -405
- 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/services/flatmapQueries.js +384 -384
- package/vue.config.js +31 -31
- package/src/nerve-map.js +0 -99
|
@@ -1469,17 +1469,6 @@ var i18n = exports.i18n = function i18n(fn) {
|
|
|
1469
1469
|
|
|
1470
1470
|
exports.default = { use: use, t: t, i18n: i18n };
|
|
1471
1471
|
|
|
1472
|
-
/***/ }),
|
|
1473
|
-
|
|
1474
|
-
/***/ "4929":
|
|
1475
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1476
|
-
|
|
1477
|
-
"use strict";
|
|
1478
|
-
/* 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_d6b2de28_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c920");
|
|
1479
|
-
/* 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_d6b2de28_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_d6b2de28_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
1480
|
-
/* unused harmony reexport * */
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
1472
|
/***/ }),
|
|
1484
1473
|
|
|
1485
1474
|
/***/ "4933":
|
|
@@ -6754,6 +6743,13 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6754
6743
|
|
|
6755
6744
|
/***/ }),
|
|
6756
6745
|
|
|
6746
|
+
/***/ "77b8":
|
|
6747
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6748
|
+
|
|
6749
|
+
// extracted by mini-css-extract-plugin
|
|
6750
|
+
|
|
6751
|
+
/***/ }),
|
|
6752
|
+
|
|
6757
6753
|
/***/ "7949":
|
|
6758
6754
|
/***/ (function(module, exports) {
|
|
6759
6755
|
|
|
@@ -8671,6 +8667,17 @@ module.exports = require("vue");
|
|
|
8671
8667
|
/* unused harmony reexport * */
|
|
8672
8668
|
|
|
8673
8669
|
|
|
8670
|
+
/***/ }),
|
|
8671
|
+
|
|
8672
|
+
/***/ "9566":
|
|
8673
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8674
|
+
|
|
8675
|
+
"use strict";
|
|
8676
|
+
/* 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_08f35f66_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("77b8");
|
|
8677
|
+
/* 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_08f35f66_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_08f35f66_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
8678
|
+
/* unused harmony reexport * */
|
|
8679
|
+
|
|
8680
|
+
|
|
8674
8681
|
/***/ }),
|
|
8675
8682
|
|
|
8676
8683
|
/***/ "97d3":
|
|
@@ -9796,13 +9803,6 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
9796
9803
|
|
|
9797
9804
|
/***/ }),
|
|
9798
9805
|
|
|
9799
|
-
/***/ "c920":
|
|
9800
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9801
|
-
|
|
9802
|
-
// extracted by mini-css-extract-plugin
|
|
9803
|
-
|
|
9804
|
-
/***/ }),
|
|
9805
|
-
|
|
9806
9806
|
/***/ "ccb0":
|
|
9807
9807
|
/***/ (function(module, exports) {
|
|
9808
9808
|
|
|
@@ -13369,7 +13369,7 @@ if (typeof window !== 'undefined') {
|
|
|
13369
13369
|
// Indicate to webpack that this file can be concatenated
|
|
13370
13370
|
/* harmony default export */ var setPublicPath = (null);
|
|
13371
13371
|
|
|
13372
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13372
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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=08f35f66&scoped=true&
|
|
13373
13373
|
var render = function render() {
|
|
13374
13374
|
var _vm = this,
|
|
13375
13375
|
_c = _vm._self._c;
|
|
@@ -13405,7 +13405,6 @@ var render = function render() {
|
|
|
13405
13405
|
}, [_c('div', [_c('el-popover', {
|
|
13406
13406
|
ref: "warningPopover",
|
|
13407
13407
|
attrs: {
|
|
13408
|
-
"content": _vm.getWarningMessage,
|
|
13409
13408
|
"placement": "right",
|
|
13410
13409
|
"appendToBody": false,
|
|
13411
13410
|
"trigger": "manual",
|
|
@@ -13418,7 +13417,54 @@ var render = function render() {
|
|
|
13418
13417
|
},
|
|
13419
13418
|
expression: "hoverVisibilities[6].value"
|
|
13420
13419
|
}
|
|
13421
|
-
}
|
|
13420
|
+
}, [_vm.isLegacy ? _c('p', {
|
|
13421
|
+
on: {
|
|
13422
|
+
"mouseover": function mouseover($event) {
|
|
13423
|
+
return _vm.showToolitip(6);
|
|
13424
|
+
},
|
|
13425
|
+
"mouseout": function mouseout($event) {
|
|
13426
|
+
return _vm.hideToolitip(6);
|
|
13427
|
+
}
|
|
13428
|
+
}
|
|
13429
|
+
}, [_vm._v(" This is a legacy map, you may view the latest map instead. ")]) : _vm.isFC ? _c('p', {
|
|
13430
|
+
on: {
|
|
13431
|
+
"mouseover": function mouseover($event) {
|
|
13432
|
+
return _vm.showToolitip(6);
|
|
13433
|
+
},
|
|
13434
|
+
"mouseout": function mouseout($event) {
|
|
13435
|
+
return _vm.hideToolitip(6);
|
|
13436
|
+
}
|
|
13437
|
+
}
|
|
13438
|
+
}, [_vm._v(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "), _c('a', {
|
|
13439
|
+
attrs: {
|
|
13440
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13441
|
+
"target": "_blank"
|
|
13442
|
+
}
|
|
13443
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13444
|
+
attrs: {
|
|
13445
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13446
|
+
"target": "_blank"
|
|
13447
|
+
}
|
|
13448
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". ")]) : _c('p', {
|
|
13449
|
+
on: {
|
|
13450
|
+
"mouseover": function mouseover($event) {
|
|
13451
|
+
return _vm.showToolitip(6);
|
|
13452
|
+
},
|
|
13453
|
+
"mouseout": function mouseout($event) {
|
|
13454
|
+
return _vm.hideToolitip(6);
|
|
13455
|
+
}
|
|
13456
|
+
}
|
|
13457
|
+
}, [_vm._v(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "), _c('a', {
|
|
13458
|
+
attrs: {
|
|
13459
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13460
|
+
"target": "_blank"
|
|
13461
|
+
}
|
|
13462
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13463
|
+
attrs: {
|
|
13464
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13465
|
+
"target": "_blank"
|
|
13466
|
+
}
|
|
13467
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". New connectivity and species specificity will be added as the SPARC program progresses. ")])]), _vm.displayWarning ? _c('i', {
|
|
13422
13468
|
directives: [{
|
|
13423
13469
|
name: "popover",
|
|
13424
13470
|
rawName: "v-popover:warningPopover",
|
|
@@ -13823,7 +13869,7 @@ var render = function render() {
|
|
|
13823
13869
|
};
|
|
13824
13870
|
var staticRenderFns = [];
|
|
13825
13871
|
|
|
13826
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13872
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=08f35f66&scoped=true&
|
|
13827
13873
|
|
|
13828
13874
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13829
13875
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -14413,7 +14459,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14413
14459
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14414
14460
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14415
14461
|
|
|
14416
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14462
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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=4ffcf7c8&scoped=true&
|
|
14417
14463
|
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
14418
14464
|
var _vm = this,
|
|
14419
14465
|
_c = _vm._self._c;
|
|
@@ -14606,7 +14652,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
|
14606
14652
|
|
|
14607
14653
|
var EventBus = new external_vue_default.a();
|
|
14608
14654
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14609
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14655
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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&
|
|
14610
14656
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14611
14657
|
var _vm = this,
|
|
14612
14658
|
_c = _vm._self._c;
|
|
@@ -14970,7 +15016,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
14970
15016
|
)
|
|
14971
15017
|
|
|
14972
15018
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
14973
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15019
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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=404813f2&scoped=true&
|
|
14974
15020
|
var SelectionsGroupvue_type_template_id_404813f2_scoped_true_render = function render() {
|
|
14975
15021
|
var _vm = this,
|
|
14976
15022
|
_c = _vm._self._c;
|
|
@@ -15107,9 +15153,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15107
15153
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
15108
15154
|
name: "SelectionsGroup",
|
|
15109
15155
|
methods: {
|
|
15110
|
-
/**
|
|
15111
|
-
* Function to toggle paths to default.
|
|
15112
|
-
* Also called when the associated button is pressed.
|
|
15156
|
+
/**
|
|
15157
|
+
* Function to toggle paths to default.
|
|
15158
|
+
* Also called when the associated button is pressed.
|
|
15113
15159
|
*/
|
|
15114
15160
|
reset: function reset() {
|
|
15115
15161
|
var _this = this;
|
|
@@ -15243,7 +15289,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15243
15289
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15244
15290
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15245
15291
|
|
|
15246
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15292
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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=3d3218c8&scoped=true&
|
|
15247
15293
|
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15248
15294
|
var _vm = this,
|
|
15249
15295
|
_c = _vm._self._c;
|
|
@@ -15942,8 +15988,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15942
15988
|
toggleDrawer: function toggleDrawer() {
|
|
15943
15989
|
this.drawerOpen = !this.drawerOpen;
|
|
15944
15990
|
},
|
|
15945
|
-
/**
|
|
15946
|
-
* Function to toggle colour/greyscale of organs.
|
|
15991
|
+
/**
|
|
15992
|
+
* Function to toggle colour/greyscale of organs.
|
|
15947
15993
|
*/
|
|
15948
15994
|
setColour: function setColour(flag) {
|
|
15949
15995
|
this.colourRadio = flag;
|
|
@@ -15954,8 +16000,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15954
16000
|
});
|
|
15955
16001
|
}
|
|
15956
16002
|
},
|
|
15957
|
-
/**
|
|
15958
|
-
* Function to toggle outlines f organs.
|
|
16003
|
+
/**
|
|
16004
|
+
* Function to toggle outlines f organs.
|
|
15959
16005
|
*/
|
|
15960
16006
|
setOutlines: function setOutlines(flag) {
|
|
15961
16007
|
this.outlineRadio = flag;
|
|
@@ -15966,9 +16012,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15966
16012
|
});
|
|
15967
16013
|
}
|
|
15968
16014
|
},
|
|
15969
|
-
/**
|
|
15970
|
-
* Function to toggle paths to default.
|
|
15971
|
-
* Also called when the associated button is pressed.
|
|
16015
|
+
/**
|
|
16016
|
+
* Function to toggle paths to default.
|
|
16017
|
+
* Also called when the associated button is pressed.
|
|
15972
16018
|
*/
|
|
15973
16019
|
resetView: function resetView() {
|
|
15974
16020
|
if (this.mapImp) {
|
|
@@ -15990,18 +16036,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15990
16036
|
}
|
|
15991
16037
|
}
|
|
15992
16038
|
},
|
|
15993
|
-
/**
|
|
15994
|
-
* Function to zoom in.
|
|
15995
|
-
* Also called when the associated button is pressed.
|
|
16039
|
+
/**
|
|
16040
|
+
* Function to zoom in.
|
|
16041
|
+
* Also called when the associated button is pressed.
|
|
15996
16042
|
*/
|
|
15997
16043
|
zoomIn: function zoomIn() {
|
|
15998
16044
|
if (this.mapImp) {
|
|
15999
16045
|
this.mapImp.zoomIn();
|
|
16000
16046
|
}
|
|
16001
16047
|
},
|
|
16002
|
-
/**
|
|
16003
|
-
* Function to zoom out.
|
|
16004
|
-
* Also called when the associated button is pressed.
|
|
16048
|
+
/**
|
|
16049
|
+
* Function to zoom out.
|
|
16050
|
+
* Also called when the associated button is pressed.
|
|
16005
16051
|
*/
|
|
16006
16052
|
zoomOut: function zoomOut() {
|
|
16007
16053
|
if (this.mapImp) {
|
|
@@ -16206,15 +16252,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16206
16252
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
16207
16253
|
var _this6 = this;
|
|
16208
16254
|
if (!this.inHelp) {
|
|
16209
|
-
this.tooltipWait
|
|
16255
|
+
clearTimeout(this.tooltipWait[tooltipNumber]);
|
|
16256
|
+
this.tooltipWait[tooltipNumber] = setTimeout(function () {
|
|
16210
16257
|
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
16211
16258
|
}, 500);
|
|
16212
16259
|
}
|
|
16213
16260
|
},
|
|
16214
16261
|
hideToolitip: function hideToolitip(tooltipNumber) {
|
|
16262
|
+
var _this7 = this;
|
|
16215
16263
|
if (!this.inHelp) {
|
|
16216
|
-
this.
|
|
16217
|
-
|
|
16264
|
+
clearTimeout(this.tooltipWait[tooltipNumber]);
|
|
16265
|
+
this.tooltipWait[tooltipNumber] = setTimeout(function () {
|
|
16266
|
+
_this7.hoverVisibilities[tooltipNumber].value = false;
|
|
16267
|
+
}, 500);
|
|
16218
16268
|
}
|
|
16219
16269
|
},
|
|
16220
16270
|
displayTooltip: function displayTooltip() {
|
|
@@ -16290,7 +16340,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16290
16340
|
}
|
|
16291
16341
|
},
|
|
16292
16342
|
createFlatmap: function createFlatmap(state) {
|
|
16293
|
-
var
|
|
16343
|
+
var _this8 = this;
|
|
16294
16344
|
if (!this.mapImp && !this.loading) {
|
|
16295
16345
|
this.loading = true;
|
|
16296
16346
|
var minimap = false;
|
|
@@ -16354,10 +16404,10 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16354
16404
|
minimap: minimap
|
|
16355
16405
|
});
|
|
16356
16406
|
promise1.then(function (returnedObject) {
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
if (
|
|
16360
|
-
|
|
16407
|
+
_this8.mapImp = returnedObject;
|
|
16408
|
+
_this8.onFlatmapReady();
|
|
16409
|
+
if (_this8._stateToBeSet) _this8.restoreMapState(_this8._stateToBeSet);else {
|
|
16410
|
+
_this8.restoreMapState(state);
|
|
16361
16411
|
}
|
|
16362
16412
|
});
|
|
16363
16413
|
} else if (state) {
|
|
@@ -16417,9 +16467,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16417
16467
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
16418
16468
|
this.drawerOpen = flag;
|
|
16419
16469
|
},
|
|
16420
|
-
/**
|
|
16421
|
-
* Function to display features with annotation matching the provided term,
|
|
16422
|
-
* with the option to display the label using displayLabel flag.
|
|
16470
|
+
/**
|
|
16471
|
+
* Function to display features with annotation matching the provided term,
|
|
16472
|
+
* with the option to display the label using displayLabel flag.
|
|
16423
16473
|
*/
|
|
16424
16474
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
16425
16475
|
if (this.mapImp) {
|
|
@@ -16443,8 +16493,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16443
16493
|
}
|
|
16444
16494
|
return false;
|
|
16445
16495
|
},
|
|
16446
|
-
/**
|
|
16447
|
-
* Get the list of suggested terms
|
|
16496
|
+
/**
|
|
16497
|
+
* Get the list of suggested terms
|
|
16448
16498
|
*/
|
|
16449
16499
|
searchSuggestions: function searchSuggestions(term) {
|
|
16450
16500
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -16509,15 +16559,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16509
16559
|
type: String,
|
|
16510
16560
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information."
|
|
16511
16561
|
},
|
|
16512
|
-
/**
|
|
16513
|
-
* State containing state of the flatmap.
|
|
16562
|
+
/**
|
|
16563
|
+
* State containing state of the flatmap.
|
|
16514
16564
|
*/
|
|
16515
16565
|
state: {
|
|
16516
16566
|
type: Object,
|
|
16517
16567
|
default: undefined
|
|
16518
16568
|
},
|
|
16519
|
-
/**
|
|
16520
|
-
* Specify the endpoint of the flatmap server.
|
|
16569
|
+
/**
|
|
16570
|
+
* Specify the endpoint of the flatmap server.
|
|
16521
16571
|
*/
|
|
16522
16572
|
flatmapAPI: {
|
|
16523
16573
|
type: String,
|
|
@@ -16602,18 +16652,10 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16602
16652
|
deep: true
|
|
16603
16653
|
}
|
|
16604
16654
|
},
|
|
16605
|
-
computed: {
|
|
16606
|
-
getWarningMessage: function getWarningMessage() {
|
|
16607
|
-
if (this.isLegacy) {
|
|
16608
|
-
return "This is a legacy map, you may view the latest map instead.";
|
|
16609
|
-
} else if (this.isFC) {
|
|
16610
|
-
return "Beta feature - The connectivity shown here is the subset of neurons from the neuron populations in ApiNATOMY models which are at the same spatial scale and level of granularity.";
|
|
16611
|
-
}
|
|
16612
|
-
return "Beta feature - This map is based on the connectivity of a rat. New connectivity and species specificity will be added as the SPARC program progress.";
|
|
16613
|
-
}
|
|
16614
|
-
},
|
|
16615
16655
|
mounted: function mounted() {
|
|
16616
16656
|
var flatmap = __webpack_require__("4979");
|
|
16657
|
+
this.tooltipWait = [];
|
|
16658
|
+
this.tooltipWait.length = this.hoverVisibilities.length;
|
|
16617
16659
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16618
16660
|
this.flatmapQueries = new flatmapQueries_FlatmapQueries();
|
|
16619
16661
|
this.flatmapQueries.initialise(this.sparcAPI, this.flatmapAPI);
|
|
@@ -16629,8 +16671,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16629
16671
|
});
|
|
16630
16672
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16631
16673
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16632
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16633
|
-
var
|
|
16674
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=08f35f66&prod&scoped=true&lang=scss&
|
|
16675
|
+
var FlatmapVuervue_type_style_index_0_id_08f35f66_prod_scoped_true_lang_scss_ = __webpack_require__("9566");
|
|
16634
16676
|
|
|
16635
16677
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16636
16678
|
|
|
@@ -16647,13 +16689,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16647
16689
|
staticRenderFns,
|
|
16648
16690
|
false,
|
|
16649
16691
|
null,
|
|
16650
|
-
"
|
|
16692
|
+
"08f35f66",
|
|
16651
16693
|
null
|
|
16652
16694
|
|
|
16653
16695
|
)
|
|
16654
16696
|
|
|
16655
16697
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16656
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16698
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0ce01e3d-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./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=0732c3a0&scoped=true&
|
|
16657
16699
|
var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function render() {
|
|
16658
16700
|
var _vm = this,
|
|
16659
16701
|
_c = _vm._self._c;
|
|
@@ -16954,11 +16996,11 @@ var TAXON_UUID = {
|
|
|
16954
16996
|
}
|
|
16955
16997
|
}
|
|
16956
16998
|
},
|
|
16957
|
-
/**
|
|
16958
|
-
* Function to switch to the latest existing map from
|
|
16959
|
-
* a legacy map of the same species.
|
|
16960
|
-
*
|
|
16961
|
-
* @private
|
|
16999
|
+
/**
|
|
17000
|
+
* Function to switch to the latest existing map from
|
|
17001
|
+
* a legacy map of the same species.
|
|
17002
|
+
*
|
|
17003
|
+
* @private
|
|
16962
17004
|
*/
|
|
16963
17005
|
viewLatestMap: function viewLatestMap(state) {
|
|
16964
17006
|
var keys = Object.keys(this.speciesList);
|
|
@@ -16970,10 +17012,10 @@ var TAXON_UUID = {
|
|
|
16970
17012
|
}
|
|
16971
17013
|
}
|
|
16972
17014
|
},
|
|
16973
|
-
/**
|
|
16974
|
-
* Create a legacy entry with the provided information
|
|
16975
|
-
*
|
|
16976
|
-
* @private
|
|
17015
|
+
/**
|
|
17016
|
+
* Create a legacy entry with the provided information
|
|
17017
|
+
*
|
|
17018
|
+
* @private
|
|
16977
17019
|
*/
|
|
16978
17020
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
16979
17021
|
if (uuid && taxo) {
|
|
@@ -16997,11 +17039,11 @@ var TAXON_UUID = {
|
|
|
16997
17039
|
};
|
|
16998
17040
|
}
|
|
16999
17041
|
},
|
|
17000
|
-
/**
|
|
17001
|
-
* Function used to translate the legacy map state to one that can be used in current
|
|
17002
|
-
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
17003
|
-
*
|
|
17004
|
-
* @private
|
|
17042
|
+
/**
|
|
17043
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
17044
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
17045
|
+
*
|
|
17046
|
+
* @private
|
|
17005
17047
|
*/
|
|
17006
17048
|
updateState: function updateState(state) {
|
|
17007
17049
|
var _this4 = this;
|
|
@@ -17042,11 +17084,11 @@ var TAXON_UUID = {
|
|
|
17042
17084
|
resolve(state);
|
|
17043
17085
|
});
|
|
17044
17086
|
},
|
|
17045
|
-
/**
|
|
17046
|
-
* Function used for getting the current states of the scene. This exported states
|
|
17047
|
-
* can be imported using the importStates method.
|
|
17048
|
-
*
|
|
17049
|
-
* @public
|
|
17087
|
+
/**
|
|
17088
|
+
* Function used for getting the current states of the scene. This exported states
|
|
17089
|
+
* can be imported using the importStates method.
|
|
17090
|
+
*
|
|
17091
|
+
* @public
|
|
17050
17092
|
*/
|
|
17051
17093
|
getState: function getState() {
|
|
17052
17094
|
var state = {
|
|
@@ -17057,11 +17099,11 @@ var TAXON_UUID = {
|
|
|
17057
17099
|
state.state = map.getState();
|
|
17058
17100
|
return state;
|
|
17059
17101
|
},
|
|
17060
|
-
/**
|
|
17061
|
-
* Function used for importing the states of the scene. This exported states
|
|
17062
|
-
* can be imported using the read states method.
|
|
17063
|
-
*
|
|
17064
|
-
* @public
|
|
17102
|
+
/**
|
|
17103
|
+
* Function used for importing the states of the scene. This exported states
|
|
17104
|
+
* can be imported using the read states method.
|
|
17105
|
+
*
|
|
17106
|
+
* @public
|
|
17065
17107
|
*/
|
|
17066
17108
|
setState: function setState(state) {
|
|
17067
17109
|
var _this5 = this;
|
|
@@ -17104,9 +17146,9 @@ var TAXON_UUID = {
|
|
|
17104
17146
|
type: Boolean,
|
|
17105
17147
|
default: false
|
|
17106
17148
|
},
|
|
17107
|
-
/**
|
|
17108
|
-
* Initial species for the flatmap.
|
|
17109
|
-
* This value will be ignored if a valid state object is provided.
|
|
17149
|
+
/**
|
|
17150
|
+
* Initial species for the flatmap.
|
|
17151
|
+
* This value will be ignored if a valid state object is provided.
|
|
17110
17152
|
*/
|
|
17111
17153
|
initial: {
|
|
17112
17154
|
type: String,
|
|
@@ -17167,15 +17209,15 @@ var TAXON_UUID = {
|
|
|
17167
17209
|
};
|
|
17168
17210
|
}
|
|
17169
17211
|
},
|
|
17170
|
-
/**
|
|
17171
|
-
* State containing state of the flatmap.
|
|
17212
|
+
/**
|
|
17213
|
+
* State containing state of the flatmap.
|
|
17172
17214
|
*/
|
|
17173
17215
|
state: {
|
|
17174
17216
|
type: Object,
|
|
17175
17217
|
default: undefined
|
|
17176
17218
|
},
|
|
17177
|
-
/**
|
|
17178
|
-
* Specify the endpoint of the flatmap server.
|
|
17219
|
+
/**
|
|
17220
|
+
* Specify the endpoint of the flatmap server.
|
|
17179
17221
|
*/
|
|
17180
17222
|
flatmapAPI: {
|
|
17181
17223
|
type: String,
|