"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _propTypes=require("prop-types"),PropTypes=_interopRequireWildcard(_propTypes),_default=require("../../locale-provider/default"),_default2=_interopRequireDefault(_default);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var o={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(o[r]=e[r]);return o.default=e,o}function noop(){}exports.default={propTypes:{className:PropTypes.string,locale:PropTypes.object,style:PropTypes.object,visible:PropTypes.bool,onSelect:PropTypes.func,prefixCls:PropTypes.string,onChange:PropTypes.func,onOk:PropTypes.func},getDefaultProps:function(){return{locale:_default2.default.DatePicker.lang,style:{},visible:!0,prefixCls:"rc-calendar",className:"",onSelect:noop,onChange:noop,onClear:noop,renderFooter:function(){return null},renderSidebar:function(){return null}}},shouldComponentUpdate:function(e){return this.props.visible||e.visible},getFormat:function(){var e=this.props.format,o=this.props,r=o.locale,t=o.timePicker;return e=e||(t?r.dateTimeFormat:r.dateFormat)},focus:function(){this.rootInstance&&this.rootInstance.focus()},saveRoot:function(e){this.rootInstance=e}},module.exports=exports.default;