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