import { OnInit, OnDestroy, EventEmitter, ElementRef, OnChanges } from '@angular/core'; import { MapService } from '../../../services/map.service'; import { AgmInfoWindow, InfoWindowManager } from '@agm/core'; import { LocationInfoService } from '../../../services/location-info.service'; import { IconImageObject } from '../../../models/icon-image-object.model'; import { MapConversions } from '../../../utils/conversions'; import { Subscription } from 'rxjs'; export declare class ActivityLocationWindowComponent implements OnInit, OnDestroy, OnChanges { protected infoWindowManager: InfoWindowManager; protected locationInfoService: LocationInfoService; protected mapConversions: MapConversions; protected mapService: MapService; /** * Indicates whether or not the journey being displayed belongs to a journey */ protected _belongsToJourney: boolean; /** * The Agm Info Window */ infoWindow: AgmInfoWindow; mapMarkerClickedSubscription: Subscription; /** * The collection of icons (Angular Material Icons) to be displayed as choices for the activity */ IconSelection: Array; /** * Indicates whether or not the user is selecting an icon for the activity */ IsSelectingIcon: boolean; NotesInput: ElementRef; marker: ActivityModel; set BelongsToJourney(val: boolean); get BelongsToJourney(): boolean; DefaultMarker: IconImageObject; AddIconClicked: EventEmitter; UserChoseIcon: EventEmitter; NotesSaved: EventEmitter; FavoritedChanged: EventEmitter; constructor(infoWindowManager: InfoWindowManager, locationInfoService: LocationInfoService, mapConversions: MapConversions, mapService: MapService); /** * Angular lifecycle hook that gets called on initialization. */ ngOnInit(): void; /** * Angular lifecycle hook that will get called when the marker changes, otherwise data for info blocks * will stay the same when user navigates to new location from google search */ ngOnChanges(event: any): void; /** * Sets the id of the activity whose text box was focused */ SetFocused(): void; /** * Angular lifecycle hook that gets called when a view is removed from the DOM. */ ngOnDestroy(): void; /** * * @param notesText the notes the user has saved * * Runs when a user clicks off or tabs off a notes text area - saves the notes */ SaveNotes(notesText: any): void; /** * Runs when user clicks the 'add' icon to add a location to the journey */ addIconClicked(): void; /** * Shows the widget icon selection so user can choose new icon for activity */ ShowWidgetIconSelection(): void; /** * * @param icon the string of the new icon the user has chosen for the activity * * Saves the newly chosen icon as the activity's icon */ OnChoseIcon(icon: string): void; ToggleFavorited(): void; /** * Emits an event back to the map to close the info window. */ Close(): void; } import { PipeTransform } from '@angular/core'; import { ActivityModel } from '../../../models/activity.model'; export declare class RemoveDashesPipe implements PipeTransform { transform(value: any, args?: any): any; }