import{d as C}from"./chunk-NP3DX5RH.js";import{Pc as g,U as o,V as f,X as n,_b as u,aa as l,ac as p}from"./chunk-LPALGY4Q.js";var a=(()=>{class t{constructor(e){this.restService=e}getWeighingCategories(e,i,s,c,m){let r=new p;return r=r.append("customerID",e),r=r.append("selectClean",i),r=r.append("selectSoil",s),r=r.append("invoiceBusinessUnitID",c),r=r.append("processBusinessUnitID",m),this.restService.get(g.WEIGHING_CATEGORIES,r)}getSoilWeighingCategories(e){let i=new p;return i=i.append("customerID",e),this.restService.get(`${g.WEIGHING_CATEGORIES}/soilWeighing`,i)}getDefaultWeighingCategory(e){return this.restService.get(`${g.WEIGHING_CATEGORIES}/packingNoteID:${e}`,null)}static{this.\u0275fac=function(i){return new(i||t)(n(C))}}static{this.\u0275prov=o({token:t,factory:t.\u0275fac})}}return t})();var h=(()=>{class t{constructor(e){this.weighingCategoryService=e}getWeighingCategories(e,i,s,c,m){return this.weighingCategoryService.getWeighingCategories(e,i,s,c,m)}getSoilWeighingCategories(e){return this.weighingCategoryService.getSoilWeighingCategories(e)}getDefaultWeighingCategory(e){return this.weighingCategoryService.getDefaultWeighingCategory(e)}static{this.\u0275fac=function(i){return new(i||t)(n(a))}}static{this.\u0275prov=o({token:t,factory:t.\u0275fac})}}return t})();var W=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=l({type:t})}static{this.\u0275inj=f({providers:[a,h],imports:[u]})}}return t})();export{h as a,W as b};
