1import { 2 BehaviorSubject, 3 ɵɵdefineInjectable 4} from "./chunk-VRZTS6CL.js"; 5 6// src/app/common/services/province.service.ts 7var ProvinceService = class _ProvinceService { 8 province$ = new BehaviorSubject(0); 9 selectedProvince$ = this.province$.asObservable(); 10 setProvince(id) { 11 this.province$.next(id); 12 } 13 get currentProvince() { 14 return this.province$.getValue(); 15 } 16 static \u0275fac = function ProvinceService_Factory(__ngFactoryType__) { 17 return new (__ngFactoryType__ || _ProvinceService)(); 18 }; 19 static \u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _ProvinceService, factory: _ProvinceService.\u0275fac, providedIn: "root" }); 20}; 21 22export { 23 ProvinceService 24}; 25//# sourceMappingURL=chunk-FKFA4H34.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.