Liferay.Loader.define("dynamic-data-mapping-form-field-type@6.0.108/Validation/StartEndDate",["module","exports","require","liferay!frontend-js-react-web$react","./CustomDate","./SelectDateType","./StartEndDate.scss"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(r("liferay!frontend-js-react-web$react")),n=l(r("./CustomDate")),o=l(r("./SelectDateType"));function l(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r("./StartEndDate.scss");var p=({dateFieldOptions:e,eventType:t,label:r,name:l,onChange:i,options:c,parameters:p,readOnly:u,tooltip:s,visible:f})=>{const y=e=>{i(t,d(d({},p),e))};return a.default.createElement(a.default.Fragment,null,a.default.createElement(o.default,{dateFieldName:p.dateFieldName,dateFieldOptions:e,label:r,onChange:(e,t)=>y({dateFieldName:t,type:e}),options:c,tooltip:s,type:p.type}),"customDate"===(null==p?void 0:p.type)&&a.default.createElement(n.default,{dateFieldOptions:e,eventType:t,name:l,onChange:y,options:c,parameters:p,readOnly:u,visible:f}))};t.default=p}}));
//# sourceMappingURL=StartEndDate.js.map