Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.115/designer/js/definition-builder/diagram-builder/components/sidebar/sections/timers/select-action/ActionTypeNotification",["module","exports","require","@frontend-taglib-clay$clayui/button","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=_interopRequireWildcard(r("@frontend-taglib-clay$clayui/button")),n=_interopRequireWildcard(r("liferay!frontend-js-react-web$react"));function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=i?Object.getOwnPropertyDescriptor(e,n):null;a&&(a.get||a.set)?Object.defineProperty(r,n,a):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}var _default=()=>{const[e,t]=(0,n.useState)([{identifier:"".concat(Date.now(),"-0")}]);return e.map((({identifier:r})=>n.default.createElement("div",{key:"section-".concat(r)},n.default.createElement("div",null,"Notification Placeholder ",r),n.default.createElement("div",{className:"section-buttons-area"},n.default.createElement(i.default,{className:"mr-3",displayType:"secondary",onClick:()=>t((e=>[...e,{identifier:"".concat(Date.now(),"-").concat(e.length)}]))},"Add Button Placeholder"),e.length>1&&n.default.createElement(i.ClayButtonWithIcon,{className:"delete-button",displayType:"unstyled",onClick:()=>(e=>{t((t=>t.filter((t=>t.identifier!==e))))})(r),symbol:"trash"})))))};t.default=_default}}));
//# sourceMappingURL=ActionTypeNotification.js.map