Liferay.Loader.define("@liferay/object-js-components-web@1.0.33/components/DatePicker",["module","exports","require","@frontend-taglib-clay$clayui/date-picker","liferay!object-js-components-web$moment","liferay!frontend-js-react-web$react","./FieldBase"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.DatePicker=function DatePicker({className:a,disabled:r,error:o,feedbackMessage:d,id:c,label:s,onChange:u,range:f,required:b,value:p}){return n.default.createElement(i.FieldBase,{className:a,disabled:r,errorMessage:o,helpMessage:d,id:c,label:s,required:b},n.default.createElement(t.default,{onChange:a=>{u(a.replace(e,""))},placeholder:"YYYY-MM-DD",range:f,value:p,years:{end:(0,l.default)().year()+5,start:(0,l.default)().year()-5}}))};var t=_interopRequireDefault(r("@frontend-taglib-clay$clayui/date-picker")),l=_interopRequireDefault(r("liferay!object-js-components-web$moment")),n=_interopRequireDefault(r("liferay!frontend-js-react-web$react")),i=r("./FieldBase");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const e=/[^0-9-]/}}));
//# sourceMappingURL=DatePicker.js.map