Liferay.Loader.define("@liferay/object-web@1.0.181/js/components/ModelBuilder/LeftSidebar/LeftSidebar",["module","exports","require","@frontend-taglib-clay$clayui/button","@frontend-taglib-clay$clayui/core","@frontend-taglib-clay$clayui/icon","@liferay/object-js-components-web","liferay!frontend-js-react-web$react","./LeftSidebar.scss"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function LeftSidebar(){const[t,r]=(0,o.useState)(""),c=[{children:[{name:"Object Definition",type:"objectDefinition"}],name:Liferay.Language.get("uncategorized"),type:"objectFolder"}];return o.default.createElement(i.CustomVerticalBar,{defaultActive:"objectsModelBuilderLeftSidebar",panelWidth:300,position:"left",resize:!1,triggerSideBarAnimation:!0,verticalBarItems:[{title:"objectsModelBuilderLeftSidebar"}]},o.default.createElement("div",{className:"lfr-objects__model-builder-left-sidebar"},o.default.createElement(a.default,null,Liferay.Language.get("create-new-object")),o.default.createElement(i.ManagementToolbarSearch,{query:t,setQuery:e=>r(e)}),o.default.createElement(l.TreeView,{defaultItems:c,nestedKey:"children",showExpanderOnHover:!1},(t=>o.default.createElement(l.TreeView.Item,null,o.default.createElement(l.TreeView.ItemStack,null,o.default.createElement(n.default,{symbol:e[t.type]}),o.default.createElement(l.Text,{weight:"semi-bold"},t.name)),o.default.createElement(l.TreeView.Group,{items:t.children},(({name:t,type:r})=>o.default.createElement(l.TreeView.Item,null,o.default.createElement(n.default,{symbol:e[r]}),t))))))))};var a=_interopRequireDefault(r("@frontend-taglib-clay$clayui/button")),l=r("@frontend-taglib-clay$clayui/core"),n=_interopRequireDefault(r("@frontend-taglib-clay$clayui/icon")),i=r("@liferay/object-js-components-web"),o=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}}r("./LeftSidebar.scss");const e={objectDefinition:"catalog",objectFolder:"folder"}}}));
//# sourceMappingURL=LeftSidebar.js.map