@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
|
@@ -122,13 +122,6 @@ module.exports = require("element-ui/lib/theme-chalk/select.css");
|
|
|
122
122
|
|
|
123
123
|
/***/ }),
|
|
124
124
|
|
|
125
|
-
/***/ "10d5":
|
|
126
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
127
|
-
|
|
128
|
-
// extracted by mini-css-extract-plugin
|
|
129
|
-
|
|
130
|
-
/***/ }),
|
|
131
|
-
|
|
132
125
|
/***/ "1267":
|
|
133
126
|
/***/ (function(module, exports) {
|
|
134
127
|
|
|
@@ -280,12 +273,12 @@ module.exports = require("core-js/modules/es.array.iterator.js");
|
|
|
280
273
|
|
|
281
274
|
/***/ }),
|
|
282
275
|
|
|
283
|
-
/***/ "
|
|
276
|
+
/***/ "4e01":
|
|
284
277
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
285
278
|
|
|
286
279
|
"use strict";
|
|
287
|
-
/* harmony import */ var
|
|
288
|
-
/* harmony import */ var
|
|
280
|
+
/* 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");
|
|
281
|
+
/* 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__);
|
|
289
282
|
/* unused harmony reexport * */
|
|
290
283
|
|
|
291
284
|
|
|
@@ -387,17 +380,6 @@ module.exports = require("core-js/modules/es.set.js");
|
|
|
387
380
|
|
|
388
381
|
module.exports = require("core-js/modules/es.array.includes.js");
|
|
389
382
|
|
|
390
|
-
/***/ }),
|
|
391
|
-
|
|
392
|
-
/***/ "8603":
|
|
393
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
394
|
-
|
|
395
|
-
"use strict";
|
|
396
|
-
/* 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");
|
|
397
|
-
/* 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__);
|
|
398
|
-
/* unused harmony reexport * */
|
|
399
|
-
|
|
400
|
-
|
|
401
383
|
/***/ }),
|
|
402
384
|
|
|
403
385
|
/***/ "8bbf":
|
|
@@ -428,6 +410,24 @@ module.exports = require("core-js/modules/es.object.to-string.js");
|
|
|
428
410
|
|
|
429
411
|
/***/ }),
|
|
430
412
|
|
|
413
|
+
/***/ "97da":
|
|
414
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
415
|
+
|
|
416
|
+
"use strict";
|
|
417
|
+
/* 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");
|
|
418
|
+
/* 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__);
|
|
419
|
+
/* unused harmony reexport * */
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
/***/ }),
|
|
423
|
+
|
|
424
|
+
/***/ "9996":
|
|
425
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
426
|
+
|
|
427
|
+
// extracted by mini-css-extract-plugin
|
|
428
|
+
|
|
429
|
+
/***/ }),
|
|
430
|
+
|
|
431
431
|
/***/ "9a25":
|
|
432
432
|
/***/ (function(module, exports) {
|
|
433
433
|
|
|
@@ -442,13 +442,6 @@ module.exports = require("core-js/modules/es.symbol.js");
|
|
|
442
442
|
|
|
443
443
|
/***/ }),
|
|
444
444
|
|
|
445
|
-
/***/ "9b2f":
|
|
446
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
447
|
-
|
|
448
|
-
// extracted by mini-css-extract-plugin
|
|
449
|
-
|
|
450
|
-
/***/ }),
|
|
451
|
-
|
|
452
445
|
/***/ "9bb0":
|
|
453
446
|
/***/ (function(module, exports) {
|
|
454
447
|
|
|
@@ -572,6 +565,13 @@ module.exports = require("core-js/modules/es.regexp.exec.js");
|
|
|
572
565
|
|
|
573
566
|
/***/ }),
|
|
574
567
|
|
|
568
|
+
/***/ "daf3":
|
|
569
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
570
|
+
|
|
571
|
+
// extracted by mini-css-extract-plugin
|
|
572
|
+
|
|
573
|
+
/***/ }),
|
|
574
|
+
|
|
575
575
|
/***/ "db0a":
|
|
576
576
|
/***/ (function(module, exports) {
|
|
577
577
|
|
|
@@ -649,12 +649,12 @@ if (typeof window !== 'undefined') {
|
|
|
649
649
|
// Indicate to webpack that this file can be concatenated
|
|
650
650
|
/* harmony default export */ var setPublicPath = (null);
|
|
651
651
|
|
|
652
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
653
|
-
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
|
|
652
|
+
// 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&
|
|
653
|
+
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)}
|
|
654
654
|
var staticRenderFns = []
|
|
655
655
|
|
|
656
656
|
|
|
657
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
657
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=83b8535e&scoped=true&
|
|
658
658
|
|
|
659
659
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
660
660
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -859,7 +859,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
859
859
|
var external_vue_ = __webpack_require__("8bbf");
|
|
860
860
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
861
861
|
|
|
862
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
862
|
+
// 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&
|
|
863
863
|
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)}
|
|
864
864
|
var Tooltipvue_type_template_id_4802b201_scoped_true_staticRenderFns = []
|
|
865
865
|
|
|
@@ -912,7 +912,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en_);
|
|
|
912
912
|
var locale_ = __webpack_require__("7f9f");
|
|
913
913
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
914
914
|
|
|
915
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
915
|
+
// 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&
|
|
916
916
|
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)])}
|
|
917
917
|
var PubmedViewervue_type_template_id_06d0e387_scoped_true_staticRenderFns = []
|
|
918
918
|
|
|
@@ -1063,8 +1063,8 @@ external_vue_default.a.use(carousel_item_default.a);
|
|
|
1063
1063
|
default: ''
|
|
1064
1064
|
},
|
|
1065
1065
|
|
|
1066
|
-
/**
|
|
1067
|
-
* Specify the endpoint of the flatmap server.
|
|
1066
|
+
/**
|
|
1067
|
+
* Specify the endpoint of the flatmap server.
|
|
1068
1068
|
*/
|
|
1069
1069
|
flatmapAPI: {
|
|
1070
1070
|
type: String,
|
|
@@ -1378,8 +1378,8 @@ var _titleCase = function titleCase(str) {
|
|
|
1378
1378
|
default: undefined
|
|
1379
1379
|
},
|
|
1380
1380
|
|
|
1381
|
-
/**
|
|
1382
|
-
* Specify the endpoint of the flatmap server.
|
|
1381
|
+
/**
|
|
1382
|
+
* Specify the endpoint of the flatmap server.
|
|
1383
1383
|
*/
|
|
1384
1384
|
flatmapAPI: {
|
|
1385
1385
|
type: String,
|
|
@@ -1699,6 +1699,11 @@ var svg_sprite_ = __webpack_require__("429c");
|
|
|
1699
1699
|
//
|
|
1700
1700
|
//
|
|
1701
1701
|
//
|
|
1702
|
+
//
|
|
1703
|
+
//
|
|
1704
|
+
//
|
|
1705
|
+
//
|
|
1706
|
+
//
|
|
1702
1707
|
|
|
1703
1708
|
/* eslint-disable no-alert, no-console */
|
|
1704
1709
|
|
|
@@ -1747,8 +1752,8 @@ var mapResize = function mapResize(map) {
|
|
|
1747
1752
|
this.drawerOpen = !this.drawerOpen;
|
|
1748
1753
|
},
|
|
1749
1754
|
|
|
1750
|
-
/**
|
|
1751
|
-
* Function to toggle colour/greyscale of organs.
|
|
1755
|
+
/**
|
|
1756
|
+
* Function to toggle colour/greyscale of organs.
|
|
1752
1757
|
*/
|
|
1753
1758
|
setColour: function setColour(flag) {
|
|
1754
1759
|
this.colourRadio = flag;
|
|
@@ -1761,8 +1766,8 @@ var mapResize = function mapResize(map) {
|
|
|
1761
1766
|
}
|
|
1762
1767
|
},
|
|
1763
1768
|
|
|
1764
|
-
/**
|
|
1765
|
-
* Function to toggle outlines f organs.
|
|
1769
|
+
/**
|
|
1770
|
+
* Function to toggle outlines f organs.
|
|
1766
1771
|
*/
|
|
1767
1772
|
setOutlines: function setOutlines(flag) {
|
|
1768
1773
|
this.outlineRadio = flag;
|
|
@@ -1775,9 +1780,9 @@ var mapResize = function mapResize(map) {
|
|
|
1775
1780
|
}
|
|
1776
1781
|
},
|
|
1777
1782
|
|
|
1778
|
-
/**
|
|
1779
|
-
* Function to toggle paths to default.
|
|
1780
|
-
* Also called when the associated button is pressed.
|
|
1783
|
+
/**
|
|
1784
|
+
* Function to toggle paths to default.
|
|
1785
|
+
* Also called when the associated button is pressed.
|
|
1781
1786
|
*/
|
|
1782
1787
|
resetView: function resetView() {
|
|
1783
1788
|
if (this.mapImp) {
|
|
@@ -1790,9 +1795,9 @@ var mapResize = function mapResize(map) {
|
|
|
1790
1795
|
}
|
|
1791
1796
|
},
|
|
1792
1797
|
|
|
1793
|
-
/**
|
|
1794
|
-
* Function to zoom in.
|
|
1795
|
-
* Also called when the associated button is pressed.
|
|
1798
|
+
/**
|
|
1799
|
+
* Function to zoom in.
|
|
1800
|
+
* Also called when the associated button is pressed.
|
|
1796
1801
|
*/
|
|
1797
1802
|
zoomIn: function zoomIn() {
|
|
1798
1803
|
if (this.mapImp) {
|
|
@@ -1800,9 +1805,9 @@ var mapResize = function mapResize(map) {
|
|
|
1800
1805
|
}
|
|
1801
1806
|
},
|
|
1802
1807
|
|
|
1803
|
-
/**
|
|
1804
|
-
* Function to zoom out.
|
|
1805
|
-
* Also called when the associated button is pressed.
|
|
1808
|
+
/**
|
|
1809
|
+
* Function to zoom out.
|
|
1810
|
+
* Also called when the associated button is pressed.
|
|
1806
1811
|
*/
|
|
1807
1812
|
zoomOut: function zoomOut() {
|
|
1808
1813
|
if (this.mapImp) {
|
|
@@ -1829,31 +1834,38 @@ var mapResize = function mapResize(map) {
|
|
|
1829
1834
|
this.mapImp.showPaths(this.checkedItems);
|
|
1830
1835
|
}
|
|
1831
1836
|
},
|
|
1837
|
+
enablePanZoomEvents: function enablePanZoomEvents(flag) {
|
|
1838
|
+
this.mapImp.enablePanZoomEvents(flag);
|
|
1839
|
+
},
|
|
1832
1840
|
eventCallback: function eventCallback() {
|
|
1833
1841
|
var _this = this;
|
|
1834
1842
|
|
|
1835
|
-
return function (eventType,
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1843
|
+
return function (eventType, data) {
|
|
1844
|
+
if (eventType !== "pan-zoom") {
|
|
1845
|
+
var label = data.label;
|
|
1846
|
+
var resource = [data.models];
|
|
1847
|
+
var taxonomy = _this.entry;
|
|
1839
1848
|
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1849
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
1850
|
+
args[_key - 2] = arguments[_key];
|
|
1851
|
+
}
|
|
1843
1852
|
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
+
var payload = {
|
|
1854
|
+
dataset: data.dataset,
|
|
1855
|
+
taxonomy: taxonomy,
|
|
1856
|
+
resource: resource,
|
|
1857
|
+
label: label,
|
|
1858
|
+
feature: data,
|
|
1859
|
+
userData: args,
|
|
1860
|
+
eventType: eventType
|
|
1861
|
+
}; // Disable the nueron pop up for now.
|
|
1853
1862
|
|
|
1854
|
-
|
|
1863
|
+
if (data && data.type !== "marker") _this.checkAndCreatePopups(data);
|
|
1855
1864
|
|
|
1856
|
-
|
|
1865
|
+
_this.$emit("resource-selected", payload);
|
|
1866
|
+
} else {
|
|
1867
|
+
_this.$emit("pan-zoom-callback", data);
|
|
1868
|
+
}
|
|
1857
1869
|
};
|
|
1858
1870
|
},
|
|
1859
1871
|
// checkNeuronClicked shows a neuron path pop up if a path was recently clicked
|
|
@@ -2069,7 +2081,6 @@ var mapResize = function mapResize(map) {
|
|
|
2069
2081
|
});
|
|
2070
2082
|
promise1.then(function (returnedObject) {
|
|
2071
2083
|
_this3.mapImp = returnedObject;
|
|
2072
|
-
window.mapImp = returnedObject;
|
|
2073
2084
|
_this3.sensor = new ResizeSensor(_this3.$refs.display, mapResize(_this3.mapImp));
|
|
2074
2085
|
|
|
2075
2086
|
_this3.mapImp.setBackgroundOpacity(1);
|
|
@@ -2087,19 +2098,32 @@ var mapResize = function mapResize(map) {
|
|
|
2087
2098
|
if (this.entry == state.entry) this._viewportToBeSet = state.viewport;
|
|
2088
2099
|
}
|
|
2089
2100
|
},
|
|
2101
|
+
showMinimap: function showMinimap(flag) {
|
|
2102
|
+
if (this.mapImp) this.mapImp.showMinimap(flag);
|
|
2103
|
+
},
|
|
2104
|
+
showPathwaysDrawer: function showPathwaysDrawer(flag) {
|
|
2105
|
+
this.drawerOpen = flag;
|
|
2106
|
+
},
|
|
2090
2107
|
|
|
2091
|
-
/**
|
|
2092
|
-
* Function to display features with annotation matching the provided term.
|
|
2108
|
+
/**
|
|
2109
|
+
* Function to display features with annotation matching the provided term.
|
|
2093
2110
|
*/
|
|
2094
2111
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
2095
2112
|
if (this.mapImp) {
|
|
2096
2113
|
if (term === undefined || term === "") {
|
|
2097
2114
|
this.mapImp.clearSearchResults();
|
|
2115
|
+
return true;
|
|
2098
2116
|
} else {
|
|
2099
2117
|
var searchResults = this.mapImp.search(term);
|
|
2100
|
-
|
|
2118
|
+
|
|
2119
|
+
if (searchResults && searchResults.__featureIds.length > 0) {
|
|
2120
|
+
this.mapImp.showSearchResults(searchResults);
|
|
2121
|
+
return true;
|
|
2122
|
+
} else this.mapImp.clearSearchResults();
|
|
2101
2123
|
}
|
|
2102
2124
|
}
|
|
2125
|
+
|
|
2126
|
+
return false;
|
|
2103
2127
|
}
|
|
2104
2128
|
},
|
|
2105
2129
|
props: {
|
|
@@ -2145,16 +2169,16 @@ var mapResize = function mapResize(map) {
|
|
|
2145
2169
|
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."
|
|
2146
2170
|
},
|
|
2147
2171
|
|
|
2148
|
-
/**
|
|
2149
|
-
* State containing state of the flatmap.
|
|
2172
|
+
/**
|
|
2173
|
+
* State containing state of the flatmap.
|
|
2150
2174
|
*/
|
|
2151
2175
|
state: {
|
|
2152
2176
|
type: Object,
|
|
2153
2177
|
default: undefined
|
|
2154
2178
|
},
|
|
2155
2179
|
|
|
2156
|
-
/**
|
|
2157
|
-
* Specify the endpoint of the flatmap server.
|
|
2180
|
+
/**
|
|
2181
|
+
* Specify the endpoint of the flatmap server.
|
|
2158
2182
|
*/
|
|
2159
2183
|
flatmapAPI: {
|
|
2160
2184
|
type: String,
|
|
@@ -2217,8 +2241,8 @@ var mapResize = function mapResize(map) {
|
|
|
2217
2241
|
});
|
|
2218
2242
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
2219
2243
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
2220
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2221
|
-
var
|
|
2244
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=83b8535e&scoped=true&lang=scss&
|
|
2245
|
+
var FlatmapVuervue_type_style_index_0_id_83b8535e_scoped_true_lang_scss_ = __webpack_require__("4e01");
|
|
2222
2246
|
|
|
2223
2247
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
2224
2248
|
|
|
@@ -2235,18 +2259,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
2235
2259
|
staticRenderFns,
|
|
2236
2260
|
false,
|
|
2237
2261
|
null,
|
|
2238
|
-
"
|
|
2262
|
+
"83b8535e",
|
|
2239
2263
|
null
|
|
2240
2264
|
|
|
2241
2265
|
)
|
|
2242
2266
|
|
|
2243
2267
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
2244
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2245
|
-
var
|
|
2246
|
-
var
|
|
2268
|
+
// 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&
|
|
2269
|
+
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)}
|
|
2270
|
+
var MultiFlatmapVuervue_type_template_id_01b30450_scoped_true_staticRenderFns = []
|
|
2247
2271
|
|
|
2248
2272
|
|
|
2249
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
2273
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=01b30450&scoped=true&
|
|
2250
2274
|
|
|
2251
2275
|
// EXTERNAL MODULE: external "element-ui/lib/theme-chalk/popover.css"
|
|
2252
2276
|
var popover_css_ = __webpack_require__("a525");
|
|
@@ -2345,6 +2369,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
2345
2369
|
//
|
|
2346
2370
|
//
|
|
2347
2371
|
//
|
|
2372
|
+
//
|
|
2348
2373
|
|
|
2349
2374
|
/* eslint-disable no-alert, no-console */
|
|
2350
2375
|
|
|
@@ -2417,6 +2442,9 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2417
2442
|
getCurrentFlatmap: function getCurrentFlatmap() {
|
|
2418
2443
|
return this.$refs[this.activeSpecies][0];
|
|
2419
2444
|
},
|
|
2445
|
+
panZoomCallback: function panZoomCallback(payload) {
|
|
2446
|
+
this.$emit("pan-zoom-callback", payload);
|
|
2447
|
+
},
|
|
2420
2448
|
showPopup: function showPopup(featureId, node, options) {
|
|
2421
2449
|
var map = this.getCurrentFlatmap();
|
|
2422
2450
|
map.showPopup(featureId, node, options);
|
|
@@ -2431,11 +2459,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2431
2459
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
2432
2460
|
},
|
|
2433
2461
|
|
|
2434
|
-
/**
|
|
2435
|
-
* Function used for getting the current states of the scene. This exported states
|
|
2436
|
-
* can be imported using the importStates method.
|
|
2437
|
-
*
|
|
2438
|
-
* @public
|
|
2462
|
+
/**
|
|
2463
|
+
* Function used for getting the current states of the scene. This exported states
|
|
2464
|
+
* can be imported using the importStates method.
|
|
2465
|
+
*
|
|
2466
|
+
* @public
|
|
2439
2467
|
*/
|
|
2440
2468
|
getState: function getState() {
|
|
2441
2469
|
var state = {
|
|
@@ -2447,11 +2475,11 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2447
2475
|
return state;
|
|
2448
2476
|
},
|
|
2449
2477
|
|
|
2450
|
-
/**
|
|
2451
|
-
* Function used for importing the states of the scene. This exported states
|
|
2452
|
-
* can be imported using the read states method.
|
|
2453
|
-
*
|
|
2454
|
-
* @public
|
|
2478
|
+
/**
|
|
2479
|
+
* Function used for importing the states of the scene. This exported states
|
|
2480
|
+
* can be imported using the read states method.
|
|
2481
|
+
*
|
|
2482
|
+
* @public
|
|
2455
2483
|
*/
|
|
2456
2484
|
setState: function setState(state) {
|
|
2457
2485
|
var _this2 = this;
|
|
@@ -2499,9 +2527,9 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2499
2527
|
default: false
|
|
2500
2528
|
},
|
|
2501
2529
|
|
|
2502
|
-
/**
|
|
2503
|
-
* Initial species for the flatmap.
|
|
2504
|
-
* This value will be ignored if a valid state object is provided.
|
|
2530
|
+
/**
|
|
2531
|
+
* Initial species for the flatmap.
|
|
2532
|
+
* This value will be ignored if a valid state object is provided.
|
|
2505
2533
|
*/
|
|
2506
2534
|
initial: {
|
|
2507
2535
|
type: String,
|
|
@@ -2529,16 +2557,16 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2529
2557
|
},
|
|
2530
2558
|
availableSpecies: {},
|
|
2531
2559
|
|
|
2532
|
-
/**
|
|
2533
|
-
* State containing state of the flatmap.
|
|
2560
|
+
/**
|
|
2561
|
+
* State containing state of the flatmap.
|
|
2534
2562
|
*/
|
|
2535
2563
|
state: {
|
|
2536
2564
|
type: Object,
|
|
2537
2565
|
default: undefined
|
|
2538
2566
|
},
|
|
2539
2567
|
|
|
2540
|
-
/**
|
|
2541
|
-
* Specify the endpoint of the flatmap server.
|
|
2568
|
+
/**
|
|
2569
|
+
* Specify the endpoint of the flatmap server.
|
|
2542
2570
|
*/
|
|
2543
2571
|
flatmapAPI: {
|
|
2544
2572
|
type: String,
|
|
@@ -2564,8 +2592,8 @@ external_vue_default.a.use(popover_default.a);
|
|
|
2564
2592
|
});
|
|
2565
2593
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
2566
2594
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
2567
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
2568
|
-
var
|
|
2595
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=01b30450&scoped=true&lang=scss&
|
|
2596
|
+
var MultiFlatmapVuervue_type_style_index_0_id_01b30450_scoped_true_lang_scss_ = __webpack_require__("97da");
|
|
2569
2597
|
|
|
2570
2598
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
2571
2599
|
|
|
@@ -2578,11 +2606,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_45aec25f_scoped_true_lang_scss_ =
|
|
|
2578
2606
|
|
|
2579
2607
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
2580
2608
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
2581
|
-
|
|
2582
|
-
|
|
2609
|
+
MultiFlatmapVuervue_type_template_id_01b30450_scoped_true_render,
|
|
2610
|
+
MultiFlatmapVuervue_type_template_id_01b30450_scoped_true_staticRenderFns,
|
|
2583
2611
|
false,
|
|
2584
2612
|
null,
|
|
2585
|
-
"
|
|
2613
|
+
"01b30450",
|
|
2586
2614
|
null
|
|
2587
2615
|
|
|
2588
2616
|
)
|