import{a as p}from"./chunk-Y5QSZXVS.js";import{$b as T,Jc as i,U as n,V as c,X as s,Zb as E,aa as N,zc as e}from"./chunk-PAINK2EC.js";var m=(()=>{class t{static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275mod=N({type:t})}static{this.\u0275inj=c({imports:[E]})}}return t})();var _=(()=>{class t{constructor(r){this.lpsService=r}print(r,o){let a=new T;return a=a.append("async",!0),this.lpsService.post(this.getLPSApiEndpoint(o),r,a)}getLPSApiEndpoint(r){switch(r){case i.DELIVERY_NOTE:return e.PRINT_DELIVERY_NOTE;case i.PARKED_NOTE:return e.PRINT_PARKED_NOTE;case i.CONSIGNMENT_NOTE:return e.PRINT_CONSIGNMENT_NOTE;case i.CONTAINER_STICKER:return e.PRINT_CONTAINER_STICKER;case i.UNIQUE_BUNDLE_STICKER:return e.PRINT_UNIQUE_BUNDLE_STICKER;case i.CORRECTION_NOTE:return e.PRINT_CORRECTION_NOTE;case i.BUFFER_CONTAINER_CONTENT:return e.PRINT_BUFFER_CONTAINER_CONTENT;case i.PACKING_NOTE:return e.PRINT_PACKING_NOTE;case i.BILL_OF_LADING:return e.PRINT_BILL_OF_LADING;case i.SOIL_RECEPTION_TICKET:return e.PRINT_SOIL_RECEPTION_TICKET;case i.TEST_REPORT_FOR_LPS:return e.PRINT_TEST_REPORT_FOR_LPS;default:return""}}static{this.\u0275fac=function(o){return new(o||t)(s(p))}}static{this.\u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var P=(()=>{class t{constructor(r){this.printService=r}print(r,o){return this.printService.print(r,o)}static{this.\u0275fac=function(o){return new(o||t)(s(_))}}static{this.\u0275prov=n({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{P as a,m as b};
