UNPKG

@firestitch/address

Version:
55 lines (54 loc) 2.37 kB
import { EventEmitter, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { FsMapComponent } from '@firestitch/map'; import { Country } from '../../enums/country.enum'; import { FsAddressConfig } from '../../interfaces/address-config.interface'; import { FsAddressMapConfig } from '../../interfaces/address-map-config.interface'; import { FsAddress } from '../../interfaces/address.interface'; import { FsAddressRegionComponent } from '../address-region/address-region.component'; import * as i0 from "@angular/core"; export declare class FsAddressComponent implements OnInit, OnChanges, OnDestroy { fsAddressRegionComponent: FsAddressRegionComponent; map: FsMapComponent; address: FsAddress; excludeCountries: string[]; regionCountryOrder: Country[]; set setConfig(config: FsAddressConfig); addressChange: EventEmitter<any>; collapseChange: EventEmitter<any>; controlNames: { street: string; locationName: string; address2: string; address3: string; city: string; addressCountry: string; zip: string; lat: string; lng: string; }; config: FsAddressConfig; countries: import("../../interfaces").IAddressCountry[]; zipLabel: string; searchedAddress: string; isSearched: boolean; mapConfig: FsAddressMapConfig; private _destory$; ngOnInit(): void; get regionCountries(): string[]; ngOnChanges(change: any): void; ngOnDestroy(): void; recenter(): void; dragEnded(event: any): void; changeCountry(): void; changeRegion(): void; change(event?: any): void; private _initAddress; private _initConfig; private _initMap; private _initCountries; private _initZipAndStateLabels; private _updateCountryRegionLabels; private _initCollapseBtn; static ɵfac: i0.ɵɵFactoryDeclaration<FsAddressComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<FsAddressComponent, "fs-address", never, { "address": { "alias": "address"; "required": false; }; "excludeCountries": { "alias": "excludeCountries"; "required": false; }; "regionCountryOrder": { "alias": "regionCountryOrder"; "required": false; }; "setConfig": { "alias": "config"; "required": false; }; }, { "addressChange": "addressChange"; "collapseChange": "collapseChange"; }, never, never, true, never>; }