import{C as y,h as i,i as H,j as m,k as h,z as p}from"./chunk-DQXXLIFV.js";import{_ as k,da as c,fd as f,ia as n,s as u}from"./chunk-LU6Q5ONP.js";import{a as s,b as a}from"./chunk-5VMFMKJR.js";k();H();f();h();y();var j=(()=>{class t{constructor(r,e){this.apiService=r,this.translate=e}lookupEmploymentType(r){return this.apiService.get(i.humanResources.salaryParametersEmployTypeLookup(r)).pipe(u(e=>e.map(o=>{let l=this.getWorkingHoursTranslationKey(o.workingHours),g=this.translate.instant(l);return a(s({},o),{label:`${o.name} - ${g}`})})))}getEmploymentType(r,e,o){return this.apiService.get(i.humanResources.salaryParametersEmploymentType(r||"",e||"",o))}getWorkingHoursTranslationKey(r){switch(r){case"T":return"WorkingHoursT";case"F":return"WorkingHoursF";case"V":return"WorkingHoursV";case"U":return"WorkingHoursU";case"N":return"WorkingHoursN";case"R":return"WorkingHoursR";case"S":return"WorkingHoursS";default:return""}}static{this.\u0275fac=function(e){return new(e||t)(n(m),n(p))}}static{this.\u0275prov=c({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{j as a};
