import { OnInit, OnDestroy, Renderer2 } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { FormBuilder, FormGroup } from '@angular/forms'; import { AuthenticationService, EwCommonService, FlashService } from 'ew-common-lib'; import { CtaHeaderComponent } from './cta-header/cta-header.component'; import { EwMaReplayService } from '../../../ew-ma-replay.service'; export declare class AddOffersComponent implements OnInit, OnDestroy { dialog: MatDialog; fb: FormBuilder; private renderer; private replayService; private authenticationService; private ewCommonService; private flashService; /** * @description * Section Loader */ sectionLoader: boolean; /** * @description * Hours Range */ hoursRange: any; /** * @description * Minutes Range */ mintsRange: any; /** * @description * Seconds Range */ secondsRange: any; /** * @description * Validator Form */ validatorForm: FormGroup; /** * @description * Event Details. */ eventDetails: any; eventId: string; userDomain: string; isReplayOffer: boolean; defaultValues: any; /** * Init Default Values */ editData: any; /** * Default Image Offer */ imageDefaultData: { imageUrl: string; imageName: string; imageWidth: string; imageHeight: string; imageSize: string; }; /** * Image Offer Defaults. */ imageData: { imageUrl: string; imageName: string; imageWidth: string; imageHeight: string; imageSize: string; }; showImageLibrary: Boolean; showImageLibraryPopup: boolean; environment: any; dataSaved: boolean; offersData: any; exit: any; header: CtaHeaderComponent; private savedChanges; shareSavedChanges: import("rxjs").Observable; private selectedOfferId; /** * @param dialog: MatDialog * @param FormBuilder * @param offerService * @param MAT_DIALOG_DATA * @description * Contructor to inilazie the values */ constructor(dialog: MatDialog, fb: FormBuilder, renderer: Renderer2, replayService: EwMaReplayService, authenticationService: AuthenticationService, ewCommonService: EwCommonService, flashService: FlashService); /** * @description * NgOnInit Hook */ ngOnInit(): void; ngOnDestroy(): void; closeOffersPage(): void; /** * @description * Set the form fields */ setForm(): void; /** * @description * DropDown compare values for default section */ compareFn(o1: any, o2: any): boolean; /** * @description * Method to Add/Edit offers in backend API */ saveOffer(): void; selectedImage(image: any): void; removeImage(): void; changeImage(): void; /** * @description * Show attendee preview. */ showAttendeePreview(): void; hasUnsavedData(): any; selectPoll(item?: any, index?: any): import("rxjs").Observable; selectOffer(item?: any, index?: any): void; updateOffersList(): void; onOfferTypeChange(offer_type: string): void; valueChanged(): void; /** * @description * function to set the count down preview * @param startTime * @param endTime */ setCountDownPreview(statTime: string, endTime: string): void; onInputFocus(controlName: any): void; }