Liferay.Loader.define("@liferay/notification-web@1.0.35/js/components/SettingsContainer/EmailNotificationSettings",["module","exports","require","@liferay/object-js-components-web","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.EmailNotificationSettings=function EmailNotificationSettings({errors:e,selectedLocale:t,setValues:r,values:c}){return n.default.createElement(n.default.Fragment,null,n.default.createElement(a.InputLocalized,{error:e.to,label:Liferay.Language.get("to"),name:"to",onChange:e=>{r(_objectSpread(_objectSpread({},c),{},{recipients:[_objectSpread(_objectSpread({},c.recipients[0]),{},{to:e})]}))},placeholder:"",required:!0,selectedLocale:t,translations:c.recipients[0].to}),n.default.createElement("div",{className:"row"},n.default.createElement("div",{className:"col-lg-6"},n.default.createElement(a.Input,{label:Liferay.Language.get("cc"),name:"cc",onChange:({target:e})=>r(_objectSpread(_objectSpread({},c),{},{recipients:[_objectSpread(_objectSpread({},c.recipients[0]),{},{cc:e.value})]})),value:c.recipients[0].cc})),n.default.createElement("div",{className:"col-lg-6"},n.default.createElement(a.Input,{label:Liferay.Language.get("bcc"),name:"bcc",onChange:({target:e})=>r(_objectSpread(_objectSpread({},c),{},{recipients:[_objectSpread(_objectSpread({},c.recipients[0]),{},{bcc:e.value})]})),value:c.recipients[0].bcc}))),n.default.createElement("div",{className:"row"},n.default.createElement("div",{className:"col-lg-6"},n.default.createElement(a.Input,{error:e.from,label:Liferay.Language.get("from-address"),name:"fromAddress",onChange:({target:e})=>r(_objectSpread(_objectSpread({},c),{},{recipients:[_objectSpread(_objectSpread({},c.recipients[0]),{},{from:e.value})]})),required:!0,value:c.recipients[0].from})),n.default.createElement("div",{className:"col-lg-6"},n.default.createElement(a.InputLocalized,{error:e.fromName,label:Liferay.Language.get("from-name"),name:"fromName",onChange:e=>{r(_objectSpread(_objectSpread({},c),{},{recipients:[_objectSpread(_objectSpread({},c.recipients[0]),{},{fromName:e})]}))},placeholder:"",required:!0,selectedLocale:t,translations:c.recipients[0].fromName}))))};var a=r("@liferay/object-js-components-web"),n=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(r("liferay!frontend-js-react-web$react"));function ownKeys(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 _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}}}));
//# sourceMappingURL=EmailNotificationSettings.js.map