Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.83/designer/js/definition-builder/diagram-builder/components/sidebar/sections/actions/ActionsSummary",["module","exports","require","@frontend-taglib-clay$clayui/button","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","../../../../DiagramBuilderContext","../../SidebarPanel","./CurrentActions"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=d(r("@frontend-taglib-clay$clayui/button")),a=(d(r("liferay!frontend-js-react-web$prop-types")),function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var o=n?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react"))),o=r("../../../../DiagramBuilderContext"),i=d(r("../../SidebarPanel")),l=d(r("./CurrentActions"));function u(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}var c=({setContentName:e})=>{var t,r;const{selectedItem:u}=(0,a.useContext)(o.DiagramBuilderContext);return a.default.createElement(i.default,{panelTitle:Liferay.Language.get("actions")},(null==u||null===(t=u.data)||void 0===t?void 0:t.actions)?a.default.createElement(l.default,{actions:null===(r=u.data)||void 0===r?void 0:r.actions,setContentName:e}):a.default.createElement(n.default,{className:"mr-3",displayType:"secondary",onClick:()=>e("actions")},Liferay.Language.get("new")))};t.default=c}}));
//# sourceMappingURL=ActionsSummary.js.map