@abi-software/flatmapvuer 0.4.4 → 0.4.5
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 +142 -102
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +142 -102
- 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 +1647 -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
|
@@ -248,6 +248,13 @@ row.install = function (Vue) {
|
|
|
248
248
|
|
|
249
249
|
/***/ }),
|
|
250
250
|
|
|
251
|
+
/***/ "106f":
|
|
252
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
253
|
+
|
|
254
|
+
// extracted by mini-css-extract-plugin
|
|
255
|
+
|
|
256
|
+
/***/ }),
|
|
257
|
+
|
|
251
258
|
/***/ "12f2":
|
|
252
259
|
/***/ (function(module, exports, __webpack_require__) {
|
|
253
260
|
|
|
@@ -1469,17 +1476,6 @@ var i18n = exports.i18n = function i18n(fn) {
|
|
|
1469
1476
|
|
|
1470
1477
|
exports.default = { use: use, t: t, i18n: i18n };
|
|
1471
1478
|
|
|
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
1479
|
/***/ }),
|
|
1484
1480
|
|
|
1485
1481
|
/***/ "4933":
|
|
@@ -9796,13 +9792,6 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
9796
9792
|
|
|
9797
9793
|
/***/ }),
|
|
9798
9794
|
|
|
9799
|
-
/***/ "c920":
|
|
9800
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9801
|
-
|
|
9802
|
-
// extracted by mini-css-extract-plugin
|
|
9803
|
-
|
|
9804
|
-
/***/ }),
|
|
9805
|
-
|
|
9806
9795
|
/***/ "ccb0":
|
|
9807
9796
|
/***/ (function(module, exports) {
|
|
9808
9797
|
|
|
@@ -13369,7 +13358,7 @@ if (typeof window !== 'undefined') {
|
|
|
13369
13358
|
// Indicate to webpack that this file can be concatenated
|
|
13370
13359
|
/* harmony default export */ var setPublicPath = (null);
|
|
13371
13360
|
|
|
13372
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13361
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"66e6e374-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=56932599&scoped=true&
|
|
13373
13362
|
var render = function render() {
|
|
13374
13363
|
var _vm = this,
|
|
13375
13364
|
_c = _vm._self._c;
|
|
@@ -13405,7 +13394,6 @@ var render = function render() {
|
|
|
13405
13394
|
}, [_c('div', [_c('el-popover', {
|
|
13406
13395
|
ref: "warningPopover",
|
|
13407
13396
|
attrs: {
|
|
13408
|
-
"content": _vm.getWarningMessage,
|
|
13409
13397
|
"placement": "right",
|
|
13410
13398
|
"appendToBody": false,
|
|
13411
13399
|
"trigger": "manual",
|
|
@@ -13418,7 +13406,54 @@ var render = function render() {
|
|
|
13418
13406
|
},
|
|
13419
13407
|
expression: "hoverVisibilities[6].value"
|
|
13420
13408
|
}
|
|
13421
|
-
}
|
|
13409
|
+
}, [_vm.isLegacy ? _c('p', {
|
|
13410
|
+
on: {
|
|
13411
|
+
"mouseover": function mouseover($event) {
|
|
13412
|
+
return _vm.showToolitip(6);
|
|
13413
|
+
},
|
|
13414
|
+
"mouseout": function mouseout($event) {
|
|
13415
|
+
return _vm.hideToolitip(6);
|
|
13416
|
+
}
|
|
13417
|
+
}
|
|
13418
|
+
}, [_vm._v(" This is a legacy map, you may view the latest map instead. ")]) : _vm.isFC ? _c('p', {
|
|
13419
|
+
on: {
|
|
13420
|
+
"mouseover": function mouseover($event) {
|
|
13421
|
+
return _vm.showToolitip(6);
|
|
13422
|
+
},
|
|
13423
|
+
"mouseout": function mouseout($event) {
|
|
13424
|
+
return _vm.hideToolitip(6);
|
|
13425
|
+
}
|
|
13426
|
+
}
|
|
13427
|
+
}, [_vm._v(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "), _c('a', {
|
|
13428
|
+
attrs: {
|
|
13429
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13430
|
+
"target": "_blank"
|
|
13431
|
+
}
|
|
13432
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13433
|
+
attrs: {
|
|
13434
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13435
|
+
"target": "_blank"
|
|
13436
|
+
}
|
|
13437
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". ")]) : _c('p', {
|
|
13438
|
+
on: {
|
|
13439
|
+
"mouseover": function mouseover($event) {
|
|
13440
|
+
return _vm.showToolitip(6);
|
|
13441
|
+
},
|
|
13442
|
+
"mouseout": function mouseout($event) {
|
|
13443
|
+
return _vm.hideToolitip(6);
|
|
13444
|
+
}
|
|
13445
|
+
}
|
|
13446
|
+
}, [_vm._v(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "), _c('a', {
|
|
13447
|
+
attrs: {
|
|
13448
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13449
|
+
"target": "_blank"
|
|
13450
|
+
}
|
|
13451
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13452
|
+
attrs: {
|
|
13453
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13454
|
+
"target": "_blank"
|
|
13455
|
+
}
|
|
13456
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". New connectivity and species specificity will be added as the SPARC program progresses. ")])]), _vm.displayWarning ? _c('i', {
|
|
13422
13457
|
directives: [{
|
|
13423
13458
|
name: "popover",
|
|
13424
13459
|
rawName: "v-popover:warningPopover",
|
|
@@ -13823,7 +13858,7 @@ var render = function render() {
|
|
|
13823
13858
|
};
|
|
13824
13859
|
var staticRenderFns = [];
|
|
13825
13860
|
|
|
13826
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13861
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=56932599&scoped=true&
|
|
13827
13862
|
|
|
13828
13863
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13829
13864
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -14413,7 +14448,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14413
14448
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14414
14449
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14415
14450
|
|
|
14416
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14451
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"66e6e374-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
14452
|
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
14418
14453
|
var _vm = this,
|
|
14419
14454
|
_c = _vm._self._c;
|
|
@@ -14606,7 +14641,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
|
14606
14641
|
|
|
14607
14642
|
var EventBus = new external_vue_default.a();
|
|
14608
14643
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14609
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14644
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"66e6e374-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
14645
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14611
14646
|
var _vm = this,
|
|
14612
14647
|
_c = _vm._self._c;
|
|
@@ -14970,7 +15005,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
14970
15005
|
)
|
|
14971
15006
|
|
|
14972
15007
|
/* 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":"
|
|
15008
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"66e6e374-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
15009
|
var SelectionsGroupvue_type_template_id_404813f2_scoped_true_render = function render() {
|
|
14975
15010
|
var _vm = this,
|
|
14976
15011
|
_c = _vm._self._c;
|
|
@@ -15107,9 +15142,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15107
15142
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
15108
15143
|
name: "SelectionsGroup",
|
|
15109
15144
|
methods: {
|
|
15110
|
-
/**
|
|
15111
|
-
* Function to toggle paths to default.
|
|
15112
|
-
* Also called when the associated button is pressed.
|
|
15145
|
+
/**
|
|
15146
|
+
* Function to toggle paths to default.
|
|
15147
|
+
* Also called when the associated button is pressed.
|
|
15113
15148
|
*/
|
|
15114
15149
|
reset: function reset() {
|
|
15115
15150
|
var _this = this;
|
|
@@ -15243,7 +15278,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15243
15278
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15244
15279
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15245
15280
|
|
|
15246
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15281
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"66e6e374-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
15282
|
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15248
15283
|
var _vm = this,
|
|
15249
15284
|
_c = _vm._self._c;
|
|
@@ -15942,8 +15977,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15942
15977
|
toggleDrawer: function toggleDrawer() {
|
|
15943
15978
|
this.drawerOpen = !this.drawerOpen;
|
|
15944
15979
|
},
|
|
15945
|
-
/**
|
|
15946
|
-
* Function to toggle colour/greyscale of organs.
|
|
15980
|
+
/**
|
|
15981
|
+
* Function to toggle colour/greyscale of organs.
|
|
15947
15982
|
*/
|
|
15948
15983
|
setColour: function setColour(flag) {
|
|
15949
15984
|
this.colourRadio = flag;
|
|
@@ -15954,8 +15989,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15954
15989
|
});
|
|
15955
15990
|
}
|
|
15956
15991
|
},
|
|
15957
|
-
/**
|
|
15958
|
-
* Function to toggle outlines f organs.
|
|
15992
|
+
/**
|
|
15993
|
+
* Function to toggle outlines f organs.
|
|
15959
15994
|
*/
|
|
15960
15995
|
setOutlines: function setOutlines(flag) {
|
|
15961
15996
|
this.outlineRadio = flag;
|
|
@@ -15966,9 +16001,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15966
16001
|
});
|
|
15967
16002
|
}
|
|
15968
16003
|
},
|
|
15969
|
-
/**
|
|
15970
|
-
* Function to toggle paths to default.
|
|
15971
|
-
* Also called when the associated button is pressed.
|
|
16004
|
+
/**
|
|
16005
|
+
* Function to toggle paths to default.
|
|
16006
|
+
* Also called when the associated button is pressed.
|
|
15972
16007
|
*/
|
|
15973
16008
|
resetView: function resetView() {
|
|
15974
16009
|
if (this.mapImp) {
|
|
@@ -15990,18 +16025,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15990
16025
|
}
|
|
15991
16026
|
}
|
|
15992
16027
|
},
|
|
15993
|
-
/**
|
|
15994
|
-
* Function to zoom in.
|
|
15995
|
-
* Also called when the associated button is pressed.
|
|
16028
|
+
/**
|
|
16029
|
+
* Function to zoom in.
|
|
16030
|
+
* Also called when the associated button is pressed.
|
|
15996
16031
|
*/
|
|
15997
16032
|
zoomIn: function zoomIn() {
|
|
15998
16033
|
if (this.mapImp) {
|
|
15999
16034
|
this.mapImp.zoomIn();
|
|
16000
16035
|
}
|
|
16001
16036
|
},
|
|
16002
|
-
/**
|
|
16003
|
-
* Function to zoom out.
|
|
16004
|
-
* Also called when the associated button is pressed.
|
|
16037
|
+
/**
|
|
16038
|
+
* Function to zoom out.
|
|
16039
|
+
* Also called when the associated button is pressed.
|
|
16005
16040
|
*/
|
|
16006
16041
|
zoomOut: function zoomOut() {
|
|
16007
16042
|
if (this.mapImp) {
|
|
@@ -16206,15 +16241,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16206
16241
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
16207
16242
|
var _this6 = this;
|
|
16208
16243
|
if (!this.inHelp) {
|
|
16244
|
+
clearTimeout(this.tooltipWait);
|
|
16209
16245
|
this.tooltipWait = setTimeout(function () {
|
|
16210
16246
|
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
16211
16247
|
}, 500);
|
|
16212
16248
|
}
|
|
16213
16249
|
},
|
|
16214
16250
|
hideToolitip: function hideToolitip(tooltipNumber) {
|
|
16251
|
+
var _this7 = this;
|
|
16215
16252
|
if (!this.inHelp) {
|
|
16216
|
-
this.hoverVisibilities[tooltipNumber].value = false;
|
|
16217
16253
|
clearTimeout(this.tooltipWait);
|
|
16254
|
+
this.tooltipWait = setTimeout(function () {
|
|
16255
|
+
_this7.hoverVisibilities[tooltipNumber].value = false;
|
|
16256
|
+
}, 500);
|
|
16218
16257
|
}
|
|
16219
16258
|
},
|
|
16220
16259
|
displayTooltip: function displayTooltip() {
|
|
@@ -16290,7 +16329,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16290
16329
|
}
|
|
16291
16330
|
},
|
|
16292
16331
|
createFlatmap: function createFlatmap(state) {
|
|
16293
|
-
var
|
|
16332
|
+
var _this8 = this;
|
|
16294
16333
|
if (!this.mapImp && !this.loading) {
|
|
16295
16334
|
this.loading = true;
|
|
16296
16335
|
var minimap = false;
|
|
@@ -16354,10 +16393,10 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16354
16393
|
minimap: minimap
|
|
16355
16394
|
});
|
|
16356
16395
|
promise1.then(function (returnedObject) {
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
if (
|
|
16360
|
-
|
|
16396
|
+
_this8.mapImp = returnedObject;
|
|
16397
|
+
_this8.onFlatmapReady();
|
|
16398
|
+
if (_this8._stateToBeSet) _this8.restoreMapState(_this8._stateToBeSet);else {
|
|
16399
|
+
_this8.restoreMapState(state);
|
|
16361
16400
|
}
|
|
16362
16401
|
});
|
|
16363
16402
|
} else if (state) {
|
|
@@ -16417,9 +16456,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16417
16456
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
16418
16457
|
this.drawerOpen = flag;
|
|
16419
16458
|
},
|
|
16420
|
-
/**
|
|
16421
|
-
* Function to display features with annotation matching the provided term,
|
|
16422
|
-
* with the option to display the label using displayLabel flag.
|
|
16459
|
+
/**
|
|
16460
|
+
* Function to display features with annotation matching the provided term,
|
|
16461
|
+
* with the option to display the label using displayLabel flag.
|
|
16423
16462
|
*/
|
|
16424
16463
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
16425
16464
|
if (this.mapImp) {
|
|
@@ -16443,8 +16482,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16443
16482
|
}
|
|
16444
16483
|
return false;
|
|
16445
16484
|
},
|
|
16446
|
-
/**
|
|
16447
|
-
* Get the list of suggested terms
|
|
16485
|
+
/**
|
|
16486
|
+
* Get the list of suggested terms
|
|
16448
16487
|
*/
|
|
16449
16488
|
searchSuggestions: function searchSuggestions(term) {
|
|
16450
16489
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -16509,15 +16548,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16509
16548
|
type: String,
|
|
16510
16549
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information."
|
|
16511
16550
|
},
|
|
16512
|
-
/**
|
|
16513
|
-
* State containing state of the flatmap.
|
|
16551
|
+
/**
|
|
16552
|
+
* State containing state of the flatmap.
|
|
16514
16553
|
*/
|
|
16515
16554
|
state: {
|
|
16516
16555
|
type: Object,
|
|
16517
16556
|
default: undefined
|
|
16518
16557
|
},
|
|
16519
|
-
/**
|
|
16520
|
-
* Specify the endpoint of the flatmap server.
|
|
16558
|
+
/**
|
|
16559
|
+
* Specify the endpoint of the flatmap server.
|
|
16521
16560
|
*/
|
|
16522
16561
|
flatmapAPI: {
|
|
16523
16562
|
type: String,
|
|
@@ -16602,16 +16641,6 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16602
16641
|
deep: true
|
|
16603
16642
|
}
|
|
16604
16643
|
},
|
|
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
16644
|
mounted: function mounted() {
|
|
16616
16645
|
var flatmap = __webpack_require__("4979");
|
|
16617
16646
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
@@ -16629,8 +16658,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16629
16658
|
});
|
|
16630
16659
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16631
16660
|
/* 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
|
|
16661
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=56932599&prod&scoped=true&lang=scss&
|
|
16662
|
+
var FlatmapVuervue_type_style_index_0_id_56932599_prod_scoped_true_lang_scss_ = __webpack_require__("fe8d");
|
|
16634
16663
|
|
|
16635
16664
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16636
16665
|
|
|
@@ -16647,13 +16676,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16647
16676
|
staticRenderFns,
|
|
16648
16677
|
false,
|
|
16649
16678
|
null,
|
|
16650
|
-
"
|
|
16679
|
+
"56932599",
|
|
16651
16680
|
null
|
|
16652
16681
|
|
|
16653
16682
|
)
|
|
16654
16683
|
|
|
16655
16684
|
/* 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":"
|
|
16685
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"66e6e374-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
16686
|
var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function render() {
|
|
16658
16687
|
var _vm = this,
|
|
16659
16688
|
_c = _vm._self._c;
|
|
@@ -16954,11 +16983,11 @@ var TAXON_UUID = {
|
|
|
16954
16983
|
}
|
|
16955
16984
|
}
|
|
16956
16985
|
},
|
|
16957
|
-
/**
|
|
16958
|
-
* Function to switch to the latest existing map from
|
|
16959
|
-
* a legacy map of the same species.
|
|
16960
|
-
*
|
|
16961
|
-
* @private
|
|
16986
|
+
/**
|
|
16987
|
+
* Function to switch to the latest existing map from
|
|
16988
|
+
* a legacy map of the same species.
|
|
16989
|
+
*
|
|
16990
|
+
* @private
|
|
16962
16991
|
*/
|
|
16963
16992
|
viewLatestMap: function viewLatestMap(state) {
|
|
16964
16993
|
var keys = Object.keys(this.speciesList);
|
|
@@ -16970,10 +16999,10 @@ var TAXON_UUID = {
|
|
|
16970
16999
|
}
|
|
16971
17000
|
}
|
|
16972
17001
|
},
|
|
16973
|
-
/**
|
|
16974
|
-
* Create a legacy entry with the provided information
|
|
16975
|
-
*
|
|
16976
|
-
* @private
|
|
17002
|
+
/**
|
|
17003
|
+
* Create a legacy entry with the provided information
|
|
17004
|
+
*
|
|
17005
|
+
* @private
|
|
16977
17006
|
*/
|
|
16978
17007
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
16979
17008
|
if (uuid && taxo) {
|
|
@@ -16997,11 +17026,11 @@ var TAXON_UUID = {
|
|
|
16997
17026
|
};
|
|
16998
17027
|
}
|
|
16999
17028
|
},
|
|
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
|
|
17029
|
+
/**
|
|
17030
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
17031
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
17032
|
+
*
|
|
17033
|
+
* @private
|
|
17005
17034
|
*/
|
|
17006
17035
|
updateState: function updateState(state) {
|
|
17007
17036
|
var _this4 = this;
|
|
@@ -17042,11 +17071,11 @@ var TAXON_UUID = {
|
|
|
17042
17071
|
resolve(state);
|
|
17043
17072
|
});
|
|
17044
17073
|
},
|
|
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
|
|
17074
|
+
/**
|
|
17075
|
+
* Function used for getting the current states of the scene. This exported states
|
|
17076
|
+
* can be imported using the importStates method.
|
|
17077
|
+
*
|
|
17078
|
+
* @public
|
|
17050
17079
|
*/
|
|
17051
17080
|
getState: function getState() {
|
|
17052
17081
|
var state = {
|
|
@@ -17057,11 +17086,11 @@ var TAXON_UUID = {
|
|
|
17057
17086
|
state.state = map.getState();
|
|
17058
17087
|
return state;
|
|
17059
17088
|
},
|
|
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
|
|
17089
|
+
/**
|
|
17090
|
+
* Function used for importing the states of the scene. This exported states
|
|
17091
|
+
* can be imported using the read states method.
|
|
17092
|
+
*
|
|
17093
|
+
* @public
|
|
17065
17094
|
*/
|
|
17066
17095
|
setState: function setState(state) {
|
|
17067
17096
|
var _this5 = this;
|
|
@@ -17104,9 +17133,9 @@ var TAXON_UUID = {
|
|
|
17104
17133
|
type: Boolean,
|
|
17105
17134
|
default: false
|
|
17106
17135
|
},
|
|
17107
|
-
/**
|
|
17108
|
-
* Initial species for the flatmap.
|
|
17109
|
-
* This value will be ignored if a valid state object is provided.
|
|
17136
|
+
/**
|
|
17137
|
+
* Initial species for the flatmap.
|
|
17138
|
+
* This value will be ignored if a valid state object is provided.
|
|
17110
17139
|
*/
|
|
17111
17140
|
initial: {
|
|
17112
17141
|
type: String,
|
|
@@ -17167,15 +17196,15 @@ var TAXON_UUID = {
|
|
|
17167
17196
|
};
|
|
17168
17197
|
}
|
|
17169
17198
|
},
|
|
17170
|
-
/**
|
|
17171
|
-
* State containing state of the flatmap.
|
|
17199
|
+
/**
|
|
17200
|
+
* State containing state of the flatmap.
|
|
17172
17201
|
*/
|
|
17173
17202
|
state: {
|
|
17174
17203
|
type: Object,
|
|
17175
17204
|
default: undefined
|
|
17176
17205
|
},
|
|
17177
|
-
/**
|
|
17178
|
-
* Specify the endpoint of the flatmap server.
|
|
17206
|
+
/**
|
|
17207
|
+
* Specify the endpoint of the flatmap server.
|
|
17179
17208
|
*/
|
|
17180
17209
|
flatmapAPI: {
|
|
17181
17210
|
type: String,
|
|
@@ -17255,6 +17284,17 @@ module.exports = require("core-js/modules/es.string.includes.js");
|
|
|
17255
17284
|
|
|
17256
17285
|
// extracted by mini-css-extract-plugin
|
|
17257
17286
|
|
|
17287
|
+
/***/ }),
|
|
17288
|
+
|
|
17289
|
+
/***/ "fe8d":
|
|
17290
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17291
|
+
|
|
17292
|
+
"use strict";
|
|
17293
|
+
/* 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_56932599_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("106f");
|
|
17294
|
+
/* 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_56932599_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_56932599_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
17295
|
+
/* unused harmony reexport * */
|
|
17296
|
+
|
|
17297
|
+
|
|
17258
17298
|
/***/ })
|
|
17259
17299
|
|
|
17260
17300
|
/******/ });
|