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