@abi-software/flatmapvuer 0.4.0 → 0.4.1-beta.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/dist/flatmapvuer.common.js +1634 -1015
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1634 -1015
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +3 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +4 -4
- package/package.json +2 -2
- package/src/App.vue +10 -6
- package/src/components/ExternalResourceCard.vue +99 -0
- package/src/components/FlatmapVuer.vue +76 -92
- package/src/components/MultiFlatmapVuer.vue +5 -0
- package/src/components/SelectionsGroup.vue +36 -13
- package/src/components/Tooltip.vue +42 -231
- package/src/services/flatmapQueries.js +381 -0
- package/src/components/PubmedViewer.vue +0 -150
|
@@ -87,6 +87,13 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ "06b8":
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
// extracted by mini-css-extract-plugin
|
|
94
|
+
|
|
95
|
+
/***/ }),
|
|
96
|
+
|
|
90
97
|
/***/ "06f1":
|
|
91
98
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
99
|
|
|
@@ -270,6 +277,13 @@ exports.default = function (ref) {
|
|
|
270
277
|
|
|
271
278
|
/***/ }),
|
|
272
279
|
|
|
280
|
+
/***/ "12fb":
|
|
281
|
+
/***/ (function(module, exports) {
|
|
282
|
+
|
|
283
|
+
module.exports = require("core-js/modules/es.json.to-string-tag.js");
|
|
284
|
+
|
|
285
|
+
/***/ }),
|
|
286
|
+
|
|
273
287
|
/***/ "13e3":
|
|
274
288
|
/***/ (function(module, exports) {
|
|
275
289
|
|
|
@@ -705,6 +719,13 @@ module.exports = __webpack_require__("e62d");
|
|
|
705
719
|
|
|
706
720
|
/***/ }),
|
|
707
721
|
|
|
722
|
+
/***/ "14f0":
|
|
723
|
+
/***/ (function(module, exports) {
|
|
724
|
+
|
|
725
|
+
module.exports = require("core-js/modules/es.symbol.to-string-tag.js");
|
|
726
|
+
|
|
727
|
+
/***/ }),
|
|
728
|
+
|
|
708
729
|
/***/ "1951":
|
|
709
730
|
/***/ (function(module, exports, __webpack_require__) {
|
|
710
731
|
|
|
@@ -740,21 +761,17 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
740
761
|
|
|
741
762
|
/***/ }),
|
|
742
763
|
|
|
743
|
-
/***/ "
|
|
744
|
-
/***/ (function(module, exports
|
|
764
|
+
/***/ "1f48":
|
|
765
|
+
/***/ (function(module, exports) {
|
|
745
766
|
|
|
746
|
-
|
|
767
|
+
module.exports = require("core-js/modules/es.date.to-primitive.js");
|
|
747
768
|
|
|
748
769
|
/***/ }),
|
|
749
770
|
|
|
750
|
-
/***/ "
|
|
751
|
-
/***/ (function(module,
|
|
752
|
-
|
|
753
|
-
"use strict";
|
|
754
|
-
/* 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_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7a9a");
|
|
755
|
-
/* 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_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_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_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
756
|
-
/* unused harmony reexport * */
|
|
771
|
+
/***/ "222e":
|
|
772
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
757
773
|
|
|
774
|
+
// extracted by mini-css-extract-plugin
|
|
758
775
|
|
|
759
776
|
/***/ }),
|
|
760
777
|
|
|
@@ -900,6 +917,20 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
900
917
|
|
|
901
918
|
/***/ }),
|
|
902
919
|
|
|
920
|
+
/***/ "35ee":
|
|
921
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
922
|
+
|
|
923
|
+
// extracted by mini-css-extract-plugin
|
|
924
|
+
|
|
925
|
+
/***/ }),
|
|
926
|
+
|
|
927
|
+
/***/ "362b":
|
|
928
|
+
/***/ (function(module, exports) {
|
|
929
|
+
|
|
930
|
+
module.exports = require("core-js/modules/es.object.get-prototype-of.js");
|
|
931
|
+
|
|
932
|
+
/***/ }),
|
|
933
|
+
|
|
903
934
|
/***/ "3d2d":
|
|
904
935
|
/***/ (function(module, exports, __webpack_require__) {
|
|
905
936
|
|
|
@@ -1193,13 +1224,6 @@ main.install = function (Vue) {
|
|
|
1193
1224
|
|
|
1194
1225
|
/***/ }),
|
|
1195
1226
|
|
|
1196
|
-
/***/ "400b":
|
|
1197
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1198
|
-
|
|
1199
|
-
// extracted by mini-css-extract-plugin
|
|
1200
|
-
|
|
1201
|
-
/***/ }),
|
|
1202
|
-
|
|
1203
1227
|
/***/ "4010":
|
|
1204
1228
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1205
1229
|
|
|
@@ -1266,6 +1290,24 @@ var removeResizeListener = exports.removeResizeListener = function removeResizeL
|
|
|
1266
1290
|
|
|
1267
1291
|
/***/ }),
|
|
1268
1292
|
|
|
1293
|
+
/***/ "4034":
|
|
1294
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1295
|
+
|
|
1296
|
+
"use strict";
|
|
1297
|
+
/* 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_ExternalResourceCard_vue_vue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4d43");
|
|
1298
|
+
/* 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_ExternalResourceCard_vue_vue_type_style_index_0_id_14172b61_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_ExternalResourceCard_vue_vue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
1299
|
+
/* unused harmony reexport * */
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
/***/ }),
|
|
1303
|
+
|
|
1304
|
+
/***/ "4086":
|
|
1305
|
+
/***/ (function(module, exports) {
|
|
1306
|
+
|
|
1307
|
+
module.exports = require("core-js/modules/es.object.set-prototype-of.js");
|
|
1308
|
+
|
|
1309
|
+
/***/ }),
|
|
1310
|
+
|
|
1269
1311
|
/***/ "417f":
|
|
1270
1312
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1271
1313
|
|
|
@@ -1350,6 +1392,17 @@ exports.default = {
|
|
|
1350
1392
|
}
|
|
1351
1393
|
};
|
|
1352
1394
|
|
|
1395
|
+
/***/ }),
|
|
1396
|
+
|
|
1397
|
+
/***/ "4217":
|
|
1398
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1399
|
+
|
|
1400
|
+
"use strict";
|
|
1401
|
+
/* 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_3bcd7b15_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ee41");
|
|
1402
|
+
/* 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_3bcd7b15_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_3bcd7b15_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
1403
|
+
/* unused harmony reexport * */
|
|
1404
|
+
|
|
1405
|
+
|
|
1353
1406
|
/***/ }),
|
|
1354
1407
|
|
|
1355
1408
|
/***/ "429c":
|
|
@@ -1683,7 +1736,7 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
1683
1736
|
|
|
1684
1737
|
/***/ }),
|
|
1685
1738
|
|
|
1686
|
-
/***/ "
|
|
1739
|
+
/***/ "4d43":
|
|
1687
1740
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1688
1741
|
|
|
1689
1742
|
// extracted by mini-css-extract-plugin
|
|
@@ -3866,17 +3919,6 @@ src_select.install = function (Vue) {
|
|
|
3866
3919
|
|
|
3867
3920
|
/******/ });
|
|
3868
3921
|
|
|
3869
|
-
/***/ }),
|
|
3870
|
-
|
|
3871
|
-
/***/ "4fc1":
|
|
3872
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3873
|
-
|
|
3874
|
-
"use strict";
|
|
3875
|
-
/* 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_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5967");
|
|
3876
|
-
/* 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_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_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_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
3877
|
-
/* unused harmony reexport * */
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
3922
|
/***/ }),
|
|
3881
3923
|
|
|
3882
3924
|
/***/ "5128":
|
|
@@ -4367,13 +4409,6 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4367
4409
|
|
|
4368
4410
|
/***/ }),
|
|
4369
4411
|
|
|
4370
|
-
/***/ "5967":
|
|
4371
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4372
|
-
|
|
4373
|
-
// extracted by mini-css-extract-plugin
|
|
4374
|
-
|
|
4375
|
-
/***/ }),
|
|
4376
|
-
|
|
4377
4412
|
/***/ "5a3b":
|
|
4378
4413
|
/***/ (function(module, exports) {
|
|
4379
4414
|
|
|
@@ -6715,6 +6750,13 @@ module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
|
6715
6750
|
|
|
6716
6751
|
/***/ }),
|
|
6717
6752
|
|
|
6753
|
+
/***/ "7267":
|
|
6754
|
+
/***/ (function(module, exports) {
|
|
6755
|
+
|
|
6756
|
+
module.exports = require("core-js/modules/es.math.to-string-tag.js");
|
|
6757
|
+
|
|
6758
|
+
/***/ }),
|
|
6759
|
+
|
|
6718
6760
|
/***/ "7435":
|
|
6719
6761
|
/***/ (function(module, exports) {
|
|
6720
6762
|
|
|
@@ -6722,14 +6764,14 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6722
6764
|
|
|
6723
6765
|
/***/ }),
|
|
6724
6766
|
|
|
6725
|
-
/***/ "
|
|
6726
|
-
/***/ (function(module, exports
|
|
6767
|
+
/***/ "7949":
|
|
6768
|
+
/***/ (function(module, exports) {
|
|
6727
6769
|
|
|
6728
|
-
|
|
6770
|
+
module.exports = require("core-js/modules/es.object.proto.js");
|
|
6729
6771
|
|
|
6730
6772
|
/***/ }),
|
|
6731
6773
|
|
|
6732
|
-
/***/ "
|
|
6774
|
+
/***/ "7a0f":
|
|
6733
6775
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6734
6776
|
|
|
6735
6777
|
// extracted by mini-css-extract-plugin
|
|
@@ -7016,6 +7058,17 @@ main.install = function (Vue) {
|
|
|
7016
7058
|
|
|
7017
7059
|
/******/ });
|
|
7018
7060
|
|
|
7061
|
+
/***/ }),
|
|
7062
|
+
|
|
7063
|
+
/***/ "7b79":
|
|
7064
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7065
|
+
|
|
7066
|
+
"use strict";
|
|
7067
|
+
/* 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_SelectionsGroup_vue_vue_type_style_index_0_id_1f69f0e7_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("06b8");
|
|
7068
|
+
/* 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_SelectionsGroup_vue_vue_type_style_index_0_id_1f69f0e7_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_SelectionsGroup_vue_vue_type_style_index_0_id_1f69f0e7_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7069
|
+
/* unused harmony reexport * */
|
|
7070
|
+
|
|
7071
|
+
|
|
7019
7072
|
/***/ }),
|
|
7020
7073
|
|
|
7021
7074
|
/***/ "7f4d":
|
|
@@ -7362,17 +7415,6 @@ checkbox_group.install = function (Vue) {
|
|
|
7362
7415
|
|
|
7363
7416
|
/******/ });
|
|
7364
7417
|
|
|
7365
|
-
/***/ }),
|
|
7366
|
-
|
|
7367
|
-
/***/ "8056":
|
|
7368
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7369
|
-
|
|
7370
|
-
"use strict";
|
|
7371
|
-
/* 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_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("22c0");
|
|
7372
|
-
/* 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_48cc3512_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_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7373
|
-
/* unused harmony reexport * */
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
7418
|
/***/ }),
|
|
7377
7419
|
|
|
7378
7420
|
/***/ "8122":
|
|
@@ -8639,6 +8681,17 @@ tag.install = function (Vue) {
|
|
|
8639
8681
|
|
|
8640
8682
|
module.exports = require("vue");
|
|
8641
8683
|
|
|
8684
|
+
/***/ }),
|
|
8685
|
+
|
|
8686
|
+
/***/ "93b4":
|
|
8687
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8688
|
+
|
|
8689
|
+
"use strict";
|
|
8690
|
+
/* 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_Tooltip_vue_vue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("222e");
|
|
8691
|
+
/* 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_Tooltip_vue_vue_type_style_index_0_id_4ffcf7c8_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_Tooltip_vue_vue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
8692
|
+
/* unused harmony reexport * */
|
|
8693
|
+
|
|
8694
|
+
|
|
8642
8695
|
/***/ }),
|
|
8643
8696
|
|
|
8644
8697
|
/***/ "97d3":
|
|
@@ -8739,6 +8792,13 @@ module.exports = require("resize-observer-polyfill");
|
|
|
8739
8792
|
|
|
8740
8793
|
/***/ }),
|
|
8741
8794
|
|
|
8795
|
+
/***/ "a52a":
|
|
8796
|
+
/***/ (function(module, exports) {
|
|
8797
|
+
|
|
8798
|
+
module.exports = require("core-js/modules/es.symbol.async-iterator.js");
|
|
8799
|
+
|
|
8800
|
+
/***/ }),
|
|
8801
|
+
|
|
8742
8802
|
/***/ "a578":
|
|
8743
8803
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8744
8804
|
|
|
@@ -9073,17 +9133,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9073
9133
|
return val !== undefined && val !== null;
|
|
9074
9134
|
};
|
|
9075
9135
|
|
|
9076
|
-
/***/ }),
|
|
9077
|
-
|
|
9078
|
-
/***/ "a79a":
|
|
9079
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9080
|
-
|
|
9081
|
-
"use strict";
|
|
9082
|
-
/* 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_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("400b");
|
|
9083
|
-
/* 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_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_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_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9084
|
-
/* unused harmony reexport * */
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
9136
|
/***/ }),
|
|
9088
9137
|
|
|
9089
9138
|
/***/ "a9ee":
|
|
@@ -9441,6 +9490,17 @@ col.install = function (Vue) {
|
|
|
9441
9490
|
|
|
9442
9491
|
/******/ });
|
|
9443
9492
|
|
|
9493
|
+
/***/ }),
|
|
9494
|
+
|
|
9495
|
+
/***/ "c367":
|
|
9496
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9497
|
+
|
|
9498
|
+
"use strict";
|
|
9499
|
+
/* 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_MultiFlatmapVuer_vue_vue_type_style_index_0_id_bf82e340_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("35ee");
|
|
9500
|
+
/* 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_MultiFlatmapVuer_vue_vue_type_style_index_0_id_bf82e340_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_MultiFlatmapVuer_vue_vue_type_style_index_0_id_bf82e340_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9501
|
+
/* unused harmony reexport * */
|
|
9502
|
+
|
|
9503
|
+
|
|
9444
9504
|
/***/ }),
|
|
9445
9505
|
|
|
9446
9506
|
/***/ "c56a":
|
|
@@ -11028,17 +11088,6 @@ _select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].install = fun
|
|
|
11028
11088
|
|
|
11029
11089
|
/******/ });
|
|
11030
11090
|
|
|
11031
|
-
/***/ }),
|
|
11032
|
-
|
|
11033
|
-
/***/ "e8bf":
|
|
11034
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11035
|
-
|
|
11036
|
-
"use strict";
|
|
11037
|
-
/* 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_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f765");
|
|
11038
|
-
/* 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_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_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_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11039
|
-
/* unused harmony reexport * */
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
11091
|
/***/ }),
|
|
11043
11092
|
|
|
11044
11093
|
/***/ "e974":
|
|
@@ -11264,21 +11313,17 @@ module.exports = require("core-js/modules/es.object.keys.js");
|
|
|
11264
11313
|
|
|
11265
11314
|
/***/ }),
|
|
11266
11315
|
|
|
11267
|
-
/***/ "
|
|
11268
|
-
/***/ (function(module,
|
|
11269
|
-
|
|
11270
|
-
"use strict";
|
|
11271
|
-
/* 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_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4d90");
|
|
11272
|
-
/* 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_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_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_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11273
|
-
/* unused harmony reexport * */
|
|
11316
|
+
/***/ "ec71":
|
|
11317
|
+
/***/ (function(module, exports) {
|
|
11274
11318
|
|
|
11319
|
+
module.exports = require("core-js/modules/es.promise.js");
|
|
11275
11320
|
|
|
11276
11321
|
/***/ }),
|
|
11277
11322
|
|
|
11278
|
-
/***/ "
|
|
11279
|
-
/***/ (function(module, exports) {
|
|
11323
|
+
/***/ "ee41":
|
|
11324
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11280
11325
|
|
|
11281
|
-
|
|
11326
|
+
// extracted by mini-css-extract-plugin
|
|
11282
11327
|
|
|
11283
11328
|
/***/ }),
|
|
11284
11329
|
|
|
@@ -13289,13 +13334,6 @@ src_radio.install = function (Vue) {
|
|
|
13289
13334
|
|
|
13290
13335
|
/***/ }),
|
|
13291
13336
|
|
|
13292
|
-
/***/ "f765":
|
|
13293
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13294
|
-
|
|
13295
|
-
// extracted by mini-css-extract-plugin
|
|
13296
|
-
|
|
13297
|
-
/***/ }),
|
|
13298
|
-
|
|
13299
13337
|
/***/ "f989":
|
|
13300
13338
|
/***/ (function(module, exports) {
|
|
13301
13339
|
|
|
@@ -13338,7 +13376,7 @@ if (typeof window !== 'undefined') {
|
|
|
13338
13376
|
// Indicate to webpack that this file can be concatenated
|
|
13339
13377
|
/* harmony default export */ var setPublicPath = (null);
|
|
13340
13378
|
|
|
13341
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13379
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e4b77ee-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=3bcd7b15&scoped=true&
|
|
13342
13380
|
var render = function render() {
|
|
13343
13381
|
var _vm = this,
|
|
13344
13382
|
_c = _vm._self._c;
|
|
@@ -13626,12 +13664,31 @@ var render = function render() {
|
|
|
13626
13664
|
domProps: {
|
|
13627
13665
|
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13628
13666
|
}
|
|
13629
|
-
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('
|
|
13630
|
-
key: "
|
|
13667
|
+
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('selections-group', {
|
|
13668
|
+
key: "systemsSelection",
|
|
13669
|
+
ref: "systemsSelection",
|
|
13631
13670
|
attrs: {
|
|
13632
13671
|
"title": "Systems",
|
|
13672
|
+
"labelKey": "name",
|
|
13633
13673
|
"identifierKey": "name",
|
|
13634
|
-
"
|
|
13674
|
+
"selections": _vm.systems,
|
|
13675
|
+
"colourStyle": "background"
|
|
13676
|
+
},
|
|
13677
|
+
on: {
|
|
13678
|
+
"changed": _vm.systemSelected,
|
|
13679
|
+
"checkAll": _vm.checkAllSystems
|
|
13680
|
+
}
|
|
13681
|
+
}) : _vm._e(), !_vm.isFC && _vm.centreLines && _vm.centreLines.length > 0 ? _c('selections-group', {
|
|
13682
|
+
key: "centrelinesSelection",
|
|
13683
|
+
ref: "centrelinesSelection",
|
|
13684
|
+
attrs: {
|
|
13685
|
+
"title": "Nerves",
|
|
13686
|
+
"labelKey": "label",
|
|
13687
|
+
"identifierKey": "key",
|
|
13688
|
+
"selections": _vm.centreLines
|
|
13689
|
+
},
|
|
13690
|
+
on: {
|
|
13691
|
+
"changed": _vm.centreLinesSelected
|
|
13635
13692
|
}
|
|
13636
13693
|
}) : _vm._e(), _vm.isFC && _vm.sckanDisplay && _vm.sckanDisplay.length > 0 ? _c('selections-group', {
|
|
13637
13694
|
key: "skcanSelection",
|
|
@@ -13666,6 +13723,7 @@ var render = function render() {
|
|
|
13666
13723
|
"title": "Pathways",
|
|
13667
13724
|
"labelKey": "label",
|
|
13668
13725
|
"identifierKey": "type",
|
|
13726
|
+
"colourStyle": "line",
|
|
13669
13727
|
"selections": _vm.pathways
|
|
13670
13728
|
},
|
|
13671
13729
|
on: {
|
|
@@ -13801,7 +13859,7 @@ var render = function render() {
|
|
|
13801
13859
|
ref: "tooltip",
|
|
13802
13860
|
staticClass: "tooltip",
|
|
13803
13861
|
attrs: {
|
|
13804
|
-
"
|
|
13862
|
+
"entry": _vm.tooltipEntry
|
|
13805
13863
|
},
|
|
13806
13864
|
on: {
|
|
13807
13865
|
"resource-selected": _vm.resourceSelected
|
|
@@ -13810,7 +13868,7 @@ var render = function render() {
|
|
|
13810
13868
|
};
|
|
13811
13869
|
var staticRenderFns = [];
|
|
13812
13870
|
|
|
13813
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13871
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=3bcd7b15&scoped=true&
|
|
13814
13872
|
|
|
13815
13873
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13816
13874
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -13937,144 +13995,544 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13937
13995
|
}
|
|
13938
13996
|
};
|
|
13939
13997
|
}
|
|
13940
|
-
// EXTERNAL MODULE:
|
|
13941
|
-
var
|
|
13998
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.async-iterator.js"
|
|
13999
|
+
var es_symbol_async_iterator_js_ = __webpack_require__("a52a");
|
|
13942
14000
|
|
|
13943
|
-
// EXTERNAL MODULE:
|
|
13944
|
-
var
|
|
14001
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-string-tag.js"
|
|
14002
|
+
var es_symbol_to_string_tag_js_ = __webpack_require__("14f0");
|
|
13945
14003
|
|
|
13946
|
-
// EXTERNAL MODULE:
|
|
13947
|
-
var
|
|
13948
|
-
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
14004
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.to-string-tag.js"
|
|
14005
|
+
var es_json_to_string_tag_js_ = __webpack_require__("12fb");
|
|
13949
14006
|
|
|
13950
|
-
// EXTERNAL MODULE:
|
|
13951
|
-
var
|
|
14007
|
+
// EXTERNAL MODULE: external "core-js/modules/es.math.to-string-tag.js"
|
|
14008
|
+
var es_math_to_string_tag_js_ = __webpack_require__("7267");
|
|
13952
14009
|
|
|
13953
|
-
// EXTERNAL MODULE:
|
|
13954
|
-
var
|
|
13955
|
-
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
14010
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-prototype-of.js"
|
|
14011
|
+
var es_object_get_prototype_of_js_ = __webpack_require__("362b");
|
|
13956
14012
|
|
|
13957
|
-
// EXTERNAL MODULE:
|
|
13958
|
-
var
|
|
14013
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
14014
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
13959
14015
|
|
|
13960
|
-
// EXTERNAL MODULE:
|
|
13961
|
-
var
|
|
13962
|
-
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
14016
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
14017
|
+
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13963
14018
|
|
|
13964
|
-
// EXTERNAL MODULE:
|
|
13965
|
-
var
|
|
14019
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.set-prototype-of.js"
|
|
14020
|
+
var es_object_set_prototype_of_js_ = __webpack_require__("4086");
|
|
13966
14021
|
|
|
13967
|
-
// EXTERNAL MODULE:
|
|
13968
|
-
var
|
|
13969
|
-
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
14022
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.proto.js"
|
|
14023
|
+
var es_object_proto_js_ = __webpack_require__("7949");
|
|
13970
14024
|
|
|
13971
|
-
// EXTERNAL MODULE:
|
|
13972
|
-
var
|
|
14025
|
+
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14026
|
+
var es_promise_js_ = __webpack_require__("ec71");
|
|
13973
14027
|
|
|
13974
|
-
//
|
|
13975
|
-
var lib_col = __webpack_require__("c2cc");
|
|
13976
|
-
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
14028
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
13977
14029
|
|
|
13978
|
-
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13979
|
-
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13980
14030
|
|
|
13981
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
13982
|
-
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
13983
14031
|
|
|
13984
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13985
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13986
14032
|
|
|
13987
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
13988
|
-
var es_array_push_js_ = __webpack_require__("2439");
|
|
13989
14033
|
|
|
13990
|
-
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
13991
|
-
var es_set_js_ = __webpack_require__("8535");
|
|
13992
14034
|
|
|
13993
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
13994
|
-
var es_string_search_js_ = __webpack_require__("1c32");
|
|
13995
14035
|
|
|
13996
|
-
|
|
13997
|
-
|
|
14036
|
+
function _typeof(obj) {
|
|
14037
|
+
"@babel/helpers - typeof";
|
|
13998
14038
|
|
|
13999
|
-
|
|
14000
|
-
|
|
14001
|
-
|
|
14039
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14040
|
+
return typeof obj;
|
|
14041
|
+
} : function (obj) {
|
|
14042
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14043
|
+
}, _typeof(obj);
|
|
14044
|
+
}
|
|
14045
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
14002
14046
|
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14028
|
-
|
|
14029
|
-
}
|
|
14030
|
-
|
|
14031
|
-
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14047
|
+
|
|
14048
|
+
|
|
14049
|
+
|
|
14050
|
+
|
|
14051
|
+
|
|
14052
|
+
|
|
14053
|
+
|
|
14054
|
+
|
|
14055
|
+
|
|
14056
|
+
|
|
14057
|
+
|
|
14058
|
+
|
|
14059
|
+
|
|
14060
|
+
|
|
14061
|
+
|
|
14062
|
+
|
|
14063
|
+
|
|
14064
|
+
|
|
14065
|
+
|
|
14066
|
+
|
|
14067
|
+
function _regeneratorRuntime() {
|
|
14068
|
+
"use strict";
|
|
14069
|
+
|
|
14070
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
14071
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
14072
|
+
return exports;
|
|
14073
|
+
};
|
|
14074
|
+
var exports = {},
|
|
14075
|
+
Op = Object.prototype,
|
|
14076
|
+
hasOwn = Op.hasOwnProperty,
|
|
14077
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
14078
|
+
obj[key] = desc.value;
|
|
14079
|
+
},
|
|
14080
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
14081
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
14082
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
14083
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
14084
|
+
function define(obj, key, value) {
|
|
14085
|
+
return Object.defineProperty(obj, key, {
|
|
14086
|
+
value: value,
|
|
14087
|
+
enumerable: !0,
|
|
14088
|
+
configurable: !0,
|
|
14089
|
+
writable: !0
|
|
14090
|
+
}), obj[key];
|
|
14091
|
+
}
|
|
14092
|
+
try {
|
|
14093
|
+
define({}, "");
|
|
14094
|
+
} catch (err) {
|
|
14095
|
+
define = function define(obj, key, value) {
|
|
14096
|
+
return obj[key] = value;
|
|
14097
|
+
};
|
|
14098
|
+
}
|
|
14099
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
14100
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
14101
|
+
generator = Object.create(protoGenerator.prototype),
|
|
14102
|
+
context = new Context(tryLocsList || []);
|
|
14103
|
+
return defineProperty(generator, "_invoke", {
|
|
14104
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
14105
|
+
}), generator;
|
|
14106
|
+
}
|
|
14107
|
+
function tryCatch(fn, obj, arg) {
|
|
14108
|
+
try {
|
|
14109
|
+
return {
|
|
14110
|
+
type: "normal",
|
|
14111
|
+
arg: fn.call(obj, arg)
|
|
14112
|
+
};
|
|
14113
|
+
} catch (err) {
|
|
14114
|
+
return {
|
|
14115
|
+
type: "throw",
|
|
14116
|
+
arg: err
|
|
14117
|
+
};
|
|
14118
|
+
}
|
|
14119
|
+
}
|
|
14120
|
+
exports.wrap = wrap;
|
|
14121
|
+
var ContinueSentinel = {};
|
|
14122
|
+
function Generator() {}
|
|
14123
|
+
function GeneratorFunction() {}
|
|
14124
|
+
function GeneratorFunctionPrototype() {}
|
|
14125
|
+
var IteratorPrototype = {};
|
|
14126
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
14127
|
+
return this;
|
|
14128
|
+
});
|
|
14129
|
+
var getProto = Object.getPrototypeOf,
|
|
14130
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
14131
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
14132
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
14133
|
+
function defineIteratorMethods(prototype) {
|
|
14134
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
14135
|
+
define(prototype, method, function (arg) {
|
|
14136
|
+
return this._invoke(method, arg);
|
|
14137
|
+
});
|
|
14138
|
+
});
|
|
14139
|
+
}
|
|
14140
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
14141
|
+
function invoke(method, arg, resolve, reject) {
|
|
14142
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
14143
|
+
if ("throw" !== record.type) {
|
|
14144
|
+
var result = record.arg,
|
|
14145
|
+
value = result.value;
|
|
14146
|
+
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
14147
|
+
invoke("next", value, resolve, reject);
|
|
14148
|
+
}, function (err) {
|
|
14149
|
+
invoke("throw", err, resolve, reject);
|
|
14150
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
14151
|
+
result.value = unwrapped, resolve(result);
|
|
14152
|
+
}, function (error) {
|
|
14153
|
+
return invoke("throw", error, resolve, reject);
|
|
14154
|
+
});
|
|
14155
|
+
}
|
|
14156
|
+
reject(record.arg);
|
|
14157
|
+
}
|
|
14158
|
+
var previousPromise;
|
|
14159
|
+
defineProperty(this, "_invoke", {
|
|
14160
|
+
value: function value(method, arg) {
|
|
14161
|
+
function callInvokeWithMethodAndArg() {
|
|
14162
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
14163
|
+
invoke(method, arg, resolve, reject);
|
|
14164
|
+
});
|
|
14165
|
+
}
|
|
14166
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
14167
|
+
}
|
|
14168
|
+
});
|
|
14169
|
+
}
|
|
14170
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
14171
|
+
var state = "suspendedStart";
|
|
14172
|
+
return function (method, arg) {
|
|
14173
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
14174
|
+
if ("completed" === state) {
|
|
14175
|
+
if ("throw" === method) throw arg;
|
|
14176
|
+
return doneResult();
|
|
14177
|
+
}
|
|
14178
|
+
for (context.method = method, context.arg = arg;;) {
|
|
14179
|
+
var delegate = context.delegate;
|
|
14180
|
+
if (delegate) {
|
|
14181
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
14182
|
+
if (delegateResult) {
|
|
14183
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
14184
|
+
return delegateResult;
|
|
14185
|
+
}
|
|
14186
|
+
}
|
|
14187
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
14188
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
14189
|
+
context.dispatchException(context.arg);
|
|
14190
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
14191
|
+
state = "executing";
|
|
14192
|
+
var record = tryCatch(innerFn, self, context);
|
|
14193
|
+
if ("normal" === record.type) {
|
|
14194
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
14195
|
+
return {
|
|
14196
|
+
value: record.arg,
|
|
14197
|
+
done: context.done
|
|
14198
|
+
};
|
|
14199
|
+
}
|
|
14200
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
14201
|
+
}
|
|
14202
|
+
};
|
|
14203
|
+
}
|
|
14204
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
14205
|
+
var methodName = context.method,
|
|
14206
|
+
method = delegate.iterator[methodName];
|
|
14207
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
|
14208
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
14209
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
14210
|
+
var info = record.arg;
|
|
14211
|
+
return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
|
|
14212
|
+
}
|
|
14213
|
+
function pushTryEntry(locs) {
|
|
14214
|
+
var entry = {
|
|
14215
|
+
tryLoc: locs[0]
|
|
14216
|
+
};
|
|
14217
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
14218
|
+
}
|
|
14219
|
+
function resetTryEntry(entry) {
|
|
14220
|
+
var record = entry.completion || {};
|
|
14221
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
14222
|
+
}
|
|
14223
|
+
function Context(tryLocsList) {
|
|
14224
|
+
this.tryEntries = [{
|
|
14225
|
+
tryLoc: "root"
|
|
14226
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
14227
|
+
}
|
|
14228
|
+
function values(iterable) {
|
|
14229
|
+
if (iterable) {
|
|
14230
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
14231
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
14232
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
14233
|
+
if (!isNaN(iterable.length)) {
|
|
14234
|
+
var i = -1,
|
|
14235
|
+
next = function next() {
|
|
14236
|
+
for (; ++i < iterable.length;) {
|
|
14237
|
+
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
14238
|
+
}
|
|
14239
|
+
return next.value = undefined, next.done = !0, next;
|
|
14240
|
+
};
|
|
14241
|
+
return next.next = next;
|
|
14242
|
+
}
|
|
14243
|
+
}
|
|
14244
|
+
return {
|
|
14245
|
+
next: doneResult
|
|
14246
|
+
};
|
|
14247
|
+
}
|
|
14248
|
+
function doneResult() {
|
|
14249
|
+
return {
|
|
14250
|
+
value: undefined,
|
|
14251
|
+
done: !0
|
|
14252
|
+
};
|
|
14253
|
+
}
|
|
14254
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
14255
|
+
value: GeneratorFunctionPrototype,
|
|
14256
|
+
configurable: !0
|
|
14257
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
14258
|
+
value: GeneratorFunction,
|
|
14259
|
+
configurable: !0
|
|
14260
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
14261
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
14262
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
14263
|
+
}, exports.mark = function (genFun) {
|
|
14264
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
14265
|
+
}, exports.awrap = function (arg) {
|
|
14266
|
+
return {
|
|
14267
|
+
__await: arg
|
|
14268
|
+
};
|
|
14269
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
14270
|
+
return this;
|
|
14271
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
14272
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
14273
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
14274
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
14275
|
+
return result.done ? result.value : iter.next();
|
|
14276
|
+
});
|
|
14277
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
14278
|
+
return this;
|
|
14279
|
+
}), define(Gp, "toString", function () {
|
|
14280
|
+
return "[object Generator]";
|
|
14281
|
+
}), exports.keys = function (val) {
|
|
14282
|
+
var object = Object(val),
|
|
14283
|
+
keys = [];
|
|
14284
|
+
for (var key in object) {
|
|
14285
|
+
keys.push(key);
|
|
14286
|
+
}
|
|
14287
|
+
return keys.reverse(), function next() {
|
|
14288
|
+
for (; keys.length;) {
|
|
14289
|
+
var key = keys.pop();
|
|
14290
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
14291
|
+
}
|
|
14292
|
+
return next.done = !0, next;
|
|
14293
|
+
};
|
|
14294
|
+
}, exports.values = values, Context.prototype = {
|
|
14295
|
+
constructor: Context,
|
|
14296
|
+
reset: function reset(skipTempReset) {
|
|
14297
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) {
|
|
14298
|
+
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
14299
|
+
}
|
|
14300
|
+
},
|
|
14301
|
+
stop: function stop() {
|
|
14302
|
+
this.done = !0;
|
|
14303
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
14304
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
14305
|
+
return this.rval;
|
|
14306
|
+
},
|
|
14307
|
+
dispatchException: function dispatchException(exception) {
|
|
14308
|
+
if (this.done) throw exception;
|
|
14309
|
+
var context = this;
|
|
14310
|
+
function handle(loc, caught) {
|
|
14311
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
14312
|
+
}
|
|
14313
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14314
|
+
var entry = this.tryEntries[i],
|
|
14315
|
+
record = entry.completion;
|
|
14316
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
14317
|
+
if (entry.tryLoc <= this.prev) {
|
|
14318
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
14319
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
14320
|
+
if (hasCatch && hasFinally) {
|
|
14321
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
14322
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
14323
|
+
} else if (hasCatch) {
|
|
14324
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
14325
|
+
} else {
|
|
14326
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
14327
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
14328
|
+
}
|
|
14329
|
+
}
|
|
14330
|
+
}
|
|
14331
|
+
},
|
|
14332
|
+
abrupt: function abrupt(type, arg) {
|
|
14333
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14334
|
+
var entry = this.tryEntries[i];
|
|
14335
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
14336
|
+
var finallyEntry = entry;
|
|
14337
|
+
break;
|
|
14338
|
+
}
|
|
14339
|
+
}
|
|
14340
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
14341
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
14342
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
14343
|
+
},
|
|
14344
|
+
complete: function complete(record, afterLoc) {
|
|
14345
|
+
if ("throw" === record.type) throw record.arg;
|
|
14346
|
+
return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
|
|
14347
|
+
},
|
|
14348
|
+
finish: function finish(finallyLoc) {
|
|
14349
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14350
|
+
var entry = this.tryEntries[i];
|
|
14351
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
14352
|
+
}
|
|
14353
|
+
},
|
|
14354
|
+
"catch": function _catch(tryLoc) {
|
|
14355
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14356
|
+
var entry = this.tryEntries[i];
|
|
14357
|
+
if (entry.tryLoc === tryLoc) {
|
|
14358
|
+
var record = entry.completion;
|
|
14359
|
+
if ("throw" === record.type) {
|
|
14360
|
+
var thrown = record.arg;
|
|
14361
|
+
resetTryEntry(entry);
|
|
14362
|
+
}
|
|
14363
|
+
return thrown;
|
|
14364
|
+
}
|
|
14365
|
+
}
|
|
14366
|
+
throw new Error("illegal catch attempt");
|
|
14367
|
+
},
|
|
14368
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
14369
|
+
return this.delegate = {
|
|
14370
|
+
iterator: values(iterable),
|
|
14371
|
+
resultName: resultName,
|
|
14372
|
+
nextLoc: nextLoc
|
|
14373
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
14374
|
+
}
|
|
14375
|
+
}, exports;
|
|
14376
|
+
}
|
|
14377
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
14378
|
+
|
|
14379
|
+
|
|
14380
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
14381
|
+
try {
|
|
14382
|
+
var info = gen[key](arg);
|
|
14383
|
+
var value = info.value;
|
|
14384
|
+
} catch (error) {
|
|
14385
|
+
reject(error);
|
|
14386
|
+
return;
|
|
14387
|
+
}
|
|
14388
|
+
if (info.done) {
|
|
14389
|
+
resolve(value);
|
|
14390
|
+
} else {
|
|
14391
|
+
Promise.resolve(value).then(_next, _throw);
|
|
14392
|
+
}
|
|
14393
|
+
}
|
|
14394
|
+
function _asyncToGenerator(fn) {
|
|
14395
|
+
return function () {
|
|
14396
|
+
var self = this,
|
|
14397
|
+
args = arguments;
|
|
14398
|
+
return new Promise(function (resolve, reject) {
|
|
14399
|
+
var gen = fn.apply(self, args);
|
|
14400
|
+
function _next(value) {
|
|
14401
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
14402
|
+
}
|
|
14403
|
+
function _throw(err) {
|
|
14404
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
14405
|
+
}
|
|
14406
|
+
_next(undefined);
|
|
14407
|
+
});
|
|
14408
|
+
};
|
|
14409
|
+
}
|
|
14410
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
14411
|
+
var row = __webpack_require__("7a0f");
|
|
14412
|
+
|
|
14413
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/base.css
|
|
14414
|
+
var base = __webpack_require__("450d");
|
|
14415
|
+
|
|
14416
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
14417
|
+
var lib_row = __webpack_require__("0f6c");
|
|
14418
|
+
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
14419
|
+
|
|
14420
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
14421
|
+
var radio_group = __webpack_require__("fe07");
|
|
14422
|
+
|
|
14423
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
14424
|
+
var lib_radio_group = __webpack_require__("6ac5");
|
|
14425
|
+
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
14426
|
+
|
|
14427
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
14428
|
+
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
14429
|
+
|
|
14430
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
14431
|
+
var lib_radio = __webpack_require__("f494");
|
|
14432
|
+
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
14433
|
+
|
|
14434
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
14435
|
+
var loading = __webpack_require__("be4f");
|
|
14436
|
+
|
|
14437
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
14438
|
+
var lib_loading = __webpack_require__("896a");
|
|
14439
|
+
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
14440
|
+
|
|
14441
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
14442
|
+
var col = __webpack_require__("f4f9");
|
|
14443
|
+
|
|
14444
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
14445
|
+
var lib_col = __webpack_require__("c2cc");
|
|
14446
|
+
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
14447
|
+
|
|
14448
|
+
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
14449
|
+
var es_set_js_ = __webpack_require__("8535");
|
|
14450
|
+
|
|
14451
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
14452
|
+
var es_string_search_js_ = __webpack_require__("1c32");
|
|
14453
|
+
|
|
14454
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
14455
|
+
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
14456
|
+
|
|
14457
|
+
// EXTERNAL MODULE: external "vue"
|
|
14458
|
+
var external_vue_ = __webpack_require__("8bbf");
|
|
14459
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14460
|
+
|
|
14461
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e4b77ee-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&
|
|
14462
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
14463
|
+
var _vm = this,
|
|
14464
|
+
_c = _vm._self._c;
|
|
14465
|
+
return _c('div', {
|
|
14466
|
+
staticClass: "tooltip-container"
|
|
14467
|
+
}, [_vm.entry ? _c('el-main', {
|
|
14468
|
+
directives: [{
|
|
14469
|
+
name: "loading",
|
|
14470
|
+
rawName: "v-loading",
|
|
14471
|
+
value: _vm.loading,
|
|
14472
|
+
expression: "loading"
|
|
14473
|
+
}],
|
|
14474
|
+
staticClass: "main"
|
|
14475
|
+
}, [_vm.entry.title ? _c('div', {
|
|
14476
|
+
staticClass: "block"
|
|
14477
|
+
}, [_c('span', {
|
|
14478
|
+
staticClass: "title"
|
|
14479
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.entry.title)))])]) : _c('div', {
|
|
14480
|
+
staticClass: "block"
|
|
14481
|
+
}, [_c('span', {
|
|
14482
|
+
staticClass: "title"
|
|
14483
|
+
}, [_vm._v(_vm._s(_vm.entry.featureId))])]), _c('div', {
|
|
14484
|
+
staticClass: "content-container scrollbar"
|
|
14485
|
+
}, [_vm._v(" " + _vm._s(_vm.entry.paths) + " "), _vm.entry.origins && _vm.entry.origins.length > 0 ? _c('div', {
|
|
14486
|
+
staticClass: "block"
|
|
14487
|
+
}, [_c('div', [_c('span', {
|
|
14488
|
+
staticClass: "attribute-title"
|
|
14489
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
14490
|
+
attrs: {
|
|
14491
|
+
"width": "250",
|
|
14492
|
+
"trigger": "hover",
|
|
14493
|
+
"append-to-body": false,
|
|
14494
|
+
"popper-class": "popover-origin-help"
|
|
14495
|
+
}
|
|
14496
|
+
}, [_c('i', {
|
|
14497
|
+
staticClass: "el-icon-warning-outline info",
|
|
14498
|
+
attrs: {
|
|
14499
|
+
"slot": "reference"
|
|
14500
|
+
},
|
|
14501
|
+
slot: "reference"
|
|
14502
|
+
}), _c('span', {
|
|
14503
|
+
staticStyle: {
|
|
14504
|
+
"word-break": "keep-all"
|
|
14505
|
+
}
|
|
14506
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.entry.origins, function (origin, i) {
|
|
14507
|
+
return _c('div', {
|
|
14050
14508
|
key: origin,
|
|
14051
14509
|
staticClass: "attribute-content"
|
|
14052
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
14510
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.entry.origins.length - 1 ? _c('div', {
|
|
14053
14511
|
staticClass: "seperator"
|
|
14054
14512
|
}) : _vm._e()]);
|
|
14055
14513
|
}), _c('el-button', {
|
|
14056
14514
|
directives: [{
|
|
14057
14515
|
name: "show",
|
|
14058
14516
|
rawName: "v-show",
|
|
14059
|
-
value: _vm.originsWithDatasets.length > 0,
|
|
14060
|
-
expression: "originsWithDatasets.length > 0"
|
|
14517
|
+
value: _vm.entry.originsWithDatasets && _vm.entry.originsWithDatasets.length > 0,
|
|
14518
|
+
expression: "entry.originsWithDatasets && entry.originsWithDatasets.length > 0"
|
|
14061
14519
|
}],
|
|
14062
14520
|
staticClass: "button",
|
|
14063
14521
|
on: {
|
|
14064
14522
|
"click": _vm.openDendrites
|
|
14065
14523
|
}
|
|
14066
|
-
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.components && _vm.components.length > 0 ? _c('div', {
|
|
14524
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.entry.components && _vm.entry.components.length > 0 ? _c('div', {
|
|
14067
14525
|
staticClass: "block"
|
|
14068
14526
|
}, [_c('div', {
|
|
14069
14527
|
staticClass: "attribute-title"
|
|
14070
|
-
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
14528
|
+
}, [_vm._v("Components")]), _vm._l(_vm.entry.components, function (component, i) {
|
|
14071
14529
|
return _c('div', {
|
|
14072
14530
|
key: component,
|
|
14073
14531
|
staticClass: "attribute-content"
|
|
14074
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
14532
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.entry.components.length - 1 ? _c('div', {
|
|
14075
14533
|
staticClass: "seperator"
|
|
14076
14534
|
}) : _vm._e()]);
|
|
14077
|
-
})], 2) : _vm._e(), _vm.destinations && _vm.destinations.length > 0 ? _c('div', {
|
|
14535
|
+
})], 2) : _vm._e(), _vm.entry.destinations && _vm.entry.destinations.length > 0 ? _c('div', {
|
|
14078
14536
|
staticClass: "block"
|
|
14079
14537
|
}, [_c('div', [_c('span', {
|
|
14080
14538
|
staticClass: "attribute-title"
|
|
@@ -14095,19 +14553,19 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14095
14553
|
staticStyle: {
|
|
14096
14554
|
"word-break": "keep-all"
|
|
14097
14555
|
}
|
|
14098
|
-
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
14556
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.entry.destinations, function (destination, i) {
|
|
14099
14557
|
return _c('div', {
|
|
14100
14558
|
key: destination,
|
|
14101
14559
|
staticClass: "attribute-content"
|
|
14102
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
14560
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.entry.destinations.length - 1 ? _c('div', {
|
|
14103
14561
|
staticClass: "seperator"
|
|
14104
14562
|
}) : _vm._e()]);
|
|
14105
14563
|
}), _c('el-button', {
|
|
14106
14564
|
directives: [{
|
|
14107
14565
|
name: "show",
|
|
14108
14566
|
rawName: "v-show",
|
|
14109
|
-
value: _vm.destinationsWithDatasets.length > 0,
|
|
14110
|
-
expression: "destinationsWithDatasets.length > 0"
|
|
14567
|
+
value: _vm.entry.destinationsWithDatasets && _vm.entry.destinationsWithDatasets.length > 0,
|
|
14568
|
+
expression: "entry.destinationsWithDatasets && entry.destinationsWithDatasets.length > 0"
|
|
14111
14569
|
}],
|
|
14112
14570
|
staticClass: "button",
|
|
14113
14571
|
on: {
|
|
@@ -14117,72 +14575,23 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14117
14575
|
directives: [{
|
|
14118
14576
|
name: "show",
|
|
14119
14577
|
rawName: "v-show",
|
|
14120
|
-
value: _vm.componentsWithDatasets.length > 0,
|
|
14121
|
-
expression: "componentsWithDatasets.length > 0"
|
|
14578
|
+
value: _vm.entry.componentsWithDatasets && _vm.entry.componentsWithDatasets.length > 0,
|
|
14579
|
+
expression: "entry.componentsWithDatasets && entry.componentsWithDatasets.length > 0"
|
|
14122
14580
|
}],
|
|
14123
14581
|
staticClass: "button",
|
|
14124
14582
|
on: {
|
|
14125
14583
|
"click": _vm.openAll
|
|
14126
14584
|
}
|
|
14127
|
-
}, [_vm._v(" Search for data on components ")]),
|
|
14128
|
-
directives: [{
|
|
14129
|
-
name: "show",
|
|
14130
|
-
rawName: "v-show",
|
|
14131
|
-
value: false,
|
|
14132
|
-
expression: "false"
|
|
14133
|
-
}],
|
|
14134
|
-
attrs: {
|
|
14135
|
-
"entry": _vm.content
|
|
14136
|
-
},
|
|
14137
|
-
on: {
|
|
14138
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14139
|
-
}
|
|
14140
|
-
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14141
|
-
staticClass: "button",
|
|
14585
|
+
}, [_vm._v(" Search for data on components ")]), _c('external-resource-card', {
|
|
14142
14586
|
attrs: {
|
|
14143
|
-
"
|
|
14144
|
-
},
|
|
14145
|
-
on: {
|
|
14146
|
-
"click": function click($event) {
|
|
14147
|
-
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14148
|
-
}
|
|
14587
|
+
"resources": _vm.resources
|
|
14149
14588
|
}
|
|
14150
|
-
}
|
|
14589
|
+
})], 1)]) : _vm._e()], 1);
|
|
14151
14590
|
};
|
|
14152
|
-
var
|
|
14153
|
-
|
|
14154
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4125ac3a&scoped=true&
|
|
14155
|
-
|
|
14156
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
14157
|
-
|
|
14158
|
-
function _arrayWithoutHoles(arr) {
|
|
14159
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
14160
|
-
}
|
|
14161
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
14162
|
-
|
|
14163
|
-
|
|
14164
|
-
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
function _iterableToArray(iter) {
|
|
14171
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14172
|
-
}
|
|
14173
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14174
|
-
|
|
14175
|
-
function _nonIterableSpread() {
|
|
14176
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14177
|
-
}
|
|
14178
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
14591
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns = [];
|
|
14179
14592
|
|
|
14593
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4ffcf7c8&scoped=true&
|
|
14180
14594
|
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
function _toConsumableArray(arr) {
|
|
14184
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
14185
|
-
}
|
|
14186
14595
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
14187
14596
|
var main = __webpack_require__("de31");
|
|
14188
14597
|
|
|
@@ -14221,167 +14630,91 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
14221
14630
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
14222
14631
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
14223
14632
|
|
|
14224
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
14225
|
-
var
|
|
14633
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
14634
|
+
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
14635
|
+
|
|
14636
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
14637
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
14226
14638
|
|
|
14227
14639
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
14228
14640
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
14229
14641
|
|
|
14230
|
-
// EXTERNAL MODULE:
|
|
14231
|
-
var
|
|
14642
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
14643
|
+
var en = __webpack_require__("b2d6");
|
|
14644
|
+
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
14232
14645
|
|
|
14233
|
-
// EXTERNAL MODULE:
|
|
14234
|
-
var
|
|
14646
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
14647
|
+
var locale = __webpack_require__("4897");
|
|
14648
|
+
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14235
14649
|
|
|
14236
|
-
//
|
|
14237
|
-
var es_promise_js_ = __webpack_require__("ec71");
|
|
14238
|
-
|
|
14239
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
14240
|
-
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
14241
|
-
|
|
14242
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
14243
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
14244
|
-
|
|
14245
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
14246
|
-
var en = __webpack_require__("b2d6");
|
|
14247
|
-
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
14248
|
-
|
|
14249
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
14250
|
-
var locale = __webpack_require__("4897");
|
|
14251
|
-
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14650
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
14252
14651
|
|
|
14253
|
-
|
|
14254
|
-
var
|
|
14652
|
+
var EventBus = new external_vue_default.a();
|
|
14653
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14654
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e4b77ee-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&
|
|
14655
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14255
14656
|
var _vm = this,
|
|
14256
14657
|
_c = _vm._self._c;
|
|
14257
14658
|
return _c('div', {
|
|
14258
|
-
staticClass: "
|
|
14259
|
-
})
|
|
14659
|
+
staticClass: "resource-container"
|
|
14660
|
+
}, [_vm._l(_vm.resources, function (resource) {
|
|
14661
|
+
return [_c('div', {
|
|
14662
|
+
key: resource.id,
|
|
14663
|
+
staticClass: "resource"
|
|
14664
|
+
}, [resource.id === 'pubmed' ? _c('el-button', {
|
|
14665
|
+
staticClass: "button",
|
|
14666
|
+
attrs: {
|
|
14667
|
+
"icon": "el-icon-notebook-2"
|
|
14668
|
+
},
|
|
14669
|
+
on: {
|
|
14670
|
+
"click": function click($event) {
|
|
14671
|
+
return _vm.openUrl(resource.url);
|
|
14672
|
+
}
|
|
14673
|
+
}
|
|
14674
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)];
|
|
14675
|
+
})], 2);
|
|
14260
14676
|
};
|
|
14261
|
-
var
|
|
14262
|
-
|
|
14263
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14264
|
-
|
|
14265
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
14266
|
-
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
14267
|
-
|
|
14268
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
14269
|
-
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
14270
|
-
|
|
14271
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
14677
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = [];
|
|
14276
14678
|
|
|
14679
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
|
|
14277
14680
|
|
|
14681
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ExternalResourceCard.vue?vue&type=script&lang=js&
|
|
14278
14682
|
|
|
14279
14683
|
|
|
14280
14684
|
|
|
14281
14685
|
|
|
14282
14686
|
/* eslint-disable no-alert, no-console */
|
|
14283
14687
|
|
|
14284
|
-
|
|
14285
|
-
|
|
14688
|
+
external_vue_default.a.use(lib_button_default.a);
|
|
14689
|
+
/* harmony default export */ var ExternalResourceCardvue_type_script_lang_js_ = ({
|
|
14690
|
+
name: "ExternalResourceCard",
|
|
14286
14691
|
props: {
|
|
14287
|
-
|
|
14288
|
-
type:
|
|
14289
|
-
default: function _default() {
|
|
14290
|
-
|
|
14291
|
-
},
|
|
14292
|
-
watch: {
|
|
14293
|
-
'entry.featureIds': {
|
|
14294
|
-
handler: function handler(ids) {
|
|
14295
|
-
this.pubmedQueryOnIds(ids);
|
|
14692
|
+
resources: {
|
|
14693
|
+
type: Array,
|
|
14694
|
+
default: function _default() {
|
|
14695
|
+
return [];
|
|
14296
14696
|
}
|
|
14297
14697
|
}
|
|
14298
14698
|
},
|
|
14299
|
-
inject: ['flatmapAPI'],
|
|
14300
14699
|
data: function data() {
|
|
14301
14700
|
return {
|
|
14302
14701
|
pubmeds: [],
|
|
14303
14702
|
pubmedIds: []
|
|
14304
14703
|
};
|
|
14305
14704
|
},
|
|
14306
|
-
mounted: function mounted() {
|
|
14307
|
-
if (this.entry.featureIds) this.pubmedQueryOnIds(this.entry.featureIds);
|
|
14308
|
-
},
|
|
14309
14705
|
methods: {
|
|
14310
|
-
|
|
14311
|
-
return
|
|
14312
|
-
},
|
|
14313
|
-
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
14314
|
-
var sql = 'select distinct publication from publications where entity in (';
|
|
14315
|
-
if (keastIds.length === 1) {
|
|
14316
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14317
|
-
} else if (keastIds.length > 1) {
|
|
14318
|
-
for (var i in keastIds) {
|
|
14319
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14320
|
-
}
|
|
14321
|
-
}
|
|
14322
|
-
return sql;
|
|
14323
|
-
},
|
|
14324
|
-
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
14325
|
-
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
14326
|
-
},
|
|
14327
|
-
flatmapQuery: function flatmapQuery(sql) {
|
|
14328
|
-
var data = {
|
|
14329
|
-
sql: sql
|
|
14330
|
-
};
|
|
14331
|
-
return fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14332
|
-
method: 'POST',
|
|
14333
|
-
headers: {
|
|
14334
|
-
'Content-Type': 'application/json'
|
|
14335
|
-
},
|
|
14336
|
-
body: JSON.stringify(data)
|
|
14337
|
-
}).then(function (response) {
|
|
14338
|
-
return response.json();
|
|
14339
|
-
}).catch(function (error) {
|
|
14340
|
-
console.error('Error:', error);
|
|
14341
|
-
});
|
|
14342
|
-
},
|
|
14343
|
-
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
14344
|
-
var _this = this;
|
|
14345
|
-
if (!keastIds || keastIds.length === 0) return;
|
|
14346
|
-
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14347
|
-
this.flatmapQuery(sql).then(function (data) {
|
|
14348
|
-
_this.responseData = data;
|
|
14349
|
-
// Create pubmed url on paths if we have them
|
|
14350
|
-
if (data.values.length > 0) {
|
|
14351
|
-
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14352
|
-
return _this.stripPMIDPrefix(id[0]);
|
|
14353
|
-
})));
|
|
14354
|
-
} else {
|
|
14355
|
-
// Create pubmed url on models
|
|
14356
|
-
_this.pubmedQueryOnModels(_this.entry.source);
|
|
14357
|
-
}
|
|
14358
|
-
});
|
|
14359
|
-
},
|
|
14360
|
-
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14361
|
-
var _this2 = this;
|
|
14362
|
-
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14363
|
-
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
14364
|
-
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
14365
|
-
return _this2.stripPMIDPrefix(id[0]);
|
|
14366
|
-
})));
|
|
14367
|
-
} else {
|
|
14368
|
-
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
14369
|
-
}
|
|
14370
|
-
});
|
|
14706
|
+
capitalise: function capitalise(string) {
|
|
14707
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
14371
14708
|
},
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
14375
|
-
var params = new URLSearchParams();
|
|
14376
|
-
params.append('term', ids);
|
|
14377
|
-
return url + params.toString();
|
|
14709
|
+
openUrl: function openUrl(url) {
|
|
14710
|
+
window.open(url, '_blank');
|
|
14378
14711
|
}
|
|
14379
14712
|
}
|
|
14380
14713
|
});
|
|
14381
|
-
// CONCATENATED MODULE: ./src/components/
|
|
14382
|
-
/* harmony default export */ var
|
|
14383
|
-
// EXTERNAL MODULE: ./src/components/
|
|
14384
|
-
var
|
|
14714
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=script&lang=js&
|
|
14715
|
+
/* harmony default export */ var components_ExternalResourceCardvue_type_script_lang_js_ = (ExternalResourceCardvue_type_script_lang_js_);
|
|
14716
|
+
// EXTERNAL MODULE: ./src/components/ExternalResourceCard.vue?vue&type=style&index=0&id=14172b61&prod&scoped=true&lang=scss&
|
|
14717
|
+
var ExternalResourceCardvue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss_ = __webpack_require__("4034");
|
|
14385
14718
|
|
|
14386
14719
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
14387
14720
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -14481,7 +14814,7 @@ function normalizeComponent(
|
|
|
14481
14814
|
}
|
|
14482
14815
|
}
|
|
14483
14816
|
|
|
14484
|
-
// CONCATENATED MODULE: ./src/components/
|
|
14817
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue
|
|
14485
14818
|
|
|
14486
14819
|
|
|
14487
14820
|
|
|
@@ -14491,21 +14824,17 @@ function normalizeComponent(
|
|
|
14491
14824
|
/* normalize component */
|
|
14492
14825
|
|
|
14493
14826
|
var component = normalizeComponent(
|
|
14494
|
-
|
|
14495
|
-
|
|
14496
|
-
|
|
14827
|
+
components_ExternalResourceCardvue_type_script_lang_js_,
|
|
14828
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render,
|
|
14829
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns,
|
|
14497
14830
|
false,
|
|
14498
14831
|
null,
|
|
14499
|
-
"
|
|
14832
|
+
"14172b61",
|
|
14500
14833
|
null
|
|
14501
14834
|
|
|
14502
14835
|
)
|
|
14503
14836
|
|
|
14504
|
-
/* harmony default export */ var
|
|
14505
|
-
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
14506
|
-
|
|
14507
|
-
var EventBus = new external_vue_default.a();
|
|
14508
|
-
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14837
|
+
/* harmony default export */ var ExternalResourceCard = (component.exports);
|
|
14509
14838
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14510
14839
|
|
|
14511
14840
|
|
|
@@ -14522,20 +14851,6 @@ var EventBus = new external_vue_default.a();
|
|
|
14522
14851
|
|
|
14523
14852
|
|
|
14524
14853
|
|
|
14525
|
-
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
|
|
14529
|
-
|
|
14530
|
-
|
|
14531
|
-
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
14854
|
|
|
14540
14855
|
|
|
14541
14856
|
|
|
@@ -14554,35 +14869,19 @@ external_vue_default.a.use(lib_header_default.a);
|
|
|
14554
14869
|
external_vue_default.a.use(lib_icon_default.a);
|
|
14555
14870
|
external_vue_default.a.use(lib_main_default.a);
|
|
14556
14871
|
|
|
14557
|
-
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
14558
|
-
|
|
14559
14872
|
|
|
14560
14873
|
var _titleCase = function titleCase(str) {
|
|
14561
14874
|
return str.replace(/\w\S*/g, function (t) {
|
|
14562
14875
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
14563
14876
|
});
|
|
14564
14877
|
};
|
|
14565
|
-
var inArray = function inArray(ar1, ar2) {
|
|
14566
|
-
var as1 = JSON.stringify(ar1);
|
|
14567
|
-
var as2 = JSON.stringify(ar2);
|
|
14568
|
-
return as1.indexOf(as2) !== -1;
|
|
14569
|
-
};
|
|
14570
|
-
|
|
14571
|
-
// remove duplicates by stringifying the objects
|
|
14572
|
-
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
14573
|
-
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
14574
|
-
return JSON.stringify(e);
|
|
14575
|
-
}))).map(function (e) {
|
|
14576
|
-
return JSON.parse(e);
|
|
14577
|
-
});
|
|
14578
|
-
};
|
|
14579
14878
|
var _capitalise = function capitalise(str) {
|
|
14580
14879
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
14581
14880
|
return "";
|
|
14582
14881
|
};
|
|
14583
14882
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
14584
14883
|
components: {
|
|
14585
|
-
|
|
14884
|
+
ExternalResourceCard: ExternalResourceCard
|
|
14586
14885
|
},
|
|
14587
14886
|
name: "Tooltip",
|
|
14588
14887
|
props: {
|
|
@@ -14590,17 +14889,29 @@ var _capitalise = function capitalise(str) {
|
|
|
14590
14889
|
type: Boolean,
|
|
14591
14890
|
default: false
|
|
14592
14891
|
},
|
|
14593
|
-
|
|
14892
|
+
entry: {
|
|
14594
14893
|
type: Object,
|
|
14595
|
-
default:
|
|
14894
|
+
default: function _default() {
|
|
14895
|
+
return {
|
|
14896
|
+
destinations: [],
|
|
14897
|
+
origins: [],
|
|
14898
|
+
components: [],
|
|
14899
|
+
destinationsWithDatasets: [],
|
|
14900
|
+
originsWithDatasets: [],
|
|
14901
|
+
componentsWithDatasets: [],
|
|
14902
|
+
resource: undefined
|
|
14903
|
+
};
|
|
14904
|
+
}
|
|
14596
14905
|
}
|
|
14597
14906
|
},
|
|
14598
14907
|
data: function data() {
|
|
14599
14908
|
return {
|
|
14909
|
+
controller: undefined,
|
|
14600
14910
|
activeSpecies: undefined,
|
|
14601
14911
|
appendToBody: false,
|
|
14602
14912
|
pubmedSearchUrl: '',
|
|
14603
14913
|
loading: false,
|
|
14914
|
+
showToolip: false,
|
|
14604
14915
|
destinations: [],
|
|
14605
14916
|
origins: [],
|
|
14606
14917
|
components: [],
|
|
@@ -14617,20 +14928,16 @@ var _capitalise = function capitalise(str) {
|
|
|
14617
14928
|
}]
|
|
14618
14929
|
};
|
|
14619
14930
|
},
|
|
14620
|
-
inject: ['sparcAPI', 'flatmapAPI'],
|
|
14621
|
-
watch: {
|
|
14622
|
-
'content.featureIds': {
|
|
14623
|
-
handler: function handler() {
|
|
14624
|
-
this.pathwayQuery(this.content.featureIds);
|
|
14625
|
-
}
|
|
14626
|
-
}
|
|
14627
|
-
},
|
|
14628
|
-
mounted: function mounted() {
|
|
14629
|
-
this.getOrganCuries();
|
|
14630
|
-
},
|
|
14631
14931
|
computed: {
|
|
14932
|
+
resources: function resources() {
|
|
14933
|
+
var resources = [];
|
|
14934
|
+
if (this.entry && this.entry.hyperlinks) {
|
|
14935
|
+
resources = this.entry.hyperlinks;
|
|
14936
|
+
}
|
|
14937
|
+
return resources;
|
|
14938
|
+
},
|
|
14632
14939
|
originDescription: function originDescription() {
|
|
14633
|
-
if (this.
|
|
14940
|
+
if (this.entry && this.entry.title && this.entry.title.toLowerCase().includes('motor')) {
|
|
14634
14941
|
return this.originDescriptions.motor;
|
|
14635
14942
|
} else {
|
|
14636
14943
|
return this.originDescriptions.sensory;
|
|
@@ -14679,269 +14986,73 @@ var _capitalise = function capitalise(str) {
|
|
|
14679
14986
|
},
|
|
14680
14987
|
pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
|
|
14681
14988
|
this.pubmedSearchUrl = val;
|
|
14989
|
+
}
|
|
14990
|
+
}
|
|
14991
|
+
});
|
|
14992
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14993
|
+
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14994
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4ffcf7c8&prod&scoped=true&lang=scss&
|
|
14995
|
+
var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __webpack_require__("93b4");
|
|
14996
|
+
|
|
14997
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14998
|
+
|
|
14999
|
+
|
|
15000
|
+
|
|
15001
|
+
|
|
15002
|
+
|
|
15003
|
+
|
|
15004
|
+
/* normalize component */
|
|
15005
|
+
|
|
15006
|
+
var Tooltip_component = normalizeComponent(
|
|
15007
|
+
components_Tooltipvue_type_script_lang_js_,
|
|
15008
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render,
|
|
15009
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns,
|
|
15010
|
+
false,
|
|
15011
|
+
null,
|
|
15012
|
+
"4ffcf7c8",
|
|
15013
|
+
null
|
|
15014
|
+
|
|
15015
|
+
)
|
|
15016
|
+
|
|
15017
|
+
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
15018
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e4b77ee-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=1f69f0e7&scoped=true&
|
|
15019
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render = function render() {
|
|
15020
|
+
var _vm = this,
|
|
15021
|
+
_c = _vm._self._c;
|
|
15022
|
+
return _c('div', {
|
|
15023
|
+
staticClass: "selections-container"
|
|
15024
|
+
}, [_c('el-row', [_c('el-col', {
|
|
15025
|
+
attrs: {
|
|
15026
|
+
"span": 12
|
|
15027
|
+
}
|
|
15028
|
+
}, [_c('div', {
|
|
15029
|
+
staticClass: "checkall-display-text"
|
|
15030
|
+
}, [_vm._v(_vm._s(_vm.title))])]), _c('el-col', {
|
|
15031
|
+
attrs: {
|
|
15032
|
+
"span": 12
|
|
15033
|
+
}
|
|
15034
|
+
}, [_vm.selections && _vm.selections.length > 1 ? _c('el-checkbox', {
|
|
15035
|
+
staticClass: "all-checkbox",
|
|
15036
|
+
attrs: {
|
|
15037
|
+
"indeterminate": _vm.isIndeterminate
|
|
14682
15038
|
},
|
|
14683
|
-
|
|
14684
|
-
|
|
14685
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14686
|
-
var found = [];
|
|
14687
|
-
nodes.forEach(function (n) {
|
|
14688
|
-
if (Array.isArray(n)) {
|
|
14689
|
-
found.push(n.flat());
|
|
14690
|
-
} else {
|
|
14691
|
-
found.push(n);
|
|
14692
|
-
}
|
|
14693
|
-
});
|
|
14694
|
-
return _toConsumableArray(new Set(found.flat()));
|
|
14695
|
-
},
|
|
14696
|
-
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14697
|
-
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14698
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14699
|
-
var found = [];
|
|
14700
|
-
nodes.forEach(function (n) {
|
|
14701
|
-
if (Array.isArray(n)) {
|
|
14702
|
-
found.push(n.flat());
|
|
14703
|
-
} else {
|
|
14704
|
-
found.push(n);
|
|
14705
|
-
}
|
|
14706
|
-
});
|
|
14707
|
-
return found.flat();
|
|
14708
|
-
},
|
|
14709
|
-
findComponents: function findComponents(connectivity) {
|
|
14710
|
-
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14711
|
-
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14712
|
-
var found = [];
|
|
14713
|
-
var terminal = false;
|
|
14714
|
-
nodes.forEach(function (node) {
|
|
14715
|
-
terminal = false;
|
|
14716
|
-
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14717
|
-
if (inArray(connectivity.axons, node)) {
|
|
14718
|
-
terminal = true;
|
|
14719
|
-
}
|
|
14720
|
-
if (inArray(connectivity.dendrites, node)) {
|
|
14721
|
-
terminal = true;
|
|
14722
|
-
}
|
|
14723
|
-
if (!terminal) {
|
|
14724
|
-
found.push(node);
|
|
14725
|
-
}
|
|
14726
|
-
});
|
|
14727
|
-
return found;
|
|
15039
|
+
on: {
|
|
15040
|
+
"change": _vm.handleCheckAllChange
|
|
14728
15041
|
},
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
}
|
|
14734
|
-
|
|
14735
|
-
|
|
15042
|
+
model: {
|
|
15043
|
+
value: _vm.checkAll,
|
|
15044
|
+
callback: function callback($$v) {
|
|
15045
|
+
_vm.checkAll = $$v;
|
|
15046
|
+
},
|
|
15047
|
+
expression: "checkAll"
|
|
15048
|
+
}
|
|
15049
|
+
}, [_vm._v("Display all")]) : _vm._e()], 1)], 1), _c('el-checkbox-group', {
|
|
15050
|
+
staticClass: "checkbox-group",
|
|
15051
|
+
attrs: {
|
|
15052
|
+
"size": "small"
|
|
14736
15053
|
},
|
|
14737
|
-
|
|
14738
|
-
|
|
14739
|
-
if (keastIds.length === 1) {
|
|
14740
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14741
|
-
} else if (keastIds.length > 1) {
|
|
14742
|
-
for (var i in keastIds) {
|
|
14743
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14744
|
-
}
|
|
14745
|
-
}
|
|
14746
|
-
return sql;
|
|
14747
|
-
},
|
|
14748
|
-
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14749
|
-
var sql = 'select entity, label from labels where entity in (';
|
|
14750
|
-
if (uberons.length === 1) {
|
|
14751
|
-
sql += "'".concat(uberons[0], "')");
|
|
14752
|
-
} else if (uberons.length > 1) {
|
|
14753
|
-
for (var i in uberons) {
|
|
14754
|
-
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14755
|
-
}
|
|
14756
|
-
}
|
|
14757
|
-
return sql;
|
|
14758
|
-
},
|
|
14759
|
-
createLabelLookup: function createLabelLookup(uberons) {
|
|
14760
|
-
var _this2 = this;
|
|
14761
|
-
return new Promise(function (resolve) {
|
|
14762
|
-
var uberonMap = {};
|
|
14763
|
-
var data = {
|
|
14764
|
-
sql: _this2.buildLabelSqlStatement(uberons)
|
|
14765
|
-
};
|
|
14766
|
-
fetch("".concat(_this2.flatmapAPI, "knowledge/query/"), {
|
|
14767
|
-
method: 'POST',
|
|
14768
|
-
headers: {
|
|
14769
|
-
'Content-Type': 'application/json'
|
|
14770
|
-
},
|
|
14771
|
-
body: JSON.stringify(data)
|
|
14772
|
-
}).then(function (response) {
|
|
14773
|
-
return response.json();
|
|
14774
|
-
}).then(function (payload) {
|
|
14775
|
-
var entity = payload.keys.indexOf("entity");
|
|
14776
|
-
var label = payload.keys.indexOf("label");
|
|
14777
|
-
if (entity > -1 && label > -1) {
|
|
14778
|
-
payload.values.forEach(function (pair) {
|
|
14779
|
-
uberonMap[pair[entity]] = pair[label];
|
|
14780
|
-
});
|
|
14781
|
-
}
|
|
14782
|
-
resolve(uberonMap);
|
|
14783
|
-
});
|
|
14784
|
-
});
|
|
14785
|
-
},
|
|
14786
|
-
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14787
|
-
var _this3 = this;
|
|
14788
|
-
var labelList = [];
|
|
14789
|
-
components.forEach(function (n) {
|
|
14790
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14791
|
-
if (n.length === 2) {
|
|
14792
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14793
|
-
}
|
|
14794
|
-
});
|
|
14795
|
-
return labelList;
|
|
14796
|
-
},
|
|
14797
|
-
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14798
|
-
var label = lookUp[node[0]];
|
|
14799
|
-
if (node.length === 2 && node[1].length > 0) {
|
|
14800
|
-
node[1].forEach(function (n) {
|
|
14801
|
-
if (lookUp[n] == undefined) {
|
|
14802
|
-
label += ", ".concat(n);
|
|
14803
|
-
} else {
|
|
14804
|
-
label += ", ".concat(lookUp[n]);
|
|
14805
|
-
}
|
|
14806
|
-
});
|
|
14807
|
-
}
|
|
14808
|
-
return label;
|
|
14809
|
-
},
|
|
14810
|
-
processConnectivity: function processConnectivity(connectivity) {
|
|
14811
|
-
var _this4 = this;
|
|
14812
|
-
// Filter the origin and destinations from components
|
|
14813
|
-
var components = this.findComponents(connectivity);
|
|
14814
|
-
|
|
14815
|
-
// Remove duplicates
|
|
14816
|
-
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14817
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14818
|
-
|
|
14819
|
-
// Create list of ids to get labels for
|
|
14820
|
-
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14821
|
-
|
|
14822
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14823
|
-
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14824
|
-
_this4.destinations = axons.map(function (a) {
|
|
14825
|
-
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
14826
|
-
});
|
|
14827
|
-
_this4.origins = dendrites.map(function (d) {
|
|
14828
|
-
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
14829
|
-
});
|
|
14830
|
-
_this4.components = components.map(function (c) {
|
|
14831
|
-
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
14832
|
-
});
|
|
14833
|
-
});
|
|
14834
|
-
this.flattenAndFindDatasets(components, axons, dendrites);
|
|
14835
|
-
},
|
|
14836
|
-
flattenAndFindDatasets: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
14837
|
-
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14838
|
-
var componentsFlat = this.flattenConntectivity(components);
|
|
14839
|
-
var axonsFlat = this.flattenConntectivity(axons);
|
|
14840
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14841
|
-
|
|
14842
|
-
// Filter for the anatomy which is annotated on datasets
|
|
14843
|
-
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14844
|
-
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14845
|
-
});
|
|
14846
|
-
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
14847
|
-
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
14848
|
-
});
|
|
14849
|
-
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
14850
|
-
return componentsFlat.indexOf(ub.id) !== -1;
|
|
14851
|
-
});
|
|
14852
|
-
},
|
|
14853
|
-
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14854
|
-
var _this5 = this;
|
|
14855
|
-
this.destinations = [];
|
|
14856
|
-
this.origins = [];
|
|
14857
|
-
this.components = [];
|
|
14858
|
-
this.loading = true;
|
|
14859
|
-
if (!keastIds || keastIds.length == 0) return;
|
|
14860
|
-
var data = {
|
|
14861
|
-
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
14862
|
-
};
|
|
14863
|
-
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14864
|
-
method: 'POST',
|
|
14865
|
-
headers: {
|
|
14866
|
-
'Content-Type': 'application/json'
|
|
14867
|
-
},
|
|
14868
|
-
body: JSON.stringify(data)
|
|
14869
|
-
}).then(function (response) {
|
|
14870
|
-
return response.json();
|
|
14871
|
-
}).then(function (data) {
|
|
14872
|
-
var connectivity = JSON.parse(data.values[0][0]);
|
|
14873
|
-
_this5.processConnectivity(connectivity);
|
|
14874
|
-
_this5.loading = false;
|
|
14875
|
-
}).catch(function (error) {
|
|
14876
|
-
console.error('Error:', error);
|
|
14877
|
-
});
|
|
14878
|
-
}
|
|
14879
|
-
}
|
|
14880
|
-
});
|
|
14881
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14882
|
-
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14883
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4125ac3a&prod&scoped=true&lang=scss&
|
|
14884
|
-
var Tooltipvue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss_ = __webpack_require__("4fc1");
|
|
14885
|
-
|
|
14886
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
|
|
14890
|
-
|
|
14891
|
-
|
|
14892
|
-
|
|
14893
|
-
/* normalize component */
|
|
14894
|
-
|
|
14895
|
-
var Tooltip_component = normalizeComponent(
|
|
14896
|
-
components_Tooltipvue_type_script_lang_js_,
|
|
14897
|
-
Tooltipvue_type_template_id_4125ac3a_scoped_true_render,
|
|
14898
|
-
Tooltipvue_type_template_id_4125ac3a_scoped_true_staticRenderFns,
|
|
14899
|
-
false,
|
|
14900
|
-
null,
|
|
14901
|
-
"4125ac3a",
|
|
14902
|
-
null
|
|
14903
|
-
|
|
14904
|
-
)
|
|
14905
|
-
|
|
14906
|
-
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
14907
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3d6296c9-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=f6ac6e34&scoped=true&
|
|
14908
|
-
var SelectionsGroupvue_type_template_id_f6ac6e34_scoped_true_render = function render() {
|
|
14909
|
-
var _vm = this,
|
|
14910
|
-
_c = _vm._self._c;
|
|
14911
|
-
return _c('div', {
|
|
14912
|
-
staticClass: "selections-container"
|
|
14913
|
-
}, [_c('el-row', [_c('el-col', {
|
|
14914
|
-
attrs: {
|
|
14915
|
-
"span": 12
|
|
14916
|
-
}
|
|
14917
|
-
}, [_c('div', {
|
|
14918
|
-
staticClass: "checkall-display-text"
|
|
14919
|
-
}, [_vm._v(_vm._s(_vm.title))])]), _c('el-col', {
|
|
14920
|
-
attrs: {
|
|
14921
|
-
"span": 12
|
|
14922
|
-
}
|
|
14923
|
-
}, [_vm.selections && _vm.selections.length > 1 ? _c('el-checkbox', {
|
|
14924
|
-
staticClass: "all-checkbox",
|
|
14925
|
-
attrs: {
|
|
14926
|
-
"indeterminate": _vm.isIndeterminate
|
|
14927
|
-
},
|
|
14928
|
-
on: {
|
|
14929
|
-
"change": _vm.handleCheckAllChange
|
|
14930
|
-
},
|
|
14931
|
-
model: {
|
|
14932
|
-
value: _vm.checkAll,
|
|
14933
|
-
callback: function callback($$v) {
|
|
14934
|
-
_vm.checkAll = $$v;
|
|
14935
|
-
},
|
|
14936
|
-
expression: "checkAll"
|
|
14937
|
-
}
|
|
14938
|
-
}, [_vm._v("Display all")]) : _vm._e()], 1)], 1), _c('el-checkbox-group', {
|
|
14939
|
-
staticClass: "checkbox-group",
|
|
14940
|
-
attrs: {
|
|
14941
|
-
"size": "small"
|
|
14942
|
-
},
|
|
14943
|
-
on: {
|
|
14944
|
-
"change": _vm.handleCheckedItemsChange
|
|
15054
|
+
on: {
|
|
15055
|
+
"change": _vm.handleCheckedItemsChange
|
|
14945
15056
|
},
|
|
14946
15057
|
model: {
|
|
14947
15058
|
value: _vm.checkedItems,
|
|
@@ -14971,15 +15082,28 @@ var SelectionsGroupvue_type_template_id_f6ac6e34_scoped_true_render = function r
|
|
|
14971
15082
|
return _vm.visibilityToggle(item[_vm.identifierKey], $event);
|
|
14972
15083
|
}
|
|
14973
15084
|
}
|
|
15085
|
+
}, [_c('el-row', {
|
|
15086
|
+
staticClass: "checkbox-row"
|
|
15087
|
+
}, [_c('el-col', {
|
|
15088
|
+
attrs: {
|
|
15089
|
+
"span": 4
|
|
15090
|
+
}
|
|
14974
15091
|
}, [_c('div', {
|
|
14975
15092
|
staticClass: "path-visual",
|
|
14976
|
-
style: _vm.
|
|
14977
|
-
}),
|
|
15093
|
+
style: _vm.getLineStyles(item)
|
|
15094
|
+
})]), _c('el-col', {
|
|
15095
|
+
attrs: {
|
|
15096
|
+
"span": 20
|
|
15097
|
+
}
|
|
15098
|
+
}, [_c('div', {
|
|
15099
|
+
staticClass: "label-text",
|
|
15100
|
+
style: _vm.getBackgroundStyles(item)
|
|
15101
|
+
}, [_vm._v(" " + _vm._s(item[_vm.labelKey]) + " ")])])], 1)], 1)], 1)]);
|
|
14978
15102
|
}), 1)])], 1);
|
|
14979
15103
|
};
|
|
14980
|
-
var
|
|
15104
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns = [];
|
|
14981
15105
|
|
|
14982
|
-
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=
|
|
15106
|
+
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=1f69f0e7&scoped=true&
|
|
14983
15107
|
|
|
14984
15108
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/checkbox-group.css
|
|
14985
15109
|
var checkbox_group = __webpack_require__("d4df");
|
|
@@ -14995,6 +15119,9 @@ var theme_chalk_checkbox = __webpack_require__("560b");
|
|
|
14995
15119
|
var lib_checkbox = __webpack_require__("dcdc");
|
|
14996
15120
|
var lib_checkbox_default = /*#__PURE__*/__webpack_require__.n(lib_checkbox);
|
|
14997
15121
|
|
|
15122
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
15123
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
15124
|
+
|
|
14998
15125
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectionsGroup.vue?vue&type=script&lang=js&
|
|
14999
15126
|
|
|
15000
15127
|
|
|
@@ -15063,24 +15190,37 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15063
15190
|
value: val
|
|
15064
15191
|
});
|
|
15065
15192
|
},
|
|
15066
|
-
|
|
15067
|
-
if ('colour' in item) {
|
|
15193
|
+
getBackgroundStyles: function getBackgroundStyles(item) {
|
|
15194
|
+
if ('colour' in item && this.colourStyle === "background") {
|
|
15195
|
+
return {
|
|
15196
|
+
background: item.colour
|
|
15197
|
+
};
|
|
15198
|
+
}
|
|
15199
|
+
return {};
|
|
15200
|
+
},
|
|
15201
|
+
getLineStyles: function getLineStyles(item) {
|
|
15202
|
+
if ('colour' in item && this.colourStyle === "line") {
|
|
15068
15203
|
if ('dashed' in item && item.dashed === true) {
|
|
15069
15204
|
var background = "repeating-linear-gradient(90deg,".concat(item.colour, ",").concat(item.colour, " 6px,transparent 0,transparent 9px)");
|
|
15070
15205
|
return {
|
|
15071
|
-
|
|
15206
|
+
background: background
|
|
15072
15207
|
};
|
|
15073
15208
|
} else {
|
|
15074
|
-
var _background = item.colour;
|
|
15075
15209
|
return {
|
|
15076
|
-
background:
|
|
15210
|
+
background: item.colour
|
|
15077
15211
|
};
|
|
15078
15212
|
}
|
|
15079
15213
|
}
|
|
15080
|
-
return {
|
|
15214
|
+
return {
|
|
15215
|
+
display: "None"
|
|
15216
|
+
};
|
|
15081
15217
|
}
|
|
15082
15218
|
},
|
|
15083
15219
|
props: {
|
|
15220
|
+
colourStyle: {
|
|
15221
|
+
type: String,
|
|
15222
|
+
default: "line"
|
|
15223
|
+
},
|
|
15084
15224
|
identifierKey: {
|
|
15085
15225
|
type: String,
|
|
15086
15226
|
default: "id"
|
|
@@ -15121,8 +15261,8 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15121
15261
|
});
|
|
15122
15262
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=script&lang=js&
|
|
15123
15263
|
/* harmony default export */ var components_SelectionsGroupvue_type_script_lang_js_ = (SelectionsGroupvue_type_script_lang_js_);
|
|
15124
|
-
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=
|
|
15125
|
-
var
|
|
15264
|
+
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=1f69f0e7&prod&scoped=true&lang=scss&
|
|
15265
|
+
var SelectionsGroupvue_type_style_index_0_id_1f69f0e7_prod_scoped_true_lang_scss_ = __webpack_require__("7b79");
|
|
15126
15266
|
|
|
15127
15267
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue
|
|
15128
15268
|
|
|
@@ -15135,11 +15275,11 @@ var SelectionsGroupvue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss
|
|
|
15135
15275
|
|
|
15136
15276
|
var SelectionsGroup_component = normalizeComponent(
|
|
15137
15277
|
components_SelectionsGroupvue_type_script_lang_js_,
|
|
15138
|
-
|
|
15139
|
-
|
|
15278
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render,
|
|
15279
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns,
|
|
15140
15280
|
false,
|
|
15141
15281
|
null,
|
|
15142
|
-
"
|
|
15282
|
+
"1f69f0e7",
|
|
15143
15283
|
null
|
|
15144
15284
|
|
|
15145
15285
|
)
|
|
@@ -15148,225 +15288,686 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15148
15288
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15149
15289
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15150
15290
|
|
|
15151
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15152
|
-
var
|
|
15291
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e4b77ee-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&
|
|
15292
|
+
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15153
15293
|
var _vm = this,
|
|
15154
15294
|
_c = _vm._self._c;
|
|
15155
|
-
return _c('div',
|
|
15295
|
+
return _c('div', {
|
|
15296
|
+
staticClass: "legends-container"
|
|
15297
|
+
}, [_c('svg', {
|
|
15298
|
+
staticStyle: {
|
|
15299
|
+
"enable-background": "new 0 0 500 500"
|
|
15300
|
+
},
|
|
15156
15301
|
attrs: {
|
|
15157
|
-
"
|
|
15302
|
+
"version": "1.1",
|
|
15303
|
+
"id": "Layer_1",
|
|
15304
|
+
"x": "0px",
|
|
15305
|
+
"y": "0px",
|
|
15306
|
+
"viewBox": "0 0 500 500",
|
|
15307
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
15308
|
+
"xmlns:bx": "https://boxy-svg.com"
|
|
15158
15309
|
}
|
|
15159
|
-
}, [_c('
|
|
15160
|
-
|
|
15161
|
-
|
|
15162
|
-
|
|
15163
|
-
|
|
15164
|
-
|
|
15165
|
-
|
|
15166
|
-
|
|
15167
|
-
|
|
15168
|
-
|
|
15169
|
-
|
|
15170
|
-
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15310
|
+
}, [_c('defs', [_c('bx:grid', {
|
|
15311
|
+
attrs: {
|
|
15312
|
+
"height": "30.447",
|
|
15313
|
+
"width": "32.516",
|
|
15314
|
+
"x": "0",
|
|
15315
|
+
"y": "0"
|
|
15316
|
+
}
|
|
15317
|
+
})], 1), _c('path', {
|
|
15318
|
+
staticClass: "st0 st0-translate",
|
|
15319
|
+
attrs: {
|
|
15320
|
+
"d": "M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"
|
|
15321
|
+
}
|
|
15322
|
+
}), _c('path', {
|
|
15323
|
+
staticClass: "st1",
|
|
15324
|
+
attrs: {
|
|
15325
|
+
"d": "M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"
|
|
15326
|
+
}
|
|
15327
|
+
}), _c('path', {
|
|
15328
|
+
staticClass: "st2",
|
|
15329
|
+
attrs: {
|
|
15330
|
+
"d": "M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"
|
|
15331
|
+
}
|
|
15332
|
+
}), _c('text', {
|
|
15333
|
+
staticClass: "st3 st4 st5",
|
|
15334
|
+
staticStyle: {
|
|
15335
|
+
"white-space": "pre"
|
|
15336
|
+
},
|
|
15337
|
+
attrs: {
|
|
15338
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
15339
|
+
}
|
|
15340
|
+
}, [_vm._v("Tissue region")]), _c('path', {
|
|
15341
|
+
staticClass: "st6",
|
|
15342
|
+
attrs: {
|
|
15343
|
+
"d": "M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"
|
|
15344
|
+
}
|
|
15345
|
+
}), _c('text', {
|
|
15346
|
+
staticClass: "st3 st4 st5",
|
|
15347
|
+
staticStyle: {
|
|
15348
|
+
"white-space": "pre"
|
|
15349
|
+
},
|
|
15350
|
+
attrs: {
|
|
15351
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
15352
|
+
}
|
|
15353
|
+
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
15354
|
+
staticClass: "st3 st4 st5",
|
|
15355
|
+
staticStyle: {
|
|
15356
|
+
"white-space": "pre"
|
|
15357
|
+
},
|
|
15358
|
+
attrs: {
|
|
15359
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
15360
|
+
}
|
|
15361
|
+
}, [_vm._v("Ganglia")]), _c('text', {
|
|
15362
|
+
staticClass: "st3 st4 st5",
|
|
15363
|
+
staticStyle: {
|
|
15364
|
+
"white-space": "pre"
|
|
15365
|
+
},
|
|
15366
|
+
attrs: {
|
|
15367
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
15368
|
+
}
|
|
15369
|
+
}, [_vm._v("Nerve plexus")])])]);
|
|
15180
15370
|
};
|
|
15181
|
-
var
|
|
15371
|
+
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns = [];
|
|
15182
15372
|
|
|
15183
|
-
// CONCATENATED MODULE: ./src/components/legends/
|
|
15373
|
+
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
|
|
15184
15374
|
|
|
15185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/
|
|
15375
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./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=script&lang=js&
|
|
15376
|
+
/* harmony default export */ var SvgLegendsvue_type_script_lang_js_ = ({
|
|
15377
|
+
name: 'SvgLegends'
|
|
15378
|
+
});
|
|
15379
|
+
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=script&lang=js&
|
|
15380
|
+
/* harmony default export */ var legends_SvgLegendsvue_type_script_lang_js_ = (SvgLegendsvue_type_script_lang_js_);
|
|
15381
|
+
// EXTERNAL MODULE: ./src/components/legends/SvgLegends.vue?vue&type=style&index=0&id=3d3218c8&prod&scoped=true&lang=scss&
|
|
15382
|
+
var SvgLegendsvue_type_style_index_0_id_3d3218c8_prod_scoped_true_lang_scss_ = __webpack_require__("83af");
|
|
15186
15383
|
|
|
15384
|
+
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue
|
|
15187
15385
|
|
|
15188
15386
|
|
|
15189
15387
|
|
|
15190
15388
|
|
|
15191
15389
|
|
|
15192
15390
|
|
|
15193
|
-
/*
|
|
15391
|
+
/* normalize component */
|
|
15392
|
+
|
|
15393
|
+
var SvgLegends_component = normalizeComponent(
|
|
15394
|
+
legends_SvgLegendsvue_type_script_lang_js_,
|
|
15395
|
+
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render,
|
|
15396
|
+
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns,
|
|
15397
|
+
false,
|
|
15398
|
+
null,
|
|
15399
|
+
"3d3218c8",
|
|
15400
|
+
null
|
|
15401
|
+
|
|
15402
|
+
)
|
|
15403
|
+
|
|
15404
|
+
/* harmony default export */ var SvgLegends = (SvgLegends_component.exports);
|
|
15405
|
+
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15406
|
+
/* harmony default export */ var flatmap_marker = ('<div class="flatmap-marker"><svg display="block" height="41px" width="27px" viewBox="0 0 27 41"><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="#005974"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg></div>');
|
|
15407
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
15408
|
+
|
|
15409
|
+
function _classCallCheck(instance, Constructor) {
|
|
15410
|
+
if (!(instance instanceof Constructor)) {
|
|
15411
|
+
throw new TypeError("Cannot call a class as a function");
|
|
15412
|
+
}
|
|
15413
|
+
}
|
|
15414
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-primitive.js"
|
|
15415
|
+
var es_symbol_to_primitive_js_ = __webpack_require__("fb89");
|
|
15416
|
+
|
|
15417
|
+
// EXTERNAL MODULE: external "core-js/modules/es.date.to-primitive.js"
|
|
15418
|
+
var es_date_to_primitive_js_ = __webpack_require__("1f48");
|
|
15419
|
+
|
|
15420
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
15421
|
+
|
|
15422
|
+
|
|
15423
|
+
|
|
15424
|
+
|
|
15425
|
+
|
|
15426
|
+
|
|
15427
|
+
|
|
15428
|
+
|
|
15429
|
+
function _toPrimitive(input, hint) {
|
|
15430
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
15431
|
+
var prim = input[Symbol.toPrimitive];
|
|
15432
|
+
if (prim !== undefined) {
|
|
15433
|
+
var res = prim.call(input, hint || "default");
|
|
15434
|
+
if (_typeof(res) !== "object") return res;
|
|
15435
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15436
|
+
}
|
|
15437
|
+
return (hint === "string" ? String : Number)(input);
|
|
15438
|
+
}
|
|
15439
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
15194
15440
|
|
|
15195
15441
|
|
|
15442
|
+
function _toPropertyKey(arg) {
|
|
15443
|
+
var key = _toPrimitive(arg, "string");
|
|
15444
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
15445
|
+
}
|
|
15446
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
15447
|
+
|
|
15448
|
+
function _defineProperties(target, props) {
|
|
15449
|
+
for (var i = 0; i < props.length; i++) {
|
|
15450
|
+
var descriptor = props[i];
|
|
15451
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
15452
|
+
descriptor.configurable = true;
|
|
15453
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
15454
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
15455
|
+
}
|
|
15456
|
+
}
|
|
15457
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
15458
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
15459
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
15460
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
15461
|
+
writable: false
|
|
15462
|
+
});
|
|
15463
|
+
return Constructor;
|
|
15464
|
+
}
|
|
15465
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
15466
|
+
|
|
15467
|
+
function _defineProperty(obj, key, value) {
|
|
15468
|
+
key = _toPropertyKey(key);
|
|
15469
|
+
if (key in obj) {
|
|
15470
|
+
Object.defineProperty(obj, key, {
|
|
15471
|
+
value: value,
|
|
15472
|
+
enumerable: true,
|
|
15473
|
+
configurable: true,
|
|
15474
|
+
writable: true
|
|
15475
|
+
});
|
|
15476
|
+
} else {
|
|
15477
|
+
obj[key] = value;
|
|
15478
|
+
}
|
|
15479
|
+
return obj;
|
|
15480
|
+
}
|
|
15481
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
15482
|
+
|
|
15483
|
+
function _arrayWithoutHoles(arr) {
|
|
15484
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
15485
|
+
}
|
|
15486
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
15487
|
+
|
|
15488
|
+
|
|
15489
|
+
|
|
15490
|
+
|
|
15491
|
+
|
|
15492
|
+
|
|
15493
|
+
|
|
15494
|
+
|
|
15495
|
+
function _iterableToArray(iter) {
|
|
15496
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
15497
|
+
}
|
|
15498
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
15499
|
+
|
|
15500
|
+
function _nonIterableSpread() {
|
|
15501
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15502
|
+
}
|
|
15503
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
15504
|
+
|
|
15505
|
+
|
|
15506
|
+
|
|
15507
|
+
|
|
15508
|
+
function _toConsumableArray(arr) {
|
|
15509
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
15510
|
+
}
|
|
15511
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
15512
|
+
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
15513
|
+
|
|
15514
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
15515
|
+
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
15516
|
+
|
|
15517
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
15518
|
+
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
15519
|
+
|
|
15520
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
15521
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
15522
|
+
|
|
15523
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
15524
|
+
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
15525
|
+
|
|
15526
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
15527
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
15528
|
+
|
|
15529
|
+
// CONCATENATED MODULE: ./src/services/flatmapQueries.js
|
|
15530
|
+
|
|
15531
|
+
|
|
15532
|
+
|
|
15533
|
+
|
|
15534
|
+
|
|
15535
|
+
|
|
15536
|
+
|
|
15537
|
+
|
|
15538
|
+
|
|
15539
|
+
|
|
15540
|
+
|
|
15541
|
+
|
|
15542
|
+
|
|
15543
|
+
|
|
15544
|
+
|
|
15545
|
+
|
|
15546
|
+
|
|
15547
|
+
|
|
15548
|
+
|
|
15549
|
+
|
|
15550
|
+
|
|
15551
|
+
|
|
15552
|
+
/* eslint-disable no-alert, no-console */
|
|
15553
|
+
// remove duplicates by stringifying the objects
|
|
15554
|
+
var flatmapQueries_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
15555
|
+
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
15556
|
+
return JSON.stringify(e);
|
|
15557
|
+
}))).map(function (e) {
|
|
15558
|
+
return JSON.parse(e);
|
|
15559
|
+
});
|
|
15560
|
+
};
|
|
15561
|
+
var inArray = function inArray(ar1, ar2) {
|
|
15562
|
+
var as1 = JSON.stringify(ar1);
|
|
15563
|
+
var as2 = JSON.stringify(ar2);
|
|
15564
|
+
return as1.indexOf(as2) !== -1;
|
|
15565
|
+
};
|
|
15566
|
+
var flatmapQueries_FlatmapQueries = /*#__PURE__*/function () {
|
|
15567
|
+
function FlatmapQueries(sparcApi, flatmapApi) {
|
|
15568
|
+
var _this7 = this;
|
|
15569
|
+
_classCallCheck(this, FlatmapQueries);
|
|
15570
|
+
_defineProperty(this, "createTooltipData", function (eventData) {
|
|
15571
|
+
var tooltipData = {
|
|
15572
|
+
destinations: this.destinations,
|
|
15573
|
+
origins: this.origins,
|
|
15574
|
+
components: this.components,
|
|
15575
|
+
destinationsWithDatasets: this.destinationsWithDatasets,
|
|
15576
|
+
originsWithDatasets: this.originsWithDatasets,
|
|
15577
|
+
componentsWithDatasets: this.componentsWithDatasets,
|
|
15578
|
+
title: eventData.label,
|
|
15579
|
+
featureId: eventData.resource,
|
|
15580
|
+
hyperlinks: eventData.feature.hyperlinks ? eventData.feature.hyperlinks : this.urls.map(function (url) {
|
|
15581
|
+
return {
|
|
15582
|
+
url: url,
|
|
15583
|
+
id: "pubmed"
|
|
15584
|
+
};
|
|
15585
|
+
})
|
|
15586
|
+
};
|
|
15587
|
+
return tooltipData;
|
|
15588
|
+
});
|
|
15589
|
+
_defineProperty(this, "getOrganCuries", function () {
|
|
15590
|
+
var _this = this;
|
|
15591
|
+
return new Promise(function (resolve) {
|
|
15592
|
+
fetch("".concat(_this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
15593
|
+
return response.json();
|
|
15594
|
+
}).then(function (data) {
|
|
15595
|
+
resolve(data.uberon.array);
|
|
15596
|
+
});
|
|
15597
|
+
});
|
|
15598
|
+
});
|
|
15599
|
+
_defineProperty(this, "createComponentsLabelList", function (components, lookUp) {
|
|
15600
|
+
var _this2 = this;
|
|
15601
|
+
var labelList = [];
|
|
15602
|
+
components.forEach(function (n) {
|
|
15603
|
+
labelList.push(_this2.createLabelFromNeuralNode(n[0]), lookUp);
|
|
15604
|
+
if (n.length === 2) {
|
|
15605
|
+
labelList.push(_this2.createLabelFromNeuralNode(n[1]), lookUp);
|
|
15606
|
+
}
|
|
15607
|
+
});
|
|
15608
|
+
return labelList;
|
|
15609
|
+
});
|
|
15610
|
+
_defineProperty(this, "createLabelLookup", function (uberons) {
|
|
15611
|
+
var _this3 = this;
|
|
15612
|
+
return new Promise(function (resolve) {
|
|
15613
|
+
var uberonMap = {};
|
|
15614
|
+
var data = {
|
|
15615
|
+
sql: _this3.buildLabelSqlStatement(uberons)
|
|
15616
|
+
};
|
|
15617
|
+
fetch("".concat(_this3.flatmapApi, "knowledge/query/"), {
|
|
15618
|
+
method: 'POST',
|
|
15619
|
+
headers: {
|
|
15620
|
+
'Content-Type': 'application/json'
|
|
15621
|
+
},
|
|
15622
|
+
body: JSON.stringify(data)
|
|
15623
|
+
}).then(function (response) {
|
|
15624
|
+
return response.json();
|
|
15625
|
+
}).then(function (payload) {
|
|
15626
|
+
var entity = payload.keys.indexOf("entity");
|
|
15627
|
+
var label = payload.keys.indexOf("label");
|
|
15628
|
+
if (entity > -1 && label > -1) {
|
|
15629
|
+
payload.values.forEach(function (pair) {
|
|
15630
|
+
uberonMap[pair[entity]] = pair[label];
|
|
15631
|
+
});
|
|
15632
|
+
}
|
|
15633
|
+
resolve(uberonMap);
|
|
15634
|
+
});
|
|
15635
|
+
});
|
|
15636
|
+
});
|
|
15637
|
+
_defineProperty(this, "buildConnectivitySqlStatement", function (keastIds) {
|
|
15638
|
+
var sql = 'select knowledge from knowledge where entity in (';
|
|
15639
|
+
if (keastIds.length === 1) {
|
|
15640
|
+
sql += "'".concat(keastIds[0], "')");
|
|
15641
|
+
} else if (keastIds.length > 1) {
|
|
15642
|
+
for (var i in keastIds) {
|
|
15643
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15644
|
+
}
|
|
15645
|
+
}
|
|
15646
|
+
return sql;
|
|
15647
|
+
});
|
|
15648
|
+
_defineProperty(this, "buildLabelSqlStatement", function (uberons) {
|
|
15649
|
+
var sql = 'select entity, label from labels where entity in (';
|
|
15650
|
+
if (uberons.length === 1) {
|
|
15651
|
+
sql += "'".concat(uberons[0], "')");
|
|
15652
|
+
} else if (uberons.length > 1) {
|
|
15653
|
+
for (var i in uberons) {
|
|
15654
|
+
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
15655
|
+
}
|
|
15656
|
+
}
|
|
15657
|
+
return sql;
|
|
15658
|
+
});
|
|
15659
|
+
_defineProperty(this, "findAllIdsFromConnectivity", function (connectivity) {
|
|
15660
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15661
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15662
|
+
var found = [];
|
|
15663
|
+
nodes.forEach(function (n) {
|
|
15664
|
+
if (Array.isArray(n)) {
|
|
15665
|
+
found.push(n.flat());
|
|
15666
|
+
} else {
|
|
15667
|
+
found.push(n);
|
|
15668
|
+
}
|
|
15669
|
+
});
|
|
15670
|
+
return _toConsumableArray(new Set(found.flat()));
|
|
15671
|
+
});
|
|
15672
|
+
_defineProperty(this, "flattenConntectivity", function (connectivity) {
|
|
15673
|
+
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
15674
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15675
|
+
var found = [];
|
|
15676
|
+
nodes.forEach(function (n) {
|
|
15677
|
+
if (Array.isArray(n)) {
|
|
15678
|
+
found.push(n.flat());
|
|
15679
|
+
} else {
|
|
15680
|
+
found.push(n);
|
|
15681
|
+
}
|
|
15682
|
+
});
|
|
15683
|
+
return found.flat();
|
|
15684
|
+
});
|
|
15685
|
+
_defineProperty(this, "findComponents", function (connectivity) {
|
|
15686
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15687
|
+
var nodes = flatmapQueries_removeDuplicates(dnodes);
|
|
15688
|
+
var found = [];
|
|
15689
|
+
var terminal = false;
|
|
15690
|
+
nodes.forEach(function (node) {
|
|
15691
|
+
terminal = false;
|
|
15692
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
15693
|
+
if (inArray(connectivity.axons, node)) {
|
|
15694
|
+
terminal = true;
|
|
15695
|
+
}
|
|
15696
|
+
if (inArray(connectivity.dendrites, node)) {
|
|
15697
|
+
terminal = true;
|
|
15698
|
+
}
|
|
15699
|
+
if (!terminal) {
|
|
15700
|
+
found.push(node);
|
|
15701
|
+
}
|
|
15702
|
+
});
|
|
15703
|
+
return found;
|
|
15704
|
+
});
|
|
15705
|
+
_defineProperty(this, "retrieveFlatmapKnowledgeForEvent", /*#__PURE__*/function () {
|
|
15706
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(eventData) {
|
|
15707
|
+
var _this4 = this;
|
|
15708
|
+
var signal, keastIds, data, prom1, prom2;
|
|
15709
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
15710
|
+
while (1) {
|
|
15711
|
+
switch (_context.prev = _context.next) {
|
|
15712
|
+
case 0:
|
|
15713
|
+
// check if there is an existing query
|
|
15714
|
+
if (this.controller) this.controller.abort();
|
|
15715
|
+
|
|
15716
|
+
// set up the abort controller
|
|
15717
|
+
this.controller = new AbortController();
|
|
15718
|
+
signal = this.controller.signal;
|
|
15719
|
+
keastIds = eventData.resource;
|
|
15720
|
+
this.destinations = [];
|
|
15721
|
+
this.origins = [];
|
|
15722
|
+
this.components = [];
|
|
15723
|
+
if (!(!keastIds || keastIds.length == 0)) {
|
|
15724
|
+
_context.next = 9;
|
|
15725
|
+
break;
|
|
15726
|
+
}
|
|
15727
|
+
return _context.abrupt("return");
|
|
15728
|
+
case 9:
|
|
15729
|
+
data = {
|
|
15730
|
+
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
15731
|
+
};
|
|
15732
|
+
prom1 = new Promise(function (resolve) {
|
|
15733
|
+
fetch("".concat(_this4.flatmapApi, "knowledge/query/"), {
|
|
15734
|
+
method: 'POST',
|
|
15735
|
+
headers: {
|
|
15736
|
+
'Content-Type': 'application/json'
|
|
15737
|
+
},
|
|
15738
|
+
body: JSON.stringify(data),
|
|
15739
|
+
signal: signal
|
|
15740
|
+
}).then(function (response) {
|
|
15741
|
+
return response.json();
|
|
15742
|
+
}).then(function (data) {
|
|
15743
|
+
if (_this4.connectivityExists(data)) {
|
|
15744
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
15745
|
+
_this4.processConnectivity(connectivity).then(function () {
|
|
15746
|
+
resolve(true);
|
|
15747
|
+
});
|
|
15748
|
+
} else {
|
|
15749
|
+
console.log('No connectivity data found');
|
|
15750
|
+
resolve(true);
|
|
15751
|
+
}
|
|
15752
|
+
}).catch(function (error) {
|
|
15753
|
+
console.error('Error:', error);
|
|
15754
|
+
resolve(false);
|
|
15755
|
+
});
|
|
15756
|
+
});
|
|
15757
|
+
prom2 = this.pubmedQueryOnIds(eventData);
|
|
15758
|
+
_context.next = 14;
|
|
15759
|
+
return Promise.all([prom1, prom2]);
|
|
15760
|
+
case 14:
|
|
15761
|
+
return _context.abrupt("return", _context.sent);
|
|
15762
|
+
case 15:
|
|
15763
|
+
case "end":
|
|
15764
|
+
return _context.stop();
|
|
15765
|
+
}
|
|
15766
|
+
}
|
|
15767
|
+
}, _callee, this);
|
|
15768
|
+
}));
|
|
15769
|
+
return function (_x) {
|
|
15770
|
+
return _ref.apply(this, arguments);
|
|
15771
|
+
};
|
|
15772
|
+
}());
|
|
15773
|
+
_defineProperty(this, "connectivityExists", function (data) {
|
|
15774
|
+
if (data.values && data.values.length > 0 && JSON.parse(data.values[0][0]).connectivity && JSON.parse(data.values[0][0]).connectivity.length > 0) {
|
|
15775
|
+
return true;
|
|
15776
|
+
} else {
|
|
15777
|
+
return false;
|
|
15778
|
+
}
|
|
15779
|
+
});
|
|
15780
|
+
_defineProperty(this, "createLabelFromNeuralNode", function (node, lookUp) {
|
|
15781
|
+
var label = lookUp[node[0]];
|
|
15782
|
+
if (node.length === 2 && node[1].length > 0) {
|
|
15783
|
+
node[1].forEach(function (n) {
|
|
15784
|
+
if (lookUp[n] == undefined) {
|
|
15785
|
+
label += ", ".concat(n);
|
|
15786
|
+
} else {
|
|
15787
|
+
label += ", ".concat(lookUp[n]);
|
|
15788
|
+
}
|
|
15789
|
+
});
|
|
15790
|
+
}
|
|
15791
|
+
return label;
|
|
15792
|
+
});
|
|
15793
|
+
_defineProperty(this, "findComponents", function (connectivity) {
|
|
15794
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15795
|
+
var nodes = flatmapQueries_removeDuplicates(dnodes);
|
|
15796
|
+
var found = [];
|
|
15797
|
+
var terminal = false;
|
|
15798
|
+
nodes.forEach(function (node) {
|
|
15799
|
+
terminal = false;
|
|
15800
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
15801
|
+
if (inArray(connectivity.axons, node)) {
|
|
15802
|
+
terminal = true;
|
|
15803
|
+
}
|
|
15804
|
+
if (inArray(connectivity.dendrites, node)) {
|
|
15805
|
+
terminal = true;
|
|
15806
|
+
}
|
|
15807
|
+
if (!terminal) {
|
|
15808
|
+
found.push(node);
|
|
15809
|
+
}
|
|
15810
|
+
});
|
|
15811
|
+
return found;
|
|
15812
|
+
});
|
|
15813
|
+
_defineProperty(this, "stripPMIDPrefix", function (pubmedId) {
|
|
15814
|
+
return pubmedId.split(':')[1];
|
|
15815
|
+
});
|
|
15816
|
+
_defineProperty(this, "buildPubmedSqlStatement", function (keastIds) {
|
|
15817
|
+
var sql = 'select distinct publication from publications where entity in (';
|
|
15818
|
+
if (keastIds.length === 1) {
|
|
15819
|
+
sql += "'".concat(keastIds[0], "')");
|
|
15820
|
+
} else if (keastIds.length > 1) {
|
|
15821
|
+
for (var i in keastIds) {
|
|
15822
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15823
|
+
}
|
|
15824
|
+
}
|
|
15825
|
+
return sql;
|
|
15826
|
+
});
|
|
15827
|
+
_defineProperty(this, "buildPubmedSqlStatementForModels", function (model) {
|
|
15828
|
+
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
15829
|
+
});
|
|
15830
|
+
_defineProperty(this, "flatmapQuery", function (sql) {
|
|
15831
|
+
var data = {
|
|
15832
|
+
sql: sql
|
|
15833
|
+
};
|
|
15834
|
+
return fetch("".concat(this.flatmapApi, "knowledge/query/"), {
|
|
15835
|
+
method: 'POST',
|
|
15836
|
+
headers: {
|
|
15837
|
+
'Content-Type': 'application/json'
|
|
15838
|
+
},
|
|
15839
|
+
body: JSON.stringify(data)
|
|
15840
|
+
}).then(function (response) {
|
|
15841
|
+
return response.json();
|
|
15842
|
+
}).catch(function (error) {
|
|
15843
|
+
console.error('Error:', error);
|
|
15844
|
+
});
|
|
15845
|
+
});
|
|
15846
|
+
_defineProperty(this, "pubmedQueryOnIds", function (eventData) {
|
|
15847
|
+
var _this5 = this;
|
|
15848
|
+
var keastIds = eventData.resource;
|
|
15849
|
+
var source = eventData.feature.source;
|
|
15850
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
15851
|
+
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
15852
|
+
return this.flatmapQuery(sql).then(function (data) {
|
|
15853
|
+
// Create pubmed url on paths if we have them
|
|
15854
|
+
if (data.values.length > 0) {
|
|
15855
|
+
_this5.urls = [_this5.pubmedSearchUrl(data.values.map(function (id) {
|
|
15856
|
+
return _this5.stripPMIDPrefix(id[0]);
|
|
15857
|
+
}))];
|
|
15858
|
+
return true;
|
|
15859
|
+
} else {
|
|
15860
|
+
// Create pubmed url on models
|
|
15861
|
+
_this5.pubmedQueryOnModels(source).then(function () {
|
|
15862
|
+
return true;
|
|
15863
|
+
});
|
|
15864
|
+
}
|
|
15865
|
+
});
|
|
15866
|
+
});
|
|
15867
|
+
_defineProperty(this, "pubmedQueryOnModels", function (source) {
|
|
15868
|
+
var _this6 = this;
|
|
15869
|
+
return this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
15870
|
+
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
15871
|
+
_this6.urls = [_this6.pubmedSearchUrl(data.values.map(function (id) {
|
|
15872
|
+
return _this6.stripPMIDPrefix(id[0]);
|
|
15873
|
+
}))];
|
|
15874
|
+
} else {
|
|
15875
|
+
_this6.urls = []; // Clears the pubmed search button
|
|
15876
|
+
}
|
|
15196
15877
|
|
|
15197
|
-
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
}
|
|
15221
|
-
},
|
|
15222
|
-
methods: {
|
|
15223
|
-
capitalise: function capitalise(label) {
|
|
15224
|
-
return label.charAt(0).toUpperCase() + label.slice(1).toLowerCase();
|
|
15225
|
-
}
|
|
15878
|
+
return;
|
|
15879
|
+
});
|
|
15880
|
+
});
|
|
15881
|
+
_defineProperty(this, "pubmedSearchUrl", function (ids) {
|
|
15882
|
+
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
15883
|
+
var params = new URLSearchParams();
|
|
15884
|
+
params.append('term', ids);
|
|
15885
|
+
return url + params.toString();
|
|
15886
|
+
});
|
|
15887
|
+
this.sparcApi = sparcApi;
|
|
15888
|
+
this.flatmapApi = flatmapApi;
|
|
15889
|
+
this.destinations = [];
|
|
15890
|
+
this.origins = [];
|
|
15891
|
+
this.components = [];
|
|
15892
|
+
this.uberons = [];
|
|
15893
|
+
this.urls = [];
|
|
15894
|
+
this.controller = undefined;
|
|
15895
|
+
this.getOrganCuries().then(function (uberons) {
|
|
15896
|
+
_this7.uberons = uberons;
|
|
15897
|
+
_this7.createLabelLookup(uberons).then(function (lookUp) {
|
|
15898
|
+
_this7.lookUp = lookUp;
|
|
15899
|
+
});
|
|
15900
|
+
});
|
|
15226
15901
|
}
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
//
|
|
15231
|
-
var
|
|
15232
|
-
|
|
15233
|
-
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15902
|
+
_createClass(FlatmapQueries, [{
|
|
15903
|
+
key: "flattenAndFindDatasets",
|
|
15904
|
+
value: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
15905
|
+
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
15906
|
+
var componentsFlat = this.flattenConntectivity(components);
|
|
15907
|
+
var axonsFlat = this.flattenConntectivity(axons);
|
|
15908
|
+
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
15238
15909
|
|
|
15910
|
+
// Filter for the anatomy which is annotated on datasets
|
|
15911
|
+
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
15912
|
+
return axonsFlat.indexOf(ub.id) !== -1;
|
|
15913
|
+
});
|
|
15914
|
+
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
15915
|
+
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
15916
|
+
});
|
|
15917
|
+
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
15918
|
+
return componentsFlat.indexOf(ub.id) !== -1;
|
|
15919
|
+
});
|
|
15920
|
+
}
|
|
15921
|
+
}, {
|
|
15922
|
+
key: "processConnectivity",
|
|
15923
|
+
value: function processConnectivity(connectivity) {
|
|
15924
|
+
var _this8 = this;
|
|
15925
|
+
return new Promise(function (resolve) {
|
|
15926
|
+
// Filter the origin and destinations from components
|
|
15927
|
+
var components = _this8.findComponents(connectivity);
|
|
15239
15928
|
|
|
15240
|
-
|
|
15929
|
+
// Remove duplicates
|
|
15930
|
+
var axons = flatmapQueries_removeDuplicates(connectivity.axons);
|
|
15931
|
+
var dendrites = flatmapQueries_removeDuplicates(connectivity.dendrites);
|
|
15241
15932
|
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_render,
|
|
15245
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_staticRenderFns,
|
|
15246
|
-
false,
|
|
15247
|
-
null,
|
|
15248
|
-
"7ea6eb51",
|
|
15249
|
-
null
|
|
15250
|
-
|
|
15251
|
-
)
|
|
15933
|
+
// Create list of ids to get labels for
|
|
15934
|
+
var conIds = _this8.findAllIdsFromConnectivity(connectivity);
|
|
15252
15935
|
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15259
|
-
|
|
15260
|
-
|
|
15261
|
-
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
"y": "0px",
|
|
15269
|
-
"viewBox": "0 0 500 500",
|
|
15270
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
15271
|
-
"xmlns:bx": "https://boxy-svg.com"
|
|
15272
|
-
}
|
|
15273
|
-
}, [_c('defs', [_c('bx:grid', {
|
|
15274
|
-
attrs: {
|
|
15275
|
-
"height": "30.447",
|
|
15276
|
-
"width": "32.516",
|
|
15277
|
-
"x": "0",
|
|
15278
|
-
"y": "0"
|
|
15279
|
-
}
|
|
15280
|
-
})], 1), _c('path', {
|
|
15281
|
-
staticClass: "st0 st0-translate",
|
|
15282
|
-
attrs: {
|
|
15283
|
-
"d": "M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"
|
|
15284
|
-
}
|
|
15285
|
-
}), _c('path', {
|
|
15286
|
-
staticClass: "st1",
|
|
15287
|
-
attrs: {
|
|
15288
|
-
"d": "M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"
|
|
15289
|
-
}
|
|
15290
|
-
}), _c('path', {
|
|
15291
|
-
staticClass: "st2",
|
|
15292
|
-
attrs: {
|
|
15293
|
-
"d": "M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"
|
|
15294
|
-
}
|
|
15295
|
-
}), _c('text', {
|
|
15296
|
-
staticClass: "st3 st4 st5",
|
|
15297
|
-
staticStyle: {
|
|
15298
|
-
"white-space": "pre"
|
|
15299
|
-
},
|
|
15300
|
-
attrs: {
|
|
15301
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
15302
|
-
}
|
|
15303
|
-
}, [_vm._v("Tissue region")]), _c('path', {
|
|
15304
|
-
staticClass: "st6",
|
|
15305
|
-
attrs: {
|
|
15306
|
-
"d": "M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"
|
|
15307
|
-
}
|
|
15308
|
-
}), _c('text', {
|
|
15309
|
-
staticClass: "st3 st4 st5",
|
|
15310
|
-
staticStyle: {
|
|
15311
|
-
"white-space": "pre"
|
|
15312
|
-
},
|
|
15313
|
-
attrs: {
|
|
15314
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
15315
|
-
}
|
|
15316
|
-
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
15317
|
-
staticClass: "st3 st4 st5",
|
|
15318
|
-
staticStyle: {
|
|
15319
|
-
"white-space": "pre"
|
|
15320
|
-
},
|
|
15321
|
-
attrs: {
|
|
15322
|
-
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
15936
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
15937
|
+
_this8.createLabelLookup(conIds).then(function (lookUp) {
|
|
15938
|
+
_this8.destinations = axons.map(function (a) {
|
|
15939
|
+
return _this8.createLabelFromNeuralNode(a, lookUp);
|
|
15940
|
+
});
|
|
15941
|
+
_this8.origins = dendrites.map(function (d) {
|
|
15942
|
+
return _this8.createLabelFromNeuralNode(d, lookUp);
|
|
15943
|
+
});
|
|
15944
|
+
_this8.components = components.map(function (c) {
|
|
15945
|
+
return _this8.createLabelFromNeuralNode(c, lookUp);
|
|
15946
|
+
});
|
|
15947
|
+
_this8.flattenAndFindDatasets(components, axons, dendrites);
|
|
15948
|
+
resolve(true);
|
|
15949
|
+
});
|
|
15950
|
+
});
|
|
15323
15951
|
}
|
|
15324
|
-
},
|
|
15325
|
-
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
|
|
15330
|
-
|
|
15952
|
+
}, {
|
|
15953
|
+
key: "flattenConntectivity",
|
|
15954
|
+
value: function flattenConntectivity(connectivity) {
|
|
15955
|
+
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
15956
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15957
|
+
var found = [];
|
|
15958
|
+
nodes.forEach(function (n) {
|
|
15959
|
+
if (Array.isArray(n)) {
|
|
15960
|
+
found.push(n.flat());
|
|
15961
|
+
} else {
|
|
15962
|
+
found.push(n);
|
|
15963
|
+
}
|
|
15964
|
+
});
|
|
15965
|
+
return found.flat();
|
|
15331
15966
|
}
|
|
15332
|
-
}
|
|
15333
|
-
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
|
|
15337
|
-
|
|
15338
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./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=script&lang=js&
|
|
15339
|
-
/* harmony default export */ var SvgLegendsvue_type_script_lang_js_ = ({
|
|
15340
|
-
name: 'SvgLegends'
|
|
15341
|
-
});
|
|
15342
|
-
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=script&lang=js&
|
|
15343
|
-
/* harmony default export */ var legends_SvgLegendsvue_type_script_lang_js_ = (SvgLegendsvue_type_script_lang_js_);
|
|
15344
|
-
// EXTERNAL MODULE: ./src/components/legends/SvgLegends.vue?vue&type=style&index=0&id=3d3218c8&prod&scoped=true&lang=scss&
|
|
15345
|
-
var SvgLegendsvue_type_style_index_0_id_3d3218c8_prod_scoped_true_lang_scss_ = __webpack_require__("83af");
|
|
15346
|
-
|
|
15347
|
-
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue
|
|
15348
|
-
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15353
|
-
|
|
15354
|
-
/* normalize component */
|
|
15355
|
-
|
|
15356
|
-
var SvgLegends_component = normalizeComponent(
|
|
15357
|
-
legends_SvgLegendsvue_type_script_lang_js_,
|
|
15358
|
-
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render,
|
|
15359
|
-
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns,
|
|
15360
|
-
false,
|
|
15361
|
-
null,
|
|
15362
|
-
"3d3218c8",
|
|
15363
|
-
null
|
|
15364
|
-
|
|
15365
|
-
)
|
|
15366
|
-
|
|
15367
|
-
/* harmony default export */ var SvgLegends = (SvgLegends_component.exports);
|
|
15368
|
-
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15369
|
-
/* harmony default export */ var flatmap_marker = ('<div class="flatmap-marker"><svg display="block" height="41px" width="27px" viewBox="0 0 27 41"><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="#005974"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg></div>');
|
|
15967
|
+
}]);
|
|
15968
|
+
return FlatmapQueries;
|
|
15969
|
+
}();
|
|
15970
|
+
/* harmony default export */ var flatmapQueries = (flatmapQueries_FlatmapQueries);
|
|
15370
15971
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15371
15972
|
|
|
15372
15973
|
|
|
@@ -15414,10 +16015,20 @@ external_vue_default.a.use(lib_radio_default.a);
|
|
|
15414
16015
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
15415
16016
|
external_vue_default.a.use(lib_row_default.a);
|
|
15416
16017
|
var ResizeSensor = __webpack_require__("ae66");
|
|
16018
|
+
var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
16019
|
+
return {
|
|
16020
|
+
destinations: [],
|
|
16021
|
+
origins: [],
|
|
16022
|
+
components: [],
|
|
16023
|
+
destinationsWithDatasets: [],
|
|
16024
|
+
originsWithDatasets: [],
|
|
16025
|
+
componentsWithDatasets: [],
|
|
16026
|
+
resource: undefined
|
|
16027
|
+
};
|
|
16028
|
+
};
|
|
15417
16029
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
15418
16030
|
name: "FlatmapVuer",
|
|
15419
16031
|
components: {
|
|
15420
|
-
DynamicLegends: DynamicLegends,
|
|
15421
16032
|
MapSvgIcon: svg_sprite_["MapSvgIcon"],
|
|
15422
16033
|
MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"],
|
|
15423
16034
|
Tooltip: Tooltip,
|
|
@@ -15491,6 +16102,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15491
16102
|
if (this.$refs.layersSelection) {
|
|
15492
16103
|
this.$refs.layersSelection.reset();
|
|
15493
16104
|
}
|
|
16105
|
+
if (this.$refs.systemsSelection) {
|
|
16106
|
+
this.$refs.pathwaysSelection.reset();
|
|
16107
|
+
}
|
|
15494
16108
|
if (this.$refs.pathwaysSelection) {
|
|
15495
16109
|
this.$refs.pathwaysSelection.reset();
|
|
15496
16110
|
}
|
|
@@ -15516,7 +16130,6 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15516
16130
|
},
|
|
15517
16131
|
centreLinesSelected: function centreLinesSelected(payload) {
|
|
15518
16132
|
if (this.mapImp) {
|
|
15519
|
-
console.log(payload.value);
|
|
15520
16133
|
this.mapImp.enableCentrelines(payload.value);
|
|
15521
16134
|
}
|
|
15522
16135
|
},
|
|
@@ -15533,16 +16146,29 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15533
16146
|
});
|
|
15534
16147
|
}
|
|
15535
16148
|
},
|
|
16149
|
+
systemSelected: function systemSelected(payload) {
|
|
16150
|
+
if (this.mapImp) {
|
|
16151
|
+
this.mapImp.enableSystem(payload.key, payload.value);
|
|
16152
|
+
}
|
|
16153
|
+
},
|
|
16154
|
+
checkAllSystems: function checkAllSystems(payload) {
|
|
16155
|
+
var _this2 = this;
|
|
16156
|
+
if (this.mapImp) {
|
|
16157
|
+
payload.keys.forEach(function (key) {
|
|
16158
|
+
return _this2.mapImp.enableSystem(key, payload.value);
|
|
16159
|
+
});
|
|
16160
|
+
}
|
|
16161
|
+
},
|
|
15536
16162
|
layersSelected: function layersSelected(payload) {
|
|
15537
16163
|
if (this.mapImp) {
|
|
15538
16164
|
this.mapImp.enableLayer(payload.key, payload.value);
|
|
15539
16165
|
}
|
|
15540
16166
|
},
|
|
15541
16167
|
checkAllLayers: function checkAllLayers(payload) {
|
|
15542
|
-
var
|
|
16168
|
+
var _this3 = this;
|
|
15543
16169
|
if (this.mapImp) {
|
|
15544
16170
|
payload.keys.forEach(function (key) {
|
|
15545
|
-
return
|
|
16171
|
+
return _this3.mapImp.enableLayer(key, payload.value);
|
|
15546
16172
|
});
|
|
15547
16173
|
}
|
|
15548
16174
|
},
|
|
@@ -15552,10 +16178,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15552
16178
|
}
|
|
15553
16179
|
},
|
|
15554
16180
|
checkAllPathways: function checkAllPathways(payload) {
|
|
15555
|
-
var
|
|
16181
|
+
var _this4 = this;
|
|
15556
16182
|
if (this.mapImp) {
|
|
15557
16183
|
payload.keys.forEach(function (key) {
|
|
15558
|
-
return
|
|
16184
|
+
return _this4.mapImp.enablePath(key, payload.value);
|
|
15559
16185
|
});
|
|
15560
16186
|
}
|
|
15561
16187
|
},
|
|
@@ -15563,13 +16189,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15563
16189
|
this.mapImp.enablePanZoomEvents(flag);
|
|
15564
16190
|
},
|
|
15565
16191
|
eventCallback: function eventCallback() {
|
|
15566
|
-
var
|
|
16192
|
+
var _this5 = this;
|
|
15567
16193
|
return function (eventType, data) {
|
|
15568
16194
|
if (eventType !== "pan-zoom") {
|
|
15569
16195
|
var label = data.label;
|
|
15570
16196
|
var resource = [data.models];
|
|
15571
|
-
var taxonomy =
|
|
15572
|
-
var biologicalSex =
|
|
16197
|
+
var taxonomy = _this5.entry;
|
|
16198
|
+
var biologicalSex = _this5.biologicalSex;
|
|
15573
16199
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
15574
16200
|
args[_key - 2] = arguments[_key];
|
|
15575
16201
|
}
|
|
@@ -15583,25 +16209,48 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15583
16209
|
userData: args,
|
|
15584
16210
|
eventType: eventType
|
|
15585
16211
|
};
|
|
15586
|
-
|
|
15587
|
-
|
|
15588
|
-
|
|
16212
|
+
if (data && data.type !== "marker" && eventType === "click") {
|
|
16213
|
+
_this5.checkAndCreatePopups(payload);
|
|
16214
|
+
}
|
|
16215
|
+
_this5.$emit("resource-selected", payload);
|
|
15589
16216
|
} else {
|
|
15590
|
-
|
|
16217
|
+
_this5.$emit("pan-zoom-callback", data);
|
|
15591
16218
|
}
|
|
15592
16219
|
};
|
|
15593
16220
|
},
|
|
15594
16221
|
// checkNeuronClicked shows a neuron path pop up if a path was recently clicked
|
|
15595
|
-
checkAndCreatePopups: function
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
15599
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
|
|
16222
|
+
checkAndCreatePopups: function () {
|
|
16223
|
+
var _checkAndCreatePopups = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
16224
|
+
var connections;
|
|
16225
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16226
|
+
while (1) {
|
|
16227
|
+
switch (_context.prev = _context.next) {
|
|
16228
|
+
case 0:
|
|
16229
|
+
_context.next = 2;
|
|
16230
|
+
return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
|
|
16231
|
+
case 2:
|
|
16232
|
+
connections = _context.sent;
|
|
16233
|
+
if (!connections) {
|
|
16234
|
+
if (data.feature.hyperlinks) {
|
|
16235
|
+
this.resourceForTooltip = data.resource[0];
|
|
16236
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16237
|
+
}
|
|
16238
|
+
} else {
|
|
16239
|
+
this.resourceForTooltip = data.resource[0];
|
|
16240
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16241
|
+
}
|
|
16242
|
+
case 4:
|
|
16243
|
+
case "end":
|
|
16244
|
+
return _context.stop();
|
|
16245
|
+
}
|
|
16246
|
+
}
|
|
16247
|
+
}, _callee, this);
|
|
16248
|
+
}));
|
|
16249
|
+
function checkAndCreatePopups(_x) {
|
|
16250
|
+
return _checkAndCreatePopups.apply(this, arguments);
|
|
15603
16251
|
}
|
|
15604
|
-
|
|
16252
|
+
return checkAndCreatePopups;
|
|
16253
|
+
}(),
|
|
15605
16254
|
popUpCssHacks: function popUpCssHacks() {
|
|
15606
16255
|
// Below is a hack to remove flatmap tooltips while popup is open
|
|
15607
16256
|
var ftooltip = document.querySelector(".flatmap-tooltip-popup");
|
|
@@ -15615,66 +16264,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15615
16264
|
resourceSelected: function resourceSelected(action) {
|
|
15616
16265
|
this.$emit("resource-selected", action);
|
|
15617
16266
|
},
|
|
15618
|
-
hasNeuronTooltip: function hasNeuronTooltip(data) {
|
|
15619
|
-
// neural data check
|
|
15620
|
-
if (data.resource[0]) {
|
|
15621
|
-
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
15622
|
-
return true;
|
|
15623
|
-
}
|
|
15624
|
-
}
|
|
15625
|
-
// annotated with datset check
|
|
15626
|
-
if (data.dataset) {
|
|
15627
|
-
return true;
|
|
15628
|
-
}
|
|
15629
|
-
|
|
15630
|
-
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
15631
|
-
return false;
|
|
15632
|
-
},
|
|
15633
16267
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
title: undefined,
|
|
15637
|
-
components: undefined,
|
|
15638
|
-
start: undefined,
|
|
15639
|
-
distribution: undefined,
|
|
15640
|
-
actions: []
|
|
15641
|
-
};
|
|
15642
|
-
this.tooltipVisible = false;
|
|
15643
|
-
|
|
15644
|
-
// neural data check
|
|
15645
|
-
if (feature) {
|
|
15646
|
-
if (feature.includes('ilxtr:neuron')) {
|
|
15647
|
-
this.tooltipVisible = true;
|
|
15648
|
-
this.tooltipContent = content;
|
|
15649
|
-
this.tooltipContent.uberon = feature;
|
|
15650
|
-
this.tooltipContent.source = data.feature.source;
|
|
15651
|
-
this.tooltipContent.title = data.label;
|
|
15652
|
-
this.tooltipContent.featureIds = [feature];
|
|
15653
|
-
this.tooltipContent.actions.push({
|
|
15654
|
-
title: "Search for datasets",
|
|
15655
|
-
label: "Neuron Datasets",
|
|
15656
|
-
resource: feature.split(":")[1],
|
|
15657
|
-
type: "Neuron Search",
|
|
15658
|
-
feature: feature,
|
|
15659
|
-
nervePath: true
|
|
15660
|
-
});
|
|
15661
|
-
}
|
|
15662
|
-
}
|
|
15663
|
-
// annotated with datset check
|
|
15664
|
-
if (data.dataset) {
|
|
15665
|
-
this.tooltipVisible = true;
|
|
15666
|
-
this.tooltipContent = content;
|
|
15667
|
-
this.tooltipContent.uberon = feature;
|
|
15668
|
-
this.tooltipContent.source = data.feature.source;
|
|
15669
|
-
this.tooltipContent.title = data.label;
|
|
15670
|
-
this.tooltipContent.actions.push({
|
|
15671
|
-
title: "View dataset",
|
|
15672
|
-
resource: data.dataset,
|
|
15673
|
-
type: "URL",
|
|
15674
|
-
feature: feature,
|
|
15675
|
-
nervePath: false
|
|
15676
|
-
});
|
|
15677
|
-
}
|
|
16268
|
+
this.tooltipEntry = this.flatmapQueries.createTooltipData(data);
|
|
16269
|
+
this.displayTooltip();
|
|
15678
16270
|
},
|
|
15679
16271
|
// Keeping this as an API
|
|
15680
16272
|
showPopup: function showPopup(featureId, node, options) {
|
|
@@ -15710,9 +16302,11 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15710
16302
|
},
|
|
15711
16303
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
15712
16304
|
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
16305
|
+
if (minimapEl) {
|
|
16306
|
+
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
16307
|
+
minimapEl.appendChild(this.$refs.minimapResize);
|
|
16308
|
+
this.minimapResizeShow = true;
|
|
16309
|
+
}
|
|
15716
16310
|
},
|
|
15717
16311
|
setHelpMode: function setHelpMode(helpMode) {
|
|
15718
16312
|
if (helpMode) {
|
|
@@ -15730,10 +16324,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15730
16324
|
}
|
|
15731
16325
|
},
|
|
15732
16326
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15733
|
-
var
|
|
16327
|
+
var _this6 = this;
|
|
15734
16328
|
if (!this.inHelp) {
|
|
15735
16329
|
this.tooltipWait = setTimeout(function () {
|
|
15736
|
-
|
|
16330
|
+
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
15737
16331
|
}, 500);
|
|
15738
16332
|
}
|
|
15739
16333
|
},
|
|
@@ -15743,6 +16337,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15743
16337
|
clearTimeout(this.tooltipWait);
|
|
15744
16338
|
}
|
|
15745
16339
|
},
|
|
16340
|
+
displayTooltip: function displayTooltip() {
|
|
16341
|
+
this.mapImp.showPopup(this.mapImp.modelFeatureIds(this.resourceForTooltip)[0], this.$refs.tooltip.$el, {
|
|
16342
|
+
className: "flatmapvuer-popover",
|
|
16343
|
+
positionAtLastClick: true
|
|
16344
|
+
});
|
|
16345
|
+
this.popUpCssHacks();
|
|
16346
|
+
},
|
|
15746
16347
|
openFlatmapHelpPopup: function openFlatmapHelpPopup() {
|
|
15747
16348
|
if (this.mapImp) {
|
|
15748
16349
|
var heartId = this.mapImp.featureIdsForModel("UBERON:0000948")[0];
|
|
@@ -15808,7 +16409,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15808
16409
|
}
|
|
15809
16410
|
},
|
|
15810
16411
|
createFlatmap: function createFlatmap(state) {
|
|
15811
|
-
var
|
|
16412
|
+
var _this7 = this;
|
|
15812
16413
|
if (!this.mapImp && !this.loading) {
|
|
15813
16414
|
this.loading = true;
|
|
15814
16415
|
var minimap = false;
|
|
@@ -15872,10 +16473,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15872
16473
|
minimap: minimap
|
|
15873
16474
|
});
|
|
15874
16475
|
promise1.then(function (returnedObject) {
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
if (
|
|
15878
|
-
|
|
16476
|
+
_this7.mapImp = returnedObject;
|
|
16477
|
+
_this7.onFlatmapReady();
|
|
16478
|
+
if (_this7._stateToBeSet) _this7.restoreMapState(_this7._stateToBeSet);else {
|
|
16479
|
+
_this7.restoreMapState(state);
|
|
15879
16480
|
}
|
|
15880
16481
|
});
|
|
15881
16482
|
} else if (state) {
|
|
@@ -15911,8 +16512,8 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15911
16512
|
this.backgroundChangeCallback(this.currentBackground);
|
|
15912
16513
|
this.pathways = this.mapImp.pathTypes();
|
|
15913
16514
|
this.mapImp.enableCentrelines(false);
|
|
15914
|
-
|
|
15915
|
-
|
|
16515
|
+
this.layers = this.mapImp.getLayers();
|
|
16516
|
+
this.systems = this.mapImp.getSystems();
|
|
15916
16517
|
this.addResizeButtonToMinimap();
|
|
15917
16518
|
this.loading = false;
|
|
15918
16519
|
this.computePathControlsMaximumHeight();
|
|
@@ -15974,12 +16575,16 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15974
16575
|
},
|
|
15975
16576
|
pathControls: {
|
|
15976
16577
|
type: Boolean,
|
|
15977
|
-
default:
|
|
16578
|
+
default: false
|
|
15978
16579
|
},
|
|
15979
16580
|
searchable: {
|
|
15980
16581
|
type: Boolean,
|
|
15981
16582
|
default: false
|
|
15982
16583
|
},
|
|
16584
|
+
layerControl: {
|
|
16585
|
+
type: Boolean,
|
|
16586
|
+
default: false
|
|
16587
|
+
},
|
|
15983
16588
|
tooltips: {
|
|
15984
16589
|
type: Boolean,
|
|
15985
16590
|
default: true
|
|
@@ -16053,6 +16658,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16053
16658
|
label: "Display Nerves",
|
|
16054
16659
|
key: "centrelines"
|
|
16055
16660
|
}],
|
|
16661
|
+
systems: [],
|
|
16056
16662
|
pathwaysMaxHeight: 1000,
|
|
16057
16663
|
hoverVisibilities: [{
|
|
16058
16664
|
value: false
|
|
@@ -16077,10 +16683,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16077
16683
|
availableBackground: ["white", "lightskyblue", "black"],
|
|
16078
16684
|
loading: false,
|
|
16079
16685
|
flatmapMarker: flatmap_marker,
|
|
16686
|
+
tooltipEntry: createUnfilledTooltipData(),
|
|
16687
|
+
connectivityTooltipVisible: false,
|
|
16688
|
+
resourceForTooltip: undefined,
|
|
16080
16689
|
drawerOpen: false,
|
|
16081
|
-
tooltipContent: {
|
|
16082
|
-
featureIds: []
|
|
16083
|
-
},
|
|
16084
16690
|
colourRadio: true,
|
|
16085
16691
|
outlinesRadio: true,
|
|
16086
16692
|
minimapResizeShow: false,
|
|
@@ -16106,12 +16712,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16106
16712
|
var flatmap = __webpack_require__("4979");
|
|
16107
16713
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16108
16714
|
if (this.renderAtMounted) this.createFlatmap();
|
|
16715
|
+
this.flatmapQueries = new flatmapQueries_FlatmapQueries(this.sparcAPI, this.flatmapAPI);
|
|
16109
16716
|
}
|
|
16110
16717
|
});
|
|
16111
16718
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16112
16719
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16113
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16114
|
-
var
|
|
16720
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=3bcd7b15&prod&scoped=true&lang=scss&
|
|
16721
|
+
var FlatmapVuervue_type_style_index_0_id_3bcd7b15_prod_scoped_true_lang_scss_ = __webpack_require__("4217");
|
|
16115
16722
|
|
|
16116
16723
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16117
16724
|
|
|
@@ -16128,14 +16735,14 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16128
16735
|
staticRenderFns,
|
|
16129
16736
|
false,
|
|
16130
16737
|
null,
|
|
16131
|
-
"
|
|
16738
|
+
"3bcd7b15",
|
|
16132
16739
|
null
|
|
16133
16740
|
|
|
16134
16741
|
)
|
|
16135
16742
|
|
|
16136
16743
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16137
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16138
|
-
var
|
|
16744
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"7e4b77ee-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=bf82e340&scoped=true&
|
|
16745
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render = function render() {
|
|
16139
16746
|
var _vm = this,
|
|
16140
16747
|
_c = _vm._self._c;
|
|
16141
16748
|
return _c('div', {
|
|
@@ -16232,6 +16839,7 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16232
16839
|
"minZoom": _vm.minZoom,
|
|
16233
16840
|
"pathControls": _vm.pathControls,
|
|
16234
16841
|
"searchable": _vm.searchable,
|
|
16842
|
+
"layerControl": _vm.layerControl,
|
|
16235
16843
|
"helpMode": _vm.helpMode,
|
|
16236
16844
|
"renderAtMounted": _vm.renderAtMounted,
|
|
16237
16845
|
"displayMinimap": _vm.displayMinimap,
|
|
@@ -16247,9 +16855,9 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16247
16855
|
});
|
|
16248
16856
|
})], 2);
|
|
16249
16857
|
};
|
|
16250
|
-
var
|
|
16858
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns = [];
|
|
16251
16859
|
|
|
16252
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
16860
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=bf82e340&scoped=true&
|
|
16253
16861
|
|
|
16254
16862
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16255
16863
|
var popover = __webpack_require__("06f1");
|
|
@@ -16581,6 +17189,10 @@ var TAXON_UUID = {
|
|
|
16581
17189
|
type: Boolean,
|
|
16582
17190
|
default: false
|
|
16583
17191
|
},
|
|
17192
|
+
layerControl: {
|
|
17193
|
+
type: Boolean,
|
|
17194
|
+
default: false
|
|
17195
|
+
},
|
|
16584
17196
|
/**
|
|
16585
17197
|
* Initial species for the flatmap.
|
|
16586
17198
|
* This value will be ignored if a valid state object is provided.
|
|
@@ -16687,8 +17299,8 @@ var TAXON_UUID = {
|
|
|
16687
17299
|
});
|
|
16688
17300
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
16689
17301
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
16690
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16691
|
-
var
|
|
17302
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=bf82e340&prod&scoped=true&lang=scss&
|
|
17303
|
+
var MultiFlatmapVuervue_type_style_index_0_id_bf82e340_prod_scoped_true_lang_scss_ = __webpack_require__("c367");
|
|
16692
17304
|
|
|
16693
17305
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
16694
17306
|
|
|
@@ -16701,11 +17313,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scs
|
|
|
16701
17313
|
|
|
16702
17314
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
16703
17315
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
16704
|
-
|
|
16705
|
-
|
|
17316
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render,
|
|
17317
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns,
|
|
16706
17318
|
false,
|
|
16707
17319
|
null,
|
|
16708
|
-
"
|
|
17320
|
+
"bf82e340",
|
|
16709
17321
|
null
|
|
16710
17322
|
|
|
16711
17323
|
)
|
|
@@ -16722,6 +17334,13 @@ var MultiFlatmapVuer_component = normalizeComponent(
|
|
|
16722
17334
|
|
|
16723
17335
|
|
|
16724
17336
|
|
|
17337
|
+
/***/ }),
|
|
17338
|
+
|
|
17339
|
+
/***/ "fb89":
|
|
17340
|
+
/***/ (function(module, exports) {
|
|
17341
|
+
|
|
17342
|
+
module.exports = require("core-js/modules/es.symbol.to-primitive.js");
|
|
17343
|
+
|
|
16725
17344
|
/***/ }),
|
|
16726
17345
|
|
|
16727
17346
|
/***/ "fd22":
|