@abi-software/flatmapvuer 0.3.8 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.common.js +1382 -989
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +1382 -989
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +2995 -2718
- package/package.json +2 -2
- package/src/App.vue +4 -3
- package/src/components/FlatmapVuer.vue +44 -19
- package/src/components/MultiFlatmapVuer.vue +12 -10
|
@@ -94,10 +94,10 @@ module.exports =
|
|
|
94
94
|
|
|
95
95
|
/***/ }),
|
|
96
96
|
|
|
97
|
-
/***/ "
|
|
98
|
-
/***/ (function(module, exports) {
|
|
97
|
+
/***/ "0875":
|
|
98
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
// extracted by mini-css-extract-plugin
|
|
101
101
|
|
|
102
102
|
/***/ }),
|
|
103
103
|
|
|
@@ -188,12 +188,12 @@ module.exports =
|
|
|
188
188
|
/******/
|
|
189
189
|
/******/
|
|
190
190
|
/******/ // Load entry module and return exports
|
|
191
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
191
|
+
/******/ return __webpack_require__(__webpack_require__.s = 139);
|
|
192
192
|
/******/ })
|
|
193
193
|
/************************************************************************/
|
|
194
194
|
/******/ ({
|
|
195
195
|
|
|
196
|
-
/***/
|
|
196
|
+
/***/ 139:
|
|
197
197
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
198
198
|
|
|
199
199
|
"use strict";
|
|
@@ -216,10 +216,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
216
216
|
type: String,
|
|
217
217
|
default: 'start'
|
|
218
218
|
},
|
|
219
|
-
align:
|
|
220
|
-
type: String,
|
|
221
|
-
default: 'top'
|
|
222
|
-
}
|
|
219
|
+
align: String
|
|
223
220
|
},
|
|
224
221
|
|
|
225
222
|
computed: {
|
|
@@ -237,7 +234,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
237
234
|
|
|
238
235
|
render: function render(h) {
|
|
239
236
|
return h(this.tag, {
|
|
240
|
-
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align
|
|
237
|
+
class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
|
|
241
238
|
style: this.style
|
|
242
239
|
}, this.$slots.default);
|
|
243
240
|
}
|
|
@@ -256,6 +253,17 @@ row.install = function (Vue) {
|
|
|
256
253
|
|
|
257
254
|
/******/ });
|
|
258
255
|
|
|
256
|
+
/***/ }),
|
|
257
|
+
|
|
258
|
+
/***/ "0fa6":
|
|
259
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
260
|
+
|
|
261
|
+
"use strict";
|
|
262
|
+
/* 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");
|
|
263
|
+
/* 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__);
|
|
264
|
+
/* unused harmony reexport * */
|
|
265
|
+
|
|
266
|
+
|
|
259
267
|
/***/ }),
|
|
260
268
|
|
|
261
269
|
/***/ "12f2":
|
|
@@ -374,12 +382,12 @@ module.exports =
|
|
|
374
382
|
/******/
|
|
375
383
|
/******/
|
|
376
384
|
/******/ // Load entry module and return exports
|
|
377
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
385
|
+
/******/ return __webpack_require__(__webpack_require__.s = 133);
|
|
378
386
|
/******/ })
|
|
379
387
|
/************************************************************************/
|
|
380
388
|
/******/ ({
|
|
381
389
|
|
|
382
|
-
/***/
|
|
390
|
+
/***/ 133:
|
|
383
391
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
384
392
|
|
|
385
393
|
"use strict";
|
|
@@ -389,7 +397,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
389
397
|
var resize_event_ = __webpack_require__(16);
|
|
390
398
|
|
|
391
399
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
|
|
392
|
-
var scrollbar_width_ = __webpack_require__(
|
|
400
|
+
var scrollbar_width_ = __webpack_require__(39);
|
|
393
401
|
var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
|
|
394
402
|
|
|
395
403
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -704,7 +712,7 @@ module.exports = __webpack_require__("8122");
|
|
|
704
712
|
|
|
705
713
|
/***/ }),
|
|
706
714
|
|
|
707
|
-
/***/
|
|
715
|
+
/***/ 39:
|
|
708
716
|
/***/ (function(module, exports) {
|
|
709
717
|
|
|
710
718
|
module.exports = __webpack_require__("e62d");
|
|
@@ -764,6 +772,13 @@ module.exports = require("throttle-debounce/throttle");
|
|
|
764
772
|
|
|
765
773
|
/***/ }),
|
|
766
774
|
|
|
775
|
+
/***/ "2439":
|
|
776
|
+
/***/ (function(module, exports) {
|
|
777
|
+
|
|
778
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
779
|
+
|
|
780
|
+
/***/ }),
|
|
781
|
+
|
|
767
782
|
/***/ "2a5e":
|
|
768
783
|
/***/ (function(module, exports, __webpack_require__) {
|
|
769
784
|
|
|
@@ -979,7 +994,7 @@ module.exports =
|
|
|
979
994
|
/******/
|
|
980
995
|
/******/
|
|
981
996
|
/******/ // Load entry module and return exports
|
|
982
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
997
|
+
/******/ return __webpack_require__(__webpack_require__.s = 112);
|
|
983
998
|
/******/ })
|
|
984
999
|
/************************************************************************/
|
|
985
1000
|
/******/ ({
|
|
@@ -1086,7 +1101,7 @@ function normalizeComponent (
|
|
|
1086
1101
|
|
|
1087
1102
|
/***/ }),
|
|
1088
1103
|
|
|
1089
|
-
/***/
|
|
1104
|
+
/***/ 112:
|
|
1090
1105
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1091
1106
|
|
|
1092
1107
|
"use strict";
|
|
@@ -1338,13 +1353,6 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
1338
1353
|
|
|
1339
1354
|
/***/ }),
|
|
1340
1355
|
|
|
1341
|
-
/***/ "3356":
|
|
1342
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1343
|
-
|
|
1344
|
-
// extracted by mini-css-extract-plugin
|
|
1345
|
-
|
|
1346
|
-
/***/ }),
|
|
1347
|
-
|
|
1348
1356
|
/***/ "3d2d":
|
|
1349
1357
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1350
1358
|
|
|
@@ -1432,7 +1440,7 @@ module.exports =
|
|
|
1432
1440
|
/******/
|
|
1433
1441
|
/******/
|
|
1434
1442
|
/******/ // Load entry module and return exports
|
|
1435
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
1443
|
+
/******/ return __webpack_require__(__webpack_require__.s = 116);
|
|
1436
1444
|
/******/ })
|
|
1437
1445
|
/************************************************************************/
|
|
1438
1446
|
/******/ ({
|
|
@@ -1539,7 +1547,7 @@ function normalizeComponent (
|
|
|
1539
1547
|
|
|
1540
1548
|
/***/ }),
|
|
1541
1549
|
|
|
1542
|
-
/***/
|
|
1550
|
+
/***/ 116:
|
|
1543
1551
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1544
1552
|
|
|
1545
1553
|
"use strict";
|
|
@@ -1638,6 +1646,13 @@ main.install = function (Vue) {
|
|
|
1638
1646
|
|
|
1639
1647
|
/***/ }),
|
|
1640
1648
|
|
|
1649
|
+
/***/ "3ec8":
|
|
1650
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1651
|
+
|
|
1652
|
+
// extracted by mini-css-extract-plugin
|
|
1653
|
+
|
|
1654
|
+
/***/ }),
|
|
1655
|
+
|
|
1641
1656
|
/***/ "4010":
|
|
1642
1657
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1643
1658
|
|
|
@@ -1651,6 +1666,8 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
|
|
|
1651
1666
|
|
|
1652
1667
|
var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
|
|
1653
1668
|
|
|
1669
|
+
var _throttleDebounce = __webpack_require__("831f");
|
|
1670
|
+
|
|
1654
1671
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
1655
1672
|
|
|
1656
1673
|
var isServer = typeof window === 'undefined';
|
|
@@ -1685,7 +1702,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
|
|
|
1685
1702
|
if (isServer) return;
|
|
1686
1703
|
if (!element.__resizeListeners__) {
|
|
1687
1704
|
element.__resizeListeners__ = [];
|
|
1688
|
-
element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
|
|
1705
|
+
element.__ro__ = new _resizeObserverPolyfill2.default((0, _throttleDebounce.debounce)(16, resizeHandler));
|
|
1689
1706
|
element.__ro__.observe(element);
|
|
1690
1707
|
}
|
|
1691
1708
|
element.__resizeListeners__.push(fn);
|
|
@@ -1816,20 +1833,6 @@ module.exports = require("core-js/modules/es.array.map.js");
|
|
|
1816
1833
|
|
|
1817
1834
|
/***/ }),
|
|
1818
1835
|
|
|
1819
|
-
/***/ "451d":
|
|
1820
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1821
|
-
|
|
1822
|
-
// extracted by mini-css-extract-plugin
|
|
1823
|
-
|
|
1824
|
-
/***/ }),
|
|
1825
|
-
|
|
1826
|
-
/***/ "45b8":
|
|
1827
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1828
|
-
|
|
1829
|
-
// extracted by mini-css-extract-plugin
|
|
1830
|
-
|
|
1831
|
-
/***/ }),
|
|
1832
|
-
|
|
1833
1836
|
/***/ "4897":
|
|
1834
1837
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1835
1838
|
|
|
@@ -2220,7 +2223,7 @@ module.exports =
|
|
|
2220
2223
|
/******/
|
|
2221
2224
|
/******/
|
|
2222
2225
|
/******/ // Load entry module and return exports
|
|
2223
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
2226
|
+
/******/ return __webpack_require__(__webpack_require__.s = 62);
|
|
2224
2227
|
/******/ })
|
|
2225
2228
|
/************************************************************************/
|
|
2226
2229
|
/******/ ({
|
|
@@ -2355,7 +2358,7 @@ module.exports = __webpack_require__("4010");
|
|
|
2355
2358
|
|
|
2356
2359
|
/***/ }),
|
|
2357
2360
|
|
|
2358
|
-
/***/
|
|
2361
|
+
/***/ 19:
|
|
2359
2362
|
/***/ (function(module, exports) {
|
|
2360
2363
|
|
|
2361
2364
|
module.exports = __webpack_require__("7435");
|
|
@@ -2383,14 +2386,14 @@ module.exports = __webpack_require__("8122");
|
|
|
2383
2386
|
|
|
2384
2387
|
/***/ }),
|
|
2385
2388
|
|
|
2386
|
-
/***/
|
|
2389
|
+
/***/ 32:
|
|
2387
2390
|
/***/ (function(module, exports) {
|
|
2388
2391
|
|
|
2389
2392
|
module.exports = __webpack_require__("2a5e");
|
|
2390
2393
|
|
|
2391
2394
|
/***/ }),
|
|
2392
2395
|
|
|
2393
|
-
/***/
|
|
2396
|
+
/***/ 34:
|
|
2394
2397
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2395
2398
|
|
|
2396
2399
|
"use strict";
|
|
@@ -2641,7 +2644,7 @@ component.options.__file = "packages/select/src/option.vue"
|
|
|
2641
2644
|
|
|
2642
2645
|
/***/ }),
|
|
2643
2646
|
|
|
2644
|
-
/***/
|
|
2647
|
+
/***/ 38:
|
|
2645
2648
|
/***/ (function(module, exports) {
|
|
2646
2649
|
|
|
2647
2650
|
module.exports = __webpack_require__("8bbc");
|
|
@@ -2669,7 +2672,7 @@ module.exports = __webpack_require__("6b7c");
|
|
|
2669
2672
|
|
|
2670
2673
|
/***/ }),
|
|
2671
2674
|
|
|
2672
|
-
/***/
|
|
2675
|
+
/***/ 62:
|
|
2673
2676
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2674
2677
|
|
|
2675
2678
|
"use strict";
|
|
@@ -2835,7 +2838,7 @@ var render = function() {
|
|
|
2835
2838
|
return null
|
|
2836
2839
|
}
|
|
2837
2840
|
$event.preventDefault()
|
|
2838
|
-
_vm.
|
|
2841
|
+
_vm.handleNavigate("next")
|
|
2839
2842
|
},
|
|
2840
2843
|
function($event) {
|
|
2841
2844
|
if (
|
|
@@ -2848,7 +2851,7 @@ var render = function() {
|
|
|
2848
2851
|
return null
|
|
2849
2852
|
}
|
|
2850
2853
|
$event.preventDefault()
|
|
2851
|
-
_vm.
|
|
2854
|
+
_vm.handleNavigate("prev")
|
|
2852
2855
|
},
|
|
2853
2856
|
function($event) {
|
|
2854
2857
|
if (
|
|
@@ -2941,11 +2944,15 @@ var render = function() {
|
|
|
2941
2944
|
"validate-event": false,
|
|
2942
2945
|
tabindex: _vm.multiple && _vm.filterable ? "-1" : null
|
|
2943
2946
|
},
|
|
2944
|
-
on: {
|
|
2947
|
+
on: {
|
|
2948
|
+
focus: _vm.handleFocus,
|
|
2949
|
+
blur: _vm.handleBlur,
|
|
2950
|
+
input: _vm.debouncedOnInputChange,
|
|
2951
|
+
compositionstart: _vm.handleComposition,
|
|
2952
|
+
compositionupdate: _vm.handleComposition,
|
|
2953
|
+
compositionend: _vm.handleComposition
|
|
2954
|
+
},
|
|
2945
2955
|
nativeOn: {
|
|
2946
|
-
keyup: function($event) {
|
|
2947
|
-
return _vm.debouncedOnInputChange($event)
|
|
2948
|
-
},
|
|
2949
2956
|
keydown: [
|
|
2950
2957
|
function($event) {
|
|
2951
2958
|
if (
|
|
@@ -2959,7 +2966,7 @@ var render = function() {
|
|
|
2959
2966
|
}
|
|
2960
2967
|
$event.stopPropagation()
|
|
2961
2968
|
$event.preventDefault()
|
|
2962
|
-
_vm.
|
|
2969
|
+
_vm.handleNavigate("next")
|
|
2963
2970
|
},
|
|
2964
2971
|
function($event) {
|
|
2965
2972
|
if (
|
|
@@ -2973,7 +2980,7 @@ var render = function() {
|
|
|
2973
2980
|
}
|
|
2974
2981
|
$event.stopPropagation()
|
|
2975
2982
|
$event.preventDefault()
|
|
2976
|
-
_vm.
|
|
2983
|
+
_vm.handleNavigate("prev")
|
|
2977
2984
|
},
|
|
2978
2985
|
function($event) {
|
|
2979
2986
|
if (
|
|
@@ -3009,9 +3016,6 @@ var render = function() {
|
|
|
3009
3016
|
_vm.visible = false
|
|
3010
3017
|
}
|
|
3011
3018
|
],
|
|
3012
|
-
paste: function($event) {
|
|
3013
|
-
return _vm.debouncedOnInputChange($event)
|
|
3014
|
-
},
|
|
3015
3019
|
mouseenter: function($event) {
|
|
3016
3020
|
_vm.inputHovering = true
|
|
3017
3021
|
},
|
|
@@ -3297,10 +3301,10 @@ if (false) { var api; }
|
|
|
3297
3301
|
component.options.__file = "packages/select/src/select-dropdown.vue"
|
|
3298
3302
|
/* harmony default export */ var select_dropdown = (component.exports);
|
|
3299
3303
|
// EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
|
|
3300
|
-
var src_option = __webpack_require__(
|
|
3304
|
+
var src_option = __webpack_require__(34);
|
|
3301
3305
|
|
|
3302
3306
|
// EXTERNAL MODULE: external "element-ui/lib/tag"
|
|
3303
|
-
var tag_ = __webpack_require__(
|
|
3307
|
+
var tag_ = __webpack_require__(38);
|
|
3304
3308
|
var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
|
|
3305
3309
|
|
|
3306
3310
|
// EXTERNAL MODULE: external "element-ui/lib/scrollbar"
|
|
@@ -3308,7 +3312,7 @@ var scrollbar_ = __webpack_require__(15);
|
|
|
3308
3312
|
var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
|
|
3309
3313
|
|
|
3310
3314
|
// EXTERNAL MODULE: external "throttle-debounce/debounce"
|
|
3311
|
-
var debounce_ = __webpack_require__(
|
|
3315
|
+
var debounce_ = __webpack_require__(19);
|
|
3312
3316
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
3313
3317
|
|
|
3314
3318
|
// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
|
|
@@ -3319,7 +3323,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
3319
3323
|
var resize_event_ = __webpack_require__(16);
|
|
3320
3324
|
|
|
3321
3325
|
// EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
|
|
3322
|
-
var scroll_into_view_ = __webpack_require__(
|
|
3326
|
+
var scroll_into_view_ = __webpack_require__(32);
|
|
3323
3327
|
var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
|
|
3324
3328
|
|
|
3325
3329
|
// EXTERNAL MODULE: external "element-ui/lib/utils/util"
|
|
@@ -3528,6 +3532,8 @@ var shared_ = __webpack_require__(21);
|
|
|
3528
3532
|
//
|
|
3529
3533
|
//
|
|
3530
3534
|
//
|
|
3535
|
+
//
|
|
3536
|
+
//
|
|
3531
3537
|
|
|
3532
3538
|
|
|
3533
3539
|
|
|
@@ -3825,6 +3831,11 @@ var shared_ = __webpack_require__(21);
|
|
|
3825
3831
|
},
|
|
3826
3832
|
|
|
3827
3833
|
methods: {
|
|
3834
|
+
handleNavigate: function handleNavigate(direction) {
|
|
3835
|
+
if (this.isOnComposition) return;
|
|
3836
|
+
|
|
3837
|
+
this.navigateOptions(direction);
|
|
3838
|
+
},
|
|
3828
3839
|
handleComposition: function handleComposition(event) {
|
|
3829
3840
|
var _this5 = this;
|
|
3830
3841
|
|
|
@@ -3910,7 +3921,7 @@ var shared_ = __webpack_require__(21);
|
|
|
3910
3921
|
}
|
|
3911
3922
|
}
|
|
3912
3923
|
if (option) return option;
|
|
3913
|
-
var label = !isObject && !isNull && !isUndefined ? value : '';
|
|
3924
|
+
var label = !isObject && !isNull && !isUndefined ? String(value) : '';
|
|
3914
3925
|
var newOption = {
|
|
3915
3926
|
value: value,
|
|
3916
3927
|
currentLabel: label
|
|
@@ -3950,10 +3961,10 @@ var shared_ = __webpack_require__(21);
|
|
|
3950
3961
|
handleFocus: function handleFocus(event) {
|
|
3951
3962
|
if (!this.softFocus) {
|
|
3952
3963
|
if (this.automaticDropdown || this.filterable) {
|
|
3953
|
-
this.visible
|
|
3954
|
-
if (this.filterable) {
|
|
3964
|
+
if (this.filterable && !this.visible) {
|
|
3955
3965
|
this.menuVisibleOnFocus = true;
|
|
3956
3966
|
}
|
|
3967
|
+
this.visible = true;
|
|
3957
3968
|
}
|
|
3958
3969
|
this.$emit('focus', event);
|
|
3959
3970
|
} else {
|
|
@@ -4027,8 +4038,9 @@ var shared_ = __webpack_require__(21);
|
|
|
4027
4038
|
return item.tagName === 'INPUT';
|
|
4028
4039
|
})[0];
|
|
4029
4040
|
var tags = _this10.$refs.tags;
|
|
4041
|
+
var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
|
|
4030
4042
|
var sizeInMap = _this10.initialInputHeight || 40;
|
|
4031
|
-
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ?
|
|
4043
|
+
input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
|
|
4032
4044
|
if (_this10.visible && _this10.emptyText !== false) {
|
|
4033
4045
|
_this10.broadcast('ElSelectDropdown', 'updatePopper');
|
|
4034
4046
|
}
|
|
@@ -4542,13 +4554,6 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4542
4554
|
|
|
4543
4555
|
/***/ }),
|
|
4544
4556
|
|
|
4545
|
-
/***/ "547f":
|
|
4546
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4547
|
-
|
|
4548
|
-
// extracted by mini-css-extract-plugin
|
|
4549
|
-
|
|
4550
|
-
/***/ }),
|
|
4551
|
-
|
|
4552
4557
|
/***/ "560b":
|
|
4553
4558
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4554
4559
|
|
|
@@ -4556,12 +4561,12 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4556
4561
|
|
|
4557
4562
|
/***/ }),
|
|
4558
4563
|
|
|
4559
|
-
/***/ "
|
|
4564
|
+
/***/ "587b":
|
|
4560
4565
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4561
4566
|
|
|
4562
4567
|
"use strict";
|
|
4563
|
-
/* harmony import */ var
|
|
4564
|
-
/* harmony import */ var
|
|
4568
|
+
/* 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");
|
|
4569
|
+
/* 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__);
|
|
4565
4570
|
/* unused harmony reexport * */
|
|
4566
4571
|
|
|
4567
4572
|
|
|
@@ -4678,7 +4683,7 @@ function addClass(el, cls) {
|
|
|
4678
4683
|
}
|
|
4679
4684
|
}
|
|
4680
4685
|
if (!el.classList) {
|
|
4681
|
-
el.
|
|
4686
|
+
el.setAttribute('class', curClass);
|
|
4682
4687
|
}
|
|
4683
4688
|
};
|
|
4684
4689
|
|
|
@@ -4699,7 +4704,7 @@ function removeClass(el, cls) {
|
|
|
4699
4704
|
}
|
|
4700
4705
|
}
|
|
4701
4706
|
if (!el.classList) {
|
|
4702
|
-
el.
|
|
4707
|
+
el.setAttribute('class', trim(curClass));
|
|
4703
4708
|
}
|
|
4704
4709
|
};
|
|
4705
4710
|
|
|
@@ -4763,10 +4768,10 @@ function setStyle(element, styleName, value) {
|
|
|
4763
4768
|
var isScroll = exports.isScroll = function isScroll(el, vertical) {
|
|
4764
4769
|
if (isServer) return;
|
|
4765
4770
|
|
|
4766
|
-
var determinedDirection = vertical !== null
|
|
4771
|
+
var determinedDirection = vertical !== null && vertical !== undefined;
|
|
4767
4772
|
var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
|
|
4768
4773
|
|
|
4769
|
-
return overflow.match(/(scroll|auto)/);
|
|
4774
|
+
return overflow.match(/(scroll|auto|overlay)/);
|
|
4770
4775
|
};
|
|
4771
4776
|
|
|
4772
4777
|
var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
|
|
@@ -4808,14 +4813,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
|
|
|
4808
4813
|
|
|
4809
4814
|
/***/ }),
|
|
4810
4815
|
|
|
4811
|
-
/***/ "
|
|
4812
|
-
/***/ (function(module,
|
|
4813
|
-
|
|
4814
|
-
"use strict";
|
|
4815
|
-
/* 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");
|
|
4816
|
-
/* 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__);
|
|
4817
|
-
/* unused harmony reexport * */
|
|
4816
|
+
/***/ "5a3b":
|
|
4817
|
+
/***/ (function(module, exports) {
|
|
4818
4818
|
|
|
4819
|
+
module.exports = require("core-js/modules/es.regexp.test.js");
|
|
4819
4820
|
|
|
4820
4821
|
/***/ }),
|
|
4821
4822
|
|
|
@@ -6083,21 +6084,21 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
6083
6084
|
|
|
6084
6085
|
/***/ }),
|
|
6085
6086
|
|
|
6086
|
-
/***/ "
|
|
6087
|
-
/***/ (function(module, exports) {
|
|
6087
|
+
/***/ "6259":
|
|
6088
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6088
6089
|
|
|
6089
|
-
|
|
6090
|
+
// extracted by mini-css-extract-plugin
|
|
6090
6091
|
|
|
6091
6092
|
/***/ }),
|
|
6092
6093
|
|
|
6093
|
-
/***/ "
|
|
6094
|
-
/***/ (function(module, exports
|
|
6094
|
+
/***/ "6378":
|
|
6095
|
+
/***/ (function(module, exports) {
|
|
6095
6096
|
|
|
6096
|
-
|
|
6097
|
+
module.exports = require("core-js/modules/es.string.replace.js");
|
|
6097
6098
|
|
|
6098
6099
|
/***/ }),
|
|
6099
6100
|
|
|
6100
|
-
/***/ "
|
|
6101
|
+
/***/ "6611":
|
|
6101
6102
|
/***/ (function(module, exports, __webpack_require__) {
|
|
6102
6103
|
|
|
6103
6104
|
// extracted by mini-css-extract-plugin
|
|
@@ -6191,7 +6192,7 @@ module.exports =
|
|
|
6191
6192
|
/******/
|
|
6192
6193
|
/******/
|
|
6193
6194
|
/******/ // Load entry module and return exports
|
|
6194
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6195
|
+
/******/ return __webpack_require__(__webpack_require__.s = 89);
|
|
6195
6196
|
/******/ })
|
|
6196
6197
|
/************************************************************************/
|
|
6197
6198
|
/******/ ({
|
|
@@ -6305,7 +6306,7 @@ module.exports = __webpack_require__("d010");
|
|
|
6305
6306
|
|
|
6306
6307
|
/***/ }),
|
|
6307
6308
|
|
|
6308
|
-
/***/
|
|
6309
|
+
/***/ 89:
|
|
6309
6310
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6310
6311
|
|
|
6311
6312
|
"use strict";
|
|
@@ -6384,7 +6385,9 @@ var keyCode = Object.freeze({
|
|
|
6384
6385
|
return (this.elFormItem || {}).elFormItemSize;
|
|
6385
6386
|
},
|
|
6386
6387
|
_elTag: function _elTag() {
|
|
6387
|
-
|
|
6388
|
+
var tag = (this.$vnode.data || {}).tag;
|
|
6389
|
+
if (!tag || tag === 'component') tag = 'div';
|
|
6390
|
+
return tag;
|
|
6388
6391
|
},
|
|
6389
6392
|
radioGroupSize: function radioGroupSize() {
|
|
6390
6393
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
@@ -6585,7 +6588,7 @@ module.exports =
|
|
|
6585
6588
|
/******/
|
|
6586
6589
|
/******/
|
|
6587
6590
|
/******/ // Load entry module and return exports
|
|
6588
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
6591
|
+
/******/ return __webpack_require__(__webpack_require__.s = 78);
|
|
6589
6592
|
/******/ })
|
|
6590
6593
|
/************************************************************************/
|
|
6591
6594
|
/******/ ({
|
|
@@ -6720,7 +6723,7 @@ module.exports = __webpack_require__("8bbf");
|
|
|
6720
6723
|
|
|
6721
6724
|
/***/ }),
|
|
6722
6725
|
|
|
6723
|
-
/***/
|
|
6726
|
+
/***/ 78:
|
|
6724
6727
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
6725
6728
|
|
|
6726
6729
|
"use strict";
|
|
@@ -7144,14 +7147,17 @@ exports.default = {
|
|
|
7144
7147
|
|
|
7145
7148
|
/***/ }),
|
|
7146
7149
|
|
|
7147
|
-
/***/ "
|
|
7148
|
-
/***/ (function(module,
|
|
7150
|
+
/***/ "712c":
|
|
7151
|
+
/***/ (function(module, exports) {
|
|
7149
7152
|
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7153
|
+
module.exports = require("core-js/modules/web.url-search-params.js");
|
|
7154
|
+
|
|
7155
|
+
/***/ }),
|
|
7156
|
+
|
|
7157
|
+
/***/ "722b":
|
|
7158
|
+
/***/ (function(module, exports) {
|
|
7154
7159
|
|
|
7160
|
+
module.exports = require("core-js/modules/es.array.unscopables.flat.js");
|
|
7155
7161
|
|
|
7156
7162
|
/***/ }),
|
|
7157
7163
|
|
|
@@ -7160,6 +7166,17 @@ exports.default = {
|
|
|
7160
7166
|
|
|
7161
7167
|
module.exports = require("throttle-debounce/debounce");
|
|
7162
7168
|
|
|
7169
|
+
/***/ }),
|
|
7170
|
+
|
|
7171
|
+
/***/ "7451":
|
|
7172
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7173
|
+
|
|
7174
|
+
"use strict";
|
|
7175
|
+
/* 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");
|
|
7176
|
+
/* 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__);
|
|
7177
|
+
/* unused harmony reexport * */
|
|
7178
|
+
|
|
7179
|
+
|
|
7163
7180
|
/***/ }),
|
|
7164
7181
|
|
|
7165
7182
|
/***/ "7a0f":
|
|
@@ -7256,7 +7273,7 @@ module.exports =
|
|
|
7256
7273
|
/******/
|
|
7257
7274
|
/******/
|
|
7258
7275
|
/******/ // Load entry module and return exports
|
|
7259
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7276
|
+
/******/ return __webpack_require__(__webpack_require__.s = 117);
|
|
7260
7277
|
/******/ })
|
|
7261
7278
|
/************************************************************************/
|
|
7262
7279
|
/******/ ({
|
|
@@ -7363,7 +7380,7 @@ function normalizeComponent (
|
|
|
7363
7380
|
|
|
7364
7381
|
/***/ }),
|
|
7365
7382
|
|
|
7366
|
-
/***/
|
|
7383
|
+
/***/ 117:
|
|
7367
7384
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7368
7385
|
|
|
7369
7386
|
"use strict";
|
|
@@ -7566,7 +7583,7 @@ module.exports =
|
|
|
7566
7583
|
/******/
|
|
7567
7584
|
/******/
|
|
7568
7585
|
/******/ // Load entry module and return exports
|
|
7569
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
7586
|
+
/******/ return __webpack_require__(__webpack_require__.s = 93);
|
|
7570
7587
|
/******/ })
|
|
7571
7588
|
/************************************************************************/
|
|
7572
7589
|
/******/ ({
|
|
@@ -7680,7 +7697,7 @@ module.exports = __webpack_require__("d010");
|
|
|
7680
7697
|
|
|
7681
7698
|
/***/ }),
|
|
7682
7699
|
|
|
7683
|
-
/***/
|
|
7700
|
+
/***/ 93:
|
|
7684
7701
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7685
7702
|
|
|
7686
7703
|
"use strict";
|
|
@@ -8072,6 +8089,20 @@ function objToArray(obj) {
|
|
|
8072
8089
|
|
|
8073
8090
|
/***/ }),
|
|
8074
8091
|
|
|
8092
|
+
/***/ "831f":
|
|
8093
|
+
/***/ (function(module, exports) {
|
|
8094
|
+
|
|
8095
|
+
module.exports = require("throttle-debounce");
|
|
8096
|
+
|
|
8097
|
+
/***/ }),
|
|
8098
|
+
|
|
8099
|
+
/***/ "8493":
|
|
8100
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8101
|
+
|
|
8102
|
+
// extracted by mini-css-extract-plugin
|
|
8103
|
+
|
|
8104
|
+
/***/ }),
|
|
8105
|
+
|
|
8075
8106
|
/***/ "8535":
|
|
8076
8107
|
/***/ (function(module, exports) {
|
|
8077
8108
|
|
|
@@ -8173,7 +8204,7 @@ module.exports =
|
|
|
8173
8204
|
/******/
|
|
8174
8205
|
/******/
|
|
8175
8206
|
/******/ // Load entry module and return exports
|
|
8176
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8207
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
8177
8208
|
/******/ })
|
|
8178
8209
|
/************************************************************************/
|
|
8179
8210
|
/******/ ({
|
|
@@ -8294,14 +8325,21 @@ module.exports = __webpack_require__("5924");
|
|
|
8294
8325
|
|
|
8295
8326
|
/***/ }),
|
|
8296
8327
|
|
|
8297
|
-
/***/
|
|
8328
|
+
/***/ 42:
|
|
8298
8329
|
/***/ (function(module, exports) {
|
|
8299
8330
|
|
|
8300
8331
|
module.exports = __webpack_require__("c56a");
|
|
8301
8332
|
|
|
8302
8333
|
/***/ }),
|
|
8303
8334
|
|
|
8304
|
-
/***/
|
|
8335
|
+
/***/ 7:
|
|
8336
|
+
/***/ (function(module, exports) {
|
|
8337
|
+
|
|
8338
|
+
module.exports = __webpack_require__("8bbf");
|
|
8339
|
+
|
|
8340
|
+
/***/ }),
|
|
8341
|
+
|
|
8342
|
+
/***/ 73:
|
|
8305
8343
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8306
8344
|
|
|
8307
8345
|
"use strict";
|
|
@@ -8449,7 +8487,7 @@ var dom_ = __webpack_require__(2);
|
|
|
8449
8487
|
var popup_ = __webpack_require__(13);
|
|
8450
8488
|
|
|
8451
8489
|
// EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
|
|
8452
|
-
var after_leave_ = __webpack_require__(
|
|
8490
|
+
var after_leave_ = __webpack_require__(42);
|
|
8453
8491
|
var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
|
|
8454
8492
|
|
|
8455
8493
|
// CONCATENATED MODULE: ./packages/loading/src/directive.js
|
|
@@ -8513,7 +8551,7 @@ loadingDirective.install = function (Vue) {
|
|
|
8513
8551
|
el.mask.style[property] = el.maskStyle[property];
|
|
8514
8552
|
});
|
|
8515
8553
|
|
|
8516
|
-
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
|
|
8554
|
+
if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
|
|
8517
8555
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8518
8556
|
}
|
|
8519
8557
|
if (binding.modifiers.fullscreen && binding.modifiers.lock) {
|
|
@@ -8671,7 +8709,7 @@ var src_Loading = function Loading() {
|
|
|
8671
8709
|
});
|
|
8672
8710
|
|
|
8673
8711
|
src_addStyle(options, parent, instance);
|
|
8674
|
-
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
|
|
8712
|
+
if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
|
|
8675
8713
|
Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
|
|
8676
8714
|
}
|
|
8677
8715
|
if (options.fullscreen && options.lock) {
|
|
@@ -8704,13 +8742,6 @@ var src_Loading = function Loading() {
|
|
|
8704
8742
|
|
|
8705
8743
|
/***/ }),
|
|
8706
8744
|
|
|
8707
|
-
/***/ 7:
|
|
8708
|
-
/***/ (function(module, exports) {
|
|
8709
|
-
|
|
8710
|
-
module.exports = __webpack_require__("8bbf");
|
|
8711
|
-
|
|
8712
|
-
/***/ }),
|
|
8713
|
-
|
|
8714
8745
|
/***/ 9:
|
|
8715
8746
|
/***/ (function(module, exports) {
|
|
8716
8747
|
|
|
@@ -8809,7 +8840,7 @@ module.exports =
|
|
|
8809
8840
|
/******/
|
|
8810
8841
|
/******/
|
|
8811
8842
|
/******/ // Load entry module and return exports
|
|
8812
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
8843
|
+
/******/ return __webpack_require__(__webpack_require__.s = 132);
|
|
8813
8844
|
/******/ })
|
|
8814
8845
|
/************************************************************************/
|
|
8815
8846
|
/******/ ({
|
|
@@ -8916,7 +8947,7 @@ function normalizeComponent (
|
|
|
8916
8947
|
|
|
8917
8948
|
/***/ }),
|
|
8918
8949
|
|
|
8919
|
-
/***/
|
|
8950
|
+
/***/ 132:
|
|
8920
8951
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
8921
8952
|
|
|
8922
8953
|
"use strict";
|
|
@@ -9050,17 +9081,6 @@ module.exports = require("vue");
|
|
|
9050
9081
|
|
|
9051
9082
|
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
9052
9083
|
|
|
9053
|
-
/***/ }),
|
|
9054
|
-
|
|
9055
|
-
/***/ "98f7":
|
|
9056
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9057
|
-
|
|
9058
|
-
"use strict";
|
|
9059
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3356");
|
|
9060
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9061
|
-
/* unused harmony reexport * */
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
9084
|
/***/ }),
|
|
9065
9085
|
|
|
9066
9086
|
/***/ "9b22":
|
|
@@ -9171,7 +9191,7 @@ module.exports =
|
|
|
9171
9191
|
/******/
|
|
9172
9192
|
/******/
|
|
9173
9193
|
/******/ // Load entry module and return exports
|
|
9174
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9194
|
+
/******/ return __webpack_require__(__webpack_require__.s = 111);
|
|
9175
9195
|
/******/ })
|
|
9176
9196
|
/************************************************************************/
|
|
9177
9197
|
/******/ ({
|
|
@@ -9278,21 +9298,7 @@ function normalizeComponent (
|
|
|
9278
9298
|
|
|
9279
9299
|
/***/ }),
|
|
9280
9300
|
|
|
9281
|
-
/***/
|
|
9282
|
-
/***/ (function(module, exports) {
|
|
9283
|
-
|
|
9284
|
-
module.exports = __webpack_require__("4010");
|
|
9285
|
-
|
|
9286
|
-
/***/ }),
|
|
9287
|
-
|
|
9288
|
-
/***/ 25:
|
|
9289
|
-
/***/ (function(module, exports) {
|
|
9290
|
-
|
|
9291
|
-
module.exports = __webpack_require__("1e79");
|
|
9292
|
-
|
|
9293
|
-
/***/ }),
|
|
9294
|
-
|
|
9295
|
-
/***/ 85:
|
|
9301
|
+
/***/ 111:
|
|
9296
9302
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9297
9303
|
|
|
9298
9304
|
"use strict";
|
|
@@ -9677,6 +9683,10 @@ var resize_event_ = __webpack_require__(16);
|
|
|
9677
9683
|
if (this.interval <= 0 || !this.autoplay || this.timer) return;
|
|
9678
9684
|
this.timer = setInterval(this.playSlides, this.interval);
|
|
9679
9685
|
},
|
|
9686
|
+
resetTimer: function resetTimer() {
|
|
9687
|
+
this.pauseTimer();
|
|
9688
|
+
this.startTimer();
|
|
9689
|
+
},
|
|
9680
9690
|
setActiveItem: function setActiveItem(index) {
|
|
9681
9691
|
if (typeof index === 'string') {
|
|
9682
9692
|
var filteredItems = this.items.filter(function (item) {
|
|
@@ -9703,6 +9713,7 @@ var resize_event_ = __webpack_require__(16);
|
|
|
9703
9713
|
if (oldIndex === this.activeIndex) {
|
|
9704
9714
|
this.resetItemPosition(oldIndex);
|
|
9705
9715
|
}
|
|
9716
|
+
this.resetTimer();
|
|
9706
9717
|
},
|
|
9707
9718
|
prev: function prev() {
|
|
9708
9719
|
this.setActiveItem(this.activeIndex - 1);
|
|
@@ -9785,6 +9796,20 @@ main.install = function (Vue) {
|
|
|
9785
9796
|
|
|
9786
9797
|
/* harmony default export */ var carousel = __webpack_exports__["default"] = (main);
|
|
9787
9798
|
|
|
9799
|
+
/***/ }),
|
|
9800
|
+
|
|
9801
|
+
/***/ 16:
|
|
9802
|
+
/***/ (function(module, exports) {
|
|
9803
|
+
|
|
9804
|
+
module.exports = __webpack_require__("4010");
|
|
9805
|
+
|
|
9806
|
+
/***/ }),
|
|
9807
|
+
|
|
9808
|
+
/***/ 25:
|
|
9809
|
+
/***/ (function(module, exports) {
|
|
9810
|
+
|
|
9811
|
+
module.exports = __webpack_require__("1e79");
|
|
9812
|
+
|
|
9788
9813
|
/***/ })
|
|
9789
9814
|
|
|
9790
9815
|
/******/ });
|
|
@@ -9861,14 +9886,10 @@ module.exports = require("resize-observer-polyfill");
|
|
|
9861
9886
|
|
|
9862
9887
|
/***/ }),
|
|
9863
9888
|
|
|
9864
|
-
/***/ "
|
|
9865
|
-
/***/ (function(module,
|
|
9866
|
-
|
|
9867
|
-
"use strict";
|
|
9868
|
-
/* 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");
|
|
9869
|
-
/* 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__);
|
|
9870
|
-
/* unused harmony reexport * */
|
|
9889
|
+
/***/ "a445":
|
|
9890
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9871
9891
|
|
|
9892
|
+
// extracted by mini-css-extract-plugin
|
|
9872
9893
|
|
|
9873
9894
|
/***/ }),
|
|
9874
9895
|
|
|
@@ -9959,7 +9980,7 @@ module.exports =
|
|
|
9959
9980
|
/******/
|
|
9960
9981
|
/******/
|
|
9961
9982
|
/******/ // Load entry module and return exports
|
|
9962
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
9983
|
+
/******/ return __webpack_require__(__webpack_require__.s = 122);
|
|
9963
9984
|
/******/ })
|
|
9964
9985
|
/************************************************************************/
|
|
9965
9986
|
/******/ ({
|
|
@@ -10066,7 +10087,7 @@ function normalizeComponent (
|
|
|
10066
10087
|
|
|
10067
10088
|
/***/ }),
|
|
10068
10089
|
|
|
10069
|
-
/***/
|
|
10090
|
+
/***/ 122:
|
|
10070
10091
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10071
10092
|
|
|
10072
10093
|
"use strict";
|
|
@@ -10294,7 +10315,7 @@ module.exports =
|
|
|
10294
10315
|
/******/
|
|
10295
10316
|
/******/
|
|
10296
10317
|
/******/ // Load entry module and return exports
|
|
10297
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10318
|
+
/******/ return __webpack_require__(__webpack_require__.s = 103);
|
|
10298
10319
|
/******/ })
|
|
10299
10320
|
/************************************************************************/
|
|
10300
10321
|
/******/ ({
|
|
@@ -10401,7 +10422,7 @@ function normalizeComponent (
|
|
|
10401
10422
|
|
|
10402
10423
|
/***/ }),
|
|
10403
10424
|
|
|
10404
|
-
/***/
|
|
10425
|
+
/***/ 103:
|
|
10405
10426
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10406
10427
|
|
|
10407
10428
|
"use strict";
|
|
@@ -10543,6 +10564,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
10543
10564
|
|
|
10544
10565
|
/***/ }),
|
|
10545
10566
|
|
|
10567
|
+
/***/ "a9ee":
|
|
10568
|
+
/***/ (function(module, exports) {
|
|
10569
|
+
|
|
10570
|
+
module.exports = require("core-js/modules/es.json.stringify.js");
|
|
10571
|
+
|
|
10572
|
+
/***/ }),
|
|
10573
|
+
|
|
10546
10574
|
/***/ "aaa5":
|
|
10547
10575
|
/***/ (function(module, exports, __webpack_require__) {
|
|
10548
10576
|
|
|
@@ -10562,6 +10590,17 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
10562
10590
|
|
|
10563
10591
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
10564
10592
|
|
|
10593
|
+
/***/ }),
|
|
10594
|
+
|
|
10595
|
+
/***/ "b1da":
|
|
10596
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10597
|
+
|
|
10598
|
+
"use strict";
|
|
10599
|
+
/* 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");
|
|
10600
|
+
/* 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__);
|
|
10601
|
+
/* unused harmony reexport * */
|
|
10602
|
+
|
|
10603
|
+
|
|
10565
10604
|
/***/ }),
|
|
10566
10605
|
|
|
10567
10606
|
/***/ "b2d6":
|
|
@@ -10688,6 +10727,9 @@ exports.default = {
|
|
|
10688
10727
|
popconfirm: {
|
|
10689
10728
|
confirmButtonText: 'Yes',
|
|
10690
10729
|
cancelButtonText: 'No'
|
|
10730
|
+
},
|
|
10731
|
+
empty: {
|
|
10732
|
+
description: 'No Data'
|
|
10691
10733
|
}
|
|
10692
10734
|
}
|
|
10693
10735
|
};
|
|
@@ -10701,17 +10743,21 @@ exports.default = {
|
|
|
10701
10743
|
|
|
10702
10744
|
/***/ }),
|
|
10703
10745
|
|
|
10704
|
-
/***/ "
|
|
10705
|
-
/***/ (function(module, exports) {
|
|
10746
|
+
/***/ "be4f":
|
|
10747
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10706
10748
|
|
|
10707
|
-
|
|
10749
|
+
// extracted by mini-css-extract-plugin
|
|
10708
10750
|
|
|
10709
10751
|
/***/ }),
|
|
10710
10752
|
|
|
10711
|
-
/***/ "
|
|
10712
|
-
/***/ (function(module,
|
|
10753
|
+
/***/ "bec2":
|
|
10754
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10755
|
+
|
|
10756
|
+
"use strict";
|
|
10757
|
+
/* 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");
|
|
10758
|
+
/* 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__);
|
|
10759
|
+
/* unused harmony reexport * */
|
|
10713
10760
|
|
|
10714
|
-
// extracted by mini-css-extract-plugin
|
|
10715
10761
|
|
|
10716
10762
|
/***/ }),
|
|
10717
10763
|
|
|
@@ -10802,12 +10848,12 @@ module.exports =
|
|
|
10802
10848
|
/******/
|
|
10803
10849
|
/******/
|
|
10804
10850
|
/******/ // Load entry module and return exports
|
|
10805
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
10851
|
+
/******/ return __webpack_require__(__webpack_require__.s = 140);
|
|
10806
10852
|
/******/ })
|
|
10807
10853
|
/************************************************************************/
|
|
10808
10854
|
/******/ ({
|
|
10809
10855
|
|
|
10810
|
-
/***/
|
|
10856
|
+
/***/ 140:
|
|
10811
10857
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10812
10858
|
|
|
10813
10859
|
"use strict";
|
|
@@ -11026,7 +11072,7 @@ module.exports =
|
|
|
11026
11072
|
/******/
|
|
11027
11073
|
/******/
|
|
11028
11074
|
/******/ // Load entry module and return exports
|
|
11029
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11075
|
+
/******/ return __webpack_require__(__webpack_require__.s = 119);
|
|
11030
11076
|
/******/ })
|
|
11031
11077
|
/************************************************************************/
|
|
11032
11078
|
/******/ ({
|
|
@@ -11133,7 +11179,7 @@ function normalizeComponent (
|
|
|
11133
11179
|
|
|
11134
11180
|
/***/ }),
|
|
11135
11181
|
|
|
11136
|
-
/***/
|
|
11182
|
+
/***/ 119:
|
|
11137
11183
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11138
11184
|
|
|
11139
11185
|
"use strict";
|
|
@@ -11312,6 +11358,13 @@ module.exports = require("core-js/modules/es.function.name.js");
|
|
|
11312
11358
|
|
|
11313
11359
|
/***/ }),
|
|
11314
11360
|
|
|
11361
|
+
/***/ "dc50":
|
|
11362
|
+
/***/ (function(module, exports) {
|
|
11363
|
+
|
|
11364
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
11365
|
+
|
|
11366
|
+
/***/ }),
|
|
11367
|
+
|
|
11315
11368
|
/***/ "dcdc":
|
|
11316
11369
|
/***/ (function(module, exports, __webpack_require__) {
|
|
11317
11370
|
|
|
@@ -11399,7 +11452,7 @@ module.exports =
|
|
|
11399
11452
|
/******/
|
|
11400
11453
|
/******/
|
|
11401
11454
|
/******/ // Load entry module and return exports
|
|
11402
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
11455
|
+
/******/ return __webpack_require__(__webpack_require__.s = 91);
|
|
11403
11456
|
/******/ })
|
|
11404
11457
|
/************************************************************************/
|
|
11405
11458
|
/******/ ({
|
|
@@ -11513,7 +11566,7 @@ module.exports = __webpack_require__("d010");
|
|
|
11513
11566
|
|
|
11514
11567
|
/***/ }),
|
|
11515
11568
|
|
|
11516
|
-
/***/
|
|
11569
|
+
/***/ 91:
|
|
11517
11570
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11518
11571
|
|
|
11519
11572
|
"use strict";
|
|
@@ -12084,7 +12137,7 @@ module.exports =
|
|
|
12084
12137
|
/******/
|
|
12085
12138
|
/******/
|
|
12086
12139
|
/******/ // Load entry module and return exports
|
|
12087
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12140
|
+
/******/ return __webpack_require__(__webpack_require__.s = 54);
|
|
12088
12141
|
/******/ })
|
|
12089
12142
|
/************************************************************************/
|
|
12090
12143
|
/******/ ({
|
|
@@ -12198,7 +12251,7 @@ module.exports = __webpack_require__("8122");
|
|
|
12198
12251
|
|
|
12199
12252
|
/***/ }),
|
|
12200
12253
|
|
|
12201
|
-
/***/
|
|
12254
|
+
/***/ 34:
|
|
12202
12255
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12203
12256
|
|
|
12204
12257
|
"use strict";
|
|
@@ -12456,12 +12509,12 @@ module.exports = __webpack_require__("d010");
|
|
|
12456
12509
|
|
|
12457
12510
|
/***/ }),
|
|
12458
12511
|
|
|
12459
|
-
/***/
|
|
12512
|
+
/***/ 54:
|
|
12460
12513
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12461
12514
|
|
|
12462
12515
|
"use strict";
|
|
12463
12516
|
__webpack_require__.r(__webpack_exports__);
|
|
12464
|
-
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
12517
|
+
/* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
|
|
12465
12518
|
|
|
12466
12519
|
|
|
12467
12520
|
/* istanbul ignore next */
|
|
@@ -12794,7 +12847,7 @@ module.exports =
|
|
|
12794
12847
|
/******/
|
|
12795
12848
|
/******/
|
|
12796
12849
|
/******/ // Load entry module and return exports
|
|
12797
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
12850
|
+
/******/ return __webpack_require__(__webpack_require__.s = 96);
|
|
12798
12851
|
/******/ })
|
|
12799
12852
|
/************************************************************************/
|
|
12800
12853
|
/******/ ({
|
|
@@ -12901,7 +12954,7 @@ function normalizeComponent (
|
|
|
12901
12954
|
|
|
12902
12955
|
/***/ }),
|
|
12903
12956
|
|
|
12904
|
-
/***/
|
|
12957
|
+
/***/ 96:
|
|
12905
12958
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12906
12959
|
|
|
12907
12960
|
"use strict";
|
|
@@ -13015,7 +13068,7 @@ render._withStripped = true
|
|
|
13015
13068
|
return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
|
|
13016
13069
|
},
|
|
13017
13070
|
buttonDisabled: function buttonDisabled() {
|
|
13018
|
-
return this.disabled
|
|
13071
|
+
return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
|
|
13019
13072
|
}
|
|
13020
13073
|
},
|
|
13021
13074
|
|
|
@@ -13193,6 +13246,9 @@ exports.default = {
|
|
|
13193
13246
|
popconfirm: {
|
|
13194
13247
|
confirmButtonText: '确定',
|
|
13195
13248
|
cancelButtonText: '取消'
|
|
13249
|
+
},
|
|
13250
|
+
empty: {
|
|
13251
|
+
description: '暂无数据'
|
|
13196
13252
|
}
|
|
13197
13253
|
}
|
|
13198
13254
|
};
|
|
@@ -13286,7 +13342,7 @@ module.exports =
|
|
|
13286
13342
|
/******/
|
|
13287
13343
|
/******/
|
|
13288
13344
|
/******/ // Load entry module and return exports
|
|
13289
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
13345
|
+
/******/ return __webpack_require__(__webpack_require__.s = 75);
|
|
13290
13346
|
/******/ })
|
|
13291
13347
|
/************************************************************************/
|
|
13292
13348
|
/******/ ({
|
|
@@ -13414,7 +13470,7 @@ module.exports = __webpack_require__("d010");
|
|
|
13414
13470
|
|
|
13415
13471
|
/***/ }),
|
|
13416
13472
|
|
|
13417
|
-
/***/
|
|
13473
|
+
/***/ 75:
|
|
13418
13474
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
13419
13475
|
|
|
13420
13476
|
"use strict";
|
|
@@ -14056,15 +14112,18 @@ var shared_ = __webpack_require__(21);
|
|
|
14056
14112
|
this.focused = true;
|
|
14057
14113
|
this.$emit('focus', event);
|
|
14058
14114
|
},
|
|
14059
|
-
handleCompositionStart: function handleCompositionStart() {
|
|
14115
|
+
handleCompositionStart: function handleCompositionStart(event) {
|
|
14116
|
+
this.$emit('compositionstart', event);
|
|
14060
14117
|
this.isComposing = true;
|
|
14061
14118
|
},
|
|
14062
14119
|
handleCompositionUpdate: function handleCompositionUpdate(event) {
|
|
14120
|
+
this.$emit('compositionupdate', event);
|
|
14063
14121
|
var text = event.target.value;
|
|
14064
14122
|
var lastCharacter = text[text.length - 1] || '';
|
|
14065
14123
|
this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
|
|
14066
14124
|
},
|
|
14067
14125
|
handleCompositionEnd: function handleCompositionEnd(event) {
|
|
14126
|
+
this.$emit('compositionend', event);
|
|
14068
14127
|
if (this.isComposing) {
|
|
14069
14128
|
this.isComposing = false;
|
|
14070
14129
|
this.handleInput(event);
|
|
@@ -14286,7 +14345,7 @@ module.exports =
|
|
|
14286
14345
|
/******/
|
|
14287
14346
|
/******/
|
|
14288
14347
|
/******/ // Load entry module and return exports
|
|
14289
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
14348
|
+
/******/ return __webpack_require__(__webpack_require__.s = 88);
|
|
14290
14349
|
/******/ })
|
|
14291
14350
|
/************************************************************************/
|
|
14292
14351
|
/******/ ({
|
|
@@ -14393,7 +14452,14 @@ function normalizeComponent (
|
|
|
14393
14452
|
|
|
14394
14453
|
/***/ }),
|
|
14395
14454
|
|
|
14396
|
-
/***/
|
|
14455
|
+
/***/ 4:
|
|
14456
|
+
/***/ (function(module, exports) {
|
|
14457
|
+
|
|
14458
|
+
module.exports = __webpack_require__("d010");
|
|
14459
|
+
|
|
14460
|
+
/***/ }),
|
|
14461
|
+
|
|
14462
|
+
/***/ 88:
|
|
14397
14463
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14398
14464
|
|
|
14399
14465
|
"use strict";
|
|
@@ -14463,7 +14529,8 @@ var render = function() {
|
|
|
14463
14529
|
"aria-hidden": "true",
|
|
14464
14530
|
name: _vm.name,
|
|
14465
14531
|
disabled: _vm.isDisabled,
|
|
14466
|
-
tabindex: "-1"
|
|
14532
|
+
tabindex: "-1",
|
|
14533
|
+
autocomplete: "off"
|
|
14467
14534
|
},
|
|
14468
14535
|
domProps: {
|
|
14469
14536
|
value: _vm.label,
|
|
@@ -14560,6 +14627,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
|
|
|
14560
14627
|
//
|
|
14561
14628
|
//
|
|
14562
14629
|
//
|
|
14630
|
+
//
|
|
14563
14631
|
|
|
14564
14632
|
|
|
14565
14633
|
|
|
@@ -14686,13 +14754,6 @@ src_radio.install = function (Vue) {
|
|
|
14686
14754
|
|
|
14687
14755
|
/* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
|
|
14688
14756
|
|
|
14689
|
-
/***/ }),
|
|
14690
|
-
|
|
14691
|
-
/***/ 4:
|
|
14692
|
-
/***/ (function(module, exports) {
|
|
14693
|
-
|
|
14694
|
-
module.exports = __webpack_require__("d010");
|
|
14695
|
-
|
|
14696
14757
|
/***/ })
|
|
14697
14758
|
|
|
14698
14759
|
/******/ });
|
|
@@ -14748,51 +14809,517 @@ if (typeof window !== 'undefined') {
|
|
|
14748
14809
|
// Indicate to webpack that this file can be concatenated
|
|
14749
14810
|
/* harmony default export */ var setPublicPath = (null);
|
|
14750
14811
|
|
|
14751
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14752
|
-
var render = function () {
|
|
14753
|
-
var
|
|
14754
|
-
|
|
14755
|
-
|
|
14756
|
-
|
|
14757
|
-
|
|
14758
|
-
|
|
14759
|
-
|
|
14760
|
-
|
|
14761
|
-
|
|
14762
|
-
|
|
14763
|
-
|
|
14764
|
-
|
|
14765
|
-
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
|
|
14774
|
-
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
|
|
14778
|
-
|
|
14779
|
-
|
|
14780
|
-
|
|
14781
|
-
|
|
14782
|
-
|
|
14783
|
-
|
|
14784
|
-
|
|
14785
|
-
|
|
14812
|
+
// 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&
|
|
14813
|
+
var render = function render() {
|
|
14814
|
+
var _vm = this,
|
|
14815
|
+
_c = _vm._self._c;
|
|
14816
|
+
return _c('div', {
|
|
14817
|
+
directives: [{
|
|
14818
|
+
name: "loading",
|
|
14819
|
+
rawName: "v-loading",
|
|
14820
|
+
value: _vm.loading,
|
|
14821
|
+
expression: "loading"
|
|
14822
|
+
}],
|
|
14823
|
+
staticClass: "flatmap-container",
|
|
14824
|
+
attrs: {
|
|
14825
|
+
"element-loading-text": "Loading...",
|
|
14826
|
+
"element-loading-spinner": "el-icon-loading",
|
|
14827
|
+
"element-loading-background": "rgba(0, 0, 0, 0.3)"
|
|
14828
|
+
}
|
|
14829
|
+
}, [_c('map-svg-sprite-color'), _c('div', {
|
|
14830
|
+
staticStyle: {
|
|
14831
|
+
"height": "100%",
|
|
14832
|
+
"width": "100%",
|
|
14833
|
+
"position": "relative",
|
|
14834
|
+
"overflow-y": "none"
|
|
14835
|
+
}
|
|
14836
|
+
}, [_c('div', {
|
|
14837
|
+
ref: "display",
|
|
14838
|
+
staticStyle: {
|
|
14839
|
+
"height": "100%",
|
|
14840
|
+
"width": "100%"
|
|
14841
|
+
}
|
|
14842
|
+
}), _c('div', {
|
|
14843
|
+
staticClass: "beta-popovers"
|
|
14844
|
+
}, [_c('div', [_c('el-popover', {
|
|
14845
|
+
ref: "warningPopover",
|
|
14846
|
+
attrs: {
|
|
14847
|
+
"content": _vm.warningMessage,
|
|
14848
|
+
"placement": "right",
|
|
14849
|
+
"appendToBody": false,
|
|
14850
|
+
"trigger": "manual",
|
|
14851
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
14852
|
+
},
|
|
14853
|
+
model: {
|
|
14854
|
+
value: _vm.hoverVisibilities[6].value,
|
|
14855
|
+
callback: function callback($$v) {
|
|
14856
|
+
_vm.$set(_vm.hoverVisibilities[6], "value", $$v);
|
|
14857
|
+
},
|
|
14858
|
+
expression: "hoverVisibilities[6].value"
|
|
14859
|
+
}
|
|
14860
|
+
}), _vm.displayWarning && _vm.warningMessage ? _c('i', {
|
|
14861
|
+
directives: [{
|
|
14862
|
+
name: "popover",
|
|
14863
|
+
rawName: "v-popover:warningPopover",
|
|
14864
|
+
arg: "warningPopover"
|
|
14865
|
+
}],
|
|
14866
|
+
staticClass: "el-icon-warning warning-icon",
|
|
14867
|
+
on: {
|
|
14868
|
+
"mouseover": function mouseover($event) {
|
|
14869
|
+
return _vm.showToolitip(6);
|
|
14870
|
+
},
|
|
14871
|
+
"mouseout": function mouseout($event) {
|
|
14872
|
+
return _vm.hideToolitip(6);
|
|
14873
|
+
}
|
|
14874
|
+
}
|
|
14875
|
+
}, [_c('span', {
|
|
14876
|
+
staticClass: "warning-text"
|
|
14877
|
+
}, [_vm._v("Beta")])]) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
|
|
14878
|
+
ref: "latestChangesPopover",
|
|
14879
|
+
attrs: {
|
|
14880
|
+
"content": _vm.latestChangesMessage,
|
|
14881
|
+
"placement": "right",
|
|
14882
|
+
"appendToBody": false,
|
|
14883
|
+
"trigger": "manual",
|
|
14884
|
+
"popper-class": "warning-popper flatmap-popper right-popper"
|
|
14885
|
+
},
|
|
14886
|
+
model: {
|
|
14887
|
+
value: _vm.hoverVisibilities[7].value,
|
|
14888
|
+
callback: function callback($$v) {
|
|
14889
|
+
_vm.$set(_vm.hoverVisibilities[7], "value", $$v);
|
|
14890
|
+
},
|
|
14891
|
+
expression: "hoverVisibilities[7].value"
|
|
14892
|
+
}
|
|
14893
|
+
}) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
|
|
14894
|
+
directives: [{
|
|
14895
|
+
name: "popover",
|
|
14896
|
+
rawName: "v-popover:latestChangesPopover",
|
|
14897
|
+
arg: "latestChangesPopover"
|
|
14898
|
+
}],
|
|
14899
|
+
staticClass: "el-icon-warning latest-changesicon",
|
|
14900
|
+
on: {
|
|
14901
|
+
"mouseover": function mouseover($event) {
|
|
14902
|
+
return _vm.showToolitip(7);
|
|
14903
|
+
},
|
|
14904
|
+
"mouseout": function mouseout($event) {
|
|
14905
|
+
return _vm.hideToolitip(7);
|
|
14906
|
+
}
|
|
14907
|
+
}
|
|
14908
|
+
}, [_c('span', {
|
|
14909
|
+
staticClass: "warning-text"
|
|
14910
|
+
}, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('div', {
|
|
14911
|
+
staticClass: "bottom-right-control"
|
|
14912
|
+
}, [_c('el-popover', {
|
|
14913
|
+
attrs: {
|
|
14914
|
+
"content": "Zoom in",
|
|
14915
|
+
"placement": "left",
|
|
14916
|
+
"appendToBody": false,
|
|
14917
|
+
"trigger": "manual",
|
|
14918
|
+
"popper-class": "flatmap-popper left-popper"
|
|
14919
|
+
},
|
|
14920
|
+
model: {
|
|
14921
|
+
value: _vm.hoverVisibilities[0].value,
|
|
14922
|
+
callback: function callback($$v) {
|
|
14923
|
+
_vm.$set(_vm.hoverVisibilities[0], "value", $$v);
|
|
14924
|
+
},
|
|
14925
|
+
expression: "hoverVisibilities[0].value"
|
|
14926
|
+
}
|
|
14927
|
+
}, [_c('map-svg-icon', {
|
|
14928
|
+
staticClass: "icon-button zoomIn",
|
|
14929
|
+
attrs: {
|
|
14930
|
+
"slot": "reference",
|
|
14931
|
+
"icon": "zoomIn"
|
|
14932
|
+
},
|
|
14933
|
+
nativeOn: {
|
|
14934
|
+
"click": function click($event) {
|
|
14935
|
+
return _vm.zoomIn();
|
|
14936
|
+
},
|
|
14937
|
+
"mouseover": function mouseover($event) {
|
|
14938
|
+
return _vm.showToolitip(0);
|
|
14939
|
+
},
|
|
14940
|
+
"mouseout": function mouseout($event) {
|
|
14941
|
+
return _vm.hideToolitip(0);
|
|
14942
|
+
}
|
|
14943
|
+
},
|
|
14944
|
+
slot: "reference"
|
|
14945
|
+
})], 1), _c('el-popover', {
|
|
14946
|
+
attrs: {
|
|
14947
|
+
"content": "Zoom out",
|
|
14948
|
+
"placement": "top-end",
|
|
14949
|
+
"appendToBody": false,
|
|
14950
|
+
"trigger": "manual",
|
|
14951
|
+
"popper-class": "flatmap-popper popper-zoomout"
|
|
14952
|
+
},
|
|
14953
|
+
model: {
|
|
14954
|
+
value: _vm.hoverVisibilities[1].value,
|
|
14955
|
+
callback: function callback($$v) {
|
|
14956
|
+
_vm.$set(_vm.hoverVisibilities[1], "value", $$v);
|
|
14957
|
+
},
|
|
14958
|
+
expression: "hoverVisibilities[1].value"
|
|
14959
|
+
}
|
|
14960
|
+
}, [_c('map-svg-icon', {
|
|
14961
|
+
staticClass: "icon-button zoomOut",
|
|
14962
|
+
attrs: {
|
|
14963
|
+
"slot": "reference",
|
|
14964
|
+
"icon": "zoomOut"
|
|
14965
|
+
},
|
|
14966
|
+
nativeOn: {
|
|
14967
|
+
"click": function click($event) {
|
|
14968
|
+
return _vm.zoomOut();
|
|
14969
|
+
},
|
|
14970
|
+
"mouseover": function mouseover($event) {
|
|
14971
|
+
return _vm.showToolitip(1);
|
|
14972
|
+
},
|
|
14973
|
+
"mouseout": function mouseout($event) {
|
|
14974
|
+
return _vm.hideToolitip(1);
|
|
14975
|
+
}
|
|
14976
|
+
},
|
|
14977
|
+
slot: "reference"
|
|
14978
|
+
})], 1), _c('el-popover', {
|
|
14979
|
+
attrs: {
|
|
14980
|
+
"content": "Reset",
|
|
14981
|
+
"placement": "top",
|
|
14982
|
+
"appendToBody": false,
|
|
14983
|
+
"trigger": "manual",
|
|
14984
|
+
"popper-class": "flatmap-popper"
|
|
14985
|
+
},
|
|
14986
|
+
model: {
|
|
14987
|
+
value: _vm.hoverVisibilities[2].value,
|
|
14988
|
+
callback: function callback($$v) {
|
|
14989
|
+
_vm.$set(_vm.hoverVisibilities[2], "value", $$v);
|
|
14990
|
+
},
|
|
14991
|
+
expression: "hoverVisibilities[2].value"
|
|
14992
|
+
}
|
|
14993
|
+
}, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
|
|
14994
|
+
staticClass: "icon-button fitWindow",
|
|
14995
|
+
attrs: {
|
|
14996
|
+
"slot": "reference",
|
|
14997
|
+
"icon": "fitWindow"
|
|
14998
|
+
},
|
|
14999
|
+
nativeOn: {
|
|
15000
|
+
"click": function click($event) {
|
|
15001
|
+
return _vm.resetView();
|
|
15002
|
+
},
|
|
15003
|
+
"mouseover": function mouseover($event) {
|
|
15004
|
+
return _vm.showToolitip(2);
|
|
15005
|
+
},
|
|
15006
|
+
"mouseout": function mouseout($event) {
|
|
15007
|
+
return _vm.hideToolitip(2);
|
|
15008
|
+
}
|
|
15009
|
+
},
|
|
15010
|
+
slot: "reference"
|
|
15011
|
+
})], 1)], 1), _c('el-popover', {
|
|
15012
|
+
ref: "checkBoxPopover",
|
|
15013
|
+
attrs: {
|
|
15014
|
+
"content": "Change pathway visibility",
|
|
15015
|
+
"placement": "right",
|
|
15016
|
+
"appendToBody": false,
|
|
15017
|
+
"trigger": "manual",
|
|
15018
|
+
"popper-class": "flatmap-popper right-popper"
|
|
15019
|
+
},
|
|
15020
|
+
model: {
|
|
15021
|
+
value: _vm.hoverVisibilities[4].value,
|
|
15022
|
+
callback: function callback($$v) {
|
|
15023
|
+
_vm.$set(_vm.hoverVisibilities[4], "value", $$v);
|
|
15024
|
+
},
|
|
15025
|
+
expression: "hoverVisibilities[4].value"
|
|
15026
|
+
}
|
|
15027
|
+
}), _c('div', {
|
|
15028
|
+
staticClass: "pathway-location",
|
|
15029
|
+
class: {
|
|
15030
|
+
open: _vm.drawerOpen,
|
|
15031
|
+
close: !_vm.drawerOpen
|
|
15032
|
+
}
|
|
15033
|
+
}, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
|
|
15034
|
+
directives: [{
|
|
15035
|
+
name: "popover",
|
|
15036
|
+
rawName: "v-popover:checkBoxPopover",
|
|
15037
|
+
arg: "checkBoxPopover"
|
|
15038
|
+
}],
|
|
15039
|
+
staticClass: "pathway-container"
|
|
15040
|
+
}, [_c('svg-legends', {
|
|
15041
|
+
staticClass: "svg-legends-container"
|
|
15042
|
+
}), _c('el-popover', {
|
|
15043
|
+
ref: "markerPopover",
|
|
15044
|
+
attrs: {
|
|
15045
|
+
"content": "Find these markers for data",
|
|
15046
|
+
"placement": "right",
|
|
15047
|
+
"appendToBody": false,
|
|
15048
|
+
"trigger": "manual",
|
|
15049
|
+
"popper-class": "flatmap-popper popper-bump-right right-popper"
|
|
15050
|
+
},
|
|
15051
|
+
model: {
|
|
15052
|
+
value: _vm.hoverVisibilities[5].value,
|
|
15053
|
+
callback: function callback($$v) {
|
|
15054
|
+
_vm.$set(_vm.hoverVisibilities[5], "value", $$v);
|
|
15055
|
+
},
|
|
15056
|
+
expression: "hoverVisibilities[5].value"
|
|
15057
|
+
}
|
|
15058
|
+
}), _c('div', {
|
|
15059
|
+
directives: [{
|
|
15060
|
+
name: "show",
|
|
15061
|
+
rawName: "v-show",
|
|
15062
|
+
value: _vm.hoverVisibilities[5].value,
|
|
15063
|
+
expression: "hoverVisibilities[5].value"
|
|
15064
|
+
}, {
|
|
15065
|
+
name: "popover",
|
|
15066
|
+
rawName: "v-popover:markerPopover",
|
|
15067
|
+
arg: "markerPopover"
|
|
15068
|
+
}],
|
|
15069
|
+
staticClass: "flatmap-marker-help",
|
|
15070
|
+
domProps: {
|
|
15071
|
+
"innerHTML": _vm._s(_vm.flatmapMarker)
|
|
15072
|
+
}
|
|
15073
|
+
}), _c('el-row', [_c('el-col', {
|
|
15074
|
+
attrs: {
|
|
15075
|
+
"span": 12
|
|
15076
|
+
}
|
|
15077
|
+
}, [_c('div', {
|
|
15078
|
+
staticClass: "pathways-display-text"
|
|
15079
|
+
}, [_vm._v("Pathways")])]), _c('el-col', {
|
|
15080
|
+
attrs: {
|
|
15081
|
+
"span": 12
|
|
15082
|
+
}
|
|
15083
|
+
}, [_c('el-checkbox', {
|
|
15084
|
+
staticClass: "all-checkbox",
|
|
15085
|
+
attrs: {
|
|
15086
|
+
"indeterminate": _vm.isIndeterminate
|
|
15087
|
+
},
|
|
15088
|
+
on: {
|
|
15089
|
+
"change": _vm.handleCheckAllChange
|
|
15090
|
+
},
|
|
15091
|
+
model: {
|
|
15092
|
+
value: _vm.checkAll,
|
|
15093
|
+
callback: function callback($$v) {
|
|
15094
|
+
_vm.checkAll = $$v;
|
|
15095
|
+
},
|
|
15096
|
+
expression: "checkAll"
|
|
15097
|
+
}
|
|
15098
|
+
}, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
|
|
15099
|
+
staticClass: "checkbox-group",
|
|
15100
|
+
attrs: {
|
|
15101
|
+
"size": "small"
|
|
15102
|
+
},
|
|
15103
|
+
on: {
|
|
15104
|
+
"change": _vm.handleCheckedItemsChange
|
|
15105
|
+
},
|
|
15106
|
+
model: {
|
|
15107
|
+
value: _vm.checkedItems,
|
|
15108
|
+
callback: function callback($$v) {
|
|
15109
|
+
_vm.checkedItems = $$v;
|
|
15110
|
+
},
|
|
15111
|
+
expression: "checkedItems"
|
|
15112
|
+
}
|
|
15113
|
+
}, [_c('div', {
|
|
15114
|
+
staticClass: "checkbox-group-inner"
|
|
15115
|
+
}, _vm._l(_vm.pathways, function (item) {
|
|
15116
|
+
return _c('el-row', {
|
|
15117
|
+
key: item.type,
|
|
15118
|
+
attrs: {
|
|
15119
|
+
"label": item.type
|
|
15120
|
+
}
|
|
15121
|
+
}, [_c('div', {
|
|
15122
|
+
staticClass: "checkbox-container"
|
|
15123
|
+
}, [_c('el-checkbox', {
|
|
15124
|
+
staticClass: "my-checkbox",
|
|
15125
|
+
attrs: {
|
|
15126
|
+
"label": item.type,
|
|
15127
|
+
"checked": true
|
|
15128
|
+
},
|
|
15129
|
+
on: {
|
|
15130
|
+
"change": function change($event) {
|
|
15131
|
+
return _vm.visibilityToggle();
|
|
15132
|
+
}
|
|
15133
|
+
}
|
|
15134
|
+
}, [_c('div', {
|
|
15135
|
+
staticClass: "path-visual",
|
|
15136
|
+
class: item.type
|
|
15137
|
+
}), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
|
|
15138
|
+
}), 1)])], 1) : _vm._e(), _c('div', {
|
|
15139
|
+
staticClass: "drawer-button",
|
|
15140
|
+
class: {
|
|
15141
|
+
open: _vm.drawerOpen,
|
|
15142
|
+
close: !_vm.drawerOpen
|
|
15143
|
+
},
|
|
15144
|
+
on: {
|
|
15145
|
+
"click": _vm.toggleDrawer
|
|
15146
|
+
}
|
|
15147
|
+
}, [_c('i', {
|
|
15148
|
+
staticClass: "el-icon-arrow-left"
|
|
15149
|
+
})])]), _c('el-popover', {
|
|
15150
|
+
ref: "backgroundPopover",
|
|
15151
|
+
attrs: {
|
|
15152
|
+
"placement": "top-start",
|
|
15153
|
+
"width": "175",
|
|
15154
|
+
"appendToBody": false,
|
|
15155
|
+
"trigger": "click",
|
|
15156
|
+
"popper-class": "background-popper"
|
|
15157
|
+
}
|
|
15158
|
+
}, [_c('el-row', {
|
|
15159
|
+
staticClass: "backgroundText"
|
|
15160
|
+
}, [_vm._v("Organs display")]), _c('el-row', {
|
|
15161
|
+
staticClass: "backgroundControl"
|
|
15162
|
+
}, [_c('el-radio-group', {
|
|
15163
|
+
staticClass: "flatmap-radio",
|
|
15164
|
+
on: {
|
|
15165
|
+
"change": _vm.setColour
|
|
15166
|
+
},
|
|
15167
|
+
model: {
|
|
15168
|
+
value: _vm.colourRadio,
|
|
15169
|
+
callback: function callback($$v) {
|
|
15170
|
+
_vm.colourRadio = $$v;
|
|
15171
|
+
},
|
|
15172
|
+
expression: "colourRadio"
|
|
15173
|
+
}
|
|
15174
|
+
}, [_c('el-radio', {
|
|
15175
|
+
attrs: {
|
|
15176
|
+
"label": true
|
|
15177
|
+
}
|
|
15178
|
+
}, [_vm._v("Colour")]), _c('el-radio', {
|
|
15179
|
+
attrs: {
|
|
15180
|
+
"label": false
|
|
15181
|
+
}
|
|
15182
|
+
}, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
|
|
15183
|
+
staticClass: "backgroundSpacer"
|
|
15184
|
+
}), _c('el-row', {
|
|
15185
|
+
staticClass: "backgroundText"
|
|
15186
|
+
}, [_vm._v("Outlines display")]), _c('el-row', {
|
|
15187
|
+
staticClass: "backgroundControl"
|
|
15188
|
+
}, [_c('el-radio-group', {
|
|
15189
|
+
staticClass: "flatmap-radio",
|
|
15190
|
+
on: {
|
|
15191
|
+
"change": _vm.setOutlines
|
|
15192
|
+
},
|
|
15193
|
+
model: {
|
|
15194
|
+
value: _vm.outlinesRadio,
|
|
15195
|
+
callback: function callback($$v) {
|
|
15196
|
+
_vm.outlinesRadio = $$v;
|
|
15197
|
+
},
|
|
15198
|
+
expression: "outlinesRadio"
|
|
15199
|
+
}
|
|
15200
|
+
}, [_c('el-radio', {
|
|
15201
|
+
attrs: {
|
|
15202
|
+
"label": true
|
|
15203
|
+
}
|
|
15204
|
+
}, [_vm._v("Show")]), _c('el-radio', {
|
|
15205
|
+
attrs: {
|
|
15206
|
+
"label": false
|
|
15207
|
+
}
|
|
15208
|
+
}, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
|
|
15209
|
+
staticClass: "backgroundSpacer"
|
|
15210
|
+
}), _c('el-row', {
|
|
15211
|
+
staticClass: "backgroundText"
|
|
15212
|
+
}, [_vm._v("Change background")]), _c('el-row', {
|
|
15213
|
+
staticClass: "backgroundControl"
|
|
15214
|
+
}, _vm._l(_vm.availableBackground, function (item) {
|
|
15215
|
+
return _c('div', {
|
|
15216
|
+
key: item,
|
|
15217
|
+
class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
|
|
15218
|
+
on: {
|
|
15219
|
+
"click": function click($event) {
|
|
15220
|
+
return _vm.backgroundChangeCallback(item);
|
|
15221
|
+
}
|
|
15222
|
+
}
|
|
15223
|
+
});
|
|
15224
|
+
}), 0)], 1), _c('el-popover', {
|
|
15225
|
+
attrs: {
|
|
15226
|
+
"content": "Change background color",
|
|
15227
|
+
"placement": "right",
|
|
15228
|
+
"appendToBody": false,
|
|
15229
|
+
"trigger": "manual",
|
|
15230
|
+
"popper-class": "flatmap-popper right-popper"
|
|
15231
|
+
},
|
|
15232
|
+
model: {
|
|
15233
|
+
value: _vm.hoverVisibilities[3].value,
|
|
15234
|
+
callback: function callback($$v) {
|
|
15235
|
+
_vm.$set(_vm.hoverVisibilities[3], "value", $$v);
|
|
15236
|
+
},
|
|
15237
|
+
expression: "hoverVisibilities[3].value"
|
|
15238
|
+
}
|
|
15239
|
+
}, [_c('map-svg-icon', {
|
|
15240
|
+
directives: [{
|
|
15241
|
+
name: "popover",
|
|
15242
|
+
rawName: "v-popover:backgroundPopover",
|
|
15243
|
+
arg: "backgroundPopover"
|
|
15244
|
+
}],
|
|
15245
|
+
staticClass: "icon-button background-colour",
|
|
15246
|
+
class: {
|
|
15247
|
+
open: _vm.drawerOpen,
|
|
15248
|
+
close: !_vm.drawerOpen
|
|
15249
|
+
},
|
|
15250
|
+
attrs: {
|
|
15251
|
+
"slot": "reference",
|
|
15252
|
+
"icon": "changeBckgd"
|
|
15253
|
+
},
|
|
15254
|
+
nativeOn: {
|
|
15255
|
+
"mouseover": function mouseover($event) {
|
|
15256
|
+
return _vm.showToolitip(3);
|
|
15257
|
+
},
|
|
15258
|
+
"mouseout": function mouseout($event) {
|
|
15259
|
+
return _vm.hideToolitip(3);
|
|
15260
|
+
}
|
|
15261
|
+
},
|
|
15262
|
+
slot: "reference"
|
|
15263
|
+
})], 1), _c('Tooltip', {
|
|
15264
|
+
ref: "tooltip",
|
|
15265
|
+
staticClass: "tooltip",
|
|
15266
|
+
attrs: {
|
|
15267
|
+
"content": _vm.tooltipContent
|
|
15268
|
+
},
|
|
15269
|
+
on: {
|
|
15270
|
+
"resource-selected": _vm.resourceSelected
|
|
15271
|
+
}
|
|
15272
|
+
})], 1)], 1);
|
|
15273
|
+
};
|
|
15274
|
+
var staticRenderFns = [];
|
|
15275
|
+
|
|
15276
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=601cf5a4&scoped=true&
|
|
15277
|
+
|
|
15278
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
15279
|
+
var es_symbol_js_ = __webpack_require__("9b22");
|
|
15280
|
+
|
|
15281
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
|
|
15282
|
+
var es_symbol_description_js_ = __webpack_require__("4933");
|
|
15283
|
+
|
|
15284
|
+
// EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
|
|
15285
|
+
var es_object_to_string_js_ = __webpack_require__("97d3");
|
|
15286
|
+
|
|
15287
|
+
// EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
|
|
15288
|
+
var es_symbol_iterator_js_ = __webpack_require__("2ff9");
|
|
15289
|
+
|
|
15290
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
|
|
15291
|
+
var es_array_iterator_js_ = __webpack_require__("4ccb");
|
|
15292
|
+
|
|
15293
|
+
// EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
|
|
15294
|
+
var es_string_iterator_js_ = __webpack_require__("9bb5");
|
|
15295
|
+
|
|
15296
|
+
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
|
|
15297
|
+
var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
|
|
15298
|
+
|
|
15299
|
+
// EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
|
|
15300
|
+
var es_error_cause_js_ = __webpack_require__("dc50");
|
|
15301
|
+
|
|
15302
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
|
|
15303
|
+
var es_array_slice_js_ = __webpack_require__("ea12");
|
|
15304
|
+
|
|
15305
|
+
// EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
|
|
15306
|
+
var es_function_name_js_ = __webpack_require__("db0a");
|
|
15307
|
+
|
|
15308
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
|
|
14786
15309
|
var es_array_from_js_ = __webpack_require__("4362");
|
|
14787
15310
|
|
|
15311
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
|
|
15312
|
+
var es_regexp_exec_js_ = __webpack_require__("c8a6");
|
|
15313
|
+
|
|
15314
|
+
// EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
|
|
15315
|
+
var es_regexp_test_js_ = __webpack_require__("5a3b");
|
|
15316
|
+
|
|
14788
15317
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
14789
15318
|
function _arrayLikeToArray(arr, len) {
|
|
14790
15319
|
if (len == null || len > arr.length) len = arr.length;
|
|
14791
|
-
|
|
14792
15320
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
14793
15321
|
arr2[i] = arr[i];
|
|
14794
15322
|
}
|
|
14795
|
-
|
|
14796
15323
|
return arr2;
|
|
14797
15324
|
}
|
|
14798
15325
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
@@ -14802,6 +15329,8 @@ function _arrayLikeToArray(arr, len) {
|
|
|
14802
15329
|
|
|
14803
15330
|
|
|
14804
15331
|
|
|
15332
|
+
|
|
15333
|
+
|
|
14805
15334
|
function _unsupportedIterableToArray(o, minLen) {
|
|
14806
15335
|
if (!o) return;
|
|
14807
15336
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -14819,16 +15348,14 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
14819
15348
|
|
|
14820
15349
|
|
|
14821
15350
|
|
|
15351
|
+
|
|
14822
15352
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
14823
15353
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
14824
|
-
|
|
14825
15354
|
if (!it) {
|
|
14826
15355
|
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
14827
15356
|
if (it) o = it;
|
|
14828
15357
|
var i = 0;
|
|
14829
|
-
|
|
14830
15358
|
var F = function F() {};
|
|
14831
|
-
|
|
14832
15359
|
return {
|
|
14833
15360
|
s: F,
|
|
14834
15361
|
n: function n() {
|
|
@@ -14846,13 +15373,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
14846
15373
|
f: F
|
|
14847
15374
|
};
|
|
14848
15375
|
}
|
|
14849
|
-
|
|
14850
15376
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14851
15377
|
}
|
|
14852
|
-
|
|
14853
15378
|
var normalCompletion = true,
|
|
14854
|
-
|
|
14855
|
-
|
|
15379
|
+
didErr = false,
|
|
15380
|
+
err;
|
|
14856
15381
|
return {
|
|
14857
15382
|
s: function s() {
|
|
14858
15383
|
it = it.call(o);
|
|
@@ -14936,11 +15461,8 @@ var es_array_includes_js_ = __webpack_require__("85f7");
|
|
|
14936
15461
|
// EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
|
|
14937
15462
|
var es_string_includes_js_ = __webpack_require__("fd22");
|
|
14938
15463
|
|
|
14939
|
-
// EXTERNAL MODULE: external "core-js/modules/es.
|
|
14940
|
-
var
|
|
14941
|
-
|
|
14942
|
-
// EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
|
|
14943
|
-
var es_string_split_js_ = __webpack_require__("0cda");
|
|
15464
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
15465
|
+
var es_array_push_js_ = __webpack_require__("2439");
|
|
14944
15466
|
|
|
14945
15467
|
// EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
|
|
14946
15468
|
var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
|
|
@@ -14958,10 +15480,157 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14958
15480
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14959
15481
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14960
15482
|
|
|
14961
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14962
|
-
var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function () {
|
|
14963
|
-
var
|
|
14964
|
-
|
|
15483
|
+
// 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&
|
|
15484
|
+
var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function render() {
|
|
15485
|
+
var _vm = this,
|
|
15486
|
+
_c = _vm._self._c;
|
|
15487
|
+
return _c('div', {
|
|
15488
|
+
staticClass: "tooltip-container"
|
|
15489
|
+
}, [_vm.content ? _c('el-main', {
|
|
15490
|
+
directives: [{
|
|
15491
|
+
name: "loading",
|
|
15492
|
+
rawName: "v-loading",
|
|
15493
|
+
value: _vm.loading,
|
|
15494
|
+
expression: "loading"
|
|
15495
|
+
}],
|
|
15496
|
+
staticClass: "main"
|
|
15497
|
+
}, [_vm.content.title ? _c('div', {
|
|
15498
|
+
staticClass: "block"
|
|
15499
|
+
}, [_c('span', {
|
|
15500
|
+
staticClass: "title"
|
|
15501
|
+
}, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
|
|
15502
|
+
staticClass: "block"
|
|
15503
|
+
}, [_c('span', {
|
|
15504
|
+
staticClass: "title"
|
|
15505
|
+
}, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
|
|
15506
|
+
staticClass: "content-container scrollbar"
|
|
15507
|
+
}, [_vm.content.featureIds ? _c('pubmed-viewer', {
|
|
15508
|
+
directives: [{
|
|
15509
|
+
name: "show",
|
|
15510
|
+
rawName: "v-show",
|
|
15511
|
+
value: false,
|
|
15512
|
+
expression: "false"
|
|
15513
|
+
}],
|
|
15514
|
+
staticClass: "block",
|
|
15515
|
+
attrs: {
|
|
15516
|
+
"entry": _vm.content
|
|
15517
|
+
},
|
|
15518
|
+
on: {
|
|
15519
|
+
"pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
|
|
15520
|
+
}
|
|
15521
|
+
}) : _vm._e(), _vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
|
|
15522
|
+
staticClass: "block"
|
|
15523
|
+
}, [_c('div', [_c('span', {
|
|
15524
|
+
staticClass: "attribute-title"
|
|
15525
|
+
}, [_vm._v("Origin")]), _c('el-popover', {
|
|
15526
|
+
attrs: {
|
|
15527
|
+
"width": "250",
|
|
15528
|
+
"trigger": "hover",
|
|
15529
|
+
"append-to-body": false,
|
|
15530
|
+
"popper-class": "popover-origin-help"
|
|
15531
|
+
}
|
|
15532
|
+
}, [_c('i', {
|
|
15533
|
+
staticClass: "el-icon-warning-outline info",
|
|
15534
|
+
attrs: {
|
|
15535
|
+
"slot": "reference"
|
|
15536
|
+
},
|
|
15537
|
+
slot: "reference"
|
|
15538
|
+
}), _c('span', {
|
|
15539
|
+
staticStyle: {
|
|
15540
|
+
"word-break": "keep-all"
|
|
15541
|
+
}
|
|
15542
|
+
}, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
|
|
15543
|
+
return _c('div', {
|
|
15544
|
+
key: origin,
|
|
15545
|
+
staticClass: "attribute-content"
|
|
15546
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
|
|
15547
|
+
staticClass: "seperator"
|
|
15548
|
+
}) : _vm._e()]);
|
|
15549
|
+
}), _c('el-button', {
|
|
15550
|
+
directives: [{
|
|
15551
|
+
name: "show",
|
|
15552
|
+
rawName: "v-show",
|
|
15553
|
+
value: _vm.originsWithDatasets.length > 0,
|
|
15554
|
+
expression: "originsWithDatasets.length > 0"
|
|
15555
|
+
}],
|
|
15556
|
+
staticClass: "button",
|
|
15557
|
+
on: {
|
|
15558
|
+
"click": _vm.openDendrites
|
|
15559
|
+
}
|
|
15560
|
+
}, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
|
|
15561
|
+
staticClass: "block"
|
|
15562
|
+
}, [_c('div', {
|
|
15563
|
+
staticClass: "attribute-title"
|
|
15564
|
+
}, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
|
|
15565
|
+
return _c('div', {
|
|
15566
|
+
key: component,
|
|
15567
|
+
staticClass: "attribute-content"
|
|
15568
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
|
|
15569
|
+
staticClass: "seperator"
|
|
15570
|
+
}) : _vm._e()]);
|
|
15571
|
+
})], 2) : _vm._e(), this.destinations ? _c('div', {
|
|
15572
|
+
staticClass: "block"
|
|
15573
|
+
}, [_c('div', [_c('span', {
|
|
15574
|
+
staticClass: "attribute-title"
|
|
15575
|
+
}, [_vm._v("Destination")]), _c('el-popover', {
|
|
15576
|
+
attrs: {
|
|
15577
|
+
"width": "250",
|
|
15578
|
+
"trigger": "hover",
|
|
15579
|
+
"append-to-body": false,
|
|
15580
|
+
"popper-class": "popover-origin-help"
|
|
15581
|
+
}
|
|
15582
|
+
}, [_c('i', {
|
|
15583
|
+
staticClass: "el-icon-warning-outline info",
|
|
15584
|
+
attrs: {
|
|
15585
|
+
"slot": "reference"
|
|
15586
|
+
},
|
|
15587
|
+
slot: "reference"
|
|
15588
|
+
}), _c('span', {
|
|
15589
|
+
staticStyle: {
|
|
15590
|
+
"word-break": "keep-all"
|
|
15591
|
+
}
|
|
15592
|
+
}, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
|
|
15593
|
+
return _c('div', {
|
|
15594
|
+
key: destination,
|
|
15595
|
+
staticClass: "attribute-content"
|
|
15596
|
+
}, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
|
|
15597
|
+
staticClass: "seperator"
|
|
15598
|
+
}) : _vm._e()]);
|
|
15599
|
+
}), _c('el-button', {
|
|
15600
|
+
directives: [{
|
|
15601
|
+
name: "show",
|
|
15602
|
+
rawName: "v-show",
|
|
15603
|
+
value: _vm.destinationsWithDatasets.length > 0,
|
|
15604
|
+
expression: "destinationsWithDatasets.length > 0"
|
|
15605
|
+
}],
|
|
15606
|
+
staticClass: "button",
|
|
15607
|
+
on: {
|
|
15608
|
+
"click": _vm.openAxons
|
|
15609
|
+
}
|
|
15610
|
+
}, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
|
|
15611
|
+
directives: [{
|
|
15612
|
+
name: "show",
|
|
15613
|
+
rawName: "v-show",
|
|
15614
|
+
value: _vm.components.length > 0,
|
|
15615
|
+
expression: "components.length > 0"
|
|
15616
|
+
}],
|
|
15617
|
+
staticClass: "button",
|
|
15618
|
+
on: {
|
|
15619
|
+
"click": _vm.openAll
|
|
15620
|
+
}
|
|
15621
|
+
}, [_vm._v(" Search for data on components ")]), _vm.pubmedSearchUrl != '' ? _c('el-button', {
|
|
15622
|
+
staticClass: "button",
|
|
15623
|
+
attrs: {
|
|
15624
|
+
"icon": "el-icon-notebook-2"
|
|
15625
|
+
},
|
|
15626
|
+
on: {
|
|
15627
|
+
"click": function click($event) {
|
|
15628
|
+
return _vm.openUrl(_vm.pubmedSearchUrl);
|
|
15629
|
+
}
|
|
15630
|
+
}
|
|
15631
|
+
}, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
|
|
15632
|
+
};
|
|
15633
|
+
var Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns = [];
|
|
14965
15634
|
|
|
14966
15635
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=4a14f4de&scoped=true&
|
|
14967
15636
|
|
|
@@ -14983,6 +15652,7 @@ function _iterableToArray(iter) {
|
|
|
14983
15652
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14984
15653
|
}
|
|
14985
15654
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
15655
|
+
|
|
14986
15656
|
function _nonIterableSpread() {
|
|
14987
15657
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14988
15658
|
}
|
|
@@ -15032,9 +15702,15 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
|
|
|
15032
15702
|
// EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
|
|
15033
15703
|
var es_string_replace_js_ = __webpack_require__("6378");
|
|
15034
15704
|
|
|
15705
|
+
// EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
|
|
15706
|
+
var es_json_stringify_js_ = __webpack_require__("a9ee");
|
|
15707
|
+
|
|
15035
15708
|
// EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
|
|
15036
15709
|
var es_array_flat_js_ = __webpack_require__("da6e");
|
|
15037
15710
|
|
|
15711
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
|
|
15712
|
+
var es_array_unscopables_flat_js_ = __webpack_require__("722b");
|
|
15713
|
+
|
|
15038
15714
|
// EXTERNAL MODULE: external "core-js/modules/es.promise.js"
|
|
15039
15715
|
var es_promise_js_ = __webpack_require__("ec71");
|
|
15040
15716
|
|
|
@@ -15052,10 +15728,49 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
15052
15728
|
var locale = __webpack_require__("4897");
|
|
15053
15729
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
15054
15730
|
|
|
15055
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15056
|
-
var PubmedViewervue_type_template_id_aae60614_scoped_true_render = function () {
|
|
15057
|
-
var
|
|
15058
|
-
|
|
15731
|
+
// 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&
|
|
15732
|
+
var PubmedViewervue_type_template_id_aae60614_scoped_true_render = function render() {
|
|
15733
|
+
var _vm = this,
|
|
15734
|
+
_c = _vm._self._c;
|
|
15735
|
+
return _c('div', {
|
|
15736
|
+
staticClass: "pubmed-container"
|
|
15737
|
+
}, [_c('div', {
|
|
15738
|
+
directives: [{
|
|
15739
|
+
name: "loading",
|
|
15740
|
+
rawName: "v-loading",
|
|
15741
|
+
value: _vm.loading.response,
|
|
15742
|
+
expression: "loading.response"
|
|
15743
|
+
}],
|
|
15744
|
+
staticClass: "block"
|
|
15745
|
+
}, [_c('div', {
|
|
15746
|
+
staticClass: "attribute-title"
|
|
15747
|
+
}, [_vm._v("Pubmed Resources")]), _c('br'), _c('el-carousel', {
|
|
15748
|
+
attrs: {
|
|
15749
|
+
"autoplay": false,
|
|
15750
|
+
"indicator-position": "outside",
|
|
15751
|
+
"height": "250px",
|
|
15752
|
+
"width": "200px"
|
|
15753
|
+
}
|
|
15754
|
+
}, _vm._l(_vm.pubmeds, function (pub, i) {
|
|
15755
|
+
return _c('el-carousel-item', {
|
|
15756
|
+
key: i
|
|
15757
|
+
}, [_c('div', {
|
|
15758
|
+
staticClass: "attribute-content"
|
|
15759
|
+
}, [_c('div', {
|
|
15760
|
+
domProps: {
|
|
15761
|
+
"innerHTML": _vm._s(pub.html)
|
|
15762
|
+
}
|
|
15763
|
+
}), _c('el-link', {
|
|
15764
|
+
staticClass: "el-link",
|
|
15765
|
+
attrs: {
|
|
15766
|
+
"href": pub.url,
|
|
15767
|
+
"underline": false,
|
|
15768
|
+
"target": "_blank"
|
|
15769
|
+
}
|
|
15770
|
+
}, [_vm._v(_vm._s(pub.url))])], 1)]);
|
|
15771
|
+
}), 1)], 1)]);
|
|
15772
|
+
};
|
|
15773
|
+
var PubmedViewervue_type_template_id_aae60614_scoped_true_staticRenderFns = [];
|
|
15059
15774
|
|
|
15060
15775
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=aae60614&scoped=true&
|
|
15061
15776
|
|
|
@@ -15071,36 +15786,38 @@ function _arrayWithHoles(arr) {
|
|
|
15071
15786
|
|
|
15072
15787
|
|
|
15073
15788
|
|
|
15074
|
-
function _iterableToArrayLimit(arr, i) {
|
|
15075
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15076
|
-
|
|
15077
|
-
if (_i == null) return;
|
|
15078
|
-
var _arr = [];
|
|
15079
|
-
var _n = true;
|
|
15080
|
-
var _d = false;
|
|
15081
|
-
|
|
15082
|
-
var _s, _e;
|
|
15083
|
-
|
|
15084
|
-
try {
|
|
15085
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
15086
|
-
_arr.push(_s.value);
|
|
15087
15789
|
|
|
15088
|
-
|
|
15089
|
-
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15790
|
+
function _iterableToArrayLimit(arr, i) {
|
|
15791
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
15792
|
+
if (null != _i) {
|
|
15793
|
+
var _s,
|
|
15794
|
+
_e,
|
|
15795
|
+
_x,
|
|
15796
|
+
_r,
|
|
15797
|
+
_arr = [],
|
|
15798
|
+
_n = !0,
|
|
15799
|
+
_d = !1;
|
|
15094
15800
|
try {
|
|
15095
|
-
if (
|
|
15801
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
15802
|
+
if (Object(_i) !== _i) return;
|
|
15803
|
+
_n = !1;
|
|
15804
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
|
|
15805
|
+
;
|
|
15806
|
+
}
|
|
15807
|
+
} catch (err) {
|
|
15808
|
+
_d = !0, _e = err;
|
|
15096
15809
|
} finally {
|
|
15097
|
-
|
|
15810
|
+
try {
|
|
15811
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
15812
|
+
} finally {
|
|
15813
|
+
if (_d) throw _e;
|
|
15814
|
+
}
|
|
15098
15815
|
}
|
|
15816
|
+
return _arr;
|
|
15099
15817
|
}
|
|
15100
|
-
|
|
15101
|
-
return _arr;
|
|
15102
15818
|
}
|
|
15103
15819
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
|
|
15820
|
+
|
|
15104
15821
|
function _nonIterableRest() {
|
|
15105
15822
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
15106
15823
|
}
|
|
@@ -15133,14 +15850,13 @@ var theme_chalk_link = __webpack_require__("fd71");
|
|
|
15133
15850
|
var lib_link = __webpack_require__("a447");
|
|
15134
15851
|
var lib_link_default = /*#__PURE__*/__webpack_require__.n(lib_link);
|
|
15135
15852
|
|
|
15136
|
-
// EXTERNAL MODULE: external "core-js/modules/web.url.js"
|
|
15137
|
-
var
|
|
15853
|
+
// EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
|
|
15854
|
+
var web_url_search_params_js_ = __webpack_require__("712c");
|
|
15138
15855
|
|
|
15139
15856
|
// EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
|
|
15140
15857
|
var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
15141
15858
|
|
|
15142
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
15143
|
-
|
|
15859
|
+
// 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&
|
|
15144
15860
|
|
|
15145
15861
|
|
|
15146
15862
|
|
|
@@ -15165,28 +15881,6 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
|
|
|
15165
15881
|
|
|
15166
15882
|
|
|
15167
15883
|
|
|
15168
|
-
//
|
|
15169
|
-
//
|
|
15170
|
-
//
|
|
15171
|
-
//
|
|
15172
|
-
//
|
|
15173
|
-
//
|
|
15174
|
-
//
|
|
15175
|
-
//
|
|
15176
|
-
//
|
|
15177
|
-
//
|
|
15178
|
-
//
|
|
15179
|
-
//
|
|
15180
|
-
//
|
|
15181
|
-
//
|
|
15182
|
-
//
|
|
15183
|
-
//
|
|
15184
|
-
//
|
|
15185
|
-
//
|
|
15186
|
-
//
|
|
15187
|
-
//
|
|
15188
|
-
//
|
|
15189
|
-
//
|
|
15190
15884
|
|
|
15191
15885
|
/* eslint-disable no-alert, no-console */
|
|
15192
15886
|
|
|
@@ -15208,7 +15902,6 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15208
15902
|
watch: {
|
|
15209
15903
|
'entry.featureId': function entryFeatureId(val) {
|
|
15210
15904
|
var _this = this;
|
|
15211
|
-
|
|
15212
15905
|
this.flatmapQuery(val).then(function (pb) {
|
|
15213
15906
|
return _this.pubmeds = pb;
|
|
15214
15907
|
});
|
|
@@ -15255,7 +15948,6 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15255
15948
|
},
|
|
15256
15949
|
buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
|
|
15257
15950
|
var sql = 'select distinct publication from publications where entity in (';
|
|
15258
|
-
|
|
15259
15951
|
if (keastIds.length === 1) {
|
|
15260
15952
|
sql += "'".concat(keastIds[0], "')");
|
|
15261
15953
|
} else if (keastIds.length > 1) {
|
|
@@ -15263,16 +15955,15 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15263
15955
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15264
15956
|
}
|
|
15265
15957
|
}
|
|
15266
|
-
|
|
15267
15958
|
return sql;
|
|
15268
15959
|
},
|
|
15269
15960
|
flatmapQuery: function flatmapQuery(keastIds) {
|
|
15270
15961
|
var _this2 = this;
|
|
15271
|
-
|
|
15272
15962
|
if (!keastIds || keastIds.length === 0) return;
|
|
15273
15963
|
this.pubmeds = [];
|
|
15274
|
-
this.loading.response = true;
|
|
15964
|
+
this.loading.response = true;
|
|
15275
15965
|
|
|
15966
|
+
// fetch pubmed publications for the given ids
|
|
15276
15967
|
var data = {
|
|
15277
15968
|
sql: this.buildPubmedSqlStatement(keastIds)
|
|
15278
15969
|
};
|
|
@@ -15286,18 +15977,17 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15286
15977
|
return response.json();
|
|
15287
15978
|
}).then(function (data) {
|
|
15288
15979
|
_this2.responseData = data;
|
|
15289
|
-
_this2.loading.response = false;
|
|
15980
|
+
_this2.loading.response = false;
|
|
15290
15981
|
|
|
15982
|
+
// create links for each pubmedId
|
|
15291
15983
|
if (data.values.length > 0) {
|
|
15292
15984
|
data.values.forEach(function (identifier) {
|
|
15293
15985
|
var ids = _this2.stripPMIDPrefix(identifier[0]);
|
|
15294
|
-
|
|
15295
15986
|
_this2.titleFromPubmed(ids).then(function (bib) {
|
|
15296
15987
|
var _this2$splitLink = _this2.splitLink(bib),
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
|
|
15300
|
-
|
|
15988
|
+
_this2$splitLink2 = _slicedToArray(_this2$splitLink, 2),
|
|
15989
|
+
html = _this2$splitLink2[0],
|
|
15990
|
+
link = _this2$splitLink2[1];
|
|
15301
15991
|
_this2.pubmeds.push({
|
|
15302
15992
|
identifier: identifier[0],
|
|
15303
15993
|
html: html,
|
|
@@ -15305,13 +15995,11 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15305
15995
|
});
|
|
15306
15996
|
});
|
|
15307
15997
|
});
|
|
15308
|
-
|
|
15309
15998
|
_this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
|
|
15310
15999
|
return _this2.stripPMIDPrefix(id[0]);
|
|
15311
16000
|
})));
|
|
15312
16001
|
} else {
|
|
15313
16002
|
_this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
|
|
15314
|
-
|
|
15315
16003
|
}
|
|
15316
16004
|
}).catch(function (error) {
|
|
15317
16005
|
console.error('Error:', error);
|
|
@@ -15327,8 +16015,8 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15327
16015
|
});
|
|
15328
16016
|
// CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
|
|
15329
16017
|
/* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
|
|
15330
|
-
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=aae60614&scoped=true&lang=scss&
|
|
15331
|
-
var
|
|
16018
|
+
// EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=aae60614&prod&scoped=true&lang=scss&
|
|
16019
|
+
var PubmedViewervue_type_style_index_0_id_aae60614_prod_scoped_true_lang_scss_ = __webpack_require__("7451");
|
|
15332
16020
|
|
|
15333
16021
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
15334
16022
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -15337,20 +16025,19 @@ var PubmedViewervue_type_style_index_0_id_aae60614_scoped_true_lang_scss_ = __we
|
|
|
15337
16025
|
// This module is a runtime utility for cleaner component module output and will
|
|
15338
16026
|
// be included in the final webpack user bundle.
|
|
15339
16027
|
|
|
15340
|
-
function normalizeComponent
|
|
16028
|
+
function normalizeComponent(
|
|
15341
16029
|
scriptExports,
|
|
15342
16030
|
render,
|
|
15343
16031
|
staticRenderFns,
|
|
15344
16032
|
functionalTemplate,
|
|
15345
16033
|
injectStyles,
|
|
15346
16034
|
scopeId,
|
|
15347
|
-
moduleIdentifier
|
|
16035
|
+
moduleIdentifier /* server only */,
|
|
15348
16036
|
shadowMode /* vue-cli only */
|
|
15349
16037
|
) {
|
|
15350
16038
|
// Vue.extend constructor export interop
|
|
15351
|
-
var options =
|
|
15352
|
-
? scriptExports.options
|
|
15353
|
-
: scriptExports
|
|
16039
|
+
var options =
|
|
16040
|
+
typeof scriptExports === 'function' ? scriptExports.options : scriptExports
|
|
15354
16041
|
|
|
15355
16042
|
// render functions
|
|
15356
16043
|
if (render) {
|
|
@@ -15370,7 +16057,8 @@ function normalizeComponent (
|
|
|
15370
16057
|
}
|
|
15371
16058
|
|
|
15372
16059
|
var hook
|
|
15373
|
-
if (moduleIdentifier) {
|
|
16060
|
+
if (moduleIdentifier) {
|
|
16061
|
+
// server build
|
|
15374
16062
|
hook = function (context) {
|
|
15375
16063
|
// 2.3 injection
|
|
15376
16064
|
context =
|
|
@@ -15396,11 +16084,11 @@ function normalizeComponent (
|
|
|
15396
16084
|
} else if (injectStyles) {
|
|
15397
16085
|
hook = shadowMode
|
|
15398
16086
|
? function () {
|
|
15399
|
-
|
|
15400
|
-
|
|
15401
|
-
|
|
15402
|
-
|
|
15403
|
-
|
|
16087
|
+
injectStyles.call(
|
|
16088
|
+
this,
|
|
16089
|
+
(options.functional ? this.parent : this).$root.$options.shadowRoot
|
|
16090
|
+
)
|
|
16091
|
+
}
|
|
15404
16092
|
: injectStyles
|
|
15405
16093
|
}
|
|
15406
16094
|
|
|
@@ -15411,16 +16099,14 @@ function normalizeComponent (
|
|
|
15411
16099
|
options._injectStyles = hook
|
|
15412
16100
|
// register for functional component in vue file
|
|
15413
16101
|
var originalRender = options.render
|
|
15414
|
-
options.render = function renderWithStyleInjection
|
|
16102
|
+
options.render = function renderWithStyleInjection(h, context) {
|
|
15415
16103
|
hook.call(context)
|
|
15416
16104
|
return originalRender(h, context)
|
|
15417
16105
|
}
|
|
15418
16106
|
} else {
|
|
15419
16107
|
// inject component registration as beforeCreate hook
|
|
15420
16108
|
var existing = options.beforeCreate
|
|
15421
|
-
options.beforeCreate = existing
|
|
15422
|
-
? [].concat(existing, hook)
|
|
15423
|
-
: [hook]
|
|
16109
|
+
options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
|
|
15424
16110
|
}
|
|
15425
16111
|
}
|
|
15426
16112
|
|
|
@@ -15455,7 +16141,9 @@ var component = normalizeComponent(
|
|
|
15455
16141
|
|
|
15456
16142
|
var EventBus = new external_vue_default.a();
|
|
15457
16143
|
/* harmony default export */ var components_EventBus = (EventBus);
|
|
15458
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
16144
|
+
// 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&
|
|
16145
|
+
|
|
16146
|
+
|
|
15459
16147
|
|
|
15460
16148
|
|
|
15461
16149
|
|
|
@@ -15489,93 +16177,6 @@ var EventBus = new external_vue_default.a();
|
|
|
15489
16177
|
|
|
15490
16178
|
|
|
15491
16179
|
|
|
15492
|
-
//
|
|
15493
|
-
//
|
|
15494
|
-
//
|
|
15495
|
-
//
|
|
15496
|
-
//
|
|
15497
|
-
//
|
|
15498
|
-
//
|
|
15499
|
-
//
|
|
15500
|
-
//
|
|
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
16180
|
|
|
15580
16181
|
/* eslint-disable no-alert, no-console */
|
|
15581
16182
|
|
|
@@ -15586,9 +16187,9 @@ external_vue_default.a.use(lib_button_default.a);
|
|
|
15586
16187
|
external_vue_default.a.use(lib_container_default.a);
|
|
15587
16188
|
external_vue_default.a.use(lib_header_default.a);
|
|
15588
16189
|
external_vue_default.a.use(lib_icon_default.a);
|
|
15589
|
-
external_vue_default.a.use(lib_main_default.a);
|
|
15590
|
-
|
|
16190
|
+
external_vue_default.a.use(lib_main_default.a);
|
|
15591
16191
|
|
|
16192
|
+
// pubmedviewer is currently not in use, but still under review so not ready to delete yet
|
|
15592
16193
|
|
|
15593
16194
|
|
|
15594
16195
|
var _titleCase = function titleCase(str) {
|
|
@@ -15596,14 +16197,13 @@ var _titleCase = function titleCase(str) {
|
|
|
15596
16197
|
return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
|
|
15597
16198
|
});
|
|
15598
16199
|
};
|
|
15599
|
-
|
|
15600
16200
|
var inArray = function inArray(ar1, ar2) {
|
|
15601
16201
|
var as1 = JSON.stringify(ar1);
|
|
15602
16202
|
var as2 = JSON.stringify(ar2);
|
|
15603
16203
|
return as1.indexOf(as2) !== -1;
|
|
15604
|
-
};
|
|
15605
|
-
|
|
16204
|
+
};
|
|
15606
16205
|
|
|
16206
|
+
// remove duplicates by stringifying the objects
|
|
15607
16207
|
var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
|
|
15608
16208
|
return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
|
|
15609
16209
|
return JSON.stringify(e);
|
|
@@ -15611,12 +16211,10 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
|
|
|
15611
16211
|
return JSON.parse(e);
|
|
15612
16212
|
});
|
|
15613
16213
|
};
|
|
15614
|
-
|
|
15615
16214
|
var _capitalise = function capitalise(str) {
|
|
15616
16215
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
15617
16216
|
return "";
|
|
15618
16217
|
};
|
|
15619
|
-
|
|
15620
16218
|
/* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
|
|
15621
16219
|
components: {
|
|
15622
16220
|
PubmedViewer: PubmedViewer
|
|
@@ -15717,10 +16315,7 @@ var _capitalise = function capitalise(str) {
|
|
|
15717
16315
|
},
|
|
15718
16316
|
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
15719
16317
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15720
|
-
|
|
15721
16318
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15722
|
-
|
|
15723
|
-
|
|
15724
16319
|
var found = [];
|
|
15725
16320
|
nodes.forEach(function (n) {
|
|
15726
16321
|
if (Array.isArray(n)) {
|
|
@@ -15733,10 +16328,7 @@ var _capitalise = function capitalise(str) {
|
|
|
15733
16328
|
},
|
|
15734
16329
|
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
15735
16330
|
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
15736
|
-
|
|
15737
16331
|
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
16332
|
var found = [];
|
|
15741
16333
|
nodes.forEach(function (n) {
|
|
15742
16334
|
if (Array.isArray(n)) {
|
|
@@ -15749,21 +16341,18 @@ var _capitalise = function capitalise(str) {
|
|
|
15749
16341
|
},
|
|
15750
16342
|
findComponents: function findComponents(connectivity) {
|
|
15751
16343
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15752
|
-
|
|
15753
16344
|
var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
|
|
15754
16345
|
var found = [];
|
|
15755
16346
|
var terminal = false;
|
|
15756
16347
|
nodes.forEach(function (node) {
|
|
15757
|
-
terminal = false;
|
|
15758
|
-
|
|
16348
|
+
terminal = false;
|
|
16349
|
+
// Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
|
|
15759
16350
|
if (inArray(connectivity.axons, node)) {
|
|
15760
16351
|
terminal = true;
|
|
15761
16352
|
}
|
|
15762
|
-
|
|
15763
16353
|
if (inArray(connectivity.dendrites, node)) {
|
|
15764
16354
|
terminal = true;
|
|
15765
16355
|
}
|
|
15766
|
-
|
|
15767
16356
|
if (!terminal) {
|
|
15768
16357
|
found.push(node);
|
|
15769
16358
|
}
|
|
@@ -15772,7 +16361,6 @@ var _capitalise = function capitalise(str) {
|
|
|
15772
16361
|
},
|
|
15773
16362
|
getOrganCuries: function getOrganCuries() {
|
|
15774
16363
|
var _this = this;
|
|
15775
|
-
|
|
15776
16364
|
fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
|
|
15777
16365
|
return response.json();
|
|
15778
16366
|
}).then(function (data) {
|
|
@@ -15781,7 +16369,6 @@ var _capitalise = function capitalise(str) {
|
|
|
15781
16369
|
},
|
|
15782
16370
|
buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
|
|
15783
16371
|
var sql = 'select knowledge from knowledge where entity in (';
|
|
15784
|
-
|
|
15785
16372
|
if (keastIds.length === 1) {
|
|
15786
16373
|
sql += "'".concat(keastIds[0], "')");
|
|
15787
16374
|
} else if (keastIds.length > 1) {
|
|
@@ -15789,12 +16376,10 @@ var _capitalise = function capitalise(str) {
|
|
|
15789
16376
|
sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
|
|
15790
16377
|
}
|
|
15791
16378
|
}
|
|
15792
|
-
|
|
15793
16379
|
return sql;
|
|
15794
16380
|
},
|
|
15795
16381
|
buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
|
|
15796
16382
|
var sql = 'select entity, label from labels where entity in (';
|
|
15797
|
-
|
|
15798
16383
|
if (uberons.length === 1) {
|
|
15799
16384
|
sql += "'".concat(uberons[0], "')");
|
|
15800
16385
|
} else if (uberons.length > 1) {
|
|
@@ -15802,12 +16387,10 @@ var _capitalise = function capitalise(str) {
|
|
|
15802
16387
|
sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
|
|
15803
16388
|
}
|
|
15804
16389
|
}
|
|
15805
|
-
|
|
15806
16390
|
return sql;
|
|
15807
16391
|
},
|
|
15808
16392
|
createLabelLookup: function createLabelLookup(uberons) {
|
|
15809
16393
|
var _this2 = this;
|
|
15810
|
-
|
|
15811
16394
|
return new Promise(function (resolve) {
|
|
15812
16395
|
var uberonMap = {};
|
|
15813
16396
|
var data = {
|
|
@@ -15824,24 +16407,20 @@ var _capitalise = function capitalise(str) {
|
|
|
15824
16407
|
}).then(function (payload) {
|
|
15825
16408
|
var entity = payload.keys.indexOf("entity");
|
|
15826
16409
|
var label = payload.keys.indexOf("label");
|
|
15827
|
-
|
|
15828
16410
|
if (entity > -1 && label > -1) {
|
|
15829
16411
|
payload.values.forEach(function (pair) {
|
|
15830
16412
|
uberonMap[pair[entity]] = pair[label];
|
|
15831
16413
|
});
|
|
15832
16414
|
}
|
|
15833
|
-
|
|
15834
16415
|
resolve(uberonMap);
|
|
15835
16416
|
});
|
|
15836
16417
|
});
|
|
15837
16418
|
},
|
|
15838
16419
|
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
15839
16420
|
var _this3 = this;
|
|
15840
|
-
|
|
15841
16421
|
var labelList = [];
|
|
15842
16422
|
components.forEach(function (n) {
|
|
15843
16423
|
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
15844
|
-
|
|
15845
16424
|
if (n.length === 2) {
|
|
15846
16425
|
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
15847
16426
|
}
|
|
@@ -15850,7 +16429,6 @@ var _capitalise = function capitalise(str) {
|
|
|
15850
16429
|
},
|
|
15851
16430
|
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
15852
16431
|
var label = lookUp[node[0]];
|
|
15853
|
-
|
|
15854
16432
|
if (node.length === 2 && node[1].length > 0) {
|
|
15855
16433
|
node[1].forEach(function (n) {
|
|
15856
16434
|
if (lookUp[n] == undefined) {
|
|
@@ -15860,12 +16438,10 @@ var _capitalise = function capitalise(str) {
|
|
|
15860
16438
|
}
|
|
15861
16439
|
});
|
|
15862
16440
|
}
|
|
15863
|
-
|
|
15864
16441
|
return label;
|
|
15865
16442
|
},
|
|
15866
16443
|
pathwayQuery: function pathwayQuery(keastIds) {
|
|
15867
16444
|
var _this4 = this;
|
|
15868
|
-
|
|
15869
16445
|
this.destinations = [];
|
|
15870
16446
|
this.origins = [];
|
|
15871
16447
|
this.components = [];
|
|
@@ -15883,24 +16459,19 @@ var _capitalise = function capitalise(str) {
|
|
|
15883
16459
|
}).then(function (response) {
|
|
15884
16460
|
return response.json();
|
|
15885
16461
|
}).then(function (data) {
|
|
15886
|
-
var connectivity = JSON.parse(data.values[0][0]);
|
|
15887
|
-
|
|
15888
|
-
var components = _this4.findComponents(connectivity);
|
|
15889
|
-
|
|
16462
|
+
var connectivity = JSON.parse(data.values[0][0]);
|
|
16463
|
+
// Filter the origin and destinations from components
|
|
16464
|
+
var components = _this4.findComponents(connectivity);
|
|
15890
16465
|
|
|
16466
|
+
// process the nodes for finding datasets
|
|
15891
16467
|
var componentsFlat = _this4.flattenConntectivity(components);
|
|
15892
|
-
|
|
15893
16468
|
var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
|
|
15894
16469
|
var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
|
|
15895
|
-
|
|
15896
16470
|
var axonsFlat = _this4.flattenConntectivity(axons);
|
|
15897
|
-
|
|
15898
16471
|
var dendritesFlat = _this4.flattenConntectivity(dendrites);
|
|
15899
|
-
|
|
15900
16472
|
var conIds = _this4.findAllIdsFromConnectivity(connectivity); // Create list of ids to get labels for
|
|
15901
|
-
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
15902
|
-
|
|
15903
16473
|
|
|
16474
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
15904
16475
|
_this4.createLabelLookup(conIds).then(function (lookUp) {
|
|
15905
16476
|
_this4.destinations = axons.map(function (a) {
|
|
15906
16477
|
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
@@ -15911,9 +16482,9 @@ var _capitalise = function capitalise(str) {
|
|
|
15911
16482
|
_this4.components = components.map(function (c) {
|
|
15912
16483
|
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
15913
16484
|
});
|
|
15914
|
-
});
|
|
15915
|
-
|
|
16485
|
+
});
|
|
15916
16486
|
|
|
16487
|
+
// Filter for the anatomy which is annotated on datasets
|
|
15917
16488
|
_this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
15918
16489
|
return axonsFlat.indexOf(ub.id) !== -1;
|
|
15919
16490
|
});
|
|
@@ -15932,8 +16503,8 @@ var _capitalise = function capitalise(str) {
|
|
|
15932
16503
|
});
|
|
15933
16504
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
15934
16505
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
15935
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4a14f4de&scoped=true&lang=scss&
|
|
15936
|
-
var
|
|
16506
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=4a14f4de&prod&scoped=true&lang=scss&
|
|
16507
|
+
var Tooltipvue_type_style_index_0_id_4a14f4de_prod_scoped_true_lang_scss_ = __webpack_require__("bec2");
|
|
15937
16508
|
|
|
15938
16509
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
15939
16510
|
|
|
@@ -15945,366 +16516,172 @@ var Tooltipvue_type_style_index_0_id_4a14f4de_scoped_true_lang_scss_ = __webpack
|
|
|
15945
16516
|
/* normalize component */
|
|
15946
16517
|
|
|
15947
16518
|
var Tooltip_component = normalizeComponent(
|
|
15948
|
-
components_Tooltipvue_type_script_lang_js_,
|
|
15949
|
-
Tooltipvue_type_template_id_4a14f4de_scoped_true_render,
|
|
15950
|
-
Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns,
|
|
15951
|
-
false,
|
|
15952
|
-
null,
|
|
15953
|
-
"4a14f4de",
|
|
15954
|
-
null
|
|
15955
|
-
|
|
15956
|
-
)
|
|
15957
|
-
|
|
15958
|
-
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
15959
|
-
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15960
|
-
var svg_sprite_ = __webpack_require__("429c");
|
|
15961
|
-
|
|
15962
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15963
|
-
var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function () {
|
|
15964
|
-
var
|
|
15965
|
-
|
|
15966
|
-
|
|
15967
|
-
|
|
15968
|
-
|
|
15969
|
-
|
|
15970
|
-
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
|
|
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
|
-
//
|
|
16519
|
+
components_Tooltipvue_type_script_lang_js_,
|
|
16520
|
+
Tooltipvue_type_template_id_4a14f4de_scoped_true_render,
|
|
16521
|
+
Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns,
|
|
16522
|
+
false,
|
|
16523
|
+
null,
|
|
16524
|
+
"4a14f4de",
|
|
16525
|
+
null
|
|
16526
|
+
|
|
16527
|
+
)
|
|
16528
|
+
|
|
16529
|
+
/* harmony default export */ var Tooltip = (Tooltip_component.exports);
|
|
16530
|
+
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
16531
|
+
var svg_sprite_ = __webpack_require__("429c");
|
|
16532
|
+
|
|
16533
|
+
// 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&
|
|
16534
|
+
var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function render() {
|
|
16535
|
+
var _vm = this,
|
|
16536
|
+
_c = _vm._self._c;
|
|
16537
|
+
return _c('div', {
|
|
16538
|
+
staticClass: "legends-container"
|
|
16539
|
+
}, [_c('svg', {
|
|
16540
|
+
staticStyle: {
|
|
16541
|
+
"enable-background": "new 0 0 500 500"
|
|
16542
|
+
},
|
|
16543
|
+
attrs: {
|
|
16544
|
+
"version": "1.1",
|
|
16545
|
+
"id": "Layer_1",
|
|
16546
|
+
"x": "0px",
|
|
16547
|
+
"y": "0px",
|
|
16548
|
+
"viewBox": "0 0 500 500",
|
|
16549
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
16550
|
+
"xmlns:bx": "https://boxy-svg.com"
|
|
16551
|
+
}
|
|
16552
|
+
}, [_c('defs', [_c('bx:grid', {
|
|
16553
|
+
attrs: {
|
|
16554
|
+
"height": "30.447",
|
|
16555
|
+
"width": "32.516",
|
|
16556
|
+
"x": "0",
|
|
16557
|
+
"y": "0"
|
|
16558
|
+
}
|
|
16559
|
+
})], 1), _c('path', {
|
|
16560
|
+
staticClass: "st0 st0-translate",
|
|
16561
|
+
attrs: {
|
|
16562
|
+
"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"
|
|
16563
|
+
}
|
|
16564
|
+
}), _c('path', {
|
|
16565
|
+
staticClass: "st1",
|
|
16566
|
+
attrs: {
|
|
16567
|
+
"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"
|
|
16568
|
+
}
|
|
16569
|
+
}), _c('path', {
|
|
16570
|
+
staticClass: "st2",
|
|
16571
|
+
attrs: {
|
|
16572
|
+
"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"
|
|
16573
|
+
}
|
|
16574
|
+
}), _c('text', {
|
|
16575
|
+
staticClass: "st3 st4 st5",
|
|
16576
|
+
staticStyle: {
|
|
16577
|
+
"white-space": "pre"
|
|
16578
|
+
},
|
|
16579
|
+
attrs: {
|
|
16580
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
|
|
16581
|
+
}
|
|
16582
|
+
}, [_vm._v("Tissue region")]), _c('path', {
|
|
16583
|
+
staticClass: "st6",
|
|
16584
|
+
attrs: {
|
|
16585
|
+
"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"
|
|
16586
|
+
}
|
|
16587
|
+
}), _c('text', {
|
|
16588
|
+
staticClass: "st3 st4 st5",
|
|
16589
|
+
staticStyle: {
|
|
16590
|
+
"white-space": "pre"
|
|
16591
|
+
},
|
|
16592
|
+
attrs: {
|
|
16593
|
+
"transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
|
|
16594
|
+
}
|
|
16595
|
+
}, [_vm._v("Brain nuclei")]), _c('text', {
|
|
16596
|
+
staticClass: "st3 st4 st5",
|
|
16597
|
+
staticStyle: {
|
|
16598
|
+
"white-space": "pre"
|
|
16599
|
+
},
|
|
16600
|
+
attrs: {
|
|
16601
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
|
|
16602
|
+
}
|
|
16603
|
+
}, [_vm._v("Ganglia")]), _c('text', {
|
|
16604
|
+
staticClass: "st3 st4 st5",
|
|
16605
|
+
staticStyle: {
|
|
16606
|
+
"white-space": "pre"
|
|
16607
|
+
},
|
|
16608
|
+
attrs: {
|
|
16609
|
+
"transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
|
|
16610
|
+
}
|
|
16611
|
+
}, [_vm._v("Nerve plexus")])])]);
|
|
16612
|
+
};
|
|
16613
|
+
var Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns = [];
|
|
16614
|
+
|
|
16615
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
|
|
16616
|
+
|
|
16617
|
+
// 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&
|
|
16618
|
+
/* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
|
|
16619
|
+
name: 'SvgLegends'
|
|
16620
|
+
});
|
|
16621
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
|
|
16622
|
+
/* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
|
|
16623
|
+
// EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=5dafd4cc&prod&scoped=true&lang=scss&
|
|
16624
|
+
var Legendsvue_type_style_index_0_id_5dafd4cc_prod_scoped_true_lang_scss_ = __webpack_require__("0fa6");
|
|
16625
|
+
|
|
16626
|
+
// CONCATENATED MODULE: ./src/components/legends/Legends.vue
|
|
16627
|
+
|
|
16628
|
+
|
|
16629
|
+
|
|
16630
|
+
|
|
16631
|
+
|
|
16632
|
+
|
|
16633
|
+
/* normalize component */
|
|
16634
|
+
|
|
16635
|
+
var Legends_component = normalizeComponent(
|
|
16636
|
+
legends_Legendsvue_type_script_lang_js_,
|
|
16637
|
+
Legendsvue_type_template_id_5dafd4cc_scoped_true_render,
|
|
16638
|
+
Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns,
|
|
16639
|
+
false,
|
|
16640
|
+
null,
|
|
16641
|
+
"5dafd4cc",
|
|
16642
|
+
null
|
|
16643
|
+
|
|
16644
|
+
)
|
|
16645
|
+
|
|
16646
|
+
/* harmony default export */ var Legends = (Legends_component.exports);
|
|
16647
|
+
// CONCATENATED MODULE: ./src/icons/flatmap-marker.js
|
|
16648
|
+
/* 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>');
|
|
16649
|
+
// 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&
|
|
16650
|
+
|
|
16651
|
+
|
|
16652
|
+
|
|
16653
|
+
|
|
16654
|
+
|
|
16655
|
+
|
|
16656
|
+
|
|
16657
|
+
|
|
16658
|
+
|
|
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
|
+
|
|
16308
16685
|
|
|
16309
16686
|
/* eslint-disable no-alert, no-console */
|
|
16310
16687
|
|
|
@@ -16322,15 +16699,12 @@ external_vue_default.a.use(lib_loading_default.a.directive);
|
|
|
16322
16699
|
external_vue_default.a.use(lib_radio_default.a);
|
|
16323
16700
|
external_vue_default.a.use(lib_radio_group_default.a);
|
|
16324
16701
|
external_vue_default.a.use(lib_row_default.a);
|
|
16325
|
-
|
|
16326
16702
|
var ResizeSensor = __webpack_require__("ae66");
|
|
16327
|
-
|
|
16328
16703
|
var mapResize = function mapResize(map) {
|
|
16329
16704
|
return function () {
|
|
16330
16705
|
if (map) map.resize();
|
|
16331
16706
|
};
|
|
16332
16707
|
};
|
|
16333
|
-
|
|
16334
16708
|
/* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
|
|
16335
16709
|
name: "FlatmapVuer",
|
|
16336
16710
|
components: {
|
|
@@ -16346,7 +16720,6 @@ var mapResize = function mapResize(map) {
|
|
|
16346
16720
|
methods: {
|
|
16347
16721
|
backgroundChangeCallback: function backgroundChangeCallback(colour) {
|
|
16348
16722
|
this.currentBackground = colour;
|
|
16349
|
-
|
|
16350
16723
|
if (this.mapImp) {
|
|
16351
16724
|
this.mapImp.setBackgroundColour(this.currentBackground, 1);
|
|
16352
16725
|
}
|
|
@@ -16354,13 +16727,11 @@ var mapResize = function mapResize(map) {
|
|
|
16354
16727
|
toggleDrawer: function toggleDrawer() {
|
|
16355
16728
|
this.drawerOpen = !this.drawerOpen;
|
|
16356
16729
|
},
|
|
16357
|
-
|
|
16358
16730
|
/**
|
|
16359
16731
|
* Function to toggle colour/greyscale of organs.
|
|
16360
16732
|
*/
|
|
16361
16733
|
setColour: function setColour(flag) {
|
|
16362
16734
|
this.colourRadio = flag;
|
|
16363
|
-
|
|
16364
16735
|
if (this.mapImp) {
|
|
16365
16736
|
this.mapImp.setColour({
|
|
16366
16737
|
colour: flag,
|
|
@@ -16368,13 +16739,11 @@ var mapResize = function mapResize(map) {
|
|
|
16368
16739
|
});
|
|
16369
16740
|
}
|
|
16370
16741
|
},
|
|
16371
|
-
|
|
16372
16742
|
/**
|
|
16373
16743
|
* Function to toggle outlines f organs.
|
|
16374
16744
|
*/
|
|
16375
16745
|
setOutlines: function setOutlines(flag) {
|
|
16376
16746
|
this.outlineRadio = flag;
|
|
16377
|
-
|
|
16378
16747
|
if (this.mapImp) {
|
|
16379
16748
|
this.mapImp.setColour({
|
|
16380
16749
|
colour: this.colourRadio,
|
|
@@ -16382,7 +16751,6 @@ var mapResize = function mapResize(map) {
|
|
|
16382
16751
|
});
|
|
16383
16752
|
}
|
|
16384
16753
|
},
|
|
16385
|
-
|
|
16386
16754
|
/**
|
|
16387
16755
|
* Function to toggle paths to default.
|
|
16388
16756
|
* Also called when the associated button is pressed.
|
|
@@ -16397,7 +16765,6 @@ var mapResize = function mapResize(map) {
|
|
|
16397
16765
|
this.checkAll = true;
|
|
16398
16766
|
}
|
|
16399
16767
|
},
|
|
16400
|
-
|
|
16401
16768
|
/**
|
|
16402
16769
|
* Function to zoom in.
|
|
16403
16770
|
* Also called when the associated button is pressed.
|
|
@@ -16407,7 +16774,6 @@ var mapResize = function mapResize(map) {
|
|
|
16407
16774
|
this.mapImp.zoomIn();
|
|
16408
16775
|
}
|
|
16409
16776
|
},
|
|
16410
|
-
|
|
16411
16777
|
/**
|
|
16412
16778
|
* Function to zoom out.
|
|
16413
16779
|
* Also called when the associated button is pressed.
|
|
@@ -16432,7 +16798,6 @@ var mapResize = function mapResize(map) {
|
|
|
16432
16798
|
return a.type;
|
|
16433
16799
|
}) : [];
|
|
16434
16800
|
this.isIndeterminate = false;
|
|
16435
|
-
|
|
16436
16801
|
if (this.mapImp) {
|
|
16437
16802
|
this.mapImp.showPaths(this.checkedItems);
|
|
16438
16803
|
}
|
|
@@ -16442,31 +16807,27 @@ var mapResize = function mapResize(map) {
|
|
|
16442
16807
|
},
|
|
16443
16808
|
eventCallback: function eventCallback() {
|
|
16444
16809
|
var _this = this;
|
|
16445
|
-
|
|
16446
16810
|
return function (eventType, data) {
|
|
16447
16811
|
if (eventType !== "pan-zoom") {
|
|
16448
16812
|
var label = data.label;
|
|
16449
16813
|
var resource = [data.models];
|
|
16450
16814
|
var taxonomy = _this.entry;
|
|
16451
|
-
var
|
|
16452
|
-
|
|
16815
|
+
var biologicalSex = _this.biologicalSex;
|
|
16453
16816
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
16454
16817
|
args[_key - 2] = arguments[_key];
|
|
16455
16818
|
}
|
|
16456
|
-
|
|
16457
16819
|
var payload = {
|
|
16458
16820
|
dataset: data.dataset,
|
|
16459
|
-
|
|
16821
|
+
biologicalSex: biologicalSex,
|
|
16460
16822
|
taxonomy: taxonomy,
|
|
16461
16823
|
resource: resource,
|
|
16462
16824
|
label: label,
|
|
16463
16825
|
feature: data,
|
|
16464
16826
|
userData: args,
|
|
16465
16827
|
eventType: eventType
|
|
16466
|
-
};
|
|
16467
|
-
|
|
16828
|
+
};
|
|
16829
|
+
// Disable the nueron pop up for now.
|
|
16468
16830
|
if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
|
|
16469
|
-
|
|
16470
16831
|
_this.$emit("resource-selected", payload);
|
|
16471
16832
|
} else {
|
|
16472
16833
|
_this.$emit("pan-zoom-callback", data);
|
|
@@ -16490,7 +16851,6 @@ var mapResize = function mapResize(map) {
|
|
|
16490
16851
|
if (ftooltip) ftooltip.style.display = "none";
|
|
16491
16852
|
document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
|
|
16492
16853
|
this.$refs.tooltip.$el.style.display = "flex";
|
|
16493
|
-
|
|
16494
16854
|
document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
|
|
16495
16855
|
document.querySelector(".flatmap-tooltip-popup").style.display = "block";
|
|
16496
16856
|
};
|
|
@@ -16504,14 +16864,13 @@ var mapResize = function mapResize(map) {
|
|
|
16504
16864
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
16505
16865
|
return true;
|
|
16506
16866
|
}
|
|
16507
|
-
}
|
|
16508
|
-
|
|
16509
|
-
|
|
16867
|
+
}
|
|
16868
|
+
// annotated with datset check
|
|
16510
16869
|
if (data.dataset) {
|
|
16511
16870
|
return true;
|
|
16512
|
-
}
|
|
16513
|
-
|
|
16871
|
+
}
|
|
16514
16872
|
|
|
16873
|
+
// if there is no cuff, neural data, or dataset we do not display neuron tooltip
|
|
16515
16874
|
return false;
|
|
16516
16875
|
},
|
|
16517
16876
|
createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
|
|
@@ -16523,8 +16882,9 @@ var mapResize = function mapResize(map) {
|
|
|
16523
16882
|
distribution: undefined,
|
|
16524
16883
|
actions: []
|
|
16525
16884
|
};
|
|
16526
|
-
this.tooltipVisible = false;
|
|
16885
|
+
this.tooltipVisible = false;
|
|
16527
16886
|
|
|
16887
|
+
// neural data check
|
|
16528
16888
|
if (feature) {
|
|
16529
16889
|
if (feature.includes('ilxtr:neuron')) {
|
|
16530
16890
|
this.tooltipVisible = true;
|
|
@@ -16541,9 +16901,8 @@ var mapResize = function mapResize(map) {
|
|
|
16541
16901
|
nervePath: true
|
|
16542
16902
|
});
|
|
16543
16903
|
}
|
|
16544
|
-
}
|
|
16545
|
-
|
|
16546
|
-
|
|
16904
|
+
}
|
|
16905
|
+
// annotated with datset check
|
|
16547
16906
|
if (data.dataset) {
|
|
16548
16907
|
this.tooltipVisible = true;
|
|
16549
16908
|
this.tooltipContent = content;
|
|
@@ -16561,7 +16920,6 @@ var mapResize = function mapResize(map) {
|
|
|
16561
16920
|
// Keeping this as an API
|
|
16562
16921
|
showPopup: function showPopup(featureId, node, options) {
|
|
16563
16922
|
var myOptions = options;
|
|
16564
|
-
|
|
16565
16923
|
if (this.mapImp) {
|
|
16566
16924
|
if (myOptions) {
|
|
16567
16925
|
if (!myOptions.className) myOptions.className = "flatmapvuer-popover";
|
|
@@ -16571,7 +16929,6 @@ var mapResize = function mapResize(map) {
|
|
|
16571
16929
|
positionAtLastClick: true
|
|
16572
16930
|
};
|
|
16573
16931
|
}
|
|
16574
|
-
|
|
16575
16932
|
this.mapImp.showPopup(featureId, node, myOptions);
|
|
16576
16933
|
}
|
|
16577
16934
|
},
|
|
@@ -16597,7 +16954,6 @@ var mapResize = function mapResize(map) {
|
|
|
16597
16954
|
},
|
|
16598
16955
|
showToolitip: function showToolitip(tooltipNumber) {
|
|
16599
16956
|
var _this2 = this;
|
|
16600
|
-
|
|
16601
16957
|
if (!this.inHelp) {
|
|
16602
16958
|
this.tooltipWait = setTimeout(function () {
|
|
16603
16959
|
_this2.hoverVisibilities[tooltipNumber].value = true;
|
|
@@ -16627,13 +16983,10 @@ var mapResize = function mapResize(map) {
|
|
|
16627
16983
|
},
|
|
16628
16984
|
getLabels: function getLabels() {
|
|
16629
16985
|
var labels = [];
|
|
16630
|
-
|
|
16631
16986
|
if (this.mapImp) {
|
|
16632
16987
|
var annotations = this.mapImp.annotations;
|
|
16633
|
-
|
|
16634
16988
|
var _iterator = _createForOfIteratorHelper(annotations.values()),
|
|
16635
|
-
|
|
16636
|
-
|
|
16989
|
+
_step;
|
|
16637
16990
|
try {
|
|
16638
16991
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
16639
16992
|
var value = _step.value;
|
|
@@ -16644,7 +16997,6 @@ var mapResize = function mapResize(map) {
|
|
|
16644
16997
|
} finally {
|
|
16645
16998
|
_iterator.f();
|
|
16646
16999
|
}
|
|
16647
|
-
|
|
16648
17000
|
return Array.from(new Set(labels));
|
|
16649
17001
|
}
|
|
16650
17002
|
},
|
|
@@ -16652,18 +17004,17 @@ var mapResize = function mapResize(map) {
|
|
|
16652
17004
|
if (this.mapImp) {
|
|
16653
17005
|
var state = {
|
|
16654
17006
|
entry: this.entry,
|
|
16655
|
-
|
|
17007
|
+
biologicalSex: this.biologicalSex,
|
|
16656
17008
|
viewport: this.mapImp.getState()
|
|
16657
17009
|
};
|
|
16658
17010
|
return state;
|
|
16659
17011
|
}
|
|
16660
|
-
|
|
16661
17012
|
return undefined;
|
|
16662
17013
|
},
|
|
16663
17014
|
setState: function setState(state) {
|
|
16664
17015
|
if (state) {
|
|
16665
|
-
if (this.mapImp &&
|
|
16666
|
-
if (
|
|
17016
|
+
if (this.mapImp && state.entry && this.entry == state.entry && (!state.biologicalSex || state.biologicalSex === this.biologicalSex)) {
|
|
17017
|
+
if (state.viewport) {
|
|
16667
17018
|
this.mapImp.setState(state.viewport);
|
|
16668
17019
|
}
|
|
16669
17020
|
} else {
|
|
@@ -16673,26 +17024,50 @@ var mapResize = function mapResize(map) {
|
|
|
16673
17024
|
},
|
|
16674
17025
|
createFlatmap: function createFlatmap(state) {
|
|
16675
17026
|
var _this3 = this;
|
|
16676
|
-
|
|
16677
17027
|
if (!this.mapImp && !this.loading) {
|
|
16678
17028
|
this.loading = true;
|
|
16679
17029
|
var minimap = false;
|
|
16680
|
-
|
|
16681
17030
|
if (this.displayMinimap) {
|
|
16682
17031
|
minimap = {
|
|
16683
17032
|
position: "top-right"
|
|
16684
17033
|
};
|
|
16685
17034
|
}
|
|
16686
17035
|
|
|
16687
|
-
|
|
16688
|
-
|
|
16689
|
-
|
|
16690
|
-
|
|
16691
|
-
|
|
16692
|
-
|
|
17036
|
+
//As for flatmap-viewer@2.2.6, see belowf for the documentation
|
|
17037
|
+
//for the identifier:
|
|
17038
|
+
|
|
17039
|
+
//@arg identifier {string|Object}
|
|
17040
|
+
// A string or object identifying the map to load. If a string its
|
|
17041
|
+
// value can be either the map's ``uuid``, assigned at generation time,
|
|
17042
|
+
// or taxon and biological sex identifiers of the species that the map
|
|
17043
|
+
// represents. The latest version of a map is loaded unless it has been
|
|
17044
|
+
// identified using a ``uuid`` (see below).
|
|
17045
|
+
// @arg identifier.taxon {string} The taxon identifier of the species
|
|
17046
|
+
// represented by the map. This is specified as metadata in the map's source file.
|
|
17047
|
+
// @arg identifier.biologicalSex {string} The biological sex of the species
|
|
17048
|
+
// represented by the map. This is specified as metadatain the map's source file.
|
|
17049
|
+
// @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
|
|
17050
|
+
// be loaded, overriding ``taxon`` and ``biologicalSex``.
|
|
17051
|
+
|
|
17052
|
+
var identifier = {
|
|
17053
|
+
taxon: this.entry
|
|
17054
|
+
};
|
|
17055
|
+
if (state && state.entry) {
|
|
17056
|
+
identifier.taxon = state.entry;
|
|
17057
|
+
if (state.biologicalSex) {
|
|
17058
|
+
identifier["biologicalSex"] = state.biologicalSex;
|
|
17059
|
+
} else if (identifier.taxon === "NCBITaxon:9606") {
|
|
17060
|
+
//For backward compatibility
|
|
17061
|
+
identifier["biologicalSex"] = "PATO:0000384";
|
|
17062
|
+
}
|
|
17063
|
+
} else {
|
|
17064
|
+
// Set the bioloicalSex now if map is not resumed from
|
|
17065
|
+
// a saved state
|
|
17066
|
+
if (this.biologicalSex) {
|
|
17067
|
+
identifier["biologicalSex"] = this.biologicalSex;
|
|
17068
|
+
}
|
|
16693
17069
|
}
|
|
16694
|
-
|
|
16695
|
-
var promise1 = this.mapManager.loadMap(entry, this.$refs.display, this.eventCallback(), {
|
|
17070
|
+
var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
|
|
16696
17071
|
//fullscreenControl: false,
|
|
16697
17072
|
//annotatable: false,
|
|
16698
17073
|
//debug: true,
|
|
@@ -16706,20 +17081,15 @@ var mapResize = function mapResize(map) {
|
|
|
16706
17081
|
promise1.then(function (returnedObject) {
|
|
16707
17082
|
_this3.mapImp = returnedObject;
|
|
16708
17083
|
_this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
|
|
16709
|
-
|
|
16710
17084
|
_this3.mapImp.setBackgroundOpacity(1);
|
|
16711
|
-
|
|
16712
17085
|
_this3.backgroundChangeCallback(_this3.currentBackground);
|
|
16713
|
-
|
|
16714
17086
|
_this3.pathways = _this3.mapImp.pathTypes();
|
|
16715
|
-
|
|
16716
17087
|
_this3.$emit("ready", _this3);
|
|
16717
|
-
|
|
16718
17088
|
_this3.loading = false;
|
|
16719
17089
|
if (_this3._viewportToBeSet) _this3.mapImp.setState(_this3._viewportToBeSet);else if (state && state.viewport) _this3.mapImp.setState(state.viewport);
|
|
16720
17090
|
});
|
|
16721
17091
|
} else if (state) {
|
|
16722
|
-
if (this.
|
|
17092
|
+
if (this.entry == state.entry) this._viewportToBeSet = state.viewport;
|
|
16723
17093
|
}
|
|
16724
17094
|
},
|
|
16725
17095
|
showMinimap: function showMinimap(flag) {
|
|
@@ -16728,7 +17098,6 @@ var mapResize = function mapResize(map) {
|
|
|
16728
17098
|
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
16729
17099
|
this.drawerOpen = flag;
|
|
16730
17100
|
},
|
|
16731
|
-
|
|
16732
17101
|
/**
|
|
16733
17102
|
* Function to display features with annotation matching the provided term.
|
|
16734
17103
|
*/
|
|
@@ -16739,17 +17108,14 @@ var mapResize = function mapResize(map) {
|
|
|
16739
17108
|
return true;
|
|
16740
17109
|
} else {
|
|
16741
17110
|
var searchResults = this.mapImp.search(term);
|
|
16742
|
-
|
|
16743
17111
|
if (searchResults && searchResults.__featureIds.length > 0) {
|
|
16744
17112
|
this.mapImp.showSearchResults(searchResults);
|
|
16745
17113
|
return true;
|
|
16746
17114
|
} else this.mapImp.clearSearchResults();
|
|
16747
17115
|
}
|
|
16748
17116
|
}
|
|
16749
|
-
|
|
16750
17117
|
return false;
|
|
16751
17118
|
},
|
|
16752
|
-
|
|
16753
17119
|
/**
|
|
16754
17120
|
* Get the list of suggested terms
|
|
16755
17121
|
*/
|
|
@@ -16760,7 +17126,7 @@ var mapResize = function mapResize(map) {
|
|
|
16760
17126
|
},
|
|
16761
17127
|
props: {
|
|
16762
17128
|
entry: String,
|
|
16763
|
-
|
|
17129
|
+
biologicalSex: String,
|
|
16764
17130
|
featureInfo: {
|
|
16765
17131
|
type: Boolean,
|
|
16766
17132
|
default: false
|
|
@@ -16809,7 +17175,6 @@ var mapResize = function mapResize(map) {
|
|
|
16809
17175
|
type: String,
|
|
16810
17176
|
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
16811
17177
|
},
|
|
16812
|
-
|
|
16813
17178
|
/**
|
|
16814
17179
|
* State containing state of the flatmap.
|
|
16815
17180
|
*/
|
|
@@ -16817,7 +17182,6 @@ var mapResize = function mapResize(map) {
|
|
|
16817
17182
|
type: Object,
|
|
16818
17183
|
default: undefined
|
|
16819
17184
|
},
|
|
16820
|
-
|
|
16821
17185
|
/**
|
|
16822
17186
|
* Specify the endpoint of the flatmap server.
|
|
16823
17187
|
*/
|
|
@@ -16876,9 +17240,6 @@ var mapResize = function mapResize(map) {
|
|
|
16876
17240
|
entry: function entry() {
|
|
16877
17241
|
if (!this.state) this.createFlatmap();
|
|
16878
17242
|
},
|
|
16879
|
-
flatmapId: function flatmapId() {
|
|
16880
|
-
if (!this.state) this.createFlatmap();
|
|
16881
|
-
},
|
|
16882
17243
|
helpMode: function helpMode(val) {
|
|
16883
17244
|
this.setHelpMode(val);
|
|
16884
17245
|
},
|
|
@@ -16892,15 +17253,14 @@ var mapResize = function mapResize(map) {
|
|
|
16892
17253
|
},
|
|
16893
17254
|
mounted: function mounted() {
|
|
16894
17255
|
var flatmap = __webpack_require__("4979");
|
|
16895
|
-
|
|
16896
17256
|
this.mapManager = new flatmap.MapManager(this.flatmapAPI);
|
|
16897
17257
|
if (this.renderAtMounted) this.createFlatmap();
|
|
16898
17258
|
}
|
|
16899
17259
|
});
|
|
16900
17260
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16901
17261
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16902
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16903
|
-
var
|
|
17262
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=601cf5a4&prod&scoped=true&lang=scss&
|
|
17263
|
+
var FlatmapVuervue_type_style_index_0_id_601cf5a4_prod_scoped_true_lang_scss_ = __webpack_require__("587b");
|
|
16904
17264
|
|
|
16905
17265
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16906
17266
|
|
|
@@ -16917,18 +17277,125 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16917
17277
|
staticRenderFns,
|
|
16918
17278
|
false,
|
|
16919
17279
|
null,
|
|
16920
|
-
"
|
|
17280
|
+
"601cf5a4",
|
|
16921
17281
|
null
|
|
16922
17282
|
|
|
16923
17283
|
)
|
|
16924
17284
|
|
|
16925
17285
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16926
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16927
|
-
var
|
|
16928
|
-
var
|
|
16929
|
-
|
|
17286
|
+
// 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&
|
|
17287
|
+
var MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render = function render() {
|
|
17288
|
+
var _vm = this,
|
|
17289
|
+
_c = _vm._self._c;
|
|
17290
|
+
return _c('div', {
|
|
17291
|
+
staticClass: "multi-container"
|
|
17292
|
+
}, [_c('div', {
|
|
17293
|
+
staticStyle: {
|
|
17294
|
+
"position": "absolute",
|
|
17295
|
+
"z-index": "10"
|
|
17296
|
+
}
|
|
17297
|
+
}, [_c('div', {
|
|
17298
|
+
staticClass: "species-display-text"
|
|
17299
|
+
}, [_vm._v(" Species ")]), _c('el-popover', {
|
|
17300
|
+
ref: "selectPopover",
|
|
17301
|
+
attrs: {
|
|
17302
|
+
"content": "Select a species",
|
|
17303
|
+
"placement": "right",
|
|
17304
|
+
"appendToBody": false,
|
|
17305
|
+
"trigger": "manual",
|
|
17306
|
+
"popper-class": "flatmap-popper right-popper"
|
|
17307
|
+
},
|
|
17308
|
+
model: {
|
|
17309
|
+
value: _vm.helpMode,
|
|
17310
|
+
callback: function callback($$v) {
|
|
17311
|
+
_vm.helpMode = $$v;
|
|
17312
|
+
},
|
|
17313
|
+
expression: "helpMode"
|
|
17314
|
+
}
|
|
17315
|
+
}), _c('el-select', {
|
|
17316
|
+
directives: [{
|
|
17317
|
+
name: "popover",
|
|
17318
|
+
rawName: "v-popover:selectPopover",
|
|
17319
|
+
arg: "selectPopover"
|
|
17320
|
+
}],
|
|
17321
|
+
staticClass: "select-box",
|
|
17322
|
+
attrs: {
|
|
17323
|
+
"id": "flatmap-select",
|
|
17324
|
+
"popper-append-to-body": _vm.appendToBody,
|
|
17325
|
+
"placeholder": "Select",
|
|
17326
|
+
"popper-class": "flatmap_dropdown"
|
|
17327
|
+
},
|
|
17328
|
+
on: {
|
|
17329
|
+
"change": _vm.flatmapChanged
|
|
17330
|
+
},
|
|
17331
|
+
model: {
|
|
17332
|
+
value: _vm.activeSpecies,
|
|
17333
|
+
callback: function callback($$v) {
|
|
17334
|
+
_vm.activeSpecies = $$v;
|
|
17335
|
+
},
|
|
17336
|
+
expression: "activeSpecies"
|
|
17337
|
+
}
|
|
17338
|
+
}, _vm._l(_vm.speciesList, function (item, key) {
|
|
17339
|
+
return _c('el-option', {
|
|
17340
|
+
key: key,
|
|
17341
|
+
attrs: {
|
|
17342
|
+
"label": key,
|
|
17343
|
+
"value": key
|
|
17344
|
+
}
|
|
17345
|
+
}, [_c('el-row', [_c('el-col', {
|
|
17346
|
+
attrs: {
|
|
17347
|
+
"span": 8
|
|
17348
|
+
}
|
|
17349
|
+
}, [_c('i', {
|
|
17350
|
+
class: item.iconClass
|
|
17351
|
+
})]), _c('el-col', {
|
|
17352
|
+
attrs: {
|
|
17353
|
+
"span": 12
|
|
17354
|
+
}
|
|
17355
|
+
}, [_vm._v(_vm._s(key))])], 1)], 1);
|
|
17356
|
+
}), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
|
|
17357
|
+
return _c('FlatmapVuer', {
|
|
17358
|
+
directives: [{
|
|
17359
|
+
name: "show",
|
|
17360
|
+
rawName: "v-show",
|
|
17361
|
+
value: _vm.activeSpecies == key,
|
|
17362
|
+
expression: "activeSpecies==key"
|
|
17363
|
+
}],
|
|
17364
|
+
key: key,
|
|
17365
|
+
ref: key,
|
|
17366
|
+
refInFor: true,
|
|
17367
|
+
staticStyle: {
|
|
17368
|
+
"height": "100%"
|
|
17369
|
+
},
|
|
17370
|
+
attrs: {
|
|
17371
|
+
"showLayer": _vm.showLayer,
|
|
17372
|
+
"entry": item.taxo,
|
|
17373
|
+
"biologicalSex": item.biologicalSex,
|
|
17374
|
+
"displayWarning": item.displayWarning,
|
|
17375
|
+
"warningMessage": _vm.warningMessage,
|
|
17376
|
+
"displayLatestChanges": item.displayLatestChanges,
|
|
17377
|
+
"latestChangesMessage": item.latestChangesMessage,
|
|
17378
|
+
"featureInfo": _vm.featureInfo,
|
|
17379
|
+
"minZoom": _vm.minZoom,
|
|
17380
|
+
"pathControls": _vm.pathControls,
|
|
17381
|
+
"searchable": _vm.searchable,
|
|
17382
|
+
"helpMode": _vm.helpMode,
|
|
17383
|
+
"renderAtMounted": _vm.renderAtMounted,
|
|
17384
|
+
"displayMinimap": _vm.displayMinimap,
|
|
17385
|
+
"flatmapAPI": _vm.flatmapAPI,
|
|
17386
|
+
"sparcAPI": _vm.sparcAPI
|
|
17387
|
+
},
|
|
17388
|
+
on: {
|
|
17389
|
+
"resource-selected": _vm.FlatmapSelected,
|
|
17390
|
+
"ready": _vm.FlatmapReady,
|
|
17391
|
+
"pan-zoom-callback": _vm.panZoomCallback
|
|
17392
|
+
}
|
|
17393
|
+
});
|
|
17394
|
+
})], 2);
|
|
17395
|
+
};
|
|
17396
|
+
var MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_staticRenderFns = [];
|
|
16930
17397
|
|
|
16931
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
17398
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0ad8a77b&scoped=true&
|
|
16932
17399
|
|
|
16933
17400
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16934
17401
|
var popover = __webpack_require__("06f1");
|
|
@@ -16954,8 +17421,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
|
|
|
16954
17421
|
// EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
|
|
16955
17422
|
var es_object_keys_js_ = __webpack_require__("ea64");
|
|
16956
17423
|
|
|
16957
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--
|
|
16958
|
-
|
|
17424
|
+
// 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&
|
|
16959
17425
|
|
|
16960
17426
|
|
|
16961
17427
|
|
|
@@ -16975,63 +17441,6 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
16975
17441
|
|
|
16976
17442
|
|
|
16977
17443
|
|
|
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
|
-
//
|
|
17032
|
-
//
|
|
17033
|
-
//
|
|
17034
|
-
//
|
|
17035
17444
|
|
|
17036
17445
|
/* eslint-disable no-alert, no-console */
|
|
17037
17446
|
|
|
@@ -17052,7 +17461,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17052
17461
|
},
|
|
17053
17462
|
mounted: function mounted() {
|
|
17054
17463
|
var _this = this;
|
|
17055
|
-
|
|
17056
17464
|
this.initialise();
|
|
17057
17465
|
components_EventBus.$on('onActionClick', function (action) {
|
|
17058
17466
|
_this.FlatmapSelected(action);
|
|
@@ -17061,40 +17469,36 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17061
17469
|
methods: {
|
|
17062
17470
|
initialise: function initialise() {
|
|
17063
17471
|
var _this2 = this;
|
|
17064
|
-
|
|
17065
17472
|
return new Promise(function (resolve) {
|
|
17066
17473
|
fetch(_this2.flatmapAPI).then(function (response) {
|
|
17067
17474
|
return response.json();
|
|
17068
17475
|
}).then(function (data) {
|
|
17069
|
-
_this2.
|
|
17476
|
+
_this2.speciesList = {};
|
|
17070
17477
|
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
17071
17478
|
for (var i = 0; i < data.length; i++) {
|
|
17072
|
-
if (_this2.availableSpecies[key].id === data[i].id) {
|
|
17073
|
-
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
17074
|
-
break;
|
|
17075
|
-
}
|
|
17076
|
-
|
|
17077
17479
|
if (_this2.availableSpecies[key].taxo === data[i].taxon) {
|
|
17078
|
-
|
|
17079
|
-
|
|
17080
|
-
|
|
17081
|
-
|
|
17480
|
+
if (_this2.availableSpecies[key].biologicalSex) {
|
|
17481
|
+
if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
|
|
17482
|
+
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
17483
|
+
break;
|
|
17484
|
+
}
|
|
17485
|
+
} else {
|
|
17486
|
+
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
17487
|
+
break;
|
|
17488
|
+
}
|
|
17082
17489
|
}
|
|
17083
17490
|
}
|
|
17084
17491
|
});
|
|
17085
|
-
|
|
17086
17492
|
if (!_this2.state) {
|
|
17087
17493
|
if (_this2.initial && _this2.speciesList[_this2.initial] !== undefined) {
|
|
17088
17494
|
_this2.activeSpecies = _this2.initial;
|
|
17089
17495
|
} else {
|
|
17090
17496
|
_this2.activeSpecies = Object.keys(_this2.speciesList)[0];
|
|
17091
17497
|
}
|
|
17092
|
-
|
|
17093
17498
|
external_vue_default.a.nextTick(function () {
|
|
17094
17499
|
if (_this2.$refs[_this2.activeSpecies]) _this2.$refs[_this2.activeSpecies][0].createFlatmap();
|
|
17095
17500
|
});
|
|
17096
17501
|
}
|
|
17097
|
-
|
|
17098
17502
|
resolve();
|
|
17099
17503
|
});
|
|
17100
17504
|
});
|
|
@@ -17107,11 +17511,9 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17107
17511
|
},
|
|
17108
17512
|
getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
|
|
17109
17513
|
var flatmap = this.$refs[this.activeSpecies];
|
|
17110
|
-
|
|
17111
17514
|
if (flatmap && flatmap[0]) {
|
|
17112
17515
|
return flatmap[0].getCoordinatesOfLastClick();
|
|
17113
17516
|
}
|
|
17114
|
-
|
|
17115
17517
|
return undefined;
|
|
17116
17518
|
},
|
|
17117
17519
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
@@ -17133,7 +17535,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17133
17535
|
this.$refs[this.activeSpecies][0].createFlatmap();
|
|
17134
17536
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
17135
17537
|
},
|
|
17136
|
-
|
|
17137
17538
|
/**
|
|
17138
17539
|
* Function used for getting the current states of the scene. This exported states
|
|
17139
17540
|
* can be imported using the importStates method.
|
|
@@ -17149,7 +17550,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17149
17550
|
state.state = map.getState();
|
|
17150
17551
|
return state;
|
|
17151
17552
|
},
|
|
17152
|
-
|
|
17153
17553
|
/**
|
|
17154
17554
|
* Function used for importing the states of the scene. This exported states
|
|
17155
17555
|
* can be imported using the read states method.
|
|
@@ -17158,23 +17558,19 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17158
17558
|
*/
|
|
17159
17559
|
setState: function setState(state) {
|
|
17160
17560
|
var _this3 = this;
|
|
17161
|
-
|
|
17162
17561
|
if (state) {
|
|
17163
17562
|
this.initialise().then(function () {
|
|
17164
17563
|
if (state.species && state.species !== _this3.activeSpecies) {
|
|
17165
17564
|
_this3.activeSpecies = state.species;
|
|
17166
|
-
|
|
17167
17565
|
if (state.state) {
|
|
17168
17566
|
//Wait for next tick when the refs are ready for rendering
|
|
17169
17567
|
_this3.$nextTick(function () {
|
|
17170
17568
|
_this3.$refs[_this3.activeSpecies][0].createFlatmap(state.state);
|
|
17171
|
-
|
|
17172
17569
|
_this3.$emit('flatmapChanged', _this3.activeSpecies);
|
|
17173
17570
|
});
|
|
17174
17571
|
}
|
|
17175
17572
|
} else if (state.state) {
|
|
17176
17573
|
var map = _this3.getCurrentFlatmap();
|
|
17177
|
-
|
|
17178
17574
|
map.setState(state.state);
|
|
17179
17575
|
}
|
|
17180
17576
|
});
|
|
@@ -17201,7 +17597,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17201
17597
|
type: Boolean,
|
|
17202
17598
|
default: false
|
|
17203
17599
|
},
|
|
17204
|
-
|
|
17205
17600
|
/**
|
|
17206
17601
|
* Initial species for the flatmap.
|
|
17207
17602
|
* This value will be ignored if a valid state object is provided.
|
|
@@ -17231,7 +17626,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17231
17626
|
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."
|
|
17232
17627
|
},
|
|
17233
17628
|
availableSpecies: {},
|
|
17234
|
-
|
|
17235
17629
|
/**
|
|
17236
17630
|
* State containing state of the flatmap.
|
|
17237
17631
|
*/
|
|
@@ -17239,7 +17633,6 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17239
17633
|
type: Object,
|
|
17240
17634
|
default: undefined
|
|
17241
17635
|
},
|
|
17242
|
-
|
|
17243
17636
|
/**
|
|
17244
17637
|
* Specify the endpoint of the flatmap server.
|
|
17245
17638
|
*/
|
|
@@ -17271,8 +17664,8 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17271
17664
|
});
|
|
17272
17665
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
17273
17666
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
17274
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
17275
|
-
var
|
|
17667
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=0ad8a77b&prod&scoped=true&lang=scss&
|
|
17668
|
+
var MultiFlatmapVuervue_type_style_index_0_id_0ad8a77b_prod_scoped_true_lang_scss_ = __webpack_require__("b1da");
|
|
17276
17669
|
|
|
17277
17670
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
17278
17671
|
|
|
@@ -17285,11 +17678,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_2328f3de_scoped_true_lang_scss_ =
|
|
|
17285
17678
|
|
|
17286
17679
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
17287
17680
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
17288
|
-
|
|
17289
|
-
|
|
17681
|
+
MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render,
|
|
17682
|
+
MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_staticRenderFns,
|
|
17290
17683
|
false,
|
|
17291
17684
|
null,
|
|
17292
|
-
"
|
|
17685
|
+
"0ad8a77b",
|
|
17293
17686
|
null
|
|
17294
17687
|
|
|
17295
17688
|
)
|