mirador
Version:
An open-source, web-based 'multi-up' viewer that supports zoom-pan-rotate functionality, ability to display/compare simple images, and images with annotations.
43 lines (30 loc) • 979 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _redux = require("redux");
var _reactRedux = require("react-redux");
var _reactI18next = require("react-i18next");
var _styles = require("@material-ui/core/styles");
var _withPlugins = require("../extend/withPlugins");
var _CustomPanel = require("../components/CustomPanel");
/**
* mapStateToProps - to hook up connect
*/
var mapStateToProps = function mapStateToProps(state, _ref) {
var id = _ref.id,
windowId = _ref.windowId;
return {};
};
/**
*
* @param theme
* @returns {label: {paddingLeft: number}}}
*/
var styles = function styles(theme) {
return {};
};
var enhance = (0, _redux.compose)((0, _reactI18next.withTranslation)(), (0, _styles.withStyles)(styles), (0, _reactRedux.connect)(mapStateToProps), (0, _withPlugins.withPlugins)('CustomPanel'));
var _default = enhance(_CustomPanel.CustomPanel);
exports["default"] = _default;