Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.85/designer/js/definition-builder/diagram-builder/components/sidebar/sections/timers/select-action/SelectActionType",["module","exports","require","@frontend-taglib-clay$clayui/form","liferay!frontend-js-react-web$react"],(function(e,t,a){var n;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var a={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=n?Object.getOwnPropertyDescriptor(e,r):null;i&&(i.get||i.set)?Object.defineProperty(a,r,i):a[r]=e[r]}a.default=e,t&&t.set(e,a);return a}(a("@frontend-taglib-clay$clayui/form")),i=(n=a("liferay!frontend-js-react-web$react"))&&n.__esModule?n:{default:n};function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}const e=[{actionType:"timerActions",disabled:!1,label:Liferay.Language.get("action")},{actionType:"timerNotifications",disabled:!0,label:Liferay.Language.get("notification")},{actionType:"reassignments",disabled:!1,label:Liferay.Language.get("reassignment")}];var o=({actionSectionsIndex:t,actionType:a,reassignments:n,setActionSections:l})=>(e[2].disabled=n,i.default.createElement(r.default.Group,null,i.default.createElement("label",{htmlFor:"action-type"},Liferay.Language.get("type")),i.default.createElement(r.ClaySelect,{"aria-label":"Select",defaultValue:a,id:"action-type",onChange:e=>{var a;a=e.target.value,l((e=>{const n=[...e];return n.splice(t,1,{actionType:a,identifier:"".concat(Date.now(),"-").concat(t)}),n}))}},e.map((e=>i.default.createElement(r.ClaySelect.Option,{disabled:e.disabled,key:e.actionType,label:e.label,value:e.actionType}))))));t.default=o}}));
//# sourceMappingURL=SelectActionType.js.map