@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -96,6 +96,24 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
+
/***/ "0676":
|
|
100
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
__webpack_require__("dc50");
|
|
103
|
+
function _nonIterableSpread() {
|
|
104
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
105
|
+
}
|
|
106
|
+
module.exports = _nonIterableSpread, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
107
|
+
|
|
108
|
+
/***/ }),
|
|
109
|
+
|
|
110
|
+
/***/ "06b8":
|
|
111
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
112
|
+
|
|
113
|
+
// extracted by mini-css-extract-plugin
|
|
114
|
+
|
|
115
|
+
/***/ }),
|
|
116
|
+
|
|
99
117
|
/***/ "06f1":
|
|
100
118
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
119
|
|
|
@@ -257,6 +275,24 @@ row.install = function (Vue) {
|
|
|
257
275
|
|
|
258
276
|
/***/ }),
|
|
259
277
|
|
|
278
|
+
/***/ "11b0":
|
|
279
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
280
|
+
|
|
281
|
+
__webpack_require__("9b22");
|
|
282
|
+
__webpack_require__("4933");
|
|
283
|
+
__webpack_require__("97d3");
|
|
284
|
+
__webpack_require__("2ff9");
|
|
285
|
+
__webpack_require__("4ccb");
|
|
286
|
+
__webpack_require__("9bb5");
|
|
287
|
+
__webpack_require__("1a25");
|
|
288
|
+
__webpack_require__("4362");
|
|
289
|
+
function _iterableToArray(iter) {
|
|
290
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
291
|
+
}
|
|
292
|
+
module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
293
|
+
|
|
294
|
+
/***/ }),
|
|
295
|
+
|
|
260
296
|
/***/ "12f2":
|
|
261
297
|
/***/ (function(module, exports, __webpack_require__) {
|
|
262
298
|
|
|
@@ -279,6 +315,13 @@ exports.default = function (ref) {
|
|
|
279
315
|
|
|
280
316
|
/***/ }),
|
|
281
317
|
|
|
318
|
+
/***/ "12fb":
|
|
319
|
+
/***/ (function(module, exports) {
|
|
320
|
+
|
|
321
|
+
module.exports = require("core-js/modules/es.json.to-string-tag.js");
|
|
322
|
+
|
|
323
|
+
/***/ }),
|
|
324
|
+
|
|
282
325
|
/***/ "13e3":
|
|
283
326
|
/***/ (function(module, exports) {
|
|
284
327
|
|
|
@@ -714,6 +757,13 @@ module.exports = __webpack_require__("e62d");
|
|
|
714
757
|
|
|
715
758
|
/***/ }),
|
|
716
759
|
|
|
760
|
+
/***/ "14f0":
|
|
761
|
+
/***/ (function(module, exports) {
|
|
762
|
+
|
|
763
|
+
module.exports = require("core-js/modules/es.symbol.to-string-tag.js");
|
|
764
|
+
|
|
765
|
+
/***/ }),
|
|
766
|
+
|
|
717
767
|
/***/ "1951":
|
|
718
768
|
/***/ (function(module, exports, __webpack_require__) {
|
|
719
769
|
|
|
@@ -749,21 +799,21 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
749
799
|
|
|
750
800
|
/***/ }),
|
|
751
801
|
|
|
752
|
-
/***/ "
|
|
802
|
+
/***/ "222e":
|
|
753
803
|
/***/ (function(module, exports, __webpack_require__) {
|
|
754
804
|
|
|
755
805
|
// extracted by mini-css-extract-plugin
|
|
756
806
|
|
|
757
807
|
/***/ }),
|
|
758
808
|
|
|
759
|
-
/***/ "
|
|
760
|
-
/***/ (function(module,
|
|
761
|
-
|
|
762
|
-
"use strict";
|
|
763
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7a9a");
|
|
764
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
765
|
-
/* unused harmony reexport * */
|
|
809
|
+
/***/ "2236":
|
|
810
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
766
811
|
|
|
812
|
+
var arrayLikeToArray = __webpack_require__("5a43");
|
|
813
|
+
function _arrayWithoutHoles(arr) {
|
|
814
|
+
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
|
815
|
+
}
|
|
816
|
+
module.exports = _arrayWithoutHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
767
817
|
|
|
768
818
|
/***/ }),
|
|
769
819
|
|
|
@@ -909,6 +959,402 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
909
959
|
|
|
910
960
|
/***/ }),
|
|
911
961
|
|
|
962
|
+
/***/ "35ee":
|
|
963
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
964
|
+
|
|
965
|
+
// extracted by mini-css-extract-plugin
|
|
966
|
+
|
|
967
|
+
/***/ }),
|
|
968
|
+
|
|
969
|
+
/***/ "362b":
|
|
970
|
+
/***/ (function(module, exports) {
|
|
971
|
+
|
|
972
|
+
module.exports = require("core-js/modules/es.object.get-prototype-of.js");
|
|
973
|
+
|
|
974
|
+
/***/ }),
|
|
975
|
+
|
|
976
|
+
/***/ "3630":
|
|
977
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
978
|
+
|
|
979
|
+
var _regeneratorRuntime = __webpack_require__("7ec2").default;
|
|
980
|
+
var _asyncToGenerator = __webpack_require__("c973").default;
|
|
981
|
+
var _toConsumableArray = __webpack_require__("448a").default;
|
|
982
|
+
__webpack_require__("4391");
|
|
983
|
+
__webpack_require__("4ccb");
|
|
984
|
+
__webpack_require__("97d3");
|
|
985
|
+
__webpack_require__("8535");
|
|
986
|
+
__webpack_require__("9bb5");
|
|
987
|
+
__webpack_require__("1a25");
|
|
988
|
+
__webpack_require__("a9ee");
|
|
989
|
+
__webpack_require__("ec71");
|
|
990
|
+
__webpack_require__("13e3");
|
|
991
|
+
__webpack_require__("ccb0");
|
|
992
|
+
__webpack_require__("da6e");
|
|
993
|
+
__webpack_require__("722b");
|
|
994
|
+
__webpack_require__("2439");
|
|
995
|
+
__webpack_require__("1a89");
|
|
996
|
+
__webpack_require__("712c");
|
|
997
|
+
__webpack_require__("30df");
|
|
998
|
+
/* eslint-disable no-alert, no-console */
|
|
999
|
+
// remove duplicates by stringifying the objects
|
|
1000
|
+
var removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
1001
|
+
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
1002
|
+
return JSON.stringify(e);
|
|
1003
|
+
}))).map(function (e) {
|
|
1004
|
+
return JSON.parse(e);
|
|
1005
|
+
});
|
|
1006
|
+
};
|
|
1007
|
+
var inArray = function inArray(ar1, ar2) {
|
|
1008
|
+
var as1 = JSON.stringify(ar1);
|
|
1009
|
+
var as2 = JSON.stringify(ar2);
|
|
1010
|
+
return as1.indexOf(as2) !== -1;
|
|
1011
|
+
};
|
|
1012
|
+
exports.FlatmapQueries = function (sparcApi, flatmapApi) {
|
|
1013
|
+
var _this = this;
|
|
1014
|
+
this.sparcApi = sparcApi;
|
|
1015
|
+
this.flatmapApi = flatmapApi;
|
|
1016
|
+
this.destinations = [];
|
|
1017
|
+
this.origins = [];
|
|
1018
|
+
this.components = [];
|
|
1019
|
+
this.uberons = [];
|
|
1020
|
+
this.urls = [];
|
|
1021
|
+
this.controller = undefined;
|
|
1022
|
+
this.createTooltipData = function (eventData) {
|
|
1023
|
+
var tooltipData = {
|
|
1024
|
+
destinations: _this.destinations,
|
|
1025
|
+
origins: _this.origins,
|
|
1026
|
+
components: _this.components,
|
|
1027
|
+
destinationsWithDatasets: _this.destinationsWithDatasets,
|
|
1028
|
+
originsWithDatasets: _this.originsWithDatasets,
|
|
1029
|
+
componentsWithDatasets: _this.componentsWithDatasets,
|
|
1030
|
+
title: eventData.label,
|
|
1031
|
+
featureId: eventData.resource,
|
|
1032
|
+
hyperlinks: eventData.feature.hyperlinks ? eventData.feature.hyperlinks : _this.urls.map(function (url) {
|
|
1033
|
+
return {
|
|
1034
|
+
url: url,
|
|
1035
|
+
id: "pubmed"
|
|
1036
|
+
};
|
|
1037
|
+
})
|
|
1038
|
+
};
|
|
1039
|
+
return tooltipData;
|
|
1040
|
+
};
|
|
1041
|
+
var getOrganCuries = function getOrganCuries() {
|
|
1042
|
+
return new Promise(function (resolve) {
|
|
1043
|
+
fetch("".concat(_this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
1044
|
+
return response.json();
|
|
1045
|
+
}).then(function (data) {
|
|
1046
|
+
resolve(data.uberon.array);
|
|
1047
|
+
});
|
|
1048
|
+
});
|
|
1049
|
+
};
|
|
1050
|
+
var createLabelLookup = function createLabelLookup(uberons) {
|
|
1051
|
+
return new Promise(function (resolve) {
|
|
1052
|
+
var uberonMap = {};
|
|
1053
|
+
var data = {
|
|
1054
|
+
sql: buildLabelSqlStatement(uberons)
|
|
1055
|
+
};
|
|
1056
|
+
fetch("".concat(_this.flatmapApi, "knowledge/query/"), {
|
|
1057
|
+
method: 'POST',
|
|
1058
|
+
headers: {
|
|
1059
|
+
'Content-Type': 'application/json'
|
|
1060
|
+
},
|
|
1061
|
+
body: JSON.stringify(data)
|
|
1062
|
+
}).then(function (response) {
|
|
1063
|
+
return response.json();
|
|
1064
|
+
}).then(function (payload) {
|
|
1065
|
+
var entity = payload.keys.indexOf("entity");
|
|
1066
|
+
var label = payload.keys.indexOf("label");
|
|
1067
|
+
if (entity > -1 && label > -1) {
|
|
1068
|
+
payload.values.forEach(function (pair) {
|
|
1069
|
+
uberonMap[pair[entity]] = pair[label];
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
1072
|
+
resolve(uberonMap);
|
|
1073
|
+
});
|
|
1074
|
+
});
|
|
1075
|
+
};
|
|
1076
|
+
getOrganCuries().then(function (uberons) {
|
|
1077
|
+
_this.uberons = uberons;
|
|
1078
|
+
createLabelLookup(uberons).then(function (lookUp) {
|
|
1079
|
+
_this.lookUp = lookUp;
|
|
1080
|
+
});
|
|
1081
|
+
});
|
|
1082
|
+
var buildConnectivitySqlStatement = function buildConnectivitySqlStatement(keastIds) {
|
|
1083
|
+
var sql = 'select knowledge from knowledge where entity in (';
|
|
1084
|
+
if (keastIds.length === 1) {
|
|
1085
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1086
|
+
} else if (keastIds.length > 1) {
|
|
1087
|
+
for (var i in keastIds) {
|
|
1088
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
return sql;
|
|
1092
|
+
};
|
|
1093
|
+
var buildLabelSqlStatement = function buildLabelSqlStatement(uberons) {
|
|
1094
|
+
var sql = 'select entity, label from labels where entity in (';
|
|
1095
|
+
if (uberons.length === 1) {
|
|
1096
|
+
sql += "'".concat(uberons[0], "')");
|
|
1097
|
+
} else if (uberons.length > 1) {
|
|
1098
|
+
for (var i in uberons) {
|
|
1099
|
+
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
return sql;
|
|
1103
|
+
};
|
|
1104
|
+
var findAllIdsFromConnectivity = function findAllIdsFromConnectivity(connectivity) {
|
|
1105
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
1106
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
1107
|
+
var found = [];
|
|
1108
|
+
nodes.forEach(function (n) {
|
|
1109
|
+
if (Array.isArray(n)) {
|
|
1110
|
+
found.push(n.flat());
|
|
1111
|
+
} else {
|
|
1112
|
+
found.push(n);
|
|
1113
|
+
}
|
|
1114
|
+
});
|
|
1115
|
+
return _toConsumableArray(new Set(found.flat()));
|
|
1116
|
+
};
|
|
1117
|
+
this.retrieveFlatmapKnowledgeForEvent = /*#__PURE__*/function () {
|
|
1118
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(eventData) {
|
|
1119
|
+
var signal, keastIds, data, prom1, prom2;
|
|
1120
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
1121
|
+
while (1) {
|
|
1122
|
+
switch (_context.prev = _context.next) {
|
|
1123
|
+
case 0:
|
|
1124
|
+
// check if there is an existing query
|
|
1125
|
+
if (_this.controller) _this.controller.abort();
|
|
1126
|
+
|
|
1127
|
+
// set up the abort controller
|
|
1128
|
+
_this.controller = new AbortController();
|
|
1129
|
+
signal = _this.controller.signal;
|
|
1130
|
+
keastIds = eventData.resource;
|
|
1131
|
+
_this.destinations = [];
|
|
1132
|
+
_this.origins = [];
|
|
1133
|
+
_this.components = [];
|
|
1134
|
+
if (!(!keastIds || keastIds.length == 0)) {
|
|
1135
|
+
_context.next = 9;
|
|
1136
|
+
break;
|
|
1137
|
+
}
|
|
1138
|
+
return _context.abrupt("return");
|
|
1139
|
+
case 9:
|
|
1140
|
+
data = {
|
|
1141
|
+
sql: buildConnectivitySqlStatement(keastIds)
|
|
1142
|
+
};
|
|
1143
|
+
prom1 = new Promise(function (resolve) {
|
|
1144
|
+
fetch("".concat(_this.flatmapApi, "knowledge/query/"), {
|
|
1145
|
+
method: 'POST',
|
|
1146
|
+
headers: {
|
|
1147
|
+
'Content-Type': 'application/json'
|
|
1148
|
+
},
|
|
1149
|
+
body: JSON.stringify(data),
|
|
1150
|
+
signal: signal
|
|
1151
|
+
}).then(function (response) {
|
|
1152
|
+
return response.json();
|
|
1153
|
+
}).then(function (data) {
|
|
1154
|
+
if (connectivityExists(data)) {
|
|
1155
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
1156
|
+
processConnectivity(connectivity).then(function () {
|
|
1157
|
+
resolve(true);
|
|
1158
|
+
});
|
|
1159
|
+
} else {
|
|
1160
|
+
console.log('No connectivity data found');
|
|
1161
|
+
resolve(true);
|
|
1162
|
+
}
|
|
1163
|
+
}).catch(function (error) {
|
|
1164
|
+
console.error('Error:', error);
|
|
1165
|
+
resolve(false);
|
|
1166
|
+
});
|
|
1167
|
+
});
|
|
1168
|
+
prom2 = pubmedQueryOnIds(eventData);
|
|
1169
|
+
_context.next = 14;
|
|
1170
|
+
return Promise.all([prom1, prom2]);
|
|
1171
|
+
case 14:
|
|
1172
|
+
return _context.abrupt("return", _context.sent);
|
|
1173
|
+
case 15:
|
|
1174
|
+
case "end":
|
|
1175
|
+
return _context.stop();
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
}, _callee);
|
|
1179
|
+
}));
|
|
1180
|
+
return function (_x) {
|
|
1181
|
+
return _ref.apply(this, arguments);
|
|
1182
|
+
};
|
|
1183
|
+
}();
|
|
1184
|
+
var connectivityExists = function connectivityExists(data) {
|
|
1185
|
+
if (data.values && data.values.length > 0 && JSON.parse(data.values[0][0]).connectivity && JSON.parse(data.values[0][0]).connectivity.length > 0) {
|
|
1186
|
+
return true;
|
|
1187
|
+
} else {
|
|
1188
|
+
return false;
|
|
1189
|
+
}
|
|
1190
|
+
};
|
|
1191
|
+
var createLabelFromNeuralNode = function createLabelFromNeuralNode(node, lookUp) {
|
|
1192
|
+
var label = lookUp[node[0]];
|
|
1193
|
+
if (node.length === 2 && node[1].length > 0) {
|
|
1194
|
+
node[1].forEach(function (n) {
|
|
1195
|
+
if (lookUp[n] == undefined) {
|
|
1196
|
+
label += ", ".concat(n);
|
|
1197
|
+
} else {
|
|
1198
|
+
label += ", ".concat(lookUp[n]);
|
|
1199
|
+
}
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
return label;
|
|
1203
|
+
};
|
|
1204
|
+
var flattenAndFindDatasets = function flattenAndFindDatasets(components, axons, dendrites) {
|
|
1205
|
+
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
1206
|
+
var componentsFlat = flattenConntectivity(components);
|
|
1207
|
+
var axonsFlat = flattenConntectivity(axons);
|
|
1208
|
+
var dendritesFlat = flattenConntectivity(dendrites);
|
|
1209
|
+
|
|
1210
|
+
// Filter for the anatomy which is annotated on datasets
|
|
1211
|
+
_this.destinationsWithDatasets = _this.uberons.filter(function (ub) {
|
|
1212
|
+
return axonsFlat.indexOf(ub.id) !== -1;
|
|
1213
|
+
});
|
|
1214
|
+
_this.originsWithDatasets = _this.uberons.filter(function (ub) {
|
|
1215
|
+
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
1216
|
+
});
|
|
1217
|
+
_this.componentsWithDatasets = _this.uberons.filter(function (ub) {
|
|
1218
|
+
return componentsFlat.indexOf(ub.id) !== -1;
|
|
1219
|
+
});
|
|
1220
|
+
};
|
|
1221
|
+
var processConnectivity = function processConnectivity(connectivity) {
|
|
1222
|
+
return new Promise(function (resolve) {
|
|
1223
|
+
// Filter the origin and destinations from components
|
|
1224
|
+
var components = findComponents(connectivity);
|
|
1225
|
+
|
|
1226
|
+
// Remove duplicates
|
|
1227
|
+
var axons = removeDuplicates(connectivity.axons);
|
|
1228
|
+
var dendrites = removeDuplicates(connectivity.dendrites);
|
|
1229
|
+
|
|
1230
|
+
// Create list of ids to get labels for
|
|
1231
|
+
var conIds = findAllIdsFromConnectivity(connectivity);
|
|
1232
|
+
|
|
1233
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
1234
|
+
createLabelLookup(conIds).then(function (lookUp) {
|
|
1235
|
+
_this.destinations = axons.map(function (a) {
|
|
1236
|
+
return createLabelFromNeuralNode(a, lookUp);
|
|
1237
|
+
});
|
|
1238
|
+
_this.origins = dendrites.map(function (d) {
|
|
1239
|
+
return createLabelFromNeuralNode(d, lookUp);
|
|
1240
|
+
});
|
|
1241
|
+
_this.components = components.map(function (c) {
|
|
1242
|
+
return createLabelFromNeuralNode(c, lookUp);
|
|
1243
|
+
});
|
|
1244
|
+
flattenAndFindDatasets(components, axons, dendrites);
|
|
1245
|
+
resolve(true);
|
|
1246
|
+
});
|
|
1247
|
+
});
|
|
1248
|
+
};
|
|
1249
|
+
var flattenConntectivity = function flattenConntectivity(connectivity) {
|
|
1250
|
+
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
1251
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
1252
|
+
var found = [];
|
|
1253
|
+
nodes.forEach(function (n) {
|
|
1254
|
+
if (Array.isArray(n)) {
|
|
1255
|
+
found.push(n.flat());
|
|
1256
|
+
} else {
|
|
1257
|
+
found.push(n);
|
|
1258
|
+
}
|
|
1259
|
+
});
|
|
1260
|
+
return found.flat();
|
|
1261
|
+
};
|
|
1262
|
+
var findComponents = function findComponents(connectivity) {
|
|
1263
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
1264
|
+
var nodes = removeDuplicates(dnodes);
|
|
1265
|
+
var found = [];
|
|
1266
|
+
var terminal = false;
|
|
1267
|
+
nodes.forEach(function (node) {
|
|
1268
|
+
terminal = false;
|
|
1269
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
1270
|
+
if (inArray(connectivity.axons, node)) {
|
|
1271
|
+
terminal = true;
|
|
1272
|
+
}
|
|
1273
|
+
if (inArray(connectivity.dendrites, node)) {
|
|
1274
|
+
terminal = true;
|
|
1275
|
+
}
|
|
1276
|
+
if (!terminal) {
|
|
1277
|
+
found.push(node);
|
|
1278
|
+
}
|
|
1279
|
+
});
|
|
1280
|
+
return found;
|
|
1281
|
+
};
|
|
1282
|
+
var stripPMIDPrefix = function stripPMIDPrefix(pubmedId) {
|
|
1283
|
+
return pubmedId.split(':')[1];
|
|
1284
|
+
};
|
|
1285
|
+
var buildPubmedSqlStatement = function buildPubmedSqlStatement(keastIds) {
|
|
1286
|
+
var sql = 'select distinct publication from publications where entity in (';
|
|
1287
|
+
if (keastIds.length === 1) {
|
|
1288
|
+
sql += "'".concat(keastIds[0], "')");
|
|
1289
|
+
} else if (keastIds.length > 1) {
|
|
1290
|
+
for (var i in keastIds) {
|
|
1291
|
+
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
return sql;
|
|
1295
|
+
};
|
|
1296
|
+
var buildPubmedSqlStatementForModels = function buildPubmedSqlStatementForModels(model) {
|
|
1297
|
+
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
1298
|
+
};
|
|
1299
|
+
var flatmapQuery = function flatmapQuery(sql) {
|
|
1300
|
+
var data = {
|
|
1301
|
+
sql: sql
|
|
1302
|
+
};
|
|
1303
|
+
return fetch("".concat(_this.flatmapApi, "knowledge/query/"), {
|
|
1304
|
+
method: 'POST',
|
|
1305
|
+
headers: {
|
|
1306
|
+
'Content-Type': 'application/json'
|
|
1307
|
+
},
|
|
1308
|
+
body: JSON.stringify(data)
|
|
1309
|
+
}).then(function (response) {
|
|
1310
|
+
return response.json();
|
|
1311
|
+
}).catch(function (error) {
|
|
1312
|
+
console.error('Error:', error);
|
|
1313
|
+
});
|
|
1314
|
+
};
|
|
1315
|
+
var pubmedQueryOnIds = function pubmedQueryOnIds(eventData) {
|
|
1316
|
+
var keastIds = eventData.resource;
|
|
1317
|
+
var source = eventData.feature.source;
|
|
1318
|
+
if (!keastIds || keastIds.length === 0) return;
|
|
1319
|
+
var sql = buildPubmedSqlStatement(keastIds);
|
|
1320
|
+
return flatmapQuery(sql).then(function (data) {
|
|
1321
|
+
// Create pubmed url on paths if we have them
|
|
1322
|
+
if (data.values.length > 0) {
|
|
1323
|
+
_this.urls = [pubmedSearchUrl(data.values.map(function (id) {
|
|
1324
|
+
return stripPMIDPrefix(id[0]);
|
|
1325
|
+
}))];
|
|
1326
|
+
return true;
|
|
1327
|
+
} else {
|
|
1328
|
+
// Create pubmed url on models
|
|
1329
|
+
pubmedQueryOnModels(source).then(function () {
|
|
1330
|
+
return true;
|
|
1331
|
+
});
|
|
1332
|
+
}
|
|
1333
|
+
});
|
|
1334
|
+
};
|
|
1335
|
+
var pubmedQueryOnModels = function pubmedQueryOnModels(source) {
|
|
1336
|
+
return flatmapQuery(buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
1337
|
+
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
1338
|
+
_this.urls = [pubmedSearchUrl(data.values.map(function (id) {
|
|
1339
|
+
return stripPMIDPrefix(id[0]);
|
|
1340
|
+
}))];
|
|
1341
|
+
} else {
|
|
1342
|
+
_this.urls = []; // Clears the pubmed search button
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
return;
|
|
1346
|
+
});
|
|
1347
|
+
};
|
|
1348
|
+
var pubmedSearchUrl = function pubmedSearchUrl(ids) {
|
|
1349
|
+
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
1350
|
+
var params = new URLSearchParams();
|
|
1351
|
+
params.append('term', ids);
|
|
1352
|
+
return url + params.toString();
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
/***/ }),
|
|
1357
|
+
|
|
912
1358
|
/***/ "3d2d":
|
|
913
1359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
914
1360
|
|
|
@@ -1202,13 +1648,6 @@ main.install = function (Vue) {
|
|
|
1202
1648
|
|
|
1203
1649
|
/***/ }),
|
|
1204
1650
|
|
|
1205
|
-
/***/ "400b":
|
|
1206
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1207
|
-
|
|
1208
|
-
// extracted by mini-css-extract-plugin
|
|
1209
|
-
|
|
1210
|
-
/***/ }),
|
|
1211
|
-
|
|
1212
1651
|
/***/ "4010":
|
|
1213
1652
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1214
1653
|
|
|
@@ -1275,6 +1714,24 @@ var removeResizeListener = exports.removeResizeListener = function removeResizeL
|
|
|
1275
1714
|
|
|
1276
1715
|
/***/ }),
|
|
1277
1716
|
|
|
1717
|
+
/***/ "4034":
|
|
1718
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1719
|
+
|
|
1720
|
+
"use strict";
|
|
1721
|
+
/* 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");
|
|
1722
|
+
/* 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__);
|
|
1723
|
+
/* unused harmony reexport * */
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
/***/ }),
|
|
1727
|
+
|
|
1728
|
+
/***/ "4086":
|
|
1729
|
+
/***/ (function(module, exports) {
|
|
1730
|
+
|
|
1731
|
+
module.exports = require("core-js/modules/es.object.set-prototype-of.js");
|
|
1732
|
+
|
|
1733
|
+
/***/ }),
|
|
1734
|
+
|
|
1278
1735
|
/***/ "417f":
|
|
1279
1736
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1280
1737
|
|
|
@@ -1382,6 +1839,20 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
1382
1839
|
|
|
1383
1840
|
/***/ }),
|
|
1384
1841
|
|
|
1842
|
+
/***/ "448a":
|
|
1843
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1844
|
+
|
|
1845
|
+
var arrayWithoutHoles = __webpack_require__("2236");
|
|
1846
|
+
var iterableToArray = __webpack_require__("11b0");
|
|
1847
|
+
var unsupportedIterableToArray = __webpack_require__("6613");
|
|
1848
|
+
var nonIterableSpread = __webpack_require__("0676");
|
|
1849
|
+
function _toConsumableArray(arr) {
|
|
1850
|
+
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
|
|
1851
|
+
}
|
|
1852
|
+
module.exports = _toConsumableArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
1853
|
+
|
|
1854
|
+
/***/ }),
|
|
1855
|
+
|
|
1385
1856
|
/***/ "450d":
|
|
1386
1857
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1387
1858
|
|
|
@@ -1692,7 +2163,7 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
1692
2163
|
|
|
1693
2164
|
/***/ }),
|
|
1694
2165
|
|
|
1695
|
-
/***/ "
|
|
2166
|
+
/***/ "4d43":
|
|
1696
2167
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1697
2168
|
|
|
1698
2169
|
// extracted by mini-css-extract-plugin
|
|
@@ -3877,14 +4348,10 @@ src_select.install = function (Vue) {
|
|
|
3877
4348
|
|
|
3878
4349
|
/***/ }),
|
|
3879
4350
|
|
|
3880
|
-
/***/ "
|
|
3881
|
-
/***/ (function(module,
|
|
3882
|
-
|
|
3883
|
-
"use strict";
|
|
3884
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5967");
|
|
3885
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
3886
|
-
/* unused harmony reexport * */
|
|
4351
|
+
/***/ "4fdd":
|
|
4352
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3887
4353
|
|
|
4354
|
+
// extracted by mini-css-extract-plugin
|
|
3888
4355
|
|
|
3889
4356
|
/***/ }),
|
|
3890
4357
|
|
|
@@ -4376,17 +4843,24 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4376
4843
|
|
|
4377
4844
|
/***/ }),
|
|
4378
4845
|
|
|
4379
|
-
/***/ "
|
|
4380
|
-
/***/ (function(module, exports
|
|
4846
|
+
/***/ "5a3b":
|
|
4847
|
+
/***/ (function(module, exports) {
|
|
4381
4848
|
|
|
4382
|
-
|
|
4849
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4383
4850
|
|
|
4384
4851
|
/***/ }),
|
|
4385
4852
|
|
|
4386
|
-
/***/ "
|
|
4853
|
+
/***/ "5a43":
|
|
4387
4854
|
/***/ (function(module, exports) {
|
|
4388
4855
|
|
|
4389
|
-
|
|
4856
|
+
function _arrayLikeToArray(arr, len) {
|
|
4857
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
4858
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4859
|
+
arr2[i] = arr[i];
|
|
4860
|
+
}
|
|
4861
|
+
return arr2;
|
|
4862
|
+
}
|
|
4863
|
+
module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4390
4864
|
|
|
4391
4865
|
/***/ }),
|
|
4392
4866
|
|
|
@@ -5668,6 +6142,29 @@ module.exports = require("core-js/modules/es.string.replace.js");
|
|
|
5668
6142
|
|
|
5669
6143
|
/***/ }),
|
|
5670
6144
|
|
|
6145
|
+
/***/ "6613":
|
|
6146
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6147
|
+
|
|
6148
|
+
__webpack_require__("ea12");
|
|
6149
|
+
__webpack_require__("97d3");
|
|
6150
|
+
__webpack_require__("db0a");
|
|
6151
|
+
__webpack_require__("4362");
|
|
6152
|
+
__webpack_require__("9bb5");
|
|
6153
|
+
__webpack_require__("c8a6");
|
|
6154
|
+
__webpack_require__("5a3b");
|
|
6155
|
+
var arrayLikeToArray = __webpack_require__("5a43");
|
|
6156
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
6157
|
+
if (!o) return;
|
|
6158
|
+
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
|
6159
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
6160
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
6161
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
6162
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
|
|
6163
|
+
}
|
|
6164
|
+
module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
6165
|
+
|
|
6166
|
+
/***/ }),
|
|
6167
|
+
|
|
5671
6168
|
/***/ "6ac5":
|
|
5672
6169
|
/***/ (function(module, exports, __webpack_require__) {
|
|
5673
6170
|
|
|
@@ -6710,6 +7207,29 @@ exports.default = {
|
|
|
6710
7207
|
|
|
6711
7208
|
/***/ }),
|
|
6712
7209
|
|
|
7210
|
+
/***/ "7037":
|
|
7211
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7212
|
+
|
|
7213
|
+
__webpack_require__("9b22");
|
|
7214
|
+
__webpack_require__("4933");
|
|
7215
|
+
__webpack_require__("97d3");
|
|
7216
|
+
__webpack_require__("2ff9");
|
|
7217
|
+
__webpack_require__("4ccb");
|
|
7218
|
+
__webpack_require__("9bb5");
|
|
7219
|
+
__webpack_require__("1a25");
|
|
7220
|
+
function _typeof(obj) {
|
|
7221
|
+
"@babel/helpers - typeof";
|
|
7222
|
+
|
|
7223
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
7224
|
+
return typeof obj;
|
|
7225
|
+
} : function (obj) {
|
|
7226
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
7227
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
7228
|
+
}
|
|
7229
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
7230
|
+
|
|
7231
|
+
/***/ }),
|
|
7232
|
+
|
|
6713
7233
|
/***/ "712c":
|
|
6714
7234
|
/***/ (function(module, exports) {
|
|
6715
7235
|
|
|
@@ -6724,6 +7244,13 @@ module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
|
6724
7244
|
|
|
6725
7245
|
/***/ }),
|
|
6726
7246
|
|
|
7247
|
+
/***/ "7267":
|
|
7248
|
+
/***/ (function(module, exports) {
|
|
7249
|
+
|
|
7250
|
+
module.exports = require("core-js/modules/es.math.to-string-tag.js");
|
|
7251
|
+
|
|
7252
|
+
/***/ }),
|
|
7253
|
+
|
|
6727
7254
|
/***/ "7435":
|
|
6728
7255
|
/***/ (function(module, exports) {
|
|
6729
7256
|
|
|
@@ -6731,14 +7258,14 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6731
7258
|
|
|
6732
7259
|
/***/ }),
|
|
6733
7260
|
|
|
6734
|
-
/***/ "
|
|
6735
|
-
/***/ (function(module, exports
|
|
7261
|
+
/***/ "7949":
|
|
7262
|
+
/***/ (function(module, exports) {
|
|
6736
7263
|
|
|
6737
|
-
|
|
7264
|
+
module.exports = require("core-js/modules/es.object.proto.js");
|
|
6738
7265
|
|
|
6739
7266
|
/***/ }),
|
|
6740
7267
|
|
|
6741
|
-
/***/ "
|
|
7268
|
+
/***/ "7a0f":
|
|
6742
7269
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6743
7270
|
|
|
6744
7271
|
// extracted by mini-css-extract-plugin
|
|
@@ -7027,21 +7554,370 @@ main.install = function (Vue) {
|
|
|
7027
7554
|
|
|
7028
7555
|
/***/ }),
|
|
7029
7556
|
|
|
7030
|
-
/***/ "
|
|
7031
|
-
/***/ (function(module,
|
|
7557
|
+
/***/ "7b79":
|
|
7558
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7032
7559
|
|
|
7033
7560
|
"use strict";
|
|
7561
|
+
/* 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");
|
|
7562
|
+
/* 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__);
|
|
7563
|
+
/* unused harmony reexport * */
|
|
7034
7564
|
|
|
7035
7565
|
|
|
7036
|
-
|
|
7566
|
+
/***/ }),
|
|
7037
7567
|
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7568
|
+
/***/ "7ec2":
|
|
7569
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7570
|
+
|
|
7571
|
+
__webpack_require__("9b22");
|
|
7572
|
+
__webpack_require__("4933");
|
|
7573
|
+
__webpack_require__("97d3");
|
|
7574
|
+
__webpack_require__("2ff9");
|
|
7575
|
+
__webpack_require__("4ccb");
|
|
7576
|
+
__webpack_require__("9bb5");
|
|
7577
|
+
__webpack_require__("1a25");
|
|
7578
|
+
__webpack_require__("a52a");
|
|
7579
|
+
__webpack_require__("14f0");
|
|
7580
|
+
__webpack_require__("12fb");
|
|
7581
|
+
__webpack_require__("7267");
|
|
7582
|
+
__webpack_require__("362b");
|
|
7583
|
+
__webpack_require__("dc50");
|
|
7584
|
+
__webpack_require__("2439");
|
|
7585
|
+
__webpack_require__("13e3");
|
|
7586
|
+
__webpack_require__("db0a");
|
|
7587
|
+
__webpack_require__("4086");
|
|
7588
|
+
__webpack_require__("7949");
|
|
7589
|
+
__webpack_require__("ec71");
|
|
7590
|
+
__webpack_require__("ea12");
|
|
7591
|
+
var _typeof = __webpack_require__("7037")["default"];
|
|
7592
|
+
function _regeneratorRuntime() {
|
|
7593
|
+
"use strict";
|
|
7594
|
+
|
|
7595
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
7596
|
+
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
|
7597
|
+
return exports;
|
|
7598
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
7599
|
+
var exports = {},
|
|
7600
|
+
Op = Object.prototype,
|
|
7601
|
+
hasOwn = Op.hasOwnProperty,
|
|
7602
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
7603
|
+
obj[key] = desc.value;
|
|
7604
|
+
},
|
|
7605
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
7606
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
7607
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
7608
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
7609
|
+
function define(obj, key, value) {
|
|
7610
|
+
return Object.defineProperty(obj, key, {
|
|
7611
|
+
value: value,
|
|
7612
|
+
enumerable: !0,
|
|
7613
|
+
configurable: !0,
|
|
7614
|
+
writable: !0
|
|
7615
|
+
}), obj[key];
|
|
7616
|
+
}
|
|
7617
|
+
try {
|
|
7618
|
+
define({}, "");
|
|
7619
|
+
} catch (err) {
|
|
7620
|
+
define = function define(obj, key, value) {
|
|
7621
|
+
return obj[key] = value;
|
|
7622
|
+
};
|
|
7623
|
+
}
|
|
7624
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
7625
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
7626
|
+
generator = Object.create(protoGenerator.prototype),
|
|
7627
|
+
context = new Context(tryLocsList || []);
|
|
7628
|
+
return defineProperty(generator, "_invoke", {
|
|
7629
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
7630
|
+
}), generator;
|
|
7631
|
+
}
|
|
7632
|
+
function tryCatch(fn, obj, arg) {
|
|
7633
|
+
try {
|
|
7634
|
+
return {
|
|
7635
|
+
type: "normal",
|
|
7636
|
+
arg: fn.call(obj, arg)
|
|
7637
|
+
};
|
|
7638
|
+
} catch (err) {
|
|
7639
|
+
return {
|
|
7640
|
+
type: "throw",
|
|
7641
|
+
arg: err
|
|
7642
|
+
};
|
|
7643
|
+
}
|
|
7644
|
+
}
|
|
7645
|
+
exports.wrap = wrap;
|
|
7646
|
+
var ContinueSentinel = {};
|
|
7647
|
+
function Generator() {}
|
|
7648
|
+
function GeneratorFunction() {}
|
|
7649
|
+
function GeneratorFunctionPrototype() {}
|
|
7650
|
+
var IteratorPrototype = {};
|
|
7651
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
7652
|
+
return this;
|
|
7653
|
+
});
|
|
7654
|
+
var getProto = Object.getPrototypeOf,
|
|
7655
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
7656
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
7657
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
7658
|
+
function defineIteratorMethods(prototype) {
|
|
7659
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
7660
|
+
define(prototype, method, function (arg) {
|
|
7661
|
+
return this._invoke(method, arg);
|
|
7662
|
+
});
|
|
7663
|
+
});
|
|
7664
|
+
}
|
|
7665
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
7666
|
+
function invoke(method, arg, resolve, reject) {
|
|
7667
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
7668
|
+
if ("throw" !== record.type) {
|
|
7669
|
+
var result = record.arg,
|
|
7670
|
+
value = result.value;
|
|
7671
|
+
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
7672
|
+
invoke("next", value, resolve, reject);
|
|
7673
|
+
}, function (err) {
|
|
7674
|
+
invoke("throw", err, resolve, reject);
|
|
7675
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
7676
|
+
result.value = unwrapped, resolve(result);
|
|
7677
|
+
}, function (error) {
|
|
7678
|
+
return invoke("throw", error, resolve, reject);
|
|
7679
|
+
});
|
|
7680
|
+
}
|
|
7681
|
+
reject(record.arg);
|
|
7682
|
+
}
|
|
7683
|
+
var previousPromise;
|
|
7684
|
+
defineProperty(this, "_invoke", {
|
|
7685
|
+
value: function value(method, arg) {
|
|
7686
|
+
function callInvokeWithMethodAndArg() {
|
|
7687
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
7688
|
+
invoke(method, arg, resolve, reject);
|
|
7689
|
+
});
|
|
7690
|
+
}
|
|
7691
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
7692
|
+
}
|
|
7693
|
+
});
|
|
7694
|
+
}
|
|
7695
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
7696
|
+
var state = "suspendedStart";
|
|
7697
|
+
return function (method, arg) {
|
|
7698
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
7699
|
+
if ("completed" === state) {
|
|
7700
|
+
if ("throw" === method) throw arg;
|
|
7701
|
+
return doneResult();
|
|
7702
|
+
}
|
|
7703
|
+
for (context.method = method, context.arg = arg;;) {
|
|
7704
|
+
var delegate = context.delegate;
|
|
7705
|
+
if (delegate) {
|
|
7706
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
7707
|
+
if (delegateResult) {
|
|
7708
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
7709
|
+
return delegateResult;
|
|
7710
|
+
}
|
|
7711
|
+
}
|
|
7712
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
7713
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
7714
|
+
context.dispatchException(context.arg);
|
|
7715
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
7716
|
+
state = "executing";
|
|
7717
|
+
var record = tryCatch(innerFn, self, context);
|
|
7718
|
+
if ("normal" === record.type) {
|
|
7719
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
7720
|
+
return {
|
|
7721
|
+
value: record.arg,
|
|
7722
|
+
done: context.done
|
|
7723
|
+
};
|
|
7724
|
+
}
|
|
7725
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
7726
|
+
}
|
|
7727
|
+
};
|
|
7728
|
+
}
|
|
7729
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
7730
|
+
var methodName = context.method,
|
|
7731
|
+
method = delegate.iterator[methodName];
|
|
7732
|
+
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;
|
|
7733
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
7734
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
7735
|
+
var info = record.arg;
|
|
7736
|
+
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);
|
|
7737
|
+
}
|
|
7738
|
+
function pushTryEntry(locs) {
|
|
7739
|
+
var entry = {
|
|
7740
|
+
tryLoc: locs[0]
|
|
7741
|
+
};
|
|
7742
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
7743
|
+
}
|
|
7744
|
+
function resetTryEntry(entry) {
|
|
7745
|
+
var record = entry.completion || {};
|
|
7746
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
7747
|
+
}
|
|
7748
|
+
function Context(tryLocsList) {
|
|
7749
|
+
this.tryEntries = [{
|
|
7750
|
+
tryLoc: "root"
|
|
7751
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
7752
|
+
}
|
|
7753
|
+
function values(iterable) {
|
|
7754
|
+
if (iterable) {
|
|
7755
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
7756
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
7757
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
7758
|
+
if (!isNaN(iterable.length)) {
|
|
7759
|
+
var i = -1,
|
|
7760
|
+
next = function next() {
|
|
7761
|
+
for (; ++i < iterable.length;) {
|
|
7762
|
+
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
7763
|
+
}
|
|
7764
|
+
return next.value = undefined, next.done = !0, next;
|
|
7765
|
+
};
|
|
7766
|
+
return next.next = next;
|
|
7767
|
+
}
|
|
7768
|
+
}
|
|
7769
|
+
return {
|
|
7770
|
+
next: doneResult
|
|
7771
|
+
};
|
|
7772
|
+
}
|
|
7773
|
+
function doneResult() {
|
|
7774
|
+
return {
|
|
7775
|
+
value: undefined,
|
|
7776
|
+
done: !0
|
|
7777
|
+
};
|
|
7778
|
+
}
|
|
7779
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
7780
|
+
value: GeneratorFunctionPrototype,
|
|
7781
|
+
configurable: !0
|
|
7782
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
7783
|
+
value: GeneratorFunction,
|
|
7784
|
+
configurable: !0
|
|
7785
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
7786
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
7787
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
7788
|
+
}, exports.mark = function (genFun) {
|
|
7789
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
7790
|
+
}, exports.awrap = function (arg) {
|
|
7791
|
+
return {
|
|
7792
|
+
__await: arg
|
|
7793
|
+
};
|
|
7794
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
7795
|
+
return this;
|
|
7796
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
7797
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
7798
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
7799
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
7800
|
+
return result.done ? result.value : iter.next();
|
|
7801
|
+
});
|
|
7802
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
7803
|
+
return this;
|
|
7804
|
+
}), define(Gp, "toString", function () {
|
|
7805
|
+
return "[object Generator]";
|
|
7806
|
+
}), exports.keys = function (val) {
|
|
7807
|
+
var object = Object(val),
|
|
7808
|
+
keys = [];
|
|
7809
|
+
for (var key in object) {
|
|
7810
|
+
keys.push(key);
|
|
7811
|
+
}
|
|
7812
|
+
return keys.reverse(), function next() {
|
|
7813
|
+
for (; keys.length;) {
|
|
7814
|
+
var key = keys.pop();
|
|
7815
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
7816
|
+
}
|
|
7817
|
+
return next.done = !0, next;
|
|
7818
|
+
};
|
|
7819
|
+
}, exports.values = values, Context.prototype = {
|
|
7820
|
+
constructor: Context,
|
|
7821
|
+
reset: function reset(skipTempReset) {
|
|
7822
|
+
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) {
|
|
7823
|
+
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
7824
|
+
}
|
|
7825
|
+
},
|
|
7826
|
+
stop: function stop() {
|
|
7827
|
+
this.done = !0;
|
|
7828
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
7829
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
7830
|
+
return this.rval;
|
|
7831
|
+
},
|
|
7832
|
+
dispatchException: function dispatchException(exception) {
|
|
7833
|
+
if (this.done) throw exception;
|
|
7834
|
+
var context = this;
|
|
7835
|
+
function handle(loc, caught) {
|
|
7836
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
7837
|
+
}
|
|
7838
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7839
|
+
var entry = this.tryEntries[i],
|
|
7840
|
+
record = entry.completion;
|
|
7841
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
7842
|
+
if (entry.tryLoc <= this.prev) {
|
|
7843
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
7844
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
7845
|
+
if (hasCatch && hasFinally) {
|
|
7846
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
7847
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
7848
|
+
} else if (hasCatch) {
|
|
7849
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
7850
|
+
} else {
|
|
7851
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
7852
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
7853
|
+
}
|
|
7854
|
+
}
|
|
7855
|
+
}
|
|
7856
|
+
},
|
|
7857
|
+
abrupt: function abrupt(type, arg) {
|
|
7858
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7859
|
+
var entry = this.tryEntries[i];
|
|
7860
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
7861
|
+
var finallyEntry = entry;
|
|
7862
|
+
break;
|
|
7863
|
+
}
|
|
7864
|
+
}
|
|
7865
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
7866
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
7867
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
7868
|
+
},
|
|
7869
|
+
complete: function complete(record, afterLoc) {
|
|
7870
|
+
if ("throw" === record.type) throw record.arg;
|
|
7871
|
+
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;
|
|
7872
|
+
},
|
|
7873
|
+
finish: function finish(finallyLoc) {
|
|
7874
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7875
|
+
var entry = this.tryEntries[i];
|
|
7876
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
7877
|
+
}
|
|
7878
|
+
},
|
|
7879
|
+
"catch": function _catch(tryLoc) {
|
|
7880
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
7881
|
+
var entry = this.tryEntries[i];
|
|
7882
|
+
if (entry.tryLoc === tryLoc) {
|
|
7883
|
+
var record = entry.completion;
|
|
7884
|
+
if ("throw" === record.type) {
|
|
7885
|
+
var thrown = record.arg;
|
|
7886
|
+
resetTryEntry(entry);
|
|
7887
|
+
}
|
|
7888
|
+
return thrown;
|
|
7889
|
+
}
|
|
7890
|
+
}
|
|
7891
|
+
throw new Error("illegal catch attempt");
|
|
7892
|
+
},
|
|
7893
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
7894
|
+
return this.delegate = {
|
|
7895
|
+
iterator: values(iterable),
|
|
7896
|
+
resultName: resultName,
|
|
7897
|
+
nextLoc: nextLoc
|
|
7898
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
7899
|
+
}
|
|
7900
|
+
}, exports;
|
|
7901
|
+
}
|
|
7902
|
+
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
7903
|
+
|
|
7904
|
+
/***/ }),
|
|
7905
|
+
|
|
7906
|
+
/***/ "7f4d":
|
|
7907
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7908
|
+
|
|
7909
|
+
"use strict";
|
|
7910
|
+
|
|
7911
|
+
|
|
7912
|
+
exports.__esModule = true;
|
|
7913
|
+
|
|
7914
|
+
exports.default = function (target) {
|
|
7915
|
+
for (var i = 1, j = arguments.length; i < j; i++) {
|
|
7916
|
+
var source = arguments[i] || {};
|
|
7917
|
+
for (var prop in source) {
|
|
7918
|
+
if (source.hasOwnProperty(prop)) {
|
|
7919
|
+
var value = source[prop];
|
|
7920
|
+
if (value !== undefined) {
|
|
7045
7921
|
target[prop] = value;
|
|
7046
7922
|
}
|
|
7047
7923
|
}
|
|
@@ -7371,17 +8247,6 @@ checkbox_group.install = function (Vue) {
|
|
|
7371
8247
|
|
|
7372
8248
|
/******/ });
|
|
7373
8249
|
|
|
7374
|
-
/***/ }),
|
|
7375
|
-
|
|
7376
|
-
/***/ "8056":
|
|
7377
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7378
|
-
|
|
7379
|
-
"use strict";
|
|
7380
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("22c0");
|
|
7381
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_48cc3512_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7382
|
-
/* unused harmony reexport * */
|
|
7383
|
-
|
|
7384
|
-
|
|
7385
8250
|
/***/ }),
|
|
7386
8251
|
|
|
7387
8252
|
/***/ "8122":
|
|
@@ -8648,6 +9513,17 @@ tag.install = function (Vue) {
|
|
|
8648
9513
|
|
|
8649
9514
|
module.exports = require("vue");
|
|
8650
9515
|
|
|
9516
|
+
/***/ }),
|
|
9517
|
+
|
|
9518
|
+
/***/ "93b4":
|
|
9519
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9520
|
+
|
|
9521
|
+
"use strict";
|
|
9522
|
+
/* 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");
|
|
9523
|
+
/* 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__);
|
|
9524
|
+
/* unused harmony reexport * */
|
|
9525
|
+
|
|
9526
|
+
|
|
8651
9527
|
/***/ }),
|
|
8652
9528
|
|
|
8653
9529
|
/***/ "97d3":
|
|
@@ -8748,6 +9624,24 @@ module.exports = require("resize-observer-polyfill");
|
|
|
8748
9624
|
|
|
8749
9625
|
/***/ }),
|
|
8750
9626
|
|
|
9627
|
+
/***/ "a47e":
|
|
9628
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9629
|
+
|
|
9630
|
+
"use strict";
|
|
9631
|
+
/* 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");
|
|
9632
|
+
/* 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__);
|
|
9633
|
+
/* unused harmony reexport * */
|
|
9634
|
+
|
|
9635
|
+
|
|
9636
|
+
/***/ }),
|
|
9637
|
+
|
|
9638
|
+
/***/ "a52a":
|
|
9639
|
+
/***/ (function(module, exports) {
|
|
9640
|
+
|
|
9641
|
+
module.exports = require("core-js/modules/es.symbol.async-iterator.js");
|
|
9642
|
+
|
|
9643
|
+
/***/ }),
|
|
9644
|
+
|
|
8751
9645
|
/***/ "a578":
|
|
8752
9646
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8753
9647
|
|
|
@@ -9082,17 +9976,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9082
9976
|
return val !== undefined && val !== null;
|
|
9083
9977
|
};
|
|
9084
9978
|
|
|
9085
|
-
/***/ }),
|
|
9086
|
-
|
|
9087
|
-
/***/ "a79a":
|
|
9088
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9089
|
-
|
|
9090
|
-
"use strict";
|
|
9091
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("400b");
|
|
9092
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectionsGroup_vue_vue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9093
|
-
/* unused harmony reexport * */
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
9979
|
/***/ }),
|
|
9097
9980
|
|
|
9098
9981
|
/***/ "a9ee":
|
|
@@ -9450,6 +10333,17 @@ col.install = function (Vue) {
|
|
|
9450
10333
|
|
|
9451
10334
|
/******/ });
|
|
9452
10335
|
|
|
10336
|
+
/***/ }),
|
|
10337
|
+
|
|
10338
|
+
/***/ "c367":
|
|
10339
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10340
|
+
|
|
10341
|
+
"use strict";
|
|
10342
|
+
/* 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");
|
|
10343
|
+
/* 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__);
|
|
10344
|
+
/* unused harmony reexport * */
|
|
10345
|
+
|
|
10346
|
+
|
|
9453
10347
|
/***/ }),
|
|
9454
10348
|
|
|
9455
10349
|
/***/ "c56a":
|
|
@@ -9770,6 +10664,45 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
9770
10664
|
|
|
9771
10665
|
/***/ }),
|
|
9772
10666
|
|
|
10667
|
+
/***/ "c973":
|
|
10668
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10669
|
+
|
|
10670
|
+
__webpack_require__("97d3");
|
|
10671
|
+
__webpack_require__("ec71");
|
|
10672
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
10673
|
+
try {
|
|
10674
|
+
var info = gen[key](arg);
|
|
10675
|
+
var value = info.value;
|
|
10676
|
+
} catch (error) {
|
|
10677
|
+
reject(error);
|
|
10678
|
+
return;
|
|
10679
|
+
}
|
|
10680
|
+
if (info.done) {
|
|
10681
|
+
resolve(value);
|
|
10682
|
+
} else {
|
|
10683
|
+
Promise.resolve(value).then(_next, _throw);
|
|
10684
|
+
}
|
|
10685
|
+
}
|
|
10686
|
+
function _asyncToGenerator(fn) {
|
|
10687
|
+
return function () {
|
|
10688
|
+
var self = this,
|
|
10689
|
+
args = arguments;
|
|
10690
|
+
return new Promise(function (resolve, reject) {
|
|
10691
|
+
var gen = fn.apply(self, args);
|
|
10692
|
+
function _next(value) {
|
|
10693
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
10694
|
+
}
|
|
10695
|
+
function _throw(err) {
|
|
10696
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
10697
|
+
}
|
|
10698
|
+
_next(undefined);
|
|
10699
|
+
});
|
|
10700
|
+
};
|
|
10701
|
+
}
|
|
10702
|
+
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
10703
|
+
|
|
10704
|
+
/***/ }),
|
|
10705
|
+
|
|
9773
10706
|
/***/ "ccb0":
|
|
9774
10707
|
/***/ (function(module, exports) {
|
|
9775
10708
|
|
|
@@ -11037,17 +11970,6 @@ _select_src_option__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"].install = fun
|
|
|
11037
11970
|
|
|
11038
11971
|
/******/ });
|
|
11039
11972
|
|
|
11040
|
-
/***/ }),
|
|
11041
|
-
|
|
11042
|
-
/***/ "e8bf":
|
|
11043
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11044
|
-
|
|
11045
|
-
"use strict";
|
|
11046
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f765");
|
|
11047
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_DynamicLegends_vue_vue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11048
|
-
/* unused harmony reexport * */
|
|
11049
|
-
|
|
11050
|
-
|
|
11051
11973
|
/***/ }),
|
|
11052
11974
|
|
|
11053
11975
|
/***/ "e974":
|
|
@@ -11271,17 +12193,6 @@ module.exports = require("core-js/modules/es.array.slice.js");
|
|
|
11271
12193
|
|
|
11272
12194
|
module.exports = require("core-js/modules/es.object.keys.js");
|
|
11273
12195
|
|
|
11274
|
-
/***/ }),
|
|
11275
|
-
|
|
11276
|
-
/***/ "ec09":
|
|
11277
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11278
|
-
|
|
11279
|
-
"use strict";
|
|
11280
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4d90");
|
|
11281
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11282
|
-
/* unused harmony reexport * */
|
|
11283
|
-
|
|
11284
|
-
|
|
11285
12196
|
/***/ }),
|
|
11286
12197
|
|
|
11287
12198
|
/***/ "ec71":
|
|
@@ -13298,13 +14209,6 @@ src_radio.install = function (Vue) {
|
|
|
13298
14209
|
|
|
13299
14210
|
/***/ }),
|
|
13300
14211
|
|
|
13301
|
-
/***/ "f765":
|
|
13302
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13303
|
-
|
|
13304
|
-
// extracted by mini-css-extract-plugin
|
|
13305
|
-
|
|
13306
|
-
/***/ }),
|
|
13307
|
-
|
|
13308
14212
|
/***/ "f989":
|
|
13309
14213
|
/***/ (function(module, exports) {
|
|
13310
14214
|
|
|
@@ -13347,7 +14251,7 @@ if (typeof window !== 'undefined') {
|
|
|
13347
14251
|
// Indicate to webpack that this file can be concatenated
|
|
13348
14252
|
/* harmony default export */ var setPublicPath = (null);
|
|
13349
14253
|
|
|
13350
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14254
|
+
// 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&
|
|
13351
14255
|
var render = function render() {
|
|
13352
14256
|
var _vm = this,
|
|
13353
14257
|
_c = _vm._self._c;
|
|
@@ -13635,12 +14539,31 @@ var render = function render() {
|
|
|
13635
14539
|
domProps: {
|
|
13636
14540
|
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13637
14541
|
}
|
|
13638
|
-
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('
|
|
13639
|
-
key: "
|
|
14542
|
+
}), _vm.isFC && _vm.systems && _vm.systems.length > 0 ? _c('selections-group', {
|
|
14543
|
+
key: "systemsSelection",
|
|
14544
|
+
ref: "systemsSelection",
|
|
13640
14545
|
attrs: {
|
|
13641
14546
|
"title": "Systems",
|
|
14547
|
+
"labelKey": "name",
|
|
13642
14548
|
"identifierKey": "name",
|
|
13643
|
-
"
|
|
14549
|
+
"selections": _vm.systems,
|
|
14550
|
+
"colourStyle": "background"
|
|
14551
|
+
},
|
|
14552
|
+
on: {
|
|
14553
|
+
"changed": _vm.systemSelected,
|
|
14554
|
+
"checkAll": _vm.checkAllSystems
|
|
14555
|
+
}
|
|
14556
|
+
}) : _vm._e(), !_vm.isFC && _vm.centreLines && _vm.centreLines.length > 0 ? _c('selections-group', {
|
|
14557
|
+
key: "centrelinesSelection",
|
|
14558
|
+
ref: "centrelinesSelection",
|
|
14559
|
+
attrs: {
|
|
14560
|
+
"title": "Nerves",
|
|
14561
|
+
"labelKey": "label",
|
|
14562
|
+
"identifierKey": "key",
|
|
14563
|
+
"selections": _vm.centreLines
|
|
14564
|
+
},
|
|
14565
|
+
on: {
|
|
14566
|
+
"changed": _vm.centreLinesSelected
|
|
13644
14567
|
}
|
|
13645
14568
|
}) : _vm._e(), _vm.isFC && _vm.sckanDisplay && _vm.sckanDisplay.length > 0 ? _c('selections-group', {
|
|
13646
14569
|
key: "skcanSelection",
|
|
@@ -13675,6 +14598,7 @@ var render = function render() {
|
|
|
13675
14598
|
"title": "Pathways",
|
|
13676
14599
|
"labelKey": "label",
|
|
13677
14600
|
"identifierKey": "type",
|
|
14601
|
+
"colourStyle": "line",
|
|
13678
14602
|
"selections": _vm.pathways
|
|
13679
14603
|
},
|
|
13680
14604
|
on: {
|
|
@@ -13810,7 +14734,7 @@ var render = function render() {
|
|
|
13810
14734
|
ref: "tooltip",
|
|
13811
14735
|
staticClass: "tooltip",
|
|
13812
14736
|
attrs: {
|
|
13813
|
-
"
|
|
14737
|
+
"entry": _vm.tooltipEntry
|
|
13814
14738
|
},
|
|
13815
14739
|
on: {
|
|
13816
14740
|
"resource-selected": _vm.resourceSelected
|
|
@@ -13819,7 +14743,7 @@ var render = function render() {
|
|
|
13819
14743
|
};
|
|
13820
14744
|
var staticRenderFns = [];
|
|
13821
14745
|
|
|
13822
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
14746
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=1f482509&scoped=true&
|
|
13823
14747
|
|
|
13824
14748
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13825
14749
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -13946,101 +14870,501 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13946
14870
|
}
|
|
13947
14871
|
};
|
|
13948
14872
|
}
|
|
13949
|
-
// EXTERNAL MODULE:
|
|
13950
|
-
var
|
|
14873
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.async-iterator.js"
|
|
14874
|
+
var es_symbol_async_iterator_js_ = __webpack_require__("a52a");
|
|
13951
14875
|
|
|
13952
|
-
// EXTERNAL MODULE:
|
|
13953
|
-
var
|
|
14876
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.to-string-tag.js"
|
|
14877
|
+
var es_symbol_to_string_tag_js_ = __webpack_require__("14f0");
|
|
13954
14878
|
|
|
13955
|
-
// EXTERNAL MODULE:
|
|
13956
|
-
var
|
|
13957
|
-
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
14879
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.to-string-tag.js"
|
|
14880
|
+
var es_json_to_string_tag_js_ = __webpack_require__("12fb");
|
|
13958
14881
|
|
|
13959
|
-
// EXTERNAL MODULE:
|
|
13960
|
-
var
|
|
14882
|
+
// EXTERNAL MODULE: external "core-js/modules/es.math.to-string-tag.js"
|
|
14883
|
+
var es_math_to_string_tag_js_ = __webpack_require__("7267");
|
|
13961
14884
|
|
|
13962
|
-
// EXTERNAL MODULE:
|
|
13963
|
-
var
|
|
13964
|
-
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
14885
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.get-prototype-of.js"
|
|
14886
|
+
var es_object_get_prototype_of_js_ = __webpack_require__("362b");
|
|
13965
14887
|
|
|
13966
|
-
// EXTERNAL MODULE:
|
|
13967
|
-
var
|
|
14888
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
14889
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
13968
14890
|
|
|
13969
|
-
// EXTERNAL MODULE:
|
|
13970
|
-
var
|
|
13971
|
-
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
14891
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
14892
|
+
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13972
14893
|
|
|
13973
|
-
// EXTERNAL MODULE:
|
|
13974
|
-
var
|
|
14894
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.set-prototype-of.js"
|
|
14895
|
+
var es_object_set_prototype_of_js_ = __webpack_require__("4086");
|
|
13975
14896
|
|
|
13976
|
-
// EXTERNAL MODULE:
|
|
13977
|
-
var
|
|
13978
|
-
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
14897
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.proto.js"
|
|
14898
|
+
var es_object_proto_js_ = __webpack_require__("7949");
|
|
13979
14899
|
|
|
13980
|
-
// EXTERNAL MODULE:
|
|
13981
|
-
var
|
|
14900
|
+
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14901
|
+
var es_promise_js_ = __webpack_require__("ec71");
|
|
13982
14902
|
|
|
13983
|
-
//
|
|
13984
|
-
var lib_col = __webpack_require__("c2cc");
|
|
13985
|
-
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
14903
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
13986
14904
|
|
|
13987
|
-
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13988
|
-
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
13989
14905
|
|
|
13990
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
13991
|
-
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
13992
14906
|
|
|
13993
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13994
|
-
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13995
14907
|
|
|
13996
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
13997
|
-
var es_array_push_js_ = __webpack_require__("2439");
|
|
13998
14908
|
|
|
13999
|
-
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
14000
|
-
var es_set_js_ = __webpack_require__("8535");
|
|
14001
14909
|
|
|
14002
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
14003
|
-
var es_string_search_js_ = __webpack_require__("1c32");
|
|
14004
14910
|
|
|
14005
|
-
|
|
14006
|
-
|
|
14911
|
+
function _typeof(obj) {
|
|
14912
|
+
"@babel/helpers - typeof";
|
|
14007
14913
|
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14914
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
14915
|
+
return typeof obj;
|
|
14916
|
+
} : function (obj) {
|
|
14917
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14918
|
+
}, _typeof(obj);
|
|
14919
|
+
}
|
|
14920
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js
|
|
14011
14921
|
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14028
|
-
|
|
14029
|
-
|
|
14030
|
-
|
|
14031
|
-
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
}
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14922
|
+
|
|
14923
|
+
|
|
14924
|
+
|
|
14925
|
+
|
|
14926
|
+
|
|
14927
|
+
|
|
14928
|
+
|
|
14929
|
+
|
|
14930
|
+
|
|
14931
|
+
|
|
14932
|
+
|
|
14933
|
+
|
|
14934
|
+
|
|
14935
|
+
|
|
14936
|
+
|
|
14937
|
+
|
|
14938
|
+
|
|
14939
|
+
|
|
14940
|
+
|
|
14941
|
+
|
|
14942
|
+
function _regeneratorRuntime() {
|
|
14943
|
+
"use strict";
|
|
14944
|
+
|
|
14945
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
14946
|
+
_regeneratorRuntime = function _regeneratorRuntime() {
|
|
14947
|
+
return exports;
|
|
14948
|
+
};
|
|
14949
|
+
var exports = {},
|
|
14950
|
+
Op = Object.prototype,
|
|
14951
|
+
hasOwn = Op.hasOwnProperty,
|
|
14952
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
14953
|
+
obj[key] = desc.value;
|
|
14954
|
+
},
|
|
14955
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
14956
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
14957
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
14958
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
14959
|
+
function define(obj, key, value) {
|
|
14960
|
+
return Object.defineProperty(obj, key, {
|
|
14961
|
+
value: value,
|
|
14962
|
+
enumerable: !0,
|
|
14963
|
+
configurable: !0,
|
|
14964
|
+
writable: !0
|
|
14965
|
+
}), obj[key];
|
|
14966
|
+
}
|
|
14967
|
+
try {
|
|
14968
|
+
define({}, "");
|
|
14969
|
+
} catch (err) {
|
|
14970
|
+
define = function define(obj, key, value) {
|
|
14971
|
+
return obj[key] = value;
|
|
14972
|
+
};
|
|
14973
|
+
}
|
|
14974
|
+
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
14975
|
+
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
14976
|
+
generator = Object.create(protoGenerator.prototype),
|
|
14977
|
+
context = new Context(tryLocsList || []);
|
|
14978
|
+
return defineProperty(generator, "_invoke", {
|
|
14979
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
14980
|
+
}), generator;
|
|
14981
|
+
}
|
|
14982
|
+
function tryCatch(fn, obj, arg) {
|
|
14983
|
+
try {
|
|
14984
|
+
return {
|
|
14985
|
+
type: "normal",
|
|
14986
|
+
arg: fn.call(obj, arg)
|
|
14987
|
+
};
|
|
14988
|
+
} catch (err) {
|
|
14989
|
+
return {
|
|
14990
|
+
type: "throw",
|
|
14991
|
+
arg: err
|
|
14992
|
+
};
|
|
14993
|
+
}
|
|
14994
|
+
}
|
|
14995
|
+
exports.wrap = wrap;
|
|
14996
|
+
var ContinueSentinel = {};
|
|
14997
|
+
function Generator() {}
|
|
14998
|
+
function GeneratorFunction() {}
|
|
14999
|
+
function GeneratorFunctionPrototype() {}
|
|
15000
|
+
var IteratorPrototype = {};
|
|
15001
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
15002
|
+
return this;
|
|
15003
|
+
});
|
|
15004
|
+
var getProto = Object.getPrototypeOf,
|
|
15005
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
15006
|
+
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
15007
|
+
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
15008
|
+
function defineIteratorMethods(prototype) {
|
|
15009
|
+
["next", "throw", "return"].forEach(function (method) {
|
|
15010
|
+
define(prototype, method, function (arg) {
|
|
15011
|
+
return this._invoke(method, arg);
|
|
15012
|
+
});
|
|
15013
|
+
});
|
|
15014
|
+
}
|
|
15015
|
+
function AsyncIterator(generator, PromiseImpl) {
|
|
15016
|
+
function invoke(method, arg, resolve, reject) {
|
|
15017
|
+
var record = tryCatch(generator[method], generator, arg);
|
|
15018
|
+
if ("throw" !== record.type) {
|
|
15019
|
+
var result = record.arg,
|
|
15020
|
+
value = result.value;
|
|
15021
|
+
return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
15022
|
+
invoke("next", value, resolve, reject);
|
|
15023
|
+
}, function (err) {
|
|
15024
|
+
invoke("throw", err, resolve, reject);
|
|
15025
|
+
}) : PromiseImpl.resolve(value).then(function (unwrapped) {
|
|
15026
|
+
result.value = unwrapped, resolve(result);
|
|
15027
|
+
}, function (error) {
|
|
15028
|
+
return invoke("throw", error, resolve, reject);
|
|
15029
|
+
});
|
|
15030
|
+
}
|
|
15031
|
+
reject(record.arg);
|
|
15032
|
+
}
|
|
15033
|
+
var previousPromise;
|
|
15034
|
+
defineProperty(this, "_invoke", {
|
|
15035
|
+
value: function value(method, arg) {
|
|
15036
|
+
function callInvokeWithMethodAndArg() {
|
|
15037
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
15038
|
+
invoke(method, arg, resolve, reject);
|
|
15039
|
+
});
|
|
15040
|
+
}
|
|
15041
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
15042
|
+
}
|
|
15043
|
+
});
|
|
15044
|
+
}
|
|
15045
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
15046
|
+
var state = "suspendedStart";
|
|
15047
|
+
return function (method, arg) {
|
|
15048
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
15049
|
+
if ("completed" === state) {
|
|
15050
|
+
if ("throw" === method) throw arg;
|
|
15051
|
+
return doneResult();
|
|
15052
|
+
}
|
|
15053
|
+
for (context.method = method, context.arg = arg;;) {
|
|
15054
|
+
var delegate = context.delegate;
|
|
15055
|
+
if (delegate) {
|
|
15056
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
15057
|
+
if (delegateResult) {
|
|
15058
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
15059
|
+
return delegateResult;
|
|
15060
|
+
}
|
|
15061
|
+
}
|
|
15062
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
15063
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
15064
|
+
context.dispatchException(context.arg);
|
|
15065
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
15066
|
+
state = "executing";
|
|
15067
|
+
var record = tryCatch(innerFn, self, context);
|
|
15068
|
+
if ("normal" === record.type) {
|
|
15069
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
15070
|
+
return {
|
|
15071
|
+
value: record.arg,
|
|
15072
|
+
done: context.done
|
|
15073
|
+
};
|
|
15074
|
+
}
|
|
15075
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
15076
|
+
}
|
|
15077
|
+
};
|
|
15078
|
+
}
|
|
15079
|
+
function maybeInvokeDelegate(delegate, context) {
|
|
15080
|
+
var methodName = context.method,
|
|
15081
|
+
method = delegate.iterator[methodName];
|
|
15082
|
+
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;
|
|
15083
|
+
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
15084
|
+
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
15085
|
+
var info = record.arg;
|
|
15086
|
+
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);
|
|
15087
|
+
}
|
|
15088
|
+
function pushTryEntry(locs) {
|
|
15089
|
+
var entry = {
|
|
15090
|
+
tryLoc: locs[0]
|
|
15091
|
+
};
|
|
15092
|
+
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
15093
|
+
}
|
|
15094
|
+
function resetTryEntry(entry) {
|
|
15095
|
+
var record = entry.completion || {};
|
|
15096
|
+
record.type = "normal", delete record.arg, entry.completion = record;
|
|
15097
|
+
}
|
|
15098
|
+
function Context(tryLocsList) {
|
|
15099
|
+
this.tryEntries = [{
|
|
15100
|
+
tryLoc: "root"
|
|
15101
|
+
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
15102
|
+
}
|
|
15103
|
+
function values(iterable) {
|
|
15104
|
+
if (iterable) {
|
|
15105
|
+
var iteratorMethod = iterable[iteratorSymbol];
|
|
15106
|
+
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
15107
|
+
if ("function" == typeof iterable.next) return iterable;
|
|
15108
|
+
if (!isNaN(iterable.length)) {
|
|
15109
|
+
var i = -1,
|
|
15110
|
+
next = function next() {
|
|
15111
|
+
for (; ++i < iterable.length;) {
|
|
15112
|
+
if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
15113
|
+
}
|
|
15114
|
+
return next.value = undefined, next.done = !0, next;
|
|
15115
|
+
};
|
|
15116
|
+
return next.next = next;
|
|
15117
|
+
}
|
|
15118
|
+
}
|
|
15119
|
+
return {
|
|
15120
|
+
next: doneResult
|
|
15121
|
+
};
|
|
15122
|
+
}
|
|
15123
|
+
function doneResult() {
|
|
15124
|
+
return {
|
|
15125
|
+
value: undefined,
|
|
15126
|
+
done: !0
|
|
15127
|
+
};
|
|
15128
|
+
}
|
|
15129
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
15130
|
+
value: GeneratorFunctionPrototype,
|
|
15131
|
+
configurable: !0
|
|
15132
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
15133
|
+
value: GeneratorFunction,
|
|
15134
|
+
configurable: !0
|
|
15135
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
15136
|
+
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
15137
|
+
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
15138
|
+
}, exports.mark = function (genFun) {
|
|
15139
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
|
|
15140
|
+
}, exports.awrap = function (arg) {
|
|
15141
|
+
return {
|
|
15142
|
+
__await: arg
|
|
15143
|
+
};
|
|
15144
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
15145
|
+
return this;
|
|
15146
|
+
}), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
|
|
15147
|
+
void 0 === PromiseImpl && (PromiseImpl = Promise);
|
|
15148
|
+
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
|
|
15149
|
+
return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
|
|
15150
|
+
return result.done ? result.value : iter.next();
|
|
15151
|
+
});
|
|
15152
|
+
}, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
|
|
15153
|
+
return this;
|
|
15154
|
+
}), define(Gp, "toString", function () {
|
|
15155
|
+
return "[object Generator]";
|
|
15156
|
+
}), exports.keys = function (val) {
|
|
15157
|
+
var object = Object(val),
|
|
15158
|
+
keys = [];
|
|
15159
|
+
for (var key in object) {
|
|
15160
|
+
keys.push(key);
|
|
15161
|
+
}
|
|
15162
|
+
return keys.reverse(), function next() {
|
|
15163
|
+
for (; keys.length;) {
|
|
15164
|
+
var key = keys.pop();
|
|
15165
|
+
if (key in object) return next.value = key, next.done = !1, next;
|
|
15166
|
+
}
|
|
15167
|
+
return next.done = !0, next;
|
|
15168
|
+
};
|
|
15169
|
+
}, exports.values = values, Context.prototype = {
|
|
15170
|
+
constructor: Context,
|
|
15171
|
+
reset: function reset(skipTempReset) {
|
|
15172
|
+
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) {
|
|
15173
|
+
"t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
|
|
15174
|
+
}
|
|
15175
|
+
},
|
|
15176
|
+
stop: function stop() {
|
|
15177
|
+
this.done = !0;
|
|
15178
|
+
var rootRecord = this.tryEntries[0].completion;
|
|
15179
|
+
if ("throw" === rootRecord.type) throw rootRecord.arg;
|
|
15180
|
+
return this.rval;
|
|
15181
|
+
},
|
|
15182
|
+
dispatchException: function dispatchException(exception) {
|
|
15183
|
+
if (this.done) throw exception;
|
|
15184
|
+
var context = this;
|
|
15185
|
+
function handle(loc, caught) {
|
|
15186
|
+
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
15187
|
+
}
|
|
15188
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15189
|
+
var entry = this.tryEntries[i],
|
|
15190
|
+
record = entry.completion;
|
|
15191
|
+
if ("root" === entry.tryLoc) return handle("end");
|
|
15192
|
+
if (entry.tryLoc <= this.prev) {
|
|
15193
|
+
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
15194
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
15195
|
+
if (hasCatch && hasFinally) {
|
|
15196
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
15197
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
15198
|
+
} else if (hasCatch) {
|
|
15199
|
+
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
15200
|
+
} else {
|
|
15201
|
+
if (!hasFinally) throw new Error("try statement without catch or finally");
|
|
15202
|
+
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
15203
|
+
}
|
|
15204
|
+
}
|
|
15205
|
+
}
|
|
15206
|
+
},
|
|
15207
|
+
abrupt: function abrupt(type, arg) {
|
|
15208
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15209
|
+
var entry = this.tryEntries[i];
|
|
15210
|
+
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
15211
|
+
var finallyEntry = entry;
|
|
15212
|
+
break;
|
|
15213
|
+
}
|
|
15214
|
+
}
|
|
15215
|
+
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
15216
|
+
var record = finallyEntry ? finallyEntry.completion : {};
|
|
15217
|
+
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
15218
|
+
},
|
|
15219
|
+
complete: function complete(record, afterLoc) {
|
|
15220
|
+
if ("throw" === record.type) throw record.arg;
|
|
15221
|
+
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;
|
|
15222
|
+
},
|
|
15223
|
+
finish: function finish(finallyLoc) {
|
|
15224
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15225
|
+
var entry = this.tryEntries[i];
|
|
15226
|
+
if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
|
|
15227
|
+
}
|
|
15228
|
+
},
|
|
15229
|
+
"catch": function _catch(tryLoc) {
|
|
15230
|
+
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
15231
|
+
var entry = this.tryEntries[i];
|
|
15232
|
+
if (entry.tryLoc === tryLoc) {
|
|
15233
|
+
var record = entry.completion;
|
|
15234
|
+
if ("throw" === record.type) {
|
|
15235
|
+
var thrown = record.arg;
|
|
15236
|
+
resetTryEntry(entry);
|
|
15237
|
+
}
|
|
15238
|
+
return thrown;
|
|
15239
|
+
}
|
|
15240
|
+
}
|
|
15241
|
+
throw new Error("illegal catch attempt");
|
|
15242
|
+
},
|
|
15243
|
+
delegateYield: function delegateYield(iterable, resultName, nextLoc) {
|
|
15244
|
+
return this.delegate = {
|
|
15245
|
+
iterator: values(iterable),
|
|
15246
|
+
resultName: resultName,
|
|
15247
|
+
nextLoc: nextLoc
|
|
15248
|
+
}, "next" === this.method && (this.arg = undefined), ContinueSentinel;
|
|
15249
|
+
}
|
|
15250
|
+
}, exports;
|
|
15251
|
+
}
|
|
15252
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
|
|
15253
|
+
|
|
15254
|
+
|
|
15255
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
15256
|
+
try {
|
|
15257
|
+
var info = gen[key](arg);
|
|
15258
|
+
var value = info.value;
|
|
15259
|
+
} catch (error) {
|
|
15260
|
+
reject(error);
|
|
15261
|
+
return;
|
|
15262
|
+
}
|
|
15263
|
+
if (info.done) {
|
|
15264
|
+
resolve(value);
|
|
15265
|
+
} else {
|
|
15266
|
+
Promise.resolve(value).then(_next, _throw);
|
|
15267
|
+
}
|
|
15268
|
+
}
|
|
15269
|
+
function _asyncToGenerator(fn) {
|
|
15270
|
+
return function () {
|
|
15271
|
+
var self = this,
|
|
15272
|
+
args = arguments;
|
|
15273
|
+
return new Promise(function (resolve, reject) {
|
|
15274
|
+
var gen = fn.apply(self, args);
|
|
15275
|
+
function _next(value) {
|
|
15276
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
15277
|
+
}
|
|
15278
|
+
function _throw(err) {
|
|
15279
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
15280
|
+
}
|
|
15281
|
+
_next(undefined);
|
|
15282
|
+
});
|
|
15283
|
+
};
|
|
15284
|
+
}
|
|
15285
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
15286
|
+
var row = __webpack_require__("7a0f");
|
|
15287
|
+
|
|
15288
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/base.css
|
|
15289
|
+
var base = __webpack_require__("450d");
|
|
15290
|
+
|
|
15291
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/row.js
|
|
15292
|
+
var lib_row = __webpack_require__("0f6c");
|
|
15293
|
+
var lib_row_default = /*#__PURE__*/__webpack_require__.n(lib_row);
|
|
15294
|
+
|
|
15295
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio-group.css
|
|
15296
|
+
var radio_group = __webpack_require__("fe07");
|
|
15297
|
+
|
|
15298
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio-group.js
|
|
15299
|
+
var lib_radio_group = __webpack_require__("6ac5");
|
|
15300
|
+
var lib_radio_group_default = /*#__PURE__*/__webpack_require__.n(lib_radio_group);
|
|
15301
|
+
|
|
15302
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/radio.css
|
|
15303
|
+
var theme_chalk_radio = __webpack_require__("b5d8");
|
|
15304
|
+
|
|
15305
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/radio.js
|
|
15306
|
+
var lib_radio = __webpack_require__("f494");
|
|
15307
|
+
var lib_radio_default = /*#__PURE__*/__webpack_require__.n(lib_radio);
|
|
15308
|
+
|
|
15309
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/loading.css
|
|
15310
|
+
var loading = __webpack_require__("be4f");
|
|
15311
|
+
|
|
15312
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/loading.js
|
|
15313
|
+
var lib_loading = __webpack_require__("896a");
|
|
15314
|
+
var lib_loading_default = /*#__PURE__*/__webpack_require__.n(lib_loading);
|
|
15315
|
+
|
|
15316
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/col.css
|
|
15317
|
+
var col = __webpack_require__("f4f9");
|
|
15318
|
+
|
|
15319
|
+
// EXTERNAL MODULE: ./node_modules/element-ui/lib/col.js
|
|
15320
|
+
var lib_col = __webpack_require__("c2cc");
|
|
15321
|
+
var lib_col_default = /*#__PURE__*/__webpack_require__.n(lib_col);
|
|
15322
|
+
|
|
15323
|
+
// EXTERNAL MODULE: external "core-js/modules/es.set.js"
|
|
15324
|
+
var es_set_js_ = __webpack_require__("8535");
|
|
15325
|
+
|
|
15326
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.search.js"
|
|
15327
|
+
var es_string_search_js_ = __webpack_require__("1c32");
|
|
15328
|
+
|
|
15329
|
+
// EXTERNAL MODULE: external "core-js/modules/es.number.constructor.js"
|
|
15330
|
+
var es_number_constructor_js_ = __webpack_require__("f989");
|
|
15331
|
+
|
|
15332
|
+
// EXTERNAL MODULE: external "vue"
|
|
15333
|
+
var external_vue_ = __webpack_require__("8bbf");
|
|
15334
|
+
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
15335
|
+
|
|
15336
|
+
// 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&
|
|
15337
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render = function render() {
|
|
15338
|
+
var _vm = this,
|
|
15339
|
+
_c = _vm._self._c;
|
|
15340
|
+
return _c('div', {
|
|
15341
|
+
staticClass: "tooltip-container"
|
|
15342
|
+
}, [_vm.entry ? _c('el-main', {
|
|
15343
|
+
directives: [{
|
|
15344
|
+
name: "loading",
|
|
15345
|
+
rawName: "v-loading",
|
|
15346
|
+
value: _vm.loading,
|
|
15347
|
+
expression: "loading"
|
|
15348
|
+
}],
|
|
15349
|
+
staticClass: "main"
|
|
15350
|
+
}, [_vm.entry.title ? _c('div', {
|
|
15351
|
+
staticClass: "block"
|
|
15352
|
+
}, [_c('span', {
|
|
15353
|
+
staticClass: "title"
|
|
15354
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.entry.title)))])]) : _c('div', {
|
|
15355
|
+
staticClass: "block"
|
|
15356
|
+
}, [_c('span', {
|
|
15357
|
+
staticClass: "title"
|
|
15358
|
+
}, [_vm._v(_vm._s(_vm.entry.featureId))])]), _c('div', {
|
|
15359
|
+
staticClass: "content-container scrollbar"
|
|
15360
|
+
}, [_vm._v(" " + _vm._s(_vm.entry.paths) + " "), _vm.entry.origins && _vm.entry.origins.length > 0 ? _c('div', {
|
|
15361
|
+
staticClass: "block"
|
|
15362
|
+
}, [_c('div', [_c('span', {
|
|
15363
|
+
staticClass: "attribute-title"
|
|
15364
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
15365
|
+
attrs: {
|
|
15366
|
+
"width": "250",
|
|
15367
|
+
"trigger": "hover",
|
|
14044
15368
|
"append-to-body": false,
|
|
14045
15369
|
"popper-class": "popover-origin-help"
|
|
14046
15370
|
}
|
|
@@ -14054,36 +15378,36 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14054
15378
|
staticStyle: {
|
|
14055
15379
|
"word-break": "keep-all"
|
|
14056
15380
|
}
|
|
14057
|
-
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
15381
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.entry.origins, function (origin, i) {
|
|
14058
15382
|
return _c('div', {
|
|
14059
15383
|
key: origin,
|
|
14060
15384
|
staticClass: "attribute-content"
|
|
14061
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
15385
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.entry.origins.length - 1 ? _c('div', {
|
|
14062
15386
|
staticClass: "seperator"
|
|
14063
15387
|
}) : _vm._e()]);
|
|
14064
15388
|
}), _c('el-button', {
|
|
14065
15389
|
directives: [{
|
|
14066
15390
|
name: "show",
|
|
14067
15391
|
rawName: "v-show",
|
|
14068
|
-
value: _vm.originsWithDatasets.length > 0,
|
|
14069
|
-
expression: "originsWithDatasets.length > 0"
|
|
15392
|
+
value: _vm.entry.originsWithDatasets && _vm.entry.originsWithDatasets.length > 0,
|
|
15393
|
+
expression: "entry.originsWithDatasets && entry.originsWithDatasets.length > 0"
|
|
14070
15394
|
}],
|
|
14071
15395
|
staticClass: "button",
|
|
14072
15396
|
on: {
|
|
14073
15397
|
"click": _vm.openDendrites
|
|
14074
15398
|
}
|
|
14075
|
-
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.components && _vm.components.length > 0 ? _c('div', {
|
|
15399
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), _vm.entry.components && _vm.entry.components.length > 0 ? _c('div', {
|
|
14076
15400
|
staticClass: "block"
|
|
14077
15401
|
}, [_c('div', {
|
|
14078
15402
|
staticClass: "attribute-title"
|
|
14079
|
-
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
15403
|
+
}, [_vm._v("Components")]), _vm._l(_vm.entry.components, function (component, i) {
|
|
14080
15404
|
return _c('div', {
|
|
14081
15405
|
key: component,
|
|
14082
15406
|
staticClass: "attribute-content"
|
|
14083
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
15407
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.entry.components.length - 1 ? _c('div', {
|
|
14084
15408
|
staticClass: "seperator"
|
|
14085
15409
|
}) : _vm._e()]);
|
|
14086
|
-
})], 2) : _vm._e(), _vm.destinations && _vm.destinations.length > 0 ? _c('div', {
|
|
15410
|
+
})], 2) : _vm._e(), _vm.entry.destinations && _vm.entry.destinations.length > 0 ? _c('div', {
|
|
14087
15411
|
staticClass: "block"
|
|
14088
15412
|
}, [_c('div', [_c('span', {
|
|
14089
15413
|
staticClass: "attribute-title"
|
|
@@ -14104,19 +15428,19 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14104
15428
|
staticStyle: {
|
|
14105
15429
|
"word-break": "keep-all"
|
|
14106
15430
|
}
|
|
14107
|
-
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
15431
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.entry.destinations, function (destination, i) {
|
|
14108
15432
|
return _c('div', {
|
|
14109
15433
|
key: destination,
|
|
14110
15434
|
staticClass: "attribute-content"
|
|
14111
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
15435
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.entry.destinations.length - 1 ? _c('div', {
|
|
14112
15436
|
staticClass: "seperator"
|
|
14113
15437
|
}) : _vm._e()]);
|
|
14114
15438
|
}), _c('el-button', {
|
|
14115
15439
|
directives: [{
|
|
14116
15440
|
name: "show",
|
|
14117
15441
|
rawName: "v-show",
|
|
14118
|
-
value: _vm.destinationsWithDatasets.length > 0,
|
|
14119
|
-
expression: "destinationsWithDatasets.length > 0"
|
|
15442
|
+
value: _vm.entry.destinationsWithDatasets && _vm.entry.destinationsWithDatasets.length > 0,
|
|
15443
|
+
expression: "entry.destinationsWithDatasets && entry.destinationsWithDatasets.length > 0"
|
|
14120
15444
|
}],
|
|
14121
15445
|
staticClass: "button",
|
|
14122
15446
|
on: {
|
|
@@ -14126,72 +15450,23 @@ var Tooltipvue_type_template_id_4125ac3a_scoped_true_render = function render()
|
|
|
14126
15450
|
directives: [{
|
|
14127
15451
|
name: "show",
|
|
14128
15452
|
rawName: "v-show",
|
|
14129
|
-
value: _vm.componentsWithDatasets.length > 0,
|
|
14130
|
-
expression: "componentsWithDatasets.length > 0"
|
|
15453
|
+
value: _vm.entry.componentsWithDatasets && _vm.entry.componentsWithDatasets.length > 0,
|
|
15454
|
+
expression: "entry.componentsWithDatasets && entry.componentsWithDatasets.length > 0"
|
|
14131
15455
|
}],
|
|
14132
15456
|
staticClass: "button",
|
|
14133
15457
|
on: {
|
|
14134
15458
|
"click": _vm.openAll
|
|
14135
15459
|
}
|
|
14136
|
-
}, [_vm._v(" Search for data on components ")]),
|
|
14137
|
-
directives: [{
|
|
14138
|
-
name: "show",
|
|
14139
|
-
rawName: "v-show",
|
|
14140
|
-
value: false,
|
|
14141
|
-
expression: "false"
|
|
14142
|
-
}],
|
|
14143
|
-
attrs: {
|
|
14144
|
-
"entry": _vm.content
|
|
14145
|
-
},
|
|
14146
|
-
on: {
|
|
14147
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14148
|
-
}
|
|
14149
|
-
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14150
|
-
staticClass: "button",
|
|
15460
|
+
}, [_vm._v(" Search for data on components ")]), _c('external-resource-card', {
|
|
14151
15461
|
attrs: {
|
|
14152
|
-
"
|
|
14153
|
-
},
|
|
14154
|
-
on: {
|
|
14155
|
-
"click": function click($event) {
|
|
14156
|
-
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14157
|
-
}
|
|
15462
|
+
"resources": _vm.resources
|
|
14158
15463
|
}
|
|
14159
|
-
}
|
|
15464
|
+
})], 1)]) : _vm._e()], 1);
|
|
14160
15465
|
};
|
|
14161
|
-
var
|
|
14162
|
-
|
|
14163
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4125ac3a&scoped=true&
|
|
14164
|
-
|
|
14165
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
14166
|
-
|
|
14167
|
-
function _arrayWithoutHoles(arr) {
|
|
14168
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
14169
|
-
}
|
|
14170
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
14171
|
-
|
|
15466
|
+
var Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns = [];
|
|
14172
15467
|
|
|
15468
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4ffcf7c8&scoped=true&
|
|
14173
15469
|
|
|
14174
|
-
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
|
|
14179
|
-
function _iterableToArray(iter) {
|
|
14180
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14181
|
-
}
|
|
14182
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14183
|
-
|
|
14184
|
-
function _nonIterableSpread() {
|
|
14185
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14186
|
-
}
|
|
14187
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
14188
|
-
|
|
14189
|
-
|
|
14190
|
-
|
|
14191
|
-
|
|
14192
|
-
function _toConsumableArray(arr) {
|
|
14193
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
14194
|
-
}
|
|
14195
15470
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
14196
15471
|
var main = __webpack_require__("de31");
|
|
14197
15472
|
|
|
@@ -14230,27 +15505,15 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
14230
15505
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
14231
15506
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
14232
15507
|
|
|
14233
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
14234
|
-
var
|
|
15508
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
|
|
15509
|
+
var es_array_includes_js_ = __webpack_require__("85f7");
|
|
15510
|
+
|
|
15511
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
15512
|
+
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
14235
15513
|
|
|
14236
15514
|
// EXTERNAL MODULE: external "core-js/modules/es.array.map.js"
|
|
14237
15515
|
var es_array_map_js_ = __webpack_require__("4391");
|
|
14238
15516
|
|
|
14239
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
14240
|
-
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
14241
|
-
|
|
14242
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
14243
|
-
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
14244
|
-
|
|
14245
|
-
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14246
|
-
var es_promise_js_ = __webpack_require__("ec71");
|
|
14247
|
-
|
|
14248
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
14249
|
-
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
14250
|
-
|
|
14251
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.filter.js"
|
|
14252
|
-
var es_array_filter_js_ = __webpack_require__("1a89");
|
|
14253
|
-
|
|
14254
15517
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/locale/lang/en.js
|
|
14255
15518
|
var en = __webpack_require__("b2d6");
|
|
14256
15519
|
var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
@@ -14259,138 +15522,74 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
14259
15522
|
var locale = __webpack_require__("4897");
|
|
14260
15523
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14261
15524
|
|
|
14262
|
-
// CONCATENATED MODULE: ./
|
|
14263
|
-
|
|
15525
|
+
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
15526
|
+
|
|
15527
|
+
var EventBus = new external_vue_default.a();
|
|
15528
|
+
/* harmony default export */ var components_EventBus = (EventBus);
|
|
15529
|
+
// 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&
|
|
15530
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render = function render() {
|
|
14264
15531
|
var _vm = this,
|
|
14265
15532
|
_c = _vm._self._c;
|
|
14266
15533
|
return _c('div', {
|
|
14267
|
-
staticClass: "
|
|
14268
|
-
})
|
|
15534
|
+
staticClass: "resource-container"
|
|
15535
|
+
}, [_vm._l(_vm.resources, function (resource) {
|
|
15536
|
+
return [_c('div', {
|
|
15537
|
+
key: resource.id,
|
|
15538
|
+
staticClass: "resource"
|
|
15539
|
+
}, [resource.id === 'pubmed' ? _c('el-button', {
|
|
15540
|
+
staticClass: "button",
|
|
15541
|
+
attrs: {
|
|
15542
|
+
"icon": "el-icon-notebook-2"
|
|
15543
|
+
},
|
|
15544
|
+
on: {
|
|
15545
|
+
"click": function click($event) {
|
|
15546
|
+
return _vm.openUrl(resource.url);
|
|
15547
|
+
}
|
|
15548
|
+
}
|
|
15549
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)];
|
|
15550
|
+
})], 2);
|
|
14269
15551
|
};
|
|
14270
|
-
var
|
|
14271
|
-
|
|
14272
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14273
|
-
|
|
14274
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
14275
|
-
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
14276
|
-
|
|
14277
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
14278
|
-
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
14279
|
-
|
|
14280
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
14281
|
-
|
|
14282
|
-
|
|
14283
|
-
|
|
14284
|
-
|
|
15552
|
+
var ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns = [];
|
|
14285
15553
|
|
|
15554
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=template&id=14172b61&scoped=true&
|
|
14286
15555
|
|
|
15556
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/ExternalResourceCard.vue?vue&type=script&lang=js&
|
|
14287
15557
|
|
|
14288
15558
|
|
|
14289
15559
|
|
|
14290
15560
|
|
|
14291
15561
|
/* eslint-disable no-alert, no-console */
|
|
14292
15562
|
|
|
14293
|
-
|
|
14294
|
-
|
|
15563
|
+
external_vue_default.a.use(lib_button_default.a);
|
|
15564
|
+
/* harmony default export */ var ExternalResourceCardvue_type_script_lang_js_ = ({
|
|
15565
|
+
name: "ExternalResourceCard",
|
|
14295
15566
|
props: {
|
|
14296
|
-
|
|
14297
|
-
type:
|
|
14298
|
-
default: function _default() {
|
|
14299
|
-
|
|
14300
|
-
},
|
|
14301
|
-
watch: {
|
|
14302
|
-
'entry.featureIds': {
|
|
14303
|
-
handler: function handler(ids) {
|
|
14304
|
-
this.pubmedQueryOnIds(ids);
|
|
15567
|
+
resources: {
|
|
15568
|
+
type: Array,
|
|
15569
|
+
default: function _default() {
|
|
15570
|
+
return [];
|
|
14305
15571
|
}
|
|
14306
15572
|
}
|
|
14307
15573
|
},
|
|
14308
|
-
inject: ['flatmapAPI'],
|
|
14309
15574
|
data: function data() {
|
|
14310
15575
|
return {
|
|
14311
15576
|
pubmeds: [],
|
|
14312
15577
|
pubmedIds: []
|
|
14313
15578
|
};
|
|
14314
15579
|
},
|
|
14315
|
-
mounted: function mounted() {
|
|
14316
|
-
if (this.entry.featureIds) this.pubmedQueryOnIds(this.entry.featureIds);
|
|
14317
|
-
},
|
|
14318
15580
|
methods: {
|
|
14319
|
-
|
|
14320
|
-
return
|
|
14321
|
-
},
|
|
14322
|
-
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
14323
|
-
var sql = 'select distinct publication from publications where entity in (';
|
|
14324
|
-
if (keastIds.length === 1) {
|
|
14325
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14326
|
-
} else if (keastIds.length > 1) {
|
|
14327
|
-
for (var i in keastIds) {
|
|
14328
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14329
|
-
}
|
|
14330
|
-
}
|
|
14331
|
-
return sql;
|
|
14332
|
-
},
|
|
14333
|
-
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
14334
|
-
return "select distinct publication from publications where entity = '".concat(model, "'");
|
|
14335
|
-
},
|
|
14336
|
-
flatmapQuery: function flatmapQuery(sql) {
|
|
14337
|
-
var data = {
|
|
14338
|
-
sql: sql
|
|
14339
|
-
};
|
|
14340
|
-
return fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14341
|
-
method: 'POST',
|
|
14342
|
-
headers: {
|
|
14343
|
-
'Content-Type': 'application/json'
|
|
14344
|
-
},
|
|
14345
|
-
body: JSON.stringify(data)
|
|
14346
|
-
}).then(function (response) {
|
|
14347
|
-
return response.json();
|
|
14348
|
-
}).catch(function (error) {
|
|
14349
|
-
console.error('Error:', error);
|
|
14350
|
-
});
|
|
15581
|
+
capitalise: function capitalise(string) {
|
|
15582
|
+
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
14351
15583
|
},
|
|
14352
|
-
|
|
14353
|
-
|
|
14354
|
-
if (!keastIds || keastIds.length === 0) return;
|
|
14355
|
-
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14356
|
-
this.flatmapQuery(sql).then(function (data) {
|
|
14357
|
-
_this.responseData = data;
|
|
14358
|
-
// Create pubmed url on paths if we have them
|
|
14359
|
-
if (data.values.length > 0) {
|
|
14360
|
-
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14361
|
-
return _this.stripPMIDPrefix(id[0]);
|
|
14362
|
-
})));
|
|
14363
|
-
} else {
|
|
14364
|
-
// Create pubmed url on models
|
|
14365
|
-
_this.pubmedQueryOnModels(_this.entry.source);
|
|
14366
|
-
}
|
|
14367
|
-
});
|
|
14368
|
-
},
|
|
14369
|
-
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14370
|
-
var _this2 = this;
|
|
14371
|
-
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14372
|
-
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
14373
|
-
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
14374
|
-
return _this2.stripPMIDPrefix(id[0]);
|
|
14375
|
-
})));
|
|
14376
|
-
} else {
|
|
14377
|
-
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
14378
|
-
}
|
|
14379
|
-
});
|
|
14380
|
-
},
|
|
14381
|
-
|
|
14382
|
-
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
14383
|
-
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
14384
|
-
var params = new URLSearchParams();
|
|
14385
|
-
params.append('term', ids);
|
|
14386
|
-
return url + params.toString();
|
|
15584
|
+
openUrl: function openUrl(url) {
|
|
15585
|
+
window.open(url, '_blank');
|
|
14387
15586
|
}
|
|
14388
15587
|
}
|
|
14389
15588
|
});
|
|
14390
|
-
// CONCATENATED MODULE: ./src/components/
|
|
14391
|
-
/* harmony default export */ var
|
|
14392
|
-
// EXTERNAL MODULE: ./src/components/
|
|
14393
|
-
var
|
|
15589
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue?vue&type=script&lang=js&
|
|
15590
|
+
/* harmony default export */ var components_ExternalResourceCardvue_type_script_lang_js_ = (ExternalResourceCardvue_type_script_lang_js_);
|
|
15591
|
+
// EXTERNAL MODULE: ./src/components/ExternalResourceCard.vue?vue&type=style&index=0&id=14172b61&prod&scoped=true&lang=scss&
|
|
15592
|
+
var ExternalResourceCardvue_type_style_index_0_id_14172b61_prod_scoped_true_lang_scss_ = __webpack_require__("4034");
|
|
14394
15593
|
|
|
14395
15594
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
14396
15595
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -14487,49 +15686,31 @@ function normalizeComponent(
|
|
|
14487
15686
|
return {
|
|
14488
15687
|
exports: scriptExports,
|
|
14489
15688
|
options: options
|
|
14490
|
-
}
|
|
14491
|
-
}
|
|
14492
|
-
|
|
14493
|
-
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue
|
|
14494
|
-
|
|
14495
|
-
|
|
14496
|
-
|
|
14497
|
-
|
|
14498
|
-
|
|
14499
|
-
|
|
14500
|
-
/* normalize component */
|
|
14501
|
-
|
|
14502
|
-
var component = normalizeComponent(
|
|
14503
|
-
components_PubmedViewervue_type_script_lang_js_,
|
|
14504
|
-
PubmedViewervue_type_template_id_58832c92_scoped_true_render,
|
|
14505
|
-
PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns,
|
|
14506
|
-
false,
|
|
14507
|
-
null,
|
|
14508
|
-
"58832c92",
|
|
14509
|
-
null
|
|
14510
|
-
|
|
14511
|
-
)
|
|
14512
|
-
|
|
14513
|
-
/* harmony default export */ var PubmedViewer = (component.exports);
|
|
14514
|
-
// CONCATENATED MODULE: ./src/components/EventBus.js
|
|
14515
|
-
|
|
14516
|
-
var EventBus = new external_vue_default.a();
|
|
14517
|
-
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14518
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14519
|
-
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
15689
|
+
}
|
|
15690
|
+
}
|
|
14524
15691
|
|
|
15692
|
+
// CONCATENATED MODULE: ./src/components/ExternalResourceCard.vue
|
|
14525
15693
|
|
|
14526
15694
|
|
|
14527
15695
|
|
|
14528
15696
|
|
|
14529
15697
|
|
|
14530
15698
|
|
|
15699
|
+
/* normalize component */
|
|
14531
15700
|
|
|
15701
|
+
var component = normalizeComponent(
|
|
15702
|
+
components_ExternalResourceCardvue_type_script_lang_js_,
|
|
15703
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_render,
|
|
15704
|
+
ExternalResourceCardvue_type_template_id_14172b61_scoped_true_staticRenderFns,
|
|
15705
|
+
false,
|
|
15706
|
+
null,
|
|
15707
|
+
"14172b61",
|
|
15708
|
+
null
|
|
15709
|
+
|
|
15710
|
+
)
|
|
14532
15711
|
|
|
15712
|
+
/* harmony default export */ var ExternalResourceCard = (component.exports);
|
|
15713
|
+
// 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&
|
|
14533
15714
|
|
|
14534
15715
|
|
|
14535
15716
|
|
|
@@ -14563,35 +15744,19 @@ external_vue_default.a.use(lib_header_default.a);
|
|
|
14563
15744
|
external_vue_default.a.use(lib_icon_default.a);
|
|
14564
15745
|
external_vue_default.a.use(lib_main_default.a);
|
|
14565
15746
|
|
|
14566
|
-
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
14567
|
-
|
|
14568
15747
|
|
|
14569
15748
|
var _titleCase = function titleCase(str) {
|
|
14570
15749
|
return str.replace(/\w\S*/g, function (t) {
|
|
14571
15750
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
14572
15751
|
});
|
|
14573
15752
|
};
|
|
14574
|
-
var inArray = function inArray(ar1, ar2) {
|
|
14575
|
-
var as1 = JSON.stringify(ar1);
|
|
14576
|
-
var as2 = JSON.stringify(ar2);
|
|
14577
|
-
return as1.indexOf(as2) !== -1;
|
|
14578
|
-
};
|
|
14579
|
-
|
|
14580
|
-
// remove duplicates by stringifying the objects
|
|
14581
|
-
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
14582
|
-
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
14583
|
-
return JSON.stringify(e);
|
|
14584
|
-
}))).map(function (e) {
|
|
14585
|
-
return JSON.parse(e);
|
|
14586
|
-
});
|
|
14587
|
-
};
|
|
14588
15753
|
var _capitalise = function capitalise(str) {
|
|
14589
15754
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
14590
15755
|
return "";
|
|
14591
15756
|
};
|
|
14592
15757
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
14593
15758
|
components: {
|
|
14594
|
-
|
|
15759
|
+
ExternalResourceCard: ExternalResourceCard
|
|
14595
15760
|
},
|
|
14596
15761
|
name: "Tooltip",
|
|
14597
15762
|
props: {
|
|
@@ -14599,17 +15764,29 @@ var _capitalise = function capitalise(str) {
|
|
|
14599
15764
|
type: Boolean,
|
|
14600
15765
|
default: false
|
|
14601
15766
|
},
|
|
14602
|
-
|
|
15767
|
+
entry: {
|
|
14603
15768
|
type: Object,
|
|
14604
|
-
default:
|
|
15769
|
+
default: function _default() {
|
|
15770
|
+
return {
|
|
15771
|
+
destinations: [],
|
|
15772
|
+
origins: [],
|
|
15773
|
+
components: [],
|
|
15774
|
+
destinationsWithDatasets: [],
|
|
15775
|
+
originsWithDatasets: [],
|
|
15776
|
+
componentsWithDatasets: [],
|
|
15777
|
+
resource: undefined
|
|
15778
|
+
};
|
|
15779
|
+
}
|
|
14605
15780
|
}
|
|
14606
15781
|
},
|
|
14607
15782
|
data: function data() {
|
|
14608
15783
|
return {
|
|
15784
|
+
controller: undefined,
|
|
14609
15785
|
activeSpecies: undefined,
|
|
14610
15786
|
appendToBody: false,
|
|
14611
15787
|
pubmedSearchUrl: '',
|
|
14612
15788
|
loading: false,
|
|
15789
|
+
showToolip: false,
|
|
14613
15790
|
destinations: [],
|
|
14614
15791
|
origins: [],
|
|
14615
15792
|
components: [],
|
|
@@ -14626,20 +15803,16 @@ var _capitalise = function capitalise(str) {
|
|
|
14626
15803
|
}]
|
|
14627
15804
|
};
|
|
14628
15805
|
},
|
|
14629
|
-
inject: ['sparcAPI', 'flatmapAPI'],
|
|
14630
|
-
watch: {
|
|
14631
|
-
'content.featureIds': {
|
|
14632
|
-
handler: function handler() {
|
|
14633
|
-
this.pathwayQuery(this.content.featureIds);
|
|
14634
|
-
}
|
|
14635
|
-
}
|
|
14636
|
-
},
|
|
14637
|
-
mounted: function mounted() {
|
|
14638
|
-
this.getOrganCuries();
|
|
14639
|
-
},
|
|
14640
15806
|
computed: {
|
|
15807
|
+
resources: function resources() {
|
|
15808
|
+
var resources = [];
|
|
15809
|
+
if (this.entry && this.entry.hyperlinks) {
|
|
15810
|
+
resources = this.entry.hyperlinks;
|
|
15811
|
+
}
|
|
15812
|
+
return resources;
|
|
15813
|
+
},
|
|
14641
15814
|
originDescription: function originDescription() {
|
|
14642
|
-
if (this.
|
|
15815
|
+
if (this.entry && this.entry.title && this.entry.title.toLowerCase().includes('motor')) {
|
|
14643
15816
|
return this.originDescriptions.motor;
|
|
14644
15817
|
} else {
|
|
14645
15818
|
return this.originDescriptions.sensory;
|
|
@@ -14688,209 +15861,13 @@ var _capitalise = function capitalise(str) {
|
|
|
14688
15861
|
},
|
|
14689
15862
|
pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
|
|
14690
15863
|
this.pubmedSearchUrl = val;
|
|
14691
|
-
},
|
|
14692
|
-
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
14693
|
-
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14694
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14695
|
-
var found = [];
|
|
14696
|
-
nodes.forEach(function (n) {
|
|
14697
|
-
if (Array.isArray(n)) {
|
|
14698
|
-
found.push(n.flat());
|
|
14699
|
-
} else {
|
|
14700
|
-
found.push(n);
|
|
14701
|
-
}
|
|
14702
|
-
});
|
|
14703
|
-
return _toConsumableArray(new Set(found.flat()));
|
|
14704
|
-
},
|
|
14705
|
-
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14706
|
-
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14707
|
-
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14708
|
-
var found = [];
|
|
14709
|
-
nodes.forEach(function (n) {
|
|
14710
|
-
if (Array.isArray(n)) {
|
|
14711
|
-
found.push(n.flat());
|
|
14712
|
-
} else {
|
|
14713
|
-
found.push(n);
|
|
14714
|
-
}
|
|
14715
|
-
});
|
|
14716
|
-
return found.flat();
|
|
14717
|
-
},
|
|
14718
|
-
findComponents: function findComponents(connectivity) {
|
|
14719
|
-
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14720
|
-
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14721
|
-
var found = [];
|
|
14722
|
-
var terminal = false;
|
|
14723
|
-
nodes.forEach(function (node) {
|
|
14724
|
-
terminal = false;
|
|
14725
|
-
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14726
|
-
if (inArray(connectivity.axons, node)) {
|
|
14727
|
-
terminal = true;
|
|
14728
|
-
}
|
|
14729
|
-
if (inArray(connectivity.dendrites, node)) {
|
|
14730
|
-
terminal = true;
|
|
14731
|
-
}
|
|
14732
|
-
if (!terminal) {
|
|
14733
|
-
found.push(node);
|
|
14734
|
-
}
|
|
14735
|
-
});
|
|
14736
|
-
return found;
|
|
14737
|
-
},
|
|
14738
|
-
getOrganCuries: function getOrganCuries() {
|
|
14739
|
-
var _this = this;
|
|
14740
|
-
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
14741
|
-
return response.json();
|
|
14742
|
-
}).then(function (data) {
|
|
14743
|
-
_this.uberons = data.uberon.array;
|
|
14744
|
-
});
|
|
14745
|
-
},
|
|
14746
|
-
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
14747
|
-
var sql = 'select knowledge from knowledge where entity in (';
|
|
14748
|
-
if (keastIds.length === 1) {
|
|
14749
|
-
sql += "'".concat(keastIds[0], "')");
|
|
14750
|
-
} else if (keastIds.length > 1) {
|
|
14751
|
-
for (var i in keastIds) {
|
|
14752
|
-
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14753
|
-
}
|
|
14754
|
-
}
|
|
14755
|
-
return sql;
|
|
14756
|
-
},
|
|
14757
|
-
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14758
|
-
var sql = 'select entity, label from labels where entity in (';
|
|
14759
|
-
if (uberons.length === 1) {
|
|
14760
|
-
sql += "'".concat(uberons[0], "')");
|
|
14761
|
-
} else if (uberons.length > 1) {
|
|
14762
|
-
for (var i in uberons) {
|
|
14763
|
-
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14764
|
-
}
|
|
14765
|
-
}
|
|
14766
|
-
return sql;
|
|
14767
|
-
},
|
|
14768
|
-
createLabelLookup: function createLabelLookup(uberons) {
|
|
14769
|
-
var _this2 = this;
|
|
14770
|
-
return new Promise(function (resolve) {
|
|
14771
|
-
var uberonMap = {};
|
|
14772
|
-
var data = {
|
|
14773
|
-
sql: _this2.buildLabelSqlStatement(uberons)
|
|
14774
|
-
};
|
|
14775
|
-
fetch("".concat(_this2.flatmapAPI, "knowledge/query/"), {
|
|
14776
|
-
method: 'POST',
|
|
14777
|
-
headers: {
|
|
14778
|
-
'Content-Type': 'application/json'
|
|
14779
|
-
},
|
|
14780
|
-
body: JSON.stringify(data)
|
|
14781
|
-
}).then(function (response) {
|
|
14782
|
-
return response.json();
|
|
14783
|
-
}).then(function (payload) {
|
|
14784
|
-
var entity = payload.keys.indexOf("entity");
|
|
14785
|
-
var label = payload.keys.indexOf("label");
|
|
14786
|
-
if (entity > -1 && label > -1) {
|
|
14787
|
-
payload.values.forEach(function (pair) {
|
|
14788
|
-
uberonMap[pair[entity]] = pair[label];
|
|
14789
|
-
});
|
|
14790
|
-
}
|
|
14791
|
-
resolve(uberonMap);
|
|
14792
|
-
});
|
|
14793
|
-
});
|
|
14794
|
-
},
|
|
14795
|
-
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14796
|
-
var _this3 = this;
|
|
14797
|
-
var labelList = [];
|
|
14798
|
-
components.forEach(function (n) {
|
|
14799
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14800
|
-
if (n.length === 2) {
|
|
14801
|
-
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14802
|
-
}
|
|
14803
|
-
});
|
|
14804
|
-
return labelList;
|
|
14805
|
-
},
|
|
14806
|
-
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14807
|
-
var label = lookUp[node[0]];
|
|
14808
|
-
if (node.length === 2 && node[1].length > 0) {
|
|
14809
|
-
node[1].forEach(function (n) {
|
|
14810
|
-
if (lookUp[n] == undefined) {
|
|
14811
|
-
label += ", ".concat(n);
|
|
14812
|
-
} else {
|
|
14813
|
-
label += ", ".concat(lookUp[n]);
|
|
14814
|
-
}
|
|
14815
|
-
});
|
|
14816
|
-
}
|
|
14817
|
-
return label;
|
|
14818
|
-
},
|
|
14819
|
-
processConnectivity: function processConnectivity(connectivity) {
|
|
14820
|
-
var _this4 = this;
|
|
14821
|
-
// Filter the origin and destinations from components
|
|
14822
|
-
var components = this.findComponents(connectivity);
|
|
14823
|
-
|
|
14824
|
-
// Remove duplicates
|
|
14825
|
-
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14826
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14827
|
-
|
|
14828
|
-
// Create list of ids to get labels for
|
|
14829
|
-
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14830
|
-
|
|
14831
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14832
|
-
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14833
|
-
_this4.destinations = axons.map(function (a) {
|
|
14834
|
-
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
14835
|
-
});
|
|
14836
|
-
_this4.origins = dendrites.map(function (d) {
|
|
14837
|
-
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
14838
|
-
});
|
|
14839
|
-
_this4.components = components.map(function (c) {
|
|
14840
|
-
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
14841
|
-
});
|
|
14842
|
-
});
|
|
14843
|
-
this.flattenAndFindDatasets(components, axons, dendrites);
|
|
14844
|
-
},
|
|
14845
|
-
flattenAndFindDatasets: function flattenAndFindDatasets(components, axons, dendrites) {
|
|
14846
|
-
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14847
|
-
var componentsFlat = this.flattenConntectivity(components);
|
|
14848
|
-
var axonsFlat = this.flattenConntectivity(axons);
|
|
14849
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14850
|
-
|
|
14851
|
-
// Filter for the anatomy which is annotated on datasets
|
|
14852
|
-
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14853
|
-
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14854
|
-
});
|
|
14855
|
-
this.originsWithDatasets = this.uberons.filter(function (ub) {
|
|
14856
|
-
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
14857
|
-
});
|
|
14858
|
-
this.componentsWithDatasets = this.uberons.filter(function (ub) {
|
|
14859
|
-
return componentsFlat.indexOf(ub.id) !== -1;
|
|
14860
|
-
});
|
|
14861
|
-
},
|
|
14862
|
-
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14863
|
-
var _this5 = this;
|
|
14864
|
-
this.destinations = [];
|
|
14865
|
-
this.origins = [];
|
|
14866
|
-
this.components = [];
|
|
14867
|
-
this.loading = true;
|
|
14868
|
-
if (!keastIds || keastIds.length == 0) return;
|
|
14869
|
-
var data = {
|
|
14870
|
-
sql: this.buildConnectivitySqlStatement(keastIds)
|
|
14871
|
-
};
|
|
14872
|
-
fetch("".concat(this.flatmapAPI, "knowledge/query/"), {
|
|
14873
|
-
method: 'POST',
|
|
14874
|
-
headers: {
|
|
14875
|
-
'Content-Type': 'application/json'
|
|
14876
|
-
},
|
|
14877
|
-
body: JSON.stringify(data)
|
|
14878
|
-
}).then(function (response) {
|
|
14879
|
-
return response.json();
|
|
14880
|
-
}).then(function (data) {
|
|
14881
|
-
var connectivity = JSON.parse(data.values[0][0]);
|
|
14882
|
-
_this5.processConnectivity(connectivity);
|
|
14883
|
-
_this5.loading = false;
|
|
14884
|
-
}).catch(function (error) {
|
|
14885
|
-
console.error('Error:', error);
|
|
14886
|
-
});
|
|
14887
15864
|
}
|
|
14888
15865
|
}
|
|
14889
15866
|
});
|
|
14890
15867
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14891
15868
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14892
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
14893
|
-
var
|
|
15869
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4ffcf7c8&prod&scoped=true&lang=scss&
|
|
15870
|
+
var Tooltipvue_type_style_index_0_id_4ffcf7c8_prod_scoped_true_lang_scss_ = __webpack_require__("93b4");
|
|
14894
15871
|
|
|
14895
15872
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14896
15873
|
|
|
@@ -14903,18 +15880,18 @@ var Tooltipvue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss_ = __we
|
|
|
14903
15880
|
|
|
14904
15881
|
var Tooltip_component = normalizeComponent(
|
|
14905
15882
|
components_Tooltipvue_type_script_lang_js_,
|
|
14906
|
-
|
|
14907
|
-
|
|
15883
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_render,
|
|
15884
|
+
Tooltipvue_type_template_id_4ffcf7c8_scoped_true_staticRenderFns,
|
|
14908
15885
|
false,
|
|
14909
15886
|
null,
|
|
14910
|
-
"
|
|
15887
|
+
"4ffcf7c8",
|
|
14911
15888
|
null
|
|
14912
15889
|
|
|
14913
15890
|
)
|
|
14914
15891
|
|
|
14915
15892
|
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
14916
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14917
|
-
var
|
|
15893
|
+
// 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&
|
|
15894
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render = function render() {
|
|
14918
15895
|
var _vm = this,
|
|
14919
15896
|
_c = _vm._self._c;
|
|
14920
15897
|
return _c('div', {
|
|
@@ -14980,15 +15957,28 @@ var SelectionsGroupvue_type_template_id_f6ac6e34_scoped_true_render = function r
|
|
|
14980
15957
|
return _vm.visibilityToggle(item[_vm.identifierKey], $event);
|
|
14981
15958
|
}
|
|
14982
15959
|
}
|
|
15960
|
+
}, [_c('el-row', {
|
|
15961
|
+
staticClass: "checkbox-row"
|
|
15962
|
+
}, [_c('el-col', {
|
|
15963
|
+
attrs: {
|
|
15964
|
+
"span": 4
|
|
15965
|
+
}
|
|
14983
15966
|
}, [_c('div', {
|
|
14984
15967
|
staticClass: "path-visual",
|
|
14985
|
-
style: _vm.
|
|
14986
|
-
}),
|
|
15968
|
+
style: _vm.getLineStyles(item)
|
|
15969
|
+
})]), _c('el-col', {
|
|
15970
|
+
attrs: {
|
|
15971
|
+
"span": 20
|
|
15972
|
+
}
|
|
15973
|
+
}, [_c('div', {
|
|
15974
|
+
staticClass: "label-text",
|
|
15975
|
+
style: _vm.getBackgroundStyles(item)
|
|
15976
|
+
}, [_vm._v(" " + _vm._s(item[_vm.labelKey]) + " ")])])], 1)], 1)], 1)]);
|
|
14987
15977
|
}), 1)])], 1);
|
|
14988
15978
|
};
|
|
14989
|
-
var
|
|
15979
|
+
var SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns = [];
|
|
14990
15980
|
|
|
14991
|
-
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=
|
|
15981
|
+
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=template&id=1f69f0e7&scoped=true&
|
|
14992
15982
|
|
|
14993
15983
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/checkbox-group.css
|
|
14994
15984
|
var checkbox_group = __webpack_require__("d4df");
|
|
@@ -15004,6 +15994,9 @@ var theme_chalk_checkbox = __webpack_require__("560b");
|
|
|
15004
15994
|
var lib_checkbox = __webpack_require__("dcdc");
|
|
15005
15995
|
var lib_checkbox_default = /*#__PURE__*/__webpack_require__.n(lib_checkbox);
|
|
15006
15996
|
|
|
15997
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.concat.js"
|
|
15998
|
+
var es_array_concat_js_ = __webpack_require__("ccb0");
|
|
15999
|
+
|
|
15007
16000
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SelectionsGroup.vue?vue&type=script&lang=js&
|
|
15008
16001
|
|
|
15009
16002
|
|
|
@@ -15072,24 +16065,37 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15072
16065
|
value: val
|
|
15073
16066
|
});
|
|
15074
16067
|
},
|
|
15075
|
-
|
|
15076
|
-
if ('colour' in item) {
|
|
16068
|
+
getBackgroundStyles: function getBackgroundStyles(item) {
|
|
16069
|
+
if ('colour' in item && this.colourStyle === "background") {
|
|
16070
|
+
return {
|
|
16071
|
+
background: item.colour
|
|
16072
|
+
};
|
|
16073
|
+
}
|
|
16074
|
+
return {};
|
|
16075
|
+
},
|
|
16076
|
+
getLineStyles: function getLineStyles(item) {
|
|
16077
|
+
if ('colour' in item && this.colourStyle === "line") {
|
|
15077
16078
|
if ('dashed' in item && item.dashed === true) {
|
|
15078
16079
|
var background = "repeating-linear-gradient(90deg,".concat(item.colour, ",").concat(item.colour, " 6px,transparent 0,transparent 9px)");
|
|
15079
16080
|
return {
|
|
15080
|
-
|
|
16081
|
+
background: background
|
|
15081
16082
|
};
|
|
15082
16083
|
} else {
|
|
15083
|
-
var _background = item.colour;
|
|
15084
16084
|
return {
|
|
15085
|
-
background:
|
|
16085
|
+
background: item.colour
|
|
15086
16086
|
};
|
|
15087
16087
|
}
|
|
15088
16088
|
}
|
|
15089
|
-
return {
|
|
16089
|
+
return {
|
|
16090
|
+
display: "None"
|
|
16091
|
+
};
|
|
15090
16092
|
}
|
|
15091
16093
|
},
|
|
15092
16094
|
props: {
|
|
16095
|
+
colourStyle: {
|
|
16096
|
+
type: String,
|
|
16097
|
+
default: "line"
|
|
16098
|
+
},
|
|
15093
16099
|
identifierKey: {
|
|
15094
16100
|
type: String,
|
|
15095
16101
|
default: "id"
|
|
@@ -15130,8 +16136,8 @@ external_vue_default.a.use(lib_row_default.a);
|
|
|
15130
16136
|
});
|
|
15131
16137
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue?vue&type=script&lang=js&
|
|
15132
16138
|
/* harmony default export */ var components_SelectionsGroupvue_type_script_lang_js_ = (SelectionsGroupvue_type_script_lang_js_);
|
|
15133
|
-
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=
|
|
15134
|
-
var
|
|
16139
|
+
// EXTERNAL MODULE: ./src/components/SelectionsGroup.vue?vue&type=style&index=0&id=1f69f0e7&prod&scoped=true&lang=scss&
|
|
16140
|
+
var SelectionsGroupvue_type_style_index_0_id_1f69f0e7_prod_scoped_true_lang_scss_ = __webpack_require__("7b79");
|
|
15135
16141
|
|
|
15136
16142
|
// CONCATENATED MODULE: ./src/components/SelectionsGroup.vue
|
|
15137
16143
|
|
|
@@ -15144,11 +16150,11 @@ var SelectionsGroupvue_type_style_index_0_id_f6ac6e34_prod_scoped_true_lang_scss
|
|
|
15144
16150
|
|
|
15145
16151
|
var SelectionsGroup_component = normalizeComponent(
|
|
15146
16152
|
components_SelectionsGroupvue_type_script_lang_js_,
|
|
15147
|
-
|
|
15148
|
-
|
|
16153
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_render,
|
|
16154
|
+
SelectionsGroupvue_type_template_id_1f69f0e7_scoped_true_staticRenderFns,
|
|
15149
16155
|
false,
|
|
15150
16156
|
null,
|
|
15151
|
-
"
|
|
16157
|
+
"1f69f0e7",
|
|
15152
16158
|
null
|
|
15153
16159
|
|
|
15154
16160
|
)
|
|
@@ -15157,110 +16163,7 @@ var SelectionsGroup_component = normalizeComponent(
|
|
|
15157
16163
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15158
16164
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15159
16165
|
|
|
15160
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15161
|
-
var DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_render = function render() {
|
|
15162
|
-
var _vm = this,
|
|
15163
|
-
_c = _vm._self._c;
|
|
15164
|
-
return _c('div', [_c('el-row', [_c('el-col', {
|
|
15165
|
-
attrs: {
|
|
15166
|
-
"span": 12
|
|
15167
|
-
}
|
|
15168
|
-
}, [_c('div', {
|
|
15169
|
-
staticClass: "title-display-text"
|
|
15170
|
-
}, [_vm._v(_vm._s(_vm.title))])])], 1), _c('div', {
|
|
15171
|
-
staticClass: "legends-group"
|
|
15172
|
-
}, _vm._l(_vm.lists, function (item) {
|
|
15173
|
-
return _c('el-row', {
|
|
15174
|
-
key: item[_vm.identifierKey],
|
|
15175
|
-
attrs: {
|
|
15176
|
-
"label": item[_vm.identifierKey]
|
|
15177
|
-
}
|
|
15178
|
-
}, [_c('div', {
|
|
15179
|
-
staticClass: "legends-container"
|
|
15180
|
-
}, [_c('div', {
|
|
15181
|
-
staticClass: "legends-visual",
|
|
15182
|
-
style: {
|
|
15183
|
-
background: item[_vm.colourKey]
|
|
15184
|
-
}
|
|
15185
|
-
}), _c('div', {
|
|
15186
|
-
staticClass: "label"
|
|
15187
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(item[_vm.identifierKey])) + " ")])])]);
|
|
15188
|
-
}), 1)], 1);
|
|
15189
|
-
};
|
|
15190
|
-
var DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_staticRenderFns = [];
|
|
15191
|
-
|
|
15192
|
-
// CONCATENATED MODULE: ./src/components/legends/DynamicLegends.vue?vue&type=template&id=7ea6eb51&scoped=true&
|
|
15193
|
-
|
|
15194
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/DynamicLegends.vue?vue&type=script&lang=js&
|
|
15195
|
-
|
|
15196
|
-
|
|
15197
|
-
|
|
15198
|
-
|
|
15199
|
-
|
|
15200
|
-
|
|
15201
|
-
|
|
15202
|
-
/* eslint-disable no-alert, no-console */
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
locale_default.a.use(en_default.a);
|
|
15207
|
-
external_vue_default.a.use(lib_col_default.a);
|
|
15208
|
-
external_vue_default.a.use(lib_row_default.a);
|
|
15209
|
-
/* harmony default export */ var DynamicLegendsvue_type_script_lang_js_ = ({
|
|
15210
|
-
name: "DynamicLegends",
|
|
15211
|
-
props: {
|
|
15212
|
-
identifierKey: {
|
|
15213
|
-
type: String,
|
|
15214
|
-
default: "id"
|
|
15215
|
-
},
|
|
15216
|
-
colourKey: {
|
|
15217
|
-
type: String,
|
|
15218
|
-
default: "colour"
|
|
15219
|
-
},
|
|
15220
|
-
title: {
|
|
15221
|
-
type: String,
|
|
15222
|
-
default: ""
|
|
15223
|
-
},
|
|
15224
|
-
lists: {
|
|
15225
|
-
type: Array,
|
|
15226
|
-
default: function _default() {
|
|
15227
|
-
return [];
|
|
15228
|
-
}
|
|
15229
|
-
}
|
|
15230
|
-
},
|
|
15231
|
-
methods: {
|
|
15232
|
-
capitalise: function capitalise(label) {
|
|
15233
|
-
return label.charAt(0).toUpperCase() + label.slice(1).toLowerCase();
|
|
15234
|
-
}
|
|
15235
|
-
}
|
|
15236
|
-
});
|
|
15237
|
-
// CONCATENATED MODULE: ./src/components/legends/DynamicLegends.vue?vue&type=script&lang=js&
|
|
15238
|
-
/* harmony default export */ var legends_DynamicLegendsvue_type_script_lang_js_ = (DynamicLegendsvue_type_script_lang_js_);
|
|
15239
|
-
// EXTERNAL MODULE: ./src/components/legends/DynamicLegends.vue?vue&type=style&index=0&id=7ea6eb51&prod&scoped=true&lang=scss&
|
|
15240
|
-
var DynamicLegendsvue_type_style_index_0_id_7ea6eb51_prod_scoped_true_lang_scss_ = __webpack_require__("e8bf");
|
|
15241
|
-
|
|
15242
|
-
// CONCATENATED MODULE: ./src/components/legends/DynamicLegends.vue
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
/* normalize component */
|
|
15250
|
-
|
|
15251
|
-
var DynamicLegends_component = normalizeComponent(
|
|
15252
|
-
legends_DynamicLegendsvue_type_script_lang_js_,
|
|
15253
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_render,
|
|
15254
|
-
DynamicLegendsvue_type_template_id_7ea6eb51_scoped_true_staticRenderFns,
|
|
15255
|
-
false,
|
|
15256
|
-
null,
|
|
15257
|
-
"7ea6eb51",
|
|
15258
|
-
null
|
|
15259
|
-
|
|
15260
|
-
)
|
|
15261
|
-
|
|
15262
|
-
/* harmony default export */ var DynamicLegends = (DynamicLegends_component.exports);
|
|
15263
|
-
// 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&
|
|
16166
|
+
// 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&
|
|
15264
16167
|
var SvgLegendsvue_type_template_id_3d3218c8_scoped_true_render = function render() {
|
|
15265
16168
|
var _vm = this,
|
|
15266
16169
|
_c = _vm._self._c;
|
|
@@ -15376,6 +16279,9 @@ var SvgLegends_component = normalizeComponent(
|
|
|
15376
16279
|
/* harmony default export */ var SvgLegends = (SvgLegends_component.exports);
|
|
15377
16280
|
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15378
16281
|
/* 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>');
|
|
16282
|
+
// EXTERNAL MODULE: ./src/services/flatmapQueries.js
|
|
16283
|
+
var flatmapQueries = __webpack_require__("3630");
|
|
16284
|
+
|
|
15379
16285
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15380
16286
|
|
|
15381
16287
|
|
|
@@ -15423,10 +16329,20 @@ external_vue_default.a.use(lib_radio_default.a);
|
|
|
15423
16329
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
15424
16330
|
external_vue_default.a.use(lib_row_default.a);
|
|
15425
16331
|
var ResizeSensor = __webpack_require__("ae66");
|
|
16332
|
+
var createUnfilledTooltipData = function createUnfilledTooltipData() {
|
|
16333
|
+
return {
|
|
16334
|
+
destinations: [],
|
|
16335
|
+
origins: [],
|
|
16336
|
+
components: [],
|
|
16337
|
+
destinationsWithDatasets: [],
|
|
16338
|
+
originsWithDatasets: [],
|
|
16339
|
+
componentsWithDatasets: [],
|
|
16340
|
+
resource: undefined
|
|
16341
|
+
};
|
|
16342
|
+
};
|
|
15426
16343
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
15427
16344
|
name: "FlatmapVuer",
|
|
15428
16345
|
components: {
|
|
15429
|
-
DynamicLegends: DynamicLegends,
|
|
15430
16346
|
MapSvgIcon: svg_sprite_["MapSvgIcon"],
|
|
15431
16347
|
MapSvgSpriteColor: svg_sprite_["MapSvgSpriteColor"],
|
|
15432
16348
|
Tooltip: Tooltip,
|
|
@@ -15500,6 +16416,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15500
16416
|
if (this.$refs.layersSelection) {
|
|
15501
16417
|
this.$refs.layersSelection.reset();
|
|
15502
16418
|
}
|
|
16419
|
+
if (this.$refs.systemsSelection) {
|
|
16420
|
+
this.$refs.pathwaysSelection.reset();
|
|
16421
|
+
}
|
|
15503
16422
|
if (this.$refs.pathwaysSelection) {
|
|
15504
16423
|
this.$refs.pathwaysSelection.reset();
|
|
15505
16424
|
}
|
|
@@ -15525,7 +16444,6 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15525
16444
|
},
|
|
15526
16445
|
centreLinesSelected: function centreLinesSelected(payload) {
|
|
15527
16446
|
if (this.mapImp) {
|
|
15528
|
-
console.log(payload.value);
|
|
15529
16447
|
this.mapImp.enableCentrelines(payload.value);
|
|
15530
16448
|
}
|
|
15531
16449
|
},
|
|
@@ -15542,16 +16460,29 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15542
16460
|
});
|
|
15543
16461
|
}
|
|
15544
16462
|
},
|
|
16463
|
+
systemSelected: function systemSelected(payload) {
|
|
16464
|
+
if (this.mapImp) {
|
|
16465
|
+
this.mapImp.enableSystem(payload.key, payload.value);
|
|
16466
|
+
}
|
|
16467
|
+
},
|
|
16468
|
+
checkAllSystems: function checkAllSystems(payload) {
|
|
16469
|
+
var _this2 = this;
|
|
16470
|
+
if (this.mapImp) {
|
|
16471
|
+
payload.keys.forEach(function (key) {
|
|
16472
|
+
return _this2.mapImp.enableSystem(key, payload.value);
|
|
16473
|
+
});
|
|
16474
|
+
}
|
|
16475
|
+
},
|
|
15545
16476
|
layersSelected: function layersSelected(payload) {
|
|
15546
16477
|
if (this.mapImp) {
|
|
15547
16478
|
this.mapImp.enableLayer(payload.key, payload.value);
|
|
15548
16479
|
}
|
|
15549
16480
|
},
|
|
15550
16481
|
checkAllLayers: function checkAllLayers(payload) {
|
|
15551
|
-
var
|
|
16482
|
+
var _this3 = this;
|
|
15552
16483
|
if (this.mapImp) {
|
|
15553
16484
|
payload.keys.forEach(function (key) {
|
|
15554
|
-
return
|
|
16485
|
+
return _this3.mapImp.enableLayer(key, payload.value);
|
|
15555
16486
|
});
|
|
15556
16487
|
}
|
|
15557
16488
|
},
|
|
@@ -15561,10 +16492,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15561
16492
|
}
|
|
15562
16493
|
},
|
|
15563
16494
|
checkAllPathways: function checkAllPathways(payload) {
|
|
15564
|
-
var
|
|
16495
|
+
var _this4 = this;
|
|
15565
16496
|
if (this.mapImp) {
|
|
15566
16497
|
payload.keys.forEach(function (key) {
|
|
15567
|
-
return
|
|
16498
|
+
return _this4.mapImp.enablePath(key, payload.value);
|
|
15568
16499
|
});
|
|
15569
16500
|
}
|
|
15570
16501
|
},
|
|
@@ -15572,13 +16503,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15572
16503
|
this.mapImp.enablePanZoomEvents(flag);
|
|
15573
16504
|
},
|
|
15574
16505
|
eventCallback: function eventCallback() {
|
|
15575
|
-
var
|
|
16506
|
+
var _this5 = this;
|
|
15576
16507
|
return function (eventType, data) {
|
|
15577
16508
|
if (eventType !== "pan-zoom") {
|
|
15578
16509
|
var label = data.label;
|
|
15579
16510
|
var resource = [data.models];
|
|
15580
|
-
var taxonomy =
|
|
15581
|
-
var biologicalSex =
|
|
16511
|
+
var taxonomy = _this5.entry;
|
|
16512
|
+
var biologicalSex = _this5.biologicalSex;
|
|
15582
16513
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
15583
16514
|
args[_key - 2] = arguments[_key];
|
|
15584
16515
|
}
|
|
@@ -15592,25 +16523,48 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15592
16523
|
userData: args,
|
|
15593
16524
|
eventType: eventType
|
|
15594
16525
|
};
|
|
15595
|
-
|
|
15596
|
-
|
|
15597
|
-
|
|
16526
|
+
if (data && data.type !== "marker" && eventType === "click") {
|
|
16527
|
+
_this5.checkAndCreatePopups(payload);
|
|
16528
|
+
}
|
|
16529
|
+
_this5.$emit("resource-selected", payload);
|
|
15598
16530
|
} else {
|
|
15599
|
-
|
|
16531
|
+
_this5.$emit("pan-zoom-callback", data);
|
|
15600
16532
|
}
|
|
15601
16533
|
};
|
|
15602
16534
|
},
|
|
15603
16535
|
// checkNeuronClicked shows a neuron path pop up if a path was recently clicked
|
|
15604
|
-
checkAndCreatePopups: function
|
|
15605
|
-
|
|
15606
|
-
|
|
15607
|
-
|
|
15608
|
-
|
|
15609
|
-
|
|
15610
|
-
|
|
15611
|
-
|
|
16536
|
+
checkAndCreatePopups: function () {
|
|
16537
|
+
var _checkAndCreatePopups = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(data) {
|
|
16538
|
+
var connections;
|
|
16539
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16540
|
+
while (1) {
|
|
16541
|
+
switch (_context.prev = _context.next) {
|
|
16542
|
+
case 0:
|
|
16543
|
+
_context.next = 2;
|
|
16544
|
+
return this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(data);
|
|
16545
|
+
case 2:
|
|
16546
|
+
connections = _context.sent;
|
|
16547
|
+
if (!connections) {
|
|
16548
|
+
if (data.feature.hyperlinks) {
|
|
16549
|
+
this.resourceForTooltip = data.resource[0];
|
|
16550
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16551
|
+
}
|
|
16552
|
+
} else {
|
|
16553
|
+
this.resourceForTooltip = data.resource[0];
|
|
16554
|
+
this.createTooltipFromNeuronCuration(data);
|
|
16555
|
+
}
|
|
16556
|
+
case 4:
|
|
16557
|
+
case "end":
|
|
16558
|
+
return _context.stop();
|
|
16559
|
+
}
|
|
16560
|
+
}
|
|
16561
|
+
}, _callee, this);
|
|
16562
|
+
}));
|
|
16563
|
+
function checkAndCreatePopups(_x) {
|
|
16564
|
+
return _checkAndCreatePopups.apply(this, arguments);
|
|
15612
16565
|
}
|
|
15613
|
-
|
|
16566
|
+
return checkAndCreatePopups;
|
|
16567
|
+
}(),
|
|
15614
16568
|
popUpCssHacks: function popUpCssHacks() {
|
|
15615
16569
|
// Below is a hack to remove flatmap tooltips while popup is open
|
|
15616
16570
|
var ftooltip = document.querySelector(".flatmap-tooltip-popup");
|
|
@@ -15624,66 +16578,9 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15624
16578
|
resourceSelected: function resourceSelected(action) {
|
|
15625
16579
|
this.$emit("resource-selected", action);
|
|
15626
16580
|
},
|
|
15627
|
-
hasNeuronTooltip: function hasNeuronTooltip(data) {
|
|
15628
|
-
// neural data check
|
|
15629
|
-
if (data.resource[0]) {
|
|
15630
|
-
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
15631
|
-
return true;
|
|
15632
|
-
}
|
|
15633
|
-
}
|
|
15634
|
-
// annotated with datset check
|
|
15635
|
-
if (data.dataset) {
|
|
15636
|
-
return true;
|
|
15637
|
-
}
|
|
15638
|
-
|
|
15639
|
-
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
15640
|
-
return false;
|
|
15641
|
-
},
|
|
15642
16581
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
15643
|
-
|
|
15644
|
-
|
|
15645
|
-
title: undefined,
|
|
15646
|
-
components: undefined,
|
|
15647
|
-
start: undefined,
|
|
15648
|
-
distribution: undefined,
|
|
15649
|
-
actions: []
|
|
15650
|
-
};
|
|
15651
|
-
this.tooltipVisible = false;
|
|
15652
|
-
|
|
15653
|
-
// neural data check
|
|
15654
|
-
if (feature) {
|
|
15655
|
-
if (feature.includes('ilxtr:neuron')) {
|
|
15656
|
-
this.tooltipVisible = true;
|
|
15657
|
-
this.tooltipContent = content;
|
|
15658
|
-
this.tooltipContent.uberon = feature;
|
|
15659
|
-
this.tooltipContent.source = data.feature.source;
|
|
15660
|
-
this.tooltipContent.title = data.label;
|
|
15661
|
-
this.tooltipContent.featureIds = [feature];
|
|
15662
|
-
this.tooltipContent.actions.push({
|
|
15663
|
-
title: "Search for datasets",
|
|
15664
|
-
label: "Neuron Datasets",
|
|
15665
|
-
resource: feature.split(":")[1],
|
|
15666
|
-
type: "Neuron Search",
|
|
15667
|
-
feature: feature,
|
|
15668
|
-
nervePath: true
|
|
15669
|
-
});
|
|
15670
|
-
}
|
|
15671
|
-
}
|
|
15672
|
-
// annotated with datset check
|
|
15673
|
-
if (data.dataset) {
|
|
15674
|
-
this.tooltipVisible = true;
|
|
15675
|
-
this.tooltipContent = content;
|
|
15676
|
-
this.tooltipContent.uberon = feature;
|
|
15677
|
-
this.tooltipContent.source = data.feature.source;
|
|
15678
|
-
this.tooltipContent.title = data.label;
|
|
15679
|
-
this.tooltipContent.actions.push({
|
|
15680
|
-
title: "View dataset",
|
|
15681
|
-
resource: data.dataset,
|
|
15682
|
-
type: "URL",
|
|
15683
|
-
feature: feature,
|
|
15684
|
-
nervePath: false
|
|
15685
|
-
});
|
|
15686
|
-
}
|
|
16582
|
+
this.tooltipEntry = this.flatmapQueries.createTooltipData(data);
|
|
16583
|
+
this.displayTooltip();
|
|
15687
16584
|
},
|
|
15688
16585
|
// Keeping this as an API
|
|
15689
16586
|
showPopup: function showPopup(featureId, node, options) {
|
|
@@ -15719,9 +16616,11 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15719
16616
|
},
|
|
15720
16617
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
15721
16618
|
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
|
-
|
|
16619
|
+
if (minimapEl) {
|
|
16620
|
+
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
16621
|
+
minimapEl.appendChild(this.$refs.minimapResize);
|
|
16622
|
+
this.minimapResizeShow = true;
|
|
16623
|
+
}
|
|
15725
16624
|
},
|
|
15726
16625
|
setHelpMode: function setHelpMode(helpMode) {
|
|
15727
16626
|
if (helpMode) {
|
|
@@ -15739,10 +16638,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15739
16638
|
}
|
|
15740
16639
|
},
|
|
15741
16640
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15742
|
-
var
|
|
16641
|
+
var _this6 = this;
|
|
15743
16642
|
if (!this.inHelp) {
|
|
15744
16643
|
this.tooltipWait = setTimeout(function () {
|
|
15745
|
-
|
|
16644
|
+
_this6.hoverVisibilities[tooltipNumber].value = true;
|
|
15746
16645
|
}, 500);
|
|
15747
16646
|
}
|
|
15748
16647
|
},
|
|
@@ -15752,6 +16651,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15752
16651
|
clearTimeout(this.tooltipWait);
|
|
15753
16652
|
}
|
|
15754
16653
|
},
|
|
16654
|
+
displayTooltip: function displayTooltip() {
|
|
16655
|
+
this.mapImp.showPopup(this.mapImp.modelFeatureIds(this.resourceForTooltip)[0], this.$refs.tooltip.$el, {
|
|
16656
|
+
className: "flatmapvuer-popover",
|
|
16657
|
+
positionAtLastClick: true
|
|
16658
|
+
});
|
|
16659
|
+
this.popUpCssHacks();
|
|
16660
|
+
},
|
|
15755
16661
|
openFlatmapHelpPopup: function openFlatmapHelpPopup() {
|
|
15756
16662
|
if (this.mapImp) {
|
|
15757
16663
|
var heartId = this.mapImp.featureIdsForModel("UBERON:0000948")[0];
|
|
@@ -15817,7 +16723,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15817
16723
|
}
|
|
15818
16724
|
},
|
|
15819
16725
|
createFlatmap: function createFlatmap(state) {
|
|
15820
|
-
var
|
|
16726
|
+
var _this7 = this;
|
|
15821
16727
|
if (!this.mapImp && !this.loading) {
|
|
15822
16728
|
this.loading = true;
|
|
15823
16729
|
var minimap = false;
|
|
@@ -15881,10 +16787,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15881
16787
|
minimap: minimap
|
|
15882
16788
|
});
|
|
15883
16789
|
promise1.then(function (returnedObject) {
|
|
15884
|
-
|
|
15885
|
-
|
|
15886
|
-
if (
|
|
15887
|
-
|
|
16790
|
+
_this7.mapImp = returnedObject;
|
|
16791
|
+
_this7.onFlatmapReady();
|
|
16792
|
+
if (_this7._stateToBeSet) _this7.restoreMapState(_this7._stateToBeSet);else {
|
|
16793
|
+
_this7.restoreMapState(state);
|
|
15888
16794
|
}
|
|
15889
16795
|
});
|
|
15890
16796
|
} else if (state) {
|
|
@@ -15905,10 +16811,18 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15905
16811
|
}
|
|
15906
16812
|
},
|
|
15907
16813
|
mapResize: function mapResize() {
|
|
15908
|
-
|
|
15909
|
-
this.mapImp
|
|
16814
|
+
try {
|
|
16815
|
+
if (this.mapImp) {
|
|
16816
|
+
this.mapImp.resize();
|
|
16817
|
+
this.showMinimap(this.displayMinimap);
|
|
16818
|
+
if (this.mapImp._minimap) {
|
|
16819
|
+
this.mapImp._minimap.resize();
|
|
16820
|
+
}
|
|
16821
|
+
}
|
|
16822
|
+
this.computePathControlsMaximumHeight();
|
|
16823
|
+
} catch (_unused) {
|
|
16824
|
+
console.error("Map resize error");
|
|
15910
16825
|
}
|
|
15911
|
-
this.computePathControlsMaximumHeight();
|
|
15912
16826
|
},
|
|
15913
16827
|
onFlatmapReady: function onFlatmapReady() {
|
|
15914
16828
|
// onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
|
|
@@ -15920,12 +16834,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15920
16834
|
this.backgroundChangeCallback(this.currentBackground);
|
|
15921
16835
|
this.pathways = this.mapImp.pathTypes();
|
|
15922
16836
|
this.mapImp.enableCentrelines(false);
|
|
15923
|
-
|
|
15924
|
-
|
|
16837
|
+
this.layers = this.mapImp.getLayers();
|
|
16838
|
+
this.systems = this.mapImp.getSystems();
|
|
15925
16839
|
this.addResizeButtonToMinimap();
|
|
15926
16840
|
this.loading = false;
|
|
15927
16841
|
this.computePathControlsMaximumHeight();
|
|
15928
16842
|
this.drawerOpen = true;
|
|
16843
|
+
this.mapResize();
|
|
15929
16844
|
this.$emit("ready", this);
|
|
15930
16845
|
},
|
|
15931
16846
|
showMinimap: function showMinimap(flag) {
|
|
@@ -15983,12 +16898,16 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
15983
16898
|
},
|
|
15984
16899
|
pathControls: {
|
|
15985
16900
|
type: Boolean,
|
|
15986
|
-
default:
|
|
16901
|
+
default: false
|
|
15987
16902
|
},
|
|
15988
16903
|
searchable: {
|
|
15989
16904
|
type: Boolean,
|
|
15990
16905
|
default: false
|
|
15991
16906
|
},
|
|
16907
|
+
layerControl: {
|
|
16908
|
+
type: Boolean,
|
|
16909
|
+
default: false
|
|
16910
|
+
},
|
|
15992
16911
|
tooltips: {
|
|
15993
16912
|
type: Boolean,
|
|
15994
16913
|
default: true
|
|
@@ -16062,6 +16981,7 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16062
16981
|
label: "Display Nerves",
|
|
16063
16982
|
key: "centrelines"
|
|
16064
16983
|
}],
|
|
16984
|
+
systems: [],
|
|
16065
16985
|
pathwaysMaxHeight: 1000,
|
|
16066
16986
|
hoverVisibilities: [{
|
|
16067
16987
|
value: false
|
|
@@ -16086,10 +17006,10 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16086
17006
|
availableBackground: ["white", "lightskyblue", "black"],
|
|
16087
17007
|
loading: false,
|
|
16088
17008
|
flatmapMarker: flatmap_marker,
|
|
17009
|
+
tooltipEntry: createUnfilledTooltipData(),
|
|
17010
|
+
connectivityTooltipVisible: false,
|
|
17011
|
+
resourceForTooltip: undefined,
|
|
16089
17012
|
drawerOpen: false,
|
|
16090
|
-
tooltipContent: {
|
|
16091
|
-
featureIds: []
|
|
16092
|
-
},
|
|
16093
17013
|
colourRadio: true,
|
|
16094
17014
|
outlinesRadio: true,
|
|
16095
17015
|
minimapResizeShow: false,
|
|
@@ -16115,12 +17035,13 @@ var ResizeSensor = __webpack_require__("ae66");
|
|
|
16115
17035
|
var flatmap = __webpack_require__("4979");
|
|
16116
17036
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16117
17037
|
if (this.renderAtMounted) this.createFlatmap();
|
|
17038
|
+
this.flatmapQueries = new flatmapQueries["FlatmapQueries"](this.sparcAPI, this.flatmapAPI);
|
|
16118
17039
|
}
|
|
16119
17040
|
});
|
|
16120
17041
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16121
17042
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16122
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16123
|
-
var
|
|
17043
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=1f482509&prod&scoped=true&lang=scss&
|
|
17044
|
+
var FlatmapVuervue_type_style_index_0_id_1f482509_prod_scoped_true_lang_scss_ = __webpack_require__("a47e");
|
|
16124
17045
|
|
|
16125
17046
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16126
17047
|
|
|
@@ -16137,14 +17058,14 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16137
17058
|
staticRenderFns,
|
|
16138
17059
|
false,
|
|
16139
17060
|
null,
|
|
16140
|
-
"
|
|
17061
|
+
"1f482509",
|
|
16141
17062
|
null
|
|
16142
17063
|
|
|
16143
17064
|
)
|
|
16144
17065
|
|
|
16145
17066
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16146
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16147
|
-
var
|
|
17067
|
+
// 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&
|
|
17068
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render = function render() {
|
|
16148
17069
|
var _vm = this,
|
|
16149
17070
|
_c = _vm._self._c;
|
|
16150
17071
|
return _c('div', {
|
|
@@ -16241,6 +17162,7 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16241
17162
|
"minZoom": _vm.minZoom,
|
|
16242
17163
|
"pathControls": _vm.pathControls,
|
|
16243
17164
|
"searchable": _vm.searchable,
|
|
17165
|
+
"layerControl": _vm.layerControl,
|
|
16244
17166
|
"helpMode": _vm.helpMode,
|
|
16245
17167
|
"renderAtMounted": _vm.renderAtMounted,
|
|
16246
17168
|
"displayMinimap": _vm.displayMinimap,
|
|
@@ -16256,9 +17178,9 @@ var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function
|
|
|
16256
17178
|
});
|
|
16257
17179
|
})], 2);
|
|
16258
17180
|
};
|
|
16259
|
-
var
|
|
17181
|
+
var MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns = [];
|
|
16260
17182
|
|
|
16261
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
17183
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=bf82e340&scoped=true&
|
|
16262
17184
|
|
|
16263
17185
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16264
17186
|
var popover = __webpack_require__("06f1");
|
|
@@ -16590,6 +17512,10 @@ var TAXON_UUID = {
|
|
|
16590
17512
|
type: Boolean,
|
|
16591
17513
|
default: false
|
|
16592
17514
|
},
|
|
17515
|
+
layerControl: {
|
|
17516
|
+
type: Boolean,
|
|
17517
|
+
default: false
|
|
17518
|
+
},
|
|
16593
17519
|
/**
|
|
16594
17520
|
* Initial species for the flatmap.
|
|
16595
17521
|
* This value will be ignored if a valid state object is provided.
|
|
@@ -16696,8 +17622,8 @@ var TAXON_UUID = {
|
|
|
16696
17622
|
});
|
|
16697
17623
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
16698
17624
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
16699
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16700
|
-
var
|
|
17625
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=bf82e340&prod&scoped=true&lang=scss&
|
|
17626
|
+
var MultiFlatmapVuervue_type_style_index_0_id_bf82e340_prod_scoped_true_lang_scss_ = __webpack_require__("c367");
|
|
16701
17627
|
|
|
16702
17628
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
16703
17629
|
|
|
@@ -16710,11 +17636,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scs
|
|
|
16710
17636
|
|
|
16711
17637
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
16712
17638
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
16713
|
-
|
|
16714
|
-
|
|
17639
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_render,
|
|
17640
|
+
MultiFlatmapVuervue_type_template_id_bf82e340_scoped_true_staticRenderFns,
|
|
16715
17641
|
false,
|
|
16716
17642
|
null,
|
|
16717
|
-
"
|
|
17643
|
+
"bf82e340",
|
|
16718
17644
|
null
|
|
16719
17645
|
|
|
16720
17646
|
)
|