import{a as p}from"./chunk-SFW4HL5C.js";import{c as k,f as b}from"./chunk-DYEAP73Z.js";import{c as a,d as g}from"./chunk-I6HXBYFU.js";import{d as n,g as f}from"./chunk-5EZRMHVZ.js";import{G as l,a as u,b as m,la as H,od as h,qa as i,va as s}from"./chunk-HEIW4SFT.js";g();h();f();var v=(()=>{class r extends p{constructor(t){super(),this.http=t}lookupJobs(t){return this.http.get(`${this.basePath}/api/salary-parameters/job-lookup/${a.qparams({search:t})}`)}static{this.\u0275fac=function(e){return new(e||r)(s(n))}}static{this.\u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();H();g();h();f();b();var x=(()=>{class r extends p{constructor(t,e){super(),this.http=t,this.translate=e}lookupEmploymentType(t){return this.http.get(`${this.basePath}/api/salary-parameters/employ-type-lookup/${a.qparams({search:t})}`).pipe(l(e=>e.map(o=>{let c=this.getWorkingHoursTranslationKey(o.workingHours),y=this.translate.instant(c);return m(u({},o),{label:`${o.name} - ${y}`})})))}getEmploymentType(t,e,o){let c={employmentType:t||"",worker:e||"",jobId:o};return this.http.get(`${this.basePath}/api/salary-parameters/employment-type/${a.qparams(c)}`)}getWorkingHoursTranslationKey(t){switch(t){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||r)(s(n),s(k))}}static{this.\u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{v as a,x as b};
