@abi-software/flatmapvuer 0.3.14 → 0.3.16-beta-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +1351 -990
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1351 -990
- 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 +14121 -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,24 @@ module.exports = require("core-js/modules/es.string.search.js");
|
|
|
788
749
|
|
|
789
750
|
/***/ }),
|
|
790
751
|
|
|
752
|
+
/***/ "233b":
|
|
753
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
754
|
+
|
|
755
|
+
"use strict";
|
|
756
|
+
/* 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");
|
|
757
|
+
/* 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__);
|
|
758
|
+
/* unused harmony reexport * */
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
/***/ }),
|
|
762
|
+
|
|
763
|
+
/***/ "2439":
|
|
764
|
+
/***/ (function(module, exports) {
|
|
765
|
+
|
|
766
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
767
|
+
|
|
768
|
+
/***/ }),
|
|
769
|
+
|
|
791
770
|
/***/ "2a5e":
|
|
792
771
|
/***/ (function(module, exports, __webpack_require__) {
|
|
793
772
|
|
|
@@ -921,6 +900,17 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
921
900
|
|
|
922
901
|
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
923
902
|
|
|
903
|
+
/***/ }),
|
|
904
|
+
|
|
905
|
+
/***/ "318c":
|
|
906
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
907
|
+
|
|
908
|
+
"use strict";
|
|
909
|
+
/* 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");
|
|
910
|
+
/* 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__);
|
|
911
|
+
/* unused harmony reexport * */
|
|
912
|
+
|
|
913
|
+
|
|
924
914
|
/***/ }),
|
|
925
915
|
|
|
926
916
|
/***/ "3d2d":
|
|
@@ -1010,7 +1000,7 @@ module.exports =
|
|
|
1010
1000
|
/******/
|
|
1011
1001
|
/******/
|
|
1012
1002
|
/******/ // Load entry module and return exports
|
|
1013
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1003
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1014
1004
|
/******/ })
|
|
1015
1005
|
/************************************************************************/
|
|
1016
1006
|
/******/ ({
|
|
@@ -1117,7 +1107,7 @@ function normalizeComponent (
|
|
|
1117
1107
|
|
|
1118
1108
|
/***/ }),
|
|
1119
1109
|
|
|
1120
|
-
/***/
|
|
1110
|
+
/***/ 116:
|
|
1121
1111
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1122
1112
|
|
|
1123
1113
|
"use strict";
|
|
@@ -1229,6 +1219,8 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
|
1229
1219
|
|
|
1230
1220
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1231
1221
|
|
|
1222
|
+
var _throttleDebounce = __webpack_require__("831f");
|
|
1223
|
+
|
|
1232
1224
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1233
1225
|
|
|
1234
1226
|
var isServer = typeof window === 'undefined';
|
|
@@ -1263,7 +1255,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
|
|
|
1263
1255
|
if (isServer) return;
|
|
1264
1256
|
if (!element.__resizeListeners__) {
|
|
1265
1257
|
element.__resizeListeners__ = [];
|
|
1266
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1258
|
+
element.__ro__ = new _resizeObserverPolyfill2.default((0, _throttleDebounce.debounce)(16, resizeHandler));
|
|
1267
1259
|
element.__ro__.observe(element);
|
|
1268
1260
|
}
|
|
1269
1261
|
element.__resizeListeners__.push(fn);
|
|
@@ -1697,6 +1689,13 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
1697
1689
|
|
|
1698
1690
|
/***/ }),
|
|
1699
1691
|
|
|
1692
|
+
/***/ "4d90":
|
|
1693
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1694
|
+
|
|
1695
|
+
// extracted by mini-css-extract-plugin
|
|
1696
|
+
|
|
1697
|
+
/***/ }),
|
|
1698
|
+
|
|
1700
1699
|
/***/ "4e4b":
|
|
1701
1700
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1702
1701
|
|
|
@@ -1784,7 +1783,7 @@ module.exports =
|
|
|
1784
1783
|
/******/
|
|
1785
1784
|
/******/
|
|
1786
1785
|
/******/ // Load entry module and return exports
|
|
1787
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1786
|
+
/******/ return __webpack_require__(__webpack_require__.s = 62);
|
|
1788
1787
|
/******/ })
|
|
1789
1788
|
/************************************************************************/
|
|
1790
1789
|
/******/ ({
|
|
@@ -1919,7 +1918,7 @@ module.exports = __webpack_require__("4010");
|
|
|
1919
1918
|
|
|
1920
1919
|
/***/ }),
|
|
1921
1920
|
|
|
1922
|
-
/***/
|
|
1921
|
+
/***/ 19:
|
|
1923
1922
|
/***/ (function(module, exports) {
|
|
1924
1923
|
|
|
1925
1924
|
module.exports = __webpack_require__("7435");
|
|
@@ -1947,14 +1946,14 @@ module.exports = __webpack_require__("8122");
|
|
|
1947
1946
|
|
|
1948
1947
|
/***/ }),
|
|
1949
1948
|
|
|
1950
|
-
/***/
|
|
1949
|
+
/***/ 32:
|
|
1951
1950
|
/***/ (function(module, exports) {
|
|
1952
1951
|
|
|
1953
1952
|
module.exports = __webpack_require__("2a5e");
|
|
1954
1953
|
|
|
1955
1954
|
/***/ }),
|
|
1956
1955
|
|
|
1957
|
-
/***/
|
|
1956
|
+
/***/ 34:
|
|
1958
1957
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1959
1958
|
|
|
1960
1959
|
"use strict";
|
|
@@ -2205,7 +2204,7 @@ component.options.__file = "packages/select/src/option.vue"
|
|
|
2205
2204
|
|
|
2206
2205
|
/***/ }),
|
|
2207
2206
|
|
|
2208
|
-
/***/
|
|
2207
|
+
/***/ 38:
|
|
2209
2208
|
/***/ (function(module, exports) {
|
|
2210
2209
|
|
|
2211
2210
|
module.exports = __webpack_require__("8bbc");
|
|
@@ -2233,7 +2232,7 @@ module.exports = __webpack_require__("6b7c");
|
|
|
2233
2232
|
|
|
2234
2233
|
/***/ }),
|
|
2235
2234
|
|
|
2236
|
-
/***/
|
|
2235
|
+
/***/ 62:
|
|
2237
2236
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2238
2237
|
|
|
2239
2238
|
"use strict";
|
|
@@ -2399,7 +2398,7 @@ var render = function() {
|
|
|
2399
2398
|
return null
|
|
2400
2399
|
}
|
|
2401
2400
|
$event.preventDefault()
|
|
2402
|
-
_vm.
|
|
2401
|
+
_vm.handleNavigate("next")
|
|
2403
2402
|
},
|
|
2404
2403
|
function($event) {
|
|
2405
2404
|
if (
|
|
@@ -2412,7 +2411,7 @@ var render = function() {
|
|
|
2412
2411
|
return null
|
|
2413
2412
|
}
|
|
2414
2413
|
$event.preventDefault()
|
|
2415
|
-
_vm.
|
|
2414
|
+
_vm.handleNavigate("prev")
|
|
2416
2415
|
},
|
|
2417
2416
|
function($event) {
|
|
2418
2417
|
if (
|
|
@@ -2505,11 +2504,15 @@ var render = function() {
|
|
|
2505
2504
|
"validate-event": false,
|
|
2506
2505
|
tabindex: _vm.multiple && _vm.filterable ? "-1" : null
|
|
2507
2506
|
},
|
|
2508
|
-
on: {
|
|
2507
|
+
on: {
|
|
2508
|
+
focus: _vm.handleFocus,
|
|
2509
|
+
blur: _vm.handleBlur,
|
|
2510
|
+
input: _vm.debouncedOnInputChange,
|
|
2511
|
+
compositionstart: _vm.handleComposition,
|
|
2512
|
+
compositionupdate: _vm.handleComposition,
|
|
2513
|
+
compositionend: _vm.handleComposition
|
|
2514
|
+
},
|
|
2509
2515
|
nativeOn: {
|
|
2510
|
-
keyup: function($event) {
|
|
2511
|
-
return _vm.debouncedOnInputChange($event)
|
|
2512
|
-
},
|
|
2513
2516
|
keydown: [
|
|
2514
2517
|
function($event) {
|
|
2515
2518
|
if (
|
|
@@ -2523,7 +2526,7 @@ var render = function() {
|
|
|
2523
2526
|
}
|
|
2524
2527
|
$event.stopPropagation()
|
|
2525
2528
|
$event.preventDefault()
|
|
2526
|
-
_vm.
|
|
2529
|
+
_vm.handleNavigate("next")
|
|
2527
2530
|
},
|
|
2528
2531
|
function($event) {
|
|
2529
2532
|
if (
|
|
@@ -2537,7 +2540,7 @@ var render = function() {
|
|
|
2537
2540
|
}
|
|
2538
2541
|
$event.stopPropagation()
|
|
2539
2542
|
$event.preventDefault()
|
|
2540
|
-
_vm.
|
|
2543
|
+
_vm.handleNavigate("prev")
|
|
2541
2544
|
},
|
|
2542
2545
|
function($event) {
|
|
2543
2546
|
if (
|
|
@@ -2573,9 +2576,6 @@ var render = function() {
|
|
|
2573
2576
|
_vm.visible = false
|
|
2574
2577
|
}
|
|
2575
2578
|
],
|
|
2576
|
-
paste: function($event) {
|
|
2577
|
-
return _vm.debouncedOnInputChange($event)
|
|
2578
|
-
},
|
|
2579
2579
|
mouseenter: function($event) {
|
|
2580
2580
|
_vm.inputHovering = true
|
|
2581
2581
|
},
|
|
@@ -2861,10 +2861,10 @@ if (false) { var api; }
|
|
|
2861
2861
|
component.options.__file = "packages/select/src/select-dropdown.vue"
|
|
2862
2862
|
/* harmony default export */ var select_dropdown = (component.exports);
|
|
2863
2863
|
// EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
|
|
2864
|
-
var src_option = __webpack_require__(
|
|
2864
|
+
var src_option = __webpack_require__(34);
|
|
2865
2865
|
|
|
2866
2866
|
// EXTERNAL MODULE: external "element-ui/lib/tag"
|
|
2867
|
-
var tag_ = __webpack_require__(
|
|
2867
|
+
var tag_ = __webpack_require__(38);
|
|
2868
2868
|
var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
|
|
2869
2869
|
|
|
2870
2870
|
// EXTERNAL MODULE: external "element-ui/lib/scrollbar"
|
|
@@ -2872,7 +2872,7 @@ var scrollbar_ = __webpack_require__(15);
|
|
|
2872
2872
|
var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
2873
2873
|
|
|
2874
2874
|
// EXTERNAL MODULE: external "throttle-debounce/debounce"
|
|
2875
|
-
var debounce_ = __webpack_require__(
|
|
2875
|
+
var debounce_ = __webpack_require__(19);
|
|
2876
2876
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
2877
2877
|
|
|
2878
2878
|
// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
|
|
@@ -2883,7 +2883,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
2883
2883
|
var resize_event_ = __webpack_require__(16);
|
|
2884
2884
|
|
|
2885
2885
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
|
|
2886
|
-
var scroll_into_view_ = __webpack_require__(
|
|
2886
|
+
var scroll_into_view_ = __webpack_require__(32);
|
|
2887
2887
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
2888
2888
|
|
|
2889
2889
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -3092,6 +3092,8 @@ var shared_ = __webpack_require__(21);
|
|
|
3092
3092
|
//
|
|
3093
3093
|
//
|
|
3094
3094
|
//
|
|
3095
|
+
//
|
|
3096
|
+
//
|
|
3095
3097
|
|
|
3096
3098
|
|
|
3097
3099
|
|
|
@@ -3389,6 +3391,11 @@ var shared_ = __webpack_require__(21);
|
|
|
3389
3391
|
},
|
|
3390
3392
|
|
|
3391
3393
|
methods: {
|
|
3394
|
+
handleNavigate: function handleNavigate(direction) {
|
|
3395
|
+
if (this.isOnComposition) return;
|
|
3396
|
+
|
|
3397
|
+
this.navigateOptions(direction);
|
|
3398
|
+
},
|
|
3392
3399
|
handleComposition: function handleComposition(event) {
|
|
3393
3400
|
var _this5 = this;
|
|
3394
3401
|
|
|
@@ -3474,7 +3481,7 @@ var shared_ = __webpack_require__(21);
|
|
|
3474
3481
|
}
|
|
3475
3482
|
}
|
|
3476
3483
|
if (option) return option;
|
|
3477
|
-
var label = !isObject && !isNull && !isUndefined ? value : '';
|
|
3484
|
+
var label = !isObject && !isNull && !isUndefined ? String(value) : '';
|
|
3478
3485
|
var newOption = {
|
|
3479
3486
|
value: value,
|
|
3480
3487
|
currentLabel: label
|
|
@@ -3514,10 +3521,10 @@ var shared_ = __webpack_require__(21);
|
|
|
3514
3521
|
handleFocus: function handleFocus(event) {
|
|
3515
3522
|
if (!this.softFocus) {
|
|
3516
3523
|
if (this.automaticDropdown || this.filterable) {
|
|
3517
|
-
this.visible
|
|
3518
|
-
if (this.filterable) {
|
|
3524
|
+
if (this.filterable && !this.visible) {
|
|
3519
3525
|
this.menuVisibleOnFocus = true;
|
|
3520
3526
|
}
|
|
3527
|
+
this.visible = true;
|
|
3521
3528
|
}
|
|
3522
3529
|
this.$emit('focus', event);
|
|
3523
3530
|
} else {
|
|
@@ -3591,8 +3598,9 @@ var shared_ = __webpack_require__(21);
|
|
|
3591
3598
|
return item.tagName === 'INPUT';
|
|
3592
3599
|
})[0];
|
|
3593
3600
|
var tags = _this10.$refs.tags;
|
|
3601
|
+
var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
|
|
3594
3602
|
var sizeInMap = _this10.initialInputHeight || 40;
|
|
3595
|
-
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ?
|
|
3603
|
+
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
|
|
3596
3604
|
if (_this10.visible && _this10.emptyText !== false) {
|
|
3597
3605
|
_this10.broadcast('ElSelectDropdown', 'updatePopper');
|
|
3598
3606
|
}
|
|
@@ -3864,6 +3872,17 @@ src_select.install = function (Vue) {
|
|
|
3864
3872
|
|
|
3865
3873
|
/******/ });
|
|
3866
3874
|
|
|
3875
|
+
/***/ }),
|
|
3876
|
+
|
|
3877
|
+
/***/ "4fc1":
|
|
3878
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3879
|
+
|
|
3880
|
+
"use strict";
|
|
3881
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5967");
|
|
3882
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
3883
|
+
/* unused harmony reexport * */
|
|
3884
|
+
|
|
3885
|
+
|
|
3867
3886
|
/***/ }),
|
|
3868
3887
|
|
|
3869
3888
|
/***/ "5128":
|
|
@@ -4113,7 +4132,7 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4113
4132
|
|
|
4114
4133
|
/***/ }),
|
|
4115
4134
|
|
|
4116
|
-
/***/ "
|
|
4135
|
+
/***/ "5766":
|
|
4117
4136
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4118
4137
|
|
|
4119
4138
|
// extracted by mini-css-extract-plugin
|
|
@@ -4231,7 +4250,7 @@ function addClass(el, cls) {
|
|
|
4231
4250
|
}
|
|
4232
4251
|
}
|
|
4233
4252
|
if (!el.classList) {
|
|
4234
|
-
el.
|
|
4253
|
+
el.setAttribute('class', curClass);
|
|
4235
4254
|
}
|
|
4236
4255
|
};
|
|
4237
4256
|
|
|
@@ -4252,7 +4271,7 @@ function removeClass(el, cls) {
|
|
|
4252
4271
|
}
|
|
4253
4272
|
}
|
|
4254
4273
|
if (!el.classList) {
|
|
4255
|
-
el.
|
|
4274
|
+
el.setAttribute('class', trim(curClass));
|
|
4256
4275
|
}
|
|
4257
4276
|
};
|
|
4258
4277
|
|
|
@@ -4316,10 +4335,10 @@ function setStyle(element, styleName, value) {
|
|
|
4316
4335
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4317
4336
|
if (isServer) return;
|
|
4318
4337
|
|
|
4319
|
-
var determinedDirection = vertical !== null
|
|
4338
|
+
var determinedDirection = vertical !== null && vertical !== undefined;
|
|
4320
4339
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4321
4340
|
|
|
4322
|
-
return overflow.match(/(scroll|auto)/);
|
|
4341
|
+
return overflow.match(/(scroll|auto|overlay)/);
|
|
4323
4342
|
};
|
|
4324
4343
|
|
|
4325
4344
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4361,11 +4380,29 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4361
4380
|
|
|
4362
4381
|
/***/ }),
|
|
4363
4382
|
|
|
4364
|
-
/***/ "
|
|
4383
|
+
/***/ "5967":
|
|
4365
4384
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4366
4385
|
|
|
4367
4386
|
// extracted by mini-css-extract-plugin
|
|
4368
4387
|
|
|
4388
|
+
/***/ }),
|
|
4389
|
+
|
|
4390
|
+
/***/ "5a3b":
|
|
4391
|
+
/***/ (function(module, exports) {
|
|
4392
|
+
|
|
4393
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4394
|
+
|
|
4395
|
+
/***/ }),
|
|
4396
|
+
|
|
4397
|
+
/***/ "608f":
|
|
4398
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4399
|
+
|
|
4400
|
+
"use strict";
|
|
4401
|
+
/* 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_3bbd19eb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c976");
|
|
4402
|
+
/* 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_3bbd19eb_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_3bbd19eb_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
4403
|
+
/* unused harmony reexport * */
|
|
4404
|
+
|
|
4405
|
+
|
|
4369
4406
|
/***/ }),
|
|
4370
4407
|
|
|
4371
4408
|
/***/ "6167":
|
|
@@ -5733,7 +5770,7 @@ module.exports =
|
|
|
5733
5770
|
/******/
|
|
5734
5771
|
/******/
|
|
5735
5772
|
/******/ // Load entry module and return exports
|
|
5736
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
5773
|
+
/******/ return __webpack_require__(__webpack_require__.s = 89);
|
|
5737
5774
|
/******/ })
|
|
5738
5775
|
/************************************************************************/
|
|
5739
5776
|
/******/ ({
|
|
@@ -5847,7 +5884,7 @@ module.exports = __webpack_require__("d010");
|
|
|
5847
5884
|
|
|
5848
5885
|
/***/ }),
|
|
5849
5886
|
|
|
5850
|
-
/***/
|
|
5887
|
+
/***/ 89:
|
|
5851
5888
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5852
5889
|
|
|
5853
5890
|
"use strict";
|
|
@@ -5926,7 +5963,9 @@ var keyCode = Object.freeze({
|
|
|
5926
5963
|
return (this.elFormItem || {}).elFormItemSize;
|
|
5927
5964
|
},
|
|
5928
5965
|
_elTag: function _elTag() {
|
|
5929
|
-
|
|
5966
|
+
var tag = (this.$vnode.data || {}).tag;
|
|
5967
|
+
if (!tag || tag === 'component') tag = 'div';
|
|
5968
|
+
return tag;
|
|
5930
5969
|
},
|
|
5931
5970
|
radioGroupSize: function radioGroupSize() {
|
|
5932
5971
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
@@ -6127,7 +6166,7 @@ module.exports =
|
|
|
6127
6166
|
/******/
|
|
6128
6167
|
/******/
|
|
6129
6168
|
/******/ // Load entry module and return exports
|
|
6130
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6169
|
+
/******/ return __webpack_require__(__webpack_require__.s = 78);
|
|
6131
6170
|
/******/ })
|
|
6132
6171
|
/************************************************************************/
|
|
6133
6172
|
/******/ ({
|
|
@@ -6262,7 +6301,7 @@ module.exports = __webpack_require__("8bbf");
|
|
|
6262
6301
|
|
|
6263
6302
|
/***/ }),
|
|
6264
6303
|
|
|
6265
|
-
/***/
|
|
6304
|
+
/***/ 78:
|
|
6266
6305
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6267
6306
|
|
|
6268
6307
|
"use strict";
|
|
@@ -6686,6 +6725,20 @@ exports.default = {
|
|
|
6686
6725
|
|
|
6687
6726
|
/***/ }),
|
|
6688
6727
|
|
|
6728
|
+
/***/ "712c":
|
|
6729
|
+
/***/ (function(module, exports) {
|
|
6730
|
+
|
|
6731
|
+
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
6732
|
+
|
|
6733
|
+
/***/ }),
|
|
6734
|
+
|
|
6735
|
+
/***/ "722b":
|
|
6736
|
+
/***/ (function(module, exports) {
|
|
6737
|
+
|
|
6738
|
+
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
6739
|
+
|
|
6740
|
+
/***/ }),
|
|
6741
|
+
|
|
6689
6742
|
/***/ "7435":
|
|
6690
6743
|
/***/ (function(module, exports) {
|
|
6691
6744
|
|
|
@@ -6700,6 +6753,13 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6700
6753
|
|
|
6701
6754
|
/***/ }),
|
|
6702
6755
|
|
|
6756
|
+
/***/ "7a9a":
|
|
6757
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6758
|
+
|
|
6759
|
+
// extracted by mini-css-extract-plugin
|
|
6760
|
+
|
|
6761
|
+
/***/ }),
|
|
6762
|
+
|
|
6703
6763
|
/***/ "7b31":
|
|
6704
6764
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6705
6765
|
|
|
@@ -6787,7 +6847,7 @@ module.exports =
|
|
|
6787
6847
|
/******/
|
|
6788
6848
|
/******/
|
|
6789
6849
|
/******/ // Load entry module and return exports
|
|
6790
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6850
|
+
/******/ return __webpack_require__(__webpack_require__.s = 117);
|
|
6791
6851
|
/******/ })
|
|
6792
6852
|
/************************************************************************/
|
|
6793
6853
|
/******/ ({
|
|
@@ -6894,7 +6954,7 @@ function normalizeComponent (
|
|
|
6894
6954
|
|
|
6895
6955
|
/***/ }),
|
|
6896
6956
|
|
|
6897
|
-
/***/
|
|
6957
|
+
/***/ 117:
|
|
6898
6958
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6899
6959
|
|
|
6900
6960
|
"use strict";
|
|
@@ -7097,7 +7157,7 @@ module.exports =
|
|
|
7097
7157
|
/******/
|
|
7098
7158
|
/******/
|
|
7099
7159
|
/******/ // Load entry module and return exports
|
|
7100
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7160
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
7101
7161
|
/******/ })
|
|
7102
7162
|
/************************************************************************/
|
|
7103
7163
|
/******/ ({
|
|
@@ -7211,7 +7271,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7211
7271
|
|
|
7212
7272
|
/***/ }),
|
|
7213
7273
|
|
|
7214
|
-
/***/
|
|
7274
|
+
/***/ 93:
|
|
7215
7275
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7216
7276
|
|
|
7217
7277
|
"use strict";
|
|
@@ -7603,6 +7663,13 @@ function objToArray(obj) {
|
|
|
7603
7663
|
|
|
7604
7664
|
/***/ }),
|
|
7605
7665
|
|
|
7666
|
+
/***/ "831f":
|
|
7667
|
+
/***/ (function(module, exports) {
|
|
7668
|
+
|
|
7669
|
+
module.exports = require("throttle-debounce");
|
|
7670
|
+
|
|
7671
|
+
/***/ }),
|
|
7672
|
+
|
|
7606
7673
|
/***/ "8535":
|
|
7607
7674
|
/***/ (function(module, exports) {
|
|
7608
7675
|
|
|
@@ -7704,7 +7771,7 @@ module.exports =
|
|
|
7704
7771
|
/******/
|
|
7705
7772
|
/******/
|
|
7706
7773
|
/******/ // Load entry module and return exports
|
|
7707
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7774
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
7708
7775
|
/******/ })
|
|
7709
7776
|
/************************************************************************/
|
|
7710
7777
|
/******/ ({
|
|
@@ -7825,14 +7892,21 @@ module.exports = __webpack_require__("5924");
|
|
|
7825
7892
|
|
|
7826
7893
|
/***/ }),
|
|
7827
7894
|
|
|
7828
|
-
/***/
|
|
7895
|
+
/***/ 42:
|
|
7829
7896
|
/***/ (function(module, exports) {
|
|
7830
7897
|
|
|
7831
7898
|
module.exports = __webpack_require__("c56a");
|
|
7832
7899
|
|
|
7833
7900
|
/***/ }),
|
|
7834
7901
|
|
|
7835
|
-
/***/
|
|
7902
|
+
/***/ 7:
|
|
7903
|
+
/***/ (function(module, exports) {
|
|
7904
|
+
|
|
7905
|
+
module.exports = __webpack_require__("8bbf");
|
|
7906
|
+
|
|
7907
|
+
/***/ }),
|
|
7908
|
+
|
|
7909
|
+
/***/ 73:
|
|
7836
7910
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7837
7911
|
|
|
7838
7912
|
"use strict";
|
|
@@ -7980,7 +8054,7 @@ var dom_ = __webpack_require__(2);
|
|
|
7980
8054
|
var popup_ = __webpack_require__(13);
|
|
7981
8055
|
|
|
7982
8056
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
7983
|
-
var after_leave_ = __webpack_require__(
|
|
8057
|
+
var after_leave_ = __webpack_require__(42);
|
|
7984
8058
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
7985
8059
|
|
|
7986
8060
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8044,7 +8118,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8044
8118
|
el.mask.style[property] = el.maskStyle[property];
|
|
8045
8119
|
});
|
|
8046
8120
|
|
|
8047
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8121
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
8048
8122
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8049
8123
|
}
|
|
8050
8124
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8202,7 +8276,7 @@ var src_Loading = function Loading() {
|
|
|
8202
8276
|
});
|
|
8203
8277
|
|
|
8204
8278
|
src_addStyle(options, parent, instance);
|
|
8205
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8279
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
8206
8280
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8207
8281
|
}
|
|
8208
8282
|
if (options.fullscreen && options.lock) {
|
|
@@ -8235,13 +8309,6 @@ var src_Loading = function Loading() {
|
|
|
8235
8309
|
|
|
8236
8310
|
/***/ }),
|
|
8237
8311
|
|
|
8238
|
-
/***/ 7:
|
|
8239
|
-
/***/ (function(module, exports) {
|
|
8240
|
-
|
|
8241
|
-
module.exports = __webpack_require__("8bbf");
|
|
8242
|
-
|
|
8243
|
-
/***/ }),
|
|
8244
|
-
|
|
8245
8312
|
/***/ 9:
|
|
8246
8313
|
/***/ (function(module, exports) {
|
|
8247
8314
|
|
|
@@ -8340,7 +8407,7 @@ module.exports =
|
|
|
8340
8407
|
/******/
|
|
8341
8408
|
/******/
|
|
8342
8409
|
/******/ // Load entry module and return exports
|
|
8343
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8410
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
8344
8411
|
/******/ })
|
|
8345
8412
|
/************************************************************************/
|
|
8346
8413
|
/******/ ({
|
|
@@ -8447,7 +8514,7 @@ function normalizeComponent (
|
|
|
8447
8514
|
|
|
8448
8515
|
/***/ }),
|
|
8449
8516
|
|
|
8450
|
-
/***/
|
|
8517
|
+
/***/ 132:
|
|
8451
8518
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8452
8519
|
|
|
8453
8520
|
"use strict";
|
|
@@ -8569,13 +8636,6 @@ module.exports = require("vue");
|
|
|
8569
8636
|
|
|
8570
8637
|
/***/ }),
|
|
8571
8638
|
|
|
8572
|
-
/***/ "940c":
|
|
8573
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
8574
|
-
|
|
8575
|
-
// extracted by mini-css-extract-plugin
|
|
8576
|
-
|
|
8577
|
-
/***/ }),
|
|
8578
|
-
|
|
8579
8639
|
/***/ "97d3":
|
|
8580
8640
|
/***/ (function(module, exports) {
|
|
8581
8641
|
|
|
@@ -8665,17 +8725,6 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
8665
8725
|
* https://github.com/Matt-Esch/string-template/index.js
|
|
8666
8726
|
*/
|
|
8667
8727
|
|
|
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
8728
|
/***/ }),
|
|
8680
8729
|
|
|
8681
8730
|
/***/ "a1cc":
|
|
@@ -8772,7 +8821,7 @@ module.exports =
|
|
|
8772
8821
|
/******/
|
|
8773
8822
|
/******/
|
|
8774
8823
|
/******/ // Load entry module and return exports
|
|
8775
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8824
|
+
/******/ return __webpack_require__(__webpack_require__.s = 103);
|
|
8776
8825
|
/******/ })
|
|
8777
8826
|
/************************************************************************/
|
|
8778
8827
|
/******/ ({
|
|
@@ -8879,7 +8928,7 @@ function normalizeComponent (
|
|
|
8879
8928
|
|
|
8880
8929
|
/***/ }),
|
|
8881
8930
|
|
|
8882
|
-
/***/
|
|
8931
|
+
/***/ 103:
|
|
8883
8932
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8884
8933
|
|
|
8885
8934
|
"use strict";
|
|
@@ -9021,6 +9070,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9021
9070
|
|
|
9022
9071
|
/***/ }),
|
|
9023
9072
|
|
|
9073
|
+
/***/ "a9ee":
|
|
9074
|
+
/***/ (function(module, exports) {
|
|
9075
|
+
|
|
9076
|
+
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
9077
|
+
|
|
9078
|
+
/***/ }),
|
|
9079
|
+
|
|
9024
9080
|
/***/ "aaa5":
|
|
9025
9081
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9026
9082
|
|
|
@@ -9040,17 +9096,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9040
9096
|
|
|
9041
9097
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
9042
9098
|
|
|
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
9099
|
/***/ }),
|
|
9055
9100
|
|
|
9056
9101
|
/***/ "b2d6":
|
|
@@ -9177,6 +9222,9 @@ exports.default = {
|
|
|
9177
9222
|
popconfirm: {
|
|
9178
9223
|
confirmButtonText: 'Yes',
|
|
9179
9224
|
cancelButtonText: 'No'
|
|
9225
|
+
},
|
|
9226
|
+
empty: {
|
|
9227
|
+
description: 'No Data'
|
|
9180
9228
|
}
|
|
9181
9229
|
}
|
|
9182
9230
|
};
|
|
@@ -9190,29 +9238,11 @@ exports.default = {
|
|
|
9190
9238
|
|
|
9191
9239
|
/***/ }),
|
|
9192
9240
|
|
|
9193
|
-
/***/ "b94f":
|
|
9194
|
-
/***/ (function(module, exports) {
|
|
9195
|
-
|
|
9196
|
-
module.exports = require("core-js/modules/web.url.js");
|
|
9197
|
-
|
|
9198
|
-
/***/ }),
|
|
9199
|
-
|
|
9200
9241
|
/***/ "be4f":
|
|
9201
9242
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9202
9243
|
|
|
9203
9244
|
// extracted by mini-css-extract-plugin
|
|
9204
9245
|
|
|
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
9246
|
/***/ }),
|
|
9217
9247
|
|
|
9218
9248
|
/***/ "c2cc":
|
|
@@ -9302,12 +9332,12 @@ module.exports =
|
|
|
9302
9332
|
/******/
|
|
9303
9333
|
/******/
|
|
9304
9334
|
/******/ // Load entry module and return exports
|
|
9305
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9335
|
+
/******/ return __webpack_require__(__webpack_require__.s = 140);
|
|
9306
9336
|
/******/ })
|
|
9307
9337
|
/************************************************************************/
|
|
9308
9338
|
/******/ ({
|
|
9309
9339
|
|
|
9310
|
-
/***/
|
|
9340
|
+
/***/ 140:
|
|
9311
9341
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9312
9342
|
|
|
9313
9343
|
"use strict";
|
|
@@ -9397,13 +9427,6 @@ col.install = function (Vue) {
|
|
|
9397
9427
|
|
|
9398
9428
|
/***/ }),
|
|
9399
9429
|
|
|
9400
|
-
/***/ "c4c7":
|
|
9401
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9402
|
-
|
|
9403
|
-
// extracted by mini-css-extract-plugin
|
|
9404
|
-
|
|
9405
|
-
/***/ }),
|
|
9406
|
-
|
|
9407
9430
|
/***/ "c56a":
|
|
9408
9431
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9409
9432
|
|
|
@@ -9533,7 +9556,7 @@ module.exports =
|
|
|
9533
9556
|
/******/
|
|
9534
9557
|
/******/
|
|
9535
9558
|
/******/ // Load entry module and return exports
|
|
9536
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9559
|
+
/******/ return __webpack_require__(__webpack_require__.s = 119);
|
|
9537
9560
|
/******/ })
|
|
9538
9561
|
/************************************************************************/
|
|
9539
9562
|
/******/ ({
|
|
@@ -9640,7 +9663,7 @@ function normalizeComponent (
|
|
|
9640
9663
|
|
|
9641
9664
|
/***/ }),
|
|
9642
9665
|
|
|
9643
|
-
/***/
|
|
9666
|
+
/***/ 119:
|
|
9644
9667
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9645
9668
|
|
|
9646
9669
|
"use strict";
|
|
@@ -9722,6 +9745,13 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
9722
9745
|
|
|
9723
9746
|
/***/ }),
|
|
9724
9747
|
|
|
9748
|
+
/***/ "c976":
|
|
9749
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9750
|
+
|
|
9751
|
+
// extracted by mini-css-extract-plugin
|
|
9752
|
+
|
|
9753
|
+
/***/ }),
|
|
9754
|
+
|
|
9725
9755
|
/***/ "ccb0":
|
|
9726
9756
|
/***/ (function(module, exports) {
|
|
9727
9757
|
|
|
@@ -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,51 +13311,541 @@ 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
|
-
|
|
13314
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab2e0130-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=3bbd19eb&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 settings",
|
|
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=3bbd19eb&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++) {
|
|
13300
13847
|
arr2[i] = arr[i];
|
|
13301
13848
|
}
|
|
13302
|
-
|
|
13303
13849
|
return arr2;
|
|
13304
13850
|
}
|
|
13305
13851
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
@@ -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,12 +14006,158 @@ 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
|
|
13470
|
-
var
|
|
13471
|
-
|
|
14009
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab2e0130-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=4125ac3a&scoped=true&
|
|
14010
|
+
var Tooltipvue_type_template_id_4125ac3a_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) + " "), _vm.origins && _vm.origins.length > 0 ? _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(), _vm.components && _vm.components.length > 0 ? _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(), _vm.destinations && _vm.destinations.length > 0 ? _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.componentsWithDatasets.length > 0,
|
|
14127
|
+
expression: "componentsWithDatasets.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_4125ac3a_scoped_true_staticRenderFns = [];
|
|
13472
14159
|
|
|
13473
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=
|
|
14160
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4125ac3a&scoped=true&
|
|
13474
14161
|
|
|
13475
14162
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
13476
14163
|
|
|
@@ -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":"ab2e0130-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
|
|
@@ -14055,8 +14659,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14055
14659
|
openAll: function openAll() {
|
|
14056
14660
|
components_EventBus.$emit('onActionClick', {
|
|
14057
14661
|
type: 'Facets',
|
|
14058
|
-
labels: this.
|
|
14059
|
-
|
|
14662
|
+
labels: this.componentsWithDatasets.map(function (a) {
|
|
14663
|
+
return a.name;
|
|
14664
|
+
})
|
|
14665
|
+
});
|
|
14060
14666
|
},
|
|
14061
14667
|
openAxons: function openAxons() {
|
|
14062
14668
|
components_EventBus.$emit('onActionClick', {
|
|
@@ -14079,10 +14685,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14079
14685
|
},
|
|
14080
14686
|
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
14081
14687
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14082
|
-
|
|
14083
14688
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
14689
|
var found = [];
|
|
14087
14690
|
nodes.forEach(function (n) {
|
|
14088
14691
|
if (Array.isArray(n)) {
|
|
@@ -14095,10 +14698,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14095
14698
|
},
|
|
14096
14699
|
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14097
14700
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14098
|
-
|
|
14099
14701
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
14702
|
var found = [];
|
|
14103
14703
|
nodes.forEach(function (n) {
|
|
14104
14704
|
if (Array.isArray(n)) {
|
|
@@ -14111,21 +14711,18 @@ var _capitalise = function capitalise(str) {
|
|
|
14111
14711
|
},
|
|
14112
14712
|
findComponents: function findComponents(connectivity) {
|
|
14113
14713
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14114
|
-
|
|
14115
14714
|
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14116
14715
|
var found = [];
|
|
14117
14716
|
var terminal = false;
|
|
14118
14717
|
nodes.forEach(function (node) {
|
|
14119
|
-
terminal = false;
|
|
14120
|
-
|
|
14718
|
+
terminal = false;
|
|
14719
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14121
14720
|
if (inArray(connectivity.axons, node)) {
|
|
14122
14721
|
terminal = true;
|
|
14123
14722
|
}
|
|
14124
|
-
|
|
14125
14723
|
if (inArray(connectivity.dendrites, node)) {
|
|
14126
14724
|
terminal = true;
|
|
14127
14725
|
}
|
|
14128
|
-
|
|
14129
14726
|
if (!terminal) {
|
|
14130
14727
|
found.push(node);
|
|
14131
14728
|
}
|
|
@@ -14134,7 +14731,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14134
14731
|
},
|
|
14135
14732
|
getOrganCuries: function getOrganCuries() {
|
|
14136
14733
|
var _this = this;
|
|
14137
|
-
|
|
14138
14734
|
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
14139
14735
|
return response.json();
|
|
14140
14736
|
}).then(function (data) {
|
|
@@ -14143,7 +14739,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14143
14739
|
},
|
|
14144
14740
|
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
14145
14741
|
var sql = 'select knowledge from knowledge where entity in (';
|
|
14146
|
-
|
|
14147
14742
|
if (keastIds.length === 1) {
|
|
14148
14743
|
sql += "'".concat(keastIds[0], "')");
|
|
14149
14744
|
} else if (keastIds.length > 1) {
|
|
@@ -14151,12 +14746,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14151
14746
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14152
14747
|
}
|
|
14153
14748
|
}
|
|
14154
|
-
|
|
14155
14749
|
return sql;
|
|
14156
14750
|
},
|
|
14157
14751
|
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14158
14752
|
var sql = 'select entity, label from labels where entity in (';
|
|
14159
|
-
|
|
14160
14753
|
if (uberons.length === 1) {
|
|
14161
14754
|
sql += "'".concat(uberons[0], "')");
|
|
14162
14755
|
} else if (uberons.length > 1) {
|
|
@@ -14164,12 +14757,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14164
14757
|
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14165
14758
|
}
|
|
14166
14759
|
}
|
|
14167
|
-
|
|
14168
14760
|
return sql;
|
|
14169
14761
|
},
|
|
14170
14762
|
createLabelLookup: function createLabelLookup(uberons) {
|
|
14171
14763
|
var _this2 = this;
|
|
14172
|
-
|
|
14173
14764
|
return new Promise(function (resolve) {
|
|
14174
14765
|
var uberonMap = {};
|
|
14175
14766
|
var data = {
|
|
@@ -14186,24 +14777,20 @@ var _capitalise = function capitalise(str) {
|
|
|
14186
14777
|
}).then(function (payload) {
|
|
14187
14778
|
var entity = payload.keys.indexOf("entity");
|
|
14188
14779
|
var label = payload.keys.indexOf("label");
|
|
14189
|
-
|
|
14190
14780
|
if (entity > -1 && label > -1) {
|
|
14191
14781
|
payload.values.forEach(function (pair) {
|
|
14192
14782
|
uberonMap[pair[entity]] = pair[label];
|
|
14193
14783
|
});
|
|
14194
14784
|
}
|
|
14195
|
-
|
|
14196
14785
|
resolve(uberonMap);
|
|
14197
14786
|
});
|
|
14198
14787
|
});
|
|
14199
14788
|
},
|
|
14200
14789
|
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14201
14790
|
var _this3 = this;
|
|
14202
|
-
|
|
14203
14791
|
var labelList = [];
|
|
14204
14792
|
components.forEach(function (n) {
|
|
14205
14793
|
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14206
|
-
|
|
14207
14794
|
if (n.length === 2) {
|
|
14208
14795
|
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14209
14796
|
}
|
|
@@ -14212,7 +14799,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14212
14799
|
},
|
|
14213
14800
|
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14214
14801
|
var label = lookUp[node[0]];
|
|
14215
|
-
|
|
14216
14802
|
if (node.length === 2 && node[1].length > 0) {
|
|
14217
14803
|
node[1].forEach(function (n) {
|
|
14218
14804
|
if (lookUp[n] == undefined) {
|
|
@@ -14222,20 +14808,21 @@ var _capitalise = function capitalise(str) {
|
|
|
14222
14808
|
}
|
|
14223
14809
|
});
|
|
14224
14810
|
}
|
|
14225
|
-
|
|
14226
14811
|
return label;
|
|
14227
14812
|
},
|
|
14228
14813
|
processConnectivity: function processConnectivity(connectivity) {
|
|
14229
14814
|
var _this4 = this;
|
|
14230
|
-
|
|
14231
14815
|
// Filter the origin and destinations from components
|
|
14232
|
-
var components = this.findComponents(connectivity);
|
|
14816
|
+
var components = this.findComponents(connectivity);
|
|
14233
14817
|
|
|
14818
|
+
// Remove duplicates
|
|
14234
14819
|
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14235
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14820
|
+
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14236
14821
|
|
|
14237
|
-
|
|
14822
|
+
// Create list of ids to get labels for
|
|
14823
|
+
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14238
14824
|
|
|
14825
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14239
14826
|
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14240
14827
|
_this4.destinations = axons.map(function (a) {
|
|
14241
14828
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
@@ -14253,8 +14840,9 @@ var _capitalise = function capitalise(str) {
|
|
|
14253
14840
|
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14254
14841
|
var componentsFlat = this.flattenConntectivity(components);
|
|
14255
14842
|
var axonsFlat = this.flattenConntectivity(axons);
|
|
14256
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14843
|
+
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14257
14844
|
|
|
14845
|
+
// Filter for the anatomy which is annotated on datasets
|
|
14258
14846
|
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14259
14847
|
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14260
14848
|
});
|
|
@@ -14267,7 +14855,6 @@ var _capitalise = function capitalise(str) {
|
|
|
14267
14855
|
},
|
|
14268
14856
|
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14269
14857
|
var _this5 = this;
|
|
14270
|
-
|
|
14271
14858
|
this.destinations = [];
|
|
14272
14859
|
this.origins = [];
|
|
14273
14860
|
this.components = [];
|
|
@@ -14286,9 +14873,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14286
14873
|
return response.json();
|
|
14287
14874
|
}).then(function (data) {
|
|
14288
14875
|
var connectivity = JSON.parse(data.values[0][0]);
|
|
14289
|
-
|
|
14290
14876
|
_this5.processConnectivity(connectivity);
|
|
14291
|
-
|
|
14292
14877
|
_this5.loading = false;
|
|
14293
14878
|
}).catch(function (error) {
|
|
14294
14879
|
console.error('Error:', error);
|
|
@@ -14298,8 +14883,8 @@ var _capitalise = function capitalise(str) {
|
|
|
14298
14883
|
});
|
|
14299
14884
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14300
14885
|
/* 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=
|
|
14302
|
-
var
|
|
14886
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4125ac3a&prod&scoped=true&lang=scss&
|
|
14887
|
+
var Tooltipvue_type_style_index_0_id_4125ac3a_prod_scoped_true_lang_scss_ = __webpack_require__("4fc1");
|
|
14303
14888
|
|
|
14304
14889
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14305
14890
|
|
|
@@ -14312,11 +14897,11 @@ var Tooltipvue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss_ = __webpack
|
|
|
14312
14897
|
|
|
14313
14898
|
var Tooltip_component = normalizeComponent(
|
|
14314
14899
|
components_Tooltipvue_type_script_lang_js_,
|
|
14315
|
-
|
|
14316
|
-
|
|
14900
|
+
Tooltipvue_type_template_id_4125ac3a_scoped_true_render,
|
|
14901
|
+
Tooltipvue_type_template_id_4125ac3a_scoped_true_staticRenderFns,
|
|
14317
14902
|
false,
|
|
14318
14903
|
null,
|
|
14319
|
-
"
|
|
14904
|
+
"4125ac3a",
|
|
14320
14905
|
null
|
|
14321
14906
|
|
|
14322
14907
|
)
|
|
@@ -14325,362 +14910,158 @@ var Tooltip_component = normalizeComponent(
|
|
|
14325
14910
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
14326
14911
|
var svg_sprite_ = __webpack_require__("429c");
|
|
14327
14912
|
|
|
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
|
-
|
|
14913
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab2e0130-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&
|
|
14914
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function render() {
|
|
14915
|
+
var _vm = this,
|
|
14916
|
+
_c = _vm._self._c;
|
|
14917
|
+
return _c('div', {
|
|
14918
|
+
staticClass: "legends-container"
|
|
14919
|
+
}, [_c('svg', {
|
|
14920
|
+
staticStyle: {
|
|
14921
|
+
"enable-background": "new 0 0 500 500"
|
|
14922
|
+
},
|
|
14923
|
+
attrs: {
|
|
14924
|
+
"version": "1.1",
|
|
14925
|
+
"id": "Layer_1",
|
|
14926
|
+
"x": "0px",
|
|
14927
|
+
"y": "0px",
|
|
14928
|
+
"viewBox": "0 0 500 500",
|
|
14929
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14930
|
+
"xmlns:bx": "https://boxy-svg.com"
|
|
14931
|
+
}
|
|
14932
|
+
}, [_c('defs', [_c('bx:grid', {
|
|
14933
|
+
attrs: {
|
|
14934
|
+
"height": "30.447",
|
|
14935
|
+
"width": "32.516",
|
|
14936
|
+
"x": "0",
|
|
14937
|
+
"y": "0"
|
|
14938
|
+
}
|
|
14939
|
+
})], 1), _c('path', {
|
|
14940
|
+
staticClass: "st0 st0-translate",
|
|
14941
|
+
attrs: {
|
|
14942
|
+
"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"
|
|
14943
|
+
}
|
|
14944
|
+
}), _c('path', {
|
|
14945
|
+
staticClass: "st1",
|
|
14946
|
+
attrs: {
|
|
14947
|
+
"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"
|
|
14948
|
+
}
|
|
14949
|
+
}), _c('path', {
|
|
14950
|
+
staticClass: "st2",
|
|
14951
|
+
attrs: {
|
|
14952
|
+
"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"
|
|
14953
|
+
}
|
|
14954
|
+
}), _c('text', {
|
|
14955
|
+
staticClass: "st3 st4 st5",
|
|
14956
|
+
staticStyle: {
|
|
14957
|
+
"white-space": "pre"
|
|
14958
|
+
},
|
|
14959
|
+
attrs: {
|
|
14960
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
14961
|
+
}
|
|
14962
|
+
}, [_vm._v("Tissue region")]), _c('path', {
|
|
14963
|
+
staticClass: "st6",
|
|
14964
|
+
attrs: {
|
|
14965
|
+
"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"
|
|
14966
|
+
}
|
|
14967
|
+
}), _c('text', {
|
|
14968
|
+
staticClass: "st3 st4 st5",
|
|
14969
|
+
staticStyle: {
|
|
14970
|
+
"white-space": "pre"
|
|
14971
|
+
},
|
|
14972
|
+
attrs: {
|
|
14973
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
14974
|
+
}
|
|
14975
|
+
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
14976
|
+
staticClass: "st3 st4 st5",
|
|
14977
|
+
staticStyle: {
|
|
14978
|
+
"white-space": "pre"
|
|
14979
|
+
},
|
|
14980
|
+
attrs: {
|
|
14981
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
14982
|
+
}
|
|
14983
|
+
}, [_vm._v("Ganglia")]), _c('text', {
|
|
14984
|
+
staticClass: "st3 st4 st5",
|
|
14985
|
+
staticStyle: {
|
|
14986
|
+
"white-space": "pre"
|
|
14987
|
+
},
|
|
14988
|
+
attrs: {
|
|
14989
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
14990
|
+
}
|
|
14991
|
+
}, [_vm._v("Nerve plexus")])])]);
|
|
14992
|
+
};
|
|
14993
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = [];
|
|
14332
14994
|
|
|
14333
14995
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
|
|
14334
14996
|
|
|
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
|
-
//
|
|
14997
|
+
// 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
14998
|
/* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
|
|
14359
14999
|
name: 'SvgLegends'
|
|
14360
15000
|
});
|
|
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
|
-
//
|
|
15001
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
15002
|
+
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
15003
|
+
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&prod&scoped=true&lang=scss&
|
|
15004
|
+
var Legendsvue_type_style_index_0_id_514dd6be_prod_scoped_true_lang_scss_ = __webpack_require__("318c");
|
|
15005
|
+
|
|
15006
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
15007
|
+
|
|
15008
|
+
|
|
15009
|
+
|
|
15010
|
+
|
|
15011
|
+
|
|
15012
|
+
|
|
15013
|
+
/* normalize component */
|
|
15014
|
+
|
|
15015
|
+
var Legends_component = normalizeComponent(
|
|
15016
|
+
legends_Legendsvue_type_script_lang_js_,
|
|
15017
|
+
Legendsvue_type_template_id_514dd6be_scoped_true_render,
|
|
15018
|
+
Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns,
|
|
15019
|
+
false,
|
|
15020
|
+
null,
|
|
15021
|
+
"514dd6be",
|
|
15022
|
+
null
|
|
15023
|
+
|
|
15024
|
+
)
|
|
15025
|
+
|
|
15026
|
+
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
15027
|
+
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15028
|
+
/* 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>');
|
|
15029
|
+
// 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&
|
|
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
|
+
|
|
15063
|
+
|
|
15064
|
+
|
|
14684
15065
|
|
|
14685
15066
|
/* eslint-disable no-alert, no-console */
|
|
14686
15067
|
|
|
@@ -14698,15 +15079,12 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
14698
15079
|
external_vue_default.a.use(lib_radio_default.a);
|
|
14699
15080
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
14700
15081
|
external_vue_default.a.use(lib_row_default.a);
|
|
14701
|
-
|
|
14702
15082
|
var ResizeSensor = __webpack_require__("ae66");
|
|
14703
|
-
|
|
14704
15083
|
var mapResize = function mapResize(map) {
|
|
14705
15084
|
return function () {
|
|
14706
15085
|
if (map) map.resize();
|
|
14707
15086
|
};
|
|
14708
15087
|
};
|
|
14709
|
-
|
|
14710
15088
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
14711
15089
|
name: "FlatmapVuer",
|
|
14712
15090
|
components: {
|
|
@@ -14721,12 +15099,11 @@ var mapResize = function mapResize(map) {
|
|
|
14721
15099
|
},
|
|
14722
15100
|
methods: {
|
|
14723
15101
|
viewLatestMap: function viewLatestMap() {
|
|
14724
|
-
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
14725
|
-
|
|
15102
|
+
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
15103
|
+
//Human requires special handling
|
|
14726
15104
|
if (this.entry === "NCBITaxon:9606") {
|
|
14727
15105
|
biologicalSex = "PATO:0000384";
|
|
14728
15106
|
}
|
|
14729
|
-
|
|
14730
15107
|
var state = {
|
|
14731
15108
|
entry: this.entry,
|
|
14732
15109
|
biologicalSex: biologicalSex,
|
|
@@ -14736,7 +15113,6 @@ var mapResize = function mapResize(map) {
|
|
|
14736
15113
|
},
|
|
14737
15114
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
14738
15115
|
this.currentBackground = colour;
|
|
14739
|
-
|
|
14740
15116
|
if (this.mapImp) {
|
|
14741
15117
|
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
14742
15118
|
}
|
|
@@ -14744,13 +15120,11 @@ var mapResize = function mapResize(map) {
|
|
|
14744
15120
|
toggleDrawer: function toggleDrawer() {
|
|
14745
15121
|
this.drawerOpen = !this.drawerOpen;
|
|
14746
15122
|
},
|
|
14747
|
-
|
|
14748
|
-
|
|
14749
|
-
* Function to toggle colour/greyscale of organs.
|
|
15123
|
+
/**
|
|
15124
|
+
* Function to toggle colour/greyscale of organs.
|
|
14750
15125
|
*/
|
|
14751
15126
|
setColour: function setColour(flag) {
|
|
14752
15127
|
this.colourRadio = flag;
|
|
14753
|
-
|
|
14754
15128
|
if (this.mapImp) {
|
|
14755
15129
|
this.mapImp.setColour({
|
|
14756
15130
|
colour: flag,
|
|
@@ -14758,13 +15132,11 @@ var mapResize = function mapResize(map) {
|
|
|
14758
15132
|
});
|
|
14759
15133
|
}
|
|
14760
15134
|
},
|
|
14761
|
-
|
|
14762
|
-
|
|
14763
|
-
* Function to toggle outlines f organs.
|
|
15135
|
+
/**
|
|
15136
|
+
* Function to toggle outlines f organs.
|
|
14764
15137
|
*/
|
|
14765
15138
|
setOutlines: function setOutlines(flag) {
|
|
14766
15139
|
this.outlineRadio = flag;
|
|
14767
|
-
|
|
14768
15140
|
if (this.mapImp) {
|
|
14769
15141
|
this.mapImp.setColour({
|
|
14770
15142
|
colour: this.colourRadio,
|
|
@@ -14772,10 +15144,9 @@ var mapResize = function mapResize(map) {
|
|
|
14772
15144
|
});
|
|
14773
15145
|
}
|
|
14774
15146
|
},
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
*
|
|
14778
|
-
* Also called when the associated button is pressed.
|
|
15147
|
+
/**
|
|
15148
|
+
* Function to toggle paths to default.
|
|
15149
|
+
* Also called when the associated button is pressed.
|
|
14779
15150
|
*/
|
|
14780
15151
|
resetView: function resetView() {
|
|
14781
15152
|
if (this.mapImp) {
|
|
@@ -14787,20 +15158,18 @@ var mapResize = function mapResize(map) {
|
|
|
14787
15158
|
this.checkAll = true;
|
|
14788
15159
|
}
|
|
14789
15160
|
},
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
|
-
*
|
|
14793
|
-
* Also called when the associated button is pressed.
|
|
15161
|
+
/**
|
|
15162
|
+
* Function to zoom in.
|
|
15163
|
+
* Also called when the associated button is pressed.
|
|
14794
15164
|
*/
|
|
14795
15165
|
zoomIn: function zoomIn() {
|
|
14796
15166
|
if (this.mapImp) {
|
|
14797
15167
|
this.mapImp.zoomIn();
|
|
14798
15168
|
}
|
|
14799
15169
|
},
|
|
14800
|
-
|
|
14801
|
-
|
|
14802
|
-
*
|
|
14803
|
-
* Also called when the associated button is pressed.
|
|
15170
|
+
/**
|
|
15171
|
+
* Function to zoom out.
|
|
15172
|
+
* Also called when the associated button is pressed.
|
|
14804
15173
|
*/
|
|
14805
15174
|
zoomOut: function zoomOut() {
|
|
14806
15175
|
if (this.mapImp) {
|
|
@@ -14822,7 +15191,6 @@ var mapResize = function mapResize(map) {
|
|
|
14822
15191
|
return a.type;
|
|
14823
15192
|
}) : [];
|
|
14824
15193
|
this.isIndeterminate = false;
|
|
14825
|
-
|
|
14826
15194
|
if (this.mapImp) {
|
|
14827
15195
|
this.mapImp.showPaths(this.checkedItems);
|
|
14828
15196
|
}
|
|
@@ -14832,18 +15200,15 @@ var mapResize = function mapResize(map) {
|
|
|
14832
15200
|
},
|
|
14833
15201
|
eventCallback: function eventCallback() {
|
|
14834
15202
|
var _this = this;
|
|
14835
|
-
|
|
14836
15203
|
return function (eventType, data) {
|
|
14837
15204
|
if (eventType !== "pan-zoom") {
|
|
14838
15205
|
var label = data.label;
|
|
14839
15206
|
var resource = [data.models];
|
|
14840
15207
|
var taxonomy = _this.entry;
|
|
14841
15208
|
var biologicalSex = _this.biologicalSex;
|
|
14842
|
-
|
|
14843
15209
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
14844
15210
|
args[_key - 2] = arguments[_key];
|
|
14845
15211
|
}
|
|
14846
|
-
|
|
14847
15212
|
var payload = {
|
|
14848
15213
|
dataset: data.dataset,
|
|
14849
15214
|
biologicalSex: biologicalSex,
|
|
@@ -14853,10 +15218,9 @@ var mapResize = function mapResize(map) {
|
|
|
14853
15218
|
feature: data,
|
|
14854
15219
|
userData: args,
|
|
14855
15220
|
eventType: eventType
|
|
14856
|
-
};
|
|
14857
|
-
|
|
15221
|
+
};
|
|
15222
|
+
// Disable the nueron pop up for now.
|
|
14858
15223
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
14859
|
-
|
|
14860
15224
|
_this.$emit("resource-selected", payload);
|
|
14861
15225
|
} else {
|
|
14862
15226
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -14880,7 +15244,6 @@ var mapResize = function mapResize(map) {
|
|
|
14880
15244
|
if (ftooltip) ftooltip.style.display = "none";
|
|
14881
15245
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
14882
15246
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
14883
|
-
|
|
14884
15247
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
14885
15248
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
14886
15249
|
};
|
|
@@ -14894,14 +15257,13 @@ var mapResize = function mapResize(map) {
|
|
|
14894
15257
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
14895
15258
|
return true;
|
|
14896
15259
|
}
|
|
14897
|
-
}
|
|
14898
|
-
|
|
14899
|
-
|
|
15260
|
+
}
|
|
15261
|
+
// annotated with datset check
|
|
14900
15262
|
if (data.dataset) {
|
|
14901
15263
|
return true;
|
|
14902
|
-
}
|
|
14903
|
-
|
|
15264
|
+
}
|
|
14904
15265
|
|
|
15266
|
+
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
14905
15267
|
return false;
|
|
14906
15268
|
},
|
|
14907
15269
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -14913,8 +15275,9 @@ var mapResize = function mapResize(map) {
|
|
|
14913
15275
|
distribution: undefined,
|
|
14914
15276
|
actions: []
|
|
14915
15277
|
};
|
|
14916
|
-
this.tooltipVisible = false;
|
|
15278
|
+
this.tooltipVisible = false;
|
|
14917
15279
|
|
|
15280
|
+
// neural data check
|
|
14918
15281
|
if (feature) {
|
|
14919
15282
|
if (feature.includes('ilxtr:neuron')) {
|
|
14920
15283
|
this.tooltipVisible = true;
|
|
@@ -14932,9 +15295,8 @@ var mapResize = function mapResize(map) {
|
|
|
14932
15295
|
nervePath: true
|
|
14933
15296
|
});
|
|
14934
15297
|
}
|
|
14935
|
-
}
|
|
14936
|
-
|
|
14937
|
-
|
|
15298
|
+
}
|
|
15299
|
+
// annotated with datset check
|
|
14938
15300
|
if (data.dataset) {
|
|
14939
15301
|
this.tooltipVisible = true;
|
|
14940
15302
|
this.tooltipContent = content;
|
|
@@ -14953,7 +15315,6 @@ var mapResize = function mapResize(map) {
|
|
|
14953
15315
|
// Keeping this as an API
|
|
14954
15316
|
showPopup: function showPopup(featureId, node, options) {
|
|
14955
15317
|
var myOptions = options;
|
|
14956
|
-
|
|
14957
15318
|
if (this.mapImp) {
|
|
14958
15319
|
if (myOptions) {
|
|
14959
15320
|
if (!myOptions.className) myOptions.className = "custom-popup";
|
|
@@ -14963,7 +15324,6 @@ var mapResize = function mapResize(map) {
|
|
|
14963
15324
|
positionAtLastClick: true
|
|
14964
15325
|
};
|
|
14965
15326
|
}
|
|
14966
|
-
|
|
14967
15327
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
14968
15328
|
}
|
|
14969
15329
|
},
|
|
@@ -14974,7 +15334,6 @@ var mapResize = function mapResize(map) {
|
|
|
14974
15334
|
},
|
|
14975
15335
|
closeMinimap: function closeMinimap() {
|
|
14976
15336
|
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap'); // find minimap
|
|
14977
|
-
|
|
14978
15337
|
if (this.minimapSmall) {
|
|
14979
15338
|
//switch the classes on the minimap
|
|
14980
15339
|
minimapEl.classList.add('enlarge');
|
|
@@ -14983,7 +15342,6 @@ var mapResize = function mapResize(map) {
|
|
|
14983
15342
|
minimapEl.classList.add('shrink');
|
|
14984
15343
|
minimapEl.classList.remove('enlarge');
|
|
14985
15344
|
}
|
|
14986
|
-
|
|
14987
15345
|
this.minimapSmall = !this.minimapSmall;
|
|
14988
15346
|
},
|
|
14989
15347
|
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
@@ -15009,7 +15367,6 @@ var mapResize = function mapResize(map) {
|
|
|
15009
15367
|
},
|
|
15010
15368
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15011
15369
|
var _this2 = this;
|
|
15012
|
-
|
|
15013
15370
|
if (!this.inHelp) {
|
|
15014
15371
|
this.tooltipWait = setTimeout(function () {
|
|
15015
15372
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -15039,13 +15396,10 @@ var mapResize = function mapResize(map) {
|
|
|
15039
15396
|
},
|
|
15040
15397
|
getLabels: function getLabels() {
|
|
15041
15398
|
var labels = [];
|
|
15042
|
-
|
|
15043
15399
|
if (this.mapImp) {
|
|
15044
15400
|
var annotations = this.mapImp.annotations;
|
|
15045
|
-
|
|
15046
15401
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
15047
|
-
|
|
15048
|
-
|
|
15402
|
+
_step;
|
|
15049
15403
|
try {
|
|
15050
15404
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
15051
15405
|
var value = _step.value;
|
|
@@ -15056,7 +15410,6 @@ var mapResize = function mapResize(map) {
|
|
|
15056
15410
|
} finally {
|
|
15057
15411
|
_iterator.f();
|
|
15058
15412
|
}
|
|
15059
|
-
|
|
15060
15413
|
return Array.from(new Set(labels));
|
|
15061
15414
|
}
|
|
15062
15415
|
},
|
|
@@ -15071,7 +15424,6 @@ var mapResize = function mapResize(map) {
|
|
|
15071
15424
|
if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
|
|
15072
15425
|
return state;
|
|
15073
15426
|
}
|
|
15074
|
-
|
|
15075
15427
|
return undefined;
|
|
15076
15428
|
},
|
|
15077
15429
|
setState: function setState(state) {
|
|
@@ -15093,17 +15445,18 @@ var mapResize = function mapResize(map) {
|
|
|
15093
15445
|
},
|
|
15094
15446
|
createFlatmap: function createFlatmap(state) {
|
|
15095
15447
|
var _this3 = this;
|
|
15096
|
-
|
|
15097
15448
|
if (!this.mapImp && !this.loading) {
|
|
15098
15449
|
this.loading = true;
|
|
15099
15450
|
var minimap = false;
|
|
15100
|
-
|
|
15101
15451
|
if (this.displayMinimap) {
|
|
15102
15452
|
minimap = {
|
|
15103
15453
|
position: "top-right"
|
|
15104
15454
|
};
|
|
15105
|
-
}
|
|
15455
|
+
}
|
|
15456
|
+
|
|
15457
|
+
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
15106
15458
|
//for the identifier:
|
|
15459
|
+
|
|
15107
15460
|
//@arg identifier {string|Object}
|
|
15108
15461
|
// A string or object identifying the map to load. If a string its
|
|
15109
15462
|
// value can be either the map's ``uuid``, assigned at generation time,
|
|
@@ -15117,11 +15470,10 @@ var mapResize = function mapResize(map) {
|
|
|
15117
15470
|
// @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
|
|
15118
15471
|
// be loaded, overriding ``taxon`` and ``biologicalSex``.
|
|
15119
15472
|
|
|
15120
|
-
|
|
15121
15473
|
var identifier = {
|
|
15122
15474
|
taxon: this.entry
|
|
15123
|
-
};
|
|
15124
|
-
|
|
15475
|
+
};
|
|
15476
|
+
//This now handle the uses of uuid when resuming states
|
|
15125
15477
|
if (state) {
|
|
15126
15478
|
if (state.uuid) {
|
|
15127
15479
|
identifier = {
|
|
@@ -15129,7 +15481,6 @@ var mapResize = function mapResize(map) {
|
|
|
15129
15481
|
};
|
|
15130
15482
|
} else if (state.entry) {
|
|
15131
15483
|
identifier.taxon = state.entry;
|
|
15132
|
-
|
|
15133
15484
|
if (state.biologicalSex) {
|
|
15134
15485
|
identifier["biologicalSex"] = state.biologicalSex;
|
|
15135
15486
|
} else if (identifier.taxon === "NCBITaxon:9606") {
|
|
@@ -15144,7 +15495,6 @@ var mapResize = function mapResize(map) {
|
|
|
15144
15495
|
identifier["biologicalSex"] = this.biologicalSex;
|
|
15145
15496
|
}
|
|
15146
15497
|
}
|
|
15147
|
-
|
|
15148
15498
|
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
15149
15499
|
//fullscreenControl: false,
|
|
15150
15500
|
//annotatable: false,
|
|
@@ -15158,9 +15508,7 @@ var mapResize = function mapResize(map) {
|
|
|
15158
15508
|
});
|
|
15159
15509
|
promise1.then(function (returnedObject) {
|
|
15160
15510
|
_this3.mapImp = returnedObject;
|
|
15161
|
-
|
|
15162
15511
|
_this3.onFlatmapReady();
|
|
15163
|
-
|
|
15164
15512
|
if (_this3._stateToBeSet) _this3.restoreMapState(_this3._stateToBeSet);else {
|
|
15165
15513
|
_this3.restoreMapState(state);
|
|
15166
15514
|
}
|
|
@@ -15175,6 +15523,7 @@ var mapResize = function mapResize(map) {
|
|
|
15175
15523
|
},
|
|
15176
15524
|
onFlatmapReady: function onFlatmapReady() {
|
|
15177
15525
|
// onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
|
|
15526
|
+
|
|
15178
15527
|
this.sensor = new ResizeSensor(this.$refs.display, mapResize(this.mapImp));
|
|
15179
15528
|
this.mapImp.setBackgroundOpacity(1);
|
|
15180
15529
|
this.backgroundChangeCallback(this.currentBackground);
|
|
@@ -15189,10 +15538,9 @@ var mapResize = function mapResize(map) {
|
|
|
15189
15538
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
15190
15539
|
this.drawerOpen = flag;
|
|
15191
15540
|
},
|
|
15192
|
-
|
|
15193
|
-
|
|
15194
|
-
*
|
|
15195
|
-
* with the option to display the label using displayLabel flag.
|
|
15541
|
+
/**
|
|
15542
|
+
* Function to display features with annotation matching the provided term,
|
|
15543
|
+
* with the option to display the label using displayLabel flag.
|
|
15196
15544
|
*/
|
|
15197
15545
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
15198
15546
|
if (this.mapImp) {
|
|
@@ -15201,27 +15549,22 @@ var mapResize = function mapResize(map) {
|
|
|
15201
15549
|
return true;
|
|
15202
15550
|
} else {
|
|
15203
15551
|
var searchResults = this.mapImp.search(term);
|
|
15204
|
-
|
|
15205
15552
|
if (searchResults && searchResults.results && searchResults.results.length > 0) {
|
|
15206
15553
|
this.mapImp.showSearchResults(searchResults);
|
|
15207
|
-
|
|
15208
15554
|
if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
|
|
15209
15555
|
this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
|
|
15210
15556
|
className: "custom-popup",
|
|
15211
15557
|
positionAtLastClick: false
|
|
15212
15558
|
});
|
|
15213
15559
|
}
|
|
15214
|
-
|
|
15215
15560
|
return true;
|
|
15216
15561
|
} else this.mapImp.clearSearchResults();
|
|
15217
15562
|
}
|
|
15218
15563
|
}
|
|
15219
|
-
|
|
15220
15564
|
return false;
|
|
15221
15565
|
},
|
|
15222
|
-
|
|
15223
|
-
|
|
15224
|
-
* Get the list of suggested terms
|
|
15566
|
+
/**
|
|
15567
|
+
* Get the list of suggested terms
|
|
15225
15568
|
*/
|
|
15226
15569
|
searchSuggestions: function searchSuggestions(term) {
|
|
15227
15570
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -15286,17 +15629,15 @@ var mapResize = function mapResize(map) {
|
|
|
15286
15629
|
type: String,
|
|
15287
15630
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
15288
15631
|
},
|
|
15289
|
-
|
|
15290
|
-
|
|
15291
|
-
* State containing state of the flatmap.
|
|
15632
|
+
/**
|
|
15633
|
+
* State containing state of the flatmap.
|
|
15292
15634
|
*/
|
|
15293
15635
|
state: {
|
|
15294
15636
|
type: Object,
|
|
15295
15637
|
default: undefined
|
|
15296
15638
|
},
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
* Specify the endpoint of the flatmap server.
|
|
15639
|
+
/**
|
|
15640
|
+
* Specify the endpoint of the flatmap server.
|
|
15300
15641
|
*/
|
|
15301
15642
|
flatmapAPI: {
|
|
15302
15643
|
type: String,
|
|
@@ -15368,15 +15709,14 @@ var mapResize = function mapResize(map) {
|
|
|
15368
15709
|
},
|
|
15369
15710
|
mounted: function mounted() {
|
|
15370
15711
|
var flatmap = __webpack_require__("4979");
|
|
15371
|
-
|
|
15372
15712
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
15373
15713
|
if (this.renderAtMounted) this.createFlatmap();
|
|
15374
15714
|
}
|
|
15375
15715
|
});
|
|
15376
15716
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15377
15717
|
/* 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
|
|
15718
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=3bbd19eb&prod&scoped=true&lang=scss&
|
|
15719
|
+
var FlatmapVuervue_type_style_index_0_id_3bbd19eb_prod_scoped_true_lang_scss_ = __webpack_require__("608f");
|
|
15380
15720
|
|
|
15381
15721
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
15382
15722
|
|
|
@@ -15393,18 +15733,128 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
15393
15733
|
staticRenderFns,
|
|
15394
15734
|
false,
|
|
15395
15735
|
null,
|
|
15396
|
-
"
|
|
15736
|
+
"3bbd19eb",
|
|
15397
15737
|
null
|
|
15398
15738
|
|
|
15399
15739
|
)
|
|
15400
15740
|
|
|
15401
15741
|
/* 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
|
-
|
|
15742
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ab2e0130-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&
|
|
15743
|
+
var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render = function render() {
|
|
15744
|
+
var _vm = this,
|
|
15745
|
+
_c = _vm._self._c;
|
|
15746
|
+
return _c('div', {
|
|
15747
|
+
ref: "multiContainer",
|
|
15748
|
+
staticClass: "multi-container"
|
|
15749
|
+
}, [_c('div', {
|
|
15750
|
+
staticStyle: {
|
|
15751
|
+
"position": "absolute",
|
|
15752
|
+
"z-index": "10"
|
|
15753
|
+
}
|
|
15754
|
+
}, [_c('div', {
|
|
15755
|
+
staticClass: "species-display-text"
|
|
15756
|
+
}, [_vm._v(" Species ")]), _c('el-popover', {
|
|
15757
|
+
ref: "selectPopover",
|
|
15758
|
+
attrs: {
|
|
15759
|
+
"content": "Select a species",
|
|
15760
|
+
"placement": "right",
|
|
15761
|
+
"appendToBody": false,
|
|
15762
|
+
"trigger": "manual",
|
|
15763
|
+
"popper-class": "flatmap-popper right-popper"
|
|
15764
|
+
},
|
|
15765
|
+
model: {
|
|
15766
|
+
value: _vm.helpMode,
|
|
15767
|
+
callback: function callback($$v) {
|
|
15768
|
+
_vm.helpMode = $$v;
|
|
15769
|
+
},
|
|
15770
|
+
expression: "helpMode"
|
|
15771
|
+
}
|
|
15772
|
+
}), _c('el-select', {
|
|
15773
|
+
directives: [{
|
|
15774
|
+
name: "popover",
|
|
15775
|
+
rawName: "v-popover:selectPopover",
|
|
15776
|
+
arg: "selectPopover"
|
|
15777
|
+
}],
|
|
15778
|
+
staticClass: "select-box",
|
|
15779
|
+
attrs: {
|
|
15780
|
+
"id": "flatmap-select",
|
|
15781
|
+
"popper-append-to-body": _vm.appendToBody,
|
|
15782
|
+
"placeholder": "Select",
|
|
15783
|
+
"popper-class": "flatmap_dropdown"
|
|
15784
|
+
},
|
|
15785
|
+
on: {
|
|
15786
|
+
"change": _vm.setSpecies
|
|
15787
|
+
},
|
|
15788
|
+
model: {
|
|
15789
|
+
value: _vm.activeSpecies,
|
|
15790
|
+
callback: function callback($$v) {
|
|
15791
|
+
_vm.activeSpecies = $$v;
|
|
15792
|
+
},
|
|
15793
|
+
expression: "activeSpecies"
|
|
15794
|
+
}
|
|
15795
|
+
}, _vm._l(_vm.speciesList, function (item, key) {
|
|
15796
|
+
return _c('el-option', {
|
|
15797
|
+
key: key,
|
|
15798
|
+
attrs: {
|
|
15799
|
+
"label": key,
|
|
15800
|
+
"value": key
|
|
15801
|
+
}
|
|
15802
|
+
}, [_c('el-row', [_c('el-col', {
|
|
15803
|
+
attrs: {
|
|
15804
|
+
"span": 8
|
|
15805
|
+
}
|
|
15806
|
+
}, [_c('i', {
|
|
15807
|
+
class: item.iconClass
|
|
15808
|
+
})]), _c('el-col', {
|
|
15809
|
+
attrs: {
|
|
15810
|
+
"span": 12
|
|
15811
|
+
}
|
|
15812
|
+
}, [_vm._v(_vm._s(key))])], 1)], 1);
|
|
15813
|
+
}), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
|
|
15814
|
+
return _c('FlatmapVuer', {
|
|
15815
|
+
directives: [{
|
|
15816
|
+
name: "show",
|
|
15817
|
+
rawName: "v-show",
|
|
15818
|
+
value: _vm.activeSpecies == key,
|
|
15819
|
+
expression: "activeSpecies==key"
|
|
15820
|
+
}],
|
|
15821
|
+
key: key,
|
|
15822
|
+
ref: key,
|
|
15823
|
+
refInFor: true,
|
|
15824
|
+
staticStyle: {
|
|
15825
|
+
"height": "100%"
|
|
15826
|
+
},
|
|
15827
|
+
attrs: {
|
|
15828
|
+
"showLayer": _vm.showLayer,
|
|
15829
|
+
"entry": item.taxo,
|
|
15830
|
+
"biologicalSex": item.biologicalSex,
|
|
15831
|
+
"displayWarning": item.displayWarning,
|
|
15832
|
+
"warningMessage": _vm.warningMessage,
|
|
15833
|
+
"displayLatestChanges": item.displayLatestChanges,
|
|
15834
|
+
"latestChangesMessage": item.latestChangesMessage,
|
|
15835
|
+
"isLegacy": item.isLegacy,
|
|
15836
|
+
"featureInfo": _vm.featureInfo,
|
|
15837
|
+
"minZoom": _vm.minZoom,
|
|
15838
|
+
"pathControls": _vm.pathControls,
|
|
15839
|
+
"searchable": _vm.searchable,
|
|
15840
|
+
"helpMode": _vm.helpMode,
|
|
15841
|
+
"renderAtMounted": _vm.renderAtMounted,
|
|
15842
|
+
"displayMinimap": _vm.displayMinimap,
|
|
15843
|
+
"flatmapAPI": _vm.flatmapAPI,
|
|
15844
|
+
"sparcAPI": _vm.sparcAPI
|
|
15845
|
+
},
|
|
15846
|
+
on: {
|
|
15847
|
+
"view-latest-map": _vm.viewLatestMap,
|
|
15848
|
+
"resource-selected": _vm.FlatmapSelected,
|
|
15849
|
+
"ready": _vm.FlatmapReady,
|
|
15850
|
+
"pan-zoom-callback": _vm.panZoomCallback
|
|
15851
|
+
}
|
|
15852
|
+
});
|
|
15853
|
+
})], 2);
|
|
15854
|
+
};
|
|
15855
|
+
var MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_staticRenderFns = [];
|
|
15406
15856
|
|
|
15407
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
15857
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0d8bc999&scoped=true&
|
|
15408
15858
|
|
|
15409
15859
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
15410
15860
|
var popover = __webpack_require__("06f1");
|
|
@@ -15430,7 +15880,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
15430
15880
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
15431
15881
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
15432
15882
|
|
|
15433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
15883
|
+
// 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
15884
|
|
|
15435
15885
|
|
|
15436
15886
|
|
|
@@ -15452,65 +15902,6 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
15452
15902
|
|
|
15453
15903
|
|
|
15454
15904
|
|
|
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
15905
|
|
|
15515
15906
|
/* eslint-disable no-alert, no-console */
|
|
15516
15907
|
|
|
@@ -15544,7 +15935,6 @@ var TAXON_UUID = {
|
|
|
15544
15935
|
},
|
|
15545
15936
|
mounted: function mounted() {
|
|
15546
15937
|
var _this = this;
|
|
15547
|
-
|
|
15548
15938
|
this.initialise();
|
|
15549
15939
|
components_EventBus.$on('onActionClick', function (action) {
|
|
15550
15940
|
_this.FlatmapSelected(action);
|
|
@@ -15553,7 +15943,6 @@ var TAXON_UUID = {
|
|
|
15553
15943
|
methods: {
|
|
15554
15944
|
initialise: function initialise() {
|
|
15555
15945
|
var _this2 = this;
|
|
15556
|
-
|
|
15557
15946
|
return new Promise(function (resolve) {
|
|
15558
15947
|
if (_this2.requireInitialisation) {
|
|
15559
15948
|
//It has not been initialised yet
|
|
@@ -15569,25 +15958,21 @@ var TAXON_UUID = {
|
|
|
15569
15958
|
if (_this2.availableSpecies[key].biologicalSex) {
|
|
15570
15959
|
if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
|
|
15571
15960
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15572
|
-
|
|
15573
15961
|
break;
|
|
15574
15962
|
}
|
|
15575
15963
|
} else {
|
|
15576
15964
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15577
|
-
|
|
15578
15965
|
break;
|
|
15579
15966
|
}
|
|
15580
15967
|
}
|
|
15581
15968
|
}
|
|
15582
|
-
});
|
|
15583
|
-
|
|
15969
|
+
});
|
|
15970
|
+
//Use the state species if it does not have any other species information
|
|
15584
15971
|
var species = _this2.initial;
|
|
15585
|
-
|
|
15586
15972
|
if (_this2.state) {
|
|
15587
15973
|
var mapState = _this2.state.state;
|
|
15588
15974
|
if ((!mapState || !mapState.uuid && !mapState.entry) && _this2.state.species) species = _this2.state.species;else species = undefined;
|
|
15589
15975
|
}
|
|
15590
|
-
|
|
15591
15976
|
if (species) {
|
|
15592
15977
|
//No state resuming, set the current flatmap to {this.initial}
|
|
15593
15978
|
if (species && _this2.speciesList[species] !== undefined) {
|
|
@@ -15595,13 +15980,11 @@ var TAXON_UUID = {
|
|
|
15595
15980
|
} else {
|
|
15596
15981
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
15597
15982
|
}
|
|
15598
|
-
|
|
15599
15983
|
_this2.setSpecies(_this2.activeSpecies, _this2.state ? _this2.state.state : undefined, 5);
|
|
15600
15984
|
}
|
|
15601
|
-
|
|
15602
15985
|
_this2._initialised = true;
|
|
15603
|
-
resolve();
|
|
15604
|
-
|
|
15986
|
+
resolve();
|
|
15987
|
+
//Resolve all other promises resolve in the list
|
|
15605
15988
|
_this2._resolveList.forEach(function (other) {
|
|
15606
15989
|
other();
|
|
15607
15990
|
});
|
|
@@ -15620,15 +16003,12 @@ var TAXON_UUID = {
|
|
|
15620
16003
|
},
|
|
15621
16004
|
FlatmapReady: function FlatmapReady(component) {
|
|
15622
16005
|
this.$emit("ready", component);
|
|
15623
|
-
this.addCloseButtonToMinimap();
|
|
15624
16006
|
},
|
|
15625
16007
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
15626
16008
|
var flatmap = this.$refs[this.activeSpecies];
|
|
15627
|
-
|
|
15628
16009
|
if (flatmap && flatmap[0]) {
|
|
15629
16010
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
15630
16011
|
}
|
|
15631
|
-
|
|
15632
16012
|
return undefined;
|
|
15633
16013
|
},
|
|
15634
16014
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -15647,14 +16027,12 @@ var TAXON_UUID = {
|
|
|
15647
16027
|
},
|
|
15648
16028
|
setSpecies: function setSpecies(species, state, numberOfRetry) {
|
|
15649
16029
|
var _this3 = this;
|
|
15650
|
-
|
|
15651
16030
|
if (this.$refs && species in this.$refs) {
|
|
15652
16031
|
this.activeSpecies = species;
|
|
15653
16032
|
this.$refs[this.activeSpecies][0].createFlatmap(state);
|
|
15654
16033
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
15655
16034
|
} else if (numberOfRetry) {
|
|
15656
16035
|
var retry = numberOfRetry - 1;
|
|
15657
|
-
|
|
15658
16036
|
if (retry >= 0) {
|
|
15659
16037
|
external_vue_default.a.nextTick(function () {
|
|
15660
16038
|
_this3.setSpecies(species, state, retry);
|
|
@@ -15662,39 +16040,33 @@ var TAXON_UUID = {
|
|
|
15662
16040
|
}
|
|
15663
16041
|
}
|
|
15664
16042
|
},
|
|
15665
|
-
|
|
15666
|
-
|
|
15667
|
-
*
|
|
15668
|
-
*
|
|
15669
|
-
*
|
|
15670
|
-
* @private
|
|
16043
|
+
/**
|
|
16044
|
+
* Function to switch to the latest existing map from
|
|
16045
|
+
* a legacy map of the same species.
|
|
16046
|
+
*
|
|
16047
|
+
* @private
|
|
15671
16048
|
*/
|
|
15672
16049
|
viewLatestMap: function viewLatestMap(state) {
|
|
15673
16050
|
var keys = Object.keys(this.speciesList);
|
|
15674
|
-
|
|
15675
16051
|
for (var i = 0; i < keys.length; i++) {
|
|
15676
16052
|
var species = this.speciesList[keys[i]];
|
|
15677
|
-
|
|
15678
16053
|
if (!species.isLegacy && species.taxo === state.entry && species.biologicalSex === state.biologicalSex) {
|
|
15679
16054
|
this.setSpecies(keys[i], state, 0);
|
|
15680
16055
|
return;
|
|
15681
16056
|
}
|
|
15682
16057
|
}
|
|
15683
16058
|
},
|
|
15684
|
-
|
|
15685
|
-
|
|
15686
|
-
*
|
|
15687
|
-
*
|
|
15688
|
-
* @private
|
|
16059
|
+
/**
|
|
16060
|
+
* Create a legacy entry with the provided information
|
|
16061
|
+
*
|
|
16062
|
+
* @private
|
|
15689
16063
|
*/
|
|
15690
16064
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
15691
16065
|
if (uuid && taxo) {
|
|
15692
16066
|
var name = "Legacy";
|
|
15693
|
-
|
|
15694
16067
|
if (state.species) {
|
|
15695
16068
|
if (state.species.slice(0, 6) === "Legacy") name = state.species;else name = name + " ".concat(state.species);
|
|
15696
16069
|
}
|
|
15697
|
-
|
|
15698
16070
|
this.$set(this.speciesList, name, {
|
|
15699
16071
|
taxo: taxo,
|
|
15700
16072
|
isLegacy: true,
|
|
@@ -15711,34 +16083,30 @@ var TAXON_UUID = {
|
|
|
15711
16083
|
};
|
|
15712
16084
|
}
|
|
15713
16085
|
},
|
|
15714
|
-
|
|
15715
|
-
|
|
15716
|
-
*
|
|
15717
|
-
*
|
|
15718
|
-
*
|
|
15719
|
-
* @private
|
|
16086
|
+
/**
|
|
16087
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
16088
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
16089
|
+
*
|
|
16090
|
+
* @private
|
|
15720
16091
|
*/
|
|
15721
16092
|
updateState: function updateState(state) {
|
|
15722
16093
|
var _this4 = this;
|
|
15723
|
-
|
|
15724
16094
|
return new Promise(function (resolve) {
|
|
15725
16095
|
if (state && state.state) {
|
|
15726
|
-
var mapState = state.state;
|
|
15727
|
-
|
|
16096
|
+
var mapState = state.state;
|
|
16097
|
+
//uuid is not in the state, this is a legacy map
|
|
15728
16098
|
if (!mapState.uuid) {
|
|
15729
16099
|
if (mapState.entry) {
|
|
15730
16100
|
var uuid = mapState.entry in TAXON_UUID ? TAXON_UUID[mapState.entry] : undefined;
|
|
15731
|
-
|
|
15732
16101
|
var newState = _this4.createLegacyEntry(state, mapState.entry, uuid);
|
|
15733
|
-
|
|
15734
16102
|
resolve(newState ? newState : state);
|
|
15735
16103
|
}
|
|
15736
16104
|
} else if (mapState.entry) {
|
|
15737
16105
|
//uuid is in the state but should be checked if it is the latest map
|
|
15738
16106
|
//for that taxon
|
|
15739
16107
|
return new Promise(function () {
|
|
15740
|
-
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
15741
|
-
|
|
16108
|
+
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
16109
|
+
//mapManager.findMap_ is an async function so we need to wrap this with a promise
|
|
15742
16110
|
var identifier = {
|
|
15743
16111
|
taxon: mapState.entry
|
|
15744
16112
|
};
|
|
@@ -15753,19 +16121,18 @@ var TAXON_UUID = {
|
|
|
15753
16121
|
resolve(state);
|
|
15754
16122
|
});
|
|
15755
16123
|
});
|
|
15756
|
-
}
|
|
15757
|
-
|
|
16124
|
+
}
|
|
16125
|
+
//Create a new state and add the legacy map to the select
|
|
15758
16126
|
}
|
|
15759
16127
|
|
|
15760
16128
|
resolve(state);
|
|
15761
16129
|
});
|
|
15762
16130
|
},
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
*
|
|
15766
|
-
*
|
|
15767
|
-
*
|
|
15768
|
-
* @public
|
|
16131
|
+
/**
|
|
16132
|
+
* Function used for getting the current states of the scene. This exported states
|
|
16133
|
+
* can be imported using the importStates method.
|
|
16134
|
+
*
|
|
16135
|
+
* @public
|
|
15769
16136
|
*/
|
|
15770
16137
|
getState: function getState() {
|
|
15771
16138
|
var state = {
|
|
@@ -15776,16 +16143,14 @@ var TAXON_UUID = {
|
|
|
15776
16143
|
state.state = map.getState();
|
|
15777
16144
|
return state;
|
|
15778
16145
|
},
|
|
15779
|
-
|
|
15780
|
-
|
|
15781
|
-
*
|
|
15782
|
-
*
|
|
15783
|
-
*
|
|
15784
|
-
* @public
|
|
16146
|
+
/**
|
|
16147
|
+
* Function used for importing the states of the scene. This exported states
|
|
16148
|
+
* can be imported using the read states method.
|
|
16149
|
+
*
|
|
16150
|
+
* @public
|
|
15785
16151
|
*/
|
|
15786
16152
|
setState: function setState(state) {
|
|
15787
16153
|
var _this5 = this;
|
|
15788
|
-
|
|
15789
16154
|
if (state) {
|
|
15790
16155
|
//Update state if required
|
|
15791
16156
|
this.updateState(state).then(function (currentState) {
|
|
@@ -15794,7 +16159,6 @@ var TAXON_UUID = {
|
|
|
15794
16159
|
_this5.setSpecies(currentState.species, currentState.state, 5);
|
|
15795
16160
|
} else if (currentState.state) {
|
|
15796
16161
|
var map = _this5.getCurrentFlatmap();
|
|
15797
|
-
|
|
15798
16162
|
map.setState(currentState.state);
|
|
15799
16163
|
}
|
|
15800
16164
|
});
|
|
@@ -15822,10 +16186,9 @@ var TAXON_UUID = {
|
|
|
15822
16186
|
type: Boolean,
|
|
15823
16187
|
default: false
|
|
15824
16188
|
},
|
|
15825
|
-
|
|
15826
|
-
|
|
15827
|
-
*
|
|
15828
|
-
* This value will be ignored if a valid state object is provided.
|
|
16189
|
+
/**
|
|
16190
|
+
* Initial species for the flatmap.
|
|
16191
|
+
* This value will be ignored if a valid state object is provided.
|
|
15829
16192
|
*/
|
|
15830
16193
|
initial: {
|
|
15831
16194
|
type: String,
|
|
@@ -15890,17 +16253,15 @@ var TAXON_UUID = {
|
|
|
15890
16253
|
};
|
|
15891
16254
|
}
|
|
15892
16255
|
},
|
|
15893
|
-
|
|
15894
|
-
|
|
15895
|
-
* State containing state of the flatmap.
|
|
16256
|
+
/**
|
|
16257
|
+
* State containing state of the flatmap.
|
|
15896
16258
|
*/
|
|
15897
16259
|
state: {
|
|
15898
16260
|
type: Object,
|
|
15899
16261
|
default: undefined
|
|
15900
16262
|
},
|
|
15901
|
-
|
|
15902
|
-
|
|
15903
|
-
* Specify the endpoint of the flatmap server.
|
|
16263
|
+
/**
|
|
16264
|
+
* Specify the endpoint of the flatmap server.
|
|
15904
16265
|
*/
|
|
15905
16266
|
flatmapAPI: {
|
|
15906
16267
|
type: String,
|
|
@@ -15931,8 +16292,8 @@ var TAXON_UUID = {
|
|
|
15931
16292
|
});
|
|
15932
16293
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
15933
16294
|
/* 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
|
|
16295
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=0d8bc999&prod&scoped=true&lang=scss&
|
|
16296
|
+
var MultiFlatmapVuervue_type_style_index_0_id_0d8bc999_prod_scoped_true_lang_scss_ = __webpack_require__("ec09");
|
|
15936
16297
|
|
|
15937
16298
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
15938
16299
|
|
|
@@ -15945,11 +16306,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss_ =
|
|
|
15945
16306
|
|
|
15946
16307
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
15947
16308
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
15948
|
-
|
|
15949
|
-
|
|
16309
|
+
MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_render,
|
|
16310
|
+
MultiFlatmapVuervue_type_template_id_0d8bc999_scoped_true_staticRenderFns,
|
|
15950
16311
|
false,
|
|
15951
16312
|
null,
|
|
15952
|
-
"
|
|
16313
|
+
"0d8bc999",
|
|
15953
16314
|
null
|
|
15954
16315
|
|
|
15955
16316
|
)
|