@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
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -96,13 +96,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
-
/***/ "0242":
|
|
100
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
101
|
-
|
|
102
|
-
// extracted by mini-css-extract-plugin
|
|
103
|
-
|
|
104
|
-
/***/ }),
|
|
105
|
-
|
|
106
99
|
/***/ "06f1":
|
|
107
100
|
/***/ (function(module, exports, __webpack_require__) {
|
|
108
101
|
|
|
@@ -110,13 +103,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
110
103
|
|
|
111
104
|
/***/ }),
|
|
112
105
|
|
|
113
|
-
/***/ "0cda":
|
|
114
|
-
/***/ (function(module, exports) {
|
|
115
|
-
|
|
116
|
-
module.exports = require("core-js/modules/es.string.split.js");
|
|
117
|
-
|
|
118
|
-
/***/ }),
|
|
119
|
-
|
|
120
106
|
/***/ "0f6c":
|
|
121
107
|
/***/ (function(module, exports) {
|
|
122
108
|
|
|
@@ -204,12 +190,12 @@ module.exports =
|
|
|
204
190
|
/******/
|
|
205
191
|
/******/
|
|
206
192
|
/******/ // Load entry module and return exports
|
|
207
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
193
|
+
/******/ return __webpack_require__(__webpack_require__.s = 139);
|
|
208
194
|
/******/ })
|
|
209
195
|
/************************************************************************/
|
|
210
196
|
/******/ ({
|
|
211
197
|
|
|
212
|
-
/***/
|
|
198
|
+
/***/ 139:
|
|
213
199
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
214
200
|
|
|
215
201
|
"use strict";
|
|
@@ -232,10 +218,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
232
218
|
type: String,
|
|
233
219
|
default: 'start'
|
|
234
220
|
},
|
|
235
|
-
align:
|
|
236
|
-
type: String,
|
|
237
|
-
default: 'top'
|
|
238
|
-
}
|
|
221
|
+
align: String
|
|
239
222
|
},
|
|
240
223
|
|
|
241
224
|
computed: {
|
|
@@ -253,7 +236,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
253
236
|
|
|
254
237
|
render: function render(h) {
|
|
255
238
|
return h(this.tag, {
|
|
256
|
-
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align
|
|
239
|
+
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
257
240
|
style: this.style
|
|
258
241
|
}, this.$slots.default);
|
|
259
242
|
}
|
|
@@ -294,17 +277,6 @@ exports.default = function (ref) {
|
|
|
294
277
|
|
|
295
278
|
;
|
|
296
279
|
|
|
297
|
-
/***/ }),
|
|
298
|
-
|
|
299
|
-
/***/ "13aa":
|
|
300
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
301
|
-
|
|
302
|
-
"use strict";
|
|
303
|
-
/* 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");
|
|
304
|
-
/* 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__);
|
|
305
|
-
/* unused harmony reexport * */
|
|
306
|
-
|
|
307
|
-
|
|
308
280
|
/***/ }),
|
|
309
281
|
|
|
310
282
|
/***/ "13e3":
|
|
@@ -401,12 +373,12 @@ module.exports =
|
|
|
401
373
|
/******/
|
|
402
374
|
/******/
|
|
403
375
|
/******/ // Load entry module and return exports
|
|
404
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
376
|
+
/******/ return __webpack_require__(__webpack_require__.s = 133);
|
|
405
377
|
/******/ })
|
|
406
378
|
/************************************************************************/
|
|
407
379
|
/******/ ({
|
|
408
380
|
|
|
409
|
-
/***/
|
|
381
|
+
/***/ 133:
|
|
410
382
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
411
383
|
|
|
412
384
|
"use strict";
|
|
@@ -416,7 +388,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
416
388
|
var resize_event_ = __webpack_require__(16);
|
|
417
389
|
|
|
418
390
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
|
|
419
|
-
var scrollbar_width_ = __webpack_require__(
|
|
391
|
+
var scrollbar_width_ = __webpack_require__(39);
|
|
420
392
|
var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
|
|
421
393
|
|
|
422
394
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -731,7 +703,7 @@ module.exports = __webpack_require__("8122");
|
|
|
731
703
|
|
|
732
704
|
/***/ }),
|
|
733
705
|
|
|
734
|
-
/***/
|
|
706
|
+
/***/ 39:
|
|
735
707
|
/***/ (function(module, exports) {
|
|
736
708
|
|
|
737
709
|
module.exports = __webpack_require__("e62d");
|
|
@@ -761,17 +733,6 @@ module.exports = require("core-js/modules/web.dom-collections.iterator.js");
|
|
|
761
733
|
|
|
762
734
|
module.exports = require("core-js/modules/es.array.filter.js");
|
|
763
735
|
|
|
764
|
-
/***/ }),
|
|
765
|
-
|
|
766
|
-
/***/ "1b11":
|
|
767
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
768
|
-
|
|
769
|
-
"use strict";
|
|
770
|
-
/* 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");
|
|
771
|
-
/* 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__);
|
|
772
|
-
/* unused harmony reexport * */
|
|
773
|
-
|
|
774
|
-
|
|
775
736
|
/***/ }),
|
|
776
737
|
|
|
777
738
|
/***/ "1c32":
|
|
@@ -788,6 +749,31 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
788
749
|
|
|
789
750
|
/***/ }),
|
|
790
751
|
|
|
752
|
+
/***/ "21d1":
|
|
753
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
754
|
+
|
|
755
|
+
// extracted by mini-css-extract-plugin
|
|
756
|
+
|
|
757
|
+
/***/ }),
|
|
758
|
+
|
|
759
|
+
/***/ "233b":
|
|
760
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
761
|
+
|
|
762
|
+
"use strict";
|
|
763
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7a9a");
|
|
764
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
765
|
+
/* unused harmony reexport * */
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
/***/ }),
|
|
769
|
+
|
|
770
|
+
/***/ "2439":
|
|
771
|
+
/***/ (function(module, exports) {
|
|
772
|
+
|
|
773
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
774
|
+
|
|
775
|
+
/***/ }),
|
|
776
|
+
|
|
791
777
|
/***/ "2a5e":
|
|
792
778
|
/***/ (function(module, exports, __webpack_require__) {
|
|
793
779
|
|
|
@@ -921,6 +907,28 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
921
907
|
|
|
922
908
|
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
923
909
|
|
|
910
|
+
/***/ }),
|
|
911
|
+
|
|
912
|
+
/***/ "318c":
|
|
913
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
914
|
+
|
|
915
|
+
"use strict";
|
|
916
|
+
/* 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");
|
|
917
|
+
/* 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__);
|
|
918
|
+
/* unused harmony reexport * */
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
/***/ }),
|
|
922
|
+
|
|
923
|
+
/***/ "3412":
|
|
924
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
925
|
+
|
|
926
|
+
"use strict";
|
|
927
|
+
/* 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");
|
|
928
|
+
/* 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__);
|
|
929
|
+
/* unused harmony reexport * */
|
|
930
|
+
|
|
931
|
+
|
|
924
932
|
/***/ }),
|
|
925
933
|
|
|
926
934
|
/***/ "3d2d":
|
|
@@ -1010,7 +1018,7 @@ module.exports =
|
|
|
1010
1018
|
/******/
|
|
1011
1019
|
/******/
|
|
1012
1020
|
/******/ // Load entry module and return exports
|
|
1013
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1021
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1014
1022
|
/******/ })
|
|
1015
1023
|
/************************************************************************/
|
|
1016
1024
|
/******/ ({
|
|
@@ -1117,7 +1125,7 @@ function normalizeComponent (
|
|
|
1117
1125
|
|
|
1118
1126
|
/***/ }),
|
|
1119
1127
|
|
|
1120
|
-
/***/
|
|
1128
|
+
/***/ 116:
|
|
1121
1129
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1122
1130
|
|
|
1123
1131
|
"use strict";
|
|
@@ -1229,6 +1237,8 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
|
1229
1237
|
|
|
1230
1238
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1231
1239
|
|
|
1240
|
+
var _throttleDebounce = __webpack_require__("831f");
|
|
1241
|
+
|
|
1232
1242
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1233
1243
|
|
|
1234
1244
|
var isServer = typeof window === 'undefined';
|
|
@@ -1263,7 +1273,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
|
|
|
1263
1273
|
if (isServer) return;
|
|
1264
1274
|
if (!element.__resizeListeners__) {
|
|
1265
1275
|
element.__resizeListeners__ = [];
|
|
1266
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1276
|
+
element.__ro__ = new _resizeObserverPolyfill2.default((0, _throttleDebounce.debounce)(16, resizeHandler));
|
|
1267
1277
|
element.__ro__.observe(element);
|
|
1268
1278
|
}
|
|
1269
1279
|
element.__resizeListeners__.push(fn);
|
|
@@ -1697,6 +1707,13 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
1697
1707
|
|
|
1698
1708
|
/***/ }),
|
|
1699
1709
|
|
|
1710
|
+
/***/ "4d90":
|
|
1711
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1712
|
+
|
|
1713
|
+
// extracted by mini-css-extract-plugin
|
|
1714
|
+
|
|
1715
|
+
/***/ }),
|
|
1716
|
+
|
|
1700
1717
|
/***/ "4e4b":
|
|
1701
1718
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1702
1719
|
|
|
@@ -1784,7 +1801,7 @@ module.exports =
|
|
|
1784
1801
|
/******/
|
|
1785
1802
|
/******/
|
|
1786
1803
|
/******/ // Load entry module and return exports
|
|
1787
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1804
|
+
/******/ return __webpack_require__(__webpack_require__.s = 62);
|
|
1788
1805
|
/******/ })
|
|
1789
1806
|
/************************************************************************/
|
|
1790
1807
|
/******/ ({
|
|
@@ -1919,7 +1936,7 @@ module.exports = __webpack_require__("4010");
|
|
|
1919
1936
|
|
|
1920
1937
|
/***/ }),
|
|
1921
1938
|
|
|
1922
|
-
/***/
|
|
1939
|
+
/***/ 19:
|
|
1923
1940
|
/***/ (function(module, exports) {
|
|
1924
1941
|
|
|
1925
1942
|
module.exports = __webpack_require__("7435");
|
|
@@ -1947,14 +1964,14 @@ module.exports = __webpack_require__("8122");
|
|
|
1947
1964
|
|
|
1948
1965
|
/***/ }),
|
|
1949
1966
|
|
|
1950
|
-
/***/
|
|
1967
|
+
/***/ 32:
|
|
1951
1968
|
/***/ (function(module, exports) {
|
|
1952
1969
|
|
|
1953
1970
|
module.exports = __webpack_require__("2a5e");
|
|
1954
1971
|
|
|
1955
1972
|
/***/ }),
|
|
1956
1973
|
|
|
1957
|
-
/***/
|
|
1974
|
+
/***/ 34:
|
|
1958
1975
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1959
1976
|
|
|
1960
1977
|
"use strict";
|
|
@@ -2205,7 +2222,7 @@ component.options.__file = "packages/select/src/option.vue"
|
|
|
2205
2222
|
|
|
2206
2223
|
/***/ }),
|
|
2207
2224
|
|
|
2208
|
-
/***/
|
|
2225
|
+
/***/ 38:
|
|
2209
2226
|
/***/ (function(module, exports) {
|
|
2210
2227
|
|
|
2211
2228
|
module.exports = __webpack_require__("8bbc");
|
|
@@ -2233,7 +2250,7 @@ module.exports = __webpack_require__("6b7c");
|
|
|
2233
2250
|
|
|
2234
2251
|
/***/ }),
|
|
2235
2252
|
|
|
2236
|
-
/***/
|
|
2253
|
+
/***/ 62:
|
|
2237
2254
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2238
2255
|
|
|
2239
2256
|
"use strict";
|
|
@@ -2399,7 +2416,7 @@ var render = function() {
|
|
|
2399
2416
|
return null
|
|
2400
2417
|
}
|
|
2401
2418
|
$event.preventDefault()
|
|
2402
|
-
_vm.
|
|
2419
|
+
_vm.handleNavigate("next")
|
|
2403
2420
|
},
|
|
2404
2421
|
function($event) {
|
|
2405
2422
|
if (
|
|
@@ -2412,7 +2429,7 @@ var render = function() {
|
|
|
2412
2429
|
return null
|
|
2413
2430
|
}
|
|
2414
2431
|
$event.preventDefault()
|
|
2415
|
-
_vm.
|
|
2432
|
+
_vm.handleNavigate("prev")
|
|
2416
2433
|
},
|
|
2417
2434
|
function($event) {
|
|
2418
2435
|
if (
|
|
@@ -2505,11 +2522,15 @@ var render = function() {
|
|
|
2505
2522
|
"validate-event": false,
|
|
2506
2523
|
tabindex: _vm.multiple && _vm.filterable ? "-1" : null
|
|
2507
2524
|
},
|
|
2508
|
-
on: {
|
|
2525
|
+
on: {
|
|
2526
|
+
focus: _vm.handleFocus,
|
|
2527
|
+
blur: _vm.handleBlur,
|
|
2528
|
+
input: _vm.debouncedOnInputChange,
|
|
2529
|
+
compositionstart: _vm.handleComposition,
|
|
2530
|
+
compositionupdate: _vm.handleComposition,
|
|
2531
|
+
compositionend: _vm.handleComposition
|
|
2532
|
+
},
|
|
2509
2533
|
nativeOn: {
|
|
2510
|
-
keyup: function($event) {
|
|
2511
|
-
return _vm.debouncedOnInputChange($event)
|
|
2512
|
-
},
|
|
2513
2534
|
keydown: [
|
|
2514
2535
|
function($event) {
|
|
2515
2536
|
if (
|
|
@@ -2523,7 +2544,7 @@ var render = function() {
|
|
|
2523
2544
|
}
|
|
2524
2545
|
$event.stopPropagation()
|
|
2525
2546
|
$event.preventDefault()
|
|
2526
|
-
_vm.
|
|
2547
|
+
_vm.handleNavigate("next")
|
|
2527
2548
|
},
|
|
2528
2549
|
function($event) {
|
|
2529
2550
|
if (
|
|
@@ -2537,7 +2558,7 @@ var render = function() {
|
|
|
2537
2558
|
}
|
|
2538
2559
|
$event.stopPropagation()
|
|
2539
2560
|
$event.preventDefault()
|
|
2540
|
-
_vm.
|
|
2561
|
+
_vm.handleNavigate("prev")
|
|
2541
2562
|
},
|
|
2542
2563
|
function($event) {
|
|
2543
2564
|
if (
|
|
@@ -2573,9 +2594,6 @@ var render = function() {
|
|
|
2573
2594
|
_vm.visible = false
|
|
2574
2595
|
}
|
|
2575
2596
|
],
|
|
2576
|
-
paste: function($event) {
|
|
2577
|
-
return _vm.debouncedOnInputChange($event)
|
|
2578
|
-
},
|
|
2579
2597
|
mouseenter: function($event) {
|
|
2580
2598
|
_vm.inputHovering = true
|
|
2581
2599
|
},
|
|
@@ -2861,10 +2879,10 @@ if (false) { var api; }
|
|
|
2861
2879
|
component.options.__file = "packages/select/src/select-dropdown.vue"
|
|
2862
2880
|
/* harmony default export */ var select_dropdown = (component.exports);
|
|
2863
2881
|
// EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
|
|
2864
|
-
var src_option = __webpack_require__(
|
|
2882
|
+
var src_option = __webpack_require__(34);
|
|
2865
2883
|
|
|
2866
2884
|
// EXTERNAL MODULE: external "element-ui/lib/tag"
|
|
2867
|
-
var tag_ = __webpack_require__(
|
|
2885
|
+
var tag_ = __webpack_require__(38);
|
|
2868
2886
|
var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
|
|
2869
2887
|
|
|
2870
2888
|
// EXTERNAL MODULE: external "element-ui/lib/scrollbar"
|
|
@@ -2872,7 +2890,7 @@ var scrollbar_ = __webpack_require__(15);
|
|
|
2872
2890
|
var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
2873
2891
|
|
|
2874
2892
|
// EXTERNAL MODULE: external "throttle-debounce/debounce"
|
|
2875
|
-
var debounce_ = __webpack_require__(
|
|
2893
|
+
var debounce_ = __webpack_require__(19);
|
|
2876
2894
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
2877
2895
|
|
|
2878
2896
|
// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
|
|
@@ -2883,7 +2901,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
2883
2901
|
var resize_event_ = __webpack_require__(16);
|
|
2884
2902
|
|
|
2885
2903
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
|
|
2886
|
-
var scroll_into_view_ = __webpack_require__(
|
|
2904
|
+
var scroll_into_view_ = __webpack_require__(32);
|
|
2887
2905
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
2888
2906
|
|
|
2889
2907
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -3092,6 +3110,8 @@ var shared_ = __webpack_require__(21);
|
|
|
3092
3110
|
//
|
|
3093
3111
|
//
|
|
3094
3112
|
//
|
|
3113
|
+
//
|
|
3114
|
+
//
|
|
3095
3115
|
|
|
3096
3116
|
|
|
3097
3117
|
|
|
@@ -3389,6 +3409,11 @@ var shared_ = __webpack_require__(21);
|
|
|
3389
3409
|
},
|
|
3390
3410
|
|
|
3391
3411
|
methods: {
|
|
3412
|
+
handleNavigate: function handleNavigate(direction) {
|
|
3413
|
+
if (this.isOnComposition) return;
|
|
3414
|
+
|
|
3415
|
+
this.navigateOptions(direction);
|
|
3416
|
+
},
|
|
3392
3417
|
handleComposition: function handleComposition(event) {
|
|
3393
3418
|
var _this5 = this;
|
|
3394
3419
|
|
|
@@ -3474,7 +3499,7 @@ var shared_ = __webpack_require__(21);
|
|
|
3474
3499
|
}
|
|
3475
3500
|
}
|
|
3476
3501
|
if (option) return option;
|
|
3477
|
-
var label = !isObject && !isNull && !isUndefined ? value : '';
|
|
3502
|
+
var label = !isObject && !isNull && !isUndefined ? String(value) : '';
|
|
3478
3503
|
var newOption = {
|
|
3479
3504
|
value: value,
|
|
3480
3505
|
currentLabel: label
|
|
@@ -3514,10 +3539,10 @@ var shared_ = __webpack_require__(21);
|
|
|
3514
3539
|
handleFocus: function handleFocus(event) {
|
|
3515
3540
|
if (!this.softFocus) {
|
|
3516
3541
|
if (this.automaticDropdown || this.filterable) {
|
|
3517
|
-
this.visible
|
|
3518
|
-
if (this.filterable) {
|
|
3542
|
+
if (this.filterable && !this.visible) {
|
|
3519
3543
|
this.menuVisibleOnFocus = true;
|
|
3520
3544
|
}
|
|
3545
|
+
this.visible = true;
|
|
3521
3546
|
}
|
|
3522
3547
|
this.$emit('focus', event);
|
|
3523
3548
|
} else {
|
|
@@ -3591,8 +3616,9 @@ var shared_ = __webpack_require__(21);
|
|
|
3591
3616
|
return item.tagName === 'INPUT';
|
|
3592
3617
|
})[0];
|
|
3593
3618
|
var tags = _this10.$refs.tags;
|
|
3619
|
+
var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
|
|
3594
3620
|
var sizeInMap = _this10.initialInputHeight || 40;
|
|
3595
|
-
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ?
|
|
3621
|
+
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
|
|
3596
3622
|
if (_this10.visible && _this10.emptyText !== false) {
|
|
3597
3623
|
_this10.broadcast('ElSelectDropdown', 'updatePopper');
|
|
3598
3624
|
}
|
|
@@ -4113,7 +4139,7 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4113
4139
|
|
|
4114
4140
|
/***/ }),
|
|
4115
4141
|
|
|
4116
|
-
/***/ "
|
|
4142
|
+
/***/ "5766":
|
|
4117
4143
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4118
4144
|
|
|
4119
4145
|
// extracted by mini-css-extract-plugin
|
|
@@ -4231,7 +4257,7 @@ function addClass(el, cls) {
|
|
|
4231
4257
|
}
|
|
4232
4258
|
}
|
|
4233
4259
|
if (!el.classList) {
|
|
4234
|
-
el.
|
|
4260
|
+
el.setAttribute('class', curClass);
|
|
4235
4261
|
}
|
|
4236
4262
|
};
|
|
4237
4263
|
|
|
@@ -4252,7 +4278,7 @@ function removeClass(el, cls) {
|
|
|
4252
4278
|
}
|
|
4253
4279
|
}
|
|
4254
4280
|
if (!el.classList) {
|
|
4255
|
-
el.
|
|
4281
|
+
el.setAttribute('class', trim(curClass));
|
|
4256
4282
|
}
|
|
4257
4283
|
};
|
|
4258
4284
|
|
|
@@ -4316,10 +4342,10 @@ function setStyle(element, styleName, value) {
|
|
|
4316
4342
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4317
4343
|
if (isServer) return;
|
|
4318
4344
|
|
|
4319
|
-
var determinedDirection = vertical !== null
|
|
4345
|
+
var determinedDirection = vertical !== null && vertical !== undefined;
|
|
4320
4346
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4321
4347
|
|
|
4322
|
-
return overflow.match(/(scroll|auto)/);
|
|
4348
|
+
return overflow.match(/(scroll|auto|overlay)/);
|
|
4323
4349
|
};
|
|
4324
4350
|
|
|
4325
4351
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4361,10 +4387,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4361
4387
|
|
|
4362
4388
|
/***/ }),
|
|
4363
4389
|
|
|
4364
|
-
/***/ "
|
|
4365
|
-
/***/ (function(module, exports
|
|
4390
|
+
/***/ "5a3b":
|
|
4391
|
+
/***/ (function(module, exports) {
|
|
4366
4392
|
|
|
4367
|
-
|
|
4393
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4368
4394
|
|
|
4369
4395
|
/***/ }),
|
|
4370
4396
|
|
|
@@ -5733,7 +5759,7 @@ module.exports =
|
|
|
5733
5759
|
/******/
|
|
5734
5760
|
/******/
|
|
5735
5761
|
/******/ // Load entry module and return exports
|
|
5736
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
5762
|
+
/******/ return __webpack_require__(__webpack_require__.s = 89);
|
|
5737
5763
|
/******/ })
|
|
5738
5764
|
/************************************************************************/
|
|
5739
5765
|
/******/ ({
|
|
@@ -5847,7 +5873,7 @@ module.exports = __webpack_require__("d010");
|
|
|
5847
5873
|
|
|
5848
5874
|
/***/ }),
|
|
5849
5875
|
|
|
5850
|
-
/***/
|
|
5876
|
+
/***/ 89:
|
|
5851
5877
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5852
5878
|
|
|
5853
5879
|
"use strict";
|
|
@@ -5926,7 +5952,9 @@ var keyCode = Object.freeze({
|
|
|
5926
5952
|
return (this.elFormItem || {}).elFormItemSize;
|
|
5927
5953
|
},
|
|
5928
5954
|
_elTag: function _elTag() {
|
|
5929
|
-
|
|
5955
|
+
var tag = (this.$vnode.data || {}).tag;
|
|
5956
|
+
if (!tag || tag === 'component') tag = 'div';
|
|
5957
|
+
return tag;
|
|
5930
5958
|
},
|
|
5931
5959
|
radioGroupSize: function radioGroupSize() {
|
|
5932
5960
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
@@ -6127,7 +6155,7 @@ module.exports =
|
|
|
6127
6155
|
/******/
|
|
6128
6156
|
/******/
|
|
6129
6157
|
/******/ // Load entry module and return exports
|
|
6130
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6158
|
+
/******/ return __webpack_require__(__webpack_require__.s = 78);
|
|
6131
6159
|
/******/ })
|
|
6132
6160
|
/************************************************************************/
|
|
6133
6161
|
/******/ ({
|
|
@@ -6262,7 +6290,7 @@ module.exports = __webpack_require__("8bbf");
|
|
|
6262
6290
|
|
|
6263
6291
|
/***/ }),
|
|
6264
6292
|
|
|
6265
|
-
/***/
|
|
6293
|
+
/***/ 78:
|
|
6266
6294
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6267
6295
|
|
|
6268
6296
|
"use strict";
|
|
@@ -6686,6 +6714,20 @@ exports.default = {
|
|
|
6686
6714
|
|
|
6687
6715
|
/***/ }),
|
|
6688
6716
|
|
|
6717
|
+
/***/ "712c":
|
|
6718
|
+
/***/ (function(module, exports) {
|
|
6719
|
+
|
|
6720
|
+
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
6721
|
+
|
|
6722
|
+
/***/ }),
|
|
6723
|
+
|
|
6724
|
+
/***/ "722b":
|
|
6725
|
+
/***/ (function(module, exports) {
|
|
6726
|
+
|
|
6727
|
+
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
6728
|
+
|
|
6729
|
+
/***/ }),
|
|
6730
|
+
|
|
6689
6731
|
/***/ "7435":
|
|
6690
6732
|
/***/ (function(module, exports) {
|
|
6691
6733
|
|
|
@@ -6700,6 +6742,13 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6700
6742
|
|
|
6701
6743
|
/***/ }),
|
|
6702
6744
|
|
|
6745
|
+
/***/ "7a9a":
|
|
6746
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6747
|
+
|
|
6748
|
+
// extracted by mini-css-extract-plugin
|
|
6749
|
+
|
|
6750
|
+
/***/ }),
|
|
6751
|
+
|
|
6703
6752
|
/***/ "7b31":
|
|
6704
6753
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6705
6754
|
|
|
@@ -6787,7 +6836,7 @@ module.exports =
|
|
|
6787
6836
|
/******/
|
|
6788
6837
|
/******/
|
|
6789
6838
|
/******/ // Load entry module and return exports
|
|
6790
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6839
|
+
/******/ return __webpack_require__(__webpack_require__.s = 117);
|
|
6791
6840
|
/******/ })
|
|
6792
6841
|
/************************************************************************/
|
|
6793
6842
|
/******/ ({
|
|
@@ -6894,7 +6943,7 @@ function normalizeComponent (
|
|
|
6894
6943
|
|
|
6895
6944
|
/***/ }),
|
|
6896
6945
|
|
|
6897
|
-
/***/
|
|
6946
|
+
/***/ 117:
|
|
6898
6947
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6899
6948
|
|
|
6900
6949
|
"use strict";
|
|
@@ -7097,7 +7146,7 @@ module.exports =
|
|
|
7097
7146
|
/******/
|
|
7098
7147
|
/******/
|
|
7099
7148
|
/******/ // Load entry module and return exports
|
|
7100
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7149
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
7101
7150
|
/******/ })
|
|
7102
7151
|
/************************************************************************/
|
|
7103
7152
|
/******/ ({
|
|
@@ -7211,7 +7260,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7211
7260
|
|
|
7212
7261
|
/***/ }),
|
|
7213
7262
|
|
|
7214
|
-
/***/
|
|
7263
|
+
/***/ 93:
|
|
7215
7264
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7216
7265
|
|
|
7217
7266
|
"use strict";
|
|
@@ -7603,6 +7652,20 @@ function objToArray(obj) {
|
|
|
7603
7652
|
|
|
7604
7653
|
/***/ }),
|
|
7605
7654
|
|
|
7655
|
+
/***/ "81a0":
|
|
7656
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7657
|
+
|
|
7658
|
+
// extracted by mini-css-extract-plugin
|
|
7659
|
+
|
|
7660
|
+
/***/ }),
|
|
7661
|
+
|
|
7662
|
+
/***/ "831f":
|
|
7663
|
+
/***/ (function(module, exports) {
|
|
7664
|
+
|
|
7665
|
+
module.exports = require("throttle-debounce");
|
|
7666
|
+
|
|
7667
|
+
/***/ }),
|
|
7668
|
+
|
|
7606
7669
|
/***/ "8535":
|
|
7607
7670
|
/***/ (function(module, exports) {
|
|
7608
7671
|
|
|
@@ -7704,7 +7767,7 @@ module.exports =
|
|
|
7704
7767
|
/******/
|
|
7705
7768
|
/******/
|
|
7706
7769
|
/******/ // Load entry module and return exports
|
|
7707
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7770
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
7708
7771
|
/******/ })
|
|
7709
7772
|
/************************************************************************/
|
|
7710
7773
|
/******/ ({
|
|
@@ -7825,14 +7888,21 @@ module.exports = __webpack_require__("5924");
|
|
|
7825
7888
|
|
|
7826
7889
|
/***/ }),
|
|
7827
7890
|
|
|
7828
|
-
/***/
|
|
7891
|
+
/***/ 42:
|
|
7829
7892
|
/***/ (function(module, exports) {
|
|
7830
7893
|
|
|
7831
7894
|
module.exports = __webpack_require__("c56a");
|
|
7832
7895
|
|
|
7833
7896
|
/***/ }),
|
|
7834
7897
|
|
|
7835
|
-
/***/
|
|
7898
|
+
/***/ 7:
|
|
7899
|
+
/***/ (function(module, exports) {
|
|
7900
|
+
|
|
7901
|
+
module.exports = __webpack_require__("8bbf");
|
|
7902
|
+
|
|
7903
|
+
/***/ }),
|
|
7904
|
+
|
|
7905
|
+
/***/ 73:
|
|
7836
7906
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7837
7907
|
|
|
7838
7908
|
"use strict";
|
|
@@ -7980,7 +8050,7 @@ var dom_ = __webpack_require__(2);
|
|
|
7980
8050
|
var popup_ = __webpack_require__(13);
|
|
7981
8051
|
|
|
7982
8052
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
7983
|
-
var after_leave_ = __webpack_require__(
|
|
8053
|
+
var after_leave_ = __webpack_require__(42);
|
|
7984
8054
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
7985
8055
|
|
|
7986
8056
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8044,7 +8114,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8044
8114
|
el.mask.style[property] = el.maskStyle[property];
|
|
8045
8115
|
});
|
|
8046
8116
|
|
|
8047
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8117
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
8048
8118
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8049
8119
|
}
|
|
8050
8120
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8202,7 +8272,7 @@ var src_Loading = function Loading() {
|
|
|
8202
8272
|
});
|
|
8203
8273
|
|
|
8204
8274
|
src_addStyle(options, parent, instance);
|
|
8205
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8275
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
8206
8276
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8207
8277
|
}
|
|
8208
8278
|
if (options.fullscreen && options.lock) {
|
|
@@ -8235,13 +8305,6 @@ var src_Loading = function Loading() {
|
|
|
8235
8305
|
|
|
8236
8306
|
/***/ }),
|
|
8237
8307
|
|
|
8238
|
-
/***/ 7:
|
|
8239
|
-
/***/ (function(module, exports) {
|
|
8240
|
-
|
|
8241
|
-
module.exports = __webpack_require__("8bbf");
|
|
8242
|
-
|
|
8243
|
-
/***/ }),
|
|
8244
|
-
|
|
8245
8308
|
/***/ 9:
|
|
8246
8309
|
/***/ (function(module, exports) {
|
|
8247
8310
|
|
|
@@ -8340,7 +8403,7 @@ module.exports =
|
|
|
8340
8403
|
/******/
|
|
8341
8404
|
/******/
|
|
8342
8405
|
/******/ // Load entry module and return exports
|
|
8343
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8406
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
8344
8407
|
/******/ })
|
|
8345
8408
|
/************************************************************************/
|
|
8346
8409
|
/******/ ({
|
|
@@ -8447,7 +8510,7 @@ function normalizeComponent (
|
|
|
8447
8510
|
|
|
8448
8511
|
/***/ }),
|
|
8449
8512
|
|
|
8450
|
-
/***/
|
|
8513
|
+
/***/ 132:
|
|
8451
8514
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8452
8515
|
|
|
8453
8516
|
"use strict";
|
|
@@ -8569,13 +8632,6 @@ module.exports = require("vue");
|
|
|
8569
8632
|
|
|
8570
8633
|
/***/ }),
|
|
8571
8634
|
|
|
8572
|
-
/***/ "940c":
|
|
8573
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8574
|
-
|
|
8575
|
-
// extracted by mini-css-extract-plugin
|
|
8576
|
-
|
|
8577
|
-
/***/ }),
|
|
8578
|
-
|
|
8579
8635
|
/***/ "97d3":
|
|
8580
8636
|
/***/ (function(module, exports) {
|
|
8581
8637
|
|
|
@@ -8665,17 +8721,6 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
8665
8721
|
* https://github.com/Matt-Esch/string-template/index.js
|
|
8666
8722
|
*/
|
|
8667
8723
|
|
|
8668
|
-
/***/ }),
|
|
8669
|
-
|
|
8670
|
-
/***/ "9e82":
|
|
8671
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8672
|
-
|
|
8673
|
-
"use strict";
|
|
8674
|
-
/* 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");
|
|
8675
|
-
/* 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__);
|
|
8676
|
-
/* unused harmony reexport * */
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
8724
|
/***/ }),
|
|
8680
8725
|
|
|
8681
8726
|
/***/ "a1cc":
|
|
@@ -8772,7 +8817,7 @@ module.exports =
|
|
|
8772
8817
|
/******/
|
|
8773
8818
|
/******/
|
|
8774
8819
|
/******/ // Load entry module and return exports
|
|
8775
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8820
|
+
/******/ return __webpack_require__(__webpack_require__.s = 103);
|
|
8776
8821
|
/******/ })
|
|
8777
8822
|
/************************************************************************/
|
|
8778
8823
|
/******/ ({
|
|
@@ -8879,7 +8924,7 @@ function normalizeComponent (
|
|
|
8879
8924
|
|
|
8880
8925
|
/***/ }),
|
|
8881
8926
|
|
|
8882
|
-
/***/
|
|
8927
|
+
/***/ 103:
|
|
8883
8928
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8884
8929
|
|
|
8885
8930
|
"use strict";
|
|
@@ -9021,6 +9066,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9021
9066
|
|
|
9022
9067
|
/***/ }),
|
|
9023
9068
|
|
|
9069
|
+
/***/ "a9ee":
|
|
9070
|
+
/***/ (function(module, exports) {
|
|
9071
|
+
|
|
9072
|
+
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
9073
|
+
|
|
9074
|
+
/***/ }),
|
|
9075
|
+
|
|
9024
9076
|
/***/ "aaa5":
|
|
9025
9077
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9026
9078
|
|
|
@@ -9040,17 +9092,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9040
9092
|
|
|
9041
9093
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
9042
9094
|
|
|
9043
|
-
/***/ }),
|
|
9044
|
-
|
|
9045
|
-
/***/ "b191":
|
|
9046
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9047
|
-
|
|
9048
|
-
"use strict";
|
|
9049
|
-
/* 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");
|
|
9050
|
-
/* 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__);
|
|
9051
|
-
/* unused harmony reexport * */
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
9095
|
/***/ }),
|
|
9055
9096
|
|
|
9056
9097
|
/***/ "b2d6":
|
|
@@ -9177,6 +9218,9 @@ exports.default = {
|
|
|
9177
9218
|
popconfirm: {
|
|
9178
9219
|
confirmButtonText: 'Yes',
|
|
9179
9220
|
cancelButtonText: 'No'
|
|
9221
|
+
},
|
|
9222
|
+
empty: {
|
|
9223
|
+
description: 'No Data'
|
|
9180
9224
|
}
|
|
9181
9225
|
}
|
|
9182
9226
|
};
|
|
@@ -9190,10 +9234,14 @@ exports.default = {
|
|
|
9190
9234
|
|
|
9191
9235
|
/***/ }),
|
|
9192
9236
|
|
|
9193
|
-
/***/ "
|
|
9194
|
-
/***/ (function(module,
|
|
9237
|
+
/***/ "b64b":
|
|
9238
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9239
|
+
|
|
9240
|
+
"use strict";
|
|
9241
|
+
/* 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");
|
|
9242
|
+
/* 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__);
|
|
9243
|
+
/* unused harmony reexport * */
|
|
9195
9244
|
|
|
9196
|
-
module.exports = require("core-js/modules/web.url.js");
|
|
9197
9245
|
|
|
9198
9246
|
/***/ }),
|
|
9199
9247
|
|
|
@@ -9202,17 +9250,6 @@ module.exports = require("core-js/modules/web.url.js");
|
|
|
9202
9250
|
|
|
9203
9251
|
// extracted by mini-css-extract-plugin
|
|
9204
9252
|
|
|
9205
|
-
/***/ }),
|
|
9206
|
-
|
|
9207
|
-
/***/ "c033":
|
|
9208
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9209
|
-
|
|
9210
|
-
"use strict";
|
|
9211
|
-
/* 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");
|
|
9212
|
-
/* 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__);
|
|
9213
|
-
/* unused harmony reexport * */
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
9253
|
/***/ }),
|
|
9217
9254
|
|
|
9218
9255
|
/***/ "c2cc":
|
|
@@ -9302,12 +9339,12 @@ module.exports =
|
|
|
9302
9339
|
/******/
|
|
9303
9340
|
/******/
|
|
9304
9341
|
/******/ // Load entry module and return exports
|
|
9305
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9342
|
+
/******/ return __webpack_require__(__webpack_require__.s = 140);
|
|
9306
9343
|
/******/ })
|
|
9307
9344
|
/************************************************************************/
|
|
9308
9345
|
/******/ ({
|
|
9309
9346
|
|
|
9310
|
-
/***/
|
|
9347
|
+
/***/ 140:
|
|
9311
9348
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9312
9349
|
|
|
9313
9350
|
"use strict";
|
|
@@ -9397,13 +9434,6 @@ col.install = function (Vue) {
|
|
|
9397
9434
|
|
|
9398
9435
|
/***/ }),
|
|
9399
9436
|
|
|
9400
|
-
/***/ "c4c7":
|
|
9401
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9402
|
-
|
|
9403
|
-
// extracted by mini-css-extract-plugin
|
|
9404
|
-
|
|
9405
|
-
/***/ }),
|
|
9406
|
-
|
|
9407
9437
|
/***/ "c56a":
|
|
9408
9438
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9409
9439
|
|
|
@@ -9533,7 +9563,7 @@ module.exports =
|
|
|
9533
9563
|
/******/
|
|
9534
9564
|
/******/
|
|
9535
9565
|
/******/ // Load entry module and return exports
|
|
9536
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9566
|
+
/******/ return __webpack_require__(__webpack_require__.s = 119);
|
|
9537
9567
|
/******/ })
|
|
9538
9568
|
/************************************************************************/
|
|
9539
9569
|
/******/ ({
|
|
@@ -9640,7 +9670,7 @@ function normalizeComponent (
|
|
|
9640
9670
|
|
|
9641
9671
|
/***/ }),
|
|
9642
9672
|
|
|
9643
|
-
/***/
|
|
9673
|
+
/***/ 119:
|
|
9644
9674
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9645
9675
|
|
|
9646
9676
|
"use strict";
|
|
@@ -9819,6 +9849,13 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
9819
9849
|
|
|
9820
9850
|
/***/ }),
|
|
9821
9851
|
|
|
9852
|
+
/***/ "dc50":
|
|
9853
|
+
/***/ (function(module, exports) {
|
|
9854
|
+
|
|
9855
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
9856
|
+
|
|
9857
|
+
/***/ }),
|
|
9858
|
+
|
|
9822
9859
|
/***/ "dcdc":
|
|
9823
9860
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9824
9861
|
|
|
@@ -9906,7 +9943,7 @@ module.exports =
|
|
|
9906
9943
|
/******/
|
|
9907
9944
|
/******/
|
|
9908
9945
|
/******/ // Load entry module and return exports
|
|
9909
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9946
|
+
/******/ return __webpack_require__(__webpack_require__.s = 91);
|
|
9910
9947
|
/******/ })
|
|
9911
9948
|
/************************************************************************/
|
|
9912
9949
|
/******/ ({
|
|
@@ -10020,7 +10057,7 @@ module.exports = __webpack_require__("d010");
|
|
|
10020
10057
|
|
|
10021
10058
|
/***/ }),
|
|
10022
10059
|
|
|
10023
|
-
/***/
|
|
10060
|
+
/***/ 91:
|
|
10024
10061
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10025
10062
|
|
|
10026
10063
|
"use strict";
|
|
@@ -10591,7 +10628,7 @@ module.exports =
|
|
|
10591
10628
|
/******/
|
|
10592
10629
|
/******/
|
|
10593
10630
|
/******/ // Load entry module and return exports
|
|
10594
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10631
|
+
/******/ return __webpack_require__(__webpack_require__.s = 54);
|
|
10595
10632
|
/******/ })
|
|
10596
10633
|
/************************************************************************/
|
|
10597
10634
|
/******/ ({
|
|
@@ -10705,7 +10742,7 @@ module.exports = __webpack_require__("8122");
|
|
|
10705
10742
|
|
|
10706
10743
|
/***/ }),
|
|
10707
10744
|
|
|
10708
|
-
/***/
|
|
10745
|
+
/***/ 34:
|
|
10709
10746
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10710
10747
|
|
|
10711
10748
|
"use strict";
|
|
@@ -10963,12 +11000,12 @@ module.exports = __webpack_require__("d010");
|
|
|
10963
11000
|
|
|
10964
11001
|
/***/ }),
|
|
10965
11002
|
|
|
10966
|
-
/***/
|
|
11003
|
+
/***/ 54:
|
|
10967
11004
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10968
11005
|
|
|
10969
11006
|
"use strict";
|
|
10970
11007
|
__webpack_require__.r(__webpack_exports__);
|
|
10971
|
-
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
11008
|
+
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
|
10972
11009
|
|
|
10973
11010
|
|
|
10974
11011
|
/* istanbul ignore next */
|
|
@@ -11205,6 +11242,17 @@ module.exports = require("core-js/modules/es.array.slice.js");
|
|
|
11205
11242
|
|
|
11206
11243
|
module.exports = require("core-js/modules/es.object.keys.js");
|
|
11207
11244
|
|
|
11245
|
+
/***/ }),
|
|
11246
|
+
|
|
11247
|
+
/***/ "ec09":
|
|
11248
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11249
|
+
|
|
11250
|
+
"use strict";
|
|
11251
|
+
/* 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");
|
|
11252
|
+
/* 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__);
|
|
11253
|
+
/* unused harmony reexport * */
|
|
11254
|
+
|
|
11255
|
+
|
|
11208
11256
|
/***/ }),
|
|
11209
11257
|
|
|
11210
11258
|
/***/ "ec71":
|
|
@@ -11301,7 +11349,7 @@ module.exports =
|
|
|
11301
11349
|
/******/
|
|
11302
11350
|
/******/
|
|
11303
11351
|
/******/ // Load entry module and return exports
|
|
11304
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11352
|
+
/******/ return __webpack_require__(__webpack_require__.s = 96);
|
|
11305
11353
|
/******/ })
|
|
11306
11354
|
/************************************************************************/
|
|
11307
11355
|
/******/ ({
|
|
@@ -11408,7 +11456,7 @@ function normalizeComponent (
|
|
|
11408
11456
|
|
|
11409
11457
|
/***/ }),
|
|
11410
11458
|
|
|
11411
|
-
/***/
|
|
11459
|
+
/***/ 96:
|
|
11412
11460
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11413
11461
|
|
|
11414
11462
|
"use strict";
|
|
@@ -11522,7 +11570,7 @@ render._withStripped = true
|
|
|
11522
11570
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
11523
11571
|
},
|
|
11524
11572
|
buttonDisabled: function buttonDisabled() {
|
|
11525
|
-
return this.disabled
|
|
11573
|
+
return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
|
|
11526
11574
|
}
|
|
11527
11575
|
},
|
|
11528
11576
|
|
|
@@ -11700,6 +11748,9 @@ exports.default = {
|
|
|
11700
11748
|
popconfirm: {
|
|
11701
11749
|
confirmButtonText: '确定',
|
|
11702
11750
|
cancelButtonText: '取消'
|
|
11751
|
+
},
|
|
11752
|
+
empty: {
|
|
11753
|
+
description: '暂无数据'
|
|
11703
11754
|
}
|
|
11704
11755
|
}
|
|
11705
11756
|
};
|
|
@@ -11793,7 +11844,7 @@ module.exports =
|
|
|
11793
11844
|
/******/
|
|
11794
11845
|
/******/
|
|
11795
11846
|
/******/ // Load entry module and return exports
|
|
11796
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11847
|
+
/******/ return __webpack_require__(__webpack_require__.s = 75);
|
|
11797
11848
|
/******/ })
|
|
11798
11849
|
/************************************************************************/
|
|
11799
11850
|
/******/ ({
|
|
@@ -11921,7 +11972,7 @@ module.exports = __webpack_require__("d010");
|
|
|
11921
11972
|
|
|
11922
11973
|
/***/ }),
|
|
11923
11974
|
|
|
11924
|
-
/***/
|
|
11975
|
+
/***/ 75:
|
|
11925
11976
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11926
11977
|
|
|
11927
11978
|
"use strict";
|
|
@@ -12563,15 +12614,18 @@ var shared_ = __webpack_require__(21);
|
|
|
12563
12614
|
this.focused = true;
|
|
12564
12615
|
this.$emit('focus', event);
|
|
12565
12616
|
},
|
|
12566
|
-
handleCompositionStart: function handleCompositionStart() {
|
|
12617
|
+
handleCompositionStart: function handleCompositionStart(event) {
|
|
12618
|
+
this.$emit('compositionstart', event);
|
|
12567
12619
|
this.isComposing = true;
|
|
12568
12620
|
},
|
|
12569
12621
|
handleCompositionUpdate: function handleCompositionUpdate(event) {
|
|
12622
|
+
this.$emit('compositionupdate', event);
|
|
12570
12623
|
var text = event.target.value;
|
|
12571
12624
|
var lastCharacter = text[text.length - 1] || '';
|
|
12572
12625
|
this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
|
|
12573
12626
|
},
|
|
12574
12627
|
handleCompositionEnd: function handleCompositionEnd(event) {
|
|
12628
|
+
this.$emit('compositionend', event);
|
|
12575
12629
|
if (this.isComposing) {
|
|
12576
12630
|
this.isComposing = false;
|
|
12577
12631
|
this.handleInput(event);
|
|
@@ -12793,7 +12847,7 @@ module.exports =
|
|
|
12793
12847
|
/******/
|
|
12794
12848
|
/******/
|
|
12795
12849
|
/******/ // Load entry module and return exports
|
|
12796
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12850
|
+
/******/ return __webpack_require__(__webpack_require__.s = 88);
|
|
12797
12851
|
/******/ })
|
|
12798
12852
|
/************************************************************************/
|
|
12799
12853
|
/******/ ({
|
|
@@ -12900,7 +12954,14 @@ function normalizeComponent (
|
|
|
12900
12954
|
|
|
12901
12955
|
/***/ }),
|
|
12902
12956
|
|
|
12903
|
-
/***/
|
|
12957
|
+
/***/ 4:
|
|
12958
|
+
/***/ (function(module, exports) {
|
|
12959
|
+
|
|
12960
|
+
module.exports = __webpack_require__("d010");
|
|
12961
|
+
|
|
12962
|
+
/***/ }),
|
|
12963
|
+
|
|
12964
|
+
/***/ 88:
|
|
12904
12965
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12905
12966
|
|
|
12906
12967
|
"use strict";
|
|
@@ -12970,7 +13031,8 @@ var render = function() {
|
|
|
12970
13031
|
"aria-hidden": "true",
|
|
12971
13032
|
name: _vm.name,
|
|
12972
13033
|
disabled: _vm.isDisabled,
|
|
12973
|
-
tabindex: "-1"
|
|
13034
|
+
tabindex: "-1",
|
|
13035
|
+
autocomplete: "off"
|
|
12974
13036
|
},
|
|
12975
13037
|
domProps: {
|
|
12976
13038
|
value: _vm.label,
|
|
@@ -13067,6 +13129,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
13067
13129
|
//
|
|
13068
13130
|
//
|
|
13069
13131
|
//
|
|
13132
|
+
//
|
|
13070
13133
|
|
|
13071
13134
|
|
|
13072
13135
|
|
|
@@ -13193,13 +13256,6 @@ src_radio.install = function (Vue) {
|
|
|
13193
13256
|
|
|
13194
13257
|
/* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
|
|
13195
13258
|
|
|
13196
|
-
/***/ }),
|
|
13197
|
-
|
|
13198
|
-
/***/ 4:
|
|
13199
|
-
/***/ (function(module, exports) {
|
|
13200
|
-
|
|
13201
|
-
module.exports = __webpack_require__("d010");
|
|
13202
|
-
|
|
13203
13259
|
/***/ })
|
|
13204
13260
|
|
|
13205
13261
|
/******/ });
|
|
@@ -13255,52 +13311,542 @@ if (typeof window !== 'undefined') {
|
|
|
13255
13311
|
// Indicate to webpack that this file can be concatenated
|
|
13256
13312
|
/* harmony default export */ var setPublicPath = (null);
|
|
13257
13313
|
|
|
13258
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13259
|
-
var render = function () {
|
|
13260
|
-
var
|
|
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
|
-
|
|
13295
|
-
|
|
13296
|
-
|
|
13297
|
-
|
|
13298
|
-
|
|
13299
|
-
|
|
13300
|
-
|
|
13301
|
-
|
|
13302
|
-
|
|
13303
|
-
|
|
13314
|
+
// 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&
|
|
13315
|
+
var render = function render() {
|
|
13316
|
+
var _vm = this,
|
|
13317
|
+
_c = _vm._self._c;
|
|
13318
|
+
return _c('div', {
|
|
13319
|
+
directives: [{
|
|
13320
|
+
name: "loading",
|
|
13321
|
+
rawName: "v-loading",
|
|
13322
|
+
value: _vm.loading,
|
|
13323
|
+
expression: "loading"
|
|
13324
|
+
}],
|
|
13325
|
+
ref: "flatmapContainer",
|
|
13326
|
+
staticClass: "flatmap-container",
|
|
13327
|
+
attrs: {
|
|
13328
|
+
"element-loading-text": "Loading...",
|
|
13329
|
+
"element-loading-spinner": "el-icon-loading",
|
|
13330
|
+
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
13331
|
+
}
|
|
13332
|
+
}, [_c('map-svg-sprite-color'), _c('div', {
|
|
13333
|
+
staticStyle: {
|
|
13334
|
+
"height": "100%",
|
|
13335
|
+
"width": "100%",
|
|
13336
|
+
"position": "relative",
|
|
13337
|
+
"overflow-y": "none"
|
|
13338
|
+
}
|
|
13339
|
+
}, [_c('div', {
|
|
13340
|
+
ref: "display",
|
|
13341
|
+
staticStyle: {
|
|
13342
|
+
"height": "100%",
|
|
13343
|
+
"width": "100%"
|
|
13344
|
+
}
|
|
13345
|
+
}), _c('div', {
|
|
13346
|
+
staticClass: "beta-popovers"
|
|
13347
|
+
}, [_c('div', [_c('el-popover', {
|
|
13348
|
+
ref: "warningPopover",
|
|
13349
|
+
attrs: {
|
|
13350
|
+
"content": _vm.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _vm.warningMessage,
|
|
13351
|
+
"placement": "right",
|
|
13352
|
+
"appendToBody": false,
|
|
13353
|
+
"trigger": "manual",
|
|
13354
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13355
|
+
},
|
|
13356
|
+
model: {
|
|
13357
|
+
value: _vm.hoverVisibilities[6].value,
|
|
13358
|
+
callback: function callback($$v) {
|
|
13359
|
+
_vm.$set(_vm.hoverVisibilities[6], "value", $$v);
|
|
13360
|
+
},
|
|
13361
|
+
expression: "hoverVisibilities[6].value"
|
|
13362
|
+
}
|
|
13363
|
+
}), _vm.displayWarning && _vm.warningMessage ? _c('i', {
|
|
13364
|
+
directives: [{
|
|
13365
|
+
name: "popover",
|
|
13366
|
+
rawName: "v-popover:warningPopover",
|
|
13367
|
+
arg: "warningPopover"
|
|
13368
|
+
}],
|
|
13369
|
+
staticClass: "el-icon-warning warning-icon",
|
|
13370
|
+
on: {
|
|
13371
|
+
"mouseover": function mouseover($event) {
|
|
13372
|
+
return _vm.showToolitip(6);
|
|
13373
|
+
},
|
|
13374
|
+
"mouseout": function mouseout($event) {
|
|
13375
|
+
return _vm.hideToolitip(6);
|
|
13376
|
+
}
|
|
13377
|
+
}
|
|
13378
|
+
}, [_vm.isLegacy ? [_c('span', {
|
|
13379
|
+
staticClass: "warning-text"
|
|
13380
|
+
}, [_vm._v("Legacy Map")]), _c('div', {
|
|
13381
|
+
staticClass: "latest-map-text",
|
|
13382
|
+
on: {
|
|
13383
|
+
"click": _vm.viewLatestMap
|
|
13384
|
+
}
|
|
13385
|
+
}, [_vm._v("Click here for the latest map")])] : [_c('span', {
|
|
13386
|
+
staticClass: "warning-text"
|
|
13387
|
+
}, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
13388
|
+
ref: "latestChangesPopover",
|
|
13389
|
+
attrs: {
|
|
13390
|
+
"content": _vm.latestChangesMessage,
|
|
13391
|
+
"placement": "right",
|
|
13392
|
+
"appendToBody": false,
|
|
13393
|
+
"trigger": "manual",
|
|
13394
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13395
|
+
},
|
|
13396
|
+
model: {
|
|
13397
|
+
value: _vm.hoverVisibilities[7].value,
|
|
13398
|
+
callback: function callback($$v) {
|
|
13399
|
+
_vm.$set(_vm.hoverVisibilities[7], "value", $$v);
|
|
13400
|
+
},
|
|
13401
|
+
expression: "hoverVisibilities[7].value"
|
|
13402
|
+
}
|
|
13403
|
+
}) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
|
|
13404
|
+
directives: [{
|
|
13405
|
+
name: "popover",
|
|
13406
|
+
rawName: "v-popover:latestChangesPopover",
|
|
13407
|
+
arg: "latestChangesPopover"
|
|
13408
|
+
}],
|
|
13409
|
+
staticClass: "el-icon-warning latest-changesicon",
|
|
13410
|
+
on: {
|
|
13411
|
+
"mouseover": function mouseover($event) {
|
|
13412
|
+
return _vm.showToolitip(7);
|
|
13413
|
+
},
|
|
13414
|
+
"mouseout": function mouseout($event) {
|
|
13415
|
+
return _vm.hideToolitip(7);
|
|
13416
|
+
}
|
|
13417
|
+
}
|
|
13418
|
+
}, [_c('span', {
|
|
13419
|
+
staticClass: "warning-text"
|
|
13420
|
+
}, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('i', {
|
|
13421
|
+
directives: [{
|
|
13422
|
+
name: "show",
|
|
13423
|
+
rawName: "v-show",
|
|
13424
|
+
value: _vm.minimapResizeShow,
|
|
13425
|
+
expression: "minimapResizeShow"
|
|
13426
|
+
}],
|
|
13427
|
+
ref: "minimapResize",
|
|
13428
|
+
staticClass: "el-icon-arrow-down minimap-resize",
|
|
13429
|
+
class: {
|
|
13430
|
+
enlarge: _vm.minimapSmall,
|
|
13431
|
+
shrink: !_vm.minimapSmall
|
|
13432
|
+
},
|
|
13433
|
+
on: {
|
|
13434
|
+
"click": _vm.closeMinimap
|
|
13435
|
+
}
|
|
13436
|
+
}), _c('div', {
|
|
13437
|
+
staticClass: "bottom-right-control"
|
|
13438
|
+
}, [_c('el-popover', {
|
|
13439
|
+
attrs: {
|
|
13440
|
+
"content": "Zoom in",
|
|
13441
|
+
"placement": "left",
|
|
13442
|
+
"appendToBody": false,
|
|
13443
|
+
"trigger": "manual",
|
|
13444
|
+
"popper-class": "flatmap-popper left-popper"
|
|
13445
|
+
},
|
|
13446
|
+
model: {
|
|
13447
|
+
value: _vm.hoverVisibilities[0].value,
|
|
13448
|
+
callback: function callback($$v) {
|
|
13449
|
+
_vm.$set(_vm.hoverVisibilities[0], "value", $$v);
|
|
13450
|
+
},
|
|
13451
|
+
expression: "hoverVisibilities[0].value"
|
|
13452
|
+
}
|
|
13453
|
+
}, [_c('map-svg-icon', {
|
|
13454
|
+
staticClass: "icon-button zoomIn",
|
|
13455
|
+
attrs: {
|
|
13456
|
+
"slot": "reference",
|
|
13457
|
+
"icon": "zoomIn"
|
|
13458
|
+
},
|
|
13459
|
+
nativeOn: {
|
|
13460
|
+
"click": function click($event) {
|
|
13461
|
+
return _vm.zoomIn();
|
|
13462
|
+
},
|
|
13463
|
+
"mouseover": function mouseover($event) {
|
|
13464
|
+
return _vm.showToolitip(0);
|
|
13465
|
+
},
|
|
13466
|
+
"mouseout": function mouseout($event) {
|
|
13467
|
+
return _vm.hideToolitip(0);
|
|
13468
|
+
}
|
|
13469
|
+
},
|
|
13470
|
+
slot: "reference"
|
|
13471
|
+
})], 1), _c('el-popover', {
|
|
13472
|
+
attrs: {
|
|
13473
|
+
"content": "Zoom out",
|
|
13474
|
+
"placement": "top-end",
|
|
13475
|
+
"appendToBody": false,
|
|
13476
|
+
"trigger": "manual",
|
|
13477
|
+
"popper-class": "flatmap-popper popper-zoomout"
|
|
13478
|
+
},
|
|
13479
|
+
model: {
|
|
13480
|
+
value: _vm.hoverVisibilities[1].value,
|
|
13481
|
+
callback: function callback($$v) {
|
|
13482
|
+
_vm.$set(_vm.hoverVisibilities[1], "value", $$v);
|
|
13483
|
+
},
|
|
13484
|
+
expression: "hoverVisibilities[1].value"
|
|
13485
|
+
}
|
|
13486
|
+
}, [_c('map-svg-icon', {
|
|
13487
|
+
staticClass: "icon-button zoomOut",
|
|
13488
|
+
attrs: {
|
|
13489
|
+
"slot": "reference",
|
|
13490
|
+
"icon": "zoomOut"
|
|
13491
|
+
},
|
|
13492
|
+
nativeOn: {
|
|
13493
|
+
"click": function click($event) {
|
|
13494
|
+
return _vm.zoomOut();
|
|
13495
|
+
},
|
|
13496
|
+
"mouseover": function mouseover($event) {
|
|
13497
|
+
return _vm.showToolitip(1);
|
|
13498
|
+
},
|
|
13499
|
+
"mouseout": function mouseout($event) {
|
|
13500
|
+
return _vm.hideToolitip(1);
|
|
13501
|
+
}
|
|
13502
|
+
},
|
|
13503
|
+
slot: "reference"
|
|
13504
|
+
})], 1), _c('el-popover', {
|
|
13505
|
+
attrs: {
|
|
13506
|
+
"content": "Reset",
|
|
13507
|
+
"placement": "top",
|
|
13508
|
+
"appendToBody": false,
|
|
13509
|
+
"trigger": "manual",
|
|
13510
|
+
"popper-class": "flatmap-popper"
|
|
13511
|
+
},
|
|
13512
|
+
model: {
|
|
13513
|
+
value: _vm.hoverVisibilities[2].value,
|
|
13514
|
+
callback: function callback($$v) {
|
|
13515
|
+
_vm.$set(_vm.hoverVisibilities[2], "value", $$v);
|
|
13516
|
+
},
|
|
13517
|
+
expression: "hoverVisibilities[2].value"
|
|
13518
|
+
}
|
|
13519
|
+
}, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
|
|
13520
|
+
staticClass: "icon-button fitWindow",
|
|
13521
|
+
attrs: {
|
|
13522
|
+
"slot": "reference",
|
|
13523
|
+
"icon": "fitWindow"
|
|
13524
|
+
},
|
|
13525
|
+
nativeOn: {
|
|
13526
|
+
"click": function click($event) {
|
|
13527
|
+
return _vm.resetView();
|
|
13528
|
+
},
|
|
13529
|
+
"mouseover": function mouseover($event) {
|
|
13530
|
+
return _vm.showToolitip(2);
|
|
13531
|
+
},
|
|
13532
|
+
"mouseout": function mouseout($event) {
|
|
13533
|
+
return _vm.hideToolitip(2);
|
|
13534
|
+
}
|
|
13535
|
+
},
|
|
13536
|
+
slot: "reference"
|
|
13537
|
+
})], 1)], 1), _c('el-popover', {
|
|
13538
|
+
ref: "checkBoxPopover",
|
|
13539
|
+
attrs: {
|
|
13540
|
+
"content": "Change pathway visibility",
|
|
13541
|
+
"placement": "right",
|
|
13542
|
+
"appendToBody": false,
|
|
13543
|
+
"trigger": "manual",
|
|
13544
|
+
"popper-class": "flatmap-popper right-popper"
|
|
13545
|
+
},
|
|
13546
|
+
model: {
|
|
13547
|
+
value: _vm.hoverVisibilities[4].value,
|
|
13548
|
+
callback: function callback($$v) {
|
|
13549
|
+
_vm.$set(_vm.hoverVisibilities[4], "value", $$v);
|
|
13550
|
+
},
|
|
13551
|
+
expression: "hoverVisibilities[4].value"
|
|
13552
|
+
}
|
|
13553
|
+
}), _c('div', {
|
|
13554
|
+
staticClass: "pathway-location",
|
|
13555
|
+
class: {
|
|
13556
|
+
open: _vm.drawerOpen,
|
|
13557
|
+
close: !_vm.drawerOpen
|
|
13558
|
+
}
|
|
13559
|
+
}, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
|
|
13560
|
+
directives: [{
|
|
13561
|
+
name: "popover",
|
|
13562
|
+
rawName: "v-popover:checkBoxPopover",
|
|
13563
|
+
arg: "checkBoxPopover"
|
|
13564
|
+
}],
|
|
13565
|
+
staticClass: "pathway-container"
|
|
13566
|
+
}, [_c('svg-legends', {
|
|
13567
|
+
staticClass: "svg-legends-container"
|
|
13568
|
+
}), _c('el-popover', {
|
|
13569
|
+
ref: "markerPopover",
|
|
13570
|
+
attrs: {
|
|
13571
|
+
"content": "Find these markers for data",
|
|
13572
|
+
"placement": "right",
|
|
13573
|
+
"appendToBody": false,
|
|
13574
|
+
"trigger": "manual",
|
|
13575
|
+
"popper-class": "flatmap-popper popper-bump-right right-popper"
|
|
13576
|
+
},
|
|
13577
|
+
model: {
|
|
13578
|
+
value: _vm.hoverVisibilities[5].value,
|
|
13579
|
+
callback: function callback($$v) {
|
|
13580
|
+
_vm.$set(_vm.hoverVisibilities[5], "value", $$v);
|
|
13581
|
+
},
|
|
13582
|
+
expression: "hoverVisibilities[5].value"
|
|
13583
|
+
}
|
|
13584
|
+
}), _c('div', {
|
|
13585
|
+
directives: [{
|
|
13586
|
+
name: "show",
|
|
13587
|
+
rawName: "v-show",
|
|
13588
|
+
value: _vm.hoverVisibilities[5].value,
|
|
13589
|
+
expression: "hoverVisibilities[5].value"
|
|
13590
|
+
}, {
|
|
13591
|
+
name: "popover",
|
|
13592
|
+
rawName: "v-popover:markerPopover",
|
|
13593
|
+
arg: "markerPopover"
|
|
13594
|
+
}],
|
|
13595
|
+
staticClass: "flatmap-marker-help",
|
|
13596
|
+
domProps: {
|
|
13597
|
+
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13598
|
+
}
|
|
13599
|
+
}), _c('el-row', [_c('el-col', {
|
|
13600
|
+
attrs: {
|
|
13601
|
+
"span": 12
|
|
13602
|
+
}
|
|
13603
|
+
}, [_c('div', {
|
|
13604
|
+
staticClass: "pathways-display-text"
|
|
13605
|
+
}, [_vm._v("Pathways")])]), _c('el-col', {
|
|
13606
|
+
attrs: {
|
|
13607
|
+
"span": 12
|
|
13608
|
+
}
|
|
13609
|
+
}, [_c('el-checkbox', {
|
|
13610
|
+
staticClass: "all-checkbox",
|
|
13611
|
+
attrs: {
|
|
13612
|
+
"indeterminate": _vm.isIndeterminate
|
|
13613
|
+
},
|
|
13614
|
+
on: {
|
|
13615
|
+
"change": _vm.handleCheckAllChange
|
|
13616
|
+
},
|
|
13617
|
+
model: {
|
|
13618
|
+
value: _vm.checkAll,
|
|
13619
|
+
callback: function callback($$v) {
|
|
13620
|
+
_vm.checkAll = $$v;
|
|
13621
|
+
},
|
|
13622
|
+
expression: "checkAll"
|
|
13623
|
+
}
|
|
13624
|
+
}, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
|
|
13625
|
+
staticClass: "checkbox-group",
|
|
13626
|
+
attrs: {
|
|
13627
|
+
"size": "small"
|
|
13628
|
+
},
|
|
13629
|
+
on: {
|
|
13630
|
+
"change": _vm.handleCheckedItemsChange
|
|
13631
|
+
},
|
|
13632
|
+
model: {
|
|
13633
|
+
value: _vm.checkedItems,
|
|
13634
|
+
callback: function callback($$v) {
|
|
13635
|
+
_vm.checkedItems = $$v;
|
|
13636
|
+
},
|
|
13637
|
+
expression: "checkedItems"
|
|
13638
|
+
}
|
|
13639
|
+
}, [_c('div', {
|
|
13640
|
+
staticClass: "checkbox-group-inner"
|
|
13641
|
+
}, _vm._l(_vm.pathways, function (item) {
|
|
13642
|
+
return _c('el-row', {
|
|
13643
|
+
key: item.type,
|
|
13644
|
+
attrs: {
|
|
13645
|
+
"label": item.type
|
|
13646
|
+
}
|
|
13647
|
+
}, [_c('div', {
|
|
13648
|
+
staticClass: "checkbox-container"
|
|
13649
|
+
}, [_c('el-checkbox', {
|
|
13650
|
+
staticClass: "my-checkbox",
|
|
13651
|
+
attrs: {
|
|
13652
|
+
"label": item.type,
|
|
13653
|
+
"checked": true
|
|
13654
|
+
},
|
|
13655
|
+
on: {
|
|
13656
|
+
"change": function change($event) {
|
|
13657
|
+
return _vm.visibilityToggle();
|
|
13658
|
+
}
|
|
13659
|
+
}
|
|
13660
|
+
}, [_c('div', {
|
|
13661
|
+
staticClass: "path-visual",
|
|
13662
|
+
class: item.type
|
|
13663
|
+
}), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
|
|
13664
|
+
}), 1)])], 1) : _vm._e(), _c('div', {
|
|
13665
|
+
staticClass: "drawer-button",
|
|
13666
|
+
class: {
|
|
13667
|
+
open: _vm.drawerOpen,
|
|
13668
|
+
close: !_vm.drawerOpen
|
|
13669
|
+
},
|
|
13670
|
+
on: {
|
|
13671
|
+
"click": _vm.toggleDrawer
|
|
13672
|
+
}
|
|
13673
|
+
}, [_c('i', {
|
|
13674
|
+
staticClass: "el-icon-arrow-left"
|
|
13675
|
+
})])]), _c('el-popover', {
|
|
13676
|
+
ref: "backgroundPopover",
|
|
13677
|
+
attrs: {
|
|
13678
|
+
"placement": "top-start",
|
|
13679
|
+
"width": "175",
|
|
13680
|
+
"appendToBody": false,
|
|
13681
|
+
"trigger": "click",
|
|
13682
|
+
"popper-class": "background-popper"
|
|
13683
|
+
}
|
|
13684
|
+
}, [_c('el-row', {
|
|
13685
|
+
staticClass: "backgroundText"
|
|
13686
|
+
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
13687
|
+
staticClass: "backgroundControl"
|
|
13688
|
+
}, [_c('el-radio-group', {
|
|
13689
|
+
staticClass: "flatmap-radio",
|
|
13690
|
+
on: {
|
|
13691
|
+
"change": _vm.setColour
|
|
13692
|
+
},
|
|
13693
|
+
model: {
|
|
13694
|
+
value: _vm.colourRadio,
|
|
13695
|
+
callback: function callback($$v) {
|
|
13696
|
+
_vm.colourRadio = $$v;
|
|
13697
|
+
},
|
|
13698
|
+
expression: "colourRadio"
|
|
13699
|
+
}
|
|
13700
|
+
}, [_c('el-radio', {
|
|
13701
|
+
attrs: {
|
|
13702
|
+
"label": true
|
|
13703
|
+
}
|
|
13704
|
+
}, [_vm._v("Colour")]), _c('el-radio', {
|
|
13705
|
+
attrs: {
|
|
13706
|
+
"label": false
|
|
13707
|
+
}
|
|
13708
|
+
}, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
|
|
13709
|
+
staticClass: "backgroundSpacer"
|
|
13710
|
+
}), _c('el-row', {
|
|
13711
|
+
staticClass: "backgroundText"
|
|
13712
|
+
}, [_vm._v("Outlines display")]), _c('el-row', {
|
|
13713
|
+
staticClass: "backgroundControl"
|
|
13714
|
+
}, [_c('el-radio-group', {
|
|
13715
|
+
staticClass: "flatmap-radio",
|
|
13716
|
+
on: {
|
|
13717
|
+
"change": _vm.setOutlines
|
|
13718
|
+
},
|
|
13719
|
+
model: {
|
|
13720
|
+
value: _vm.outlinesRadio,
|
|
13721
|
+
callback: function callback($$v) {
|
|
13722
|
+
_vm.outlinesRadio = $$v;
|
|
13723
|
+
},
|
|
13724
|
+
expression: "outlinesRadio"
|
|
13725
|
+
}
|
|
13726
|
+
}, [_c('el-radio', {
|
|
13727
|
+
attrs: {
|
|
13728
|
+
"label": true
|
|
13729
|
+
}
|
|
13730
|
+
}, [_vm._v("Show")]), _c('el-radio', {
|
|
13731
|
+
attrs: {
|
|
13732
|
+
"label": false
|
|
13733
|
+
}
|
|
13734
|
+
}, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
|
|
13735
|
+
staticClass: "backgroundSpacer"
|
|
13736
|
+
}), _c('el-row', {
|
|
13737
|
+
staticClass: "backgroundText"
|
|
13738
|
+
}, [_vm._v("Change background")]), _c('el-row', {
|
|
13739
|
+
staticClass: "backgroundControl"
|
|
13740
|
+
}, _vm._l(_vm.availableBackground, function (item) {
|
|
13741
|
+
return _c('div', {
|
|
13742
|
+
key: item,
|
|
13743
|
+
class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
|
|
13744
|
+
on: {
|
|
13745
|
+
"click": function click($event) {
|
|
13746
|
+
return _vm.backgroundChangeCallback(item);
|
|
13747
|
+
}
|
|
13748
|
+
}
|
|
13749
|
+
});
|
|
13750
|
+
}), 0)], 1), _c('el-popover', {
|
|
13751
|
+
attrs: {
|
|
13752
|
+
"content": "Change background color",
|
|
13753
|
+
"placement": "right",
|
|
13754
|
+
"appendToBody": false,
|
|
13755
|
+
"trigger": "manual",
|
|
13756
|
+
"popper-class": "flatmap-popper right-popper"
|
|
13757
|
+
},
|
|
13758
|
+
model: {
|
|
13759
|
+
value: _vm.hoverVisibilities[3].value,
|
|
13760
|
+
callback: function callback($$v) {
|
|
13761
|
+
_vm.$set(_vm.hoverVisibilities[3], "value", $$v);
|
|
13762
|
+
},
|
|
13763
|
+
expression: "hoverVisibilities[3].value"
|
|
13764
|
+
}
|
|
13765
|
+
}, [_c('map-svg-icon', {
|
|
13766
|
+
directives: [{
|
|
13767
|
+
name: "popover",
|
|
13768
|
+
rawName: "v-popover:backgroundPopover",
|
|
13769
|
+
arg: "backgroundPopover"
|
|
13770
|
+
}],
|
|
13771
|
+
staticClass: "icon-button background-colour",
|
|
13772
|
+
class: {
|
|
13773
|
+
open: _vm.drawerOpen,
|
|
13774
|
+
close: !_vm.drawerOpen
|
|
13775
|
+
},
|
|
13776
|
+
attrs: {
|
|
13777
|
+
"slot": "reference",
|
|
13778
|
+
"icon": "changeBckgd"
|
|
13779
|
+
},
|
|
13780
|
+
nativeOn: {
|
|
13781
|
+
"mouseover": function mouseover($event) {
|
|
13782
|
+
return _vm.showToolitip(3);
|
|
13783
|
+
},
|
|
13784
|
+
"mouseout": function mouseout($event) {
|
|
13785
|
+
return _vm.hideToolitip(3);
|
|
13786
|
+
}
|
|
13787
|
+
},
|
|
13788
|
+
slot: "reference"
|
|
13789
|
+
})], 1), _c('Tooltip', {
|
|
13790
|
+
ref: "tooltip",
|
|
13791
|
+
staticClass: "tooltip",
|
|
13792
|
+
attrs: {
|
|
13793
|
+
"content": _vm.tooltipContent
|
|
13794
|
+
},
|
|
13795
|
+
on: {
|
|
13796
|
+
"resource-selected": _vm.resourceSelected
|
|
13797
|
+
}
|
|
13798
|
+
})], 1)], 1);
|
|
13799
|
+
};
|
|
13800
|
+
var staticRenderFns = [];
|
|
13801
|
+
|
|
13802
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=6c4be18e&scoped=true&
|
|
13803
|
+
|
|
13804
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13805
|
+
var es_symbol_js_ = __webpack_require__("9b22");
|
|
13806
|
+
|
|
13807
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
13808
|
+
var es_symbol_description_js_ = __webpack_require__("4933");
|
|
13809
|
+
|
|
13810
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
13811
|
+
var es_object_to_string_js_ = __webpack_require__("97d3");
|
|
13812
|
+
|
|
13813
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
|
|
13814
|
+
var es_symbol_iterator_js_ = __webpack_require__("2ff9");
|
|
13815
|
+
|
|
13816
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
|
|
13817
|
+
var es_array_iterator_js_ = __webpack_require__("4ccb");
|
|
13818
|
+
|
|
13819
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
13820
|
+
var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
13821
|
+
|
|
13822
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
13823
|
+
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
13824
|
+
|
|
13825
|
+
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
13826
|
+
var es_error_cause_js_ = __webpack_require__("dc50");
|
|
13827
|
+
|
|
13828
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
|
|
13829
|
+
var es_array_slice_js_ = __webpack_require__("ea12");
|
|
13830
|
+
|
|
13831
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
13832
|
+
var es_function_name_js_ = __webpack_require__("db0a");
|
|
13833
|
+
|
|
13834
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
13835
|
+
var es_array_from_js_ = __webpack_require__("4362");
|
|
13836
|
+
|
|
13837
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
13838
|
+
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
13839
|
+
|
|
13840
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
|
|
13841
|
+
var es_regexp_test_js_ = __webpack_require__("5a3b");
|
|
13842
|
+
|
|
13843
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
13844
|
+
function _arrayLikeToArray(arr, len) {
|
|
13845
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
13846
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
13847
|
+
arr2[i] = arr[i];
|
|
13848
|
+
}
|
|
13849
|
+
return arr2;
|
|
13304
13850
|
}
|
|
13305
13851
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
13306
13852
|
|
|
@@ -13309,6 +13855,8 @@ function _arrayLikeToArray(arr, len) {
|
|
|
13309
13855
|
|
|
13310
13856
|
|
|
13311
13857
|
|
|
13858
|
+
|
|
13859
|
+
|
|
13312
13860
|
function _unsupportedIterableToArray(o, minLen) {
|
|
13313
13861
|
if (!o) return;
|
|
13314
13862
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -13326,16 +13874,14 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
13326
13874
|
|
|
13327
13875
|
|
|
13328
13876
|
|
|
13877
|
+
|
|
13329
13878
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
13330
13879
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
13331
|
-
|
|
13332
13880
|
if (!it) {
|
|
13333
13881
|
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
13334
13882
|
if (it) o = it;
|
|
13335
13883
|
var i = 0;
|
|
13336
|
-
|
|
13337
13884
|
var F = function F() {};
|
|
13338
|
-
|
|
13339
13885
|
return {
|
|
13340
13886
|
s: F,
|
|
13341
13887
|
n: function n() {
|
|
@@ -13353,13 +13899,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13353
13899
|
f: F
|
|
13354
13900
|
};
|
|
13355
13901
|
}
|
|
13356
|
-
|
|
13357
13902
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13358
13903
|
}
|
|
13359
|
-
|
|
13360
13904
|
var normalCompletion = true,
|
|
13361
|
-
|
|
13362
|
-
|
|
13905
|
+
didErr = false,
|
|
13906
|
+
err;
|
|
13363
13907
|
return {
|
|
13364
13908
|
s: function s() {
|
|
13365
13909
|
it = it.call(o);
|
|
@@ -13443,11 +13987,8 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
13443
13987
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13444
13988
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13445
13989
|
|
|
13446
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
13447
|
-
var
|
|
13448
|
-
|
|
13449
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
|
|
13450
|
-
var es_string_split_js_ = __webpack_require__("0cda");
|
|
13990
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
13991
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
13451
13992
|
|
|
13452
13993
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13453
13994
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
@@ -13465,10 +14006,156 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
13465
14006
|
var external_vue_ = __webpack_require__("8bbf");
|
|
13466
14007
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
13467
14008
|
|
|
13468
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13469
|
-
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function () {
|
|
13470
|
-
var
|
|
13471
|
-
|
|
14009
|
+
// 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&
|
|
14010
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function render() {
|
|
14011
|
+
var _vm = this,
|
|
14012
|
+
_c = _vm._self._c;
|
|
14013
|
+
return _c('div', {
|
|
14014
|
+
staticClass: "tooltip-container"
|
|
14015
|
+
}, [_vm.content ? _c('el-main', {
|
|
14016
|
+
directives: [{
|
|
14017
|
+
name: "loading",
|
|
14018
|
+
rawName: "v-loading",
|
|
14019
|
+
value: _vm.loading,
|
|
14020
|
+
expression: "loading"
|
|
14021
|
+
}],
|
|
14022
|
+
staticClass: "main"
|
|
14023
|
+
}, [_vm.content.title ? _c('div', {
|
|
14024
|
+
staticClass: "block"
|
|
14025
|
+
}, [_c('span', {
|
|
14026
|
+
staticClass: "title"
|
|
14027
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
|
|
14028
|
+
staticClass: "block"
|
|
14029
|
+
}, [_c('span', {
|
|
14030
|
+
staticClass: "title"
|
|
14031
|
+
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
14032
|
+
staticClass: "content-container scrollbar"
|
|
14033
|
+
}, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
14034
|
+
staticClass: "block"
|
|
14035
|
+
}, [_c('div', [_c('span', {
|
|
14036
|
+
staticClass: "attribute-title"
|
|
14037
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
14038
|
+
attrs: {
|
|
14039
|
+
"width": "250",
|
|
14040
|
+
"trigger": "hover",
|
|
14041
|
+
"append-to-body": false,
|
|
14042
|
+
"popper-class": "popover-origin-help"
|
|
14043
|
+
}
|
|
14044
|
+
}, [_c('i', {
|
|
14045
|
+
staticClass: "el-icon-warning-outline info",
|
|
14046
|
+
attrs: {
|
|
14047
|
+
"slot": "reference"
|
|
14048
|
+
},
|
|
14049
|
+
slot: "reference"
|
|
14050
|
+
}), _c('span', {
|
|
14051
|
+
staticStyle: {
|
|
14052
|
+
"word-break": "keep-all"
|
|
14053
|
+
}
|
|
14054
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
14055
|
+
return _c('div', {
|
|
14056
|
+
key: origin,
|
|
14057
|
+
staticClass: "attribute-content"
|
|
14058
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
14059
|
+
staticClass: "seperator"
|
|
14060
|
+
}) : _vm._e()]);
|
|
14061
|
+
}), _c('el-button', {
|
|
14062
|
+
directives: [{
|
|
14063
|
+
name: "show",
|
|
14064
|
+
rawName: "v-show",
|
|
14065
|
+
value: _vm.originsWithDatasets.length > 0,
|
|
14066
|
+
expression: "originsWithDatasets.length > 0"
|
|
14067
|
+
}],
|
|
14068
|
+
staticClass: "button",
|
|
14069
|
+
on: {
|
|
14070
|
+
"click": _vm.openDendrites
|
|
14071
|
+
}
|
|
14072
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
|
|
14073
|
+
staticClass: "block"
|
|
14074
|
+
}, [_c('div', {
|
|
14075
|
+
staticClass: "attribute-title"
|
|
14076
|
+
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
14077
|
+
return _c('div', {
|
|
14078
|
+
key: component,
|
|
14079
|
+
staticClass: "attribute-content"
|
|
14080
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
14081
|
+
staticClass: "seperator"
|
|
14082
|
+
}) : _vm._e()]);
|
|
14083
|
+
})], 2) : _vm._e(), this.destinations ? _c('div', {
|
|
14084
|
+
staticClass: "block"
|
|
14085
|
+
}, [_c('div', [_c('span', {
|
|
14086
|
+
staticClass: "attribute-title"
|
|
14087
|
+
}, [_vm._v("Destination")]), _c('el-popover', {
|
|
14088
|
+
attrs: {
|
|
14089
|
+
"width": "250",
|
|
14090
|
+
"trigger": "hover",
|
|
14091
|
+
"append-to-body": false,
|
|
14092
|
+
"popper-class": "popover-origin-help"
|
|
14093
|
+
}
|
|
14094
|
+
}, [_c('i', {
|
|
14095
|
+
staticClass: "el-icon-warning-outline info",
|
|
14096
|
+
attrs: {
|
|
14097
|
+
"slot": "reference"
|
|
14098
|
+
},
|
|
14099
|
+
slot: "reference"
|
|
14100
|
+
}), _c('span', {
|
|
14101
|
+
staticStyle: {
|
|
14102
|
+
"word-break": "keep-all"
|
|
14103
|
+
}
|
|
14104
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
14105
|
+
return _c('div', {
|
|
14106
|
+
key: destination,
|
|
14107
|
+
staticClass: "attribute-content"
|
|
14108
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
14109
|
+
staticClass: "seperator"
|
|
14110
|
+
}) : _vm._e()]);
|
|
14111
|
+
}), _c('el-button', {
|
|
14112
|
+
directives: [{
|
|
14113
|
+
name: "show",
|
|
14114
|
+
rawName: "v-show",
|
|
14115
|
+
value: _vm.destinationsWithDatasets.length > 0,
|
|
14116
|
+
expression: "destinationsWithDatasets.length > 0"
|
|
14117
|
+
}],
|
|
14118
|
+
staticClass: "button",
|
|
14119
|
+
on: {
|
|
14120
|
+
"click": _vm.openAxons
|
|
14121
|
+
}
|
|
14122
|
+
}, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
|
|
14123
|
+
directives: [{
|
|
14124
|
+
name: "show",
|
|
14125
|
+
rawName: "v-show",
|
|
14126
|
+
value: _vm.components.length > 0,
|
|
14127
|
+
expression: "components.length > 0"
|
|
14128
|
+
}],
|
|
14129
|
+
staticClass: "button",
|
|
14130
|
+
on: {
|
|
14131
|
+
"click": _vm.openAll
|
|
14132
|
+
}
|
|
14133
|
+
}, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
|
|
14134
|
+
directives: [{
|
|
14135
|
+
name: "show",
|
|
14136
|
+
rawName: "v-show",
|
|
14137
|
+
value: false,
|
|
14138
|
+
expression: "false"
|
|
14139
|
+
}],
|
|
14140
|
+
attrs: {
|
|
14141
|
+
"entry": _vm.content
|
|
14142
|
+
},
|
|
14143
|
+
on: {
|
|
14144
|
+
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14145
|
+
}
|
|
14146
|
+
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14147
|
+
staticClass: "button",
|
|
14148
|
+
attrs: {
|
|
14149
|
+
"icon": "el-icon-notebook-2"
|
|
14150
|
+
},
|
|
14151
|
+
on: {
|
|
14152
|
+
"click": function click($event) {
|
|
14153
|
+
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14154
|
+
}
|
|
14155
|
+
}
|
|
14156
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
14157
|
+
};
|
|
14158
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
|
|
13472
14159
|
|
|
13473
14160
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
13474
14161
|
|
|
@@ -13490,6 +14177,7 @@ function _iterableToArray(iter) {
|
|
|
13490
14177
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
13491
14178
|
}
|
|
13492
14179
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14180
|
+
|
|
13493
14181
|
function _nonIterableSpread() {
|
|
13494
14182
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13495
14183
|
}
|
|
@@ -13539,9 +14227,15 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
13539
14227
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
13540
14228
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
13541
14229
|
|
|
14230
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
14231
|
+
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
14232
|
+
|
|
13542
14233
|
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
13543
14234
|
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
13544
14235
|
|
|
14236
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
14237
|
+
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
14238
|
+
|
|
13545
14239
|
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
13546
14240
|
var es_promise_js_ = __webpack_require__("ec71");
|
|
13547
14241
|
|
|
@@ -13559,21 +14253,25 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
13559
14253
|
var locale = __webpack_require__("4897");
|
|
13560
14254
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
13561
14255
|
|
|
13562
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13563
|
-
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function () {
|
|
13564
|
-
var
|
|
13565
|
-
|
|
14256
|
+
// 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&
|
|
14257
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function render() {
|
|
14258
|
+
var _vm = this,
|
|
14259
|
+
_c = _vm._self._c;
|
|
14260
|
+
return _c('div', {
|
|
14261
|
+
staticClass: "pubmed-container"
|
|
14262
|
+
});
|
|
14263
|
+
};
|
|
14264
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
|
|
13566
14265
|
|
|
13567
14266
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
13568
14267
|
|
|
13569
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
13570
|
-
var
|
|
14268
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
14269
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
13571
14270
|
|
|
13572
14271
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
13573
14272
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
13574
14273
|
|
|
13575
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
13576
|
-
|
|
14274
|
+
// 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&
|
|
13577
14275
|
|
|
13578
14276
|
|
|
13579
14277
|
|
|
@@ -13584,15 +14282,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13584
14282
|
|
|
13585
14283
|
|
|
13586
14284
|
|
|
13587
|
-
//
|
|
13588
|
-
//
|
|
13589
|
-
//
|
|
13590
|
-
//
|
|
13591
|
-
//
|
|
13592
|
-
//
|
|
13593
|
-
//
|
|
13594
|
-
|
|
13595
14285
|
/* eslint-disable no-alert, no-console */
|
|
14286
|
+
|
|
13596
14287
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
13597
14288
|
name: "Tooltip",
|
|
13598
14289
|
props: {
|
|
@@ -13624,7 +14315,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13624
14315
|
},
|
|
13625
14316
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
13626
14317
|
var sql = 'select distinct publication from publications where entity in (';
|
|
13627
|
-
|
|
13628
14318
|
if (keastIds.length === 1) {
|
|
13629
14319
|
sql += "'".concat(keastIds[0], "')");
|
|
13630
14320
|
} else if (keastIds.length > 1) {
|
|
@@ -13632,7 +14322,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13632
14322
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
13633
14323
|
}
|
|
13634
14324
|
}
|
|
13635
|
-
|
|
13636
14325
|
return sql;
|
|
13637
14326
|
},
|
|
13638
14327
|
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
@@ -13656,12 +14345,11 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13656
14345
|
},
|
|
13657
14346
|
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
13658
14347
|
var _this = this;
|
|
13659
|
-
|
|
13660
14348
|
if (!keastIds || keastIds.length === 0) return;
|
|
13661
14349
|
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
13662
14350
|
this.flatmapQuery(sql).then(function (data) {
|
|
13663
|
-
_this.responseData = data;
|
|
13664
|
-
|
|
14351
|
+
_this.responseData = data;
|
|
14352
|
+
// Create pubmed url on paths if we have them
|
|
13665
14353
|
if (data.values.length > 0) {
|
|
13666
14354
|
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
13667
14355
|
return _this.stripPMIDPrefix(id[0]);
|
|
@@ -13674,7 +14362,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13674
14362
|
},
|
|
13675
14363
|
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
13676
14364
|
var _this2 = this;
|
|
13677
|
-
|
|
13678
14365
|
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
13679
14366
|
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
13680
14367
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
@@ -13682,10 +14369,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13682
14369
|
})));
|
|
13683
14370
|
} else {
|
|
13684
14371
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
13685
|
-
|
|
13686
14372
|
}
|
|
13687
14373
|
});
|
|
13688
14374
|
},
|
|
14375
|
+
|
|
13689
14376
|
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
13690
14377
|
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
13691
14378
|
var params = new URLSearchParams();
|
|
@@ -13696,8 +14383,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
13696
14383
|
});
|
|
13697
14384
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
13698
14385
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
13699
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&scoped=true&lang=scss&
|
|
13700
|
-
var
|
|
14386
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&prod&scoped=true&lang=scss&
|
|
14387
|
+
var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ = __webpack_require__("233b");
|
|
13701
14388
|
|
|
13702
14389
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
13703
14390
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -13706,20 +14393,19 @@ var PubmedViewervue_type_style_index_0_id_58832c92_scoped_true_lang_scss_ = __we
|
|
|
13706
14393
|
// This module is a runtime utility for cleaner component module output and will
|
|
13707
14394
|
// be included in the final webpack user bundle.
|
|
13708
14395
|
|
|
13709
|
-
function normalizeComponent
|
|
14396
|
+
function normalizeComponent(
|
|
13710
14397
|
scriptExports,
|
|
13711
14398
|
render,
|
|
13712
14399
|
staticRenderFns,
|
|
13713
14400
|
functionalTemplate,
|
|
13714
14401
|
injectStyles,
|
|
13715
14402
|
scopeId,
|
|
13716
|
-
moduleIdentifier
|
|
14403
|
+
moduleIdentifier /* server only */,
|
|
13717
14404
|
shadowMode /* vue-cli only */
|
|
13718
14405
|
) {
|
|
13719
14406
|
// Vue.extend constructor export interop
|
|
13720
|
-
var options =
|
|
13721
|
-
? scriptExports.options
|
|
13722
|
-
: scriptExports
|
|
14407
|
+
var options =
|
|
14408
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
13723
14409
|
|
|
13724
14410
|
// render functions
|
|
13725
14411
|
if (render) {
|
|
@@ -13739,7 +14425,8 @@ function normalizeComponent (
|
|
|
13739
14425
|
}
|
|
13740
14426
|
|
|
13741
14427
|
var hook
|
|
13742
|
-
if (moduleIdentifier) {
|
|
14428
|
+
if (moduleIdentifier) {
|
|
14429
|
+
// server build
|
|
13743
14430
|
hook = function (context) {
|
|
13744
14431
|
// 2.3 injection
|
|
13745
14432
|
context =
|
|
@@ -13765,11 +14452,11 @@ function normalizeComponent (
|
|
|
13765
14452
|
} else if (injectStyles) {
|
|
13766
14453
|
hook = shadowMode
|
|
13767
14454
|
? function () {
|
|
13768
|
-
|
|
13769
|
-
|
|
13770
|
-
|
|
13771
|
-
|
|
13772
|
-
|
|
14455
|
+
injectStyles.call(
|
|
14456
|
+
this,
|
|
14457
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
14458
|
+
)
|
|
14459
|
+
}
|
|
13773
14460
|
: injectStyles
|
|
13774
14461
|
}
|
|
13775
14462
|
|
|
@@ -13780,16 +14467,14 @@ function normalizeComponent (
|
|
|
13780
14467
|
options._injectStyles = hook
|
|
13781
14468
|
// register for functional component in vue file
|
|
13782
14469
|
var originalRender = options.render
|
|
13783
|
-
options.render = function renderWithStyleInjection
|
|
14470
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
13784
14471
|
hook.call(context)
|
|
13785
14472
|
return originalRender(h, context)
|
|
13786
14473
|
}
|
|
13787
14474
|
} else {
|
|
13788
14475
|
// inject component registration as beforeCreate hook
|
|
13789
14476
|
var existing = options.beforeCreate
|
|
13790
|
-
options.beforeCreate = existing
|
|
13791
|
-
? [].concat(existing, hook)
|
|
13792
|
-
: [hook]
|
|
14477
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
13793
14478
|
}
|
|
13794
14479
|
}
|
|
13795
14480
|
|
|
@@ -13824,7 +14509,9 @@ var component = normalizeComponent(
|
|
|
13824
14509
|
|
|
13825
14510
|
var EventBus = new external_vue_default.a();
|
|
13826
14511
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
13827
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14512
|
+
// 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&
|
|
14513
|
+
|
|
14514
|
+
|
|
13828
14515
|
|
|
13829
14516
|
|
|
13830
14517
|
|
|
@@ -13858,86 +14545,6 @@ var EventBus = new external_vue_default.a();
|
|
|
13858
14545
|
|
|
13859
14546
|
|
|
13860
14547
|
|
|
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
|
-
//
|
|
13933
|
-
//
|
|
13934
|
-
//
|
|
13935
|
-
//
|
|
13936
|
-
//
|
|
13937
|
-
//
|
|
13938
|
-
//
|
|
13939
|
-
//
|
|
13940
|
-
//
|
|
13941
14548
|
|
|
13942
14549
|
/* eslint-disable no-alert, no-console */
|
|
13943
14550
|
|
|
@@ -13948,9 +14555,9 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
13948
14555
|
external_vue_default.a.use(lib_container_default.a);
|
|
13949
14556
|
external_vue_default.a.use(lib_header_default.a);
|
|
13950
14557
|
external_vue_default.a.use(lib_icon_default.a);
|
|
13951
|
-
external_vue_default.a.use(lib_main_default.a);
|
|
13952
|
-
|
|
14558
|
+
external_vue_default.a.use(lib_main_default.a);
|
|
13953
14559
|
|
|
14560
|
+
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
13954
14561
|
|
|
13955
14562
|
|
|
13956
14563
|
var _titleCase = function titleCase(str) {
|
|
@@ -13958,14 +14565,13 @@ var _titleCase = function titleCase(str) {
|
|
|
13958
14565
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
13959
14566
|
});
|
|
13960
14567
|
};
|
|
13961
|
-
|
|
13962
14568
|
var inArray = function inArray(ar1, ar2) {
|
|
13963
14569
|
var as1 = JSON.stringify(ar1);
|
|
13964
14570
|
var as2 = JSON.stringify(ar2);
|
|
13965
14571
|
return as1.indexOf(as2) !== -1;
|
|
13966
|
-
};
|
|
13967
|
-
|
|
14572
|
+
};
|
|
13968
14573
|
|
|
14574
|
+
// remove duplicates by stringifying the objects
|
|
13969
14575
|
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
13970
14576
|
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
13971
14577
|
return JSON.stringify(e);
|
|
@@ -13973,12 +14579,10 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
|
|
|
13973
14579
|
return JSON.parse(e);
|
|
13974
14580
|
});
|
|
13975
14581
|
};
|
|
13976
|
-
|
|
13977
14582
|
var _capitalise = function capitalise(str) {
|
|
13978
14583
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
13979
14584
|
return "";
|
|
13980
14585
|
};
|
|
13981
|
-
|
|
13982
14586
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
13983
14587
|
components: {
|
|
13984
14588
|
PubmedViewer: PubmedViewer
|
|
@@ -14079,10 +14683,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14079
14683
|
},
|
|
14080
14684
|
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
14081
14685
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14082
|
-
|
|
14083
14686
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
14687
|
var found = [];
|
|
14087
14688
|
nodes.forEach(function (n) {
|
|
14088
14689
|
if (Array.isArray(n)) {
|
|
@@ -14095,10 +14696,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14095
14696
|
},
|
|
14096
14697
|
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14097
14698
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14098
|
-
|
|
14099
14699
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
14700
|
var found = [];
|
|
14103
14701
|
nodes.forEach(function (n) {
|
|
14104
14702
|
if (Array.isArray(n)) {
|
|
@@ -14111,21 +14709,18 @@ var _capitalise = function capitalise(str) {
|
|
|
14111
14709
|
},
|
|
14112
14710
|
findComponents: function findComponents(connectivity) {
|
|
14113
14711
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14114
|
-
|
|
14115
14712
|
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14116
14713
|
var found = [];
|
|
14117
14714
|
var terminal = false;
|
|
14118
14715
|
nodes.forEach(function (node) {
|
|
14119
|
-
terminal = false;
|
|
14120
|
-
|
|
14716
|
+
terminal = false;
|
|
14717
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14121
14718
|
if (inArray(connectivity.axons, node)) {
|
|
14122
14719
|
terminal = true;
|
|
14123
14720
|
}
|
|
14124
|
-
|
|
14125
14721
|
if (inArray(connectivity.dendrites, node)) {
|
|
14126
14722
|
terminal = true;
|
|
14127
14723
|
}
|
|
14128
|
-
|
|
14129
14724
|
if (!terminal) {
|
|
14130
14725
|
found.push(node);
|
|
14131
14726
|
}
|
|
@@ -14134,7 +14729,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14134
14729
|
},
|
|
14135
14730
|
getOrganCuries: function getOrganCuries() {
|
|
14136
14731
|
var _this = this;
|
|
14137
|
-
|
|
14138
14732
|
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
14139
14733
|
return response.json();
|
|
14140
14734
|
}).then(function (data) {
|
|
@@ -14143,7 +14737,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14143
14737
|
},
|
|
14144
14738
|
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
14145
14739
|
var sql = 'select knowledge from knowledge where entity in (';
|
|
14146
|
-
|
|
14147
14740
|
if (keastIds.length === 1) {
|
|
14148
14741
|
sql += "'".concat(keastIds[0], "')");
|
|
14149
14742
|
} else if (keastIds.length > 1) {
|
|
@@ -14151,12 +14744,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14151
14744
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14152
14745
|
}
|
|
14153
14746
|
}
|
|
14154
|
-
|
|
14155
14747
|
return sql;
|
|
14156
14748
|
},
|
|
14157
14749
|
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14158
14750
|
var sql = 'select entity, label from labels where entity in (';
|
|
14159
|
-
|
|
14160
14751
|
if (uberons.length === 1) {
|
|
14161
14752
|
sql += "'".concat(uberons[0], "')");
|
|
14162
14753
|
} else if (uberons.length > 1) {
|
|
@@ -14164,12 +14755,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14164
14755
|
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14165
14756
|
}
|
|
14166
14757
|
}
|
|
14167
|
-
|
|
14168
14758
|
return sql;
|
|
14169
14759
|
},
|
|
14170
14760
|
createLabelLookup: function createLabelLookup(uberons) {
|
|
14171
14761
|
var _this2 = this;
|
|
14172
|
-
|
|
14173
14762
|
return new Promise(function (resolve) {
|
|
14174
14763
|
var uberonMap = {};
|
|
14175
14764
|
var data = {
|
|
@@ -14186,24 +14775,20 @@ var _capitalise = function capitalise(str) {
|
|
|
14186
14775
|
}).then(function (payload) {
|
|
14187
14776
|
var entity = payload.keys.indexOf("entity");
|
|
14188
14777
|
var label = payload.keys.indexOf("label");
|
|
14189
|
-
|
|
14190
14778
|
if (entity > -1 && label > -1) {
|
|
14191
14779
|
payload.values.forEach(function (pair) {
|
|
14192
14780
|
uberonMap[pair[entity]] = pair[label];
|
|
14193
14781
|
});
|
|
14194
14782
|
}
|
|
14195
|
-
|
|
14196
14783
|
resolve(uberonMap);
|
|
14197
14784
|
});
|
|
14198
14785
|
});
|
|
14199
14786
|
},
|
|
14200
14787
|
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14201
14788
|
var _this3 = this;
|
|
14202
|
-
|
|
14203
14789
|
var labelList = [];
|
|
14204
14790
|
components.forEach(function (n) {
|
|
14205
14791
|
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14206
|
-
|
|
14207
14792
|
if (n.length === 2) {
|
|
14208
14793
|
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14209
14794
|
}
|
|
@@ -14212,7 +14797,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14212
14797
|
},
|
|
14213
14798
|
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14214
14799
|
var label = lookUp[node[0]];
|
|
14215
|
-
|
|
14216
14800
|
if (node.length === 2 && node[1].length > 0) {
|
|
14217
14801
|
node[1].forEach(function (n) {
|
|
14218
14802
|
if (lookUp[n] == undefined) {
|
|
@@ -14222,20 +14806,21 @@ var _capitalise = function capitalise(str) {
|
|
|
14222
14806
|
}
|
|
14223
14807
|
});
|
|
14224
14808
|
}
|
|
14225
|
-
|
|
14226
14809
|
return label;
|
|
14227
14810
|
},
|
|
14228
14811
|
processConnectivity: function processConnectivity(connectivity) {
|
|
14229
14812
|
var _this4 = this;
|
|
14230
|
-
|
|
14231
14813
|
// Filter the origin and destinations from components
|
|
14232
|
-
var components = this.findComponents(connectivity);
|
|
14814
|
+
var components = this.findComponents(connectivity);
|
|
14233
14815
|
|
|
14816
|
+
// Remove duplicates
|
|
14234
14817
|
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14235
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14818
|
+
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14236
14819
|
|
|
14237
|
-
|
|
14820
|
+
// Create list of ids to get labels for
|
|
14821
|
+
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14238
14822
|
|
|
14823
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14239
14824
|
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14240
14825
|
_this4.destinations = axons.map(function (a) {
|
|
14241
14826
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
@@ -14253,8 +14838,9 @@ var _capitalise = function capitalise(str) {
|
|
|
14253
14838
|
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14254
14839
|
var componentsFlat = this.flattenConntectivity(components);
|
|
14255
14840
|
var axonsFlat = this.flattenConntectivity(axons);
|
|
14256
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14841
|
+
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14257
14842
|
|
|
14843
|
+
// Filter for the anatomy which is annotated on datasets
|
|
14258
14844
|
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14259
14845
|
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14260
14846
|
});
|
|
@@ -14267,7 +14853,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14267
14853
|
},
|
|
14268
14854
|
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14269
14855
|
var _this5 = this;
|
|
14270
|
-
|
|
14271
14856
|
this.destinations = [];
|
|
14272
14857
|
this.origins = [];
|
|
14273
14858
|
this.components = [];
|
|
@@ -14286,9 +14871,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14286
14871
|
return response.json();
|
|
14287
14872
|
}).then(function (data) {
|
|
14288
14873
|
var connectivity = JSON.parse(data.values[0][0]);
|
|
14289
|
-
|
|
14290
14874
|
_this5.processConnectivity(connectivity);
|
|
14291
|
-
|
|
14292
14875
|
_this5.loading = false;
|
|
14293
14876
|
}).catch(function (error) {
|
|
14294
14877
|
console.error('Error:', error);
|
|
@@ -14298,8 +14881,8 @@ var _capitalise = function capitalise(str) {
|
|
|
14298
14881
|
});
|
|
14299
14882
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14300
14883
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14301
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&scoped=true&lang=scss&
|
|
14302
|
-
var
|
|
14884
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&prod&scoped=true&lang=scss&
|
|
14885
|
+
var Tooltipvue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss_ = __webpack_require__("b64b");
|
|
14303
14886
|
|
|
14304
14887
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14305
14888
|
|
|
@@ -14325,362 +14908,158 @@ var Tooltip_component = normalizeComponent(
|
|
|
14325
14908
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
14326
14909
|
var svg_sprite_ = __webpack_require__("429c");
|
|
14327
14910
|
|
|
14328
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14329
|
-
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function () {
|
|
14330
|
-
var
|
|
14331
|
-
|
|
14911
|
+
// 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&
|
|
14912
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function render() {
|
|
14913
|
+
var _vm = this,
|
|
14914
|
+
_c = _vm._self._c;
|
|
14915
|
+
return _c('div', {
|
|
14916
|
+
staticClass: "legends-container"
|
|
14917
|
+
}, [_c('svg', {
|
|
14918
|
+
staticStyle: {
|
|
14919
|
+
"enable-background": "new 0 0 500 500"
|
|
14920
|
+
},
|
|
14921
|
+
attrs: {
|
|
14922
|
+
"version": "1.1",
|
|
14923
|
+
"id": "Layer_1",
|
|
14924
|
+
"x": "0px",
|
|
14925
|
+
"y": "0px",
|
|
14926
|
+
"viewBox": "0 0 500 500",
|
|
14927
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14928
|
+
"xmlns:bx": "https://boxy-svg.com"
|
|
14929
|
+
}
|
|
14930
|
+
}, [_c('defs', [_c('bx:grid', {
|
|
14931
|
+
attrs: {
|
|
14932
|
+
"height": "30.447",
|
|
14933
|
+
"width": "32.516",
|
|
14934
|
+
"x": "0",
|
|
14935
|
+
"y": "0"
|
|
14936
|
+
}
|
|
14937
|
+
})], 1), _c('path', {
|
|
14938
|
+
staticClass: "st0 st0-translate",
|
|
14939
|
+
attrs: {
|
|
14940
|
+
"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"
|
|
14941
|
+
}
|
|
14942
|
+
}), _c('path', {
|
|
14943
|
+
staticClass: "st1",
|
|
14944
|
+
attrs: {
|
|
14945
|
+
"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"
|
|
14946
|
+
}
|
|
14947
|
+
}), _c('path', {
|
|
14948
|
+
staticClass: "st2",
|
|
14949
|
+
attrs: {
|
|
14950
|
+
"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"
|
|
14951
|
+
}
|
|
14952
|
+
}), _c('text', {
|
|
14953
|
+
staticClass: "st3 st4 st5",
|
|
14954
|
+
staticStyle: {
|
|
14955
|
+
"white-space": "pre"
|
|
14956
|
+
},
|
|
14957
|
+
attrs: {
|
|
14958
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
14959
|
+
}
|
|
14960
|
+
}, [_vm._v("Tissue region")]), _c('path', {
|
|
14961
|
+
staticClass: "st6",
|
|
14962
|
+
attrs: {
|
|
14963
|
+
"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"
|
|
14964
|
+
}
|
|
14965
|
+
}), _c('text', {
|
|
14966
|
+
staticClass: "st3 st4 st5",
|
|
14967
|
+
staticStyle: {
|
|
14968
|
+
"white-space": "pre"
|
|
14969
|
+
},
|
|
14970
|
+
attrs: {
|
|
14971
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
14972
|
+
}
|
|
14973
|
+
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
14974
|
+
staticClass: "st3 st4 st5",
|
|
14975
|
+
staticStyle: {
|
|
14976
|
+
"white-space": "pre"
|
|
14977
|
+
},
|
|
14978
|
+
attrs: {
|
|
14979
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
14980
|
+
}
|
|
14981
|
+
}, [_vm._v("Ganglia")]), _c('text', {
|
|
14982
|
+
staticClass: "st3 st4 st5",
|
|
14983
|
+
staticStyle: {
|
|
14984
|
+
"white-space": "pre"
|
|
14985
|
+
},
|
|
14986
|
+
attrs: {
|
|
14987
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
14988
|
+
}
|
|
14989
|
+
}, [_vm._v("Nerve plexus")])])]);
|
|
14990
|
+
};
|
|
14991
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = [];
|
|
14332
14992
|
|
|
14333
14993
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
|
|
14334
14994
|
|
|
14335
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14336
|
-
//
|
|
14337
|
-
//
|
|
14338
|
-
//
|
|
14339
|
-
//
|
|
14340
|
-
//
|
|
14341
|
-
//
|
|
14342
|
-
//
|
|
14343
|
-
//
|
|
14344
|
-
//
|
|
14345
|
-
//
|
|
14346
|
-
//
|
|
14347
|
-
//
|
|
14348
|
-
//
|
|
14349
|
-
//
|
|
14350
|
-
//
|
|
14351
|
-
//
|
|
14352
|
-
//
|
|
14353
|
-
//
|
|
14354
|
-
//
|
|
14355
|
-
//
|
|
14356
|
-
//
|
|
14357
|
-
//
|
|
14995
|
+
// 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&
|
|
14358
14996
|
/* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
|
|
14359
14997
|
name: 'SvgLegends'
|
|
14360
14998
|
});
|
|
14361
|
-
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
14362
|
-
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
14363
|
-
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&scoped=true&lang=scss&
|
|
14364
|
-
var
|
|
14365
|
-
|
|
14366
|
-
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
/* normalize component */
|
|
14374
|
-
|
|
14375
|
-
var Legends_component = normalizeComponent(
|
|
14376
|
-
legends_Legendsvue_type_script_lang_js_,
|
|
14377
|
-
Legendsvue_type_template_id_514dd6be_scoped_true_render,
|
|
14378
|
-
Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns,
|
|
14379
|
-
false,
|
|
14380
|
-
null,
|
|
14381
|
-
"514dd6be",
|
|
14382
|
-
null
|
|
14383
|
-
|
|
14384
|
-
)
|
|
14385
|
-
|
|
14386
|
-
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
14387
|
-
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
14388
|
-
/* 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>');
|
|
14389
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
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
|
-
//
|
|
14675
|
-
//
|
|
14676
|
-
//
|
|
14677
|
-
//
|
|
14678
|
-
//
|
|
14679
|
-
//
|
|
14680
|
-
//
|
|
14681
|
-
//
|
|
14682
|
-
//
|
|
14683
|
-
//
|
|
14999
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
15000
|
+
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
15001
|
+
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&prod&scoped=true&lang=scss&
|
|
15002
|
+
var Legendsvue_type_style_index_0_id_514dd6be_prod_scoped_true_lang_scss_ = __webpack_require__("318c");
|
|
15003
|
+
|
|
15004
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
15005
|
+
|
|
15006
|
+
|
|
15007
|
+
|
|
15008
|
+
|
|
15009
|
+
|
|
15010
|
+
|
|
15011
|
+
/* normalize component */
|
|
15012
|
+
|
|
15013
|
+
var Legends_component = normalizeComponent(
|
|
15014
|
+
legends_Legendsvue_type_script_lang_js_,
|
|
15015
|
+
Legendsvue_type_template_id_514dd6be_scoped_true_render,
|
|
15016
|
+
Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns,
|
|
15017
|
+
false,
|
|
15018
|
+
null,
|
|
15019
|
+
"514dd6be",
|
|
15020
|
+
null
|
|
15021
|
+
|
|
15022
|
+
)
|
|
15023
|
+
|
|
15024
|
+
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
15025
|
+
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15026
|
+
/* 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>');
|
|
15027
|
+
// 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&
|
|
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
|
+
|
|
15054
|
+
|
|
15055
|
+
|
|
15056
|
+
|
|
15057
|
+
|
|
15058
|
+
|
|
15059
|
+
|
|
15060
|
+
|
|
15061
|
+
|
|
15062
|
+
|
|
14684
15063
|
|
|
14685
15064
|
/* eslint-disable no-alert, no-console */
|
|
14686
15065
|
|
|
@@ -14698,15 +15077,12 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
14698
15077
|
external_vue_default.a.use(lib_radio_default.a);
|
|
14699
15078
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
14700
15079
|
external_vue_default.a.use(lib_row_default.a);
|
|
14701
|
-
|
|
14702
15080
|
var ResizeSensor = __webpack_require__("ae66");
|
|
14703
|
-
|
|
14704
15081
|
var mapResize = function mapResize(map) {
|
|
14705
15082
|
return function () {
|
|
14706
15083
|
if (map) map.resize();
|
|
14707
15084
|
};
|
|
14708
15085
|
};
|
|
14709
|
-
|
|
14710
15086
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
14711
15087
|
name: "FlatmapVuer",
|
|
14712
15088
|
components: {
|
|
@@ -14721,12 +15097,11 @@ var mapResize = function mapResize(map) {
|
|
|
14721
15097
|
},
|
|
14722
15098
|
methods: {
|
|
14723
15099
|
viewLatestMap: function viewLatestMap() {
|
|
14724
|
-
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
14725
|
-
|
|
15100
|
+
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
15101
|
+
//Human requires special handling
|
|
14726
15102
|
if (this.entry === "NCBITaxon:9606") {
|
|
14727
15103
|
biologicalSex = "PATO:0000384";
|
|
14728
15104
|
}
|
|
14729
|
-
|
|
14730
15105
|
var state = {
|
|
14731
15106
|
entry: this.entry,
|
|
14732
15107
|
biologicalSex: biologicalSex,
|
|
@@ -14736,7 +15111,6 @@ var mapResize = function mapResize(map) {
|
|
|
14736
15111
|
},
|
|
14737
15112
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
14738
15113
|
this.currentBackground = colour;
|
|
14739
|
-
|
|
14740
15114
|
if (this.mapImp) {
|
|
14741
15115
|
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
14742
15116
|
}
|
|
@@ -14744,13 +15118,11 @@ var mapResize = function mapResize(map) {
|
|
|
14744
15118
|
toggleDrawer: function toggleDrawer() {
|
|
14745
15119
|
this.drawerOpen = !this.drawerOpen;
|
|
14746
15120
|
},
|
|
14747
|
-
|
|
14748
|
-
|
|
14749
|
-
* Function to toggle colour/greyscale of organs.
|
|
15121
|
+
/**
|
|
15122
|
+
* Function to toggle colour/greyscale of organs.
|
|
14750
15123
|
*/
|
|
14751
15124
|
setColour: function setColour(flag) {
|
|
14752
15125
|
this.colourRadio = flag;
|
|
14753
|
-
|
|
14754
15126
|
if (this.mapImp) {
|
|
14755
15127
|
this.mapImp.setColour({
|
|
14756
15128
|
colour: flag,
|
|
@@ -14758,13 +15130,11 @@ var mapResize = function mapResize(map) {
|
|
|
14758
15130
|
});
|
|
14759
15131
|
}
|
|
14760
15132
|
},
|
|
14761
|
-
|
|
14762
|
-
|
|
14763
|
-
* Function to toggle outlines f organs.
|
|
15133
|
+
/**
|
|
15134
|
+
* Function to toggle outlines f organs.
|
|
14764
15135
|
*/
|
|
14765
15136
|
setOutlines: function setOutlines(flag) {
|
|
14766
15137
|
this.outlineRadio = flag;
|
|
14767
|
-
|
|
14768
15138
|
if (this.mapImp) {
|
|
14769
15139
|
this.mapImp.setColour({
|
|
14770
15140
|
colour: this.colourRadio,
|
|
@@ -14772,10 +15142,9 @@ var mapResize = function mapResize(map) {
|
|
|
14772
15142
|
});
|
|
14773
15143
|
}
|
|
14774
15144
|
},
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
*
|
|
14778
|
-
* Also called when the associated button is pressed.
|
|
15145
|
+
/**
|
|
15146
|
+
* Function to toggle paths to default.
|
|
15147
|
+
* Also called when the associated button is pressed.
|
|
14779
15148
|
*/
|
|
14780
15149
|
resetView: function resetView() {
|
|
14781
15150
|
if (this.mapImp) {
|
|
@@ -14787,20 +15156,18 @@ var mapResize = function mapResize(map) {
|
|
|
14787
15156
|
this.checkAll = true;
|
|
14788
15157
|
}
|
|
14789
15158
|
},
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
|
-
*
|
|
14793
|
-
* Also called when the associated button is pressed.
|
|
15159
|
+
/**
|
|
15160
|
+
* Function to zoom in.
|
|
15161
|
+
* Also called when the associated button is pressed.
|
|
14794
15162
|
*/
|
|
14795
15163
|
zoomIn: function zoomIn() {
|
|
14796
15164
|
if (this.mapImp) {
|
|
14797
15165
|
this.mapImp.zoomIn();
|
|
14798
15166
|
}
|
|
14799
15167
|
},
|
|
14800
|
-
|
|
14801
|
-
|
|
14802
|
-
*
|
|
14803
|
-
* Also called when the associated button is pressed.
|
|
15168
|
+
/**
|
|
15169
|
+
* Function to zoom out.
|
|
15170
|
+
* Also called when the associated button is pressed.
|
|
14804
15171
|
*/
|
|
14805
15172
|
zoomOut: function zoomOut() {
|
|
14806
15173
|
if (this.mapImp) {
|
|
@@ -14822,7 +15189,6 @@ var mapResize = function mapResize(map) {
|
|
|
14822
15189
|
return a.type;
|
|
14823
15190
|
}) : [];
|
|
14824
15191
|
this.isIndeterminate = false;
|
|
14825
|
-
|
|
14826
15192
|
if (this.mapImp) {
|
|
14827
15193
|
this.mapImp.showPaths(this.checkedItems);
|
|
14828
15194
|
}
|
|
@@ -14832,18 +15198,15 @@ var mapResize = function mapResize(map) {
|
|
|
14832
15198
|
},
|
|
14833
15199
|
eventCallback: function eventCallback() {
|
|
14834
15200
|
var _this = this;
|
|
14835
|
-
|
|
14836
15201
|
return function (eventType, data) {
|
|
14837
15202
|
if (eventType !== "pan-zoom") {
|
|
14838
15203
|
var label = data.label;
|
|
14839
15204
|
var resource = [data.models];
|
|
14840
15205
|
var taxonomy = _this.entry;
|
|
14841
15206
|
var biologicalSex = _this.biologicalSex;
|
|
14842
|
-
|
|
14843
15207
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
14844
15208
|
args[_key - 2] = arguments[_key];
|
|
14845
15209
|
}
|
|
14846
|
-
|
|
14847
15210
|
var payload = {
|
|
14848
15211
|
dataset: data.dataset,
|
|
14849
15212
|
biologicalSex: biologicalSex,
|
|
@@ -14853,10 +15216,9 @@ var mapResize = function mapResize(map) {
|
|
|
14853
15216
|
feature: data,
|
|
14854
15217
|
userData: args,
|
|
14855
15218
|
eventType: eventType
|
|
14856
|
-
};
|
|
14857
|
-
|
|
15219
|
+
};
|
|
15220
|
+
// Disable the nueron pop up for now.
|
|
14858
15221
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
14859
|
-
|
|
14860
15222
|
_this.$emit("resource-selected", payload);
|
|
14861
15223
|
} else {
|
|
14862
15224
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -14880,7 +15242,6 @@ var mapResize = function mapResize(map) {
|
|
|
14880
15242
|
if (ftooltip) ftooltip.style.display = "none";
|
|
14881
15243
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
14882
15244
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
14883
|
-
|
|
14884
15245
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
14885
15246
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
14886
15247
|
};
|
|
@@ -14894,14 +15255,13 @@ var mapResize = function mapResize(map) {
|
|
|
14894
15255
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
14895
15256
|
return true;
|
|
14896
15257
|
}
|
|
14897
|
-
}
|
|
14898
|
-
|
|
14899
|
-
|
|
15258
|
+
}
|
|
15259
|
+
// annotated with datset check
|
|
14900
15260
|
if (data.dataset) {
|
|
14901
15261
|
return true;
|
|
14902
|
-
}
|
|
14903
|
-
|
|
15262
|
+
}
|
|
14904
15263
|
|
|
15264
|
+
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
14905
15265
|
return false;
|
|
14906
15266
|
},
|
|
14907
15267
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -14913,8 +15273,9 @@ var mapResize = function mapResize(map) {
|
|
|
14913
15273
|
distribution: undefined,
|
|
14914
15274
|
actions: []
|
|
14915
15275
|
};
|
|
14916
|
-
this.tooltipVisible = false;
|
|
15276
|
+
this.tooltipVisible = false;
|
|
14917
15277
|
|
|
15278
|
+
// neural data check
|
|
14918
15279
|
if (feature) {
|
|
14919
15280
|
if (feature.includes('ilxtr:neuron')) {
|
|
14920
15281
|
this.tooltipVisible = true;
|
|
@@ -14932,9 +15293,8 @@ var mapResize = function mapResize(map) {
|
|
|
14932
15293
|
nervePath: true
|
|
14933
15294
|
});
|
|
14934
15295
|
}
|
|
14935
|
-
}
|
|
14936
|
-
|
|
14937
|
-
|
|
15296
|
+
}
|
|
15297
|
+
// annotated with datset check
|
|
14938
15298
|
if (data.dataset) {
|
|
14939
15299
|
this.tooltipVisible = true;
|
|
14940
15300
|
this.tooltipContent = content;
|
|
@@ -14953,7 +15313,6 @@ var mapResize = function mapResize(map) {
|
|
|
14953
15313
|
// Keeping this as an API
|
|
14954
15314
|
showPopup: function showPopup(featureId, node, options) {
|
|
14955
15315
|
var myOptions = options;
|
|
14956
|
-
|
|
14957
15316
|
if (this.mapImp) {
|
|
14958
15317
|
if (myOptions) {
|
|
14959
15318
|
if (!myOptions.className) myOptions.className = "custom-popup";
|
|
@@ -14963,7 +15322,6 @@ var mapResize = function mapResize(map) {
|
|
|
14963
15322
|
positionAtLastClick: true
|
|
14964
15323
|
};
|
|
14965
15324
|
}
|
|
14966
|
-
|
|
14967
15325
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
14968
15326
|
}
|
|
14969
15327
|
},
|
|
@@ -14974,7 +15332,6 @@ var mapResize = function mapResize(map) {
|
|
|
14974
15332
|
},
|
|
14975
15333
|
closeMinimap: function closeMinimap() {
|
|
14976
15334
|
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap'); // find minimap
|
|
14977
|
-
|
|
14978
15335
|
if (this.minimapSmall) {
|
|
14979
15336
|
//switch the classes on the minimap
|
|
14980
15337
|
minimapEl.classList.add('enlarge');
|
|
@@ -14983,7 +15340,6 @@ var mapResize = function mapResize(map) {
|
|
|
14983
15340
|
minimapEl.classList.add('shrink');
|
|
14984
15341
|
minimapEl.classList.remove('enlarge');
|
|
14985
15342
|
}
|
|
14986
|
-
|
|
14987
15343
|
this.minimapSmall = !this.minimapSmall;
|
|
14988
15344
|
},
|
|
14989
15345
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
@@ -15009,7 +15365,6 @@ var mapResize = function mapResize(map) {
|
|
|
15009
15365
|
},
|
|
15010
15366
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15011
15367
|
var _this2 = this;
|
|
15012
|
-
|
|
15013
15368
|
if (!this.inHelp) {
|
|
15014
15369
|
this.tooltipWait = setTimeout(function () {
|
|
15015
15370
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -15039,13 +15394,10 @@ var mapResize = function mapResize(map) {
|
|
|
15039
15394
|
},
|
|
15040
15395
|
getLabels: function getLabels() {
|
|
15041
15396
|
var labels = [];
|
|
15042
|
-
|
|
15043
15397
|
if (this.mapImp) {
|
|
15044
15398
|
var annotations = this.mapImp.annotations;
|
|
15045
|
-
|
|
15046
15399
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
15047
|
-
|
|
15048
|
-
|
|
15400
|
+
_step;
|
|
15049
15401
|
try {
|
|
15050
15402
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
15051
15403
|
var value = _step.value;
|
|
@@ -15056,7 +15408,6 @@ var mapResize = function mapResize(map) {
|
|
|
15056
15408
|
} finally {
|
|
15057
15409
|
_iterator.f();
|
|
15058
15410
|
}
|
|
15059
|
-
|
|
15060
15411
|
return Array.from(new Set(labels));
|
|
15061
15412
|
}
|
|
15062
15413
|
},
|
|
@@ -15071,7 +15422,6 @@ var mapResize = function mapResize(map) {
|
|
|
15071
15422
|
if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
|
|
15072
15423
|
return state;
|
|
15073
15424
|
}
|
|
15074
|
-
|
|
15075
15425
|
return undefined;
|
|
15076
15426
|
},
|
|
15077
15427
|
setState: function setState(state) {
|
|
@@ -15093,17 +15443,18 @@ var mapResize = function mapResize(map) {
|
|
|
15093
15443
|
},
|
|
15094
15444
|
createFlatmap: function createFlatmap(state) {
|
|
15095
15445
|
var _this3 = this;
|
|
15096
|
-
|
|
15097
15446
|
if (!this.mapImp && !this.loading) {
|
|
15098
15447
|
this.loading = true;
|
|
15099
15448
|
var minimap = false;
|
|
15100
|
-
|
|
15101
15449
|
if (this.displayMinimap) {
|
|
15102
15450
|
minimap = {
|
|
15103
15451
|
position: "top-right"
|
|
15104
15452
|
};
|
|
15105
|
-
}
|
|
15453
|
+
}
|
|
15454
|
+
|
|
15455
|
+
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
15106
15456
|
//for the identifier:
|
|
15457
|
+
|
|
15107
15458
|
//@arg identifier {string|Object}
|
|
15108
15459
|
// A string or object identifying the map to load. If a string its
|
|
15109
15460
|
// value can be either the map's ``uuid``, assigned at generation time,
|
|
@@ -15117,11 +15468,10 @@ var mapResize = function mapResize(map) {
|
|
|
15117
15468
|
// @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
|
|
15118
15469
|
// be loaded, overriding ``taxon`` and ``biologicalSex``.
|
|
15119
15470
|
|
|
15120
|
-
|
|
15121
15471
|
var identifier = {
|
|
15122
15472
|
taxon: this.entry
|
|
15123
|
-
};
|
|
15124
|
-
|
|
15473
|
+
};
|
|
15474
|
+
//This now handle the uses of uuid when resuming states
|
|
15125
15475
|
if (state) {
|
|
15126
15476
|
if (state.uuid) {
|
|
15127
15477
|
identifier = {
|
|
@@ -15129,7 +15479,6 @@ var mapResize = function mapResize(map) {
|
|
|
15129
15479
|
};
|
|
15130
15480
|
} else if (state.entry) {
|
|
15131
15481
|
identifier.taxon = state.entry;
|
|
15132
|
-
|
|
15133
15482
|
if (state.biologicalSex) {
|
|
15134
15483
|
identifier["biologicalSex"] = state.biologicalSex;
|
|
15135
15484
|
} else if (identifier.taxon === "NCBITaxon:9606") {
|
|
@@ -15144,7 +15493,6 @@ var mapResize = function mapResize(map) {
|
|
|
15144
15493
|
identifier["biologicalSex"] = this.biologicalSex;
|
|
15145
15494
|
}
|
|
15146
15495
|
}
|
|
15147
|
-
|
|
15148
15496
|
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
15149
15497
|
//fullscreenControl: false,
|
|
15150
15498
|
//annotatable: false,
|
|
@@ -15158,9 +15506,7 @@ var mapResize = function mapResize(map) {
|
|
|
15158
15506
|
});
|
|
15159
15507
|
promise1.then(function (returnedObject) {
|
|
15160
15508
|
_this3.mapImp = returnedObject;
|
|
15161
|
-
|
|
15162
15509
|
_this3.onFlatmapReady();
|
|
15163
|
-
|
|
15164
15510
|
if (_this3._stateToBeSet) _this3.restoreMapState(_this3._stateToBeSet);else {
|
|
15165
15511
|
_this3.restoreMapState(state);
|
|
15166
15512
|
}
|
|
@@ -15175,6 +15521,7 @@ var mapResize = function mapResize(map) {
|
|
|
15175
15521
|
},
|
|
15176
15522
|
onFlatmapReady: function onFlatmapReady() {
|
|
15177
15523
|
// onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
|
|
15524
|
+
|
|
15178
15525
|
this.sensor = new ResizeSensor(this.$refs.display, mapResize(this.mapImp));
|
|
15179
15526
|
this.mapImp.setBackgroundOpacity(1);
|
|
15180
15527
|
this.backgroundChangeCallback(this.currentBackground);
|
|
@@ -15189,10 +15536,9 @@ var mapResize = function mapResize(map) {
|
|
|
15189
15536
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
15190
15537
|
this.drawerOpen = flag;
|
|
15191
15538
|
},
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
*
|
|
15195
|
-
* with the option to display the label using displayLabel flag.
|
|
15539
|
+
/**
|
|
15540
|
+
* Function to display features with annotation matching the provided term,
|
|
15541
|
+
* with the option to display the label using displayLabel flag.
|
|
15196
15542
|
*/
|
|
15197
15543
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
15198
15544
|
if (this.mapImp) {
|
|
@@ -15201,27 +15547,22 @@ var mapResize = function mapResize(map) {
|
|
|
15201
15547
|
return true;
|
|
15202
15548
|
} else {
|
|
15203
15549
|
var searchResults = this.mapImp.search(term);
|
|
15204
|
-
|
|
15205
15550
|
if (searchResults && searchResults.results && searchResults.results.length > 0) {
|
|
15206
15551
|
this.mapImp.showSearchResults(searchResults);
|
|
15207
|
-
|
|
15208
15552
|
if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
|
|
15209
15553
|
this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
|
|
15210
15554
|
className: "custom-popup",
|
|
15211
15555
|
positionAtLastClick: false
|
|
15212
15556
|
});
|
|
15213
15557
|
}
|
|
15214
|
-
|
|
15215
15558
|
return true;
|
|
15216
15559
|
} else this.mapImp.clearSearchResults();
|
|
15217
15560
|
}
|
|
15218
15561
|
}
|
|
15219
|
-
|
|
15220
15562
|
return false;
|
|
15221
15563
|
},
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
* Get the list of suggested terms
|
|
15564
|
+
/**
|
|
15565
|
+
* Get the list of suggested terms
|
|
15225
15566
|
*/
|
|
15226
15567
|
searchSuggestions: function searchSuggestions(term) {
|
|
15227
15568
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -15286,17 +15627,15 @@ var mapResize = function mapResize(map) {
|
|
|
15286
15627
|
type: String,
|
|
15287
15628
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
15288
15629
|
},
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
* State containing state of the flatmap.
|
|
15630
|
+
/**
|
|
15631
|
+
* State containing state of the flatmap.
|
|
15292
15632
|
*/
|
|
15293
15633
|
state: {
|
|
15294
15634
|
type: Object,
|
|
15295
15635
|
default: undefined
|
|
15296
15636
|
},
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
* Specify the endpoint of the flatmap server.
|
|
15637
|
+
/**
|
|
15638
|
+
* Specify the endpoint of the flatmap server.
|
|
15300
15639
|
*/
|
|
15301
15640
|
flatmapAPI: {
|
|
15302
15641
|
type: String,
|
|
@@ -15368,15 +15707,14 @@ var mapResize = function mapResize(map) {
|
|
|
15368
15707
|
},
|
|
15369
15708
|
mounted: function mounted() {
|
|
15370
15709
|
var flatmap = __webpack_require__("4979");
|
|
15371
|
-
|
|
15372
15710
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
15373
15711
|
if (this.renderAtMounted) this.createFlatmap();
|
|
15374
15712
|
}
|
|
15375
15713
|
});
|
|
15376
15714
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15377
15715
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
15378
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
15379
|
-
var
|
|
15716
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=6c4be18e&prod&scoped=true&lang=scss&
|
|
15717
|
+
var FlatmapVuervue_type_style_index_0_id_6c4be18e_prod_scoped_true_lang_scss_ = __webpack_require__("3412");
|
|
15380
15718
|
|
|
15381
15719
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
15382
15720
|
|
|
@@ -15393,18 +15731,128 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
15393
15731
|
staticRenderFns,
|
|
15394
15732
|
false,
|
|
15395
15733
|
null,
|
|
15396
|
-
"
|
|
15734
|
+
"6c4be18e",
|
|
15397
15735
|
null
|
|
15398
15736
|
|
|
15399
15737
|
)
|
|
15400
15738
|
|
|
15401
15739
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
15402
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15403
|
-
var
|
|
15404
|
-
var
|
|
15405
|
-
|
|
15740
|
+
// 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&
|
|
15741
|
+
var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function render() {
|
|
15742
|
+
var _vm = this,
|
|
15743
|
+
_c = _vm._self._c;
|
|
15744
|
+
return _c('div', {
|
|
15745
|
+
ref: "multiContainer",
|
|
15746
|
+
staticClass: "multi-container"
|
|
15747
|
+
}, [_c('div', {
|
|
15748
|
+
staticStyle: {
|
|
15749
|
+
"position": "absolute",
|
|
15750
|
+
"z-index": "10"
|
|
15751
|
+
}
|
|
15752
|
+
}, [_c('div', {
|
|
15753
|
+
staticClass: "species-display-text"
|
|
15754
|
+
}, [_vm._v(" Species ")]), _c('el-popover', {
|
|
15755
|
+
ref: "selectPopover",
|
|
15756
|
+
attrs: {
|
|
15757
|
+
"content": "Select a species",
|
|
15758
|
+
"placement": "right",
|
|
15759
|
+
"appendToBody": false,
|
|
15760
|
+
"trigger": "manual",
|
|
15761
|
+
"popper-class": "flatmap-popper right-popper"
|
|
15762
|
+
},
|
|
15763
|
+
model: {
|
|
15764
|
+
value: _vm.helpMode,
|
|
15765
|
+
callback: function callback($$v) {
|
|
15766
|
+
_vm.helpMode = $$v;
|
|
15767
|
+
},
|
|
15768
|
+
expression: "helpMode"
|
|
15769
|
+
}
|
|
15770
|
+
}), _c('el-select', {
|
|
15771
|
+
directives: [{
|
|
15772
|
+
name: "popover",
|
|
15773
|
+
rawName: "v-popover:selectPopover",
|
|
15774
|
+
arg: "selectPopover"
|
|
15775
|
+
}],
|
|
15776
|
+
staticClass: "select-box",
|
|
15777
|
+
attrs: {
|
|
15778
|
+
"id": "flatmap-select",
|
|
15779
|
+
"popper-append-to-body": _vm.appendToBody,
|
|
15780
|
+
"placeholder": "Select",
|
|
15781
|
+
"popper-class": "flatmap_dropdown"
|
|
15782
|
+
},
|
|
15783
|
+
on: {
|
|
15784
|
+
"change": _vm.setSpecies
|
|
15785
|
+
},
|
|
15786
|
+
model: {
|
|
15787
|
+
value: _vm.activeSpecies,
|
|
15788
|
+
callback: function callback($$v) {
|
|
15789
|
+
_vm.activeSpecies = $$v;
|
|
15790
|
+
},
|
|
15791
|
+
expression: "activeSpecies"
|
|
15792
|
+
}
|
|
15793
|
+
}, _vm._l(_vm.speciesList, function (item, key) {
|
|
15794
|
+
return _c('el-option', {
|
|
15795
|
+
key: key,
|
|
15796
|
+
attrs: {
|
|
15797
|
+
"label": key,
|
|
15798
|
+
"value": key
|
|
15799
|
+
}
|
|
15800
|
+
}, [_c('el-row', [_c('el-col', {
|
|
15801
|
+
attrs: {
|
|
15802
|
+
"span": 8
|
|
15803
|
+
}
|
|
15804
|
+
}, [_c('i', {
|
|
15805
|
+
class: item.iconClass
|
|
15806
|
+
})]), _c('el-col', {
|
|
15807
|
+
attrs: {
|
|
15808
|
+
"span": 12
|
|
15809
|
+
}
|
|
15810
|
+
}, [_vm._v(_vm._s(key))])], 1)], 1);
|
|
15811
|
+
}), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
|
|
15812
|
+
return _c('FlatmapVuer', {
|
|
15813
|
+
directives: [{
|
|
15814
|
+
name: "show",
|
|
15815
|
+
rawName: "v-show",
|
|
15816
|
+
value: _vm.activeSpecies == key,
|
|
15817
|
+
expression: "activeSpecies==key"
|
|
15818
|
+
}],
|
|
15819
|
+
key: key,
|
|
15820
|
+
ref: key,
|
|
15821
|
+
refInFor: true,
|
|
15822
|
+
staticStyle: {
|
|
15823
|
+
"height": "100%"
|
|
15824
|
+
},
|
|
15825
|
+
attrs: {
|
|
15826
|
+
"showLayer": _vm.showLayer,
|
|
15827
|
+
"entry": item.taxo,
|
|
15828
|
+
"biologicalSex": item.biologicalSex,
|
|
15829
|
+
"displayWarning": item.displayWarning,
|
|
15830
|
+
"warningMessage": _vm.warningMessage,
|
|
15831
|
+
"displayLatestChanges": item.displayLatestChanges,
|
|
15832
|
+
"latestChangesMessage": item.latestChangesMessage,
|
|
15833
|
+
"isLegacy": item.isLegacy,
|
|
15834
|
+
"featureInfo": _vm.featureInfo,
|
|
15835
|
+
"minZoom": _vm.minZoom,
|
|
15836
|
+
"pathControls": _vm.pathControls,
|
|
15837
|
+
"searchable": _vm.searchable,
|
|
15838
|
+
"helpMode": _vm.helpMode,
|
|
15839
|
+
"renderAtMounted": _vm.renderAtMounted,
|
|
15840
|
+
"displayMinimap": _vm.displayMinimap,
|
|
15841
|
+
"flatmapAPI": _vm.flatmapAPI,
|
|
15842
|
+
"sparcAPI": _vm.sparcAPI
|
|
15843
|
+
},
|
|
15844
|
+
on: {
|
|
15845
|
+
"view-latest-map": _vm.viewLatestMap,
|
|
15846
|
+
"resource-selected": _vm.FlatmapSelected,
|
|
15847
|
+
"ready": _vm.FlatmapReady,
|
|
15848
|
+
"pan-zoom-callback": _vm.panZoomCallback
|
|
15849
|
+
}
|
|
15850
|
+
});
|
|
15851
|
+
})], 2);
|
|
15852
|
+
};
|
|
15853
|
+
var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_staticRenderFns = [];
|
|
15406
15854
|
|
|
15407
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
15855
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0d8bc999&scoped=true&
|
|
15408
15856
|
|
|
15409
15857
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
15410
15858
|
var popover = __webpack_require__("06f1");
|
|
@@ -15430,7 +15878,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
15430
15878
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
15431
15879
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
15432
15880
|
|
|
15433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
15881
|
+
// 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&
|
|
15434
15882
|
|
|
15435
15883
|
|
|
15436
15884
|
|
|
@@ -15452,65 +15900,6 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
15452
15900
|
|
|
15453
15901
|
|
|
15454
15902
|
|
|
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
|
-
//
|
|
15506
|
-
//
|
|
15507
|
-
//
|
|
15508
|
-
//
|
|
15509
|
-
//
|
|
15510
|
-
//
|
|
15511
|
-
//
|
|
15512
|
-
//
|
|
15513
|
-
//
|
|
15514
15903
|
|
|
15515
15904
|
/* eslint-disable no-alert, no-console */
|
|
15516
15905
|
|
|
@@ -15544,7 +15933,6 @@ var TAXON_UUID = {
|
|
|
15544
15933
|
},
|
|
15545
15934
|
mounted: function mounted() {
|
|
15546
15935
|
var _this = this;
|
|
15547
|
-
|
|
15548
15936
|
this.initialise();
|
|
15549
15937
|
components_EventBus.$on('onActionClick', function (action) {
|
|
15550
15938
|
_this.FlatmapSelected(action);
|
|
@@ -15553,7 +15941,6 @@ var TAXON_UUID = {
|
|
|
15553
15941
|
methods: {
|
|
15554
15942
|
initialise: function initialise() {
|
|
15555
15943
|
var _this2 = this;
|
|
15556
|
-
|
|
15557
15944
|
return new Promise(function (resolve) {
|
|
15558
15945
|
if (_this2.requireInitialisation) {
|
|
15559
15946
|
//It has not been initialised yet
|
|
@@ -15569,25 +15956,21 @@ var TAXON_UUID = {
|
|
|
15569
15956
|
if (_this2.availableSpecies[key].biologicalSex) {
|
|
15570
15957
|
if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
|
|
15571
15958
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15572
|
-
|
|
15573
15959
|
break;
|
|
15574
15960
|
}
|
|
15575
15961
|
} else {
|
|
15576
15962
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15577
|
-
|
|
15578
15963
|
break;
|
|
15579
15964
|
}
|
|
15580
15965
|
}
|
|
15581
15966
|
}
|
|
15582
|
-
});
|
|
15583
|
-
|
|
15967
|
+
});
|
|
15968
|
+
//Use the state species if it does not have any other species information
|
|
15584
15969
|
var species = _this2.initial;
|
|
15585
|
-
|
|
15586
15970
|
if (_this2.state) {
|
|
15587
15971
|
var mapState = _this2.state.state;
|
|
15588
15972
|
if ((!mapState || !mapState.uuid && !mapState.entry) && _this2.state.species) species = _this2.state.species;else species = undefined;
|
|
15589
15973
|
}
|
|
15590
|
-
|
|
15591
15974
|
if (species) {
|
|
15592
15975
|
//No state resuming, set the current flatmap to {this.initial}
|
|
15593
15976
|
if (species && _this2.speciesList[species] !== undefined) {
|
|
@@ -15595,13 +15978,11 @@ var TAXON_UUID = {
|
|
|
15595
15978
|
} else {
|
|
15596
15979
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
15597
15980
|
}
|
|
15598
|
-
|
|
15599
15981
|
_this2.setSpecies(_this2.activeSpecies, _this2.state ? _this2.state.state : undefined, 5);
|
|
15600
15982
|
}
|
|
15601
|
-
|
|
15602
15983
|
_this2._initialised = true;
|
|
15603
|
-
resolve();
|
|
15604
|
-
|
|
15984
|
+
resolve();
|
|
15985
|
+
//Resolve all other promises resolve in the list
|
|
15605
15986
|
_this2._resolveList.forEach(function (other) {
|
|
15606
15987
|
other();
|
|
15607
15988
|
});
|
|
@@ -15620,15 +16001,12 @@ var TAXON_UUID = {
|
|
|
15620
16001
|
},
|
|
15621
16002
|
FlatmapReady: function FlatmapReady(component) {
|
|
15622
16003
|
this.$emit("ready", component);
|
|
15623
|
-
this.addCloseButtonToMinimap();
|
|
15624
16004
|
},
|
|
15625
16005
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
15626
16006
|
var flatmap = this.$refs[this.activeSpecies];
|
|
15627
|
-
|
|
15628
16007
|
if (flatmap && flatmap[0]) {
|
|
15629
16008
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
15630
16009
|
}
|
|
15631
|
-
|
|
15632
16010
|
return undefined;
|
|
15633
16011
|
},
|
|
15634
16012
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -15647,14 +16025,12 @@ var TAXON_UUID = {
|
|
|
15647
16025
|
},
|
|
15648
16026
|
setSpecies: function setSpecies(species, state, numberOfRetry) {
|
|
15649
16027
|
var _this3 = this;
|
|
15650
|
-
|
|
15651
16028
|
if (this.$refs && species in this.$refs) {
|
|
15652
16029
|
this.activeSpecies = species;
|
|
15653
16030
|
this.$refs[this.activeSpecies][0].createFlatmap(state);
|
|
15654
16031
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
15655
16032
|
} else if (numberOfRetry) {
|
|
15656
16033
|
var retry = numberOfRetry - 1;
|
|
15657
|
-
|
|
15658
16034
|
if (retry >= 0) {
|
|
15659
16035
|
external_vue_default.a.nextTick(function () {
|
|
15660
16036
|
_this3.setSpecies(species, state, retry);
|
|
@@ -15662,39 +16038,33 @@ var TAXON_UUID = {
|
|
|
15662
16038
|
}
|
|
15663
16039
|
}
|
|
15664
16040
|
},
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
*
|
|
15668
|
-
*
|
|
15669
|
-
*
|
|
15670
|
-
* @private
|
|
16041
|
+
/**
|
|
16042
|
+
* Function to switch to the latest existing map from
|
|
16043
|
+
* a legacy map of the same species.
|
|
16044
|
+
*
|
|
16045
|
+
* @private
|
|
15671
16046
|
*/
|
|
15672
16047
|
viewLatestMap: function viewLatestMap(state) {
|
|
15673
16048
|
var keys = Object.keys(this.speciesList);
|
|
15674
|
-
|
|
15675
16049
|
for (var i = 0; i < keys.length; i++) {
|
|
15676
16050
|
var species = this.speciesList[keys[i]];
|
|
15677
|
-
|
|
15678
16051
|
if (!species.isLegacy && species.taxo === state.entry && species.biologicalSex === state.biologicalSex) {
|
|
15679
16052
|
this.setSpecies(keys[i], state, 0);
|
|
15680
16053
|
return;
|
|
15681
16054
|
}
|
|
15682
16055
|
}
|
|
15683
16056
|
},
|
|
15684
|
-
|
|
15685
|
-
|
|
15686
|
-
*
|
|
15687
|
-
*
|
|
15688
|
-
* @private
|
|
16057
|
+
/**
|
|
16058
|
+
* Create a legacy entry with the provided information
|
|
16059
|
+
*
|
|
16060
|
+
* @private
|
|
15689
16061
|
*/
|
|
15690
16062
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
15691
16063
|
if (uuid && taxo) {
|
|
15692
16064
|
var name = "Legacy";
|
|
15693
|
-
|
|
15694
16065
|
if (state.species) {
|
|
15695
16066
|
if (state.species.slice(0, 6) === "Legacy") name = state.species;else name = name + " ".concat(state.species);
|
|
15696
16067
|
}
|
|
15697
|
-
|
|
15698
16068
|
this.$set(this.speciesList, name, {
|
|
15699
16069
|
taxo: taxo,
|
|
15700
16070
|
isLegacy: true,
|
|
@@ -15711,34 +16081,30 @@ var TAXON_UUID = {
|
|
|
15711
16081
|
};
|
|
15712
16082
|
}
|
|
15713
16083
|
},
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
*
|
|
15717
|
-
*
|
|
15718
|
-
*
|
|
15719
|
-
* @private
|
|
16084
|
+
/**
|
|
16085
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
16086
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
16087
|
+
*
|
|
16088
|
+
* @private
|
|
15720
16089
|
*/
|
|
15721
16090
|
updateState: function updateState(state) {
|
|
15722
16091
|
var _this4 = this;
|
|
15723
|
-
|
|
15724
16092
|
return new Promise(function (resolve) {
|
|
15725
16093
|
if (state && state.state) {
|
|
15726
|
-
var mapState = state.state;
|
|
15727
|
-
|
|
16094
|
+
var mapState = state.state;
|
|
16095
|
+
//uuid is not in the state, this is a legacy map
|
|
15728
16096
|
if (!mapState.uuid) {
|
|
15729
16097
|
if (mapState.entry) {
|
|
15730
16098
|
var uuid = mapState.entry in TAXON_UUID ? TAXON_UUID[mapState.entry] : undefined;
|
|
15731
|
-
|
|
15732
16099
|
var newState = _this4.createLegacyEntry(state, mapState.entry, uuid);
|
|
15733
|
-
|
|
15734
16100
|
resolve(newState ? newState : state);
|
|
15735
16101
|
}
|
|
15736
16102
|
} else if (mapState.entry) {
|
|
15737
16103
|
//uuid is in the state but should be checked if it is the latest map
|
|
15738
16104
|
//for that taxon
|
|
15739
16105
|
return new Promise(function () {
|
|
15740
|
-
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
15741
|
-
|
|
16106
|
+
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
16107
|
+
//mapManager.findMap_ is an async function so we need to wrap this with a promise
|
|
15742
16108
|
var identifier = {
|
|
15743
16109
|
taxon: mapState.entry
|
|
15744
16110
|
};
|
|
@@ -15753,19 +16119,18 @@ var TAXON_UUID = {
|
|
|
15753
16119
|
resolve(state);
|
|
15754
16120
|
});
|
|
15755
16121
|
});
|
|
15756
|
-
}
|
|
15757
|
-
|
|
16122
|
+
}
|
|
16123
|
+
//Create a new state and add the legacy map to the select
|
|
15758
16124
|
}
|
|
15759
16125
|
|
|
15760
16126
|
resolve(state);
|
|
15761
16127
|
});
|
|
15762
16128
|
},
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
*
|
|
15766
|
-
*
|
|
15767
|
-
*
|
|
15768
|
-
* @public
|
|
16129
|
+
/**
|
|
16130
|
+
* Function used for getting the current states of the scene. This exported states
|
|
16131
|
+
* can be imported using the importStates method.
|
|
16132
|
+
*
|
|
16133
|
+
* @public
|
|
15769
16134
|
*/
|
|
15770
16135
|
getState: function getState() {
|
|
15771
16136
|
var state = {
|
|
@@ -15776,16 +16141,14 @@ var TAXON_UUID = {
|
|
|
15776
16141
|
state.state = map.getState();
|
|
15777
16142
|
return state;
|
|
15778
16143
|
},
|
|
15779
|
-
|
|
15780
|
-
|
|
15781
|
-
*
|
|
15782
|
-
*
|
|
15783
|
-
*
|
|
15784
|
-
* @public
|
|
16144
|
+
/**
|
|
16145
|
+
* Function used for importing the states of the scene. This exported states
|
|
16146
|
+
* can be imported using the read states method.
|
|
16147
|
+
*
|
|
16148
|
+
* @public
|
|
15785
16149
|
*/
|
|
15786
16150
|
setState: function setState(state) {
|
|
15787
16151
|
var _this5 = this;
|
|
15788
|
-
|
|
15789
16152
|
if (state) {
|
|
15790
16153
|
//Update state if required
|
|
15791
16154
|
this.updateState(state).then(function (currentState) {
|
|
@@ -15794,7 +16157,6 @@ var TAXON_UUID = {
|
|
|
15794
16157
|
_this5.setSpecies(currentState.species, currentState.state, 5);
|
|
15795
16158
|
} else if (currentState.state) {
|
|
15796
16159
|
var map = _this5.getCurrentFlatmap();
|
|
15797
|
-
|
|
15798
16160
|
map.setState(currentState.state);
|
|
15799
16161
|
}
|
|
15800
16162
|
});
|
|
@@ -15822,10 +16184,9 @@ var TAXON_UUID = {
|
|
|
15822
16184
|
type: Boolean,
|
|
15823
16185
|
default: false
|
|
15824
16186
|
},
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
*
|
|
15828
|
-
* This value will be ignored if a valid state object is provided.
|
|
16187
|
+
/**
|
|
16188
|
+
* Initial species for the flatmap.
|
|
16189
|
+
* This value will be ignored if a valid state object is provided.
|
|
15829
16190
|
*/
|
|
15830
16191
|
initial: {
|
|
15831
16192
|
type: String,
|
|
@@ -15890,17 +16251,15 @@ var TAXON_UUID = {
|
|
|
15890
16251
|
};
|
|
15891
16252
|
}
|
|
15892
16253
|
},
|
|
15893
|
-
|
|
15894
|
-
|
|
15895
|
-
* State containing state of the flatmap.
|
|
16254
|
+
/**
|
|
16255
|
+
* State containing state of the flatmap.
|
|
15896
16256
|
*/
|
|
15897
16257
|
state: {
|
|
15898
16258
|
type: Object,
|
|
15899
16259
|
default: undefined
|
|
15900
16260
|
},
|
|
15901
|
-
|
|
15902
|
-
|
|
15903
|
-
* Specify the endpoint of the flatmap server.
|
|
16261
|
+
/**
|
|
16262
|
+
* Specify the endpoint of the flatmap server.
|
|
15904
16263
|
*/
|
|
15905
16264
|
flatmapAPI: {
|
|
15906
16265
|
type: String,
|
|
@@ -15931,8 +16290,8 @@ var TAXON_UUID = {
|
|
|
15931
16290
|
});
|
|
15932
16291
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
15933
16292
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
15934
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
15935
|
-
var
|
|
16293
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=0d8bc999&prod&scoped=true&lang=scss&
|
|
16294
|
+
var MultiFlatmapVuervue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss_ = __webpack_require__("ec09");
|
|
15936
16295
|
|
|
15937
16296
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
15938
16297
|
|
|
@@ -15945,11 +16304,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss_ =
|
|
|
15945
16304
|
|
|
15946
16305
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
15947
16306
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
15948
|
-
|
|
15949
|
-
|
|
16307
|
+
MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render,
|
|
16308
|
+
MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_staticRenderFns,
|
|
15950
16309
|
false,
|
|
15951
16310
|
null,
|
|
15952
|
-
"
|
|
16311
|
+
"0d8bc999",
|
|
15953
16312
|
null
|
|
15954
16313
|
|
|
15955
16314
|
)
|