/** * @license * Copyright ASW (A Software World) All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file */ import { EventEmitter, OnInit } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { GoogleMapService } from './google-map.service'; import { GpsControl } from './gps-control'; import * as i0 from "@angular/core"; export declare class AswGps implements OnInit { dialog: MatDialog; private googleMapService; searchedAddress: any[]; filteredAddress: any; constants: any; gpsForm: HTMLFormElement; /** * Button control */ control: GpsControl | null; /** * Button control index to help update or delete gps from drop area */ controlIndex: number; isPreviewTemplate: boolean; gpsUpdateEvent: EventEmitter<{ control: GpsControl; index: number; }>; gpsDeleteEvent: EventEmitter; gpsAddressChange: EventEmitter; duplicateControl: EventEmitter; constructor(dialog: MatDialog, googleMapService: GoogleMapService); ngOnInit(): Promise; /** * Delete gps control based on control index * @param control gps control items * @param controlIndex gps control index */ deleteGpsDialog(control: GpsControl, controlIndex: number): void; editGpsDialog(control: GpsControl, controlIndex: number): void; onChange(address: string, control: GpsControl): Promise; private selectedAddress; getAddressFromGoogleApi(address: string): Promise; duplicateGpsControl(control: GpsControl): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }