import { OnInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core'; import { QuickViewService } from '../../quick-view/services/quick-view.service'; import * as i0 from "@angular/core"; export declare class TimeFilterComponent implements OnInit, OnChanges { private quickViewService; businessCycleRange: any; timeFilterApply: EventEmitter; constructor(quickViewService: QuickViewService); /** * Data Structure for storing the lists for the display fields */ dataForDisplay: any; /** * Data Stucture to save the visibility of different fields */ fieldVisibilityList: any; dropDownListVisibility: { yearSelector: boolean; filterType: boolean; monthSelector: boolean; quarterSelector: boolean; }; /** * Selected value of time period filter */ selectedValue: { filterType: string; selectedQuarterText: string; selectedYearText: string; selectedMonthText: string; startDate: string; endDate: string; selectedBusinessCycle: string; }; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; removeSelectedData(evt: any): void; /** * This function is responsible for taking action when fields values are changed * @param type Field Type * @param value Field Selected value */ fieldValueChange(type: any, value: any): void; checkButtonVisibility(): void; /** * Toggles the Monthly and quaterly fields */ timFilterTypeToggle(): void; /** * Decides the visibility of business cycle picker field * @returns boolean */ visibiltyOfYearSelector(): boolean; /** * Fetches the list of Quarters for the selected year of business cycle */ getQuarterList(): void; /** * Sets the start and end date for the monthly selected time period. */ setDateRangeForMonth(): void; /** * Executes on click of next button in floating bar */ next(evt: any): void; /** * Builds the final payload and emitts the payload to parent component */ buildPayload(): void; resetFilter(): void; openYearDropDown(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }