Liferay.Loader.define("portal-workflow-kaleo-designer-web@5.0.83/designer/js/definition-builder/diagram-builder/components/sidebar/SidebarPanel",["module","exports","require","@frontend-taglib-clay$clayui/icon","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,panelTitle:t}){const[r,l]=(0,n.useState)(!1);return n.default.createElement("div",{className:"panel-group panel-group-flush",role:"tablist"},n.default.createElement("div",{className:"panel"},n.default.createElement("div",{className:"sheet-subtitle",onClick:()=>l(!r),role:"tab"},n.default.createElement("span",null,t),r?n.default.createElement(a.default,{symbol:"angle-right"}):n.default.createElement(a.default,{symbol:"angle-down"})),n.default.createElement("div",{className:"panel-collapse ".concat(r&&"collapse"),role:"tabpanel"},n.default.createElement("div",{className:"panel-body"},e))))};var a=o(r("@frontend-taglib-clay$clayui/icon")),n=(o(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=l();if(t&&t.has(e))return t.get(e);var r={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=a?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}r.default=e,t&&t.set(e,r);return r}(r("liferay!frontend-js-react-web$react")));function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function o(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=SidebarPanel.js.map