@abi-software/flatmapvuer 0.4.0 → 0.4.1-beta.1
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 +1790 -864
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1790 -864
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +4 -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 +88 -95
- 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 +328 -0
- package/src/components/PubmedViewer.vue +0 -150
|
@@ -87,6 +87,24 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ "0676":
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
__webpack_require__("dc50");
|
|
94
|
+
function _nonIterableSpread() {
|
|
95
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
96
|
+
}
|
|
97
|
+
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
98
|
+
|
|
99
|
+
/***/ }),
|
|
100
|
+
|
|
101
|
+
/***/ "06b8":
|
|
102
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
103
|
+
|
|
104
|
+
// extracted by mini-css-extract-plugin
|
|
105
|
+
|
|
106
|
+
/***/ }),
|
|
107
|
+
|
|
90
108
|
/***/ "06f1":
|
|
91
109
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
110
|
|
|
@@ -248,6 +266,24 @@ row.install = function (Vue) {
|
|
|
248
266
|
|
|
249
267
|
/***/ }),
|
|
250
268
|
|
|
269
|
+
/***/ "11b0":
|
|
270
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
271
|
+
|
|
272
|
+
__webpack_require__("9b22");
|
|
273
|
+
__webpack_require__("4933");
|
|
274
|
+
__webpack_require__("97d3");
|
|
275
|
+
__webpack_require__("2ff9");
|
|
276
|
+
__webpack_require__("4ccb");
|
|
277
|
+
__webpack_require__("9bb5");
|
|
278
|
+
__webpack_require__("1a25");
|
|
279
|
+
__webpack_require__("4362");
|
|
280
|
+
function _iterableToArray(iter) {
|
|
281
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
282
|
+
}
|
|
283
|
+
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
284
|
+
|
|
285
|
+
/***/ }),
|
|
286
|
+
|
|
251
287
|
/***/ "12f2":
|
|
252
288
|
/***/ (function(module, exports, __webpack_require__) {
|
|
253
289
|
|
|
@@ -270,6 +306,13 @@ exports.default = function (ref) {
|
|
|
270
306
|
|
|
271
307
|
/***/ }),
|
|
272
308
|
|
|
309
|
+
/***/ "12fb":
|
|
310
|
+
/***/ (function(module, exports) {
|
|
311
|
+
|
|
312
|
+
module.exports = require("core-js/modules/es.json.to-string-tag.js");
|
|
313
|
+
|
|
314
|
+
/***/ }),
|
|
315
|
+
|
|
273
316
|
/***/ "13e3":
|
|
274
317
|
/***/ (function(module, exports) {
|
|
275
318
|
|
|
@@ -705,6 +748,13 @@ module.exports = __webpack_require__("e62d");
|
|
|
705
748
|
|
|
706
749
|
/***/ }),
|
|
707
750
|
|
|
751
|
+
/***/ "14f0":
|
|
752
|
+
/***/ (function(module, exports) {
|
|
753
|
+
|
|
754
|
+
module.exports = require("core-js/modules/es.symbol.to-string-tag.js");
|
|
755
|
+
|
|
756
|
+
/***/ }),
|
|
757
|
+
|
|
708
758
|
/***/ "1951":
|
|
709
759
|
/***/ (function(module, exports, __webpack_require__) {
|
|
710
760
|
|
|
@@ -740,21 +790,21 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
740
790
|
|
|
741
791
|
/***/ }),
|
|
742
792
|
|
|
743
|
-
/***/ "
|
|
793
|
+
/***/ "222e":
|
|
744
794
|
/***/ (function(module, exports, __webpack_require__) {
|
|
745
795
|
|
|
746
796
|
// extracted by mini-css-extract-plugin
|
|
747
797
|
|
|
748
798
|
/***/ }),
|
|
749
799
|
|
|
750
|
-
/***/ "
|
|
751
|
-
/***/ (function(module,
|
|
752
|
-
|
|
753
|
-
"use strict";
|
|
754
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7a9a");
|
|
755
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
756
|
-
/* unused harmony reexport * */
|
|
800
|
+
/***/ "2236":
|
|
801
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
757
802
|
|
|
803
|
+
var arrayLikeToArray = __webpack_require__("5a43");
|
|
804
|
+
function _arrayWithoutHoles(arr) {
|
|
805
|
+
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
|
806
|
+
}
|
|
807
|
+
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
758
808
|
|
|
759
809
|
/***/ }),
|
|
760
810
|
|
|
@@ -900,6 +950,402 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
900
950
|
|
|
901
951
|
/***/ }),
|
|
902
952
|
|
|
953
|
+
/***/ "35ee":
|
|
954
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
955
|
+
|
|
956
|
+
// extracted by mini-css-extract-plugin
|
|
957
|
+
|
|
958
|
+
/***/ }),
|
|
959
|
+
|
|
960
|
+
/***/ "362b":
|
|
961
|
+
/***/ (function(module, exports) {
|
|
962
|
+
|
|
963
|
+
module.exports = require("core-js/modules/es.object.get-prototype-of.js");
|
|
964
|
+
|
|
965
|
+
/***/ }),
|
|
966
|
+
|
|
967
|
+
/***/ "3630":
|
|
968
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
969
|
+
|
|
970
|
+
var _regeneratorRuntime = __webpack_require__("7ec2").default;
|
|
971
|
+
var _asyncToGenerator = __webpack_require__("c973").default;
|
|
972
|
+
var _toConsumableArray = __webpack_require__("448a").default;
|
|
973
|
+
__webpack_require__("4391");
|
|
974
|
+
__webpack_require__("4ccb");
|
|
975
|
+
__webpack_require__("97d3");
|
|
976
|
+
__webpack_require__("8535");
|
|
977
|
+
__webpack_require__("9bb5");
|
|
978
|
+
__webpack_require__("1a25");
|
|
979
|
+
__webpack_require__("a9ee");
|
|
980
|
+
__webpack_require__("ec71");
|
|
981
|
+
__webpack_require__("13e3");
|
|
982
|
+
__webpack_require__("ccb0");
|
|
983
|
+
__webpack_require__("da6e");
|
|
984
|
+
__webpack_require__("722b");
|
|
985
|
+
__webpack_require__("2439");
|
|
986
|
+
__webpack_require__("1a89");
|
|
987
|
+
__webpack_require__("712c");
|
|
988
|
+
__webpack_require__("30df");
|
|
989
|
+
/* eslint-disable no-alert, no-console */
|
|
990
|
+
// remove duplicates by stringifying the objects
|
|
991
|
+
var removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
992
|
+
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
993
|
+
return JSON.stringify(e);
|
|
994
|
+
}))).map(function (e) {
|
|
995
|
+
return JSON.parse(e);
|
|
996
|
+
});
|
|
997
|
+
};
|
|
998
|
+
var inArray = function inArray(ar1, ar2) {
|
|
999
|
+
var as1 = JSON.stringify(ar1);
|
|
1000
|
+
var as2 = JSON.stringify(ar2);
|
|
1001
|
+
return as1.indexOf(as2) !== -1;
|
|
1002
|
+
};
|
|
1003
|
+
exports.FlatmapQueries = function (sparcApi, flatmapApi) {
|
|
1004
|
+
var _this = this;
|
|
1005
|
+
this.sparcApi = sparcApi;
|
|
1006
|
+
this.flatmapApi = flatmapApi;
|
|
1007
|
+
this.destinations = [];
|
|
1008
|
+
this.origins = [];
|
|
1009
|
+
this.components = [];
|
|
1010
|
+
this.uberons = [];
|
|
1011
|
+
this.urls = [];
|
|
1012
|
+
this.controller = undefined;
|
|
1013
|
+
this.createTooltipData = function (eventData) {
|
|
1014
|
+
var tooltipData = {
|
|
1015
|
+
destinations: _this.destinations,
|
|
1016
|
+
origins: _this.origins,
|
|
1017
|
+
components: _this.components,
|
|
1018
|
+
destinationsWithDatasets: _this.destinationsWithDatasets,
|
|
1019
|
+
originsWithDatasets: _this.originsWithDatasets,
|
|
1020
|
+
componentsWithDatasets: _this.componentsWithDatasets,
|
|
1021
|
+
title: eventData.label,
|
|
1022
|
+
featureId: eventData.resource,
|
|
1023
|
+
hyperlinks: eventData.feature.hyperlinks ? eventData.feature.hyperlinks : _this.urls.map(function (url) {
|
|
1024
|
+
return {
|
|
1025
|
+
url: url,
|
|
1026
|
+
id: "pubmed"
|
|
1027
|
+
};
|
|
1028
|
+
})
|
|
1029
|
+
};
|
|
1030
|
+
return tooltipData;
|
|
1031
|
+
};
|
|
1032
|
+
var getOrganCuries = function getOrganCuries() {
|
|
1033
|
+
return new Promise(function (resolve) {
|
|
1034
|
+
fetch("".concat(_this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
1035
|
+
return response.json();
|
|
1036
|
+
}).then(function (data) {
|
|
1037
|
+
resolve(data.uberon.array);
|
|
1038
|
+
});
|
|
1039
|
+
});
|
|
1040
|
+
};
|
|
1041
|
+
var createLabelLookup = function createLabelLookup(uberons) {
|
|
1042
|
+
return new Promise(function (resolve) {
|
|
1043
|
+
var uberonMap = {};
|
|
1044
|
+
var data = {
|
|
1045
|
+
sql: buildLabelSqlStatement(uberons)
|
|
1046
|
+
};
|
|
1047
|
+
fetch("".concat(_this.flatmapApi, "knowledge/query/"), {
|
|
1048
|
+
method: 'POST',
|
|
1049
|
+
headers: {
|
|
1050
|
+
'Content-Type': 'application/json'
|
|
1051
|
+
},
|
|
1052
|
+
body: JSON.stringify(data)
|
|
1053
|
+
}).then(function (response) {
|
|
1054
|
+
return response.json();
|
|
1055
|
+
}).then(function (payload) {
|
|
1056
|
+
var entity = payload.keys.indexOf("entity");
|
|
1057
|
+
var label = payload.keys.indexOf("label");
|
|
1058
|
+
if (entity > -1 && label > -1) {
|
|
1059
|
+
payload.values.forEach(function (pair) {
|
|
1060
|
+
uberonMap[pair[entity]] = pair[label];
|
|
1061
|
+
});
|
|
1062
|
+
}
|
|
1063
|
+
resolve(uberonMap);
|
|
1064
|
+
});
|
|
1065
|
+
});
|
|
1066
|
+
};
|
|
1067
|
+
getOrganCuries().then(function (uberons) {
|
|
1068
|
+
_this.uberons = uberons;
|
|
1069
|
+
createLabelLookup(uberons).then(function (lookUp) {
|
|
1070
|
+
_this.lookUp = lookUp;
|
|
1071
|
+
});
|
|
1072
|
+
});
|
|
1073
|
+
var buildConnectivitySqlStatement = function buildConnectivitySqlStatement(keastIds) {
|
|
1074
|
+
var sql = 'select knowledge from knowledge where entity in (';
|
|
1075
|
+
if (keastIds.length === 1) {
|
|
1076
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1077
|
+
} else if (keastIds.length > 1) {
|
|
1078
|
+
for (var i in keastIds) {
|
|
1079
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
return sql;
|
|
1083
|
+
};
|
|
1084
|
+
var buildLabelSqlStatement = function buildLabelSqlStatement(uberons) {
|
|
1085
|
+
var sql = 'select entity, label from labels where entity in (';
|
|
1086
|
+
if (uberons.length === 1) {
|
|
1087
|
+
sql += "'".concat(uberons[0], "')");
|
|
1088
|
+
} else if (uberons.length > 1) {
|
|
1089
|
+
for (var i in uberons) {
|
|
1090
|
+
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
return sql;
|
|
1094
|
+
};
|
|
1095
|
+
var findAllIdsFromConnectivity = function findAllIdsFromConnectivity(connectivity) {
|
|
1096
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
1097
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
1098
|
+
var found = [];
|
|
1099
|
+
nodes.forEach(function (n) {
|
|
1100
|
+
if (Array.isArray(n)) {
|
|
1101
|
+
found.push(n.flat());
|
|
1102
|
+
} else {
|
|
1103
|
+
found.push(n);
|
|
1104
|
+
}
|
|
1105
|
+
});
|
|
1106
|
+
return _toConsumableArray(new Set(found.flat()));
|
|
1107
|
+
};
|
|
1108
|
+
this.retrieveFlatmapKnowledgeForEvent = /*#__PURE__*/function () {
|
|
1109
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(eventData) {
|
|
1110
|
+
var signal, keastIds, data, prom1, prom2;
|
|
1111
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1112
|
+
while (1) {
|
|
1113
|
+
switch (_context.prev = _context.next) {
|
|
1114
|
+
case 0:
|
|
1115
|
+
// check if there is an existing query
|
|
1116
|
+
if (_this.controller) _this.controller.abort();
|
|
1117
|
+
|
|
1118
|
+
// set up the abort controller
|
|
1119
|
+
_this.controller = new AbortController();
|
|
1120
|
+
signal = _this.controller.signal;
|
|
1121
|
+
keastIds = eventData.resource;
|
|
1122
|
+
_this.destinations = [];
|
|
1123
|
+
_this.origins = [];
|
|
1124
|
+
_this.components = [];
|
|
1125
|
+
if (!(!keastIds || keastIds.length == 0)) {
|
|
1126
|
+
_context.next = 9;
|
|
1127
|
+
break;
|
|
1128
|
+
}
|
|
1129
|
+
return _context.abrupt("return");
|
|
1130
|
+
case 9:
|
|
1131
|
+
data = {
|
|
1132
|
+
sql: buildConnectivitySqlStatement(keastIds)
|
|
1133
|
+
};
|
|
1134
|
+
prom1 = new Promise(function (resolve) {
|
|
1135
|
+
fetch("".concat(_this.flatmapApi, "knowledge/query/"), {
|
|
1136
|
+
method: 'POST',
|
|
1137
|
+
headers: {
|
|
1138
|
+
'Content-Type': 'application/json'
|
|
1139
|
+
},
|
|
1140
|
+
body: JSON.stringify(data),
|
|
1141
|
+
signal: signal
|
|
1142
|
+
}).then(function (response) {
|
|
1143
|
+
return response.json();
|
|
1144
|
+
}).then(function (data) {
|
|
1145
|
+
if (connectivityExists(data)) {
|
|
1146
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
1147
|
+
processConnectivity(connectivity).then(function () {
|
|
1148
|
+
resolve(true);
|
|
1149
|
+
});
|
|
1150
|
+
} else {
|
|
1151
|
+
console.log('No connectivity data found');
|
|
1152
|
+
resolve(true);
|
|
1153
|
+
}
|
|
1154
|
+
}).catch(function (error) {
|
|
1155
|
+
console.error('Error:', error);
|
|
1156
|
+
resolve(false);
|
|
1157
|
+
});
|
|
1158
|
+
});
|
|
1159
|
+
prom2 = pubmedQueryOnIds(eventData);
|
|
1160
|
+
_context.next = 14;
|
|
1161
|
+
return Promise.all([prom1, prom2]);
|
|
1162
|
+
case 14:
|
|
1163
|
+
return _context.abrupt("return", _context.sent);
|
|
1164
|
+
case 15:
|
|
1165
|
+
case "end":
|
|
1166
|
+
return _context.stop();
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}, _callee);
|
|
1170
|
+
}));
|
|
1171
|
+
return function (_x) {
|
|
1172
|
+
return _ref.apply(this, arguments);
|
|
1173
|
+
};
|
|
1174
|
+
}();
|
|
1175
|
+
var connectivityExists = function connectivityExists(data) {
|
|
1176
|
+
if (data.values && data.values.length > 0 && JSON.parse(data.values[0][0]).connectivity && JSON.parse(data.values[0][0]).connectivity.length > 0) {
|
|
1177
|
+
return true;
|
|
1178
|
+
} else {
|
|
1179
|
+
return false;
|
|
1180
|
+
}
|
|
1181
|
+
};
|
|
1182
|
+
var createLabelFromNeuralNode = function createLabelFromNeuralNode(node, lookUp) {
|
|
1183
|
+
var label = lookUp[node[0]];
|
|
1184
|
+
if (node.length === 2 && node[1].length > 0) {
|
|
1185
|
+
node[1].forEach(function (n) {
|
|
1186
|
+
if (lookUp[n] == undefined) {
|
|
1187
|
+
label += ", ".concat(n);
|
|
1188
|
+
} else {
|
|
1189
|
+
label += ", ".concat(lookUp[n]);
|
|
1190
|
+
}
|
|
1191
|
+
});
|
|
1192
|
+
}
|
|
1193
|
+
return label;
|
|
1194
|
+
};
|
|
1195
|
+
var flattenAndFindDatasets = function flattenAndFindDatasets(components, axons, dendrites) {
|
|
1196
|
+
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
1197
|
+
var componentsFlat = flattenConntectivity(components);
|
|
1198
|
+
var axonsFlat = flattenConntectivity(axons);
|
|
1199
|
+
var dendritesFlat = flattenConntectivity(dendrites);
|
|
1200
|
+
|
|
1201
|
+
// Filter for the anatomy which is annotated on datasets
|
|
1202
|
+
_this.destinationsWithDatasets = _this.uberons.filter(function (ub) {
|
|
1203
|
+
return axonsFlat.indexOf(ub.id) !== -1;
|
|
1204
|
+
});
|
|
1205
|
+
_this.originsWithDatasets = _this.uberons.filter(function (ub) {
|
|
1206
|
+
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
1207
|
+
});
|
|
1208
|
+
_this.componentsWithDatasets = _this.uberons.filter(function (ub) {
|
|
1209
|
+
return componentsFlat.indexOf(ub.id) !== -1;
|
|
1210
|
+
});
|
|
1211
|
+
};
|
|
1212
|
+
var processConnectivity = function processConnectivity(connectivity) {
|
|
1213
|
+
return new Promise(function (resolve) {
|
|
1214
|
+
// Filter the origin and destinations from components
|
|
1215
|
+
var components = findComponents(connectivity);
|
|
1216
|
+
|
|
1217
|
+
// Remove duplicates
|
|
1218
|
+
var axons = removeDuplicates(connectivity.axons);
|
|
1219
|
+
var dendrites = removeDuplicates(connectivity.dendrites);
|
|
1220
|
+
|
|
1221
|
+
// Create list of ids to get labels for
|
|
1222
|
+
var conIds = findAllIdsFromConnectivity(connectivity);
|
|
1223
|
+
|
|
1224
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
1225
|
+
createLabelLookup(conIds).then(function (lookUp) {
|
|
1226
|
+
_this.destinations = axons.map(function (a) {
|
|
1227
|
+
return createLabelFromNeuralNode(a, lookUp);
|
|
1228
|
+
});
|
|
1229
|
+
_this.origins = dendrites.map(function (d) {
|
|
1230
|
+
return createLabelFromNeuralNode(d, lookUp);
|
|
1231
|
+
});
|
|
1232
|
+
_this.components = components.map(function (c) {
|
|
1233
|
+
return createLabelFromNeuralNode(c, lookUp);
|
|
1234
|
+
});
|
|
1235
|
+
flattenAndFindDatasets(components, axons, dendrites);
|
|
1236
|
+
resolve(true);
|
|
1237
|
+
});
|
|
1238
|
+
});
|
|
1239
|
+
};
|
|
1240
|
+
var flattenConntectivity = function flattenConntectivity(connectivity) {
|
|
1241
|
+
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
1242
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
1243
|
+
var found = [];
|
|
1244
|
+
nodes.forEach(function (n) {
|
|
1245
|
+
if (Array.isArray(n)) {
|
|
1246
|
+
found.push(n.flat());
|
|
1247
|
+
} else {
|
|
1248
|
+
found.push(n);
|
|
1249
|
+
}
|
|
1250
|
+
});
|
|
1251
|
+
return found.flat();
|
|
1252
|
+
};
|
|
1253
|
+
var findComponents = function findComponents(connectivity) {
|
|
1254
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
1255
|
+
var nodes = removeDuplicates(dnodes);
|
|
1256
|
+
var found = [];
|
|
1257
|
+
var terminal = false;
|
|
1258
|
+
nodes.forEach(function (node) {
|
|
1259
|
+
terminal = false;
|
|
1260
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
1261
|
+
if (inArray(connectivity.axons, node)) {
|
|
1262
|
+
terminal = true;
|
|
1263
|
+
}
|
|
1264
|
+
if (inArray(connectivity.dendrites, node)) {
|
|
1265
|
+
terminal = true;
|
|
1266
|
+
}
|
|
1267
|
+
if (!terminal) {
|
|
1268
|
+
found.push(node);
|
|
1269
|
+
}
|
|
1270
|
+
});
|
|
1271
|
+
return found;
|
|
1272
|
+
};
|
|
1273
|
+
var stripPMIDPrefix = function stripPMIDPrefix(pubmedId) {
|
|
1274
|
+
return pubmedId.split(':')[1];
|
|
1275
|
+
};
|
|
1276
|
+
var buildPubmedSqlStatement = function buildPubmedSqlStatement(keastIds) {
|
|
1277
|
+
var sql = 'select distinct publication from publications where entity in (';
|
|
1278
|
+
if (keastIds.length === 1) {
|
|
1279
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1280
|
+
} else if (keastIds.length > 1) {
|
|
1281
|
+
for (var i in keastIds) {
|
|
1282
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
return sql;
|
|
1286
|
+
};
|
|
1287
|
+
var buildPubmedSqlStatementForModels = function buildPubmedSqlStatementForModels(model) {
|
|
1288
|
+
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
1289
|
+
};
|
|
1290
|
+
var flatmapQuery = function flatmapQuery(sql) {
|
|
1291
|
+
var data = {
|
|
1292
|
+
sql: sql
|
|
1293
|
+
};
|
|
1294
|
+
return fetch("".concat(_this.flatmapApi, "knowledge/query/"), {
|
|
1295
|
+
method: 'POST',
|
|
1296
|
+
headers: {
|
|
1297
|
+
'Content-Type': 'application/json'
|
|
1298
|
+
},
|
|
1299
|
+
body: JSON.stringify(data)
|
|
1300
|
+
}).then(function (response) {
|
|
1301
|
+
return response.json();
|
|
1302
|
+
}).catch(function (error) {
|
|
1303
|
+
console.error('Error:', error);
|
|
1304
|
+
});
|
|
1305
|
+
};
|
|
1306
|
+
var pubmedQueryOnIds = function pubmedQueryOnIds(eventData) {
|
|
1307
|
+
var keastIds = eventData.resource;
|
|
1308
|
+
var source = eventData.feature.source;
|
|
1309
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
1310
|
+
var sql = buildPubmedSqlStatement(keastIds);
|
|
1311
|
+
return flatmapQuery(sql).then(function (data) {
|
|
1312
|
+
// Create pubmed url on paths if we have them
|
|
1313
|
+
if (data.values.length > 0) {
|
|
1314
|
+
_this.urls = [pubmedSearchUrl(data.values.map(function (id) {
|
|
1315
|
+
return stripPMIDPrefix(id[0]);
|
|
1316
|
+
}))];
|
|
1317
|
+
return true;
|
|
1318
|
+
} else {
|
|
1319
|
+
// Create pubmed url on models
|
|
1320
|
+
pubmedQueryOnModels(source).then(function () {
|
|
1321
|
+
return true;
|
|
1322
|
+
});
|
|
1323
|
+
}
|
|
1324
|
+
});
|
|
1325
|
+
};
|
|
1326
|
+
var pubmedQueryOnModels = function pubmedQueryOnModels(source) {
|
|
1327
|
+
return flatmapQuery(buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
1328
|
+
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
1329
|
+
_this.urls = [pubmedSearchUrl(data.values.map(function (id) {
|
|
1330
|
+
return stripPMIDPrefix(id[0]);
|
|
1331
|
+
}))];
|
|
1332
|
+
} else {
|
|
1333
|
+
_this.urls = []; // Clears the pubmed search button
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
return;
|
|
1337
|
+
});
|
|
1338
|
+
};
|
|
1339
|
+
var pubmedSearchUrl = function pubmedSearchUrl(ids) {
|
|
1340
|
+
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
1341
|
+
var params = new URLSearchParams();
|
|
1342
|
+
params.append('term', ids);
|
|
1343
|
+
return url + params.toString();
|
|
1344
|
+
};
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
/***/ }),
|
|
1348
|
+
|
|
903
1349
|
/***/ "3d2d":
|
|
904
1350
|
/***/ (function(module, exports, __webpack_require__) {
|
|
905
1351
|
|
|
@@ -1193,13 +1639,6 @@ main.install = function (Vue) {
|
|
|
1193
1639
|
|
|
1194
1640
|
/***/ }),
|
|
1195
1641
|
|
|
1196
|
-
/***/ "400b":
|
|
1197
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1198
|
-
|
|
1199
|
-
// extracted by mini-css-extract-plugin
|
|
1200
|
-
|
|
1201
|
-
/***/ }),
|
|
1202
|
-
|
|
1203
1642
|
/***/ "4010":
|
|
1204
1643
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1205
1644
|
|
|
@@ -1266,6 +1705,24 @@ var removeResizeListener = exports.removeResizeListener = function removeResizeL
|
|
|
1266
1705
|
|
|
1267
1706
|
/***/ }),
|
|
1268
1707
|
|
|
1708
|
+
/***/ "4034":
|
|
1709
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1710
|
+
|
|
1711
|
+
"use strict";
|
|
1712
|
+
/* 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");
|
|
1713
|
+
/* 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__);
|
|
1714
|
+
/* unused harmony reexport * */
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
/***/ }),
|
|
1718
|
+
|
|
1719
|
+
/***/ "4086":
|
|
1720
|
+
/***/ (function(module, exports) {
|
|
1721
|
+
|
|
1722
|
+
module.exports = require("core-js/modules/es.object.set-prototype-of.js");
|
|
1723
|
+
|
|
1724
|
+
/***/ }),
|
|
1725
|
+
|
|
1269
1726
|
/***/ "417f":
|
|
1270
1727
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1271
1728
|
|
|
@@ -1373,6 +1830,20 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
1373
1830
|
|
|
1374
1831
|
/***/ }),
|
|
1375
1832
|
|
|
1833
|
+
/***/ "448a":
|
|
1834
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1835
|
+
|
|
1836
|
+
var arrayWithoutHoles = __webpack_require__("2236");
|
|
1837
|
+
var iterableToArray = __webpack_require__("11b0");
|
|
1838
|
+
var unsupportedIterableToArray = __webpack_require__("6613");
|
|
1839
|
+
var nonIterableSpread = __webpack_require__("0676");
|
|
1840
|
+
function _toConsumableArray(arr) {
|
|
1841
|
+
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
|
1842
|
+
}
|
|
1843
|
+
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1844
|
+
|
|
1845
|
+
/***/ }),
|
|
1846
|
+
|
|
1376
1847
|
/***/ "450d":
|
|
1377
1848
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1378
1849
|
|
|
@@ -1683,7 +2154,7 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
1683
2154
|
|
|
1684
2155
|
/***/ }),
|
|
1685
2156
|
|
|
1686
|
-
/***/ "
|
|
2157
|
+
/***/ "4d43":
|
|
1687
2158
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1688
2159
|
|
|
1689
2160
|
// extracted by mini-css-extract-plugin
|
|
@@ -3868,14 +4339,10 @@ src_select.install = function (Vue) {
|
|
|
3868
4339
|
|
|
3869
4340
|
/***/ }),
|
|
3870
4341
|
|
|
3871
|
-
/***/ "
|
|
3872
|
-
/***/ (function(module,
|
|
3873
|
-
|
|
3874
|
-
"use strict";
|
|
3875
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5967");
|
|
3876
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
3877
|
-
/* unused harmony reexport * */
|
|
4342
|
+
/***/ "4fdd":
|
|
4343
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3878
4344
|
|
|
4345
|
+
// extracted by mini-css-extract-plugin
|
|
3879
4346
|
|
|
3880
4347
|
/***/ }),
|
|
3881
4348
|
|
|
@@ -4367,17 +4834,24 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4367
4834
|
|
|
4368
4835
|
/***/ }),
|
|
4369
4836
|
|
|
4370
|
-
/***/ "
|
|
4371
|
-
/***/ (function(module, exports
|
|
4837
|
+
/***/ "5a3b":
|
|
4838
|
+
/***/ (function(module, exports) {
|
|
4372
4839
|
|
|
4373
|
-
|
|
4840
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4374
4841
|
|
|
4375
4842
|
/***/ }),
|
|
4376
4843
|
|
|
4377
|
-
/***/ "
|
|
4844
|
+
/***/ "5a43":
|
|
4378
4845
|
/***/ (function(module, exports) {
|
|
4379
4846
|
|
|
4380
|
-
|
|
4847
|
+
function _arrayLikeToArray(arr, len) {
|
|
4848
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
4849
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4850
|
+
arr2[i] = arr[i];
|
|
4851
|
+
}
|
|
4852
|
+
return arr2;
|
|
4853
|
+
}
|
|
4854
|
+
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4381
4855
|
|
|
4382
4856
|
/***/ }),
|
|
4383
4857
|
|
|
@@ -5659,6 +6133,29 @@ module.exports = require("core-js/modules/es.string.replace.js");
|
|
|
5659
6133
|
|
|
5660
6134
|
/***/ }),
|
|
5661
6135
|
|
|
6136
|
+
/***/ "6613":
|
|
6137
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6138
|
+
|
|
6139
|
+
__webpack_require__("ea12");
|
|
6140
|
+
__webpack_require__("97d3");
|
|
6141
|
+
__webpack_require__("db0a");
|
|
6142
|
+
__webpack_require__("4362");
|
|
6143
|
+
__webpack_require__("9bb5");
|
|
6144
|
+
__webpack_require__("c8a6");
|
|
6145
|
+
__webpack_require__("5a3b");
|
|
6146
|
+
var arrayLikeToArray = __webpack_require__("5a43");
|
|
6147
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
6148
|
+
if (!o) return;
|
|
6149
|
+
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
|
6150
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6151
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6152
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
6153
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
|
|
6154
|
+
}
|
|
6155
|
+
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
6156
|
+
|
|
6157
|
+
/***/ }),
|
|
6158
|
+
|
|
5662
6159
|
/***/ "6ac5":
|
|
5663
6160
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5664
6161
|
|
|
@@ -6701,6 +7198,29 @@ exports.default = {
|
|
|
6701
7198
|
|
|
6702
7199
|
/***/ }),
|
|
6703
7200
|
|
|
7201
|
+
/***/ "7037":
|
|
7202
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7203
|
+
|
|
7204
|
+
__webpack_require__("9b22");
|
|
7205
|
+
__webpack_require__("4933");
|
|
7206
|
+
__webpack_require__("97d3");
|
|
7207
|
+
__webpack_require__("2ff9");
|
|
7208
|
+
__webpack_require__("4ccb");
|
|
7209
|
+
__webpack_require__("9bb5");
|
|
7210
|
+
__webpack_require__("1a25");
|
|
7211
|
+
function _typeof(obj) {
|
|
7212
|
+
"@babel/helpers - typeof";
|
|
7213
|
+
|
|
7214
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
7215
|
+
return typeof obj;
|
|
7216
|
+
} : function (obj) {
|
|
7217
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
7218
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
7219
|
+
}
|
|
7220
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
7221
|
+
|
|
7222
|
+
/***/ }),
|
|
7223
|
+
|
|
6704
7224
|
/***/ "712c":
|
|
6705
7225
|
/***/ (function(module, exports) {
|
|
6706
7226
|
|
|
@@ -6715,6 +7235,13 @@ module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
|
6715
7235
|
|
|
6716
7236
|
/***/ }),
|
|
6717
7237
|
|
|
7238
|
+
/***/ "7267":
|
|
7239
|
+
/***/ (function(module, exports) {
|
|
7240
|
+
|
|
7241
|
+
module.exports = require("core-js/modules/es.math.to-string-tag.js");
|
|
7242
|
+
|
|
7243
|
+
/***/ }),
|
|
7244
|
+
|
|
6718
7245
|
/***/ "7435":
|
|
6719
7246
|
/***/ (function(module, exports) {
|
|
6720
7247
|
|
|
@@ -6722,14 +7249,14 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6722
7249
|
|
|
6723
7250
|
/***/ }),
|
|
6724
7251
|
|
|
6725
|
-
/***/ "
|
|
6726
|
-
/***/ (function(module, exports
|
|
7252
|
+
/***/ "7949":
|
|
7253
|
+
/***/ (function(module, exports) {
|
|
6727
7254
|
|
|
6728
|
-
|
|
7255
|
+
module.exports = require("core-js/modules/es.object.proto.js");
|
|
6729
7256
|
|
|
6730
7257
|
/***/ }),
|
|
6731
7258
|
|
|
6732
|
-
/***/ "
|
|
7259
|
+
/***/ "7a0f":
|
|
6733
7260
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6734
7261
|
|
|
6735
7262
|
// extracted by mini-css-extract-plugin
|
|
@@ -7018,21 +7545,370 @@ main.install = function (Vue) {
|
|
|
7018
7545
|
|
|
7019
7546
|
/***/ }),
|
|
7020
7547
|
|
|
7021
|
-
/***/ "
|
|
7022
|
-
/***/ (function(module,
|
|
7548
|
+
/***/ "7b79":
|
|
7549
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7023
7550
|
|
|
7024
7551
|
"use strict";
|
|
7552
|
+
/* 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");
|
|
7553
|
+
/* 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__);
|
|
7554
|
+
/* unused harmony reexport * */
|
|
7025
7555
|
|
|
7026
7556
|
|
|
7027
|
-
|
|
7557
|
+
/***/ }),
|
|
7028
7558
|
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7559
|
+
/***/ "7ec2":
|
|
7560
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7561
|
+
|
|
7562
|
+
__webpack_require__("9b22");
|
|
7563
|
+
__webpack_require__("4933");
|
|
7564
|
+
__webpack_require__("97d3");
|
|
7565
|
+
__webpack_require__("2ff9");
|
|
7566
|
+
__webpack_require__("4ccb");
|
|
7567
|
+
__webpack_require__("9bb5");
|
|
7568
|
+
__webpack_require__("1a25");
|
|
7569
|
+
__webpack_require__("a52a");
|
|
7570
|
+
__webpack_require__("14f0");
|
|
7571
|
+
__webpack_require__("12fb");
|
|
7572
|
+
__webpack_require__("7267");
|
|
7573
|
+
__webpack_require__("362b");
|
|
7574
|
+
__webpack_require__("dc50");
|
|
7575
|
+
__webpack_require__("2439");
|
|
7576
|
+
__webpack_require__("13e3");
|
|
7577
|
+
__webpack_require__("db0a");
|
|
7578
|
+
__webpack_require__("4086");
|
|
7579
|
+
__webpack_require__("7949");
|
|
7580
|
+
__webpack_require__("ec71");
|
|
7581
|
+
__webpack_require__("ea12");
|
|
7582
|
+
var _typeof = __webpack_require__("7037")["default"];
|
|
7583
|
+
function _regeneratorRuntime() {
|
|
7584
|
+
"use strict";
|
|
7585
|
+
|
|
7586
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
7587
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
7588
|
+
return exports;
|
|
7589
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
7590
|
+
var exports = {},
|
|
7591
|
+
Op = Object.prototype,
|
|
7592
|
+
hasOwn = Op.hasOwnProperty,
|
|
7593
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
7594
|
+
obj[key] = desc.value;
|
|
7595
|
+
},
|
|
7596
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
7597
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
7598
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
7599
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
7600
|
+
function define(obj, key, value) {
|
|
7601
|
+
return Object.defineProperty(obj, key, {
|
|
7602
|
+
value: value,
|
|
7603
|
+
enumerable: !0,
|
|
7604
|
+
configurable: !0,
|
|
7605
|
+
writable: !0
|
|
7606
|
+
}), obj[key];
|
|
7607
|
+
}
|
|
7608
|
+
try {
|
|
7609
|
+
define({}, "");
|
|
7610
|
+
} catch (err) {
|
|
7611
|
+
define = function define(obj, key, value) {
|
|
7612
|
+
return obj[key] = value;
|
|
7613
|
+
};
|
|
7614
|
+
}
|
|
7615
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
7616
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
7617
|
+
generator = Object.create(protoGenerator.prototype),
|
|
7618
|
+
context = new Context(tryLocsList || []);
|
|
7619
|
+
return defineProperty(generator, "_invoke", {
|
|
7620
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
7621
|
+
}), generator;
|
|
7622
|
+
}
|
|
7623
|
+
function tryCatch(fn, obj, arg) {
|
|
7624
|
+
try {
|
|
7625
|
+
return {
|
|
7626
|
+
type: "normal",
|
|
7627
|
+
arg: fn.call(obj, arg)
|
|
7628
|
+
};
|
|
7629
|
+
} catch (err) {
|
|
7630
|
+
return {
|
|
7631
|
+
type: "throw",
|
|
7632
|
+
arg: err
|
|
7633
|
+
};
|
|
7634
|
+
}
|
|
7635
|
+
}
|
|
7636
|
+
exports.wrap = wrap;
|
|
7637
|
+
var ContinueSentinel = {};
|
|
7638
|
+
function Generator() {}
|
|
7639
|
+
function GeneratorFunction() {}
|
|
7640
|
+
function GeneratorFunctionPrototype() {}
|
|
7641
|
+
var IteratorPrototype = {};
|
|
7642
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
7643
|
+
return this;
|
|
7644
|
+
});
|
|
7645
|
+
var getProto = Object.getPrototypeOf,
|
|
7646
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
7647
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
7648
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
7649
|
+
function defineIteratorMethods(prototype) {
|
|
7650
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
7651
|
+
define(prototype, method, function (arg) {
|
|
7652
|
+
return this._invoke(method, arg);
|
|
7653
|
+
});
|
|
7654
|
+
});
|
|
7655
|
+
}
|
|
7656
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
7657
|
+
function invoke(method, arg, resolve, reject) {
|
|
7658
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
7659
|
+
if ("throw" !== record.type) {
|
|
7660
|
+
var result = record.arg,
|
|
7661
|
+
value = result.value;
|
|
7662
|
+
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
7663
|
+
invoke("next", value, resolve, reject);
|
|
7664
|
+
}, function (err) {
|
|
7665
|
+
invoke("throw", err, resolve, reject);
|
|
7666
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
7667
|
+
result.value = unwrapped, resolve(result);
|
|
7668
|
+
}, function (error) {
|
|
7669
|
+
return invoke("throw", error, resolve, reject);
|
|
7670
|
+
});
|
|
7671
|
+
}
|
|
7672
|
+
reject(record.arg);
|
|
7673
|
+
}
|
|
7674
|
+
var previousPromise;
|
|
7675
|
+
defineProperty(this, "_invoke", {
|
|
7676
|
+
value: function value(method, arg) {
|
|
7677
|
+
function callInvokeWithMethodAndArg() {
|
|
7678
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
7679
|
+
invoke(method, arg, resolve, reject);
|
|
7680
|
+
});
|
|
7681
|
+
}
|
|
7682
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
7683
|
+
}
|
|
7684
|
+
});
|
|
7685
|
+
}
|
|
7686
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
7687
|
+
var state = "suspendedStart";
|
|
7688
|
+
return function (method, arg) {
|
|
7689
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
7690
|
+
if ("completed" === state) {
|
|
7691
|
+
if ("throw" === method) throw arg;
|
|
7692
|
+
return doneResult();
|
|
7693
|
+
}
|
|
7694
|
+
for (context.method = method, context.arg = arg;;) {
|
|
7695
|
+
var delegate = context.delegate;
|
|
7696
|
+
if (delegate) {
|
|
7697
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
7698
|
+
if (delegateResult) {
|
|
7699
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
7700
|
+
return delegateResult;
|
|
7701
|
+
}
|
|
7702
|
+
}
|
|
7703
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
7704
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
7705
|
+
context.dispatchException(context.arg);
|
|
7706
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
7707
|
+
state = "executing";
|
|
7708
|
+
var record = tryCatch(innerFn, self, context);
|
|
7709
|
+
if ("normal" === record.type) {
|
|
7710
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
7711
|
+
return {
|
|
7712
|
+
value: record.arg,
|
|
7713
|
+
done: context.done
|
|
7714
|
+
};
|
|
7715
|
+
}
|
|
7716
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
7717
|
+
}
|
|
7718
|
+
};
|
|
7719
|
+
}
|
|
7720
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
7721
|
+
var methodName = context.method,
|
|
7722
|
+
method = delegate.iterator[methodName];
|
|
7723
|
+
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;
|
|
7724
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
7725
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
7726
|
+
var info = record.arg;
|
|
7727
|
+
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);
|
|
7728
|
+
}
|
|
7729
|
+
function pushTryEntry(locs) {
|
|
7730
|
+
var entry = {
|
|
7731
|
+
tryLoc: locs[0]
|
|
7732
|
+
};
|
|
7733
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
7734
|
+
}
|
|
7735
|
+
function resetTryEntry(entry) {
|
|
7736
|
+
var record = entry.completion || {};
|
|
7737
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
7738
|
+
}
|
|
7739
|
+
function Context(tryLocsList) {
|
|
7740
|
+
this.tryEntries = [{
|
|
7741
|
+
tryLoc: "root"
|
|
7742
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
7743
|
+
}
|
|
7744
|
+
function values(iterable) {
|
|
7745
|
+
if (iterable) {
|
|
7746
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
7747
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
7748
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
7749
|
+
if (!isNaN(iterable.length)) {
|
|
7750
|
+
var i = -1,
|
|
7751
|
+
next = function next() {
|
|
7752
|
+
for (; ++i < iterable.length;) {
|
|
7753
|
+
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
7754
|
+
}
|
|
7755
|
+
return next.value = undefined, next.done = !0, next;
|
|
7756
|
+
};
|
|
7757
|
+
return next.next = next;
|
|
7758
|
+
}
|
|
7759
|
+
}
|
|
7760
|
+
return {
|
|
7761
|
+
next: doneResult
|
|
7762
|
+
};
|
|
7763
|
+
}
|
|
7764
|
+
function doneResult() {
|
|
7765
|
+
return {
|
|
7766
|
+
value: undefined,
|
|
7767
|
+
done: !0
|
|
7768
|
+
};
|
|
7769
|
+
}
|
|
7770
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
7771
|
+
value: GeneratorFunctionPrototype,
|
|
7772
|
+
configurable: !0
|
|
7773
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
7774
|
+
value: GeneratorFunction,
|
|
7775
|
+
configurable: !0
|
|
7776
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
7777
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
7778
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
7779
|
+
}, exports.mark = function (genFun) {
|
|
7780
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
7781
|
+
}, exports.awrap = function (arg) {
|
|
7782
|
+
return {
|
|
7783
|
+
__await: arg
|
|
7784
|
+
};
|
|
7785
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
7786
|
+
return this;
|
|
7787
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
7788
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
7789
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
7790
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
7791
|
+
return result.done ? result.value : iter.next();
|
|
7792
|
+
});
|
|
7793
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
7794
|
+
return this;
|
|
7795
|
+
}), define(Gp, "toString", function () {
|
|
7796
|
+
return "[object Generator]";
|
|
7797
|
+
}), exports.keys = function (val) {
|
|
7798
|
+
var object = Object(val),
|
|
7799
|
+
keys = [];
|
|
7800
|
+
for (var key in object) {
|
|
7801
|
+
keys.push(key);
|
|
7802
|
+
}
|
|
7803
|
+
return keys.reverse(), function next() {
|
|
7804
|
+
for (; keys.length;) {
|
|
7805
|
+
var key = keys.pop();
|
|
7806
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
7807
|
+
}
|
|
7808
|
+
return next.done = !0, next;
|
|
7809
|
+
};
|
|
7810
|
+
}, exports.values = values, Context.prototype = {
|
|
7811
|
+
constructor: Context,
|
|
7812
|
+
reset: function reset(skipTempReset) {
|
|
7813
|
+
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) {
|
|
7814
|
+
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
7815
|
+
}
|
|
7816
|
+
},
|
|
7817
|
+
stop: function stop() {
|
|
7818
|
+
this.done = !0;
|
|
7819
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
7820
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
7821
|
+
return this.rval;
|
|
7822
|
+
},
|
|
7823
|
+
dispatchException: function dispatchException(exception) {
|
|
7824
|
+
if (this.done) throw exception;
|
|
7825
|
+
var context = this;
|
|
7826
|
+
function handle(loc, caught) {
|
|
7827
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
7828
|
+
}
|
|
7829
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7830
|
+
var entry = this.tryEntries[i],
|
|
7831
|
+
record = entry.completion;
|
|
7832
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
7833
|
+
if (entry.tryLoc <= this.prev) {
|
|
7834
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
7835
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
7836
|
+
if (hasCatch && hasFinally) {
|
|
7837
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
7838
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
7839
|
+
} else if (hasCatch) {
|
|
7840
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
7841
|
+
} else {
|
|
7842
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
7843
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
7844
|
+
}
|
|
7845
|
+
}
|
|
7846
|
+
}
|
|
7847
|
+
},
|
|
7848
|
+
abrupt: function abrupt(type, arg) {
|
|
7849
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7850
|
+
var entry = this.tryEntries[i];
|
|
7851
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
7852
|
+
var finallyEntry = entry;
|
|
7853
|
+
break;
|
|
7854
|
+
}
|
|
7855
|
+
}
|
|
7856
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
7857
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
7858
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
7859
|
+
},
|
|
7860
|
+
complete: function complete(record, afterLoc) {
|
|
7861
|
+
if ("throw" === record.type) throw record.arg;
|
|
7862
|
+
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;
|
|
7863
|
+
},
|
|
7864
|
+
finish: function finish(finallyLoc) {
|
|
7865
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7866
|
+
var entry = this.tryEntries[i];
|
|
7867
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
7868
|
+
}
|
|
7869
|
+
},
|
|
7870
|
+
"catch": function _catch(tryLoc) {
|
|
7871
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7872
|
+
var entry = this.tryEntries[i];
|
|
7873
|
+
if (entry.tryLoc === tryLoc) {
|
|
7874
|
+
var record = entry.completion;
|
|
7875
|
+
if ("throw" === record.type) {
|
|
7876
|
+
var thrown = record.arg;
|
|
7877
|
+
resetTryEntry(entry);
|
|
7878
|
+
}
|
|
7879
|
+
return thrown;
|
|
7880
|
+
}
|
|
7881
|
+
}
|
|
7882
|
+
throw new Error("illegal catch attempt");
|
|
7883
|
+
},
|
|
7884
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
7885
|
+
return this.delegate = {
|
|
7886
|
+
iterator: values(iterable),
|
|
7887
|
+
resultName: resultName,
|
|
7888
|
+
nextLoc: nextLoc
|
|
7889
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
7890
|
+
}
|
|
7891
|
+
}, exports;
|
|
7892
|
+
}
|
|
7893
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
7894
|
+
|
|
7895
|
+
/***/ }),
|
|
7896
|
+
|
|
7897
|
+
/***/ "7f4d":
|
|
7898
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7899
|
+
|
|
7900
|
+
"use strict";
|
|
7901
|
+
|
|
7902
|
+
|
|
7903
|
+
exports.__esModule = true;
|
|
7904
|
+
|
|
7905
|
+
exports.default = function (target) {
|
|
7906
|
+
for (var i = 1, j = arguments.length; i < j; i++) {
|
|
7907
|
+
var source = arguments[i] || {};
|
|
7908
|
+
for (var prop in source) {
|
|
7909
|
+
if (source.hasOwnProperty(prop)) {
|
|
7910
|
+
var value = source[prop];
|
|
7911
|
+
if (value !== undefined) {
|
|
7036
7912
|
target[prop] = value;
|
|
7037
7913
|
}
|
|
7038
7914
|
}
|
|
@@ -7362,17 +8238,6 @@ checkbox_group.install = function (Vue) {
|
|
|
7362
8238
|
|
|
7363
8239
|
/******/ });
|
|
7364
8240
|
|
|
7365
|
-
/***/ }),
|
|
7366
|
-
|
|
7367
|
-
/***/ "8056":
|
|
7368
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7369
|
-
|
|
7370
|
-
"use strict";
|
|
7371
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("22c0");
|
|
7372
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7373
|
-
/* unused harmony reexport * */
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
8241
|
/***/ }),
|
|
7377
8242
|
|
|
7378
8243
|
/***/ "8122":
|
|
@@ -8639,6 +9504,17 @@ tag.install = function (Vue) {
|
|
|
8639
9504
|
|
|
8640
9505
|
module.exports = require("vue");
|
|
8641
9506
|
|
|
9507
|
+
/***/ }),
|
|
9508
|
+
|
|
9509
|
+
/***/ "93b4":
|
|
9510
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9511
|
+
|
|
9512
|
+
"use strict";
|
|
9513
|
+
/* 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");
|
|
9514
|
+
/* 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__);
|
|
9515
|
+
/* unused harmony reexport * */
|
|
9516
|
+
|
|
9517
|
+
|
|
8642
9518
|
/***/ }),
|
|
8643
9519
|
|
|
8644
9520
|
/***/ "97d3":
|
|
@@ -8739,6 +9615,24 @@ module.exports = require("resize-observer-polyfill");
|
|
|
8739
9615
|
|
|
8740
9616
|
/***/ }),
|
|
8741
9617
|
|
|
9618
|
+
/***/ "a47e":
|
|
9619
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9620
|
+
|
|
9621
|
+
"use strict";
|
|
9622
|
+
/* 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_1f482509_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4fdd");
|
|
9623
|
+
/* 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_1f482509_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_1f482509_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9624
|
+
/* unused harmony reexport * */
|
|
9625
|
+
|
|
9626
|
+
|
|
9627
|
+
/***/ }),
|
|
9628
|
+
|
|
9629
|
+
/***/ "a52a":
|
|
9630
|
+
/***/ (function(module, exports) {
|
|
9631
|
+
|
|
9632
|
+
module.exports = require("core-js/modules/es.symbol.async-iterator.js");
|
|
9633
|
+
|
|
9634
|
+
/***/ }),
|
|
9635
|
+
|
|
8742
9636
|
/***/ "a578":
|
|
8743
9637
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8744
9638
|
|
|
@@ -9073,17 +9967,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9073
9967
|
return val !== undefined && val !== null;
|
|
9074
9968
|
};
|
|
9075
9969
|
|
|
9076
|
-
/***/ }),
|
|
9077
|
-
|
|
9078
|
-
/***/ "a79a":
|
|
9079
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9080
|
-
|
|
9081
|
-
"use strict";
|
|
9082
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("400b");
|
|
9083
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9084
|
-
/* unused harmony reexport * */
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
9970
|
/***/ }),
|
|
9088
9971
|
|
|
9089
9972
|
/***/ "a9ee":
|
|
@@ -9441,6 +10324,17 @@ col.install = function (Vue) {
|
|
|
9441
10324
|
|
|
9442
10325
|
/******/ });
|
|
9443
10326
|
|
|
10327
|
+
/***/ }),
|
|
10328
|
+
|
|
10329
|
+
/***/ "c367":
|
|
10330
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10331
|
+
|
|
10332
|
+
"use strict";
|
|
10333
|
+
/* 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");
|
|
10334
|
+
/* 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__);
|
|
10335
|
+
/* unused harmony reexport * */
|
|
10336
|
+
|
|
10337
|
+
|
|
9444
10338
|
/***/ }),
|
|
9445
10339
|
|
|
9446
10340
|
/***/ "c56a":
|
|
@@ -9761,6 +10655,45 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
9761
10655
|
|
|
9762
10656
|
/***/ }),
|
|
9763
10657
|
|
|
10658
|
+
/***/ "c973":
|
|
10659
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10660
|
+
|
|
10661
|
+
__webpack_require__("97d3");
|
|
10662
|
+
__webpack_require__("ec71");
|
|
10663
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
10664
|
+
try {
|
|
10665
|
+
var info = gen[key](arg);
|
|
10666
|
+
var value = info.value;
|
|
10667
|
+
} catch (error) {
|
|
10668
|
+
reject(error);
|
|
10669
|
+
return;
|
|
10670
|
+
}
|
|
10671
|
+
if (info.done) {
|
|
10672
|
+
resolve(value);
|
|
10673
|
+
} else {
|
|
10674
|
+
Promise.resolve(value).then(_next, _throw);
|
|
10675
|
+
}
|
|
10676
|
+
}
|
|
10677
|
+
function _asyncToGenerator(fn) {
|
|
10678
|
+
return function () {
|
|
10679
|
+
var self = this,
|
|
10680
|
+
args = arguments;
|
|
10681
|
+
return new Promise(function (resolve, reject) {
|
|
10682
|
+
var gen = fn.apply(self, args);
|
|
10683
|
+
function _next(value) {
|
|
10684
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
10685
|
+
}
|
|
10686
|
+
function _throw(err) {
|
|
10687
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
10688
|
+
}
|
|
10689
|
+
_next(undefined);
|
|
10690
|
+
});
|
|
10691
|
+
};
|
|
10692
|
+
}
|
|
10693
|
+
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
10694
|
+
|
|
10695
|
+
/***/ }),
|
|
10696
|
+
|
|
9764
10697
|
/***/ "ccb0":
|
|
9765
10698
|
/***/ (function(module, exports) {
|
|
9766
10699
|
|
|
@@ -11028,17 +11961,6 @@ _select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].install = fun
|
|
|
11028
11961
|
|
|
11029
11962
|
/******/ });
|
|
11030
11963
|
|
|
11031
|
-
/***/ }),
|
|
11032
|
-
|
|
11033
|
-
/***/ "e8bf":
|
|
11034
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11035
|
-
|
|
11036
|
-
"use strict";
|
|
11037
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f765");
|
|
11038
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11039
|
-
/* unused harmony reexport * */
|
|
11040
|
-
|
|
11041
|
-
|
|
11042
11964
|
/***/ }),
|
|
11043
11965
|
|
|
11044
11966
|
/***/ "e974":
|
|
@@ -11262,17 +12184,6 @@ module.exports = require("core-js/modules/es.array.slice.js");
|
|
|
11262
12184
|
|
|
11263
12185
|
module.exports = require("core-js/modules/es.object.keys.js");
|
|
11264
12186
|
|
|
11265
|
-
/***/ }),
|
|
11266
|
-
|
|
11267
|
-
/***/ "ec09":
|
|
11268
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11269
|
-
|
|
11270
|
-
"use strict";
|
|
11271
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4d90");
|
|
11272
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11273
|
-
/* unused harmony reexport * */
|
|
11274
|
-
|
|
11275
|
-
|
|
11276
12187
|
/***/ }),
|
|
11277
12188
|
|
|
11278
12189
|
/***/ "ec71":
|
|
@@ -13289,13 +14200,6 @@ src_radio.install = function (Vue) {
|
|
|
13289
14200
|
|
|
13290
14201
|
/***/ }),
|
|
13291
14202
|
|
|
13292
|
-
/***/ "f765":
|
|
13293
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13294
|
-
|
|
13295
|
-
// extracted by mini-css-extract-plugin
|
|
13296
|
-
|
|
13297
|
-
/***/ }),
|
|
13298
|
-
|
|
13299
14203
|
/***/ "f989":
|
|
13300
14204
|
/***/ (function(module, exports) {
|
|
13301
14205
|
|
|
@@ -13338,7 +14242,7 @@ if (typeof window !== 'undefined') {
|
|
|
13338
14242
|
// Indicate to webpack that this file can be concatenated
|
|
13339
14243
|
/* harmony default export */ var setPublicPath = (null);
|
|
13340
14244
|
|
|
13341
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14245
|
+
// 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=1f482509&scoped=true&
|
|
13342
14246
|
var render = function render() {
|
|
13343
14247
|
var _vm = this,
|
|
13344
14248
|
_c = _vm._self._c;
|
|
@@ -13626,12 +14530,31 @@ var render = function render() {
|
|
|
13626
14530
|
domProps: {
|
|
13627
14531
|
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13628
14532
|
}
|
|
13629
|
-
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('
|
|
13630
|
-
key: "
|
|
14533
|
+
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('selections-group', {
|
|
14534
|
+
key: "systemsSelection",
|
|
14535
|
+
ref: "systemsSelection",
|
|
13631
14536
|
attrs: {
|
|
13632
14537
|
"title": "Systems",
|
|
14538
|
+
"labelKey": "name",
|
|
13633
14539
|
"identifierKey": "name",
|
|
13634
|
-
"
|
|
14540
|
+
"selections": _vm.systems,
|
|
14541
|
+
"colourStyle": "background"
|
|
14542
|
+
},
|
|
14543
|
+
on: {
|
|
14544
|
+
"changed": _vm.systemSelected,
|
|
14545
|
+
"checkAll": _vm.checkAllSystems
|
|
14546
|
+
}
|
|
14547
|
+
}) : _vm._e(), !_vm.isFC && _vm.centreLines && _vm.centreLines.length > 0 ? _c('selections-group', {
|
|
14548
|
+
key: "centrelinesSelection",
|
|
14549
|
+
ref: "centrelinesSelection",
|
|
14550
|
+
attrs: {
|
|
14551
|
+
"title": "Nerves",
|
|
14552
|
+
"labelKey": "label",
|
|
14553
|
+
"identifierKey": "key",
|
|
14554
|
+
"selections": _vm.centreLines
|
|
14555
|
+
},
|
|
14556
|
+
on: {
|
|
14557
|
+
"changed": _vm.centreLinesSelected
|
|
13635
14558
|
}
|
|
13636
14559
|
}) : _vm._e(), _vm.isFC && _vm.sckanDisplay && _vm.sckanDisplay.length > 0 ? _c('selections-group', {
|
|
13637
14560
|
key: "skcanSelection",
|
|
@@ -13666,6 +14589,7 @@ var render = function render() {
|
|
|
13666
14589
|
"title": "Pathways",
|
|
13667
14590
|
"labelKey": "label",
|
|
13668
14591
|
"identifierKey": "type",
|
|
14592
|
+
"colourStyle": "line",
|
|
13669
14593
|
"selections": _vm.pathways
|
|
13670
14594
|
},
|
|
13671
14595
|
on: {
|
|
@@ -13801,7 +14725,7 @@ var render = function render() {
|
|
|
13801
14725
|
ref: "tooltip",
|
|
13802
14726
|
staticClass: "tooltip",
|
|
13803
14727
|
attrs: {
|
|
13804
|
-
"
|
|
14728
|
+
"entry": _vm.tooltipEntry
|
|
13805
14729
|
},
|
|
13806
14730
|
on: {
|
|
13807
14731
|
"resource-selected": _vm.resourceSelected
|
|
@@ -13810,7 +14734,7 @@ var render = function render() {
|
|
|
13810
14734
|
};
|
|
13811
14735
|
var staticRenderFns = [];
|
|
13812
14736
|
|
|
13813
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
14737
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=1f482509&scoped=true&
|
|
13814
14738
|
|
|
13815
14739
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13816
14740
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -13937,101 +14861,501 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13937
14861
|
}
|
|
13938
14862
|
};
|
|
13939
14863
|
}
|
|
13940
|
-
// EXTERNAL MODULE:
|
|
13941
|
-
var
|
|
14864
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.async-iterator.js"
|
|
14865
|
+
var es_symbol_async_iterator_js_ = __webpack_require__("a52a");
|
|
13942
14866
|
|
|
13943
|
-
// EXTERNAL MODULE:
|
|
13944
|
-
var
|
|
14867
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-string-tag.js"
|
|
14868
|
+
var es_symbol_to_string_tag_js_ = __webpack_require__("14f0");
|
|
13945
14869
|
|
|
13946
|
-
// EXTERNAL MODULE:
|
|
13947
|
-
var
|
|
13948
|
-
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
14870
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.to-string-tag.js"
|
|
14871
|
+
var es_json_to_string_tag_js_ = __webpack_require__("12fb");
|
|
13949
14872
|
|
|
13950
|
-
// EXTERNAL MODULE:
|
|
13951
|
-
var
|
|
14873
|
+
// EXTERNAL MODULE: external "core-js/modules/es.math.to-string-tag.js"
|
|
14874
|
+
var es_math_to_string_tag_js_ = __webpack_require__("7267");
|
|
13952
14875
|
|
|
13953
|
-
// EXTERNAL MODULE:
|
|
13954
|
-
var
|
|
13955
|
-
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
14876
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-prototype-of.js"
|
|
14877
|
+
var es_object_get_prototype_of_js_ = __webpack_require__("362b");
|
|
13956
14878
|
|
|
13957
|
-
// EXTERNAL MODULE:
|
|
13958
|
-
var
|
|
14879
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
14880
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
13959
14881
|
|
|
13960
|
-
// EXTERNAL MODULE:
|
|
13961
|
-
var
|
|
13962
|
-
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
14882
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
14883
|
+
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13963
14884
|
|
|
13964
|
-
// EXTERNAL MODULE:
|
|
13965
|
-
var
|
|
14885
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.set-prototype-of.js"
|
|
14886
|
+
var es_object_set_prototype_of_js_ = __webpack_require__("4086");
|
|
13966
14887
|
|
|
13967
|
-
// EXTERNAL MODULE:
|
|
13968
|
-
var
|
|
13969
|
-
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
14888
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.proto.js"
|
|
14889
|
+
var es_object_proto_js_ = __webpack_require__("7949");
|
|
13970
14890
|
|
|
13971
|
-
// EXTERNAL MODULE:
|
|
13972
|
-
var
|
|
14891
|
+
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14892
|
+
var es_promise_js_ = __webpack_require__("ec71");
|
|
13973
14893
|
|
|
13974
|
-
//
|
|
13975
|
-
var lib_col = __webpack_require__("c2cc");
|
|
13976
|
-
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
14894
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
13977
14895
|
|
|
13978
|
-
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13979
|
-
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13980
14896
|
|
|
13981
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
13982
|
-
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
13983
14897
|
|
|
13984
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13985
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13986
14898
|
|
|
13987
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
13988
|
-
var es_array_push_js_ = __webpack_require__("2439");
|
|
13989
14899
|
|
|
13990
|
-
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
13991
|
-
var es_set_js_ = __webpack_require__("8535");
|
|
13992
14900
|
|
|
13993
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
13994
|
-
var es_string_search_js_ = __webpack_require__("1c32");
|
|
13995
14901
|
|
|
13996
|
-
|
|
13997
|
-
|
|
14902
|
+
function _typeof(obj) {
|
|
14903
|
+
"@babel/helpers - typeof";
|
|
13998
14904
|
|
|
13999
|
-
|
|
14000
|
-
|
|
14001
|
-
|
|
14905
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14906
|
+
return typeof obj;
|
|
14907
|
+
} : function (obj) {
|
|
14908
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14909
|
+
}, _typeof(obj);
|
|
14910
|
+
}
|
|
14911
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
14002
14912
|
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14028
|
-
|
|
14029
|
-
}
|
|
14030
|
-
|
|
14031
|
-
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14913
|
+
|
|
14914
|
+
|
|
14915
|
+
|
|
14916
|
+
|
|
14917
|
+
|
|
14918
|
+
|
|
14919
|
+
|
|
14920
|
+
|
|
14921
|
+
|
|
14922
|
+
|
|
14923
|
+
|
|
14924
|
+
|
|
14925
|
+
|
|
14926
|
+
|
|
14927
|
+
|
|
14928
|
+
|
|
14929
|
+
|
|
14930
|
+
|
|
14931
|
+
|
|
14932
|
+
|
|
14933
|
+
function _regeneratorRuntime() {
|
|
14934
|
+
"use strict";
|
|
14935
|
+
|
|
14936
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
14937
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
14938
|
+
return exports;
|
|
14939
|
+
};
|
|
14940
|
+
var exports = {},
|
|
14941
|
+
Op = Object.prototype,
|
|
14942
|
+
hasOwn = Op.hasOwnProperty,
|
|
14943
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
14944
|
+
obj[key] = desc.value;
|
|
14945
|
+
},
|
|
14946
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
14947
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
14948
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
14949
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
14950
|
+
function define(obj, key, value) {
|
|
14951
|
+
return Object.defineProperty(obj, key, {
|
|
14952
|
+
value: value,
|
|
14953
|
+
enumerable: !0,
|
|
14954
|
+
configurable: !0,
|
|
14955
|
+
writable: !0
|
|
14956
|
+
}), obj[key];
|
|
14957
|
+
}
|
|
14958
|
+
try {
|
|
14959
|
+
define({}, "");
|
|
14960
|
+
} catch (err) {
|
|
14961
|
+
define = function define(obj, key, value) {
|
|
14962
|
+
return obj[key] = value;
|
|
14963
|
+
};
|
|
14964
|
+
}
|
|
14965
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
14966
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
14967
|
+
generator = Object.create(protoGenerator.prototype),
|
|
14968
|
+
context = new Context(tryLocsList || []);
|
|
14969
|
+
return defineProperty(generator, "_invoke", {
|
|
14970
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
14971
|
+
}), generator;
|
|
14972
|
+
}
|
|
14973
|
+
function tryCatch(fn, obj, arg) {
|
|
14974
|
+
try {
|
|
14975
|
+
return {
|
|
14976
|
+
type: "normal",
|
|
14977
|
+
arg: fn.call(obj, arg)
|
|
14978
|
+
};
|
|
14979
|
+
} catch (err) {
|
|
14980
|
+
return {
|
|
14981
|
+
type: "throw",
|
|
14982
|
+
arg: err
|
|
14983
|
+
};
|
|
14984
|
+
}
|
|
14985
|
+
}
|
|
14986
|
+
exports.wrap = wrap;
|
|
14987
|
+
var ContinueSentinel = {};
|
|
14988
|
+
function Generator() {}
|
|
14989
|
+
function GeneratorFunction() {}
|
|
14990
|
+
function GeneratorFunctionPrototype() {}
|
|
14991
|
+
var IteratorPrototype = {};
|
|
14992
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
14993
|
+
return this;
|
|
14994
|
+
});
|
|
14995
|
+
var getProto = Object.getPrototypeOf,
|
|
14996
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
14997
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
14998
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
14999
|
+
function defineIteratorMethods(prototype) {
|
|
15000
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
15001
|
+
define(prototype, method, function (arg) {
|
|
15002
|
+
return this._invoke(method, arg);
|
|
15003
|
+
});
|
|
15004
|
+
});
|
|
15005
|
+
}
|
|
15006
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
15007
|
+
function invoke(method, arg, resolve, reject) {
|
|
15008
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
15009
|
+
if ("throw" !== record.type) {
|
|
15010
|
+
var result = record.arg,
|
|
15011
|
+
value = result.value;
|
|
15012
|
+
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
15013
|
+
invoke("next", value, resolve, reject);
|
|
15014
|
+
}, function (err) {
|
|
15015
|
+
invoke("throw", err, resolve, reject);
|
|
15016
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
15017
|
+
result.value = unwrapped, resolve(result);
|
|
15018
|
+
}, function (error) {
|
|
15019
|
+
return invoke("throw", error, resolve, reject);
|
|
15020
|
+
});
|
|
15021
|
+
}
|
|
15022
|
+
reject(record.arg);
|
|
15023
|
+
}
|
|
15024
|
+
var previousPromise;
|
|
15025
|
+
defineProperty(this, "_invoke", {
|
|
15026
|
+
value: function value(method, arg) {
|
|
15027
|
+
function callInvokeWithMethodAndArg() {
|
|
15028
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
15029
|
+
invoke(method, arg, resolve, reject);
|
|
15030
|
+
});
|
|
15031
|
+
}
|
|
15032
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
15033
|
+
}
|
|
15034
|
+
});
|
|
15035
|
+
}
|
|
15036
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
15037
|
+
var state = "suspendedStart";
|
|
15038
|
+
return function (method, arg) {
|
|
15039
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
15040
|
+
if ("completed" === state) {
|
|
15041
|
+
if ("throw" === method) throw arg;
|
|
15042
|
+
return doneResult();
|
|
15043
|
+
}
|
|
15044
|
+
for (context.method = method, context.arg = arg;;) {
|
|
15045
|
+
var delegate = context.delegate;
|
|
15046
|
+
if (delegate) {
|
|
15047
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
15048
|
+
if (delegateResult) {
|
|
15049
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
15050
|
+
return delegateResult;
|
|
15051
|
+
}
|
|
15052
|
+
}
|
|
15053
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
15054
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
15055
|
+
context.dispatchException(context.arg);
|
|
15056
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
15057
|
+
state = "executing";
|
|
15058
|
+
var record = tryCatch(innerFn, self, context);
|
|
15059
|
+
if ("normal" === record.type) {
|
|
15060
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
15061
|
+
return {
|
|
15062
|
+
value: record.arg,
|
|
15063
|
+
done: context.done
|
|
15064
|
+
};
|
|
15065
|
+
}
|
|
15066
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
15067
|
+
}
|
|
15068
|
+
};
|
|
15069
|
+
}
|
|
15070
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
15071
|
+
var methodName = context.method,
|
|
15072
|
+
method = delegate.iterator[methodName];
|
|
15073
|
+
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;
|
|
15074
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
15075
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
15076
|
+
var info = record.arg;
|
|
15077
|
+
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);
|
|
15078
|
+
}
|
|
15079
|
+
function pushTryEntry(locs) {
|
|
15080
|
+
var entry = {
|
|
15081
|
+
tryLoc: locs[0]
|
|
15082
|
+
};
|
|
15083
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
15084
|
+
}
|
|
15085
|
+
function resetTryEntry(entry) {
|
|
15086
|
+
var record = entry.completion || {};
|
|
15087
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
15088
|
+
}
|
|
15089
|
+
function Context(tryLocsList) {
|
|
15090
|
+
this.tryEntries = [{
|
|
15091
|
+
tryLoc: "root"
|
|
15092
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
15093
|
+
}
|
|
15094
|
+
function values(iterable) {
|
|
15095
|
+
if (iterable) {
|
|
15096
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
15097
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
15098
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
15099
|
+
if (!isNaN(iterable.length)) {
|
|
15100
|
+
var i = -1,
|
|
15101
|
+
next = function next() {
|
|
15102
|
+
for (; ++i < iterable.length;) {
|
|
15103
|
+
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
15104
|
+
}
|
|
15105
|
+
return next.value = undefined, next.done = !0, next;
|
|
15106
|
+
};
|
|
15107
|
+
return next.next = next;
|
|
15108
|
+
}
|
|
15109
|
+
}
|
|
15110
|
+
return {
|
|
15111
|
+
next: doneResult
|
|
15112
|
+
};
|
|
15113
|
+
}
|
|
15114
|
+
function doneResult() {
|
|
15115
|
+
return {
|
|
15116
|
+
value: undefined,
|
|
15117
|
+
done: !0
|
|
15118
|
+
};
|
|
15119
|
+
}
|
|
15120
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
15121
|
+
value: GeneratorFunctionPrototype,
|
|
15122
|
+
configurable: !0
|
|
15123
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
15124
|
+
value: GeneratorFunction,
|
|
15125
|
+
configurable: !0
|
|
15126
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
15127
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
15128
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
15129
|
+
}, exports.mark = function (genFun) {
|
|
15130
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
15131
|
+
}, exports.awrap = function (arg) {
|
|
15132
|
+
return {
|
|
15133
|
+
__await: arg
|
|
15134
|
+
};
|
|
15135
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
15136
|
+
return this;
|
|
15137
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
15138
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
15139
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
15140
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
15141
|
+
return result.done ? result.value : iter.next();
|
|
15142
|
+
});
|
|
15143
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
15144
|
+
return this;
|
|
15145
|
+
}), define(Gp, "toString", function () {
|
|
15146
|
+
return "[object Generator]";
|
|
15147
|
+
}), exports.keys = function (val) {
|
|
15148
|
+
var object = Object(val),
|
|
15149
|
+
keys = [];
|
|
15150
|
+
for (var key in object) {
|
|
15151
|
+
keys.push(key);
|
|
15152
|
+
}
|
|
15153
|
+
return keys.reverse(), function next() {
|
|
15154
|
+
for (; keys.length;) {
|
|
15155
|
+
var key = keys.pop();
|
|
15156
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
15157
|
+
}
|
|
15158
|
+
return next.done = !0, next;
|
|
15159
|
+
};
|
|
15160
|
+
}, exports.values = values, Context.prototype = {
|
|
15161
|
+
constructor: Context,
|
|
15162
|
+
reset: function reset(skipTempReset) {
|
|
15163
|
+
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) {
|
|
15164
|
+
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
15165
|
+
}
|
|
15166
|
+
},
|
|
15167
|
+
stop: function stop() {
|
|
15168
|
+
this.done = !0;
|
|
15169
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
15170
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
15171
|
+
return this.rval;
|
|
15172
|
+
},
|
|
15173
|
+
dispatchException: function dispatchException(exception) {
|
|
15174
|
+
if (this.done) throw exception;
|
|
15175
|
+
var context = this;
|
|
15176
|
+
function handle(loc, caught) {
|
|
15177
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
15178
|
+
}
|
|
15179
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15180
|
+
var entry = this.tryEntries[i],
|
|
15181
|
+
record = entry.completion;
|
|
15182
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
15183
|
+
if (entry.tryLoc <= this.prev) {
|
|
15184
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
15185
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
15186
|
+
if (hasCatch && hasFinally) {
|
|
15187
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
15188
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
15189
|
+
} else if (hasCatch) {
|
|
15190
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
15191
|
+
} else {
|
|
15192
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
15193
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
15194
|
+
}
|
|
15195
|
+
}
|
|
15196
|
+
}
|
|
15197
|
+
},
|
|
15198
|
+
abrupt: function abrupt(type, arg) {
|
|
15199
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15200
|
+
var entry = this.tryEntries[i];
|
|
15201
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
15202
|
+
var finallyEntry = entry;
|
|
15203
|
+
break;
|
|
15204
|
+
}
|
|
15205
|
+
}
|
|
15206
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
15207
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
15208
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
15209
|
+
},
|
|
15210
|
+
complete: function complete(record, afterLoc) {
|
|
15211
|
+
if ("throw" === record.type) throw record.arg;
|
|
15212
|
+
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;
|
|
15213
|
+
},
|
|
15214
|
+
finish: function finish(finallyLoc) {
|
|
15215
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15216
|
+
var entry = this.tryEntries[i];
|
|
15217
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
15218
|
+
}
|
|
15219
|
+
},
|
|
15220
|
+
"catch": function _catch(tryLoc) {
|
|
15221
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15222
|
+
var entry = this.tryEntries[i];
|
|
15223
|
+
if (entry.tryLoc === tryLoc) {
|
|
15224
|
+
var record = entry.completion;
|
|
15225
|
+
if ("throw" === record.type) {
|
|
15226
|
+
var thrown = record.arg;
|
|
15227
|
+
resetTryEntry(entry);
|
|
15228
|
+
}
|
|
15229
|
+
return thrown;
|
|
15230
|
+
}
|
|
15231
|
+
}
|
|
15232
|
+
throw new Error("illegal catch attempt");
|
|
15233
|
+
},
|
|
15234
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
15235
|
+
return this.delegate = {
|
|
15236
|
+
iterator: values(iterable),
|
|
15237
|
+
resultName: resultName,
|
|
15238
|
+
nextLoc: nextLoc
|
|
15239
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
15240
|
+
}
|
|
15241
|
+
}, exports;
|
|
15242
|
+
}
|
|
15243
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
15244
|
+
|
|
15245
|
+
|
|
15246
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
15247
|
+
try {
|
|
15248
|
+
var info = gen[key](arg);
|
|
15249
|
+
var value = info.value;
|
|
15250
|
+
} catch (error) {
|
|
15251
|
+
reject(error);
|
|
15252
|
+
return;
|
|
15253
|
+
}
|
|
15254
|
+
if (info.done) {
|
|
15255
|
+
resolve(value);
|
|
15256
|
+
} else {
|
|
15257
|
+
Promise.resolve(value).then(_next, _throw);
|
|
15258
|
+
}
|
|
15259
|
+
}
|
|
15260
|
+
function _asyncToGenerator(fn) {
|
|
15261
|
+
return function () {
|
|
15262
|
+
var self = this,
|
|
15263
|
+
args = arguments;
|
|
15264
|
+
return new Promise(function (resolve, reject) {
|
|
15265
|
+
var gen = fn.apply(self, args);
|
|
15266
|
+
function _next(value) {
|
|
15267
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
15268
|
+
}
|
|
15269
|
+
function _throw(err) {
|
|
15270
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
15271
|
+
}
|
|
15272
|
+
_next(undefined);
|
|
15273
|
+
});
|
|
15274
|
+
};
|
|
15275
|
+
}
|
|
15276
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
15277
|
+
var row = __webpack_require__("7a0f");
|
|
15278
|
+
|
|
15279
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/base.css
|
|
15280
|
+
var base = __webpack_require__("450d");
|
|
15281
|
+
|
|
15282
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
15283
|
+
var lib_row = __webpack_require__("0f6c");
|
|
15284
|
+
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
15285
|
+
|
|
15286
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
15287
|
+
var radio_group = __webpack_require__("fe07");
|
|
15288
|
+
|
|
15289
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
15290
|
+
var lib_radio_group = __webpack_require__("6ac5");
|
|
15291
|
+
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
15292
|
+
|
|
15293
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
15294
|
+
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
15295
|
+
|
|
15296
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
15297
|
+
var lib_radio = __webpack_require__("f494");
|
|
15298
|
+
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
15299
|
+
|
|
15300
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
15301
|
+
var loading = __webpack_require__("be4f");
|
|
15302
|
+
|
|
15303
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
15304
|
+
var lib_loading = __webpack_require__("896a");
|
|
15305
|
+
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
15306
|
+
|
|
15307
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
15308
|
+
var col = __webpack_require__("f4f9");
|
|
15309
|
+
|
|
15310
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
15311
|
+
var lib_col = __webpack_require__("c2cc");
|
|
15312
|
+
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
15313
|
+
|
|
15314
|
+
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
15315
|
+
var es_set_js_ = __webpack_require__("8535");
|
|
15316
|
+
|
|
15317
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
15318
|
+
var es_string_search_js_ = __webpack_require__("1c32");
|
|
15319
|
+
|
|
15320
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
15321
|
+
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
15322
|
+
|
|
15323
|
+
// EXTERNAL MODULE: external "vue"
|
|
15324
|
+
var external_vue_ = __webpack_require__("8bbf");
|
|
15325
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
15326
|
+
|
|
15327
|
+
// 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&
|
|
15328
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
15329
|
+
var _vm = this,
|
|
15330
|
+
_c = _vm._self._c;
|
|
15331
|
+
return _c('div', {
|
|
15332
|
+
staticClass: "tooltip-container"
|
|
15333
|
+
}, [_vm.entry ? _c('el-main', {
|
|
15334
|
+
directives: [{
|
|
15335
|
+
name: "loading",
|
|
15336
|
+
rawName: "v-loading",
|
|
15337
|
+
value: _vm.loading,
|
|
15338
|
+
expression: "loading"
|
|
15339
|
+
}],
|
|
15340
|
+
staticClass: "main"
|
|
15341
|
+
}, [_vm.entry.title ? _c('div', {
|
|
15342
|
+
staticClass: "block"
|
|
15343
|
+
}, [_c('span', {
|
|
15344
|
+
staticClass: "title"
|
|
15345
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.entry.title)))])]) : _c('div', {
|
|
15346
|
+
staticClass: "block"
|
|
15347
|
+
}, [_c('span', {
|
|
15348
|
+
staticClass: "title"
|
|
15349
|
+
}, [_vm._v(_vm._s(_vm.entry.featureId))])]), _c('div', {
|
|
15350
|
+
staticClass: "content-container scrollbar"
|
|
15351
|
+
}, [_vm._v(" " + _vm._s(_vm.entry.paths) + " "), _vm.entry.origins && _vm.entry.origins.length > 0 ? _c('div', {
|
|
15352
|
+
staticClass: "block"
|
|
15353
|
+
}, [_c('div', [_c('span', {
|
|
15354
|
+
staticClass: "attribute-title"
|
|
15355
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
15356
|
+
attrs: {
|
|
15357
|
+
"width": "250",
|
|
15358
|
+
"trigger": "hover",
|
|
14035
15359
|
"append-to-body": false,
|
|
14036
15360
|
"popper-class": "popover-origin-help"
|
|
14037
15361
|
}
|
|
@@ -14045,36 +15369,36 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14045
15369
|
staticStyle: {
|
|
14046
15370
|
"word-break": "keep-all"
|
|
14047
15371
|
}
|
|
14048
|
-
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
15372
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.entry.origins, function (origin, i) {
|
|
14049
15373
|
return _c('div', {
|
|
14050
15374
|
key: origin,
|
|
14051
15375
|
staticClass: "attribute-content"
|
|
14052
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
15376
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.entry.origins.length - 1 ? _c('div', {
|
|
14053
15377
|
staticClass: "seperator"
|
|
14054
15378
|
}) : _vm._e()]);
|
|
14055
15379
|
}), _c('el-button', {
|
|
14056
15380
|
directives: [{
|
|
14057
15381
|
name: "show",
|
|
14058
15382
|
rawName: "v-show",
|
|
14059
|
-
value: _vm.originsWithDatasets.length > 0,
|
|
14060
|
-
expression: "originsWithDatasets.length > 0"
|
|
15383
|
+
value: _vm.entry.originsWithDatasets && _vm.entry.originsWithDatasets.length > 0,
|
|
15384
|
+
expression: "entry.originsWithDatasets && entry.originsWithDatasets.length > 0"
|
|
14061
15385
|
}],
|
|
14062
15386
|
staticClass: "button",
|
|
14063
15387
|
on: {
|
|
14064
15388
|
"click": _vm.openDendrites
|
|
14065
15389
|
}
|
|
14066
|
-
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.components && _vm.components.length > 0 ? _c('div', {
|
|
15390
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.entry.components && _vm.entry.components.length > 0 ? _c('div', {
|
|
14067
15391
|
staticClass: "block"
|
|
14068
15392
|
}, [_c('div', {
|
|
14069
15393
|
staticClass: "attribute-title"
|
|
14070
|
-
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
15394
|
+
}, [_vm._v("Components")]), _vm._l(_vm.entry.components, function (component, i) {
|
|
14071
15395
|
return _c('div', {
|
|
14072
15396
|
key: component,
|
|
14073
15397
|
staticClass: "attribute-content"
|
|
14074
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
15398
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.entry.components.length - 1 ? _c('div', {
|
|
14075
15399
|
staticClass: "seperator"
|
|
14076
15400
|
}) : _vm._e()]);
|
|
14077
|
-
})], 2) : _vm._e(), _vm.destinations && _vm.destinations.length > 0 ? _c('div', {
|
|
15401
|
+
})], 2) : _vm._e(), _vm.entry.destinations && _vm.entry.destinations.length > 0 ? _c('div', {
|
|
14078
15402
|
staticClass: "block"
|
|
14079
15403
|
}, [_c('div', [_c('span', {
|
|
14080
15404
|
staticClass: "attribute-title"
|
|
@@ -14095,19 +15419,19 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14095
15419
|
staticStyle: {
|
|
14096
15420
|
"word-break": "keep-all"
|
|
14097
15421
|
}
|
|
14098
|
-
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
15422
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.entry.destinations, function (destination, i) {
|
|
14099
15423
|
return _c('div', {
|
|
14100
15424
|
key: destination,
|
|
14101
15425
|
staticClass: "attribute-content"
|
|
14102
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
15426
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.entry.destinations.length - 1 ? _c('div', {
|
|
14103
15427
|
staticClass: "seperator"
|
|
14104
15428
|
}) : _vm._e()]);
|
|
14105
15429
|
}), _c('el-button', {
|
|
14106
15430
|
directives: [{
|
|
14107
15431
|
name: "show",
|
|
14108
15432
|
rawName: "v-show",
|
|
14109
|
-
value: _vm.destinationsWithDatasets.length > 0,
|
|
14110
|
-
expression: "destinationsWithDatasets.length > 0"
|
|
15433
|
+
value: _vm.entry.destinationsWithDatasets && _vm.entry.destinationsWithDatasets.length > 0,
|
|
15434
|
+
expression: "entry.destinationsWithDatasets && entry.destinationsWithDatasets.length > 0"
|
|
14111
15435
|
}],
|
|
14112
15436
|
staticClass: "button",
|
|
14113
15437
|
on: {
|
|
@@ -14117,72 +15441,23 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14117
15441
|
directives: [{
|
|
14118
15442
|
name: "show",
|
|
14119
15443
|
rawName: "v-show",
|
|
14120
|
-
value: _vm.componentsWithDatasets.length > 0,
|
|
14121
|
-
expression: "componentsWithDatasets.length > 0"
|
|
15444
|
+
value: _vm.entry.componentsWithDatasets && _vm.entry.componentsWithDatasets.length > 0,
|
|
15445
|
+
expression: "entry.componentsWithDatasets && entry.componentsWithDatasets.length > 0"
|
|
14122
15446
|
}],
|
|
14123
15447
|
staticClass: "button",
|
|
14124
15448
|
on: {
|
|
14125
15449
|
"click": _vm.openAll
|
|
14126
15450
|
}
|
|
14127
|
-
}, [_vm._v(" Search for data on components ")]),
|
|
14128
|
-
directives: [{
|
|
14129
|
-
name: "show",
|
|
14130
|
-
rawName: "v-show",
|
|
14131
|
-
value: false,
|
|
14132
|
-
expression: "false"
|
|
14133
|
-
}],
|
|
14134
|
-
attrs: {
|
|
14135
|
-
"entry": _vm.content
|
|
14136
|
-
},
|
|
14137
|
-
on: {
|
|
14138
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14139
|
-
}
|
|
14140
|
-
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14141
|
-
staticClass: "button",
|
|
15451
|
+
}, [_vm._v(" Search for data on components ")]), _c('external-resource-card', {
|
|
14142
15452
|
attrs: {
|
|
14143
|
-
"
|
|
14144
|
-
},
|
|
14145
|
-
on: {
|
|
14146
|
-
"click": function click($event) {
|
|
14147
|
-
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14148
|
-
}
|
|
15453
|
+
"resources": _vm.resources
|
|
14149
15454
|
}
|
|
14150
|
-
}
|
|
15455
|
+
})], 1)]) : _vm._e()], 1);
|
|
14151
15456
|
};
|
|
14152
|
-
var
|
|
14153
|
-
|
|
14154
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4125ac3a&scoped=true&
|
|
14155
|
-
|
|
14156
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
14157
|
-
|
|
14158
|
-
function _arrayWithoutHoles(arr) {
|
|
14159
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
14160
|
-
}
|
|
14161
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
14162
|
-
|
|
15457
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns = [];
|
|
14163
15458
|
|
|
15459
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4ffcf7c8&scoped=true&
|
|
14164
15460
|
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
function _iterableToArray(iter) {
|
|
14171
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14172
|
-
}
|
|
14173
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14174
|
-
|
|
14175
|
-
function _nonIterableSpread() {
|
|
14176
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14177
|
-
}
|
|
14178
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
|
|
14182
|
-
|
|
14183
|
-
function _toConsumableArray(arr) {
|
|
14184
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
14185
|
-
}
|
|
14186
15461
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
14187
15462
|
var main = __webpack_require__("de31");
|
|
14188
15463
|
|
|
@@ -14221,27 +15496,15 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
14221
15496
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
14222
15497
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
14223
15498
|
|
|
14224
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
14225
|
-
var
|
|
15499
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
15500
|
+
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
15501
|
+
|
|
15502
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
15503
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
14226
15504
|
|
|
14227
15505
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
14228
15506
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
14229
15507
|
|
|
14230
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
14231
|
-
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
14232
|
-
|
|
14233
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
14234
|
-
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
14235
|
-
|
|
14236
|
-
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14237
|
-
var es_promise_js_ = __webpack_require__("ec71");
|
|
14238
|
-
|
|
14239
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
14240
|
-
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
14241
|
-
|
|
14242
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
14243
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
14244
|
-
|
|
14245
15508
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
14246
15509
|
var en = __webpack_require__("b2d6");
|
|
14247
15510
|
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
@@ -14250,138 +15513,74 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
14250
15513
|
var locale = __webpack_require__("4897");
|
|
14251
15514
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14252
15515
|
|
|
14253
|
-
// CONCATENATED MODULE: ./
|
|
14254
|
-
|
|
15516
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
15517
|
+
|
|
15518
|
+
var EventBus = new external_vue_default.a();
|
|
15519
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
15520
|
+
// 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&
|
|
15521
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14255
15522
|
var _vm = this,
|
|
14256
15523
|
_c = _vm._self._c;
|
|
14257
15524
|
return _c('div', {
|
|
14258
|
-
staticClass: "
|
|
14259
|
-
})
|
|
15525
|
+
staticClass: "resource-container"
|
|
15526
|
+
}, [_vm._l(_vm.resources, function (resource) {
|
|
15527
|
+
return [_c('div', {
|
|
15528
|
+
key: resource.id,
|
|
15529
|
+
staticClass: "resource"
|
|
15530
|
+
}, [resource.id === 'pubmed' ? _c('el-button', {
|
|
15531
|
+
staticClass: "button",
|
|
15532
|
+
attrs: {
|
|
15533
|
+
"icon": "el-icon-notebook-2"
|
|
15534
|
+
},
|
|
15535
|
+
on: {
|
|
15536
|
+
"click": function click($event) {
|
|
15537
|
+
return _vm.openUrl(resource.url);
|
|
15538
|
+
}
|
|
15539
|
+
}
|
|
15540
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)];
|
|
15541
|
+
})], 2);
|
|
14260
15542
|
};
|
|
14261
|
-
var
|
|
14262
|
-
|
|
14263
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14264
|
-
|
|
14265
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
14266
|
-
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
14267
|
-
|
|
14268
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
14269
|
-
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
14270
|
-
|
|
14271
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
14272
|
-
|
|
14273
|
-
|
|
14274
|
-
|
|
14275
|
-
|
|
15543
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = [];
|
|
14276
15544
|
|
|
15545
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
|
|
14277
15546
|
|
|
15547
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ExternalResourceCard.vue?vue&type=script&lang=js&
|
|
14278
15548
|
|
|
14279
15549
|
|
|
14280
15550
|
|
|
14281
15551
|
|
|
14282
15552
|
/* eslint-disable no-alert, no-console */
|
|
14283
15553
|
|
|
14284
|
-
|
|
14285
|
-
|
|
15554
|
+
external_vue_default.a.use(lib_button_default.a);
|
|
15555
|
+
/* harmony default export */ var ExternalResourceCardvue_type_script_lang_js_ = ({
|
|
15556
|
+
name: "ExternalResourceCard",
|
|
14286
15557
|
props: {
|
|
14287
|
-
|
|
14288
|
-
type:
|
|
14289
|
-
default: function _default() {
|
|
14290
|
-
|
|
14291
|
-
},
|
|
14292
|
-
watch: {
|
|
14293
|
-
'entry.featureIds': {
|
|
14294
|
-
handler: function handler(ids) {
|
|
14295
|
-
this.pubmedQueryOnIds(ids);
|
|
15558
|
+
resources: {
|
|
15559
|
+
type: Array,
|
|
15560
|
+
default: function _default() {
|
|
15561
|
+
return [];
|
|
14296
15562
|
}
|
|
14297
15563
|
}
|
|
14298
15564
|
},
|
|
14299
|
-
inject: ['flatmapAPI'],
|
|
14300
15565
|
data: function data() {
|
|
14301
15566
|
return {
|
|
14302
15567
|
pubmeds: [],
|
|
14303
15568
|
pubmedIds: []
|
|
14304
15569
|
};
|
|
14305
15570
|
},
|
|
14306
|
-
mounted: function mounted() {
|
|
14307
|
-
if (this.entry.featureIds) this.pubmedQueryOnIds(this.entry.featureIds);
|
|
14308
|
-
},
|
|
14309
15571
|
methods: {
|
|
14310
|
-
|
|
14311
|
-
return
|
|
14312
|
-
},
|
|
14313
|
-
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
14314
|
-
var sql = 'select distinct publication from publications where entity in (';
|
|
14315
|
-
if (keastIds.length === 1) {
|
|
14316
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14317
|
-
} else if (keastIds.length > 1) {
|
|
14318
|
-
for (var i in keastIds) {
|
|
14319
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14320
|
-
}
|
|
14321
|
-
}
|
|
14322
|
-
return sql;
|
|
14323
|
-
},
|
|
14324
|
-
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
14325
|
-
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
14326
|
-
},
|
|
14327
|
-
flatmapQuery: function flatmapQuery(sql) {
|
|
14328
|
-
var data = {
|
|
14329
|
-
sql: sql
|
|
14330
|
-
};
|
|
14331
|
-
return fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14332
|
-
method: 'POST',
|
|
14333
|
-
headers: {
|
|
14334
|
-
'Content-Type': 'application/json'
|
|
14335
|
-
},
|
|
14336
|
-
body: JSON.stringify(data)
|
|
14337
|
-
}).then(function (response) {
|
|
14338
|
-
return response.json();
|
|
14339
|
-
}).catch(function (error) {
|
|
14340
|
-
console.error('Error:', error);
|
|
14341
|
-
});
|
|
15572
|
+
capitalise: function capitalise(string) {
|
|
15573
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
14342
15574
|
},
|
|
14343
|
-
|
|
14344
|
-
|
|
14345
|
-
if (!keastIds || keastIds.length === 0) return;
|
|
14346
|
-
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14347
|
-
this.flatmapQuery(sql).then(function (data) {
|
|
14348
|
-
_this.responseData = data;
|
|
14349
|
-
// Create pubmed url on paths if we have them
|
|
14350
|
-
if (data.values.length > 0) {
|
|
14351
|
-
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14352
|
-
return _this.stripPMIDPrefix(id[0]);
|
|
14353
|
-
})));
|
|
14354
|
-
} else {
|
|
14355
|
-
// Create pubmed url on models
|
|
14356
|
-
_this.pubmedQueryOnModels(_this.entry.source);
|
|
14357
|
-
}
|
|
14358
|
-
});
|
|
14359
|
-
},
|
|
14360
|
-
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14361
|
-
var _this2 = this;
|
|
14362
|
-
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14363
|
-
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
14364
|
-
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
14365
|
-
return _this2.stripPMIDPrefix(id[0]);
|
|
14366
|
-
})));
|
|
14367
|
-
} else {
|
|
14368
|
-
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
14369
|
-
}
|
|
14370
|
-
});
|
|
14371
|
-
},
|
|
14372
|
-
|
|
14373
|
-
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
14374
|
-
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
14375
|
-
var params = new URLSearchParams();
|
|
14376
|
-
params.append('term', ids);
|
|
14377
|
-
return url + params.toString();
|
|
15575
|
+
openUrl: function openUrl(url) {
|
|
15576
|
+
window.open(url, '_blank');
|
|
14378
15577
|
}
|
|
14379
15578
|
}
|
|
14380
15579
|
});
|
|
14381
|
-
// CONCATENATED MODULE: ./src/components/
|
|
14382
|
-
/* harmony default export */ var
|
|
14383
|
-
// EXTERNAL MODULE: ./src/components/
|
|
14384
|
-
var
|
|
15580
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=script&lang=js&
|
|
15581
|
+
/* harmony default export */ var components_ExternalResourceCardvue_type_script_lang_js_ = (ExternalResourceCardvue_type_script_lang_js_);
|
|
15582
|
+
// EXTERNAL MODULE: ./src/components/ExternalResourceCard.vue?vue&type=style&index=0&id=14172b61&prod&scoped=true&lang=scss&
|
|
15583
|
+
var ExternalResourceCardvue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss_ = __webpack_require__("4034");
|
|
14385
15584
|
|
|
14386
15585
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
14387
15586
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -14478,49 +15677,31 @@ function normalizeComponent(
|
|
|
14478
15677
|
return {
|
|
14479
15678
|
exports: scriptExports,
|
|
14480
15679
|
options: options
|
|
14481
|
-
}
|
|
14482
|
-
}
|
|
14483
|
-
|
|
14484
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
|
|
14488
|
-
|
|
14489
|
-
|
|
14490
|
-
|
|
14491
|
-
/* normalize component */
|
|
14492
|
-
|
|
14493
|
-
var component = normalizeComponent(
|
|
14494
|
-
components_PubmedViewervue_type_script_lang_js_,
|
|
14495
|
-
PubmedViewervue_type_template_id_58832c92_scoped_true_render,
|
|
14496
|
-
PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns,
|
|
14497
|
-
false,
|
|
14498
|
-
null,
|
|
14499
|
-
"58832c92",
|
|
14500
|
-
null
|
|
14501
|
-
|
|
14502
|
-
)
|
|
14503
|
-
|
|
14504
|
-
/* harmony default export */ var PubmedViewer = (component.exports);
|
|
14505
|
-
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
14506
|
-
|
|
14507
|
-
var EventBus = new external_vue_default.a();
|
|
14508
|
-
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14509
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14510
|
-
|
|
14511
|
-
|
|
14512
|
-
|
|
14513
|
-
|
|
14514
|
-
|
|
15680
|
+
}
|
|
15681
|
+
}
|
|
14515
15682
|
|
|
15683
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue
|
|
14516
15684
|
|
|
14517
15685
|
|
|
14518
15686
|
|
|
14519
15687
|
|
|
14520
15688
|
|
|
14521
15689
|
|
|
15690
|
+
/* normalize component */
|
|
14522
15691
|
|
|
15692
|
+
var component = normalizeComponent(
|
|
15693
|
+
components_ExternalResourceCardvue_type_script_lang_js_,
|
|
15694
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render,
|
|
15695
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns,
|
|
15696
|
+
false,
|
|
15697
|
+
null,
|
|
15698
|
+
"14172b61",
|
|
15699
|
+
null
|
|
15700
|
+
|
|
15701
|
+
)
|
|
14523
15702
|
|
|
15703
|
+
/* harmony default export */ var ExternalResourceCard = (component.exports);
|
|
15704
|
+
// 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&
|
|
14524
15705
|
|
|
14525
15706
|
|
|
14526
15707
|
|
|
@@ -14554,35 +15735,19 @@ external_vue_default.a.use(lib_header_default.a);
|
|
|
14554
15735
|
external_vue_default.a.use(lib_icon_default.a);
|
|
14555
15736
|
external_vue_default.a.use(lib_main_default.a);
|
|
14556
15737
|
|
|
14557
|
-
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
14558
|
-
|
|
14559
15738
|
|
|
14560
15739
|
var _titleCase = function titleCase(str) {
|
|
14561
15740
|
return str.replace(/\w\S*/g, function (t) {
|
|
14562
15741
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
14563
15742
|
});
|
|
14564
15743
|
};
|
|
14565
|
-
var inArray = function inArray(ar1, ar2) {
|
|
14566
|
-
var as1 = JSON.stringify(ar1);
|
|
14567
|
-
var as2 = JSON.stringify(ar2);
|
|
14568
|
-
return as1.indexOf(as2) !== -1;
|
|
14569
|
-
};
|
|
14570
|
-
|
|
14571
|
-
// remove duplicates by stringifying the objects
|
|
14572
|
-
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
14573
|
-
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
14574
|
-
return JSON.stringify(e);
|
|
14575
|
-
}))).map(function (e) {
|
|
14576
|
-
return JSON.parse(e);
|
|
14577
|
-
});
|
|
14578
|
-
};
|
|
14579
15744
|
var _capitalise = function capitalise(str) {
|
|
14580
15745
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
14581
15746
|
return "";
|
|
14582
15747
|
};
|
|
14583
15748
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
14584
15749
|
components: {
|
|
14585
|
-
|
|
15750
|
+
ExternalResourceCard: ExternalResourceCard
|
|
14586
15751
|
},
|
|
14587
15752
|
name: "Tooltip",
|
|
14588
15753
|
props: {
|
|
@@ -14590,17 +15755,29 @@ var _capitalise = function capitalise(str) {
|
|
|
14590
15755
|
type: Boolean,
|
|
14591
15756
|
default: false
|
|
14592
15757
|
},
|
|
14593
|
-
|
|
15758
|
+
entry: {
|
|
14594
15759
|
type: Object,
|
|
14595
|
-
default:
|
|
15760
|
+
default: function _default() {
|
|
15761
|
+
return {
|
|
15762
|
+
destinations: [],
|
|
15763
|
+
origins: [],
|
|
15764
|
+
components: [],
|
|
15765
|
+
destinationsWithDatasets: [],
|
|
15766
|
+
originsWithDatasets: [],
|
|
15767
|
+
componentsWithDatasets: [],
|
|
15768
|
+
resource: undefined
|
|
15769
|
+
};
|
|
15770
|
+
}
|
|
14596
15771
|
}
|
|
14597
15772
|
},
|
|
14598
15773
|
data: function data() {
|
|
14599
15774
|
return {
|
|
15775
|
+
controller: undefined,
|
|
14600
15776
|
activeSpecies: undefined,
|
|
14601
15777
|
appendToBody: false,
|
|
14602
15778
|
pubmedSearchUrl: '',
|
|
14603
15779
|
loading: false,
|
|
15780
|
+
showToolip: false,
|
|
14604
15781
|
destinations: [],
|
|
14605
15782
|
origins: [],
|
|
14606
15783
|
components: [],
|
|
@@ -14617,20 +15794,16 @@ var _capitalise = function capitalise(str) {
|
|
|
14617
15794
|
}]
|
|
14618
15795
|
};
|
|
14619
15796
|
},
|
|
14620
|
-
inject: ['sparcAPI', 'flatmapAPI'],
|
|
14621
|
-
watch: {
|
|
14622
|
-
'content.featureIds': {
|
|
14623
|
-
handler: function handler() {
|
|
14624
|
-
this.pathwayQuery(this.content.featureIds);
|
|
14625
|
-
}
|
|
14626
|
-
}
|
|
14627
|
-
},
|
|
14628
|
-
mounted: function mounted() {
|
|
14629
|
-
this.getOrganCuries();
|
|
14630
|
-
},
|
|
14631
15797
|
computed: {
|
|
15798
|
+
resources: function resources() {
|
|
15799
|
+
var resources = [];
|
|
15800
|
+
if (this.entry && this.entry.hyperlinks) {
|
|
15801
|
+
resources = this.entry.hyperlinks;
|
|
15802
|
+
}
|
|
15803
|
+
return resources;
|
|
15804
|
+
},
|
|
14632
15805
|
originDescription: function originDescription() {
|
|
14633
|
-
if (this.
|
|
15806
|
+
if (this.entry && this.entry.title && this.entry.title.toLowerCase().includes('motor')) {
|
|
14634
15807
|
return this.originDescriptions.motor;
|
|
14635
15808
|
} else {
|
|
14636
15809
|
return this.originDescriptions.sensory;
|
|
@@ -14679,209 +15852,13 @@ var _capitalise = function capitalise(str) {
|
|
|
14679
15852
|
},
|
|
14680
15853
|
pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
|
|
14681
15854
|
this.pubmedSearchUrl = val;
|
|
14682
|
-
},
|
|
14683
|
-
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
14684
|
-
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14685
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14686
|
-
var found = [];
|
|
14687
|
-
nodes.forEach(function (n) {
|
|
14688
|
-
if (Array.isArray(n)) {
|
|
14689
|
-
found.push(n.flat());
|
|
14690
|
-
} else {
|
|
14691
|
-
found.push(n);
|
|
14692
|
-
}
|
|
14693
|
-
});
|
|
14694
|
-
return _toConsumableArray(new Set(found.flat()));
|
|
14695
|
-
},
|
|
14696
|
-
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14697
|
-
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14698
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14699
|
-
var found = [];
|
|
14700
|
-
nodes.forEach(function (n) {
|
|
14701
|
-
if (Array.isArray(n)) {
|
|
14702
|
-
found.push(n.flat());
|
|
14703
|
-
} else {
|
|
14704
|
-
found.push(n);
|
|
14705
|
-
}
|
|
14706
|
-
});
|
|
14707
|
-
return found.flat();
|
|
14708
|
-
},
|
|
14709
|
-
findComponents: function findComponents(connectivity) {
|
|
14710
|
-
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14711
|
-
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14712
|
-
var found = [];
|
|
14713
|
-
var terminal = false;
|
|
14714
|
-
nodes.forEach(function (node) {
|
|
14715
|
-
terminal = false;
|
|
14716
|
-
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14717
|
-
if (inArray(connectivity.axons, node)) {
|
|
14718
|
-
terminal = true;
|
|
14719
|
-
}
|
|
14720
|
-
if (inArray(connectivity.dendrites, node)) {
|
|
14721
|
-
terminal = true;
|
|
14722
|
-
}
|
|
14723
|
-
if (!terminal) {
|
|
14724
|
-
found.push(node);
|
|
14725
|
-
}
|
|
14726
|
-
});
|
|
14727
|
-
return found;
|
|
14728
|
-
},
|
|
14729
|
-
getOrganCuries: function getOrganCuries() {
|
|
14730
|
-
var _this = this;
|
|
14731
|
-
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
14732
|
-
return response.json();
|
|
14733
|
-
}).then(function (data) {
|
|
14734
|
-
_this.uberons = data.uberon.array;
|
|
14735
|
-
});
|
|
14736
|
-
},
|
|
14737
|
-
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
14738
|
-
var sql = 'select knowledge from knowledge where entity in (';
|
|
14739
|
-
if (keastIds.length === 1) {
|
|
14740
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14741
|
-
} else if (keastIds.length > 1) {
|
|
14742
|
-
for (var i in keastIds) {
|
|
14743
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14744
|
-
}
|
|
14745
|
-
}
|
|
14746
|
-
return sql;
|
|
14747
|
-
},
|
|
14748
|
-
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14749
|
-
var sql = 'select entity, label from labels where entity in (';
|
|
14750
|
-
if (uberons.length === 1) {
|
|
14751
|
-
sql += "'".concat(uberons[0], "')");
|
|
14752
|
-
} else if (uberons.length > 1) {
|
|
14753
|
-
for (var i in uberons) {
|
|
14754
|
-
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14755
|
-
}
|
|
14756
|
-
}
|
|
14757
|
-
return sql;
|
|
14758
|
-
},
|
|
14759
|
-
createLabelLookup: function createLabelLookup(uberons) {
|
|
14760
|
-
var _this2 = this;
|
|
14761
|
-
return new Promise(function (resolve) {
|
|
14762
|
-
var uberonMap = {};
|
|
14763
|
-
var data = {
|
|
14764
|
-
sql: _this2.buildLabelSqlStatement(uberons)
|
|
14765
|
-
};
|
|
14766
|
-
fetch("".concat(_this2.flatmapAPI, "knowledge/query/"), {
|
|
14767
|
-
method: 'POST',
|
|
14768
|
-
headers: {
|
|
14769
|
-
'Content-Type': 'application/json'
|
|
14770
|
-
},
|
|
14771
|
-
body: JSON.stringify(data)
|
|
14772
|
-
}).then(function (response) {
|
|
14773
|
-
return response.json();
|
|
14774
|
-
}).then(function (payload) {
|
|
14775
|
-
var entity = payload.keys.indexOf("entity");
|
|
14776
|
-
var label = payload.keys.indexOf("label");
|
|
14777
|
-
if (entity > -1 && label > -1) {
|
|
14778
|
-
payload.values.forEach(function (pair) {
|
|
14779
|
-
uberonMap[pair[entity]] = pair[label];
|
|
14780
|
-
});
|
|
14781
|
-
}
|
|
14782
|
-
resolve(uberonMap);
|
|
14783
|
-
});
|
|
14784
|
-
});
|
|
14785
|
-
},
|
|
14786
|
-
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14787
|
-
var _this3 = this;
|
|
14788
|
-
var labelList = [];
|
|
14789
|
-
components.forEach(function (n) {
|
|
14790
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14791
|
-
if (n.length === 2) {
|
|
14792
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14793
|
-
}
|
|
14794
|
-
});
|
|
14795
|
-
return labelList;
|
|
14796
|
-
},
|
|
14797
|
-
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14798
|
-
var label = lookUp[node[0]];
|
|
14799
|
-
if (node.length === 2 && node[1].length > 0) {
|
|
14800
|
-
node[1].forEach(function (n) {
|
|
14801
|
-
if (lookUp[n] == undefined) {
|
|
14802
|
-
label += ", ".concat(n);
|
|
14803
|
-
} else {
|
|
14804
|
-
label += ", ".concat(lookUp[n]);
|
|
14805
|
-
}
|
|
14806
|
-
});
|
|
14807
|
-
}
|
|
14808
|
-
return label;
|
|
14809
|
-
},
|
|
14810
|
-
processConnectivity: function processConnectivity(connectivity) {
|
|
14811
|
-
var _this4 = this;
|
|
14812
|
-
// Filter the origin and destinations from components
|
|
14813
|
-
var components = this.findComponents(connectivity);
|
|
14814
|
-
|
|
14815
|
-
// Remove duplicates
|
|
14816
|
-
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14817
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14818
|
-
|
|
14819
|
-
// Create list of ids to get labels for
|
|
14820
|
-
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14821
|
-
|
|
14822
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14823
|
-
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14824
|
-
_this4.destinations = axons.map(function (a) {
|
|
14825
|
-
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
14826
|
-
});
|
|
14827
|
-
_this4.origins = dendrites.map(function (d) {
|
|
14828
|
-
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
14829
|
-
});
|
|
14830
|
-
_this4.components = components.map(function (c) {
|
|
14831
|
-
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
14832
|
-
});
|
|
14833
|
-
});
|
|
14834
|
-
this.flattenAndFindDatasets(components, axons, dendrites);
|
|
14835
|
-
},
|
|
14836
|
-
flattenAndFindDatasets: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
14837
|
-
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14838
|
-
var componentsFlat = this.flattenConntectivity(components);
|
|
14839
|
-
var axonsFlat = this.flattenConntectivity(axons);
|
|
14840
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14841
|
-
|
|
14842
|
-
// Filter for the anatomy which is annotated on datasets
|
|
14843
|
-
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14844
|
-
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14845
|
-
});
|
|
14846
|
-
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
14847
|
-
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
14848
|
-
});
|
|
14849
|
-
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
14850
|
-
return componentsFlat.indexOf(ub.id) !== -1;
|
|
14851
|
-
});
|
|
14852
|
-
},
|
|
14853
|
-
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14854
|
-
var _this5 = this;
|
|
14855
|
-
this.destinations = [];
|
|
14856
|
-
this.origins = [];
|
|
14857
|
-
this.components = [];
|
|
14858
|
-
this.loading = true;
|
|
14859
|
-
if (!keastIds || keastIds.length == 0) return;
|
|
14860
|
-
var data = {
|
|
14861
|
-
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
14862
|
-
};
|
|
14863
|
-
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14864
|
-
method: 'POST',
|
|
14865
|
-
headers: {
|
|
14866
|
-
'Content-Type': 'application/json'
|
|
14867
|
-
},
|
|
14868
|
-
body: JSON.stringify(data)
|
|
14869
|
-
}).then(function (response) {
|
|
14870
|
-
return response.json();
|
|
14871
|
-
}).then(function (data) {
|
|
14872
|
-
var connectivity = JSON.parse(data.values[0][0]);
|
|
14873
|
-
_this5.processConnectivity(connectivity);
|
|
14874
|
-
_this5.loading = false;
|
|
14875
|
-
}).catch(function (error) {
|
|
14876
|
-
console.error('Error:', error);
|
|
14877
|
-
});
|
|
14878
15855
|
}
|
|
14879
15856
|
}
|
|
14880
15857
|
});
|
|
14881
15858
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14882
15859
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14883
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
14884
|
-
var
|
|
15860
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4ffcf7c8&prod&scoped=true&lang=scss&
|
|
15861
|
+
var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __webpack_require__("93b4");
|
|
14885
15862
|
|
|
14886
15863
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14887
15864
|
|
|
@@ -14894,18 +15871,18 @@ var Tooltipvue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss_ = __we
|
|
|
14894
15871
|
|
|
14895
15872
|
var Tooltip_component = normalizeComponent(
|
|
14896
15873
|
components_Tooltipvue_type_script_lang_js_,
|
|
14897
|
-
|
|
14898
|
-
|
|
15874
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render,
|
|
15875
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns,
|
|
14899
15876
|
false,
|
|
14900
15877
|
null,
|
|
14901
|
-
"
|
|
15878
|
+
"4ffcf7c8",
|
|
14902
15879
|
null
|
|
14903
15880
|
|
|
14904
15881
|
)
|
|
14905
15882
|
|
|
14906
15883
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
14907
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14908
|
-
var
|
|
15884
|
+
// 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&
|
|
15885
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render = function render() {
|
|
14909
15886
|
var _vm = this,
|
|
14910
15887
|
_c = _vm._self._c;
|
|
14911
15888
|
return _c('div', {
|
|
@@ -14971,15 +15948,28 @@ var SelectionsGroupvue_type_template_id_f6ac6e34_scoped_true_render = function r
|
|
|
14971
15948
|
return _vm.visibilityToggle(item[_vm.identifierKey], $event);
|
|
14972
15949
|
}
|
|
14973
15950
|
}
|
|
15951
|
+
}, [_c('el-row', {
|
|
15952
|
+
staticClass: "checkbox-row"
|
|
15953
|
+
}, [_c('el-col', {
|
|
15954
|
+
attrs: {
|
|
15955
|
+
"span": 4
|
|
15956
|
+
}
|
|
14974
15957
|
}, [_c('div', {
|
|
14975
15958
|
staticClass: "path-visual",
|
|
14976
|
-
style: _vm.
|
|
14977
|
-
}),
|
|
15959
|
+
style: _vm.getLineStyles(item)
|
|
15960
|
+
})]), _c('el-col', {
|
|
15961
|
+
attrs: {
|
|
15962
|
+
"span": 20
|
|
15963
|
+
}
|
|
15964
|
+
}, [_c('div', {
|
|
15965
|
+
staticClass: "label-text",
|
|
15966
|
+
style: _vm.getBackgroundStyles(item)
|
|
15967
|
+
}, [_vm._v(" " + _vm._s(item[_vm.labelKey]) + " ")])])], 1)], 1)], 1)]);
|
|
14978
15968
|
}), 1)])], 1);
|
|
14979
15969
|
};
|
|
14980
|
-
var
|
|
15970
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns = [];
|
|
14981
15971
|
|
|
14982
|
-
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=
|
|
15972
|
+
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=1f69f0e7&scoped=true&
|
|
14983
15973
|
|
|
14984
15974
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/checkbox-group.css
|
|
14985
15975
|
var checkbox_group = __webpack_require__("d4df");
|
|
@@ -14995,6 +15985,9 @@ var theme_chalk_checkbox = __webpack_require__("560b");
|
|
|
14995
15985
|
var lib_checkbox = __webpack_require__("dcdc");
|
|
14996
15986
|
var lib_checkbox_default = /*#__PURE__*/__webpack_require__.n(lib_checkbox);
|
|
14997
15987
|
|
|
15988
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
15989
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
15990
|
+
|
|
14998
15991
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectionsGroup.vue?vue&type=script&lang=js&
|
|
14999
15992
|
|
|
15000
15993
|
|
|
@@ -15063,24 +16056,37 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15063
16056
|
value: val
|
|
15064
16057
|
});
|
|
15065
16058
|
},
|
|
15066
|
-
|
|
15067
|
-
if ('colour' in item) {
|
|
16059
|
+
getBackgroundStyles: function getBackgroundStyles(item) {
|
|
16060
|
+
if ('colour' in item && this.colourStyle === "background") {
|
|
16061
|
+
return {
|
|
16062
|
+
background: item.colour
|
|
16063
|
+
};
|
|
16064
|
+
}
|
|
16065
|
+
return {};
|
|
16066
|
+
},
|
|
16067
|
+
getLineStyles: function getLineStyles(item) {
|
|
16068
|
+
if ('colour' in item && this.colourStyle === "line") {
|
|
15068
16069
|
if ('dashed' in item && item.dashed === true) {
|
|
15069
16070
|
var background = "repeating-linear-gradient(90deg,".concat(item.colour, ",").concat(item.colour, " 6px,transparent 0,transparent 9px)");
|
|
15070
16071
|
return {
|
|
15071
|
-
|
|
16072
|
+
background: background
|
|
15072
16073
|
};
|
|
15073
16074
|
} else {
|
|
15074
|
-
var _background = item.colour;
|
|
15075
16075
|
return {
|
|
15076
|
-
background:
|
|
16076
|
+
background: item.colour
|
|
15077
16077
|
};
|
|
15078
16078
|
}
|
|
15079
16079
|
}
|
|
15080
|
-
return {
|
|
16080
|
+
return {
|
|
16081
|
+
display: "None"
|
|
16082
|
+
};
|
|
15081
16083
|
}
|
|
15082
16084
|
},
|
|
15083
16085
|
props: {
|
|
16086
|
+
colourStyle: {
|
|
16087
|
+
type: String,
|
|
16088
|
+
default: "line"
|
|
16089
|
+
},
|
|
15084
16090
|
identifierKey: {
|
|
15085
16091
|
type: String,
|
|
15086
16092
|
default: "id"
|
|
@@ -15121,8 +16127,8 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15121
16127
|
});
|
|
15122
16128
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=script&lang=js&
|
|
15123
16129
|
/* harmony default export */ var components_SelectionsGroupvue_type_script_lang_js_ = (SelectionsGroupvue_type_script_lang_js_);
|
|
15124
|
-
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=
|
|
15125
|
-
var
|
|
16130
|
+
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=1f69f0e7&prod&scoped=true&lang=scss&
|
|
16131
|
+
var SelectionsGroupvue_type_style_index_0_id_1f69f0e7_prod_scoped_true_lang_scss_ = __webpack_require__("7b79");
|
|
15126
16132
|
|
|
15127
16133
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue
|
|
15128
16134
|
|
|
@@ -15135,11 +16141,11 @@ var SelectionsGroupvue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss
|
|
|
15135
16141
|
|
|
15136
16142
|
var SelectionsGroup_component = normalizeComponent(
|
|
15137
16143
|
components_SelectionsGroupvue_type_script_lang_js_,
|
|
15138
|
-
|
|
15139
|
-
|
|
16144
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render,
|
|
16145
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns,
|
|
15140
16146
|
false,
|
|
15141
16147
|
null,
|
|
15142
|
-
"
|
|
16148
|
+
"1f69f0e7",
|
|
15143
16149
|
null
|
|
15144
16150
|
|
|
15145
16151
|
)
|
|
@@ -15148,110 +16154,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15148
16154
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15149
16155
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15150
16156
|
|
|
15151
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15152
|
-
var DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_render = function render() {
|
|
15153
|
-
var _vm = this,
|
|
15154
|
-
_c = _vm._self._c;
|
|
15155
|
-
return _c('div', [_c('el-row', [_c('el-col', {
|
|
15156
|
-
attrs: {
|
|
15157
|
-
"span": 12
|
|
15158
|
-
}
|
|
15159
|
-
}, [_c('div', {
|
|
15160
|
-
staticClass: "title-display-text"
|
|
15161
|
-
}, [_vm._v(_vm._s(_vm.title))])])], 1), _c('div', {
|
|
15162
|
-
staticClass: "legends-group"
|
|
15163
|
-
}, _vm._l(_vm.lists, function (item) {
|
|
15164
|
-
return _c('el-row', {
|
|
15165
|
-
key: item[_vm.identifierKey],
|
|
15166
|
-
attrs: {
|
|
15167
|
-
"label": item[_vm.identifierKey]
|
|
15168
|
-
}
|
|
15169
|
-
}, [_c('div', {
|
|
15170
|
-
staticClass: "legends-container"
|
|
15171
|
-
}, [_c('div', {
|
|
15172
|
-
staticClass: "legends-visual",
|
|
15173
|
-
style: {
|
|
15174
|
-
background: item[_vm.colourKey]
|
|
15175
|
-
}
|
|
15176
|
-
}), _c('div', {
|
|
15177
|
-
staticClass: "label"
|
|
15178
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(item[_vm.identifierKey])) + " ")])])]);
|
|
15179
|
-
}), 1)], 1);
|
|
15180
|
-
};
|
|
15181
|
-
var DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_staticRenderFns = [];
|
|
15182
|
-
|
|
15183
|
-
// CONCATENATED MODULE: ./src/components/legends/DynamicLegends.vue?vue&type=template&id=7ea6eb51&scoped=true&
|
|
15184
|
-
|
|
15185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/DynamicLegends.vue?vue&type=script&lang=js&
|
|
15186
|
-
|
|
15187
|
-
|
|
15188
|
-
|
|
15189
|
-
|
|
15190
|
-
|
|
15191
|
-
|
|
15192
|
-
|
|
15193
|
-
/* eslint-disable no-alert, no-console */
|
|
15194
|
-
|
|
15195
|
-
|
|
15196
|
-
|
|
15197
|
-
locale_default.a.use(en_default.a);
|
|
15198
|
-
external_vue_default.a.use(lib_col_default.a);
|
|
15199
|
-
external_vue_default.a.use(lib_row_default.a);
|
|
15200
|
-
/* harmony default export */ var DynamicLegendsvue_type_script_lang_js_ = ({
|
|
15201
|
-
name: "DynamicLegends",
|
|
15202
|
-
props: {
|
|
15203
|
-
identifierKey: {
|
|
15204
|
-
type: String,
|
|
15205
|
-
default: "id"
|
|
15206
|
-
},
|
|
15207
|
-
colourKey: {
|
|
15208
|
-
type: String,
|
|
15209
|
-
default: "colour"
|
|
15210
|
-
},
|
|
15211
|
-
title: {
|
|
15212
|
-
type: String,
|
|
15213
|
-
default: ""
|
|
15214
|
-
},
|
|
15215
|
-
lists: {
|
|
15216
|
-
type: Array,
|
|
15217
|
-
default: function _default() {
|
|
15218
|
-
return [];
|
|
15219
|
-
}
|
|
15220
|
-
}
|
|
15221
|
-
},
|
|
15222
|
-
methods: {
|
|
15223
|
-
capitalise: function capitalise(label) {
|
|
15224
|
-
return label.charAt(0).toUpperCase() + label.slice(1).toLowerCase();
|
|
15225
|
-
}
|
|
15226
|
-
}
|
|
15227
|
-
});
|
|
15228
|
-
// CONCATENATED MODULE: ./src/components/legends/DynamicLegends.vue?vue&type=script&lang=js&
|
|
15229
|
-
/* harmony default export */ var legends_DynamicLegendsvue_type_script_lang_js_ = (DynamicLegendsvue_type_script_lang_js_);
|
|
15230
|
-
// EXTERNAL MODULE: ./src/components/legends/DynamicLegends.vue?vue&type=style&index=0&id=7ea6eb51&prod&scoped=true&lang=scss&
|
|
15231
|
-
var DynamicLegendsvue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss_ = __webpack_require__("e8bf");
|
|
15232
|
-
|
|
15233
|
-
// CONCATENATED MODULE: ./src/components/legends/DynamicLegends.vue
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
/* normalize component */
|
|
15241
|
-
|
|
15242
|
-
var DynamicLegends_component = normalizeComponent(
|
|
15243
|
-
legends_DynamicLegendsvue_type_script_lang_js_,
|
|
15244
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_render,
|
|
15245
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_staticRenderFns,
|
|
15246
|
-
false,
|
|
15247
|
-
null,
|
|
15248
|
-
"7ea6eb51",
|
|
15249
|
-
null
|
|
15250
|
-
|
|
15251
|
-
)
|
|
15252
|
-
|
|
15253
|
-
/* harmony default export */ var DynamicLegends = (DynamicLegends_component.exports);
|
|
15254
|
-
// 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/legends/SvgLegends.vue?vue&type=template&id=3d3218c8&scoped=true&
|
|
16157
|
+
// 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&
|
|
15255
16158
|
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15256
16159
|
var _vm = this,
|
|
15257
16160
|
_c = _vm._self._c;
|
|
@@ -15367,6 +16270,9 @@ var SvgLegends_component = normalizeComponent(
|
|
|
15367
16270
|
/* harmony default export */ var SvgLegends = (SvgLegends_component.exports);
|
|
15368
16271
|
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15369
16272
|
/* 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>');
|
|
16273
|
+
// EXTERNAL MODULE: ./src/services/flatmapQueries.js
|
|
16274
|
+
var flatmapQueries = __webpack_require__("3630");
|
|
16275
|
+
|
|
15370
16276
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15371
16277
|
|
|
15372
16278
|
|
|
@@ -15414,10 +16320,20 @@ external_vue_default.a.use(lib_radio_default.a);
|
|
|
15414
16320
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
15415
16321
|
external_vue_default.a.use(lib_row_default.a);
|
|
15416
16322
|
var ResizeSensor = __webpack_require__("ae66");
|
|
16323
|
+
var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
16324
|
+
return {
|
|
16325
|
+
destinations: [],
|
|
16326
|
+
origins: [],
|
|
16327
|
+
components: [],
|
|
16328
|
+
destinationsWithDatasets: [],
|
|
16329
|
+
originsWithDatasets: [],
|
|
16330
|
+
componentsWithDatasets: [],
|
|
16331
|
+
resource: undefined
|
|
16332
|
+
};
|
|
16333
|
+
};
|
|
15417
16334
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
15418
16335
|
name: "FlatmapVuer",
|
|
15419
16336
|
components: {
|
|
15420
|
-
DynamicLegends: DynamicLegends,
|
|
15421
16337
|
MapSvgIcon: svg_sprite_["MapSvgIcon"],
|
|
15422
16338
|
MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"],
|
|
15423
16339
|
Tooltip: Tooltip,
|
|
@@ -15491,6 +16407,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15491
16407
|
if (this.$refs.layersSelection) {
|
|
15492
16408
|
this.$refs.layersSelection.reset();
|
|
15493
16409
|
}
|
|
16410
|
+
if (this.$refs.systemsSelection) {
|
|
16411
|
+
this.$refs.pathwaysSelection.reset();
|
|
16412
|
+
}
|
|
15494
16413
|
if (this.$refs.pathwaysSelection) {
|
|
15495
16414
|
this.$refs.pathwaysSelection.reset();
|
|
15496
16415
|
}
|
|
@@ -15516,7 +16435,6 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15516
16435
|
},
|
|
15517
16436
|
centreLinesSelected: function centreLinesSelected(payload) {
|
|
15518
16437
|
if (this.mapImp) {
|
|
15519
|
-
console.log(payload.value);
|
|
15520
16438
|
this.mapImp.enableCentrelines(payload.value);
|
|
15521
16439
|
}
|
|
15522
16440
|
},
|
|
@@ -15533,16 +16451,29 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15533
16451
|
});
|
|
15534
16452
|
}
|
|
15535
16453
|
},
|
|
16454
|
+
systemSelected: function systemSelected(payload) {
|
|
16455
|
+
if (this.mapImp) {
|
|
16456
|
+
this.mapImp.enableSystem(payload.key, payload.value);
|
|
16457
|
+
}
|
|
16458
|
+
},
|
|
16459
|
+
checkAllSystems: function checkAllSystems(payload) {
|
|
16460
|
+
var _this2 = this;
|
|
16461
|
+
if (this.mapImp) {
|
|
16462
|
+
payload.keys.forEach(function (key) {
|
|
16463
|
+
return _this2.mapImp.enableSystem(key, payload.value);
|
|
16464
|
+
});
|
|
16465
|
+
}
|
|
16466
|
+
},
|
|
15536
16467
|
layersSelected: function layersSelected(payload) {
|
|
15537
16468
|
if (this.mapImp) {
|
|
15538
16469
|
this.mapImp.enableLayer(payload.key, payload.value);
|
|
15539
16470
|
}
|
|
15540
16471
|
},
|
|
15541
16472
|
checkAllLayers: function checkAllLayers(payload) {
|
|
15542
|
-
var
|
|
16473
|
+
var _this3 = this;
|
|
15543
16474
|
if (this.mapImp) {
|
|
15544
16475
|
payload.keys.forEach(function (key) {
|
|
15545
|
-
return
|
|
16476
|
+
return _this3.mapImp.enableLayer(key, payload.value);
|
|
15546
16477
|
});
|
|
15547
16478
|
}
|
|
15548
16479
|
},
|
|
@@ -15552,10 +16483,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15552
16483
|
}
|
|
15553
16484
|
},
|
|
15554
16485
|
checkAllPathways: function checkAllPathways(payload) {
|
|
15555
|
-
var
|
|
16486
|
+
var _this4 = this;
|
|
15556
16487
|
if (this.mapImp) {
|
|
15557
16488
|
payload.keys.forEach(function (key) {
|
|
15558
|
-
return
|
|
16489
|
+
return _this4.mapImp.enablePath(key, payload.value);
|
|
15559
16490
|
});
|
|
15560
16491
|
}
|
|
15561
16492
|
},
|
|
@@ -15563,13 +16494,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15563
16494
|
this.mapImp.enablePanZoomEvents(flag);
|
|
15564
16495
|
},
|
|
15565
16496
|
eventCallback: function eventCallback() {
|
|
15566
|
-
var
|
|
16497
|
+
var _this5 = this;
|
|
15567
16498
|
return function (eventType, data) {
|
|
15568
16499
|
if (eventType !== "pan-zoom") {
|
|
15569
16500
|
var label = data.label;
|
|
15570
16501
|
var resource = [data.models];
|
|
15571
|
-
var taxonomy =
|
|
15572
|
-
var biologicalSex =
|
|
16502
|
+
var taxonomy = _this5.entry;
|
|
16503
|
+
var biologicalSex = _this5.biologicalSex;
|
|
15573
16504
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
15574
16505
|
args[_key - 2] = arguments[_key];
|
|
15575
16506
|
}
|
|
@@ -15583,25 +16514,48 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15583
16514
|
userData: args,
|
|
15584
16515
|
eventType: eventType
|
|
15585
16516
|
};
|
|
15586
|
-
|
|
15587
|
-
|
|
15588
|
-
|
|
16517
|
+
if (data && data.type !== "marker" && eventType === "click") {
|
|
16518
|
+
_this5.checkAndCreatePopups(payload);
|
|
16519
|
+
}
|
|
16520
|
+
_this5.$emit("resource-selected", payload);
|
|
15589
16521
|
} else {
|
|
15590
|
-
|
|
16522
|
+
_this5.$emit("pan-zoom-callback", data);
|
|
15591
16523
|
}
|
|
15592
16524
|
};
|
|
15593
16525
|
},
|
|
15594
16526
|
// checkNeuronClicked shows a neuron path pop up if a path was recently clicked
|
|
15595
|
-
checkAndCreatePopups: function
|
|
15596
|
-
|
|
15597
|
-
|
|
15598
|
-
|
|
15599
|
-
|
|
15600
|
-
|
|
15601
|
-
|
|
15602
|
-
|
|
16527
|
+
checkAndCreatePopups: function () {
|
|
16528
|
+
var _checkAndCreatePopups = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
16529
|
+
var connections;
|
|
16530
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16531
|
+
while (1) {
|
|
16532
|
+
switch (_context.prev = _context.next) {
|
|
16533
|
+
case 0:
|
|
16534
|
+
_context.next = 2;
|
|
16535
|
+
return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
|
|
16536
|
+
case 2:
|
|
16537
|
+
connections = _context.sent;
|
|
16538
|
+
if (!connections) {
|
|
16539
|
+
if (data.feature.hyperlinks) {
|
|
16540
|
+
this.resourceForTooltip = data.resource[0];
|
|
16541
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16542
|
+
}
|
|
16543
|
+
} else {
|
|
16544
|
+
this.resourceForTooltip = data.resource[0];
|
|
16545
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16546
|
+
}
|
|
16547
|
+
case 4:
|
|
16548
|
+
case "end":
|
|
16549
|
+
return _context.stop();
|
|
16550
|
+
}
|
|
16551
|
+
}
|
|
16552
|
+
}, _callee, this);
|
|
16553
|
+
}));
|
|
16554
|
+
function checkAndCreatePopups(_x) {
|
|
16555
|
+
return _checkAndCreatePopups.apply(this, arguments);
|
|
15603
16556
|
}
|
|
15604
|
-
|
|
16557
|
+
return checkAndCreatePopups;
|
|
16558
|
+
}(),
|
|
15605
16559
|
popUpCssHacks: function popUpCssHacks() {
|
|
15606
16560
|
// Below is a hack to remove flatmap tooltips while popup is open
|
|
15607
16561
|
var ftooltip = document.querySelector(".flatmap-tooltip-popup");
|
|
@@ -15615,66 +16569,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15615
16569
|
resourceSelected: function resourceSelected(action) {
|
|
15616
16570
|
this.$emit("resource-selected", action);
|
|
15617
16571
|
},
|
|
15618
|
-
hasNeuronTooltip: function hasNeuronTooltip(data) {
|
|
15619
|
-
// neural data check
|
|
15620
|
-
if (data.resource[0]) {
|
|
15621
|
-
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
15622
|
-
return true;
|
|
15623
|
-
}
|
|
15624
|
-
}
|
|
15625
|
-
// annotated with datset check
|
|
15626
|
-
if (data.dataset) {
|
|
15627
|
-
return true;
|
|
15628
|
-
}
|
|
15629
|
-
|
|
15630
|
-
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
15631
|
-
return false;
|
|
15632
|
-
},
|
|
15633
16572
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
title: undefined,
|
|
15637
|
-
components: undefined,
|
|
15638
|
-
start: undefined,
|
|
15639
|
-
distribution: undefined,
|
|
15640
|
-
actions: []
|
|
15641
|
-
};
|
|
15642
|
-
this.tooltipVisible = false;
|
|
15643
|
-
|
|
15644
|
-
// neural data check
|
|
15645
|
-
if (feature) {
|
|
15646
|
-
if (feature.includes('ilxtr:neuron')) {
|
|
15647
|
-
this.tooltipVisible = true;
|
|
15648
|
-
this.tooltipContent = content;
|
|
15649
|
-
this.tooltipContent.uberon = feature;
|
|
15650
|
-
this.tooltipContent.source = data.feature.source;
|
|
15651
|
-
this.tooltipContent.title = data.label;
|
|
15652
|
-
this.tooltipContent.featureIds = [feature];
|
|
15653
|
-
this.tooltipContent.actions.push({
|
|
15654
|
-
title: "Search for datasets",
|
|
15655
|
-
label: "Neuron Datasets",
|
|
15656
|
-
resource: feature.split(":")[1],
|
|
15657
|
-
type: "Neuron Search",
|
|
15658
|
-
feature: feature,
|
|
15659
|
-
nervePath: true
|
|
15660
|
-
});
|
|
15661
|
-
}
|
|
15662
|
-
}
|
|
15663
|
-
// annotated with datset check
|
|
15664
|
-
if (data.dataset) {
|
|
15665
|
-
this.tooltipVisible = true;
|
|
15666
|
-
this.tooltipContent = content;
|
|
15667
|
-
this.tooltipContent.uberon = feature;
|
|
15668
|
-
this.tooltipContent.source = data.feature.source;
|
|
15669
|
-
this.tooltipContent.title = data.label;
|
|
15670
|
-
this.tooltipContent.actions.push({
|
|
15671
|
-
title: "View dataset",
|
|
15672
|
-
resource: data.dataset,
|
|
15673
|
-
type: "URL",
|
|
15674
|
-
feature: feature,
|
|
15675
|
-
nervePath: false
|
|
15676
|
-
});
|
|
15677
|
-
}
|
|
16573
|
+
this.tooltipEntry = this.flatmapQueries.createTooltipData(data);
|
|
16574
|
+
this.displayTooltip();
|
|
15678
16575
|
},
|
|
15679
16576
|
// Keeping this as an API
|
|
15680
16577
|
showPopup: function showPopup(featureId, node, options) {
|
|
@@ -15710,9 +16607,11 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15710
16607
|
},
|
|
15711
16608
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
15712
16609
|
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
|
|
16610
|
+
if (minimapEl) {
|
|
16611
|
+
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
16612
|
+
minimapEl.appendChild(this.$refs.minimapResize);
|
|
16613
|
+
this.minimapResizeShow = true;
|
|
16614
|
+
}
|
|
15716
16615
|
},
|
|
15717
16616
|
setHelpMode: function setHelpMode(helpMode) {
|
|
15718
16617
|
if (helpMode) {
|
|
@@ -15730,10 +16629,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15730
16629
|
}
|
|
15731
16630
|
},
|
|
15732
16631
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15733
|
-
var
|
|
16632
|
+
var _this6 = this;
|
|
15734
16633
|
if (!this.inHelp) {
|
|
15735
16634
|
this.tooltipWait = setTimeout(function () {
|
|
15736
|
-
|
|
16635
|
+
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
15737
16636
|
}, 500);
|
|
15738
16637
|
}
|
|
15739
16638
|
},
|
|
@@ -15743,6 +16642,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15743
16642
|
clearTimeout(this.tooltipWait);
|
|
15744
16643
|
}
|
|
15745
16644
|
},
|
|
16645
|
+
displayTooltip: function displayTooltip() {
|
|
16646
|
+
this.mapImp.showPopup(this.mapImp.modelFeatureIds(this.resourceForTooltip)[0], this.$refs.tooltip.$el, {
|
|
16647
|
+
className: "flatmapvuer-popover",
|
|
16648
|
+
positionAtLastClick: true
|
|
16649
|
+
});
|
|
16650
|
+
this.popUpCssHacks();
|
|
16651
|
+
},
|
|
15746
16652
|
openFlatmapHelpPopup: function openFlatmapHelpPopup() {
|
|
15747
16653
|
if (this.mapImp) {
|
|
15748
16654
|
var heartId = this.mapImp.featureIdsForModel("UBERON:0000948")[0];
|
|
@@ -15808,7 +16714,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15808
16714
|
}
|
|
15809
16715
|
},
|
|
15810
16716
|
createFlatmap: function createFlatmap(state) {
|
|
15811
|
-
var
|
|
16717
|
+
var _this7 = this;
|
|
15812
16718
|
if (!this.mapImp && !this.loading) {
|
|
15813
16719
|
this.loading = true;
|
|
15814
16720
|
var minimap = false;
|
|
@@ -15872,10 +16778,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15872
16778
|
minimap: minimap
|
|
15873
16779
|
});
|
|
15874
16780
|
promise1.then(function (returnedObject) {
|
|
15875
|
-
|
|
15876
|
-
|
|
15877
|
-
if (
|
|
15878
|
-
|
|
16781
|
+
_this7.mapImp = returnedObject;
|
|
16782
|
+
_this7.onFlatmapReady();
|
|
16783
|
+
if (_this7._stateToBeSet) _this7.restoreMapState(_this7._stateToBeSet);else {
|
|
16784
|
+
_this7.restoreMapState(state);
|
|
15879
16785
|
}
|
|
15880
16786
|
});
|
|
15881
16787
|
} else if (state) {
|
|
@@ -15896,10 +16802,18 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15896
16802
|
}
|
|
15897
16803
|
},
|
|
15898
16804
|
mapResize: function mapResize() {
|
|
15899
|
-
|
|
15900
|
-
this.mapImp
|
|
16805
|
+
try {
|
|
16806
|
+
if (this.mapImp) {
|
|
16807
|
+
this.mapImp.resize();
|
|
16808
|
+
this.showMinimap(this.displayMinimap);
|
|
16809
|
+
if (this.mapImp._minimap) {
|
|
16810
|
+
this.mapImp._minimap.resize();
|
|
16811
|
+
}
|
|
16812
|
+
}
|
|
16813
|
+
this.computePathControlsMaximumHeight();
|
|
16814
|
+
} catch (_unused) {
|
|
16815
|
+
console.error("Map resize error");
|
|
15901
16816
|
}
|
|
15902
|
-
this.computePathControlsMaximumHeight();
|
|
15903
16817
|
},
|
|
15904
16818
|
onFlatmapReady: function onFlatmapReady() {
|
|
15905
16819
|
// onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
|
|
@@ -15911,12 +16825,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15911
16825
|
this.backgroundChangeCallback(this.currentBackground);
|
|
15912
16826
|
this.pathways = this.mapImp.pathTypes();
|
|
15913
16827
|
this.mapImp.enableCentrelines(false);
|
|
15914
|
-
|
|
15915
|
-
|
|
16828
|
+
this.layers = this.mapImp.getLayers();
|
|
16829
|
+
this.systems = this.mapImp.getSystems();
|
|
15916
16830
|
this.addResizeButtonToMinimap();
|
|
15917
16831
|
this.loading = false;
|
|
15918
16832
|
this.computePathControlsMaximumHeight();
|
|
15919
16833
|
this.drawerOpen = true;
|
|
16834
|
+
this.mapResize();
|
|
15920
16835
|
this.$emit("ready", this);
|
|
15921
16836
|
},
|
|
15922
16837
|
showMinimap: function showMinimap(flag) {
|
|
@@ -15974,12 +16889,16 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15974
16889
|
},
|
|
15975
16890
|
pathControls: {
|
|
15976
16891
|
type: Boolean,
|
|
15977
|
-
default:
|
|
16892
|
+
default: false
|
|
15978
16893
|
},
|
|
15979
16894
|
searchable: {
|
|
15980
16895
|
type: Boolean,
|
|
15981
16896
|
default: false
|
|
15982
16897
|
},
|
|
16898
|
+
layerControl: {
|
|
16899
|
+
type: Boolean,
|
|
16900
|
+
default: false
|
|
16901
|
+
},
|
|
15983
16902
|
tooltips: {
|
|
15984
16903
|
type: Boolean,
|
|
15985
16904
|
default: true
|
|
@@ -16053,6 +16972,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16053
16972
|
label: "Display Nerves",
|
|
16054
16973
|
key: "centrelines"
|
|
16055
16974
|
}],
|
|
16975
|
+
systems: [],
|
|
16056
16976
|
pathwaysMaxHeight: 1000,
|
|
16057
16977
|
hoverVisibilities: [{
|
|
16058
16978
|
value: false
|
|
@@ -16077,10 +16997,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16077
16997
|
availableBackground: ["white", "lightskyblue", "black"],
|
|
16078
16998
|
loading: false,
|
|
16079
16999
|
flatmapMarker: flatmap_marker,
|
|
17000
|
+
tooltipEntry: createUnfilledTooltipData(),
|
|
17001
|
+
connectivityTooltipVisible: false,
|
|
17002
|
+
resourceForTooltip: undefined,
|
|
16080
17003
|
drawerOpen: false,
|
|
16081
|
-
tooltipContent: {
|
|
16082
|
-
featureIds: []
|
|
16083
|
-
},
|
|
16084
17004
|
colourRadio: true,
|
|
16085
17005
|
outlinesRadio: true,
|
|
16086
17006
|
minimapResizeShow: false,
|
|
@@ -16106,12 +17026,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16106
17026
|
var flatmap = __webpack_require__("4979");
|
|
16107
17027
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16108
17028
|
if (this.renderAtMounted) this.createFlatmap();
|
|
17029
|
+
this.flatmapQueries = new flatmapQueries["FlatmapQueries"](this.sparcAPI, this.flatmapAPI);
|
|
16109
17030
|
}
|
|
16110
17031
|
});
|
|
16111
17032
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16112
17033
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16113
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16114
|
-
var
|
|
17034
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=1f482509&prod&scoped=true&lang=scss&
|
|
17035
|
+
var FlatmapVuervue_type_style_index_0_id_1f482509_prod_scoped_true_lang_scss_ = __webpack_require__("a47e");
|
|
16115
17036
|
|
|
16116
17037
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16117
17038
|
|
|
@@ -16128,14 +17049,14 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16128
17049
|
staticRenderFns,
|
|
16129
17050
|
false,
|
|
16130
17051
|
null,
|
|
16131
|
-
"
|
|
17052
|
+
"1f482509",
|
|
16132
17053
|
null
|
|
16133
17054
|
|
|
16134
17055
|
)
|
|
16135
17056
|
|
|
16136
17057
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16137
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16138
|
-
var
|
|
17058
|
+
// 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&
|
|
17059
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render = function render() {
|
|
16139
17060
|
var _vm = this,
|
|
16140
17061
|
_c = _vm._self._c;
|
|
16141
17062
|
return _c('div', {
|
|
@@ -16232,6 +17153,7 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16232
17153
|
"minZoom": _vm.minZoom,
|
|
16233
17154
|
"pathControls": _vm.pathControls,
|
|
16234
17155
|
"searchable": _vm.searchable,
|
|
17156
|
+
"layerControl": _vm.layerControl,
|
|
16235
17157
|
"helpMode": _vm.helpMode,
|
|
16236
17158
|
"renderAtMounted": _vm.renderAtMounted,
|
|
16237
17159
|
"displayMinimap": _vm.displayMinimap,
|
|
@@ -16247,9 +17169,9 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16247
17169
|
});
|
|
16248
17170
|
})], 2);
|
|
16249
17171
|
};
|
|
16250
|
-
var
|
|
17172
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns = [];
|
|
16251
17173
|
|
|
16252
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
17174
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=bf82e340&scoped=true&
|
|
16253
17175
|
|
|
16254
17176
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16255
17177
|
var popover = __webpack_require__("06f1");
|
|
@@ -16581,6 +17503,10 @@ var TAXON_UUID = {
|
|
|
16581
17503
|
type: Boolean,
|
|
16582
17504
|
default: false
|
|
16583
17505
|
},
|
|
17506
|
+
layerControl: {
|
|
17507
|
+
type: Boolean,
|
|
17508
|
+
default: false
|
|
17509
|
+
},
|
|
16584
17510
|
/**
|
|
16585
17511
|
* Initial species for the flatmap.
|
|
16586
17512
|
* This value will be ignored if a valid state object is provided.
|
|
@@ -16687,8 +17613,8 @@ var TAXON_UUID = {
|
|
|
16687
17613
|
});
|
|
16688
17614
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
16689
17615
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
16690
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16691
|
-
var
|
|
17616
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=bf82e340&prod&scoped=true&lang=scss&
|
|
17617
|
+
var MultiFlatmapVuervue_type_style_index_0_id_bf82e340_prod_scoped_true_lang_scss_ = __webpack_require__("c367");
|
|
16692
17618
|
|
|
16693
17619
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
16694
17620
|
|
|
@@ -16701,11 +17627,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scs
|
|
|
16701
17627
|
|
|
16702
17628
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
16703
17629
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
16704
|
-
|
|
16705
|
-
|
|
17630
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render,
|
|
17631
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns,
|
|
16706
17632
|
false,
|
|
16707
17633
|
null,
|
|
16708
|
-
"
|
|
17634
|
+
"bf82e340",
|
|
16709
17635
|
null
|
|
16710
17636
|
|
|
16711
17637
|
)
|