@abi-software/flatmapvuer 0.3.8 → 0.3.10

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