@abi-software/flatmapvuer 0.3.8 → 0.3.9
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/dist/flatmapvuer.common.js +1382 -989
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1382 -989
- 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 +2995 -2718
- package/package.json +2 -2
- package/src/App.vue +4 -3
- package/src/components/FlatmapVuer.vue +44 -19
- package/src/components/MultiFlatmapVuer.vue +12 -10
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -103,10 +103,10 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
103
103
|
|
|
104
104
|
/***/ }),
|
|
105
105
|
|
|
106
|
-
/***/ "
|
|
107
|
-
/***/ (function(module, exports) {
|
|
106
|
+
/***/ "0875":
|
|
107
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
// extracted by mini-css-extract-plugin
|
|
110
110
|
|
|
111
111
|
/***/ }),
|
|
112
112
|
|
|
@@ -197,12 +197,12 @@ module.exports =
|
|
|
197
197
|
/******/
|
|
198
198
|
/******/
|
|
199
199
|
/******/ // Load entry module and return exports
|
|
200
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
200
|
+
/******/ return __webpack_require__(__webpack_require__.s = 139);
|
|
201
201
|
/******/ })
|
|
202
202
|
/************************************************************************/
|
|
203
203
|
/******/ ({
|
|
204
204
|
|
|
205
|
-
/***/
|
|
205
|
+
/***/ 139:
|
|
206
206
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
207
207
|
|
|
208
208
|
"use strict";
|
|
@@ -225,10 +225,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
225
225
|
type: String,
|
|
226
226
|
default: 'start'
|
|
227
227
|
},
|
|
228
|
-
align:
|
|
229
|
-
type: String,
|
|
230
|
-
default: 'top'
|
|
231
|
-
}
|
|
228
|
+
align: String
|
|
232
229
|
},
|
|
233
230
|
|
|
234
231
|
computed: {
|
|
@@ -246,7 +243,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
246
243
|
|
|
247
244
|
render: function render(h) {
|
|
248
245
|
return h(this.tag, {
|
|
249
|
-
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align
|
|
246
|
+
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
250
247
|
style: this.style
|
|
251
248
|
}, this.$slots.default);
|
|
252
249
|
}
|
|
@@ -265,6 +262,17 @@ row.install = function (Vue) {
|
|
|
265
262
|
|
|
266
263
|
/******/ });
|
|
267
264
|
|
|
265
|
+
/***/ }),
|
|
266
|
+
|
|
267
|
+
/***/ "0fa6":
|
|
268
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
269
|
+
|
|
270
|
+
"use strict";
|
|
271
|
+
/* 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_5dafd4cc_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8493");
|
|
272
|
+
/* 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_5dafd4cc_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_5dafd4cc_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
273
|
+
/* unused harmony reexport * */
|
|
274
|
+
|
|
275
|
+
|
|
268
276
|
/***/ }),
|
|
269
277
|
|
|
270
278
|
/***/ "12f2":
|
|
@@ -383,12 +391,12 @@ module.exports =
|
|
|
383
391
|
/******/
|
|
384
392
|
/******/
|
|
385
393
|
/******/ // Load entry module and return exports
|
|
386
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
394
|
+
/******/ return __webpack_require__(__webpack_require__.s = 133);
|
|
387
395
|
/******/ })
|
|
388
396
|
/************************************************************************/
|
|
389
397
|
/******/ ({
|
|
390
398
|
|
|
391
|
-
/***/
|
|
399
|
+
/***/ 133:
|
|
392
400
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
393
401
|
|
|
394
402
|
"use strict";
|
|
@@ -398,7 +406,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
398
406
|
var resize_event_ = __webpack_require__(16);
|
|
399
407
|
|
|
400
408
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
|
|
401
|
-
var scrollbar_width_ = __webpack_require__(
|
|
409
|
+
var scrollbar_width_ = __webpack_require__(39);
|
|
402
410
|
var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
|
|
403
411
|
|
|
404
412
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -713,7 +721,7 @@ module.exports = __webpack_require__("8122");
|
|
|
713
721
|
|
|
714
722
|
/***/ }),
|
|
715
723
|
|
|
716
|
-
/***/
|
|
724
|
+
/***/ 39:
|
|
717
725
|
/***/ (function(module, exports) {
|
|
718
726
|
|
|
719
727
|
module.exports = __webpack_require__("e62d");
|
|
@@ -773,6 +781,13 @@ module.exports = require("throttle-debounce/throttle");
|
|
|
773
781
|
|
|
774
782
|
/***/ }),
|
|
775
783
|
|
|
784
|
+
/***/ "2439":
|
|
785
|
+
/***/ (function(module, exports) {
|
|
786
|
+
|
|
787
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
788
|
+
|
|
789
|
+
/***/ }),
|
|
790
|
+
|
|
776
791
|
/***/ "2a5e":
|
|
777
792
|
/***/ (function(module, exports, __webpack_require__) {
|
|
778
793
|
|
|
@@ -988,7 +1003,7 @@ module.exports =
|
|
|
988
1003
|
/******/
|
|
989
1004
|
/******/
|
|
990
1005
|
/******/ // Load entry module and return exports
|
|
991
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1006
|
+
/******/ return __webpack_require__(__webpack_require__.s = 112);
|
|
992
1007
|
/******/ })
|
|
993
1008
|
/************************************************************************/
|
|
994
1009
|
/******/ ({
|
|
@@ -1095,7 +1110,7 @@ function normalizeComponent (
|
|
|
1095
1110
|
|
|
1096
1111
|
/***/ }),
|
|
1097
1112
|
|
|
1098
|
-
/***/
|
|
1113
|
+
/***/ 112:
|
|
1099
1114
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1100
1115
|
|
|
1101
1116
|
"use strict";
|
|
@@ -1347,13 +1362,6 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
1347
1362
|
|
|
1348
1363
|
/***/ }),
|
|
1349
1364
|
|
|
1350
|
-
/***/ "3356":
|
|
1351
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1352
|
-
|
|
1353
|
-
// extracted by mini-css-extract-plugin
|
|
1354
|
-
|
|
1355
|
-
/***/ }),
|
|
1356
|
-
|
|
1357
1365
|
/***/ "3d2d":
|
|
1358
1366
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1359
1367
|
|
|
@@ -1441,7 +1449,7 @@ module.exports =
|
|
|
1441
1449
|
/******/
|
|
1442
1450
|
/******/
|
|
1443
1451
|
/******/ // Load entry module and return exports
|
|
1444
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1452
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1445
1453
|
/******/ })
|
|
1446
1454
|
/************************************************************************/
|
|
1447
1455
|
/******/ ({
|
|
@@ -1548,7 +1556,7 @@ function normalizeComponent (
|
|
|
1548
1556
|
|
|
1549
1557
|
/***/ }),
|
|
1550
1558
|
|
|
1551
|
-
/***/
|
|
1559
|
+
/***/ 116:
|
|
1552
1560
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1553
1561
|
|
|
1554
1562
|
"use strict";
|
|
@@ -1647,6 +1655,13 @@ main.install = function (Vue) {
|
|
|
1647
1655
|
|
|
1648
1656
|
/***/ }),
|
|
1649
1657
|
|
|
1658
|
+
/***/ "3ec8":
|
|
1659
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1660
|
+
|
|
1661
|
+
// extracted by mini-css-extract-plugin
|
|
1662
|
+
|
|
1663
|
+
/***/ }),
|
|
1664
|
+
|
|
1650
1665
|
/***/ "4010":
|
|
1651
1666
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1652
1667
|
|
|
@@ -1660,6 +1675,8 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
|
1660
1675
|
|
|
1661
1676
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1662
1677
|
|
|
1678
|
+
var _throttleDebounce = __webpack_require__("831f");
|
|
1679
|
+
|
|
1663
1680
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1664
1681
|
|
|
1665
1682
|
var isServer = typeof window === 'undefined';
|
|
@@ -1694,7 +1711,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
|
|
|
1694
1711
|
if (isServer) return;
|
|
1695
1712
|
if (!element.__resizeListeners__) {
|
|
1696
1713
|
element.__resizeListeners__ = [];
|
|
1697
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1714
|
+
element.__ro__ = new _resizeObserverPolyfill2.default((0, _throttleDebounce.debounce)(16, resizeHandler));
|
|
1698
1715
|
element.__ro__.observe(element);
|
|
1699
1716
|
}
|
|
1700
1717
|
element.__resizeListeners__.push(fn);
|
|
@@ -1825,20 +1842,6 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
1825
1842
|
|
|
1826
1843
|
/***/ }),
|
|
1827
1844
|
|
|
1828
|
-
/***/ "451d":
|
|
1829
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1830
|
-
|
|
1831
|
-
// extracted by mini-css-extract-plugin
|
|
1832
|
-
|
|
1833
|
-
/***/ }),
|
|
1834
|
-
|
|
1835
|
-
/***/ "45b8":
|
|
1836
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1837
|
-
|
|
1838
|
-
// extracted by mini-css-extract-plugin
|
|
1839
|
-
|
|
1840
|
-
/***/ }),
|
|
1841
|
-
|
|
1842
1845
|
/***/ "4897":
|
|
1843
1846
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1844
1847
|
|
|
@@ -2229,7 +2232,7 @@ module.exports =
|
|
|
2229
2232
|
/******/
|
|
2230
2233
|
/******/
|
|
2231
2234
|
/******/ // Load entry module and return exports
|
|
2232
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
2235
|
+
/******/ return __webpack_require__(__webpack_require__.s = 62);
|
|
2233
2236
|
/******/ })
|
|
2234
2237
|
/************************************************************************/
|
|
2235
2238
|
/******/ ({
|
|
@@ -2364,7 +2367,7 @@ module.exports = __webpack_require__("4010");
|
|
|
2364
2367
|
|
|
2365
2368
|
/***/ }),
|
|
2366
2369
|
|
|
2367
|
-
/***/
|
|
2370
|
+
/***/ 19:
|
|
2368
2371
|
/***/ (function(module, exports) {
|
|
2369
2372
|
|
|
2370
2373
|
module.exports = __webpack_require__("7435");
|
|
@@ -2392,14 +2395,14 @@ module.exports = __webpack_require__("8122");
|
|
|
2392
2395
|
|
|
2393
2396
|
/***/ }),
|
|
2394
2397
|
|
|
2395
|
-
/***/
|
|
2398
|
+
/***/ 32:
|
|
2396
2399
|
/***/ (function(module, exports) {
|
|
2397
2400
|
|
|
2398
2401
|
module.exports = __webpack_require__("2a5e");
|
|
2399
2402
|
|
|
2400
2403
|
/***/ }),
|
|
2401
2404
|
|
|
2402
|
-
/***/
|
|
2405
|
+
/***/ 34:
|
|
2403
2406
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2404
2407
|
|
|
2405
2408
|
"use strict";
|
|
@@ -2650,7 +2653,7 @@ component.options.__file = "packages/select/src/option.vue"
|
|
|
2650
2653
|
|
|
2651
2654
|
/***/ }),
|
|
2652
2655
|
|
|
2653
|
-
/***/
|
|
2656
|
+
/***/ 38:
|
|
2654
2657
|
/***/ (function(module, exports) {
|
|
2655
2658
|
|
|
2656
2659
|
module.exports = __webpack_require__("8bbc");
|
|
@@ -2678,7 +2681,7 @@ module.exports = __webpack_require__("6b7c");
|
|
|
2678
2681
|
|
|
2679
2682
|
/***/ }),
|
|
2680
2683
|
|
|
2681
|
-
/***/
|
|
2684
|
+
/***/ 62:
|
|
2682
2685
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2683
2686
|
|
|
2684
2687
|
"use strict";
|
|
@@ -2844,7 +2847,7 @@ var render = function() {
|
|
|
2844
2847
|
return null
|
|
2845
2848
|
}
|
|
2846
2849
|
$event.preventDefault()
|
|
2847
|
-
_vm.
|
|
2850
|
+
_vm.handleNavigate("next")
|
|
2848
2851
|
},
|
|
2849
2852
|
function($event) {
|
|
2850
2853
|
if (
|
|
@@ -2857,7 +2860,7 @@ var render = function() {
|
|
|
2857
2860
|
return null
|
|
2858
2861
|
}
|
|
2859
2862
|
$event.preventDefault()
|
|
2860
|
-
_vm.
|
|
2863
|
+
_vm.handleNavigate("prev")
|
|
2861
2864
|
},
|
|
2862
2865
|
function($event) {
|
|
2863
2866
|
if (
|
|
@@ -2950,11 +2953,15 @@ var render = function() {
|
|
|
2950
2953
|
"validate-event": false,
|
|
2951
2954
|
tabindex: _vm.multiple && _vm.filterable ? "-1" : null
|
|
2952
2955
|
},
|
|
2953
|
-
on: {
|
|
2956
|
+
on: {
|
|
2957
|
+
focus: _vm.handleFocus,
|
|
2958
|
+
blur: _vm.handleBlur,
|
|
2959
|
+
input: _vm.debouncedOnInputChange,
|
|
2960
|
+
compositionstart: _vm.handleComposition,
|
|
2961
|
+
compositionupdate: _vm.handleComposition,
|
|
2962
|
+
compositionend: _vm.handleComposition
|
|
2963
|
+
},
|
|
2954
2964
|
nativeOn: {
|
|
2955
|
-
keyup: function($event) {
|
|
2956
|
-
return _vm.debouncedOnInputChange($event)
|
|
2957
|
-
},
|
|
2958
2965
|
keydown: [
|
|
2959
2966
|
function($event) {
|
|
2960
2967
|
if (
|
|
@@ -2968,7 +2975,7 @@ var render = function() {
|
|
|
2968
2975
|
}
|
|
2969
2976
|
$event.stopPropagation()
|
|
2970
2977
|
$event.preventDefault()
|
|
2971
|
-
_vm.
|
|
2978
|
+
_vm.handleNavigate("next")
|
|
2972
2979
|
},
|
|
2973
2980
|
function($event) {
|
|
2974
2981
|
if (
|
|
@@ -2982,7 +2989,7 @@ var render = function() {
|
|
|
2982
2989
|
}
|
|
2983
2990
|
$event.stopPropagation()
|
|
2984
2991
|
$event.preventDefault()
|
|
2985
|
-
_vm.
|
|
2992
|
+
_vm.handleNavigate("prev")
|
|
2986
2993
|
},
|
|
2987
2994
|
function($event) {
|
|
2988
2995
|
if (
|
|
@@ -3018,9 +3025,6 @@ var render = function() {
|
|
|
3018
3025
|
_vm.visible = false
|
|
3019
3026
|
}
|
|
3020
3027
|
],
|
|
3021
|
-
paste: function($event) {
|
|
3022
|
-
return _vm.debouncedOnInputChange($event)
|
|
3023
|
-
},
|
|
3024
3028
|
mouseenter: function($event) {
|
|
3025
3029
|
_vm.inputHovering = true
|
|
3026
3030
|
},
|
|
@@ -3306,10 +3310,10 @@ if (false) { var api; }
|
|
|
3306
3310
|
component.options.__file = "packages/select/src/select-dropdown.vue"
|
|
3307
3311
|
/* harmony default export */ var select_dropdown = (component.exports);
|
|
3308
3312
|
// EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
|
|
3309
|
-
var src_option = __webpack_require__(
|
|
3313
|
+
var src_option = __webpack_require__(34);
|
|
3310
3314
|
|
|
3311
3315
|
// EXTERNAL MODULE: external "element-ui/lib/tag"
|
|
3312
|
-
var tag_ = __webpack_require__(
|
|
3316
|
+
var tag_ = __webpack_require__(38);
|
|
3313
3317
|
var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
|
|
3314
3318
|
|
|
3315
3319
|
// EXTERNAL MODULE: external "element-ui/lib/scrollbar"
|
|
@@ -3317,7 +3321,7 @@ var scrollbar_ = __webpack_require__(15);
|
|
|
3317
3321
|
var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
3318
3322
|
|
|
3319
3323
|
// EXTERNAL MODULE: external "throttle-debounce/debounce"
|
|
3320
|
-
var debounce_ = __webpack_require__(
|
|
3324
|
+
var debounce_ = __webpack_require__(19);
|
|
3321
3325
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
3322
3326
|
|
|
3323
3327
|
// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
|
|
@@ -3328,7 +3332,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
3328
3332
|
var resize_event_ = __webpack_require__(16);
|
|
3329
3333
|
|
|
3330
3334
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
|
|
3331
|
-
var scroll_into_view_ = __webpack_require__(
|
|
3335
|
+
var scroll_into_view_ = __webpack_require__(32);
|
|
3332
3336
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
3333
3337
|
|
|
3334
3338
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -3537,6 +3541,8 @@ var shared_ = __webpack_require__(21);
|
|
|
3537
3541
|
//
|
|
3538
3542
|
//
|
|
3539
3543
|
//
|
|
3544
|
+
//
|
|
3545
|
+
//
|
|
3540
3546
|
|
|
3541
3547
|
|
|
3542
3548
|
|
|
@@ -3834,6 +3840,11 @@ var shared_ = __webpack_require__(21);
|
|
|
3834
3840
|
},
|
|
3835
3841
|
|
|
3836
3842
|
methods: {
|
|
3843
|
+
handleNavigate: function handleNavigate(direction) {
|
|
3844
|
+
if (this.isOnComposition) return;
|
|
3845
|
+
|
|
3846
|
+
this.navigateOptions(direction);
|
|
3847
|
+
},
|
|
3837
3848
|
handleComposition: function handleComposition(event) {
|
|
3838
3849
|
var _this5 = this;
|
|
3839
3850
|
|
|
@@ -3919,7 +3930,7 @@ var shared_ = __webpack_require__(21);
|
|
|
3919
3930
|
}
|
|
3920
3931
|
}
|
|
3921
3932
|
if (option) return option;
|
|
3922
|
-
var label = !isObject && !isNull && !isUndefined ? value : '';
|
|
3933
|
+
var label = !isObject && !isNull && !isUndefined ? String(value) : '';
|
|
3923
3934
|
var newOption = {
|
|
3924
3935
|
value: value,
|
|
3925
3936
|
currentLabel: label
|
|
@@ -3959,10 +3970,10 @@ var shared_ = __webpack_require__(21);
|
|
|
3959
3970
|
handleFocus: function handleFocus(event) {
|
|
3960
3971
|
if (!this.softFocus) {
|
|
3961
3972
|
if (this.automaticDropdown || this.filterable) {
|
|
3962
|
-
this.visible
|
|
3963
|
-
if (this.filterable) {
|
|
3973
|
+
if (this.filterable && !this.visible) {
|
|
3964
3974
|
this.menuVisibleOnFocus = true;
|
|
3965
3975
|
}
|
|
3976
|
+
this.visible = true;
|
|
3966
3977
|
}
|
|
3967
3978
|
this.$emit('focus', event);
|
|
3968
3979
|
} else {
|
|
@@ -4036,8 +4047,9 @@ var shared_ = __webpack_require__(21);
|
|
|
4036
4047
|
return item.tagName === 'INPUT';
|
|
4037
4048
|
})[0];
|
|
4038
4049
|
var tags = _this10.$refs.tags;
|
|
4050
|
+
var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
|
|
4039
4051
|
var sizeInMap = _this10.initialInputHeight || 40;
|
|
4040
|
-
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ?
|
|
4052
|
+
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
|
|
4041
4053
|
if (_this10.visible && _this10.emptyText !== false) {
|
|
4042
4054
|
_this10.broadcast('ElSelectDropdown', 'updatePopper');
|
|
4043
4055
|
}
|
|
@@ -4551,13 +4563,6 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4551
4563
|
|
|
4552
4564
|
/***/ }),
|
|
4553
4565
|
|
|
4554
|
-
/***/ "547f":
|
|
4555
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4556
|
-
|
|
4557
|
-
// extracted by mini-css-extract-plugin
|
|
4558
|
-
|
|
4559
|
-
/***/ }),
|
|
4560
|
-
|
|
4561
4566
|
/***/ "560b":
|
|
4562
4567
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4563
4568
|
|
|
@@ -4565,12 +4570,12 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4565
4570
|
|
|
4566
4571
|
/***/ }),
|
|
4567
4572
|
|
|
4568
|
-
/***/ "
|
|
4573
|
+
/***/ "587b":
|
|
4569
4574
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4570
4575
|
|
|
4571
4576
|
"use strict";
|
|
4572
|
-
/* harmony import */ var
|
|
4573
|
-
/* harmony import */ var
|
|
4577
|
+
/* 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_601cf5a4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a445");
|
|
4578
|
+
/* 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_601cf5a4_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_601cf5a4_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
4574
4579
|
/* unused harmony reexport * */
|
|
4575
4580
|
|
|
4576
4581
|
|
|
@@ -4687,7 +4692,7 @@ function addClass(el, cls) {
|
|
|
4687
4692
|
}
|
|
4688
4693
|
}
|
|
4689
4694
|
if (!el.classList) {
|
|
4690
|
-
el.
|
|
4695
|
+
el.setAttribute('class', curClass);
|
|
4691
4696
|
}
|
|
4692
4697
|
};
|
|
4693
4698
|
|
|
@@ -4708,7 +4713,7 @@ function removeClass(el, cls) {
|
|
|
4708
4713
|
}
|
|
4709
4714
|
}
|
|
4710
4715
|
if (!el.classList) {
|
|
4711
|
-
el.
|
|
4716
|
+
el.setAttribute('class', trim(curClass));
|
|
4712
4717
|
}
|
|
4713
4718
|
};
|
|
4714
4719
|
|
|
@@ -4772,10 +4777,10 @@ function setStyle(element, styleName, value) {
|
|
|
4772
4777
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4773
4778
|
if (isServer) return;
|
|
4774
4779
|
|
|
4775
|
-
var determinedDirection = vertical !== null
|
|
4780
|
+
var determinedDirection = vertical !== null && vertical !== undefined;
|
|
4776
4781
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4777
4782
|
|
|
4778
|
-
return overflow.match(/(scroll|auto)/);
|
|
4783
|
+
return overflow.match(/(scroll|auto|overlay)/);
|
|
4779
4784
|
};
|
|
4780
4785
|
|
|
4781
4786
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4817,14 +4822,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4817
4822
|
|
|
4818
4823
|
/***/ }),
|
|
4819
4824
|
|
|
4820
|
-
/***/ "
|
|
4821
|
-
/***/ (function(module,
|
|
4822
|
-
|
|
4823
|
-
"use strict";
|
|
4824
|
-
/* 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_5dafd4cc_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("451d");
|
|
4825
|
-
/* 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_5dafd4cc_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_5dafd4cc_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
4826
|
-
/* unused harmony reexport * */
|
|
4825
|
+
/***/ "5a3b":
|
|
4826
|
+
/***/ (function(module, exports) {
|
|
4827
4827
|
|
|
4828
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4828
4829
|
|
|
4829
4830
|
/***/ }),
|
|
4830
4831
|
|
|
@@ -6092,21 +6093,21 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
6092
6093
|
|
|
6093
6094
|
/***/ }),
|
|
6094
6095
|
|
|
6095
|
-
/***/ "
|
|
6096
|
-
/***/ (function(module, exports) {
|
|
6096
|
+
/***/ "6259":
|
|
6097
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6097
6098
|
|
|
6098
|
-
|
|
6099
|
+
// extracted by mini-css-extract-plugin
|
|
6099
6100
|
|
|
6100
6101
|
/***/ }),
|
|
6101
6102
|
|
|
6102
|
-
/***/ "
|
|
6103
|
-
/***/ (function(module, exports
|
|
6103
|
+
/***/ "6378":
|
|
6104
|
+
/***/ (function(module, exports) {
|
|
6104
6105
|
|
|
6105
|
-
|
|
6106
|
+
module.exports = require("core-js/modules/es.string.replace.js");
|
|
6106
6107
|
|
|
6107
6108
|
/***/ }),
|
|
6108
6109
|
|
|
6109
|
-
/***/ "
|
|
6110
|
+
/***/ "6611":
|
|
6110
6111
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6111
6112
|
|
|
6112
6113
|
// extracted by mini-css-extract-plugin
|
|
@@ -6200,7 +6201,7 @@ module.exports =
|
|
|
6200
6201
|
/******/
|
|
6201
6202
|
/******/
|
|
6202
6203
|
/******/ // Load entry module and return exports
|
|
6203
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6204
|
+
/******/ return __webpack_require__(__webpack_require__.s = 89);
|
|
6204
6205
|
/******/ })
|
|
6205
6206
|
/************************************************************************/
|
|
6206
6207
|
/******/ ({
|
|
@@ -6314,7 +6315,7 @@ module.exports = __webpack_require__("d010");
|
|
|
6314
6315
|
|
|
6315
6316
|
/***/ }),
|
|
6316
6317
|
|
|
6317
|
-
/***/
|
|
6318
|
+
/***/ 89:
|
|
6318
6319
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6319
6320
|
|
|
6320
6321
|
"use strict";
|
|
@@ -6393,7 +6394,9 @@ var keyCode = Object.freeze({
|
|
|
6393
6394
|
return (this.elFormItem || {}).elFormItemSize;
|
|
6394
6395
|
},
|
|
6395
6396
|
_elTag: function _elTag() {
|
|
6396
|
-
|
|
6397
|
+
var tag = (this.$vnode.data || {}).tag;
|
|
6398
|
+
if (!tag || tag === 'component') tag = 'div';
|
|
6399
|
+
return tag;
|
|
6397
6400
|
},
|
|
6398
6401
|
radioGroupSize: function radioGroupSize() {
|
|
6399
6402
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
@@ -6594,7 +6597,7 @@ module.exports =
|
|
|
6594
6597
|
/******/
|
|
6595
6598
|
/******/
|
|
6596
6599
|
/******/ // Load entry module and return exports
|
|
6597
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6600
|
+
/******/ return __webpack_require__(__webpack_require__.s = 78);
|
|
6598
6601
|
/******/ })
|
|
6599
6602
|
/************************************************************************/
|
|
6600
6603
|
/******/ ({
|
|
@@ -6729,7 +6732,7 @@ module.exports = __webpack_require__("8bbf");
|
|
|
6729
6732
|
|
|
6730
6733
|
/***/ }),
|
|
6731
6734
|
|
|
6732
|
-
/***/
|
|
6735
|
+
/***/ 78:
|
|
6733
6736
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6734
6737
|
|
|
6735
6738
|
"use strict";
|
|
@@ -7153,14 +7156,17 @@ exports.default = {
|
|
|
7153
7156
|
|
|
7154
7157
|
/***/ }),
|
|
7155
7158
|
|
|
7156
|
-
/***/ "
|
|
7157
|
-
/***/ (function(module,
|
|
7159
|
+
/***/ "712c":
|
|
7160
|
+
/***/ (function(module, exports) {
|
|
7158
7161
|
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7162
|
+
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
7163
|
+
|
|
7164
|
+
/***/ }),
|
|
7165
|
+
|
|
7166
|
+
/***/ "722b":
|
|
7167
|
+
/***/ (function(module, exports) {
|
|
7163
7168
|
|
|
7169
|
+
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
7164
7170
|
|
|
7165
7171
|
/***/ }),
|
|
7166
7172
|
|
|
@@ -7169,6 +7175,17 @@ exports.default = {
|
|
|
7169
7175
|
|
|
7170
7176
|
module.exports = require("throttle-debounce/debounce");
|
|
7171
7177
|
|
|
7178
|
+
/***/ }),
|
|
7179
|
+
|
|
7180
|
+
/***/ "7451":
|
|
7181
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7182
|
+
|
|
7183
|
+
"use strict";
|
|
7184
|
+
/* 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_aae60614_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6259");
|
|
7185
|
+
/* 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_aae60614_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_aae60614_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7186
|
+
/* unused harmony reexport * */
|
|
7187
|
+
|
|
7188
|
+
|
|
7172
7189
|
/***/ }),
|
|
7173
7190
|
|
|
7174
7191
|
/***/ "7a0f":
|
|
@@ -7265,7 +7282,7 @@ module.exports =
|
|
|
7265
7282
|
/******/
|
|
7266
7283
|
/******/
|
|
7267
7284
|
/******/ // Load entry module and return exports
|
|
7268
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7285
|
+
/******/ return __webpack_require__(__webpack_require__.s = 117);
|
|
7269
7286
|
/******/ })
|
|
7270
7287
|
/************************************************************************/
|
|
7271
7288
|
/******/ ({
|
|
@@ -7372,7 +7389,7 @@ function normalizeComponent (
|
|
|
7372
7389
|
|
|
7373
7390
|
/***/ }),
|
|
7374
7391
|
|
|
7375
|
-
/***/
|
|
7392
|
+
/***/ 117:
|
|
7376
7393
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7377
7394
|
|
|
7378
7395
|
"use strict";
|
|
@@ -7575,7 +7592,7 @@ module.exports =
|
|
|
7575
7592
|
/******/
|
|
7576
7593
|
/******/
|
|
7577
7594
|
/******/ // Load entry module and return exports
|
|
7578
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7595
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
7579
7596
|
/******/ })
|
|
7580
7597
|
/************************************************************************/
|
|
7581
7598
|
/******/ ({
|
|
@@ -7689,7 +7706,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7689
7706
|
|
|
7690
7707
|
/***/ }),
|
|
7691
7708
|
|
|
7692
|
-
/***/
|
|
7709
|
+
/***/ 93:
|
|
7693
7710
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7694
7711
|
|
|
7695
7712
|
"use strict";
|
|
@@ -8081,6 +8098,20 @@ function objToArray(obj) {
|
|
|
8081
8098
|
|
|
8082
8099
|
/***/ }),
|
|
8083
8100
|
|
|
8101
|
+
/***/ "831f":
|
|
8102
|
+
/***/ (function(module, exports) {
|
|
8103
|
+
|
|
8104
|
+
module.exports = require("throttle-debounce");
|
|
8105
|
+
|
|
8106
|
+
/***/ }),
|
|
8107
|
+
|
|
8108
|
+
/***/ "8493":
|
|
8109
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8110
|
+
|
|
8111
|
+
// extracted by mini-css-extract-plugin
|
|
8112
|
+
|
|
8113
|
+
/***/ }),
|
|
8114
|
+
|
|
8084
8115
|
/***/ "8535":
|
|
8085
8116
|
/***/ (function(module, exports) {
|
|
8086
8117
|
|
|
@@ -8182,7 +8213,7 @@ module.exports =
|
|
|
8182
8213
|
/******/
|
|
8183
8214
|
/******/
|
|
8184
8215
|
/******/ // Load entry module and return exports
|
|
8185
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8216
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
8186
8217
|
/******/ })
|
|
8187
8218
|
/************************************************************************/
|
|
8188
8219
|
/******/ ({
|
|
@@ -8303,14 +8334,21 @@ module.exports = __webpack_require__("5924");
|
|
|
8303
8334
|
|
|
8304
8335
|
/***/ }),
|
|
8305
8336
|
|
|
8306
|
-
/***/
|
|
8337
|
+
/***/ 42:
|
|
8307
8338
|
/***/ (function(module, exports) {
|
|
8308
8339
|
|
|
8309
8340
|
module.exports = __webpack_require__("c56a");
|
|
8310
8341
|
|
|
8311
8342
|
/***/ }),
|
|
8312
8343
|
|
|
8313
|
-
/***/
|
|
8344
|
+
/***/ 7:
|
|
8345
|
+
/***/ (function(module, exports) {
|
|
8346
|
+
|
|
8347
|
+
module.exports = __webpack_require__("8bbf");
|
|
8348
|
+
|
|
8349
|
+
/***/ }),
|
|
8350
|
+
|
|
8351
|
+
/***/ 73:
|
|
8314
8352
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8315
8353
|
|
|
8316
8354
|
"use strict";
|
|
@@ -8458,7 +8496,7 @@ var dom_ = __webpack_require__(2);
|
|
|
8458
8496
|
var popup_ = __webpack_require__(13);
|
|
8459
8497
|
|
|
8460
8498
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
8461
|
-
var after_leave_ = __webpack_require__(
|
|
8499
|
+
var after_leave_ = __webpack_require__(42);
|
|
8462
8500
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
8463
8501
|
|
|
8464
8502
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8522,7 +8560,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8522
8560
|
el.mask.style[property] = el.maskStyle[property];
|
|
8523
8561
|
});
|
|
8524
8562
|
|
|
8525
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8563
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
8526
8564
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8527
8565
|
}
|
|
8528
8566
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8680,7 +8718,7 @@ var src_Loading = function Loading() {
|
|
|
8680
8718
|
});
|
|
8681
8719
|
|
|
8682
8720
|
src_addStyle(options, parent, instance);
|
|
8683
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8721
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
8684
8722
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8685
8723
|
}
|
|
8686
8724
|
if (options.fullscreen && options.lock) {
|
|
@@ -8713,13 +8751,6 @@ var src_Loading = function Loading() {
|
|
|
8713
8751
|
|
|
8714
8752
|
/***/ }),
|
|
8715
8753
|
|
|
8716
|
-
/***/ 7:
|
|
8717
|
-
/***/ (function(module, exports) {
|
|
8718
|
-
|
|
8719
|
-
module.exports = __webpack_require__("8bbf");
|
|
8720
|
-
|
|
8721
|
-
/***/ }),
|
|
8722
|
-
|
|
8723
8754
|
/***/ 9:
|
|
8724
8755
|
/***/ (function(module, exports) {
|
|
8725
8756
|
|
|
@@ -8818,7 +8849,7 @@ module.exports =
|
|
|
8818
8849
|
/******/
|
|
8819
8850
|
/******/
|
|
8820
8851
|
/******/ // Load entry module and return exports
|
|
8821
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8852
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
8822
8853
|
/******/ })
|
|
8823
8854
|
/************************************************************************/
|
|
8824
8855
|
/******/ ({
|
|
@@ -8925,7 +8956,7 @@ function normalizeComponent (
|
|
|
8925
8956
|
|
|
8926
8957
|
/***/ }),
|
|
8927
8958
|
|
|
8928
|
-
/***/
|
|
8959
|
+
/***/ 132:
|
|
8929
8960
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8930
8961
|
|
|
8931
8962
|
"use strict";
|
|
@@ -9059,17 +9090,6 @@ module.exports = require("vue");
|
|
|
9059
9090
|
|
|
9060
9091
|
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
9061
9092
|
|
|
9062
|
-
/***/ }),
|
|
9063
|
-
|
|
9064
|
-
/***/ "98f7":
|
|
9065
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9066
|
-
|
|
9067
|
-
"use strict";
|
|
9068
|
-
/* 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_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3356");
|
|
9069
|
-
/* 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_6fc981d7_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_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9070
|
-
/* unused harmony reexport * */
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
9093
|
/***/ }),
|
|
9074
9094
|
|
|
9075
9095
|
/***/ "9b22":
|
|
@@ -9180,7 +9200,7 @@ module.exports =
|
|
|
9180
9200
|
/******/
|
|
9181
9201
|
/******/
|
|
9182
9202
|
/******/ // Load entry module and return exports
|
|
9183
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9203
|
+
/******/ return __webpack_require__(__webpack_require__.s = 111);
|
|
9184
9204
|
/******/ })
|
|
9185
9205
|
/************************************************************************/
|
|
9186
9206
|
/******/ ({
|
|
@@ -9287,21 +9307,7 @@ function normalizeComponent (
|
|
|
9287
9307
|
|
|
9288
9308
|
/***/ }),
|
|
9289
9309
|
|
|
9290
|
-
/***/
|
|
9291
|
-
/***/ (function(module, exports) {
|
|
9292
|
-
|
|
9293
|
-
module.exports = __webpack_require__("4010");
|
|
9294
|
-
|
|
9295
|
-
/***/ }),
|
|
9296
|
-
|
|
9297
|
-
/***/ 25:
|
|
9298
|
-
/***/ (function(module, exports) {
|
|
9299
|
-
|
|
9300
|
-
module.exports = __webpack_require__("1e79");
|
|
9301
|
-
|
|
9302
|
-
/***/ }),
|
|
9303
|
-
|
|
9304
|
-
/***/ 85:
|
|
9310
|
+
/***/ 111:
|
|
9305
9311
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9306
9312
|
|
|
9307
9313
|
"use strict";
|
|
@@ -9686,6 +9692,10 @@ var resize_event_ = __webpack_require__(16);
|
|
|
9686
9692
|
if (this.interval <= 0 || !this.autoplay || this.timer) return;
|
|
9687
9693
|
this.timer = setInterval(this.playSlides, this.interval);
|
|
9688
9694
|
},
|
|
9695
|
+
resetTimer: function resetTimer() {
|
|
9696
|
+
this.pauseTimer();
|
|
9697
|
+
this.startTimer();
|
|
9698
|
+
},
|
|
9689
9699
|
setActiveItem: function setActiveItem(index) {
|
|
9690
9700
|
if (typeof index === 'string') {
|
|
9691
9701
|
var filteredItems = this.items.filter(function (item) {
|
|
@@ -9712,6 +9722,7 @@ var resize_event_ = __webpack_require__(16);
|
|
|
9712
9722
|
if (oldIndex === this.activeIndex) {
|
|
9713
9723
|
this.resetItemPosition(oldIndex);
|
|
9714
9724
|
}
|
|
9725
|
+
this.resetTimer();
|
|
9715
9726
|
},
|
|
9716
9727
|
prev: function prev() {
|
|
9717
9728
|
this.setActiveItem(this.activeIndex - 1);
|
|
@@ -9794,6 +9805,20 @@ main.install = function (Vue) {
|
|
|
9794
9805
|
|
|
9795
9806
|
/* harmony default export */ var carousel = __webpack_exports__["default"] = (main);
|
|
9796
9807
|
|
|
9808
|
+
/***/ }),
|
|
9809
|
+
|
|
9810
|
+
/***/ 16:
|
|
9811
|
+
/***/ (function(module, exports) {
|
|
9812
|
+
|
|
9813
|
+
module.exports = __webpack_require__("4010");
|
|
9814
|
+
|
|
9815
|
+
/***/ }),
|
|
9816
|
+
|
|
9817
|
+
/***/ 25:
|
|
9818
|
+
/***/ (function(module, exports) {
|
|
9819
|
+
|
|
9820
|
+
module.exports = __webpack_require__("1e79");
|
|
9821
|
+
|
|
9797
9822
|
/***/ })
|
|
9798
9823
|
|
|
9799
9824
|
/******/ });
|
|
@@ -9870,14 +9895,10 @@ module.exports = require("resize-observer-polyfill");
|
|
|
9870
9895
|
|
|
9871
9896
|
/***/ }),
|
|
9872
9897
|
|
|
9873
|
-
/***/ "
|
|
9874
|
-
/***/ (function(module,
|
|
9875
|
-
|
|
9876
|
-
"use strict";
|
|
9877
|
-
/* 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_4a14f4de_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("67da");
|
|
9878
|
-
/* 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_4a14f4de_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_4a14f4de_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9879
|
-
/* unused harmony reexport * */
|
|
9898
|
+
/***/ "a445":
|
|
9899
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9880
9900
|
|
|
9901
|
+
// extracted by mini-css-extract-plugin
|
|
9881
9902
|
|
|
9882
9903
|
/***/ }),
|
|
9883
9904
|
|
|
@@ -9968,7 +9989,7 @@ module.exports =
|
|
|
9968
9989
|
/******/
|
|
9969
9990
|
/******/
|
|
9970
9991
|
/******/ // Load entry module and return exports
|
|
9971
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9992
|
+
/******/ return __webpack_require__(__webpack_require__.s = 122);
|
|
9972
9993
|
/******/ })
|
|
9973
9994
|
/************************************************************************/
|
|
9974
9995
|
/******/ ({
|
|
@@ -10075,7 +10096,7 @@ function normalizeComponent (
|
|
|
10075
10096
|
|
|
10076
10097
|
/***/ }),
|
|
10077
10098
|
|
|
10078
|
-
/***/
|
|
10099
|
+
/***/ 122:
|
|
10079
10100
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10080
10101
|
|
|
10081
10102
|
"use strict";
|
|
@@ -10303,7 +10324,7 @@ module.exports =
|
|
|
10303
10324
|
/******/
|
|
10304
10325
|
/******/
|
|
10305
10326
|
/******/ // Load entry module and return exports
|
|
10306
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10327
|
+
/******/ return __webpack_require__(__webpack_require__.s = 103);
|
|
10307
10328
|
/******/ })
|
|
10308
10329
|
/************************************************************************/
|
|
10309
10330
|
/******/ ({
|
|
@@ -10410,7 +10431,7 @@ function normalizeComponent (
|
|
|
10410
10431
|
|
|
10411
10432
|
/***/ }),
|
|
10412
10433
|
|
|
10413
|
-
/***/
|
|
10434
|
+
/***/ 103:
|
|
10414
10435
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10415
10436
|
|
|
10416
10437
|
"use strict";
|
|
@@ -10552,6 +10573,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
10552
10573
|
|
|
10553
10574
|
/***/ }),
|
|
10554
10575
|
|
|
10576
|
+
/***/ "a9ee":
|
|
10577
|
+
/***/ (function(module, exports) {
|
|
10578
|
+
|
|
10579
|
+
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
10580
|
+
|
|
10581
|
+
/***/ }),
|
|
10582
|
+
|
|
10555
10583
|
/***/ "aaa5":
|
|
10556
10584
|
/***/ (function(module, exports, __webpack_require__) {
|
|
10557
10585
|
|
|
@@ -10571,6 +10599,17 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
10571
10599
|
|
|
10572
10600
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
10573
10601
|
|
|
10602
|
+
/***/ }),
|
|
10603
|
+
|
|
10604
|
+
/***/ "b1da":
|
|
10605
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10606
|
+
|
|
10607
|
+
"use strict";
|
|
10608
|
+
/* 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_0ad8a77b_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3ec8");
|
|
10609
|
+
/* 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_0ad8a77b_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_0ad8a77b_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
10610
|
+
/* unused harmony reexport * */
|
|
10611
|
+
|
|
10612
|
+
|
|
10574
10613
|
/***/ }),
|
|
10575
10614
|
|
|
10576
10615
|
/***/ "b2d6":
|
|
@@ -10697,6 +10736,9 @@ exports.default = {
|
|
|
10697
10736
|
popconfirm: {
|
|
10698
10737
|
confirmButtonText: 'Yes',
|
|
10699
10738
|
cancelButtonText: 'No'
|
|
10739
|
+
},
|
|
10740
|
+
empty: {
|
|
10741
|
+
description: 'No Data'
|
|
10700
10742
|
}
|
|
10701
10743
|
}
|
|
10702
10744
|
};
|
|
@@ -10710,17 +10752,21 @@ exports.default = {
|
|
|
10710
10752
|
|
|
10711
10753
|
/***/ }),
|
|
10712
10754
|
|
|
10713
|
-
/***/ "
|
|
10714
|
-
/***/ (function(module, exports) {
|
|
10755
|
+
/***/ "be4f":
|
|
10756
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10715
10757
|
|
|
10716
|
-
|
|
10758
|
+
// extracted by mini-css-extract-plugin
|
|
10717
10759
|
|
|
10718
10760
|
/***/ }),
|
|
10719
10761
|
|
|
10720
|
-
/***/ "
|
|
10721
|
-
/***/ (function(module,
|
|
10762
|
+
/***/ "bec2":
|
|
10763
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10764
|
+
|
|
10765
|
+
"use strict";
|
|
10766
|
+
/* 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_4a14f4de_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0875");
|
|
10767
|
+
/* 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_4a14f4de_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_4a14f4de_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
10768
|
+
/* unused harmony reexport * */
|
|
10722
10769
|
|
|
10723
|
-
// extracted by mini-css-extract-plugin
|
|
10724
10770
|
|
|
10725
10771
|
/***/ }),
|
|
10726
10772
|
|
|
@@ -10811,12 +10857,12 @@ module.exports =
|
|
|
10811
10857
|
/******/
|
|
10812
10858
|
/******/
|
|
10813
10859
|
/******/ // Load entry module and return exports
|
|
10814
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10860
|
+
/******/ return __webpack_require__(__webpack_require__.s = 140);
|
|
10815
10861
|
/******/ })
|
|
10816
10862
|
/************************************************************************/
|
|
10817
10863
|
/******/ ({
|
|
10818
10864
|
|
|
10819
|
-
/***/
|
|
10865
|
+
/***/ 140:
|
|
10820
10866
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10821
10867
|
|
|
10822
10868
|
"use strict";
|
|
@@ -11035,7 +11081,7 @@ module.exports =
|
|
|
11035
11081
|
/******/
|
|
11036
11082
|
/******/
|
|
11037
11083
|
/******/ // Load entry module and return exports
|
|
11038
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11084
|
+
/******/ return __webpack_require__(__webpack_require__.s = 119);
|
|
11039
11085
|
/******/ })
|
|
11040
11086
|
/************************************************************************/
|
|
11041
11087
|
/******/ ({
|
|
@@ -11142,7 +11188,7 @@ function normalizeComponent (
|
|
|
11142
11188
|
|
|
11143
11189
|
/***/ }),
|
|
11144
11190
|
|
|
11145
|
-
/***/
|
|
11191
|
+
/***/ 119:
|
|
11146
11192
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11147
11193
|
|
|
11148
11194
|
"use strict";
|
|
@@ -11321,6 +11367,13 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
11321
11367
|
|
|
11322
11368
|
/***/ }),
|
|
11323
11369
|
|
|
11370
|
+
/***/ "dc50":
|
|
11371
|
+
/***/ (function(module, exports) {
|
|
11372
|
+
|
|
11373
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
11374
|
+
|
|
11375
|
+
/***/ }),
|
|
11376
|
+
|
|
11324
11377
|
/***/ "dcdc":
|
|
11325
11378
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11326
11379
|
|
|
@@ -11408,7 +11461,7 @@ module.exports =
|
|
|
11408
11461
|
/******/
|
|
11409
11462
|
/******/
|
|
11410
11463
|
/******/ // Load entry module and return exports
|
|
11411
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11464
|
+
/******/ return __webpack_require__(__webpack_require__.s = 91);
|
|
11412
11465
|
/******/ })
|
|
11413
11466
|
/************************************************************************/
|
|
11414
11467
|
/******/ ({
|
|
@@ -11522,7 +11575,7 @@ module.exports = __webpack_require__("d010");
|
|
|
11522
11575
|
|
|
11523
11576
|
/***/ }),
|
|
11524
11577
|
|
|
11525
|
-
/***/
|
|
11578
|
+
/***/ 91:
|
|
11526
11579
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11527
11580
|
|
|
11528
11581
|
"use strict";
|
|
@@ -12093,7 +12146,7 @@ module.exports =
|
|
|
12093
12146
|
/******/
|
|
12094
12147
|
/******/
|
|
12095
12148
|
/******/ // Load entry module and return exports
|
|
12096
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12149
|
+
/******/ return __webpack_require__(__webpack_require__.s = 54);
|
|
12097
12150
|
/******/ })
|
|
12098
12151
|
/************************************************************************/
|
|
12099
12152
|
/******/ ({
|
|
@@ -12207,7 +12260,7 @@ module.exports = __webpack_require__("8122");
|
|
|
12207
12260
|
|
|
12208
12261
|
/***/ }),
|
|
12209
12262
|
|
|
12210
|
-
/***/
|
|
12263
|
+
/***/ 34:
|
|
12211
12264
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12212
12265
|
|
|
12213
12266
|
"use strict";
|
|
@@ -12465,12 +12518,12 @@ module.exports = __webpack_require__("d010");
|
|
|
12465
12518
|
|
|
12466
12519
|
/***/ }),
|
|
12467
12520
|
|
|
12468
|
-
/***/
|
|
12521
|
+
/***/ 54:
|
|
12469
12522
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12470
12523
|
|
|
12471
12524
|
"use strict";
|
|
12472
12525
|
__webpack_require__.r(__webpack_exports__);
|
|
12473
|
-
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
12526
|
+
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
|
12474
12527
|
|
|
12475
12528
|
|
|
12476
12529
|
/* istanbul ignore next */
|
|
@@ -12803,7 +12856,7 @@ module.exports =
|
|
|
12803
12856
|
/******/
|
|
12804
12857
|
/******/
|
|
12805
12858
|
/******/ // Load entry module and return exports
|
|
12806
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12859
|
+
/******/ return __webpack_require__(__webpack_require__.s = 96);
|
|
12807
12860
|
/******/ })
|
|
12808
12861
|
/************************************************************************/
|
|
12809
12862
|
/******/ ({
|
|
@@ -12910,7 +12963,7 @@ function normalizeComponent (
|
|
|
12910
12963
|
|
|
12911
12964
|
/***/ }),
|
|
12912
12965
|
|
|
12913
|
-
/***/
|
|
12966
|
+
/***/ 96:
|
|
12914
12967
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12915
12968
|
|
|
12916
12969
|
"use strict";
|
|
@@ -13024,7 +13077,7 @@ render._withStripped = true
|
|
|
13024
13077
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
13025
13078
|
},
|
|
13026
13079
|
buttonDisabled: function buttonDisabled() {
|
|
13027
|
-
return this.disabled
|
|
13080
|
+
return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
|
|
13028
13081
|
}
|
|
13029
13082
|
},
|
|
13030
13083
|
|
|
@@ -13202,6 +13255,9 @@ exports.default = {
|
|
|
13202
13255
|
popconfirm: {
|
|
13203
13256
|
confirmButtonText: '确定',
|
|
13204
13257
|
cancelButtonText: '取消'
|
|
13258
|
+
},
|
|
13259
|
+
empty: {
|
|
13260
|
+
description: '暂无数据'
|
|
13205
13261
|
}
|
|
13206
13262
|
}
|
|
13207
13263
|
};
|
|
@@ -13295,7 +13351,7 @@ module.exports =
|
|
|
13295
13351
|
/******/
|
|
13296
13352
|
/******/
|
|
13297
13353
|
/******/ // Load entry module and return exports
|
|
13298
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
13354
|
+
/******/ return __webpack_require__(__webpack_require__.s = 75);
|
|
13299
13355
|
/******/ })
|
|
13300
13356
|
/************************************************************************/
|
|
13301
13357
|
/******/ ({
|
|
@@ -13423,7 +13479,7 @@ module.exports = __webpack_require__("d010");
|
|
|
13423
13479
|
|
|
13424
13480
|
/***/ }),
|
|
13425
13481
|
|
|
13426
|
-
/***/
|
|
13482
|
+
/***/ 75:
|
|
13427
13483
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13428
13484
|
|
|
13429
13485
|
"use strict";
|
|
@@ -14065,15 +14121,18 @@ var shared_ = __webpack_require__(21);
|
|
|
14065
14121
|
this.focused = true;
|
|
14066
14122
|
this.$emit('focus', event);
|
|
14067
14123
|
},
|
|
14068
|
-
handleCompositionStart: function handleCompositionStart() {
|
|
14124
|
+
handleCompositionStart: function handleCompositionStart(event) {
|
|
14125
|
+
this.$emit('compositionstart', event);
|
|
14069
14126
|
this.isComposing = true;
|
|
14070
14127
|
},
|
|
14071
14128
|
handleCompositionUpdate: function handleCompositionUpdate(event) {
|
|
14129
|
+
this.$emit('compositionupdate', event);
|
|
14072
14130
|
var text = event.target.value;
|
|
14073
14131
|
var lastCharacter = text[text.length - 1] || '';
|
|
14074
14132
|
this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
|
|
14075
14133
|
},
|
|
14076
14134
|
handleCompositionEnd: function handleCompositionEnd(event) {
|
|
14135
|
+
this.$emit('compositionend', event);
|
|
14077
14136
|
if (this.isComposing) {
|
|
14078
14137
|
this.isComposing = false;
|
|
14079
14138
|
this.handleInput(event);
|
|
@@ -14295,7 +14354,7 @@ module.exports =
|
|
|
14295
14354
|
/******/
|
|
14296
14355
|
/******/
|
|
14297
14356
|
/******/ // Load entry module and return exports
|
|
14298
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
14357
|
+
/******/ return __webpack_require__(__webpack_require__.s = 88);
|
|
14299
14358
|
/******/ })
|
|
14300
14359
|
/************************************************************************/
|
|
14301
14360
|
/******/ ({
|
|
@@ -14402,7 +14461,14 @@ function normalizeComponent (
|
|
|
14402
14461
|
|
|
14403
14462
|
/***/ }),
|
|
14404
14463
|
|
|
14405
|
-
/***/
|
|
14464
|
+
/***/ 4:
|
|
14465
|
+
/***/ (function(module, exports) {
|
|
14466
|
+
|
|
14467
|
+
module.exports = __webpack_require__("d010");
|
|
14468
|
+
|
|
14469
|
+
/***/ }),
|
|
14470
|
+
|
|
14471
|
+
/***/ 88:
|
|
14406
14472
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14407
14473
|
|
|
14408
14474
|
"use strict";
|
|
@@ -14472,7 +14538,8 @@ var render = function() {
|
|
|
14472
14538
|
"aria-hidden": "true",
|
|
14473
14539
|
name: _vm.name,
|
|
14474
14540
|
disabled: _vm.isDisabled,
|
|
14475
|
-
tabindex: "-1"
|
|
14541
|
+
tabindex: "-1",
|
|
14542
|
+
autocomplete: "off"
|
|
14476
14543
|
},
|
|
14477
14544
|
domProps: {
|
|
14478
14545
|
value: _vm.label,
|
|
@@ -14569,6 +14636,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
14569
14636
|
//
|
|
14570
14637
|
//
|
|
14571
14638
|
//
|
|
14639
|
+
//
|
|
14572
14640
|
|
|
14573
14641
|
|
|
14574
14642
|
|
|
@@ -14695,13 +14763,6 @@ src_radio.install = function (Vue) {
|
|
|
14695
14763
|
|
|
14696
14764
|
/* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
|
|
14697
14765
|
|
|
14698
|
-
/***/ }),
|
|
14699
|
-
|
|
14700
|
-
/***/ 4:
|
|
14701
|
-
/***/ (function(module, exports) {
|
|
14702
|
-
|
|
14703
|
-
module.exports = __webpack_require__("d010");
|
|
14704
|
-
|
|
14705
14766
|
/***/ })
|
|
14706
14767
|
|
|
14707
14768
|
/******/ });
|
|
@@ -14757,51 +14818,517 @@ if (typeof window !== 'undefined') {
|
|
|
14757
14818
|
// Indicate to webpack that this file can be concatenated
|
|
14758
14819
|
/* harmony default export */ var setPublicPath = (null);
|
|
14759
14820
|
|
|
14760
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14761
|
-
var render = function () {
|
|
14762
|
-
var
|
|
14763
|
-
|
|
14764
|
-
|
|
14765
|
-
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
|
|
14774
|
-
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
|
|
14778
|
-
|
|
14779
|
-
|
|
14780
|
-
|
|
14781
|
-
|
|
14782
|
-
|
|
14783
|
-
|
|
14784
|
-
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
|
-
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
|
-
|
|
14793
|
-
|
|
14794
|
-
|
|
14821
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1e556412-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=601cf5a4&scoped=true&
|
|
14822
|
+
var render = function render() {
|
|
14823
|
+
var _vm = this,
|
|
14824
|
+
_c = _vm._self._c;
|
|
14825
|
+
return _c('div', {
|
|
14826
|
+
directives: [{
|
|
14827
|
+
name: "loading",
|
|
14828
|
+
rawName: "v-loading",
|
|
14829
|
+
value: _vm.loading,
|
|
14830
|
+
expression: "loading"
|
|
14831
|
+
}],
|
|
14832
|
+
staticClass: "flatmap-container",
|
|
14833
|
+
attrs: {
|
|
14834
|
+
"element-loading-text": "Loading...",
|
|
14835
|
+
"element-loading-spinner": "el-icon-loading",
|
|
14836
|
+
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
14837
|
+
}
|
|
14838
|
+
}, [_c('map-svg-sprite-color'), _c('div', {
|
|
14839
|
+
staticStyle: {
|
|
14840
|
+
"height": "100%",
|
|
14841
|
+
"width": "100%",
|
|
14842
|
+
"position": "relative",
|
|
14843
|
+
"overflow-y": "none"
|
|
14844
|
+
}
|
|
14845
|
+
}, [_c('div', {
|
|
14846
|
+
ref: "display",
|
|
14847
|
+
staticStyle: {
|
|
14848
|
+
"height": "100%",
|
|
14849
|
+
"width": "100%"
|
|
14850
|
+
}
|
|
14851
|
+
}), _c('div', {
|
|
14852
|
+
staticClass: "beta-popovers"
|
|
14853
|
+
}, [_c('div', [_c('el-popover', {
|
|
14854
|
+
ref: "warningPopover",
|
|
14855
|
+
attrs: {
|
|
14856
|
+
"content": _vm.warningMessage,
|
|
14857
|
+
"placement": "right",
|
|
14858
|
+
"appendToBody": false,
|
|
14859
|
+
"trigger": "manual",
|
|
14860
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
14861
|
+
},
|
|
14862
|
+
model: {
|
|
14863
|
+
value: _vm.hoverVisibilities[6].value,
|
|
14864
|
+
callback: function callback($$v) {
|
|
14865
|
+
_vm.$set(_vm.hoverVisibilities[6], "value", $$v);
|
|
14866
|
+
},
|
|
14867
|
+
expression: "hoverVisibilities[6].value"
|
|
14868
|
+
}
|
|
14869
|
+
}), _vm.displayWarning && _vm.warningMessage ? _c('i', {
|
|
14870
|
+
directives: [{
|
|
14871
|
+
name: "popover",
|
|
14872
|
+
rawName: "v-popover:warningPopover",
|
|
14873
|
+
arg: "warningPopover"
|
|
14874
|
+
}],
|
|
14875
|
+
staticClass: "el-icon-warning warning-icon",
|
|
14876
|
+
on: {
|
|
14877
|
+
"mouseover": function mouseover($event) {
|
|
14878
|
+
return _vm.showToolitip(6);
|
|
14879
|
+
},
|
|
14880
|
+
"mouseout": function mouseout($event) {
|
|
14881
|
+
return _vm.hideToolitip(6);
|
|
14882
|
+
}
|
|
14883
|
+
}
|
|
14884
|
+
}, [_c('span', {
|
|
14885
|
+
staticClass: "warning-text"
|
|
14886
|
+
}, [_vm._v("Beta")])]) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
14887
|
+
ref: "latestChangesPopover",
|
|
14888
|
+
attrs: {
|
|
14889
|
+
"content": _vm.latestChangesMessage,
|
|
14890
|
+
"placement": "right",
|
|
14891
|
+
"appendToBody": false,
|
|
14892
|
+
"trigger": "manual",
|
|
14893
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
14894
|
+
},
|
|
14895
|
+
model: {
|
|
14896
|
+
value: _vm.hoverVisibilities[7].value,
|
|
14897
|
+
callback: function callback($$v) {
|
|
14898
|
+
_vm.$set(_vm.hoverVisibilities[7], "value", $$v);
|
|
14899
|
+
},
|
|
14900
|
+
expression: "hoverVisibilities[7].value"
|
|
14901
|
+
}
|
|
14902
|
+
}) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
|
|
14903
|
+
directives: [{
|
|
14904
|
+
name: "popover",
|
|
14905
|
+
rawName: "v-popover:latestChangesPopover",
|
|
14906
|
+
arg: "latestChangesPopover"
|
|
14907
|
+
}],
|
|
14908
|
+
staticClass: "el-icon-warning latest-changesicon",
|
|
14909
|
+
on: {
|
|
14910
|
+
"mouseover": function mouseover($event) {
|
|
14911
|
+
return _vm.showToolitip(7);
|
|
14912
|
+
},
|
|
14913
|
+
"mouseout": function mouseout($event) {
|
|
14914
|
+
return _vm.hideToolitip(7);
|
|
14915
|
+
}
|
|
14916
|
+
}
|
|
14917
|
+
}, [_c('span', {
|
|
14918
|
+
staticClass: "warning-text"
|
|
14919
|
+
}, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('div', {
|
|
14920
|
+
staticClass: "bottom-right-control"
|
|
14921
|
+
}, [_c('el-popover', {
|
|
14922
|
+
attrs: {
|
|
14923
|
+
"content": "Zoom in",
|
|
14924
|
+
"placement": "left",
|
|
14925
|
+
"appendToBody": false,
|
|
14926
|
+
"trigger": "manual",
|
|
14927
|
+
"popper-class": "flatmap-popper left-popper"
|
|
14928
|
+
},
|
|
14929
|
+
model: {
|
|
14930
|
+
value: _vm.hoverVisibilities[0].value,
|
|
14931
|
+
callback: function callback($$v) {
|
|
14932
|
+
_vm.$set(_vm.hoverVisibilities[0], "value", $$v);
|
|
14933
|
+
},
|
|
14934
|
+
expression: "hoverVisibilities[0].value"
|
|
14935
|
+
}
|
|
14936
|
+
}, [_c('map-svg-icon', {
|
|
14937
|
+
staticClass: "icon-button zoomIn",
|
|
14938
|
+
attrs: {
|
|
14939
|
+
"slot": "reference",
|
|
14940
|
+
"icon": "zoomIn"
|
|
14941
|
+
},
|
|
14942
|
+
nativeOn: {
|
|
14943
|
+
"click": function click($event) {
|
|
14944
|
+
return _vm.zoomIn();
|
|
14945
|
+
},
|
|
14946
|
+
"mouseover": function mouseover($event) {
|
|
14947
|
+
return _vm.showToolitip(0);
|
|
14948
|
+
},
|
|
14949
|
+
"mouseout": function mouseout($event) {
|
|
14950
|
+
return _vm.hideToolitip(0);
|
|
14951
|
+
}
|
|
14952
|
+
},
|
|
14953
|
+
slot: "reference"
|
|
14954
|
+
})], 1), _c('el-popover', {
|
|
14955
|
+
attrs: {
|
|
14956
|
+
"content": "Zoom out",
|
|
14957
|
+
"placement": "top-end",
|
|
14958
|
+
"appendToBody": false,
|
|
14959
|
+
"trigger": "manual",
|
|
14960
|
+
"popper-class": "flatmap-popper popper-zoomout"
|
|
14961
|
+
},
|
|
14962
|
+
model: {
|
|
14963
|
+
value: _vm.hoverVisibilities[1].value,
|
|
14964
|
+
callback: function callback($$v) {
|
|
14965
|
+
_vm.$set(_vm.hoverVisibilities[1], "value", $$v);
|
|
14966
|
+
},
|
|
14967
|
+
expression: "hoverVisibilities[1].value"
|
|
14968
|
+
}
|
|
14969
|
+
}, [_c('map-svg-icon', {
|
|
14970
|
+
staticClass: "icon-button zoomOut",
|
|
14971
|
+
attrs: {
|
|
14972
|
+
"slot": "reference",
|
|
14973
|
+
"icon": "zoomOut"
|
|
14974
|
+
},
|
|
14975
|
+
nativeOn: {
|
|
14976
|
+
"click": function click($event) {
|
|
14977
|
+
return _vm.zoomOut();
|
|
14978
|
+
},
|
|
14979
|
+
"mouseover": function mouseover($event) {
|
|
14980
|
+
return _vm.showToolitip(1);
|
|
14981
|
+
},
|
|
14982
|
+
"mouseout": function mouseout($event) {
|
|
14983
|
+
return _vm.hideToolitip(1);
|
|
14984
|
+
}
|
|
14985
|
+
},
|
|
14986
|
+
slot: "reference"
|
|
14987
|
+
})], 1), _c('el-popover', {
|
|
14988
|
+
attrs: {
|
|
14989
|
+
"content": "Reset",
|
|
14990
|
+
"placement": "top",
|
|
14991
|
+
"appendToBody": false,
|
|
14992
|
+
"trigger": "manual",
|
|
14993
|
+
"popper-class": "flatmap-popper"
|
|
14994
|
+
},
|
|
14995
|
+
model: {
|
|
14996
|
+
value: _vm.hoverVisibilities[2].value,
|
|
14997
|
+
callback: function callback($$v) {
|
|
14998
|
+
_vm.$set(_vm.hoverVisibilities[2], "value", $$v);
|
|
14999
|
+
},
|
|
15000
|
+
expression: "hoverVisibilities[2].value"
|
|
15001
|
+
}
|
|
15002
|
+
}, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
|
|
15003
|
+
staticClass: "icon-button fitWindow",
|
|
15004
|
+
attrs: {
|
|
15005
|
+
"slot": "reference",
|
|
15006
|
+
"icon": "fitWindow"
|
|
15007
|
+
},
|
|
15008
|
+
nativeOn: {
|
|
15009
|
+
"click": function click($event) {
|
|
15010
|
+
return _vm.resetView();
|
|
15011
|
+
},
|
|
15012
|
+
"mouseover": function mouseover($event) {
|
|
15013
|
+
return _vm.showToolitip(2);
|
|
15014
|
+
},
|
|
15015
|
+
"mouseout": function mouseout($event) {
|
|
15016
|
+
return _vm.hideToolitip(2);
|
|
15017
|
+
}
|
|
15018
|
+
},
|
|
15019
|
+
slot: "reference"
|
|
15020
|
+
})], 1)], 1), _c('el-popover', {
|
|
15021
|
+
ref: "checkBoxPopover",
|
|
15022
|
+
attrs: {
|
|
15023
|
+
"content": "Change pathway visibility",
|
|
15024
|
+
"placement": "right",
|
|
15025
|
+
"appendToBody": false,
|
|
15026
|
+
"trigger": "manual",
|
|
15027
|
+
"popper-class": "flatmap-popper right-popper"
|
|
15028
|
+
},
|
|
15029
|
+
model: {
|
|
15030
|
+
value: _vm.hoverVisibilities[4].value,
|
|
15031
|
+
callback: function callback($$v) {
|
|
15032
|
+
_vm.$set(_vm.hoverVisibilities[4], "value", $$v);
|
|
15033
|
+
},
|
|
15034
|
+
expression: "hoverVisibilities[4].value"
|
|
15035
|
+
}
|
|
15036
|
+
}), _c('div', {
|
|
15037
|
+
staticClass: "pathway-location",
|
|
15038
|
+
class: {
|
|
15039
|
+
open: _vm.drawerOpen,
|
|
15040
|
+
close: !_vm.drawerOpen
|
|
15041
|
+
}
|
|
15042
|
+
}, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
|
|
15043
|
+
directives: [{
|
|
15044
|
+
name: "popover",
|
|
15045
|
+
rawName: "v-popover:checkBoxPopover",
|
|
15046
|
+
arg: "checkBoxPopover"
|
|
15047
|
+
}],
|
|
15048
|
+
staticClass: "pathway-container"
|
|
15049
|
+
}, [_c('svg-legends', {
|
|
15050
|
+
staticClass: "svg-legends-container"
|
|
15051
|
+
}), _c('el-popover', {
|
|
15052
|
+
ref: "markerPopover",
|
|
15053
|
+
attrs: {
|
|
15054
|
+
"content": "Find these markers for data",
|
|
15055
|
+
"placement": "right",
|
|
15056
|
+
"appendToBody": false,
|
|
15057
|
+
"trigger": "manual",
|
|
15058
|
+
"popper-class": "flatmap-popper popper-bump-right right-popper"
|
|
15059
|
+
},
|
|
15060
|
+
model: {
|
|
15061
|
+
value: _vm.hoverVisibilities[5].value,
|
|
15062
|
+
callback: function callback($$v) {
|
|
15063
|
+
_vm.$set(_vm.hoverVisibilities[5], "value", $$v);
|
|
15064
|
+
},
|
|
15065
|
+
expression: "hoverVisibilities[5].value"
|
|
15066
|
+
}
|
|
15067
|
+
}), _c('div', {
|
|
15068
|
+
directives: [{
|
|
15069
|
+
name: "show",
|
|
15070
|
+
rawName: "v-show",
|
|
15071
|
+
value: _vm.hoverVisibilities[5].value,
|
|
15072
|
+
expression: "hoverVisibilities[5].value"
|
|
15073
|
+
}, {
|
|
15074
|
+
name: "popover",
|
|
15075
|
+
rawName: "v-popover:markerPopover",
|
|
15076
|
+
arg: "markerPopover"
|
|
15077
|
+
}],
|
|
15078
|
+
staticClass: "flatmap-marker-help",
|
|
15079
|
+
domProps: {
|
|
15080
|
+
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
15081
|
+
}
|
|
15082
|
+
}), _c('el-row', [_c('el-col', {
|
|
15083
|
+
attrs: {
|
|
15084
|
+
"span": 12
|
|
15085
|
+
}
|
|
15086
|
+
}, [_c('div', {
|
|
15087
|
+
staticClass: "pathways-display-text"
|
|
15088
|
+
}, [_vm._v("Pathways")])]), _c('el-col', {
|
|
15089
|
+
attrs: {
|
|
15090
|
+
"span": 12
|
|
15091
|
+
}
|
|
15092
|
+
}, [_c('el-checkbox', {
|
|
15093
|
+
staticClass: "all-checkbox",
|
|
15094
|
+
attrs: {
|
|
15095
|
+
"indeterminate": _vm.isIndeterminate
|
|
15096
|
+
},
|
|
15097
|
+
on: {
|
|
15098
|
+
"change": _vm.handleCheckAllChange
|
|
15099
|
+
},
|
|
15100
|
+
model: {
|
|
15101
|
+
value: _vm.checkAll,
|
|
15102
|
+
callback: function callback($$v) {
|
|
15103
|
+
_vm.checkAll = $$v;
|
|
15104
|
+
},
|
|
15105
|
+
expression: "checkAll"
|
|
15106
|
+
}
|
|
15107
|
+
}, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
|
|
15108
|
+
staticClass: "checkbox-group",
|
|
15109
|
+
attrs: {
|
|
15110
|
+
"size": "small"
|
|
15111
|
+
},
|
|
15112
|
+
on: {
|
|
15113
|
+
"change": _vm.handleCheckedItemsChange
|
|
15114
|
+
},
|
|
15115
|
+
model: {
|
|
15116
|
+
value: _vm.checkedItems,
|
|
15117
|
+
callback: function callback($$v) {
|
|
15118
|
+
_vm.checkedItems = $$v;
|
|
15119
|
+
},
|
|
15120
|
+
expression: "checkedItems"
|
|
15121
|
+
}
|
|
15122
|
+
}, [_c('div', {
|
|
15123
|
+
staticClass: "checkbox-group-inner"
|
|
15124
|
+
}, _vm._l(_vm.pathways, function (item) {
|
|
15125
|
+
return _c('el-row', {
|
|
15126
|
+
key: item.type,
|
|
15127
|
+
attrs: {
|
|
15128
|
+
"label": item.type
|
|
15129
|
+
}
|
|
15130
|
+
}, [_c('div', {
|
|
15131
|
+
staticClass: "checkbox-container"
|
|
15132
|
+
}, [_c('el-checkbox', {
|
|
15133
|
+
staticClass: "my-checkbox",
|
|
15134
|
+
attrs: {
|
|
15135
|
+
"label": item.type,
|
|
15136
|
+
"checked": true
|
|
15137
|
+
},
|
|
15138
|
+
on: {
|
|
15139
|
+
"change": function change($event) {
|
|
15140
|
+
return _vm.visibilityToggle();
|
|
15141
|
+
}
|
|
15142
|
+
}
|
|
15143
|
+
}, [_c('div', {
|
|
15144
|
+
staticClass: "path-visual",
|
|
15145
|
+
class: item.type
|
|
15146
|
+
}), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
|
|
15147
|
+
}), 1)])], 1) : _vm._e(), _c('div', {
|
|
15148
|
+
staticClass: "drawer-button",
|
|
15149
|
+
class: {
|
|
15150
|
+
open: _vm.drawerOpen,
|
|
15151
|
+
close: !_vm.drawerOpen
|
|
15152
|
+
},
|
|
15153
|
+
on: {
|
|
15154
|
+
"click": _vm.toggleDrawer
|
|
15155
|
+
}
|
|
15156
|
+
}, [_c('i', {
|
|
15157
|
+
staticClass: "el-icon-arrow-left"
|
|
15158
|
+
})])]), _c('el-popover', {
|
|
15159
|
+
ref: "backgroundPopover",
|
|
15160
|
+
attrs: {
|
|
15161
|
+
"placement": "top-start",
|
|
15162
|
+
"width": "175",
|
|
15163
|
+
"appendToBody": false,
|
|
15164
|
+
"trigger": "click",
|
|
15165
|
+
"popper-class": "background-popper"
|
|
15166
|
+
}
|
|
15167
|
+
}, [_c('el-row', {
|
|
15168
|
+
staticClass: "backgroundText"
|
|
15169
|
+
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
15170
|
+
staticClass: "backgroundControl"
|
|
15171
|
+
}, [_c('el-radio-group', {
|
|
15172
|
+
staticClass: "flatmap-radio",
|
|
15173
|
+
on: {
|
|
15174
|
+
"change": _vm.setColour
|
|
15175
|
+
},
|
|
15176
|
+
model: {
|
|
15177
|
+
value: _vm.colourRadio,
|
|
15178
|
+
callback: function callback($$v) {
|
|
15179
|
+
_vm.colourRadio = $$v;
|
|
15180
|
+
},
|
|
15181
|
+
expression: "colourRadio"
|
|
15182
|
+
}
|
|
15183
|
+
}, [_c('el-radio', {
|
|
15184
|
+
attrs: {
|
|
15185
|
+
"label": true
|
|
15186
|
+
}
|
|
15187
|
+
}, [_vm._v("Colour")]), _c('el-radio', {
|
|
15188
|
+
attrs: {
|
|
15189
|
+
"label": false
|
|
15190
|
+
}
|
|
15191
|
+
}, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
|
|
15192
|
+
staticClass: "backgroundSpacer"
|
|
15193
|
+
}), _c('el-row', {
|
|
15194
|
+
staticClass: "backgroundText"
|
|
15195
|
+
}, [_vm._v("Outlines display")]), _c('el-row', {
|
|
15196
|
+
staticClass: "backgroundControl"
|
|
15197
|
+
}, [_c('el-radio-group', {
|
|
15198
|
+
staticClass: "flatmap-radio",
|
|
15199
|
+
on: {
|
|
15200
|
+
"change": _vm.setOutlines
|
|
15201
|
+
},
|
|
15202
|
+
model: {
|
|
15203
|
+
value: _vm.outlinesRadio,
|
|
15204
|
+
callback: function callback($$v) {
|
|
15205
|
+
_vm.outlinesRadio = $$v;
|
|
15206
|
+
},
|
|
15207
|
+
expression: "outlinesRadio"
|
|
15208
|
+
}
|
|
15209
|
+
}, [_c('el-radio', {
|
|
15210
|
+
attrs: {
|
|
15211
|
+
"label": true
|
|
15212
|
+
}
|
|
15213
|
+
}, [_vm._v("Show")]), _c('el-radio', {
|
|
15214
|
+
attrs: {
|
|
15215
|
+
"label": false
|
|
15216
|
+
}
|
|
15217
|
+
}, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
|
|
15218
|
+
staticClass: "backgroundSpacer"
|
|
15219
|
+
}), _c('el-row', {
|
|
15220
|
+
staticClass: "backgroundText"
|
|
15221
|
+
}, [_vm._v("Change background")]), _c('el-row', {
|
|
15222
|
+
staticClass: "backgroundControl"
|
|
15223
|
+
}, _vm._l(_vm.availableBackground, function (item) {
|
|
15224
|
+
return _c('div', {
|
|
15225
|
+
key: item,
|
|
15226
|
+
class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
|
|
15227
|
+
on: {
|
|
15228
|
+
"click": function click($event) {
|
|
15229
|
+
return _vm.backgroundChangeCallback(item);
|
|
15230
|
+
}
|
|
15231
|
+
}
|
|
15232
|
+
});
|
|
15233
|
+
}), 0)], 1), _c('el-popover', {
|
|
15234
|
+
attrs: {
|
|
15235
|
+
"content": "Change background color",
|
|
15236
|
+
"placement": "right",
|
|
15237
|
+
"appendToBody": false,
|
|
15238
|
+
"trigger": "manual",
|
|
15239
|
+
"popper-class": "flatmap-popper right-popper"
|
|
15240
|
+
},
|
|
15241
|
+
model: {
|
|
15242
|
+
value: _vm.hoverVisibilities[3].value,
|
|
15243
|
+
callback: function callback($$v) {
|
|
15244
|
+
_vm.$set(_vm.hoverVisibilities[3], "value", $$v);
|
|
15245
|
+
},
|
|
15246
|
+
expression: "hoverVisibilities[3].value"
|
|
15247
|
+
}
|
|
15248
|
+
}, [_c('map-svg-icon', {
|
|
15249
|
+
directives: [{
|
|
15250
|
+
name: "popover",
|
|
15251
|
+
rawName: "v-popover:backgroundPopover",
|
|
15252
|
+
arg: "backgroundPopover"
|
|
15253
|
+
}],
|
|
15254
|
+
staticClass: "icon-button background-colour",
|
|
15255
|
+
class: {
|
|
15256
|
+
open: _vm.drawerOpen,
|
|
15257
|
+
close: !_vm.drawerOpen
|
|
15258
|
+
},
|
|
15259
|
+
attrs: {
|
|
15260
|
+
"slot": "reference",
|
|
15261
|
+
"icon": "changeBckgd"
|
|
15262
|
+
},
|
|
15263
|
+
nativeOn: {
|
|
15264
|
+
"mouseover": function mouseover($event) {
|
|
15265
|
+
return _vm.showToolitip(3);
|
|
15266
|
+
},
|
|
15267
|
+
"mouseout": function mouseout($event) {
|
|
15268
|
+
return _vm.hideToolitip(3);
|
|
15269
|
+
}
|
|
15270
|
+
},
|
|
15271
|
+
slot: "reference"
|
|
15272
|
+
})], 1), _c('Tooltip', {
|
|
15273
|
+
ref: "tooltip",
|
|
15274
|
+
staticClass: "tooltip",
|
|
15275
|
+
attrs: {
|
|
15276
|
+
"content": _vm.tooltipContent
|
|
15277
|
+
},
|
|
15278
|
+
on: {
|
|
15279
|
+
"resource-selected": _vm.resourceSelected
|
|
15280
|
+
}
|
|
15281
|
+
})], 1)], 1);
|
|
15282
|
+
};
|
|
15283
|
+
var staticRenderFns = [];
|
|
15284
|
+
|
|
15285
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=601cf5a4&scoped=true&
|
|
15286
|
+
|
|
15287
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
15288
|
+
var es_symbol_js_ = __webpack_require__("9b22");
|
|
15289
|
+
|
|
15290
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
15291
|
+
var es_symbol_description_js_ = __webpack_require__("4933");
|
|
15292
|
+
|
|
15293
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
15294
|
+
var es_object_to_string_js_ = __webpack_require__("97d3");
|
|
15295
|
+
|
|
15296
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
|
|
15297
|
+
var es_symbol_iterator_js_ = __webpack_require__("2ff9");
|
|
15298
|
+
|
|
15299
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
|
|
15300
|
+
var es_array_iterator_js_ = __webpack_require__("4ccb");
|
|
15301
|
+
|
|
15302
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
15303
|
+
var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
15304
|
+
|
|
15305
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
15306
|
+
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
15307
|
+
|
|
15308
|
+
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
15309
|
+
var es_error_cause_js_ = __webpack_require__("dc50");
|
|
15310
|
+
|
|
15311
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
|
|
15312
|
+
var es_array_slice_js_ = __webpack_require__("ea12");
|
|
15313
|
+
|
|
15314
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
15315
|
+
var es_function_name_js_ = __webpack_require__("db0a");
|
|
15316
|
+
|
|
15317
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
14795
15318
|
var es_array_from_js_ = __webpack_require__("4362");
|
|
14796
15319
|
|
|
15320
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
15321
|
+
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
15322
|
+
|
|
15323
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
|
|
15324
|
+
var es_regexp_test_js_ = __webpack_require__("5a3b");
|
|
15325
|
+
|
|
14797
15326
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
14798
15327
|
function _arrayLikeToArray(arr, len) {
|
|
14799
15328
|
if (len == null || len > arr.length) len = arr.length;
|
|
14800
|
-
|
|
14801
15329
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
14802
15330
|
arr2[i] = arr[i];
|
|
14803
15331
|
}
|
|
14804
|
-
|
|
14805
15332
|
return arr2;
|
|
14806
15333
|
}
|
|
14807
15334
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
@@ -14811,6 +15338,8 @@ function _arrayLikeToArray(arr, len) {
|
|
|
14811
15338
|
|
|
14812
15339
|
|
|
14813
15340
|
|
|
15341
|
+
|
|
15342
|
+
|
|
14814
15343
|
function _unsupportedIterableToArray(o, minLen) {
|
|
14815
15344
|
if (!o) return;
|
|
14816
15345
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -14828,16 +15357,14 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
14828
15357
|
|
|
14829
15358
|
|
|
14830
15359
|
|
|
15360
|
+
|
|
14831
15361
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
14832
15362
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
14833
|
-
|
|
14834
15363
|
if (!it) {
|
|
14835
15364
|
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
14836
15365
|
if (it) o = it;
|
|
14837
15366
|
var i = 0;
|
|
14838
|
-
|
|
14839
15367
|
var F = function F() {};
|
|
14840
|
-
|
|
14841
15368
|
return {
|
|
14842
15369
|
s: F,
|
|
14843
15370
|
n: function n() {
|
|
@@ -14855,13 +15382,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
14855
15382
|
f: F
|
|
14856
15383
|
};
|
|
14857
15384
|
}
|
|
14858
|
-
|
|
14859
15385
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14860
15386
|
}
|
|
14861
|
-
|
|
14862
15387
|
var normalCompletion = true,
|
|
14863
|
-
|
|
14864
|
-
|
|
15388
|
+
didErr = false,
|
|
15389
|
+
err;
|
|
14865
15390
|
return {
|
|
14866
15391
|
s: function s() {
|
|
14867
15392
|
it = it.call(o);
|
|
@@ -14945,11 +15470,8 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
14945
15470
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
14946
15471
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
14947
15472
|
|
|
14948
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
14949
|
-
var
|
|
14950
|
-
|
|
14951
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
|
|
14952
|
-
var es_string_split_js_ = __webpack_require__("0cda");
|
|
15473
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
15474
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
14953
15475
|
|
|
14954
15476
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
14955
15477
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
@@ -14967,10 +15489,157 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14967
15489
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14968
15490
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14969
15491
|
|
|
14970
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14971
|
-
var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function () {
|
|
14972
|
-
var
|
|
14973
|
-
|
|
15492
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1e556412-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=4a14f4de&scoped=true&
|
|
15493
|
+
var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render() {
|
|
15494
|
+
var _vm = this,
|
|
15495
|
+
_c = _vm._self._c;
|
|
15496
|
+
return _c('div', {
|
|
15497
|
+
staticClass: "tooltip-container"
|
|
15498
|
+
}, [_vm.content ? _c('el-main', {
|
|
15499
|
+
directives: [{
|
|
15500
|
+
name: "loading",
|
|
15501
|
+
rawName: "v-loading",
|
|
15502
|
+
value: _vm.loading,
|
|
15503
|
+
expression: "loading"
|
|
15504
|
+
}],
|
|
15505
|
+
staticClass: "main"
|
|
15506
|
+
}, [_vm.content.title ? _c('div', {
|
|
15507
|
+
staticClass: "block"
|
|
15508
|
+
}, [_c('span', {
|
|
15509
|
+
staticClass: "title"
|
|
15510
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
|
|
15511
|
+
staticClass: "block"
|
|
15512
|
+
}, [_c('span', {
|
|
15513
|
+
staticClass: "title"
|
|
15514
|
+
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
15515
|
+
staticClass: "content-container scrollbar"
|
|
15516
|
+
}, [_vm.content.featureIds ? _c('pubmed-viewer', {
|
|
15517
|
+
directives: [{
|
|
15518
|
+
name: "show",
|
|
15519
|
+
rawName: "v-show",
|
|
15520
|
+
value: false,
|
|
15521
|
+
expression: "false"
|
|
15522
|
+
}],
|
|
15523
|
+
staticClass: "block",
|
|
15524
|
+
attrs: {
|
|
15525
|
+
"entry": _vm.content
|
|
15526
|
+
},
|
|
15527
|
+
on: {
|
|
15528
|
+
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
15529
|
+
}
|
|
15530
|
+
}) : _vm._e(), _vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
15531
|
+
staticClass: "block"
|
|
15532
|
+
}, [_c('div', [_c('span', {
|
|
15533
|
+
staticClass: "attribute-title"
|
|
15534
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
15535
|
+
attrs: {
|
|
15536
|
+
"width": "250",
|
|
15537
|
+
"trigger": "hover",
|
|
15538
|
+
"append-to-body": false,
|
|
15539
|
+
"popper-class": "popover-origin-help"
|
|
15540
|
+
}
|
|
15541
|
+
}, [_c('i', {
|
|
15542
|
+
staticClass: "el-icon-warning-outline info",
|
|
15543
|
+
attrs: {
|
|
15544
|
+
"slot": "reference"
|
|
15545
|
+
},
|
|
15546
|
+
slot: "reference"
|
|
15547
|
+
}), _c('span', {
|
|
15548
|
+
staticStyle: {
|
|
15549
|
+
"word-break": "keep-all"
|
|
15550
|
+
}
|
|
15551
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
15552
|
+
return _c('div', {
|
|
15553
|
+
key: origin,
|
|
15554
|
+
staticClass: "attribute-content"
|
|
15555
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
15556
|
+
staticClass: "seperator"
|
|
15557
|
+
}) : _vm._e()]);
|
|
15558
|
+
}), _c('el-button', {
|
|
15559
|
+
directives: [{
|
|
15560
|
+
name: "show",
|
|
15561
|
+
rawName: "v-show",
|
|
15562
|
+
value: _vm.originsWithDatasets.length > 0,
|
|
15563
|
+
expression: "originsWithDatasets.length > 0"
|
|
15564
|
+
}],
|
|
15565
|
+
staticClass: "button",
|
|
15566
|
+
on: {
|
|
15567
|
+
"click": _vm.openDendrites
|
|
15568
|
+
}
|
|
15569
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
|
|
15570
|
+
staticClass: "block"
|
|
15571
|
+
}, [_c('div', {
|
|
15572
|
+
staticClass: "attribute-title"
|
|
15573
|
+
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
15574
|
+
return _c('div', {
|
|
15575
|
+
key: component,
|
|
15576
|
+
staticClass: "attribute-content"
|
|
15577
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
15578
|
+
staticClass: "seperator"
|
|
15579
|
+
}) : _vm._e()]);
|
|
15580
|
+
})], 2) : _vm._e(), this.destinations ? _c('div', {
|
|
15581
|
+
staticClass: "block"
|
|
15582
|
+
}, [_c('div', [_c('span', {
|
|
15583
|
+
staticClass: "attribute-title"
|
|
15584
|
+
}, [_vm._v("Destination")]), _c('el-popover', {
|
|
15585
|
+
attrs: {
|
|
15586
|
+
"width": "250",
|
|
15587
|
+
"trigger": "hover",
|
|
15588
|
+
"append-to-body": false,
|
|
15589
|
+
"popper-class": "popover-origin-help"
|
|
15590
|
+
}
|
|
15591
|
+
}, [_c('i', {
|
|
15592
|
+
staticClass: "el-icon-warning-outline info",
|
|
15593
|
+
attrs: {
|
|
15594
|
+
"slot": "reference"
|
|
15595
|
+
},
|
|
15596
|
+
slot: "reference"
|
|
15597
|
+
}), _c('span', {
|
|
15598
|
+
staticStyle: {
|
|
15599
|
+
"word-break": "keep-all"
|
|
15600
|
+
}
|
|
15601
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
15602
|
+
return _c('div', {
|
|
15603
|
+
key: destination,
|
|
15604
|
+
staticClass: "attribute-content"
|
|
15605
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
15606
|
+
staticClass: "seperator"
|
|
15607
|
+
}) : _vm._e()]);
|
|
15608
|
+
}), _c('el-button', {
|
|
15609
|
+
directives: [{
|
|
15610
|
+
name: "show",
|
|
15611
|
+
rawName: "v-show",
|
|
15612
|
+
value: _vm.destinationsWithDatasets.length > 0,
|
|
15613
|
+
expression: "destinationsWithDatasets.length > 0"
|
|
15614
|
+
}],
|
|
15615
|
+
staticClass: "button",
|
|
15616
|
+
on: {
|
|
15617
|
+
"click": _vm.openAxons
|
|
15618
|
+
}
|
|
15619
|
+
}, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
|
|
15620
|
+
directives: [{
|
|
15621
|
+
name: "show",
|
|
15622
|
+
rawName: "v-show",
|
|
15623
|
+
value: _vm.components.length > 0,
|
|
15624
|
+
expression: "components.length > 0"
|
|
15625
|
+
}],
|
|
15626
|
+
staticClass: "button",
|
|
15627
|
+
on: {
|
|
15628
|
+
"click": _vm.openAll
|
|
15629
|
+
}
|
|
15630
|
+
}, [_vm._v(" Search for data on components ")]), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
15631
|
+
staticClass: "button",
|
|
15632
|
+
attrs: {
|
|
15633
|
+
"icon": "el-icon-notebook-2"
|
|
15634
|
+
},
|
|
15635
|
+
on: {
|
|
15636
|
+
"click": function click($event) {
|
|
15637
|
+
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
15638
|
+
}
|
|
15639
|
+
}
|
|
15640
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
15641
|
+
};
|
|
15642
|
+
var Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns = [];
|
|
14974
15643
|
|
|
14975
15644
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4a14f4de&scoped=true&
|
|
14976
15645
|
|
|
@@ -14992,6 +15661,7 @@ function _iterableToArray(iter) {
|
|
|
14992
15661
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14993
15662
|
}
|
|
14994
15663
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
15664
|
+
|
|
14995
15665
|
function _nonIterableSpread() {
|
|
14996
15666
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14997
15667
|
}
|
|
@@ -15041,9 +15711,15 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
15041
15711
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
15042
15712
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
15043
15713
|
|
|
15714
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
15715
|
+
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
15716
|
+
|
|
15044
15717
|
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
15045
15718
|
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
15046
15719
|
|
|
15720
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
15721
|
+
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
15722
|
+
|
|
15047
15723
|
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
15048
15724
|
var es_promise_js_ = __webpack_require__("ec71");
|
|
15049
15725
|
|
|
@@ -15061,10 +15737,49 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
15061
15737
|
var locale = __webpack_require__("4897");
|
|
15062
15738
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
15063
15739
|
|
|
15064
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15065
|
-
var PubmedViewervue_type_template_id_aae60614_scoped_true_render = function () {
|
|
15066
|
-
var
|
|
15067
|
-
|
|
15740
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1e556412-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=aae60614&scoped=true&
|
|
15741
|
+
var PubmedViewervue_type_template_id_aae60614_scoped_true_render = function render() {
|
|
15742
|
+
var _vm = this,
|
|
15743
|
+
_c = _vm._self._c;
|
|
15744
|
+
return _c('div', {
|
|
15745
|
+
staticClass: "pubmed-container"
|
|
15746
|
+
}, [_c('div', {
|
|
15747
|
+
directives: [{
|
|
15748
|
+
name: "loading",
|
|
15749
|
+
rawName: "v-loading",
|
|
15750
|
+
value: _vm.loading.response,
|
|
15751
|
+
expression: "loading.response"
|
|
15752
|
+
}],
|
|
15753
|
+
staticClass: "block"
|
|
15754
|
+
}, [_c('div', {
|
|
15755
|
+
staticClass: "attribute-title"
|
|
15756
|
+
}, [_vm._v("Pubmed Resources")]), _c('br'), _c('el-carousel', {
|
|
15757
|
+
attrs: {
|
|
15758
|
+
"autoplay": false,
|
|
15759
|
+
"indicator-position": "outside",
|
|
15760
|
+
"height": "250px",
|
|
15761
|
+
"width": "200px"
|
|
15762
|
+
}
|
|
15763
|
+
}, _vm._l(_vm.pubmeds, function (pub, i) {
|
|
15764
|
+
return _c('el-carousel-item', {
|
|
15765
|
+
key: i
|
|
15766
|
+
}, [_c('div', {
|
|
15767
|
+
staticClass: "attribute-content"
|
|
15768
|
+
}, [_c('div', {
|
|
15769
|
+
domProps: {
|
|
15770
|
+
"innerHTML": _vm._s(pub.html)
|
|
15771
|
+
}
|
|
15772
|
+
}), _c('el-link', {
|
|
15773
|
+
staticClass: "el-link",
|
|
15774
|
+
attrs: {
|
|
15775
|
+
"href": pub.url,
|
|
15776
|
+
"underline": false,
|
|
15777
|
+
"target": "_blank"
|
|
15778
|
+
}
|
|
15779
|
+
}, [_vm._v(_vm._s(pub.url))])], 1)]);
|
|
15780
|
+
}), 1)], 1)]);
|
|
15781
|
+
};
|
|
15782
|
+
var PubmedViewervue_type_template_id_aae60614_scoped_true_staticRenderFns = [];
|
|
15068
15783
|
|
|
15069
15784
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=aae60614&scoped=true&
|
|
15070
15785
|
|
|
@@ -15080,36 +15795,38 @@ function _arrayWithHoles(arr) {
|
|
|
15080
15795
|
|
|
15081
15796
|
|
|
15082
15797
|
|
|
15083
|
-
function _iterableToArrayLimit(arr, i) {
|
|
15084
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15085
|
-
|
|
15086
|
-
if (_i == null) return;
|
|
15087
|
-
var _arr = [];
|
|
15088
|
-
var _n = true;
|
|
15089
|
-
var _d = false;
|
|
15090
|
-
|
|
15091
|
-
var _s, _e;
|
|
15092
|
-
|
|
15093
|
-
try {
|
|
15094
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
15095
|
-
_arr.push(_s.value);
|
|
15096
15798
|
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
15100
|
-
|
|
15101
|
-
|
|
15102
|
-
|
|
15799
|
+
function _iterableToArrayLimit(arr, i) {
|
|
15800
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15801
|
+
if (null != _i) {
|
|
15802
|
+
var _s,
|
|
15803
|
+
_e,
|
|
15804
|
+
_x,
|
|
15805
|
+
_r,
|
|
15806
|
+
_arr = [],
|
|
15807
|
+
_n = !0,
|
|
15808
|
+
_d = !1;
|
|
15103
15809
|
try {
|
|
15104
|
-
if (
|
|
15810
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
15811
|
+
if (Object(_i) !== _i) return;
|
|
15812
|
+
_n = !1;
|
|
15813
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
|
|
15814
|
+
;
|
|
15815
|
+
}
|
|
15816
|
+
} catch (err) {
|
|
15817
|
+
_d = !0, _e = err;
|
|
15105
15818
|
} finally {
|
|
15106
|
-
|
|
15819
|
+
try {
|
|
15820
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
15821
|
+
} finally {
|
|
15822
|
+
if (_d) throw _e;
|
|
15823
|
+
}
|
|
15107
15824
|
}
|
|
15825
|
+
return _arr;
|
|
15108
15826
|
}
|
|
15109
|
-
|
|
15110
|
-
return _arr;
|
|
15111
15827
|
}
|
|
15112
15828
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
15829
|
+
|
|
15113
15830
|
function _nonIterableRest() {
|
|
15114
15831
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15115
15832
|
}
|
|
@@ -15142,14 +15859,13 @@ var theme_chalk_link = __webpack_require__("fd71");
|
|
|
15142
15859
|
var lib_link = __webpack_require__("a447");
|
|
15143
15860
|
var lib_link_default = /*#__PURE__*/__webpack_require__.n(lib_link);
|
|
15144
15861
|
|
|
15145
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
15146
|
-
var
|
|
15862
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
15863
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
15147
15864
|
|
|
15148
15865
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
15149
15866
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
15150
15867
|
|
|
15151
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
15152
|
-
|
|
15868
|
+
// 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&
|
|
15153
15869
|
|
|
15154
15870
|
|
|
15155
15871
|
|
|
@@ -15174,28 +15890,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
15174
15890
|
|
|
15175
15891
|
|
|
15176
15892
|
|
|
15177
|
-
//
|
|
15178
|
-
//
|
|
15179
|
-
//
|
|
15180
|
-
//
|
|
15181
|
-
//
|
|
15182
|
-
//
|
|
15183
|
-
//
|
|
15184
|
-
//
|
|
15185
|
-
//
|
|
15186
|
-
//
|
|
15187
|
-
//
|
|
15188
|
-
//
|
|
15189
|
-
//
|
|
15190
|
-
//
|
|
15191
|
-
//
|
|
15192
|
-
//
|
|
15193
|
-
//
|
|
15194
|
-
//
|
|
15195
|
-
//
|
|
15196
|
-
//
|
|
15197
|
-
//
|
|
15198
|
-
//
|
|
15199
15893
|
|
|
15200
15894
|
/* eslint-disable no-alert, no-console */
|
|
15201
15895
|
|
|
@@ -15217,7 +15911,6 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15217
15911
|
watch: {
|
|
15218
15912
|
'entry.featureId': function entryFeatureId(val) {
|
|
15219
15913
|
var _this = this;
|
|
15220
|
-
|
|
15221
15914
|
this.flatmapQuery(val).then(function (pb) {
|
|
15222
15915
|
return _this.pubmeds = pb;
|
|
15223
15916
|
});
|
|
@@ -15264,7 +15957,6 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15264
15957
|
},
|
|
15265
15958
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
15266
15959
|
var sql = 'select distinct publication from publications where entity in (';
|
|
15267
|
-
|
|
15268
15960
|
if (keastIds.length === 1) {
|
|
15269
15961
|
sql += "'".concat(keastIds[0], "')");
|
|
15270
15962
|
} else if (keastIds.length > 1) {
|
|
@@ -15272,16 +15964,15 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15272
15964
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15273
15965
|
}
|
|
15274
15966
|
}
|
|
15275
|
-
|
|
15276
15967
|
return sql;
|
|
15277
15968
|
},
|
|
15278
15969
|
flatmapQuery: function flatmapQuery(keastIds) {
|
|
15279
15970
|
var _this2 = this;
|
|
15280
|
-
|
|
15281
15971
|
if (!keastIds || keastIds.length === 0) return;
|
|
15282
15972
|
this.pubmeds = [];
|
|
15283
|
-
this.loading.response = true;
|
|
15973
|
+
this.loading.response = true;
|
|
15284
15974
|
|
|
15975
|
+
// fetch pubmed publications for the given ids
|
|
15285
15976
|
var data = {
|
|
15286
15977
|
sql: this.buildPubmedSqlStatement(keastIds)
|
|
15287
15978
|
};
|
|
@@ -15295,18 +15986,17 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15295
15986
|
return response.json();
|
|
15296
15987
|
}).then(function (data) {
|
|
15297
15988
|
_this2.responseData = data;
|
|
15298
|
-
_this2.loading.response = false;
|
|
15989
|
+
_this2.loading.response = false;
|
|
15299
15990
|
|
|
15991
|
+
// create links for each pubmedId
|
|
15300
15992
|
if (data.values.length > 0) {
|
|
15301
15993
|
data.values.forEach(function (identifier) {
|
|
15302
15994
|
var ids = _this2.stripPMIDPrefix(identifier[0]);
|
|
15303
|
-
|
|
15304
15995
|
_this2.titleFromPubmed(ids).then(function (bib) {
|
|
15305
15996
|
var _this2$splitLink = _this2.splitLink(bib),
|
|
15306
|
-
|
|
15307
|
-
|
|
15308
|
-
|
|
15309
|
-
|
|
15997
|
+
_this2$splitLink2 = _slicedToArray(_this2$splitLink, 2),
|
|
15998
|
+
html = _this2$splitLink2[0],
|
|
15999
|
+
link = _this2$splitLink2[1];
|
|
15310
16000
|
_this2.pubmeds.push({
|
|
15311
16001
|
identifier: identifier[0],
|
|
15312
16002
|
html: html,
|
|
@@ -15314,13 +16004,11 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15314
16004
|
});
|
|
15315
16005
|
});
|
|
15316
16006
|
});
|
|
15317
|
-
|
|
15318
16007
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
15319
16008
|
return _this2.stripPMIDPrefix(id[0]);
|
|
15320
16009
|
})));
|
|
15321
16010
|
} else {
|
|
15322
16011
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
15323
|
-
|
|
15324
16012
|
}
|
|
15325
16013
|
}).catch(function (error) {
|
|
15326
16014
|
console.error('Error:', error);
|
|
@@ -15336,8 +16024,8 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15336
16024
|
});
|
|
15337
16025
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
15338
16026
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
15339
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=aae60614&scoped=true&lang=scss&
|
|
15340
|
-
var
|
|
16027
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=aae60614&prod&scoped=true&lang=scss&
|
|
16028
|
+
var PubmedViewervue_type_style_index_0_id_aae60614_prod_scoped_true_lang_scss_ = __webpack_require__("7451");
|
|
15341
16029
|
|
|
15342
16030
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
15343
16031
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -15346,20 +16034,19 @@ var PubmedViewervue_type_style_index_0_id_aae60614_scoped_true_lang_scss_ = __we
|
|
|
15346
16034
|
// This module is a runtime utility for cleaner component module output and will
|
|
15347
16035
|
// be included in the final webpack user bundle.
|
|
15348
16036
|
|
|
15349
|
-
function normalizeComponent
|
|
16037
|
+
function normalizeComponent(
|
|
15350
16038
|
scriptExports,
|
|
15351
16039
|
render,
|
|
15352
16040
|
staticRenderFns,
|
|
15353
16041
|
functionalTemplate,
|
|
15354
16042
|
injectStyles,
|
|
15355
16043
|
scopeId,
|
|
15356
|
-
moduleIdentifier
|
|
16044
|
+
moduleIdentifier /* server only */,
|
|
15357
16045
|
shadowMode /* vue-cli only */
|
|
15358
16046
|
) {
|
|
15359
16047
|
// Vue.extend constructor export interop
|
|
15360
|
-
var options =
|
|
15361
|
-
? scriptExports.options
|
|
15362
|
-
: scriptExports
|
|
16048
|
+
var options =
|
|
16049
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
15363
16050
|
|
|
15364
16051
|
// render functions
|
|
15365
16052
|
if (render) {
|
|
@@ -15379,7 +16066,8 @@ function normalizeComponent (
|
|
|
15379
16066
|
}
|
|
15380
16067
|
|
|
15381
16068
|
var hook
|
|
15382
|
-
if (moduleIdentifier) {
|
|
16069
|
+
if (moduleIdentifier) {
|
|
16070
|
+
// server build
|
|
15383
16071
|
hook = function (context) {
|
|
15384
16072
|
// 2.3 injection
|
|
15385
16073
|
context =
|
|
@@ -15405,11 +16093,11 @@ function normalizeComponent (
|
|
|
15405
16093
|
} else if (injectStyles) {
|
|
15406
16094
|
hook = shadowMode
|
|
15407
16095
|
? function () {
|
|
15408
|
-
|
|
15409
|
-
|
|
15410
|
-
|
|
15411
|
-
|
|
15412
|
-
|
|
16096
|
+
injectStyles.call(
|
|
16097
|
+
this,
|
|
16098
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
16099
|
+
)
|
|
16100
|
+
}
|
|
15413
16101
|
: injectStyles
|
|
15414
16102
|
}
|
|
15415
16103
|
|
|
@@ -15420,16 +16108,14 @@ function normalizeComponent (
|
|
|
15420
16108
|
options._injectStyles = hook
|
|
15421
16109
|
// register for functional component in vue file
|
|
15422
16110
|
var originalRender = options.render
|
|
15423
|
-
options.render = function renderWithStyleInjection
|
|
16111
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
15424
16112
|
hook.call(context)
|
|
15425
16113
|
return originalRender(h, context)
|
|
15426
16114
|
}
|
|
15427
16115
|
} else {
|
|
15428
16116
|
// inject component registration as beforeCreate hook
|
|
15429
16117
|
var existing = options.beforeCreate
|
|
15430
|
-
options.beforeCreate = existing
|
|
15431
|
-
? [].concat(existing, hook)
|
|
15432
|
-
: [hook]
|
|
16118
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
15433
16119
|
}
|
|
15434
16120
|
}
|
|
15435
16121
|
|
|
@@ -15464,7 +16150,9 @@ var component = normalizeComponent(
|
|
|
15464
16150
|
|
|
15465
16151
|
var EventBus = new external_vue_default.a();
|
|
15466
16152
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
15467
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
16153
|
+
// 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&
|
|
16154
|
+
|
|
16155
|
+
|
|
15468
16156
|
|
|
15469
16157
|
|
|
15470
16158
|
|
|
@@ -15498,93 +16186,6 @@ var EventBus = new external_vue_default.a();
|
|
|
15498
16186
|
|
|
15499
16187
|
|
|
15500
16188
|
|
|
15501
|
-
//
|
|
15502
|
-
//
|
|
15503
|
-
//
|
|
15504
|
-
//
|
|
15505
|
-
//
|
|
15506
|
-
//
|
|
15507
|
-
//
|
|
15508
|
-
//
|
|
15509
|
-
//
|
|
15510
|
-
//
|
|
15511
|
-
//
|
|
15512
|
-
//
|
|
15513
|
-
//
|
|
15514
|
-
//
|
|
15515
|
-
//
|
|
15516
|
-
//
|
|
15517
|
-
//
|
|
15518
|
-
//
|
|
15519
|
-
//
|
|
15520
|
-
//
|
|
15521
|
-
//
|
|
15522
|
-
//
|
|
15523
|
-
//
|
|
15524
|
-
//
|
|
15525
|
-
//
|
|
15526
|
-
//
|
|
15527
|
-
//
|
|
15528
|
-
//
|
|
15529
|
-
//
|
|
15530
|
-
//
|
|
15531
|
-
//
|
|
15532
|
-
//
|
|
15533
|
-
//
|
|
15534
|
-
//
|
|
15535
|
-
//
|
|
15536
|
-
//
|
|
15537
|
-
//
|
|
15538
|
-
//
|
|
15539
|
-
//
|
|
15540
|
-
//
|
|
15541
|
-
//
|
|
15542
|
-
//
|
|
15543
|
-
//
|
|
15544
|
-
//
|
|
15545
|
-
//
|
|
15546
|
-
//
|
|
15547
|
-
//
|
|
15548
|
-
//
|
|
15549
|
-
//
|
|
15550
|
-
//
|
|
15551
|
-
//
|
|
15552
|
-
//
|
|
15553
|
-
//
|
|
15554
|
-
//
|
|
15555
|
-
//
|
|
15556
|
-
//
|
|
15557
|
-
//
|
|
15558
|
-
//
|
|
15559
|
-
//
|
|
15560
|
-
//
|
|
15561
|
-
//
|
|
15562
|
-
//
|
|
15563
|
-
//
|
|
15564
|
-
//
|
|
15565
|
-
//
|
|
15566
|
-
//
|
|
15567
|
-
//
|
|
15568
|
-
//
|
|
15569
|
-
//
|
|
15570
|
-
//
|
|
15571
|
-
//
|
|
15572
|
-
//
|
|
15573
|
-
//
|
|
15574
|
-
//
|
|
15575
|
-
//
|
|
15576
|
-
//
|
|
15577
|
-
//
|
|
15578
|
-
//
|
|
15579
|
-
//
|
|
15580
|
-
//
|
|
15581
|
-
//
|
|
15582
|
-
//
|
|
15583
|
-
//
|
|
15584
|
-
//
|
|
15585
|
-
//
|
|
15586
|
-
//
|
|
15587
|
-
//
|
|
15588
16189
|
|
|
15589
16190
|
/* eslint-disable no-alert, no-console */
|
|
15590
16191
|
|
|
@@ -15595,9 +16196,9 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15595
16196
|
external_vue_default.a.use(lib_container_default.a);
|
|
15596
16197
|
external_vue_default.a.use(lib_header_default.a);
|
|
15597
16198
|
external_vue_default.a.use(lib_icon_default.a);
|
|
15598
|
-
external_vue_default.a.use(lib_main_default.a);
|
|
15599
|
-
|
|
16199
|
+
external_vue_default.a.use(lib_main_default.a);
|
|
15600
16200
|
|
|
16201
|
+
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
15601
16202
|
|
|
15602
16203
|
|
|
15603
16204
|
var _titleCase = function titleCase(str) {
|
|
@@ -15605,14 +16206,13 @@ var _titleCase = function titleCase(str) {
|
|
|
15605
16206
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
15606
16207
|
});
|
|
15607
16208
|
};
|
|
15608
|
-
|
|
15609
16209
|
var inArray = function inArray(ar1, ar2) {
|
|
15610
16210
|
var as1 = JSON.stringify(ar1);
|
|
15611
16211
|
var as2 = JSON.stringify(ar2);
|
|
15612
16212
|
return as1.indexOf(as2) !== -1;
|
|
15613
|
-
};
|
|
15614
|
-
|
|
16213
|
+
};
|
|
15615
16214
|
|
|
16215
|
+
// remove duplicates by stringifying the objects
|
|
15616
16216
|
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
15617
16217
|
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
15618
16218
|
return JSON.stringify(e);
|
|
@@ -15620,12 +16220,10 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
|
|
|
15620
16220
|
return JSON.parse(e);
|
|
15621
16221
|
});
|
|
15622
16222
|
};
|
|
15623
|
-
|
|
15624
16223
|
var _capitalise = function capitalise(str) {
|
|
15625
16224
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
15626
16225
|
return "";
|
|
15627
16226
|
};
|
|
15628
|
-
|
|
15629
16227
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
15630
16228
|
components: {
|
|
15631
16229
|
PubmedViewer: PubmedViewer
|
|
@@ -15726,10 +16324,7 @@ var _capitalise = function capitalise(str) {
|
|
|
15726
16324
|
},
|
|
15727
16325
|
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
15728
16326
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15729
|
-
|
|
15730
16327
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15731
|
-
|
|
15732
|
-
|
|
15733
16328
|
var found = [];
|
|
15734
16329
|
nodes.forEach(function (n) {
|
|
15735
16330
|
if (Array.isArray(n)) {
|
|
@@ -15742,10 +16337,7 @@ var _capitalise = function capitalise(str) {
|
|
|
15742
16337
|
},
|
|
15743
16338
|
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
15744
16339
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
15745
|
-
|
|
15746
16340
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
16341
|
var found = [];
|
|
15750
16342
|
nodes.forEach(function (n) {
|
|
15751
16343
|
if (Array.isArray(n)) {
|
|
@@ -15758,21 +16350,18 @@ var _capitalise = function capitalise(str) {
|
|
|
15758
16350
|
},
|
|
15759
16351
|
findComponents: function findComponents(connectivity) {
|
|
15760
16352
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15761
|
-
|
|
15762
16353
|
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
15763
16354
|
var found = [];
|
|
15764
16355
|
var terminal = false;
|
|
15765
16356
|
nodes.forEach(function (node) {
|
|
15766
|
-
terminal = false;
|
|
15767
|
-
|
|
16357
|
+
terminal = false;
|
|
16358
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
15768
16359
|
if (inArray(connectivity.axons, node)) {
|
|
15769
16360
|
terminal = true;
|
|
15770
16361
|
}
|
|
15771
|
-
|
|
15772
16362
|
if (inArray(connectivity.dendrites, node)) {
|
|
15773
16363
|
terminal = true;
|
|
15774
16364
|
}
|
|
15775
|
-
|
|
15776
16365
|
if (!terminal) {
|
|
15777
16366
|
found.push(node);
|
|
15778
16367
|
}
|
|
@@ -15781,7 +16370,6 @@ var _capitalise = function capitalise(str) {
|
|
|
15781
16370
|
},
|
|
15782
16371
|
getOrganCuries: function getOrganCuries() {
|
|
15783
16372
|
var _this = this;
|
|
15784
|
-
|
|
15785
16373
|
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
15786
16374
|
return response.json();
|
|
15787
16375
|
}).then(function (data) {
|
|
@@ -15790,7 +16378,6 @@ var _capitalise = function capitalise(str) {
|
|
|
15790
16378
|
},
|
|
15791
16379
|
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
15792
16380
|
var sql = 'select knowledge from knowledge where entity in (';
|
|
15793
|
-
|
|
15794
16381
|
if (keastIds.length === 1) {
|
|
15795
16382
|
sql += "'".concat(keastIds[0], "')");
|
|
15796
16383
|
} else if (keastIds.length > 1) {
|
|
@@ -15798,12 +16385,10 @@ var _capitalise = function capitalise(str) {
|
|
|
15798
16385
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15799
16386
|
}
|
|
15800
16387
|
}
|
|
15801
|
-
|
|
15802
16388
|
return sql;
|
|
15803
16389
|
},
|
|
15804
16390
|
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
15805
16391
|
var sql = 'select entity, label from labels where entity in (';
|
|
15806
|
-
|
|
15807
16392
|
if (uberons.length === 1) {
|
|
15808
16393
|
sql += "'".concat(uberons[0], "')");
|
|
15809
16394
|
} else if (uberons.length > 1) {
|
|
@@ -15811,12 +16396,10 @@ var _capitalise = function capitalise(str) {
|
|
|
15811
16396
|
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
15812
16397
|
}
|
|
15813
16398
|
}
|
|
15814
|
-
|
|
15815
16399
|
return sql;
|
|
15816
16400
|
},
|
|
15817
16401
|
createLabelLookup: function createLabelLookup(uberons) {
|
|
15818
16402
|
var _this2 = this;
|
|
15819
|
-
|
|
15820
16403
|
return new Promise(function (resolve) {
|
|
15821
16404
|
var uberonMap = {};
|
|
15822
16405
|
var data = {
|
|
@@ -15833,24 +16416,20 @@ var _capitalise = function capitalise(str) {
|
|
|
15833
16416
|
}).then(function (payload) {
|
|
15834
16417
|
var entity = payload.keys.indexOf("entity");
|
|
15835
16418
|
var label = payload.keys.indexOf("label");
|
|
15836
|
-
|
|
15837
16419
|
if (entity > -1 && label > -1) {
|
|
15838
16420
|
payload.values.forEach(function (pair) {
|
|
15839
16421
|
uberonMap[pair[entity]] = pair[label];
|
|
15840
16422
|
});
|
|
15841
16423
|
}
|
|
15842
|
-
|
|
15843
16424
|
resolve(uberonMap);
|
|
15844
16425
|
});
|
|
15845
16426
|
});
|
|
15846
16427
|
},
|
|
15847
16428
|
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
15848
16429
|
var _this3 = this;
|
|
15849
|
-
|
|
15850
16430
|
var labelList = [];
|
|
15851
16431
|
components.forEach(function (n) {
|
|
15852
16432
|
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
15853
|
-
|
|
15854
16433
|
if (n.length === 2) {
|
|
15855
16434
|
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
15856
16435
|
}
|
|
@@ -15859,7 +16438,6 @@ var _capitalise = function capitalise(str) {
|
|
|
15859
16438
|
},
|
|
15860
16439
|
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
15861
16440
|
var label = lookUp[node[0]];
|
|
15862
|
-
|
|
15863
16441
|
if (node.length === 2 && node[1].length > 0) {
|
|
15864
16442
|
node[1].forEach(function (n) {
|
|
15865
16443
|
if (lookUp[n] == undefined) {
|
|
@@ -15869,12 +16447,10 @@ var _capitalise = function capitalise(str) {
|
|
|
15869
16447
|
}
|
|
15870
16448
|
});
|
|
15871
16449
|
}
|
|
15872
|
-
|
|
15873
16450
|
return label;
|
|
15874
16451
|
},
|
|
15875
16452
|
pathwayQuery: function pathwayQuery(keastIds) {
|
|
15876
16453
|
var _this4 = this;
|
|
15877
|
-
|
|
15878
16454
|
this.destinations = [];
|
|
15879
16455
|
this.origins = [];
|
|
15880
16456
|
this.components = [];
|
|
@@ -15892,24 +16468,19 @@ var _capitalise = function capitalise(str) {
|
|
|
15892
16468
|
}).then(function (response) {
|
|
15893
16469
|
return response.json();
|
|
15894
16470
|
}).then(function (data) {
|
|
15895
|
-
var connectivity = JSON.parse(data.values[0][0]);
|
|
15896
|
-
|
|
15897
|
-
var components = _this4.findComponents(connectivity);
|
|
15898
|
-
|
|
16471
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
16472
|
+
// Filter the origin and destinations from components
|
|
16473
|
+
var components = _this4.findComponents(connectivity);
|
|
15899
16474
|
|
|
16475
|
+
// process the nodes for finding datasets
|
|
15900
16476
|
var componentsFlat = _this4.flattenConntectivity(components);
|
|
15901
|
-
|
|
15902
16477
|
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
15903
16478
|
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
15904
|
-
|
|
15905
16479
|
var axonsFlat = _this4.flattenConntectivity(axons);
|
|
15906
|
-
|
|
15907
16480
|
var dendritesFlat = _this4.flattenConntectivity(dendrites);
|
|
15908
|
-
|
|
15909
16481
|
var conIds = _this4.findAllIdsFromConnectivity(connectivity); // Create list of ids to get labels for
|
|
15910
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
15911
|
-
|
|
15912
16482
|
|
|
16483
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
15913
16484
|
_this4.createLabelLookup(conIds).then(function (lookUp) {
|
|
15914
16485
|
_this4.destinations = axons.map(function (a) {
|
|
15915
16486
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
@@ -15920,9 +16491,9 @@ var _capitalise = function capitalise(str) {
|
|
|
15920
16491
|
_this4.components = components.map(function (c) {
|
|
15921
16492
|
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
15922
16493
|
});
|
|
15923
|
-
});
|
|
15924
|
-
|
|
16494
|
+
});
|
|
15925
16495
|
|
|
16496
|
+
// Filter for the anatomy which is annotated on datasets
|
|
15926
16497
|
_this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
15927
16498
|
return axonsFlat.indexOf(ub.id) !== -1;
|
|
15928
16499
|
});
|
|
@@ -15941,8 +16512,8 @@ var _capitalise = function capitalise(str) {
|
|
|
15941
16512
|
});
|
|
15942
16513
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
15943
16514
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
15944
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4a14f4de&scoped=true&lang=scss&
|
|
15945
|
-
var
|
|
16515
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4a14f4de&prod&scoped=true&lang=scss&
|
|
16516
|
+
var Tooltipvue_type_style_index_0_id_4a14f4de_prod_scoped_true_lang_scss_ = __webpack_require__("bec2");
|
|
15946
16517
|
|
|
15947
16518
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
15948
16519
|
|
|
@@ -15954,366 +16525,172 @@ var Tooltipvue_type_style_index_0_id_4a14f4de_scoped_true_lang_scss_ = __webpack
|
|
|
15954
16525
|
/* normalize component */
|
|
15955
16526
|
|
|
15956
16527
|
var Tooltip_component = normalizeComponent(
|
|
15957
|
-
components_Tooltipvue_type_script_lang_js_,
|
|
15958
|
-
Tooltipvue_type_template_id_4a14f4de_scoped_true_render,
|
|
15959
|
-
Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns,
|
|
15960
|
-
false,
|
|
15961
|
-
null,
|
|
15962
|
-
"4a14f4de",
|
|
15963
|
-
null
|
|
15964
|
-
|
|
15965
|
-
)
|
|
15966
|
-
|
|
15967
|
-
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
15968
|
-
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15969
|
-
var svg_sprite_ = __webpack_require__("429c");
|
|
15970
|
-
|
|
15971
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15972
|
-
var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function () {
|
|
15973
|
-
var
|
|
15974
|
-
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
|
|
15978
|
-
|
|
15979
|
-
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
|
|
15989
|
-
|
|
15990
|
-
|
|
15991
|
-
|
|
15992
|
-
|
|
15993
|
-
|
|
15994
|
-
|
|
15995
|
-
|
|
15996
|
-
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
|
|
16005
|
-
|
|
16006
|
-
|
|
16007
|
-
|
|
16008
|
-
|
|
16009
|
-
|
|
16010
|
-
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
16021
|
-
|
|
16022
|
-
|
|
16023
|
-
|
|
16024
|
-
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
|
|
16033
|
-
|
|
16034
|
-
|
|
16035
|
-
|
|
16036
|
-
|
|
16037
|
-
|
|
16038
|
-
|
|
16039
|
-
|
|
16040
|
-
|
|
16041
|
-
|
|
16042
|
-
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
|
|
16048
|
-
|
|
16049
|
-
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
//
|
|
16086
|
-
|
|
16087
|
-
//
|
|
16088
|
-
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
|
|
16092
|
-
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16098
|
-
|
|
16099
|
-
|
|
16100
|
-
|
|
16101
|
-
|
|
16102
|
-
|
|
16103
|
-
|
|
16104
|
-
|
|
16105
|
-
|
|
16106
|
-
|
|
16107
|
-
|
|
16108
|
-
|
|
16109
|
-
|
|
16110
|
-
|
|
16111
|
-
|
|
16112
|
-
|
|
16113
|
-
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
|
-
|
|
16117
|
-
|
|
16118
|
-
|
|
16119
|
-
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
//
|
|
16124
|
-
//
|
|
16125
|
-
//
|
|
16126
|
-
//
|
|
16127
|
-
//
|
|
16128
|
-
//
|
|
16129
|
-
//
|
|
16130
|
-
//
|
|
16131
|
-
//
|
|
16132
|
-
//
|
|
16133
|
-
//
|
|
16134
|
-
//
|
|
16135
|
-
//
|
|
16136
|
-
//
|
|
16137
|
-
//
|
|
16138
|
-
//
|
|
16139
|
-
//
|
|
16140
|
-
//
|
|
16141
|
-
//
|
|
16142
|
-
//
|
|
16143
|
-
//
|
|
16144
|
-
//
|
|
16145
|
-
//
|
|
16146
|
-
//
|
|
16147
|
-
//
|
|
16148
|
-
//
|
|
16149
|
-
//
|
|
16150
|
-
//
|
|
16151
|
-
//
|
|
16152
|
-
//
|
|
16153
|
-
//
|
|
16154
|
-
//
|
|
16155
|
-
//
|
|
16156
|
-
//
|
|
16157
|
-
//
|
|
16158
|
-
//
|
|
16159
|
-
//
|
|
16160
|
-
//
|
|
16161
|
-
//
|
|
16162
|
-
//
|
|
16163
|
-
//
|
|
16164
|
-
//
|
|
16165
|
-
//
|
|
16166
|
-
//
|
|
16167
|
-
//
|
|
16168
|
-
//
|
|
16169
|
-
//
|
|
16170
|
-
//
|
|
16171
|
-
//
|
|
16172
|
-
//
|
|
16173
|
-
//
|
|
16174
|
-
//
|
|
16175
|
-
//
|
|
16176
|
-
//
|
|
16177
|
-
//
|
|
16178
|
-
//
|
|
16179
|
-
//
|
|
16180
|
-
//
|
|
16181
|
-
//
|
|
16182
|
-
//
|
|
16183
|
-
//
|
|
16184
|
-
//
|
|
16185
|
-
//
|
|
16186
|
-
//
|
|
16187
|
-
//
|
|
16188
|
-
//
|
|
16189
|
-
//
|
|
16190
|
-
//
|
|
16191
|
-
//
|
|
16192
|
-
//
|
|
16193
|
-
//
|
|
16194
|
-
//
|
|
16195
|
-
//
|
|
16196
|
-
//
|
|
16197
|
-
//
|
|
16198
|
-
//
|
|
16199
|
-
//
|
|
16200
|
-
//
|
|
16201
|
-
//
|
|
16202
|
-
//
|
|
16203
|
-
//
|
|
16204
|
-
//
|
|
16205
|
-
//
|
|
16206
|
-
//
|
|
16207
|
-
//
|
|
16208
|
-
//
|
|
16209
|
-
//
|
|
16210
|
-
//
|
|
16211
|
-
//
|
|
16212
|
-
//
|
|
16213
|
-
//
|
|
16214
|
-
//
|
|
16215
|
-
//
|
|
16216
|
-
//
|
|
16217
|
-
//
|
|
16218
|
-
//
|
|
16219
|
-
//
|
|
16220
|
-
//
|
|
16221
|
-
//
|
|
16222
|
-
//
|
|
16223
|
-
//
|
|
16224
|
-
//
|
|
16225
|
-
//
|
|
16226
|
-
//
|
|
16227
|
-
//
|
|
16228
|
-
//
|
|
16229
|
-
//
|
|
16230
|
-
//
|
|
16231
|
-
//
|
|
16232
|
-
//
|
|
16233
|
-
//
|
|
16234
|
-
//
|
|
16235
|
-
//
|
|
16236
|
-
//
|
|
16237
|
-
//
|
|
16238
|
-
//
|
|
16239
|
-
//
|
|
16240
|
-
//
|
|
16241
|
-
//
|
|
16242
|
-
//
|
|
16243
|
-
//
|
|
16244
|
-
//
|
|
16245
|
-
//
|
|
16246
|
-
//
|
|
16247
|
-
//
|
|
16248
|
-
//
|
|
16249
|
-
//
|
|
16250
|
-
//
|
|
16251
|
-
//
|
|
16252
|
-
//
|
|
16253
|
-
//
|
|
16254
|
-
//
|
|
16255
|
-
//
|
|
16256
|
-
//
|
|
16257
|
-
//
|
|
16258
|
-
//
|
|
16259
|
-
//
|
|
16260
|
-
//
|
|
16261
|
-
//
|
|
16262
|
-
//
|
|
16263
|
-
//
|
|
16264
|
-
//
|
|
16265
|
-
//
|
|
16266
|
-
//
|
|
16267
|
-
//
|
|
16268
|
-
//
|
|
16269
|
-
//
|
|
16270
|
-
//
|
|
16271
|
-
//
|
|
16272
|
-
//
|
|
16273
|
-
//
|
|
16274
|
-
//
|
|
16275
|
-
//
|
|
16276
|
-
//
|
|
16277
|
-
//
|
|
16278
|
-
//
|
|
16279
|
-
//
|
|
16280
|
-
//
|
|
16281
|
-
//
|
|
16282
|
-
//
|
|
16283
|
-
//
|
|
16284
|
-
//
|
|
16285
|
-
//
|
|
16286
|
-
//
|
|
16287
|
-
//
|
|
16288
|
-
//
|
|
16289
|
-
//
|
|
16290
|
-
//
|
|
16291
|
-
//
|
|
16292
|
-
//
|
|
16293
|
-
//
|
|
16294
|
-
//
|
|
16295
|
-
//
|
|
16296
|
-
//
|
|
16297
|
-
//
|
|
16298
|
-
//
|
|
16299
|
-
//
|
|
16300
|
-
//
|
|
16301
|
-
//
|
|
16302
|
-
//
|
|
16303
|
-
//
|
|
16304
|
-
//
|
|
16305
|
-
//
|
|
16306
|
-
//
|
|
16307
|
-
//
|
|
16308
|
-
//
|
|
16309
|
-
//
|
|
16310
|
-
//
|
|
16311
|
-
//
|
|
16312
|
-
//
|
|
16313
|
-
//
|
|
16314
|
-
//
|
|
16315
|
-
//
|
|
16316
|
-
//
|
|
16528
|
+
components_Tooltipvue_type_script_lang_js_,
|
|
16529
|
+
Tooltipvue_type_template_id_4a14f4de_scoped_true_render,
|
|
16530
|
+
Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns,
|
|
16531
|
+
false,
|
|
16532
|
+
null,
|
|
16533
|
+
"4a14f4de",
|
|
16534
|
+
null
|
|
16535
|
+
|
|
16536
|
+
)
|
|
16537
|
+
|
|
16538
|
+
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
16539
|
+
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
16540
|
+
var svg_sprite_ = __webpack_require__("429c");
|
|
16541
|
+
|
|
16542
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1e556412-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=5dafd4cc&scoped=true&
|
|
16543
|
+
var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function render() {
|
|
16544
|
+
var _vm = this,
|
|
16545
|
+
_c = _vm._self._c;
|
|
16546
|
+
return _c('div', {
|
|
16547
|
+
staticClass: "legends-container"
|
|
16548
|
+
}, [_c('svg', {
|
|
16549
|
+
staticStyle: {
|
|
16550
|
+
"enable-background": "new 0 0 500 500"
|
|
16551
|
+
},
|
|
16552
|
+
attrs: {
|
|
16553
|
+
"version": "1.1",
|
|
16554
|
+
"id": "Layer_1",
|
|
16555
|
+
"x": "0px",
|
|
16556
|
+
"y": "0px",
|
|
16557
|
+
"viewBox": "0 0 500 500",
|
|
16558
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
16559
|
+
"xmlns:bx": "https://boxy-svg.com"
|
|
16560
|
+
}
|
|
16561
|
+
}, [_c('defs', [_c('bx:grid', {
|
|
16562
|
+
attrs: {
|
|
16563
|
+
"height": "30.447",
|
|
16564
|
+
"width": "32.516",
|
|
16565
|
+
"x": "0",
|
|
16566
|
+
"y": "0"
|
|
16567
|
+
}
|
|
16568
|
+
})], 1), _c('path', {
|
|
16569
|
+
staticClass: "st0 st0-translate",
|
|
16570
|
+
attrs: {
|
|
16571
|
+
"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"
|
|
16572
|
+
}
|
|
16573
|
+
}), _c('path', {
|
|
16574
|
+
staticClass: "st1",
|
|
16575
|
+
attrs: {
|
|
16576
|
+
"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"
|
|
16577
|
+
}
|
|
16578
|
+
}), _c('path', {
|
|
16579
|
+
staticClass: "st2",
|
|
16580
|
+
attrs: {
|
|
16581
|
+
"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"
|
|
16582
|
+
}
|
|
16583
|
+
}), _c('text', {
|
|
16584
|
+
staticClass: "st3 st4 st5",
|
|
16585
|
+
staticStyle: {
|
|
16586
|
+
"white-space": "pre"
|
|
16587
|
+
},
|
|
16588
|
+
attrs: {
|
|
16589
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
16590
|
+
}
|
|
16591
|
+
}, [_vm._v("Tissue region")]), _c('path', {
|
|
16592
|
+
staticClass: "st6",
|
|
16593
|
+
attrs: {
|
|
16594
|
+
"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"
|
|
16595
|
+
}
|
|
16596
|
+
}), _c('text', {
|
|
16597
|
+
staticClass: "st3 st4 st5",
|
|
16598
|
+
staticStyle: {
|
|
16599
|
+
"white-space": "pre"
|
|
16600
|
+
},
|
|
16601
|
+
attrs: {
|
|
16602
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
16603
|
+
}
|
|
16604
|
+
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
16605
|
+
staticClass: "st3 st4 st5",
|
|
16606
|
+
staticStyle: {
|
|
16607
|
+
"white-space": "pre"
|
|
16608
|
+
},
|
|
16609
|
+
attrs: {
|
|
16610
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
16611
|
+
}
|
|
16612
|
+
}, [_vm._v("Ganglia")]), _c('text', {
|
|
16613
|
+
staticClass: "st3 st4 st5",
|
|
16614
|
+
staticStyle: {
|
|
16615
|
+
"white-space": "pre"
|
|
16616
|
+
},
|
|
16617
|
+
attrs: {
|
|
16618
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
16619
|
+
}
|
|
16620
|
+
}, [_vm._v("Nerve plexus")])])]);
|
|
16621
|
+
};
|
|
16622
|
+
var Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns = [];
|
|
16623
|
+
|
|
16624
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
|
|
16625
|
+
|
|
16626
|
+
// 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&
|
|
16627
|
+
/* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
|
|
16628
|
+
name: 'SvgLegends'
|
|
16629
|
+
});
|
|
16630
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
16631
|
+
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
16632
|
+
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=5dafd4cc&prod&scoped=true&lang=scss&
|
|
16633
|
+
var Legendsvue_type_style_index_0_id_5dafd4cc_prod_scoped_true_lang_scss_ = __webpack_require__("0fa6");
|
|
16634
|
+
|
|
16635
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
16636
|
+
|
|
16637
|
+
|
|
16638
|
+
|
|
16639
|
+
|
|
16640
|
+
|
|
16641
|
+
|
|
16642
|
+
/* normalize component */
|
|
16643
|
+
|
|
16644
|
+
var Legends_component = normalizeComponent(
|
|
16645
|
+
legends_Legendsvue_type_script_lang_js_,
|
|
16646
|
+
Legendsvue_type_template_id_5dafd4cc_scoped_true_render,
|
|
16647
|
+
Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns,
|
|
16648
|
+
false,
|
|
16649
|
+
null,
|
|
16650
|
+
"5dafd4cc",
|
|
16651
|
+
null
|
|
16652
|
+
|
|
16653
|
+
)
|
|
16654
|
+
|
|
16655
|
+
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
16656
|
+
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
16657
|
+
/* 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>');
|
|
16658
|
+
// 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&
|
|
16659
|
+
|
|
16660
|
+
|
|
16661
|
+
|
|
16662
|
+
|
|
16663
|
+
|
|
16664
|
+
|
|
16665
|
+
|
|
16666
|
+
|
|
16667
|
+
|
|
16668
|
+
|
|
16669
|
+
|
|
16670
|
+
|
|
16671
|
+
|
|
16672
|
+
|
|
16673
|
+
|
|
16674
|
+
|
|
16675
|
+
|
|
16676
|
+
|
|
16677
|
+
|
|
16678
|
+
|
|
16679
|
+
|
|
16680
|
+
|
|
16681
|
+
|
|
16682
|
+
|
|
16683
|
+
|
|
16684
|
+
|
|
16685
|
+
|
|
16686
|
+
|
|
16687
|
+
|
|
16688
|
+
|
|
16689
|
+
|
|
16690
|
+
|
|
16691
|
+
|
|
16692
|
+
|
|
16693
|
+
|
|
16317
16694
|
|
|
16318
16695
|
/* eslint-disable no-alert, no-console */
|
|
16319
16696
|
|
|
@@ -16331,15 +16708,12 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
16331
16708
|
external_vue_default.a.use(lib_radio_default.a);
|
|
16332
16709
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
16333
16710
|
external_vue_default.a.use(lib_row_default.a);
|
|
16334
|
-
|
|
16335
16711
|
var ResizeSensor = __webpack_require__("ae66");
|
|
16336
|
-
|
|
16337
16712
|
var mapResize = function mapResize(map) {
|
|
16338
16713
|
return function () {
|
|
16339
16714
|
if (map) map.resize();
|
|
16340
16715
|
};
|
|
16341
16716
|
};
|
|
16342
|
-
|
|
16343
16717
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
16344
16718
|
name: "FlatmapVuer",
|
|
16345
16719
|
components: {
|
|
@@ -16355,7 +16729,6 @@ var mapResize = function mapResize(map) {
|
|
|
16355
16729
|
methods: {
|
|
16356
16730
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
16357
16731
|
this.currentBackground = colour;
|
|
16358
|
-
|
|
16359
16732
|
if (this.mapImp) {
|
|
16360
16733
|
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
16361
16734
|
}
|
|
@@ -16363,13 +16736,11 @@ var mapResize = function mapResize(map) {
|
|
|
16363
16736
|
toggleDrawer: function toggleDrawer() {
|
|
16364
16737
|
this.drawerOpen = !this.drawerOpen;
|
|
16365
16738
|
},
|
|
16366
|
-
|
|
16367
16739
|
/**
|
|
16368
16740
|
* Function to toggle colour/greyscale of organs.
|
|
16369
16741
|
*/
|
|
16370
16742
|
setColour: function setColour(flag) {
|
|
16371
16743
|
this.colourRadio = flag;
|
|
16372
|
-
|
|
16373
16744
|
if (this.mapImp) {
|
|
16374
16745
|
this.mapImp.setColour({
|
|
16375
16746
|
colour: flag,
|
|
@@ -16377,13 +16748,11 @@ var mapResize = function mapResize(map) {
|
|
|
16377
16748
|
});
|
|
16378
16749
|
}
|
|
16379
16750
|
},
|
|
16380
|
-
|
|
16381
16751
|
/**
|
|
16382
16752
|
* Function to toggle outlines f organs.
|
|
16383
16753
|
*/
|
|
16384
16754
|
setOutlines: function setOutlines(flag) {
|
|
16385
16755
|
this.outlineRadio = flag;
|
|
16386
|
-
|
|
16387
16756
|
if (this.mapImp) {
|
|
16388
16757
|
this.mapImp.setColour({
|
|
16389
16758
|
colour: this.colourRadio,
|
|
@@ -16391,7 +16760,6 @@ var mapResize = function mapResize(map) {
|
|
|
16391
16760
|
});
|
|
16392
16761
|
}
|
|
16393
16762
|
},
|
|
16394
|
-
|
|
16395
16763
|
/**
|
|
16396
16764
|
* Function to toggle paths to default.
|
|
16397
16765
|
* Also called when the associated button is pressed.
|
|
@@ -16406,7 +16774,6 @@ var mapResize = function mapResize(map) {
|
|
|
16406
16774
|
this.checkAll = true;
|
|
16407
16775
|
}
|
|
16408
16776
|
},
|
|
16409
|
-
|
|
16410
16777
|
/**
|
|
16411
16778
|
* Function to zoom in.
|
|
16412
16779
|
* Also called when the associated button is pressed.
|
|
@@ -16416,7 +16783,6 @@ var mapResize = function mapResize(map) {
|
|
|
16416
16783
|
this.mapImp.zoomIn();
|
|
16417
16784
|
}
|
|
16418
16785
|
},
|
|
16419
|
-
|
|
16420
16786
|
/**
|
|
16421
16787
|
* Function to zoom out.
|
|
16422
16788
|
* Also called when the associated button is pressed.
|
|
@@ -16441,7 +16807,6 @@ var mapResize = function mapResize(map) {
|
|
|
16441
16807
|
return a.type;
|
|
16442
16808
|
}) : [];
|
|
16443
16809
|
this.isIndeterminate = false;
|
|
16444
|
-
|
|
16445
16810
|
if (this.mapImp) {
|
|
16446
16811
|
this.mapImp.showPaths(this.checkedItems);
|
|
16447
16812
|
}
|
|
@@ -16451,31 +16816,27 @@ var mapResize = function mapResize(map) {
|
|
|
16451
16816
|
},
|
|
16452
16817
|
eventCallback: function eventCallback() {
|
|
16453
16818
|
var _this = this;
|
|
16454
|
-
|
|
16455
16819
|
return function (eventType, data) {
|
|
16456
16820
|
if (eventType !== "pan-zoom") {
|
|
16457
16821
|
var label = data.label;
|
|
16458
16822
|
var resource = [data.models];
|
|
16459
16823
|
var taxonomy = _this.entry;
|
|
16460
|
-
var
|
|
16461
|
-
|
|
16824
|
+
var biologicalSex = _this.biologicalSex;
|
|
16462
16825
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
16463
16826
|
args[_key - 2] = arguments[_key];
|
|
16464
16827
|
}
|
|
16465
|
-
|
|
16466
16828
|
var payload = {
|
|
16467
16829
|
dataset: data.dataset,
|
|
16468
|
-
|
|
16830
|
+
biologicalSex: biologicalSex,
|
|
16469
16831
|
taxonomy: taxonomy,
|
|
16470
16832
|
resource: resource,
|
|
16471
16833
|
label: label,
|
|
16472
16834
|
feature: data,
|
|
16473
16835
|
userData: args,
|
|
16474
16836
|
eventType: eventType
|
|
16475
|
-
};
|
|
16476
|
-
|
|
16837
|
+
};
|
|
16838
|
+
// Disable the nueron pop up for now.
|
|
16477
16839
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
16478
|
-
|
|
16479
16840
|
_this.$emit("resource-selected", payload);
|
|
16480
16841
|
} else {
|
|
16481
16842
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -16499,7 +16860,6 @@ var mapResize = function mapResize(map) {
|
|
|
16499
16860
|
if (ftooltip) ftooltip.style.display = "none";
|
|
16500
16861
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
16501
16862
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
16502
|
-
|
|
16503
16863
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
16504
16864
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
16505
16865
|
};
|
|
@@ -16513,14 +16873,13 @@ var mapResize = function mapResize(map) {
|
|
|
16513
16873
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
16514
16874
|
return true;
|
|
16515
16875
|
}
|
|
16516
|
-
}
|
|
16517
|
-
|
|
16518
|
-
|
|
16876
|
+
}
|
|
16877
|
+
// annotated with datset check
|
|
16519
16878
|
if (data.dataset) {
|
|
16520
16879
|
return true;
|
|
16521
|
-
}
|
|
16522
|
-
|
|
16880
|
+
}
|
|
16523
16881
|
|
|
16882
|
+
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
16524
16883
|
return false;
|
|
16525
16884
|
},
|
|
16526
16885
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -16532,8 +16891,9 @@ var mapResize = function mapResize(map) {
|
|
|
16532
16891
|
distribution: undefined,
|
|
16533
16892
|
actions: []
|
|
16534
16893
|
};
|
|
16535
|
-
this.tooltipVisible = false;
|
|
16894
|
+
this.tooltipVisible = false;
|
|
16536
16895
|
|
|
16896
|
+
// neural data check
|
|
16537
16897
|
if (feature) {
|
|
16538
16898
|
if (feature.includes('ilxtr:neuron')) {
|
|
16539
16899
|
this.tooltipVisible = true;
|
|
@@ -16550,9 +16910,8 @@ var mapResize = function mapResize(map) {
|
|
|
16550
16910
|
nervePath: true
|
|
16551
16911
|
});
|
|
16552
16912
|
}
|
|
16553
|
-
}
|
|
16554
|
-
|
|
16555
|
-
|
|
16913
|
+
}
|
|
16914
|
+
// annotated with datset check
|
|
16556
16915
|
if (data.dataset) {
|
|
16557
16916
|
this.tooltipVisible = true;
|
|
16558
16917
|
this.tooltipContent = content;
|
|
@@ -16570,7 +16929,6 @@ var mapResize = function mapResize(map) {
|
|
|
16570
16929
|
// Keeping this as an API
|
|
16571
16930
|
showPopup: function showPopup(featureId, node, options) {
|
|
16572
16931
|
var myOptions = options;
|
|
16573
|
-
|
|
16574
16932
|
if (this.mapImp) {
|
|
16575
16933
|
if (myOptions) {
|
|
16576
16934
|
if (!myOptions.className) myOptions.className = "flatmapvuer-popover";
|
|
@@ -16580,7 +16938,6 @@ var mapResize = function mapResize(map) {
|
|
|
16580
16938
|
positionAtLastClick: true
|
|
16581
16939
|
};
|
|
16582
16940
|
}
|
|
16583
|
-
|
|
16584
16941
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
16585
16942
|
}
|
|
16586
16943
|
},
|
|
@@ -16606,7 +16963,6 @@ var mapResize = function mapResize(map) {
|
|
|
16606
16963
|
},
|
|
16607
16964
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
16608
16965
|
var _this2 = this;
|
|
16609
|
-
|
|
16610
16966
|
if (!this.inHelp) {
|
|
16611
16967
|
this.tooltipWait = setTimeout(function () {
|
|
16612
16968
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -16636,13 +16992,10 @@ var mapResize = function mapResize(map) {
|
|
|
16636
16992
|
},
|
|
16637
16993
|
getLabels: function getLabels() {
|
|
16638
16994
|
var labels = [];
|
|
16639
|
-
|
|
16640
16995
|
if (this.mapImp) {
|
|
16641
16996
|
var annotations = this.mapImp.annotations;
|
|
16642
|
-
|
|
16643
16997
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
16644
|
-
|
|
16645
|
-
|
|
16998
|
+
_step;
|
|
16646
16999
|
try {
|
|
16647
17000
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
16648
17001
|
var value = _step.value;
|
|
@@ -16653,7 +17006,6 @@ var mapResize = function mapResize(map) {
|
|
|
16653
17006
|
} finally {
|
|
16654
17007
|
_iterator.f();
|
|
16655
17008
|
}
|
|
16656
|
-
|
|
16657
17009
|
return Array.from(new Set(labels));
|
|
16658
17010
|
}
|
|
16659
17011
|
},
|
|
@@ -16661,18 +17013,17 @@ var mapResize = function mapResize(map) {
|
|
|
16661
17013
|
if (this.mapImp) {
|
|
16662
17014
|
var state = {
|
|
16663
17015
|
entry: this.entry,
|
|
16664
|
-
|
|
17016
|
+
biologicalSex: this.biologicalSex,
|
|
16665
17017
|
viewport: this.mapImp.getState()
|
|
16666
17018
|
};
|
|
16667
17019
|
return state;
|
|
16668
17020
|
}
|
|
16669
|
-
|
|
16670
17021
|
return undefined;
|
|
16671
17022
|
},
|
|
16672
17023
|
setState: function setState(state) {
|
|
16673
17024
|
if (state) {
|
|
16674
|
-
if (this.mapImp &&
|
|
16675
|
-
if (
|
|
17025
|
+
if (this.mapImp && state.entry && this.entry == state.entry && (!state.biologicalSex || state.biologicalSex === this.biologicalSex)) {
|
|
17026
|
+
if (state.viewport) {
|
|
16676
17027
|
this.mapImp.setState(state.viewport);
|
|
16677
17028
|
}
|
|
16678
17029
|
} else {
|
|
@@ -16682,26 +17033,50 @@ var mapResize = function mapResize(map) {
|
|
|
16682
17033
|
},
|
|
16683
17034
|
createFlatmap: function createFlatmap(state) {
|
|
16684
17035
|
var _this3 = this;
|
|
16685
|
-
|
|
16686
17036
|
if (!this.mapImp && !this.loading) {
|
|
16687
17037
|
this.loading = true;
|
|
16688
17038
|
var minimap = false;
|
|
16689
|
-
|
|
16690
17039
|
if (this.displayMinimap) {
|
|
16691
17040
|
minimap = {
|
|
16692
17041
|
position: "top-right"
|
|
16693
17042
|
};
|
|
16694
17043
|
}
|
|
16695
17044
|
|
|
16696
|
-
|
|
16697
|
-
|
|
16698
|
-
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
|
|
17045
|
+
//As for flatmap-viewer@2.2.6, see belowf for the documentation
|
|
17046
|
+
//for the identifier:
|
|
17047
|
+
|
|
17048
|
+
//@arg identifier {string|Object}
|
|
17049
|
+
// A string or object identifying the map to load. If a string its
|
|
17050
|
+
// value can be either the map's ``uuid``, assigned at generation time,
|
|
17051
|
+
// or taxon and biological sex identifiers of the species that the map
|
|
17052
|
+
// represents. The latest version of a map is loaded unless it has been
|
|
17053
|
+
// identified using a ``uuid`` (see below).
|
|
17054
|
+
// @arg identifier.taxon {string} The taxon identifier of the species
|
|
17055
|
+
// represented by the map. This is specified as metadata in the map's source file.
|
|
17056
|
+
// @arg identifier.biologicalSex {string} The biological sex of the species
|
|
17057
|
+
// represented by the map. This is specified as metadatain the map's source file.
|
|
17058
|
+
// @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
|
|
17059
|
+
// be loaded, overriding ``taxon`` and ``biologicalSex``.
|
|
17060
|
+
|
|
17061
|
+
var identifier = {
|
|
17062
|
+
taxon: this.entry
|
|
17063
|
+
};
|
|
17064
|
+
if (state && state.entry) {
|
|
17065
|
+
identifier.taxon = state.entry;
|
|
17066
|
+
if (state.biologicalSex) {
|
|
17067
|
+
identifier["biologicalSex"] = state.biologicalSex;
|
|
17068
|
+
} else if (identifier.taxon === "NCBITaxon:9606") {
|
|
17069
|
+
//For backward compatibility
|
|
17070
|
+
identifier["biologicalSex"] = "PATO:0000384";
|
|
17071
|
+
}
|
|
17072
|
+
} else {
|
|
17073
|
+
// Set the bioloicalSex now if map is not resumed from
|
|
17074
|
+
// a saved state
|
|
17075
|
+
if (this.biologicalSex) {
|
|
17076
|
+
identifier["biologicalSex"] = this.biologicalSex;
|
|
17077
|
+
}
|
|
16702
17078
|
}
|
|
16703
|
-
|
|
16704
|
-
var promise1 = this.mapManager.loadMap(entry, this.$refs.display, this.eventCallback(), {
|
|
17079
|
+
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
16705
17080
|
//fullscreenControl: false,
|
|
16706
17081
|
//annotatable: false,
|
|
16707
17082
|
//debug: true,
|
|
@@ -16715,20 +17090,15 @@ var mapResize = function mapResize(map) {
|
|
|
16715
17090
|
promise1.then(function (returnedObject) {
|
|
16716
17091
|
_this3.mapImp = returnedObject;
|
|
16717
17092
|
_this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
|
|
16718
|
-
|
|
16719
17093
|
_this3.mapImp.setBackgroundOpacity(1);
|
|
16720
|
-
|
|
16721
17094
|
_this3.backgroundChangeCallback(_this3.currentBackground);
|
|
16722
|
-
|
|
16723
17095
|
_this3.pathways = _this3.mapImp.pathTypes();
|
|
16724
|
-
|
|
16725
17096
|
_this3.$emit("ready", _this3);
|
|
16726
|
-
|
|
16727
17097
|
_this3.loading = false;
|
|
16728
17098
|
if (_this3._viewportToBeSet) _this3.mapImp.setState(_this3._viewportToBeSet);else if (state && state.viewport) _this3.mapImp.setState(state.viewport);
|
|
16729
17099
|
});
|
|
16730
17100
|
} else if (state) {
|
|
16731
|
-
if (this.
|
|
17101
|
+
if (this.entry == state.entry) this._viewportToBeSet = state.viewport;
|
|
16732
17102
|
}
|
|
16733
17103
|
},
|
|
16734
17104
|
showMinimap: function showMinimap(flag) {
|
|
@@ -16737,7 +17107,6 @@ var mapResize = function mapResize(map) {
|
|
|
16737
17107
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
16738
17108
|
this.drawerOpen = flag;
|
|
16739
17109
|
},
|
|
16740
|
-
|
|
16741
17110
|
/**
|
|
16742
17111
|
* Function to display features with annotation matching the provided term.
|
|
16743
17112
|
*/
|
|
@@ -16748,17 +17117,14 @@ var mapResize = function mapResize(map) {
|
|
|
16748
17117
|
return true;
|
|
16749
17118
|
} else {
|
|
16750
17119
|
var searchResults = this.mapImp.search(term);
|
|
16751
|
-
|
|
16752
17120
|
if (searchResults && searchResults.__featureIds.length > 0) {
|
|
16753
17121
|
this.mapImp.showSearchResults(searchResults);
|
|
16754
17122
|
return true;
|
|
16755
17123
|
} else this.mapImp.clearSearchResults();
|
|
16756
17124
|
}
|
|
16757
17125
|
}
|
|
16758
|
-
|
|
16759
17126
|
return false;
|
|
16760
17127
|
},
|
|
16761
|
-
|
|
16762
17128
|
/**
|
|
16763
17129
|
* Get the list of suggested terms
|
|
16764
17130
|
*/
|
|
@@ -16769,7 +17135,7 @@ var mapResize = function mapResize(map) {
|
|
|
16769
17135
|
},
|
|
16770
17136
|
props: {
|
|
16771
17137
|
entry: String,
|
|
16772
|
-
|
|
17138
|
+
biologicalSex: String,
|
|
16773
17139
|
featureInfo: {
|
|
16774
17140
|
type: Boolean,
|
|
16775
17141
|
default: false
|
|
@@ -16818,7 +17184,6 @@ var mapResize = function mapResize(map) {
|
|
|
16818
17184
|
type: String,
|
|
16819
17185
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
16820
17186
|
},
|
|
16821
|
-
|
|
16822
17187
|
/**
|
|
16823
17188
|
* State containing state of the flatmap.
|
|
16824
17189
|
*/
|
|
@@ -16826,7 +17191,6 @@ var mapResize = function mapResize(map) {
|
|
|
16826
17191
|
type: Object,
|
|
16827
17192
|
default: undefined
|
|
16828
17193
|
},
|
|
16829
|
-
|
|
16830
17194
|
/**
|
|
16831
17195
|
* Specify the endpoint of the flatmap server.
|
|
16832
17196
|
*/
|
|
@@ -16885,9 +17249,6 @@ var mapResize = function mapResize(map) {
|
|
|
16885
17249
|
entry: function entry() {
|
|
16886
17250
|
if (!this.state) this.createFlatmap();
|
|
16887
17251
|
},
|
|
16888
|
-
flatmapId: function flatmapId() {
|
|
16889
|
-
if (!this.state) this.createFlatmap();
|
|
16890
|
-
},
|
|
16891
17252
|
helpMode: function helpMode(val) {
|
|
16892
17253
|
this.setHelpMode(val);
|
|
16893
17254
|
},
|
|
@@ -16901,15 +17262,14 @@ var mapResize = function mapResize(map) {
|
|
|
16901
17262
|
},
|
|
16902
17263
|
mounted: function mounted() {
|
|
16903
17264
|
var flatmap = __webpack_require__("4979");
|
|
16904
|
-
|
|
16905
17265
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16906
17266
|
if (this.renderAtMounted) this.createFlatmap();
|
|
16907
17267
|
}
|
|
16908
17268
|
});
|
|
16909
17269
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16910
17270
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16911
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16912
|
-
var
|
|
17271
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=601cf5a4&prod&scoped=true&lang=scss&
|
|
17272
|
+
var FlatmapVuervue_type_style_index_0_id_601cf5a4_prod_scoped_true_lang_scss_ = __webpack_require__("587b");
|
|
16913
17273
|
|
|
16914
17274
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16915
17275
|
|
|
@@ -16926,18 +17286,125 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16926
17286
|
staticRenderFns,
|
|
16927
17287
|
false,
|
|
16928
17288
|
null,
|
|
16929
|
-
"
|
|
17289
|
+
"601cf5a4",
|
|
16930
17290
|
null
|
|
16931
17291
|
|
|
16932
17292
|
)
|
|
16933
17293
|
|
|
16934
17294
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16935
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16936
|
-
var
|
|
16937
|
-
var
|
|
16938
|
-
|
|
17295
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1e556412-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=0ad8a77b&scoped=true&
|
|
17296
|
+
var MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render = function render() {
|
|
17297
|
+
var _vm = this,
|
|
17298
|
+
_c = _vm._self._c;
|
|
17299
|
+
return _c('div', {
|
|
17300
|
+
staticClass: "multi-container"
|
|
17301
|
+
}, [_c('div', {
|
|
17302
|
+
staticStyle: {
|
|
17303
|
+
"position": "absolute",
|
|
17304
|
+
"z-index": "10"
|
|
17305
|
+
}
|
|
17306
|
+
}, [_c('div', {
|
|
17307
|
+
staticClass: "species-display-text"
|
|
17308
|
+
}, [_vm._v(" Species ")]), _c('el-popover', {
|
|
17309
|
+
ref: "selectPopover",
|
|
17310
|
+
attrs: {
|
|
17311
|
+
"content": "Select a species",
|
|
17312
|
+
"placement": "right",
|
|
17313
|
+
"appendToBody": false,
|
|
17314
|
+
"trigger": "manual",
|
|
17315
|
+
"popper-class": "flatmap-popper right-popper"
|
|
17316
|
+
},
|
|
17317
|
+
model: {
|
|
17318
|
+
value: _vm.helpMode,
|
|
17319
|
+
callback: function callback($$v) {
|
|
17320
|
+
_vm.helpMode = $$v;
|
|
17321
|
+
},
|
|
17322
|
+
expression: "helpMode"
|
|
17323
|
+
}
|
|
17324
|
+
}), _c('el-select', {
|
|
17325
|
+
directives: [{
|
|
17326
|
+
name: "popover",
|
|
17327
|
+
rawName: "v-popover:selectPopover",
|
|
17328
|
+
arg: "selectPopover"
|
|
17329
|
+
}],
|
|
17330
|
+
staticClass: "select-box",
|
|
17331
|
+
attrs: {
|
|
17332
|
+
"id": "flatmap-select",
|
|
17333
|
+
"popper-append-to-body": _vm.appendToBody,
|
|
17334
|
+
"placeholder": "Select",
|
|
17335
|
+
"popper-class": "flatmap_dropdown"
|
|
17336
|
+
},
|
|
17337
|
+
on: {
|
|
17338
|
+
"change": _vm.flatmapChanged
|
|
17339
|
+
},
|
|
17340
|
+
model: {
|
|
17341
|
+
value: _vm.activeSpecies,
|
|
17342
|
+
callback: function callback($$v) {
|
|
17343
|
+
_vm.activeSpecies = $$v;
|
|
17344
|
+
},
|
|
17345
|
+
expression: "activeSpecies"
|
|
17346
|
+
}
|
|
17347
|
+
}, _vm._l(_vm.speciesList, function (item, key) {
|
|
17348
|
+
return _c('el-option', {
|
|
17349
|
+
key: key,
|
|
17350
|
+
attrs: {
|
|
17351
|
+
"label": key,
|
|
17352
|
+
"value": key
|
|
17353
|
+
}
|
|
17354
|
+
}, [_c('el-row', [_c('el-col', {
|
|
17355
|
+
attrs: {
|
|
17356
|
+
"span": 8
|
|
17357
|
+
}
|
|
17358
|
+
}, [_c('i', {
|
|
17359
|
+
class: item.iconClass
|
|
17360
|
+
})]), _c('el-col', {
|
|
17361
|
+
attrs: {
|
|
17362
|
+
"span": 12
|
|
17363
|
+
}
|
|
17364
|
+
}, [_vm._v(_vm._s(key))])], 1)], 1);
|
|
17365
|
+
}), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
|
|
17366
|
+
return _c('FlatmapVuer', {
|
|
17367
|
+
directives: [{
|
|
17368
|
+
name: "show",
|
|
17369
|
+
rawName: "v-show",
|
|
17370
|
+
value: _vm.activeSpecies == key,
|
|
17371
|
+
expression: "activeSpecies==key"
|
|
17372
|
+
}],
|
|
17373
|
+
key: key,
|
|
17374
|
+
ref: key,
|
|
17375
|
+
refInFor: true,
|
|
17376
|
+
staticStyle: {
|
|
17377
|
+
"height": "100%"
|
|
17378
|
+
},
|
|
17379
|
+
attrs: {
|
|
17380
|
+
"showLayer": _vm.showLayer,
|
|
17381
|
+
"entry": item.taxo,
|
|
17382
|
+
"biologicalSex": item.biologicalSex,
|
|
17383
|
+
"displayWarning": item.displayWarning,
|
|
17384
|
+
"warningMessage": _vm.warningMessage,
|
|
17385
|
+
"displayLatestChanges": item.displayLatestChanges,
|
|
17386
|
+
"latestChangesMessage": item.latestChangesMessage,
|
|
17387
|
+
"featureInfo": _vm.featureInfo,
|
|
17388
|
+
"minZoom": _vm.minZoom,
|
|
17389
|
+
"pathControls": _vm.pathControls,
|
|
17390
|
+
"searchable": _vm.searchable,
|
|
17391
|
+
"helpMode": _vm.helpMode,
|
|
17392
|
+
"renderAtMounted": _vm.renderAtMounted,
|
|
17393
|
+
"displayMinimap": _vm.displayMinimap,
|
|
17394
|
+
"flatmapAPI": _vm.flatmapAPI,
|
|
17395
|
+
"sparcAPI": _vm.sparcAPI
|
|
17396
|
+
},
|
|
17397
|
+
on: {
|
|
17398
|
+
"resource-selected": _vm.FlatmapSelected,
|
|
17399
|
+
"ready": _vm.FlatmapReady,
|
|
17400
|
+
"pan-zoom-callback": _vm.panZoomCallback
|
|
17401
|
+
}
|
|
17402
|
+
});
|
|
17403
|
+
})], 2);
|
|
17404
|
+
};
|
|
17405
|
+
var MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_staticRenderFns = [];
|
|
16939
17406
|
|
|
16940
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
17407
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0ad8a77b&scoped=true&
|
|
16941
17408
|
|
|
16942
17409
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16943
17410
|
var popover = __webpack_require__("06f1");
|
|
@@ -16963,8 +17430,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
16963
17430
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
16964
17431
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
16965
17432
|
|
|
16966
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
16967
|
-
|
|
17433
|
+
// 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&
|
|
16968
17434
|
|
|
16969
17435
|
|
|
16970
17436
|
|
|
@@ -16984,63 +17450,6 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
16984
17450
|
|
|
16985
17451
|
|
|
16986
17452
|
|
|
16987
|
-
//
|
|
16988
|
-
//
|
|
16989
|
-
//
|
|
16990
|
-
//
|
|
16991
|
-
//
|
|
16992
|
-
//
|
|
16993
|
-
//
|
|
16994
|
-
//
|
|
16995
|
-
//
|
|
16996
|
-
//
|
|
16997
|
-
//
|
|
16998
|
-
//
|
|
16999
|
-
//
|
|
17000
|
-
//
|
|
17001
|
-
//
|
|
17002
|
-
//
|
|
17003
|
-
//
|
|
17004
|
-
//
|
|
17005
|
-
//
|
|
17006
|
-
//
|
|
17007
|
-
//
|
|
17008
|
-
//
|
|
17009
|
-
//
|
|
17010
|
-
//
|
|
17011
|
-
//
|
|
17012
|
-
//
|
|
17013
|
-
//
|
|
17014
|
-
//
|
|
17015
|
-
//
|
|
17016
|
-
//
|
|
17017
|
-
//
|
|
17018
|
-
//
|
|
17019
|
-
//
|
|
17020
|
-
//
|
|
17021
|
-
//
|
|
17022
|
-
//
|
|
17023
|
-
//
|
|
17024
|
-
//
|
|
17025
|
-
//
|
|
17026
|
-
//
|
|
17027
|
-
//
|
|
17028
|
-
//
|
|
17029
|
-
//
|
|
17030
|
-
//
|
|
17031
|
-
//
|
|
17032
|
-
//
|
|
17033
|
-
//
|
|
17034
|
-
//
|
|
17035
|
-
//
|
|
17036
|
-
//
|
|
17037
|
-
//
|
|
17038
|
-
//
|
|
17039
|
-
//
|
|
17040
|
-
//
|
|
17041
|
-
//
|
|
17042
|
-
//
|
|
17043
|
-
//
|
|
17044
17453
|
|
|
17045
17454
|
/* eslint-disable no-alert, no-console */
|
|
17046
17455
|
|
|
@@ -17061,7 +17470,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17061
17470
|
},
|
|
17062
17471
|
mounted: function mounted() {
|
|
17063
17472
|
var _this = this;
|
|
17064
|
-
|
|
17065
17473
|
this.initialise();
|
|
17066
17474
|
components_EventBus.$on('onActionClick', function (action) {
|
|
17067
17475
|
_this.FlatmapSelected(action);
|
|
@@ -17070,40 +17478,36 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17070
17478
|
methods: {
|
|
17071
17479
|
initialise: function initialise() {
|
|
17072
17480
|
var _this2 = this;
|
|
17073
|
-
|
|
17074
17481
|
return new Promise(function (resolve) {
|
|
17075
17482
|
fetch(_this2.flatmapAPI).then(function (response) {
|
|
17076
17483
|
return response.json();
|
|
17077
17484
|
}).then(function (data) {
|
|
17078
|
-
_this2.
|
|
17485
|
+
_this2.speciesList = {};
|
|
17079
17486
|
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
17080
17487
|
for (var i = 0; i < data.length; i++) {
|
|
17081
|
-
if (_this2.availableSpecies[key].id === data[i].id) {
|
|
17082
|
-
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
17083
|
-
break;
|
|
17084
|
-
}
|
|
17085
|
-
|
|
17086
17488
|
if (_this2.availableSpecies[key].taxo === data[i].taxon) {
|
|
17087
|
-
|
|
17088
|
-
|
|
17089
|
-
|
|
17090
|
-
|
|
17489
|
+
if (_this2.availableSpecies[key].biologicalSex) {
|
|
17490
|
+
if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
|
|
17491
|
+
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
17492
|
+
break;
|
|
17493
|
+
}
|
|
17494
|
+
} else {
|
|
17495
|
+
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
17496
|
+
break;
|
|
17497
|
+
}
|
|
17091
17498
|
}
|
|
17092
17499
|
}
|
|
17093
17500
|
});
|
|
17094
|
-
|
|
17095
17501
|
if (!_this2.state) {
|
|
17096
17502
|
if (_this2.initial && _this2.speciesList[_this2.initial] !== undefined) {
|
|
17097
17503
|
_this2.activeSpecies = _this2.initial;
|
|
17098
17504
|
} else {
|
|
17099
17505
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
17100
17506
|
}
|
|
17101
|
-
|
|
17102
17507
|
external_vue_default.a.nextTick(function () {
|
|
17103
17508
|
if (_this2.$refs[_this2.activeSpecies]) _this2.$refs[_this2.activeSpecies][0].createFlatmap();
|
|
17104
17509
|
});
|
|
17105
17510
|
}
|
|
17106
|
-
|
|
17107
17511
|
resolve();
|
|
17108
17512
|
});
|
|
17109
17513
|
});
|
|
@@ -17116,11 +17520,9 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17116
17520
|
},
|
|
17117
17521
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
17118
17522
|
var flatmap = this.$refs[this.activeSpecies];
|
|
17119
|
-
|
|
17120
17523
|
if (flatmap && flatmap[0]) {
|
|
17121
17524
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
17122
17525
|
}
|
|
17123
|
-
|
|
17124
17526
|
return undefined;
|
|
17125
17527
|
},
|
|
17126
17528
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -17142,7 +17544,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17142
17544
|
this.$refs[this.activeSpecies][0].createFlatmap();
|
|
17143
17545
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
17144
17546
|
},
|
|
17145
|
-
|
|
17146
17547
|
/**
|
|
17147
17548
|
* Function used for getting the current states of the scene. This exported states
|
|
17148
17549
|
* can be imported using the importStates method.
|
|
@@ -17158,7 +17559,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17158
17559
|
state.state = map.getState();
|
|
17159
17560
|
return state;
|
|
17160
17561
|
},
|
|
17161
|
-
|
|
17162
17562
|
/**
|
|
17163
17563
|
* Function used for importing the states of the scene. This exported states
|
|
17164
17564
|
* can be imported using the read states method.
|
|
@@ -17167,23 +17567,19 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17167
17567
|
*/
|
|
17168
17568
|
setState: function setState(state) {
|
|
17169
17569
|
var _this3 = this;
|
|
17170
|
-
|
|
17171
17570
|
if (state) {
|
|
17172
17571
|
this.initialise().then(function () {
|
|
17173
17572
|
if (state.species && state.species !== _this3.activeSpecies) {
|
|
17174
17573
|
_this3.activeSpecies = state.species;
|
|
17175
|
-
|
|
17176
17574
|
if (state.state) {
|
|
17177
17575
|
//Wait for next tick when the refs are ready for rendering
|
|
17178
17576
|
_this3.$nextTick(function () {
|
|
17179
17577
|
_this3.$refs[_this3.activeSpecies][0].createFlatmap(state.state);
|
|
17180
|
-
|
|
17181
17578
|
_this3.$emit('flatmapChanged', _this3.activeSpecies);
|
|
17182
17579
|
});
|
|
17183
17580
|
}
|
|
17184
17581
|
} else if (state.state) {
|
|
17185
17582
|
var map = _this3.getCurrentFlatmap();
|
|
17186
|
-
|
|
17187
17583
|
map.setState(state.state);
|
|
17188
17584
|
}
|
|
17189
17585
|
});
|
|
@@ -17210,7 +17606,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17210
17606
|
type: Boolean,
|
|
17211
17607
|
default: false
|
|
17212
17608
|
},
|
|
17213
|
-
|
|
17214
17609
|
/**
|
|
17215
17610
|
* Initial species for the flatmap.
|
|
17216
17611
|
* This value will be ignored if a valid state object is provided.
|
|
@@ -17240,7 +17635,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17240
17635
|
default: "Beta feature - This map is based on the connectivity of a rat. New connectivity and species specificity will be added as the SPARC program progress."
|
|
17241
17636
|
},
|
|
17242
17637
|
availableSpecies: {},
|
|
17243
|
-
|
|
17244
17638
|
/**
|
|
17245
17639
|
* State containing state of the flatmap.
|
|
17246
17640
|
*/
|
|
@@ -17248,7 +17642,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17248
17642
|
type: Object,
|
|
17249
17643
|
default: undefined
|
|
17250
17644
|
},
|
|
17251
|
-
|
|
17252
17645
|
/**
|
|
17253
17646
|
* Specify the endpoint of the flatmap server.
|
|
17254
17647
|
*/
|
|
@@ -17280,8 +17673,8 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17280
17673
|
});
|
|
17281
17674
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
17282
17675
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
17283
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
17284
|
-
var
|
|
17676
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=0ad8a77b&prod&scoped=true&lang=scss&
|
|
17677
|
+
var MultiFlatmapVuervue_type_style_index_0_id_0ad8a77b_prod_scoped_true_lang_scss_ = __webpack_require__("b1da");
|
|
17285
17678
|
|
|
17286
17679
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
17287
17680
|
|
|
@@ -17294,11 +17687,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_2328f3de_scoped_true_lang_scss_ =
|
|
|
17294
17687
|
|
|
17295
17688
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
17296
17689
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
17297
|
-
|
|
17298
|
-
|
|
17690
|
+
MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render,
|
|
17691
|
+
MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_staticRenderFns,
|
|
17299
17692
|
false,
|
|
17300
17693
|
null,
|
|
17301
|
-
"
|
|
17694
|
+
"0ad8a77b",
|
|
17302
17695
|
null
|
|
17303
17696
|
|
|
17304
17697
|
)
|