import { OnInit, EventEmitter, AfterViewInit, ElementRef, ChangeDetectorRef, OnChanges } from '@angular/core'; import { MapService } from '../../services/map.service'; import { CdkDragDrop } from '@angular/cdk/drag-drop'; import { ActivityGroupModel } from '../../models/activity-group.model'; export declare class MapJourneyComponent implements OnInit, AfterViewInit, OnChanges { protected mapService: MapService; protected changeDetector: ChangeDetectorRef; protected _amblOnLocationArray: any; protected _journey: any; protected _openPanels: Array; ClickedActivityId: string; DropListArray: Array; PanToLocation: { lat: number; lng: number; zoom: number; }; DisplayedActivityGroups: Array; IconHoverState: boolean; ActivityHoverId: string; set ClickedActivity(activity: any); set Journey(journey: any); get Journey(): any; set AmblOnLocationArray(arr: any); get AmblOnLocationArray(): any; OpenPanels: Array; /** * Determines whether or not to display the up arrow on the menu */ ShowUpIndicator: boolean; ScrollEvent: boolean; AccordionBoundsChange: EventEmitter; JourneyChanged: EventEmitter<{ message: string; journey: any; additional?: any; }>; ActivityLocationClicked: EventEmitter; LegendTopIconClickedEvent: EventEmitter; ActivityGroupsChanged: EventEmitter; CurrentPanelOpenState: EventEmitter>; MatAccordion: ElementRef; constructor(mapService: MapService, changeDetector: ChangeDetectorRef); ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(): void; IconHover(hover: boolean): void; CheckBounds(): void; OnAGCheckChange(event: any, ag: ActivityGroupModel): void; OnActivityCheckChange(event: any, activity: any): void; onFavoritedClick(activity: any): void; onActivityClickToNavigate(activity: any): void; /** * * @param icon the icon that was clicked * * Runs when a user clicks one of the top icons above the map legend */ LegendTopIconClicked(icon: string): void; /** * * @param activityGroup the group whose panel was opened * @param idx the index of the group whose panel was opened * * Runs when a user clicks the tile to open a panel */ PanelOpened(activityGroup: any, idx: number): void; /** * * @param activityGroup the group whose panel was closed * @param idx the index of the group whose panel was closed * * Runs when a user clicks the tile to close a panel */ PanelClosed(activityGroup: any, idx: number): void; /** * * @param event the drag and drop event * * Runs after a user drops a group into a new position */ DropGroup(event: CdkDragDrop): void; /** * * @param event the drag and drop event * * Runs after a user drops an activity into a new position */ DropActivity(event: CdkDragDrop): void; /** * * @param message the message to include as to what change was made to trigger the emit * @param journey the changed journey * * removes anything added to the journey that is specific to this map-journey component and emits a message and the changed journey */ protected normalizeAndEmitJourney(message: string, journey: any, additional?: any): void; /** * Emits the current state of which panels are open */ protected emitPanelOpenState(): void; protected assignDropListData(): void; protected addLocationData(): void; /** * Assigns the new order of all activities and activity groups */ protected reOrderGroupsAndActivities(): void; /** * Edits the titles of the days starting at 1 whenever the order is changed */ protected reCalibrateDays(): void; }