@abi-software/flatmapvuer 0.3.7 → 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/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +1418 -1004
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1418 -1004
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +14210 -13923
- package/package.json +71 -67
- package/public/index.html +17 -17
- package/src/App.vue +164 -161
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +2 -2
- package/src/components/FlatmapVuer.vue +1413 -1374
- package/src/components/MultiFlatmapVuer.vue +361 -351
- package/src/components/PubmedViewer.vue +198 -198
- package/src/components/Tooltip.vue +591 -591
- package/src/components/index.js +9 -9
- package/src/components/legends/Legends.vue +66 -66
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/legends/legend.svg +26 -0
- package/src/main.js +8 -8
- package/vue.config.js +31 -31
- package/src/nerve-map.js +0 -99
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -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
|
|
|
@@ -818,13 +833,6 @@ function scrollIntoView(container, selected) {
|
|
|
818
833
|
|
|
819
834
|
/***/ }),
|
|
820
835
|
|
|
821
|
-
/***/ "2ba9":
|
|
822
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
823
|
-
|
|
824
|
-
// extracted by mini-css-extract-plugin
|
|
825
|
-
|
|
826
|
-
/***/ }),
|
|
827
|
-
|
|
828
836
|
/***/ "2bb5":
|
|
829
837
|
/***/ (function(module, exports, __webpack_require__) {
|
|
830
838
|
|
|
@@ -995,7 +1003,7 @@ module.exports =
|
|
|
995
1003
|
/******/
|
|
996
1004
|
/******/
|
|
997
1005
|
/******/ // Load entry module and return exports
|
|
998
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1006
|
+
/******/ return __webpack_require__(__webpack_require__.s = 112);
|
|
999
1007
|
/******/ })
|
|
1000
1008
|
/************************************************************************/
|
|
1001
1009
|
/******/ ({
|
|
@@ -1102,7 +1110,7 @@ function normalizeComponent (
|
|
|
1102
1110
|
|
|
1103
1111
|
/***/ }),
|
|
1104
1112
|
|
|
1105
|
-
/***/
|
|
1113
|
+
/***/ 112:
|
|
1106
1114
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1107
1115
|
|
|
1108
1116
|
"use strict";
|
|
@@ -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
|
}
|
|
@@ -4558,12 +4570,12 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4558
4570
|
|
|
4559
4571
|
/***/ }),
|
|
4560
4572
|
|
|
4561
|
-
/***/ "
|
|
4573
|
+
/***/ "587b":
|
|
4562
4574
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4563
4575
|
|
|
4564
4576
|
"use strict";
|
|
4565
|
-
/* harmony import */ var
|
|
4566
|
-
/* 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__);
|
|
4567
4579
|
/* unused harmony reexport * */
|
|
4568
4580
|
|
|
4569
4581
|
|
|
@@ -4680,7 +4692,7 @@ function addClass(el, cls) {
|
|
|
4680
4692
|
}
|
|
4681
4693
|
}
|
|
4682
4694
|
if (!el.classList) {
|
|
4683
|
-
el.
|
|
4695
|
+
el.setAttribute('class', curClass);
|
|
4684
4696
|
}
|
|
4685
4697
|
};
|
|
4686
4698
|
|
|
@@ -4701,7 +4713,7 @@ function removeClass(el, cls) {
|
|
|
4701
4713
|
}
|
|
4702
4714
|
}
|
|
4703
4715
|
if (!el.classList) {
|
|
4704
|
-
el.
|
|
4716
|
+
el.setAttribute('class', trim(curClass));
|
|
4705
4717
|
}
|
|
4706
4718
|
};
|
|
4707
4719
|
|
|
@@ -4765,10 +4777,10 @@ function setStyle(element, styleName, value) {
|
|
|
4765
4777
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4766
4778
|
if (isServer) return;
|
|
4767
4779
|
|
|
4768
|
-
var determinedDirection = vertical !== null
|
|
4780
|
+
var determinedDirection = vertical !== null && vertical !== undefined;
|
|
4769
4781
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4770
4782
|
|
|
4771
|
-
return overflow.match(/(scroll|auto)/);
|
|
4783
|
+
return overflow.match(/(scroll|auto|overlay)/);
|
|
4772
4784
|
};
|
|
4773
4785
|
|
|
4774
4786
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4810,14 +4822,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4810
4822
|
|
|
4811
4823
|
/***/ }),
|
|
4812
4824
|
|
|
4813
|
-
/***/ "
|
|
4814
|
-
/***/ (function(module,
|
|
4815
|
-
|
|
4816
|
-
"use strict";
|
|
4817
|
-
/* 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");
|
|
4818
|
-
/* 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__);
|
|
4819
|
-
/* unused harmony reexport * */
|
|
4825
|
+
/***/ "5a3b":
|
|
4826
|
+
/***/ (function(module, exports) {
|
|
4820
4827
|
|
|
4828
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4821
4829
|
|
|
4822
4830
|
/***/ }),
|
|
4823
4831
|
|
|
@@ -6085,7 +6093,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
6085
6093
|
|
|
6086
6094
|
/***/ }),
|
|
6087
6095
|
|
|
6088
|
-
/***/ "
|
|
6096
|
+
/***/ "6259":
|
|
6089
6097
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6090
6098
|
|
|
6091
6099
|
// extracted by mini-css-extract-plugin
|
|
@@ -6106,13 +6114,6 @@ module.exports = require("core-js/modules/es.string.replace.js");
|
|
|
6106
6114
|
|
|
6107
6115
|
/***/ }),
|
|
6108
6116
|
|
|
6109
|
-
/***/ "67da":
|
|
6110
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6111
|
-
|
|
6112
|
-
// extracted by mini-css-extract-plugin
|
|
6113
|
-
|
|
6114
|
-
/***/ }),
|
|
6115
|
-
|
|
6116
6117
|
/***/ "6ac5":
|
|
6117
6118
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6118
6119
|
|
|
@@ -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,11 +7156,36 @@ exports.default = {
|
|
|
7153
7156
|
|
|
7154
7157
|
/***/ }),
|
|
7155
7158
|
|
|
7159
|
+
/***/ "712c":
|
|
7160
|
+
/***/ (function(module, exports) {
|
|
7161
|
+
|
|
7162
|
+
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
7163
|
+
|
|
7164
|
+
/***/ }),
|
|
7165
|
+
|
|
7166
|
+
/***/ "722b":
|
|
7167
|
+
/***/ (function(module, exports) {
|
|
7168
|
+
|
|
7169
|
+
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
7170
|
+
|
|
7171
|
+
/***/ }),
|
|
7172
|
+
|
|
7156
7173
|
/***/ "7435":
|
|
7157
7174
|
/***/ (function(module, exports) {
|
|
7158
7175
|
|
|
7159
7176
|
module.exports = require("throttle-debounce/debounce");
|
|
7160
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
|
+
|
|
7161
7189
|
/***/ }),
|
|
7162
7190
|
|
|
7163
7191
|
/***/ "7a0f":
|
|
@@ -7254,7 +7282,7 @@ module.exports =
|
|
|
7254
7282
|
/******/
|
|
7255
7283
|
/******/
|
|
7256
7284
|
/******/ // Load entry module and return exports
|
|
7257
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7285
|
+
/******/ return __webpack_require__(__webpack_require__.s = 117);
|
|
7258
7286
|
/******/ })
|
|
7259
7287
|
/************************************************************************/
|
|
7260
7288
|
/******/ ({
|
|
@@ -7361,7 +7389,7 @@ function normalizeComponent (
|
|
|
7361
7389
|
|
|
7362
7390
|
/***/ }),
|
|
7363
7391
|
|
|
7364
|
-
/***/
|
|
7392
|
+
/***/ 117:
|
|
7365
7393
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7366
7394
|
|
|
7367
7395
|
"use strict";
|
|
@@ -7564,7 +7592,7 @@ module.exports =
|
|
|
7564
7592
|
/******/
|
|
7565
7593
|
/******/
|
|
7566
7594
|
/******/ // Load entry module and return exports
|
|
7567
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7595
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
7568
7596
|
/******/ })
|
|
7569
7597
|
/************************************************************************/
|
|
7570
7598
|
/******/ ({
|
|
@@ -7678,7 +7706,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7678
7706
|
|
|
7679
7707
|
/***/ }),
|
|
7680
7708
|
|
|
7681
|
-
/***/
|
|
7709
|
+
/***/ 93:
|
|
7682
7710
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7683
7711
|
|
|
7684
7712
|
"use strict";
|
|
@@ -8070,6 +8098,20 @@ function objToArray(obj) {
|
|
|
8070
8098
|
|
|
8071
8099
|
/***/ }),
|
|
8072
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
|
+
|
|
8073
8115
|
/***/ "8535":
|
|
8074
8116
|
/***/ (function(module, exports) {
|
|
8075
8117
|
|
|
@@ -8171,7 +8213,7 @@ module.exports =
|
|
|
8171
8213
|
/******/
|
|
8172
8214
|
/******/
|
|
8173
8215
|
/******/ // Load entry module and return exports
|
|
8174
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8216
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
8175
8217
|
/******/ })
|
|
8176
8218
|
/************************************************************************/
|
|
8177
8219
|
/******/ ({
|
|
@@ -8292,14 +8334,21 @@ module.exports = __webpack_require__("5924");
|
|
|
8292
8334
|
|
|
8293
8335
|
/***/ }),
|
|
8294
8336
|
|
|
8295
|
-
/***/
|
|
8337
|
+
/***/ 42:
|
|
8296
8338
|
/***/ (function(module, exports) {
|
|
8297
8339
|
|
|
8298
8340
|
module.exports = __webpack_require__("c56a");
|
|
8299
8341
|
|
|
8300
8342
|
/***/ }),
|
|
8301
8343
|
|
|
8302
|
-
/***/
|
|
8344
|
+
/***/ 7:
|
|
8345
|
+
/***/ (function(module, exports) {
|
|
8346
|
+
|
|
8347
|
+
module.exports = __webpack_require__("8bbf");
|
|
8348
|
+
|
|
8349
|
+
/***/ }),
|
|
8350
|
+
|
|
8351
|
+
/***/ 73:
|
|
8303
8352
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8304
8353
|
|
|
8305
8354
|
"use strict";
|
|
@@ -8447,7 +8496,7 @@ var dom_ = __webpack_require__(2);
|
|
|
8447
8496
|
var popup_ = __webpack_require__(13);
|
|
8448
8497
|
|
|
8449
8498
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
8450
|
-
var after_leave_ = __webpack_require__(
|
|
8499
|
+
var after_leave_ = __webpack_require__(42);
|
|
8451
8500
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
8452
8501
|
|
|
8453
8502
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8511,7 +8560,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8511
8560
|
el.mask.style[property] = el.maskStyle[property];
|
|
8512
8561
|
});
|
|
8513
8562
|
|
|
8514
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8563
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
8515
8564
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8516
8565
|
}
|
|
8517
8566
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8669,7 +8718,7 @@ var src_Loading = function Loading() {
|
|
|
8669
8718
|
});
|
|
8670
8719
|
|
|
8671
8720
|
src_addStyle(options, parent, instance);
|
|
8672
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8721
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
8673
8722
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8674
8723
|
}
|
|
8675
8724
|
if (options.fullscreen && options.lock) {
|
|
@@ -8702,13 +8751,6 @@ var src_Loading = function Loading() {
|
|
|
8702
8751
|
|
|
8703
8752
|
/***/ }),
|
|
8704
8753
|
|
|
8705
|
-
/***/ 7:
|
|
8706
|
-
/***/ (function(module, exports) {
|
|
8707
|
-
|
|
8708
|
-
module.exports = __webpack_require__("8bbf");
|
|
8709
|
-
|
|
8710
|
-
/***/ }),
|
|
8711
|
-
|
|
8712
8754
|
/***/ 9:
|
|
8713
8755
|
/***/ (function(module, exports) {
|
|
8714
8756
|
|
|
@@ -8807,7 +8849,7 @@ module.exports =
|
|
|
8807
8849
|
/******/
|
|
8808
8850
|
/******/
|
|
8809
8851
|
/******/ // Load entry module and return exports
|
|
8810
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8852
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
8811
8853
|
/******/ })
|
|
8812
8854
|
/************************************************************************/
|
|
8813
8855
|
/******/ ({
|
|
@@ -8914,7 +8956,7 @@ function normalizeComponent (
|
|
|
8914
8956
|
|
|
8915
8957
|
/***/ }),
|
|
8916
8958
|
|
|
8917
|
-
/***/
|
|
8959
|
+
/***/ 132:
|
|
8918
8960
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8919
8961
|
|
|
8920
8962
|
"use strict";
|
|
@@ -9158,7 +9200,7 @@ module.exports =
|
|
|
9158
9200
|
/******/
|
|
9159
9201
|
/******/
|
|
9160
9202
|
/******/ // Load entry module and return exports
|
|
9161
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9203
|
+
/******/ return __webpack_require__(__webpack_require__.s = 111);
|
|
9162
9204
|
/******/ })
|
|
9163
9205
|
/************************************************************************/
|
|
9164
9206
|
/******/ ({
|
|
@@ -9265,21 +9307,7 @@ function normalizeComponent (
|
|
|
9265
9307
|
|
|
9266
9308
|
/***/ }),
|
|
9267
9309
|
|
|
9268
|
-
/***/
|
|
9269
|
-
/***/ (function(module, exports) {
|
|
9270
|
-
|
|
9271
|
-
module.exports = __webpack_require__("4010");
|
|
9272
|
-
|
|
9273
|
-
/***/ }),
|
|
9274
|
-
|
|
9275
|
-
/***/ 25:
|
|
9276
|
-
/***/ (function(module, exports) {
|
|
9277
|
-
|
|
9278
|
-
module.exports = __webpack_require__("1e79");
|
|
9279
|
-
|
|
9280
|
-
/***/ }),
|
|
9281
|
-
|
|
9282
|
-
/***/ 85:
|
|
9310
|
+
/***/ 111:
|
|
9283
9311
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9284
9312
|
|
|
9285
9313
|
"use strict";
|
|
@@ -9664,6 +9692,10 @@ var resize_event_ = __webpack_require__(16);
|
|
|
9664
9692
|
if (this.interval <= 0 || !this.autoplay || this.timer) return;
|
|
9665
9693
|
this.timer = setInterval(this.playSlides, this.interval);
|
|
9666
9694
|
},
|
|
9695
|
+
resetTimer: function resetTimer() {
|
|
9696
|
+
this.pauseTimer();
|
|
9697
|
+
this.startTimer();
|
|
9698
|
+
},
|
|
9667
9699
|
setActiveItem: function setActiveItem(index) {
|
|
9668
9700
|
if (typeof index === 'string') {
|
|
9669
9701
|
var filteredItems = this.items.filter(function (item) {
|
|
@@ -9690,6 +9722,7 @@ var resize_event_ = __webpack_require__(16);
|
|
|
9690
9722
|
if (oldIndex === this.activeIndex) {
|
|
9691
9723
|
this.resetItemPosition(oldIndex);
|
|
9692
9724
|
}
|
|
9725
|
+
this.resetTimer();
|
|
9693
9726
|
},
|
|
9694
9727
|
prev: function prev() {
|
|
9695
9728
|
this.setActiveItem(this.activeIndex - 1);
|
|
@@ -9772,6 +9805,20 @@ main.install = function (Vue) {
|
|
|
9772
9805
|
|
|
9773
9806
|
/* harmony default export */ var carousel = __webpack_exports__["default"] = (main);
|
|
9774
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
|
+
|
|
9775
9822
|
/***/ })
|
|
9776
9823
|
|
|
9777
9824
|
/******/ });
|
|
@@ -9848,14 +9895,10 @@ module.exports = require("resize-observer-polyfill");
|
|
|
9848
9895
|
|
|
9849
9896
|
/***/ }),
|
|
9850
9897
|
|
|
9851
|
-
/***/ "
|
|
9852
|
-
/***/ (function(module,
|
|
9853
|
-
|
|
9854
|
-
"use strict";
|
|
9855
|
-
/* 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");
|
|
9856
|
-
/* 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__);
|
|
9857
|
-
/* unused harmony reexport * */
|
|
9898
|
+
/***/ "a445":
|
|
9899
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9858
9900
|
|
|
9901
|
+
// extracted by mini-css-extract-plugin
|
|
9859
9902
|
|
|
9860
9903
|
/***/ }),
|
|
9861
9904
|
|
|
@@ -9946,7 +9989,7 @@ module.exports =
|
|
|
9946
9989
|
/******/
|
|
9947
9990
|
/******/
|
|
9948
9991
|
/******/ // Load entry module and return exports
|
|
9949
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9992
|
+
/******/ return __webpack_require__(__webpack_require__.s = 122);
|
|
9950
9993
|
/******/ })
|
|
9951
9994
|
/************************************************************************/
|
|
9952
9995
|
/******/ ({
|
|
@@ -10053,7 +10096,7 @@ function normalizeComponent (
|
|
|
10053
10096
|
|
|
10054
10097
|
/***/ }),
|
|
10055
10098
|
|
|
10056
|
-
/***/
|
|
10099
|
+
/***/ 122:
|
|
10057
10100
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10058
10101
|
|
|
10059
10102
|
"use strict";
|
|
@@ -10281,7 +10324,7 @@ module.exports =
|
|
|
10281
10324
|
/******/
|
|
10282
10325
|
/******/
|
|
10283
10326
|
/******/ // Load entry module and return exports
|
|
10284
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10327
|
+
/******/ return __webpack_require__(__webpack_require__.s = 103);
|
|
10285
10328
|
/******/ })
|
|
10286
10329
|
/************************************************************************/
|
|
10287
10330
|
/******/ ({
|
|
@@ -10388,7 +10431,7 @@ function normalizeComponent (
|
|
|
10388
10431
|
|
|
10389
10432
|
/***/ }),
|
|
10390
10433
|
|
|
10391
|
-
/***/
|
|
10434
|
+
/***/ 103:
|
|
10392
10435
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10393
10436
|
|
|
10394
10437
|
"use strict";
|
|
@@ -10530,6 +10573,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
10530
10573
|
|
|
10531
10574
|
/***/ }),
|
|
10532
10575
|
|
|
10576
|
+
/***/ "a9ee":
|
|
10577
|
+
/***/ (function(module, exports) {
|
|
10578
|
+
|
|
10579
|
+
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
10580
|
+
|
|
10581
|
+
/***/ }),
|
|
10582
|
+
|
|
10533
10583
|
/***/ "aaa5":
|
|
10534
10584
|
/***/ (function(module, exports, __webpack_require__) {
|
|
10535
10585
|
|
|
@@ -10549,6 +10599,17 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
10549
10599
|
|
|
10550
10600
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
10551
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
|
+
|
|
10552
10613
|
/***/ }),
|
|
10553
10614
|
|
|
10554
10615
|
/***/ "b2d6":
|
|
@@ -10675,6 +10736,9 @@ exports.default = {
|
|
|
10675
10736
|
popconfirm: {
|
|
10676
10737
|
confirmButtonText: 'Yes',
|
|
10677
10738
|
cancelButtonText: 'No'
|
|
10739
|
+
},
|
|
10740
|
+
empty: {
|
|
10741
|
+
description: 'No Data'
|
|
10678
10742
|
}
|
|
10679
10743
|
}
|
|
10680
10744
|
};
|
|
@@ -10688,17 +10752,21 @@ exports.default = {
|
|
|
10688
10752
|
|
|
10689
10753
|
/***/ }),
|
|
10690
10754
|
|
|
10691
|
-
/***/ "
|
|
10692
|
-
/***/ (function(module, exports) {
|
|
10755
|
+
/***/ "be4f":
|
|
10756
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10693
10757
|
|
|
10694
|
-
|
|
10758
|
+
// extracted by mini-css-extract-plugin
|
|
10695
10759
|
|
|
10696
10760
|
/***/ }),
|
|
10697
10761
|
|
|
10698
|
-
/***/ "
|
|
10699
|
-
/***/ (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 * */
|
|
10700
10769
|
|
|
10701
|
-
// extracted by mini-css-extract-plugin
|
|
10702
10770
|
|
|
10703
10771
|
/***/ }),
|
|
10704
10772
|
|
|
@@ -10789,12 +10857,12 @@ module.exports =
|
|
|
10789
10857
|
/******/
|
|
10790
10858
|
/******/
|
|
10791
10859
|
/******/ // Load entry module and return exports
|
|
10792
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10860
|
+
/******/ return __webpack_require__(__webpack_require__.s = 140);
|
|
10793
10861
|
/******/ })
|
|
10794
10862
|
/************************************************************************/
|
|
10795
10863
|
/******/ ({
|
|
10796
10864
|
|
|
10797
|
-
/***/
|
|
10865
|
+
/***/ 140:
|
|
10798
10866
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10799
10867
|
|
|
10800
10868
|
"use strict";
|
|
@@ -11013,7 +11081,7 @@ module.exports =
|
|
|
11013
11081
|
/******/
|
|
11014
11082
|
/******/
|
|
11015
11083
|
/******/ // Load entry module and return exports
|
|
11016
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11084
|
+
/******/ return __webpack_require__(__webpack_require__.s = 119);
|
|
11017
11085
|
/******/ })
|
|
11018
11086
|
/************************************************************************/
|
|
11019
11087
|
/******/ ({
|
|
@@ -11120,7 +11188,7 @@ function normalizeComponent (
|
|
|
11120
11188
|
|
|
11121
11189
|
/***/ }),
|
|
11122
11190
|
|
|
11123
|
-
/***/
|
|
11191
|
+
/***/ 119:
|
|
11124
11192
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11125
11193
|
|
|
11126
11194
|
"use strict";
|
|
@@ -11299,6 +11367,13 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
11299
11367
|
|
|
11300
11368
|
/***/ }),
|
|
11301
11369
|
|
|
11370
|
+
/***/ "dc50":
|
|
11371
|
+
/***/ (function(module, exports) {
|
|
11372
|
+
|
|
11373
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
11374
|
+
|
|
11375
|
+
/***/ }),
|
|
11376
|
+
|
|
11302
11377
|
/***/ "dcdc":
|
|
11303
11378
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11304
11379
|
|
|
@@ -11386,7 +11461,7 @@ module.exports =
|
|
|
11386
11461
|
/******/
|
|
11387
11462
|
/******/
|
|
11388
11463
|
/******/ // Load entry module and return exports
|
|
11389
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11464
|
+
/******/ return __webpack_require__(__webpack_require__.s = 91);
|
|
11390
11465
|
/******/ })
|
|
11391
11466
|
/************************************************************************/
|
|
11392
11467
|
/******/ ({
|
|
@@ -11500,7 +11575,7 @@ module.exports = __webpack_require__("d010");
|
|
|
11500
11575
|
|
|
11501
11576
|
/***/ }),
|
|
11502
11577
|
|
|
11503
|
-
/***/
|
|
11578
|
+
/***/ 91:
|
|
11504
11579
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11505
11580
|
|
|
11506
11581
|
"use strict";
|
|
@@ -11929,17 +12004,6 @@ src_checkbox.install = function (Vue) {
|
|
|
11929
12004
|
|
|
11930
12005
|
/******/ });
|
|
11931
12006
|
|
|
11932
|
-
/***/ }),
|
|
11933
|
-
|
|
11934
|
-
/***/ "dd4a":
|
|
11935
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11936
|
-
|
|
11937
|
-
"use strict";
|
|
11938
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2ba9");
|
|
11939
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11940
|
-
/* unused harmony reexport * */
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
12007
|
/***/ }),
|
|
11944
12008
|
|
|
11945
12009
|
/***/ "de31":
|
|
@@ -12082,7 +12146,7 @@ module.exports =
|
|
|
12082
12146
|
/******/
|
|
12083
12147
|
/******/
|
|
12084
12148
|
/******/ // Load entry module and return exports
|
|
12085
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12149
|
+
/******/ return __webpack_require__(__webpack_require__.s = 54);
|
|
12086
12150
|
/******/ })
|
|
12087
12151
|
/************************************************************************/
|
|
12088
12152
|
/******/ ({
|
|
@@ -12196,7 +12260,7 @@ module.exports = __webpack_require__("8122");
|
|
|
12196
12260
|
|
|
12197
12261
|
/***/ }),
|
|
12198
12262
|
|
|
12199
|
-
/***/
|
|
12263
|
+
/***/ 34:
|
|
12200
12264
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12201
12265
|
|
|
12202
12266
|
"use strict";
|
|
@@ -12454,12 +12518,12 @@ module.exports = __webpack_require__("d010");
|
|
|
12454
12518
|
|
|
12455
12519
|
/***/ }),
|
|
12456
12520
|
|
|
12457
|
-
/***/
|
|
12521
|
+
/***/ 54:
|
|
12458
12522
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12459
12523
|
|
|
12460
12524
|
"use strict";
|
|
12461
12525
|
__webpack_require__.r(__webpack_exports__);
|
|
12462
|
-
/* 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);
|
|
12463
12527
|
|
|
12464
12528
|
|
|
12465
12529
|
/* istanbul ignore next */
|
|
@@ -12792,7 +12856,7 @@ module.exports =
|
|
|
12792
12856
|
/******/
|
|
12793
12857
|
/******/
|
|
12794
12858
|
/******/ // Load entry module and return exports
|
|
12795
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12859
|
+
/******/ return __webpack_require__(__webpack_require__.s = 96);
|
|
12796
12860
|
/******/ })
|
|
12797
12861
|
/************************************************************************/
|
|
12798
12862
|
/******/ ({
|
|
@@ -12899,7 +12963,7 @@ function normalizeComponent (
|
|
|
12899
12963
|
|
|
12900
12964
|
/***/ }),
|
|
12901
12965
|
|
|
12902
|
-
/***/
|
|
12966
|
+
/***/ 96:
|
|
12903
12967
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12904
12968
|
|
|
12905
12969
|
"use strict";
|
|
@@ -13013,7 +13077,7 @@ render._withStripped = true
|
|
|
13013
13077
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
13014
13078
|
},
|
|
13015
13079
|
buttonDisabled: function buttonDisabled() {
|
|
13016
|
-
return this.disabled
|
|
13080
|
+
return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
|
|
13017
13081
|
}
|
|
13018
13082
|
},
|
|
13019
13083
|
|
|
@@ -13191,6 +13255,9 @@ exports.default = {
|
|
|
13191
13255
|
popconfirm: {
|
|
13192
13256
|
confirmButtonText: '确定',
|
|
13193
13257
|
cancelButtonText: '取消'
|
|
13258
|
+
},
|
|
13259
|
+
empty: {
|
|
13260
|
+
description: '暂无数据'
|
|
13194
13261
|
}
|
|
13195
13262
|
}
|
|
13196
13263
|
};
|
|
@@ -13284,7 +13351,7 @@ module.exports =
|
|
|
13284
13351
|
/******/
|
|
13285
13352
|
/******/
|
|
13286
13353
|
/******/ // Load entry module and return exports
|
|
13287
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
13354
|
+
/******/ return __webpack_require__(__webpack_require__.s = 75);
|
|
13288
13355
|
/******/ })
|
|
13289
13356
|
/************************************************************************/
|
|
13290
13357
|
/******/ ({
|
|
@@ -13412,7 +13479,7 @@ module.exports = __webpack_require__("d010");
|
|
|
13412
13479
|
|
|
13413
13480
|
/***/ }),
|
|
13414
13481
|
|
|
13415
|
-
/***/
|
|
13482
|
+
/***/ 75:
|
|
13416
13483
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13417
13484
|
|
|
13418
13485
|
"use strict";
|
|
@@ -14054,15 +14121,18 @@ var shared_ = __webpack_require__(21);
|
|
|
14054
14121
|
this.focused = true;
|
|
14055
14122
|
this.$emit('focus', event);
|
|
14056
14123
|
},
|
|
14057
|
-
handleCompositionStart: function handleCompositionStart() {
|
|
14124
|
+
handleCompositionStart: function handleCompositionStart(event) {
|
|
14125
|
+
this.$emit('compositionstart', event);
|
|
14058
14126
|
this.isComposing = true;
|
|
14059
14127
|
},
|
|
14060
14128
|
handleCompositionUpdate: function handleCompositionUpdate(event) {
|
|
14129
|
+
this.$emit('compositionupdate', event);
|
|
14061
14130
|
var text = event.target.value;
|
|
14062
14131
|
var lastCharacter = text[text.length - 1] || '';
|
|
14063
14132
|
this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
|
|
14064
14133
|
},
|
|
14065
14134
|
handleCompositionEnd: function handleCompositionEnd(event) {
|
|
14135
|
+
this.$emit('compositionend', event);
|
|
14066
14136
|
if (this.isComposing) {
|
|
14067
14137
|
this.isComposing = false;
|
|
14068
14138
|
this.handleInput(event);
|
|
@@ -14284,7 +14354,7 @@ module.exports =
|
|
|
14284
14354
|
/******/
|
|
14285
14355
|
/******/
|
|
14286
14356
|
/******/ // Load entry module and return exports
|
|
14287
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
14357
|
+
/******/ return __webpack_require__(__webpack_require__.s = 88);
|
|
14288
14358
|
/******/ })
|
|
14289
14359
|
/************************************************************************/
|
|
14290
14360
|
/******/ ({
|
|
@@ -14391,7 +14461,14 @@ function normalizeComponent (
|
|
|
14391
14461
|
|
|
14392
14462
|
/***/ }),
|
|
14393
14463
|
|
|
14394
|
-
/***/
|
|
14464
|
+
/***/ 4:
|
|
14465
|
+
/***/ (function(module, exports) {
|
|
14466
|
+
|
|
14467
|
+
module.exports = __webpack_require__("d010");
|
|
14468
|
+
|
|
14469
|
+
/***/ }),
|
|
14470
|
+
|
|
14471
|
+
/***/ 88:
|
|
14395
14472
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14396
14473
|
|
|
14397
14474
|
"use strict";
|
|
@@ -14461,7 +14538,8 @@ var render = function() {
|
|
|
14461
14538
|
"aria-hidden": "true",
|
|
14462
14539
|
name: _vm.name,
|
|
14463
14540
|
disabled: _vm.isDisabled,
|
|
14464
|
-
tabindex: "-1"
|
|
14541
|
+
tabindex: "-1",
|
|
14542
|
+
autocomplete: "off"
|
|
14465
14543
|
},
|
|
14466
14544
|
domProps: {
|
|
14467
14545
|
value: _vm.label,
|
|
@@ -14558,6 +14636,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
14558
14636
|
//
|
|
14559
14637
|
//
|
|
14560
14638
|
//
|
|
14639
|
+
//
|
|
14561
14640
|
|
|
14562
14641
|
|
|
14563
14642
|
|
|
@@ -14684,13 +14763,6 @@ src_radio.install = function (Vue) {
|
|
|
14684
14763
|
|
|
14685
14764
|
/* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
|
|
14686
14765
|
|
|
14687
|
-
/***/ }),
|
|
14688
|
-
|
|
14689
|
-
/***/ 4:
|
|
14690
|
-
/***/ (function(module, exports) {
|
|
14691
|
-
|
|
14692
|
-
module.exports = __webpack_require__("d010");
|
|
14693
|
-
|
|
14694
14766
|
/***/ })
|
|
14695
14767
|
|
|
14696
14768
|
/******/ });
|
|
@@ -14709,17 +14781,6 @@ module.exports = __webpack_require__("d010");
|
|
|
14709
14781
|
|
|
14710
14782
|
module.exports = require("core-js/modules/es.number.constructor.js");
|
|
14711
14783
|
|
|
14712
|
-
/***/ }),
|
|
14713
|
-
|
|
14714
|
-
/***/ "faaf":
|
|
14715
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14716
|
-
|
|
14717
|
-
"use strict";
|
|
14718
|
-
/* 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_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6282");
|
|
14719
|
-
/* 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_289ef1f9_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_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
14720
|
-
/* unused harmony reexport * */
|
|
14721
|
-
|
|
14722
|
-
|
|
14723
14784
|
/***/ }),
|
|
14724
14785
|
|
|
14725
14786
|
/***/ "fae3":
|
|
@@ -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
|
-
|
|
14795
|
-
|
|
14796
|
-
|
|
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"
|
|
15318
|
+
var es_array_from_js_ = __webpack_require__("4362");
|
|
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
|
|
|
@@ -15961,359 +16532,165 @@ var Tooltip_component = normalizeComponent(
|
|
|
15961
16532
|
null,
|
|
15962
16533
|
"4a14f4de",
|
|
15963
16534
|
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
|
-
//
|
|
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
|
-
|
|
16368
|
-
* Function to toggle colour/greyscale of organs.
|
|
16739
|
+
/**
|
|
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
|
-
|
|
16382
|
-
* Function to toggle outlines f organs.
|
|
16751
|
+
/**
|
|
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,10 +16760,9 @@ var mapResize = function mapResize(map) {
|
|
|
16391
16760
|
});
|
|
16392
16761
|
}
|
|
16393
16762
|
},
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
*
|
|
16397
|
-
* Also called when the associated button is pressed.
|
|
16763
|
+
/**
|
|
16764
|
+
* Function to toggle paths to default.
|
|
16765
|
+
* Also called when the associated button is pressed.
|
|
16398
16766
|
*/
|
|
16399
16767
|
resetView: function resetView() {
|
|
16400
16768
|
if (this.mapImp) {
|
|
@@ -16406,20 +16774,18 @@ var mapResize = function mapResize(map) {
|
|
|
16406
16774
|
this.checkAll = true;
|
|
16407
16775
|
}
|
|
16408
16776
|
},
|
|
16409
|
-
|
|
16410
|
-
|
|
16411
|
-
*
|
|
16412
|
-
* Also called when the associated button is pressed.
|
|
16777
|
+
/**
|
|
16778
|
+
* Function to zoom in.
|
|
16779
|
+
* Also called when the associated button is pressed.
|
|
16413
16780
|
*/
|
|
16414
16781
|
zoomIn: function zoomIn() {
|
|
16415
16782
|
if (this.mapImp) {
|
|
16416
16783
|
this.mapImp.zoomIn();
|
|
16417
16784
|
}
|
|
16418
16785
|
},
|
|
16419
|
-
|
|
16420
|
-
|
|
16421
|
-
*
|
|
16422
|
-
* Also called when the associated button is pressed.
|
|
16786
|
+
/**
|
|
16787
|
+
* Function to zoom out.
|
|
16788
|
+
* Also called when the associated button is pressed.
|
|
16423
16789
|
*/
|
|
16424
16790
|
zoomOut: function zoomOut() {
|
|
16425
16791
|
if (this.mapImp) {
|
|
@@ -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,29 +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
|
-
|
|
16824
|
+
var biologicalSex = _this.biologicalSex;
|
|
16461
16825
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
16462
16826
|
args[_key - 2] = arguments[_key];
|
|
16463
16827
|
}
|
|
16464
|
-
|
|
16465
16828
|
var payload = {
|
|
16466
16829
|
dataset: data.dataset,
|
|
16830
|
+
biologicalSex: biologicalSex,
|
|
16467
16831
|
taxonomy: taxonomy,
|
|
16468
16832
|
resource: resource,
|
|
16469
16833
|
label: label,
|
|
16470
16834
|
feature: data,
|
|
16471
16835
|
userData: args,
|
|
16472
16836
|
eventType: eventType
|
|
16473
|
-
};
|
|
16474
|
-
|
|
16837
|
+
};
|
|
16838
|
+
// Disable the nueron pop up for now.
|
|
16475
16839
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
16476
|
-
|
|
16477
16840
|
_this.$emit("resource-selected", payload);
|
|
16478
16841
|
} else {
|
|
16479
16842
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -16497,7 +16860,6 @@ var mapResize = function mapResize(map) {
|
|
|
16497
16860
|
if (ftooltip) ftooltip.style.display = "none";
|
|
16498
16861
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
16499
16862
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
16500
|
-
|
|
16501
16863
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
16502
16864
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
16503
16865
|
};
|
|
@@ -16511,14 +16873,13 @@ var mapResize = function mapResize(map) {
|
|
|
16511
16873
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
16512
16874
|
return true;
|
|
16513
16875
|
}
|
|
16514
|
-
}
|
|
16515
|
-
|
|
16516
|
-
|
|
16876
|
+
}
|
|
16877
|
+
// annotated with datset check
|
|
16517
16878
|
if (data.dataset) {
|
|
16518
16879
|
return true;
|
|
16519
|
-
}
|
|
16520
|
-
|
|
16880
|
+
}
|
|
16521
16881
|
|
|
16882
|
+
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
16522
16883
|
return false;
|
|
16523
16884
|
},
|
|
16524
16885
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -16530,8 +16891,9 @@ var mapResize = function mapResize(map) {
|
|
|
16530
16891
|
distribution: undefined,
|
|
16531
16892
|
actions: []
|
|
16532
16893
|
};
|
|
16533
|
-
this.tooltipVisible = false;
|
|
16894
|
+
this.tooltipVisible = false;
|
|
16534
16895
|
|
|
16896
|
+
// neural data check
|
|
16535
16897
|
if (feature) {
|
|
16536
16898
|
if (feature.includes('ilxtr:neuron')) {
|
|
16537
16899
|
this.tooltipVisible = true;
|
|
@@ -16548,9 +16910,8 @@ var mapResize = function mapResize(map) {
|
|
|
16548
16910
|
nervePath: true
|
|
16549
16911
|
});
|
|
16550
16912
|
}
|
|
16551
|
-
}
|
|
16552
|
-
|
|
16553
|
-
|
|
16913
|
+
}
|
|
16914
|
+
// annotated with datset check
|
|
16554
16915
|
if (data.dataset) {
|
|
16555
16916
|
this.tooltipVisible = true;
|
|
16556
16917
|
this.tooltipContent = content;
|
|
@@ -16568,7 +16929,6 @@ var mapResize = function mapResize(map) {
|
|
|
16568
16929
|
// Keeping this as an API
|
|
16569
16930
|
showPopup: function showPopup(featureId, node, options) {
|
|
16570
16931
|
var myOptions = options;
|
|
16571
|
-
|
|
16572
16932
|
if (this.mapImp) {
|
|
16573
16933
|
if (myOptions) {
|
|
16574
16934
|
if (!myOptions.className) myOptions.className = "flatmapvuer-popover";
|
|
@@ -16578,7 +16938,6 @@ var mapResize = function mapResize(map) {
|
|
|
16578
16938
|
positionAtLastClick: true
|
|
16579
16939
|
};
|
|
16580
16940
|
}
|
|
16581
|
-
|
|
16582
16941
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
16583
16942
|
}
|
|
16584
16943
|
},
|
|
@@ -16604,7 +16963,6 @@ var mapResize = function mapResize(map) {
|
|
|
16604
16963
|
},
|
|
16605
16964
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
16606
16965
|
var _this2 = this;
|
|
16607
|
-
|
|
16608
16966
|
if (!this.inHelp) {
|
|
16609
16967
|
this.tooltipWait = setTimeout(function () {
|
|
16610
16968
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -16634,13 +16992,10 @@ var mapResize = function mapResize(map) {
|
|
|
16634
16992
|
},
|
|
16635
16993
|
getLabels: function getLabels() {
|
|
16636
16994
|
var labels = [];
|
|
16637
|
-
|
|
16638
16995
|
if (this.mapImp) {
|
|
16639
16996
|
var annotations = this.mapImp.annotations;
|
|
16640
|
-
|
|
16641
16997
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
16642
|
-
|
|
16643
|
-
|
|
16998
|
+
_step;
|
|
16644
16999
|
try {
|
|
16645
17000
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
16646
17001
|
var value = _step.value;
|
|
@@ -16651,7 +17006,6 @@ var mapResize = function mapResize(map) {
|
|
|
16651
17006
|
} finally {
|
|
16652
17007
|
_iterator.f();
|
|
16653
17008
|
}
|
|
16654
|
-
|
|
16655
17009
|
return Array.from(new Set(labels));
|
|
16656
17010
|
}
|
|
16657
17011
|
},
|
|
@@ -16659,17 +17013,17 @@ var mapResize = function mapResize(map) {
|
|
|
16659
17013
|
if (this.mapImp) {
|
|
16660
17014
|
var state = {
|
|
16661
17015
|
entry: this.entry,
|
|
17016
|
+
biologicalSex: this.biologicalSex,
|
|
16662
17017
|
viewport: this.mapImp.getState()
|
|
16663
17018
|
};
|
|
16664
17019
|
return state;
|
|
16665
17020
|
}
|
|
16666
|
-
|
|
16667
17021
|
return undefined;
|
|
16668
17022
|
},
|
|
16669
17023
|
setState: function setState(state) {
|
|
16670
17024
|
if (state) {
|
|
16671
|
-
if (this.mapImp && state.entry) {
|
|
16672
|
-
if (
|
|
17025
|
+
if (this.mapImp && state.entry && this.entry == state.entry && (!state.biologicalSex || state.biologicalSex === this.biologicalSex)) {
|
|
17026
|
+
if (state.viewport) {
|
|
16673
17027
|
this.mapImp.setState(state.viewport);
|
|
16674
17028
|
}
|
|
16675
17029
|
} else {
|
|
@@ -16679,20 +17033,50 @@ var mapResize = function mapResize(map) {
|
|
|
16679
17033
|
},
|
|
16680
17034
|
createFlatmap: function createFlatmap(state) {
|
|
16681
17035
|
var _this3 = this;
|
|
16682
|
-
|
|
16683
17036
|
if (!this.mapImp && !this.loading) {
|
|
16684
17037
|
this.loading = true;
|
|
16685
17038
|
var minimap = false;
|
|
16686
|
-
|
|
16687
17039
|
if (this.displayMinimap) {
|
|
16688
17040
|
minimap = {
|
|
16689
17041
|
position: "top-right"
|
|
16690
17042
|
};
|
|
16691
17043
|
}
|
|
16692
17044
|
|
|
16693
|
-
|
|
16694
|
-
|
|
16695
|
-
|
|
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
|
+
}
|
|
17078
|
+
}
|
|
17079
|
+
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
16696
17080
|
//fullscreenControl: false,
|
|
16697
17081
|
//annotatable: false,
|
|
16698
17082
|
//debug: true,
|
|
@@ -16706,15 +17090,10 @@ var mapResize = function mapResize(map) {
|
|
|
16706
17090
|
promise1.then(function (returnedObject) {
|
|
16707
17091
|
_this3.mapImp = returnedObject;
|
|
16708
17092
|
_this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
|
|
16709
|
-
|
|
16710
17093
|
_this3.mapImp.setBackgroundOpacity(1);
|
|
16711
|
-
|
|
16712
17094
|
_this3.backgroundChangeCallback(_this3.currentBackground);
|
|
16713
|
-
|
|
16714
17095
|
_this3.pathways = _this3.mapImp.pathTypes();
|
|
16715
|
-
|
|
16716
17096
|
_this3.$emit("ready", _this3);
|
|
16717
|
-
|
|
16718
17097
|
_this3.loading = false;
|
|
16719
17098
|
if (_this3._viewportToBeSet) _this3.mapImp.setState(_this3._viewportToBeSet);else if (state && state.viewport) _this3.mapImp.setState(state.viewport);
|
|
16720
17099
|
});
|
|
@@ -16728,9 +17107,8 @@ var mapResize = function mapResize(map) {
|
|
|
16728
17107
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
16729
17108
|
this.drawerOpen = flag;
|
|
16730
17109
|
},
|
|
16731
|
-
|
|
16732
|
-
|
|
16733
|
-
* Function to display features with annotation matching the provided term.
|
|
17110
|
+
/**
|
|
17111
|
+
* Function to display features with annotation matching the provided term.
|
|
16734
17112
|
*/
|
|
16735
17113
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
16736
17114
|
if (this.mapImp) {
|
|
@@ -16739,19 +17117,16 @@ var mapResize = function mapResize(map) {
|
|
|
16739
17117
|
return true;
|
|
16740
17118
|
} else {
|
|
16741
17119
|
var searchResults = this.mapImp.search(term);
|
|
16742
|
-
|
|
16743
17120
|
if (searchResults && searchResults.__featureIds.length > 0) {
|
|
16744
17121
|
this.mapImp.showSearchResults(searchResults);
|
|
16745
17122
|
return true;
|
|
16746
17123
|
} else this.mapImp.clearSearchResults();
|
|
16747
17124
|
}
|
|
16748
17125
|
}
|
|
16749
|
-
|
|
16750
17126
|
return false;
|
|
16751
17127
|
},
|
|
16752
|
-
|
|
16753
|
-
|
|
16754
|
-
* Get the list of suggested terms
|
|
17128
|
+
/**
|
|
17129
|
+
* Get the list of suggested terms
|
|
16755
17130
|
*/
|
|
16756
17131
|
searchSuggestions: function searchSuggestions(term) {
|
|
16757
17132
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -16760,6 +17135,7 @@ var mapResize = function mapResize(map) {
|
|
|
16760
17135
|
},
|
|
16761
17136
|
props: {
|
|
16762
17137
|
entry: String,
|
|
17138
|
+
biologicalSex: String,
|
|
16763
17139
|
featureInfo: {
|
|
16764
17140
|
type: Boolean,
|
|
16765
17141
|
default: false
|
|
@@ -16806,23 +17182,21 @@ var mapResize = function mapResize(map) {
|
|
|
16806
17182
|
},
|
|
16807
17183
|
latestChangesMessage: {
|
|
16808
17184
|
type: String,
|
|
16809
|
-
default: "
|
|
17185
|
+
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
16810
17186
|
},
|
|
16811
|
-
|
|
16812
|
-
|
|
16813
|
-
* State containing state of the flatmap.
|
|
17187
|
+
/**
|
|
17188
|
+
* State containing state of the flatmap.
|
|
16814
17189
|
*/
|
|
16815
17190
|
state: {
|
|
16816
17191
|
type: Object,
|
|
16817
17192
|
default: undefined
|
|
16818
17193
|
},
|
|
16819
|
-
|
|
16820
|
-
|
|
16821
|
-
* Specify the endpoint of the flatmap server.
|
|
17194
|
+
/**
|
|
17195
|
+
* Specify the endpoint of the flatmap server.
|
|
16822
17196
|
*/
|
|
16823
17197
|
flatmapAPI: {
|
|
16824
17198
|
type: String,
|
|
16825
|
-
default: "https://mapcore-demo.org/
|
|
17199
|
+
default: "https://mapcore-demo.org/current/flatmap/v3/"
|
|
16826
17200
|
},
|
|
16827
17201
|
sparcAPI: {
|
|
16828
17202
|
type: String,
|
|
@@ -16888,15 +17262,14 @@ var mapResize = function mapResize(map) {
|
|
|
16888
17262
|
},
|
|
16889
17263
|
mounted: function mounted() {
|
|
16890
17264
|
var flatmap = __webpack_require__("4979");
|
|
16891
|
-
|
|
16892
17265
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16893
17266
|
if (this.renderAtMounted) this.createFlatmap();
|
|
16894
17267
|
}
|
|
16895
17268
|
});
|
|
16896
17269
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16897
17270
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16898
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16899
|
-
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");
|
|
16900
17273
|
|
|
16901
17274
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16902
17275
|
|
|
@@ -16913,18 +17286,125 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16913
17286
|
staticRenderFns,
|
|
16914
17287
|
false,
|
|
16915
17288
|
null,
|
|
16916
|
-
"
|
|
17289
|
+
"601cf5a4",
|
|
16917
17290
|
null
|
|
16918
17291
|
|
|
16919
17292
|
)
|
|
16920
17293
|
|
|
16921
17294
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16922
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16923
|
-
var
|
|
16924
|
-
var
|
|
16925
|
-
|
|
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 = [];
|
|
16926
17406
|
|
|
16927
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
17407
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0ad8a77b&scoped=true&
|
|
16928
17408
|
|
|
16929
17409
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16930
17410
|
var popover = __webpack_require__("06f1");
|
|
@@ -16950,7 +17430,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
16950
17430
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
16951
17431
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
16952
17432
|
|
|
16953
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
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&
|
|
16954
17434
|
|
|
16955
17435
|
|
|
16956
17436
|
|
|
@@ -16971,63 +17451,6 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
16971
17451
|
|
|
16972
17452
|
|
|
16973
17453
|
|
|
16974
|
-
//
|
|
16975
|
-
//
|
|
16976
|
-
//
|
|
16977
|
-
//
|
|
16978
|
-
//
|
|
16979
|
-
//
|
|
16980
|
-
//
|
|
16981
|
-
//
|
|
16982
|
-
//
|
|
16983
|
-
//
|
|
16984
|
-
//
|
|
16985
|
-
//
|
|
16986
|
-
//
|
|
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
17454
|
/* eslint-disable no-alert, no-console */
|
|
17032
17455
|
|
|
17033
17456
|
|
|
@@ -17047,7 +17470,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17047
17470
|
},
|
|
17048
17471
|
mounted: function mounted() {
|
|
17049
17472
|
var _this = this;
|
|
17050
|
-
|
|
17051
17473
|
this.initialise();
|
|
17052
17474
|
components_EventBus.$on('onActionClick', function (action) {
|
|
17053
17475
|
_this.FlatmapSelected(action);
|
|
@@ -17056,33 +17478,36 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17056
17478
|
methods: {
|
|
17057
17479
|
initialise: function initialise() {
|
|
17058
17480
|
var _this2 = this;
|
|
17059
|
-
|
|
17060
17481
|
return new Promise(function (resolve) {
|
|
17061
17482
|
fetch(_this2.flatmapAPI).then(function (response) {
|
|
17062
17483
|
return response.json();
|
|
17063
17484
|
}).then(function (data) {
|
|
17064
|
-
_this2.
|
|
17485
|
+
_this2.speciesList = {};
|
|
17065
17486
|
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
17066
17487
|
for (var i = 0; i < data.length; i++) {
|
|
17067
|
-
if (
|
|
17068
|
-
|
|
17069
|
-
|
|
17488
|
+
if (_this2.availableSpecies[key].taxo === data[i].taxon) {
|
|
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
|
+
}
|
|
17070
17498
|
}
|
|
17071
17499
|
}
|
|
17072
17500
|
});
|
|
17073
|
-
|
|
17074
17501
|
if (!_this2.state) {
|
|
17075
17502
|
if (_this2.initial && _this2.speciesList[_this2.initial] !== undefined) {
|
|
17076
17503
|
_this2.activeSpecies = _this2.initial;
|
|
17077
17504
|
} else {
|
|
17078
17505
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
17079
17506
|
}
|
|
17080
|
-
|
|
17081
17507
|
external_vue_default.a.nextTick(function () {
|
|
17082
17508
|
if (_this2.$refs[_this2.activeSpecies]) _this2.$refs[_this2.activeSpecies][0].createFlatmap();
|
|
17083
17509
|
});
|
|
17084
17510
|
}
|
|
17085
|
-
|
|
17086
17511
|
resolve();
|
|
17087
17512
|
});
|
|
17088
17513
|
});
|
|
@@ -17095,11 +17520,9 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17095
17520
|
},
|
|
17096
17521
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
17097
17522
|
var flatmap = this.$refs[this.activeSpecies];
|
|
17098
|
-
|
|
17099
17523
|
if (flatmap && flatmap[0]) {
|
|
17100
17524
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
17101
17525
|
}
|
|
17102
|
-
|
|
17103
17526
|
return undefined;
|
|
17104
17527
|
},
|
|
17105
17528
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -17121,12 +17544,11 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17121
17544
|
this.$refs[this.activeSpecies][0].createFlatmap();
|
|
17122
17545
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
17123
17546
|
},
|
|
17124
|
-
|
|
17125
|
-
|
|
17126
|
-
*
|
|
17127
|
-
*
|
|
17128
|
-
*
|
|
17129
|
-
* @public
|
|
17547
|
+
/**
|
|
17548
|
+
* Function used for getting the current states of the scene. This exported states
|
|
17549
|
+
* can be imported using the importStates method.
|
|
17550
|
+
*
|
|
17551
|
+
* @public
|
|
17130
17552
|
*/
|
|
17131
17553
|
getState: function getState() {
|
|
17132
17554
|
var state = {
|
|
@@ -17137,32 +17559,27 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17137
17559
|
state.state = map.getState();
|
|
17138
17560
|
return state;
|
|
17139
17561
|
},
|
|
17140
|
-
|
|
17141
|
-
|
|
17142
|
-
*
|
|
17143
|
-
*
|
|
17144
|
-
*
|
|
17145
|
-
* @public
|
|
17562
|
+
/**
|
|
17563
|
+
* Function used for importing the states of the scene. This exported states
|
|
17564
|
+
* can be imported using the read states method.
|
|
17565
|
+
*
|
|
17566
|
+
* @public
|
|
17146
17567
|
*/
|
|
17147
17568
|
setState: function setState(state) {
|
|
17148
17569
|
var _this3 = this;
|
|
17149
|
-
|
|
17150
17570
|
if (state) {
|
|
17151
17571
|
this.initialise().then(function () {
|
|
17152
17572
|
if (state.species && state.species !== _this3.activeSpecies) {
|
|
17153
17573
|
_this3.activeSpecies = state.species;
|
|
17154
|
-
|
|
17155
17574
|
if (state.state) {
|
|
17156
17575
|
//Wait for next tick when the refs are ready for rendering
|
|
17157
17576
|
_this3.$nextTick(function () {
|
|
17158
17577
|
_this3.$refs[_this3.activeSpecies][0].createFlatmap(state.state);
|
|
17159
|
-
|
|
17160
17578
|
_this3.$emit('flatmapChanged', _this3.activeSpecies);
|
|
17161
17579
|
});
|
|
17162
17580
|
}
|
|
17163
17581
|
} else if (state.state) {
|
|
17164
17582
|
var map = _this3.getCurrentFlatmap();
|
|
17165
|
-
|
|
17166
17583
|
map.setState(state.state);
|
|
17167
17584
|
}
|
|
17168
17585
|
});
|
|
@@ -17189,10 +17606,9 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17189
17606
|
type: Boolean,
|
|
17190
17607
|
default: false
|
|
17191
17608
|
},
|
|
17192
|
-
|
|
17193
|
-
|
|
17194
|
-
*
|
|
17195
|
-
* This value will be ignored if a valid state object is provided.
|
|
17609
|
+
/**
|
|
17610
|
+
* Initial species for the flatmap.
|
|
17611
|
+
* This value will be ignored if a valid state object is provided.
|
|
17196
17612
|
*/
|
|
17197
17613
|
initial: {
|
|
17198
17614
|
type: String,
|
|
@@ -17219,21 +17635,19 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17219
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."
|
|
17220
17636
|
},
|
|
17221
17637
|
availableSpecies: {},
|
|
17222
|
-
|
|
17223
|
-
|
|
17224
|
-
* State containing state of the flatmap.
|
|
17638
|
+
/**
|
|
17639
|
+
* State containing state of the flatmap.
|
|
17225
17640
|
*/
|
|
17226
17641
|
state: {
|
|
17227
17642
|
type: Object,
|
|
17228
17643
|
default: undefined
|
|
17229
17644
|
},
|
|
17230
|
-
|
|
17231
|
-
|
|
17232
|
-
* Specify the endpoint of the flatmap server.
|
|
17645
|
+
/**
|
|
17646
|
+
* Specify the endpoint of the flatmap server.
|
|
17233
17647
|
*/
|
|
17234
17648
|
flatmapAPI: {
|
|
17235
17649
|
type: String,
|
|
17236
|
-
default: "https://mapcore-demo.org/
|
|
17650
|
+
default: "https://mapcore-demo.org/current/flatmap/v3/"
|
|
17237
17651
|
},
|
|
17238
17652
|
sparcAPI: {
|
|
17239
17653
|
type: String,
|
|
@@ -17259,8 +17673,8 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17259
17673
|
});
|
|
17260
17674
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
17261
17675
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
17262
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
17263
|
-
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");
|
|
17264
17678
|
|
|
17265
17679
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
17266
17680
|
|
|
@@ -17273,11 +17687,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss_ =
|
|
|
17273
17687
|
|
|
17274
17688
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
17275
17689
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
17276
|
-
|
|
17277
|
-
|
|
17690
|
+
MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render,
|
|
17691
|
+
MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_staticRenderFns,
|
|
17278
17692
|
false,
|
|
17279
17693
|
null,
|
|
17280
|
-
"
|
|
17694
|
+
"0ad8a77b",
|
|
17281
17695
|
null
|
|
17282
17696
|
|
|
17283
17697
|
)
|