Liferay.Loader.define("@liferay/template-web@1.0.51/js/modal/openDeleteTemplateModal",["module","exports","require","frontend-js-web"],(function(e,a,t){window;Object.defineProperty(a,"__esModule",{value:!0}),a.default=function openDeleteTemplateModal({multiple:e=!1,onDelete:a}){(0,l.openModal)({bodyHTML: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(),a()}}],status:"danger",title:(0,l.sub)(Liferay.Language.get("delete-x"),e?Liferay.Language.get("templates"):Liferay.Language.get("template"))})};var l=t("frontend-js-web")}));
//# sourceMappingURL=openDeleteTemplateModal.js.map