import{la as a}from"./chunk-ISMRT7VU.js";var r=(()=>{class t{downloadExcel(e,o){this._downloadFile(e,o,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")}downloadXml(e,o){this._downloadFile(e,o,"application/xml")}downloadPdf(e,o){this._downloadFile(e,o,"application/pdf")}openForPrint(e){let o=window.URL.createObjectURL(e);window.open(o,"_blank")}_downloadFile(e,o,l){let i=new Blob([e],{type:l}),d=window.URL.createObjectURL(i),n=document.createElement("a");n.href=d,n.download=o,document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(d)}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275prov=a({token:t,factory:t.\u0275fac})}}return t})();export{r as a};
//# sourceMappingURL=chunk-TEDCFFH2.js.map
