@abi-software/flatmapvuer 0.3.7 → 0.3.8
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 +121 -100
- package/dist/flatmapvuer.common.js.map +1 -1
- package/dist/flatmapvuer.css +1 -1
- package/dist/flatmapvuer.umd.js +121 -100
- 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 +13933 -13923
- package/package.json +71 -67
- package/public/index.html +17 -17
- package/src/App.vue +163 -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 +1388 -1374
- package/src/components/MultiFlatmapVuer.vue +359 -351
- package/src/components/PubmedViewer.vue +198 -198
- package/src/components/Tooltip.vue +591 -591
- package/src/components/index.js +9 -9
- package/src/components/legends/Legends.vue +66 -66
- 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/legends/legend.svg +26 -0
- package/src/main.js +8 -8
- package/vue.config.js +31 -31
- package/src/nerve-map.js +0 -99
|
@@ -809,13 +809,6 @@ function scrollIntoView(container, selected) {
|
|
|
809
809
|
|
|
810
810
|
/***/ }),
|
|
811
811
|
|
|
812
|
-
/***/ "2ba9":
|
|
813
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
814
|
-
|
|
815
|
-
// extracted by mini-css-extract-plugin
|
|
816
|
-
|
|
817
|
-
/***/ }),
|
|
818
|
-
|
|
819
812
|
/***/ "2bb5":
|
|
820
813
|
/***/ (function(module, exports, __webpack_require__) {
|
|
821
814
|
|
|
@@ -1345,6 +1338,13 @@ module.exports = require("core-js/modules/es.regexp.to-string.js");
|
|
|
1345
1338
|
|
|
1346
1339
|
/***/ }),
|
|
1347
1340
|
|
|
1341
|
+
/***/ "3356":
|
|
1342
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1343
|
+
|
|
1344
|
+
// extracted by mini-css-extract-plugin
|
|
1345
|
+
|
|
1346
|
+
/***/ }),
|
|
1347
|
+
|
|
1348
1348
|
/***/ "3d2d":
|
|
1349
1349
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1350
1350
|
|
|
@@ -4542,6 +4542,13 @@ exports.PopupManager = _popupManager2.default;
|
|
|
4542
4542
|
|
|
4543
4543
|
/***/ }),
|
|
4544
4544
|
|
|
4545
|
+
/***/ "547f":
|
|
4546
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4547
|
+
|
|
4548
|
+
// extracted by mini-css-extract-plugin
|
|
4549
|
+
|
|
4550
|
+
/***/ }),
|
|
4551
|
+
|
|
4545
4552
|
/***/ "560b":
|
|
4546
4553
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4547
4554
|
|
|
@@ -6076,13 +6083,6 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
6076
6083
|
|
|
6077
6084
|
/***/ }),
|
|
6078
6085
|
|
|
6079
|
-
/***/ "6282":
|
|
6080
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
6081
|
-
|
|
6082
|
-
// extracted by mini-css-extract-plugin
|
|
6083
|
-
|
|
6084
|
-
/***/ }),
|
|
6085
|
-
|
|
6086
6086
|
/***/ "6378":
|
|
6087
6087
|
/***/ (function(module, exports) {
|
|
6088
6088
|
|
|
@@ -7142,6 +7142,17 @@ exports.default = {
|
|
|
7142
7142
|
}
|
|
7143
7143
|
};
|
|
7144
7144
|
|
|
7145
|
+
/***/ }),
|
|
7146
|
+
|
|
7147
|
+
/***/ "6f45":
|
|
7148
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7149
|
+
|
|
7150
|
+
"use strict";
|
|
7151
|
+
/* 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_2328f3de_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("547f");
|
|
7152
|
+
/* 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_2328f3de_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_2328f3de_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
7153
|
+
/* unused harmony reexport * */
|
|
7154
|
+
|
|
7155
|
+
|
|
7145
7156
|
/***/ }),
|
|
7146
7157
|
|
|
7147
7158
|
/***/ "7435":
|
|
@@ -9039,6 +9050,17 @@ module.exports = require("vue");
|
|
|
9039
9050
|
|
|
9040
9051
|
module.exports = require("core-js/modules/es.object.to-string.js");
|
|
9041
9052
|
|
|
9053
|
+
/***/ }),
|
|
9054
|
+
|
|
9055
|
+
/***/ "98f7":
|
|
9056
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
9057
|
+
|
|
9058
|
+
"use strict";
|
|
9059
|
+
/* 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_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3356");
|
|
9060
|
+
/* 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_6fc981d7_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_6fc981d7_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
9061
|
+
/* unused harmony reexport * */
|
|
9062
|
+
|
|
9063
|
+
|
|
9042
9064
|
/***/ }),
|
|
9043
9065
|
|
|
9044
9066
|
/***/ "9b22":
|
|
@@ -11920,17 +11942,6 @@ src_checkbox.install = function (Vue) {
|
|
|
11920
11942
|
|
|
11921
11943
|
/******/ });
|
|
11922
11944
|
|
|
11923
|
-
/***/ }),
|
|
11924
|
-
|
|
11925
|
-
/***/ "dd4a":
|
|
11926
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11927
|
-
|
|
11928
|
-
"use strict";
|
|
11929
|
-
/* 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_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2ba9");
|
|
11930
|
-
/* 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_61ad0a54_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_61ad0a54_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
11931
|
-
/* unused harmony reexport * */
|
|
11932
|
-
|
|
11933
|
-
|
|
11934
11945
|
/***/ }),
|
|
11935
11946
|
|
|
11936
11947
|
/***/ "de31":
|
|
@@ -14700,17 +14711,6 @@ module.exports = __webpack_require__("d010");
|
|
|
14700
14711
|
|
|
14701
14712
|
module.exports = require("core-js/modules/es.number.constructor.js");
|
|
14702
14713
|
|
|
14703
|
-
/***/ }),
|
|
14704
|
-
|
|
14705
|
-
/***/ "faaf":
|
|
14706
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
14707
|
-
|
|
14708
|
-
"use strict";
|
|
14709
|
-
/* 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_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6282");
|
|
14710
|
-
/* 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_289ef1f9_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_289ef1f9_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
14711
|
-
/* unused harmony reexport * */
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
14714
|
/***/ }),
|
|
14715
14715
|
|
|
14716
14716
|
/***/ "fae3":
|
|
@@ -14748,12 +14748,12 @@ if (typeof window !== 'undefined') {
|
|
|
14748
14748
|
// Indicate to webpack that this file can be concatenated
|
|
14749
14749
|
/* harmony default export */ var setPublicPath = (null);
|
|
14750
14750
|
|
|
14751
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14751
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-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=6fc981d7&scoped=true&
|
|
14752
14752
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"flatmap-container",attrs:{"element-loading-text":"Loading...","element-loading-spinner":"el-icon-loading","element-loading-background":"rgba(0, 0, 0, 0.3)"}},[_c('map-svg-sprite-color'),_c('div',{staticStyle:{"height":"100%","width":"100%","position":"relative","overflow-y":"none"}},[_c('div',{ref:"display",staticStyle:{"height":"100%","width":"100%"}}),_c('div',{staticClass:"beta-popovers"},[_c('div',[_c('el-popover',{ref:"warningPopover",attrs:{"content":_vm.warningMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[6].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[6], "value", $$v)},expression:"hoverVisibilities[6].value"}}),(_vm.displayWarning && _vm.warningMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:warningPopover",arg:"warningPopover"}],staticClass:"el-icon-warning warning-icon",on:{"mouseover":function($event){return _vm.showToolitip(6)},"mouseout":function($event){return _vm.hideToolitip(6)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("Beta")])]):_vm._e()],1),(_vm.displayLatestChanges)?_c('el-popover',{ref:"latestChangesPopover",attrs:{"content":_vm.latestChangesMessage,"placement":"right","appendToBody":false,"trigger":"manual","popper-class":"warning-popper flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[7].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[7], "value", $$v)},expression:"hoverVisibilities[7].value"}}):_vm._e(),(_vm.displayLatestChanges && _vm.latestChangesMessage)?_c('i',{directives:[{name:"popover",rawName:"v-popover:latestChangesPopover",arg:"latestChangesPopover"}],staticClass:"el-icon-warning latest-changesicon",on:{"mouseover":function($event){return _vm.showToolitip(7)},"mouseout":function($event){return _vm.hideToolitip(7)}}},[_c('span',{staticClass:"warning-text"},[_vm._v("What's new?")])]):_vm._e()],1),_c('div',{staticClass:"bottom-right-control"},[_c('el-popover',{attrs:{"content":"Zoom in","placement":"left","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper left-popper"},model:{value:(_vm.hoverVisibilities[0].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[0], "value", $$v)},expression:"hoverVisibilities[0].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomIn",attrs:{"slot":"reference","icon":"zoomIn"},nativeOn:{"click":function($event){return _vm.zoomIn()},"mouseover":function($event){return _vm.showToolitip(0)},"mouseout":function($event){return _vm.hideToolitip(0)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Zoom out","placement":"top-end","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper popper-zoomout"},model:{value:(_vm.hoverVisibilities[1].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[1], "value", $$v)},expression:"hoverVisibilities[1].value"}},[_c('map-svg-icon',{staticClass:"icon-button zoomOut",attrs:{"slot":"reference","icon":"zoomOut"},nativeOn:{"click":function($event){return _vm.zoomOut()},"mouseover":function($event){return _vm.showToolitip(1)},"mouseout":function($event){return _vm.hideToolitip(1)}},slot:"reference"})],1),_c('el-popover',{attrs:{"content":"Reset","placement":"top","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper"},model:{value:(_vm.hoverVisibilities[2].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[2], "value", $$v)},expression:"hoverVisibilities[2].value"}},[_c('div',[_vm._v(" Fit to "),_c('br'),_vm._v(" window ")]),_c('map-svg-icon',{staticClass:"icon-button fitWindow",attrs:{"slot":"reference","icon":"fitWindow"},nativeOn:{"click":function($event){return _vm.resetView()},"mouseover":function($event){return _vm.showToolitip(2)},"mouseout":function($event){return _vm.hideToolitip(2)}},slot:"reference"})],1)],1),_c('el-popover',{ref:"checkBoxPopover",attrs:{"content":"Change pathway visibility","placement":"right","appendToBody":false,"trigger":"manual","popper-class":"flatmap-popper right-popper"},model:{value:(_vm.hoverVisibilities[4].value),callback:function ($$v) {_vm.$set(_vm.hoverVisibilities[4], "value", $$v)},expression:"hoverVisibilities[4].value"}}),_c('div',{staticClass:"pathway-location",class:{ open: _vm.drawerOpen, close: !_vm.drawerOpen }},[(_vm.pathways.length > 0 && _vm.pathControls)?_c('div',{directives:[{name:"popover",rawName:"v-popover:checkBoxPopover",arg:"checkBoxPopover"}],staticClass:"pathway-container"},[_c('svg-legends',{staticClass:"svg-legends-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)}
|
|
14753
14753
|
var staticRenderFns = []
|
|
14754
14754
|
|
|
14755
14755
|
|
|
14756
|
-
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=
|
|
14756
|
+
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=template&id=6fc981d7&scoped=true&
|
|
14757
14757
|
|
|
14758
14758
|
// EXTERNAL MODULE: external "core-js/modules/es.symbol.js"
|
|
14759
14759
|
var es_symbol_js_ = __webpack_require__("9b22");
|
|
@@ -14958,7 +14958,7 @@ var es_number_constructor_js_ = __webpack_require__("f989");
|
|
|
14958
14958
|
var external_vue_ = __webpack_require__("8bbf");
|
|
14959
14959
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
14960
14960
|
|
|
14961
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
14961
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-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=4a14f4de&scoped=true&
|
|
14962
14962
|
var Tooltipvue_type_template_id_4a14f4de_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"tooltip-container"},[(_vm.content)?_c('el-main',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],staticClass:"main"},[(_vm.content.title)?_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.capitalise(_vm.content.title)))])]):_c('div',{staticClass:"block"},[_c('span',{staticClass:"title"},[_vm._v(_vm._s(_vm.content.featureId))])]),_c('div',{staticClass:"content-container scrollbar"},[(_vm.content.featureIds)?_c('pubmed-viewer',{directives:[{name:"show",rawName:"v-show",value:(false),expression:"false"}],staticClass:"block",attrs:{"entry":_vm.content},on:{"pubmedSearchUrl":_vm.pubmedSearchUrlUpdate}}):_vm._e(),_vm._v(" "+_vm._s(_vm.content.paths)+" "),(this.origins)?_c('div',{staticClass:"block"},[_c('div',[_c('span',{staticClass:"attribute-title"},[_vm._v("Origin")]),_c('el-popover',{attrs:{"width":"250","trigger":"hover","append-to-body":false,"popper-class":"popover-origin-help"}},[_c('i',{staticClass:"el-icon-warning-outline info",attrs:{"slot":"reference"},slot:"reference"}),_c('span',{staticStyle:{"word-break":"keep-all"}},[_c('i',[_vm._v("Origin")]),_vm._v(" "+_vm._s(_vm.originDescription)+" ")])])],1),_vm._l((_vm.origins),function(origin,i){return _c('div',{key:origin,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(origin))+" "),(i != _vm.origins.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_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,i){return _c('div',{key:component,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(component))+" "),(i != _vm.components.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])})],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,i){return _c('div',{key:destination,staticClass:"attribute-content"},[_vm._v(" "+_vm._s(_vm.capitalise(destination))+" "),(i != _vm.destinations.length - 1)?_c('div',{staticClass:"seperator"}):_vm._e()])}),_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)}
|
|
14963
14963
|
var Tooltipvue_type_template_id_4a14f4de_scoped_true_staticRenderFns = []
|
|
14964
14964
|
|
|
@@ -15052,7 +15052,7 @@ var en_default = /*#__PURE__*/__webpack_require__.n(en);
|
|
|
15052
15052
|
var locale = __webpack_require__("4897");
|
|
15053
15053
|
var locale_default = /*#__PURE__*/__webpack_require__.n(locale);
|
|
15054
15054
|
|
|
15055
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15055
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-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=aae60614&scoped=true&
|
|
15056
15056
|
var PubmedViewervue_type_template_id_aae60614_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)])}
|
|
15057
15057
|
var PubmedViewervue_type_template_id_aae60614_scoped_true_staticRenderFns = []
|
|
15058
15058
|
|
|
@@ -15959,7 +15959,7 @@ var Tooltip_component = normalizeComponent(
|
|
|
15959
15959
|
// EXTERNAL MODULE: external "@abi-software/svg-sprite"
|
|
15960
15960
|
var svg_sprite_ = __webpack_require__("429c");
|
|
15961
15961
|
|
|
15962
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
15962
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-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/legends/Legends.vue?vue&type=template&id=5dafd4cc&scoped=true&
|
|
15963
15963
|
var Legendsvue_type_template_id_5dafd4cc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"legends-container"},[_c('svg',{staticStyle:{"enable-background":"new 0 0 500 500"},attrs:{"version":"1.1","id":"Layer_1","x":"0px","y":"0px","viewBox":"0 0 500 500","xmlns":"http://www.w3.org/2000/svg","xmlns:bx":"https://boxy-svg.com"}},[_c('defs',[_c('bx:grid',{attrs:{"height":"30.447","width":"32.516","x":"0","y":"0"}})],1),_c('path',{staticClass:"st0 st0-translate",attrs:{"d":"M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z"}}),_c('path',{staticClass:"st1",attrs:{"d":"M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z"}}),_c('path',{staticClass:"st2",attrs:{"d":"M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 171.7975)"}},[_vm._v("Tissue region")]),_c('path',{staticClass:"st6",attrs:{"d":"M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z"}}),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0161 257.675)"}},[_vm._v("Brain nuclei")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 345.5266)"}},[_vm._v("Ganglia")]),_c('text',{staticClass:"st3 st4 st5",staticStyle:{"white-space":"pre"},attrs:{"transform":"matrix(0.9908 0 0 1 118.0903 433.1613)"}},[_vm._v("Nerve plexus")])])])}
|
|
15964
15964
|
var Legendsvue_type_template_id_5dafd4cc_scoped_true_staticRenderFns = []
|
|
15965
15965
|
|
|
@@ -16355,8 +16355,8 @@ var mapResize = function mapResize(map) {
|
|
|
16355
16355
|
this.drawerOpen = !this.drawerOpen;
|
|
16356
16356
|
},
|
|
16357
16357
|
|
|
16358
|
-
/**
|
|
16359
|
-
* Function to toggle colour/greyscale of organs.
|
|
16358
|
+
/**
|
|
16359
|
+
* Function to toggle colour/greyscale of organs.
|
|
16360
16360
|
*/
|
|
16361
16361
|
setColour: function setColour(flag) {
|
|
16362
16362
|
this.colourRadio = flag;
|
|
@@ -16369,8 +16369,8 @@ var mapResize = function mapResize(map) {
|
|
|
16369
16369
|
}
|
|
16370
16370
|
},
|
|
16371
16371
|
|
|
16372
|
-
/**
|
|
16373
|
-
* Function to toggle outlines f organs.
|
|
16372
|
+
/**
|
|
16373
|
+
* Function to toggle outlines f organs.
|
|
16374
16374
|
*/
|
|
16375
16375
|
setOutlines: function setOutlines(flag) {
|
|
16376
16376
|
this.outlineRadio = flag;
|
|
@@ -16383,9 +16383,9 @@ var mapResize = function mapResize(map) {
|
|
|
16383
16383
|
}
|
|
16384
16384
|
},
|
|
16385
16385
|
|
|
16386
|
-
/**
|
|
16387
|
-
* Function to toggle paths to default.
|
|
16388
|
-
* Also called when the associated button is pressed.
|
|
16386
|
+
/**
|
|
16387
|
+
* Function to toggle paths to default.
|
|
16388
|
+
* Also called when the associated button is pressed.
|
|
16389
16389
|
*/
|
|
16390
16390
|
resetView: function resetView() {
|
|
16391
16391
|
if (this.mapImp) {
|
|
@@ -16398,9 +16398,9 @@ var mapResize = function mapResize(map) {
|
|
|
16398
16398
|
}
|
|
16399
16399
|
},
|
|
16400
16400
|
|
|
16401
|
-
/**
|
|
16402
|
-
* Function to zoom in.
|
|
16403
|
-
* Also called when the associated button is pressed.
|
|
16401
|
+
/**
|
|
16402
|
+
* Function to zoom in.
|
|
16403
|
+
* Also called when the associated button is pressed.
|
|
16404
16404
|
*/
|
|
16405
16405
|
zoomIn: function zoomIn() {
|
|
16406
16406
|
if (this.mapImp) {
|
|
@@ -16408,9 +16408,9 @@ var mapResize = function mapResize(map) {
|
|
|
16408
16408
|
}
|
|
16409
16409
|
},
|
|
16410
16410
|
|
|
16411
|
-
/**
|
|
16412
|
-
* Function to zoom out.
|
|
16413
|
-
* Also called when the associated button is pressed.
|
|
16411
|
+
/**
|
|
16412
|
+
* Function to zoom out.
|
|
16413
|
+
* Also called when the associated button is pressed.
|
|
16414
16414
|
*/
|
|
16415
16415
|
zoomOut: function zoomOut() {
|
|
16416
16416
|
if (this.mapImp) {
|
|
@@ -16448,6 +16448,7 @@ var mapResize = function mapResize(map) {
|
|
|
16448
16448
|
var label = data.label;
|
|
16449
16449
|
var resource = [data.models];
|
|
16450
16450
|
var taxonomy = _this.entry;
|
|
16451
|
+
var flatmapId = _this.flatmapId;
|
|
16451
16452
|
|
|
16452
16453
|
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
16453
16454
|
args[_key - 2] = arguments[_key];
|
|
@@ -16455,6 +16456,7 @@ var mapResize = function mapResize(map) {
|
|
|
16455
16456
|
|
|
16456
16457
|
var payload = {
|
|
16457
16458
|
dataset: data.dataset,
|
|
16459
|
+
flatmapId: flatmapId,
|
|
16458
16460
|
taxonomy: taxonomy,
|
|
16459
16461
|
resource: resource,
|
|
16460
16462
|
label: label,
|
|
@@ -16650,6 +16652,7 @@ var mapResize = function mapResize(map) {
|
|
|
16650
16652
|
if (this.mapImp) {
|
|
16651
16653
|
var state = {
|
|
16652
16654
|
entry: this.entry,
|
|
16655
|
+
flatmapId: this.flatmapId,
|
|
16653
16656
|
viewport: this.mapImp.getState()
|
|
16654
16657
|
};
|
|
16655
16658
|
return state;
|
|
@@ -16659,8 +16662,8 @@ var mapResize = function mapResize(map) {
|
|
|
16659
16662
|
},
|
|
16660
16663
|
setState: function setState(state) {
|
|
16661
16664
|
if (state) {
|
|
16662
|
-
if (this.mapImp && state.entry) {
|
|
16663
|
-
if (this.entry == state.entry) if (state.viewport) {
|
|
16665
|
+
if (this.mapImp && (state.entry || state.flatmapId)) {
|
|
16666
|
+
if (this.flatmapId && this.flatmapId == state.flatmapId || this.entry == state.entry) if (state.viewport) {
|
|
16664
16667
|
this.mapImp.setState(state.viewport);
|
|
16665
16668
|
}
|
|
16666
16669
|
} else {
|
|
@@ -16681,8 +16684,14 @@ var mapResize = function mapResize(map) {
|
|
|
16681
16684
|
};
|
|
16682
16685
|
}
|
|
16683
16686
|
|
|
16684
|
-
var entry = this.
|
|
16685
|
-
if (state && state.
|
|
16687
|
+
var entry = this.flatmapId;
|
|
16688
|
+
if (state && state.flatmapId) entry = state.flatmapId;
|
|
16689
|
+
|
|
16690
|
+
if (!entry) {
|
|
16691
|
+
entry = this.entry;
|
|
16692
|
+
if (state && state.entry) entry = state.entry;
|
|
16693
|
+
}
|
|
16694
|
+
|
|
16686
16695
|
var promise1 = this.mapManager.loadMap(entry, this.$refs.display, this.eventCallback(), {
|
|
16687
16696
|
//fullscreenControl: false,
|
|
16688
16697
|
//annotatable: false,
|
|
@@ -16710,7 +16719,7 @@ var mapResize = function mapResize(map) {
|
|
|
16710
16719
|
if (_this3._viewportToBeSet) _this3.mapImp.setState(_this3._viewportToBeSet);else if (state && state.viewport) _this3.mapImp.setState(state.viewport);
|
|
16711
16720
|
});
|
|
16712
16721
|
} else if (state) {
|
|
16713
|
-
if (this.entry == state.entry) this._viewportToBeSet = state.viewport;
|
|
16722
|
+
if (this.flatmapId == state.flatmapId || this.entry == state.entry) this._viewportToBeSet = state.viewport;
|
|
16714
16723
|
}
|
|
16715
16724
|
},
|
|
16716
16725
|
showMinimap: function showMinimap(flag) {
|
|
@@ -16720,8 +16729,8 @@ var mapResize = function mapResize(map) {
|
|
|
16720
16729
|
this.drawerOpen = flag;
|
|
16721
16730
|
},
|
|
16722
16731
|
|
|
16723
|
-
/**
|
|
16724
|
-
* Function to display features with annotation matching the provided term.
|
|
16732
|
+
/**
|
|
16733
|
+
* Function to display features with annotation matching the provided term.
|
|
16725
16734
|
*/
|
|
16726
16735
|
searchAndShowResult: function searchAndShowResult(term) {
|
|
16727
16736
|
if (this.mapImp) {
|
|
@@ -16741,8 +16750,8 @@ var mapResize = function mapResize(map) {
|
|
|
16741
16750
|
return false;
|
|
16742
16751
|
},
|
|
16743
16752
|
|
|
16744
|
-
/**
|
|
16745
|
-
* Get the list of suggested terms
|
|
16753
|
+
/**
|
|
16754
|
+
* Get the list of suggested terms
|
|
16746
16755
|
*/
|
|
16747
16756
|
searchSuggestions: function searchSuggestions(term) {
|
|
16748
16757
|
if (this.mapImp) return this.mapImp.search(term);
|
|
@@ -16751,6 +16760,7 @@ var mapResize = function mapResize(map) {
|
|
|
16751
16760
|
},
|
|
16752
16761
|
props: {
|
|
16753
16762
|
entry: String,
|
|
16763
|
+
flatmapId: String,
|
|
16754
16764
|
featureInfo: {
|
|
16755
16765
|
type: Boolean,
|
|
16756
16766
|
default: false
|
|
@@ -16797,23 +16807,23 @@ var mapResize = function mapResize(map) {
|
|
|
16797
16807
|
},
|
|
16798
16808
|
latestChangesMessage: {
|
|
16799
16809
|
type: String,
|
|
16800
|
-
default: "
|
|
16810
|
+
default: "Search now provide suggested terms. Add new legends. New tilesets. New female map. Improve upstream downstream information"
|
|
16801
16811
|
},
|
|
16802
16812
|
|
|
16803
|
-
/**
|
|
16804
|
-
* State containing state of the flatmap.
|
|
16813
|
+
/**
|
|
16814
|
+
* State containing state of the flatmap.
|
|
16805
16815
|
*/
|
|
16806
16816
|
state: {
|
|
16807
16817
|
type: Object,
|
|
16808
16818
|
default: undefined
|
|
16809
16819
|
},
|
|
16810
16820
|
|
|
16811
|
-
/**
|
|
16812
|
-
* Specify the endpoint of the flatmap server.
|
|
16821
|
+
/**
|
|
16822
|
+
* Specify the endpoint of the flatmap server.
|
|
16813
16823
|
*/
|
|
16814
16824
|
flatmapAPI: {
|
|
16815
16825
|
type: String,
|
|
16816
|
-
default: "https://mapcore-demo.org/
|
|
16826
|
+
default: "https://mapcore-demo.org/current/flatmap/v3/"
|
|
16817
16827
|
},
|
|
16818
16828
|
sparcAPI: {
|
|
16819
16829
|
type: String,
|
|
@@ -16866,6 +16876,9 @@ var mapResize = function mapResize(map) {
|
|
|
16866
16876
|
entry: function entry() {
|
|
16867
16877
|
if (!this.state) this.createFlatmap();
|
|
16868
16878
|
},
|
|
16879
|
+
flatmapId: function flatmapId() {
|
|
16880
|
+
if (!this.state) this.createFlatmap();
|
|
16881
|
+
},
|
|
16869
16882
|
helpMode: function helpMode(val) {
|
|
16870
16883
|
this.setHelpMode(val);
|
|
16871
16884
|
},
|
|
@@ -16886,8 +16899,8 @@ var mapResize = function mapResize(map) {
|
|
|
16886
16899
|
});
|
|
16887
16900
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue?vue&type=script&lang=js&
|
|
16888
16901
|
/* harmony default export */ var components_FlatmapVuervue_type_script_lang_js_ = (FlatmapVuervue_type_script_lang_js_);
|
|
16889
|
-
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=
|
|
16890
|
-
var
|
|
16902
|
+
// EXTERNAL MODULE: ./src/components/FlatmapVuer.vue?vue&type=style&index=0&id=6fc981d7&scoped=true&lang=scss&
|
|
16903
|
+
var FlatmapVuervue_type_style_index_0_id_6fc981d7_scoped_true_lang_scss_ = __webpack_require__("98f7");
|
|
16891
16904
|
|
|
16892
16905
|
// CONCATENATED MODULE: ./src/components/FlatmapVuer.vue
|
|
16893
16906
|
|
|
@@ -16904,18 +16917,18 @@ var FlatmapVuer_component = normalizeComponent(
|
|
|
16904
16917
|
staticRenderFns,
|
|
16905
16918
|
false,
|
|
16906
16919
|
null,
|
|
16907
|
-
"
|
|
16920
|
+
"6fc981d7",
|
|
16908
16921
|
null
|
|
16909
16922
|
|
|
16910
16923
|
)
|
|
16911
16924
|
|
|
16912
16925
|
/* harmony default export */ var FlatmapVuer = (FlatmapVuer_component.exports);
|
|
16913
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
16914
|
-
var
|
|
16915
|
-
var
|
|
16926
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"347e5940-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=2328f3de&scoped=true&
|
|
16927
|
+
var MultiFlatmapVuervue_type_template_id_2328f3de_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,"flatmap-id":item.id,"displayWarning":item.displayWarning,"warningMessage":_vm.warningMessage,"displayLatestChanges":item.displayLatestChanges,"latestChangesMessage":item.latestChangesMessage,"featureInfo":_vm.featureInfo,"minZoom":_vm.minZoom,"pathControls":_vm.pathControls,"searchable":_vm.searchable,"helpMode":_vm.helpMode,"renderAtMounted":_vm.renderAtMounted,"displayMinimap":_vm.displayMinimap,"flatmapAPI":_vm.flatmapAPI,"sparcAPI":_vm.sparcAPI},on:{"resource-selected":_vm.FlatmapSelected,"ready":_vm.FlatmapReady,"pan-zoom-callback":_vm.panZoomCallback}})})],2)}
|
|
16928
|
+
var MultiFlatmapVuervue_type_template_id_2328f3de_scoped_true_staticRenderFns = []
|
|
16916
16929
|
|
|
16917
16930
|
|
|
16918
|
-
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=
|
|
16931
|
+
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=template&id=2328f3de&scoped=true&
|
|
16919
16932
|
|
|
16920
16933
|
// EXTERNAL MODULE: ./node_modules/element-ui/lib/theme-chalk/popover.css
|
|
16921
16934
|
var popover = __webpack_require__("06f1");
|
|
@@ -17018,6 +17031,7 @@ var es_object_keys_js_ = __webpack_require__("ea64");
|
|
|
17018
17031
|
//
|
|
17019
17032
|
//
|
|
17020
17033
|
//
|
|
17034
|
+
//
|
|
17021
17035
|
|
|
17022
17036
|
/* eslint-disable no-alert, no-console */
|
|
17023
17037
|
|
|
@@ -17055,10 +17069,17 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17055
17069
|
_this2.speciesLis = {};
|
|
17056
17070
|
Object.keys(_this2.availableSpecies).forEach(function (key) {
|
|
17057
17071
|
for (var i = 0; i < data.length; i++) {
|
|
17058
|
-
if (
|
|
17072
|
+
if (_this2.availableSpecies[key].id === data[i].id) {
|
|
17059
17073
|
_this2.speciesList[key] = _this2.availableSpecies[key];
|
|
17060
17074
|
break;
|
|
17061
17075
|
}
|
|
17076
|
+
|
|
17077
|
+
if (_this2.availableSpecies[key].taxo === data[i].taxon) {
|
|
17078
|
+
_this2.speciesList[key] = _this2.availableSpecies[key]; //make sure the id is unset as it fails to match the one on
|
|
17079
|
+
|
|
17080
|
+
_this2.speciesList[key].id = undefined;
|
|
17081
|
+
break;
|
|
17082
|
+
}
|
|
17062
17083
|
}
|
|
17063
17084
|
});
|
|
17064
17085
|
|
|
@@ -17113,11 +17134,11 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17113
17134
|
this.$emit('flatmapChanged', this.activeSpecies);
|
|
17114
17135
|
},
|
|
17115
17136
|
|
|
17116
|
-
/**
|
|
17117
|
-
* Function used for getting the current states of the scene. This exported states
|
|
17118
|
-
* can be imported using the importStates method.
|
|
17119
|
-
*
|
|
17120
|
-
* @public
|
|
17137
|
+
/**
|
|
17138
|
+
* Function used for getting the current states of the scene. This exported states
|
|
17139
|
+
* can be imported using the importStates method.
|
|
17140
|
+
*
|
|
17141
|
+
* @public
|
|
17121
17142
|
*/
|
|
17122
17143
|
getState: function getState() {
|
|
17123
17144
|
var state = {
|
|
@@ -17129,11 +17150,11 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17129
17150
|
return state;
|
|
17130
17151
|
},
|
|
17131
17152
|
|
|
17132
|
-
/**
|
|
17133
|
-
* Function used for importing the states of the scene. This exported states
|
|
17134
|
-
* can be imported using the read states method.
|
|
17135
|
-
*
|
|
17136
|
-
* @public
|
|
17153
|
+
/**
|
|
17154
|
+
* Function used for importing the states of the scene. This exported states
|
|
17155
|
+
* can be imported using the read states method.
|
|
17156
|
+
*
|
|
17157
|
+
* @public
|
|
17137
17158
|
*/
|
|
17138
17159
|
setState: function setState(state) {
|
|
17139
17160
|
var _this3 = this;
|
|
@@ -17181,9 +17202,9 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17181
17202
|
default: false
|
|
17182
17203
|
},
|
|
17183
17204
|
|
|
17184
|
-
/**
|
|
17185
|
-
* Initial species for the flatmap.
|
|
17186
|
-
* This value will be ignored if a valid state object is provided.
|
|
17205
|
+
/**
|
|
17206
|
+
* Initial species for the flatmap.
|
|
17207
|
+
* This value will be ignored if a valid state object is provided.
|
|
17187
17208
|
*/
|
|
17188
17209
|
initial: {
|
|
17189
17210
|
type: String,
|
|
@@ -17211,20 +17232,20 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17211
17232
|
},
|
|
17212
17233
|
availableSpecies: {},
|
|
17213
17234
|
|
|
17214
|
-
/**
|
|
17215
|
-
* State containing state of the flatmap.
|
|
17235
|
+
/**
|
|
17236
|
+
* State containing state of the flatmap.
|
|
17216
17237
|
*/
|
|
17217
17238
|
state: {
|
|
17218
17239
|
type: Object,
|
|
17219
17240
|
default: undefined
|
|
17220
17241
|
},
|
|
17221
17242
|
|
|
17222
|
-
/**
|
|
17223
|
-
* Specify the endpoint of the flatmap server.
|
|
17243
|
+
/**
|
|
17244
|
+
* Specify the endpoint of the flatmap server.
|
|
17224
17245
|
*/
|
|
17225
17246
|
flatmapAPI: {
|
|
17226
17247
|
type: String,
|
|
17227
|
-
default: "https://mapcore-demo.org/
|
|
17248
|
+
default: "https://mapcore-demo.org/current/flatmap/v3/"
|
|
17228
17249
|
},
|
|
17229
17250
|
sparcAPI: {
|
|
17230
17251
|
type: String,
|
|
@@ -17250,8 +17271,8 @@ external_vue_default.a.use(lib_popover_default.a);
|
|
|
17250
17271
|
});
|
|
17251
17272
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=script&lang=js&
|
|
17252
17273
|
/* harmony default export */ var components_MultiFlatmapVuervue_type_script_lang_js_ = (MultiFlatmapVuervue_type_script_lang_js_);
|
|
17253
|
-
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=
|
|
17254
|
-
var
|
|
17274
|
+
// EXTERNAL MODULE: ./src/components/MultiFlatmapVuer.vue?vue&type=style&index=0&id=2328f3de&scoped=true&lang=scss&
|
|
17275
|
+
var MultiFlatmapVuervue_type_style_index_0_id_2328f3de_scoped_true_lang_scss_ = __webpack_require__("6f45");
|
|
17255
17276
|
|
|
17256
17277
|
// CONCATENATED MODULE: ./src/components/MultiFlatmapVuer.vue
|
|
17257
17278
|
|
|
@@ -17264,11 +17285,11 @@ var MultiFlatmapVuervue_type_style_index_0_id_61ad0a54_scoped_true_lang_scss_ =
|
|
|
17264
17285
|
|
|
17265
17286
|
var MultiFlatmapVuer_component = normalizeComponent(
|
|
17266
17287
|
components_MultiFlatmapVuervue_type_script_lang_js_,
|
|
17267
|
-
|
|
17268
|
-
|
|
17288
|
+
MultiFlatmapVuervue_type_template_id_2328f3de_scoped_true_render,
|
|
17289
|
+
MultiFlatmapVuervue_type_template_id_2328f3de_scoped_true_staticRenderFns,
|
|
17269
17290
|
false,
|
|
17270
17291
|
null,
|
|
17271
|
-
"
|
|
17292
|
+
"2328f3de",
|
|
17272
17293
|
null
|
|
17273
17294
|
|
|
17274
17295
|
)
|