import{a as m}from"./chunk-CAUOBELZ.js";import{a as r}from"./chunk-EOI3IGRX.js";import{Hb as c,J as g,M as o,d as s,e as n}from"./chunk-ZH46IRAU.js";var x=(()=>{let t=class t{constructor(e,i,u){this.http=e,this.systemService=i,this.uiService=u,this.sendingForQuote=new n(void 0),this.stoppedSendingForQuote=new s,this.sendingExecutedDocuments=new n(void 0),this.stoppedSendingExecutedDocuments=new s,this.documentsSentForSigning=new n(void 0),this.sendingDocuments=new n(void 0),this.stoppedSendingDocuments=new s,this.signingDocuments=new n(void 0),this.stoppedSigningDocuments=new s,this.preparingEstimate=new n(void 0),this.viewingDetails=new n(void 0),this.managingPayments=new n(void 0)}startSendingQuote(e){e.documents.length<=0&&e.generateDocuments(),this.sendingForQuote.next(e)}stopSendingQuote(){this.sendingForQuote.next(void 0),this.stoppedSendingForQuote.next()}startSendingExecutedDocuments(e){this.sendingExecutedDocuments.next(e)}stopSendingExecutedDocuments(){this.sendingExecutedDocuments.next(void 0),this.stoppedSendingExecutedDocuments.next()}startSendingDocuments(e){this.sendingDocuments.next(e)}stopSendingDocuments(e=void 0){this.documentsSentForSigning.next(e),this.sendingDocuments.next(void 0),this.stoppedSendingDocuments.next()}startSigningDocuments(e,i,u=!1){this.signingDocuments.next({appointment:e,onlyCustomerFacing:u,signer:i})}stopSigningDocuments(){this.signingDocuments.next(void 0),this.stoppedSigningDocuments.next()}startPreparingEstimate(e){this.preparingEstimate.next(e)}stopPreparingEstimate(){this.preparingEstimate.next(void 0)}viewDetails(e){this.viewingDetails.next(e)}stopViewingDetails(){this.viewingDetails.next(void 0)}startMakingPayments(e){this.managingPayments.next(e)}stopMakingPayments(){this.managingPayments.next(void 0)}ngOnDestroy(){}};t.\u0275fac=function(i){return new(i||t)(o(c),o(m),o(r))},t.\u0275prov=g({token:t,factory:t.\u0275fac});let d=t;return d})();export{x as a};
