(self.webpackChunkdemo1=self.webpackChunkdemo1||[]).push([[592],{7292:(t,e,s)=>{"use strict";s.d(e,{q:()=>o});var r=s(8583),n=s(5935),i=s(7716);let o=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i.oAB({type:t}),t.\u0275inj=i.cJS({imports:[[r.ez,n.aw],n.aw]}),t})()},8625:(t,e,s)=>{"use strict";s.d(e,{r:()=>d});var r=s(2340),n=s(5917),i=s(5758),o=s(8002),c=s(5304),a=s(8939),h=s(6684),u=s(1841),p=s(706),l=s(7716);let d=(()=>{class t extends p.wm{constructor(t){super(t),this.API_URL=`${r.N.cashBoxServiceURL}/AnalyticalAssignment`}find(t){return this.http.get(this.API_URL).pipe((0,o.U)(e=>{const s=(0,h.$6)(e,t);return{items:s.items,total:s.total}}))}getAll(){return this._isLoading$.next(!0),this.http.get(this.API_URL).pipe((0,c.K)(t=>(this._errorMessage.next(t),console.error("DELETE ITEM",t),(0,n.of)({}))),(0,a.x)(()=>this._isLoading$.next(!1)))}deleteItems(t=[]){const e=[];return t.forEach(t=>{e.push(this.delete(t))}),(0,i.D)(e)}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}}return t.\u0275fac=function(e){return new(e||t)(l.LFG(u.eN))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},696:(t,e,s)=>{"use strict";s.d(e,{X:()=>d});var r=s(2340),n=s(5917),i=s(5758),o=s(8002),c=s(5304),a=s(8939),h=s(6684),u=s(1841),p=s(706),l=s(7716);let d=(()=>{class t extends p.wm{constructor(t){super(t),this.API_URL=`${r.N.cashBoxServiceURL}/OperationType`}find(t){return this.http.get(this.API_URL).pipe((0,o.U)(e=>{const s=(0,h.$6)(e,t);return{items:s.items,total:s.total}}))}getAll(){return this._isLoading$.next(!0),this.http.get(this.API_URL).pipe((0,c.K)(t=>(this._errorMessage.next(t),console.error("DELETE ITEM",t),(0,n.of)({}))),(0,a.x)(()=>this._isLoading$.next(!1)))}deleteItems(t=[]){const e=[];return t.forEach(t=>{e.push(this.delete(t))}),(0,i.D)(e)}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}}return t.\u0275fac=function(e){return new(e||t)(l.LFG(u.eN))},t.\u0275prov=l.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()}}]);