novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
61 lines (60 loc) • 1.1 kB
TypeScript
export declare const COUNTRIES: {
id: number;
code: string;
name: string;
states: {
code: string;
name: string;
}[];
}[];
/**
* Get countries
*/
export declare function getCountries(): string[];
/**
* Get country by id
*/
export declare function findByCountryId(id: any): {
id: number;
code: string;
name: string;
states: {
code: string;
name: string;
}[];
};
/**
* Find country object by name
*/
export declare function findByCountryName(name: any): {
id: number;
code: string;
name: string;
states: {
code: string;
name: string;
}[];
};
/**
* Find country object by code
*/
export declare function findByCountryCode(code: any): {
id: number;
code: string;
name: string;
states: {
code: string;
name: string;
}[];
};
/**
* Get states by country name
*/
export declare function getStates(name: any): string[];
/**
* Get states by country name
*/
export declare function getStateObjects(name: any): {
code: string;
name: string;
}[];