@abi-software/flatmapvuer 0.3.13-beta-2 → 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 +916 -1230
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +916 -1230
- 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 -1561
- package/src/components/MultiFlatmapVuer.vue +511 -506
- 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
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
-
/***/ "
|
|
90
|
+
/***/ "0242":
|
|
91
91
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
92
|
|
|
93
93
|
// extracted by mini-css-extract-plugin
|
|
@@ -101,6 +101,13 @@ module.exports =
|
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
104
|
+
/***/ "0cda":
|
|
105
|
+
/***/ (function(module, exports) {
|
|
106
|
+
|
|
107
|
+
module.exports = require("core-js/modules/es.string.split.js");
|
|
108
|
+
|
|
109
|
+
/***/ }),
|
|
110
|
+
|
|
104
111
|
/***/ "0f6c":
|
|
105
112
|
/***/ (function(module, exports) {
|
|
106
113
|
|
|
@@ -188,12 +195,12 @@ module.exports =
|
|
|
188
195
|
/******/
|
|
189
196
|
/******/
|
|
190
197
|
/******/ // Load entry module and return exports
|
|
191
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
198
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
192
199
|
/******/ })
|
|
193
200
|
/************************************************************************/
|
|
194
201
|
/******/ ({
|
|
195
202
|
|
|
196
|
-
/***/
|
|
203
|
+
/***/ 132:
|
|
197
204
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
198
205
|
|
|
199
206
|
"use strict";
|
|
@@ -216,7 +223,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
216
223
|
type: String,
|
|
217
224
|
default: 'start'
|
|
218
225
|
},
|
|
219
|
-
align:
|
|
226
|
+
align: {
|
|
227
|
+
type: String,
|
|
228
|
+
default: 'top'
|
|
229
|
+
}
|
|
220
230
|
},
|
|
221
231
|
|
|
222
232
|
computed: {
|
|
@@ -234,7 +244,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
234
244
|
|
|
235
245
|
render: function render(h) {
|
|
236
246
|
return h(this.tag, {
|
|
237
|
-
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
247
|
+
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
238
248
|
style: this.style
|
|
239
249
|
}, this.$slots.default);
|
|
240
250
|
}
|
|
@@ -275,6 +285,17 @@ exports.default = function (ref) {
|
|
|
275
285
|
|
|
276
286
|
;
|
|
277
287
|
|
|
288
|
+
/***/ }),
|
|
289
|
+
|
|
290
|
+
/***/ "13aa":
|
|
291
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
292
|
+
|
|
293
|
+
"use strict";
|
|
294
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c4c7");
|
|
295
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Tooltip_vue_vue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
296
|
+
/* unused harmony reexport * */
|
|
297
|
+
|
|
298
|
+
|
|
278
299
|
/***/ }),
|
|
279
300
|
|
|
280
301
|
/***/ "13e3":
|
|
@@ -371,12 +392,12 @@ module.exports =
|
|
|
371
392
|
/******/
|
|
372
393
|
/******/
|
|
373
394
|
/******/ // Load entry module and return exports
|
|
374
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
395
|
+
/******/ return __webpack_require__(__webpack_require__.s = 127);
|
|
375
396
|
/******/ })
|
|
376
397
|
/************************************************************************/
|
|
377
398
|
/******/ ({
|
|
378
399
|
|
|
379
|
-
/***/
|
|
400
|
+
/***/ 127:
|
|
380
401
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
381
402
|
|
|
382
403
|
"use strict";
|
|
@@ -386,7 +407,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
386
407
|
var resize_event_ = __webpack_require__(16);
|
|
387
408
|
|
|
388
409
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
|
|
389
|
-
var scrollbar_width_ = __webpack_require__(
|
|
410
|
+
var scrollbar_width_ = __webpack_require__(38);
|
|
390
411
|
var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
|
|
391
412
|
|
|
392
413
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -701,7 +722,7 @@ module.exports = __webpack_require__("8122");
|
|
|
701
722
|
|
|
702
723
|
/***/ }),
|
|
703
724
|
|
|
704
|
-
/***/
|
|
725
|
+
/***/ 38:
|
|
705
726
|
/***/ (function(module, exports) {
|
|
706
727
|
|
|
707
728
|
module.exports = __webpack_require__("e62d");
|
|
@@ -733,45 +754,31 @@ module.exports = require("core-js/modules/es.array.filter.js");
|
|
|
733
754
|
|
|
734
755
|
/***/ }),
|
|
735
756
|
|
|
736
|
-
/***/ "
|
|
737
|
-
/***/ (function(module,
|
|
757
|
+
/***/ "1b11":
|
|
758
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
759
|
+
|
|
760
|
+
"use strict";
|
|
761
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5ca3");
|
|
762
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
763
|
+
/* unused harmony reexport * */
|
|
738
764
|
|
|
739
|
-
module.exports = require("core-js/modules/es.string.search.js");
|
|
740
765
|
|
|
741
766
|
/***/ }),
|
|
742
767
|
|
|
743
|
-
/***/ "
|
|
744
|
-
/***/ (function(module, exports
|
|
768
|
+
/***/ "1c32":
|
|
769
|
+
/***/ (function(module, exports) {
|
|
745
770
|
|
|
746
|
-
|
|
771
|
+
module.exports = require("core-js/modules/es.string.search.js");
|
|
747
772
|
|
|
748
773
|
/***/ }),
|
|
749
774
|
|
|
750
|
-
/***/ "
|
|
775
|
+
/***/ "1f1a":
|
|
751
776
|
/***/ (function(module, exports, __webpack_require__) {
|
|
752
777
|
|
|
753
778
|
// extracted by mini-css-extract-plugin
|
|
754
779
|
|
|
755
780
|
/***/ }),
|
|
756
781
|
|
|
757
|
-
/***/ "233b":
|
|
758
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
759
|
-
|
|
760
|
-
"use strict";
|
|
761
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_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");
|
|
762
|
-
/* 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__);
|
|
763
|
-
/* unused harmony reexport * */
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
/***/ }),
|
|
767
|
-
|
|
768
|
-
/***/ "2439":
|
|
769
|
-
/***/ (function(module, exports) {
|
|
770
|
-
|
|
771
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
772
|
-
|
|
773
|
-
/***/ }),
|
|
774
|
-
|
|
775
782
|
/***/ "2a5e":
|
|
776
783
|
/***/ (function(module, exports, __webpack_require__) {
|
|
777
784
|
|
|
@@ -905,17 +912,6 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
|
|
|
905
912
|
|
|
906
913
|
module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
907
914
|
|
|
908
|
-
/***/ }),
|
|
909
|
-
|
|
910
|
-
/***/ "318c":
|
|
911
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
912
|
-
|
|
913
|
-
"use strict";
|
|
914
|
-
/* 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");
|
|
915
|
-
/* 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__);
|
|
916
|
-
/* unused harmony reexport * */
|
|
917
|
-
|
|
918
|
-
|
|
919
915
|
/***/ }),
|
|
920
916
|
|
|
921
917
|
/***/ "3d2d":
|
|
@@ -1005,7 +1001,7 @@ module.exports =
|
|
|
1005
1001
|
/******/
|
|
1006
1002
|
/******/
|
|
1007
1003
|
/******/ // Load entry module and return exports
|
|
1008
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1004
|
+
/******/ return __webpack_require__(__webpack_require__.s = 94);
|
|
1009
1005
|
/******/ })
|
|
1010
1006
|
/************************************************************************/
|
|
1011
1007
|
/******/ ({
|
|
@@ -1112,7 +1108,7 @@ function normalizeComponent (
|
|
|
1112
1108
|
|
|
1113
1109
|
/***/ }),
|
|
1114
1110
|
|
|
1115
|
-
/***/
|
|
1111
|
+
/***/ 94:
|
|
1116
1112
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1117
1113
|
|
|
1118
1114
|
"use strict";
|
|
@@ -1224,8 +1220,6 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
|
1224
1220
|
|
|
1225
1221
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1226
1222
|
|
|
1227
|
-
var _throttleDebounce = __webpack_require__("831f");
|
|
1228
|
-
|
|
1229
1223
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1230
1224
|
|
|
1231
1225
|
var isServer = typeof window === 'undefined';
|
|
@@ -1260,7 +1254,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
|
|
|
1260
1254
|
if (isServer) return;
|
|
1261
1255
|
if (!element.__resizeListeners__) {
|
|
1262
1256
|
element.__resizeListeners__ = [];
|
|
1263
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(
|
|
1257
|
+
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1264
1258
|
element.__ro__.observe(element);
|
|
1265
1259
|
}
|
|
1266
1260
|
element.__resizeListeners__.push(fn);
|
|
@@ -1781,7 +1775,7 @@ module.exports =
|
|
|
1781
1775
|
/******/
|
|
1782
1776
|
/******/
|
|
1783
1777
|
/******/ // Load entry module and return exports
|
|
1784
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1778
|
+
/******/ return __webpack_require__(__webpack_require__.s = 61);
|
|
1785
1779
|
/******/ })
|
|
1786
1780
|
/************************************************************************/
|
|
1787
1781
|
/******/ ({
|
|
@@ -1916,7 +1910,7 @@ module.exports = __webpack_require__("4010");
|
|
|
1916
1910
|
|
|
1917
1911
|
/***/ }),
|
|
1918
1912
|
|
|
1919
|
-
/***/
|
|
1913
|
+
/***/ 17:
|
|
1920
1914
|
/***/ (function(module, exports) {
|
|
1921
1915
|
|
|
1922
1916
|
module.exports = __webpack_require__("7435");
|
|
@@ -1944,14 +1938,14 @@ module.exports = __webpack_require__("8122");
|
|
|
1944
1938
|
|
|
1945
1939
|
/***/ }),
|
|
1946
1940
|
|
|
1947
|
-
/***/
|
|
1941
|
+
/***/ 31:
|
|
1948
1942
|
/***/ (function(module, exports) {
|
|
1949
1943
|
|
|
1950
1944
|
module.exports = __webpack_require__("2a5e");
|
|
1951
1945
|
|
|
1952
1946
|
/***/ }),
|
|
1953
1947
|
|
|
1954
|
-
/***/
|
|
1948
|
+
/***/ 33:
|
|
1955
1949
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1956
1950
|
|
|
1957
1951
|
"use strict";
|
|
@@ -2202,7 +2196,7 @@ component.options.__file = "packages/select/src/option.vue"
|
|
|
2202
2196
|
|
|
2203
2197
|
/***/ }),
|
|
2204
2198
|
|
|
2205
|
-
/***/
|
|
2199
|
+
/***/ 37:
|
|
2206
2200
|
/***/ (function(module, exports) {
|
|
2207
2201
|
|
|
2208
2202
|
module.exports = __webpack_require__("8bbc");
|
|
@@ -2230,7 +2224,7 @@ module.exports = __webpack_require__("6b7c");
|
|
|
2230
2224
|
|
|
2231
2225
|
/***/ }),
|
|
2232
2226
|
|
|
2233
|
-
/***/
|
|
2227
|
+
/***/ 61:
|
|
2234
2228
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2235
2229
|
|
|
2236
2230
|
"use strict";
|
|
@@ -2396,7 +2390,7 @@ var render = function() {
|
|
|
2396
2390
|
return null
|
|
2397
2391
|
}
|
|
2398
2392
|
$event.preventDefault()
|
|
2399
|
-
_vm.
|
|
2393
|
+
_vm.navigateOptions("next")
|
|
2400
2394
|
},
|
|
2401
2395
|
function($event) {
|
|
2402
2396
|
if (
|
|
@@ -2409,7 +2403,7 @@ var render = function() {
|
|
|
2409
2403
|
return null
|
|
2410
2404
|
}
|
|
2411
2405
|
$event.preventDefault()
|
|
2412
|
-
_vm.
|
|
2406
|
+
_vm.navigateOptions("prev")
|
|
2413
2407
|
},
|
|
2414
2408
|
function($event) {
|
|
2415
2409
|
if (
|
|
@@ -2502,15 +2496,11 @@ var render = function() {
|
|
|
2502
2496
|
"validate-event": false,
|
|
2503
2497
|
tabindex: _vm.multiple && _vm.filterable ? "-1" : null
|
|
2504
2498
|
},
|
|
2505
|
-
on: {
|
|
2506
|
-
focus: _vm.handleFocus,
|
|
2507
|
-
blur: _vm.handleBlur,
|
|
2508
|
-
input: _vm.debouncedOnInputChange,
|
|
2509
|
-
compositionstart: _vm.handleComposition,
|
|
2510
|
-
compositionupdate: _vm.handleComposition,
|
|
2511
|
-
compositionend: _vm.handleComposition
|
|
2512
|
-
},
|
|
2499
|
+
on: { focus: _vm.handleFocus, blur: _vm.handleBlur },
|
|
2513
2500
|
nativeOn: {
|
|
2501
|
+
keyup: function($event) {
|
|
2502
|
+
return _vm.debouncedOnInputChange($event)
|
|
2503
|
+
},
|
|
2514
2504
|
keydown: [
|
|
2515
2505
|
function($event) {
|
|
2516
2506
|
if (
|
|
@@ -2524,7 +2514,7 @@ var render = function() {
|
|
|
2524
2514
|
}
|
|
2525
2515
|
$event.stopPropagation()
|
|
2526
2516
|
$event.preventDefault()
|
|
2527
|
-
_vm.
|
|
2517
|
+
_vm.navigateOptions("next")
|
|
2528
2518
|
},
|
|
2529
2519
|
function($event) {
|
|
2530
2520
|
if (
|
|
@@ -2538,7 +2528,7 @@ var render = function() {
|
|
|
2538
2528
|
}
|
|
2539
2529
|
$event.stopPropagation()
|
|
2540
2530
|
$event.preventDefault()
|
|
2541
|
-
_vm.
|
|
2531
|
+
_vm.navigateOptions("prev")
|
|
2542
2532
|
},
|
|
2543
2533
|
function($event) {
|
|
2544
2534
|
if (
|
|
@@ -2574,6 +2564,9 @@ var render = function() {
|
|
|
2574
2564
|
_vm.visible = false
|
|
2575
2565
|
}
|
|
2576
2566
|
],
|
|
2567
|
+
paste: function($event) {
|
|
2568
|
+
return _vm.debouncedOnInputChange($event)
|
|
2569
|
+
},
|
|
2577
2570
|
mouseenter: function($event) {
|
|
2578
2571
|
_vm.inputHovering = true
|
|
2579
2572
|
},
|
|
@@ -2859,10 +2852,10 @@ if (false) { var api; }
|
|
|
2859
2852
|
component.options.__file = "packages/select/src/select-dropdown.vue"
|
|
2860
2853
|
/* harmony default export */ var select_dropdown = (component.exports);
|
|
2861
2854
|
// EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
|
|
2862
|
-
var src_option = __webpack_require__(
|
|
2855
|
+
var src_option = __webpack_require__(33);
|
|
2863
2856
|
|
|
2864
2857
|
// EXTERNAL MODULE: external "element-ui/lib/tag"
|
|
2865
|
-
var tag_ = __webpack_require__(
|
|
2858
|
+
var tag_ = __webpack_require__(37);
|
|
2866
2859
|
var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
|
|
2867
2860
|
|
|
2868
2861
|
// EXTERNAL MODULE: external "element-ui/lib/scrollbar"
|
|
@@ -2870,7 +2863,7 @@ var scrollbar_ = __webpack_require__(15);
|
|
|
2870
2863
|
var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
2871
2864
|
|
|
2872
2865
|
// EXTERNAL MODULE: external "throttle-debounce/debounce"
|
|
2873
|
-
var debounce_ = __webpack_require__(
|
|
2866
|
+
var debounce_ = __webpack_require__(17);
|
|
2874
2867
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
2875
2868
|
|
|
2876
2869
|
// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
|
|
@@ -2881,7 +2874,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
2881
2874
|
var resize_event_ = __webpack_require__(16);
|
|
2882
2875
|
|
|
2883
2876
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
|
|
2884
|
-
var scroll_into_view_ = __webpack_require__(
|
|
2877
|
+
var scroll_into_view_ = __webpack_require__(31);
|
|
2885
2878
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
2886
2879
|
|
|
2887
2880
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -3090,8 +3083,6 @@ var shared_ = __webpack_require__(21);
|
|
|
3090
3083
|
//
|
|
3091
3084
|
//
|
|
3092
3085
|
//
|
|
3093
|
-
//
|
|
3094
|
-
//
|
|
3095
3086
|
|
|
3096
3087
|
|
|
3097
3088
|
|
|
@@ -3389,11 +3380,6 @@ var shared_ = __webpack_require__(21);
|
|
|
3389
3380
|
},
|
|
3390
3381
|
|
|
3391
3382
|
methods: {
|
|
3392
|
-
handleNavigate: function handleNavigate(direction) {
|
|
3393
|
-
if (this.isOnComposition) return;
|
|
3394
|
-
|
|
3395
|
-
this.navigateOptions(direction);
|
|
3396
|
-
},
|
|
3397
3383
|
handleComposition: function handleComposition(event) {
|
|
3398
3384
|
var _this5 = this;
|
|
3399
3385
|
|
|
@@ -3479,7 +3465,7 @@ var shared_ = __webpack_require__(21);
|
|
|
3479
3465
|
}
|
|
3480
3466
|
}
|
|
3481
3467
|
if (option) return option;
|
|
3482
|
-
var label = !isObject && !isNull && !isUndefined ?
|
|
3468
|
+
var label = !isObject && !isNull && !isUndefined ? value : '';
|
|
3483
3469
|
var newOption = {
|
|
3484
3470
|
value: value,
|
|
3485
3471
|
currentLabel: label
|
|
@@ -3519,10 +3505,10 @@ var shared_ = __webpack_require__(21);
|
|
|
3519
3505
|
handleFocus: function handleFocus(event) {
|
|
3520
3506
|
if (!this.softFocus) {
|
|
3521
3507
|
if (this.automaticDropdown || this.filterable) {
|
|
3522
|
-
|
|
3508
|
+
this.visible = true;
|
|
3509
|
+
if (this.filterable) {
|
|
3523
3510
|
this.menuVisibleOnFocus = true;
|
|
3524
3511
|
}
|
|
3525
|
-
this.visible = true;
|
|
3526
3512
|
}
|
|
3527
3513
|
this.$emit('focus', event);
|
|
3528
3514
|
} else {
|
|
@@ -3596,9 +3582,8 @@ var shared_ = __webpack_require__(21);
|
|
|
3596
3582
|
return item.tagName === 'INPUT';
|
|
3597
3583
|
})[0];
|
|
3598
3584
|
var tags = _this10.$refs.tags;
|
|
3599
|
-
var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
|
|
3600
3585
|
var sizeInMap = _this10.initialInputHeight || 40;
|
|
3601
|
-
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ?
|
|
3586
|
+
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
|
|
3602
3587
|
if (_this10.visible && _this10.emptyText !== false) {
|
|
3603
3588
|
_this10.broadcast('ElSelectDropdown', 'updatePopper');
|
|
3604
3589
|
}
|
|
@@ -4119,7 +4104,7 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4119
4104
|
|
|
4120
4105
|
/***/ }),
|
|
4121
4106
|
|
|
4122
|
-
/***/ "
|
|
4107
|
+
/***/ "58e9":
|
|
4123
4108
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4124
4109
|
|
|
4125
4110
|
// extracted by mini-css-extract-plugin
|
|
@@ -4237,7 +4222,7 @@ function addClass(el, cls) {
|
|
|
4237
4222
|
}
|
|
4238
4223
|
}
|
|
4239
4224
|
if (!el.classList) {
|
|
4240
|
-
el.
|
|
4225
|
+
el.className = curClass;
|
|
4241
4226
|
}
|
|
4242
4227
|
};
|
|
4243
4228
|
|
|
@@ -4258,7 +4243,7 @@ function removeClass(el, cls) {
|
|
|
4258
4243
|
}
|
|
4259
4244
|
}
|
|
4260
4245
|
if (!el.classList) {
|
|
4261
|
-
el.
|
|
4246
|
+
el.className = trim(curClass);
|
|
4262
4247
|
}
|
|
4263
4248
|
};
|
|
4264
4249
|
|
|
@@ -4322,10 +4307,10 @@ function setStyle(element, styleName, value) {
|
|
|
4322
4307
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4323
4308
|
if (isServer) return;
|
|
4324
4309
|
|
|
4325
|
-
var determinedDirection = vertical !== null
|
|
4310
|
+
var determinedDirection = vertical !== null || vertical !== undefined;
|
|
4326
4311
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4327
4312
|
|
|
4328
|
-
return overflow.match(/(scroll|auto
|
|
4313
|
+
return overflow.match(/(scroll|auto)/);
|
|
4329
4314
|
};
|
|
4330
4315
|
|
|
4331
4316
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4367,21 +4352,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4367
4352
|
|
|
4368
4353
|
/***/ }),
|
|
4369
4354
|
|
|
4370
|
-
/***/ "
|
|
4371
|
-
/***/ (function(module,
|
|
4372
|
-
|
|
4373
|
-
"use strict";
|
|
4374
|
-
/* 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_d2d4725e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f1ae");
|
|
4375
|
-
/* 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_d2d4725e_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_d2d4725e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
4376
|
-
/* unused harmony reexport * */
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
/***/ }),
|
|
4380
|
-
|
|
4381
|
-
/***/ "5a3b":
|
|
4382
|
-
/***/ (function(module, exports) {
|
|
4355
|
+
/***/ "5ca3":
|
|
4356
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4383
4357
|
|
|
4384
|
-
|
|
4358
|
+
// extracted by mini-css-extract-plugin
|
|
4385
4359
|
|
|
4386
4360
|
/***/ }),
|
|
4387
4361
|
|
|
@@ -5750,7 +5724,7 @@ module.exports =
|
|
|
5750
5724
|
/******/
|
|
5751
5725
|
/******/
|
|
5752
5726
|
/******/ // Load entry module and return exports
|
|
5753
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
5727
|
+
/******/ return __webpack_require__(__webpack_require__.s = 79);
|
|
5754
5728
|
/******/ })
|
|
5755
5729
|
/************************************************************************/
|
|
5756
5730
|
/******/ ({
|
|
@@ -5864,7 +5838,7 @@ module.exports = __webpack_require__("d010");
|
|
|
5864
5838
|
|
|
5865
5839
|
/***/ }),
|
|
5866
5840
|
|
|
5867
|
-
/***/
|
|
5841
|
+
/***/ 79:
|
|
5868
5842
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5869
5843
|
|
|
5870
5844
|
"use strict";
|
|
@@ -5943,9 +5917,7 @@ var keyCode = Object.freeze({
|
|
|
5943
5917
|
return (this.elFormItem || {}).elFormItemSize;
|
|
5944
5918
|
},
|
|
5945
5919
|
_elTag: function _elTag() {
|
|
5946
|
-
|
|
5947
|
-
if (!tag || tag === 'component') tag = 'div';
|
|
5948
|
-
return tag;
|
|
5920
|
+
return (this.$vnode.data || {}).tag || 'div';
|
|
5949
5921
|
},
|
|
5950
5922
|
radioGroupSize: function radioGroupSize() {
|
|
5951
5923
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
@@ -6146,7 +6118,7 @@ module.exports =
|
|
|
6146
6118
|
/******/
|
|
6147
6119
|
/******/
|
|
6148
6120
|
/******/ // Load entry module and return exports
|
|
6149
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6121
|
+
/******/ return __webpack_require__(__webpack_require__.s = 74);
|
|
6150
6122
|
/******/ })
|
|
6151
6123
|
/************************************************************************/
|
|
6152
6124
|
/******/ ({
|
|
@@ -6281,7 +6253,7 @@ module.exports = __webpack_require__("8bbf");
|
|
|
6281
6253
|
|
|
6282
6254
|
/***/ }),
|
|
6283
6255
|
|
|
6284
|
-
/***/
|
|
6256
|
+
/***/ 74:
|
|
6285
6257
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6286
6258
|
|
|
6287
6259
|
"use strict";
|
|
@@ -6705,20 +6677,6 @@ exports.default = {
|
|
|
6705
6677
|
|
|
6706
6678
|
/***/ }),
|
|
6707
6679
|
|
|
6708
|
-
/***/ "712c":
|
|
6709
|
-
/***/ (function(module, exports) {
|
|
6710
|
-
|
|
6711
|
-
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
6712
|
-
|
|
6713
|
-
/***/ }),
|
|
6714
|
-
|
|
6715
|
-
/***/ "722b":
|
|
6716
|
-
/***/ (function(module, exports) {
|
|
6717
|
-
|
|
6718
|
-
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
6719
|
-
|
|
6720
|
-
/***/ }),
|
|
6721
|
-
|
|
6722
6680
|
/***/ "7435":
|
|
6723
6681
|
/***/ (function(module, exports) {
|
|
6724
6682
|
|
|
@@ -6733,13 +6691,6 @@ module.exports = require("throttle-debounce/debounce");
|
|
|
6733
6691
|
|
|
6734
6692
|
/***/ }),
|
|
6735
6693
|
|
|
6736
|
-
/***/ "7a9a":
|
|
6737
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6738
|
-
|
|
6739
|
-
// extracted by mini-css-extract-plugin
|
|
6740
|
-
|
|
6741
|
-
/***/ }),
|
|
6742
|
-
|
|
6743
6694
|
/***/ "7b31":
|
|
6744
6695
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6745
6696
|
|
|
@@ -6827,7 +6778,7 @@ module.exports =
|
|
|
6827
6778
|
/******/
|
|
6828
6779
|
/******/
|
|
6829
6780
|
/******/ // Load entry module and return exports
|
|
6830
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6781
|
+
/******/ return __webpack_require__(__webpack_require__.s = 102);
|
|
6831
6782
|
/******/ })
|
|
6832
6783
|
/************************************************************************/
|
|
6833
6784
|
/******/ ({
|
|
@@ -6934,7 +6885,7 @@ function normalizeComponent (
|
|
|
6934
6885
|
|
|
6935
6886
|
/***/ }),
|
|
6936
6887
|
|
|
6937
|
-
/***/
|
|
6888
|
+
/***/ 102:
|
|
6938
6889
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6939
6890
|
|
|
6940
6891
|
"use strict";
|
|
@@ -7137,7 +7088,7 @@ module.exports =
|
|
|
7137
7088
|
/******/
|
|
7138
7089
|
/******/
|
|
7139
7090
|
/******/ // Load entry module and return exports
|
|
7140
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7091
|
+
/******/ return __webpack_require__(__webpack_require__.s = 86);
|
|
7141
7092
|
/******/ })
|
|
7142
7093
|
/************************************************************************/
|
|
7143
7094
|
/******/ ({
|
|
@@ -7251,7 +7202,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7251
7202
|
|
|
7252
7203
|
/***/ }),
|
|
7253
7204
|
|
|
7254
|
-
/***/
|
|
7205
|
+
/***/ 86:
|
|
7255
7206
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7256
7207
|
|
|
7257
7208
|
"use strict";
|
|
@@ -7643,13 +7594,6 @@ function objToArray(obj) {
|
|
|
7643
7594
|
|
|
7644
7595
|
/***/ }),
|
|
7645
7596
|
|
|
7646
|
-
/***/ "831f":
|
|
7647
|
-
/***/ (function(module, exports) {
|
|
7648
|
-
|
|
7649
|
-
module.exports = require("throttle-debounce");
|
|
7650
|
-
|
|
7651
|
-
/***/ }),
|
|
7652
|
-
|
|
7653
7597
|
/***/ "8535":
|
|
7654
7598
|
/***/ (function(module, exports) {
|
|
7655
7599
|
|
|
@@ -7751,7 +7695,7 @@ module.exports =
|
|
|
7751
7695
|
/******/
|
|
7752
7696
|
/******/
|
|
7753
7697
|
/******/ // Load entry module and return exports
|
|
7754
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7698
|
+
/******/ return __webpack_require__(__webpack_require__.s = 68);
|
|
7755
7699
|
/******/ })
|
|
7756
7700
|
/************************************************************************/
|
|
7757
7701
|
/******/ ({
|
|
@@ -7872,21 +7816,14 @@ module.exports = __webpack_require__("5924");
|
|
|
7872
7816
|
|
|
7873
7817
|
/***/ }),
|
|
7874
7818
|
|
|
7875
|
-
/***/
|
|
7819
|
+
/***/ 41:
|
|
7876
7820
|
/***/ (function(module, exports) {
|
|
7877
7821
|
|
|
7878
7822
|
module.exports = __webpack_require__("c56a");
|
|
7879
7823
|
|
|
7880
7824
|
/***/ }),
|
|
7881
7825
|
|
|
7882
|
-
/***/
|
|
7883
|
-
/***/ (function(module, exports) {
|
|
7884
|
-
|
|
7885
|
-
module.exports = __webpack_require__("8bbf");
|
|
7886
|
-
|
|
7887
|
-
/***/ }),
|
|
7888
|
-
|
|
7889
|
-
/***/ 73:
|
|
7826
|
+
/***/ 68:
|
|
7890
7827
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7891
7828
|
|
|
7892
7829
|
"use strict";
|
|
@@ -8034,7 +7971,7 @@ var dom_ = __webpack_require__(2);
|
|
|
8034
7971
|
var popup_ = __webpack_require__(13);
|
|
8035
7972
|
|
|
8036
7973
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
8037
|
-
var after_leave_ = __webpack_require__(
|
|
7974
|
+
var after_leave_ = __webpack_require__(41);
|
|
8038
7975
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
8039
7976
|
|
|
8040
7977
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8098,7 +8035,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8098
8035
|
el.mask.style[property] = el.maskStyle[property];
|
|
8099
8036
|
});
|
|
8100
8037
|
|
|
8101
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed'
|
|
8038
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8102
8039
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8103
8040
|
}
|
|
8104
8041
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8256,7 +8193,7 @@ var src_Loading = function Loading() {
|
|
|
8256
8193
|
});
|
|
8257
8194
|
|
|
8258
8195
|
src_addStyle(options, parent, instance);
|
|
8259
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed'
|
|
8196
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8260
8197
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8261
8198
|
}
|
|
8262
8199
|
if (options.fullscreen && options.lock) {
|
|
@@ -8289,6 +8226,13 @@ var src_Loading = function Loading() {
|
|
|
8289
8226
|
|
|
8290
8227
|
/***/ }),
|
|
8291
8228
|
|
|
8229
|
+
/***/ 7:
|
|
8230
|
+
/***/ (function(module, exports) {
|
|
8231
|
+
|
|
8232
|
+
module.exports = __webpack_require__("8bbf");
|
|
8233
|
+
|
|
8234
|
+
/***/ }),
|
|
8235
|
+
|
|
8292
8236
|
/***/ 9:
|
|
8293
8237
|
/***/ (function(module, exports) {
|
|
8294
8238
|
|
|
@@ -8387,7 +8331,7 @@ module.exports =
|
|
|
8387
8331
|
/******/
|
|
8388
8332
|
/******/
|
|
8389
8333
|
/******/ // Load entry module and return exports
|
|
8390
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8334
|
+
/******/ return __webpack_require__(__webpack_require__.s = 124);
|
|
8391
8335
|
/******/ })
|
|
8392
8336
|
/************************************************************************/
|
|
8393
8337
|
/******/ ({
|
|
@@ -8494,7 +8438,7 @@ function normalizeComponent (
|
|
|
8494
8438
|
|
|
8495
8439
|
/***/ }),
|
|
8496
8440
|
|
|
8497
|
-
/***/
|
|
8441
|
+
/***/ 124:
|
|
8498
8442
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8499
8443
|
|
|
8500
8444
|
"use strict";
|
|
@@ -8616,14 +8560,10 @@ module.exports = require("vue");
|
|
|
8616
8560
|
|
|
8617
8561
|
/***/ }),
|
|
8618
8562
|
|
|
8619
|
-
/***/ "
|
|
8620
|
-
/***/ (function(module,
|
|
8621
|
-
|
|
8622
|
-
"use strict";
|
|
8623
|
-
/* 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_92af3352_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0654");
|
|
8624
|
-
/* 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_92af3352_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_92af3352_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
8625
|
-
/* unused harmony reexport * */
|
|
8563
|
+
/***/ "940c":
|
|
8564
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8626
8565
|
|
|
8566
|
+
// extracted by mini-css-extract-plugin
|
|
8627
8567
|
|
|
8628
8568
|
/***/ }),
|
|
8629
8569
|
|
|
@@ -8716,6 +8656,17 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
|
|
|
8716
8656
|
* https://github.com/Matt-Esch/string-template/index.js
|
|
8717
8657
|
*/
|
|
8718
8658
|
|
|
8659
|
+
/***/ }),
|
|
8660
|
+
|
|
8661
|
+
/***/ "9e82":
|
|
8662
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8663
|
+
|
|
8664
|
+
"use strict";
|
|
8665
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Legends_vue_vue_type_style_index_0_id_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0242");
|
|
8666
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Legends_vue_vue_type_style_index_0_id_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Legends_vue_vue_type_style_index_0_id_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
8667
|
+
/* unused harmony reexport * */
|
|
8668
|
+
|
|
8669
|
+
|
|
8719
8670
|
/***/ }),
|
|
8720
8671
|
|
|
8721
8672
|
/***/ "a1cc":
|
|
@@ -8812,7 +8763,7 @@ module.exports =
|
|
|
8812
8763
|
/******/
|
|
8813
8764
|
/******/
|
|
8814
8765
|
/******/ // Load entry module and return exports
|
|
8815
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8766
|
+
/******/ return __webpack_require__(__webpack_require__.s = 109);
|
|
8816
8767
|
/******/ })
|
|
8817
8768
|
/************************************************************************/
|
|
8818
8769
|
/******/ ({
|
|
@@ -8919,7 +8870,7 @@ function normalizeComponent (
|
|
|
8919
8870
|
|
|
8920
8871
|
/***/ }),
|
|
8921
8872
|
|
|
8922
|
-
/***/
|
|
8873
|
+
/***/ 109:
|
|
8923
8874
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8924
8875
|
|
|
8925
8876
|
"use strict";
|
|
@@ -9061,13 +9012,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
9061
9012
|
|
|
9062
9013
|
/***/ }),
|
|
9063
9014
|
|
|
9064
|
-
/***/ "a9ee":
|
|
9065
|
-
/***/ (function(module, exports) {
|
|
9066
|
-
|
|
9067
|
-
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
9068
|
-
|
|
9069
|
-
/***/ }),
|
|
9070
|
-
|
|
9071
9015
|
/***/ "aaa5":
|
|
9072
9016
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9073
9017
|
|
|
@@ -9087,6 +9031,17 @@ module.exports = require("core-js/modules/es.json.stringify.js");
|
|
|
9087
9031
|
|
|
9088
9032
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
9089
9033
|
|
|
9034
|
+
/***/ }),
|
|
9035
|
+
|
|
9036
|
+
/***/ "b191":
|
|
9037
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9038
|
+
|
|
9039
|
+
"use strict";
|
|
9040
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("940c");
|
|
9041
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9042
|
+
/* unused harmony reexport * */
|
|
9043
|
+
|
|
9044
|
+
|
|
9090
9045
|
/***/ }),
|
|
9091
9046
|
|
|
9092
9047
|
/***/ "b2d6":
|
|
@@ -9213,9 +9168,6 @@ exports.default = {
|
|
|
9213
9168
|
popconfirm: {
|
|
9214
9169
|
confirmButtonText: 'Yes',
|
|
9215
9170
|
cancelButtonText: 'No'
|
|
9216
|
-
},
|
|
9217
|
-
empty: {
|
|
9218
|
-
description: 'No Data'
|
|
9219
9171
|
}
|
|
9220
9172
|
}
|
|
9221
9173
|
};
|
|
@@ -9229,14 +9181,10 @@ exports.default = {
|
|
|
9229
9181
|
|
|
9230
9182
|
/***/ }),
|
|
9231
9183
|
|
|
9232
|
-
/***/ "
|
|
9233
|
-
/***/ (function(module,
|
|
9234
|
-
|
|
9235
|
-
"use strict";
|
|
9236
|
-
/* 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");
|
|
9237
|
-
/* 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__);
|
|
9238
|
-
/* unused harmony reexport * */
|
|
9184
|
+
/***/ "b94f":
|
|
9185
|
+
/***/ (function(module, exports) {
|
|
9239
9186
|
|
|
9187
|
+
module.exports = require("core-js/modules/web.url.js");
|
|
9240
9188
|
|
|
9241
9189
|
/***/ }),
|
|
9242
9190
|
|
|
@@ -9245,6 +9193,17 @@ exports.default = {
|
|
|
9245
9193
|
|
|
9246
9194
|
// extracted by mini-css-extract-plugin
|
|
9247
9195
|
|
|
9196
|
+
/***/ }),
|
|
9197
|
+
|
|
9198
|
+
/***/ "c033":
|
|
9199
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9200
|
+
|
|
9201
|
+
"use strict";
|
|
9202
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("58e9");
|
|
9203
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9204
|
+
/* unused harmony reexport * */
|
|
9205
|
+
|
|
9206
|
+
|
|
9248
9207
|
/***/ }),
|
|
9249
9208
|
|
|
9250
9209
|
/***/ "c2cc":
|
|
@@ -9334,12 +9293,12 @@ module.exports =
|
|
|
9334
9293
|
/******/
|
|
9335
9294
|
/******/
|
|
9336
9295
|
/******/ // Load entry module and return exports
|
|
9337
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9296
|
+
/******/ return __webpack_require__(__webpack_require__.s = 134);
|
|
9338
9297
|
/******/ })
|
|
9339
9298
|
/************************************************************************/
|
|
9340
9299
|
/******/ ({
|
|
9341
9300
|
|
|
9342
|
-
/***/
|
|
9301
|
+
/***/ 134:
|
|
9343
9302
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9344
9303
|
|
|
9345
9304
|
"use strict";
|
|
@@ -9429,6 +9388,13 @@ col.install = function (Vue) {
|
|
|
9429
9388
|
|
|
9430
9389
|
/***/ }),
|
|
9431
9390
|
|
|
9391
|
+
/***/ "c4c7":
|
|
9392
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9393
|
+
|
|
9394
|
+
// extracted by mini-css-extract-plugin
|
|
9395
|
+
|
|
9396
|
+
/***/ }),
|
|
9397
|
+
|
|
9432
9398
|
/***/ "c56a":
|
|
9433
9399
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9434
9400
|
|
|
@@ -9558,7 +9524,7 @@ module.exports =
|
|
|
9558
9524
|
/******/
|
|
9559
9525
|
/******/
|
|
9560
9526
|
/******/ // Load entry module and return exports
|
|
9561
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9527
|
+
/******/ return __webpack_require__(__webpack_require__.s = 113);
|
|
9562
9528
|
/******/ })
|
|
9563
9529
|
/************************************************************************/
|
|
9564
9530
|
/******/ ({
|
|
@@ -9665,7 +9631,7 @@ function normalizeComponent (
|
|
|
9665
9631
|
|
|
9666
9632
|
/***/ }),
|
|
9667
9633
|
|
|
9668
|
-
/***/
|
|
9634
|
+
/***/ 113:
|
|
9669
9635
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9670
9636
|
|
|
9671
9637
|
"use strict";
|
|
@@ -9844,13 +9810,6 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
9844
9810
|
|
|
9845
9811
|
/***/ }),
|
|
9846
9812
|
|
|
9847
|
-
/***/ "dc50":
|
|
9848
|
-
/***/ (function(module, exports) {
|
|
9849
|
-
|
|
9850
|
-
module.exports = require("core-js/modules/es.error.cause.js");
|
|
9851
|
-
|
|
9852
|
-
/***/ }),
|
|
9853
|
-
|
|
9854
9813
|
/***/ "dcdc":
|
|
9855
9814
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9856
9815
|
|
|
@@ -9938,7 +9897,7 @@ module.exports =
|
|
|
9938
9897
|
/******/
|
|
9939
9898
|
/******/
|
|
9940
9899
|
/******/ // Load entry module and return exports
|
|
9941
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9900
|
+
/******/ return __webpack_require__(__webpack_require__.s = 83);
|
|
9942
9901
|
/******/ })
|
|
9943
9902
|
/************************************************************************/
|
|
9944
9903
|
/******/ ({
|
|
@@ -10052,7 +10011,7 @@ module.exports = __webpack_require__("d010");
|
|
|
10052
10011
|
|
|
10053
10012
|
/***/ }),
|
|
10054
10013
|
|
|
10055
|
-
/***/
|
|
10014
|
+
/***/ 83:
|
|
10056
10015
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10057
10016
|
|
|
10058
10017
|
"use strict";
|
|
@@ -10623,7 +10582,7 @@ module.exports =
|
|
|
10623
10582
|
/******/
|
|
10624
10583
|
/******/
|
|
10625
10584
|
/******/ // Load entry module and return exports
|
|
10626
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10585
|
+
/******/ return __webpack_require__(__webpack_require__.s = 53);
|
|
10627
10586
|
/******/ })
|
|
10628
10587
|
/************************************************************************/
|
|
10629
10588
|
/******/ ({
|
|
@@ -10737,7 +10696,7 @@ module.exports = __webpack_require__("8122");
|
|
|
10737
10696
|
|
|
10738
10697
|
/***/ }),
|
|
10739
10698
|
|
|
10740
|
-
/***/
|
|
10699
|
+
/***/ 33:
|
|
10741
10700
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10742
10701
|
|
|
10743
10702
|
"use strict";
|
|
@@ -10995,12 +10954,12 @@ module.exports = __webpack_require__("d010");
|
|
|
10995
10954
|
|
|
10996
10955
|
/***/ }),
|
|
10997
10956
|
|
|
10998
|
-
/***/
|
|
10957
|
+
/***/ 53:
|
|
10999
10958
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11000
10959
|
|
|
11001
10960
|
"use strict";
|
|
11002
10961
|
__webpack_require__.r(__webpack_exports__);
|
|
11003
|
-
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
10962
|
+
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
|
|
11004
10963
|
|
|
11005
10964
|
|
|
11006
10965
|
/* istanbul ignore next */
|
|
@@ -11333,7 +11292,7 @@ module.exports =
|
|
|
11333
11292
|
/******/
|
|
11334
11293
|
/******/
|
|
11335
11294
|
/******/ // Load entry module and return exports
|
|
11336
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11295
|
+
/******/ return __webpack_require__(__webpack_require__.s = 97);
|
|
11337
11296
|
/******/ })
|
|
11338
11297
|
/************************************************************************/
|
|
11339
11298
|
/******/ ({
|
|
@@ -11440,7 +11399,7 @@ function normalizeComponent (
|
|
|
11440
11399
|
|
|
11441
11400
|
/***/ }),
|
|
11442
11401
|
|
|
11443
|
-
/***/
|
|
11402
|
+
/***/ 97:
|
|
11444
11403
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11445
11404
|
|
|
11446
11405
|
"use strict";
|
|
@@ -11554,7 +11513,7 @@ render._withStripped = true
|
|
|
11554
11513
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
11555
11514
|
},
|
|
11556
11515
|
buttonDisabled: function buttonDisabled() {
|
|
11557
|
-
return this
|
|
11516
|
+
return this.disabled || (this.elForm || {}).disabled;
|
|
11558
11517
|
}
|
|
11559
11518
|
},
|
|
11560
11519
|
|
|
@@ -11732,22 +11691,12 @@ exports.default = {
|
|
|
11732
11691
|
popconfirm: {
|
|
11733
11692
|
confirmButtonText: '确定',
|
|
11734
11693
|
cancelButtonText: '取消'
|
|
11735
|
-
},
|
|
11736
|
-
empty: {
|
|
11737
|
-
description: '暂无数据'
|
|
11738
11694
|
}
|
|
11739
11695
|
}
|
|
11740
11696
|
};
|
|
11741
11697
|
|
|
11742
11698
|
/***/ }),
|
|
11743
11699
|
|
|
11744
|
-
/***/ "f1ae":
|
|
11745
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
11746
|
-
|
|
11747
|
-
// extracted by mini-css-extract-plugin
|
|
11748
|
-
|
|
11749
|
-
/***/ }),
|
|
11750
|
-
|
|
11751
11700
|
/***/ "f3ad":
|
|
11752
11701
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11753
11702
|
|
|
@@ -11835,7 +11784,7 @@ module.exports =
|
|
|
11835
11784
|
/******/
|
|
11836
11785
|
/******/
|
|
11837
11786
|
/******/ // Load entry module and return exports
|
|
11838
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11787
|
+
/******/ return __webpack_require__(__webpack_require__.s = 76);
|
|
11839
11788
|
/******/ })
|
|
11840
11789
|
/************************************************************************/
|
|
11841
11790
|
/******/ ({
|
|
@@ -11963,7 +11912,7 @@ module.exports = __webpack_require__("d010");
|
|
|
11963
11912
|
|
|
11964
11913
|
/***/ }),
|
|
11965
11914
|
|
|
11966
|
-
/***/
|
|
11915
|
+
/***/ 76:
|
|
11967
11916
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11968
11917
|
|
|
11969
11918
|
"use strict";
|
|
@@ -12605,18 +12554,15 @@ var shared_ = __webpack_require__(21);
|
|
|
12605
12554
|
this.focused = true;
|
|
12606
12555
|
this.$emit('focus', event);
|
|
12607
12556
|
},
|
|
12608
|
-
handleCompositionStart: function handleCompositionStart(
|
|
12609
|
-
this.$emit('compositionstart', event);
|
|
12557
|
+
handleCompositionStart: function handleCompositionStart() {
|
|
12610
12558
|
this.isComposing = true;
|
|
12611
12559
|
},
|
|
12612
12560
|
handleCompositionUpdate: function handleCompositionUpdate(event) {
|
|
12613
|
-
this.$emit('compositionupdate', event);
|
|
12614
12561
|
var text = event.target.value;
|
|
12615
12562
|
var lastCharacter = text[text.length - 1] || '';
|
|
12616
12563
|
this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
|
|
12617
12564
|
},
|
|
12618
12565
|
handleCompositionEnd: function handleCompositionEnd(event) {
|
|
12619
|
-
this.$emit('compositionend', event);
|
|
12620
12566
|
if (this.isComposing) {
|
|
12621
12567
|
this.isComposing = false;
|
|
12622
12568
|
this.handleInput(event);
|
|
@@ -12838,7 +12784,7 @@ module.exports =
|
|
|
12838
12784
|
/******/
|
|
12839
12785
|
/******/
|
|
12840
12786
|
/******/ // Load entry module and return exports
|
|
12841
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12787
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
12842
12788
|
/******/ })
|
|
12843
12789
|
/************************************************************************/
|
|
12844
12790
|
/******/ ({
|
|
@@ -12945,14 +12891,7 @@ function normalizeComponent (
|
|
|
12945
12891
|
|
|
12946
12892
|
/***/ }),
|
|
12947
12893
|
|
|
12948
|
-
/***/
|
|
12949
|
-
/***/ (function(module, exports) {
|
|
12950
|
-
|
|
12951
|
-
module.exports = __webpack_require__("d010");
|
|
12952
|
-
|
|
12953
|
-
/***/ }),
|
|
12954
|
-
|
|
12955
|
-
/***/ 88:
|
|
12894
|
+
/***/ 116:
|
|
12956
12895
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12957
12896
|
|
|
12958
12897
|
"use strict";
|
|
@@ -13022,8 +12961,7 @@ var render = function() {
|
|
|
13022
12961
|
"aria-hidden": "true",
|
|
13023
12962
|
name: _vm.name,
|
|
13024
12963
|
disabled: _vm.isDisabled,
|
|
13025
|
-
tabindex: "-1"
|
|
13026
|
-
autocomplete: "off"
|
|
12964
|
+
tabindex: "-1"
|
|
13027
12965
|
},
|
|
13028
12966
|
domProps: {
|
|
13029
12967
|
value: _vm.label,
|
|
@@ -13120,7 +13058,6 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
13120
13058
|
//
|
|
13121
13059
|
//
|
|
13122
13060
|
//
|
|
13123
|
-
//
|
|
13124
13061
|
|
|
13125
13062
|
|
|
13126
13063
|
|
|
@@ -13247,6 +13184,13 @@ src_radio.install = function (Vue) {
|
|
|
13247
13184
|
|
|
13248
13185
|
/* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
|
|
13249
13186
|
|
|
13187
|
+
/***/ }),
|
|
13188
|
+
|
|
13189
|
+
/***/ 4:
|
|
13190
|
+
/***/ (function(module, exports) {
|
|
13191
|
+
|
|
13192
|
+
module.exports = __webpack_require__("d010");
|
|
13193
|
+
|
|
13250
13194
|
/***/ })
|
|
13251
13195
|
|
|
13252
13196
|
/******/ });
|
|
@@ -13302,478 +13246,12 @@ if (typeof window !== 'undefined') {
|
|
|
13302
13246
|
// Indicate to webpack that this file can be concatenated
|
|
13303
13247
|
/* harmony default export */ var setPublicPath = (null);
|
|
13304
13248
|
|
|
13305
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13306
|
-
var render = function
|
|
13307
|
-
|
|
13308
|
-
|
|
13309
|
-
return _c('div', {
|
|
13310
|
-
directives: [{
|
|
13311
|
-
name: "loading",
|
|
13312
|
-
rawName: "v-loading",
|
|
13313
|
-
value: _vm.loading,
|
|
13314
|
-
expression: "loading"
|
|
13315
|
-
}],
|
|
13316
|
-
staticClass: "flatmap-container",
|
|
13317
|
-
attrs: {
|
|
13318
|
-
"element-loading-text": "Loading...",
|
|
13319
|
-
"element-loading-spinner": "el-icon-loading",
|
|
13320
|
-
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
13321
|
-
}
|
|
13322
|
-
}, [_c('map-svg-sprite-color'), _c('div', {
|
|
13323
|
-
staticStyle: {
|
|
13324
|
-
"height": "100%",
|
|
13325
|
-
"width": "100%",
|
|
13326
|
-
"position": "relative",
|
|
13327
|
-
"overflow-y": "none"
|
|
13328
|
-
}
|
|
13329
|
-
}, [_c('div', {
|
|
13330
|
-
ref: "display",
|
|
13331
|
-
staticStyle: {
|
|
13332
|
-
"height": "100%",
|
|
13333
|
-
"width": "100%"
|
|
13334
|
-
}
|
|
13335
|
-
}), _c('div', {
|
|
13336
|
-
staticClass: "beta-popovers"
|
|
13337
|
-
}, [_c('div', [_c('el-popover', {
|
|
13338
|
-
ref: "warningPopover",
|
|
13339
|
-
attrs: {
|
|
13340
|
-
"content": _vm.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _vm.warningMessage,
|
|
13341
|
-
"placement": "right",
|
|
13342
|
-
"appendToBody": false,
|
|
13343
|
-
"trigger": "manual",
|
|
13344
|
-
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13345
|
-
},
|
|
13346
|
-
model: {
|
|
13347
|
-
value: _vm.hoverVisibilities[6].value,
|
|
13348
|
-
callback: function callback($$v) {
|
|
13349
|
-
_vm.$set(_vm.hoverVisibilities[6], "value", $$v);
|
|
13350
|
-
},
|
|
13351
|
-
expression: "hoverVisibilities[6].value"
|
|
13352
|
-
}
|
|
13353
|
-
}), _vm.displayWarning && _vm.warningMessage ? _c('i', {
|
|
13354
|
-
directives: [{
|
|
13355
|
-
name: "popover",
|
|
13356
|
-
rawName: "v-popover:warningPopover",
|
|
13357
|
-
arg: "warningPopover"
|
|
13358
|
-
}],
|
|
13359
|
-
staticClass: "el-icon-warning warning-icon",
|
|
13360
|
-
on: {
|
|
13361
|
-
"mouseover": function mouseover($event) {
|
|
13362
|
-
return _vm.showToolitip(6);
|
|
13363
|
-
},
|
|
13364
|
-
"mouseout": function mouseout($event) {
|
|
13365
|
-
return _vm.hideToolitip(6);
|
|
13366
|
-
}
|
|
13367
|
-
}
|
|
13368
|
-
}, [_vm.isLegacy ? [_c('span', {
|
|
13369
|
-
staticClass: "warning-text"
|
|
13370
|
-
}, [_vm._v("Legacy Map")]), _c('div', {
|
|
13371
|
-
staticClass: "latest-map-text",
|
|
13372
|
-
on: {
|
|
13373
|
-
"click": _vm.viewLatestMap
|
|
13374
|
-
}
|
|
13375
|
-
}, [_vm._v("Click here for the latest map")])] : [_c('span', {
|
|
13376
|
-
staticClass: "warning-text"
|
|
13377
|
-
}, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
13378
|
-
ref: "latestChangesPopover",
|
|
13379
|
-
attrs: {
|
|
13380
|
-
"content": _vm.latestChangesMessage,
|
|
13381
|
-
"placement": "right",
|
|
13382
|
-
"appendToBody": false,
|
|
13383
|
-
"trigger": "manual",
|
|
13384
|
-
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
13385
|
-
},
|
|
13386
|
-
model: {
|
|
13387
|
-
value: _vm.hoverVisibilities[7].value,
|
|
13388
|
-
callback: function callback($$v) {
|
|
13389
|
-
_vm.$set(_vm.hoverVisibilities[7], "value", $$v);
|
|
13390
|
-
},
|
|
13391
|
-
expression: "hoverVisibilities[7].value"
|
|
13392
|
-
}
|
|
13393
|
-
}) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
|
|
13394
|
-
directives: [{
|
|
13395
|
-
name: "popover",
|
|
13396
|
-
rawName: "v-popover:latestChangesPopover",
|
|
13397
|
-
arg: "latestChangesPopover"
|
|
13398
|
-
}],
|
|
13399
|
-
staticClass: "el-icon-warning latest-changesicon",
|
|
13400
|
-
on: {
|
|
13401
|
-
"mouseover": function mouseover($event) {
|
|
13402
|
-
return _vm.showToolitip(7);
|
|
13403
|
-
},
|
|
13404
|
-
"mouseout": function mouseout($event) {
|
|
13405
|
-
return _vm.hideToolitip(7);
|
|
13406
|
-
}
|
|
13407
|
-
}
|
|
13408
|
-
}, [_c('span', {
|
|
13409
|
-
staticClass: "warning-text"
|
|
13410
|
-
}, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('div', {
|
|
13411
|
-
staticClass: "bottom-right-control"
|
|
13412
|
-
}, [_c('el-popover', {
|
|
13413
|
-
attrs: {
|
|
13414
|
-
"content": "Zoom in",
|
|
13415
|
-
"placement": "left",
|
|
13416
|
-
"appendToBody": false,
|
|
13417
|
-
"trigger": "manual",
|
|
13418
|
-
"popper-class": "flatmap-popper left-popper"
|
|
13419
|
-
},
|
|
13420
|
-
model: {
|
|
13421
|
-
value: _vm.hoverVisibilities[0].value,
|
|
13422
|
-
callback: function callback($$v) {
|
|
13423
|
-
_vm.$set(_vm.hoverVisibilities[0], "value", $$v);
|
|
13424
|
-
},
|
|
13425
|
-
expression: "hoverVisibilities[0].value"
|
|
13426
|
-
}
|
|
13427
|
-
}, [_c('map-svg-icon', {
|
|
13428
|
-
staticClass: "icon-button zoomIn",
|
|
13429
|
-
attrs: {
|
|
13430
|
-
"slot": "reference",
|
|
13431
|
-
"icon": "zoomIn"
|
|
13432
|
-
},
|
|
13433
|
-
nativeOn: {
|
|
13434
|
-
"click": function click($event) {
|
|
13435
|
-
return _vm.zoomIn();
|
|
13436
|
-
},
|
|
13437
|
-
"mouseover": function mouseover($event) {
|
|
13438
|
-
return _vm.showToolitip(0);
|
|
13439
|
-
},
|
|
13440
|
-
"mouseout": function mouseout($event) {
|
|
13441
|
-
return _vm.hideToolitip(0);
|
|
13442
|
-
}
|
|
13443
|
-
},
|
|
13444
|
-
slot: "reference"
|
|
13445
|
-
})], 1), _c('el-popover', {
|
|
13446
|
-
attrs: {
|
|
13447
|
-
"content": "Zoom out",
|
|
13448
|
-
"placement": "top-end",
|
|
13449
|
-
"appendToBody": false,
|
|
13450
|
-
"trigger": "manual",
|
|
13451
|
-
"popper-class": "flatmap-popper popper-zoomout"
|
|
13452
|
-
},
|
|
13453
|
-
model: {
|
|
13454
|
-
value: _vm.hoverVisibilities[1].value,
|
|
13455
|
-
callback: function callback($$v) {
|
|
13456
|
-
_vm.$set(_vm.hoverVisibilities[1], "value", $$v);
|
|
13457
|
-
},
|
|
13458
|
-
expression: "hoverVisibilities[1].value"
|
|
13459
|
-
}
|
|
13460
|
-
}, [_c('map-svg-icon', {
|
|
13461
|
-
staticClass: "icon-button zoomOut",
|
|
13462
|
-
attrs: {
|
|
13463
|
-
"slot": "reference",
|
|
13464
|
-
"icon": "zoomOut"
|
|
13465
|
-
},
|
|
13466
|
-
nativeOn: {
|
|
13467
|
-
"click": function click($event) {
|
|
13468
|
-
return _vm.zoomOut();
|
|
13469
|
-
},
|
|
13470
|
-
"mouseover": function mouseover($event) {
|
|
13471
|
-
return _vm.showToolitip(1);
|
|
13472
|
-
},
|
|
13473
|
-
"mouseout": function mouseout($event) {
|
|
13474
|
-
return _vm.hideToolitip(1);
|
|
13475
|
-
}
|
|
13476
|
-
},
|
|
13477
|
-
slot: "reference"
|
|
13478
|
-
})], 1), _c('el-popover', {
|
|
13479
|
-
attrs: {
|
|
13480
|
-
"content": "Reset",
|
|
13481
|
-
"placement": "top",
|
|
13482
|
-
"appendToBody": false,
|
|
13483
|
-
"trigger": "manual",
|
|
13484
|
-
"popper-class": "flatmap-popper"
|
|
13485
|
-
},
|
|
13486
|
-
model: {
|
|
13487
|
-
value: _vm.hoverVisibilities[2].value,
|
|
13488
|
-
callback: function callback($$v) {
|
|
13489
|
-
_vm.$set(_vm.hoverVisibilities[2], "value", $$v);
|
|
13490
|
-
},
|
|
13491
|
-
expression: "hoverVisibilities[2].value"
|
|
13492
|
-
}
|
|
13493
|
-
}, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
|
|
13494
|
-
staticClass: "icon-button fitWindow",
|
|
13495
|
-
attrs: {
|
|
13496
|
-
"slot": "reference",
|
|
13497
|
-
"icon": "fitWindow"
|
|
13498
|
-
},
|
|
13499
|
-
nativeOn: {
|
|
13500
|
-
"click": function click($event) {
|
|
13501
|
-
return _vm.resetView();
|
|
13502
|
-
},
|
|
13503
|
-
"mouseover": function mouseover($event) {
|
|
13504
|
-
return _vm.showToolitip(2);
|
|
13505
|
-
},
|
|
13506
|
-
"mouseout": function mouseout($event) {
|
|
13507
|
-
return _vm.hideToolitip(2);
|
|
13508
|
-
}
|
|
13509
|
-
},
|
|
13510
|
-
slot: "reference"
|
|
13511
|
-
})], 1)], 1), _c('el-popover', {
|
|
13512
|
-
ref: "checkBoxPopover",
|
|
13513
|
-
attrs: {
|
|
13514
|
-
"content": "Change pathway visibility",
|
|
13515
|
-
"placement": "right",
|
|
13516
|
-
"appendToBody": false,
|
|
13517
|
-
"trigger": "manual",
|
|
13518
|
-
"popper-class": "flatmap-popper right-popper"
|
|
13519
|
-
},
|
|
13520
|
-
model: {
|
|
13521
|
-
value: _vm.hoverVisibilities[4].value,
|
|
13522
|
-
callback: function callback($$v) {
|
|
13523
|
-
_vm.$set(_vm.hoverVisibilities[4], "value", $$v);
|
|
13524
|
-
},
|
|
13525
|
-
expression: "hoverVisibilities[4].value"
|
|
13526
|
-
}
|
|
13527
|
-
}), _c('div', {
|
|
13528
|
-
staticClass: "pathway-location",
|
|
13529
|
-
class: {
|
|
13530
|
-
open: _vm.drawerOpen,
|
|
13531
|
-
close: !_vm.drawerOpen
|
|
13532
|
-
}
|
|
13533
|
-
}, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
|
|
13534
|
-
directives: [{
|
|
13535
|
-
name: "popover",
|
|
13536
|
-
rawName: "v-popover:checkBoxPopover",
|
|
13537
|
-
arg: "checkBoxPopover"
|
|
13538
|
-
}],
|
|
13539
|
-
staticClass: "pathway-container"
|
|
13540
|
-
}, [_c('svg-legends', {
|
|
13541
|
-
staticClass: "svg-legends-container"
|
|
13542
|
-
}), _c('el-popover', {
|
|
13543
|
-
ref: "markerPopover",
|
|
13544
|
-
attrs: {
|
|
13545
|
-
"content": "Find these markers for data",
|
|
13546
|
-
"placement": "right",
|
|
13547
|
-
"appendToBody": false,
|
|
13548
|
-
"trigger": "manual",
|
|
13549
|
-
"popper-class": "flatmap-popper popper-bump-right right-popper"
|
|
13550
|
-
},
|
|
13551
|
-
model: {
|
|
13552
|
-
value: _vm.hoverVisibilities[5].value,
|
|
13553
|
-
callback: function callback($$v) {
|
|
13554
|
-
_vm.$set(_vm.hoverVisibilities[5], "value", $$v);
|
|
13555
|
-
},
|
|
13556
|
-
expression: "hoverVisibilities[5].value"
|
|
13557
|
-
}
|
|
13558
|
-
}), _c('div', {
|
|
13559
|
-
directives: [{
|
|
13560
|
-
name: "show",
|
|
13561
|
-
rawName: "v-show",
|
|
13562
|
-
value: _vm.hoverVisibilities[5].value,
|
|
13563
|
-
expression: "hoverVisibilities[5].value"
|
|
13564
|
-
}, {
|
|
13565
|
-
name: "popover",
|
|
13566
|
-
rawName: "v-popover:markerPopover",
|
|
13567
|
-
arg: "markerPopover"
|
|
13568
|
-
}],
|
|
13569
|
-
staticClass: "flatmap-marker-help",
|
|
13570
|
-
domProps: {
|
|
13571
|
-
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
13572
|
-
}
|
|
13573
|
-
}), _c('el-row', [_c('el-col', {
|
|
13574
|
-
attrs: {
|
|
13575
|
-
"span": 12
|
|
13576
|
-
}
|
|
13577
|
-
}, [_c('div', {
|
|
13578
|
-
staticClass: "pathways-display-text"
|
|
13579
|
-
}, [_vm._v("Pathways")])]), _c('el-col', {
|
|
13580
|
-
attrs: {
|
|
13581
|
-
"span": 12
|
|
13582
|
-
}
|
|
13583
|
-
}, [_c('el-checkbox', {
|
|
13584
|
-
staticClass: "all-checkbox",
|
|
13585
|
-
attrs: {
|
|
13586
|
-
"indeterminate": _vm.isIndeterminate
|
|
13587
|
-
},
|
|
13588
|
-
on: {
|
|
13589
|
-
"change": _vm.handleCheckAllChange
|
|
13590
|
-
},
|
|
13591
|
-
model: {
|
|
13592
|
-
value: _vm.checkAll,
|
|
13593
|
-
callback: function callback($$v) {
|
|
13594
|
-
_vm.checkAll = $$v;
|
|
13595
|
-
},
|
|
13596
|
-
expression: "checkAll"
|
|
13597
|
-
}
|
|
13598
|
-
}, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
|
|
13599
|
-
staticClass: "checkbox-group",
|
|
13600
|
-
attrs: {
|
|
13601
|
-
"size": "small"
|
|
13602
|
-
},
|
|
13603
|
-
on: {
|
|
13604
|
-
"change": _vm.handleCheckedItemsChange
|
|
13605
|
-
},
|
|
13606
|
-
model: {
|
|
13607
|
-
value: _vm.checkedItems,
|
|
13608
|
-
callback: function callback($$v) {
|
|
13609
|
-
_vm.checkedItems = $$v;
|
|
13610
|
-
},
|
|
13611
|
-
expression: "checkedItems"
|
|
13612
|
-
}
|
|
13613
|
-
}, [_c('div', {
|
|
13614
|
-
staticClass: "checkbox-group-inner"
|
|
13615
|
-
}, _vm._l(_vm.pathways, function (item) {
|
|
13616
|
-
return _c('el-row', {
|
|
13617
|
-
key: item.type,
|
|
13618
|
-
attrs: {
|
|
13619
|
-
"label": item.type
|
|
13620
|
-
}
|
|
13621
|
-
}, [_c('div', {
|
|
13622
|
-
staticClass: "checkbox-container"
|
|
13623
|
-
}, [_c('el-checkbox', {
|
|
13624
|
-
staticClass: "my-checkbox",
|
|
13625
|
-
attrs: {
|
|
13626
|
-
"label": item.type,
|
|
13627
|
-
"checked": true
|
|
13628
|
-
},
|
|
13629
|
-
on: {
|
|
13630
|
-
"change": function change($event) {
|
|
13631
|
-
return _vm.visibilityToggle();
|
|
13632
|
-
}
|
|
13633
|
-
}
|
|
13634
|
-
}, [_c('div', {
|
|
13635
|
-
staticClass: "path-visual",
|
|
13636
|
-
class: item.type
|
|
13637
|
-
}), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
|
|
13638
|
-
}), 1)])], 1) : _vm._e(), _c('div', {
|
|
13639
|
-
staticClass: "drawer-button",
|
|
13640
|
-
class: {
|
|
13641
|
-
open: _vm.drawerOpen,
|
|
13642
|
-
close: !_vm.drawerOpen
|
|
13643
|
-
},
|
|
13644
|
-
on: {
|
|
13645
|
-
"click": _vm.toggleDrawer
|
|
13646
|
-
}
|
|
13647
|
-
}, [_c('i', {
|
|
13648
|
-
staticClass: "el-icon-arrow-left"
|
|
13649
|
-
})])]), _c('el-popover', {
|
|
13650
|
-
ref: "backgroundPopover",
|
|
13651
|
-
attrs: {
|
|
13652
|
-
"placement": "top-start",
|
|
13653
|
-
"width": "175",
|
|
13654
|
-
"appendToBody": false,
|
|
13655
|
-
"trigger": "click",
|
|
13656
|
-
"popper-class": "background-popper"
|
|
13657
|
-
}
|
|
13658
|
-
}, [_c('el-row', {
|
|
13659
|
-
staticClass: "backgroundText"
|
|
13660
|
-
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
13661
|
-
staticClass: "backgroundControl"
|
|
13662
|
-
}, [_c('el-radio-group', {
|
|
13663
|
-
staticClass: "flatmap-radio",
|
|
13664
|
-
on: {
|
|
13665
|
-
"change": _vm.setColour
|
|
13666
|
-
},
|
|
13667
|
-
model: {
|
|
13668
|
-
value: _vm.colourRadio,
|
|
13669
|
-
callback: function callback($$v) {
|
|
13670
|
-
_vm.colourRadio = $$v;
|
|
13671
|
-
},
|
|
13672
|
-
expression: "colourRadio"
|
|
13673
|
-
}
|
|
13674
|
-
}, [_c('el-radio', {
|
|
13675
|
-
attrs: {
|
|
13676
|
-
"label": true
|
|
13677
|
-
}
|
|
13678
|
-
}, [_vm._v("Colour")]), _c('el-radio', {
|
|
13679
|
-
attrs: {
|
|
13680
|
-
"label": false
|
|
13681
|
-
}
|
|
13682
|
-
}, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
|
|
13683
|
-
staticClass: "backgroundSpacer"
|
|
13684
|
-
}), _c('el-row', {
|
|
13685
|
-
staticClass: "backgroundText"
|
|
13686
|
-
}, [_vm._v("Outlines display")]), _c('el-row', {
|
|
13687
|
-
staticClass: "backgroundControl"
|
|
13688
|
-
}, [_c('el-radio-group', {
|
|
13689
|
-
staticClass: "flatmap-radio",
|
|
13690
|
-
on: {
|
|
13691
|
-
"change": _vm.setOutlines
|
|
13692
|
-
},
|
|
13693
|
-
model: {
|
|
13694
|
-
value: _vm.outlinesRadio,
|
|
13695
|
-
callback: function callback($$v) {
|
|
13696
|
-
_vm.outlinesRadio = $$v;
|
|
13697
|
-
},
|
|
13698
|
-
expression: "outlinesRadio"
|
|
13699
|
-
}
|
|
13700
|
-
}, [_c('el-radio', {
|
|
13701
|
-
attrs: {
|
|
13702
|
-
"label": true
|
|
13703
|
-
}
|
|
13704
|
-
}, [_vm._v("Show")]), _c('el-radio', {
|
|
13705
|
-
attrs: {
|
|
13706
|
-
"label": false
|
|
13707
|
-
}
|
|
13708
|
-
}, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
|
|
13709
|
-
staticClass: "backgroundSpacer"
|
|
13710
|
-
}), _c('el-row', {
|
|
13711
|
-
staticClass: "backgroundText"
|
|
13712
|
-
}, [_vm._v("Change background")]), _c('el-row', {
|
|
13713
|
-
staticClass: "backgroundControl"
|
|
13714
|
-
}, _vm._l(_vm.availableBackground, function (item) {
|
|
13715
|
-
return _c('div', {
|
|
13716
|
-
key: item,
|
|
13717
|
-
class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
|
|
13718
|
-
on: {
|
|
13719
|
-
"click": function click($event) {
|
|
13720
|
-
return _vm.backgroundChangeCallback(item);
|
|
13721
|
-
}
|
|
13722
|
-
}
|
|
13723
|
-
});
|
|
13724
|
-
}), 0)], 1), _c('el-popover', {
|
|
13725
|
-
attrs: {
|
|
13726
|
-
"content": "Change background color",
|
|
13727
|
-
"placement": "right",
|
|
13728
|
-
"appendToBody": false,
|
|
13729
|
-
"trigger": "manual",
|
|
13730
|
-
"popper-class": "flatmap-popper right-popper"
|
|
13731
|
-
},
|
|
13732
|
-
model: {
|
|
13733
|
-
value: _vm.hoverVisibilities[3].value,
|
|
13734
|
-
callback: function callback($$v) {
|
|
13735
|
-
_vm.$set(_vm.hoverVisibilities[3], "value", $$v);
|
|
13736
|
-
},
|
|
13737
|
-
expression: "hoverVisibilities[3].value"
|
|
13738
|
-
}
|
|
13739
|
-
}, [_c('map-svg-icon', {
|
|
13740
|
-
directives: [{
|
|
13741
|
-
name: "popover",
|
|
13742
|
-
rawName: "v-popover:backgroundPopover",
|
|
13743
|
-
arg: "backgroundPopover"
|
|
13744
|
-
}],
|
|
13745
|
-
staticClass: "icon-button background-colour",
|
|
13746
|
-
class: {
|
|
13747
|
-
open: _vm.drawerOpen,
|
|
13748
|
-
close: !_vm.drawerOpen
|
|
13749
|
-
},
|
|
13750
|
-
attrs: {
|
|
13751
|
-
"slot": "reference",
|
|
13752
|
-
"icon": "changeBckgd"
|
|
13753
|
-
},
|
|
13754
|
-
nativeOn: {
|
|
13755
|
-
"mouseover": function mouseover($event) {
|
|
13756
|
-
return _vm.showToolitip(3);
|
|
13757
|
-
},
|
|
13758
|
-
"mouseout": function mouseout($event) {
|
|
13759
|
-
return _vm.hideToolitip(3);
|
|
13760
|
-
}
|
|
13761
|
-
},
|
|
13762
|
-
slot: "reference"
|
|
13763
|
-
})], 1), _c('Tooltip', {
|
|
13764
|
-
ref: "tooltip",
|
|
13765
|
-
staticClass: "tooltip",
|
|
13766
|
-
attrs: {
|
|
13767
|
-
"content": _vm.tooltipContent
|
|
13768
|
-
},
|
|
13769
|
-
on: {
|
|
13770
|
-
"resource-selected": _vm.resourceSelected
|
|
13771
|
-
}
|
|
13772
|
-
})], 1)], 1);
|
|
13773
|
-
};
|
|
13774
|
-
var staticRenderFns = [];
|
|
13249
|
+
// 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&
|
|
13250
|
+
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)}
|
|
13251
|
+
var staticRenderFns = []
|
|
13252
|
+
|
|
13775
13253
|
|
|
13776
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
13254
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=20b4e460&scoped=true&
|
|
13777
13255
|
|
|
13778
13256
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
13779
13257
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -13796,9 +13274,6 @@ var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
|
13796
13274
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
13797
13275
|
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
13798
13276
|
|
|
13799
|
-
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
13800
|
-
var es_error_cause_js_ = __webpack_require__("dc50");
|
|
13801
|
-
|
|
13802
13277
|
// EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
|
|
13803
13278
|
var es_array_slice_js_ = __webpack_require__("ea12");
|
|
13804
13279
|
|
|
@@ -13808,18 +13283,14 @@ var es_function_name_js_ = __webpack_require__("db0a");
|
|
|
13808
13283
|
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
13809
13284
|
var es_array_from_js_ = __webpack_require__("4362");
|
|
13810
13285
|
|
|
13811
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
13812
|
-
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
13813
|
-
|
|
13814
|
-
// EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
|
|
13815
|
-
var es_regexp_test_js_ = __webpack_require__("5a3b");
|
|
13816
|
-
|
|
13817
13286
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
13818
13287
|
function _arrayLikeToArray(arr, len) {
|
|
13819
13288
|
if (len == null || len > arr.length) len = arr.length;
|
|
13289
|
+
|
|
13820
13290
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
13821
13291
|
arr2[i] = arr[i];
|
|
13822
13292
|
}
|
|
13293
|
+
|
|
13823
13294
|
return arr2;
|
|
13824
13295
|
}
|
|
13825
13296
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
@@ -13829,8 +13300,6 @@ function _arrayLikeToArray(arr, len) {
|
|
|
13829
13300
|
|
|
13830
13301
|
|
|
13831
13302
|
|
|
13832
|
-
|
|
13833
|
-
|
|
13834
13303
|
function _unsupportedIterableToArray(o, minLen) {
|
|
13835
13304
|
if (!o) return;
|
|
13836
13305
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -13848,14 +13317,16 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
13848
13317
|
|
|
13849
13318
|
|
|
13850
13319
|
|
|
13851
|
-
|
|
13852
13320
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
13853
13321
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
13322
|
+
|
|
13854
13323
|
if (!it) {
|
|
13855
13324
|
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
13856
13325
|
if (it) o = it;
|
|
13857
13326
|
var i = 0;
|
|
13327
|
+
|
|
13858
13328
|
var F = function F() {};
|
|
13329
|
+
|
|
13859
13330
|
return {
|
|
13860
13331
|
s: F,
|
|
13861
13332
|
n: function n() {
|
|
@@ -13873,11 +13344,13 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
13873
13344
|
f: F
|
|
13874
13345
|
};
|
|
13875
13346
|
}
|
|
13347
|
+
|
|
13876
13348
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13877
13349
|
}
|
|
13350
|
+
|
|
13878
13351
|
var normalCompletion = true,
|
|
13879
|
-
|
|
13880
|
-
|
|
13352
|
+
didErr = false,
|
|
13353
|
+
err;
|
|
13881
13354
|
return {
|
|
13882
13355
|
s: function s() {
|
|
13883
13356
|
it = it.call(o);
|
|
@@ -13961,8 +13434,11 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
13961
13434
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
13962
13435
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
13963
13436
|
|
|
13964
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
13965
|
-
var
|
|
13437
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
13438
|
+
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
13439
|
+
|
|
13440
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
|
|
13441
|
+
var es_string_split_js_ = __webpack_require__("0cda");
|
|
13966
13442
|
|
|
13967
13443
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
13968
13444
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
@@ -13980,156 +13456,10 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
13980
13456
|
var external_vue_ = __webpack_require__("8bbf");
|
|
13981
13457
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
13982
13458
|
|
|
13983
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13984
|
-
var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function
|
|
13985
|
-
|
|
13986
|
-
|
|
13987
|
-
return _c('div', {
|
|
13988
|
-
staticClass: "tooltip-container"
|
|
13989
|
-
}, [_vm.content ? _c('el-main', {
|
|
13990
|
-
directives: [{
|
|
13991
|
-
name: "loading",
|
|
13992
|
-
rawName: "v-loading",
|
|
13993
|
-
value: _vm.loading,
|
|
13994
|
-
expression: "loading"
|
|
13995
|
-
}],
|
|
13996
|
-
staticClass: "main"
|
|
13997
|
-
}, [_vm.content.title ? _c('div', {
|
|
13998
|
-
staticClass: "block"
|
|
13999
|
-
}, [_c('span', {
|
|
14000
|
-
staticClass: "title"
|
|
14001
|
-
}, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
|
|
14002
|
-
staticClass: "block"
|
|
14003
|
-
}, [_c('span', {
|
|
14004
|
-
staticClass: "title"
|
|
14005
|
-
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
14006
|
-
staticClass: "content-container scrollbar"
|
|
14007
|
-
}, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
14008
|
-
staticClass: "block"
|
|
14009
|
-
}, [_c('div', [_c('span', {
|
|
14010
|
-
staticClass: "attribute-title"
|
|
14011
|
-
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
14012
|
-
attrs: {
|
|
14013
|
-
"width": "250",
|
|
14014
|
-
"trigger": "hover",
|
|
14015
|
-
"append-to-body": false,
|
|
14016
|
-
"popper-class": "popover-origin-help"
|
|
14017
|
-
}
|
|
14018
|
-
}, [_c('i', {
|
|
14019
|
-
staticClass: "el-icon-warning-outline info",
|
|
14020
|
-
attrs: {
|
|
14021
|
-
"slot": "reference"
|
|
14022
|
-
},
|
|
14023
|
-
slot: "reference"
|
|
14024
|
-
}), _c('span', {
|
|
14025
|
-
staticStyle: {
|
|
14026
|
-
"word-break": "keep-all"
|
|
14027
|
-
}
|
|
14028
|
-
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
14029
|
-
return _c('div', {
|
|
14030
|
-
key: origin,
|
|
14031
|
-
staticClass: "attribute-content"
|
|
14032
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
14033
|
-
staticClass: "seperator"
|
|
14034
|
-
}) : _vm._e()]);
|
|
14035
|
-
}), _c('el-button', {
|
|
14036
|
-
directives: [{
|
|
14037
|
-
name: "show",
|
|
14038
|
-
rawName: "v-show",
|
|
14039
|
-
value: _vm.originsWithDatasets.length > 0,
|
|
14040
|
-
expression: "originsWithDatasets.length > 0"
|
|
14041
|
-
}],
|
|
14042
|
-
staticClass: "button",
|
|
14043
|
-
on: {
|
|
14044
|
-
"click": _vm.openDendrites
|
|
14045
|
-
}
|
|
14046
|
-
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
|
|
14047
|
-
staticClass: "block"
|
|
14048
|
-
}, [_c('div', {
|
|
14049
|
-
staticClass: "attribute-title"
|
|
14050
|
-
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
14051
|
-
return _c('div', {
|
|
14052
|
-
key: component,
|
|
14053
|
-
staticClass: "attribute-content"
|
|
14054
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
14055
|
-
staticClass: "seperator"
|
|
14056
|
-
}) : _vm._e()]);
|
|
14057
|
-
})], 2) : _vm._e(), this.destinations ? _c('div', {
|
|
14058
|
-
staticClass: "block"
|
|
14059
|
-
}, [_c('div', [_c('span', {
|
|
14060
|
-
staticClass: "attribute-title"
|
|
14061
|
-
}, [_vm._v("Destination")]), _c('el-popover', {
|
|
14062
|
-
attrs: {
|
|
14063
|
-
"width": "250",
|
|
14064
|
-
"trigger": "hover",
|
|
14065
|
-
"append-to-body": false,
|
|
14066
|
-
"popper-class": "popover-origin-help"
|
|
14067
|
-
}
|
|
14068
|
-
}, [_c('i', {
|
|
14069
|
-
staticClass: "el-icon-warning-outline info",
|
|
14070
|
-
attrs: {
|
|
14071
|
-
"slot": "reference"
|
|
14072
|
-
},
|
|
14073
|
-
slot: "reference"
|
|
14074
|
-
}), _c('span', {
|
|
14075
|
-
staticStyle: {
|
|
14076
|
-
"word-break": "keep-all"
|
|
14077
|
-
}
|
|
14078
|
-
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
14079
|
-
return _c('div', {
|
|
14080
|
-
key: destination,
|
|
14081
|
-
staticClass: "attribute-content"
|
|
14082
|
-
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
14083
|
-
staticClass: "seperator"
|
|
14084
|
-
}) : _vm._e()]);
|
|
14085
|
-
}), _c('el-button', {
|
|
14086
|
-
directives: [{
|
|
14087
|
-
name: "show",
|
|
14088
|
-
rawName: "v-show",
|
|
14089
|
-
value: _vm.destinationsWithDatasets.length > 0,
|
|
14090
|
-
expression: "destinationsWithDatasets.length > 0"
|
|
14091
|
-
}],
|
|
14092
|
-
staticClass: "button",
|
|
14093
|
-
on: {
|
|
14094
|
-
"click": _vm.openAxons
|
|
14095
|
-
}
|
|
14096
|
-
}, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
|
|
14097
|
-
directives: [{
|
|
14098
|
-
name: "show",
|
|
14099
|
-
rawName: "v-show",
|
|
14100
|
-
value: _vm.components.length > 0,
|
|
14101
|
-
expression: "components.length > 0"
|
|
14102
|
-
}],
|
|
14103
|
-
staticClass: "button",
|
|
14104
|
-
on: {
|
|
14105
|
-
"click": _vm.openAll
|
|
14106
|
-
}
|
|
14107
|
-
}, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
|
|
14108
|
-
directives: [{
|
|
14109
|
-
name: "show",
|
|
14110
|
-
rawName: "v-show",
|
|
14111
|
-
value: false,
|
|
14112
|
-
expression: "false"
|
|
14113
|
-
}],
|
|
14114
|
-
attrs: {
|
|
14115
|
-
"entry": _vm.content
|
|
14116
|
-
},
|
|
14117
|
-
on: {
|
|
14118
|
-
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
14119
|
-
}
|
|
14120
|
-
}) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
14121
|
-
staticClass: "button",
|
|
14122
|
-
attrs: {
|
|
14123
|
-
"icon": "el-icon-notebook-2"
|
|
14124
|
-
},
|
|
14125
|
-
on: {
|
|
14126
|
-
"click": function click($event) {
|
|
14127
|
-
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
14128
|
-
}
|
|
14129
|
-
}
|
|
14130
|
-
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
14131
|
-
};
|
|
14132
|
-
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
|
|
13459
|
+
// 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&
|
|
13460
|
+
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)}
|
|
13461
|
+
var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = []
|
|
13462
|
+
|
|
14133
13463
|
|
|
14134
13464
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
|
|
14135
13465
|
|
|
@@ -14151,7 +13481,6 @@ function _iterableToArray(iter) {
|
|
|
14151
13481
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14152
13482
|
}
|
|
14153
13483
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14154
|
-
|
|
14155
13484
|
function _nonIterableSpread() {
|
|
14156
13485
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14157
13486
|
}
|
|
@@ -14201,15 +13530,9 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
14201
13530
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
14202
13531
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
14203
13532
|
|
|
14204
|
-
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
14205
|
-
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
14206
|
-
|
|
14207
13533
|
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
14208
13534
|
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
14209
13535
|
|
|
14210
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
14211
|
-
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
14212
|
-
|
|
14213
13536
|
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
14214
13537
|
var es_promise_js_ = __webpack_require__("ec71");
|
|
14215
13538
|
|
|
@@ -14227,25 +13550,20 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
14227
13550
|
var locale = __webpack_require__("4897");
|
|
14228
13551
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
14229
13552
|
|
|
14230
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14231
|
-
var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function
|
|
14232
|
-
|
|
14233
|
-
|
|
14234
|
-
return _c('div', {
|
|
14235
|
-
staticClass: "pubmed-container"
|
|
14236
|
-
});
|
|
14237
|
-
};
|
|
14238
|
-
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
|
|
13553
|
+
// 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&
|
|
13554
|
+
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"})}
|
|
13555
|
+
var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = []
|
|
13556
|
+
|
|
14239
13557
|
|
|
14240
13558
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
|
|
14241
13559
|
|
|
14242
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url
|
|
14243
|
-
var
|
|
13560
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
13561
|
+
var web_url_js_ = __webpack_require__("b94f");
|
|
14244
13562
|
|
|
14245
13563
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
14246
13564
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
14247
13565
|
|
|
14248
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
13566
|
+
// 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&
|
|
14249
13567
|
|
|
14250
13568
|
|
|
14251
13569
|
|
|
@@ -14256,8 +13574,16 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14256
13574
|
|
|
14257
13575
|
|
|
14258
13576
|
|
|
14259
|
-
/* eslint-disable no-alert, no-console */
|
|
14260
13577
|
|
|
13578
|
+
//
|
|
13579
|
+
//
|
|
13580
|
+
//
|
|
13581
|
+
//
|
|
13582
|
+
//
|
|
13583
|
+
//
|
|
13584
|
+
//
|
|
13585
|
+
|
|
13586
|
+
/* eslint-disable no-alert, no-console */
|
|
14261
13587
|
/* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
|
|
14262
13588
|
name: "Tooltip",
|
|
14263
13589
|
props: {
|
|
@@ -14289,6 +13615,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14289
13615
|
},
|
|
14290
13616
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
14291
13617
|
var sql = 'select distinct publication from publications where entity in (';
|
|
13618
|
+
|
|
14292
13619
|
if (keastIds.length === 1) {
|
|
14293
13620
|
sql += "'".concat(keastIds[0], "')");
|
|
14294
13621
|
} else if (keastIds.length > 1) {
|
|
@@ -14296,6 +13623,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14296
13623
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14297
13624
|
}
|
|
14298
13625
|
}
|
|
13626
|
+
|
|
14299
13627
|
return sql;
|
|
14300
13628
|
},
|
|
14301
13629
|
buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
|
|
@@ -14319,11 +13647,12 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14319
13647
|
},
|
|
14320
13648
|
pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
|
|
14321
13649
|
var _this = this;
|
|
13650
|
+
|
|
14322
13651
|
if (!keastIds || keastIds.length === 0) return;
|
|
14323
13652
|
var sql = this.buildPubmedSqlStatement(keastIds);
|
|
14324
13653
|
this.flatmapQuery(sql).then(function (data) {
|
|
14325
|
-
_this.responseData = data;
|
|
14326
|
-
|
|
13654
|
+
_this.responseData = data; // Create pubmed url on paths if we have them
|
|
13655
|
+
|
|
14327
13656
|
if (data.values.length > 0) {
|
|
14328
13657
|
_this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
|
|
14329
13658
|
return _this.stripPMIDPrefix(id[0]);
|
|
@@ -14336,6 +13665,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14336
13665
|
},
|
|
14337
13666
|
pubmedQueryOnModels: function pubmedQueryOnModels(source) {
|
|
14338
13667
|
var _this2 = this;
|
|
13668
|
+
|
|
14339
13669
|
this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
|
|
14340
13670
|
if (Array.isArray(data.values) && data.values.length > 0) {
|
|
14341
13671
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
@@ -14343,10 +13673,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14343
13673
|
})));
|
|
14344
13674
|
} else {
|
|
14345
13675
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
13676
|
+
|
|
14346
13677
|
}
|
|
14347
13678
|
});
|
|
14348
13679
|
},
|
|
14349
|
-
|
|
14350
13680
|
pubmedSearchUrl: function pubmedSearchUrl(ids) {
|
|
14351
13681
|
var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
|
|
14352
13682
|
var params = new URLSearchParams();
|
|
@@ -14357,8 +13687,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
14357
13687
|
});
|
|
14358
13688
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
14359
13689
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
14360
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&
|
|
14361
|
-
var
|
|
13690
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&scoped=true&lang=scss&
|
|
13691
|
+
var PubmedViewervue_type_style_index_0_id_58832c92_scoped_true_lang_scss_ = __webpack_require__("b191");
|
|
14362
13692
|
|
|
14363
13693
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
14364
13694
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -14367,19 +13697,20 @@ var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ =
|
|
|
14367
13697
|
// This module is a runtime utility for cleaner component module output and will
|
|
14368
13698
|
// be included in the final webpack user bundle.
|
|
14369
13699
|
|
|
14370
|
-
function normalizeComponent(
|
|
13700
|
+
function normalizeComponent (
|
|
14371
13701
|
scriptExports,
|
|
14372
13702
|
render,
|
|
14373
13703
|
staticRenderFns,
|
|
14374
13704
|
functionalTemplate,
|
|
14375
13705
|
injectStyles,
|
|
14376
13706
|
scopeId,
|
|
14377
|
-
moduleIdentifier /* server only
|
|
13707
|
+
moduleIdentifier, /* server only */
|
|
14378
13708
|
shadowMode /* vue-cli only */
|
|
14379
13709
|
) {
|
|
14380
13710
|
// Vue.extend constructor export interop
|
|
14381
|
-
var options =
|
|
14382
|
-
|
|
13711
|
+
var options = typeof scriptExports === 'function'
|
|
13712
|
+
? scriptExports.options
|
|
13713
|
+
: scriptExports
|
|
14383
13714
|
|
|
14384
13715
|
// render functions
|
|
14385
13716
|
if (render) {
|
|
@@ -14399,8 +13730,7 @@ function normalizeComponent(
|
|
|
14399
13730
|
}
|
|
14400
13731
|
|
|
14401
13732
|
var hook
|
|
14402
|
-
if (moduleIdentifier) {
|
|
14403
|
-
// server build
|
|
13733
|
+
if (moduleIdentifier) { // server build
|
|
14404
13734
|
hook = function (context) {
|
|
14405
13735
|
// 2.3 injection
|
|
14406
13736
|
context =
|
|
@@ -14426,11 +13756,11 @@ function normalizeComponent(
|
|
|
14426
13756
|
} else if (injectStyles) {
|
|
14427
13757
|
hook = shadowMode
|
|
14428
13758
|
? function () {
|
|
14429
|
-
|
|
14430
|
-
|
|
14431
|
-
|
|
14432
|
-
|
|
14433
|
-
|
|
13759
|
+
injectStyles.call(
|
|
13760
|
+
this,
|
|
13761
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
13762
|
+
)
|
|
13763
|
+
}
|
|
14434
13764
|
: injectStyles
|
|
14435
13765
|
}
|
|
14436
13766
|
|
|
@@ -14441,14 +13771,16 @@ function normalizeComponent(
|
|
|
14441
13771
|
options._injectStyles = hook
|
|
14442
13772
|
// register for functional component in vue file
|
|
14443
13773
|
var originalRender = options.render
|
|
14444
|
-
options.render = function renderWithStyleInjection(h, context) {
|
|
13774
|
+
options.render = function renderWithStyleInjection (h, context) {
|
|
14445
13775
|
hook.call(context)
|
|
14446
13776
|
return originalRender(h, context)
|
|
14447
13777
|
}
|
|
14448
13778
|
} else {
|
|
14449
13779
|
// inject component registration as beforeCreate hook
|
|
14450
13780
|
var existing = options.beforeCreate
|
|
14451
|
-
options.beforeCreate = existing
|
|
13781
|
+
options.beforeCreate = existing
|
|
13782
|
+
? [].concat(existing, hook)
|
|
13783
|
+
: [hook]
|
|
14452
13784
|
}
|
|
14453
13785
|
}
|
|
14454
13786
|
|
|
@@ -14483,9 +13815,7 @@ var component = normalizeComponent(
|
|
|
14483
13815
|
|
|
14484
13816
|
var EventBus = new external_vue_default.a();
|
|
14485
13817
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
14486
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14487
|
-
|
|
14488
|
-
|
|
13818
|
+
// 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&
|
|
14489
13819
|
|
|
14490
13820
|
|
|
14491
13821
|
|
|
@@ -14519,6 +13849,86 @@ var EventBus = new external_vue_default.a();
|
|
|
14519
13849
|
|
|
14520
13850
|
|
|
14521
13851
|
|
|
13852
|
+
//
|
|
13853
|
+
//
|
|
13854
|
+
//
|
|
13855
|
+
//
|
|
13856
|
+
//
|
|
13857
|
+
//
|
|
13858
|
+
//
|
|
13859
|
+
//
|
|
13860
|
+
//
|
|
13861
|
+
//
|
|
13862
|
+
//
|
|
13863
|
+
//
|
|
13864
|
+
//
|
|
13865
|
+
//
|
|
13866
|
+
//
|
|
13867
|
+
//
|
|
13868
|
+
//
|
|
13869
|
+
//
|
|
13870
|
+
//
|
|
13871
|
+
//
|
|
13872
|
+
//
|
|
13873
|
+
//
|
|
13874
|
+
//
|
|
13875
|
+
//
|
|
13876
|
+
//
|
|
13877
|
+
//
|
|
13878
|
+
//
|
|
13879
|
+
//
|
|
13880
|
+
//
|
|
13881
|
+
//
|
|
13882
|
+
//
|
|
13883
|
+
//
|
|
13884
|
+
//
|
|
13885
|
+
//
|
|
13886
|
+
//
|
|
13887
|
+
//
|
|
13888
|
+
//
|
|
13889
|
+
//
|
|
13890
|
+
//
|
|
13891
|
+
//
|
|
13892
|
+
//
|
|
13893
|
+
//
|
|
13894
|
+
//
|
|
13895
|
+
//
|
|
13896
|
+
//
|
|
13897
|
+
//
|
|
13898
|
+
//
|
|
13899
|
+
//
|
|
13900
|
+
//
|
|
13901
|
+
//
|
|
13902
|
+
//
|
|
13903
|
+
//
|
|
13904
|
+
//
|
|
13905
|
+
//
|
|
13906
|
+
//
|
|
13907
|
+
//
|
|
13908
|
+
//
|
|
13909
|
+
//
|
|
13910
|
+
//
|
|
13911
|
+
//
|
|
13912
|
+
//
|
|
13913
|
+
//
|
|
13914
|
+
//
|
|
13915
|
+
//
|
|
13916
|
+
//
|
|
13917
|
+
//
|
|
13918
|
+
//
|
|
13919
|
+
//
|
|
13920
|
+
//
|
|
13921
|
+
//
|
|
13922
|
+
//
|
|
13923
|
+
//
|
|
13924
|
+
//
|
|
13925
|
+
//
|
|
13926
|
+
//
|
|
13927
|
+
//
|
|
13928
|
+
//
|
|
13929
|
+
//
|
|
13930
|
+
//
|
|
13931
|
+
//
|
|
14522
13932
|
|
|
14523
13933
|
/* eslint-disable no-alert, no-console */
|
|
14524
13934
|
|
|
@@ -14529,9 +13939,9 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
14529
13939
|
external_vue_default.a.use(lib_container_default.a);
|
|
14530
13940
|
external_vue_default.a.use(lib_header_default.a);
|
|
14531
13941
|
external_vue_default.a.use(lib_icon_default.a);
|
|
14532
|
-
external_vue_default.a.use(lib_main_default.a);
|
|
13942
|
+
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
|
|
13943
|
+
|
|
14533
13944
|
|
|
14534
|
-
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
14535
13945
|
|
|
14536
13946
|
|
|
14537
13947
|
var _titleCase = function titleCase(str) {
|
|
@@ -14539,13 +13949,14 @@ var _titleCase = function titleCase(str) {
|
|
|
14539
13949
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
14540
13950
|
});
|
|
14541
13951
|
};
|
|
13952
|
+
|
|
14542
13953
|
var inArray = function inArray(ar1, ar2) {
|
|
14543
13954
|
var as1 = JSON.stringify(ar1);
|
|
14544
13955
|
var as2 = JSON.stringify(ar2);
|
|
14545
13956
|
return as1.indexOf(as2) !== -1;
|
|
14546
|
-
};
|
|
13957
|
+
}; // remove duplicates by stringifying the objects
|
|
13958
|
+
|
|
14547
13959
|
|
|
14548
|
-
// remove duplicates by stringifying the objects
|
|
14549
13960
|
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
14550
13961
|
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
14551
13962
|
return JSON.stringify(e);
|
|
@@ -14553,10 +13964,12 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
|
|
|
14553
13964
|
return JSON.parse(e);
|
|
14554
13965
|
});
|
|
14555
13966
|
};
|
|
13967
|
+
|
|
14556
13968
|
var _capitalise = function capitalise(str) {
|
|
14557
13969
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
14558
13970
|
return "";
|
|
14559
13971
|
};
|
|
13972
|
+
|
|
14560
13973
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
14561
13974
|
components: {
|
|
14562
13975
|
PubmedViewer: PubmedViewer
|
|
@@ -14657,7 +14070,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14657
14070
|
},
|
|
14658
14071
|
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
14659
14072
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14073
|
+
|
|
14660
14074
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14075
|
+
|
|
14076
|
+
|
|
14661
14077
|
var found = [];
|
|
14662
14078
|
nodes.forEach(function (n) {
|
|
14663
14079
|
if (Array.isArray(n)) {
|
|
@@ -14670,7 +14086,10 @@ var _capitalise = function capitalise(str) {
|
|
|
14670
14086
|
},
|
|
14671
14087
|
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
14672
14088
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
14089
|
+
|
|
14673
14090
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
14091
|
+
|
|
14092
|
+
|
|
14674
14093
|
var found = [];
|
|
14675
14094
|
nodes.forEach(function (n) {
|
|
14676
14095
|
if (Array.isArray(n)) {
|
|
@@ -14683,18 +14102,21 @@ var _capitalise = function capitalise(str) {
|
|
|
14683
14102
|
},
|
|
14684
14103
|
findComponents: function findComponents(connectivity) {
|
|
14685
14104
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
14105
|
+
|
|
14686
14106
|
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
14687
14107
|
var found = [];
|
|
14688
14108
|
var terminal = false;
|
|
14689
14109
|
nodes.forEach(function (node) {
|
|
14690
|
-
terminal = false;
|
|
14691
|
-
|
|
14110
|
+
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)
|
|
14111
|
+
|
|
14692
14112
|
if (inArray(connectivity.axons, node)) {
|
|
14693
14113
|
terminal = true;
|
|
14694
14114
|
}
|
|
14115
|
+
|
|
14695
14116
|
if (inArray(connectivity.dendrites, node)) {
|
|
14696
14117
|
terminal = true;
|
|
14697
14118
|
}
|
|
14119
|
+
|
|
14698
14120
|
if (!terminal) {
|
|
14699
14121
|
found.push(node);
|
|
14700
14122
|
}
|
|
@@ -14703,6 +14125,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14703
14125
|
},
|
|
14704
14126
|
getOrganCuries: function getOrganCuries() {
|
|
14705
14127
|
var _this = this;
|
|
14128
|
+
|
|
14706
14129
|
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
14707
14130
|
return response.json();
|
|
14708
14131
|
}).then(function (data) {
|
|
@@ -14711,6 +14134,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14711
14134
|
},
|
|
14712
14135
|
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
14713
14136
|
var sql = 'select knowledge from knowledge where entity in (';
|
|
14137
|
+
|
|
14714
14138
|
if (keastIds.length === 1) {
|
|
14715
14139
|
sql += "'".concat(keastIds[0], "')");
|
|
14716
14140
|
} else if (keastIds.length > 1) {
|
|
@@ -14718,10 +14142,12 @@ var _capitalise = function capitalise(str) {
|
|
|
14718
14142
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
14719
14143
|
}
|
|
14720
14144
|
}
|
|
14145
|
+
|
|
14721
14146
|
return sql;
|
|
14722
14147
|
},
|
|
14723
14148
|
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
14724
14149
|
var sql = 'select entity, label from labels where entity in (';
|
|
14150
|
+
|
|
14725
14151
|
if (uberons.length === 1) {
|
|
14726
14152
|
sql += "'".concat(uberons[0], "')");
|
|
14727
14153
|
} else if (uberons.length > 1) {
|
|
@@ -14729,10 +14155,12 @@ var _capitalise = function capitalise(str) {
|
|
|
14729
14155
|
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
14730
14156
|
}
|
|
14731
14157
|
}
|
|
14158
|
+
|
|
14732
14159
|
return sql;
|
|
14733
14160
|
},
|
|
14734
14161
|
createLabelLookup: function createLabelLookup(uberons) {
|
|
14735
14162
|
var _this2 = this;
|
|
14163
|
+
|
|
14736
14164
|
return new Promise(function (resolve) {
|
|
14737
14165
|
var uberonMap = {};
|
|
14738
14166
|
var data = {
|
|
@@ -14749,20 +14177,24 @@ var _capitalise = function capitalise(str) {
|
|
|
14749
14177
|
}).then(function (payload) {
|
|
14750
14178
|
var entity = payload.keys.indexOf("entity");
|
|
14751
14179
|
var label = payload.keys.indexOf("label");
|
|
14180
|
+
|
|
14752
14181
|
if (entity > -1 && label > -1) {
|
|
14753
14182
|
payload.values.forEach(function (pair) {
|
|
14754
14183
|
uberonMap[pair[entity]] = pair[label];
|
|
14755
14184
|
});
|
|
14756
14185
|
}
|
|
14186
|
+
|
|
14757
14187
|
resolve(uberonMap);
|
|
14758
14188
|
});
|
|
14759
14189
|
});
|
|
14760
14190
|
},
|
|
14761
14191
|
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
14762
14192
|
var _this3 = this;
|
|
14193
|
+
|
|
14763
14194
|
var labelList = [];
|
|
14764
14195
|
components.forEach(function (n) {
|
|
14765
14196
|
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
14197
|
+
|
|
14766
14198
|
if (n.length === 2) {
|
|
14767
14199
|
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
14768
14200
|
}
|
|
@@ -14771,6 +14203,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14771
14203
|
},
|
|
14772
14204
|
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
14773
14205
|
var label = lookUp[node[0]];
|
|
14206
|
+
|
|
14774
14207
|
if (node.length === 2 && node[1].length > 0) {
|
|
14775
14208
|
node[1].forEach(function (n) {
|
|
14776
14209
|
if (lookUp[n] == undefined) {
|
|
@@ -14780,21 +14213,20 @@ var _capitalise = function capitalise(str) {
|
|
|
14780
14213
|
}
|
|
14781
14214
|
});
|
|
14782
14215
|
}
|
|
14216
|
+
|
|
14783
14217
|
return label;
|
|
14784
14218
|
},
|
|
14785
14219
|
processConnectivity: function processConnectivity(connectivity) {
|
|
14786
14220
|
var _this4 = this;
|
|
14221
|
+
|
|
14787
14222
|
// Filter the origin and destinations from components
|
|
14788
|
-
var components = this.findComponents(connectivity);
|
|
14223
|
+
var components = this.findComponents(connectivity); // Remove duplicates
|
|
14789
14224
|
|
|
14790
|
-
// Remove duplicates
|
|
14791
14225
|
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
14792
|
-
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
14226
|
+
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites); // Create list of ids to get labels for
|
|
14793
14227
|
|
|
14794
|
-
// Create
|
|
14795
|
-
var conIds = this.findAllIdsFromConnectivity(connectivity);
|
|
14228
|
+
var conIds = this.findAllIdsFromConnectivity(connectivity); // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14796
14229
|
|
|
14797
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
14798
14230
|
this.createLabelLookup(conIds).then(function (lookUp) {
|
|
14799
14231
|
_this4.destinations = axons.map(function (a) {
|
|
14800
14232
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
@@ -14812,9 +14244,8 @@ var _capitalise = function capitalise(str) {
|
|
|
14812
14244
|
// process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
|
|
14813
14245
|
var componentsFlat = this.flattenConntectivity(components);
|
|
14814
14246
|
var axonsFlat = this.flattenConntectivity(axons);
|
|
14815
|
-
var dendritesFlat = this.flattenConntectivity(dendrites);
|
|
14247
|
+
var dendritesFlat = this.flattenConntectivity(dendrites); // Filter for the anatomy which is annotated on datasets
|
|
14816
14248
|
|
|
14817
|
-
// Filter for the anatomy which is annotated on datasets
|
|
14818
14249
|
this.destinationsWithDatasets = this.uberons.filter(function (ub) {
|
|
14819
14250
|
return axonsFlat.indexOf(ub.id) !== -1;
|
|
14820
14251
|
});
|
|
@@ -14827,6 +14258,7 @@ var _capitalise = function capitalise(str) {
|
|
|
14827
14258
|
},
|
|
14828
14259
|
pathwayQuery: function pathwayQuery(keastIds) {
|
|
14829
14260
|
var _this5 = this;
|
|
14261
|
+
|
|
14830
14262
|
this.destinations = [];
|
|
14831
14263
|
this.origins = [];
|
|
14832
14264
|
this.components = [];
|
|
@@ -14845,7 +14277,9 @@ var _capitalise = function capitalise(str) {
|
|
|
14845
14277
|
return response.json();
|
|
14846
14278
|
}).then(function (data) {
|
|
14847
14279
|
var connectivity = JSON.parse(data.values[0][0]);
|
|
14280
|
+
|
|
14848
14281
|
_this5.processConnectivity(connectivity);
|
|
14282
|
+
|
|
14849
14283
|
_this5.loading = false;
|
|
14850
14284
|
}).catch(function (error) {
|
|
14851
14285
|
console.error('Error:', error);
|
|
@@ -14855,8 +14289,8 @@ var _capitalise = function capitalise(str) {
|
|
|
14855
14289
|
});
|
|
14856
14290
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
14857
14291
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
14858
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&
|
|
14859
|
-
var
|
|
14292
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&scoped=true&lang=scss&
|
|
14293
|
+
var Tooltipvue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss_ = __webpack_require__("13aa");
|
|
14860
14294
|
|
|
14861
14295
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
14862
14296
|
|
|
@@ -14882,98 +14316,43 @@ var Tooltip_component = normalizeComponent(
|
|
|
14882
14316
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
14883
14317
|
var svg_sprite_ = __webpack_require__("429c");
|
|
14884
14318
|
|
|
14885
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14886
|
-
var Legendsvue_type_template_id_514dd6be_scoped_true_render = function
|
|
14887
|
-
|
|
14888
|
-
|
|
14889
|
-
return _c('div', {
|
|
14890
|
-
staticClass: "legends-container"
|
|
14891
|
-
}, [_c('svg', {
|
|
14892
|
-
staticStyle: {
|
|
14893
|
-
"enable-background": "new 0 0 500 500"
|
|
14894
|
-
},
|
|
14895
|
-
attrs: {
|
|
14896
|
-
"version": "1.1",
|
|
14897
|
-
"id": "Layer_1",
|
|
14898
|
-
"x": "0px",
|
|
14899
|
-
"y": "0px",
|
|
14900
|
-
"viewBox": "0 0 500 500",
|
|
14901
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
14902
|
-
"xmlns:bx": "https://boxy-svg.com"
|
|
14903
|
-
}
|
|
14904
|
-
}, [_c('defs', [_c('bx:grid', {
|
|
14905
|
-
attrs: {
|
|
14906
|
-
"height": "30.447",
|
|
14907
|
-
"width": "32.516",
|
|
14908
|
-
"x": "0",
|
|
14909
|
-
"y": "0"
|
|
14910
|
-
}
|
|
14911
|
-
})], 1), _c('path', {
|
|
14912
|
-
staticClass: "st0 st0-translate",
|
|
14913
|
-
attrs: {
|
|
14914
|
-
"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"
|
|
14915
|
-
}
|
|
14916
|
-
}), _c('path', {
|
|
14917
|
-
staticClass: "st1",
|
|
14918
|
-
attrs: {
|
|
14919
|
-
"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"
|
|
14920
|
-
}
|
|
14921
|
-
}), _c('path', {
|
|
14922
|
-
staticClass: "st2",
|
|
14923
|
-
attrs: {
|
|
14924
|
-
"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"
|
|
14925
|
-
}
|
|
14926
|
-
}), _c('text', {
|
|
14927
|
-
staticClass: "st3 st4 st5",
|
|
14928
|
-
staticStyle: {
|
|
14929
|
-
"white-space": "pre"
|
|
14930
|
-
},
|
|
14931
|
-
attrs: {
|
|
14932
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
14933
|
-
}
|
|
14934
|
-
}, [_vm._v("Tissue region")]), _c('path', {
|
|
14935
|
-
staticClass: "st6",
|
|
14936
|
-
attrs: {
|
|
14937
|
-
"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"
|
|
14938
|
-
}
|
|
14939
|
-
}), _c('text', {
|
|
14940
|
-
staticClass: "st3 st4 st5",
|
|
14941
|
-
staticStyle: {
|
|
14942
|
-
"white-space": "pre"
|
|
14943
|
-
},
|
|
14944
|
-
attrs: {
|
|
14945
|
-
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
14946
|
-
}
|
|
14947
|
-
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
14948
|
-
staticClass: "st3 st4 st5",
|
|
14949
|
-
staticStyle: {
|
|
14950
|
-
"white-space": "pre"
|
|
14951
|
-
},
|
|
14952
|
-
attrs: {
|
|
14953
|
-
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
14954
|
-
}
|
|
14955
|
-
}, [_vm._v("Ganglia")]), _c('text', {
|
|
14956
|
-
staticClass: "st3 st4 st5",
|
|
14957
|
-
staticStyle: {
|
|
14958
|
-
"white-space": "pre"
|
|
14959
|
-
},
|
|
14960
|
-
attrs: {
|
|
14961
|
-
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
14962
|
-
}
|
|
14963
|
-
}, [_vm._v("Nerve plexus")])])]);
|
|
14964
|
-
};
|
|
14965
|
-
var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = [];
|
|
14319
|
+
// 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&
|
|
14320
|
+
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")])])])}
|
|
14321
|
+
var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = []
|
|
14322
|
+
|
|
14966
14323
|
|
|
14967
14324
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
|
|
14968
14325
|
|
|
14969
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14326
|
+
// 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&
|
|
14327
|
+
//
|
|
14328
|
+
//
|
|
14329
|
+
//
|
|
14330
|
+
//
|
|
14331
|
+
//
|
|
14332
|
+
//
|
|
14333
|
+
//
|
|
14334
|
+
//
|
|
14335
|
+
//
|
|
14336
|
+
//
|
|
14337
|
+
//
|
|
14338
|
+
//
|
|
14339
|
+
//
|
|
14340
|
+
//
|
|
14341
|
+
//
|
|
14342
|
+
//
|
|
14343
|
+
//
|
|
14344
|
+
//
|
|
14345
|
+
//
|
|
14346
|
+
//
|
|
14347
|
+
//
|
|
14348
|
+
//
|
|
14970
14349
|
/* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
|
|
14971
14350
|
name: 'SvgLegends'
|
|
14972
14351
|
});
|
|
14973
14352
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
14974
14353
|
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
14975
|
-
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&
|
|
14976
|
-
var
|
|
14354
|
+
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&scoped=true&lang=scss&
|
|
14355
|
+
var Legendsvue_type_style_index_0_id_514dd6be_scoped_true_lang_scss_ = __webpack_require__("9e82");
|
|
14977
14356
|
|
|
14978
14357
|
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
14979
14358
|
|
|
@@ -14998,7 +14377,8 @@ var Legends_component = normalizeComponent(
|
|
|
14998
14377
|
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
14999
14378
|
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
15000
14379
|
/* harmony default export */ var flatmap_marker = ('<div class="flatmap-marker"><svg display="block" height="41px" width="27px" viewBox="0 0 27 41"><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="#005974"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg></div>');
|
|
15001
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
14380
|
+
// 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&
|
|
14381
|
+
|
|
15002
14382
|
|
|
15003
14383
|
|
|
15004
14384
|
|
|
@@ -15034,6 +14414,264 @@ var Legends_component = normalizeComponent(
|
|
|
15034
14414
|
|
|
15035
14415
|
|
|
15036
14416
|
|
|
14417
|
+
//
|
|
14418
|
+
//
|
|
14419
|
+
//
|
|
14420
|
+
//
|
|
14421
|
+
//
|
|
14422
|
+
//
|
|
14423
|
+
//
|
|
14424
|
+
//
|
|
14425
|
+
//
|
|
14426
|
+
//
|
|
14427
|
+
//
|
|
14428
|
+
//
|
|
14429
|
+
//
|
|
14430
|
+
//
|
|
14431
|
+
//
|
|
14432
|
+
//
|
|
14433
|
+
//
|
|
14434
|
+
//
|
|
14435
|
+
//
|
|
14436
|
+
//
|
|
14437
|
+
//
|
|
14438
|
+
//
|
|
14439
|
+
//
|
|
14440
|
+
//
|
|
14441
|
+
//
|
|
14442
|
+
//
|
|
14443
|
+
//
|
|
14444
|
+
//
|
|
14445
|
+
//
|
|
14446
|
+
//
|
|
14447
|
+
//
|
|
14448
|
+
//
|
|
14449
|
+
//
|
|
14450
|
+
//
|
|
14451
|
+
//
|
|
14452
|
+
//
|
|
14453
|
+
//
|
|
14454
|
+
//
|
|
14455
|
+
//
|
|
14456
|
+
//
|
|
14457
|
+
//
|
|
14458
|
+
//
|
|
14459
|
+
//
|
|
14460
|
+
//
|
|
14461
|
+
//
|
|
14462
|
+
//
|
|
14463
|
+
//
|
|
14464
|
+
//
|
|
14465
|
+
//
|
|
14466
|
+
//
|
|
14467
|
+
//
|
|
14468
|
+
//
|
|
14469
|
+
//
|
|
14470
|
+
//
|
|
14471
|
+
//
|
|
14472
|
+
//
|
|
14473
|
+
//
|
|
14474
|
+
//
|
|
14475
|
+
//
|
|
14476
|
+
//
|
|
14477
|
+
//
|
|
14478
|
+
//
|
|
14479
|
+
//
|
|
14480
|
+
//
|
|
14481
|
+
//
|
|
14482
|
+
//
|
|
14483
|
+
//
|
|
14484
|
+
//
|
|
14485
|
+
//
|
|
14486
|
+
//
|
|
14487
|
+
//
|
|
14488
|
+
//
|
|
14489
|
+
//
|
|
14490
|
+
//
|
|
14491
|
+
//
|
|
14492
|
+
//
|
|
14493
|
+
//
|
|
14494
|
+
//
|
|
14495
|
+
//
|
|
14496
|
+
//
|
|
14497
|
+
//
|
|
14498
|
+
//
|
|
14499
|
+
//
|
|
14500
|
+
//
|
|
14501
|
+
//
|
|
14502
|
+
//
|
|
14503
|
+
//
|
|
14504
|
+
//
|
|
14505
|
+
//
|
|
14506
|
+
//
|
|
14507
|
+
//
|
|
14508
|
+
//
|
|
14509
|
+
//
|
|
14510
|
+
//
|
|
14511
|
+
//
|
|
14512
|
+
//
|
|
14513
|
+
//
|
|
14514
|
+
//
|
|
14515
|
+
//
|
|
14516
|
+
//
|
|
14517
|
+
//
|
|
14518
|
+
//
|
|
14519
|
+
//
|
|
14520
|
+
//
|
|
14521
|
+
//
|
|
14522
|
+
//
|
|
14523
|
+
//
|
|
14524
|
+
//
|
|
14525
|
+
//
|
|
14526
|
+
//
|
|
14527
|
+
//
|
|
14528
|
+
//
|
|
14529
|
+
//
|
|
14530
|
+
//
|
|
14531
|
+
//
|
|
14532
|
+
//
|
|
14533
|
+
//
|
|
14534
|
+
//
|
|
14535
|
+
//
|
|
14536
|
+
//
|
|
14537
|
+
//
|
|
14538
|
+
//
|
|
14539
|
+
//
|
|
14540
|
+
//
|
|
14541
|
+
//
|
|
14542
|
+
//
|
|
14543
|
+
//
|
|
14544
|
+
//
|
|
14545
|
+
//
|
|
14546
|
+
//
|
|
14547
|
+
//
|
|
14548
|
+
//
|
|
14549
|
+
//
|
|
14550
|
+
//
|
|
14551
|
+
//
|
|
14552
|
+
//
|
|
14553
|
+
//
|
|
14554
|
+
//
|
|
14555
|
+
//
|
|
14556
|
+
//
|
|
14557
|
+
//
|
|
14558
|
+
//
|
|
14559
|
+
//
|
|
14560
|
+
//
|
|
14561
|
+
//
|
|
14562
|
+
//
|
|
14563
|
+
//
|
|
14564
|
+
//
|
|
14565
|
+
//
|
|
14566
|
+
//
|
|
14567
|
+
//
|
|
14568
|
+
//
|
|
14569
|
+
//
|
|
14570
|
+
//
|
|
14571
|
+
//
|
|
14572
|
+
//
|
|
14573
|
+
//
|
|
14574
|
+
//
|
|
14575
|
+
//
|
|
14576
|
+
//
|
|
14577
|
+
//
|
|
14578
|
+
//
|
|
14579
|
+
//
|
|
14580
|
+
//
|
|
14581
|
+
//
|
|
14582
|
+
//
|
|
14583
|
+
//
|
|
14584
|
+
//
|
|
14585
|
+
//
|
|
14586
|
+
//
|
|
14587
|
+
//
|
|
14588
|
+
//
|
|
14589
|
+
//
|
|
14590
|
+
//
|
|
14591
|
+
//
|
|
14592
|
+
//
|
|
14593
|
+
//
|
|
14594
|
+
//
|
|
14595
|
+
//
|
|
14596
|
+
//
|
|
14597
|
+
//
|
|
14598
|
+
//
|
|
14599
|
+
//
|
|
14600
|
+
//
|
|
14601
|
+
//
|
|
14602
|
+
//
|
|
14603
|
+
//
|
|
14604
|
+
//
|
|
14605
|
+
//
|
|
14606
|
+
//
|
|
14607
|
+
//
|
|
14608
|
+
//
|
|
14609
|
+
//
|
|
14610
|
+
//
|
|
14611
|
+
//
|
|
14612
|
+
//
|
|
14613
|
+
//
|
|
14614
|
+
//
|
|
14615
|
+
//
|
|
14616
|
+
//
|
|
14617
|
+
//
|
|
14618
|
+
//
|
|
14619
|
+
//
|
|
14620
|
+
//
|
|
14621
|
+
//
|
|
14622
|
+
//
|
|
14623
|
+
//
|
|
14624
|
+
//
|
|
14625
|
+
//
|
|
14626
|
+
//
|
|
14627
|
+
//
|
|
14628
|
+
//
|
|
14629
|
+
//
|
|
14630
|
+
//
|
|
14631
|
+
//
|
|
14632
|
+
//
|
|
14633
|
+
//
|
|
14634
|
+
//
|
|
14635
|
+
//
|
|
14636
|
+
//
|
|
14637
|
+
//
|
|
14638
|
+
//
|
|
14639
|
+
//
|
|
14640
|
+
//
|
|
14641
|
+
//
|
|
14642
|
+
//
|
|
14643
|
+
//
|
|
14644
|
+
//
|
|
14645
|
+
//
|
|
14646
|
+
//
|
|
14647
|
+
//
|
|
14648
|
+
//
|
|
14649
|
+
//
|
|
14650
|
+
//
|
|
14651
|
+
//
|
|
14652
|
+
//
|
|
14653
|
+
//
|
|
14654
|
+
//
|
|
14655
|
+
//
|
|
14656
|
+
//
|
|
14657
|
+
//
|
|
14658
|
+
//
|
|
14659
|
+
//
|
|
14660
|
+
//
|
|
14661
|
+
//
|
|
14662
|
+
//
|
|
14663
|
+
//
|
|
14664
|
+
//
|
|
14665
|
+
//
|
|
14666
|
+
//
|
|
14667
|
+
//
|
|
14668
|
+
//
|
|
14669
|
+
//
|
|
14670
|
+
//
|
|
14671
|
+
//
|
|
14672
|
+
//
|
|
14673
|
+
//
|
|
14674
|
+
//
|
|
15037
14675
|
|
|
15038
14676
|
/* eslint-disable no-alert, no-console */
|
|
15039
14677
|
|
|
@@ -15051,12 +14689,15 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
15051
14689
|
external_vue_default.a.use(lib_radio_default.a);
|
|
15052
14690
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
15053
14691
|
external_vue_default.a.use(lib_row_default.a);
|
|
14692
|
+
|
|
15054
14693
|
var ResizeSensor = __webpack_require__("ae66");
|
|
14694
|
+
|
|
15055
14695
|
var mapResize = function mapResize(map) {
|
|
15056
14696
|
return function () {
|
|
15057
14697
|
if (map) map.resize();
|
|
15058
14698
|
};
|
|
15059
14699
|
};
|
|
14700
|
+
|
|
15060
14701
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
15061
14702
|
name: "FlatmapVuer",
|
|
15062
14703
|
components: {
|
|
@@ -15071,11 +14712,12 @@ var mapResize = function mapResize(map) {
|
|
|
15071
14712
|
},
|
|
15072
14713
|
methods: {
|
|
15073
14714
|
viewLatestMap: function viewLatestMap() {
|
|
15074
|
-
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
|
|
15075
|
-
|
|
14715
|
+
var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined; //Human requires special handling
|
|
14716
|
+
|
|
15076
14717
|
if (this.entry === "NCBITaxon:9606") {
|
|
15077
14718
|
biologicalSex = "PATO:0000384";
|
|
15078
14719
|
}
|
|
14720
|
+
|
|
15079
14721
|
var state = {
|
|
15080
14722
|
entry: this.entry,
|
|
15081
14723
|
biologicalSex: biologicalSex,
|
|
@@ -15085,6 +14727,7 @@ var mapResize = function mapResize(map) {
|
|
|
15085
14727
|
},
|
|
15086
14728
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
15087
14729
|
this.currentBackground = colour;
|
|
14730
|
+
|
|
15088
14731
|
if (this.mapImp) {
|
|
15089
14732
|
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
15090
14733
|
}
|
|
@@ -15092,11 +14735,13 @@ var mapResize = function mapResize(map) {
|
|
|
15092
14735
|
toggleDrawer: function toggleDrawer() {
|
|
15093
14736
|
this.drawerOpen = !this.drawerOpen;
|
|
15094
14737
|
},
|
|
15095
|
-
|
|
15096
|
-
|
|
14738
|
+
|
|
14739
|
+
/**
|
|
14740
|
+
* Function to toggle colour/greyscale of organs.
|
|
15097
14741
|
*/
|
|
15098
14742
|
setColour: function setColour(flag) {
|
|
15099
14743
|
this.colourRadio = flag;
|
|
14744
|
+
|
|
15100
14745
|
if (this.mapImp) {
|
|
15101
14746
|
this.mapImp.setColour({
|
|
15102
14747
|
colour: flag,
|
|
@@ -15104,11 +14749,13 @@ var mapResize = function mapResize(map) {
|
|
|
15104
14749
|
});
|
|
15105
14750
|
}
|
|
15106
14751
|
},
|
|
15107
|
-
|
|
15108
|
-
|
|
14752
|
+
|
|
14753
|
+
/**
|
|
14754
|
+
* Function to toggle outlines f organs.
|
|
15109
14755
|
*/
|
|
15110
14756
|
setOutlines: function setOutlines(flag) {
|
|
15111
14757
|
this.outlineRadio = flag;
|
|
14758
|
+
|
|
15112
14759
|
if (this.mapImp) {
|
|
15113
14760
|
this.mapImp.setColour({
|
|
15114
14761
|
colour: this.colourRadio,
|
|
@@ -15116,9 +14763,10 @@ var mapResize = function mapResize(map) {
|
|
|
15116
14763
|
});
|
|
15117
14764
|
}
|
|
15118
14765
|
},
|
|
15119
|
-
|
|
15120
|
-
|
|
15121
|
-
*
|
|
14766
|
+
|
|
14767
|
+
/**
|
|
14768
|
+
* Function to toggle paths to default.
|
|
14769
|
+
* Also called when the associated button is pressed.
|
|
15122
14770
|
*/
|
|
15123
14771
|
resetView: function resetView() {
|
|
15124
14772
|
if (this.mapImp) {
|
|
@@ -15130,18 +14778,20 @@ var mapResize = function mapResize(map) {
|
|
|
15130
14778
|
this.checkAll = true;
|
|
15131
14779
|
}
|
|
15132
14780
|
},
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
|
-
*
|
|
14781
|
+
|
|
14782
|
+
/**
|
|
14783
|
+
* Function to zoom in.
|
|
14784
|
+
* Also called when the associated button is pressed.
|
|
15136
14785
|
*/
|
|
15137
14786
|
zoomIn: function zoomIn() {
|
|
15138
14787
|
if (this.mapImp) {
|
|
15139
14788
|
this.mapImp.zoomIn();
|
|
15140
14789
|
}
|
|
15141
14790
|
},
|
|
15142
|
-
|
|
15143
|
-
|
|
15144
|
-
*
|
|
14791
|
+
|
|
14792
|
+
/**
|
|
14793
|
+
* Function to zoom out.
|
|
14794
|
+
* Also called when the associated button is pressed.
|
|
15145
14795
|
*/
|
|
15146
14796
|
zoomOut: function zoomOut() {
|
|
15147
14797
|
if (this.mapImp) {
|
|
@@ -15163,6 +14813,7 @@ var mapResize = function mapResize(map) {
|
|
|
15163
14813
|
return a.type;
|
|
15164
14814
|
}) : [];
|
|
15165
14815
|
this.isIndeterminate = false;
|
|
14816
|
+
|
|
15166
14817
|
if (this.mapImp) {
|
|
15167
14818
|
this.mapImp.showPaths(this.checkedItems);
|
|
15168
14819
|
}
|
|
@@ -15172,15 +14823,18 @@ var mapResize = function mapResize(map) {
|
|
|
15172
14823
|
},
|
|
15173
14824
|
eventCallback: function eventCallback() {
|
|
15174
14825
|
var _this = this;
|
|
14826
|
+
|
|
15175
14827
|
return function (eventType, data) {
|
|
15176
14828
|
if (eventType !== "pan-zoom") {
|
|
15177
14829
|
var label = data.label;
|
|
15178
14830
|
var resource = [data.models];
|
|
15179
14831
|
var taxonomy = _this.entry;
|
|
15180
14832
|
var biologicalSex = _this.biologicalSex;
|
|
14833
|
+
|
|
15181
14834
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
15182
14835
|
args[_key - 2] = arguments[_key];
|
|
15183
14836
|
}
|
|
14837
|
+
|
|
15184
14838
|
var payload = {
|
|
15185
14839
|
dataset: data.dataset,
|
|
15186
14840
|
biologicalSex: biologicalSex,
|
|
@@ -15190,9 +14844,10 @@ var mapResize = function mapResize(map) {
|
|
|
15190
14844
|
feature: data,
|
|
15191
14845
|
userData: args,
|
|
15192
14846
|
eventType: eventType
|
|
15193
|
-
};
|
|
15194
|
-
|
|
14847
|
+
}; // Disable the nueron pop up for now.
|
|
14848
|
+
|
|
15195
14849
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
14850
|
+
|
|
15196
14851
|
_this.$emit("resource-selected", payload);
|
|
15197
14852
|
} else {
|
|
15198
14853
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -15216,6 +14871,7 @@ var mapResize = function mapResize(map) {
|
|
|
15216
14871
|
if (ftooltip) ftooltip.style.display = "none";
|
|
15217
14872
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
15218
14873
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
14874
|
+
|
|
15219
14875
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
15220
14876
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
15221
14877
|
};
|
|
@@ -15229,13 +14885,14 @@ var mapResize = function mapResize(map) {
|
|
|
15229
14885
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
15230
14886
|
return true;
|
|
15231
14887
|
}
|
|
15232
|
-
}
|
|
15233
|
-
|
|
14888
|
+
} // annotated with datset check
|
|
14889
|
+
|
|
14890
|
+
|
|
15234
14891
|
if (data.dataset) {
|
|
15235
14892
|
return true;
|
|
15236
|
-
}
|
|
14893
|
+
} // if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
14894
|
+
|
|
15237
14895
|
|
|
15238
|
-
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
15239
14896
|
return false;
|
|
15240
14897
|
},
|
|
15241
14898
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -15247,9 +14904,8 @@ var mapResize = function mapResize(map) {
|
|
|
15247
14904
|
distribution: undefined,
|
|
15248
14905
|
actions: []
|
|
15249
14906
|
};
|
|
15250
|
-
this.tooltipVisible = false;
|
|
14907
|
+
this.tooltipVisible = false; // neural data check
|
|
15251
14908
|
|
|
15252
|
-
// neural data check
|
|
15253
14909
|
if (feature) {
|
|
15254
14910
|
if (feature.includes('ilxtr:neuron')) {
|
|
15255
14911
|
this.tooltipVisible = true;
|
|
@@ -15267,8 +14923,9 @@ var mapResize = function mapResize(map) {
|
|
|
15267
14923
|
nervePath: true
|
|
15268
14924
|
});
|
|
15269
14925
|
}
|
|
15270
|
-
}
|
|
15271
|
-
|
|
14926
|
+
} // annotated with datset check
|
|
14927
|
+
|
|
14928
|
+
|
|
15272
14929
|
if (data.dataset) {
|
|
15273
14930
|
this.tooltipVisible = true;
|
|
15274
14931
|
this.tooltipContent = content;
|
|
@@ -15287,6 +14944,7 @@ var mapResize = function mapResize(map) {
|
|
|
15287
14944
|
// Keeping this as an API
|
|
15288
14945
|
showPopup: function showPopup(featureId, node, options) {
|
|
15289
14946
|
var myOptions = options;
|
|
14947
|
+
|
|
15290
14948
|
if (this.mapImp) {
|
|
15291
14949
|
if (myOptions) {
|
|
15292
14950
|
if (!myOptions.className) myOptions.className = "custom-popup";
|
|
@@ -15296,6 +14954,7 @@ var mapResize = function mapResize(map) {
|
|
|
15296
14954
|
positionAtLastClick: true
|
|
15297
14955
|
};
|
|
15298
14956
|
}
|
|
14957
|
+
|
|
15299
14958
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
15300
14959
|
}
|
|
15301
14960
|
},
|
|
@@ -15304,6 +14963,26 @@ var mapResize = function mapResize(map) {
|
|
|
15304
14963
|
this.mapImp.showMarkerPopup(featureId, node, options);
|
|
15305
14964
|
}
|
|
15306
14965
|
},
|
|
14966
|
+
closeMinimap: function closeMinimap() {
|
|
14967
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap'); // find minimap
|
|
14968
|
+
|
|
14969
|
+
if (this.minimapSmall) {
|
|
14970
|
+
//switch the classes on the minimap
|
|
14971
|
+
minimapEl.classList.add('enlarge');
|
|
14972
|
+
minimapEl.classList.remove('shrink');
|
|
14973
|
+
} else {
|
|
14974
|
+
minimapEl.classList.add('shrink');
|
|
14975
|
+
minimapEl.classList.remove('enlarge');
|
|
14976
|
+
}
|
|
14977
|
+
|
|
14978
|
+
this.minimapSmall = !this.minimapSmall;
|
|
14979
|
+
},
|
|
14980
|
+
addResizeButtonToMinimap: function addResizeButtonToMinimap() {
|
|
14981
|
+
var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
|
|
14982
|
+
this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
|
|
14983
|
+
minimapEl.appendChild(this.$refs.minimapResize);
|
|
14984
|
+
this.minimapResizeShow = true;
|
|
14985
|
+
},
|
|
15307
14986
|
setHelpMode: function setHelpMode(helpMode) {
|
|
15308
14987
|
if (helpMode) {
|
|
15309
14988
|
this.inHelp = true;
|
|
@@ -15321,6 +15000,7 @@ var mapResize = function mapResize(map) {
|
|
|
15321
15000
|
},
|
|
15322
15001
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
15323
15002
|
var _this2 = this;
|
|
15003
|
+
|
|
15324
15004
|
if (!this.inHelp) {
|
|
15325
15005
|
this.tooltipWait = setTimeout(function () {
|
|
15326
15006
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -15350,10 +15030,13 @@ var mapResize = function mapResize(map) {
|
|
|
15350
15030
|
},
|
|
15351
15031
|
getLabels: function getLabels() {
|
|
15352
15032
|
var labels = [];
|
|
15033
|
+
|
|
15353
15034
|
if (this.mapImp) {
|
|
15354
15035
|
var annotations = this.mapImp.annotations;
|
|
15036
|
+
|
|
15355
15037
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
15356
|
-
|
|
15038
|
+
_step;
|
|
15039
|
+
|
|
15357
15040
|
try {
|
|
15358
15041
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
15359
15042
|
var value = _step.value;
|
|
@@ -15364,6 +15047,7 @@ var mapResize = function mapResize(map) {
|
|
|
15364
15047
|
} finally {
|
|
15365
15048
|
_iterator.f();
|
|
15366
15049
|
}
|
|
15050
|
+
|
|
15367
15051
|
return Array.from(new Set(labels));
|
|
15368
15052
|
}
|
|
15369
15053
|
},
|
|
@@ -15378,6 +15062,7 @@ var mapResize = function mapResize(map) {
|
|
|
15378
15062
|
if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
|
|
15379
15063
|
return state;
|
|
15380
15064
|
}
|
|
15065
|
+
|
|
15381
15066
|
return undefined;
|
|
15382
15067
|
},
|
|
15383
15068
|
setState: function setState(state) {
|
|
@@ -15399,18 +15084,17 @@ var mapResize = function mapResize(map) {
|
|
|
15399
15084
|
},
|
|
15400
15085
|
createFlatmap: function createFlatmap(state) {
|
|
15401
15086
|
var _this3 = this;
|
|
15087
|
+
|
|
15402
15088
|
if (!this.mapImp && !this.loading) {
|
|
15403
15089
|
this.loading = true;
|
|
15404
15090
|
var minimap = false;
|
|
15091
|
+
|
|
15405
15092
|
if (this.displayMinimap) {
|
|
15406
15093
|
minimap = {
|
|
15407
15094
|
position: "top-right"
|
|
15408
15095
|
};
|
|
15409
|
-
}
|
|
15410
|
-
|
|
15411
|
-
//As for flatmap-viewer@2.2.7, see below for the documentation
|
|
15096
|
+
} //As for flatmap-viewer@2.2.7, see below for the documentation
|
|
15412
15097
|
//for the identifier:
|
|
15413
|
-
|
|
15414
15098
|
//@arg identifier {string|Object}
|
|
15415
15099
|
// A string or object identifying the map to load. If a string its
|
|
15416
15100
|
// value can be either the map's ``uuid``, assigned at generation time,
|
|
@@ -15424,10 +15108,11 @@ var mapResize = function mapResize(map) {
|
|
|
15424
15108
|
// @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
|
|
15425
15109
|
// be loaded, overriding ``taxon`` and ``biologicalSex``.
|
|
15426
15110
|
|
|
15111
|
+
|
|
15427
15112
|
var identifier = {
|
|
15428
15113
|
taxon: this.entry
|
|
15429
|
-
};
|
|
15430
|
-
|
|
15114
|
+
}; //This now handle the uses of uuid when resuming states
|
|
15115
|
+
|
|
15431
15116
|
if (state) {
|
|
15432
15117
|
if (state.uuid) {
|
|
15433
15118
|
identifier = {
|
|
@@ -15435,6 +15120,7 @@ var mapResize = function mapResize(map) {
|
|
|
15435
15120
|
};
|
|
15436
15121
|
} else if (state.entry) {
|
|
15437
15122
|
identifier.taxon = state.entry;
|
|
15123
|
+
|
|
15438
15124
|
if (state.biologicalSex) {
|
|
15439
15125
|
identifier["biologicalSex"] = state.biologicalSex;
|
|
15440
15126
|
} else if (identifier.taxon === "NCBITaxon:9606") {
|
|
@@ -15449,6 +15135,7 @@ var mapResize = function mapResize(map) {
|
|
|
15449
15135
|
identifier["biologicalSex"] = this.biologicalSex;
|
|
15450
15136
|
}
|
|
15451
15137
|
}
|
|
15138
|
+
|
|
15452
15139
|
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
15453
15140
|
//fullscreenControl: false,
|
|
15454
15141
|
//annotatable: false,
|
|
@@ -15462,35 +15149,41 @@ var mapResize = function mapResize(map) {
|
|
|
15462
15149
|
});
|
|
15463
15150
|
promise1.then(function (returnedObject) {
|
|
15464
15151
|
_this3.mapImp = returnedObject;
|
|
15465
|
-
|
|
15466
|
-
_this3.
|
|
15467
|
-
|
|
15468
|
-
_this3.pathways = _this3.mapImp.pathTypes();
|
|
15469
|
-
_this3.$emit("ready", _this3);
|
|
15470
|
-
_this3.loading = false;
|
|
15152
|
+
|
|
15153
|
+
_this3.onFlatmapReady();
|
|
15154
|
+
|
|
15471
15155
|
if (_this3._stateToBeSet) _this3.restoreMapState(_this3._stateToBeSet);else {
|
|
15472
15156
|
_this3.restoreMapState(state);
|
|
15473
15157
|
}
|
|
15474
15158
|
});
|
|
15475
15159
|
} else if (state) {
|
|
15476
|
-
|
|
15477
|
-
|
|
15478
|
-
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
if (this.mapImp && !this.loading) this.restoreMapState(this._stateToBeSet);
|
|
15482
|
-
}
|
|
15160
|
+
this._stateToBeSet = {
|
|
15161
|
+
viewport: state.viewport,
|
|
15162
|
+
searchTerm: state.searchTerm
|
|
15163
|
+
};
|
|
15164
|
+
if (this.mapImp && !this.loading) this.restoreMapState(this._stateToBeSet);
|
|
15483
15165
|
}
|
|
15484
15166
|
},
|
|
15167
|
+
onFlatmapReady: function onFlatmapReady() {
|
|
15168
|
+
// onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
|
|
15169
|
+
this.sensor = new ResizeSensor(this.$refs.display, mapResize(this.mapImp));
|
|
15170
|
+
this.mapImp.setBackgroundOpacity(1);
|
|
15171
|
+
this.backgroundChangeCallback(this.currentBackground);
|
|
15172
|
+
this.pathways = this.mapImp.pathTypes();
|
|
15173
|
+
this.$emit("ready", this);
|
|
15174
|
+
this.addResizeButtonToMinimap();
|
|
15175
|
+
this.loading = false;
|
|
15176
|
+
},
|
|
15485
15177
|
showMinimap: function showMinimap(flag) {
|
|
15486
15178
|
if (this.mapImp) this.mapImp.showMinimap(flag);
|
|
15487
15179
|
},
|
|
15488
15180
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
15489
15181
|
this.drawerOpen = flag;
|
|
15490
15182
|
},
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
*
|
|
15183
|
+
|
|
15184
|
+
/**
|
|
15185
|
+
* Function to display features with annotation matching the provided term,
|
|
15186
|
+
* with the option to display the label using displayLabel flag.
|
|
15494
15187
|
*/
|
|
15495
15188
|
searchAndShowResult: function searchAndShowResult(term, displayLabel) {
|
|
15496
15189
|
if (this.mapImp) {
|
|
@@ -15499,22 +15192,27 @@ var mapResize = function mapResize(map) {
|
|
|
15499
15192
|
return true;
|
|
15500
15193
|
} else {
|
|
15501
15194
|
var searchResults = this.mapImp.search(term);
|
|
15195
|
+
|
|
15502
15196
|
if (searchResults && searchResults.results && searchResults.results.length > 0) {
|
|
15503
15197
|
this.mapImp.showSearchResults(searchResults);
|
|
15198
|
+
|
|
15504
15199
|
if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
|
|
15505
15200
|
this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
|
|
15506
15201
|
className: "custom-popup",
|
|
15507
15202
|
positionAtLastClick: false
|
|
15508
15203
|
});
|
|
15509
15204
|
}
|
|
15205
|
+
|
|
15510
15206
|
return true;
|
|
15511
15207
|
} else this.mapImp.clearSearchResults();
|
|
15512
15208
|
}
|
|
15513
15209
|
}
|
|
15210
|
+
|
|
15514
15211
|
return false;
|
|
15515
15212
|
},
|
|
15516
|
-
|
|
15517
|
-
|
|
15213
|
+
|
|
15214
|
+
/**
|
|
15215
|
+
* Get the list of suggested terms
|
|
15518
15216
|
*/
|
|
15519
15217
|
searchSuggestions: function searchSuggestions(term) {
|
|
15520
15218
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -15579,15 +15277,17 @@ var mapResize = function mapResize(map) {
|
|
|
15579
15277
|
type: String,
|
|
15580
15278
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
15581
15279
|
},
|
|
15582
|
-
|
|
15583
|
-
|
|
15280
|
+
|
|
15281
|
+
/**
|
|
15282
|
+
* State containing state of the flatmap.
|
|
15584
15283
|
*/
|
|
15585
15284
|
state: {
|
|
15586
15285
|
type: Object,
|
|
15587
15286
|
default: undefined
|
|
15588
15287
|
},
|
|
15589
|
-
|
|
15590
|
-
|
|
15288
|
+
|
|
15289
|
+
/**
|
|
15290
|
+
* Specify the endpoint of the flatmap server.
|
|
15591
15291
|
*/
|
|
15592
15292
|
flatmapAPI: {
|
|
15593
15293
|
type: String,
|
|
@@ -15637,7 +15337,9 @@ var mapResize = function mapResize(map) {
|
|
|
15637
15337
|
featureIds: []
|
|
15638
15338
|
},
|
|
15639
15339
|
colourRadio: true,
|
|
15640
|
-
outlinesRadio: true
|
|
15340
|
+
outlinesRadio: true,
|
|
15341
|
+
minimapResizeShow: false,
|
|
15342
|
+
minimapSmall: false
|
|
15641
15343
|
};
|
|
15642
15344
|
},
|
|
15643
15345
|
watch: {
|
|
@@ -15657,14 +15359,15 @@ var mapResize = function mapResize(map) {
|
|
|
15657
15359
|
},
|
|
15658
15360
|
mounted: function mounted() {
|
|
15659
15361
|
var flatmap = __webpack_require__("4979");
|
|
15362
|
+
|
|
15660
15363
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
15661
15364
|
if (this.renderAtMounted) this.createFlatmap();
|
|
15662
15365
|
}
|
|
15663
15366
|
});
|
|
15664
15367
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
15665
15368
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
15666
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
15667
|
-
var
|
|
15369
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=20b4e460&scoped=true&lang=scss&
|
|
15370
|
+
var FlatmapVuervue_type_style_index_0_id_20b4e460_scoped_true_lang_scss_ = __webpack_require__("1b11");
|
|
15668
15371
|
|
|
15669
15372
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
15670
15373
|
|
|
@@ -15681,127 +15384,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
15681
15384
|
staticRenderFns,
|
|
15682
15385
|
false,
|
|
15683
15386
|
null,
|
|
15684
|
-
"
|
|
15387
|
+
"20b4e460",
|
|
15685
15388
|
null
|
|
15686
15389
|
|
|
15687
15390
|
)
|
|
15688
15391
|
|
|
15689
15392
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
15690
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15691
|
-
var
|
|
15692
|
-
|
|
15693
|
-
_c = _vm._self._c;
|
|
15694
|
-
return _c('div', {
|
|
15695
|
-
staticClass: "multi-container"
|
|
15696
|
-
}, [_c('div', {
|
|
15697
|
-
staticStyle: {
|
|
15698
|
-
"position": "absolute",
|
|
15699
|
-
"z-index": "10"
|
|
15700
|
-
}
|
|
15701
|
-
}, [_c('div', {
|
|
15702
|
-
staticClass: "species-display-text"
|
|
15703
|
-
}, [_vm._v(" Species ")]), _c('el-popover', {
|
|
15704
|
-
ref: "selectPopover",
|
|
15705
|
-
attrs: {
|
|
15706
|
-
"content": "Select a species",
|
|
15707
|
-
"placement": "right",
|
|
15708
|
-
"appendToBody": false,
|
|
15709
|
-
"trigger": "manual",
|
|
15710
|
-
"popper-class": "flatmap-popper right-popper"
|
|
15711
|
-
},
|
|
15712
|
-
model: {
|
|
15713
|
-
value: _vm.helpMode,
|
|
15714
|
-
callback: function callback($$v) {
|
|
15715
|
-
_vm.helpMode = $$v;
|
|
15716
|
-
},
|
|
15717
|
-
expression: "helpMode"
|
|
15718
|
-
}
|
|
15719
|
-
}), _c('el-select', {
|
|
15720
|
-
directives: [{
|
|
15721
|
-
name: "popover",
|
|
15722
|
-
rawName: "v-popover:selectPopover",
|
|
15723
|
-
arg: "selectPopover"
|
|
15724
|
-
}],
|
|
15725
|
-
staticClass: "select-box",
|
|
15726
|
-
attrs: {
|
|
15727
|
-
"id": "flatmap-select",
|
|
15728
|
-
"popper-append-to-body": _vm.appendToBody,
|
|
15729
|
-
"placeholder": "Select",
|
|
15730
|
-
"popper-class": "flatmap_dropdown"
|
|
15731
|
-
},
|
|
15732
|
-
on: {
|
|
15733
|
-
"change": _vm.setSpecies
|
|
15734
|
-
},
|
|
15735
|
-
model: {
|
|
15736
|
-
value: _vm.activeSpecies,
|
|
15737
|
-
callback: function callback($$v) {
|
|
15738
|
-
_vm.activeSpecies = $$v;
|
|
15739
|
-
},
|
|
15740
|
-
expression: "activeSpecies"
|
|
15741
|
-
}
|
|
15742
|
-
}, _vm._l(_vm.speciesList, function (item, key) {
|
|
15743
|
-
return _c('el-option', {
|
|
15744
|
-
key: key,
|
|
15745
|
-
attrs: {
|
|
15746
|
-
"label": key,
|
|
15747
|
-
"value": key
|
|
15748
|
-
}
|
|
15749
|
-
}, [_c('el-row', [_c('el-col', {
|
|
15750
|
-
attrs: {
|
|
15751
|
-
"span": 8
|
|
15752
|
-
}
|
|
15753
|
-
}, [_c('i', {
|
|
15754
|
-
class: item.iconClass
|
|
15755
|
-
})]), _c('el-col', {
|
|
15756
|
-
attrs: {
|
|
15757
|
-
"span": 12
|
|
15758
|
-
}
|
|
15759
|
-
}, [_vm._v(_vm._s(key))])], 1)], 1);
|
|
15760
|
-
}), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
|
|
15761
|
-
return _c('FlatmapVuer', {
|
|
15762
|
-
directives: [{
|
|
15763
|
-
name: "show",
|
|
15764
|
-
rawName: "v-show",
|
|
15765
|
-
value: _vm.activeSpecies == key,
|
|
15766
|
-
expression: "activeSpecies==key"
|
|
15767
|
-
}],
|
|
15768
|
-
key: key,
|
|
15769
|
-
ref: key,
|
|
15770
|
-
refInFor: true,
|
|
15771
|
-
staticStyle: {
|
|
15772
|
-
"height": "100%"
|
|
15773
|
-
},
|
|
15774
|
-
attrs: {
|
|
15775
|
-
"showLayer": _vm.showLayer,
|
|
15776
|
-
"entry": item.taxo,
|
|
15777
|
-
"biologicalSex": item.biologicalSex,
|
|
15778
|
-
"displayWarning": item.displayWarning,
|
|
15779
|
-
"warningMessage": _vm.warningMessage,
|
|
15780
|
-
"displayLatestChanges": item.displayLatestChanges,
|
|
15781
|
-
"latestChangesMessage": item.latestChangesMessage,
|
|
15782
|
-
"isLegacy": item.isLegacy,
|
|
15783
|
-
"featureInfo": _vm.featureInfo,
|
|
15784
|
-
"minZoom": _vm.minZoom,
|
|
15785
|
-
"pathControls": _vm.pathControls,
|
|
15786
|
-
"searchable": _vm.searchable,
|
|
15787
|
-
"helpMode": _vm.helpMode,
|
|
15788
|
-
"renderAtMounted": _vm.renderAtMounted,
|
|
15789
|
-
"displayMinimap": _vm.displayMinimap,
|
|
15790
|
-
"flatmapAPI": _vm.flatmapAPI,
|
|
15791
|
-
"sparcAPI": _vm.sparcAPI
|
|
15792
|
-
},
|
|
15793
|
-
on: {
|
|
15794
|
-
"view-latest-map": _vm.viewLatestMap,
|
|
15795
|
-
"resource-selected": _vm.FlatmapSelected,
|
|
15796
|
-
"ready": _vm.FlatmapReady,
|
|
15797
|
-
"pan-zoom-callback": _vm.panZoomCallback
|
|
15798
|
-
}
|
|
15799
|
-
});
|
|
15800
|
-
})], 2);
|
|
15801
|
-
};
|
|
15802
|
-
var MultiFlatmapVuervue_type_template_id_92af3352_scoped_true_staticRenderFns = [];
|
|
15393
|
+
// 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&
|
|
15394
|
+
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)}
|
|
15395
|
+
var MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns = []
|
|
15803
15396
|
|
|
15804
|
-
|
|
15397
|
+
|
|
15398
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=6b4bad1c&scoped=true&
|
|
15805
15399
|
|
|
15806
15400
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
15807
15401
|
var popover = __webpack_require__("06f1");
|
|
@@ -15827,7 +15421,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
15827
15421
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
15828
15422
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
15829
15423
|
|
|
15830
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
15424
|
+
// 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&
|
|
15831
15425
|
|
|
15832
15426
|
|
|
15833
15427
|
|
|
@@ -15849,6 +15443,65 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
15849
15443
|
|
|
15850
15444
|
|
|
15851
15445
|
|
|
15446
|
+
//
|
|
15447
|
+
//
|
|
15448
|
+
//
|
|
15449
|
+
//
|
|
15450
|
+
//
|
|
15451
|
+
//
|
|
15452
|
+
//
|
|
15453
|
+
//
|
|
15454
|
+
//
|
|
15455
|
+
//
|
|
15456
|
+
//
|
|
15457
|
+
//
|
|
15458
|
+
//
|
|
15459
|
+
//
|
|
15460
|
+
//
|
|
15461
|
+
//
|
|
15462
|
+
//
|
|
15463
|
+
//
|
|
15464
|
+
//
|
|
15465
|
+
//
|
|
15466
|
+
//
|
|
15467
|
+
//
|
|
15468
|
+
//
|
|
15469
|
+
//
|
|
15470
|
+
//
|
|
15471
|
+
//
|
|
15472
|
+
//
|
|
15473
|
+
//
|
|
15474
|
+
//
|
|
15475
|
+
//
|
|
15476
|
+
//
|
|
15477
|
+
//
|
|
15478
|
+
//
|
|
15479
|
+
//
|
|
15480
|
+
//
|
|
15481
|
+
//
|
|
15482
|
+
//
|
|
15483
|
+
//
|
|
15484
|
+
//
|
|
15485
|
+
//
|
|
15486
|
+
//
|
|
15487
|
+
//
|
|
15488
|
+
//
|
|
15489
|
+
//
|
|
15490
|
+
//
|
|
15491
|
+
//
|
|
15492
|
+
//
|
|
15493
|
+
//
|
|
15494
|
+
//
|
|
15495
|
+
//
|
|
15496
|
+
//
|
|
15497
|
+
//
|
|
15498
|
+
//
|
|
15499
|
+
//
|
|
15500
|
+
//
|
|
15501
|
+
//
|
|
15502
|
+
//
|
|
15503
|
+
//
|
|
15504
|
+
//
|
|
15852
15505
|
|
|
15853
15506
|
/* eslint-disable no-alert, no-console */
|
|
15854
15507
|
|
|
@@ -15875,11 +15528,14 @@ var TAXON_UUID = {
|
|
|
15875
15528
|
FlatmapVuer: FlatmapVuer
|
|
15876
15529
|
},
|
|
15877
15530
|
beforeMount: function beforeMount() {
|
|
15531
|
+
//List for resolving the promise in initialise
|
|
15532
|
+
//if initialise is called multiple times
|
|
15878
15533
|
this._resolveList = [];
|
|
15879
15534
|
this._initialised = false;
|
|
15880
15535
|
},
|
|
15881
15536
|
mounted: function mounted() {
|
|
15882
15537
|
var _this = this;
|
|
15538
|
+
|
|
15883
15539
|
this.initialise();
|
|
15884
15540
|
components_EventBus.$on('onActionClick', function (action) {
|
|
15885
15541
|
_this.FlatmapSelected(action);
|
|
@@ -15888,6 +15544,7 @@ var TAXON_UUID = {
|
|
|
15888
15544
|
methods: {
|
|
15889
15545
|
initialise: function initialise() {
|
|
15890
15546
|
var _this2 = this;
|
|
15547
|
+
|
|
15891
15548
|
return new Promise(function (resolve) {
|
|
15892
15549
|
if (_this2.requireInitialisation) {
|
|
15893
15550
|
//It has not been initialised yet
|
|
@@ -15895,7 +15552,6 @@ var TAXON_UUID = {
|
|
|
15895
15552
|
fetch(_this2.flatmapAPI).then(function (response) {
|
|
15896
15553
|
return response.json();
|
|
15897
15554
|
}).then(function (data) {
|
|
15898
|
-
_this2._initialised = true;
|
|
15899
15555
|
//Check each key in the provided availableSpecies against the one
|
|
15900
15556
|
//on the server, add them to the Select if the key is found
|
|
15901
15557
|
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
@@ -15904,21 +15560,25 @@ var TAXON_UUID = {
|
|
|
15904
15560
|
if (_this2.availableSpecies[key].biologicalSex) {
|
|
15905
15561
|
if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
|
|
15906
15562
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15563
|
+
|
|
15907
15564
|
break;
|
|
15908
15565
|
}
|
|
15909
15566
|
} else {
|
|
15910
15567
|
_this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
|
|
15568
|
+
|
|
15911
15569
|
break;
|
|
15912
15570
|
}
|
|
15913
15571
|
}
|
|
15914
15572
|
}
|
|
15915
|
-
});
|
|
15916
|
-
|
|
15573
|
+
}); //Use the state species if it does not have any other species information
|
|
15574
|
+
|
|
15917
15575
|
var species = _this2.initial;
|
|
15576
|
+
|
|
15918
15577
|
if (_this2.state) {
|
|
15919
15578
|
var mapState = _this2.state.state;
|
|
15920
15579
|
if ((!mapState || !mapState.uuid && !mapState.entry) && _this2.state.species) species = _this2.state.species;else species = undefined;
|
|
15921
15580
|
}
|
|
15581
|
+
|
|
15922
15582
|
if (species) {
|
|
15923
15583
|
//No state resuming, set the current flatmap to {this.initial}
|
|
15924
15584
|
if (species && _this2.speciesList[species] !== undefined) {
|
|
@@ -15926,9 +15586,13 @@ var TAXON_UUID = {
|
|
|
15926
15586
|
} else {
|
|
15927
15587
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
15928
15588
|
}
|
|
15589
|
+
|
|
15929
15590
|
_this2.setSpecies(_this2.activeSpecies, _this2.state ? _this2.state.state : undefined, 5);
|
|
15930
15591
|
}
|
|
15931
|
-
|
|
15592
|
+
|
|
15593
|
+
_this2._initialised = true;
|
|
15594
|
+
resolve(); //Resolve all other promises resolve in the list
|
|
15595
|
+
|
|
15932
15596
|
_this2._resolveList.forEach(function (other) {
|
|
15933
15597
|
other();
|
|
15934
15598
|
});
|
|
@@ -15937,7 +15601,7 @@ var TAXON_UUID = {
|
|
|
15937
15601
|
//resolve as it has been initialised
|
|
15938
15602
|
resolve();
|
|
15939
15603
|
} else {
|
|
15940
|
-
//resolve when the
|
|
15604
|
+
//resolve when the async initialisation is finished
|
|
15941
15605
|
_this2._resolveList.push(resolve);
|
|
15942
15606
|
}
|
|
15943
15607
|
});
|
|
@@ -15947,12 +15611,15 @@ var TAXON_UUID = {
|
|
|
15947
15611
|
},
|
|
15948
15612
|
FlatmapReady: function FlatmapReady(component) {
|
|
15949
15613
|
this.$emit("ready", component);
|
|
15614
|
+
this.addCloseButtonToMinimap();
|
|
15950
15615
|
},
|
|
15951
15616
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
15952
15617
|
var flatmap = this.$refs[this.activeSpecies];
|
|
15618
|
+
|
|
15953
15619
|
if (flatmap && flatmap[0]) {
|
|
15954
15620
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
15955
15621
|
}
|
|
15622
|
+
|
|
15956
15623
|
return undefined;
|
|
15957
15624
|
},
|
|
15958
15625
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -15971,12 +15638,14 @@ var TAXON_UUID = {
|
|
|
15971
15638
|
},
|
|
15972
15639
|
setSpecies: function setSpecies(species, state, numberOfRetry) {
|
|
15973
15640
|
var _this3 = this;
|
|
15641
|
+
|
|
15974
15642
|
if (this.$refs && species in this.$refs) {
|
|
15975
15643
|
this.activeSpecies = species;
|
|
15976
15644
|
this.$refs[this.activeSpecies][0].createFlatmap(state);
|
|
15977
15645
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
15978
15646
|
} else if (numberOfRetry) {
|
|
15979
15647
|
var retry = numberOfRetry - 1;
|
|
15648
|
+
|
|
15980
15649
|
if (retry >= 0) {
|
|
15981
15650
|
external_vue_default.a.nextTick(function () {
|
|
15982
15651
|
_this3.setSpecies(species, state, retry);
|
|
@@ -15984,33 +15653,39 @@ var TAXON_UUID = {
|
|
|
15984
15653
|
}
|
|
15985
15654
|
}
|
|
15986
15655
|
},
|
|
15987
|
-
|
|
15988
|
-
|
|
15989
|
-
*
|
|
15990
|
-
*
|
|
15991
|
-
*
|
|
15656
|
+
|
|
15657
|
+
/**
|
|
15658
|
+
* Function to switch to the latest existing map from
|
|
15659
|
+
* a legacy map of the same species.
|
|
15660
|
+
*
|
|
15661
|
+
* @private
|
|
15992
15662
|
*/
|
|
15993
15663
|
viewLatestMap: function viewLatestMap(state) {
|
|
15994
15664
|
var keys = Object.keys(this.speciesList);
|
|
15665
|
+
|
|
15995
15666
|
for (var i = 0; i < keys.length; i++) {
|
|
15996
15667
|
var species = this.speciesList[keys[i]];
|
|
15668
|
+
|
|
15997
15669
|
if (!species.isLegacy && species.taxo === state.entry && species.biologicalSex === state.biologicalSex) {
|
|
15998
15670
|
this.setSpecies(keys[i], state, 0);
|
|
15999
15671
|
return;
|
|
16000
15672
|
}
|
|
16001
15673
|
}
|
|
16002
15674
|
},
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
*
|
|
16006
|
-
*
|
|
15675
|
+
|
|
15676
|
+
/**
|
|
15677
|
+
* Create a legacy entry with the provided information
|
|
15678
|
+
*
|
|
15679
|
+
* @private
|
|
16007
15680
|
*/
|
|
16008
15681
|
createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
|
|
16009
15682
|
if (uuid && taxo) {
|
|
16010
15683
|
var name = "Legacy";
|
|
15684
|
+
|
|
16011
15685
|
if (state.species) {
|
|
16012
15686
|
if (state.species.slice(0, 6) === "Legacy") name = state.species;else name = name + " ".concat(state.species);
|
|
16013
15687
|
}
|
|
15688
|
+
|
|
16014
15689
|
this.$set(this.speciesList, name, {
|
|
16015
15690
|
taxo: taxo,
|
|
16016
15691
|
isLegacy: true,
|
|
@@ -16027,30 +15702,34 @@ var TAXON_UUID = {
|
|
|
16027
15702
|
};
|
|
16028
15703
|
}
|
|
16029
15704
|
},
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
*
|
|
16033
|
-
*
|
|
16034
|
-
*
|
|
15705
|
+
|
|
15706
|
+
/**
|
|
15707
|
+
* Function used to translate the legacy map state to one that can be used in current
|
|
15708
|
+
* flatmap if required. If it is a legacy, an Select entry will be added
|
|
15709
|
+
*
|
|
15710
|
+
* @private
|
|
16035
15711
|
*/
|
|
16036
15712
|
updateState: function updateState(state) {
|
|
16037
15713
|
var _this4 = this;
|
|
15714
|
+
|
|
16038
15715
|
return new Promise(function (resolve) {
|
|
16039
15716
|
if (state && state.state) {
|
|
16040
|
-
var mapState = state.state;
|
|
16041
|
-
|
|
15717
|
+
var mapState = state.state; //uuid is not in the state, this is a legacy map
|
|
15718
|
+
|
|
16042
15719
|
if (!mapState.uuid) {
|
|
16043
15720
|
if (mapState.entry) {
|
|
16044
15721
|
var uuid = mapState.entry in TAXON_UUID ? TAXON_UUID[mapState.entry] : undefined;
|
|
15722
|
+
|
|
16045
15723
|
var newState = _this4.createLegacyEntry(state, mapState.entry, uuid);
|
|
15724
|
+
|
|
16046
15725
|
resolve(newState ? newState : state);
|
|
16047
15726
|
}
|
|
16048
15727
|
} else if (mapState.entry) {
|
|
16049
15728
|
//uuid is in the state but should be checked if it is the latest map
|
|
16050
15729
|
//for that taxon
|
|
16051
15730
|
return new Promise(function () {
|
|
16052
|
-
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
|
|
16053
|
-
|
|
15731
|
+
var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI); //mapManager.findMap_ is an async function so we need to wrap this with a promise
|
|
15732
|
+
|
|
16054
15733
|
var identifier = {
|
|
16055
15734
|
taxon: mapState.entry
|
|
16056
15735
|
};
|
|
@@ -16065,18 +15744,19 @@ var TAXON_UUID = {
|
|
|
16065
15744
|
resolve(state);
|
|
16066
15745
|
});
|
|
16067
15746
|
});
|
|
16068
|
-
}
|
|
16069
|
-
|
|
15747
|
+
} //Create a new state and add the legacy map to the select
|
|
15748
|
+
|
|
16070
15749
|
}
|
|
16071
15750
|
|
|
16072
15751
|
resolve(state);
|
|
16073
15752
|
});
|
|
16074
15753
|
},
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
*
|
|
16078
|
-
*
|
|
16079
|
-
*
|
|
15754
|
+
|
|
15755
|
+
/**
|
|
15756
|
+
* Function used for getting the current states of the scene. This exported states
|
|
15757
|
+
* can be imported using the importStates method.
|
|
15758
|
+
*
|
|
15759
|
+
* @public
|
|
16080
15760
|
*/
|
|
16081
15761
|
getState: function getState() {
|
|
16082
15762
|
var state = {
|
|
@@ -16087,14 +15767,16 @@ var TAXON_UUID = {
|
|
|
16087
15767
|
state.state = map.getState();
|
|
16088
15768
|
return state;
|
|
16089
15769
|
},
|
|
16090
|
-
|
|
16091
|
-
|
|
16092
|
-
*
|
|
16093
|
-
*
|
|
16094
|
-
*
|
|
15770
|
+
|
|
15771
|
+
/**
|
|
15772
|
+
* Function used for importing the states of the scene. This exported states
|
|
15773
|
+
* can be imported using the read states method.
|
|
15774
|
+
*
|
|
15775
|
+
* @public
|
|
16095
15776
|
*/
|
|
16096
15777
|
setState: function setState(state) {
|
|
16097
15778
|
var _this5 = this;
|
|
15779
|
+
|
|
16098
15780
|
if (state) {
|
|
16099
15781
|
//Update state if required
|
|
16100
15782
|
this.updateState(state).then(function (currentState) {
|
|
@@ -16103,6 +15785,7 @@ var TAXON_UUID = {
|
|
|
16103
15785
|
_this5.setSpecies(currentState.species, currentState.state, 5);
|
|
16104
15786
|
} else if (currentState.state) {
|
|
16105
15787
|
var map = _this5.getCurrentFlatmap();
|
|
15788
|
+
|
|
16106
15789
|
map.setState(currentState.state);
|
|
16107
15790
|
}
|
|
16108
15791
|
});
|
|
@@ -16130,9 +15813,10 @@ var TAXON_UUID = {
|
|
|
16130
15813
|
type: Boolean,
|
|
16131
15814
|
default: false
|
|
16132
15815
|
},
|
|
16133
|
-
|
|
16134
|
-
|
|
16135
|
-
*
|
|
15816
|
+
|
|
15817
|
+
/**
|
|
15818
|
+
* Initial species for the flatmap.
|
|
15819
|
+
* This value will be ignored if a valid state object is provided.
|
|
16136
15820
|
*/
|
|
16137
15821
|
initial: {
|
|
16138
15822
|
type: String,
|
|
@@ -16197,15 +15881,17 @@ var TAXON_UUID = {
|
|
|
16197
15881
|
};
|
|
16198
15882
|
}
|
|
16199
15883
|
},
|
|
16200
|
-
|
|
16201
|
-
|
|
15884
|
+
|
|
15885
|
+
/**
|
|
15886
|
+
* State containing state of the flatmap.
|
|
16202
15887
|
*/
|
|
16203
15888
|
state: {
|
|
16204
15889
|
type: Object,
|
|
16205
15890
|
default: undefined
|
|
16206
15891
|
},
|
|
16207
|
-
|
|
16208
|
-
|
|
15892
|
+
|
|
15893
|
+
/**
|
|
15894
|
+
* Specify the endpoint of the flatmap server.
|
|
16209
15895
|
*/
|
|
16210
15896
|
flatmapAPI: {
|
|
16211
15897
|
type: String,
|
|
@@ -16236,8 +15922,8 @@ var TAXON_UUID = {
|
|
|
16236
15922
|
});
|
|
16237
15923
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
16238
15924
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
16239
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16240
|
-
var
|
|
15925
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=6b4bad1c&scoped=true&lang=scss&
|
|
15926
|
+
var MultiFlatmapVuervue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss_ = __webpack_require__("c033");
|
|
16241
15927
|
|
|
16242
15928
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
16243
15929
|
|
|
@@ -16250,11 +15936,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_92af3352_prod_scoped_true_lang_scs
|
|
|
16250
15936
|
|
|
16251
15937
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
16252
15938
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
16253
|
-
|
|
16254
|
-
|
|
15939
|
+
MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_render,
|
|
15940
|
+
MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns,
|
|
16255
15941
|
false,
|
|
16256
15942
|
null,
|
|
16257
|
-
"
|
|
15943
|
+
"6b4bad1c",
|
|
16258
15944
|
null
|
|
16259
15945
|
|
|
16260
15946
|
)
|