Liferay.Loader.define("knowledge-base-web@5.0.98/admin/js/utils/showSuccessMessage",["module","exports","require","frontend-js-web"],(function(e,t,s){window;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function showSuccessMessage(e){const t={message:Liferay.Language.get("your-request-completed-successfully"),type:"success"},s=Liferay.Language.get("reload"),o="knowledge-base-reload-button";t.message=t.message+'<div class="alert-footer">\n\t\t\t\t<div class="btn-group" role="group">\n\t\t\t\t\t<button class="btn btn-sm btn-primary alert-btn '.concat(o,'">').concat(s,"</button>\n\t\t\t\t</div>\n\t\t</div>"),t.onClick=({event:t,onClose:s})=>{t.target.classList.contains(o)&&(Liferay.Portlet.refresh("#p_p_id".concat(e)),s())},(0,n.openToast)(t)};var n=s("frontend-js-web")}));
//# sourceMappingURL=showSuccessMessage.js.map