Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.85/designer/js/definition-builder/diagram-builder/components/sidebar/sections/timers/select-reassignment/RoleType",["module","exports","require","liferay!frontend-js-react-web$react","../../../SidebarPanel","../../shared-components/BaseRoleType"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=l(t("liferay!frontend-js-react-web$react")),n=l(t("../../../SidebarPanel")),o=l(t("../../shared-components/BaseRoleType"));function l(e){return e&&e.__esModule?e:{default:e}}function i(){return(i=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}var d=e=>r.default.createElement(n.default,{panelTitle:Liferay.Language.get("selected-role")},r.default.createElement(o.default,i({buttonName:Liferay.Language.get("new-section"),inputLabel:Liferay.Language.get("role")},e,{updateSelectedItem:a=>{e.updateSelectedItem({reassignments:{assignmentType:["roleType"],autoCreate:a.map((({autoCreate:e})=>e)),roleName:a.map((({roleName:e})=>e)),roleType:a.map((({roleType:e})=>e))}})}})));a.default=d}}));
//# sourceMappingURL=RoleType.js.map