import{ia as l}from"./chunk-C2QKZJOP.js";var p=(()=>{let t=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,c){let i=new Blob([e],{type:c}),a=window.URL.createObjectURL(i),n=document.createElement("a");n.href=a,n.download=o,document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(a)}};t.\u0275fac=function(o){return new(o||t)},t.\u0275prov=l({token:t,factory:t.\u0275fac});let d=t;return d})();export{p as a};
//# sourceMappingURL=chunk-CDFZQS3A.js.map
