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