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