import { ElementRef, OnDestroy, OnInit } from '@angular/core'; import { DatePickerComponent } from 'ng2-date-picker'; import { SubSink } from '../../subsink.class'; import { DialogConfig } from '../../ui-kit/dialog/dialog-config'; import { DialogRef } from '../../ui-kit/dialog/dialog-ref'; import { DialogService } from '../../ui-kit/dialog/dialog.service'; import { FrequencyService } from '../frequency-dialog/services/frequency-dialog.service'; import { AuthService } from '../services/auth.service'; import { QuickViewService } from '../services/quick-view.service'; import { DatePickerService } from '../services/date-picker.service'; import * as i0 from "@angular/core"; export declare class EditResidualRiskRatingComponent implements OnInit, OnDestroy { private dialog; private dialogConfig; private frequencyService; private dialogService; private quickViewService; private authService; private datePickerService; newFrequency: boolean; sameFrequency: boolean; timeData: string; datePicker: DatePickerComponent; datePickerPopUp: ElementRef; datepickerOverlay: boolean; todayDate: Date; selectedFrequencyKey: any; selectFrequencyOptions: string[]; hideFrequency: boolean; frequencyTab: string; frequency_details: { frequency: string; started_at: string; frequency_time: string; remind_before_days: number; }; currentAssessmentDate: string; temp_frequency_details: { frequency: string; started_at: string; frequency_time: string; remind_before_days: number; }; frequencyPlaceholder: string; shortMonth: Array; totalScoreDetails: any; formTitle: any; dueDateData: any; riskDetails: any; dueDateDetails: any; isLoading: boolean; inherentData: any[]; activeUserIndex: number; finalScoreCreatorIndex: number; radioKey: any; isOneTimeAndPast: boolean; residualDetails: any[]; stage: string; preSelected: boolean; settings: any; buttonDisable: boolean; isFormOpen: boolean; errorText: string; selectedDate: any; dateConfig: any; showDateError: boolean; oneTimeStartTime: any; isItOneTime: boolean; isDisableOtherFrequency: boolean; subscriptions: SubSink; constructor(dialog: DialogRef, dialogConfig: DialogConfig, frequencyService: FrequencyService, dialogService: DialogService, quickViewService: QuickViewService, authService: AuthService, datePickerService: DatePickerService); ngOnInit(): void; isOneTimeFrequency(frequencyData: any): void; changeSelected(event: boolean): void; selected(event: any, value: number): void; getDueDateDetails(): void; openInherentForm(index: any): void; fetchResidualData(): void; openResidualAssessment(event?: any): void; dialogData(rcIndex: number): { selectedRcIndex: number; assessmentDetailsIndex: any; inherentDetails: any[]; scoreCriteria: any; weightage: any; manageRiskDetails: any; segmentDetails: any; total_score: any; total_score_name: any; total_score_color: any; dueDate: { id: any; timestamp: any; }; }; populateInherentData(): void; mapResponseToInherentData(response: any): void; /** * Calculates the total score for currently active user * @param index Index of data for currently active user */ calculateTotalScore(index: number): void; /** * Validates the scores to check whether Complete Assessment button should be enabled or not */ validateScore(): void; onKeydownHandler(event: KeyboardEvent): void; frequencyData(event: any): void; getFrequencyPlaceholder(res: any): void; getWeeklyPlaceholder(frequencyDetails: any, frequencyTime: any): void; getMonthlyPlaceholder(frequencyDetails: any, frequencyTime: any): void; getYearlyPlaceholder(frequencyDetails: any, frequencyTime: any): void; getQuarterlyPlaceholder(frequencyDetails: any, frequencyTime: any): void; getBiannualPlaceholder(frequencyDetails: any, frequencyTime: any): void; resetFrequency(): void; close(event?: boolean | string): void; clickFrequency(): void; get disable(): boolean; complete(): void; onReassessRisk(payload: any): void; openDatePicker(): void; closeDatepicker(): void; clickNewFrequency(): void; clickSameFrequency(): void; dateChange(event: any): void; initiateReassess(): void; onTimeChanged(event: string): void; ngOnDestroy(): void; documentClick(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }