Liferay.Loader.define("asset-categories-admin-web@5.0.56/js/openDeleteCategoryModal",["module","exports","require","frontend-js-web"],(function(e,a,t){window;Object.defineProperty(a,"__esModule",{value:!0}),a.default=function({message:e,multiple:a=!1,onDelete:t}){(0,o.openModal)({bodyHTML:e||Liferay.Language.get("are-you-sure-you-want-to-delete-this"),buttons:[{autoFocus:!0,displayType:"secondary",label:Liferay.Language.get("cancel"),type:"cancel"},{displayType:"danger",label:Liferay.Language.get("delete"),onClick:({processClose:e})=>{e(),t()}}],status:"danger",title:(0,o.sub)(Liferay.Language.get("delete-x"),a?Liferay.Language.get("categories"):Liferay.Language.get("category"))})};var o=t("frontend-js-web")}));
//# sourceMappingURL=openDeleteCategoryModal.js.map