Liferay.Loader.define("fragment-web@4.0.73/js/openDeleteFragmentModal",["module","exports","require","frontend-js-web"],(function(e,a,t){window;Object.defineProperty(a,"__esModule",{value:!0}),a.default=function openDeleteFragmentModal({multiple:e=!1,onDelete:a}){(0,n.openModal)({bodyHTML:Liferay.Language.get("deleting-a-fragment-is-an-action-impossible-to-revert"),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,n.sub)(Liferay.Language.get("delete-x"),e?Liferay.Language.get("fragments"):Liferay.Language.get("fragment"))})};var n=t("frontend-js-web")}));
//# sourceMappingURL=openDeleteFragmentModal.js.map