@abi-software/flatmapvuer 0.3.14 → 0.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +1344 -985
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1344 -985
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +14210 -14210
- package/package.json +71 -71
- package/public/index.html +17 -17
- package/src/App.vue +162 -162
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +2 -2
- package/src/components/FlatmapVuer.vue +1634 -1636
- package/src/components/MultiFlatmapVuer.vue +509 -511
- package/src/components/PubmedViewer.vue +149 -149
- package/src/components/Tooltip.vue +594 -594
- package/src/components/index.js +9 -9
- package/src/components/legends/Legends.vue +66 -66
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/legends/legend.svg +25 -25
- package/src/main.js +8 -8
- package/vue.config.js +31 -31
- package/src/nerve-map.js +0 -99
|
@@ -87,13 +87,6 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/ "0242":
|
|
91
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
-
|
|
93
|
-
// extracted by mini-css-extract-plugin
|
|
94
|
-
|
|
95
|
-
/***/ }),
|
|
96
|
-
|
|
97
90
|
/***/ "06f1":
|
|
98
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
99
92
|
|
|
@@ -101,13 +94,6 @@ module.exports =
|
|
|
101
94
|
|
|
102
95
|
/***/ }),
|
|
103
96
|
|
|
104
|
-
/***/ "0cda":
|
|
105
|
-
/***/ (function(module, exports) {
|
|
106
|
-
|
|
107
|
-
module.exports = require("core-js/modules/es.string.split.js");
|
|
108
|
-
|
|
109
|
-
/***/ }),
|
|
110
|
-
|
|
111
97
|
/***/ "0f6c":
|
|
112
98
|
/***/ (function(module, exports) {
|
|
113
99
|
|
|
@@ -195,12 +181,12 @@ module.exports =
|
|
|
195
181
|
/******/
|
|
196
182
|
/******/
|
|
197
183
|
/******/ // Load entry module and return exports
|
|
198
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
184
|
+
/******/ return __webpack_require__(__webpack_require__.s = 139);
|
|
199
185
|
/******/ })
|
|
200
186
|
/************************************************************************/
|
|
201
187
|
/******/ ({
|
|
202
188
|
|
|
203
|
-
/***/
|
|
189
|
+
/***/ 139:
|
|
204
190
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
205
191
|
|
|
206
192
|
"use strict";
|
|
@@ -223,10 +209,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
223
209
|
type: String,
|
|
224
210
|
default: 'start'
|
|
225
211
|
},
|
|
226
|
-
align:
|
|
227
|
-
type: String,
|
|
228
|
-
default: 'top'
|
|
229
|
-
}
|
|
212
|
+
align: String
|
|
230
213
|
},
|
|
231
214
|
|
|
232
215
|
computed: {
|
|
@@ -244,7 +227,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
244
227
|
|
|
245
228
|
render: function render(h) {
|
|
246
229
|
return h(this.tag, {
|
|
247
|
-
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align
|
|
230
|
+
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
248
231
|
style: this.style
|
|
249
232
|
}, this.$slots.default);
|
|
250
233
|
}
|
|
@@ -285,17 +268,6 @@ exports.default = function (ref) {
|
|
|
285
268
|
|
|
286
269
|
;
|
|
287
270
|
|
|
288
|
-
/***/ }),
|
|
289
|
-
|
|
290
|
-
/***/ "13aa":
|
|
291
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
292
|
-
|
|
293
|
-
"use strict";
|
|
294
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c4c7");
|
|
295
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
296
|
-
/* unused harmony reexport * */
|
|
297
|
-
|
|
298
|
-
|
|
299
271
|
/***/ }),
|
|
300
272
|
|
|
301
273
|
/***/ "13e3":
|
|
@@ -392,12 +364,12 @@ module.exports =
|
|
|
392
364
|
/******/
|
|
393
365
|
/******/
|
|
394
366
|
/******/ // Load entry module and return exports
|
|
395
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
367
|
+
/******/ return __webpack_require__(__webpack_require__.s = 133);
|
|
396
368
|
/******/ })
|
|
397
369
|
/************************************************************************/
|
|
398
370
|
/******/ ({
|
|
399
371
|
|
|
400
|
-
/***/
|
|
372
|
+
/***/ 133:
|
|
401
373
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
402
374
|
|
|
403
375
|
"use strict";
|
|
@@ -407,7 +379,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
407
379
|
var resize_event_ = __webpack_require__(16);
|
|
408
380
|
|
|
409
381
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
|
|
410
|
-
var scrollbar_width_ = __webpack_require__(
|
|
382
|
+
var scrollbar_width_ = __webpack_require__(39);
|
|
411
383
|
var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
|
|
412
384
|
|
|
413
385
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -722,7 +694,7 @@ module.exports = __webpack_require__("8122");
|
|
|
722
694
|
|
|
723
695
|
/***/ }),
|
|
724
696
|
|
|
725
|
-
/***/
|
|
697
|
+
/***/ 39:
|
|
726
698
|
/***/ (function(module, exports) {
|
|
727
699
|
|
|
728
700
|
module.exports = __webpack_require__("e62d");
|
|
@@ -752,17 +724,6 @@ module.exports = require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
752
724
|
|
|
753
725
|
module.exports = require("core-js/modules/es.array.filter.js");
|
|
754
726
|
|
|
755
|
-
/***/ }),
|
|
756
|
-
|
|
757
|
-
/***/ "1b11":
|
|
758
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
759
|
-
|
|
760
|
-
"use strict";
|
|
761
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5ca3");
|
|
762
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
763
|
-
/* unused harmony reexport * */
|
|
764
|
-
|
|
765
|
-
|
|
766
727
|
/***/ }),
|
|
767
728
|
|
|
768
729
|
/***/ "1c32":
|
|
@@ -779,6 +740,31 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
779
740
|
|
|
780
741
|
/***/ }),
|
|
781
742
|
|
|
743
|
+
/***/ "21d1":
|
|
744
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
745
|
+
|
|
746
|
+
// extracted by mini-css-extract-plugin
|
|
747
|
+
|
|
748
|
+
/***/ }),
|
|
749
|
+
|
|
750
|
+
/***/ "233b":
|
|
751
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
752
|
+
|
|
753
|
+
"use strict";
|
|
754
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7a9a");
|
|
755
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
756
|
+
/* unused harmony reexport * */
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
/***/ }),
|
|
760
|
+
|
|
761
|
+
/***/ "2439":
|
|
762
|
+
/***/ (function(module, exports) {
|
|
763
|
+
|
|
764
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
765
|
+
|
|
766
|
+
/***/ }),
|
|
767
|
+
|
|
782
768
|
/***/ "2a5e":
|
|
783
769
|
/***/ (function(module, exports, __webpack_require__) {
|
|
784
770
|
|
|
@@ -912,6 +898,28 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
912
898
|
|
|
913
899
|
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
914
900
|
|
|
901
|
+
/***/ }),
|
|
902
|
+
|
|
903
|
+
/***/ "318c":
|
|
904
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
905
|
+
|
|
906
|
+
"use strict";
|
|
907
|
+
/* 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_Legends_vue_vue_type_style_index_0_id_514dd6be_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5766");
|
|
908
|
+
/* 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_Legends_vue_vue_type_style_index_0_id_514dd6be_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_Legends_vue_vue_type_style_index_0_id_514dd6be_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
909
|
+
/* unused harmony reexport * */
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
/***/ }),
|
|
913
|
+
|
|
914
|
+
/***/ "3412":
|
|
915
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
916
|
+
|
|
917
|
+
"use strict";
|
|
918
|
+
/* 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_6c4be18e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("81a0");
|
|
919
|
+
/* 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_6c4be18e_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_6c4be18e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
920
|
+
/* unused harmony reexport * */
|
|
921
|
+
|
|
922
|
+
|
|
915
923
|
/***/ }),
|
|
916
924
|
|
|
917
925
|
/***/ "3d2d":
|
|
@@ -1001,7 +1009,7 @@ module.exports =
|
|
|
1001
1009
|
/******/
|
|
1002
1010
|
/******/
|
|
1003
1011
|
/******/ // Load entry module and return exports
|
|
1004
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1012
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1005
1013
|
/******/ })
|
|
1006
1014
|
/************************************************************************/
|
|
1007
1015
|
/******/ ({
|
|
@@ -1108,7 +1116,7 @@ function normalizeComponent (
|
|
|
1108
1116
|
|
|
1109
1117
|
/***/ }),
|
|
1110
1118
|
|
|
1111
|
-
/***/
|
|
1119
|
+
/***/ 116:
|
|
1112
1120
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1113
1121
|
|
|
1114
1122
|
"use strict";
|
|
@@ -1220,6 +1228,8 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
|
1220
1228
|
|
|
1221
1229
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1222
1230
|
|
|
1231
|
+
var _throttleDebounce = __webpack_require__("831f");
|
|
1232
|
+
|
|
1223
1233
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1224
1234
|
|
|
1225
1235
|
var isServer = typeof window === 'undefined';
|
|
@@ -1254,7 +1264,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
|
|
|
1254
1264
|
if (isServer) return;
|
|
1255
1265
|
if (!element.__resizeListeners__) {
|
|
1256
1266
|
element.__resizeListeners__ = [];
|
|
1257
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1267
|
+
element.__ro__ = new _resizeObserverPolyfill2.default((0, _throttleDebounce.debounce)(16, resizeHandler));
|
|
1258
1268
|
element.__ro__.observe(element);
|
|
1259
1269
|
}
|
|
1260
1270
|
element.__resizeListeners__.push(fn);
|
|
@@ -1688,6 +1698,13 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
1688
1698
|
|
|
1689
1699
|
/***/ }),
|
|
1690
1700
|
|
|
1701
|
+
/***/ "4d90":
|
|
1702
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1703
|
+
|
|
1704
|
+
// extracted by mini-css-extract-plugin
|
|
1705
|
+
|
|
1706
|
+
/***/ }),
|
|
1707
|
+
|
|
1691
1708
|
/***/ "4e4b":
|
|
1692
1709
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1693
1710
|
|
|
@@ -1775,7 +1792,7 @@ module.exports =
|
|
|
1775
1792
|
/******/
|
|
1776
1793
|
/******/
|
|
1777
1794
|
/******/ // Load entry module and return exports
|
|
1778
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1795
|
+
/******/ return __webpack_require__(__webpack_require__.s = 62);
|
|
1779
1796
|
/******/ })
|
|
1780
1797
|
/************************************************************************/
|
|
1781
1798
|
/******/ ({
|
|
@@ -1910,7 +1927,7 @@ module.exports = __webpack_require__("4010");
|
|
|
1910
1927
|
|
|
1911
1928
|
/***/ }),
|
|
1912
1929
|
|
|
1913
|
-
/***/
|
|
1930
|
+
/***/ 19:
|
|
1914
1931
|
/***/ (function(module, exports) {
|
|
1915
1932
|
|
|
1916
1933
|
module.exports = __webpack_require__("7435");
|
|
@@ -1938,14 +1955,14 @@ module.exports = __webpack_require__("8122");
|
|
|
1938
1955
|
|
|
1939
1956
|
/***/ }),
|
|
1940
1957
|
|
|
1941
|
-
/***/
|
|
1958
|
+
/***/ 32:
|
|
1942
1959
|
/***/ (function(module, exports) {
|
|
1943
1960
|
|
|
1944
1961
|
module.exports = __webpack_require__("2a5e");
|
|
1945
1962
|
|
|
1946
1963
|
/***/ }),
|
|
1947
1964
|
|
|
1948
|
-
/***/
|
|
1965
|
+
/***/ 34:
|
|
1949
1966
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1950
1967
|
|
|
1951
1968
|
"use strict";
|
|
@@ -2196,7 +2213,7 @@ component.options.__file = "packages/select/src/option.vue"
|
|
|
2196
2213
|
|
|
2197
2214
|
/***/ }),
|
|
2198
2215
|
|
|
2199
|
-
/***/
|
|
2216
|
+
/***/ 38:
|
|
2200
2217
|
/***/ (function(module, exports) {
|
|
2201
2218
|
|
|
2202
2219
|
module.exports = __webpack_require__("8bbc");
|
|
@@ -2224,7 +2241,7 @@ module.exports = __webpack_require__("6b7c");
|
|
|
2224
2241
|
|
|
2225
2242
|
/***/ }),
|
|
2226
2243
|
|
|
2227
|
-
/***/
|
|
2244
|
+
/***/ 62:
|
|
2228
2245
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2229
2246
|
|
|
2230
2247
|
"use strict";
|
|
@@ -2390,7 +2407,7 @@ var render = function() {
|
|
|
2390
2407
|
return null
|
|
2391
2408
|
}
|
|
2392
2409
|
$event.preventDefault()
|
|
2393
|
-
_vm.
|
|
2410
|
+
_vm.handleNavigate("next")
|
|
2394
2411
|
},
|
|
2395
2412
|
function($event) {
|
|
2396
2413
|
if (
|
|
@@ -2403,7 +2420,7 @@ var render = function() {
|
|
|
2403
2420
|
return null
|
|
2404
2421
|
}
|
|
2405
2422
|
$event.preventDefault()
|
|
2406
|
-
_vm.
|
|
2423
|
+
_vm.handleNavigate("prev")
|
|
2407
2424
|
},
|
|
2408
2425
|
function($event) {
|
|
2409
2426
|
if (
|
|
@@ -2496,11 +2513,15 @@ var render = function() {
|
|
|
2496
2513
|
"validate-event": false,
|
|
2497
2514
|
tabindex: _vm.multiple && _vm.filterable ? "-1" : null
|
|
2498
2515
|
},
|
|
2499
|
-
on: {
|
|
2516
|
+
on: {
|
|
2517
|
+
focus: _vm.handleFocus,
|
|
2518
|
+
blur: _vm.handleBlur,
|
|
2519
|
+
input: _vm.debouncedOnInputChange,
|
|
2520
|
+
compositionstart: _vm.handleComposition,
|
|
2521
|
+
compositionupdate: _vm.handleComposition,
|
|
2522
|
+
compositionend: _vm.handleComposition
|
|
2523
|
+
},
|
|
2500
2524
|
nativeOn: {
|
|
2501
|
-
keyup: function($event) {
|
|
2502
|
-
return _vm.debouncedOnInputChange($event)
|
|
2503
|
-
},
|
|
2504
2525
|
keydown: [
|
|
2505
2526
|
function($event) {
|
|
2506
2527
|
if (
|
|
@@ -2514,7 +2535,7 @@ var render = function() {
|
|
|
2514
2535
|
}
|
|
2515
2536
|
$event.stopPropagation()
|
|
2516
2537
|
$event.preventDefault()
|
|
2517
|
-
_vm.
|
|
2538
|
+
_vm.handleNavigate("next")
|
|
2518
2539
|
},
|
|
2519
2540
|
function($event) {
|
|
2520
2541
|
if (
|
|
@@ -2528,7 +2549,7 @@ var render = function() {
|
|
|
2528
2549
|
}
|
|
2529
2550
|
$event.stopPropagation()
|
|
2530
2551
|
$event.preventDefault()
|
|
2531
|
-
_vm.
|
|
2552
|
+
_vm.handleNavigate("prev")
|
|
2532
2553
|
},
|
|
2533
2554
|
function($event) {
|
|
2534
2555
|
if (
|
|
@@ -2564,9 +2585,6 @@ var render = function() {
|
|
|
2564
2585
|
_vm.visible = false
|
|
2565
2586
|
}
|
|
2566
2587
|
],
|
|
2567
|
-
paste: function($event) {
|
|
2568
|
-
return _vm.debouncedOnInputChange($event)
|
|
2569
|
-
},
|
|
2570
2588
|
mouseenter: function($event) {
|
|
2571
2589
|
_vm.inputHovering = true
|
|
2572
2590
|
},
|
|
@@ -2852,10 +2870,10 @@ if (false) { var api; }
|
|
|
2852
2870
|
component.options.__file = "packages/select/src/select-dropdown.vue"
|
|
2853
2871
|
/* harmony default export */ var select_dropdown = (component.exports);
|
|
2854
2872
|
// EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
|
|
2855
|
-
var src_option = __webpack_require__(
|
|
2873
|
+
var src_option = __webpack_require__(34);
|
|
2856
2874
|
|
|
2857
2875
|
// EXTERNAL MODULE: external "element-ui/lib/tag"
|
|
2858
|
-
var tag_ = __webpack_require__(
|
|
2876
|
+
var tag_ = __webpack_require__(38);
|
|
2859
2877
|
var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
|
|
2860
2878
|
|
|
2861
2879
|
// EXTERNAL MODULE: external "element-ui/lib/scrollbar"
|
|
@@ -2863,7 +2881,7 @@ var scrollbar_ = __webpack_require__(15);
|
|
|
2863
2881
|
var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
2864
2882
|
|
|
2865
2883
|
// EXTERNAL MODULE: external "throttle-debounce/debounce"
|
|
2866
|
-
var debounce_ = __webpack_require__(
|
|
2884
|
+
var debounce_ = __webpack_require__(19);
|
|
2867
2885
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
2868
2886
|
|
|
2869
2887
|
// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
|
|
@@ -2874,7 +2892,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
2874
2892
|
var resize_event_ = __webpack_require__(16);
|
|
2875
2893
|
|
|
2876
2894
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
|
|
2877
|
-
var scroll_into_view_ = __webpack_require__(
|
|
2895
|
+
var scroll_into_view_ = __webpack_require__(32);
|
|
2878
2896
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
2879
2897
|
|
|
2880
2898
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -3083,6 +3101,8 @@ var shared_ = __webpack_require__(21);
|
|
|
3083
3101
|
//
|
|
3084
3102
|
//
|
|
3085
3103
|
//
|
|
3104
|
+
//
|
|
3105
|
+
//
|
|
3086
3106
|
|
|
3087
3107
|
|
|
3088
3108
|
|
|
@@ -3380,6 +3400,11 @@ var shared_ = __webpack_require__(21);
|
|
|
3380
3400
|
},
|
|
3381
3401
|
|
|
3382
3402
|
methods: {
|
|
3403
|
+
handleNavigate: function handleNavigate(direction) {
|
|
3404
|
+
if (this.isOnComposition) return;
|
|
3405
|
+
|
|
3406
|
+
this.navigateOptions(direction);
|
|
3407
|
+
},
|
|
3383
3408
|
handleComposition: function handleComposition(event) {
|
|
3384
3409
|
var _this5 = this;
|
|
3385
3410
|
|
|
@@ -3465,7 +3490,7 @@ var shared_ = __webpack_require__(21);
|
|
|
3465
3490
|
}
|
|
3466
3491
|
}
|
|
3467
3492
|
if (option) return option;
|
|
3468
|
-
var label = !isObject && !isNull && !isUndefined ? value : '';
|
|
3493
|
+
var label = !isObject && !isNull && !isUndefined ? String(value) : '';
|
|
3469
3494
|
var newOption = {
|
|
3470
3495
|
value: value,
|
|
3471
3496
|
currentLabel: label
|
|
@@ -3505,10 +3530,10 @@ var shared_ = __webpack_require__(21);
|
|
|
3505
3530
|
handleFocus: function handleFocus(event) {
|
|
3506
3531
|
if (!this.softFocus) {
|
|
3507
3532
|
if (this.automaticDropdown || this.filterable) {
|
|
3508
|
-
this.visible
|
|
3509
|
-
if (this.filterable) {
|
|
3533
|
+
if (this.filterable && !this.visible) {
|
|
3510
3534
|
this.menuVisibleOnFocus = true;
|
|
3511
3535
|
}
|
|
3536
|
+
this.visible = true;
|
|
3512
3537
|
}
|
|
3513
3538
|
this.$emit('focus', event);
|
|
3514
3539
|
} else {
|
|
@@ -3582,8 +3607,9 @@ var shared_ = __webpack_require__(21);
|
|
|
3582
3607
|
return item.tagName === 'INPUT';
|
|
3583
3608
|
})[0];
|
|
3584
3609
|
var tags = _this10.$refs.tags;
|
|
3610
|
+
var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
|
|
3585
3611
|
var sizeInMap = _this10.initialInputHeight || 40;
|
|
3586
|
-
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ?
|
|
3612
|
+
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
|
|
3587
3613
|
if (_this10.visible && _this10.emptyText !== false) {
|
|
3588
3614
|
_this10.broadcast('ElSelectDropdown', 'updatePopper');
|
|
3589
3615
|
}
|
|
@@ -4104,7 +4130,7 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4104
4130
|
|
|
4105
4131
|
/***/ }),
|
|
4106
4132
|
|
|
4107
|
-
/***/ "
|
|
4133
|
+
/***/ "5766":
|
|
4108
4134
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4109
4135
|
|
|
4110
4136
|
// extracted by mini-css-extract-plugin
|
|
@@ -4222,7 +4248,7 @@ function addClass(el, cls) {
|
|
|
4222
4248
|
}
|
|
4223
4249
|
}
|
|
4224
4250
|
if (!el.classList) {
|
|
4225
|
-
el.
|
|
4251
|
+
el.setAttribute('class', curClass);
|
|
4226
4252
|
}
|
|
4227
4253
|
};
|
|
4228
4254
|
|
|
@@ -4243,7 +4269,7 @@ function removeClass(el, cls) {
|
|
|
4243
4269
|
}
|
|
4244
4270
|
}
|
|
4245
4271
|
if (!el.classList) {
|
|
4246
|
-
el.
|
|
4272
|
+
el.setAttribute('class', trim(curClass));
|
|
4247
4273
|
}
|
|
4248
4274
|
};
|
|
4249
4275
|
|
|
@@ -4307,10 +4333,10 @@ function setStyle(element, styleName, value) {
|
|
|
4307
4333
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4308
4334
|
if (isServer) return;
|
|
4309
4335
|
|
|
4310
|
-
var determinedDirection = vertical !== null
|
|
4336
|
+
var determinedDirection = vertical !== null && vertical !== undefined;
|
|
4311
4337
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4312
4338
|
|
|
4313
|
-
return overflow.match(/(scroll|auto)/);
|
|
4339
|
+
return overflow.match(/(scroll|auto|overlay)/);
|
|
4314
4340
|
};
|
|
4315
4341
|
|
|
4316
4342
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4352,10 +4378,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4352
4378
|
|
|
4353
4379
|
/***/ }),
|
|
4354
4380
|
|
|
4355
|
-
/***/ "
|
|
4356
|
-
/***/ (function(module, exports
|
|
4381
|
+
/***/ "5a3b":
|
|
4382
|
+
/***/ (function(module, exports) {
|
|
4357
4383
|
|
|
4358
|
-
|
|
4384
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4359
4385
|
|
|
4360
4386
|
/***/ }),
|
|
4361
4387
|
|
|
@@ -5724,7 +5750,7 @@ module.exports =
|
|
|
5724
5750
|
/******/
|
|
5725
5751
|
/******/
|
|
5726
5752
|
/******/ // Load entry module and return exports
|
|
5727
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
5753
|
+
/******/ return __webpack_require__(__webpack_require__.s = 89);
|
|
5728
5754
|
/******/ })
|
|
5729
5755
|
/************************************************************************/
|
|
5730
5756
|
/******/ ({
|
|
@@ -5838,7 +5864,7 @@ module.exports = __webpack_require__("d010");
|
|
|
5838
5864
|
|
|
5839
5865
|
/***/ }),
|
|
5840
5866
|
|
|
5841
|
-
/***/
|
|
5867
|
+
/***/ 89:
|
|
5842
5868
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5843
5869
|
|
|
5844
5870
|
"use strict";
|
|
@@ -5917,7 +5943,9 @@ var keyCode = Object.freeze({
|
|
|
5917
5943
|
return (this.elFormItem || {}).elFormItemSize;
|
|
5918
5944
|
},
|
|
5919
5945
|
_elTag: function _elTag() {
|
|
5920
|
-
|
|
5946
|
+
var tag = (this.$vnode.data || {}).tag;
|
|
5947
|
+
if (!tag || tag === 'component') tag = 'div';
|
|
5948
|
+
return tag;
|
|
5921
5949
|
},
|
|
5922
5950
|
radioGroupSize: function radioGroupSize() {
|
|
5923
5951
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
@@ -6118,7 +6146,7 @@ module.exports =
|
|
|
6118
6146
|
/******/
|
|
6119
6147
|
/******/
|
|
6120
6148
|
/******/ // Load entry module and return exports
|
|
6121
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6149
|
+
/******/ return __webpack_require__(__webpack_require__.s = 78);
|
|
6122
6150
|
/******/ })
|
|
6123
6151
|
/************************************************************************/
|
|
6124
6152
|
/******/ ({
|
|
@@ -6253,7 +6281,7 @@ module.exports = __webpack_require__("8bbf");
|
|
|
6253
6281
|
|
|
6254
6282
|
/***/ }),
|
|
6255
6283
|
|
|
6256
|
-
/***/
|
|
6284
|
+
/***/ 78:
|
|
6257
6285
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6258
6286
|
|
|
6259
6287
|
"use strict";
|
|
@@ -6677,6 +6705,20 @@ exports.default = {
|
|
|
6677
6705
|
|
|
6678
6706
|
/***/ }),
|
|
6679
6707
|
|
|
6708
|
+
/***/ "712c":
|
|
6709
|
+
/***/ (function(module, exports) {
|
|
6710
|
+
|
|
6711
|
+
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
6712
|
+
|
|
6713
|
+
/***/ }),
|
|
6714
|
+
|
|
6715
|
+
/***/ "722b":
|
|
6716
|
+
/***/ (function(module, exports) {
|
|
6717
|
+
|
|
6718
|
+
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
6719
|
+
|
|
6720
|
+
/***/ }),
|
|
6721
|
+
|
|
6680
6722
|
/***/ "7435":
|
|
6681
6723
|
/***/ (function(module, exports) {
|
|
6682
6724
|
|
|
@@ -6691,6 +6733,13 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6691
6733
|
|
|
6692
6734
|
/***/ }),
|
|
6693
6735
|
|
|
6736
|
+
/***/ "7a9a":
|
|
6737
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6738
|
+
|
|
6739
|
+
// extracted by mini-css-extract-plugin
|
|
6740
|
+
|
|
6741
|
+
/***/ }),
|
|
6742
|
+
|
|
6694
6743
|
/***/ "7b31":
|
|
6695
6744
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6696
6745
|
|
|
@@ -6778,7 +6827,7 @@ module.exports =
|
|
|
6778
6827
|
/******/
|
|
6779
6828
|
/******/
|
|
6780
6829
|
/******/ // Load entry module and return exports
|
|
6781
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6830
|
+
/******/ return __webpack_require__(__webpack_require__.s = 117);
|
|
6782
6831
|
/******/ })
|
|
6783
6832
|
/************************************************************************/
|
|
6784
6833
|
/******/ ({
|
|
@@ -6885,7 +6934,7 @@ function normalizeComponent (
|
|
|
6885
6934
|
|
|
6886
6935
|
/***/ }),
|
|
6887
6936
|
|
|
6888
|
-
/***/
|
|
6937
|
+
/***/ 117:
|
|
6889
6938
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6890
6939
|
|
|
6891
6940
|
"use strict";
|
|
@@ -7088,7 +7137,7 @@ module.exports =
|
|
|
7088
7137
|
/******/
|
|
7089
7138
|
/******/
|
|
7090
7139
|
/******/ // Load entry module and return exports
|
|
7091
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7140
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
7092
7141
|
/******/ })
|
|
7093
7142
|
/************************************************************************/
|
|
7094
7143
|
/******/ ({
|
|
@@ -7202,7 +7251,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7202
7251
|
|
|
7203
7252
|
/***/ }),
|
|
7204
7253
|
|
|
7205
|
-
/***/
|
|
7254
|
+
/***/ 93:
|
|
7206
7255
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7207
7256
|
|
|
7208
7257
|
"use strict";
|
|
@@ -7594,6 +7643,20 @@ function objToArray(obj) {
|
|
|
7594
7643
|
|
|
7595
7644
|
/***/ }),
|
|
7596
7645
|
|
|
7646
|
+
/***/ "81a0":
|
|
7647
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7648
|
+
|
|
7649
|
+
// extracted by mini-css-extract-plugin
|
|
7650
|
+
|
|
7651
|
+
/***/ }),
|
|
7652
|
+
|
|
7653
|
+
/***/ "831f":
|
|
7654
|
+
/***/ (function(module, exports) {
|
|
7655
|
+
|
|
7656
|
+
module.exports = require("throttle-debounce");
|
|
7657
|
+
|
|
7658
|
+
/***/ }),
|
|
7659
|
+
|
|
7597
7660
|
/***/ "8535":
|
|
7598
7661
|
/***/ (function(module, exports) {
|
|
7599
7662
|
|
|
@@ -7695,7 +7758,7 @@ module.exports =
|
|
|
7695
7758
|
/******/
|
|
7696
7759
|
/******/
|
|
7697
7760
|
/******/ // Load entry module and return exports
|
|
7698
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7761
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
7699
7762
|
/******/ })
|
|
7700
7763
|
/************************************************************************/
|
|
7701
7764
|
/******/ ({
|
|
@@ -7816,14 +7879,21 @@ module.exports = __webpack_require__("5924");
|
|
|
7816
7879
|
|
|
7817
7880
|
/***/ }),
|
|
7818
7881
|
|
|
7819
|
-
/***/
|
|
7882
|
+
/***/ 42:
|
|
7820
7883
|
/***/ (function(module, exports) {
|
|
7821
7884
|
|
|
7822
7885
|
module.exports = __webpack_require__("c56a");
|
|
7823
7886
|
|
|
7824
7887
|
/***/ }),
|
|
7825
7888
|
|
|
7826
|
-
/***/
|
|
7889
|
+
/***/ 7:
|
|
7890
|
+
/***/ (function(module, exports) {
|
|
7891
|
+
|
|
7892
|
+
module.exports = __webpack_require__("8bbf");
|
|
7893
|
+
|
|
7894
|
+
/***/ }),
|
|
7895
|
+
|
|
7896
|
+
/***/ 73:
|
|
7827
7897
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7828
7898
|
|
|
7829
7899
|
"use strict";
|
|
@@ -7971,7 +8041,7 @@ var dom_ = __webpack_require__(2);
|
|
|
7971
8041
|
var popup_ = __webpack_require__(13);
|
|
7972
8042
|
|
|
7973
8043
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
7974
|
-
var after_leave_ = __webpack_require__(
|
|
8044
|
+
var after_leave_ = __webpack_require__(42);
|
|
7975
8045
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
7976
8046
|
|
|
7977
8047
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8035,7 +8105,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8035
8105
|
el.mask.style[property] = el.maskStyle[property];
|
|
8036
8106
|
});
|
|
8037
8107
|
|
|
8038
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8108
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
8039
8109
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8040
8110
|
}
|
|
8041
8111
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8193,7 +8263,7 @@ var src_Loading = function Loading() {
|
|
|
8193
8263
|
});
|
|
8194
8264
|
|
|
8195
8265
|
src_addStyle(options, parent, instance);
|
|
8196
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8266
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
8197
8267
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8198
8268
|
}
|
|
8199
8269
|
if (options.fullscreen && options.lock) {
|
|
@@ -8226,13 +8296,6 @@ var src_Loading = function Loading() {
|
|
|
8226
8296
|
|
|
8227
8297
|
/***/ }),
|
|
8228
8298
|
|
|
8229
|
-
/***/ 7:
|
|
8230
|
-
/***/ (function(module, exports) {
|
|
8231
|
-
|
|
8232
|
-
module.exports = __webpack_require__("8bbf");
|
|
8233
|
-
|
|
8234
|
-
/***/ }),
|
|
8235
|
-
|
|
8236
8299
|
/***/ 9:
|
|
8237
8300
|
/***/ (function(module, exports) {
|
|
8238
8301
|
|
|
@@ -8331,7 +8394,7 @@ module.exports =
|
|
|
8331
8394
|
/******/
|
|
8332
8395
|
/******/
|
|
8333
8396
|
/******/ // Load entry module and return exports
|
|
8334
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8397
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
8335
8398
|
/******/ })
|
|
8336
8399
|
/************************************************************************/
|
|
8337
8400
|
/******/ ({
|
|
@@ -8438,7 +8501,7 @@ function normalizeComponent (
|
|
|
8438
8501
|
|
|
8439
8502
|
/***/ }),
|
|
8440
8503
|
|
|
8441
|
-
/***/
|
|
8504
|
+
/***/ 132:
|
|
8442
8505
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8443
8506
|
|
|
8444
8507
|
"use strict";
|
|
@@ -8560,13 +8623,6 @@ module.exports = require("vue");
|
|
|
8560
8623
|
|
|
8561
8624
|
/***/ }),
|
|
8562
8625
|
|
|
8563
|
-
/***/ "940c":
|
|
8564
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8565
|
-
|
|
8566
|
-
// extracted by mini-css-extract-plugin
|
|
8567
|
-
|
|
8568
|
-
/***/ }),
|
|
8569
|
-
|
|
8570
8626
|
/***/ "97d3":
|
|
8571
8627
|
/***/ (function(module, exports) {
|
|
8572
8628
|
|
|
@@ -8656,17 +8712,6 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
8656
8712
|
* https://github.com/Matt-Esch/string-template/index.js
|
|
8657
8713
|
*/
|
|
8658
8714
|
|
|
8659
|
-
/***/ }),
|
|
8660
|
-
|
|
8661
|
-
/***/ "9e82":
|
|
8662
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8663
|
-
|
|
8664
|
-
"use strict";
|
|
8665
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Legends_vue_vue_type_style_index_0_id_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0242");
|
|
8666
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Legends_vue_vue_type_style_index_0_id_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Legends_vue_vue_type_style_index_0_id_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
8667
|
-
/* unused harmony reexport * */
|
|
8668
|
-
|
|
8669
|
-
|
|
8670
8715
|
/***/ }),
|
|
8671
8716
|
|
|
8672
8717
|
/***/ "a1cc":
|
|
@@ -8763,7 +8808,7 @@ module.exports =
|
|
|
8763
8808
|
/******/
|
|
8764
8809
|
/******/
|
|
8765
8810
|
/******/ // Load entry module and return exports
|
|
8766
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8811
|
+
/******/ return __webpack_require__(__webpack_require__.s = 103);
|
|
8767
8812
|
/******/ })
|
|
8768
8813
|
/************************************************************************/
|
|
8769
8814
|
/******/ ({
|
|
@@ -8870,7 +8915,7 @@ function normalizeComponent (
|
|
|
8870
8915
|
|
|
8871
8916
|
/***/ }),
|
|
8872
8917
|
|
|
8873
|
-
/***/
|
|
8918
|
+
/***/ 103:
|
|
8874
8919
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8875
8920
|
|
|
8876
8921
|
"use strict";
|
|
@@ -9012,6 +9057,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9012
9057
|
|
|
9013
9058
|
/***/ }),
|
|
9014
9059
|
|
|
9060
|
+
/***/ "a9ee":
|
|
9061
|
+
/***/ (function(module, exports) {
|
|
9062
|
+
|
|
9063
|
+
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
9064
|
+
|
|
9065
|
+
/***/ }),
|
|
9066
|
+
|
|
9015
9067
|
/***/ "aaa5":
|
|
9016
9068
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9017
9069
|
|
|
@@ -9031,17 +9083,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9031
9083
|
|
|
9032
9084
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
9033
9085
|
|
|
9034
|
-
/***/ }),
|
|
9035
|
-
|
|
9036
|
-
/***/ "b191":
|
|
9037
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9038
|
-
|
|
9039
|
-
"use strict";
|
|
9040
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("940c");
|
|
9041
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9042
|
-
/* unused harmony reexport * */
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
9086
|
/***/ }),
|
|
9046
9087
|
|
|
9047
9088
|
/***/ "b2d6":
|
|
@@ -9168,6 +9209,9 @@ exports.default = {
|
|
|
9168
9209
|
popconfirm: {
|
|
9169
9210
|
confirmButtonText: 'Yes',
|
|
9170
9211
|
cancelButtonText: 'No'
|
|
9212
|
+
},
|
|
9213
|
+
empty: {
|
|
9214
|
+
description: 'No Data'
|
|
9171
9215
|
}
|
|
9172
9216
|
}
|
|
9173
9217
|
};
|
|
@@ -9181,10 +9225,14 @@ exports.default = {
|
|
|
9181
9225
|
|
|
9182
9226
|
/***/ }),
|
|
9183
9227
|
|
|
9184
|
-
/***/ "
|
|
9185
|
-
/***/ (function(module,
|
|
9228
|
+
/***/ "b64b":
|
|
9229
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9230
|
+
|
|
9231
|
+
"use strict";
|
|
9232
|
+
/* 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_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("21d1");
|
|
9233
|
+
/* 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_6d6dee76_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_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9234
|
+
/* unused harmony reexport * */
|
|
9186
9235
|
|
|
9187
|
-
module.exports = require("core-js/modules/web.url.js");
|
|
9188
9236
|
|
|
9189
9237
|
/***/ }),
|
|
9190
9238
|
|
|
@@ -9193,17 +9241,6 @@ module.exports = require("core-js/modules/web.url.js");
|
|
|
9193
9241
|
|
|
9194
9242
|
// extracted by mini-css-extract-plugin
|
|
9195
9243
|
|
|
9196
|
-
/***/ }),
|
|
9197
|
-
|
|
9198
|
-
/***/ "c033":
|
|
9199
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9200
|
-
|
|
9201
|
-
"use strict";
|
|
9202
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("58e9");
|
|
9203
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9204
|
-
/* unused harmony reexport * */
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
9244
|
/***/ }),
|
|
9208
9245
|
|
|
9209
9246
|
/***/ "c2cc":
|
|
@@ -9293,12 +9330,12 @@ module.exports =
|
|
|
9293
9330
|
/******/
|
|
9294
9331
|
/******/
|
|
9295
9332
|
/******/ // Load entry module and return exports
|
|
9296
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9333
|
+
/******/ return __webpack_require__(__webpack_require__.s = 140);
|
|
9297
9334
|
/******/ })
|
|
9298
9335
|
/************************************************************************/
|
|
9299
9336
|
/******/ ({
|
|
9300
9337
|
|
|
9301
|
-
/***/
|
|
9338
|
+
/***/ 140:
|
|
9302
9339
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9303
9340
|
|
|
9304
9341
|
"use strict";
|
|
@@ -9388,13 +9425,6 @@ col.install = function (Vue) {
|
|
|
9388
9425
|
|
|
9389
9426
|
/***/ }),
|
|
9390
9427
|
|
|
9391
|
-
/***/ "c4c7":
|
|
9392
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9393
|
-
|
|
9394
|
-
// extracted by mini-css-extract-plugin
|
|
9395
|
-
|
|
9396
|
-
/***/ }),
|
|
9397
|
-
|
|
9398
9428
|
/***/ "c56a":
|
|
9399
9429
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9400
9430
|
|
|
@@ -9524,7 +9554,7 @@ module.exports =
|
|
|
9524
9554
|
/******/
|
|
9525
9555
|
/******/
|
|
9526
9556
|
/******/ // Load entry module and return exports
|
|
9527
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9557
|
+
/******/ return __webpack_require__(__webpack_require__.s = 119);
|
|
9528
9558
|
/******/ })
|
|
9529
9559
|
/************************************************************************/
|
|
9530
9560
|
/******/ ({
|
|
@@ -9631,7 +9661,7 @@ function normalizeComponent (
|
|
|
9631
9661
|
|
|
9632
9662
|
/***/ }),
|
|
9633
9663
|
|
|
9634
|
-
/***/
|
|
9664
|
+
/***/ 119:
|
|
9635
9665
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9636
9666
|
|
|
9637
9667
|
"use strict";
|
|
@@ -9810,6 +9840,13 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
9810
9840
|
|
|
9811
9841
|
/***/ }),
|
|
9812
9842
|
|
|
9843
|
+
/***/ "dc50":
|
|
9844
|
+
/***/ (function(module, exports) {
|
|
9845
|
+
|
|
9846
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
9847
|
+
|
|
9848
|
+
/***/ }),
|
|
9849
|
+
|
|
9813
9850
|
/***/ "dcdc":
|
|
9814
9851
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9815
9852
|
|
|
@@ -9897,7 +9934,7 @@ module.exports =
|
|
|
9897
9934
|
/******/
|
|
9898
9935
|
/******/
|
|
9899
9936
|
/******/ // Load entry module and return exports
|
|
9900
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9937
|
+
/******/ return __webpack_require__(__webpack_require__.s = 91);
|
|
9901
9938
|
/******/ })
|
|
9902
9939
|
/************************************************************************/
|
|
9903
9940
|
/******/ ({
|
|
@@ -10011,7 +10048,7 @@ module.exports = __webpack_require__("d010");
|
|
|
10011
10048
|
|
|
10012
10049
|
/***/ }),
|
|
10013
10050
|
|
|
10014
|
-
/***/
|
|
10051
|
+
/***/ 91:
|
|
10015
10052
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10016
10053
|
|
|
10017
10054
|
"use strict";
|
|
@@ -10582,7 +10619,7 @@ module.exports =
|
|
|
10582
10619
|
/******/
|
|
10583
10620
|
/******/
|
|
10584
10621
|
/******/ // Load entry module and return exports
|
|
10585
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10622
|
+
/******/ return __webpack_require__(__webpack_require__.s = 54);
|
|
10586
10623
|
/******/ })
|
|
10587
10624
|
/************************************************************************/
|
|
10588
10625
|
/******/ ({
|
|
@@ -10696,7 +10733,7 @@ module.exports = __webpack_require__("8122");
|
|
|
10696
10733
|
|
|
10697
10734
|
/***/ }),
|
|
10698
10735
|
|
|
10699
|
-
/***/
|
|
10736
|
+
/***/ 34:
|
|
10700
10737
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10701
10738
|
|
|
10702
10739
|
"use strict";
|
|
@@ -10954,12 +10991,12 @@ module.exports = __webpack_require__("d010");
|
|
|
10954
10991
|
|
|
10955
10992
|
/***/ }),
|
|
10956
10993
|
|
|
10957
|
-
/***/
|
|
10994
|
+
/***/ 54:
|
|
10958
10995
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10959
10996
|
|
|
10960
10997
|
"use strict";
|
|
10961
10998
|
__webpack_require__.r(__webpack_exports__);
|
|
10962
|
-
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
10999
|
+
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
|
10963
11000
|
|
|
10964
11001
|
|
|
10965
11002
|
/* istanbul ignore next */
|
|
@@ -11196,6 +11233,17 @@ module.exports = require("core-js/modules/es.array.slice.js");
|
|
|
11196
11233
|
|
|
11197
11234
|
module.exports = require("core-js/modules/es.object.keys.js");
|
|
11198
11235
|
|
|
11236
|
+
/***/ }),
|
|
11237
|
+
|
|
11238
|
+
/***/ "ec09":
|
|
11239
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11240
|
+
|
|
11241
|
+
"use strict";
|
|
11242
|
+
/* 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");
|
|
11243
|
+
/* 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__);
|
|
11244
|
+
/* unused harmony reexport * */
|
|
11245
|
+
|
|
11246
|
+
|
|
11199
11247
|
/***/ }),
|
|
11200
11248
|
|
|
11201
11249
|
/***/ "ec71":
|
|
@@ -11292,7 +11340,7 @@ module.exports =
|
|
|
11292
11340
|
/******/
|
|
11293
11341
|
/******/
|
|
11294
11342
|
/******/ // Load entry module and return exports
|
|
11295
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11343
|
+
/******/ return __webpack_require__(__webpack_require__.s = 96);
|
|
11296
11344
|
/******/ })
|
|
11297
11345
|
/************************************************************************/
|
|
11298
11346
|
/******/ ({
|
|
@@ -11399,7 +11447,7 @@ function normalizeComponent (
|
|
|
11399
11447
|
|
|
11400
11448
|
/***/ }),
|
|
11401
11449
|
|
|
11402
|
-
/***/
|
|
11450
|
+
/***/ 96:
|
|
11403
11451
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11404
11452
|
|
|
11405
11453
|
"use strict";
|
|
@@ -11513,7 +11561,7 @@ render._withStripped = true
|
|
|
11513
11561
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
11514
11562
|
},
|
|
11515
11563
|
buttonDisabled: function buttonDisabled() {
|
|
11516
|
-
return this.disabled
|
|
11564
|
+
return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
|
|
11517
11565
|
}
|
|
11518
11566
|
},
|
|
11519
11567
|
|
|
@@ -11691,6 +11739,9 @@ exports.default = {
|
|
|
11691
11739
|
popconfirm: {
|
|
11692
11740
|
confirmButtonText: '确定',
|
|
11693
11741
|
cancelButtonText: '取消'
|
|
11742
|
+
},
|
|
11743
|
+
empty: {
|
|
11744
|
+
description: '暂无数据'
|
|
11694
11745
|
}
|
|
11695
11746
|
}
|
|
11696
11747
|
};
|
|
@@ -11784,7 +11835,7 @@ module.exports =
|
|
|
11784
11835
|
/******/
|
|
11785
11836
|
/******/
|
|
11786
11837
|
/******/ // Load entry module and return exports
|
|
11787
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11838
|
+
/******/ return __webpack_require__(__webpack_require__.s = 75);
|
|
11788
11839
|
/******/ })
|
|
11789
11840
|
/************************************************************************/
|
|
11790
11841
|
/******/ ({
|
|
@@ -11912,7 +11963,7 @@ module.exports = __webpack_require__("d010");
|
|
|
11912
11963
|
|
|
11913
11964
|
/***/ }),
|
|
11914
11965
|
|
|
11915
|
-
/***/
|
|
11966
|
+
/***/ 75:
|
|
11916
11967
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11917
11968
|
|
|
11918
11969
|
"use strict";
|
|
@@ -12554,15 +12605,18 @@ var shared_ = __webpack_require__(21);
|
|
|
12554
12605
|
this.focused = true;
|
|
12555
12606
|
this.$emit('focus', event);
|
|
12556
12607
|
},
|
|
12557
|
-
handleCompositionStart: function handleCompositionStart() {
|
|
12608
|
+
handleCompositionStart: function handleCompositionStart(event) {
|
|
12609
|
+
this.$emit('compositionstart', event);
|
|
12558
12610
|
this.isComposing = true;
|
|
12559
12611
|
},
|
|
12560
12612
|
handleCompositionUpdate: function handleCompositionUpdate(event) {
|
|
12613
|
+
this.$emit('compositionupdate', event);
|
|
12561
12614
|
var text = event.target.value;
|
|
12562
12615
|
var lastCharacter = text[text.length - 1] || '';
|
|
12563
12616
|
this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
|
|
12564
12617
|
},
|
|
12565
12618
|
handleCompositionEnd: function handleCompositionEnd(event) {
|
|
12619
|
+
this.$emit('compositionend', event);
|
|
12566
12620
|
if (this.isComposing) {
|
|
12567
12621
|
this.isComposing = false;
|
|
12568
12622
|
this.handleInput(event);
|
|
@@ -12784,7 +12838,7 @@ module.exports =
|
|
|
12784
12838
|
/******/
|
|
12785
12839
|
/******/
|
|
12786
12840
|
/******/ // Load entry module and return exports
|
|
12787
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12841
|
+
/******/ return __webpack_require__(__webpack_require__.s = 88);
|
|
12788
12842
|
/******/ })
|
|
12789
12843
|
/************************************************************************/
|
|
12790
12844
|
/******/ ({
|
|
@@ -12891,7 +12945,14 @@ function normalizeComponent (
|
|
|
12891
12945
|
|
|
12892
12946
|
/***/ }),
|
|
12893
12947
|
|
|
12894
|
-
/***/
|
|
12948
|
+
/***/ 4:
|
|
12949
|
+
/***/ (function(module, exports) {
|
|
12950
|
+
|
|
12951
|
+
module.exports = __webpack_require__("d010");
|
|
12952
|
+
|
|
12953
|
+
/***/ }),
|
|
12954
|
+
|
|
12955
|
+
/***/ 88:
|
|
12895
12956
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12896
12957
|
|
|
12897
12958
|
"use strict";
|
|
@@ -12961,7 +13022,8 @@ var render = function() {
|
|
|
12961
13022
|
"aria-hidden": "true",
|
|
12962
13023
|
name: _vm.name,
|
|
12963
13024
|
disabled: _vm.isDisabled,
|
|
12964
|
-
tabindex: "-1"
|
|
13025
|
+
tabindex: "-1",
|
|
13026
|
+
autocomplete: "off"
|
|
12965
13027
|
},
|
|
12966
13028
|
domProps: {
|
|
12967
13029
|
value: _vm.label,
|
|
@@ -13058,6 +13120,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
13058
13120
|
//
|
|
13059
13121
|
//
|
|
13060
13122
|
//
|
|
13123
|
+
//
|
|
13061
13124
|
|
|
13062
13125
|
|
|
13063
13126
|
|
|
@@ -13184,13 +13247,6 @@ src_radio.install = function (Vue) {
|
|
|
13184
13247
|
|
|
13185
13248
|
/* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
|
|
13186
13249
|
|
|
13187
|
-
/***/ }),
|
|
13188
|
-
|
|
13189
|
-
/***/ 4:
|
|
13190
|
-
/***/ (function(module, exports) {
|
|
13191
|
-
|
|
13192
|
-
module.exports = __webpack_require__("d010");
|
|
13193
|
-
|
|
13194
13250
|
/***/ })
|
|
13195
13251
|
|
|
13196
13252
|
/******/ });
|
|
@@ -13246,52 +13302,542 @@ if (typeof window !== 'undefined') {
|
|
|
13246
13302
|
// Indicate to webpack that this file can be concatenated
|
|
13247
13303
|
/* harmony default export */ var setPublicPath = (null);
|
|
13248
13304
|
|
|
13249
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13250
|
-
var render = function () {
|
|
13251
|
-
var
|
|
13252
|
-
|
|
13253
|
-
|
|
13254
|
-
|
|
13255
|
-
|
|
13256
|
-
|
|
13257
|
-
|
|
13258
|
-
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13263
|
-
|
|
13264
|
-
|
|
13265
|
-
|
|
13266
|
-
|
|
13267
|
-
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
|
-
|
|
13271
|
-
|
|
13272
|
-
|
|
13273
|
-
|
|
13274
|
-
|
|
13275
|
-
|
|
13276
|
-
|
|
13277
|
-
|
|
13278
|
-
|
|
13279
|
-
|
|
13280
|
-
|
|
13281
|
-
|
|
13282
|
-
|
|
13283
|
-
|
|
13284
|
-
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
|
|
13288
|
-
|
|
13289
|
-
|
|
13290
|
-
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
|
|
13294
|
-
|
|
13305
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4715a64c-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=6c4be18e&scoped=true&
|
|
13306
|
+
var render = function render() {
|
|
13307
|
+
var _vm = this,
|
|
13308
|
+
_c = _vm._self._c;
|
|
13309
|
+
return _c('div', {
|
|
13310
|
+
directives: [{
|
|
13311
|
+
name: "loading",
|
|
13312
|
+
rawName: "v-loading",
|
|
13313
|
+
value: _vm.loading,
|
|
13314
|
+
expression: "loading"
|
|
13315
|
+
}],
|
|
13316
|
+
ref: "flatmapContainer",
|
|
13317
|
+
staticClass: "flatmap-container",
|
|
13318
|
+
attrs: {
|
|
13319
|
+
"element-loading-text": "Loading...",
|
|
13320
|
+
"element-loading-spinner": "el-icon-loading",
|
|
13321
|
+
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
13322
|
+
}
|
|
13323
|
+
}, [_c('map-svg-sprite-color'), _c('div', {
|
|
13324
|
+
staticStyle: {
|
|
13325
|
+
"height": "100%",
|
|
13326
|
+
"width": "100%",
|
|
13327
|
+
"position": "relative",
|
|
13328
|
+
"overflow-y": "none"
|
|
13329
|
+
}
|
|
13330
|
+
}, [_c('div', {
|
|
13331
|
+
ref: "display",
|
|
13332
|
+
staticStyle: {
|
|
13333
|
+
"height": "100%",
|
|
13334
|
+
"width": "100%"
|
|
13335
|
+
}
|
|
13336
|
+
}), _c('div', {
|
|
13337
|
+
staticClass: "beta-popovers"
|
|
13338
|
+
}, [_c('div', [_c('el-popover', {
|
|
13339
|
+
ref: "warningPopover",
|
|
13340
|
+
attrs: {
|
|
13341
|
+
"content": _vm.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _vm.warningMessage,
|
|
13342
|
+
"placement": "right",
|
|
13343
|
+
"appendToBody": false,
|
|
13344
|
+
"trigger": "manual",
|
|
13345
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13346
|
+
},
|
|
13347
|
+
model: {
|
|
13348
|
+
value: _vm.hoverVisibilities[6].value,
|
|
13349
|
+
callback: function callback($$v) {
|
|
13350
|
+
_vm.$set(_vm.hoverVisibilities[6], "value", $$v);
|
|
13351
|
+
},
|
|
13352
|
+
expression: "hoverVisibilities[6].value"
|
|
13353
|
+
}
|
|
13354
|
+
}), _vm.displayWarning && _vm.warningMessage ? _c('i', {
|
|
13355
|
+
directives: [{
|
|
13356
|
+
name: "popover",
|
|
13357
|
+
rawName: "v-popover:warningPopover",
|
|
13358
|
+
arg: "warningPopover"
|
|
13359
|
+
}],
|
|
13360
|
+
staticClass: "el-icon-warning warning-icon",
|
|
13361
|
+
on: {
|
|
13362
|
+
"mouseover": function mouseover($event) {
|
|
13363
|
+
return _vm.showToolitip(6);
|
|
13364
|
+
},
|
|
13365
|
+
"mouseout": function mouseout($event) {
|
|
13366
|
+
return _vm.hideToolitip(6);
|
|
13367
|
+
}
|
|
13368
|
+
}
|
|
13369
|
+
}, [_vm.isLegacy ? [_c('span', {
|
|
13370
|
+
staticClass: "warning-text"
|
|
13371
|
+
}, [_vm._v("Legacy Map")]), _c('div', {
|
|
13372
|
+
staticClass: "latest-map-text",
|
|
13373
|
+
on: {
|
|
13374
|
+
"click": _vm.viewLatestMap
|
|
13375
|
+
}
|
|
13376
|
+
}, [_vm._v("Click here for the latest map")])] : [_c('span', {
|
|
13377
|
+
staticClass: "warning-text"
|
|
13378
|
+
}, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
13379
|
+
ref: "latestChangesPopover",
|
|
13380
|
+
attrs: {
|
|
13381
|
+
"content": _vm.latestChangesMessage,
|
|
13382
|
+
"placement": "right",
|
|
13383
|
+
"appendToBody": false,
|
|
13384
|
+
"trigger": "manual",
|
|
13385
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13386
|
+
},
|
|
13387
|
+
model: {
|
|
13388
|
+
value: _vm.hoverVisibilities[7].value,
|
|
13389
|
+
callback: function callback($$v) {
|
|
13390
|
+
_vm.$set(_vm.hoverVisibilities[7], "value", $$v);
|
|
13391
|
+
},
|
|
13392
|
+
expression: "hoverVisibilities[7].value"
|
|
13393
|
+
}
|
|
13394
|
+
}) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
|
|
13395
|
+
directives: [{
|
|
13396
|
+
name: "popover",
|
|
13397
|
+
rawName: "v-popover:latestChangesPopover",
|
|
13398
|
+
arg: "latestChangesPopover"
|
|
13399
|
+
}],
|
|
13400
|
+
staticClass: "el-icon-warning latest-changesicon",
|
|
13401
|
+
on: {
|
|
13402
|
+
"mouseover": function mouseover($event) {
|
|
13403
|
+
return _vm.showToolitip(7);
|
|
13404
|
+
},
|
|
13405
|
+
"mouseout": function mouseout($event) {
|
|
13406
|
+
return _vm.hideToolitip(7);
|
|
13407
|
+
}
|
|
13408
|
+
}
|
|
13409
|
+
}, [_c('span', {
|
|
13410
|
+
staticClass: "warning-text"
|
|
13411
|
+
}, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('i', {
|
|
13412
|
+
directives: [{
|
|
13413
|
+
name: "show",
|
|
13414
|
+
rawName: "v-show",
|
|
13415
|
+
value: _vm.minimapResizeShow,
|
|
13416
|
+
expression: "minimapResizeShow"
|
|
13417
|
+
}],
|
|
13418
|
+
ref: "minimapResize",
|
|
13419
|
+
staticClass: "el-icon-arrow-down minimap-resize",
|
|
13420
|
+
class: {
|
|
13421
|
+
enlarge: _vm.minimapSmall,
|
|
13422
|
+
shrink: !_vm.minimapSmall
|
|
13423
|
+
},
|
|
13424
|
+
on: {
|
|
13425
|
+
"click": _vm.closeMinimap
|
|
13426
|
+
}
|
|
13427
|
+
}), _c('div', {
|
|
13428
|
+
staticClass: "bottom-right-control"
|
|
13429
|
+
}, [_c('el-popover', {
|
|
13430
|
+
attrs: {
|
|
13431
|
+
"content": "Zoom in",
|
|
13432
|
+
"placement": "left",
|
|
13433
|
+
"appendToBody": false,
|
|
13434
|
+
"trigger": "manual",
|
|
13435
|
+
"popper-class": "flatmap-popper left-popper"
|
|
13436
|
+
},
|
|
13437
|
+
model: {
|
|
13438
|
+
value: _vm.hoverVisibilities[0].value,
|
|
13439
|
+
callback: function callback($$v) {
|
|
13440
|
+
_vm.$set(_vm.hoverVisibilities[0], "value", $$v);
|
|
13441
|
+
},
|
|
13442
|
+
expression: "hoverVisibilities[0].value"
|
|
13443
|
+
}
|
|
13444
|
+
}, [_c('map-svg-icon', {
|
|
13445
|
+
staticClass: "icon-button zoomIn",
|
|
13446
|
+
attrs: {
|
|
13447
|
+
"slot": "reference",
|
|
13448
|
+
"icon": "zoomIn"
|
|
13449
|
+
},
|
|
13450
|
+
nativeOn: {
|
|
13451
|
+
"click": function click($event) {
|
|
13452
|
+
return _vm.zoomIn();
|
|
13453
|
+
},
|
|
13454
|
+
"mouseover": function mouseover($event) {
|
|
13455
|
+
return _vm.showToolitip(0);
|
|
13456
|
+
},
|
|
13457
|
+
"mouseout": function mouseout($event) {
|
|
13458
|
+
return _vm.hideToolitip(0);
|
|
13459
|
+
}
|
|
13460
|
+
},
|
|
13461
|
+
slot: "reference"
|
|
13462
|
+
})], 1), _c('el-popover', {
|
|
13463
|
+
attrs: {
|
|
13464
|
+
"content": "Zoom out",
|
|
13465
|
+
"placement": "top-end",
|
|
13466
|
+
"appendToBody": false,
|
|
13467
|
+
"trigger": "manual",
|
|
13468
|
+
"popper-class": "flatmap-popper popper-zoomout"
|
|
13469
|
+
},
|
|
13470
|
+
model: {
|
|
13471
|
+
value: _vm.hoverVisibilities[1].value,
|
|
13472
|
+
callback: function callback($$v) {
|
|
13473
|
+
_vm.$set(_vm.hoverVisibilities[1], "value", $$v);
|
|
13474
|
+
},
|
|
13475
|
+
expression: "hoverVisibilities[1].value"
|
|
13476
|
+
}
|
|
13477
|
+
}, [_c('map-svg-icon', {
|
|
13478
|
+
staticClass: "icon-button zoomOut",
|
|
13479
|
+
attrs: {
|
|
13480
|
+
"slot": "reference",
|
|
13481
|
+
"icon": "zoomOut"
|
|
13482
|
+
},
|
|
13483
|
+
nativeOn: {
|
|
13484
|
+
"click": function click($event) {
|
|
13485
|
+
return _vm.zoomOut();
|
|
13486
|
+
},
|
|
13487
|
+
"mouseover": function mouseover($event) {
|
|
13488
|
+
return _vm.showToolitip(1);
|
|
13489
|
+
},
|
|
13490
|
+
"mouseout": function mouseout($event) {
|
|
13491
|
+
return _vm.hideToolitip(1);
|
|
13492
|
+
}
|
|
13493
|
+
},
|
|
13494
|
+
slot: "reference"
|
|
13495
|
+
})], 1), _c('el-popover', {
|
|
13496
|
+
attrs: {
|
|
13497
|
+
"content": "Reset",
|
|
13498
|
+
"placement": "top",
|
|
13499
|
+
"appendToBody": false,
|
|
13500
|
+
"trigger": "manual",
|
|
13501
|
+
"popper-class": "flatmap-popper"
|
|
13502
|
+
},
|
|
13503
|
+
model: {
|
|
13504
|
+
value: _vm.hoverVisibilities[2].value,
|
|
13505
|
+
callback: function callback($$v) {
|
|
13506
|
+
_vm.$set(_vm.hoverVisibilities[2], "value", $$v);
|
|
13507
|
+
},
|
|
13508
|
+
expression: "hoverVisibilities[2].value"
|
|
13509
|
+
}
|
|
13510
|
+
}, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
|
|
13511
|
+
staticClass: "icon-button fitWindow",
|
|
13512
|
+
attrs: {
|
|
13513
|
+
"slot": "reference",
|
|
13514
|
+
"icon": "fitWindow"
|
|
13515
|
+
},
|
|
13516
|
+
nativeOn: {
|
|
13517
|
+
"click": function click($event) {
|
|
13518
|
+
return _vm.resetView();
|
|
13519
|
+
},
|
|
13520
|
+
"mouseover": function mouseover($event) {
|
|
13521
|
+
return _vm.showToolitip(2);
|
|
13522
|
+
},
|
|
13523
|
+
"mouseout": function mouseout($event) {
|
|
13524
|
+
return _vm.hideToolitip(2);
|
|
13525
|
+
}
|
|
13526
|
+
},
|
|
13527
|
+
slot: "reference"
|
|
13528
|
+
})], 1)], 1), _c('el-popover', {
|
|
13529
|
+
ref: "checkBoxPopover",
|
|
13530
|
+
attrs: {
|
|
13531
|
+
"content": "Change pathway visibility",
|
|
13532
|
+
"placement": "right",
|
|
13533
|
+
"appendToBody": false,
|
|
13534
|
+
"trigger": "manual",
|
|
13535
|
+
"popper-class": "flatmap-popper right-popper"
|
|
13536
|
+
},
|
|
13537
|
+
model: {
|
|
13538
|
+
value: _vm.hoverVisibilities[4].value,
|
|
13539
|
+
callback: function callback($$v) {
|
|
13540
|
+
_vm.$set(_vm.hoverVisibilities[4], "value", $$v);
|
|
13541
|
+
},
|
|
13542
|
+
expression: "hoverVisibilities[4].value"
|
|
13543
|
+
}
|
|
13544
|
+
}), _c('div', {
|
|
13545
|
+
staticClass: "pathway-location",
|
|
13546
|
+
class: {
|
|
13547
|
+
open: _vm.drawerOpen,
|
|
13548
|
+
close: !_vm.drawerOpen
|
|
13549
|
+
}
|
|
13550
|
+
}, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
|
|
13551
|
+
directives: [{
|
|
13552
|
+
name: "popover",
|
|
13553
|
+
rawName: "v-popover:checkBoxPopover",
|
|
13554
|
+
arg: "checkBoxPopover"
|
|
13555
|
+
}],
|
|
13556
|
+
staticClass: "pathway-container"
|
|
13557
|
+
}, [_c('svg-legends', {
|
|
13558
|
+
staticClass: "svg-legends-container"
|
|
13559
|
+
}), _c('el-popover', {
|
|
13560
|
+
ref: "markerPopover",
|
|
13561
|
+
attrs: {
|
|
13562
|
+
"content": "Find these markers for data",
|
|
13563
|
+
"placement": "right",
|
|
13564
|
+
"appendToBody": false,
|
|
13565
|
+
"trigger": "manual",
|
|
13566
|
+
"popper-class": "flatmap-popper popper-bump-right right-popper"
|
|
13567
|
+
},
|
|
13568
|
+
model: {
|
|
13569
|
+
value: _vm.hoverVisibilities[5].value,
|
|
13570
|
+
callback: function callback($$v) {
|
|
13571
|
+
_vm.$set(_vm.hoverVisibilities[5], "value", $$v);
|
|
13572
|
+
},
|
|
13573
|
+
expression: "hoverVisibilities[5].value"
|
|
13574
|
+
}
|
|
13575
|
+
}), _c('div', {
|
|
13576
|
+
directives: [{
|
|
13577
|
+
name: "show",
|
|
13578
|
+
rawName: "v-show",
|
|
13579
|
+
value: _vm.hoverVisibilities[5].value,
|
|
13580
|
+
expression: "hoverVisibilities[5].value"
|
|
13581
|
+
}, {
|
|
13582
|
+
name: "popover",
|
|
13583
|
+
rawName: "v-popover:markerPopover",
|
|
13584
|
+
arg: "markerPopover"
|
|
13585
|
+
}],
|
|
13586
|
+
staticClass: "flatmap-marker-help",
|
|
13587
|
+
domProps: {
|
|
13588
|
+
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13589
|
+
}
|
|
13590
|
+
}), _c('el-row', [_c('el-col', {
|
|
13591
|
+
attrs: {
|
|
13592
|
+
"span": 12
|
|
13593
|
+
}
|
|
13594
|
+
}, [_c('div', {
|
|
13595
|
+
staticClass: "pathways-display-text"
|
|
13596
|
+
}, [_vm._v("Pathways")])]), _c('el-col', {
|
|
13597
|
+
attrs: {
|
|
13598
|
+
"span": 12
|
|
13599
|
+
}
|
|
13600
|
+
}, [_c('el-checkbox', {
|
|
13601
|
+
staticClass: "all-checkbox",
|
|
13602
|
+
attrs: {
|
|
13603
|
+
"indeterminate": _vm.isIndeterminate
|
|
13604
|
+
},
|
|
13605
|
+
on: {
|
|
13606
|
+
"change": _vm.handleCheckAllChange
|
|
13607
|
+
},
|
|
13608
|
+
model: {
|
|
13609
|
+
value: _vm.checkAll,
|
|
13610
|
+
callback: function callback($$v) {
|
|
13611
|
+
_vm.checkAll = $$v;
|
|
13612
|
+
},
|
|
13613
|
+
expression: "checkAll"
|
|
13614
|
+
}
|
|
13615
|
+
}, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
|
|
13616
|
+
staticClass: "checkbox-group",
|
|
13617
|
+
attrs: {
|
|
13618
|
+
"size": "small"
|
|
13619
|
+
},
|
|
13620
|
+
on: {
|
|
13621
|
+
"change": _vm.handleCheckedItemsChange
|
|
13622
|
+
},
|
|
13623
|
+
model: {
|
|
13624
|
+
value: _vm.checkedItems,
|
|
13625
|
+
callback: function callback($$v) {
|
|
13626
|
+
_vm.checkedItems = $$v;
|
|
13627
|
+
},
|
|
13628
|
+
expression: "checkedItems"
|
|
13629
|
+
}
|
|
13630
|
+
}, [_c('div', {
|
|
13631
|
+
staticClass: "checkbox-group-inner"
|
|
13632
|
+
}, _vm._l(_vm.pathways, function (item) {
|
|
13633
|
+
return _c('el-row', {
|
|
13634
|
+
key: item.type,
|
|
13635
|
+
attrs: {
|
|
13636
|
+
"label": item.type
|
|
13637
|
+
}
|
|
13638
|
+
}, [_c('div', {
|
|
13639
|
+
staticClass: "checkbox-container"
|
|
13640
|
+
}, [_c('el-checkbox', {
|
|
13641
|
+
staticClass: "my-checkbox",
|
|
13642
|
+
attrs: {
|
|
13643
|
+
"label": item.type,
|
|
13644
|
+
"checked": true
|
|
13645
|
+
},
|
|
13646
|
+
on: {
|
|
13647
|
+
"change": function change($event) {
|
|
13648
|
+
return _vm.visibilityToggle();
|
|
13649
|
+
}
|
|
13650
|
+
}
|
|
13651
|
+
}, [_c('div', {
|
|
13652
|
+
staticClass: "path-visual",
|
|
13653
|
+
class: item.type
|
|
13654
|
+
}), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
|
|
13655
|
+
}), 1)])], 1) : _vm._e(), _c('div', {
|
|
13656
|
+
staticClass: "drawer-button",
|
|
13657
|
+
class: {
|
|
13658
|
+
open: _vm.drawerOpen,
|
|
13659
|
+
close: !_vm.drawerOpen
|
|
13660
|
+
},
|
|
13661
|
+
on: {
|
|
13662
|
+
"click": _vm.toggleDrawer
|
|
13663
|
+
}
|
|
13664
|
+
}, [_c('i', {
|
|
13665
|
+
staticClass: "el-icon-arrow-left"
|
|
13666
|
+
})])]), _c('el-popover', {
|
|
13667
|
+
ref: "backgroundPopover",
|
|
13668
|
+
attrs: {
|
|
13669
|
+
"placement": "top-start",
|
|
13670
|
+
"width": "175",
|
|
13671
|
+
"appendToBody": false,
|
|
13672
|
+
"trigger": "click",
|
|
13673
|
+
"popper-class": "background-popper"
|
|
13674
|
+
}
|
|
13675
|
+
}, [_c('el-row', {
|
|
13676
|
+
staticClass: "backgroundText"
|
|
13677
|
+
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
13678
|
+
staticClass: "backgroundControl"
|
|
13679
|
+
}, [_c('el-radio-group', {
|
|
13680
|
+
staticClass: "flatmap-radio",
|
|
13681
|
+
on: {
|
|
13682
|
+
"change": _vm.setColour
|
|
13683
|
+
},
|
|
13684
|
+
model: {
|
|
13685
|
+
value: _vm.colourRadio,
|
|
13686
|
+
callback: function callback($$v) {
|
|
13687
|
+
_vm.colourRadio = $$v;
|
|
13688
|
+
},
|
|
13689
|
+
expression: "colourRadio"
|
|
13690
|
+
}
|
|
13691
|
+
}, [_c('el-radio', {
|
|
13692
|
+
attrs: {
|
|
13693
|
+
"label": true
|
|
13694
|
+
}
|
|
13695
|
+
}, [_vm._v("Colour")]), _c('el-radio', {
|
|
13696
|
+
attrs: {
|
|
13697
|
+
"label": false
|
|
13698
|
+
}
|
|
13699
|
+
}, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
|
|
13700
|
+
staticClass: "backgroundSpacer"
|
|
13701
|
+
}), _c('el-row', {
|
|
13702
|
+
staticClass: "backgroundText"
|
|
13703
|
+
}, [_vm._v("Outlines display")]), _c('el-row', {
|
|
13704
|
+
staticClass: "backgroundControl"
|
|
13705
|
+
}, [_c('el-radio-group', {
|
|
13706
|
+
staticClass: "flatmap-radio",
|
|
13707
|
+
on: {
|
|
13708
|
+
"change": _vm.setOutlines
|
|
13709
|
+
},
|
|
13710
|
+
model: {
|
|
13711
|
+
value: _vm.outlinesRadio,
|
|
13712
|
+
callback: function callback($$v) {
|
|
13713
|
+
_vm.outlinesRadio = $$v;
|
|
13714
|
+
},
|
|
13715
|
+
expression: "outlinesRadio"
|
|
13716
|
+
}
|
|
13717
|
+
}, [_c('el-radio', {
|
|
13718
|
+
attrs: {
|
|
13719
|
+
"label": true
|
|
13720
|
+
}
|
|
13721
|
+
}, [_vm._v("Show")]), _c('el-radio', {
|
|
13722
|
+
attrs: {
|
|
13723
|
+
"label": false
|
|
13724
|
+
}
|
|
13725
|
+
}, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
|
|
13726
|
+
staticClass: "backgroundSpacer"
|
|
13727
|
+
}), _c('el-row', {
|
|
13728
|
+
staticClass: "backgroundText"
|
|
13729
|
+
}, [_vm._v("Change background")]), _c('el-row', {
|
|
13730
|
+
staticClass: "backgroundControl"
|
|
13731
|
+
}, _vm._l(_vm.availableBackground, function (item) {
|
|
13732
|
+
return _c('div', {
|
|
13733
|
+
key: item,
|
|
13734
|
+
class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
|
|
13735
|
+
on: {
|
|
13736
|
+
"click": function click($event) {
|
|
13737
|
+
return _vm.backgroundChangeCallback(item);
|
|
13738
|
+
}
|
|
13739
|
+
}
|
|
13740
|
+
});
|
|
13741
|
+
}), 0)], 1), _c('el-popover', {
|
|
13742
|
+
attrs: {
|
|
13743
|
+
"content": "Change background color",
|
|
13744
|
+
"placement": "right",
|
|
13745
|
+
"appendToBody": false,
|
|
13746
|
+
"trigger": "manual",
|
|
13747
|
+
"popper-class": "flatmap-popper right-popper"
|
|
13748
|
+
},
|
|
13749
|
+
model: {
|
|
13750
|
+
value: _vm.hoverVisibilities[3].value,
|
|
13751
|
+
callback: function callback($$v) {
|
|
13752
|
+
_vm.$set(_vm.hoverVisibilities[3], "value", $$v);
|
|
13753
|
+
},
|
|
13754
|
+
expression: "hoverVisibilities[3].value"
|
|
13755
|
+
}
|
|
13756
|
+
}, [_c('map-svg-icon', {
|
|
13757
|
+
directives: [{
|
|
13758
|
+
name: "popover",
|
|
13759
|
+
rawName: "v-popover:backgroundPopover",
|
|
13760
|
+
arg: "backgroundPopover"
|
|
13761
|
+
}],
|
|
13762
|
+
staticClass: "icon-button background-colour",
|
|
13763
|
+
class: {
|
|
13764
|
+
open: _vm.drawerOpen,
|
|
13765
|
+
close: !_vm.drawerOpen
|
|
13766
|
+
},
|
|
13767
|
+
attrs: {
|
|
13768
|
+
"slot": "reference",
|
|
13769
|
+
"icon": "changeBckgd"
|
|
13770
|
+
},
|
|
13771
|
+
nativeOn: {
|
|
13772
|
+
"mouseover": function mouseover($event) {
|
|
13773
|
+
return _vm.showToolitip(3);
|
|
13774
|
+
},
|
|
13775
|
+
"mouseout": function mouseout($event) {
|
|
13776
|
+
return _vm.hideToolitip(3);
|
|
13777
|
+
}
|
|
13778
|
+
},
|
|
13779
|
+
slot: "reference"
|
|
13780
|
+
})], 1), _c('Tooltip', {
|
|
13781
|
+
ref: "tooltip",
|
|
13782
|
+
staticClass: "tooltip",
|
|
13783
|
+
attrs: {
|
|
13784
|
+
"content": _vm.tooltipContent
|
|
13785
|
+
},
|
|
13786
|
+
on: {
|
|
13787
|
+
"resource-selected": _vm.resourceSelected
|
|
13788
|
+
}
|
|
13789
|
+
})], 1)], 1);
|
|
13790
|
+
};
|
|
13791
|
+
var staticRenderFns = [];
|
|
13792
|
+
|
|
13793
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=6c4be18e&scoped=true&
|
|
13794
|
+
|
|
13795
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13796
|
+
var es_symbol_js_ = __webpack_require__("9b22");
|
|
13797
|
+
|
|
13798
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
13799
|
+
var es_symbol_description_js_ = __webpack_require__("4933");
|
|
13800
|
+
|
|
13801
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
13802
|
+
var es_object_to_string_js_ = __webpack_require__("97d3");
|
|
13803
|
+
|
|
13804
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
|
|
13805
|
+
var es_symbol_iterator_js_ = __webpack_require__("2ff9");
|
|
13806
|
+
|
|
13807
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
|
|
13808
|
+
var es_array_iterator_js_ = __webpack_require__("4ccb");
|
|
13809
|
+
|
|
13810
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
13811
|
+
var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
13812
|
+
|
|
13813
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
13814
|
+
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
13815
|
+
|
|
13816
|
+
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
13817
|
+
var es_error_cause_js_ = __webpack_require__("dc50");
|
|
13818
|
+
|
|
13819
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
|
|
13820
|
+
var es_array_slice_js_ = __webpack_require__("ea12");
|
|
13821
|
+
|
|
13822
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
13823
|
+
var es_function_name_js_ = __webpack_require__("db0a");
|
|
13824
|
+
|
|
13825
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
13826
|
+
var es_array_from_js_ = __webpack_require__("4362");
|
|
13827
|
+
|
|
13828
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
13829
|
+
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
13830
|
+
|
|
13831
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
|
|
13832
|
+
var es_regexp_test_js_ = __webpack_require__("5a3b");
|
|
13833
|
+
|
|
13834
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
13835
|
+
function _arrayLikeToArray(arr, len) {
|
|
13836
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
13837
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
13838
|
+
arr2[i] = arr[i];
|
|
13839
|
+
}
|
|
13840
|
+
return arr2;
|
|
13295
13841
|
}
|
|
13296
13842
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
13297
13843
|
|
|
@@ -13300,6 +13846,8 @@ function _arrayLikeToArray(arr, len) {
|
|
|
13300
13846
|
|
|
13301
13847
|
|
|
13302
13848
|
|
|
13849
|
+
|
|
13850
|
+
|
|
13303
13851
|
function _unsupportedIterableToArray(o, minLen) {
|
|
13304
13852
|
if (!o) return;
|
|
13305
13853
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -13317,16 +13865,14 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
13317
13865
|
|
|
13318
13866
|
|
|
13319
13867
|
|
|
13868
|
+
|
|
13320
13869
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
13321
13870
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
13322
|
-
|
|
13323
13871
|
if (!it) {
|
|
13324
13872
|
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
13325
13873
|
if (it) o = it;
|
|
13326
13874
|
var i = 0;
|
|
13327
|
-
|
|
13328
13875
|
var F = function F() {};
|
|
13329
|
-
|
|
13330
13876
|
return {
|
|
13331
13877
|
s: F,
|
|
13332
13878
|
n: function n() {
|
|
@@ -13344,13 +13890,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13344
13890
|
f: F
|
|
13345
13891
|
};
|
|
13346
13892
|
}
|
|
13347
|
-
|
|
13348
13893
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13349
13894
|
}
|
|
13350
|
-
|
|
13351
13895
|
var normalCompletion = true,
|
|
13352
|
-
|
|
13353
|
-
|
|
13896
|
+
didErr = false,
|
|
13897
|
+
err;
|
|
13354
13898
|
return {
|
|
13355
13899
|
s: function s() {
|
|
13356
13900
|
it = it.call(o);
|
|
@@ -13434,11 +13978,8 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
13434
13978
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13435
13979
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13436
13980
|
|
|
13437
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
13438
|
-
var
|
|
13439
|
-
|
|
13440
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
|
|
13441
|
-
var es_string_split_js_ = __webpack_require__("0cda");
|
|
13981
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
13982
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
13442
13983
|
|
|
13443
13984
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13444
13985
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
@@ -13456,10 +13997,156 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
13456
13997
|
var external_vue_ = __webpack_require__("8bbf");
|
|
13457
13998
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
13458
13999
|
|
|
13459
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13460
|
-
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function () {
|
|
13461
|
-
var
|
|
13462
|
-
|
|
14000
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4715a64c-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=6d6dee76&scoped=true&
|
|
14001
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function render() {
|
|
14002
|
+
var _vm = this,
|
|
14003
|
+
_c = _vm._self._c;
|
|
14004
|
+
return _c('div', {
|
|
14005
|
+
staticClass: "tooltip-container"
|
|
14006
|
+
}, [_vm.content ? _c('el-main', {
|
|
14007
|
+
directives: [{
|
|
14008
|
+
name: "loading",
|
|
14009
|
+
rawName: "v-loading",
|
|
14010
|
+
value: _vm.loading,
|
|
14011
|
+
expression: "loading"
|
|
14012
|
+
}],
|
|
14013
|
+
staticClass: "main"
|
|
14014
|
+
}, [_vm.content.title ? _c('div', {
|
|
14015
|
+
staticClass: "block"
|
|
14016
|
+
}, [_c('span', {
|
|
14017
|
+
staticClass: "title"
|
|
14018
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
|
|
14019
|
+
staticClass: "block"
|
|
14020
|
+
}, [_c('span', {
|
|
14021
|
+
staticClass: "title"
|
|
14022
|
+
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
14023
|
+
staticClass: "content-container scrollbar"
|
|
14024
|
+
}, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
14025
|
+
staticClass: "block"
|
|
14026
|
+
}, [_c('div', [_c('span', {
|
|
14027
|
+
staticClass: "attribute-title"
|
|
14028
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
14029
|
+
attrs: {
|
|
14030
|
+
"width": "250",
|
|
14031
|
+
"trigger": "hover",
|
|
14032
|
+
"append-to-body": false,
|
|
14033
|
+
"popper-class": "popover-origin-help"
|
|
14034
|
+
}
|
|
14035
|
+
}, [_c('i', {
|
|
14036
|
+
staticClass: "el-icon-warning-outline info",
|
|
14037
|
+
attrs: {
|
|
14038
|
+
"slot": "reference"
|
|
14039
|
+
},
|
|
14040
|
+
slot: "reference"
|
|
14041
|
+
}), _c('span', {
|
|
14042
|
+
staticStyle: {
|
|
14043
|
+
"word-break": "keep-all"
|
|
14044
|
+
}
|
|
14045
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
14046
|
+
return _c('div', {
|
|
14047
|
+
key: origin,
|
|
14048
|
+
staticClass: "attribute-content"
|
|
14049
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
14050
|
+
staticClass: "seperator"
|
|
14051
|
+
}) : _vm._e()]);
|
|
14052
|
+
}), _c('el-button', {
|
|
14053
|
+
directives: [{
|
|
14054
|
+
name: "show",
|
|
14055
|
+
rawName: "v-show",
|
|
14056
|
+
value: _vm.originsWithDatasets.length > 0,
|
|
14057
|
+
expression: "originsWithDatasets.length > 0"
|
|
14058
|
+
}],
|
|
14059
|
+
staticClass: "button",
|
|
14060
|
+
on: {
|
|
14061
|
+
"click": _vm.openDendrites
|
|
14062
|
+
}
|
|
14063
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
|
|
14064
|
+
staticClass: "block"
|
|
14065
|
+
}, [_c('div', {
|
|
14066
|
+
staticClass: "attribute-title"
|
|
14067
|
+
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
14068
|
+
return _c('div', {
|
|
14069
|
+
key: component,
|
|
14070
|
+
staticClass: "attribute-content"
|
|
14071
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
14072
|
+
staticClass: "seperator"
|
|
14073
|
+
}) : _vm._e()]);
|
|
14074
|
+
})], 2) : _vm._e(), this.destinations ? _c('div', {
|
|
14075
|
+
staticClass: "block"
|
|
14076
|
+
}, [_c('div', [_c('span', {
|
|
14077
|
+
staticClass: "attribute-title"
|
|
14078
|
+
}, [_vm._v("Destination")]), _c('el-popover', {
|
|
14079
|
+
attrs: {
|
|
14080
|
+
"width": "250",
|
|
14081
|
+
"trigger": "hover",
|
|
14082
|
+
"append-to-body": false,
|
|
14083
|
+
"popper-class": "popover-origin-help"
|
|
14084
|
+
}
|
|
14085
|
+
}, [_c('i', {
|
|
14086
|
+
staticClass: "el-icon-warning-outline info",
|
|
14087
|
+
attrs: {
|
|
14088
|
+
"slot": "reference"
|
|
14089
|
+
},
|
|
14090
|
+
slot: "reference"
|
|
14091
|
+
}), _c('span', {
|
|
14092
|
+
staticStyle: {
|
|
14093
|
+
"word-break": "keep-all"
|
|
14094
|
+
}
|
|
14095
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
14096
|
+
return _c('div', {
|
|
14097
|
+
key: destination,
|
|
14098
|
+
staticClass: "attribute-content"
|
|
14099
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
14100
|
+
staticClass: "seperator"
|
|
14101
|
+
}) : _vm._e()]);
|
|
14102
|
+
}), _c('el-button', {
|
|
14103
|
+
directives: [{
|
|
14104
|
+
name: "show",
|
|
14105
|
+
rawName: "v-show",
|
|
14106
|
+
value: _vm.destinationsWithDatasets.length > 0,
|
|
14107
|
+
expression: "destinationsWithDatasets.length > 0"
|
|
14108
|
+
}],
|
|
14109
|
+
staticClass: "button",
|
|
14110
|
+
on: {
|
|
14111
|
+
"click": _vm.openAxons
|
|
14112
|
+
}
|
|
14113
|
+
}, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
|
|
14114
|
+
directives: [{
|
|
14115
|
+
name: "show",
|
|
14116
|
+
rawName: "v-show",
|
|
14117
|
+
value: _vm.components.length > 0,
|
|
14118
|
+
expression: "components.length > 0"
|
|
14119
|
+
}],
|
|
14120
|
+
staticClass: "button",
|
|
14121
|
+
on: {
|
|
14122
|
+
"click": _vm.openAll
|
|
14123
|
+
}
|
|
14124
|
+
}, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
|
|
14125
|
+
directives: [{
|
|
14126
|
+
name: "show",
|
|
14127
|
+
rawName: "v-show",
|
|
14128
|
+
value: false,
|
|
14129
|
+
expression: "false"
|
|
14130
|
+
}],
|
|
14131
|
+
attrs: {
|
|
14132
|
+
"entry": _vm.content
|
|
14133
|
+
},
|
|
14134
|
+
on: {
|
|
14135
|
+
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14136
|
+
}
|
|
14137
|
+
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14138
|
+
staticClass: "button",
|
|
14139
|
+
attrs: {
|
|
14140
|
+
"icon": "el-icon-notebook-2"
|
|
14141
|
+
},
|
|
14142
|
+
on: {
|
|
14143
|
+
"click": function click($event) {
|
|
14144
|
+
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14145
|
+
}
|
|
14146
|
+
}
|
|
14147
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
14148
|
+
};
|
|
14149
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
|
|
13463
14150
|
|
|
13464
14151
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
13465
14152
|
|
|
@@ -13481,6 +14168,7 @@ function _iterableToArray(iter) {
|
|
|
13481
14168
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
13482
14169
|
}
|
|
13483
14170
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14171
|
+
|
|
13484
14172
|
function _nonIterableSpread() {
|
|
13485
14173
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13486
14174
|
}
|
|
@@ -13530,9 +14218,15 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
13530
14218
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
13531
14219
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
13532
14220
|
|
|
14221
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
14222
|
+
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
14223
|
+
|
|
13533
14224
|
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
13534
14225
|
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
13535
14226
|
|
|
14227
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
14228
|
+
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
14229
|
+
|
|
13536
14230
|
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
13537
14231
|
var es_promise_js_ = __webpack_require__("ec71");
|
|
13538
14232
|
|
|
@@ -13550,21 +14244,25 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
13550
14244
|
var locale = __webpack_require__("4897");
|
|
13551
14245
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
13552
14246
|
|
|
13553
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13554
|
-
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function () {
|
|
13555
|
-
var
|
|
13556
|
-
|
|
14247
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4715a64c-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/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14248
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function render() {
|
|
14249
|
+
var _vm = this,
|
|
14250
|
+
_c = _vm._self._c;
|
|
14251
|
+
return _c('div', {
|
|
14252
|
+
staticClass: "pubmed-container"
|
|
14253
|
+
});
|
|
14254
|
+
};
|
|
14255
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
|
|
13557
14256
|
|
|
13558
14257
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
13559
14258
|
|
|
13560
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
13561
|
-
var
|
|
14259
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
14260
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
13562
14261
|
|
|
13563
14262
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
13564
14263
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
13565
14264
|
|
|
13566
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
13567
|
-
|
|
14265
|
+
// 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&
|
|
13568
14266
|
|
|
13569
14267
|
|
|
13570
14268
|
|
|
@@ -13575,15 +14273,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13575
14273
|
|
|
13576
14274
|
|
|
13577
14275
|
|
|
13578
|
-
//
|
|
13579
|
-
//
|
|
13580
|
-
//
|
|
13581
|
-
//
|
|
13582
|
-
//
|
|
13583
|
-
//
|
|
13584
|
-
//
|
|
13585
|
-
|
|
13586
14276
|
/* eslint-disable no-alert, no-console */
|
|
14277
|
+
|
|
13587
14278
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
13588
14279
|
name: "Tooltip",
|
|
13589
14280
|
props: {
|
|
@@ -13615,7 +14306,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13615
14306
|
},
|
|
13616
14307
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
13617
14308
|
var sql = 'select distinct publication from publications where entity in (';
|
|
13618
|
-
|
|
13619
14309
|
if (keastIds.length === 1) {
|
|
13620
14310
|
sql += "'".concat(keastIds[0], "')");
|
|
13621
14311
|
} else if (keastIds.length > 1) {
|
|
@@ -13623,7 +14313,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13623
14313
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
13624
14314
|
}
|
|
13625
14315
|
}
|
|
13626
|
-
|
|
13627
14316
|
return sql;
|
|
13628
14317
|
},
|
|
13629
14318
|
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
@@ -13647,12 +14336,11 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13647
14336
|
},
|
|
13648
14337
|
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
13649
14338
|
var _this = this;
|
|
13650
|
-
|
|
13651
14339
|
if (!keastIds || keastIds.length === 0) return;
|
|
13652
14340
|
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
13653
14341
|
this.flatmapQuery(sql).then(function (data) {
|
|
13654
|
-
_this.responseData = data;
|
|
13655
|
-
|
|
14342
|
+
_this.responseData = data;
|
|
14343
|
+
// Create pubmed url on paths if we have them
|
|
13656
14344
|
if (data.values.length > 0) {
|
|
13657
14345
|
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
13658
14346
|
return _this.stripPMIDPrefix(id[0]);
|
|
@@ -13665,7 +14353,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13665
14353
|
},
|
|
13666
14354
|
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
13667
14355
|
var _this2 = this;
|
|
13668
|
-
|
|
13669
14356
|
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
13670
14357
|
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
13671
14358
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
@@ -13673,10 +14360,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13673
14360
|
})));
|
|
13674
14361
|
} else {
|
|
13675
14362
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
13676
|
-
|
|
13677
14363
|
}
|
|
13678
14364
|
});
|
|
13679
14365
|
},
|
|
14366
|
+
|
|
13680
14367
|
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
13681
14368
|
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
13682
14369
|
var params = new URLSearchParams();
|
|
@@ -13687,8 +14374,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13687
14374
|
});
|
|
13688
14375
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
13689
14376
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
13690
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&scoped=true&lang=scss&
|
|
13691
|
-
var
|
|
14377
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&prod&scoped=true&lang=scss&
|
|
14378
|
+
var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ = __webpack_require__("233b");
|
|
13692
14379
|
|
|
13693
14380
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
13694
14381
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -13697,20 +14384,19 @@ var PubmedViewervue_type_style_index_0_id_58832c92_scoped_true_lang_scss_ = __we
|
|
|
13697
14384
|
// This module is a runtime utility for cleaner component module output and will
|
|
13698
14385
|
// be included in the final webpack user bundle.
|
|
13699
14386
|
|
|
13700
|
-
function normalizeComponent
|
|
14387
|
+
function normalizeComponent(
|
|
13701
14388
|
scriptExports,
|
|
13702
14389
|
render,
|
|
13703
14390
|
staticRenderFns,
|
|
13704
14391
|
functionalTemplate,
|
|
13705
14392
|
injectStyles,
|
|
13706
14393
|
scopeId,
|
|
13707
|
-
moduleIdentifier
|
|
14394
|
+
moduleIdentifier /* server only */,
|
|
13708
14395
|
shadowMode /* vue-cli only */
|
|
13709
14396
|
) {
|
|
13710
14397
|
// Vue.extend constructor export interop
|
|
13711
|
-
var options =
|
|
13712
|
-
? scriptExports.options
|
|
13713
|
-
: scriptExports
|
|
14398
|
+
var options =
|
|
14399
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
13714
14400
|
|
|
13715
14401
|
// render functions
|
|
13716
14402
|
if (render) {
|
|
@@ -13730,7 +14416,8 @@ function normalizeComponent (
|
|
|
13730
14416
|
}
|
|
13731
14417
|
|
|
13732
14418
|
var hook
|
|
13733
|
-
if (moduleIdentifier) {
|
|
14419
|
+
if (moduleIdentifier) {
|
|
14420
|
+
// server build
|
|
13734
14421
|
hook = function (context) {
|
|
13735
14422
|
// 2.3 injection
|
|
13736
14423
|
context =
|
|
@@ -13756,11 +14443,11 @@ function normalizeComponent (
|
|
|
13756
14443
|
} else if (injectStyles) {
|
|
13757
14444
|
hook = shadowMode
|
|
13758
14445
|
? function () {
|
|
13759
|
-
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
|
|
14446
|
+
injectStyles.call(
|
|
14447
|
+
this,
|
|
14448
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
14449
|
+
)
|
|
14450
|
+
}
|
|
13764
14451
|
: injectStyles
|
|
13765
14452
|
}
|
|
13766
14453
|
|
|
@@ -13771,16 +14458,14 @@ function normalizeComponent (
|
|
|
13771
14458
|
options._injectStyles = hook
|
|
13772
14459
|
// register for functional component in vue file
|
|
13773
14460
|
var originalRender = options.render
|
|
13774
|
-
options.render = function renderWithStyleInjection
|
|
14461
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
13775
14462
|
hook.call(context)
|
|
13776
14463
|
return originalRender(h, context)
|
|
13777
14464
|
}
|
|
13778
14465
|
} else {
|
|
13779
14466
|
// inject component registration as beforeCreate hook
|
|
13780
14467
|
var existing = options.beforeCreate
|
|
13781
|
-
options.beforeCreate = existing
|
|
13782
|
-
? [].concat(existing, hook)
|
|
13783
|
-
: [hook]
|
|
14468
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
13784
14469
|
}
|
|
13785
14470
|
}
|
|
13786
14471
|
|
|
@@ -13815,7 +14500,9 @@ var component = normalizeComponent(
|
|
|
13815
14500
|
|
|
13816
14501
|
var EventBus = new external_vue_default.a();
|
|
13817
14502
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
13818
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14503
|
+
// 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&
|
|
14504
|
+
|
|
14505
|
+
|
|
13819
14506
|
|
|
13820
14507
|
|
|
13821
14508
|
|
|
@@ -13849,86 +14536,6 @@ var EventBus = new external_vue_default.a();
|
|
|
13849
14536
|
|
|
13850
14537
|
|
|
13851
14538
|
|
|
13852
|
-
//
|
|
13853
|
-
//
|
|
13854
|
-
//
|
|
13855
|
-
//
|
|
13856
|
-
//
|
|
13857
|
-
//
|
|
13858
|
-
//
|
|
13859
|
-
//
|
|
13860
|
-
//
|
|
13861
|
-
//
|
|
13862
|
-
//
|
|
13863
|
-
//
|
|
13864
|
-
//
|
|
13865
|
-
//
|
|
13866
|
-
//
|
|
13867
|
-
//
|
|
13868
|
-
//
|
|
13869
|
-
//
|
|
13870
|
-
//
|
|
13871
|
-
//
|
|
13872
|
-
//
|
|
13873
|
-
//
|
|
13874
|
-
//
|
|
13875
|
-
//
|
|
13876
|
-
//
|
|
13877
|
-
//
|
|
13878
|
-
//
|
|
13879
|
-
//
|
|
13880
|
-
//
|
|
13881
|
-
//
|
|
13882
|
-
//
|
|
13883
|
-
//
|
|
13884
|
-
//
|
|
13885
|
-
//
|
|
13886
|
-
//
|
|
13887
|
-
//
|
|
13888
|
-
//
|
|
13889
|
-
//
|
|
13890
|
-
//
|
|
13891
|
-
//
|
|
13892
|
-
//
|
|
13893
|
-
//
|
|
13894
|
-
//
|
|
13895
|
-
//
|
|
13896
|
-
//
|
|
13897
|
-
//
|
|
13898
|
-
//
|
|
13899
|
-
//
|
|
13900
|
-
//
|
|
13901
|
-
//
|
|
13902
|
-
//
|
|
13903
|
-
//
|
|
13904
|
-
//
|
|
13905
|
-
//
|
|
13906
|
-
//
|
|
13907
|
-
//
|
|
13908
|
-
//
|
|
13909
|
-
//
|
|
13910
|
-
//
|
|
13911
|
-
//
|
|
13912
|
-
//
|
|
13913
|
-
//
|
|
13914
|
-
//
|
|
13915
|
-
//
|
|
13916
|
-
//
|
|
13917
|
-
//
|
|
13918
|
-
//
|
|
13919
|
-
//
|
|
13920
|
-
//
|
|
13921
|
-
//
|
|
13922
|
-
//
|
|
13923
|
-
//
|
|
13924
|
-
//
|
|
13925
|
-
//
|
|
13926
|
-
//
|
|
13927
|
-
//
|
|
13928
|
-
//
|
|
13929
|
-
//
|
|
13930
|
-
//
|
|
13931
|
-
//
|
|
13932
14539
|
|
|
13933
14540
|
/* eslint-disable no-alert, no-console */
|
|
13934
14541
|
|
|
@@ -13939,9 +14546,9 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
13939
14546
|
external_vue_default.a.use(lib_container_default.a);
|
|
13940
14547
|
external_vue_default.a.use(lib_header_default.a);
|
|
13941
14548
|
external_vue_default.a.use(lib_icon_default.a);
|
|
13942
|
-
external_vue_default.a.use(lib_main_default.a);
|
|
13943
|
-
|
|
14549
|
+
external_vue_default.a.use(lib_main_default.a);
|
|
13944
14550
|
|
|
14551
|
+
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
13945
14552
|
|
|
13946
14553
|
|
|
13947
14554
|
var _titleCase = function titleCase(str) {
|
|
@@ -13949,14 +14556,13 @@ var _titleCase = function titleCase(str) {
|
|
|
13949
14556
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
13950
14557
|
});
|
|
13951
14558
|
};
|
|
13952
|
-
|
|
13953
14559
|
var inArray = function inArray(ar1, ar2) {
|
|
13954
14560
|
var as1 = JSON.stringify(ar1);
|
|
13955
14561
|
var as2 = JSON.stringify(ar2);
|
|
13956
14562
|
return as1.indexOf(as2) !== -1;
|
|
13957
|
-
};
|
|
13958
|
-
|
|
14563
|
+
};
|
|
13959
14564
|
|
|
14565
|
+
// remove duplicates by stringifying the objects
|
|
13960
14566
|
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
13961
14567
|
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
13962
14568
|
return JSON.stringify(e);
|
|
@@ -13964,12 +14570,10 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
|
|
|
13964
14570
|
return JSON.parse(e);
|
|
13965
14571
|
});
|
|
13966
14572
|
};
|
|
13967
|
-
|
|
13968
14573
|
var _capitalise = function capitalise(str) {
|
|
13969
14574
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
13970
14575
|
return "";
|
|
13971
14576
|
};
|
|
13972
|
-
|
|
13973
14577
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
13974
14578
|
components: {
|
|
13975
14579
|
PubmedViewer: PubmedViewer
|
|
@@ -14070,10 +14674,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14070
14674
|
},
|
|
14071
14675
|
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
14072
14676
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14073
|
-
|
|
14074
14677
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
14678
|
var found = [];
|
|
14078
14679
|
nodes.forEach(function (n) {
|
|
14079
14680
|
if (Array.isArray(n)) {
|
|
@@ -14086,10 +14687,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14086
14687
|
},
|
|
14087
14688
|
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14088
14689
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14089
|
-
|
|
14090
14690
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
14691
|
var found = [];
|
|
14094
14692
|
nodes.forEach(function (n) {
|
|
14095
14693
|
if (Array.isArray(n)) {
|
|
@@ -14102,21 +14700,18 @@ var _capitalise = function capitalise(str) {
|
|
|
14102
14700
|
},
|
|
14103
14701
|
findComponents: function findComponents(connectivity) {
|
|
14104
14702
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14105
|
-
|
|
14106
14703
|
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14107
14704
|
var found = [];
|
|
14108
14705
|
var terminal = false;
|
|
14109
14706
|
nodes.forEach(function (node) {
|
|
14110
|
-
terminal = false;
|
|
14111
|
-
|
|
14707
|
+
terminal = false;
|
|
14708
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14112
14709
|
if (inArray(connectivity.axons, node)) {
|
|
14113
14710
|
terminal = true;
|
|
14114
14711
|
}
|
|
14115
|
-
|
|
14116
14712
|
if (inArray(connectivity.dendrites, node)) {
|
|
14117
14713
|
terminal = true;
|
|
14118
14714
|
}
|
|
14119
|
-
|
|
14120
14715
|
if (!terminal) {
|
|
14121
14716
|
found.push(node);
|
|
14122
14717
|
}
|
|
@@ -14125,7 +14720,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14125
14720
|
},
|
|
14126
14721
|
getOrganCuries: function getOrganCuries() {
|
|
14127
14722
|
var _this = this;
|
|
14128
|
-
|
|
14129
14723
|
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
14130
14724
|
return response.json();
|
|
14131
14725
|
}).then(function (data) {
|
|
@@ -14134,7 +14728,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14134
14728
|
},
|
|
14135
14729
|
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
14136
14730
|
var sql = 'select knowledge from knowledge where entity in (';
|
|
14137
|
-
|
|
14138
14731
|
if (keastIds.length === 1) {
|
|
14139
14732
|
sql += "'".concat(keastIds[0], "')");
|
|
14140
14733
|
} else if (keastIds.length > 1) {
|
|
@@ -14142,12 +14735,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14142
14735
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14143
14736
|
}
|
|
14144
14737
|
}
|
|
14145
|
-
|
|
14146
14738
|
return sql;
|
|
14147
14739
|
},
|
|
14148
14740
|
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14149
14741
|
var sql = 'select entity, label from labels where entity in (';
|
|
14150
|
-
|
|
14151
14742
|
if (uberons.length === 1) {
|
|
14152
14743
|
sql += "'".concat(uberons[0], "')");
|
|
14153
14744
|
} else if (uberons.length > 1) {
|
|
@@ -14155,12 +14746,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14155
14746
|
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14156
14747
|
}
|
|
14157
14748
|
}
|
|
14158
|
-
|
|
14159
14749
|
return sql;
|
|
14160
14750
|
},
|
|
14161
14751
|
createLabelLookup: function createLabelLookup(uberons) {
|
|
14162
14752
|
var _this2 = this;
|
|
14163
|
-
|
|
14164
14753
|
return new Promise(function (resolve) {
|
|
14165
14754
|
var uberonMap = {};
|
|
14166
14755
|
var data = {
|
|
@@ -14177,24 +14766,20 @@ var _capitalise = function capitalise(str) {
|
|
|
14177
14766
|
}).then(function (payload) {
|
|
14178
14767
|
var entity = payload.keys.indexOf("entity");
|
|
14179
14768
|
var label = payload.keys.indexOf("label");
|
|
14180
|
-
|
|
14181
14769
|
if (entity > -1 && label > -1) {
|
|
14182
14770
|
payload.values.forEach(function (pair) {
|
|
14183
14771
|
uberonMap[pair[entity]] = pair[label];
|
|
14184
14772
|
});
|
|
14185
14773
|
}
|
|
14186
|
-
|
|
14187
14774
|
resolve(uberonMap);
|
|
14188
14775
|
});
|
|
14189
14776
|
});
|
|
14190
14777
|
},
|
|
14191
14778
|
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14192
14779
|
var _this3 = this;
|
|
14193
|
-
|
|
14194
14780
|
var labelList = [];
|
|
14195
14781
|
components.forEach(function (n) {
|
|
14196
14782
|
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14197
|
-
|
|
14198
14783
|
if (n.length === 2) {
|
|
14199
14784
|
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14200
14785
|
}
|
|
@@ -14203,7 +14788,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14203
14788
|
},
|
|
14204
14789
|
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14205
14790
|
var label = lookUp[node[0]];
|
|
14206
|
-
|
|
14207
14791
|
if (node.length === 2 && node[1].length > 0) {
|
|
14208
14792
|
node[1].forEach(function (n) {
|
|
14209
14793
|
if (lookUp[n] == undefined) {
|
|
@@ -14213,20 +14797,21 @@ var _capitalise = function capitalise(str) {
|
|
|
14213
14797
|
}
|
|
14214
14798
|
});
|
|
14215
14799
|
}
|
|
14216
|
-
|
|
14217
14800
|
return label;
|
|
14218
14801
|
},
|
|
14219
14802
|
processConnectivity: function processConnectivity(connectivity) {
|
|
14220
14803
|
var _this4 = this;
|
|
14221
|
-
|
|
14222
14804
|
// Filter the origin and destinations from components
|
|
14223
|
-
var components = this.findComponents(connectivity);
|
|
14805
|
+
var components = this.findComponents(connectivity);
|
|
14224
14806
|
|
|
14807
|
+
// Remove duplicates
|
|
14225
14808
|
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14226
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14809
|
+
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14227
14810
|
|
|
14228
|
-
|
|
14811
|
+
// Create list of ids to get labels for
|
|
14812
|
+
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14229
14813
|
|
|
14814
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14230
14815
|
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14231
14816
|
_this4.destinations = axons.map(function (a) {
|
|
14232
14817
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
@@ -14244,8 +14829,9 @@ var _capitalise = function capitalise(str) {
|
|
|
14244
14829
|
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14245
14830
|
var componentsFlat = this.flattenConntectivity(components);
|
|
14246
14831
|
var axonsFlat = this.flattenConntectivity(axons);
|
|
14247
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14832
|
+
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14248
14833
|
|
|
14834
|
+
// Filter for the anatomy which is annotated on datasets
|
|
14249
14835
|
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14250
14836
|
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14251
14837
|
});
|
|
@@ -14258,7 +14844,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14258
14844
|
},
|
|
14259
14845
|
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14260
14846
|
var _this5 = this;
|
|
14261
|
-
|
|
14262
14847
|
this.destinations = [];
|
|
14263
14848
|
this.origins = [];
|
|
14264
14849
|
this.components = [];
|
|
@@ -14277,9 +14862,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14277
14862
|
return response.json();
|
|
14278
14863
|
}).then(function (data) {
|
|
14279
14864
|
var connectivity = JSON.parse(data.values[0][0]);
|
|
14280
|
-
|
|
14281
14865
|
_this5.processConnectivity(connectivity);
|
|
14282
|
-
|
|
14283
14866
|
_this5.loading = false;
|
|
14284
14867
|
}).catch(function (error) {
|
|
14285
14868
|
console.error('Error:', error);
|
|
@@ -14289,8 +14872,8 @@ var _capitalise = function capitalise(str) {
|
|
|
14289
14872
|
});
|
|
14290
14873
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14291
14874
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14292
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&scoped=true&lang=scss&
|
|
14293
|
-
var
|
|
14875
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&prod&scoped=true&lang=scss&
|
|
14876
|
+
var Tooltipvue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss_ = __webpack_require__("b64b");
|
|
14294
14877
|
|
|
14295
14878
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14296
14879
|
|
|
@@ -14316,362 +14899,158 @@ var Tooltip_component = normalizeComponent(
|
|
|
14316
14899
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
14317
14900
|
var svg_sprite_ = __webpack_require__("429c");
|
|
14318
14901
|
|
|
14319
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14320
|
-
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function () {
|
|
14321
|
-
var
|
|
14322
|
-
|
|
14902
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4715a64c-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/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
|
|
14903
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function render() {
|
|
14904
|
+
var _vm = this,
|
|
14905
|
+
_c = _vm._self._c;
|
|
14906
|
+
return _c('div', {
|
|
14907
|
+
staticClass: "legends-container"
|
|
14908
|
+
}, [_c('svg', {
|
|
14909
|
+
staticStyle: {
|
|
14910
|
+
"enable-background": "new 0 0 500 500"
|
|
14911
|
+
},
|
|
14912
|
+
attrs: {
|
|
14913
|
+
"version": "1.1",
|
|
14914
|
+
"id": "Layer_1",
|
|
14915
|
+
"x": "0px",
|
|
14916
|
+
"y": "0px",
|
|
14917
|
+
"viewBox": "0 0 500 500",
|
|
14918
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14919
|
+
"xmlns:bx": "https://boxy-svg.com"
|
|
14920
|
+
}
|
|
14921
|
+
}, [_c('defs', [_c('bx:grid', {
|
|
14922
|
+
attrs: {
|
|
14923
|
+
"height": "30.447",
|
|
14924
|
+
"width": "32.516",
|
|
14925
|
+
"x": "0",
|
|
14926
|
+
"y": "0"
|
|
14927
|
+
}
|
|
14928
|
+
})], 1), _c('path', {
|
|
14929
|
+
staticClass: "st0 st0-translate",
|
|
14930
|
+
attrs: {
|
|
14931
|
+
"d": "M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"
|
|
14932
|
+
}
|
|
14933
|
+
}), _c('path', {
|
|
14934
|
+
staticClass: "st1",
|
|
14935
|
+
attrs: {
|
|
14936
|
+
"d": "M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"
|
|
14937
|
+
}
|
|
14938
|
+
}), _c('path', {
|
|
14939
|
+
staticClass: "st2",
|
|
14940
|
+
attrs: {
|
|
14941
|
+
"d": "M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"
|
|
14942
|
+
}
|
|
14943
|
+
}), _c('text', {
|
|
14944
|
+
staticClass: "st3 st4 st5",
|
|
14945
|
+
staticStyle: {
|
|
14946
|
+
"white-space": "pre"
|
|
14947
|
+
},
|
|
14948
|
+
attrs: {
|
|
14949
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
14950
|
+
}
|
|
14951
|
+
}, [_vm._v("Tissue region")]), _c('path', {
|
|
14952
|
+
staticClass: "st6",
|
|
14953
|
+
attrs: {
|
|
14954
|
+
"d": "M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"
|
|
14955
|
+
}
|
|
14956
|
+
}), _c('text', {
|
|
14957
|
+
staticClass: "st3 st4 st5",
|
|
14958
|
+
staticStyle: {
|
|
14959
|
+
"white-space": "pre"
|
|
14960
|
+
},
|
|
14961
|
+
attrs: {
|
|
14962
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
14963
|
+
}
|
|
14964
|
+
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
14965
|
+
staticClass: "st3 st4 st5",
|
|
14966
|
+
staticStyle: {
|
|
14967
|
+
"white-space": "pre"
|
|
14968
|
+
},
|
|
14969
|
+
attrs: {
|
|
14970
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
14971
|
+
}
|
|
14972
|
+
}, [_vm._v("Ganglia")]), _c('text', {
|
|
14973
|
+
staticClass: "st3 st4 st5",
|
|
14974
|
+
staticStyle: {
|
|
14975
|
+
"white-space": "pre"
|
|
14976
|
+
},
|
|
14977
|
+
attrs: {
|
|
14978
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
14979
|
+
}
|
|
14980
|
+
}, [_vm._v("Nerve plexus")])])]);
|
|
14981
|
+
};
|
|
14982
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = [];
|
|
14323
14983
|
|
|
14324
14984
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
|
|
14325
14985
|
|
|
14326
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14327
|
-
//
|
|
14328
|
-
//
|
|
14329
|
-
//
|
|
14330
|
-
//
|
|
14331
|
-
//
|
|
14332
|
-
//
|
|
14333
|
-
//
|
|
14334
|
-
//
|
|
14335
|
-
//
|
|
14336
|
-
//
|
|
14337
|
-
//
|
|
14338
|
-
//
|
|
14339
|
-
//
|
|
14340
|
-
//
|
|
14341
|
-
//
|
|
14342
|
-
//
|
|
14343
|
-
//
|
|
14344
|
-
//
|
|
14345
|
-
//
|
|
14346
|
-
//
|
|
14347
|
-
//
|
|
14348
|
-
//
|
|
14986
|
+
// 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/Legends.vue?vue&type=script&lang=js&
|
|
14349
14987
|
/* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
|
|
14350
14988
|
name: 'SvgLegends'
|
|
14351
14989
|
});
|
|
14352
|
-
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
14353
|
-
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
14354
|
-
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&scoped=true&lang=scss&
|
|
14355
|
-
var
|
|
14356
|
-
|
|
14357
|
-
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
|
|
14364
|
-
/* normalize component */
|
|
14365
|
-
|
|
14366
|
-
var Legends_component = normalizeComponent(
|
|
14367
|
-
legends_Legendsvue_type_script_lang_js_,
|
|
14368
|
-
Legendsvue_type_template_id_514dd6be_scoped_true_render,
|
|
14369
|
-
Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns,
|
|
14370
|
-
false,
|
|
14371
|
-
null,
|
|
14372
|
-
"514dd6be",
|
|
14373
|
-
null
|
|
14374
|
-
|
|
14375
|
-
)
|
|
14376
|
-
|
|
14377
|
-
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
14378
|
-
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
14379
|
-
/* 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>');
|
|
14380
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14385
|
-
|
|
14386
|
-
|
|
14387
|
-
|
|
14388
|
-
|
|
14389
|
-
|
|
14390
|
-
|
|
14391
|
-
|
|
14392
|
-
|
|
14393
|
-
|
|
14394
|
-
|
|
14395
|
-
|
|
14396
|
-
|
|
14397
|
-
|
|
14398
|
-
|
|
14399
|
-
|
|
14400
|
-
|
|
14401
|
-
|
|
14402
|
-
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14413
|
-
|
|
14414
|
-
|
|
14415
|
-
|
|
14416
|
-
|
|
14417
|
-
//
|
|
14418
|
-
//
|
|
14419
|
-
//
|
|
14420
|
-
//
|
|
14421
|
-
//
|
|
14422
|
-
//
|
|
14423
|
-
//
|
|
14424
|
-
//
|
|
14425
|
-
//
|
|
14426
|
-
//
|
|
14427
|
-
//
|
|
14428
|
-
//
|
|
14429
|
-
//
|
|
14430
|
-
//
|
|
14431
|
-
//
|
|
14432
|
-
//
|
|
14433
|
-
//
|
|
14434
|
-
//
|
|
14435
|
-
//
|
|
14436
|
-
//
|
|
14437
|
-
//
|
|
14438
|
-
//
|
|
14439
|
-
//
|
|
14440
|
-
//
|
|
14441
|
-
//
|
|
14442
|
-
//
|
|
14443
|
-
//
|
|
14444
|
-
//
|
|
14445
|
-
//
|
|
14446
|
-
//
|
|
14447
|
-
//
|
|
14448
|
-
//
|
|
14449
|
-
//
|
|
14450
|
-
//
|
|
14451
|
-
//
|
|
14452
|
-
//
|
|
14453
|
-
//
|
|
14454
|
-
//
|
|
14455
|
-
//
|
|
14456
|
-
//
|
|
14457
|
-
//
|
|
14458
|
-
//
|
|
14459
|
-
//
|
|
14460
|
-
//
|
|
14461
|
-
//
|
|
14462
|
-
//
|
|
14463
|
-
//
|
|
14464
|
-
//
|
|
14465
|
-
//
|
|
14466
|
-
//
|
|
14467
|
-
//
|
|
14468
|
-
//
|
|
14469
|
-
//
|
|
14470
|
-
//
|
|
14471
|
-
//
|
|
14472
|
-
//
|
|
14473
|
-
//
|
|
14474
|
-
//
|
|
14475
|
-
//
|
|
14476
|
-
//
|
|
14477
|
-
//
|
|
14478
|
-
//
|
|
14479
|
-
//
|
|
14480
|
-
//
|
|
14481
|
-
//
|
|
14482
|
-
//
|
|
14483
|
-
//
|
|
14484
|
-
//
|
|
14485
|
-
//
|
|
14486
|
-
//
|
|
14487
|
-
//
|
|
14488
|
-
//
|
|
14489
|
-
//
|
|
14490
|
-
//
|
|
14491
|
-
//
|
|
14492
|
-
//
|
|
14493
|
-
//
|
|
14494
|
-
//
|
|
14495
|
-
//
|
|
14496
|
-
//
|
|
14497
|
-
//
|
|
14498
|
-
//
|
|
14499
|
-
//
|
|
14500
|
-
//
|
|
14501
|
-
//
|
|
14502
|
-
//
|
|
14503
|
-
//
|
|
14504
|
-
//
|
|
14505
|
-
//
|
|
14506
|
-
//
|
|
14507
|
-
//
|
|
14508
|
-
//
|
|
14509
|
-
//
|
|
14510
|
-
//
|
|
14511
|
-
//
|
|
14512
|
-
//
|
|
14513
|
-
//
|
|
14514
|
-
//
|
|
14515
|
-
//
|
|
14516
|
-
//
|
|
14517
|
-
//
|
|
14518
|
-
//
|
|
14519
|
-
//
|
|
14520
|
-
//
|
|
14521
|
-
//
|
|
14522
|
-
//
|
|
14523
|
-
//
|
|
14524
|
-
//
|
|
14525
|
-
//
|
|
14526
|
-
//
|
|
14527
|
-
//
|
|
14528
|
-
//
|
|
14529
|
-
//
|
|
14530
|
-
//
|
|
14531
|
-
//
|
|
14532
|
-
//
|
|
14533
|
-
//
|
|
14534
|
-
//
|
|
14535
|
-
//
|
|
14536
|
-
//
|
|
14537
|
-
//
|
|
14538
|
-
//
|
|
14539
|
-
//
|
|
14540
|
-
//
|
|
14541
|
-
//
|
|
14542
|
-
//
|
|
14543
|
-
//
|
|
14544
|
-
//
|
|
14545
|
-
//
|
|
14546
|
-
//
|
|
14547
|
-
//
|
|
14548
|
-
//
|
|
14549
|
-
//
|
|
14550
|
-
//
|
|
14551
|
-
//
|
|
14552
|
-
//
|
|
14553
|
-
//
|
|
14554
|
-
//
|
|
14555
|
-
//
|
|
14556
|
-
//
|
|
14557
|
-
//
|
|
14558
|
-
//
|
|
14559
|
-
//
|
|
14560
|
-
//
|
|
14561
|
-
//
|
|
14562
|
-
//
|
|
14563
|
-
//
|
|
14564
|
-
//
|
|
14565
|
-
//
|
|
14566
|
-
//
|
|
14567
|
-
//
|
|
14568
|
-
//
|
|
14569
|
-
//
|
|
14570
|
-
//
|
|
14571
|
-
//
|
|
14572
|
-
//
|
|
14573
|
-
//
|
|
14574
|
-
//
|
|
14575
|
-
//
|
|
14576
|
-
//
|
|
14577
|
-
//
|
|
14578
|
-
//
|
|
14579
|
-
//
|
|
14580
|
-
//
|
|
14581
|
-
//
|
|
14582
|
-
//
|
|
14583
|
-
//
|
|
14584
|
-
//
|
|
14585
|
-
//
|
|
14586
|
-
//
|
|
14587
|
-
//
|
|
14588
|
-
//
|
|
14589
|
-
//
|
|
14590
|
-
//
|
|
14591
|
-
//
|
|
14592
|
-
//
|
|
14593
|
-
//
|
|
14594
|
-
//
|
|
14595
|
-
//
|
|
14596
|
-
//
|
|
14597
|
-
//
|
|
14598
|
-
//
|
|
14599
|
-
//
|
|
14600
|
-
//
|
|
14601
|
-
//
|
|
14602
|
-
//
|
|
14603
|
-
//
|
|
14604
|
-
//
|
|
14605
|
-
//
|
|
14606
|
-
//
|
|
14607
|
-
//
|
|
14608
|
-
//
|
|
14609
|
-
//
|
|
14610
|
-
//
|
|
14611
|
-
//
|
|
14612
|
-
//
|
|
14613
|
-
//
|
|
14614
|
-
//
|
|
14615
|
-
//
|
|
14616
|
-
//
|
|
14617
|
-
//
|
|
14618
|
-
//
|
|
14619
|
-
//
|
|
14620
|
-
//
|
|
14621
|
-
//
|
|
14622
|
-
//
|
|
14623
|
-
//
|
|
14624
|
-
//
|
|
14625
|
-
//
|
|
14626
|
-
//
|
|
14627
|
-
//
|
|
14628
|
-
//
|
|
14629
|
-
//
|
|
14630
|
-
//
|
|
14631
|
-
//
|
|
14632
|
-
//
|
|
14633
|
-
//
|
|
14634
|
-
//
|
|
14635
|
-
//
|
|
14636
|
-
//
|
|
14637
|
-
//
|
|
14638
|
-
//
|
|
14639
|
-
//
|
|
14640
|
-
//
|
|
14641
|
-
//
|
|
14642
|
-
//
|
|
14643
|
-
//
|
|
14644
|
-
//
|
|
14645
|
-
//
|
|
14646
|
-
//
|
|
14647
|
-
//
|
|
14648
|
-
//
|
|
14649
|
-
//
|
|
14650
|
-
//
|
|
14651
|
-
//
|
|
14652
|
-
//
|
|
14653
|
-
//
|
|
14654
|
-
//
|
|
14655
|
-
//
|
|
14656
|
-
//
|
|
14657
|
-
//
|
|
14658
|
-
//
|
|
14659
|
-
//
|
|
14660
|
-
//
|
|
14661
|
-
//
|
|
14662
|
-
//
|
|
14663
|
-
//
|
|
14664
|
-
//
|
|
14665
|
-
//
|
|
14666
|
-
//
|
|
14667
|
-
//
|
|
14668
|
-
//
|
|
14669
|
-
//
|
|
14670
|
-
//
|
|
14671
|
-
//
|
|
14672
|
-
//
|
|
14673
|
-
//
|
|
14674
|
-
//
|
|
14990
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
14991
|
+
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
14992
|
+
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&prod&scoped=true&lang=scss&
|
|
14993
|
+
var Legendsvue_type_style_index_0_id_514dd6be_prod_scoped_true_lang_scss_ = __webpack_require__("318c");
|
|
14994
|
+
|
|
14995
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
14996
|
+
|
|
14997
|
+
|
|
14998
|
+
|
|
14999
|
+
|
|
15000
|
+
|
|
15001
|
+
|
|
15002
|
+
/* normalize component */
|
|
15003
|
+
|
|
15004
|
+
var Legends_component = normalizeComponent(
|
|
15005
|
+
legends_Legendsvue_type_script_lang_js_,
|
|
15006
|
+
Legendsvue_type_template_id_514dd6be_scoped_true_render,
|
|
15007
|
+
Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns,
|
|
15008
|
+
false,
|
|
15009
|
+
null,
|
|
15010
|
+
"514dd6be",
|
|
15011
|
+
null
|
|
15012
|
+
|
|
15013
|
+
)
|
|
15014
|
+
|
|
15015
|
+
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
15016
|
+
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15017
|
+
/* 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>');
|
|
15018
|
+
// 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&
|
|
15019
|
+
|
|
15020
|
+
|
|
15021
|
+
|
|
15022
|
+
|
|
15023
|
+
|
|
15024
|
+
|
|
15025
|
+
|
|
15026
|
+
|
|
15027
|
+
|
|
15028
|
+
|
|
15029
|
+
|
|
15030
|
+
|
|
15031
|
+
|
|
15032
|
+
|
|
15033
|
+
|
|
15034
|
+
|
|
15035
|
+
|
|
15036
|
+
|
|
15037
|
+
|
|
15038
|
+
|
|
15039
|
+
|
|
15040
|
+
|
|
15041
|
+
|
|
15042
|
+
|
|
15043
|
+
|
|
15044
|
+
|
|
15045
|
+
|
|
15046
|
+
|
|
15047
|
+
|
|
15048
|
+
|
|
15049
|
+
|
|
15050
|
+
|
|
15051
|
+
|
|
15052
|
+
|
|
15053
|
+
|
|
14675
15054
|
|
|
14676
15055
|
/* eslint-disable no-alert, no-console */
|
|
14677
15056
|
|
|
@@ -14689,15 +15068,12 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
14689
15068
|
external_vue_default.a.use(lib_radio_default.a);
|
|
14690
15069
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
14691
15070
|
external_vue_default.a.use(lib_row_default.a);
|
|
14692
|
-
|
|
14693
15071
|
var ResizeSensor = __webpack_require__("ae66");
|
|
14694
|
-
|
|
14695
15072
|
var mapResize = function mapResize(map) {
|
|
14696
15073
|
return function () {
|
|
14697
15074
|
if (map) map.resize();
|
|
14698
15075
|
};
|
|
14699
15076
|
};
|
|
14700
|
-
|
|
14701
15077
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
14702
15078
|
name: "FlatmapVuer",
|
|
14703
15079
|
components: {
|
|
@@ -14712,12 +15088,11 @@ var mapResize = function mapResize(map) {
|
|
|
14712
15088
|
},
|
|
14713
15089
|
methods: {
|
|
14714
15090
|
viewLatestMap: function viewLatestMap() {
|
|
14715
|
-
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
14716
|
-
|
|
15091
|
+
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
15092
|
+
//Human requires special handling
|
|
14717
15093
|
if (this.entry === "NCBITaxon:9606") {
|
|
14718
15094
|
biologicalSex = "PATO:0000384";
|
|
14719
15095
|
}
|
|
14720
|
-
|
|
14721
15096
|
var state = {
|
|
14722
15097
|
entry: this.entry,
|
|
14723
15098
|
biologicalSex: biologicalSex,
|
|
@@ -14727,7 +15102,6 @@ var mapResize = function mapResize(map) {
|
|
|
14727
15102
|
},
|
|
14728
15103
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
14729
15104
|
this.currentBackground = colour;
|
|
14730
|
-
|
|
14731
15105
|
if (this.mapImp) {
|
|
14732
15106
|
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
14733
15107
|
}
|
|
@@ -14735,13 +15109,11 @@ var mapResize = function mapResize(map) {
|
|
|
14735
15109
|
toggleDrawer: function toggleDrawer() {
|
|
14736
15110
|
this.drawerOpen = !this.drawerOpen;
|
|
14737
15111
|
},
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
* Function to toggle colour/greyscale of organs.
|
|
15112
|
+
/**
|
|
15113
|
+
* Function to toggle colour/greyscale of organs.
|
|
14741
15114
|
*/
|
|
14742
15115
|
setColour: function setColour(flag) {
|
|
14743
15116
|
this.colourRadio = flag;
|
|
14744
|
-
|
|
14745
15117
|
if (this.mapImp) {
|
|
14746
15118
|
this.mapImp.setColour({
|
|
14747
15119
|
colour: flag,
|
|
@@ -14749,13 +15121,11 @@ var mapResize = function mapResize(map) {
|
|
|
14749
15121
|
});
|
|
14750
15122
|
}
|
|
14751
15123
|
},
|
|
14752
|
-
|
|
14753
|
-
|
|
14754
|
-
* Function to toggle outlines f organs.
|
|
15124
|
+
/**
|
|
15125
|
+
* Function to toggle outlines f organs.
|
|
14755
15126
|
*/
|
|
14756
15127
|
setOutlines: function setOutlines(flag) {
|
|
14757
15128
|
this.outlineRadio = flag;
|
|
14758
|
-
|
|
14759
15129
|
if (this.mapImp) {
|
|
14760
15130
|
this.mapImp.setColour({
|
|
14761
15131
|
colour: this.colourRadio,
|
|
@@ -14763,10 +15133,9 @@ var mapResize = function mapResize(map) {
|
|
|
14763
15133
|
});
|
|
14764
15134
|
}
|
|
14765
15135
|
},
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
*
|
|
14769
|
-
* Also called when the associated button is pressed.
|
|
15136
|
+
/**
|
|
15137
|
+
* Function to toggle paths to default.
|
|
15138
|
+
* Also called when the associated button is pressed.
|
|
14770
15139
|
*/
|
|
14771
15140
|
resetView: function resetView() {
|
|
14772
15141
|
if (this.mapImp) {
|
|
@@ -14778,20 +15147,18 @@ var mapResize = function mapResize(map) {
|
|
|
14778
15147
|
this.checkAll = true;
|
|
14779
15148
|
}
|
|
14780
15149
|
},
|
|
14781
|
-
|
|
14782
|
-
|
|
14783
|
-
*
|
|
14784
|
-
* Also called when the associated button is pressed.
|
|
15150
|
+
/**
|
|
15151
|
+
* Function to zoom in.
|
|
15152
|
+
* Also called when the associated button is pressed.
|
|
14785
15153
|
*/
|
|
14786
15154
|
zoomIn: function zoomIn() {
|
|
14787
15155
|
if (this.mapImp) {
|
|
14788
15156
|
this.mapImp.zoomIn();
|
|
14789
15157
|
}
|
|
14790
15158
|
},
|
|
14791
|
-
|
|
14792
|
-
|
|
14793
|
-
*
|
|
14794
|
-
* Also called when the associated button is pressed.
|
|
15159
|
+
/**
|
|
15160
|
+
* Function to zoom out.
|
|
15161
|
+
* Also called when the associated button is pressed.
|
|
14795
15162
|
*/
|
|
14796
15163
|
zoomOut: function zoomOut() {
|
|
14797
15164
|
if (this.mapImp) {
|
|
@@ -14813,7 +15180,6 @@ var mapResize = function mapResize(map) {
|
|
|
14813
15180
|
return a.type;
|
|
14814
15181
|
}) : [];
|
|
14815
15182
|
this.isIndeterminate = false;
|
|
14816
|
-
|
|
14817
15183
|
if (this.mapImp) {
|
|
14818
15184
|
this.mapImp.showPaths(this.checkedItems);
|
|
14819
15185
|
}
|
|
@@ -14823,18 +15189,15 @@ var mapResize = function mapResize(map) {
|
|
|
14823
15189
|
},
|
|
14824
15190
|
eventCallback: function eventCallback() {
|
|
14825
15191
|
var _this = this;
|
|
14826
|
-
|
|
14827
15192
|
return function (eventType, data) {
|
|
14828
15193
|
if (eventType !== "pan-zoom") {
|
|
14829
15194
|
var label = data.label;
|
|
14830
15195
|
var resource = [data.models];
|
|
14831
15196
|
var taxonomy = _this.entry;
|
|
14832
15197
|
var biologicalSex = _this.biologicalSex;
|
|
14833
|
-
|
|
14834
15198
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
14835
15199
|
args[_key - 2] = arguments[_key];
|
|
14836
15200
|
}
|
|
14837
|
-
|
|
14838
15201
|
var payload = {
|
|
14839
15202
|
dataset: data.dataset,
|
|
14840
15203
|
biologicalSex: biologicalSex,
|
|
@@ -14844,10 +15207,9 @@ var mapResize = function mapResize(map) {
|
|
|
14844
15207
|
feature: data,
|
|
14845
15208
|
userData: args,
|
|
14846
15209
|
eventType: eventType
|
|
14847
|
-
};
|
|
14848
|
-
|
|
15210
|
+
};
|
|
15211
|
+
// Disable the nueron pop up for now.
|
|
14849
15212
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
14850
|
-
|
|
14851
15213
|
_this.$emit("resource-selected", payload);
|
|
14852
15214
|
} else {
|
|
14853
15215
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -14871,7 +15233,6 @@ var mapResize = function mapResize(map) {
|
|
|
14871
15233
|
if (ftooltip) ftooltip.style.display = "none";
|
|
14872
15234
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
14873
15235
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
14874
|
-
|
|
14875
15236
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
14876
15237
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
14877
15238
|
};
|
|
@@ -14885,14 +15246,13 @@ var mapResize = function mapResize(map) {
|
|
|
14885
15246
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
14886
15247
|
return true;
|
|
14887
15248
|
}
|
|
14888
|
-
}
|
|
14889
|
-
|
|
14890
|
-
|
|
15249
|
+
}
|
|
15250
|
+
// annotated with datset check
|
|
14891
15251
|
if (data.dataset) {
|
|
14892
15252
|
return true;
|
|
14893
|
-
}
|
|
14894
|
-
|
|
15253
|
+
}
|
|
14895
15254
|
|
|
15255
|
+
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
14896
15256
|
return false;
|
|
14897
15257
|
},
|
|
14898
15258
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -14904,8 +15264,9 @@ var mapResize = function mapResize(map) {
|
|
|
14904
15264
|
distribution: undefined,
|
|
14905
15265
|
actions: []
|
|
14906
15266
|
};
|
|
14907
|
-
this.tooltipVisible = false;
|
|
15267
|
+
this.tooltipVisible = false;
|
|
14908
15268
|
|
|
15269
|
+
// neural data check
|
|
14909
15270
|
if (feature) {
|
|
14910
15271
|
if (feature.includes('ilxtr:neuron')) {
|
|
14911
15272
|
this.tooltipVisible = true;
|
|
@@ -14923,9 +15284,8 @@ var mapResize = function mapResize(map) {
|
|
|
14923
15284
|
nervePath: true
|
|
14924
15285
|
});
|
|
14925
15286
|
}
|
|
14926
|
-
}
|
|
14927
|
-
|
|
14928
|
-
|
|
15287
|
+
}
|
|
15288
|
+
// annotated with datset check
|
|
14929
15289
|
if (data.dataset) {
|
|
14930
15290
|
this.tooltipVisible = true;
|
|
14931
15291
|
this.tooltipContent = content;
|
|
@@ -14944,7 +15304,6 @@ var mapResize = function mapResize(map) {
|
|
|
14944
15304
|
// Keeping this as an API
|
|
14945
15305
|
showPopup: function showPopup(featureId, node, options) {
|
|
14946
15306
|
var myOptions = options;
|
|
14947
|
-
|
|
14948
15307
|
if (this.mapImp) {
|
|
14949
15308
|
if (myOptions) {
|
|
14950
15309
|
if (!myOptions.className) myOptions.className = "custom-popup";
|
|
@@ -14954,7 +15313,6 @@ var mapResize = function mapResize(map) {
|
|
|
14954
15313
|
positionAtLastClick: true
|
|
14955
15314
|
};
|
|
14956
15315
|
}
|
|
14957
|
-
|
|
14958
15316
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
14959
15317
|
}
|
|
14960
15318
|
},
|
|
@@ -14965,7 +15323,6 @@ var mapResize = function mapResize(map) {
|
|
|
14965
15323
|
},
|
|
14966
15324
|
closeMinimap: function closeMinimap() {
|
|
14967
15325
|
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap'); // find minimap
|
|
14968
|
-
|
|
14969
15326
|
if (this.minimapSmall) {
|
|
14970
15327
|
//switch the classes on the minimap
|
|
14971
15328
|
minimapEl.classList.add('enlarge');
|
|
@@ -14974,7 +15331,6 @@ var mapResize = function mapResize(map) {
|
|
|
14974
15331
|
minimapEl.classList.add('shrink');
|
|
14975
15332
|
minimapEl.classList.remove('enlarge');
|
|
14976
15333
|
}
|
|
14977
|
-
|
|
14978
15334
|
this.minimapSmall = !this.minimapSmall;
|
|
14979
15335
|
},
|
|
14980
15336
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
@@ -15000,7 +15356,6 @@ var mapResize = function mapResize(map) {
|
|
|
15000
15356
|
},
|
|
15001
15357
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15002
15358
|
var _this2 = this;
|
|
15003
|
-
|
|
15004
15359
|
if (!this.inHelp) {
|
|
15005
15360
|
this.tooltipWait = setTimeout(function () {
|
|
15006
15361
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -15030,13 +15385,10 @@ var mapResize = function mapResize(map) {
|
|
|
15030
15385
|
},
|
|
15031
15386
|
getLabels: function getLabels() {
|
|
15032
15387
|
var labels = [];
|
|
15033
|
-
|
|
15034
15388
|
if (this.mapImp) {
|
|
15035
15389
|
var annotations = this.mapImp.annotations;
|
|
15036
|
-
|
|
15037
15390
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
15038
|
-
|
|
15039
|
-
|
|
15391
|
+
_step;
|
|
15040
15392
|
try {
|
|
15041
15393
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
15042
15394
|
var value = _step.value;
|
|
@@ -15047,7 +15399,6 @@ var mapResize = function mapResize(map) {
|
|
|
15047
15399
|
} finally {
|
|
15048
15400
|
_iterator.f();
|
|
15049
15401
|
}
|
|
15050
|
-
|
|
15051
15402
|
return Array.from(new Set(labels));
|
|
15052
15403
|
}
|
|
15053
15404
|
},
|
|
@@ -15062,7 +15413,6 @@ var mapResize = function mapResize(map) {
|
|
|
15062
15413
|
if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
|
|
15063
15414
|
return state;
|
|
15064
15415
|
}
|
|
15065
|
-
|
|
15066
15416
|
return undefined;
|
|
15067
15417
|
},
|
|
15068
15418
|
setState: function setState(state) {
|
|
@@ -15084,17 +15434,18 @@ var mapResize = function mapResize(map) {
|
|
|
15084
15434
|
},
|
|
15085
15435
|
createFlatmap: function createFlatmap(state) {
|
|
15086
15436
|
var _this3 = this;
|
|
15087
|
-
|
|
15088
15437
|
if (!this.mapImp && !this.loading) {
|
|
15089
15438
|
this.loading = true;
|
|
15090
15439
|
var minimap = false;
|
|
15091
|
-
|
|
15092
15440
|
if (this.displayMinimap) {
|
|
15093
15441
|
minimap = {
|
|
15094
15442
|
position: "top-right"
|
|
15095
15443
|
};
|
|
15096
|
-
}
|
|
15444
|
+
}
|
|
15445
|
+
|
|
15446
|
+
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
15097
15447
|
//for the identifier:
|
|
15448
|
+
|
|
15098
15449
|
//@arg identifier {string|Object}
|
|
15099
15450
|
// A string or object identifying the map to load. If a string its
|
|
15100
15451
|
// value can be either the map's ``uuid``, assigned at generation time,
|
|
@@ -15108,11 +15459,10 @@ var mapResize = function mapResize(map) {
|
|
|
15108
15459
|
// @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
|
|
15109
15460
|
// be loaded, overriding ``taxon`` and ``biologicalSex``.
|
|
15110
15461
|
|
|
15111
|
-
|
|
15112
15462
|
var identifier = {
|
|
15113
15463
|
taxon: this.entry
|
|
15114
|
-
};
|
|
15115
|
-
|
|
15464
|
+
};
|
|
15465
|
+
//This now handle the uses of uuid when resuming states
|
|
15116
15466
|
if (state) {
|
|
15117
15467
|
if (state.uuid) {
|
|
15118
15468
|
identifier = {
|
|
@@ -15120,7 +15470,6 @@ var mapResize = function mapResize(map) {
|
|
|
15120
15470
|
};
|
|
15121
15471
|
} else if (state.entry) {
|
|
15122
15472
|
identifier.taxon = state.entry;
|
|
15123
|
-
|
|
15124
15473
|
if (state.biologicalSex) {
|
|
15125
15474
|
identifier["biologicalSex"] = state.biologicalSex;
|
|
15126
15475
|
} else if (identifier.taxon === "NCBITaxon:9606") {
|
|
@@ -15135,7 +15484,6 @@ var mapResize = function mapResize(map) {
|
|
|
15135
15484
|
identifier["biologicalSex"] = this.biologicalSex;
|
|
15136
15485
|
}
|
|
15137
15486
|
}
|
|
15138
|
-
|
|
15139
15487
|
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
15140
15488
|
//fullscreenControl: false,
|
|
15141
15489
|
//annotatable: false,
|
|
@@ -15149,9 +15497,7 @@ var mapResize = function mapResize(map) {
|
|
|
15149
15497
|
});
|
|
15150
15498
|
promise1.then(function (returnedObject) {
|
|
15151
15499
|
_this3.mapImp = returnedObject;
|
|
15152
|
-
|
|
15153
15500
|
_this3.onFlatmapReady();
|
|
15154
|
-
|
|
15155
15501
|
if (_this3._stateToBeSet) _this3.restoreMapState(_this3._stateToBeSet);else {
|
|
15156
15502
|
_this3.restoreMapState(state);
|
|
15157
15503
|
}
|
|
@@ -15166,6 +15512,7 @@ var mapResize = function mapResize(map) {
|
|
|
15166
15512
|
},
|
|
15167
15513
|
onFlatmapReady: function onFlatmapReady() {
|
|
15168
15514
|
// onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
|
|
15515
|
+
|
|
15169
15516
|
this.sensor = new ResizeSensor(this.$refs.display, mapResize(this.mapImp));
|
|
15170
15517
|
this.mapImp.setBackgroundOpacity(1);
|
|
15171
15518
|
this.backgroundChangeCallback(this.currentBackground);
|
|
@@ -15180,10 +15527,9 @@ var mapResize = function mapResize(map) {
|
|
|
15180
15527
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
15181
15528
|
this.drawerOpen = flag;
|
|
15182
15529
|
},
|
|
15183
|
-
|
|
15184
|
-
|
|
15185
|
-
*
|
|
15186
|
-
* with the option to display the label using displayLabel flag.
|
|
15530
|
+
/**
|
|
15531
|
+
* Function to display features with annotation matching the provided term,
|
|
15532
|
+
* with the option to display the label using displayLabel flag.
|
|
15187
15533
|
*/
|
|
15188
15534
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
15189
15535
|
if (this.mapImp) {
|
|
@@ -15192,27 +15538,22 @@ var mapResize = function mapResize(map) {
|
|
|
15192
15538
|
return true;
|
|
15193
15539
|
} else {
|
|
15194
15540
|
var searchResults = this.mapImp.search(term);
|
|
15195
|
-
|
|
15196
15541
|
if (searchResults && searchResults.results && searchResults.results.length > 0) {
|
|
15197
15542
|
this.mapImp.showSearchResults(searchResults);
|
|
15198
|
-
|
|
15199
15543
|
if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
|
|
15200
15544
|
this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
|
|
15201
15545
|
className: "custom-popup",
|
|
15202
15546
|
positionAtLastClick: false
|
|
15203
15547
|
});
|
|
15204
15548
|
}
|
|
15205
|
-
|
|
15206
15549
|
return true;
|
|
15207
15550
|
} else this.mapImp.clearSearchResults();
|
|
15208
15551
|
}
|
|
15209
15552
|
}
|
|
15210
|
-
|
|
15211
15553
|
return false;
|
|
15212
15554
|
},
|
|
15213
|
-
|
|
15214
|
-
|
|
15215
|
-
* Get the list of suggested terms
|
|
15555
|
+
/**
|
|
15556
|
+
* Get the list of suggested terms
|
|
15216
15557
|
*/
|
|
15217
15558
|
searchSuggestions: function searchSuggestions(term) {
|
|
15218
15559
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -15277,17 +15618,15 @@ var mapResize = function mapResize(map) {
|
|
|
15277
15618
|
type: String,
|
|
15278
15619
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
15279
15620
|
},
|
|
15280
|
-
|
|
15281
|
-
|
|
15282
|
-
* State containing state of the flatmap.
|
|
15621
|
+
/**
|
|
15622
|
+
* State containing state of the flatmap.
|
|
15283
15623
|
*/
|
|
15284
15624
|
state: {
|
|
15285
15625
|
type: Object,
|
|
15286
15626
|
default: undefined
|
|
15287
15627
|
},
|
|
15288
|
-
|
|
15289
|
-
|
|
15290
|
-
* Specify the endpoint of the flatmap server.
|
|
15628
|
+
/**
|
|
15629
|
+
* Specify the endpoint of the flatmap server.
|
|
15291
15630
|
*/
|
|
15292
15631
|
flatmapAPI: {
|
|
15293
15632
|
type: String,
|
|
@@ -15359,15 +15698,14 @@ var mapResize = function mapResize(map) {
|
|
|
15359
15698
|
},
|
|
15360
15699
|
mounted: function mounted() {
|
|
15361
15700
|
var flatmap = __webpack_require__("4979");
|
|
15362
|
-
|
|
15363
15701
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
15364
15702
|
if (this.renderAtMounted) this.createFlatmap();
|
|
15365
15703
|
}
|
|
15366
15704
|
});
|
|
15367
15705
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15368
15706
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
15369
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
15370
|
-
var
|
|
15707
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=6c4be18e&prod&scoped=true&lang=scss&
|
|
15708
|
+
var FlatmapVuervue_type_style_index_0_id_6c4be18e_prod_scoped_true_lang_scss_ = __webpack_require__("3412");
|
|
15371
15709
|
|
|
15372
15710
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
15373
15711
|
|
|
@@ -15384,18 +15722,128 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
15384
15722
|
staticRenderFns,
|
|
15385
15723
|
false,
|
|
15386
15724
|
null,
|
|
15387
|
-
"
|
|
15725
|
+
"6c4be18e",
|
|
15388
15726
|
null
|
|
15389
15727
|
|
|
15390
15728
|
)
|
|
15391
15729
|
|
|
15392
15730
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
15393
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15394
|
-
var
|
|
15395
|
-
var
|
|
15396
|
-
|
|
15731
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4715a64c-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=0d8bc999&scoped=true&
|
|
15732
|
+
var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function render() {
|
|
15733
|
+
var _vm = this,
|
|
15734
|
+
_c = _vm._self._c;
|
|
15735
|
+
return _c('div', {
|
|
15736
|
+
ref: "multiContainer",
|
|
15737
|
+
staticClass: "multi-container"
|
|
15738
|
+
}, [_c('div', {
|
|
15739
|
+
staticStyle: {
|
|
15740
|
+
"position": "absolute",
|
|
15741
|
+
"z-index": "10"
|
|
15742
|
+
}
|
|
15743
|
+
}, [_c('div', {
|
|
15744
|
+
staticClass: "species-display-text"
|
|
15745
|
+
}, [_vm._v(" Species ")]), _c('el-popover', {
|
|
15746
|
+
ref: "selectPopover",
|
|
15747
|
+
attrs: {
|
|
15748
|
+
"content": "Select a species",
|
|
15749
|
+
"placement": "right",
|
|
15750
|
+
"appendToBody": false,
|
|
15751
|
+
"trigger": "manual",
|
|
15752
|
+
"popper-class": "flatmap-popper right-popper"
|
|
15753
|
+
},
|
|
15754
|
+
model: {
|
|
15755
|
+
value: _vm.helpMode,
|
|
15756
|
+
callback: function callback($$v) {
|
|
15757
|
+
_vm.helpMode = $$v;
|
|
15758
|
+
},
|
|
15759
|
+
expression: "helpMode"
|
|
15760
|
+
}
|
|
15761
|
+
}), _c('el-select', {
|
|
15762
|
+
directives: [{
|
|
15763
|
+
name: "popover",
|
|
15764
|
+
rawName: "v-popover:selectPopover",
|
|
15765
|
+
arg: "selectPopover"
|
|
15766
|
+
}],
|
|
15767
|
+
staticClass: "select-box",
|
|
15768
|
+
attrs: {
|
|
15769
|
+
"id": "flatmap-select",
|
|
15770
|
+
"popper-append-to-body": _vm.appendToBody,
|
|
15771
|
+
"placeholder": "Select",
|
|
15772
|
+
"popper-class": "flatmap_dropdown"
|
|
15773
|
+
},
|
|
15774
|
+
on: {
|
|
15775
|
+
"change": _vm.setSpecies
|
|
15776
|
+
},
|
|
15777
|
+
model: {
|
|
15778
|
+
value: _vm.activeSpecies,
|
|
15779
|
+
callback: function callback($$v) {
|
|
15780
|
+
_vm.activeSpecies = $$v;
|
|
15781
|
+
},
|
|
15782
|
+
expression: "activeSpecies"
|
|
15783
|
+
}
|
|
15784
|
+
}, _vm._l(_vm.speciesList, function (item, key) {
|
|
15785
|
+
return _c('el-option', {
|
|
15786
|
+
key: key,
|
|
15787
|
+
attrs: {
|
|
15788
|
+
"label": key,
|
|
15789
|
+
"value": key
|
|
15790
|
+
}
|
|
15791
|
+
}, [_c('el-row', [_c('el-col', {
|
|
15792
|
+
attrs: {
|
|
15793
|
+
"span": 8
|
|
15794
|
+
}
|
|
15795
|
+
}, [_c('i', {
|
|
15796
|
+
class: item.iconClass
|
|
15797
|
+
})]), _c('el-col', {
|
|
15798
|
+
attrs: {
|
|
15799
|
+
"span": 12
|
|
15800
|
+
}
|
|
15801
|
+
}, [_vm._v(_vm._s(key))])], 1)], 1);
|
|
15802
|
+
}), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
|
|
15803
|
+
return _c('FlatmapVuer', {
|
|
15804
|
+
directives: [{
|
|
15805
|
+
name: "show",
|
|
15806
|
+
rawName: "v-show",
|
|
15807
|
+
value: _vm.activeSpecies == key,
|
|
15808
|
+
expression: "activeSpecies==key"
|
|
15809
|
+
}],
|
|
15810
|
+
key: key,
|
|
15811
|
+
ref: key,
|
|
15812
|
+
refInFor: true,
|
|
15813
|
+
staticStyle: {
|
|
15814
|
+
"height": "100%"
|
|
15815
|
+
},
|
|
15816
|
+
attrs: {
|
|
15817
|
+
"showLayer": _vm.showLayer,
|
|
15818
|
+
"entry": item.taxo,
|
|
15819
|
+
"biologicalSex": item.biologicalSex,
|
|
15820
|
+
"displayWarning": item.displayWarning,
|
|
15821
|
+
"warningMessage": _vm.warningMessage,
|
|
15822
|
+
"displayLatestChanges": item.displayLatestChanges,
|
|
15823
|
+
"latestChangesMessage": item.latestChangesMessage,
|
|
15824
|
+
"isLegacy": item.isLegacy,
|
|
15825
|
+
"featureInfo": _vm.featureInfo,
|
|
15826
|
+
"minZoom": _vm.minZoom,
|
|
15827
|
+
"pathControls": _vm.pathControls,
|
|
15828
|
+
"searchable": _vm.searchable,
|
|
15829
|
+
"helpMode": _vm.helpMode,
|
|
15830
|
+
"renderAtMounted": _vm.renderAtMounted,
|
|
15831
|
+
"displayMinimap": _vm.displayMinimap,
|
|
15832
|
+
"flatmapAPI": _vm.flatmapAPI,
|
|
15833
|
+
"sparcAPI": _vm.sparcAPI
|
|
15834
|
+
},
|
|
15835
|
+
on: {
|
|
15836
|
+
"view-latest-map": _vm.viewLatestMap,
|
|
15837
|
+
"resource-selected": _vm.FlatmapSelected,
|
|
15838
|
+
"ready": _vm.FlatmapReady,
|
|
15839
|
+
"pan-zoom-callback": _vm.panZoomCallback
|
|
15840
|
+
}
|
|
15841
|
+
});
|
|
15842
|
+
})], 2);
|
|
15843
|
+
};
|
|
15844
|
+
var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_staticRenderFns = [];
|
|
15397
15845
|
|
|
15398
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
15846
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0d8bc999&scoped=true&
|
|
15399
15847
|
|
|
15400
15848
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
15401
15849
|
var popover = __webpack_require__("06f1");
|
|
@@ -15421,7 +15869,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
15421
15869
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
15422
15870
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
15423
15871
|
|
|
15424
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
15872
|
+
// 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/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
15425
15873
|
|
|
15426
15874
|
|
|
15427
15875
|
|
|
@@ -15443,65 +15891,6 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
15443
15891
|
|
|
15444
15892
|
|
|
15445
15893
|
|
|
15446
|
-
//
|
|
15447
|
-
//
|
|
15448
|
-
//
|
|
15449
|
-
//
|
|
15450
|
-
//
|
|
15451
|
-
//
|
|
15452
|
-
//
|
|
15453
|
-
//
|
|
15454
|
-
//
|
|
15455
|
-
//
|
|
15456
|
-
//
|
|
15457
|
-
//
|
|
15458
|
-
//
|
|
15459
|
-
//
|
|
15460
|
-
//
|
|
15461
|
-
//
|
|
15462
|
-
//
|
|
15463
|
-
//
|
|
15464
|
-
//
|
|
15465
|
-
//
|
|
15466
|
-
//
|
|
15467
|
-
//
|
|
15468
|
-
//
|
|
15469
|
-
//
|
|
15470
|
-
//
|
|
15471
|
-
//
|
|
15472
|
-
//
|
|
15473
|
-
//
|
|
15474
|
-
//
|
|
15475
|
-
//
|
|
15476
|
-
//
|
|
15477
|
-
//
|
|
15478
|
-
//
|
|
15479
|
-
//
|
|
15480
|
-
//
|
|
15481
|
-
//
|
|
15482
|
-
//
|
|
15483
|
-
//
|
|
15484
|
-
//
|
|
15485
|
-
//
|
|
15486
|
-
//
|
|
15487
|
-
//
|
|
15488
|
-
//
|
|
15489
|
-
//
|
|
15490
|
-
//
|
|
15491
|
-
//
|
|
15492
|
-
//
|
|
15493
|
-
//
|
|
15494
|
-
//
|
|
15495
|
-
//
|
|
15496
|
-
//
|
|
15497
|
-
//
|
|
15498
|
-
//
|
|
15499
|
-
//
|
|
15500
|
-
//
|
|
15501
|
-
//
|
|
15502
|
-
//
|
|
15503
|
-
//
|
|
15504
|
-
//
|
|
15505
15894
|
|
|
15506
15895
|
/* eslint-disable no-alert, no-console */
|
|
15507
15896
|
|
|
@@ -15535,7 +15924,6 @@ var TAXON_UUID = {
|
|
|
15535
15924
|
},
|
|
15536
15925
|
mounted: function mounted() {
|
|
15537
15926
|
var _this = this;
|
|
15538
|
-
|
|
15539
15927
|
this.initialise();
|
|
15540
15928
|
components_EventBus.$on('onActionClick', function (action) {
|
|
15541
15929
|
_this.FlatmapSelected(action);
|
|
@@ -15544,7 +15932,6 @@ var TAXON_UUID = {
|
|
|
15544
15932
|
methods: {
|
|
15545
15933
|
initialise: function initialise() {
|
|
15546
15934
|
var _this2 = this;
|
|
15547
|
-
|
|
15548
15935
|
return new Promise(function (resolve) {
|
|
15549
15936
|
if (_this2.requireInitialisation) {
|
|
15550
15937
|
//It has not been initialised yet
|
|
@@ -15560,25 +15947,21 @@ var TAXON_UUID = {
|
|
|
15560
15947
|
if (_this2.availableSpecies[key].biologicalSex) {
|
|
15561
15948
|
if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
|
|
15562
15949
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15563
|
-
|
|
15564
15950
|
break;
|
|
15565
15951
|
}
|
|
15566
15952
|
} else {
|
|
15567
15953
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15568
|
-
|
|
15569
15954
|
break;
|
|
15570
15955
|
}
|
|
15571
15956
|
}
|
|
15572
15957
|
}
|
|
15573
|
-
});
|
|
15574
|
-
|
|
15958
|
+
});
|
|
15959
|
+
//Use the state species if it does not have any other species information
|
|
15575
15960
|
var species = _this2.initial;
|
|
15576
|
-
|
|
15577
15961
|
if (_this2.state) {
|
|
15578
15962
|
var mapState = _this2.state.state;
|
|
15579
15963
|
if ((!mapState || !mapState.uuid && !mapState.entry) && _this2.state.species) species = _this2.state.species;else species = undefined;
|
|
15580
15964
|
}
|
|
15581
|
-
|
|
15582
15965
|
if (species) {
|
|
15583
15966
|
//No state resuming, set the current flatmap to {this.initial}
|
|
15584
15967
|
if (species && _this2.speciesList[species] !== undefined) {
|
|
@@ -15586,13 +15969,11 @@ var TAXON_UUID = {
|
|
|
15586
15969
|
} else {
|
|
15587
15970
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
15588
15971
|
}
|
|
15589
|
-
|
|
15590
15972
|
_this2.setSpecies(_this2.activeSpecies, _this2.state ? _this2.state.state : undefined, 5);
|
|
15591
15973
|
}
|
|
15592
|
-
|
|
15593
15974
|
_this2._initialised = true;
|
|
15594
|
-
resolve();
|
|
15595
|
-
|
|
15975
|
+
resolve();
|
|
15976
|
+
//Resolve all other promises resolve in the list
|
|
15596
15977
|
_this2._resolveList.forEach(function (other) {
|
|
15597
15978
|
other();
|
|
15598
15979
|
});
|
|
@@ -15611,15 +15992,12 @@ var TAXON_UUID = {
|
|
|
15611
15992
|
},
|
|
15612
15993
|
FlatmapReady: function FlatmapReady(component) {
|
|
15613
15994
|
this.$emit("ready", component);
|
|
15614
|
-
this.addCloseButtonToMinimap();
|
|
15615
15995
|
},
|
|
15616
15996
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
15617
15997
|
var flatmap = this.$refs[this.activeSpecies];
|
|
15618
|
-
|
|
15619
15998
|
if (flatmap && flatmap[0]) {
|
|
15620
15999
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
15621
16000
|
}
|
|
15622
|
-
|
|
15623
16001
|
return undefined;
|
|
15624
16002
|
},
|
|
15625
16003
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -15638,14 +16016,12 @@ var TAXON_UUID = {
|
|
|
15638
16016
|
},
|
|
15639
16017
|
setSpecies: function setSpecies(species, state, numberOfRetry) {
|
|
15640
16018
|
var _this3 = this;
|
|
15641
|
-
|
|
15642
16019
|
if (this.$refs && species in this.$refs) {
|
|
15643
16020
|
this.activeSpecies = species;
|
|
15644
16021
|
this.$refs[this.activeSpecies][0].createFlatmap(state);
|
|
15645
16022
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
15646
16023
|
} else if (numberOfRetry) {
|
|
15647
16024
|
var retry = numberOfRetry - 1;
|
|
15648
|
-
|
|
15649
16025
|
if (retry >= 0) {
|
|
15650
16026
|
external_vue_default.a.nextTick(function () {
|
|
15651
16027
|
_this3.setSpecies(species, state, retry);
|
|
@@ -15653,39 +16029,33 @@ var TAXON_UUID = {
|
|
|
15653
16029
|
}
|
|
15654
16030
|
}
|
|
15655
16031
|
},
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
|
-
*
|
|
15659
|
-
*
|
|
15660
|
-
*
|
|
15661
|
-
* @private
|
|
16032
|
+
/**
|
|
16033
|
+
* Function to switch to the latest existing map from
|
|
16034
|
+
* a legacy map of the same species.
|
|
16035
|
+
*
|
|
16036
|
+
* @private
|
|
15662
16037
|
*/
|
|
15663
16038
|
viewLatestMap: function viewLatestMap(state) {
|
|
15664
16039
|
var keys = Object.keys(this.speciesList);
|
|
15665
|
-
|
|
15666
16040
|
for (var i = 0; i < keys.length; i++) {
|
|
15667
16041
|
var species = this.speciesList[keys[i]];
|
|
15668
|
-
|
|
15669
16042
|
if (!species.isLegacy && species.taxo === state.entry && species.biologicalSex === state.biologicalSex) {
|
|
15670
16043
|
this.setSpecies(keys[i], state, 0);
|
|
15671
16044
|
return;
|
|
15672
16045
|
}
|
|
15673
16046
|
}
|
|
15674
16047
|
},
|
|
15675
|
-
|
|
15676
|
-
|
|
15677
|
-
*
|
|
15678
|
-
*
|
|
15679
|
-
* @private
|
|
16048
|
+
/**
|
|
16049
|
+
* Create a legacy entry with the provided information
|
|
16050
|
+
*
|
|
16051
|
+
* @private
|
|
15680
16052
|
*/
|
|
15681
16053
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
15682
16054
|
if (uuid && taxo) {
|
|
15683
16055
|
var name = "Legacy";
|
|
15684
|
-
|
|
15685
16056
|
if (state.species) {
|
|
15686
16057
|
if (state.species.slice(0, 6) === "Legacy") name = state.species;else name = name + " ".concat(state.species);
|
|
15687
16058
|
}
|
|
15688
|
-
|
|
15689
16059
|
this.$set(this.speciesList, name, {
|
|
15690
16060
|
taxo: taxo,
|
|
15691
16061
|
isLegacy: true,
|
|
@@ -15702,34 +16072,30 @@ var TAXON_UUID = {
|
|
|
15702
16072
|
};
|
|
15703
16073
|
}
|
|
15704
16074
|
},
|
|
15705
|
-
|
|
15706
|
-
|
|
15707
|
-
*
|
|
15708
|
-
*
|
|
15709
|
-
*
|
|
15710
|
-
* @private
|
|
16075
|
+
/**
|
|
16076
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
16077
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
16078
|
+
*
|
|
16079
|
+
* @private
|
|
15711
16080
|
*/
|
|
15712
16081
|
updateState: function updateState(state) {
|
|
15713
16082
|
var _this4 = this;
|
|
15714
|
-
|
|
15715
16083
|
return new Promise(function (resolve) {
|
|
15716
16084
|
if (state && state.state) {
|
|
15717
|
-
var mapState = state.state;
|
|
15718
|
-
|
|
16085
|
+
var mapState = state.state;
|
|
16086
|
+
//uuid is not in the state, this is a legacy map
|
|
15719
16087
|
if (!mapState.uuid) {
|
|
15720
16088
|
if (mapState.entry) {
|
|
15721
16089
|
var uuid = mapState.entry in TAXON_UUID ? TAXON_UUID[mapState.entry] : undefined;
|
|
15722
|
-
|
|
15723
16090
|
var newState = _this4.createLegacyEntry(state, mapState.entry, uuid);
|
|
15724
|
-
|
|
15725
16091
|
resolve(newState ? newState : state);
|
|
15726
16092
|
}
|
|
15727
16093
|
} else if (mapState.entry) {
|
|
15728
16094
|
//uuid is in the state but should be checked if it is the latest map
|
|
15729
16095
|
//for that taxon
|
|
15730
16096
|
return new Promise(function () {
|
|
15731
|
-
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
15732
|
-
|
|
16097
|
+
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
16098
|
+
//mapManager.findMap_ is an async function so we need to wrap this with a promise
|
|
15733
16099
|
var identifier = {
|
|
15734
16100
|
taxon: mapState.entry
|
|
15735
16101
|
};
|
|
@@ -15744,19 +16110,18 @@ var TAXON_UUID = {
|
|
|
15744
16110
|
resolve(state);
|
|
15745
16111
|
});
|
|
15746
16112
|
});
|
|
15747
|
-
}
|
|
15748
|
-
|
|
16113
|
+
}
|
|
16114
|
+
//Create a new state and add the legacy map to the select
|
|
15749
16115
|
}
|
|
15750
16116
|
|
|
15751
16117
|
resolve(state);
|
|
15752
16118
|
});
|
|
15753
16119
|
},
|
|
15754
|
-
|
|
15755
|
-
|
|
15756
|
-
*
|
|
15757
|
-
*
|
|
15758
|
-
*
|
|
15759
|
-
* @public
|
|
16120
|
+
/**
|
|
16121
|
+
* Function used for getting the current states of the scene. This exported states
|
|
16122
|
+
* can be imported using the importStates method.
|
|
16123
|
+
*
|
|
16124
|
+
* @public
|
|
15760
16125
|
*/
|
|
15761
16126
|
getState: function getState() {
|
|
15762
16127
|
var state = {
|
|
@@ -15767,16 +16132,14 @@ var TAXON_UUID = {
|
|
|
15767
16132
|
state.state = map.getState();
|
|
15768
16133
|
return state;
|
|
15769
16134
|
},
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
*
|
|
15773
|
-
*
|
|
15774
|
-
*
|
|
15775
|
-
* @public
|
|
16135
|
+
/**
|
|
16136
|
+
* Function used for importing the states of the scene. This exported states
|
|
16137
|
+
* can be imported using the read states method.
|
|
16138
|
+
*
|
|
16139
|
+
* @public
|
|
15776
16140
|
*/
|
|
15777
16141
|
setState: function setState(state) {
|
|
15778
16142
|
var _this5 = this;
|
|
15779
|
-
|
|
15780
16143
|
if (state) {
|
|
15781
16144
|
//Update state if required
|
|
15782
16145
|
this.updateState(state).then(function (currentState) {
|
|
@@ -15785,7 +16148,6 @@ var TAXON_UUID = {
|
|
|
15785
16148
|
_this5.setSpecies(currentState.species, currentState.state, 5);
|
|
15786
16149
|
} else if (currentState.state) {
|
|
15787
16150
|
var map = _this5.getCurrentFlatmap();
|
|
15788
|
-
|
|
15789
16151
|
map.setState(currentState.state);
|
|
15790
16152
|
}
|
|
15791
16153
|
});
|
|
@@ -15813,10 +16175,9 @@ var TAXON_UUID = {
|
|
|
15813
16175
|
type: Boolean,
|
|
15814
16176
|
default: false
|
|
15815
16177
|
},
|
|
15816
|
-
|
|
15817
|
-
|
|
15818
|
-
*
|
|
15819
|
-
* This value will be ignored if a valid state object is provided.
|
|
16178
|
+
/**
|
|
16179
|
+
* Initial species for the flatmap.
|
|
16180
|
+
* This value will be ignored if a valid state object is provided.
|
|
15820
16181
|
*/
|
|
15821
16182
|
initial: {
|
|
15822
16183
|
type: String,
|
|
@@ -15881,17 +16242,15 @@ var TAXON_UUID = {
|
|
|
15881
16242
|
};
|
|
15882
16243
|
}
|
|
15883
16244
|
},
|
|
15884
|
-
|
|
15885
|
-
|
|
15886
|
-
* State containing state of the flatmap.
|
|
16245
|
+
/**
|
|
16246
|
+
* State containing state of the flatmap.
|
|
15887
16247
|
*/
|
|
15888
16248
|
state: {
|
|
15889
16249
|
type: Object,
|
|
15890
16250
|
default: undefined
|
|
15891
16251
|
},
|
|
15892
|
-
|
|
15893
|
-
|
|
15894
|
-
* Specify the endpoint of the flatmap server.
|
|
16252
|
+
/**
|
|
16253
|
+
* Specify the endpoint of the flatmap server.
|
|
15895
16254
|
*/
|
|
15896
16255
|
flatmapAPI: {
|
|
15897
16256
|
type: String,
|
|
@@ -15922,8 +16281,8 @@ var TAXON_UUID = {
|
|
|
15922
16281
|
});
|
|
15923
16282
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
15924
16283
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
15925
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
15926
|
-
var
|
|
16284
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=0d8bc999&prod&scoped=true&lang=scss&
|
|
16285
|
+
var MultiFlatmapVuervue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss_ = __webpack_require__("ec09");
|
|
15927
16286
|
|
|
15928
16287
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
15929
16288
|
|
|
@@ -15936,11 +16295,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss_ =
|
|
|
15936
16295
|
|
|
15937
16296
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
15938
16297
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
15939
|
-
|
|
15940
|
-
|
|
16298
|
+
MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render,
|
|
16299
|
+
MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_staticRenderFns,
|
|
15941
16300
|
false,
|
|
15942
16301
|
null,
|
|
15943
|
-
"
|
|
16302
|
+
"0d8bc999",
|
|
15944
16303
|
null
|
|
15945
16304
|
|
|
15946
16305
|
)
|