import{a as c}from"./chunk-MRA4FHLL.js";import{a}from"./chunk-OI2VWIE5.js";import{A as d,Za as r,b as i,c as n,y as u}from"./chunk-4BILO7NM.js";var w=(()=>{let t=class t{constructor(e,s,g){this.http=e,this.systemService=s,this.uiService=g,this.viewingLedger=new n(void 0),this.stoppedViewingLedger=new i,this.sendingForQuote=new n(void 0),this.stoppedSendingForQuote=new i,this.sendingExecutedDocuments=new n(void 0),this.stoppedSendingExecutedDocuments=new i,this.documentsSentForSigning=new n(void 0),this.sendingDocuments=new n(void 0),this.stoppedSendingDocuments=new i,this.signingDocuments=new n(void 0),this.stoppedSigningDocuments=new i,this.preparingEstimate=new n(void 0),this.viewingDetails=new n(void 0),this.managingPayments=new n(void 0)}startViewingLedger(e){this.viewingLedger.next(e)}stopViewingLedger(){this.viewingLedger.next(void 0),this.stoppedViewingLedger.next()}startSendingQuote(e){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,s,g=!1){this.signingDocuments.next({opportunity:e,onlyCustomerFacing:g,signer:s})}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(s){return new(s||t)(d(r),d(c),d(a))},t.\u0275prov=u({token:t,factory:t.\u0275fac});let o=t;return o})();export{w as a};
