import{c as s,f as o}from"./chunk-MYV7LOMK.js";import{B as i,x as n}from"./chunk-IA4I4FFG.js";var a=class e{constructor(){this.api=i(s);this.settings=i(o);this.endpoint="api/ElementoGestion/TPV/GetPrinters/"}getPrinters(t){let r=this.settings.currentSettings[this.settings.COD_EMPRESA],p=this.settings.currentSettings[this.settings.COD_RESTAURANTE];return this.endpoint.concat(r+"/"+p+"/"),this.api.getFromServer(this.endpoint+(t===0?"":t))}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"})}};var c=class e{constructor(){this.api=i(s);this.settings=i(o)}getTPVs(){let t="api/ElementoGestion/TPV/";return t=t+this.settings.currentSettings[this.settings.COD_EMPRESA]+"/",t=t+this.settings.currentSettings[this.settings.COD_RESTAURANTE]+"/",this.api.getFromServer(t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=n({token:e,factory:e.\u0275fac,providedIn:"root"})}};export{a,c as b};
