@abi-software/flatmapvuer 0.3.7 → 0.3.8

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.
@@ -818,13 +818,6 @@ function scrollIntoView(container, selected) {
818
818
 
819
819
  /***/ }),
820
820
 
821
- /***/ "2ba9":
822
- /***/ (function(module, exports, __webpack_require__) {
823
-
824
- // extracted by mini-css-extract-plugin
825
-
826
- /***/ }),
827
-
828
821
  /***/ "2bb5":
829
822
  /***/ (function(module, exports, __webpack_require__) {
830
823
 
@@ -1354,6 +1347,13 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
1354
1347
 
1355
1348
  /***/ }),
1356
1349
 
1350
+ /***/ "3356":
1351
+ /***/ (function(module, exports, __webpack_require__) {
1352
+
1353
+ // extracted by mini-css-extract-plugin
1354
+
1355
+ /***/ }),
1356
+
1357
1357
  /***/ "3d2d":
1358
1358
  /***/ (function(module, exports, __webpack_require__) {
1359
1359
 
@@ -4551,6 +4551,13 @@ exports.PopupManager = _popupManager2.default;
4551
4551
 
4552
4552
  /***/ }),
4553
4553
 
4554
+ /***/ "547f":
4555
+ /***/ (function(module, exports, __webpack_require__) {
4556
+
4557
+ // extracted by mini-css-extract-plugin
4558
+
4559
+ /***/ }),
4560
+
4554
4561
  /***/ "560b":
4555
4562
  /***/ (function(module, exports, __webpack_require__) {
4556
4563
 
@@ -6085,13 +6092,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
6085
6092
 
6086
6093
  /***/ }),
6087
6094
 
6088
- /***/ "6282":
6089
- /***/ (function(module, exports, __webpack_require__) {
6090
-
6091
- // extracted by mini-css-extract-plugin
6092
-
6093
- /***/ }),
6094
-
6095
6095
  /***/ "6378":
6096
6096
  /***/ (function(module, exports) {
6097
6097
 
@@ -7151,6 +7151,17 @@ exports.default = {
7151
7151
  }
7152
7152
  };
7153
7153
 
7154
+ /***/ }),
7155
+
7156
+ /***/ "6f45":
7157
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7158
+
7159
+ "use strict";
7160
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_2328f3de_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("547f");
7161
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_2328f3de_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_2328f3de_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
7162
+ /* unused harmony reexport * */
7163
+
7164
+
7154
7165
  /***/ }),
7155
7166
 
7156
7167
  /***/ "7435":
@@ -9048,6 +9059,17 @@ module.exports = require("vue");
9048
9059
 
9049
9060
  module.exports = require("core-js/modules/es.object.to-string.js");
9050
9061
 
9062
+ /***/ }),
9063
+
9064
+ /***/ "98f7":
9065
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9066
+
9067
+ "use strict";
9068
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3356");
9069
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
9070
+ /* unused harmony reexport * */
9071
+
9072
+
9051
9073
  /***/ }),
9052
9074
 
9053
9075
  /***/ "9b22":
@@ -11929,17 +11951,6 @@ src_checkbox.install = function (Vue) {
11929
11951
 
11930
11952
  /******/ });
11931
11953
 
11932
- /***/ }),
11933
-
11934
- /***/ "dd4a":
11935
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
11936
-
11937
- "use strict";
11938
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2ba9");
11939
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
11940
- /* unused harmony reexport * */
11941
-
11942
-
11943
11954
  /***/ }),
11944
11955
 
11945
11956
  /***/ "de31":
@@ -14709,17 +14720,6 @@ module.exports = __webpack_require__("d010");
14709
14720
 
14710
14721
  module.exports = require("core-js/modules/es.number.constructor.js");
14711
14722
 
14712
- /***/ }),
14713
-
14714
- /***/ "faaf":
14715
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
14716
-
14717
- "use strict";
14718
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6282");
14719
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_FlatmapVuer_vue_vue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
14720
- /* unused harmony reexport * */
14721
-
14722
-
14723
14723
  /***/ }),
14724
14724
 
14725
14725
  /***/ "fae3":
@@ -14757,12 +14757,12 @@ if (typeof window !== 'undefined') {
14757
14757
  // Indicate to webpack that this file can be concatenated
14758
14758
  /* harmony default export */ var setPublicPath = (null);
14759
14759
 
14760
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=289ef1f9&scoped=true&
14760
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/FlatmapVuer.vue?vue&type=template&id=6fc981d7&scoped=true&
14761
14761
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"flatmap-container",attrs:{"element-loading-text":"Loading...","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.3)"}},[_c('map-svg-sprite-color'),_c('div',{staticStyle:{"height":"100%","width":"100%","position":"relative","overflow-y":"none"}},[_c('div',{ref:"display",staticStyle:{"height":"100%","width":"100%"}}),_c('div',{staticClass:"beta-popovers"},[_c('div',[_c('el-popover',{ref:"warningPopover",attrs:{"content":_vm.warningMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[6].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[6], "value", $$v)},expression:"hoverVisibilities[6].value"}}),(_vm.displayWarning && _vm.warningMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:warningPopover",arg:"warningPopover"}],staticClass:"el-icon-warning warning-icon",on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]):_vm._e()],1),(_vm.displayLatestChanges)?_c('el-popover',{ref:"latestChangesPopover",attrs:{"content":_vm.latestChangesMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[7].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[7], "value", $$v)},expression:"hoverVisibilities[7].value"}}):_vm._e(),(_vm.displayLatestChanges && _vm.latestChangesMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:latestChangesPopover",arg:"latestChangesPopover"}],staticClass:"el-icon-warning latest-changesicon",on:{"mouseover":function($event){return _vm.showToolitip(7)},"mouseout":function($event){return _vm.hideToolitip(7)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("What's new?")])]):_vm._e()],1),_c('div',{staticClass:"bottom-right-control"},[_c('el-popover',{attrs:{"content":"Zoom in","placement":"left","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper left-popper"},model:{value:(_vm.hoverVisibilities[0].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[0], "value", $$v)},expression:"hoverVisibilities[0].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomIn",attrs:{"slot":"reference","icon":"zoomIn"},nativeOn:{"click":function($event){return _vm.zoomIn()},"mouseover":function($event){return _vm.showToolitip(0)},"mouseout":function($event){return _vm.hideToolitip(0)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Zoom out","placement":"top-end","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-zoomout"},model:{value:(_vm.hoverVisibilities[1].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[1], "value", $$v)},expression:"hoverVisibilities[1].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomOut",attrs:{"slot":"reference","icon":"zoomOut"},nativeOn:{"click":function($event){return _vm.zoomOut()},"mouseover":function($event){return _vm.showToolitip(1)},"mouseout":function($event){return _vm.hideToolitip(1)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Reset","placement":"top","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper"},model:{value:(_vm.hoverVisibilities[2].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[2], "value", $$v)},expression:"hoverVisibilities[2].value"}},[_c('div',[_vm._v(" Fit to "),_c('br'),_vm._v(" window ")]),_c('map-svg-icon',{staticClass:"icon-button fitWindow",attrs:{"slot":"reference","icon":"fitWindow"},nativeOn:{"click":function($event){return _vm.resetView()},"mouseover":function($event){return _vm.showToolitip(2)},"mouseout":function($event){return _vm.hideToolitip(2)}},slot:"reference"})],1)],1),_c('el-popover',{ref:"checkBoxPopover",attrs:{"content":"Change pathway visibility","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[4].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[4], "value", $$v)},expression:"hoverVisibilities[4].value"}}),_c('div',{staticClass:"pathway-location",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen }},[(_vm.pathways.length > 0 && _vm.pathControls)?_c('div',{directives:[{name:"popover",rawName:"v-popover:checkBoxPopover",arg:"checkBoxPopover"}],staticClass:"pathway-container"},[_c('svg-legends',{staticClass:"svg-legends-container"}),_c('el-popover',{ref:"markerPopover",attrs:{"content":"Find these markers for data","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-bump-right right-popper"},model:{value:(_vm.hoverVisibilities[5].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[5], "value", $$v)},expression:"hoverVisibilities[5].value"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.hoverVisibilities[5].value),expression:"hoverVisibilities[5].value"},{name:"popover",rawName:"v-popover:markerPopover",arg:"markerPopover"}],staticClass:"flatmap-marker-help",domProps:{"innerHTML":_vm._s(_vm.flatmapMarker)}}),_c('el-row',[_c('el-col',{attrs:{"span":12}},[_c('div',{staticClass:"pathways-display-text"},[_vm._v("Pathways")])]),_c('el-col',{attrs:{"span":12}},[_c('el-checkbox',{staticClass:"all-checkbox",attrs:{"indeterminate":_vm.isIndeterminate},on:{"change":_vm.handleCheckAllChange},model:{value:(_vm.checkAll),callback:function ($$v) {_vm.checkAll=$$v},expression:"checkAll"}},[_vm._v("Display all")])],1)],1),_c('el-checkbox-group',{staticClass:"checkbox-group",attrs:{"size":"small"},on:{"change":_vm.handleCheckedItemsChange},model:{value:(_vm.checkedItems),callback:function ($$v) {_vm.checkedItems=$$v},expression:"checkedItems"}},[_c('div',{staticClass:"checkbox-group-inner"},_vm._l((_vm.pathways),function(item){return _c('el-row',{key:item.type,attrs:{"label":item.type}},[_c('div',{staticClass:"checkbox-container"},[_c('el-checkbox',{staticClass:"my-checkbox",attrs:{"label":item.type,"checked":true},on:{"change":function($event){return _vm.visibilityToggle()}}},[_c('div',{staticClass:"path-visual",class:item.type}),_vm._v(" "+_vm._s(item.label)+" ")])],1)])}),1)])],1):_vm._e(),_c('div',{staticClass:"drawer-button",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },on:{"click":_vm.toggleDrawer}},[_c('i',{staticClass:"el-icon-arrow-left"})])]),_c('el-popover',{ref:"backgroundPopover",attrs:{"placement":"top-start","width":"175","appendToBody":false,"trigger":"click","popper-class":"background-popper"}},[_c('el-row',{staticClass:"backgroundText"},[_vm._v("Organs display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setColour},model:{value:(_vm.colourRadio),callback:function ($$v) {_vm.colourRadio=$$v},expression:"colourRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Colour")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Greyscale")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Outlines display")]),_c('el-row',{staticClass:"backgroundControl"},[_c('el-radio-group',{staticClass:"flatmap-radio",on:{"change":_vm.setOutlines},model:{value:(_vm.outlinesRadio),callback:function ($$v) {_vm.outlinesRadio=$$v},expression:"outlinesRadio"}},[_c('el-radio',{attrs:{"label":true}},[_vm._v("Show")]),_c('el-radio',{attrs:{"label":false}},[_vm._v("Hide")])],1)],1),_c('el-row',{staticClass:"backgroundSpacer"}),_c('el-row',{staticClass:"backgroundText"},[_vm._v("Change background")]),_c('el-row',{staticClass:"backgroundControl"},_vm._l((_vm.availableBackground),function(item){return _c('div',{key:item,class:['backgroundChoice', item, item == _vm.currentBackground ? 'active' :''],on:{"click":function($event){return _vm.backgroundChangeCallback(item)}}})}),0)],1),_c('el-popover',{attrs:{"content":"Change background color","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[3].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[3], "value", $$v)},expression:"hoverVisibilities[3].value"}},[_c('map-svg-icon',{directives:[{name:"popover",rawName:"v-popover:backgroundPopover",arg:"backgroundPopover"}],staticClass:"icon-button background-colour",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen },attrs:{"slot":"reference","icon":"changeBckgd"},nativeOn:{"mouseover":function($event){return _vm.showToolitip(3)},"mouseout":function($event){return _vm.hideToolitip(3)}},slot:"reference"})],1),_c('Tooltip',{ref:"tooltip",staticClass:"tooltip",attrs:{"content":_vm.tooltipContent},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
14762
14762
  var staticRenderFns = []
14763
14763
 
14764
14764
 
14765
- // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=289ef1f9&scoped=true&
14765
+ // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=6fc981d7&scoped=true&
14766
14766
 
14767
14767
  // EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
14768
14768
  var es_symbol_js_ = __webpack_require__("9b22");
@@ -14967,7 +14967,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
14967
14967
  var external_vue_ = __webpack_require__("8bbf");
14968
14968
  var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
14969
14969
 
14970
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=4a14f4de&scoped=true&
14970
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Tooltip.vue?vue&type=template&id=4a14f4de&scoped=true&
14971
14971
  var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),_c('div',{staticClass:"content-container scrollbar"},[(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.origins)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Origin")]),_vm._v(" "+_vm._s(_vm.originDescription)+" ")])])],1),_vm._l((_vm.origins),function(origin,i){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),(i != _vm.origins.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.originsWithDatasets.length > 0),expression:"originsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openDendrites}},[_vm._v(" Explore origin data ")])],2):_vm._e(),(this.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_vm._l((_vm.components),function(component,i){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" "),(i != _vm.components.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])})],2):_vm._e(),(this.destinations)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Destination")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Destination")]),_vm._v(" is where the axons terminate ")])])],1),_vm._l((_vm.destinations),function(destination,i){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),(i != _vm.destinations.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.destinationsWithDatasets.length > 0),expression:"destinationsWithDatasets.length > 0"}],staticClass:"button",on:{"click":_vm.openAxons}},[_vm._v(" Explore destination data ")])],2):_vm._e(),_c('el-button',{directives:[{name:"show",rawName:"v-show",value:(_vm.components.length > 0),expression:"components.length > 0"}],staticClass:"button",on:{"click":_vm.openAll}},[_vm._v(" Search for data on components ")]),(_vm.pubmedSearchUrl != '')?_c('el-button',{staticClass:"button",attrs:{"icon":"el-icon-notebook-2"},on:{"click":function($event){return _vm.openUrl(_vm.pubmedSearchUrl)}}},[_vm._v(" Open publications in pubmed ")]):_vm._e()],1)]):_vm._e()],1)}
14972
14972
  var Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns = []
14973
14973
 
@@ -15061,7 +15061,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
15061
15061
  var locale = __webpack_require__("4897");
15062
15062
  var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
15063
15063
 
15064
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=aae60614&scoped=true&
15064
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PubmedViewer.vue?vue&type=template&id=aae60614&scoped=true&
15065
15065
  var PubmedViewervue_type_template_id_aae60614_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pubmed-container"},[_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading.response),expression:"loading.response"}],staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Pubmed Resources")]),_c('br'),_c('el-carousel',{attrs:{"autoplay":false,"indicator-position":"outside","height":"250px","width":"200px"}},_vm._l((_vm.pubmeds),function(pub,i){return _c('el-carousel-item',{key:i},[_c('div',{staticClass:"attribute-content"},[_c('div',{domProps:{"innerHTML":_vm._s(pub.html)}}),_c('el-link',{staticClass:"el-link",attrs:{"href":pub.url,"underline":false,"target":"_blank"}},[_vm._v(_vm._s(pub.url))])],1)])}),1)],1)])}
15066
15066
  var PubmedViewervue_type_template_id_aae60614_scoped_true_staticRenderFns = []
15067
15067
 
@@ -15968,7 +15968,7 @@ var Tooltip_component = normalizeComponent(
15968
15968
  // EXTERNAL MODULE: external "@abi-software/svg-sprite"
15969
15969
  var svg_sprite_ = __webpack_require__("429c");
15970
15970
 
15971
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
15971
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
15972
15972
  var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"legends-container"},[_c('svg',{staticStyle:{"enable-background":"new 0 0 500 500"},attrs:{"version":"1.1","id":"Layer_1","x":"0px","y":"0px","viewBox":"0 0 500 500","xmlns":"http://www.w3.org/2000/svg","xmlns:bx":"https://boxy-svg.com"}},[_c('defs',[_c('bx:grid',{attrs:{"height":"30.447","width":"32.516","x":"0","y":"0"}})],1),_c('path',{staticClass:"st0 st0-translate",attrs:{"d":"M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"}}),_c('path',{staticClass:"st1",attrs:{"d":"M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"}}),_c('path',{staticClass:"st2",attrs:{"d":"M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 171.7975)"}},[_vm._v("Tissue region")]),_c('path',{staticClass:"st6",attrs:{"d":"M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 257.675)"}},[_vm._v("Brain nuclei")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 345.5266)"}},[_vm._v("Ganglia")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 433.1613)"}},[_vm._v("Nerve plexus")])])])}
15973
15973
  var Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns = []
15974
15974
 
@@ -16364,8 +16364,8 @@ var mapResize = function mapResize(map) {
16364
16364
  this.drawerOpen = !this.drawerOpen;
16365
16365
  },
16366
16366
 
16367
- /**
16368
- * Function to toggle colour/greyscale of organs.
16367
+ /**
16368
+ * Function to toggle colour/greyscale of organs.
16369
16369
  */
16370
16370
  setColour: function setColour(flag) {
16371
16371
  this.colourRadio = flag;
@@ -16378,8 +16378,8 @@ var mapResize = function mapResize(map) {
16378
16378
  }
16379
16379
  },
16380
16380
 
16381
- /**
16382
- * Function to toggle outlines f organs.
16381
+ /**
16382
+ * Function to toggle outlines f organs.
16383
16383
  */
16384
16384
  setOutlines: function setOutlines(flag) {
16385
16385
  this.outlineRadio = flag;
@@ -16392,9 +16392,9 @@ var mapResize = function mapResize(map) {
16392
16392
  }
16393
16393
  },
16394
16394
 
16395
- /**
16396
- * Function to toggle paths to default.
16397
- * Also called when the associated button is pressed.
16395
+ /**
16396
+ * Function to toggle paths to default.
16397
+ * Also called when the associated button is pressed.
16398
16398
  */
16399
16399
  resetView: function resetView() {
16400
16400
  if (this.mapImp) {
@@ -16407,9 +16407,9 @@ var mapResize = function mapResize(map) {
16407
16407
  }
16408
16408
  },
16409
16409
 
16410
- /**
16411
- * Function to zoom in.
16412
- * Also called when the associated button is pressed.
16410
+ /**
16411
+ * Function to zoom in.
16412
+ * Also called when the associated button is pressed.
16413
16413
  */
16414
16414
  zoomIn: function zoomIn() {
16415
16415
  if (this.mapImp) {
@@ -16417,9 +16417,9 @@ var mapResize = function mapResize(map) {
16417
16417
  }
16418
16418
  },
16419
16419
 
16420
- /**
16421
- * Function to zoom out.
16422
- * Also called when the associated button is pressed.
16420
+ /**
16421
+ * Function to zoom out.
16422
+ * Also called when the associated button is pressed.
16423
16423
  */
16424
16424
  zoomOut: function zoomOut() {
16425
16425
  if (this.mapImp) {
@@ -16457,6 +16457,7 @@ var mapResize = function mapResize(map) {
16457
16457
  var label = data.label;
16458
16458
  var resource = [data.models];
16459
16459
  var taxonomy = _this.entry;
16460
+ var flatmapId = _this.flatmapId;
16460
16461
 
16461
16462
  for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
16462
16463
  args[_key - 2] = arguments[_key];
@@ -16464,6 +16465,7 @@ var mapResize = function mapResize(map) {
16464
16465
 
16465
16466
  var payload = {
16466
16467
  dataset: data.dataset,
16468
+ flatmapId: flatmapId,
16467
16469
  taxonomy: taxonomy,
16468
16470
  resource: resource,
16469
16471
  label: label,
@@ -16659,6 +16661,7 @@ var mapResize = function mapResize(map) {
16659
16661
  if (this.mapImp) {
16660
16662
  var state = {
16661
16663
  entry: this.entry,
16664
+ flatmapId: this.flatmapId,
16662
16665
  viewport: this.mapImp.getState()
16663
16666
  };
16664
16667
  return state;
@@ -16668,8 +16671,8 @@ var mapResize = function mapResize(map) {
16668
16671
  },
16669
16672
  setState: function setState(state) {
16670
16673
  if (state) {
16671
- if (this.mapImp && state.entry) {
16672
- if (this.entry == state.entry) if (state.viewport) {
16674
+ if (this.mapImp && (state.entry || state.flatmapId)) {
16675
+ if (this.flatmapId && this.flatmapId == state.flatmapId || this.entry == state.entry) if (state.viewport) {
16673
16676
  this.mapImp.setState(state.viewport);
16674
16677
  }
16675
16678
  } else {
@@ -16690,8 +16693,14 @@ var mapResize = function mapResize(map) {
16690
16693
  };
16691
16694
  }
16692
16695
 
16693
- var entry = this.entry;
16694
- if (state && state.entry) entry = state.entry;
16696
+ var entry = this.flatmapId;
16697
+ if (state && state.flatmapId) entry = state.flatmapId;
16698
+
16699
+ if (!entry) {
16700
+ entry = this.entry;
16701
+ if (state && state.entry) entry = state.entry;
16702
+ }
16703
+
16695
16704
  var promise1 = this.mapManager.loadMap(entry, this.$refs.display, this.eventCallback(), {
16696
16705
  //fullscreenControl: false,
16697
16706
  //annotatable: false,
@@ -16719,7 +16728,7 @@ var mapResize = function mapResize(map) {
16719
16728
  if (_this3._viewportToBeSet) _this3.mapImp.setState(_this3._viewportToBeSet);else if (state && state.viewport) _this3.mapImp.setState(state.viewport);
16720
16729
  });
16721
16730
  } else if (state) {
16722
- if (this.entry == state.entry) this._viewportToBeSet = state.viewport;
16731
+ if (this.flatmapId == state.flatmapId || this.entry == state.entry) this._viewportToBeSet = state.viewport;
16723
16732
  }
16724
16733
  },
16725
16734
  showMinimap: function showMinimap(flag) {
@@ -16729,8 +16738,8 @@ var mapResize = function mapResize(map) {
16729
16738
  this.drawerOpen = flag;
16730
16739
  },
16731
16740
 
16732
- /**
16733
- * Function to display features with annotation matching the provided term.
16741
+ /**
16742
+ * Function to display features with annotation matching the provided term.
16734
16743
  */
16735
16744
  searchAndShowResult: function searchAndShowResult(term) {
16736
16745
  if (this.mapImp) {
@@ -16750,8 +16759,8 @@ var mapResize = function mapResize(map) {
16750
16759
  return false;
16751
16760
  },
16752
16761
 
16753
- /**
16754
- * Get the list of suggested terms
16762
+ /**
16763
+ * Get the list of suggested terms
16755
16764
  */
16756
16765
  searchSuggestions: function searchSuggestions(term) {
16757
16766
  if (this.mapImp) return this.mapImp.search(term);
@@ -16760,6 +16769,7 @@ var mapResize = function mapResize(map) {
16760
16769
  },
16761
16770
  props: {
16762
16771
  entry: String,
16772
+ flatmapId: String,
16763
16773
  featureInfo: {
16764
16774
  type: Boolean,
16765
16775
  default: false
@@ -16806,23 +16816,23 @@ var mapResize = function mapResize(map) {
16806
16816
  },
16807
16817
  latestChangesMessage: {
16808
16818
  type: String,
16809
- default: "Bladder connectivity can now be explored and searched on when selected! To see it, click on any of the paths coming from the bladder. Other pathways will be searchable soon."
16819
+ default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
16810
16820
  },
16811
16821
 
16812
- /**
16813
- * State containing state of the flatmap.
16822
+ /**
16823
+ * State containing state of the flatmap.
16814
16824
  */
16815
16825
  state: {
16816
16826
  type: Object,
16817
16827
  default: undefined
16818
16828
  },
16819
16829
 
16820
- /**
16821
- * Specify the endpoint of the flatmap server.
16830
+ /**
16831
+ * Specify the endpoint of the flatmap server.
16822
16832
  */
16823
16833
  flatmapAPI: {
16824
16834
  type: String,
16825
- default: "https://mapcore-demo.org/flatmaps/"
16835
+ default: "https://mapcore-demo.org/current/flatmap/v3/"
16826
16836
  },
16827
16837
  sparcAPI: {
16828
16838
  type: String,
@@ -16875,6 +16885,9 @@ var mapResize = function mapResize(map) {
16875
16885
  entry: function entry() {
16876
16886
  if (!this.state) this.createFlatmap();
16877
16887
  },
16888
+ flatmapId: function flatmapId() {
16889
+ if (!this.state) this.createFlatmap();
16890
+ },
16878
16891
  helpMode: function helpMode(val) {
16879
16892
  this.setHelpMode(val);
16880
16893
  },
@@ -16895,8 +16908,8 @@ var mapResize = function mapResize(map) {
16895
16908
  });
16896
16909
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
16897
16910
  /* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
16898
- // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=289ef1f9&scoped=true&lang=scss&
16899
- var FlatmapVuervue_type_style_index_0_id_289ef1f9_scoped_true_lang_scss_ = __webpack_require__("faaf");
16911
+ // EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=6fc981d7&scoped=true&lang=scss&
16912
+ var FlatmapVuervue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss_ = __webpack_require__("98f7");
16900
16913
 
16901
16914
  // CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
16902
16915
 
@@ -16913,18 +16926,18 @@ var FlatmapVuer_component = normalizeComponent(
16913
16926
  staticRenderFns,
16914
16927
  false,
16915
16928
  null,
16916
- "289ef1f9",
16929
+ "6fc981d7",
16917
16930
  null
16918
16931
 
16919
16932
  )
16920
16933
 
16921
16934
  /* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
16922
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0065945d-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=61ad0a54&scoped=true&
16923
- var MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"multi-container"},[_c('div',{staticStyle:{"position":"absolute","z-index":"10"}},[_c('div',{staticClass:"species-display-text"},[_vm._v(" Species ")]),_c('el-popover',{ref:"selectPopover",attrs:{"content":"Select a species","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.helpMode),callback:function ($$v) {_vm.helpMode=$$v},expression:"helpMode"}}),_c('el-select',{directives:[{name:"popover",rawName:"v-popover:selectPopover",arg:"selectPopover"}],staticClass:"select-box",attrs:{"id":"flatmap-select","popper-append-to-body":_vm.appendToBody,"placeholder":"Select","popper-class":"flatmap_dropdown"},on:{"change":_vm.flatmapChanged},model:{value:(_vm.activeSpecies),callback:function ($$v) {_vm.activeSpecies=$$v},expression:"activeSpecies"}},_vm._l((_vm.speciesList),function(item,key){return _c('el-option',{key:key,attrs:{"label":key,"value":key}},[_c('el-row',[_c('el-col',{attrs:{"span":8}},[_c('i',{class:item.iconClass})]),_c('el-col',{attrs:{"span":12}},[_vm._v(_vm._s(key))])],1)],1)}),1)],1),_vm._l((_vm.speciesList),function(item,key){return _c('FlatmapVuer',{directives:[{name:"show",rawName:"v-show",value:(_vm.activeSpecies==key),expression:"activeSpecies==key"}],key:key,ref:key,refInFor:true,staticStyle:{"height":"100%"},attrs:{"showLayer":_vm.showLayer,"entry":item.taxo,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI,"sparcAPI":_vm.sparcAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
16924
- var MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_staticRenderFns = []
16935
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/MultiFlatmapVuer.vue?vue&type=template&id=2328f3de&scoped=true&
16936
+ var MultiFlatmapVuervue_type_template_id_2328f3de_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"multi-container"},[_c('div',{staticStyle:{"position":"absolute","z-index":"10"}},[_c('div',{staticClass:"species-display-text"},[_vm._v(" Species ")]),_c('el-popover',{ref:"selectPopover",attrs:{"content":"Select a species","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.helpMode),callback:function ($$v) {_vm.helpMode=$$v},expression:"helpMode"}}),_c('el-select',{directives:[{name:"popover",rawName:"v-popover:selectPopover",arg:"selectPopover"}],staticClass:"select-box",attrs:{"id":"flatmap-select","popper-append-to-body":_vm.appendToBody,"placeholder":"Select","popper-class":"flatmap_dropdown"},on:{"change":_vm.flatmapChanged},model:{value:(_vm.activeSpecies),callback:function ($$v) {_vm.activeSpecies=$$v},expression:"activeSpecies"}},_vm._l((_vm.speciesList),function(item,key){return _c('el-option',{key:key,attrs:{"label":key,"value":key}},[_c('el-row',[_c('el-col',{attrs:{"span":8}},[_c('i',{class:item.iconClass})]),_c('el-col',{attrs:{"span":12}},[_vm._v(_vm._s(key))])],1)],1)}),1)],1),_vm._l((_vm.speciesList),function(item,key){return _c('FlatmapVuer',{directives:[{name:"show",rawName:"v-show",value:(_vm.activeSpecies==key),expression:"activeSpecies==key"}],key:key,ref:key,refInFor:true,staticStyle:{"height":"100%"},attrs:{"showLayer":_vm.showLayer,"entry":item.taxo,"flatmap-id":item.id,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI,"sparcAPI":_vm.sparcAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
16937
+ var MultiFlatmapVuervue_type_template_id_2328f3de_scoped_true_staticRenderFns = []
16925
16938
 
16926
16939
 
16927
- // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=61ad0a54&scoped=true&
16940
+ // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=2328f3de&scoped=true&
16928
16941
 
16929
16942
  // EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
16930
16943
  var popover = __webpack_require__("06f1");
@@ -17027,6 +17040,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
17027
17040
  //
17028
17041
  //
17029
17042
  //
17043
+ //
17030
17044
 
17031
17045
  /* eslint-disable no-alert, no-console */
17032
17046
 
@@ -17064,10 +17078,17 @@ external_vue_default.a.use(lib_popover_default.a);
17064
17078
  _this2.speciesLis = {};
17065
17079
  Object.keys(_this2.availableSpecies).forEach(function (key) {
17066
17080
  for (var i = 0; i < data.length; i++) {
17067
- if (data[i].taxon === _this2.availableSpecies[key].taxo) {
17081
+ if (_this2.availableSpecies[key].id === data[i].id) {
17068
17082
  _this2.speciesList[key] = _this2.availableSpecies[key];
17069
17083
  break;
17070
17084
  }
17085
+
17086
+ if (_this2.availableSpecies[key].taxo === data[i].taxon) {
17087
+ _this2.speciesList[key] = _this2.availableSpecies[key]; //make sure the id is unset as it fails to match the one on
17088
+
17089
+ _this2.speciesList[key].id = undefined;
17090
+ break;
17091
+ }
17071
17092
  }
17072
17093
  });
17073
17094
 
@@ -17122,11 +17143,11 @@ external_vue_default.a.use(lib_popover_default.a);
17122
17143
  this.$emit('flatmapChanged', this.activeSpecies);
17123
17144
  },
17124
17145
 
17125
- /**
17126
- * Function used for getting the current states of the scene. This exported states
17127
- * can be imported using the importStates method.
17128
- *
17129
- * @public
17146
+ /**
17147
+ * Function used for getting the current states of the scene. This exported states
17148
+ * can be imported using the importStates method.
17149
+ *
17150
+ * @public
17130
17151
  */
17131
17152
  getState: function getState() {
17132
17153
  var state = {
@@ -17138,11 +17159,11 @@ external_vue_default.a.use(lib_popover_default.a);
17138
17159
  return state;
17139
17160
  },
17140
17161
 
17141
- /**
17142
- * Function used for importing the states of the scene. This exported states
17143
- * can be imported using the read states method.
17144
- *
17145
- * @public
17162
+ /**
17163
+ * Function used for importing the states of the scene. This exported states
17164
+ * can be imported using the read states method.
17165
+ *
17166
+ * @public
17146
17167
  */
17147
17168
  setState: function setState(state) {
17148
17169
  var _this3 = this;
@@ -17190,9 +17211,9 @@ external_vue_default.a.use(lib_popover_default.a);
17190
17211
  default: false
17191
17212
  },
17192
17213
 
17193
- /**
17194
- * Initial species for the flatmap.
17195
- * This value will be ignored if a valid state object is provided.
17214
+ /**
17215
+ * Initial species for the flatmap.
17216
+ * This value will be ignored if a valid state object is provided.
17196
17217
  */
17197
17218
  initial: {
17198
17219
  type: String,
@@ -17220,20 +17241,20 @@ external_vue_default.a.use(lib_popover_default.a);
17220
17241
  },
17221
17242
  availableSpecies: {},
17222
17243
 
17223
- /**
17224
- * State containing state of the flatmap.
17244
+ /**
17245
+ * State containing state of the flatmap.
17225
17246
  */
17226
17247
  state: {
17227
17248
  type: Object,
17228
17249
  default: undefined
17229
17250
  },
17230
17251
 
17231
- /**
17232
- * Specify the endpoint of the flatmap server.
17252
+ /**
17253
+ * Specify the endpoint of the flatmap server.
17233
17254
  */
17234
17255
  flatmapAPI: {
17235
17256
  type: String,
17236
- default: "https://mapcore-demo.org/flatmaps/"
17257
+ default: "https://mapcore-demo.org/current/flatmap/v3/"
17237
17258
  },
17238
17259
  sparcAPI: {
17239
17260
  type: String,
@@ -17259,8 +17280,8 @@ external_vue_default.a.use(lib_popover_default.a);
17259
17280
  });
17260
17281
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
17261
17282
  /* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
17262
- // EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=61ad0a54&scoped=true&lang=scss&
17263
- var MultiFlatmapVuervue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss_ = __webpack_require__("dd4a");
17283
+ // EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=2328f3de&scoped=true&lang=scss&
17284
+ var MultiFlatmapVuervue_type_style_index_0_id_2328f3de_scoped_true_lang_scss_ = __webpack_require__("6f45");
17264
17285
 
17265
17286
  // CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
17266
17287
 
@@ -17273,11 +17294,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss_ =
17273
17294
 
17274
17295
  var MultiFlatmapVuer_component = normalizeComponent(
17275
17296
  components_MultiFlatmapVuervue_type_script_lang_js_,
17276
- MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_render,
17277
- MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_staticRenderFns,
17297
+ MultiFlatmapVuervue_type_template_id_2328f3de_scoped_true_render,
17298
+ MultiFlatmapVuervue_type_template_id_2328f3de_scoped_true_staticRenderFns,
17278
17299
  false,
17279
17300
  null,
17280
- "61ad0a54",
17301
+ "2328f3de",
17281
17302
  null
17282
17303
 
17283
17304
  )