import{n as c,o as d,p as l}from"./chunk-OWZ5YAMH.js";import{k as r,la as a}from"./chunk-ISMRT7VU.js";var i=(()=>{class S{static{this.type="[Store] Set Stores"}constructor(t){this.stores=t}}return S})(),n=(()=>{class S{static{this.type="[Store] Set Selected Store"}constructor(t){this.selectedStoreId=t}}return S})();var o=class s{static selectedStoreId(e){return e.selectedStoreId}static stores(e){return e.stores}setStores(e,t){e.setState({stores:t.stores,selectedStoreId:e.getState().selectedStoreId})}saveSelectedStore(e,t){e.setState({stores:e.getState().stores,selectedStoreId:t.selectedStoreId})}static{this.\u0275fac=function(t){return new(t||s)}}static{this.\u0275prov=a({token:s,factory:s.\u0275fac})}};r([c(i)],o.prototype,"setStores",null);r([c(n)],o.prototype,"saveSelectedStore",null);r([l()],o,"selectedStoreId",null);r([l()],o,"stores",null);o=r([d({name:"store",defaults:{selectedStoreId:null,stores:[]}})],o);export{i as a,n as b,o as c};
//# sourceMappingURL=chunk-WXQVX7WD.js.map
