import{Df as u}from"./chunk-MEUY652R.js";import{Fd as f,Re as h,aa as i,da as s,zd as m}from"./chunk-DA3HQ2LG.js";var d=(function(r){return r[r.UserApplication=0]="UserApplication",r[r.Delegation=1]="Delegation",r})(d||{}),e=(function(r){return r[r.Acceptance=0]="Acceptance",r[r.FinalAcceptance=1]="FinalAcceptance",r[r.Reject=2]="Reject",r[r.Cancel=3]="Cancel",r[r.SendAgainErpStatus=4]="SendAgainErpStatus",r})(e||{}),S=(()=>{class r{constructor(p,t){this.matDialog=p,this.httpClient=t}getDialogData(p,t,n){let o={ids:p,module:t,action:n};return this.httpClient.post(`${f.apiUrl}/Shared/range-acceptance-data`,o)}open(p,t=null){return this.matDialog.open(u,{width:"100%",data:{data:p,note:t},maxWidth:"850px"})}static{this.\u0275fac=function(t){return new(t||r)(s(h),s(m))}}static{this.\u0275prov=i({token:r,factory:r.\u0275fac,providedIn:"root"})}}return r})();export{d as a,e as b,S as c};
