@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -257,6 +257,13 @@ row.install = function (Vue) {
|
|
|
257
257
|
|
|
258
258
|
/***/ }),
|
|
259
259
|
|
|
260
|
+
/***/ "106f":
|
|
261
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
262
|
+
|
|
263
|
+
// extracted by mini-css-extract-plugin
|
|
264
|
+
|
|
265
|
+
/***/ }),
|
|
266
|
+
|
|
260
267
|
/***/ "12f2":
|
|
261
268
|
/***/ (function(module, exports, __webpack_require__) {
|
|
262
269
|
|
|
@@ -1478,17 +1485,6 @@ var i18n = exports.i18n = function i18n(fn) {
|
|
|
1478
1485
|
|
|
1479
1486
|
exports.default = { use: use, t: t, i18n: i18n };
|
|
1480
1487
|
|
|
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
1488
|
/***/ }),
|
|
1493
1489
|
|
|
1494
1490
|
/***/ "4933":
|
|
@@ -9805,13 +9801,6 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
9805
9801
|
|
|
9806
9802
|
/***/ }),
|
|
9807
9803
|
|
|
9808
|
-
/***/ "c920":
|
|
9809
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9810
|
-
|
|
9811
|
-
// extracted by mini-css-extract-plugin
|
|
9812
|
-
|
|
9813
|
-
/***/ }),
|
|
9814
|
-
|
|
9815
9804
|
/***/ "ccb0":
|
|
9816
9805
|
/***/ (function(module, exports) {
|
|
9817
9806
|
|
|
@@ -13378,7 +13367,7 @@ if (typeof window !== 'undefined') {
|
|
|
13378
13367
|
// Indicate to webpack that this file can be concatenated
|
|
13379
13368
|
/* harmony default export */ var setPublicPath = (null);
|
|
13380
13369
|
|
|
13381
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13370
|
+
// 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&
|
|
13382
13371
|
var render = function render() {
|
|
13383
13372
|
var _vm = this,
|
|
13384
13373
|
_c = _vm._self._c;
|
|
@@ -13414,7 +13403,6 @@ var render = function render() {
|
|
|
13414
13403
|
}, [_c('div', [_c('el-popover', {
|
|
13415
13404
|
ref: "warningPopover",
|
|
13416
13405
|
attrs: {
|
|
13417
|
-
"content": _vm.getWarningMessage,
|
|
13418
13406
|
"placement": "right",
|
|
13419
13407
|
"appendToBody": false,
|
|
13420
13408
|
"trigger": "manual",
|
|
@@ -13427,7 +13415,54 @@ var render = function render() {
|
|
|
13427
13415
|
},
|
|
13428
13416
|
expression: "hoverVisibilities[6].value"
|
|
13429
13417
|
}
|
|
13430
|
-
}
|
|
13418
|
+
}, [_vm.isLegacy ? _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 is a legacy map, you may view the latest map instead. ")]) : _vm.isFC ? _c('p', {
|
|
13428
|
+
on: {
|
|
13429
|
+
"mouseover": function mouseover($event) {
|
|
13430
|
+
return _vm.showToolitip(6);
|
|
13431
|
+
},
|
|
13432
|
+
"mouseout": function mouseout($event) {
|
|
13433
|
+
return _vm.hideToolitip(6);
|
|
13434
|
+
}
|
|
13435
|
+
}
|
|
13436
|
+
}, [_vm._v(" This map displays the connectivity of individual neurons. Specifically, those which align with (parts of) the neuron populations from the "), _c('a', {
|
|
13437
|
+
attrs: {
|
|
13438
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13439
|
+
"target": "_blank"
|
|
13440
|
+
}
|
|
13441
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13442
|
+
attrs: {
|
|
13443
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13444
|
+
"target": "_blank"
|
|
13445
|
+
}
|
|
13446
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". ")]) : _c('p', {
|
|
13447
|
+
on: {
|
|
13448
|
+
"mouseover": function mouseover($event) {
|
|
13449
|
+
return _vm.showToolitip(6);
|
|
13450
|
+
},
|
|
13451
|
+
"mouseout": function mouseout($event) {
|
|
13452
|
+
return _vm.hideToolitip(6);
|
|
13453
|
+
}
|
|
13454
|
+
}
|
|
13455
|
+
}, [_vm._v(" This map displays the connectivity of neuron populations. Specifically, those from the primarily rat-based "), _c('a', {
|
|
13456
|
+
attrs: {
|
|
13457
|
+
"href": "https://sparc.science/resources/1ZUKXU2YmLcn2reCyXjlew",
|
|
13458
|
+
"target": "_blank"
|
|
13459
|
+
}
|
|
13460
|
+
}, [_vm._v(" ApiNATOMY ")]), _vm._v(" models available in "), _c('a', {
|
|
13461
|
+
attrs: {
|
|
13462
|
+
"href": "https://sparc.science/resources/6eg3VpJbwQR4B84CjrvmyD",
|
|
13463
|
+
"target": "_blank"
|
|
13464
|
+
}
|
|
13465
|
+
}, [_vm._v(" SCKAN ")]), _vm._v(". New connectivity and species specificity will be added as the SPARC program progresses. ")])]), _vm.displayWarning ? _c('i', {
|
|
13431
13466
|
directives: [{
|
|
13432
13467
|
name: "popover",
|
|
13433
13468
|
rawName: "v-popover:warningPopover",
|
|
@@ -13832,7 +13867,7 @@ var render = function render() {
|
|
|
13832
13867
|
};
|
|
13833
13868
|
var staticRenderFns = [];
|
|
13834
13869
|
|
|
13835
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13870
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=56932599&scoped=true&
|
|
13836
13871
|
|
|
13837
13872
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13838
13873
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -14422,7 +14457,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14422
14457
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14423
14458
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14424
14459
|
|
|
14425
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14460
|
+
// 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&
|
|
14426
14461
|
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
14427
14462
|
var _vm = this,
|
|
14428
14463
|
_c = _vm._self._c;
|
|
@@ -14615,7 +14650,7 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
|
14615
14650
|
|
|
14616
14651
|
var EventBus = new external_vue_default.a();
|
|
14617
14652
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14618
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14653
|
+
// 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&
|
|
14619
14654
|
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14620
14655
|
var _vm = this,
|
|
14621
14656
|
_c = _vm._self._c;
|
|
@@ -14979,7 +15014,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
14979
15014
|
)
|
|
14980
15015
|
|
|
14981
15016
|
/* 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":"
|
|
15017
|
+
// 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&
|
|
14983
15018
|
var SelectionsGroupvue_type_template_id_404813f2_scoped_true_render = function render() {
|
|
14984
15019
|
var _vm = this,
|
|
14985
15020
|
_c = _vm._self._c;
|
|
@@ -15116,9 +15151,9 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15116
15151
|
/* harmony default export */ var SelectionsGroupvue_type_script_lang_js_ = ({
|
|
15117
15152
|
name: "SelectionsGroup",
|
|
15118
15153
|
methods: {
|
|
15119
|
-
/**
|
|
15120
|
-
* Function to toggle paths to default.
|
|
15121
|
-
* Also called when the associated button is pressed.
|
|
15154
|
+
/**
|
|
15155
|
+
* Function to toggle paths to default.
|
|
15156
|
+
* Also called when the associated button is pressed.
|
|
15122
15157
|
*/
|
|
15123
15158
|
reset: function reset() {
|
|
15124
15159
|
var _this = this;
|
|
@@ -15252,7 +15287,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15252
15287
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15253
15288
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15254
15289
|
|
|
15255
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15290
|
+
// 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&
|
|
15256
15291
|
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15257
15292
|
var _vm = this,
|
|
15258
15293
|
_c = _vm._self._c;
|
|
@@ -15951,8 +15986,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15951
15986
|
toggleDrawer: function toggleDrawer() {
|
|
15952
15987
|
this.drawerOpen = !this.drawerOpen;
|
|
15953
15988
|
},
|
|
15954
|
-
/**
|
|
15955
|
-
* Function to toggle colour/greyscale of organs.
|
|
15989
|
+
/**
|
|
15990
|
+
* Function to toggle colour/greyscale of organs.
|
|
15956
15991
|
*/
|
|
15957
15992
|
setColour: function setColour(flag) {
|
|
15958
15993
|
this.colourRadio = flag;
|
|
@@ -15963,8 +15998,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15963
15998
|
});
|
|
15964
15999
|
}
|
|
15965
16000
|
},
|
|
15966
|
-
/**
|
|
15967
|
-
* Function to toggle outlines f organs.
|
|
16001
|
+
/**
|
|
16002
|
+
* Function to toggle outlines f organs.
|
|
15968
16003
|
*/
|
|
15969
16004
|
setOutlines: function setOutlines(flag) {
|
|
15970
16005
|
this.outlineRadio = flag;
|
|
@@ -15975,9 +16010,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15975
16010
|
});
|
|
15976
16011
|
}
|
|
15977
16012
|
},
|
|
15978
|
-
/**
|
|
15979
|
-
* Function to toggle paths to default.
|
|
15980
|
-
* Also called when the associated button is pressed.
|
|
16013
|
+
/**
|
|
16014
|
+
* Function to toggle paths to default.
|
|
16015
|
+
* Also called when the associated button is pressed.
|
|
15981
16016
|
*/
|
|
15982
16017
|
resetView: function resetView() {
|
|
15983
16018
|
if (this.mapImp) {
|
|
@@ -15999,18 +16034,18 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
15999
16034
|
}
|
|
16000
16035
|
}
|
|
16001
16036
|
},
|
|
16002
|
-
/**
|
|
16003
|
-
* Function to zoom in.
|
|
16004
|
-
* Also called when the associated button is pressed.
|
|
16037
|
+
/**
|
|
16038
|
+
* Function to zoom in.
|
|
16039
|
+
* Also called when the associated button is pressed.
|
|
16005
16040
|
*/
|
|
16006
16041
|
zoomIn: function zoomIn() {
|
|
16007
16042
|
if (this.mapImp) {
|
|
16008
16043
|
this.mapImp.zoomIn();
|
|
16009
16044
|
}
|
|
16010
16045
|
},
|
|
16011
|
-
/**
|
|
16012
|
-
* Function to zoom out.
|
|
16013
|
-
* Also called when the associated button is pressed.
|
|
16046
|
+
/**
|
|
16047
|
+
* Function to zoom out.
|
|
16048
|
+
* Also called when the associated button is pressed.
|
|
16014
16049
|
*/
|
|
16015
16050
|
zoomOut: function zoomOut() {
|
|
16016
16051
|
if (this.mapImp) {
|
|
@@ -16215,15 +16250,19 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16215
16250
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
16216
16251
|
var _this6 = this;
|
|
16217
16252
|
if (!this.inHelp) {
|
|
16253
|
+
clearTimeout(this.tooltipWait);
|
|
16218
16254
|
this.tooltipWait = setTimeout(function () {
|
|
16219
16255
|
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
16220
16256
|
}, 500);
|
|
16221
16257
|
}
|
|
16222
16258
|
},
|
|
16223
16259
|
hideToolitip: function hideToolitip(tooltipNumber) {
|
|
16260
|
+
var _this7 = this;
|
|
16224
16261
|
if (!this.inHelp) {
|
|
16225
|
-
this.hoverVisibilities[tooltipNumber].value = false;
|
|
16226
16262
|
clearTimeout(this.tooltipWait);
|
|
16263
|
+
this.tooltipWait = setTimeout(function () {
|
|
16264
|
+
_this7.hoverVisibilities[tooltipNumber].value = false;
|
|
16265
|
+
}, 500);
|
|
16227
16266
|
}
|
|
16228
16267
|
},
|
|
16229
16268
|
displayTooltip: function displayTooltip() {
|
|
@@ -16299,7 +16338,7 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16299
16338
|
}
|
|
16300
16339
|
},
|
|
16301
16340
|
createFlatmap: function createFlatmap(state) {
|
|
16302
|
-
var
|
|
16341
|
+
var _this8 = this;
|
|
16303
16342
|
if (!this.mapImp && !this.loading) {
|
|
16304
16343
|
this.loading = true;
|
|
16305
16344
|
var minimap = false;
|
|
@@ -16363,10 +16402,10 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16363
16402
|
minimap: minimap
|
|
16364
16403
|
});
|
|
16365
16404
|
promise1.then(function (returnedObject) {
|
|
16366
|
-
|
|
16367
|
-
|
|
16368
|
-
if (
|
|
16369
|
-
|
|
16405
|
+
_this8.mapImp = returnedObject;
|
|
16406
|
+
_this8.onFlatmapReady();
|
|
16407
|
+
if (_this8._stateToBeSet) _this8.restoreMapState(_this8._stateToBeSet);else {
|
|
16408
|
+
_this8.restoreMapState(state);
|
|
16370
16409
|
}
|
|
16371
16410
|
});
|
|
16372
16411
|
} else if (state) {
|
|
@@ -16426,9 +16465,9 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16426
16465
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
16427
16466
|
this.drawerOpen = flag;
|
|
16428
16467
|
},
|
|
16429
|
-
/**
|
|
16430
|
-
* Function to display features with annotation matching the provided term,
|
|
16431
|
-
* with the option to display the label using displayLabel flag.
|
|
16468
|
+
/**
|
|
16469
|
+
* Function to display features with annotation matching the provided term,
|
|
16470
|
+
* with the option to display the label using displayLabel flag.
|
|
16432
16471
|
*/
|
|
16433
16472
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
16434
16473
|
if (this.mapImp) {
|
|
@@ -16452,8 +16491,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16452
16491
|
}
|
|
16453
16492
|
return false;
|
|
16454
16493
|
},
|
|
16455
|
-
/**
|
|
16456
|
-
* Get the list of suggested terms
|
|
16494
|
+
/**
|
|
16495
|
+
* Get the list of suggested terms
|
|
16457
16496
|
*/
|
|
16458
16497
|
searchSuggestions: function searchSuggestions(term) {
|
|
16459
16498
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -16518,15 +16557,15 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16518
16557
|
type: String,
|
|
16519
16558
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information."
|
|
16520
16559
|
},
|
|
16521
|
-
/**
|
|
16522
|
-
* State containing state of the flatmap.
|
|
16560
|
+
/**
|
|
16561
|
+
* State containing state of the flatmap.
|
|
16523
16562
|
*/
|
|
16524
16563
|
state: {
|
|
16525
16564
|
type: Object,
|
|
16526
16565
|
default: undefined
|
|
16527
16566
|
},
|
|
16528
|
-
/**
|
|
16529
|
-
* Specify the endpoint of the flatmap server.
|
|
16567
|
+
/**
|
|
16568
|
+
* Specify the endpoint of the flatmap server.
|
|
16530
16569
|
*/
|
|
16531
16570
|
flatmapAPI: {
|
|
16532
16571
|
type: String,
|
|
@@ -16611,16 +16650,6 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16611
16650
|
deep: true
|
|
16612
16651
|
}
|
|
16613
16652
|
},
|
|
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
16653
|
mounted: function mounted() {
|
|
16625
16654
|
var flatmap = __webpack_require__("4979");
|
|
16626
16655
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
@@ -16638,8 +16667,8 @@ var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
|
16638
16667
|
});
|
|
16639
16668
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16640
16669
|
/* 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
|
|
16670
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=56932599&prod&scoped=true&lang=scss&
|
|
16671
|
+
var FlatmapVuervue_type_style_index_0_id_56932599_prod_scoped_true_lang_scss_ = __webpack_require__("fe8d");
|
|
16643
16672
|
|
|
16644
16673
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16645
16674
|
|
|
@@ -16656,13 +16685,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16656
16685
|
staticRenderFns,
|
|
16657
16686
|
false,
|
|
16658
16687
|
null,
|
|
16659
|
-
"
|
|
16688
|
+
"56932599",
|
|
16660
16689
|
null
|
|
16661
16690
|
|
|
16662
16691
|
)
|
|
16663
16692
|
|
|
16664
16693
|
/* 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":"
|
|
16694
|
+
// 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&
|
|
16666
16695
|
var MultiFlatmapVuervue_type_template_id_0732c3a0_scoped_true_render = function render() {
|
|
16667
16696
|
var _vm = this,
|
|
16668
16697
|
_c = _vm._self._c;
|
|
@@ -16963,11 +16992,11 @@ var TAXON_UUID = {
|
|
|
16963
16992
|
}
|
|
16964
16993
|
}
|
|
16965
16994
|
},
|
|
16966
|
-
/**
|
|
16967
|
-
* Function to switch to the latest existing map from
|
|
16968
|
-
* a legacy map of the same species.
|
|
16969
|
-
*
|
|
16970
|
-
* @private
|
|
16995
|
+
/**
|
|
16996
|
+
* Function to switch to the latest existing map from
|
|
16997
|
+
* a legacy map of the same species.
|
|
16998
|
+
*
|
|
16999
|
+
* @private
|
|
16971
17000
|
*/
|
|
16972
17001
|
viewLatestMap: function viewLatestMap(state) {
|
|
16973
17002
|
var keys = Object.keys(this.speciesList);
|
|
@@ -16979,10 +17008,10 @@ var TAXON_UUID = {
|
|
|
16979
17008
|
}
|
|
16980
17009
|
}
|
|
16981
17010
|
},
|
|
16982
|
-
/**
|
|
16983
|
-
* Create a legacy entry with the provided information
|
|
16984
|
-
*
|
|
16985
|
-
* @private
|
|
17011
|
+
/**
|
|
17012
|
+
* Create a legacy entry with the provided information
|
|
17013
|
+
*
|
|
17014
|
+
* @private
|
|
16986
17015
|
*/
|
|
16987
17016
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
16988
17017
|
if (uuid && taxo) {
|
|
@@ -17006,11 +17035,11 @@ var TAXON_UUID = {
|
|
|
17006
17035
|
};
|
|
17007
17036
|
}
|
|
17008
17037
|
},
|
|
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
|
|
17038
|
+
/**
|
|
17039
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
17040
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
17041
|
+
*
|
|
17042
|
+
* @private
|
|
17014
17043
|
*/
|
|
17015
17044
|
updateState: function updateState(state) {
|
|
17016
17045
|
var _this4 = this;
|
|
@@ -17051,11 +17080,11 @@ var TAXON_UUID = {
|
|
|
17051
17080
|
resolve(state);
|
|
17052
17081
|
});
|
|
17053
17082
|
},
|
|
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
|
|
17083
|
+
/**
|
|
17084
|
+
* Function used for getting the current states of the scene. This exported states
|
|
17085
|
+
* can be imported using the importStates method.
|
|
17086
|
+
*
|
|
17087
|
+
* @public
|
|
17059
17088
|
*/
|
|
17060
17089
|
getState: function getState() {
|
|
17061
17090
|
var state = {
|
|
@@ -17066,11 +17095,11 @@ var TAXON_UUID = {
|
|
|
17066
17095
|
state.state = map.getState();
|
|
17067
17096
|
return state;
|
|
17068
17097
|
},
|
|
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
|
|
17098
|
+
/**
|
|
17099
|
+
* Function used for importing the states of the scene. This exported states
|
|
17100
|
+
* can be imported using the read states method.
|
|
17101
|
+
*
|
|
17102
|
+
* @public
|
|
17074
17103
|
*/
|
|
17075
17104
|
setState: function setState(state) {
|
|
17076
17105
|
var _this5 = this;
|
|
@@ -17113,9 +17142,9 @@ var TAXON_UUID = {
|
|
|
17113
17142
|
type: Boolean,
|
|
17114
17143
|
default: false
|
|
17115
17144
|
},
|
|
17116
|
-
/**
|
|
17117
|
-
* Initial species for the flatmap.
|
|
17118
|
-
* This value will be ignored if a valid state object is provided.
|
|
17145
|
+
/**
|
|
17146
|
+
* Initial species for the flatmap.
|
|
17147
|
+
* This value will be ignored if a valid state object is provided.
|
|
17119
17148
|
*/
|
|
17120
17149
|
initial: {
|
|
17121
17150
|
type: String,
|
|
@@ -17176,15 +17205,15 @@ var TAXON_UUID = {
|
|
|
17176
17205
|
};
|
|
17177
17206
|
}
|
|
17178
17207
|
},
|
|
17179
|
-
/**
|
|
17180
|
-
* State containing state of the flatmap.
|
|
17208
|
+
/**
|
|
17209
|
+
* State containing state of the flatmap.
|
|
17181
17210
|
*/
|
|
17182
17211
|
state: {
|
|
17183
17212
|
type: Object,
|
|
17184
17213
|
default: undefined
|
|
17185
17214
|
},
|
|
17186
|
-
/**
|
|
17187
|
-
* Specify the endpoint of the flatmap server.
|
|
17215
|
+
/**
|
|
17216
|
+
* Specify the endpoint of the flatmap server.
|
|
17188
17217
|
*/
|
|
17189
17218
|
flatmapAPI: {
|
|
17190
17219
|
type: String,
|
|
@@ -17264,6 +17293,17 @@ module.exports = require("core-js/modules/es.string.includes.js");
|
|
|
17264
17293
|
|
|
17265
17294
|
// extracted by mini-css-extract-plugin
|
|
17266
17295
|
|
|
17296
|
+
/***/ }),
|
|
17297
|
+
|
|
17298
|
+
/***/ "fe8d":
|
|
17299
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17300
|
+
|
|
17301
|
+
"use strict";
|
|
17302
|
+
/* 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");
|
|
17303
|
+
/* 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__);
|
|
17304
|
+
/* unused harmony reexport * */
|
|
17305
|
+
|
|
17306
|
+
|
|
17267
17307
|
/***/ })
|
|
17268
17308
|
|
|
17269
17309
|
/******/ });
|