@abi-software/flatmapvuer 0.3.13-beta-3 → 0.3.14
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 +911 -1226
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +911 -1226
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +14210 -14210
- package/package.json +71 -71
- package/public/index.html +17 -17
- package/src/App.vue +162 -162
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +2 -2
- package/src/components/FlatmapVuer.vue +1636 -1559
- package/src/components/MultiFlatmapVuer.vue +511 -509
- 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/src/nerve-map.js +99 -0
- package/vue.config.js +31 -31
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -96,6 +96,13 @@ 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
|
+
|
|
99
106
|
/***/ "06f1":
|
|
100
107
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
108
|
|
|
@@ -103,6 +110,13 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
103
110
|
|
|
104
111
|
/***/ }),
|
|
105
112
|
|
|
113
|
+
/***/ "0cda":
|
|
114
|
+
/***/ (function(module, exports) {
|
|
115
|
+
|
|
116
|
+
module.exports = require("core-js/modules/es.string.split.js");
|
|
117
|
+
|
|
118
|
+
/***/ }),
|
|
119
|
+
|
|
106
120
|
/***/ "0f6c":
|
|
107
121
|
/***/ (function(module, exports) {
|
|
108
122
|
|
|
@@ -190,12 +204,12 @@ module.exports =
|
|
|
190
204
|
/******/
|
|
191
205
|
/******/
|
|
192
206
|
/******/ // Load entry module and return exports
|
|
193
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
207
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
194
208
|
/******/ })
|
|
195
209
|
/************************************************************************/
|
|
196
210
|
/******/ ({
|
|
197
211
|
|
|
198
|
-
/***/
|
|
212
|
+
/***/ 132:
|
|
199
213
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
200
214
|
|
|
201
215
|
"use strict";
|
|
@@ -218,7 +232,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
218
232
|
type: String,
|
|
219
233
|
default: 'start'
|
|
220
234
|
},
|
|
221
|
-
align:
|
|
235
|
+
align: {
|
|
236
|
+
type: String,
|
|
237
|
+
default: 'top'
|
|
238
|
+
}
|
|
222
239
|
},
|
|
223
240
|
|
|
224
241
|
computed: {
|
|
@@ -236,7 +253,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
236
253
|
|
|
237
254
|
render: function render(h) {
|
|
238
255
|
return h(this.tag, {
|
|
239
|
-
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
256
|
+
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
240
257
|
style: this.style
|
|
241
258
|
}, this.$slots.default);
|
|
242
259
|
}
|
|
@@ -257,13 +274,6 @@ row.install = function (Vue) {
|
|
|
257
274
|
|
|
258
275
|
/***/ }),
|
|
259
276
|
|
|
260
|
-
/***/ "0fd6":
|
|
261
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
262
|
-
|
|
263
|
-
// extracted by mini-css-extract-plugin
|
|
264
|
-
|
|
265
|
-
/***/ }),
|
|
266
|
-
|
|
267
277
|
/***/ "12f2":
|
|
268
278
|
/***/ (function(module, exports, __webpack_require__) {
|
|
269
279
|
|
|
@@ -284,6 +294,17 @@ exports.default = function (ref) {
|
|
|
284
294
|
|
|
285
295
|
;
|
|
286
296
|
|
|
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
|
+
|
|
287
308
|
/***/ }),
|
|
288
309
|
|
|
289
310
|
/***/ "13e3":
|
|
@@ -380,12 +401,12 @@ module.exports =
|
|
|
380
401
|
/******/
|
|
381
402
|
/******/
|
|
382
403
|
/******/ // Load entry module and return exports
|
|
383
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
404
|
+
/******/ return __webpack_require__(__webpack_require__.s = 127);
|
|
384
405
|
/******/ })
|
|
385
406
|
/************************************************************************/
|
|
386
407
|
/******/ ({
|
|
387
408
|
|
|
388
|
-
/***/
|
|
409
|
+
/***/ 127:
|
|
389
410
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
390
411
|
|
|
391
412
|
"use strict";
|
|
@@ -395,7 +416,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
395
416
|
var resize_event_ = __webpack_require__(16);
|
|
396
417
|
|
|
397
418
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
|
|
398
|
-
var scrollbar_width_ = __webpack_require__(
|
|
419
|
+
var scrollbar_width_ = __webpack_require__(38);
|
|
399
420
|
var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
|
|
400
421
|
|
|
401
422
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -710,7 +731,7 @@ module.exports = __webpack_require__("8122");
|
|
|
710
731
|
|
|
711
732
|
/***/ }),
|
|
712
733
|
|
|
713
|
-
/***/
|
|
734
|
+
/***/ 38:
|
|
714
735
|
/***/ (function(module, exports) {
|
|
715
736
|
|
|
716
737
|
module.exports = __webpack_require__("e62d");
|
|
@@ -742,45 +763,31 @@ module.exports = require("core-js/modules/es.array.filter.js");
|
|
|
742
763
|
|
|
743
764
|
/***/ }),
|
|
744
765
|
|
|
745
|
-
/***/ "
|
|
746
|
-
/***/ (function(module,
|
|
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 * */
|
|
747
773
|
|
|
748
|
-
module.exports = require("core-js/modules/es.string.search.js");
|
|
749
774
|
|
|
750
775
|
/***/ }),
|
|
751
776
|
|
|
752
|
-
/***/ "
|
|
753
|
-
/***/ (function(module, exports
|
|
777
|
+
/***/ "1c32":
|
|
778
|
+
/***/ (function(module, exports) {
|
|
754
779
|
|
|
755
|
-
|
|
780
|
+
module.exports = require("core-js/modules/es.string.search.js");
|
|
756
781
|
|
|
757
782
|
/***/ }),
|
|
758
783
|
|
|
759
|
-
/***/ "
|
|
784
|
+
/***/ "1f1a":
|
|
760
785
|
/***/ (function(module, exports, __webpack_require__) {
|
|
761
786
|
|
|
762
787
|
// extracted by mini-css-extract-plugin
|
|
763
788
|
|
|
764
789
|
/***/ }),
|
|
765
790
|
|
|
766
|
-
/***/ "233b":
|
|
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_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");
|
|
771
|
-
/* 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__);
|
|
772
|
-
/* unused harmony reexport * */
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
/***/ }),
|
|
776
|
-
|
|
777
|
-
/***/ "2439":
|
|
778
|
-
/***/ (function(module, exports) {
|
|
779
|
-
|
|
780
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
781
|
-
|
|
782
|
-
/***/ }),
|
|
783
|
-
|
|
784
791
|
/***/ "2a5e":
|
|
785
792
|
/***/ (function(module, exports, __webpack_require__) {
|
|
786
793
|
|
|
@@ -914,17 +921,6 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
914
921
|
|
|
915
922
|
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
916
923
|
|
|
917
|
-
/***/ }),
|
|
918
|
-
|
|
919
|
-
/***/ "318c":
|
|
920
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
921
|
-
|
|
922
|
-
"use strict";
|
|
923
|
-
/* 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");
|
|
924
|
-
/* 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__);
|
|
925
|
-
/* unused harmony reexport * */
|
|
926
|
-
|
|
927
|
-
|
|
928
924
|
/***/ }),
|
|
929
925
|
|
|
930
926
|
/***/ "3d2d":
|
|
@@ -1014,7 +1010,7 @@ module.exports =
|
|
|
1014
1010
|
/******/
|
|
1015
1011
|
/******/
|
|
1016
1012
|
/******/ // Load entry module and return exports
|
|
1017
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1013
|
+
/******/ return __webpack_require__(__webpack_require__.s = 94);
|
|
1018
1014
|
/******/ })
|
|
1019
1015
|
/************************************************************************/
|
|
1020
1016
|
/******/ ({
|
|
@@ -1121,7 +1117,7 @@ function normalizeComponent (
|
|
|
1121
1117
|
|
|
1122
1118
|
/***/ }),
|
|
1123
1119
|
|
|
1124
|
-
/***/
|
|
1120
|
+
/***/ 94:
|
|
1125
1121
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1126
1122
|
|
|
1127
1123
|
"use strict";
|
|
@@ -1233,8 +1229,6 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
|
1233
1229
|
|
|
1234
1230
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1235
1231
|
|
|
1236
|
-
var _throttleDebounce = __webpack_require__("831f");
|
|
1237
|
-
|
|
1238
1232
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1239
1233
|
|
|
1240
1234
|
var isServer = typeof window === 'undefined';
|
|
@@ -1269,7 +1263,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
|
|
|
1269
1263
|
if (isServer) return;
|
|
1270
1264
|
if (!element.__resizeListeners__) {
|
|
1271
1265
|
element.__resizeListeners__ = [];
|
|
1272
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(
|
|
1266
|
+
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1273
1267
|
element.__ro__.observe(element);
|
|
1274
1268
|
}
|
|
1275
1269
|
element.__resizeListeners__.push(fn);
|
|
@@ -1790,7 +1784,7 @@ module.exports =
|
|
|
1790
1784
|
/******/
|
|
1791
1785
|
/******/
|
|
1792
1786
|
/******/ // Load entry module and return exports
|
|
1793
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1787
|
+
/******/ return __webpack_require__(__webpack_require__.s = 61);
|
|
1794
1788
|
/******/ })
|
|
1795
1789
|
/************************************************************************/
|
|
1796
1790
|
/******/ ({
|
|
@@ -1925,7 +1919,7 @@ module.exports = __webpack_require__("4010");
|
|
|
1925
1919
|
|
|
1926
1920
|
/***/ }),
|
|
1927
1921
|
|
|
1928
|
-
/***/
|
|
1922
|
+
/***/ 17:
|
|
1929
1923
|
/***/ (function(module, exports) {
|
|
1930
1924
|
|
|
1931
1925
|
module.exports = __webpack_require__("7435");
|
|
@@ -1953,14 +1947,14 @@ module.exports = __webpack_require__("8122");
|
|
|
1953
1947
|
|
|
1954
1948
|
/***/ }),
|
|
1955
1949
|
|
|
1956
|
-
/***/
|
|
1950
|
+
/***/ 31:
|
|
1957
1951
|
/***/ (function(module, exports) {
|
|
1958
1952
|
|
|
1959
1953
|
module.exports = __webpack_require__("2a5e");
|
|
1960
1954
|
|
|
1961
1955
|
/***/ }),
|
|
1962
1956
|
|
|
1963
|
-
/***/
|
|
1957
|
+
/***/ 33:
|
|
1964
1958
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1965
1959
|
|
|
1966
1960
|
"use strict";
|
|
@@ -2211,7 +2205,7 @@ component.options.__file = "packages/select/src/option.vue"
|
|
|
2211
2205
|
|
|
2212
2206
|
/***/ }),
|
|
2213
2207
|
|
|
2214
|
-
/***/
|
|
2208
|
+
/***/ 37:
|
|
2215
2209
|
/***/ (function(module, exports) {
|
|
2216
2210
|
|
|
2217
2211
|
module.exports = __webpack_require__("8bbc");
|
|
@@ -2239,7 +2233,7 @@ module.exports = __webpack_require__("6b7c");
|
|
|
2239
2233
|
|
|
2240
2234
|
/***/ }),
|
|
2241
2235
|
|
|
2242
|
-
/***/
|
|
2236
|
+
/***/ 61:
|
|
2243
2237
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2244
2238
|
|
|
2245
2239
|
"use strict";
|
|
@@ -2405,7 +2399,7 @@ var render = function() {
|
|
|
2405
2399
|
return null
|
|
2406
2400
|
}
|
|
2407
2401
|
$event.preventDefault()
|
|
2408
|
-
_vm.
|
|
2402
|
+
_vm.navigateOptions("next")
|
|
2409
2403
|
},
|
|
2410
2404
|
function($event) {
|
|
2411
2405
|
if (
|
|
@@ -2418,7 +2412,7 @@ var render = function() {
|
|
|
2418
2412
|
return null
|
|
2419
2413
|
}
|
|
2420
2414
|
$event.preventDefault()
|
|
2421
|
-
_vm.
|
|
2415
|
+
_vm.navigateOptions("prev")
|
|
2422
2416
|
},
|
|
2423
2417
|
function($event) {
|
|
2424
2418
|
if (
|
|
@@ -2511,15 +2505,11 @@ var render = function() {
|
|
|
2511
2505
|
"validate-event": false,
|
|
2512
2506
|
tabindex: _vm.multiple && _vm.filterable ? "-1" : null
|
|
2513
2507
|
},
|
|
2514
|
-
on: {
|
|
2515
|
-
focus: _vm.handleFocus,
|
|
2516
|
-
blur: _vm.handleBlur,
|
|
2517
|
-
input: _vm.debouncedOnInputChange,
|
|
2518
|
-
compositionstart: _vm.handleComposition,
|
|
2519
|
-
compositionupdate: _vm.handleComposition,
|
|
2520
|
-
compositionend: _vm.handleComposition
|
|
2521
|
-
},
|
|
2508
|
+
on: { focus: _vm.handleFocus, blur: _vm.handleBlur },
|
|
2522
2509
|
nativeOn: {
|
|
2510
|
+
keyup: function($event) {
|
|
2511
|
+
return _vm.debouncedOnInputChange($event)
|
|
2512
|
+
},
|
|
2523
2513
|
keydown: [
|
|
2524
2514
|
function($event) {
|
|
2525
2515
|
if (
|
|
@@ -2533,7 +2523,7 @@ var render = function() {
|
|
|
2533
2523
|
}
|
|
2534
2524
|
$event.stopPropagation()
|
|
2535
2525
|
$event.preventDefault()
|
|
2536
|
-
_vm.
|
|
2526
|
+
_vm.navigateOptions("next")
|
|
2537
2527
|
},
|
|
2538
2528
|
function($event) {
|
|
2539
2529
|
if (
|
|
@@ -2547,7 +2537,7 @@ var render = function() {
|
|
|
2547
2537
|
}
|
|
2548
2538
|
$event.stopPropagation()
|
|
2549
2539
|
$event.preventDefault()
|
|
2550
|
-
_vm.
|
|
2540
|
+
_vm.navigateOptions("prev")
|
|
2551
2541
|
},
|
|
2552
2542
|
function($event) {
|
|
2553
2543
|
if (
|
|
@@ -2583,6 +2573,9 @@ var render = function() {
|
|
|
2583
2573
|
_vm.visible = false
|
|
2584
2574
|
}
|
|
2585
2575
|
],
|
|
2576
|
+
paste: function($event) {
|
|
2577
|
+
return _vm.debouncedOnInputChange($event)
|
|
2578
|
+
},
|
|
2586
2579
|
mouseenter: function($event) {
|
|
2587
2580
|
_vm.inputHovering = true
|
|
2588
2581
|
},
|
|
@@ -2868,10 +2861,10 @@ if (false) { var api; }
|
|
|
2868
2861
|
component.options.__file = "packages/select/src/select-dropdown.vue"
|
|
2869
2862
|
/* harmony default export */ var select_dropdown = (component.exports);
|
|
2870
2863
|
// EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
|
|
2871
|
-
var src_option = __webpack_require__(
|
|
2864
|
+
var src_option = __webpack_require__(33);
|
|
2872
2865
|
|
|
2873
2866
|
// EXTERNAL MODULE: external "element-ui/lib/tag"
|
|
2874
|
-
var tag_ = __webpack_require__(
|
|
2867
|
+
var tag_ = __webpack_require__(37);
|
|
2875
2868
|
var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
|
|
2876
2869
|
|
|
2877
2870
|
// EXTERNAL MODULE: external "element-ui/lib/scrollbar"
|
|
@@ -2879,7 +2872,7 @@ var scrollbar_ = __webpack_require__(15);
|
|
|
2879
2872
|
var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
2880
2873
|
|
|
2881
2874
|
// EXTERNAL MODULE: external "throttle-debounce/debounce"
|
|
2882
|
-
var debounce_ = __webpack_require__(
|
|
2875
|
+
var debounce_ = __webpack_require__(17);
|
|
2883
2876
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
2884
2877
|
|
|
2885
2878
|
// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
|
|
@@ -2890,7 +2883,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
2890
2883
|
var resize_event_ = __webpack_require__(16);
|
|
2891
2884
|
|
|
2892
2885
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
|
|
2893
|
-
var scroll_into_view_ = __webpack_require__(
|
|
2886
|
+
var scroll_into_view_ = __webpack_require__(31);
|
|
2894
2887
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
2895
2888
|
|
|
2896
2889
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -3099,8 +3092,6 @@ var shared_ = __webpack_require__(21);
|
|
|
3099
3092
|
//
|
|
3100
3093
|
//
|
|
3101
3094
|
//
|
|
3102
|
-
//
|
|
3103
|
-
//
|
|
3104
3095
|
|
|
3105
3096
|
|
|
3106
3097
|
|
|
@@ -3398,11 +3389,6 @@ var shared_ = __webpack_require__(21);
|
|
|
3398
3389
|
},
|
|
3399
3390
|
|
|
3400
3391
|
methods: {
|
|
3401
|
-
handleNavigate: function handleNavigate(direction) {
|
|
3402
|
-
if (this.isOnComposition) return;
|
|
3403
|
-
|
|
3404
|
-
this.navigateOptions(direction);
|
|
3405
|
-
},
|
|
3406
3392
|
handleComposition: function handleComposition(event) {
|
|
3407
3393
|
var _this5 = this;
|
|
3408
3394
|
|
|
@@ -3488,7 +3474,7 @@ var shared_ = __webpack_require__(21);
|
|
|
3488
3474
|
}
|
|
3489
3475
|
}
|
|
3490
3476
|
if (option) return option;
|
|
3491
|
-
var label = !isObject && !isNull && !isUndefined ?
|
|
3477
|
+
var label = !isObject && !isNull && !isUndefined ? value : '';
|
|
3492
3478
|
var newOption = {
|
|
3493
3479
|
value: value,
|
|
3494
3480
|
currentLabel: label
|
|
@@ -3528,10 +3514,10 @@ var shared_ = __webpack_require__(21);
|
|
|
3528
3514
|
handleFocus: function handleFocus(event) {
|
|
3529
3515
|
if (!this.softFocus) {
|
|
3530
3516
|
if (this.automaticDropdown || this.filterable) {
|
|
3531
|
-
|
|
3517
|
+
this.visible = true;
|
|
3518
|
+
if (this.filterable) {
|
|
3532
3519
|
this.menuVisibleOnFocus = true;
|
|
3533
3520
|
}
|
|
3534
|
-
this.visible = true;
|
|
3535
3521
|
}
|
|
3536
3522
|
this.$emit('focus', event);
|
|
3537
3523
|
} else {
|
|
@@ -3605,9 +3591,8 @@ var shared_ = __webpack_require__(21);
|
|
|
3605
3591
|
return item.tagName === 'INPUT';
|
|
3606
3592
|
})[0];
|
|
3607
3593
|
var tags = _this10.$refs.tags;
|
|
3608
|
-
var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
|
|
3609
3594
|
var sizeInMap = _this10.initialInputHeight || 40;
|
|
3610
|
-
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ?
|
|
3595
|
+
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
|
|
3611
3596
|
if (_this10.visible && _this10.emptyText !== false) {
|
|
3612
3597
|
_this10.broadcast('ElSelectDropdown', 'updatePopper');
|
|
3613
3598
|
}
|
|
@@ -4128,7 +4113,7 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4128
4113
|
|
|
4129
4114
|
/***/ }),
|
|
4130
4115
|
|
|
4131
|
-
/***/ "
|
|
4116
|
+
/***/ "58e9":
|
|
4132
4117
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4133
4118
|
|
|
4134
4119
|
// extracted by mini-css-extract-plugin
|
|
@@ -4246,7 +4231,7 @@ function addClass(el, cls) {
|
|
|
4246
4231
|
}
|
|
4247
4232
|
}
|
|
4248
4233
|
if (!el.classList) {
|
|
4249
|
-
el.
|
|
4234
|
+
el.className = curClass;
|
|
4250
4235
|
}
|
|
4251
4236
|
};
|
|
4252
4237
|
|
|
@@ -4267,7 +4252,7 @@ function removeClass(el, cls) {
|
|
|
4267
4252
|
}
|
|
4268
4253
|
}
|
|
4269
4254
|
if (!el.classList) {
|
|
4270
|
-
el.
|
|
4255
|
+
el.className = trim(curClass);
|
|
4271
4256
|
}
|
|
4272
4257
|
};
|
|
4273
4258
|
|
|
@@ -4331,10 +4316,10 @@ function setStyle(element, styleName, value) {
|
|
|
4331
4316
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4332
4317
|
if (isServer) return;
|
|
4333
4318
|
|
|
4334
|
-
var determinedDirection = vertical !== null
|
|
4319
|
+
var determinedDirection = vertical !== null || vertical !== undefined;
|
|
4335
4320
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4336
4321
|
|
|
4337
|
-
return overflow.match(/(scroll|auto
|
|
4322
|
+
return overflow.match(/(scroll|auto)/);
|
|
4338
4323
|
};
|
|
4339
4324
|
|
|
4340
4325
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4376,10 +4361,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4376
4361
|
|
|
4377
4362
|
/***/ }),
|
|
4378
4363
|
|
|
4379
|
-
/***/ "
|
|
4380
|
-
/***/ (function(module, exports) {
|
|
4364
|
+
/***/ "5ca3":
|
|
4365
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4381
4366
|
|
|
4382
|
-
|
|
4367
|
+
// extracted by mini-css-extract-plugin
|
|
4383
4368
|
|
|
4384
4369
|
/***/ }),
|
|
4385
4370
|
|
|
@@ -5748,7 +5733,7 @@ module.exports =
|
|
|
5748
5733
|
/******/
|
|
5749
5734
|
/******/
|
|
5750
5735
|
/******/ // Load entry module and return exports
|
|
5751
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
5736
|
+
/******/ return __webpack_require__(__webpack_require__.s = 79);
|
|
5752
5737
|
/******/ })
|
|
5753
5738
|
/************************************************************************/
|
|
5754
5739
|
/******/ ({
|
|
@@ -5862,7 +5847,7 @@ module.exports = __webpack_require__("d010");
|
|
|
5862
5847
|
|
|
5863
5848
|
/***/ }),
|
|
5864
5849
|
|
|
5865
|
-
/***/
|
|
5850
|
+
/***/ 79:
|
|
5866
5851
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5867
5852
|
|
|
5868
5853
|
"use strict";
|
|
@@ -5941,9 +5926,7 @@ var keyCode = Object.freeze({
|
|
|
5941
5926
|
return (this.elFormItem || {}).elFormItemSize;
|
|
5942
5927
|
},
|
|
5943
5928
|
_elTag: function _elTag() {
|
|
5944
|
-
|
|
5945
|
-
if (!tag || tag === 'component') tag = 'div';
|
|
5946
|
-
return tag;
|
|
5929
|
+
return (this.$vnode.data || {}).tag || 'div';
|
|
5947
5930
|
},
|
|
5948
5931
|
radioGroupSize: function radioGroupSize() {
|
|
5949
5932
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
@@ -6144,7 +6127,7 @@ module.exports =
|
|
|
6144
6127
|
/******/
|
|
6145
6128
|
/******/
|
|
6146
6129
|
/******/ // Load entry module and return exports
|
|
6147
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6130
|
+
/******/ return __webpack_require__(__webpack_require__.s = 74);
|
|
6148
6131
|
/******/ })
|
|
6149
6132
|
/************************************************************************/
|
|
6150
6133
|
/******/ ({
|
|
@@ -6279,7 +6262,7 @@ module.exports = __webpack_require__("8bbf");
|
|
|
6279
6262
|
|
|
6280
6263
|
/***/ }),
|
|
6281
6264
|
|
|
6282
|
-
/***/
|
|
6265
|
+
/***/ 74:
|
|
6283
6266
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6284
6267
|
|
|
6285
6268
|
"use strict";
|
|
@@ -6703,20 +6686,6 @@ exports.default = {
|
|
|
6703
6686
|
|
|
6704
6687
|
/***/ }),
|
|
6705
6688
|
|
|
6706
|
-
/***/ "712c":
|
|
6707
|
-
/***/ (function(module, exports) {
|
|
6708
|
-
|
|
6709
|
-
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
6710
|
-
|
|
6711
|
-
/***/ }),
|
|
6712
|
-
|
|
6713
|
-
/***/ "722b":
|
|
6714
|
-
/***/ (function(module, exports) {
|
|
6715
|
-
|
|
6716
|
-
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
6717
|
-
|
|
6718
|
-
/***/ }),
|
|
6719
|
-
|
|
6720
6689
|
/***/ "7435":
|
|
6721
6690
|
/***/ (function(module, exports) {
|
|
6722
6691
|
|
|
@@ -6731,13 +6700,6 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6731
6700
|
|
|
6732
6701
|
/***/ }),
|
|
6733
6702
|
|
|
6734
|
-
/***/ "7a9a":
|
|
6735
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6736
|
-
|
|
6737
|
-
// extracted by mini-css-extract-plugin
|
|
6738
|
-
|
|
6739
|
-
/***/ }),
|
|
6740
|
-
|
|
6741
6703
|
/***/ "7b31":
|
|
6742
6704
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6743
6705
|
|
|
@@ -6825,7 +6787,7 @@ module.exports =
|
|
|
6825
6787
|
/******/
|
|
6826
6788
|
/******/
|
|
6827
6789
|
/******/ // Load entry module and return exports
|
|
6828
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6790
|
+
/******/ return __webpack_require__(__webpack_require__.s = 102);
|
|
6829
6791
|
/******/ })
|
|
6830
6792
|
/************************************************************************/
|
|
6831
6793
|
/******/ ({
|
|
@@ -6932,7 +6894,7 @@ function normalizeComponent (
|
|
|
6932
6894
|
|
|
6933
6895
|
/***/ }),
|
|
6934
6896
|
|
|
6935
|
-
/***/
|
|
6897
|
+
/***/ 102:
|
|
6936
6898
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6937
6899
|
|
|
6938
6900
|
"use strict";
|
|
@@ -7135,7 +7097,7 @@ module.exports =
|
|
|
7135
7097
|
/******/
|
|
7136
7098
|
/******/
|
|
7137
7099
|
/******/ // Load entry module and return exports
|
|
7138
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7100
|
+
/******/ return __webpack_require__(__webpack_require__.s = 86);
|
|
7139
7101
|
/******/ })
|
|
7140
7102
|
/************************************************************************/
|
|
7141
7103
|
/******/ ({
|
|
@@ -7249,7 +7211,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7249
7211
|
|
|
7250
7212
|
/***/ }),
|
|
7251
7213
|
|
|
7252
|
-
/***/
|
|
7214
|
+
/***/ 86:
|
|
7253
7215
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7254
7216
|
|
|
7255
7217
|
"use strict";
|
|
@@ -7641,13 +7603,6 @@ function objToArray(obj) {
|
|
|
7641
7603
|
|
|
7642
7604
|
/***/ }),
|
|
7643
7605
|
|
|
7644
|
-
/***/ "831f":
|
|
7645
|
-
/***/ (function(module, exports) {
|
|
7646
|
-
|
|
7647
|
-
module.exports = require("throttle-debounce");
|
|
7648
|
-
|
|
7649
|
-
/***/ }),
|
|
7650
|
-
|
|
7651
7606
|
/***/ "8535":
|
|
7652
7607
|
/***/ (function(module, exports) {
|
|
7653
7608
|
|
|
@@ -7749,7 +7704,7 @@ module.exports =
|
|
|
7749
7704
|
/******/
|
|
7750
7705
|
/******/
|
|
7751
7706
|
/******/ // Load entry module and return exports
|
|
7752
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7707
|
+
/******/ return __webpack_require__(__webpack_require__.s = 68);
|
|
7753
7708
|
/******/ })
|
|
7754
7709
|
/************************************************************************/
|
|
7755
7710
|
/******/ ({
|
|
@@ -7870,21 +7825,14 @@ module.exports = __webpack_require__("5924");
|
|
|
7870
7825
|
|
|
7871
7826
|
/***/ }),
|
|
7872
7827
|
|
|
7873
|
-
/***/
|
|
7828
|
+
/***/ 41:
|
|
7874
7829
|
/***/ (function(module, exports) {
|
|
7875
7830
|
|
|
7876
7831
|
module.exports = __webpack_require__("c56a");
|
|
7877
7832
|
|
|
7878
7833
|
/***/ }),
|
|
7879
7834
|
|
|
7880
|
-
/***/
|
|
7881
|
-
/***/ (function(module, exports) {
|
|
7882
|
-
|
|
7883
|
-
module.exports = __webpack_require__("8bbf");
|
|
7884
|
-
|
|
7885
|
-
/***/ }),
|
|
7886
|
-
|
|
7887
|
-
/***/ 73:
|
|
7835
|
+
/***/ 68:
|
|
7888
7836
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7889
7837
|
|
|
7890
7838
|
"use strict";
|
|
@@ -8032,7 +7980,7 @@ var dom_ = __webpack_require__(2);
|
|
|
8032
7980
|
var popup_ = __webpack_require__(13);
|
|
8033
7981
|
|
|
8034
7982
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
8035
|
-
var after_leave_ = __webpack_require__(
|
|
7983
|
+
var after_leave_ = __webpack_require__(41);
|
|
8036
7984
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
8037
7985
|
|
|
8038
7986
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8096,7 +8044,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8096
8044
|
el.mask.style[property] = el.maskStyle[property];
|
|
8097
8045
|
});
|
|
8098
8046
|
|
|
8099
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed'
|
|
8047
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8100
8048
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8101
8049
|
}
|
|
8102
8050
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8254,7 +8202,7 @@ var src_Loading = function Loading() {
|
|
|
8254
8202
|
});
|
|
8255
8203
|
|
|
8256
8204
|
src_addStyle(options, parent, instance);
|
|
8257
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed'
|
|
8205
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8258
8206
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8259
8207
|
}
|
|
8260
8208
|
if (options.fullscreen && options.lock) {
|
|
@@ -8287,6 +8235,13 @@ var src_Loading = function Loading() {
|
|
|
8287
8235
|
|
|
8288
8236
|
/***/ }),
|
|
8289
8237
|
|
|
8238
|
+
/***/ 7:
|
|
8239
|
+
/***/ (function(module, exports) {
|
|
8240
|
+
|
|
8241
|
+
module.exports = __webpack_require__("8bbf");
|
|
8242
|
+
|
|
8243
|
+
/***/ }),
|
|
8244
|
+
|
|
8290
8245
|
/***/ 9:
|
|
8291
8246
|
/***/ (function(module, exports) {
|
|
8292
8247
|
|
|
@@ -8385,7 +8340,7 @@ module.exports =
|
|
|
8385
8340
|
/******/
|
|
8386
8341
|
/******/
|
|
8387
8342
|
/******/ // Load entry module and return exports
|
|
8388
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8343
|
+
/******/ return __webpack_require__(__webpack_require__.s = 124);
|
|
8389
8344
|
/******/ })
|
|
8390
8345
|
/************************************************************************/
|
|
8391
8346
|
/******/ ({
|
|
@@ -8492,7 +8447,7 @@ function normalizeComponent (
|
|
|
8492
8447
|
|
|
8493
8448
|
/***/ }),
|
|
8494
8449
|
|
|
8495
|
-
/***/
|
|
8450
|
+
/***/ 124:
|
|
8496
8451
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8497
8452
|
|
|
8498
8453
|
"use strict";
|
|
@@ -8614,18 +8569,7 @@ module.exports = require("vue");
|
|
|
8614
8569
|
|
|
8615
8570
|
/***/ }),
|
|
8616
8571
|
|
|
8617
|
-
/***/ "
|
|
8618
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8619
|
-
|
|
8620
|
-
"use strict";
|
|
8621
|
-
/* 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_7e19e884_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0fd6");
|
|
8622
|
-
/* 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_7e19e884_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_7e19e884_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
8623
|
-
/* unused harmony reexport * */
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
/***/ }),
|
|
8627
|
-
|
|
8628
|
-
/***/ "9392":
|
|
8572
|
+
/***/ "940c":
|
|
8629
8573
|
/***/ (function(module, exports, __webpack_require__) {
|
|
8630
8574
|
|
|
8631
8575
|
// extracted by mini-css-extract-plugin
|
|
@@ -8721,6 +8665,17 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
8721
8665
|
* https://github.com/Matt-Esch/string-template/index.js
|
|
8722
8666
|
*/
|
|
8723
8667
|
|
|
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
|
+
|
|
8724
8679
|
/***/ }),
|
|
8725
8680
|
|
|
8726
8681
|
/***/ "a1cc":
|
|
@@ -8817,7 +8772,7 @@ module.exports =
|
|
|
8817
8772
|
/******/
|
|
8818
8773
|
/******/
|
|
8819
8774
|
/******/ // Load entry module and return exports
|
|
8820
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8775
|
+
/******/ return __webpack_require__(__webpack_require__.s = 109);
|
|
8821
8776
|
/******/ })
|
|
8822
8777
|
/************************************************************************/
|
|
8823
8778
|
/******/ ({
|
|
@@ -8924,7 +8879,7 @@ function normalizeComponent (
|
|
|
8924
8879
|
|
|
8925
8880
|
/***/ }),
|
|
8926
8881
|
|
|
8927
|
-
/***/
|
|
8882
|
+
/***/ 109:
|
|
8928
8883
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8929
8884
|
|
|
8930
8885
|
"use strict";
|
|
@@ -9066,13 +9021,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9066
9021
|
|
|
9067
9022
|
/***/ }),
|
|
9068
9023
|
|
|
9069
|
-
/***/ "a9ee":
|
|
9070
|
-
/***/ (function(module, exports) {
|
|
9071
|
-
|
|
9072
|
-
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
9073
|
-
|
|
9074
|
-
/***/ }),
|
|
9075
|
-
|
|
9076
9024
|
/***/ "aaa5":
|
|
9077
9025
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9078
9026
|
|
|
@@ -9092,6 +9040,17 @@ module.exports = require("core-js/modules/es.json.stringify.js");
|
|
|
9092
9040
|
|
|
9093
9041
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
9094
9042
|
|
|
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
|
+
|
|
9095
9054
|
/***/ }),
|
|
9096
9055
|
|
|
9097
9056
|
/***/ "b2d6":
|
|
@@ -9218,9 +9177,6 @@ exports.default = {
|
|
|
9218
9177
|
popconfirm: {
|
|
9219
9178
|
confirmButtonText: 'Yes',
|
|
9220
9179
|
cancelButtonText: 'No'
|
|
9221
|
-
},
|
|
9222
|
-
empty: {
|
|
9223
|
-
description: 'No Data'
|
|
9224
9180
|
}
|
|
9225
9181
|
}
|
|
9226
9182
|
};
|
|
@@ -9234,14 +9190,10 @@ exports.default = {
|
|
|
9234
9190
|
|
|
9235
9191
|
/***/ }),
|
|
9236
9192
|
|
|
9237
|
-
/***/ "
|
|
9238
|
-
/***/ (function(module,
|
|
9239
|
-
|
|
9240
|
-
"use strict";
|
|
9241
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("21d1");
|
|
9242
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9243
|
-
/* unused harmony reexport * */
|
|
9193
|
+
/***/ "b94f":
|
|
9194
|
+
/***/ (function(module, exports) {
|
|
9244
9195
|
|
|
9196
|
+
module.exports = require("core-js/modules/web.url.js");
|
|
9245
9197
|
|
|
9246
9198
|
/***/ }),
|
|
9247
9199
|
|
|
@@ -9250,6 +9202,17 @@ exports.default = {
|
|
|
9250
9202
|
|
|
9251
9203
|
// extracted by mini-css-extract-plugin
|
|
9252
9204
|
|
|
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
|
+
|
|
9253
9216
|
/***/ }),
|
|
9254
9217
|
|
|
9255
9218
|
/***/ "c2cc":
|
|
@@ -9339,12 +9302,12 @@ module.exports =
|
|
|
9339
9302
|
/******/
|
|
9340
9303
|
/******/
|
|
9341
9304
|
/******/ // Load entry module and return exports
|
|
9342
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9305
|
+
/******/ return __webpack_require__(__webpack_require__.s = 134);
|
|
9343
9306
|
/******/ })
|
|
9344
9307
|
/************************************************************************/
|
|
9345
9308
|
/******/ ({
|
|
9346
9309
|
|
|
9347
|
-
/***/
|
|
9310
|
+
/***/ 134:
|
|
9348
9311
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9349
9312
|
|
|
9350
9313
|
"use strict";
|
|
@@ -9434,6 +9397,13 @@ col.install = function (Vue) {
|
|
|
9434
9397
|
|
|
9435
9398
|
/***/ }),
|
|
9436
9399
|
|
|
9400
|
+
/***/ "c4c7":
|
|
9401
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9402
|
+
|
|
9403
|
+
// extracted by mini-css-extract-plugin
|
|
9404
|
+
|
|
9405
|
+
/***/ }),
|
|
9406
|
+
|
|
9437
9407
|
/***/ "c56a":
|
|
9438
9408
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9439
9409
|
|
|
@@ -9563,7 +9533,7 @@ module.exports =
|
|
|
9563
9533
|
/******/
|
|
9564
9534
|
/******/
|
|
9565
9535
|
/******/ // Load entry module and return exports
|
|
9566
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9536
|
+
/******/ return __webpack_require__(__webpack_require__.s = 113);
|
|
9567
9537
|
/******/ })
|
|
9568
9538
|
/************************************************************************/
|
|
9569
9539
|
/******/ ({
|
|
@@ -9670,7 +9640,7 @@ function normalizeComponent (
|
|
|
9670
9640
|
|
|
9671
9641
|
/***/ }),
|
|
9672
9642
|
|
|
9673
|
-
/***/
|
|
9643
|
+
/***/ 113:
|
|
9674
9644
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9675
9645
|
|
|
9676
9646
|
"use strict";
|
|
@@ -9849,13 +9819,6 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
9849
9819
|
|
|
9850
9820
|
/***/ }),
|
|
9851
9821
|
|
|
9852
|
-
/***/ "dc50":
|
|
9853
|
-
/***/ (function(module, exports) {
|
|
9854
|
-
|
|
9855
|
-
module.exports = require("core-js/modules/es.error.cause.js");
|
|
9856
|
-
|
|
9857
|
-
/***/ }),
|
|
9858
|
-
|
|
9859
9822
|
/***/ "dcdc":
|
|
9860
9823
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9861
9824
|
|
|
@@ -9943,7 +9906,7 @@ module.exports =
|
|
|
9943
9906
|
/******/
|
|
9944
9907
|
/******/
|
|
9945
9908
|
/******/ // Load entry module and return exports
|
|
9946
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9909
|
+
/******/ return __webpack_require__(__webpack_require__.s = 83);
|
|
9947
9910
|
/******/ })
|
|
9948
9911
|
/************************************************************************/
|
|
9949
9912
|
/******/ ({
|
|
@@ -10057,7 +10020,7 @@ module.exports = __webpack_require__("d010");
|
|
|
10057
10020
|
|
|
10058
10021
|
/***/ }),
|
|
10059
10022
|
|
|
10060
|
-
/***/
|
|
10023
|
+
/***/ 83:
|
|
10061
10024
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10062
10025
|
|
|
10063
10026
|
"use strict";
|
|
@@ -10628,7 +10591,7 @@ module.exports =
|
|
|
10628
10591
|
/******/
|
|
10629
10592
|
/******/
|
|
10630
10593
|
/******/ // Load entry module and return exports
|
|
10631
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10594
|
+
/******/ return __webpack_require__(__webpack_require__.s = 53);
|
|
10632
10595
|
/******/ })
|
|
10633
10596
|
/************************************************************************/
|
|
10634
10597
|
/******/ ({
|
|
@@ -10742,7 +10705,7 @@ module.exports = __webpack_require__("8122");
|
|
|
10742
10705
|
|
|
10743
10706
|
/***/ }),
|
|
10744
10707
|
|
|
10745
|
-
/***/
|
|
10708
|
+
/***/ 33:
|
|
10746
10709
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10747
10710
|
|
|
10748
10711
|
"use strict";
|
|
@@ -11000,12 +10963,12 @@ module.exports = __webpack_require__("d010");
|
|
|
11000
10963
|
|
|
11001
10964
|
/***/ }),
|
|
11002
10965
|
|
|
11003
|
-
/***/
|
|
10966
|
+
/***/ 53:
|
|
11004
10967
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11005
10968
|
|
|
11006
10969
|
"use strict";
|
|
11007
10970
|
__webpack_require__.r(__webpack_exports__);
|
|
11008
|
-
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
10971
|
+
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
|
|
11009
10972
|
|
|
11010
10973
|
|
|
11011
10974
|
/* istanbul ignore next */
|
|
@@ -11338,7 +11301,7 @@ module.exports =
|
|
|
11338
11301
|
/******/
|
|
11339
11302
|
/******/
|
|
11340
11303
|
/******/ // Load entry module and return exports
|
|
11341
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11304
|
+
/******/ return __webpack_require__(__webpack_require__.s = 97);
|
|
11342
11305
|
/******/ })
|
|
11343
11306
|
/************************************************************************/
|
|
11344
11307
|
/******/ ({
|
|
@@ -11445,7 +11408,7 @@ function normalizeComponent (
|
|
|
11445
11408
|
|
|
11446
11409
|
/***/ }),
|
|
11447
11410
|
|
|
11448
|
-
/***/
|
|
11411
|
+
/***/ 97:
|
|
11449
11412
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11450
11413
|
|
|
11451
11414
|
"use strict";
|
|
@@ -11559,7 +11522,7 @@ render._withStripped = true
|
|
|
11559
11522
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
11560
11523
|
},
|
|
11561
11524
|
buttonDisabled: function buttonDisabled() {
|
|
11562
|
-
return this
|
|
11525
|
+
return this.disabled || (this.elForm || {}).disabled;
|
|
11563
11526
|
}
|
|
11564
11527
|
},
|
|
11565
11528
|
|
|
@@ -11737,9 +11700,6 @@ exports.default = {
|
|
|
11737
11700
|
popconfirm: {
|
|
11738
11701
|
confirmButtonText: '确定',
|
|
11739
11702
|
cancelButtonText: '取消'
|
|
11740
|
-
},
|
|
11741
|
-
empty: {
|
|
11742
|
-
description: '暂无数据'
|
|
11743
11703
|
}
|
|
11744
11704
|
}
|
|
11745
11705
|
};
|
|
@@ -11833,7 +11793,7 @@ module.exports =
|
|
|
11833
11793
|
/******/
|
|
11834
11794
|
/******/
|
|
11835
11795
|
/******/ // Load entry module and return exports
|
|
11836
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11796
|
+
/******/ return __webpack_require__(__webpack_require__.s = 76);
|
|
11837
11797
|
/******/ })
|
|
11838
11798
|
/************************************************************************/
|
|
11839
11799
|
/******/ ({
|
|
@@ -11961,7 +11921,7 @@ module.exports = __webpack_require__("d010");
|
|
|
11961
11921
|
|
|
11962
11922
|
/***/ }),
|
|
11963
11923
|
|
|
11964
|
-
/***/
|
|
11924
|
+
/***/ 76:
|
|
11965
11925
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11966
11926
|
|
|
11967
11927
|
"use strict";
|
|
@@ -12603,18 +12563,15 @@ var shared_ = __webpack_require__(21);
|
|
|
12603
12563
|
this.focused = true;
|
|
12604
12564
|
this.$emit('focus', event);
|
|
12605
12565
|
},
|
|
12606
|
-
handleCompositionStart: function handleCompositionStart(
|
|
12607
|
-
this.$emit('compositionstart', event);
|
|
12566
|
+
handleCompositionStart: function handleCompositionStart() {
|
|
12608
12567
|
this.isComposing = true;
|
|
12609
12568
|
},
|
|
12610
12569
|
handleCompositionUpdate: function handleCompositionUpdate(event) {
|
|
12611
|
-
this.$emit('compositionupdate', event);
|
|
12612
12570
|
var text = event.target.value;
|
|
12613
12571
|
var lastCharacter = text[text.length - 1] || '';
|
|
12614
12572
|
this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
|
|
12615
12573
|
},
|
|
12616
12574
|
handleCompositionEnd: function handleCompositionEnd(event) {
|
|
12617
|
-
this.$emit('compositionend', event);
|
|
12618
12575
|
if (this.isComposing) {
|
|
12619
12576
|
this.isComposing = false;
|
|
12620
12577
|
this.handleInput(event);
|
|
@@ -12836,7 +12793,7 @@ module.exports =
|
|
|
12836
12793
|
/******/
|
|
12837
12794
|
/******/
|
|
12838
12795
|
/******/ // Load entry module and return exports
|
|
12839
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12796
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
12840
12797
|
/******/ })
|
|
12841
12798
|
/************************************************************************/
|
|
12842
12799
|
/******/ ({
|
|
@@ -12943,14 +12900,7 @@ function normalizeComponent (
|
|
|
12943
12900
|
|
|
12944
12901
|
/***/ }),
|
|
12945
12902
|
|
|
12946
|
-
/***/
|
|
12947
|
-
/***/ (function(module, exports) {
|
|
12948
|
-
|
|
12949
|
-
module.exports = __webpack_require__("d010");
|
|
12950
|
-
|
|
12951
|
-
/***/ }),
|
|
12952
|
-
|
|
12953
|
-
/***/ 88:
|
|
12903
|
+
/***/ 116:
|
|
12954
12904
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12955
12905
|
|
|
12956
12906
|
"use strict";
|
|
@@ -13020,8 +12970,7 @@ var render = function() {
|
|
|
13020
12970
|
"aria-hidden": "true",
|
|
13021
12971
|
name: _vm.name,
|
|
13022
12972
|
disabled: _vm.isDisabled,
|
|
13023
|
-
tabindex: "-1"
|
|
13024
|
-
autocomplete: "off"
|
|
12973
|
+
tabindex: "-1"
|
|
13025
12974
|
},
|
|
13026
12975
|
domProps: {
|
|
13027
12976
|
value: _vm.label,
|
|
@@ -13118,7 +13067,6 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
13118
13067
|
//
|
|
13119
13068
|
//
|
|
13120
13069
|
//
|
|
13121
|
-
//
|
|
13122
13070
|
|
|
13123
13071
|
|
|
13124
13072
|
|
|
@@ -13245,6 +13193,13 @@ src_radio.install = function (Vue) {
|
|
|
13245
13193
|
|
|
13246
13194
|
/* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
|
|
13247
13195
|
|
|
13196
|
+
/***/ }),
|
|
13197
|
+
|
|
13198
|
+
/***/ 4:
|
|
13199
|
+
/***/ (function(module, exports) {
|
|
13200
|
+
|
|
13201
|
+
module.exports = __webpack_require__("d010");
|
|
13202
|
+
|
|
13248
13203
|
/***/ })
|
|
13249
13204
|
|
|
13250
13205
|
/******/ });
|
|
@@ -13256,17 +13211,6 @@ src_radio.install = function (Vue) {
|
|
|
13256
13211
|
|
|
13257
13212
|
// extracted by mini-css-extract-plugin
|
|
13258
13213
|
|
|
13259
|
-
/***/ }),
|
|
13260
|
-
|
|
13261
|
-
/***/ "f83b":
|
|
13262
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13263
|
-
|
|
13264
|
-
"use strict";
|
|
13265
|
-
/* 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_b3d66562_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9392");
|
|
13266
|
-
/* 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_b3d66562_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_b3d66562_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
13267
|
-
/* unused harmony reexport * */
|
|
13268
|
-
|
|
13269
|
-
|
|
13270
13214
|
/***/ }),
|
|
13271
13215
|
|
|
13272
13216
|
/***/ "f989":
|
|
@@ -13311,478 +13255,12 @@ if (typeof window !== 'undefined') {
|
|
|
13311
13255
|
// Indicate to webpack that this file can be concatenated
|
|
13312
13256
|
/* harmony default export */ var setPublicPath = (null);
|
|
13313
13257
|
|
|
13314
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13315
|
-
var render = function
|
|
13316
|
-
|
|
13317
|
-
|
|
13318
|
-
return _c('div', {
|
|
13319
|
-
directives: [{
|
|
13320
|
-
name: "loading",
|
|
13321
|
-
rawName: "v-loading",
|
|
13322
|
-
value: _vm.loading,
|
|
13323
|
-
expression: "loading"
|
|
13324
|
-
}],
|
|
13325
|
-
staticClass: "flatmap-container",
|
|
13326
|
-
attrs: {
|
|
13327
|
-
"element-loading-text": "Loading...",
|
|
13328
|
-
"element-loading-spinner": "el-icon-loading",
|
|
13329
|
-
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
13330
|
-
}
|
|
13331
|
-
}, [_c('map-svg-sprite-color'), _c('div', {
|
|
13332
|
-
staticStyle: {
|
|
13333
|
-
"height": "100%",
|
|
13334
|
-
"width": "100%",
|
|
13335
|
-
"position": "relative",
|
|
13336
|
-
"overflow-y": "none"
|
|
13337
|
-
}
|
|
13338
|
-
}, [_c('div', {
|
|
13339
|
-
ref: "display",
|
|
13340
|
-
staticStyle: {
|
|
13341
|
-
"height": "100%",
|
|
13342
|
-
"width": "100%"
|
|
13343
|
-
}
|
|
13344
|
-
}), _c('div', {
|
|
13345
|
-
staticClass: "beta-popovers"
|
|
13346
|
-
}, [_c('div', [_c('el-popover', {
|
|
13347
|
-
ref: "warningPopover",
|
|
13348
|
-
attrs: {
|
|
13349
|
-
"content": _vm.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _vm.warningMessage,
|
|
13350
|
-
"placement": "right",
|
|
13351
|
-
"appendToBody": false,
|
|
13352
|
-
"trigger": "manual",
|
|
13353
|
-
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13354
|
-
},
|
|
13355
|
-
model: {
|
|
13356
|
-
value: _vm.hoverVisibilities[6].value,
|
|
13357
|
-
callback: function callback($$v) {
|
|
13358
|
-
_vm.$set(_vm.hoverVisibilities[6], "value", $$v);
|
|
13359
|
-
},
|
|
13360
|
-
expression: "hoverVisibilities[6].value"
|
|
13361
|
-
}
|
|
13362
|
-
}), _vm.displayWarning && _vm.warningMessage ? _c('i', {
|
|
13363
|
-
directives: [{
|
|
13364
|
-
name: "popover",
|
|
13365
|
-
rawName: "v-popover:warningPopover",
|
|
13366
|
-
arg: "warningPopover"
|
|
13367
|
-
}],
|
|
13368
|
-
staticClass: "el-icon-warning warning-icon",
|
|
13369
|
-
on: {
|
|
13370
|
-
"mouseover": function mouseover($event) {
|
|
13371
|
-
return _vm.showToolitip(6);
|
|
13372
|
-
},
|
|
13373
|
-
"mouseout": function mouseout($event) {
|
|
13374
|
-
return _vm.hideToolitip(6);
|
|
13375
|
-
}
|
|
13376
|
-
}
|
|
13377
|
-
}, [_vm.isLegacy ? [_c('span', {
|
|
13378
|
-
staticClass: "warning-text"
|
|
13379
|
-
}, [_vm._v("Legacy Map")]), _c('div', {
|
|
13380
|
-
staticClass: "latest-map-text",
|
|
13381
|
-
on: {
|
|
13382
|
-
"click": _vm.viewLatestMap
|
|
13383
|
-
}
|
|
13384
|
-
}, [_vm._v("Click here for the latest map")])] : [_c('span', {
|
|
13385
|
-
staticClass: "warning-text"
|
|
13386
|
-
}, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
13387
|
-
ref: "latestChangesPopover",
|
|
13388
|
-
attrs: {
|
|
13389
|
-
"content": _vm.latestChangesMessage,
|
|
13390
|
-
"placement": "right",
|
|
13391
|
-
"appendToBody": false,
|
|
13392
|
-
"trigger": "manual",
|
|
13393
|
-
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13394
|
-
},
|
|
13395
|
-
model: {
|
|
13396
|
-
value: _vm.hoverVisibilities[7].value,
|
|
13397
|
-
callback: function callback($$v) {
|
|
13398
|
-
_vm.$set(_vm.hoverVisibilities[7], "value", $$v);
|
|
13399
|
-
},
|
|
13400
|
-
expression: "hoverVisibilities[7].value"
|
|
13401
|
-
}
|
|
13402
|
-
}) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
|
|
13403
|
-
directives: [{
|
|
13404
|
-
name: "popover",
|
|
13405
|
-
rawName: "v-popover:latestChangesPopover",
|
|
13406
|
-
arg: "latestChangesPopover"
|
|
13407
|
-
}],
|
|
13408
|
-
staticClass: "el-icon-warning latest-changesicon",
|
|
13409
|
-
on: {
|
|
13410
|
-
"mouseover": function mouseover($event) {
|
|
13411
|
-
return _vm.showToolitip(7);
|
|
13412
|
-
},
|
|
13413
|
-
"mouseout": function mouseout($event) {
|
|
13414
|
-
return _vm.hideToolitip(7);
|
|
13415
|
-
}
|
|
13416
|
-
}
|
|
13417
|
-
}, [_c('span', {
|
|
13418
|
-
staticClass: "warning-text"
|
|
13419
|
-
}, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('div', {
|
|
13420
|
-
staticClass: "bottom-right-control"
|
|
13421
|
-
}, [_c('el-popover', {
|
|
13422
|
-
attrs: {
|
|
13423
|
-
"content": "Zoom in",
|
|
13424
|
-
"placement": "left",
|
|
13425
|
-
"appendToBody": false,
|
|
13426
|
-
"trigger": "manual",
|
|
13427
|
-
"popper-class": "flatmap-popper left-popper"
|
|
13428
|
-
},
|
|
13429
|
-
model: {
|
|
13430
|
-
value: _vm.hoverVisibilities[0].value,
|
|
13431
|
-
callback: function callback($$v) {
|
|
13432
|
-
_vm.$set(_vm.hoverVisibilities[0], "value", $$v);
|
|
13433
|
-
},
|
|
13434
|
-
expression: "hoverVisibilities[0].value"
|
|
13435
|
-
}
|
|
13436
|
-
}, [_c('map-svg-icon', {
|
|
13437
|
-
staticClass: "icon-button zoomIn",
|
|
13438
|
-
attrs: {
|
|
13439
|
-
"slot": "reference",
|
|
13440
|
-
"icon": "zoomIn"
|
|
13441
|
-
},
|
|
13442
|
-
nativeOn: {
|
|
13443
|
-
"click": function click($event) {
|
|
13444
|
-
return _vm.zoomIn();
|
|
13445
|
-
},
|
|
13446
|
-
"mouseover": function mouseover($event) {
|
|
13447
|
-
return _vm.showToolitip(0);
|
|
13448
|
-
},
|
|
13449
|
-
"mouseout": function mouseout($event) {
|
|
13450
|
-
return _vm.hideToolitip(0);
|
|
13451
|
-
}
|
|
13452
|
-
},
|
|
13453
|
-
slot: "reference"
|
|
13454
|
-
})], 1), _c('el-popover', {
|
|
13455
|
-
attrs: {
|
|
13456
|
-
"content": "Zoom out",
|
|
13457
|
-
"placement": "top-end",
|
|
13458
|
-
"appendToBody": false,
|
|
13459
|
-
"trigger": "manual",
|
|
13460
|
-
"popper-class": "flatmap-popper popper-zoomout"
|
|
13461
|
-
},
|
|
13462
|
-
model: {
|
|
13463
|
-
value: _vm.hoverVisibilities[1].value,
|
|
13464
|
-
callback: function callback($$v) {
|
|
13465
|
-
_vm.$set(_vm.hoverVisibilities[1], "value", $$v);
|
|
13466
|
-
},
|
|
13467
|
-
expression: "hoverVisibilities[1].value"
|
|
13468
|
-
}
|
|
13469
|
-
}, [_c('map-svg-icon', {
|
|
13470
|
-
staticClass: "icon-button zoomOut",
|
|
13471
|
-
attrs: {
|
|
13472
|
-
"slot": "reference",
|
|
13473
|
-
"icon": "zoomOut"
|
|
13474
|
-
},
|
|
13475
|
-
nativeOn: {
|
|
13476
|
-
"click": function click($event) {
|
|
13477
|
-
return _vm.zoomOut();
|
|
13478
|
-
},
|
|
13479
|
-
"mouseover": function mouseover($event) {
|
|
13480
|
-
return _vm.showToolitip(1);
|
|
13481
|
-
},
|
|
13482
|
-
"mouseout": function mouseout($event) {
|
|
13483
|
-
return _vm.hideToolitip(1);
|
|
13484
|
-
}
|
|
13485
|
-
},
|
|
13486
|
-
slot: "reference"
|
|
13487
|
-
})], 1), _c('el-popover', {
|
|
13488
|
-
attrs: {
|
|
13489
|
-
"content": "Reset",
|
|
13490
|
-
"placement": "top",
|
|
13491
|
-
"appendToBody": false,
|
|
13492
|
-
"trigger": "manual",
|
|
13493
|
-
"popper-class": "flatmap-popper"
|
|
13494
|
-
},
|
|
13495
|
-
model: {
|
|
13496
|
-
value: _vm.hoverVisibilities[2].value,
|
|
13497
|
-
callback: function callback($$v) {
|
|
13498
|
-
_vm.$set(_vm.hoverVisibilities[2], "value", $$v);
|
|
13499
|
-
},
|
|
13500
|
-
expression: "hoverVisibilities[2].value"
|
|
13501
|
-
}
|
|
13502
|
-
}, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
|
|
13503
|
-
staticClass: "icon-button fitWindow",
|
|
13504
|
-
attrs: {
|
|
13505
|
-
"slot": "reference",
|
|
13506
|
-
"icon": "fitWindow"
|
|
13507
|
-
},
|
|
13508
|
-
nativeOn: {
|
|
13509
|
-
"click": function click($event) {
|
|
13510
|
-
return _vm.resetView();
|
|
13511
|
-
},
|
|
13512
|
-
"mouseover": function mouseover($event) {
|
|
13513
|
-
return _vm.showToolitip(2);
|
|
13514
|
-
},
|
|
13515
|
-
"mouseout": function mouseout($event) {
|
|
13516
|
-
return _vm.hideToolitip(2);
|
|
13517
|
-
}
|
|
13518
|
-
},
|
|
13519
|
-
slot: "reference"
|
|
13520
|
-
})], 1)], 1), _c('el-popover', {
|
|
13521
|
-
ref: "checkBoxPopover",
|
|
13522
|
-
attrs: {
|
|
13523
|
-
"content": "Change pathway visibility",
|
|
13524
|
-
"placement": "right",
|
|
13525
|
-
"appendToBody": false,
|
|
13526
|
-
"trigger": "manual",
|
|
13527
|
-
"popper-class": "flatmap-popper right-popper"
|
|
13528
|
-
},
|
|
13529
|
-
model: {
|
|
13530
|
-
value: _vm.hoverVisibilities[4].value,
|
|
13531
|
-
callback: function callback($$v) {
|
|
13532
|
-
_vm.$set(_vm.hoverVisibilities[4], "value", $$v);
|
|
13533
|
-
},
|
|
13534
|
-
expression: "hoverVisibilities[4].value"
|
|
13535
|
-
}
|
|
13536
|
-
}), _c('div', {
|
|
13537
|
-
staticClass: "pathway-location",
|
|
13538
|
-
class: {
|
|
13539
|
-
open: _vm.drawerOpen,
|
|
13540
|
-
close: !_vm.drawerOpen
|
|
13541
|
-
}
|
|
13542
|
-
}, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
|
|
13543
|
-
directives: [{
|
|
13544
|
-
name: "popover",
|
|
13545
|
-
rawName: "v-popover:checkBoxPopover",
|
|
13546
|
-
arg: "checkBoxPopover"
|
|
13547
|
-
}],
|
|
13548
|
-
staticClass: "pathway-container"
|
|
13549
|
-
}, [_c('svg-legends', {
|
|
13550
|
-
staticClass: "svg-legends-container"
|
|
13551
|
-
}), _c('el-popover', {
|
|
13552
|
-
ref: "markerPopover",
|
|
13553
|
-
attrs: {
|
|
13554
|
-
"content": "Find these markers for data",
|
|
13555
|
-
"placement": "right",
|
|
13556
|
-
"appendToBody": false,
|
|
13557
|
-
"trigger": "manual",
|
|
13558
|
-
"popper-class": "flatmap-popper popper-bump-right right-popper"
|
|
13559
|
-
},
|
|
13560
|
-
model: {
|
|
13561
|
-
value: _vm.hoverVisibilities[5].value,
|
|
13562
|
-
callback: function callback($$v) {
|
|
13563
|
-
_vm.$set(_vm.hoverVisibilities[5], "value", $$v);
|
|
13564
|
-
},
|
|
13565
|
-
expression: "hoverVisibilities[5].value"
|
|
13566
|
-
}
|
|
13567
|
-
}), _c('div', {
|
|
13568
|
-
directives: [{
|
|
13569
|
-
name: "show",
|
|
13570
|
-
rawName: "v-show",
|
|
13571
|
-
value: _vm.hoverVisibilities[5].value,
|
|
13572
|
-
expression: "hoverVisibilities[5].value"
|
|
13573
|
-
}, {
|
|
13574
|
-
name: "popover",
|
|
13575
|
-
rawName: "v-popover:markerPopover",
|
|
13576
|
-
arg: "markerPopover"
|
|
13577
|
-
}],
|
|
13578
|
-
staticClass: "flatmap-marker-help",
|
|
13579
|
-
domProps: {
|
|
13580
|
-
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13581
|
-
}
|
|
13582
|
-
}), _c('el-row', [_c('el-col', {
|
|
13583
|
-
attrs: {
|
|
13584
|
-
"span": 12
|
|
13585
|
-
}
|
|
13586
|
-
}, [_c('div', {
|
|
13587
|
-
staticClass: "pathways-display-text"
|
|
13588
|
-
}, [_vm._v("Pathways")])]), _c('el-col', {
|
|
13589
|
-
attrs: {
|
|
13590
|
-
"span": 12
|
|
13591
|
-
}
|
|
13592
|
-
}, [_c('el-checkbox', {
|
|
13593
|
-
staticClass: "all-checkbox",
|
|
13594
|
-
attrs: {
|
|
13595
|
-
"indeterminate": _vm.isIndeterminate
|
|
13596
|
-
},
|
|
13597
|
-
on: {
|
|
13598
|
-
"change": _vm.handleCheckAllChange
|
|
13599
|
-
},
|
|
13600
|
-
model: {
|
|
13601
|
-
value: _vm.checkAll,
|
|
13602
|
-
callback: function callback($$v) {
|
|
13603
|
-
_vm.checkAll = $$v;
|
|
13604
|
-
},
|
|
13605
|
-
expression: "checkAll"
|
|
13606
|
-
}
|
|
13607
|
-
}, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
|
|
13608
|
-
staticClass: "checkbox-group",
|
|
13609
|
-
attrs: {
|
|
13610
|
-
"size": "small"
|
|
13611
|
-
},
|
|
13612
|
-
on: {
|
|
13613
|
-
"change": _vm.handleCheckedItemsChange
|
|
13614
|
-
},
|
|
13615
|
-
model: {
|
|
13616
|
-
value: _vm.checkedItems,
|
|
13617
|
-
callback: function callback($$v) {
|
|
13618
|
-
_vm.checkedItems = $$v;
|
|
13619
|
-
},
|
|
13620
|
-
expression: "checkedItems"
|
|
13621
|
-
}
|
|
13622
|
-
}, [_c('div', {
|
|
13623
|
-
staticClass: "checkbox-group-inner"
|
|
13624
|
-
}, _vm._l(_vm.pathways, function (item) {
|
|
13625
|
-
return _c('el-row', {
|
|
13626
|
-
key: item.type,
|
|
13627
|
-
attrs: {
|
|
13628
|
-
"label": item.type
|
|
13629
|
-
}
|
|
13630
|
-
}, [_c('div', {
|
|
13631
|
-
staticClass: "checkbox-container"
|
|
13632
|
-
}, [_c('el-checkbox', {
|
|
13633
|
-
staticClass: "my-checkbox",
|
|
13634
|
-
attrs: {
|
|
13635
|
-
"label": item.type,
|
|
13636
|
-
"checked": true
|
|
13637
|
-
},
|
|
13638
|
-
on: {
|
|
13639
|
-
"change": function change($event) {
|
|
13640
|
-
return _vm.visibilityToggle();
|
|
13641
|
-
}
|
|
13642
|
-
}
|
|
13643
|
-
}, [_c('div', {
|
|
13644
|
-
staticClass: "path-visual",
|
|
13645
|
-
class: item.type
|
|
13646
|
-
}), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
|
|
13647
|
-
}), 1)])], 1) : _vm._e(), _c('div', {
|
|
13648
|
-
staticClass: "drawer-button",
|
|
13649
|
-
class: {
|
|
13650
|
-
open: _vm.drawerOpen,
|
|
13651
|
-
close: !_vm.drawerOpen
|
|
13652
|
-
},
|
|
13653
|
-
on: {
|
|
13654
|
-
"click": _vm.toggleDrawer
|
|
13655
|
-
}
|
|
13656
|
-
}, [_c('i', {
|
|
13657
|
-
staticClass: "el-icon-arrow-left"
|
|
13658
|
-
})])]), _c('el-popover', {
|
|
13659
|
-
ref: "backgroundPopover",
|
|
13660
|
-
attrs: {
|
|
13661
|
-
"placement": "top-start",
|
|
13662
|
-
"width": "175",
|
|
13663
|
-
"appendToBody": false,
|
|
13664
|
-
"trigger": "click",
|
|
13665
|
-
"popper-class": "background-popper"
|
|
13666
|
-
}
|
|
13667
|
-
}, [_c('el-row', {
|
|
13668
|
-
staticClass: "backgroundText"
|
|
13669
|
-
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
13670
|
-
staticClass: "backgroundControl"
|
|
13671
|
-
}, [_c('el-radio-group', {
|
|
13672
|
-
staticClass: "flatmap-radio",
|
|
13673
|
-
on: {
|
|
13674
|
-
"change": _vm.setColour
|
|
13675
|
-
},
|
|
13676
|
-
model: {
|
|
13677
|
-
value: _vm.colourRadio,
|
|
13678
|
-
callback: function callback($$v) {
|
|
13679
|
-
_vm.colourRadio = $$v;
|
|
13680
|
-
},
|
|
13681
|
-
expression: "colourRadio"
|
|
13682
|
-
}
|
|
13683
|
-
}, [_c('el-radio', {
|
|
13684
|
-
attrs: {
|
|
13685
|
-
"label": true
|
|
13686
|
-
}
|
|
13687
|
-
}, [_vm._v("Colour")]), _c('el-radio', {
|
|
13688
|
-
attrs: {
|
|
13689
|
-
"label": false
|
|
13690
|
-
}
|
|
13691
|
-
}, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
|
|
13692
|
-
staticClass: "backgroundSpacer"
|
|
13693
|
-
}), _c('el-row', {
|
|
13694
|
-
staticClass: "backgroundText"
|
|
13695
|
-
}, [_vm._v("Outlines display")]), _c('el-row', {
|
|
13696
|
-
staticClass: "backgroundControl"
|
|
13697
|
-
}, [_c('el-radio-group', {
|
|
13698
|
-
staticClass: "flatmap-radio",
|
|
13699
|
-
on: {
|
|
13700
|
-
"change": _vm.setOutlines
|
|
13701
|
-
},
|
|
13702
|
-
model: {
|
|
13703
|
-
value: _vm.outlinesRadio,
|
|
13704
|
-
callback: function callback($$v) {
|
|
13705
|
-
_vm.outlinesRadio = $$v;
|
|
13706
|
-
},
|
|
13707
|
-
expression: "outlinesRadio"
|
|
13708
|
-
}
|
|
13709
|
-
}, [_c('el-radio', {
|
|
13710
|
-
attrs: {
|
|
13711
|
-
"label": true
|
|
13712
|
-
}
|
|
13713
|
-
}, [_vm._v("Show")]), _c('el-radio', {
|
|
13714
|
-
attrs: {
|
|
13715
|
-
"label": false
|
|
13716
|
-
}
|
|
13717
|
-
}, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
|
|
13718
|
-
staticClass: "backgroundSpacer"
|
|
13719
|
-
}), _c('el-row', {
|
|
13720
|
-
staticClass: "backgroundText"
|
|
13721
|
-
}, [_vm._v("Change background")]), _c('el-row', {
|
|
13722
|
-
staticClass: "backgroundControl"
|
|
13723
|
-
}, _vm._l(_vm.availableBackground, function (item) {
|
|
13724
|
-
return _c('div', {
|
|
13725
|
-
key: item,
|
|
13726
|
-
class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
|
|
13727
|
-
on: {
|
|
13728
|
-
"click": function click($event) {
|
|
13729
|
-
return _vm.backgroundChangeCallback(item);
|
|
13730
|
-
}
|
|
13731
|
-
}
|
|
13732
|
-
});
|
|
13733
|
-
}), 0)], 1), _c('el-popover', {
|
|
13734
|
-
attrs: {
|
|
13735
|
-
"content": "Change background color",
|
|
13736
|
-
"placement": "right",
|
|
13737
|
-
"appendToBody": false,
|
|
13738
|
-
"trigger": "manual",
|
|
13739
|
-
"popper-class": "flatmap-popper right-popper"
|
|
13740
|
-
},
|
|
13741
|
-
model: {
|
|
13742
|
-
value: _vm.hoverVisibilities[3].value,
|
|
13743
|
-
callback: function callback($$v) {
|
|
13744
|
-
_vm.$set(_vm.hoverVisibilities[3], "value", $$v);
|
|
13745
|
-
},
|
|
13746
|
-
expression: "hoverVisibilities[3].value"
|
|
13747
|
-
}
|
|
13748
|
-
}, [_c('map-svg-icon', {
|
|
13749
|
-
directives: [{
|
|
13750
|
-
name: "popover",
|
|
13751
|
-
rawName: "v-popover:backgroundPopover",
|
|
13752
|
-
arg: "backgroundPopover"
|
|
13753
|
-
}],
|
|
13754
|
-
staticClass: "icon-button background-colour",
|
|
13755
|
-
class: {
|
|
13756
|
-
open: _vm.drawerOpen,
|
|
13757
|
-
close: !_vm.drawerOpen
|
|
13758
|
-
},
|
|
13759
|
-
attrs: {
|
|
13760
|
-
"slot": "reference",
|
|
13761
|
-
"icon": "changeBckgd"
|
|
13762
|
-
},
|
|
13763
|
-
nativeOn: {
|
|
13764
|
-
"mouseover": function mouseover($event) {
|
|
13765
|
-
return _vm.showToolitip(3);
|
|
13766
|
-
},
|
|
13767
|
-
"mouseout": function mouseout($event) {
|
|
13768
|
-
return _vm.hideToolitip(3);
|
|
13769
|
-
}
|
|
13770
|
-
},
|
|
13771
|
-
slot: "reference"
|
|
13772
|
-
})], 1), _c('Tooltip', {
|
|
13773
|
-
ref: "tooltip",
|
|
13774
|
-
staticClass: "tooltip",
|
|
13775
|
-
attrs: {
|
|
13776
|
-
"content": _vm.tooltipContent
|
|
13777
|
-
},
|
|
13778
|
-
on: {
|
|
13779
|
-
"resource-selected": _vm.resourceSelected
|
|
13780
|
-
}
|
|
13781
|
-
})], 1)], 1);
|
|
13782
|
-
};
|
|
13783
|
-
var staticRenderFns = [];
|
|
13258
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=20b4e460&scoped=true&
|
|
13259
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],ref:"flatmapContainer",staticClass:"flatmap-container",attrs:{"element-loading-text":"Loading...","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.3)"}},[_c('map-svg-sprite-color'),_c('div',{staticStyle:{"height":"100%","width":"100%","position":"relative","overflow-y":"none"}},[_c('div',{ref:"display",staticStyle:{"height":"100%","width":"100%"}}),_c('div',{staticClass:"beta-popovers"},[_c('div',[_c('el-popover',{ref:"warningPopover",attrs:{"content":_vm.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _vm.warningMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[6].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[6], "value", $$v)},expression:"hoverVisibilities[6].value"}}),(_vm.displayWarning && _vm.warningMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:warningPopover",arg:"warningPopover"}],staticClass:"el-icon-warning warning-icon",on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[(_vm.isLegacy)?[_c('span',{staticClass:"warning-text"},[_vm._v("Legacy Map")]),_c('div',{staticClass:"latest-map-text",on:{"click":_vm.viewLatestMap}},[_vm._v("Click here for the latest map")])]:[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]],2):_vm._e()],1),(_vm.displayLatestChanges)?_c('el-popover',{ref:"latestChangesPopover",attrs:{"content":_vm.latestChangesMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[7].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[7], "value", $$v)},expression:"hoverVisibilities[7].value"}}):_vm._e(),(_vm.displayLatestChanges && _vm.latestChangesMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:latestChangesPopover",arg:"latestChangesPopover"}],staticClass:"el-icon-warning latest-changesicon",on:{"mouseover":function($event){return _vm.showToolitip(7)},"mouseout":function($event){return _vm.hideToolitip(7)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("What's new?")])]):_vm._e()],1),_c('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.minimapResizeShow),expression:"minimapResizeShow"}],ref:"minimapResize",staticClass:"el-icon-arrow-down minimap-resize",class:{ enlarge: _vm.minimapSmall, shrink: !_vm.minimapSmall},on:{"click":_vm.closeMinimap}}),_c('div',{staticClass:"bottom-right-control"},[_c('el-popover',{attrs:{"content":"Zoom in","placement":"left","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper left-popper"},model:{value:(_vm.hoverVisibilities[0].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[0], "value", $$v)},expression:"hoverVisibilities[0].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomIn",attrs:{"slot":"reference","icon":"zoomIn"},nativeOn:{"click":function($event){return _vm.zoomIn()},"mouseover":function($event){return _vm.showToolitip(0)},"mouseout":function($event){return _vm.hideToolitip(0)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Zoom out","placement":"top-end","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-zoomout"},model:{value:(_vm.hoverVisibilities[1].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[1], "value", $$v)},expression:"hoverVisibilities[1].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomOut",attrs:{"slot":"reference","icon":"zoomOut"},nativeOn:{"click":function($event){return _vm.zoomOut()},"mouseover":function($event){return _vm.showToolitip(1)},"mouseout":function($event){return _vm.hideToolitip(1)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Reset","placement":"top","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper"},model:{value:(_vm.hoverVisibilities[2].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[2], "value", $$v)},expression:"hoverVisibilities[2].value"}},[_c('div',[_vm._v(" Fit to "),_c('br'),_vm._v(" window ")]),_c('map-svg-icon',{staticClass:"icon-button fitWindow",attrs:{"slot":"reference","icon":"fitWindow"},nativeOn:{"click":function($event){return _vm.resetView()},"mouseover":function($event){return _vm.showToolitip(2)},"mouseout":function($event){return _vm.hideToolitip(2)}},slot:"reference"})],1)],1),_c('el-popover',{ref:"checkBoxPopover",attrs:{"content":"Change pathway visibility","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[4].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[4], "value", $$v)},expression:"hoverVisibilities[4].value"}}),_c('div',{staticClass:"pathway-location",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen }},[(_vm.pathways.length > 0 && _vm.pathControls)?_c('div',{directives:[{name:"popover",rawName:"v-popover:checkBoxPopover",arg:"checkBoxPopover"}],staticClass:"pathway-container"},[_c('svg-legends',{staticClass:"svg-legends-container"}),_c('el-popover',{ref:"markerPopover",attrs:{"content":"Find these markers for data","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-bump-right right-popper"},model:{value:(_vm.hoverVisibilities[5].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[5], "value", $$v)},expression:"hoverVisibilities[5].value"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.hoverVisibilities[5].value),expression:"hoverVisibilities[5].value"},{name:"popover",rawName:"v-popover:markerPopover",arg:"markerPopover"}],staticClass:"flatmap-marker-help",domProps:{"innerHTML":_vm._s(_vm.flatmapMarker)}}),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('div',{staticClass:"pathways-display-text"},[_vm._v("Pathways")])]),_c('el-col',{attrs:{"span":12}},[_c('el-checkbox',{staticClass:"all-checkbox",attrs:{"indeterminate":_vm.isIndeterminate},on:{"change":_vm.handleCheckAllChange},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:"checkAll"}},[_vm._v("Display all")])],1)],1),_c('el-checkbox-group',{staticClass:"checkbox-group",attrs:{"size":"small"},on:{"change":_vm.handleCheckedItemsChange},model:{value:(_vm.checkedItems),callback:function ($$v) {_vm.checkedItems=$$v},expression:"checkedItems"}},[_c('div',{staticClass:"checkbox-group-inner"},_vm._l((_vm.pathways),function(item){return _c('el-row',{key:item.type,attrs:{"label":item.type}},[_c('div',{staticClass:"checkbox-container"},[_c('el-checkbox',{staticClass:"my-checkbox",attrs:{"label":item.type,"checked":true},on:{"change":function($event){return _vm.visibilityToggle()}}},[_c('div',{staticClass:"path-visual",class:item.type}),_vm._v(" "+_vm._s(item.label)+" ")])],1)])}),1)])],1):_vm._e(),_c('div',{staticClass:"drawer-button",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },on:{"click":_vm.toggleDrawer}},[_c('i',{staticClass:"el-icon-arrow-left"})])]),_c('el-popover',{ref:"backgroundPopover",attrs:{"placement":"top-start","width":"175","appendToBody":false,"trigger":"click","popper-class":"background-popper"}},[_c('el-row',{staticClass:"backgroundText"},[_vm._v("Organs display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setColour},model:{value:(_vm.colourRadio),callback:function ($$v) {_vm.colourRadio=$$v},expression:"colourRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Colour")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Greyscale")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Outlines display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setOutlines},model:{value:(_vm.outlinesRadio),callback:function ($$v) {_vm.outlinesRadio=$$v},expression:"outlinesRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Show")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Hide")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Change background")]),_c('el-row',{staticClass:"backgroundControl"},_vm._l((_vm.availableBackground),function(item){return _c('div',{key:item,class:['backgroundChoice', item, item == _vm.currentBackground ? 'active' :''],on:{"click":function($event){return _vm.backgroundChangeCallback(item)}}})}),0)],1),_c('el-popover',{attrs:{"content":"Change background color","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[3].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[3], "value", $$v)},expression:"hoverVisibilities[3].value"}},[_c('map-svg-icon',{directives:[{name:"popover",rawName:"v-popover:backgroundPopover",arg:"backgroundPopover"}],staticClass:"icon-button background-colour",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },attrs:{"slot":"reference","icon":"changeBckgd"},nativeOn:{"mouseover":function($event){return _vm.showToolitip(3)},"mouseout":function($event){return _vm.hideToolitip(3)}},slot:"reference"})],1),_c('Tooltip',{ref:"tooltip",staticClass:"tooltip",attrs:{"content":_vm.tooltipContent},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
|
|
13260
|
+
var staticRenderFns = []
|
|
13261
|
+
|
|
13784
13262
|
|
|
13785
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13263
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=20b4e460&scoped=true&
|
|
13786
13264
|
|
|
13787
13265
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13788
13266
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -13805,9 +13283,6 @@ var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
|
13805
13283
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
13806
13284
|
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
13807
13285
|
|
|
13808
|
-
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
13809
|
-
var es_error_cause_js_ = __webpack_require__("dc50");
|
|
13810
|
-
|
|
13811
13286
|
// EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
|
|
13812
13287
|
var es_array_slice_js_ = __webpack_require__("ea12");
|
|
13813
13288
|
|
|
@@ -13817,18 +13292,14 @@ var es_function_name_js_ = __webpack_require__("db0a");
|
|
|
13817
13292
|
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
13818
13293
|
var es_array_from_js_ = __webpack_require__("4362");
|
|
13819
13294
|
|
|
13820
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
13821
|
-
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
13822
|
-
|
|
13823
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
|
|
13824
|
-
var es_regexp_test_js_ = __webpack_require__("5a3b");
|
|
13825
|
-
|
|
13826
13295
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
13827
13296
|
function _arrayLikeToArray(arr, len) {
|
|
13828
13297
|
if (len == null || len > arr.length) len = arr.length;
|
|
13298
|
+
|
|
13829
13299
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
13830
13300
|
arr2[i] = arr[i];
|
|
13831
13301
|
}
|
|
13302
|
+
|
|
13832
13303
|
return arr2;
|
|
13833
13304
|
}
|
|
13834
13305
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
@@ -13838,8 +13309,6 @@ function _arrayLikeToArray(arr, len) {
|
|
|
13838
13309
|
|
|
13839
13310
|
|
|
13840
13311
|
|
|
13841
|
-
|
|
13842
|
-
|
|
13843
13312
|
function _unsupportedIterableToArray(o, minLen) {
|
|
13844
13313
|
if (!o) return;
|
|
13845
13314
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -13857,14 +13326,16 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
13857
13326
|
|
|
13858
13327
|
|
|
13859
13328
|
|
|
13860
|
-
|
|
13861
13329
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
13862
13330
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
13331
|
+
|
|
13863
13332
|
if (!it) {
|
|
13864
13333
|
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
13865
13334
|
if (it) o = it;
|
|
13866
13335
|
var i = 0;
|
|
13336
|
+
|
|
13867
13337
|
var F = function F() {};
|
|
13338
|
+
|
|
13868
13339
|
return {
|
|
13869
13340
|
s: F,
|
|
13870
13341
|
n: function n() {
|
|
@@ -13882,11 +13353,13 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13882
13353
|
f: F
|
|
13883
13354
|
};
|
|
13884
13355
|
}
|
|
13356
|
+
|
|
13885
13357
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13886
13358
|
}
|
|
13359
|
+
|
|
13887
13360
|
var normalCompletion = true,
|
|
13888
|
-
|
|
13889
|
-
|
|
13361
|
+
didErr = false,
|
|
13362
|
+
err;
|
|
13890
13363
|
return {
|
|
13891
13364
|
s: function s() {
|
|
13892
13365
|
it = it.call(o);
|
|
@@ -13970,8 +13443,11 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
13970
13443
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13971
13444
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13972
13445
|
|
|
13973
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
13974
|
-
var
|
|
13446
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
13447
|
+
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
13448
|
+
|
|
13449
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
|
|
13450
|
+
var es_string_split_js_ = __webpack_require__("0cda");
|
|
13975
13451
|
|
|
13976
13452
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13977
13453
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
@@ -13989,156 +13465,10 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
13989
13465
|
var external_vue_ = __webpack_require__("8bbf");
|
|
13990
13466
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
13991
13467
|
|
|
13992
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13993
|
-
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function
|
|
13994
|
-
|
|
13995
|
-
|
|
13996
|
-
return _c('div', {
|
|
13997
|
-
staticClass: "tooltip-container"
|
|
13998
|
-
}, [_vm.content ? _c('el-main', {
|
|
13999
|
-
directives: [{
|
|
14000
|
-
name: "loading",
|
|
14001
|
-
rawName: "v-loading",
|
|
14002
|
-
value: _vm.loading,
|
|
14003
|
-
expression: "loading"
|
|
14004
|
-
}],
|
|
14005
|
-
staticClass: "main"
|
|
14006
|
-
}, [_vm.content.title ? _c('div', {
|
|
14007
|
-
staticClass: "block"
|
|
14008
|
-
}, [_c('span', {
|
|
14009
|
-
staticClass: "title"
|
|
14010
|
-
}, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
|
|
14011
|
-
staticClass: "block"
|
|
14012
|
-
}, [_c('span', {
|
|
14013
|
-
staticClass: "title"
|
|
14014
|
-
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
14015
|
-
staticClass: "content-container scrollbar"
|
|
14016
|
-
}, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
14017
|
-
staticClass: "block"
|
|
14018
|
-
}, [_c('div', [_c('span', {
|
|
14019
|
-
staticClass: "attribute-title"
|
|
14020
|
-
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
14021
|
-
attrs: {
|
|
14022
|
-
"width": "250",
|
|
14023
|
-
"trigger": "hover",
|
|
14024
|
-
"append-to-body": false,
|
|
14025
|
-
"popper-class": "popover-origin-help"
|
|
14026
|
-
}
|
|
14027
|
-
}, [_c('i', {
|
|
14028
|
-
staticClass: "el-icon-warning-outline info",
|
|
14029
|
-
attrs: {
|
|
14030
|
-
"slot": "reference"
|
|
14031
|
-
},
|
|
14032
|
-
slot: "reference"
|
|
14033
|
-
}), _c('span', {
|
|
14034
|
-
staticStyle: {
|
|
14035
|
-
"word-break": "keep-all"
|
|
14036
|
-
}
|
|
14037
|
-
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
14038
|
-
return _c('div', {
|
|
14039
|
-
key: origin,
|
|
14040
|
-
staticClass: "attribute-content"
|
|
14041
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
14042
|
-
staticClass: "seperator"
|
|
14043
|
-
}) : _vm._e()]);
|
|
14044
|
-
}), _c('el-button', {
|
|
14045
|
-
directives: [{
|
|
14046
|
-
name: "show",
|
|
14047
|
-
rawName: "v-show",
|
|
14048
|
-
value: _vm.originsWithDatasets.length > 0,
|
|
14049
|
-
expression: "originsWithDatasets.length > 0"
|
|
14050
|
-
}],
|
|
14051
|
-
staticClass: "button",
|
|
14052
|
-
on: {
|
|
14053
|
-
"click": _vm.openDendrites
|
|
14054
|
-
}
|
|
14055
|
-
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
|
|
14056
|
-
staticClass: "block"
|
|
14057
|
-
}, [_c('div', {
|
|
14058
|
-
staticClass: "attribute-title"
|
|
14059
|
-
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
14060
|
-
return _c('div', {
|
|
14061
|
-
key: component,
|
|
14062
|
-
staticClass: "attribute-content"
|
|
14063
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
14064
|
-
staticClass: "seperator"
|
|
14065
|
-
}) : _vm._e()]);
|
|
14066
|
-
})], 2) : _vm._e(), this.destinations ? _c('div', {
|
|
14067
|
-
staticClass: "block"
|
|
14068
|
-
}, [_c('div', [_c('span', {
|
|
14069
|
-
staticClass: "attribute-title"
|
|
14070
|
-
}, [_vm._v("Destination")]), _c('el-popover', {
|
|
14071
|
-
attrs: {
|
|
14072
|
-
"width": "250",
|
|
14073
|
-
"trigger": "hover",
|
|
14074
|
-
"append-to-body": false,
|
|
14075
|
-
"popper-class": "popover-origin-help"
|
|
14076
|
-
}
|
|
14077
|
-
}, [_c('i', {
|
|
14078
|
-
staticClass: "el-icon-warning-outline info",
|
|
14079
|
-
attrs: {
|
|
14080
|
-
"slot": "reference"
|
|
14081
|
-
},
|
|
14082
|
-
slot: "reference"
|
|
14083
|
-
}), _c('span', {
|
|
14084
|
-
staticStyle: {
|
|
14085
|
-
"word-break": "keep-all"
|
|
14086
|
-
}
|
|
14087
|
-
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
14088
|
-
return _c('div', {
|
|
14089
|
-
key: destination,
|
|
14090
|
-
staticClass: "attribute-content"
|
|
14091
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
14092
|
-
staticClass: "seperator"
|
|
14093
|
-
}) : _vm._e()]);
|
|
14094
|
-
}), _c('el-button', {
|
|
14095
|
-
directives: [{
|
|
14096
|
-
name: "show",
|
|
14097
|
-
rawName: "v-show",
|
|
14098
|
-
value: _vm.destinationsWithDatasets.length > 0,
|
|
14099
|
-
expression: "destinationsWithDatasets.length > 0"
|
|
14100
|
-
}],
|
|
14101
|
-
staticClass: "button",
|
|
14102
|
-
on: {
|
|
14103
|
-
"click": _vm.openAxons
|
|
14104
|
-
}
|
|
14105
|
-
}, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
|
|
14106
|
-
directives: [{
|
|
14107
|
-
name: "show",
|
|
14108
|
-
rawName: "v-show",
|
|
14109
|
-
value: _vm.components.length > 0,
|
|
14110
|
-
expression: "components.length > 0"
|
|
14111
|
-
}],
|
|
14112
|
-
staticClass: "button",
|
|
14113
|
-
on: {
|
|
14114
|
-
"click": _vm.openAll
|
|
14115
|
-
}
|
|
14116
|
-
}, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
|
|
14117
|
-
directives: [{
|
|
14118
|
-
name: "show",
|
|
14119
|
-
rawName: "v-show",
|
|
14120
|
-
value: false,
|
|
14121
|
-
expression: "false"
|
|
14122
|
-
}],
|
|
14123
|
-
attrs: {
|
|
14124
|
-
"entry": _vm.content
|
|
14125
|
-
},
|
|
14126
|
-
on: {
|
|
14127
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14128
|
-
}
|
|
14129
|
-
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14130
|
-
staticClass: "button",
|
|
14131
|
-
attrs: {
|
|
14132
|
-
"icon": "el-icon-notebook-2"
|
|
14133
|
-
},
|
|
14134
|
-
on: {
|
|
14135
|
-
"click": function click($event) {
|
|
14136
|
-
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14137
|
-
}
|
|
14138
|
-
}
|
|
14139
|
-
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
14140
|
-
};
|
|
14141
|
-
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
|
|
13468
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
13469
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),_c('div',{staticClass:"content-container scrollbar"},[_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.origins)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Origin")]),_vm._v(" "+_vm._s(_vm.originDescription)+" ")])])],1),_vm._l((_vm.origins),function(origin,i){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),(i != _vm.origins.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.originsWithDatasets.length > 0),expression:"originsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore origin data ")])],2):_vm._e(),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component,i){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" "),(i != _vm.components.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])})],2):_vm._e(),(this.destinations)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Destination")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Destination")]),_vm._v(" is where the axons terminate ")])])],1),_vm._l((_vm.destinations),function(destination,i){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),(i != _vm.destinations.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.destinationsWithDatasets.length > 0),expression:"destinationsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore destination data ")])],2):_vm._e(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.components.length > 0),expression:"components.length > 0"}],staticClass:"button",on:{"click":_vm.openAll}},[_vm._v(" Search for data on components ")]),(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),(_vm.pubmedSearchUrl != '')?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],1)]):_vm._e()],1)}
|
|
13470
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = []
|
|
13471
|
+
|
|
14142
13472
|
|
|
14143
13473
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
14144
13474
|
|
|
@@ -14160,7 +13490,6 @@ function _iterableToArray(iter) {
|
|
|
14160
13490
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14161
13491
|
}
|
|
14162
13492
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14163
|
-
|
|
14164
13493
|
function _nonIterableSpread() {
|
|
14165
13494
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14166
13495
|
}
|
|
@@ -14210,15 +13539,9 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
14210
13539
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
14211
13540
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
14212
13541
|
|
|
14213
|
-
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
14214
|
-
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
14215
|
-
|
|
14216
13542
|
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
14217
13543
|
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
14218
13544
|
|
|
14219
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
14220
|
-
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
14221
|
-
|
|
14222
13545
|
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14223
13546
|
var es_promise_js_ = __webpack_require__("ec71");
|
|
14224
13547
|
|
|
@@ -14236,25 +13559,20 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
14236
13559
|
var locale = __webpack_require__("4897");
|
|
14237
13560
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14238
13561
|
|
|
14239
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14240
|
-
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function
|
|
14241
|
-
|
|
14242
|
-
|
|
14243
|
-
return _c('div', {
|
|
14244
|
-
staticClass: "pubmed-container"
|
|
14245
|
-
});
|
|
14246
|
-
};
|
|
14247
|
-
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
|
|
13562
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
13563
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pubmed-container"})}
|
|
13564
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = []
|
|
13565
|
+
|
|
14248
13566
|
|
|
14249
13567
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14250
13568
|
|
|
14251
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url
|
|
14252
|
-
var
|
|
13569
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
13570
|
+
var web_url_js_ = __webpack_require__("b94f");
|
|
14253
13571
|
|
|
14254
13572
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
14255
13573
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
14256
13574
|
|
|
14257
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
13575
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
14258
13576
|
|
|
14259
13577
|
|
|
14260
13578
|
|
|
@@ -14265,8 +13583,16 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14265
13583
|
|
|
14266
13584
|
|
|
14267
13585
|
|
|
14268
|
-
/* eslint-disable no-alert, no-console */
|
|
14269
13586
|
|
|
13587
|
+
//
|
|
13588
|
+
//
|
|
13589
|
+
//
|
|
13590
|
+
//
|
|
13591
|
+
//
|
|
13592
|
+
//
|
|
13593
|
+
//
|
|
13594
|
+
|
|
13595
|
+
/* eslint-disable no-alert, no-console */
|
|
14270
13596
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
14271
13597
|
name: "Tooltip",
|
|
14272
13598
|
props: {
|
|
@@ -14298,6 +13624,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14298
13624
|
},
|
|
14299
13625
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
14300
13626
|
var sql = 'select distinct publication from publications where entity in (';
|
|
13627
|
+
|
|
14301
13628
|
if (keastIds.length === 1) {
|
|
14302
13629
|
sql += "'".concat(keastIds[0], "')");
|
|
14303
13630
|
} else if (keastIds.length > 1) {
|
|
@@ -14305,6 +13632,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14305
13632
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14306
13633
|
}
|
|
14307
13634
|
}
|
|
13635
|
+
|
|
14308
13636
|
return sql;
|
|
14309
13637
|
},
|
|
14310
13638
|
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
@@ -14328,11 +13656,12 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14328
13656
|
},
|
|
14329
13657
|
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
14330
13658
|
var _this = this;
|
|
13659
|
+
|
|
14331
13660
|
if (!keastIds || keastIds.length === 0) return;
|
|
14332
13661
|
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14333
13662
|
this.flatmapQuery(sql).then(function (data) {
|
|
14334
|
-
_this.responseData = data;
|
|
14335
|
-
|
|
13663
|
+
_this.responseData = data; // Create pubmed url on paths if we have them
|
|
13664
|
+
|
|
14336
13665
|
if (data.values.length > 0) {
|
|
14337
13666
|
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14338
13667
|
return _this.stripPMIDPrefix(id[0]);
|
|
@@ -14345,6 +13674,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14345
13674
|
},
|
|
14346
13675
|
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14347
13676
|
var _this2 = this;
|
|
13677
|
+
|
|
14348
13678
|
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14349
13679
|
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
14350
13680
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
@@ -14352,10 +13682,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14352
13682
|
})));
|
|
14353
13683
|
} else {
|
|
14354
13684
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
13685
|
+
|
|
14355
13686
|
}
|
|
14356
13687
|
});
|
|
14357
13688
|
},
|
|
14358
|
-
|
|
14359
13689
|
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
14360
13690
|
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
14361
13691
|
var params = new URLSearchParams();
|
|
@@ -14366,8 +13696,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14366
13696
|
});
|
|
14367
13697
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
14368
13698
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
14369
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&
|
|
14370
|
-
var
|
|
13699
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&scoped=true&lang=scss&
|
|
13700
|
+
var PubmedViewervue_type_style_index_0_id_58832c92_scoped_true_lang_scss_ = __webpack_require__("b191");
|
|
14371
13701
|
|
|
14372
13702
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
14373
13703
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -14376,19 +13706,20 @@ var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ =
|
|
|
14376
13706
|
// This module is a runtime utility for cleaner component module output and will
|
|
14377
13707
|
// be included in the final webpack user bundle.
|
|
14378
13708
|
|
|
14379
|
-
function normalizeComponent(
|
|
13709
|
+
function normalizeComponent (
|
|
14380
13710
|
scriptExports,
|
|
14381
13711
|
render,
|
|
14382
13712
|
staticRenderFns,
|
|
14383
13713
|
functionalTemplate,
|
|
14384
13714
|
injectStyles,
|
|
14385
13715
|
scopeId,
|
|
14386
|
-
moduleIdentifier /* server only
|
|
13716
|
+
moduleIdentifier, /* server only */
|
|
14387
13717
|
shadowMode /* vue-cli only */
|
|
14388
13718
|
) {
|
|
14389
13719
|
// Vue.extend constructor export interop
|
|
14390
|
-
var options =
|
|
14391
|
-
|
|
13720
|
+
var options = typeof scriptExports === 'function'
|
|
13721
|
+
? scriptExports.options
|
|
13722
|
+
: scriptExports
|
|
14392
13723
|
|
|
14393
13724
|
// render functions
|
|
14394
13725
|
if (render) {
|
|
@@ -14408,8 +13739,7 @@ function normalizeComponent(
|
|
|
14408
13739
|
}
|
|
14409
13740
|
|
|
14410
13741
|
var hook
|
|
14411
|
-
if (moduleIdentifier) {
|
|
14412
|
-
// server build
|
|
13742
|
+
if (moduleIdentifier) { // server build
|
|
14413
13743
|
hook = function (context) {
|
|
14414
13744
|
// 2.3 injection
|
|
14415
13745
|
context =
|
|
@@ -14435,11 +13765,11 @@ function normalizeComponent(
|
|
|
14435
13765
|
} else if (injectStyles) {
|
|
14436
13766
|
hook = shadowMode
|
|
14437
13767
|
? function () {
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
|
|
13768
|
+
injectStyles.call(
|
|
13769
|
+
this,
|
|
13770
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
13771
|
+
)
|
|
13772
|
+
}
|
|
14443
13773
|
: injectStyles
|
|
14444
13774
|
}
|
|
14445
13775
|
|
|
@@ -14450,14 +13780,16 @@ function normalizeComponent(
|
|
|
14450
13780
|
options._injectStyles = hook
|
|
14451
13781
|
// register for functional component in vue file
|
|
14452
13782
|
var originalRender = options.render
|
|
14453
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
13783
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
14454
13784
|
hook.call(context)
|
|
14455
13785
|
return originalRender(h, context)
|
|
14456
13786
|
}
|
|
14457
13787
|
} else {
|
|
14458
13788
|
// inject component registration as beforeCreate hook
|
|
14459
13789
|
var existing = options.beforeCreate
|
|
14460
|
-
options.beforeCreate = existing
|
|
13790
|
+
options.beforeCreate = existing
|
|
13791
|
+
? [].concat(existing, hook)
|
|
13792
|
+
: [hook]
|
|
14461
13793
|
}
|
|
14462
13794
|
}
|
|
14463
13795
|
|
|
@@ -14492,9 +13824,7 @@ var component = normalizeComponent(
|
|
|
14492
13824
|
|
|
14493
13825
|
var EventBus = new external_vue_default.a();
|
|
14494
13826
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14495
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14496
|
-
|
|
14497
|
-
|
|
13827
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14498
13828
|
|
|
14499
13829
|
|
|
14500
13830
|
|
|
@@ -14528,6 +13858,86 @@ var EventBus = new external_vue_default.a();
|
|
|
14528
13858
|
|
|
14529
13859
|
|
|
14530
13860
|
|
|
13861
|
+
//
|
|
13862
|
+
//
|
|
13863
|
+
//
|
|
13864
|
+
//
|
|
13865
|
+
//
|
|
13866
|
+
//
|
|
13867
|
+
//
|
|
13868
|
+
//
|
|
13869
|
+
//
|
|
13870
|
+
//
|
|
13871
|
+
//
|
|
13872
|
+
//
|
|
13873
|
+
//
|
|
13874
|
+
//
|
|
13875
|
+
//
|
|
13876
|
+
//
|
|
13877
|
+
//
|
|
13878
|
+
//
|
|
13879
|
+
//
|
|
13880
|
+
//
|
|
13881
|
+
//
|
|
13882
|
+
//
|
|
13883
|
+
//
|
|
13884
|
+
//
|
|
13885
|
+
//
|
|
13886
|
+
//
|
|
13887
|
+
//
|
|
13888
|
+
//
|
|
13889
|
+
//
|
|
13890
|
+
//
|
|
13891
|
+
//
|
|
13892
|
+
//
|
|
13893
|
+
//
|
|
13894
|
+
//
|
|
13895
|
+
//
|
|
13896
|
+
//
|
|
13897
|
+
//
|
|
13898
|
+
//
|
|
13899
|
+
//
|
|
13900
|
+
//
|
|
13901
|
+
//
|
|
13902
|
+
//
|
|
13903
|
+
//
|
|
13904
|
+
//
|
|
13905
|
+
//
|
|
13906
|
+
//
|
|
13907
|
+
//
|
|
13908
|
+
//
|
|
13909
|
+
//
|
|
13910
|
+
//
|
|
13911
|
+
//
|
|
13912
|
+
//
|
|
13913
|
+
//
|
|
13914
|
+
//
|
|
13915
|
+
//
|
|
13916
|
+
//
|
|
13917
|
+
//
|
|
13918
|
+
//
|
|
13919
|
+
//
|
|
13920
|
+
//
|
|
13921
|
+
//
|
|
13922
|
+
//
|
|
13923
|
+
//
|
|
13924
|
+
//
|
|
13925
|
+
//
|
|
13926
|
+
//
|
|
13927
|
+
//
|
|
13928
|
+
//
|
|
13929
|
+
//
|
|
13930
|
+
//
|
|
13931
|
+
//
|
|
13932
|
+
//
|
|
13933
|
+
//
|
|
13934
|
+
//
|
|
13935
|
+
//
|
|
13936
|
+
//
|
|
13937
|
+
//
|
|
13938
|
+
//
|
|
13939
|
+
//
|
|
13940
|
+
//
|
|
14531
13941
|
|
|
14532
13942
|
/* eslint-disable no-alert, no-console */
|
|
14533
13943
|
|
|
@@ -14538,9 +13948,9 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
14538
13948
|
external_vue_default.a.use(lib_container_default.a);
|
|
14539
13949
|
external_vue_default.a.use(lib_header_default.a);
|
|
14540
13950
|
external_vue_default.a.use(lib_icon_default.a);
|
|
14541
|
-
external_vue_default.a.use(lib_main_default.a);
|
|
13951
|
+
external_vue_default.a.use(lib_main_default.a); // pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
13952
|
+
|
|
14542
13953
|
|
|
14543
|
-
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
14544
13954
|
|
|
14545
13955
|
|
|
14546
13956
|
var _titleCase = function titleCase(str) {
|
|
@@ -14548,13 +13958,14 @@ var _titleCase = function titleCase(str) {
|
|
|
14548
13958
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
14549
13959
|
});
|
|
14550
13960
|
};
|
|
13961
|
+
|
|
14551
13962
|
var inArray = function inArray(ar1, ar2) {
|
|
14552
13963
|
var as1 = JSON.stringify(ar1);
|
|
14553
13964
|
var as2 = JSON.stringify(ar2);
|
|
14554
13965
|
return as1.indexOf(as2) !== -1;
|
|
14555
|
-
};
|
|
13966
|
+
}; // remove duplicates by stringifying the objects
|
|
13967
|
+
|
|
14556
13968
|
|
|
14557
|
-
// remove duplicates by stringifying the objects
|
|
14558
13969
|
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
14559
13970
|
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
14560
13971
|
return JSON.stringify(e);
|
|
@@ -14562,10 +13973,12 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
|
|
|
14562
13973
|
return JSON.parse(e);
|
|
14563
13974
|
});
|
|
14564
13975
|
};
|
|
13976
|
+
|
|
14565
13977
|
var _capitalise = function capitalise(str) {
|
|
14566
13978
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
14567
13979
|
return "";
|
|
14568
13980
|
};
|
|
13981
|
+
|
|
14569
13982
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
14570
13983
|
components: {
|
|
14571
13984
|
PubmedViewer: PubmedViewer
|
|
@@ -14666,7 +14079,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14666
14079
|
},
|
|
14667
14080
|
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
14668
14081
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14082
|
+
|
|
14669
14083
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14084
|
+
|
|
14085
|
+
|
|
14670
14086
|
var found = [];
|
|
14671
14087
|
nodes.forEach(function (n) {
|
|
14672
14088
|
if (Array.isArray(n)) {
|
|
@@ -14679,7 +14095,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14679
14095
|
},
|
|
14680
14096
|
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14681
14097
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14098
|
+
|
|
14682
14099
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14100
|
+
|
|
14101
|
+
|
|
14683
14102
|
var found = [];
|
|
14684
14103
|
nodes.forEach(function (n) {
|
|
14685
14104
|
if (Array.isArray(n)) {
|
|
@@ -14692,18 +14111,21 @@ var _capitalise = function capitalise(str) {
|
|
|
14692
14111
|
},
|
|
14693
14112
|
findComponents: function findComponents(connectivity) {
|
|
14694
14113
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14114
|
+
|
|
14695
14115
|
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14696
14116
|
var found = [];
|
|
14697
14117
|
var terminal = false;
|
|
14698
14118
|
nodes.forEach(function (node) {
|
|
14699
|
-
terminal = false;
|
|
14700
|
-
|
|
14119
|
+
terminal = false; // Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
14120
|
+
|
|
14701
14121
|
if (inArray(connectivity.axons, node)) {
|
|
14702
14122
|
terminal = true;
|
|
14703
14123
|
}
|
|
14124
|
+
|
|
14704
14125
|
if (inArray(connectivity.dendrites, node)) {
|
|
14705
14126
|
terminal = true;
|
|
14706
14127
|
}
|
|
14128
|
+
|
|
14707
14129
|
if (!terminal) {
|
|
14708
14130
|
found.push(node);
|
|
14709
14131
|
}
|
|
@@ -14712,6 +14134,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14712
14134
|
},
|
|
14713
14135
|
getOrganCuries: function getOrganCuries() {
|
|
14714
14136
|
var _this = this;
|
|
14137
|
+
|
|
14715
14138
|
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
14716
14139
|
return response.json();
|
|
14717
14140
|
}).then(function (data) {
|
|
@@ -14720,6 +14143,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14720
14143
|
},
|
|
14721
14144
|
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
14722
14145
|
var sql = 'select knowledge from knowledge where entity in (';
|
|
14146
|
+
|
|
14723
14147
|
if (keastIds.length === 1) {
|
|
14724
14148
|
sql += "'".concat(keastIds[0], "')");
|
|
14725
14149
|
} else if (keastIds.length > 1) {
|
|
@@ -14727,10 +14151,12 @@ var _capitalise = function capitalise(str) {
|
|
|
14727
14151
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14728
14152
|
}
|
|
14729
14153
|
}
|
|
14154
|
+
|
|
14730
14155
|
return sql;
|
|
14731
14156
|
},
|
|
14732
14157
|
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14733
14158
|
var sql = 'select entity, label from labels where entity in (';
|
|
14159
|
+
|
|
14734
14160
|
if (uberons.length === 1) {
|
|
14735
14161
|
sql += "'".concat(uberons[0], "')");
|
|
14736
14162
|
} else if (uberons.length > 1) {
|
|
@@ -14738,10 +14164,12 @@ var _capitalise = function capitalise(str) {
|
|
|
14738
14164
|
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14739
14165
|
}
|
|
14740
14166
|
}
|
|
14167
|
+
|
|
14741
14168
|
return sql;
|
|
14742
14169
|
},
|
|
14743
14170
|
createLabelLookup: function createLabelLookup(uberons) {
|
|
14744
14171
|
var _this2 = this;
|
|
14172
|
+
|
|
14745
14173
|
return new Promise(function (resolve) {
|
|
14746
14174
|
var uberonMap = {};
|
|
14747
14175
|
var data = {
|
|
@@ -14758,20 +14186,24 @@ var _capitalise = function capitalise(str) {
|
|
|
14758
14186
|
}).then(function (payload) {
|
|
14759
14187
|
var entity = payload.keys.indexOf("entity");
|
|
14760
14188
|
var label = payload.keys.indexOf("label");
|
|
14189
|
+
|
|
14761
14190
|
if (entity > -1 && label > -1) {
|
|
14762
14191
|
payload.values.forEach(function (pair) {
|
|
14763
14192
|
uberonMap[pair[entity]] = pair[label];
|
|
14764
14193
|
});
|
|
14765
14194
|
}
|
|
14195
|
+
|
|
14766
14196
|
resolve(uberonMap);
|
|
14767
14197
|
});
|
|
14768
14198
|
});
|
|
14769
14199
|
},
|
|
14770
14200
|
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14771
14201
|
var _this3 = this;
|
|
14202
|
+
|
|
14772
14203
|
var labelList = [];
|
|
14773
14204
|
components.forEach(function (n) {
|
|
14774
14205
|
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14206
|
+
|
|
14775
14207
|
if (n.length === 2) {
|
|
14776
14208
|
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14777
14209
|
}
|
|
@@ -14780,6 +14212,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14780
14212
|
},
|
|
14781
14213
|
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14782
14214
|
var label = lookUp[node[0]];
|
|
14215
|
+
|
|
14783
14216
|
if (node.length === 2 && node[1].length > 0) {
|
|
14784
14217
|
node[1].forEach(function (n) {
|
|
14785
14218
|
if (lookUp[n] == undefined) {
|
|
@@ -14789,21 +14222,20 @@ var _capitalise = function capitalise(str) {
|
|
|
14789
14222
|
}
|
|
14790
14223
|
});
|
|
14791
14224
|
}
|
|
14225
|
+
|
|
14792
14226
|
return label;
|
|
14793
14227
|
},
|
|
14794
14228
|
processConnectivity: function processConnectivity(connectivity) {
|
|
14795
14229
|
var _this4 = this;
|
|
14230
|
+
|
|
14796
14231
|
// Filter the origin and destinations from components
|
|
14797
|
-
var components = this.findComponents(connectivity);
|
|
14232
|
+
var components = this.findComponents(connectivity); // Remove duplicates
|
|
14798
14233
|
|
|
14799
|
-
// Remove duplicates
|
|
14800
14234
|
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14801
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14235
|
+
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites); // Create list of ids to get labels for
|
|
14802
14236
|
|
|
14803
|
-
// Create
|
|
14804
|
-
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14237
|
+
var conIds = this.findAllIdsFromConnectivity(connectivity); // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14805
14238
|
|
|
14806
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14807
14239
|
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14808
14240
|
_this4.destinations = axons.map(function (a) {
|
|
14809
14241
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
@@ -14821,9 +14253,8 @@ var _capitalise = function capitalise(str) {
|
|
|
14821
14253
|
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14822
14254
|
var componentsFlat = this.flattenConntectivity(components);
|
|
14823
14255
|
var axonsFlat = this.flattenConntectivity(axons);
|
|
14824
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14256
|
+
var dendritesFlat = this.flattenConntectivity(dendrites); // Filter for the anatomy which is annotated on datasets
|
|
14825
14257
|
|
|
14826
|
-
// Filter for the anatomy which is annotated on datasets
|
|
14827
14258
|
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14828
14259
|
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14829
14260
|
});
|
|
@@ -14836,6 +14267,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14836
14267
|
},
|
|
14837
14268
|
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14838
14269
|
var _this5 = this;
|
|
14270
|
+
|
|
14839
14271
|
this.destinations = [];
|
|
14840
14272
|
this.origins = [];
|
|
14841
14273
|
this.components = [];
|
|
@@ -14854,7 +14286,9 @@ var _capitalise = function capitalise(str) {
|
|
|
14854
14286
|
return response.json();
|
|
14855
14287
|
}).then(function (data) {
|
|
14856
14288
|
var connectivity = JSON.parse(data.values[0][0]);
|
|
14289
|
+
|
|
14857
14290
|
_this5.processConnectivity(connectivity);
|
|
14291
|
+
|
|
14858
14292
|
_this5.loading = false;
|
|
14859
14293
|
}).catch(function (error) {
|
|
14860
14294
|
console.error('Error:', error);
|
|
@@ -14864,8 +14298,8 @@ var _capitalise = function capitalise(str) {
|
|
|
14864
14298
|
});
|
|
14865
14299
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14866
14300
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14867
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&
|
|
14868
|
-
var
|
|
14301
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&scoped=true&lang=scss&
|
|
14302
|
+
var Tooltipvue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss_ = __webpack_require__("13aa");
|
|
14869
14303
|
|
|
14870
14304
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14871
14305
|
|
|
@@ -14891,98 +14325,43 @@ var Tooltip_component = normalizeComponent(
|
|
|
14891
14325
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
14892
14326
|
var svg_sprite_ = __webpack_require__("429c");
|
|
14893
14327
|
|
|
14894
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14895
|
-
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function
|
|
14896
|
-
|
|
14897
|
-
|
|
14898
|
-
return _c('div', {
|
|
14899
|
-
staticClass: "legends-container"
|
|
14900
|
-
}, [_c('svg', {
|
|
14901
|
-
staticStyle: {
|
|
14902
|
-
"enable-background": "new 0 0 500 500"
|
|
14903
|
-
},
|
|
14904
|
-
attrs: {
|
|
14905
|
-
"version": "1.1",
|
|
14906
|
-
"id": "Layer_1",
|
|
14907
|
-
"x": "0px",
|
|
14908
|
-
"y": "0px",
|
|
14909
|
-
"viewBox": "0 0 500 500",
|
|
14910
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
14911
|
-
"xmlns:bx": "https://boxy-svg.com"
|
|
14912
|
-
}
|
|
14913
|
-
}, [_c('defs', [_c('bx:grid', {
|
|
14914
|
-
attrs: {
|
|
14915
|
-
"height": "30.447",
|
|
14916
|
-
"width": "32.516",
|
|
14917
|
-
"x": "0",
|
|
14918
|
-
"y": "0"
|
|
14919
|
-
}
|
|
14920
|
-
})], 1), _c('path', {
|
|
14921
|
-
staticClass: "st0 st0-translate",
|
|
14922
|
-
attrs: {
|
|
14923
|
-
"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"
|
|
14924
|
-
}
|
|
14925
|
-
}), _c('path', {
|
|
14926
|
-
staticClass: "st1",
|
|
14927
|
-
attrs: {
|
|
14928
|
-
"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"
|
|
14929
|
-
}
|
|
14930
|
-
}), _c('path', {
|
|
14931
|
-
staticClass: "st2",
|
|
14932
|
-
attrs: {
|
|
14933
|
-
"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"
|
|
14934
|
-
}
|
|
14935
|
-
}), _c('text', {
|
|
14936
|
-
staticClass: "st3 st4 st5",
|
|
14937
|
-
staticStyle: {
|
|
14938
|
-
"white-space": "pre"
|
|
14939
|
-
},
|
|
14940
|
-
attrs: {
|
|
14941
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
14942
|
-
}
|
|
14943
|
-
}, [_vm._v("Tissue region")]), _c('path', {
|
|
14944
|
-
staticClass: "st6",
|
|
14945
|
-
attrs: {
|
|
14946
|
-
"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"
|
|
14947
|
-
}
|
|
14948
|
-
}), _c('text', {
|
|
14949
|
-
staticClass: "st3 st4 st5",
|
|
14950
|
-
staticStyle: {
|
|
14951
|
-
"white-space": "pre"
|
|
14952
|
-
},
|
|
14953
|
-
attrs: {
|
|
14954
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
14955
|
-
}
|
|
14956
|
-
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
14957
|
-
staticClass: "st3 st4 st5",
|
|
14958
|
-
staticStyle: {
|
|
14959
|
-
"white-space": "pre"
|
|
14960
|
-
},
|
|
14961
|
-
attrs: {
|
|
14962
|
-
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
14963
|
-
}
|
|
14964
|
-
}, [_vm._v("Ganglia")]), _c('text', {
|
|
14965
|
-
staticClass: "st3 st4 st5",
|
|
14966
|
-
staticStyle: {
|
|
14967
|
-
"white-space": "pre"
|
|
14968
|
-
},
|
|
14969
|
-
attrs: {
|
|
14970
|
-
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
14971
|
-
}
|
|
14972
|
-
}, [_vm._v("Nerve plexus")])])]);
|
|
14973
|
-
};
|
|
14974
|
-
var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = [];
|
|
14328
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
|
|
14329
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"legends-container"},[_c('svg',{staticStyle:{"enable-background":"new 0 0 500 500"},attrs:{"version":"1.1","id":"Layer_1","x":"0px","y":"0px","viewBox":"0 0 500 500","xmlns":"http://www.w3.org/2000/svg","xmlns:bx":"https://boxy-svg.com"}},[_c('defs',[_c('bx:grid',{attrs:{"height":"30.447","width":"32.516","x":"0","y":"0"}})],1),_c('path',{staticClass:"st0 st0-translate",attrs:{"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"}}),_c('path',{staticClass:"st1",attrs:{"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"}}),_c('path',{staticClass:"st2",attrs:{"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"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 171.7975)"}},[_vm._v("Tissue region")]),_c('path',{staticClass:"st6",attrs:{"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"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 257.675)"}},[_vm._v("Brain nuclei")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 345.5266)"}},[_vm._v("Ganglia")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 433.1613)"}},[_vm._v("Nerve plexus")])])])}
|
|
14330
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = []
|
|
14331
|
+
|
|
14975
14332
|
|
|
14976
14333
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
|
|
14977
14334
|
|
|
14978
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14335
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
14336
|
+
//
|
|
14337
|
+
//
|
|
14338
|
+
//
|
|
14339
|
+
//
|
|
14340
|
+
//
|
|
14341
|
+
//
|
|
14342
|
+
//
|
|
14343
|
+
//
|
|
14344
|
+
//
|
|
14345
|
+
//
|
|
14346
|
+
//
|
|
14347
|
+
//
|
|
14348
|
+
//
|
|
14349
|
+
//
|
|
14350
|
+
//
|
|
14351
|
+
//
|
|
14352
|
+
//
|
|
14353
|
+
//
|
|
14354
|
+
//
|
|
14355
|
+
//
|
|
14356
|
+
//
|
|
14357
|
+
//
|
|
14979
14358
|
/* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
|
|
14980
14359
|
name: 'SvgLegends'
|
|
14981
14360
|
});
|
|
14982
14361
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
14983
14362
|
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
14984
|
-
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&
|
|
14985
|
-
var
|
|
14363
|
+
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&scoped=true&lang=scss&
|
|
14364
|
+
var Legendsvue_type_style_index_0_id_514dd6be_scoped_true_lang_scss_ = __webpack_require__("9e82");
|
|
14986
14365
|
|
|
14987
14366
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
14988
14367
|
|
|
@@ -15007,7 +14386,7 @@ var Legends_component = normalizeComponent(
|
|
|
15007
14386
|
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
15008
14387
|
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15009
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>');
|
|
15010
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14389
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15011
14390
|
|
|
15012
14391
|
|
|
15013
14392
|
|
|
@@ -15043,6 +14422,265 @@ var Legends_component = normalizeComponent(
|
|
|
15043
14422
|
|
|
15044
14423
|
|
|
15045
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
|
+
//
|
|
15046
14684
|
|
|
15047
14685
|
/* eslint-disable no-alert, no-console */
|
|
15048
14686
|
|
|
@@ -15060,12 +14698,15 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
15060
14698
|
external_vue_default.a.use(lib_radio_default.a);
|
|
15061
14699
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
15062
14700
|
external_vue_default.a.use(lib_row_default.a);
|
|
14701
|
+
|
|
15063
14702
|
var ResizeSensor = __webpack_require__("ae66");
|
|
14703
|
+
|
|
15064
14704
|
var mapResize = function mapResize(map) {
|
|
15065
14705
|
return function () {
|
|
15066
14706
|
if (map) map.resize();
|
|
15067
14707
|
};
|
|
15068
14708
|
};
|
|
14709
|
+
|
|
15069
14710
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
15070
14711
|
name: "FlatmapVuer",
|
|
15071
14712
|
components: {
|
|
@@ -15080,11 +14721,12 @@ var mapResize = function mapResize(map) {
|
|
|
15080
14721
|
},
|
|
15081
14722
|
methods: {
|
|
15082
14723
|
viewLatestMap: function viewLatestMap() {
|
|
15083
|
-
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
15084
|
-
|
|
14724
|
+
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined; //Human requires special handling
|
|
14725
|
+
|
|
15085
14726
|
if (this.entry === "NCBITaxon:9606") {
|
|
15086
14727
|
biologicalSex = "PATO:0000384";
|
|
15087
14728
|
}
|
|
14729
|
+
|
|
15088
14730
|
var state = {
|
|
15089
14731
|
entry: this.entry,
|
|
15090
14732
|
biologicalSex: biologicalSex,
|
|
@@ -15094,6 +14736,7 @@ var mapResize = function mapResize(map) {
|
|
|
15094
14736
|
},
|
|
15095
14737
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
15096
14738
|
this.currentBackground = colour;
|
|
14739
|
+
|
|
15097
14740
|
if (this.mapImp) {
|
|
15098
14741
|
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
15099
14742
|
}
|
|
@@ -15101,11 +14744,13 @@ var mapResize = function mapResize(map) {
|
|
|
15101
14744
|
toggleDrawer: function toggleDrawer() {
|
|
15102
14745
|
this.drawerOpen = !this.drawerOpen;
|
|
15103
14746
|
},
|
|
15104
|
-
|
|
15105
|
-
|
|
14747
|
+
|
|
14748
|
+
/**
|
|
14749
|
+
* Function to toggle colour/greyscale of organs.
|
|
15106
14750
|
*/
|
|
15107
14751
|
setColour: function setColour(flag) {
|
|
15108
14752
|
this.colourRadio = flag;
|
|
14753
|
+
|
|
15109
14754
|
if (this.mapImp) {
|
|
15110
14755
|
this.mapImp.setColour({
|
|
15111
14756
|
colour: flag,
|
|
@@ -15113,11 +14758,13 @@ var mapResize = function mapResize(map) {
|
|
|
15113
14758
|
});
|
|
15114
14759
|
}
|
|
15115
14760
|
},
|
|
15116
|
-
|
|
15117
|
-
|
|
14761
|
+
|
|
14762
|
+
/**
|
|
14763
|
+
* Function to toggle outlines f organs.
|
|
15118
14764
|
*/
|
|
15119
14765
|
setOutlines: function setOutlines(flag) {
|
|
15120
14766
|
this.outlineRadio = flag;
|
|
14767
|
+
|
|
15121
14768
|
if (this.mapImp) {
|
|
15122
14769
|
this.mapImp.setColour({
|
|
15123
14770
|
colour: this.colourRadio,
|
|
@@ -15125,9 +14772,10 @@ var mapResize = function mapResize(map) {
|
|
|
15125
14772
|
});
|
|
15126
14773
|
}
|
|
15127
14774
|
},
|
|
15128
|
-
|
|
15129
|
-
|
|
15130
|
-
*
|
|
14775
|
+
|
|
14776
|
+
/**
|
|
14777
|
+
* Function to toggle paths to default.
|
|
14778
|
+
* Also called when the associated button is pressed.
|
|
15131
14779
|
*/
|
|
15132
14780
|
resetView: function resetView() {
|
|
15133
14781
|
if (this.mapImp) {
|
|
@@ -15139,18 +14787,20 @@ var mapResize = function mapResize(map) {
|
|
|
15139
14787
|
this.checkAll = true;
|
|
15140
14788
|
}
|
|
15141
14789
|
},
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
*
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* Function to zoom in.
|
|
14793
|
+
* Also called when the associated button is pressed.
|
|
15145
14794
|
*/
|
|
15146
14795
|
zoomIn: function zoomIn() {
|
|
15147
14796
|
if (this.mapImp) {
|
|
15148
14797
|
this.mapImp.zoomIn();
|
|
15149
14798
|
}
|
|
15150
14799
|
},
|
|
15151
|
-
|
|
15152
|
-
|
|
15153
|
-
*
|
|
14800
|
+
|
|
14801
|
+
/**
|
|
14802
|
+
* Function to zoom out.
|
|
14803
|
+
* Also called when the associated button is pressed.
|
|
15154
14804
|
*/
|
|
15155
14805
|
zoomOut: function zoomOut() {
|
|
15156
14806
|
if (this.mapImp) {
|
|
@@ -15172,6 +14822,7 @@ var mapResize = function mapResize(map) {
|
|
|
15172
14822
|
return a.type;
|
|
15173
14823
|
}) : [];
|
|
15174
14824
|
this.isIndeterminate = false;
|
|
14825
|
+
|
|
15175
14826
|
if (this.mapImp) {
|
|
15176
14827
|
this.mapImp.showPaths(this.checkedItems);
|
|
15177
14828
|
}
|
|
@@ -15181,15 +14832,18 @@ var mapResize = function mapResize(map) {
|
|
|
15181
14832
|
},
|
|
15182
14833
|
eventCallback: function eventCallback() {
|
|
15183
14834
|
var _this = this;
|
|
14835
|
+
|
|
15184
14836
|
return function (eventType, data) {
|
|
15185
14837
|
if (eventType !== "pan-zoom") {
|
|
15186
14838
|
var label = data.label;
|
|
15187
14839
|
var resource = [data.models];
|
|
15188
14840
|
var taxonomy = _this.entry;
|
|
15189
14841
|
var biologicalSex = _this.biologicalSex;
|
|
14842
|
+
|
|
15190
14843
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
15191
14844
|
args[_key - 2] = arguments[_key];
|
|
15192
14845
|
}
|
|
14846
|
+
|
|
15193
14847
|
var payload = {
|
|
15194
14848
|
dataset: data.dataset,
|
|
15195
14849
|
biologicalSex: biologicalSex,
|
|
@@ -15199,9 +14853,10 @@ var mapResize = function mapResize(map) {
|
|
|
15199
14853
|
feature: data,
|
|
15200
14854
|
userData: args,
|
|
15201
14855
|
eventType: eventType
|
|
15202
|
-
};
|
|
15203
|
-
|
|
14856
|
+
}; // Disable the nueron pop up for now.
|
|
14857
|
+
|
|
15204
14858
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
14859
|
+
|
|
15205
14860
|
_this.$emit("resource-selected", payload);
|
|
15206
14861
|
} else {
|
|
15207
14862
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -15225,6 +14880,7 @@ var mapResize = function mapResize(map) {
|
|
|
15225
14880
|
if (ftooltip) ftooltip.style.display = "none";
|
|
15226
14881
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
15227
14882
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
14883
|
+
|
|
15228
14884
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
15229
14885
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
15230
14886
|
};
|
|
@@ -15238,13 +14894,14 @@ var mapResize = function mapResize(map) {
|
|
|
15238
14894
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
15239
14895
|
return true;
|
|
15240
14896
|
}
|
|
15241
|
-
}
|
|
15242
|
-
|
|
14897
|
+
} // annotated with datset check
|
|
14898
|
+
|
|
14899
|
+
|
|
15243
14900
|
if (data.dataset) {
|
|
15244
14901
|
return true;
|
|
15245
|
-
}
|
|
14902
|
+
} // if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
14903
|
+
|
|
15246
14904
|
|
|
15247
|
-
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
15248
14905
|
return false;
|
|
15249
14906
|
},
|
|
15250
14907
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -15256,9 +14913,8 @@ var mapResize = function mapResize(map) {
|
|
|
15256
14913
|
distribution: undefined,
|
|
15257
14914
|
actions: []
|
|
15258
14915
|
};
|
|
15259
|
-
this.tooltipVisible = false;
|
|
14916
|
+
this.tooltipVisible = false; // neural data check
|
|
15260
14917
|
|
|
15261
|
-
// neural data check
|
|
15262
14918
|
if (feature) {
|
|
15263
14919
|
if (feature.includes('ilxtr:neuron')) {
|
|
15264
14920
|
this.tooltipVisible = true;
|
|
@@ -15276,8 +14932,9 @@ var mapResize = function mapResize(map) {
|
|
|
15276
14932
|
nervePath: true
|
|
15277
14933
|
});
|
|
15278
14934
|
}
|
|
15279
|
-
}
|
|
15280
|
-
|
|
14935
|
+
} // annotated with datset check
|
|
14936
|
+
|
|
14937
|
+
|
|
15281
14938
|
if (data.dataset) {
|
|
15282
14939
|
this.tooltipVisible = true;
|
|
15283
14940
|
this.tooltipContent = content;
|
|
@@ -15296,6 +14953,7 @@ var mapResize = function mapResize(map) {
|
|
|
15296
14953
|
// Keeping this as an API
|
|
15297
14954
|
showPopup: function showPopup(featureId, node, options) {
|
|
15298
14955
|
var myOptions = options;
|
|
14956
|
+
|
|
15299
14957
|
if (this.mapImp) {
|
|
15300
14958
|
if (myOptions) {
|
|
15301
14959
|
if (!myOptions.className) myOptions.className = "custom-popup";
|
|
@@ -15305,6 +14963,7 @@ var mapResize = function mapResize(map) {
|
|
|
15305
14963
|
positionAtLastClick: true
|
|
15306
14964
|
};
|
|
15307
14965
|
}
|
|
14966
|
+
|
|
15308
14967
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
15309
14968
|
}
|
|
15310
14969
|
},
|
|
@@ -15313,6 +14972,26 @@ var mapResize = function mapResize(map) {
|
|
|
15313
14972
|
this.mapImp.showMarkerPopup(featureId, node, options);
|
|
15314
14973
|
}
|
|
15315
14974
|
},
|
|
14975
|
+
closeMinimap: function closeMinimap() {
|
|
14976
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap'); // find minimap
|
|
14977
|
+
|
|
14978
|
+
if (this.minimapSmall) {
|
|
14979
|
+
//switch the classes on the minimap
|
|
14980
|
+
minimapEl.classList.add('enlarge');
|
|
14981
|
+
minimapEl.classList.remove('shrink');
|
|
14982
|
+
} else {
|
|
14983
|
+
minimapEl.classList.add('shrink');
|
|
14984
|
+
minimapEl.classList.remove('enlarge');
|
|
14985
|
+
}
|
|
14986
|
+
|
|
14987
|
+
this.minimapSmall = !this.minimapSmall;
|
|
14988
|
+
},
|
|
14989
|
+
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
14990
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
|
|
14991
|
+
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
14992
|
+
minimapEl.appendChild(this.$refs.minimapResize);
|
|
14993
|
+
this.minimapResizeShow = true;
|
|
14994
|
+
},
|
|
15316
14995
|
setHelpMode: function setHelpMode(helpMode) {
|
|
15317
14996
|
if (helpMode) {
|
|
15318
14997
|
this.inHelp = true;
|
|
@@ -15330,6 +15009,7 @@ var mapResize = function mapResize(map) {
|
|
|
15330
15009
|
},
|
|
15331
15010
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15332
15011
|
var _this2 = this;
|
|
15012
|
+
|
|
15333
15013
|
if (!this.inHelp) {
|
|
15334
15014
|
this.tooltipWait = setTimeout(function () {
|
|
15335
15015
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -15359,10 +15039,13 @@ var mapResize = function mapResize(map) {
|
|
|
15359
15039
|
},
|
|
15360
15040
|
getLabels: function getLabels() {
|
|
15361
15041
|
var labels = [];
|
|
15042
|
+
|
|
15362
15043
|
if (this.mapImp) {
|
|
15363
15044
|
var annotations = this.mapImp.annotations;
|
|
15045
|
+
|
|
15364
15046
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
15365
|
-
|
|
15047
|
+
_step;
|
|
15048
|
+
|
|
15366
15049
|
try {
|
|
15367
15050
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
15368
15051
|
var value = _step.value;
|
|
@@ -15373,6 +15056,7 @@ var mapResize = function mapResize(map) {
|
|
|
15373
15056
|
} finally {
|
|
15374
15057
|
_iterator.f();
|
|
15375
15058
|
}
|
|
15059
|
+
|
|
15376
15060
|
return Array.from(new Set(labels));
|
|
15377
15061
|
}
|
|
15378
15062
|
},
|
|
@@ -15387,6 +15071,7 @@ var mapResize = function mapResize(map) {
|
|
|
15387
15071
|
if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
|
|
15388
15072
|
return state;
|
|
15389
15073
|
}
|
|
15074
|
+
|
|
15390
15075
|
return undefined;
|
|
15391
15076
|
},
|
|
15392
15077
|
setState: function setState(state) {
|
|
@@ -15408,18 +15093,17 @@ var mapResize = function mapResize(map) {
|
|
|
15408
15093
|
},
|
|
15409
15094
|
createFlatmap: function createFlatmap(state) {
|
|
15410
15095
|
var _this3 = this;
|
|
15096
|
+
|
|
15411
15097
|
if (!this.mapImp && !this.loading) {
|
|
15412
15098
|
this.loading = true;
|
|
15413
15099
|
var minimap = false;
|
|
15100
|
+
|
|
15414
15101
|
if (this.displayMinimap) {
|
|
15415
15102
|
minimap = {
|
|
15416
15103
|
position: "top-right"
|
|
15417
15104
|
};
|
|
15418
|
-
}
|
|
15419
|
-
|
|
15420
|
-
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
15105
|
+
} //As for flatmap-viewer@2.2.7, see below for the documentation
|
|
15421
15106
|
//for the identifier:
|
|
15422
|
-
|
|
15423
15107
|
//@arg identifier {string|Object}
|
|
15424
15108
|
// A string or object identifying the map to load. If a string its
|
|
15425
15109
|
// value can be either the map's ``uuid``, assigned at generation time,
|
|
@@ -15433,10 +15117,11 @@ var mapResize = function mapResize(map) {
|
|
|
15433
15117
|
// @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
|
|
15434
15118
|
// be loaded, overriding ``taxon`` and ``biologicalSex``.
|
|
15435
15119
|
|
|
15120
|
+
|
|
15436
15121
|
var identifier = {
|
|
15437
15122
|
taxon: this.entry
|
|
15438
|
-
};
|
|
15439
|
-
|
|
15123
|
+
}; //This now handle the uses of uuid when resuming states
|
|
15124
|
+
|
|
15440
15125
|
if (state) {
|
|
15441
15126
|
if (state.uuid) {
|
|
15442
15127
|
identifier = {
|
|
@@ -15444,6 +15129,7 @@ var mapResize = function mapResize(map) {
|
|
|
15444
15129
|
};
|
|
15445
15130
|
} else if (state.entry) {
|
|
15446
15131
|
identifier.taxon = state.entry;
|
|
15132
|
+
|
|
15447
15133
|
if (state.biologicalSex) {
|
|
15448
15134
|
identifier["biologicalSex"] = state.biologicalSex;
|
|
15449
15135
|
} else if (identifier.taxon === "NCBITaxon:9606") {
|
|
@@ -15458,6 +15144,7 @@ var mapResize = function mapResize(map) {
|
|
|
15458
15144
|
identifier["biologicalSex"] = this.biologicalSex;
|
|
15459
15145
|
}
|
|
15460
15146
|
}
|
|
15147
|
+
|
|
15461
15148
|
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
15462
15149
|
//fullscreenControl: false,
|
|
15463
15150
|
//annotatable: false,
|
|
@@ -15471,12 +15158,9 @@ var mapResize = function mapResize(map) {
|
|
|
15471
15158
|
});
|
|
15472
15159
|
promise1.then(function (returnedObject) {
|
|
15473
15160
|
_this3.mapImp = returnedObject;
|
|
15474
|
-
|
|
15475
|
-
_this3.
|
|
15476
|
-
|
|
15477
|
-
_this3.pathways = _this3.mapImp.pathTypes();
|
|
15478
|
-
_this3.$emit("ready", _this3);
|
|
15479
|
-
_this3.loading = false;
|
|
15161
|
+
|
|
15162
|
+
_this3.onFlatmapReady();
|
|
15163
|
+
|
|
15480
15164
|
if (_this3._stateToBeSet) _this3.restoreMapState(_this3._stateToBeSet);else {
|
|
15481
15165
|
_this3.restoreMapState(state);
|
|
15482
15166
|
}
|
|
@@ -15489,15 +15173,26 @@ var mapResize = function mapResize(map) {
|
|
|
15489
15173
|
if (this.mapImp && !this.loading) this.restoreMapState(this._stateToBeSet);
|
|
15490
15174
|
}
|
|
15491
15175
|
},
|
|
15176
|
+
onFlatmapReady: function onFlatmapReady() {
|
|
15177
|
+
// onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
|
|
15178
|
+
this.sensor = new ResizeSensor(this.$refs.display, mapResize(this.mapImp));
|
|
15179
|
+
this.mapImp.setBackgroundOpacity(1);
|
|
15180
|
+
this.backgroundChangeCallback(this.currentBackground);
|
|
15181
|
+
this.pathways = this.mapImp.pathTypes();
|
|
15182
|
+
this.$emit("ready", this);
|
|
15183
|
+
this.addResizeButtonToMinimap();
|
|
15184
|
+
this.loading = false;
|
|
15185
|
+
},
|
|
15492
15186
|
showMinimap: function showMinimap(flag) {
|
|
15493
15187
|
if (this.mapImp) this.mapImp.showMinimap(flag);
|
|
15494
15188
|
},
|
|
15495
15189
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
15496
15190
|
this.drawerOpen = flag;
|
|
15497
15191
|
},
|
|
15498
|
-
|
|
15499
|
-
|
|
15500
|
-
*
|
|
15192
|
+
|
|
15193
|
+
/**
|
|
15194
|
+
* Function to display features with annotation matching the provided term,
|
|
15195
|
+
* with the option to display the label using displayLabel flag.
|
|
15501
15196
|
*/
|
|
15502
15197
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
15503
15198
|
if (this.mapImp) {
|
|
@@ -15506,22 +15201,27 @@ var mapResize = function mapResize(map) {
|
|
|
15506
15201
|
return true;
|
|
15507
15202
|
} else {
|
|
15508
15203
|
var searchResults = this.mapImp.search(term);
|
|
15204
|
+
|
|
15509
15205
|
if (searchResults && searchResults.results && searchResults.results.length > 0) {
|
|
15510
15206
|
this.mapImp.showSearchResults(searchResults);
|
|
15207
|
+
|
|
15511
15208
|
if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
|
|
15512
15209
|
this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
|
|
15513
15210
|
className: "custom-popup",
|
|
15514
15211
|
positionAtLastClick: false
|
|
15515
15212
|
});
|
|
15516
15213
|
}
|
|
15214
|
+
|
|
15517
15215
|
return true;
|
|
15518
15216
|
} else this.mapImp.clearSearchResults();
|
|
15519
15217
|
}
|
|
15520
15218
|
}
|
|
15219
|
+
|
|
15521
15220
|
return false;
|
|
15522
15221
|
},
|
|
15523
|
-
|
|
15524
|
-
|
|
15222
|
+
|
|
15223
|
+
/**
|
|
15224
|
+
* Get the list of suggested terms
|
|
15525
15225
|
*/
|
|
15526
15226
|
searchSuggestions: function searchSuggestions(term) {
|
|
15527
15227
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -15586,15 +15286,17 @@ var mapResize = function mapResize(map) {
|
|
|
15586
15286
|
type: String,
|
|
15587
15287
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
15588
15288
|
},
|
|
15589
|
-
|
|
15590
|
-
|
|
15289
|
+
|
|
15290
|
+
/**
|
|
15291
|
+
* State containing state of the flatmap.
|
|
15591
15292
|
*/
|
|
15592
15293
|
state: {
|
|
15593
15294
|
type: Object,
|
|
15594
15295
|
default: undefined
|
|
15595
15296
|
},
|
|
15596
|
-
|
|
15597
|
-
|
|
15297
|
+
|
|
15298
|
+
/**
|
|
15299
|
+
* Specify the endpoint of the flatmap server.
|
|
15598
15300
|
*/
|
|
15599
15301
|
flatmapAPI: {
|
|
15600
15302
|
type: String,
|
|
@@ -15644,7 +15346,9 @@ var mapResize = function mapResize(map) {
|
|
|
15644
15346
|
featureIds: []
|
|
15645
15347
|
},
|
|
15646
15348
|
colourRadio: true,
|
|
15647
|
-
outlinesRadio: true
|
|
15349
|
+
outlinesRadio: true,
|
|
15350
|
+
minimapResizeShow: false,
|
|
15351
|
+
minimapSmall: false
|
|
15648
15352
|
};
|
|
15649
15353
|
},
|
|
15650
15354
|
watch: {
|
|
@@ -15664,14 +15368,15 @@ var mapResize = function mapResize(map) {
|
|
|
15664
15368
|
},
|
|
15665
15369
|
mounted: function mounted() {
|
|
15666
15370
|
var flatmap = __webpack_require__("4979");
|
|
15371
|
+
|
|
15667
15372
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
15668
15373
|
if (this.renderAtMounted) this.createFlatmap();
|
|
15669
15374
|
}
|
|
15670
15375
|
});
|
|
15671
15376
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15672
15377
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
15673
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
15674
|
-
var
|
|
15378
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=20b4e460&scoped=true&lang=scss&
|
|
15379
|
+
var FlatmapVuervue_type_style_index_0_id_20b4e460_scoped_true_lang_scss_ = __webpack_require__("1b11");
|
|
15675
15380
|
|
|
15676
15381
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
15677
15382
|
|
|
@@ -15688,127 +15393,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
15688
15393
|
staticRenderFns,
|
|
15689
15394
|
false,
|
|
15690
15395
|
null,
|
|
15691
|
-
"
|
|
15396
|
+
"20b4e460",
|
|
15692
15397
|
null
|
|
15693
15398
|
|
|
15694
15399
|
)
|
|
15695
15400
|
|
|
15696
15401
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
15697
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15698
|
-
var
|
|
15699
|
-
|
|
15700
|
-
_c = _vm._self._c;
|
|
15701
|
-
return _c('div', {
|
|
15702
|
-
staticClass: "multi-container"
|
|
15703
|
-
}, [_c('div', {
|
|
15704
|
-
staticStyle: {
|
|
15705
|
-
"position": "absolute",
|
|
15706
|
-
"z-index": "10"
|
|
15707
|
-
}
|
|
15708
|
-
}, [_c('div', {
|
|
15709
|
-
staticClass: "species-display-text"
|
|
15710
|
-
}, [_vm._v(" Species ")]), _c('el-popover', {
|
|
15711
|
-
ref: "selectPopover",
|
|
15712
|
-
attrs: {
|
|
15713
|
-
"content": "Select a species",
|
|
15714
|
-
"placement": "right",
|
|
15715
|
-
"appendToBody": false,
|
|
15716
|
-
"trigger": "manual",
|
|
15717
|
-
"popper-class": "flatmap-popper right-popper"
|
|
15718
|
-
},
|
|
15719
|
-
model: {
|
|
15720
|
-
value: _vm.helpMode,
|
|
15721
|
-
callback: function callback($$v) {
|
|
15722
|
-
_vm.helpMode = $$v;
|
|
15723
|
-
},
|
|
15724
|
-
expression: "helpMode"
|
|
15725
|
-
}
|
|
15726
|
-
}), _c('el-select', {
|
|
15727
|
-
directives: [{
|
|
15728
|
-
name: "popover",
|
|
15729
|
-
rawName: "v-popover:selectPopover",
|
|
15730
|
-
arg: "selectPopover"
|
|
15731
|
-
}],
|
|
15732
|
-
staticClass: "select-box",
|
|
15733
|
-
attrs: {
|
|
15734
|
-
"id": "flatmap-select",
|
|
15735
|
-
"popper-append-to-body": _vm.appendToBody,
|
|
15736
|
-
"placeholder": "Select",
|
|
15737
|
-
"popper-class": "flatmap_dropdown"
|
|
15738
|
-
},
|
|
15739
|
-
on: {
|
|
15740
|
-
"change": _vm.setSpecies
|
|
15741
|
-
},
|
|
15742
|
-
model: {
|
|
15743
|
-
value: _vm.activeSpecies,
|
|
15744
|
-
callback: function callback($$v) {
|
|
15745
|
-
_vm.activeSpecies = $$v;
|
|
15746
|
-
},
|
|
15747
|
-
expression: "activeSpecies"
|
|
15748
|
-
}
|
|
15749
|
-
}, _vm._l(_vm.speciesList, function (item, key) {
|
|
15750
|
-
return _c('el-option', {
|
|
15751
|
-
key: key,
|
|
15752
|
-
attrs: {
|
|
15753
|
-
"label": key,
|
|
15754
|
-
"value": key
|
|
15755
|
-
}
|
|
15756
|
-
}, [_c('el-row', [_c('el-col', {
|
|
15757
|
-
attrs: {
|
|
15758
|
-
"span": 8
|
|
15759
|
-
}
|
|
15760
|
-
}, [_c('i', {
|
|
15761
|
-
class: item.iconClass
|
|
15762
|
-
})]), _c('el-col', {
|
|
15763
|
-
attrs: {
|
|
15764
|
-
"span": 12
|
|
15765
|
-
}
|
|
15766
|
-
}, [_vm._v(_vm._s(key))])], 1)], 1);
|
|
15767
|
-
}), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
|
|
15768
|
-
return _c('FlatmapVuer', {
|
|
15769
|
-
directives: [{
|
|
15770
|
-
name: "show",
|
|
15771
|
-
rawName: "v-show",
|
|
15772
|
-
value: _vm.activeSpecies == key,
|
|
15773
|
-
expression: "activeSpecies==key"
|
|
15774
|
-
}],
|
|
15775
|
-
key: key,
|
|
15776
|
-
ref: key,
|
|
15777
|
-
refInFor: true,
|
|
15778
|
-
staticStyle: {
|
|
15779
|
-
"height": "100%"
|
|
15780
|
-
},
|
|
15781
|
-
attrs: {
|
|
15782
|
-
"showLayer": _vm.showLayer,
|
|
15783
|
-
"entry": item.taxo,
|
|
15784
|
-
"biologicalSex": item.biologicalSex,
|
|
15785
|
-
"displayWarning": item.displayWarning,
|
|
15786
|
-
"warningMessage": _vm.warningMessage,
|
|
15787
|
-
"displayLatestChanges": item.displayLatestChanges,
|
|
15788
|
-
"latestChangesMessage": item.latestChangesMessage,
|
|
15789
|
-
"isLegacy": item.isLegacy,
|
|
15790
|
-
"featureInfo": _vm.featureInfo,
|
|
15791
|
-
"minZoom": _vm.minZoom,
|
|
15792
|
-
"pathControls": _vm.pathControls,
|
|
15793
|
-
"searchable": _vm.searchable,
|
|
15794
|
-
"helpMode": _vm.helpMode,
|
|
15795
|
-
"renderAtMounted": _vm.renderAtMounted,
|
|
15796
|
-
"displayMinimap": _vm.displayMinimap,
|
|
15797
|
-
"flatmapAPI": _vm.flatmapAPI,
|
|
15798
|
-
"sparcAPI": _vm.sparcAPI
|
|
15799
|
-
},
|
|
15800
|
-
on: {
|
|
15801
|
-
"view-latest-map": _vm.viewLatestMap,
|
|
15802
|
-
"resource-selected": _vm.FlatmapSelected,
|
|
15803
|
-
"ready": _vm.FlatmapReady,
|
|
15804
|
-
"pan-zoom-callback": _vm.panZoomCallback
|
|
15805
|
-
}
|
|
15806
|
-
});
|
|
15807
|
-
})], 2);
|
|
15808
|
-
};
|
|
15809
|
-
var MultiFlatmapVuervue_type_template_id_b3d66562_scoped_true_staticRenderFns = [];
|
|
15402
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=6b4bad1c&scoped=true&
|
|
15403
|
+
var MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"multiContainer",staticClass:"multi-container"},[_c('div',{staticStyle:{"position":"absolute","z-index":"10"}},[_c('div',{staticClass:"species-display-text"},[_vm._v(" Species ")]),_c('el-popover',{ref:"selectPopover",attrs:{"content":"Select a species","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.helpMode),callback:function ($$v) {_vm.helpMode=$$v},expression:"helpMode"}}),_c('el-select',{directives:[{name:"popover",rawName:"v-popover:selectPopover",arg:"selectPopover"}],staticClass:"select-box",attrs:{"id":"flatmap-select","popper-append-to-body":_vm.appendToBody,"placeholder":"Select","popper-class":"flatmap_dropdown"},on:{"change":_vm.setSpecies},model:{value:(_vm.activeSpecies),callback:function ($$v) {_vm.activeSpecies=$$v},expression:"activeSpecies"}},_vm._l((_vm.speciesList),function(item,key){return _c('el-option',{key:key,attrs:{"label":key,"value":key}},[_c('el-row',[_c('el-col',{attrs:{"span":8}},[_c('i',{class:item.iconClass})]),_c('el-col',{attrs:{"span":12}},[_vm._v(_vm._s(key))])],1)],1)}),1)],1),_vm._l((_vm.speciesList),function(item,key){return _c('FlatmapVuer',{directives:[{name:"show",rawName:"v-show",value:(_vm.activeSpecies==key),expression:"activeSpecies==key"}],key:key,ref:key,refInFor:true,staticStyle:{"height":"100%"},attrs:{"showLayer":_vm.showLayer,"entry":item.taxo,"biologicalSex":item.biologicalSex,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"isLegacy":item.isLegacy,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI,"sparcAPI":_vm.sparcAPI},on:{"view-latest-map":_vm.viewLatestMap,"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
|
|
15404
|
+
var MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns = []
|
|
15810
15405
|
|
|
15811
|
-
|
|
15406
|
+
|
|
15407
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=6b4bad1c&scoped=true&
|
|
15812
15408
|
|
|
15813
15409
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
15814
15410
|
var popover = __webpack_require__("06f1");
|
|
@@ -15834,7 +15430,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
15834
15430
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
15835
15431
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
15836
15432
|
|
|
15837
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
15433
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
15838
15434
|
|
|
15839
15435
|
|
|
15840
15436
|
|
|
@@ -15856,6 +15452,65 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
15856
15452
|
|
|
15857
15453
|
|
|
15858
15454
|
|
|
15455
|
+
//
|
|
15456
|
+
//
|
|
15457
|
+
//
|
|
15458
|
+
//
|
|
15459
|
+
//
|
|
15460
|
+
//
|
|
15461
|
+
//
|
|
15462
|
+
//
|
|
15463
|
+
//
|
|
15464
|
+
//
|
|
15465
|
+
//
|
|
15466
|
+
//
|
|
15467
|
+
//
|
|
15468
|
+
//
|
|
15469
|
+
//
|
|
15470
|
+
//
|
|
15471
|
+
//
|
|
15472
|
+
//
|
|
15473
|
+
//
|
|
15474
|
+
//
|
|
15475
|
+
//
|
|
15476
|
+
//
|
|
15477
|
+
//
|
|
15478
|
+
//
|
|
15479
|
+
//
|
|
15480
|
+
//
|
|
15481
|
+
//
|
|
15482
|
+
//
|
|
15483
|
+
//
|
|
15484
|
+
//
|
|
15485
|
+
//
|
|
15486
|
+
//
|
|
15487
|
+
//
|
|
15488
|
+
//
|
|
15489
|
+
//
|
|
15490
|
+
//
|
|
15491
|
+
//
|
|
15492
|
+
//
|
|
15493
|
+
//
|
|
15494
|
+
//
|
|
15495
|
+
//
|
|
15496
|
+
//
|
|
15497
|
+
//
|
|
15498
|
+
//
|
|
15499
|
+
//
|
|
15500
|
+
//
|
|
15501
|
+
//
|
|
15502
|
+
//
|
|
15503
|
+
//
|
|
15504
|
+
//
|
|
15505
|
+
//
|
|
15506
|
+
//
|
|
15507
|
+
//
|
|
15508
|
+
//
|
|
15509
|
+
//
|
|
15510
|
+
//
|
|
15511
|
+
//
|
|
15512
|
+
//
|
|
15513
|
+
//
|
|
15859
15514
|
|
|
15860
15515
|
/* eslint-disable no-alert, no-console */
|
|
15861
15516
|
|
|
@@ -15889,6 +15544,7 @@ var TAXON_UUID = {
|
|
|
15889
15544
|
},
|
|
15890
15545
|
mounted: function mounted() {
|
|
15891
15546
|
var _this = this;
|
|
15547
|
+
|
|
15892
15548
|
this.initialise();
|
|
15893
15549
|
components_EventBus.$on('onActionClick', function (action) {
|
|
15894
15550
|
_this.FlatmapSelected(action);
|
|
@@ -15897,6 +15553,7 @@ var TAXON_UUID = {
|
|
|
15897
15553
|
methods: {
|
|
15898
15554
|
initialise: function initialise() {
|
|
15899
15555
|
var _this2 = this;
|
|
15556
|
+
|
|
15900
15557
|
return new Promise(function (resolve) {
|
|
15901
15558
|
if (_this2.requireInitialisation) {
|
|
15902
15559
|
//It has not been initialised yet
|
|
@@ -15912,21 +15569,25 @@ var TAXON_UUID = {
|
|
|
15912
15569
|
if (_this2.availableSpecies[key].biologicalSex) {
|
|
15913
15570
|
if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
|
|
15914
15571
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15572
|
+
|
|
15915
15573
|
break;
|
|
15916
15574
|
}
|
|
15917
15575
|
} else {
|
|
15918
15576
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15577
|
+
|
|
15919
15578
|
break;
|
|
15920
15579
|
}
|
|
15921
15580
|
}
|
|
15922
15581
|
}
|
|
15923
|
-
});
|
|
15924
|
-
|
|
15582
|
+
}); //Use the state species if it does not have any other species information
|
|
15583
|
+
|
|
15925
15584
|
var species = _this2.initial;
|
|
15585
|
+
|
|
15926
15586
|
if (_this2.state) {
|
|
15927
15587
|
var mapState = _this2.state.state;
|
|
15928
15588
|
if ((!mapState || !mapState.uuid && !mapState.entry) && _this2.state.species) species = _this2.state.species;else species = undefined;
|
|
15929
15589
|
}
|
|
15590
|
+
|
|
15930
15591
|
if (species) {
|
|
15931
15592
|
//No state resuming, set the current flatmap to {this.initial}
|
|
15932
15593
|
if (species && _this2.speciesList[species] !== undefined) {
|
|
@@ -15934,11 +15595,13 @@ var TAXON_UUID = {
|
|
|
15934
15595
|
} else {
|
|
15935
15596
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
15936
15597
|
}
|
|
15598
|
+
|
|
15937
15599
|
_this2.setSpecies(_this2.activeSpecies, _this2.state ? _this2.state.state : undefined, 5);
|
|
15938
15600
|
}
|
|
15601
|
+
|
|
15939
15602
|
_this2._initialised = true;
|
|
15940
|
-
resolve();
|
|
15941
|
-
|
|
15603
|
+
resolve(); //Resolve all other promises resolve in the list
|
|
15604
|
+
|
|
15942
15605
|
_this2._resolveList.forEach(function (other) {
|
|
15943
15606
|
other();
|
|
15944
15607
|
});
|
|
@@ -15957,12 +15620,15 @@ var TAXON_UUID = {
|
|
|
15957
15620
|
},
|
|
15958
15621
|
FlatmapReady: function FlatmapReady(component) {
|
|
15959
15622
|
this.$emit("ready", component);
|
|
15623
|
+
this.addCloseButtonToMinimap();
|
|
15960
15624
|
},
|
|
15961
15625
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
15962
15626
|
var flatmap = this.$refs[this.activeSpecies];
|
|
15627
|
+
|
|
15963
15628
|
if (flatmap && flatmap[0]) {
|
|
15964
15629
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
15965
15630
|
}
|
|
15631
|
+
|
|
15966
15632
|
return undefined;
|
|
15967
15633
|
},
|
|
15968
15634
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -15981,12 +15647,14 @@ var TAXON_UUID = {
|
|
|
15981
15647
|
},
|
|
15982
15648
|
setSpecies: function setSpecies(species, state, numberOfRetry) {
|
|
15983
15649
|
var _this3 = this;
|
|
15650
|
+
|
|
15984
15651
|
if (this.$refs && species in this.$refs) {
|
|
15985
15652
|
this.activeSpecies = species;
|
|
15986
15653
|
this.$refs[this.activeSpecies][0].createFlatmap(state);
|
|
15987
15654
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
15988
15655
|
} else if (numberOfRetry) {
|
|
15989
15656
|
var retry = numberOfRetry - 1;
|
|
15657
|
+
|
|
15990
15658
|
if (retry >= 0) {
|
|
15991
15659
|
external_vue_default.a.nextTick(function () {
|
|
15992
15660
|
_this3.setSpecies(species, state, retry);
|
|
@@ -15994,33 +15662,39 @@ var TAXON_UUID = {
|
|
|
15994
15662
|
}
|
|
15995
15663
|
}
|
|
15996
15664
|
},
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
*
|
|
16000
|
-
*
|
|
16001
|
-
*
|
|
15665
|
+
|
|
15666
|
+
/**
|
|
15667
|
+
* Function to switch to the latest existing map from
|
|
15668
|
+
* a legacy map of the same species.
|
|
15669
|
+
*
|
|
15670
|
+
* @private
|
|
16002
15671
|
*/
|
|
16003
15672
|
viewLatestMap: function viewLatestMap(state) {
|
|
16004
15673
|
var keys = Object.keys(this.speciesList);
|
|
15674
|
+
|
|
16005
15675
|
for (var i = 0; i < keys.length; i++) {
|
|
16006
15676
|
var species = this.speciesList[keys[i]];
|
|
15677
|
+
|
|
16007
15678
|
if (!species.isLegacy && species.taxo === state.entry && species.biologicalSex === state.biologicalSex) {
|
|
16008
15679
|
this.setSpecies(keys[i], state, 0);
|
|
16009
15680
|
return;
|
|
16010
15681
|
}
|
|
16011
15682
|
}
|
|
16012
15683
|
},
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
*
|
|
16016
|
-
*
|
|
15684
|
+
|
|
15685
|
+
/**
|
|
15686
|
+
* Create a legacy entry with the provided information
|
|
15687
|
+
*
|
|
15688
|
+
* @private
|
|
16017
15689
|
*/
|
|
16018
15690
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
16019
15691
|
if (uuid && taxo) {
|
|
16020
15692
|
var name = "Legacy";
|
|
15693
|
+
|
|
16021
15694
|
if (state.species) {
|
|
16022
15695
|
if (state.species.slice(0, 6) === "Legacy") name = state.species;else name = name + " ".concat(state.species);
|
|
16023
15696
|
}
|
|
15697
|
+
|
|
16024
15698
|
this.$set(this.speciesList, name, {
|
|
16025
15699
|
taxo: taxo,
|
|
16026
15700
|
isLegacy: true,
|
|
@@ -16037,30 +15711,34 @@ var TAXON_UUID = {
|
|
|
16037
15711
|
};
|
|
16038
15712
|
}
|
|
16039
15713
|
},
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
*
|
|
16043
|
-
*
|
|
16044
|
-
*
|
|
15714
|
+
|
|
15715
|
+
/**
|
|
15716
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
15717
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
15718
|
+
*
|
|
15719
|
+
* @private
|
|
16045
15720
|
*/
|
|
16046
15721
|
updateState: function updateState(state) {
|
|
16047
15722
|
var _this4 = this;
|
|
15723
|
+
|
|
16048
15724
|
return new Promise(function (resolve) {
|
|
16049
15725
|
if (state && state.state) {
|
|
16050
|
-
var mapState = state.state;
|
|
16051
|
-
|
|
15726
|
+
var mapState = state.state; //uuid is not in the state, this is a legacy map
|
|
15727
|
+
|
|
16052
15728
|
if (!mapState.uuid) {
|
|
16053
15729
|
if (mapState.entry) {
|
|
16054
15730
|
var uuid = mapState.entry in TAXON_UUID ? TAXON_UUID[mapState.entry] : undefined;
|
|
15731
|
+
|
|
16055
15732
|
var newState = _this4.createLegacyEntry(state, mapState.entry, uuid);
|
|
15733
|
+
|
|
16056
15734
|
resolve(newState ? newState : state);
|
|
16057
15735
|
}
|
|
16058
15736
|
} else if (mapState.entry) {
|
|
16059
15737
|
//uuid is in the state but should be checked if it is the latest map
|
|
16060
15738
|
//for that taxon
|
|
16061
15739
|
return new Promise(function () {
|
|
16062
|
-
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
16063
|
-
|
|
15740
|
+
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI); //mapManager.findMap_ is an async function so we need to wrap this with a promise
|
|
15741
|
+
|
|
16064
15742
|
var identifier = {
|
|
16065
15743
|
taxon: mapState.entry
|
|
16066
15744
|
};
|
|
@@ -16075,18 +15753,19 @@ var TAXON_UUID = {
|
|
|
16075
15753
|
resolve(state);
|
|
16076
15754
|
});
|
|
16077
15755
|
});
|
|
16078
|
-
}
|
|
16079
|
-
|
|
15756
|
+
} //Create a new state and add the legacy map to the select
|
|
15757
|
+
|
|
16080
15758
|
}
|
|
16081
15759
|
|
|
16082
15760
|
resolve(state);
|
|
16083
15761
|
});
|
|
16084
15762
|
},
|
|
16085
|
-
|
|
16086
|
-
|
|
16087
|
-
*
|
|
16088
|
-
*
|
|
16089
|
-
*
|
|
15763
|
+
|
|
15764
|
+
/**
|
|
15765
|
+
* Function used for getting the current states of the scene. This exported states
|
|
15766
|
+
* can be imported using the importStates method.
|
|
15767
|
+
*
|
|
15768
|
+
* @public
|
|
16090
15769
|
*/
|
|
16091
15770
|
getState: function getState() {
|
|
16092
15771
|
var state = {
|
|
@@ -16097,14 +15776,16 @@ var TAXON_UUID = {
|
|
|
16097
15776
|
state.state = map.getState();
|
|
16098
15777
|
return state;
|
|
16099
15778
|
},
|
|
16100
|
-
|
|
16101
|
-
|
|
16102
|
-
*
|
|
16103
|
-
*
|
|
16104
|
-
*
|
|
15779
|
+
|
|
15780
|
+
/**
|
|
15781
|
+
* Function used for importing the states of the scene. This exported states
|
|
15782
|
+
* can be imported using the read states method.
|
|
15783
|
+
*
|
|
15784
|
+
* @public
|
|
16105
15785
|
*/
|
|
16106
15786
|
setState: function setState(state) {
|
|
16107
15787
|
var _this5 = this;
|
|
15788
|
+
|
|
16108
15789
|
if (state) {
|
|
16109
15790
|
//Update state if required
|
|
16110
15791
|
this.updateState(state).then(function (currentState) {
|
|
@@ -16113,6 +15794,7 @@ var TAXON_UUID = {
|
|
|
16113
15794
|
_this5.setSpecies(currentState.species, currentState.state, 5);
|
|
16114
15795
|
} else if (currentState.state) {
|
|
16115
15796
|
var map = _this5.getCurrentFlatmap();
|
|
15797
|
+
|
|
16116
15798
|
map.setState(currentState.state);
|
|
16117
15799
|
}
|
|
16118
15800
|
});
|
|
@@ -16140,9 +15822,10 @@ var TAXON_UUID = {
|
|
|
16140
15822
|
type: Boolean,
|
|
16141
15823
|
default: false
|
|
16142
15824
|
},
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
*
|
|
15825
|
+
|
|
15826
|
+
/**
|
|
15827
|
+
* Initial species for the flatmap.
|
|
15828
|
+
* This value will be ignored if a valid state object is provided.
|
|
16146
15829
|
*/
|
|
16147
15830
|
initial: {
|
|
16148
15831
|
type: String,
|
|
@@ -16207,15 +15890,17 @@ var TAXON_UUID = {
|
|
|
16207
15890
|
};
|
|
16208
15891
|
}
|
|
16209
15892
|
},
|
|
16210
|
-
|
|
16211
|
-
|
|
15893
|
+
|
|
15894
|
+
/**
|
|
15895
|
+
* State containing state of the flatmap.
|
|
16212
15896
|
*/
|
|
16213
15897
|
state: {
|
|
16214
15898
|
type: Object,
|
|
16215
15899
|
default: undefined
|
|
16216
15900
|
},
|
|
16217
|
-
|
|
16218
|
-
|
|
15901
|
+
|
|
15902
|
+
/**
|
|
15903
|
+
* Specify the endpoint of the flatmap server.
|
|
16219
15904
|
*/
|
|
16220
15905
|
flatmapAPI: {
|
|
16221
15906
|
type: String,
|
|
@@ -16246,8 +15931,8 @@ var TAXON_UUID = {
|
|
|
16246
15931
|
});
|
|
16247
15932
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
16248
15933
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
16249
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16250
|
-
var
|
|
15934
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=6b4bad1c&scoped=true&lang=scss&
|
|
15935
|
+
var MultiFlatmapVuervue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss_ = __webpack_require__("c033");
|
|
16251
15936
|
|
|
16252
15937
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
16253
15938
|
|
|
@@ -16260,11 +15945,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_b3d66562_prod_scoped_true_lang_scs
|
|
|
16260
15945
|
|
|
16261
15946
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
16262
15947
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
16263
|
-
|
|
16264
|
-
|
|
15948
|
+
MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_render,
|
|
15949
|
+
MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns,
|
|
16265
15950
|
false,
|
|
16266
15951
|
null,
|
|
16267
|
-
"
|
|
15952
|
+
"6b4bad1c",
|
|
16268
15953
|
null
|
|
16269
15954
|
|
|
16270
15955
|
)
|