@abi-software/flatmapvuer 0.2.4-dynamic-1 → 0.2.5-beta-1
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 +133 -105
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +133 -105
- 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 +13916 -13890
- package/package.json +66 -66
- package/public/index.html +17 -17
- package/src/App.vue +159 -150
- package/src/assets/_variables.scss +43 -43
- package/src/assets/styles.scss +7 -7
- package/src/components/FlatmapVuer.vue +1287 -1264
- package/src/components/MultiFlatmapVuer.vue +340 -336
- 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/vue.config.js +31 -31
package/dist/flatmapvuer.umd.js
CHANGED
|
@@ -131,13 +131,6 @@ module.exports = require("element-ui/lib/theme-chalk/select.css");
|
|
|
131
131
|
|
|
132
132
|
/***/ }),
|
|
133
133
|
|
|
134
|
-
/***/ "10d5":
|
|
135
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
136
|
-
|
|
137
|
-
// extracted by mini-css-extract-plugin
|
|
138
|
-
|
|
139
|
-
/***/ }),
|
|
140
|
-
|
|
141
134
|
/***/ "1267":
|
|
142
135
|
/***/ (function(module, exports) {
|
|
143
136
|
|
|
@@ -289,12 +282,12 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
289
282
|
|
|
290
283
|
/***/ }),
|
|
291
284
|
|
|
292
|
-
/***/ "
|
|
285
|
+
/***/ "4e01":
|
|
293
286
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
294
287
|
|
|
295
288
|
"use strict";
|
|
296
|
-
/* harmony import */ var
|
|
297
|
-
/* harmony import */ var
|
|
289
|
+
/* 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_83b8535e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("daf3");
|
|
290
|
+
/* 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_83b8535e_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_83b8535e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
298
291
|
/* unused harmony reexport * */
|
|
299
292
|
|
|
300
293
|
|
|
@@ -396,17 +389,6 @@ module.exports = require("core-js/modules/es.set.js");
|
|
|
396
389
|
|
|
397
390
|
module.exports = require("core-js/modules/es.array.includes.js");
|
|
398
391
|
|
|
399
|
-
/***/ }),
|
|
400
|
-
|
|
401
|
-
/***/ "8603":
|
|
402
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
403
|
-
|
|
404
|
-
"use strict";
|
|
405
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_45aec25f_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("10d5");
|
|
406
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_45aec25f_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_45aec25f_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
407
|
-
/* unused harmony reexport * */
|
|
408
|
-
|
|
409
|
-
|
|
410
392
|
/***/ }),
|
|
411
393
|
|
|
412
394
|
/***/ "8bbf":
|
|
@@ -437,6 +419,24 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
437
419
|
|
|
438
420
|
/***/ }),
|
|
439
421
|
|
|
422
|
+
/***/ "97da":
|
|
423
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
424
|
+
|
|
425
|
+
"use strict";
|
|
426
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_01b30450_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9996");
|
|
427
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_01b30450_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MultiFlatmapVuer_vue_vue_type_style_index_0_id_01b30450_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
428
|
+
/* unused harmony reexport * */
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
/***/ }),
|
|
432
|
+
|
|
433
|
+
/***/ "9996":
|
|
434
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
435
|
+
|
|
436
|
+
// extracted by mini-css-extract-plugin
|
|
437
|
+
|
|
438
|
+
/***/ }),
|
|
439
|
+
|
|
440
440
|
/***/ "9a25":
|
|
441
441
|
/***/ (function(module, exports) {
|
|
442
442
|
|
|
@@ -451,13 +451,6 @@ module.exports = require("core-js/modules/es.symbol.js");
|
|
|
451
451
|
|
|
452
452
|
/***/ }),
|
|
453
453
|
|
|
454
|
-
/***/ "9b2f":
|
|
455
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
456
|
-
|
|
457
|
-
// extracted by mini-css-extract-plugin
|
|
458
|
-
|
|
459
|
-
/***/ }),
|
|
460
|
-
|
|
461
454
|
/***/ "9bb0":
|
|
462
455
|
/***/ (function(module, exports) {
|
|
463
456
|
|
|
@@ -581,6 +574,13 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
581
574
|
|
|
582
575
|
/***/ }),
|
|
583
576
|
|
|
577
|
+
/***/ "daf3":
|
|
578
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
579
|
+
|
|
580
|
+
// extracted by mini-css-extract-plugin
|
|
581
|
+
|
|
582
|
+
/***/ }),
|
|
583
|
+
|
|
584
584
|
/***/ "db0a":
|
|
585
585
|
/***/ (function(module, exports) {
|
|
586
586
|
|
|
@@ -658,12 +658,12 @@ 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":"
|
|
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('map-svg-icon',{staticClass:"icon-button
|
|
661
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"684e11f8-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=83b8535e&scoped=true&
|
|
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
|
|
|
665
665
|
|
|
666
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
666
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=83b8535e&scoped=true&
|
|
667
667
|
|
|
668
668
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
669
669
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -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":"684e11f8-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":"684e11f8-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,
|
|
@@ -1708,6 +1708,11 @@ var svg_sprite_ = __webpack_require__("429c");
|
|
|
1708
1708
|
//
|
|
1709
1709
|
//
|
|
1710
1710
|
//
|
|
1711
|
+
//
|
|
1712
|
+
//
|
|
1713
|
+
//
|
|
1714
|
+
//
|
|
1715
|
+
//
|
|
1711
1716
|
|
|
1712
1717
|
/* eslint-disable no-alert, no-console */
|
|
1713
1718
|
|
|
@@ -1756,8 +1761,8 @@ var mapResize = function mapResize(map) {
|
|
|
1756
1761
|
this.drawerOpen = !this.drawerOpen;
|
|
1757
1762
|
},
|
|
1758
1763
|
|
|
1759
|
-
/**
|
|
1760
|
-
* Function to toggle colour/greyscale of organs.
|
|
1764
|
+
/**
|
|
1765
|
+
* Function to toggle colour/greyscale of organs.
|
|
1761
1766
|
*/
|
|
1762
1767
|
setColour: function setColour(flag) {
|
|
1763
1768
|
this.colourRadio = flag;
|
|
@@ -1770,8 +1775,8 @@ var mapResize = function mapResize(map) {
|
|
|
1770
1775
|
}
|
|
1771
1776
|
},
|
|
1772
1777
|
|
|
1773
|
-
/**
|
|
1774
|
-
* Function to toggle outlines f organs.
|
|
1778
|
+
/**
|
|
1779
|
+
* Function to toggle outlines f organs.
|
|
1775
1780
|
*/
|
|
1776
1781
|
setOutlines: function setOutlines(flag) {
|
|
1777
1782
|
this.outlineRadio = flag;
|
|
@@ -1784,9 +1789,9 @@ var mapResize = function mapResize(map) {
|
|
|
1784
1789
|
}
|
|
1785
1790
|
},
|
|
1786
1791
|
|
|
1787
|
-
/**
|
|
1788
|
-
* Function to toggle paths to default.
|
|
1789
|
-
* 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.
|
|
1790
1795
|
*/
|
|
1791
1796
|
resetView: function resetView() {
|
|
1792
1797
|
if (this.mapImp) {
|
|
@@ -1799,9 +1804,9 @@ var mapResize = function mapResize(map) {
|
|
|
1799
1804
|
}
|
|
1800
1805
|
},
|
|
1801
1806
|
|
|
1802
|
-
/**
|
|
1803
|
-
* Function to zoom in.
|
|
1804
|
-
* Also called when the associated button is pressed.
|
|
1807
|
+
/**
|
|
1808
|
+
* Function to zoom in.
|
|
1809
|
+
* Also called when the associated button is pressed.
|
|
1805
1810
|
*/
|
|
1806
1811
|
zoomIn: function zoomIn() {
|
|
1807
1812
|
if (this.mapImp) {
|
|
@@ -1809,9 +1814,9 @@ var mapResize = function mapResize(map) {
|
|
|
1809
1814
|
}
|
|
1810
1815
|
},
|
|
1811
1816
|
|
|
1812
|
-
/**
|
|
1813
|
-
* Function to zoom out.
|
|
1814
|
-
* Also called when the associated button is pressed.
|
|
1817
|
+
/**
|
|
1818
|
+
* Function to zoom out.
|
|
1819
|
+
* Also called when the associated button is pressed.
|
|
1815
1820
|
*/
|
|
1816
1821
|
zoomOut: function zoomOut() {
|
|
1817
1822
|
if (this.mapImp) {
|
|
@@ -1838,31 +1843,38 @@ var mapResize = function mapResize(map) {
|
|
|
1838
1843
|
this.mapImp.showPaths(this.checkedItems);
|
|
1839
1844
|
}
|
|
1840
1845
|
},
|
|
1846
|
+
enablePanZoomEvents: function enablePanZoomEvents(flag) {
|
|
1847
|
+
this.mapImp.enablePanZoomEvents(flag);
|
|
1848
|
+
},
|
|
1841
1849
|
eventCallback: function eventCallback() {
|
|
1842
1850
|
var _this = this;
|
|
1843
1851
|
|
|
1844
|
-
return function (eventType,
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1852
|
+
return function (eventType, data) {
|
|
1853
|
+
if (eventType !== "pan-zoom") {
|
|
1854
|
+
var label = data.label;
|
|
1855
|
+
var resource = [data.models];
|
|
1856
|
+
var taxonomy = _this.entry;
|
|
1848
1857
|
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1858
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
1859
|
+
args[_key - 2] = arguments[_key];
|
|
1860
|
+
}
|
|
1852
1861
|
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
+
var payload = {
|
|
1863
|
+
dataset: data.dataset,
|
|
1864
|
+
taxonomy: taxonomy,
|
|
1865
|
+
resource: resource,
|
|
1866
|
+
label: label,
|
|
1867
|
+
feature: data,
|
|
1868
|
+
userData: args,
|
|
1869
|
+
eventType: eventType
|
|
1870
|
+
}; // Disable the nueron pop up for now.
|
|
1862
1871
|
|
|
1863
|
-
|
|
1872
|
+
if (data && data.type !== "marker") _this.checkAndCreatePopups(data);
|
|
1864
1873
|
|
|
1865
|
-
|
|
1874
|
+
_this.$emit("resource-selected", payload);
|
|
1875
|
+
} else {
|
|
1876
|
+
_this.$emit("pan-zoom-callback", data);
|
|
1877
|
+
}
|
|
1866
1878
|
};
|
|
1867
1879
|
},
|
|
1868
1880
|
// checkNeuronClicked shows a neuron path pop up if a path was recently clicked
|
|
@@ -2078,7 +2090,6 @@ var mapResize = function mapResize(map) {
|
|
|
2078
2090
|
});
|
|
2079
2091
|
promise1.then(function (returnedObject) {
|
|
2080
2092
|
_this3.mapImp = returnedObject;
|
|
2081
|
-
window.mapImp = returnedObject;
|
|
2082
2093
|
_this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
|
|
2083
2094
|
|
|
2084
2095
|
_this3.mapImp.setBackgroundOpacity(1);
|
|
@@ -2096,19 +2107,32 @@ var mapResize = function mapResize(map) {
|
|
|
2096
2107
|
if (this.entry == state.entry) this._viewportToBeSet = state.viewport;
|
|
2097
2108
|
}
|
|
2098
2109
|
},
|
|
2110
|
+
showMinimap: function showMinimap(flag) {
|
|
2111
|
+
if (this.mapImp) this.mapImp.showMinimap(flag);
|
|
2112
|
+
},
|
|
2113
|
+
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
2114
|
+
this.drawerOpen = flag;
|
|
2115
|
+
},
|
|
2099
2116
|
|
|
2100
|
-
/**
|
|
2101
|
-
* Function to display features with annotation matching the provided term.
|
|
2117
|
+
/**
|
|
2118
|
+
* Function to display features with annotation matching the provided term.
|
|
2102
2119
|
*/
|
|
2103
2120
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
2104
2121
|
if (this.mapImp) {
|
|
2105
2122
|
if (term === undefined || term === "") {
|
|
2106
2123
|
this.mapImp.clearSearchResults();
|
|
2124
|
+
return true;
|
|
2107
2125
|
} else {
|
|
2108
2126
|
var searchResults = this.mapImp.search(term);
|
|
2109
|
-
|
|
2127
|
+
|
|
2128
|
+
if (searchResults && searchResults.__featureIds.length > 0) {
|
|
2129
|
+
this.mapImp.showSearchResults(searchResults);
|
|
2130
|
+
return true;
|
|
2131
|
+
} else this.mapImp.clearSearchResults();
|
|
2110
2132
|
}
|
|
2111
2133
|
}
|
|
2134
|
+
|
|
2135
|
+
return false;
|
|
2112
2136
|
}
|
|
2113
2137
|
},
|
|
2114
2138
|
props: {
|
|
@@ -2154,16 +2178,16 @@ var mapResize = function mapResize(map) {
|
|
|
2154
2178
|
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."
|
|
2155
2179
|
},
|
|
2156
2180
|
|
|
2157
|
-
/**
|
|
2158
|
-
* State containing state of the flatmap.
|
|
2181
|
+
/**
|
|
2182
|
+
* State containing state of the flatmap.
|
|
2159
2183
|
*/
|
|
2160
2184
|
state: {
|
|
2161
2185
|
type: Object,
|
|
2162
2186
|
default: undefined
|
|
2163
2187
|
},
|
|
2164
2188
|
|
|
2165
|
-
/**
|
|
2166
|
-
* Specify the endpoint of the flatmap server.
|
|
2189
|
+
/**
|
|
2190
|
+
* Specify the endpoint of the flatmap server.
|
|
2167
2191
|
*/
|
|
2168
2192
|
flatmapAPI: {
|
|
2169
2193
|
type: String,
|
|
@@ -2226,8 +2250,8 @@ var mapResize = function mapResize(map) {
|
|
|
2226
2250
|
});
|
|
2227
2251
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
2228
2252
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
2229
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2230
|
-
var
|
|
2253
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=83b8535e&scoped=true&lang=scss&
|
|
2254
|
+
var FlatmapVuervue_type_style_index_0_id_83b8535e_scoped_true_lang_scss_ = __webpack_require__("4e01");
|
|
2231
2255
|
|
|
2232
2256
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
2233
2257
|
|
|
@@ -2244,18 +2268,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
2244
2268
|
staticRenderFns,
|
|
2245
2269
|
false,
|
|
2246
2270
|
null,
|
|
2247
|
-
"
|
|
2271
|
+
"83b8535e",
|
|
2248
2272
|
null
|
|
2249
2273
|
|
|
2250
2274
|
)
|
|
2251
2275
|
|
|
2252
2276
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
2253
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2254
|
-
var
|
|
2255
|
-
var
|
|
2277
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"684e11f8-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&
|
|
2278
|
+
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)}
|
|
2279
|
+
var MultiFlatmapVuervue_type_template_id_01b30450_scoped_true_staticRenderFns = []
|
|
2256
2280
|
|
|
2257
2281
|
|
|
2258
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
2282
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=01b30450&scoped=true&
|
|
2259
2283
|
|
|
2260
2284
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/popover.css"
|
|
2261
2285
|
var popover_css_ = __webpack_require__("a525");
|
|
@@ -2354,6 +2378,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
2354
2378
|
//
|
|
2355
2379
|
//
|
|
2356
2380
|
//
|
|
2381
|
+
//
|
|
2357
2382
|
|
|
2358
2383
|
/* eslint-disable no-alert, no-console */
|
|
2359
2384
|
|
|
@@ -2426,6 +2451,9 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2426
2451
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
2427
2452
|
return this.$refs[this.activeSpecies][0];
|
|
2428
2453
|
},
|
|
2454
|
+
panZoomCallback: function panZoomCallback(payload) {
|
|
2455
|
+
this.$emit("pan-zoom-callback", payload);
|
|
2456
|
+
},
|
|
2429
2457
|
showPopup: function showPopup(featureId, node, options) {
|
|
2430
2458
|
var map = this.getCurrentFlatmap();
|
|
2431
2459
|
map.showPopup(featureId, node, options);
|
|
@@ -2440,11 +2468,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2440
2468
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
2441
2469
|
},
|
|
2442
2470
|
|
|
2443
|
-
/**
|
|
2444
|
-
* Function used for getting the current states of the scene. This exported states
|
|
2445
|
-
* can be imported using the importStates method.
|
|
2446
|
-
*
|
|
2447
|
-
* @public
|
|
2471
|
+
/**
|
|
2472
|
+
* Function used for getting the current states of the scene. This exported states
|
|
2473
|
+
* can be imported using the importStates method.
|
|
2474
|
+
*
|
|
2475
|
+
* @public
|
|
2448
2476
|
*/
|
|
2449
2477
|
getState: function getState() {
|
|
2450
2478
|
var state = {
|
|
@@ -2456,11 +2484,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2456
2484
|
return state;
|
|
2457
2485
|
},
|
|
2458
2486
|
|
|
2459
|
-
/**
|
|
2460
|
-
* Function used for importing the states of the scene. This exported states
|
|
2461
|
-
* can be imported using the read states method.
|
|
2462
|
-
*
|
|
2463
|
-
* @public
|
|
2487
|
+
/**
|
|
2488
|
+
* Function used for importing the states of the scene. This exported states
|
|
2489
|
+
* can be imported using the read states method.
|
|
2490
|
+
*
|
|
2491
|
+
* @public
|
|
2464
2492
|
*/
|
|
2465
2493
|
setState: function setState(state) {
|
|
2466
2494
|
var _this2 = this;
|
|
@@ -2508,9 +2536,9 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2508
2536
|
default: false
|
|
2509
2537
|
},
|
|
2510
2538
|
|
|
2511
|
-
/**
|
|
2512
|
-
* Initial species for the flatmap.
|
|
2513
|
-
* This value will be ignored if a valid state object is provided.
|
|
2539
|
+
/**
|
|
2540
|
+
* Initial species for the flatmap.
|
|
2541
|
+
* This value will be ignored if a valid state object is provided.
|
|
2514
2542
|
*/
|
|
2515
2543
|
initial: {
|
|
2516
2544
|
type: String,
|
|
@@ -2538,16 +2566,16 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2538
2566
|
},
|
|
2539
2567
|
availableSpecies: {},
|
|
2540
2568
|
|
|
2541
|
-
/**
|
|
2542
|
-
* State containing state of the flatmap.
|
|
2569
|
+
/**
|
|
2570
|
+
* State containing state of the flatmap.
|
|
2543
2571
|
*/
|
|
2544
2572
|
state: {
|
|
2545
2573
|
type: Object,
|
|
2546
2574
|
default: undefined
|
|
2547
2575
|
},
|
|
2548
2576
|
|
|
2549
|
-
/**
|
|
2550
|
-
* Specify the endpoint of the flatmap server.
|
|
2577
|
+
/**
|
|
2578
|
+
* Specify the endpoint of the flatmap server.
|
|
2551
2579
|
*/
|
|
2552
2580
|
flatmapAPI: {
|
|
2553
2581
|
type: String,
|
|
@@ -2573,8 +2601,8 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2573
2601
|
});
|
|
2574
2602
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
2575
2603
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
2576
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2577
|
-
var
|
|
2604
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=01b30450&scoped=true&lang=scss&
|
|
2605
|
+
var MultiFlatmapVuervue_type_style_index_0_id_01b30450_scoped_true_lang_scss_ = __webpack_require__("97da");
|
|
2578
2606
|
|
|
2579
2607
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
2580
2608
|
|
|
@@ -2587,11 +2615,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_45aec25f_scoped_true_lang_scss_ =
|
|
|
2587
2615
|
|
|
2588
2616
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
2589
2617
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
2590
|
-
|
|
2591
|
-
|
|
2618
|
+
MultiFlatmapVuervue_type_template_id_01b30450_scoped_true_render,
|
|
2619
|
+
MultiFlatmapVuervue_type_template_id_01b30450_scoped_true_staticRenderFns,
|
|
2592
2620
|
false,
|
|
2593
2621
|
null,
|
|
2594
|
-
"
|
|
2622
|
+
"01b30450",
|
|
2595
2623
|
null
|
|
2596
2624
|
|
|
2597
2625
|
)
|