@abi-software/flatmapvuer 0.2.4 → 0.2.5-alpha.0
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.
- package/LICENSE +201 -201
- package/README.md +105 -105
- package/babel.config.js +14 -14
- package/dist/flatmapvuer.common.js +44 -44
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.umd.js +44 -44
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +13916 -13897
- package/package.json +66 -66
- package/public/index.html +17 -17
- package/src/App.vue +159 -159
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/FlatmapVuer.vue +1282 -1282
- package/src/components/MultiFlatmapVuer.vue +340 -340
- package/src/components/PubmedViewer.vue +180 -180
- package/src/components/Tooltip.vue +267 -267
- package/src/components/index.js +9 -9
- package/src/icons/fonts/mapicon-species.eot +0 -0
- package/src/icons/fonts/mapicon-species.svg +14 -14
- package/src/icons/fonts/mapicon-species.ttf +0 -0
- package/src/icons/fonts/mapicon-species.woff +0 -0
- package/src/icons/mapicon-species-style.css +42 -42
- package/src/main.js +8 -8
- package/src/nerve-map.js +99 -0
- package/vue.config.js +31 -31
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -658,7 +658,7 @@ if (typeof window !== 'undefined') {
|
|
|
658
658
|
// Indicate to webpack that this file can be concatenated
|
|
659
659
|
/* harmony default export */ var setPublicPath = (null);
|
|
660
660
|
|
|
661
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
661
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"aeaf4152-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=5fb00c0b&scoped=true&
|
|
662
662
|
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%"}}),(_vm.displayWarning)?_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._e(),(_vm.displayWarning)?_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(),_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('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,"flatmapAPI":_vm.flatmapAPI},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
|
|
663
663
|
var staticRenderFns = []
|
|
664
664
|
|
|
@@ -868,7 +868,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
868
868
|
var external_vue_ = __webpack_require__("8bbf");
|
|
869
869
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
870
870
|
|
|
871
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
871
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"aeaf4152-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=4802b201&scoped=true&
|
|
872
872
|
var Tooltipvue_type_template_id_4802b201_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',{staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.titleCase(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),(_vm.content.featureId)?_c('pubmed-viewer',{staticClass:"block",attrs:{"flatmapAPI":_vm.flatmapAPI,"featureId":_vm.content.featureId},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),(_vm.content.components)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Components")]),_c('span',{staticClass:"attribute-content"},[_vm._v(_vm._s(_vm.content.components))])]):_vm._e(),(_vm.content.start)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('span',{staticClass:"attribute-content"},[_vm._v(_vm._s(_vm.content.start))])]):_vm._e(),(_vm.content.distribution)?_c('div',{staticClass:"block"},[_c('div',{staticClass:"attribute-title"},[_vm._v("Distribution")]),_c('span',{staticClass:"attribute-content"},[_vm._v(_vm._s(_vm.content.distribution))])]):_vm._e(),_vm._l((_vm.content.actions),function(action){return _c('el-button',{key:action.title,staticClass:"button",attrs:{"round":""},on:{"click":function($event){return _vm.resourceSelected(action)}}},[(action.title === 'Search for dataset' || action.title === 'View Dataset' )?_c('i',{staticClass:"el-icon-coin"}):_vm._e(),_vm._v(" "+_vm._s(action.title)+" ")])}),(_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()],2):_vm._e()],1)}
|
|
873
873
|
var Tooltipvue_type_template_id_4802b201_scoped_true_staticRenderFns = []
|
|
874
874
|
|
|
@@ -921,7 +921,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
921
921
|
var locale_ = __webpack_require__("7f9f");
|
|
922
922
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
923
923
|
|
|
924
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
924
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"aeaf4152-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=06d0e387&scoped=true&
|
|
925
925
|
var PubmedViewervue_type_template_id_06d0e387_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)])}
|
|
926
926
|
var PubmedViewervue_type_template_id_06d0e387_scoped_true_staticRenderFns = []
|
|
927
927
|
|
|
@@ -1072,8 +1072,8 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1072
1072
|
default: ''
|
|
1073
1073
|
},
|
|
1074
1074
|
|
|
1075
|
-
/**
|
|
1076
|
-
* Specify the endpoint of the flatmap server.
|
|
1075
|
+
/**
|
|
1076
|
+
* Specify the endpoint of the flatmap server.
|
|
1077
1077
|
*/
|
|
1078
1078
|
flatmapAPI: {
|
|
1079
1079
|
type: String,
|
|
@@ -1387,8 +1387,8 @@ var _titleCase = function titleCase(str) {
|
|
|
1387
1387
|
default: undefined
|
|
1388
1388
|
},
|
|
1389
1389
|
|
|
1390
|
-
/**
|
|
1391
|
-
* Specify the endpoint of the flatmap server.
|
|
1390
|
+
/**
|
|
1391
|
+
* Specify the endpoint of the flatmap server.
|
|
1392
1392
|
*/
|
|
1393
1393
|
flatmapAPI: {
|
|
1394
1394
|
type: String,
|
|
@@ -1761,8 +1761,8 @@ var mapResize = function mapResize(map) {
|
|
|
1761
1761
|
this.drawerOpen = !this.drawerOpen;
|
|
1762
1762
|
},
|
|
1763
1763
|
|
|
1764
|
-
/**
|
|
1765
|
-
* Function to toggle colour/greyscale of organs.
|
|
1764
|
+
/**
|
|
1765
|
+
* Function to toggle colour/greyscale of organs.
|
|
1766
1766
|
*/
|
|
1767
1767
|
setColour: function setColour(flag) {
|
|
1768
1768
|
this.colourRadio = flag;
|
|
@@ -1775,8 +1775,8 @@ var mapResize = function mapResize(map) {
|
|
|
1775
1775
|
}
|
|
1776
1776
|
},
|
|
1777
1777
|
|
|
1778
|
-
/**
|
|
1779
|
-
* Function to toggle outlines f organs.
|
|
1778
|
+
/**
|
|
1779
|
+
* Function to toggle outlines f organs.
|
|
1780
1780
|
*/
|
|
1781
1781
|
setOutlines: function setOutlines(flag) {
|
|
1782
1782
|
this.outlineRadio = flag;
|
|
@@ -1789,9 +1789,9 @@ var mapResize = function mapResize(map) {
|
|
|
1789
1789
|
}
|
|
1790
1790
|
},
|
|
1791
1791
|
|
|
1792
|
-
/**
|
|
1793
|
-
* Function to toggle paths to default.
|
|
1794
|
-
* Also called when the associated button is pressed.
|
|
1792
|
+
/**
|
|
1793
|
+
* Function to toggle paths to default.
|
|
1794
|
+
* Also called when the associated button is pressed.
|
|
1795
1795
|
*/
|
|
1796
1796
|
resetView: function resetView() {
|
|
1797
1797
|
if (this.mapImp) {
|
|
@@ -1804,9 +1804,9 @@ var mapResize = function mapResize(map) {
|
|
|
1804
1804
|
}
|
|
1805
1805
|
},
|
|
1806
1806
|
|
|
1807
|
-
/**
|
|
1808
|
-
* Function to zoom in.
|
|
1809
|
-
* Also called when the associated button is pressed.
|
|
1807
|
+
/**
|
|
1808
|
+
* Function to zoom in.
|
|
1809
|
+
* Also called when the associated button is pressed.
|
|
1810
1810
|
*/
|
|
1811
1811
|
zoomIn: function zoomIn() {
|
|
1812
1812
|
if (this.mapImp) {
|
|
@@ -1814,9 +1814,9 @@ var mapResize = function mapResize(map) {
|
|
|
1814
1814
|
}
|
|
1815
1815
|
},
|
|
1816
1816
|
|
|
1817
|
-
/**
|
|
1818
|
-
* Function to zoom out.
|
|
1819
|
-
* Also called when the associated button is pressed.
|
|
1817
|
+
/**
|
|
1818
|
+
* Function to zoom out.
|
|
1819
|
+
* Also called when the associated button is pressed.
|
|
1820
1820
|
*/
|
|
1821
1821
|
zoomOut: function zoomOut() {
|
|
1822
1822
|
if (this.mapImp) {
|
|
@@ -2114,8 +2114,8 @@ var mapResize = function mapResize(map) {
|
|
|
2114
2114
|
this.drawerOpen = flag;
|
|
2115
2115
|
},
|
|
2116
2116
|
|
|
2117
|
-
/**
|
|
2118
|
-
* Function to display features with annotation matching the provided term.
|
|
2117
|
+
/**
|
|
2118
|
+
* Function to display features with annotation matching the provided term.
|
|
2119
2119
|
*/
|
|
2120
2120
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
2121
2121
|
if (this.mapImp) {
|
|
@@ -2171,16 +2171,16 @@ var mapResize = function mapResize(map) {
|
|
|
2171
2171
|
default: "Beta feature - This map is based on the connectivity of a rat. New connectivity and species specificity will be added as the SPARC program progress."
|
|
2172
2172
|
},
|
|
2173
2173
|
|
|
2174
|
-
/**
|
|
2175
|
-
* State containing state of the flatmap.
|
|
2174
|
+
/**
|
|
2175
|
+
* State containing state of the flatmap.
|
|
2176
2176
|
*/
|
|
2177
2177
|
state: {
|
|
2178
2178
|
type: Object,
|
|
2179
2179
|
default: undefined
|
|
2180
2180
|
},
|
|
2181
2181
|
|
|
2182
|
-
/**
|
|
2183
|
-
* Specify the endpoint of the flatmap server.
|
|
2182
|
+
/**
|
|
2183
|
+
* Specify the endpoint of the flatmap server.
|
|
2184
2184
|
*/
|
|
2185
2185
|
flatmapAPI: {
|
|
2186
2186
|
type: String,
|
|
@@ -2267,7 +2267,7 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
2267
2267
|
)
|
|
2268
2268
|
|
|
2269
2269
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
2270
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2270
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"aeaf4152-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=01b30450&scoped=true&
|
|
2271
2271
|
var MultiFlatmapVuervue_type_template_id_01b30450_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,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
|
|
2272
2272
|
var MultiFlatmapVuervue_type_template_id_01b30450_scoped_true_staticRenderFns = []
|
|
2273
2273
|
|
|
@@ -2461,11 +2461,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2461
2461
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
2462
2462
|
},
|
|
2463
2463
|
|
|
2464
|
-
/**
|
|
2465
|
-
* Function used for getting the current states of the scene. This exported states
|
|
2466
|
-
* can be imported using the importStates method.
|
|
2467
|
-
*
|
|
2468
|
-
* @public
|
|
2464
|
+
/**
|
|
2465
|
+
* Function used for getting the current states of the scene. This exported states
|
|
2466
|
+
* can be imported using the importStates method.
|
|
2467
|
+
*
|
|
2468
|
+
* @public
|
|
2469
2469
|
*/
|
|
2470
2470
|
getState: function getState() {
|
|
2471
2471
|
var state = {
|
|
@@ -2477,11 +2477,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2477
2477
|
return state;
|
|
2478
2478
|
},
|
|
2479
2479
|
|
|
2480
|
-
/**
|
|
2481
|
-
* Function used for importing the states of the scene. This exported states
|
|
2482
|
-
* can be imported using the read states method.
|
|
2483
|
-
*
|
|
2484
|
-
* @public
|
|
2480
|
+
/**
|
|
2481
|
+
* Function used for importing the states of the scene. This exported states
|
|
2482
|
+
* can be imported using the read states method.
|
|
2483
|
+
*
|
|
2484
|
+
* @public
|
|
2485
2485
|
*/
|
|
2486
2486
|
setState: function setState(state) {
|
|
2487
2487
|
var _this2 = this;
|
|
@@ -2529,9 +2529,9 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2529
2529
|
default: false
|
|
2530
2530
|
},
|
|
2531
2531
|
|
|
2532
|
-
/**
|
|
2533
|
-
* Initial species for the flatmap.
|
|
2534
|
-
* This value will be ignored if a valid state object is provided.
|
|
2532
|
+
/**
|
|
2533
|
+
* Initial species for the flatmap.
|
|
2534
|
+
* This value will be ignored if a valid state object is provided.
|
|
2535
2535
|
*/
|
|
2536
2536
|
initial: {
|
|
2537
2537
|
type: String,
|
|
@@ -2559,16 +2559,16 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2559
2559
|
},
|
|
2560
2560
|
availableSpecies: {},
|
|
2561
2561
|
|
|
2562
|
-
/**
|
|
2563
|
-
* State containing state of the flatmap.
|
|
2562
|
+
/**
|
|
2563
|
+
* State containing state of the flatmap.
|
|
2564
2564
|
*/
|
|
2565
2565
|
state: {
|
|
2566
2566
|
type: Object,
|
|
2567
2567
|
default: undefined
|
|
2568
2568
|
},
|
|
2569
2569
|
|
|
2570
|
-
/**
|
|
2571
|
-
* Specify the endpoint of the flatmap server.
|
|
2570
|
+
/**
|
|
2571
|
+
* Specify the endpoint of the flatmap server.
|
|
2572
2572
|
*/
|
|
2573
2573
|
flatmapAPI: {
|
|
2574
2574
|
type: String,
|