import { OnInit, SimpleChange } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { FlashService, LoggerService } from 'ew-common-lib'; import { EwMaReplayService } from '../../ew-ma-replay.service'; import { EwCommonService } from 'ew-common-lib'; export declare class ContactBoxComponent implements OnInit { private replayService; private ewloggerService; private formBuilder; private ewFlashService; private Ewcommonlib; /** * @description * FormGroup for settings EW contact box form controls. */ contactBoxForm: FormGroup; data: any; loader: boolean; contactboxOption: string; constructor(replayService: EwMaReplayService, ewloggerService: LoggerService, formBuilder: FormBuilder, ewFlashService: FlashService, Ewcommonlib: EwCommonService); ngOnInit(): void; ngOnChanges(changes: { data: SimpleChange; }): void; /** * @description * Creates/Edit setting form */ initForm(): void; onAddNewSchedule(): void; remove(i: any): void; /** * @description * Fetch chat settings from API */ getChatSettings(): void; /** * @description * Change Chat Status with API. */ changeOption(value: any): void; /** * @description * Submit button click handler. */ onSubmit(): void; /** * @description Method to format show/hide schedule times as per API. * @param key Key name * @param form schedule form */ getTimeArr(key: string, type: string, form: any): [string]; }