@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -96,6 +96,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
+
/***/ "06b8":
|
|
100
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
// extracted by mini-css-extract-plugin
|
|
103
|
+
|
|
104
|
+
/***/ }),
|
|
105
|
+
|
|
99
106
|
/***/ "06f1":
|
|
100
107
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
108
|
|
|
@@ -279,6 +286,13 @@ exports.default = function (ref) {
|
|
|
279
286
|
|
|
280
287
|
/***/ }),
|
|
281
288
|
|
|
289
|
+
/***/ "12fb":
|
|
290
|
+
/***/ (function(module, exports) {
|
|
291
|
+
|
|
292
|
+
module.exports = require("core-js/modules/es.json.to-string-tag.js");
|
|
293
|
+
|
|
294
|
+
/***/ }),
|
|
295
|
+
|
|
282
296
|
/***/ "13e3":
|
|
283
297
|
/***/ (function(module, exports) {
|
|
284
298
|
|
|
@@ -714,6 +728,13 @@ module.exports = __webpack_require__("e62d");
|
|
|
714
728
|
|
|
715
729
|
/***/ }),
|
|
716
730
|
|
|
731
|
+
/***/ "14f0":
|
|
732
|
+
/***/ (function(module, exports) {
|
|
733
|
+
|
|
734
|
+
module.exports = require("core-js/modules/es.symbol.to-string-tag.js");
|
|
735
|
+
|
|
736
|
+
/***/ }),
|
|
737
|
+
|
|
717
738
|
/***/ "1951":
|
|
718
739
|
/***/ (function(module, exports, __webpack_require__) {
|
|
719
740
|
|
|
@@ -749,21 +770,17 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
749
770
|
|
|
750
771
|
/***/ }),
|
|
751
772
|
|
|
752
|
-
/***/ "
|
|
753
|
-
/***/ (function(module, exports
|
|
773
|
+
/***/ "1f48":
|
|
774
|
+
/***/ (function(module, exports) {
|
|
754
775
|
|
|
755
|
-
|
|
776
|
+
module.exports = require("core-js/modules/es.date.to-primitive.js");
|
|
756
777
|
|
|
757
778
|
/***/ }),
|
|
758
779
|
|
|
759
|
-
/***/ "
|
|
760
|
-
/***/ (function(module,
|
|
761
|
-
|
|
762
|
-
"use strict";
|
|
763
|
-
/* 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");
|
|
764
|
-
/* 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__);
|
|
765
|
-
/* unused harmony reexport * */
|
|
780
|
+
/***/ "222e":
|
|
781
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
766
782
|
|
|
783
|
+
// extracted by mini-css-extract-plugin
|
|
767
784
|
|
|
768
785
|
/***/ }),
|
|
769
786
|
|
|
@@ -909,6 +926,20 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
909
926
|
|
|
910
927
|
/***/ }),
|
|
911
928
|
|
|
929
|
+
/***/ "35ee":
|
|
930
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
931
|
+
|
|
932
|
+
// extracted by mini-css-extract-plugin
|
|
933
|
+
|
|
934
|
+
/***/ }),
|
|
935
|
+
|
|
936
|
+
/***/ "362b":
|
|
937
|
+
/***/ (function(module, exports) {
|
|
938
|
+
|
|
939
|
+
module.exports = require("core-js/modules/es.object.get-prototype-of.js");
|
|
940
|
+
|
|
941
|
+
/***/ }),
|
|
942
|
+
|
|
912
943
|
/***/ "3d2d":
|
|
913
944
|
/***/ (function(module, exports, __webpack_require__) {
|
|
914
945
|
|
|
@@ -1202,13 +1233,6 @@ main.install = function (Vue) {
|
|
|
1202
1233
|
|
|
1203
1234
|
/***/ }),
|
|
1204
1235
|
|
|
1205
|
-
/***/ "400b":
|
|
1206
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1207
|
-
|
|
1208
|
-
// extracted by mini-css-extract-plugin
|
|
1209
|
-
|
|
1210
|
-
/***/ }),
|
|
1211
|
-
|
|
1212
1236
|
/***/ "4010":
|
|
1213
1237
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1214
1238
|
|
|
@@ -1275,6 +1299,24 @@ var removeResizeListener = exports.removeResizeListener = function removeResizeL
|
|
|
1275
1299
|
|
|
1276
1300
|
/***/ }),
|
|
1277
1301
|
|
|
1302
|
+
/***/ "4034":
|
|
1303
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1304
|
+
|
|
1305
|
+
"use strict";
|
|
1306
|
+
/* 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");
|
|
1307
|
+
/* 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__);
|
|
1308
|
+
/* unused harmony reexport * */
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
/***/ }),
|
|
1312
|
+
|
|
1313
|
+
/***/ "4086":
|
|
1314
|
+
/***/ (function(module, exports) {
|
|
1315
|
+
|
|
1316
|
+
module.exports = require("core-js/modules/es.object.set-prototype-of.js");
|
|
1317
|
+
|
|
1318
|
+
/***/ }),
|
|
1319
|
+
|
|
1278
1320
|
/***/ "417f":
|
|
1279
1321
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1280
1322
|
|
|
@@ -1359,6 +1401,17 @@ exports.default = {
|
|
|
1359
1401
|
}
|
|
1360
1402
|
};
|
|
1361
1403
|
|
|
1404
|
+
/***/ }),
|
|
1405
|
+
|
|
1406
|
+
/***/ "4217":
|
|
1407
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1408
|
+
|
|
1409
|
+
"use strict";
|
|
1410
|
+
/* 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");
|
|
1411
|
+
/* 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__);
|
|
1412
|
+
/* unused harmony reexport * */
|
|
1413
|
+
|
|
1414
|
+
|
|
1362
1415
|
/***/ }),
|
|
1363
1416
|
|
|
1364
1417
|
/***/ "429c":
|
|
@@ -1692,7 +1745,7 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
1692
1745
|
|
|
1693
1746
|
/***/ }),
|
|
1694
1747
|
|
|
1695
|
-
/***/ "
|
|
1748
|
+
/***/ "4d43":
|
|
1696
1749
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1697
1750
|
|
|
1698
1751
|
// extracted by mini-css-extract-plugin
|
|
@@ -3875,17 +3928,6 @@ src_select.install = function (Vue) {
|
|
|
3875
3928
|
|
|
3876
3929
|
/******/ });
|
|
3877
3930
|
|
|
3878
|
-
/***/ }),
|
|
3879
|
-
|
|
3880
|
-
/***/ "4fc1":
|
|
3881
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3882
|
-
|
|
3883
|
-
"use strict";
|
|
3884
|
-
/* 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");
|
|
3885
|
-
/* 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__);
|
|
3886
|
-
/* unused harmony reexport * */
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
3931
|
/***/ }),
|
|
3890
3932
|
|
|
3891
3933
|
/***/ "5128":
|
|
@@ -4376,13 +4418,6 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4376
4418
|
|
|
4377
4419
|
/***/ }),
|
|
4378
4420
|
|
|
4379
|
-
/***/ "5967":
|
|
4380
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4381
|
-
|
|
4382
|
-
// extracted by mini-css-extract-plugin
|
|
4383
|
-
|
|
4384
|
-
/***/ }),
|
|
4385
|
-
|
|
4386
4421
|
/***/ "5a3b":
|
|
4387
4422
|
/***/ (function(module, exports) {
|
|
4388
4423
|
|
|
@@ -6724,6 +6759,13 @@ module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
|
6724
6759
|
|
|
6725
6760
|
/***/ }),
|
|
6726
6761
|
|
|
6762
|
+
/***/ "7267":
|
|
6763
|
+
/***/ (function(module, exports) {
|
|
6764
|
+
|
|
6765
|
+
module.exports = require("core-js/modules/es.math.to-string-tag.js");
|
|
6766
|
+
|
|
6767
|
+
/***/ }),
|
|
6768
|
+
|
|
6727
6769
|
/***/ "7435":
|
|
6728
6770
|
/***/ (function(module, exports) {
|
|
6729
6771
|
|
|
@@ -6731,14 +6773,14 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6731
6773
|
|
|
6732
6774
|
/***/ }),
|
|
6733
6775
|
|
|
6734
|
-
/***/ "
|
|
6735
|
-
/***/ (function(module, exports
|
|
6776
|
+
/***/ "7949":
|
|
6777
|
+
/***/ (function(module, exports) {
|
|
6736
6778
|
|
|
6737
|
-
|
|
6779
|
+
module.exports = require("core-js/modules/es.object.proto.js");
|
|
6738
6780
|
|
|
6739
6781
|
/***/ }),
|
|
6740
6782
|
|
|
6741
|
-
/***/ "
|
|
6783
|
+
/***/ "7a0f":
|
|
6742
6784
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6743
6785
|
|
|
6744
6786
|
// extracted by mini-css-extract-plugin
|
|
@@ -7025,6 +7067,17 @@ main.install = function (Vue) {
|
|
|
7025
7067
|
|
|
7026
7068
|
/******/ });
|
|
7027
7069
|
|
|
7070
|
+
/***/ }),
|
|
7071
|
+
|
|
7072
|
+
/***/ "7b79":
|
|
7073
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7074
|
+
|
|
7075
|
+
"use strict";
|
|
7076
|
+
/* 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");
|
|
7077
|
+
/* 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__);
|
|
7078
|
+
/* unused harmony reexport * */
|
|
7079
|
+
|
|
7080
|
+
|
|
7028
7081
|
/***/ }),
|
|
7029
7082
|
|
|
7030
7083
|
/***/ "7f4d":
|
|
@@ -7371,17 +7424,6 @@ checkbox_group.install = function (Vue) {
|
|
|
7371
7424
|
|
|
7372
7425
|
/******/ });
|
|
7373
7426
|
|
|
7374
|
-
/***/ }),
|
|
7375
|
-
|
|
7376
|
-
/***/ "8056":
|
|
7377
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7378
|
-
|
|
7379
|
-
"use strict";
|
|
7380
|
-
/* 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");
|
|
7381
|
-
/* 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__);
|
|
7382
|
-
/* unused harmony reexport * */
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
7427
|
/***/ }),
|
|
7386
7428
|
|
|
7387
7429
|
/***/ "8122":
|
|
@@ -8648,6 +8690,17 @@ tag.install = function (Vue) {
|
|
|
8648
8690
|
|
|
8649
8691
|
module.exports = require("vue");
|
|
8650
8692
|
|
|
8693
|
+
/***/ }),
|
|
8694
|
+
|
|
8695
|
+
/***/ "93b4":
|
|
8696
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8697
|
+
|
|
8698
|
+
"use strict";
|
|
8699
|
+
/* 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");
|
|
8700
|
+
/* 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__);
|
|
8701
|
+
/* unused harmony reexport * */
|
|
8702
|
+
|
|
8703
|
+
|
|
8651
8704
|
/***/ }),
|
|
8652
8705
|
|
|
8653
8706
|
/***/ "97d3":
|
|
@@ -8748,6 +8801,13 @@ module.exports = require("resize-observer-polyfill");
|
|
|
8748
8801
|
|
|
8749
8802
|
/***/ }),
|
|
8750
8803
|
|
|
8804
|
+
/***/ "a52a":
|
|
8805
|
+
/***/ (function(module, exports) {
|
|
8806
|
+
|
|
8807
|
+
module.exports = require("core-js/modules/es.symbol.async-iterator.js");
|
|
8808
|
+
|
|
8809
|
+
/***/ }),
|
|
8810
|
+
|
|
8751
8811
|
/***/ "a578":
|
|
8752
8812
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8753
8813
|
|
|
@@ -9082,17 +9142,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9082
9142
|
return val !== undefined && val !== null;
|
|
9083
9143
|
};
|
|
9084
9144
|
|
|
9085
|
-
/***/ }),
|
|
9086
|
-
|
|
9087
|
-
/***/ "a79a":
|
|
9088
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9089
|
-
|
|
9090
|
-
"use strict";
|
|
9091
|
-
/* 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");
|
|
9092
|
-
/* 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__);
|
|
9093
|
-
/* unused harmony reexport * */
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
9145
|
/***/ }),
|
|
9097
9146
|
|
|
9098
9147
|
/***/ "a9ee":
|
|
@@ -9450,6 +9499,17 @@ col.install = function (Vue) {
|
|
|
9450
9499
|
|
|
9451
9500
|
/******/ });
|
|
9452
9501
|
|
|
9502
|
+
/***/ }),
|
|
9503
|
+
|
|
9504
|
+
/***/ "c367":
|
|
9505
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9506
|
+
|
|
9507
|
+
"use strict";
|
|
9508
|
+
/* 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");
|
|
9509
|
+
/* 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__);
|
|
9510
|
+
/* unused harmony reexport * */
|
|
9511
|
+
|
|
9512
|
+
|
|
9453
9513
|
/***/ }),
|
|
9454
9514
|
|
|
9455
9515
|
/***/ "c56a":
|
|
@@ -11037,17 +11097,6 @@ _select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].install = fun
|
|
|
11037
11097
|
|
|
11038
11098
|
/******/ });
|
|
11039
11099
|
|
|
11040
|
-
/***/ }),
|
|
11041
|
-
|
|
11042
|
-
/***/ "e8bf":
|
|
11043
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11044
|
-
|
|
11045
|
-
"use strict";
|
|
11046
|
-
/* 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");
|
|
11047
|
-
/* 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__);
|
|
11048
|
-
/* unused harmony reexport * */
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
11100
|
/***/ }),
|
|
11052
11101
|
|
|
11053
11102
|
/***/ "e974":
|
|
@@ -11273,21 +11322,17 @@ module.exports = require("core-js/modules/es.object.keys.js");
|
|
|
11273
11322
|
|
|
11274
11323
|
/***/ }),
|
|
11275
11324
|
|
|
11276
|
-
/***/ "
|
|
11277
|
-
/***/ (function(module,
|
|
11278
|
-
|
|
11279
|
-
"use strict";
|
|
11280
|
-
/* 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");
|
|
11281
|
-
/* 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__);
|
|
11282
|
-
/* unused harmony reexport * */
|
|
11325
|
+
/***/ "ec71":
|
|
11326
|
+
/***/ (function(module, exports) {
|
|
11283
11327
|
|
|
11328
|
+
module.exports = require("core-js/modules/es.promise.js");
|
|
11284
11329
|
|
|
11285
11330
|
/***/ }),
|
|
11286
11331
|
|
|
11287
|
-
/***/ "
|
|
11288
|
-
/***/ (function(module, exports) {
|
|
11332
|
+
/***/ "ee41":
|
|
11333
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
11289
11334
|
|
|
11290
|
-
|
|
11335
|
+
// extracted by mini-css-extract-plugin
|
|
11291
11336
|
|
|
11292
11337
|
/***/ }),
|
|
11293
11338
|
|
|
@@ -13298,13 +13343,6 @@ src_radio.install = function (Vue) {
|
|
|
13298
13343
|
|
|
13299
13344
|
/***/ }),
|
|
13300
13345
|
|
|
13301
|
-
/***/ "f765":
|
|
13302
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13303
|
-
|
|
13304
|
-
// extracted by mini-css-extract-plugin
|
|
13305
|
-
|
|
13306
|
-
/***/ }),
|
|
13307
|
-
|
|
13308
13346
|
/***/ "f989":
|
|
13309
13347
|
/***/ (function(module, exports) {
|
|
13310
13348
|
|
|
@@ -13347,7 +13385,7 @@ if (typeof window !== 'undefined') {
|
|
|
13347
13385
|
// Indicate to webpack that this file can be concatenated
|
|
13348
13386
|
/* harmony default export */ var setPublicPath = (null);
|
|
13349
13387
|
|
|
13350
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13388
|
+
// 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&
|
|
13351
13389
|
var render = function render() {
|
|
13352
13390
|
var _vm = this,
|
|
13353
13391
|
_c = _vm._self._c;
|
|
@@ -13635,12 +13673,31 @@ var render = function render() {
|
|
|
13635
13673
|
domProps: {
|
|
13636
13674
|
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13637
13675
|
}
|
|
13638
|
-
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('
|
|
13639
|
-
key: "
|
|
13676
|
+
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('selections-group', {
|
|
13677
|
+
key: "systemsSelection",
|
|
13678
|
+
ref: "systemsSelection",
|
|
13640
13679
|
attrs: {
|
|
13641
13680
|
"title": "Systems",
|
|
13681
|
+
"labelKey": "name",
|
|
13642
13682
|
"identifierKey": "name",
|
|
13643
|
-
"
|
|
13683
|
+
"selections": _vm.systems,
|
|
13684
|
+
"colourStyle": "background"
|
|
13685
|
+
},
|
|
13686
|
+
on: {
|
|
13687
|
+
"changed": _vm.systemSelected,
|
|
13688
|
+
"checkAll": _vm.checkAllSystems
|
|
13689
|
+
}
|
|
13690
|
+
}) : _vm._e(), !_vm.isFC && _vm.centreLines && _vm.centreLines.length > 0 ? _c('selections-group', {
|
|
13691
|
+
key: "centrelinesSelection",
|
|
13692
|
+
ref: "centrelinesSelection",
|
|
13693
|
+
attrs: {
|
|
13694
|
+
"title": "Nerves",
|
|
13695
|
+
"labelKey": "label",
|
|
13696
|
+
"identifierKey": "key",
|
|
13697
|
+
"selections": _vm.centreLines
|
|
13698
|
+
},
|
|
13699
|
+
on: {
|
|
13700
|
+
"changed": _vm.centreLinesSelected
|
|
13644
13701
|
}
|
|
13645
13702
|
}) : _vm._e(), _vm.isFC && _vm.sckanDisplay && _vm.sckanDisplay.length > 0 ? _c('selections-group', {
|
|
13646
13703
|
key: "skcanSelection",
|
|
@@ -13675,6 +13732,7 @@ var render = function render() {
|
|
|
13675
13732
|
"title": "Pathways",
|
|
13676
13733
|
"labelKey": "label",
|
|
13677
13734
|
"identifierKey": "type",
|
|
13735
|
+
"colourStyle": "line",
|
|
13678
13736
|
"selections": _vm.pathways
|
|
13679
13737
|
},
|
|
13680
13738
|
on: {
|
|
@@ -13810,7 +13868,7 @@ var render = function render() {
|
|
|
13810
13868
|
ref: "tooltip",
|
|
13811
13869
|
staticClass: "tooltip",
|
|
13812
13870
|
attrs: {
|
|
13813
|
-
"
|
|
13871
|
+
"entry": _vm.tooltipEntry
|
|
13814
13872
|
},
|
|
13815
13873
|
on: {
|
|
13816
13874
|
"resource-selected": _vm.resourceSelected
|
|
@@ -13819,7 +13877,7 @@ var render = function render() {
|
|
|
13819
13877
|
};
|
|
13820
13878
|
var staticRenderFns = [];
|
|
13821
13879
|
|
|
13822
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13880
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=3bcd7b15&scoped=true&
|
|
13823
13881
|
|
|
13824
13882
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13825
13883
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -13946,144 +14004,544 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13946
14004
|
}
|
|
13947
14005
|
};
|
|
13948
14006
|
}
|
|
13949
|
-
// EXTERNAL MODULE:
|
|
13950
|
-
var
|
|
14007
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.async-iterator.js"
|
|
14008
|
+
var es_symbol_async_iterator_js_ = __webpack_require__("a52a");
|
|
13951
14009
|
|
|
13952
|
-
// EXTERNAL MODULE:
|
|
13953
|
-
var
|
|
14010
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-string-tag.js"
|
|
14011
|
+
var es_symbol_to_string_tag_js_ = __webpack_require__("14f0");
|
|
13954
14012
|
|
|
13955
|
-
// EXTERNAL MODULE:
|
|
13956
|
-
var
|
|
13957
|
-
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
14013
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.to-string-tag.js"
|
|
14014
|
+
var es_json_to_string_tag_js_ = __webpack_require__("12fb");
|
|
13958
14015
|
|
|
13959
|
-
// EXTERNAL MODULE:
|
|
13960
|
-
var
|
|
14016
|
+
// EXTERNAL MODULE: external "core-js/modules/es.math.to-string-tag.js"
|
|
14017
|
+
var es_math_to_string_tag_js_ = __webpack_require__("7267");
|
|
13961
14018
|
|
|
13962
|
-
// EXTERNAL MODULE:
|
|
13963
|
-
var
|
|
13964
|
-
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
14019
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-prototype-of.js"
|
|
14020
|
+
var es_object_get_prototype_of_js_ = __webpack_require__("362b");
|
|
13965
14021
|
|
|
13966
|
-
// EXTERNAL MODULE:
|
|
13967
|
-
var
|
|
14022
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
14023
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
13968
14024
|
|
|
13969
|
-
// EXTERNAL MODULE:
|
|
13970
|
-
var
|
|
13971
|
-
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
14025
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
14026
|
+
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13972
14027
|
|
|
13973
|
-
// EXTERNAL MODULE:
|
|
13974
|
-
var
|
|
14028
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.set-prototype-of.js"
|
|
14029
|
+
var es_object_set_prototype_of_js_ = __webpack_require__("4086");
|
|
13975
14030
|
|
|
13976
|
-
// EXTERNAL MODULE:
|
|
13977
|
-
var
|
|
13978
|
-
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
14031
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.proto.js"
|
|
14032
|
+
var es_object_proto_js_ = __webpack_require__("7949");
|
|
13979
14033
|
|
|
13980
|
-
// EXTERNAL MODULE:
|
|
13981
|
-
var
|
|
14034
|
+
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14035
|
+
var es_promise_js_ = __webpack_require__("ec71");
|
|
13982
14036
|
|
|
13983
|
-
//
|
|
13984
|
-
var lib_col = __webpack_require__("c2cc");
|
|
13985
|
-
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
14037
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
13986
14038
|
|
|
13987
|
-
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13988
|
-
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13989
14039
|
|
|
13990
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
13991
|
-
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
13992
14040
|
|
|
13993
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13994
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13995
14041
|
|
|
13996
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
13997
|
-
var es_array_push_js_ = __webpack_require__("2439");
|
|
13998
14042
|
|
|
13999
|
-
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
14000
|
-
var es_set_js_ = __webpack_require__("8535");
|
|
14001
14043
|
|
|
14002
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
14003
|
-
var es_string_search_js_ = __webpack_require__("1c32");
|
|
14004
14044
|
|
|
14005
|
-
|
|
14006
|
-
|
|
14045
|
+
function _typeof(obj) {
|
|
14046
|
+
"@babel/helpers - typeof";
|
|
14007
14047
|
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14048
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14049
|
+
return typeof obj;
|
|
14050
|
+
} : function (obj) {
|
|
14051
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14052
|
+
}, _typeof(obj);
|
|
14053
|
+
}
|
|
14054
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
14011
14055
|
|
|
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
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
|
|
14055
|
-
|
|
14056
|
-
|
|
14057
|
-
|
|
14058
|
-
|
|
14056
|
+
|
|
14057
|
+
|
|
14058
|
+
|
|
14059
|
+
|
|
14060
|
+
|
|
14061
|
+
|
|
14062
|
+
|
|
14063
|
+
|
|
14064
|
+
|
|
14065
|
+
|
|
14066
|
+
|
|
14067
|
+
|
|
14068
|
+
|
|
14069
|
+
|
|
14070
|
+
|
|
14071
|
+
|
|
14072
|
+
|
|
14073
|
+
|
|
14074
|
+
|
|
14075
|
+
|
|
14076
|
+
function _regeneratorRuntime() {
|
|
14077
|
+
"use strict";
|
|
14078
|
+
|
|
14079
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
14080
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
14081
|
+
return exports;
|
|
14082
|
+
};
|
|
14083
|
+
var exports = {},
|
|
14084
|
+
Op = Object.prototype,
|
|
14085
|
+
hasOwn = Op.hasOwnProperty,
|
|
14086
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
14087
|
+
obj[key] = desc.value;
|
|
14088
|
+
},
|
|
14089
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
14090
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
14091
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
14092
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
14093
|
+
function define(obj, key, value) {
|
|
14094
|
+
return Object.defineProperty(obj, key, {
|
|
14095
|
+
value: value,
|
|
14096
|
+
enumerable: !0,
|
|
14097
|
+
configurable: !0,
|
|
14098
|
+
writable: !0
|
|
14099
|
+
}), obj[key];
|
|
14100
|
+
}
|
|
14101
|
+
try {
|
|
14102
|
+
define({}, "");
|
|
14103
|
+
} catch (err) {
|
|
14104
|
+
define = function define(obj, key, value) {
|
|
14105
|
+
return obj[key] = value;
|
|
14106
|
+
};
|
|
14107
|
+
}
|
|
14108
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
14109
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
14110
|
+
generator = Object.create(protoGenerator.prototype),
|
|
14111
|
+
context = new Context(tryLocsList || []);
|
|
14112
|
+
return defineProperty(generator, "_invoke", {
|
|
14113
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
14114
|
+
}), generator;
|
|
14115
|
+
}
|
|
14116
|
+
function tryCatch(fn, obj, arg) {
|
|
14117
|
+
try {
|
|
14118
|
+
return {
|
|
14119
|
+
type: "normal",
|
|
14120
|
+
arg: fn.call(obj, arg)
|
|
14121
|
+
};
|
|
14122
|
+
} catch (err) {
|
|
14123
|
+
return {
|
|
14124
|
+
type: "throw",
|
|
14125
|
+
arg: err
|
|
14126
|
+
};
|
|
14127
|
+
}
|
|
14128
|
+
}
|
|
14129
|
+
exports.wrap = wrap;
|
|
14130
|
+
var ContinueSentinel = {};
|
|
14131
|
+
function Generator() {}
|
|
14132
|
+
function GeneratorFunction() {}
|
|
14133
|
+
function GeneratorFunctionPrototype() {}
|
|
14134
|
+
var IteratorPrototype = {};
|
|
14135
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
14136
|
+
return this;
|
|
14137
|
+
});
|
|
14138
|
+
var getProto = Object.getPrototypeOf,
|
|
14139
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
14140
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
14141
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
14142
|
+
function defineIteratorMethods(prototype) {
|
|
14143
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
14144
|
+
define(prototype, method, function (arg) {
|
|
14145
|
+
return this._invoke(method, arg);
|
|
14146
|
+
});
|
|
14147
|
+
});
|
|
14148
|
+
}
|
|
14149
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
14150
|
+
function invoke(method, arg, resolve, reject) {
|
|
14151
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
14152
|
+
if ("throw" !== record.type) {
|
|
14153
|
+
var result = record.arg,
|
|
14154
|
+
value = result.value;
|
|
14155
|
+
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
14156
|
+
invoke("next", value, resolve, reject);
|
|
14157
|
+
}, function (err) {
|
|
14158
|
+
invoke("throw", err, resolve, reject);
|
|
14159
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
14160
|
+
result.value = unwrapped, resolve(result);
|
|
14161
|
+
}, function (error) {
|
|
14162
|
+
return invoke("throw", error, resolve, reject);
|
|
14163
|
+
});
|
|
14164
|
+
}
|
|
14165
|
+
reject(record.arg);
|
|
14166
|
+
}
|
|
14167
|
+
var previousPromise;
|
|
14168
|
+
defineProperty(this, "_invoke", {
|
|
14169
|
+
value: function value(method, arg) {
|
|
14170
|
+
function callInvokeWithMethodAndArg() {
|
|
14171
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
14172
|
+
invoke(method, arg, resolve, reject);
|
|
14173
|
+
});
|
|
14174
|
+
}
|
|
14175
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
14176
|
+
}
|
|
14177
|
+
});
|
|
14178
|
+
}
|
|
14179
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
14180
|
+
var state = "suspendedStart";
|
|
14181
|
+
return function (method, arg) {
|
|
14182
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
14183
|
+
if ("completed" === state) {
|
|
14184
|
+
if ("throw" === method) throw arg;
|
|
14185
|
+
return doneResult();
|
|
14186
|
+
}
|
|
14187
|
+
for (context.method = method, context.arg = arg;;) {
|
|
14188
|
+
var delegate = context.delegate;
|
|
14189
|
+
if (delegate) {
|
|
14190
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
14191
|
+
if (delegateResult) {
|
|
14192
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
14193
|
+
return delegateResult;
|
|
14194
|
+
}
|
|
14195
|
+
}
|
|
14196
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
14197
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
14198
|
+
context.dispatchException(context.arg);
|
|
14199
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
14200
|
+
state = "executing";
|
|
14201
|
+
var record = tryCatch(innerFn, self, context);
|
|
14202
|
+
if ("normal" === record.type) {
|
|
14203
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
14204
|
+
return {
|
|
14205
|
+
value: record.arg,
|
|
14206
|
+
done: context.done
|
|
14207
|
+
};
|
|
14208
|
+
}
|
|
14209
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
14210
|
+
}
|
|
14211
|
+
};
|
|
14212
|
+
}
|
|
14213
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
14214
|
+
var methodName = context.method,
|
|
14215
|
+
method = delegate.iterator[methodName];
|
|
14216
|
+
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;
|
|
14217
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
14218
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
14219
|
+
var info = record.arg;
|
|
14220
|
+
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);
|
|
14221
|
+
}
|
|
14222
|
+
function pushTryEntry(locs) {
|
|
14223
|
+
var entry = {
|
|
14224
|
+
tryLoc: locs[0]
|
|
14225
|
+
};
|
|
14226
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
14227
|
+
}
|
|
14228
|
+
function resetTryEntry(entry) {
|
|
14229
|
+
var record = entry.completion || {};
|
|
14230
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
14231
|
+
}
|
|
14232
|
+
function Context(tryLocsList) {
|
|
14233
|
+
this.tryEntries = [{
|
|
14234
|
+
tryLoc: "root"
|
|
14235
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
14236
|
+
}
|
|
14237
|
+
function values(iterable) {
|
|
14238
|
+
if (iterable) {
|
|
14239
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
14240
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
14241
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
14242
|
+
if (!isNaN(iterable.length)) {
|
|
14243
|
+
var i = -1,
|
|
14244
|
+
next = function next() {
|
|
14245
|
+
for (; ++i < iterable.length;) {
|
|
14246
|
+
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
14247
|
+
}
|
|
14248
|
+
return next.value = undefined, next.done = !0, next;
|
|
14249
|
+
};
|
|
14250
|
+
return next.next = next;
|
|
14251
|
+
}
|
|
14252
|
+
}
|
|
14253
|
+
return {
|
|
14254
|
+
next: doneResult
|
|
14255
|
+
};
|
|
14256
|
+
}
|
|
14257
|
+
function doneResult() {
|
|
14258
|
+
return {
|
|
14259
|
+
value: undefined,
|
|
14260
|
+
done: !0
|
|
14261
|
+
};
|
|
14262
|
+
}
|
|
14263
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
14264
|
+
value: GeneratorFunctionPrototype,
|
|
14265
|
+
configurable: !0
|
|
14266
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
14267
|
+
value: GeneratorFunction,
|
|
14268
|
+
configurable: !0
|
|
14269
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
14270
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
14271
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
14272
|
+
}, exports.mark = function (genFun) {
|
|
14273
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
14274
|
+
}, exports.awrap = function (arg) {
|
|
14275
|
+
return {
|
|
14276
|
+
__await: arg
|
|
14277
|
+
};
|
|
14278
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
14279
|
+
return this;
|
|
14280
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
14281
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
14282
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
14283
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
14284
|
+
return result.done ? result.value : iter.next();
|
|
14285
|
+
});
|
|
14286
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
14287
|
+
return this;
|
|
14288
|
+
}), define(Gp, "toString", function () {
|
|
14289
|
+
return "[object Generator]";
|
|
14290
|
+
}), exports.keys = function (val) {
|
|
14291
|
+
var object = Object(val),
|
|
14292
|
+
keys = [];
|
|
14293
|
+
for (var key in object) {
|
|
14294
|
+
keys.push(key);
|
|
14295
|
+
}
|
|
14296
|
+
return keys.reverse(), function next() {
|
|
14297
|
+
for (; keys.length;) {
|
|
14298
|
+
var key = keys.pop();
|
|
14299
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
14300
|
+
}
|
|
14301
|
+
return next.done = !0, next;
|
|
14302
|
+
};
|
|
14303
|
+
}, exports.values = values, Context.prototype = {
|
|
14304
|
+
constructor: Context,
|
|
14305
|
+
reset: function reset(skipTempReset) {
|
|
14306
|
+
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) {
|
|
14307
|
+
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
14308
|
+
}
|
|
14309
|
+
},
|
|
14310
|
+
stop: function stop() {
|
|
14311
|
+
this.done = !0;
|
|
14312
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
14313
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
14314
|
+
return this.rval;
|
|
14315
|
+
},
|
|
14316
|
+
dispatchException: function dispatchException(exception) {
|
|
14317
|
+
if (this.done) throw exception;
|
|
14318
|
+
var context = this;
|
|
14319
|
+
function handle(loc, caught) {
|
|
14320
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
14321
|
+
}
|
|
14322
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14323
|
+
var entry = this.tryEntries[i],
|
|
14324
|
+
record = entry.completion;
|
|
14325
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
14326
|
+
if (entry.tryLoc <= this.prev) {
|
|
14327
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
14328
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
14329
|
+
if (hasCatch && hasFinally) {
|
|
14330
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
14331
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
14332
|
+
} else if (hasCatch) {
|
|
14333
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
14334
|
+
} else {
|
|
14335
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
14336
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
14337
|
+
}
|
|
14338
|
+
}
|
|
14339
|
+
}
|
|
14340
|
+
},
|
|
14341
|
+
abrupt: function abrupt(type, arg) {
|
|
14342
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14343
|
+
var entry = this.tryEntries[i];
|
|
14344
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
14345
|
+
var finallyEntry = entry;
|
|
14346
|
+
break;
|
|
14347
|
+
}
|
|
14348
|
+
}
|
|
14349
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
14350
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
14351
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
14352
|
+
},
|
|
14353
|
+
complete: function complete(record, afterLoc) {
|
|
14354
|
+
if ("throw" === record.type) throw record.arg;
|
|
14355
|
+
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;
|
|
14356
|
+
},
|
|
14357
|
+
finish: function finish(finallyLoc) {
|
|
14358
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14359
|
+
var entry = this.tryEntries[i];
|
|
14360
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
14361
|
+
}
|
|
14362
|
+
},
|
|
14363
|
+
"catch": function _catch(tryLoc) {
|
|
14364
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
14365
|
+
var entry = this.tryEntries[i];
|
|
14366
|
+
if (entry.tryLoc === tryLoc) {
|
|
14367
|
+
var record = entry.completion;
|
|
14368
|
+
if ("throw" === record.type) {
|
|
14369
|
+
var thrown = record.arg;
|
|
14370
|
+
resetTryEntry(entry);
|
|
14371
|
+
}
|
|
14372
|
+
return thrown;
|
|
14373
|
+
}
|
|
14374
|
+
}
|
|
14375
|
+
throw new Error("illegal catch attempt");
|
|
14376
|
+
},
|
|
14377
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
14378
|
+
return this.delegate = {
|
|
14379
|
+
iterator: values(iterable),
|
|
14380
|
+
resultName: resultName,
|
|
14381
|
+
nextLoc: nextLoc
|
|
14382
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
14383
|
+
}
|
|
14384
|
+
}, exports;
|
|
14385
|
+
}
|
|
14386
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
14387
|
+
|
|
14388
|
+
|
|
14389
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
14390
|
+
try {
|
|
14391
|
+
var info = gen[key](arg);
|
|
14392
|
+
var value = info.value;
|
|
14393
|
+
} catch (error) {
|
|
14394
|
+
reject(error);
|
|
14395
|
+
return;
|
|
14396
|
+
}
|
|
14397
|
+
if (info.done) {
|
|
14398
|
+
resolve(value);
|
|
14399
|
+
} else {
|
|
14400
|
+
Promise.resolve(value).then(_next, _throw);
|
|
14401
|
+
}
|
|
14402
|
+
}
|
|
14403
|
+
function _asyncToGenerator(fn) {
|
|
14404
|
+
return function () {
|
|
14405
|
+
var self = this,
|
|
14406
|
+
args = arguments;
|
|
14407
|
+
return new Promise(function (resolve, reject) {
|
|
14408
|
+
var gen = fn.apply(self, args);
|
|
14409
|
+
function _next(value) {
|
|
14410
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
14411
|
+
}
|
|
14412
|
+
function _throw(err) {
|
|
14413
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
14414
|
+
}
|
|
14415
|
+
_next(undefined);
|
|
14416
|
+
});
|
|
14417
|
+
};
|
|
14418
|
+
}
|
|
14419
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
14420
|
+
var row = __webpack_require__("7a0f");
|
|
14421
|
+
|
|
14422
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/base.css
|
|
14423
|
+
var base = __webpack_require__("450d");
|
|
14424
|
+
|
|
14425
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
14426
|
+
var lib_row = __webpack_require__("0f6c");
|
|
14427
|
+
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
14428
|
+
|
|
14429
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
14430
|
+
var radio_group = __webpack_require__("fe07");
|
|
14431
|
+
|
|
14432
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
14433
|
+
var lib_radio_group = __webpack_require__("6ac5");
|
|
14434
|
+
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
14435
|
+
|
|
14436
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
14437
|
+
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
14438
|
+
|
|
14439
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
14440
|
+
var lib_radio = __webpack_require__("f494");
|
|
14441
|
+
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
14442
|
+
|
|
14443
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
14444
|
+
var loading = __webpack_require__("be4f");
|
|
14445
|
+
|
|
14446
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
14447
|
+
var lib_loading = __webpack_require__("896a");
|
|
14448
|
+
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
14449
|
+
|
|
14450
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
14451
|
+
var col = __webpack_require__("f4f9");
|
|
14452
|
+
|
|
14453
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
14454
|
+
var lib_col = __webpack_require__("c2cc");
|
|
14455
|
+
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
14456
|
+
|
|
14457
|
+
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
14458
|
+
var es_set_js_ = __webpack_require__("8535");
|
|
14459
|
+
|
|
14460
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
14461
|
+
var es_string_search_js_ = __webpack_require__("1c32");
|
|
14462
|
+
|
|
14463
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
14464
|
+
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
14465
|
+
|
|
14466
|
+
// EXTERNAL MODULE: external "vue"
|
|
14467
|
+
var external_vue_ = __webpack_require__("8bbf");
|
|
14468
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14469
|
+
|
|
14470
|
+
// 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&
|
|
14471
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
14472
|
+
var _vm = this,
|
|
14473
|
+
_c = _vm._self._c;
|
|
14474
|
+
return _c('div', {
|
|
14475
|
+
staticClass: "tooltip-container"
|
|
14476
|
+
}, [_vm.entry ? _c('el-main', {
|
|
14477
|
+
directives: [{
|
|
14478
|
+
name: "loading",
|
|
14479
|
+
rawName: "v-loading",
|
|
14480
|
+
value: _vm.loading,
|
|
14481
|
+
expression: "loading"
|
|
14482
|
+
}],
|
|
14483
|
+
staticClass: "main"
|
|
14484
|
+
}, [_vm.entry.title ? _c('div', {
|
|
14485
|
+
staticClass: "block"
|
|
14486
|
+
}, [_c('span', {
|
|
14487
|
+
staticClass: "title"
|
|
14488
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.entry.title)))])]) : _c('div', {
|
|
14489
|
+
staticClass: "block"
|
|
14490
|
+
}, [_c('span', {
|
|
14491
|
+
staticClass: "title"
|
|
14492
|
+
}, [_vm._v(_vm._s(_vm.entry.featureId))])]), _c('div', {
|
|
14493
|
+
staticClass: "content-container scrollbar"
|
|
14494
|
+
}, [_vm._v(" " + _vm._s(_vm.entry.paths) + " "), _vm.entry.origins && _vm.entry.origins.length > 0 ? _c('div', {
|
|
14495
|
+
staticClass: "block"
|
|
14496
|
+
}, [_c('div', [_c('span', {
|
|
14497
|
+
staticClass: "attribute-title"
|
|
14498
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
14499
|
+
attrs: {
|
|
14500
|
+
"width": "250",
|
|
14501
|
+
"trigger": "hover",
|
|
14502
|
+
"append-to-body": false,
|
|
14503
|
+
"popper-class": "popover-origin-help"
|
|
14504
|
+
}
|
|
14505
|
+
}, [_c('i', {
|
|
14506
|
+
staticClass: "el-icon-warning-outline info",
|
|
14507
|
+
attrs: {
|
|
14508
|
+
"slot": "reference"
|
|
14509
|
+
},
|
|
14510
|
+
slot: "reference"
|
|
14511
|
+
}), _c('span', {
|
|
14512
|
+
staticStyle: {
|
|
14513
|
+
"word-break": "keep-all"
|
|
14514
|
+
}
|
|
14515
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.entry.origins, function (origin, i) {
|
|
14516
|
+
return _c('div', {
|
|
14059
14517
|
key: origin,
|
|
14060
14518
|
staticClass: "attribute-content"
|
|
14061
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
14519
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.entry.origins.length - 1 ? _c('div', {
|
|
14062
14520
|
staticClass: "seperator"
|
|
14063
14521
|
}) : _vm._e()]);
|
|
14064
14522
|
}), _c('el-button', {
|
|
14065
14523
|
directives: [{
|
|
14066
14524
|
name: "show",
|
|
14067
14525
|
rawName: "v-show",
|
|
14068
|
-
value: _vm.originsWithDatasets.length > 0,
|
|
14069
|
-
expression: "originsWithDatasets.length > 0"
|
|
14526
|
+
value: _vm.entry.originsWithDatasets && _vm.entry.originsWithDatasets.length > 0,
|
|
14527
|
+
expression: "entry.originsWithDatasets && entry.originsWithDatasets.length > 0"
|
|
14070
14528
|
}],
|
|
14071
14529
|
staticClass: "button",
|
|
14072
14530
|
on: {
|
|
14073
14531
|
"click": _vm.openDendrites
|
|
14074
14532
|
}
|
|
14075
|
-
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.components && _vm.components.length > 0 ? _c('div', {
|
|
14533
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.entry.components && _vm.entry.components.length > 0 ? _c('div', {
|
|
14076
14534
|
staticClass: "block"
|
|
14077
14535
|
}, [_c('div', {
|
|
14078
14536
|
staticClass: "attribute-title"
|
|
14079
|
-
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
14537
|
+
}, [_vm._v("Components")]), _vm._l(_vm.entry.components, function (component, i) {
|
|
14080
14538
|
return _c('div', {
|
|
14081
14539
|
key: component,
|
|
14082
14540
|
staticClass: "attribute-content"
|
|
14083
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
14541
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.entry.components.length - 1 ? _c('div', {
|
|
14084
14542
|
staticClass: "seperator"
|
|
14085
14543
|
}) : _vm._e()]);
|
|
14086
|
-
})], 2) : _vm._e(), _vm.destinations && _vm.destinations.length > 0 ? _c('div', {
|
|
14544
|
+
})], 2) : _vm._e(), _vm.entry.destinations && _vm.entry.destinations.length > 0 ? _c('div', {
|
|
14087
14545
|
staticClass: "block"
|
|
14088
14546
|
}, [_c('div', [_c('span', {
|
|
14089
14547
|
staticClass: "attribute-title"
|
|
@@ -14104,19 +14562,19 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14104
14562
|
staticStyle: {
|
|
14105
14563
|
"word-break": "keep-all"
|
|
14106
14564
|
}
|
|
14107
|
-
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
14565
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.entry.destinations, function (destination, i) {
|
|
14108
14566
|
return _c('div', {
|
|
14109
14567
|
key: destination,
|
|
14110
14568
|
staticClass: "attribute-content"
|
|
14111
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
14569
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.entry.destinations.length - 1 ? _c('div', {
|
|
14112
14570
|
staticClass: "seperator"
|
|
14113
14571
|
}) : _vm._e()]);
|
|
14114
14572
|
}), _c('el-button', {
|
|
14115
14573
|
directives: [{
|
|
14116
14574
|
name: "show",
|
|
14117
14575
|
rawName: "v-show",
|
|
14118
|
-
value: _vm.destinationsWithDatasets.length > 0,
|
|
14119
|
-
expression: "destinationsWithDatasets.length > 0"
|
|
14576
|
+
value: _vm.entry.destinationsWithDatasets && _vm.entry.destinationsWithDatasets.length > 0,
|
|
14577
|
+
expression: "entry.destinationsWithDatasets && entry.destinationsWithDatasets.length > 0"
|
|
14120
14578
|
}],
|
|
14121
14579
|
staticClass: "button",
|
|
14122
14580
|
on: {
|
|
@@ -14126,72 +14584,23 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14126
14584
|
directives: [{
|
|
14127
14585
|
name: "show",
|
|
14128
14586
|
rawName: "v-show",
|
|
14129
|
-
value: _vm.componentsWithDatasets.length > 0,
|
|
14130
|
-
expression: "componentsWithDatasets.length > 0"
|
|
14587
|
+
value: _vm.entry.componentsWithDatasets && _vm.entry.componentsWithDatasets.length > 0,
|
|
14588
|
+
expression: "entry.componentsWithDatasets && entry.componentsWithDatasets.length > 0"
|
|
14131
14589
|
}],
|
|
14132
14590
|
staticClass: "button",
|
|
14133
14591
|
on: {
|
|
14134
14592
|
"click": _vm.openAll
|
|
14135
14593
|
}
|
|
14136
|
-
}, [_vm._v(" Search for data on components ")]),
|
|
14137
|
-
directives: [{
|
|
14138
|
-
name: "show",
|
|
14139
|
-
rawName: "v-show",
|
|
14140
|
-
value: false,
|
|
14141
|
-
expression: "false"
|
|
14142
|
-
}],
|
|
14143
|
-
attrs: {
|
|
14144
|
-
"entry": _vm.content
|
|
14145
|
-
},
|
|
14146
|
-
on: {
|
|
14147
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14148
|
-
}
|
|
14149
|
-
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14150
|
-
staticClass: "button",
|
|
14594
|
+
}, [_vm._v(" Search for data on components ")]), _c('external-resource-card', {
|
|
14151
14595
|
attrs: {
|
|
14152
|
-
"
|
|
14153
|
-
},
|
|
14154
|
-
on: {
|
|
14155
|
-
"click": function click($event) {
|
|
14156
|
-
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14157
|
-
}
|
|
14596
|
+
"resources": _vm.resources
|
|
14158
14597
|
}
|
|
14159
|
-
}
|
|
14598
|
+
})], 1)]) : _vm._e()], 1);
|
|
14160
14599
|
};
|
|
14161
|
-
var
|
|
14162
|
-
|
|
14163
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4125ac3a&scoped=true&
|
|
14164
|
-
|
|
14165
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
14166
|
-
|
|
14167
|
-
function _arrayWithoutHoles(arr) {
|
|
14168
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
14169
|
-
}
|
|
14170
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
function _iterableToArray(iter) {
|
|
14180
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14181
|
-
}
|
|
14182
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14183
|
-
|
|
14184
|
-
function _nonIterableSpread() {
|
|
14185
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14186
|
-
}
|
|
14187
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
14600
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns = [];
|
|
14188
14601
|
|
|
14602
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4ffcf7c8&scoped=true&
|
|
14189
14603
|
|
|
14190
|
-
|
|
14191
|
-
|
|
14192
|
-
function _toConsumableArray(arr) {
|
|
14193
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
14194
|
-
}
|
|
14195
14604
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
14196
14605
|
var main = __webpack_require__("de31");
|
|
14197
14606
|
|
|
@@ -14230,167 +14639,91 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
14230
14639
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
14231
14640
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
14232
14641
|
|
|
14233
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
14234
|
-
var
|
|
14642
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
14643
|
+
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
14644
|
+
|
|
14645
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
14646
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
14235
14647
|
|
|
14236
14648
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
14237
14649
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
14238
14650
|
|
|
14239
|
-
// EXTERNAL MODULE:
|
|
14240
|
-
var
|
|
14651
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
14652
|
+
var en = __webpack_require__("b2d6");
|
|
14653
|
+
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
14241
14654
|
|
|
14242
|
-
// EXTERNAL MODULE:
|
|
14243
|
-
var
|
|
14655
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
14656
|
+
var locale = __webpack_require__("4897");
|
|
14657
|
+
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14244
14658
|
|
|
14245
|
-
//
|
|
14246
|
-
var es_promise_js_ = __webpack_require__("ec71");
|
|
14247
|
-
|
|
14248
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
14249
|
-
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
14250
|
-
|
|
14251
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
14252
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
14253
|
-
|
|
14254
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
14255
|
-
var en = __webpack_require__("b2d6");
|
|
14256
|
-
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
14257
|
-
|
|
14258
|
-
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/index.js
|
|
14259
|
-
var locale = __webpack_require__("4897");
|
|
14260
|
-
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14659
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
14261
14660
|
|
|
14262
|
-
|
|
14263
|
-
var
|
|
14661
|
+
var EventBus = new external_vue_default.a();
|
|
14662
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14663
|
+
// 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&
|
|
14664
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14264
14665
|
var _vm = this,
|
|
14265
14666
|
_c = _vm._self._c;
|
|
14266
14667
|
return _c('div', {
|
|
14267
|
-
staticClass: "
|
|
14268
|
-
})
|
|
14668
|
+
staticClass: "resource-container"
|
|
14669
|
+
}, [_vm._l(_vm.resources, function (resource) {
|
|
14670
|
+
return [_c('div', {
|
|
14671
|
+
key: resource.id,
|
|
14672
|
+
staticClass: "resource"
|
|
14673
|
+
}, [resource.id === 'pubmed' ? _c('el-button', {
|
|
14674
|
+
staticClass: "button",
|
|
14675
|
+
attrs: {
|
|
14676
|
+
"icon": "el-icon-notebook-2"
|
|
14677
|
+
},
|
|
14678
|
+
on: {
|
|
14679
|
+
"click": function click($event) {
|
|
14680
|
+
return _vm.openUrl(resource.url);
|
|
14681
|
+
}
|
|
14682
|
+
}
|
|
14683
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)];
|
|
14684
|
+
})], 2);
|
|
14269
14685
|
};
|
|
14270
|
-
var
|
|
14271
|
-
|
|
14272
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14273
|
-
|
|
14274
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
14275
|
-
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
14276
|
-
|
|
14277
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
14278
|
-
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
14279
|
-
|
|
14280
|
-
// 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&
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
14686
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = [];
|
|
14285
14687
|
|
|
14688
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
|
|
14286
14689
|
|
|
14690
|
+
// 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&
|
|
14287
14691
|
|
|
14288
14692
|
|
|
14289
14693
|
|
|
14290
14694
|
|
|
14291
14695
|
/* eslint-disable no-alert, no-console */
|
|
14292
14696
|
|
|
14293
|
-
|
|
14294
|
-
|
|
14697
|
+
external_vue_default.a.use(lib_button_default.a);
|
|
14698
|
+
/* harmony default export */ var ExternalResourceCardvue_type_script_lang_js_ = ({
|
|
14699
|
+
name: "ExternalResourceCard",
|
|
14295
14700
|
props: {
|
|
14296
|
-
|
|
14297
|
-
type:
|
|
14298
|
-
default: function _default() {
|
|
14299
|
-
|
|
14300
|
-
},
|
|
14301
|
-
watch: {
|
|
14302
|
-
'entry.featureIds': {
|
|
14303
|
-
handler: function handler(ids) {
|
|
14304
|
-
this.pubmedQueryOnIds(ids);
|
|
14701
|
+
resources: {
|
|
14702
|
+
type: Array,
|
|
14703
|
+
default: function _default() {
|
|
14704
|
+
return [];
|
|
14305
14705
|
}
|
|
14306
14706
|
}
|
|
14307
14707
|
},
|
|
14308
|
-
inject: ['flatmapAPI'],
|
|
14309
14708
|
data: function data() {
|
|
14310
14709
|
return {
|
|
14311
14710
|
pubmeds: [],
|
|
14312
14711
|
pubmedIds: []
|
|
14313
14712
|
};
|
|
14314
14713
|
},
|
|
14315
|
-
mounted: function mounted() {
|
|
14316
|
-
if (this.entry.featureIds) this.pubmedQueryOnIds(this.entry.featureIds);
|
|
14317
|
-
},
|
|
14318
14714
|
methods: {
|
|
14319
|
-
|
|
14320
|
-
return
|
|
14321
|
-
},
|
|
14322
|
-
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
14323
|
-
var sql = 'select distinct publication from publications where entity in (';
|
|
14324
|
-
if (keastIds.length === 1) {
|
|
14325
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14326
|
-
} else if (keastIds.length > 1) {
|
|
14327
|
-
for (var i in keastIds) {
|
|
14328
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14329
|
-
}
|
|
14330
|
-
}
|
|
14331
|
-
return sql;
|
|
14332
|
-
},
|
|
14333
|
-
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
14334
|
-
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
14335
|
-
},
|
|
14336
|
-
flatmapQuery: function flatmapQuery(sql) {
|
|
14337
|
-
var data = {
|
|
14338
|
-
sql: sql
|
|
14339
|
-
};
|
|
14340
|
-
return fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14341
|
-
method: 'POST',
|
|
14342
|
-
headers: {
|
|
14343
|
-
'Content-Type': 'application/json'
|
|
14344
|
-
},
|
|
14345
|
-
body: JSON.stringify(data)
|
|
14346
|
-
}).then(function (response) {
|
|
14347
|
-
return response.json();
|
|
14348
|
-
}).catch(function (error) {
|
|
14349
|
-
console.error('Error:', error);
|
|
14350
|
-
});
|
|
14351
|
-
},
|
|
14352
|
-
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
14353
|
-
var _this = this;
|
|
14354
|
-
if (!keastIds || keastIds.length === 0) return;
|
|
14355
|
-
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14356
|
-
this.flatmapQuery(sql).then(function (data) {
|
|
14357
|
-
_this.responseData = data;
|
|
14358
|
-
// Create pubmed url on paths if we have them
|
|
14359
|
-
if (data.values.length > 0) {
|
|
14360
|
-
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14361
|
-
return _this.stripPMIDPrefix(id[0]);
|
|
14362
|
-
})));
|
|
14363
|
-
} else {
|
|
14364
|
-
// Create pubmed url on models
|
|
14365
|
-
_this.pubmedQueryOnModels(_this.entry.source);
|
|
14366
|
-
}
|
|
14367
|
-
});
|
|
14368
|
-
},
|
|
14369
|
-
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14370
|
-
var _this2 = this;
|
|
14371
|
-
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14372
|
-
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
14373
|
-
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
14374
|
-
return _this2.stripPMIDPrefix(id[0]);
|
|
14375
|
-
})));
|
|
14376
|
-
} else {
|
|
14377
|
-
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
14378
|
-
}
|
|
14379
|
-
});
|
|
14715
|
+
capitalise: function capitalise(string) {
|
|
14716
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
14380
14717
|
},
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
14384
|
-
var params = new URLSearchParams();
|
|
14385
|
-
params.append('term', ids);
|
|
14386
|
-
return url + params.toString();
|
|
14718
|
+
openUrl: function openUrl(url) {
|
|
14719
|
+
window.open(url, '_blank');
|
|
14387
14720
|
}
|
|
14388
14721
|
}
|
|
14389
14722
|
});
|
|
14390
|
-
// CONCATENATED MODULE: ./src/components/
|
|
14391
|
-
/* harmony default export */ var
|
|
14392
|
-
// EXTERNAL MODULE: ./src/components/
|
|
14393
|
-
var
|
|
14723
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=script&lang=js&
|
|
14724
|
+
/* harmony default export */ var components_ExternalResourceCardvue_type_script_lang_js_ = (ExternalResourceCardvue_type_script_lang_js_);
|
|
14725
|
+
// EXTERNAL MODULE: ./src/components/ExternalResourceCard.vue?vue&type=style&index=0&id=14172b61&prod&scoped=true&lang=scss&
|
|
14726
|
+
var ExternalResourceCardvue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss_ = __webpack_require__("4034");
|
|
14394
14727
|
|
|
14395
14728
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
14396
14729
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -14490,7 +14823,7 @@ function normalizeComponent(
|
|
|
14490
14823
|
}
|
|
14491
14824
|
}
|
|
14492
14825
|
|
|
14493
|
-
// CONCATENATED MODULE: ./src/components/
|
|
14826
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue
|
|
14494
14827
|
|
|
14495
14828
|
|
|
14496
14829
|
|
|
@@ -14500,21 +14833,17 @@ function normalizeComponent(
|
|
|
14500
14833
|
/* normalize component */
|
|
14501
14834
|
|
|
14502
14835
|
var component = normalizeComponent(
|
|
14503
|
-
|
|
14504
|
-
|
|
14505
|
-
|
|
14836
|
+
components_ExternalResourceCardvue_type_script_lang_js_,
|
|
14837
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render,
|
|
14838
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns,
|
|
14506
14839
|
false,
|
|
14507
14840
|
null,
|
|
14508
|
-
"
|
|
14841
|
+
"14172b61",
|
|
14509
14842
|
null
|
|
14510
14843
|
|
|
14511
14844
|
)
|
|
14512
14845
|
|
|
14513
|
-
/* harmony default export */ var
|
|
14514
|
-
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
14515
|
-
|
|
14516
|
-
var EventBus = new external_vue_default.a();
|
|
14517
|
-
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14846
|
+
/* harmony default export */ var ExternalResourceCard = (component.exports);
|
|
14518
14847
|
// 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&
|
|
14519
14848
|
|
|
14520
14849
|
|
|
@@ -14531,20 +14860,6 @@ var EventBus = new external_vue_default.a();
|
|
|
14531
14860
|
|
|
14532
14861
|
|
|
14533
14862
|
|
|
14534
|
-
|
|
14535
|
-
|
|
14536
|
-
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14541
|
-
|
|
14542
|
-
|
|
14543
|
-
|
|
14544
|
-
|
|
14545
|
-
|
|
14546
|
-
|
|
14547
|
-
|
|
14548
14863
|
|
|
14549
14864
|
|
|
14550
14865
|
|
|
@@ -14563,35 +14878,19 @@ external_vue_default.a.use(lib_header_default.a);
|
|
|
14563
14878
|
external_vue_default.a.use(lib_icon_default.a);
|
|
14564
14879
|
external_vue_default.a.use(lib_main_default.a);
|
|
14565
14880
|
|
|
14566
|
-
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
14567
|
-
|
|
14568
14881
|
|
|
14569
14882
|
var _titleCase = function titleCase(str) {
|
|
14570
14883
|
return str.replace(/\w\S*/g, function (t) {
|
|
14571
14884
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
14572
14885
|
});
|
|
14573
14886
|
};
|
|
14574
|
-
var inArray = function inArray(ar1, ar2) {
|
|
14575
|
-
var as1 = JSON.stringify(ar1);
|
|
14576
|
-
var as2 = JSON.stringify(ar2);
|
|
14577
|
-
return as1.indexOf(as2) !== -1;
|
|
14578
|
-
};
|
|
14579
|
-
|
|
14580
|
-
// remove duplicates by stringifying the objects
|
|
14581
|
-
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
14582
|
-
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
14583
|
-
return JSON.stringify(e);
|
|
14584
|
-
}))).map(function (e) {
|
|
14585
|
-
return JSON.parse(e);
|
|
14586
|
-
});
|
|
14587
|
-
};
|
|
14588
14887
|
var _capitalise = function capitalise(str) {
|
|
14589
14888
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
14590
14889
|
return "";
|
|
14591
14890
|
};
|
|
14592
14891
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
14593
14892
|
components: {
|
|
14594
|
-
|
|
14893
|
+
ExternalResourceCard: ExternalResourceCard
|
|
14595
14894
|
},
|
|
14596
14895
|
name: "Tooltip",
|
|
14597
14896
|
props: {
|
|
@@ -14599,17 +14898,29 @@ var _capitalise = function capitalise(str) {
|
|
|
14599
14898
|
type: Boolean,
|
|
14600
14899
|
default: false
|
|
14601
14900
|
},
|
|
14602
|
-
|
|
14901
|
+
entry: {
|
|
14603
14902
|
type: Object,
|
|
14604
|
-
default:
|
|
14903
|
+
default: function _default() {
|
|
14904
|
+
return {
|
|
14905
|
+
destinations: [],
|
|
14906
|
+
origins: [],
|
|
14907
|
+
components: [],
|
|
14908
|
+
destinationsWithDatasets: [],
|
|
14909
|
+
originsWithDatasets: [],
|
|
14910
|
+
componentsWithDatasets: [],
|
|
14911
|
+
resource: undefined
|
|
14912
|
+
};
|
|
14913
|
+
}
|
|
14605
14914
|
}
|
|
14606
14915
|
},
|
|
14607
14916
|
data: function data() {
|
|
14608
14917
|
return {
|
|
14918
|
+
controller: undefined,
|
|
14609
14919
|
activeSpecies: undefined,
|
|
14610
14920
|
appendToBody: false,
|
|
14611
14921
|
pubmedSearchUrl: '',
|
|
14612
14922
|
loading: false,
|
|
14923
|
+
showToolip: false,
|
|
14613
14924
|
destinations: [],
|
|
14614
14925
|
origins: [],
|
|
14615
14926
|
components: [],
|
|
@@ -14626,20 +14937,16 @@ var _capitalise = function capitalise(str) {
|
|
|
14626
14937
|
}]
|
|
14627
14938
|
};
|
|
14628
14939
|
},
|
|
14629
|
-
inject: ['sparcAPI', 'flatmapAPI'],
|
|
14630
|
-
watch: {
|
|
14631
|
-
'content.featureIds': {
|
|
14632
|
-
handler: function handler() {
|
|
14633
|
-
this.pathwayQuery(this.content.featureIds);
|
|
14634
|
-
}
|
|
14635
|
-
}
|
|
14636
|
-
},
|
|
14637
|
-
mounted: function mounted() {
|
|
14638
|
-
this.getOrganCuries();
|
|
14639
|
-
},
|
|
14640
14940
|
computed: {
|
|
14941
|
+
resources: function resources() {
|
|
14942
|
+
var resources = [];
|
|
14943
|
+
if (this.entry && this.entry.hyperlinks) {
|
|
14944
|
+
resources = this.entry.hyperlinks;
|
|
14945
|
+
}
|
|
14946
|
+
return resources;
|
|
14947
|
+
},
|
|
14641
14948
|
originDescription: function originDescription() {
|
|
14642
|
-
if (this.
|
|
14949
|
+
if (this.entry && this.entry.title && this.entry.title.toLowerCase().includes('motor')) {
|
|
14643
14950
|
return this.originDescriptions.motor;
|
|
14644
14951
|
} else {
|
|
14645
14952
|
return this.originDescriptions.sensory;
|
|
@@ -14688,269 +14995,73 @@ var _capitalise = function capitalise(str) {
|
|
|
14688
14995
|
},
|
|
14689
14996
|
pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
|
|
14690
14997
|
this.pubmedSearchUrl = val;
|
|
14998
|
+
}
|
|
14999
|
+
}
|
|
15000
|
+
});
|
|
15001
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
15002
|
+
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
15003
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4ffcf7c8&prod&scoped=true&lang=scss&
|
|
15004
|
+
var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __webpack_require__("93b4");
|
|
15005
|
+
|
|
15006
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
15007
|
+
|
|
15008
|
+
|
|
15009
|
+
|
|
15010
|
+
|
|
15011
|
+
|
|
15012
|
+
|
|
15013
|
+
/* normalize component */
|
|
15014
|
+
|
|
15015
|
+
var Tooltip_component = normalizeComponent(
|
|
15016
|
+
components_Tooltipvue_type_script_lang_js_,
|
|
15017
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render,
|
|
15018
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns,
|
|
15019
|
+
false,
|
|
15020
|
+
null,
|
|
15021
|
+
"4ffcf7c8",
|
|
15022
|
+
null
|
|
15023
|
+
|
|
15024
|
+
)
|
|
15025
|
+
|
|
15026
|
+
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
15027
|
+
// 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&
|
|
15028
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render = function render() {
|
|
15029
|
+
var _vm = this,
|
|
15030
|
+
_c = _vm._self._c;
|
|
15031
|
+
return _c('div', {
|
|
15032
|
+
staticClass: "selections-container"
|
|
15033
|
+
}, [_c('el-row', [_c('el-col', {
|
|
15034
|
+
attrs: {
|
|
15035
|
+
"span": 12
|
|
15036
|
+
}
|
|
15037
|
+
}, [_c('div', {
|
|
15038
|
+
staticClass: "checkall-display-text"
|
|
15039
|
+
}, [_vm._v(_vm._s(_vm.title))])]), _c('el-col', {
|
|
15040
|
+
attrs: {
|
|
15041
|
+
"span": 12
|
|
15042
|
+
}
|
|
15043
|
+
}, [_vm.selections && _vm.selections.length > 1 ? _c('el-checkbox', {
|
|
15044
|
+
staticClass: "all-checkbox",
|
|
15045
|
+
attrs: {
|
|
15046
|
+
"indeterminate": _vm.isIndeterminate
|
|
14691
15047
|
},
|
|
14692
|
-
|
|
14693
|
-
|
|
14694
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14695
|
-
var found = [];
|
|
14696
|
-
nodes.forEach(function (n) {
|
|
14697
|
-
if (Array.isArray(n)) {
|
|
14698
|
-
found.push(n.flat());
|
|
14699
|
-
} else {
|
|
14700
|
-
found.push(n);
|
|
14701
|
-
}
|
|
14702
|
-
});
|
|
14703
|
-
return _toConsumableArray(new Set(found.flat()));
|
|
14704
|
-
},
|
|
14705
|
-
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14706
|
-
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14707
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14708
|
-
var found = [];
|
|
14709
|
-
nodes.forEach(function (n) {
|
|
14710
|
-
if (Array.isArray(n)) {
|
|
14711
|
-
found.push(n.flat());
|
|
14712
|
-
} else {
|
|
14713
|
-
found.push(n);
|
|
14714
|
-
}
|
|
14715
|
-
});
|
|
14716
|
-
return found.flat();
|
|
14717
|
-
},
|
|
14718
|
-
findComponents: function findComponents(connectivity) {
|
|
14719
|
-
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14720
|
-
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14721
|
-
var found = [];
|
|
14722
|
-
var terminal = false;
|
|
14723
|
-
nodes.forEach(function (node) {
|
|
14724
|
-
terminal = false;
|
|
14725
|
-
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14726
|
-
if (inArray(connectivity.axons, node)) {
|
|
14727
|
-
terminal = true;
|
|
14728
|
-
}
|
|
14729
|
-
if (inArray(connectivity.dendrites, node)) {
|
|
14730
|
-
terminal = true;
|
|
14731
|
-
}
|
|
14732
|
-
if (!terminal) {
|
|
14733
|
-
found.push(node);
|
|
14734
|
-
}
|
|
14735
|
-
});
|
|
14736
|
-
return found;
|
|
15048
|
+
on: {
|
|
15049
|
+
"change": _vm.handleCheckAllChange
|
|
14737
15050
|
},
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
}
|
|
14743
|
-
|
|
14744
|
-
|
|
15051
|
+
model: {
|
|
15052
|
+
value: _vm.checkAll,
|
|
15053
|
+
callback: function callback($$v) {
|
|
15054
|
+
_vm.checkAll = $$v;
|
|
15055
|
+
},
|
|
15056
|
+
expression: "checkAll"
|
|
15057
|
+
}
|
|
15058
|
+
}, [_vm._v("Display all")]) : _vm._e()], 1)], 1), _c('el-checkbox-group', {
|
|
15059
|
+
staticClass: "checkbox-group",
|
|
15060
|
+
attrs: {
|
|
15061
|
+
"size": "small"
|
|
14745
15062
|
},
|
|
14746
|
-
|
|
14747
|
-
|
|
14748
|
-
if (keastIds.length === 1) {
|
|
14749
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14750
|
-
} else if (keastIds.length > 1) {
|
|
14751
|
-
for (var i in keastIds) {
|
|
14752
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14753
|
-
}
|
|
14754
|
-
}
|
|
14755
|
-
return sql;
|
|
14756
|
-
},
|
|
14757
|
-
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14758
|
-
var sql = 'select entity, label from labels where entity in (';
|
|
14759
|
-
if (uberons.length === 1) {
|
|
14760
|
-
sql += "'".concat(uberons[0], "')");
|
|
14761
|
-
} else if (uberons.length > 1) {
|
|
14762
|
-
for (var i in uberons) {
|
|
14763
|
-
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14764
|
-
}
|
|
14765
|
-
}
|
|
14766
|
-
return sql;
|
|
14767
|
-
},
|
|
14768
|
-
createLabelLookup: function createLabelLookup(uberons) {
|
|
14769
|
-
var _this2 = this;
|
|
14770
|
-
return new Promise(function (resolve) {
|
|
14771
|
-
var uberonMap = {};
|
|
14772
|
-
var data = {
|
|
14773
|
-
sql: _this2.buildLabelSqlStatement(uberons)
|
|
14774
|
-
};
|
|
14775
|
-
fetch("".concat(_this2.flatmapAPI, "knowledge/query/"), {
|
|
14776
|
-
method: 'POST',
|
|
14777
|
-
headers: {
|
|
14778
|
-
'Content-Type': 'application/json'
|
|
14779
|
-
},
|
|
14780
|
-
body: JSON.stringify(data)
|
|
14781
|
-
}).then(function (response) {
|
|
14782
|
-
return response.json();
|
|
14783
|
-
}).then(function (payload) {
|
|
14784
|
-
var entity = payload.keys.indexOf("entity");
|
|
14785
|
-
var label = payload.keys.indexOf("label");
|
|
14786
|
-
if (entity > -1 && label > -1) {
|
|
14787
|
-
payload.values.forEach(function (pair) {
|
|
14788
|
-
uberonMap[pair[entity]] = pair[label];
|
|
14789
|
-
});
|
|
14790
|
-
}
|
|
14791
|
-
resolve(uberonMap);
|
|
14792
|
-
});
|
|
14793
|
-
});
|
|
14794
|
-
},
|
|
14795
|
-
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14796
|
-
var _this3 = this;
|
|
14797
|
-
var labelList = [];
|
|
14798
|
-
components.forEach(function (n) {
|
|
14799
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14800
|
-
if (n.length === 2) {
|
|
14801
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14802
|
-
}
|
|
14803
|
-
});
|
|
14804
|
-
return labelList;
|
|
14805
|
-
},
|
|
14806
|
-
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14807
|
-
var label = lookUp[node[0]];
|
|
14808
|
-
if (node.length === 2 && node[1].length > 0) {
|
|
14809
|
-
node[1].forEach(function (n) {
|
|
14810
|
-
if (lookUp[n] == undefined) {
|
|
14811
|
-
label += ", ".concat(n);
|
|
14812
|
-
} else {
|
|
14813
|
-
label += ", ".concat(lookUp[n]);
|
|
14814
|
-
}
|
|
14815
|
-
});
|
|
14816
|
-
}
|
|
14817
|
-
return label;
|
|
14818
|
-
},
|
|
14819
|
-
processConnectivity: function processConnectivity(connectivity) {
|
|
14820
|
-
var _this4 = this;
|
|
14821
|
-
// Filter the origin and destinations from components
|
|
14822
|
-
var components = this.findComponents(connectivity);
|
|
14823
|
-
|
|
14824
|
-
// Remove duplicates
|
|
14825
|
-
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14826
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14827
|
-
|
|
14828
|
-
// Create list of ids to get labels for
|
|
14829
|
-
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14830
|
-
|
|
14831
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14832
|
-
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14833
|
-
_this4.destinations = axons.map(function (a) {
|
|
14834
|
-
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
14835
|
-
});
|
|
14836
|
-
_this4.origins = dendrites.map(function (d) {
|
|
14837
|
-
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
14838
|
-
});
|
|
14839
|
-
_this4.components = components.map(function (c) {
|
|
14840
|
-
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
14841
|
-
});
|
|
14842
|
-
});
|
|
14843
|
-
this.flattenAndFindDatasets(components, axons, dendrites);
|
|
14844
|
-
},
|
|
14845
|
-
flattenAndFindDatasets: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
14846
|
-
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14847
|
-
var componentsFlat = this.flattenConntectivity(components);
|
|
14848
|
-
var axonsFlat = this.flattenConntectivity(axons);
|
|
14849
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14850
|
-
|
|
14851
|
-
// Filter for the anatomy which is annotated on datasets
|
|
14852
|
-
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14853
|
-
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14854
|
-
});
|
|
14855
|
-
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
14856
|
-
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
14857
|
-
});
|
|
14858
|
-
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
14859
|
-
return componentsFlat.indexOf(ub.id) !== -1;
|
|
14860
|
-
});
|
|
14861
|
-
},
|
|
14862
|
-
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14863
|
-
var _this5 = this;
|
|
14864
|
-
this.destinations = [];
|
|
14865
|
-
this.origins = [];
|
|
14866
|
-
this.components = [];
|
|
14867
|
-
this.loading = true;
|
|
14868
|
-
if (!keastIds || keastIds.length == 0) return;
|
|
14869
|
-
var data = {
|
|
14870
|
-
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
14871
|
-
};
|
|
14872
|
-
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14873
|
-
method: 'POST',
|
|
14874
|
-
headers: {
|
|
14875
|
-
'Content-Type': 'application/json'
|
|
14876
|
-
},
|
|
14877
|
-
body: JSON.stringify(data)
|
|
14878
|
-
}).then(function (response) {
|
|
14879
|
-
return response.json();
|
|
14880
|
-
}).then(function (data) {
|
|
14881
|
-
var connectivity = JSON.parse(data.values[0][0]);
|
|
14882
|
-
_this5.processConnectivity(connectivity);
|
|
14883
|
-
_this5.loading = false;
|
|
14884
|
-
}).catch(function (error) {
|
|
14885
|
-
console.error('Error:', error);
|
|
14886
|
-
});
|
|
14887
|
-
}
|
|
14888
|
-
}
|
|
14889
|
-
});
|
|
14890
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14891
|
-
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14892
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4125ac3a&prod&scoped=true&lang=scss&
|
|
14893
|
-
var Tooltipvue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss_ = __webpack_require__("4fc1");
|
|
14894
|
-
|
|
14895
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
|
|
14899
|
-
|
|
14900
|
-
|
|
14901
|
-
|
|
14902
|
-
/* normalize component */
|
|
14903
|
-
|
|
14904
|
-
var Tooltip_component = normalizeComponent(
|
|
14905
|
-
components_Tooltipvue_type_script_lang_js_,
|
|
14906
|
-
Tooltipvue_type_template_id_4125ac3a_scoped_true_render,
|
|
14907
|
-
Tooltipvue_type_template_id_4125ac3a_scoped_true_staticRenderFns,
|
|
14908
|
-
false,
|
|
14909
|
-
null,
|
|
14910
|
-
"4125ac3a",
|
|
14911
|
-
null
|
|
14912
|
-
|
|
14913
|
-
)
|
|
14914
|
-
|
|
14915
|
-
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
14916
|
-
// 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&
|
|
14917
|
-
var SelectionsGroupvue_type_template_id_f6ac6e34_scoped_true_render = function render() {
|
|
14918
|
-
var _vm = this,
|
|
14919
|
-
_c = _vm._self._c;
|
|
14920
|
-
return _c('div', {
|
|
14921
|
-
staticClass: "selections-container"
|
|
14922
|
-
}, [_c('el-row', [_c('el-col', {
|
|
14923
|
-
attrs: {
|
|
14924
|
-
"span": 12
|
|
14925
|
-
}
|
|
14926
|
-
}, [_c('div', {
|
|
14927
|
-
staticClass: "checkall-display-text"
|
|
14928
|
-
}, [_vm._v(_vm._s(_vm.title))])]), _c('el-col', {
|
|
14929
|
-
attrs: {
|
|
14930
|
-
"span": 12
|
|
14931
|
-
}
|
|
14932
|
-
}, [_vm.selections && _vm.selections.length > 1 ? _c('el-checkbox', {
|
|
14933
|
-
staticClass: "all-checkbox",
|
|
14934
|
-
attrs: {
|
|
14935
|
-
"indeterminate": _vm.isIndeterminate
|
|
14936
|
-
},
|
|
14937
|
-
on: {
|
|
14938
|
-
"change": _vm.handleCheckAllChange
|
|
14939
|
-
},
|
|
14940
|
-
model: {
|
|
14941
|
-
value: _vm.checkAll,
|
|
14942
|
-
callback: function callback($$v) {
|
|
14943
|
-
_vm.checkAll = $$v;
|
|
14944
|
-
},
|
|
14945
|
-
expression: "checkAll"
|
|
14946
|
-
}
|
|
14947
|
-
}, [_vm._v("Display all")]) : _vm._e()], 1)], 1), _c('el-checkbox-group', {
|
|
14948
|
-
staticClass: "checkbox-group",
|
|
14949
|
-
attrs: {
|
|
14950
|
-
"size": "small"
|
|
14951
|
-
},
|
|
14952
|
-
on: {
|
|
14953
|
-
"change": _vm.handleCheckedItemsChange
|
|
15063
|
+
on: {
|
|
15064
|
+
"change": _vm.handleCheckedItemsChange
|
|
14954
15065
|
},
|
|
14955
15066
|
model: {
|
|
14956
15067
|
value: _vm.checkedItems,
|
|
@@ -14980,15 +15091,28 @@ var SelectionsGroupvue_type_template_id_f6ac6e34_scoped_true_render = function r
|
|
|
14980
15091
|
return _vm.visibilityToggle(item[_vm.identifierKey], $event);
|
|
14981
15092
|
}
|
|
14982
15093
|
}
|
|
15094
|
+
}, [_c('el-row', {
|
|
15095
|
+
staticClass: "checkbox-row"
|
|
15096
|
+
}, [_c('el-col', {
|
|
15097
|
+
attrs: {
|
|
15098
|
+
"span": 4
|
|
15099
|
+
}
|
|
14983
15100
|
}, [_c('div', {
|
|
14984
15101
|
staticClass: "path-visual",
|
|
14985
|
-
style: _vm.
|
|
14986
|
-
}),
|
|
15102
|
+
style: _vm.getLineStyles(item)
|
|
15103
|
+
})]), _c('el-col', {
|
|
15104
|
+
attrs: {
|
|
15105
|
+
"span": 20
|
|
15106
|
+
}
|
|
15107
|
+
}, [_c('div', {
|
|
15108
|
+
staticClass: "label-text",
|
|
15109
|
+
style: _vm.getBackgroundStyles(item)
|
|
15110
|
+
}, [_vm._v(" " + _vm._s(item[_vm.labelKey]) + " ")])])], 1)], 1)], 1)]);
|
|
14987
15111
|
}), 1)])], 1);
|
|
14988
15112
|
};
|
|
14989
|
-
var
|
|
15113
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns = [];
|
|
14990
15114
|
|
|
14991
|
-
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=
|
|
15115
|
+
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=1f69f0e7&scoped=true&
|
|
14992
15116
|
|
|
14993
15117
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/checkbox-group.css
|
|
14994
15118
|
var checkbox_group = __webpack_require__("d4df");
|
|
@@ -15004,6 +15128,9 @@ var theme_chalk_checkbox = __webpack_require__("560b");
|
|
|
15004
15128
|
var lib_checkbox = __webpack_require__("dcdc");
|
|
15005
15129
|
var lib_checkbox_default = /*#__PURE__*/__webpack_require__.n(lib_checkbox);
|
|
15006
15130
|
|
|
15131
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
15132
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
15133
|
+
|
|
15007
15134
|
// 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&
|
|
15008
15135
|
|
|
15009
15136
|
|
|
@@ -15072,24 +15199,37 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15072
15199
|
value: val
|
|
15073
15200
|
});
|
|
15074
15201
|
},
|
|
15075
|
-
|
|
15076
|
-
if ('colour' in item) {
|
|
15202
|
+
getBackgroundStyles: function getBackgroundStyles(item) {
|
|
15203
|
+
if ('colour' in item && this.colourStyle === "background") {
|
|
15204
|
+
return {
|
|
15205
|
+
background: item.colour
|
|
15206
|
+
};
|
|
15207
|
+
}
|
|
15208
|
+
return {};
|
|
15209
|
+
},
|
|
15210
|
+
getLineStyles: function getLineStyles(item) {
|
|
15211
|
+
if ('colour' in item && this.colourStyle === "line") {
|
|
15077
15212
|
if ('dashed' in item && item.dashed === true) {
|
|
15078
15213
|
var background = "repeating-linear-gradient(90deg,".concat(item.colour, ",").concat(item.colour, " 6px,transparent 0,transparent 9px)");
|
|
15079
15214
|
return {
|
|
15080
|
-
|
|
15215
|
+
background: background
|
|
15081
15216
|
};
|
|
15082
15217
|
} else {
|
|
15083
|
-
var _background = item.colour;
|
|
15084
15218
|
return {
|
|
15085
|
-
background:
|
|
15219
|
+
background: item.colour
|
|
15086
15220
|
};
|
|
15087
15221
|
}
|
|
15088
15222
|
}
|
|
15089
|
-
return {
|
|
15223
|
+
return {
|
|
15224
|
+
display: "None"
|
|
15225
|
+
};
|
|
15090
15226
|
}
|
|
15091
15227
|
},
|
|
15092
15228
|
props: {
|
|
15229
|
+
colourStyle: {
|
|
15230
|
+
type: String,
|
|
15231
|
+
default: "line"
|
|
15232
|
+
},
|
|
15093
15233
|
identifierKey: {
|
|
15094
15234
|
type: String,
|
|
15095
15235
|
default: "id"
|
|
@@ -15130,8 +15270,8 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15130
15270
|
});
|
|
15131
15271
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=script&lang=js&
|
|
15132
15272
|
/* harmony default export */ var components_SelectionsGroupvue_type_script_lang_js_ = (SelectionsGroupvue_type_script_lang_js_);
|
|
15133
|
-
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=
|
|
15134
|
-
var
|
|
15273
|
+
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=1f69f0e7&prod&scoped=true&lang=scss&
|
|
15274
|
+
var SelectionsGroupvue_type_style_index_0_id_1f69f0e7_prod_scoped_true_lang_scss_ = __webpack_require__("7b79");
|
|
15135
15275
|
|
|
15136
15276
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue
|
|
15137
15277
|
|
|
@@ -15144,11 +15284,11 @@ var SelectionsGroupvue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss
|
|
|
15144
15284
|
|
|
15145
15285
|
var SelectionsGroup_component = normalizeComponent(
|
|
15146
15286
|
components_SelectionsGroupvue_type_script_lang_js_,
|
|
15147
|
-
|
|
15148
|
-
|
|
15287
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render,
|
|
15288
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns,
|
|
15149
15289
|
false,
|
|
15150
15290
|
null,
|
|
15151
|
-
"
|
|
15291
|
+
"1f69f0e7",
|
|
15152
15292
|
null
|
|
15153
15293
|
|
|
15154
15294
|
)
|
|
@@ -15157,225 +15297,686 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15157
15297
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15158
15298
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15159
15299
|
|
|
15160
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15161
|
-
var
|
|
15300
|
+
// 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&
|
|
15301
|
+
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15162
15302
|
var _vm = this,
|
|
15163
15303
|
_c = _vm._self._c;
|
|
15164
|
-
return _c('div',
|
|
15304
|
+
return _c('div', {
|
|
15305
|
+
staticClass: "legends-container"
|
|
15306
|
+
}, [_c('svg', {
|
|
15307
|
+
staticStyle: {
|
|
15308
|
+
"enable-background": "new 0 0 500 500"
|
|
15309
|
+
},
|
|
15165
15310
|
attrs: {
|
|
15166
|
-
"
|
|
15311
|
+
"version": "1.1",
|
|
15312
|
+
"id": "Layer_1",
|
|
15313
|
+
"x": "0px",
|
|
15314
|
+
"y": "0px",
|
|
15315
|
+
"viewBox": "0 0 500 500",
|
|
15316
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
15317
|
+
"xmlns:bx": "https://boxy-svg.com"
|
|
15167
15318
|
}
|
|
15168
|
-
}, [_c('
|
|
15169
|
-
|
|
15170
|
-
|
|
15171
|
-
|
|
15172
|
-
|
|
15173
|
-
|
|
15174
|
-
|
|
15175
|
-
|
|
15176
|
-
|
|
15177
|
-
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
|
|
15186
|
-
|
|
15187
|
-
|
|
15188
|
-
|
|
15319
|
+
}, [_c('defs', [_c('bx:grid', {
|
|
15320
|
+
attrs: {
|
|
15321
|
+
"height": "30.447",
|
|
15322
|
+
"width": "32.516",
|
|
15323
|
+
"x": "0",
|
|
15324
|
+
"y": "0"
|
|
15325
|
+
}
|
|
15326
|
+
})], 1), _c('path', {
|
|
15327
|
+
staticClass: "st0 st0-translate",
|
|
15328
|
+
attrs: {
|
|
15329
|
+
"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"
|
|
15330
|
+
}
|
|
15331
|
+
}), _c('path', {
|
|
15332
|
+
staticClass: "st1",
|
|
15333
|
+
attrs: {
|
|
15334
|
+
"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"
|
|
15335
|
+
}
|
|
15336
|
+
}), _c('path', {
|
|
15337
|
+
staticClass: "st2",
|
|
15338
|
+
attrs: {
|
|
15339
|
+
"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"
|
|
15340
|
+
}
|
|
15341
|
+
}), _c('text', {
|
|
15342
|
+
staticClass: "st3 st4 st5",
|
|
15343
|
+
staticStyle: {
|
|
15344
|
+
"white-space": "pre"
|
|
15345
|
+
},
|
|
15346
|
+
attrs: {
|
|
15347
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
15348
|
+
}
|
|
15349
|
+
}, [_vm._v("Tissue region")]), _c('path', {
|
|
15350
|
+
staticClass: "st6",
|
|
15351
|
+
attrs: {
|
|
15352
|
+
"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"
|
|
15353
|
+
}
|
|
15354
|
+
}), _c('text', {
|
|
15355
|
+
staticClass: "st3 st4 st5",
|
|
15356
|
+
staticStyle: {
|
|
15357
|
+
"white-space": "pre"
|
|
15358
|
+
},
|
|
15359
|
+
attrs: {
|
|
15360
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
15361
|
+
}
|
|
15362
|
+
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
15363
|
+
staticClass: "st3 st4 st5",
|
|
15364
|
+
staticStyle: {
|
|
15365
|
+
"white-space": "pre"
|
|
15366
|
+
},
|
|
15367
|
+
attrs: {
|
|
15368
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
15369
|
+
}
|
|
15370
|
+
}, [_vm._v("Ganglia")]), _c('text', {
|
|
15371
|
+
staticClass: "st3 st4 st5",
|
|
15372
|
+
staticStyle: {
|
|
15373
|
+
"white-space": "pre"
|
|
15374
|
+
},
|
|
15375
|
+
attrs: {
|
|
15376
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
15377
|
+
}
|
|
15378
|
+
}, [_vm._v("Nerve plexus")])])]);
|
|
15189
15379
|
};
|
|
15190
|
-
var
|
|
15380
|
+
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns = [];
|
|
15191
15381
|
|
|
15192
|
-
// CONCATENATED MODULE: ./src/components/legends/
|
|
15382
|
+
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
|
|
15193
15383
|
|
|
15194
|
-
// 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/
|
|
15384
|
+
// 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&
|
|
15385
|
+
/* harmony default export */ var SvgLegendsvue_type_script_lang_js_ = ({
|
|
15386
|
+
name: 'SvgLegends'
|
|
15387
|
+
});
|
|
15388
|
+
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=script&lang=js&
|
|
15389
|
+
/* harmony default export */ var legends_SvgLegendsvue_type_script_lang_js_ = (SvgLegendsvue_type_script_lang_js_);
|
|
15390
|
+
// EXTERNAL MODULE: ./src/components/legends/SvgLegends.vue?vue&type=style&index=0&id=3d3218c8&prod&scoped=true&lang=scss&
|
|
15391
|
+
var SvgLegendsvue_type_style_index_0_id_3d3218c8_prod_scoped_true_lang_scss_ = __webpack_require__("83af");
|
|
15195
15392
|
|
|
15393
|
+
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue
|
|
15196
15394
|
|
|
15197
15395
|
|
|
15198
15396
|
|
|
15199
15397
|
|
|
15200
15398
|
|
|
15201
15399
|
|
|
15202
|
-
/*
|
|
15400
|
+
/* normalize component */
|
|
15401
|
+
|
|
15402
|
+
var SvgLegends_component = normalizeComponent(
|
|
15403
|
+
legends_SvgLegendsvue_type_script_lang_js_,
|
|
15404
|
+
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render,
|
|
15405
|
+
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns,
|
|
15406
|
+
false,
|
|
15407
|
+
null,
|
|
15408
|
+
"3d3218c8",
|
|
15409
|
+
null
|
|
15410
|
+
|
|
15411
|
+
)
|
|
15412
|
+
|
|
15413
|
+
/* harmony default export */ var SvgLegends = (SvgLegends_component.exports);
|
|
15414
|
+
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15415
|
+
/* 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>');
|
|
15416
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
15417
|
+
|
|
15418
|
+
function _classCallCheck(instance, Constructor) {
|
|
15419
|
+
if (!(instance instanceof Constructor)) {
|
|
15420
|
+
throw new TypeError("Cannot call a class as a function");
|
|
15421
|
+
}
|
|
15422
|
+
}
|
|
15423
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-primitive.js"
|
|
15424
|
+
var es_symbol_to_primitive_js_ = __webpack_require__("fb89");
|
|
15425
|
+
|
|
15426
|
+
// EXTERNAL MODULE: external "core-js/modules/es.date.to-primitive.js"
|
|
15427
|
+
var es_date_to_primitive_js_ = __webpack_require__("1f48");
|
|
15428
|
+
|
|
15429
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
15430
|
+
|
|
15431
|
+
|
|
15432
|
+
|
|
15433
|
+
|
|
15434
|
+
|
|
15435
|
+
|
|
15436
|
+
|
|
15437
|
+
|
|
15438
|
+
function _toPrimitive(input, hint) {
|
|
15439
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
15440
|
+
var prim = input[Symbol.toPrimitive];
|
|
15441
|
+
if (prim !== undefined) {
|
|
15442
|
+
var res = prim.call(input, hint || "default");
|
|
15443
|
+
if (_typeof(res) !== "object") return res;
|
|
15444
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
15445
|
+
}
|
|
15446
|
+
return (hint === "string" ? String : Number)(input);
|
|
15447
|
+
}
|
|
15448
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
15203
15449
|
|
|
15204
15450
|
|
|
15451
|
+
function _toPropertyKey(arg) {
|
|
15452
|
+
var key = _toPrimitive(arg, "string");
|
|
15453
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
15454
|
+
}
|
|
15455
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
15456
|
+
|
|
15457
|
+
function _defineProperties(target, props) {
|
|
15458
|
+
for (var i = 0; i < props.length; i++) {
|
|
15459
|
+
var descriptor = props[i];
|
|
15460
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
15461
|
+
descriptor.configurable = true;
|
|
15462
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
15463
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
15464
|
+
}
|
|
15465
|
+
}
|
|
15466
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
15467
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
15468
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
15469
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
15470
|
+
writable: false
|
|
15471
|
+
});
|
|
15472
|
+
return Constructor;
|
|
15473
|
+
}
|
|
15474
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
15475
|
+
|
|
15476
|
+
function _defineProperty(obj, key, value) {
|
|
15477
|
+
key = _toPropertyKey(key);
|
|
15478
|
+
if (key in obj) {
|
|
15479
|
+
Object.defineProperty(obj, key, {
|
|
15480
|
+
value: value,
|
|
15481
|
+
enumerable: true,
|
|
15482
|
+
configurable: true,
|
|
15483
|
+
writable: true
|
|
15484
|
+
});
|
|
15485
|
+
} else {
|
|
15486
|
+
obj[key] = value;
|
|
15487
|
+
}
|
|
15488
|
+
return obj;
|
|
15489
|
+
}
|
|
15490
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
15491
|
+
|
|
15492
|
+
function _arrayWithoutHoles(arr) {
|
|
15493
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
15494
|
+
}
|
|
15495
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
15496
|
+
|
|
15497
|
+
|
|
15498
|
+
|
|
15499
|
+
|
|
15500
|
+
|
|
15501
|
+
|
|
15502
|
+
|
|
15503
|
+
|
|
15504
|
+
function _iterableToArray(iter) {
|
|
15505
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
15506
|
+
}
|
|
15507
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
15508
|
+
|
|
15509
|
+
function _nonIterableSpread() {
|
|
15510
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15511
|
+
}
|
|
15512
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
15513
|
+
|
|
15514
|
+
|
|
15515
|
+
|
|
15516
|
+
|
|
15517
|
+
function _toConsumableArray(arr) {
|
|
15518
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
15519
|
+
}
|
|
15520
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
15521
|
+
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
15522
|
+
|
|
15523
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
15524
|
+
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
15525
|
+
|
|
15526
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
15527
|
+
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
15528
|
+
|
|
15529
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
15530
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
15531
|
+
|
|
15532
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
15533
|
+
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
15534
|
+
|
|
15535
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
15536
|
+
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
15537
|
+
|
|
15538
|
+
// CONCATENATED MODULE: ./src/services/flatmapQueries.js
|
|
15539
|
+
|
|
15540
|
+
|
|
15541
|
+
|
|
15542
|
+
|
|
15543
|
+
|
|
15544
|
+
|
|
15545
|
+
|
|
15546
|
+
|
|
15547
|
+
|
|
15548
|
+
|
|
15549
|
+
|
|
15550
|
+
|
|
15551
|
+
|
|
15552
|
+
|
|
15553
|
+
|
|
15554
|
+
|
|
15555
|
+
|
|
15556
|
+
|
|
15557
|
+
|
|
15558
|
+
|
|
15559
|
+
|
|
15560
|
+
|
|
15561
|
+
/* eslint-disable no-alert, no-console */
|
|
15562
|
+
// remove duplicates by stringifying the objects
|
|
15563
|
+
var flatmapQueries_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
15564
|
+
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
15565
|
+
return JSON.stringify(e);
|
|
15566
|
+
}))).map(function (e) {
|
|
15567
|
+
return JSON.parse(e);
|
|
15568
|
+
});
|
|
15569
|
+
};
|
|
15570
|
+
var inArray = function inArray(ar1, ar2) {
|
|
15571
|
+
var as1 = JSON.stringify(ar1);
|
|
15572
|
+
var as2 = JSON.stringify(ar2);
|
|
15573
|
+
return as1.indexOf(as2) !== -1;
|
|
15574
|
+
};
|
|
15575
|
+
var flatmapQueries_FlatmapQueries = /*#__PURE__*/function () {
|
|
15576
|
+
function FlatmapQueries(sparcApi, flatmapApi) {
|
|
15577
|
+
var _this7 = this;
|
|
15578
|
+
_classCallCheck(this, FlatmapQueries);
|
|
15579
|
+
_defineProperty(this, "createTooltipData", function (eventData) {
|
|
15580
|
+
var tooltipData = {
|
|
15581
|
+
destinations: this.destinations,
|
|
15582
|
+
origins: this.origins,
|
|
15583
|
+
components: this.components,
|
|
15584
|
+
destinationsWithDatasets: this.destinationsWithDatasets,
|
|
15585
|
+
originsWithDatasets: this.originsWithDatasets,
|
|
15586
|
+
componentsWithDatasets: this.componentsWithDatasets,
|
|
15587
|
+
title: eventData.label,
|
|
15588
|
+
featureId: eventData.resource,
|
|
15589
|
+
hyperlinks: eventData.feature.hyperlinks ? eventData.feature.hyperlinks : this.urls.map(function (url) {
|
|
15590
|
+
return {
|
|
15591
|
+
url: url,
|
|
15592
|
+
id: "pubmed"
|
|
15593
|
+
};
|
|
15594
|
+
})
|
|
15595
|
+
};
|
|
15596
|
+
return tooltipData;
|
|
15597
|
+
});
|
|
15598
|
+
_defineProperty(this, "getOrganCuries", function () {
|
|
15599
|
+
var _this = this;
|
|
15600
|
+
return new Promise(function (resolve) {
|
|
15601
|
+
fetch("".concat(_this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
15602
|
+
return response.json();
|
|
15603
|
+
}).then(function (data) {
|
|
15604
|
+
resolve(data.uberon.array);
|
|
15605
|
+
});
|
|
15606
|
+
});
|
|
15607
|
+
});
|
|
15608
|
+
_defineProperty(this, "createComponentsLabelList", function (components, lookUp) {
|
|
15609
|
+
var _this2 = this;
|
|
15610
|
+
var labelList = [];
|
|
15611
|
+
components.forEach(function (n) {
|
|
15612
|
+
labelList.push(_this2.createLabelFromNeuralNode(n[0]), lookUp);
|
|
15613
|
+
if (n.length === 2) {
|
|
15614
|
+
labelList.push(_this2.createLabelFromNeuralNode(n[1]), lookUp);
|
|
15615
|
+
}
|
|
15616
|
+
});
|
|
15617
|
+
return labelList;
|
|
15618
|
+
});
|
|
15619
|
+
_defineProperty(this, "createLabelLookup", function (uberons) {
|
|
15620
|
+
var _this3 = this;
|
|
15621
|
+
return new Promise(function (resolve) {
|
|
15622
|
+
var uberonMap = {};
|
|
15623
|
+
var data = {
|
|
15624
|
+
sql: _this3.buildLabelSqlStatement(uberons)
|
|
15625
|
+
};
|
|
15626
|
+
fetch("".concat(_this3.flatmapApi, "knowledge/query/"), {
|
|
15627
|
+
method: 'POST',
|
|
15628
|
+
headers: {
|
|
15629
|
+
'Content-Type': 'application/json'
|
|
15630
|
+
},
|
|
15631
|
+
body: JSON.stringify(data)
|
|
15632
|
+
}).then(function (response) {
|
|
15633
|
+
return response.json();
|
|
15634
|
+
}).then(function (payload) {
|
|
15635
|
+
var entity = payload.keys.indexOf("entity");
|
|
15636
|
+
var label = payload.keys.indexOf("label");
|
|
15637
|
+
if (entity > -1 && label > -1) {
|
|
15638
|
+
payload.values.forEach(function (pair) {
|
|
15639
|
+
uberonMap[pair[entity]] = pair[label];
|
|
15640
|
+
});
|
|
15641
|
+
}
|
|
15642
|
+
resolve(uberonMap);
|
|
15643
|
+
});
|
|
15644
|
+
});
|
|
15645
|
+
});
|
|
15646
|
+
_defineProperty(this, "buildConnectivitySqlStatement", function (keastIds) {
|
|
15647
|
+
var sql = 'select knowledge from knowledge where entity in (';
|
|
15648
|
+
if (keastIds.length === 1) {
|
|
15649
|
+
sql += "'".concat(keastIds[0], "')");
|
|
15650
|
+
} else if (keastIds.length > 1) {
|
|
15651
|
+
for (var i in keastIds) {
|
|
15652
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15653
|
+
}
|
|
15654
|
+
}
|
|
15655
|
+
return sql;
|
|
15656
|
+
});
|
|
15657
|
+
_defineProperty(this, "buildLabelSqlStatement", function (uberons) {
|
|
15658
|
+
var sql = 'select entity, label from labels where entity in (';
|
|
15659
|
+
if (uberons.length === 1) {
|
|
15660
|
+
sql += "'".concat(uberons[0], "')");
|
|
15661
|
+
} else if (uberons.length > 1) {
|
|
15662
|
+
for (var i in uberons) {
|
|
15663
|
+
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
15664
|
+
}
|
|
15665
|
+
}
|
|
15666
|
+
return sql;
|
|
15667
|
+
});
|
|
15668
|
+
_defineProperty(this, "findAllIdsFromConnectivity", function (connectivity) {
|
|
15669
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15670
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15671
|
+
var found = [];
|
|
15672
|
+
nodes.forEach(function (n) {
|
|
15673
|
+
if (Array.isArray(n)) {
|
|
15674
|
+
found.push(n.flat());
|
|
15675
|
+
} else {
|
|
15676
|
+
found.push(n);
|
|
15677
|
+
}
|
|
15678
|
+
});
|
|
15679
|
+
return _toConsumableArray(new Set(found.flat()));
|
|
15680
|
+
});
|
|
15681
|
+
_defineProperty(this, "flattenConntectivity", function (connectivity) {
|
|
15682
|
+
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
15683
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15684
|
+
var found = [];
|
|
15685
|
+
nodes.forEach(function (n) {
|
|
15686
|
+
if (Array.isArray(n)) {
|
|
15687
|
+
found.push(n.flat());
|
|
15688
|
+
} else {
|
|
15689
|
+
found.push(n);
|
|
15690
|
+
}
|
|
15691
|
+
});
|
|
15692
|
+
return found.flat();
|
|
15693
|
+
});
|
|
15694
|
+
_defineProperty(this, "findComponents", function (connectivity) {
|
|
15695
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15696
|
+
var nodes = flatmapQueries_removeDuplicates(dnodes);
|
|
15697
|
+
var found = [];
|
|
15698
|
+
var terminal = false;
|
|
15699
|
+
nodes.forEach(function (node) {
|
|
15700
|
+
terminal = false;
|
|
15701
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
15702
|
+
if (inArray(connectivity.axons, node)) {
|
|
15703
|
+
terminal = true;
|
|
15704
|
+
}
|
|
15705
|
+
if (inArray(connectivity.dendrites, node)) {
|
|
15706
|
+
terminal = true;
|
|
15707
|
+
}
|
|
15708
|
+
if (!terminal) {
|
|
15709
|
+
found.push(node);
|
|
15710
|
+
}
|
|
15711
|
+
});
|
|
15712
|
+
return found;
|
|
15713
|
+
});
|
|
15714
|
+
_defineProperty(this, "retrieveFlatmapKnowledgeForEvent", /*#__PURE__*/function () {
|
|
15715
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(eventData) {
|
|
15716
|
+
var _this4 = this;
|
|
15717
|
+
var signal, keastIds, data, prom1, prom2;
|
|
15718
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
15719
|
+
while (1) {
|
|
15720
|
+
switch (_context.prev = _context.next) {
|
|
15721
|
+
case 0:
|
|
15722
|
+
// check if there is an existing query
|
|
15723
|
+
if (this.controller) this.controller.abort();
|
|
15724
|
+
|
|
15725
|
+
// set up the abort controller
|
|
15726
|
+
this.controller = new AbortController();
|
|
15727
|
+
signal = this.controller.signal;
|
|
15728
|
+
keastIds = eventData.resource;
|
|
15729
|
+
this.destinations = [];
|
|
15730
|
+
this.origins = [];
|
|
15731
|
+
this.components = [];
|
|
15732
|
+
if (!(!keastIds || keastIds.length == 0)) {
|
|
15733
|
+
_context.next = 9;
|
|
15734
|
+
break;
|
|
15735
|
+
}
|
|
15736
|
+
return _context.abrupt("return");
|
|
15737
|
+
case 9:
|
|
15738
|
+
data = {
|
|
15739
|
+
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
15740
|
+
};
|
|
15741
|
+
prom1 = new Promise(function (resolve) {
|
|
15742
|
+
fetch("".concat(_this4.flatmapApi, "knowledge/query/"), {
|
|
15743
|
+
method: 'POST',
|
|
15744
|
+
headers: {
|
|
15745
|
+
'Content-Type': 'application/json'
|
|
15746
|
+
},
|
|
15747
|
+
body: JSON.stringify(data),
|
|
15748
|
+
signal: signal
|
|
15749
|
+
}).then(function (response) {
|
|
15750
|
+
return response.json();
|
|
15751
|
+
}).then(function (data) {
|
|
15752
|
+
if (_this4.connectivityExists(data)) {
|
|
15753
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
15754
|
+
_this4.processConnectivity(connectivity).then(function () {
|
|
15755
|
+
resolve(true);
|
|
15756
|
+
});
|
|
15757
|
+
} else {
|
|
15758
|
+
console.log('No connectivity data found');
|
|
15759
|
+
resolve(true);
|
|
15760
|
+
}
|
|
15761
|
+
}).catch(function (error) {
|
|
15762
|
+
console.error('Error:', error);
|
|
15763
|
+
resolve(false);
|
|
15764
|
+
});
|
|
15765
|
+
});
|
|
15766
|
+
prom2 = this.pubmedQueryOnIds(eventData);
|
|
15767
|
+
_context.next = 14;
|
|
15768
|
+
return Promise.all([prom1, prom2]);
|
|
15769
|
+
case 14:
|
|
15770
|
+
return _context.abrupt("return", _context.sent);
|
|
15771
|
+
case 15:
|
|
15772
|
+
case "end":
|
|
15773
|
+
return _context.stop();
|
|
15774
|
+
}
|
|
15775
|
+
}
|
|
15776
|
+
}, _callee, this);
|
|
15777
|
+
}));
|
|
15778
|
+
return function (_x) {
|
|
15779
|
+
return _ref.apply(this, arguments);
|
|
15780
|
+
};
|
|
15781
|
+
}());
|
|
15782
|
+
_defineProperty(this, "connectivityExists", function (data) {
|
|
15783
|
+
if (data.values && data.values.length > 0 && JSON.parse(data.values[0][0]).connectivity && JSON.parse(data.values[0][0]).connectivity.length > 0) {
|
|
15784
|
+
return true;
|
|
15785
|
+
} else {
|
|
15786
|
+
return false;
|
|
15787
|
+
}
|
|
15788
|
+
});
|
|
15789
|
+
_defineProperty(this, "createLabelFromNeuralNode", function (node, lookUp) {
|
|
15790
|
+
var label = lookUp[node[0]];
|
|
15791
|
+
if (node.length === 2 && node[1].length > 0) {
|
|
15792
|
+
node[1].forEach(function (n) {
|
|
15793
|
+
if (lookUp[n] == undefined) {
|
|
15794
|
+
label += ", ".concat(n);
|
|
15795
|
+
} else {
|
|
15796
|
+
label += ", ".concat(lookUp[n]);
|
|
15797
|
+
}
|
|
15798
|
+
});
|
|
15799
|
+
}
|
|
15800
|
+
return label;
|
|
15801
|
+
});
|
|
15802
|
+
_defineProperty(this, "findComponents", function (connectivity) {
|
|
15803
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15804
|
+
var nodes = flatmapQueries_removeDuplicates(dnodes);
|
|
15805
|
+
var found = [];
|
|
15806
|
+
var terminal = false;
|
|
15807
|
+
nodes.forEach(function (node) {
|
|
15808
|
+
terminal = false;
|
|
15809
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
15810
|
+
if (inArray(connectivity.axons, node)) {
|
|
15811
|
+
terminal = true;
|
|
15812
|
+
}
|
|
15813
|
+
if (inArray(connectivity.dendrites, node)) {
|
|
15814
|
+
terminal = true;
|
|
15815
|
+
}
|
|
15816
|
+
if (!terminal) {
|
|
15817
|
+
found.push(node);
|
|
15818
|
+
}
|
|
15819
|
+
});
|
|
15820
|
+
return found;
|
|
15821
|
+
});
|
|
15822
|
+
_defineProperty(this, "stripPMIDPrefix", function (pubmedId) {
|
|
15823
|
+
return pubmedId.split(':')[1];
|
|
15824
|
+
});
|
|
15825
|
+
_defineProperty(this, "buildPubmedSqlStatement", function (keastIds) {
|
|
15826
|
+
var sql = 'select distinct publication from publications where entity in (';
|
|
15827
|
+
if (keastIds.length === 1) {
|
|
15828
|
+
sql += "'".concat(keastIds[0], "')");
|
|
15829
|
+
} else if (keastIds.length > 1) {
|
|
15830
|
+
for (var i in keastIds) {
|
|
15831
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15832
|
+
}
|
|
15833
|
+
}
|
|
15834
|
+
return sql;
|
|
15835
|
+
});
|
|
15836
|
+
_defineProperty(this, "buildPubmedSqlStatementForModels", function (model) {
|
|
15837
|
+
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
15838
|
+
});
|
|
15839
|
+
_defineProperty(this, "flatmapQuery", function (sql) {
|
|
15840
|
+
var data = {
|
|
15841
|
+
sql: sql
|
|
15842
|
+
};
|
|
15843
|
+
return fetch("".concat(this.flatmapApi, "knowledge/query/"), {
|
|
15844
|
+
method: 'POST',
|
|
15845
|
+
headers: {
|
|
15846
|
+
'Content-Type': 'application/json'
|
|
15847
|
+
},
|
|
15848
|
+
body: JSON.stringify(data)
|
|
15849
|
+
}).then(function (response) {
|
|
15850
|
+
return response.json();
|
|
15851
|
+
}).catch(function (error) {
|
|
15852
|
+
console.error('Error:', error);
|
|
15853
|
+
});
|
|
15854
|
+
});
|
|
15855
|
+
_defineProperty(this, "pubmedQueryOnIds", function (eventData) {
|
|
15856
|
+
var _this5 = this;
|
|
15857
|
+
var keastIds = eventData.resource;
|
|
15858
|
+
var source = eventData.feature.source;
|
|
15859
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
15860
|
+
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
15861
|
+
return this.flatmapQuery(sql).then(function (data) {
|
|
15862
|
+
// Create pubmed url on paths if we have them
|
|
15863
|
+
if (data.values.length > 0) {
|
|
15864
|
+
_this5.urls = [_this5.pubmedSearchUrl(data.values.map(function (id) {
|
|
15865
|
+
return _this5.stripPMIDPrefix(id[0]);
|
|
15866
|
+
}))];
|
|
15867
|
+
return true;
|
|
15868
|
+
} else {
|
|
15869
|
+
// Create pubmed url on models
|
|
15870
|
+
_this5.pubmedQueryOnModels(source).then(function () {
|
|
15871
|
+
return true;
|
|
15872
|
+
});
|
|
15873
|
+
}
|
|
15874
|
+
});
|
|
15875
|
+
});
|
|
15876
|
+
_defineProperty(this, "pubmedQueryOnModels", function (source) {
|
|
15877
|
+
var _this6 = this;
|
|
15878
|
+
return this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
15879
|
+
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
15880
|
+
_this6.urls = [_this6.pubmedSearchUrl(data.values.map(function (id) {
|
|
15881
|
+
return _this6.stripPMIDPrefix(id[0]);
|
|
15882
|
+
}))];
|
|
15883
|
+
} else {
|
|
15884
|
+
_this6.urls = []; // Clears the pubmed search button
|
|
15885
|
+
}
|
|
15205
15886
|
|
|
15206
|
-
|
|
15207
|
-
|
|
15208
|
-
|
|
15209
|
-
|
|
15210
|
-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
|
|
15216
|
-
|
|
15217
|
-
|
|
15218
|
-
|
|
15219
|
-
|
|
15220
|
-
|
|
15221
|
-
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
}
|
|
15230
|
-
},
|
|
15231
|
-
methods: {
|
|
15232
|
-
capitalise: function capitalise(label) {
|
|
15233
|
-
return label.charAt(0).toUpperCase() + label.slice(1).toLowerCase();
|
|
15234
|
-
}
|
|
15887
|
+
return;
|
|
15888
|
+
});
|
|
15889
|
+
});
|
|
15890
|
+
_defineProperty(this, "pubmedSearchUrl", function (ids) {
|
|
15891
|
+
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
15892
|
+
var params = new URLSearchParams();
|
|
15893
|
+
params.append('term', ids);
|
|
15894
|
+
return url + params.toString();
|
|
15895
|
+
});
|
|
15896
|
+
this.sparcApi = sparcApi;
|
|
15897
|
+
this.flatmapApi = flatmapApi;
|
|
15898
|
+
this.destinations = [];
|
|
15899
|
+
this.origins = [];
|
|
15900
|
+
this.components = [];
|
|
15901
|
+
this.uberons = [];
|
|
15902
|
+
this.urls = [];
|
|
15903
|
+
this.controller = undefined;
|
|
15904
|
+
this.getOrganCuries().then(function (uberons) {
|
|
15905
|
+
_this7.uberons = uberons;
|
|
15906
|
+
_this7.createLabelLookup(uberons).then(function (lookUp) {
|
|
15907
|
+
_this7.lookUp = lookUp;
|
|
15908
|
+
});
|
|
15909
|
+
});
|
|
15235
15910
|
}
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
//
|
|
15240
|
-
var
|
|
15241
|
-
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15911
|
+
_createClass(FlatmapQueries, [{
|
|
15912
|
+
key: "flattenAndFindDatasets",
|
|
15913
|
+
value: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
15914
|
+
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
15915
|
+
var componentsFlat = this.flattenConntectivity(components);
|
|
15916
|
+
var axonsFlat = this.flattenConntectivity(axons);
|
|
15917
|
+
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
15247
15918
|
|
|
15919
|
+
// Filter for the anatomy which is annotated on datasets
|
|
15920
|
+
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
15921
|
+
return axonsFlat.indexOf(ub.id) !== -1;
|
|
15922
|
+
});
|
|
15923
|
+
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
15924
|
+
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
15925
|
+
});
|
|
15926
|
+
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
15927
|
+
return componentsFlat.indexOf(ub.id) !== -1;
|
|
15928
|
+
});
|
|
15929
|
+
}
|
|
15930
|
+
}, {
|
|
15931
|
+
key: "processConnectivity",
|
|
15932
|
+
value: function processConnectivity(connectivity) {
|
|
15933
|
+
var _this8 = this;
|
|
15934
|
+
return new Promise(function (resolve) {
|
|
15935
|
+
// Filter the origin and destinations from components
|
|
15936
|
+
var components = _this8.findComponents(connectivity);
|
|
15248
15937
|
|
|
15249
|
-
|
|
15938
|
+
// Remove duplicates
|
|
15939
|
+
var axons = flatmapQueries_removeDuplicates(connectivity.axons);
|
|
15940
|
+
var dendrites = flatmapQueries_removeDuplicates(connectivity.dendrites);
|
|
15250
15941
|
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_render,
|
|
15254
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_staticRenderFns,
|
|
15255
|
-
false,
|
|
15256
|
-
null,
|
|
15257
|
-
"7ea6eb51",
|
|
15258
|
-
null
|
|
15259
|
-
|
|
15260
|
-
)
|
|
15942
|
+
// Create list of ids to get labels for
|
|
15943
|
+
var conIds = _this8.findAllIdsFromConnectivity(connectivity);
|
|
15261
15944
|
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
|
|
15269
|
-
|
|
15270
|
-
|
|
15271
|
-
|
|
15272
|
-
|
|
15273
|
-
|
|
15274
|
-
|
|
15275
|
-
|
|
15276
|
-
|
|
15277
|
-
"y": "0px",
|
|
15278
|
-
"viewBox": "0 0 500 500",
|
|
15279
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
15280
|
-
"xmlns:bx": "https://boxy-svg.com"
|
|
15281
|
-
}
|
|
15282
|
-
}, [_c('defs', [_c('bx:grid', {
|
|
15283
|
-
attrs: {
|
|
15284
|
-
"height": "30.447",
|
|
15285
|
-
"width": "32.516",
|
|
15286
|
-
"x": "0",
|
|
15287
|
-
"y": "0"
|
|
15288
|
-
}
|
|
15289
|
-
})], 1), _c('path', {
|
|
15290
|
-
staticClass: "st0 st0-translate",
|
|
15291
|
-
attrs: {
|
|
15292
|
-
"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"
|
|
15293
|
-
}
|
|
15294
|
-
}), _c('path', {
|
|
15295
|
-
staticClass: "st1",
|
|
15296
|
-
attrs: {
|
|
15297
|
-
"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"
|
|
15298
|
-
}
|
|
15299
|
-
}), _c('path', {
|
|
15300
|
-
staticClass: "st2",
|
|
15301
|
-
attrs: {
|
|
15302
|
-
"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"
|
|
15303
|
-
}
|
|
15304
|
-
}), _c('text', {
|
|
15305
|
-
staticClass: "st3 st4 st5",
|
|
15306
|
-
staticStyle: {
|
|
15307
|
-
"white-space": "pre"
|
|
15308
|
-
},
|
|
15309
|
-
attrs: {
|
|
15310
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
15311
|
-
}
|
|
15312
|
-
}, [_vm._v("Tissue region")]), _c('path', {
|
|
15313
|
-
staticClass: "st6",
|
|
15314
|
-
attrs: {
|
|
15315
|
-
"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"
|
|
15316
|
-
}
|
|
15317
|
-
}), _c('text', {
|
|
15318
|
-
staticClass: "st3 st4 st5",
|
|
15319
|
-
staticStyle: {
|
|
15320
|
-
"white-space": "pre"
|
|
15321
|
-
},
|
|
15322
|
-
attrs: {
|
|
15323
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
15324
|
-
}
|
|
15325
|
-
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
15326
|
-
staticClass: "st3 st4 st5",
|
|
15327
|
-
staticStyle: {
|
|
15328
|
-
"white-space": "pre"
|
|
15329
|
-
},
|
|
15330
|
-
attrs: {
|
|
15331
|
-
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
15945
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
15946
|
+
_this8.createLabelLookup(conIds).then(function (lookUp) {
|
|
15947
|
+
_this8.destinations = axons.map(function (a) {
|
|
15948
|
+
return _this8.createLabelFromNeuralNode(a, lookUp);
|
|
15949
|
+
});
|
|
15950
|
+
_this8.origins = dendrites.map(function (d) {
|
|
15951
|
+
return _this8.createLabelFromNeuralNode(d, lookUp);
|
|
15952
|
+
});
|
|
15953
|
+
_this8.components = components.map(function (c) {
|
|
15954
|
+
return _this8.createLabelFromNeuralNode(c, lookUp);
|
|
15955
|
+
});
|
|
15956
|
+
_this8.flattenAndFindDatasets(components, axons, dendrites);
|
|
15957
|
+
resolve(true);
|
|
15958
|
+
});
|
|
15959
|
+
});
|
|
15332
15960
|
}
|
|
15333
|
-
},
|
|
15334
|
-
|
|
15335
|
-
|
|
15336
|
-
|
|
15337
|
-
|
|
15338
|
-
|
|
15339
|
-
|
|
15961
|
+
}, {
|
|
15962
|
+
key: "flattenConntectivity",
|
|
15963
|
+
value: function flattenConntectivity(connectivity) {
|
|
15964
|
+
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
15965
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15966
|
+
var found = [];
|
|
15967
|
+
nodes.forEach(function (n) {
|
|
15968
|
+
if (Array.isArray(n)) {
|
|
15969
|
+
found.push(n.flat());
|
|
15970
|
+
} else {
|
|
15971
|
+
found.push(n);
|
|
15972
|
+
}
|
|
15973
|
+
});
|
|
15974
|
+
return found.flat();
|
|
15340
15975
|
}
|
|
15341
|
-
}
|
|
15342
|
-
|
|
15343
|
-
|
|
15344
|
-
|
|
15345
|
-
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
|
|
15346
|
-
|
|
15347
|
-
// 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&
|
|
15348
|
-
/* harmony default export */ var SvgLegendsvue_type_script_lang_js_ = ({
|
|
15349
|
-
name: 'SvgLegends'
|
|
15350
|
-
});
|
|
15351
|
-
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue?vue&type=script&lang=js&
|
|
15352
|
-
/* harmony default export */ var legends_SvgLegendsvue_type_script_lang_js_ = (SvgLegendsvue_type_script_lang_js_);
|
|
15353
|
-
// EXTERNAL MODULE: ./src/components/legends/SvgLegends.vue?vue&type=style&index=0&id=3d3218c8&prod&scoped=true&lang=scss&
|
|
15354
|
-
var SvgLegendsvue_type_style_index_0_id_3d3218c8_prod_scoped_true_lang_scss_ = __webpack_require__("83af");
|
|
15355
|
-
|
|
15356
|
-
// CONCATENATED MODULE: ./src/components/legends/SvgLegends.vue
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
/* normalize component */
|
|
15364
|
-
|
|
15365
|
-
var SvgLegends_component = normalizeComponent(
|
|
15366
|
-
legends_SvgLegendsvue_type_script_lang_js_,
|
|
15367
|
-
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render,
|
|
15368
|
-
SvgLegendsvue_type_template_id_3d3218c8_scoped_true_staticRenderFns,
|
|
15369
|
-
false,
|
|
15370
|
-
null,
|
|
15371
|
-
"3d3218c8",
|
|
15372
|
-
null
|
|
15373
|
-
|
|
15374
|
-
)
|
|
15375
|
-
|
|
15376
|
-
/* harmony default export */ var SvgLegends = (SvgLegends_component.exports);
|
|
15377
|
-
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15378
|
-
/* 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>');
|
|
15976
|
+
}]);
|
|
15977
|
+
return FlatmapQueries;
|
|
15978
|
+
}();
|
|
15979
|
+
/* harmony default export */ var flatmapQueries = (flatmapQueries_FlatmapQueries);
|
|
15379
15980
|
// 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&
|
|
15380
15981
|
|
|
15381
15982
|
|
|
@@ -15423,10 +16024,20 @@ external_vue_default.a.use(lib_radio_default.a);
|
|
|
15423
16024
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
15424
16025
|
external_vue_default.a.use(lib_row_default.a);
|
|
15425
16026
|
var ResizeSensor = __webpack_require__("ae66");
|
|
16027
|
+
var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
16028
|
+
return {
|
|
16029
|
+
destinations: [],
|
|
16030
|
+
origins: [],
|
|
16031
|
+
components: [],
|
|
16032
|
+
destinationsWithDatasets: [],
|
|
16033
|
+
originsWithDatasets: [],
|
|
16034
|
+
componentsWithDatasets: [],
|
|
16035
|
+
resource: undefined
|
|
16036
|
+
};
|
|
16037
|
+
};
|
|
15426
16038
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
15427
16039
|
name: "FlatmapVuer",
|
|
15428
16040
|
components: {
|
|
15429
|
-
DynamicLegends: DynamicLegends,
|
|
15430
16041
|
MapSvgIcon: svg_sprite_["MapSvgIcon"],
|
|
15431
16042
|
MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"],
|
|
15432
16043
|
Tooltip: Tooltip,
|
|
@@ -15500,6 +16111,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15500
16111
|
if (this.$refs.layersSelection) {
|
|
15501
16112
|
this.$refs.layersSelection.reset();
|
|
15502
16113
|
}
|
|
16114
|
+
if (this.$refs.systemsSelection) {
|
|
16115
|
+
this.$refs.pathwaysSelection.reset();
|
|
16116
|
+
}
|
|
15503
16117
|
if (this.$refs.pathwaysSelection) {
|
|
15504
16118
|
this.$refs.pathwaysSelection.reset();
|
|
15505
16119
|
}
|
|
@@ -15525,7 +16139,6 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15525
16139
|
},
|
|
15526
16140
|
centreLinesSelected: function centreLinesSelected(payload) {
|
|
15527
16141
|
if (this.mapImp) {
|
|
15528
|
-
console.log(payload.value);
|
|
15529
16142
|
this.mapImp.enableCentrelines(payload.value);
|
|
15530
16143
|
}
|
|
15531
16144
|
},
|
|
@@ -15542,16 +16155,29 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15542
16155
|
});
|
|
15543
16156
|
}
|
|
15544
16157
|
},
|
|
16158
|
+
systemSelected: function systemSelected(payload) {
|
|
16159
|
+
if (this.mapImp) {
|
|
16160
|
+
this.mapImp.enableSystem(payload.key, payload.value);
|
|
16161
|
+
}
|
|
16162
|
+
},
|
|
16163
|
+
checkAllSystems: function checkAllSystems(payload) {
|
|
16164
|
+
var _this2 = this;
|
|
16165
|
+
if (this.mapImp) {
|
|
16166
|
+
payload.keys.forEach(function (key) {
|
|
16167
|
+
return _this2.mapImp.enableSystem(key, payload.value);
|
|
16168
|
+
});
|
|
16169
|
+
}
|
|
16170
|
+
},
|
|
15545
16171
|
layersSelected: function layersSelected(payload) {
|
|
15546
16172
|
if (this.mapImp) {
|
|
15547
16173
|
this.mapImp.enableLayer(payload.key, payload.value);
|
|
15548
16174
|
}
|
|
15549
16175
|
},
|
|
15550
16176
|
checkAllLayers: function checkAllLayers(payload) {
|
|
15551
|
-
var
|
|
16177
|
+
var _this3 = this;
|
|
15552
16178
|
if (this.mapImp) {
|
|
15553
16179
|
payload.keys.forEach(function (key) {
|
|
15554
|
-
return
|
|
16180
|
+
return _this3.mapImp.enableLayer(key, payload.value);
|
|
15555
16181
|
});
|
|
15556
16182
|
}
|
|
15557
16183
|
},
|
|
@@ -15561,10 +16187,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15561
16187
|
}
|
|
15562
16188
|
},
|
|
15563
16189
|
checkAllPathways: function checkAllPathways(payload) {
|
|
15564
|
-
var
|
|
16190
|
+
var _this4 = this;
|
|
15565
16191
|
if (this.mapImp) {
|
|
15566
16192
|
payload.keys.forEach(function (key) {
|
|
15567
|
-
return
|
|
16193
|
+
return _this4.mapImp.enablePath(key, payload.value);
|
|
15568
16194
|
});
|
|
15569
16195
|
}
|
|
15570
16196
|
},
|
|
@@ -15572,13 +16198,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15572
16198
|
this.mapImp.enablePanZoomEvents(flag);
|
|
15573
16199
|
},
|
|
15574
16200
|
eventCallback: function eventCallback() {
|
|
15575
|
-
var
|
|
16201
|
+
var _this5 = this;
|
|
15576
16202
|
return function (eventType, data) {
|
|
15577
16203
|
if (eventType !== "pan-zoom") {
|
|
15578
16204
|
var label = data.label;
|
|
15579
16205
|
var resource = [data.models];
|
|
15580
|
-
var taxonomy =
|
|
15581
|
-
var biologicalSex =
|
|
16206
|
+
var taxonomy = _this5.entry;
|
|
16207
|
+
var biologicalSex = _this5.biologicalSex;
|
|
15582
16208
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
15583
16209
|
args[_key - 2] = arguments[_key];
|
|
15584
16210
|
}
|
|
@@ -15592,25 +16218,48 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15592
16218
|
userData: args,
|
|
15593
16219
|
eventType: eventType
|
|
15594
16220
|
};
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
16221
|
+
if (data && data.type !== "marker" && eventType === "click") {
|
|
16222
|
+
_this5.checkAndCreatePopups(payload);
|
|
16223
|
+
}
|
|
16224
|
+
_this5.$emit("resource-selected", payload);
|
|
15598
16225
|
} else {
|
|
15599
|
-
|
|
16226
|
+
_this5.$emit("pan-zoom-callback", data);
|
|
15600
16227
|
}
|
|
15601
16228
|
};
|
|
15602
16229
|
},
|
|
15603
16230
|
// checkNeuronClicked shows a neuron path pop up if a path was recently clicked
|
|
15604
|
-
checkAndCreatePopups: function
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
|
|
16231
|
+
checkAndCreatePopups: function () {
|
|
16232
|
+
var _checkAndCreatePopups = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
16233
|
+
var connections;
|
|
16234
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16235
|
+
while (1) {
|
|
16236
|
+
switch (_context.prev = _context.next) {
|
|
16237
|
+
case 0:
|
|
16238
|
+
_context.next = 2;
|
|
16239
|
+
return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
|
|
16240
|
+
case 2:
|
|
16241
|
+
connections = _context.sent;
|
|
16242
|
+
if (!connections) {
|
|
16243
|
+
if (data.feature.hyperlinks) {
|
|
16244
|
+
this.resourceForTooltip = data.resource[0];
|
|
16245
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16246
|
+
}
|
|
16247
|
+
} else {
|
|
16248
|
+
this.resourceForTooltip = data.resource[0];
|
|
16249
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16250
|
+
}
|
|
16251
|
+
case 4:
|
|
16252
|
+
case "end":
|
|
16253
|
+
return _context.stop();
|
|
16254
|
+
}
|
|
16255
|
+
}
|
|
16256
|
+
}, _callee, this);
|
|
16257
|
+
}));
|
|
16258
|
+
function checkAndCreatePopups(_x) {
|
|
16259
|
+
return _checkAndCreatePopups.apply(this, arguments);
|
|
15612
16260
|
}
|
|
15613
|
-
|
|
16261
|
+
return checkAndCreatePopups;
|
|
16262
|
+
}(),
|
|
15614
16263
|
popUpCssHacks: function popUpCssHacks() {
|
|
15615
16264
|
// Below is a hack to remove flatmap tooltips while popup is open
|
|
15616
16265
|
var ftooltip = document.querySelector(".flatmap-tooltip-popup");
|
|
@@ -15624,66 +16273,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15624
16273
|
resourceSelected: function resourceSelected(action) {
|
|
15625
16274
|
this.$emit("resource-selected", action);
|
|
15626
16275
|
},
|
|
15627
|
-
hasNeuronTooltip: function hasNeuronTooltip(data) {
|
|
15628
|
-
// neural data check
|
|
15629
|
-
if (data.resource[0]) {
|
|
15630
|
-
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
15631
|
-
return true;
|
|
15632
|
-
}
|
|
15633
|
-
}
|
|
15634
|
-
// annotated with datset check
|
|
15635
|
-
if (data.dataset) {
|
|
15636
|
-
return true;
|
|
15637
|
-
}
|
|
15638
|
-
|
|
15639
|
-
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
15640
|
-
return false;
|
|
15641
|
-
},
|
|
15642
16276
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
15643
|
-
|
|
15644
|
-
|
|
15645
|
-
title: undefined,
|
|
15646
|
-
components: undefined,
|
|
15647
|
-
start: undefined,
|
|
15648
|
-
distribution: undefined,
|
|
15649
|
-
actions: []
|
|
15650
|
-
};
|
|
15651
|
-
this.tooltipVisible = false;
|
|
15652
|
-
|
|
15653
|
-
// neural data check
|
|
15654
|
-
if (feature) {
|
|
15655
|
-
if (feature.includes('ilxtr:neuron')) {
|
|
15656
|
-
this.tooltipVisible = true;
|
|
15657
|
-
this.tooltipContent = content;
|
|
15658
|
-
this.tooltipContent.uberon = feature;
|
|
15659
|
-
this.tooltipContent.source = data.feature.source;
|
|
15660
|
-
this.tooltipContent.title = data.label;
|
|
15661
|
-
this.tooltipContent.featureIds = [feature];
|
|
15662
|
-
this.tooltipContent.actions.push({
|
|
15663
|
-
title: "Search for datasets",
|
|
15664
|
-
label: "Neuron Datasets",
|
|
15665
|
-
resource: feature.split(":")[1],
|
|
15666
|
-
type: "Neuron Search",
|
|
15667
|
-
feature: feature,
|
|
15668
|
-
nervePath: true
|
|
15669
|
-
});
|
|
15670
|
-
}
|
|
15671
|
-
}
|
|
15672
|
-
// annotated with datset check
|
|
15673
|
-
if (data.dataset) {
|
|
15674
|
-
this.tooltipVisible = true;
|
|
15675
|
-
this.tooltipContent = content;
|
|
15676
|
-
this.tooltipContent.uberon = feature;
|
|
15677
|
-
this.tooltipContent.source = data.feature.source;
|
|
15678
|
-
this.tooltipContent.title = data.label;
|
|
15679
|
-
this.tooltipContent.actions.push({
|
|
15680
|
-
title: "View dataset",
|
|
15681
|
-
resource: data.dataset,
|
|
15682
|
-
type: "URL",
|
|
15683
|
-
feature: feature,
|
|
15684
|
-
nervePath: false
|
|
15685
|
-
});
|
|
15686
|
-
}
|
|
16277
|
+
this.tooltipEntry = this.flatmapQueries.createTooltipData(data);
|
|
16278
|
+
this.displayTooltip();
|
|
15687
16279
|
},
|
|
15688
16280
|
// Keeping this as an API
|
|
15689
16281
|
showPopup: function showPopup(featureId, node, options) {
|
|
@@ -15719,9 +16311,11 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15719
16311
|
},
|
|
15720
16312
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
15721
16313
|
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
16314
|
+
if (minimapEl) {
|
|
16315
|
+
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
16316
|
+
minimapEl.appendChild(this.$refs.minimapResize);
|
|
16317
|
+
this.minimapResizeShow = true;
|
|
16318
|
+
}
|
|
15725
16319
|
},
|
|
15726
16320
|
setHelpMode: function setHelpMode(helpMode) {
|
|
15727
16321
|
if (helpMode) {
|
|
@@ -15739,10 +16333,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15739
16333
|
}
|
|
15740
16334
|
},
|
|
15741
16335
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15742
|
-
var
|
|
16336
|
+
var _this6 = this;
|
|
15743
16337
|
if (!this.inHelp) {
|
|
15744
16338
|
this.tooltipWait = setTimeout(function () {
|
|
15745
|
-
|
|
16339
|
+
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
15746
16340
|
}, 500);
|
|
15747
16341
|
}
|
|
15748
16342
|
},
|
|
@@ -15752,6 +16346,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15752
16346
|
clearTimeout(this.tooltipWait);
|
|
15753
16347
|
}
|
|
15754
16348
|
},
|
|
16349
|
+
displayTooltip: function displayTooltip() {
|
|
16350
|
+
this.mapImp.showPopup(this.mapImp.modelFeatureIds(this.resourceForTooltip)[0], this.$refs.tooltip.$el, {
|
|
16351
|
+
className: "flatmapvuer-popover",
|
|
16352
|
+
positionAtLastClick: true
|
|
16353
|
+
});
|
|
16354
|
+
this.popUpCssHacks();
|
|
16355
|
+
},
|
|
15755
16356
|
openFlatmapHelpPopup: function openFlatmapHelpPopup() {
|
|
15756
16357
|
if (this.mapImp) {
|
|
15757
16358
|
var heartId = this.mapImp.featureIdsForModel("UBERON:0000948")[0];
|
|
@@ -15817,7 +16418,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15817
16418
|
}
|
|
15818
16419
|
},
|
|
15819
16420
|
createFlatmap: function createFlatmap(state) {
|
|
15820
|
-
var
|
|
16421
|
+
var _this7 = this;
|
|
15821
16422
|
if (!this.mapImp && !this.loading) {
|
|
15822
16423
|
this.loading = true;
|
|
15823
16424
|
var minimap = false;
|
|
@@ -15881,10 +16482,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15881
16482
|
minimap: minimap
|
|
15882
16483
|
});
|
|
15883
16484
|
promise1.then(function (returnedObject) {
|
|
15884
|
-
|
|
15885
|
-
|
|
15886
|
-
if (
|
|
15887
|
-
|
|
16485
|
+
_this7.mapImp = returnedObject;
|
|
16486
|
+
_this7.onFlatmapReady();
|
|
16487
|
+
if (_this7._stateToBeSet) _this7.restoreMapState(_this7._stateToBeSet);else {
|
|
16488
|
+
_this7.restoreMapState(state);
|
|
15888
16489
|
}
|
|
15889
16490
|
});
|
|
15890
16491
|
} else if (state) {
|
|
@@ -15920,8 +16521,8 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15920
16521
|
this.backgroundChangeCallback(this.currentBackground);
|
|
15921
16522
|
this.pathways = this.mapImp.pathTypes();
|
|
15922
16523
|
this.mapImp.enableCentrelines(false);
|
|
15923
|
-
|
|
15924
|
-
|
|
16524
|
+
this.layers = this.mapImp.getLayers();
|
|
16525
|
+
this.systems = this.mapImp.getSystems();
|
|
15925
16526
|
this.addResizeButtonToMinimap();
|
|
15926
16527
|
this.loading = false;
|
|
15927
16528
|
this.computePathControlsMaximumHeight();
|
|
@@ -15983,12 +16584,16 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15983
16584
|
},
|
|
15984
16585
|
pathControls: {
|
|
15985
16586
|
type: Boolean,
|
|
15986
|
-
default:
|
|
16587
|
+
default: false
|
|
15987
16588
|
},
|
|
15988
16589
|
searchable: {
|
|
15989
16590
|
type: Boolean,
|
|
15990
16591
|
default: false
|
|
15991
16592
|
},
|
|
16593
|
+
layerControl: {
|
|
16594
|
+
type: Boolean,
|
|
16595
|
+
default: false
|
|
16596
|
+
},
|
|
15992
16597
|
tooltips: {
|
|
15993
16598
|
type: Boolean,
|
|
15994
16599
|
default: true
|
|
@@ -16062,6 +16667,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16062
16667
|
label: "Display Nerves",
|
|
16063
16668
|
key: "centrelines"
|
|
16064
16669
|
}],
|
|
16670
|
+
systems: [],
|
|
16065
16671
|
pathwaysMaxHeight: 1000,
|
|
16066
16672
|
hoverVisibilities: [{
|
|
16067
16673
|
value: false
|
|
@@ -16086,10 +16692,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16086
16692
|
availableBackground: ["white", "lightskyblue", "black"],
|
|
16087
16693
|
loading: false,
|
|
16088
16694
|
flatmapMarker: flatmap_marker,
|
|
16695
|
+
tooltipEntry: createUnfilledTooltipData(),
|
|
16696
|
+
connectivityTooltipVisible: false,
|
|
16697
|
+
resourceForTooltip: undefined,
|
|
16089
16698
|
drawerOpen: false,
|
|
16090
|
-
tooltipContent: {
|
|
16091
|
-
featureIds: []
|
|
16092
|
-
},
|
|
16093
16699
|
colourRadio: true,
|
|
16094
16700
|
outlinesRadio: true,
|
|
16095
16701
|
minimapResizeShow: false,
|
|
@@ -16115,12 +16721,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16115
16721
|
var flatmap = __webpack_require__("4979");
|
|
16116
16722
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16117
16723
|
if (this.renderAtMounted) this.createFlatmap();
|
|
16724
|
+
this.flatmapQueries = new flatmapQueries_FlatmapQueries(this.sparcAPI, this.flatmapAPI);
|
|
16118
16725
|
}
|
|
16119
16726
|
});
|
|
16120
16727
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16121
16728
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16122
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16123
|
-
var
|
|
16729
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=3bcd7b15&prod&scoped=true&lang=scss&
|
|
16730
|
+
var FlatmapVuervue_type_style_index_0_id_3bcd7b15_prod_scoped_true_lang_scss_ = __webpack_require__("4217");
|
|
16124
16731
|
|
|
16125
16732
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16126
16733
|
|
|
@@ -16137,14 +16744,14 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16137
16744
|
staticRenderFns,
|
|
16138
16745
|
false,
|
|
16139
16746
|
null,
|
|
16140
|
-
"
|
|
16747
|
+
"3bcd7b15",
|
|
16141
16748
|
null
|
|
16142
16749
|
|
|
16143
16750
|
)
|
|
16144
16751
|
|
|
16145
16752
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16146
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16147
|
-
var
|
|
16753
|
+
// 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&
|
|
16754
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render = function render() {
|
|
16148
16755
|
var _vm = this,
|
|
16149
16756
|
_c = _vm._self._c;
|
|
16150
16757
|
return _c('div', {
|
|
@@ -16241,6 +16848,7 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16241
16848
|
"minZoom": _vm.minZoom,
|
|
16242
16849
|
"pathControls": _vm.pathControls,
|
|
16243
16850
|
"searchable": _vm.searchable,
|
|
16851
|
+
"layerControl": _vm.layerControl,
|
|
16244
16852
|
"helpMode": _vm.helpMode,
|
|
16245
16853
|
"renderAtMounted": _vm.renderAtMounted,
|
|
16246
16854
|
"displayMinimap": _vm.displayMinimap,
|
|
@@ -16256,9 +16864,9 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16256
16864
|
});
|
|
16257
16865
|
})], 2);
|
|
16258
16866
|
};
|
|
16259
|
-
var
|
|
16867
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns = [];
|
|
16260
16868
|
|
|
16261
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
16869
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=bf82e340&scoped=true&
|
|
16262
16870
|
|
|
16263
16871
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16264
16872
|
var popover = __webpack_require__("06f1");
|
|
@@ -16590,6 +17198,10 @@ var TAXON_UUID = {
|
|
|
16590
17198
|
type: Boolean,
|
|
16591
17199
|
default: false
|
|
16592
17200
|
},
|
|
17201
|
+
layerControl: {
|
|
17202
|
+
type: Boolean,
|
|
17203
|
+
default: false
|
|
17204
|
+
},
|
|
16593
17205
|
/**
|
|
16594
17206
|
* Initial species for the flatmap.
|
|
16595
17207
|
* This value will be ignored if a valid state object is provided.
|
|
@@ -16696,8 +17308,8 @@ var TAXON_UUID = {
|
|
|
16696
17308
|
});
|
|
16697
17309
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
16698
17310
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
16699
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16700
|
-
var
|
|
17311
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=bf82e340&prod&scoped=true&lang=scss&
|
|
17312
|
+
var MultiFlatmapVuervue_type_style_index_0_id_bf82e340_prod_scoped_true_lang_scss_ = __webpack_require__("c367");
|
|
16701
17313
|
|
|
16702
17314
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
16703
17315
|
|
|
@@ -16710,11 +17322,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scs
|
|
|
16710
17322
|
|
|
16711
17323
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
16712
17324
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
16713
|
-
|
|
16714
|
-
|
|
17325
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render,
|
|
17326
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns,
|
|
16715
17327
|
false,
|
|
16716
17328
|
null,
|
|
16717
|
-
"
|
|
17329
|
+
"bf82e340",
|
|
16718
17330
|
null
|
|
16719
17331
|
|
|
16720
17332
|
)
|
|
@@ -16731,6 +17343,13 @@ var MultiFlatmapVuer_component = normalizeComponent(
|
|
|
16731
17343
|
|
|
16732
17344
|
|
|
16733
17345
|
|
|
17346
|
+
/***/ }),
|
|
17347
|
+
|
|
17348
|
+
/***/ "fb89":
|
|
17349
|
+
/***/ (function(module, exports) {
|
|
17350
|
+
|
|
17351
|
+
module.exports = require("core-js/modules/es.symbol.to-primitive.js");
|
|
17352
|
+
|
|
16734
17353
|
/***/ }),
|
|
16735
17354
|
|
|
16736
17355
|
/***/ "fd22":
|