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