import { OnDestroy, OnInit } from '@angular/core'; import { DialogService } from '../../ui-kit/dialog/dialog.service'; import { QuickInherentRiskAssessmentComponent } from '../quick-inherent-risk-assessment/quick-inherent-risk-assessment.component'; import { QuickViewService } from '../services/quick-view.service'; import { Router } from '@angular/router'; import { SnackBarService } from '../../ui-kit/snack-bar/snack-bar.service'; import { QuickResidualRiskAssessmentComponent } from '../quick-residual-risk-assessment/quick-residual-risk-assessment.component'; import { SubSink } from '../../subsink.class'; import * as i0 from "@angular/core"; export declare class DetailsMetricsComponent implements OnInit, OnDestroy { quickView: QuickViewService; private dialog; private router; private snackBarService; constructor(quickView: QuickViewService, dialog: DialogService, router: Router, snackBarService: SnackBarService); dueDateDetails: any; featureFlag: any; riskDetails$: any; activeDueDateDetails: any; riskDetails: any; riskTypes: string[]; viewMore: boolean; currentTab: string; inherentComponentRef: QuickInherentRiskAssessmentComponent; residualComponentRef: QuickResidualRiskAssessmentComponent; viewOnlyMode: boolean; shouldButtonDisable: boolean; hasInherentAssessmentStarted: boolean; actionButtonLoader: boolean; private responseStrategyActive; private automationMessage; refreshTreatmentData: boolean; vLoader: boolean; dueDateLoader: any; private respStartegyMessage; linkPayload: any; editTreatment: boolean; enableTreatmentText: boolean; disableTreatmentAction: boolean; settings: any; subscriptions: SubSink; set setInherent(content: QuickInherentRiskAssessmentComponent); set setResidual(content: QuickResidualRiskAssessmentComponent); ngOnInit(): void; switchTab(tab: string): void; get FooterButtons(): any; openInherentForm(): void; checkForAutomation(): boolean; openConfiramtionDialog(stepType: number): void; changeResponseStrategy(): void; /** * Opens the create workshop popup * Updates the state of step on server side if show workshop button is clicked * @param buttonType Checks whether show workshop button is clicked or not */ createWorkshop(): void; editAssessment(event?: any, stage?: string): void; openResidualForm(event: any, stage: string): void; editResidualRating(stage?: string): void; /** * If the treatment_score_log array is empty, then return false. Otherwise, return true * If it returns false don't call the API on clicking on COMPLETE and SAVE FOR LATER. * @param {any} [linkPayload] - */ isCallAPI(linkPayload?: any): boolean; getLinkControlPayload(event: any): void; enableSaveText(event: any): void; linkControlInTreatment(type: any, index?: any): void; editTreatmentEnable(event: any): void; disableActionButton(event: boolean): void; actionForResidual(type: string, payload?: any): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }