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