import { EventEmitter } from '@angular/core'; import { FormGroup, FormBuilder } from '@angular/forms'; import { Router } from '@angular/router'; import { PlatformService } from '../../services/platform.services'; import { CookieService } from '../../services/cookie.service'; import { API } from '../../utils/api/api.service'; export declare class FeedbackJourneyComponent { private fb; private api; private router; private platform; private cookies; media: string; journeyPoint: string; onCloseFeedback: EventEmitter; cesPoint: number; emoScorePoint: number; reasonForm: FormGroup; isBusy: boolean; isSended: boolean; isError: boolean; isDismissed: boolean; isEmoScoreOnly: boolean; FEEDBACK_CONTENT: { END_JOURNEY_FIRST_LOAN: { ces: { description: string; emotionTextLow: string; emotionTextHigh: string; }; emoScore: { description: string; emotionTextLow: string; emotionTextHigh: string; }; }; END_JOURNEY_FIRSTLOAN_DISBURSEMENT: { ces: { description: string; emotionTextLow: string; emotionTextHigh: string; }; emoScore: { description: string; emotionTextLow: string; emotionTextHigh: string; }; }; END_JOURNEY_SECONDLOAN_DISBURSEMENT: { ces: { description: string; emotionTextLow: string; emotionTextHigh: string; }; emoScore: { description: string; emotionTextLow: string; emotionTextHigh: string; }; }; END_JOURNEY_PAIDBACK: { ces: any; emoScore: { description: string; emotionTextLow: string; emotionTextHigh: string; }; }; }; FEEDBACK_JOURNEY_CES_ITEM: { name: string; src: string; alt: string; value: number; id: string; }[]; FEEDBACK_JOURNEY_EMOSCORE_ITEM: { name: string; src: string; alt: string; value: number; id: string; }[]; constructor(fb: FormBuilder, api: API, router: Router, platform: PlatformService, cookies: CookieService); ngOnInit(): void; /** * @description To check whether user already submitted feedback journey */ private checkUserSendedFeedback(); /** * @description Initialize Form Group for reason content */ private buildForm(); /** * @description Method for handling click CES and CSAT Emotion score */ handleClickPoint(event: any): void; private checkCesOrEmoContent(type); /** * @description Method to handle preventDefault and stopPropagation on Mobile Site so modal not closed when user cliked on Feedback Item */ handleClickPropagation(event: any): void; /** * @description To handle submit feedback journey */ handleSubmit(): void; private setCookieFeedbackSubmitted(); /** * @description To handle on user submit then error, and user want to fill feedback journey again */ handleSubmitAgain(): void; /** * @description To handle on user submit then error, and user want to dismissed */ handleDismiss(): void; }