import{a as n}from"./chunk-3DEA4WWC.js";import{F as r,R as o,e as s,na as a}from"./chunk-GJDGQISV.js";var l=class i{_destinationOutlet=new s(null);destinationOutlet$=this._destinationOutlet.asObservable().pipe(r(t=>n.IsNotEmpty(t)&&n.IsNotEmpty(t?.ID)),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateDestinationOutlet(t){this._destinationOutlet.next(t)}_items=new s(null);items$=this._items.asObservable().pipe(r(t=>n.IsNotEmpty(t)&&t?.length>0),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateItems(t){this._items.next(t)}resetLowOnStock(){this._destinationOutlet.next(null),this._items.next(null)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=a({token:i,factory:i.\u0275fac,providedIn:"root"})};var u=class i{outletSource=new s(null);outletSource$=this.outletSource.asObservable().pipe(r(t=>n.IsNotEmpty(t)),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateOutletID(t){this.outletSource.next(t)}items=new s(null);items$=this.items.asObservable().pipe(r(t=>n.IsNotEmpty(t)&&t?.length>0),o((t,e)=>JSON.stringify(t)===JSON.stringify(e)));updateItems(t){this.items.next(t)}resetOverOnStock(){this.outletSource.next(null),this.items.next(null)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=a({token:i,factory:i.\u0275fac,providedIn:"root"})};export{l as a,u as b};
