@abi-software/flatmapvuer 0.3.13-beta-2 → 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.
@@ -96,7 +96,7 @@ return /******/ (function(modules) { // webpackBootstrap
96
96
  /************************************************************************/
97
97
  /******/ ({
98
98
 
99
- /***/ "0654":
99
+ /***/ "0242":
100
100
  /***/ (function(module, exports, __webpack_require__) {
101
101
 
102
102
  // extracted by mini-css-extract-plugin
@@ -110,6 +110,13 @@ return /******/ (function(modules) { // webpackBootstrap
110
110
 
111
111
  /***/ }),
112
112
 
113
+ /***/ "0cda":
114
+ /***/ (function(module, exports) {
115
+
116
+ module.exports = require("core-js/modules/es.string.split.js");
117
+
118
+ /***/ }),
119
+
113
120
  /***/ "0f6c":
114
121
  /***/ (function(module, exports) {
115
122
 
@@ -197,12 +204,12 @@ module.exports =
197
204
  /******/
198
205
  /******/
199
206
  /******/ // Load entry module and return exports
200
- /******/ return __webpack_require__(__webpack_require__.s = 139);
207
+ /******/ return __webpack_require__(__webpack_require__.s = 132);
201
208
  /******/ })
202
209
  /************************************************************************/
203
210
  /******/ ({
204
211
 
205
- /***/ 139:
212
+ /***/ 132:
206
213
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
207
214
 
208
215
  "use strict";
@@ -225,7 +232,10 @@ __webpack_require__.r(__webpack_exports__);
225
232
  type: String,
226
233
  default: 'start'
227
234
  },
228
- align: String
235
+ align: {
236
+ type: String,
237
+ default: 'top'
238
+ }
229
239
  },
230
240
 
231
241
  computed: {
@@ -243,7 +253,7 @@ __webpack_require__.r(__webpack_exports__);
243
253
 
244
254
  render: function render(h) {
245
255
  return h(this.tag, {
246
- class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
256
+ class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
247
257
  style: this.style
248
258
  }, this.$slots.default);
249
259
  }
@@ -284,6 +294,17 @@ exports.default = function (ref) {
284
294
 
285
295
  ;
286
296
 
297
+ /***/ }),
298
+
299
+ /***/ "13aa":
300
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
301
+
302
+ "use strict";
303
+ /* 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");
304
+ /* 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__);
305
+ /* unused harmony reexport * */
306
+
307
+
287
308
  /***/ }),
288
309
 
289
310
  /***/ "13e3":
@@ -380,12 +401,12 @@ module.exports =
380
401
  /******/
381
402
  /******/
382
403
  /******/ // Load entry module and return exports
383
- /******/ return __webpack_require__(__webpack_require__.s = 133);
404
+ /******/ return __webpack_require__(__webpack_require__.s = 127);
384
405
  /******/ })
385
406
  /************************************************************************/
386
407
  /******/ ({
387
408
 
388
- /***/ 133:
409
+ /***/ 127:
389
410
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
390
411
 
391
412
  "use strict";
@@ -395,7 +416,7 @@ __webpack_require__.r(__webpack_exports__);
395
416
  var resize_event_ = __webpack_require__(16);
396
417
 
397
418
  // EXTERNAL MODULE: external "element-ui/lib/utils/scrollbar-width"
398
- var scrollbar_width_ = __webpack_require__(39);
419
+ var scrollbar_width_ = __webpack_require__(38);
399
420
  var scrollbar_width_default = /*#__PURE__*/__webpack_require__.n(scrollbar_width_);
400
421
 
401
422
  // EXTERNAL MODULE: external "element-ui/lib/utils/util"
@@ -710,7 +731,7 @@ module.exports = __webpack_require__("8122");
710
731
 
711
732
  /***/ }),
712
733
 
713
- /***/ 39:
734
+ /***/ 38:
714
735
  /***/ (function(module, exports) {
715
736
 
716
737
  module.exports = __webpack_require__("e62d");
@@ -742,45 +763,31 @@ module.exports = require("core-js/modules/es.array.filter.js");
742
763
 
743
764
  /***/ }),
744
765
 
745
- /***/ "1c32":
746
- /***/ (function(module, exports) {
766
+ /***/ "1b11":
767
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
768
+
769
+ "use strict";
770
+ /* 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");
771
+ /* 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__);
772
+ /* unused harmony reexport * */
747
773
 
748
- module.exports = require("core-js/modules/es.string.search.js");
749
774
 
750
775
  /***/ }),
751
776
 
752
- /***/ "1f1a":
753
- /***/ (function(module, exports, __webpack_require__) {
777
+ /***/ "1c32":
778
+ /***/ (function(module, exports) {
754
779
 
755
- // extracted by mini-css-extract-plugin
780
+ module.exports = require("core-js/modules/es.string.search.js");
756
781
 
757
782
  /***/ }),
758
783
 
759
- /***/ "21d1":
784
+ /***/ "1f1a":
760
785
  /***/ (function(module, exports, __webpack_require__) {
761
786
 
762
787
  // extracted by mini-css-extract-plugin
763
788
 
764
789
  /***/ }),
765
790
 
766
- /***/ "233b":
767
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
768
-
769
- "use strict";
770
- /* 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");
771
- /* 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__);
772
- /* unused harmony reexport * */
773
-
774
-
775
- /***/ }),
776
-
777
- /***/ "2439":
778
- /***/ (function(module, exports) {
779
-
780
- module.exports = require("core-js/modules/es.array.push.js");
781
-
782
- /***/ }),
783
-
784
791
  /***/ "2a5e":
785
792
  /***/ (function(module, exports, __webpack_require__) {
786
793
 
@@ -914,17 +921,6 @@ module.exports = require("core-js/modules/es.symbol.iterator.js");
914
921
 
915
922
  module.exports = require("core-js/modules/es.regexp.to-string.js");
916
923
 
917
- /***/ }),
918
-
919
- /***/ "318c":
920
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
921
-
922
- "use strict";
923
- /* 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");
924
- /* 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__);
925
- /* unused harmony reexport * */
926
-
927
-
928
924
  /***/ }),
929
925
 
930
926
  /***/ "3d2d":
@@ -1014,7 +1010,7 @@ module.exports =
1014
1010
  /******/
1015
1011
  /******/
1016
1012
  /******/ // Load entry module and return exports
1017
- /******/ return __webpack_require__(__webpack_require__.s = 116);
1013
+ /******/ return __webpack_require__(__webpack_require__.s = 94);
1018
1014
  /******/ })
1019
1015
  /************************************************************************/
1020
1016
  /******/ ({
@@ -1121,7 +1117,7 @@ function normalizeComponent (
1121
1117
 
1122
1118
  /***/ }),
1123
1119
 
1124
- /***/ 116:
1120
+ /***/ 94:
1125
1121
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1126
1122
 
1127
1123
  "use strict";
@@ -1233,8 +1229,6 @@ var _resizeObserverPolyfill = __webpack_require__("a1cc");
1233
1229
 
1234
1230
  var _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);
1235
1231
 
1236
- var _throttleDebounce = __webpack_require__("831f");
1237
-
1238
1232
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1239
1233
 
1240
1234
  var isServer = typeof window === 'undefined';
@@ -1269,7 +1263,7 @@ var addResizeListener = exports.addResizeListener = function addResizeListener(e
1269
1263
  if (isServer) return;
1270
1264
  if (!element.__resizeListeners__) {
1271
1265
  element.__resizeListeners__ = [];
1272
- element.__ro__ = new _resizeObserverPolyfill2.default((0, _throttleDebounce.debounce)(16, resizeHandler));
1266
+ element.__ro__ = new _resizeObserverPolyfill2.default(resizeHandler);
1273
1267
  element.__ro__.observe(element);
1274
1268
  }
1275
1269
  element.__resizeListeners__.push(fn);
@@ -1790,7 +1784,7 @@ module.exports =
1790
1784
  /******/
1791
1785
  /******/
1792
1786
  /******/ // Load entry module and return exports
1793
- /******/ return __webpack_require__(__webpack_require__.s = 62);
1787
+ /******/ return __webpack_require__(__webpack_require__.s = 61);
1794
1788
  /******/ })
1795
1789
  /************************************************************************/
1796
1790
  /******/ ({
@@ -1925,7 +1919,7 @@ module.exports = __webpack_require__("4010");
1925
1919
 
1926
1920
  /***/ }),
1927
1921
 
1928
- /***/ 19:
1922
+ /***/ 17:
1929
1923
  /***/ (function(module, exports) {
1930
1924
 
1931
1925
  module.exports = __webpack_require__("7435");
@@ -1953,14 +1947,14 @@ module.exports = __webpack_require__("8122");
1953
1947
 
1954
1948
  /***/ }),
1955
1949
 
1956
- /***/ 32:
1950
+ /***/ 31:
1957
1951
  /***/ (function(module, exports) {
1958
1952
 
1959
1953
  module.exports = __webpack_require__("2a5e");
1960
1954
 
1961
1955
  /***/ }),
1962
1956
 
1963
- /***/ 34:
1957
+ /***/ 33:
1964
1958
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1965
1959
 
1966
1960
  "use strict";
@@ -2211,7 +2205,7 @@ component.options.__file = "packages/select/src/option.vue"
2211
2205
 
2212
2206
  /***/ }),
2213
2207
 
2214
- /***/ 38:
2208
+ /***/ 37:
2215
2209
  /***/ (function(module, exports) {
2216
2210
 
2217
2211
  module.exports = __webpack_require__("8bbc");
@@ -2239,7 +2233,7 @@ module.exports = __webpack_require__("6b7c");
2239
2233
 
2240
2234
  /***/ }),
2241
2235
 
2242
- /***/ 62:
2236
+ /***/ 61:
2243
2237
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2244
2238
 
2245
2239
  "use strict";
@@ -2405,7 +2399,7 @@ var render = function() {
2405
2399
  return null
2406
2400
  }
2407
2401
  $event.preventDefault()
2408
- _vm.handleNavigate("next")
2402
+ _vm.navigateOptions("next")
2409
2403
  },
2410
2404
  function($event) {
2411
2405
  if (
@@ -2418,7 +2412,7 @@ var render = function() {
2418
2412
  return null
2419
2413
  }
2420
2414
  $event.preventDefault()
2421
- _vm.handleNavigate("prev")
2415
+ _vm.navigateOptions("prev")
2422
2416
  },
2423
2417
  function($event) {
2424
2418
  if (
@@ -2511,15 +2505,11 @@ var render = function() {
2511
2505
  "validate-event": false,
2512
2506
  tabindex: _vm.multiple && _vm.filterable ? "-1" : null
2513
2507
  },
2514
- on: {
2515
- focus: _vm.handleFocus,
2516
- blur: _vm.handleBlur,
2517
- input: _vm.debouncedOnInputChange,
2518
- compositionstart: _vm.handleComposition,
2519
- compositionupdate: _vm.handleComposition,
2520
- compositionend: _vm.handleComposition
2521
- },
2508
+ on: { focus: _vm.handleFocus, blur: _vm.handleBlur },
2522
2509
  nativeOn: {
2510
+ keyup: function($event) {
2511
+ return _vm.debouncedOnInputChange($event)
2512
+ },
2523
2513
  keydown: [
2524
2514
  function($event) {
2525
2515
  if (
@@ -2533,7 +2523,7 @@ var render = function() {
2533
2523
  }
2534
2524
  $event.stopPropagation()
2535
2525
  $event.preventDefault()
2536
- _vm.handleNavigate("next")
2526
+ _vm.navigateOptions("next")
2537
2527
  },
2538
2528
  function($event) {
2539
2529
  if (
@@ -2547,7 +2537,7 @@ var render = function() {
2547
2537
  }
2548
2538
  $event.stopPropagation()
2549
2539
  $event.preventDefault()
2550
- _vm.handleNavigate("prev")
2540
+ _vm.navigateOptions("prev")
2551
2541
  },
2552
2542
  function($event) {
2553
2543
  if (
@@ -2583,6 +2573,9 @@ var render = function() {
2583
2573
  _vm.visible = false
2584
2574
  }
2585
2575
  ],
2576
+ paste: function($event) {
2577
+ return _vm.debouncedOnInputChange($event)
2578
+ },
2586
2579
  mouseenter: function($event) {
2587
2580
  _vm.inputHovering = true
2588
2581
  },
@@ -2868,10 +2861,10 @@ if (false) { var api; }
2868
2861
  component.options.__file = "packages/select/src/select-dropdown.vue"
2869
2862
  /* harmony default export */ var select_dropdown = (component.exports);
2870
2863
  // EXTERNAL MODULE: ./packages/select/src/option.vue + 4 modules
2871
- var src_option = __webpack_require__(34);
2864
+ var src_option = __webpack_require__(33);
2872
2865
 
2873
2866
  // EXTERNAL MODULE: external "element-ui/lib/tag"
2874
- var tag_ = __webpack_require__(38);
2867
+ var tag_ = __webpack_require__(37);
2875
2868
  var tag_default = /*#__PURE__*/__webpack_require__.n(tag_);
2876
2869
 
2877
2870
  // EXTERNAL MODULE: external "element-ui/lib/scrollbar"
@@ -2879,7 +2872,7 @@ var scrollbar_ = __webpack_require__(15);
2879
2872
  var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_);
2880
2873
 
2881
2874
  // EXTERNAL MODULE: external "throttle-debounce/debounce"
2882
- var debounce_ = __webpack_require__(19);
2875
+ var debounce_ = __webpack_require__(17);
2883
2876
  var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
2884
2877
 
2885
2878
  // EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside"
@@ -2890,7 +2883,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
2890
2883
  var resize_event_ = __webpack_require__(16);
2891
2884
 
2892
2885
  // EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view"
2893
- var scroll_into_view_ = __webpack_require__(32);
2886
+ var scroll_into_view_ = __webpack_require__(31);
2894
2887
  var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_);
2895
2888
 
2896
2889
  // EXTERNAL MODULE: external "element-ui/lib/utils/util"
@@ -3099,8 +3092,6 @@ var shared_ = __webpack_require__(21);
3099
3092
  //
3100
3093
  //
3101
3094
  //
3102
- //
3103
- //
3104
3095
 
3105
3096
 
3106
3097
 
@@ -3398,11 +3389,6 @@ var shared_ = __webpack_require__(21);
3398
3389
  },
3399
3390
 
3400
3391
  methods: {
3401
- handleNavigate: function handleNavigate(direction) {
3402
- if (this.isOnComposition) return;
3403
-
3404
- this.navigateOptions(direction);
3405
- },
3406
3392
  handleComposition: function handleComposition(event) {
3407
3393
  var _this5 = this;
3408
3394
 
@@ -3488,7 +3474,7 @@ var shared_ = __webpack_require__(21);
3488
3474
  }
3489
3475
  }
3490
3476
  if (option) return option;
3491
- var label = !isObject && !isNull && !isUndefined ? String(value) : '';
3477
+ var label = !isObject && !isNull && !isUndefined ? value : '';
3492
3478
  var newOption = {
3493
3479
  value: value,
3494
3480
  currentLabel: label
@@ -3528,10 +3514,10 @@ var shared_ = __webpack_require__(21);
3528
3514
  handleFocus: function handleFocus(event) {
3529
3515
  if (!this.softFocus) {
3530
3516
  if (this.automaticDropdown || this.filterable) {
3531
- if (this.filterable && !this.visible) {
3517
+ this.visible = true;
3518
+ if (this.filterable) {
3532
3519
  this.menuVisibleOnFocus = true;
3533
3520
  }
3534
- this.visible = true;
3535
3521
  }
3536
3522
  this.$emit('focus', event);
3537
3523
  } else {
@@ -3605,9 +3591,8 @@ var shared_ = __webpack_require__(21);
3605
3591
  return item.tagName === 'INPUT';
3606
3592
  })[0];
3607
3593
  var tags = _this10.$refs.tags;
3608
- var tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
3609
3594
  var sizeInMap = _this10.initialInputHeight || 40;
3610
- input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tagsHeight + (tagsHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
3595
+ input.style.height = _this10.selected.length === 0 ? sizeInMap + 'px' : Math.max(tags ? tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap) + 'px';
3611
3596
  if (_this10.visible && _this10.emptyText !== false) {
3612
3597
  _this10.broadcast('ElSelectDropdown', 'updatePopper');
3613
3598
  }
@@ -4128,7 +4113,7 @@ exports.PopupManager = _popupManager2.default;
4128
4113
 
4129
4114
  /***/ }),
4130
4115
 
4131
- /***/ "5766":
4116
+ /***/ "58e9":
4132
4117
  /***/ (function(module, exports, __webpack_require__) {
4133
4118
 
4134
4119
  // extracted by mini-css-extract-plugin
@@ -4246,7 +4231,7 @@ function addClass(el, cls) {
4246
4231
  }
4247
4232
  }
4248
4233
  if (!el.classList) {
4249
- el.setAttribute('class', curClass);
4234
+ el.className = curClass;
4250
4235
  }
4251
4236
  };
4252
4237
 
@@ -4267,7 +4252,7 @@ function removeClass(el, cls) {
4267
4252
  }
4268
4253
  }
4269
4254
  if (!el.classList) {
4270
- el.setAttribute('class', trim(curClass));
4255
+ el.className = trim(curClass);
4271
4256
  }
4272
4257
  };
4273
4258
 
@@ -4331,10 +4316,10 @@ function setStyle(element, styleName, value) {
4331
4316
  var isScroll = exports.isScroll = function isScroll(el, vertical) {
4332
4317
  if (isServer) return;
4333
4318
 
4334
- var determinedDirection = vertical !== null && vertical !== undefined;
4319
+ var determinedDirection = vertical !== null || vertical !== undefined;
4335
4320
  var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow');
4336
4321
 
4337
- return overflow.match(/(scroll|auto|overlay)/);
4322
+ return overflow.match(/(scroll|auto)/);
4338
4323
  };
4339
4324
 
4340
4325
  var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) {
@@ -4376,21 +4361,10 @@ var isInContainer = exports.isInContainer = function isInContainer(el, container
4376
4361
 
4377
4362
  /***/ }),
4378
4363
 
4379
- /***/ "5973":
4380
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4381
-
4382
- "use strict";
4383
- /* 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_d2d4725e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f1ae");
4384
- /* 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_d2d4725e_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_d2d4725e_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
4385
- /* unused harmony reexport * */
4386
-
4387
-
4388
- /***/ }),
4389
-
4390
- /***/ "5a3b":
4391
- /***/ (function(module, exports) {
4364
+ /***/ "5ca3":
4365
+ /***/ (function(module, exports, __webpack_require__) {
4392
4366
 
4393
- module.exports = require("core-js/modules/es.regexp.test.js");
4367
+ // extracted by mini-css-extract-plugin
4394
4368
 
4395
4369
  /***/ }),
4396
4370
 
@@ -5759,7 +5733,7 @@ module.exports =
5759
5733
  /******/
5760
5734
  /******/
5761
5735
  /******/ // Load entry module and return exports
5762
- /******/ return __webpack_require__(__webpack_require__.s = 89);
5736
+ /******/ return __webpack_require__(__webpack_require__.s = 79);
5763
5737
  /******/ })
5764
5738
  /************************************************************************/
5765
5739
  /******/ ({
@@ -5873,7 +5847,7 @@ module.exports = __webpack_require__("d010");
5873
5847
 
5874
5848
  /***/ }),
5875
5849
 
5876
- /***/ 89:
5850
+ /***/ 79:
5877
5851
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5878
5852
 
5879
5853
  "use strict";
@@ -5952,9 +5926,7 @@ var keyCode = Object.freeze({
5952
5926
  return (this.elFormItem || {}).elFormItemSize;
5953
5927
  },
5954
5928
  _elTag: function _elTag() {
5955
- var tag = (this.$vnode.data || {}).tag;
5956
- if (!tag || tag === 'component') tag = 'div';
5957
- return tag;
5929
+ return (this.$vnode.data || {}).tag || 'div';
5958
5930
  },
5959
5931
  radioGroupSize: function radioGroupSize() {
5960
5932
  return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
@@ -6155,7 +6127,7 @@ module.exports =
6155
6127
  /******/
6156
6128
  /******/
6157
6129
  /******/ // Load entry module and return exports
6158
- /******/ return __webpack_require__(__webpack_require__.s = 78);
6130
+ /******/ return __webpack_require__(__webpack_require__.s = 74);
6159
6131
  /******/ })
6160
6132
  /************************************************************************/
6161
6133
  /******/ ({
@@ -6290,7 +6262,7 @@ module.exports = __webpack_require__("8bbf");
6290
6262
 
6291
6263
  /***/ }),
6292
6264
 
6293
- /***/ 78:
6265
+ /***/ 74:
6294
6266
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6295
6267
 
6296
6268
  "use strict";
@@ -6714,20 +6686,6 @@ exports.default = {
6714
6686
 
6715
6687
  /***/ }),
6716
6688
 
6717
- /***/ "712c":
6718
- /***/ (function(module, exports) {
6719
-
6720
- module.exports = require("core-js/modules/web.url-search-params.js");
6721
-
6722
- /***/ }),
6723
-
6724
- /***/ "722b":
6725
- /***/ (function(module, exports) {
6726
-
6727
- module.exports = require("core-js/modules/es.array.unscopables.flat.js");
6728
-
6729
- /***/ }),
6730
-
6731
6689
  /***/ "7435":
6732
6690
  /***/ (function(module, exports) {
6733
6691
 
@@ -6742,13 +6700,6 @@ module.exports = require("throttle-debounce/debounce");
6742
6700
 
6743
6701
  /***/ }),
6744
6702
 
6745
- /***/ "7a9a":
6746
- /***/ (function(module, exports, __webpack_require__) {
6747
-
6748
- // extracted by mini-css-extract-plugin
6749
-
6750
- /***/ }),
6751
-
6752
6703
  /***/ "7b31":
6753
6704
  /***/ (function(module, exports, __webpack_require__) {
6754
6705
 
@@ -6836,7 +6787,7 @@ module.exports =
6836
6787
  /******/
6837
6788
  /******/
6838
6789
  /******/ // Load entry module and return exports
6839
- /******/ return __webpack_require__(__webpack_require__.s = 117);
6790
+ /******/ return __webpack_require__(__webpack_require__.s = 102);
6840
6791
  /******/ })
6841
6792
  /************************************************************************/
6842
6793
  /******/ ({
@@ -6943,7 +6894,7 @@ function normalizeComponent (
6943
6894
 
6944
6895
  /***/ }),
6945
6896
 
6946
- /***/ 117:
6897
+ /***/ 102:
6947
6898
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6948
6899
 
6949
6900
  "use strict";
@@ -7146,7 +7097,7 @@ module.exports =
7146
7097
  /******/
7147
7098
  /******/
7148
7099
  /******/ // Load entry module and return exports
7149
- /******/ return __webpack_require__(__webpack_require__.s = 93);
7100
+ /******/ return __webpack_require__(__webpack_require__.s = 86);
7150
7101
  /******/ })
7151
7102
  /************************************************************************/
7152
7103
  /******/ ({
@@ -7260,7 +7211,7 @@ module.exports = __webpack_require__("d010");
7260
7211
 
7261
7212
  /***/ }),
7262
7213
 
7263
- /***/ 93:
7214
+ /***/ 86:
7264
7215
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7265
7216
 
7266
7217
  "use strict";
@@ -7652,13 +7603,6 @@ function objToArray(obj) {
7652
7603
 
7653
7604
  /***/ }),
7654
7605
 
7655
- /***/ "831f":
7656
- /***/ (function(module, exports) {
7657
-
7658
- module.exports = require("throttle-debounce");
7659
-
7660
- /***/ }),
7661
-
7662
7606
  /***/ "8535":
7663
7607
  /***/ (function(module, exports) {
7664
7608
 
@@ -7760,7 +7704,7 @@ module.exports =
7760
7704
  /******/
7761
7705
  /******/
7762
7706
  /******/ // Load entry module and return exports
7763
- /******/ return __webpack_require__(__webpack_require__.s = 73);
7707
+ /******/ return __webpack_require__(__webpack_require__.s = 68);
7764
7708
  /******/ })
7765
7709
  /************************************************************************/
7766
7710
  /******/ ({
@@ -7881,21 +7825,14 @@ module.exports = __webpack_require__("5924");
7881
7825
 
7882
7826
  /***/ }),
7883
7827
 
7884
- /***/ 42:
7828
+ /***/ 41:
7885
7829
  /***/ (function(module, exports) {
7886
7830
 
7887
7831
  module.exports = __webpack_require__("c56a");
7888
7832
 
7889
7833
  /***/ }),
7890
7834
 
7891
- /***/ 7:
7892
- /***/ (function(module, exports) {
7893
-
7894
- module.exports = __webpack_require__("8bbf");
7895
-
7896
- /***/ }),
7897
-
7898
- /***/ 73:
7835
+ /***/ 68:
7899
7836
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7900
7837
 
7901
7838
  "use strict";
@@ -8043,7 +7980,7 @@ var dom_ = __webpack_require__(2);
8043
7980
  var popup_ = __webpack_require__(13);
8044
7981
 
8045
7982
  // EXTERNAL MODULE: external "element-ui/lib/utils/after-leave"
8046
- var after_leave_ = __webpack_require__(42);
7983
+ var after_leave_ = __webpack_require__(41);
8047
7984
  var after_leave_default = /*#__PURE__*/__webpack_require__.n(after_leave_);
8048
7985
 
8049
7986
  // CONCATENATED MODULE: ./packages/loading/src/directive.js
@@ -8107,7 +8044,7 @@ loadingDirective.install = function (Vue) {
8107
8044
  el.mask.style[property] = el.maskStyle[property];
8108
8045
  });
8109
8046
 
8110
- if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed' && el.originalPosition !== 'sticky') {
8047
+ if (el.originalPosition !== 'absolute' && el.originalPosition !== 'fixed') {
8111
8048
  Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
8112
8049
  }
8113
8050
  if (binding.modifiers.fullscreen && binding.modifiers.lock) {
@@ -8265,7 +8202,7 @@ var src_Loading = function Loading() {
8265
8202
  });
8266
8203
 
8267
8204
  src_addStyle(options, parent, instance);
8268
- if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed' && instance.originalPosition !== 'sticky') {
8205
+ if (instance.originalPosition !== 'absolute' && instance.originalPosition !== 'fixed') {
8269
8206
  Object(dom_["addClass"])(parent, 'el-loading-parent--relative');
8270
8207
  }
8271
8208
  if (options.fullscreen && options.lock) {
@@ -8298,6 +8235,13 @@ var src_Loading = function Loading() {
8298
8235
 
8299
8236
  /***/ }),
8300
8237
 
8238
+ /***/ 7:
8239
+ /***/ (function(module, exports) {
8240
+
8241
+ module.exports = __webpack_require__("8bbf");
8242
+
8243
+ /***/ }),
8244
+
8301
8245
  /***/ 9:
8302
8246
  /***/ (function(module, exports) {
8303
8247
 
@@ -8396,7 +8340,7 @@ module.exports =
8396
8340
  /******/
8397
8341
  /******/
8398
8342
  /******/ // Load entry module and return exports
8399
- /******/ return __webpack_require__(__webpack_require__.s = 132);
8343
+ /******/ return __webpack_require__(__webpack_require__.s = 124);
8400
8344
  /******/ })
8401
8345
  /************************************************************************/
8402
8346
  /******/ ({
@@ -8503,7 +8447,7 @@ function normalizeComponent (
8503
8447
 
8504
8448
  /***/ }),
8505
8449
 
8506
- /***/ 132:
8450
+ /***/ 124:
8507
8451
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8508
8452
 
8509
8453
  "use strict";
@@ -8625,14 +8569,10 @@ module.exports = require("vue");
8625
8569
 
8626
8570
  /***/ }),
8627
8571
 
8628
- /***/ "9418":
8629
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
8630
-
8631
- "use strict";
8632
- /* 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_92af3352_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0654");
8633
- /* 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_92af3352_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_92af3352_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
8634
- /* unused harmony reexport * */
8572
+ /***/ "940c":
8573
+ /***/ (function(module, exports, __webpack_require__) {
8635
8574
 
8575
+ // extracted by mini-css-extract-plugin
8636
8576
 
8637
8577
  /***/ }),
8638
8578
 
@@ -8725,6 +8665,17 @@ var RE_NARGS = /(%|)\{([0-9a-zA-Z_]+)\}/g;
8725
8665
  * https://github.com/Matt-Esch/string-template/index.js
8726
8666
  */
8727
8667
 
8668
+ /***/ }),
8669
+
8670
+ /***/ "9e82":
8671
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
8672
+
8673
+ "use strict";
8674
+ /* 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");
8675
+ /* 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__);
8676
+ /* unused harmony reexport * */
8677
+
8678
+
8728
8679
  /***/ }),
8729
8680
 
8730
8681
  /***/ "a1cc":
@@ -8821,7 +8772,7 @@ module.exports =
8821
8772
  /******/
8822
8773
  /******/
8823
8774
  /******/ // Load entry module and return exports
8824
- /******/ return __webpack_require__(__webpack_require__.s = 103);
8775
+ /******/ return __webpack_require__(__webpack_require__.s = 109);
8825
8776
  /******/ })
8826
8777
  /************************************************************************/
8827
8778
  /******/ ({
@@ -8928,7 +8879,7 @@ function normalizeComponent (
8928
8879
 
8929
8880
  /***/ }),
8930
8881
 
8931
- /***/ 103:
8882
+ /***/ 109:
8932
8883
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8933
8884
 
8934
8885
  "use strict";
@@ -9070,13 +9021,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
9070
9021
 
9071
9022
  /***/ }),
9072
9023
 
9073
- /***/ "a9ee":
9074
- /***/ (function(module, exports) {
9075
-
9076
- module.exports = require("core-js/modules/es.json.stringify.js");
9077
-
9078
- /***/ }),
9079
-
9080
9024
  /***/ "aaa5":
9081
9025
  /***/ (function(module, exports, __webpack_require__) {
9082
9026
 
@@ -9096,6 +9040,17 @@ module.exports = require("core-js/modules/es.json.stringify.js");
9096
9040
 
9097
9041
  module.exports = require("css-element-queries/src/ResizeSensor");
9098
9042
 
9043
+ /***/ }),
9044
+
9045
+ /***/ "b191":
9046
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9047
+
9048
+ "use strict";
9049
+ /* 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");
9050
+ /* 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__);
9051
+ /* unused harmony reexport * */
9052
+
9053
+
9099
9054
  /***/ }),
9100
9055
 
9101
9056
  /***/ "b2d6":
@@ -9222,9 +9177,6 @@ exports.default = {
9222
9177
  popconfirm: {
9223
9178
  confirmButtonText: 'Yes',
9224
9179
  cancelButtonText: 'No'
9225
- },
9226
- empty: {
9227
- description: 'No Data'
9228
9180
  }
9229
9181
  }
9230
9182
  };
@@ -9238,14 +9190,10 @@ exports.default = {
9238
9190
 
9239
9191
  /***/ }),
9240
9192
 
9241
- /***/ "b64b":
9242
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
9243
-
9244
- "use strict";
9245
- /* 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");
9246
- /* 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__);
9247
- /* unused harmony reexport * */
9193
+ /***/ "b94f":
9194
+ /***/ (function(module, exports) {
9248
9195
 
9196
+ module.exports = require("core-js/modules/web.url.js");
9249
9197
 
9250
9198
  /***/ }),
9251
9199
 
@@ -9254,6 +9202,17 @@ exports.default = {
9254
9202
 
9255
9203
  // extracted by mini-css-extract-plugin
9256
9204
 
9205
+ /***/ }),
9206
+
9207
+ /***/ "c033":
9208
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9209
+
9210
+ "use strict";
9211
+ /* 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");
9212
+ /* 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__);
9213
+ /* unused harmony reexport * */
9214
+
9215
+
9257
9216
  /***/ }),
9258
9217
 
9259
9218
  /***/ "c2cc":
@@ -9343,12 +9302,12 @@ module.exports =
9343
9302
  /******/
9344
9303
  /******/
9345
9304
  /******/ // Load entry module and return exports
9346
- /******/ return __webpack_require__(__webpack_require__.s = 140);
9305
+ /******/ return __webpack_require__(__webpack_require__.s = 134);
9347
9306
  /******/ })
9348
9307
  /************************************************************************/
9349
9308
  /******/ ({
9350
9309
 
9351
- /***/ 140:
9310
+ /***/ 134:
9352
9311
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9353
9312
 
9354
9313
  "use strict";
@@ -9438,6 +9397,13 @@ col.install = function (Vue) {
9438
9397
 
9439
9398
  /***/ }),
9440
9399
 
9400
+ /***/ "c4c7":
9401
+ /***/ (function(module, exports, __webpack_require__) {
9402
+
9403
+ // extracted by mini-css-extract-plugin
9404
+
9405
+ /***/ }),
9406
+
9441
9407
  /***/ "c56a":
9442
9408
  /***/ (function(module, exports, __webpack_require__) {
9443
9409
 
@@ -9567,7 +9533,7 @@ module.exports =
9567
9533
  /******/
9568
9534
  /******/
9569
9535
  /******/ // Load entry module and return exports
9570
- /******/ return __webpack_require__(__webpack_require__.s = 119);
9536
+ /******/ return __webpack_require__(__webpack_require__.s = 113);
9571
9537
  /******/ })
9572
9538
  /************************************************************************/
9573
9539
  /******/ ({
@@ -9674,7 +9640,7 @@ function normalizeComponent (
9674
9640
 
9675
9641
  /***/ }),
9676
9642
 
9677
- /***/ 119:
9643
+ /***/ 113:
9678
9644
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
9679
9645
 
9680
9646
  "use strict";
@@ -9853,13 +9819,6 @@ module.exports = require("core-js/modules/es.function.name.js");
9853
9819
 
9854
9820
  /***/ }),
9855
9821
 
9856
- /***/ "dc50":
9857
- /***/ (function(module, exports) {
9858
-
9859
- module.exports = require("core-js/modules/es.error.cause.js");
9860
-
9861
- /***/ }),
9862
-
9863
9822
  /***/ "dcdc":
9864
9823
  /***/ (function(module, exports, __webpack_require__) {
9865
9824
 
@@ -9947,7 +9906,7 @@ module.exports =
9947
9906
  /******/
9948
9907
  /******/
9949
9908
  /******/ // Load entry module and return exports
9950
- /******/ return __webpack_require__(__webpack_require__.s = 91);
9909
+ /******/ return __webpack_require__(__webpack_require__.s = 83);
9951
9910
  /******/ })
9952
9911
  /************************************************************************/
9953
9912
  /******/ ({
@@ -10061,7 +10020,7 @@ module.exports = __webpack_require__("d010");
10061
10020
 
10062
10021
  /***/ }),
10063
10022
 
10064
- /***/ 91:
10023
+ /***/ 83:
10065
10024
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10066
10025
 
10067
10026
  "use strict";
@@ -10632,7 +10591,7 @@ module.exports =
10632
10591
  /******/
10633
10592
  /******/
10634
10593
  /******/ // Load entry module and return exports
10635
- /******/ return __webpack_require__(__webpack_require__.s = 54);
10594
+ /******/ return __webpack_require__(__webpack_require__.s = 53);
10636
10595
  /******/ })
10637
10596
  /************************************************************************/
10638
10597
  /******/ ({
@@ -10746,7 +10705,7 @@ module.exports = __webpack_require__("8122");
10746
10705
 
10747
10706
  /***/ }),
10748
10707
 
10749
- /***/ 34:
10708
+ /***/ 33:
10750
10709
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
10751
10710
 
10752
10711
  "use strict";
@@ -11004,12 +10963,12 @@ module.exports = __webpack_require__("d010");
11004
10963
 
11005
10964
  /***/ }),
11006
10965
 
11007
- /***/ 54:
10966
+ /***/ 53:
11008
10967
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11009
10968
 
11010
10969
  "use strict";
11011
10970
  __webpack_require__.r(__webpack_exports__);
11012
- /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(34);
10971
+ /* harmony import */ var _select_src_option__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33);
11013
10972
 
11014
10973
 
11015
10974
  /* istanbul ignore next */
@@ -11342,7 +11301,7 @@ module.exports =
11342
11301
  /******/
11343
11302
  /******/
11344
11303
  /******/ // Load entry module and return exports
11345
- /******/ return __webpack_require__(__webpack_require__.s = 96);
11304
+ /******/ return __webpack_require__(__webpack_require__.s = 97);
11346
11305
  /******/ })
11347
11306
  /************************************************************************/
11348
11307
  /******/ ({
@@ -11449,7 +11408,7 @@ function normalizeComponent (
11449
11408
 
11450
11409
  /***/ }),
11451
11410
 
11452
- /***/ 96:
11411
+ /***/ 97:
11453
11412
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11454
11413
 
11455
11414
  "use strict";
@@ -11563,7 +11522,7 @@ render._withStripped = true
11563
11522
  return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
11564
11523
  },
11565
11524
  buttonDisabled: function buttonDisabled() {
11566
- return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled;
11525
+ return this.disabled || (this.elForm || {}).disabled;
11567
11526
  }
11568
11527
  },
11569
11528
 
@@ -11741,22 +11700,12 @@ exports.default = {
11741
11700
  popconfirm: {
11742
11701
  confirmButtonText: '确定',
11743
11702
  cancelButtonText: '取消'
11744
- },
11745
- empty: {
11746
- description: '暂无数据'
11747
11703
  }
11748
11704
  }
11749
11705
  };
11750
11706
 
11751
11707
  /***/ }),
11752
11708
 
11753
- /***/ "f1ae":
11754
- /***/ (function(module, exports, __webpack_require__) {
11755
-
11756
- // extracted by mini-css-extract-plugin
11757
-
11758
- /***/ }),
11759
-
11760
11709
  /***/ "f3ad":
11761
11710
  /***/ (function(module, exports, __webpack_require__) {
11762
11711
 
@@ -11844,7 +11793,7 @@ module.exports =
11844
11793
  /******/
11845
11794
  /******/
11846
11795
  /******/ // Load entry module and return exports
11847
- /******/ return __webpack_require__(__webpack_require__.s = 75);
11796
+ /******/ return __webpack_require__(__webpack_require__.s = 76);
11848
11797
  /******/ })
11849
11798
  /************************************************************************/
11850
11799
  /******/ ({
@@ -11972,7 +11921,7 @@ module.exports = __webpack_require__("d010");
11972
11921
 
11973
11922
  /***/ }),
11974
11923
 
11975
- /***/ 75:
11924
+ /***/ 76:
11976
11925
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
11977
11926
 
11978
11927
  "use strict";
@@ -12614,18 +12563,15 @@ var shared_ = __webpack_require__(21);
12614
12563
  this.focused = true;
12615
12564
  this.$emit('focus', event);
12616
12565
  },
12617
- handleCompositionStart: function handleCompositionStart(event) {
12618
- this.$emit('compositionstart', event);
12566
+ handleCompositionStart: function handleCompositionStart() {
12619
12567
  this.isComposing = true;
12620
12568
  },
12621
12569
  handleCompositionUpdate: function handleCompositionUpdate(event) {
12622
- this.$emit('compositionupdate', event);
12623
12570
  var text = event.target.value;
12624
12571
  var lastCharacter = text[text.length - 1] || '';
12625
12572
  this.isComposing = !Object(shared_["isKorean"])(lastCharacter);
12626
12573
  },
12627
12574
  handleCompositionEnd: function handleCompositionEnd(event) {
12628
- this.$emit('compositionend', event);
12629
12575
  if (this.isComposing) {
12630
12576
  this.isComposing = false;
12631
12577
  this.handleInput(event);
@@ -12847,7 +12793,7 @@ module.exports =
12847
12793
  /******/
12848
12794
  /******/
12849
12795
  /******/ // Load entry module and return exports
12850
- /******/ return __webpack_require__(__webpack_require__.s = 88);
12796
+ /******/ return __webpack_require__(__webpack_require__.s = 116);
12851
12797
  /******/ })
12852
12798
  /************************************************************************/
12853
12799
  /******/ ({
@@ -12954,14 +12900,7 @@ function normalizeComponent (
12954
12900
 
12955
12901
  /***/ }),
12956
12902
 
12957
- /***/ 4:
12958
- /***/ (function(module, exports) {
12959
-
12960
- module.exports = __webpack_require__("d010");
12961
-
12962
- /***/ }),
12963
-
12964
- /***/ 88:
12903
+ /***/ 116:
12965
12904
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
12966
12905
 
12967
12906
  "use strict";
@@ -13031,8 +12970,7 @@ var render = function() {
13031
12970
  "aria-hidden": "true",
13032
12971
  name: _vm.name,
13033
12972
  disabled: _vm.isDisabled,
13034
- tabindex: "-1",
13035
- autocomplete: "off"
12973
+ tabindex: "-1"
13036
12974
  },
13037
12975
  domProps: {
13038
12976
  value: _vm.label,
@@ -13129,7 +13067,6 @@ var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_);
13129
13067
  //
13130
13068
  //
13131
13069
  //
13132
- //
13133
13070
 
13134
13071
 
13135
13072
 
@@ -13256,6 +13193,13 @@ src_radio.install = function (Vue) {
13256
13193
 
13257
13194
  /* harmony default export */ var packages_radio = __webpack_exports__["default"] = (src_radio);
13258
13195
 
13196
+ /***/ }),
13197
+
13198
+ /***/ 4:
13199
+ /***/ (function(module, exports) {
13200
+
13201
+ module.exports = __webpack_require__("d010");
13202
+
13259
13203
  /***/ })
13260
13204
 
13261
13205
  /******/ });
@@ -13311,478 +13255,12 @@ if (typeof window !== 'undefined') {
13311
13255
  // Indicate to webpack that this file can be concatenated
13312
13256
  /* harmony default export */ var setPublicPath = (null);
13313
13257
 
13314
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-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=d2d4725e&scoped=true&
13315
- var render = function render() {
13316
- var _vm = this,
13317
- _c = _vm._self._c;
13318
- return _c('div', {
13319
- directives: [{
13320
- name: "loading",
13321
- rawName: "v-loading",
13322
- value: _vm.loading,
13323
- expression: "loading"
13324
- }],
13325
- staticClass: "flatmap-container",
13326
- attrs: {
13327
- "element-loading-text": "Loading...",
13328
- "element-loading-spinner": "el-icon-loading",
13329
- "element-loading-background": "rgba(0, 0, 0, 0.3)"
13330
- }
13331
- }, [_c('map-svg-sprite-color'), _c('div', {
13332
- staticStyle: {
13333
- "height": "100%",
13334
- "width": "100%",
13335
- "position": "relative",
13336
- "overflow-y": "none"
13337
- }
13338
- }, [_c('div', {
13339
- ref: "display",
13340
- staticStyle: {
13341
- "height": "100%",
13342
- "width": "100%"
13343
- }
13344
- }), _c('div', {
13345
- staticClass: "beta-popovers"
13346
- }, [_c('div', [_c('el-popover', {
13347
- ref: "warningPopover",
13348
- attrs: {
13349
- "content": _vm.isLegacy ? 'This is a legacy map, you may view the latest map instead.' : _vm.warningMessage,
13350
- "placement": "right",
13351
- "appendToBody": false,
13352
- "trigger": "manual",
13353
- "popper-class": "warning-popper flatmap-popper right-popper"
13354
- },
13355
- model: {
13356
- value: _vm.hoverVisibilities[6].value,
13357
- callback: function callback($$v) {
13358
- _vm.$set(_vm.hoverVisibilities[6], "value", $$v);
13359
- },
13360
- expression: "hoverVisibilities[6].value"
13361
- }
13362
- }), _vm.displayWarning && _vm.warningMessage ? _c('i', {
13363
- directives: [{
13364
- name: "popover",
13365
- rawName: "v-popover:warningPopover",
13366
- arg: "warningPopover"
13367
- }],
13368
- staticClass: "el-icon-warning warning-icon",
13369
- on: {
13370
- "mouseover": function mouseover($event) {
13371
- return _vm.showToolitip(6);
13372
- },
13373
- "mouseout": function mouseout($event) {
13374
- return _vm.hideToolitip(6);
13375
- }
13376
- }
13377
- }, [_vm.isLegacy ? [_c('span', {
13378
- staticClass: "warning-text"
13379
- }, [_vm._v("Legacy Map")]), _c('div', {
13380
- staticClass: "latest-map-text",
13381
- on: {
13382
- "click": _vm.viewLatestMap
13383
- }
13384
- }, [_vm._v("Click here for the latest map")])] : [_c('span', {
13385
- staticClass: "warning-text"
13386
- }, [_vm._v("Beta")])]], 2) : _vm._e()], 1), _vm.displayLatestChanges ? _c('el-popover', {
13387
- ref: "latestChangesPopover",
13388
- attrs: {
13389
- "content": _vm.latestChangesMessage,
13390
- "placement": "right",
13391
- "appendToBody": false,
13392
- "trigger": "manual",
13393
- "popper-class": "warning-popper flatmap-popper right-popper"
13394
- },
13395
- model: {
13396
- value: _vm.hoverVisibilities[7].value,
13397
- callback: function callback($$v) {
13398
- _vm.$set(_vm.hoverVisibilities[7], "value", $$v);
13399
- },
13400
- expression: "hoverVisibilities[7].value"
13401
- }
13402
- }) : _vm._e(), _vm.displayLatestChanges && _vm.latestChangesMessage ? _c('i', {
13403
- directives: [{
13404
- name: "popover",
13405
- rawName: "v-popover:latestChangesPopover",
13406
- arg: "latestChangesPopover"
13407
- }],
13408
- staticClass: "el-icon-warning latest-changesicon",
13409
- on: {
13410
- "mouseover": function mouseover($event) {
13411
- return _vm.showToolitip(7);
13412
- },
13413
- "mouseout": function mouseout($event) {
13414
- return _vm.hideToolitip(7);
13415
- }
13416
- }
13417
- }, [_c('span', {
13418
- staticClass: "warning-text"
13419
- }, [_vm._v("What's new?")])]) : _vm._e()], 1), _c('div', {
13420
- staticClass: "bottom-right-control"
13421
- }, [_c('el-popover', {
13422
- attrs: {
13423
- "content": "Zoom in",
13424
- "placement": "left",
13425
- "appendToBody": false,
13426
- "trigger": "manual",
13427
- "popper-class": "flatmap-popper left-popper"
13428
- },
13429
- model: {
13430
- value: _vm.hoverVisibilities[0].value,
13431
- callback: function callback($$v) {
13432
- _vm.$set(_vm.hoverVisibilities[0], "value", $$v);
13433
- },
13434
- expression: "hoverVisibilities[0].value"
13435
- }
13436
- }, [_c('map-svg-icon', {
13437
- staticClass: "icon-button zoomIn",
13438
- attrs: {
13439
- "slot": "reference",
13440
- "icon": "zoomIn"
13441
- },
13442
- nativeOn: {
13443
- "click": function click($event) {
13444
- return _vm.zoomIn();
13445
- },
13446
- "mouseover": function mouseover($event) {
13447
- return _vm.showToolitip(0);
13448
- },
13449
- "mouseout": function mouseout($event) {
13450
- return _vm.hideToolitip(0);
13451
- }
13452
- },
13453
- slot: "reference"
13454
- })], 1), _c('el-popover', {
13455
- attrs: {
13456
- "content": "Zoom out",
13457
- "placement": "top-end",
13458
- "appendToBody": false,
13459
- "trigger": "manual",
13460
- "popper-class": "flatmap-popper popper-zoomout"
13461
- },
13462
- model: {
13463
- value: _vm.hoverVisibilities[1].value,
13464
- callback: function callback($$v) {
13465
- _vm.$set(_vm.hoverVisibilities[1], "value", $$v);
13466
- },
13467
- expression: "hoverVisibilities[1].value"
13468
- }
13469
- }, [_c('map-svg-icon', {
13470
- staticClass: "icon-button zoomOut",
13471
- attrs: {
13472
- "slot": "reference",
13473
- "icon": "zoomOut"
13474
- },
13475
- nativeOn: {
13476
- "click": function click($event) {
13477
- return _vm.zoomOut();
13478
- },
13479
- "mouseover": function mouseover($event) {
13480
- return _vm.showToolitip(1);
13481
- },
13482
- "mouseout": function mouseout($event) {
13483
- return _vm.hideToolitip(1);
13484
- }
13485
- },
13486
- slot: "reference"
13487
- })], 1), _c('el-popover', {
13488
- attrs: {
13489
- "content": "Reset",
13490
- "placement": "top",
13491
- "appendToBody": false,
13492
- "trigger": "manual",
13493
- "popper-class": "flatmap-popper"
13494
- },
13495
- model: {
13496
- value: _vm.hoverVisibilities[2].value,
13497
- callback: function callback($$v) {
13498
- _vm.$set(_vm.hoverVisibilities[2], "value", $$v);
13499
- },
13500
- expression: "hoverVisibilities[2].value"
13501
- }
13502
- }, [_c('div', [_vm._v(" Fit to "), _c('br'), _vm._v(" window ")]), _c('map-svg-icon', {
13503
- staticClass: "icon-button fitWindow",
13504
- attrs: {
13505
- "slot": "reference",
13506
- "icon": "fitWindow"
13507
- },
13508
- nativeOn: {
13509
- "click": function click($event) {
13510
- return _vm.resetView();
13511
- },
13512
- "mouseover": function mouseover($event) {
13513
- return _vm.showToolitip(2);
13514
- },
13515
- "mouseout": function mouseout($event) {
13516
- return _vm.hideToolitip(2);
13517
- }
13518
- },
13519
- slot: "reference"
13520
- })], 1)], 1), _c('el-popover', {
13521
- ref: "checkBoxPopover",
13522
- attrs: {
13523
- "content": "Change pathway visibility",
13524
- "placement": "right",
13525
- "appendToBody": false,
13526
- "trigger": "manual",
13527
- "popper-class": "flatmap-popper right-popper"
13528
- },
13529
- model: {
13530
- value: _vm.hoverVisibilities[4].value,
13531
- callback: function callback($$v) {
13532
- _vm.$set(_vm.hoverVisibilities[4], "value", $$v);
13533
- },
13534
- expression: "hoverVisibilities[4].value"
13535
- }
13536
- }), _c('div', {
13537
- staticClass: "pathway-location",
13538
- class: {
13539
- open: _vm.drawerOpen,
13540
- close: !_vm.drawerOpen
13541
- }
13542
- }, [_vm.pathways.length > 0 && _vm.pathControls ? _c('div', {
13543
- directives: [{
13544
- name: "popover",
13545
- rawName: "v-popover:checkBoxPopover",
13546
- arg: "checkBoxPopover"
13547
- }],
13548
- staticClass: "pathway-container"
13549
- }, [_c('svg-legends', {
13550
- staticClass: "svg-legends-container"
13551
- }), _c('el-popover', {
13552
- ref: "markerPopover",
13553
- attrs: {
13554
- "content": "Find these markers for data",
13555
- "placement": "right",
13556
- "appendToBody": false,
13557
- "trigger": "manual",
13558
- "popper-class": "flatmap-popper popper-bump-right right-popper"
13559
- },
13560
- model: {
13561
- value: _vm.hoverVisibilities[5].value,
13562
- callback: function callback($$v) {
13563
- _vm.$set(_vm.hoverVisibilities[5], "value", $$v);
13564
- },
13565
- expression: "hoverVisibilities[5].value"
13566
- }
13567
- }), _c('div', {
13568
- directives: [{
13569
- name: "show",
13570
- rawName: "v-show",
13571
- value: _vm.hoverVisibilities[5].value,
13572
- expression: "hoverVisibilities[5].value"
13573
- }, {
13574
- name: "popover",
13575
- rawName: "v-popover:markerPopover",
13576
- arg: "markerPopover"
13577
- }],
13578
- staticClass: "flatmap-marker-help",
13579
- domProps: {
13580
- "innerHTML": _vm._s(_vm.flatmapMarker)
13581
- }
13582
- }), _c('el-row', [_c('el-col', {
13583
- attrs: {
13584
- "span": 12
13585
- }
13586
- }, [_c('div', {
13587
- staticClass: "pathways-display-text"
13588
- }, [_vm._v("Pathways")])]), _c('el-col', {
13589
- attrs: {
13590
- "span": 12
13591
- }
13592
- }, [_c('el-checkbox', {
13593
- staticClass: "all-checkbox",
13594
- attrs: {
13595
- "indeterminate": _vm.isIndeterminate
13596
- },
13597
- on: {
13598
- "change": _vm.handleCheckAllChange
13599
- },
13600
- model: {
13601
- value: _vm.checkAll,
13602
- callback: function callback($$v) {
13603
- _vm.checkAll = $$v;
13604
- },
13605
- expression: "checkAll"
13606
- }
13607
- }, [_vm._v("Display all")])], 1)], 1), _c('el-checkbox-group', {
13608
- staticClass: "checkbox-group",
13609
- attrs: {
13610
- "size": "small"
13611
- },
13612
- on: {
13613
- "change": _vm.handleCheckedItemsChange
13614
- },
13615
- model: {
13616
- value: _vm.checkedItems,
13617
- callback: function callback($$v) {
13618
- _vm.checkedItems = $$v;
13619
- },
13620
- expression: "checkedItems"
13621
- }
13622
- }, [_c('div', {
13623
- staticClass: "checkbox-group-inner"
13624
- }, _vm._l(_vm.pathways, function (item) {
13625
- return _c('el-row', {
13626
- key: item.type,
13627
- attrs: {
13628
- "label": item.type
13629
- }
13630
- }, [_c('div', {
13631
- staticClass: "checkbox-container"
13632
- }, [_c('el-checkbox', {
13633
- staticClass: "my-checkbox",
13634
- attrs: {
13635
- "label": item.type,
13636
- "checked": true
13637
- },
13638
- on: {
13639
- "change": function change($event) {
13640
- return _vm.visibilityToggle();
13641
- }
13642
- }
13643
- }, [_c('div', {
13644
- staticClass: "path-visual",
13645
- class: item.type
13646
- }), _vm._v(" " + _vm._s(item.label) + " ")])], 1)]);
13647
- }), 1)])], 1) : _vm._e(), _c('div', {
13648
- staticClass: "drawer-button",
13649
- class: {
13650
- open: _vm.drawerOpen,
13651
- close: !_vm.drawerOpen
13652
- },
13653
- on: {
13654
- "click": _vm.toggleDrawer
13655
- }
13656
- }, [_c('i', {
13657
- staticClass: "el-icon-arrow-left"
13658
- })])]), _c('el-popover', {
13659
- ref: "backgroundPopover",
13660
- attrs: {
13661
- "placement": "top-start",
13662
- "width": "175",
13663
- "appendToBody": false,
13664
- "trigger": "click",
13665
- "popper-class": "background-popper"
13666
- }
13667
- }, [_c('el-row', {
13668
- staticClass: "backgroundText"
13669
- }, [_vm._v("Organs display")]), _c('el-row', {
13670
- staticClass: "backgroundControl"
13671
- }, [_c('el-radio-group', {
13672
- staticClass: "flatmap-radio",
13673
- on: {
13674
- "change": _vm.setColour
13675
- },
13676
- model: {
13677
- value: _vm.colourRadio,
13678
- callback: function callback($$v) {
13679
- _vm.colourRadio = $$v;
13680
- },
13681
- expression: "colourRadio"
13682
- }
13683
- }, [_c('el-radio', {
13684
- attrs: {
13685
- "label": true
13686
- }
13687
- }, [_vm._v("Colour")]), _c('el-radio', {
13688
- attrs: {
13689
- "label": false
13690
- }
13691
- }, [_vm._v("Greyscale")])], 1)], 1), _c('el-row', {
13692
- staticClass: "backgroundSpacer"
13693
- }), _c('el-row', {
13694
- staticClass: "backgroundText"
13695
- }, [_vm._v("Outlines display")]), _c('el-row', {
13696
- staticClass: "backgroundControl"
13697
- }, [_c('el-radio-group', {
13698
- staticClass: "flatmap-radio",
13699
- on: {
13700
- "change": _vm.setOutlines
13701
- },
13702
- model: {
13703
- value: _vm.outlinesRadio,
13704
- callback: function callback($$v) {
13705
- _vm.outlinesRadio = $$v;
13706
- },
13707
- expression: "outlinesRadio"
13708
- }
13709
- }, [_c('el-radio', {
13710
- attrs: {
13711
- "label": true
13712
- }
13713
- }, [_vm._v("Show")]), _c('el-radio', {
13714
- attrs: {
13715
- "label": false
13716
- }
13717
- }, [_vm._v("Hide")])], 1)], 1), _c('el-row', {
13718
- staticClass: "backgroundSpacer"
13719
- }), _c('el-row', {
13720
- staticClass: "backgroundText"
13721
- }, [_vm._v("Change background")]), _c('el-row', {
13722
- staticClass: "backgroundControl"
13723
- }, _vm._l(_vm.availableBackground, function (item) {
13724
- return _c('div', {
13725
- key: item,
13726
- class: ['backgroundChoice', item, item == _vm.currentBackground ? 'active' : ''],
13727
- on: {
13728
- "click": function click($event) {
13729
- return _vm.backgroundChangeCallback(item);
13730
- }
13731
- }
13732
- });
13733
- }), 0)], 1), _c('el-popover', {
13734
- attrs: {
13735
- "content": "Change background color",
13736
- "placement": "right",
13737
- "appendToBody": false,
13738
- "trigger": "manual",
13739
- "popper-class": "flatmap-popper right-popper"
13740
- },
13741
- model: {
13742
- value: _vm.hoverVisibilities[3].value,
13743
- callback: function callback($$v) {
13744
- _vm.$set(_vm.hoverVisibilities[3], "value", $$v);
13745
- },
13746
- expression: "hoverVisibilities[3].value"
13747
- }
13748
- }, [_c('map-svg-icon', {
13749
- directives: [{
13750
- name: "popover",
13751
- rawName: "v-popover:backgroundPopover",
13752
- arg: "backgroundPopover"
13753
- }],
13754
- staticClass: "icon-button background-colour",
13755
- class: {
13756
- open: _vm.drawerOpen,
13757
- close: !_vm.drawerOpen
13758
- },
13759
- attrs: {
13760
- "slot": "reference",
13761
- "icon": "changeBckgd"
13762
- },
13763
- nativeOn: {
13764
- "mouseover": function mouseover($event) {
13765
- return _vm.showToolitip(3);
13766
- },
13767
- "mouseout": function mouseout($event) {
13768
- return _vm.hideToolitip(3);
13769
- }
13770
- },
13771
- slot: "reference"
13772
- })], 1), _c('Tooltip', {
13773
- ref: "tooltip",
13774
- staticClass: "tooltip",
13775
- attrs: {
13776
- "content": _vm.tooltipContent
13777
- },
13778
- on: {
13779
- "resource-selected": _vm.resourceSelected
13780
- }
13781
- })], 1)], 1);
13782
- };
13783
- var staticRenderFns = [];
13258
+ // 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&
13259
+ 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)}
13260
+ var staticRenderFns = []
13261
+
13784
13262
 
13785
- // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=d2d4725e&scoped=true&
13263
+ // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=20b4e460&scoped=true&
13786
13264
 
13787
13265
  // EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
13788
13266
  var es_symbol_js_ = __webpack_require__("9b22");
@@ -13805,9 +13283,6 @@ var es_string_iterator_js_ = __webpack_require__("9bb5");
13805
13283
  // EXTERNAL MODULE: external "core-js/modules/web.dom-collections.iterator.js"
13806
13284
  var web_dom_collections_iterator_js_ = __webpack_require__("1a25");
13807
13285
 
13808
- // EXTERNAL MODULE: external "core-js/modules/es.error.cause.js"
13809
- var es_error_cause_js_ = __webpack_require__("dc50");
13810
-
13811
13286
  // EXTERNAL MODULE: external "core-js/modules/es.array.slice.js"
13812
13287
  var es_array_slice_js_ = __webpack_require__("ea12");
13813
13288
 
@@ -13817,18 +13292,14 @@ var es_function_name_js_ = __webpack_require__("db0a");
13817
13292
  // EXTERNAL MODULE: external "core-js/modules/es.array.from.js"
13818
13293
  var es_array_from_js_ = __webpack_require__("4362");
13819
13294
 
13820
- // EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
13821
- var es_regexp_exec_js_ = __webpack_require__("c8a6");
13822
-
13823
- // EXTERNAL MODULE: external "core-js/modules/es.regexp.test.js"
13824
- var es_regexp_test_js_ = __webpack_require__("5a3b");
13825
-
13826
13295
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
13827
13296
  function _arrayLikeToArray(arr, len) {
13828
13297
  if (len == null || len > arr.length) len = arr.length;
13298
+
13829
13299
  for (var i = 0, arr2 = new Array(len); i < len; i++) {
13830
13300
  arr2[i] = arr[i];
13831
13301
  }
13302
+
13832
13303
  return arr2;
13833
13304
  }
13834
13305
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
@@ -13838,8 +13309,6 @@ function _arrayLikeToArray(arr, len) {
13838
13309
 
13839
13310
 
13840
13311
 
13841
-
13842
-
13843
13312
  function _unsupportedIterableToArray(o, minLen) {
13844
13313
  if (!o) return;
13845
13314
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -13857,14 +13326,16 @@ function _unsupportedIterableToArray(o, minLen) {
13857
13326
 
13858
13327
 
13859
13328
 
13860
-
13861
13329
  function _createForOfIteratorHelper(o, allowArrayLike) {
13862
13330
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
13331
+
13863
13332
  if (!it) {
13864
13333
  if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
13865
13334
  if (it) o = it;
13866
13335
  var i = 0;
13336
+
13867
13337
  var F = function F() {};
13338
+
13868
13339
  return {
13869
13340
  s: F,
13870
13341
  n: function n() {
@@ -13882,11 +13353,13 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
13882
13353
  f: F
13883
13354
  };
13884
13355
  }
13356
+
13885
13357
  throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
13886
13358
  }
13359
+
13887
13360
  var normalCompletion = true,
13888
- didErr = false,
13889
- err;
13361
+ didErr = false,
13362
+ err;
13890
13363
  return {
13891
13364
  s: function s() {
13892
13365
  it = it.call(o);
@@ -13970,8 +13443,11 @@ var es_array_includes_js_ = __webpack_require__("85f7");
13970
13443
  // EXTERNAL MODULE: external "core-js/modules/es.string.includes.js"
13971
13444
  var es_string_includes_js_ = __webpack_require__("fd22");
13972
13445
 
13973
- // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
13974
- var es_array_push_js_ = __webpack_require__("2439");
13446
+ // EXTERNAL MODULE: external "core-js/modules/es.regexp.exec.js"
13447
+ var es_regexp_exec_js_ = __webpack_require__("c8a6");
13448
+
13449
+ // EXTERNAL MODULE: external "core-js/modules/es.string.split.js"
13450
+ var es_string_split_js_ = __webpack_require__("0cda");
13975
13451
 
13976
13452
  // EXTERNAL MODULE: external "core-js/modules/web.dom-collections.for-each.js"
13977
13453
  var web_dom_collections_for_each_js_ = __webpack_require__("13e3");
@@ -13989,156 +13465,10 @@ var es_number_constructor_js_ = __webpack_require__("f989");
13989
13465
  var external_vue_ = __webpack_require__("8bbf");
13990
13466
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
13991
13467
 
13992
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-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&
13993
- var Tooltipvue_type_template_id_6d6dee76_scoped_true_render = function render() {
13994
- var _vm = this,
13995
- _c = _vm._self._c;
13996
- return _c('div', {
13997
- staticClass: "tooltip-container"
13998
- }, [_vm.content ? _c('el-main', {
13999
- directives: [{
14000
- name: "loading",
14001
- rawName: "v-loading",
14002
- value: _vm.loading,
14003
- expression: "loading"
14004
- }],
14005
- staticClass: "main"
14006
- }, [_vm.content.title ? _c('div', {
14007
- staticClass: "block"
14008
- }, [_c('span', {
14009
- staticClass: "title"
14010
- }, [_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]) : _c('div', {
14011
- staticClass: "block"
14012
- }, [_c('span', {
14013
- staticClass: "title"
14014
- }, [_vm._v(_vm._s(_vm.content.featureId))])]), _c('div', {
14015
- staticClass: "content-container scrollbar"
14016
- }, [_vm._v(" " + _vm._s(_vm.content.paths) + " "), this.origins ? _c('div', {
14017
- staticClass: "block"
14018
- }, [_c('div', [_c('span', {
14019
- staticClass: "attribute-title"
14020
- }, [_vm._v("Origin")]), _c('el-popover', {
14021
- attrs: {
14022
- "width": "250",
14023
- "trigger": "hover",
14024
- "append-to-body": false,
14025
- "popper-class": "popover-origin-help"
14026
- }
14027
- }, [_c('i', {
14028
- staticClass: "el-icon-warning-outline info",
14029
- attrs: {
14030
- "slot": "reference"
14031
- },
14032
- slot: "reference"
14033
- }), _c('span', {
14034
- staticStyle: {
14035
- "word-break": "keep-all"
14036
- }
14037
- }, [_c('i', [_vm._v("Origin")]), _vm._v(" " + _vm._s(_vm.originDescription) + " ")])])], 1), _vm._l(_vm.origins, function (origin, i) {
14038
- return _c('div', {
14039
- key: origin,
14040
- staticClass: "attribute-content"
14041
- }, [_vm._v(" " + _vm._s(_vm.capitalise(origin)) + " "), i != _vm.origins.length - 1 ? _c('div', {
14042
- staticClass: "seperator"
14043
- }) : _vm._e()]);
14044
- }), _c('el-button', {
14045
- directives: [{
14046
- name: "show",
14047
- rawName: "v-show",
14048
- value: _vm.originsWithDatasets.length > 0,
14049
- expression: "originsWithDatasets.length > 0"
14050
- }],
14051
- staticClass: "button",
14052
- on: {
14053
- "click": _vm.openDendrites
14054
- }
14055
- }, [_vm._v(" Explore origin data ")])], 2) : _vm._e(), this.components ? _c('div', {
14056
- staticClass: "block"
14057
- }, [_c('div', {
14058
- staticClass: "attribute-title"
14059
- }, [_vm._v("Components")]), _vm._l(_vm.components, function (component, i) {
14060
- return _c('div', {
14061
- key: component,
14062
- staticClass: "attribute-content"
14063
- }, [_vm._v(" " + _vm._s(_vm.capitalise(component)) + " "), i != _vm.components.length - 1 ? _c('div', {
14064
- staticClass: "seperator"
14065
- }) : _vm._e()]);
14066
- })], 2) : _vm._e(), this.destinations ? _c('div', {
14067
- staticClass: "block"
14068
- }, [_c('div', [_c('span', {
14069
- staticClass: "attribute-title"
14070
- }, [_vm._v("Destination")]), _c('el-popover', {
14071
- attrs: {
14072
- "width": "250",
14073
- "trigger": "hover",
14074
- "append-to-body": false,
14075
- "popper-class": "popover-origin-help"
14076
- }
14077
- }, [_c('i', {
14078
- staticClass: "el-icon-warning-outline info",
14079
- attrs: {
14080
- "slot": "reference"
14081
- },
14082
- slot: "reference"
14083
- }), _c('span', {
14084
- staticStyle: {
14085
- "word-break": "keep-all"
14086
- }
14087
- }, [_c('i', [_vm._v("Destination")]), _vm._v(" is where the axons terminate ")])])], 1), _vm._l(_vm.destinations, function (destination, i) {
14088
- return _c('div', {
14089
- key: destination,
14090
- staticClass: "attribute-content"
14091
- }, [_vm._v(" " + _vm._s(_vm.capitalise(destination)) + " "), i != _vm.destinations.length - 1 ? _c('div', {
14092
- staticClass: "seperator"
14093
- }) : _vm._e()]);
14094
- }), _c('el-button', {
14095
- directives: [{
14096
- name: "show",
14097
- rawName: "v-show",
14098
- value: _vm.destinationsWithDatasets.length > 0,
14099
- expression: "destinationsWithDatasets.length > 0"
14100
- }],
14101
- staticClass: "button",
14102
- on: {
14103
- "click": _vm.openAxons
14104
- }
14105
- }, [_vm._v(" Explore destination data ")])], 2) : _vm._e(), _c('el-button', {
14106
- directives: [{
14107
- name: "show",
14108
- rawName: "v-show",
14109
- value: _vm.components.length > 0,
14110
- expression: "components.length > 0"
14111
- }],
14112
- staticClass: "button",
14113
- on: {
14114
- "click": _vm.openAll
14115
- }
14116
- }, [_vm._v(" Search for data on components ")]), _vm.content.featureIds ? _c('pubmed-viewer', {
14117
- directives: [{
14118
- name: "show",
14119
- rawName: "v-show",
14120
- value: false,
14121
- expression: "false"
14122
- }],
14123
- attrs: {
14124
- "entry": _vm.content
14125
- },
14126
- on: {
14127
- "pubmedSearchUrl": _vm.pubmedSearchUrlUpdate
14128
- }
14129
- }) : _vm._e(), _vm.pubmedSearchUrl != '' ? _c('el-button', {
14130
- staticClass: "button",
14131
- attrs: {
14132
- "icon": "el-icon-notebook-2"
14133
- },
14134
- on: {
14135
- "click": function click($event) {
14136
- return _vm.openUrl(_vm.pubmedSearchUrl);
14137
- }
14138
- }
14139
- }, [_vm._v(" Open publications in pubmed ")]) : _vm._e()], 1)]) : _vm._e()], 1);
14140
- };
14141
- var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = [];
13468
+ // 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&
13469
+ 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)}
13470
+ var Tooltipvue_type_template_id_6d6dee76_scoped_true_staticRenderFns = []
13471
+
14142
13472
 
14143
13473
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=6d6dee76&scoped=true&
14144
13474
 
@@ -14160,7 +13490,6 @@ function _iterableToArray(iter) {
14160
13490
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
14161
13491
  }
14162
13492
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
14163
-
14164
13493
  function _nonIterableSpread() {
14165
13494
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
14166
13495
  }
@@ -14210,15 +13539,9 @@ var lib_button_default = /*#__PURE__*/__webpack_require__.n(lib_button);
14210
13539
  // EXTERNAL MODULE: external "core-js/modules/es.string.replace.js"
14211
13540
  var es_string_replace_js_ = __webpack_require__("6378");
14212
13541
 
14213
- // EXTERNAL MODULE: external "core-js/modules/es.json.stringify.js"
14214
- var es_json_stringify_js_ = __webpack_require__("a9ee");
14215
-
14216
13542
  // EXTERNAL MODULE: external "core-js/modules/es.array.flat.js"
14217
13543
  var es_array_flat_js_ = __webpack_require__("da6e");
14218
13544
 
14219
- // EXTERNAL MODULE: external "core-js/modules/es.array.unscopables.flat.js"
14220
- var es_array_unscopables_flat_js_ = __webpack_require__("722b");
14221
-
14222
13545
  // EXTERNAL MODULE: external "core-js/modules/es.promise.js"
14223
13546
  var es_promise_js_ = __webpack_require__("ec71");
14224
13547
 
@@ -14236,25 +13559,20 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
14236
13559
  var locale = __webpack_require__("4897");
14237
13560
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
14238
13561
 
14239
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-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&
14240
- var PubmedViewervue_type_template_id_58832c92_scoped_true_render = function render() {
14241
- var _vm = this,
14242
- _c = _vm._self._c;
14243
- return _c('div', {
14244
- staticClass: "pubmed-container"
14245
- });
14246
- };
14247
- var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = [];
13562
+ // 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&
13563
+ 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"})}
13564
+ var PubmedViewervue_type_template_id_58832c92_scoped_true_staticRenderFns = []
13565
+
14248
13566
 
14249
13567
  // CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=template&id=58832c92&scoped=true&
14250
13568
 
14251
- // EXTERNAL MODULE: external "core-js/modules/web.url-search-params.js"
14252
- var web_url_search_params_js_ = __webpack_require__("712c");
13569
+ // EXTERNAL MODULE: external "core-js/modules/web.url.js"
13570
+ var web_url_js_ = __webpack_require__("b94f");
14253
13571
 
14254
13572
  // EXTERNAL MODULE: external "core-js/modules/es.regexp.to-string.js"
14255
13573
  var es_regexp_to_string_js_ = __webpack_require__("30df");
14256
13574
 
14257
- // 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&
13575
+ // 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&
14258
13576
 
14259
13577
 
14260
13578
 
@@ -14265,8 +13583,16 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14265
13583
 
14266
13584
 
14267
13585
 
14268
- /* eslint-disable no-alert, no-console */
14269
13586
 
13587
+ //
13588
+ //
13589
+ //
13590
+ //
13591
+ //
13592
+ //
13593
+ //
13594
+
13595
+ /* eslint-disable no-alert, no-console */
14270
13596
  /* harmony default export */ var PubmedViewervue_type_script_lang_js_ = ({
14271
13597
  name: "Tooltip",
14272
13598
  props: {
@@ -14298,6 +13624,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14298
13624
  },
14299
13625
  buildPubmedSqlStatement: function buildPubmedSqlStatement(keastIds) {
14300
13626
  var sql = 'select distinct publication from publications where entity in (';
13627
+
14301
13628
  if (keastIds.length === 1) {
14302
13629
  sql += "'".concat(keastIds[0], "')");
14303
13630
  } else if (keastIds.length > 1) {
@@ -14305,6 +13632,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14305
13632
  sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
14306
13633
  }
14307
13634
  }
13635
+
14308
13636
  return sql;
14309
13637
  },
14310
13638
  buildPubmedSqlStatementForModels: function buildPubmedSqlStatementForModels(model) {
@@ -14328,11 +13656,12 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14328
13656
  },
14329
13657
  pubmedQueryOnIds: function pubmedQueryOnIds(keastIds) {
14330
13658
  var _this = this;
13659
+
14331
13660
  if (!keastIds || keastIds.length === 0) return;
14332
13661
  var sql = this.buildPubmedSqlStatement(keastIds);
14333
13662
  this.flatmapQuery(sql).then(function (data) {
14334
- _this.responseData = data;
14335
- // Create pubmed url on paths if we have them
13663
+ _this.responseData = data; // Create pubmed url on paths if we have them
13664
+
14336
13665
  if (data.values.length > 0) {
14337
13666
  _this.$emit('pubmedSearchUrl', _this.pubmedSearchUrl(data.values.map(function (id) {
14338
13667
  return _this.stripPMIDPrefix(id[0]);
@@ -14345,6 +13674,7 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14345
13674
  },
14346
13675
  pubmedQueryOnModels: function pubmedQueryOnModels(source) {
14347
13676
  var _this2 = this;
13677
+
14348
13678
  this.flatmapQuery(this.buildPubmedSqlStatementForModels(source)).then(function (data) {
14349
13679
  if (Array.isArray(data.values) && data.values.length > 0) {
14350
13680
  _this2.$emit('pubmedSearchUrl', _this2.pubmedSearchUrl(data.values.map(function (id) {
@@ -14352,10 +13682,10 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14352
13682
  })));
14353
13683
  } else {
14354
13684
  _this2.$emit('pubmedSearchUrl', ''); // Clears the pubmed search button
13685
+
14355
13686
  }
14356
13687
  });
14357
13688
  },
14358
-
14359
13689
  pubmedSearchUrl: function pubmedSearchUrl(ids) {
14360
13690
  var url = 'https://pubmed.ncbi.nlm.nih.gov/?';
14361
13691
  var params = new URLSearchParams();
@@ -14366,8 +13696,8 @@ var es_regexp_to_string_js_ = __webpack_require__("30df");
14366
13696
  });
14367
13697
  // CONCATENATED MODULE: ./src/components/PubmedViewer.vue?vue&type=script&lang=js&
14368
13698
  /* harmony default export */ var components_PubmedViewervue_type_script_lang_js_ = (PubmedViewervue_type_script_lang_js_);
14369
- // EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&prod&scoped=true&lang=scss&
14370
- var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ = __webpack_require__("233b");
13699
+ // EXTERNAL MODULE: ./src/components/PubmedViewer.vue?vue&type=style&index=0&id=58832c92&scoped=true&lang=scss&
13700
+ var PubmedViewervue_type_style_index_0_id_58832c92_scoped_true_lang_scss_ = __webpack_require__("b191");
14371
13701
 
14372
13702
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
14373
13703
  /* globals __VUE_SSR_CONTEXT__ */
@@ -14376,19 +13706,20 @@ var PubmedViewervue_type_style_index_0_id_58832c92_prod_scoped_true_lang_scss_ =
14376
13706
  // This module is a runtime utility for cleaner component module output and will
14377
13707
  // be included in the final webpack user bundle.
14378
13708
 
14379
- function normalizeComponent(
13709
+ function normalizeComponent (
14380
13710
  scriptExports,
14381
13711
  render,
14382
13712
  staticRenderFns,
14383
13713
  functionalTemplate,
14384
13714
  injectStyles,
14385
13715
  scopeId,
14386
- moduleIdentifier /* server only */,
13716
+ moduleIdentifier, /* server only */
14387
13717
  shadowMode /* vue-cli only */
14388
13718
  ) {
14389
13719
  // Vue.extend constructor export interop
14390
- var options =
14391
- typeof scriptExports === 'function' ? scriptExports.options : scriptExports
13720
+ var options = typeof scriptExports === 'function'
13721
+ ? scriptExports.options
13722
+ : scriptExports
14392
13723
 
14393
13724
  // render functions
14394
13725
  if (render) {
@@ -14408,8 +13739,7 @@ function normalizeComponent(
14408
13739
  }
14409
13740
 
14410
13741
  var hook
14411
- if (moduleIdentifier) {
14412
- // server build
13742
+ if (moduleIdentifier) { // server build
14413
13743
  hook = function (context) {
14414
13744
  // 2.3 injection
14415
13745
  context =
@@ -14435,11 +13765,11 @@ function normalizeComponent(
14435
13765
  } else if (injectStyles) {
14436
13766
  hook = shadowMode
14437
13767
  ? function () {
14438
- injectStyles.call(
14439
- this,
14440
- (options.functional ? this.parent : this).$root.$options.shadowRoot
14441
- )
14442
- }
13768
+ injectStyles.call(
13769
+ this,
13770
+ (options.functional ? this.parent : this).$root.$options.shadowRoot
13771
+ )
13772
+ }
14443
13773
  : injectStyles
14444
13774
  }
14445
13775
 
@@ -14450,14 +13780,16 @@ function normalizeComponent(
14450
13780
  options._injectStyles = hook
14451
13781
  // register for functional component in vue file
14452
13782
  var originalRender = options.render
14453
- options.render = function renderWithStyleInjection(h, context) {
13783
+ options.render = function renderWithStyleInjection (h, context) {
14454
13784
  hook.call(context)
14455
13785
  return originalRender(h, context)
14456
13786
  }
14457
13787
  } else {
14458
13788
  // inject component registration as beforeCreate hook
14459
13789
  var existing = options.beforeCreate
14460
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook]
13790
+ options.beforeCreate = existing
13791
+ ? [].concat(existing, hook)
13792
+ : [hook]
14461
13793
  }
14462
13794
  }
14463
13795
 
@@ -14492,9 +13824,7 @@ var component = normalizeComponent(
14492
13824
 
14493
13825
  var EventBus = new external_vue_default.a();
14494
13826
  /* harmony default export */ var components_EventBus = (EventBus);
14495
- // 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&
14496
-
14497
-
13827
+ // 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&
14498
13828
 
14499
13829
 
14500
13830
 
@@ -14528,6 +13858,86 @@ var EventBus = new external_vue_default.a();
14528
13858
 
14529
13859
 
14530
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
+ //
13932
+ //
13933
+ //
13934
+ //
13935
+ //
13936
+ //
13937
+ //
13938
+ //
13939
+ //
13940
+ //
14531
13941
 
14532
13942
  /* eslint-disable no-alert, no-console */
14533
13943
 
@@ -14538,9 +13948,9 @@ external_vue_default.a.use(lib_button_default.a);
14538
13948
  external_vue_default.a.use(lib_container_default.a);
14539
13949
  external_vue_default.a.use(lib_header_default.a);
14540
13950
  external_vue_default.a.use(lib_icon_default.a);
14541
- external_vue_default.a.use(lib_main_default.a);
13951
+ 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
13952
+
14542
13953
 
14543
- // pubmedviewer is currently not in use, but still under review so not ready to delete yet
14544
13954
 
14545
13955
 
14546
13956
  var _titleCase = function titleCase(str) {
@@ -14548,13 +13958,14 @@ var _titleCase = function titleCase(str) {
14548
13958
  return t.charAt(0).toUpperCase() + t.substr(1).toLowerCase();
14549
13959
  });
14550
13960
  };
13961
+
14551
13962
  var inArray = function inArray(ar1, ar2) {
14552
13963
  var as1 = JSON.stringify(ar1);
14553
13964
  var as2 = JSON.stringify(ar2);
14554
13965
  return as1.indexOf(as2) !== -1;
14555
- };
13966
+ }; // remove duplicates by stringifying the objects
13967
+
14556
13968
 
14557
- // remove duplicates by stringifying the objects
14558
13969
  var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(arrayOfAnything) {
14559
13970
  return _toConsumableArray(new Set(arrayOfAnything.map(function (e) {
14560
13971
  return JSON.stringify(e);
@@ -14562,10 +13973,12 @@ var Tooltipvue_type_script_lang_js_removeDuplicates = function removeDuplicates(
14562
13973
  return JSON.parse(e);
14563
13974
  });
14564
13975
  };
13976
+
14565
13977
  var _capitalise = function capitalise(str) {
14566
13978
  if (str) return str.charAt(0).toUpperCase() + str.slice(1);
14567
13979
  return "";
14568
13980
  };
13981
+
14569
13982
  /* harmony default export */ var Tooltipvue_type_script_lang_js_ = ({
14570
13983
  components: {
14571
13984
  PubmedViewer: PubmedViewer
@@ -14666,7 +14079,10 @@ var _capitalise = function capitalise(str) {
14666
14079
  },
14667
14080
  findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
14668
14081
  var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
14082
+
14669
14083
  var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
14084
+
14085
+
14670
14086
  var found = [];
14671
14087
  nodes.forEach(function (n) {
14672
14088
  if (Array.isArray(n)) {
@@ -14679,7 +14095,10 @@ var _capitalise = function capitalise(str) {
14679
14095
  },
14680
14096
  flattenConntectivity: function flattenConntectivity(connectivity) {
14681
14097
  var dnodes = connectivity.flat(); // get nodes from edgelist
14098
+
14682
14099
  var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
14100
+
14101
+
14683
14102
  var found = [];
14684
14103
  nodes.forEach(function (n) {
14685
14104
  if (Array.isArray(n)) {
@@ -14692,18 +14111,21 @@ var _capitalise = function capitalise(str) {
14692
14111
  },
14693
14112
  findComponents: function findComponents(connectivity) {
14694
14113
  var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
14114
+
14695
14115
  var nodes = Tooltipvue_type_script_lang_js_removeDuplicates(dnodes);
14696
14116
  var found = [];
14697
14117
  var terminal = false;
14698
14118
  nodes.forEach(function (node) {
14699
- terminal = false;
14700
- // Check if the node is an destination or origin (note that they are labelled dendrite and axon as opposed to origin and destination)
14119
+ 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)
14120
+
14701
14121
  if (inArray(connectivity.axons, node)) {
14702
14122
  terminal = true;
14703
14123
  }
14124
+
14704
14125
  if (inArray(connectivity.dendrites, node)) {
14705
14126
  terminal = true;
14706
14127
  }
14128
+
14707
14129
  if (!terminal) {
14708
14130
  found.push(node);
14709
14131
  }
@@ -14712,6 +14134,7 @@ var _capitalise = function capitalise(str) {
14712
14134
  },
14713
14135
  getOrganCuries: function getOrganCuries() {
14714
14136
  var _this = this;
14137
+
14715
14138
  fetch("".concat(this.sparcAPI, "get-organ-curies/")).then(function (response) {
14716
14139
  return response.json();
14717
14140
  }).then(function (data) {
@@ -14720,6 +14143,7 @@ var _capitalise = function capitalise(str) {
14720
14143
  },
14721
14144
  buildConnectivitySqlStatement: function buildConnectivitySqlStatement(keastIds) {
14722
14145
  var sql = 'select knowledge from knowledge where entity in (';
14146
+
14723
14147
  if (keastIds.length === 1) {
14724
14148
  sql += "'".concat(keastIds[0], "')");
14725
14149
  } else if (keastIds.length > 1) {
@@ -14727,10 +14151,12 @@ var _capitalise = function capitalise(str) {
14727
14151
  sql += "'".concat(keastIds[i], "'").concat(i >= keastIds.length - 1 ? ')' : ',', " ");
14728
14152
  }
14729
14153
  }
14154
+
14730
14155
  return sql;
14731
14156
  },
14732
14157
  buildLabelSqlStatement: function buildLabelSqlStatement(uberons) {
14733
14158
  var sql = 'select entity, label from labels where entity in (';
14159
+
14734
14160
  if (uberons.length === 1) {
14735
14161
  sql += "'".concat(uberons[0], "')");
14736
14162
  } else if (uberons.length > 1) {
@@ -14738,10 +14164,12 @@ var _capitalise = function capitalise(str) {
14738
14164
  sql += "'".concat(uberons[i], "'").concat(i >= uberons.length - 1 ? ')' : ',', " ");
14739
14165
  }
14740
14166
  }
14167
+
14741
14168
  return sql;
14742
14169
  },
14743
14170
  createLabelLookup: function createLabelLookup(uberons) {
14744
14171
  var _this2 = this;
14172
+
14745
14173
  return new Promise(function (resolve) {
14746
14174
  var uberonMap = {};
14747
14175
  var data = {
@@ -14758,20 +14186,24 @@ var _capitalise = function capitalise(str) {
14758
14186
  }).then(function (payload) {
14759
14187
  var entity = payload.keys.indexOf("entity");
14760
14188
  var label = payload.keys.indexOf("label");
14189
+
14761
14190
  if (entity > -1 && label > -1) {
14762
14191
  payload.values.forEach(function (pair) {
14763
14192
  uberonMap[pair[entity]] = pair[label];
14764
14193
  });
14765
14194
  }
14195
+
14766
14196
  resolve(uberonMap);
14767
14197
  });
14768
14198
  });
14769
14199
  },
14770
14200
  createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
14771
14201
  var _this3 = this;
14202
+
14772
14203
  var labelList = [];
14773
14204
  components.forEach(function (n) {
14774
14205
  labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
14206
+
14775
14207
  if (n.length === 2) {
14776
14208
  labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
14777
14209
  }
@@ -14780,6 +14212,7 @@ var _capitalise = function capitalise(str) {
14780
14212
  },
14781
14213
  createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
14782
14214
  var label = lookUp[node[0]];
14215
+
14783
14216
  if (node.length === 2 && node[1].length > 0) {
14784
14217
  node[1].forEach(function (n) {
14785
14218
  if (lookUp[n] == undefined) {
@@ -14789,21 +14222,20 @@ var _capitalise = function capitalise(str) {
14789
14222
  }
14790
14223
  });
14791
14224
  }
14225
+
14792
14226
  return label;
14793
14227
  },
14794
14228
  processConnectivity: function processConnectivity(connectivity) {
14795
14229
  var _this4 = this;
14230
+
14796
14231
  // Filter the origin and destinations from components
14797
- var components = this.findComponents(connectivity);
14232
+ var components = this.findComponents(connectivity); // Remove duplicates
14798
14233
 
14799
- // Remove duplicates
14800
14234
  var axons = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.axons);
14801
- var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites);
14235
+ var dendrites = Tooltipvue_type_script_lang_js_removeDuplicates(connectivity.dendrites); // Create list of ids to get labels for
14802
14236
 
14803
- // Create list of ids to get labels for
14804
- var conIds = this.findAllIdsFromConnectivity(connectivity);
14237
+ var conIds = this.findAllIdsFromConnectivity(connectivity); // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
14805
14238
 
14806
- // Create readable labels from the nodes. Setting this to 'this.origins' updates the display
14807
14239
  this.createLabelLookup(conIds).then(function (lookUp) {
14808
14240
  _this4.destinations = axons.map(function (a) {
14809
14241
  return _this4.createLabelFromNeuralNode(a, lookUp);
@@ -14821,9 +14253,8 @@ var _capitalise = function capitalise(str) {
14821
14253
  // process the nodes for finding datasets (Note this is not critical to the tooltip, only for the 'search on components' button)
14822
14254
  var componentsFlat = this.flattenConntectivity(components);
14823
14255
  var axonsFlat = this.flattenConntectivity(axons);
14824
- var dendritesFlat = this.flattenConntectivity(dendrites);
14256
+ var dendritesFlat = this.flattenConntectivity(dendrites); // Filter for the anatomy which is annotated on datasets
14825
14257
 
14826
- // Filter for the anatomy which is annotated on datasets
14827
14258
  this.destinationsWithDatasets = this.uberons.filter(function (ub) {
14828
14259
  return axonsFlat.indexOf(ub.id) !== -1;
14829
14260
  });
@@ -14836,6 +14267,7 @@ var _capitalise = function capitalise(str) {
14836
14267
  },
14837
14268
  pathwayQuery: function pathwayQuery(keastIds) {
14838
14269
  var _this5 = this;
14270
+
14839
14271
  this.destinations = [];
14840
14272
  this.origins = [];
14841
14273
  this.components = [];
@@ -14854,7 +14286,9 @@ var _capitalise = function capitalise(str) {
14854
14286
  return response.json();
14855
14287
  }).then(function (data) {
14856
14288
  var connectivity = JSON.parse(data.values[0][0]);
14289
+
14857
14290
  _this5.processConnectivity(connectivity);
14291
+
14858
14292
  _this5.loading = false;
14859
14293
  }).catch(function (error) {
14860
14294
  console.error('Error:', error);
@@ -14864,8 +14298,8 @@ var _capitalise = function capitalise(str) {
14864
14298
  });
14865
14299
  // CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
14866
14300
  /* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
14867
- // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&prod&scoped=true&lang=scss&
14868
- var Tooltipvue_type_style_index_0_id_6d6dee76_prod_scoped_true_lang_scss_ = __webpack_require__("b64b");
14301
+ // EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=6d6dee76&scoped=true&lang=scss&
14302
+ var Tooltipvue_type_style_index_0_id_6d6dee76_scoped_true_lang_scss_ = __webpack_require__("13aa");
14869
14303
 
14870
14304
  // CONCATENATED MODULE: ./src/components/Tooltip.vue
14871
14305
 
@@ -14891,98 +14325,43 @@ var Tooltip_component = normalizeComponent(
14891
14325
  // EXTERNAL MODULE: external "@abi-software/svg-sprite"
14892
14326
  var svg_sprite_ = __webpack_require__("429c");
14893
14327
 
14894
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-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&
14895
- var Legendsvue_type_template_id_514dd6be_scoped_true_render = function render() {
14896
- var _vm = this,
14897
- _c = _vm._self._c;
14898
- return _c('div', {
14899
- staticClass: "legends-container"
14900
- }, [_c('svg', {
14901
- staticStyle: {
14902
- "enable-background": "new 0 0 500 500"
14903
- },
14904
- attrs: {
14905
- "version": "1.1",
14906
- "id": "Layer_1",
14907
- "x": "0px",
14908
- "y": "0px",
14909
- "viewBox": "0 0 500 500",
14910
- "xmlns": "http://www.w3.org/2000/svg",
14911
- "xmlns:bx": "https://boxy-svg.com"
14912
- }
14913
- }, [_c('defs', [_c('bx:grid', {
14914
- attrs: {
14915
- "height": "30.447",
14916
- "width": "32.516",
14917
- "x": "0",
14918
- "y": "0"
14919
- }
14920
- })], 1), _c('path', {
14921
- staticClass: "st0 st0-translate",
14922
- attrs: {
14923
- "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"
14924
- }
14925
- }), _c('path', {
14926
- staticClass: "st1",
14927
- attrs: {
14928
- "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"
14929
- }
14930
- }), _c('path', {
14931
- staticClass: "st2",
14932
- attrs: {
14933
- "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"
14934
- }
14935
- }), _c('text', {
14936
- staticClass: "st3 st4 st5",
14937
- staticStyle: {
14938
- "white-space": "pre"
14939
- },
14940
- attrs: {
14941
- "transform": "matrix(0.9908 0 0 1 118.0161 171.7975)"
14942
- }
14943
- }, [_vm._v("Tissue region")]), _c('path', {
14944
- staticClass: "st6",
14945
- attrs: {
14946
- "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"
14947
- }
14948
- }), _c('text', {
14949
- staticClass: "st3 st4 st5",
14950
- staticStyle: {
14951
- "white-space": "pre"
14952
- },
14953
- attrs: {
14954
- "transform": "matrix(0.9908 0 0 1 118.0161 257.675)"
14955
- }
14956
- }, [_vm._v("Brain nuclei")]), _c('text', {
14957
- staticClass: "st3 st4 st5",
14958
- staticStyle: {
14959
- "white-space": "pre"
14960
- },
14961
- attrs: {
14962
- "transform": "matrix(0.9908 0 0 1 118.0903 345.5266)"
14963
- }
14964
- }, [_vm._v("Ganglia")]), _c('text', {
14965
- staticClass: "st3 st4 st5",
14966
- staticStyle: {
14967
- "white-space": "pre"
14968
- },
14969
- attrs: {
14970
- "transform": "matrix(0.9908 0 0 1 118.0903 433.1613)"
14971
- }
14972
- }, [_vm._v("Nerve plexus")])])]);
14973
- };
14974
- var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = [];
14328
+ // 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&
14329
+ 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")])])])}
14330
+ var Legendsvue_type_template_id_514dd6be_scoped_true_staticRenderFns = []
14331
+
14975
14332
 
14976
14333
  // CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=template&id=514dd6be&scoped=true&
14977
14334
 
14978
- // 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&
14335
+ // 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&
14336
+ //
14337
+ //
14338
+ //
14339
+ //
14340
+ //
14341
+ //
14342
+ //
14343
+ //
14344
+ //
14345
+ //
14346
+ //
14347
+ //
14348
+ //
14349
+ //
14350
+ //
14351
+ //
14352
+ //
14353
+ //
14354
+ //
14355
+ //
14356
+ //
14357
+ //
14979
14358
  /* harmony default export */ var Legendsvue_type_script_lang_js_ = ({
14980
14359
  name: 'SvgLegends'
14981
14360
  });
14982
14361
  // CONCATENATED MODULE: ./src/components/legends/Legends.vue?vue&type=script&lang=js&
14983
14362
  /* harmony default export */ var legends_Legendsvue_type_script_lang_js_ = (Legendsvue_type_script_lang_js_);
14984
- // EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&prod&scoped=true&lang=scss&
14985
- var Legendsvue_type_style_index_0_id_514dd6be_prod_scoped_true_lang_scss_ = __webpack_require__("318c");
14363
+ // EXTERNAL MODULE: ./src/components/legends/Legends.vue?vue&type=style&index=0&id=514dd6be&scoped=true&lang=scss&
14364
+ var Legendsvue_type_style_index_0_id_514dd6be_scoped_true_lang_scss_ = __webpack_require__("9e82");
14986
14365
 
14987
14366
  // CONCATENATED MODULE: ./src/components/legends/Legends.vue
14988
14367
 
@@ -15007,7 +14386,8 @@ var Legends_component = normalizeComponent(
15007
14386
  /* harmony default export */ var Legends = (Legends_component.exports);
15008
14387
  // CONCATENATED MODULE: ./src/icons/flatmap-marker.js
15009
14388
  /* 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>');
15010
- // 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&
14389
+ // 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&
14390
+
15011
14391
 
15012
14392
 
15013
14393
 
@@ -15043,6 +14423,264 @@ var Legends_component = normalizeComponent(
15043
14423
 
15044
14424
 
15045
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
+ //
14675
+ //
14676
+ //
14677
+ //
14678
+ //
14679
+ //
14680
+ //
14681
+ //
14682
+ //
14683
+ //
15046
14684
 
15047
14685
  /* eslint-disable no-alert, no-console */
15048
14686
 
@@ -15060,12 +14698,15 @@ external_vue_default.a.use(lib_loading_default.a.directive);
15060
14698
  external_vue_default.a.use(lib_radio_default.a);
15061
14699
  external_vue_default.a.use(lib_radio_group_default.a);
15062
14700
  external_vue_default.a.use(lib_row_default.a);
14701
+
15063
14702
  var ResizeSensor = __webpack_require__("ae66");
14703
+
15064
14704
  var mapResize = function mapResize(map) {
15065
14705
  return function () {
15066
14706
  if (map) map.resize();
15067
14707
  };
15068
14708
  };
14709
+
15069
14710
  /* harmony default export */ var FlatmapVuervue_type_script_lang_js_ = ({
15070
14711
  name: "FlatmapVuer",
15071
14712
  components: {
@@ -15080,11 +14721,12 @@ var mapResize = function mapResize(map) {
15080
14721
  },
15081
14722
  methods: {
15082
14723
  viewLatestMap: function viewLatestMap() {
15083
- var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined;
15084
- //Human requires special handling
14724
+ var biologicalSex = this.biologicalSex ? this.biologicalSex : undefined; //Human requires special handling
14725
+
15085
14726
  if (this.entry === "NCBITaxon:9606") {
15086
14727
  biologicalSex = "PATO:0000384";
15087
14728
  }
14729
+
15088
14730
  var state = {
15089
14731
  entry: this.entry,
15090
14732
  biologicalSex: biologicalSex,
@@ -15094,6 +14736,7 @@ var mapResize = function mapResize(map) {
15094
14736
  },
15095
14737
  backgroundChangeCallback: function backgroundChangeCallback(colour) {
15096
14738
  this.currentBackground = colour;
14739
+
15097
14740
  if (this.mapImp) {
15098
14741
  this.mapImp.setBackgroundColour(this.currentBackground, 1);
15099
14742
  }
@@ -15101,11 +14744,13 @@ var mapResize = function mapResize(map) {
15101
14744
  toggleDrawer: function toggleDrawer() {
15102
14745
  this.drawerOpen = !this.drawerOpen;
15103
14746
  },
15104
- /**
15105
- * Function to toggle colour/greyscale of organs.
14747
+
14748
+ /**
14749
+ * Function to toggle colour/greyscale of organs.
15106
14750
  */
15107
14751
  setColour: function setColour(flag) {
15108
14752
  this.colourRadio = flag;
14753
+
15109
14754
  if (this.mapImp) {
15110
14755
  this.mapImp.setColour({
15111
14756
  colour: flag,
@@ -15113,11 +14758,13 @@ var mapResize = function mapResize(map) {
15113
14758
  });
15114
14759
  }
15115
14760
  },
15116
- /**
15117
- * Function to toggle outlines f organs.
14761
+
14762
+ /**
14763
+ * Function to toggle outlines f organs.
15118
14764
  */
15119
14765
  setOutlines: function setOutlines(flag) {
15120
14766
  this.outlineRadio = flag;
14767
+
15121
14768
  if (this.mapImp) {
15122
14769
  this.mapImp.setColour({
15123
14770
  colour: this.colourRadio,
@@ -15125,9 +14772,10 @@ var mapResize = function mapResize(map) {
15125
14772
  });
15126
14773
  }
15127
14774
  },
15128
- /**
15129
- * Function to toggle paths to default.
15130
- * Also called when the associated button is pressed.
14775
+
14776
+ /**
14777
+ * Function to toggle paths to default.
14778
+ * Also called when the associated button is pressed.
15131
14779
  */
15132
14780
  resetView: function resetView() {
15133
14781
  if (this.mapImp) {
@@ -15139,18 +14787,20 @@ var mapResize = function mapResize(map) {
15139
14787
  this.checkAll = true;
15140
14788
  }
15141
14789
  },
15142
- /**
15143
- * Function to zoom in.
15144
- * Also called when the associated button is pressed.
14790
+
14791
+ /**
14792
+ * Function to zoom in.
14793
+ * Also called when the associated button is pressed.
15145
14794
  */
15146
14795
  zoomIn: function zoomIn() {
15147
14796
  if (this.mapImp) {
15148
14797
  this.mapImp.zoomIn();
15149
14798
  }
15150
14799
  },
15151
- /**
15152
- * Function to zoom out.
15153
- * Also called when the associated button is pressed.
14800
+
14801
+ /**
14802
+ * Function to zoom out.
14803
+ * Also called when the associated button is pressed.
15154
14804
  */
15155
14805
  zoomOut: function zoomOut() {
15156
14806
  if (this.mapImp) {
@@ -15172,6 +14822,7 @@ var mapResize = function mapResize(map) {
15172
14822
  return a.type;
15173
14823
  }) : [];
15174
14824
  this.isIndeterminate = false;
14825
+
15175
14826
  if (this.mapImp) {
15176
14827
  this.mapImp.showPaths(this.checkedItems);
15177
14828
  }
@@ -15181,15 +14832,18 @@ var mapResize = function mapResize(map) {
15181
14832
  },
15182
14833
  eventCallback: function eventCallback() {
15183
14834
  var _this = this;
14835
+
15184
14836
  return function (eventType, data) {
15185
14837
  if (eventType !== "pan-zoom") {
15186
14838
  var label = data.label;
15187
14839
  var resource = [data.models];
15188
14840
  var taxonomy = _this.entry;
15189
14841
  var biologicalSex = _this.biologicalSex;
14842
+
15190
14843
  for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
15191
14844
  args[_key - 2] = arguments[_key];
15192
14845
  }
14846
+
15193
14847
  var payload = {
15194
14848
  dataset: data.dataset,
15195
14849
  biologicalSex: biologicalSex,
@@ -15199,9 +14853,10 @@ var mapResize = function mapResize(map) {
15199
14853
  feature: data,
15200
14854
  userData: args,
15201
14855
  eventType: eventType
15202
- };
15203
- // Disable the nueron pop up for now.
14856
+ }; // Disable the nueron pop up for now.
14857
+
15204
14858
  if (data && data.type !== "marker") _this.checkAndCreatePopups(payload);
14859
+
15205
14860
  _this.$emit("resource-selected", payload);
15206
14861
  } else {
15207
14862
  _this.$emit("pan-zoom-callback", data);
@@ -15225,6 +14880,7 @@ var mapResize = function mapResize(map) {
15225
14880
  if (ftooltip) ftooltip.style.display = "none";
15226
14881
  document.querySelector(".mapboxgl-popup-close-button").style.display = "block";
15227
14882
  this.$refs.tooltip.$el.style.display = "flex";
14883
+
15228
14884
  document.querySelector(".mapboxgl-popup-close-button").onclick = function () {
15229
14885
  document.querySelector(".flatmap-tooltip-popup").style.display = "block";
15230
14886
  };
@@ -15238,13 +14894,14 @@ var mapResize = function mapResize(map) {
15238
14894
  if (data.resource[0].includes('ilxtr:neuron')) {
15239
14895
  return true;
15240
14896
  }
15241
- }
15242
- // annotated with datset check
14897
+ } // annotated with datset check
14898
+
14899
+
15243
14900
  if (data.dataset) {
15244
14901
  return true;
15245
- }
14902
+ } // if there is no cuff, neural data, or dataset we do not display neuron tooltip
14903
+
15246
14904
 
15247
- // if there is no cuff, neural data, or dataset we do not display neuron tooltip
15248
14905
  return false;
15249
14906
  },
15250
14907
  createTooltipFromNeuronCuration: function createTooltipFromNeuronCuration(data) {
@@ -15256,9 +14913,8 @@ var mapResize = function mapResize(map) {
15256
14913
  distribution: undefined,
15257
14914
  actions: []
15258
14915
  };
15259
- this.tooltipVisible = false;
14916
+ this.tooltipVisible = false; // neural data check
15260
14917
 
15261
- // neural data check
15262
14918
  if (feature) {
15263
14919
  if (feature.includes('ilxtr:neuron')) {
15264
14920
  this.tooltipVisible = true;
@@ -15276,8 +14932,9 @@ var mapResize = function mapResize(map) {
15276
14932
  nervePath: true
15277
14933
  });
15278
14934
  }
15279
- }
15280
- // annotated with datset check
14935
+ } // annotated with datset check
14936
+
14937
+
15281
14938
  if (data.dataset) {
15282
14939
  this.tooltipVisible = true;
15283
14940
  this.tooltipContent = content;
@@ -15296,6 +14953,7 @@ var mapResize = function mapResize(map) {
15296
14953
  // Keeping this as an API
15297
14954
  showPopup: function showPopup(featureId, node, options) {
15298
14955
  var myOptions = options;
14956
+
15299
14957
  if (this.mapImp) {
15300
14958
  if (myOptions) {
15301
14959
  if (!myOptions.className) myOptions.className = "custom-popup";
@@ -15305,6 +14963,7 @@ var mapResize = function mapResize(map) {
15305
14963
  positionAtLastClick: true
15306
14964
  };
15307
14965
  }
14966
+
15308
14967
  this.mapImp.showPopup(featureId, node, myOptions);
15309
14968
  }
15310
14969
  },
@@ -15313,6 +14972,26 @@ var mapResize = function mapResize(map) {
15313
14972
  this.mapImp.showMarkerPopup(featureId, node, options);
15314
14973
  }
15315
14974
  },
14975
+ closeMinimap: function closeMinimap() {
14976
+ var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap'); // find minimap
14977
+
14978
+ if (this.minimapSmall) {
14979
+ //switch the classes on the minimap
14980
+ minimapEl.classList.add('enlarge');
14981
+ minimapEl.classList.remove('shrink');
14982
+ } else {
14983
+ minimapEl.classList.add('shrink');
14984
+ minimapEl.classList.remove('enlarge');
14985
+ }
14986
+
14987
+ this.minimapSmall = !this.minimapSmall;
14988
+ },
14989
+ addResizeButtonToMinimap: function addResizeButtonToMinimap() {
14990
+ var minimapEl = this.$refs.flatmapContainer.querySelector('.maplibregl-ctrl-minimap');
14991
+ this.$refs.minimapResize.parentNode.removeChild(this.$refs.minimapResize);
14992
+ minimapEl.appendChild(this.$refs.minimapResize);
14993
+ this.minimapResizeShow = true;
14994
+ },
15316
14995
  setHelpMode: function setHelpMode(helpMode) {
15317
14996
  if (helpMode) {
15318
14997
  this.inHelp = true;
@@ -15330,6 +15009,7 @@ var mapResize = function mapResize(map) {
15330
15009
  },
15331
15010
  showToolitip: function showToolitip(tooltipNumber) {
15332
15011
  var _this2 = this;
15012
+
15333
15013
  if (!this.inHelp) {
15334
15014
  this.tooltipWait = setTimeout(function () {
15335
15015
  _this2.hoverVisibilities[tooltipNumber].value = true;
@@ -15359,10 +15039,13 @@ var mapResize = function mapResize(map) {
15359
15039
  },
15360
15040
  getLabels: function getLabels() {
15361
15041
  var labels = [];
15042
+
15362
15043
  if (this.mapImp) {
15363
15044
  var annotations = this.mapImp.annotations;
15045
+
15364
15046
  var _iterator = _createForOfIteratorHelper(annotations.values()),
15365
- _step;
15047
+ _step;
15048
+
15366
15049
  try {
15367
15050
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
15368
15051
  var value = _step.value;
@@ -15373,6 +15056,7 @@ var mapResize = function mapResize(map) {
15373
15056
  } finally {
15374
15057
  _iterator.f();
15375
15058
  }
15059
+
15376
15060
  return Array.from(new Set(labels));
15377
15061
  }
15378
15062
  },
@@ -15387,6 +15071,7 @@ var mapResize = function mapResize(map) {
15387
15071
  if (identifier && identifier.uuid) state['uuid'] = identifier.uuid;
15388
15072
  return state;
15389
15073
  }
15074
+
15390
15075
  return undefined;
15391
15076
  },
15392
15077
  setState: function setState(state) {
@@ -15408,18 +15093,17 @@ var mapResize = function mapResize(map) {
15408
15093
  },
15409
15094
  createFlatmap: function createFlatmap(state) {
15410
15095
  var _this3 = this;
15096
+
15411
15097
  if (!this.mapImp && !this.loading) {
15412
15098
  this.loading = true;
15413
15099
  var minimap = false;
15100
+
15414
15101
  if (this.displayMinimap) {
15415
15102
  minimap = {
15416
15103
  position: "top-right"
15417
15104
  };
15418
- }
15419
-
15420
- //As for flatmap-viewer@2.2.7, see below for the documentation
15105
+ } //As for flatmap-viewer@2.2.7, see below for the documentation
15421
15106
  //for the identifier:
15422
-
15423
15107
  //@arg identifier {string|Object}
15424
15108
  // A string or object identifying the map to load. If a string its
15425
15109
  // value can be either the map's ``uuid``, assigned at generation time,
@@ -15433,10 +15117,11 @@ var mapResize = function mapResize(map) {
15433
15117
  // @arg identifier.uuid {string} The unique uuid the flatmap. If given then this exact map will
15434
15118
  // be loaded, overriding ``taxon`` and ``biologicalSex``.
15435
15119
 
15120
+
15436
15121
  var identifier = {
15437
15122
  taxon: this.entry
15438
- };
15439
- //This now handle the uses of uuid when resuming states
15123
+ }; //This now handle the uses of uuid when resuming states
15124
+
15440
15125
  if (state) {
15441
15126
  if (state.uuid) {
15442
15127
  identifier = {
@@ -15444,6 +15129,7 @@ var mapResize = function mapResize(map) {
15444
15129
  };
15445
15130
  } else if (state.entry) {
15446
15131
  identifier.taxon = state.entry;
15132
+
15447
15133
  if (state.biologicalSex) {
15448
15134
  identifier["biologicalSex"] = state.biologicalSex;
15449
15135
  } else if (identifier.taxon === "NCBITaxon:9606") {
@@ -15458,6 +15144,7 @@ var mapResize = function mapResize(map) {
15458
15144
  identifier["biologicalSex"] = this.biologicalSex;
15459
15145
  }
15460
15146
  }
15147
+
15461
15148
  var promise1 = this.mapManager.loadMap(identifier, this.$refs.display, this.eventCallback(), {
15462
15149
  //fullscreenControl: false,
15463
15150
  //annotatable: false,
@@ -15471,35 +15158,41 @@ var mapResize = function mapResize(map) {
15471
15158
  });
15472
15159
  promise1.then(function (returnedObject) {
15473
15160
  _this3.mapImp = returnedObject;
15474
- _this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
15475
- _this3.mapImp.setBackgroundOpacity(1);
15476
- _this3.backgroundChangeCallback(_this3.currentBackground);
15477
- _this3.pathways = _this3.mapImp.pathTypes();
15478
- _this3.$emit("ready", _this3);
15479
- _this3.loading = false;
15161
+
15162
+ _this3.onFlatmapReady();
15163
+
15480
15164
  if (_this3._stateToBeSet) _this3.restoreMapState(_this3._stateToBeSet);else {
15481
15165
  _this3.restoreMapState(state);
15482
15166
  }
15483
15167
  });
15484
15168
  } else if (state) {
15485
- if (this.entry == state.entry) {
15486
- this._stateToBeSet = {
15487
- viewport: state.viewport,
15488
- searchTerm: state.searchTerm
15489
- };
15490
- if (this.mapImp && !this.loading) this.restoreMapState(this._stateToBeSet);
15491
- }
15169
+ this._stateToBeSet = {
15170
+ viewport: state.viewport,
15171
+ searchTerm: state.searchTerm
15172
+ };
15173
+ if (this.mapImp && !this.loading) this.restoreMapState(this._stateToBeSet);
15492
15174
  }
15493
15175
  },
15176
+ onFlatmapReady: function onFlatmapReady() {
15177
+ // onFlatmapReady is used for functions that need to run immediately after the flatmap is loaded
15178
+ this.sensor = new ResizeSensor(this.$refs.display, mapResize(this.mapImp));
15179
+ this.mapImp.setBackgroundOpacity(1);
15180
+ this.backgroundChangeCallback(this.currentBackground);
15181
+ this.pathways = this.mapImp.pathTypes();
15182
+ this.$emit("ready", this);
15183
+ this.addResizeButtonToMinimap();
15184
+ this.loading = false;
15185
+ },
15494
15186
  showMinimap: function showMinimap(flag) {
15495
15187
  if (this.mapImp) this.mapImp.showMinimap(flag);
15496
15188
  },
15497
15189
  showPathwaysDrawer: function showPathwaysDrawer(flag) {
15498
15190
  this.drawerOpen = flag;
15499
15191
  },
15500
- /**
15501
- * Function to display features with annotation matching the provided term,
15502
- * with the option to display the label using displayLabel flag.
15192
+
15193
+ /**
15194
+ * Function to display features with annotation matching the provided term,
15195
+ * with the option to display the label using displayLabel flag.
15503
15196
  */
15504
15197
  searchAndShowResult: function searchAndShowResult(term, displayLabel) {
15505
15198
  if (this.mapImp) {
@@ -15508,22 +15201,27 @@ var mapResize = function mapResize(map) {
15508
15201
  return true;
15509
15202
  } else {
15510
15203
  var searchResults = this.mapImp.search(term);
15204
+
15511
15205
  if (searchResults && searchResults.results && searchResults.results.length > 0) {
15512
15206
  this.mapImp.showSearchResults(searchResults);
15207
+
15513
15208
  if (displayLabel && searchResults.results[0].featureId && searchResults.results[0].text) {
15514
15209
  this.mapImp.showPopup(searchResults.results[0].featureId, searchResults.results[0].text, {
15515
15210
  className: "custom-popup",
15516
15211
  positionAtLastClick: false
15517
15212
  });
15518
15213
  }
15214
+
15519
15215
  return true;
15520
15216
  } else this.mapImp.clearSearchResults();
15521
15217
  }
15522
15218
  }
15219
+
15523
15220
  return false;
15524
15221
  },
15525
- /**
15526
- * Get the list of suggested terms
15222
+
15223
+ /**
15224
+ * Get the list of suggested terms
15527
15225
  */
15528
15226
  searchSuggestions: function searchSuggestions(term) {
15529
15227
  if (this.mapImp) return this.mapImp.search(term);
@@ -15588,15 +15286,17 @@ var mapResize = function mapResize(map) {
15588
15286
  type: String,
15589
15287
  default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
15590
15288
  },
15591
- /**
15592
- * State containing state of the flatmap.
15289
+
15290
+ /**
15291
+ * State containing state of the flatmap.
15593
15292
  */
15594
15293
  state: {
15595
15294
  type: Object,
15596
15295
  default: undefined
15597
15296
  },
15598
- /**
15599
- * Specify the endpoint of the flatmap server.
15297
+
15298
+ /**
15299
+ * Specify the endpoint of the flatmap server.
15600
15300
  */
15601
15301
  flatmapAPI: {
15602
15302
  type: String,
@@ -15646,7 +15346,9 @@ var mapResize = function mapResize(map) {
15646
15346
  featureIds: []
15647
15347
  },
15648
15348
  colourRadio: true,
15649
- outlinesRadio: true
15349
+ outlinesRadio: true,
15350
+ minimapResizeShow: false,
15351
+ minimapSmall: false
15650
15352
  };
15651
15353
  },
15652
15354
  watch: {
@@ -15666,14 +15368,15 @@ var mapResize = function mapResize(map) {
15666
15368
  },
15667
15369
  mounted: function mounted() {
15668
15370
  var flatmap = __webpack_require__("4979");
15371
+
15669
15372
  this.mapManager = new flatmap.MapManager(this.flatmapAPI);
15670
15373
  if (this.renderAtMounted) this.createFlatmap();
15671
15374
  }
15672
15375
  });
15673
15376
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
15674
15377
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
15675
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=d2d4725e&prod&scoped=true&lang=scss&
15676
- var FlatmapVuervue_type_style_index_0_id_d2d4725e_prod_scoped_true_lang_scss_ = __webpack_require__("5973");
15378
+ // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=20b4e460&scoped=true&lang=scss&
15379
+ var FlatmapVuervue_type_style_index_0_id_20b4e460_scoped_true_lang_scss_ = __webpack_require__("1b11");
15677
15380
 
15678
15381
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
15679
15382
 
@@ -15690,127 +15393,18 @@ var FlatmapVuer_component = normalizeComponent(
15690
15393
  staticRenderFns,
15691
15394
  false,
15692
15395
  null,
15693
- "d2d4725e",
15396
+ "20b4e460",
15694
15397
  null
15695
15398
 
15696
15399
  )
15697
15400
 
15698
15401
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
15699
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"52da7808-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=92af3352&scoped=true&
15700
- var MultiFlatmapVuervue_type_template_id_92af3352_scoped_true_render = function render() {
15701
- var _vm = this,
15702
- _c = _vm._self._c;
15703
- return _c('div', {
15704
- staticClass: "multi-container"
15705
- }, [_c('div', {
15706
- staticStyle: {
15707
- "position": "absolute",
15708
- "z-index": "10"
15709
- }
15710
- }, [_c('div', {
15711
- staticClass: "species-display-text"
15712
- }, [_vm._v(" Species ")]), _c('el-popover', {
15713
- ref: "selectPopover",
15714
- attrs: {
15715
- "content": "Select a species",
15716
- "placement": "right",
15717
- "appendToBody": false,
15718
- "trigger": "manual",
15719
- "popper-class": "flatmap-popper right-popper"
15720
- },
15721
- model: {
15722
- value: _vm.helpMode,
15723
- callback: function callback($$v) {
15724
- _vm.helpMode = $$v;
15725
- },
15726
- expression: "helpMode"
15727
- }
15728
- }), _c('el-select', {
15729
- directives: [{
15730
- name: "popover",
15731
- rawName: "v-popover:selectPopover",
15732
- arg: "selectPopover"
15733
- }],
15734
- staticClass: "select-box",
15735
- attrs: {
15736
- "id": "flatmap-select",
15737
- "popper-append-to-body": _vm.appendToBody,
15738
- "placeholder": "Select",
15739
- "popper-class": "flatmap_dropdown"
15740
- },
15741
- on: {
15742
- "change": _vm.setSpecies
15743
- },
15744
- model: {
15745
- value: _vm.activeSpecies,
15746
- callback: function callback($$v) {
15747
- _vm.activeSpecies = $$v;
15748
- },
15749
- expression: "activeSpecies"
15750
- }
15751
- }, _vm._l(_vm.speciesList, function (item, key) {
15752
- return _c('el-option', {
15753
- key: key,
15754
- attrs: {
15755
- "label": key,
15756
- "value": key
15757
- }
15758
- }, [_c('el-row', [_c('el-col', {
15759
- attrs: {
15760
- "span": 8
15761
- }
15762
- }, [_c('i', {
15763
- class: item.iconClass
15764
- })]), _c('el-col', {
15765
- attrs: {
15766
- "span": 12
15767
- }
15768
- }, [_vm._v(_vm._s(key))])], 1)], 1);
15769
- }), 1)], 1), _vm._l(_vm.speciesList, function (item, key) {
15770
- return _c('FlatmapVuer', {
15771
- directives: [{
15772
- name: "show",
15773
- rawName: "v-show",
15774
- value: _vm.activeSpecies == key,
15775
- expression: "activeSpecies==key"
15776
- }],
15777
- key: key,
15778
- ref: key,
15779
- refInFor: true,
15780
- staticStyle: {
15781
- "height": "100%"
15782
- },
15783
- attrs: {
15784
- "showLayer": _vm.showLayer,
15785
- "entry": item.taxo,
15786
- "biologicalSex": item.biologicalSex,
15787
- "displayWarning": item.displayWarning,
15788
- "warningMessage": _vm.warningMessage,
15789
- "displayLatestChanges": item.displayLatestChanges,
15790
- "latestChangesMessage": item.latestChangesMessage,
15791
- "isLegacy": item.isLegacy,
15792
- "featureInfo": _vm.featureInfo,
15793
- "minZoom": _vm.minZoom,
15794
- "pathControls": _vm.pathControls,
15795
- "searchable": _vm.searchable,
15796
- "helpMode": _vm.helpMode,
15797
- "renderAtMounted": _vm.renderAtMounted,
15798
- "displayMinimap": _vm.displayMinimap,
15799
- "flatmapAPI": _vm.flatmapAPI,
15800
- "sparcAPI": _vm.sparcAPI
15801
- },
15802
- on: {
15803
- "view-latest-map": _vm.viewLatestMap,
15804
- "resource-selected": _vm.FlatmapSelected,
15805
- "ready": _vm.FlatmapReady,
15806
- "pan-zoom-callback": _vm.panZoomCallback
15807
- }
15808
- });
15809
- })], 2);
15810
- };
15811
- var MultiFlatmapVuervue_type_template_id_92af3352_scoped_true_staticRenderFns = [];
15402
+ // 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&
15403
+ 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)}
15404
+ var MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns = []
15812
15405
 
15813
- // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=92af3352&scoped=true&
15406
+
15407
+ // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=6b4bad1c&scoped=true&
15814
15408
 
15815
15409
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
15816
15410
  var popover = __webpack_require__("06f1");
@@ -15836,7 +15430,7 @@ var lib_option_default = /*#__PURE__*/__webpack_require__.n(lib_option);
15836
15430
  // EXTERNAL MODULE: external "core-js/modules/es.object.keys.js"
15837
15431
  var es_object_keys_js_ = __webpack_require__("ea64");
15838
15432
 
15839
- // 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&
15433
+ // 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&
15840
15434
 
15841
15435
 
15842
15436
 
@@ -15858,6 +15452,65 @@ var es_object_keys_js_ = __webpack_require__("ea64");
15858
15452
 
15859
15453
 
15860
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
+ //
15505
+ //
15506
+ //
15507
+ //
15508
+ //
15509
+ //
15510
+ //
15511
+ //
15512
+ //
15513
+ //
15861
15514
 
15862
15515
  /* eslint-disable no-alert, no-console */
15863
15516
 
@@ -15884,11 +15537,14 @@ var TAXON_UUID = {
15884
15537
  FlatmapVuer: FlatmapVuer
15885
15538
  },
15886
15539
  beforeMount: function beforeMount() {
15540
+ //List for resolving the promise in initialise
15541
+ //if initialise is called multiple times
15887
15542
  this._resolveList = [];
15888
15543
  this._initialised = false;
15889
15544
  },
15890
15545
  mounted: function mounted() {
15891
15546
  var _this = this;
15547
+
15892
15548
  this.initialise();
15893
15549
  components_EventBus.$on('onActionClick', function (action) {
15894
15550
  _this.FlatmapSelected(action);
@@ -15897,6 +15553,7 @@ var TAXON_UUID = {
15897
15553
  methods: {
15898
15554
  initialise: function initialise() {
15899
15555
  var _this2 = this;
15556
+
15900
15557
  return new Promise(function (resolve) {
15901
15558
  if (_this2.requireInitialisation) {
15902
15559
  //It has not been initialised yet
@@ -15904,7 +15561,6 @@ var TAXON_UUID = {
15904
15561
  fetch(_this2.flatmapAPI).then(function (response) {
15905
15562
  return response.json();
15906
15563
  }).then(function (data) {
15907
- _this2._initialised = true;
15908
15564
  //Check each key in the provided availableSpecies against the one
15909
15565
  //on the server, add them to the Select if the key is found
15910
15566
  Object.keys(_this2.availableSpecies).forEach(function (key) {
@@ -15913,21 +15569,25 @@ var TAXON_UUID = {
15913
15569
  if (_this2.availableSpecies[key].biologicalSex) {
15914
15570
  if (data[i].biologicalSex && data[i].biologicalSex === _this2.availableSpecies[key].biologicalSex) {
15915
15571
  _this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
15572
+
15916
15573
  break;
15917
15574
  }
15918
15575
  } else {
15919
15576
  _this2.$set(_this2.speciesList, key, _this2.availableSpecies[key]);
15577
+
15920
15578
  break;
15921
15579
  }
15922
15580
  }
15923
15581
  }
15924
- });
15925
- //Use the state species if it does not have any other species information
15582
+ }); //Use the state species if it does not have any other species information
15583
+
15926
15584
  var species = _this2.initial;
15585
+
15927
15586
  if (_this2.state) {
15928
15587
  var mapState = _this2.state.state;
15929
15588
  if ((!mapState || !mapState.uuid && !mapState.entry) && _this2.state.species) species = _this2.state.species;else species = undefined;
15930
15589
  }
15590
+
15931
15591
  if (species) {
15932
15592
  //No state resuming, set the current flatmap to {this.initial}
15933
15593
  if (species && _this2.speciesList[species] !== undefined) {
@@ -15935,9 +15595,13 @@ var TAXON_UUID = {
15935
15595
  } else {
15936
15596
  _this2.activeSpecies = Object.keys(_this2.speciesList)[0];
15937
15597
  }
15598
+
15938
15599
  _this2.setSpecies(_this2.activeSpecies, _this2.state ? _this2.state.state : undefined, 5);
15939
15600
  }
15940
- resolve();
15601
+
15602
+ _this2._initialised = true;
15603
+ resolve(); //Resolve all other promises resolve in the list
15604
+
15941
15605
  _this2._resolveList.forEach(function (other) {
15942
15606
  other();
15943
15607
  });
@@ -15946,7 +15610,7 @@ var TAXON_UUID = {
15946
15610
  //resolve as it has been initialised
15947
15611
  resolve();
15948
15612
  } else {
15949
- //resolve when the list request has been resolved
15613
+ //resolve when the async initialisation is finished
15950
15614
  _this2._resolveList.push(resolve);
15951
15615
  }
15952
15616
  });
@@ -15956,12 +15620,15 @@ var TAXON_UUID = {
15956
15620
  },
15957
15621
  FlatmapReady: function FlatmapReady(component) {
15958
15622
  this.$emit("ready", component);
15623
+ this.addCloseButtonToMinimap();
15959
15624
  },
15960
15625
  getCoordinatesOfLastClick: function getCoordinatesOfLastClick() {
15961
15626
  var flatmap = this.$refs[this.activeSpecies];
15627
+
15962
15628
  if (flatmap && flatmap[0]) {
15963
15629
  return flatmap[0].getCoordinatesOfLastClick();
15964
15630
  }
15631
+
15965
15632
  return undefined;
15966
15633
  },
15967
15634
  getCurrentFlatmap: function getCurrentFlatmap() {
@@ -15980,12 +15647,14 @@ var TAXON_UUID = {
15980
15647
  },
15981
15648
  setSpecies: function setSpecies(species, state, numberOfRetry) {
15982
15649
  var _this3 = this;
15650
+
15983
15651
  if (this.$refs && species in this.$refs) {
15984
15652
  this.activeSpecies = species;
15985
15653
  this.$refs[this.activeSpecies][0].createFlatmap(state);
15986
15654
  this.$emit('flatmapChanged', this.activeSpecies);
15987
15655
  } else if (numberOfRetry) {
15988
15656
  var retry = numberOfRetry - 1;
15657
+
15989
15658
  if (retry >= 0) {
15990
15659
  external_vue_default.a.nextTick(function () {
15991
15660
  _this3.setSpecies(species, state, retry);
@@ -15993,33 +15662,39 @@ var TAXON_UUID = {
15993
15662
  }
15994
15663
  }
15995
15664
  },
15996
- /**
15997
- * Function to switch to the latest existing map from
15998
- * a legacy map of the same species.
15999
- *
16000
- * @private
15665
+
15666
+ /**
15667
+ * Function to switch to the latest existing map from
15668
+ * a legacy map of the same species.
15669
+ *
15670
+ * @private
16001
15671
  */
16002
15672
  viewLatestMap: function viewLatestMap(state) {
16003
15673
  var keys = Object.keys(this.speciesList);
15674
+
16004
15675
  for (var i = 0; i < keys.length; i++) {
16005
15676
  var species = this.speciesList[keys[i]];
15677
+
16006
15678
  if (!species.isLegacy && species.taxo === state.entry && species.biologicalSex === state.biologicalSex) {
16007
15679
  this.setSpecies(keys[i], state, 0);
16008
15680
  return;
16009
15681
  }
16010
15682
  }
16011
15683
  },
16012
- /**
16013
- * Create a legacy entry with the provided information
16014
- *
16015
- * @private
15684
+
15685
+ /**
15686
+ * Create a legacy entry with the provided information
15687
+ *
15688
+ * @private
16016
15689
  */
16017
15690
  createLegacyEntry: function createLegacyEntry(state, taxo, uuid) {
16018
15691
  if (uuid && taxo) {
16019
15692
  var name = "Legacy";
15693
+
16020
15694
  if (state.species) {
16021
15695
  if (state.species.slice(0, 6) === "Legacy") name = state.species;else name = name + " ".concat(state.species);
16022
15696
  }
15697
+
16023
15698
  this.$set(this.speciesList, name, {
16024
15699
  taxo: taxo,
16025
15700
  isLegacy: true,
@@ -16036,30 +15711,34 @@ var TAXON_UUID = {
16036
15711
  };
16037
15712
  }
16038
15713
  },
16039
- /**
16040
- * Function used to translate the legacy map state to one that can be used in current
16041
- * flatmap if required. If it is a legacy, an Select entry will be added
16042
- *
16043
- * @private
15714
+
15715
+ /**
15716
+ * Function used to translate the legacy map state to one that can be used in current
15717
+ * flatmap if required. If it is a legacy, an Select entry will be added
15718
+ *
15719
+ * @private
16044
15720
  */
16045
15721
  updateState: function updateState(state) {
16046
15722
  var _this4 = this;
15723
+
16047
15724
  return new Promise(function (resolve) {
16048
15725
  if (state && state.state) {
16049
- var mapState = state.state;
16050
- //uuid is not in the state, this is a legacy map
15726
+ var mapState = state.state; //uuid is not in the state, this is a legacy map
15727
+
16051
15728
  if (!mapState.uuid) {
16052
15729
  if (mapState.entry) {
16053
15730
  var uuid = mapState.entry in TAXON_UUID ? TAXON_UUID[mapState.entry] : undefined;
15731
+
16054
15732
  var newState = _this4.createLegacyEntry(state, mapState.entry, uuid);
15733
+
16055
15734
  resolve(newState ? newState : state);
16056
15735
  }
16057
15736
  } else if (mapState.entry) {
16058
15737
  //uuid is in the state but should be checked if it is the latest map
16059
15738
  //for that taxon
16060
15739
  return new Promise(function () {
16061
- var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI);
16062
- //mapManager.findMap_ is an async function so we need to wrap this with a promise
15740
+ var mapManager = new (__webpack_require__("4979").MapManager)(_this4.flatmapAPI); //mapManager.findMap_ is an async function so we need to wrap this with a promise
15741
+
16063
15742
  var identifier = {
16064
15743
  taxon: mapState.entry
16065
15744
  };
@@ -16074,18 +15753,19 @@ var TAXON_UUID = {
16074
15753
  resolve(state);
16075
15754
  });
16076
15755
  });
16077
- }
16078
- //Create a new state and add the legacy map to the select
15756
+ } //Create a new state and add the legacy map to the select
15757
+
16079
15758
  }
16080
15759
 
16081
15760
  resolve(state);
16082
15761
  });
16083
15762
  },
16084
- /**
16085
- * Function used for getting the current states of the scene. This exported states
16086
- * can be imported using the importStates method.
16087
- *
16088
- * @public
15763
+
15764
+ /**
15765
+ * Function used for getting the current states of the scene. This exported states
15766
+ * can be imported using the importStates method.
15767
+ *
15768
+ * @public
16089
15769
  */
16090
15770
  getState: function getState() {
16091
15771
  var state = {
@@ -16096,14 +15776,16 @@ var TAXON_UUID = {
16096
15776
  state.state = map.getState();
16097
15777
  return state;
16098
15778
  },
16099
- /**
16100
- * Function used for importing the states of the scene. This exported states
16101
- * can be imported using the read states method.
16102
- *
16103
- * @public
15779
+
15780
+ /**
15781
+ * Function used for importing the states of the scene. This exported states
15782
+ * can be imported using the read states method.
15783
+ *
15784
+ * @public
16104
15785
  */
16105
15786
  setState: function setState(state) {
16106
15787
  var _this5 = this;
15788
+
16107
15789
  if (state) {
16108
15790
  //Update state if required
16109
15791
  this.updateState(state).then(function (currentState) {
@@ -16112,6 +15794,7 @@ var TAXON_UUID = {
16112
15794
  _this5.setSpecies(currentState.species, currentState.state, 5);
16113
15795
  } else if (currentState.state) {
16114
15796
  var map = _this5.getCurrentFlatmap();
15797
+
16115
15798
  map.setState(currentState.state);
16116
15799
  }
16117
15800
  });
@@ -16139,9 +15822,10 @@ var TAXON_UUID = {
16139
15822
  type: Boolean,
16140
15823
  default: false
16141
15824
  },
16142
- /**
16143
- * Initial species for the flatmap.
16144
- * This value will be ignored if a valid state object is provided.
15825
+
15826
+ /**
15827
+ * Initial species for the flatmap.
15828
+ * This value will be ignored if a valid state object is provided.
16145
15829
  */
16146
15830
  initial: {
16147
15831
  type: String,
@@ -16206,15 +15890,17 @@ var TAXON_UUID = {
16206
15890
  };
16207
15891
  }
16208
15892
  },
16209
- /**
16210
- * State containing state of the flatmap.
15893
+
15894
+ /**
15895
+ * State containing state of the flatmap.
16211
15896
  */
16212
15897
  state: {
16213
15898
  type: Object,
16214
15899
  default: undefined
16215
15900
  },
16216
- /**
16217
- * Specify the endpoint of the flatmap server.
15901
+
15902
+ /**
15903
+ * Specify the endpoint of the flatmap server.
16218
15904
  */
16219
15905
  flatmapAPI: {
16220
15906
  type: String,
@@ -16245,8 +15931,8 @@ var TAXON_UUID = {
16245
15931
  });
16246
15932
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
16247
15933
  /* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
16248
- // EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=92af3352&prod&scoped=true&lang=scss&
16249
- var MultiFlatmapVuervue_type_style_index_0_id_92af3352_prod_scoped_true_lang_scss_ = __webpack_require__("9418");
15934
+ // EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=6b4bad1c&scoped=true&lang=scss&
15935
+ var MultiFlatmapVuervue_type_style_index_0_id_6b4bad1c_scoped_true_lang_scss_ = __webpack_require__("c033");
16250
15936
 
16251
15937
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
16252
15938
 
@@ -16259,11 +15945,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_92af3352_prod_scoped_true_lang_scs
16259
15945
 
16260
15946
  var MultiFlatmapVuer_component = normalizeComponent(
16261
15947
  components_MultiFlatmapVuervue_type_script_lang_js_,
16262
- MultiFlatmapVuervue_type_template_id_92af3352_scoped_true_render,
16263
- MultiFlatmapVuervue_type_template_id_92af3352_scoped_true_staticRenderFns,
15948
+ MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_render,
15949
+ MultiFlatmapVuervue_type_template_id_6b4bad1c_scoped_true_staticRenderFns,
16264
15950
  false,
16265
15951
  null,
16266
- "92af3352",
15952
+ "6b4bad1c",
16267
15953
  null
16268
15954
 
16269
15955
  )