@abi-software/flatmapvuer 0.3.0-beta-2-upstream-downstream-7 → 0.3.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 +93 -114
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +93 -114
- 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 -13923
- package/package.json +66 -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 +1308 -1326
- package/src/components/MultiFlatmapVuer.vue +349 -349
- package/src/components/PubmedViewer.vue +194 -194
- package/src/components/Tooltip.vue +494 -494
- 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/vue.config.js +31 -31
- package/src/components/flatmapQueries.js +0 -0
- package/src/nerve-map.js +0 -99
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -96,6 +96,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
96
96
|
/************************************************************************/
|
|
97
97
|
/******/ ({
|
|
98
98
|
|
|
99
|
+
/***/ "0211":
|
|
100
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
101
|
+
|
|
102
|
+
"use strict";
|
|
103
|
+
/* 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_7306edab_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9c21");
|
|
104
|
+
/* 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_7306edab_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_7306edab_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
105
|
+
/* unused harmony reexport * */
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
/***/ }),
|
|
109
|
+
|
|
99
110
|
/***/ "06f1":
|
|
100
111
|
/***/ (function(module, exports, __webpack_require__) {
|
|
101
112
|
|
|
@@ -899,17 +910,6 @@ exports.default = {
|
|
|
899
910
|
}
|
|
900
911
|
};
|
|
901
912
|
|
|
902
|
-
/***/ }),
|
|
903
|
-
|
|
904
|
-
/***/ "2ee8":
|
|
905
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
906
|
-
|
|
907
|
-
"use strict";
|
|
908
|
-
/* 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_db38767a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c017");
|
|
909
|
-
/* 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_db38767a_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_db38767a_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
910
|
-
/* unused harmony reexport * */
|
|
911
|
-
|
|
912
|
-
|
|
913
913
|
/***/ }),
|
|
914
914
|
|
|
915
915
|
/***/ "2ff9":
|
|
@@ -9079,6 +9079,13 @@ module.exports = require("core-js/modules/es.string.iterator.js");
|
|
|
9079
9079
|
|
|
9080
9080
|
/***/ }),
|
|
9081
9081
|
|
|
9082
|
+
/***/ "9c21":
|
|
9083
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9084
|
+
|
|
9085
|
+
// extracted by mini-css-extract-plugin
|
|
9086
|
+
|
|
9087
|
+
/***/ }),
|
|
9088
|
+
|
|
9082
9089
|
/***/ "9cea":
|
|
9083
9090
|
/***/ (function(module, exports, __webpack_require__) {
|
|
9084
9091
|
|
|
@@ -10699,13 +10706,6 @@ module.exports = require("core-js/modules/web.url.js");
|
|
|
10699
10706
|
|
|
10700
10707
|
/***/ }),
|
|
10701
10708
|
|
|
10702
|
-
/***/ "c017":
|
|
10703
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10704
|
-
|
|
10705
|
-
// extracted by mini-css-extract-plugin
|
|
10706
|
-
|
|
10707
|
-
/***/ }),
|
|
10708
|
-
|
|
10709
10709
|
/***/ "c2cc":
|
|
10710
10710
|
/***/ (function(module, exports) {
|
|
10711
10711
|
|
|
@@ -14739,12 +14739,12 @@ if (typeof window !== 'undefined') {
|
|
|
14739
14739
|
// Indicate to webpack that this file can be concatenated
|
|
14740
14740
|
/* harmony default export */ var setPublicPath = (null);
|
|
14741
14741
|
|
|
14742
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14742
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2344ffe4-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=7306edab&scoped=true&
|
|
14743
14743
|
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},on:{"resource-selected":_vm.resourceSelected}})],1)],1)}
|
|
14744
14744
|
var staticRenderFns = []
|
|
14745
14745
|
|
|
14746
14746
|
|
|
14747
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
14747
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=7306edab&scoped=true&
|
|
14748
14748
|
|
|
14749
14749
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
14750
14750
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -14866,35 +14866,6 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
14866
14866
|
}
|
|
14867
14867
|
};
|
|
14868
14868
|
}
|
|
14869
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
14870
|
-
|
|
14871
|
-
function _arrayWithoutHoles(arr) {
|
|
14872
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
14873
|
-
}
|
|
14874
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
14875
|
-
|
|
14876
|
-
|
|
14877
|
-
|
|
14878
|
-
|
|
14879
|
-
|
|
14880
|
-
|
|
14881
|
-
|
|
14882
|
-
|
|
14883
|
-
function _iterableToArray(iter) {
|
|
14884
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14885
|
-
}
|
|
14886
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14887
|
-
function _nonIterableSpread() {
|
|
14888
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14889
|
-
}
|
|
14890
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
14891
|
-
|
|
14892
|
-
|
|
14893
|
-
|
|
14894
|
-
|
|
14895
|
-
function _toConsumableArray(arr) {
|
|
14896
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
14897
|
-
}
|
|
14898
14869
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/row.css
|
|
14899
14870
|
var row = __webpack_require__("7a0f");
|
|
14900
14871
|
|
|
@@ -14978,13 +14949,42 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14978
14949
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14979
14950
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14980
14951
|
|
|
14981
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14952
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2344ffe4-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=5dc434c1&scoped=true&
|
|
14982
14953
|
var Tooltipvue_type_template_id_5dc434c1_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))])]),(_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('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))+" ")])})],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('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)}
|
|
14983
14954
|
var Tooltipvue_type_template_id_5dc434c1_scoped_true_staticRenderFns = []
|
|
14984
14955
|
|
|
14985
14956
|
|
|
14986
14957
|
// CONCATENATED MODULE: ./src/components/Tooltip.vue?vue&type=template&id=5dc434c1&scoped=true&
|
|
14987
14958
|
|
|
14959
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
14960
|
+
|
|
14961
|
+
function _arrayWithoutHoles(arr) {
|
|
14962
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
14963
|
+
}
|
|
14964
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
14965
|
+
|
|
14966
|
+
|
|
14967
|
+
|
|
14968
|
+
|
|
14969
|
+
|
|
14970
|
+
|
|
14971
|
+
|
|
14972
|
+
|
|
14973
|
+
function _iterableToArray(iter) {
|
|
14974
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
14975
|
+
}
|
|
14976
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
14977
|
+
function _nonIterableSpread() {
|
|
14978
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
14979
|
+
}
|
|
14980
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
14981
|
+
|
|
14982
|
+
|
|
14983
|
+
|
|
14984
|
+
|
|
14985
|
+
function _toConsumableArray(arr) {
|
|
14986
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
14987
|
+
}
|
|
14988
14988
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/main.css
|
|
14989
14989
|
var main = __webpack_require__("de31");
|
|
14990
14990
|
|
|
@@ -15043,7 +15043,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
15043
15043
|
var locale = __webpack_require__("4897");
|
|
15044
15044
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
15045
15045
|
|
|
15046
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15046
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2344ffe4-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&
|
|
15047
15047
|
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)])}
|
|
15048
15048
|
var PubmedViewervue_type_template_id_1d12a6d3_scoped_true_staticRenderFns = []
|
|
15049
15049
|
|
|
@@ -15902,7 +15902,6 @@ var svg_sprite_ = __webpack_require__("429c");
|
|
|
15902
15902
|
|
|
15903
15903
|
|
|
15904
15904
|
|
|
15905
|
-
|
|
15906
15905
|
|
|
15907
15906
|
|
|
15908
15907
|
//
|
|
@@ -16177,8 +16176,8 @@ var mapResize = function mapResize(map) {
|
|
|
16177
16176
|
this.drawerOpen = !this.drawerOpen;
|
|
16178
16177
|
},
|
|
16179
16178
|
|
|
16180
|
-
/**
|
|
16181
|
-
* Function to toggle colour/greyscale of organs.
|
|
16179
|
+
/**
|
|
16180
|
+
* Function to toggle colour/greyscale of organs.
|
|
16182
16181
|
*/
|
|
16183
16182
|
setColour: function setColour(flag) {
|
|
16184
16183
|
this.colourRadio = flag;
|
|
@@ -16191,8 +16190,8 @@ var mapResize = function mapResize(map) {
|
|
|
16191
16190
|
}
|
|
16192
16191
|
},
|
|
16193
16192
|
|
|
16194
|
-
/**
|
|
16195
|
-
* Function to toggle outlines f organs.
|
|
16193
|
+
/**
|
|
16194
|
+
* Function to toggle outlines f organs.
|
|
16196
16195
|
*/
|
|
16197
16196
|
setOutlines: function setOutlines(flag) {
|
|
16198
16197
|
this.outlineRadio = flag;
|
|
@@ -16205,9 +16204,9 @@ var mapResize = function mapResize(map) {
|
|
|
16205
16204
|
}
|
|
16206
16205
|
},
|
|
16207
16206
|
|
|
16208
|
-
/**
|
|
16209
|
-
* Function to toggle paths to default.
|
|
16210
|
-
* Also called when the associated button is pressed.
|
|
16207
|
+
/**
|
|
16208
|
+
* Function to toggle paths to default.
|
|
16209
|
+
* Also called when the associated button is pressed.
|
|
16211
16210
|
*/
|
|
16212
16211
|
resetView: function resetView() {
|
|
16213
16212
|
if (this.mapImp) {
|
|
@@ -16220,9 +16219,9 @@ var mapResize = function mapResize(map) {
|
|
|
16220
16219
|
}
|
|
16221
16220
|
},
|
|
16222
16221
|
|
|
16223
|
-
/**
|
|
16224
|
-
* Function to zoom in.
|
|
16225
|
-
* Also called when the associated button is pressed.
|
|
16222
|
+
/**
|
|
16223
|
+
* Function to zoom in.
|
|
16224
|
+
* Also called when the associated button is pressed.
|
|
16226
16225
|
*/
|
|
16227
16226
|
zoomIn: function zoomIn() {
|
|
16228
16227
|
if (this.mapImp) {
|
|
@@ -16230,9 +16229,9 @@ var mapResize = function mapResize(map) {
|
|
|
16230
16229
|
}
|
|
16231
16230
|
},
|
|
16232
16231
|
|
|
16233
|
-
/**
|
|
16234
|
-
* Function to zoom out.
|
|
16235
|
-
* Also called when the associated button is pressed.
|
|
16232
|
+
/**
|
|
16233
|
+
* Function to zoom out.
|
|
16234
|
+
* Also called when the associated button is pressed.
|
|
16236
16235
|
*/
|
|
16237
16236
|
zoomOut: function zoomOut() {
|
|
16238
16237
|
if (this.mapImp) {
|
|
@@ -16319,12 +16318,7 @@ var mapResize = function mapResize(map) {
|
|
|
16319
16318
|
this.$emit("resource-selected", action);
|
|
16320
16319
|
},
|
|
16321
16320
|
hasNeuronTooltip: function hasNeuronTooltip(data) {
|
|
16322
|
-
//
|
|
16323
|
-
if (data.feature.nodeId) {
|
|
16324
|
-
return true;
|
|
16325
|
-
} // neural data check
|
|
16326
|
-
|
|
16327
|
-
|
|
16321
|
+
// neural data check
|
|
16328
16322
|
if (data.resource[0]) {
|
|
16329
16323
|
if (data.resource[0].includes('ilxtr:neuron')) {
|
|
16330
16324
|
return true;
|
|
@@ -16348,22 +16342,7 @@ var mapResize = function mapResize(map) {
|
|
|
16348
16342
|
distribution: undefined,
|
|
16349
16343
|
actions: []
|
|
16350
16344
|
};
|
|
16351
|
-
this.tooltipVisible = false; //
|
|
16352
|
-
|
|
16353
|
-
if (data.feature.nodeId) {
|
|
16354
|
-
var paths = this.mapImp.nodePathModels(data.feature.nodeId);
|
|
16355
|
-
|
|
16356
|
-
if (paths.size > 0) {
|
|
16357
|
-
this.tooltipVisible = true;
|
|
16358
|
-
this.tooltipContent = content;
|
|
16359
|
-
this.tooltipContent.uberon = feature;
|
|
16360
|
-
this.tooltipContent.title = data.label;
|
|
16361
|
-
this.tooltipContent.featureIds = _toConsumableArray(paths);
|
|
16362
|
-
}
|
|
16363
|
-
|
|
16364
|
-
return true;
|
|
16365
|
-
} // neural data check
|
|
16366
|
-
|
|
16345
|
+
this.tooltipVisible = false; // neural data check
|
|
16367
16346
|
|
|
16368
16347
|
if (feature) {
|
|
16369
16348
|
if (feature.includes('ilxtr:neuron')) {
|
|
@@ -16562,8 +16541,8 @@ var mapResize = function mapResize(map) {
|
|
|
16562
16541
|
this.drawerOpen = flag;
|
|
16563
16542
|
},
|
|
16564
16543
|
|
|
16565
|
-
/**
|
|
16566
|
-
* Function to display features with annotation matching the provided term.
|
|
16544
|
+
/**
|
|
16545
|
+
* Function to display features with annotation matching the provided term.
|
|
16567
16546
|
*/
|
|
16568
16547
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
16569
16548
|
if (this.mapImp) {
|
|
@@ -16626,16 +16605,16 @@ var mapResize = function mapResize(map) {
|
|
|
16626
16605
|
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."
|
|
16627
16606
|
},
|
|
16628
16607
|
|
|
16629
|
-
/**
|
|
16630
|
-
* State containing state of the flatmap.
|
|
16608
|
+
/**
|
|
16609
|
+
* State containing state of the flatmap.
|
|
16631
16610
|
*/
|
|
16632
16611
|
state: {
|
|
16633
16612
|
type: Object,
|
|
16634
16613
|
default: undefined
|
|
16635
16614
|
},
|
|
16636
16615
|
|
|
16637
|
-
/**
|
|
16638
|
-
* Specify the endpoint of the flatmap server.
|
|
16616
|
+
/**
|
|
16617
|
+
* Specify the endpoint of the flatmap server.
|
|
16639
16618
|
*/
|
|
16640
16619
|
flatmapAPI: {
|
|
16641
16620
|
type: String,
|
|
@@ -16710,8 +16689,8 @@ var mapResize = function mapResize(map) {
|
|
|
16710
16689
|
});
|
|
16711
16690
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16712
16691
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16713
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16714
|
-
var
|
|
16692
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=7306edab&scoped=true&lang=scss&
|
|
16693
|
+
var FlatmapVuervue_type_style_index_0_id_7306edab_scoped_true_lang_scss_ = __webpack_require__("0211");
|
|
16715
16694
|
|
|
16716
16695
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16717
16696
|
|
|
@@ -16728,13 +16707,13 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16728
16707
|
staticRenderFns,
|
|
16729
16708
|
false,
|
|
16730
16709
|
null,
|
|
16731
|
-
"
|
|
16710
|
+
"7306edab",
|
|
16732
16711
|
null
|
|
16733
16712
|
|
|
16734
16713
|
)
|
|
16735
16714
|
|
|
16736
16715
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16737
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16716
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2344ffe4-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=f20f0c88&scoped=true&
|
|
16738
16717
|
var MultiFlatmapVuervue_type_template_id_f20f0c88_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,"sparcAPI":_vm.sparcAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
|
|
16739
16718
|
var MultiFlatmapVuervue_type_template_id_f20f0c88_scoped_true_staticRenderFns = []
|
|
16740
16719
|
|
|
@@ -16935,11 +16914,11 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
16935
16914
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
16936
16915
|
},
|
|
16937
16916
|
|
|
16938
|
-
/**
|
|
16939
|
-
* Function used for getting the current states of the scene. This exported states
|
|
16940
|
-
* can be imported using the importStates method.
|
|
16941
|
-
*
|
|
16942
|
-
* @public
|
|
16917
|
+
/**
|
|
16918
|
+
* Function used for getting the current states of the scene. This exported states
|
|
16919
|
+
* can be imported using the importStates method.
|
|
16920
|
+
*
|
|
16921
|
+
* @public
|
|
16943
16922
|
*/
|
|
16944
16923
|
getState: function getState() {
|
|
16945
16924
|
var state = {
|
|
@@ -16951,11 +16930,11 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
16951
16930
|
return state;
|
|
16952
16931
|
},
|
|
16953
16932
|
|
|
16954
|
-
/**
|
|
16955
|
-
* Function used for importing the states of the scene. This exported states
|
|
16956
|
-
* can be imported using the read states method.
|
|
16957
|
-
*
|
|
16958
|
-
* @public
|
|
16933
|
+
/**
|
|
16934
|
+
* Function used for importing the states of the scene. This exported states
|
|
16935
|
+
* can be imported using the read states method.
|
|
16936
|
+
*
|
|
16937
|
+
* @public
|
|
16959
16938
|
*/
|
|
16960
16939
|
setState: function setState(state) {
|
|
16961
16940
|
var _this3 = this;
|
|
@@ -17003,9 +16982,9 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17003
16982
|
default: false
|
|
17004
16983
|
},
|
|
17005
16984
|
|
|
17006
|
-
/**
|
|
17007
|
-
* Initial species for the flatmap.
|
|
17008
|
-
* This value will be ignored if a valid state object is provided.
|
|
16985
|
+
/**
|
|
16986
|
+
* Initial species for the flatmap.
|
|
16987
|
+
* This value will be ignored if a valid state object is provided.
|
|
17009
16988
|
*/
|
|
17010
16989
|
initial: {
|
|
17011
16990
|
type: String,
|
|
@@ -17033,16 +17012,16 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17033
17012
|
},
|
|
17034
17013
|
availableSpecies: {},
|
|
17035
17014
|
|
|
17036
|
-
/**
|
|
17037
|
-
* State containing state of the flatmap.
|
|
17015
|
+
/**
|
|
17016
|
+
* State containing state of the flatmap.
|
|
17038
17017
|
*/
|
|
17039
17018
|
state: {
|
|
17040
17019
|
type: Object,
|
|
17041
17020
|
default: undefined
|
|
17042
17021
|
},
|
|
17043
17022
|
|
|
17044
|
-
/**
|
|
17045
|
-
* Specify the endpoint of the flatmap server.
|
|
17023
|
+
/**
|
|
17024
|
+
* Specify the endpoint of the flatmap server.
|
|
17046
17025
|
*/
|
|
17047
17026
|
flatmapAPI: {
|
|
17048
17027
|
type: String,
|