inet-ui
Version:
iNet Angular UI === [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][downloads-url]
25 lines (24 loc) • 939 B
TypeScript
import { HttpClientService } from 'inet-core';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class LocationService {
private http;
private url;
private $countryCache;
private $provinceCache;
private $districtCache;
private countries;
private provinceData;
private districtData;
constructor(http: HttpClientService);
private getCountry;
private _getProvinceByCountryCode;
private _getDistrictByCode;
listCountry(): Observable<Object>;
getProvinceByCountryId(countryId: string): Observable<any>;
getDistrictByProvinceId(uuid: string): Observable<any>;
getProvinceByCountryCode(countryCode: string): Observable<any>;
getDistrictByCode(countryCode: string, provinceCode: string): Observable<any>;
static ɵfac: i0.ɵɵFactoryDeclaration<LocationService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<LocationService>;
}