import{a as h}from"./chunk-BF44ZR3M.js";import{a as n}from"./chunk-PDYJ5OYY.js";import{d as a,i as c}from"./chunk-NDLDFKR2.js";import{K as r,fa as s,ka as o}from"./chunk-PVUKHE45.js";var l=(()=>{let e=class e{constructor(t){this._http=t,this.apiUrl=h.apiURL}getConnectedComPort(){return this._http.get(`${this.apiUrl}/api/customer-display/connected`)}get(){let t=new a().append(n.SkipError,"skipError");return this._http.get(`${this.apiUrl}/api/customer-display`,{headers:t})}create(t){return this._http.post(`${this.apiUrl}/api/customer-display`,t)}edit(t,i){return this._http.put(`${this.apiUrl}/api/customer-display/${t}`,i)}tryShow(t){return this._http.post(`${this.apiUrl}/api/customer-display/try-show`,t)}delete(t){return this._http.delete(`${this.apiUrl}/api/customer-display/${t}`)}showToDisplay(t){let i=new a().append(n.SkipError,"skipError");return this._http.get(`${this.apiUrl}/api/customer-display/show?text=${t}`,{headers:i})}clearDisplay(){let t=new a().append(n.SkipError,"skipError");return this._http.get(`${this.apiUrl}/api/customer-display/clear`,{headers:t})}};e.\u0275fac=function(i){return new(i||e)(o(c))},e.\u0275prov=s({token:e,factory:e.\u0275fac});let p=e;return p})();var v=(()=>{let e=class e{constructor(t){this._displayServiceApi=t}getConnectedComPort(){return this._displayServiceApi.getConnectedComPort().pipe(r(1))}get(){return this._displayServiceApi.get().pipe(r(1))}create(t){return this._displayServiceApi.create(t).pipe(r(1))}edit(t,i){return this._displayServiceApi.edit(t,i).pipe(r(1))}tryShow(t){return this._displayServiceApi.tryShow(t).pipe(r(1))}delete(t){return this._displayServiceApi.delete(t).pipe(r(1))}showToDisplay(t){return this._displayServiceApi.showToDisplay(t).pipe(r(1))}clearDisplay(){return this._displayServiceApi.clearDisplay().pipe(r(1))}};e.\u0275fac=function(i){return new(i||e)(o(l))},e.\u0275prov=s({token:e,factory:e.\u0275fac});let p=e;return p})();export{l as a,v as b};
//# sourceMappingURL=chunk-RFS5M3SM.js.map
