@abi-software/flatmapvuer 0.3.7 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,10 +94,10 @@ module.exports =
94
94
 
95
95
  /***/ }),
96
96
 
97
- /***/ "0cda":
98
- /***/ (function(module, exports) {
97
+ /***/ "0875":
98
+ /***/ (function(module, exports, __webpack_require__) {
99
99
 
100
- module.exports = require("core-js/modules/es.string.split.js");
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 = 132);
191
+ /******/ return __webpack_require__(__webpack_require__.s = 139);
192
192
  /******/ })
193
193
  /************************************************************************/
194
194
  /******/ ({
195
195
 
196
- /***/ 132:
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 !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
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 = 127);
385
+ /******/ return __webpack_require__(__webpack_require__.s = 133);
378
386
  /******/ })
379
387
  /************************************************************************/
380
388
  /******/ ({
381
389
 
382
- /***/ 127:
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__(38);
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
- /***/ 38:
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
 
@@ -809,13 +824,6 @@ function scrollIntoView(container, selected) {
809
824
 
810
825
  /***/ }),
811
826
 
812
- /***/ "2ba9":
813
- /***/ (function(module, exports, __webpack_require__) {
814
-
815
- // extracted by mini-css-extract-plugin
816
-
817
- /***/ }),
818
-
819
827
  /***/ "2bb5":
820
828
  /***/ (function(module, exports, __webpack_require__) {
821
829
 
@@ -986,7 +994,7 @@ module.exports =
986
994
  /******/
987
995
  /******/
988
996
  /******/ // Load entry module and return exports
989
- /******/ return __webpack_require__(__webpack_require__.s = 111);
997
+ /******/ return __webpack_require__(__webpack_require__.s = 112);
990
998
  /******/ })
991
999
  /************************************************************************/
992
1000
  /******/ ({
@@ -1093,7 +1101,7 @@ function normalizeComponent (
1093
1101
 
1094
1102
  /***/ }),
1095
1103
 
1096
- /***/ 111:
1104
+ /***/ 112:
1097
1105
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1098
1106
 
1099
1107
  "use strict";
@@ -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 = 94);
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
- /***/ 94:
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 = 61);
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
- /***/ 17:
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
- /***/ 31:
2389
+ /***/ 32:
2387
2390
  /***/ (function(module, exports) {
2388
2391
 
2389
2392
  module.exports = __webpack_require__("2a5e");
2390
2393
 
2391
2394
  /***/ }),
2392
2395
 
2393
- /***/ 33:
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
- /***/ 37:
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
- /***/ 61:
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.navigateOptions("next")
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.navigateOptions("prev")
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: { focus: _vm.handleFocus, blur: _vm.handleBlur },
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.navigateOptions("next")
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.navigateOptions("prev")
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__(33);
3304
+ var src_option = __webpack_require__(34);
3301
3305
 
3302
3306
  // EXTERNAL MODULE: external "element-ui/lib/tag"
3303
- var tag_ = __webpack_require__(37);
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__(17);
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__(31);
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 = true;
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 ? tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
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
  }
@@ -4549,12 +4561,12 @@ exports.PopupManager = _popupManager2.default;
4549
4561
 
4550
4562
  /***/ }),
4551
4563
 
4552
- /***/ "5832":
4564
+ /***/ "587b":
4553
4565
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4554
4566
 
4555
4567
  "use strict";
4556
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_aae60614_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("45b8");
4557
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_aae60614_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PubmedViewer_vue_vue_type_style_index_0_id_aae60614_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
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__);
4558
4570
  /* unused harmony reexport * */
4559
4571
 
4560
4572
 
@@ -4671,7 +4683,7 @@ function addClass(el, cls) {
4671
4683
  }
4672
4684
  }
4673
4685
  if (!el.classList) {
4674
- el.className = curClass;
4686
+ el.setAttribute('class', curClass);
4675
4687
  }
4676
4688
  };
4677
4689
 
@@ -4692,7 +4704,7 @@ function removeClass(el, cls) {
4692
4704
  }
4693
4705
  }
4694
4706
  if (!el.classList) {
4695
- el.className = trim(curClass);
4707
+ el.setAttribute('class', trim(curClass));
4696
4708
  }
4697
4709
  };
4698
4710
 
@@ -4756,10 +4768,10 @@ function setStyle(element, styleName, value) {
4756
4768
  var isScroll = exports.isScroll = function isScroll(el, vertical) {
4757
4769
  if (isServer) return;
4758
4770
 
4759
- var determinedDirection = vertical !== null || vertical !== undefined;
4771
+ var determinedDirection = vertical !== null && vertical !== undefined;
4760
4772
  var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
4761
4773
 
4762
- return overflow.match(/(scroll|auto)/);
4774
+ return overflow.match(/(scroll|auto|overlay)/);
4763
4775
  };
4764
4776
 
4765
4777
  var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
@@ -4801,14 +4813,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
4801
4813
 
4802
4814
  /***/ }),
4803
4815
 
4804
- /***/ "5c73":
4805
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4806
-
4807
- "use strict";
4808
- /* 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");
4809
- /* 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__);
4810
- /* unused harmony reexport * */
4816
+ /***/ "5a3b":
4817
+ /***/ (function(module, exports) {
4811
4818
 
4819
+ module.exports = require("core-js/modules/es.regexp.test.js");
4812
4820
 
4813
4821
  /***/ }),
4814
4822
 
@@ -6076,7 +6084,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
6076
6084
 
6077
6085
  /***/ }),
6078
6086
 
6079
- /***/ "6282":
6087
+ /***/ "6259":
6080
6088
  /***/ (function(module, exports, __webpack_require__) {
6081
6089
 
6082
6090
  // extracted by mini-css-extract-plugin
@@ -6097,13 +6105,6 @@ module.exports = require("core-js/modules/es.string.replace.js");
6097
6105
 
6098
6106
  /***/ }),
6099
6107
 
6100
- /***/ "67da":
6101
- /***/ (function(module, exports, __webpack_require__) {
6102
-
6103
- // extracted by mini-css-extract-plugin
6104
-
6105
- /***/ }),
6106
-
6107
6108
  /***/ "6ac5":
6108
6109
  /***/ (function(module, exports, __webpack_require__) {
6109
6110
 
@@ -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 = 79);
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
- /***/ 79:
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
- return (this.$vnode.data || {}).tag || 'div';
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 = 74);
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
- /***/ 74:
6726
+ /***/ 78:
6724
6727
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6725
6728
 
6726
6729
  "use strict";
@@ -7144,11 +7147,36 @@ exports.default = {
7144
7147
 
7145
7148
  /***/ }),
7146
7149
 
7150
+ /***/ "712c":
7151
+ /***/ (function(module, exports) {
7152
+
7153
+ module.exports = require("core-js/modules/web.url-search-params.js");
7154
+
7155
+ /***/ }),
7156
+
7157
+ /***/ "722b":
7158
+ /***/ (function(module, exports) {
7159
+
7160
+ module.exports = require("core-js/modules/es.array.unscopables.flat.js");
7161
+
7162
+ /***/ }),
7163
+
7147
7164
  /***/ "7435":
7148
7165
  /***/ (function(module, exports) {
7149
7166
 
7150
7167
  module.exports = require("throttle-debounce/debounce");
7151
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
+
7152
7180
  /***/ }),
7153
7181
 
7154
7182
  /***/ "7a0f":
@@ -7245,7 +7273,7 @@ module.exports =
7245
7273
  /******/
7246
7274
  /******/
7247
7275
  /******/ // Load entry module and return exports
7248
- /******/ return __webpack_require__(__webpack_require__.s = 102);
7276
+ /******/ return __webpack_require__(__webpack_require__.s = 117);
7249
7277
  /******/ })
7250
7278
  /************************************************************************/
7251
7279
  /******/ ({
@@ -7352,7 +7380,7 @@ function normalizeComponent (
7352
7380
 
7353
7381
  /***/ }),
7354
7382
 
7355
- /***/ 102:
7383
+ /***/ 117:
7356
7384
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7357
7385
 
7358
7386
  "use strict";
@@ -7555,7 +7583,7 @@ module.exports =
7555
7583
  /******/
7556
7584
  /******/
7557
7585
  /******/ // Load entry module and return exports
7558
- /******/ return __webpack_require__(__webpack_require__.s = 86);
7586
+ /******/ return __webpack_require__(__webpack_require__.s = 93);
7559
7587
  /******/ })
7560
7588
  /************************************************************************/
7561
7589
  /******/ ({
@@ -7669,7 +7697,7 @@ module.exports = __webpack_require__("d010");
7669
7697
 
7670
7698
  /***/ }),
7671
7699
 
7672
- /***/ 86:
7700
+ /***/ 93:
7673
7701
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7674
7702
 
7675
7703
  "use strict";
@@ -8061,6 +8089,20 @@ function objToArray(obj) {
8061
8089
 
8062
8090
  /***/ }),
8063
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
+
8064
8106
  /***/ "8535":
8065
8107
  /***/ (function(module, exports) {
8066
8108
 
@@ -8162,7 +8204,7 @@ module.exports =
8162
8204
  /******/
8163
8205
  /******/
8164
8206
  /******/ // Load entry module and return exports
8165
- /******/ return __webpack_require__(__webpack_require__.s = 68);
8207
+ /******/ return __webpack_require__(__webpack_require__.s = 73);
8166
8208
  /******/ })
8167
8209
  /************************************************************************/
8168
8210
  /******/ ({
@@ -8283,14 +8325,21 @@ module.exports = __webpack_require__("5924");
8283
8325
 
8284
8326
  /***/ }),
8285
8327
 
8286
- /***/ 41:
8328
+ /***/ 42:
8287
8329
  /***/ (function(module, exports) {
8288
8330
 
8289
8331
  module.exports = __webpack_require__("c56a");
8290
8332
 
8291
8333
  /***/ }),
8292
8334
 
8293
- /***/ 68:
8335
+ /***/ 7:
8336
+ /***/ (function(module, exports) {
8337
+
8338
+ module.exports = __webpack_require__("8bbf");
8339
+
8340
+ /***/ }),
8341
+
8342
+ /***/ 73:
8294
8343
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8295
8344
 
8296
8345
  "use strict";
@@ -8438,7 +8487,7 @@ var dom_ = __webpack_require__(2);
8438
8487
  var popup_ = __webpack_require__(13);
8439
8488
 
8440
8489
  // EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
8441
- var after_leave_ = __webpack_require__(41);
8490
+ var after_leave_ = __webpack_require__(42);
8442
8491
  var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
8443
8492
 
8444
8493
  // CONCATENATED MODULE: ./packages/loading/src/directive.js
@@ -8502,7 +8551,7 @@ loadingDirective.install = function (Vue) {
8502
8551
  el.mask.style[property] = el.maskStyle[property];
8503
8552
  });
8504
8553
 
8505
- if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
8554
+ if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
8506
8555
  Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
8507
8556
  }
8508
8557
  if (binding.modifiers.fullscreen && binding.modifiers.lock) {
@@ -8660,7 +8709,7 @@ var src_Loading = function Loading() {
8660
8709
  });
8661
8710
 
8662
8711
  src_addStyle(options, parent, instance);
8663
- if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
8712
+ if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
8664
8713
  Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
8665
8714
  }
8666
8715
  if (options.fullscreen && options.lock) {
@@ -8693,13 +8742,6 @@ var src_Loading = function Loading() {
8693
8742
 
8694
8743
  /***/ }),
8695
8744
 
8696
- /***/ 7:
8697
- /***/ (function(module, exports) {
8698
-
8699
- module.exports = __webpack_require__("8bbf");
8700
-
8701
- /***/ }),
8702
-
8703
8745
  /***/ 9:
8704
8746
  /***/ (function(module, exports) {
8705
8747
 
@@ -8798,7 +8840,7 @@ module.exports =
8798
8840
  /******/
8799
8841
  /******/
8800
8842
  /******/ // Load entry module and return exports
8801
- /******/ return __webpack_require__(__webpack_require__.s = 124);
8843
+ /******/ return __webpack_require__(__webpack_require__.s = 132);
8802
8844
  /******/ })
8803
8845
  /************************************************************************/
8804
8846
  /******/ ({
@@ -8905,7 +8947,7 @@ function normalizeComponent (
8905
8947
 
8906
8948
  /***/ }),
8907
8949
 
8908
- /***/ 124:
8950
+ /***/ 132:
8909
8951
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8910
8952
 
8911
8953
  "use strict";
@@ -9149,7 +9191,7 @@ module.exports =
9149
9191
  /******/
9150
9192
  /******/
9151
9193
  /******/ // Load entry module and return exports
9152
- /******/ return __webpack_require__(__webpack_require__.s = 85);
9194
+ /******/ return __webpack_require__(__webpack_require__.s = 111);
9153
9195
  /******/ })
9154
9196
  /************************************************************************/
9155
9197
  /******/ ({
@@ -9256,21 +9298,7 @@ function normalizeComponent (
9256
9298
 
9257
9299
  /***/ }),
9258
9300
 
9259
- /***/ 16:
9260
- /***/ (function(module, exports) {
9261
-
9262
- module.exports = __webpack_require__("4010");
9263
-
9264
- /***/ }),
9265
-
9266
- /***/ 25:
9267
- /***/ (function(module, exports) {
9268
-
9269
- module.exports = __webpack_require__("1e79");
9270
-
9271
- /***/ }),
9272
-
9273
- /***/ 85:
9301
+ /***/ 111:
9274
9302
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9275
9303
 
9276
9304
  "use strict";
@@ -9655,6 +9683,10 @@ var resize_event_ = __webpack_require__(16);
9655
9683
  if (this.interval <= 0 || !this.autoplay || this.timer) return;
9656
9684
  this.timer = setInterval(this.playSlides, this.interval);
9657
9685
  },
9686
+ resetTimer: function resetTimer() {
9687
+ this.pauseTimer();
9688
+ this.startTimer();
9689
+ },
9658
9690
  setActiveItem: function setActiveItem(index) {
9659
9691
  if (typeof index === 'string') {
9660
9692
  var filteredItems = this.items.filter(function (item) {
@@ -9681,6 +9713,7 @@ var resize_event_ = __webpack_require__(16);
9681
9713
  if (oldIndex === this.activeIndex) {
9682
9714
  this.resetItemPosition(oldIndex);
9683
9715
  }
9716
+ this.resetTimer();
9684
9717
  },
9685
9718
  prev: function prev() {
9686
9719
  this.setActiveItem(this.activeIndex - 1);
@@ -9763,6 +9796,20 @@ main.install = function (Vue) {
9763
9796
 
9764
9797
  /* harmony default export */ var carousel = __webpack_exports__["default"] = (main);
9765
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
+
9766
9813
  /***/ })
9767
9814
 
9768
9815
  /******/ });
@@ -9839,14 +9886,10 @@ module.exports = require("resize-observer-polyfill");
9839
9886
 
9840
9887
  /***/ }),
9841
9888
 
9842
- /***/ "a390":
9843
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9844
-
9845
- "use strict";
9846
- /* 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");
9847
- /* 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__);
9848
- /* unused harmony reexport * */
9889
+ /***/ "a445":
9890
+ /***/ (function(module, exports, __webpack_require__) {
9849
9891
 
9892
+ // extracted by mini-css-extract-plugin
9850
9893
 
9851
9894
  /***/ }),
9852
9895
 
@@ -9937,7 +9980,7 @@ module.exports =
9937
9980
  /******/
9938
9981
  /******/
9939
9982
  /******/ // Load entry module and return exports
9940
- /******/ return __webpack_require__(__webpack_require__.s = 120);
9983
+ /******/ return __webpack_require__(__webpack_require__.s = 122);
9941
9984
  /******/ })
9942
9985
  /************************************************************************/
9943
9986
  /******/ ({
@@ -10044,7 +10087,7 @@ function normalizeComponent (
10044
10087
 
10045
10088
  /***/ }),
10046
10089
 
10047
- /***/ 120:
10090
+ /***/ 122:
10048
10091
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10049
10092
 
10050
10093
  "use strict";
@@ -10272,7 +10315,7 @@ module.exports =
10272
10315
  /******/
10273
10316
  /******/
10274
10317
  /******/ // Load entry module and return exports
10275
- /******/ return __webpack_require__(__webpack_require__.s = 109);
10318
+ /******/ return __webpack_require__(__webpack_require__.s = 103);
10276
10319
  /******/ })
10277
10320
  /************************************************************************/
10278
10321
  /******/ ({
@@ -10379,7 +10422,7 @@ function normalizeComponent (
10379
10422
 
10380
10423
  /***/ }),
10381
10424
 
10382
- /***/ 109:
10425
+ /***/ 103:
10383
10426
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10384
10427
 
10385
10428
  "use strict";
@@ -10521,6 +10564,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
10521
10564
 
10522
10565
  /***/ }),
10523
10566
 
10567
+ /***/ "a9ee":
10568
+ /***/ (function(module, exports) {
10569
+
10570
+ module.exports = require("core-js/modules/es.json.stringify.js");
10571
+
10572
+ /***/ }),
10573
+
10524
10574
  /***/ "aaa5":
10525
10575
  /***/ (function(module, exports, __webpack_require__) {
10526
10576
 
@@ -10540,6 +10590,17 @@ var isDefined = exports.isDefined = function isDefined(val) {
10540
10590
 
10541
10591
  module.exports = require("css-element-queries/src/ResizeSensor");
10542
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
+
10543
10604
  /***/ }),
10544
10605
 
10545
10606
  /***/ "b2d6":
@@ -10666,6 +10727,9 @@ exports.default = {
10666
10727
  popconfirm: {
10667
10728
  confirmButtonText: 'Yes',
10668
10729
  cancelButtonText: 'No'
10730
+ },
10731
+ empty: {
10732
+ description: 'No Data'
10669
10733
  }
10670
10734
  }
10671
10735
  };
@@ -10679,17 +10743,21 @@ exports.default = {
10679
10743
 
10680
10744
  /***/ }),
10681
10745
 
10682
- /***/ "b94f":
10683
- /***/ (function(module, exports) {
10746
+ /***/ "be4f":
10747
+ /***/ (function(module, exports, __webpack_require__) {
10684
10748
 
10685
- module.exports = require("core-js/modules/web.url.js");
10749
+ // extracted by mini-css-extract-plugin
10686
10750
 
10687
10751
  /***/ }),
10688
10752
 
10689
- /***/ "be4f":
10690
- /***/ (function(module, exports, __webpack_require__) {
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 * */
10691
10760
 
10692
- // extracted by mini-css-extract-plugin
10693
10761
 
10694
10762
  /***/ }),
10695
10763
 
@@ -10780,12 +10848,12 @@ module.exports =
10780
10848
  /******/
10781
10849
  /******/
10782
10850
  /******/ // Load entry module and return exports
10783
- /******/ return __webpack_require__(__webpack_require__.s = 134);
10851
+ /******/ return __webpack_require__(__webpack_require__.s = 140);
10784
10852
  /******/ })
10785
10853
  /************************************************************************/
10786
10854
  /******/ ({
10787
10855
 
10788
- /***/ 134:
10856
+ /***/ 140:
10789
10857
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10790
10858
 
10791
10859
  "use strict";
@@ -11004,7 +11072,7 @@ module.exports =
11004
11072
  /******/
11005
11073
  /******/
11006
11074
  /******/ // Load entry module and return exports
11007
- /******/ return __webpack_require__(__webpack_require__.s = 113);
11075
+ /******/ return __webpack_require__(__webpack_require__.s = 119);
11008
11076
  /******/ })
11009
11077
  /************************************************************************/
11010
11078
  /******/ ({
@@ -11111,7 +11179,7 @@ function normalizeComponent (
11111
11179
 
11112
11180
  /***/ }),
11113
11181
 
11114
- /***/ 113:
11182
+ /***/ 119:
11115
11183
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11116
11184
 
11117
11185
  "use strict";
@@ -11290,6 +11358,13 @@ module.exports = require("core-js/modules/es.function.name.js");
11290
11358
 
11291
11359
  /***/ }),
11292
11360
 
11361
+ /***/ "dc50":
11362
+ /***/ (function(module, exports) {
11363
+
11364
+ module.exports = require("core-js/modules/es.error.cause.js");
11365
+
11366
+ /***/ }),
11367
+
11293
11368
  /***/ "dcdc":
11294
11369
  /***/ (function(module, exports, __webpack_require__) {
11295
11370
 
@@ -11377,7 +11452,7 @@ module.exports =
11377
11452
  /******/
11378
11453
  /******/
11379
11454
  /******/ // Load entry module and return exports
11380
- /******/ return __webpack_require__(__webpack_require__.s = 83);
11455
+ /******/ return __webpack_require__(__webpack_require__.s = 91);
11381
11456
  /******/ })
11382
11457
  /************************************************************************/
11383
11458
  /******/ ({
@@ -11491,7 +11566,7 @@ module.exports = __webpack_require__("d010");
11491
11566
 
11492
11567
  /***/ }),
11493
11568
 
11494
- /***/ 83:
11569
+ /***/ 91:
11495
11570
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11496
11571
 
11497
11572
  "use strict";
@@ -11920,17 +11995,6 @@ src_checkbox.install = function (Vue) {
11920
11995
 
11921
11996
  /******/ });
11922
11997
 
11923
- /***/ }),
11924
-
11925
- /***/ "dd4a":
11926
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
11927
-
11928
- "use strict";
11929
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2ba9");
11930
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
11931
- /* unused harmony reexport * */
11932
-
11933
-
11934
11998
  /***/ }),
11935
11999
 
11936
12000
  /***/ "de31":
@@ -12073,7 +12137,7 @@ module.exports =
12073
12137
  /******/
12074
12138
  /******/
12075
12139
  /******/ // Load entry module and return exports
12076
- /******/ return __webpack_require__(__webpack_require__.s = 53);
12140
+ /******/ return __webpack_require__(__webpack_require__.s = 54);
12077
12141
  /******/ })
12078
12142
  /************************************************************************/
12079
12143
  /******/ ({
@@ -12187,7 +12251,7 @@ module.exports = __webpack_require__("8122");
12187
12251
 
12188
12252
  /***/ }),
12189
12253
 
12190
- /***/ 33:
12254
+ /***/ 34:
12191
12255
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12192
12256
 
12193
12257
  "use strict";
@@ -12445,12 +12509,12 @@ module.exports = __webpack_require__("d010");
12445
12509
 
12446
12510
  /***/ }),
12447
12511
 
12448
- /***/ 53:
12512
+ /***/ 54:
12449
12513
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12450
12514
 
12451
12515
  "use strict";
12452
12516
  __webpack_require__.r(__webpack_exports__);
12453
- /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
12517
+ /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
12454
12518
 
12455
12519
 
12456
12520
  /* istanbul ignore next */
@@ -12783,7 +12847,7 @@ module.exports =
12783
12847
  /******/
12784
12848
  /******/
12785
12849
  /******/ // Load entry module and return exports
12786
- /******/ return __webpack_require__(__webpack_require__.s = 97);
12850
+ /******/ return __webpack_require__(__webpack_require__.s = 96);
12787
12851
  /******/ })
12788
12852
  /************************************************************************/
12789
12853
  /******/ ({
@@ -12890,7 +12954,7 @@ function normalizeComponent (
12890
12954
 
12891
12955
  /***/ }),
12892
12956
 
12893
- /***/ 97:
12957
+ /***/ 96:
12894
12958
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12895
12959
 
12896
12960
  "use strict";
@@ -13004,7 +13068,7 @@ render._withStripped = true
13004
13068
  return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
13005
13069
  },
13006
13070
  buttonDisabled: function buttonDisabled() {
13007
- return this.disabled || (this.elForm || {}).disabled;
13071
+ return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
13008
13072
  }
13009
13073
  },
13010
13074
 
@@ -13182,6 +13246,9 @@ exports.default = {
13182
13246
  popconfirm: {
13183
13247
  confirmButtonText: '确定',
13184
13248
  cancelButtonText: '取消'
13249
+ },
13250
+ empty: {
13251
+ description: '暂无数据'
13185
13252
  }
13186
13253
  }
13187
13254
  };
@@ -13275,7 +13342,7 @@ module.exports =
13275
13342
  /******/
13276
13343
  /******/
13277
13344
  /******/ // Load entry module and return exports
13278
- /******/ return __webpack_require__(__webpack_require__.s = 76);
13345
+ /******/ return __webpack_require__(__webpack_require__.s = 75);
13279
13346
  /******/ })
13280
13347
  /************************************************************************/
13281
13348
  /******/ ({
@@ -13403,7 +13470,7 @@ module.exports = __webpack_require__("d010");
13403
13470
 
13404
13471
  /***/ }),
13405
13472
 
13406
- /***/ 76:
13473
+ /***/ 75:
13407
13474
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
13408
13475
 
13409
13476
  "use strict";
@@ -14045,15 +14112,18 @@ var shared_ = __webpack_require__(21);
14045
14112
  this.focused = true;
14046
14113
  this.$emit('focus', event);
14047
14114
  },
14048
- handleCompositionStart: function handleCompositionStart() {
14115
+ handleCompositionStart: function handleCompositionStart(event) {
14116
+ this.$emit('compositionstart', event);
14049
14117
  this.isComposing = true;
14050
14118
  },
14051
14119
  handleCompositionUpdate: function handleCompositionUpdate(event) {
14120
+ this.$emit('compositionupdate', event);
14052
14121
  var text = event.target.value;
14053
14122
  var lastCharacter = text[text.length - 1] || '';
14054
14123
  this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
14055
14124
  },
14056
14125
  handleCompositionEnd: function handleCompositionEnd(event) {
14126
+ this.$emit('compositionend', event);
14057
14127
  if (this.isComposing) {
14058
14128
  this.isComposing = false;
14059
14129
  this.handleInput(event);
@@ -14275,7 +14345,7 @@ module.exports =
14275
14345
  /******/
14276
14346
  /******/
14277
14347
  /******/ // Load entry module and return exports
14278
- /******/ return __webpack_require__(__webpack_require__.s = 116);
14348
+ /******/ return __webpack_require__(__webpack_require__.s = 88);
14279
14349
  /******/ })
14280
14350
  /************************************************************************/
14281
14351
  /******/ ({
@@ -14382,7 +14452,14 @@ function normalizeComponent (
14382
14452
 
14383
14453
  /***/ }),
14384
14454
 
14385
- /***/ 116:
14455
+ /***/ 4:
14456
+ /***/ (function(module, exports) {
14457
+
14458
+ module.exports = __webpack_require__("d010");
14459
+
14460
+ /***/ }),
14461
+
14462
+ /***/ 88:
14386
14463
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14387
14464
 
14388
14465
  "use strict";
@@ -14452,7 +14529,8 @@ var render = function() {
14452
14529
  "aria-hidden": "true",
14453
14530
  name: _vm.name,
14454
14531
  disabled: _vm.isDisabled,
14455
- tabindex: "-1"
14532
+ tabindex: "-1",
14533
+ autocomplete: "off"
14456
14534
  },
14457
14535
  domProps: {
14458
14536
  value: _vm.label,
@@ -14549,6 +14627,7 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
14549
14627
  //
14550
14628
  //
14551
14629
  //
14630
+ //
14552
14631
 
14553
14632
 
14554
14633
 
@@ -14675,13 +14754,6 @@ src_radio.install = function (Vue) {
14675
14754
 
14676
14755
  /* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
14677
14756
 
14678
- /***/ }),
14679
-
14680
- /***/ 4:
14681
- /***/ (function(module, exports) {
14682
-
14683
- module.exports = __webpack_require__("d010");
14684
-
14685
14757
  /***/ })
14686
14758
 
14687
14759
  /******/ });
@@ -14700,17 +14772,6 @@ module.exports = __webpack_require__("d010");
14700
14772
 
14701
14773
  module.exports = require("core-js/modules/es.number.constructor.js");
14702
14774
 
14703
- /***/ }),
14704
-
14705
- /***/ "faaf":
14706
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
14707
-
14708
- "use strict";
14709
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6282");
14710
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
14711
- /* unused harmony reexport * */
14712
-
14713
-
14714
14775
  /***/ }),
14715
14776
 
14716
14777
  /***/ "fae3":
@@ -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":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=289ef1f9&scoped=true&
14752
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"flatmap-container",attrs:{"element-loading-text":"Loading...","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.3)"}},[_c('map-svg-sprite-color'),_c('div',{staticStyle:{"height":"100%","width":"100%","position":"relative","overflow-y":"none"}},[_c('div',{ref:"display",staticStyle:{"height":"100%","width":"100%"}}),_c('div',{staticClass:"beta-popovers"},[_c('div',[_c('el-popover',{ref:"warningPopover",attrs:{"content":_vm.warningMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[6].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[6], "value", $$v)},expression:"hoverVisibilities[6].value"}}),(_vm.displayWarning && _vm.warningMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:warningPopover",arg:"warningPopover"}],staticClass:"el-icon-warning warning-icon",on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]):_vm._e()],1),(_vm.displayLatestChanges)?_c('el-popover',{ref:"latestChangesPopover",attrs:{"content":_vm.latestChangesMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[7].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[7], "value", $$v)},expression:"hoverVisibilities[7].value"}}):_vm._e(),(_vm.displayLatestChanges && _vm.latestChangesMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:latestChangesPopover",arg:"latestChangesPopover"}],staticClass:"el-icon-warning latest-changesicon",on:{"mouseover":function($event){return _vm.showToolitip(7)},"mouseout":function($event){return _vm.hideToolitip(7)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("What's new?")])]):_vm._e()],1),_c('div',{staticClass:"bottom-right-control"},[_c('el-popover',{attrs:{"content":"Zoom in","placement":"left","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper left-popper"},model:{value:(_vm.hoverVisibilities[0].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[0], "value", $$v)},expression:"hoverVisibilities[0].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomIn",attrs:{"slot":"reference","icon":"zoomIn"},nativeOn:{"click":function($event){return _vm.zoomIn()},"mouseover":function($event){return _vm.showToolitip(0)},"mouseout":function($event){return _vm.hideToolitip(0)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Zoom out","placement":"top-end","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-zoomout"},model:{value:(_vm.hoverVisibilities[1].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[1], "value", $$v)},expression:"hoverVisibilities[1].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomOut",attrs:{"slot":"reference","icon":"zoomOut"},nativeOn:{"click":function($event){return _vm.zoomOut()},"mouseover":function($event){return _vm.showToolitip(1)},"mouseout":function($event){return _vm.hideToolitip(1)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Reset","placement":"top","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper"},model:{value:(_vm.hoverVisibilities[2].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[2], "value", $$v)},expression:"hoverVisibilities[2].value"}},[_c('div',[_vm._v(" Fit to "),_c('br'),_vm._v(" window ")]),_c('map-svg-icon',{staticClass:"icon-button fitWindow",attrs:{"slot":"reference","icon":"fitWindow"},nativeOn:{"click":function($event){return _vm.resetView()},"mouseover":function($event){return _vm.showToolitip(2)},"mouseout":function($event){return _vm.hideToolitip(2)}},slot:"reference"})],1)],1),_c('el-popover',{ref:"checkBoxPopover",attrs:{"content":"Change pathway visibility","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[4].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[4], "value", $$v)},expression:"hoverVisibilities[4].value"}}),_c('div',{staticClass:"pathway-location",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen }},[(_vm.pathways.length > 0 && _vm.pathControls)?_c('div',{directives:[{name:"popover",rawName:"v-popover:checkBoxPopover",arg:"checkBoxPopover"}],staticClass:"pathway-container"},[_c('svg-legends',{staticClass:"svg-legends-container"}),_c('el-popover',{ref:"markerPopover",attrs:{"content":"Find these markers for data","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-bump-right right-popper"},model:{value:(_vm.hoverVisibilities[5].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[5], "value", $$v)},expression:"hoverVisibilities[5].value"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.hoverVisibilities[5].value),expression:"hoverVisibilities[5].value"},{name:"popover",rawName:"v-popover:markerPopover",arg:"markerPopover"}],staticClass:"flatmap-marker-help",domProps:{"innerHTML":_vm._s(_vm.flatmapMarker)}}),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('div',{staticClass:"pathways-display-text"},[_vm._v("Pathways")])]),_c('el-col',{attrs:{"span":12}},[_c('el-checkbox',{staticClass:"all-checkbox",attrs:{"indeterminate":_vm.isIndeterminate},on:{"change":_vm.handleCheckAllChange},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:"checkAll"}},[_vm._v("Display all")])],1)],1),_c('el-checkbox-group',{staticClass:"checkbox-group",attrs:{"size":"small"},on:{"change":_vm.handleCheckedItemsChange},model:{value:(_vm.checkedItems),callback:function ($$v) {_vm.checkedItems=$$v},expression:"checkedItems"}},[_c('div',{staticClass:"checkbox-group-inner"},_vm._l((_vm.pathways),function(item){return _c('el-row',{key:item.type,attrs:{"label":item.type}},[_c('div',{staticClass:"checkbox-container"},[_c('el-checkbox',{staticClass:"my-checkbox",attrs:{"label":item.type,"checked":true},on:{"change":function($event){return _vm.visibilityToggle()}}},[_c('div',{staticClass:"path-visual",class:item.type}),_vm._v(" "+_vm._s(item.label)+" ")])],1)])}),1)])],1):_vm._e(),_c('div',{staticClass:"drawer-button",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },on:{"click":_vm.toggleDrawer}},[_c('i',{staticClass:"el-icon-arrow-left"})])]),_c('el-popover',{ref:"backgroundPopover",attrs:{"placement":"top-start","width":"175","appendToBody":false,"trigger":"click","popper-class":"background-popper"}},[_c('el-row',{staticClass:"backgroundText"},[_vm._v("Organs display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setColour},model:{value:(_vm.colourRadio),callback:function ($$v) {_vm.colourRadio=$$v},expression:"colourRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Colour")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Greyscale")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Outlines display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setOutlines},model:{value:(_vm.outlinesRadio),callback:function ($$v) {_vm.outlinesRadio=$$v},expression:"outlinesRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Show")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Hide")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Change background")]),_c('el-row',{staticClass:"backgroundControl"},_vm._l((_vm.availableBackground),function(item){return _c('div',{key:item,class:['backgroundChoice', item, item == _vm.currentBackground ? 'active' :''],on:{"click":function($event){return _vm.backgroundChangeCallback(item)}}})}),0)],1),_c('el-popover',{attrs:{"content":"Change background color","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[3].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[3], "value", $$v)},expression:"hoverVisibilities[3].value"}},[_c('map-svg-icon',{directives:[{name:"popover",rawName:"v-popover:backgroundPopover",arg:"backgroundPopover"}],staticClass:"icon-button background-colour",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },attrs:{"slot":"reference","icon":"changeBckgd"},nativeOn:{"mouseover":function($event){return _vm.showToolitip(3)},"mouseout":function($event){return _vm.hideToolitip(3)}},slot:"reference"})],1),_c('Tooltip',{ref:"tooltip",staticClass:"tooltip",attrs:{"content":_vm.tooltipContent},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
14753
- var staticRenderFns = []
14754
-
14755
-
14756
- // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=289ef1f9&scoped=true&
14757
-
14758
- // EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
14759
- var es_symbol_js_ = __webpack_require__("9b22");
14760
-
14761
- // EXTERNAL MODULE: external "core-js/modules/es.symbol.description.js"
14762
- var es_symbol_description_js_ = __webpack_require__("4933");
14763
-
14764
- // EXTERNAL MODULE: external "core-js/modules/es.object.to-string.js"
14765
- var es_object_to_string_js_ = __webpack_require__("97d3");
14766
-
14767
- // EXTERNAL MODULE: external "core-js/modules/es.symbol.iterator.js"
14768
- var es_symbol_iterator_js_ = __webpack_require__("2ff9");
14769
-
14770
- // EXTERNAL MODULE: external "core-js/modules/es.array.iterator.js"
14771
- var es_array_iterator_js_ = __webpack_require__("4ccb");
14772
-
14773
- // EXTERNAL MODULE: external "core-js/modules/es.string.iterator.js"
14774
- var es_string_iterator_js_ = __webpack_require__("9bb5");
14775
-
14776
- // EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
14777
- var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
14778
-
14779
- // EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
14780
- var es_array_slice_js_ = __webpack_require__("ea12");
14781
-
14782
- // EXTERNAL MODULE: external "core-js/modules/es.function.name.js"
14783
- var es_function_name_js_ = __webpack_require__("db0a");
14784
-
14785
- // EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
14786
- var es_array_from_js_ = __webpack_require__("4362");
14787
-
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"
15309
+ var es_array_from_js_ = __webpack_require__("4362");
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
- didErr = false,
14855
- err;
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.regexp.exec.js"
14940
- var es_regexp_exec_js_ = __webpack_require__("c8a6");
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":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=4a14f4de&scoped=true&
14962
- var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),_c('div',{staticClass:"content-container scrollbar"},[(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.origins)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Origin")]),_vm._v(" "+_vm._s(_vm.originDescription)+" ")])])],1),_vm._l((_vm.origins),function(origin,i){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),(i != _vm.origins.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.originsWithDatasets.length > 0),expression:"originsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore origin data ")])],2):_vm._e(),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component,i){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" "),(i != _vm.components.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])})],2):_vm._e(),(this.destinations)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Destination")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Destination")]),_vm._v(" is where the axons terminate ")])])],1),_vm._l((_vm.destinations),function(destination,i){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),(i != _vm.destinations.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.destinationsWithDatasets.length > 0),expression:"destinationsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore destination data ")])],2):_vm._e(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.components.length > 0),expression:"components.length > 0"}],staticClass:"button",on:{"click":_vm.openAll}},[_vm._v(" Search for data on components ")]),(_vm.pubmedSearchUrl != '')?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],1)]):_vm._e()],1)}
14963
- var Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns = []
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":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=aae60614&scoped=true&
15056
- var PubmedViewervue_type_template_id_aae60614_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pubmed-container"},[_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading.response),expression:"loading.response"}],staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Pubmed Resources")]),_c('br'),_c('el-carousel',{attrs:{"autoplay":false,"indicator-position":"outside","height":"250px","width":"200px"}},_vm._l((_vm.pubmeds),function(pub,i){return _c('el-carousel-item',{key:i},[_c('div',{staticClass:"attribute-content"},[_c('div',{domProps:{"innerHTML":_vm._s(pub.html)}}),_c('el-link',{staticClass:"el-link",attrs:{"href":pub.url,"underline":false,"target":"_blank"}},[_vm._v(_vm._s(pub.url))])],1)])}),1)],1)])}
15057
- var PubmedViewervue_type_template_id_aae60614_scoped_true_staticRenderFns = []
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
- if (i && _arr.length === i) break;
15089
- }
15090
- } catch (err) {
15091
- _d = true;
15092
- _e = err;
15093
- } finally {
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 (!_n && _i["return"] != null) _i["return"]();
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
- if (_d) throw _e;
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 web_url_js_ = __webpack_require__("b94f");
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--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=script&lang=js&
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; // fetch pubmed publications for the given ids
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; // create links for each pubmedId
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
- _this2$splitLink2 = _slicedToArray(_this2$splitLink, 2),
15298
- html = _this2$splitLink2[0],
15299
- link = _this2$splitLink2[1];
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 PubmedViewervue_type_style_index_0_id_aae60614_scoped_true_lang_scss_ = __webpack_require__("5832");
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, /* server only */
16035
+ moduleIdentifier /* server only */,
15348
16036
  shadowMode /* vue-cli only */
15349
16037
  ) {
15350
16038
  // Vue.extend constructor export interop
15351
- var options = typeof scriptExports === 'function'
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) { // server build
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
- injectStyles.call(
15400
- this,
15401
- (options.functional ? this.parent : this).$root.$options.shadowRoot
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 (h, context) {
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--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=script&lang=js&
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); // pubmedviewer is currently not in use, but still under review so not ready to delete yet
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
- }; // remove duplicates by stringifying the objects
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; // Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
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]); // Filter the origin and destinations from components
15887
-
15888
- var components = _this4.findComponents(connectivity); // process the nodes for finding datasets
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
- }); // Filter for the anatomy which is annotated on datasets
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 Tooltipvue_type_style_index_0_id_4a14f4de_scoped_true_lang_scss_ = __webpack_require__("a390");
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
 
@@ -15952,359 +16523,165 @@ var Tooltip_component = normalizeComponent(
15952
16523
  null,
15953
16524
  "4a14f4de",
15954
16525
  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":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
15963
- var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"legends-container"},[_c('svg',{staticStyle:{"enable-background":"new 0 0 500 500"},attrs:{"version":"1.1","id":"Layer_1","x":"0px","y":"0px","viewBox":"0 0 500 500","xmlns":"http://www.w3.org/2000/svg","xmlns:bx":"https://boxy-svg.com"}},[_c('defs',[_c('bx:grid',{attrs:{"height":"30.447","width":"32.516","x":"0","y":"0"}})],1),_c('path',{staticClass:"st0 st0-translate",attrs:{"d":"M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"}}),_c('path',{staticClass:"st1",attrs:{"d":"M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"}}),_c('path',{staticClass:"st2",attrs:{"d":"M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 171.7975)"}},[_vm._v("Tissue region")]),_c('path',{staticClass:"st6",attrs:{"d":"M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 257.675)"}},[_vm._v("Brain nuclei")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 345.5266)"}},[_vm._v("Ganglia")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 433.1613)"}},[_vm._v("Nerve plexus")])])])}
15964
- var Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns = []
15965
-
15966
-
15967
- // CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
15968
-
15969
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/Legends.vue?vue&type=script&lang=js&
15970
- //
15971
- //
15972
- //
15973
- //
15974
- //
15975
- //
15976
- //
15977
- //
15978
- //
15979
- //
15980
- //
15981
- //
15982
- //
15983
- //
15984
- //
15985
- //
15986
- //
15987
- //
15988
- //
15989
- //
15990
- //
15991
- //
15992
- /* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
15993
- name: 'SvgLegends'
15994
- });
15995
- // CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
15996
- /* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
15997
- // EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=5dafd4cc&scoped=true&lang=scss&
15998
- var Legendsvue_type_style_index_0_id_5dafd4cc_scoped_true_lang_scss_ = __webpack_require__("5c73");
15999
-
16000
- // CONCATENATED MODULE: ./src/components/legends/Legends.vue
16001
-
16002
-
16003
-
16004
-
16005
-
16006
-
16007
- /* normalize component */
16008
-
16009
- var Legends_component = normalizeComponent(
16010
- legends_Legendsvue_type_script_lang_js_,
16011
- Legendsvue_type_template_id_5dafd4cc_scoped_true_render,
16012
- Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns,
16013
- false,
16014
- null,
16015
- "5dafd4cc",
16016
- null
16017
-
16018
- )
16019
-
16020
- /* harmony default export */ var Legends = (Legends_component.exports);
16021
- // CONCATENATED MODULE: ./src/icons/flatmap-marker.js
16022
- /* 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>');
16023
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
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
- //
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
- /**
16359
- * Function to toggle colour/greyscale of organs.
16730
+ /**
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
- /**
16373
- * Function to toggle outlines f organs.
16742
+ /**
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,10 +16751,9 @@ var mapResize = function mapResize(map) {
16382
16751
  });
16383
16752
  }
16384
16753
  },
16385
-
16386
- /**
16387
- * Function to toggle paths to default.
16388
- * Also called when the associated button is pressed.
16754
+ /**
16755
+ * Function to toggle paths to default.
16756
+ * Also called when the associated button is pressed.
16389
16757
  */
16390
16758
  resetView: function resetView() {
16391
16759
  if (this.mapImp) {
@@ -16397,20 +16765,18 @@ var mapResize = function mapResize(map) {
16397
16765
  this.checkAll = true;
16398
16766
  }
16399
16767
  },
16400
-
16401
- /**
16402
- * Function to zoom in.
16403
- * Also called when the associated button is pressed.
16768
+ /**
16769
+ * Function to zoom in.
16770
+ * Also called when the associated button is pressed.
16404
16771
  */
16405
16772
  zoomIn: function zoomIn() {
16406
16773
  if (this.mapImp) {
16407
16774
  this.mapImp.zoomIn();
16408
16775
  }
16409
16776
  },
16410
-
16411
- /**
16412
- * Function to zoom out.
16413
- * Also called when the associated button is pressed.
16777
+ /**
16778
+ * Function to zoom out.
16779
+ * Also called when the associated button is pressed.
16414
16780
  */
16415
16781
  zoomOut: function zoomOut() {
16416
16782
  if (this.mapImp) {
@@ -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,29 +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
-
16815
+ var biologicalSex = _this.biologicalSex;
16452
16816
  for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
16453
16817
  args[_key - 2] = arguments[_key];
16454
16818
  }
16455
-
16456
16819
  var payload = {
16457
16820
  dataset: data.dataset,
16821
+ biologicalSex: biologicalSex,
16458
16822
  taxonomy: taxonomy,
16459
16823
  resource: resource,
16460
16824
  label: label,
16461
16825
  feature: data,
16462
16826
  userData: args,
16463
16827
  eventType: eventType
16464
- }; // Disable the nueron pop up for now.
16465
-
16828
+ };
16829
+ // Disable the nueron pop up for now.
16466
16830
  if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
16467
-
16468
16831
  _this.$emit("resource-selected", payload);
16469
16832
  } else {
16470
16833
  _this.$emit("pan-zoom-callback", data);
@@ -16488,7 +16851,6 @@ var mapResize = function mapResize(map) {
16488
16851
  if (ftooltip) ftooltip.style.display = "none";
16489
16852
  document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
16490
16853
  this.$refs.tooltip.$el.style.display = "flex";
16491
-
16492
16854
  document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
16493
16855
  document.querySelector(".flatmap-tooltip-popup").style.display = "block";
16494
16856
  };
@@ -16502,14 +16864,13 @@ var mapResize = function mapResize(map) {
16502
16864
  if (data.resource[0].includes('ilxtr:neuron')) {
16503
16865
  return true;
16504
16866
  }
16505
- } // annotated with datset check
16506
-
16507
-
16867
+ }
16868
+ // annotated with datset check
16508
16869
  if (data.dataset) {
16509
16870
  return true;
16510
- } // if there is no cuff, neural data, or dataset we do not display neuron tooltip
16511
-
16871
+ }
16512
16872
 
16873
+ // if there is no cuff, neural data, or dataset we do not display neuron tooltip
16513
16874
  return false;
16514
16875
  },
16515
16876
  createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
@@ -16521,8 +16882,9 @@ var mapResize = function mapResize(map) {
16521
16882
  distribution: undefined,
16522
16883
  actions: []
16523
16884
  };
16524
- this.tooltipVisible = false; // neural data check
16885
+ this.tooltipVisible = false;
16525
16886
 
16887
+ // neural data check
16526
16888
  if (feature) {
16527
16889
  if (feature.includes('ilxtr:neuron')) {
16528
16890
  this.tooltipVisible = true;
@@ -16539,9 +16901,8 @@ var mapResize = function mapResize(map) {
16539
16901
  nervePath: true
16540
16902
  });
16541
16903
  }
16542
- } // annotated with datset check
16543
-
16544
-
16904
+ }
16905
+ // annotated with datset check
16545
16906
  if (data.dataset) {
16546
16907
  this.tooltipVisible = true;
16547
16908
  this.tooltipContent = content;
@@ -16559,7 +16920,6 @@ var mapResize = function mapResize(map) {
16559
16920
  // Keeping this as an API
16560
16921
  showPopup: function showPopup(featureId, node, options) {
16561
16922
  var myOptions = options;
16562
-
16563
16923
  if (this.mapImp) {
16564
16924
  if (myOptions) {
16565
16925
  if (!myOptions.className) myOptions.className = "flatmapvuer-popover";
@@ -16569,7 +16929,6 @@ var mapResize = function mapResize(map) {
16569
16929
  positionAtLastClick: true
16570
16930
  };
16571
16931
  }
16572
-
16573
16932
  this.mapImp.showPopup(featureId, node, myOptions);
16574
16933
  }
16575
16934
  },
@@ -16595,7 +16954,6 @@ var mapResize = function mapResize(map) {
16595
16954
  },
16596
16955
  showToolitip: function showToolitip(tooltipNumber) {
16597
16956
  var _this2 = this;
16598
-
16599
16957
  if (!this.inHelp) {
16600
16958
  this.tooltipWait = setTimeout(function () {
16601
16959
  _this2.hoverVisibilities[tooltipNumber].value = true;
@@ -16625,13 +16983,10 @@ var mapResize = function mapResize(map) {
16625
16983
  },
16626
16984
  getLabels: function getLabels() {
16627
16985
  var labels = [];
16628
-
16629
16986
  if (this.mapImp) {
16630
16987
  var annotations = this.mapImp.annotations;
16631
-
16632
16988
  var _iterator = _createForOfIteratorHelper(annotations.values()),
16633
- _step;
16634
-
16989
+ _step;
16635
16990
  try {
16636
16991
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
16637
16992
  var value = _step.value;
@@ -16642,7 +16997,6 @@ var mapResize = function mapResize(map) {
16642
16997
  } finally {
16643
16998
  _iterator.f();
16644
16999
  }
16645
-
16646
17000
  return Array.from(new Set(labels));
16647
17001
  }
16648
17002
  },
@@ -16650,17 +17004,17 @@ var mapResize = function mapResize(map) {
16650
17004
  if (this.mapImp) {
16651
17005
  var state = {
16652
17006
  entry: this.entry,
17007
+ biologicalSex: this.biologicalSex,
16653
17008
  viewport: this.mapImp.getState()
16654
17009
  };
16655
17010
  return state;
16656
17011
  }
16657
-
16658
17012
  return undefined;
16659
17013
  },
16660
17014
  setState: function setState(state) {
16661
17015
  if (state) {
16662
- if (this.mapImp && state.entry) {
16663
- if (this.entry == state.entry) if (state.viewport) {
17016
+ if (this.mapImp && state.entry && this.entry == state.entry && (!state.biologicalSex || state.biologicalSex === this.biologicalSex)) {
17017
+ if (state.viewport) {
16664
17018
  this.mapImp.setState(state.viewport);
16665
17019
  }
16666
17020
  } else {
@@ -16670,20 +17024,50 @@ var mapResize = function mapResize(map) {
16670
17024
  },
16671
17025
  createFlatmap: function createFlatmap(state) {
16672
17026
  var _this3 = this;
16673
-
16674
17027
  if (!this.mapImp && !this.loading) {
16675
17028
  this.loading = true;
16676
17029
  var minimap = false;
16677
-
16678
17030
  if (this.displayMinimap) {
16679
17031
  minimap = {
16680
17032
  position: "top-right"
16681
17033
  };
16682
17034
  }
16683
17035
 
16684
- var entry = this.entry;
16685
- if (state && state.entry) entry = state.entry;
16686
- var promise1 = this.mapManager.loadMap(entry, this.$refs.display, this.eventCallback(), {
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
+ }
17069
+ }
17070
+ var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
16687
17071
  //fullscreenControl: false,
16688
17072
  //annotatable: false,
16689
17073
  //debug: true,
@@ -16697,15 +17081,10 @@ var mapResize = function mapResize(map) {
16697
17081
  promise1.then(function (returnedObject) {
16698
17082
  _this3.mapImp = returnedObject;
16699
17083
  _this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
16700
-
16701
17084
  _this3.mapImp.setBackgroundOpacity(1);
16702
-
16703
17085
  _this3.backgroundChangeCallback(_this3.currentBackground);
16704
-
16705
17086
  _this3.pathways = _this3.mapImp.pathTypes();
16706
-
16707
17087
  _this3.$emit("ready", _this3);
16708
-
16709
17088
  _this3.loading = false;
16710
17089
  if (_this3._viewportToBeSet) _this3.mapImp.setState(_this3._viewportToBeSet);else if (state && state.viewport) _this3.mapImp.setState(state.viewport);
16711
17090
  });
@@ -16719,9 +17098,8 @@ var mapResize = function mapResize(map) {
16719
17098
  showPathwaysDrawer: function showPathwaysDrawer(flag) {
16720
17099
  this.drawerOpen = flag;
16721
17100
  },
16722
-
16723
- /**
16724
- * Function to display features with annotation matching the provided term.
17101
+ /**
17102
+ * Function to display features with annotation matching the provided term.
16725
17103
  */
16726
17104
  searchAndShowResult: function searchAndShowResult(term) {
16727
17105
  if (this.mapImp) {
@@ -16730,19 +17108,16 @@ var mapResize = function mapResize(map) {
16730
17108
  return true;
16731
17109
  } else {
16732
17110
  var searchResults = this.mapImp.search(term);
16733
-
16734
17111
  if (searchResults && searchResults.__featureIds.length > 0) {
16735
17112
  this.mapImp.showSearchResults(searchResults);
16736
17113
  return true;
16737
17114
  } else this.mapImp.clearSearchResults();
16738
17115
  }
16739
17116
  }
16740
-
16741
17117
  return false;
16742
17118
  },
16743
-
16744
- /**
16745
- * Get the list of suggested terms
17119
+ /**
17120
+ * Get the list of suggested terms
16746
17121
  */
16747
17122
  searchSuggestions: function searchSuggestions(term) {
16748
17123
  if (this.mapImp) return this.mapImp.search(term);
@@ -16751,6 +17126,7 @@ var mapResize = function mapResize(map) {
16751
17126
  },
16752
17127
  props: {
16753
17128
  entry: String,
17129
+ biologicalSex: String,
16754
17130
  featureInfo: {
16755
17131
  type: Boolean,
16756
17132
  default: false
@@ -16797,23 +17173,21 @@ var mapResize = function mapResize(map) {
16797
17173
  },
16798
17174
  latestChangesMessage: {
16799
17175
  type: String,
16800
- default: "Bladder connectivity can now be explored and searched on when selected! To see it, click on any of the paths coming from the bladder. Other pathways will be searchable soon."
17176
+ default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
16801
17177
  },
16802
-
16803
- /**
16804
- * State containing state of the flatmap.
17178
+ /**
17179
+ * State containing state of the flatmap.
16805
17180
  */
16806
17181
  state: {
16807
17182
  type: Object,
16808
17183
  default: undefined
16809
17184
  },
16810
-
16811
- /**
16812
- * Specify the endpoint of the flatmap server.
17185
+ /**
17186
+ * Specify the endpoint of the flatmap server.
16813
17187
  */
16814
17188
  flatmapAPI: {
16815
17189
  type: String,
16816
- default: "https://mapcore-demo.org/flatmaps/"
17190
+ default: "https://mapcore-demo.org/current/flatmap/v3/"
16817
17191
  },
16818
17192
  sparcAPI: {
16819
17193
  type: String,
@@ -16879,15 +17253,14 @@ var mapResize = function mapResize(map) {
16879
17253
  },
16880
17254
  mounted: function mounted() {
16881
17255
  var flatmap = __webpack_require__("4979");
16882
-
16883
17256
  this.mapManager = new flatmap.MapManager(this.flatmapAPI);
16884
17257
  if (this.renderAtMounted) this.createFlatmap();
16885
17258
  }
16886
17259
  });
16887
17260
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
16888
17261
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
16889
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=289ef1f9&scoped=true&lang=scss&
16890
- var FlatmapVuervue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss_ = __webpack_require__("faaf");
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");
16891
17264
 
16892
17265
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
16893
17266
 
@@ -16904,18 +17277,125 @@ var FlatmapVuer_component = normalizeComponent(
16904
17277
  staticRenderFns,
16905
17278
  false,
16906
17279
  null,
16907
- "289ef1f9",
17280
+ "601cf5a4",
16908
17281
  null
16909
17282
 
16910
17283
  )
16911
17284
 
16912
17285
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
16913
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=61ad0a54&scoped=true&
16914
- var MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"multi-container"},[_c('div',{staticStyle:{"position":"absolute","z-index":"10"}},[_c('div',{staticClass:"species-display-text"},[_vm._v(" Species ")]),_c('el-popover',{ref:"selectPopover",attrs:{"content":"Select a species","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.helpMode),callback:function ($$v) {_vm.helpMode=$$v},expression:"helpMode"}}),_c('el-select',{directives:[{name:"popover",rawName:"v-popover:selectPopover",arg:"selectPopover"}],staticClass:"select-box",attrs:{"id":"flatmap-select","popper-append-to-body":_vm.appendToBody,"placeholder":"Select","popper-class":"flatmap_dropdown"},on:{"change":_vm.flatmapChanged},model:{value:(_vm.activeSpecies),callback:function ($$v) {_vm.activeSpecies=$$v},expression:"activeSpecies"}},_vm._l((_vm.speciesList),function(item,key){return _c('el-option',{key:key,attrs:{"label":key,"value":key}},[_c('el-row',[_c('el-col',{attrs:{"span":8}},[_c('i',{class:item.iconClass})]),_c('el-col',{attrs:{"span":12}},[_vm._v(_vm._s(key))])],1)],1)}),1)],1),_vm._l((_vm.speciesList),function(item,key){return _c('FlatmapVuer',{directives:[{name:"show",rawName:"v-show",value:(_vm.activeSpecies==key),expression:"activeSpecies==key"}],key:key,ref:key,refInFor:true,staticStyle:{"height":"100%"},attrs:{"showLayer":_vm.showLayer,"entry":item.taxo,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI,"sparcAPI":_vm.sparcAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
16915
- var MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_staticRenderFns = []
16916
-
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 = [];
16917
17397
 
16918
- // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=61ad0a54&scoped=true&
17398
+ // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=0ad8a77b&scoped=true&
16919
17399
 
16920
17400
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
16921
17401
  var popover = __webpack_require__("06f1");
@@ -16941,7 +17421,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
16941
17421
  // EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
16942
17422
  var es_object_keys_js_ = __webpack_require__("ea64");
16943
17423
 
16944
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
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&
16945
17425
 
16946
17426
 
16947
17427
 
@@ -16962,63 +17442,6 @@ var es_object_keys_js_ = __webpack_require__("ea64");
16962
17442
 
16963
17443
 
16964
17444
 
16965
- //
16966
- //
16967
- //
16968
- //
16969
- //
16970
- //
16971
- //
16972
- //
16973
- //
16974
- //
16975
- //
16976
- //
16977
- //
16978
- //
16979
- //
16980
- //
16981
- //
16982
- //
16983
- //
16984
- //
16985
- //
16986
- //
16987
- //
16988
- //
16989
- //
16990
- //
16991
- //
16992
- //
16993
- //
16994
- //
16995
- //
16996
- //
16997
- //
16998
- //
16999
- //
17000
- //
17001
- //
17002
- //
17003
- //
17004
- //
17005
- //
17006
- //
17007
- //
17008
- //
17009
- //
17010
- //
17011
- //
17012
- //
17013
- //
17014
- //
17015
- //
17016
- //
17017
- //
17018
- //
17019
- //
17020
- //
17021
-
17022
17445
  /* eslint-disable no-alert, no-console */
17023
17446
 
17024
17447
 
@@ -17038,7 +17461,6 @@ external_vue_default.a.use(lib_popover_default.a);
17038
17461
  },
17039
17462
  mounted: function mounted() {
17040
17463
  var _this = this;
17041
-
17042
17464
  this.initialise();
17043
17465
  components_EventBus.$on('onActionClick', function (action) {
17044
17466
  _this.FlatmapSelected(action);
@@ -17047,33 +17469,36 @@ external_vue_default.a.use(lib_popover_default.a);
17047
17469
  methods: {
17048
17470
  initialise: function initialise() {
17049
17471
  var _this2 = this;
17050
-
17051
17472
  return new Promise(function (resolve) {
17052
17473
  fetch(_this2.flatmapAPI).then(function (response) {
17053
17474
  return response.json();
17054
17475
  }).then(function (data) {
17055
- _this2.speciesLis = {};
17476
+ _this2.speciesList = {};
17056
17477
  Object.keys(_this2.availableSpecies).forEach(function (key) {
17057
17478
  for (var i = 0; i < data.length; i++) {
17058
- if (data[i].taxon === _this2.availableSpecies[key].taxo) {
17059
- _this2.speciesList[key] = _this2.availableSpecies[key];
17060
- break;
17479
+ if (_this2.availableSpecies[key].taxo === data[i].taxon) {
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
+ }
17061
17489
  }
17062
17490
  }
17063
17491
  });
17064
-
17065
17492
  if (!_this2.state) {
17066
17493
  if (_this2.initial && _this2.speciesList[_this2.initial] !== undefined) {
17067
17494
  _this2.activeSpecies = _this2.initial;
17068
17495
  } else {
17069
17496
  _this2.activeSpecies = Object.keys(_this2.speciesList)[0];
17070
17497
  }
17071
-
17072
17498
  external_vue_default.a.nextTick(function () {
17073
17499
  if (_this2.$refs[_this2.activeSpecies]) _this2.$refs[_this2.activeSpecies][0].createFlatmap();
17074
17500
  });
17075
17501
  }
17076
-
17077
17502
  resolve();
17078
17503
  });
17079
17504
  });
@@ -17086,11 +17511,9 @@ external_vue_default.a.use(lib_popover_default.a);
17086
17511
  },
17087
17512
  getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
17088
17513
  var flatmap = this.$refs[this.activeSpecies];
17089
-
17090
17514
  if (flatmap && flatmap[0]) {
17091
17515
  return flatmap[0].getCoordinatesOfLastClick();
17092
17516
  }
17093
-
17094
17517
  return undefined;
17095
17518
  },
17096
17519
  getCurrentFlatmap: function getCurrentFlatmap() {
@@ -17112,12 +17535,11 @@ external_vue_default.a.use(lib_popover_default.a);
17112
17535
  this.$refs[this.activeSpecies][0].createFlatmap();
17113
17536
  this.$emit('flatmapChanged', this.activeSpecies);
17114
17537
  },
17115
-
17116
- /**
17117
- * Function used for getting the current states of the scene. This exported states
17118
- * can be imported using the importStates method.
17119
- *
17120
- * @public
17538
+ /**
17539
+ * Function used for getting the current states of the scene. This exported states
17540
+ * can be imported using the importStates method.
17541
+ *
17542
+ * @public
17121
17543
  */
17122
17544
  getState: function getState() {
17123
17545
  var state = {
@@ -17128,32 +17550,27 @@ external_vue_default.a.use(lib_popover_default.a);
17128
17550
  state.state = map.getState();
17129
17551
  return state;
17130
17552
  },
17131
-
17132
- /**
17133
- * Function used for importing the states of the scene. This exported states
17134
- * can be imported using the read states method.
17135
- *
17136
- * @public
17553
+ /**
17554
+ * Function used for importing the states of the scene. This exported states
17555
+ * can be imported using the read states method.
17556
+ *
17557
+ * @public
17137
17558
  */
17138
17559
  setState: function setState(state) {
17139
17560
  var _this3 = this;
17140
-
17141
17561
  if (state) {
17142
17562
  this.initialise().then(function () {
17143
17563
  if (state.species && state.species !== _this3.activeSpecies) {
17144
17564
  _this3.activeSpecies = state.species;
17145
-
17146
17565
  if (state.state) {
17147
17566
  //Wait for next tick when the refs are ready for rendering
17148
17567
  _this3.$nextTick(function () {
17149
17568
  _this3.$refs[_this3.activeSpecies][0].createFlatmap(state.state);
17150
-
17151
17569
  _this3.$emit('flatmapChanged', _this3.activeSpecies);
17152
17570
  });
17153
17571
  }
17154
17572
  } else if (state.state) {
17155
17573
  var map = _this3.getCurrentFlatmap();
17156
-
17157
17574
  map.setState(state.state);
17158
17575
  }
17159
17576
  });
@@ -17180,10 +17597,9 @@ external_vue_default.a.use(lib_popover_default.a);
17180
17597
  type: Boolean,
17181
17598
  default: false
17182
17599
  },
17183
-
17184
- /**
17185
- * Initial species for the flatmap.
17186
- * This value will be ignored if a valid state object is provided.
17600
+ /**
17601
+ * Initial species for the flatmap.
17602
+ * This value will be ignored if a valid state object is provided.
17187
17603
  */
17188
17604
  initial: {
17189
17605
  type: String,
@@ -17210,21 +17626,19 @@ external_vue_default.a.use(lib_popover_default.a);
17210
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."
17211
17627
  },
17212
17628
  availableSpecies: {},
17213
-
17214
- /**
17215
- * State containing state of the flatmap.
17629
+ /**
17630
+ * State containing state of the flatmap.
17216
17631
  */
17217
17632
  state: {
17218
17633
  type: Object,
17219
17634
  default: undefined
17220
17635
  },
17221
-
17222
- /**
17223
- * Specify the endpoint of the flatmap server.
17636
+ /**
17637
+ * Specify the endpoint of the flatmap server.
17224
17638
  */
17225
17639
  flatmapAPI: {
17226
17640
  type: String,
17227
- default: "https://mapcore-demo.org/flatmaps/"
17641
+ default: "https://mapcore-demo.org/current/flatmap/v3/"
17228
17642
  },
17229
17643
  sparcAPI: {
17230
17644
  type: String,
@@ -17250,8 +17664,8 @@ external_vue_default.a.use(lib_popover_default.a);
17250
17664
  });
17251
17665
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
17252
17666
  /* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
17253
- // EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=61ad0a54&scoped=true&lang=scss&
17254
- var MultiFlatmapVuervue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss_ = __webpack_require__("dd4a");
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");
17255
17669
 
17256
17670
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
17257
17671
 
@@ -17264,11 +17678,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss_ =
17264
17678
 
17265
17679
  var MultiFlatmapVuer_component = normalizeComponent(
17266
17680
  components_MultiFlatmapVuervue_type_script_lang_js_,
17267
- MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_render,
17268
- MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_staticRenderFns,
17681
+ MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_render,
17682
+ MultiFlatmapVuervue_type_template_id_0ad8a77b_scoped_true_staticRenderFns,
17269
17683
  false,
17270
17684
  null,
17271
- "61ad0a54",
17685
+ "0ad8a77b",
17272
17686
  null
17273
17687
 
17274
17688
  )