@abi-software/flatmapvuer 0.3.3 → 0.3.5
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 +172 -101
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +172 -101
- package/dist/flatmapvuer.umd.js.map +1 -1
- package/dist/flatmapvuer.umd.min.js +1 -1
- package/dist/flatmapvuer.umd.min.js.map +1 -1
- package/package-lock.json +13923 -13904
- package/package.json +67 -66
- package/public/index.html +17 -17
- package/src/App.vue +161 -161
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/EventBus.js +2 -2
- package/src/components/FlatmapVuer.vue +1358 -1358
- package/src/components/MultiFlatmapVuer.vue +351 -351
- package/src/components/PubmedViewer.vue +194 -194
- package/src/components/Tooltip.vue +587 -519
- 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
|
@@ -9027,13 +9027,6 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
9027
9027
|
|
|
9028
9028
|
/***/ }),
|
|
9029
9029
|
|
|
9030
|
-
/***/ "99f8":
|
|
9031
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9032
|
-
|
|
9033
|
-
// extracted by mini-css-extract-plugin
|
|
9034
|
-
|
|
9035
|
-
/***/ }),
|
|
9036
|
-
|
|
9037
9030
|
/***/ "9b22":
|
|
9038
9031
|
/***/ (function(module, exports) {
|
|
9039
9032
|
|
|
@@ -10522,6 +10515,17 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
10522
10515
|
|
|
10523
10516
|
module.exports = require("css-element-queries/src/ResizeSensor");
|
|
10524
10517
|
|
|
10518
|
+
/***/ }),
|
|
10519
|
+
|
|
10520
|
+
/***/ "b2d3":
|
|
10521
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10522
|
+
|
|
10523
|
+
"use strict";
|
|
10524
|
+
/* 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_b8a1a320_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f37d");
|
|
10525
|
+
/* 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_b8a1a320_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_b8a1a320_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
10526
|
+
/* unused harmony reexport * */
|
|
10527
|
+
|
|
10528
|
+
|
|
10525
10529
|
/***/ }),
|
|
10526
10530
|
|
|
10527
10531
|
/***/ "b2d6":
|
|
@@ -11180,17 +11184,6 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
11180
11184
|
|
|
11181
11185
|
module.exports = require("core-js/modules/es.array.concat.js");
|
|
11182
11186
|
|
|
11183
|
-
/***/ }),
|
|
11184
|
-
|
|
11185
|
-
/***/ "d006":
|
|
11186
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11187
|
-
|
|
11188
|
-
"use strict";
|
|
11189
|
-
/* 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_1e355414_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("99f8");
|
|
11190
|
-
/* 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_1e355414_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_1e355414_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11191
|
-
/* unused harmony reexport * */
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
11187
|
/***/ }),
|
|
11195
11188
|
|
|
11196
11189
|
/***/ "d010":
|
|
@@ -13181,6 +13174,13 @@ exports.default = {
|
|
|
13181
13174
|
|
|
13182
13175
|
/***/ }),
|
|
13183
13176
|
|
|
13177
|
+
/***/ "f37d":
|
|
13178
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
13179
|
+
|
|
13180
|
+
// extracted by mini-css-extract-plugin
|
|
13181
|
+
|
|
13182
|
+
/***/ }),
|
|
13183
|
+
|
|
13184
13184
|
/***/ "f3ad":
|
|
13185
13185
|
/***/ (function(module, exports, __webpack_require__) {
|
|
13186
13186
|
|
|
@@ -14730,7 +14730,7 @@ if (typeof window !== 'undefined') {
|
|
|
14730
14730
|
// Indicate to webpack that this file can be concatenated
|
|
14731
14731
|
/* harmony default export */ var setPublicPath = (null);
|
|
14732
14732
|
|
|
14733
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14733
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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=b0476142&scoped=true&
|
|
14734
14734
|
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('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)}
|
|
14735
14735
|
var staticRenderFns = []
|
|
14736
14736
|
|
|
@@ -14940,12 +14940,12 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14940
14940
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14941
14941
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14942
14942
|
|
|
14943
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14944
|
-
var
|
|
14945
|
-
var
|
|
14943
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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=b8a1a320&scoped=true&
|
|
14944
|
+
var Tooltipvue_type_template_id_b8a1a320_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){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),_c('div',{staticClass:"seperator"})])}),_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){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" "),_c('div',{staticClass:"seperator"})])})],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){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),_c('div',{staticClass:"seperator"})])}),_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)}
|
|
14945
|
+
var Tooltipvue_type_template_id_b8a1a320_scoped_true_staticRenderFns = []
|
|
14946
14946
|
|
|
14947
14947
|
|
|
14948
|
-
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=
|
|
14948
|
+
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=b8a1a320&scoped=true&
|
|
14949
14949
|
|
|
14950
14950
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
14951
14951
|
|
|
@@ -15034,7 +15034,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
15034
15034
|
var locale = __webpack_require__("4897");
|
|
15035
15035
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
15036
15036
|
|
|
15037
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15037
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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=1d12a6d3&scoped=true&
|
|
15038
15038
|
var PubmedViewervue_type_template_id_1d12a6d3_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)])}
|
|
15039
15039
|
var PubmedViewervue_type_template_id_1d12a6d3_scoped_true_staticRenderFns = []
|
|
15040
15040
|
|
|
@@ -15550,6 +15550,9 @@ var EventBus = new external_vue_default.a();
|
|
|
15550
15550
|
//
|
|
15551
15551
|
//
|
|
15552
15552
|
//
|
|
15553
|
+
//
|
|
15554
|
+
//
|
|
15555
|
+
//
|
|
15553
15556
|
|
|
15554
15557
|
/* eslint-disable no-alert, no-console */
|
|
15555
15558
|
|
|
@@ -15571,6 +15574,12 @@ var _titleCase = function titleCase(str) {
|
|
|
15571
15574
|
});
|
|
15572
15575
|
};
|
|
15573
15576
|
|
|
15577
|
+
var inArray = function inArray(ar1, ar2) {
|
|
15578
|
+
var as1 = JSON.stringify(ar1);
|
|
15579
|
+
var as2 = JSON.stringify(ar2);
|
|
15580
|
+
return as1.indexOf(as2) !== -1;
|
|
15581
|
+
};
|
|
15582
|
+
|
|
15574
15583
|
var _capitalise = function capitalise(str) {
|
|
15575
15584
|
if (str) return str.charAt(0).toUpperCase() + str.slice(1);
|
|
15576
15585
|
return "";
|
|
@@ -15674,6 +15683,38 @@ var _capitalise = function capitalise(str) {
|
|
|
15674
15683
|
pubmedSearchUrlUpdate: function pubmedSearchUrlUpdate(val) {
|
|
15675
15684
|
this.pubmedSearchUrl = val;
|
|
15676
15685
|
},
|
|
15686
|
+
findAllIdsFromConnectivity: function findAllIdsFromConnectivity(connectivity) {
|
|
15687
|
+
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15688
|
+
|
|
15689
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15690
|
+
|
|
15691
|
+
|
|
15692
|
+
var found = [];
|
|
15693
|
+
nodes.forEach(function (n) {
|
|
15694
|
+
if (Array.isArray(n)) {
|
|
15695
|
+
found.push(n.flat());
|
|
15696
|
+
} else {
|
|
15697
|
+
found.push(n);
|
|
15698
|
+
}
|
|
15699
|
+
});
|
|
15700
|
+
return _toConsumableArray(new Set(found.flat()));
|
|
15701
|
+
},
|
|
15702
|
+
flattenConntectivity: function flattenConntectivity(connectivity) {
|
|
15703
|
+
var dnodes = connectivity.flat(); // get nodes from edgelist
|
|
15704
|
+
|
|
15705
|
+
var nodes = _toConsumableArray(new Set(dnodes)); // remove duplicates
|
|
15706
|
+
|
|
15707
|
+
|
|
15708
|
+
var found = [];
|
|
15709
|
+
nodes.forEach(function (n) {
|
|
15710
|
+
if (Array.isArray(n)) {
|
|
15711
|
+
found.push(n.flat());
|
|
15712
|
+
} else {
|
|
15713
|
+
found.push(n);
|
|
15714
|
+
}
|
|
15715
|
+
});
|
|
15716
|
+
return found.flat();
|
|
15717
|
+
},
|
|
15677
15718
|
findComponents: function findComponents(connectivity) {
|
|
15678
15719
|
var dnodes = connectivity.connectivity.flat(); // get nodes from edgelist
|
|
15679
15720
|
|
|
@@ -15683,30 +15724,21 @@ var _capitalise = function capitalise(str) {
|
|
|
15683
15724
|
var found = [];
|
|
15684
15725
|
var terminal = false;
|
|
15685
15726
|
nodes.forEach(function (node) {
|
|
15686
|
-
var n = node.flat(); // Find all terms on the node
|
|
15687
|
-
|
|
15688
15727
|
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)
|
|
15689
15728
|
|
|
15690
|
-
|
|
15691
|
-
|
|
15692
|
-
|
|
15693
|
-
}
|
|
15729
|
+
if (inArray(connectivity.axons, node)) {
|
|
15730
|
+
terminal = true;
|
|
15731
|
+
}
|
|
15694
15732
|
|
|
15695
|
-
|
|
15696
|
-
|
|
15697
|
-
|
|
15698
|
-
});
|
|
15733
|
+
if (inArray(connectivity.dendrites, node)) {
|
|
15734
|
+
terminal = true;
|
|
15735
|
+
}
|
|
15699
15736
|
|
|
15700
15737
|
if (!terminal) {
|
|
15701
15738
|
found.push(node);
|
|
15702
15739
|
}
|
|
15703
|
-
});
|
|
15704
|
-
|
|
15705
|
-
var foundUnique = _toConsumableArray(new Set(found.map(function (n) {
|
|
15706
|
-
return n[0];
|
|
15707
|
-
})));
|
|
15708
|
-
|
|
15709
|
-
return foundUnique;
|
|
15740
|
+
});
|
|
15741
|
+
return found;
|
|
15710
15742
|
},
|
|
15711
15743
|
getOrganCuries: function getOrganCuries() {
|
|
15712
15744
|
var _this = this;
|
|
@@ -15773,9 +15805,37 @@ var _capitalise = function capitalise(str) {
|
|
|
15773
15805
|
});
|
|
15774
15806
|
});
|
|
15775
15807
|
},
|
|
15776
|
-
|
|
15808
|
+
createComponentsLabelList: function createComponentsLabelList(components, lookUp) {
|
|
15777
15809
|
var _this3 = this;
|
|
15778
15810
|
|
|
15811
|
+
var labelList = [];
|
|
15812
|
+
components.forEach(function (n) {
|
|
15813
|
+
labelList.push(_this3.createLabelFromNeuralNode(n[0]), lookUp);
|
|
15814
|
+
|
|
15815
|
+
if (n.length === 2) {
|
|
15816
|
+
labelList.push(_this3.createLabelFromNeuralNode(n[1]), lookUp);
|
|
15817
|
+
}
|
|
15818
|
+
});
|
|
15819
|
+
return labelList;
|
|
15820
|
+
},
|
|
15821
|
+
createLabelFromNeuralNode: function createLabelFromNeuralNode(node, lookUp) {
|
|
15822
|
+
var label = lookUp[node[0]];
|
|
15823
|
+
|
|
15824
|
+
if (node.length === 2 && node[1].length > 0) {
|
|
15825
|
+
node[1].forEach(function (n) {
|
|
15826
|
+
if (lookUp[n] == undefined) {
|
|
15827
|
+
label += ", ".concat(n);
|
|
15828
|
+
} else {
|
|
15829
|
+
label += ", ".concat(lookUp[n]);
|
|
15830
|
+
}
|
|
15831
|
+
});
|
|
15832
|
+
}
|
|
15833
|
+
|
|
15834
|
+
return label;
|
|
15835
|
+
},
|
|
15836
|
+
pathwayQuery: function pathwayQuery(keastIds) {
|
|
15837
|
+
var _this4 = this;
|
|
15838
|
+
|
|
15779
15839
|
this.destinations = [];
|
|
15780
15840
|
this.origins = [];
|
|
15781
15841
|
this.components = [];
|
|
@@ -15793,36 +15853,47 @@ var _capitalise = function capitalise(str) {
|
|
|
15793
15853
|
}).then(function (response) {
|
|
15794
15854
|
return response.json();
|
|
15795
15855
|
}).then(function (data) {
|
|
15796
|
-
var connectivity = JSON.parse(data.values[0][0]);
|
|
15856
|
+
var connectivity = JSON.parse(data.values[0][0]); // Filter the origin and destinations from components
|
|
15857
|
+
|
|
15858
|
+
var components = _this4.findComponents(connectivity); // process the nodes for finding datasets
|
|
15797
15859
|
|
|
15798
|
-
var components = _this3.findComponents(connectivity); // Create list of ids to get labels for
|
|
15799
15860
|
|
|
15861
|
+
var componentsFlat = _this4.flattenConntectivity(components);
|
|
15800
15862
|
|
|
15801
|
-
var
|
|
15863
|
+
var axons = connectivity.axons;
|
|
15864
|
+
var dendrites = connectivity.dendrites;
|
|
15802
15865
|
|
|
15803
|
-
|
|
15804
|
-
|
|
15805
|
-
|
|
15866
|
+
var axonsFlat = _this4.flattenConntectivity(axons);
|
|
15867
|
+
|
|
15868
|
+
var dendritesFlat = _this4.flattenConntectivity(dendrites);
|
|
15869
|
+
|
|
15870
|
+
var conIds = _this4.findAllIdsFromConnectivity(connectivity); // Create list of ids to get labels for
|
|
15871
|
+
// Create readable labels from the nodes. Setting this to 'this.origins' updates the display
|
|
15872
|
+
|
|
15873
|
+
|
|
15874
|
+
_this4.createLabelLookup(conIds).then(function (lookUp) {
|
|
15875
|
+
_this4.destinations = axons.map(function (a) {
|
|
15876
|
+
return _this4.createLabelFromNeuralNode(a, lookUp);
|
|
15806
15877
|
});
|
|
15807
|
-
|
|
15808
|
-
return lookUp
|
|
15878
|
+
_this4.origins = dendrites.map(function (d) {
|
|
15879
|
+
return _this4.createLabelFromNeuralNode(d, lookUp);
|
|
15809
15880
|
});
|
|
15810
|
-
|
|
15811
|
-
return lookUp
|
|
15881
|
+
_this4.components = components.map(function (c) {
|
|
15882
|
+
return _this4.createLabelFromNeuralNode(c, lookUp);
|
|
15812
15883
|
});
|
|
15813
15884
|
}); // Filter for the anatomy which is annotated on datasets
|
|
15814
15885
|
|
|
15815
15886
|
|
|
15816
|
-
|
|
15817
|
-
return
|
|
15887
|
+
_this4.destinationsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
15888
|
+
return axonsFlat.indexOf(ub.id) !== -1;
|
|
15818
15889
|
});
|
|
15819
|
-
|
|
15820
|
-
return
|
|
15890
|
+
_this4.originsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
15891
|
+
return dendritesFlat.indexOf(ub.id) !== -1;
|
|
15821
15892
|
});
|
|
15822
|
-
|
|
15823
|
-
return
|
|
15893
|
+
_this4.componentsWithDatasets = _this4.uberons.filter(function (ub) {
|
|
15894
|
+
return componentsFlat.indexOf(ub.id) !== -1;
|
|
15824
15895
|
});
|
|
15825
|
-
|
|
15896
|
+
_this4.loading = false;
|
|
15826
15897
|
}).catch(function (error) {
|
|
15827
15898
|
console.error('Error:', error);
|
|
15828
15899
|
});
|
|
@@ -15831,8 +15902,8 @@ var _capitalise = function capitalise(str) {
|
|
|
15831
15902
|
});
|
|
15832
15903
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=script&lang=js&
|
|
15833
15904
|
/* harmony default export */ var components_Tooltipvue_type_script_lang_js_ = (Tooltipvue_type_script_lang_js_);
|
|
15834
|
-
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=
|
|
15835
|
-
var
|
|
15905
|
+
// EXTERNAL MODULE: ./src/components/Tooltip.vue?vue&type=style&index=0&id=b8a1a320&scoped=true&lang=scss&
|
|
15906
|
+
var Tooltipvue_type_style_index_0_id_b8a1a320_scoped_true_lang_scss_ = __webpack_require__("b2d3");
|
|
15836
15907
|
|
|
15837
15908
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue
|
|
15838
15909
|
|
|
@@ -15845,11 +15916,11 @@ var Tooltipvue_type_style_index_0_id_1e355414_scoped_true_lang_scss_ = __webpack
|
|
|
15845
15916
|
|
|
15846
15917
|
var Tooltip_component = normalizeComponent(
|
|
15847
15918
|
components_Tooltipvue_type_script_lang_js_,
|
|
15848
|
-
|
|
15849
|
-
|
|
15919
|
+
Tooltipvue_type_template_id_b8a1a320_scoped_true_render,
|
|
15920
|
+
Tooltipvue_type_template_id_b8a1a320_scoped_true_staticRenderFns,
|
|
15850
15921
|
false,
|
|
15851
15922
|
null,
|
|
15852
|
-
"
|
|
15923
|
+
"b8a1a320",
|
|
15853
15924
|
null
|
|
15854
15925
|
|
|
15855
15926
|
)
|
|
@@ -16192,8 +16263,8 @@ var mapResize = function mapResize(map) {
|
|
|
16192
16263
|
this.drawerOpen = !this.drawerOpen;
|
|
16193
16264
|
},
|
|
16194
16265
|
|
|
16195
|
-
/**
|
|
16196
|
-
* Function to toggle colour/greyscale of organs.
|
|
16266
|
+
/**
|
|
16267
|
+
* Function to toggle colour/greyscale of organs.
|
|
16197
16268
|
*/
|
|
16198
16269
|
setColour: function setColour(flag) {
|
|
16199
16270
|
this.colourRadio = flag;
|
|
@@ -16206,8 +16277,8 @@ var mapResize = function mapResize(map) {
|
|
|
16206
16277
|
}
|
|
16207
16278
|
},
|
|
16208
16279
|
|
|
16209
|
-
/**
|
|
16210
|
-
* Function to toggle outlines f organs.
|
|
16280
|
+
/**
|
|
16281
|
+
* Function to toggle outlines f organs.
|
|
16211
16282
|
*/
|
|
16212
16283
|
setOutlines: function setOutlines(flag) {
|
|
16213
16284
|
this.outlineRadio = flag;
|
|
@@ -16220,9 +16291,9 @@ var mapResize = function mapResize(map) {
|
|
|
16220
16291
|
}
|
|
16221
16292
|
},
|
|
16222
16293
|
|
|
16223
|
-
/**
|
|
16224
|
-
* Function to toggle paths to default.
|
|
16225
|
-
* Also called when the associated button is pressed.
|
|
16294
|
+
/**
|
|
16295
|
+
* Function to toggle paths to default.
|
|
16296
|
+
* Also called when the associated button is pressed.
|
|
16226
16297
|
*/
|
|
16227
16298
|
resetView: function resetView() {
|
|
16228
16299
|
if (this.mapImp) {
|
|
@@ -16235,9 +16306,9 @@ var mapResize = function mapResize(map) {
|
|
|
16235
16306
|
}
|
|
16236
16307
|
},
|
|
16237
16308
|
|
|
16238
|
-
/**
|
|
16239
|
-
* Function to zoom in.
|
|
16240
|
-
* Also called when the associated button is pressed.
|
|
16309
|
+
/**
|
|
16310
|
+
* Function to zoom in.
|
|
16311
|
+
* Also called when the associated button is pressed.
|
|
16241
16312
|
*/
|
|
16242
16313
|
zoomIn: function zoomIn() {
|
|
16243
16314
|
if (this.mapImp) {
|
|
@@ -16245,9 +16316,9 @@ var mapResize = function mapResize(map) {
|
|
|
16245
16316
|
}
|
|
16246
16317
|
},
|
|
16247
16318
|
|
|
16248
|
-
/**
|
|
16249
|
-
* Function to zoom out.
|
|
16250
|
-
* Also called when the associated button is pressed.
|
|
16319
|
+
/**
|
|
16320
|
+
* Function to zoom out.
|
|
16321
|
+
* Also called when the associated button is pressed.
|
|
16251
16322
|
*/
|
|
16252
16323
|
zoomOut: function zoomOut() {
|
|
16253
16324
|
if (this.mapImp) {
|
|
@@ -16557,8 +16628,8 @@ var mapResize = function mapResize(map) {
|
|
|
16557
16628
|
this.drawerOpen = flag;
|
|
16558
16629
|
},
|
|
16559
16630
|
|
|
16560
|
-
/**
|
|
16561
|
-
* Function to display features with annotation matching the provided term.
|
|
16631
|
+
/**
|
|
16632
|
+
* Function to display features with annotation matching the provided term.
|
|
16562
16633
|
*/
|
|
16563
16634
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
16564
16635
|
if (this.mapImp) {
|
|
@@ -16629,16 +16700,16 @@ var mapResize = function mapResize(map) {
|
|
|
16629
16700
|
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."
|
|
16630
16701
|
},
|
|
16631
16702
|
|
|
16632
|
-
/**
|
|
16633
|
-
* State containing state of the flatmap.
|
|
16703
|
+
/**
|
|
16704
|
+
* State containing state of the flatmap.
|
|
16634
16705
|
*/
|
|
16635
16706
|
state: {
|
|
16636
16707
|
type: Object,
|
|
16637
16708
|
default: undefined
|
|
16638
16709
|
},
|
|
16639
16710
|
|
|
16640
|
-
/**
|
|
16641
|
-
* Specify the endpoint of the flatmap server.
|
|
16711
|
+
/**
|
|
16712
|
+
* Specify the endpoint of the flatmap server.
|
|
16642
16713
|
*/
|
|
16643
16714
|
flatmapAPI: {
|
|
16644
16715
|
type: String,
|
|
@@ -16739,7 +16810,7 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16739
16810
|
)
|
|
16740
16811
|
|
|
16741
16812
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16742
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16813
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f96242d6-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&
|
|
16743
16814
|
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)}
|
|
16744
16815
|
var MultiFlatmapVuervue_type_template_id_61ad0a54_scoped_true_staticRenderFns = []
|
|
16745
16816
|
|
|
@@ -16942,11 +17013,11 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
16942
17013
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
16943
17014
|
},
|
|
16944
17015
|
|
|
16945
|
-
/**
|
|
16946
|
-
* Function used for getting the current states of the scene. This exported states
|
|
16947
|
-
* can be imported using the importStates method.
|
|
16948
|
-
*
|
|
16949
|
-
* @public
|
|
17016
|
+
/**
|
|
17017
|
+
* Function used for getting the current states of the scene. This exported states
|
|
17018
|
+
* can be imported using the importStates method.
|
|
17019
|
+
*
|
|
17020
|
+
* @public
|
|
16950
17021
|
*/
|
|
16951
17022
|
getState: function getState() {
|
|
16952
17023
|
var state = {
|
|
@@ -16958,11 +17029,11 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
16958
17029
|
return state;
|
|
16959
17030
|
},
|
|
16960
17031
|
|
|
16961
|
-
/**
|
|
16962
|
-
* Function used for importing the states of the scene. This exported states
|
|
16963
|
-
* can be imported using the read states method.
|
|
16964
|
-
*
|
|
16965
|
-
* @public
|
|
17032
|
+
/**
|
|
17033
|
+
* Function used for importing the states of the scene. This exported states
|
|
17034
|
+
* can be imported using the read states method.
|
|
17035
|
+
*
|
|
17036
|
+
* @public
|
|
16966
17037
|
*/
|
|
16967
17038
|
setState: function setState(state) {
|
|
16968
17039
|
var _this3 = this;
|
|
@@ -17010,9 +17081,9 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17010
17081
|
default: false
|
|
17011
17082
|
},
|
|
17012
17083
|
|
|
17013
|
-
/**
|
|
17014
|
-
* Initial species for the flatmap.
|
|
17015
|
-
* This value will be ignored if a valid state object is provided.
|
|
17084
|
+
/**
|
|
17085
|
+
* Initial species for the flatmap.
|
|
17086
|
+
* This value will be ignored if a valid state object is provided.
|
|
17016
17087
|
*/
|
|
17017
17088
|
initial: {
|
|
17018
17089
|
type: String,
|
|
@@ -17040,16 +17111,16 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17040
17111
|
},
|
|
17041
17112
|
availableSpecies: {},
|
|
17042
17113
|
|
|
17043
|
-
/**
|
|
17044
|
-
* State containing state of the flatmap.
|
|
17114
|
+
/**
|
|
17115
|
+
* State containing state of the flatmap.
|
|
17045
17116
|
*/
|
|
17046
17117
|
state: {
|
|
17047
17118
|
type: Object,
|
|
17048
17119
|
default: undefined
|
|
17049
17120
|
},
|
|
17050
17121
|
|
|
17051
|
-
/**
|
|
17052
|
-
* Specify the endpoint of the flatmap server.
|
|
17122
|
+
/**
|
|
17123
|
+
* Specify the endpoint of the flatmap server.
|
|
17053
17124
|
*/
|
|
17054
17125
|
flatmapAPI: {
|
|
17055
17126
|
type: String,
|