@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -1478,17 +1478,6 @@ var i18n = exports.i18n = function i18n(fn) {
|
|
|
1478
1478
|
|
|
1479
1479
|
exports.default = { use: use, t: t, i18n: i18n };
|
|
1480
1480
|
|
|
1481
|
-
/***/ }),
|
|
1482
|
-
|
|
1483
|
-
/***/ "4929":
|
|
1484
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1485
|
-
|
|
1486
|
-
"use strict";
|
|
1487
|
-
/* 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");
|
|
1488
|
-
/* 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__);
|
|
1489
|
-
/* unused harmony reexport * */
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
1481
|
/***/ }),
|
|
1493
1482
|
|
|
1494
1483
|
/***/ "4933":
|
|
@@ -6763,6 +6752,13 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6763
6752
|
|
|
6764
6753
|
/***/ }),
|
|
6765
6754
|
|
|
6755
|
+
/***/ "77b8":
|
|
6756
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6757
|
+
|
|
6758
|
+
// extracted by mini-css-extract-plugin
|
|
6759
|
+
|
|
6760
|
+
/***/ }),
|
|
6761
|
+
|
|
6766
6762
|
/***/ "7949":
|
|
6767
6763
|
/***/ (function(module, exports) {
|
|
6768
6764
|
|
|
@@ -8680,6 +8676,17 @@ module.exports = require("vue");
|
|
|
8680
8676
|
/* unused harmony reexport * */
|
|
8681
8677
|
|
|
8682
8678
|
|
|
8679
|
+
/***/ }),
|
|
8680
|
+
|
|
8681
|
+
/***/ "9566":
|
|
8682
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8683
|
+
|
|
8684
|
+
"use strict";
|
|
8685
|
+
/* 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");
|
|
8686
|
+
/* 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__);
|
|
8687
|
+
/* unused harmony reexport * */
|
|
8688
|
+
|
|
8689
|
+
|
|
8683
8690
|
/***/ }),
|
|
8684
8691
|
|
|
8685
8692
|
/***/ "97d3":
|
|
@@ -9805,13 +9812,6 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
9805
9812
|
|
|
9806
9813
|
/***/ }),
|
|
9807
9814
|
|
|
9808
|
-
/***/ "c920":
|
|
9809
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9810
|
-
|
|
9811
|
-
// extracted by mini-css-extract-plugin
|
|
9812
|
-
|
|
9813
|
-
/***/ }),
|
|
9814
|
-
|
|
9815
9815
|
/***/ "ccb0":
|
|
9816
9816
|
/***/ (function(module, exports) {
|
|
9817
9817
|
|
|
@@ -13378,7 +13378,7 @@ if (typeof window !== 'undefined') {
|
|
|
13378
13378
|
// Indicate to webpack that this file can be concatenated
|
|
13379
13379
|
/* harmony default export */ var setPublicPath = (null);
|
|
13380
13380
|
|
|
13381
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13381
|
+
// 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&
|
|
13382
13382
|
var render = function render() {
|
|
13383
13383
|
var _vm = this,
|
|
13384
13384
|
_c = _vm._self._c;
|
|
@@ -13414,7 +13414,6 @@ var render = function render() {
|
|
|
13414
13414
|
}, [_c('div', [_c('el-popover', {
|
|
13415
13415
|
ref: "warningPopover",
|
|
13416
13416
|
attrs: {
|
|
13417
|
-
"content": _vm.getWarningMessage,
|
|
13418
13417
|
"placement": "right",
|
|
13419
13418
|
"appendToBody": false,
|
|
13420
13419
|
"trigger": "manual",
|
|
@@ -13427,7 +13426,54 @@ var render = function render() {
|
|
|
13427
13426
|
},
|
|
13428
13427
|
expression: "hoverVisibilities[6].value"
|
|
13429
13428
|
}
|
|
13430
|
-
}
|
|
13429
|
+
}, [_vm.isLegacy ? _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 is a legacy map, you may view the latest map instead. ")]) : _vm.isFC ? _c('p', {
|
|
13439
|
+
on: {
|
|
13440
|
+
"mouseover": function mouseover($event) {
|
|
13441
|
+
return _vm.showToolitip(6);
|
|
13442
|
+
},
|
|
13443
|
+
"mouseout": function mouseout($event) {
|
|
13444
|
+
return _vm.hideToolitip(6);
|
|
13445
|
+
}
|
|
13446
|
+
}
|
|
13447
|
+
}, [_vm._v(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "), _c('a', {
|
|
13448
|
+
attrs: {
|
|
13449
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13450
|
+
"target": "_blank"
|
|
13451
|
+
}
|
|
13452
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13453
|
+
attrs: {
|
|
13454
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13455
|
+
"target": "_blank"
|
|
13456
|
+
}
|
|
13457
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". ")]) : _c('p', {
|
|
13458
|
+
on: {
|
|
13459
|
+
"mouseover": function mouseover($event) {
|
|
13460
|
+
return _vm.showToolitip(6);
|
|
13461
|
+
},
|
|
13462
|
+
"mouseout": function mouseout($event) {
|
|
13463
|
+
return _vm.hideToolitip(6);
|
|
13464
|
+
}
|
|
13465
|
+
}
|
|
13466
|
+
}, [_vm._v(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "), _c('a', {
|
|
13467
|
+
attrs: {
|
|
13468
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13469
|
+
"target": "_blank"
|
|
13470
|
+
}
|
|
13471
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13472
|
+
attrs: {
|
|
13473
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13474
|
+
"target": "_blank"
|
|
13475
|
+
}
|
|
13476
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". New connectivity and species specificity will be added as the SPARC program progresses. ")])]), _vm.displayWarning ? _c('i', {
|
|
13431
13477
|
directives: [{
|
|
13432
13478
|
name: "popover",
|
|
13433
13479
|
rawName: "v-popover:warningPopover",
|
|
@@ -13832,7 +13878,7 @@ var render = function render() {
|
|
|
13832
13878
|
};
|
|
13833
13879
|
var staticRenderFns = [];
|
|
13834
13880
|
|
|
13835
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13881
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=08f35f66&scoped=true&
|
|
13836
13882
|
|
|
13837
13883
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13838
13884
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -14422,7 +14468,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14422
14468
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14423
14469
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14424
14470
|
|
|
14425
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14471
|
+
// 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&
|
|
14426
14472
|
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
14427
14473
|
var _vm = this,
|
|
14428
14474
|
_c = _vm._self._c;
|
|
@@ -14615,7 +14661,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
|
14615
14661
|
|
|
14616
14662
|
var EventBus = new external_vue_default.a();
|
|
14617
14663
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14618
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14664
|
+
// 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&
|
|
14619
14665
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14620
14666
|
var _vm = this,
|
|
14621
14667
|
_c = _vm._self._c;
|
|
@@ -14979,7 +15025,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
14979
15025
|
)
|
|
14980
15026
|
|
|
14981
15027
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
14982
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15028
|
+
// 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&
|
|
14983
15029
|
var SelectionsGroupvue_type_template_id_404813f2_scoped_true_render = function render() {
|
|
14984
15030
|
var _vm = this,
|
|
14985
15031
|
_c = _vm._self._c;
|
|
@@ -15116,9 +15162,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15116
15162
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
15117
15163
|
name: "SelectionsGroup",
|
|
15118
15164
|
methods: {
|
|
15119
|
-
/**
|
|
15120
|
-
* Function to toggle paths to default.
|
|
15121
|
-
* Also called when the associated button is pressed.
|
|
15165
|
+
/**
|
|
15166
|
+
* Function to toggle paths to default.
|
|
15167
|
+
* Also called when the associated button is pressed.
|
|
15122
15168
|
*/
|
|
15123
15169
|
reset: function reset() {
|
|
15124
15170
|
var _this = this;
|
|
@@ -15252,7 +15298,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15252
15298
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15253
15299
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15254
15300
|
|
|
15255
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15301
|
+
// 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&
|
|
15256
15302
|
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15257
15303
|
var _vm = this,
|
|
15258
15304
|
_c = _vm._self._c;
|
|
@@ -15951,8 +15997,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15951
15997
|
toggleDrawer: function toggleDrawer() {
|
|
15952
15998
|
this.drawerOpen = !this.drawerOpen;
|
|
15953
15999
|
},
|
|
15954
|
-
/**
|
|
15955
|
-
* Function to toggle colour/greyscale of organs.
|
|
16000
|
+
/**
|
|
16001
|
+
* Function to toggle colour/greyscale of organs.
|
|
15956
16002
|
*/
|
|
15957
16003
|
setColour: function setColour(flag) {
|
|
15958
16004
|
this.colourRadio = flag;
|
|
@@ -15963,8 +16009,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15963
16009
|
});
|
|
15964
16010
|
}
|
|
15965
16011
|
},
|
|
15966
|
-
/**
|
|
15967
|
-
* Function to toggle outlines f organs.
|
|
16012
|
+
/**
|
|
16013
|
+
* Function to toggle outlines f organs.
|
|
15968
16014
|
*/
|
|
15969
16015
|
setOutlines: function setOutlines(flag) {
|
|
15970
16016
|
this.outlineRadio = flag;
|
|
@@ -15975,9 +16021,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15975
16021
|
});
|
|
15976
16022
|
}
|
|
15977
16023
|
},
|
|
15978
|
-
/**
|
|
15979
|
-
* Function to toggle paths to default.
|
|
15980
|
-
* Also called when the associated button is pressed.
|
|
16024
|
+
/**
|
|
16025
|
+
* Function to toggle paths to default.
|
|
16026
|
+
* Also called when the associated button is pressed.
|
|
15981
16027
|
*/
|
|
15982
16028
|
resetView: function resetView() {
|
|
15983
16029
|
if (this.mapImp) {
|
|
@@ -15999,18 +16045,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15999
16045
|
}
|
|
16000
16046
|
}
|
|
16001
16047
|
},
|
|
16002
|
-
/**
|
|
16003
|
-
* Function to zoom in.
|
|
16004
|
-
* Also called when the associated button is pressed.
|
|
16048
|
+
/**
|
|
16049
|
+
* Function to zoom in.
|
|
16050
|
+
* Also called when the associated button is pressed.
|
|
16005
16051
|
*/
|
|
16006
16052
|
zoomIn: function zoomIn() {
|
|
16007
16053
|
if (this.mapImp) {
|
|
16008
16054
|
this.mapImp.zoomIn();
|
|
16009
16055
|
}
|
|
16010
16056
|
},
|
|
16011
|
-
/**
|
|
16012
|
-
* Function to zoom out.
|
|
16013
|
-
* Also called when the associated button is pressed.
|
|
16057
|
+
/**
|
|
16058
|
+
* Function to zoom out.
|
|
16059
|
+
* Also called when the associated button is pressed.
|
|
16014
16060
|
*/
|
|
16015
16061
|
zoomOut: function zoomOut() {
|
|
16016
16062
|
if (this.mapImp) {
|
|
@@ -16215,15 +16261,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16215
16261
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
16216
16262
|
var _this6 = this;
|
|
16217
16263
|
if (!this.inHelp) {
|
|
16218
|
-
this.tooltipWait
|
|
16264
|
+
clearTimeout(this.tooltipWait[tooltipNumber]);
|
|
16265
|
+
this.tooltipWait[tooltipNumber] = setTimeout(function () {
|
|
16219
16266
|
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
16220
16267
|
}, 500);
|
|
16221
16268
|
}
|
|
16222
16269
|
},
|
|
16223
16270
|
hideToolitip: function hideToolitip(tooltipNumber) {
|
|
16271
|
+
var _this7 = this;
|
|
16224
16272
|
if (!this.inHelp) {
|
|
16225
|
-
this.
|
|
16226
|
-
|
|
16273
|
+
clearTimeout(this.tooltipWait[tooltipNumber]);
|
|
16274
|
+
this.tooltipWait[tooltipNumber] = setTimeout(function () {
|
|
16275
|
+
_this7.hoverVisibilities[tooltipNumber].value = false;
|
|
16276
|
+
}, 500);
|
|
16227
16277
|
}
|
|
16228
16278
|
},
|
|
16229
16279
|
displayTooltip: function displayTooltip() {
|
|
@@ -16299,7 +16349,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16299
16349
|
}
|
|
16300
16350
|
},
|
|
16301
16351
|
createFlatmap: function createFlatmap(state) {
|
|
16302
|
-
var
|
|
16352
|
+
var _this8 = this;
|
|
16303
16353
|
if (!this.mapImp && !this.loading) {
|
|
16304
16354
|
this.loading = true;
|
|
16305
16355
|
var minimap = false;
|
|
@@ -16363,10 +16413,10 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16363
16413
|
minimap: minimap
|
|
16364
16414
|
});
|
|
16365
16415
|
promise1.then(function (returnedObject) {
|
|
16366
|
-
|
|
16367
|
-
|
|
16368
|
-
if (
|
|
16369
|
-
|
|
16416
|
+
_this8.mapImp = returnedObject;
|
|
16417
|
+
_this8.onFlatmapReady();
|
|
16418
|
+
if (_this8._stateToBeSet) _this8.restoreMapState(_this8._stateToBeSet);else {
|
|
16419
|
+
_this8.restoreMapState(state);
|
|
16370
16420
|
}
|
|
16371
16421
|
});
|
|
16372
16422
|
} else if (state) {
|
|
@@ -16426,9 +16476,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16426
16476
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
16427
16477
|
this.drawerOpen = flag;
|
|
16428
16478
|
},
|
|
16429
|
-
/**
|
|
16430
|
-
* Function to display features with annotation matching the provided term,
|
|
16431
|
-
* with the option to display the label using displayLabel flag.
|
|
16479
|
+
/**
|
|
16480
|
+
* Function to display features with annotation matching the provided term,
|
|
16481
|
+
* with the option to display the label using displayLabel flag.
|
|
16432
16482
|
*/
|
|
16433
16483
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
16434
16484
|
if (this.mapImp) {
|
|
@@ -16452,8 +16502,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16452
16502
|
}
|
|
16453
16503
|
return false;
|
|
16454
16504
|
},
|
|
16455
|
-
/**
|
|
16456
|
-
* Get the list of suggested terms
|
|
16505
|
+
/**
|
|
16506
|
+
* Get the list of suggested terms
|
|
16457
16507
|
*/
|
|
16458
16508
|
searchSuggestions: function searchSuggestions(term) {
|
|
16459
16509
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -16518,15 +16568,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16518
16568
|
type: String,
|
|
16519
16569
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information."
|
|
16520
16570
|
},
|
|
16521
|
-
/**
|
|
16522
|
-
* State containing state of the flatmap.
|
|
16571
|
+
/**
|
|
16572
|
+
* State containing state of the flatmap.
|
|
16523
16573
|
*/
|
|
16524
16574
|
state: {
|
|
16525
16575
|
type: Object,
|
|
16526
16576
|
default: undefined
|
|
16527
16577
|
},
|
|
16528
|
-
/**
|
|
16529
|
-
* Specify the endpoint of the flatmap server.
|
|
16578
|
+
/**
|
|
16579
|
+
* Specify the endpoint of the flatmap server.
|
|
16530
16580
|
*/
|
|
16531
16581
|
flatmapAPI: {
|
|
16532
16582
|
type: String,
|
|
@@ -16611,18 +16661,10 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16611
16661
|
deep: true
|
|
16612
16662
|
}
|
|
16613
16663
|
},
|
|
16614
|
-
computed: {
|
|
16615
|
-
getWarningMessage: function getWarningMessage() {
|
|
16616
|
-
if (this.isLegacy) {
|
|
16617
|
-
return "This is a legacy map, you may view the latest map instead.";
|
|
16618
|
-
} else if (this.isFC) {
|
|
16619
|
-
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.";
|
|
16620
|
-
}
|
|
16621
|
-
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.";
|
|
16622
|
-
}
|
|
16623
|
-
},
|
|
16624
16664
|
mounted: function mounted() {
|
|
16625
16665
|
var flatmap = __webpack_require__("4979");
|
|
16666
|
+
this.tooltipWait = [];
|
|
16667
|
+
this.tooltipWait.length = this.hoverVisibilities.length;
|
|
16626
16668
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16627
16669
|
this.flatmapQueries = new flatmapQueries_FlatmapQueries();
|
|
16628
16670
|
this.flatmapQueries.initialise(this.sparcAPI, this.flatmapAPI);
|
|
@@ -16638,8 +16680,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16638
16680
|
});
|
|
16639
16681
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16640
16682
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16641
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16642
|
-
var
|
|
16683
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=08f35f66&prod&scoped=true&lang=scss&
|
|
16684
|
+
var FlatmapVuervue_type_style_index_0_id_08f35f66_prod_scoped_true_lang_scss_ = __webpack_require__("9566");
|
|
16643
16685
|
|
|
16644
16686
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16645
16687
|
|
|
@@ -16656,13 +16698,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16656
16698
|
staticRenderFns,
|
|
16657
16699
|
false,
|
|
16658
16700
|
null,
|
|
16659
|
-
"
|
|
16701
|
+
"08f35f66",
|
|
16660
16702
|
null
|
|
16661
16703
|
|
|
16662
16704
|
)
|
|
16663
16705
|
|
|
16664
16706
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16665
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16707
|
+
// 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&
|
|
16666
16708
|
var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function render() {
|
|
16667
16709
|
var _vm = this,
|
|
16668
16710
|
_c = _vm._self._c;
|
|
@@ -16963,11 +17005,11 @@ var TAXON_UUID = {
|
|
|
16963
17005
|
}
|
|
16964
17006
|
}
|
|
16965
17007
|
},
|
|
16966
|
-
/**
|
|
16967
|
-
* Function to switch to the latest existing map from
|
|
16968
|
-
* a legacy map of the same species.
|
|
16969
|
-
*
|
|
16970
|
-
* @private
|
|
17008
|
+
/**
|
|
17009
|
+
* Function to switch to the latest existing map from
|
|
17010
|
+
* a legacy map of the same species.
|
|
17011
|
+
*
|
|
17012
|
+
* @private
|
|
16971
17013
|
*/
|
|
16972
17014
|
viewLatestMap: function viewLatestMap(state) {
|
|
16973
17015
|
var keys = Object.keys(this.speciesList);
|
|
@@ -16979,10 +17021,10 @@ var TAXON_UUID = {
|
|
|
16979
17021
|
}
|
|
16980
17022
|
}
|
|
16981
17023
|
},
|
|
16982
|
-
/**
|
|
16983
|
-
* Create a legacy entry with the provided information
|
|
16984
|
-
*
|
|
16985
|
-
* @private
|
|
17024
|
+
/**
|
|
17025
|
+
* Create a legacy entry with the provided information
|
|
17026
|
+
*
|
|
17027
|
+
* @private
|
|
16986
17028
|
*/
|
|
16987
17029
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
16988
17030
|
if (uuid && taxo) {
|
|
@@ -17006,11 +17048,11 @@ var TAXON_UUID = {
|
|
|
17006
17048
|
};
|
|
17007
17049
|
}
|
|
17008
17050
|
},
|
|
17009
|
-
/**
|
|
17010
|
-
* Function used to translate the legacy map state to one that can be used in current
|
|
17011
|
-
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
17012
|
-
*
|
|
17013
|
-
* @private
|
|
17051
|
+
/**
|
|
17052
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
17053
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
17054
|
+
*
|
|
17055
|
+
* @private
|
|
17014
17056
|
*/
|
|
17015
17057
|
updateState: function updateState(state) {
|
|
17016
17058
|
var _this4 = this;
|
|
@@ -17051,11 +17093,11 @@ var TAXON_UUID = {
|
|
|
17051
17093
|
resolve(state);
|
|
17052
17094
|
});
|
|
17053
17095
|
},
|
|
17054
|
-
/**
|
|
17055
|
-
* Function used for getting the current states of the scene. This exported states
|
|
17056
|
-
* can be imported using the importStates method.
|
|
17057
|
-
*
|
|
17058
|
-
* @public
|
|
17096
|
+
/**
|
|
17097
|
+
* Function used for getting the current states of the scene. This exported states
|
|
17098
|
+
* can be imported using the importStates method.
|
|
17099
|
+
*
|
|
17100
|
+
* @public
|
|
17059
17101
|
*/
|
|
17060
17102
|
getState: function getState() {
|
|
17061
17103
|
var state = {
|
|
@@ -17066,11 +17108,11 @@ var TAXON_UUID = {
|
|
|
17066
17108
|
state.state = map.getState();
|
|
17067
17109
|
return state;
|
|
17068
17110
|
},
|
|
17069
|
-
/**
|
|
17070
|
-
* Function used for importing the states of the scene. This exported states
|
|
17071
|
-
* can be imported using the read states method.
|
|
17072
|
-
*
|
|
17073
|
-
* @public
|
|
17111
|
+
/**
|
|
17112
|
+
* Function used for importing the states of the scene. This exported states
|
|
17113
|
+
* can be imported using the read states method.
|
|
17114
|
+
*
|
|
17115
|
+
* @public
|
|
17074
17116
|
*/
|
|
17075
17117
|
setState: function setState(state) {
|
|
17076
17118
|
var _this5 = this;
|
|
@@ -17113,9 +17155,9 @@ var TAXON_UUID = {
|
|
|
17113
17155
|
type: Boolean,
|
|
17114
17156
|
default: false
|
|
17115
17157
|
},
|
|
17116
|
-
/**
|
|
17117
|
-
* Initial species for the flatmap.
|
|
17118
|
-
* This value will be ignored if a valid state object is provided.
|
|
17158
|
+
/**
|
|
17159
|
+
* Initial species for the flatmap.
|
|
17160
|
+
* This value will be ignored if a valid state object is provided.
|
|
17119
17161
|
*/
|
|
17120
17162
|
initial: {
|
|
17121
17163
|
type: String,
|
|
@@ -17176,15 +17218,15 @@ var TAXON_UUID = {
|
|
|
17176
17218
|
};
|
|
17177
17219
|
}
|
|
17178
17220
|
},
|
|
17179
|
-
/**
|
|
17180
|
-
* State containing state of the flatmap.
|
|
17221
|
+
/**
|
|
17222
|
+
* State containing state of the flatmap.
|
|
17181
17223
|
*/
|
|
17182
17224
|
state: {
|
|
17183
17225
|
type: Object,
|
|
17184
17226
|
default: undefined
|
|
17185
17227
|
},
|
|
17186
|
-
/**
|
|
17187
|
-
* Specify the endpoint of the flatmap server.
|
|
17228
|
+
/**
|
|
17229
|
+
* Specify the endpoint of the flatmap server.
|
|
17188
17230
|
*/
|
|
17189
17231
|
flatmapAPI: {
|
|
17190
17232
|
type: String,
|