@abi-software/flatmapvuer 0.3.13-beta-3 → 0.3.14

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.
@@ -87,6 +87,13 @@ module.exports =
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
+ /***/ "0242":
91
+ /***/ (function(module, exports, __webpack_require__) {
92
+
93
+ // extracted by mini-css-extract-plugin
94
+
95
+ /***/ }),
96
+
90
97
  /***/ "06f1":
91
98
  /***/ (function(module, exports, __webpack_require__) {
92
99
 
@@ -94,6 +101,13 @@ module.exports =
94
101
 
95
102
  /***/ }),
96
103
 
104
+ /***/ "0cda":
105
+ /***/ (function(module, exports) {
106
+
107
+ module.exports = require("core-js/modules/es.string.split.js");
108
+
109
+ /***/ }),
110
+
97
111
  /***/ "0f6c":
98
112
  /***/ (function(module, exports) {
99
113
 
@@ -181,12 +195,12 @@ module.exports =
181
195
  /******/
182
196
  /******/
183
197
  /******/ // Load entry module and return exports
184
- /******/ return __webpack_require__(__webpack_require__.s = 139);
198
+ /******/ return __webpack_require__(__webpack_require__.s = 132);
185
199
  /******/ })
186
200
  /************************************************************************/
187
201
  /******/ ({
188
202
 
189
- /***/ 139:
203
+ /***/ 132:
190
204
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
191
205
 
192
206
  "use strict";
@@ -209,7 +223,10 @@ __webpack_require__.r(__webpack_exports__);
209
223
  type: String,
210
224
  default: 'start'
211
225
  },
212
- align: String
226
+ align: {
227
+ type: String,
228
+ default: 'top'
229
+ }
213
230
  },
214
231
 
215
232
  computed: {
@@ -227,7 +244,7 @@ __webpack_require__.r(__webpack_exports__);
227
244
 
228
245
  render: function render(h) {
229
246
  return h(this.tag, {
230
- class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
247
+ class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
231
248
  style: this.style
232
249
  }, this.$slots.default);
233
250
  }
@@ -248,13 +265,6 @@ row.install = function (Vue) {
248
265
 
249
266
  /***/ }),
250
267
 
251
- /***/ "0fd6":
252
- /***/ (function(module, exports, __webpack_require__) {
253
-
254
- // extracted by mini-css-extract-plugin
255
-
256
- /***/ }),
257
-
258
268
  /***/ "12f2":
259
269
  /***/ (function(module, exports, __webpack_require__) {
260
270
 
@@ -275,6 +285,17 @@ exports.default = function (ref) {
275
285
 
276
286
  ;
277
287
 
288
+ /***/ }),
289
+
290
+ /***/ "13aa":
291
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
292
+
293
+ "use strict";
294
+ /* 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_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c4c7");
295
+ /* 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_6d6dee76_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_6d6dee76_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
296
+ /* unused harmony reexport * */
297
+
298
+
278
299
  /***/ }),
279
300
 
280
301
  /***/ "13e3":
@@ -371,12 +392,12 @@ module.exports =
371
392
  /******/
372
393
  /******/
373
394
  /******/ // Load entry module and return exports
374
- /******/ return __webpack_require__(__webpack_require__.s = 133);
395
+ /******/ return __webpack_require__(__webpack_require__.s = 127);
375
396
  /******/ })
376
397
  /************************************************************************/
377
398
  /******/ ({
378
399
 
379
- /***/ 133:
400
+ /***/ 127:
380
401
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
381
402
 
382
403
  "use strict";
@@ -386,7 +407,7 @@ __webpack_require__.r(__webpack_exports__);
386
407
  var resize_event_ = __webpack_require__(16);
387
408
 
388
409
  // EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
389
- var scrollbar_width_ = __webpack_require__(39);
410
+ var scrollbar_width_ = __webpack_require__(38);
390
411
  var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
391
412
 
392
413
  // EXTERNAL MODULE: external "element-ui/lib/utils/util"
@@ -701,7 +722,7 @@ module.exports = __webpack_require__("8122");
701
722
 
702
723
  /***/ }),
703
724
 
704
- /***/ 39:
725
+ /***/ 38:
705
726
  /***/ (function(module, exports) {
706
727
 
707
728
  module.exports = __webpack_require__("e62d");
@@ -733,45 +754,31 @@ module.exports = require("core-js/modules/es.array.filter.js");
733
754
 
734
755
  /***/ }),
735
756
 
736
- /***/ "1c32":
737
- /***/ (function(module, exports) {
757
+ /***/ "1b11":
758
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
759
+
760
+ "use strict";
761
+ /* 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_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5ca3");
762
+ /* 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_20b4e460_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_20b4e460_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
763
+ /* unused harmony reexport * */
738
764
 
739
- module.exports = require("core-js/modules/es.string.search.js");
740
765
 
741
766
  /***/ }),
742
767
 
743
- /***/ "1f1a":
744
- /***/ (function(module, exports, __webpack_require__) {
768
+ /***/ "1c32":
769
+ /***/ (function(module, exports) {
745
770
 
746
- // extracted by mini-css-extract-plugin
771
+ module.exports = require("core-js/modules/es.string.search.js");
747
772
 
748
773
  /***/ }),
749
774
 
750
- /***/ "21d1":
775
+ /***/ "1f1a":
751
776
  /***/ (function(module, exports, __webpack_require__) {
752
777
 
753
778
  // extracted by mini-css-extract-plugin
754
779
 
755
780
  /***/ }),
756
781
 
757
- /***/ "233b":
758
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
759
-
760
- "use strict";
761
- /* 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_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7a9a");
762
- /* 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_58832c92_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_58832c92_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
763
- /* unused harmony reexport * */
764
-
765
-
766
- /***/ }),
767
-
768
- /***/ "2439":
769
- /***/ (function(module, exports) {
770
-
771
- module.exports = require("core-js/modules/es.array.push.js");
772
-
773
- /***/ }),
774
-
775
782
  /***/ "2a5e":
776
783
  /***/ (function(module, exports, __webpack_require__) {
777
784
 
@@ -905,17 +912,6 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
905
912
 
906
913
  module.exports = require("core-js/modules/es.regexp.to-string.js");
907
914
 
908
- /***/ }),
909
-
910
- /***/ "318c":
911
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
912
-
913
- "use strict";
914
- /* 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_514dd6be_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5766");
915
- /* 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_514dd6be_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_514dd6be_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
916
- /* unused harmony reexport * */
917
-
918
-
919
915
  /***/ }),
920
916
 
921
917
  /***/ "3d2d":
@@ -1005,7 +1001,7 @@ module.exports =
1005
1001
  /******/
1006
1002
  /******/
1007
1003
  /******/ // Load entry module and return exports
1008
- /******/ return __webpack_require__(__webpack_require__.s = 116);
1004
+ /******/ return __webpack_require__(__webpack_require__.s = 94);
1009
1005
  /******/ })
1010
1006
  /************************************************************************/
1011
1007
  /******/ ({
@@ -1112,7 +1108,7 @@ function normalizeComponent (
1112
1108
 
1113
1109
  /***/ }),
1114
1110
 
1115
- /***/ 116:
1111
+ /***/ 94:
1116
1112
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1117
1113
 
1118
1114
  "use strict";
@@ -1224,8 +1220,6 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
1224
1220
 
1225
1221
  var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
1226
1222
 
1227
- var _throttleDebounce = __webpack_require__("831f");
1228
-
1229
1223
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1230
1224
 
1231
1225
  var isServer = typeof window === 'undefined';
@@ -1260,7 +1254,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
1260
1254
  if (isServer) return;
1261
1255
  if (!element.__resizeListeners__) {
1262
1256
  element.__resizeListeners__ = [];
1263
- element.__ro__ = new _resizeObserverPolyfill2.default((0, _throttleDebounce.debounce)(16, resizeHandler));
1257
+ element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
1264
1258
  element.__ro__.observe(element);
1265
1259
  }
1266
1260
  element.__resizeListeners__.push(fn);
@@ -1781,7 +1775,7 @@ module.exports =
1781
1775
  /******/
1782
1776
  /******/
1783
1777
  /******/ // Load entry module and return exports
1784
- /******/ return __webpack_require__(__webpack_require__.s = 62);
1778
+ /******/ return __webpack_require__(__webpack_require__.s = 61);
1785
1779
  /******/ })
1786
1780
  /************************************************************************/
1787
1781
  /******/ ({
@@ -1916,7 +1910,7 @@ module.exports = __webpack_require__("4010");
1916
1910
 
1917
1911
  /***/ }),
1918
1912
 
1919
- /***/ 19:
1913
+ /***/ 17:
1920
1914
  /***/ (function(module, exports) {
1921
1915
 
1922
1916
  module.exports = __webpack_require__("7435");
@@ -1944,14 +1938,14 @@ module.exports = __webpack_require__("8122");
1944
1938
 
1945
1939
  /***/ }),
1946
1940
 
1947
- /***/ 32:
1941
+ /***/ 31:
1948
1942
  /***/ (function(module, exports) {
1949
1943
 
1950
1944
  module.exports = __webpack_require__("2a5e");
1951
1945
 
1952
1946
  /***/ }),
1953
1947
 
1954
- /***/ 34:
1948
+ /***/ 33:
1955
1949
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1956
1950
 
1957
1951
  "use strict";
@@ -2202,7 +2196,7 @@ component.options.__file = "packages/select/src/option.vue"
2202
2196
 
2203
2197
  /***/ }),
2204
2198
 
2205
- /***/ 38:
2199
+ /***/ 37:
2206
2200
  /***/ (function(module, exports) {
2207
2201
 
2208
2202
  module.exports = __webpack_require__("8bbc");
@@ -2230,7 +2224,7 @@ module.exports = __webpack_require__("6b7c");
2230
2224
 
2231
2225
  /***/ }),
2232
2226
 
2233
- /***/ 62:
2227
+ /***/ 61:
2234
2228
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2235
2229
 
2236
2230
  "use strict";
@@ -2396,7 +2390,7 @@ var render = function() {
2396
2390
  return null
2397
2391
  }
2398
2392
  $event.preventDefault()
2399
- _vm.handleNavigate("next")
2393
+ _vm.navigateOptions("next")
2400
2394
  },
2401
2395
  function($event) {
2402
2396
  if (
@@ -2409,7 +2403,7 @@ var render = function() {
2409
2403
  return null
2410
2404
  }
2411
2405
  $event.preventDefault()
2412
- _vm.handleNavigate("prev")
2406
+ _vm.navigateOptions("prev")
2413
2407
  },
2414
2408
  function($event) {
2415
2409
  if (
@@ -2502,15 +2496,11 @@ var render = function() {
2502
2496
  "validate-event": false,
2503
2497
  tabindex: _vm.multiple && _vm.filterable ? "-1" : null
2504
2498
  },
2505
- on: {
2506
- focus: _vm.handleFocus,
2507
- blur: _vm.handleBlur,
2508
- input: _vm.debouncedOnInputChange,
2509
- compositionstart: _vm.handleComposition,
2510
- compositionupdate: _vm.handleComposition,
2511
- compositionend: _vm.handleComposition
2512
- },
2499
+ on: { focus: _vm.handleFocus, blur: _vm.handleBlur },
2513
2500
  nativeOn: {
2501
+ keyup: function($event) {
2502
+ return _vm.debouncedOnInputChange($event)
2503
+ },
2514
2504
  keydown: [
2515
2505
  function($event) {
2516
2506
  if (
@@ -2524,7 +2514,7 @@ var render = function() {
2524
2514
  }
2525
2515
  $event.stopPropagation()
2526
2516
  $event.preventDefault()
2527
- _vm.handleNavigate("next")
2517
+ _vm.navigateOptions("next")
2528
2518
  },
2529
2519
  function($event) {
2530
2520
  if (
@@ -2538,7 +2528,7 @@ var render = function() {
2538
2528
  }
2539
2529
  $event.stopPropagation()
2540
2530
  $event.preventDefault()
2541
- _vm.handleNavigate("prev")
2531
+ _vm.navigateOptions("prev")
2542
2532
  },
2543
2533
  function($event) {
2544
2534
  if (
@@ -2574,6 +2564,9 @@ var render = function() {
2574
2564
  _vm.visible = false
2575
2565
  }
2576
2566
  ],
2567
+ paste: function($event) {
2568
+ return _vm.debouncedOnInputChange($event)
2569
+ },
2577
2570
  mouseenter: function($event) {
2578
2571
  _vm.inputHovering = true
2579
2572
  },
@@ -2859,10 +2852,10 @@ if (false) { var api; }
2859
2852
  component.options.__file = "packages/select/src/select-dropdown.vue"
2860
2853
  /* harmony default export */ var select_dropdown = (component.exports);
2861
2854
  // EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
2862
- var src_option = __webpack_require__(34);
2855
+ var src_option = __webpack_require__(33);
2863
2856
 
2864
2857
  // EXTERNAL MODULE: external "element-ui/lib/tag"
2865
- var tag_ = __webpack_require__(38);
2858
+ var tag_ = __webpack_require__(37);
2866
2859
  var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
2867
2860
 
2868
2861
  // EXTERNAL MODULE: external "element-ui/lib/scrollbar"
@@ -2870,7 +2863,7 @@ var scrollbar_ = __webpack_require__(15);
2870
2863
  var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
2871
2864
 
2872
2865
  // EXTERNAL MODULE: external "throttle-debounce/debounce"
2873
- var debounce_ = __webpack_require__(19);
2866
+ var debounce_ = __webpack_require__(17);
2874
2867
  var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
2875
2868
 
2876
2869
  // EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
@@ -2881,7 +2874,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
2881
2874
  var resize_event_ = __webpack_require__(16);
2882
2875
 
2883
2876
  // EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
2884
- var scroll_into_view_ = __webpack_require__(32);
2877
+ var scroll_into_view_ = __webpack_require__(31);
2885
2878
  var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
2886
2879
 
2887
2880
  // EXTERNAL MODULE: external "element-ui/lib/utils/util"
@@ -3090,8 +3083,6 @@ var shared_ = __webpack_require__(21);
3090
3083
  //
3091
3084
  //
3092
3085
  //
3093
- //
3094
- //
3095
3086
 
3096
3087
 
3097
3088
 
@@ -3389,11 +3380,6 @@ var shared_ = __webpack_require__(21);
3389
3380
  },
3390
3381
 
3391
3382
  methods: {
3392
- handleNavigate: function handleNavigate(direction) {
3393
- if (this.isOnComposition) return;
3394
-
3395
- this.navigateOptions(direction);
3396
- },
3397
3383
  handleComposition: function handleComposition(event) {
3398
3384
  var _this5 = this;
3399
3385
 
@@ -3479,7 +3465,7 @@ var shared_ = __webpack_require__(21);
3479
3465
  }
3480
3466
  }
3481
3467
  if (option) return option;
3482
- var label = !isObject && !isNull && !isUndefined ? String(value) : '';
3468
+ var label = !isObject && !isNull && !isUndefined ? value : '';
3483
3469
  var newOption = {
3484
3470
  value: value,
3485
3471
  currentLabel: label
@@ -3519,10 +3505,10 @@ var shared_ = __webpack_require__(21);
3519
3505
  handleFocus: function handleFocus(event) {
3520
3506
  if (!this.softFocus) {
3521
3507
  if (this.automaticDropdown || this.filterable) {
3522
- if (this.filterable && !this.visible) {
3508
+ this.visible = true;
3509
+ if (this.filterable) {
3523
3510
  this.menuVisibleOnFocus = true;
3524
3511
  }
3525
- this.visible = true;
3526
3512
  }
3527
3513
  this.$emit('focus', event);
3528
3514
  } else {
@@ -3596,9 +3582,8 @@ var shared_ = __webpack_require__(21);
3596
3582
  return item.tagName === 'INPUT';
3597
3583
  })[0];
3598
3584
  var tags = _this10.$refs.tags;
3599
- var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
3600
3585
  var sizeInMap = _this10.initialInputHeight || 40;
3601
- input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
3586
+ input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
3602
3587
  if (_this10.visible && _this10.emptyText !== false) {
3603
3588
  _this10.broadcast('ElSelectDropdown', 'updatePopper');
3604
3589
  }
@@ -4119,7 +4104,7 @@ exports.PopupManager = _popupManager2.default;
4119
4104
 
4120
4105
  /***/ }),
4121
4106
 
4122
- /***/ "5766":
4107
+ /***/ "58e9":
4123
4108
  /***/ (function(module, exports, __webpack_require__) {
4124
4109
 
4125
4110
  // extracted by mini-css-extract-plugin
@@ -4237,7 +4222,7 @@ function addClass(el, cls) {
4237
4222
  }
4238
4223
  }
4239
4224
  if (!el.classList) {
4240
- el.setAttribute('class', curClass);
4225
+ el.className = curClass;
4241
4226
  }
4242
4227
  };
4243
4228
 
@@ -4258,7 +4243,7 @@ function removeClass(el, cls) {
4258
4243
  }
4259
4244
  }
4260
4245
  if (!el.classList) {
4261
- el.setAttribute('class', trim(curClass));
4246
+ el.className = trim(curClass);
4262
4247
  }
4263
4248
  };
4264
4249
 
@@ -4322,10 +4307,10 @@ function setStyle(element, styleName, value) {
4322
4307
  var isScroll = exports.isScroll = function isScroll(el, vertical) {
4323
4308
  if (isServer) return;
4324
4309
 
4325
- var determinedDirection = vertical !== null && vertical !== undefined;
4310
+ var determinedDirection = vertical !== null || vertical !== undefined;
4326
4311
  var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
4327
4312
 
4328
- return overflow.match(/(scroll|auto|overlay)/);
4313
+ return overflow.match(/(scroll|auto)/);
4329
4314
  };
4330
4315
 
4331
4316
  var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
@@ -4367,10 +4352,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
4367
4352
 
4368
4353
  /***/ }),
4369
4354
 
4370
- /***/ "5a3b":
4371
- /***/ (function(module, exports) {
4355
+ /***/ "5ca3":
4356
+ /***/ (function(module, exports, __webpack_require__) {
4372
4357
 
4373
- module.exports = require("core-js/modules/es.regexp.test.js");
4358
+ // extracted by mini-css-extract-plugin
4374
4359
 
4375
4360
  /***/ }),
4376
4361
 
@@ -5739,7 +5724,7 @@ module.exports =
5739
5724
  /******/
5740
5725
  /******/
5741
5726
  /******/ // Load entry module and return exports
5742
- /******/ return __webpack_require__(__webpack_require__.s = 89);
5727
+ /******/ return __webpack_require__(__webpack_require__.s = 79);
5743
5728
  /******/ })
5744
5729
  /************************************************************************/
5745
5730
  /******/ ({
@@ -5853,7 +5838,7 @@ module.exports = __webpack_require__("d010");
5853
5838
 
5854
5839
  /***/ }),
5855
5840
 
5856
- /***/ 89:
5841
+ /***/ 79:
5857
5842
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5858
5843
 
5859
5844
  "use strict";
@@ -5932,9 +5917,7 @@ var keyCode = Object.freeze({
5932
5917
  return (this.elFormItem || {}).elFormItemSize;
5933
5918
  },
5934
5919
  _elTag: function _elTag() {
5935
- var tag = (this.$vnode.data || {}).tag;
5936
- if (!tag || tag === 'component') tag = 'div';
5937
- return tag;
5920
+ return (this.$vnode.data || {}).tag || 'div';
5938
5921
  },
5939
5922
  radioGroupSize: function radioGroupSize() {
5940
5923
  return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
@@ -6135,7 +6118,7 @@ module.exports =
6135
6118
  /******/
6136
6119
  /******/
6137
6120
  /******/ // Load entry module and return exports
6138
- /******/ return __webpack_require__(__webpack_require__.s = 78);
6121
+ /******/ return __webpack_require__(__webpack_require__.s = 74);
6139
6122
  /******/ })
6140
6123
  /************************************************************************/
6141
6124
  /******/ ({
@@ -6270,7 +6253,7 @@ module.exports = __webpack_require__("8bbf");
6270
6253
 
6271
6254
  /***/ }),
6272
6255
 
6273
- /***/ 78:
6256
+ /***/ 74:
6274
6257
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6275
6258
 
6276
6259
  "use strict";
@@ -6694,20 +6677,6 @@ exports.default = {
6694
6677
 
6695
6678
  /***/ }),
6696
6679
 
6697
- /***/ "712c":
6698
- /***/ (function(module, exports) {
6699
-
6700
- module.exports = require("core-js/modules/web.url-search-params.js");
6701
-
6702
- /***/ }),
6703
-
6704
- /***/ "722b":
6705
- /***/ (function(module, exports) {
6706
-
6707
- module.exports = require("core-js/modules/es.array.unscopables.flat.js");
6708
-
6709
- /***/ }),
6710
-
6711
6680
  /***/ "7435":
6712
6681
  /***/ (function(module, exports) {
6713
6682
 
@@ -6722,13 +6691,6 @@ module.exports = require("throttle-debounce/debounce");
6722
6691
 
6723
6692
  /***/ }),
6724
6693
 
6725
- /***/ "7a9a":
6726
- /***/ (function(module, exports, __webpack_require__) {
6727
-
6728
- // extracted by mini-css-extract-plugin
6729
-
6730
- /***/ }),
6731
-
6732
6694
  /***/ "7b31":
6733
6695
  /***/ (function(module, exports, __webpack_require__) {
6734
6696
 
@@ -6816,7 +6778,7 @@ module.exports =
6816
6778
  /******/
6817
6779
  /******/
6818
6780
  /******/ // Load entry module and return exports
6819
- /******/ return __webpack_require__(__webpack_require__.s = 117);
6781
+ /******/ return __webpack_require__(__webpack_require__.s = 102);
6820
6782
  /******/ })
6821
6783
  /************************************************************************/
6822
6784
  /******/ ({
@@ -6923,7 +6885,7 @@ function normalizeComponent (
6923
6885
 
6924
6886
  /***/ }),
6925
6887
 
6926
- /***/ 117:
6888
+ /***/ 102:
6927
6889
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6928
6890
 
6929
6891
  "use strict";
@@ -7126,7 +7088,7 @@ module.exports =
7126
7088
  /******/
7127
7089
  /******/
7128
7090
  /******/ // Load entry module and return exports
7129
- /******/ return __webpack_require__(__webpack_require__.s = 93);
7091
+ /******/ return __webpack_require__(__webpack_require__.s = 86);
7130
7092
  /******/ })
7131
7093
  /************************************************************************/
7132
7094
  /******/ ({
@@ -7240,7 +7202,7 @@ module.exports = __webpack_require__("d010");
7240
7202
 
7241
7203
  /***/ }),
7242
7204
 
7243
- /***/ 93:
7205
+ /***/ 86:
7244
7206
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7245
7207
 
7246
7208
  "use strict";
@@ -7632,13 +7594,6 @@ function objToArray(obj) {
7632
7594
 
7633
7595
  /***/ }),
7634
7596
 
7635
- /***/ "831f":
7636
- /***/ (function(module, exports) {
7637
-
7638
- module.exports = require("throttle-debounce");
7639
-
7640
- /***/ }),
7641
-
7642
7597
  /***/ "8535":
7643
7598
  /***/ (function(module, exports) {
7644
7599
 
@@ -7740,7 +7695,7 @@ module.exports =
7740
7695
  /******/
7741
7696
  /******/
7742
7697
  /******/ // Load entry module and return exports
7743
- /******/ return __webpack_require__(__webpack_require__.s = 73);
7698
+ /******/ return __webpack_require__(__webpack_require__.s = 68);
7744
7699
  /******/ })
7745
7700
  /************************************************************************/
7746
7701
  /******/ ({
@@ -7861,21 +7816,14 @@ module.exports = __webpack_require__("5924");
7861
7816
 
7862
7817
  /***/ }),
7863
7818
 
7864
- /***/ 42:
7819
+ /***/ 41:
7865
7820
  /***/ (function(module, exports) {
7866
7821
 
7867
7822
  module.exports = __webpack_require__("c56a");
7868
7823
 
7869
7824
  /***/ }),
7870
7825
 
7871
- /***/ 7:
7872
- /***/ (function(module, exports) {
7873
-
7874
- module.exports = __webpack_require__("8bbf");
7875
-
7876
- /***/ }),
7877
-
7878
- /***/ 73:
7826
+ /***/ 68:
7879
7827
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7880
7828
 
7881
7829
  "use strict";
@@ -8023,7 +7971,7 @@ var dom_ = __webpack_require__(2);
8023
7971
  var popup_ = __webpack_require__(13);
8024
7972
 
8025
7973
  // EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
8026
- var after_leave_ = __webpack_require__(42);
7974
+ var after_leave_ = __webpack_require__(41);
8027
7975
  var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
8028
7976
 
8029
7977
  // CONCATENATED MODULE: ./packages/loading/src/directive.js
@@ -8087,7 +8035,7 @@ loadingDirective.install = function (Vue) {
8087
8035
  el.mask.style[property] = el.maskStyle[property];
8088
8036
  });
8089
8037
 
8090
- if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
8038
+ if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
8091
8039
  Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
8092
8040
  }
8093
8041
  if (binding.modifiers.fullscreen && binding.modifiers.lock) {
@@ -8245,7 +8193,7 @@ var src_Loading = function Loading() {
8245
8193
  });
8246
8194
 
8247
8195
  src_addStyle(options, parent, instance);
8248
- if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
8196
+ if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
8249
8197
  Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
8250
8198
  }
8251
8199
  if (options.fullscreen && options.lock) {
@@ -8278,6 +8226,13 @@ var src_Loading = function Loading() {
8278
8226
 
8279
8227
  /***/ }),
8280
8228
 
8229
+ /***/ 7:
8230
+ /***/ (function(module, exports) {
8231
+
8232
+ module.exports = __webpack_require__("8bbf");
8233
+
8234
+ /***/ }),
8235
+
8281
8236
  /***/ 9:
8282
8237
  /***/ (function(module, exports) {
8283
8238
 
@@ -8376,7 +8331,7 @@ module.exports =
8376
8331
  /******/
8377
8332
  /******/
8378
8333
  /******/ // Load entry module and return exports
8379
- /******/ return __webpack_require__(__webpack_require__.s = 132);
8334
+ /******/ return __webpack_require__(__webpack_require__.s = 124);
8380
8335
  /******/ })
8381
8336
  /************************************************************************/
8382
8337
  /******/ ({
@@ -8483,7 +8438,7 @@ function normalizeComponent (
8483
8438
 
8484
8439
  /***/ }),
8485
8440
 
8486
- /***/ 132:
8441
+ /***/ 124:
8487
8442
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8488
8443
 
8489
8444
  "use strict";
@@ -8605,18 +8560,7 @@ module.exports = require("vue");
8605
8560
 
8606
8561
  /***/ }),
8607
8562
 
8608
- /***/ "8d82":
8609
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8610
-
8611
- "use strict";
8612
- /* 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_7e19e884_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0fd6");
8613
- /* 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_7e19e884_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_7e19e884_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
8614
- /* unused harmony reexport * */
8615
-
8616
-
8617
- /***/ }),
8618
-
8619
- /***/ "9392":
8563
+ /***/ "940c":
8620
8564
  /***/ (function(module, exports, __webpack_require__) {
8621
8565
 
8622
8566
  // extracted by mini-css-extract-plugin
@@ -8712,6 +8656,17 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
8712
8656
  * https://github.com/Matt-Esch/string-template/index.js
8713
8657
  */
8714
8658
 
8659
+ /***/ }),
8660
+
8661
+ /***/ "9e82":
8662
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8663
+
8664
+ "use strict";
8665
+ /* 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_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0242");
8666
+ /* 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_514dd6be_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_514dd6be_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
8667
+ /* unused harmony reexport * */
8668
+
8669
+
8715
8670
  /***/ }),
8716
8671
 
8717
8672
  /***/ "a1cc":
@@ -8808,7 +8763,7 @@ module.exports =
8808
8763
  /******/
8809
8764
  /******/
8810
8765
  /******/ // Load entry module and return exports
8811
- /******/ return __webpack_require__(__webpack_require__.s = 103);
8766
+ /******/ return __webpack_require__(__webpack_require__.s = 109);
8812
8767
  /******/ })
8813
8768
  /************************************************************************/
8814
8769
  /******/ ({
@@ -8915,7 +8870,7 @@ function normalizeComponent (
8915
8870
 
8916
8871
  /***/ }),
8917
8872
 
8918
- /***/ 103:
8873
+ /***/ 109:
8919
8874
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8920
8875
 
8921
8876
  "use strict";
@@ -9057,13 +9012,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
9057
9012
 
9058
9013
  /***/ }),
9059
9014
 
9060
- /***/ "a9ee":
9061
- /***/ (function(module, exports) {
9062
-
9063
- module.exports = require("core-js/modules/es.json.stringify.js");
9064
-
9065
- /***/ }),
9066
-
9067
9015
  /***/ "aaa5":
9068
9016
  /***/ (function(module, exports, __webpack_require__) {
9069
9017
 
@@ -9083,6 +9031,17 @@ module.exports = require("core-js/modules/es.json.stringify.js");
9083
9031
 
9084
9032
  module.exports = require("css-element-queries/src/ResizeSensor");
9085
9033
 
9034
+ /***/ }),
9035
+
9036
+ /***/ "b191":
9037
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9038
+
9039
+ "use strict";
9040
+ /* 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_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("940c");
9041
+ /* 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_58832c92_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_58832c92_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
9042
+ /* unused harmony reexport * */
9043
+
9044
+
9086
9045
  /***/ }),
9087
9046
 
9088
9047
  /***/ "b2d6":
@@ -9209,9 +9168,6 @@ exports.default = {
9209
9168
  popconfirm: {
9210
9169
  confirmButtonText: 'Yes',
9211
9170
  cancelButtonText: 'No'
9212
- },
9213
- empty: {
9214
- description: 'No Data'
9215
9171
  }
9216
9172
  }
9217
9173
  };
@@ -9225,14 +9181,10 @@ exports.default = {
9225
9181
 
9226
9182
  /***/ }),
9227
9183
 
9228
- /***/ "b64b":
9229
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9230
-
9231
- "use strict";
9232
- /* 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_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("21d1");
9233
- /* 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_6d6dee76_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_6d6dee76_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
9234
- /* unused harmony reexport * */
9184
+ /***/ "b94f":
9185
+ /***/ (function(module, exports) {
9235
9186
 
9187
+ module.exports = require("core-js/modules/web.url.js");
9236
9188
 
9237
9189
  /***/ }),
9238
9190
 
@@ -9241,6 +9193,17 @@ exports.default = {
9241
9193
 
9242
9194
  // extracted by mini-css-extract-plugin
9243
9195
 
9196
+ /***/ }),
9197
+
9198
+ /***/ "c033":
9199
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9200
+
9201
+ "use strict";
9202
+ /* 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_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("58e9");
9203
+ /* 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_6b4bad1c_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_6b4bad1c_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
9204
+ /* unused harmony reexport * */
9205
+
9206
+
9244
9207
  /***/ }),
9245
9208
 
9246
9209
  /***/ "c2cc":
@@ -9330,12 +9293,12 @@ module.exports =
9330
9293
  /******/
9331
9294
  /******/
9332
9295
  /******/ // Load entry module and return exports
9333
- /******/ return __webpack_require__(__webpack_require__.s = 140);
9296
+ /******/ return __webpack_require__(__webpack_require__.s = 134);
9334
9297
  /******/ })
9335
9298
  /************************************************************************/
9336
9299
  /******/ ({
9337
9300
 
9338
- /***/ 140:
9301
+ /***/ 134:
9339
9302
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9340
9303
 
9341
9304
  "use strict";
@@ -9425,6 +9388,13 @@ col.install = function (Vue) {
9425
9388
 
9426
9389
  /***/ }),
9427
9390
 
9391
+ /***/ "c4c7":
9392
+ /***/ (function(module, exports, __webpack_require__) {
9393
+
9394
+ // extracted by mini-css-extract-plugin
9395
+
9396
+ /***/ }),
9397
+
9428
9398
  /***/ "c56a":
9429
9399
  /***/ (function(module, exports, __webpack_require__) {
9430
9400
 
@@ -9554,7 +9524,7 @@ module.exports =
9554
9524
  /******/
9555
9525
  /******/
9556
9526
  /******/ // Load entry module and return exports
9557
- /******/ return __webpack_require__(__webpack_require__.s = 119);
9527
+ /******/ return __webpack_require__(__webpack_require__.s = 113);
9558
9528
  /******/ })
9559
9529
  /************************************************************************/
9560
9530
  /******/ ({
@@ -9661,7 +9631,7 @@ function normalizeComponent (
9661
9631
 
9662
9632
  /***/ }),
9663
9633
 
9664
- /***/ 119:
9634
+ /***/ 113:
9665
9635
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9666
9636
 
9667
9637
  "use strict";
@@ -9840,13 +9810,6 @@ module.exports = require("core-js/modules/es.function.name.js");
9840
9810
 
9841
9811
  /***/ }),
9842
9812
 
9843
- /***/ "dc50":
9844
- /***/ (function(module, exports) {
9845
-
9846
- module.exports = require("core-js/modules/es.error.cause.js");
9847
-
9848
- /***/ }),
9849
-
9850
9813
  /***/ "dcdc":
9851
9814
  /***/ (function(module, exports, __webpack_require__) {
9852
9815
 
@@ -9934,7 +9897,7 @@ module.exports =
9934
9897
  /******/
9935
9898
  /******/
9936
9899
  /******/ // Load entry module and return exports
9937
- /******/ return __webpack_require__(__webpack_require__.s = 91);
9900
+ /******/ return __webpack_require__(__webpack_require__.s = 83);
9938
9901
  /******/ })
9939
9902
  /************************************************************************/
9940
9903
  /******/ ({
@@ -10048,7 +10011,7 @@ module.exports = __webpack_require__("d010");
10048
10011
 
10049
10012
  /***/ }),
10050
10013
 
10051
- /***/ 91:
10014
+ /***/ 83:
10052
10015
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10053
10016
 
10054
10017
  "use strict";
@@ -10619,7 +10582,7 @@ module.exports =
10619
10582
  /******/
10620
10583
  /******/
10621
10584
  /******/ // Load entry module and return exports
10622
- /******/ return __webpack_require__(__webpack_require__.s = 54);
10585
+ /******/ return __webpack_require__(__webpack_require__.s = 53);
10623
10586
  /******/ })
10624
10587
  /************************************************************************/
10625
10588
  /******/ ({
@@ -10733,7 +10696,7 @@ module.exports = __webpack_require__("8122");
10733
10696
 
10734
10697
  /***/ }),
10735
10698
 
10736
- /***/ 34:
10699
+ /***/ 33:
10737
10700
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10738
10701
 
10739
10702
  "use strict";
@@ -10991,12 +10954,12 @@ module.exports = __webpack_require__("d010");
10991
10954
 
10992
10955
  /***/ }),
10993
10956
 
10994
- /***/ 54:
10957
+ /***/ 53:
10995
10958
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10996
10959
 
10997
10960
  "use strict";
10998
10961
  __webpack_require__.r(__webpack_exports__);
10999
- /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
10962
+ /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
11000
10963
 
11001
10964
 
11002
10965
  /* istanbul ignore next */
@@ -11329,7 +11292,7 @@ module.exports =
11329
11292
  /******/
11330
11293
  /******/
11331
11294
  /******/ // Load entry module and return exports
11332
- /******/ return __webpack_require__(__webpack_require__.s = 96);
11295
+ /******/ return __webpack_require__(__webpack_require__.s = 97);
11333
11296
  /******/ })
11334
11297
  /************************************************************************/
11335
11298
  /******/ ({
@@ -11436,7 +11399,7 @@ function normalizeComponent (
11436
11399
 
11437
11400
  /***/ }),
11438
11401
 
11439
- /***/ 96:
11402
+ /***/ 97:
11440
11403
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11441
11404
 
11442
11405
  "use strict";
@@ -11550,7 +11513,7 @@ render._withStripped = true
11550
11513
  return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
11551
11514
  },
11552
11515
  buttonDisabled: function buttonDisabled() {
11553
- return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
11516
+ return this.disabled || (this.elForm || {}).disabled;
11554
11517
  }
11555
11518
  },
11556
11519
 
@@ -11728,9 +11691,6 @@ exports.default = {
11728
11691
  popconfirm: {
11729
11692
  confirmButtonText: '确定',
11730
11693
  cancelButtonText: '取消'
11731
- },
11732
- empty: {
11733
- description: '暂无数据'
11734
11694
  }
11735
11695
  }
11736
11696
  };
@@ -11824,7 +11784,7 @@ module.exports =
11824
11784
  /******/
11825
11785
  /******/
11826
11786
  /******/ // Load entry module and return exports
11827
- /******/ return __webpack_require__(__webpack_require__.s = 75);
11787
+ /******/ return __webpack_require__(__webpack_require__.s = 76);
11828
11788
  /******/ })
11829
11789
  /************************************************************************/
11830
11790
  /******/ ({
@@ -11952,7 +11912,7 @@ module.exports = __webpack_require__("d010");
11952
11912
 
11953
11913
  /***/ }),
11954
11914
 
11955
- /***/ 75:
11915
+ /***/ 76:
11956
11916
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11957
11917
 
11958
11918
  "use strict";
@@ -12594,18 +12554,15 @@ var shared_ = __webpack_require__(21);
12594
12554
  this.focused = true;
12595
12555
  this.$emit('focus', event);
12596
12556
  },
12597
- handleCompositionStart: function handleCompositionStart(event) {
12598
- this.$emit('compositionstart', event);
12557
+ handleCompositionStart: function handleCompositionStart() {
12599
12558
  this.isComposing = true;
12600
12559
  },
12601
12560
  handleCompositionUpdate: function handleCompositionUpdate(event) {
12602
- this.$emit('compositionupdate', event);
12603
12561
  var text = event.target.value;
12604
12562
  var lastCharacter = text[text.length - 1] || '';
12605
12563
  this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
12606
12564
  },
12607
12565
  handleCompositionEnd: function handleCompositionEnd(event) {
12608
- this.$emit('compositionend', event);
12609
12566
  if (this.isComposing) {
12610
12567
  this.isComposing = false;
12611
12568
  this.handleInput(event);
@@ -12827,7 +12784,7 @@ module.exports =
12827
12784
  /******/
12828
12785
  /******/
12829
12786
  /******/ // Load entry module and return exports
12830
- /******/ return __webpack_require__(__webpack_require__.s = 88);
12787
+ /******/ return __webpack_require__(__webpack_require__.s = 116);
12831
12788
  /******/ })
12832
12789
  /************************************************************************/
12833
12790
  /******/ ({
@@ -12934,14 +12891,7 @@ function normalizeComponent (
12934
12891
 
12935
12892
  /***/ }),
12936
12893
 
12937
- /***/ 4:
12938
- /***/ (function(module, exports) {
12939
-
12940
- module.exports = __webpack_require__("d010");
12941
-
12942
- /***/ }),
12943
-
12944
- /***/ 88:
12894
+ /***/ 116:
12945
12895
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12946
12896
 
12947
12897
  "use strict";
@@ -13011,8 +12961,7 @@ var render = function() {
13011
12961
  "aria-hidden": "true",
13012
12962
  name: _vm.name,
13013
12963
  disabled: _vm.isDisabled,
13014
- tabindex: "-1",
13015
- autocomplete: "off"
12964
+ tabindex: "-1"
13016
12965
  },
13017
12966
  domProps: {
13018
12967
  value: _vm.label,
@@ -13109,7 +13058,6 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
13109
13058
  //
13110
13059
  //
13111
13060
  //
13112
- //
13113
13061
 
13114
13062
 
13115
13063
 
@@ -13236,6 +13184,13 @@ src_radio.install = function (Vue) {
13236
13184
 
13237
13185
  /* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
13238
13186
 
13187
+ /***/ }),
13188
+
13189
+ /***/ 4:
13190
+ /***/ (function(module, exports) {
13191
+
13192
+ module.exports = __webpack_require__("d010");
13193
+
13239
13194
  /***/ })
13240
13195
 
13241
13196
  /******/ });
@@ -13247,17 +13202,6 @@ src_radio.install = function (Vue) {
13247
13202
 
13248
13203
  // extracted by mini-css-extract-plugin
13249
13204
 
13250
- /***/ }),
13251
-
13252
- /***/ "f83b":
13253
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
13254
-
13255
- "use strict";
13256
- /* 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_b3d66562_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9392");
13257
- /* 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_b3d66562_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_b3d66562_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
13258
- /* unused harmony reexport * */
13259
-
13260
-
13261
13205
  /***/ }),
13262
13206
 
13263
13207
  /***/ "f989":
@@ -13302,478 +13246,12 @@ if (typeof window !== 'undefined') {
13302
13246
  // Indicate to webpack that this file can be concatenated
13303
13247
  /* harmony default export */ var setPublicPath = (null);
13304
13248
 
13305
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"18b05c0a-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=7e19e884&scoped=true&
13306
- var render = function render() {
13307
- var _vm = this,
13308
- _c = _vm._self._c;
13309
- return _c('div', {
13310
- directives: [{
13311
- name: "loading",
13312
- rawName: "v-loading",
13313
- value: _vm.loading,
13314
- expression: "loading"
13315
- }],
13316
- staticClass: "flatmap-container",
13317
- attrs: {
13318
- "element-loading-text": "Loading...",
13319
- "element-loading-spinner": "el-icon-loading",
13320
- "element-loading-background": "rgba(0, 0, 0, 0.3)"
13321
- }
13322
- }, [_c('map-svg-sprite-color'), _c('div', {
13323
- staticStyle: {
13324
- "height": "100%",
13325
- "width": "100%",
13326
- "position": "relative",
13327
- "overflow-y": "none"
13328
- }
13329
- }, [_c('div', {
13330
- ref: "display",
13331
- staticStyle: {
13332
- "height": "100%",
13333
- "width": "100%"
13334
- }
13335
- }), _c('div', {
13336
- staticClass: "beta-popovers"
13337
- }, [_c('div', [_c('el-popover', {
13338
- ref: "warningPopover",
13339
- attrs: {
13340
- "content": _vm.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _vm.warningMessage,
13341
- "placement": "right",
13342
- "appendToBody": false,
13343
- "trigger": "manual",
13344
- "popper-class": "warning-popper flatmap-popper right-popper"
13345
- },
13346
- model: {
13347
- value: _vm.hoverVisibilities[6].value,
13348
- callback: function callback($$v) {
13349
- _vm.$set(_vm.hoverVisibilities[6], "value", $$v);
13350
- },
13351
- expression: "hoverVisibilities[6].value"
13352
- }
13353
- }), _vm.displayWarning && _vm.warningMessage ? _c('i', {
13354
- directives: [{
13355
- name: "popover",
13356
- rawName: "v-popover:warningPopover",
13357
- arg: "warningPopover"
13358
- }],
13359
- staticClass: "el-icon-warning warning-icon",
13360
- on: {
13361
- "mouseover": function mouseover($event) {
13362
- return _vm.showToolitip(6);
13363
- },
13364
- "mouseout": function mouseout($event) {
13365
- return _vm.hideToolitip(6);
13366
- }
13367
- }
13368
- }, [_vm.isLegacy ? [_c('span', {
13369
- staticClass: "warning-text"
13370
- }, [_vm._v("Legacy Map")]), _c('div', {
13371
- staticClass: "latest-map-text",
13372
- on: {
13373
- "click": _vm.viewLatestMap
13374
- }
13375
- }, [_vm._v("Click here for the latest map")])] : [_c('span', {
13376
- staticClass: "warning-text"
13377
- }, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
13378
- ref: "latestChangesPopover",
13379
- attrs: {
13380
- "content": _vm.latestChangesMessage,
13381
- "placement": "right",
13382
- "appendToBody": false,
13383
- "trigger": "manual",
13384
- "popper-class": "warning-popper flatmap-popper right-popper"
13385
- },
13386
- model: {
13387
- value: _vm.hoverVisibilities[7].value,
13388
- callback: function callback($$v) {
13389
- _vm.$set(_vm.hoverVisibilities[7], "value", $$v);
13390
- },
13391
- expression: "hoverVisibilities[7].value"
13392
- }
13393
- }) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
13394
- directives: [{
13395
- name: "popover",
13396
- rawName: "v-popover:latestChangesPopover",
13397
- arg: "latestChangesPopover"
13398
- }],
13399
- staticClass: "el-icon-warning latest-changesicon",
13400
- on: {
13401
- "mouseover": function mouseover($event) {
13402
- return _vm.showToolitip(7);
13403
- },
13404
- "mouseout": function mouseout($event) {
13405
- return _vm.hideToolitip(7);
13406
- }
13407
- }
13408
- }, [_c('span', {
13409
- staticClass: "warning-text"
13410
- }, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('div', {
13411
- staticClass: "bottom-right-control"
13412
- }, [_c('el-popover', {
13413
- attrs: {
13414
- "content": "Zoom in",
13415
- "placement": "left",
13416
- "appendToBody": false,
13417
- "trigger": "manual",
13418
- "popper-class": "flatmap-popper left-popper"
13419
- },
13420
- model: {
13421
- value: _vm.hoverVisibilities[0].value,
13422
- callback: function callback($$v) {
13423
- _vm.$set(_vm.hoverVisibilities[0], "value", $$v);
13424
- },
13425
- expression: "hoverVisibilities[0].value"
13426
- }
13427
- }, [_c('map-svg-icon', {
13428
- staticClass: "icon-button zoomIn",
13429
- attrs: {
13430
- "slot": "reference",
13431
- "icon": "zoomIn"
13432
- },
13433
- nativeOn: {
13434
- "click": function click($event) {
13435
- return _vm.zoomIn();
13436
- },
13437
- "mouseover": function mouseover($event) {
13438
- return _vm.showToolitip(0);
13439
- },
13440
- "mouseout": function mouseout($event) {
13441
- return _vm.hideToolitip(0);
13442
- }
13443
- },
13444
- slot: "reference"
13445
- })], 1), _c('el-popover', {
13446
- attrs: {
13447
- "content": "Zoom out",
13448
- "placement": "top-end",
13449
- "appendToBody": false,
13450
- "trigger": "manual",
13451
- "popper-class": "flatmap-popper popper-zoomout"
13452
- },
13453
- model: {
13454
- value: _vm.hoverVisibilities[1].value,
13455
- callback: function callback($$v) {
13456
- _vm.$set(_vm.hoverVisibilities[1], "value", $$v);
13457
- },
13458
- expression: "hoverVisibilities[1].value"
13459
- }
13460
- }, [_c('map-svg-icon', {
13461
- staticClass: "icon-button zoomOut",
13462
- attrs: {
13463
- "slot": "reference",
13464
- "icon": "zoomOut"
13465
- },
13466
- nativeOn: {
13467
- "click": function click($event) {
13468
- return _vm.zoomOut();
13469
- },
13470
- "mouseover": function mouseover($event) {
13471
- return _vm.showToolitip(1);
13472
- },
13473
- "mouseout": function mouseout($event) {
13474
- return _vm.hideToolitip(1);
13475
- }
13476
- },
13477
- slot: "reference"
13478
- })], 1), _c('el-popover', {
13479
- attrs: {
13480
- "content": "Reset",
13481
- "placement": "top",
13482
- "appendToBody": false,
13483
- "trigger": "manual",
13484
- "popper-class": "flatmap-popper"
13485
- },
13486
- model: {
13487
- value: _vm.hoverVisibilities[2].value,
13488
- callback: function callback($$v) {
13489
- _vm.$set(_vm.hoverVisibilities[2], "value", $$v);
13490
- },
13491
- expression: "hoverVisibilities[2].value"
13492
- }
13493
- }, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
13494
- staticClass: "icon-button fitWindow",
13495
- attrs: {
13496
- "slot": "reference",
13497
- "icon": "fitWindow"
13498
- },
13499
- nativeOn: {
13500
- "click": function click($event) {
13501
- return _vm.resetView();
13502
- },
13503
- "mouseover": function mouseover($event) {
13504
- return _vm.showToolitip(2);
13505
- },
13506
- "mouseout": function mouseout($event) {
13507
- return _vm.hideToolitip(2);
13508
- }
13509
- },
13510
- slot: "reference"
13511
- })], 1)], 1), _c('el-popover', {
13512
- ref: "checkBoxPopover",
13513
- attrs: {
13514
- "content": "Change pathway visibility",
13515
- "placement": "right",
13516
- "appendToBody": false,
13517
- "trigger": "manual",
13518
- "popper-class": "flatmap-popper right-popper"
13519
- },
13520
- model: {
13521
- value: _vm.hoverVisibilities[4].value,
13522
- callback: function callback($$v) {
13523
- _vm.$set(_vm.hoverVisibilities[4], "value", $$v);
13524
- },
13525
- expression: "hoverVisibilities[4].value"
13526
- }
13527
- }), _c('div', {
13528
- staticClass: "pathway-location",
13529
- class: {
13530
- open: _vm.drawerOpen,
13531
- close: !_vm.drawerOpen
13532
- }
13533
- }, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
13534
- directives: [{
13535
- name: "popover",
13536
- rawName: "v-popover:checkBoxPopover",
13537
- arg: "checkBoxPopover"
13538
- }],
13539
- staticClass: "pathway-container"
13540
- }, [_c('svg-legends', {
13541
- staticClass: "svg-legends-container"
13542
- }), _c('el-popover', {
13543
- ref: "markerPopover",
13544
- attrs: {
13545
- "content": "Find these markers for data",
13546
- "placement": "right",
13547
- "appendToBody": false,
13548
- "trigger": "manual",
13549
- "popper-class": "flatmap-popper popper-bump-right right-popper"
13550
- },
13551
- model: {
13552
- value: _vm.hoverVisibilities[5].value,
13553
- callback: function callback($$v) {
13554
- _vm.$set(_vm.hoverVisibilities[5], "value", $$v);
13555
- },
13556
- expression: "hoverVisibilities[5].value"
13557
- }
13558
- }), _c('div', {
13559
- directives: [{
13560
- name: "show",
13561
- rawName: "v-show",
13562
- value: _vm.hoverVisibilities[5].value,
13563
- expression: "hoverVisibilities[5].value"
13564
- }, {
13565
- name: "popover",
13566
- rawName: "v-popover:markerPopover",
13567
- arg: "markerPopover"
13568
- }],
13569
- staticClass: "flatmap-marker-help",
13570
- domProps: {
13571
- "innerHTML": _vm._s(_vm.flatmapMarker)
13572
- }
13573
- }), _c('el-row', [_c('el-col', {
13574
- attrs: {
13575
- "span": 12
13576
- }
13577
- }, [_c('div', {
13578
- staticClass: "pathways-display-text"
13579
- }, [_vm._v("Pathways")])]), _c('el-col', {
13580
- attrs: {
13581
- "span": 12
13582
- }
13583
- }, [_c('el-checkbox', {
13584
- staticClass: "all-checkbox",
13585
- attrs: {
13586
- "indeterminate": _vm.isIndeterminate
13587
- },
13588
- on: {
13589
- "change": _vm.handleCheckAllChange
13590
- },
13591
- model: {
13592
- value: _vm.checkAll,
13593
- callback: function callback($$v) {
13594
- _vm.checkAll = $$v;
13595
- },
13596
- expression: "checkAll"
13597
- }
13598
- }, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
13599
- staticClass: "checkbox-group",
13600
- attrs: {
13601
- "size": "small"
13602
- },
13603
- on: {
13604
- "change": _vm.handleCheckedItemsChange
13605
- },
13606
- model: {
13607
- value: _vm.checkedItems,
13608
- callback: function callback($$v) {
13609
- _vm.checkedItems = $$v;
13610
- },
13611
- expression: "checkedItems"
13612
- }
13613
- }, [_c('div', {
13614
- staticClass: "checkbox-group-inner"
13615
- }, _vm._l(_vm.pathways, function (item) {
13616
- return _c('el-row', {
13617
- key: item.type,
13618
- attrs: {
13619
- "label": item.type
13620
- }
13621
- }, [_c('div', {
13622
- staticClass: "checkbox-container"
13623
- }, [_c('el-checkbox', {
13624
- staticClass: "my-checkbox",
13625
- attrs: {
13626
- "label": item.type,
13627
- "checked": true
13628
- },
13629
- on: {
13630
- "change": function change($event) {
13631
- return _vm.visibilityToggle();
13632
- }
13633
- }
13634
- }, [_c('div', {
13635
- staticClass: "path-visual",
13636
- class: item.type
13637
- }), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
13638
- }), 1)])], 1) : _vm._e(), _c('div', {
13639
- staticClass: "drawer-button",
13640
- class: {
13641
- open: _vm.drawerOpen,
13642
- close: !_vm.drawerOpen
13643
- },
13644
- on: {
13645
- "click": _vm.toggleDrawer
13646
- }
13647
- }, [_c('i', {
13648
- staticClass: "el-icon-arrow-left"
13649
- })])]), _c('el-popover', {
13650
- ref: "backgroundPopover",
13651
- attrs: {
13652
- "placement": "top-start",
13653
- "width": "175",
13654
- "appendToBody": false,
13655
- "trigger": "click",
13656
- "popper-class": "background-popper"
13657
- }
13658
- }, [_c('el-row', {
13659
- staticClass: "backgroundText"
13660
- }, [_vm._v("Organs display")]), _c('el-row', {
13661
- staticClass: "backgroundControl"
13662
- }, [_c('el-radio-group', {
13663
- staticClass: "flatmap-radio",
13664
- on: {
13665
- "change": _vm.setColour
13666
- },
13667
- model: {
13668
- value: _vm.colourRadio,
13669
- callback: function callback($$v) {
13670
- _vm.colourRadio = $$v;
13671
- },
13672
- expression: "colourRadio"
13673
- }
13674
- }, [_c('el-radio', {
13675
- attrs: {
13676
- "label": true
13677
- }
13678
- }, [_vm._v("Colour")]), _c('el-radio', {
13679
- attrs: {
13680
- "label": false
13681
- }
13682
- }, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
13683
- staticClass: "backgroundSpacer"
13684
- }), _c('el-row', {
13685
- staticClass: "backgroundText"
13686
- }, [_vm._v("Outlines display")]), _c('el-row', {
13687
- staticClass: "backgroundControl"
13688
- }, [_c('el-radio-group', {
13689
- staticClass: "flatmap-radio",
13690
- on: {
13691
- "change": _vm.setOutlines
13692
- },
13693
- model: {
13694
- value: _vm.outlinesRadio,
13695
- callback: function callback($$v) {
13696
- _vm.outlinesRadio = $$v;
13697
- },
13698
- expression: "outlinesRadio"
13699
- }
13700
- }, [_c('el-radio', {
13701
- attrs: {
13702
- "label": true
13703
- }
13704
- }, [_vm._v("Show")]), _c('el-radio', {
13705
- attrs: {
13706
- "label": false
13707
- }
13708
- }, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
13709
- staticClass: "backgroundSpacer"
13710
- }), _c('el-row', {
13711
- staticClass: "backgroundText"
13712
- }, [_vm._v("Change background")]), _c('el-row', {
13713
- staticClass: "backgroundControl"
13714
- }, _vm._l(_vm.availableBackground, function (item) {
13715
- return _c('div', {
13716
- key: item,
13717
- class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
13718
- on: {
13719
- "click": function click($event) {
13720
- return _vm.backgroundChangeCallback(item);
13721
- }
13722
- }
13723
- });
13724
- }), 0)], 1), _c('el-popover', {
13725
- attrs: {
13726
- "content": "Change background color",
13727
- "placement": "right",
13728
- "appendToBody": false,
13729
- "trigger": "manual",
13730
- "popper-class": "flatmap-popper right-popper"
13731
- },
13732
- model: {
13733
- value: _vm.hoverVisibilities[3].value,
13734
- callback: function callback($$v) {
13735
- _vm.$set(_vm.hoverVisibilities[3], "value", $$v);
13736
- },
13737
- expression: "hoverVisibilities[3].value"
13738
- }
13739
- }, [_c('map-svg-icon', {
13740
- directives: [{
13741
- name: "popover",
13742
- rawName: "v-popover:backgroundPopover",
13743
- arg: "backgroundPopover"
13744
- }],
13745
- staticClass: "icon-button background-colour",
13746
- class: {
13747
- open: _vm.drawerOpen,
13748
- close: !_vm.drawerOpen
13749
- },
13750
- attrs: {
13751
- "slot": "reference",
13752
- "icon": "changeBckgd"
13753
- },
13754
- nativeOn: {
13755
- "mouseover": function mouseover($event) {
13756
- return _vm.showToolitip(3);
13757
- },
13758
- "mouseout": function mouseout($event) {
13759
- return _vm.hideToolitip(3);
13760
- }
13761
- },
13762
- slot: "reference"
13763
- })], 1), _c('Tooltip', {
13764
- ref: "tooltip",
13765
- staticClass: "tooltip",
13766
- attrs: {
13767
- "content": _vm.tooltipContent
13768
- },
13769
- on: {
13770
- "resource-selected": _vm.resourceSelected
13771
- }
13772
- })], 1)], 1);
13773
- };
13774
- var staticRenderFns = [];
13249
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-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=20b4e460&scoped=true&
13250
+ 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"}],ref:"flatmapContainer",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.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _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)}}},[(_vm.isLegacy)?[_c('span',{staticClass:"warning-text"},[_vm._v("Legacy Map")]),_c('div',{staticClass:"latest-map-text",on:{"click":_vm.viewLatestMap}},[_vm._v("Click here for the latest map")])]:[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]],2):_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('i',{directives:[{name:"show",rawName:"v-show",value:(_vm.minimapResizeShow),expression:"minimapResizeShow"}],ref:"minimapResize",staticClass:"el-icon-arrow-down minimap-resize",class:{ enlarge: _vm.minimapSmall, shrink: !_vm.minimapSmall},on:{"click":_vm.closeMinimap}}),_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)}
13251
+ var staticRenderFns = []
13252
+
13775
13253
 
13776
- // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=7e19e884&scoped=true&
13254
+ // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=20b4e460&scoped=true&
13777
13255
 
13778
13256
  // EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
13779
13257
  var es_symbol_js_ = __webpack_require__("9b22");
@@ -13796,9 +13274,6 @@ var es_string_iterator_js_ = __webpack_require__("9bb5");
13796
13274
  // EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
13797
13275
  var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
13798
13276
 
13799
- // EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
13800
- var es_error_cause_js_ = __webpack_require__("dc50");
13801
-
13802
13277
  // EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
13803
13278
  var es_array_slice_js_ = __webpack_require__("ea12");
13804
13279
 
@@ -13808,18 +13283,14 @@ var es_function_name_js_ = __webpack_require__("db0a");
13808
13283
  // EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
13809
13284
  var es_array_from_js_ = __webpack_require__("4362");
13810
13285
 
13811
- // EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
13812
- var es_regexp_exec_js_ = __webpack_require__("c8a6");
13813
-
13814
- // EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
13815
- var es_regexp_test_js_ = __webpack_require__("5a3b");
13816
-
13817
13286
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
13818
13287
  function _arrayLikeToArray(arr, len) {
13819
13288
  if (len == null || len > arr.length) len = arr.length;
13289
+
13820
13290
  for (var i = 0, arr2 = new Array(len); i < len; i++) {
13821
13291
  arr2[i] = arr[i];
13822
13292
  }
13293
+
13823
13294
  return arr2;
13824
13295
  }
13825
13296
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
@@ -13829,8 +13300,6 @@ function _arrayLikeToArray(arr, len) {
13829
13300
 
13830
13301
 
13831
13302
 
13832
-
13833
-
13834
13303
  function _unsupportedIterableToArray(o, minLen) {
13835
13304
  if (!o) return;
13836
13305
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -13848,14 +13317,16 @@ function _unsupportedIterableToArray(o, minLen) {
13848
13317
 
13849
13318
 
13850
13319
 
13851
-
13852
13320
  function _createForOfIteratorHelper(o, allowArrayLike) {
13853
13321
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
13322
+
13854
13323
  if (!it) {
13855
13324
  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
13856
13325
  if (it) o = it;
13857
13326
  var i = 0;
13327
+
13858
13328
  var F = function F() {};
13329
+
13859
13330
  return {
13860
13331
  s: F,
13861
13332
  n: function n() {
@@ -13873,11 +13344,13 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
13873
13344
  f: F
13874
13345
  };
13875
13346
  }
13347
+
13876
13348
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13877
13349
  }
13350
+
13878
13351
  var normalCompletion = true,
13879
- didErr = false,
13880
- err;
13352
+ didErr = false,
13353
+ err;
13881
13354
  return {
13882
13355
  s: function s() {
13883
13356
  it = it.call(o);
@@ -13961,8 +13434,11 @@ var es_array_includes_js_ = __webpack_require__("85f7");
13961
13434
  // EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
13962
13435
  var es_string_includes_js_ = __webpack_require__("fd22");
13963
13436
 
13964
- // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
13965
- var es_array_push_js_ = __webpack_require__("2439");
13437
+ // EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
13438
+ var es_regexp_exec_js_ = __webpack_require__("c8a6");
13439
+
13440
+ // EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
13441
+ var es_string_split_js_ = __webpack_require__("0cda");
13966
13442
 
13967
13443
  // EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
13968
13444
  var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
@@ -13980,156 +13456,10 @@ var es_number_constructor_js_ = __webpack_require__("f989");
13980
13456
  var external_vue_ = __webpack_require__("8bbf");
13981
13457
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
13982
13458
 
13983
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"18b05c0a-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=6d6dee76&scoped=true&
13984
- var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function render() {
13985
- var _vm = this,
13986
- _c = _vm._self._c;
13987
- return _c('div', {
13988
- staticClass: "tooltip-container"
13989
- }, [_vm.content ? _c('el-main', {
13990
- directives: [{
13991
- name: "loading",
13992
- rawName: "v-loading",
13993
- value: _vm.loading,
13994
- expression: "loading"
13995
- }],
13996
- staticClass: "main"
13997
- }, [_vm.content.title ? _c('div', {
13998
- staticClass: "block"
13999
- }, [_c('span', {
14000
- staticClass: "title"
14001
- }, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
14002
- staticClass: "block"
14003
- }, [_c('span', {
14004
- staticClass: "title"
14005
- }, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
14006
- staticClass: "content-container scrollbar"
14007
- }, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
14008
- staticClass: "block"
14009
- }, [_c('div', [_c('span', {
14010
- staticClass: "attribute-title"
14011
- }, [_vm._v("Origin")]), _c('el-popover', {
14012
- attrs: {
14013
- "width": "250",
14014
- "trigger": "hover",
14015
- "append-to-body": false,
14016
- "popper-class": "popover-origin-help"
14017
- }
14018
- }, [_c('i', {
14019
- staticClass: "el-icon-warning-outline info",
14020
- attrs: {
14021
- "slot": "reference"
14022
- },
14023
- slot: "reference"
14024
- }), _c('span', {
14025
- staticStyle: {
14026
- "word-break": "keep-all"
14027
- }
14028
- }, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
14029
- return _c('div', {
14030
- key: origin,
14031
- staticClass: "attribute-content"
14032
- }, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
14033
- staticClass: "seperator"
14034
- }) : _vm._e()]);
14035
- }), _c('el-button', {
14036
- directives: [{
14037
- name: "show",
14038
- rawName: "v-show",
14039
- value: _vm.originsWithDatasets.length > 0,
14040
- expression: "originsWithDatasets.length > 0"
14041
- }],
14042
- staticClass: "button",
14043
- on: {
14044
- "click": _vm.openDendrites
14045
- }
14046
- }, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
14047
- staticClass: "block"
14048
- }, [_c('div', {
14049
- staticClass: "attribute-title"
14050
- }, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
14051
- return _c('div', {
14052
- key: component,
14053
- staticClass: "attribute-content"
14054
- }, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
14055
- staticClass: "seperator"
14056
- }) : _vm._e()]);
14057
- })], 2) : _vm._e(), this.destinations ? _c('div', {
14058
- staticClass: "block"
14059
- }, [_c('div', [_c('span', {
14060
- staticClass: "attribute-title"
14061
- }, [_vm._v("Destination")]), _c('el-popover', {
14062
- attrs: {
14063
- "width": "250",
14064
- "trigger": "hover",
14065
- "append-to-body": false,
14066
- "popper-class": "popover-origin-help"
14067
- }
14068
- }, [_c('i', {
14069
- staticClass: "el-icon-warning-outline info",
14070
- attrs: {
14071
- "slot": "reference"
14072
- },
14073
- slot: "reference"
14074
- }), _c('span', {
14075
- staticStyle: {
14076
- "word-break": "keep-all"
14077
- }
14078
- }, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
14079
- return _c('div', {
14080
- key: destination,
14081
- staticClass: "attribute-content"
14082
- }, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
14083
- staticClass: "seperator"
14084
- }) : _vm._e()]);
14085
- }), _c('el-button', {
14086
- directives: [{
14087
- name: "show",
14088
- rawName: "v-show",
14089
- value: _vm.destinationsWithDatasets.length > 0,
14090
- expression: "destinationsWithDatasets.length > 0"
14091
- }],
14092
- staticClass: "button",
14093
- on: {
14094
- "click": _vm.openAxons
14095
- }
14096
- }, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
14097
- directives: [{
14098
- name: "show",
14099
- rawName: "v-show",
14100
- value: _vm.components.length > 0,
14101
- expression: "components.length > 0"
14102
- }],
14103
- staticClass: "button",
14104
- on: {
14105
- "click": _vm.openAll
14106
- }
14107
- }, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
14108
- directives: [{
14109
- name: "show",
14110
- rawName: "v-show",
14111
- value: false,
14112
- expression: "false"
14113
- }],
14114
- attrs: {
14115
- "entry": _vm.content
14116
- },
14117
- on: {
14118
- "pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
14119
- }
14120
- }) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
14121
- staticClass: "button",
14122
- attrs: {
14123
- "icon": "el-icon-notebook-2"
14124
- },
14125
- on: {
14126
- "click": function click($event) {
14127
- return _vm.openUrl(_vm.pubmedSearchUrl);
14128
- }
14129
- }
14130
- }, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
14131
- };
14132
- var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
13459
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-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=6d6dee76&scoped=true&
13460
+ var Tooltipvue_type_template_id_6d6dee76_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._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.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),(_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)}
13461
+ var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = []
13462
+
14133
13463
 
14134
13464
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
14135
13465
 
@@ -14151,7 +13481,6 @@ function _iterableToArray(iter) {
14151
13481
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
14152
13482
  }
14153
13483
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
14154
-
14155
13484
  function _nonIterableSpread() {
14156
13485
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14157
13486
  }
@@ -14201,15 +13530,9 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
14201
13530
  // EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
14202
13531
  var es_string_replace_js_ = __webpack_require__("6378");
14203
13532
 
14204
- // EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
14205
- var es_json_stringify_js_ = __webpack_require__("a9ee");
14206
-
14207
13533
  // EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
14208
13534
  var es_array_flat_js_ = __webpack_require__("da6e");
14209
13535
 
14210
- // EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
14211
- var es_array_unscopables_flat_js_ = __webpack_require__("722b");
14212
-
14213
13536
  // EXTERNAL MODULE: external "core-js/modules/es.promise.js"
14214
13537
  var es_promise_js_ = __webpack_require__("ec71");
14215
13538
 
@@ -14227,25 +13550,20 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
14227
13550
  var locale = __webpack_require__("4897");
14228
13551
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
14229
13552
 
14230
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"18b05c0a-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=58832c92&scoped=true&
14231
- var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function render() {
14232
- var _vm = this,
14233
- _c = _vm._self._c;
14234
- return _c('div', {
14235
- staticClass: "pubmed-container"
14236
- });
14237
- };
14238
- var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
13553
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-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=58832c92&scoped=true&
13554
+ var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pubmed-container"})}
13555
+ var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = []
13556
+
14239
13557
 
14240
13558
  // CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
14241
13559
 
14242
- // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
14243
- var web_url_search_params_js_ = __webpack_require__("712c");
13560
+ // EXTERNAL MODULE: external "core-js/modules/web.url.js"
13561
+ var web_url_js_ = __webpack_require__("b94f");
14244
13562
 
14245
13563
  // EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
14246
13564
  var es_regexp_to_string_js_ = __webpack_require__("30df");
14247
13565
 
14248
- // 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&
13566
+ // 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&
14249
13567
 
14250
13568
 
14251
13569
 
@@ -14256,8 +13574,16 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14256
13574
 
14257
13575
 
14258
13576
 
14259
- /* eslint-disable no-alert, no-console */
14260
13577
 
13578
+ //
13579
+ //
13580
+ //
13581
+ //
13582
+ //
13583
+ //
13584
+ //
13585
+
13586
+ /* eslint-disable no-alert, no-console */
14261
13587
  /* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
14262
13588
  name: "Tooltip",
14263
13589
  props: {
@@ -14289,6 +13615,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14289
13615
  },
14290
13616
  buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
14291
13617
  var sql = 'select distinct publication from publications where entity in (';
13618
+
14292
13619
  if (keastIds.length === 1) {
14293
13620
  sql += "'".concat(keastIds[0], "')");
14294
13621
  } else if (keastIds.length > 1) {
@@ -14296,6 +13623,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14296
13623
  sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
14297
13624
  }
14298
13625
  }
13626
+
14299
13627
  return sql;
14300
13628
  },
14301
13629
  buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
@@ -14319,11 +13647,12 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14319
13647
  },
14320
13648
  pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
14321
13649
  var _this = this;
13650
+
14322
13651
  if (!keastIds || keastIds.length === 0) return;
14323
13652
  var sql = this.buildPubmedSqlStatement(keastIds);
14324
13653
  this.flatmapQuery(sql).then(function (data) {
14325
- _this.responseData = data;
14326
- // Create pubmed url on paths if we have them
13654
+ _this.responseData = data; // Create pubmed url on paths if we have them
13655
+
14327
13656
  if (data.values.length > 0) {
14328
13657
  _this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
14329
13658
  return _this.stripPMIDPrefix(id[0]);
@@ -14336,6 +13665,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14336
13665
  },
14337
13666
  pubmedQueryOnModels: function pubmedQueryOnModels(source) {
14338
13667
  var _this2 = this;
13668
+
14339
13669
  this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
14340
13670
  if (Array.isArray(data.values) && data.values.length > 0) {
14341
13671
  _this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
@@ -14343,10 +13673,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14343
13673
  })));
14344
13674
  } else {
14345
13675
  _this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
13676
+
14346
13677
  }
14347
13678
  });
14348
13679
  },
14349
-
14350
13680
  pubmedSearchUrl: function pubmedSearchUrl(ids) {
14351
13681
  var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
14352
13682
  var params = new URLSearchParams();
@@ -14357,8 +13687,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14357
13687
  });
14358
13688
  // CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
14359
13689
  /* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
14360
- // EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&prod&scoped=true&lang=scss&
14361
- var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ = __webpack_require__("233b");
13690
+ // EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&scoped=true&lang=scss&
13691
+ var PubmedViewervue_type_style_index_0_id_58832c92_scoped_true_lang_scss_ = __webpack_require__("b191");
14362
13692
 
14363
13693
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
14364
13694
  /* globals __VUE_SSR_CONTEXT__ */
@@ -14367,19 +13697,20 @@ var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ =
14367
13697
  // This module is a runtime utility for cleaner component module output and will
14368
13698
  // be included in the final webpack user bundle.
14369
13699
 
14370
- function normalizeComponent(
13700
+ function normalizeComponent (
14371
13701
  scriptExports,
14372
13702
  render,
14373
13703
  staticRenderFns,
14374
13704
  functionalTemplate,
14375
13705
  injectStyles,
14376
13706
  scopeId,
14377
- moduleIdentifier /* server only */,
13707
+ moduleIdentifier, /* server only */
14378
13708
  shadowMode /* vue-cli only */
14379
13709
  ) {
14380
13710
  // Vue.extend constructor export interop
14381
- var options =
14382
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
13711
+ var options = typeof scriptExports === 'function'
13712
+ ? scriptExports.options
13713
+ : scriptExports
14383
13714
 
14384
13715
  // render functions
14385
13716
  if (render) {
@@ -14399,8 +13730,7 @@ function normalizeComponent(
14399
13730
  }
14400
13731
 
14401
13732
  var hook
14402
- if (moduleIdentifier) {
14403
- // server build
13733
+ if (moduleIdentifier) { // server build
14404
13734
  hook = function (context) {
14405
13735
  // 2.3 injection
14406
13736
  context =
@@ -14426,11 +13756,11 @@ function normalizeComponent(
14426
13756
  } else if (injectStyles) {
14427
13757
  hook = shadowMode
14428
13758
  ? function () {
14429
- injectStyles.call(
14430
- this,
14431
- (options.functional ? this.parent : this).$root.$options.shadowRoot
14432
- )
14433
- }
13759
+ injectStyles.call(
13760
+ this,
13761
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
13762
+ )
13763
+ }
14434
13764
  : injectStyles
14435
13765
  }
14436
13766
 
@@ -14441,14 +13771,16 @@ function normalizeComponent(
14441
13771
  options._injectStyles = hook
14442
13772
  // register for functional component in vue file
14443
13773
  var originalRender = options.render
14444
- options.render = function renderWithStyleInjection(h, context) {
13774
+ options.render = function renderWithStyleInjection (h, context) {
14445
13775
  hook.call(context)
14446
13776
  return originalRender(h, context)
14447
13777
  }
14448
13778
  } else {
14449
13779
  // inject component registration as beforeCreate hook
14450
13780
  var existing = options.beforeCreate
14451
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
13781
+ options.beforeCreate = existing
13782
+ ? [].concat(existing, hook)
13783
+ : [hook]
14452
13784
  }
14453
13785
  }
14454
13786
 
@@ -14483,9 +13815,7 @@ var component = normalizeComponent(
14483
13815
 
14484
13816
  var EventBus = new external_vue_default.a();
14485
13817
  /* harmony default export */ var components_EventBus = (EventBus);
14486
- // 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&
14487
-
14488
-
13818
+ // 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&
14489
13819
 
14490
13820
 
14491
13821
 
@@ -14519,6 +13849,86 @@ var EventBus = new external_vue_default.a();
14519
13849
 
14520
13850
 
14521
13851
 
13852
+ //
13853
+ //
13854
+ //
13855
+ //
13856
+ //
13857
+ //
13858
+ //
13859
+ //
13860
+ //
13861
+ //
13862
+ //
13863
+ //
13864
+ //
13865
+ //
13866
+ //
13867
+ //
13868
+ //
13869
+ //
13870
+ //
13871
+ //
13872
+ //
13873
+ //
13874
+ //
13875
+ //
13876
+ //
13877
+ //
13878
+ //
13879
+ //
13880
+ //
13881
+ //
13882
+ //
13883
+ //
13884
+ //
13885
+ //
13886
+ //
13887
+ //
13888
+ //
13889
+ //
13890
+ //
13891
+ //
13892
+ //
13893
+ //
13894
+ //
13895
+ //
13896
+ //
13897
+ //
13898
+ //
13899
+ //
13900
+ //
13901
+ //
13902
+ //
13903
+ //
13904
+ //
13905
+ //
13906
+ //
13907
+ //
13908
+ //
13909
+ //
13910
+ //
13911
+ //
13912
+ //
13913
+ //
13914
+ //
13915
+ //
13916
+ //
13917
+ //
13918
+ //
13919
+ //
13920
+ //
13921
+ //
13922
+ //
13923
+ //
13924
+ //
13925
+ //
13926
+ //
13927
+ //
13928
+ //
13929
+ //
13930
+ //
13931
+ //
14522
13932
 
14523
13933
  /* eslint-disable no-alert, no-console */
14524
13934
 
@@ -14529,9 +13939,9 @@ external_vue_default.a.use(lib_button_default.a);
14529
13939
  external_vue_default.a.use(lib_container_default.a);
14530
13940
  external_vue_default.a.use(lib_header_default.a);
14531
13941
  external_vue_default.a.use(lib_icon_default.a);
14532
- external_vue_default.a.use(lib_main_default.a);
13942
+ 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
13943
+
14533
13944
 
14534
- // pubmedviewer is currently not in use, but still under review so not ready to delete yet
14535
13945
 
14536
13946
 
14537
13947
  var _titleCase = function titleCase(str) {
@@ -14539,13 +13949,14 @@ var _titleCase = function titleCase(str) {
14539
13949
  return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
14540
13950
  });
14541
13951
  };
13952
+
14542
13953
  var inArray = function inArray(ar1, ar2) {
14543
13954
  var as1 = JSON.stringify(ar1);
14544
13955
  var as2 = JSON.stringify(ar2);
14545
13956
  return as1.indexOf(as2) !== -1;
14546
- };
13957
+ }; // remove duplicates by stringifying the objects
13958
+
14547
13959
 
14548
- // remove duplicates by stringifying the objects
14549
13960
  var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
14550
13961
  return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
14551
13962
  return JSON.stringify(e);
@@ -14553,10 +13964,12 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
14553
13964
  return JSON.parse(e);
14554
13965
  });
14555
13966
  };
13967
+
14556
13968
  var _capitalise = function capitalise(str) {
14557
13969
  if (str) return str.charAt(0).toUpperCase() + str.slice(1);
14558
13970
  return "";
14559
13971
  };
13972
+
14560
13973
  /* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
14561
13974
  components: {
14562
13975
  PubmedViewer: PubmedViewer
@@ -14657,7 +14070,10 @@ var _capitalise = function capitalise(str) {
14657
14070
  },
14658
14071
  findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
14659
14072
  var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
14073
+
14660
14074
  var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
14075
+
14076
+
14661
14077
  var found = [];
14662
14078
  nodes.forEach(function (n) {
14663
14079
  if (Array.isArray(n)) {
@@ -14670,7 +14086,10 @@ var _capitalise = function capitalise(str) {
14670
14086
  },
14671
14087
  flattenConntectivity: function flattenConntectivity(connectivity) {
14672
14088
  var dnodes = connectivity.flat(); // get nodes from edgelist
14089
+
14673
14090
  var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
14091
+
14092
+
14674
14093
  var found = [];
14675
14094
  nodes.forEach(function (n) {
14676
14095
  if (Array.isArray(n)) {
@@ -14683,18 +14102,21 @@ var _capitalise = function capitalise(str) {
14683
14102
  },
14684
14103
  findComponents: function findComponents(connectivity) {
14685
14104
  var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
14105
+
14686
14106
  var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
14687
14107
  var found = [];
14688
14108
  var terminal = false;
14689
14109
  nodes.forEach(function (node) {
14690
- terminal = false;
14691
- // Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
14110
+ 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)
14111
+
14692
14112
  if (inArray(connectivity.axons, node)) {
14693
14113
  terminal = true;
14694
14114
  }
14115
+
14695
14116
  if (inArray(connectivity.dendrites, node)) {
14696
14117
  terminal = true;
14697
14118
  }
14119
+
14698
14120
  if (!terminal) {
14699
14121
  found.push(node);
14700
14122
  }
@@ -14703,6 +14125,7 @@ var _capitalise = function capitalise(str) {
14703
14125
  },
14704
14126
  getOrganCuries: function getOrganCuries() {
14705
14127
  var _this = this;
14128
+
14706
14129
  fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
14707
14130
  return response.json();
14708
14131
  }).then(function (data) {
@@ -14711,6 +14134,7 @@ var _capitalise = function capitalise(str) {
14711
14134
  },
14712
14135
  buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
14713
14136
  var sql = 'select knowledge from knowledge where entity in (';
14137
+
14714
14138
  if (keastIds.length === 1) {
14715
14139
  sql += "'".concat(keastIds[0], "')");
14716
14140
  } else if (keastIds.length > 1) {
@@ -14718,10 +14142,12 @@ var _capitalise = function capitalise(str) {
14718
14142
  sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
14719
14143
  }
14720
14144
  }
14145
+
14721
14146
  return sql;
14722
14147
  },
14723
14148
  buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
14724
14149
  var sql = 'select entity, label from labels where entity in (';
14150
+
14725
14151
  if (uberons.length === 1) {
14726
14152
  sql += "'".concat(uberons[0], "')");
14727
14153
  } else if (uberons.length > 1) {
@@ -14729,10 +14155,12 @@ var _capitalise = function capitalise(str) {
14729
14155
  sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
14730
14156
  }
14731
14157
  }
14158
+
14732
14159
  return sql;
14733
14160
  },
14734
14161
  createLabelLookup: function createLabelLookup(uberons) {
14735
14162
  var _this2 = this;
14163
+
14736
14164
  return new Promise(function (resolve) {
14737
14165
  var uberonMap = {};
14738
14166
  var data = {
@@ -14749,20 +14177,24 @@ var _capitalise = function capitalise(str) {
14749
14177
  }).then(function (payload) {
14750
14178
  var entity = payload.keys.indexOf("entity");
14751
14179
  var label = payload.keys.indexOf("label");
14180
+
14752
14181
  if (entity > -1 && label > -1) {
14753
14182
  payload.values.forEach(function (pair) {
14754
14183
  uberonMap[pair[entity]] = pair[label];
14755
14184
  });
14756
14185
  }
14186
+
14757
14187
  resolve(uberonMap);
14758
14188
  });
14759
14189
  });
14760
14190
  },
14761
14191
  createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
14762
14192
  var _this3 = this;
14193
+
14763
14194
  var labelList = [];
14764
14195
  components.forEach(function (n) {
14765
14196
  labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
14197
+
14766
14198
  if (n.length === 2) {
14767
14199
  labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
14768
14200
  }
@@ -14771,6 +14203,7 @@ var _capitalise = function capitalise(str) {
14771
14203
  },
14772
14204
  createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
14773
14205
  var label = lookUp[node[0]];
14206
+
14774
14207
  if (node.length === 2 && node[1].length > 0) {
14775
14208
  node[1].forEach(function (n) {
14776
14209
  if (lookUp[n] == undefined) {
@@ -14780,21 +14213,20 @@ var _capitalise = function capitalise(str) {
14780
14213
  }
14781
14214
  });
14782
14215
  }
14216
+
14783
14217
  return label;
14784
14218
  },
14785
14219
  processConnectivity: function processConnectivity(connectivity) {
14786
14220
  var _this4 = this;
14221
+
14787
14222
  // Filter the origin and destinations from components
14788
- var components = this.findComponents(connectivity);
14223
+ var components = this.findComponents(connectivity); // Remove duplicates
14789
14224
 
14790
- // Remove duplicates
14791
14225
  var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
14792
- var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
14226
+ var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites); // Create list of ids to get labels for
14793
14227
 
14794
- // Create list of ids to get labels for
14795
- var conIds = this.findAllIdsFromConnectivity(connectivity);
14228
+ var conIds = this.findAllIdsFromConnectivity(connectivity); // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
14796
14229
 
14797
- // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
14798
14230
  this.createLabelLookup(conIds).then(function (lookUp) {
14799
14231
  _this4.destinations = axons.map(function (a) {
14800
14232
  return _this4.createLabelFromNeuralNode(a, lookUp);
@@ -14812,9 +14244,8 @@ var _capitalise = function capitalise(str) {
14812
14244
  // process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
14813
14245
  var componentsFlat = this.flattenConntectivity(components);
14814
14246
  var axonsFlat = this.flattenConntectivity(axons);
14815
- var dendritesFlat = this.flattenConntectivity(dendrites);
14247
+ var dendritesFlat = this.flattenConntectivity(dendrites); // Filter for the anatomy which is annotated on datasets
14816
14248
 
14817
- // Filter for the anatomy which is annotated on datasets
14818
14249
  this.destinationsWithDatasets = this.uberons.filter(function (ub) {
14819
14250
  return axonsFlat.indexOf(ub.id) !== -1;
14820
14251
  });
@@ -14827,6 +14258,7 @@ var _capitalise = function capitalise(str) {
14827
14258
  },
14828
14259
  pathwayQuery: function pathwayQuery(keastIds) {
14829
14260
  var _this5 = this;
14261
+
14830
14262
  this.destinations = [];
14831
14263
  this.origins = [];
14832
14264
  this.components = [];
@@ -14845,7 +14277,9 @@ var _capitalise = function capitalise(str) {
14845
14277
  return response.json();
14846
14278
  }).then(function (data) {
14847
14279
  var connectivity = JSON.parse(data.values[0][0]);
14280
+
14848
14281
  _this5.processConnectivity(connectivity);
14282
+
14849
14283
  _this5.loading = false;
14850
14284
  }).catch(function (error) {
14851
14285
  console.error('Error:', error);
@@ -14855,8 +14289,8 @@ var _capitalise = function capitalise(str) {
14855
14289
  });
14856
14290
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
14857
14291
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
14858
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&prod&scoped=true&lang=scss&
14859
- var Tooltipvue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss_ = __webpack_require__("b64b");
14292
+ // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&scoped=true&lang=scss&
14293
+ var Tooltipvue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss_ = __webpack_require__("13aa");
14860
14294
 
14861
14295
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
14862
14296
 
@@ -14882,98 +14316,43 @@ var Tooltip_component = normalizeComponent(
14882
14316
  // EXTERNAL MODULE: external "@abi-software/svg-sprite"
14883
14317
  var svg_sprite_ = __webpack_require__("429c");
14884
14318
 
14885
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"18b05c0a-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=514dd6be&scoped=true&
14886
- var Legendsvue_type_template_id_514dd6be_scoped_true_render = function render() {
14887
- var _vm = this,
14888
- _c = _vm._self._c;
14889
- return _c('div', {
14890
- staticClass: "legends-container"
14891
- }, [_c('svg', {
14892
- staticStyle: {
14893
- "enable-background": "new 0 0 500 500"
14894
- },
14895
- attrs: {
14896
- "version": "1.1",
14897
- "id": "Layer_1",
14898
- "x": "0px",
14899
- "y": "0px",
14900
- "viewBox": "0 0 500 500",
14901
- "xmlns": "http://www.w3.org/2000/svg",
14902
- "xmlns:bx": "https://boxy-svg.com"
14903
- }
14904
- }, [_c('defs', [_c('bx:grid', {
14905
- attrs: {
14906
- "height": "30.447",
14907
- "width": "32.516",
14908
- "x": "0",
14909
- "y": "0"
14910
- }
14911
- })], 1), _c('path', {
14912
- staticClass: "st0 st0-translate",
14913
- attrs: {
14914
- "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"
14915
- }
14916
- }), _c('path', {
14917
- staticClass: "st1",
14918
- attrs: {
14919
- "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"
14920
- }
14921
- }), _c('path', {
14922
- staticClass: "st2",
14923
- attrs: {
14924
- "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"
14925
- }
14926
- }), _c('text', {
14927
- staticClass: "st3 st4 st5",
14928
- staticStyle: {
14929
- "white-space": "pre"
14930
- },
14931
- attrs: {
14932
- "transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
14933
- }
14934
- }, [_vm._v("Tissue region")]), _c('path', {
14935
- staticClass: "st6",
14936
- attrs: {
14937
- "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"
14938
- }
14939
- }), _c('text', {
14940
- staticClass: "st3 st4 st5",
14941
- staticStyle: {
14942
- "white-space": "pre"
14943
- },
14944
- attrs: {
14945
- "transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
14946
- }
14947
- }, [_vm._v("Brain nuclei")]), _c('text', {
14948
- staticClass: "st3 st4 st5",
14949
- staticStyle: {
14950
- "white-space": "pre"
14951
- },
14952
- attrs: {
14953
- "transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
14954
- }
14955
- }, [_vm._v("Ganglia")]), _c('text', {
14956
- staticClass: "st3 st4 st5",
14957
- staticStyle: {
14958
- "white-space": "pre"
14959
- },
14960
- attrs: {
14961
- "transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
14962
- }
14963
- }, [_vm._v("Nerve plexus")])])]);
14964
- };
14965
- var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = [];
14319
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-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=514dd6be&scoped=true&
14320
+ var Legendsvue_type_template_id_514dd6be_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")])])])}
14321
+ var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = []
14322
+
14966
14323
 
14967
14324
  // CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
14968
14325
 
14969
- // 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&
14326
+ // 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&
14327
+ //
14328
+ //
14329
+ //
14330
+ //
14331
+ //
14332
+ //
14333
+ //
14334
+ //
14335
+ //
14336
+ //
14337
+ //
14338
+ //
14339
+ //
14340
+ //
14341
+ //
14342
+ //
14343
+ //
14344
+ //
14345
+ //
14346
+ //
14347
+ //
14348
+ //
14970
14349
  /* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
14971
14350
  name: 'SvgLegends'
14972
14351
  });
14973
14352
  // CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
14974
14353
  /* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
14975
- // EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&prod&scoped=true&lang=scss&
14976
- var Legendsvue_type_style_index_0_id_514dd6be_prod_scoped_true_lang_scss_ = __webpack_require__("318c");
14354
+ // EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&scoped=true&lang=scss&
14355
+ var Legendsvue_type_style_index_0_id_514dd6be_scoped_true_lang_scss_ = __webpack_require__("9e82");
14977
14356
 
14978
14357
  // CONCATENATED MODULE: ./src/components/legends/Legends.vue
14979
14358
 
@@ -14998,7 +14377,7 @@ var Legends_component = normalizeComponent(
14998
14377
  /* harmony default export */ var Legends = (Legends_component.exports);
14999
14378
  // CONCATENATED MODULE: ./src/icons/flatmap-marker.js
15000
14379
  /* 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>');
15001
- // 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&
14380
+ // 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&
15002
14381
 
15003
14382
 
15004
14383
 
@@ -15034,6 +14413,265 @@ var Legends_component = normalizeComponent(
15034
14413
 
15035
14414
 
15036
14415
 
14416
+
14417
+ //
14418
+ //
14419
+ //
14420
+ //
14421
+ //
14422
+ //
14423
+ //
14424
+ //
14425
+ //
14426
+ //
14427
+ //
14428
+ //
14429
+ //
14430
+ //
14431
+ //
14432
+ //
14433
+ //
14434
+ //
14435
+ //
14436
+ //
14437
+ //
14438
+ //
14439
+ //
14440
+ //
14441
+ //
14442
+ //
14443
+ //
14444
+ //
14445
+ //
14446
+ //
14447
+ //
14448
+ //
14449
+ //
14450
+ //
14451
+ //
14452
+ //
14453
+ //
14454
+ //
14455
+ //
14456
+ //
14457
+ //
14458
+ //
14459
+ //
14460
+ //
14461
+ //
14462
+ //
14463
+ //
14464
+ //
14465
+ //
14466
+ //
14467
+ //
14468
+ //
14469
+ //
14470
+ //
14471
+ //
14472
+ //
14473
+ //
14474
+ //
14475
+ //
14476
+ //
14477
+ //
14478
+ //
14479
+ //
14480
+ //
14481
+ //
14482
+ //
14483
+ //
14484
+ //
14485
+ //
14486
+ //
14487
+ //
14488
+ //
14489
+ //
14490
+ //
14491
+ //
14492
+ //
14493
+ //
14494
+ //
14495
+ //
14496
+ //
14497
+ //
14498
+ //
14499
+ //
14500
+ //
14501
+ //
14502
+ //
14503
+ //
14504
+ //
14505
+ //
14506
+ //
14507
+ //
14508
+ //
14509
+ //
14510
+ //
14511
+ //
14512
+ //
14513
+ //
14514
+ //
14515
+ //
14516
+ //
14517
+ //
14518
+ //
14519
+ //
14520
+ //
14521
+ //
14522
+ //
14523
+ //
14524
+ //
14525
+ //
14526
+ //
14527
+ //
14528
+ //
14529
+ //
14530
+ //
14531
+ //
14532
+ //
14533
+ //
14534
+ //
14535
+ //
14536
+ //
14537
+ //
14538
+ //
14539
+ //
14540
+ //
14541
+ //
14542
+ //
14543
+ //
14544
+ //
14545
+ //
14546
+ //
14547
+ //
14548
+ //
14549
+ //
14550
+ //
14551
+ //
14552
+ //
14553
+ //
14554
+ //
14555
+ //
14556
+ //
14557
+ //
14558
+ //
14559
+ //
14560
+ //
14561
+ //
14562
+ //
14563
+ //
14564
+ //
14565
+ //
14566
+ //
14567
+ //
14568
+ //
14569
+ //
14570
+ //
14571
+ //
14572
+ //
14573
+ //
14574
+ //
14575
+ //
14576
+ //
14577
+ //
14578
+ //
14579
+ //
14580
+ //
14581
+ //
14582
+ //
14583
+ //
14584
+ //
14585
+ //
14586
+ //
14587
+ //
14588
+ //
14589
+ //
14590
+ //
14591
+ //
14592
+ //
14593
+ //
14594
+ //
14595
+ //
14596
+ //
14597
+ //
14598
+ //
14599
+ //
14600
+ //
14601
+ //
14602
+ //
14603
+ //
14604
+ //
14605
+ //
14606
+ //
14607
+ //
14608
+ //
14609
+ //
14610
+ //
14611
+ //
14612
+ //
14613
+ //
14614
+ //
14615
+ //
14616
+ //
14617
+ //
14618
+ //
14619
+ //
14620
+ //
14621
+ //
14622
+ //
14623
+ //
14624
+ //
14625
+ //
14626
+ //
14627
+ //
14628
+ //
14629
+ //
14630
+ //
14631
+ //
14632
+ //
14633
+ //
14634
+ //
14635
+ //
14636
+ //
14637
+ //
14638
+ //
14639
+ //
14640
+ //
14641
+ //
14642
+ //
14643
+ //
14644
+ //
14645
+ //
14646
+ //
14647
+ //
14648
+ //
14649
+ //
14650
+ //
14651
+ //
14652
+ //
14653
+ //
14654
+ //
14655
+ //
14656
+ //
14657
+ //
14658
+ //
14659
+ //
14660
+ //
14661
+ //
14662
+ //
14663
+ //
14664
+ //
14665
+ //
14666
+ //
14667
+ //
14668
+ //
14669
+ //
14670
+ //
14671
+ //
14672
+ //
14673
+ //
14674
+ //
15037
14675
 
15038
14676
  /* eslint-disable no-alert, no-console */
15039
14677
 
@@ -15051,12 +14689,15 @@ external_vue_default.a.use(lib_loading_default.a.directive);
15051
14689
  external_vue_default.a.use(lib_radio_default.a);
15052
14690
  external_vue_default.a.use(lib_radio_group_default.a);
15053
14691
  external_vue_default.a.use(lib_row_default.a);
14692
+
15054
14693
  var ResizeSensor = __webpack_require__("ae66");
14694
+
15055
14695
  var mapResize = function mapResize(map) {
15056
14696
  return function () {
15057
14697
  if (map) map.resize();
15058
14698
  };
15059
14699
  };
14700
+
15060
14701
  /* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
15061
14702
  name: "FlatmapVuer",
15062
14703
  components: {
@@ -15071,11 +14712,12 @@ var mapResize = function mapResize(map) {
15071
14712
  },
15072
14713
  methods: {
15073
14714
  viewLatestMap: function viewLatestMap() {
15074
- var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
15075
- //Human requires special handling
14715
+ var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined; //Human requires special handling
14716
+
15076
14717
  if (this.entry === "NCBITaxon:9606") {
15077
14718
  biologicalSex = "PATO:0000384";
15078
14719
  }
14720
+
15079
14721
  var state = {
15080
14722
  entry: this.entry,
15081
14723
  biologicalSex: biologicalSex,
@@ -15085,6 +14727,7 @@ var mapResize = function mapResize(map) {
15085
14727
  },
15086
14728
  backgroundChangeCallback: function backgroundChangeCallback(colour) {
15087
14729
  this.currentBackground = colour;
14730
+
15088
14731
  if (this.mapImp) {
15089
14732
  this.mapImp.setBackgroundColour(this.currentBackground, 1);
15090
14733
  }
@@ -15092,11 +14735,13 @@ var mapResize = function mapResize(map) {
15092
14735
  toggleDrawer: function toggleDrawer() {
15093
14736
  this.drawerOpen = !this.drawerOpen;
15094
14737
  },
15095
- /**
15096
- * Function to toggle colour/greyscale of organs.
14738
+
14739
+ /**
14740
+ * Function to toggle colour/greyscale of organs.
15097
14741
  */
15098
14742
  setColour: function setColour(flag) {
15099
14743
  this.colourRadio = flag;
14744
+
15100
14745
  if (this.mapImp) {
15101
14746
  this.mapImp.setColour({
15102
14747
  colour: flag,
@@ -15104,11 +14749,13 @@ var mapResize = function mapResize(map) {
15104
14749
  });
15105
14750
  }
15106
14751
  },
15107
- /**
15108
- * Function to toggle outlines f organs.
14752
+
14753
+ /**
14754
+ * Function to toggle outlines f organs.
15109
14755
  */
15110
14756
  setOutlines: function setOutlines(flag) {
15111
14757
  this.outlineRadio = flag;
14758
+
15112
14759
  if (this.mapImp) {
15113
14760
  this.mapImp.setColour({
15114
14761
  colour: this.colourRadio,
@@ -15116,9 +14763,10 @@ var mapResize = function mapResize(map) {
15116
14763
  });
15117
14764
  }
15118
14765
  },
15119
- /**
15120
- * Function to toggle paths to default.
15121
- * Also called when the associated button is pressed.
14766
+
14767
+ /**
14768
+ * Function to toggle paths to default.
14769
+ * Also called when the associated button is pressed.
15122
14770
  */
15123
14771
  resetView: function resetView() {
15124
14772
  if (this.mapImp) {
@@ -15130,18 +14778,20 @@ var mapResize = function mapResize(map) {
15130
14778
  this.checkAll = true;
15131
14779
  }
15132
14780
  },
15133
- /**
15134
- * Function to zoom in.
15135
- * Also called when the associated button is pressed.
14781
+
14782
+ /**
14783
+ * Function to zoom in.
14784
+ * Also called when the associated button is pressed.
15136
14785
  */
15137
14786
  zoomIn: function zoomIn() {
15138
14787
  if (this.mapImp) {
15139
14788
  this.mapImp.zoomIn();
15140
14789
  }
15141
14790
  },
15142
- /**
15143
- * Function to zoom out.
15144
- * Also called when the associated button is pressed.
14791
+
14792
+ /**
14793
+ * Function to zoom out.
14794
+ * Also called when the associated button is pressed.
15145
14795
  */
15146
14796
  zoomOut: function zoomOut() {
15147
14797
  if (this.mapImp) {
@@ -15163,6 +14813,7 @@ var mapResize = function mapResize(map) {
15163
14813
  return a.type;
15164
14814
  }) : [];
15165
14815
  this.isIndeterminate = false;
14816
+
15166
14817
  if (this.mapImp) {
15167
14818
  this.mapImp.showPaths(this.checkedItems);
15168
14819
  }
@@ -15172,15 +14823,18 @@ var mapResize = function mapResize(map) {
15172
14823
  },
15173
14824
  eventCallback: function eventCallback() {
15174
14825
  var _this = this;
14826
+
15175
14827
  return function (eventType, data) {
15176
14828
  if (eventType !== "pan-zoom") {
15177
14829
  var label = data.label;
15178
14830
  var resource = [data.models];
15179
14831
  var taxonomy = _this.entry;
15180
14832
  var biologicalSex = _this.biologicalSex;
14833
+
15181
14834
  for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
15182
14835
  args[_key - 2] = arguments[_key];
15183
14836
  }
14837
+
15184
14838
  var payload = {
15185
14839
  dataset: data.dataset,
15186
14840
  biologicalSex: biologicalSex,
@@ -15190,9 +14844,10 @@ var mapResize = function mapResize(map) {
15190
14844
  feature: data,
15191
14845
  userData: args,
15192
14846
  eventType: eventType
15193
- };
15194
- // Disable the nueron pop up for now.
14847
+ }; // Disable the nueron pop up for now.
14848
+
15195
14849
  if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
14850
+
15196
14851
  _this.$emit("resource-selected", payload);
15197
14852
  } else {
15198
14853
  _this.$emit("pan-zoom-callback", data);
@@ -15216,6 +14871,7 @@ var mapResize = function mapResize(map) {
15216
14871
  if (ftooltip) ftooltip.style.display = "none";
15217
14872
  document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
15218
14873
  this.$refs.tooltip.$el.style.display = "flex";
14874
+
15219
14875
  document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
15220
14876
  document.querySelector(".flatmap-tooltip-popup").style.display = "block";
15221
14877
  };
@@ -15229,13 +14885,14 @@ var mapResize = function mapResize(map) {
15229
14885
  if (data.resource[0].includes('ilxtr:neuron')) {
15230
14886
  return true;
15231
14887
  }
15232
- }
15233
- // annotated with datset check
14888
+ } // annotated with datset check
14889
+
14890
+
15234
14891
  if (data.dataset) {
15235
14892
  return true;
15236
- }
14893
+ } // if there is no cuff, neural data, or dataset we do not display neuron tooltip
14894
+
15237
14895
 
15238
- // if there is no cuff, neural data, or dataset we do not display neuron tooltip
15239
14896
  return false;
15240
14897
  },
15241
14898
  createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
@@ -15247,9 +14904,8 @@ var mapResize = function mapResize(map) {
15247
14904
  distribution: undefined,
15248
14905
  actions: []
15249
14906
  };
15250
- this.tooltipVisible = false;
14907
+ this.tooltipVisible = false; // neural data check
15251
14908
 
15252
- // neural data check
15253
14909
  if (feature) {
15254
14910
  if (feature.includes('ilxtr:neuron')) {
15255
14911
  this.tooltipVisible = true;
@@ -15267,8 +14923,9 @@ var mapResize = function mapResize(map) {
15267
14923
  nervePath: true
15268
14924
  });
15269
14925
  }
15270
- }
15271
- // annotated with datset check
14926
+ } // annotated with datset check
14927
+
14928
+
15272
14929
  if (data.dataset) {
15273
14930
  this.tooltipVisible = true;
15274
14931
  this.tooltipContent = content;
@@ -15287,6 +14944,7 @@ var mapResize = function mapResize(map) {
15287
14944
  // Keeping this as an API
15288
14945
  showPopup: function showPopup(featureId, node, options) {
15289
14946
  var myOptions = options;
14947
+
15290
14948
  if (this.mapImp) {
15291
14949
  if (myOptions) {
15292
14950
  if (!myOptions.className) myOptions.className = "custom-popup";
@@ -15296,6 +14954,7 @@ var mapResize = function mapResize(map) {
15296
14954
  positionAtLastClick: true
15297
14955
  };
15298
14956
  }
14957
+
15299
14958
  this.mapImp.showPopup(featureId, node, myOptions);
15300
14959
  }
15301
14960
  },
@@ -15304,6 +14963,26 @@ var mapResize = function mapResize(map) {
15304
14963
  this.mapImp.showMarkerPopup(featureId, node, options);
15305
14964
  }
15306
14965
  },
14966
+ closeMinimap: function closeMinimap() {
14967
+ var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap'); // find minimap
14968
+
14969
+ if (this.minimapSmall) {
14970
+ //switch the classes on the minimap
14971
+ minimapEl.classList.add('enlarge');
14972
+ minimapEl.classList.remove('shrink');
14973
+ } else {
14974
+ minimapEl.classList.add('shrink');
14975
+ minimapEl.classList.remove('enlarge');
14976
+ }
14977
+
14978
+ this.minimapSmall = !this.minimapSmall;
14979
+ },
14980
+ addResizeButtonToMinimap: function addResizeButtonToMinimap() {
14981
+ var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
14982
+ this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
14983
+ minimapEl.appendChild(this.$refs.minimapResize);
14984
+ this.minimapResizeShow = true;
14985
+ },
15307
14986
  setHelpMode: function setHelpMode(helpMode) {
15308
14987
  if (helpMode) {
15309
14988
  this.inHelp = true;
@@ -15321,6 +15000,7 @@ var mapResize = function mapResize(map) {
15321
15000
  },
15322
15001
  showToolitip: function showToolitip(tooltipNumber) {
15323
15002
  var _this2 = this;
15003
+
15324
15004
  if (!this.inHelp) {
15325
15005
  this.tooltipWait = setTimeout(function () {
15326
15006
  _this2.hoverVisibilities[tooltipNumber].value = true;
@@ -15350,10 +15030,13 @@ var mapResize = function mapResize(map) {
15350
15030
  },
15351
15031
  getLabels: function getLabels() {
15352
15032
  var labels = [];
15033
+
15353
15034
  if (this.mapImp) {
15354
15035
  var annotations = this.mapImp.annotations;
15036
+
15355
15037
  var _iterator = _createForOfIteratorHelper(annotations.values()),
15356
- _step;
15038
+ _step;
15039
+
15357
15040
  try {
15358
15041
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
15359
15042
  var value = _step.value;
@@ -15364,6 +15047,7 @@ var mapResize = function mapResize(map) {
15364
15047
  } finally {
15365
15048
  _iterator.f();
15366
15049
  }
15050
+
15367
15051
  return Array.from(new Set(labels));
15368
15052
  }
15369
15053
  },
@@ -15378,6 +15062,7 @@ var mapResize = function mapResize(map) {
15378
15062
  if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
15379
15063
  return state;
15380
15064
  }
15065
+
15381
15066
  return undefined;
15382
15067
  },
15383
15068
  setState: function setState(state) {
@@ -15399,18 +15084,17 @@ var mapResize = function mapResize(map) {
15399
15084
  },
15400
15085
  createFlatmap: function createFlatmap(state) {
15401
15086
  var _this3 = this;
15087
+
15402
15088
  if (!this.mapImp && !this.loading) {
15403
15089
  this.loading = true;
15404
15090
  var minimap = false;
15091
+
15405
15092
  if (this.displayMinimap) {
15406
15093
  minimap = {
15407
15094
  position: "top-right"
15408
15095
  };
15409
- }
15410
-
15411
- //As for flatmap-viewer@2.2.7, see below for the documentation
15096
+ } //As for flatmap-viewer@2.2.7, see below for the documentation
15412
15097
  //for the identifier:
15413
-
15414
15098
  //@arg identifier {string|Object}
15415
15099
  // A string or object identifying the map to load. If a string its
15416
15100
  // value can be either the map's ``uuid``, assigned at generation time,
@@ -15424,10 +15108,11 @@ var mapResize = function mapResize(map) {
15424
15108
  // @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
15425
15109
  // be loaded, overriding ``taxon`` and ``biologicalSex``.
15426
15110
 
15111
+
15427
15112
  var identifier = {
15428
15113
  taxon: this.entry
15429
- };
15430
- //This now handle the uses of uuid when resuming states
15114
+ }; //This now handle the uses of uuid when resuming states
15115
+
15431
15116
  if (state) {
15432
15117
  if (state.uuid) {
15433
15118
  identifier = {
@@ -15435,6 +15120,7 @@ var mapResize = function mapResize(map) {
15435
15120
  };
15436
15121
  } else if (state.entry) {
15437
15122
  identifier.taxon = state.entry;
15123
+
15438
15124
  if (state.biologicalSex) {
15439
15125
  identifier["biologicalSex"] = state.biologicalSex;
15440
15126
  } else if (identifier.taxon === "NCBITaxon:9606") {
@@ -15449,6 +15135,7 @@ var mapResize = function mapResize(map) {
15449
15135
  identifier["biologicalSex"] = this.biologicalSex;
15450
15136
  }
15451
15137
  }
15138
+
15452
15139
  var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
15453
15140
  //fullscreenControl: false,
15454
15141
  //annotatable: false,
@@ -15462,12 +15149,9 @@ var mapResize = function mapResize(map) {
15462
15149
  });
15463
15150
  promise1.then(function (returnedObject) {
15464
15151
  _this3.mapImp = returnedObject;
15465
- _this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
15466
- _this3.mapImp.setBackgroundOpacity(1);
15467
- _this3.backgroundChangeCallback(_this3.currentBackground);
15468
- _this3.pathways = _this3.mapImp.pathTypes();
15469
- _this3.$emit("ready", _this3);
15470
- _this3.loading = false;
15152
+
15153
+ _this3.onFlatmapReady();
15154
+
15471
15155
  if (_this3._stateToBeSet) _this3.restoreMapState(_this3._stateToBeSet);else {
15472
15156
  _this3.restoreMapState(state);
15473
15157
  }
@@ -15480,15 +15164,26 @@ var mapResize = function mapResize(map) {
15480
15164
  if (this.mapImp && !this.loading) this.restoreMapState(this._stateToBeSet);
15481
15165
  }
15482
15166
  },
15167
+ onFlatmapReady: function onFlatmapReady() {
15168
+ // onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
15169
+ this.sensor = new ResizeSensor(this.$refs.display, mapResize(this.mapImp));
15170
+ this.mapImp.setBackgroundOpacity(1);
15171
+ this.backgroundChangeCallback(this.currentBackground);
15172
+ this.pathways = this.mapImp.pathTypes();
15173
+ this.$emit("ready", this);
15174
+ this.addResizeButtonToMinimap();
15175
+ this.loading = false;
15176
+ },
15483
15177
  showMinimap: function showMinimap(flag) {
15484
15178
  if (this.mapImp) this.mapImp.showMinimap(flag);
15485
15179
  },
15486
15180
  showPathwaysDrawer: function showPathwaysDrawer(flag) {
15487
15181
  this.drawerOpen = flag;
15488
15182
  },
15489
- /**
15490
- * Function to display features with annotation matching the provided term,
15491
- * with the option to display the label using displayLabel flag.
15183
+
15184
+ /**
15185
+ * Function to display features with annotation matching the provided term,
15186
+ * with the option to display the label using displayLabel flag.
15492
15187
  */
15493
15188
  searchAndShowResult: function searchAndShowResult(term, displayLabel) {
15494
15189
  if (this.mapImp) {
@@ -15497,22 +15192,27 @@ var mapResize = function mapResize(map) {
15497
15192
  return true;
15498
15193
  } else {
15499
15194
  var searchResults = this.mapImp.search(term);
15195
+
15500
15196
  if (searchResults && searchResults.results && searchResults.results.length > 0) {
15501
15197
  this.mapImp.showSearchResults(searchResults);
15198
+
15502
15199
  if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
15503
15200
  this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
15504
15201
  className: "custom-popup",
15505
15202
  positionAtLastClick: false
15506
15203
  });
15507
15204
  }
15205
+
15508
15206
  return true;
15509
15207
  } else this.mapImp.clearSearchResults();
15510
15208
  }
15511
15209
  }
15210
+
15512
15211
  return false;
15513
15212
  },
15514
- /**
15515
- * Get the list of suggested terms
15213
+
15214
+ /**
15215
+ * Get the list of suggested terms
15516
15216
  */
15517
15217
  searchSuggestions: function searchSuggestions(term) {
15518
15218
  if (this.mapImp) return this.mapImp.search(term);
@@ -15577,15 +15277,17 @@ var mapResize = function mapResize(map) {
15577
15277
  type: String,
15578
15278
  default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
15579
15279
  },
15580
- /**
15581
- * State containing state of the flatmap.
15280
+
15281
+ /**
15282
+ * State containing state of the flatmap.
15582
15283
  */
15583
15284
  state: {
15584
15285
  type: Object,
15585
15286
  default: undefined
15586
15287
  },
15587
- /**
15588
- * Specify the endpoint of the flatmap server.
15288
+
15289
+ /**
15290
+ * Specify the endpoint of the flatmap server.
15589
15291
  */
15590
15292
  flatmapAPI: {
15591
15293
  type: String,
@@ -15635,7 +15337,9 @@ var mapResize = function mapResize(map) {
15635
15337
  featureIds: []
15636
15338
  },
15637
15339
  colourRadio: true,
15638
- outlinesRadio: true
15340
+ outlinesRadio: true,
15341
+ minimapResizeShow: false,
15342
+ minimapSmall: false
15639
15343
  };
15640
15344
  },
15641
15345
  watch: {
@@ -15655,14 +15359,15 @@ var mapResize = function mapResize(map) {
15655
15359
  },
15656
15360
  mounted: function mounted() {
15657
15361
  var flatmap = __webpack_require__("4979");
15362
+
15658
15363
  this.mapManager = new flatmap.MapManager(this.flatmapAPI);
15659
15364
  if (this.renderAtMounted) this.createFlatmap();
15660
15365
  }
15661
15366
  });
15662
15367
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
15663
15368
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
15664
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=7e19e884&prod&scoped=true&lang=scss&
15665
- var FlatmapVuervue_type_style_index_0_id_7e19e884_prod_scoped_true_lang_scss_ = __webpack_require__("8d82");
15369
+ // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=20b4e460&scoped=true&lang=scss&
15370
+ var FlatmapVuervue_type_style_index_0_id_20b4e460_scoped_true_lang_scss_ = __webpack_require__("1b11");
15666
15371
 
15667
15372
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
15668
15373
 
@@ -15679,127 +15384,18 @@ var FlatmapVuer_component = normalizeComponent(
15679
15384
  staticRenderFns,
15680
15385
  false,
15681
15386
  null,
15682
- "7e19e884",
15387
+ "20b4e460",
15683
15388
  null
15684
15389
 
15685
15390
  )
15686
15391
 
15687
15392
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
15688
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"18b05c0a-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=b3d66562&scoped=true&
15689
- var MultiFlatmapVuervue_type_template_id_b3d66562_scoped_true_render = function render() {
15690
- var _vm = this,
15691
- _c = _vm._self._c;
15692
- return _c('div', {
15693
- staticClass: "multi-container"
15694
- }, [_c('div', {
15695
- staticStyle: {
15696
- "position": "absolute",
15697
- "z-index": "10"
15698
- }
15699
- }, [_c('div', {
15700
- staticClass: "species-display-text"
15701
- }, [_vm._v(" Species ")]), _c('el-popover', {
15702
- ref: "selectPopover",
15703
- attrs: {
15704
- "content": "Select a species",
15705
- "placement": "right",
15706
- "appendToBody": false,
15707
- "trigger": "manual",
15708
- "popper-class": "flatmap-popper right-popper"
15709
- },
15710
- model: {
15711
- value: _vm.helpMode,
15712
- callback: function callback($$v) {
15713
- _vm.helpMode = $$v;
15714
- },
15715
- expression: "helpMode"
15716
- }
15717
- }), _c('el-select', {
15718
- directives: [{
15719
- name: "popover",
15720
- rawName: "v-popover:selectPopover",
15721
- arg: "selectPopover"
15722
- }],
15723
- staticClass: "select-box",
15724
- attrs: {
15725
- "id": "flatmap-select",
15726
- "popper-append-to-body": _vm.appendToBody,
15727
- "placeholder": "Select",
15728
- "popper-class": "flatmap_dropdown"
15729
- },
15730
- on: {
15731
- "change": _vm.setSpecies
15732
- },
15733
- model: {
15734
- value: _vm.activeSpecies,
15735
- callback: function callback($$v) {
15736
- _vm.activeSpecies = $$v;
15737
- },
15738
- expression: "activeSpecies"
15739
- }
15740
- }, _vm._l(_vm.speciesList, function (item, key) {
15741
- return _c('el-option', {
15742
- key: key,
15743
- attrs: {
15744
- "label": key,
15745
- "value": key
15746
- }
15747
- }, [_c('el-row', [_c('el-col', {
15748
- attrs: {
15749
- "span": 8
15750
- }
15751
- }, [_c('i', {
15752
- class: item.iconClass
15753
- })]), _c('el-col', {
15754
- attrs: {
15755
- "span": 12
15756
- }
15757
- }, [_vm._v(_vm._s(key))])], 1)], 1);
15758
- }), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
15759
- return _c('FlatmapVuer', {
15760
- directives: [{
15761
- name: "show",
15762
- rawName: "v-show",
15763
- value: _vm.activeSpecies == key,
15764
- expression: "activeSpecies==key"
15765
- }],
15766
- key: key,
15767
- ref: key,
15768
- refInFor: true,
15769
- staticStyle: {
15770
- "height": "100%"
15771
- },
15772
- attrs: {
15773
- "showLayer": _vm.showLayer,
15774
- "entry": item.taxo,
15775
- "biologicalSex": item.biologicalSex,
15776
- "displayWarning": item.displayWarning,
15777
- "warningMessage": _vm.warningMessage,
15778
- "displayLatestChanges": item.displayLatestChanges,
15779
- "latestChangesMessage": item.latestChangesMessage,
15780
- "isLegacy": item.isLegacy,
15781
- "featureInfo": _vm.featureInfo,
15782
- "minZoom": _vm.minZoom,
15783
- "pathControls": _vm.pathControls,
15784
- "searchable": _vm.searchable,
15785
- "helpMode": _vm.helpMode,
15786
- "renderAtMounted": _vm.renderAtMounted,
15787
- "displayMinimap": _vm.displayMinimap,
15788
- "flatmapAPI": _vm.flatmapAPI,
15789
- "sparcAPI": _vm.sparcAPI
15790
- },
15791
- on: {
15792
- "view-latest-map": _vm.viewLatestMap,
15793
- "resource-selected": _vm.FlatmapSelected,
15794
- "ready": _vm.FlatmapReady,
15795
- "pan-zoom-callback": _vm.panZoomCallback
15796
- }
15797
- });
15798
- })], 2);
15799
- };
15800
- var MultiFlatmapVuervue_type_template_id_b3d66562_scoped_true_staticRenderFns = [];
15393
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"6f2858b2-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=6b4bad1c&scoped=true&
15394
+ var MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"multiContainer",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.setSpecies},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,"biologicalSex":item.biologicalSex,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"isLegacy":item.isLegacy,"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:{"view-latest-map":_vm.viewLatestMap,"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
15395
+ var MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns = []
15801
15396
 
15802
- // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=b3d66562&scoped=true&
15397
+
15398
+ // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=6b4bad1c&scoped=true&
15803
15399
 
15804
15400
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
15805
15401
  var popover = __webpack_require__("06f1");
@@ -15825,7 +15421,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
15825
15421
  // EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
15826
15422
  var es_object_keys_js_ = __webpack_require__("ea64");
15827
15423
 
15828
- // 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&
15424
+ // 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&
15829
15425
 
15830
15426
 
15831
15427
 
@@ -15847,6 +15443,65 @@ var es_object_keys_js_ = __webpack_require__("ea64");
15847
15443
 
15848
15444
 
15849
15445
 
15446
+ //
15447
+ //
15448
+ //
15449
+ //
15450
+ //
15451
+ //
15452
+ //
15453
+ //
15454
+ //
15455
+ //
15456
+ //
15457
+ //
15458
+ //
15459
+ //
15460
+ //
15461
+ //
15462
+ //
15463
+ //
15464
+ //
15465
+ //
15466
+ //
15467
+ //
15468
+ //
15469
+ //
15470
+ //
15471
+ //
15472
+ //
15473
+ //
15474
+ //
15475
+ //
15476
+ //
15477
+ //
15478
+ //
15479
+ //
15480
+ //
15481
+ //
15482
+ //
15483
+ //
15484
+ //
15485
+ //
15486
+ //
15487
+ //
15488
+ //
15489
+ //
15490
+ //
15491
+ //
15492
+ //
15493
+ //
15494
+ //
15495
+ //
15496
+ //
15497
+ //
15498
+ //
15499
+ //
15500
+ //
15501
+ //
15502
+ //
15503
+ //
15504
+ //
15850
15505
 
15851
15506
  /* eslint-disable no-alert, no-console */
15852
15507
 
@@ -15880,6 +15535,7 @@ var TAXON_UUID = {
15880
15535
  },
15881
15536
  mounted: function mounted() {
15882
15537
  var _this = this;
15538
+
15883
15539
  this.initialise();
15884
15540
  components_EventBus.$on('onActionClick', function (action) {
15885
15541
  _this.FlatmapSelected(action);
@@ -15888,6 +15544,7 @@ var TAXON_UUID = {
15888
15544
  methods: {
15889
15545
  initialise: function initialise() {
15890
15546
  var _this2 = this;
15547
+
15891
15548
  return new Promise(function (resolve) {
15892
15549
  if (_this2.requireInitialisation) {
15893
15550
  //It has not been initialised yet
@@ -15903,21 +15560,25 @@ var TAXON_UUID = {
15903
15560
  if (_this2.availableSpecies[key].biologicalSex) {
15904
15561
  if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
15905
15562
  _this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
15563
+
15906
15564
  break;
15907
15565
  }
15908
15566
  } else {
15909
15567
  _this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
15568
+
15910
15569
  break;
15911
15570
  }
15912
15571
  }
15913
15572
  }
15914
- });
15915
- //Use the state species if it does not have any other species information
15573
+ }); //Use the state species if it does not have any other species information
15574
+
15916
15575
  var species = _this2.initial;
15576
+
15917
15577
  if (_this2.state) {
15918
15578
  var mapState = _this2.state.state;
15919
15579
  if ((!mapState || !mapState.uuid && !mapState.entry) && _this2.state.species) species = _this2.state.species;else species = undefined;
15920
15580
  }
15581
+
15921
15582
  if (species) {
15922
15583
  //No state resuming, set the current flatmap to {this.initial}
15923
15584
  if (species && _this2.speciesList[species] !== undefined) {
@@ -15925,11 +15586,13 @@ var TAXON_UUID = {
15925
15586
  } else {
15926
15587
  _this2.activeSpecies = Object.keys(_this2.speciesList)[0];
15927
15588
  }
15589
+
15928
15590
  _this2.setSpecies(_this2.activeSpecies, _this2.state ? _this2.state.state : undefined, 5);
15929
15591
  }
15592
+
15930
15593
  _this2._initialised = true;
15931
- resolve();
15932
- //Resolve all other promises resolve in the list
15594
+ resolve(); //Resolve all other promises resolve in the list
15595
+
15933
15596
  _this2._resolveList.forEach(function (other) {
15934
15597
  other();
15935
15598
  });
@@ -15948,12 +15611,15 @@ var TAXON_UUID = {
15948
15611
  },
15949
15612
  FlatmapReady: function FlatmapReady(component) {
15950
15613
  this.$emit("ready", component);
15614
+ this.addCloseButtonToMinimap();
15951
15615
  },
15952
15616
  getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
15953
15617
  var flatmap = this.$refs[this.activeSpecies];
15618
+
15954
15619
  if (flatmap && flatmap[0]) {
15955
15620
  return flatmap[0].getCoordinatesOfLastClick();
15956
15621
  }
15622
+
15957
15623
  return undefined;
15958
15624
  },
15959
15625
  getCurrentFlatmap: function getCurrentFlatmap() {
@@ -15972,12 +15638,14 @@ var TAXON_UUID = {
15972
15638
  },
15973
15639
  setSpecies: function setSpecies(species, state, numberOfRetry) {
15974
15640
  var _this3 = this;
15641
+
15975
15642
  if (this.$refs && species in this.$refs) {
15976
15643
  this.activeSpecies = species;
15977
15644
  this.$refs[this.activeSpecies][0].createFlatmap(state);
15978
15645
  this.$emit('flatmapChanged', this.activeSpecies);
15979
15646
  } else if (numberOfRetry) {
15980
15647
  var retry = numberOfRetry - 1;
15648
+
15981
15649
  if (retry >= 0) {
15982
15650
  external_vue_default.a.nextTick(function () {
15983
15651
  _this3.setSpecies(species, state, retry);
@@ -15985,33 +15653,39 @@ var TAXON_UUID = {
15985
15653
  }
15986
15654
  }
15987
15655
  },
15988
- /**
15989
- * Function to switch to the latest existing map from
15990
- * a legacy map of the same species.
15991
- *
15992
- * @private
15656
+
15657
+ /**
15658
+ * Function to switch to the latest existing map from
15659
+ * a legacy map of the same species.
15660
+ *
15661
+ * @private
15993
15662
  */
15994
15663
  viewLatestMap: function viewLatestMap(state) {
15995
15664
  var keys = Object.keys(this.speciesList);
15665
+
15996
15666
  for (var i = 0; i < keys.length; i++) {
15997
15667
  var species = this.speciesList[keys[i]];
15668
+
15998
15669
  if (!species.isLegacy && species.taxo === state.entry && species.biologicalSex === state.biologicalSex) {
15999
15670
  this.setSpecies(keys[i], state, 0);
16000
15671
  return;
16001
15672
  }
16002
15673
  }
16003
15674
  },
16004
- /**
16005
- * Create a legacy entry with the provided information
16006
- *
16007
- * @private
15675
+
15676
+ /**
15677
+ * Create a legacy entry with the provided information
15678
+ *
15679
+ * @private
16008
15680
  */
16009
15681
  createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
16010
15682
  if (uuid && taxo) {
16011
15683
  var name = "Legacy";
15684
+
16012
15685
  if (state.species) {
16013
15686
  if (state.species.slice(0, 6) === "Legacy") name = state.species;else name = name + " ".concat(state.species);
16014
15687
  }
15688
+
16015
15689
  this.$set(this.speciesList, name, {
16016
15690
  taxo: taxo,
16017
15691
  isLegacy: true,
@@ -16028,30 +15702,34 @@ var TAXON_UUID = {
16028
15702
  };
16029
15703
  }
16030
15704
  },
16031
- /**
16032
- * Function used to translate the legacy map state to one that can be used in current
16033
- * flatmap if required. If it is a legacy, an Select entry will be added
16034
- *
16035
- * @private
15705
+
15706
+ /**
15707
+ * Function used to translate the legacy map state to one that can be used in current
15708
+ * flatmap if required. If it is a legacy, an Select entry will be added
15709
+ *
15710
+ * @private
16036
15711
  */
16037
15712
  updateState: function updateState(state) {
16038
15713
  var _this4 = this;
15714
+
16039
15715
  return new Promise(function (resolve) {
16040
15716
  if (state && state.state) {
16041
- var mapState = state.state;
16042
- //uuid is not in the state, this is a legacy map
15717
+ var mapState = state.state; //uuid is not in the state, this is a legacy map
15718
+
16043
15719
  if (!mapState.uuid) {
16044
15720
  if (mapState.entry) {
16045
15721
  var uuid = mapState.entry in TAXON_UUID ? TAXON_UUID[mapState.entry] : undefined;
15722
+
16046
15723
  var newState = _this4.createLegacyEntry(state, mapState.entry, uuid);
15724
+
16047
15725
  resolve(newState ? newState : state);
16048
15726
  }
16049
15727
  } else if (mapState.entry) {
16050
15728
  //uuid is in the state but should be checked if it is the latest map
16051
15729
  //for that taxon
16052
15730
  return new Promise(function () {
16053
- var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
16054
- //mapManager.findMap_ is an async function so we need to wrap this with a promise
15731
+ var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI); //mapManager.findMap_ is an async function so we need to wrap this with a promise
15732
+
16055
15733
  var identifier = {
16056
15734
  taxon: mapState.entry
16057
15735
  };
@@ -16066,18 +15744,19 @@ var TAXON_UUID = {
16066
15744
  resolve(state);
16067
15745
  });
16068
15746
  });
16069
- }
16070
- //Create a new state and add the legacy map to the select
15747
+ } //Create a new state and add the legacy map to the select
15748
+
16071
15749
  }
16072
15750
 
16073
15751
  resolve(state);
16074
15752
  });
16075
15753
  },
16076
- /**
16077
- * Function used for getting the current states of the scene. This exported states
16078
- * can be imported using the importStates method.
16079
- *
16080
- * @public
15754
+
15755
+ /**
15756
+ * Function used for getting the current states of the scene. This exported states
15757
+ * can be imported using the importStates method.
15758
+ *
15759
+ * @public
16081
15760
  */
16082
15761
  getState: function getState() {
16083
15762
  var state = {
@@ -16088,14 +15767,16 @@ var TAXON_UUID = {
16088
15767
  state.state = map.getState();
16089
15768
  return state;
16090
15769
  },
16091
- /**
16092
- * Function used for importing the states of the scene. This exported states
16093
- * can be imported using the read states method.
16094
- *
16095
- * @public
15770
+
15771
+ /**
15772
+ * Function used for importing the states of the scene. This exported states
15773
+ * can be imported using the read states method.
15774
+ *
15775
+ * @public
16096
15776
  */
16097
15777
  setState: function setState(state) {
16098
15778
  var _this5 = this;
15779
+
16099
15780
  if (state) {
16100
15781
  //Update state if required
16101
15782
  this.updateState(state).then(function (currentState) {
@@ -16104,6 +15785,7 @@ var TAXON_UUID = {
16104
15785
  _this5.setSpecies(currentState.species, currentState.state, 5);
16105
15786
  } else if (currentState.state) {
16106
15787
  var map = _this5.getCurrentFlatmap();
15788
+
16107
15789
  map.setState(currentState.state);
16108
15790
  }
16109
15791
  });
@@ -16131,9 +15813,10 @@ var TAXON_UUID = {
16131
15813
  type: Boolean,
16132
15814
  default: false
16133
15815
  },
16134
- /**
16135
- * Initial species for the flatmap.
16136
- * This value will be ignored if a valid state object is provided.
15816
+
15817
+ /**
15818
+ * Initial species for the flatmap.
15819
+ * This value will be ignored if a valid state object is provided.
16137
15820
  */
16138
15821
  initial: {
16139
15822
  type: String,
@@ -16198,15 +15881,17 @@ var TAXON_UUID = {
16198
15881
  };
16199
15882
  }
16200
15883
  },
16201
- /**
16202
- * State containing state of the flatmap.
15884
+
15885
+ /**
15886
+ * State containing state of the flatmap.
16203
15887
  */
16204
15888
  state: {
16205
15889
  type: Object,
16206
15890
  default: undefined
16207
15891
  },
16208
- /**
16209
- * Specify the endpoint of the flatmap server.
15892
+
15893
+ /**
15894
+ * Specify the endpoint of the flatmap server.
16210
15895
  */
16211
15896
  flatmapAPI: {
16212
15897
  type: String,
@@ -16237,8 +15922,8 @@ var TAXON_UUID = {
16237
15922
  });
16238
15923
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
16239
15924
  /* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
16240
- // EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=b3d66562&prod&scoped=true&lang=scss&
16241
- var MultiFlatmapVuervue_type_style_index_0_id_b3d66562_prod_scoped_true_lang_scss_ = __webpack_require__("f83b");
15925
+ // EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=6b4bad1c&scoped=true&lang=scss&
15926
+ var MultiFlatmapVuervue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss_ = __webpack_require__("c033");
16242
15927
 
16243
15928
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
16244
15929
 
@@ -16251,11 +15936,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_b3d66562_prod_scoped_true_lang_scs
16251
15936
 
16252
15937
  var MultiFlatmapVuer_component = normalizeComponent(
16253
15938
  components_MultiFlatmapVuervue_type_script_lang_js_,
16254
- MultiFlatmapVuervue_type_template_id_b3d66562_scoped_true_render,
16255
- MultiFlatmapVuervue_type_template_id_b3d66562_scoped_true_staticRenderFns,
15939
+ MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_render,
15940
+ MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns,
16256
15941
  false,
16257
15942
  null,
16258
- "b3d66562",
15943
+ "6b4bad1c",
16259
15944
  null
16260
15945
 
16261
15946
  )