Liferay.Loader.define("knowledge-base-web@5.0.60/admin/js/components/TemplatesPanel",["module","exports","require","@frontend-taglib-clay$clayui/core","@frontend-taglib-clay$clayui/empty-state","@frontend-taglib-clay$clayui/link","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react","./ActionsDropdown"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({items:e}){return(null==e?void 0:e.length)?i.default.createElement(l.TreeView,{defaultItems:e,nestedKey:"children"},(e=>i.default.createElement(l.TreeView.Item,{actions:(0,c.default)({actions:e.actions}),className:"pl-1"},i.default.createElement(l.TreeView.ItemStack,null,i.default.createElement(r.default,{displayType:"secondary",href:e.href},e.name))))):i.default.createElement(n.default,{description:"",imgSrc:"".concat(themeDisplay.getPathThemeImages(),"/states/empty_state.gif"),small:!0,title:Liferay.Language.get("there-are-no-article-templates")})};var l=a("@frontend-taglib-clay$clayui/core"),n=o(a("@frontend-taglib-clay$clayui/empty-state")),r=o(a("@frontend-taglib-clay$clayui/link")),i=(o(a("liferay!frontend-js-react-web$prop-types")),o(a("liferay!frontend-js-react-web$react"))),c=o(a("./ActionsDropdown"));function o(e){return e&&e.__esModule?e:{default:e}}}}));
//# sourceMappingURL=TemplatesPanel.js.map