import { OnInit, EventEmitter, ElementRef } from '@angular/core'; import { AuthenticationService, FlashService } from 'ew-common-lib'; import { MatDialog } from '@angular/material/dialog'; import { ValidatorFn } from '@angular/forms'; import { MatSelectChange } from '@angular/material/select'; import { IDatePickerConfig } from 'ng2-date-picker'; import { EwMaReplayService } from '../../ew-ma-replay.service'; import { EwTranslateService } from '../../services/ew-translate.service'; import { TranslateService } from '@ngx-translate/core'; export declare class VideoGalleryComponent implements OnInit { private authenticationService; private replayService; dialog: MatDialog; private ewTranslateService; translate: TranslateService; private ewFlashService; /** * @description * User domian value from Auth service. */ private userDomain; /** * @description * Event id value from EwMaScheduleService service. */ eventId: string; replayEvent: any; /** * @description * pagination id value. */ pagination_id: string; /** * @description * Language */ default_lang: string; /** * @description * sessions data array */ sessions: any[]; selectedSession: any; /** * @description * Library videos */ page: number; limit: number; totalItems: number; totalPages: number; search: string; searched_content: string; addNewVideo: boolean; newVideoForm: any; config: IDatePickerConfig; selectedOption: string; webinarIdFilter: any; eventNameArray: any[]; /** * @description * Emit event to close dialog. */ goTOEventPage: EventEmitter; totalSessions: EventEmitter; /** * @description * Emit event to close dialog. */ section_loader: { showSectionLoader: boolean; }; isEventCreationStep: boolean; preSelectedVideo: any; open_add_video: any; videoUrlCtrl: any; timePicker: any; videoTitleCtrl: any; iconClass: any; videoId: ElementRef; replay_video_timeout: number; sortBy: string; videoLengthError: boolean; selectAddedSession: any; webinarSearchInsideDropDown: any; filterEventNameArray: Object; /** * @description * Inject services to use in this component. * @param replayService Methods to send or receive data from API. * @param authenticationService Get user domain */ constructor(authenticationService: AuthenticationService, replayService: EwMaReplayService, dialog: MatDialog, ewTranslateService: EwTranslateService, translate: TranslateService, ewFlashService: FlashService); ngOnInit(): void; initLanguage(): void; /** * @description * Get upcoming sessions list */ getVideoSessionsList(): void; /** * @description * Fetch uploaded to library videos list. */ getLibVideosList(): void; /** * @description * Change Video type. */ onSearchEnter(e?: any): void; /** * @description * Change Video type. */ changeVideoListType(event: MatSelectChange): void; /** * @description * Change webinar id Filter. */ changewebinarIdFilter(event: MatSelectChange): void; /** * @description * Go to event page */ goToEvent(addVideoFunction?: boolean): void; /** * @description * Add video gallery */ addVideo(): boolean; myValidator: ValidatorFn; pageChanged(page: number): void; resetRecords(): void; /** * @description * Formats Date values into Locale format like "Sunday, 14 June 2020". * @returns {string} Display date in local format. */ convertDateToLocalString(date: string): string; /** * function to validate the Title */ videoTitleValidator: ValidatorFn; OnReset(): void; getDuration(url: any): void; getDurationMPA(url: any): Promise; preview(url: any): void; changeSorting($data: any): void; getValidThumbnail(url: any, video_url: any): any; selectSession(session: any): void; getFinalAssetUrl(path: any): string; showAddNewVideoForm(showForm: any): void; onChangeFilterWebinars(): void; }