Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.115/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){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=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 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")),r=function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}(a("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}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 _default=({actionSectionsIndex:t,actionType:a,reassignments:i,setActionSections:l})=>(e[2].disabled=i,r.default.createElement(n.default.Group,null,r.default.createElement("label",{htmlFor:"action-type"},Liferay.Language.get("type")),r.default.createElement(n.ClaySelect,{"aria-label":"Select",defaultValue:a,id:"action-type",onChange:e=>{!function handleChange(e){l((a=>{const n=[...a];return n.splice(t,1,{actionType:e,identifier:"".concat(Date.now(),"-").concat(t)}),n}))}(e.target.value)}},e.map((e=>r.default.createElement(n.ClaySelect.Option,{disabled:e.disabled,key:e.actionType,label:e.label,value:e.actionType}))))));t.default=_default}}));
//# sourceMappingURL=SelectActionType.js.map